Default values for TestAllTypes fields.
const (
Default_TestAllTypes_DefaultInt32 = int32(81)
Default_TestAllTypes_DefaultInt64 = int64(82)
Default_TestAllTypes_DefaultUint32 = uint32(83)
Default_TestAllTypes_DefaultUint64 = uint64(84)
Default_TestAllTypes_DefaultSint32 = int32(-85)
Default_TestAllTypes_DefaultSint64 = int64(86)
Default_TestAllTypes_DefaultFixed32 = uint32(87)
Default_TestAllTypes_DefaultFixed64 = uint64(88)
Default_TestAllTypes_DefaultSfixed32 = int32(89)
Default_TestAllTypes_DefaultSfixed64 = int64(-90)
Default_TestAllTypes_DefaultFloat = float32(91.5)
Default_TestAllTypes_DefaultDouble = float64(92000)
Default_TestAllTypes_DefaultBool = bool(true)
Default_TestAllTypes_DefaultString = string("hello")
Default_TestAllTypes_DefaultNestedEnum = TestAllTypes_BAR
Default_TestAllTypes_DefaultForeignEnum = ForeignEnum_FOREIGN_BAR
)
Default values for RemoteDefault fields.
const (
Default_RemoteDefault_Zero = enums.Enum(0) // enums.Enum_ZERO
Default_RemoteDefault_One = enums.Enum(1) // enums.Enum_ONE
Default_RemoteDefault_Elevent = enums.Enum(11) // enums.Enum_ELEVENT
Default_RemoteDefault_Seventeen = enums.Enum(17) // enums.Enum_SEVENTEEN
Default_RemoteDefault_Thirtyseven = enums.Enum(37) // enums.Enum_THIRTYSEVEN
Default_RemoteDefault_Sixtyseven = enums.Enum(67) // enums.Enum_SIXTYSEVEN
Default_RemoteDefault_Negative = enums.Enum(-1) // enums.Enum_NEGATIVE
)
Enum value maps for ForeignEnum.
var (
ForeignEnum_name = map[int32]string{
4: "FOREIGN_FOO",
5: "FOREIGN_BAR",
6: "FOREIGN_BAZ",
}
ForeignEnum_value = map[string]int32{
"FOREIGN_FOO": 4,
"FOREIGN_BAR": 5,
"FOREIGN_BAZ": 6,
}
)
Enum value maps for TestReservedEnumFields.
var (
TestReservedEnumFields_name = map[int32]string{
0: "RESERVED_ENUM",
}
TestReservedEnumFields_value = map[string]int32{
"RESERVED_ENUM": 0,
}
)
Enum value maps for TestAllTypes_NestedEnum.
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 TestDeprecatedMessage_DeprecatedEnum.
var (
TestDeprecatedMessage_DeprecatedEnum_name = map[int32]string{
0: "DEPRECATED",
}
TestDeprecatedMessage_DeprecatedEnum_value = map[string]int32{
"DEPRECATED": 0,
}
)
Extension fields to TestAllExtensions.
var (
// optional int32 optional_int32 = 1;
E_OptionalInt32 = &file_internal_testprotos_test_test_proto_extTypes[0]
// optional int64 optional_int64 = 2;
E_OptionalInt64 = &file_internal_testprotos_test_test_proto_extTypes[1]
// optional uint32 optional_uint32 = 3;
E_OptionalUint32 = &file_internal_testprotos_test_test_proto_extTypes[2]
// optional uint64 optional_uint64 = 4;
E_OptionalUint64 = &file_internal_testprotos_test_test_proto_extTypes[3]
// optional sint32 optional_sint32 = 5;
E_OptionalSint32 = &file_internal_testprotos_test_test_proto_extTypes[4]
// optional sint64 optional_sint64 = 6;
E_OptionalSint64 = &file_internal_testprotos_test_test_proto_extTypes[5]
// optional fixed32 optional_fixed32 = 7;
E_OptionalFixed32 = &file_internal_testprotos_test_test_proto_extTypes[6]
// optional fixed64 optional_fixed64 = 8;
E_OptionalFixed64 = &file_internal_testprotos_test_test_proto_extTypes[7]
// optional sfixed32 optional_sfixed32 = 9;
E_OptionalSfixed32 = &file_internal_testprotos_test_test_proto_extTypes[8]
// optional sfixed64 optional_sfixed64 = 10;
E_OptionalSfixed64 = &file_internal_testprotos_test_test_proto_extTypes[9]
// optional float optional_float = 11;
E_OptionalFloat = &file_internal_testprotos_test_test_proto_extTypes[10]
// optional double optional_double = 12;
E_OptionalDouble = &file_internal_testprotos_test_test_proto_extTypes[11]
// optional bool optional_bool = 13;
E_OptionalBool = &file_internal_testprotos_test_test_proto_extTypes[12]
// optional string optional_string = 14;
E_OptionalString = &file_internal_testprotos_test_test_proto_extTypes[13]
// optional bytes optional_bytes = 15;
E_OptionalBytes = &file_internal_testprotos_test_test_proto_extTypes[14]
// optional goproto.proto.test.OptionalGroup optionalgroup = 16;
E_Optionalgroup = &file_internal_testprotos_test_test_proto_extTypes[15]
// optional goproto.proto.test.TestAllExtensions.NestedMessage optional_nested_message = 18;
E_OptionalNestedMessage = &file_internal_testprotos_test_test_proto_extTypes[16]
// optional goproto.proto.test.TestAllTypes.NestedEnum optional_nested_enum = 21;
E_OptionalNestedEnum = &file_internal_testprotos_test_test_proto_extTypes[17]
// repeated int32 repeated_int32 = 31;
E_RepeatedInt32 = &file_internal_testprotos_test_test_proto_extTypes[18]
// repeated int64 repeated_int64 = 32;
E_RepeatedInt64 = &file_internal_testprotos_test_test_proto_extTypes[19]
// repeated uint32 repeated_uint32 = 33;
E_RepeatedUint32 = &file_internal_testprotos_test_test_proto_extTypes[20]
// repeated uint64 repeated_uint64 = 34;
E_RepeatedUint64 = &file_internal_testprotos_test_test_proto_extTypes[21]
// repeated sint32 repeated_sint32 = 35;
E_RepeatedSint32 = &file_internal_testprotos_test_test_proto_extTypes[22]
// repeated sint64 repeated_sint64 = 36;
E_RepeatedSint64 = &file_internal_testprotos_test_test_proto_extTypes[23]
// repeated fixed32 repeated_fixed32 = 37;
E_RepeatedFixed32 = &file_internal_testprotos_test_test_proto_extTypes[24]
// repeated fixed64 repeated_fixed64 = 38;
E_RepeatedFixed64 = &file_internal_testprotos_test_test_proto_extTypes[25]
// repeated sfixed32 repeated_sfixed32 = 39;
E_RepeatedSfixed32 = &file_internal_testprotos_test_test_proto_extTypes[26]
// repeated sfixed64 repeated_sfixed64 = 40;
E_RepeatedSfixed64 = &file_internal_testprotos_test_test_proto_extTypes[27]
// repeated float repeated_float = 41;
E_RepeatedFloat = &file_internal_testprotos_test_test_proto_extTypes[28]
// repeated double repeated_double = 42;
E_RepeatedDouble = &file_internal_testprotos_test_test_proto_extTypes[29]
// repeated bool repeated_bool = 43;
E_RepeatedBool = &file_internal_testprotos_test_test_proto_extTypes[30]
// repeated string repeated_string = 44;
E_RepeatedString = &file_internal_testprotos_test_test_proto_extTypes[31]
// repeated bytes repeated_bytes = 45;
E_RepeatedBytes = &file_internal_testprotos_test_test_proto_extTypes[32]
// repeated goproto.proto.test.RepeatedGroup repeatedgroup = 46;
E_Repeatedgroup = &file_internal_testprotos_test_test_proto_extTypes[33]
// repeated goproto.proto.test.TestAllExtensions.NestedMessage repeated_nested_message = 48;
E_RepeatedNestedMessage = &file_internal_testprotos_test_test_proto_extTypes[34]
// repeated goproto.proto.test.TestAllTypes.NestedEnum repeated_nested_enum = 51;
E_RepeatedNestedEnum = &file_internal_testprotos_test_test_proto_extTypes[35]
// optional int32 default_int32 = 81;
E_DefaultInt32 = &file_internal_testprotos_test_test_proto_extTypes[36]
// optional int64 default_int64 = 82;
E_DefaultInt64 = &file_internal_testprotos_test_test_proto_extTypes[37]
// optional uint32 default_uint32 = 83;
E_DefaultUint32 = &file_internal_testprotos_test_test_proto_extTypes[38]
// optional uint64 default_uint64 = 84;
E_DefaultUint64 = &file_internal_testprotos_test_test_proto_extTypes[39]
// optional sint32 default_sint32 = 85;
E_DefaultSint32 = &file_internal_testprotos_test_test_proto_extTypes[40]
// optional sint64 default_sint64 = 86;
E_DefaultSint64 = &file_internal_testprotos_test_test_proto_extTypes[41]
// optional fixed32 default_fixed32 = 87;
E_DefaultFixed32 = &file_internal_testprotos_test_test_proto_extTypes[42]
// optional fixed64 default_fixed64 = 88;
E_DefaultFixed64 = &file_internal_testprotos_test_test_proto_extTypes[43]
// optional sfixed32 default_sfixed32 = 89;
E_DefaultSfixed32 = &file_internal_testprotos_test_test_proto_extTypes[44]
// optional sfixed64 default_sfixed64 = 80;
E_DefaultSfixed64 = &file_internal_testprotos_test_test_proto_extTypes[45]
// optional float default_float = 91;
E_DefaultFloat = &file_internal_testprotos_test_test_proto_extTypes[46]
// optional double default_double = 92;
E_DefaultDouble = &file_internal_testprotos_test_test_proto_extTypes[47]
// optional bool default_bool = 93;
E_DefaultBool = &file_internal_testprotos_test_test_proto_extTypes[48]
// optional string default_string = 94;
E_DefaultString = &file_internal_testprotos_test_test_proto_extTypes[49]
// optional bytes default_bytes = 95;
E_DefaultBytes = &file_internal_testprotos_test_test_proto_extTypes[50]
// optional string nested_string_extension = 1003;
E_TestNestedExtension_NestedStringExtension = &file_internal_testprotos_test_test_proto_extTypes[79]
// optional goproto.proto.test.TestRequired single = 1000;
E_TestRequired_Single = &file_internal_testprotos_test_test_proto_extTypes[80]
// repeated goproto.proto.test.TestRequired multi = 1001;
E_TestRequired_Multi = &file_internal_testprotos_test_test_proto_extTypes[81]
)
Extension fields to TestPackedExtensions.
var (
// repeated int32 packed_int32 = 90;
E_PackedInt32 = &file_internal_testprotos_test_test_proto_extTypes[51]
// repeated int64 packed_int64 = 91;
E_PackedInt64 = &file_internal_testprotos_test_test_proto_extTypes[52]
// repeated uint32 packed_uint32 = 92;
E_PackedUint32 = &file_internal_testprotos_test_test_proto_extTypes[53]
// repeated uint64 packed_uint64 = 93;
E_PackedUint64 = &file_internal_testprotos_test_test_proto_extTypes[54]
// repeated sint32 packed_sint32 = 94;
E_PackedSint32 = &file_internal_testprotos_test_test_proto_extTypes[55]
// repeated sint64 packed_sint64 = 95;
E_PackedSint64 = &file_internal_testprotos_test_test_proto_extTypes[56]
// repeated fixed32 packed_fixed32 = 96;
E_PackedFixed32 = &file_internal_testprotos_test_test_proto_extTypes[57]
// repeated fixed64 packed_fixed64 = 97;
E_PackedFixed64 = &file_internal_testprotos_test_test_proto_extTypes[58]
// repeated sfixed32 packed_sfixed32 = 98;
E_PackedSfixed32 = &file_internal_testprotos_test_test_proto_extTypes[59]
// repeated sfixed64 packed_sfixed64 = 99;
E_PackedSfixed64 = &file_internal_testprotos_test_test_proto_extTypes[60]
// repeated float packed_float = 100;
E_PackedFloat = &file_internal_testprotos_test_test_proto_extTypes[61]
// repeated double packed_double = 101;
E_PackedDouble = &file_internal_testprotos_test_test_proto_extTypes[62]
// repeated bool packed_bool = 102;
E_PackedBool = &file_internal_testprotos_test_test_proto_extTypes[63]
// repeated goproto.proto.test.ForeignEnum packed_enum = 103;
E_PackedEnum = &file_internal_testprotos_test_test_proto_extTypes[64]
)
Extension fields to TestUnpackedExtensions.
var (
// repeated int32 unpacked_int32 = 90;
E_UnpackedInt32 = &file_internal_testprotos_test_test_proto_extTypes[65]
// repeated int64 unpacked_int64 = 91;
E_UnpackedInt64 = &file_internal_testprotos_test_test_proto_extTypes[66]
// repeated uint32 unpacked_uint32 = 92;
E_UnpackedUint32 = &file_internal_testprotos_test_test_proto_extTypes[67]
// repeated uint64 unpacked_uint64 = 93;
E_UnpackedUint64 = &file_internal_testprotos_test_test_proto_extTypes[68]
// repeated sint32 unpacked_sint32 = 94;
E_UnpackedSint32 = &file_internal_testprotos_test_test_proto_extTypes[69]
// repeated sint64 unpacked_sint64 = 95;
E_UnpackedSint64 = &file_internal_testprotos_test_test_proto_extTypes[70]
// repeated fixed32 unpacked_fixed32 = 96;
E_UnpackedFixed32 = &file_internal_testprotos_test_test_proto_extTypes[71]
// repeated fixed64 unpacked_fixed64 = 97;
E_UnpackedFixed64 = &file_internal_testprotos_test_test_proto_extTypes[72]
// repeated sfixed32 unpacked_sfixed32 = 98;
E_UnpackedSfixed32 = &file_internal_testprotos_test_test_proto_extTypes[73]
// repeated sfixed64 unpacked_sfixed64 = 99;
E_UnpackedSfixed64 = &file_internal_testprotos_test_test_proto_extTypes[74]
// repeated float unpacked_float = 100;
E_UnpackedFloat = &file_internal_testprotos_test_test_proto_extTypes[75]
// repeated double unpacked_double = 101;
E_UnpackedDouble = &file_internal_testprotos_test_test_proto_extTypes[76]
// repeated bool unpacked_bool = 102;
E_UnpackedBool = &file_internal_testprotos_test_test_proto_extTypes[77]
// repeated goproto.proto.test.ForeignEnum unpacked_enum = 103;
E_UnpackedEnum = &file_internal_testprotos_test_test_proto_extTypes[78]
)
Enum value maps for ImportEnum.
var (
ImportEnum_name = map[int32]string{
0: "IMPORT_ZERO",
}
ImportEnum_value = map[string]int32{
"IMPORT_ZERO": 0,
}
)
Default values for TestAllTypes fields.
var (
Default_TestAllTypes_DefaultBytes = []byte("world")
)
Default values for WeirdDefault fields.
var (
Default_WeirdDefault_WeirdDefault = []byte("hello, \"world!\"\ndeadޭ\xbe\xefbeef`")
)
Extension fields to TestAllExtensions.
var (
// optional int32 foreign_int32_extension = 2000;
E_ForeignInt32Extension = &file_internal_testprotos_test_ext_proto_extTypes[0]
)
var File_internal_testprotos_test_ext_proto protoreflect.FileDescriptor
var File_internal_testprotos_test_test_import_proto protoreflect.FileDescriptor
var File_internal_testprotos_test_test_proto protoreflect.FileDescriptor
var File_internal_testprotos_test_test_public_proto protoreflect.FileDescriptor
Test that RPC services work.
type FooRequest struct {
// contains filtered or unexported fields
}
func (*FooRequest) Descriptor() ([]byte, []int)
Deprecated: Use FooRequest.ProtoReflect.Descriptor instead.
func (*FooRequest) ProtoMessage()
func (x *FooRequest) ProtoReflect() protoreflect.Message
func (x *FooRequest) Reset()
func (x *FooRequest) String() string
type FooResponse struct {
// contains filtered or unexported fields
}
func (*FooResponse) Descriptor() ([]byte, []int)
Deprecated: Use FooResponse.ProtoReflect.Descriptor instead.
func (*FooResponse) ProtoMessage()
func (x *FooResponse) ProtoReflect() protoreflect.Message
func (x *FooResponse) Reset()
func (x *FooResponse) String() string
type ForeignEnum int32
const (
ForeignEnum_FOREIGN_FOO ForeignEnum = 4
ForeignEnum_FOREIGN_BAR ForeignEnum = 5
ForeignEnum_FOREIGN_BAZ ForeignEnum = 6
)
func (ForeignEnum) Descriptor() protoreflect.EnumDescriptor
func (x ForeignEnum) Enum() *ForeignEnum
func (ForeignEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ForeignEnum.Descriptor instead.
func (x ForeignEnum) Number() protoreflect.EnumNumber
func (x ForeignEnum) String() string
func (ForeignEnum) Type() protoreflect.EnumType
func (x *ForeignEnum) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type ForeignMessage struct {
C *int32 `protobuf:"varint,1,opt,name=c" json:"c,omitempty"`
D *int32 `protobuf:"varint,2,opt,name=d" json:"d,omitempty"`
// contains filtered or unexported fields
}
func (*ForeignMessage) Descriptor() ([]byte, []int)
Deprecated: Use ForeignMessage.ProtoReflect.Descriptor instead.
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 ImportEnum int32
const (
ImportEnum_IMPORT_ZERO ImportEnum = 0
)
func (ImportEnum) Descriptor() protoreflect.EnumDescriptor
func (x ImportEnum) Enum() *ImportEnum
func (ImportEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ImportEnum.Descriptor instead.
func (x ImportEnum) Number() protoreflect.EnumNumber
func (x ImportEnum) String() string
func (ImportEnum) Type() protoreflect.EnumType
func (x *ImportEnum) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type ImportMessage struct {
// contains filtered or unexported fields
}
func (*ImportMessage) Descriptor() ([]byte, []int)
Deprecated: Use ImportMessage.ProtoReflect.Descriptor instead.
func (*ImportMessage) ProtoMessage()
func (x *ImportMessage) ProtoReflect() protoreflect.Message
func (x *ImportMessage) Reset()
func (x *ImportMessage) String() string
type OptionalGroup struct {
A *int32 `protobuf:"varint,17,opt,name=a" json:"a,omitempty"`
SameFieldNumber *int32 `protobuf:"varint,16,opt,name=same_field_number,json=sameFieldNumber" json:"same_field_number,omitempty"`
OptionalNestedMessage *TestAllExtensions_NestedMessage `protobuf:"bytes,1000,opt,name=optional_nested_message,json=optionalNestedMessage" json:"optional_nested_message,omitempty"`
// contains filtered or unexported fields
}
func (*OptionalGroup) Descriptor() ([]byte, []int)
Deprecated: Use OptionalGroup.ProtoReflect.Descriptor instead.
func (x *OptionalGroup) GetA() int32
func (x *OptionalGroup) GetOptionalNestedMessage() *TestAllExtensions_NestedMessage
func (x *OptionalGroup) GetSameFieldNumber() int32
func (*OptionalGroup) ProtoMessage()
func (x *OptionalGroup) ProtoReflect() protoreflect.Message
func (x *OptionalGroup) Reset()
func (x *OptionalGroup) String() string
type PublicImportMessage struct {
// contains filtered or unexported fields
}
func (*PublicImportMessage) Descriptor() ([]byte, []int)
Deprecated: Use PublicImportMessage.ProtoReflect.Descriptor instead.
func (*PublicImportMessage) ProtoMessage()
func (x *PublicImportMessage) ProtoReflect() protoreflect.Message
func (x *PublicImportMessage) Reset()
func (x *PublicImportMessage) String() string
type RemoteDefault struct {
Default *enums.Enum `protobuf:"varint,1,opt,name=default,enum=goproto.proto.enums.Enum" json:"default,omitempty"`
Zero *enums.Enum `protobuf:"varint,2,opt,name=zero,enum=goproto.proto.enums.Enum,def=0" json:"zero,omitempty"`
One *enums.Enum `protobuf:"varint,3,opt,name=one,enum=goproto.proto.enums.Enum,def=1" json:"one,omitempty"`
Elevent *enums.Enum `protobuf:"varint,4,opt,name=elevent,enum=goproto.proto.enums.Enum,def=11" json:"elevent,omitempty"`
Seventeen *enums.Enum `protobuf:"varint,5,opt,name=seventeen,enum=goproto.proto.enums.Enum,def=17" json:"seventeen,omitempty"`
Thirtyseven *enums.Enum `protobuf:"varint,6,opt,name=thirtyseven,enum=goproto.proto.enums.Enum,def=37" json:"thirtyseven,omitempty"`
Sixtyseven *enums.Enum `protobuf:"varint,7,opt,name=sixtyseven,enum=goproto.proto.enums.Enum,def=67" json:"sixtyseven,omitempty"`
Negative *enums.Enum `protobuf:"varint,8,opt,name=negative,enum=goproto.proto.enums.Enum,def=-1" json:"negative,omitempty"`
// contains filtered or unexported fields
}
func (*RemoteDefault) Descriptor() ([]byte, []int)
Deprecated: Use RemoteDefault.ProtoReflect.Descriptor instead.
func (x *RemoteDefault) GetDefault() enums.Enum
func (x *RemoteDefault) GetElevent() enums.Enum
func (x *RemoteDefault) GetNegative() enums.Enum
func (x *RemoteDefault) GetOne() enums.Enum
func (x *RemoteDefault) GetSeventeen() enums.Enum
func (x *RemoteDefault) GetSixtyseven() enums.Enum
func (x *RemoteDefault) GetThirtyseven() enums.Enum
func (x *RemoteDefault) GetZero() enums.Enum
func (*RemoteDefault) ProtoMessage()
func (x *RemoteDefault) ProtoReflect() protoreflect.Message
func (x *RemoteDefault) Reset()
func (x *RemoteDefault) String() string
type RepeatedGroup struct {
A *int32 `protobuf:"varint,47,opt,name=a" json:"a,omitempty"`
OptionalNestedMessage *TestAllExtensions_NestedMessage `protobuf:"bytes,1001,opt,name=optional_nested_message,json=optionalNestedMessage" json:"optional_nested_message,omitempty"`
// contains filtered or unexported fields
}
func (*RepeatedGroup) Descriptor() ([]byte, []int)
Deprecated: Use RepeatedGroup.ProtoReflect.Descriptor instead.
func (x *RepeatedGroup) GetA() int32
func (x *RepeatedGroup) GetOptionalNestedMessage() *TestAllExtensions_NestedMessage
func (*RepeatedGroup) ProtoMessage()
func (x *RepeatedGroup) ProtoReflect() protoreflect.Message
func (x *RepeatedGroup) Reset()
func (x *RepeatedGroup) String() string
type TestAllExtensions struct {
// contains filtered or unexported fields
}
func (*TestAllExtensions) Descriptor() ([]byte, []int)
Deprecated: Use TestAllExtensions.ProtoReflect.Descriptor instead.
func (*TestAllExtensions) ProtoMessage()
func (x *TestAllExtensions) ProtoReflect() protoreflect.Message
func (x *TestAllExtensions) Reset()
func (x *TestAllExtensions) String() string
type TestAllExtensions_NestedMessage struct {
A *int32 `protobuf:"varint,1,opt,name=a" json:"a,omitempty"`
Corecursive *TestAllExtensions `protobuf:"bytes,2,opt,name=corecursive" json:"corecursive,omitempty"`
// contains filtered or unexported fields
}
func (*TestAllExtensions_NestedMessage) Descriptor() ([]byte, []int)
Deprecated: Use TestAllExtensions_NestedMessage.ProtoReflect.Descriptor instead.
func (x *TestAllExtensions_NestedMessage) GetA() int32
func (x *TestAllExtensions_NestedMessage) GetCorecursive() *TestAllExtensions
func (*TestAllExtensions_NestedMessage) ProtoMessage()
func (x *TestAllExtensions_NestedMessage) ProtoReflect() protoreflect.Message
func (x *TestAllExtensions_NestedMessage) Reset()
func (x *TestAllExtensions_NestedMessage) String() string
type TestAllTypes struct {
OptionalInt32 *int32 `protobuf:"varint,1,opt,name=optional_int32,json=optionalInt32" json:"optional_int32,omitempty"`
OptionalInt64 *int64 `protobuf:"varint,2,opt,name=optional_int64,json=optionalInt64" json:"optional_int64,omitempty"`
OptionalUint32 *uint32 `protobuf:"varint,3,opt,name=optional_uint32,json=optionalUint32" json:"optional_uint32,omitempty"`
OptionalUint64 *uint64 `protobuf:"varint,4,opt,name=optional_uint64,json=optionalUint64" json:"optional_uint64,omitempty"`
OptionalSint32 *int32 `protobuf:"zigzag32,5,opt,name=optional_sint32,json=optionalSint32" json:"optional_sint32,omitempty"`
OptionalSint64 *int64 `protobuf:"zigzag64,6,opt,name=optional_sint64,json=optionalSint64" json:"optional_sint64,omitempty"`
OptionalFixed32 *uint32 `protobuf:"fixed32,7,opt,name=optional_fixed32,json=optionalFixed32" json:"optional_fixed32,omitempty"`
OptionalFixed64 *uint64 `protobuf:"fixed64,8,opt,name=optional_fixed64,json=optionalFixed64" json:"optional_fixed64,omitempty"`
OptionalSfixed32 *int32 `protobuf:"fixed32,9,opt,name=optional_sfixed32,json=optionalSfixed32" json:"optional_sfixed32,omitempty"`
OptionalSfixed64 *int64 `protobuf:"fixed64,10,opt,name=optional_sfixed64,json=optionalSfixed64" json:"optional_sfixed64,omitempty"`
OptionalFloat *float32 `protobuf:"fixed32,11,opt,name=optional_float,json=optionalFloat" json:"optional_float,omitempty"`
OptionalDouble *float64 `protobuf:"fixed64,12,opt,name=optional_double,json=optionalDouble" json:"optional_double,omitempty"`
OptionalBool *bool `protobuf:"varint,13,opt,name=optional_bool,json=optionalBool" json:"optional_bool,omitempty"`
OptionalString *string `protobuf:"bytes,14,opt,name=optional_string,json=optionalString" json:"optional_string,omitempty"`
OptionalBytes []byte `protobuf:"bytes,15,opt,name=optional_bytes,json=optionalBytes" json:"optional_bytes,omitempty"`
Optionalgroup *TestAllTypes_OptionalGroup `protobuf:"group,16,opt,name=OptionalGroup,json=optionalgroup" json:"optionalgroup,omitempty"`
OptionalNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,18,opt,name=optional_nested_message,json=optionalNestedMessage" json:"optional_nested_message,omitempty"`
OptionalForeignMessage *ForeignMessage `protobuf:"bytes,19,opt,name=optional_foreign_message,json=optionalForeignMessage" json:"optional_foreign_message,omitempty"`
OptionalImportMessage *ImportMessage `protobuf:"bytes,20,opt,name=optional_import_message,json=optionalImportMessage" json:"optional_import_message,omitempty"`
OptionalNestedEnum *TestAllTypes_NestedEnum `protobuf:"varint,21,opt,name=optional_nested_enum,json=optionalNestedEnum,enum=goproto.proto.test.TestAllTypes_NestedEnum" json:"optional_nested_enum,omitempty"`
OptionalForeignEnum *ForeignEnum `protobuf:"varint,22,opt,name=optional_foreign_enum,json=optionalForeignEnum,enum=goproto.proto.test.ForeignEnum" json:"optional_foreign_enum,omitempty"`
OptionalImportEnum *ImportEnum `protobuf:"varint,23,opt,name=optional_import_enum,json=optionalImportEnum,enum=goproto.proto.test.ImportEnum" json:"optional_import_enum,omitempty"`
RepeatedInt32 []int32 `protobuf:"varint,31,rep,name=repeated_int32,json=repeatedInt32" json:"repeated_int32,omitempty"`
RepeatedInt64 []int64 `protobuf:"varint,32,rep,name=repeated_int64,json=repeatedInt64" json:"repeated_int64,omitempty"`
RepeatedUint32 []uint32 `protobuf:"varint,33,rep,name=repeated_uint32,json=repeatedUint32" json:"repeated_uint32,omitempty"`
RepeatedUint64 []uint64 `protobuf:"varint,34,rep,name=repeated_uint64,json=repeatedUint64" json:"repeated_uint64,omitempty"`
RepeatedSint32 []int32 `protobuf:"zigzag32,35,rep,name=repeated_sint32,json=repeatedSint32" json:"repeated_sint32,omitempty"`
RepeatedSint64 []int64 `protobuf:"zigzag64,36,rep,name=repeated_sint64,json=repeatedSint64" json:"repeated_sint64,omitempty"`
RepeatedFixed32 []uint32 `protobuf:"fixed32,37,rep,name=repeated_fixed32,json=repeatedFixed32" json:"repeated_fixed32,omitempty"`
RepeatedFixed64 []uint64 `protobuf:"fixed64,38,rep,name=repeated_fixed64,json=repeatedFixed64" json:"repeated_fixed64,omitempty"`
RepeatedSfixed32 []int32 `protobuf:"fixed32,39,rep,name=repeated_sfixed32,json=repeatedSfixed32" json:"repeated_sfixed32,omitempty"`
RepeatedSfixed64 []int64 `protobuf:"fixed64,40,rep,name=repeated_sfixed64,json=repeatedSfixed64" json:"repeated_sfixed64,omitempty"`
RepeatedFloat []float32 `protobuf:"fixed32,41,rep,name=repeated_float,json=repeatedFloat" json:"repeated_float,omitempty"`
RepeatedDouble []float64 `protobuf:"fixed64,42,rep,name=repeated_double,json=repeatedDouble" json:"repeated_double,omitempty"`
RepeatedBool []bool `protobuf:"varint,43,rep,name=repeated_bool,json=repeatedBool" json:"repeated_bool,omitempty"`
RepeatedString []string `protobuf:"bytes,44,rep,name=repeated_string,json=repeatedString" json:"repeated_string,omitempty"`
RepeatedBytes [][]byte `protobuf:"bytes,45,rep,name=repeated_bytes,json=repeatedBytes" json:"repeated_bytes,omitempty"`
Repeatedgroup []*TestAllTypes_RepeatedGroup `protobuf:"group,46,rep,name=RepeatedGroup,json=repeatedgroup" json:"repeatedgroup,omitempty"`
RepeatedNestedMessage []*TestAllTypes_NestedMessage `protobuf:"bytes,48,rep,name=repeated_nested_message,json=repeatedNestedMessage" json:"repeated_nested_message,omitempty"`
RepeatedForeignMessage []*ForeignMessage `protobuf:"bytes,49,rep,name=repeated_foreign_message,json=repeatedForeignMessage" json:"repeated_foreign_message,omitempty"`
RepeatedImportmessage []*ImportMessage `protobuf:"bytes,50,rep,name=repeated_importmessage,json=repeatedImportmessage" json:"repeated_importmessage,omitempty"`
RepeatedNestedEnum []TestAllTypes_NestedEnum `protobuf:"varint,51,rep,name=repeated_nested_enum,json=repeatedNestedEnum,enum=goproto.proto.test.TestAllTypes_NestedEnum" json:"repeated_nested_enum,omitempty"`
RepeatedForeignEnum []ForeignEnum `protobuf:"varint,52,rep,name=repeated_foreign_enum,json=repeatedForeignEnum,enum=goproto.proto.test.ForeignEnum" json:"repeated_foreign_enum,omitempty"`
RepeatedImportenum []ImportEnum `protobuf:"varint,53,rep,name=repeated_importenum,json=repeatedImportenum,enum=goproto.proto.test.ImportEnum" json:"repeated_importenum,omitempty"`
MapInt32Int32 map[int32]int32 `protobuf:"bytes,56,rep,name=map_int32_int32,json=mapInt32Int32" json:"map_int32_int32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
MapInt64Int64 map[int64]int64 `protobuf:"bytes,57,rep,name=map_int64_int64,json=mapInt64Int64" json:"map_int64_int64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
MapUint32Uint32 map[uint32]uint32 `protobuf:"bytes,58,rep,name=map_uint32_uint32,json=mapUint32Uint32" json:"map_uint32_uint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
MapUint64Uint64 map[uint64]uint64 `protobuf:"bytes,59,rep,name=map_uint64_uint64,json=mapUint64Uint64" json:"map_uint64_uint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
MapSint32Sint32 map[int32]int32 `protobuf:"bytes,60,rep,name=map_sint32_sint32,json=mapSint32Sint32" json:"map_sint32_sint32,omitempty" protobuf_key:"zigzag32,1,opt,name=key" protobuf_val:"zigzag32,2,opt,name=value"`
MapSint64Sint64 map[int64]int64 `protobuf:"bytes,61,rep,name=map_sint64_sint64,json=mapSint64Sint64" json:"map_sint64_sint64,omitempty" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"zigzag64,2,opt,name=value"`
MapFixed32Fixed32 map[uint32]uint32 `protobuf:"bytes,62,rep,name=map_fixed32_fixed32,json=mapFixed32Fixed32" json:"map_fixed32_fixed32,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
MapFixed64Fixed64 map[uint64]uint64 `protobuf:"bytes,63,rep,name=map_fixed64_fixed64,json=mapFixed64Fixed64" json:"map_fixed64_fixed64,omitempty" protobuf_key:"fixed64,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
MapSfixed32Sfixed32 map[int32]int32 `protobuf:"bytes,64,rep,name=map_sfixed32_sfixed32,json=mapSfixed32Sfixed32" json:"map_sfixed32_sfixed32,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
MapSfixed64Sfixed64 map[int64]int64 `protobuf:"bytes,65,rep,name=map_sfixed64_sfixed64,json=mapSfixed64Sfixed64" json:"map_sfixed64_sfixed64,omitempty" protobuf_key:"fixed64,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
MapInt32Float map[int32]float32 `protobuf:"bytes,66,rep,name=map_int32_float,json=mapInt32Float" json:"map_int32_float,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
MapInt32Double map[int32]float64 `protobuf:"bytes,67,rep,name=map_int32_double,json=mapInt32Double" json:"map_int32_double,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
MapBoolBool map[bool]bool `protobuf:"bytes,68,rep,name=map_bool_bool,json=mapBoolBool" json:"map_bool_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
MapStringString map[string]string `protobuf:"bytes,69,rep,name=map_string_string,json=mapStringString" json:"map_string_string,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
MapStringBytes map[string][]byte `protobuf:"bytes,70,rep,name=map_string_bytes,json=mapStringBytes" json:"map_string_bytes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
MapStringNestedMessage map[string]*TestAllTypes_NestedMessage `protobuf:"bytes,71,rep,name=map_string_nested_message,json=mapStringNestedMessage" json:"map_string_nested_message,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
MapStringNestedEnum map[string]TestAllTypes_NestedEnum `protobuf:"bytes,73,rep,name=map_string_nested_enum,json=mapStringNestedEnum" json:"map_string_nested_enum,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=goproto.proto.test.TestAllTypes_NestedEnum"`
// Singular with defaults
DefaultInt32 *int32 `protobuf:"varint,81,opt,name=default_int32,json=defaultInt32,def=81" json:"default_int32,omitempty"`
DefaultInt64 *int64 `protobuf:"varint,82,opt,name=default_int64,json=defaultInt64,def=82" json:"default_int64,omitempty"`
DefaultUint32 *uint32 `protobuf:"varint,83,opt,name=default_uint32,json=defaultUint32,def=83" json:"default_uint32,omitempty"`
DefaultUint64 *uint64 `protobuf:"varint,84,opt,name=default_uint64,json=defaultUint64,def=84" json:"default_uint64,omitempty"`
DefaultSint32 *int32 `protobuf:"zigzag32,85,opt,name=default_sint32,json=defaultSint32,def=-85" json:"default_sint32,omitempty"`
DefaultSint64 *int64 `protobuf:"zigzag64,86,opt,name=default_sint64,json=defaultSint64,def=86" json:"default_sint64,omitempty"`
DefaultFixed32 *uint32 `protobuf:"fixed32,87,opt,name=default_fixed32,json=defaultFixed32,def=87" json:"default_fixed32,omitempty"`
DefaultFixed64 *uint64 `protobuf:"fixed64,88,opt,name=default_fixed64,json=defaultFixed64,def=88" json:"default_fixed64,omitempty"`
DefaultSfixed32 *int32 `protobuf:"fixed32,89,opt,name=default_sfixed32,json=defaultSfixed32,def=89" json:"default_sfixed32,omitempty"`
DefaultSfixed64 *int64 `protobuf:"fixed64,80,opt,name=default_sfixed64,json=defaultSfixed64,def=-90" json:"default_sfixed64,omitempty"`
DefaultFloat *float32 `protobuf:"fixed32,91,opt,name=default_float,json=defaultFloat,def=91.5" json:"default_float,omitempty"`
DefaultDouble *float64 `protobuf:"fixed64,92,opt,name=default_double,json=defaultDouble,def=92000" json:"default_double,omitempty"`
DefaultBool *bool `protobuf:"varint,93,opt,name=default_bool,json=defaultBool,def=1" json:"default_bool,omitempty"`
DefaultString *string `protobuf:"bytes,94,opt,name=default_string,json=defaultString,def=hello" json:"default_string,omitempty"`
DefaultBytes []byte `protobuf:"bytes,95,opt,name=default_bytes,json=defaultBytes,def=world" json:"default_bytes,omitempty"`
DefaultNestedEnum *TestAllTypes_NestedEnum `protobuf:"varint,96,opt,name=default_nested_enum,json=defaultNestedEnum,enum=goproto.proto.test.TestAllTypes_NestedEnum,def=1" json:"default_nested_enum,omitempty"`
DefaultForeignEnum *ForeignEnum `protobuf:"varint,97,opt,name=default_foreign_enum,json=defaultForeignEnum,enum=goproto.proto.test.ForeignEnum,def=5" json:"default_foreign_enum,omitempty"`
// Types that are assignable to OneofField:
//
// *TestAllTypes_OneofUint32
// *TestAllTypes_OneofNestedMessage
// *TestAllTypes_OneofString
// *TestAllTypes_OneofBytes
// *TestAllTypes_OneofBool
// *TestAllTypes_OneofUint64
// *TestAllTypes_OneofFloat
// *TestAllTypes_OneofDouble
// *TestAllTypes_OneofEnum
// *TestAllTypes_Oneofgroup
OneofField isTestAllTypes_OneofField `protobuf_oneof:"oneof_field"`
// A oneof with exactly one field.
//
// Types that are assignable to OneofOptional:
//
// *TestAllTypes_OneofOptionalUint32
OneofOptional isTestAllTypes_OneofOptional `protobuf_oneof:"oneof_optional"`
// contains filtered or unexported fields
}
func (*TestAllTypes) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypes.ProtoReflect.Descriptor instead.
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) GetDefaultInt32() int32
func (x *TestAllTypes) GetDefaultInt64() int64
func (x *TestAllTypes) GetDefaultNestedEnum() TestAllTypes_NestedEnum
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) 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) GetMapStringNestedEnum() map[string]TestAllTypes_NestedEnum
func (x *TestAllTypes) GetMapStringNestedMessage() map[string]*TestAllTypes_NestedMessage
func (x *TestAllTypes) GetMapStringString() map[string]string
func (x *TestAllTypes) GetMapUint32Uint32() map[uint32]uint32
func (x *TestAllTypes) GetMapUint64Uint64() map[uint64]uint64
func (x *TestAllTypes) GetOneofBool() bool
func (x *TestAllTypes) GetOneofBytes() []byte
func (x *TestAllTypes) GetOneofDouble() float64
func (x *TestAllTypes) GetOneofEnum() TestAllTypes_NestedEnum
func (m *TestAllTypes) GetOneofField() isTestAllTypes_OneofField
func (x *TestAllTypes) GetOneofFloat() float32
func (x *TestAllTypes) GetOneofNestedMessage() *TestAllTypes_NestedMessage
func (m *TestAllTypes) GetOneofOptional() isTestAllTypes_OneofOptional
func (x *TestAllTypes) GetOneofOptionalUint32() uint32
func (x *TestAllTypes) GetOneofString() string
func (x *TestAllTypes) GetOneofUint32() uint32
func (x *TestAllTypes) GetOneofUint64() uint64
func (x *TestAllTypes) GetOneofgroup() *TestAllTypes_OneofGroup
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) GetOptionalForeignEnum() ForeignEnum
func (x *TestAllTypes) GetOptionalForeignMessage() *ForeignMessage
func (x *TestAllTypes) GetOptionalImportEnum() ImportEnum
func (x *TestAllTypes) GetOptionalImportMessage() *ImportMessage
func (x *TestAllTypes) GetOptionalInt32() int32
func (x *TestAllTypes) GetOptionalInt64() int64
func (x *TestAllTypes) GetOptionalNestedEnum() TestAllTypes_NestedEnum
func (x *TestAllTypes) GetOptionalNestedMessage() *TestAllTypes_NestedMessage
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) GetOptionalgroup() *TestAllTypes_OptionalGroup
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) GetRepeatedImportenum() []ImportEnum
func (x *TestAllTypes) GetRepeatedImportmessage() []*ImportMessage
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) GetRepeatedgroup() []*TestAllTypes_RepeatedGroup
func (*TestAllTypes) ProtoMessage()
func (x *TestAllTypes) ProtoReflect() protoreflect.Message
func (x *TestAllTypes) Reset()
func (x *TestAllTypes) String() string
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() protoreflect.EnumDescriptor
func (x TestAllTypes_NestedEnum) Enum() *TestAllTypes_NestedEnum
func (TestAllTypes_NestedEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use TestAllTypes_NestedEnum.Descriptor instead.
func (x TestAllTypes_NestedEnum) Number() protoreflect.EnumNumber
func (x TestAllTypes_NestedEnum) String() string
func (TestAllTypes_NestedEnum) Type() protoreflect.EnumType
func (x *TestAllTypes_NestedEnum) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type TestAllTypes_NestedMessage struct {
A *int32 `protobuf:"varint,1,opt,name=a" json:"a,omitempty"`
Corecursive *TestAllTypes `protobuf:"bytes,2,opt,name=corecursive" json:"corecursive,omitempty"`
// contains filtered or unexported fields
}
func (*TestAllTypes_NestedMessage) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypes_NestedMessage.ProtoReflect.Descriptor instead.
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_OneofBool struct {
OneofBool bool `protobuf:"varint,115,opt,name=oneof_bool,json=oneofBool,oneof"`
}
type TestAllTypes_OneofBytes struct {
OneofBytes []byte `protobuf:"bytes,114,opt,name=oneof_bytes,json=oneofBytes,oneof"`
}
type TestAllTypes_OneofDouble struct {
OneofDouble float64 `protobuf:"fixed64,118,opt,name=oneof_double,json=oneofDouble,oneof"`
}
type TestAllTypes_OneofEnum struct {
OneofEnum TestAllTypes_NestedEnum `protobuf:"varint,119,opt,name=oneof_enum,json=oneofEnum,enum=goproto.proto.test.TestAllTypes_NestedEnum,oneof"`
}
type TestAllTypes_OneofFloat struct {
OneofFloat float32 `protobuf:"fixed32,117,opt,name=oneof_float,json=oneofFloat,oneof"`
}
type TestAllTypes_OneofGroup struct {
A *int32 `protobuf:"varint,1,opt,name=a" json:"a,omitempty"`
B *int32 `protobuf:"varint,2,opt,name=b" json:"b,omitempty"`
// contains filtered or unexported fields
}
func (*TestAllTypes_OneofGroup) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypes_OneofGroup.ProtoReflect.Descriptor instead.
func (x *TestAllTypes_OneofGroup) GetA() int32
func (x *TestAllTypes_OneofGroup) GetB() int32
func (*TestAllTypes_OneofGroup) ProtoMessage()
func (x *TestAllTypes_OneofGroup) ProtoReflect() protoreflect.Message
func (x *TestAllTypes_OneofGroup) Reset()
func (x *TestAllTypes_OneofGroup) String() string
type TestAllTypes_OneofNestedMessage struct {
OneofNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,112,opt,name=oneof_nested_message,json=oneofNestedMessage,oneof"`
}
type TestAllTypes_OneofOptionalUint32 struct {
OneofOptionalUint32 uint32 `protobuf:"varint,120,opt,name=oneof_optional_uint32,json=oneofOptionalUint32,oneof"`
}
type TestAllTypes_OneofString struct {
OneofString string `protobuf:"bytes,113,opt,name=oneof_string,json=oneofString,oneof"`
}
type TestAllTypes_OneofUint32 struct {
OneofUint32 uint32 `protobuf:"varint,111,opt,name=oneof_uint32,json=oneofUint32,oneof"`
}
type TestAllTypes_OneofUint64 struct {
OneofUint64 uint64 `protobuf:"varint,116,opt,name=oneof_uint64,json=oneofUint64,oneof"`
}
type TestAllTypes_Oneofgroup struct {
Oneofgroup *TestAllTypes_OneofGroup `protobuf:"group,121,opt,name=OneofGroup,json=oneofgroup,oneof"`
}
type TestAllTypes_OptionalGroup struct {
A *int32 `protobuf:"varint,17,opt,name=a" json:"a,omitempty"`
OptionalNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,1000,opt,name=optional_nested_message,json=optionalNestedMessage" json:"optional_nested_message,omitempty"`
SameFieldNumber *int32 `protobuf:"varint,16,opt,name=same_field_number,json=sameFieldNumber" json:"same_field_number,omitempty"`
// contains filtered or unexported fields
}
func (*TestAllTypes_OptionalGroup) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypes_OptionalGroup.ProtoReflect.Descriptor instead.
func (x *TestAllTypes_OptionalGroup) GetA() int32
func (x *TestAllTypes_OptionalGroup) GetOptionalNestedMessage() *TestAllTypes_NestedMessage
func (x *TestAllTypes_OptionalGroup) GetSameFieldNumber() int32
func (*TestAllTypes_OptionalGroup) ProtoMessage()
func (x *TestAllTypes_OptionalGroup) ProtoReflect() protoreflect.Message
func (x *TestAllTypes_OptionalGroup) Reset()
func (x *TestAllTypes_OptionalGroup) String() string
type TestAllTypes_RepeatedGroup struct {
A *int32 `protobuf:"varint,47,opt,name=a" json:"a,omitempty"`
OptionalNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,1001,opt,name=optional_nested_message,json=optionalNestedMessage" json:"optional_nested_message,omitempty"`
// contains filtered or unexported fields
}
func (*TestAllTypes_RepeatedGroup) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypes_RepeatedGroup.ProtoReflect.Descriptor instead.
func (x *TestAllTypes_RepeatedGroup) GetA() int32
func (x *TestAllTypes_RepeatedGroup) GetOptionalNestedMessage() *TestAllTypes_NestedMessage
func (*TestAllTypes_RepeatedGroup) ProtoMessage()
func (x *TestAllTypes_RepeatedGroup) ProtoReflect() protoreflect.Message
func (x *TestAllTypes_RepeatedGroup) Reset()
func (x *TestAllTypes_RepeatedGroup) String() string
Deprecated: Marked as deprecated in internal/testprotos/test/test.proto.
type TestDeprecatedMessage struct {
// Deprecated: Marked as deprecated in internal/testprotos/test/test.proto.
DeprecatedInt32 *int32 `protobuf:"varint,1,opt,name=deprecated_int32,json=deprecatedInt32" json:"deprecated_int32,omitempty"`
// Types that are assignable to DeprecatedOneof:
//
// *TestDeprecatedMessage_DeprecatedOneofField
DeprecatedOneof isTestDeprecatedMessage_DeprecatedOneof `protobuf_oneof:"deprecated_oneof"`
// contains filtered or unexported fields
}
func (*TestDeprecatedMessage) Descriptor() ([]byte, []int)
Deprecated: Use TestDeprecatedMessage.ProtoReflect.Descriptor instead.
func (x *TestDeprecatedMessage) GetDeprecatedInt32() int32
Deprecated: Marked as deprecated in internal/testprotos/test/test.proto.
func (m *TestDeprecatedMessage) GetDeprecatedOneof() isTestDeprecatedMessage_DeprecatedOneof
func (x *TestDeprecatedMessage) GetDeprecatedOneofField() int32
Deprecated: Marked as deprecated in internal/testprotos/test/test.proto.
func (*TestDeprecatedMessage) ProtoMessage()
func (x *TestDeprecatedMessage) ProtoReflect() protoreflect.Message
func (x *TestDeprecatedMessage) Reset()
func (x *TestDeprecatedMessage) String() string
Deprecated: Marked as deprecated in internal/testprotos/test/test.proto.
type TestDeprecatedMessage_DeprecatedEnum int32
const (
// Deprecated: Marked as deprecated in internal/testprotos/test/test.proto.
TestDeprecatedMessage_DEPRECATED TestDeprecatedMessage_DeprecatedEnum = 0
)
func (TestDeprecatedMessage_DeprecatedEnum) Descriptor() protoreflect.EnumDescriptor
func (x TestDeprecatedMessage_DeprecatedEnum) Enum() *TestDeprecatedMessage_DeprecatedEnum
func (TestDeprecatedMessage_DeprecatedEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use TestDeprecatedMessage_DeprecatedEnum.Descriptor instead.
func (x TestDeprecatedMessage_DeprecatedEnum) Number() protoreflect.EnumNumber
func (x TestDeprecatedMessage_DeprecatedEnum) String() string
func (TestDeprecatedMessage_DeprecatedEnum) Type() protoreflect.EnumType
func (x *TestDeprecatedMessage_DeprecatedEnum) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type TestDeprecatedMessage_DeprecatedOneofField struct {
// Deprecated: Marked as deprecated in internal/testprotos/test/test.proto.
DeprecatedOneofField int32 `protobuf:"varint,2,opt,name=deprecated_oneof_field,json=deprecatedOneofField,oneof"`
}
type TestNestedExtension struct {
// contains filtered or unexported fields
}
func (*TestNestedExtension) Descriptor() ([]byte, []int)
Deprecated: Use TestNestedExtension.ProtoReflect.Descriptor instead.
func (*TestNestedExtension) ProtoMessage()
func (x *TestNestedExtension) ProtoReflect() protoreflect.Message
func (x *TestNestedExtension) Reset()
func (x *TestNestedExtension) String() string
type TestPackedExtensions struct {
// contains filtered or unexported fields
}
func (*TestPackedExtensions) Descriptor() ([]byte, []int)
Deprecated: Use TestPackedExtensions.ProtoReflect.Descriptor instead.
func (*TestPackedExtensions) ProtoMessage()
func (x *TestPackedExtensions) ProtoReflect() protoreflect.Message
func (x *TestPackedExtensions) Reset()
func (x *TestPackedExtensions) String() string
type TestPackedTypes struct {
PackedInt32 []int32 `protobuf:"varint,90,rep,packed,name=packed_int32,json=packedInt32" json:"packed_int32,omitempty"`
PackedInt64 []int64 `protobuf:"varint,91,rep,packed,name=packed_int64,json=packedInt64" json:"packed_int64,omitempty"`
PackedUint32 []uint32 `protobuf:"varint,92,rep,packed,name=packed_uint32,json=packedUint32" json:"packed_uint32,omitempty"`
PackedUint64 []uint64 `protobuf:"varint,93,rep,packed,name=packed_uint64,json=packedUint64" json:"packed_uint64,omitempty"`
PackedSint32 []int32 `protobuf:"zigzag32,94,rep,packed,name=packed_sint32,json=packedSint32" json:"packed_sint32,omitempty"`
PackedSint64 []int64 `protobuf:"zigzag64,95,rep,packed,name=packed_sint64,json=packedSint64" json:"packed_sint64,omitempty"`
PackedFixed32 []uint32 `protobuf:"fixed32,96,rep,packed,name=packed_fixed32,json=packedFixed32" json:"packed_fixed32,omitempty"`
PackedFixed64 []uint64 `protobuf:"fixed64,97,rep,packed,name=packed_fixed64,json=packedFixed64" json:"packed_fixed64,omitempty"`
PackedSfixed32 []int32 `protobuf:"fixed32,98,rep,packed,name=packed_sfixed32,json=packedSfixed32" json:"packed_sfixed32,omitempty"`
PackedSfixed64 []int64 `protobuf:"fixed64,99,rep,packed,name=packed_sfixed64,json=packedSfixed64" json:"packed_sfixed64,omitempty"`
PackedFloat []float32 `protobuf:"fixed32,100,rep,packed,name=packed_float,json=packedFloat" json:"packed_float,omitempty"`
PackedDouble []float64 `protobuf:"fixed64,101,rep,packed,name=packed_double,json=packedDouble" json:"packed_double,omitempty"`
PackedBool []bool `protobuf:"varint,102,rep,packed,name=packed_bool,json=packedBool" json:"packed_bool,omitempty"`
PackedEnum []ForeignEnum `protobuf:"varint,103,rep,packed,name=packed_enum,json=packedEnum,enum=goproto.proto.test.ForeignEnum" json:"packed_enum,omitempty"`
// contains filtered or unexported fields
}
func (*TestPackedTypes) Descriptor() ([]byte, []int)
Deprecated: Use TestPackedTypes.ProtoReflect.Descriptor instead.
func (x *TestPackedTypes) GetPackedBool() []bool
func (x *TestPackedTypes) GetPackedDouble() []float64
func (x *TestPackedTypes) GetPackedEnum() []ForeignEnum
func (x *TestPackedTypes) GetPackedFixed32() []uint32
func (x *TestPackedTypes) GetPackedFixed64() []uint64
func (x *TestPackedTypes) GetPackedFloat() []float32
func (x *TestPackedTypes) GetPackedInt32() []int32
func (x *TestPackedTypes) GetPackedInt64() []int64
func (x *TestPackedTypes) GetPackedSfixed32() []int32
func (x *TestPackedTypes) GetPackedSfixed64() []int64
func (x *TestPackedTypes) GetPackedSint32() []int32
func (x *TestPackedTypes) GetPackedSint64() []int64
func (x *TestPackedTypes) GetPackedUint32() []uint32
func (x *TestPackedTypes) GetPackedUint64() []uint64
func (*TestPackedTypes) ProtoMessage()
func (x *TestPackedTypes) ProtoReflect() protoreflect.Message
func (x *TestPackedTypes) Reset()
func (x *TestPackedTypes) String() string
type TestRequired struct {
RequiredField *int32 `protobuf:"varint,1,req,name=required_field,json=requiredField" json:"required_field,omitempty"`
// contains filtered or unexported fields
}
func (*TestRequired) Descriptor() ([]byte, []int)
Deprecated: Use TestRequired.ProtoReflect.Descriptor instead.
func (x *TestRequired) GetRequiredField() int32
func (*TestRequired) ProtoMessage()
func (x *TestRequired) ProtoReflect() protoreflect.Message
func (x *TestRequired) Reset()
func (x *TestRequired) String() string
type TestRequiredForeign struct {
OptionalMessage *TestRequired `protobuf:"bytes,1,opt,name=optional_message,json=optionalMessage" json:"optional_message,omitempty"`
RepeatedMessage []*TestRequired `protobuf:"bytes,2,rep,name=repeated_message,json=repeatedMessage" json:"repeated_message,omitempty"`
MapMessage map[int32]*TestRequired `protobuf:"bytes,3,rep,name=map_message,json=mapMessage" json:"map_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Types that are assignable to OneofField:
//
// *TestRequiredForeign_OneofMessage
OneofField isTestRequiredForeign_OneofField `protobuf_oneof:"oneof_field"`
// contains filtered or unexported fields
}
func (*TestRequiredForeign) Descriptor() ([]byte, []int)
Deprecated: Use TestRequiredForeign.ProtoReflect.Descriptor instead.
func (x *TestRequiredForeign) GetMapMessage() map[int32]*TestRequired
func (m *TestRequiredForeign) GetOneofField() isTestRequiredForeign_OneofField
func (x *TestRequiredForeign) GetOneofMessage() *TestRequired
func (x *TestRequiredForeign) GetOptionalMessage() *TestRequired
func (x *TestRequiredForeign) GetRepeatedMessage() []*TestRequired
func (*TestRequiredForeign) ProtoMessage()
func (x *TestRequiredForeign) ProtoReflect() protoreflect.Message
func (x *TestRequiredForeign) Reset()
func (x *TestRequiredForeign) String() string
type TestRequiredForeign_OneofMessage struct {
OneofMessage *TestRequired `protobuf:"bytes,4,opt,name=oneof_message,json=oneofMessage,oneof"`
}
type TestRequiredGroupFields struct {
Optionalgroup *TestRequiredGroupFields_OptionalGroup `protobuf:"group,1,opt,name=OptionalGroup,json=optionalgroup" json:"optionalgroup,omitempty"`
Repeatedgroup []*TestRequiredGroupFields_RepeatedGroup `protobuf:"group,3,rep,name=RepeatedGroup,json=repeatedgroup" json:"repeatedgroup,omitempty"`
// contains filtered or unexported fields
}
func (*TestRequiredGroupFields) Descriptor() ([]byte, []int)
Deprecated: Use TestRequiredGroupFields.ProtoReflect.Descriptor instead.
func (x *TestRequiredGroupFields) GetOptionalgroup() *TestRequiredGroupFields_OptionalGroup
func (x *TestRequiredGroupFields) GetRepeatedgroup() []*TestRequiredGroupFields_RepeatedGroup
func (*TestRequiredGroupFields) ProtoMessage()
func (x *TestRequiredGroupFields) ProtoReflect() protoreflect.Message
func (x *TestRequiredGroupFields) Reset()
func (x *TestRequiredGroupFields) String() string
type TestRequiredGroupFields_OptionalGroup struct {
A *int32 `protobuf:"varint,2,req,name=a" json:"a,omitempty"`
// contains filtered or unexported fields
}
func (*TestRequiredGroupFields_OptionalGroup) Descriptor() ([]byte, []int)
Deprecated: Use TestRequiredGroupFields_OptionalGroup.ProtoReflect.Descriptor instead.
func (x *TestRequiredGroupFields_OptionalGroup) GetA() int32
func (*TestRequiredGroupFields_OptionalGroup) ProtoMessage()
func (x *TestRequiredGroupFields_OptionalGroup) ProtoReflect() protoreflect.Message
func (x *TestRequiredGroupFields_OptionalGroup) Reset()
func (x *TestRequiredGroupFields_OptionalGroup) String() string
type TestRequiredGroupFields_RepeatedGroup struct {
A *int32 `protobuf:"varint,4,req,name=a" json:"a,omitempty"`
// contains filtered or unexported fields
}
func (*TestRequiredGroupFields_RepeatedGroup) Descriptor() ([]byte, []int)
Deprecated: Use TestRequiredGroupFields_RepeatedGroup.ProtoReflect.Descriptor instead.
func (x *TestRequiredGroupFields_RepeatedGroup) GetA() int32
func (*TestRequiredGroupFields_RepeatedGroup) ProtoMessage()
func (x *TestRequiredGroupFields_RepeatedGroup) ProtoReflect() protoreflect.Message
func (x *TestRequiredGroupFields_RepeatedGroup) Reset()
func (x *TestRequiredGroupFields_RepeatedGroup) String() string
type TestReservedEnumFields int32
const (
TestReservedEnumFields_RESERVED_ENUM TestReservedEnumFields = 0
)
func (TestReservedEnumFields) Descriptor() protoreflect.EnumDescriptor
func (x TestReservedEnumFields) Enum() *TestReservedEnumFields
func (TestReservedEnumFields) EnumDescriptor() ([]byte, []int)
Deprecated: Use TestReservedEnumFields.Descriptor instead.
func (x TestReservedEnumFields) Number() protoreflect.EnumNumber
func (x TestReservedEnumFields) String() string
func (TestReservedEnumFields) Type() protoreflect.EnumType
func (x *TestReservedEnumFields) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type TestReservedFields struct {
// contains filtered or unexported fields
}
func (*TestReservedFields) Descriptor() ([]byte, []int)
Deprecated: Use TestReservedFields.ProtoReflect.Descriptor instead.
func (*TestReservedFields) ProtoMessage()
func (x *TestReservedFields) ProtoReflect() protoreflect.Message
func (x *TestReservedFields) Reset()
func (x *TestReservedFields) String() string
type TestUnpackedExtensions struct {
// contains filtered or unexported fields
}
func (*TestUnpackedExtensions) Descriptor() ([]byte, []int)
Deprecated: Use TestUnpackedExtensions.ProtoReflect.Descriptor instead.
func (*TestUnpackedExtensions) ProtoMessage()
func (x *TestUnpackedExtensions) ProtoReflect() protoreflect.Message
func (x *TestUnpackedExtensions) Reset()
func (x *TestUnpackedExtensions) String() string
type TestUnpackedTypes struct {
UnpackedInt32 []int32 `protobuf:"varint,90,rep,name=unpacked_int32,json=unpackedInt32" json:"unpacked_int32,omitempty"`
UnpackedInt64 []int64 `protobuf:"varint,91,rep,name=unpacked_int64,json=unpackedInt64" json:"unpacked_int64,omitempty"`
UnpackedUint32 []uint32 `protobuf:"varint,92,rep,name=unpacked_uint32,json=unpackedUint32" json:"unpacked_uint32,omitempty"`
UnpackedUint64 []uint64 `protobuf:"varint,93,rep,name=unpacked_uint64,json=unpackedUint64" json:"unpacked_uint64,omitempty"`
UnpackedSint32 []int32 `protobuf:"zigzag32,94,rep,name=unpacked_sint32,json=unpackedSint32" json:"unpacked_sint32,omitempty"`
UnpackedSint64 []int64 `protobuf:"zigzag64,95,rep,name=unpacked_sint64,json=unpackedSint64" json:"unpacked_sint64,omitempty"`
UnpackedFixed32 []uint32 `protobuf:"fixed32,96,rep,name=unpacked_fixed32,json=unpackedFixed32" json:"unpacked_fixed32,omitempty"`
UnpackedFixed64 []uint64 `protobuf:"fixed64,97,rep,name=unpacked_fixed64,json=unpackedFixed64" json:"unpacked_fixed64,omitempty"`
UnpackedSfixed32 []int32 `protobuf:"fixed32,98,rep,name=unpacked_sfixed32,json=unpackedSfixed32" json:"unpacked_sfixed32,omitempty"`
UnpackedSfixed64 []int64 `protobuf:"fixed64,99,rep,name=unpacked_sfixed64,json=unpackedSfixed64" json:"unpacked_sfixed64,omitempty"`
UnpackedFloat []float32 `protobuf:"fixed32,100,rep,name=unpacked_float,json=unpackedFloat" json:"unpacked_float,omitempty"`
UnpackedDouble []float64 `protobuf:"fixed64,101,rep,name=unpacked_double,json=unpackedDouble" json:"unpacked_double,omitempty"`
UnpackedBool []bool `protobuf:"varint,102,rep,name=unpacked_bool,json=unpackedBool" json:"unpacked_bool,omitempty"`
UnpackedEnum []ForeignEnum `protobuf:"varint,103,rep,name=unpacked_enum,json=unpackedEnum,enum=goproto.proto.test.ForeignEnum" json:"unpacked_enum,omitempty"`
// contains filtered or unexported fields
}
func (*TestUnpackedTypes) Descriptor() ([]byte, []int)
Deprecated: Use TestUnpackedTypes.ProtoReflect.Descriptor instead.
func (x *TestUnpackedTypes) GetUnpackedBool() []bool
func (x *TestUnpackedTypes) GetUnpackedDouble() []float64
func (x *TestUnpackedTypes) GetUnpackedEnum() []ForeignEnum
func (x *TestUnpackedTypes) GetUnpackedFixed32() []uint32
func (x *TestUnpackedTypes) GetUnpackedFixed64() []uint64
func (x *TestUnpackedTypes) GetUnpackedFloat() []float32
func (x *TestUnpackedTypes) GetUnpackedInt32() []int32
func (x *TestUnpackedTypes) GetUnpackedInt64() []int64
func (x *TestUnpackedTypes) GetUnpackedSfixed32() []int32
func (x *TestUnpackedTypes) GetUnpackedSfixed64() []int64
func (x *TestUnpackedTypes) GetUnpackedSint32() []int32
func (x *TestUnpackedTypes) GetUnpackedSint64() []int64
func (x *TestUnpackedTypes) GetUnpackedUint32() []uint32
func (x *TestUnpackedTypes) GetUnpackedUint64() []uint64
func (*TestUnpackedTypes) ProtoMessage()
func (x *TestUnpackedTypes) ProtoReflect() protoreflect.Message
func (x *TestUnpackedTypes) Reset()
func (x *TestUnpackedTypes) String() string
type TestWeak struct {
XXX_weak_WeakMessage1 struct{} `protobuf:"bytes,1,opt,name=weak_message1,json=weakMessage1,weak=goproto.proto.test.weak.WeakImportMessage1" json:"weak_message1,omitempty"`
XXX_weak_WeakMessage2 struct{} `protobuf:"bytes,2,opt,name=weak_message2,json=weakMessage2,weak=goproto.proto.test.weak.WeakImportMessage2" json:"weak_message2,omitempty"`
// contains filtered or unexported fields
}
func (*TestWeak) Descriptor() ([]byte, []int)
Deprecated: Use TestWeak.ProtoReflect.Descriptor instead.
func (x *TestWeak) GetWeakMessage1() proto.Message
func (x *TestWeak) GetWeakMessage2() proto.Message
func (*TestWeak) ProtoMessage()
func (x *TestWeak) ProtoReflect() protoreflect.Message
func (x *TestWeak) Reset()
func (x *TestWeak) SetWeakMessage1(v proto.Message)
func (x *TestWeak) SetWeakMessage2(v proto.Message)
func (x *TestWeak) String() string
type WeirdDefault struct {
WeirdDefault []byte `protobuf:"bytes,1,opt,name=weird_default,json=weirdDefault,def=hello, \\\"world!\\\"\\ndead\\336\\255\\276\\357beef\x60" json:"weird_default,omitempty"`
// contains filtered or unexported fields
}
func (*WeirdDefault) Descriptor() ([]byte, []int)
Deprecated: Use WeirdDefault.ProtoReflect.Descriptor instead.
func (x *WeirdDefault) GetWeirdDefault() []byte
func (*WeirdDefault) ProtoMessage()
func (x *WeirdDefault) ProtoReflect() protoreflect.Message
func (x *WeirdDefault) Reset()
func (x *WeirdDefault) String() string
| Name | Synopsis |
|---|---|
| .. | |