Documentation ¶
Index ¶
- Variables
- type Basic
- func (*Basic) Descriptor() ([]byte, []int)deprecated
- func (x *Basic) GetBool() bool
- func (x *Basic) GetBytes() []byte
- func (x *Basic) GetDouble() float64
- func (x *Basic) GetEnum() Enum
- func (x *Basic) GetFixed32() uint32
- func (x *Basic) GetFixed64() uint64
- func (x *Basic) GetFloat() float32
- func (x *Basic) GetInt32() int32
- func (x *Basic) GetInt32NonOptional() int32
- func (x *Basic) GetInt32Optional() int32
- func (x *Basic) GetInt64() int64
- func (x *Basic) GetMapKeyConvertedToString() map[int32]string
- func (x *Basic) GetMapStringInt32Value() map[string]*wrapperspb.Int32Value
- func (x *Basic) GetMapStringMessage() map[string]*Message
- func (x *Basic) GetMapStringString() map[string]string
- func (x *Basic) GetMessage() *Message
- func (x *Basic) GetMessageNested() *MessageNested
- func (x *Basic) GetMessageNonOptional() *Message
- func (x *Basic) GetMessageOptional() *Message
- func (x *Basic) GetMessages() []*Message
- func (m *Basic) GetOneof() isBasic_Oneof
- func (x *Basic) GetOneofEnum() Enum
- func (x *Basic) GetOneofMessage() *Message
- func (x *Basic) GetOneofString() string
- func (x *Basic) GetString_() string
- func (x *Basic) GetStrings() []string
- func (x *Basic) GetUint32() uint32
- func (x *Basic) GetUint64() uint64
- func (*Basic) ProtoMessage()
- func (x *Basic) ProtoReflect() protoreflect.Message
- func (x *Basic) Reset()
- func (x *Basic) String() string
- type Basic_OneofEnum
- type Basic_OneofMessage
- type Basic_OneofString
- type Enum
- type EnumComment
- func (EnumComment) Descriptor() protoreflect.EnumDescriptor
- func (x EnumComment) Enum() *EnumComment
- func (EnumComment) EnumDescriptor() ([]byte, []int)deprecated
- func (x EnumComment) Number() protoreflect.EnumNumber
- func (x EnumComment) String() string
- func (EnumComment) Type() protoreflect.EnumType
- type EnumCommentRight
- func (EnumCommentRight) Descriptor() protoreflect.EnumDescriptor
- func (x EnumCommentRight) Enum() *EnumCommentRight
- func (EnumCommentRight) EnumDescriptor() ([]byte, []int)deprecated
- func (x EnumCommentRight) Number() protoreflect.EnumNumber
- func (x EnumCommentRight) String() string
- func (EnumCommentRight) Type() protoreflect.EnumType
- type FieldOptions
- func (*FieldOptions) Descriptor() ([]byte, []int)deprecated
- func (x *FieldOptions) GetAge() int32
- func (x *FieldOptions) GetAgeOfNextYear() int32
- func (x *FieldOptions) GetName() string
- func (*FieldOptions) ProtoMessage()
- func (x *FieldOptions) ProtoReflect() protoreflect.Message
- func (x *FieldOptions) Reset()
- func (x *FieldOptions) String() string
- type Message
- type MessageComment
- type MessageCommentRight
- func (*MessageCommentRight) Descriptor() ([]byte, []int)deprecated
- func (x *MessageCommentRight) GetName() string
- func (*MessageCommentRight) ProtoMessage()
- func (x *MessageCommentRight) ProtoReflect() protoreflect.Message
- func (x *MessageCommentRight) Reset()
- func (x *MessageCommentRight) String() string
- type MessageNested
- func (*MessageNested) Descriptor() ([]byte, []int)deprecated
- func (x *MessageNested) GetInner() *MessageNested_Inner
- func (x *MessageNested) GetInnerEnum() MessageNested_InnerEnum
- func (x *MessageNested) GetInnerInner() *MessageNested_Inner_Inner
- func (x *MessageNested) GetInnerInnerEnum() MessageNested_Inner_InnerEnum
- func (x *MessageNested) GetInnerInnerInnerEnum() MessageNested_Inner_Inner_InnerEnum
- func (*MessageNested) ProtoMessage()
- func (x *MessageNested) ProtoReflect() protoreflect.Message
- func (x *MessageNested) Reset()
- func (x *MessageNested) String() string
- type MessageNested_Inner
- func (*MessageNested_Inner) Descriptor() ([]byte, []int)deprecated
- func (x *MessageNested_Inner) GetInnerEnum() MessageNested_Inner_InnerEnum
- func (x *MessageNested_Inner) GetInnerInnerEnum() MessageNested_Inner_Inner_InnerEnum
- func (*MessageNested_Inner) ProtoMessage()
- func (x *MessageNested_Inner) ProtoReflect() protoreflect.Message
- func (x *MessageNested_Inner) Reset()
- func (x *MessageNested_Inner) String() string
- type MessageNested_InnerEnum
- func (MessageNested_InnerEnum) Descriptor() protoreflect.EnumDescriptor
- func (x MessageNested_InnerEnum) Enum() *MessageNested_InnerEnum
- func (MessageNested_InnerEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x MessageNested_InnerEnum) Number() protoreflect.EnumNumber
- func (x MessageNested_InnerEnum) String() string
- func (MessageNested_InnerEnum) Type() protoreflect.EnumType
- type MessageNested_Inner_Inner
- func (*MessageNested_Inner_Inner) Descriptor() ([]byte, []int)deprecated
- func (x *MessageNested_Inner_Inner) GetEnum() MessageNested_Inner_Inner_InnerEnum
- func (*MessageNested_Inner_Inner) ProtoMessage()
- func (x *MessageNested_Inner_Inner) ProtoReflect() protoreflect.Message
- func (x *MessageNested_Inner_Inner) Reset()
- func (x *MessageNested_Inner_Inner) String() string
- type MessageNested_Inner_InnerEnum
- func (MessageNested_Inner_InnerEnum) Descriptor() protoreflect.EnumDescriptor
- func (x MessageNested_Inner_InnerEnum) Enum() *MessageNested_Inner_InnerEnum
- func (MessageNested_Inner_InnerEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x MessageNested_Inner_InnerEnum) Number() protoreflect.EnumNumber
- func (x MessageNested_Inner_InnerEnum) String() string
- func (MessageNested_Inner_InnerEnum) Type() protoreflect.EnumType
- type MessageNested_Inner_Inner_InnerEnum
- func (MessageNested_Inner_Inner_InnerEnum) Descriptor() protoreflect.EnumDescriptor
- func (x MessageNested_Inner_Inner_InnerEnum) Enum() *MessageNested_Inner_Inner_InnerEnum
- func (MessageNested_Inner_Inner_InnerEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x MessageNested_Inner_Inner_InnerEnum) Number() protoreflect.EnumNumber
- func (x MessageNested_Inner_Inner_InnerEnum) String() string
- func (MessageNested_Inner_Inner_InnerEnum) Type() protoreflect.EnumType
- type WellKnownTypes
- func (*WellKnownTypes) Descriptor() ([]byte, []int)deprecated
- func (x *WellKnownTypes) GetAny() *anypb.Any
- func (x *WellKnownTypes) GetBool() *wrapperspb.BoolValue
- func (x *WellKnownTypes) GetBytes() *wrapperspb.BytesValue
- func (x *WellKnownTypes) GetDouble() *wrapperspb.DoubleValue
- func (x *WellKnownTypes) GetDuration() *durationpb.Duration
- func (x *WellKnownTypes) GetEmpty() *emptypb.Empty
- func (x *WellKnownTypes) GetFieldMask() *fieldmaskpb.FieldMask
- func (x *WellKnownTypes) GetFloat() *wrapperspb.FloatValue
- func (x *WellKnownTypes) GetInt32() *wrapperspb.Int32Value
- func (x *WellKnownTypes) GetInt64() *wrapperspb.Int64Value
- func (x *WellKnownTypes) GetList() *structpb.ListValue
- func (x *WellKnownTypes) GetNull() structpb.NullValue
- func (x *WellKnownTypes) GetString_() *wrapperspb.StringValue
- func (x *WellKnownTypes) GetStruct() *structpb.Struct
- func (x *WellKnownTypes) GetTimestamp() *timestamppb.Timestamp
- func (x *WellKnownTypes) GetUint32() *wrapperspb.UInt32Value
- func (x *WellKnownTypes) GetUint64() *wrapperspb.UInt64Value
- func (x *WellKnownTypes) GetValue() *structpb.Value
- func (*WellKnownTypes) ProtoMessage()
- func (x *WellKnownTypes) ProtoReflect() protoreflect.Message
- func (x *WellKnownTypes) Reset()
- func (x *WellKnownTypes) String() string
Constants ¶
This section is empty.
Variables ¶
var ( Enum_name = map[int32]string{ 0: "ZERO", 1: "ONE", } Enum_value = map[string]int32{ "ZERO": 0, "ONE": 1, } )
Enum value maps for Enum.
var ( EnumComment_name = map[int32]string{ 0: "EnumComment_ZERO", 1: "EnumComment_ONE", } EnumComment_value = map[string]int32{ "EnumComment_ZERO": 0, "EnumComment_ONE": 1, } )
Enum value maps for EnumComment.
var ( EnumCommentRight_name = map[int32]string{ 0: "EnumCommentRight_ZERO", } EnumCommentRight_value = map[string]int32{ "EnumCommentRight_ZERO": 0, } )
Enum value maps for EnumCommentRight.
var ( MessageNested_InnerEnum_name = map[int32]string{ 0: "InnerEnum_ZERO", 1: "InnerEnum_ONE", } MessageNested_InnerEnum_value = map[string]int32{ "InnerEnum_ZERO": 0, "InnerEnum_ONE": 1, } )
Enum value maps for MessageNested_InnerEnum.
var ( MessageNested_Inner_InnerEnum_name = map[int32]string{ 0: "Inner_InnerEnum_ZERO", 1: "Inner_InnerEnum_ONE", } MessageNested_Inner_InnerEnum_value = map[string]int32{ "Inner_InnerEnum_ZERO": 0, "Inner_InnerEnum_ONE": 1, } )
Enum value maps for MessageNested_Inner_InnerEnum.
var ( MessageNested_Inner_Inner_InnerEnum_name = map[int32]string{ 0: "Inner_Inner_InnerEnum_ZERO", 1: "Inner_Inner_InnerEnum_ONE", } MessageNested_Inner_Inner_InnerEnum_value = map[string]int32{ "Inner_Inner_InnerEnum_ZERO": 0, "Inner_Inner_InnerEnum_ONE": 1, } )
Enum value maps for MessageNested_Inner_Inner_InnerEnum.
var File_example_v1_example_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Basic ¶
type Basic struct { Message *Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` MessageNested *MessageNested `protobuf:"bytes,2,opt,name=message_nested,json=messageNested,proto3" json:"message_nested,omitempty"` Enum Enum `protobuf:"varint,3,opt,name=enum,proto3,enum=example.v1.Enum" json:"enum,omitempty"` Bool bool `protobuf:"varint,4,opt,name=bool,proto3" json:"bool,omitempty"` String_ string `protobuf:"bytes,5,opt,name=string,proto3" json:"string,omitempty"` Bytes []byte `protobuf:"bytes,6,opt,name=bytes,proto3" json:"bytes,omitempty"` Int32 int32 `protobuf:"varint,7,opt,name=int32,proto3" json:"int32,omitempty"` Fixed32 uint32 `protobuf:"fixed32,8,opt,name=fixed32,proto3" json:"fixed32,omitempty"` Uint32 uint32 `protobuf:"varint,9,opt,name=uint32,proto3" json:"uint32,omitempty"` Int64 int64 `protobuf:"varint,10,opt,name=int64,proto3" json:"int64,omitempty"` Fixed64 uint64 `protobuf:"fixed64,11,opt,name=fixed64,proto3" json:"fixed64,omitempty"` Uint64 uint64 `protobuf:"varint,12,opt,name=uint64,proto3" json:"uint64,omitempty"` Float float32 `protobuf:"fixed32,13,opt,name=float,proto3" json:"float,omitempty"` Double float64 `protobuf:"fixed64,14,opt,name=double,proto3" json:"double,omitempty"` MapStringString map[string]string `` /* 197-byte string literal not displayed */ MapStringMessage map[string]*Message `` /* 200-byte string literal not displayed */ MapKeyConvertedToString map[int32]string `` /* 226-byte string literal not displayed */ MapStringInt32Value map[string]*wrapperspb.Int32Value `` /* 209-byte string literal not displayed */ Strings []string `protobuf:"bytes,30,rep,name=strings,proto3" json:"strings,omitempty"` Messages []*Message `protobuf:"bytes,31,rep,name=messages,proto3" json:"messages,omitempty"` // Types that are assignable to Oneof: // // *Basic_OneofString // *Basic_OneofMessage // *Basic_OneofEnum Oneof isBasic_Oneof `protobuf_oneof:"oneof"` Int32NonOptional int32 `protobuf:"varint,51,opt,name=int32_non_optional,json=int32NonOptional,proto3" json:"int32_non_optional,omitempty"` Int32Optional *int32 `protobuf:"varint,52,opt,name=int32_optional,json=int32Optional,proto3,oneof" json:"int32_optional,omitempty"` MessageNonOptional *Message `protobuf:"bytes,53,opt,name=message_non_optional,json=messageNonOptional,proto3" json:"message_non_optional,omitempty"` MessageOptional *Message `protobuf:"bytes,54,opt,name=message_optional,json=messageOptional,proto3,oneof" json:"message_optional,omitempty"` // contains filtered or unexported fields }
func (*Basic) Descriptor
deprecated
func (*Basic) GetFixed32 ¶
func (*Basic) GetFixed64 ¶
func (*Basic) GetInt32NonOptional ¶
func (*Basic) GetInt32Optional ¶
func (*Basic) GetMapKeyConvertedToString ¶
func (*Basic) GetMapStringInt32Value ¶
func (x *Basic) GetMapStringInt32Value() map[string]*wrapperspb.Int32Value
func (*Basic) GetMapStringMessage ¶
func (*Basic) GetMapStringString ¶
func (*Basic) GetMessage ¶
func (*Basic) GetMessageNested ¶
func (x *Basic) GetMessageNested() *MessageNested
func (*Basic) GetMessageNonOptional ¶
func (*Basic) GetMessageOptional ¶
func (*Basic) GetMessages ¶
func (*Basic) GetOneofEnum ¶
func (*Basic) GetOneofMessage ¶
func (*Basic) GetOneofString ¶
func (*Basic) GetString_ ¶
func (*Basic) GetStrings ¶
func (*Basic) ProtoMessage ¶
func (*Basic) ProtoMessage()
func (*Basic) ProtoReflect ¶
func (x *Basic) ProtoReflect() protoreflect.Message
type Basic_OneofEnum ¶
type Basic_OneofEnum struct {
OneofEnum Enum `protobuf:"varint,42,opt,name=oneof_enum,json=oneofEnum,proto3,enum=example.v1.Enum,oneof"`
}
type Basic_OneofMessage ¶
type Basic_OneofMessage struct {
OneofMessage *Message `protobuf:"bytes,41,opt,name=oneof_message,json=oneofMessage,proto3,oneof"`
}
type Basic_OneofString ¶
type Basic_OneofString struct {
OneofString string `protobuf:"bytes,40,opt,name=oneof_string,json=oneofString,proto3,oneof"`
}
type Enum ¶
type Enum int32
func (Enum) Descriptor ¶
func (Enum) Descriptor() protoreflect.EnumDescriptor
func (Enum) EnumDescriptor
deprecated
func (Enum) Number ¶
func (x Enum) Number() protoreflect.EnumNumber
func (Enum) Type ¶
func (Enum) Type() protoreflect.EnumType
type EnumComment ¶
type EnumComment int32
enum leading enum leading
const ( // enum value leading // enum value leading EnumComment_EnumComment_ZERO EnumComment = 0 // enum value traling // enum value leading // enum value leading EnumComment_EnumComment_ONE EnumComment = 1 )
func (EnumComment) Descriptor ¶
func (EnumComment) Descriptor() protoreflect.EnumDescriptor
func (EnumComment) Enum ¶
func (x EnumComment) Enum() *EnumComment
func (EnumComment) EnumDescriptor
deprecated
func (EnumComment) EnumDescriptor() ([]byte, []int)
Deprecated: Use EnumComment.Descriptor instead.
func (EnumComment) Number ¶
func (x EnumComment) Number() protoreflect.EnumNumber
func (EnumComment) String ¶
func (x EnumComment) String() string
func (EnumComment) Type ¶
func (EnumComment) Type() protoreflect.EnumType
type EnumCommentRight ¶
type EnumCommentRight int32
enum leading enum leading
const ( // enum value leading // enum value leading EnumCommentRight_EnumCommentRight_ZERO EnumCommentRight = 0 // enum value traling oneline )
func (EnumCommentRight) Descriptor ¶
func (EnumCommentRight) Descriptor() protoreflect.EnumDescriptor
func (EnumCommentRight) Enum ¶
func (x EnumCommentRight) Enum() *EnumCommentRight
func (EnumCommentRight) EnumDescriptor
deprecated
func (EnumCommentRight) EnumDescriptor() ([]byte, []int)
Deprecated: Use EnumCommentRight.Descriptor instead.
func (EnumCommentRight) Number ¶
func (x EnumCommentRight) Number() protoreflect.EnumNumber
func (EnumCommentRight) String ¶
func (x EnumCommentRight) String() string
func (EnumCommentRight) Type ¶
func (EnumCommentRight) Type() protoreflect.EnumType
type FieldOptions ¶
type FieldOptions 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"` AgeOfNextYear int32 `protobuf:"varint,3,opt,name=age_of_next_year,json=ageOfNextYear,proto3" json:"age_of_next_year,omitempty"` // contains filtered or unexported fields }
func (*FieldOptions) Descriptor
deprecated
func (*FieldOptions) Descriptor() ([]byte, []int)
Deprecated: Use FieldOptions.ProtoReflect.Descriptor instead.
func (*FieldOptions) GetAge ¶
func (x *FieldOptions) GetAge() int32
func (*FieldOptions) GetAgeOfNextYear ¶
func (x *FieldOptions) GetAgeOfNextYear() int32
func (*FieldOptions) GetName ¶
func (x *FieldOptions) GetName() string
func (*FieldOptions) ProtoMessage ¶
func (*FieldOptions) ProtoMessage()
func (*FieldOptions) ProtoReflect ¶
func (x *FieldOptions) ProtoReflect() protoreflect.Message
func (*FieldOptions) Reset ¶
func (x *FieldOptions) Reset()
func (*FieldOptions) String ¶
func (x *FieldOptions) String() string
type Message ¶
type Message struct { Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` // contains filtered or unexported fields }
func (*Message) Descriptor
deprecated
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
type MessageComment ¶
type MessageComment struct { // message leading // message leading Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
message leading message leading
func (*MessageComment) Descriptor
deprecated
func (*MessageComment) Descriptor() ([]byte, []int)
Deprecated: Use MessageComment.ProtoReflect.Descriptor instead.
func (*MessageComment) GetName ¶
func (x *MessageComment) GetName() string
func (*MessageComment) ProtoMessage ¶
func (*MessageComment) ProtoMessage()
func (*MessageComment) ProtoReflect ¶
func (x *MessageComment) ProtoReflect() protoreflect.Message
func (*MessageComment) Reset ¶
func (x *MessageComment) Reset()
func (*MessageComment) String ¶
func (x *MessageComment) String() string
type MessageCommentRight ¶
type MessageCommentRight struct { // message leading // message leading Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // message field trailing // contains filtered or unexported fields }
message leading message leading
func (*MessageCommentRight) Descriptor
deprecated
func (*MessageCommentRight) Descriptor() ([]byte, []int)
Deprecated: Use MessageCommentRight.ProtoReflect.Descriptor instead.
func (*MessageCommentRight) GetName ¶
func (x *MessageCommentRight) GetName() string
func (*MessageCommentRight) ProtoMessage ¶
func (*MessageCommentRight) ProtoMessage()
func (*MessageCommentRight) ProtoReflect ¶
func (x *MessageCommentRight) ProtoReflect() protoreflect.Message
func (*MessageCommentRight) Reset ¶
func (x *MessageCommentRight) Reset()
func (*MessageCommentRight) String ¶
func (x *MessageCommentRight) String() string
type MessageNested ¶
type MessageNested struct { Inner *MessageNested_Inner `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"` InnerInner *MessageNested_Inner_Inner `protobuf:"bytes,2,opt,name=inner_inner,json=innerInner,proto3" json:"inner_inner,omitempty"` InnerEnum MessageNested_InnerEnum `` /* 129-byte string literal not displayed */ InnerInnerEnum MessageNested_Inner_InnerEnum `` /* 152-byte string literal not displayed */ InnerInnerInnerEnum MessageNested_Inner_Inner_InnerEnum `` /* 175-byte string literal not displayed */ // contains filtered or unexported fields }
func (*MessageNested) Descriptor
deprecated
func (*MessageNested) Descriptor() ([]byte, []int)
Deprecated: Use MessageNested.ProtoReflect.Descriptor instead.
func (*MessageNested) GetInner ¶
func (x *MessageNested) GetInner() *MessageNested_Inner
func (*MessageNested) GetInnerEnum ¶
func (x *MessageNested) GetInnerEnum() MessageNested_InnerEnum
func (*MessageNested) GetInnerInner ¶
func (x *MessageNested) GetInnerInner() *MessageNested_Inner_Inner
func (*MessageNested) GetInnerInnerEnum ¶
func (x *MessageNested) GetInnerInnerEnum() MessageNested_Inner_InnerEnum
func (*MessageNested) GetInnerInnerInnerEnum ¶
func (x *MessageNested) GetInnerInnerInnerEnum() MessageNested_Inner_Inner_InnerEnum
func (*MessageNested) ProtoMessage ¶
func (*MessageNested) ProtoMessage()
func (*MessageNested) ProtoReflect ¶
func (x *MessageNested) ProtoReflect() protoreflect.Message
func (*MessageNested) Reset ¶
func (x *MessageNested) Reset()
func (*MessageNested) String ¶
func (x *MessageNested) String() string
type MessageNested_Inner ¶
type MessageNested_Inner struct { InnerEnum MessageNested_Inner_InnerEnum `` /* 135-byte string literal not displayed */ InnerInnerEnum MessageNested_Inner_Inner_InnerEnum `` /* 158-byte string literal not displayed */ // contains filtered or unexported fields }
func (*MessageNested_Inner) Descriptor
deprecated
func (*MessageNested_Inner) Descriptor() ([]byte, []int)
Deprecated: Use MessageNested_Inner.ProtoReflect.Descriptor instead.
func (*MessageNested_Inner) GetInnerEnum ¶
func (x *MessageNested_Inner) GetInnerEnum() MessageNested_Inner_InnerEnum
func (*MessageNested_Inner) GetInnerInnerEnum ¶
func (x *MessageNested_Inner) GetInnerInnerEnum() MessageNested_Inner_Inner_InnerEnum
func (*MessageNested_Inner) ProtoMessage ¶
func (*MessageNested_Inner) ProtoMessage()
func (*MessageNested_Inner) ProtoReflect ¶
func (x *MessageNested_Inner) ProtoReflect() protoreflect.Message
func (*MessageNested_Inner) Reset ¶
func (x *MessageNested_Inner) Reset()
func (*MessageNested_Inner) String ¶
func (x *MessageNested_Inner) String() string
type MessageNested_InnerEnum ¶
type MessageNested_InnerEnum int32
const ( MessageNested_InnerEnum_ZERO MessageNested_InnerEnum = 0 MessageNested_InnerEnum_ONE MessageNested_InnerEnum = 1 )
func (MessageNested_InnerEnum) Descriptor ¶
func (MessageNested_InnerEnum) Descriptor() protoreflect.EnumDescriptor
func (MessageNested_InnerEnum) Enum ¶
func (x MessageNested_InnerEnum) Enum() *MessageNested_InnerEnum
func (MessageNested_InnerEnum) EnumDescriptor
deprecated
func (MessageNested_InnerEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use MessageNested_InnerEnum.Descriptor instead.
func (MessageNested_InnerEnum) Number ¶
func (x MessageNested_InnerEnum) Number() protoreflect.EnumNumber
func (MessageNested_InnerEnum) String ¶
func (x MessageNested_InnerEnum) String() string
func (MessageNested_InnerEnum) Type ¶
func (MessageNested_InnerEnum) Type() protoreflect.EnumType
type MessageNested_Inner_Inner ¶
type MessageNested_Inner_Inner struct { Enum MessageNested_Inner_Inner_InnerEnum `protobuf:"varint,1,opt,name=enum,proto3,enum=example.v1.MessageNested_Inner_Inner_InnerEnum" json:"enum,omitempty"` // contains filtered or unexported fields }
func (*MessageNested_Inner_Inner) Descriptor
deprecated
func (*MessageNested_Inner_Inner) Descriptor() ([]byte, []int)
Deprecated: Use MessageNested_Inner_Inner.ProtoReflect.Descriptor instead.
func (*MessageNested_Inner_Inner) GetEnum ¶
func (x *MessageNested_Inner_Inner) GetEnum() MessageNested_Inner_Inner_InnerEnum
func (*MessageNested_Inner_Inner) ProtoMessage ¶
func (*MessageNested_Inner_Inner) ProtoMessage()
func (*MessageNested_Inner_Inner) ProtoReflect ¶
func (x *MessageNested_Inner_Inner) ProtoReflect() protoreflect.Message
func (*MessageNested_Inner_Inner) Reset ¶
func (x *MessageNested_Inner_Inner) Reset()
func (*MessageNested_Inner_Inner) String ¶
func (x *MessageNested_Inner_Inner) String() string
type MessageNested_Inner_InnerEnum ¶
type MessageNested_Inner_InnerEnum int32
const ( MessageNested_Inner_Inner_InnerEnum_ZERO MessageNested_Inner_InnerEnum = 0 MessageNested_Inner_Inner_InnerEnum_ONE MessageNested_Inner_InnerEnum = 1 )
func (MessageNested_Inner_InnerEnum) Descriptor ¶
func (MessageNested_Inner_InnerEnum) Descriptor() protoreflect.EnumDescriptor
func (MessageNested_Inner_InnerEnum) Enum ¶
func (x MessageNested_Inner_InnerEnum) Enum() *MessageNested_Inner_InnerEnum
func (MessageNested_Inner_InnerEnum) EnumDescriptor
deprecated
func (MessageNested_Inner_InnerEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use MessageNested_Inner_InnerEnum.Descriptor instead.
func (MessageNested_Inner_InnerEnum) Number ¶
func (x MessageNested_Inner_InnerEnum) Number() protoreflect.EnumNumber
func (MessageNested_Inner_InnerEnum) String ¶
func (x MessageNested_Inner_InnerEnum) String() string
func (MessageNested_Inner_InnerEnum) Type ¶
func (MessageNested_Inner_InnerEnum) Type() protoreflect.EnumType
type MessageNested_Inner_Inner_InnerEnum ¶
type MessageNested_Inner_Inner_InnerEnum int32
const ( MessageNested_Inner_Inner_Inner_Inner_InnerEnum_ZERO MessageNested_Inner_Inner_InnerEnum = 0 MessageNested_Inner_Inner_Inner_Inner_InnerEnum_ONE MessageNested_Inner_Inner_InnerEnum = 1 )
func (MessageNested_Inner_Inner_InnerEnum) Descriptor ¶
func (MessageNested_Inner_Inner_InnerEnum) Descriptor() protoreflect.EnumDescriptor
func (MessageNested_Inner_Inner_InnerEnum) Enum ¶
func (x MessageNested_Inner_Inner_InnerEnum) Enum() *MessageNested_Inner_Inner_InnerEnum
func (MessageNested_Inner_Inner_InnerEnum) EnumDescriptor
deprecated
func (MessageNested_Inner_Inner_InnerEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use MessageNested_Inner_Inner_InnerEnum.Descriptor instead.
func (MessageNested_Inner_Inner_InnerEnum) Number ¶
func (x MessageNested_Inner_Inner_InnerEnum) Number() protoreflect.EnumNumber
func (MessageNested_Inner_Inner_InnerEnum) String ¶
func (x MessageNested_Inner_Inner_InnerEnum) String() string
func (MessageNested_Inner_Inner_InnerEnum) Type ¶
func (MessageNested_Inner_Inner_InnerEnum) Type() protoreflect.EnumType
type WellKnownTypes ¶
type WellKnownTypes struct { Any *anypb.Any `protobuf:"bytes,1,opt,name=any,proto3" json:"any,omitempty"` Struct *structpb.Struct `protobuf:"bytes,2,opt,name=struct,proto3" json:"struct,omitempty"` Value *structpb.Value `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` List *structpb.ListValue `protobuf:"bytes,4,opt,name=list,proto3" json:"list,omitempty"` Null structpb.NullValue `protobuf:"varint,5,opt,name=null,proto3,enum=google.protobuf.NullValue" json:"null,omitempty"` Bool *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=bool,proto3" json:"bool,omitempty"` String_ *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=string,proto3" json:"string,omitempty"` Bytes *wrapperspb.BytesValue `protobuf:"bytes,8,opt,name=bytes,proto3" json:"bytes,omitempty"` Int32 *wrapperspb.Int32Value `protobuf:"bytes,9,opt,name=int32,proto3" json:"int32,omitempty"` Int64 *wrapperspb.Int64Value `protobuf:"bytes,10,opt,name=int64,proto3" json:"int64,omitempty"` Uint32 *wrapperspb.UInt32Value `protobuf:"bytes,11,opt,name=uint32,proto3" json:"uint32,omitempty"` Uint64 *wrapperspb.UInt64Value `protobuf:"bytes,12,opt,name=uint64,proto3" json:"uint64,omitempty"` Float *wrapperspb.FloatValue `protobuf:"bytes,13,opt,name=float,proto3" json:"float,omitempty"` Double *wrapperspb.DoubleValue `protobuf:"bytes,14,opt,name=double,proto3" json:"double,omitempty"` Empty *emptypb.Empty `protobuf:"bytes,15,opt,name=empty,proto3" json:"empty,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Duration *durationpb.Duration `protobuf:"bytes,17,opt,name=duration,proto3" json:"duration,omitempty"` FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,18,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` // contains filtered or unexported fields }
func (*WellKnownTypes) Descriptor
deprecated
func (*WellKnownTypes) Descriptor() ([]byte, []int)
Deprecated: Use WellKnownTypes.ProtoReflect.Descriptor instead.
func (*WellKnownTypes) GetAny ¶
func (x *WellKnownTypes) GetAny() *anypb.Any
func (*WellKnownTypes) GetBool ¶
func (x *WellKnownTypes) GetBool() *wrapperspb.BoolValue
func (*WellKnownTypes) GetBytes ¶
func (x *WellKnownTypes) GetBytes() *wrapperspb.BytesValue
func (*WellKnownTypes) GetDouble ¶
func (x *WellKnownTypes) GetDouble() *wrapperspb.DoubleValue
func (*WellKnownTypes) GetDuration ¶
func (x *WellKnownTypes) GetDuration() *durationpb.Duration
func (*WellKnownTypes) GetEmpty ¶
func (x *WellKnownTypes) GetEmpty() *emptypb.Empty
func (*WellKnownTypes) GetFieldMask ¶
func (x *WellKnownTypes) GetFieldMask() *fieldmaskpb.FieldMask
func (*WellKnownTypes) GetFloat ¶
func (x *WellKnownTypes) GetFloat() *wrapperspb.FloatValue
func (*WellKnownTypes) GetInt32 ¶
func (x *WellKnownTypes) GetInt32() *wrapperspb.Int32Value
func (*WellKnownTypes) GetInt64 ¶
func (x *WellKnownTypes) GetInt64() *wrapperspb.Int64Value
func (*WellKnownTypes) GetList ¶
func (x *WellKnownTypes) GetList() *structpb.ListValue
func (*WellKnownTypes) GetNull ¶
func (x *WellKnownTypes) GetNull() structpb.NullValue
func (*WellKnownTypes) GetString_ ¶
func (x *WellKnownTypes) GetString_() *wrapperspb.StringValue
func (*WellKnownTypes) GetStruct ¶
func (x *WellKnownTypes) GetStruct() *structpb.Struct
func (*WellKnownTypes) GetTimestamp ¶
func (x *WellKnownTypes) GetTimestamp() *timestamppb.Timestamp
func (*WellKnownTypes) GetUint32 ¶
func (x *WellKnownTypes) GetUint32() *wrapperspb.UInt32Value
func (*WellKnownTypes) GetUint64 ¶
func (x *WellKnownTypes) GetUint64() *wrapperspb.UInt64Value
func (*WellKnownTypes) GetValue ¶
func (x *WellKnownTypes) GetValue() *structpb.Value
func (*WellKnownTypes) ProtoMessage ¶
func (*WellKnownTypes) ProtoMessage()
func (*WellKnownTypes) ProtoReflect ¶
func (x *WellKnownTypes) ProtoReflect() protoreflect.Message
func (*WellKnownTypes) Reset ¶
func (x *WellKnownTypes) Reset()
func (*WellKnownTypes) String ¶
func (x *WellKnownTypes) String() string