Documentation ¶
Index ¶
- Variables
- type RepeatedM
- func (*RepeatedM) Descriptor() ([]byte, []int)deprecated
- func (x *RepeatedM) GetBoolCustomEmpties() []bool
- func (x *RepeatedM) GetBoolCustomNested() []bool
- func (x *RepeatedM) GetBoolCustoms() []bool
- func (x *RepeatedM) GetBools() []bool
- func (x *RepeatedM) GetBytesCustomEmpties() [][]byte
- func (x *RepeatedM) GetBytesCustomNested() [][]byte
- func (x *RepeatedM) GetBytesCustoms() [][]byte
- func (x *RepeatedM) GetBytess() [][]byte
- func (x *RepeatedM) GetDoubleCustomEmpties() []float64
- func (x *RepeatedM) GetDoubleCustomNested() []float64
- func (x *RepeatedM) GetDoubleCustoms() []float64
- func (x *RepeatedM) GetDoubles() []float64
- func (x *RepeatedM) GetEnumCustomEmpties() []TestEnum
- func (x *RepeatedM) GetEnumCustomNested() []TestEnum
- func (x *RepeatedM) GetEnumCustoms() []TestEnum
- func (x *RepeatedM) GetEnums() []TestEnum
- func (x *RepeatedM) GetFixed32CustomEmpties() []uint32
- func (x *RepeatedM) GetFixed32CustomNested() []uint32
- func (x *RepeatedM) GetFixed32Customs() []uint32
- func (x *RepeatedM) GetFixed32S() []uint32
- func (x *RepeatedM) GetFixed64CustomEmpties() []uint64
- func (x *RepeatedM) GetFixed64CustomNested() []uint64
- func (x *RepeatedM) GetFixed64Customs() []uint64
- func (x *RepeatedM) GetFixed64S() []uint64
- func (x *RepeatedM) GetFloatCustomEmpties() []float32
- func (x *RepeatedM) GetFloatCustomNested() []float32
- func (x *RepeatedM) GetFloatCustoms() []float32
- func (x *RepeatedM) GetFloats() []float32
- func (x *RepeatedM) GetInt32CustomEmpties() []int32
- func (x *RepeatedM) GetInt32CustomNested() []int32
- func (x *RepeatedM) GetInt32Customs() []int32
- func (x *RepeatedM) GetInt32S() []int32
- func (x *RepeatedM) GetInt64CustomEmpties() []int64
- func (x *RepeatedM) GetInt64CustomNested() []int64
- func (x *RepeatedM) GetInt64Customs() []int64
- func (x *RepeatedM) GetInt64S() []int64
- func (x *RepeatedM) GetMessageEmpties() []*TestMessage
- func (x *RepeatedM) GetMessageNested() []*TestMessage
- func (x *RepeatedM) GetMessageNils() []*TestMessage
- func (x *RepeatedM) GetMessageSkips() []*TestMessage
- func (x *RepeatedM) GetMessages() []*TestMessage
- func (x *RepeatedM) GetSfixed32CustomEmpties() []int32
- func (x *RepeatedM) GetSfixed32CustomNested() []int32
- func (x *RepeatedM) GetSfixed32Customs() []int32
- func (x *RepeatedM) GetSfixed32S() []int32
- func (x *RepeatedM) GetSfixed64CustomEmpties() []int64
- func (x *RepeatedM) GetSfixed64CustomNested() []int64
- func (x *RepeatedM) GetSfixed64Customs() []int64
- func (x *RepeatedM) GetSfixed64S() []int64
- func (x *RepeatedM) GetSint32CustomEmpties() []int32
- func (x *RepeatedM) GetSint32CustomNested() []int32
- func (x *RepeatedM) GetSint32Customs() []int32
- func (x *RepeatedM) GetSint32S() []int32
- func (x *RepeatedM) GetSint64CustomEmpties() []int64
- func (x *RepeatedM) GetSint64CustomNested() []int64
- func (x *RepeatedM) GetSint64Customs() []int64
- func (x *RepeatedM) GetSint64S() []int64
- func (x *RepeatedM) GetStringCustomEmpties() []string
- func (x *RepeatedM) GetStringCustomNested() []string
- func (x *RepeatedM) GetStringCustoms() []string
- func (x *RepeatedM) GetStrings() []string
- func (x *RepeatedM) GetUint32CustomEmpties() []uint32
- func (x *RepeatedM) GetUint32CustomNested() []uint32
- func (x *RepeatedM) GetUint32Customs() []uint32
- func (x *RepeatedM) GetUint32S() []uint32
- func (x *RepeatedM) GetUint64CustomEmpties() []uint64
- func (x *RepeatedM) GetUint64CustomNested() []uint64
- func (x *RepeatedM) GetUint64Customs() []uint64
- func (x *RepeatedM) GetUint64S() []uint64
- func (*RepeatedM) ProtoMessage()
- func (x *RepeatedM) ProtoReflect() protoreflect.Message
- func (x *RepeatedM) Redact()
- func (x *RepeatedM) Reset()
- func (x *RepeatedM) String() string
- type TestEnum
- type TestMessage
- func (*TestMessage) Descriptor() ([]byte, []int)deprecated
- func (x *TestMessage) GetBool() bool
- func (x *TestMessage) GetBoolCustom() bool
- func (x *TestMessage) GetBytes() []byte
- func (x *TestMessage) GetBytesCustom() []byte
- func (x *TestMessage) GetDouble() float64
- func (x *TestMessage) GetDoubleCustom() float64
- func (x *TestMessage) GetEnum() TestEnum
- func (x *TestMessage) GetEnumCustom() TestEnum
- func (x *TestMessage) GetFixed32() uint32
- func (x *TestMessage) GetFixed32Custom() uint32
- func (x *TestMessage) GetFixed64() uint64
- func (x *TestMessage) GetFixed64Custom() uint64
- func (x *TestMessage) GetFloat() float32
- func (x *TestMessage) GetFloatCustom() float32
- func (x *TestMessage) GetInt32() int32
- func (x *TestMessage) GetInt32Custom() int32
- func (x *TestMessage) GetInt64() int64
- func (x *TestMessage) GetInt64Custom() int64
- func (x *TestMessage) GetMap1() map[int64]string
- func (x *TestMessage) GetMap1Empty() map[int64]string
- func (x *TestMessage) GetMap1Item() map[int64]string
- func (x *TestMessage) GetMap1Nested() map[int64]string
- func (x *TestMessage) GetMap2() map[string]*empty.Empty
- func (x *TestMessage) GetMap2Empty() map[string]*empty.Empty
- func (x *TestMessage) GetMap2ItemEmpty() map[string]*empty.Empty
- func (x *TestMessage) GetMap2ItemNil() map[string]*empty.Empty
- func (x *TestMessage) GetMap2ItemSkip() map[string]*empty.Empty
- func (x *TestMessage) GetMap2Nested() map[string]*empty.Empty
- func (x *TestMessage) GetMessage() *TestMessage
- func (x *TestMessage) GetMessageEmpty() *TestMessage
- func (x *TestMessage) GetMessageNil() *TestMessage
- func (x *TestMessage) GetMessageSkip() *TestMessage
- func (x *TestMessage) GetSfixed32() int32
- func (x *TestMessage) GetSfixed32Custom() int32
- func (x *TestMessage) GetSfixed64() int64
- func (x *TestMessage) GetSfixed64Custom() int64
- func (x *TestMessage) GetSint32() int32
- func (x *TestMessage) GetSint32Custom() int32
- func (x *TestMessage) GetSint64() int64
- func (x *TestMessage) GetSint64Custom() int64
- func (x *TestMessage) GetStringCustom() string
- func (x *TestMessage) GetString_() string
- func (x *TestMessage) GetUint32() uint32
- func (x *TestMessage) GetUint32Custom() uint32
- func (x *TestMessage) GetUint64() uint64
- func (x *TestMessage) GetUint64Custom() uint64
- func (*TestMessage) ProtoMessage()
- func (x *TestMessage) ProtoReflect() protoreflect.Message
- func (x *TestMessage) Redact()
- func (x *TestMessage) Reset()
- func (x *TestMessage) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TestEnum_name = map[int32]string{ 0: "ValueZero", 1: "ValueOne", 2: "ValueTwo", } TestEnum_value = map[string]int32{ "ValueZero": 0, "ValueOne": 1, "ValueTwo": 2, } )
Enum value maps for TestEnum.
View Source
var File_examples_tests_message_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type RepeatedM ¶
type RepeatedM struct { Floats []float32 `protobuf:"fixed32,1,rep,packed,name=floats,proto3" json:"floats,omitempty"` FloatCustomEmpties []float32 `` /* 126-byte string literal not displayed */ FloatCustomNested []float32 `protobuf:"fixed32,3,rep,packed,name=float_custom_nested,json=floatCustomNested,proto3" json:"float_custom_nested,omitempty"` FloatCustoms []float32 `protobuf:"fixed32,4,rep,packed,name=float_customs,json=floatCustoms,proto3" json:"float_customs,omitempty"` Doubles []float64 `protobuf:"fixed64,5,rep,packed,name=doubles,proto3" json:"doubles,omitempty"` DoubleCustomEmpties []float64 `` /* 129-byte string literal not displayed */ DoubleCustomNested []float64 `` /* 126-byte string literal not displayed */ DoubleCustoms []float64 `protobuf:"fixed64,8,rep,packed,name=double_customs,json=doubleCustoms,proto3" json:"double_customs,omitempty"` Int32S []int32 `protobuf:"varint,9,rep,packed,name=int32s,proto3" json:"int32s,omitempty"` Int32CustomEmpties []int32 `` /* 126-byte string literal not displayed */ Int32CustomNested []int32 `protobuf:"varint,11,rep,packed,name=int32_custom_nested,json=int32CustomNested,proto3" json:"int32_custom_nested,omitempty"` Int32Customs []int32 `protobuf:"varint,12,rep,packed,name=int32_customs,json=int32Customs,proto3" json:"int32_customs,omitempty"` Int64S []int64 `protobuf:"varint,13,rep,packed,name=int64s,proto3" json:"int64s,omitempty"` Int64CustomEmpties []int64 `` /* 126-byte string literal not displayed */ Int64CustomNested []int64 `protobuf:"varint,15,rep,packed,name=int64_custom_nested,json=int64CustomNested,proto3" json:"int64_custom_nested,omitempty"` Int64Customs []int64 `protobuf:"varint,16,rep,packed,name=int64_customs,json=int64Customs,proto3" json:"int64_customs,omitempty"` Uint32S []uint32 `protobuf:"varint,17,rep,packed,name=uint32s,proto3" json:"uint32s,omitempty"` Uint32CustomEmpties []uint32 `` /* 129-byte string literal not displayed */ Uint32CustomNested []uint32 `` /* 126-byte string literal not displayed */ Uint32Customs []uint32 `protobuf:"varint,20,rep,packed,name=uint32_customs,json=uint32Customs,proto3" json:"uint32_customs,omitempty"` Uint64S []uint64 `protobuf:"varint,21,rep,packed,name=uint64s,proto3" json:"uint64s,omitempty"` Uint64CustomEmpties []uint64 `` /* 129-byte string literal not displayed */ Uint64CustomNested []uint64 `` /* 126-byte string literal not displayed */ Uint64Customs []uint64 `protobuf:"varint,24,rep,packed,name=uint64_customs,json=uint64Customs,proto3" json:"uint64_customs,omitempty"` Sint32S []int32 `protobuf:"zigzag32,25,rep,packed,name=sint32s,proto3" json:"sint32s,omitempty"` Sint32CustomEmpties []int32 `` /* 131-byte string literal not displayed */ Sint32CustomNested []int32 `` /* 128-byte string literal not displayed */ Sint32Customs []int32 `protobuf:"zigzag32,28,rep,packed,name=sint32_customs,json=sint32Customs,proto3" json:"sint32_customs,omitempty"` Sint64S []int64 `protobuf:"zigzag64,29,rep,packed,name=sint64s,proto3" json:"sint64s,omitempty"` Sint64CustomEmpties []int64 `` /* 131-byte string literal not displayed */ Sint64CustomNested []int64 `` /* 128-byte string literal not displayed */ Sint64Customs []int64 `protobuf:"zigzag64,32,rep,packed,name=sint64_customs,json=sint64Customs,proto3" json:"sint64_customs,omitempty"` Fixed32S []uint32 `protobuf:"fixed32,33,rep,packed,name=fixed32s,proto3" json:"fixed32s,omitempty"` Fixed32CustomEmpties []uint32 `` /* 133-byte string literal not displayed */ Fixed32CustomNested []uint32 `` /* 130-byte string literal not displayed */ Fixed32Customs []uint32 `protobuf:"fixed32,36,rep,packed,name=fixed32_customs,json=fixed32Customs,proto3" json:"fixed32_customs,omitempty"` Fixed64S []uint64 `protobuf:"fixed64,37,rep,packed,name=fixed64s,proto3" json:"fixed64s,omitempty"` Fixed64CustomEmpties []uint64 `` /* 133-byte string literal not displayed */ Fixed64CustomNested []uint64 `` /* 130-byte string literal not displayed */ Fixed64Customs []uint64 `protobuf:"fixed64,40,rep,packed,name=fixed64_customs,json=fixed64Customs,proto3" json:"fixed64_customs,omitempty"` Sfixed32S []int32 `protobuf:"fixed32,41,rep,packed,name=sfixed32s,proto3" json:"sfixed32s,omitempty"` Sfixed32CustomEmpties []int32 `` /* 136-byte string literal not displayed */ Sfixed32CustomNested []int32 `` /* 133-byte string literal not displayed */ Sfixed32Customs []int32 `protobuf:"fixed32,44,rep,packed,name=sfixed32_customs,json=sfixed32Customs,proto3" json:"sfixed32_customs,omitempty"` Sfixed64S []int64 `protobuf:"fixed64,45,rep,packed,name=sfixed64s,proto3" json:"sfixed64s,omitempty"` Sfixed64CustomEmpties []int64 `` /* 136-byte string literal not displayed */ Sfixed64CustomNested []int64 `` /* 133-byte string literal not displayed */ Sfixed64Customs []int64 `protobuf:"fixed64,48,rep,packed,name=sfixed64_customs,json=sfixed64Customs,proto3" json:"sfixed64_customs,omitempty"` Bools []bool `protobuf:"varint,49,rep,packed,name=bools,proto3" json:"bools,omitempty"` BoolCustomEmpties []bool `protobuf:"varint,50,rep,packed,name=bool_custom_empties,json=boolCustomEmpties,proto3" json:"bool_custom_empties,omitempty"` BoolCustomNested []bool `protobuf:"varint,51,rep,packed,name=bool_custom_nested,json=boolCustomNested,proto3" json:"bool_custom_nested,omitempty"` BoolCustoms []bool `protobuf:"varint,52,rep,packed,name=bool_customs,json=boolCustoms,proto3" json:"bool_customs,omitempty"` Strings []string `protobuf:"bytes,53,rep,name=strings,proto3" json:"strings,omitempty"` StringCustomEmpties []string `protobuf:"bytes,54,rep,name=string_custom_empties,json=stringCustomEmpties,proto3" json:"string_custom_empties,omitempty"` StringCustomNested []string `protobuf:"bytes,55,rep,name=string_custom_nested,json=stringCustomNested,proto3" json:"string_custom_nested,omitempty"` StringCustoms []string `protobuf:"bytes,56,rep,name=string_customs,json=stringCustoms,proto3" json:"string_customs,omitempty"` Bytess [][]byte `protobuf:"bytes,57,rep,name=bytess,proto3" json:"bytess,omitempty"` BytesCustomEmpties [][]byte `protobuf:"bytes,58,rep,name=bytes_custom_empties,json=bytesCustomEmpties,proto3" json:"bytes_custom_empties,omitempty"` BytesCustomNested [][]byte `protobuf:"bytes,59,rep,name=bytes_custom_nested,json=bytesCustomNested,proto3" json:"bytes_custom_nested,omitempty"` BytesCustoms [][]byte `protobuf:"bytes,60,rep,name=bytes_customs,json=bytesCustoms,proto3" json:"bytes_customs,omitempty"` Enums []TestEnum `protobuf:"varint,61,rep,packed,name=enums,proto3,enum=tests.TestEnum" json:"enums,omitempty"` EnumCustomEmpties []TestEnum `` /* 143-byte string literal not displayed */ EnumCustomNested []TestEnum `` /* 140-byte string literal not displayed */ EnumCustoms []TestEnum `protobuf:"varint,64,rep,packed,name=enum_customs,json=enumCustoms,proto3,enum=tests.TestEnum" json:"enum_customs,omitempty"` Messages []*TestMessage `protobuf:"bytes,65,rep,name=messages,proto3" json:"messages,omitempty"` MessageNils []*TestMessage `protobuf:"bytes,66,rep,name=message_nils,json=messageNils,proto3" json:"message_nils,omitempty"` MessageSkips []*TestMessage `protobuf:"bytes,67,rep,name=message_skips,json=messageSkips,proto3" json:"message_skips,omitempty"` MessageNested []*TestMessage `protobuf:"bytes,68,rep,name=message_nested,json=messageNested,proto3" json:"message_nested,omitempty"` MessageEmpties []*TestMessage `protobuf:"bytes,69,rep,name=message_empties,json=messageEmpties,proto3" json:"message_empties,omitempty"` // contains filtered or unexported fields }
func (*RepeatedM) Descriptor
deprecated
func (*RepeatedM) GetBoolCustomEmpties ¶
func (*RepeatedM) GetBoolCustomNested ¶
func (*RepeatedM) GetBoolCustoms ¶
func (*RepeatedM) GetBytesCustomEmpties ¶
func (*RepeatedM) GetBytesCustomNested ¶
func (*RepeatedM) GetBytesCustoms ¶
func (*RepeatedM) GetDoubleCustomEmpties ¶
func (*RepeatedM) GetDoubleCustomNested ¶
func (*RepeatedM) GetDoubleCustoms ¶
func (*RepeatedM) GetDoubles ¶
func (*RepeatedM) GetEnumCustomEmpties ¶
func (*RepeatedM) GetEnumCustomNested ¶
func (*RepeatedM) GetEnumCustoms ¶
func (*RepeatedM) GetFixed32CustomEmpties ¶
func (*RepeatedM) GetFixed32CustomNested ¶
func (*RepeatedM) GetFixed32Customs ¶
func (*RepeatedM) GetFixed32S ¶
func (*RepeatedM) GetFixed64CustomEmpties ¶
func (*RepeatedM) GetFixed64CustomNested ¶
func (*RepeatedM) GetFixed64Customs ¶
func (*RepeatedM) GetFixed64S ¶
func (*RepeatedM) GetFloatCustomEmpties ¶
func (*RepeatedM) GetFloatCustomNested ¶
func (*RepeatedM) GetFloatCustoms ¶
func (*RepeatedM) GetInt32CustomEmpties ¶
func (*RepeatedM) GetInt32CustomNested ¶
func (*RepeatedM) GetInt32Customs ¶
func (*RepeatedM) GetInt64CustomEmpties ¶
func (*RepeatedM) GetInt64CustomNested ¶
func (*RepeatedM) GetInt64Customs ¶
func (*RepeatedM) GetMessageEmpties ¶
func (x *RepeatedM) GetMessageEmpties() []*TestMessage
func (*RepeatedM) GetMessageNested ¶
func (x *RepeatedM) GetMessageNested() []*TestMessage
func (*RepeatedM) GetMessageNils ¶
func (x *RepeatedM) GetMessageNils() []*TestMessage
func (*RepeatedM) GetMessageSkips ¶
func (x *RepeatedM) GetMessageSkips() []*TestMessage
func (*RepeatedM) GetMessages ¶
func (x *RepeatedM) GetMessages() []*TestMessage
func (*RepeatedM) GetSfixed32CustomEmpties ¶
func (*RepeatedM) GetSfixed32CustomNested ¶
func (*RepeatedM) GetSfixed32Customs ¶
func (*RepeatedM) GetSfixed32S ¶
func (*RepeatedM) GetSfixed64CustomEmpties ¶
func (*RepeatedM) GetSfixed64CustomNested ¶
func (*RepeatedM) GetSfixed64Customs ¶
func (*RepeatedM) GetSfixed64S ¶
func (*RepeatedM) GetSint32CustomEmpties ¶
func (*RepeatedM) GetSint32CustomNested ¶
func (*RepeatedM) GetSint32Customs ¶
func (*RepeatedM) GetSint32S ¶
func (*RepeatedM) GetSint64CustomEmpties ¶
func (*RepeatedM) GetSint64CustomNested ¶
func (*RepeatedM) GetSint64Customs ¶
func (*RepeatedM) GetSint64S ¶
func (*RepeatedM) GetStringCustomEmpties ¶
func (*RepeatedM) GetStringCustomNested ¶
func (*RepeatedM) GetStringCustoms ¶
func (*RepeatedM) GetStrings ¶
func (*RepeatedM) GetUint32CustomEmpties ¶
func (*RepeatedM) GetUint32CustomNested ¶
func (*RepeatedM) GetUint32Customs ¶
func (*RepeatedM) GetUint32S ¶
func (*RepeatedM) GetUint64CustomEmpties ¶
func (*RepeatedM) GetUint64CustomNested ¶
func (*RepeatedM) GetUint64Customs ¶
func (*RepeatedM) GetUint64S ¶
func (*RepeatedM) ProtoMessage ¶
func (*RepeatedM) ProtoMessage()
func (*RepeatedM) ProtoReflect ¶
func (x *RepeatedM) ProtoReflect() protoreflect.Message
type TestEnum ¶
type TestEnum int32
func (TestEnum) Descriptor ¶
func (TestEnum) Descriptor() protoreflect.EnumDescriptor
func (TestEnum) EnumDescriptor
deprecated
func (TestEnum) Number ¶
func (x TestEnum) Number() protoreflect.EnumNumber
func (TestEnum) Type ¶
func (TestEnum) Type() protoreflect.EnumType
type TestMessage ¶
type TestMessage struct { Float float32 `protobuf:"fixed32,1,opt,name=float,proto3" json:"float,omitempty"` FloatCustom float32 `protobuf:"fixed32,2,opt,name=float_custom,json=floatCustom,proto3" json:"float_custom,omitempty"` Double float64 `protobuf:"fixed64,3,opt,name=double,proto3" json:"double,omitempty"` DoubleCustom float64 `protobuf:"fixed64,4,opt,name=double_custom,json=doubleCustom,proto3" json:"double_custom,omitempty"` Int32 int32 `protobuf:"varint,5,opt,name=int32,proto3" json:"int32,omitempty"` Int32Custom int32 `protobuf:"varint,6,opt,name=int32_custom,json=int32Custom,proto3" json:"int32_custom,omitempty"` Int64 int64 `protobuf:"varint,7,opt,name=int64,proto3" json:"int64,omitempty"` Int64Custom int64 `protobuf:"varint,8,opt,name=int64_custom,json=int64Custom,proto3" json:"int64_custom,omitempty"` Uint32 uint32 `protobuf:"varint,9,opt,name=uint32,proto3" json:"uint32,omitempty"` Uint32Custom uint32 `protobuf:"varint,10,opt,name=uint32_custom,json=uint32Custom,proto3" json:"uint32_custom,omitempty"` Uint64 uint64 `protobuf:"varint,11,opt,name=uint64,proto3" json:"uint64,omitempty"` Uint64Custom uint64 `protobuf:"varint,12,opt,name=uint64_custom,json=uint64Custom,proto3" json:"uint64_custom,omitempty"` Sint32 int32 `protobuf:"zigzag32,13,opt,name=sint32,proto3" json:"sint32,omitempty"` Sint32Custom int32 `protobuf:"zigzag32,14,opt,name=sint32_custom,json=sint32Custom,proto3" json:"sint32_custom,omitempty"` Sint64 int64 `protobuf:"zigzag64,15,opt,name=sint64,proto3" json:"sint64,omitempty"` Sint64Custom int64 `protobuf:"zigzag64,16,opt,name=sint64_custom,json=sint64Custom,proto3" json:"sint64_custom,omitempty"` Fixed32 uint32 `protobuf:"fixed32,17,opt,name=fixed32,proto3" json:"fixed32,omitempty"` Fixed32Custom uint32 `protobuf:"fixed32,18,opt,name=fixed32_custom,json=fixed32Custom,proto3" json:"fixed32_custom,omitempty"` Fixed64 uint64 `protobuf:"fixed64,19,opt,name=fixed64,proto3" json:"fixed64,omitempty"` Fixed64Custom uint64 `protobuf:"fixed64,20,opt,name=fixed64_custom,json=fixed64Custom,proto3" json:"fixed64_custom,omitempty"` Sfixed32 int32 `protobuf:"fixed32,21,opt,name=sfixed32,proto3" json:"sfixed32,omitempty"` Sfixed32Custom int32 `protobuf:"fixed32,22,opt,name=sfixed32_custom,json=sfixed32Custom,proto3" json:"sfixed32_custom,omitempty"` Sfixed64 int64 `protobuf:"fixed64,23,opt,name=sfixed64,proto3" json:"sfixed64,omitempty"` Sfixed64Custom int64 `protobuf:"fixed64,24,opt,name=sfixed64_custom,json=sfixed64Custom,proto3" json:"sfixed64_custom,omitempty"` Bool bool `protobuf:"varint,25,opt,name=bool,proto3" json:"bool,omitempty"` BoolCustom bool `protobuf:"varint,26,opt,name=bool_custom,json=boolCustom,proto3" json:"bool_custom,omitempty"` String_ string `protobuf:"bytes,27,opt,name=string,proto3" json:"string,omitempty"` StringCustom string `protobuf:"bytes,28,opt,name=string_custom,json=stringCustom,proto3" json:"string_custom,omitempty"` Bytes []byte `protobuf:"bytes,29,opt,name=bytes,proto3" json:"bytes,omitempty"` BytesCustom []byte `protobuf:"bytes,30,opt,name=bytes_custom,json=bytesCustom,proto3" json:"bytes_custom,omitempty"` Enum TestEnum `protobuf:"varint,31,opt,name=enum,proto3,enum=tests.TestEnum" json:"enum,omitempty"` EnumCustom TestEnum `protobuf:"varint,32,opt,name=enum_custom,json=enumCustom,proto3,enum=tests.TestEnum" json:"enum_custom,omitempty"` Message *TestMessage `protobuf:"bytes,33,opt,name=message,proto3" json:"message,omitempty"` MessageNil *TestMessage `protobuf:"bytes,34,opt,name=message_nil,json=messageNil,proto3" json:"message_nil,omitempty"` MessageSkip *TestMessage `protobuf:"bytes,35,opt,name=message_skip,json=messageSkip,proto3" json:"message_skip,omitempty"` MessageEmpty *TestMessage `protobuf:"bytes,36,opt,name=message_empty,json=messageEmpty,proto3" json:"message_empty,omitempty"` Map1 map[int64]string `` /* 151-byte string literal not displayed */ Map2 map[string]*empty.Empty `` /* 150-byte string literal not displayed */ Map1Empty map[int64]string `` /* 178-byte string literal not displayed */ Map2Empty map[string]*empty.Empty `` /* 177-byte string literal not displayed */ Map1Nested map[int64]string `` /* 181-byte string literal not displayed */ Map2Nested map[string]*empty.Empty `` /* 180-byte string literal not displayed */ Map1Item map[int64]string `` /* 175-byte string literal not displayed */ Map2ItemNil map[string]*empty.Empty `` /* 185-byte string literal not displayed */ Map2ItemSkip map[string]*empty.Empty `` /* 188-byte string literal not displayed */ Map2ItemEmpty map[string]*empty.Empty `` /* 191-byte string literal not displayed */ // contains filtered or unexported fields }
func (*TestMessage) Descriptor
deprecated
func (*TestMessage) Descriptor() ([]byte, []int)
Deprecated: Use TestMessage.ProtoReflect.Descriptor instead.
func (*TestMessage) GetBool ¶
func (x *TestMessage) GetBool() bool
func (*TestMessage) GetBoolCustom ¶
func (x *TestMessage) GetBoolCustom() bool
func (*TestMessage) GetBytes ¶
func (x *TestMessage) GetBytes() []byte
func (*TestMessage) GetBytesCustom ¶
func (x *TestMessage) GetBytesCustom() []byte
func (*TestMessage) GetDouble ¶
func (x *TestMessage) GetDouble() float64
func (*TestMessage) GetDoubleCustom ¶
func (x *TestMessage) GetDoubleCustom() float64
func (*TestMessage) GetEnum ¶
func (x *TestMessage) GetEnum() TestEnum
func (*TestMessage) GetEnumCustom ¶
func (x *TestMessage) GetEnumCustom() TestEnum
func (*TestMessage) GetFixed32 ¶
func (x *TestMessage) GetFixed32() uint32
func (*TestMessage) GetFixed32Custom ¶
func (x *TestMessage) GetFixed32Custom() uint32
func (*TestMessage) GetFixed64 ¶
func (x *TestMessage) GetFixed64() uint64
func (*TestMessage) GetFixed64Custom ¶
func (x *TestMessage) GetFixed64Custom() uint64
func (*TestMessage) GetFloat ¶
func (x *TestMessage) GetFloat() float32
func (*TestMessage) GetFloatCustom ¶
func (x *TestMessage) GetFloatCustom() float32
func (*TestMessage) GetInt32 ¶
func (x *TestMessage) GetInt32() int32
func (*TestMessage) GetInt32Custom ¶
func (x *TestMessage) GetInt32Custom() int32
func (*TestMessage) GetInt64 ¶
func (x *TestMessage) GetInt64() int64
func (*TestMessage) GetInt64Custom ¶
func (x *TestMessage) GetInt64Custom() int64
func (*TestMessage) GetMap1 ¶
func (x *TestMessage) GetMap1() map[int64]string
func (*TestMessage) GetMap1Empty ¶
func (x *TestMessage) GetMap1Empty() map[int64]string
func (*TestMessage) GetMap1Item ¶
func (x *TestMessage) GetMap1Item() map[int64]string
func (*TestMessage) GetMap1Nested ¶
func (x *TestMessage) GetMap1Nested() map[int64]string
func (*TestMessage) GetMap2Empty ¶
func (x *TestMessage) GetMap2Empty() map[string]*empty.Empty
func (*TestMessage) GetMap2ItemEmpty ¶
func (x *TestMessage) GetMap2ItemEmpty() map[string]*empty.Empty
func (*TestMessage) GetMap2ItemNil ¶
func (x *TestMessage) GetMap2ItemNil() map[string]*empty.Empty
func (*TestMessage) GetMap2ItemSkip ¶
func (x *TestMessage) GetMap2ItemSkip() map[string]*empty.Empty
func (*TestMessage) GetMap2Nested ¶
func (x *TestMessage) GetMap2Nested() map[string]*empty.Empty
func (*TestMessage) GetMessage ¶
func (x *TestMessage) GetMessage() *TestMessage
func (*TestMessage) GetMessageEmpty ¶
func (x *TestMessage) GetMessageEmpty() *TestMessage
func (*TestMessage) GetMessageNil ¶
func (x *TestMessage) GetMessageNil() *TestMessage
func (*TestMessage) GetMessageSkip ¶
func (x *TestMessage) GetMessageSkip() *TestMessage
func (*TestMessage) GetSfixed32 ¶
func (x *TestMessage) GetSfixed32() int32
func (*TestMessage) GetSfixed32Custom ¶
func (x *TestMessage) GetSfixed32Custom() int32
func (*TestMessage) GetSfixed64 ¶
func (x *TestMessage) GetSfixed64() int64
func (*TestMessage) GetSfixed64Custom ¶
func (x *TestMessage) GetSfixed64Custom() int64
func (*TestMessage) GetSint32 ¶
func (x *TestMessage) GetSint32() int32
func (*TestMessage) GetSint32Custom ¶
func (x *TestMessage) GetSint32Custom() int32
func (*TestMessage) GetSint64 ¶
func (x *TestMessage) GetSint64() int64
func (*TestMessage) GetSint64Custom ¶
func (x *TestMessage) GetSint64Custom() int64
func (*TestMessage) GetStringCustom ¶
func (x *TestMessage) GetStringCustom() string
func (*TestMessage) GetString_ ¶
func (x *TestMessage) GetString_() string
func (*TestMessage) GetUint32 ¶
func (x *TestMessage) GetUint32() uint32
func (*TestMessage) GetUint32Custom ¶
func (x *TestMessage) GetUint32Custom() uint32
func (*TestMessage) GetUint64 ¶
func (x *TestMessage) GetUint64() uint64
func (*TestMessage) GetUint64Custom ¶
func (x *TestMessage) GetUint64Custom() uint64
func (*TestMessage) ProtoMessage ¶
func (*TestMessage) ProtoMessage()
func (*TestMessage) ProtoReflect ¶
func (x *TestMessage) ProtoReflect() protoreflect.Message
func (*TestMessage) Redact ¶
func (x *TestMessage) Redact()
Redact method implementation for TestMessage
func (*TestMessage) Reset ¶
func (x *TestMessage) Reset()
func (*TestMessage) String ¶
func (x *TestMessage) String() string
Click to show internal directories.
Click to hide internal directories.