package test3
import "google.golang.org/protobuf/internal/testprotos/test3"
Index ¶
- Variables
- type ForeignEnum
- func (ForeignEnum) Descriptor() protoreflect.EnumDescriptor
- func (x ForeignEnum) Enum() *ForeignEnum
- func (ForeignEnum) EnumDescriptor() ([]byte, []int)
- func (x ForeignEnum) Number() protoreflect.EnumNumber
- func (x ForeignEnum) String() string
- func (ForeignEnum) Type() protoreflect.EnumType
- type ForeignMessage
- func (*ForeignMessage) Descriptor() ([]byte, []int)
- 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
- func (ImportEnum) Descriptor() protoreflect.EnumDescriptor
- func (x ImportEnum) Enum() *ImportEnum
- func (ImportEnum) EnumDescriptor() ([]byte, []int)
- func (x ImportEnum) Number() protoreflect.EnumNumber
- func (x ImportEnum) String() string
- func (ImportEnum) Type() protoreflect.EnumType
- type ImportMessage
- func (*ImportMessage) Descriptor() ([]byte, []int)
- func (*ImportMessage) ProtoMessage()
- func (x *ImportMessage) ProtoReflect() protoreflect.Message
- func (x *ImportMessage) Reset()
- func (x *ImportMessage) String() string
- type TestAllTypes
- func (*TestAllTypes) Descriptor() ([]byte, []int)
- 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 (x *TestAllTypes) GetOneofField() isTestAllTypes_OneofField
- func (x *TestAllTypes) GetOneofFloat() float32
- func (x *TestAllTypes) GetOneofNestedMessage() *TestAllTypes_NestedMessage
- func (x *TestAllTypes) GetOneofString() string
- func (x *TestAllTypes) GetOneofUint32() uint32
- func (x *TestAllTypes) GetOneofUint64() uint64
- 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) 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) GetSingularBool() bool
- func (x *TestAllTypes) GetSingularBytes() []byte
- func (x *TestAllTypes) GetSingularDouble() float64
- func (x *TestAllTypes) GetSingularFixed32() uint32
- func (x *TestAllTypes) GetSingularFixed64() uint64
- func (x *TestAllTypes) GetSingularFloat() float32
- func (x *TestAllTypes) GetSingularForeignEnum() ForeignEnum
- func (x *TestAllTypes) GetSingularForeignMessage() *ForeignMessage
- func (x *TestAllTypes) GetSingularImportEnum() ImportEnum
- func (x *TestAllTypes) GetSingularImportMessage() *ImportMessage
- func (x *TestAllTypes) GetSingularInt32() int32
- func (x *TestAllTypes) GetSingularInt64() int64
- func (x *TestAllTypes) GetSingularNestedEnum() TestAllTypes_NestedEnum
- func (x *TestAllTypes) GetSingularNestedMessage() *TestAllTypes_NestedMessage
- func (x *TestAllTypes) GetSingularSfixed32() int32
- func (x *TestAllTypes) GetSingularSfixed64() int64
- func (x *TestAllTypes) GetSingularSint32() int32
- func (x *TestAllTypes) GetSingularSint64() int64
- func (x *TestAllTypes) GetSingularString() string
- func (x *TestAllTypes) GetSingularUint32() uint32
- func (x *TestAllTypes) GetSingularUint64() uint64
- func (*TestAllTypes) ProtoMessage()
- func (x *TestAllTypes) ProtoReflect() protoreflect.Message
- func (x *TestAllTypes) Reset()
- func (x *TestAllTypes) String() string
- type TestAllTypes_NestedEnum
- func (TestAllTypes_NestedEnum) Descriptor() protoreflect.EnumDescriptor
- func (x TestAllTypes_NestedEnum) Enum() *TestAllTypes_NestedEnum
- func (TestAllTypes_NestedEnum) EnumDescriptor() ([]byte, []int)
- func (x TestAllTypes_NestedEnum) Number() protoreflect.EnumNumber
- func (x TestAllTypes_NestedEnum) String() string
- func (TestAllTypes_NestedEnum) Type() protoreflect.EnumType
- type TestAllTypes_NestedMessage
- func (*TestAllTypes_NestedMessage) Descriptor() ([]byte, []int)
- 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
- type TestAllTypes_OneofBytes
- type TestAllTypes_OneofDouble
- type TestAllTypes_OneofEnum
- type TestAllTypes_OneofFloat
- type TestAllTypes_OneofNestedMessage
- type TestAllTypes_OneofString
- type TestAllTypes_OneofUint32
- type TestAllTypes_OneofUint64
Variables ¶
var ( ForeignEnum_name = map[int32]string{ 0: "FOREIGN_ZERO", 4: "FOREIGN_FOO", 5: "FOREIGN_BAR", 6: "FOREIGN_BAZ", } ForeignEnum_value = map[string]int32{ "FOREIGN_ZERO": 0, "FOREIGN_FOO": 4, "FOREIGN_BAR": 5, "FOREIGN_BAZ": 6, } )
Enum value maps for ForeignEnum.
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.
var ( // optional int32 optional_int32_ext = 1001; E_OptionalInt32Ext = &file_internal_testprotos_test3_test_extension_proto_extTypes[0] // optional int64 optional_int64_ext = 1002; E_OptionalInt64Ext = &file_internal_testprotos_test3_test_extension_proto_extTypes[1] // optional uint32 optional_uint32_ext = 1003; E_OptionalUint32Ext = &file_internal_testprotos_test3_test_extension_proto_extTypes[2] // optional uint64 optional_uint64_ext = 1004; E_OptionalUint64Ext = &file_internal_testprotos_test3_test_extension_proto_extTypes[3] // optional sint32 optional_sint32_ext = 1005; E_OptionalSint32Ext = &file_internal_testprotos_test3_test_extension_proto_extTypes[4] // optional sint64 optional_sint64_ext = 1006; E_OptionalSint64Ext = &file_internal_testprotos_test3_test_extension_proto_extTypes[5] // optional fixed32 optional_fixed32_ext = 1007; E_OptionalFixed32Ext = &file_internal_testprotos_test3_test_extension_proto_extTypes[6] // optional fixed64 optional_fixed64_ext = 1008; E_OptionalFixed64Ext = &file_internal_testprotos_test3_test_extension_proto_extTypes[7] // optional sfixed32 optional_sfixed32_ext = 1009; E_OptionalSfixed32Ext = &file_internal_testprotos_test3_test_extension_proto_extTypes[8] // optional sfixed64 optional_sfixed64_ext = 1010; E_OptionalSfixed64Ext = &file_internal_testprotos_test3_test_extension_proto_extTypes[9] // optional float optional_float_ext = 1011; E_OptionalFloatExt = &file_internal_testprotos_test3_test_extension_proto_extTypes[10] // optional double optional_double_ext = 1012; E_OptionalDoubleExt = &file_internal_testprotos_test3_test_extension_proto_extTypes[11] // optional bool optional_bool_ext = 1013; E_OptionalBoolExt = &file_internal_testprotos_test3_test_extension_proto_extTypes[12] // optional string optional_string_ext = 1014; E_OptionalStringExt = &file_internal_testprotos_test3_test_extension_proto_extTypes[13] // optional bytes optional_bytes_ext = 1015; E_OptionalBytesExt = &file_internal_testprotos_test3_test_extension_proto_extTypes[14] // optional goproto.proto.test3.ForeignMessage optional_foreign_message_ext = 1016; E_OptionalForeignMessageExt = &file_internal_testprotos_test3_test_extension_proto_extTypes[15] // optional goproto.proto.test3.ForeignEnum optional_foreign_enum_ext = 1017; E_OptionalForeignEnumExt = &file_internal_testprotos_test3_test_extension_proto_extTypes[16] // optional int32 optional_optional_int32_ext = 2001; E_OptionalOptionalInt32Ext = &file_internal_testprotos_test3_test_extension_proto_extTypes[17] // optional int64 optional_optional_int64_ext = 2002; E_OptionalOptionalInt64Ext = &file_internal_testprotos_test3_test_extension_proto_extTypes[18] // optional uint32 optional_optional_uint32_ext = 2003; E_OptionalOptionalUint32Ext = &file_internal_testprotos_test3_test_extension_proto_extTypes[19] // optional uint64 optional_optional_uint64_ext = 2004; E_OptionalOptionalUint64Ext = &file_internal_testprotos_test3_test_extension_proto_extTypes[20] // optional sint32 optional_optional_sint32_ext = 2005; E_OptionalOptionalSint32Ext = &file_internal_testprotos_test3_test_extension_proto_extTypes[21] // optional sint64 optional_optional_sint64_ext = 2006; E_OptionalOptionalSint64Ext = &file_internal_testprotos_test3_test_extension_proto_extTypes[22] // optional fixed32 optional_optional_fixed32_ext = 2007; E_OptionalOptionalFixed32Ext = &file_internal_testprotos_test3_test_extension_proto_extTypes[23] // optional fixed64 optional_optional_fixed64_ext = 2008; E_OptionalOptionalFixed64Ext = &file_internal_testprotos_test3_test_extension_proto_extTypes[24] // optional sfixed32 optional_optional_sfixed32_ext = 2009; E_OptionalOptionalSfixed32Ext = &file_internal_testprotos_test3_test_extension_proto_extTypes[25] // optional sfixed64 optional_optional_sfixed64_ext = 2010; E_OptionalOptionalSfixed64Ext = &file_internal_testprotos_test3_test_extension_proto_extTypes[26] // optional float optional_optional_float_ext = 2011; E_OptionalOptionalFloatExt = &file_internal_testprotos_test3_test_extension_proto_extTypes[27] // optional double optional_optional_double_ext = 2012; E_OptionalOptionalDoubleExt = &file_internal_testprotos_test3_test_extension_proto_extTypes[28] // optional bool optional_optional_bool_ext = 2013; E_OptionalOptionalBoolExt = &file_internal_testprotos_test3_test_extension_proto_extTypes[29] // optional string optional_optional_string_ext = 2014; E_OptionalOptionalStringExt = &file_internal_testprotos_test3_test_extension_proto_extTypes[30] // optional bytes optional_optional_bytes_ext = 2015; E_OptionalOptionalBytesExt = &file_internal_testprotos_test3_test_extension_proto_extTypes[31] // optional goproto.proto.test3.ForeignMessage optional_optional_foreign_message_ext = 2016; E_OptionalOptionalForeignMessageExt = &file_internal_testprotos_test3_test_extension_proto_extTypes[32] // optional goproto.proto.test3.ForeignEnum optional_optional_foreign_enum_ext = 2017; E_OptionalOptionalForeignEnumExt = &file_internal_testprotos_test3_test_extension_proto_extTypes[33] // repeated int32 repeated_int32_ext = 3001; E_RepeatedInt32Ext = &file_internal_testprotos_test3_test_extension_proto_extTypes[34] // repeated int64 repeated_int64_ext = 3002; E_RepeatedInt64Ext = &file_internal_testprotos_test3_test_extension_proto_extTypes[35] // repeated uint32 repeated_uint32_ext = 3003; E_RepeatedUint32Ext = &file_internal_testprotos_test3_test_extension_proto_extTypes[36] // repeated uint64 repeated_uint64_ext = 3004; E_RepeatedUint64Ext = &file_internal_testprotos_test3_test_extension_proto_extTypes[37] // repeated sint32 repeated_sint32_ext = 3005; E_RepeatedSint32Ext = &file_internal_testprotos_test3_test_extension_proto_extTypes[38] // repeated sint64 repeated_sint64_ext = 3006; E_RepeatedSint64Ext = &file_internal_testprotos_test3_test_extension_proto_extTypes[39] // repeated fixed32 repeated_fixed32_ext = 3007; E_RepeatedFixed32Ext = &file_internal_testprotos_test3_test_extension_proto_extTypes[40] // repeated fixed64 repeated_fixed64_ext = 3008; E_RepeatedFixed64Ext = &file_internal_testprotos_test3_test_extension_proto_extTypes[41] // repeated sfixed32 repeated_sfixed32_ext = 3009; E_RepeatedSfixed32Ext = &file_internal_testprotos_test3_test_extension_proto_extTypes[42] // repeated sfixed64 repeated_sfixed64_ext = 3010; E_RepeatedSfixed64Ext = &file_internal_testprotos_test3_test_extension_proto_extTypes[43] // repeated float repeated_float_ext = 3011; E_RepeatedFloatExt = &file_internal_testprotos_test3_test_extension_proto_extTypes[44] // repeated double repeated_double_ext = 3012; E_RepeatedDoubleExt = &file_internal_testprotos_test3_test_extension_proto_extTypes[45] // repeated bool repeated_bool_ext = 3013; E_RepeatedBoolExt = &file_internal_testprotos_test3_test_extension_proto_extTypes[46] // repeated string repeated_string_ext = 3014; E_RepeatedStringExt = &file_internal_testprotos_test3_test_extension_proto_extTypes[47] // repeated bytes repeated_bytes_ext = 3015; E_RepeatedBytesExt = &file_internal_testprotos_test3_test_extension_proto_extTypes[48] // repeated goproto.proto.test3.ForeignMessage repeated_foreign_message_ext = 3016; E_RepeatedForeignMessageExt = &file_internal_testprotos_test3_test_extension_proto_extTypes[49] // repeated goproto.proto.test3.ForeignEnum repeated_foreign_enum_ext = 3017; E_RepeatedForeignEnumExt = &file_internal_testprotos_test3_test_extension_proto_extTypes[50] )
Extension fields to descriptorpb.MessageOptions.
var ( ImportEnum_name = map[int32]string{ 0: "IMPORT_ZERO", } ImportEnum_value = map[string]int32{ "IMPORT_ZERO": 0, } )
Enum value maps for ImportEnum.
var File_internal_testprotos_test3_test_extension_proto protoreflect.FileDescriptor
var File_internal_testprotos_test3_test_import_proto protoreflect.FileDescriptor
var File_internal_testprotos_test3_test_proto protoreflect.FileDescriptor
Types ¶
type ForeignEnum ¶
type ForeignEnum int32
const ( ForeignEnum_FOREIGN_ZERO ForeignEnum = 0 ForeignEnum_FOREIGN_FOO ForeignEnum = 4 ForeignEnum_FOREIGN_BAR ForeignEnum = 5 ForeignEnum_FOREIGN_BAZ ForeignEnum = 6 )
func (ForeignEnum) Descriptor ¶
func (ForeignEnum) Descriptor() protoreflect.EnumDescriptor
func (ForeignEnum) Enum ¶
func (x ForeignEnum) Enum() *ForeignEnum
func (ForeignEnum) EnumDescriptor ¶
func (ForeignEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ForeignEnum.Descriptor instead.
func (ForeignEnum) Number ¶
func (x ForeignEnum) Number() protoreflect.EnumNumber
func (ForeignEnum) String ¶
func (x ForeignEnum) String() string
func (ForeignEnum) Type ¶
func (ForeignEnum) Type() protoreflect.EnumType
type ForeignMessage ¶
type ForeignMessage struct { C int32 `protobuf:"varint,1,opt,name=c,proto3" json:"c,omitempty"` D int32 `protobuf:"varint,2,opt,name=d,proto3" json:"d,omitempty"` // contains filtered or unexported fields }
func (*ForeignMessage) Descriptor ¶
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 ¶
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) Type() protoreflect.EnumType
type ImportMessage ¶
type ImportMessage struct {
// contains filtered or unexported fields
}
func (*ImportMessage) Descriptor ¶
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 TestAllTypes ¶
type TestAllTypes struct { SingularInt32 int32 `protobuf:"varint,81,opt,name=singular_int32,json=singularInt32,proto3" json:"singular_int32,omitempty"` SingularInt64 int64 `protobuf:"varint,82,opt,name=singular_int64,json=singularInt64,proto3" json:"singular_int64,omitempty"` SingularUint32 uint32 `protobuf:"varint,83,opt,name=singular_uint32,json=singularUint32,proto3" json:"singular_uint32,omitempty"` SingularUint64 uint64 `protobuf:"varint,84,opt,name=singular_uint64,json=singularUint64,proto3" json:"singular_uint64,omitempty"` SingularSint32 int32 `protobuf:"zigzag32,85,opt,name=singular_sint32,json=singularSint32,proto3" json:"singular_sint32,omitempty"` SingularSint64 int64 `protobuf:"zigzag64,86,opt,name=singular_sint64,json=singularSint64,proto3" json:"singular_sint64,omitempty"` SingularFixed32 uint32 `protobuf:"fixed32,87,opt,name=singular_fixed32,json=singularFixed32,proto3" json:"singular_fixed32,omitempty"` SingularFixed64 uint64 `protobuf:"fixed64,88,opt,name=singular_fixed64,json=singularFixed64,proto3" json:"singular_fixed64,omitempty"` SingularSfixed32 int32 `protobuf:"fixed32,89,opt,name=singular_sfixed32,json=singularSfixed32,proto3" json:"singular_sfixed32,omitempty"` SingularSfixed64 int64 `protobuf:"fixed64,90,opt,name=singular_sfixed64,json=singularSfixed64,proto3" json:"singular_sfixed64,omitempty"` SingularFloat float32 `protobuf:"fixed32,91,opt,name=singular_float,json=singularFloat,proto3" json:"singular_float,omitempty"` SingularDouble float64 `protobuf:"fixed64,92,opt,name=singular_double,json=singularDouble,proto3" json:"singular_double,omitempty"` SingularBool bool `protobuf:"varint,93,opt,name=singular_bool,json=singularBool,proto3" json:"singular_bool,omitempty"` SingularString string `protobuf:"bytes,94,opt,name=singular_string,json=singularString,proto3" json:"singular_string,omitempty"` SingularBytes []byte `protobuf:"bytes,95,opt,name=singular_bytes,json=singularBytes,proto3" json:"singular_bytes,omitempty"` SingularNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,98,opt,name=singular_nested_message,json=singularNestedMessage,proto3" json:"singular_nested_message,omitempty"` SingularForeignMessage *ForeignMessage `protobuf:"bytes,99,opt,name=singular_foreign_message,json=singularForeignMessage,proto3" json:"singular_foreign_message,omitempty"` SingularImportMessage *ImportMessage `protobuf:"bytes,100,opt,name=singular_import_message,json=singularImportMessage,proto3" json:"singular_import_message,omitempty"` SingularNestedEnum TestAllTypes_NestedEnum `protobuf:"varint,101,opt,name=singular_nested_enum,json=singularNestedEnum,proto3,enum=goproto.proto.test3.TestAllTypes_NestedEnum" json:"singular_nested_enum,omitempty"` SingularForeignEnum ForeignEnum `protobuf:"varint,102,opt,name=singular_foreign_enum,json=singularForeignEnum,proto3,enum=goproto.proto.test3.ForeignEnum" json:"singular_foreign_enum,omitempty"` SingularImportEnum ImportEnum `protobuf:"varint,103,opt,name=singular_import_enum,json=singularImportEnum,proto3,enum=goproto.proto.test3.ImportEnum" json:"singular_import_enum,omitempty"` OptionalInt32 *int32 `protobuf:"varint,1,opt,name=optional_int32,json=optionalInt32,proto3,oneof" json:"optional_int32,omitempty"` OptionalInt64 *int64 `protobuf:"varint,2,opt,name=optional_int64,json=optionalInt64,proto3,oneof" json:"optional_int64,omitempty"` OptionalUint32 *uint32 `protobuf:"varint,3,opt,name=optional_uint32,json=optionalUint32,proto3,oneof" json:"optional_uint32,omitempty"` OptionalUint64 *uint64 `protobuf:"varint,4,opt,name=optional_uint64,json=optionalUint64,proto3,oneof" json:"optional_uint64,omitempty"` OptionalSint32 *int32 `protobuf:"zigzag32,5,opt,name=optional_sint32,json=optionalSint32,proto3,oneof" json:"optional_sint32,omitempty"` OptionalSint64 *int64 `protobuf:"zigzag64,6,opt,name=optional_sint64,json=optionalSint64,proto3,oneof" json:"optional_sint64,omitempty"` OptionalFixed32 *uint32 `protobuf:"fixed32,7,opt,name=optional_fixed32,json=optionalFixed32,proto3,oneof" json:"optional_fixed32,omitempty"` OptionalFixed64 *uint64 `protobuf:"fixed64,8,opt,name=optional_fixed64,json=optionalFixed64,proto3,oneof" json:"optional_fixed64,omitempty"` OptionalSfixed32 *int32 `protobuf:"fixed32,9,opt,name=optional_sfixed32,json=optionalSfixed32,proto3,oneof" json:"optional_sfixed32,omitempty"` OptionalSfixed64 *int64 `protobuf:"fixed64,10,opt,name=optional_sfixed64,json=optionalSfixed64,proto3,oneof" json:"optional_sfixed64,omitempty"` OptionalFloat *float32 `protobuf:"fixed32,11,opt,name=optional_float,json=optionalFloat,proto3,oneof" json:"optional_float,omitempty"` OptionalDouble *float64 `protobuf:"fixed64,12,opt,name=optional_double,json=optionalDouble,proto3,oneof" json:"optional_double,omitempty"` OptionalBool *bool `protobuf:"varint,13,opt,name=optional_bool,json=optionalBool,proto3,oneof" json:"optional_bool,omitempty"` OptionalString *string `protobuf:"bytes,14,opt,name=optional_string,json=optionalString,proto3,oneof" json:"optional_string,omitempty"` OptionalBytes []byte `protobuf:"bytes,15,opt,name=optional_bytes,json=optionalBytes,proto3,oneof" json:"optional_bytes,omitempty"` OptionalNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,18,opt,name=optional_nested_message,json=optionalNestedMessage,proto3,oneof" json:"optional_nested_message,omitempty"` OptionalForeignMessage *ForeignMessage `protobuf:"bytes,19,opt,name=optional_foreign_message,json=optionalForeignMessage,proto3,oneof" json:"optional_foreign_message,omitempty"` OptionalImportMessage *ImportMessage `protobuf:"bytes,20,opt,name=optional_import_message,json=optionalImportMessage,proto3,oneof" json:"optional_import_message,omitempty"` OptionalNestedEnum *TestAllTypes_NestedEnum `protobuf:"varint,21,opt,name=optional_nested_enum,json=optionalNestedEnum,proto3,enum=goproto.proto.test3.TestAllTypes_NestedEnum,oneof" json:"optional_nested_enum,omitempty"` OptionalForeignEnum *ForeignEnum `protobuf:"varint,22,opt,name=optional_foreign_enum,json=optionalForeignEnum,proto3,enum=goproto.proto.test3.ForeignEnum,oneof" json:"optional_foreign_enum,omitempty"` OptionalImportEnum *ImportEnum `protobuf:"varint,23,opt,name=optional_import_enum,json=optionalImportEnum,proto3,enum=goproto.proto.test3.ImportEnum,oneof" json:"optional_import_enum,omitempty"` RepeatedInt32 []int32 `protobuf:"varint,31,rep,packed,name=repeated_int32,json=repeatedInt32,proto3" json:"repeated_int32,omitempty"` RepeatedInt64 []int64 `protobuf:"varint,32,rep,packed,name=repeated_int64,json=repeatedInt64,proto3" json:"repeated_int64,omitempty"` RepeatedUint32 []uint32 `protobuf:"varint,33,rep,packed,name=repeated_uint32,json=repeatedUint32,proto3" json:"repeated_uint32,omitempty"` RepeatedUint64 []uint64 `protobuf:"varint,34,rep,packed,name=repeated_uint64,json=repeatedUint64,proto3" json:"repeated_uint64,omitempty"` RepeatedSint32 []int32 `protobuf:"zigzag32,35,rep,packed,name=repeated_sint32,json=repeatedSint32,proto3" json:"repeated_sint32,omitempty"` RepeatedSint64 []int64 `protobuf:"zigzag64,36,rep,packed,name=repeated_sint64,json=repeatedSint64,proto3" json:"repeated_sint64,omitempty"` RepeatedFixed32 []uint32 `protobuf:"fixed32,37,rep,packed,name=repeated_fixed32,json=repeatedFixed32,proto3" json:"repeated_fixed32,omitempty"` RepeatedFixed64 []uint64 `protobuf:"fixed64,38,rep,packed,name=repeated_fixed64,json=repeatedFixed64,proto3" json:"repeated_fixed64,omitempty"` RepeatedSfixed32 []int32 `protobuf:"fixed32,39,rep,packed,name=repeated_sfixed32,json=repeatedSfixed32,proto3" json:"repeated_sfixed32,omitempty"` RepeatedSfixed64 []int64 `protobuf:"fixed64,40,rep,packed,name=repeated_sfixed64,json=repeatedSfixed64,proto3" json:"repeated_sfixed64,omitempty"` RepeatedFloat []float32 `protobuf:"fixed32,41,rep,packed,name=repeated_float,json=repeatedFloat,proto3" json:"repeated_float,omitempty"` RepeatedDouble []float64 `protobuf:"fixed64,42,rep,packed,name=repeated_double,json=repeatedDouble,proto3" json:"repeated_double,omitempty"` RepeatedBool []bool `protobuf:"varint,43,rep,packed,name=repeated_bool,json=repeatedBool,proto3" json:"repeated_bool,omitempty"` RepeatedString []string `protobuf:"bytes,44,rep,name=repeated_string,json=repeatedString,proto3" json:"repeated_string,omitempty"` RepeatedBytes [][]byte `protobuf:"bytes,45,rep,name=repeated_bytes,json=repeatedBytes,proto3" json:"repeated_bytes,omitempty"` RepeatedNestedMessage []*TestAllTypes_NestedMessage `protobuf:"bytes,48,rep,name=repeated_nested_message,json=repeatedNestedMessage,proto3" json:"repeated_nested_message,omitempty"` RepeatedForeignMessage []*ForeignMessage `protobuf:"bytes,49,rep,name=repeated_foreign_message,json=repeatedForeignMessage,proto3" json:"repeated_foreign_message,omitempty"` RepeatedImportmessage []*ImportMessage `protobuf:"bytes,50,rep,name=repeated_importmessage,json=repeatedImportmessage,proto3" json:"repeated_importmessage,omitempty"` RepeatedNestedEnum []TestAllTypes_NestedEnum `protobuf:"varint,51,rep,packed,name=repeated_nested_enum,json=repeatedNestedEnum,proto3,enum=goproto.proto.test3.TestAllTypes_NestedEnum" json:"repeated_nested_enum,omitempty"` RepeatedForeignEnum []ForeignEnum `protobuf:"varint,52,rep,packed,name=repeated_foreign_enum,json=repeatedForeignEnum,proto3,enum=goproto.proto.test3.ForeignEnum" json:"repeated_foreign_enum,omitempty"` RepeatedImportenum []ImportEnum `protobuf:"varint,53,rep,packed,name=repeated_importenum,json=repeatedImportenum,proto3,enum=goproto.proto.test3.ImportEnum" json:"repeated_importenum,omitempty"` MapInt32Int32 map[int32]int32 `protobuf:"bytes,56,rep,name=map_int32_int32,json=mapInt32Int32,proto3" 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,proto3" 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,proto3" 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,proto3" 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,proto3" 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,proto3" 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,proto3" 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,proto3" 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,proto3" 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,proto3" 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,proto3" 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,proto3" 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,proto3" 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,proto3" 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,proto3" 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,proto3" 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,proto3" json:"map_string_nested_enum,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=goproto.proto.test3.TestAllTypes_NestedEnum"` // Types that are valid to be assigned to OneofField: // // *TestAllTypes_OneofUint32 // *TestAllTypes_OneofNestedMessage // *TestAllTypes_OneofString // *TestAllTypes_OneofBytes // *TestAllTypes_OneofBool // *TestAllTypes_OneofUint64 // *TestAllTypes_OneofFloat // *TestAllTypes_OneofDouble // *TestAllTypes_OneofEnum OneofField isTestAllTypes_OneofField `protobuf_oneof:"oneof_field"` // contains filtered or unexported fields }
func (*TestAllTypes) Descriptor ¶
func (*TestAllTypes) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypes.ProtoReflect.Descriptor instead.
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 (x *TestAllTypes) GetOneofField() isTestAllTypes_OneofField
func (*TestAllTypes) GetOneofFloat ¶
func (x *TestAllTypes) GetOneofFloat() float32
func (*TestAllTypes) GetOneofNestedMessage ¶
func (x *TestAllTypes) GetOneofNestedMessage() *TestAllTypes_NestedMessage
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) 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) 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) GetSingularBool ¶
func (x *TestAllTypes) GetSingularBool() bool
func (*TestAllTypes) GetSingularBytes ¶
func (x *TestAllTypes) GetSingularBytes() []byte
func (*TestAllTypes) GetSingularDouble ¶
func (x *TestAllTypes) GetSingularDouble() float64
func (*TestAllTypes) GetSingularFixed32 ¶
func (x *TestAllTypes) GetSingularFixed32() uint32
func (*TestAllTypes) GetSingularFixed64 ¶
func (x *TestAllTypes) GetSingularFixed64() uint64
func (*TestAllTypes) GetSingularFloat ¶
func (x *TestAllTypes) GetSingularFloat() float32
func (*TestAllTypes) GetSingularForeignEnum ¶
func (x *TestAllTypes) GetSingularForeignEnum() ForeignEnum
func (*TestAllTypes) GetSingularForeignMessage ¶
func (x *TestAllTypes) GetSingularForeignMessage() *ForeignMessage
func (*TestAllTypes) GetSingularImportEnum ¶
func (x *TestAllTypes) GetSingularImportEnum() ImportEnum
func (*TestAllTypes) GetSingularImportMessage ¶
func (x *TestAllTypes) GetSingularImportMessage() *ImportMessage
func (*TestAllTypes) GetSingularInt32 ¶
func (x *TestAllTypes) GetSingularInt32() int32
func (*TestAllTypes) GetSingularInt64 ¶
func (x *TestAllTypes) GetSingularInt64() int64
func (*TestAllTypes) GetSingularNestedEnum ¶
func (x *TestAllTypes) GetSingularNestedEnum() TestAllTypes_NestedEnum
func (*TestAllTypes) GetSingularNestedMessage ¶
func (x *TestAllTypes) GetSingularNestedMessage() *TestAllTypes_NestedMessage
func (*TestAllTypes) GetSingularSfixed32 ¶
func (x *TestAllTypes) GetSingularSfixed32() int32
func (*TestAllTypes) GetSingularSfixed64 ¶
func (x *TestAllTypes) GetSingularSfixed64() int64
func (*TestAllTypes) GetSingularSint32 ¶
func (x *TestAllTypes) GetSingularSint32() int32
func (*TestAllTypes) GetSingularSint64 ¶
func (x *TestAllTypes) GetSingularSint64() int64
func (*TestAllTypes) GetSingularString ¶
func (x *TestAllTypes) GetSingularString() string
func (*TestAllTypes) GetSingularUint32 ¶
func (x *TestAllTypes) GetSingularUint32() uint32
func (*TestAllTypes) GetSingularUint64 ¶
func (x *TestAllTypes) GetSingularUint64() uint64
func (*TestAllTypes) ProtoMessage ¶
func (*TestAllTypes) ProtoMessage()
func (*TestAllTypes) ProtoReflect ¶
func (x *TestAllTypes) ProtoReflect() protoreflect.Message
func (*TestAllTypes) Reset ¶
func (x *TestAllTypes) Reset()
func (*TestAllTypes) String ¶
func (x *TestAllTypes) String() string
type TestAllTypes_NestedEnum ¶
type TestAllTypes_NestedEnum int32
const ( TestAllTypes_FOO TestAllTypes_NestedEnum = 0 TestAllTypes_BAR TestAllTypes_NestedEnum = 1 TestAllTypes_BAZ TestAllTypes_NestedEnum = 2 TestAllTypes_NEG TestAllTypes_NestedEnum = -1 // Intentionally negative. )
func (TestAllTypes_NestedEnum) Descriptor ¶
func (TestAllTypes_NestedEnum) Descriptor() protoreflect.EnumDescriptor
func (TestAllTypes_NestedEnum) Enum ¶
func (x TestAllTypes_NestedEnum) Enum() *TestAllTypes_NestedEnum
func (TestAllTypes_NestedEnum) EnumDescriptor ¶
func (TestAllTypes_NestedEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use TestAllTypes_NestedEnum.Descriptor instead.
func (TestAllTypes_NestedEnum) Number ¶
func (x TestAllTypes_NestedEnum) Number() protoreflect.EnumNumber
func (TestAllTypes_NestedEnum) String ¶
func (x TestAllTypes_NestedEnum) String() string
func (TestAllTypes_NestedEnum) Type ¶
func (TestAllTypes_NestedEnum) Type() protoreflect.EnumType
type TestAllTypes_NestedMessage ¶
type TestAllTypes_NestedMessage struct { A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"` Corecursive *TestAllTypes `protobuf:"bytes,2,opt,name=corecursive,proto3" json:"corecursive,omitempty"` // contains filtered or unexported fields }
func (*TestAllTypes_NestedMessage) Descriptor ¶
func (*TestAllTypes_NestedMessage) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypes_NestedMessage.ProtoReflect.Descriptor instead.
func (*TestAllTypes_NestedMessage) GetA ¶
func (x *TestAllTypes_NestedMessage) GetA() int32
func (*TestAllTypes_NestedMessage) GetCorecursive ¶
func (x *TestAllTypes_NestedMessage) GetCorecursive() *TestAllTypes
func (*TestAllTypes_NestedMessage) ProtoMessage ¶
func (*TestAllTypes_NestedMessage) ProtoMessage()
func (*TestAllTypes_NestedMessage) ProtoReflect ¶
func (x *TestAllTypes_NestedMessage) ProtoReflect() protoreflect.Message
func (*TestAllTypes_NestedMessage) Reset ¶
func (x *TestAllTypes_NestedMessage) Reset()
func (*TestAllTypes_NestedMessage) String ¶
func (x *TestAllTypes_NestedMessage) String() string
type TestAllTypes_OneofBool ¶
type TestAllTypes_OneofBool struct { OneofBool bool `protobuf:"varint,115,opt,name=oneof_bool,json=oneofBool,proto3,oneof"` }
type TestAllTypes_OneofBytes ¶
type TestAllTypes_OneofBytes struct { OneofBytes []byte `protobuf:"bytes,114,opt,name=oneof_bytes,json=oneofBytes,proto3,oneof"` }
type TestAllTypes_OneofDouble ¶
type TestAllTypes_OneofDouble struct { OneofDouble float64 `protobuf:"fixed64,118,opt,name=oneof_double,json=oneofDouble,proto3,oneof"` }
type TestAllTypes_OneofEnum ¶
type TestAllTypes_OneofEnum struct { OneofEnum TestAllTypes_NestedEnum `protobuf:"varint,119,opt,name=oneof_enum,json=oneofEnum,proto3,enum=goproto.proto.test3.TestAllTypes_NestedEnum,oneof"` }
type TestAllTypes_OneofFloat ¶
type TestAllTypes_OneofFloat struct { OneofFloat float32 `protobuf:"fixed32,117,opt,name=oneof_float,json=oneofFloat,proto3,oneof"` }
type TestAllTypes_OneofNestedMessage ¶
type TestAllTypes_OneofNestedMessage struct { OneofNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,112,opt,name=oneof_nested_message,json=oneofNestedMessage,proto3,oneof"` }
type TestAllTypes_OneofString ¶
type TestAllTypes_OneofString struct { OneofString string `protobuf:"bytes,113,opt,name=oneof_string,json=oneofString,proto3,oneof"` }
type TestAllTypes_OneofUint32 ¶
type TestAllTypes_OneofUint32 struct { OneofUint32 uint32 `protobuf:"varint,111,opt,name=oneof_uint32,json=oneofUint32,proto3,oneof"` }
type TestAllTypes_OneofUint64 ¶
type TestAllTypes_OneofUint64 struct { OneofUint64 uint64 `protobuf:"varint,116,opt,name=oneof_uint64,json=oneofUint64,proto3,oneof"` }
Source Files ¶
test.pb.go test_extension.pb.go test_import.pb.go
Directories ¶
Path | Synopsis |
---|---|
internal/testprotos/test3/test3_hybrid | |
internal/testprotos/test3/test3_opaque |
- Version
- v1.36.5 (latest)
- Published
- Feb 6, 2025
- Platform
- linux/amd64
- Imports
- 6 packages
- Last checked
- 10 hours ago –
Tools for package owners.