test

package
v1.29.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 8, 2023 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
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 TestAllTypes fields.

View Source
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
)

Default values for RemoteDefault fields.

Variables

View Source
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 ForeignEnum.

View Source
var (
	TestReservedEnumFields_name = map[int32]string{
		0: "RESERVED_ENUM",
	}
	TestReservedEnumFields_value = map[string]int32{
		"RESERVED_ENUM": 0,
	}
)

Enum value maps for TestReservedEnumFields.

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 (
	TestDeprecatedMessage_DeprecatedEnum_name = map[int32]string{
		0: "DEPRECATED",
	}
	TestDeprecatedMessage_DeprecatedEnum_value = map[string]int32{
		"DEPRECATED": 0,
	}
)

Enum value maps for TestDeprecatedMessage_DeprecatedEnum.

View Source
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 TestAllExtensions.

View Source
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 TestPackedExtensions.

View Source
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]
)

Extension fields to TestUnpackedExtensions.

View Source
var (
	ImportEnum_name = map[int32]string{
		0: "IMPORT_ZERO",
	}
	ImportEnum_value = map[string]int32{
		"IMPORT_ZERO": 0,
	}
)

Enum value maps for ImportEnum.

View Source
var (
	Default_TestAllTypes_DefaultBytes = []byte("world")
)

Default values for TestAllTypes fields.

View Source
var (
	Default_WeirdDefault_WeirdDefault = []byte("hello, \"world!\"\ndeadޭ\xbe\xefbeef`")
)

Default values for WeirdDefault fields.

View Source
var (
	// optional int32 foreign_int32_extension = 2000;
	E_ForeignInt32Extension = &file_internal_testprotos_test_ext_proto_extTypes[0]
)

Extension fields to TestAllExtensions.

View Source
var File_internal_testprotos_test_ext_proto protoreflect.FileDescriptor
View Source
var File_internal_testprotos_test_test_import_proto protoreflect.FileDescriptor
View Source
var File_internal_testprotos_test_test_proto protoreflect.FileDescriptor
View Source
var File_internal_testprotos_test_test_public_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type FooRequest

type FooRequest struct {
	// contains filtered or unexported fields
}

Test that RPC services work.

func (*FooRequest) Descriptor deprecated

func (*FooRequest) Descriptor() ([]byte, []int)

Deprecated: Use FooRequest.ProtoReflect.Descriptor instead.

func (*FooRequest) ProtoMessage

func (*FooRequest) ProtoMessage()

func (*FooRequest) ProtoReflect

func (x *FooRequest) ProtoReflect() protoreflect.Message

func (*FooRequest) Reset

func (x *FooRequest) Reset()

func (*FooRequest) String

func (x *FooRequest) String() string

type FooResponse

type FooResponse struct {
	// contains filtered or unexported fields
}

func (*FooResponse) Descriptor deprecated

func (*FooResponse) Descriptor() ([]byte, []int)

Deprecated: Use FooResponse.ProtoReflect.Descriptor instead.

func (*FooResponse) ProtoMessage

func (*FooResponse) ProtoMessage()

func (*FooResponse) ProtoReflect

func (x *FooResponse) ProtoReflect() protoreflect.Message

func (*FooResponse) Reset

func (x *FooResponse) Reset()

func (*FooResponse) String

func (x *FooResponse) String() string

type ForeignEnum

type ForeignEnum int32
const (
	ForeignEnum_FOREIGN_FOO ForeignEnum = 4
	ForeignEnum_FOREIGN_BAR ForeignEnum = 5
	ForeignEnum_FOREIGN_BAZ ForeignEnum = 6
)

func (ForeignEnum) Descriptor

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) UnmarshalJSON deprecated

func (x *ForeignEnum) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type ForeignMessage

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 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 ImportEnum

type ImportEnum int32
const (
	ImportEnum_IMPORT_ZERO ImportEnum = 0
)

func (ImportEnum) Descriptor

func (ImportEnum) Descriptor() protoreflect.EnumDescriptor

func (ImportEnum) Enum

func (x ImportEnum) Enum() *ImportEnum

func (ImportEnum) EnumDescriptor deprecated

func (ImportEnum) EnumDescriptor() ([]byte, []int)

Deprecated: Use ImportEnum.Descriptor instead.

func (ImportEnum) Number

func (x ImportEnum) Number() protoreflect.EnumNumber

func (ImportEnum) String

func (x ImportEnum) String() string

func (ImportEnum) Type

func (*ImportEnum) UnmarshalJSON deprecated

func (x *ImportEnum) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type ImportMessage

type ImportMessage struct {
	// contains filtered or unexported fields
}

func (*ImportMessage) Descriptor deprecated

func (*ImportMessage) Descriptor() ([]byte, []int)

Deprecated: Use ImportMessage.ProtoReflect.Descriptor instead.

func (*ImportMessage) ProtoMessage

func (*ImportMessage) ProtoMessage()

func (*ImportMessage) ProtoReflect

func (x *ImportMessage) ProtoReflect() protoreflect.Message

func (*ImportMessage) Reset

func (x *ImportMessage) Reset()

func (*ImportMessage) String

func (x *ImportMessage) String() string

type OptionalGroup

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 deprecated

func (*OptionalGroup) Descriptor() ([]byte, []int)

Deprecated: Use OptionalGroup.ProtoReflect.Descriptor instead.

func (*OptionalGroup) GetA

func (x *OptionalGroup) GetA() int32

func (*OptionalGroup) GetOptionalNestedMessage

func (x *OptionalGroup) GetOptionalNestedMessage() *TestAllExtensions_NestedMessage

func (*OptionalGroup) GetSameFieldNumber

func (x *OptionalGroup) GetSameFieldNumber() int32

func (*OptionalGroup) ProtoMessage

func (*OptionalGroup) ProtoMessage()

func (*OptionalGroup) ProtoReflect

func (x *OptionalGroup) ProtoReflect() protoreflect.Message

func (*OptionalGroup) Reset

func (x *OptionalGroup) Reset()

func (*OptionalGroup) String

func (x *OptionalGroup) String() string

type PublicImportMessage

type PublicImportMessage struct {
	// contains filtered or unexported fields
}

func (*PublicImportMessage) Descriptor deprecated

func (*PublicImportMessage) Descriptor() ([]byte, []int)

Deprecated: Use PublicImportMessage.ProtoReflect.Descriptor instead.

func (*PublicImportMessage) ProtoMessage

func (*PublicImportMessage) ProtoMessage()

func (*PublicImportMessage) ProtoReflect

func (x *PublicImportMessage) ProtoReflect() protoreflect.Message

func (*PublicImportMessage) Reset

func (x *PublicImportMessage) Reset()

func (*PublicImportMessage) String

func (x *PublicImportMessage) String() string

type RemoteDefault added in v1.27.0

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 deprecated added in v1.27.0

func (*RemoteDefault) Descriptor() ([]byte, []int)

Deprecated: Use RemoteDefault.ProtoReflect.Descriptor instead.

func (*RemoteDefault) GetDefault added in v1.27.1

func (x *RemoteDefault) GetDefault() enums.Enum

func (*RemoteDefault) GetElevent added in v1.27.1

func (x *RemoteDefault) GetElevent() enums.Enum

func (*RemoteDefault) GetNegative added in v1.27.1

func (x *RemoteDefault) GetNegative() enums.Enum

func (*RemoteDefault) GetOne added in v1.27.1

func (x *RemoteDefault) GetOne() enums.Enum

func (*RemoteDefault) GetSeventeen added in v1.27.1

func (x *RemoteDefault) GetSeventeen() enums.Enum

func (*RemoteDefault) GetSixtyseven added in v1.27.1

func (x *RemoteDefault) GetSixtyseven() enums.Enum

func (*RemoteDefault) GetThirtyseven added in v1.27.1

func (x *RemoteDefault) GetThirtyseven() enums.Enum

func (*RemoteDefault) GetZero added in v1.27.1

func (x *RemoteDefault) GetZero() enums.Enum

func (*RemoteDefault) ProtoMessage added in v1.27.0

func (*RemoteDefault) ProtoMessage()

func (*RemoteDefault) ProtoReflect added in v1.27.0

func (x *RemoteDefault) ProtoReflect() protoreflect.Message

func (*RemoteDefault) Reset added in v1.27.0

func (x *RemoteDefault) Reset()

func (*RemoteDefault) String added in v1.27.0

func (x *RemoteDefault) String() string

type RepeatedGroup

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 deprecated

func (*RepeatedGroup) Descriptor() ([]byte, []int)

Deprecated: Use RepeatedGroup.ProtoReflect.Descriptor instead.

func (*RepeatedGroup) GetA

func (x *RepeatedGroup) GetA() int32

func (*RepeatedGroup) GetOptionalNestedMessage

func (x *RepeatedGroup) GetOptionalNestedMessage() *TestAllExtensions_NestedMessage

func (*RepeatedGroup) ProtoMessage

func (*RepeatedGroup) ProtoMessage()

func (*RepeatedGroup) ProtoReflect

func (x *RepeatedGroup) ProtoReflect() protoreflect.Message

func (*RepeatedGroup) Reset

func (x *RepeatedGroup) Reset()

func (*RepeatedGroup) String

func (x *RepeatedGroup) String() string

type TestAllExtensions

type TestAllExtensions struct {
	// contains filtered or unexported fields
}

func (*TestAllExtensions) Descriptor deprecated

func (*TestAllExtensions) Descriptor() ([]byte, []int)

Deprecated: Use TestAllExtensions.ProtoReflect.Descriptor instead.

func (*TestAllExtensions) ProtoMessage

func (*TestAllExtensions) ProtoMessage()

func (*TestAllExtensions) ProtoReflect

func (x *TestAllExtensions) ProtoReflect() protoreflect.Message

func (*TestAllExtensions) Reset

func (x *TestAllExtensions) Reset()

func (*TestAllExtensions) String

func (x *TestAllExtensions) String() string

type TestAllExtensions_NestedMessage

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 deprecated

func (*TestAllExtensions_NestedMessage) Descriptor() ([]byte, []int)

Deprecated: Use TestAllExtensions_NestedMessage.ProtoReflect.Descriptor instead.

func (*TestAllExtensions_NestedMessage) GetA

func (*TestAllExtensions_NestedMessage) GetCorecursive

func (*TestAllExtensions_NestedMessage) ProtoMessage

func (*TestAllExtensions_NestedMessage) ProtoMessage()

func (*TestAllExtensions_NestedMessage) ProtoReflect

func (*TestAllExtensions_NestedMessage) Reset

func (*TestAllExtensions_NestedMessage) String

type TestAllTypes

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               `` /* 160-byte string literal not displayed */
	OptionalForeignEnum    *ForeignEnum                           `` /* 151-byte string literal not displayed */
	OptionalImportEnum     *ImportEnum                            `` /* 147-byte string literal not displayed */
	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              `` /* 160-byte string literal not displayed */
	RepeatedForeignEnum    []ForeignEnum                          `` /* 151-byte string literal not displayed */
	RepeatedImportenum     []ImportEnum                           `` /* 145-byte string literal not displayed */
	MapInt32Int32          map[int32]int32                        `` /* 172-byte string literal not displayed */
	MapInt64Int64          map[int64]int64                        `` /* 172-byte string literal not displayed */
	MapUint32Uint32        map[uint32]uint32                      `` /* 178-byte string literal not displayed */
	MapUint64Uint64        map[uint64]uint64                      `` /* 178-byte string literal not displayed */
	MapSint32Sint32        map[int32]int32                        `` /* 182-byte string literal not displayed */
	MapSint64Sint64        map[int64]int64                        `` /* 182-byte string literal not displayed */
	MapFixed32Fixed32      map[uint32]uint32                      `` /* 186-byte string literal not displayed */
	MapFixed64Fixed64      map[uint64]uint64                      `` /* 186-byte string literal not displayed */
	MapSfixed32Sfixed32    map[int32]int32                        `` /* 192-byte string literal not displayed */
	MapSfixed64Sfixed64    map[int64]int64                        `` /* 192-byte string literal not displayed */
	MapInt32Float          map[int32]float32                      `` /* 173-byte string literal not displayed */
	MapInt32Double         map[int32]float64                      `` /* 176-byte string literal not displayed */
	MapBoolBool            map[bool]bool                          `` /* 166-byte string literal not displayed */
	MapStringString        map[string]string                      `` /* 176-byte string literal not displayed */
	MapStringBytes         map[string][]byte                      `` /* 173-byte string literal not displayed */
	MapStringNestedMessage map[string]*TestAllTypes_NestedMessage `` /* 199-byte string literal not displayed */
	MapStringNestedEnum    map[string]TestAllTypes_NestedEnum     `` /* 239-byte string literal not displayed */
	// 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 `` /* 163-byte string literal not displayed */
	DefaultForeignEnum *ForeignEnum             `` /* 154-byte string literal not displayed */
	// 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 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) 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) 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) 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) GetMapStringNestedEnum

func (x *TestAllTypes) GetMapStringNestedEnum() map[string]TestAllTypes_NestedEnum

func (*TestAllTypes) GetMapStringNestedMessage

func (x *TestAllTypes) GetMapStringNestedMessage() map[string]*TestAllTypes_NestedMessage

func (*TestAllTypes) GetMapStringString

func (x *TestAllTypes) GetMapStringString() map[string]string

func (*TestAllTypes) GetMapUint32Uint32

func (x *TestAllTypes) GetMapUint32Uint32() map[uint32]uint32

func (*TestAllTypes) GetMapUint64Uint64

func (x *TestAllTypes) GetMapUint64Uint64() map[uint64]uint64

func (*TestAllTypes) GetOneofBool

func (x *TestAllTypes) GetOneofBool() bool

func (*TestAllTypes) GetOneofBytes

func (x *TestAllTypes) GetOneofBytes() []byte

func (*TestAllTypes) GetOneofDouble

func (x *TestAllTypes) GetOneofDouble() float64

func (*TestAllTypes) GetOneofEnum

func (x *TestAllTypes) GetOneofEnum() TestAllTypes_NestedEnum

func (*TestAllTypes) GetOneofField

func (m *TestAllTypes) GetOneofField() isTestAllTypes_OneofField

func (*TestAllTypes) GetOneofFloat

func (x *TestAllTypes) GetOneofFloat() float32

func (*TestAllTypes) GetOneofNestedMessage

func (x *TestAllTypes) GetOneofNestedMessage() *TestAllTypes_NestedMessage

func (*TestAllTypes) GetOneofOptional

func (m *TestAllTypes) GetOneofOptional() isTestAllTypes_OneofOptional

func (*TestAllTypes) GetOneofOptionalUint32

func (x *TestAllTypes) GetOneofOptionalUint32() uint32

func (*TestAllTypes) GetOneofString

func (x *TestAllTypes) GetOneofString() string

func (*TestAllTypes) GetOneofUint32

func (x *TestAllTypes) GetOneofUint32() uint32

func (*TestAllTypes) GetOneofUint64

func (x *TestAllTypes) GetOneofUint64() uint64

func (*TestAllTypes) GetOneofgroup

func (x *TestAllTypes) GetOneofgroup() *TestAllTypes_OneofGroup

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) GetOptionalForeignEnum

func (x *TestAllTypes) GetOptionalForeignEnum() ForeignEnum

func (*TestAllTypes) GetOptionalForeignMessage

func (x *TestAllTypes) GetOptionalForeignMessage() *ForeignMessage

func (*TestAllTypes) GetOptionalImportEnum

func (x *TestAllTypes) GetOptionalImportEnum() ImportEnum

func (*TestAllTypes) GetOptionalImportMessage

func (x *TestAllTypes) GetOptionalImportMessage() *ImportMessage

func (*TestAllTypes) GetOptionalInt32

func (x *TestAllTypes) GetOptionalInt32() int32

func (*TestAllTypes) GetOptionalInt64

func (x *TestAllTypes) GetOptionalInt64() int64

func (*TestAllTypes) GetOptionalNestedEnum

func (x *TestAllTypes) GetOptionalNestedEnum() TestAllTypes_NestedEnum

func (*TestAllTypes) GetOptionalNestedMessage

func (x *TestAllTypes) GetOptionalNestedMessage() *TestAllTypes_NestedMessage

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) GetOptionalgroup

func (x *TestAllTypes) GetOptionalgroup() *TestAllTypes_OptionalGroup

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) GetRepeatedImportenum

func (x *TestAllTypes) GetRepeatedImportenum() []ImportEnum

func (*TestAllTypes) GetRepeatedImportmessage

func (x *TestAllTypes) GetRepeatedImportmessage() []*ImportMessage

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) GetRepeatedgroup

func (x *TestAllTypes) GetRepeatedgroup() []*TestAllTypes_RepeatedGroup

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) Enum

func (TestAllTypes_NestedEnum) EnumDescriptor deprecated

func (TestAllTypes_NestedEnum) EnumDescriptor() ([]byte, []int)

Deprecated: Use TestAllTypes_NestedEnum.Descriptor instead.

func (TestAllTypes_NestedEnum) Number

func (TestAllTypes_NestedEnum) String

func (x TestAllTypes_NestedEnum) String() string

func (TestAllTypes_NestedEnum) Type

func (*TestAllTypes_NestedEnum) UnmarshalJSON deprecated

func (x *TestAllTypes_NestedEnum) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type TestAllTypes_NestedMessage

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 deprecated

func (*TestAllTypes_NestedMessage) Descriptor() ([]byte, []int)

Deprecated: Use TestAllTypes_NestedMessage.ProtoReflect.Descriptor instead.

func (*TestAllTypes_NestedMessage) GetA

func (*TestAllTypes_NestedMessage) GetCorecursive

func (x *TestAllTypes_NestedMessage) GetCorecursive() *TestAllTypes

func (*TestAllTypes_NestedMessage) ProtoMessage

func (*TestAllTypes_NestedMessage) ProtoMessage()

func (*TestAllTypes_NestedMessage) ProtoReflect

func (*TestAllTypes_NestedMessage) Reset

func (x *TestAllTypes_NestedMessage) Reset()

func (*TestAllTypes_NestedMessage) String

func (x *TestAllTypes_NestedMessage) String() string

type TestAllTypes_OneofBool

type TestAllTypes_OneofBool struct {
	OneofBool bool `protobuf:"varint,115,opt,name=oneof_bool,json=oneofBool,oneof"`
}

type TestAllTypes_OneofBytes

type TestAllTypes_OneofBytes struct {
	OneofBytes []byte `protobuf:"bytes,114,opt,name=oneof_bytes,json=oneofBytes,oneof"`
}

type TestAllTypes_OneofDouble

type TestAllTypes_OneofDouble struct {
	OneofDouble float64 `protobuf:"fixed64,118,opt,name=oneof_double,json=oneofDouble,oneof"`
}

type TestAllTypes_OneofEnum

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

type TestAllTypes_OneofFloat struct {
	OneofFloat float32 `protobuf:"fixed32,117,opt,name=oneof_float,json=oneofFloat,oneof"`
}

type TestAllTypes_OneofGroup

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 deprecated

func (*TestAllTypes_OneofGroup) Descriptor() ([]byte, []int)

Deprecated: Use TestAllTypes_OneofGroup.ProtoReflect.Descriptor instead.

func (*TestAllTypes_OneofGroup) GetA

func (x *TestAllTypes_OneofGroup) GetA() int32

func (*TestAllTypes_OneofGroup) GetB

func (x *TestAllTypes_OneofGroup) GetB() int32

func (*TestAllTypes_OneofGroup) ProtoMessage

func (*TestAllTypes_OneofGroup) ProtoMessage()

func (*TestAllTypes_OneofGroup) ProtoReflect

func (x *TestAllTypes_OneofGroup) ProtoReflect() protoreflect.Message

func (*TestAllTypes_OneofGroup) Reset

func (x *TestAllTypes_OneofGroup) Reset()

func (*TestAllTypes_OneofGroup) String

func (x *TestAllTypes_OneofGroup) String() string

type TestAllTypes_OneofNestedMessage

type TestAllTypes_OneofNestedMessage struct {
	OneofNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,112,opt,name=oneof_nested_message,json=oneofNestedMessage,oneof"`
}

type TestAllTypes_OneofOptionalUint32

type TestAllTypes_OneofOptionalUint32 struct {
	OneofOptionalUint32 uint32 `protobuf:"varint,120,opt,name=oneof_optional_uint32,json=oneofOptionalUint32,oneof"`
}

type TestAllTypes_OneofString

type TestAllTypes_OneofString struct {
	OneofString string `protobuf:"bytes,113,opt,name=oneof_string,json=oneofString,oneof"`
}

type TestAllTypes_OneofUint32

type TestAllTypes_OneofUint32 struct {
	OneofUint32 uint32 `protobuf:"varint,111,opt,name=oneof_uint32,json=oneofUint32,oneof"`
}

type TestAllTypes_OneofUint64

type TestAllTypes_OneofUint64 struct {
	OneofUint64 uint64 `protobuf:"varint,116,opt,name=oneof_uint64,json=oneofUint64,oneof"`
}

type TestAllTypes_Oneofgroup

type TestAllTypes_Oneofgroup struct {
	Oneofgroup *TestAllTypes_OneofGroup `protobuf:"group,121,opt,name=OneofGroup,json=oneofgroup,oneof"`
}

type TestAllTypes_OptionalGroup

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 deprecated

func (*TestAllTypes_OptionalGroup) Descriptor() ([]byte, []int)

Deprecated: Use TestAllTypes_OptionalGroup.ProtoReflect.Descriptor instead.

func (*TestAllTypes_OptionalGroup) GetA

func (*TestAllTypes_OptionalGroup) GetOptionalNestedMessage

func (x *TestAllTypes_OptionalGroup) GetOptionalNestedMessage() *TestAllTypes_NestedMessage

func (*TestAllTypes_OptionalGroup) GetSameFieldNumber

func (x *TestAllTypes_OptionalGroup) GetSameFieldNumber() int32

func (*TestAllTypes_OptionalGroup) ProtoMessage

func (*TestAllTypes_OptionalGroup) ProtoMessage()

func (*TestAllTypes_OptionalGroup) ProtoReflect

func (*TestAllTypes_OptionalGroup) Reset

func (x *TestAllTypes_OptionalGroup) Reset()

func (*TestAllTypes_OptionalGroup) String

func (x *TestAllTypes_OptionalGroup) String() string

type TestAllTypes_RepeatedGroup

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 deprecated

func (*TestAllTypes_RepeatedGroup) Descriptor() ([]byte, []int)

Deprecated: Use TestAllTypes_RepeatedGroup.ProtoReflect.Descriptor instead.

func (*TestAllTypes_RepeatedGroup) GetA

func (*TestAllTypes_RepeatedGroup) GetOptionalNestedMessage

func (x *TestAllTypes_RepeatedGroup) GetOptionalNestedMessage() *TestAllTypes_NestedMessage

func (*TestAllTypes_RepeatedGroup) ProtoMessage

func (*TestAllTypes_RepeatedGroup) ProtoMessage()

func (*TestAllTypes_RepeatedGroup) ProtoReflect

func (*TestAllTypes_RepeatedGroup) Reset

func (x *TestAllTypes_RepeatedGroup) Reset()

func (*TestAllTypes_RepeatedGroup) String

func (x *TestAllTypes_RepeatedGroup) String() string

type TestDeprecatedMessage deprecated

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
}

Deprecated: Marked as deprecated in internal/testprotos/test/test.proto.

func (*TestDeprecatedMessage) Descriptor deprecated

func (*TestDeprecatedMessage) Descriptor() ([]byte, []int)

Deprecated: Use TestDeprecatedMessage.ProtoReflect.Descriptor instead.

func (*TestDeprecatedMessage) GetDeprecatedInt32 deprecated

func (x *TestDeprecatedMessage) GetDeprecatedInt32() int32

Deprecated: Marked as deprecated in internal/testprotos/test/test.proto.

func (*TestDeprecatedMessage) GetDeprecatedOneof

func (m *TestDeprecatedMessage) GetDeprecatedOneof() isTestDeprecatedMessage_DeprecatedOneof

func (*TestDeprecatedMessage) GetDeprecatedOneofField deprecated

func (x *TestDeprecatedMessage) GetDeprecatedOneofField() int32

Deprecated: Marked as deprecated in internal/testprotos/test/test.proto.

func (*TestDeprecatedMessage) ProtoMessage

func (*TestDeprecatedMessage) ProtoMessage()

func (*TestDeprecatedMessage) ProtoReflect

func (x *TestDeprecatedMessage) ProtoReflect() protoreflect.Message

func (*TestDeprecatedMessage) Reset

func (x *TestDeprecatedMessage) Reset()

func (*TestDeprecatedMessage) String

func (x *TestDeprecatedMessage) String() string

type TestDeprecatedMessage_DeprecatedEnum deprecated

type TestDeprecatedMessage_DeprecatedEnum int32

Deprecated: Marked as deprecated in internal/testprotos/test/test.proto.

const (
	// Deprecated: Marked as deprecated in internal/testprotos/test/test.proto.
	TestDeprecatedMessage_DEPRECATED TestDeprecatedMessage_DeprecatedEnum = 0
)

func (TestDeprecatedMessage_DeprecatedEnum) Descriptor

func (TestDeprecatedMessage_DeprecatedEnum) Enum

func (TestDeprecatedMessage_DeprecatedEnum) EnumDescriptor deprecated

func (TestDeprecatedMessage_DeprecatedEnum) EnumDescriptor() ([]byte, []int)

Deprecated: Use TestDeprecatedMessage_DeprecatedEnum.Descriptor instead.

func (TestDeprecatedMessage_DeprecatedEnum) Number

func (TestDeprecatedMessage_DeprecatedEnum) String

func (TestDeprecatedMessage_DeprecatedEnum) Type

func (*TestDeprecatedMessage_DeprecatedEnum) UnmarshalJSON deprecated

func (x *TestDeprecatedMessage_DeprecatedEnum) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type TestDeprecatedMessage_DeprecatedOneofField

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

type TestNestedExtension struct {
	// contains filtered or unexported fields
}

func (*TestNestedExtension) Descriptor deprecated

func (*TestNestedExtension) Descriptor() ([]byte, []int)

Deprecated: Use TestNestedExtension.ProtoReflect.Descriptor instead.

func (*TestNestedExtension) ProtoMessage

func (*TestNestedExtension) ProtoMessage()

func (*TestNestedExtension) ProtoReflect

func (x *TestNestedExtension) ProtoReflect() protoreflect.Message

func (*TestNestedExtension) Reset

func (x *TestNestedExtension) Reset()

func (*TestNestedExtension) String

func (x *TestNestedExtension) String() string

type TestPackedExtensions

type TestPackedExtensions struct {
	// contains filtered or unexported fields
}

func (*TestPackedExtensions) Descriptor deprecated

func (*TestPackedExtensions) Descriptor() ([]byte, []int)

Deprecated: Use TestPackedExtensions.ProtoReflect.Descriptor instead.

func (*TestPackedExtensions) ProtoMessage

func (*TestPackedExtensions) ProtoMessage()

func (*TestPackedExtensions) ProtoReflect

func (x *TestPackedExtensions) ProtoReflect() protoreflect.Message

func (*TestPackedExtensions) Reset

func (x *TestPackedExtensions) Reset()

func (*TestPackedExtensions) String

func (x *TestPackedExtensions) String() string

type TestPackedTypes

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 `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TestPackedTypes) Descriptor deprecated

func (*TestPackedTypes) Descriptor() ([]byte, []int)

Deprecated: Use TestPackedTypes.ProtoReflect.Descriptor instead.

func (*TestPackedTypes) GetPackedBool

func (x *TestPackedTypes) GetPackedBool() []bool

func (*TestPackedTypes) GetPackedDouble

func (x *TestPackedTypes) GetPackedDouble() []float64

func (*TestPackedTypes) GetPackedEnum

func (x *TestPackedTypes) GetPackedEnum() []ForeignEnum

func (*TestPackedTypes) GetPackedFixed32

func (x *TestPackedTypes) GetPackedFixed32() []uint32

func (*TestPackedTypes) GetPackedFixed64

func (x *TestPackedTypes) GetPackedFixed64() []uint64

func (*TestPackedTypes) GetPackedFloat

func (x *TestPackedTypes) GetPackedFloat() []float32

func (*TestPackedTypes) GetPackedInt32

func (x *TestPackedTypes) GetPackedInt32() []int32

func (*TestPackedTypes) GetPackedInt64

func (x *TestPackedTypes) GetPackedInt64() []int64

func (*TestPackedTypes) GetPackedSfixed32

func (x *TestPackedTypes) GetPackedSfixed32() []int32

func (*TestPackedTypes) GetPackedSfixed64

func (x *TestPackedTypes) GetPackedSfixed64() []int64

func (*TestPackedTypes) GetPackedSint32

func (x *TestPackedTypes) GetPackedSint32() []int32

func (*TestPackedTypes) GetPackedSint64

func (x *TestPackedTypes) GetPackedSint64() []int64

func (*TestPackedTypes) GetPackedUint32

func (x *TestPackedTypes) GetPackedUint32() []uint32

func (*TestPackedTypes) GetPackedUint64

func (x *TestPackedTypes) GetPackedUint64() []uint64

func (*TestPackedTypes) ProtoMessage

func (*TestPackedTypes) ProtoMessage()

func (*TestPackedTypes) ProtoReflect

func (x *TestPackedTypes) ProtoReflect() protoreflect.Message

func (*TestPackedTypes) Reset

func (x *TestPackedTypes) Reset()

func (*TestPackedTypes) String

func (x *TestPackedTypes) String() string

type TestRequired

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 deprecated

func (*TestRequired) Descriptor() ([]byte, []int)

Deprecated: Use TestRequired.ProtoReflect.Descriptor instead.

func (*TestRequired) GetRequiredField

func (x *TestRequired) GetRequiredField() int32

func (*TestRequired) ProtoMessage

func (*TestRequired) ProtoMessage()

func (*TestRequired) ProtoReflect

func (x *TestRequired) ProtoReflect() protoreflect.Message

func (*TestRequired) Reset

func (x *TestRequired) Reset()

func (*TestRequired) String

func (x *TestRequired) String() string

type TestRequiredForeign

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 `` /* 159-byte string literal not displayed */
	// Types that are assignable to OneofField:
	//
	//	*TestRequiredForeign_OneofMessage
	OneofField isTestRequiredForeign_OneofField `protobuf_oneof:"oneof_field"`
	// contains filtered or unexported fields
}

func (*TestRequiredForeign) Descriptor deprecated

func (*TestRequiredForeign) Descriptor() ([]byte, []int)

Deprecated: Use TestRequiredForeign.ProtoReflect.Descriptor instead.

func (*TestRequiredForeign) GetMapMessage

func (x *TestRequiredForeign) GetMapMessage() map[int32]*TestRequired

func (*TestRequiredForeign) GetOneofField

func (m *TestRequiredForeign) GetOneofField() isTestRequiredForeign_OneofField

func (*TestRequiredForeign) GetOneofMessage

func (x *TestRequiredForeign) GetOneofMessage() *TestRequired

func (*TestRequiredForeign) GetOptionalMessage

func (x *TestRequiredForeign) GetOptionalMessage() *TestRequired

func (*TestRequiredForeign) GetRepeatedMessage

func (x *TestRequiredForeign) GetRepeatedMessage() []*TestRequired

func (*TestRequiredForeign) ProtoMessage

func (*TestRequiredForeign) ProtoMessage()

func (*TestRequiredForeign) ProtoReflect

func (x *TestRequiredForeign) ProtoReflect() protoreflect.Message

func (*TestRequiredForeign) Reset

func (x *TestRequiredForeign) Reset()

func (*TestRequiredForeign) String

func (x *TestRequiredForeign) String() string

type TestRequiredForeign_OneofMessage

type TestRequiredForeign_OneofMessage struct {
	OneofMessage *TestRequired `protobuf:"bytes,4,opt,name=oneof_message,json=oneofMessage,oneof"`
}

type TestRequiredGroupFields

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 deprecated

func (*TestRequiredGroupFields) Descriptor() ([]byte, []int)

Deprecated: Use TestRequiredGroupFields.ProtoReflect.Descriptor instead.

func (*TestRequiredGroupFields) GetOptionalgroup

func (*TestRequiredGroupFields) GetRepeatedgroup

func (*TestRequiredGroupFields) ProtoMessage

func (*TestRequiredGroupFields) ProtoMessage()

func (*TestRequiredGroupFields) ProtoReflect

func (x *TestRequiredGroupFields) ProtoReflect() protoreflect.Message

func (*TestRequiredGroupFields) Reset

func (x *TestRequiredGroupFields) Reset()

func (*TestRequiredGroupFields) String

func (x *TestRequiredGroupFields) String() string

type TestRequiredGroupFields_OptionalGroup

type TestRequiredGroupFields_OptionalGroup struct {
	A *int32 `protobuf:"varint,2,req,name=a" json:"a,omitempty"`
	// contains filtered or unexported fields
}

func (*TestRequiredGroupFields_OptionalGroup) Descriptor deprecated

func (*TestRequiredGroupFields_OptionalGroup) Descriptor() ([]byte, []int)

Deprecated: Use TestRequiredGroupFields_OptionalGroup.ProtoReflect.Descriptor instead.

func (*TestRequiredGroupFields_OptionalGroup) GetA

func (*TestRequiredGroupFields_OptionalGroup) ProtoMessage

func (*TestRequiredGroupFields_OptionalGroup) ProtoMessage()

func (*TestRequiredGroupFields_OptionalGroup) ProtoReflect

func (*TestRequiredGroupFields_OptionalGroup) Reset

func (*TestRequiredGroupFields_OptionalGroup) String

type TestRequiredGroupFields_RepeatedGroup

type TestRequiredGroupFields_RepeatedGroup struct {
	A *int32 `protobuf:"varint,4,req,name=a" json:"a,omitempty"`
	// contains filtered or unexported fields
}

func (*TestRequiredGroupFields_RepeatedGroup) Descriptor deprecated

func (*TestRequiredGroupFields_RepeatedGroup) Descriptor() ([]byte, []int)

Deprecated: Use TestRequiredGroupFields_RepeatedGroup.ProtoReflect.Descriptor instead.

func (*TestRequiredGroupFields_RepeatedGroup) GetA

func (*TestRequiredGroupFields_RepeatedGroup) ProtoMessage

func (*TestRequiredGroupFields_RepeatedGroup) ProtoMessage()

func (*TestRequiredGroupFields_RepeatedGroup) ProtoReflect

func (*TestRequiredGroupFields_RepeatedGroup) Reset

func (*TestRequiredGroupFields_RepeatedGroup) String

type TestReservedEnumFields

type TestReservedEnumFields int32
const (
	TestReservedEnumFields_RESERVED_ENUM TestReservedEnumFields = 0
)

func (TestReservedEnumFields) Descriptor

func (TestReservedEnumFields) Enum

func (TestReservedEnumFields) EnumDescriptor deprecated

func (TestReservedEnumFields) EnumDescriptor() ([]byte, []int)

Deprecated: Use TestReservedEnumFields.Descriptor instead.

func (TestReservedEnumFields) Number

func (TestReservedEnumFields) String

func (x TestReservedEnumFields) String() string

func (TestReservedEnumFields) Type

func (*TestReservedEnumFields) UnmarshalJSON deprecated

func (x *TestReservedEnumFields) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type TestReservedFields

type TestReservedFields struct {
	// contains filtered or unexported fields
}

func (*TestReservedFields) Descriptor deprecated

func (*TestReservedFields) Descriptor() ([]byte, []int)

Deprecated: Use TestReservedFields.ProtoReflect.Descriptor instead.

func (*TestReservedFields) ProtoMessage

func (*TestReservedFields) ProtoMessage()

func (*TestReservedFields) ProtoReflect

func (x *TestReservedFields) ProtoReflect() protoreflect.Message

func (*TestReservedFields) Reset

func (x *TestReservedFields) Reset()

func (*TestReservedFields) String

func (x *TestReservedFields) String() string

type TestUnpackedExtensions

type TestUnpackedExtensions struct {
	// contains filtered or unexported fields
}

func (*TestUnpackedExtensions) Descriptor deprecated

func (*TestUnpackedExtensions) Descriptor() ([]byte, []int)

Deprecated: Use TestUnpackedExtensions.ProtoReflect.Descriptor instead.

func (*TestUnpackedExtensions) ProtoMessage

func (*TestUnpackedExtensions) ProtoMessage()

func (*TestUnpackedExtensions) ProtoReflect

func (x *TestUnpackedExtensions) ProtoReflect() protoreflect.Message

func (*TestUnpackedExtensions) Reset

func (x *TestUnpackedExtensions) Reset()

func (*TestUnpackedExtensions) String

func (x *TestUnpackedExtensions) String() string

type TestUnpackedTypes

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 `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TestUnpackedTypes) Descriptor deprecated

func (*TestUnpackedTypes) Descriptor() ([]byte, []int)

Deprecated: Use TestUnpackedTypes.ProtoReflect.Descriptor instead.

func (*TestUnpackedTypes) GetUnpackedBool

func (x *TestUnpackedTypes) GetUnpackedBool() []bool

func (*TestUnpackedTypes) GetUnpackedDouble

func (x *TestUnpackedTypes) GetUnpackedDouble() []float64

func (*TestUnpackedTypes) GetUnpackedEnum

func (x *TestUnpackedTypes) GetUnpackedEnum() []ForeignEnum

func (*TestUnpackedTypes) GetUnpackedFixed32

func (x *TestUnpackedTypes) GetUnpackedFixed32() []uint32

func (*TestUnpackedTypes) GetUnpackedFixed64

func (x *TestUnpackedTypes) GetUnpackedFixed64() []uint64

func (*TestUnpackedTypes) GetUnpackedFloat

func (x *TestUnpackedTypes) GetUnpackedFloat() []float32

func (*TestUnpackedTypes) GetUnpackedInt32

func (x *TestUnpackedTypes) GetUnpackedInt32() []int32

func (*TestUnpackedTypes) GetUnpackedInt64

func (x *TestUnpackedTypes) GetUnpackedInt64() []int64

func (*TestUnpackedTypes) GetUnpackedSfixed32

func (x *TestUnpackedTypes) GetUnpackedSfixed32() []int32

func (*TestUnpackedTypes) GetUnpackedSfixed64

func (x *TestUnpackedTypes) GetUnpackedSfixed64() []int64

func (*TestUnpackedTypes) GetUnpackedSint32

func (x *TestUnpackedTypes) GetUnpackedSint32() []int32

func (*TestUnpackedTypes) GetUnpackedSint64

func (x *TestUnpackedTypes) GetUnpackedSint64() []int64

func (*TestUnpackedTypes) GetUnpackedUint32

func (x *TestUnpackedTypes) GetUnpackedUint32() []uint32

func (*TestUnpackedTypes) GetUnpackedUint64

func (x *TestUnpackedTypes) GetUnpackedUint64() []uint64

func (*TestUnpackedTypes) ProtoMessage

func (*TestUnpackedTypes) ProtoMessage()

func (*TestUnpackedTypes) ProtoReflect

func (x *TestUnpackedTypes) ProtoReflect() protoreflect.Message

func (*TestUnpackedTypes) Reset

func (x *TestUnpackedTypes) Reset()

func (*TestUnpackedTypes) String

func (x *TestUnpackedTypes) String() string

type TestWeak

type TestWeak struct {
	XXX_weak_WeakMessage1 struct{} `` /* 138-byte string literal not displayed */
	XXX_weak_WeakMessage2 struct{} `` /* 138-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TestWeak) Descriptor deprecated

func (*TestWeak) Descriptor() ([]byte, []int)

Deprecated: Use TestWeak.ProtoReflect.Descriptor instead.

func (*TestWeak) GetWeakMessage1

func (x *TestWeak) GetWeakMessage1() proto.Message

func (*TestWeak) GetWeakMessage2

func (x *TestWeak) GetWeakMessage2() proto.Message

func (*TestWeak) ProtoMessage

func (*TestWeak) ProtoMessage()

func (*TestWeak) ProtoReflect

func (x *TestWeak) ProtoReflect() protoreflect.Message

func (*TestWeak) Reset

func (x *TestWeak) Reset()

func (*TestWeak) SetWeakMessage1

func (x *TestWeak) SetWeakMessage1(v proto.Message)

func (*TestWeak) SetWeakMessage2

func (x *TestWeak) SetWeakMessage2(v proto.Message)

func (*TestWeak) String

func (x *TestWeak) String() string

type WeirdDefault

type WeirdDefault struct {
	WeirdDefault []byte `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*WeirdDefault) Descriptor deprecated

func (*WeirdDefault) Descriptor() ([]byte, []int)

Deprecated: Use WeirdDefault.ProtoReflect.Descriptor instead.

func (*WeirdDefault) GetWeirdDefault

func (x *WeirdDefault) GetWeirdDefault() []byte

func (*WeirdDefault) ProtoMessage

func (*WeirdDefault) ProtoMessage()

func (*WeirdDefault) ProtoReflect

func (x *WeirdDefault) ProtoReflect() protoreflect.Message

func (*WeirdDefault) Reset

func (x *WeirdDefault) Reset()

func (*WeirdDefault) String

func (x *WeirdDefault) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL