Documentation ¶
Index ¶
- Variables
- type Basic
- type Double
- type Embedded
- type ExtendedMessage
- type Float
- type Frank
- type Int32
- type Int64
- type MessageWithCustomRepeatedType
- func (*MessageWithCustomRepeatedType) Descriptor() ([]byte, []int)deprecated
- func (x *MessageWithCustomRepeatedType) GetRepeatedStringField() Strings
- func (*MessageWithCustomRepeatedType) ProtoMessage()
- func (x *MessageWithCustomRepeatedType) ProtoReflect() protoreflect.Message
- func (x *MessageWithCustomRepeatedType) Reset()
- func (x *MessageWithCustomRepeatedType) String() string
- type MessageWithCustomTypes
- func (*MessageWithCustomTypes) Descriptor() ([]byte, []int)deprecated
- func (x *MessageWithCustomTypes) GetDoubleField() Double
- func (x *MessageWithCustomTypes) GetFloatField() Float
- func (x *MessageWithCustomTypes) GetInt32Field() Int32
- func (x *MessageWithCustomTypes) GetInt64Field() Int64
- func (x *MessageWithCustomTypes) GetStringField() String
- func (x *MessageWithCustomTypes) GetUint32Field() Uint32
- func (x *MessageWithCustomTypes) GetUint64Field() Uint64
- func (*MessageWithCustomTypes) ProtoMessage()
- func (x *MessageWithCustomTypes) ProtoReflect() protoreflect.Message
- func (x *MessageWithCustomTypes) Reset()
- func (x *MessageWithCustomTypes) String() string
- type MessageWithEmbeddedField
- func (*MessageWithEmbeddedField) Descriptor() ([]byte, []int)deprecated
- func (x *MessageWithEmbeddedField) GetEmbedded() *Embedded
- func (*MessageWithEmbeddedField) ProtoMessage()
- func (x *MessageWithEmbeddedField) ProtoReflect() protoreflect.Message
- func (x *MessageWithEmbeddedField) Reset()
- func (x *MessageWithEmbeddedField) String() string
- type MessageWithJSONTags
- func (*MessageWithJSONTags) Descriptor() ([]byte, []int)deprecated
- func (x *MessageWithJSONTags) GetEmpty() string
- func (x *MessageWithJSONTags) GetValue() string
- func (*MessageWithJSONTags) ProtoMessage()
- func (x *MessageWithJSONTags) ProtoReflect() protoreflect.Message
- func (x *MessageWithJSONTags) Reset()
- func (x *MessageWithJSONTags) String() string
- type MessageWithOneOfCustomType
- func (*MessageWithOneOfCustomType) Descriptor() ([]byte, []int)deprecated
- func (x *MessageWithOneOfCustomType) GetInt64Field() Int64
- func (m *MessageWithOneOfCustomType) GetOneOf() isMessageWithOneOfCustomType_OneOf
- func (x *MessageWithOneOfCustomType) GetStringField() String
- func (*MessageWithOneOfCustomType) ProtoMessage()
- func (x *MessageWithOneOfCustomType) ProtoReflect() protoreflect.Message
- func (x *MessageWithOneOfCustomType) Reset()
- func (x *MessageWithOneOfCustomType) String() string
- type MessageWithOneOfCustomType_Int64Field
- type MessageWithOneOfCustomType_StringField
- type MessageWithOptionalCustomTypes
- func (*MessageWithOptionalCustomTypes) Descriptor() ([]byte, []int)deprecated
- func (x *MessageWithOptionalCustomTypes) GetDoubleField() Double
- func (x *MessageWithOptionalCustomTypes) GetFloatField() Float
- func (x *MessageWithOptionalCustomTypes) GetInt32Field() Int32
- func (x *MessageWithOptionalCustomTypes) GetInt64Field() Int64
- func (x *MessageWithOptionalCustomTypes) GetStringField() String
- func (x *MessageWithOptionalCustomTypes) GetUint32Field() Uint32
- func (x *MessageWithOptionalCustomTypes) GetUint64Field() Uint64
- func (*MessageWithOptionalCustomTypes) ProtoMessage()
- func (x *MessageWithOptionalCustomTypes) ProtoReflect() protoreflect.Message
- func (x *MessageWithOptionalCustomTypes) Reset()
- func (x *MessageWithOptionalCustomTypes) String() string
- type MessageWithOptionals
- func (*MessageWithOptionals) Descriptor() ([]byte, []int)deprecated
- func (x *MessageWithOptionals) GetOptionalBool() bool
- func (x *MessageWithOptionals) GetOptionalDouble() float64
- func (x *MessageWithOptionals) GetOptionalFloat() float32
- func (x *MessageWithOptionals) GetOptionalInt32() int32
- func (x *MessageWithOptionals) GetOptionalInt64() int64
- func (x *MessageWithOptionals) GetOptionalString() string
- func (x *MessageWithOptionals) GetOptionalUInt32() uint32
- func (x *MessageWithOptionals) GetOptionalUInt64() uint64
- func (*MessageWithOptionals) ProtoMessage()
- func (x *MessageWithOptionals) ProtoReflect() protoreflect.Message
- func (x *MessageWithOptionals) Reset()
- func (x *MessageWithOptionals) String() string
- type MessageWithRedundantTags
- func (*MessageWithRedundantTags) Descriptor() ([]byte, []int)deprecated
- func (x *MessageWithRedundantTags) GetValue() string
- func (*MessageWithRedundantTags) ProtoMessage()
- func (x *MessageWithRedundantTags) ProtoReflect() protoreflect.Message
- func (x *MessageWithRedundantTags) Reset()
- func (x *MessageWithRedundantTags) String() string
- type MessageWithRenamedField
- func (*MessageWithRenamedField) Descriptor() ([]byte, []int)deprecated
- func (x *MessageWithRenamedField) GetID() int32
- func (*MessageWithRenamedField) ProtoMessage()
- func (x *MessageWithRenamedField) ProtoReflect() protoreflect.Message
- func (x *MessageWithRenamedField) Reset()
- func (x *MessageWithRenamedField) String() string
- type MessageWithTags
- type Outer
- type OuterMessageWithRenamedInnerMessage
- func (*OuterMessageWithRenamedInnerMessage) Descriptor() ([]byte, []int)deprecated
- func (x *OuterMessageWithRenamedInnerMessage) GetInner() *RenamedInnerMessage
- func (*OuterMessageWithRenamedInnerMessage) ProtoMessage()
- func (x *OuterMessageWithRenamedInnerMessage) ProtoReflect() protoreflect.Message
- func (x *OuterMessageWithRenamedInnerMessage) Reset()
- func (x *OuterMessageWithRenamedInnerMessage) String() string
- type OuterMessageWithTags
- type OuterMessageWithTags_InnerMessage
- func (*OuterMessageWithTags_InnerMessage) Descriptor() ([]byte, []int)deprecated
- func (x *OuterMessageWithTags_InnerMessage) GetValue() string
- func (*OuterMessageWithTags_InnerMessage) ProtoMessage()
- func (x *OuterMessageWithTags_InnerMessage) ProtoReflect() protoreflect.Message
- func (x *OuterMessageWithTags_InnerMessage) Reset()
- func (x *OuterMessageWithTags_InnerMessage) String() string
- type Outer_Middle
- type Outer_Middle_Inner
- type RenamedInnerMessage
- type RenamedOneofMessage
- func (*RenamedOneofMessage) Descriptor() ([]byte, []int)deprecated
- func (m *RenamedOneofMessage) GetContents() isRenamedOneofMessage_Contents
- func (x *RenamedOneofMessage) GetId() int32
- func (x *RenamedOneofMessage) GetName() string
- func (*RenamedOneofMessage) ProtoMessage()
- func (x *RenamedOneofMessage) ProtoReflect() protoreflect.Message
- func (x *RenamedOneofMessage) Reset()
- func (x *RenamedOneofMessage) String() string
- type RenamedOneofMessage_Id
- type RenamedOneofMessage_Name
- type RenamedOuterMessage
- func (*RenamedOuterMessage) Descriptor() ([]byte, []int)deprecated
- func (x *RenamedOuterMessage) GetInner() *RenamedOuterMessage_InnerMessage
- func (*RenamedOuterMessage) ProtoMessage()
- func (x *RenamedOuterMessage) ProtoReflect() protoreflect.Message
- func (x *RenamedOuterMessage) Reset()
- func (x *RenamedOuterMessage) String() string
- type RenamedOuterMessage_InnerMessage
- func (*RenamedOuterMessage_InnerMessage) Descriptor() ([]byte, []int)deprecated
- func (*RenamedOuterMessage_InnerMessage) ProtoMessage()
- func (x *RenamedOuterMessage_InnerMessage) ProtoReflect() protoreflect.Message
- func (x *RenamedOuterMessage_InnerMessage) Reset()
- func (x *RenamedOuterMessage_InnerMessage) String() string
- type String
- type Strings
- type Uint32
- type Uint64
- type Union
- type Union_Id
- type Union_Name
Constants ¶
This section is empty.
Variables ¶
var ( // optional string alpha = 101; E_Alpha = &file_tests_message_message_extensions_proto_extTypes[0] // optional string beta = 102; E_Beta = &file_tests_message_message_extensions_proto_extTypes[1] // optional string gamma = 103; ExtGamma = &file_tests_message_message_extensions_proto_extTypes[2] // optional string delta = 104; ExtDelta = &file_tests_message_message_extensions_proto_extTypes[3] )
Extension fields to ExtendedMessage.
var File_tests_message_message_conformance_proto protoreflect.FileDescriptor
var File_tests_message_message_extensions_proto protoreflect.FileDescriptor
var File_tests_message_message_field_types_proto protoreflect.FileDescriptor
var File_tests_message_message_renames_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Basic ¶ added in v0.3.0
type Basic 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 (*Basic) Descriptor
deprecated
added in
v0.3.0
func (*Basic) ProtoMessage ¶ added in v0.3.0
func (*Basic) ProtoMessage()
func (*Basic) ProtoReflect ¶ added in v0.3.0
func (x *Basic) ProtoReflect() protoreflect.Message
type Embedded ¶ added in v0.4.0
type Embedded struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*Embedded) Descriptor
deprecated
added in
v0.4.0
func (*Embedded) GetMessage ¶ added in v0.4.0
func (*Embedded) ProtoMessage ¶ added in v0.4.0
func (*Embedded) ProtoMessage()
func (*Embedded) ProtoReflect ¶ added in v0.4.0
func (x *Embedded) ProtoReflect() protoreflect.Message
type ExtendedMessage ¶ added in v0.2.0
type ExtendedMessage struct {
// contains filtered or unexported fields
}
func (*ExtendedMessage) Descriptor
deprecated
added in
v0.2.0
func (*ExtendedMessage) Descriptor() ([]byte, []int)
Deprecated: Use ExtendedMessage.ProtoReflect.Descriptor instead.
func (*ExtendedMessage) ProtoMessage ¶ added in v0.2.0
func (*ExtendedMessage) ProtoMessage()
func (*ExtendedMessage) ProtoReflect ¶ added in v0.2.0
func (x *ExtendedMessage) ProtoReflect() protoreflect.Message
func (*ExtendedMessage) Reset ¶ added in v0.2.0
func (x *ExtendedMessage) Reset()
func (*ExtendedMessage) String ¶ added in v0.2.0
func (x *ExtendedMessage) String() string
type Frank ¶ added in v0.3.0
type Frank struct {
// contains filtered or unexported fields
}
func (*Frank) Descriptor
deprecated
added in
v0.3.0
func (*Frank) ProtoMessage ¶ added in v0.3.0
func (*Frank) ProtoMessage()
func (*Frank) ProtoReflect ¶ added in v0.3.0
func (x *Frank) ProtoReflect() protoreflect.Message
type MessageWithCustomRepeatedType ¶ added in v0.5.0
type MessageWithCustomRepeatedType struct { RepeatedStringField Strings `protobuf:"bytes,1,rep,name=repeated_string_field,json=repeatedStringField,proto3" json:"repeated_string_field,omitempty"` // contains filtered or unexported fields }
func (*MessageWithCustomRepeatedType) Descriptor
deprecated
added in
v0.5.0
func (*MessageWithCustomRepeatedType) Descriptor() ([]byte, []int)
Deprecated: Use MessageWithCustomRepeatedType.ProtoReflect.Descriptor instead.
func (*MessageWithCustomRepeatedType) GetRepeatedStringField ¶ added in v0.5.0
func (x *MessageWithCustomRepeatedType) GetRepeatedStringField() Strings
func (*MessageWithCustomRepeatedType) ProtoMessage ¶ added in v0.5.0
func (*MessageWithCustomRepeatedType) ProtoMessage()
func (*MessageWithCustomRepeatedType) ProtoReflect ¶ added in v0.5.0
func (x *MessageWithCustomRepeatedType) ProtoReflect() protoreflect.Message
func (*MessageWithCustomRepeatedType) Reset ¶ added in v0.5.0
func (x *MessageWithCustomRepeatedType) Reset()
func (*MessageWithCustomRepeatedType) String ¶ added in v0.5.0
func (x *MessageWithCustomRepeatedType) String() string
type MessageWithCustomTypes ¶ added in v0.5.0
type MessageWithCustomTypes struct { StringField String `protobuf:"bytes,1,opt,name=string_field,json=stringField,proto3" json:"string_field,omitempty"` Int32Field Int32 `protobuf:"varint,2,opt,name=int32_field,json=int32Field,proto3" json:"int32_field,omitempty"` Int64Field Int64 `protobuf:"varint,3,opt,name=int64_field,json=int64Field,proto3" json:"int64_field,omitempty"` FloatField Float `protobuf:"fixed32,4,opt,name=float_field,json=floatField,proto3" json:"float_field,omitempty"` DoubleField Double `protobuf:"fixed64,5,opt,name=double_field,json=doubleField,proto3" json:"double_field,omitempty"` Uint32Field Uint32 `protobuf:"varint,6,opt,name=uint32_field,json=uint32Field,proto3" json:"uint32_field,omitempty"` Uint64Field Uint64 `protobuf:"varint,7,opt,name=uint64_field,json=uint64Field,proto3" json:"uint64_field,omitempty"` // contains filtered or unexported fields }
func (*MessageWithCustomTypes) Descriptor
deprecated
added in
v0.5.0
func (*MessageWithCustomTypes) Descriptor() ([]byte, []int)
Deprecated: Use MessageWithCustomTypes.ProtoReflect.Descriptor instead.
func (*MessageWithCustomTypes) GetDoubleField ¶ added in v0.5.0
func (x *MessageWithCustomTypes) GetDoubleField() Double
func (*MessageWithCustomTypes) GetFloatField ¶ added in v0.5.0
func (x *MessageWithCustomTypes) GetFloatField() Float
func (*MessageWithCustomTypes) GetInt32Field ¶ added in v0.5.0
func (x *MessageWithCustomTypes) GetInt32Field() Int32
func (*MessageWithCustomTypes) GetInt64Field ¶ added in v0.5.0
func (x *MessageWithCustomTypes) GetInt64Field() Int64
func (*MessageWithCustomTypes) GetStringField ¶ added in v0.5.0
func (x *MessageWithCustomTypes) GetStringField() String
func (*MessageWithCustomTypes) GetUint32Field ¶ added in v0.5.0
func (x *MessageWithCustomTypes) GetUint32Field() Uint32
func (*MessageWithCustomTypes) GetUint64Field ¶ added in v0.5.0
func (x *MessageWithCustomTypes) GetUint64Field() Uint64
func (*MessageWithCustomTypes) ProtoMessage ¶ added in v0.5.0
func (*MessageWithCustomTypes) ProtoMessage()
func (*MessageWithCustomTypes) ProtoReflect ¶ added in v0.5.0
func (x *MessageWithCustomTypes) ProtoReflect() protoreflect.Message
func (*MessageWithCustomTypes) Reset ¶ added in v0.5.0
func (x *MessageWithCustomTypes) Reset()
func (*MessageWithCustomTypes) String ¶ added in v0.5.0
func (x *MessageWithCustomTypes) String() string
type MessageWithEmbeddedField ¶ added in v0.4.0
type MessageWithEmbeddedField struct { *Embedded `protobuf:"bytes,5,opt,name=embedded_message,json=embeddedMessage,proto3" json:"embedded_message,omitempty"` // contains filtered or unexported fields }
func (*MessageWithEmbeddedField) Descriptor
deprecated
added in
v0.4.0
func (*MessageWithEmbeddedField) Descriptor() ([]byte, []int)
Deprecated: Use MessageWithEmbeddedField.ProtoReflect.Descriptor instead.
func (*MessageWithEmbeddedField) GetEmbedded ¶ added in v0.4.0
func (x *MessageWithEmbeddedField) GetEmbedded() *Embedded
func (*MessageWithEmbeddedField) ProtoMessage ¶ added in v0.4.0
func (*MessageWithEmbeddedField) ProtoMessage()
func (*MessageWithEmbeddedField) ProtoReflect ¶ added in v0.4.0
func (x *MessageWithEmbeddedField) ProtoReflect() protoreflect.Message
func (*MessageWithEmbeddedField) Reset ¶ added in v0.4.0
func (x *MessageWithEmbeddedField) Reset()
func (*MessageWithEmbeddedField) String ¶ added in v0.4.0
func (x *MessageWithEmbeddedField) String() string
type MessageWithJSONTags ¶ added in v0.2.0
type MessageWithJSONTags struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"custom_value"` Empty string `protobuf:"bytes,2,opt,name=empty,proto3" json:"custom_empty,omitempty"` // contains filtered or unexported fields }
func (*MessageWithJSONTags) Descriptor
deprecated
added in
v0.2.0
func (*MessageWithJSONTags) Descriptor() ([]byte, []int)
Deprecated: Use MessageWithJSONTags.ProtoReflect.Descriptor instead.
func (*MessageWithJSONTags) GetEmpty ¶ added in v0.2.0
func (x *MessageWithJSONTags) GetEmpty() string
func (*MessageWithJSONTags) GetValue ¶ added in v0.2.0
func (x *MessageWithJSONTags) GetValue() string
func (*MessageWithJSONTags) ProtoMessage ¶ added in v0.2.0
func (*MessageWithJSONTags) ProtoMessage()
func (*MessageWithJSONTags) ProtoReflect ¶ added in v0.2.0
func (x *MessageWithJSONTags) ProtoReflect() protoreflect.Message
func (*MessageWithJSONTags) Reset ¶ added in v0.2.0
func (x *MessageWithJSONTags) Reset()
func (*MessageWithJSONTags) String ¶ added in v0.2.0
func (x *MessageWithJSONTags) String() string
type MessageWithOneOfCustomType ¶ added in v0.5.0
type MessageWithOneOfCustomType struct { // Types that are assignable to OneOf: // // *MessageWithOneOfCustomType_StringField // *MessageWithOneOfCustomType_Int64Field OneOf isMessageWithOneOfCustomType_OneOf `protobuf_oneof:"one_of"` // contains filtered or unexported fields }
func (*MessageWithOneOfCustomType) Descriptor
deprecated
added in
v0.5.0
func (*MessageWithOneOfCustomType) Descriptor() ([]byte, []int)
Deprecated: Use MessageWithOneOfCustomType.ProtoReflect.Descriptor instead.
func (*MessageWithOneOfCustomType) GetInt64Field ¶ added in v0.5.0
func (x *MessageWithOneOfCustomType) GetInt64Field() Int64
func (*MessageWithOneOfCustomType) GetOneOf ¶ added in v0.5.0
func (m *MessageWithOneOfCustomType) GetOneOf() isMessageWithOneOfCustomType_OneOf
func (*MessageWithOneOfCustomType) GetStringField ¶ added in v0.5.0
func (x *MessageWithOneOfCustomType) GetStringField() String
func (*MessageWithOneOfCustomType) ProtoMessage ¶ added in v0.5.0
func (*MessageWithOneOfCustomType) ProtoMessage()
func (*MessageWithOneOfCustomType) ProtoReflect ¶ added in v0.5.0
func (x *MessageWithOneOfCustomType) ProtoReflect() protoreflect.Message
func (*MessageWithOneOfCustomType) Reset ¶ added in v0.5.0
func (x *MessageWithOneOfCustomType) Reset()
func (*MessageWithOneOfCustomType) String ¶ added in v0.5.0
func (x *MessageWithOneOfCustomType) String() string
type MessageWithOneOfCustomType_Int64Field ¶ added in v0.5.0
type MessageWithOneOfCustomType_Int64Field struct {
Int64Field Int64 `protobuf:"varint,3,opt,name=int64_field,json=int64Field,proto3,oneof"`
}
type MessageWithOneOfCustomType_StringField ¶ added in v0.5.0
type MessageWithOneOfCustomType_StringField struct {
StringField String `protobuf:"bytes,1,opt,name=string_field,json=stringField,proto3,oneof"`
}
type MessageWithOptionalCustomTypes ¶ added in v0.5.0
type MessageWithOptionalCustomTypes struct { StringField *String `protobuf:"bytes,1,opt,name=string_field,json=stringField,proto3,oneof" json:"string_field,omitempty"` Int32Field *Int32 `protobuf:"varint,2,opt,name=int32_field,json=int32Field,proto3,oneof" json:"int32_field,omitempty"` Int64Field *Int64 `protobuf:"varint,3,opt,name=int64_field,json=int64Field,proto3,oneof" json:"int64_field,omitempty"` FloatField *Float `protobuf:"fixed32,4,opt,name=float_field,json=floatField,proto3,oneof" json:"float_field,omitempty"` DoubleField *Double `protobuf:"fixed64,5,opt,name=double_field,json=doubleField,proto3,oneof" json:"double_field,omitempty"` Uint32Field *Uint32 `protobuf:"varint,6,opt,name=uint32_field,json=uint32Field,proto3,oneof" json:"uint32_field,omitempty"` Uint64Field *Uint64 `protobuf:"varint,7,opt,name=uint64_field,json=uint64Field,proto3,oneof" json:"uint64_field,omitempty"` // contains filtered or unexported fields }
func (*MessageWithOptionalCustomTypes) Descriptor
deprecated
added in
v0.5.0
func (*MessageWithOptionalCustomTypes) Descriptor() ([]byte, []int)
Deprecated: Use MessageWithOptionalCustomTypes.ProtoReflect.Descriptor instead.
func (*MessageWithOptionalCustomTypes) GetDoubleField ¶ added in v0.5.0
func (x *MessageWithOptionalCustomTypes) GetDoubleField() Double
func (*MessageWithOptionalCustomTypes) GetFloatField ¶ added in v0.5.0
func (x *MessageWithOptionalCustomTypes) GetFloatField() Float
func (*MessageWithOptionalCustomTypes) GetInt32Field ¶ added in v0.5.0
func (x *MessageWithOptionalCustomTypes) GetInt32Field() Int32
func (*MessageWithOptionalCustomTypes) GetInt64Field ¶ added in v0.5.0
func (x *MessageWithOptionalCustomTypes) GetInt64Field() Int64
func (*MessageWithOptionalCustomTypes) GetStringField ¶ added in v0.5.0
func (x *MessageWithOptionalCustomTypes) GetStringField() String
func (*MessageWithOptionalCustomTypes) GetUint32Field ¶ added in v0.5.0
func (x *MessageWithOptionalCustomTypes) GetUint32Field() Uint32
func (*MessageWithOptionalCustomTypes) GetUint64Field ¶ added in v0.5.0
func (x *MessageWithOptionalCustomTypes) GetUint64Field() Uint64
func (*MessageWithOptionalCustomTypes) ProtoMessage ¶ added in v0.5.0
func (*MessageWithOptionalCustomTypes) ProtoMessage()
func (*MessageWithOptionalCustomTypes) ProtoReflect ¶ added in v0.5.0
func (x *MessageWithOptionalCustomTypes) ProtoReflect() protoreflect.Message
func (*MessageWithOptionalCustomTypes) Reset ¶ added in v0.5.0
func (x *MessageWithOptionalCustomTypes) Reset()
func (*MessageWithOptionalCustomTypes) String ¶ added in v0.5.0
func (x *MessageWithOptionalCustomTypes) String() string
type MessageWithOptionals ¶ added in v0.5.0
type MessageWithOptionals struct { OptionalString *string `protobuf:"bytes,1,opt,name=string_field,json=stringField,proto3,oneof" json:"string_field,omitempty"` OptionalInt32 *int32 `protobuf:"varint,2,opt,name=int32_field,json=int32Field,proto3,oneof" json:"int32_field,omitempty"` OptionalInt64 *int64 `protobuf:"varint,3,opt,name=int64_field,json=int64Field,proto3,oneof" json:"int64_field,omitempty"` OptionalFloat *float32 `protobuf:"fixed32,4,opt,name=float_field,json=floatField,proto3,oneof" json:"float_field,omitempty"` OptionalDouble *float64 `protobuf:"fixed64,5,opt,name=double_field,json=doubleField,proto3,oneof" json:"double_field,omitempty"` OptionalUInt32 *uint32 `protobuf:"varint,6,opt,name=uint32_field,json=uint32Field,proto3,oneof" json:"uint32_field,omitempty"` OptionalUInt64 *uint64 `protobuf:"varint,7,opt,name=uint64_field,json=uint64Field,proto3,oneof" json:"uint64_field,omitempty"` OptionalBool *bool `protobuf:"varint,8,opt,name=bool_field,json=boolField,proto3,oneof" json:"bool_field,omitempty"` // contains filtered or unexported fields }
func (*MessageWithOptionals) Descriptor
deprecated
added in
v0.5.0
func (*MessageWithOptionals) Descriptor() ([]byte, []int)
Deprecated: Use MessageWithOptionals.ProtoReflect.Descriptor instead.
func (*MessageWithOptionals) GetOptionalBool ¶ added in v0.5.0
func (x *MessageWithOptionals) GetOptionalBool() bool
func (*MessageWithOptionals) GetOptionalDouble ¶ added in v0.5.0
func (x *MessageWithOptionals) GetOptionalDouble() float64
func (*MessageWithOptionals) GetOptionalFloat ¶ added in v0.5.0
func (x *MessageWithOptionals) GetOptionalFloat() float32
func (*MessageWithOptionals) GetOptionalInt32 ¶ added in v0.5.0
func (x *MessageWithOptionals) GetOptionalInt32() int32
func (*MessageWithOptionals) GetOptionalInt64 ¶ added in v0.5.0
func (x *MessageWithOptionals) GetOptionalInt64() int64
func (*MessageWithOptionals) GetOptionalString ¶ added in v0.5.0
func (x *MessageWithOptionals) GetOptionalString() string
func (*MessageWithOptionals) GetOptionalUInt32 ¶ added in v0.5.0
func (x *MessageWithOptionals) GetOptionalUInt32() uint32
func (*MessageWithOptionals) GetOptionalUInt64 ¶ added in v0.5.0
func (x *MessageWithOptionals) GetOptionalUInt64() uint64
func (*MessageWithOptionals) ProtoMessage ¶ added in v0.5.0
func (*MessageWithOptionals) ProtoMessage()
func (*MessageWithOptionals) ProtoReflect ¶ added in v0.5.0
func (x *MessageWithOptionals) ProtoReflect() protoreflect.Message
func (*MessageWithOptionals) Reset ¶ added in v0.5.0
func (x *MessageWithOptionals) Reset()
func (*MessageWithOptionals) String ¶ added in v0.5.0
func (x *MessageWithOptionals) String() string
type MessageWithRedundantTags ¶ added in v0.2.0
type MessageWithRedundantTags struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty" test:"3"` // contains filtered or unexported fields }
func (*MessageWithRedundantTags) Descriptor
deprecated
added in
v0.2.0
func (*MessageWithRedundantTags) Descriptor() ([]byte, []int)
Deprecated: Use MessageWithRedundantTags.ProtoReflect.Descriptor instead.
func (*MessageWithRedundantTags) GetValue ¶ added in v0.2.0
func (x *MessageWithRedundantTags) GetValue() string
func (*MessageWithRedundantTags) ProtoMessage ¶ added in v0.2.0
func (*MessageWithRedundantTags) ProtoMessage()
func (*MessageWithRedundantTags) ProtoReflect ¶ added in v0.2.0
func (x *MessageWithRedundantTags) ProtoReflect() protoreflect.Message
func (*MessageWithRedundantTags) Reset ¶ added in v0.2.0
func (x *MessageWithRedundantTags) Reset()
func (*MessageWithRedundantTags) String ¶ added in v0.2.0
func (x *MessageWithRedundantTags) String() string
type MessageWithRenamedField ¶
type MessageWithRenamedField struct { ID int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*MessageWithRenamedField) Descriptor
deprecated
func (*MessageWithRenamedField) Descriptor() ([]byte, []int)
Deprecated: Use MessageWithRenamedField.ProtoReflect.Descriptor instead.
func (*MessageWithRenamedField) GetID ¶
func (x *MessageWithRenamedField) GetID() int32
func (*MessageWithRenamedField) ProtoMessage ¶
func (*MessageWithRenamedField) ProtoMessage()
func (*MessageWithRenamedField) ProtoReflect ¶
func (x *MessageWithRenamedField) ProtoReflect() protoreflect.Message
func (*MessageWithRenamedField) Reset ¶
func (x *MessageWithRenamedField) Reset()
func (*MessageWithRenamedField) String ¶
func (x *MessageWithRenamedField) String() string
type MessageWithTags ¶
type MessageWithTags struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty" test:"value"` // contains filtered or unexported fields }
func (*MessageWithTags) Descriptor
deprecated
func (*MessageWithTags) Descriptor() ([]byte, []int)
Deprecated: Use MessageWithTags.ProtoReflect.Descriptor instead.
func (*MessageWithTags) GetValue ¶
func (x *MessageWithTags) GetValue() string
func (*MessageWithTags) ProtoMessage ¶
func (*MessageWithTags) ProtoMessage()
func (*MessageWithTags) ProtoReflect ¶
func (x *MessageWithTags) ProtoReflect() protoreflect.Message
func (*MessageWithTags) Reset ¶
func (x *MessageWithTags) Reset()
func (*MessageWithTags) String ¶
func (x *MessageWithTags) String() string
type Outer ¶ added in v0.3.0
type Outer struct { Middle *Outer_Middle `protobuf:"bytes,1,opt,name=middle,proto3" json:"middle,omitempty"` Inner *Outer_Middle_Inner `protobuf:"bytes,2,opt,name=inner,proto3" json:"inner,omitempty"` // contains filtered or unexported fields }
func (*Outer) Descriptor
deprecated
added in
v0.3.0
func (*Outer) GetInner ¶ added in v0.3.0
func (x *Outer) GetInner() *Outer_Middle_Inner
func (*Outer) GetMiddle ¶ added in v0.3.0
func (x *Outer) GetMiddle() *Outer_Middle
func (*Outer) ProtoMessage ¶ added in v0.3.0
func (*Outer) ProtoMessage()
func (*Outer) ProtoReflect ¶ added in v0.3.0
func (x *Outer) ProtoReflect() protoreflect.Message
type OuterMessageWithRenamedInnerMessage ¶
type OuterMessageWithRenamedInnerMessage struct { Inner *RenamedInnerMessage `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"` // contains filtered or unexported fields }
func (*OuterMessageWithRenamedInnerMessage) Descriptor
deprecated
func (*OuterMessageWithRenamedInnerMessage) Descriptor() ([]byte, []int)
Deprecated: Use OuterMessageWithRenamedInnerMessage.ProtoReflect.Descriptor instead.
func (*OuterMessageWithRenamedInnerMessage) GetInner ¶
func (x *OuterMessageWithRenamedInnerMessage) GetInner() *RenamedInnerMessage
func (*OuterMessageWithRenamedInnerMessage) ProtoMessage ¶
func (*OuterMessageWithRenamedInnerMessage) ProtoMessage()
func (*OuterMessageWithRenamedInnerMessage) ProtoReflect ¶
func (x *OuterMessageWithRenamedInnerMessage) ProtoReflect() protoreflect.Message
func (*OuterMessageWithRenamedInnerMessage) Reset ¶
func (x *OuterMessageWithRenamedInnerMessage) Reset()
func (*OuterMessageWithRenamedInnerMessage) String ¶
func (x *OuterMessageWithRenamedInnerMessage) String() string
type OuterMessageWithTags ¶
type OuterMessageWithTags struct {
// contains filtered or unexported fields
}
func (*OuterMessageWithTags) Descriptor
deprecated
func (*OuterMessageWithTags) Descriptor() ([]byte, []int)
Deprecated: Use OuterMessageWithTags.ProtoReflect.Descriptor instead.
func (*OuterMessageWithTags) ProtoMessage ¶
func (*OuterMessageWithTags) ProtoMessage()
func (*OuterMessageWithTags) ProtoReflect ¶
func (x *OuterMessageWithTags) ProtoReflect() protoreflect.Message
func (*OuterMessageWithTags) Reset ¶
func (x *OuterMessageWithTags) Reset()
func (*OuterMessageWithTags) String ¶
func (x *OuterMessageWithTags) String() string
type OuterMessageWithTags_InnerMessage ¶
type OuterMessageWithTags_InnerMessage struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty" test:"value"` // contains filtered or unexported fields }
func (*OuterMessageWithTags_InnerMessage) Descriptor
deprecated
func (*OuterMessageWithTags_InnerMessage) Descriptor() ([]byte, []int)
Deprecated: Use OuterMessageWithTags_InnerMessage.ProtoReflect.Descriptor instead.
func (*OuterMessageWithTags_InnerMessage) GetValue ¶
func (x *OuterMessageWithTags_InnerMessage) GetValue() string
func (*OuterMessageWithTags_InnerMessage) ProtoMessage ¶
func (*OuterMessageWithTags_InnerMessage) ProtoMessage()
func (*OuterMessageWithTags_InnerMessage) ProtoReflect ¶
func (x *OuterMessageWithTags_InnerMessage) ProtoReflect() protoreflect.Message
func (*OuterMessageWithTags_InnerMessage) Reset ¶
func (x *OuterMessageWithTags_InnerMessage) Reset()
func (*OuterMessageWithTags_InnerMessage) String ¶
func (x *OuterMessageWithTags_InnerMessage) String() string
type Outer_Middle ¶ added in v0.3.0
type Outer_Middle struct { Inner *Outer_Middle_Inner `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"` // contains filtered or unexported fields }
func (*Outer_Middle) Descriptor
deprecated
added in
v0.3.0
func (*Outer_Middle) Descriptor() ([]byte, []int)
Deprecated: Use Outer_Middle.ProtoReflect.Descriptor instead.
func (*Outer_Middle) GetInner ¶ added in v0.3.0
func (x *Outer_Middle) GetInner() *Outer_Middle_Inner
func (*Outer_Middle) ProtoMessage ¶ added in v0.3.0
func (*Outer_Middle) ProtoMessage()
func (*Outer_Middle) ProtoReflect ¶ added in v0.3.0
func (x *Outer_Middle) ProtoReflect() protoreflect.Message
func (*Outer_Middle) Reset ¶ added in v0.3.0
func (x *Outer_Middle) Reset()
func (*Outer_Middle) String ¶ added in v0.3.0
func (x *Outer_Middle) String() string
type Outer_Middle_Inner ¶ added in v0.3.0
type Outer_Middle_Inner struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*Outer_Middle_Inner) Descriptor
deprecated
added in
v0.3.0
func (*Outer_Middle_Inner) Descriptor() ([]byte, []int)
Deprecated: Use Outer_Middle_Inner.ProtoReflect.Descriptor instead.
func (*Outer_Middle_Inner) GetId ¶ added in v0.3.0
func (x *Outer_Middle_Inner) GetId() int32
func (*Outer_Middle_Inner) ProtoMessage ¶ added in v0.3.0
func (*Outer_Middle_Inner) ProtoMessage()
func (*Outer_Middle_Inner) ProtoReflect ¶ added in v0.3.0
func (x *Outer_Middle_Inner) ProtoReflect() protoreflect.Message
func (*Outer_Middle_Inner) Reset ¶ added in v0.3.0
func (x *Outer_Middle_Inner) Reset()
func (*Outer_Middle_Inner) String ¶ added in v0.3.0
func (x *Outer_Middle_Inner) String() string
type RenamedInnerMessage ¶
type RenamedInnerMessage struct {
// contains filtered or unexported fields
}
func (*RenamedInnerMessage) Descriptor
deprecated
func (*RenamedInnerMessage) Descriptor() ([]byte, []int)
Deprecated: Use OuterMessageWithRenamedInnerMessage_InnerMessage.ProtoReflect.Descriptor instead.
func (*RenamedInnerMessage) ProtoMessage ¶
func (*RenamedInnerMessage) ProtoMessage()
func (*RenamedInnerMessage) ProtoReflect ¶
func (x *RenamedInnerMessage) ProtoReflect() protoreflect.Message
func (*RenamedInnerMessage) Reset ¶
func (x *RenamedInnerMessage) Reset()
func (*RenamedInnerMessage) String ¶
func (x *RenamedInnerMessage) String() string
type RenamedOneofMessage ¶
type RenamedOneofMessage struct { // Types that are assignable to Contents: // // *OriginalOneofMessage_Id // *OriginalOneofMessage_Name Contents isRenamedOneofMessage_Contents `protobuf_oneof:"contents"` // contains filtered or unexported fields }
func (*RenamedOneofMessage) Descriptor
deprecated
func (*RenamedOneofMessage) Descriptor() ([]byte, []int)
Deprecated: Use OriginalOneofMessage.ProtoReflect.Descriptor instead.
func (*RenamedOneofMessage) GetContents ¶
func (m *RenamedOneofMessage) GetContents() isRenamedOneofMessage_Contents
func (*RenamedOneofMessage) GetId ¶
func (x *RenamedOneofMessage) GetId() int32
func (*RenamedOneofMessage) GetName ¶
func (x *RenamedOneofMessage) GetName() string
func (*RenamedOneofMessage) ProtoMessage ¶
func (*RenamedOneofMessage) ProtoMessage()
func (*RenamedOneofMessage) ProtoReflect ¶
func (x *RenamedOneofMessage) ProtoReflect() protoreflect.Message
func (*RenamedOneofMessage) Reset ¶
func (x *RenamedOneofMessage) Reset()
func (*RenamedOneofMessage) String ¶
func (x *RenamedOneofMessage) String() string
type RenamedOneofMessage_Id ¶
type RenamedOneofMessage_Id struct {
Id int32 `protobuf:"varint,1,opt,name=id,proto3,oneof"`
}
type RenamedOneofMessage_Name ¶
type RenamedOneofMessage_Name struct {
Name string `protobuf:"bytes,2,opt,name=name,proto3,oneof"`
}
type RenamedOuterMessage ¶
type RenamedOuterMessage struct { Inner *RenamedOuterMessage_InnerMessage `protobuf:"bytes,1,opt,name=inner,proto3" json:"inner,omitempty"` // contains filtered or unexported fields }
func (*RenamedOuterMessage) Descriptor
deprecated
func (*RenamedOuterMessage) Descriptor() ([]byte, []int)
Deprecated: Use OriginalOuterMessage.ProtoReflect.Descriptor instead.
func (*RenamedOuterMessage) GetInner ¶
func (x *RenamedOuterMessage) GetInner() *RenamedOuterMessage_InnerMessage
func (*RenamedOuterMessage) ProtoMessage ¶
func (*RenamedOuterMessage) ProtoMessage()
func (*RenamedOuterMessage) ProtoReflect ¶
func (x *RenamedOuterMessage) ProtoReflect() protoreflect.Message
func (*RenamedOuterMessage) Reset ¶
func (x *RenamedOuterMessage) Reset()
func (*RenamedOuterMessage) String ¶
func (x *RenamedOuterMessage) String() string
type RenamedOuterMessage_InnerMessage ¶
type RenamedOuterMessage_InnerMessage struct {
// contains filtered or unexported fields
}
func (*RenamedOuterMessage_InnerMessage) Descriptor
deprecated
func (*RenamedOuterMessage_InnerMessage) Descriptor() ([]byte, []int)
Deprecated: Use OriginalOuterMessage_InnerMessage.ProtoReflect.Descriptor instead.
func (*RenamedOuterMessage_InnerMessage) ProtoMessage ¶
func (*RenamedOuterMessage_InnerMessage) ProtoMessage()
func (*RenamedOuterMessage_InnerMessage) ProtoReflect ¶
func (x *RenamedOuterMessage_InnerMessage) ProtoReflect() protoreflect.Message
func (*RenamedOuterMessage_InnerMessage) Reset ¶
func (x *RenamedOuterMessage_InnerMessage) Reset()
func (*RenamedOuterMessage_InnerMessage) String ¶
func (x *RenamedOuterMessage_InnerMessage) String() string
type Union ¶ added in v0.3.0
type Union struct { // Types that are assignable to Contents: // // *Union_Id // *Union_Name Contents isUnion_Contents `protobuf_oneof:"contents"` // contains filtered or unexported fields }
func (*Union) Descriptor
deprecated
added in
v0.3.0
func (*Union) GetContents ¶ added in v0.3.0
func (m *Union) GetContents() isUnion_Contents
func (*Union) ProtoMessage ¶ added in v0.3.0
func (*Union) ProtoMessage()
func (*Union) ProtoReflect ¶ added in v0.3.0
func (x *Union) ProtoReflect() protoreflect.Message
type Union_Id ¶ added in v0.3.0
type Union_Id struct {
Id int32 `protobuf:"varint,1,opt,name=id,proto3,oneof"`
}
type Union_Name ¶ added in v0.3.0
type Union_Name struct {
Name string `protobuf:"bytes,2,opt,name=name,proto3,oneof"`
}