Documentation ¶
Index ¶
- Variables
- type ForeignEnum
- func (ForeignEnum) Descriptor() protoreflect.EnumDescriptor
- func (x ForeignEnum) Enum() *ForeignEnum
- func (ForeignEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x ForeignEnum) Number() protoreflect.EnumNumber
- func (x ForeignEnum) String() string
- func (ForeignEnum) Type() protoreflect.EnumType
- type ForeignMessage
- func (*ForeignMessage) Descriptor() ([]byte, []int)deprecated
- func (x *ForeignMessage) GetC() int32
- func (x *ForeignMessage) GetD() int32
- func (*ForeignMessage) ProtoMessage()
- func (x *ForeignMessage) ProtoReflect() protoreflect.Message
- func (x *ForeignMessage) Reset()
- func (x *ForeignMessage) String() string
- type TestAllTypes
- func (*TestAllTypes) Descriptor() ([]byte, []int)deprecated
- func (x *TestAllTypes) GetDefaultBool() bool
- func (x *TestAllTypes) GetDefaultBytes() []byte
- func (x *TestAllTypes) GetDefaultDouble() float64
- func (x *TestAllTypes) GetDefaultFixed32() uint32
- func (x *TestAllTypes) GetDefaultFixed64() uint64
- func (x *TestAllTypes) GetDefaultFloat() float32
- func (x *TestAllTypes) GetDefaultForeignEnum() ForeignEnum
- func (x *TestAllTypes) GetDefaultForeignMessage() *ForeignMessage
- func (x *TestAllTypes) GetDefaultInt32() int32
- func (x *TestAllTypes) GetDefaultInt64() int64
- func (x *TestAllTypes) GetDefaultNestedEnum() TestAllTypes_NestedEnum
- func (x *TestAllTypes) GetDefaultNestedMessage() *TestAllTypes_NestedMessage
- func (x *TestAllTypes) GetDefaultSfixed32() int32
- func (x *TestAllTypes) GetDefaultSfixed64() int64
- func (x *TestAllTypes) GetDefaultSint32() int32
- func (x *TestAllTypes) GetDefaultSint64() int64
- func (x *TestAllTypes) GetDefaultString() string
- func (x *TestAllTypes) GetDefaultUint32() uint32
- func (x *TestAllTypes) GetDefaultUint64() uint64
- func (x *TestAllTypes) GetDefaultWellKnown() *WellKnown
- func (x *TestAllTypes) GetMapBoolBool() map[bool]bool
- func (x *TestAllTypes) GetMapFixed32Fixed32() map[uint32]uint32
- func (x *TestAllTypes) GetMapFixed64Fixed64() map[uint64]uint64
- func (x *TestAllTypes) GetMapInt32Double() map[int32]float64
- func (x *TestAllTypes) GetMapInt32Float() map[int32]float32
- func (x *TestAllTypes) GetMapInt32Int32() map[int32]int32
- func (x *TestAllTypes) GetMapInt64Int64() map[int64]int64
- func (x *TestAllTypes) GetMapSfixed32Sfixed32() map[int32]int32
- func (x *TestAllTypes) GetMapSfixed64Sfixed64() map[int64]int64
- func (x *TestAllTypes) GetMapSint32Sint32() map[int32]int32
- func (x *TestAllTypes) GetMapSint64Sint64() map[int64]int64
- func (x *TestAllTypes) GetMapStringBytes() map[string][]byte
- func (x *TestAllTypes) GetMapStringNestedMessage() map[string]*TestAllTypes_NestedMessage
- func (x *TestAllTypes) GetMapStringString() map[string]string
- func (x *TestAllTypes) GetMapStringWellKnown() map[string]*WellKnown
- func (x *TestAllTypes) GetMapUint32Uint32() map[uint32]uint32
- func (x *TestAllTypes) GetMapUint64Uint64() map[uint64]uint64
- func (m *TestAllTypes) GetOneofDefault() isTestAllTypes_OneofDefault
- func (x *TestAllTypes) GetOneofDefaultInt32() int32
- func (x *TestAllTypes) GetOneofDefaultNestedMessage() *TestAllTypes_NestedMessage
- func (x *TestAllTypes) GetOptionalBool() bool
- func (x *TestAllTypes) GetOptionalBytes() []byte
- func (x *TestAllTypes) GetOptionalDouble() float64
- func (x *TestAllTypes) GetOptionalFixed32() uint32
- func (x *TestAllTypes) GetOptionalFixed64() uint64
- func (x *TestAllTypes) GetOptionalFloat() float32
- func (x *TestAllTypes) GetOptionalInt32() int32
- func (x *TestAllTypes) GetOptionalInt64() int64
- func (x *TestAllTypes) GetOptionalSfixed32() int32
- func (x *TestAllTypes) GetOptionalSfixed64() int64
- func (x *TestAllTypes) GetOptionalSint32() int32
- func (x *TestAllTypes) GetOptionalSint64() int64
- func (x *TestAllTypes) GetOptionalString() string
- func (x *TestAllTypes) GetOptionalUint32() uint32
- func (x *TestAllTypes) GetOptionalUint64() uint64
- func (x *TestAllTypes) GetRepeatedBool() []bool
- func (x *TestAllTypes) GetRepeatedBytes() [][]byte
- func (x *TestAllTypes) GetRepeatedDouble() []float64
- func (x *TestAllTypes) GetRepeatedFixed32() []uint32
- func (x *TestAllTypes) GetRepeatedFixed64() []uint64
- func (x *TestAllTypes) GetRepeatedFloat() []float32
- func (x *TestAllTypes) GetRepeatedForeignEnum() []ForeignEnum
- func (x *TestAllTypes) GetRepeatedForeignMessage() []*ForeignMessage
- func (x *TestAllTypes) GetRepeatedInt32() []int32
- func (x *TestAllTypes) GetRepeatedInt64() []int64
- func (x *TestAllTypes) GetRepeatedNestedEnum() []TestAllTypes_NestedEnum
- func (x *TestAllTypes) GetRepeatedNestedMessage() []*TestAllTypes_NestedMessage
- func (x *TestAllTypes) GetRepeatedSfixed32() []int32
- func (x *TestAllTypes) GetRepeatedSfixed64() []int64
- func (x *TestAllTypes) GetRepeatedSint32() []int32
- func (x *TestAllTypes) GetRepeatedSint64() []int64
- func (x *TestAllTypes) GetRepeatedString() []string
- func (x *TestAllTypes) GetRepeatedUint32() []uint32
- func (x *TestAllTypes) GetRepeatedUint64() []uint64
- func (x *TestAllTypes) GetRepeatedWellKnown() []*WellKnown
- func (*TestAllTypes) ProtoMessage()
- func (x *TestAllTypes) ProtoReflect() protoreflect.Message
- func (x *TestAllTypes) Reset()
- func (x *TestAllTypes) String() string
- type TestAllTypes_NestedEnum
- func (TestAllTypes_NestedEnum) Descriptor() protoreflect.EnumDescriptor
- func (x TestAllTypes_NestedEnum) Enum() *TestAllTypes_NestedEnum
- func (TestAllTypes_NestedEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x TestAllTypes_NestedEnum) Number() protoreflect.EnumNumber
- func (x TestAllTypes_NestedEnum) String() string
- func (TestAllTypes_NestedEnum) Type() protoreflect.EnumType
- type TestAllTypes_NestedMessage
- func (*TestAllTypes_NestedMessage) Descriptor() ([]byte, []int)deprecated
- func (x *TestAllTypes_NestedMessage) GetA() int32
- func (x *TestAllTypes_NestedMessage) GetCorecursive() *TestAllTypes
- func (*TestAllTypes_NestedMessage) ProtoMessage()
- func (x *TestAllTypes_NestedMessage) ProtoReflect() protoreflect.Message
- func (x *TestAllTypes_NestedMessage) Reset()
- func (x *TestAllTypes_NestedMessage) String() string
- type TestAllTypes_OneofDefaultInt32
- type TestAllTypes_OneofDefaultNestedMessage
- type WellKnown
- func (*WellKnown) Descriptor() ([]byte, []int)deprecated
- func (x *WellKnown) GetDefaultDuration() *durationpb.Duration
- func (x *WellKnown) GetDefaultTimestamp() *timestamppb.Timestamp
- func (*WellKnown) ProtoMessage()
- func (x *WellKnown) ProtoReflect() protoreflect.Message
- func (x *WellKnown) Reset()
- func (x *WellKnown) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ForeignEnum_name = map[int32]string{ 0: "FOREIGN_UNKNOWN", 4: "FOREIGN_FOO", 5: "FOREIGN_BAR", 6: "FOREIGN_BAZ", } ForeignEnum_value = map[string]int32{ "FOREIGN_UNKNOWN": 0, "FOREIGN_FOO": 4, "FOREIGN_BAR": 5, "FOREIGN_BAZ": 6, } )
Enum value maps for ForeignEnum.
View Source
var ( TestAllTypes_NestedEnum_name = map[int32]string{ 0: "FOO", 1: "BAR", 2: "BAZ", -1: "NEG", } TestAllTypes_NestedEnum_value = map[string]int32{ "FOO": 0, "BAR": 1, "BAZ": 2, "NEG": -1, } )
Enum value maps for TestAllTypes_NestedEnum.
View Source
var File_internal_testproto_test_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ForeignEnum ¶
type ForeignEnum int32
const ( ForeignEnum_FOREIGN_UNKNOWN ForeignEnum = 0 ForeignEnum_FOREIGN_FOO ForeignEnum = 4 ForeignEnum_FOREIGN_BAR ForeignEnum = 5 ForeignEnum_FOREIGN_BAZ ForeignEnum = 6 )
func (ForeignEnum) Descriptor ¶
func (ForeignEnum) Descriptor() protoreflect.EnumDescriptor
func (ForeignEnum) Enum ¶
func (x ForeignEnum) Enum() *ForeignEnum
func (ForeignEnum) EnumDescriptor
deprecated
func (ForeignEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ForeignEnum.Descriptor instead.
func (ForeignEnum) Number ¶
func (x ForeignEnum) Number() protoreflect.EnumNumber
func (ForeignEnum) String ¶
func (x ForeignEnum) String() string
func (ForeignEnum) Type ¶
func (ForeignEnum) Type() protoreflect.EnumType
type ForeignMessage ¶
type ForeignMessage struct { C int32 `protobuf:"varint,1,opt,name=c,proto3" json:"c,omitempty"` D int32 `protobuf:"varint,2,opt,name=d,proto3" json:"d,omitempty"` // contains filtered or unexported fields }
func (*ForeignMessage) Descriptor
deprecated
func (*ForeignMessage) Descriptor() ([]byte, []int)
Deprecated: Use ForeignMessage.ProtoReflect.Descriptor instead.
func (*ForeignMessage) GetC ¶
func (x *ForeignMessage) GetC() int32
func (*ForeignMessage) GetD ¶
func (x *ForeignMessage) GetD() int32
func (*ForeignMessage) ProtoMessage ¶
func (*ForeignMessage) ProtoMessage()
func (*ForeignMessage) ProtoReflect ¶
func (x *ForeignMessage) ProtoReflect() protoreflect.Message
func (*ForeignMessage) Reset ¶
func (x *ForeignMessage) Reset()
func (*ForeignMessage) String ¶
func (x *ForeignMessage) String() string
type TestAllTypes ¶
type TestAllTypes struct { DefaultInt32 int32 `protobuf:"varint,1,opt,name=default_int32,json=defaultInt32,proto3" json:"default_int32,omitempty"` DefaultInt64 int64 `protobuf:"varint,2,opt,name=default_int64,json=defaultInt64,proto3" json:"default_int64,omitempty"` DefaultUint32 uint32 `protobuf:"varint,3,opt,name=default_uint32,json=defaultUint32,proto3" json:"default_uint32,omitempty"` DefaultUint64 uint64 `protobuf:"varint,4,opt,name=default_uint64,json=defaultUint64,proto3" json:"default_uint64,omitempty"` DefaultSint32 int32 `protobuf:"zigzag32,5,opt,name=default_sint32,json=defaultSint32,proto3" json:"default_sint32,omitempty"` DefaultSint64 int64 `protobuf:"zigzag64,6,opt,name=default_sint64,json=defaultSint64,proto3" json:"default_sint64,omitempty"` DefaultFixed32 uint32 `protobuf:"fixed32,7,opt,name=default_fixed32,json=defaultFixed32,proto3" json:"default_fixed32,omitempty"` DefaultFixed64 uint64 `protobuf:"fixed64,8,opt,name=default_fixed64,json=defaultFixed64,proto3" json:"default_fixed64,omitempty"` DefaultSfixed32 int32 `protobuf:"fixed32,9,opt,name=default_sfixed32,json=defaultSfixed32,proto3" json:"default_sfixed32,omitempty"` DefaultSfixed64 int64 `protobuf:"fixed64,10,opt,name=default_sfixed64,json=defaultSfixed64,proto3" json:"default_sfixed64,omitempty"` DefaultFloat float32 `protobuf:"fixed32,11,opt,name=default_float,json=defaultFloat,proto3" json:"default_float,omitempty"` DefaultDouble float64 `protobuf:"fixed64,12,opt,name=default_double,json=defaultDouble,proto3" json:"default_double,omitempty"` DefaultBool bool `protobuf:"varint,13,opt,name=default_bool,json=defaultBool,proto3" json:"default_bool,omitempty"` DefaultString string `protobuf:"bytes,14,opt,name=default_string,json=defaultString,proto3" json:"default_string,omitempty"` DefaultBytes []byte `protobuf:"bytes,15,opt,name=default_bytes,json=defaultBytes,proto3" json:"default_bytes,omitempty"` // Types that are assignable to OneofDefault: // *TestAllTypes_OneofDefaultInt32 // *TestAllTypes_OneofDefaultNestedMessage OneofDefault isTestAllTypes_OneofDefault `protobuf_oneof:"oneof_default"` DefaultNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,18,opt,name=default_nested_message,json=defaultNestedMessage,proto3" json:"default_nested_message,omitempty"` DefaultForeignMessage *ForeignMessage `` /* 127-byte string literal not displayed */ DefaultWellKnown *WellKnown `protobuf:"bytes,20,opt,name=default_well_known,json=defaultWellKnown,proto3" json:"default_well_known,omitempty"` DefaultNestedEnum TestAllTypes_NestedEnum `` /* 156-byte string literal not displayed */ DefaultForeignEnum ForeignEnum `` /* 147-byte string literal not displayed */ RepeatedInt32 []int32 `protobuf:"varint,31,rep,packed,name=repeated_int32,json=repeatedInt32,proto3" json:"repeated_int32,omitempty"` RepeatedInt64 []int64 `protobuf:"varint,32,rep,packed,name=repeated_int64,json=repeatedInt64,proto3" json:"repeated_int64,omitempty"` RepeatedUint32 []uint32 `protobuf:"varint,33,rep,packed,name=repeated_uint32,json=repeatedUint32,proto3" json:"repeated_uint32,omitempty"` RepeatedUint64 []uint64 `protobuf:"varint,34,rep,packed,name=repeated_uint64,json=repeatedUint64,proto3" json:"repeated_uint64,omitempty"` RepeatedSint32 []int32 `protobuf:"zigzag32,35,rep,packed,name=repeated_sint32,json=repeatedSint32,proto3" json:"repeated_sint32,omitempty"` RepeatedSint64 []int64 `protobuf:"zigzag64,36,rep,packed,name=repeated_sint64,json=repeatedSint64,proto3" json:"repeated_sint64,omitempty"` RepeatedFixed32 []uint32 `protobuf:"fixed32,37,rep,packed,name=repeated_fixed32,json=repeatedFixed32,proto3" json:"repeated_fixed32,omitempty"` RepeatedFixed64 []uint64 `protobuf:"fixed64,38,rep,packed,name=repeated_fixed64,json=repeatedFixed64,proto3" json:"repeated_fixed64,omitempty"` RepeatedSfixed32 []int32 `protobuf:"fixed32,39,rep,packed,name=repeated_sfixed32,json=repeatedSfixed32,proto3" json:"repeated_sfixed32,omitempty"` RepeatedSfixed64 []int64 `protobuf:"fixed64,40,rep,packed,name=repeated_sfixed64,json=repeatedSfixed64,proto3" json:"repeated_sfixed64,omitempty"` RepeatedFloat []float32 `protobuf:"fixed32,41,rep,packed,name=repeated_float,json=repeatedFloat,proto3" json:"repeated_float,omitempty"` RepeatedDouble []float64 `protobuf:"fixed64,42,rep,packed,name=repeated_double,json=repeatedDouble,proto3" json:"repeated_double,omitempty"` RepeatedBool []bool `protobuf:"varint,43,rep,packed,name=repeated_bool,json=repeatedBool,proto3" json:"repeated_bool,omitempty"` RepeatedString []string `protobuf:"bytes,44,rep,name=repeated_string,json=repeatedString,proto3" json:"repeated_string,omitempty"` RepeatedBytes [][]byte `protobuf:"bytes,45,rep,name=repeated_bytes,json=repeatedBytes,proto3" json:"repeated_bytes,omitempty"` RepeatedNestedMessage []*TestAllTypes_NestedMessage `` /* 127-byte string literal not displayed */ RepeatedForeignMessage []*ForeignMessage `` /* 130-byte string literal not displayed */ RepeatedWellKnown []*WellKnown `protobuf:"bytes,50,rep,name=repeated_well_known,json=repeatedWellKnown,proto3" json:"repeated_well_known,omitempty"` RepeatedNestedEnum []TestAllTypes_NestedEnum `` /* 166-byte string literal not displayed */ RepeatedForeignEnum []ForeignEnum `` /* 157-byte string literal not displayed */ MapInt32Int32 map[int32]int32 `` /* 193-byte string literal not displayed */ MapInt64Int64 map[int64]int64 `` /* 193-byte string literal not displayed */ MapUint32Uint32 map[uint32]uint32 `` /* 199-byte string literal not displayed */ MapUint64Uint64 map[uint64]uint64 `` /* 199-byte string literal not displayed */ MapSint32Sint32 map[int32]int32 `` /* 203-byte string literal not displayed */ MapSint64Sint64 map[int64]int64 `` /* 203-byte string literal not displayed */ MapFixed32Fixed32 map[uint32]uint32 `` /* 207-byte string literal not displayed */ MapFixed64Fixed64 map[uint64]uint64 `` /* 207-byte string literal not displayed */ MapSfixed32Sfixed32 map[int32]int32 `` /* 213-byte string literal not displayed */ MapSfixed64Sfixed64 map[int64]int64 `` /* 213-byte string literal not displayed */ MapInt32Float map[int32]float32 `` /* 194-byte string literal not displayed */ MapInt32Double map[int32]float64 `` /* 197-byte string literal not displayed */ MapBoolBool map[bool]bool `` /* 187-byte string literal not displayed */ MapStringString map[string]string `` /* 197-byte string literal not displayed */ MapStringBytes map[string][]byte `` /* 194-byte string literal not displayed */ MapStringNestedMessage map[string]*TestAllTypes_NestedMessage `` /* 220-byte string literal not displayed */ MapStringWellKnown map[string]*WellKnown `` /* 208-byte string literal not displayed */ OptionalInt32 *int32 `protobuf:"varint,80,opt,name=optional_int32,json=optionalInt32,proto3,oneof" json:"optional_int32,omitempty"` OptionalInt64 *int64 `protobuf:"varint,81,opt,name=optional_int64,json=optionalInt64,proto3,oneof" json:"optional_int64,omitempty"` OptionalUint32 *uint32 `protobuf:"varint,82,opt,name=optional_uint32,json=optionalUint32,proto3,oneof" json:"optional_uint32,omitempty"` OptionalUint64 *uint64 `protobuf:"varint,83,opt,name=optional_uint64,json=optionalUint64,proto3,oneof" json:"optional_uint64,omitempty"` OptionalSint32 *int32 `protobuf:"zigzag32,84,opt,name=optional_sint32,json=optionalSint32,proto3,oneof" json:"optional_sint32,omitempty"` OptionalSint64 *int64 `protobuf:"zigzag64,85,opt,name=optional_sint64,json=optionalSint64,proto3,oneof" json:"optional_sint64,omitempty"` OptionalFixed32 *uint32 `protobuf:"fixed32,86,opt,name=optional_fixed32,json=optionalFixed32,proto3,oneof" json:"optional_fixed32,omitempty"` OptionalFixed64 *uint64 `protobuf:"fixed64,87,opt,name=optional_fixed64,json=optionalFixed64,proto3,oneof" json:"optional_fixed64,omitempty"` OptionalSfixed32 *int32 `protobuf:"fixed32,88,opt,name=optional_sfixed32,json=optionalSfixed32,proto3,oneof" json:"optional_sfixed32,omitempty"` OptionalSfixed64 *int64 `protobuf:"fixed64,89,opt,name=optional_sfixed64,json=optionalSfixed64,proto3,oneof" json:"optional_sfixed64,omitempty"` OptionalFloat *float32 `protobuf:"fixed32,90,opt,name=optional_float,json=optionalFloat,proto3,oneof" json:"optional_float,omitempty"` OptionalDouble *float64 `protobuf:"fixed64,91,opt,name=optional_double,json=optionalDouble,proto3,oneof" json:"optional_double,omitempty"` OptionalBool *bool `protobuf:"varint,92,opt,name=optional_bool,json=optionalBool,proto3,oneof" json:"optional_bool,omitempty"` OptionalString *string `protobuf:"bytes,93,opt,name=optional_string,json=optionalString,proto3,oneof" json:"optional_string,omitempty"` OptionalBytes []byte `protobuf:"bytes,94,opt,name=optional_bytes,json=optionalBytes,proto3,oneof" json:"optional_bytes,omitempty"` // contains filtered or unexported fields }
func (*TestAllTypes) Descriptor
deprecated
func (*TestAllTypes) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypes.ProtoReflect.Descriptor instead.
func (*TestAllTypes) GetDefaultBool ¶
func (x *TestAllTypes) GetDefaultBool() bool
func (*TestAllTypes) GetDefaultBytes ¶
func (x *TestAllTypes) GetDefaultBytes() []byte
func (*TestAllTypes) GetDefaultDouble ¶
func (x *TestAllTypes) GetDefaultDouble() float64
func (*TestAllTypes) GetDefaultFixed32 ¶
func (x *TestAllTypes) GetDefaultFixed32() uint32
func (*TestAllTypes) GetDefaultFixed64 ¶
func (x *TestAllTypes) GetDefaultFixed64() uint64
func (*TestAllTypes) GetDefaultFloat ¶
func (x *TestAllTypes) GetDefaultFloat() float32
func (*TestAllTypes) GetDefaultForeignEnum ¶
func (x *TestAllTypes) GetDefaultForeignEnum() ForeignEnum
func (*TestAllTypes) GetDefaultForeignMessage ¶
func (x *TestAllTypes) GetDefaultForeignMessage() *ForeignMessage
func (*TestAllTypes) GetDefaultInt32 ¶
func (x *TestAllTypes) GetDefaultInt32() int32
func (*TestAllTypes) GetDefaultInt64 ¶
func (x *TestAllTypes) GetDefaultInt64() int64
func (*TestAllTypes) GetDefaultNestedEnum ¶
func (x *TestAllTypes) GetDefaultNestedEnum() TestAllTypes_NestedEnum
func (*TestAllTypes) GetDefaultNestedMessage ¶
func (x *TestAllTypes) GetDefaultNestedMessage() *TestAllTypes_NestedMessage
func (*TestAllTypes) GetDefaultSfixed32 ¶
func (x *TestAllTypes) GetDefaultSfixed32() int32
func (*TestAllTypes) GetDefaultSfixed64 ¶
func (x *TestAllTypes) GetDefaultSfixed64() int64
func (*TestAllTypes) GetDefaultSint32 ¶
func (x *TestAllTypes) GetDefaultSint32() int32
func (*TestAllTypes) GetDefaultSint64 ¶
func (x *TestAllTypes) GetDefaultSint64() int64
func (*TestAllTypes) GetDefaultString ¶
func (x *TestAllTypes) GetDefaultString() string
func (*TestAllTypes) GetDefaultUint32 ¶
func (x *TestAllTypes) GetDefaultUint32() uint32
func (*TestAllTypes) GetDefaultUint64 ¶
func (x *TestAllTypes) GetDefaultUint64() uint64
func (*TestAllTypes) GetDefaultWellKnown ¶
func (x *TestAllTypes) GetDefaultWellKnown() *WellKnown
func (*TestAllTypes) GetMapBoolBool ¶
func (x *TestAllTypes) GetMapBoolBool() map[bool]bool
func (*TestAllTypes) GetMapFixed32Fixed32 ¶
func (x *TestAllTypes) GetMapFixed32Fixed32() map[uint32]uint32
func (*TestAllTypes) GetMapFixed64Fixed64 ¶
func (x *TestAllTypes) GetMapFixed64Fixed64() map[uint64]uint64
func (*TestAllTypes) GetMapInt32Double ¶
func (x *TestAllTypes) GetMapInt32Double() map[int32]float64
func (*TestAllTypes) GetMapInt32Float ¶
func (x *TestAllTypes) GetMapInt32Float() map[int32]float32
func (*TestAllTypes) GetMapInt32Int32 ¶
func (x *TestAllTypes) GetMapInt32Int32() map[int32]int32
func (*TestAllTypes) GetMapInt64Int64 ¶
func (x *TestAllTypes) GetMapInt64Int64() map[int64]int64
func (*TestAllTypes) GetMapSfixed32Sfixed32 ¶
func (x *TestAllTypes) GetMapSfixed32Sfixed32() map[int32]int32
func (*TestAllTypes) GetMapSfixed64Sfixed64 ¶
func (x *TestAllTypes) GetMapSfixed64Sfixed64() map[int64]int64
func (*TestAllTypes) GetMapSint32Sint32 ¶
func (x *TestAllTypes) GetMapSint32Sint32() map[int32]int32
func (*TestAllTypes) GetMapSint64Sint64 ¶
func (x *TestAllTypes) GetMapSint64Sint64() map[int64]int64
func (*TestAllTypes) GetMapStringBytes ¶
func (x *TestAllTypes) GetMapStringBytes() map[string][]byte
func (*TestAllTypes) GetMapStringNestedMessage ¶
func (x *TestAllTypes) GetMapStringNestedMessage() map[string]*TestAllTypes_NestedMessage
func (*TestAllTypes) GetMapStringString ¶
func (x *TestAllTypes) GetMapStringString() map[string]string
func (*TestAllTypes) GetMapStringWellKnown ¶
func (x *TestAllTypes) GetMapStringWellKnown() map[string]*WellKnown
func (*TestAllTypes) GetMapUint32Uint32 ¶
func (x *TestAllTypes) GetMapUint32Uint32() map[uint32]uint32
func (*TestAllTypes) GetMapUint64Uint64 ¶
func (x *TestAllTypes) GetMapUint64Uint64() map[uint64]uint64
func (*TestAllTypes) GetOneofDefault ¶
func (m *TestAllTypes) GetOneofDefault() isTestAllTypes_OneofDefault
func (*TestAllTypes) GetOneofDefaultInt32 ¶
func (x *TestAllTypes) GetOneofDefaultInt32() int32
func (*TestAllTypes) GetOneofDefaultNestedMessage ¶
func (x *TestAllTypes) GetOneofDefaultNestedMessage() *TestAllTypes_NestedMessage
func (*TestAllTypes) GetOptionalBool ¶
func (x *TestAllTypes) GetOptionalBool() bool
func (*TestAllTypes) GetOptionalBytes ¶
func (x *TestAllTypes) GetOptionalBytes() []byte
func (*TestAllTypes) GetOptionalDouble ¶
func (x *TestAllTypes) GetOptionalDouble() float64
func (*TestAllTypes) GetOptionalFixed32 ¶
func (x *TestAllTypes) GetOptionalFixed32() uint32
func (*TestAllTypes) GetOptionalFixed64 ¶
func (x *TestAllTypes) GetOptionalFixed64() uint64
func (*TestAllTypes) GetOptionalFloat ¶
func (x *TestAllTypes) GetOptionalFloat() float32
func (*TestAllTypes) GetOptionalInt32 ¶
func (x *TestAllTypes) GetOptionalInt32() int32
func (*TestAllTypes) GetOptionalInt64 ¶
func (x *TestAllTypes) GetOptionalInt64() int64
func (*TestAllTypes) GetOptionalSfixed32 ¶
func (x *TestAllTypes) GetOptionalSfixed32() int32
func (*TestAllTypes) GetOptionalSfixed64 ¶
func (x *TestAllTypes) GetOptionalSfixed64() int64
func (*TestAllTypes) GetOptionalSint32 ¶
func (x *TestAllTypes) GetOptionalSint32() int32
func (*TestAllTypes) GetOptionalSint64 ¶
func (x *TestAllTypes) GetOptionalSint64() int64
func (*TestAllTypes) GetOptionalString ¶
func (x *TestAllTypes) GetOptionalString() string
func (*TestAllTypes) GetOptionalUint32 ¶
func (x *TestAllTypes) GetOptionalUint32() uint32
func (*TestAllTypes) GetOptionalUint64 ¶
func (x *TestAllTypes) GetOptionalUint64() uint64
func (*TestAllTypes) GetRepeatedBool ¶
func (x *TestAllTypes) GetRepeatedBool() []bool
func (*TestAllTypes) GetRepeatedBytes ¶
func (x *TestAllTypes) GetRepeatedBytes() [][]byte
func (*TestAllTypes) GetRepeatedDouble ¶
func (x *TestAllTypes) GetRepeatedDouble() []float64
func (*TestAllTypes) GetRepeatedFixed32 ¶
func (x *TestAllTypes) GetRepeatedFixed32() []uint32
func (*TestAllTypes) GetRepeatedFixed64 ¶
func (x *TestAllTypes) GetRepeatedFixed64() []uint64
func (*TestAllTypes) GetRepeatedFloat ¶
func (x *TestAllTypes) GetRepeatedFloat() []float32
func (*TestAllTypes) GetRepeatedForeignEnum ¶
func (x *TestAllTypes) GetRepeatedForeignEnum() []ForeignEnum
func (*TestAllTypes) GetRepeatedForeignMessage ¶
func (x *TestAllTypes) GetRepeatedForeignMessage() []*ForeignMessage
func (*TestAllTypes) GetRepeatedInt32 ¶
func (x *TestAllTypes) GetRepeatedInt32() []int32
func (*TestAllTypes) GetRepeatedInt64 ¶
func (x *TestAllTypes) GetRepeatedInt64() []int64
func (*TestAllTypes) GetRepeatedNestedEnum ¶
func (x *TestAllTypes) GetRepeatedNestedEnum() []TestAllTypes_NestedEnum
func (*TestAllTypes) GetRepeatedNestedMessage ¶
func (x *TestAllTypes) GetRepeatedNestedMessage() []*TestAllTypes_NestedMessage
func (*TestAllTypes) GetRepeatedSfixed32 ¶
func (x *TestAllTypes) GetRepeatedSfixed32() []int32
func (*TestAllTypes) GetRepeatedSfixed64 ¶
func (x *TestAllTypes) GetRepeatedSfixed64() []int64
func (*TestAllTypes) GetRepeatedSint32 ¶
func (x *TestAllTypes) GetRepeatedSint32() []int32
func (*TestAllTypes) GetRepeatedSint64 ¶
func (x *TestAllTypes) GetRepeatedSint64() []int64
func (*TestAllTypes) GetRepeatedString ¶
func (x *TestAllTypes) GetRepeatedString() []string
func (*TestAllTypes) GetRepeatedUint32 ¶
func (x *TestAllTypes) GetRepeatedUint32() []uint32
func (*TestAllTypes) GetRepeatedUint64 ¶
func (x *TestAllTypes) GetRepeatedUint64() []uint64
func (*TestAllTypes) GetRepeatedWellKnown ¶
func (x *TestAllTypes) GetRepeatedWellKnown() []*WellKnown
func (*TestAllTypes) ProtoMessage ¶
func (*TestAllTypes) ProtoMessage()
func (*TestAllTypes) ProtoReflect ¶
func (x *TestAllTypes) ProtoReflect() protoreflect.Message
func (*TestAllTypes) Reset ¶
func (x *TestAllTypes) Reset()
func (*TestAllTypes) String ¶
func (x *TestAllTypes) String() string
type TestAllTypes_NestedEnum ¶
type TestAllTypes_NestedEnum int32
const ( TestAllTypes_FOO TestAllTypes_NestedEnum = 0 TestAllTypes_BAR TestAllTypes_NestedEnum = 1 TestAllTypes_BAZ TestAllTypes_NestedEnum = 2 TestAllTypes_NEG TestAllTypes_NestedEnum = -1 // Intentionally negative. )
func (TestAllTypes_NestedEnum) Descriptor ¶
func (TestAllTypes_NestedEnum) Descriptor() protoreflect.EnumDescriptor
func (TestAllTypes_NestedEnum) Enum ¶
func (x TestAllTypes_NestedEnum) Enum() *TestAllTypes_NestedEnum
func (TestAllTypes_NestedEnum) EnumDescriptor
deprecated
func (TestAllTypes_NestedEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use TestAllTypes_NestedEnum.Descriptor instead.
func (TestAllTypes_NestedEnum) Number ¶
func (x TestAllTypes_NestedEnum) Number() protoreflect.EnumNumber
func (TestAllTypes_NestedEnum) String ¶
func (x TestAllTypes_NestedEnum) String() string
func (TestAllTypes_NestedEnum) Type ¶
func (TestAllTypes_NestedEnum) Type() protoreflect.EnumType
type TestAllTypes_NestedMessage ¶
type TestAllTypes_NestedMessage struct { A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"` Corecursive *TestAllTypes `protobuf:"bytes,2,opt,name=corecursive,proto3" json:"corecursive,omitempty"` // contains filtered or unexported fields }
func (*TestAllTypes_NestedMessage) Descriptor
deprecated
func (*TestAllTypes_NestedMessage) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypes_NestedMessage.ProtoReflect.Descriptor instead.
func (*TestAllTypes_NestedMessage) GetA ¶
func (x *TestAllTypes_NestedMessage) GetA() int32
func (*TestAllTypes_NestedMessage) GetCorecursive ¶
func (x *TestAllTypes_NestedMessage) GetCorecursive() *TestAllTypes
func (*TestAllTypes_NestedMessage) ProtoMessage ¶
func (*TestAllTypes_NestedMessage) ProtoMessage()
func (*TestAllTypes_NestedMessage) ProtoReflect ¶
func (x *TestAllTypes_NestedMessage) ProtoReflect() protoreflect.Message
func (*TestAllTypes_NestedMessage) Reset ¶
func (x *TestAllTypes_NestedMessage) Reset()
func (*TestAllTypes_NestedMessage) String ¶
func (x *TestAllTypes_NestedMessage) String() string
type TestAllTypes_OneofDefaultInt32 ¶
type TestAllTypes_OneofDefaultInt32 struct {
OneofDefaultInt32 int32 `protobuf:"varint,16,opt,name=oneof_default_int32,json=oneofDefaultInt32,proto3,oneof"`
}
type TestAllTypes_OneofDefaultNestedMessage ¶
type TestAllTypes_OneofDefaultNestedMessage struct {
OneofDefaultNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,17,opt,name=oneof_default_nested_message,json=oneofDefaultNestedMessage,proto3,oneof"`
}
type WellKnown ¶
type WellKnown struct { DefaultTimestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=default_timestamp,json=defaultTimestamp,proto3" json:"default_timestamp,omitempty"` DefaultDuration *durationpb.Duration `protobuf:"bytes,2,opt,name=default_duration,json=defaultDuration,proto3" json:"default_duration,omitempty"` // contains filtered or unexported fields }
func (*WellKnown) Descriptor
deprecated
func (*WellKnown) GetDefaultDuration ¶
func (x *WellKnown) GetDefaultDuration() *durationpb.Duration
func (*WellKnown) GetDefaultTimestamp ¶
func (x *WellKnown) GetDefaultTimestamp() *timestamppb.Timestamp
func (*WellKnown) ProtoMessage ¶
func (*WellKnown) ProtoMessage()
func (*WellKnown) ProtoReflect ¶
func (x *WellKnown) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.