Documentation ¶
Index ¶
- Variables
- type AResponse
- type ErrorStatus
- func (*ErrorStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ErrorStatus) GetDetail() []*anypb.Any
- func (x *ErrorStatus) GetMessage() string
- func (*ErrorStatus) ProtoMessage()
- func (x *ErrorStatus) ProtoReflect() protoreflect.Message
- func (x *ErrorStatus) Reset()
- func (x *ErrorStatus) String() string
- type MyMessage1
- type MyMessage1_EnumAllowingAlias
- func (MyMessage1_EnumAllowingAlias) Descriptor() protoreflect.EnumDescriptor
- func (x MyMessage1_EnumAllowingAlias) Enum() *MyMessage1_EnumAllowingAlias
- func (MyMessage1_EnumAllowingAlias) EnumDescriptor() ([]byte, []int)deprecated
- func (x MyMessage1_EnumAllowingAlias) Number() protoreflect.EnumNumber
- func (x MyMessage1_EnumAllowingAlias) String() string
- func (MyMessage1_EnumAllowingAlias) Type() protoreflect.EnumType
- type Request
- type Response
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MyMessage1_EnumAllowingAlias_name = map[int32]string{ 0: "UNKNOWN", 1: "STARTED", } MyMessage1_EnumAllowingAlias_value = map[string]int32{ "UNKNOWN": 0, "STARTED": 1, "RUNNING": 1, } )
Enum value maps for MyMessage1_EnumAllowingAlias.
View Source
var File_hello_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AResponse ¶
type AResponse struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` Tags map[string]string `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*AResponse) Descriptor
deprecated
func (*AResponse) ProtoMessage ¶
func (*AResponse) ProtoMessage()
func (*AResponse) ProtoReflect ¶
func (x *AResponse) ProtoReflect() protoreflect.Message
type ErrorStatus ¶
type ErrorStatus struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` Detail []*anypb.Any `protobuf:"bytes,2,rep,name=detail,proto3" json:"detail,omitempty"` // contains filtered or unexported fields }
message test{ enum Foo { reserved 2, 15, 9 to 11, 40 to max; reserved "FOO", "BAR"; }
}
func (*ErrorStatus) Descriptor
deprecated
func (*ErrorStatus) Descriptor() ([]byte, []int)
Deprecated: Use ErrorStatus.ProtoReflect.Descriptor instead.
func (*ErrorStatus) GetDetail ¶
func (x *ErrorStatus) GetDetail() []*anypb.Any
func (*ErrorStatus) GetMessage ¶
func (x *ErrorStatus) GetMessage() string
func (*ErrorStatus) ProtoMessage ¶
func (*ErrorStatus) ProtoMessage()
func (*ErrorStatus) ProtoReflect ¶
func (x *ErrorStatus) ProtoReflect() protoreflect.Message
func (*ErrorStatus) Reset ¶
func (x *ErrorStatus) Reset()
func (*ErrorStatus) String ¶
func (x *ErrorStatus) String() string
type MyMessage1 ¶
type MyMessage1 struct {
// contains filtered or unexported fields
}
func (*MyMessage1) Descriptor
deprecated
func (*MyMessage1) Descriptor() ([]byte, []int)
Deprecated: Use MyMessage1.ProtoReflect.Descriptor instead.
func (*MyMessage1) ProtoMessage ¶
func (*MyMessage1) ProtoMessage()
func (*MyMessage1) ProtoReflect ¶
func (x *MyMessage1) ProtoReflect() protoreflect.Message
func (*MyMessage1) Reset ¶
func (x *MyMessage1) Reset()
func (*MyMessage1) String ¶
func (x *MyMessage1) String() string
type MyMessage1_EnumAllowingAlias ¶
type MyMessage1_EnumAllowingAlias int32
const ( MyMessage1_UNKNOWN MyMessage1_EnumAllowingAlias = 0 MyMessage1_STARTED MyMessage1_EnumAllowingAlias = 1 MyMessage1_RUNNING MyMessage1_EnumAllowingAlias = 1 )
func (MyMessage1_EnumAllowingAlias) Descriptor ¶
func (MyMessage1_EnumAllowingAlias) Descriptor() protoreflect.EnumDescriptor
func (MyMessage1_EnumAllowingAlias) Enum ¶
func (x MyMessage1_EnumAllowingAlias) Enum() *MyMessage1_EnumAllowingAlias
func (MyMessage1_EnumAllowingAlias) EnumDescriptor
deprecated
func (MyMessage1_EnumAllowingAlias) EnumDescriptor() ([]byte, []int)
Deprecated: Use MyMessage1_EnumAllowingAlias.Descriptor instead.
func (MyMessage1_EnumAllowingAlias) Number ¶
func (x MyMessage1_EnumAllowingAlias) Number() protoreflect.EnumNumber
func (MyMessage1_EnumAllowingAlias) String ¶
func (x MyMessage1_EnumAllowingAlias) String() string
func (MyMessage1_EnumAllowingAlias) Type ¶
func (MyMessage1_EnumAllowingAlias) Type() protoreflect.EnumType
type Request ¶
type Request struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Request) Descriptor
deprecated
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
type Response ¶
type Response struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Response) Descriptor
deprecated
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.