test_proto

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 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:          "test_proto.complex",
	Tag:           "bytes,200,opt,name=complex",
	Filename:      "test.proto",
}
View Source
var E_DefaultBool = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*bool)(nil),
	Field:         213,
	Name:          "test_proto.default_bool",
	Tag:           "varint,213,opt,name=default_bool,def=1",
	Filename:      "test.proto",
}
View Source
var E_DefaultBytes = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: ([]byte)(nil),
	Field:         215,
	Name:          "test_proto.default_bytes",
	Tag:           "bytes,215,opt,name=default_bytes,def=Hello, bytes",
	Filename:      "test.proto",
}
View Source
var E_DefaultDouble = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*float64)(nil),
	Field:         201,
	Name:          "test_proto.default_double",
	Tag:           "fixed64,201,opt,name=default_double,def=3.1415",
	Filename:      "test.proto",
}
View Source
var E_DefaultEnum = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*DefaultsMessage_DefaultsEnum)(nil),
	Field:         216,
	Name:          "test_proto.default_enum",
	Tag:           "varint,216,opt,name=default_enum,enum=test_proto.DefaultsMessage_DefaultsEnum,def=1",
	Filename:      "test.proto",
}
View Source
var E_DefaultFixed32 = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*uint32)(nil),
	Field:         209,
	Name:          "test_proto.default_fixed32",
	Tag:           "fixed32,209,opt,name=default_fixed32,def=48",
	Filename:      "test.proto",
}
View Source
var E_DefaultFixed64 = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*uint64)(nil),
	Field:         210,
	Name:          "test_proto.default_fixed64",
	Tag:           "fixed64,210,opt,name=default_fixed64,def=49",
	Filename:      "test.proto",
}
View Source
var E_DefaultFloat = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*float32)(nil),
	Field:         202,
	Name:          "test_proto.default_float",
	Tag:           "fixed32,202,opt,name=default_float,def=3.14",
	Filename:      "test.proto",
}
View Source
var E_DefaultInt32 = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*int32)(nil),
	Field:         203,
	Name:          "test_proto.default_int32",
	Tag:           "varint,203,opt,name=default_int32,def=42",
	Filename:      "test.proto",
}
View Source
var E_DefaultInt64 = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*int64)(nil),
	Field:         204,
	Name:          "test_proto.default_int64",
	Tag:           "varint,204,opt,name=default_int64,def=43",
	Filename:      "test.proto",
}
View Source
var E_DefaultSfixed32 = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*int32)(nil),
	Field:         211,
	Name:          "test_proto.default_sfixed32",
	Tag:           "fixed32,211,opt,name=default_sfixed32,def=50",
	Filename:      "test.proto",
}
View Source
var E_DefaultSfixed64 = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*int64)(nil),
	Field:         212,
	Name:          "test_proto.default_sfixed64",
	Tag:           "fixed64,212,opt,name=default_sfixed64,def=51",
	Filename:      "test.proto",
}
View Source
var E_DefaultSint32 = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*int32)(nil),
	Field:         207,
	Name:          "test_proto.default_sint32",
	Tag:           "zigzag32,207,opt,name=default_sint32,def=46",
	Filename:      "test.proto",
}
View Source
var E_DefaultSint64 = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*int64)(nil),
	Field:         208,
	Name:          "test_proto.default_sint64",
	Tag:           "zigzag64,208,opt,name=default_sint64,def=47",
	Filename:      "test.proto",
}
View Source
var E_DefaultString = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*string)(nil),
	Field:         214,
	Name:          "test_proto.default_string",
	Tag:           "bytes,214,opt,name=default_string,def=Hello, string,def=foo",
	Filename:      "test.proto",
}
View Source
var E_DefaultUint32 = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*uint32)(nil),
	Field:         205,
	Name:          "test_proto.default_uint32",
	Tag:           "varint,205,opt,name=default_uint32,def=44",
	Filename:      "test.proto",
}
View Source
var E_DefaultUint64 = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*uint64)(nil),
	Field:         206,
	Name:          "test_proto.default_uint64",
	Tag:           "varint,206,opt,name=default_uint64,def=45",
	Filename:      "test.proto",
}
View Source
var E_Ext_More = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessage)(nil),
	ExtensionType: (*Ext)(nil),
	Field:         103,
	Name:          "test_proto.Ext.more",
	Tag:           "bytes,103,opt,name=more",
	Filename:      "test.proto",
}
View Source
var E_Ext_Number = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessage)(nil),
	ExtensionType: (*int32)(nil),
	Field:         105,
	Name:          "test_proto.Ext.number",
	Tag:           "varint,105,opt,name=number",
	Filename:      "test.proto",
}
View Source
var E_Ext_Text = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessage)(nil),
	ExtensionType: (*string)(nil),
	Field:         104,
	Name:          "test_proto.Ext.text",
	Tag:           "bytes,104,opt,name=text",
	Filename:      "test.proto",
}
View Source
var E_Greeting = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessage)(nil),
	ExtensionType: ([]string)(nil),
	Field:         106,
	Name:          "test_proto.greeting",
	Tag:           "bytes,106,rep,name=greeting",
	Filename:      "test.proto",
}
View Source
var E_NoDefaultBool = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*bool)(nil),
	Field:         113,
	Name:          "test_proto.no_default_bool",
	Tag:           "varint,113,opt,name=no_default_bool",
	Filename:      "test.proto",
}
View Source
var E_NoDefaultBytes = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: ([]byte)(nil),
	Field:         115,
	Name:          "test_proto.no_default_bytes",
	Tag:           "bytes,115,opt,name=no_default_bytes",
	Filename:      "test.proto",
}
View Source
var E_NoDefaultDouble = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*float64)(nil),
	Field:         101,
	Name:          "test_proto.no_default_double",
	Tag:           "fixed64,101,opt,name=no_default_double",
	Filename:      "test.proto",
}
View Source
var E_NoDefaultEnum = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*DefaultsMessage_DefaultsEnum)(nil),
	Field:         116,
	Name:          "test_proto.no_default_enum",
	Tag:           "varint,116,opt,name=no_default_enum,enum=test_proto.DefaultsMessage_DefaultsEnum",
	Filename:      "test.proto",
}
View Source
var E_NoDefaultFixed32 = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*uint32)(nil),
	Field:         109,
	Name:          "test_proto.no_default_fixed32",
	Tag:           "fixed32,109,opt,name=no_default_fixed32",
	Filename:      "test.proto",
}
View Source
var E_NoDefaultFixed64 = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*uint64)(nil),
	Field:         110,
	Name:          "test_proto.no_default_fixed64",
	Tag:           "fixed64,110,opt,name=no_default_fixed64",
	Filename:      "test.proto",
}
View Source
var E_NoDefaultFloat = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*float32)(nil),
	Field:         102,
	Name:          "test_proto.no_default_float",
	Tag:           "fixed32,102,opt,name=no_default_float",
	Filename:      "test.proto",
}
View Source
var E_NoDefaultInt32 = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*int32)(nil),
	Field:         103,
	Name:          "test_proto.no_default_int32",
	Tag:           "varint,103,opt,name=no_default_int32",
	Filename:      "test.proto",
}
View Source
var E_NoDefaultInt64 = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*int64)(nil),
	Field:         104,
	Name:          "test_proto.no_default_int64",
	Tag:           "varint,104,opt,name=no_default_int64",
	Filename:      "test.proto",
}
View Source
var E_NoDefaultSfixed32 = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*int32)(nil),
	Field:         111,
	Name:          "test_proto.no_default_sfixed32",
	Tag:           "fixed32,111,opt,name=no_default_sfixed32",
	Filename:      "test.proto",
}
View Source
var E_NoDefaultSfixed64 = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*int64)(nil),
	Field:         112,
	Name:          "test_proto.no_default_sfixed64",
	Tag:           "fixed64,112,opt,name=no_default_sfixed64",
	Filename:      "test.proto",
}
View Source
var E_NoDefaultSint32 = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*int32)(nil),
	Field:         107,
	Name:          "test_proto.no_default_sint32",
	Tag:           "zigzag32,107,opt,name=no_default_sint32",
	Filename:      "test.proto",
}
View Source
var E_NoDefaultSint64 = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*int64)(nil),
	Field:         108,
	Name:          "test_proto.no_default_sint64",
	Tag:           "zigzag64,108,opt,name=no_default_sint64",
	Filename:      "test.proto",
}
View Source
var E_NoDefaultString = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*string)(nil),
	Field:         114,
	Name:          "test_proto.no_default_string",
	Tag:           "bytes,114,opt,name=no_default_string",
	Filename:      "test.proto",
}
View Source
var E_NoDefaultUint32 = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*uint32)(nil),
	Field:         105,
	Name:          "test_proto.no_default_uint32",
	Tag:           "varint,105,opt,name=no_default_uint32",
	Filename:      "test.proto",
}
View Source
var E_NoDefaultUint64 = &proto.ExtensionDesc{
	ExtendedType:  (*DefaultsMessage)(nil),
	ExtensionType: (*uint64)(nil),
	Field:         106,
	Name:          "test_proto.no_default_uint64",
	Tag:           "varint,106,opt,name=no_default_uint64",
	Filename:      "test.proto",
}
View Source
var E_RComplex = &proto.ExtensionDesc{
	ExtendedType:  (*OtherMessage)(nil),
	ExtensionType: ([]*ComplexExtension)(nil),
	Field:         201,
	Name:          "test_proto.r_complex",
	Tag:           "bytes,201,rep,name=r_complex",
	Filename:      "test.proto",
}
View Source
var E_X201 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         201,
	Name:          "test_proto.x201",
	Tag:           "bytes,201,opt,name=x201",
	Filename:      "test.proto",
}
View Source
var E_X202 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         202,
	Name:          "test_proto.x202",
	Tag:           "bytes,202,opt,name=x202",
	Filename:      "test.proto",
}
View Source
var E_X203 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         203,
	Name:          "test_proto.x203",
	Tag:           "bytes,203,opt,name=x203",
	Filename:      "test.proto",
}
View Source
var E_X204 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         204,
	Name:          "test_proto.x204",
	Tag:           "bytes,204,opt,name=x204",
	Filename:      "test.proto",
}
View Source
var E_X205 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         205,
	Name:          "test_proto.x205",
	Tag:           "bytes,205,opt,name=x205",
	Filename:      "test.proto",
}
View Source
var E_X206 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         206,
	Name:          "test_proto.x206",
	Tag:           "bytes,206,opt,name=x206",
	Filename:      "test.proto",
}
View Source
var E_X207 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         207,
	Name:          "test_proto.x207",
	Tag:           "bytes,207,opt,name=x207",
	Filename:      "test.proto",
}
View Source
var E_X208 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         208,
	Name:          "test_proto.x208",
	Tag:           "bytes,208,opt,name=x208",
	Filename:      "test.proto",
}
View Source
var E_X209 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         209,
	Name:          "test_proto.x209",
	Tag:           "bytes,209,opt,name=x209",
	Filename:      "test.proto",
}
View Source
var E_X210 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         210,
	Name:          "test_proto.x210",
	Tag:           "bytes,210,opt,name=x210",
	Filename:      "test.proto",
}
View Source
var E_X211 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         211,
	Name:          "test_proto.x211",
	Tag:           "bytes,211,opt,name=x211",
	Filename:      "test.proto",
}
View Source
var E_X212 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         212,
	Name:          "test_proto.x212",
	Tag:           "bytes,212,opt,name=x212",
	Filename:      "test.proto",
}
View Source
var E_X213 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         213,
	Name:          "test_proto.x213",
	Tag:           "bytes,213,opt,name=x213",
	Filename:      "test.proto",
}
View Source
var E_X214 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         214,
	Name:          "test_proto.x214",
	Tag:           "bytes,214,opt,name=x214",
	Filename:      "test.proto",
}
View Source
var E_X215 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         215,
	Name:          "test_proto.x215",
	Tag:           "bytes,215,opt,name=x215",
	Filename:      "test.proto",
}
View Source
var E_X216 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         216,
	Name:          "test_proto.x216",
	Tag:           "bytes,216,opt,name=x216",
	Filename:      "test.proto",
}
View Source
var E_X217 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         217,
	Name:          "test_proto.x217",
	Tag:           "bytes,217,opt,name=x217",
	Filename:      "test.proto",
}
View Source
var E_X218 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         218,
	Name:          "test_proto.x218",
	Tag:           "bytes,218,opt,name=x218",
	Filename:      "test.proto",
}
View Source
var E_X219 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         219,
	Name:          "test_proto.x219",
	Tag:           "bytes,219,opt,name=x219",
	Filename:      "test.proto",
}
View Source
var E_X220 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         220,
	Name:          "test_proto.x220",
	Tag:           "bytes,220,opt,name=x220",
	Filename:      "test.proto",
}
View Source
var E_X221 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         221,
	Name:          "test_proto.x221",
	Tag:           "bytes,221,opt,name=x221",
	Filename:      "test.proto",
}
View Source
var E_X222 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         222,
	Name:          "test_proto.x222",
	Tag:           "bytes,222,opt,name=x222",
	Filename:      "test.proto",
}
View Source
var E_X223 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         223,
	Name:          "test_proto.x223",
	Tag:           "bytes,223,opt,name=x223",
	Filename:      "test.proto",
}
View Source
var E_X224 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         224,
	Name:          "test_proto.x224",
	Tag:           "bytes,224,opt,name=x224",
	Filename:      "test.proto",
}
View Source
var E_X225 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         225,
	Name:          "test_proto.x225",
	Tag:           "bytes,225,opt,name=x225",
	Filename:      "test.proto",
}
View Source
var E_X226 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         226,
	Name:          "test_proto.x226",
	Tag:           "bytes,226,opt,name=x226",
	Filename:      "test.proto",
}
View Source
var E_X227 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         227,
	Name:          "test_proto.x227",
	Tag:           "bytes,227,opt,name=x227",
	Filename:      "test.proto",
}
View Source
var E_X228 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         228,
	Name:          "test_proto.x228",
	Tag:           "bytes,228,opt,name=x228",
	Filename:      "test.proto",
}
View Source
var E_X229 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         229,
	Name:          "test_proto.x229",
	Tag:           "bytes,229,opt,name=x229",
	Filename:      "test.proto",
}
View Source
var E_X230 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         230,
	Name:          "test_proto.x230",
	Tag:           "bytes,230,opt,name=x230",
	Filename:      "test.proto",
}
View Source
var E_X231 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         231,
	Name:          "test_proto.x231",
	Tag:           "bytes,231,opt,name=x231",
	Filename:      "test.proto",
}
View Source
var E_X232 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         232,
	Name:          "test_proto.x232",
	Tag:           "bytes,232,opt,name=x232",
	Filename:      "test.proto",
}
View Source
var E_X233 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         233,
	Name:          "test_proto.x233",
	Tag:           "bytes,233,opt,name=x233",
	Filename:      "test.proto",
}
View Source
var E_X234 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         234,
	Name:          "test_proto.x234",
	Tag:           "bytes,234,opt,name=x234",
	Filename:      "test.proto",
}
View Source
var E_X235 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         235,
	Name:          "test_proto.x235",
	Tag:           "bytes,235,opt,name=x235",
	Filename:      "test.proto",
}
View Source
var E_X236 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         236,
	Name:          "test_proto.x236",
	Tag:           "bytes,236,opt,name=x236",
	Filename:      "test.proto",
}
View Source
var E_X237 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         237,
	Name:          "test_proto.x237",
	Tag:           "bytes,237,opt,name=x237",
	Filename:      "test.proto",
}
View Source
var E_X238 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         238,
	Name:          "test_proto.x238",
	Tag:           "bytes,238,opt,name=x238",
	Filename:      "test.proto",
}
View Source
var E_X239 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         239,
	Name:          "test_proto.x239",
	Tag:           "bytes,239,opt,name=x239",
	Filename:      "test.proto",
}
View Source
var E_X240 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         240,
	Name:          "test_proto.x240",
	Tag:           "bytes,240,opt,name=x240",
	Filename:      "test.proto",
}
View Source
var E_X241 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         241,
	Name:          "test_proto.x241",
	Tag:           "bytes,241,opt,name=x241",
	Filename:      "test.proto",
}
View Source
var E_X242 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         242,
	Name:          "test_proto.x242",
	Tag:           "bytes,242,opt,name=x242",
	Filename:      "test.proto",
}
View Source
var E_X243 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         243,
	Name:          "test_proto.x243",
	Tag:           "bytes,243,opt,name=x243",
	Filename:      "test.proto",
}
View Source
var E_X244 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         244,
	Name:          "test_proto.x244",
	Tag:           "bytes,244,opt,name=x244",
	Filename:      "test.proto",
}
View Source
var E_X245 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         245,
	Name:          "test_proto.x245",
	Tag:           "bytes,245,opt,name=x245",
	Filename:      "test.proto",
}
View Source
var E_X246 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         246,
	Name:          "test_proto.x246",
	Tag:           "bytes,246,opt,name=x246",
	Filename:      "test.proto",
}
View Source
var E_X247 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         247,
	Name:          "test_proto.x247",
	Tag:           "bytes,247,opt,name=x247",
	Filename:      "test.proto",
}
View Source
var E_X248 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         248,
	Name:          "test_proto.x248",
	Tag:           "bytes,248,opt,name=x248",
	Filename:      "test.proto",
}
View Source
var E_X249 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         249,
	Name:          "test_proto.x249",
	Tag:           "bytes,249,opt,name=x249",
	Filename:      "test.proto",
}
View Source
var E_X250 = &proto.ExtensionDesc{
	ExtendedType:  (*MyMessageSet)(nil),
	ExtensionType: (*Empty)(nil),
	Field:         250,
	Name:          "test_proto.x250",
	Tag:           "bytes,250,opt,name=x250",
	Filename:      "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" pg:"make_me_cry"`
	// 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:"-" pg:"-"`
	XXX_unrecognized     []byte             `json:"-" pg:"-"`
	XXX_sizecache        int32              `json:"-" pg:"-"`
}

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

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=test_proto.MyMessage_Color,oneof" json:"col,omitempty" pg:"col"`
}

type Communique_Data

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

type Communique_Msg

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

type Communique_Name

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

type Communique_Number

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

type Communique_TempC

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

type ComplexExtension

type ComplexExtension struct {
	First                *int32   `protobuf:"varint,1,opt,name=first" json:"first,omitempty" pg:"first"`
	Second               *int32   `protobuf:"varint,2,opt,name=second" json:"second,omitempty" pg:"second"`
	Third                []int32  `protobuf:"varint,3,rep,name=third" json:"third,omitempty" pg:"third"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

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" pg:"F_Bool"`
	F_Int32   *int32          `protobuf:"varint,2,opt,name=F_Int32,json=FInt32,def=32" json:"F_Int32,omitempty" pg:"F_Int32"`
	F_Int64   *int64          `protobuf:"varint,3,opt,name=F_Int64,json=FInt64,def=64" json:"F_Int64,omitempty" pg:"F_Int64"`
	F_Fixed32 *uint32         `protobuf:"fixed32,4,opt,name=F_Fixed32,json=FFixed32,def=320" json:"F_Fixed32,omitempty" pg:"F_Fixed32"`
	F_Fixed64 *uint64         `protobuf:"fixed64,5,opt,name=F_Fixed64,json=FFixed64,def=640" json:"F_Fixed64,omitempty" pg:"F_Fixed64"`
	F_Uint32  *uint32         `protobuf:"varint,6,opt,name=F_Uint32,json=FUint32,def=3200" json:"F_Uint32,omitempty" pg:"F_Uint32"`
	F_Uint64  *uint64         `protobuf:"varint,7,opt,name=F_Uint64,json=FUint64,def=6400" json:"F_Uint64,omitempty" pg:"F_Uint64"`
	F_Float   *float32        `protobuf:"fixed32,8,opt,name=F_Float,json=FFloat,def=314159" json:"F_Float,omitempty" pg:"F_Float"`
	F_Double  *float64        `protobuf:"fixed64,9,opt,name=F_Double,json=FDouble,def=271828" json:"F_Double,omitempty" pg:"F_Double"`
	F_String  *string         `protobuf:"bytes,10,opt,name=F_String,json=FString,def=hello, \"world!\"\n" json:"F_String,omitempty" pg:"F_String"`
	F_Bytes   []byte          `protobuf:"bytes,11,opt,name=F_Bytes,json=FBytes,def=Bignose" json:"F_Bytes,omitempty" pg:"F_Bytes"`
	F_Sint32  *int32          `protobuf:"zigzag32,12,opt,name=F_Sint32,json=FSint32,def=-32" json:"F_Sint32,omitempty" pg:"F_Sint32"`
	F_Sint64  *int64          `protobuf:"zigzag64,13,opt,name=F_Sint64,json=FSint64,def=-64" json:"F_Sint64,omitempty" pg:"F_Sint64"`
	F_Enum    *Defaults_Color `protobuf:"varint,14,opt,name=F_Enum,json=FEnum,enum=test_proto.Defaults_Color,def=1" json:"F_Enum,omitempty" pg:"F_Enum"`
	// More fields with crazy defaults.
	F_Pinf *float32 `protobuf:"fixed32,15,opt,name=F_Pinf,json=FPinf,def=inf" json:"F_Pinf,omitempty" pg:"F_Pinf"`
	F_Ninf *float32 `protobuf:"fixed32,16,opt,name=F_Ninf,json=FNinf,def=-inf" json:"F_Ninf,omitempty" pg:"F_Ninf"`
	F_Nan  *float32 `protobuf:"fixed32,17,opt,name=F_Nan,json=FNan,def=nan" json:"F_Nan,omitempty" pg:"F_Nan"`
	// Sub-message.
	Sub *SubDefaults `protobuf:"bytes,18,opt,name=sub" json:"sub,omitempty" pg:"sub"`
	// Redundant but explicit defaults.
	StrZero              *string  `protobuf:"bytes,19,opt,name=str_zero,json=strZero,def=" json:"str_zero,omitempty" pg:"str_zero"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

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

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

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" pg:"data"`
	MapField             map[int32]int32 `` /* 169-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}        `json:"-" pg:"-"`
	XXX_unrecognized     []byte          `json:"-" pg:"-"`
	XXX_sizecache        int32           `json:"-" pg:"-"`
}

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" pg:"f"`
	Exact                *bool    `protobuf:"varint,2,opt,name=exact" json:"exact,omitempty" pg:"exact"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

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=test_proto.FOO" json:"foo,omitempty" pg:"foo"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

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" pg:"skip_int32"`
	SkipFixed32          *uint32               `protobuf:"fixed32,12,req,name=skip_fixed32,json=skipFixed32" json:"skip_fixed32,omitempty" pg:"skip_fixed32"`
	SkipFixed64          *uint64               `protobuf:"fixed64,13,req,name=skip_fixed64,json=skipFixed64" json:"skip_fixed64,omitempty" pg:"skip_fixed64"`
	SkipString           *string               `protobuf:"bytes,14,req,name=skip_string,json=skipString" json:"skip_string,omitempty" pg:"skip_string"`
	Skipgroup            *GoSkipTest_SkipGroup `protobuf:"group,15,req,name=SkipGroup,json=skipgroup" json:"skipgroup,omitempty" pg:"skipgroup"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-" pg:"-"`
	XXX_unrecognized     []byte                `json:"-" pg:"-"`
	XXX_sizecache        int32                 `json:"-" pg:"-"`
}

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" pg:"group_int32"`
	GroupString          *string  `protobuf:"bytes,17,req,name=group_string,json=groupString" json:"group_string,omitempty" pg:"group_string"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

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=test_proto.GoTest_KIND" json:"Kind,omitempty" pg:"Kind"`
	Table *string      `protobuf:"bytes,2,opt,name=Table" json:"Table,omitempty" pg:"Table"`
	Param *int32       `protobuf:"varint,3,opt,name=Param" json:"Param,omitempty" pg:"Param"`
	// Required, repeated and optional foreign fields.
	RequiredField *GoTestField   `protobuf:"bytes,4,req,name=RequiredField" json:"RequiredField,omitempty" pg:"RequiredField"`
	RepeatedField []*GoTestField `protobuf:"bytes,5,rep,name=RepeatedField" json:"RepeatedField,omitempty" pg:"RepeatedField"`
	OptionalField *GoTestField   `protobuf:"bytes,6,opt,name=OptionalField" json:"OptionalField,omitempty" pg:"OptionalField"`
	// Required fields of all basic types
	F_BoolRequired     *bool    `protobuf:"varint,10,req,name=F_Bool_required,json=FBoolRequired" json:"F_Bool_required,omitempty" pg:"F_Bool_required"`
	F_Int32Required    *int32   `protobuf:"varint,11,req,name=F_Int32_required,json=FInt32Required" json:"F_Int32_required,omitempty" pg:"F_Int32_required"`
	F_Int64Required    *int64   `protobuf:"varint,12,req,name=F_Int64_required,json=FInt64Required" json:"F_Int64_required,omitempty" pg:"F_Int64_required"`
	F_Fixed32Required  *uint32  `` /* 131-byte string literal not displayed */
	F_Fixed64Required  *uint64  `` /* 131-byte string literal not displayed */
	F_Uint32Required   *uint32  `` /* 126-byte string literal not displayed */
	F_Uint64Required   *uint64  `` /* 126-byte string literal not displayed */
	F_FloatRequired    *float32 `protobuf:"fixed32,17,req,name=F_Float_required,json=FFloatRequired" json:"F_Float_required,omitempty" pg:"F_Float_required"`
	F_DoubleRequired   *float64 `` /* 127-byte string literal not displayed */
	F_StringRequired   *string  `protobuf:"bytes,19,req,name=F_String_required,json=FStringRequired" json:"F_String_required,omitempty" pg:"F_String_required"`
	F_BytesRequired    []byte   `protobuf:"bytes,101,req,name=F_Bytes_required,json=FBytesRequired" json:"F_Bytes_required,omitempty" pg:"F_Bytes_required"`
	F_Sint32Required   *int32   `` /* 129-byte string literal not displayed */
	F_Sint64Required   *int64   `` /* 129-byte string literal not displayed */
	F_Sfixed32Required *int32   `` /* 136-byte string literal not displayed */
	F_Sfixed64Required *int64   `` /* 136-byte string literal not displayed */
	// Repeated fields of all basic types
	F_BoolRepeated     []bool    `protobuf:"varint,20,rep,name=F_Bool_repeated,json=FBoolRepeated" json:"F_Bool_repeated,omitempty" pg:"F_Bool_repeated"`
	F_Int32Repeated    []int32   `protobuf:"varint,21,rep,name=F_Int32_repeated,json=FInt32Repeated" json:"F_Int32_repeated,omitempty" pg:"F_Int32_repeated"`
	F_Int64Repeated    []int64   `protobuf:"varint,22,rep,name=F_Int64_repeated,json=FInt64Repeated" json:"F_Int64_repeated,omitempty" pg:"F_Int64_repeated"`
	F_Fixed32Repeated  []uint32  `` /* 131-byte string literal not displayed */
	F_Fixed64Repeated  []uint64  `` /* 131-byte string literal not displayed */
	F_Uint32Repeated   []uint32  `` /* 126-byte string literal not displayed */
	F_Uint64Repeated   []uint64  `` /* 126-byte string literal not displayed */
	F_FloatRepeated    []float32 `protobuf:"fixed32,27,rep,name=F_Float_repeated,json=FFloatRepeated" json:"F_Float_repeated,omitempty" pg:"F_Float_repeated"`
	F_DoubleRepeated   []float64 `` /* 127-byte string literal not displayed */
	F_StringRepeated   []string  `protobuf:"bytes,29,rep,name=F_String_repeated,json=FStringRepeated" json:"F_String_repeated,omitempty" pg:"F_String_repeated"`
	F_BytesRepeated    [][]byte  `protobuf:"bytes,201,rep,name=F_Bytes_repeated,json=FBytesRepeated" json:"F_Bytes_repeated,omitempty" pg:"F_Bytes_repeated"`
	F_Sint32Repeated   []int32   `` /* 129-byte string literal not displayed */
	F_Sint64Repeated   []int64   `` /* 129-byte string literal not displayed */
	F_Sfixed32Repeated []int32   `` /* 136-byte string literal not displayed */
	F_Sfixed64Repeated []int64   `` /* 136-byte string literal not displayed */
	// Optional fields of all basic types
	F_BoolOptional     *bool    `protobuf:"varint,30,opt,name=F_Bool_optional,json=FBoolOptional" json:"F_Bool_optional,omitempty" pg:"F_Bool_optional"`
	F_Int32Optional    *int32   `protobuf:"varint,31,opt,name=F_Int32_optional,json=FInt32Optional" json:"F_Int32_optional,omitempty" pg:"F_Int32_optional"`
	F_Int64Optional    *int64   `protobuf:"varint,32,opt,name=F_Int64_optional,json=FInt64Optional" json:"F_Int64_optional,omitempty" pg:"F_Int64_optional"`
	F_Fixed32Optional  *uint32  `` /* 131-byte string literal not displayed */
	F_Fixed64Optional  *uint64  `` /* 131-byte string literal not displayed */
	F_Uint32Optional   *uint32  `` /* 126-byte string literal not displayed */
	F_Uint64Optional   *uint64  `` /* 126-byte string literal not displayed */
	F_FloatOptional    *float32 `protobuf:"fixed32,37,opt,name=F_Float_optional,json=FFloatOptional" json:"F_Float_optional,omitempty" pg:"F_Float_optional"`
	F_DoubleOptional   *float64 `` /* 127-byte string literal not displayed */
	F_StringOptional   *string  `protobuf:"bytes,39,opt,name=F_String_optional,json=FStringOptional" json:"F_String_optional,omitempty" pg:"F_String_optional"`
	F_BytesOptional    []byte   `protobuf:"bytes,301,opt,name=F_Bytes_optional,json=FBytesOptional" json:"F_Bytes_optional,omitempty" pg:"F_Bytes_optional"`
	F_Sint32Optional   *int32   `` /* 129-byte string literal not displayed */
	F_Sint64Optional   *int64   `` /* 129-byte string literal not displayed */
	F_Sfixed32Optional *int32   `` /* 136-byte string literal not displayed */
	F_Sfixed64Optional *int64   `` /* 136-byte string literal not displayed */
	// Default-valued fields of all basic types
	F_BoolDefaulted     *bool    `` /* 128-byte string literal not displayed */
	F_Int32Defaulted    *int32   `` /* 133-byte string literal not displayed */
	F_Int64Defaulted    *int64   `` /* 133-byte string literal not displayed */
	F_Fixed32Defaulted  *uint32  `` /* 143-byte string literal not displayed */
	F_Fixed64Defaulted  *uint64  `` /* 143-byte string literal not displayed */
	F_Uint32Defaulted   *uint32  `` /* 139-byte string literal not displayed */
	F_Uint64Defaulted   *uint64  `` /* 139-byte string literal not displayed */
	F_FloatDefaulted    *float32 `` /* 138-byte string literal not displayed */
	F_DoubleDefaulted   *float64 `` /* 142-byte string literal not displayed */
	F_StringDefaulted   *string  `` /* 153-byte string literal not displayed */
	F_BytesDefaulted    []byte   `` /* 138-byte string literal not displayed */
	F_Sint32Defaulted   *int32   `` /* 141-byte string literal not displayed */
	F_Sint64Defaulted   *int64   `` /* 141-byte string literal not displayed */
	F_Sfixed32Defaulted *int32   `` /* 148-byte string literal not displayed */
	F_Sfixed64Defaulted *int64   `` /* 148-byte string literal not displayed */
	// Packed repeated fields (no string or bytes).
	F_BoolRepeatedPacked     []bool                  `` /* 152-byte string literal not displayed */
	F_Int32RepeatedPacked    []int32                 `` /* 156-byte string literal not displayed */
	F_Int64RepeatedPacked    []int64                 `` /* 156-byte string literal not displayed */
	F_Fixed32RepeatedPacked  []uint32                `` /* 165-byte string literal not displayed */
	F_Fixed64RepeatedPacked  []uint64                `` /* 165-byte string literal not displayed */
	F_Uint32RepeatedPacked   []uint32                `` /* 160-byte string literal not displayed */
	F_Uint64RepeatedPacked   []uint64                `` /* 160-byte string literal not displayed */
	F_FloatRepeatedPacked    []float32               `` /* 157-byte string literal not displayed */
	F_DoubleRepeatedPacked   []float64               `` /* 161-byte string literal not displayed */
	F_Sint32RepeatedPacked   []int32                 `` /* 163-byte string literal not displayed */
	F_Sint64RepeatedPacked   []int64                 `` /* 163-byte string literal not displayed */
	F_Sfixed32RepeatedPacked []int32                 `` /* 170-byte string literal not displayed */
	F_Sfixed64RepeatedPacked []int64                 `` /* 170-byte string literal not displayed */
	Requiredgroup            *GoTest_RequiredGroup   `protobuf:"group,70,req,name=RequiredGroup,json=requiredgroup" json:"requiredgroup,omitempty" pg:"requiredgroup"`
	Repeatedgroup            []*GoTest_RepeatedGroup `protobuf:"group,80,rep,name=RepeatedGroup,json=repeatedgroup" json:"repeatedgroup,omitempty" pg:"repeatedgroup"`
	Optionalgroup            *GoTest_OptionalGroup   `protobuf:"group,90,opt,name=OptionalGroup,json=optionalgroup" json:"optionalgroup,omitempty" pg:"optionalgroup"`
	XXX_NoUnkeyedLiteral     struct{}                `json:"-" pg:"-"`
	XXX_unrecognized         []byte                  `json:"-" pg:"-"`
	XXX_sizecache            int32                   `json:"-" pg:"-"`
}

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" pg:"Label"`
	Type                 *string  `protobuf:"bytes,2,req,name=Type" json:"Type,omitempty" pg:"Type"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

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

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

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

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

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

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

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" pg:"x"`
	Y                    *int32   `protobuf:"varint,3,opt,name=y" json:"y,omitempty" pg:"y"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

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

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

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" pg:"host"`
	Port                 *int32   `protobuf:"varint,2,opt,name=port,def=4000" json:"port,omitempty" pg:"port"`
	Connected            *bool    `protobuf:"varint,3,opt,name=connected" json:"connected,omitempty" pg:"connected"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

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

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

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" pg:"name"`
	Count                *int32   `protobuf:"varint,3,req,name=count" json:"count,omitempty" pg:"count"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

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         `` /* 180-byte string literal not displayed */
	MsgMapping           map[int64]*FloatingPoint `` /* 178-byte string literal not displayed */
	ByteMapping          map[bool][]byte          `` /* 180-byte string literal not displayed */
	StrToStr             map[string]string        `` /* 170-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                 `json:"-" pg:"-"`
	XXX_unrecognized     []byte                   `json:"-" pg:"-"`
	XXX_sizecache        int32                    `json:"-" pg:"-"`
}

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" pg:"bools"`
	BoolsPacked          []bool   `protobuf:"varint,2,rep,packed,name=bools_packed,json=boolsPacked" json:"bools_packed,omitempty" pg:"bools_packed"`
	Ints                 []int32  `protobuf:"varint,3,rep,name=ints" json:"ints,omitempty" pg:"ints"`
	IntsPacked           []int32  `protobuf:"varint,4,rep,packed,name=ints_packed,json=intsPacked" json:"ints_packed,omitempty" pg:"ints_packed"`
	Int64SPacked         []int64  `protobuf:"varint,7,rep,packed,name=int64s_packed,json=int64sPacked" json:"int64s_packed,omitempty" pg:"int64s_packed"`
	Strings              []string `protobuf:"bytes,5,rep,name=strings" json:"strings,omitempty" pg:"strings"`
	Fixeds               []uint32 `protobuf:"fixed32,6,rep,name=fixeds" json:"fixeds,omitempty" pg:"fixeds"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

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" pg:"count"`
	Name           *string               `protobuf:"bytes,2,opt,name=name" json:"name,omitempty" pg:"name"`
	Quote          *string               `protobuf:"bytes,3,opt,name=quote" json:"quote,omitempty" pg:"quote"`
	Pet            []string              `protobuf:"bytes,4,rep,name=pet" json:"pet,omitempty" pg:"pet"`
	Inner          *InnerMessage         `protobuf:"bytes,5,opt,name=inner" json:"inner,omitempty" pg:"inner"`
	Others         []*OtherMessage       `protobuf:"bytes,6,rep,name=others" json:"others,omitempty" pg:"others"`
	WeMustGoDeeper *RequiredInnerMessage `protobuf:"bytes,13,opt,name=we_must_go_deeper,json=weMustGoDeeper" json:"we_must_go_deeper,omitempty" pg:"we_must_go_deeper"`
	RepInner       []*InnerMessage       `protobuf:"bytes,12,rep,name=rep_inner,json=repInner" json:"rep_inner,omitempty" pg:"rep_inner"`
	Bikeshed       *MyMessage_Color      `protobuf:"varint,7,opt,name=bikeshed,enum=test_proto.MyMessage_Color" json:"bikeshed,omitempty" pg:"bikeshed"`
	Somegroup      *MyMessage_SomeGroup  `protobuf:"group,8,opt,name=SomeGroup,json=somegroup" json:"somegroup,omitempty" pg:"somegroup"`
	// This field becomes [][]byte in the generated code.
	RepBytes                     [][]byte `protobuf:"bytes,10,rep,name=rep_bytes,json=repBytes" json:"rep_bytes,omitempty" pg:"rep_bytes"`
	Bigfloat                     *float64 `protobuf:"fixed64,11,opt,name=bigfloat" json:"bigfloat,omitempty" pg:"bigfloat"`
	XXX_NoUnkeyedLiteral         struct{} `json:"-" pg:"-"`
	proto.XXX_InternalExtensions `json:"-" pg:"-"`
	XXX_unrecognized             []byte `json:"-" pg:"-"`
	XXX_sizecache                int32  `json:"-" pg:"-"`
}

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 MyMessageSet

type MyMessageSet struct {
	XXX_NoUnkeyedLiteral         struct{} `json:"-" pg:"-"`
	proto.XXX_InternalExtensions `protobuf_messageset:"1" json:"-" pg:"-"`
	XXX_unrecognized             []byte `json:"-" pg:"-"`
	XXX_sizecache                int32  `json:"-" pg:"-"`
}

func (*MyMessageSet) Descriptor

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

func (*MyMessageSet) ExtensionRangeArray

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

func (*MyMessageSet) ProtoMessage

func (*MyMessageSet) ProtoMessage()

func (*MyMessageSet) Reset

func (m *MyMessageSet) Reset()

func (*MyMessageSet) String

func (m *MyMessageSet) String() string

func (*MyMessageSet) XXX_DiscardUnknown

func (m *MyMessageSet) XXX_DiscardUnknown()

func (*MyMessageSet) XXX_Marshal

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

func (*MyMessageSet) XXX_Merge

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

func (*MyMessageSet) XXX_Size

func (m *MyMessageSet) XXX_Size() int

func (*MyMessageSet) XXX_Unmarshal

func (m *MyMessageSet) 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" pg:"group_field"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

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" pg:"nested"`
	// This is an int32 in OldMessage.
	Num                  *int64   `protobuf:"varint,2,opt,name=num" json:"num,omitempty" pg:"num"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

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" pg:"name"`
	FoodGroup            *string  `protobuf:"bytes,2,opt,name=food_group,json=foodGroup" json:"food_group,omitempty" pg:"food_group"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

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

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" pg:"nested"`
	Num                  *int32             `protobuf:"varint,2,opt,name=num" json:"num,omitempty" pg:"num"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-" pg:"-"`
	XXX_unrecognized     []byte             `json:"-" pg:"-"`
	XXX_sizecache        int32              `json:"-" pg:"-"`
}

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

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

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

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" json:"f_group,omitempty" pg:"f_group"`
}

type Oneof_F_Bool

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

type Oneof_F_Bytes

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

type Oneof_F_Double

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

type Oneof_F_Enum

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

type Oneof_F_Fixed32

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

type Oneof_F_Fixed64

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

type Oneof_F_Float

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

type Oneof_F_Group

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

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" json:"F_Int32,omitempty" pg:"F_Int32"`
}

type Oneof_F_Int64

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

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" json:"F_Largest_Tag,omitempty" pg:"F_Largest_Tag"`
}

type Oneof_F_Message

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

type Oneof_F_Sint32

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

type Oneof_F_Sint64

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

type Oneof_F_String

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

type Oneof_F_Uint32

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

type Oneof_F_Uint64

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

type Oneof_Value

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

type OtherMessage

type OtherMessage struct {
	Key                          *int64        `protobuf:"varint,1,opt,name=key" json:"key,omitempty" pg:"key"`
	Value                        []byte        `protobuf:"bytes,2,opt,name=value" json:"value,omitempty" pg:"value"`
	Weight                       *float32      `protobuf:"fixed32,3,opt,name=weight" json:"weight,omitempty" pg:"weight"`
	Inner                        *InnerMessage `protobuf:"bytes,4,opt,name=inner" json:"inner,omitempty" pg:"inner"`
	XXX_NoUnkeyedLiteral         struct{}      `json:"-" pg:"-"`
	proto.XXX_InternalExtensions `json:"-" pg:"-"`
	XXX_unrecognized             []byte `json:"-" pg:"-"`
	XXX_sizecache                int32  `json:"-" pg:"-"`
}

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

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=test_proto.RepeatedEnum_Color" json:"color,omitempty" pg:"color"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-" pg:"-"`
	XXX_unrecognized     []byte               `json:"-" pg:"-"`
	XXX_sizecache        int32                `json:"-" pg:"-"`
}

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

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" pg:"string_field"`
	BytesField           []byte   `protobuf:"bytes,2,opt,name=bytes_field,json=bytesField" json:"bytes_field,omitempty" pg:"bytes_field"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

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

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

type TestUTF8 struct {
	Scalar *string  `protobuf:"bytes,1,opt,name=scalar" json:"scalar,omitempty" pg:"scalar"`
	Vector []string `protobuf:"bytes,2,rep,name=vector" json:"vector,omitempty" pg:"vector"`
	// Types that are valid to be assigned to Oneof:
	//	*TestUTF8_Field
	Oneof                isTestUTF8_Oneof `protobuf_oneof:"oneof"`
	MapKey               map[string]int64 `` /* 160-byte string literal not displayed */
	MapValue             map[int64]string `` /* 168-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}         `json:"-" pg:"-"`
	XXX_unrecognized     []byte           `json:"-" pg:"-"`
	XXX_sizecache        int32            `json:"-" pg:"-"`
}

func (*TestUTF8) Descriptor added in v1.2.0

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

func (*TestUTF8) GetField added in v1.2.0

func (m *TestUTF8) GetField() string

func (*TestUTF8) GetMapKey added in v1.2.0

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

func (*TestUTF8) GetMapValue added in v1.2.0

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

func (*TestUTF8) GetOneof added in v1.2.0

func (m *TestUTF8) GetOneof() isTestUTF8_Oneof

func (*TestUTF8) GetScalar added in v1.2.0

func (m *TestUTF8) GetScalar() string

func (*TestUTF8) GetVector added in v1.2.0

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

func (*TestUTF8) ProtoMessage added in v1.2.0

func (*TestUTF8) ProtoMessage()

func (*TestUTF8) Reset added in v1.2.0

func (m *TestUTF8) Reset()

func (*TestUTF8) String added in v1.2.0

func (m *TestUTF8) String() string

func (*TestUTF8) XXX_DiscardUnknown added in v1.2.0

func (m *TestUTF8) XXX_DiscardUnknown()

func (*TestUTF8) XXX_Marshal added in v1.2.0

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

func (*TestUTF8) XXX_Merge added in v1.2.0

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

func (*TestUTF8) XXX_OneofWrappers added in v1.4.0

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*TestUTF8) XXX_Size added in v1.2.0

func (m *TestUTF8) XXX_Size() int

func (*TestUTF8) XXX_Unmarshal added in v1.2.0

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

type TestUTF8_Field added in v1.2.0

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

Jump to

Keyboard shortcuts

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