Documentation ¶
Index ¶
- Variables
- type Pet
- func (*Pet) Descriptor() ([]byte, []int)deprecated
- func (x *Pet) FastRead(buf []byte, _type int8, number int32) (offset int, err error)
- func (x *Pet) FastWrite(buf []byte) (offset int)
- func (x *Pet) GetAge() int32
- func (x *Pet) GetGroup() user.Group
- func (x *Pet) GetName() string
- func (x *Pet) GetOwner() string
- func (*Pet) ProtoMessage()
- func (x *Pet) ProtoReflect() protoreflect.Message
- func (x *Pet) Reset()
- func (x *Pet) Size() (n int)
- func (x *Pet) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_pet_pet_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Pet ¶
type Pet struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Age int32 `protobuf:"varint,2,opt,name=age,proto3" json:"age,omitempty"` Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` Group user.Group `protobuf:"varint,4,opt,name=group,proto3,enum=user.Group" json:"group,omitempty"` // contains filtered or unexported fields }
func (*Pet) Descriptor
deprecated
func (*Pet) ProtoMessage ¶
func (*Pet) ProtoMessage()
func (*Pet) ProtoReflect ¶
func (x *Pet) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.