Documentation ¶
Index ¶
- Variables
- type Address
- func (*Address) Descriptor() ([]byte, []int)deprecated
- func (x *Address) GetCity() string
- func (x *Address) GetPostalCode() string
- func (x *Address) GetStateCode() string
- func (x *Address) GetStreet1() string
- func (x *Address) GetStreet2() string
- func (*Address) ProtoMessage()
- func (x *Address) ProtoReflect() protoreflect.Message
- func (x *Address) Reset()
- func (x *Address) String() string
- type Person
- func (*Person) Descriptor() ([]byte, []int)deprecated
- func (x *Person) GetAddress() *Address
- func (x *Person) GetEmails() []string
- func (x *Person) GetId() int32
- func (x *Person) GetName() string
- func (*Person) ProtoMessage()
- func (x *Person) ProtoReflect() protoreflect.Message
- func (x *Person) Reset()
- func (x *Person) String() string
- type UpdatePerson
- func (*UpdatePerson) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePerson) GetId() int32
- func (x *UpdatePerson) GetPerson() *Person
- func (x *UpdatePerson) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdatePerson) ProtoMessage()
- func (x *UpdatePerson) ProtoReflect() protoreflect.Message
- func (x *UpdatePerson) Reset()
- func (x *UpdatePerson) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_proto_messages_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct { Street1 string `protobuf:"bytes,1,opt,name=street1,proto3" json:"street1,omitempty"` Street2 string `protobuf:"bytes,2,opt,name=street2,proto3" json:"street2,omitempty"` City string `protobuf:"bytes,3,opt,name=city,proto3" json:"city,omitempty"` PostalCode string `protobuf:"bytes,4,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"` StateCode string `protobuf:"bytes,5,opt,name=state_code,json=stateCode,proto3" json:"state_code,omitempty"` // contains filtered or unexported fields }
func (*Address) Descriptor
deprecated
func (*Address) GetPostalCode ¶
func (*Address) GetStateCode ¶
func (*Address) GetStreet1 ¶
func (*Address) GetStreet2 ¶
func (*Address) ProtoMessage ¶
func (*Address) ProtoMessage()
func (*Address) ProtoReflect ¶
func (x *Address) ProtoReflect() protoreflect.Message
type Person ¶
type Person struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Id int32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` Address *Address `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` Emails []string `protobuf:"bytes,4,rep,name=emails,proto3" json:"emails,omitempty"` // contains filtered or unexported fields }
func (*Person) Descriptor
deprecated
func (*Person) GetAddress ¶
func (*Person) ProtoMessage ¶
func (*Person) ProtoMessage()
func (*Person) ProtoReflect ¶
func (x *Person) ProtoReflect() protoreflect.Message
type UpdatePerson ¶
type UpdatePerson struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Person *Person `protobuf:"bytes,2,opt,name=person,proto3" json:"person,omitempty"` UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdatePerson) Descriptor
deprecated
func (*UpdatePerson) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePerson.ProtoReflect.Descriptor instead.
func (*UpdatePerson) GetId ¶
func (x *UpdatePerson) GetId() int32
func (*UpdatePerson) GetPerson ¶
func (x *UpdatePerson) GetPerson() *Person
func (*UpdatePerson) GetUpdateMask ¶
func (x *UpdatePerson) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdatePerson) ProtoMessage ¶
func (*UpdatePerson) ProtoMessage()
func (*UpdatePerson) ProtoReflect ¶
func (x *UpdatePerson) ProtoReflect() protoreflect.Message
func (*UpdatePerson) Reset ¶
func (x *UpdatePerson) Reset()
func (*UpdatePerson) String ¶
func (x *UpdatePerson) String() string
Click to show internal directories.
Click to hide internal directories.