proto2_proto

package
v0.38.6 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Default_GoTest_F_BoolDefaulted     = bool(true)
	Default_GoTest_F_Int32Defaulted    = int32(32)
	Default_GoTest_F_Int64Defaulted    = int64(64)
	Default_GoTest_F_Fixed32Defaulted  = uint32(320)
	Default_GoTest_F_Fixed64Defaulted  = uint64(640)
	Default_GoTest_F_Uint32Defaulted   = uint32(3200)
	Default_GoTest_F_Uint64Defaulted   = uint64(6400)
	Default_GoTest_F_FloatDefaulted    = float32(314159)
	Default_GoTest_F_DoubleDefaulted   = float64(271828)
	Default_GoTest_F_StringDefaulted   = string("hello, \"world!\"\n")
	Default_GoTest_F_Sint32Defaulted   = int32(-32)
	Default_GoTest_F_Sint64Defaulted   = int64(-64)
	Default_GoTest_F_Sfixed32Defaulted = int32(-32)
	Default_GoTest_F_Sfixed64Defaulted = int64(-64)
)

Default values for GoTest fields.

View Source
const (
	Default_Defaults_F_Bool    = bool(true)
	Default_Defaults_F_Int32   = int32(32)
	Default_Defaults_F_Int64   = int64(64)
	Default_Defaults_F_Fixed32 = uint32(320)
	Default_Defaults_F_Fixed64 = uint64(640)
	Default_Defaults_F_Uint32  = uint32(3200)
	Default_Defaults_F_Uint64  = uint64(6400)
	Default_Defaults_F_Float   = float32(314159)
	Default_Defaults_F_Double  = float64(271828)
	Default_Defaults_F_String  = string("hello, \"world!\"\n")
	Default_Defaults_F_Sint32  = int32(-32)
	Default_Defaults_F_Sint64  = int64(-64)
	Default_Defaults_F_Enum    = Defaults_GREEN
	Default_Defaults_StrZero   = string("")
)

Default values for Defaults fields.

View Source
const (
	Default_InnerMessage_Port = int32(4000)
)

Default values for InnerMessage fields.

View Source
const (
	Default_SubDefaults_N = int64(7)
)

Default values for SubDefaults fields.

Variables

View Source
var (
	FOO_name = map[int32]string{
		1: "FOO1",
	}
	FOO_value = map[string]int32{
		"FOO1": 1,
	}
)

Enum value maps for FOO.

View Source
var (
	GoTest_KIND_name = map[int32]string{
		0:  "VOID",
		1:  "BOOL",
		2:  "BYTES",
		3:  "FINGERPRINT",
		4:  "FLOAT",
		5:  "INT",
		6:  "STRING",
		7:  "TIME",
		8:  "TUPLE",
		9:  "ARRAY",
		10: "MAP",
		11: "TABLE",
		12: "FUNCTION",
	}
	GoTest_KIND_value = map[string]int32{
		"VOID":        0,
		"BOOL":        1,
		"BYTES":       2,
		"FINGERPRINT": 3,
		"FLOAT":       4,
		"INT":         5,
		"STRING":      6,
		"TIME":        7,
		"TUPLE":       8,
		"ARRAY":       9,
		"MAP":         10,
		"TABLE":       11,
		"FUNCTION":    12,
	}
)

Enum value maps for GoTest_KIND.

View Source
var (
	MyMessage_Color_name = map[int32]string{
		0: "RED",
		1: "GREEN",
		2: "BLUE",
	}
	MyMessage_Color_value = map[string]int32{
		"RED":   0,
		"GREEN": 1,
		"BLUE":  2,
	}
)

Enum value maps for MyMessage_Color.

View Source
var (
	DefaultsMessage_DefaultsEnum_name = map[int32]string{
		0: "ZERO",
		1: "ONE",
		2: "TWO",
	}
	DefaultsMessage_DefaultsEnum_value = map[string]int32{
		"ZERO": 0,
		"ONE":  1,
		"TWO":  2,
	}
)

Enum value maps for DefaultsMessage_DefaultsEnum.

View Source
var (
	Defaults_Color_name = map[int32]string{
		0: "RED",
		1: "GREEN",
		2: "BLUE",
	}
	Defaults_Color_value = map[string]int32{
		"RED":   0,
		"GREEN": 1,
		"BLUE":  2,
	}
)

Enum value maps for Defaults_Color.

View Source
var (
	RepeatedEnum_Color_name = map[int32]string{
		1: "RED",
	}
	RepeatedEnum_Color_value = map[string]int32{
		"RED": 1,
	}
)

Enum value maps for RepeatedEnum_Color.

View Source
var (
	Default_Defaults_F_Bytes = []byte("Bignose")
	Default_Defaults_F_Pinf  = float32(math.Inf(+1))
	Default_Defaults_F_Ninf  = float32(math.Inf(-1))
	Default_Defaults_F_Nan   = float32(math.NaN())
)

Default values for Defaults fields.

View Source
var (
	// repeated string greeting = 106;
	E_Greeting = &file_proto2_proto_test_proto_extTypes[0] // leave field 200 unregistered for testing
	// optional proto2_test.Ext more = 103;
	E_Ext_More = &file_proto2_proto_test_proto_extTypes[35]
	// optional string text = 104;
	E_Ext_Text = &file_proto2_proto_test_proto_extTypes[36]
	// optional int32 number = 105;
	E_Ext_Number = &file_proto2_proto_test_proto_extTypes[37]
)

Extension fields to MyMessage.

View Source
var (
	// optional proto2_test.ComplexExtension complex = 200;
	E_Complex = &file_proto2_proto_test_proto_extTypes[1]
	// repeated proto2_test.ComplexExtension r_complex = 201;
	E_RComplex = &file_proto2_proto_test_proto_extTypes[2]
)

Extension fields to OtherMessage.

View Source
var (
	// optional double no_default_double = 101;
	E_NoDefaultDouble = &file_proto2_proto_test_proto_extTypes[3]
	// optional float no_default_float = 102;
	E_NoDefaultFloat = &file_proto2_proto_test_proto_extTypes[4]
	// optional int32 no_default_int32 = 103;
	E_NoDefaultInt32 = &file_proto2_proto_test_proto_extTypes[5]
	// optional int64 no_default_int64 = 104;
	E_NoDefaultInt64 = &file_proto2_proto_test_proto_extTypes[6]
	// optional uint32 no_default_uint32 = 105;
	E_NoDefaultUint32 = &file_proto2_proto_test_proto_extTypes[7]
	// optional uint64 no_default_uint64 = 106;
	E_NoDefaultUint64 = &file_proto2_proto_test_proto_extTypes[8]
	// optional sint32 no_default_sint32 = 107;
	E_NoDefaultSint32 = &file_proto2_proto_test_proto_extTypes[9]
	// optional sint64 no_default_sint64 = 108;
	E_NoDefaultSint64 = &file_proto2_proto_test_proto_extTypes[10]
	// optional fixed32 no_default_fixed32 = 109;
	E_NoDefaultFixed32 = &file_proto2_proto_test_proto_extTypes[11]
	// optional fixed64 no_default_fixed64 = 110;
	E_NoDefaultFixed64 = &file_proto2_proto_test_proto_extTypes[12]
	// optional sfixed32 no_default_sfixed32 = 111;
	E_NoDefaultSfixed32 = &file_proto2_proto_test_proto_extTypes[13]
	// optional sfixed64 no_default_sfixed64 = 112;
	E_NoDefaultSfixed64 = &file_proto2_proto_test_proto_extTypes[14]
	// optional bool no_default_bool = 113;
	E_NoDefaultBool = &file_proto2_proto_test_proto_extTypes[15]
	// optional string no_default_string = 114;
	E_NoDefaultString = &file_proto2_proto_test_proto_extTypes[16]
	// optional bytes no_default_bytes = 115;
	E_NoDefaultBytes = &file_proto2_proto_test_proto_extTypes[17]
	// optional proto2_test.DefaultsMessage.DefaultsEnum no_default_enum = 116;
	E_NoDefaultEnum = &file_proto2_proto_test_proto_extTypes[18]
	// optional double default_double = 201;
	E_DefaultDouble = &file_proto2_proto_test_proto_extTypes[19]
	// optional float default_float = 202;
	E_DefaultFloat = &file_proto2_proto_test_proto_extTypes[20]
	// optional int32 default_int32 = 203;
	E_DefaultInt32 = &file_proto2_proto_test_proto_extTypes[21]
	// optional int64 default_int64 = 204;
	E_DefaultInt64 = &file_proto2_proto_test_proto_extTypes[22]
	// optional uint32 default_uint32 = 205;
	E_DefaultUint32 = &file_proto2_proto_test_proto_extTypes[23]
	// optional uint64 default_uint64 = 206;
	E_DefaultUint64 = &file_proto2_proto_test_proto_extTypes[24]
	// optional sint32 default_sint32 = 207;
	E_DefaultSint32 = &file_proto2_proto_test_proto_extTypes[25]
	// optional sint64 default_sint64 = 208;
	E_DefaultSint64 = &file_proto2_proto_test_proto_extTypes[26]
	// optional fixed32 default_fixed32 = 209;
	E_DefaultFixed32 = &file_proto2_proto_test_proto_extTypes[27]
	// optional fixed64 default_fixed64 = 210;
	E_DefaultFixed64 = &file_proto2_proto_test_proto_extTypes[28]
	// optional sfixed32 default_sfixed32 = 211;
	E_DefaultSfixed32 = &file_proto2_proto_test_proto_extTypes[29]
	// optional sfixed64 default_sfixed64 = 212;
	E_DefaultSfixed64 = &file_proto2_proto_test_proto_extTypes[30]
	// optional bool default_bool = 213;
	E_DefaultBool = &file_proto2_proto_test_proto_extTypes[31]
	// optional string default_string = 214;
	E_DefaultString = &file_proto2_proto_test_proto_extTypes[32]
	// optional bytes default_bytes = 215;
	E_DefaultBytes = &file_proto2_proto_test_proto_extTypes[33]
	// optional proto2_test.DefaultsMessage.DefaultsEnum default_enum = 216;
	E_DefaultEnum = &file_proto2_proto_test_proto_extTypes[34]
)

Extension fields to DefaultsMessage.

View Source
var (
	Default_GoTest_F_BytesDefaulted = []byte("Bignose")
)

Default values for GoTest fields.

View Source
var File_proto2_proto_test_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Communique

type Communique struct {
	MakeMeCry *bool `protobuf:"varint,1,opt,name=make_me_cry,json=makeMeCry" json:"make_me_cry,omitempty"`
	// This is a oneof, called "union".
	//
	// Types that are assignable to Union:
	//	*Communique_Number
	//	*Communique_Name
	//	*Communique_Data
	//	*Communique_TempC
	//	*Communique_Col
	//	*Communique_Msg
	Union isCommunique_Union `protobuf_oneof:"union"`
	// contains filtered or unexported fields
}

func (*Communique) Descriptor deprecated

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

Deprecated: Use Communique.ProtoReflect.Descriptor instead.

func (*Communique) GetCol

func (x *Communique) GetCol() MyMessage_Color

func (*Communique) GetData

func (x *Communique) GetData() []byte

func (*Communique) GetMakeMeCry

func (x *Communique) GetMakeMeCry() bool

func (*Communique) GetMsg

func (x *Communique) GetMsg() *Strings

func (*Communique) GetName

func (x *Communique) GetName() string

func (*Communique) GetNumber

func (x *Communique) GetNumber() int32

func (*Communique) GetTempC

func (x *Communique) GetTempC() float64

func (*Communique) GetUnion

func (m *Communique) GetUnion() isCommunique_Union

func (*Communique) ProtoMessage

func (*Communique) ProtoMessage()

func (*Communique) ProtoReflect

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

func (*Communique) Reset

func (x *Communique) Reset()

func (*Communique) String

func (x *Communique) String() string

type Communique_Col

type Communique_Col struct {
	Col MyMessage_Color `protobuf:"varint,9,opt,name=col,enum=proto2_test.MyMessage_Color,oneof"`
}

type Communique_Data

type Communique_Data struct {
	Data []byte `protobuf:"bytes,7,opt,name=data,oneof"`
}

type Communique_Msg

type Communique_Msg struct {
	Msg *Strings `protobuf:"bytes,10,opt,name=msg,oneof"`
}

type Communique_Name

type Communique_Name struct {
	Name string `protobuf:"bytes,6,opt,name=name,oneof"`
}

type Communique_Number

type Communique_Number struct {
	Number int32 `protobuf:"varint,5,opt,name=number,oneof"`
}

type Communique_TempC

type Communique_TempC struct {
	TempC float64 `protobuf:"fixed64,8,opt,name=temp_c,json=tempC,oneof"`
}

type ComplexExtension

type ComplexExtension struct {
	First  *int32  `protobuf:"varint,1,opt,name=first" json:"first,omitempty"`
	Second *int32  `protobuf:"varint,2,opt,name=second" json:"second,omitempty"`
	Third  []int32 `protobuf:"varint,3,rep,name=third" json:"third,omitempty"`
	// contains filtered or unexported fields
}

func (*ComplexExtension) Descriptor deprecated

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

Deprecated: Use ComplexExtension.ProtoReflect.Descriptor instead.

func (*ComplexExtension) GetFirst

func (x *ComplexExtension) GetFirst() int32

func (*ComplexExtension) GetSecond

func (x *ComplexExtension) GetSecond() int32

func (*ComplexExtension) GetThird

func (x *ComplexExtension) GetThird() []int32

func (*ComplexExtension) ProtoMessage

func (*ComplexExtension) ProtoMessage()

func (*ComplexExtension) ProtoReflect

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

func (*ComplexExtension) Reset

func (x *ComplexExtension) Reset()

func (*ComplexExtension) String

func (x *ComplexExtension) String() string

type Defaults

type Defaults struct {

	// Default-valued fields of all basic types.
	// Same as GoTest, but copied here to make testing easier.
	F_Bool    *bool           `protobuf:"varint,1,opt,name=F_Bool,json=FBool,def=1" json:"F_Bool,omitempty"`
	F_Int32   *int32          `protobuf:"varint,2,opt,name=F_Int32,json=FInt32,def=32" json:"F_Int32,omitempty"`
	F_Int64   *int64          `protobuf:"varint,3,opt,name=F_Int64,json=FInt64,def=64" json:"F_Int64,omitempty"`
	F_Fixed32 *uint32         `protobuf:"fixed32,4,opt,name=F_Fixed32,json=FFixed32,def=320" json:"F_Fixed32,omitempty"`
	F_Fixed64 *uint64         `protobuf:"fixed64,5,opt,name=F_Fixed64,json=FFixed64,def=640" json:"F_Fixed64,omitempty"`
	F_Uint32  *uint32         `protobuf:"varint,6,opt,name=F_Uint32,json=FUint32,def=3200" json:"F_Uint32,omitempty"`
	F_Uint64  *uint64         `protobuf:"varint,7,opt,name=F_Uint64,json=FUint64,def=6400" json:"F_Uint64,omitempty"`
	F_Float   *float32        `protobuf:"fixed32,8,opt,name=F_Float,json=FFloat,def=314159" json:"F_Float,omitempty"`
	F_Double  *float64        `protobuf:"fixed64,9,opt,name=F_Double,json=FDouble,def=271828" json:"F_Double,omitempty"`
	F_String  *string         `protobuf:"bytes,10,opt,name=F_String,json=FString,def=hello, \"world!\"\n" json:"F_String,omitempty"`
	F_Bytes   []byte          `protobuf:"bytes,11,opt,name=F_Bytes,json=FBytes,def=Bignose" json:"F_Bytes,omitempty"`
	F_Sint32  *int32          `protobuf:"zigzag32,12,opt,name=F_Sint32,json=FSint32,def=-32" json:"F_Sint32,omitempty"`
	F_Sint64  *int64          `protobuf:"zigzag64,13,opt,name=F_Sint64,json=FSint64,def=-64" json:"F_Sint64,omitempty"`
	F_Enum    *Defaults_Color `protobuf:"varint,14,opt,name=F_Enum,json=FEnum,enum=proto2_test.Defaults_Color,def=1" json:"F_Enum,omitempty"`
	// More fields with crazy defaults.
	F_Pinf *float32 `protobuf:"fixed32,15,opt,name=F_Pinf,json=FPinf,def=inf" json:"F_Pinf,omitempty"`
	F_Ninf *float32 `protobuf:"fixed32,16,opt,name=F_Ninf,json=FNinf,def=-inf" json:"F_Ninf,omitempty"`
	F_Nan  *float32 `protobuf:"fixed32,17,opt,name=F_Nan,json=FNan,def=nan" json:"F_Nan,omitempty"`
	// Sub-message.
	Sub *SubDefaults `protobuf:"bytes,18,opt,name=sub" json:"sub,omitempty"`
	// Redundant but explicit defaults.
	StrZero *string `protobuf:"bytes,19,opt,name=str_zero,json=strZero,def=" json:"str_zero,omitempty"`
	// contains filtered or unexported fields
}

func (*Defaults) Descriptor deprecated

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

Deprecated: Use Defaults.ProtoReflect.Descriptor instead.

func (*Defaults) GetF_Bool

func (x *Defaults) GetF_Bool() bool

func (*Defaults) GetF_Bytes

func (x *Defaults) GetF_Bytes() []byte

func (*Defaults) GetF_Double

func (x *Defaults) GetF_Double() float64

func (*Defaults) GetF_Enum

func (x *Defaults) GetF_Enum() Defaults_Color

func (*Defaults) GetF_Fixed32

func (x *Defaults) GetF_Fixed32() uint32

func (*Defaults) GetF_Fixed64

func (x *Defaults) GetF_Fixed64() uint64

func (*Defaults) GetF_Float

func (x *Defaults) GetF_Float() float32

func (*Defaults) GetF_Int32

func (x *Defaults) GetF_Int32() int32

func (*Defaults) GetF_Int64

func (x *Defaults) GetF_Int64() int64

func (*Defaults) GetF_Nan

func (x *Defaults) GetF_Nan() float32

func (*Defaults) GetF_Ninf

func (x *Defaults) GetF_Ninf() float32

func (*Defaults) GetF_Pinf

func (x *Defaults) GetF_Pinf() float32

func (*Defaults) GetF_Sint32

func (x *Defaults) GetF_Sint32() int32

func (*Defaults) GetF_Sint64

func (x *Defaults) GetF_Sint64() int64

func (*Defaults) GetF_String

func (x *Defaults) GetF_String() string

func (*Defaults) GetF_Uint32

func (x *Defaults) GetF_Uint32() uint32

func (*Defaults) GetF_Uint64

func (x *Defaults) GetF_Uint64() uint64

func (*Defaults) GetStrZero

func (x *Defaults) GetStrZero() string

func (*Defaults) GetSub

func (x *Defaults) GetSub() *SubDefaults

func (*Defaults) ProtoMessage

func (*Defaults) ProtoMessage()

func (*Defaults) ProtoReflect

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

func (*Defaults) Reset

func (x *Defaults) Reset()

func (*Defaults) String

func (x *Defaults) String() string

type DefaultsMessage

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

func (*DefaultsMessage) Descriptor deprecated

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

Deprecated: Use DefaultsMessage.ProtoReflect.Descriptor instead.

func (*DefaultsMessage) ExtensionRangeArray deprecated

func (*DefaultsMessage) ExtensionRangeArray() []protoiface.ExtensionRangeV1

Deprecated: Use DefaultsMessage.ProtoReflect.Descriptor.ExtensionRanges instead.

func (*DefaultsMessage) ProtoMessage

func (*DefaultsMessage) ProtoMessage()

func (*DefaultsMessage) ProtoReflect

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

func (*DefaultsMessage) Reset

func (x *DefaultsMessage) Reset()

func (*DefaultsMessage) String

func (x *DefaultsMessage) String() string

type DefaultsMessage_DefaultsEnum

type DefaultsMessage_DefaultsEnum int32
const (
	DefaultsMessage_ZERO DefaultsMessage_DefaultsEnum = 0
	DefaultsMessage_ONE  DefaultsMessage_DefaultsEnum = 1
	DefaultsMessage_TWO  DefaultsMessage_DefaultsEnum = 2
)

func (DefaultsMessage_DefaultsEnum) Descriptor

func (DefaultsMessage_DefaultsEnum) Enum

func (DefaultsMessage_DefaultsEnum) EnumDescriptor deprecated

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

Deprecated: Use DefaultsMessage_DefaultsEnum.Descriptor instead.

func (DefaultsMessage_DefaultsEnum) Number

func (DefaultsMessage_DefaultsEnum) String

func (DefaultsMessage_DefaultsEnum) Type

func (*DefaultsMessage_DefaultsEnum) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type Defaults_Color

type Defaults_Color int32
const (
	Defaults_RED   Defaults_Color = 0
	Defaults_GREEN Defaults_Color = 1
	Defaults_BLUE  Defaults_Color = 2
)

func (Defaults_Color) Descriptor

func (Defaults_Color) Enum

func (x Defaults_Color) Enum() *Defaults_Color

func (Defaults_Color) EnumDescriptor deprecated

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

Deprecated: Use Defaults_Color.Descriptor instead.

func (Defaults_Color) Number

func (Defaults_Color) String

func (x Defaults_Color) String() string

func (Defaults_Color) Type

func (*Defaults_Color) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type Empty

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

func (*Empty) Descriptor deprecated

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

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

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

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

type Ext

type Ext struct {
	Data     *string         `protobuf:"bytes,1,opt,name=data" json:"data,omitempty"`
	MapField map[int32]int32 `` /* 154-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Ext) Descriptor deprecated

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

Deprecated: Use Ext.ProtoReflect.Descriptor instead.

func (*Ext) GetData

func (x *Ext) GetData() string

func (*Ext) GetMapField

func (x *Ext) GetMapField() map[int32]int32

func (*Ext) ProtoMessage

func (*Ext) ProtoMessage()

func (*Ext) ProtoReflect

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

func (*Ext) Reset

func (x *Ext) Reset()

func (*Ext) String

func (x *Ext) String() string

type FOO

type FOO int32
const (
	FOO_FOO1 FOO = 1
)

func (FOO) Descriptor

func (FOO) Descriptor() protoreflect.EnumDescriptor

func (FOO) Enum

func (x FOO) Enum() *FOO

func (FOO) EnumDescriptor deprecated

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

Deprecated: Use FOO.Descriptor instead.

func (FOO) Number

func (x FOO) Number() protoreflect.EnumNumber

func (FOO) String

func (x FOO) String() string

func (FOO) Type

func (FOO) Type() protoreflect.EnumType

func (*FOO) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type FloatingPoint

type FloatingPoint struct {
	F     *float64 `protobuf:"fixed64,1,req,name=f" json:"f,omitempty"`
	Exact *bool    `protobuf:"varint,2,opt,name=exact" json:"exact,omitempty"`
	// contains filtered or unexported fields
}

func (*FloatingPoint) Descriptor deprecated

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

Deprecated: Use FloatingPoint.ProtoReflect.Descriptor instead.

func (*FloatingPoint) GetExact

func (x *FloatingPoint) GetExact() bool

func (*FloatingPoint) GetF

func (x *FloatingPoint) GetF() float64

func (*FloatingPoint) ProtoMessage

func (*FloatingPoint) ProtoMessage()

func (*FloatingPoint) ProtoReflect

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

func (*FloatingPoint) Reset

func (x *FloatingPoint) Reset()

func (*FloatingPoint) String

func (x *FloatingPoint) String() string

type GoEnum

type GoEnum struct {
	Foo *FOO `protobuf:"varint,1,req,name=foo,enum=proto2_test.FOO" json:"foo,omitempty"`
	// contains filtered or unexported fields
}

func (*GoEnum) Descriptor deprecated

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

Deprecated: Use GoEnum.ProtoReflect.Descriptor instead.

func (*GoEnum) GetFoo

func (x *GoEnum) GetFoo() FOO

func (*GoEnum) ProtoMessage

func (*GoEnum) ProtoMessage()

func (*GoEnum) ProtoReflect

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

func (*GoEnum) Reset

func (x *GoEnum) Reset()

func (*GoEnum) String

func (x *GoEnum) String() string

type GoSkipTest

type GoSkipTest struct {
	SkipInt32   *int32                `protobuf:"varint,11,req,name=skip_int32,json=skipInt32" json:"skip_int32,omitempty"`
	SkipFixed32 *uint32               `protobuf:"fixed32,12,req,name=skip_fixed32,json=skipFixed32" json:"skip_fixed32,omitempty"`
	SkipFixed64 *uint64               `protobuf:"fixed64,13,req,name=skip_fixed64,json=skipFixed64" json:"skip_fixed64,omitempty"`
	SkipString  *string               `protobuf:"bytes,14,req,name=skip_string,json=skipString" json:"skip_string,omitempty"`
	Skipgroup   *GoSkipTest_SkipGroup `protobuf:"group,15,req,name=SkipGroup,json=skipgroup" json:"skipgroup,omitempty"`
	// contains filtered or unexported fields
}

For testing skipping of unrecognized fields. Numbers are all big, larger than tag numbers in GoTestField, the message used in the corresponding test.

func (*GoSkipTest) Descriptor deprecated

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

Deprecated: Use GoSkipTest.ProtoReflect.Descriptor instead.

func (*GoSkipTest) GetSkipFixed32

func (x *GoSkipTest) GetSkipFixed32() uint32

func (*GoSkipTest) GetSkipFixed64

func (x *GoSkipTest) GetSkipFixed64() uint64

func (*GoSkipTest) GetSkipInt32

func (x *GoSkipTest) GetSkipInt32() int32

func (*GoSkipTest) GetSkipString

func (x *GoSkipTest) GetSkipString() string

func (*GoSkipTest) GetSkipgroup

func (x *GoSkipTest) GetSkipgroup() *GoSkipTest_SkipGroup

func (*GoSkipTest) ProtoMessage

func (*GoSkipTest) ProtoMessage()

func (*GoSkipTest) ProtoReflect

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

func (*GoSkipTest) Reset

func (x *GoSkipTest) Reset()

func (*GoSkipTest) String

func (x *GoSkipTest) String() string

type GoSkipTest_SkipGroup

type GoSkipTest_SkipGroup struct {
	GroupInt32  *int32  `protobuf:"varint,16,req,name=group_int32,json=groupInt32" json:"group_int32,omitempty"`
	GroupString *string `protobuf:"bytes,17,req,name=group_string,json=groupString" json:"group_string,omitempty"`
	// contains filtered or unexported fields
}

func (*GoSkipTest_SkipGroup) Descriptor deprecated

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

Deprecated: Use GoSkipTest_SkipGroup.ProtoReflect.Descriptor instead.

func (*GoSkipTest_SkipGroup) GetGroupInt32

func (x *GoSkipTest_SkipGroup) GetGroupInt32() int32

func (*GoSkipTest_SkipGroup) GetGroupString

func (x *GoSkipTest_SkipGroup) GetGroupString() string

func (*GoSkipTest_SkipGroup) ProtoMessage

func (*GoSkipTest_SkipGroup) ProtoMessage()

func (*GoSkipTest_SkipGroup) ProtoReflect

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

func (*GoSkipTest_SkipGroup) Reset

func (x *GoSkipTest_SkipGroup) Reset()

func (*GoSkipTest_SkipGroup) String

func (x *GoSkipTest_SkipGroup) String() string

type GoTest

type GoTest struct {

	// Some typical parameters
	Kind  *GoTest_KIND `protobuf:"varint,1,req,name=Kind,enum=proto2_test.GoTest_KIND" json:"Kind,omitempty"`
	Table *string      `protobuf:"bytes,2,opt,name=Table" json:"Table,omitempty"`
	Param *int32       `protobuf:"varint,3,opt,name=Param" json:"Param,omitempty"`
	// Required, repeated and optional foreign fields.
	RequiredField *GoTestField   `protobuf:"bytes,4,req,name=RequiredField" json:"RequiredField,omitempty"`
	RepeatedField []*GoTestField `protobuf:"bytes,5,rep,name=RepeatedField" json:"RepeatedField,omitempty"`
	OptionalField *GoTestField   `protobuf:"bytes,6,opt,name=OptionalField" json:"OptionalField,omitempty"`
	// Required fields of all basic types
	F_BoolRequired     *bool    `protobuf:"varint,10,req,name=F_Bool_required,json=FBoolRequired" json:"F_Bool_required,omitempty"`
	F_Int32Required    *int32   `protobuf:"varint,11,req,name=F_Int32_required,json=FInt32Required" json:"F_Int32_required,omitempty"`
	F_Int64Required    *int64   `protobuf:"varint,12,req,name=F_Int64_required,json=FInt64Required" json:"F_Int64_required,omitempty"`
	F_Fixed32Required  *uint32  `protobuf:"fixed32,13,req,name=F_Fixed32_required,json=FFixed32Required" json:"F_Fixed32_required,omitempty"`
	F_Fixed64Required  *uint64  `protobuf:"fixed64,14,req,name=F_Fixed64_required,json=FFixed64Required" json:"F_Fixed64_required,omitempty"`
	F_Uint32Required   *uint32  `protobuf:"varint,15,req,name=F_Uint32_required,json=FUint32Required" json:"F_Uint32_required,omitempty"`
	F_Uint64Required   *uint64  `protobuf:"varint,16,req,name=F_Uint64_required,json=FUint64Required" json:"F_Uint64_required,omitempty"`
	F_FloatRequired    *float32 `protobuf:"fixed32,17,req,name=F_Float_required,json=FFloatRequired" json:"F_Float_required,omitempty"`
	F_DoubleRequired   *float64 `protobuf:"fixed64,18,req,name=F_Double_required,json=FDoubleRequired" json:"F_Double_required,omitempty"`
	F_StringRequired   *string  `protobuf:"bytes,19,req,name=F_String_required,json=FStringRequired" json:"F_String_required,omitempty"`
	F_BytesRequired    []byte   `protobuf:"bytes,101,req,name=F_Bytes_required,json=FBytesRequired" json:"F_Bytes_required,omitempty"`
	F_Sint32Required   *int32   `protobuf:"zigzag32,102,req,name=F_Sint32_required,json=FSint32Required" json:"F_Sint32_required,omitempty"`
	F_Sint64Required   *int64   `protobuf:"zigzag64,103,req,name=F_Sint64_required,json=FSint64Required" json:"F_Sint64_required,omitempty"`
	F_Sfixed32Required *int32   `protobuf:"fixed32,104,req,name=F_Sfixed32_required,json=FSfixed32Required" json:"F_Sfixed32_required,omitempty"`
	F_Sfixed64Required *int64   `protobuf:"fixed64,105,req,name=F_Sfixed64_required,json=FSfixed64Required" json:"F_Sfixed64_required,omitempty"`
	// Repeated fields of all basic types
	F_BoolRepeated     []bool    `protobuf:"varint,20,rep,name=F_Bool_repeated,json=FBoolRepeated" json:"F_Bool_repeated,omitempty"`
	F_Int32Repeated    []int32   `protobuf:"varint,21,rep,name=F_Int32_repeated,json=FInt32Repeated" json:"F_Int32_repeated,omitempty"`
	F_Int64Repeated    []int64   `protobuf:"varint,22,rep,name=F_Int64_repeated,json=FInt64Repeated" json:"F_Int64_repeated,omitempty"`
	F_Fixed32Repeated  []uint32  `protobuf:"fixed32,23,rep,name=F_Fixed32_repeated,json=FFixed32Repeated" json:"F_Fixed32_repeated,omitempty"`
	F_Fixed64Repeated  []uint64  `protobuf:"fixed64,24,rep,name=F_Fixed64_repeated,json=FFixed64Repeated" json:"F_Fixed64_repeated,omitempty"`
	F_Uint32Repeated   []uint32  `protobuf:"varint,25,rep,name=F_Uint32_repeated,json=FUint32Repeated" json:"F_Uint32_repeated,omitempty"`
	F_Uint64Repeated   []uint64  `protobuf:"varint,26,rep,name=F_Uint64_repeated,json=FUint64Repeated" json:"F_Uint64_repeated,omitempty"`
	F_FloatRepeated    []float32 `protobuf:"fixed32,27,rep,name=F_Float_repeated,json=FFloatRepeated" json:"F_Float_repeated,omitempty"`
	F_DoubleRepeated   []float64 `protobuf:"fixed64,28,rep,name=F_Double_repeated,json=FDoubleRepeated" json:"F_Double_repeated,omitempty"`
	F_StringRepeated   []string  `protobuf:"bytes,29,rep,name=F_String_repeated,json=FStringRepeated" json:"F_String_repeated,omitempty"`
	F_BytesRepeated    [][]byte  `protobuf:"bytes,201,rep,name=F_Bytes_repeated,json=FBytesRepeated" json:"F_Bytes_repeated,omitempty"`
	F_Sint32Repeated   []int32   `protobuf:"zigzag32,202,rep,name=F_Sint32_repeated,json=FSint32Repeated" json:"F_Sint32_repeated,omitempty"`
	F_Sint64Repeated   []int64   `protobuf:"zigzag64,203,rep,name=F_Sint64_repeated,json=FSint64Repeated" json:"F_Sint64_repeated,omitempty"`
	F_Sfixed32Repeated []int32   `protobuf:"fixed32,204,rep,name=F_Sfixed32_repeated,json=FSfixed32Repeated" json:"F_Sfixed32_repeated,omitempty"`
	F_Sfixed64Repeated []int64   `protobuf:"fixed64,205,rep,name=F_Sfixed64_repeated,json=FSfixed64Repeated" json:"F_Sfixed64_repeated,omitempty"`
	// Optional fields of all basic types
	F_BoolOptional     *bool    `protobuf:"varint,30,opt,name=F_Bool_optional,json=FBoolOptional" json:"F_Bool_optional,omitempty"`
	F_Int32Optional    *int32   `protobuf:"varint,31,opt,name=F_Int32_optional,json=FInt32Optional" json:"F_Int32_optional,omitempty"`
	F_Int64Optional    *int64   `protobuf:"varint,32,opt,name=F_Int64_optional,json=FInt64Optional" json:"F_Int64_optional,omitempty"`
	F_Fixed32Optional  *uint32  `protobuf:"fixed32,33,opt,name=F_Fixed32_optional,json=FFixed32Optional" json:"F_Fixed32_optional,omitempty"`
	F_Fixed64Optional  *uint64  `protobuf:"fixed64,34,opt,name=F_Fixed64_optional,json=FFixed64Optional" json:"F_Fixed64_optional,omitempty"`
	F_Uint32Optional   *uint32  `protobuf:"varint,35,opt,name=F_Uint32_optional,json=FUint32Optional" json:"F_Uint32_optional,omitempty"`
	F_Uint64Optional   *uint64  `protobuf:"varint,36,opt,name=F_Uint64_optional,json=FUint64Optional" json:"F_Uint64_optional,omitempty"`
	F_FloatOptional    *float32 `protobuf:"fixed32,37,opt,name=F_Float_optional,json=FFloatOptional" json:"F_Float_optional,omitempty"`
	F_DoubleOptional   *float64 `protobuf:"fixed64,38,opt,name=F_Double_optional,json=FDoubleOptional" json:"F_Double_optional,omitempty"`
	F_StringOptional   *string  `protobuf:"bytes,39,opt,name=F_String_optional,json=FStringOptional" json:"F_String_optional,omitempty"`
	F_BytesOptional    []byte   `protobuf:"bytes,301,opt,name=F_Bytes_optional,json=FBytesOptional" json:"F_Bytes_optional,omitempty"`
	F_Sint32Optional   *int32   `protobuf:"zigzag32,302,opt,name=F_Sint32_optional,json=FSint32Optional" json:"F_Sint32_optional,omitempty"`
	F_Sint64Optional   *int64   `protobuf:"zigzag64,303,opt,name=F_Sint64_optional,json=FSint64Optional" json:"F_Sint64_optional,omitempty"`
	F_Sfixed32Optional *int32   `protobuf:"fixed32,304,opt,name=F_Sfixed32_optional,json=FSfixed32Optional" json:"F_Sfixed32_optional,omitempty"`
	F_Sfixed64Optional *int64   `protobuf:"fixed64,305,opt,name=F_Sfixed64_optional,json=FSfixed64Optional" json:"F_Sfixed64_optional,omitempty"`
	// Default-valued fields of all basic types
	F_BoolDefaulted     *bool    `protobuf:"varint,40,opt,name=F_Bool_defaulted,json=FBoolDefaulted,def=1" json:"F_Bool_defaulted,omitempty"`
	F_Int32Defaulted    *int32   `protobuf:"varint,41,opt,name=F_Int32_defaulted,json=FInt32Defaulted,def=32" json:"F_Int32_defaulted,omitempty"`
	F_Int64Defaulted    *int64   `protobuf:"varint,42,opt,name=F_Int64_defaulted,json=FInt64Defaulted,def=64" json:"F_Int64_defaulted,omitempty"`
	F_Fixed32Defaulted  *uint32  `protobuf:"fixed32,43,opt,name=F_Fixed32_defaulted,json=FFixed32Defaulted,def=320" json:"F_Fixed32_defaulted,omitempty"`
	F_Fixed64Defaulted  *uint64  `protobuf:"fixed64,44,opt,name=F_Fixed64_defaulted,json=FFixed64Defaulted,def=640" json:"F_Fixed64_defaulted,omitempty"`
	F_Uint32Defaulted   *uint32  `protobuf:"varint,45,opt,name=F_Uint32_defaulted,json=FUint32Defaulted,def=3200" json:"F_Uint32_defaulted,omitempty"`
	F_Uint64Defaulted   *uint64  `protobuf:"varint,46,opt,name=F_Uint64_defaulted,json=FUint64Defaulted,def=6400" json:"F_Uint64_defaulted,omitempty"`
	F_FloatDefaulted    *float32 `protobuf:"fixed32,47,opt,name=F_Float_defaulted,json=FFloatDefaulted,def=314159" json:"F_Float_defaulted,omitempty"`
	F_DoubleDefaulted   *float64 `protobuf:"fixed64,48,opt,name=F_Double_defaulted,json=FDoubleDefaulted,def=271828" json:"F_Double_defaulted,omitempty"`
	F_StringDefaulted   *string  `` /* 129-byte string literal not displayed */
	F_BytesDefaulted    []byte   `protobuf:"bytes,401,opt,name=F_Bytes_defaulted,json=FBytesDefaulted,def=Bignose" json:"F_Bytes_defaulted,omitempty"`
	F_Sint32Defaulted   *int32   `protobuf:"zigzag32,402,opt,name=F_Sint32_defaulted,json=FSint32Defaulted,def=-32" json:"F_Sint32_defaulted,omitempty"`
	F_Sint64Defaulted   *int64   `protobuf:"zigzag64,403,opt,name=F_Sint64_defaulted,json=FSint64Defaulted,def=-64" json:"F_Sint64_defaulted,omitempty"`
	F_Sfixed32Defaulted *int32   `protobuf:"fixed32,404,opt,name=F_Sfixed32_defaulted,json=FSfixed32Defaulted,def=-32" json:"F_Sfixed32_defaulted,omitempty"`
	F_Sfixed64Defaulted *int64   `protobuf:"fixed64,405,opt,name=F_Sfixed64_defaulted,json=FSfixed64Defaulted,def=-64" json:"F_Sfixed64_defaulted,omitempty"`
	// Packed repeated fields (no string or bytes).
	F_BoolRepeatedPacked     []bool                  `protobuf:"varint,50,rep,packed,name=F_Bool_repeated_packed,json=FBoolRepeatedPacked" json:"F_Bool_repeated_packed,omitempty"`
	F_Int32RepeatedPacked    []int32                 `` /* 127-byte string literal not displayed */
	F_Int64RepeatedPacked    []int64                 `` /* 127-byte string literal not displayed */
	F_Fixed32RepeatedPacked  []uint32                `` /* 134-byte string literal not displayed */
	F_Fixed64RepeatedPacked  []uint64                `` /* 134-byte string literal not displayed */
	F_Uint32RepeatedPacked   []uint32                `` /* 130-byte string literal not displayed */
	F_Uint64RepeatedPacked   []uint64                `` /* 130-byte string literal not displayed */
	F_FloatRepeatedPacked    []float32               `` /* 128-byte string literal not displayed */
	F_DoubleRepeatedPacked   []float64               `` /* 131-byte string literal not displayed */
	F_Sint32RepeatedPacked   []int32                 `` /* 133-byte string literal not displayed */
	F_Sint64RepeatedPacked   []int64                 `` /* 133-byte string literal not displayed */
	F_Sfixed32RepeatedPacked []int32                 `` /* 138-byte string literal not displayed */
	F_Sfixed64RepeatedPacked []int64                 `` /* 138-byte string literal not displayed */
	Requiredgroup            *GoTest_RequiredGroup   `protobuf:"group,70,req,name=RequiredGroup,json=requiredgroup" json:"requiredgroup,omitempty"`
	Repeatedgroup            []*GoTest_RepeatedGroup `protobuf:"group,80,rep,name=RepeatedGroup,json=repeatedgroup" json:"repeatedgroup,omitempty"`
	Optionalgroup            *GoTest_OptionalGroup   `protobuf:"group,90,opt,name=OptionalGroup,json=optionalgroup" json:"optionalgroup,omitempty"`
	// contains filtered or unexported fields
}

func (*GoTest) Descriptor deprecated

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

Deprecated: Use GoTest.ProtoReflect.Descriptor instead.

func (*GoTest) GetF_BoolDefaulted

func (x *GoTest) GetF_BoolDefaulted() bool

func (*GoTest) GetF_BoolOptional

func (x *GoTest) GetF_BoolOptional() bool

func (*GoTest) GetF_BoolRepeated

func (x *GoTest) GetF_BoolRepeated() []bool

func (*GoTest) GetF_BoolRepeatedPacked

func (x *GoTest) GetF_BoolRepeatedPacked() []bool

func (*GoTest) GetF_BoolRequired

func (x *GoTest) GetF_BoolRequired() bool

func (*GoTest) GetF_BytesDefaulted

func (x *GoTest) GetF_BytesDefaulted() []byte

func (*GoTest) GetF_BytesOptional

func (x *GoTest) GetF_BytesOptional() []byte

func (*GoTest) GetF_BytesRepeated

func (x *GoTest) GetF_BytesRepeated() [][]byte

func (*GoTest) GetF_BytesRequired

func (x *GoTest) GetF_BytesRequired() []byte

func (*GoTest) GetF_DoubleDefaulted

func (x *GoTest) GetF_DoubleDefaulted() float64

func (*GoTest) GetF_DoubleOptional

func (x *GoTest) GetF_DoubleOptional() float64

func (*GoTest) GetF_DoubleRepeated

func (x *GoTest) GetF_DoubleRepeated() []float64

func (*GoTest) GetF_DoubleRepeatedPacked

func (x *GoTest) GetF_DoubleRepeatedPacked() []float64

func (*GoTest) GetF_DoubleRequired

func (x *GoTest) GetF_DoubleRequired() float64

func (*GoTest) GetF_Fixed32Defaulted

func (x *GoTest) GetF_Fixed32Defaulted() uint32

func (*GoTest) GetF_Fixed32Optional

func (x *GoTest) GetF_Fixed32Optional() uint32

func (*GoTest) GetF_Fixed32Repeated

func (x *GoTest) GetF_Fixed32Repeated() []uint32

func (*GoTest) GetF_Fixed32RepeatedPacked

func (x *GoTest) GetF_Fixed32RepeatedPacked() []uint32

func (*GoTest) GetF_Fixed32Required

func (x *GoTest) GetF_Fixed32Required() uint32

func (*GoTest) GetF_Fixed64Defaulted

func (x *GoTest) GetF_Fixed64Defaulted() uint64

func (*GoTest) GetF_Fixed64Optional

func (x *GoTest) GetF_Fixed64Optional() uint64

func (*GoTest) GetF_Fixed64Repeated

func (x *GoTest) GetF_Fixed64Repeated() []uint64

func (*GoTest) GetF_Fixed64RepeatedPacked

func (x *GoTest) GetF_Fixed64RepeatedPacked() []uint64

func (*GoTest) GetF_Fixed64Required

func (x *GoTest) GetF_Fixed64Required() uint64

func (*GoTest) GetF_FloatDefaulted

func (x *GoTest) GetF_FloatDefaulted() float32

func (*GoTest) GetF_FloatOptional

func (x *GoTest) GetF_FloatOptional() float32

func (*GoTest) GetF_FloatRepeated

func (x *GoTest) GetF_FloatRepeated() []float32

func (*GoTest) GetF_FloatRepeatedPacked

func (x *GoTest) GetF_FloatRepeatedPacked() []float32

func (*GoTest) GetF_FloatRequired

func (x *GoTest) GetF_FloatRequired() float32

func (*GoTest) GetF_Int32Defaulted

func (x *GoTest) GetF_Int32Defaulted() int32

func (*GoTest) GetF_Int32Optional

func (x *GoTest) GetF_Int32Optional() int32

func (*GoTest) GetF_Int32Repeated

func (x *GoTest) GetF_Int32Repeated() []int32

func (*GoTest) GetF_Int32RepeatedPacked

func (x *GoTest) GetF_Int32RepeatedPacked() []int32

func (*GoTest) GetF_Int32Required

func (x *GoTest) GetF_Int32Required() int32

func (*GoTest) GetF_Int64Defaulted

func (x *GoTest) GetF_Int64Defaulted() int64

func (*GoTest) GetF_Int64Optional

func (x *GoTest) GetF_Int64Optional() int64

func (*GoTest) GetF_Int64Repeated

func (x *GoTest) GetF_Int64Repeated() []int64

func (*GoTest) GetF_Int64RepeatedPacked

func (x *GoTest) GetF_Int64RepeatedPacked() []int64

func (*GoTest) GetF_Int64Required

func (x *GoTest) GetF_Int64Required() int64

func (*GoTest) GetF_Sfixed32Defaulted

func (x *GoTest) GetF_Sfixed32Defaulted() int32

func (*GoTest) GetF_Sfixed32Optional

func (x *GoTest) GetF_Sfixed32Optional() int32

func (*GoTest) GetF_Sfixed32Repeated

func (x *GoTest) GetF_Sfixed32Repeated() []int32

func (*GoTest) GetF_Sfixed32RepeatedPacked

func (x *GoTest) GetF_Sfixed32RepeatedPacked() []int32

func (*GoTest) GetF_Sfixed32Required

func (x *GoTest) GetF_Sfixed32Required() int32

func (*GoTest) GetF_Sfixed64Defaulted

func (x *GoTest) GetF_Sfixed64Defaulted() int64

func (*GoTest) GetF_Sfixed64Optional

func (x *GoTest) GetF_Sfixed64Optional() int64

func (*GoTest) GetF_Sfixed64Repeated

func (x *GoTest) GetF_Sfixed64Repeated() []int64

func (*GoTest) GetF_Sfixed64RepeatedPacked

func (x *GoTest) GetF_Sfixed64RepeatedPacked() []int64

func (*GoTest) GetF_Sfixed64Required

func (x *GoTest) GetF_Sfixed64Required() int64

func (*GoTest) GetF_Sint32Defaulted

func (x *GoTest) GetF_Sint32Defaulted() int32

func (*GoTest) GetF_Sint32Optional

func (x *GoTest) GetF_Sint32Optional() int32

func (*GoTest) GetF_Sint32Repeated

func (x *GoTest) GetF_Sint32Repeated() []int32

func (*GoTest) GetF_Sint32RepeatedPacked

func (x *GoTest) GetF_Sint32RepeatedPacked() []int32

func (*GoTest) GetF_Sint32Required

func (x *GoTest) GetF_Sint32Required() int32

func (*GoTest) GetF_Sint64Defaulted

func (x *GoTest) GetF_Sint64Defaulted() int64

func (*GoTest) GetF_Sint64Optional

func (x *GoTest) GetF_Sint64Optional() int64

func (*GoTest) GetF_Sint64Repeated

func (x *GoTest) GetF_Sint64Repeated() []int64

func (*GoTest) GetF_Sint64RepeatedPacked

func (x *GoTest) GetF_Sint64RepeatedPacked() []int64

func (*GoTest) GetF_Sint64Required

func (x *GoTest) GetF_Sint64Required() int64

func (*GoTest) GetF_StringDefaulted

func (x *GoTest) GetF_StringDefaulted() string

func (*GoTest) GetF_StringOptional

func (x *GoTest) GetF_StringOptional() string

func (*GoTest) GetF_StringRepeated

func (x *GoTest) GetF_StringRepeated() []string

func (*GoTest) GetF_StringRequired

func (x *GoTest) GetF_StringRequired() string

func (*GoTest) GetF_Uint32Defaulted

func (x *GoTest) GetF_Uint32Defaulted() uint32

func (*GoTest) GetF_Uint32Optional

func (x *GoTest) GetF_Uint32Optional() uint32

func (*GoTest) GetF_Uint32Repeated

func (x *GoTest) GetF_Uint32Repeated() []uint32

func (*GoTest) GetF_Uint32RepeatedPacked

func (x *GoTest) GetF_Uint32RepeatedPacked() []uint32

func (*GoTest) GetF_Uint32Required

func (x *GoTest) GetF_Uint32Required() uint32

func (*GoTest) GetF_Uint64Defaulted

func (x *GoTest) GetF_Uint64Defaulted() uint64

func (*GoTest) GetF_Uint64Optional

func (x *GoTest) GetF_Uint64Optional() uint64

func (*GoTest) GetF_Uint64Repeated

func (x *GoTest) GetF_Uint64Repeated() []uint64

func (*GoTest) GetF_Uint64RepeatedPacked

func (x *GoTest) GetF_Uint64RepeatedPacked() []uint64

func (*GoTest) GetF_Uint64Required

func (x *GoTest) GetF_Uint64Required() uint64

func (*GoTest) GetKind

func (x *GoTest) GetKind() GoTest_KIND

func (*GoTest) GetOptionalField

func (x *GoTest) GetOptionalField() *GoTestField

func (*GoTest) GetOptionalgroup

func (x *GoTest) GetOptionalgroup() *GoTest_OptionalGroup

func (*GoTest) GetParam

func (x *GoTest) GetParam() int32

func (*GoTest) GetRepeatedField

func (x *GoTest) GetRepeatedField() []*GoTestField

func (*GoTest) GetRepeatedgroup

func (x *GoTest) GetRepeatedgroup() []*GoTest_RepeatedGroup

func (*GoTest) GetRequiredField

func (x *GoTest) GetRequiredField() *GoTestField

func (*GoTest) GetRequiredgroup

func (x *GoTest) GetRequiredgroup() *GoTest_RequiredGroup

func (*GoTest) GetTable

func (x *GoTest) GetTable() string

func (*GoTest) ProtoMessage

func (*GoTest) ProtoMessage()

func (*GoTest) ProtoReflect

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

func (*GoTest) Reset

func (x *GoTest) Reset()

func (*GoTest) String

func (x *GoTest) String() string

type GoTestField

type GoTestField struct {
	Label *string `protobuf:"bytes,1,req,name=Label" json:"Label,omitempty"`
	Type  *string `protobuf:"bytes,2,req,name=Type" json:"Type,omitempty"`
	// contains filtered or unexported fields
}

func (*GoTestField) Descriptor deprecated

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

Deprecated: Use GoTestField.ProtoReflect.Descriptor instead.

func (*GoTestField) GetLabel

func (x *GoTestField) GetLabel() string

func (*GoTestField) GetType

func (x *GoTestField) GetType() string

func (*GoTestField) ProtoMessage

func (*GoTestField) ProtoMessage()

func (*GoTestField) ProtoReflect

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

func (*GoTestField) Reset

func (x *GoTestField) Reset()

func (*GoTestField) String

func (x *GoTestField) String() string

type GoTestRequiredGroupField

type GoTestRequiredGroupField struct {
	Group *GoTestRequiredGroupField_Group `protobuf:"group,1,req,name=Group,json=group" json:"group,omitempty"`
	// contains filtered or unexported fields
}

For testing a group containing a required field.

func (*GoTestRequiredGroupField) Descriptor deprecated

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

Deprecated: Use GoTestRequiredGroupField.ProtoReflect.Descriptor instead.

func (*GoTestRequiredGroupField) GetGroup

func (*GoTestRequiredGroupField) ProtoMessage

func (*GoTestRequiredGroupField) ProtoMessage()

func (*GoTestRequiredGroupField) ProtoReflect

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

func (*GoTestRequiredGroupField) Reset

func (x *GoTestRequiredGroupField) Reset()

func (*GoTestRequiredGroupField) String

func (x *GoTestRequiredGroupField) String() string

type GoTestRequiredGroupField_Group

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

func (*GoTestRequiredGroupField_Group) Descriptor deprecated

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

Deprecated: Use GoTestRequiredGroupField_Group.ProtoReflect.Descriptor instead.

func (*GoTestRequiredGroupField_Group) GetField

func (x *GoTestRequiredGroupField_Group) GetField() int32

func (*GoTestRequiredGroupField_Group) ProtoMessage

func (*GoTestRequiredGroupField_Group) ProtoMessage()

func (*GoTestRequiredGroupField_Group) ProtoReflect

func (*GoTestRequiredGroupField_Group) Reset

func (x *GoTestRequiredGroupField_Group) Reset()

func (*GoTestRequiredGroupField_Group) String

type GoTest_KIND

type GoTest_KIND int32

An enum, for completeness.

const (
	GoTest_VOID GoTest_KIND = 0
	// Basic types
	GoTest_BOOL        GoTest_KIND = 1
	GoTest_BYTES       GoTest_KIND = 2
	GoTest_FINGERPRINT GoTest_KIND = 3
	GoTest_FLOAT       GoTest_KIND = 4
	GoTest_INT         GoTest_KIND = 5
	GoTest_STRING      GoTest_KIND = 6
	GoTest_TIME        GoTest_KIND = 7
	// Groupings
	GoTest_TUPLE GoTest_KIND = 8
	GoTest_ARRAY GoTest_KIND = 9
	GoTest_MAP   GoTest_KIND = 10
	// Table types
	GoTest_TABLE GoTest_KIND = 11
	// Functions
	GoTest_FUNCTION GoTest_KIND = 12 // last tag
)

func (GoTest_KIND) Descriptor

func (GoTest_KIND) Enum

func (x GoTest_KIND) Enum() *GoTest_KIND

func (GoTest_KIND) EnumDescriptor deprecated

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

Deprecated: Use GoTest_KIND.Descriptor instead.

func (GoTest_KIND) Number

func (x GoTest_KIND) Number() protoreflect.EnumNumber

func (GoTest_KIND) String

func (x GoTest_KIND) String() string

func (GoTest_KIND) Type

func (*GoTest_KIND) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type GoTest_OptionalGroup

type GoTest_OptionalGroup struct {
	RequiredField *string `protobuf:"bytes,91,req,name=RequiredField" json:"RequiredField,omitempty"`
	// contains filtered or unexported fields
}

func (*GoTest_OptionalGroup) Descriptor deprecated

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

Deprecated: Use GoTest_OptionalGroup.ProtoReflect.Descriptor instead.

func (*GoTest_OptionalGroup) GetRequiredField

func (x *GoTest_OptionalGroup) GetRequiredField() string

func (*GoTest_OptionalGroup) ProtoMessage

func (*GoTest_OptionalGroup) ProtoMessage()

func (*GoTest_OptionalGroup) ProtoReflect

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

func (*GoTest_OptionalGroup) Reset

func (x *GoTest_OptionalGroup) Reset()

func (*GoTest_OptionalGroup) String

func (x *GoTest_OptionalGroup) String() string

type GoTest_RepeatedGroup

type GoTest_RepeatedGroup struct {
	RequiredField *string `protobuf:"bytes,81,req,name=RequiredField" json:"RequiredField,omitempty"`
	// contains filtered or unexported fields
}

func (*GoTest_RepeatedGroup) Descriptor deprecated

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

Deprecated: Use GoTest_RepeatedGroup.ProtoReflect.Descriptor instead.

func (*GoTest_RepeatedGroup) GetRequiredField

func (x *GoTest_RepeatedGroup) GetRequiredField() string

func (*GoTest_RepeatedGroup) ProtoMessage

func (*GoTest_RepeatedGroup) ProtoMessage()

func (*GoTest_RepeatedGroup) ProtoReflect

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

func (*GoTest_RepeatedGroup) Reset

func (x *GoTest_RepeatedGroup) Reset()

func (*GoTest_RepeatedGroup) String

func (x *GoTest_RepeatedGroup) String() string

type GoTest_RequiredGroup

type GoTest_RequiredGroup struct {
	RequiredField *string `protobuf:"bytes,71,req,name=RequiredField" json:"RequiredField,omitempty"`
	// contains filtered or unexported fields
}

Required, repeated, and optional groups.

func (*GoTest_RequiredGroup) Descriptor deprecated

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

Deprecated: Use GoTest_RequiredGroup.ProtoReflect.Descriptor instead.

func (*GoTest_RequiredGroup) GetRequiredField

func (x *GoTest_RequiredGroup) GetRequiredField() string

func (*GoTest_RequiredGroup) ProtoMessage

func (*GoTest_RequiredGroup) ProtoMessage()

func (*GoTest_RequiredGroup) ProtoReflect

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

func (*GoTest_RequiredGroup) Reset

func (x *GoTest_RequiredGroup) Reset()

func (*GoTest_RequiredGroup) String

func (x *GoTest_RequiredGroup) String() string

type GroupNew

type GroupNew struct {
	G *GroupNew_G `protobuf:"group,101,opt,name=G,json=g" json:"g,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupNew) Descriptor deprecated

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

Deprecated: Use GroupNew.ProtoReflect.Descriptor instead.

func (*GroupNew) GetG

func (x *GroupNew) GetG() *GroupNew_G

func (*GroupNew) ProtoMessage

func (*GroupNew) ProtoMessage()

func (*GroupNew) ProtoReflect

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

func (*GroupNew) Reset

func (x *GroupNew) Reset()

func (*GroupNew) String

func (x *GroupNew) String() string

type GroupNew_G

type GroupNew_G struct {
	X *int32 `protobuf:"varint,2,opt,name=x" json:"x,omitempty"`
	Y *int32 `protobuf:"varint,3,opt,name=y" json:"y,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupNew_G) Descriptor deprecated

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

Deprecated: Use GroupNew_G.ProtoReflect.Descriptor instead.

func (*GroupNew_G) GetX

func (x *GroupNew_G) GetX() int32

func (*GroupNew_G) GetY

func (x *GroupNew_G) GetY() int32

func (*GroupNew_G) ProtoMessage

func (*GroupNew_G) ProtoMessage()

func (*GroupNew_G) ProtoReflect

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

func (*GroupNew_G) Reset

func (x *GroupNew_G) Reset()

func (*GroupNew_G) String

func (x *GroupNew_G) String() string

type GroupOld

type GroupOld struct {
	G *GroupOld_G `protobuf:"group,101,opt,name=G,json=g" json:"g,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupOld) Descriptor deprecated

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

Deprecated: Use GroupOld.ProtoReflect.Descriptor instead.

func (*GroupOld) GetG

func (x *GroupOld) GetG() *GroupOld_G

func (*GroupOld) ProtoMessage

func (*GroupOld) ProtoMessage()

func (*GroupOld) ProtoReflect

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

func (*GroupOld) Reset

func (x *GroupOld) Reset()

func (*GroupOld) String

func (x *GroupOld) String() string

type GroupOld_G

type GroupOld_G struct {
	X *int32 `protobuf:"varint,2,opt,name=x" json:"x,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupOld_G) Descriptor deprecated

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

Deprecated: Use GroupOld_G.ProtoReflect.Descriptor instead.

func (*GroupOld_G) GetX

func (x *GroupOld_G) GetX() int32

func (*GroupOld_G) ProtoMessage

func (*GroupOld_G) ProtoMessage()

func (*GroupOld_G) ProtoReflect

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

func (*GroupOld_G) Reset

func (x *GroupOld_G) Reset()

func (*GroupOld_G) String

func (x *GroupOld_G) String() string

type InnerMessage

type InnerMessage struct {
	Host      *string `protobuf:"bytes,1,req,name=host" json:"host,omitempty"`
	Port      *int32  `protobuf:"varint,2,opt,name=port,def=4000" json:"port,omitempty"`
	Connected *bool   `protobuf:"varint,3,opt,name=connected" json:"connected,omitempty"`
	// contains filtered or unexported fields
}

func (*InnerMessage) Descriptor deprecated

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

Deprecated: Use InnerMessage.ProtoReflect.Descriptor instead.

func (*InnerMessage) GetConnected

func (x *InnerMessage) GetConnected() bool

func (*InnerMessage) GetHost

func (x *InnerMessage) GetHost() string

func (*InnerMessage) GetPort

func (x *InnerMessage) GetPort() int32

func (*InnerMessage) ProtoMessage

func (*InnerMessage) ProtoMessage()

func (*InnerMessage) ProtoReflect

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

func (*InnerMessage) Reset

func (x *InnerMessage) Reset()

func (*InnerMessage) String

func (x *InnerMessage) String() string

type MaxTag

type MaxTag struct {

	// Maximum possible tag number.
	LastField *string `protobuf:"bytes,536870911,opt,name=last_field,json=lastField" json:"last_field,omitempty"`
	// contains filtered or unexported fields
}

func (*MaxTag) Descriptor deprecated

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

Deprecated: Use MaxTag.ProtoReflect.Descriptor instead.

func (*MaxTag) GetLastField

func (x *MaxTag) GetLastField() string

func (*MaxTag) ProtoMessage

func (*MaxTag) ProtoMessage()

func (*MaxTag) ProtoReflect

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

func (*MaxTag) Reset

func (x *MaxTag) Reset()

func (*MaxTag) String

func (x *MaxTag) String() string

type MessageList

type MessageList struct {
	Message []*MessageList_Message `protobuf:"group,1,rep,name=Message,json=message" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageList) Descriptor deprecated

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

Deprecated: Use MessageList.ProtoReflect.Descriptor instead.

func (*MessageList) GetMessage

func (x *MessageList) GetMessage() []*MessageList_Message

func (*MessageList) ProtoMessage

func (*MessageList) ProtoMessage()

func (*MessageList) ProtoReflect

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

func (*MessageList) Reset

func (x *MessageList) Reset()

func (*MessageList) String

func (x *MessageList) String() string

type MessageList_Message

type MessageList_Message struct {
	Name  *string `protobuf:"bytes,2,req,name=name" json:"name,omitempty"`
	Count *int32  `protobuf:"varint,3,req,name=count" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageList_Message) Descriptor deprecated

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

Deprecated: Use MessageList_Message.ProtoReflect.Descriptor instead.

func (*MessageList_Message) GetCount

func (x *MessageList_Message) GetCount() int32

func (*MessageList_Message) GetName

func (x *MessageList_Message) GetName() string

func (*MessageList_Message) ProtoMessage

func (*MessageList_Message) ProtoMessage()

func (*MessageList_Message) ProtoReflect

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

func (*MessageList_Message) Reset

func (x *MessageList_Message) Reset()

func (*MessageList_Message) String

func (x *MessageList_Message) String() string

type MessageWithMap

type MessageWithMap struct {
	NameMapping map[int32]string         `` /* 162-byte string literal not displayed */
	MsgMapping  map[int64]*FloatingPoint `` /* 161-byte string literal not displayed */
	ByteMapping map[bool][]byte          `` /* 162-byte string literal not displayed */
	StrToStr    map[string]string        `` /* 154-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*MessageWithMap) Descriptor deprecated

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

Deprecated: Use MessageWithMap.ProtoReflect.Descriptor instead.

func (*MessageWithMap) GetByteMapping

func (x *MessageWithMap) GetByteMapping() map[bool][]byte

func (*MessageWithMap) GetMsgMapping

func (x *MessageWithMap) GetMsgMapping() map[int64]*FloatingPoint

func (*MessageWithMap) GetNameMapping

func (x *MessageWithMap) GetNameMapping() map[int32]string

func (*MessageWithMap) GetStrToStr

func (x *MessageWithMap) GetStrToStr() map[string]string

func (*MessageWithMap) ProtoMessage

func (*MessageWithMap) ProtoMessage()

func (*MessageWithMap) ProtoReflect

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

func (*MessageWithMap) Reset

func (x *MessageWithMap) Reset()

func (*MessageWithMap) String

func (x *MessageWithMap) String() string

type MoreRepeated

type MoreRepeated struct {
	Bools        []bool   `protobuf:"varint,1,rep,name=bools" json:"bools,omitempty"`
	BoolsPacked  []bool   `protobuf:"varint,2,rep,packed,name=bools_packed,json=boolsPacked" json:"bools_packed,omitempty"`
	Ints         []int32  `protobuf:"varint,3,rep,name=ints" json:"ints,omitempty"`
	IntsPacked   []int32  `protobuf:"varint,4,rep,packed,name=ints_packed,json=intsPacked" json:"ints_packed,omitempty"`
	Int64SPacked []int64  `protobuf:"varint,7,rep,packed,name=int64s_packed,json=int64sPacked" json:"int64s_packed,omitempty"`
	Strings      []string `protobuf:"bytes,5,rep,name=strings" json:"strings,omitempty"`
	Fixeds       []uint32 `protobuf:"fixed32,6,rep,name=fixeds" json:"fixeds,omitempty"`
	// contains filtered or unexported fields
}

func (*MoreRepeated) Descriptor deprecated

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

Deprecated: Use MoreRepeated.ProtoReflect.Descriptor instead.

func (*MoreRepeated) GetBools

func (x *MoreRepeated) GetBools() []bool

func (*MoreRepeated) GetBoolsPacked

func (x *MoreRepeated) GetBoolsPacked() []bool

func (*MoreRepeated) GetFixeds

func (x *MoreRepeated) GetFixeds() []uint32

func (*MoreRepeated) GetInt64SPacked

func (x *MoreRepeated) GetInt64SPacked() []int64

func (*MoreRepeated) GetInts

func (x *MoreRepeated) GetInts() []int32

func (*MoreRepeated) GetIntsPacked

func (x *MoreRepeated) GetIntsPacked() []int32

func (*MoreRepeated) GetStrings

func (x *MoreRepeated) GetStrings() []string

func (*MoreRepeated) ProtoMessage

func (*MoreRepeated) ProtoMessage()

func (*MoreRepeated) ProtoReflect

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

func (*MoreRepeated) Reset

func (x *MoreRepeated) Reset()

func (*MoreRepeated) String

func (x *MoreRepeated) String() string

type MyMessage

type MyMessage struct {
	Count          *int32                `protobuf:"varint,1,req,name=count" json:"count,omitempty"`
	Name           *string               `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	Quote          *string               `protobuf:"bytes,3,opt,name=quote" json:"quote,omitempty"`
	Pet            []string              `protobuf:"bytes,4,rep,name=pet" json:"pet,omitempty"`
	Inner          *InnerMessage         `protobuf:"bytes,5,opt,name=inner" json:"inner,omitempty"`
	Others         []*OtherMessage       `protobuf:"bytes,6,rep,name=others" json:"others,omitempty"`
	WeMustGoDeeper *RequiredInnerMessage `protobuf:"bytes,13,opt,name=we_must_go_deeper,json=weMustGoDeeper" json:"we_must_go_deeper,omitempty"`
	RepInner       []*InnerMessage       `protobuf:"bytes,12,rep,name=rep_inner,json=repInner" json:"rep_inner,omitempty"`
	Bikeshed       *MyMessage_Color      `protobuf:"varint,7,opt,name=bikeshed,enum=proto2_test.MyMessage_Color" json:"bikeshed,omitempty"`
	Somegroup      *MyMessage_SomeGroup  `protobuf:"group,8,opt,name=SomeGroup,json=somegroup" json:"somegroup,omitempty"`
	// This field becomes [][]byte in the generated code.
	RepBytes [][]byte `protobuf:"bytes,10,rep,name=rep_bytes,json=repBytes" json:"rep_bytes,omitempty"`
	Bigfloat *float64 `protobuf:"fixed64,11,opt,name=bigfloat" json:"bigfloat,omitempty"`
	// contains filtered or unexported fields
}

func (*MyMessage) Descriptor deprecated

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

Deprecated: Use MyMessage.ProtoReflect.Descriptor instead.

func (*MyMessage) ExtensionRangeArray deprecated

func (*MyMessage) ExtensionRangeArray() []protoiface.ExtensionRangeV1

Deprecated: Use MyMessage.ProtoReflect.Descriptor.ExtensionRanges instead.

func (*MyMessage) GetBigfloat

func (x *MyMessage) GetBigfloat() float64

func (*MyMessage) GetBikeshed

func (x *MyMessage) GetBikeshed() MyMessage_Color

func (*MyMessage) GetCount

func (x *MyMessage) GetCount() int32

func (*MyMessage) GetInner

func (x *MyMessage) GetInner() *InnerMessage

func (*MyMessage) GetName

func (x *MyMessage) GetName() string

func (*MyMessage) GetOthers

func (x *MyMessage) GetOthers() []*OtherMessage

func (*MyMessage) GetPet

func (x *MyMessage) GetPet() []string

func (*MyMessage) GetQuote

func (x *MyMessage) GetQuote() string

func (*MyMessage) GetRepBytes

func (x *MyMessage) GetRepBytes() [][]byte

func (*MyMessage) GetRepInner

func (x *MyMessage) GetRepInner() []*InnerMessage

func (*MyMessage) GetSomegroup

func (x *MyMessage) GetSomegroup() *MyMessage_SomeGroup

func (*MyMessage) GetWeMustGoDeeper

func (x *MyMessage) GetWeMustGoDeeper() *RequiredInnerMessage

func (*MyMessage) ProtoMessage

func (*MyMessage) ProtoMessage()

func (*MyMessage) ProtoReflect

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

func (*MyMessage) Reset

func (x *MyMessage) Reset()

func (*MyMessage) String

func (x *MyMessage) String() string

type MyMessage_Color

type MyMessage_Color int32
const (
	MyMessage_RED   MyMessage_Color = 0
	MyMessage_GREEN MyMessage_Color = 1
	MyMessage_BLUE  MyMessage_Color = 2
)

func (MyMessage_Color) Descriptor

func (MyMessage_Color) Enum

func (x MyMessage_Color) Enum() *MyMessage_Color

func (MyMessage_Color) EnumDescriptor deprecated

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

Deprecated: Use MyMessage_Color.Descriptor instead.

func (MyMessage_Color) Number

func (MyMessage_Color) String

func (x MyMessage_Color) String() string

func (MyMessage_Color) Type

func (*MyMessage_Color) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type MyMessage_SomeGroup

type MyMessage_SomeGroup struct {
	GroupField *int32 `protobuf:"varint,9,opt,name=group_field,json=groupField" json:"group_field,omitempty"`
	// contains filtered or unexported fields
}

func (*MyMessage_SomeGroup) Descriptor deprecated

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

Deprecated: Use MyMessage_SomeGroup.ProtoReflect.Descriptor instead.

func (*MyMessage_SomeGroup) GetGroupField

func (x *MyMessage_SomeGroup) GetGroupField() int32

func (*MyMessage_SomeGroup) ProtoMessage

func (*MyMessage_SomeGroup) ProtoMessage()

func (*MyMessage_SomeGroup) ProtoReflect

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

func (*MyMessage_SomeGroup) Reset

func (x *MyMessage_SomeGroup) Reset()

func (*MyMessage_SomeGroup) String

func (x *MyMessage_SomeGroup) String() string

type NewMessage

type NewMessage struct {
	Nested *NewMessage_Nested `protobuf:"bytes,1,opt,name=nested" json:"nested,omitempty"`
	// This is an int32 in OldMessage.
	Num *int64 `protobuf:"varint,2,opt,name=num" json:"num,omitempty"`
	// contains filtered or unexported fields
}

NewMessage is wire compatible with OldMessage; imagine it as a future version.

func (*NewMessage) Descriptor deprecated

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

Deprecated: Use NewMessage.ProtoReflect.Descriptor instead.

func (*NewMessage) GetNested

func (x *NewMessage) GetNested() *NewMessage_Nested

func (*NewMessage) GetNum

func (x *NewMessage) GetNum() int64

func (*NewMessage) ProtoMessage

func (*NewMessage) ProtoMessage()

func (*NewMessage) ProtoReflect

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

func (*NewMessage) Reset

func (x *NewMessage) Reset()

func (*NewMessage) String

func (x *NewMessage) String() string

type NewMessage_Nested

type NewMessage_Nested struct {
	Name      *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	FoodGroup *string `protobuf:"bytes,2,opt,name=food_group,json=foodGroup" json:"food_group,omitempty"`
	// contains filtered or unexported fields
}

func (*NewMessage_Nested) Descriptor deprecated

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

Deprecated: Use NewMessage_Nested.ProtoReflect.Descriptor instead.

func (*NewMessage_Nested) GetFoodGroup

func (x *NewMessage_Nested) GetFoodGroup() string

func (*NewMessage_Nested) GetName

func (x *NewMessage_Nested) GetName() string

func (*NewMessage_Nested) ProtoMessage

func (*NewMessage_Nested) ProtoMessage()

func (*NewMessage_Nested) ProtoReflect

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

func (*NewMessage_Nested) Reset

func (x *NewMessage_Nested) Reset()

func (*NewMessage_Nested) String

func (x *NewMessage_Nested) String() string

type NonPackedTest

type NonPackedTest struct {
	A []int32 `protobuf:"varint,1,rep,name=a" json:"a,omitempty"`
	// contains filtered or unexported fields
}

For testing packed/non-packed decoder switching. A serialized instance of one should be deserializable as the other.

func (*NonPackedTest) Descriptor deprecated

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

Deprecated: Use NonPackedTest.ProtoReflect.Descriptor instead.

func (*NonPackedTest) GetA

func (x *NonPackedTest) GetA() []int32

func (*NonPackedTest) ProtoMessage

func (*NonPackedTest) ProtoMessage()

func (*NonPackedTest) ProtoReflect

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

func (*NonPackedTest) Reset

func (x *NonPackedTest) Reset()

func (*NonPackedTest) String

func (x *NonPackedTest) String() string

type OldMessage

type OldMessage struct {
	Nested *OldMessage_Nested `protobuf:"bytes,1,opt,name=nested" json:"nested,omitempty"`
	Num    *int32             `protobuf:"varint,2,opt,name=num" json:"num,omitempty"`
	// contains filtered or unexported fields
}

func (*OldMessage) Descriptor deprecated

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

Deprecated: Use OldMessage.ProtoReflect.Descriptor instead.

func (*OldMessage) GetNested

func (x *OldMessage) GetNested() *OldMessage_Nested

func (*OldMessage) GetNum

func (x *OldMessage) GetNum() int32

func (*OldMessage) ProtoMessage

func (*OldMessage) ProtoMessage()

func (*OldMessage) ProtoReflect

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

func (*OldMessage) Reset

func (x *OldMessage) Reset()

func (*OldMessage) String

func (x *OldMessage) String() string

type OldMessage_Nested

type OldMessage_Nested struct {
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*OldMessage_Nested) Descriptor deprecated

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

Deprecated: Use OldMessage_Nested.ProtoReflect.Descriptor instead.

func (*OldMessage_Nested) GetName

func (x *OldMessage_Nested) GetName() string

func (*OldMessage_Nested) ProtoMessage

func (*OldMessage_Nested) ProtoMessage()

func (*OldMessage_Nested) ProtoReflect

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

func (*OldMessage_Nested) Reset

func (x *OldMessage_Nested) Reset()

func (*OldMessage_Nested) String

func (x *OldMessage_Nested) String() string

type Oneof

type Oneof struct {

	// Types that are assignable to Union:
	//	*Oneof_F_Bool
	//	*Oneof_F_Int32
	//	*Oneof_F_Int64
	//	*Oneof_F_Fixed32
	//	*Oneof_F_Fixed64
	//	*Oneof_F_Uint32
	//	*Oneof_F_Uint64
	//	*Oneof_F_Float
	//	*Oneof_F_Double
	//	*Oneof_F_String
	//	*Oneof_F_Bytes
	//	*Oneof_F_Sint32
	//	*Oneof_F_Sint64
	//	*Oneof_F_Enum
	//	*Oneof_F_Message
	//	*Oneof_FGroup
	//	*Oneof_F_Largest_Tag
	Union isOneof_Union `protobuf_oneof:"union"`
	// Types that are assignable to Tormato:
	//	*Oneof_Value
	Tormato isOneof_Tormato `protobuf_oneof:"tormato"`
	// contains filtered or unexported fields
}

func (*Oneof) Descriptor deprecated

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

Deprecated: Use Oneof.ProtoReflect.Descriptor instead.

func (*Oneof) GetFGroup

func (x *Oneof) GetFGroup() *Oneof_F_Group

func (*Oneof) GetF_Bool

func (x *Oneof) GetF_Bool() bool

func (*Oneof) GetF_Bytes

func (x *Oneof) GetF_Bytes() []byte

func (*Oneof) GetF_Double

func (x *Oneof) GetF_Double() float64

func (*Oneof) GetF_Enum

func (x *Oneof) GetF_Enum() MyMessage_Color

func (*Oneof) GetF_Fixed32

func (x *Oneof) GetF_Fixed32() uint32

func (*Oneof) GetF_Fixed64

func (x *Oneof) GetF_Fixed64() uint64

func (*Oneof) GetF_Float

func (x *Oneof) GetF_Float() float32

func (*Oneof) GetF_Int32

func (x *Oneof) GetF_Int32() int32

func (*Oneof) GetF_Int64

func (x *Oneof) GetF_Int64() int64

func (*Oneof) GetF_Largest_Tag

func (x *Oneof) GetF_Largest_Tag() int32

func (*Oneof) GetF_Message

func (x *Oneof) GetF_Message() *GoTestField

func (*Oneof) GetF_Sint32

func (x *Oneof) GetF_Sint32() int32

func (*Oneof) GetF_Sint64

func (x *Oneof) GetF_Sint64() int64

func (*Oneof) GetF_String

func (x *Oneof) GetF_String() string

func (*Oneof) GetF_Uint32

func (x *Oneof) GetF_Uint32() uint32

func (*Oneof) GetF_Uint64

func (x *Oneof) GetF_Uint64() uint64

func (*Oneof) GetTormato

func (m *Oneof) GetTormato() isOneof_Tormato

func (*Oneof) GetUnion

func (m *Oneof) GetUnion() isOneof_Union

func (*Oneof) GetValue

func (x *Oneof) GetValue() int32

func (*Oneof) ProtoMessage

func (*Oneof) ProtoMessage()

func (*Oneof) ProtoReflect

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

func (*Oneof) Reset

func (x *Oneof) Reset()

func (*Oneof) String

func (x *Oneof) String() string

type Oneof_FGroup

type Oneof_FGroup struct {
	FGroup *Oneof_F_Group `protobuf:"group,16,opt,name=F_Group,json=fGroup,oneof"`
}

type Oneof_F_Bool

type Oneof_F_Bool struct {
	F_Bool bool `protobuf:"varint,1,opt,name=F_Bool,json=FBool,oneof"`
}

type Oneof_F_Bytes

type Oneof_F_Bytes struct {
	F_Bytes []byte `protobuf:"bytes,11,opt,name=F_Bytes,json=FBytes,oneof"`
}

type Oneof_F_Double

type Oneof_F_Double struct {
	F_Double float64 `protobuf:"fixed64,9,opt,name=F_Double,json=FDouble,oneof"`
}

type Oneof_F_Enum

type Oneof_F_Enum struct {
	F_Enum MyMessage_Color `protobuf:"varint,14,opt,name=F_Enum,json=FEnum,enum=proto2_test.MyMessage_Color,oneof"`
}

type Oneof_F_Fixed32

type Oneof_F_Fixed32 struct {
	F_Fixed32 uint32 `protobuf:"fixed32,4,opt,name=F_Fixed32,json=FFixed32,oneof"`
}

type Oneof_F_Fixed64

type Oneof_F_Fixed64 struct {
	F_Fixed64 uint64 `protobuf:"fixed64,5,opt,name=F_Fixed64,json=FFixed64,oneof"`
}

type Oneof_F_Float

type Oneof_F_Float struct {
	F_Float float32 `protobuf:"fixed32,8,opt,name=F_Float,json=FFloat,oneof"`
}

type Oneof_F_Group

type Oneof_F_Group struct {
	X *int32 `protobuf:"varint,17,opt,name=x" json:"x,omitempty"`
	// contains filtered or unexported fields
}

func (*Oneof_F_Group) Descriptor deprecated

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

Deprecated: Use Oneof_F_Group.ProtoReflect.Descriptor instead.

func (*Oneof_F_Group) GetX

func (x *Oneof_F_Group) GetX() int32

func (*Oneof_F_Group) ProtoMessage

func (*Oneof_F_Group) ProtoMessage()

func (*Oneof_F_Group) ProtoReflect

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

func (*Oneof_F_Group) Reset

func (x *Oneof_F_Group) Reset()

func (*Oneof_F_Group) String

func (x *Oneof_F_Group) String() string

type Oneof_F_Int32

type Oneof_F_Int32 struct {
	F_Int32 int32 `protobuf:"varint,2,opt,name=F_Int32,json=FInt32,oneof"`
}

type Oneof_F_Int64

type Oneof_F_Int64 struct {
	F_Int64 int64 `protobuf:"varint,3,opt,name=F_Int64,json=FInt64,oneof"`
}

type Oneof_F_Largest_Tag

type Oneof_F_Largest_Tag struct {
	F_Largest_Tag int32 `protobuf:"varint,536870911,opt,name=F_Largest_Tag,json=FLargestTag,oneof"`
}

type Oneof_F_Message

type Oneof_F_Message struct {
	F_Message *GoTestField `protobuf:"bytes,15,opt,name=F_Message,json=FMessage,oneof"`
}

type Oneof_F_Sint32

type Oneof_F_Sint32 struct {
	F_Sint32 int32 `protobuf:"zigzag32,12,opt,name=F_Sint32,json=FSint32,oneof"`
}

type Oneof_F_Sint64

type Oneof_F_Sint64 struct {
	F_Sint64 int64 `protobuf:"zigzag64,13,opt,name=F_Sint64,json=FSint64,oneof"`
}

type Oneof_F_String

type Oneof_F_String struct {
	F_String string `protobuf:"bytes,10,opt,name=F_String,json=FString,oneof"`
}

type Oneof_F_Uint32

type Oneof_F_Uint32 struct {
	F_Uint32 uint32 `protobuf:"varint,6,opt,name=F_Uint32,json=FUint32,oneof"`
}

type Oneof_F_Uint64

type Oneof_F_Uint64 struct {
	F_Uint64 uint64 `protobuf:"varint,7,opt,name=F_Uint64,json=FUint64,oneof"`
}

type Oneof_Value

type Oneof_Value struct {
	Value int32 `protobuf:"varint,100,opt,name=value,oneof"`
}

type OtherMessage

type OtherMessage struct {
	Key    *int64        `protobuf:"varint,1,opt,name=key" json:"key,omitempty"`
	Value  []byte        `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
	Weight *float32      `protobuf:"fixed32,3,opt,name=weight" json:"weight,omitempty"`
	Inner  *InnerMessage `protobuf:"bytes,4,opt,name=inner" json:"inner,omitempty"`
	// contains filtered or unexported fields
}

func (*OtherMessage) Descriptor deprecated

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

Deprecated: Use OtherMessage.ProtoReflect.Descriptor instead.

func (*OtherMessage) ExtensionRangeArray deprecated

func (*OtherMessage) ExtensionRangeArray() []protoiface.ExtensionRangeV1

Deprecated: Use OtherMessage.ProtoReflect.Descriptor.ExtensionRanges instead.

func (*OtherMessage) GetInner

func (x *OtherMessage) GetInner() *InnerMessage

func (*OtherMessage) GetKey

func (x *OtherMessage) GetKey() int64

func (*OtherMessage) GetValue

func (x *OtherMessage) GetValue() []byte

func (*OtherMessage) GetWeight

func (x *OtherMessage) GetWeight() float32

func (*OtherMessage) ProtoMessage

func (*OtherMessage) ProtoMessage()

func (*OtherMessage) ProtoReflect

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

func (*OtherMessage) Reset

func (x *OtherMessage) Reset()

func (*OtherMessage) String

func (x *OtherMessage) String() string

type PackedTest

type PackedTest struct {
	B []int32 `protobuf:"varint,1,rep,packed,name=b" json:"b,omitempty"`
	// contains filtered or unexported fields
}

func (*PackedTest) Descriptor deprecated

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

Deprecated: Use PackedTest.ProtoReflect.Descriptor instead.

func (*PackedTest) GetB

func (x *PackedTest) GetB() []int32

func (*PackedTest) ProtoMessage

func (*PackedTest) ProtoMessage()

func (*PackedTest) ProtoReflect

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

func (*PackedTest) Reset

func (x *PackedTest) Reset()

func (*PackedTest) String

func (x *PackedTest) String() string

type RepeatedEnum

type RepeatedEnum struct {
	Color []RepeatedEnum_Color `protobuf:"varint,1,rep,name=color,enum=proto2_test.RepeatedEnum_Color" json:"color,omitempty"`
	// contains filtered or unexported fields
}

func (*RepeatedEnum) Descriptor deprecated

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

Deprecated: Use RepeatedEnum.ProtoReflect.Descriptor instead.

func (*RepeatedEnum) GetColor

func (x *RepeatedEnum) GetColor() []RepeatedEnum_Color

func (*RepeatedEnum) ProtoMessage

func (*RepeatedEnum) ProtoMessage()

func (*RepeatedEnum) ProtoReflect

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

func (*RepeatedEnum) Reset

func (x *RepeatedEnum) Reset()

func (*RepeatedEnum) String

func (x *RepeatedEnum) String() string

type RepeatedEnum_Color

type RepeatedEnum_Color int32
const (
	RepeatedEnum_RED RepeatedEnum_Color = 1
)

func (RepeatedEnum_Color) Descriptor

func (RepeatedEnum_Color) Enum

func (RepeatedEnum_Color) EnumDescriptor deprecated

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

Deprecated: Use RepeatedEnum_Color.Descriptor instead.

func (RepeatedEnum_Color) Number

func (RepeatedEnum_Color) String

func (x RepeatedEnum_Color) String() string

func (RepeatedEnum_Color) Type

func (*RepeatedEnum_Color) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type RequiredInnerMessage

type RequiredInnerMessage struct {
	LeoFinallyWonAnOscar *InnerMessage `protobuf:"bytes,1,req,name=leo_finally_won_an_oscar,json=leoFinallyWonAnOscar" json:"leo_finally_won_an_oscar,omitempty"`
	// contains filtered or unexported fields
}

func (*RequiredInnerMessage) Descriptor deprecated

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

Deprecated: Use RequiredInnerMessage.ProtoReflect.Descriptor instead.

func (*RequiredInnerMessage) GetLeoFinallyWonAnOscar

func (x *RequiredInnerMessage) GetLeoFinallyWonAnOscar() *InnerMessage

func (*RequiredInnerMessage) ProtoMessage

func (*RequiredInnerMessage) ProtoMessage()

func (*RequiredInnerMessage) ProtoReflect

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

func (*RequiredInnerMessage) Reset

func (x *RequiredInnerMessage) Reset()

func (*RequiredInnerMessage) String

func (x *RequiredInnerMessage) String() string

type Strings

type Strings struct {
	StringField *string `protobuf:"bytes,1,opt,name=string_field,json=stringField" json:"string_field,omitempty"`
	BytesField  []byte  `protobuf:"bytes,2,opt,name=bytes_field,json=bytesField" json:"bytes_field,omitempty"`
	// contains filtered or unexported fields
}

func (*Strings) Descriptor deprecated

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

Deprecated: Use Strings.ProtoReflect.Descriptor instead.

func (*Strings) GetBytesField

func (x *Strings) GetBytesField() []byte

func (*Strings) GetStringField

func (x *Strings) GetStringField() string

func (*Strings) ProtoMessage

func (*Strings) ProtoMessage()

func (*Strings) ProtoReflect

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

func (*Strings) Reset

func (x *Strings) Reset()

func (*Strings) String

func (x *Strings) String() string

type SubDefaults

type SubDefaults struct {
	N *int64 `protobuf:"varint,1,opt,name=n,def=7" json:"n,omitempty"`
	// contains filtered or unexported fields
}

func (*SubDefaults) Descriptor deprecated

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

Deprecated: Use SubDefaults.ProtoReflect.Descriptor instead.

func (*SubDefaults) GetN

func (x *SubDefaults) GetN() int64

func (*SubDefaults) ProtoMessage

func (*SubDefaults) ProtoMessage()

func (*SubDefaults) ProtoReflect

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

func (*SubDefaults) Reset

func (x *SubDefaults) Reset()

func (*SubDefaults) String

func (x *SubDefaults) String() string

type TestUTF8

type TestUTF8 struct {
	Scalar *string  `protobuf:"bytes,1,opt,name=scalar" json:"scalar,omitempty"`
	Vector []string `protobuf:"bytes,2,rep,name=vector" json:"vector,omitempty"`
	// Types that are assignable to Oneof:
	//	*TestUTF8_Field
	Oneof    isTestUTF8_Oneof `protobuf_oneof:"oneof"`
	MapKey   map[string]int64 `` /* 147-byte string literal not displayed */
	MapValue map[int64]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TestUTF8) Descriptor deprecated

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

Deprecated: Use TestUTF8.ProtoReflect.Descriptor instead.

func (*TestUTF8) GetField

func (x *TestUTF8) GetField() string

func (*TestUTF8) GetMapKey

func (x *TestUTF8) GetMapKey() map[string]int64

func (*TestUTF8) GetMapValue

func (x *TestUTF8) GetMapValue() map[int64]string

func (*TestUTF8) GetOneof

func (m *TestUTF8) GetOneof() isTestUTF8_Oneof

func (*TestUTF8) GetScalar

func (x *TestUTF8) GetScalar() string

func (*TestUTF8) GetVector

func (x *TestUTF8) GetVector() []string

func (*TestUTF8) ProtoMessage

func (*TestUTF8) ProtoMessage()

func (*TestUTF8) ProtoReflect

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

func (*TestUTF8) Reset

func (x *TestUTF8) Reset()

func (*TestUTF8) String

func (x *TestUTF8) String() string

type TestUTF8_Field

type TestUTF8_Field struct {
	Field string `protobuf:"bytes,3,opt,name=field,oneof"`
}

Jump to

Keyboard shortcuts

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