proto2_proto

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2020 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const Default_Defaults_F_Bool bool = true
View Source
const Default_Defaults_F_Double float64 = 271828
View Source
const Default_Defaults_F_Fixed32 uint32 = 320
View Source
const Default_Defaults_F_Fixed64 uint64 = 640
View Source
const Default_Defaults_F_Float float32 = 314159
View Source
const Default_Defaults_F_Int32 int32 = 32
View Source
const Default_Defaults_F_Int64 int64 = 64
View Source
const Default_Defaults_F_Sint32 int32 = -32
View Source
const Default_Defaults_F_Sint64 int64 = -64
View Source
const Default_Defaults_F_String string = "hello, \"world!\"\n"
View Source
const Default_Defaults_F_Uint32 uint32 = 3200
View Source
const Default_Defaults_F_Uint64 uint64 = 6400
View Source
const Default_GoTest_F_BoolDefaulted bool = true
View Source
const Default_GoTest_F_DoubleDefaulted float64 = 271828
View Source
const Default_GoTest_F_Fixed32Defaulted uint32 = 320
View Source
const Default_GoTest_F_Fixed64Defaulted uint64 = 640
View Source
const Default_GoTest_F_FloatDefaulted float32 = 314159
View Source
const Default_GoTest_F_Int32Defaulted int32 = 32
View Source
const Default_GoTest_F_Int64Defaulted int64 = 64
View Source
const Default_GoTest_F_Sfixed32Defaulted int32 = -32
View Source
const Default_GoTest_F_Sfixed64Defaulted int64 = -64
View Source
const Default_GoTest_F_Sint32Defaulted int32 = -32
View Source
const Default_GoTest_F_Sint64Defaulted int64 = -64
View Source
const Default_GoTest_F_StringDefaulted string = "hello, \"world!\"\n"
View Source
const Default_GoTest_F_Uint32Defaulted uint32 = 3200
View Source
const Default_GoTest_F_Uint64Defaulted uint64 = 6400
View Source
const Default_InnerMessage_Port int32 = 4000
View Source
const Default_SubDefaults_N int64 = 7

Variables

View Source
var Default_Defaults_F_Bytes []byte = []byte("Bignose")
View Source
var Default_Defaults_F_Nan float32 = float32(math.NaN())
View Source
var Default_Defaults_F_Ninf float32 = float32(math.Inf(-1))
View Source
var Default_Defaults_F_Pinf float32 = float32(math.Inf(1))
View Source
var Default_GoTest_F_BytesDefaulted []byte = []byte("Bignose")
View Source
var DefaultsMessage_DefaultsEnum_name = map[int32]string{
	0: "ZERO",
	1: "ONE",
	2: "TWO",
}
View Source
var DefaultsMessage_DefaultsEnum_value = map[string]int32{
	"ZERO": 0,
	"ONE":  1,
	"TWO":  2,
}
View Source
var Defaults_Color_name = map[int32]string{
	0: "RED",
	1: "GREEN",
	2: "BLUE",
}
View Source
var Defaults_Color_value = map[string]int32{
	"RED":   0,
	"GREEN": 1,
	"BLUE":  2,
}
View Source
var E_Complex = &proto.ExtensionDesc{
	ExtendedType:  (*OtherMessage)(nil),
	ExtensionType: (*ComplexExtension)(nil),
	Field:         200,
	Name:          "proto2_test.complex",
	Tag:           "bytes,200,opt,name=complex",
	Filename:      "proto2_proto/test.proto",
}
View Source
var E_DefaultBool = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*bool)(nil),
	Field:         213,
	Name:          "proto2_test.default_bool",
	Tag:           "varint,213,opt,name=default_bool,def=1",
	Filename:      "proto2_proto/test.proto",
}
View Source
var E_DefaultBytes = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: ([]byte)(nil),
	Field:         215,
	Name:          "proto2_test.default_bytes",
	Tag:           "bytes,215,opt,name=default_bytes,def=Hello, bytes",
	Filename:      "proto2_proto/test.proto",
}
View Source
var E_DefaultDouble = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*float64)(nil),
	Field:         201,
	Name:          "proto2_test.default_double",
	Tag:           "fixed64,201,opt,name=default_double,def=3.1415",
	Filename:      "proto2_proto/test.proto",
}
View Source
var E_DefaultEnum = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*DefaultsMessage_DefaultsEnum)(nil),
	Field:         216,
	Name:          "proto2_test.default_enum",
	Tag:           "varint,216,opt,name=default_enum,enum=proto2_test.DefaultsMessage_DefaultsEnum,def=1",
	Filename:      "proto2_proto/test.proto",
}
View Source
var E_DefaultFixed32 = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*uint32)(nil),
	Field:         209,
	Name:          "proto2_test.default_fixed32",
	Tag:           "fixed32,209,opt,name=default_fixed32,def=48",
	Filename:      "proto2_proto/test.proto",
}
View Source
var E_DefaultFixed64 = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*uint64)(nil),
	Field:         210,
	Name:          "proto2_test.default_fixed64",
	Tag:           "fixed64,210,opt,name=default_fixed64,def=49",
	Filename:      "proto2_proto/test.proto",
}
View Source
var E_DefaultFloat = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*float32)(nil),
	Field:         202,
	Name:          "proto2_test.default_float",
	Tag:           "fixed32,202,opt,name=default_float,def=3.14",
	Filename:      "proto2_proto/test.proto",
}
View Source
var E_DefaultInt32 = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*int32)(nil),
	Field:         203,
	Name:          "proto2_test.default_int32",
	Tag:           "varint,203,opt,name=default_int32,def=42",
	Filename:      "proto2_proto/test.proto",
}
View Source
var E_DefaultInt64 = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*int64)(nil),
	Field:         204,
	Name:          "proto2_test.default_int64",
	Tag:           "varint,204,opt,name=default_int64,def=43",
	Filename:      "proto2_proto/test.proto",
}
View Source
var E_DefaultSfixed32 = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*int32)(nil),
	Field:         211,
	Name:          "proto2_test.default_sfixed32",
	Tag:           "fixed32,211,opt,name=default_sfixed32,def=50",
	Filename:      "proto2_proto/test.proto",
}
View Source
var E_DefaultSfixed64 = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*int64)(nil),
	Field:         212,
	Name:          "proto2_test.default_sfixed64",
	Tag:           "fixed64,212,opt,name=default_sfixed64,def=51",
	Filename:      "proto2_proto/test.proto",
}
View Source
var E_DefaultSint32 = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*int32)(nil),
	Field:         207,
	Name:          "proto2_test.default_sint32",
	Tag:           "zigzag32,207,opt,name=default_sint32,def=46",
	Filename:      "proto2_proto/test.proto",
}
View Source
var E_DefaultSint64 = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*int64)(nil),
	Field:         208,
	Name:          "proto2_test.default_sint64",
	Tag:           "zigzag64,208,opt,name=default_sint64,def=47",
	Filename:      "proto2_proto/test.proto",
}
View Source
var E_DefaultString = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*string)(nil),
	Field:         214,
	Name:          "proto2_test.default_string",
	Tag:           "bytes,214,opt,name=default_string,def=Hello, string,def=foo",
	Filename:      "proto2_proto/test.proto",
}
View Source
var E_DefaultUint32 = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*uint32)(nil),
	Field:         205,
	Name:          "proto2_test.default_uint32",
	Tag:           "varint,205,opt,name=default_uint32,def=44",
	Filename:      "proto2_proto/test.proto",
}
View Source
var E_DefaultUint64 = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*uint64)(nil),
	Field:         206,
	Name:          "proto2_test.default_uint64",
	Tag:           "varint,206,opt,name=default_uint64,def=45",
	Filename:      "proto2_proto/test.proto",
}
View Source
var E_Ext_More = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessage)(nil),
	ExtensionType: (*Ext)(nil),
	Field:         103,
	Name:          "proto2_test.Ext.more",
	Tag:           "bytes,103,opt,name=more",
	Filename:      "proto2_proto/test.proto",
}
View Source
var E_Ext_Number = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessage)(nil),
	ExtensionType: (*int32)(nil),
	Field:         105,
	Name:          "proto2_test.Ext.number",
	Tag:           "varint,105,opt,name=number",
	Filename:      "proto2_proto/test.proto",
}
View Source
var E_Ext_Text = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessage)(nil),
	ExtensionType: (*string)(nil),
	Field:         104,
	Name:          "proto2_test.Ext.text",
	Tag:           "bytes,104,opt,name=text",
	Filename:      "proto2_proto/test.proto",
}
View Source
var E_Greeting = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessage)(nil),
	ExtensionType: ([]string)(nil),
	Field:         106,
	Name:          "proto2_test.greeting",
	Tag:           "bytes,106,rep,name=greeting",
	Filename:      "proto2_proto/test.proto",
}
View Source
var E_NoDefaultBool = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*bool)(nil),
	Field:         113,
	Name:          "proto2_test.no_default_bool",
	Tag:           "varint,113,opt,name=no_default_bool",
	Filename:      "proto2_proto/test.proto",
}
View Source
var E_NoDefaultBytes = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: ([]byte)(nil),
	Field:         115,
	Name:          "proto2_test.no_default_bytes",
	Tag:           "bytes,115,opt,name=no_default_bytes",
	Filename:      "proto2_proto/test.proto",
}
View Source
var E_NoDefaultDouble = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*float64)(nil),
	Field:         101,
	Name:          "proto2_test.no_default_double",
	Tag:           "fixed64,101,opt,name=no_default_double",
	Filename:      "proto2_proto/test.proto",
}
View Source
var E_NoDefaultEnum = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*DefaultsMessage_DefaultsEnum)(nil),
	Field:         116,
	Name:          "proto2_test.no_default_enum",
	Tag:           "varint,116,opt,name=no_default_enum,enum=proto2_test.DefaultsMessage_DefaultsEnum",
	Filename:      "proto2_proto/test.proto",
}
View Source
var E_NoDefaultFixed32 = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*uint32)(nil),
	Field:         109,
	Name:          "proto2_test.no_default_fixed32",
	Tag:           "fixed32,109,opt,name=no_default_fixed32",
	Filename:      "proto2_proto/test.proto",
}
View Source
var E_NoDefaultFixed64 = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*uint64)(nil),
	Field:         110,
	Name:          "proto2_test.no_default_fixed64",
	Tag:           "fixed64,110,opt,name=no_default_fixed64",
	Filename:      "proto2_proto/test.proto",
}
View Source
var E_NoDefaultFloat = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*float32)(nil),
	Field:         102,
	Name:          "proto2_test.no_default_float",
	Tag:           "fixed32,102,opt,name=no_default_float",
	Filename:      "proto2_proto/test.proto",
}
View Source
var E_NoDefaultInt32 = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*int32)(nil),
	Field:         103,
	Name:          "proto2_test.no_default_int32",
	Tag:           "varint,103,opt,name=no_default_int32",
	Filename:      "proto2_proto/test.proto",
}
View Source
var E_NoDefaultInt64 = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*int64)(nil),
	Field:         104,
	Name:          "proto2_test.no_default_int64",
	Tag:           "varint,104,opt,name=no_default_int64",
	Filename:      "proto2_proto/test.proto",
}
View Source
var E_NoDefaultSfixed32 = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*int32)(nil),
	Field:         111,
	Name:          "proto2_test.no_default_sfixed32",
	Tag:           "fixed32,111,opt,name=no_default_sfixed32",
	Filename:      "proto2_proto/test.proto",
}
View Source
var E_NoDefaultSfixed64 = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*int64)(nil),
	Field:         112,
	Name:          "proto2_test.no_default_sfixed64",
	Tag:           "fixed64,112,opt,name=no_default_sfixed64",
	Filename:      "proto2_proto/test.proto",
}
View Source
var E_NoDefaultSint32 = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*int32)(nil),
	Field:         107,
	Name:          "proto2_test.no_default_sint32",
	Tag:           "zigzag32,107,opt,name=no_default_sint32",
	Filename:      "proto2_proto/test.proto",
}
View Source
var E_NoDefaultSint64 = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*int64)(nil),
	Field:         108,
	Name:          "proto2_test.no_default_sint64",
	Tag:           "zigzag64,108,opt,name=no_default_sint64",
	Filename:      "proto2_proto/test.proto",
}
View Source
var E_NoDefaultString = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*string)(nil),
	Field:         114,
	Name:          "proto2_test.no_default_string",
	Tag:           "bytes,114,opt,name=no_default_string",
	Filename:      "proto2_proto/test.proto",
}
View Source
var E_NoDefaultUint32 = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*uint32)(nil),
	Field:         105,
	Name:          "proto2_test.no_default_uint32",
	Tag:           "varint,105,opt,name=no_default_uint32",
	Filename:      "proto2_proto/test.proto",
}
View Source
var E_NoDefaultUint64 = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*uint64)(nil),
	Field:         106,
	Name:          "proto2_test.no_default_uint64",
	Tag:           "varint,106,opt,name=no_default_uint64",
	Filename:      "proto2_proto/test.proto",
}
View Source
var E_RComplex = &proto.ExtensionDesc{
	ExtendedType:  (*OtherMessage)(nil),
	ExtensionType: ([]*ComplexExtension)(nil),
	Field:         201,
	Name:          "proto2_test.r_complex",
	Tag:           "bytes,201,rep,name=r_complex",
	Filename:      "proto2_proto/test.proto",
}
View Source
var FOO_name = map[int32]string{
	1: "FOO1",
}
View Source
var FOO_value = map[string]int32{
	"FOO1": 1,
}
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",
}
View Source
var 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,
}
View Source
var MyMessage_Color_name = map[int32]string{
	0: "RED",
	1: "GREEN",
	2: "BLUE",
}
View Source
var MyMessage_Color_value = map[string]int32{
	"RED":   0,
	"GREEN": 1,
	"BLUE":  2,
}
View Source
var RepeatedEnum_Color_name = map[int32]string{
	1: "RED",
}
View Source
var RepeatedEnum_Color_value = map[string]int32{
	"RED": 1,
}

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 valid to be assigned to Union:
	//	*Communique_Number
	//	*Communique_Name
	//	*Communique_Data
	//	*Communique_TempC
	//	*Communique_Col
	//	*Communique_Msg
	Union                isCommunique_Union `protobuf_oneof:"union"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*Communique) Descriptor

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

func (*Communique) GetCol

func (m *Communique) GetCol() MyMessage_Color

func (*Communique) GetData

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

func (*Communique) GetMakeMeCry

func (m *Communique) GetMakeMeCry() bool

func (*Communique) GetMsg

func (m *Communique) GetMsg() *Strings

func (*Communique) GetName

func (m *Communique) GetName() string

func (*Communique) GetNumber

func (m *Communique) GetNumber() int32

func (*Communique) GetTempC

func (m *Communique) GetTempC() float64

func (*Communique) GetUnion

func (m *Communique) GetUnion() isCommunique_Union

func (*Communique) ProtoMessage

func (*Communique) ProtoMessage()

func (*Communique) Reset

func (m *Communique) Reset()

func (*Communique) String

func (m *Communique) String() string

func (*Communique) XXX_DiscardUnknown

func (m *Communique) XXX_DiscardUnknown()

func (*Communique) XXX_Marshal

func (m *Communique) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Communique) XXX_Merge

func (m *Communique) XXX_Merge(src proto.Message)

func (*Communique) XXX_OneofWrappers

func (*Communique) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Communique) XXX_Size

func (m *Communique) XXX_Size() int

func (*Communique) XXX_Unmarshal

func (m *Communique) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ComplexExtension) Descriptor

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

func (*ComplexExtension) GetFirst

func (m *ComplexExtension) GetFirst() int32

func (*ComplexExtension) GetSecond

func (m *ComplexExtension) GetSecond() int32

func (*ComplexExtension) GetThird

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

func (*ComplexExtension) ProtoMessage

func (*ComplexExtension) ProtoMessage()

func (*ComplexExtension) Reset

func (m *ComplexExtension) Reset()

func (*ComplexExtension) String

func (m *ComplexExtension) String() string

func (*ComplexExtension) XXX_DiscardUnknown

func (m *ComplexExtension) XXX_DiscardUnknown()

func (*ComplexExtension) XXX_Marshal

func (m *ComplexExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ComplexExtension) XXX_Merge

func (m *ComplexExtension) XXX_Merge(src proto.Message)

func (*ComplexExtension) XXX_Size

func (m *ComplexExtension) XXX_Size() int

func (*ComplexExtension) XXX_Unmarshal

func (m *ComplexExtension) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Defaults) Descriptor

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

func (*Defaults) GetF_Bool

func (m *Defaults) GetF_Bool() bool

func (*Defaults) GetF_Bytes

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

func (*Defaults) GetF_Double

func (m *Defaults) GetF_Double() float64

func (*Defaults) GetF_Enum

func (m *Defaults) GetF_Enum() Defaults_Color

func (*Defaults) GetF_Fixed32

func (m *Defaults) GetF_Fixed32() uint32

func (*Defaults) GetF_Fixed64

func (m *Defaults) GetF_Fixed64() uint64

func (*Defaults) GetF_Float

func (m *Defaults) GetF_Float() float32

func (*Defaults) GetF_Int32

func (m *Defaults) GetF_Int32() int32

func (*Defaults) GetF_Int64

func (m *Defaults) GetF_Int64() int64

func (*Defaults) GetF_Nan

func (m *Defaults) GetF_Nan() float32

func (*Defaults) GetF_Ninf

func (m *Defaults) GetF_Ninf() float32

func (*Defaults) GetF_Pinf

func (m *Defaults) GetF_Pinf() float32

func (*Defaults) GetF_Sint32

func (m *Defaults) GetF_Sint32() int32

func (*Defaults) GetF_Sint64

func (m *Defaults) GetF_Sint64() int64

func (*Defaults) GetF_String

func (m *Defaults) GetF_String() string

func (*Defaults) GetF_Uint32

func (m *Defaults) GetF_Uint32() uint32

func (*Defaults) GetF_Uint64

func (m *Defaults) GetF_Uint64() uint64

func (*Defaults) GetStrZero

func (m *Defaults) GetStrZero() string

func (*Defaults) GetSub

func (m *Defaults) GetSub() *SubDefaults

func (*Defaults) ProtoMessage

func (*Defaults) ProtoMessage()

func (*Defaults) Reset

func (m *Defaults) Reset()

func (*Defaults) String

func (m *Defaults) String() string

func (*Defaults) XXX_DiscardUnknown

func (m *Defaults) XXX_DiscardUnknown()

func (*Defaults) XXX_Marshal

func (m *Defaults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Defaults) XXX_Merge

func (m *Defaults) XXX_Merge(src proto.Message)

func (*Defaults) XXX_Size

func (m *Defaults) XXX_Size() int

func (*Defaults) XXX_Unmarshal

func (m *Defaults) XXX_Unmarshal(b []byte) error

type DefaultsMessage

type DefaultsMessage struct {
	XXX_NoUnkeyedLiteral         struct{} `json:"-"`
	proto.XXX_InternalExtensions `json:"-"`
	XXX_unrecognized             []byte `json:"-"`
	XXX_sizecache                int32  `json:"-"`
}

func (*DefaultsMessage) Descriptor

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

func (*DefaultsMessage) ExtensionRangeArray

func (*DefaultsMessage) ExtensionRangeArray() []proto.ExtensionRange

func (*DefaultsMessage) ProtoMessage

func (*DefaultsMessage) ProtoMessage()

func (*DefaultsMessage) Reset

func (m *DefaultsMessage) Reset()

func (*DefaultsMessage) String

func (m *DefaultsMessage) String() string

func (*DefaultsMessage) XXX_DiscardUnknown

func (m *DefaultsMessage) XXX_DiscardUnknown()

func (*DefaultsMessage) XXX_Marshal

func (m *DefaultsMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DefaultsMessage) XXX_Merge

func (m *DefaultsMessage) XXX_Merge(src proto.Message)

func (*DefaultsMessage) XXX_Size

func (m *DefaultsMessage) XXX_Size() int

func (*DefaultsMessage) XXX_Unmarshal

func (m *DefaultsMessage) XXX_Unmarshal(b []byte) error

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

func (DefaultsMessage_DefaultsEnum) EnumDescriptor

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

func (DefaultsMessage_DefaultsEnum) String

func (*DefaultsMessage_DefaultsEnum) UnmarshalJSON

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

type Defaults_Color

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

func (Defaults_Color) Enum

func (x Defaults_Color) Enum() *Defaults_Color

func (Defaults_Color) EnumDescriptor

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

func (Defaults_Color) String

func (x Defaults_Color) String() string

func (*Defaults_Color) UnmarshalJSON

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

type Empty

type Empty struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Empty) Descriptor

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

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) Reset

func (m *Empty) Reset()

func (*Empty) String

func (m *Empty) String() string

func (*Empty) XXX_DiscardUnknown

func (m *Empty) XXX_DiscardUnknown()

func (*Empty) XXX_Marshal

func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Empty) XXX_Merge

func (m *Empty) XXX_Merge(src proto.Message)

func (*Empty) XXX_Size

func (m *Empty) XXX_Size() int

func (*Empty) XXX_Unmarshal

func (m *Empty) XXX_Unmarshal(b []byte) error

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 */
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*Ext) Descriptor

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

func (*Ext) GetData

func (m *Ext) GetData() string

func (*Ext) GetMapField

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

func (*Ext) ProtoMessage

func (*Ext) ProtoMessage()

func (*Ext) Reset

func (m *Ext) Reset()

func (*Ext) String

func (m *Ext) String() string

func (*Ext) XXX_DiscardUnknown

func (m *Ext) XXX_DiscardUnknown()

func (*Ext) XXX_Marshal

func (m *Ext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Ext) XXX_Merge

func (m *Ext) XXX_Merge(src proto.Message)

func (*Ext) XXX_Size

func (m *Ext) XXX_Size() int

func (*Ext) XXX_Unmarshal

func (m *Ext) XXX_Unmarshal(b []byte) error

type FOO

type FOO int32
const (
	FOO_FOO1 FOO = 1
)

func (FOO) Enum

func (x FOO) Enum() *FOO

func (FOO) EnumDescriptor

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

func (FOO) String

func (x FOO) String() string

func (*FOO) UnmarshalJSON

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

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FloatingPoint) Descriptor

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

func (*FloatingPoint) GetExact

func (m *FloatingPoint) GetExact() bool

func (*FloatingPoint) GetF

func (m *FloatingPoint) GetF() float64

func (*FloatingPoint) ProtoMessage

func (*FloatingPoint) ProtoMessage()

func (*FloatingPoint) Reset

func (m *FloatingPoint) Reset()

func (*FloatingPoint) String

func (m *FloatingPoint) String() string

func (*FloatingPoint) XXX_DiscardUnknown

func (m *FloatingPoint) XXX_DiscardUnknown()

func (*FloatingPoint) XXX_Marshal

func (m *FloatingPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FloatingPoint) XXX_Merge

func (m *FloatingPoint) XXX_Merge(src proto.Message)

func (*FloatingPoint) XXX_Size

func (m *FloatingPoint) XXX_Size() int

func (*FloatingPoint) XXX_Unmarshal

func (m *FloatingPoint) XXX_Unmarshal(b []byte) error

type GoEnum

type GoEnum struct {
	Foo                  *FOO     `protobuf:"varint,1,req,name=foo,enum=proto2_test.FOO" json:"foo,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GoEnum) Descriptor

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

func (*GoEnum) GetFoo

func (m *GoEnum) GetFoo() FOO

func (*GoEnum) ProtoMessage

func (*GoEnum) ProtoMessage()

func (*GoEnum) Reset

func (m *GoEnum) Reset()

func (*GoEnum) String

func (m *GoEnum) String() string

func (*GoEnum) XXX_DiscardUnknown

func (m *GoEnum) XXX_DiscardUnknown()

func (*GoEnum) XXX_Marshal

func (m *GoEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GoEnum) XXX_Merge

func (m *GoEnum) XXX_Merge(src proto.Message)

func (*GoEnum) XXX_Size

func (m *GoEnum) XXX_Size() int

func (*GoEnum) XXX_Unmarshal

func (m *GoEnum) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

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

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

func (*GoSkipTest) GetSkipFixed32

func (m *GoSkipTest) GetSkipFixed32() uint32

func (*GoSkipTest) GetSkipFixed64

func (m *GoSkipTest) GetSkipFixed64() uint64

func (*GoSkipTest) GetSkipInt32

func (m *GoSkipTest) GetSkipInt32() int32

func (*GoSkipTest) GetSkipString

func (m *GoSkipTest) GetSkipString() string

func (*GoSkipTest) GetSkipgroup

func (m *GoSkipTest) GetSkipgroup() *GoSkipTest_SkipGroup

func (*GoSkipTest) ProtoMessage

func (*GoSkipTest) ProtoMessage()

func (*GoSkipTest) Reset

func (m *GoSkipTest) Reset()

func (*GoSkipTest) String

func (m *GoSkipTest) String() string

func (*GoSkipTest) XXX_DiscardUnknown

func (m *GoSkipTest) XXX_DiscardUnknown()

func (*GoSkipTest) XXX_Marshal

func (m *GoSkipTest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GoSkipTest) XXX_Merge

func (m *GoSkipTest) XXX_Merge(src proto.Message)

func (*GoSkipTest) XXX_Size

func (m *GoSkipTest) XXX_Size() int

func (*GoSkipTest) XXX_Unmarshal

func (m *GoSkipTest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GoSkipTest_SkipGroup) Descriptor

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

func (*GoSkipTest_SkipGroup) GetGroupInt32

func (m *GoSkipTest_SkipGroup) GetGroupInt32() int32

func (*GoSkipTest_SkipGroup) GetGroupString

func (m *GoSkipTest_SkipGroup) GetGroupString() string

func (*GoSkipTest_SkipGroup) ProtoMessage

func (*GoSkipTest_SkipGroup) ProtoMessage()

func (*GoSkipTest_SkipGroup) Reset

func (m *GoSkipTest_SkipGroup) Reset()

func (*GoSkipTest_SkipGroup) String

func (m *GoSkipTest_SkipGroup) String() string

func (*GoSkipTest_SkipGroup) XXX_DiscardUnknown

func (m *GoSkipTest_SkipGroup) XXX_DiscardUnknown()

func (*GoSkipTest_SkipGroup) XXX_Marshal

func (m *GoSkipTest_SkipGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GoSkipTest_SkipGroup) XXX_Merge

func (m *GoSkipTest_SkipGroup) XXX_Merge(src proto.Message)

func (*GoSkipTest_SkipGroup) XXX_Size

func (m *GoSkipTest_SkipGroup) XXX_Size() int

func (*GoSkipTest_SkipGroup) XXX_Unmarshal

func (m *GoSkipTest_SkipGroup) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral     struct{}                `json:"-"`
	XXX_unrecognized         []byte                  `json:"-"`
	XXX_sizecache            int32                   `json:"-"`
}

func (*GoTest) Descriptor

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

func (*GoTest) GetF_BoolDefaulted

func (m *GoTest) GetF_BoolDefaulted() bool

func (*GoTest) GetF_BoolOptional

func (m *GoTest) GetF_BoolOptional() bool

func (*GoTest) GetF_BoolRepeated

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

func (*GoTest) GetF_BoolRepeatedPacked

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

func (*GoTest) GetF_BoolRequired

func (m *GoTest) GetF_BoolRequired() bool

func (*GoTest) GetF_BytesDefaulted

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

func (*GoTest) GetF_BytesOptional

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

func (*GoTest) GetF_BytesRepeated

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

func (*GoTest) GetF_BytesRequired

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

func (*GoTest) GetF_DoubleDefaulted

func (m *GoTest) GetF_DoubleDefaulted() float64

func (*GoTest) GetF_DoubleOptional

func (m *GoTest) GetF_DoubleOptional() float64

func (*GoTest) GetF_DoubleRepeated

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

func (*GoTest) GetF_DoubleRepeatedPacked

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

func (*GoTest) GetF_DoubleRequired

func (m *GoTest) GetF_DoubleRequired() float64

func (*GoTest) GetF_Fixed32Defaulted

func (m *GoTest) GetF_Fixed32Defaulted() uint32

func (*GoTest) GetF_Fixed32Optional

func (m *GoTest) GetF_Fixed32Optional() uint32

func (*GoTest) GetF_Fixed32Repeated

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

func (*GoTest) GetF_Fixed32RepeatedPacked

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

func (*GoTest) GetF_Fixed32Required

func (m *GoTest) GetF_Fixed32Required() uint32

func (*GoTest) GetF_Fixed64Defaulted

func (m *GoTest) GetF_Fixed64Defaulted() uint64

func (*GoTest) GetF_Fixed64Optional

func (m *GoTest) GetF_Fixed64Optional() uint64

func (*GoTest) GetF_Fixed64Repeated

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

func (*GoTest) GetF_Fixed64RepeatedPacked

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

func (*GoTest) GetF_Fixed64Required

func (m *GoTest) GetF_Fixed64Required() uint64

func (*GoTest) GetF_FloatDefaulted

func (m *GoTest) GetF_FloatDefaulted() float32

func (*GoTest) GetF_FloatOptional

func (m *GoTest) GetF_FloatOptional() float32

func (*GoTest) GetF_FloatRepeated

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

func (*GoTest) GetF_FloatRepeatedPacked

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

func (*GoTest) GetF_FloatRequired

func (m *GoTest) GetF_FloatRequired() float32

func (*GoTest) GetF_Int32Defaulted

func (m *GoTest) GetF_Int32Defaulted() int32

func (*GoTest) GetF_Int32Optional

func (m *GoTest) GetF_Int32Optional() int32

func (*GoTest) GetF_Int32Repeated

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

func (*GoTest) GetF_Int32RepeatedPacked

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

func (*GoTest) GetF_Int32Required

func (m *GoTest) GetF_Int32Required() int32

func (*GoTest) GetF_Int64Defaulted

func (m *GoTest) GetF_Int64Defaulted() int64

func (*GoTest) GetF_Int64Optional

func (m *GoTest) GetF_Int64Optional() int64

func (*GoTest) GetF_Int64Repeated

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

func (*GoTest) GetF_Int64RepeatedPacked

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

func (*GoTest) GetF_Int64Required

func (m *GoTest) GetF_Int64Required() int64

func (*GoTest) GetF_Sfixed32Defaulted

func (m *GoTest) GetF_Sfixed32Defaulted() int32

func (*GoTest) GetF_Sfixed32Optional

func (m *GoTest) GetF_Sfixed32Optional() int32

func (*GoTest) GetF_Sfixed32Repeated

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

func (*GoTest) GetF_Sfixed32RepeatedPacked

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

func (*GoTest) GetF_Sfixed32Required

func (m *GoTest) GetF_Sfixed32Required() int32

func (*GoTest) GetF_Sfixed64Defaulted

func (m *GoTest) GetF_Sfixed64Defaulted() int64

func (*GoTest) GetF_Sfixed64Optional

func (m *GoTest) GetF_Sfixed64Optional() int64

func (*GoTest) GetF_Sfixed64Repeated

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

func (*GoTest) GetF_Sfixed64RepeatedPacked

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

func (*GoTest) GetF_Sfixed64Required

func (m *GoTest) GetF_Sfixed64Required() int64

func (*GoTest) GetF_Sint32Defaulted

func (m *GoTest) GetF_Sint32Defaulted() int32

func (*GoTest) GetF_Sint32Optional

func (m *GoTest) GetF_Sint32Optional() int32

func (*GoTest) GetF_Sint32Repeated

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

func (*GoTest) GetF_Sint32RepeatedPacked

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

func (*GoTest) GetF_Sint32Required

func (m *GoTest) GetF_Sint32Required() int32

func (*GoTest) GetF_Sint64Defaulted

func (m *GoTest) GetF_Sint64Defaulted() int64

func (*GoTest) GetF_Sint64Optional

func (m *GoTest) GetF_Sint64Optional() int64

func (*GoTest) GetF_Sint64Repeated

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

func (*GoTest) GetF_Sint64RepeatedPacked

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

func (*GoTest) GetF_Sint64Required

func (m *GoTest) GetF_Sint64Required() int64

func (*GoTest) GetF_StringDefaulted

func (m *GoTest) GetF_StringDefaulted() string

func (*GoTest) GetF_StringOptional

func (m *GoTest) GetF_StringOptional() string

func (*GoTest) GetF_StringRepeated

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

func (*GoTest) GetF_StringRequired

func (m *GoTest) GetF_StringRequired() string

func (*GoTest) GetF_Uint32Defaulted

func (m *GoTest) GetF_Uint32Defaulted() uint32

func (*GoTest) GetF_Uint32Optional

func (m *GoTest) GetF_Uint32Optional() uint32

func (*GoTest) GetF_Uint32Repeated

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

func (*GoTest) GetF_Uint32RepeatedPacked

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

func (*GoTest) GetF_Uint32Required

func (m *GoTest) GetF_Uint32Required() uint32

func (*GoTest) GetF_Uint64Defaulted

func (m *GoTest) GetF_Uint64Defaulted() uint64

func (*GoTest) GetF_Uint64Optional

func (m *GoTest) GetF_Uint64Optional() uint64

func (*GoTest) GetF_Uint64Repeated

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

func (*GoTest) GetF_Uint64RepeatedPacked

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

func (*GoTest) GetF_Uint64Required

func (m *GoTest) GetF_Uint64Required() uint64

func (*GoTest) GetKind

func (m *GoTest) GetKind() GoTest_KIND

func (*GoTest) GetOptionalField

func (m *GoTest) GetOptionalField() *GoTestField

func (*GoTest) GetOptionalgroup

func (m *GoTest) GetOptionalgroup() *GoTest_OptionalGroup

func (*GoTest) GetParam

func (m *GoTest) GetParam() int32

func (*GoTest) GetRepeatedField

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

func (*GoTest) GetRepeatedgroup

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

func (*GoTest) GetRequiredField

func (m *GoTest) GetRequiredField() *GoTestField

func (*GoTest) GetRequiredgroup

func (m *GoTest) GetRequiredgroup() *GoTest_RequiredGroup

func (*GoTest) GetTable

func (m *GoTest) GetTable() string

func (*GoTest) ProtoMessage

func (*GoTest) ProtoMessage()

func (*GoTest) Reset

func (m *GoTest) Reset()

func (*GoTest) String

func (m *GoTest) String() string

func (*GoTest) XXX_DiscardUnknown

func (m *GoTest) XXX_DiscardUnknown()

func (*GoTest) XXX_Marshal

func (m *GoTest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GoTest) XXX_Merge

func (m *GoTest) XXX_Merge(src proto.Message)

func (*GoTest) XXX_Size

func (m *GoTest) XXX_Size() int

func (*GoTest) XXX_Unmarshal

func (m *GoTest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GoTestField) Descriptor

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

func (*GoTestField) GetLabel

func (m *GoTestField) GetLabel() string

func (*GoTestField) GetType

func (m *GoTestField) GetType() string

func (*GoTestField) ProtoMessage

func (*GoTestField) ProtoMessage()

func (*GoTestField) Reset

func (m *GoTestField) Reset()

func (*GoTestField) String

func (m *GoTestField) String() string

func (*GoTestField) XXX_DiscardUnknown

func (m *GoTestField) XXX_DiscardUnknown()

func (*GoTestField) XXX_Marshal

func (m *GoTestField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GoTestField) XXX_Merge

func (m *GoTestField) XXX_Merge(src proto.Message)

func (*GoTestField) XXX_Size

func (m *GoTestField) XXX_Size() int

func (*GoTestField) XXX_Unmarshal

func (m *GoTestField) XXX_Unmarshal(b []byte) error

type GoTestRequiredGroupField

type GoTestRequiredGroupField struct {
	Group                *GoTestRequiredGroupField_Group `protobuf:"group,1,req,name=Group,json=group" json:"group,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                        `json:"-"`
	XXX_unrecognized     []byte                          `json:"-"`
	XXX_sizecache        int32                           `json:"-"`
}

For testing a group containing a required field.

func (*GoTestRequiredGroupField) Descriptor

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

func (*GoTestRequiredGroupField) GetGroup

func (*GoTestRequiredGroupField) ProtoMessage

func (*GoTestRequiredGroupField) ProtoMessage()

func (*GoTestRequiredGroupField) Reset

func (m *GoTestRequiredGroupField) Reset()

func (*GoTestRequiredGroupField) String

func (m *GoTestRequiredGroupField) String() string

func (*GoTestRequiredGroupField) XXX_DiscardUnknown

func (m *GoTestRequiredGroupField) XXX_DiscardUnknown()

func (*GoTestRequiredGroupField) XXX_Marshal

func (m *GoTestRequiredGroupField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GoTestRequiredGroupField) XXX_Merge

func (m *GoTestRequiredGroupField) XXX_Merge(src proto.Message)

func (*GoTestRequiredGroupField) XXX_Size

func (m *GoTestRequiredGroupField) XXX_Size() int

func (*GoTestRequiredGroupField) XXX_Unmarshal

func (m *GoTestRequiredGroupField) XXX_Unmarshal(b []byte) error

type GoTestRequiredGroupField_Group

type GoTestRequiredGroupField_Group struct {
	Field                *int32   `protobuf:"varint,2,req,name=Field" json:"Field,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GoTestRequiredGroupField_Group) Descriptor

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

func (*GoTestRequiredGroupField_Group) GetField

func (m *GoTestRequiredGroupField_Group) GetField() int32

func (*GoTestRequiredGroupField_Group) ProtoMessage

func (*GoTestRequiredGroupField_Group) ProtoMessage()

func (*GoTestRequiredGroupField_Group) Reset

func (m *GoTestRequiredGroupField_Group) Reset()

func (*GoTestRequiredGroupField_Group) String

func (*GoTestRequiredGroupField_Group) XXX_DiscardUnknown

func (m *GoTestRequiredGroupField_Group) XXX_DiscardUnknown()

func (*GoTestRequiredGroupField_Group) XXX_Marshal

func (m *GoTestRequiredGroupField_Group) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GoTestRequiredGroupField_Group) XXX_Merge

func (m *GoTestRequiredGroupField_Group) XXX_Merge(src proto.Message)

func (*GoTestRequiredGroupField_Group) XXX_Size

func (m *GoTestRequiredGroupField_Group) XXX_Size() int

func (*GoTestRequiredGroupField_Group) XXX_Unmarshal

func (m *GoTestRequiredGroupField_Group) XXX_Unmarshal(b []byte) error

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
)

func (GoTest_KIND) Enum

func (x GoTest_KIND) Enum() *GoTest_KIND

func (GoTest_KIND) EnumDescriptor

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

func (GoTest_KIND) String

func (x GoTest_KIND) String() string

func (*GoTest_KIND) UnmarshalJSON

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

type GoTest_OptionalGroup

type GoTest_OptionalGroup struct {
	RequiredField        *string  `protobuf:"bytes,91,req,name=RequiredField" json:"RequiredField,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GoTest_OptionalGroup) Descriptor

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

func (*GoTest_OptionalGroup) GetRequiredField

func (m *GoTest_OptionalGroup) GetRequiredField() string

func (*GoTest_OptionalGroup) ProtoMessage

func (*GoTest_OptionalGroup) ProtoMessage()

func (*GoTest_OptionalGroup) Reset

func (m *GoTest_OptionalGroup) Reset()

func (*GoTest_OptionalGroup) String

func (m *GoTest_OptionalGroup) String() string

func (*GoTest_OptionalGroup) XXX_DiscardUnknown

func (m *GoTest_OptionalGroup) XXX_DiscardUnknown()

func (*GoTest_OptionalGroup) XXX_Marshal

func (m *GoTest_OptionalGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GoTest_OptionalGroup) XXX_Merge

func (m *GoTest_OptionalGroup) XXX_Merge(src proto.Message)

func (*GoTest_OptionalGroup) XXX_Size

func (m *GoTest_OptionalGroup) XXX_Size() int

func (*GoTest_OptionalGroup) XXX_Unmarshal

func (m *GoTest_OptionalGroup) XXX_Unmarshal(b []byte) error

type GoTest_RepeatedGroup

type GoTest_RepeatedGroup struct {
	RequiredField        *string  `protobuf:"bytes,81,req,name=RequiredField" json:"RequiredField,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GoTest_RepeatedGroup) Descriptor

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

func (*GoTest_RepeatedGroup) GetRequiredField

func (m *GoTest_RepeatedGroup) GetRequiredField() string

func (*GoTest_RepeatedGroup) ProtoMessage

func (*GoTest_RepeatedGroup) ProtoMessage()

func (*GoTest_RepeatedGroup) Reset

func (m *GoTest_RepeatedGroup) Reset()

func (*GoTest_RepeatedGroup) String

func (m *GoTest_RepeatedGroup) String() string

func (*GoTest_RepeatedGroup) XXX_DiscardUnknown

func (m *GoTest_RepeatedGroup) XXX_DiscardUnknown()

func (*GoTest_RepeatedGroup) XXX_Marshal

func (m *GoTest_RepeatedGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GoTest_RepeatedGroup) XXX_Merge

func (m *GoTest_RepeatedGroup) XXX_Merge(src proto.Message)

func (*GoTest_RepeatedGroup) XXX_Size

func (m *GoTest_RepeatedGroup) XXX_Size() int

func (*GoTest_RepeatedGroup) XXX_Unmarshal

func (m *GoTest_RepeatedGroup) XXX_Unmarshal(b []byte) error

type GoTest_RequiredGroup

type GoTest_RequiredGroup struct {
	RequiredField        *string  `protobuf:"bytes,71,req,name=RequiredField" json:"RequiredField,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Required, repeated, and optional groups.

func (*GoTest_RequiredGroup) Descriptor

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

func (*GoTest_RequiredGroup) GetRequiredField

func (m *GoTest_RequiredGroup) GetRequiredField() string

func (*GoTest_RequiredGroup) ProtoMessage

func (*GoTest_RequiredGroup) ProtoMessage()

func (*GoTest_RequiredGroup) Reset

func (m *GoTest_RequiredGroup) Reset()

func (*GoTest_RequiredGroup) String

func (m *GoTest_RequiredGroup) String() string

func (*GoTest_RequiredGroup) XXX_DiscardUnknown

func (m *GoTest_RequiredGroup) XXX_DiscardUnknown()

func (*GoTest_RequiredGroup) XXX_Marshal

func (m *GoTest_RequiredGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GoTest_RequiredGroup) XXX_Merge

func (m *GoTest_RequiredGroup) XXX_Merge(src proto.Message)

func (*GoTest_RequiredGroup) XXX_Size

func (m *GoTest_RequiredGroup) XXX_Size() int

func (*GoTest_RequiredGroup) XXX_Unmarshal

func (m *GoTest_RequiredGroup) XXX_Unmarshal(b []byte) error

type GroupNew

type GroupNew struct {
	G                    *GroupNew_G `protobuf:"group,101,opt,name=G,json=g" json:"g,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*GroupNew) Descriptor

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

func (*GroupNew) GetG

func (m *GroupNew) GetG() *GroupNew_G

func (*GroupNew) ProtoMessage

func (*GroupNew) ProtoMessage()

func (*GroupNew) Reset

func (m *GroupNew) Reset()

func (*GroupNew) String

func (m *GroupNew) String() string

func (*GroupNew) XXX_DiscardUnknown

func (m *GroupNew) XXX_DiscardUnknown()

func (*GroupNew) XXX_Marshal

func (m *GroupNew) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GroupNew) XXX_Merge

func (m *GroupNew) XXX_Merge(src proto.Message)

func (*GroupNew) XXX_Size

func (m *GroupNew) XXX_Size() int

func (*GroupNew) XXX_Unmarshal

func (m *GroupNew) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GroupNew_G) Descriptor

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

func (*GroupNew_G) GetX

func (m *GroupNew_G) GetX() int32

func (*GroupNew_G) GetY

func (m *GroupNew_G) GetY() int32

func (*GroupNew_G) ProtoMessage

func (*GroupNew_G) ProtoMessage()

func (*GroupNew_G) Reset

func (m *GroupNew_G) Reset()

func (*GroupNew_G) String

func (m *GroupNew_G) String() string

func (*GroupNew_G) XXX_DiscardUnknown

func (m *GroupNew_G) XXX_DiscardUnknown()

func (*GroupNew_G) XXX_Marshal

func (m *GroupNew_G) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GroupNew_G) XXX_Merge

func (m *GroupNew_G) XXX_Merge(src proto.Message)

func (*GroupNew_G) XXX_Size

func (m *GroupNew_G) XXX_Size() int

func (*GroupNew_G) XXX_Unmarshal

func (m *GroupNew_G) XXX_Unmarshal(b []byte) error

type GroupOld

type GroupOld struct {
	G                    *GroupOld_G `protobuf:"group,101,opt,name=G,json=g" json:"g,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*GroupOld) Descriptor

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

func (*GroupOld) GetG

func (m *GroupOld) GetG() *GroupOld_G

func (*GroupOld) ProtoMessage

func (*GroupOld) ProtoMessage()

func (*GroupOld) Reset

func (m *GroupOld) Reset()

func (*GroupOld) String

func (m *GroupOld) String() string

func (*GroupOld) XXX_DiscardUnknown

func (m *GroupOld) XXX_DiscardUnknown()

func (*GroupOld) XXX_Marshal

func (m *GroupOld) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GroupOld) XXX_Merge

func (m *GroupOld) XXX_Merge(src proto.Message)

func (*GroupOld) XXX_Size

func (m *GroupOld) XXX_Size() int

func (*GroupOld) XXX_Unmarshal

func (m *GroupOld) XXX_Unmarshal(b []byte) error

type GroupOld_G

type GroupOld_G struct {
	X                    *int32   `protobuf:"varint,2,opt,name=x" json:"x,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GroupOld_G) Descriptor

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

func (*GroupOld_G) GetX

func (m *GroupOld_G) GetX() int32

func (*GroupOld_G) ProtoMessage

func (*GroupOld_G) ProtoMessage()

func (*GroupOld_G) Reset

func (m *GroupOld_G) Reset()

func (*GroupOld_G) String

func (m *GroupOld_G) String() string

func (*GroupOld_G) XXX_DiscardUnknown

func (m *GroupOld_G) XXX_DiscardUnknown()

func (*GroupOld_G) XXX_Marshal

func (m *GroupOld_G) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GroupOld_G) XXX_Merge

func (m *GroupOld_G) XXX_Merge(src proto.Message)

func (*GroupOld_G) XXX_Size

func (m *GroupOld_G) XXX_Size() int

func (*GroupOld_G) XXX_Unmarshal

func (m *GroupOld_G) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*InnerMessage) Descriptor

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

func (*InnerMessage) GetConnected

func (m *InnerMessage) GetConnected() bool

func (*InnerMessage) GetHost

func (m *InnerMessage) GetHost() string

func (*InnerMessage) GetPort

func (m *InnerMessage) GetPort() int32

func (*InnerMessage) ProtoMessage

func (*InnerMessage) ProtoMessage()

func (*InnerMessage) Reset

func (m *InnerMessage) Reset()

func (*InnerMessage) String

func (m *InnerMessage) String() string

func (*InnerMessage) XXX_DiscardUnknown

func (m *InnerMessage) XXX_DiscardUnknown()

func (*InnerMessage) XXX_Marshal

func (m *InnerMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InnerMessage) XXX_Merge

func (m *InnerMessage) XXX_Merge(src proto.Message)

func (*InnerMessage) XXX_Size

func (m *InnerMessage) XXX_Size() int

func (*InnerMessage) XXX_Unmarshal

func (m *InnerMessage) XXX_Unmarshal(b []byte) error

type MaxTag

type MaxTag struct {
	// Maximum possible tag number.
	LastField            *string  `protobuf:"bytes,536870911,opt,name=last_field,json=lastField" json:"last_field,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MaxTag) Descriptor

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

func (*MaxTag) GetLastField

func (m *MaxTag) GetLastField() string

func (*MaxTag) ProtoMessage

func (*MaxTag) ProtoMessage()

func (*MaxTag) Reset

func (m *MaxTag) Reset()

func (*MaxTag) String

func (m *MaxTag) String() string

func (*MaxTag) XXX_DiscardUnknown

func (m *MaxTag) XXX_DiscardUnknown()

func (*MaxTag) XXX_Marshal

func (m *MaxTag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MaxTag) XXX_Merge

func (m *MaxTag) XXX_Merge(src proto.Message)

func (*MaxTag) XXX_Size

func (m *MaxTag) XXX_Size() int

func (*MaxTag) XXX_Unmarshal

func (m *MaxTag) XXX_Unmarshal(b []byte) error

type MessageList

type MessageList struct {
	Message              []*MessageList_Message `protobuf:"group,1,rep,name=Message,json=message" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*MessageList) Descriptor

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

func (*MessageList) GetMessage

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

func (*MessageList) ProtoMessage

func (*MessageList) ProtoMessage()

func (*MessageList) Reset

func (m *MessageList) Reset()

func (*MessageList) String

func (m *MessageList) String() string

func (*MessageList) XXX_DiscardUnknown

func (m *MessageList) XXX_DiscardUnknown()

func (*MessageList) XXX_Marshal

func (m *MessageList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MessageList) XXX_Merge

func (m *MessageList) XXX_Merge(src proto.Message)

func (*MessageList) XXX_Size

func (m *MessageList) XXX_Size() int

func (*MessageList) XXX_Unmarshal

func (m *MessageList) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MessageList_Message) Descriptor

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

func (*MessageList_Message) GetCount

func (m *MessageList_Message) GetCount() int32

func (*MessageList_Message) GetName

func (m *MessageList_Message) GetName() string

func (*MessageList_Message) ProtoMessage

func (*MessageList_Message) ProtoMessage()

func (*MessageList_Message) Reset

func (m *MessageList_Message) Reset()

func (*MessageList_Message) String

func (m *MessageList_Message) String() string

func (*MessageList_Message) XXX_DiscardUnknown

func (m *MessageList_Message) XXX_DiscardUnknown()

func (*MessageList_Message) XXX_Marshal

func (m *MessageList_Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MessageList_Message) XXX_Merge

func (m *MessageList_Message) XXX_Merge(src proto.Message)

func (*MessageList_Message) XXX_Size

func (m *MessageList_Message) XXX_Size() int

func (*MessageList_Message) XXX_Unmarshal

func (m *MessageList_Message) XXX_Unmarshal(b []byte) error

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 */
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*MessageWithMap) Descriptor

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

func (*MessageWithMap) GetByteMapping

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

func (*MessageWithMap) GetMsgMapping

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

func (*MessageWithMap) GetNameMapping

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

func (*MessageWithMap) GetStrToStr

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

func (*MessageWithMap) ProtoMessage

func (*MessageWithMap) ProtoMessage()

func (*MessageWithMap) Reset

func (m *MessageWithMap) Reset()

func (*MessageWithMap) String

func (m *MessageWithMap) String() string

func (*MessageWithMap) XXX_DiscardUnknown

func (m *MessageWithMap) XXX_DiscardUnknown()

func (*MessageWithMap) XXX_Marshal

func (m *MessageWithMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MessageWithMap) XXX_Merge

func (m *MessageWithMap) XXX_Merge(src proto.Message)

func (*MessageWithMap) XXX_Size

func (m *MessageWithMap) XXX_Size() int

func (*MessageWithMap) XXX_Unmarshal

func (m *MessageWithMap) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MoreRepeated) Descriptor

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

func (*MoreRepeated) GetBools

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

func (*MoreRepeated) GetBoolsPacked

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

func (*MoreRepeated) GetFixeds

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

func (*MoreRepeated) GetInt64SPacked

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

func (*MoreRepeated) GetInts

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

func (*MoreRepeated) GetIntsPacked

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

func (*MoreRepeated) GetStrings

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

func (*MoreRepeated) ProtoMessage

func (*MoreRepeated) ProtoMessage()

func (*MoreRepeated) Reset

func (m *MoreRepeated) Reset()

func (*MoreRepeated) String

func (m *MoreRepeated) String() string

func (*MoreRepeated) XXX_DiscardUnknown

func (m *MoreRepeated) XXX_DiscardUnknown()

func (*MoreRepeated) XXX_Marshal

func (m *MoreRepeated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MoreRepeated) XXX_Merge

func (m *MoreRepeated) XXX_Merge(src proto.Message)

func (*MoreRepeated) XXX_Size

func (m *MoreRepeated) XXX_Size() int

func (*MoreRepeated) XXX_Unmarshal

func (m *MoreRepeated) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral         struct{} `json:"-"`
	proto.XXX_InternalExtensions `json:"-"`
	XXX_unrecognized             []byte `json:"-"`
	XXX_sizecache                int32  `json:"-"`
}

func (*MyMessage) Descriptor

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

func (*MyMessage) ExtensionRangeArray

func (*MyMessage) ExtensionRangeArray() []proto.ExtensionRange

func (*MyMessage) GetBigfloat

func (m *MyMessage) GetBigfloat() float64

func (*MyMessage) GetBikeshed

func (m *MyMessage) GetBikeshed() MyMessage_Color

func (*MyMessage) GetCount

func (m *MyMessage) GetCount() int32

func (*MyMessage) GetInner

func (m *MyMessage) GetInner() *InnerMessage

func (*MyMessage) GetName

func (m *MyMessage) GetName() string

func (*MyMessage) GetOthers

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

func (*MyMessage) GetPet

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

func (*MyMessage) GetQuote

func (m *MyMessage) GetQuote() string

func (*MyMessage) GetRepBytes

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

func (*MyMessage) GetRepInner

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

func (*MyMessage) GetSomegroup

func (m *MyMessage) GetSomegroup() *MyMessage_SomeGroup

func (*MyMessage) GetWeMustGoDeeper

func (m *MyMessage) GetWeMustGoDeeper() *RequiredInnerMessage

func (*MyMessage) ProtoMessage

func (*MyMessage) ProtoMessage()

func (*MyMessage) Reset

func (m *MyMessage) Reset()

func (*MyMessage) String

func (m *MyMessage) String() string

func (*MyMessage) XXX_DiscardUnknown

func (m *MyMessage) XXX_DiscardUnknown()

func (*MyMessage) XXX_Marshal

func (m *MyMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MyMessage) XXX_Merge

func (m *MyMessage) XXX_Merge(src proto.Message)

func (*MyMessage) XXX_Size

func (m *MyMessage) XXX_Size() int

func (*MyMessage) XXX_Unmarshal

func (m *MyMessage) XXX_Unmarshal(b []byte) error

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

func (x MyMessage_Color) Enum() *MyMessage_Color

func (MyMessage_Color) EnumDescriptor

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

func (MyMessage_Color) String

func (x MyMessage_Color) String() string

func (*MyMessage_Color) UnmarshalJSON

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

type MyMessage_SomeGroup

type MyMessage_SomeGroup struct {
	GroupField           *int32   `protobuf:"varint,9,opt,name=group_field,json=groupField" json:"group_field,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MyMessage_SomeGroup) Descriptor

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

func (*MyMessage_SomeGroup) GetGroupField

func (m *MyMessage_SomeGroup) GetGroupField() int32

func (*MyMessage_SomeGroup) ProtoMessage

func (*MyMessage_SomeGroup) ProtoMessage()

func (*MyMessage_SomeGroup) Reset

func (m *MyMessage_SomeGroup) Reset()

func (*MyMessage_SomeGroup) String

func (m *MyMessage_SomeGroup) String() string

func (*MyMessage_SomeGroup) XXX_DiscardUnknown

func (m *MyMessage_SomeGroup) XXX_DiscardUnknown()

func (*MyMessage_SomeGroup) XXX_Marshal

func (m *MyMessage_SomeGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MyMessage_SomeGroup) XXX_Merge

func (m *MyMessage_SomeGroup) XXX_Merge(src proto.Message)

func (*MyMessage_SomeGroup) XXX_Size

func (m *MyMessage_SomeGroup) XXX_Size() int

func (*MyMessage_SomeGroup) XXX_Unmarshal

func (m *MyMessage_SomeGroup) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*NewMessage) Descriptor

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

func (*NewMessage) GetNested

func (m *NewMessage) GetNested() *NewMessage_Nested

func (*NewMessage) GetNum

func (m *NewMessage) GetNum() int64

func (*NewMessage) ProtoMessage

func (*NewMessage) ProtoMessage()

func (*NewMessage) Reset

func (m *NewMessage) Reset()

func (*NewMessage) String

func (m *NewMessage) String() string

func (*NewMessage) XXX_DiscardUnknown

func (m *NewMessage) XXX_DiscardUnknown()

func (*NewMessage) XXX_Marshal

func (m *NewMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NewMessage) XXX_Merge

func (m *NewMessage) XXX_Merge(src proto.Message)

func (*NewMessage) XXX_Size

func (m *NewMessage) XXX_Size() int

func (*NewMessage) XXX_Unmarshal

func (m *NewMessage) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NewMessage_Nested) Descriptor

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

func (*NewMessage_Nested) GetFoodGroup

func (m *NewMessage_Nested) GetFoodGroup() string

func (*NewMessage_Nested) GetName

func (m *NewMessage_Nested) GetName() string

func (*NewMessage_Nested) ProtoMessage

func (*NewMessage_Nested) ProtoMessage()

func (*NewMessage_Nested) Reset

func (m *NewMessage_Nested) Reset()

func (*NewMessage_Nested) String

func (m *NewMessage_Nested) String() string

func (*NewMessage_Nested) XXX_DiscardUnknown

func (m *NewMessage_Nested) XXX_DiscardUnknown()

func (*NewMessage_Nested) XXX_Marshal

func (m *NewMessage_Nested) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NewMessage_Nested) XXX_Merge

func (m *NewMessage_Nested) XXX_Merge(src proto.Message)

func (*NewMessage_Nested) XXX_Size

func (m *NewMessage_Nested) XXX_Size() int

func (*NewMessage_Nested) XXX_Unmarshal

func (m *NewMessage_Nested) XXX_Unmarshal(b []byte) error

type NonPackedTest

type NonPackedTest struct {
	A                    []int32  `protobuf:"varint,1,rep,name=a" json:"a,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*NonPackedTest) Descriptor

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

func (*NonPackedTest) GetA

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

func (*NonPackedTest) ProtoMessage

func (*NonPackedTest) ProtoMessage()

func (*NonPackedTest) Reset

func (m *NonPackedTest) Reset()

func (*NonPackedTest) String

func (m *NonPackedTest) String() string

func (*NonPackedTest) XXX_DiscardUnknown

func (m *NonPackedTest) XXX_DiscardUnknown()

func (*NonPackedTest) XXX_Marshal

func (m *NonPackedTest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NonPackedTest) XXX_Merge

func (m *NonPackedTest) XXX_Merge(src proto.Message)

func (*NonPackedTest) XXX_Size

func (m *NonPackedTest) XXX_Size() int

func (*NonPackedTest) XXX_Unmarshal

func (m *NonPackedTest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*OldMessage) Descriptor

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

func (*OldMessage) GetNested

func (m *OldMessage) GetNested() *OldMessage_Nested

func (*OldMessage) GetNum

func (m *OldMessage) GetNum() int32

func (*OldMessage) ProtoMessage

func (*OldMessage) ProtoMessage()

func (*OldMessage) Reset

func (m *OldMessage) Reset()

func (*OldMessage) String

func (m *OldMessage) String() string

func (*OldMessage) XXX_DiscardUnknown

func (m *OldMessage) XXX_DiscardUnknown()

func (*OldMessage) XXX_Marshal

func (m *OldMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OldMessage) XXX_Merge

func (m *OldMessage) XXX_Merge(src proto.Message)

func (*OldMessage) XXX_Size

func (m *OldMessage) XXX_Size() int

func (*OldMessage) XXX_Unmarshal

func (m *OldMessage) XXX_Unmarshal(b []byte) error

type OldMessage_Nested

type OldMessage_Nested struct {
	Name                 *string  `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*OldMessage_Nested) Descriptor

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

func (*OldMessage_Nested) GetName

func (m *OldMessage_Nested) GetName() string

func (*OldMessage_Nested) ProtoMessage

func (*OldMessage_Nested) ProtoMessage()

func (*OldMessage_Nested) Reset

func (m *OldMessage_Nested) Reset()

func (*OldMessage_Nested) String

func (m *OldMessage_Nested) String() string

func (*OldMessage_Nested) XXX_DiscardUnknown

func (m *OldMessage_Nested) XXX_DiscardUnknown()

func (*OldMessage_Nested) XXX_Marshal

func (m *OldMessage_Nested) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OldMessage_Nested) XXX_Merge

func (m *OldMessage_Nested) XXX_Merge(src proto.Message)

func (*OldMessage_Nested) XXX_Size

func (m *OldMessage_Nested) XXX_Size() int

func (*OldMessage_Nested) XXX_Unmarshal

func (m *OldMessage_Nested) XXX_Unmarshal(b []byte) error

type Oneof

type Oneof struct {
	// Types that are valid to be assigned 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 valid to be assigned to Tormato:
	//	*Oneof_Value
	Tormato              isOneof_Tormato `protobuf_oneof:"tormato"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*Oneof) Descriptor

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

func (*Oneof) GetFGroup

func (m *Oneof) GetFGroup() *Oneof_F_Group

func (*Oneof) GetF_Bool

func (m *Oneof) GetF_Bool() bool

func (*Oneof) GetF_Bytes

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

func (*Oneof) GetF_Double

func (m *Oneof) GetF_Double() float64

func (*Oneof) GetF_Enum

func (m *Oneof) GetF_Enum() MyMessage_Color

func (*Oneof) GetF_Fixed32

func (m *Oneof) GetF_Fixed32() uint32

func (*Oneof) GetF_Fixed64

func (m *Oneof) GetF_Fixed64() uint64

func (*Oneof) GetF_Float

func (m *Oneof) GetF_Float() float32

func (*Oneof) GetF_Int32

func (m *Oneof) GetF_Int32() int32

func (*Oneof) GetF_Int64

func (m *Oneof) GetF_Int64() int64

func (*Oneof) GetF_Largest_Tag

func (m *Oneof) GetF_Largest_Tag() int32

func (*Oneof) GetF_Message

func (m *Oneof) GetF_Message() *GoTestField

func (*Oneof) GetF_Sint32

func (m *Oneof) GetF_Sint32() int32

func (*Oneof) GetF_Sint64

func (m *Oneof) GetF_Sint64() int64

func (*Oneof) GetF_String

func (m *Oneof) GetF_String() string

func (*Oneof) GetF_Uint32

func (m *Oneof) GetF_Uint32() uint32

func (*Oneof) GetF_Uint64

func (m *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 (m *Oneof) GetValue() int32

func (*Oneof) ProtoMessage

func (*Oneof) ProtoMessage()

func (*Oneof) Reset

func (m *Oneof) Reset()

func (*Oneof) String

func (m *Oneof) String() string

func (*Oneof) XXX_DiscardUnknown

func (m *Oneof) XXX_DiscardUnknown()

func (*Oneof) XXX_Marshal

func (m *Oneof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Oneof) XXX_Merge

func (m *Oneof) XXX_Merge(src proto.Message)

func (*Oneof) XXX_OneofWrappers

func (*Oneof) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Oneof) XXX_Size

func (m *Oneof) XXX_Size() int

func (*Oneof) XXX_Unmarshal

func (m *Oneof) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Oneof_F_Group) Descriptor

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

func (*Oneof_F_Group) GetX

func (m *Oneof_F_Group) GetX() int32

func (*Oneof_F_Group) ProtoMessage

func (*Oneof_F_Group) ProtoMessage()

func (*Oneof_F_Group) Reset

func (m *Oneof_F_Group) Reset()

func (*Oneof_F_Group) String

func (m *Oneof_F_Group) String() string

func (*Oneof_F_Group) XXX_DiscardUnknown

func (m *Oneof_F_Group) XXX_DiscardUnknown()

func (*Oneof_F_Group) XXX_Marshal

func (m *Oneof_F_Group) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Oneof_F_Group) XXX_Merge

func (m *Oneof_F_Group) XXX_Merge(src proto.Message)

func (*Oneof_F_Group) XXX_Size

func (m *Oneof_F_Group) XXX_Size() int

func (*Oneof_F_Group) XXX_Unmarshal

func (m *Oneof_F_Group) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral         struct{}      `json:"-"`
	proto.XXX_InternalExtensions `json:"-"`
	XXX_unrecognized             []byte `json:"-"`
	XXX_sizecache                int32  `json:"-"`
}

func (*OtherMessage) Descriptor

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

func (*OtherMessage) ExtensionRangeArray

func (*OtherMessage) ExtensionRangeArray() []proto.ExtensionRange

func (*OtherMessage) GetInner

func (m *OtherMessage) GetInner() *InnerMessage

func (*OtherMessage) GetKey

func (m *OtherMessage) GetKey() int64

func (*OtherMessage) GetValue

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

func (*OtherMessage) GetWeight

func (m *OtherMessage) GetWeight() float32

func (*OtherMessage) ProtoMessage

func (*OtherMessage) ProtoMessage()

func (*OtherMessage) Reset

func (m *OtherMessage) Reset()

func (*OtherMessage) String

func (m *OtherMessage) String() string

func (*OtherMessage) XXX_DiscardUnknown

func (m *OtherMessage) XXX_DiscardUnknown()

func (*OtherMessage) XXX_Marshal

func (m *OtherMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OtherMessage) XXX_Merge

func (m *OtherMessage) XXX_Merge(src proto.Message)

func (*OtherMessage) XXX_Size

func (m *OtherMessage) XXX_Size() int

func (*OtherMessage) XXX_Unmarshal

func (m *OtherMessage) XXX_Unmarshal(b []byte) error

type PackedTest

type PackedTest struct {
	B                    []int32  `protobuf:"varint,1,rep,packed,name=b" json:"b,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PackedTest) Descriptor

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

func (*PackedTest) GetB

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

func (*PackedTest) ProtoMessage

func (*PackedTest) ProtoMessage()

func (*PackedTest) Reset

func (m *PackedTest) Reset()

func (*PackedTest) String

func (m *PackedTest) String() string

func (*PackedTest) XXX_DiscardUnknown

func (m *PackedTest) XXX_DiscardUnknown()

func (*PackedTest) XXX_Marshal

func (m *PackedTest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PackedTest) XXX_Merge

func (m *PackedTest) XXX_Merge(src proto.Message)

func (*PackedTest) XXX_Size

func (m *PackedTest) XXX_Size() int

func (*PackedTest) XXX_Unmarshal

func (m *PackedTest) XXX_Unmarshal(b []byte) error

type RepeatedEnum

type RepeatedEnum struct {
	Color                []RepeatedEnum_Color `protobuf:"varint,1,rep,name=color,enum=proto2_test.RepeatedEnum_Color" json:"color,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*RepeatedEnum) Descriptor

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

func (*RepeatedEnum) GetColor

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

func (*RepeatedEnum) ProtoMessage

func (*RepeatedEnum) ProtoMessage()

func (*RepeatedEnum) Reset

func (m *RepeatedEnum) Reset()

func (*RepeatedEnum) String

func (m *RepeatedEnum) String() string

func (*RepeatedEnum) XXX_DiscardUnknown

func (m *RepeatedEnum) XXX_DiscardUnknown()

func (*RepeatedEnum) XXX_Marshal

func (m *RepeatedEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RepeatedEnum) XXX_Merge

func (m *RepeatedEnum) XXX_Merge(src proto.Message)

func (*RepeatedEnum) XXX_Size

func (m *RepeatedEnum) XXX_Size() int

func (*RepeatedEnum) XXX_Unmarshal

func (m *RepeatedEnum) XXX_Unmarshal(b []byte) error

type RepeatedEnum_Color

type RepeatedEnum_Color int32
const (
	RepeatedEnum_RED RepeatedEnum_Color = 1
)

func (RepeatedEnum_Color) Enum

func (RepeatedEnum_Color) EnumDescriptor

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

func (RepeatedEnum_Color) String

func (x RepeatedEnum_Color) String() string

func (*RepeatedEnum_Color) UnmarshalJSON

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

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"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*RequiredInnerMessage) Descriptor

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

func (*RequiredInnerMessage) GetLeoFinallyWonAnOscar

func (m *RequiredInnerMessage) GetLeoFinallyWonAnOscar() *InnerMessage

func (*RequiredInnerMessage) ProtoMessage

func (*RequiredInnerMessage) ProtoMessage()

func (*RequiredInnerMessage) Reset

func (m *RequiredInnerMessage) Reset()

func (*RequiredInnerMessage) String

func (m *RequiredInnerMessage) String() string

func (*RequiredInnerMessage) XXX_DiscardUnknown

func (m *RequiredInnerMessage) XXX_DiscardUnknown()

func (*RequiredInnerMessage) XXX_Marshal

func (m *RequiredInnerMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RequiredInnerMessage) XXX_Merge

func (m *RequiredInnerMessage) XXX_Merge(src proto.Message)

func (*RequiredInnerMessage) XXX_Size

func (m *RequiredInnerMessage) XXX_Size() int

func (*RequiredInnerMessage) XXX_Unmarshal

func (m *RequiredInnerMessage) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Strings) Descriptor

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

func (*Strings) GetBytesField

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

func (*Strings) GetStringField

func (m *Strings) GetStringField() string

func (*Strings) ProtoMessage

func (*Strings) ProtoMessage()

func (*Strings) Reset

func (m *Strings) Reset()

func (*Strings) String

func (m *Strings) String() string

func (*Strings) XXX_DiscardUnknown

func (m *Strings) XXX_DiscardUnknown()

func (*Strings) XXX_Marshal

func (m *Strings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Strings) XXX_Merge

func (m *Strings) XXX_Merge(src proto.Message)

func (*Strings) XXX_Size

func (m *Strings) XXX_Size() int

func (*Strings) XXX_Unmarshal

func (m *Strings) XXX_Unmarshal(b []byte) error

type SubDefaults

type SubDefaults struct {
	N                    *int64   `protobuf:"varint,1,opt,name=n,def=7" json:"n,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SubDefaults) Descriptor

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

func (*SubDefaults) GetN

func (m *SubDefaults) GetN() int64

func (*SubDefaults) ProtoMessage

func (*SubDefaults) ProtoMessage()

func (*SubDefaults) Reset

func (m *SubDefaults) Reset()

func (*SubDefaults) String

func (m *SubDefaults) String() string

func (*SubDefaults) XXX_DiscardUnknown

func (m *SubDefaults) XXX_DiscardUnknown()

func (*SubDefaults) XXX_Marshal

func (m *SubDefaults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SubDefaults) XXX_Merge

func (m *SubDefaults) XXX_Merge(src proto.Message)

func (*SubDefaults) XXX_Size

func (m *SubDefaults) XXX_Size() int

func (*SubDefaults) XXX_Unmarshal

func (m *SubDefaults) XXX_Unmarshal(b []byte) error

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 valid to be assigned 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 */
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*TestUTF8) Descriptor

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

func (*TestUTF8) GetField

func (m *TestUTF8) GetField() string

func (*TestUTF8) GetMapKey

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

func (*TestUTF8) GetMapValue

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

func (*TestUTF8) GetOneof

func (m *TestUTF8) GetOneof() isTestUTF8_Oneof

func (*TestUTF8) GetScalar

func (m *TestUTF8) GetScalar() string

func (*TestUTF8) GetVector

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

func (*TestUTF8) ProtoMessage

func (*TestUTF8) ProtoMessage()

func (*TestUTF8) Reset

func (m *TestUTF8) Reset()

func (*TestUTF8) String

func (m *TestUTF8) String() string

func (*TestUTF8) XXX_DiscardUnknown

func (m *TestUTF8) XXX_DiscardUnknown()

func (*TestUTF8) XXX_Marshal

func (m *TestUTF8) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TestUTF8) XXX_Merge

func (m *TestUTF8) XXX_Merge(src proto.Message)

func (*TestUTF8) XXX_OneofWrappers

func (*TestUTF8) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*TestUTF8) XXX_Size

func (m *TestUTF8) XXX_Size() int

func (*TestUTF8) XXX_Unmarshal

func (m *TestUTF8) XXX_Unmarshal(b []byte) error

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