test3

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

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 (
	// optional int32 optional_int32 = 1001;
	E_OptionalInt32 = &file_internal_testprotos_test3_test_extension_proto_extTypes[0]
	// optional int64 optional_int64 = 1002;
	E_OptionalInt64 = &file_internal_testprotos_test3_test_extension_proto_extTypes[1]
	// optional uint32 optional_uint32 = 1003;
	E_OptionalUint32 = &file_internal_testprotos_test3_test_extension_proto_extTypes[2]
	// optional uint64 optional_uint64 = 1004;
	E_OptionalUint64 = &file_internal_testprotos_test3_test_extension_proto_extTypes[3]
	// optional sint32 optional_sint32 = 1005;
	E_OptionalSint32 = &file_internal_testprotos_test3_test_extension_proto_extTypes[4]
	// optional sint64 optional_sint64 = 1006;
	E_OptionalSint64 = &file_internal_testprotos_test3_test_extension_proto_extTypes[5]
	// optional fixed32 optional_fixed32 = 1007;
	E_OptionalFixed32 = &file_internal_testprotos_test3_test_extension_proto_extTypes[6]
	// optional fixed64 optional_fixed64 = 1008;
	E_OptionalFixed64 = &file_internal_testprotos_test3_test_extension_proto_extTypes[7]
	// optional sfixed32 optional_sfixed32 = 1009;
	E_OptionalSfixed32 = &file_internal_testprotos_test3_test_extension_proto_extTypes[8]
	// optional sfixed64 optional_sfixed64 = 1010;
	E_OptionalSfixed64 = &file_internal_testprotos_test3_test_extension_proto_extTypes[9]
	// optional float optional_float = 1011;
	E_OptionalFloat = &file_internal_testprotos_test3_test_extension_proto_extTypes[10]
	// optional double optional_double = 1012;
	E_OptionalDouble = &file_internal_testprotos_test3_test_extension_proto_extTypes[11]
	// optional bool optional_bool = 1013;
	E_OptionalBool = &file_internal_testprotos_test3_test_extension_proto_extTypes[12]
	// optional string optional_string = 1014;
	E_OptionalString = &file_internal_testprotos_test3_test_extension_proto_extTypes[13]
	// optional bytes optional_bytes = 1015;
	E_OptionalBytes = &file_internal_testprotos_test3_test_extension_proto_extTypes[14]
	// optional goproto.proto.test3.ForeignMessage optional_foreign_message = 1016;
	E_OptionalForeignMessage = &file_internal_testprotos_test3_test_extension_proto_extTypes[15]
	// optional goproto.proto.test3.ForeignEnum optional_foreign_enum = 1017;
	E_OptionalForeignEnum = &file_internal_testprotos_test3_test_extension_proto_extTypes[16]
	// optional int32 optional_optional_int32 = 2001;
	E_OptionalOptionalInt32 = &file_internal_testprotos_test3_test_extension_proto_extTypes[17]
	// optional int64 optional_optional_int64 = 2002;
	E_OptionalOptionalInt64 = &file_internal_testprotos_test3_test_extension_proto_extTypes[18]
	// optional uint32 optional_optional_uint32 = 2003;
	E_OptionalOptionalUint32 = &file_internal_testprotos_test3_test_extension_proto_extTypes[19]
	// optional uint64 optional_optional_uint64 = 2004;
	E_OptionalOptionalUint64 = &file_internal_testprotos_test3_test_extension_proto_extTypes[20]
	// optional sint32 optional_optional_sint32 = 2005;
	E_OptionalOptionalSint32 = &file_internal_testprotos_test3_test_extension_proto_extTypes[21]
	// optional sint64 optional_optional_sint64 = 2006;
	E_OptionalOptionalSint64 = &file_internal_testprotos_test3_test_extension_proto_extTypes[22]
	// optional fixed32 optional_optional_fixed32 = 2007;
	E_OptionalOptionalFixed32 = &file_internal_testprotos_test3_test_extension_proto_extTypes[23]
	// optional fixed64 optional_optional_fixed64 = 2008;
	E_OptionalOptionalFixed64 = &file_internal_testprotos_test3_test_extension_proto_extTypes[24]
	// optional sfixed32 optional_optional_sfixed32 = 2009;
	E_OptionalOptionalSfixed32 = &file_internal_testprotos_test3_test_extension_proto_extTypes[25]
	// optional sfixed64 optional_optional_sfixed64 = 2010;
	E_OptionalOptionalSfixed64 = &file_internal_testprotos_test3_test_extension_proto_extTypes[26]
	// optional float optional_optional_float = 2011;
	E_OptionalOptionalFloat = &file_internal_testprotos_test3_test_extension_proto_extTypes[27]
	// optional double optional_optional_double = 2012;
	E_OptionalOptionalDouble = &file_internal_testprotos_test3_test_extension_proto_extTypes[28]
	// optional bool optional_optional_bool = 2013;
	E_OptionalOptionalBool = &file_internal_testprotos_test3_test_extension_proto_extTypes[29]
	// optional string optional_optional_string = 2014;
	E_OptionalOptionalString = &file_internal_testprotos_test3_test_extension_proto_extTypes[30]
	// optional bytes optional_optional_bytes = 2015;
	E_OptionalOptionalBytes = &file_internal_testprotos_test3_test_extension_proto_extTypes[31]
	// optional goproto.proto.test3.ForeignMessage optional_optional_foreign_message = 2016;
	E_OptionalOptionalForeignMessage = &file_internal_testprotos_test3_test_extension_proto_extTypes[32]
	// optional goproto.proto.test3.ForeignEnum optional_optional_foreign_enum = 2017;
	E_OptionalOptionalForeignEnum = &file_internal_testprotos_test3_test_extension_proto_extTypes[33]
)

Extension fields to descriptorpb.MessageOptions.

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 File_internal_testprotos_test3_test_extension_proto protoreflect.FileDescriptor
View Source
var File_internal_testprotos_test3_test_import_proto protoreflect.FileDescriptor
View Source
var File_internal_testprotos_test3_test_proto protoreflect.FileDescriptor

Functions

This section is empty.

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

type ForeignMessage

type ForeignMessage struct {
	C int32 `protobuf:"varint,1,opt,name=c,proto3" json:"c,omitempty"`
	D int32 `protobuf:"varint,2,opt,name=d,proto3" json:"d,omitempty"`
	// contains filtered or unexported fields
}

func (*ForeignMessage) Descriptor deprecated

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

Deprecated: Use ForeignMessage.ProtoReflect.Descriptor instead.

func (*ForeignMessage) GetC

func (x *ForeignMessage) GetC() int32

func (*ForeignMessage) GetD

func (x *ForeignMessage) GetD() int32

func (*ForeignMessage) ProtoMessage

func (*ForeignMessage) ProtoMessage()

func (*ForeignMessage) ProtoReflect

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

func (*ForeignMessage) Reset

func (x *ForeignMessage) Reset()

func (*ForeignMessage) String

func (x *ForeignMessage) String() string

type 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

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 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            `` /* 127-byte string literal not displayed */
	SingularForeignMessage *ForeignMessage                        `` /* 130-byte string literal not displayed */
	SingularImportMessage  *ImportMessage                         `` /* 128-byte string literal not displayed */
	SingularNestedEnum     TestAllTypes_NestedEnum                `` /* 169-byte string literal not displayed */
	SingularForeignEnum    ForeignEnum                            `` /* 160-byte string literal not displayed */
	SingularImportEnum     ImportEnum                             `` /* 156-byte string literal not displayed */
	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            `` /* 133-byte string literal not displayed */
	OptionalForeignMessage *ForeignMessage                        `` /* 136-byte string literal not displayed */
	OptionalImportMessage  *ImportMessage                         `` /* 133-byte string literal not displayed */
	OptionalNestedEnum     *TestAllTypes_NestedEnum               `` /* 174-byte string literal not displayed */
	OptionalForeignEnum    *ForeignEnum                           `` /* 165-byte string literal not displayed */
	OptionalImportEnum     *ImportEnum                            `` /* 161-byte string literal not displayed */
	RepeatedInt32          []int32                                `protobuf:"varint,31,rep,packed,name=repeated_int32,json=repeatedInt32,proto3" json:"repeated_int32,omitempty"`
	RepeatedInt64          []int64                                `protobuf:"varint,32,rep,packed,name=repeated_int64,json=repeatedInt64,proto3" json:"repeated_int64,omitempty"`
	RepeatedUint32         []uint32                               `protobuf:"varint,33,rep,packed,name=repeated_uint32,json=repeatedUint32,proto3" json:"repeated_uint32,omitempty"`
	RepeatedUint64         []uint64                               `protobuf:"varint,34,rep,packed,name=repeated_uint64,json=repeatedUint64,proto3" json:"repeated_uint64,omitempty"`
	RepeatedSint32         []int32                                `protobuf:"zigzag32,35,rep,packed,name=repeated_sint32,json=repeatedSint32,proto3" json:"repeated_sint32,omitempty"`
	RepeatedSint64         []int64                                `protobuf:"zigzag64,36,rep,packed,name=repeated_sint64,json=repeatedSint64,proto3" json:"repeated_sint64,omitempty"`
	RepeatedFixed32        []uint32                               `protobuf:"fixed32,37,rep,packed,name=repeated_fixed32,json=repeatedFixed32,proto3" json:"repeated_fixed32,omitempty"`
	RepeatedFixed64        []uint64                               `protobuf:"fixed64,38,rep,packed,name=repeated_fixed64,json=repeatedFixed64,proto3" json:"repeated_fixed64,omitempty"`
	RepeatedSfixed32       []int32                                `protobuf:"fixed32,39,rep,packed,name=repeated_sfixed32,json=repeatedSfixed32,proto3" json:"repeated_sfixed32,omitempty"`
	RepeatedSfixed64       []int64                                `protobuf:"fixed64,40,rep,packed,name=repeated_sfixed64,json=repeatedSfixed64,proto3" json:"repeated_sfixed64,omitempty"`
	RepeatedFloat          []float32                              `protobuf:"fixed32,41,rep,packed,name=repeated_float,json=repeatedFloat,proto3" json:"repeated_float,omitempty"`
	RepeatedDouble         []float64                              `protobuf:"fixed64,42,rep,packed,name=repeated_double,json=repeatedDouble,proto3" json:"repeated_double,omitempty"`
	RepeatedBool           []bool                                 `protobuf:"varint,43,rep,packed,name=repeated_bool,json=repeatedBool,proto3" json:"repeated_bool,omitempty"`
	RepeatedString         []string                               `protobuf:"bytes,44,rep,name=repeated_string,json=repeatedString,proto3" json:"repeated_string,omitempty"`
	RepeatedBytes          [][]byte                               `protobuf:"bytes,45,rep,name=repeated_bytes,json=repeatedBytes,proto3" json:"repeated_bytes,omitempty"`
	RepeatedNestedMessage  []*TestAllTypes_NestedMessage          `` /* 127-byte string literal not displayed */
	RepeatedForeignMessage []*ForeignMessage                      `` /* 130-byte string literal not displayed */
	RepeatedImportmessage  []*ImportMessage                       `protobuf:"bytes,50,rep,name=repeated_importmessage,json=repeatedImportmessage,proto3" json:"repeated_importmessage,omitempty"`
	RepeatedNestedEnum     []TestAllTypes_NestedEnum              `` /* 175-byte string literal not displayed */
	RepeatedForeignEnum    []ForeignEnum                          `` /* 166-byte string literal not displayed */
	RepeatedImportenum     []ImportEnum                           `` /* 160-byte string literal not displayed */
	MapInt32Int32          map[int32]int32                        `` /* 193-byte string literal not displayed */
	MapInt64Int64          map[int64]int64                        `` /* 193-byte string literal not displayed */
	MapUint32Uint32        map[uint32]uint32                      `` /* 199-byte string literal not displayed */
	MapUint64Uint64        map[uint64]uint64                      `` /* 199-byte string literal not displayed */
	MapSint32Sint32        map[int32]int32                        `` /* 203-byte string literal not displayed */
	MapSint64Sint64        map[int64]int64                        `` /* 203-byte string literal not displayed */
	MapFixed32Fixed32      map[uint32]uint32                      `` /* 207-byte string literal not displayed */
	MapFixed64Fixed64      map[uint64]uint64                      `` /* 207-byte string literal not displayed */
	MapSfixed32Sfixed32    map[int32]int32                        `` /* 213-byte string literal not displayed */
	MapSfixed64Sfixed64    map[int64]int64                        `` /* 213-byte string literal not displayed */
	MapInt32Float          map[int32]float32                      `` /* 194-byte string literal not displayed */
	MapInt32Double         map[int32]float64                      `` /* 197-byte string literal not displayed */
	MapBoolBool            map[bool]bool                          `` /* 187-byte string literal not displayed */
	MapStringString        map[string]string                      `` /* 197-byte string literal not displayed */
	MapStringBytes         map[string][]byte                      `` /* 194-byte string literal not displayed */
	MapStringNestedMessage map[string]*TestAllTypes_NestedMessage `` /* 220-byte string literal not displayed */
	MapStringNestedEnum    map[string]TestAllTypes_NestedEnum     `` /* 261-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
	OneofField isTestAllTypes_OneofField `protobuf_oneof:"oneof_field"`
	// contains filtered or unexported fields
}

func (*TestAllTypes) Descriptor deprecated

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 (m *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) 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

type TestAllTypes_NestedMessage

type TestAllTypes_NestedMessage struct {
	A           int32         `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"`
	Corecursive *TestAllTypes `protobuf:"bytes,2,opt,name=corecursive,proto3" json:"corecursive,omitempty"`
	// contains filtered or unexported fields
}

func (*TestAllTypes_NestedMessage) Descriptor deprecated

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

Deprecated: Use TestAllTypes_NestedMessage.ProtoReflect.Descriptor instead.

func (*TestAllTypes_NestedMessage) GetA

func (*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,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"`
}

Jump to

Keyboard shortcuts

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