Documentation ¶
Index ¶
- Variables
- type Coordinates
- type Person
- func (*Person) Descriptor() ([]byte, []int)deprecated
- func (x *Person) GetEmail() string
- func (x *Person) GetHome() *Coordinates
- func (x *Person) GetId() uint64
- func (x *Person) GetName() string
- func (*Person) ProtoMessage()
- func (x *Person) ProtoReflect() protoreflect.Message
- func (x *Person) Reset()
- func (x *Person) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_tests_middleware_protovalidate_v1_person_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Coordinates ¶
type Coordinates struct { Lat float64 `protobuf:"fixed64,1,opt,name=lat,proto3" json:"lat,omitempty"` Lng float64 `protobuf:"fixed64,2,opt,name=lng,proto3" json:"lng,omitempty"` // contains filtered or unexported fields }
func (*Coordinates) Descriptor
deprecated
func (*Coordinates) Descriptor() ([]byte, []int)
Deprecated: Use Coordinates.ProtoReflect.Descriptor instead.
func (*Coordinates) GetLat ¶
func (x *Coordinates) GetLat() float64
func (*Coordinates) GetLng ¶
func (x *Coordinates) GetLng() float64
func (*Coordinates) ProtoMessage ¶
func (*Coordinates) ProtoMessage()
func (*Coordinates) ProtoReflect ¶
func (x *Coordinates) ProtoReflect() protoreflect.Message
func (*Coordinates) Reset ¶
func (x *Coordinates) Reset()
func (*Coordinates) String ¶
func (x *Coordinates) String() string
type Person ¶
type Person struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Home *Coordinates `protobuf:"bytes,4,opt,name=home,proto3" json:"home,omitempty"` // contains filtered or unexported fields }
func (*Person) Descriptor
deprecated
func (*Person) GetHome ¶
func (x *Person) GetHome() *Coordinates
func (*Person) ProtoMessage ¶
func (*Person) ProtoMessage()
func (*Person) ProtoReflect ¶
func (x *Person) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.