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