Documentation ¶
Index ¶
- Variables
- type BadResult
- type Result
- type User
- type UserWithPtr
- type UserWithPtrResult
- func (*UserWithPtrResult) Descriptor() ([]byte, []int)deprecated
- func (x *UserWithPtrResult) GetResult() *UserWithPtr
- func (*UserWithPtrResult) ProtoMessage()
- func (x *UserWithPtrResult) ProtoReflect() protoreflect.Message
- func (x *UserWithPtrResult) Reset()
- func (x *UserWithPtrResult) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_gateway_internal_test_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BadResult ¶
type BadResult struct { Success []*User `protobuf:"bytes,1,rep,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*BadResult) Descriptor
deprecated
func (*BadResult) GetSuccess ¶
func (*BadResult) ProtoMessage ¶
func (*BadResult) ProtoMessage()
func (*BadResult) ProtoReflect ¶
func (x *BadResult) ProtoReflect() protoreflect.Message
type Result ¶
type Result struct { Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
func (*Result) Descriptor
deprecated
func (*Result) ProtoMessage ¶
func (*Result) ProtoMessage()
func (*Result) ProtoReflect ¶
func (x *Result) ProtoReflect() protoreflect.Message
type User ¶
type User 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"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type UserWithPtr ¶
type UserWithPtr struct { PtrValue *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=ptr_value,json=ptrValue,proto3" json:"ptr_value,omitempty"` // contains filtered or unexported fields }
func (*UserWithPtr) Descriptor
deprecated
func (*UserWithPtr) Descriptor() ([]byte, []int)
Deprecated: Use UserWithPtr.ProtoReflect.Descriptor instead.
func (*UserWithPtr) GetPtrValue ¶
func (x *UserWithPtr) GetPtrValue() *wrapperspb.Int64Value
func (*UserWithPtr) ProtoMessage ¶
func (*UserWithPtr) ProtoMessage()
func (*UserWithPtr) ProtoReflect ¶
func (x *UserWithPtr) ProtoReflect() protoreflect.Message
func (*UserWithPtr) Reset ¶
func (x *UserWithPtr) Reset()
func (*UserWithPtr) String ¶
func (x *UserWithPtr) String() string
type UserWithPtrResult ¶
type UserWithPtrResult struct { Result *UserWithPtr `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*UserWithPtrResult) Descriptor
deprecated
func (*UserWithPtrResult) Descriptor() ([]byte, []int)
Deprecated: Use UserWithPtrResult.ProtoReflect.Descriptor instead.
func (*UserWithPtrResult) GetResult ¶
func (x *UserWithPtrResult) GetResult() *UserWithPtr
func (*UserWithPtrResult) ProtoMessage ¶
func (*UserWithPtrResult) ProtoMessage()
func (*UserWithPtrResult) ProtoReflect ¶
func (x *UserWithPtrResult) ProtoReflect() protoreflect.Message
func (*UserWithPtrResult) Reset ¶
func (x *UserWithPtrResult) Reset()
func (*UserWithPtrResult) String ¶
func (x *UserWithPtrResult) String() string
Click to show internal directories.
Click to hide internal directories.