Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_proto_another_department_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Department ¶
type Department struct {
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*Department) Descriptor
deprecated
func (*Department) Descriptor() ([]byte, []int)
Deprecated: Use Department.ProtoReflect.Descriptor instead.
func (*Department) GetId ¶
func (x *Department) GetId() int32
func (*Department) GetName ¶
func (x *Department) GetName() string
func (*Department) ProtoMessage ¶
func (*Department) ProtoMessage()
func (*Department) ProtoReflect ¶
func (x *Department) ProtoReflect() protoreflect.Message
func (*Department) Reset ¶
func (x *Department) Reset()
func (*Department) String ¶
func (x *Department) String() string
Click to show internal directories.
Click to hide internal directories.