Documentation
¶
Index ¶
- Variables
- type Account
- type AccountPassword
- func (*AccountPassword) Descriptor() ([]byte, []int)deprecated
- func (x *AccountPassword) GetAccount() *Account
- func (x *AccountPassword) GetPassword() string
- func (*AccountPassword) ProtoMessage()
- func (x *AccountPassword) ProtoReflect() protoreflect.Message
- func (x *AccountPassword) Reset()
- func (x *AccountPassword) String() string
- type Like
- type Profile
- func (*Profile) Descriptor() ([]byte, []int)deprecated
- func (x *Profile) GetBio() string
- func (x *Profile) GetDisplayName() string
- func (x *Profile) GetId() int64
- func (x *Profile) GetLikes() []*Like
- func (*Profile) ProtoMessage()
- func (x *Profile) ProtoReflect() protoreflect.Message
- func (x *Profile) Reset()
- func (x *Profile) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_user_account_proto protoreflect.FileDescriptor
View Source
var File_user_profile_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*Account) Descriptor
deprecated
func (*Account) ProtoMessage ¶
func (*Account) ProtoMessage()
func (*Account) ProtoReflect ¶
func (x *Account) ProtoReflect() protoreflect.Message
type AccountPassword ¶
type AccountPassword struct { Account *Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*AccountPassword) Descriptor
deprecated
func (*AccountPassword) Descriptor() ([]byte, []int)
Deprecated: Use AccountPassword.ProtoReflect.Descriptor instead.
func (*AccountPassword) GetAccount ¶
func (x *AccountPassword) GetAccount() *Account
func (*AccountPassword) GetPassword ¶
func (x *AccountPassword) GetPassword() string
func (*AccountPassword) ProtoMessage ¶
func (*AccountPassword) ProtoMessage()
func (*AccountPassword) ProtoReflect ¶
func (x *AccountPassword) ProtoReflect() protoreflect.Message
func (*AccountPassword) Reset ¶
func (x *AccountPassword) Reset()
func (*AccountPassword) String ¶
func (x *AccountPassword) String() string
type Like ¶
type Like struct { // these would make more sense as a oneof, but we're just using // string types for simplicity's sake in the sample. Movie string `protobuf:"bytes,1,opt,name=movie,proto3" json:"movie,omitempty"` Sport string `protobuf:"bytes,2,opt,name=sport,proto3" json:"sport,omitempty"` Game string `protobuf:"bytes,3,opt,name=game,proto3" json:"game,omitempty"` // contains filtered or unexported fields }
func (*Like) Descriptor
deprecated
func (*Like) ProtoMessage ¶
func (*Like) ProtoMessage()
func (*Like) ProtoReflect ¶
func (x *Like) ProtoReflect() protoreflect.Message
type Profile ¶
type Profile struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` Bio string `protobuf:"bytes,3,opt,name=bio,proto3" json:"bio,omitempty"` Likes []*Like `protobuf:"bytes,4,rep,name=likes,proto3" json:"likes,omitempty"` // contains filtered or unexported fields }
func (*Profile) Descriptor
deprecated
func (*Profile) GetDisplayName ¶
func (*Profile) ProtoMessage ¶
func (*Profile) ProtoMessage()
func (*Profile) ProtoReflect ¶
func (x *Profile) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.