Documentation ¶
Index ¶
- Variables
- type Person
- func (*Person) Descriptor() ([]byte, []int)deprecated
- func (x *Person) GetEmail() string
- func (x *Person) GetFollowers() *SocialFollowers
- 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 SocialFollowers
- func (*SocialFollowers) Descriptor() ([]byte, []int)deprecated
- func (x *SocialFollowers) GetTwitter() int32
- func (x *SocialFollowers) GetYoutube() int32
- func (*SocialFollowers) ProtoMessage()
- func (x *SocialFollowers) ProtoReflect() protoreflect.Message
- func (x *SocialFollowers) Reset()
- func (x *SocialFollowers) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_person_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
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"` Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` Followers *SocialFollowers `protobuf:"bytes,4,opt,name=followers,proto3" json:"followers,omitempty"` // contains filtered or unexported fields }
func (*Person) Descriptor
deprecated
func (*Person) GetFollowers ¶
func (x *Person) GetFollowers() *SocialFollowers
func (*Person) ProtoMessage ¶
func (*Person) ProtoMessage()
func (*Person) ProtoReflect ¶
func (x *Person) ProtoReflect() protoreflect.Message
type SocialFollowers ¶
type SocialFollowers struct { Youtube int32 `protobuf:"varint,1,opt,name=youtube,proto3" json:"youtube,omitempty"` Twitter int32 `protobuf:"varint,2,opt,name=twitter,proto3" json:"twitter,omitempty"` // contains filtered or unexported fields }
func (*SocialFollowers) Descriptor
deprecated
func (*SocialFollowers) Descriptor() ([]byte, []int)
Deprecated: Use SocialFollowers.ProtoReflect.Descriptor instead.
func (*SocialFollowers) GetTwitter ¶
func (x *SocialFollowers) GetTwitter() int32
func (*SocialFollowers) GetYoutube ¶
func (x *SocialFollowers) GetYoutube() int32
func (*SocialFollowers) ProtoMessage ¶
func (*SocialFollowers) ProtoMessage()
func (*SocialFollowers) ProtoReflect ¶
func (x *SocialFollowers) ProtoReflect() protoreflect.Message
func (*SocialFollowers) Reset ¶
func (x *SocialFollowers) Reset()
func (*SocialFollowers) String ¶
func (x *SocialFollowers) String() string
Click to show internal directories.
Click to hide internal directories.