testprotos

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const Default_MoarFloats_A float32 = 1
View Source
const Default_MoarFloats_B float32 = 1
View Source
const Default_MoarFloats_C float32 = 1.01
View Source
const Default_MoarFloats_D float32 = 0.1
View Source
const Default_MoarFloats_E float32 = 100000
View Source
const Default_MoarFloats_F float32 = 1e-05
View Source
const Default_PrimitiveDefaults_Bl1 bool = true
View Source
const Default_PrimitiveDefaults_Bl2 bool = false
View Source
const Default_PrimitiveDefaults_Fl32 float32 = 3.14159
View Source
const Default_PrimitiveDefaults_Fl32D float32 = 6.022141e+23
View Source
const Default_PrimitiveDefaults_Fl64 float64 = 3.14159
View Source
const Default_PrimitiveDefaults_Fl64D float64 = 6.022140857e+23
View Source
const Default_PrimitiveDefaults_I32 int32 = 10101
View Source
const Default_PrimitiveDefaults_I32F int32 = 10101
View Source
const Default_PrimitiveDefaults_I32Fn int32 = -10101
View Source
const Default_PrimitiveDefaults_I32Fx int32 = 131586
View Source
const Default_PrimitiveDefaults_I32Fxn int32 = -131586
View Source
const Default_PrimitiveDefaults_I32N int32 = -10101
View Source
const Default_PrimitiveDefaults_I32S int32 = 10101
View Source
const Default_PrimitiveDefaults_I32Sn int32 = -10101
View Source
const Default_PrimitiveDefaults_I32Sx int32 = 131586
View Source
const Default_PrimitiveDefaults_I32Sxn int32 = -131586
View Source
const Default_PrimitiveDefaults_I32X int32 = 131586
View Source
const Default_PrimitiveDefaults_I32Xn int32 = -131586
View Source
const Default_PrimitiveDefaults_I64 int64 = 10101
View Source
const Default_PrimitiveDefaults_I64F int64 = 10101
View Source
const Default_PrimitiveDefaults_I64Fn int64 = -10101
View Source
const Default_PrimitiveDefaults_I64Fx int64 = 131586
View Source
const Default_PrimitiveDefaults_I64Fxn int64 = -131586
View Source
const Default_PrimitiveDefaults_I64N int64 = -10101
View Source
const Default_PrimitiveDefaults_I64S int64 = 10101
View Source
const Default_PrimitiveDefaults_I64Sn int64 = -10101
View Source
const Default_PrimitiveDefaults_I64Sx int64 = 131586
View Source
const Default_PrimitiveDefaults_I64Sxn int64 = -131586
View Source
const Default_PrimitiveDefaults_I64X int64 = 131586
View Source
const Default_PrimitiveDefaults_I64Xn int64 = -131586
View Source
const Default_PrimitiveDefaults_U32 uint32 = 10101
View Source
const Default_PrimitiveDefaults_U32F uint32 = 10101
View Source
const Default_PrimitiveDefaults_U32Fx uint32 = 131586
View Source
const Default_PrimitiveDefaults_U32X uint32 = 131586
View Source
const Default_PrimitiveDefaults_U64 uint64 = 10101
View Source
const Default_PrimitiveDefaults_U64F uint64 = 10101
View Source
const Default_PrimitiveDefaults_U64Fx uint64 = 131586
View Source
const Default_PrimitiveDefaults_U64X uint64 = 131586
View Source
const Default_Request_Name string = "fubar"
View Source
const Default_StringAndBytesDefaults_Dq string = "this is a string with \"nested quotes\""
View Source
const Default_StringAndBytesDefaults_ReallyLongString string = "" /* 136-byte string literal not displayed */
View Source
const Default_StringAndBytesDefaults_Sq string = "this is a string with \"nested quotes\""
View Source
const Default_StringAndBytesDefaults_StringWithZero string = "hel\x00lo"
View Source
const Default_StringAndBytesDefaults_Utf8String string = "ሴ"

Variables

View Source
var Color_name = map[int32]string{
	0: "RED",
	1: "GREEN",
	2: "BLUE",
}
View Source
var Color_value = map[string]int32{
	"RED":   0,
	"GREEN": 1,
	"BLUE":  2,
}
View Source
var Default_PrimitiveDefaults_Fl32Inf float32 = float32(math.Inf(1))
View Source
var Default_PrimitiveDefaults_Fl32Nan float32 = float32(math.NaN())
View Source
var Default_PrimitiveDefaults_Fl32NegInf float32 = float32(math.Inf(-1))
View Source
var Default_PrimitiveDefaults_Fl64Inf float64 = math.Inf(1)
View Source
var Default_PrimitiveDefaults_Fl64Nan float64 = math.NaN()
View Source
var Default_PrimitiveDefaults_Fl64NegInf float64 = math.Inf(-1)
View Source
var Default_StringAndBytesDefaults_BytesWithZero []byte = []byte("wor\x00ld")
View Source
var Default_StringAndBytesDefaults_EscapedBytes []byte = []byte("\x00\x01\a\b\f\n\r\t\v\\'\"\xfe")
View Source
var Default_Test_B []byte = []byte("\x00\x01\x02\x03\x04\x05\x06\afubar!")
View Source
var E_A = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.MessageOptions)(nil),
	ExtensionType: (*Another)(nil),
	Field:         20020,
	Name:          "foo.bar.a",
	Tag:           "bytes,20020,opt,name=a",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_Bool = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FieldOptions)(nil),
	ExtensionType: (*bool)(nil),
	Field:         20018,
	Name:          "foo.bar.bool",
	Tag:           "varint,20018,opt,name=bool",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_Boom = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FieldOptions)(nil),
	ExtensionType: (*KeywordCollisions)(nil),
	Field:         20036,
	Name:          "foo.bar.boom",
	Tag:           "bytes,20036,opt,name=boom",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_Bytes = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FieldOptions)(nil),
	ExtensionType: ([]byte)(nil),
	Field:         20007,
	Name:          "foo.bar.bytes",
	Tag:           "bytes,20007,opt,name=bytes",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_Default = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FieldOptions)(nil),
	ExtensionType: (*int32)(nil),
	Field:         20035,
	Name:          "foo.bar.default",
	Tag:           "varint,20035,opt,name=default",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_Double = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FieldOptions)(nil),
	ExtensionType: (*float64)(nil),
	Field:         20020,
	Name:          "foo.bar.double",
	Tag:           "fixed64,20020,opt,name=double",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_Eee = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.MessageOptions)(nil),
	ExtensionType: (*Test_Nested__NestedNested_EEE)(nil),
	Field:         20010,
	Name:          "foo.bar.eee",
	Tag:           "varint,20010,opt,name=eee,enum=foo.bar.Test_Nested__NestedNested_EEE",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_Efubar = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.EnumOptions)(nil),
	ExtensionType: (*int32)(nil),
	Field:         10101,
	Name:          "testprotos.efubar",
	Tag:           "varint,10101,opt,name=efubar",
	Filename:      "desc_test_options.proto",
}
View Source
var E_Efubars = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.EnumOptions)(nil),
	ExtensionType: (*int32)(nil),
	Field:         10102,
	Name:          "testprotos.efubars",
	Tag:           "zigzag32,10102,opt,name=efubars",
	Filename:      "desc_test_options.proto",
}
View Source
var E_Efubarsf = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.EnumOptions)(nil),
	ExtensionType: (*int32)(nil),
	Field:         10103,
	Name:          "testprotos.efubarsf",
	Tag:           "fixed32,10103,opt,name=efubarsf",
	Filename:      "desc_test_options.proto",
}
View Source
var E_Efubaru = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.EnumOptions)(nil),
	ExtensionType: (*uint32)(nil),
	Field:         10104,
	Name:          "testprotos.efubaru",
	Tag:           "varint,10104,opt,name=efubaru",
	Filename:      "desc_test_options.proto",
}
View Source
var E_Efubaruf = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.EnumOptions)(nil),
	ExtensionType: (*uint32)(nil),
	Field:         10105,
	Name:          "testprotos.efubaruf",
	Tag:           "fixed32,10105,opt,name=efubaruf",
	Filename:      "desc_test_options.proto",
}
View Source
var E_Enum = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FieldOptions)(nil),
	ExtensionType: (*bool)(nil),
	Field:         20025,
	Name:          "foo.bar.enum",
	Tag:           "varint,20025,opt,name=enum",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_Evfubar = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.EnumValueOptions)(nil),
	ExtensionType: (*int64)(nil),
	Field:         10101,
	Name:          "testprotos.evfubar",
	Tag:           "varint,10101,opt,name=evfubar",
	Filename:      "desc_test_options.proto",
}
View Source
var E_Evfubars = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.EnumValueOptions)(nil),
	ExtensionType: (*int64)(nil),
	Field:         10102,
	Name:          "testprotos.evfubars",
	Tag:           "zigzag64,10102,opt,name=evfubars",
	Filename:      "desc_test_options.proto",
}
View Source
var E_Evfubarsf = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.EnumValueOptions)(nil),
	ExtensionType: (*int64)(nil),
	Field:         10103,
	Name:          "testprotos.evfubarsf",
	Tag:           "fixed64,10103,opt,name=evfubarsf",
	Filename:      "desc_test_options.proto",
}
View Source
var E_Evfubaru = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.EnumValueOptions)(nil),
	ExtensionType: (*uint64)(nil),
	Field:         10104,
	Name:          "testprotos.evfubaru",
	Tag:           "varint,10104,opt,name=evfubaru",
	Filename:      "desc_test_options.proto",
}
View Source
var E_Evfubaruf = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.EnumValueOptions)(nil),
	ExtensionType: (*uint64)(nil),
	Field:         10105,
	Name:          "testprotos.evfubaruf",
	Tag:           "fixed64,10105,opt,name=evfubaruf",
	Filename:      "desc_test_options.proto",
}
View Source
var E_Exfubar = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.ExtensionRangeOptions)(nil),
	ExtensionType: ([]string)(nil),
	Field:         10101,
	Name:          "testprotos.exfubar",
	Tag:           "bytes,10101,rep,name=exfubar",
	Filename:      "desc_test_options.proto",
}
View Source
var E_Exfubarb = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.ExtensionRangeOptions)(nil),
	ExtensionType: ([]byte)(nil),
	Field:         10102,
	Name:          "testprotos.exfubarb",
	Tag:           "bytes,10102,opt,name=exfubarb",
	Filename:      "desc_test_options.proto",
}
View Source
var E_Extend = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FieldOptions)(nil),
	ExtensionType: (*bool)(nil),
	Field:         20029,
	Name:          "foo.bar.extend",
	Tag:           "varint,20029,opt,name=extend",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_Extensions = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FieldOptions)(nil),
	ExtensionType: (*bool)(nil),
	Field:         20030,
	Name:          "foo.bar.extensions",
	Tag:           "varint,20030,opt,name=extensions",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_False = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FieldOptions)(nil),
	ExtensionType: (*int32)(nil),
	Field:         20034,
	Name:          "foo.bar.false",
	Tag:           "varint,20034,opt,name=false",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_Ffubar = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FieldOptions)(nil),
	ExtensionType: ([]string)(nil),
	Field:         10101,
	Name:          "testprotos.ffubar",
	Tag:           "bytes,10101,rep,name=ffubar",
	Filename:      "desc_test_options.proto",
}
View Source
var E_Ffubarb = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FieldOptions)(nil),
	ExtensionType: ([]byte)(nil),
	Field:         10102,
	Name:          "testprotos.ffubarb",
	Tag:           "bytes,10102,opt,name=ffubarb",
	Filename:      "desc_test_options.proto",
}
View Source
var E_Fixed32 = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FieldOptions)(nil),
	ExtensionType: (*uint32)(nil),
	Field:         20014,
	Name:          "foo.bar.fixed32",
	Tag:           "fixed32,20014,opt,name=fixed32",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_Fixed64 = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FieldOptions)(nil),
	ExtensionType: (*uint64)(nil),
	Field:         20015,
	Name:          "foo.bar.fixed64",
	Tag:           "fixed64,20015,opt,name=fixed64",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_Float = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FieldOptions)(nil),
	ExtensionType: (*float32)(nil),
	Field:         20019,
	Name:          "foo.bar.float",
	Tag:           "fixed32,20019,opt,name=float",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_Groupx = &proto.ExtensionDesc{
	ExtendedType:  (*nopkg.TopLevel)(nil),
	ExtensionType: (*GroupX)(nil),
	Field:         104,
	Name:          "testprotos.groupx",
	Tag:           "group,104,opt,name=GroupX",
	Filename:      "desc_test2.proto",
}
View Source
var E_Guid1 = &proto.ExtensionDesc{
	ExtendedType:  (*Request)(nil),
	ExtensionType: (*uint64)(nil),
	Field:         123,
	Name:          "foo.bar.guid1",
	Tag:           "varint,123,opt,name=guid1",
	Filename:      "desc_test_comments.proto",
}
View Source
var E_Guid2 = &proto.ExtensionDesc{
	ExtendedType:  (*Request)(nil),
	ExtensionType: (*uint64)(nil),
	Field:         124,
	Name:          "foo.bar.guid2",
	Tag:           "varint,124,opt,name=guid2",
	Filename:      "desc_test_comments.proto",
}
View Source
var E_Import = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FieldOptions)(nil),
	ExtensionType: (*bool)(nil),
	Field:         20002,
	Name:          "foo.bar.import",
	Tag:           "varint,20002,opt,name=import",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_Int32 = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FieldOptions)(nil),
	ExtensionType: (*int32)(nil),
	Field:         20008,
	Name:          "foo.bar.int32",
	Tag:           "varint,20008,opt,name=int32",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_Int64 = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FieldOptions)(nil),
	ExtensionType: (*int64)(nil),
	Field:         20009,
	Name:          "foo.bar.int64",
	Tag:           "varint,20009,opt,name=int64",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_Label = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.ExtensionRangeOptions)(nil),
	ExtensionType: (*string)(nil),
	Field:         20000,
	Name:          "foo.bar.label",
	Tag:           "bytes,20000,opt,name=label",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_Message = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FieldOptions)(nil),
	ExtensionType: (*bool)(nil),
	Field:         20024,
	Name:          "foo.bar.message",
	Tag:           "varint,20024,opt,name=message",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_Mfubar = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.MessageOptions)(nil),
	ExtensionType: (*bool)(nil),
	Field:         10101,
	Name:          "testprotos.mfubar",
	Tag:           "varint,10101,opt,name=mfubar",
	Filename:      "desc_test_options.proto",
}
View Source
var E_Mtfubar = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.MethodOptions)(nil),
	ExtensionType: ([]float32)(nil),
	Field:         10101,
	Name:          "testprotos.mtfubar",
	Tag:           "fixed32,10101,rep,name=mtfubar",
	Filename:      "desc_test_options.proto",
}
View Source
var E_Mtfubard = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.MethodOptions)(nil),
	ExtensionType: (*float64)(nil),
	Field:         10102,
	Name:          "testprotos.mtfubard",
	Tag:           "fixed64,10102,opt,name=mtfubard",
	Filename:      "desc_test_options.proto",
}
View Source
var E_Oofubar = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.OneofOptions)(nil),
	ExtensionType: ([]string)(nil),
	Field:         10101,
	Name:          "testprotos.oofubar",
	Tag:           "bytes,10101,rep,name=oofubar",
	Filename:      "desc_test_options.proto",
}
View Source
var E_Oofubarb = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.OneofOptions)(nil),
	ExtensionType: ([]byte)(nil),
	Field:         10102,
	Name:          "testprotos.oofubarb",
	Tag:           "bytes,10102,opt,name=oofubarb",
	Filename:      "desc_test_options.proto",
}
View Source
var E_Option = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FieldOptions)(nil),
	ExtensionType: (*bool)(nil),
	Field:         20028,
	Name:          "foo.bar.option",
	Tag:           "varint,20028,opt,name=option",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_Optional = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FieldOptions)(nil),
	ExtensionType: (*bool)(nil),
	Field:         20021,
	Name:          "foo.bar.optional",
	Tag:           "varint,20021,opt,name=optional",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_Otl = &proto.ExtensionDesc{
	ExtendedType:  (*nopkg.TopLevel)(nil),
	ExtensionType: (*nopkg.TopLevel)(nil),
	Field:         100,
	Name:          "testprotos.otl",
	Tag:           "bytes,100,opt,name=otl",
	Filename:      "desc_test2.proto",
}
View Source
var E_Package = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FieldOptions)(nil),
	ExtensionType: (*bool)(nil),
	Field:         20005,
	Name:          "foo.bar.package",
	Tag:           "varint,20005,opt,name=package",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_Public = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FieldOptions)(nil),
	ExtensionType: (*bool)(nil),
	Field:         20003,
	Name:          "foo.bar.public",
	Tag:           "varint,20003,opt,name=public",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_Repeated = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FieldOptions)(nil),
	ExtensionType: (*bool)(nil),
	Field:         20022,
	Name:          "foo.bar.repeated",
	Tag:           "varint,20022,opt,name=repeated",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_Rept = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.MessageOptions)(nil),
	ExtensionType: ([]*Test)(nil),
	Field:         20002,
	Name:          "foo.bar.rept",
	Tag:           "bytes,20002,rep,name=rept",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_Required = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FieldOptions)(nil),
	ExtensionType: (*bool)(nil),
	Field:         20023,
	Name:          "foo.bar.required",
	Tag:           "varint,20023,opt,name=required",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_Reserved = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FieldOptions)(nil),
	ExtensionType: (*bool)(nil),
	Field:         20031,
	Name:          "foo.bar.reserved",
	Tag:           "varint,20031,opt,name=reserved",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_Rpc = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FieldOptions)(nil),
	ExtensionType: (*bool)(nil),
	Field:         20027,
	Name:          "foo.bar.rpc",
	Tag:           "varint,20027,opt,name=rpc",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_Rules = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FieldOptions)(nil),
	ExtensionType: (*Rule)(nil),
	Field:         1234,
	Name:          "foo.bar.rules",
	Tag:           "bytes,1234,opt,name=rules",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_Service = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FieldOptions)(nil),
	ExtensionType: (*bool)(nil),
	Field:         20026,
	Name:          "foo.bar.service",
	Tag:           "varint,20026,opt,name=service",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_Sfixed32 = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FieldOptions)(nil),
	ExtensionType: (*int32)(nil),
	Field:         20016,
	Name:          "foo.bar.sfixed32",
	Tag:           "fixed32,20016,opt,name=sfixed32",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_Sfixed64 = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FieldOptions)(nil),
	ExtensionType: (*int64)(nil),
	Field:         20017,
	Name:          "foo.bar.sfixed64",
	Tag:           "fixed64,20017,opt,name=sfixed64",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_Sfubar = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.ServiceOptions)(nil),
	ExtensionType: (*ReallySimpleMessage)(nil),
	Field:         10101,
	Name:          "testprotos.sfubar",
	Tag:           "bytes,10101,opt,name=sfubar",
	Filename:      "desc_test_options.proto",
}
View Source
var E_Sfubare = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.ServiceOptions)(nil),
	ExtensionType: (*ReallySimpleEnum)(nil),
	Field:         10102,
	Name:          "testprotos.sfubare",
	Tag:           "varint,10102,opt,name=sfubare,enum=testprotos.ReallySimpleEnum",
	Filename:      "desc_test_options.proto",
}
View Source
var E_Sint32 = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FieldOptions)(nil),
	ExtensionType: (*int32)(nil),
	Field:         20012,
	Name:          "foo.bar.sint32",
	Tag:           "zigzag32,20012,opt,name=sint32",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_Sint64 = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FieldOptions)(nil),
	ExtensionType: (*int64)(nil),
	Field:         20013,
	Name:          "foo.bar.sint64",
	Tag:           "zigzag64,20013,opt,name=sint64",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_String = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FieldOptions)(nil),
	ExtensionType: (*string)(nil),
	Field:         20006,
	Name:          "foo.bar.string",
	Tag:           "bytes,20006,opt,name=string",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_Syntax = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FieldOptions)(nil),
	ExtensionType: (*bool)(nil),
	Field:         20001,
	Name:          "foo.bar.syntax",
	Tag:           "varint,20001,opt,name=syntax",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_TestMessage_NestedMessage_AnotherNestedMessage_Flags = &proto.ExtensionDesc{
	ExtendedType:  (*AnotherTestMessage)(nil),
	ExtensionType: ([]bool)(nil),
	Field:         200,
	Name:          "testprotos.TestMessage.NestedMessage.AnotherNestedMessage.flags",
	Tag:           "varint,200,rep,packed,name=flags",
	Filename:      "desc_test1.proto",
}
View Source
var E_Test_Nested_Fooblez = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.MessageOptions)(nil),
	ExtensionType: (*int32)(nil),
	Field:         20003,
	Name:          "foo.bar.Test.Nested.fooblez",
	Tag:           "varint,20003,opt,name=fooblez",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_Test_Nested_XNestedNested_XGarblez = &proto.ExtensionDesc{
	ExtendedType:  (*Test)(nil),
	ExtensionType: (*string)(nil),
	Field:         100,
	Name:          "foo.bar.Test.Nested._NestedNested._garblez",
	Tag:           "bytes,100,opt,name=_garblez",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_To = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FieldOptions)(nil),
	ExtensionType: (*bool)(nil),
	Field:         20032,
	Name:          "foo.bar.to",
	Tag:           "varint,20032,opt,name=to",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_True = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FieldOptions)(nil),
	ExtensionType: (*int32)(nil),
	Field:         20033,
	Name:          "foo.bar.true",
	Tag:           "varint,20033,opt,name=true",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_Uint32 = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FieldOptions)(nil),
	ExtensionType: (*uint32)(nil),
	Field:         20010,
	Name:          "foo.bar.uint32",
	Tag:           "varint,20010,opt,name=uint32",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_Uint64 = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FieldOptions)(nil),
	ExtensionType: (*uint64)(nil),
	Field:         20011,
	Name:          "foo.bar.uint64",
	Tag:           "varint,20011,opt,name=uint64",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_Validator = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.MethodOptions)(nil),
	ExtensionType: (*Validator)(nil),
	Field:         12345,
	Name:          "foo.bar.validator",
	Tag:           "bytes,12345,opt,name=validator",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_Weak = &proto.ExtensionDesc{
	ExtendedType:  (*descriptor.FieldOptions)(nil),
	ExtensionType: (*bool)(nil),
	Field:         20004,
	Name:          "foo.bar.weak",
	Tag:           "varint,20004,opt,name=weak",
	Filename:      "desc_test_complex.proto",
}
View Source
var E_Xi = &proto.ExtensionDesc{
	ExtendedType:  (*AnotherTestMessage)(nil),
	ExtensionType: (*int32)(nil),
	Field:         102,
	Name:          "testprotos.xi",
	Tag:           "varint,102,opt,name=xi",
	Filename:      "desc_test1.proto",
}
View Source
var E_Xs = &proto.ExtensionDesc{
	ExtendedType:  (*AnotherTestMessage)(nil),
	ExtensionType: (*string)(nil),
	Field:         101,
	Name:          "testprotos.xs",
	Tag:           "bytes,101,opt,name=xs",
	Filename:      "desc_test1.proto",
}
View Source
var E_Xtm = &proto.ExtensionDesc{
	ExtendedType:  (*AnotherTestMessage)(nil),
	ExtensionType: (*TestMessage)(nil),
	Field:         100,
	Name:          "testprotos.xtm",
	Tag:           "bytes,100,opt,name=xtm",
	Filename:      "desc_test1.proto",
}
View Source
var E_Xui = &proto.ExtensionDesc{
	ExtendedType:  (*AnotherTestMessage)(nil),
	ExtensionType: (*uint64)(nil),
	Field:         103,
	Name:          "testprotos.xui",
	Tag:           "varint,103,opt,name=xui",
	Filename:      "desc_test1.proto",
}
View Source
var EnumWithReservations_name = map[int32]string{
	2: "X",
	3: "Y",
	4: "Z",
}
View Source
var EnumWithReservations_value = map[string]int32{
	"X": 2,
	"Y": 3,
	"Z": 4,
}
View Source
var Number_name = map[int32]string{
	0: "ZERO",

	1: "ONE",

	2: "TWO",
}
View Source
var Number_value = map[string]int32{
	"ZERO": 0,
	"ZED":  0,
	"NIL":  0,
	"NULL": 0,
	"ONE":  1,
	"UNO":  1,
	"TWO":  2,
	"DOS":  2,
}
View Source
var Proto3Enum_name = map[int32]string{
	0: "UNKNOWN",
	1: "VALUE1",
	2: "VALUE2",
}
View Source
var Proto3Enum_value = map[string]int32{
	"UNKNOWN": 0,
	"VALUE1":  1,
	"VALUE2":  2,
}
View Source
var ReallySimpleEnum_name = map[int32]string{
	1: "VALUE",
}
View Source
var ReallySimpleEnum_value = map[string]int32{
	"VALUE": 1,
}
View Source
var Request_MarioCharacters_name = map[int32]string{
	1: "MARIO",
	2: "LUIGI",
	3: "PEACH",
	4: "BOWSER",
	5: "WARIO",
	6: "WALUIGI",
	7: "SHY_GUY",

	8: "MAGIKOOPA",

	-101: "SNIFIT",
}
View Source
var Request_MarioCharacters_value = map[string]int32{
	"MARIO":     1,
	"LUIGI":     2,
	"PEACH":     3,
	"BOWSER":    4,
	"WARIO":     5,
	"WALUIGI":   6,
	"SHY_GUY":   7,
	"HEY_HO":    7,
	"MAGIKOOPA": 8,
	"KAMEK":     8,
	"SNIFIT":    -101,
}
View Source
var TestEnum_name = map[int32]string{
	0: "INVALID",
	1: "FIRST",
	2: "SECOND",
	3: "THIRD",
}
View Source
var TestEnum_value = map[string]int32{
	"INVALID": 0,
	"FIRST":   1,
	"SECOND":  2,
	"THIRD":   3,
}
View Source
var TestMessage_NestedEnum_name = map[int32]string{
	1: "VALUE1",
	2: "VALUE2",
}
View Source
var TestMessage_NestedEnum_value = map[string]int32{
	"VALUE1": 1,
	"VALUE2": 2,
}
View Source
var TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum_name = map[int32]string{
	1: "VALUE1",
	2: "VALUE2",
}
View Source
var TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum_value = map[string]int32{
	"VALUE1": 1,
	"VALUE2": 2,
}
View Source
var Test_Nested__NestedNested_EEE_name = map[int32]string{
	0: "OK",
	1: "V1",
	2: "V2",
	3: "V3",
	4: "V4",
	5: "V5",
	6: "V6",
}
View Source
var Test_Nested__NestedNested_EEE_value = map[string]int32{
	"OK": 0,
	"V1": 1,
	"V2": 2,
	"V3": 3,
	"V4": 4,
	"V5": 5,
	"V6": 6,
}
View Source
var Validator_Action_name = map[int32]string{
	0: "LOGIN",
	1: "READ",
	2: "WRITE",
}
View Source
var Validator_Action_value = map[string]int32{
	"LOGIN": 0,
	"READ":  1,
	"WRITE": 2,
}

Functions

func RegisterRpcServiceServer

func RegisterRpcServiceServer(s *grpc.Server, srv RpcServiceServer)

func RegisterTestServiceServer

func RegisterTestServiceServer(s *grpc.Server, srv TestServiceServer)

func RegisterTestTestServiceServer

func RegisterTestTestServiceServer(s *grpc.Server, srv TestTestServiceServer)

Types

type AnEmptyMessage

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

func (*AnEmptyMessage) Descriptor

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

func (*AnEmptyMessage) ProtoMessage

func (*AnEmptyMessage) ProtoMessage()

func (*AnEmptyMessage) Reset

func (m *AnEmptyMessage) Reset()

func (*AnEmptyMessage) String

func (m *AnEmptyMessage) String() string

func (*AnEmptyMessage) XXX_DiscardUnknown

func (m *AnEmptyMessage) XXX_DiscardUnknown()

func (*AnEmptyMessage) XXX_Marshal

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

func (*AnEmptyMessage) XXX_Merge

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

func (*AnEmptyMessage) XXX_Size

func (m *AnEmptyMessage) XXX_Size() int

func (*AnEmptyMessage) XXX_Unmarshal

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

type Another

type Another struct {
	Test                 *Test                          `protobuf:"bytes,1,opt,name=test" json:"test,omitempty"`
	Fff                  *Test_Nested__NestedNested_EEE `protobuf:"varint,2,opt,name=fff,enum=foo.bar.Test_Nested__NestedNested_EEE,def=1" json:"fff,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

func (*Another) Descriptor

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

func (*Another) GetFff

func (*Another) GetTest

func (m *Another) GetTest() *Test

func (*Another) ProtoMessage

func (*Another) ProtoMessage()

func (*Another) Reset

func (m *Another) Reset()

func (*Another) String

func (m *Another) String() string

func (*Another) XXX_DiscardUnknown

func (m *Another) XXX_DiscardUnknown()

func (*Another) XXX_Marshal

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

func (*Another) XXX_Merge

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

func (*Another) XXX_Size

func (m *Another) XXX_Size() int

func (*Another) XXX_Unmarshal

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

type AnotherTestMessage

type AnotherTestMessage struct {
	// Comment for dne
	Dne *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum `` /* 157-byte string literal not displayed */
	// Comment for map_field1
	MapField1 map[int32]string `` /* 156-byte string literal not displayed */
	// Comment for map_field2
	MapField2 map[int64]float32 `` /* 158-byte string literal not displayed */
	// Comment for map_field3
	MapField3 map[uint32]bool `` /* 157-byte string literal not displayed */
	// Comment for map_field4
	MapField4 map[string]*AnotherTestMessage `` /* 155-byte string literal not displayed */
	Rocknroll *AnotherTestMessage_RockNRoll  `protobuf:"group,6,opt,name=RockNRoll,json=rocknroll" json:"rocknroll,omitempty"`
	// Comment for atmoo
	//
	// Types that are valid to be assigned to Atmoo:
	//	*AnotherTestMessage_Str
	//	*AnotherTestMessage_Int
	Atmoo                        isAnotherTestMessage_Atmoo      `protobuf_oneof:"atmoo"`
	Withoptions                  *AnotherTestMessage_WithOptions `protobuf:"group,9,opt,name=WithOptions,json=withoptions" json:"withoptions,omitempty"` // Deprecated: Do not use.
	XXX_NoUnkeyedLiteral         struct{}                        `json:"-"`
	proto.XXX_InternalExtensions `json:"-"`
	XXX_unrecognized             []byte `json:"-"`
	XXX_sizecache                int32  `json:"-"`
}

Comment for AnotherTestMessage

func (*AnotherTestMessage) Descriptor

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

func (*AnotherTestMessage) ExtensionRangeArray

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

func (*AnotherTestMessage) GetAtmoo

func (m *AnotherTestMessage) GetAtmoo() isAnotherTestMessage_Atmoo

func (*AnotherTestMessage) GetInt

func (m *AnotherTestMessage) GetInt() int64

func (*AnotherTestMessage) GetMapField1

func (m *AnotherTestMessage) GetMapField1() map[int32]string

func (*AnotherTestMessage) GetMapField2

func (m *AnotherTestMessage) GetMapField2() map[int64]float32

func (*AnotherTestMessage) GetMapField3

func (m *AnotherTestMessage) GetMapField3() map[uint32]bool

func (*AnotherTestMessage) GetMapField4

func (m *AnotherTestMessage) GetMapField4() map[string]*AnotherTestMessage

func (*AnotherTestMessage) GetRocknroll

func (*AnotherTestMessage) GetStr

func (m *AnotherTestMessage) GetStr() string

func (*AnotherTestMessage) GetWithoptions deprecated

Deprecated: Do not use.

func (*AnotherTestMessage) ProtoMessage

func (*AnotherTestMessage) ProtoMessage()

func (*AnotherTestMessage) Reset

func (m *AnotherTestMessage) Reset()

func (*AnotherTestMessage) String

func (m *AnotherTestMessage) String() string

func (*AnotherTestMessage) XXX_DiscardUnknown

func (m *AnotherTestMessage) XXX_DiscardUnknown()

func (*AnotherTestMessage) XXX_Marshal

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

func (*AnotherTestMessage) XXX_Merge

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

func (*AnotherTestMessage) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*AnotherTestMessage) XXX_Size

func (m *AnotherTestMessage) XXX_Size() int

func (*AnotherTestMessage) XXX_Unmarshal

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

type AnotherTestMessage_Int

type AnotherTestMessage_Int struct {
	Int int64 `protobuf:"varint,8,opt,name=int,oneof"`
}

type AnotherTestMessage_RockNRoll

type AnotherTestMessage_RockNRoll struct {
	// Comment for beatles
	Beatles *string `protobuf:"bytes,1,opt,name=beatles" json:"beatles,omitempty"`
	// Comment for stones
	Stones *string `protobuf:"bytes,2,opt,name=stones" json:"stones,omitempty"`
	// Comment for doors
	Doors                *string  `protobuf:"bytes,3,opt,name=doors" json:"doors,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Comment for RockNRoll

func (*AnotherTestMessage_RockNRoll) Descriptor

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

func (*AnotherTestMessage_RockNRoll) GetBeatles

func (m *AnotherTestMessage_RockNRoll) GetBeatles() string

func (*AnotherTestMessage_RockNRoll) GetDoors

func (m *AnotherTestMessage_RockNRoll) GetDoors() string

func (*AnotherTestMessage_RockNRoll) GetStones

func (m *AnotherTestMessage_RockNRoll) GetStones() string

func (*AnotherTestMessage_RockNRoll) ProtoMessage

func (*AnotherTestMessage_RockNRoll) ProtoMessage()

func (*AnotherTestMessage_RockNRoll) Reset

func (m *AnotherTestMessage_RockNRoll) Reset()

func (*AnotherTestMessage_RockNRoll) String

func (*AnotherTestMessage_RockNRoll) XXX_DiscardUnknown

func (m *AnotherTestMessage_RockNRoll) XXX_DiscardUnknown()

func (*AnotherTestMessage_RockNRoll) XXX_Marshal

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

func (*AnotherTestMessage_RockNRoll) XXX_Merge

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

func (*AnotherTestMessage_RockNRoll) XXX_Size

func (m *AnotherTestMessage_RockNRoll) XXX_Size() int

func (*AnotherTestMessage_RockNRoll) XXX_Unmarshal

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

type AnotherTestMessage_Str

type AnotherTestMessage_Str struct {
	Str string `protobuf:"bytes,7,opt,name=str,oneof"`
}

type AnotherTestMessage_WithOptions

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

Comment for WithOptions

func (*AnotherTestMessage_WithOptions) Descriptor

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

func (*AnotherTestMessage_WithOptions) ProtoMessage

func (*AnotherTestMessage_WithOptions) ProtoMessage()

func (*AnotherTestMessage_WithOptions) Reset

func (m *AnotherTestMessage_WithOptions) Reset()

func (*AnotherTestMessage_WithOptions) String

func (*AnotherTestMessage_WithOptions) XXX_DiscardUnknown

func (m *AnotherTestMessage_WithOptions) XXX_DiscardUnknown()

func (*AnotherTestMessage_WithOptions) XXX_Marshal

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

func (*AnotherTestMessage_WithOptions) XXX_Merge

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

func (*AnotherTestMessage_WithOptions) XXX_Size

func (m *AnotherTestMessage_WithOptions) XXX_Size() int

func (*AnotherTestMessage_WithOptions) XXX_Unmarshal

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

type Color

type Color int32
const (
	Color_RED   Color = 0
	Color_GREEN Color = 1
	Color_BLUE  Color = 2
)
const Default_EnumDefaults_Blue Color = Color_BLUE
const Default_EnumDefaults_Green Color = Color_GREEN
const Default_EnumDefaults_Red Color = Color_RED

func (Color) Enum

func (x Color) Enum() *Color

func (Color) EnumDescriptor

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

func (Color) String

func (x Color) String() string

func (*Color) UnmarshalJSON

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

type EnumDefaults

type EnumDefaults struct {
	Red                  *Color   `protobuf:"varint,1,opt,name=red,enum=testprotos.Color,def=0" json:"red,omitempty"`
	Green                *Color   `protobuf:"varint,2,opt,name=green,enum=testprotos.Color,def=1" json:"green,omitempty"`
	Blue                 *Color   `protobuf:"varint,3,opt,name=blue,enum=testprotos.Color,def=2" json:"blue,omitempty"`
	Zero                 *Number  `protobuf:"varint,4,opt,name=zero,enum=testprotos.Number,def=0" json:"zero,omitempty"`
	Zed                  *Number  `protobuf:"varint,5,opt,name=zed,enum=testprotos.Number,def=0" json:"zed,omitempty"`
	One                  *Number  `protobuf:"varint,6,opt,name=one,enum=testprotos.Number,def=1" json:"one,omitempty"`
	Dos                  *Number  `protobuf:"varint,7,opt,name=dos,enum=testprotos.Number,def=2" json:"dos,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EnumDefaults) Descriptor

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

func (*EnumDefaults) GetBlue

func (m *EnumDefaults) GetBlue() Color

func (*EnumDefaults) GetDos

func (m *EnumDefaults) GetDos() Number

func (*EnumDefaults) GetGreen

func (m *EnumDefaults) GetGreen() Color

func (*EnumDefaults) GetOne

func (m *EnumDefaults) GetOne() Number

func (*EnumDefaults) GetRed

func (m *EnumDefaults) GetRed() Color

func (*EnumDefaults) GetZed

func (m *EnumDefaults) GetZed() Number

func (*EnumDefaults) GetZero

func (m *EnumDefaults) GetZero() Number

func (*EnumDefaults) ProtoMessage

func (*EnumDefaults) ProtoMessage()

func (*EnumDefaults) Reset

func (m *EnumDefaults) Reset()

func (*EnumDefaults) String

func (m *EnumDefaults) String() string

func (*EnumDefaults) XXX_DiscardUnknown

func (m *EnumDefaults) XXX_DiscardUnknown()

func (*EnumDefaults) XXX_Marshal

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

func (*EnumDefaults) XXX_Merge

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

func (*EnumDefaults) XXX_Size

func (m *EnumDefaults) XXX_Size() int

func (*EnumDefaults) XXX_Unmarshal

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

type EnumWithReservations

type EnumWithReservations int32
const (
	EnumWithReservations_X EnumWithReservations = 2
	EnumWithReservations_Y EnumWithReservations = 3
	EnumWithReservations_Z EnumWithReservations = 4
)

func (EnumWithReservations) Enum

func (EnumWithReservations) EnumDescriptor

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

func (EnumWithReservations) String

func (x EnumWithReservations) String() string

func (*EnumWithReservations) UnmarshalJSON

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

type Frobnitz

type Frobnitz struct {
	A *TestMessage        `protobuf:"bytes,1,opt,name=a" json:"a,omitempty"`
	B *AnotherTestMessage `protobuf:"bytes,2,opt,name=b" json:"b,omitempty"`
	// Types that are valid to be assigned to Abc:
	//	*Frobnitz_C1
	//	*Frobnitz_C2
	Abc isFrobnitz_Abc             `protobuf_oneof:"abc"`
	D   *TestMessage_NestedMessage `protobuf:"bytes,5,opt,name=d" json:"d,omitempty"`
	E   *TestMessage_NestedEnum    `protobuf:"varint,6,opt,name=e,enum=testprotos.TestMessage_NestedEnum,def=2" json:"e,omitempty"`
	F   []string                   `protobuf:"bytes,7,rep,name=f" json:"f,omitempty"` // Deprecated: Do not use.
	// Types that are valid to be assigned to Def:
	//	*Frobnitz_G1
	//	*Frobnitz_G2
	//	*Frobnitz_G3
	Def                  isFrobnitz_Def `protobuf_oneof:"def"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*Frobnitz) Descriptor

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

func (*Frobnitz) GetA

func (m *Frobnitz) GetA() *TestMessage

func (*Frobnitz) GetAbc

func (m *Frobnitz) GetAbc() isFrobnitz_Abc

func (*Frobnitz) GetB

func (m *Frobnitz) GetB() *AnotherTestMessage

func (*Frobnitz) GetC1

func (m *Frobnitz) GetC1() *TestMessage_NestedMessage

func (*Frobnitz) GetC2

func (m *Frobnitz) GetC2() TestMessage_NestedEnum

func (*Frobnitz) GetD

func (*Frobnitz) GetDef

func (m *Frobnitz) GetDef() isFrobnitz_Def

func (*Frobnitz) GetE

func (m *Frobnitz) GetE() TestMessage_NestedEnum

func (*Frobnitz) GetF deprecated

func (m *Frobnitz) GetF() []string

Deprecated: Do not use.

func (*Frobnitz) GetG1

func (m *Frobnitz) GetG1() int32

func (*Frobnitz) GetG2

func (m *Frobnitz) GetG2() int32

func (*Frobnitz) GetG3

func (m *Frobnitz) GetG3() uint32

func (*Frobnitz) ProtoMessage

func (*Frobnitz) ProtoMessage()

func (*Frobnitz) Reset

func (m *Frobnitz) Reset()

func (*Frobnitz) String

func (m *Frobnitz) String() string

func (*Frobnitz) XXX_DiscardUnknown

func (m *Frobnitz) XXX_DiscardUnknown()

func (*Frobnitz) XXX_Marshal

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

func (*Frobnitz) XXX_Merge

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

func (*Frobnitz) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*Frobnitz) XXX_Size

func (m *Frobnitz) XXX_Size() int

func (*Frobnitz) XXX_Unmarshal

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

type Frobnitz_C1

type Frobnitz_C1 struct {
	C1 *TestMessage_NestedMessage `protobuf:"bytes,3,opt,name=c1,oneof"`
}

type Frobnitz_C2

type Frobnitz_C2 struct {
	C2 TestMessage_NestedEnum `protobuf:"varint,4,opt,name=c2,enum=testprotos.TestMessage_NestedEnum,oneof"`
}

type Frobnitz_G1

type Frobnitz_G1 struct {
	G1 int32 `protobuf:"varint,8,opt,name=g1,oneof"`
}

type Frobnitz_G2

type Frobnitz_G2 struct {
	G2 int32 `protobuf:"zigzag32,9,opt,name=g2,oneof"`
}

type Frobnitz_G3

type Frobnitz_G3 struct {
	G3 uint32 `protobuf:"varint,10,opt,name=g3,oneof"`
}

type GroupX

type GroupX struct {
	Groupxi              *int64   `protobuf:"varint,1041,opt,name=groupxi" json:"groupxi,omitempty"`
	Groupxs              *string  `protobuf:"bytes,1042,opt,name=groupxs" json:"groupxs,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GroupX) Descriptor

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

func (*GroupX) GetGroupxi

func (m *GroupX) GetGroupxi() int64

func (*GroupX) GetGroupxs

func (m *GroupX) GetGroupxs() string

func (*GroupX) ProtoMessage

func (*GroupX) ProtoMessage()

func (*GroupX) Reset

func (m *GroupX) Reset()

func (*GroupX) String

func (m *GroupX) String() string

func (*GroupX) XXX_DiscardUnknown

func (m *GroupX) XXX_DiscardUnknown()

func (*GroupX) XXX_Marshal

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

func (*GroupX) XXX_Merge

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

func (*GroupX) XXX_Size

func (m *GroupX) XXX_Size() int

func (*GroupX) XXX_Unmarshal

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

type IsAuthorizedReq

type IsAuthorizedReq struct {
	Subjects             []string `protobuf:"bytes,1,rep,name=subjects" json:"subjects,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*IsAuthorizedReq) Descriptor

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

func (*IsAuthorizedReq) GetSubjects

func (m *IsAuthorizedReq) GetSubjects() []string

func (*IsAuthorizedReq) ProtoMessage

func (*IsAuthorizedReq) ProtoMessage()

func (*IsAuthorizedReq) Reset

func (m *IsAuthorizedReq) Reset()

func (*IsAuthorizedReq) String

func (m *IsAuthorizedReq) String() string

func (*IsAuthorizedReq) XXX_DiscardUnknown

func (m *IsAuthorizedReq) XXX_DiscardUnknown()

func (*IsAuthorizedReq) XXX_Marshal

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

func (*IsAuthorizedReq) XXX_Merge

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

func (*IsAuthorizedReq) XXX_Size

func (m *IsAuthorizedReq) XXX_Size() int

func (*IsAuthorizedReq) XXX_Unmarshal

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

type KeywordCollisionOptions

type KeywordCollisionOptions struct {
	Id                   *uint64  `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Name                 *string  `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*KeywordCollisionOptions) Descriptor

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

func (*KeywordCollisionOptions) GetId

func (m *KeywordCollisionOptions) GetId() uint64

func (*KeywordCollisionOptions) GetName

func (m *KeywordCollisionOptions) GetName() string

func (*KeywordCollisionOptions) ProtoMessage

func (*KeywordCollisionOptions) ProtoMessage()

func (*KeywordCollisionOptions) Reset

func (m *KeywordCollisionOptions) Reset()

func (*KeywordCollisionOptions) String

func (m *KeywordCollisionOptions) String() string

func (*KeywordCollisionOptions) XXX_DiscardUnknown

func (m *KeywordCollisionOptions) XXX_DiscardUnknown()

func (*KeywordCollisionOptions) XXX_Marshal

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

func (*KeywordCollisionOptions) XXX_Merge

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

func (*KeywordCollisionOptions) XXX_Size

func (m *KeywordCollisionOptions) XXX_Size() int

func (*KeywordCollisionOptions) XXX_Unmarshal

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

type KeywordCollisions

type KeywordCollisions struct {
	Syntax               *bool    `protobuf:"varint,1,opt,name=syntax" json:"syntax,omitempty"`
	Import               *bool    `protobuf:"varint,2,opt,name=import" json:"import,omitempty"`
	Public               *bool    `protobuf:"varint,3,opt,name=public" json:"public,omitempty"`
	Weak                 *bool    `protobuf:"varint,4,opt,name=weak" json:"weak,omitempty"`
	Package              *bool    `protobuf:"varint,5,opt,name=package" json:"package,omitempty"`
	String_              *string  `protobuf:"bytes,6,opt,name=string" json:"string,omitempty"`
	Bytes                []byte   `protobuf:"bytes,7,opt,name=bytes" json:"bytes,omitempty"`
	Int32                *int32   `protobuf:"varint,8,opt,name=int32" json:"int32,omitempty"`
	Int64                *int64   `protobuf:"varint,9,opt,name=int64" json:"int64,omitempty"`
	Uint32               *uint32  `protobuf:"varint,10,opt,name=uint32" json:"uint32,omitempty"`
	Uint64               *uint64  `protobuf:"varint,11,opt,name=uint64" json:"uint64,omitempty"`
	Sint32               *int32   `protobuf:"zigzag32,12,opt,name=sint32" json:"sint32,omitempty"`
	Sint64               *int64   `protobuf:"zigzag64,13,opt,name=sint64" json:"sint64,omitempty"`
	Fixed32              *uint32  `protobuf:"fixed32,14,opt,name=fixed32" json:"fixed32,omitempty"`
	Fixed64              *uint64  `protobuf:"fixed64,15,opt,name=fixed64" json:"fixed64,omitempty"`
	Sfixed32             *int32   `protobuf:"fixed32,16,opt,name=sfixed32" json:"sfixed32,omitempty"`
	Sfixed64             *int64   `protobuf:"fixed64,17,opt,name=sfixed64" json:"sfixed64,omitempty"`
	Bool                 *bool    `protobuf:"varint,18,opt,name=bool" json:"bool,omitempty"`
	Float                *float32 `protobuf:"fixed32,19,opt,name=float" json:"float,omitempty"`
	Double               *float64 `protobuf:"fixed64,20,opt,name=double" json:"double,omitempty"`
	Optional             *bool    `protobuf:"varint,21,opt,name=optional" json:"optional,omitempty"`
	Repeated             *bool    `protobuf:"varint,22,opt,name=repeated" json:"repeated,omitempty"`
	Required             *bool    `protobuf:"varint,23,opt,name=required" json:"required,omitempty"`
	Message              *bool    `protobuf:"varint,24,opt,name=message" json:"message,omitempty"`
	Enum                 *bool    `protobuf:"varint,25,opt,name=enum" json:"enum,omitempty"`
	Service              *bool    `protobuf:"varint,26,opt,name=service" json:"service,omitempty"`
	Rpc                  *bool    `protobuf:"varint,27,opt,name=rpc" json:"rpc,omitempty"`
	Option               *bool    `protobuf:"varint,28,opt,name=option" json:"option,omitempty"`
	Extend               *bool    `protobuf:"varint,29,opt,name=extend" json:"extend,omitempty"`
	Extensions           *bool    `protobuf:"varint,30,opt,name=extensions" json:"extensions,omitempty"`
	Reserved             *bool    `protobuf:"varint,31,opt,name=reserved" json:"reserved,omitempty"`
	To                   *bool    `protobuf:"varint,32,opt,name=to" json:"to,omitempty"`
	True                 *int32   `protobuf:"varint,33,opt,name=true" json:"true,omitempty"`
	False                *int32   `protobuf:"varint,34,opt,name=false" json:"false,omitempty"`
	Default              *int32   `protobuf:"varint,35,opt,name=default" json:"default,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*KeywordCollisions) Descriptor

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

func (*KeywordCollisions) GetBool

func (m *KeywordCollisions) GetBool() bool

func (*KeywordCollisions) GetBytes

func (m *KeywordCollisions) GetBytes() []byte

func (*KeywordCollisions) GetDefault

func (m *KeywordCollisions) GetDefault() int32

func (*KeywordCollisions) GetDouble

func (m *KeywordCollisions) GetDouble() float64

func (*KeywordCollisions) GetEnum

func (m *KeywordCollisions) GetEnum() bool

func (*KeywordCollisions) GetExtend

func (m *KeywordCollisions) GetExtend() bool

func (*KeywordCollisions) GetExtensions

func (m *KeywordCollisions) GetExtensions() bool

func (*KeywordCollisions) GetFalse

func (m *KeywordCollisions) GetFalse() int32

func (*KeywordCollisions) GetFixed32

func (m *KeywordCollisions) GetFixed32() uint32

func (*KeywordCollisions) GetFixed64

func (m *KeywordCollisions) GetFixed64() uint64

func (*KeywordCollisions) GetFloat

func (m *KeywordCollisions) GetFloat() float32

func (*KeywordCollisions) GetImport

func (m *KeywordCollisions) GetImport() bool

func (*KeywordCollisions) GetInt32

func (m *KeywordCollisions) GetInt32() int32

func (*KeywordCollisions) GetInt64

func (m *KeywordCollisions) GetInt64() int64

func (*KeywordCollisions) GetMessage

func (m *KeywordCollisions) GetMessage() bool

func (*KeywordCollisions) GetOption

func (m *KeywordCollisions) GetOption() bool

func (*KeywordCollisions) GetOptional

func (m *KeywordCollisions) GetOptional() bool

func (*KeywordCollisions) GetPackage

func (m *KeywordCollisions) GetPackage() bool

func (*KeywordCollisions) GetPublic

func (m *KeywordCollisions) GetPublic() bool

func (*KeywordCollisions) GetRepeated

func (m *KeywordCollisions) GetRepeated() bool

func (*KeywordCollisions) GetRequired

func (m *KeywordCollisions) GetRequired() bool

func (*KeywordCollisions) GetReserved

func (m *KeywordCollisions) GetReserved() bool

func (*KeywordCollisions) GetRpc

func (m *KeywordCollisions) GetRpc() bool

func (*KeywordCollisions) GetService

func (m *KeywordCollisions) GetService() bool

func (*KeywordCollisions) GetSfixed32

func (m *KeywordCollisions) GetSfixed32() int32

func (*KeywordCollisions) GetSfixed64

func (m *KeywordCollisions) GetSfixed64() int64

func (*KeywordCollisions) GetSint32

func (m *KeywordCollisions) GetSint32() int32

func (*KeywordCollisions) GetSint64

func (m *KeywordCollisions) GetSint64() int64

func (*KeywordCollisions) GetString_

func (m *KeywordCollisions) GetString_() string

func (*KeywordCollisions) GetSyntax

func (m *KeywordCollisions) GetSyntax() bool

func (*KeywordCollisions) GetTo

func (m *KeywordCollisions) GetTo() bool

func (*KeywordCollisions) GetTrue

func (m *KeywordCollisions) GetTrue() int32

func (*KeywordCollisions) GetUint32

func (m *KeywordCollisions) GetUint32() uint32

func (*KeywordCollisions) GetUint64

func (m *KeywordCollisions) GetUint64() uint64

func (*KeywordCollisions) GetWeak

func (m *KeywordCollisions) GetWeak() bool

func (*KeywordCollisions) ProtoMessage

func (*KeywordCollisions) ProtoMessage()

func (*KeywordCollisions) Reset

func (m *KeywordCollisions) Reset()

func (*KeywordCollisions) String

func (m *KeywordCollisions) String() string

func (*KeywordCollisions) XXX_DiscardUnknown

func (m *KeywordCollisions) XXX_DiscardUnknown()

func (*KeywordCollisions) XXX_Marshal

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

func (*KeywordCollisions) XXX_Merge

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

func (*KeywordCollisions) XXX_Size

func (m *KeywordCollisions) XXX_Size() int

func (*KeywordCollisions) XXX_Unmarshal

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

type MapKeyFields

type MapKeyFields struct {
	I                    map[int32]string  `protobuf:"bytes,1,rep,name=i" json:"i,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	J                    map[int64]string  `protobuf:"bytes,2,rep,name=j" json:"j,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	K                    map[int32]string  `protobuf:"bytes,3,rep,name=k" json:"k,omitempty" protobuf_key:"zigzag32,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	L                    map[int64]string  `protobuf:"bytes,4,rep,name=l" json:"l,omitempty" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	M                    map[uint32]string `protobuf:"bytes,5,rep,name=m" json:"m,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	N                    map[uint64]string `protobuf:"bytes,6,rep,name=n" json:"n,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	O                    map[uint32]string `protobuf:"bytes,7,rep,name=o" json:"o,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	P                    map[uint64]string `protobuf:"bytes,8,rep,name=p" json:"p,omitempty" protobuf_key:"fixed64,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	Q                    map[int32]string  `protobuf:"bytes,9,rep,name=q" json:"q,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	R                    map[int64]string  `protobuf:"bytes,10,rep,name=r" json:"r,omitempty" protobuf_key:"fixed64,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	S                    map[string]string `protobuf:"bytes,11,rep,name=s" json:"s,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	T                    map[bool]string   `protobuf:"bytes,12,rep,name=t" json:"t,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*MapKeyFields) Descriptor

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

func (*MapKeyFields) GetI

func (m *MapKeyFields) GetI() map[int32]string

func (*MapKeyFields) GetJ

func (m *MapKeyFields) GetJ() map[int64]string

func (*MapKeyFields) GetK

func (m *MapKeyFields) GetK() map[int32]string

func (*MapKeyFields) GetL

func (m *MapKeyFields) GetL() map[int64]string

func (*MapKeyFields) GetM

func (m *MapKeyFields) GetM() map[uint32]string

func (*MapKeyFields) GetN

func (m *MapKeyFields) GetN() map[uint64]string

func (*MapKeyFields) GetO

func (m *MapKeyFields) GetO() map[uint32]string

func (*MapKeyFields) GetP

func (m *MapKeyFields) GetP() map[uint64]string

func (*MapKeyFields) GetQ

func (m *MapKeyFields) GetQ() map[int32]string

func (*MapKeyFields) GetR

func (m *MapKeyFields) GetR() map[int64]string

func (*MapKeyFields) GetS

func (m *MapKeyFields) GetS() map[string]string

func (*MapKeyFields) GetT

func (m *MapKeyFields) GetT() map[bool]string

func (*MapKeyFields) ProtoMessage

func (*MapKeyFields) ProtoMessage()

func (*MapKeyFields) Reset

func (m *MapKeyFields) Reset()

func (*MapKeyFields) String

func (m *MapKeyFields) String() string

func (*MapKeyFields) XXX_DiscardUnknown

func (m *MapKeyFields) XXX_DiscardUnknown()

func (*MapKeyFields) XXX_Marshal

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

func (*MapKeyFields) XXX_Merge

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

func (*MapKeyFields) XXX_Size

func (m *MapKeyFields) XXX_Size() int

func (*MapKeyFields) XXX_Unmarshal

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

type MapValFields

type MapValFields struct {
	I                    map[string]int32        `protobuf:"bytes,1,rep,name=i" json:"i,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
	J                    map[string]int64        `protobuf:"bytes,2,rep,name=j" json:"j,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
	K                    map[string]int32        `protobuf:"bytes,3,rep,name=k" json:"k,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"zigzag32,2,opt,name=value"`
	L                    map[string]int64        `protobuf:"bytes,4,rep,name=l" json:"l,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"zigzag64,2,opt,name=value"`
	M                    map[string]uint32       `protobuf:"bytes,5,rep,name=m" json:"m,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
	N                    map[string]uint64       `protobuf:"bytes,6,rep,name=n" json:"n,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
	O                    map[string]uint32       `protobuf:"bytes,7,rep,name=o" json:"o,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
	P                    map[string]uint64       `protobuf:"bytes,8,rep,name=p" json:"p,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
	Q                    map[string]int32        `protobuf:"bytes,9,rep,name=q" json:"q,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
	R                    map[string]int64        `protobuf:"bytes,10,rep,name=r" json:"r,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
	S                    map[string]float32      `protobuf:"bytes,11,rep,name=s" json:"s,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
	T                    map[string]float64      `protobuf:"bytes,12,rep,name=t" json:"t,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
	U                    map[string][]byte       `protobuf:"bytes,13,rep,name=u" json:"u,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	V                    map[string]string       `protobuf:"bytes,14,rep,name=v" json:"v,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	W                    map[string]bool         `protobuf:"bytes,15,rep,name=w" json:"w,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
	X                    map[string]*UnaryFields `protobuf:"bytes,16,rep,name=x" json:"x,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	Y                    map[string]TestEnum     `` /* 149-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

func (*MapValFields) Descriptor

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

func (*MapValFields) GetI

func (m *MapValFields) GetI() map[string]int32

func (*MapValFields) GetJ

func (m *MapValFields) GetJ() map[string]int64

func (*MapValFields) GetK

func (m *MapValFields) GetK() map[string]int32

func (*MapValFields) GetL

func (m *MapValFields) GetL() map[string]int64

func (*MapValFields) GetM

func (m *MapValFields) GetM() map[string]uint32

func (*MapValFields) GetN

func (m *MapValFields) GetN() map[string]uint64

func (*MapValFields) GetO

func (m *MapValFields) GetO() map[string]uint32

func (*MapValFields) GetP

func (m *MapValFields) GetP() map[string]uint64

func (*MapValFields) GetQ

func (m *MapValFields) GetQ() map[string]int32

func (*MapValFields) GetR

func (m *MapValFields) GetR() map[string]int64

func (*MapValFields) GetS

func (m *MapValFields) GetS() map[string]float32

func (*MapValFields) GetT

func (m *MapValFields) GetT() map[string]float64

func (*MapValFields) GetU

func (m *MapValFields) GetU() map[string][]byte

func (*MapValFields) GetV

func (m *MapValFields) GetV() map[string]string

func (*MapValFields) GetW

func (m *MapValFields) GetW() map[string]bool

func (*MapValFields) GetX

func (m *MapValFields) GetX() map[string]*UnaryFields

func (*MapValFields) GetY

func (m *MapValFields) GetY() map[string]TestEnum

func (*MapValFields) ProtoMessage

func (*MapValFields) ProtoMessage()

func (*MapValFields) Reset

func (m *MapValFields) Reset()

func (*MapValFields) String

func (m *MapValFields) String() string

func (*MapValFields) XXX_DiscardUnknown

func (m *MapValFields) XXX_DiscardUnknown()

func (*MapValFields) XXX_Marshal

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

func (*MapValFields) XXX_Merge

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

func (*MapValFields) XXX_Size

func (m *MapValFields) XXX_Size() int

func (*MapValFields) XXX_Unmarshal

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

type MessageWithReservations

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

func (*MessageWithReservations) Descriptor

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

func (*MessageWithReservations) ProtoMessage

func (*MessageWithReservations) ProtoMessage()

func (*MessageWithReservations) Reset

func (m *MessageWithReservations) Reset()

func (*MessageWithReservations) String

func (m *MessageWithReservations) String() string

func (*MessageWithReservations) XXX_DiscardUnknown

func (m *MessageWithReservations) XXX_DiscardUnknown()

func (*MessageWithReservations) XXX_Marshal

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

func (*MessageWithReservations) XXX_Merge

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

func (*MessageWithReservations) XXX_Size

func (m *MessageWithReservations) XXX_Size() int

func (*MessageWithReservations) XXX_Unmarshal

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

type MoarFloats

type MoarFloats struct {
	A                    *float32 `protobuf:"fixed32,1,opt,name=a,def=1" json:"a,omitempty"`
	B                    *float32 `protobuf:"fixed32,2,opt,name=b,def=1" json:"b,omitempty"`
	C                    *float32 `protobuf:"fixed32,3,opt,name=c,def=1.01" json:"c,omitempty"`
	D                    *float32 `protobuf:"fixed32,4,opt,name=d,def=0.1" json:"d,omitempty"`
	E                    *float32 `protobuf:"fixed32,5,opt,name=e,def=100000" json:"e,omitempty"`
	F                    *float32 `protobuf:"fixed32,6,opt,name=f,def=1e-05" json:"f,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MoarFloats) Descriptor

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

func (*MoarFloats) GetA

func (m *MoarFloats) GetA() float32

func (*MoarFloats) GetB

func (m *MoarFloats) GetB() float32

func (*MoarFloats) GetC

func (m *MoarFloats) GetC() float32

func (*MoarFloats) GetD

func (m *MoarFloats) GetD() float32

func (*MoarFloats) GetE

func (m *MoarFloats) GetE() float32

func (*MoarFloats) GetF

func (m *MoarFloats) GetF() float32

func (*MoarFloats) ProtoMessage

func (*MoarFloats) ProtoMessage()

func (*MoarFloats) Reset

func (m *MoarFloats) Reset()

func (*MoarFloats) String

func (m *MoarFloats) String() string

func (*MoarFloats) XXX_DiscardUnknown

func (m *MoarFloats) XXX_DiscardUnknown()

func (*MoarFloats) XXX_Marshal

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

func (*MoarFloats) XXX_Merge

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

func (*MoarFloats) XXX_Size

func (m *MoarFloats) XXX_Size() int

func (*MoarFloats) XXX_Unmarshal

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

type Number

type Number int32
const (
	Number_ZERO Number = 0
	Number_ZED  Number = 0
	Number_NIL  Number = 0
	Number_NULL Number = 0
	Number_ONE  Number = 1
	Number_UNO  Number = 1
	Number_TWO  Number = 2
	Number_DOS  Number = 2
)
const Default_EnumDefaults_Dos Number = Number_DOS
const Default_EnumDefaults_One Number = Number_ONE
const Default_EnumDefaults_Zed Number = Number_ZED
const Default_EnumDefaults_Zero Number = Number_ZERO

func (Number) Enum

func (x Number) Enum() *Number

func (Number) EnumDescriptor

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

func (Number) String

func (x Number) String() string

func (*Number) UnmarshalJSON

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

type OneOfMessage

type OneOfMessage struct {
	// Types that are valid to be assigned to Value:
	//	*OneOfMessage_BinaryValue
	//	*OneOfMessage_StringValue
	//	*OneOfMessage_BooleanValue
	//	*OneOfMessage_IntValue
	//	*OneOfMessage_Int64Value
	//	*OneOfMessage_DoubleValue
	//	*OneOfMessage_FloatValue
	//	*OneOfMessage_MsgValue
	Value                isOneOfMessage_Value `protobuf_oneof:"value"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*OneOfMessage) Descriptor

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

func (*OneOfMessage) GetBinaryValue

func (m *OneOfMessage) GetBinaryValue() []byte

func (*OneOfMessage) GetBooleanValue

func (m *OneOfMessage) GetBooleanValue() bool

func (*OneOfMessage) GetDoubleValue

func (m *OneOfMessage) GetDoubleValue() float64

func (*OneOfMessage) GetFloatValue

func (m *OneOfMessage) GetFloatValue() float32

func (*OneOfMessage) GetInt64Value

func (m *OneOfMessage) GetInt64Value() int64

func (*OneOfMessage) GetIntValue

func (m *OneOfMessage) GetIntValue() int32

func (*OneOfMessage) GetMsgValue

func (m *OneOfMessage) GetMsgValue() *OneOfMessage

func (*OneOfMessage) GetStringValue

func (m *OneOfMessage) GetStringValue() string

func (*OneOfMessage) GetValue

func (m *OneOfMessage) GetValue() isOneOfMessage_Value

func (*OneOfMessage) ProtoMessage

func (*OneOfMessage) ProtoMessage()

func (*OneOfMessage) Reset

func (m *OneOfMessage) Reset()

func (*OneOfMessage) String

func (m *OneOfMessage) String() string

func (*OneOfMessage) XXX_DiscardUnknown

func (m *OneOfMessage) XXX_DiscardUnknown()

func (*OneOfMessage) XXX_Marshal

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

func (*OneOfMessage) XXX_Merge

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

func (*OneOfMessage) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*OneOfMessage) XXX_Size

func (m *OneOfMessage) XXX_Size() int

func (*OneOfMessage) XXX_Unmarshal

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

type OneOfMessage_BinaryValue

type OneOfMessage_BinaryValue struct {
	BinaryValue []byte `protobuf:"bytes,1,opt,name=binary_value,json=binaryValue,proto3,oneof"`
}

type OneOfMessage_BooleanValue

type OneOfMessage_BooleanValue struct {
	BooleanValue bool `protobuf:"varint,3,opt,name=boolean_value,json=booleanValue,proto3,oneof"`
}

type OneOfMessage_DoubleValue

type OneOfMessage_DoubleValue struct {
	DoubleValue float64 `protobuf:"fixed64,6,opt,name=double_value,json=doubleValue,proto3,oneof"`
}

type OneOfMessage_FloatValue

type OneOfMessage_FloatValue struct {
	FloatValue float32 `protobuf:"fixed32,7,opt,name=float_value,json=floatValue,proto3,oneof"`
}

type OneOfMessage_Int64Value

type OneOfMessage_Int64Value struct {
	Int64Value int64 `protobuf:"varint,5,opt,name=int64_value,json=int64Value,proto3,oneof"`
}

type OneOfMessage_IntValue

type OneOfMessage_IntValue struct {
	IntValue int32 `protobuf:"varint,4,opt,name=int_value,json=intValue,proto3,oneof"`
}

type OneOfMessage_MsgValue

type OneOfMessage_MsgValue struct {
	MsgValue *OneOfMessage `protobuf:"bytes,8,opt,name=msg_value,json=msgValue,proto3,oneof"`
}

type OneOfMessage_StringValue

type OneOfMessage_StringValue struct {
	StringValue string `protobuf:"bytes,2,opt,name=string_value,json=stringValue,proto3,oneof"`
}

type PrimitiveDefaults

type PrimitiveDefaults struct {
	// simple default
	Fl32 *float32 `protobuf:"fixed32,1,opt,name=fl32,def=3.14159" json:"fl32,omitempty"`
	Fl64 *float64 `protobuf:"fixed64,2,opt,name=fl64,def=3.14159" json:"fl64,omitempty"`
	// exponent notation
	Fl32D *float32 `protobuf:"fixed32,3,opt,name=fl32d,def=6.022141e+23" json:"fl32d,omitempty"`
	Fl64D *float64 `protobuf:"fixed64,4,opt,name=fl64d,def=6.022140857e+23" json:"fl64d,omitempty"`
	// special values: inf, -inf, and nan
	Fl32Inf    *float32 `protobuf:"fixed32,5,opt,name=fl32inf,def=inf" json:"fl32inf,omitempty"`
	Fl64Inf    *float64 `protobuf:"fixed64,6,opt,name=fl64inf,def=inf" json:"fl64inf,omitempty"`
	Fl32NegInf *float32 `protobuf:"fixed32,7,opt,name=fl32negInf,def=-inf" json:"fl32negInf,omitempty"`
	Fl64NegInf *float64 `protobuf:"fixed64,8,opt,name=fl64negInf,def=-inf" json:"fl64negInf,omitempty"`
	Fl32Nan    *float32 `protobuf:"fixed32,9,opt,name=fl32nan,def=nan" json:"fl32nan,omitempty"`
	Fl64Nan    *float64 `protobuf:"fixed64,10,opt,name=fl64nan,def=nan" json:"fl64nan,omitempty"`
	Bl1        *bool    `protobuf:"varint,11,opt,name=bl1,def=1" json:"bl1,omitempty"`
	Bl2        *bool    `protobuf:"varint,12,opt,name=bl2,def=0" json:"bl2,omitempty"`
	// signed
	I32    *int32 `protobuf:"varint,13,opt,name=i32,def=10101" json:"i32,omitempty"`
	I32N   *int32 `protobuf:"varint,14,opt,name=i32n,def=-10101" json:"i32n,omitempty"`
	I32X   *int32 `protobuf:"varint,15,opt,name=i32x,def=131586" json:"i32x,omitempty"`
	I32Xn  *int32 `protobuf:"varint,16,opt,name=i32xn,def=-131586" json:"i32xn,omitempty"`
	I64    *int64 `protobuf:"varint,17,opt,name=i64,def=10101" json:"i64,omitempty"`
	I64N   *int64 `protobuf:"varint,18,opt,name=i64n,def=-10101" json:"i64n,omitempty"`
	I64X   *int64 `protobuf:"varint,19,opt,name=i64x,def=131586" json:"i64x,omitempty"`
	I64Xn  *int64 `protobuf:"varint,20,opt,name=i64xn,def=-131586" json:"i64xn,omitempty"`
	I32S   *int32 `protobuf:"zigzag32,21,opt,name=i32s,def=10101" json:"i32s,omitempty"`
	I32Sn  *int32 `protobuf:"zigzag32,22,opt,name=i32sn,def=-10101" json:"i32sn,omitempty"`
	I32Sx  *int32 `protobuf:"zigzag32,23,opt,name=i32sx,def=131586" json:"i32sx,omitempty"`
	I32Sxn *int32 `protobuf:"zigzag32,24,opt,name=i32sxn,def=-131586" json:"i32sxn,omitempty"`
	I64S   *int64 `protobuf:"zigzag64,25,opt,name=i64s,def=10101" json:"i64s,omitempty"`
	I64Sn  *int64 `protobuf:"zigzag64,26,opt,name=i64sn,def=-10101" json:"i64sn,omitempty"`
	I64Sx  *int64 `protobuf:"zigzag64,27,opt,name=i64sx,def=131586" json:"i64sx,omitempty"`
	I64Sxn *int64 `protobuf:"zigzag64,28,opt,name=i64sxn,def=-131586" json:"i64sxn,omitempty"`
	I32F   *int32 `protobuf:"fixed32,29,opt,name=i32f,def=10101" json:"i32f,omitempty"`
	I32Fn  *int32 `protobuf:"fixed32,30,opt,name=i32fn,def=-10101" json:"i32fn,omitempty"`
	I32Fx  *int32 `protobuf:"fixed32,31,opt,name=i32fx,def=131586" json:"i32fx,omitempty"`
	I32Fxn *int32 `protobuf:"fixed32,32,opt,name=i32fxn,def=-131586" json:"i32fxn,omitempty"`
	I64F   *int64 `protobuf:"fixed64,33,opt,name=i64f,def=10101" json:"i64f,omitempty"`
	I64Fn  *int64 `protobuf:"fixed64,34,opt,name=i64fn,def=-10101" json:"i64fn,omitempty"`
	I64Fx  *int64 `protobuf:"fixed64,35,opt,name=i64fx,def=131586" json:"i64fx,omitempty"`
	I64Fxn *int64 `protobuf:"fixed64,36,opt,name=i64fxn,def=-131586" json:"i64fxn,omitempty"`
	// unsigned
	U32                  *uint32  `protobuf:"varint,37,opt,name=u32,def=10101" json:"u32,omitempty"`
	U32X                 *uint32  `protobuf:"varint,38,opt,name=u32x,def=131586" json:"u32x,omitempty"`
	U64                  *uint64  `protobuf:"varint,39,opt,name=u64,def=10101" json:"u64,omitempty"`
	U64X                 *uint64  `protobuf:"varint,40,opt,name=u64x,def=131586" json:"u64x,omitempty"`
	U32F                 *uint32  `protobuf:"fixed32,41,opt,name=u32f,def=10101" json:"u32f,omitempty"`
	U32Fx                *uint32  `protobuf:"fixed32,42,opt,name=u32fx,def=131586" json:"u32fx,omitempty"`
	U64F                 *uint64  `protobuf:"fixed64,43,opt,name=u64f,def=10101" json:"u64f,omitempty"`
	U64Fx                *uint64  `protobuf:"fixed64,44,opt,name=u64fx,def=131586" json:"u64fx,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PrimitiveDefaults) Descriptor

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

func (*PrimitiveDefaults) GetBl1

func (m *PrimitiveDefaults) GetBl1() bool

func (*PrimitiveDefaults) GetBl2

func (m *PrimitiveDefaults) GetBl2() bool

func (*PrimitiveDefaults) GetFl32

func (m *PrimitiveDefaults) GetFl32() float32

func (*PrimitiveDefaults) GetFl32D

func (m *PrimitiveDefaults) GetFl32D() float32

func (*PrimitiveDefaults) GetFl32Inf

func (m *PrimitiveDefaults) GetFl32Inf() float32

func (*PrimitiveDefaults) GetFl32Nan

func (m *PrimitiveDefaults) GetFl32Nan() float32

func (*PrimitiveDefaults) GetFl32NegInf

func (m *PrimitiveDefaults) GetFl32NegInf() float32

func (*PrimitiveDefaults) GetFl64

func (m *PrimitiveDefaults) GetFl64() float64

func (*PrimitiveDefaults) GetFl64D

func (m *PrimitiveDefaults) GetFl64D() float64

func (*PrimitiveDefaults) GetFl64Inf

func (m *PrimitiveDefaults) GetFl64Inf() float64

func (*PrimitiveDefaults) GetFl64Nan

func (m *PrimitiveDefaults) GetFl64Nan() float64

func (*PrimitiveDefaults) GetFl64NegInf

func (m *PrimitiveDefaults) GetFl64NegInf() float64

func (*PrimitiveDefaults) GetI32

func (m *PrimitiveDefaults) GetI32() int32

func (*PrimitiveDefaults) GetI32F

func (m *PrimitiveDefaults) GetI32F() int32

func (*PrimitiveDefaults) GetI32Fn

func (m *PrimitiveDefaults) GetI32Fn() int32

func (*PrimitiveDefaults) GetI32Fx

func (m *PrimitiveDefaults) GetI32Fx() int32

func (*PrimitiveDefaults) GetI32Fxn

func (m *PrimitiveDefaults) GetI32Fxn() int32

func (*PrimitiveDefaults) GetI32N

func (m *PrimitiveDefaults) GetI32N() int32

func (*PrimitiveDefaults) GetI32S

func (m *PrimitiveDefaults) GetI32S() int32

func (*PrimitiveDefaults) GetI32Sn

func (m *PrimitiveDefaults) GetI32Sn() int32

func (*PrimitiveDefaults) GetI32Sx

func (m *PrimitiveDefaults) GetI32Sx() int32

func (*PrimitiveDefaults) GetI32Sxn

func (m *PrimitiveDefaults) GetI32Sxn() int32

func (*PrimitiveDefaults) GetI32X

func (m *PrimitiveDefaults) GetI32X() int32

func (*PrimitiveDefaults) GetI32Xn

func (m *PrimitiveDefaults) GetI32Xn() int32

func (*PrimitiveDefaults) GetI64

func (m *PrimitiveDefaults) GetI64() int64

func (*PrimitiveDefaults) GetI64F

func (m *PrimitiveDefaults) GetI64F() int64

func (*PrimitiveDefaults) GetI64Fn

func (m *PrimitiveDefaults) GetI64Fn() int64

func (*PrimitiveDefaults) GetI64Fx

func (m *PrimitiveDefaults) GetI64Fx() int64

func (*PrimitiveDefaults) GetI64Fxn

func (m *PrimitiveDefaults) GetI64Fxn() int64

func (*PrimitiveDefaults) GetI64N

func (m *PrimitiveDefaults) GetI64N() int64

func (*PrimitiveDefaults) GetI64S

func (m *PrimitiveDefaults) GetI64S() int64

func (*PrimitiveDefaults) GetI64Sn

func (m *PrimitiveDefaults) GetI64Sn() int64

func (*PrimitiveDefaults) GetI64Sx

func (m *PrimitiveDefaults) GetI64Sx() int64

func (*PrimitiveDefaults) GetI64Sxn

func (m *PrimitiveDefaults) GetI64Sxn() int64

func (*PrimitiveDefaults) GetI64X

func (m *PrimitiveDefaults) GetI64X() int64

func (*PrimitiveDefaults) GetI64Xn

func (m *PrimitiveDefaults) GetI64Xn() int64

func (*PrimitiveDefaults) GetU32

func (m *PrimitiveDefaults) GetU32() uint32

func (*PrimitiveDefaults) GetU32F

func (m *PrimitiveDefaults) GetU32F() uint32

func (*PrimitiveDefaults) GetU32Fx

func (m *PrimitiveDefaults) GetU32Fx() uint32

func (*PrimitiveDefaults) GetU32X

func (m *PrimitiveDefaults) GetU32X() uint32

func (*PrimitiveDefaults) GetU64

func (m *PrimitiveDefaults) GetU64() uint64

func (*PrimitiveDefaults) GetU64F

func (m *PrimitiveDefaults) GetU64F() uint64

func (*PrimitiveDefaults) GetU64Fx

func (m *PrimitiveDefaults) GetU64Fx() uint64

func (*PrimitiveDefaults) GetU64X

func (m *PrimitiveDefaults) GetU64X() uint64

func (*PrimitiveDefaults) ProtoMessage

func (*PrimitiveDefaults) ProtoMessage()

func (*PrimitiveDefaults) Reset

func (m *PrimitiveDefaults) Reset()

func (*PrimitiveDefaults) String

func (m *PrimitiveDefaults) String() string

func (*PrimitiveDefaults) XXX_DiscardUnknown

func (m *PrimitiveDefaults) XXX_DiscardUnknown()

func (*PrimitiveDefaults) XXX_Marshal

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

func (*PrimitiveDefaults) XXX_Merge

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

func (*PrimitiveDefaults) XXX_Size

func (m *PrimitiveDefaults) XXX_Size() int

func (*PrimitiveDefaults) XXX_Unmarshal

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

type Proto3Enum

type Proto3Enum int32
const (
	Proto3Enum_UNKNOWN Proto3Enum = 0
	Proto3Enum_VALUE1  Proto3Enum = 1
	Proto3Enum_VALUE2  Proto3Enum = 2
)

func (Proto3Enum) EnumDescriptor

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

func (Proto3Enum) String

func (x Proto3Enum) String() string

type ReallySimpleEnum

type ReallySimpleEnum int32

Test enum used by custom options

const (
	ReallySimpleEnum_VALUE ReallySimpleEnum = 1
)

func (ReallySimpleEnum) Enum

func (ReallySimpleEnum) EnumDescriptor

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

func (ReallySimpleEnum) String

func (x ReallySimpleEnum) String() string

func (*ReallySimpleEnum) UnmarshalJSON

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

type ReallySimpleMessage

type ReallySimpleMessage struct {
	Id                   *uint64  `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Name                 *string  `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Test message used by custom options

func (*ReallySimpleMessage) Descriptor

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

func (*ReallySimpleMessage) GetId

func (m *ReallySimpleMessage) GetId() uint64

func (*ReallySimpleMessage) GetName

func (m *ReallySimpleMessage) GetName() string

func (*ReallySimpleMessage) ProtoMessage

func (*ReallySimpleMessage) ProtoMessage()

func (*ReallySimpleMessage) Reset

func (m *ReallySimpleMessage) Reset()

func (*ReallySimpleMessage) String

func (m *ReallySimpleMessage) String() string

func (*ReallySimpleMessage) XXX_DiscardUnknown

func (m *ReallySimpleMessage) XXX_DiscardUnknown()

func (*ReallySimpleMessage) XXX_Marshal

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

func (*ReallySimpleMessage) XXX_Merge

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

func (*ReallySimpleMessage) XXX_Size

func (m *ReallySimpleMessage) XXX_Size() int

func (*ReallySimpleMessage) XXX_Unmarshal

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

type RepeatedFields

type RepeatedFields struct {
	I                    []int32                  `protobuf:"varint,1,rep,name=i" json:"i,omitempty"`
	J                    []int64                  `protobuf:"varint,2,rep,name=j" json:"j,omitempty"`
	K                    []int32                  `protobuf:"zigzag32,3,rep,name=k" json:"k,omitempty"`
	L                    []int64                  `protobuf:"zigzag64,4,rep,name=l" json:"l,omitempty"`
	M                    []uint32                 `protobuf:"varint,5,rep,name=m" json:"m,omitempty"`
	N                    []uint64                 `protobuf:"varint,6,rep,name=n" json:"n,omitempty"`
	O                    []uint32                 `protobuf:"fixed32,7,rep,name=o" json:"o,omitempty"`
	P                    []uint64                 `protobuf:"fixed64,8,rep,name=p" json:"p,omitempty"`
	Q                    []int32                  `protobuf:"fixed32,9,rep,name=q" json:"q,omitempty"`
	R                    []int64                  `protobuf:"fixed64,10,rep,name=r" json:"r,omitempty"`
	S                    []float32                `protobuf:"fixed32,11,rep,name=s" json:"s,omitempty"`
	T                    []float64                `protobuf:"fixed64,12,rep,name=t" json:"t,omitempty"`
	U                    [][]byte                 `protobuf:"bytes,13,rep,name=u" json:"u,omitempty"`
	V                    []string                 `protobuf:"bytes,14,rep,name=v" json:"v,omitempty"`
	W                    []bool                   `protobuf:"varint,15,rep,name=w" json:"w,omitempty"`
	X                    []*UnaryFields           `protobuf:"bytes,16,rep,name=x" json:"x,omitempty"`
	Groupy               []*RepeatedFields_GroupY `protobuf:"group,17,rep,name=GroupY,json=groupy" json:"groupy,omitempty"`
	Z                    []TestEnum               `protobuf:"varint,18,rep,name=z,enum=testprotos.TestEnum" json:"z,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*RepeatedFields) Descriptor

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

func (*RepeatedFields) GetGroupy

func (m *RepeatedFields) GetGroupy() []*RepeatedFields_GroupY

func (*RepeatedFields) GetI

func (m *RepeatedFields) GetI() []int32

func (*RepeatedFields) GetJ

func (m *RepeatedFields) GetJ() []int64

func (*RepeatedFields) GetK

func (m *RepeatedFields) GetK() []int32

func (*RepeatedFields) GetL

func (m *RepeatedFields) GetL() []int64

func (*RepeatedFields) GetM

func (m *RepeatedFields) GetM() []uint32

func (*RepeatedFields) GetN

func (m *RepeatedFields) GetN() []uint64

func (*RepeatedFields) GetO

func (m *RepeatedFields) GetO() []uint32

func (*RepeatedFields) GetP

func (m *RepeatedFields) GetP() []uint64

func (*RepeatedFields) GetQ

func (m *RepeatedFields) GetQ() []int32

func (*RepeatedFields) GetR

func (m *RepeatedFields) GetR() []int64

func (*RepeatedFields) GetS

func (m *RepeatedFields) GetS() []float32

func (*RepeatedFields) GetT

func (m *RepeatedFields) GetT() []float64

func (*RepeatedFields) GetU

func (m *RepeatedFields) GetU() [][]byte

func (*RepeatedFields) GetV

func (m *RepeatedFields) GetV() []string

func (*RepeatedFields) GetW

func (m *RepeatedFields) GetW() []bool

func (*RepeatedFields) GetX

func (m *RepeatedFields) GetX() []*UnaryFields

func (*RepeatedFields) GetZ

func (m *RepeatedFields) GetZ() []TestEnum

func (*RepeatedFields) ProtoMessage

func (*RepeatedFields) ProtoMessage()

func (*RepeatedFields) Reset

func (m *RepeatedFields) Reset()

func (*RepeatedFields) String

func (m *RepeatedFields) String() string

func (*RepeatedFields) XXX_DiscardUnknown

func (m *RepeatedFields) XXX_DiscardUnknown()

func (*RepeatedFields) XXX_Marshal

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

func (*RepeatedFields) XXX_Merge

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

func (*RepeatedFields) XXX_Size

func (m *RepeatedFields) XXX_Size() int

func (*RepeatedFields) XXX_Unmarshal

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

type RepeatedFields_GroupY

type RepeatedFields_GroupY struct {
	Ya                   *string  `protobuf:"bytes,171,opt,name=ya" json:"ya,omitempty"`
	Yb                   *int32   `protobuf:"varint,172,opt,name=yb" json:"yb,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RepeatedFields_GroupY) Descriptor

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

func (*RepeatedFields_GroupY) GetYa

func (m *RepeatedFields_GroupY) GetYa() string

func (*RepeatedFields_GroupY) GetYb

func (m *RepeatedFields_GroupY) GetYb() int32

func (*RepeatedFields_GroupY) ProtoMessage

func (*RepeatedFields_GroupY) ProtoMessage()

func (*RepeatedFields_GroupY) Reset

func (m *RepeatedFields_GroupY) Reset()

func (*RepeatedFields_GroupY) String

func (m *RepeatedFields_GroupY) String() string

func (*RepeatedFields_GroupY) XXX_DiscardUnknown

func (m *RepeatedFields_GroupY) XXX_DiscardUnknown()

func (*RepeatedFields_GroupY) XXX_Marshal

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

func (*RepeatedFields_GroupY) XXX_Merge

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

func (*RepeatedFields_GroupY) XXX_Size

func (m *RepeatedFields_GroupY) XXX_Size() int

func (*RepeatedFields_GroupY) XXX_Unmarshal

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

type RepeatedPackedFields

type RepeatedPackedFields struct {
	I                    []int32                        `protobuf:"varint,1,rep,packed,name=i" json:"i,omitempty"`
	J                    []int64                        `protobuf:"varint,2,rep,packed,name=j" json:"j,omitempty"`
	K                    []int32                        `protobuf:"zigzag32,3,rep,packed,name=k" json:"k,omitempty"`
	L                    []int64                        `protobuf:"zigzag64,4,rep,packed,name=l" json:"l,omitempty"`
	M                    []uint32                       `protobuf:"varint,5,rep,packed,name=m" json:"m,omitempty"`
	N                    []uint64                       `protobuf:"varint,6,rep,packed,name=n" json:"n,omitempty"`
	O                    []uint32                       `protobuf:"fixed32,7,rep,packed,name=o" json:"o,omitempty"`
	P                    []uint64                       `protobuf:"fixed64,8,rep,packed,name=p" json:"p,omitempty"`
	Q                    []int32                        `protobuf:"fixed32,9,rep,packed,name=q" json:"q,omitempty"`
	R                    []int64                        `protobuf:"fixed64,10,rep,packed,name=r" json:"r,omitempty"`
	S                    []float32                      `protobuf:"fixed32,11,rep,packed,name=s" json:"s,omitempty"`
	T                    []float64                      `protobuf:"fixed64,12,rep,packed,name=t" json:"t,omitempty"`
	U                    []bool                         `protobuf:"varint,13,rep,packed,name=u" json:"u,omitempty"`
	Groupy               []*RepeatedPackedFields_GroupY `protobuf:"group,14,rep,name=GroupY,json=groupy" json:"groupy,omitempty"`
	V                    []TestEnum                     `protobuf:"varint,15,rep,packed,name=v,enum=testprotos.TestEnum" json:"v,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

func (*RepeatedPackedFields) Descriptor

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

func (*RepeatedPackedFields) GetGroupy

func (*RepeatedPackedFields) GetI

func (m *RepeatedPackedFields) GetI() []int32

func (*RepeatedPackedFields) GetJ

func (m *RepeatedPackedFields) GetJ() []int64

func (*RepeatedPackedFields) GetK

func (m *RepeatedPackedFields) GetK() []int32

func (*RepeatedPackedFields) GetL

func (m *RepeatedPackedFields) GetL() []int64

func (*RepeatedPackedFields) GetM

func (m *RepeatedPackedFields) GetM() []uint32

func (*RepeatedPackedFields) GetN

func (m *RepeatedPackedFields) GetN() []uint64

func (*RepeatedPackedFields) GetO

func (m *RepeatedPackedFields) GetO() []uint32

func (*RepeatedPackedFields) GetP

func (m *RepeatedPackedFields) GetP() []uint64

func (*RepeatedPackedFields) GetQ

func (m *RepeatedPackedFields) GetQ() []int32

func (*RepeatedPackedFields) GetR

func (m *RepeatedPackedFields) GetR() []int64

func (*RepeatedPackedFields) GetS

func (m *RepeatedPackedFields) GetS() []float32

func (*RepeatedPackedFields) GetT

func (m *RepeatedPackedFields) GetT() []float64

func (*RepeatedPackedFields) GetU

func (m *RepeatedPackedFields) GetU() []bool

func (*RepeatedPackedFields) GetV

func (m *RepeatedPackedFields) GetV() []TestEnum

func (*RepeatedPackedFields) ProtoMessage

func (*RepeatedPackedFields) ProtoMessage()

func (*RepeatedPackedFields) Reset

func (m *RepeatedPackedFields) Reset()

func (*RepeatedPackedFields) String

func (m *RepeatedPackedFields) String() string

func (*RepeatedPackedFields) XXX_DiscardUnknown

func (m *RepeatedPackedFields) XXX_DiscardUnknown()

func (*RepeatedPackedFields) XXX_Marshal

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

func (*RepeatedPackedFields) XXX_Merge

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

func (*RepeatedPackedFields) XXX_Size

func (m *RepeatedPackedFields) XXX_Size() int

func (*RepeatedPackedFields) XXX_Unmarshal

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

type RepeatedPackedFields_GroupY

type RepeatedPackedFields_GroupY struct {
	Yb                   []int32  `protobuf:"varint,141,rep,packed,name=yb" json:"yb,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RepeatedPackedFields_GroupY) Descriptor

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

func (*RepeatedPackedFields_GroupY) GetYb

func (m *RepeatedPackedFields_GroupY) GetYb() []int32

func (*RepeatedPackedFields_GroupY) ProtoMessage

func (*RepeatedPackedFields_GroupY) ProtoMessage()

func (*RepeatedPackedFields_GroupY) Reset

func (m *RepeatedPackedFields_GroupY) Reset()

func (*RepeatedPackedFields_GroupY) String

func (m *RepeatedPackedFields_GroupY) String() string

func (*RepeatedPackedFields_GroupY) XXX_DiscardUnknown

func (m *RepeatedPackedFields_GroupY) XXX_DiscardUnknown()

func (*RepeatedPackedFields_GroupY) XXX_Marshal

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

func (*RepeatedPackedFields_GroupY) XXX_Merge

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

func (*RepeatedPackedFields_GroupY) XXX_Size

func (m *RepeatedPackedFields_GroupY) XXX_Size() int

func (*RepeatedPackedFields_GroupY) XXX_Unmarshal

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

type Request deprecated

type Request struct {
	// A field comment
	Ids []int32 `protobuf:"varint,1,rep,packed,name=ids,json=|foo|" json:"ids,omitempty"`
	// label comment
	Name   *string         `protobuf:"bytes,2,opt,name=name,def=fubar" json:"name,omitempty"`
	Extras *Request_Extras `protobuf:"group,3,opt,name=Extras,json=extras" json:"extras,omitempty"`
	// can be this or that
	//
	// Types that are valid to be assigned to Abc:
	//	*Request_This
	//	*Request_That
	Abc isRequest_Abc `protobuf_oneof:"abc"`
	// can be these or those
	//
	// Types that are valid to be assigned to Xyz:
	//	*Request_These
	//	*Request_Those
	Xyz isRequest_Xyz `protobuf_oneof:"xyz"`
	// map field
	Things                       map[string]string `` /* 132-byte string literal not displayed */
	XXX_NoUnkeyedLiteral         struct{}          `json:"-"`
	proto.XXX_InternalExtensions `json:"-"`
	XXX_unrecognized             []byte `json:"-"`
	XXX_sizecache                int32  `json:"-"`
}

We need a request for our RPC service below.

Deprecated: Do not use.

func (*Request) Descriptor

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

func (*Request) ExtensionRangeArray

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

func (*Request) GetAbc

func (m *Request) GetAbc() isRequest_Abc

func (*Request) GetExtras

func (m *Request) GetExtras() *Request_Extras

func (*Request) GetIds

func (m *Request) GetIds() []int32

func (*Request) GetName

func (m *Request) GetName() string

func (*Request) GetThat

func (m *Request) GetThat() int32

func (*Request) GetThese

func (m *Request) GetThese() string

func (*Request) GetThings

func (m *Request) GetThings() map[string]string

func (*Request) GetThis

func (m *Request) GetThis() string

func (*Request) GetThose

func (m *Request) GetThose() int32

func (*Request) GetXyz

func (m *Request) GetXyz() isRequest_Xyz

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) Reset

func (m *Request) Reset()

func (*Request) String

func (m *Request) String() string

func (*Request) XXX_DiscardUnknown

func (m *Request) XXX_DiscardUnknown()

func (*Request) XXX_Marshal

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

func (*Request) XXX_Merge

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

func (*Request) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*Request) XXX_Size

func (m *Request) XXX_Size() int

func (*Request) XXX_Unmarshal

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

type Request_Extras

type Request_Extras struct {
	Dbl *float64 `protobuf:"fixed64,1,opt,name=dbl" json:"dbl,omitempty"`
	Flt *float32 `protobuf:"fixed32,2,opt,name=flt" json:"flt,omitempty"`
	// Leading comment...
	Str                  *string  `protobuf:"bytes,3,opt,name=str" json:"str,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Group comment

func (*Request_Extras) Descriptor

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

func (*Request_Extras) GetDbl

func (m *Request_Extras) GetDbl() float64

func (*Request_Extras) GetFlt

func (m *Request_Extras) GetFlt() float32

func (*Request_Extras) GetStr

func (m *Request_Extras) GetStr() string

func (*Request_Extras) ProtoMessage

func (*Request_Extras) ProtoMessage()

func (*Request_Extras) Reset

func (m *Request_Extras) Reset()

func (*Request_Extras) String

func (m *Request_Extras) String() string

func (*Request_Extras) XXX_DiscardUnknown

func (m *Request_Extras) XXX_DiscardUnknown()

func (*Request_Extras) XXX_Marshal

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

func (*Request_Extras) XXX_Merge

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

func (*Request_Extras) XXX_Size

func (m *Request_Extras) XXX_Size() int

func (*Request_Extras) XXX_Unmarshal

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

type Request_MarioCharacters

type Request_MarioCharacters int32
const (
	Request_MARIO     Request_MarioCharacters = 1
	Request_LUIGI     Request_MarioCharacters = 2
	Request_PEACH     Request_MarioCharacters = 3
	Request_BOWSER    Request_MarioCharacters = 4
	Request_WARIO     Request_MarioCharacters = 5
	Request_WALUIGI   Request_MarioCharacters = 6
	Request_SHY_GUY   Request_MarioCharacters = 7
	Request_HEY_HO    Request_MarioCharacters = 7
	Request_MAGIKOOPA Request_MarioCharacters = 8
	Request_KAMEK     Request_MarioCharacters = 8
	Request_SNIFIT    Request_MarioCharacters = -101
)

func (Request_MarioCharacters) Enum

func (Request_MarioCharacters) EnumDescriptor

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

func (Request_MarioCharacters) String

func (x Request_MarioCharacters) String() string

func (*Request_MarioCharacters) UnmarshalJSON

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

type Request_That

type Request_That struct {
	That int32 `protobuf:"varint,5,opt,name=that,oneof"`
}

type Request_These

type Request_These struct {
	These string `protobuf:"bytes,6,opt,name=these,oneof"`
}

type Request_This

type Request_This struct {
	This string `protobuf:"bytes,4,opt,name=this,oneof"`
}

type Request_Those

type Request_Those struct {
	Those int32 `protobuf:"varint,7,opt,name=those,oneof"`
}

type RpcServiceClient

type RpcServiceClient interface {
	// Method comment
	StreamingRpc(ctx context.Context, opts ...grpc.CallOption) (RpcService_StreamingRpcClient, error)
	UnaryRpc(ctx context.Context, in *Request, opts ...grpc.CallOption) (*empty.Empty, error)
}

RpcServiceClient is the client API for RpcService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewRpcServiceClient

func NewRpcServiceClient(cc *grpc.ClientConn) RpcServiceClient

type RpcServiceServer

type RpcServiceServer interface {
	// Method comment
	StreamingRpc(RpcService_StreamingRpcServer) error
	UnaryRpc(context.Context, *Request) (*empty.Empty, error)
}

RpcServiceServer is the server API for RpcService service.

type RpcService_StreamingRpcClient

type RpcService_StreamingRpcClient interface {
	Send(*Request) error
	CloseAndRecv() (*Request, error)
	grpc.ClientStream
}

type RpcService_StreamingRpcServer

type RpcService_StreamingRpcServer interface {
	SendAndClose(*Request) error
	Recv() (*Request, error)
	grpc.ServerStream
}

type Rule

type Rule struct {
	// Types that are valid to be assigned to Rule:
	//	*Rule_String_
	//	*Rule_Repeated
	//	*Rule_Int
	//	*Rule_Floatrule
	Rule                 isRule_Rule `protobuf_oneof:"rule"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*Rule) Descriptor

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

func (*Rule) GetFloatrule

func (m *Rule) GetFloatrule() *Rule_FloatRule

func (*Rule) GetInt

func (m *Rule) GetInt() *Rule_IntRule

func (*Rule) GetRepeated

func (m *Rule) GetRepeated() *Rule_RepeatedRule

func (*Rule) GetRule

func (m *Rule) GetRule() isRule_Rule

func (*Rule) GetString_

func (m *Rule) GetString_() *Rule_StringRule

func (*Rule) ProtoMessage

func (*Rule) ProtoMessage()

func (*Rule) Reset

func (m *Rule) Reset()

func (*Rule) String

func (m *Rule) String() string

func (*Rule) XXX_DiscardUnknown

func (m *Rule) XXX_DiscardUnknown()

func (*Rule) XXX_Marshal

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

func (*Rule) XXX_Merge

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

func (*Rule) XXX_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*Rule) XXX_Size

func (m *Rule) XXX_Size() int

func (*Rule) XXX_Unmarshal

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

type Rule_FloatRule

type Rule_FloatRule struct {
	MinVal               *float64 `protobuf:"fixed64,1,opt,name=min_val,json=minVal" json:"min_val,omitempty"`
	MaxVal               *float64 `protobuf:"fixed64,2,opt,name=max_val,json=maxVal" json:"max_val,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Rule_FloatRule) Descriptor

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

func (*Rule_FloatRule) GetMaxVal

func (m *Rule_FloatRule) GetMaxVal() float64

func (*Rule_FloatRule) GetMinVal

func (m *Rule_FloatRule) GetMinVal() float64

func (*Rule_FloatRule) ProtoMessage

func (*Rule_FloatRule) ProtoMessage()

func (*Rule_FloatRule) Reset

func (m *Rule_FloatRule) Reset()

func (*Rule_FloatRule) String

func (m *Rule_FloatRule) String() string

func (*Rule_FloatRule) XXX_DiscardUnknown

func (m *Rule_FloatRule) XXX_DiscardUnknown()

func (*Rule_FloatRule) XXX_Marshal

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

func (*Rule_FloatRule) XXX_Merge

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

func (*Rule_FloatRule) XXX_Size

func (m *Rule_FloatRule) XXX_Size() int

func (*Rule_FloatRule) XXX_Unmarshal

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

type Rule_Floatrule

type Rule_Floatrule struct {
	Floatrule *Rule_FloatRule `protobuf:"group,4,opt,name=FloatRule,json=floatrule,oneof"`
}

type Rule_Int

type Rule_Int struct {
	Int *Rule_IntRule `protobuf:"bytes,3,opt,name=int,oneof"`
}

type Rule_IntRule

type Rule_IntRule struct {
	MinVal               *int64   `protobuf:"varint,1,opt,name=min_val,json=minVal" json:"min_val,omitempty"`
	MaxVal               *uint64  `protobuf:"varint,2,opt,name=max_val,json=maxVal" json:"max_val,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Rule_IntRule) Descriptor

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

func (*Rule_IntRule) GetMaxVal

func (m *Rule_IntRule) GetMaxVal() uint64

func (*Rule_IntRule) GetMinVal

func (m *Rule_IntRule) GetMinVal() int64

func (*Rule_IntRule) ProtoMessage

func (*Rule_IntRule) ProtoMessage()

func (*Rule_IntRule) Reset

func (m *Rule_IntRule) Reset()

func (*Rule_IntRule) String

func (m *Rule_IntRule) String() string

func (*Rule_IntRule) XXX_DiscardUnknown

func (m *Rule_IntRule) XXX_DiscardUnknown()

func (*Rule_IntRule) XXX_Marshal

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

func (*Rule_IntRule) XXX_Merge

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

func (*Rule_IntRule) XXX_Size

func (m *Rule_IntRule) XXX_Size() int

func (*Rule_IntRule) XXX_Unmarshal

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

type Rule_Repeated

type Rule_Repeated struct {
	Repeated *Rule_RepeatedRule `protobuf:"bytes,2,opt,name=repeated,oneof"`
}

type Rule_RepeatedRule

type Rule_RepeatedRule struct {
	AllowEmpty           *bool    `protobuf:"varint,1,opt,name=allow_empty,json=allowEmpty" json:"allow_empty,omitempty"`
	MinItems             *int32   `protobuf:"varint,2,opt,name=min_items,json=minItems" json:"min_items,omitempty"`
	MaxItems             *int32   `protobuf:"varint,3,opt,name=max_items,json=maxItems" json:"max_items,omitempty"`
	Items                *Rule    `protobuf:"bytes,4,opt,name=items" json:"items,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Rule_RepeatedRule) Descriptor

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

func (*Rule_RepeatedRule) GetAllowEmpty

func (m *Rule_RepeatedRule) GetAllowEmpty() bool

func (*Rule_RepeatedRule) GetItems

func (m *Rule_RepeatedRule) GetItems() *Rule

func (*Rule_RepeatedRule) GetMaxItems

func (m *Rule_RepeatedRule) GetMaxItems() int32

func (*Rule_RepeatedRule) GetMinItems

func (m *Rule_RepeatedRule) GetMinItems() int32

func (*Rule_RepeatedRule) ProtoMessage

func (*Rule_RepeatedRule) ProtoMessage()

func (*Rule_RepeatedRule) Reset

func (m *Rule_RepeatedRule) Reset()

func (*Rule_RepeatedRule) String

func (m *Rule_RepeatedRule) String() string

func (*Rule_RepeatedRule) XXX_DiscardUnknown

func (m *Rule_RepeatedRule) XXX_DiscardUnknown()

func (*Rule_RepeatedRule) XXX_Marshal

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

func (*Rule_RepeatedRule) XXX_Merge

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

func (*Rule_RepeatedRule) XXX_Size

func (m *Rule_RepeatedRule) XXX_Size() int

func (*Rule_RepeatedRule) XXX_Unmarshal

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

type Rule_StringRule

type Rule_StringRule struct {
	Pattern              *string  `protobuf:"bytes,1,opt,name=pattern" json:"pattern,omitempty"`
	AllowEmpty           *bool    `protobuf:"varint,2,opt,name=allow_empty,json=allowEmpty" json:"allow_empty,omitempty"`
	MinLen               *int32   `protobuf:"varint,3,opt,name=min_len,json=minLen" json:"min_len,omitempty"`
	MaxLen               *int32   `protobuf:"varint,4,opt,name=max_len,json=maxLen" json:"max_len,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Rule_StringRule) Descriptor

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

func (*Rule_StringRule) GetAllowEmpty

func (m *Rule_StringRule) GetAllowEmpty() bool

func (*Rule_StringRule) GetMaxLen

func (m *Rule_StringRule) GetMaxLen() int32

func (*Rule_StringRule) GetMinLen

func (m *Rule_StringRule) GetMinLen() int32

func (*Rule_StringRule) GetPattern

func (m *Rule_StringRule) GetPattern() string

func (*Rule_StringRule) ProtoMessage

func (*Rule_StringRule) ProtoMessage()

func (*Rule_StringRule) Reset

func (m *Rule_StringRule) Reset()

func (*Rule_StringRule) String

func (m *Rule_StringRule) String() string

func (*Rule_StringRule) XXX_DiscardUnknown

func (m *Rule_StringRule) XXX_DiscardUnknown()

func (*Rule_StringRule) XXX_Marshal

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

func (*Rule_StringRule) XXX_Merge

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

func (*Rule_StringRule) XXX_Size

func (m *Rule_StringRule) XXX_Size() int

func (*Rule_StringRule) XXX_Unmarshal

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

type Rule_String_

type Rule_String_ struct {
	String_ *Rule_StringRule `protobuf:"bytes,1,opt,name=string,oneof"`
}

type Simple

type Simple struct {
	Name                 *string  `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Id                   *uint64  `protobuf:"varint,2,opt,name=id" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Simple) Descriptor

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

func (*Simple) GetId

func (m *Simple) GetId() uint64

func (*Simple) GetName

func (m *Simple) GetName() string

func (*Simple) ProtoMessage

func (*Simple) ProtoMessage()

func (*Simple) Reset

func (m *Simple) Reset()

func (*Simple) String

func (m *Simple) String() string

func (*Simple) XXX_DiscardUnknown

func (m *Simple) XXX_DiscardUnknown()

func (*Simple) XXX_Marshal

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

func (*Simple) XXX_Merge

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

func (*Simple) XXX_Size

func (m *Simple) XXX_Size() int

func (*Simple) XXX_Unmarshal

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

type StringAndBytesDefaults

type StringAndBytesDefaults struct {
	Dq                   *string  `protobuf:"bytes,1,opt,name=dq,def=this is a string with \"nested quotes\"" json:"dq,omitempty"`
	Sq                   *string  `protobuf:"bytes,2,opt,name=sq,def=this is a string with \"nested quotes\"" json:"sq,omitempty"`
	EscapedBytes         []byte   `` /* 150-byte string literal not displayed */
	Utf8String           *string  `protobuf:"bytes,4,opt,name=utf8_string,json=utf8String,def=ሴ" json:"utf8_string,omitempty"`
	StringWithZero       *string  `protobuf:"bytes,5,opt,name=string_with_zero,json=stringWithZero,def=hel\x00lo" json:"string_with_zero,omitempty"`
	BytesWithZero        []byte   `protobuf:"bytes,6,opt,name=bytes_with_zero,json=bytesWithZero,def=wor\\000ld" json:"bytes_with_zero,omitempty"`
	ReallyLongString     *string  `` /* 245-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StringAndBytesDefaults) Descriptor

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

func (*StringAndBytesDefaults) GetBytesWithZero

func (m *StringAndBytesDefaults) GetBytesWithZero() []byte

func (*StringAndBytesDefaults) GetDq

func (m *StringAndBytesDefaults) GetDq() string

func (*StringAndBytesDefaults) GetEscapedBytes

func (m *StringAndBytesDefaults) GetEscapedBytes() []byte

func (*StringAndBytesDefaults) GetReallyLongString

func (m *StringAndBytesDefaults) GetReallyLongString() string

func (*StringAndBytesDefaults) GetSq

func (m *StringAndBytesDefaults) GetSq() string

func (*StringAndBytesDefaults) GetStringWithZero

func (m *StringAndBytesDefaults) GetStringWithZero() string

func (*StringAndBytesDefaults) GetUtf8String

func (m *StringAndBytesDefaults) GetUtf8String() string

func (*StringAndBytesDefaults) ProtoMessage

func (*StringAndBytesDefaults) ProtoMessage()

func (*StringAndBytesDefaults) Reset

func (m *StringAndBytesDefaults) Reset()

func (*StringAndBytesDefaults) String

func (m *StringAndBytesDefaults) String() string

func (*StringAndBytesDefaults) XXX_DiscardUnknown

func (m *StringAndBytesDefaults) XXX_DiscardUnknown()

func (*StringAndBytesDefaults) XXX_Marshal

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

func (*StringAndBytesDefaults) XXX_Merge

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

func (*StringAndBytesDefaults) XXX_Size

func (m *StringAndBytesDefaults) XXX_Size() int

func (*StringAndBytesDefaults) XXX_Unmarshal

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

type Test

type Test struct {
	Foo                          *string          `protobuf:"bytes,1,opt,name=foo,json=|foo|" json:"foo,omitempty"`
	Array                        []int32          `protobuf:"varint,2,rep,name=array" json:"array,omitempty"`
	S                            *Simple          `protobuf:"bytes,3,opt,name=s" json:"s,omitempty"`
	R                            []*Simple        `protobuf:"bytes,4,rep,name=r" json:"r,omitempty"`
	M                            map[string]int32 `protobuf:"bytes,5,rep,name=m" json:"m,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
	B                            []byte           `protobuf:"bytes,6,opt,name=b,def=\\000\\001\\002\\003\\004\\005\\006\\007fubar!" json:"b,omitempty"`
	XXX_NoUnkeyedLiteral         struct{}         `json:"-"`
	proto.XXX_InternalExtensions `json:"-"`
	XXX_unrecognized             []byte `json:"-"`
	XXX_sizecache                int32  `json:"-"`
}

func (*Test) Descriptor

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

func (*Test) ExtensionRangeArray

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

func (*Test) GetArray

func (m *Test) GetArray() []int32

func (*Test) GetB

func (m *Test) GetB() []byte

func (*Test) GetFoo

func (m *Test) GetFoo() string

func (*Test) GetM

func (m *Test) GetM() map[string]int32

func (*Test) GetR

func (m *Test) GetR() []*Simple

func (*Test) GetS

func (m *Test) GetS() *Simple

func (*Test) ProtoMessage

func (*Test) ProtoMessage()

func (*Test) Reset

func (m *Test) Reset()

func (*Test) String

func (m *Test) String() string

func (*Test) XXX_DiscardUnknown

func (m *Test) XXX_DiscardUnknown()

func (*Test) XXX_Marshal

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

func (*Test) XXX_Merge

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

func (*Test) XXX_Size

func (m *Test) XXX_Size() int

func (*Test) XXX_Unmarshal

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

type TestEnum

type TestEnum int32
const (
	TestEnum_INVALID TestEnum = 0
	TestEnum_FIRST   TestEnum = 1
	TestEnum_SECOND  TestEnum = 2
	TestEnum_THIRD   TestEnum = 3
)

func (TestEnum) Enum

func (x TestEnum) Enum() *TestEnum

func (TestEnum) EnumDescriptor

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

func (TestEnum) String

func (x TestEnum) String() string

func (*TestEnum) UnmarshalJSON

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

type TestMessage

type TestMessage struct {
	// Comment for nm
	Nm *TestMessage_NestedMessage `protobuf:"bytes,1,opt,name=nm" json:"nm,omitempty"`
	// Comment for anm
	Anm *TestMessage_NestedMessage_AnotherNestedMessage `protobuf:"bytes,2,opt,name=anm" json:"anm,omitempty"`
	// Comment for yanm
	Yanm *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage `protobuf:"bytes,3,opt,name=yanm" json:"yanm,omitempty"`
	// Comment for ne
	Ne                   []TestMessage_NestedEnum `protobuf:"varint,4,rep,name=ne,enum=testprotos.TestMessage_NestedEnum" json:"ne,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

Comment for TestMessage

func (*TestMessage) Descriptor

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

func (*TestMessage) GetAnm

func (*TestMessage) GetNe

func (m *TestMessage) GetNe() []TestMessage_NestedEnum

func (*TestMessage) GetNm

func (*TestMessage) ProtoMessage

func (*TestMessage) ProtoMessage()

func (*TestMessage) Reset

func (m *TestMessage) Reset()

func (*TestMessage) String

func (m *TestMessage) String() string

func (*TestMessage) XXX_DiscardUnknown

func (m *TestMessage) XXX_DiscardUnknown()

func (*TestMessage) XXX_Marshal

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

func (*TestMessage) XXX_Merge

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

func (*TestMessage) XXX_Size

func (m *TestMessage) XXX_Size() int

func (*TestMessage) XXX_Unmarshal

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

type TestMessage_NestedEnum

type TestMessage_NestedEnum int32

Comment for NestedEnum

const (
	// Comment for VALUE1
	TestMessage_VALUE1 TestMessage_NestedEnum = 1
	// Comment for VALUE2
	TestMessage_VALUE2 TestMessage_NestedEnum = 2
)
const Default_Frobnitz_E TestMessage_NestedEnum = TestMessage_VALUE2

func (TestMessage_NestedEnum) Enum

func (TestMessage_NestedEnum) EnumDescriptor

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

func (TestMessage_NestedEnum) String

func (x TestMessage_NestedEnum) String() string

func (*TestMessage_NestedEnum) UnmarshalJSON

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

type TestMessage_NestedMessage

type TestMessage_NestedMessage struct {
	// Comment for anm
	Anm *TestMessage_NestedMessage_AnotherNestedMessage `protobuf:"bytes,1,opt,name=anm" json:"anm,omitempty"`
	// Comment for yanm
	Yanm                 *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage `protobuf:"bytes,2,opt,name=yanm" json:"yanm,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                                                `json:"-"`
	XXX_unrecognized     []byte                                                                  `json:"-"`
	XXX_sizecache        int32                                                                   `json:"-"`
}

Comment for NestedMessage

func (*TestMessage_NestedMessage) Descriptor

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

func (*TestMessage_NestedMessage) GetAnm

func (*TestMessage_NestedMessage) ProtoMessage

func (*TestMessage_NestedMessage) ProtoMessage()

func (*TestMessage_NestedMessage) Reset

func (m *TestMessage_NestedMessage) Reset()

func (*TestMessage_NestedMessage) String

func (m *TestMessage_NestedMessage) String() string

func (*TestMessage_NestedMessage) XXX_DiscardUnknown

func (m *TestMessage_NestedMessage) XXX_DiscardUnknown()

func (*TestMessage_NestedMessage) XXX_Marshal

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

func (*TestMessage_NestedMessage) XXX_Merge

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

func (*TestMessage_NestedMessage) XXX_Size

func (m *TestMessage_NestedMessage) XXX_Size() int

func (*TestMessage_NestedMessage) XXX_Unmarshal

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

type TestMessage_NestedMessage_AnotherNestedMessage

type TestMessage_NestedMessage_AnotherNestedMessage struct {
	// Comment for yanm
	Yanm                 []*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage `protobuf:"bytes,1,rep,name=yanm" json:"yanm,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                                                  `json:"-"`
	XXX_unrecognized     []byte                                                                    `json:"-"`
	XXX_sizecache        int32                                                                     `json:"-"`
}

Comment for AnotherNestedMessage

func (*TestMessage_NestedMessage_AnotherNestedMessage) Descriptor

func (*TestMessage_NestedMessage_AnotherNestedMessage) ProtoMessage

func (*TestMessage_NestedMessage_AnotherNestedMessage) Reset

func (*TestMessage_NestedMessage_AnotherNestedMessage) String

func (*TestMessage_NestedMessage_AnotherNestedMessage) XXX_DiscardUnknown

func (m *TestMessage_NestedMessage_AnotherNestedMessage) XXX_DiscardUnknown()

func (*TestMessage_NestedMessage_AnotherNestedMessage) XXX_Marshal

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

func (*TestMessage_NestedMessage_AnotherNestedMessage) XXX_Merge

func (*TestMessage_NestedMessage_AnotherNestedMessage) XXX_Size

func (*TestMessage_NestedMessage_AnotherNestedMessage) XXX_Unmarshal

type TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage

type TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage struct {
	// Comment for foo
	Foo *string `protobuf:"bytes,1,opt,name=foo" json:"foo,omitempty"`
	// Comment for bar
	Bar *int32 `protobuf:"varint,2,opt,name=bar" json:"bar,omitempty"`
	// Comment for baz
	Baz []byte `protobuf:"bytes,3,opt,name=baz" json:"baz,omitempty"`
	// Comment for dne
	Dne *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum `` /* 157-byte string literal not displayed */
	// Comment for anm
	Anm *TestMessage_NestedMessage_AnotherNestedMessage `protobuf:"bytes,5,opt,name=anm" json:"anm,omitempty"`
	// Comment for nm
	Nm *TestMessage_NestedMessage `protobuf:"bytes,6,opt,name=nm" json:"nm,omitempty"`
	// Comment for tm
	Tm                   *TestMessage `protobuf:"bytes,7,opt,name=tm" json:"tm,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

Comment for YetAnotherNestedMessage

func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) Descriptor

func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) GetAnm

func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) GetBar

func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) GetBaz

func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) GetFoo

func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) GetNm

func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) GetTm

func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) ProtoMessage

func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) Reset

func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) String

func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) XXX_DiscardUnknown

func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) XXX_Marshal

func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) XXX_Merge

func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) XXX_Size

func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) XXX_Unmarshal

type TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum

type TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum int32

Comment for DeeplyNestedEnum

const (
	// Comment for VALUE1
	TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_VALUE1 TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum = 1
	// Comment for VALUE2
	TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_VALUE2 TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum = 2
)

func (TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum) EnumDescriptor

func (TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum) String

func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum) UnmarshalJSON

type TestRequest

type TestRequest struct {
	Foo                  []Proto3Enum                                    `protobuf:"varint,1,rep,packed,name=foo,proto3,enum=testprotos.Proto3Enum" json:"foo,omitempty"`
	Bar                  string                                          `protobuf:"bytes,2,opt,name=bar,proto3" json:"bar,omitempty"`
	Baz                  *TestMessage                                    `protobuf:"bytes,3,opt,name=baz,proto3" json:"baz,omitempty"`
	Snafu                *TestMessage_NestedMessage_AnotherNestedMessage `protobuf:"bytes,4,opt,name=snafu,proto3" json:"snafu,omitempty"`
	Flags                map[string]bool                                 `` /* 152-byte string literal not displayed */
	Others               map[string]*TestMessage                         `` /* 153-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                                        `json:"-"`
	XXX_unrecognized     []byte                                          `json:"-"`
	XXX_sizecache        int32                                           `json:"-"`
}

func (*TestRequest) Descriptor

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

func (*TestRequest) GetBar

func (m *TestRequest) GetBar() string

func (*TestRequest) GetBaz

func (m *TestRequest) GetBaz() *TestMessage

func (*TestRequest) GetFlags

func (m *TestRequest) GetFlags() map[string]bool

func (*TestRequest) GetFoo

func (m *TestRequest) GetFoo() []Proto3Enum

func (*TestRequest) GetOthers

func (m *TestRequest) GetOthers() map[string]*TestMessage

func (*TestRequest) GetSnafu

func (*TestRequest) ProtoMessage

func (*TestRequest) ProtoMessage()

func (*TestRequest) Reset

func (m *TestRequest) Reset()

func (*TestRequest) String

func (m *TestRequest) String() string

func (*TestRequest) XXX_DiscardUnknown

func (m *TestRequest) XXX_DiscardUnknown()

func (*TestRequest) XXX_Marshal

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

func (*TestRequest) XXX_Merge

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

func (*TestRequest) XXX_Size

func (m *TestRequest) XXX_Size() int

func (*TestRequest) XXX_Unmarshal

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

type TestResponse

type TestResponse struct {
	Atm                  *AnotherTestMessage `protobuf:"bytes,1,opt,name=atm,proto3" json:"atm,omitempty"`
	Vs                   []int32             `protobuf:"varint,2,rep,packed,name=vs,proto3" json:"vs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*TestResponse) Descriptor

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

func (*TestResponse) GetAtm

func (m *TestResponse) GetAtm() *AnotherTestMessage

func (*TestResponse) GetVs

func (m *TestResponse) GetVs() []int32

func (*TestResponse) ProtoMessage

func (*TestResponse) ProtoMessage()

func (*TestResponse) Reset

func (m *TestResponse) Reset()

func (*TestResponse) String

func (m *TestResponse) String() string

func (*TestResponse) XXX_DiscardUnknown

func (m *TestResponse) XXX_DiscardUnknown()

func (*TestResponse) XXX_Marshal

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

func (*TestResponse) XXX_Merge

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

func (*TestResponse) XXX_Size

func (m *TestResponse) XXX_Size() int

func (*TestResponse) XXX_Unmarshal

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

type TestServiceClient

type TestServiceClient interface {
	DoSomething(ctx context.Context, in *TestRequest, opts ...grpc.CallOption) (*pkg.Bar, error)
	DoSomethingElse(ctx context.Context, opts ...grpc.CallOption) (TestService_DoSomethingElseClient, error)
	DoSomethingAgain(ctx context.Context, in *pkg.Bar, opts ...grpc.CallOption) (TestService_DoSomethingAgainClient, error)
	DoSomethingForever(ctx context.Context, opts ...grpc.CallOption) (TestService_DoSomethingForeverClient, error)
}

TestServiceClient is the client API for TestService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewTestServiceClient

func NewTestServiceClient(cc *grpc.ClientConn) TestServiceClient

type TestServiceServer

type TestServiceServer interface {
	DoSomething(context.Context, *TestRequest) (*pkg.Bar, error)
	DoSomethingElse(TestService_DoSomethingElseServer) error
	DoSomethingAgain(*pkg.Bar, TestService_DoSomethingAgainServer) error
	DoSomethingForever(TestService_DoSomethingForeverServer) error
}

TestServiceServer is the server API for TestService service.

type TestService_DoSomethingAgainClient

type TestService_DoSomethingAgainClient interface {
	Recv() (*AnotherTestMessage, error)
	grpc.ClientStream
}

type TestService_DoSomethingAgainServer

type TestService_DoSomethingAgainServer interface {
	Send(*AnotherTestMessage) error
	grpc.ServerStream
}

type TestService_DoSomethingElseClient

type TestService_DoSomethingElseClient interface {
	Send(*TestMessage) error
	CloseAndRecv() (*TestResponse, error)
	grpc.ClientStream
}

type TestService_DoSomethingElseServer

type TestService_DoSomethingElseServer interface {
	SendAndClose(*TestResponse) error
	Recv() (*TestMessage, error)
	grpc.ServerStream
}

type TestService_DoSomethingForeverClient

type TestService_DoSomethingForeverClient interface {
	Send(*TestRequest) error
	Recv() (*TestResponse, error)
	grpc.ClientStream
}

type TestService_DoSomethingForeverServer

type TestService_DoSomethingForeverServer interface {
	Send(*TestResponse) error
	Recv() (*TestRequest, error)
	grpc.ServerStream
}

type TestTestServiceClient

type TestTestServiceClient interface {
	UserAuth(ctx context.Context, in *Test, opts ...grpc.CallOption) (*Test, error)
	Get(ctx context.Context, in *Test, opts ...grpc.CallOption) (*Test, error)
}

TestTestServiceClient is the client API for TestTestService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewTestTestServiceClient

func NewTestTestServiceClient(cc *grpc.ClientConn) TestTestServiceClient

type TestTestServiceServer

type TestTestServiceServer interface {
	UserAuth(context.Context, *Test) (*Test, error)
	Get(context.Context, *Test) (*Test, error)
}

TestTestServiceServer is the server API for TestTestService service.

type TestWellKnownTypes

type TestWellKnownTypes struct {
	StartTime            *timestamp.Timestamp  `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	Elapsed              *duration.Duration    `protobuf:"bytes,2,opt,name=elapsed,proto3" json:"elapsed,omitempty"`
	Dbl                  *wrappers.DoubleValue `protobuf:"bytes,3,opt,name=dbl,proto3" json:"dbl,omitempty"`
	Flt                  *wrappers.FloatValue  `protobuf:"bytes,4,opt,name=flt,proto3" json:"flt,omitempty"`
	Bl                   *wrappers.BoolValue   `protobuf:"bytes,5,opt,name=bl,proto3" json:"bl,omitempty"`
	I32                  *wrappers.Int32Value  `protobuf:"bytes,6,opt,name=i32,proto3" json:"i32,omitempty"`
	I64                  *wrappers.Int64Value  `protobuf:"bytes,7,opt,name=i64,proto3" json:"i64,omitempty"`
	U32                  *wrappers.UInt32Value `protobuf:"bytes,8,opt,name=u32,proto3" json:"u32,omitempty"`
	U64                  *wrappers.UInt64Value `protobuf:"bytes,9,opt,name=u64,proto3" json:"u64,omitempty"`
	Str                  *wrappers.StringValue `protobuf:"bytes,10,opt,name=str,proto3" json:"str,omitempty"`
	Byt                  *wrappers.BytesValue  `protobuf:"bytes,11,opt,name=byt,proto3" json:"byt,omitempty"`
	Json                 []*_struct.Value      `protobuf:"bytes,12,rep,name=json,proto3" json:"json,omitempty"`
	Extras               []*any.Any            `protobuf:"bytes,13,rep,name=extras,proto3" json:"extras,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*TestWellKnownTypes) Descriptor

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

func (*TestWellKnownTypes) GetBl

func (*TestWellKnownTypes) GetByt

func (m *TestWellKnownTypes) GetByt() *wrappers.BytesValue

func (*TestWellKnownTypes) GetDbl

func (*TestWellKnownTypes) GetElapsed

func (m *TestWellKnownTypes) GetElapsed() *duration.Duration

func (*TestWellKnownTypes) GetExtras

func (m *TestWellKnownTypes) GetExtras() []*any.Any

func (*TestWellKnownTypes) GetFlt

func (m *TestWellKnownTypes) GetFlt() *wrappers.FloatValue

func (*TestWellKnownTypes) GetI32

func (m *TestWellKnownTypes) GetI32() *wrappers.Int32Value

func (*TestWellKnownTypes) GetI64

func (m *TestWellKnownTypes) GetI64() *wrappers.Int64Value

func (*TestWellKnownTypes) GetJson

func (m *TestWellKnownTypes) GetJson() []*_struct.Value

func (*TestWellKnownTypes) GetStartTime

func (m *TestWellKnownTypes) GetStartTime() *timestamp.Timestamp

func (*TestWellKnownTypes) GetStr

func (*TestWellKnownTypes) GetU32

func (*TestWellKnownTypes) GetU64

func (*TestWellKnownTypes) ProtoMessage

func (*TestWellKnownTypes) ProtoMessage()

func (*TestWellKnownTypes) Reset

func (m *TestWellKnownTypes) Reset()

func (*TestWellKnownTypes) String

func (m *TestWellKnownTypes) String() string

func (*TestWellKnownTypes) XXX_DiscardUnknown

func (m *TestWellKnownTypes) XXX_DiscardUnknown()

func (*TestWellKnownTypes) XXX_Marshal

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

func (*TestWellKnownTypes) XXX_Merge

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

func (*TestWellKnownTypes) XXX_Size

func (m *TestWellKnownTypes) XXX_Size() int

func (*TestWellKnownTypes) XXX_Unmarshal

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

type Test_Nested

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

func (*Test_Nested) Descriptor

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

func (*Test_Nested) ProtoMessage

func (*Test_Nested) ProtoMessage()

func (*Test_Nested) Reset

func (m *Test_Nested) Reset()

func (*Test_Nested) String

func (m *Test_Nested) String() string

func (*Test_Nested) XXX_DiscardUnknown

func (m *Test_Nested) XXX_DiscardUnknown()

func (*Test_Nested) XXX_Marshal

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

func (*Test_Nested) XXX_Merge

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

func (*Test_Nested) XXX_Size

func (m *Test_Nested) XXX_Size() int

func (*Test_Nested) XXX_Unmarshal

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

type Test_Nested__NestedNested

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

func (*Test_Nested__NestedNested) Descriptor

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

func (*Test_Nested__NestedNested) ProtoMessage

func (*Test_Nested__NestedNested) ProtoMessage()

func (*Test_Nested__NestedNested) Reset

func (m *Test_Nested__NestedNested) Reset()

func (*Test_Nested__NestedNested) String

func (m *Test_Nested__NestedNested) String() string

func (*Test_Nested__NestedNested) XXX_DiscardUnknown

func (m *Test_Nested__NestedNested) XXX_DiscardUnknown()

func (*Test_Nested__NestedNested) XXX_Marshal

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

func (*Test_Nested__NestedNested) XXX_Merge

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

func (*Test_Nested__NestedNested) XXX_Size

func (m *Test_Nested__NestedNested) XXX_Size() int

func (*Test_Nested__NestedNested) XXX_Unmarshal

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

type Test_Nested__NestedNested_EEE

type Test_Nested__NestedNested_EEE int32
const (
	Test_Nested__NestedNested_OK Test_Nested__NestedNested_EEE = 0
	Test_Nested__NestedNested_V1 Test_Nested__NestedNested_EEE = 1
	Test_Nested__NestedNested_V2 Test_Nested__NestedNested_EEE = 2
	Test_Nested__NestedNested_V3 Test_Nested__NestedNested_EEE = 3
	Test_Nested__NestedNested_V4 Test_Nested__NestedNested_EEE = 4
	Test_Nested__NestedNested_V5 Test_Nested__NestedNested_EEE = 5
	Test_Nested__NestedNested_V6 Test_Nested__NestedNested_EEE = 6
)

func (Test_Nested__NestedNested_EEE) Enum

func (Test_Nested__NestedNested_EEE) EnumDescriptor

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

func (Test_Nested__NestedNested_EEE) String

func (*Test_Nested__NestedNested_EEE) UnmarshalJSON

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

type Test_Nested__NestedNested_NestedNestedNested

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

func (*Test_Nested__NestedNested_NestedNestedNested) Descriptor

func (*Test_Nested__NestedNested_NestedNestedNested) GetTest

func (*Test_Nested__NestedNested_NestedNestedNested) ProtoMessage

func (*Test_Nested__NestedNested_NestedNestedNested) Reset

func (*Test_Nested__NestedNested_NestedNestedNested) String

func (*Test_Nested__NestedNested_NestedNestedNested) XXX_DiscardUnknown

func (m *Test_Nested__NestedNested_NestedNestedNested) XXX_DiscardUnknown()

func (*Test_Nested__NestedNested_NestedNestedNested) XXX_Marshal

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

func (*Test_Nested__NestedNested_NestedNestedNested) XXX_Merge

func (*Test_Nested__NestedNested_NestedNestedNested) XXX_Size

func (*Test_Nested__NestedNested_NestedNestedNested) XXX_Unmarshal

type UnaryFields

type UnaryFields struct {
	I                    *int32              `protobuf:"varint,1,opt,name=i" json:"i,omitempty"`
	J                    *int64              `protobuf:"varint,2,opt,name=j" json:"j,omitempty"`
	K                    *int32              `protobuf:"zigzag32,3,opt,name=k" json:"k,omitempty"`
	L                    *int64              `protobuf:"zigzag64,4,opt,name=l" json:"l,omitempty"`
	M                    *uint32             `protobuf:"varint,5,opt,name=m" json:"m,omitempty"`
	N                    *uint64             `protobuf:"varint,6,opt,name=n" json:"n,omitempty"`
	O                    *uint32             `protobuf:"fixed32,7,opt,name=o" json:"o,omitempty"`
	P                    *uint64             `protobuf:"fixed64,8,opt,name=p" json:"p,omitempty"`
	Q                    *int32              `protobuf:"fixed32,9,opt,name=q" json:"q,omitempty"`
	R                    *int64              `protobuf:"fixed64,10,opt,name=r" json:"r,omitempty"`
	S                    *float32            `protobuf:"fixed32,11,opt,name=s" json:"s,omitempty"`
	T                    *float64            `protobuf:"fixed64,12,opt,name=t" json:"t,omitempty"`
	U                    []byte              `protobuf:"bytes,13,opt,name=u" json:"u,omitempty"`
	V                    *string             `protobuf:"bytes,14,opt,name=v" json:"v,omitempty"`
	W                    *bool               `protobuf:"varint,15,opt,name=w" json:"w,omitempty"`
	X                    *RepeatedFields     `protobuf:"bytes,16,opt,name=x" json:"x,omitempty"`
	Groupy               *UnaryFields_GroupY `protobuf:"group,17,opt,name=GroupY,json=groupy" json:"groupy,omitempty"`
	Z                    *TestEnum           `protobuf:"varint,18,opt,name=z,enum=testprotos.TestEnum" json:"z,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*UnaryFields) Descriptor

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

func (*UnaryFields) GetGroupy

func (m *UnaryFields) GetGroupy() *UnaryFields_GroupY

func (*UnaryFields) GetI

func (m *UnaryFields) GetI() int32

func (*UnaryFields) GetJ

func (m *UnaryFields) GetJ() int64

func (*UnaryFields) GetK

func (m *UnaryFields) GetK() int32

func (*UnaryFields) GetL

func (m *UnaryFields) GetL() int64

func (*UnaryFields) GetM

func (m *UnaryFields) GetM() uint32

func (*UnaryFields) GetN

func (m *UnaryFields) GetN() uint64

func (*UnaryFields) GetO

func (m *UnaryFields) GetO() uint32

func (*UnaryFields) GetP

func (m *UnaryFields) GetP() uint64

func (*UnaryFields) GetQ

func (m *UnaryFields) GetQ() int32

func (*UnaryFields) GetR

func (m *UnaryFields) GetR() int64

func (*UnaryFields) GetS

func (m *UnaryFields) GetS() float32

func (*UnaryFields) GetT

func (m *UnaryFields) GetT() float64

func (*UnaryFields) GetU

func (m *UnaryFields) GetU() []byte

func (*UnaryFields) GetV

func (m *UnaryFields) GetV() string

func (*UnaryFields) GetW

func (m *UnaryFields) GetW() bool

func (*UnaryFields) GetX

func (m *UnaryFields) GetX() *RepeatedFields

func (*UnaryFields) GetZ

func (m *UnaryFields) GetZ() TestEnum

func (*UnaryFields) ProtoMessage

func (*UnaryFields) ProtoMessage()

func (*UnaryFields) Reset

func (m *UnaryFields) Reset()

func (*UnaryFields) String

func (m *UnaryFields) String() string

func (*UnaryFields) XXX_DiscardUnknown

func (m *UnaryFields) XXX_DiscardUnknown()

func (*UnaryFields) XXX_Marshal

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

func (*UnaryFields) XXX_Merge

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

func (*UnaryFields) XXX_Size

func (m *UnaryFields) XXX_Size() int

func (*UnaryFields) XXX_Unmarshal

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

type UnaryFields_GroupY

type UnaryFields_GroupY struct {
	Ya                   *string  `protobuf:"bytes,171,opt,name=ya" json:"ya,omitempty"`
	Yb                   *int32   `protobuf:"varint,172,opt,name=yb" json:"yb,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UnaryFields_GroupY) Descriptor

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

func (*UnaryFields_GroupY) GetYa

func (m *UnaryFields_GroupY) GetYa() string

func (*UnaryFields_GroupY) GetYb

func (m *UnaryFields_GroupY) GetYb() int32

func (*UnaryFields_GroupY) ProtoMessage

func (*UnaryFields_GroupY) ProtoMessage()

func (*UnaryFields_GroupY) Reset

func (m *UnaryFields_GroupY) Reset()

func (*UnaryFields_GroupY) String

func (m *UnaryFields_GroupY) String() string

func (*UnaryFields_GroupY) XXX_DiscardUnknown

func (m *UnaryFields_GroupY) XXX_DiscardUnknown()

func (*UnaryFields_GroupY) XXX_Marshal

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

func (*UnaryFields_GroupY) XXX_Merge

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

func (*UnaryFields_GroupY) XXX_Size

func (m *UnaryFields_GroupY) XXX_Size() int

func (*UnaryFields_GroupY) XXX_Unmarshal

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

type Validator

type Validator struct {
	Authenticated        *bool                   `protobuf:"varint,1,opt,name=authenticated" json:"authenticated,omitempty"`
	Permission           []*Validator_Permission `protobuf:"bytes,2,rep,name=permission" json:"permission,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

func (*Validator) Descriptor

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

func (*Validator) GetAuthenticated

func (m *Validator) GetAuthenticated() bool

func (*Validator) GetPermission

func (m *Validator) GetPermission() []*Validator_Permission

func (*Validator) ProtoMessage

func (*Validator) ProtoMessage()

func (*Validator) Reset

func (m *Validator) Reset()

func (*Validator) String

func (m *Validator) String() string

func (*Validator) XXX_DiscardUnknown

func (m *Validator) XXX_DiscardUnknown()

func (*Validator) XXX_Marshal

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

func (*Validator) XXX_Merge

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

func (*Validator) XXX_Size

func (m *Validator) XXX_Size() int

func (*Validator) XXX_Unmarshal

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

type Validator_Action

type Validator_Action int32
const (
	Validator_LOGIN Validator_Action = 0
	Validator_READ  Validator_Action = 1
	Validator_WRITE Validator_Action = 2
)

func (Validator_Action) Enum

func (Validator_Action) EnumDescriptor

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

func (Validator_Action) String

func (x Validator_Action) String() string

func (*Validator_Action) UnmarshalJSON

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

type Validator_Permission

type Validator_Permission struct {
	Action               *Validator_Action `protobuf:"varint,1,opt,name=action,enum=foo.bar.Validator_Action" json:"action,omitempty"`
	Entity               *string           `protobuf:"bytes,2,opt,name=entity" json:"entity,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*Validator_Permission) Descriptor

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

func (*Validator_Permission) GetAction

func (m *Validator_Permission) GetAction() Validator_Action

func (*Validator_Permission) GetEntity

func (m *Validator_Permission) GetEntity() string

func (*Validator_Permission) ProtoMessage

func (*Validator_Permission) ProtoMessage()

func (*Validator_Permission) Reset

func (m *Validator_Permission) Reset()

func (*Validator_Permission) String

func (m *Validator_Permission) String() string

func (*Validator_Permission) XXX_DiscardUnknown

func (m *Validator_Permission) XXX_DiscardUnknown()

func (*Validator_Permission) XXX_Marshal

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

func (*Validator_Permission) XXX_Merge

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

func (*Validator_Permission) XXX_Size

func (m *Validator_Permission) XXX_Size() int

func (*Validator_Permission) XXX_Unmarshal

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

type Whatchamacallit

type Whatchamacallit struct {
	Foos                 *pkg.Foo `protobuf:"varint,1,req,name=foos,enum=jhump.protoreflect.desc.Foo" json:"foos,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Whatchamacallit) Descriptor

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

func (*Whatchamacallit) GetFoos

func (m *Whatchamacallit) GetFoos() pkg.Foo

func (*Whatchamacallit) ProtoMessage

func (*Whatchamacallit) ProtoMessage()

func (*Whatchamacallit) Reset

func (m *Whatchamacallit) Reset()

func (*Whatchamacallit) String

func (m *Whatchamacallit) String() string

func (*Whatchamacallit) XXX_DiscardUnknown

func (m *Whatchamacallit) XXX_DiscardUnknown()

func (*Whatchamacallit) XXX_Marshal

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

func (*Whatchamacallit) XXX_Merge

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

func (*Whatchamacallit) XXX_Size

func (m *Whatchamacallit) XXX_Size() int

func (*Whatchamacallit) XXX_Unmarshal

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

type Whatzit

type Whatzit struct {
	Gyzmeau              []*pkg.Bar `protobuf:"bytes,1,rep,name=gyzmeau" json:"gyzmeau,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*Whatzit) Descriptor

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

func (*Whatzit) GetGyzmeau

func (m *Whatzit) GetGyzmeau() []*pkg.Bar

func (*Whatzit) ProtoMessage

func (*Whatzit) ProtoMessage()

func (*Whatzit) Reset

func (m *Whatzit) Reset()

func (*Whatzit) String

func (m *Whatzit) String() string

func (*Whatzit) XXX_DiscardUnknown

func (m *Whatzit) XXX_DiscardUnknown()

func (*Whatzit) XXX_Marshal

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

func (*Whatzit) XXX_Merge

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

func (*Whatzit) XXX_Size

func (m *Whatzit) XXX_Size() int

func (*Whatzit) XXX_Unmarshal

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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