Documentation ¶
Overview ¶
Package testprotos is a generated protocol buffer package.
It is generated from these files:
desc_test1.proto desc_test2.proto desc_test_comments.proto desc_test_complex.proto desc_test_defaults.proto desc_test_field_types.proto desc_test_options.proto desc_test_proto3.proto desc_test_wellknowntypes.proto
It has these top-level messages:
TestMessage AnotherTestMessage Frobnitz Whatchamacallit Whatzit GroupX Request Simple Test Another Validator Rule IsAuthorizedReq KeywordCollisions KeywordCollisionOptions PrimitiveDefaults StringAndBytesDefaults EnumDefaults UnaryFields RepeatedFields RepeatedPackedFields MapKeyFields MapValFields ReallySimpleMessage TestRequest TestResponse TestWellKnownTypes
Index ¶
- Constants
- Variables
- func RegisterRpcServiceServer(s *grpc.Server, srv RpcServiceServer)
- func RegisterTestServiceServer(s *grpc.Server, srv TestServiceServer)
- func RegisterTestTestServiceServer(s *grpc.Server, srv TestTestServiceServer)
- type Another
- type AnotherTestMessage
- func (*AnotherTestMessage) Descriptor() ([]byte, []int)
- func (*AnotherTestMessage) ExtensionRangeArray() []proto.ExtensionRange
- func (m *AnotherTestMessage) GetAtmoo() isAnotherTestMessage_Atmoo
- func (m *AnotherTestMessage) GetDne() ...
- func (m *AnotherTestMessage) GetInt() int64
- func (m *AnotherTestMessage) GetMapField1() map[int32]string
- func (m *AnotherTestMessage) GetMapField2() map[int64]float32
- func (m *AnotherTestMessage) GetMapField3() map[uint32]bool
- func (m *AnotherTestMessage) GetMapField4() map[string]*AnotherTestMessage
- func (m *AnotherTestMessage) GetRocknroll() *AnotherTestMessage_RockNRoll
- func (m *AnotherTestMessage) GetStr() string
- func (*AnotherTestMessage) ProtoMessage()
- func (m *AnotherTestMessage) Reset()
- func (m *AnotherTestMessage) String() string
- func (*AnotherTestMessage) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type AnotherTestMessage_Int
- type AnotherTestMessage_RockNRoll
- func (*AnotherTestMessage_RockNRoll) Descriptor() ([]byte, []int)
- func (m *AnotherTestMessage_RockNRoll) GetBeatles() string
- func (m *AnotherTestMessage_RockNRoll) GetDoors() string
- func (m *AnotherTestMessage_RockNRoll) GetStones() string
- func (*AnotherTestMessage_RockNRoll) ProtoMessage()
- func (m *AnotherTestMessage_RockNRoll) Reset()
- func (m *AnotherTestMessage_RockNRoll) String() string
- type AnotherTestMessage_Str
- type Color
- type EnumDefaults
- func (*EnumDefaults) Descriptor() ([]byte, []int)
- func (m *EnumDefaults) GetBlue() Color
- func (m *EnumDefaults) GetDos() Number
- func (m *EnumDefaults) GetGreen() Color
- func (m *EnumDefaults) GetOne() Number
- func (m *EnumDefaults) GetRed() Color
- func (m *EnumDefaults) GetZed() Number
- func (m *EnumDefaults) GetZero() Number
- func (*EnumDefaults) ProtoMessage()
- func (m *EnumDefaults) Reset()
- func (m *EnumDefaults) String() string
- type Frobnitz
- func (*Frobnitz) Descriptor() ([]byte, []int)
- func (m *Frobnitz) GetA() *TestMessage
- func (m *Frobnitz) GetAbc() isFrobnitz_Abc
- func (m *Frobnitz) GetB() *AnotherTestMessage
- func (m *Frobnitz) GetC1() *TestMessage_NestedMessage
- func (m *Frobnitz) GetC2() TestMessage_NestedEnum
- func (m *Frobnitz) GetD() *TestMessage_NestedMessage
- func (m *Frobnitz) GetDef() isFrobnitz_Def
- func (m *Frobnitz) GetE() TestMessage_NestedEnum
- func (m *Frobnitz) GetF() []string
- func (m *Frobnitz) GetG1() int32
- func (m *Frobnitz) GetG2() int32
- func (m *Frobnitz) GetG3() uint32
- func (*Frobnitz) ProtoMessage()
- func (m *Frobnitz) Reset()
- func (m *Frobnitz) String() string
- func (*Frobnitz) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type Frobnitz_C1
- type Frobnitz_C2
- type Frobnitz_G1
- type Frobnitz_G2
- type Frobnitz_G3
- type GroupX
- type IsAuthorizedReq
- type KeywordCollisionOptions
- type KeywordCollisions
- func (*KeywordCollisions) Descriptor() ([]byte, []int)
- func (m *KeywordCollisions) GetBool() bool
- func (m *KeywordCollisions) GetBytes() []byte
- func (m *KeywordCollisions) GetDefault() int32
- func (m *KeywordCollisions) GetDouble() float64
- func (m *KeywordCollisions) GetEnum() bool
- func (m *KeywordCollisions) GetExtend() bool
- func (m *KeywordCollisions) GetExtensions() bool
- func (m *KeywordCollisions) GetFalse() int32
- func (m *KeywordCollisions) GetFixed32() uint32
- func (m *KeywordCollisions) GetFixed64() uint64
- func (m *KeywordCollisions) GetFloat() float32
- func (m *KeywordCollisions) GetImport() bool
- func (m *KeywordCollisions) GetInt32() int32
- func (m *KeywordCollisions) GetInt64() int64
- func (m *KeywordCollisions) GetMessage() bool
- func (m *KeywordCollisions) GetOption() bool
- func (m *KeywordCollisions) GetOptional() bool
- func (m *KeywordCollisions) GetPackage() bool
- func (m *KeywordCollisions) GetPublic() bool
- func (m *KeywordCollisions) GetRepeated() bool
- func (m *KeywordCollisions) GetRequired() bool
- func (m *KeywordCollisions) GetReserved() bool
- func (m *KeywordCollisions) GetRpc() bool
- func (m *KeywordCollisions) GetService() bool
- func (m *KeywordCollisions) GetSfixed32() int32
- func (m *KeywordCollisions) GetSfixed64() int64
- func (m *KeywordCollisions) GetSint32() int32
- func (m *KeywordCollisions) GetSint64() int64
- func (m *KeywordCollisions) GetString_() string
- func (m *KeywordCollisions) GetSyntax() bool
- func (m *KeywordCollisions) GetTo() bool
- func (m *KeywordCollisions) GetTrue() int32
- func (m *KeywordCollisions) GetUint32() uint32
- func (m *KeywordCollisions) GetUint64() uint64
- func (m *KeywordCollisions) GetWeak() bool
- func (*KeywordCollisions) ProtoMessage()
- func (m *KeywordCollisions) Reset()
- func (m *KeywordCollisions) String() string
- type MapKeyFields
- func (*MapKeyFields) Descriptor() ([]byte, []int)
- func (m *MapKeyFields) GetI() map[int32]string
- func (m *MapKeyFields) GetJ() map[int64]string
- func (m *MapKeyFields) GetK() map[int32]string
- func (m *MapKeyFields) GetL() map[int64]string
- func (m *MapKeyFields) GetM() map[uint32]string
- func (m *MapKeyFields) GetN() map[uint64]string
- func (m *MapKeyFields) GetO() map[uint32]string
- func (m *MapKeyFields) GetP() map[uint64]string
- func (m *MapKeyFields) GetQ() map[int32]string
- func (m *MapKeyFields) GetR() map[int64]string
- func (m *MapKeyFields) GetS() map[string]string
- func (m *MapKeyFields) GetT() map[bool]string
- func (*MapKeyFields) ProtoMessage()
- func (m *MapKeyFields) Reset()
- func (m *MapKeyFields) String() string
- type MapValFields
- func (*MapValFields) Descriptor() ([]byte, []int)
- func (m *MapValFields) GetI() map[string]int32
- func (m *MapValFields) GetJ() map[string]int64
- func (m *MapValFields) GetK() map[string]int32
- func (m *MapValFields) GetL() map[string]int64
- func (m *MapValFields) GetM() map[string]uint32
- func (m *MapValFields) GetN() map[string]uint64
- func (m *MapValFields) GetO() map[string]uint32
- func (m *MapValFields) GetP() map[string]uint64
- func (m *MapValFields) GetQ() map[string]int32
- func (m *MapValFields) GetR() map[string]int64
- func (m *MapValFields) GetS() map[string]float32
- func (m *MapValFields) GetT() map[string]float64
- func (m *MapValFields) GetU() map[string][]byte
- func (m *MapValFields) GetV() map[string]string
- func (m *MapValFields) GetW() map[string]bool
- func (m *MapValFields) GetX() map[string]*UnaryFields
- func (m *MapValFields) GetY() map[string]TestEnum
- func (*MapValFields) ProtoMessage()
- func (m *MapValFields) Reset()
- func (m *MapValFields) String() string
- type Number
- type PrimitiveDefaults
- func (*PrimitiveDefaults) Descriptor() ([]byte, []int)
- func (m *PrimitiveDefaults) GetBl1() bool
- func (m *PrimitiveDefaults) GetBl2() bool
- func (m *PrimitiveDefaults) GetFl32() float32
- func (m *PrimitiveDefaults) GetFl32D() float32
- func (m *PrimitiveDefaults) GetFl32Inf() float32
- func (m *PrimitiveDefaults) GetFl32Nan() float32
- func (m *PrimitiveDefaults) GetFl32NegInf() float32
- func (m *PrimitiveDefaults) GetFl64() float64
- func (m *PrimitiveDefaults) GetFl64D() float64
- func (m *PrimitiveDefaults) GetFl64Inf() float64
- func (m *PrimitiveDefaults) GetFl64Nan() float64
- func (m *PrimitiveDefaults) GetFl64NegInf() float64
- func (m *PrimitiveDefaults) GetI32() int32
- func (m *PrimitiveDefaults) GetI32F() int32
- func (m *PrimitiveDefaults) GetI32Fn() int32
- func (m *PrimitiveDefaults) GetI32Fx() int32
- func (m *PrimitiveDefaults) GetI32Fxn() int32
- func (m *PrimitiveDefaults) GetI32N() int32
- func (m *PrimitiveDefaults) GetI32S() int32
- func (m *PrimitiveDefaults) GetI32Sn() int32
- func (m *PrimitiveDefaults) GetI32Sx() int32
- func (m *PrimitiveDefaults) GetI32Sxn() int32
- func (m *PrimitiveDefaults) GetI32X() int32
- func (m *PrimitiveDefaults) GetI32Xn() int32
- func (m *PrimitiveDefaults) GetI64() int64
- func (m *PrimitiveDefaults) GetI64F() int64
- func (m *PrimitiveDefaults) GetI64Fn() int64
- func (m *PrimitiveDefaults) GetI64Fx() int64
- func (m *PrimitiveDefaults) GetI64Fxn() int64
- func (m *PrimitiveDefaults) GetI64N() int64
- func (m *PrimitiveDefaults) GetI64S() int64
- func (m *PrimitiveDefaults) GetI64Sn() int64
- func (m *PrimitiveDefaults) GetI64Sx() int64
- func (m *PrimitiveDefaults) GetI64Sxn() int64
- func (m *PrimitiveDefaults) GetI64X() int64
- func (m *PrimitiveDefaults) GetI64Xn() int64
- func (m *PrimitiveDefaults) GetU32() uint32
- func (m *PrimitiveDefaults) GetU32F() uint32
- func (m *PrimitiveDefaults) GetU32Fx() uint32
- func (m *PrimitiveDefaults) GetU32X() uint32
- func (m *PrimitiveDefaults) GetU64() uint64
- func (m *PrimitiveDefaults) GetU64F() uint64
- func (m *PrimitiveDefaults) GetU64Fx() uint64
- func (m *PrimitiveDefaults) GetU64X() uint64
- func (*PrimitiveDefaults) ProtoMessage()
- func (m *PrimitiveDefaults) Reset()
- func (m *PrimitiveDefaults) String() string
- type Proto3Enum
- type ReallySimpleEnum
- type ReallySimpleMessage
- type RepeatedFields
- func (*RepeatedFields) Descriptor() ([]byte, []int)
- func (m *RepeatedFields) GetGroupy() []*RepeatedFields_GroupY
- func (m *RepeatedFields) GetI() []int32
- func (m *RepeatedFields) GetJ() []int64
- func (m *RepeatedFields) GetK() []int32
- func (m *RepeatedFields) GetL() []int64
- func (m *RepeatedFields) GetM() []uint32
- func (m *RepeatedFields) GetN() []uint64
- func (m *RepeatedFields) GetO() []uint32
- func (m *RepeatedFields) GetP() []uint64
- func (m *RepeatedFields) GetQ() []int32
- func (m *RepeatedFields) GetR() []int64
- func (m *RepeatedFields) GetS() []float32
- func (m *RepeatedFields) GetT() []float64
- func (m *RepeatedFields) GetU() [][]byte
- func (m *RepeatedFields) GetV() []string
- func (m *RepeatedFields) GetW() []bool
- func (m *RepeatedFields) GetX() []*UnaryFields
- func (m *RepeatedFields) GetZ() []TestEnum
- func (*RepeatedFields) ProtoMessage()
- func (m *RepeatedFields) Reset()
- func (m *RepeatedFields) String() string
- type RepeatedFields_GroupY
- type RepeatedPackedFields
- func (*RepeatedPackedFields) Descriptor() ([]byte, []int)
- func (m *RepeatedPackedFields) GetGroupy() []*RepeatedPackedFields_GroupY
- func (m *RepeatedPackedFields) GetI() []int32
- func (m *RepeatedPackedFields) GetJ() []int64
- func (m *RepeatedPackedFields) GetK() []int32
- func (m *RepeatedPackedFields) GetL() []int64
- func (m *RepeatedPackedFields) GetM() []uint32
- func (m *RepeatedPackedFields) GetN() []uint64
- func (m *RepeatedPackedFields) GetO() []uint32
- func (m *RepeatedPackedFields) GetP() []uint64
- func (m *RepeatedPackedFields) GetQ() []int32
- func (m *RepeatedPackedFields) GetR() []int64
- func (m *RepeatedPackedFields) GetS() []float32
- func (m *RepeatedPackedFields) GetT() []float64
- func (m *RepeatedPackedFields) GetU() []bool
- func (m *RepeatedPackedFields) GetV() []TestEnum
- func (*RepeatedPackedFields) ProtoMessage()
- func (m *RepeatedPackedFields) Reset()
- func (m *RepeatedPackedFields) String() string
- type RepeatedPackedFields_GroupY
- type Request
- func (*Request) Descriptor() ([]byte, []int)
- func (*Request) ExtensionRangeArray() []proto.ExtensionRange
- func (m *Request) GetExtras() *Request_Extras
- func (m *Request) GetIds() []int32
- func (m *Request) GetName() string
- func (*Request) ProtoMessage()
- func (m *Request) Reset()
- func (m *Request) String() string
- type Request_Extras
- type Request_MarioCharacters
- type RpcServiceClient
- type RpcServiceServer
- type RpcService_StreamingRpcClient
- type RpcService_StreamingRpcServer
- type Rule
- func (*Rule) Descriptor() ([]byte, []int)
- func (m *Rule) GetInt() *Rule_IntRule
- func (m *Rule) GetRepeated() *Rule_RepeatedRule
- func (m *Rule) GetRule() isRule_Rule
- func (m *Rule) GetString_() *Rule_StringRule
- func (*Rule) ProtoMessage()
- func (m *Rule) Reset()
- func (m *Rule) String() string
- func (*Rule) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type Rule_Int
- type Rule_IntRule
- type Rule_Repeated
- type Rule_RepeatedRule
- func (*Rule_RepeatedRule) Descriptor() ([]byte, []int)
- func (m *Rule_RepeatedRule) GetAllowEmpty() bool
- func (m *Rule_RepeatedRule) GetItems() *Rule
- func (m *Rule_RepeatedRule) GetMaxItems() int32
- func (m *Rule_RepeatedRule) GetMinItems() int32
- func (*Rule_RepeatedRule) ProtoMessage()
- func (m *Rule_RepeatedRule) Reset()
- func (m *Rule_RepeatedRule) String() string
- type Rule_StringRule
- func (*Rule_StringRule) Descriptor() ([]byte, []int)
- func (m *Rule_StringRule) GetAllowEmpty() bool
- func (m *Rule_StringRule) GetMaxLen() int32
- func (m *Rule_StringRule) GetMinLen() int32
- func (m *Rule_StringRule) GetPattern() string
- func (*Rule_StringRule) ProtoMessage()
- func (m *Rule_StringRule) Reset()
- func (m *Rule_StringRule) String() string
- type Rule_String_
- type Simple
- type StringAndBytesDefaults
- func (*StringAndBytesDefaults) Descriptor() ([]byte, []int)
- func (m *StringAndBytesDefaults) GetBytesWithZero() []byte
- func (m *StringAndBytesDefaults) GetDq() string
- func (m *StringAndBytesDefaults) GetEscapedBytes() []byte
- func (m *StringAndBytesDefaults) GetSq() string
- func (m *StringAndBytesDefaults) GetStringWithZero() string
- func (m *StringAndBytesDefaults) GetUtf8String() string
- func (*StringAndBytesDefaults) ProtoMessage()
- func (m *StringAndBytesDefaults) Reset()
- func (m *StringAndBytesDefaults) String() string
- type Test
- func (*Test) Descriptor() ([]byte, []int)
- func (*Test) ExtensionRangeArray() []proto.ExtensionRange
- func (m *Test) GetArray() []int32
- func (m *Test) GetB() []byte
- func (m *Test) GetFoo() string
- func (m *Test) GetM() map[string]int32
- func (m *Test) GetR() []*Simple
- func (m *Test) GetS() *Simple
- func (*Test) ProtoMessage()
- func (m *Test) Reset()
- func (m *Test) String() string
- type TestEnum
- type TestMessage
- func (*TestMessage) Descriptor() ([]byte, []int)
- func (m *TestMessage) GetAnm() *TestMessage_NestedMessage_AnotherNestedMessage
- func (m *TestMessage) GetNe() []TestMessage_NestedEnum
- func (m *TestMessage) GetNm() *TestMessage_NestedMessage
- func (m *TestMessage) GetYanm() *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage
- func (*TestMessage) ProtoMessage()
- func (m *TestMessage) Reset()
- func (m *TestMessage) String() string
- type TestMessage_NestedEnum
- type TestMessage_NestedMessage
- func (*TestMessage_NestedMessage) Descriptor() ([]byte, []int)
- func (m *TestMessage_NestedMessage) GetAnm() *TestMessage_NestedMessage_AnotherNestedMessage
- func (m *TestMessage_NestedMessage) GetYanm() *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage
- func (*TestMessage_NestedMessage) ProtoMessage()
- func (m *TestMessage_NestedMessage) Reset()
- func (m *TestMessage_NestedMessage) String() string
- type TestMessage_NestedMessage_AnotherNestedMessage
- func (*TestMessage_NestedMessage_AnotherNestedMessage) Descriptor() ([]byte, []int)
- func (m *TestMessage_NestedMessage_AnotherNestedMessage) GetYanm() []*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage
- func (*TestMessage_NestedMessage_AnotherNestedMessage) ProtoMessage()
- func (m *TestMessage_NestedMessage_AnotherNestedMessage) Reset()
- func (m *TestMessage_NestedMessage_AnotherNestedMessage) String() string
- type TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage
- func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) Descriptor() ([]byte, []int)
- func (m *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) GetAnm() *TestMessage_NestedMessage_AnotherNestedMessage
- func (m *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) GetBar() int32
- func (m *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) GetBaz() []byte
- func (m *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) GetDne() ...
- func (m *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) GetFoo() string
- func (m *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) GetNm() *TestMessage_NestedMessage
- func (m *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) GetTm() *TestMessage
- func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) ProtoMessage()
- func (m *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) Reset()
- func (m *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) String() string
- type TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum
- func (x TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum) Enum() ...
- func (TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum) EnumDescriptor() ([]byte, []int)
- func (x TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum) String() string
- func (x *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum) UnmarshalJSON(data []byte) error
- type TestRequest
- func (*TestRequest) Descriptor() ([]byte, []int)
- func (m *TestRequest) GetBar() string
- func (m *TestRequest) GetBaz() *TestMessage
- func (m *TestRequest) GetFlags() map[string]bool
- func (m *TestRequest) GetFoo() []Proto3Enum
- func (m *TestRequest) GetSnafu() *TestMessage_NestedMessage_AnotherNestedMessage
- func (*TestRequest) ProtoMessage()
- func (m *TestRequest) Reset()
- func (m *TestRequest) String() string
- type TestResponse
- type TestServiceClient
- type TestServiceServer
- type TestService_DoSomethingAgainClient
- type TestService_DoSomethingAgainServer
- type TestService_DoSomethingElseClient
- type TestService_DoSomethingElseServer
- type TestService_DoSomethingForeverClient
- type TestService_DoSomethingForeverServer
- type TestTestServiceClient
- type TestTestServiceServer
- type TestWellKnownTypes
- func (*TestWellKnownTypes) Descriptor() ([]byte, []int)
- func (m *TestWellKnownTypes) GetBl() *google_protobuf6.BoolValue
- func (m *TestWellKnownTypes) GetByt() *google_protobuf6.BytesValue
- func (m *TestWellKnownTypes) GetDbl() *google_protobuf6.DoubleValue
- func (m *TestWellKnownTypes) GetElapsed() *google_protobuf3.Duration
- func (m *TestWellKnownTypes) GetExtras() []*google_protobuf2.Any
- func (m *TestWellKnownTypes) GetFlt() *google_protobuf6.FloatValue
- func (m *TestWellKnownTypes) GetI32() *google_protobuf6.Int32Value
- func (m *TestWellKnownTypes) GetI64() *google_protobuf6.Int64Value
- func (m *TestWellKnownTypes) GetJson() []*google_protobuf5.Value
- func (m *TestWellKnownTypes) GetStartTime() *google_protobuf4.Timestamp
- func (m *TestWellKnownTypes) GetStr() *google_protobuf6.StringValue
- func (m *TestWellKnownTypes) GetU32() *google_protobuf6.UInt32Value
- func (m *TestWellKnownTypes) GetU64() *google_protobuf6.UInt64Value
- func (*TestWellKnownTypes) ProtoMessage()
- func (m *TestWellKnownTypes) Reset()
- func (m *TestWellKnownTypes) String() string
- type Test_Nested
- type Test_Nested__NestedNested
- type Test_Nested__NestedNested_EEE
- type Test_Nested__NestedNested_NestedNestedNested
- func (*Test_Nested__NestedNested_NestedNestedNested) Descriptor() ([]byte, []int)
- func (m *Test_Nested__NestedNested_NestedNestedNested) GetTest() *Test
- func (*Test_Nested__NestedNested_NestedNestedNested) ProtoMessage()
- func (m *Test_Nested__NestedNested_NestedNestedNested) Reset()
- func (m *Test_Nested__NestedNested_NestedNestedNested) String() string
- type UnaryFields
- func (*UnaryFields) Descriptor() ([]byte, []int)
- func (m *UnaryFields) GetGroupy() *UnaryFields_GroupY
- func (m *UnaryFields) GetI() int32
- func (m *UnaryFields) GetJ() int64
- func (m *UnaryFields) GetK() int32
- func (m *UnaryFields) GetL() int64
- func (m *UnaryFields) GetM() uint32
- func (m *UnaryFields) GetN() uint64
- func (m *UnaryFields) GetO() uint32
- func (m *UnaryFields) GetP() uint64
- func (m *UnaryFields) GetQ() int32
- func (m *UnaryFields) GetR() int64
- func (m *UnaryFields) GetS() float32
- func (m *UnaryFields) GetT() float64
- func (m *UnaryFields) GetU() []byte
- func (m *UnaryFields) GetV() string
- func (m *UnaryFields) GetW() bool
- func (m *UnaryFields) GetX() *RepeatedFields
- func (m *UnaryFields) GetZ() TestEnum
- func (*UnaryFields) ProtoMessage()
- func (m *UnaryFields) Reset()
- func (m *UnaryFields) String() string
- type UnaryFields_GroupY
- type Validator
- type Validator_Action
- type Validator_Permission
- type Whatchamacallit
- type Whatzit
Constants ¶
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_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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*desc_test_nopkg.TopLevel)(nil), ExtensionType: (*GroupX)(nil), Field: 104, Name: "testprotos.groupx", Tag: "group,104,opt,name=GroupX,json=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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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_Option = &proto.ExtensionDesc{ ExtendedType: (*google_protobuf1.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: (*google_protobuf1.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: (*desc_test_nopkg.TopLevel)(nil), ExtensionType: (*desc_test_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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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,json=Garblez", Filename: "desc_test_complex.proto", }
View Source
var E_To = &proto.ExtensionDesc{ ExtendedType: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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: (*google_protobuf1.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 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",
}
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,
}
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 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_unrecognized []byte `json:"-"` }
func (*Another) Descriptor ¶
func (*Another) GetFff ¶
func (m *Another) GetFff() Test_Nested__NestedNested_EEE
func (*Another) ProtoMessage ¶
func (*Another) ProtoMessage()
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"` proto.XXX_InternalExtensions `json:"-"` XXX_unrecognized []byte `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 (m *AnotherTestMessage) GetRocknroll() *AnotherTestMessage_RockNRoll
func (*AnotherTestMessage) GetStr ¶
func (m *AnotherTestMessage) GetStr() string
func (*AnotherTestMessage) ProtoMessage ¶
func (*AnotherTestMessage) ProtoMessage()
func (*AnotherTestMessage) Reset ¶
func (m *AnotherTestMessage) Reset()
func (*AnotherTestMessage) String ¶
func (m *AnotherTestMessage) String() string
func (*AnotherTestMessage) XXX_OneofFuncs ¶
func (*AnotherTestMessage) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
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_unrecognized []byte `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 (m *AnotherTestMessage_RockNRoll) String() string
type AnotherTestMessage_Str ¶
type AnotherTestMessage_Str struct {
Str string `protobuf:"bytes,7,opt,name=str,oneof"`
}
type Color ¶
type Color int32
const Default_EnumDefaults_Blue Color = Color_BLUE
const Default_EnumDefaults_Green Color = Color_GREEN
func (Color) EnumDescriptor ¶
func (*Color) UnmarshalJSON ¶
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_unrecognized []byte `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
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"` // Types that are valid to be assigned to Def: // *Frobnitz_G1 // *Frobnitz_G2 // *Frobnitz_G3 Def isFrobnitz_Def `protobuf_oneof:"def"` XXX_unrecognized []byte `json:"-"` }
func (*Frobnitz) Descriptor ¶
func (*Frobnitz) GetA ¶
func (m *Frobnitz) GetA() *TestMessage
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 (m *Frobnitz) GetD() *TestMessage_NestedMessage
func (*Frobnitz) GetE ¶
func (m *Frobnitz) GetE() TestMessage_NestedEnum
func (*Frobnitz) ProtoMessage ¶
func (*Frobnitz) ProtoMessage()
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_unrecognized []byte `json:"-"` }
func (*GroupX) Descriptor ¶
func (*GroupX) GetGroupxi ¶
func (*GroupX) GetGroupxs ¶
func (*GroupX) ProtoMessage ¶
func (*GroupX) ProtoMessage()
type IsAuthorizedReq ¶
type IsAuthorizedReq struct { Subjects []string `protobuf:"bytes,1,rep,name=subjects" json:"subjects,omitempty"` XXX_unrecognized []byte `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
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_unrecognized []byte `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
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_unrecognized []byte `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
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_unrecognized []byte `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
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_unrecognized []byte `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
type Number ¶
type Number int32
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) EnumDescriptor ¶
func (*Number) UnmarshalJSON ¶
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_unrecognized []byte `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
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
const (
ReallySimpleEnum_VALUE ReallySimpleEnum = 1
)
func (ReallySimpleEnum) Enum ¶
func (x ReallySimpleEnum) Enum() *ReallySimpleEnum
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_unrecognized []byte `json:"-"` }
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
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_unrecognized []byte `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
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_unrecognized []byte `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
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_unrecognized []byte `json:"-"` }
func (*RepeatedPackedFields) Descriptor ¶
func (*RepeatedPackedFields) Descriptor() ([]byte, []int)
func (*RepeatedPackedFields) GetGroupy ¶
func (m *RepeatedPackedFields) GetGroupy() []*RepeatedPackedFields_GroupY
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
type RepeatedPackedFields_GroupY ¶
type RepeatedPackedFields_GroupY struct { Yb []int32 `protobuf:"varint,141,rep,packed,name=yb" json:"yb,omitempty"` XXX_unrecognized []byte `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
type Request ¶
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"` proto.XXX_InternalExtensions `json:"-"` XXX_unrecognized []byte `json:"-"` }
We need a request for our RPC service below.
func (*Request) Descriptor ¶
func (*Request) ExtensionRangeArray ¶
func (*Request) ExtensionRangeArray() []proto.ExtensionRange
func (*Request) GetExtras ¶
func (m *Request) GetExtras() *Request_Extras
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
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_unrecognized []byte `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
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 )
func (Request_MarioCharacters) Enum ¶
func (x Request_MarioCharacters) Enum() *Request_MarioCharacters
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 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) (*google_protobuf.Empty, error) }
func NewRpcServiceClient ¶
func NewRpcServiceClient(cc *grpc.ClientConn) RpcServiceClient
type RpcServiceServer ¶
type RpcServiceServer interface { // Method comment StreamingRpc(RpcService_StreamingRpcServer) error UnaryRpc(context.Context, *Request) (*google_protobuf.Empty, error) }
type Rule ¶
type Rule struct { // Types that are valid to be assigned to Rule: // *Rule_String_ // *Rule_Repeated // *Rule_Int Rule isRule_Rule `protobuf_oneof:"rule"` XXX_unrecognized []byte `json:"-"` }
func (*Rule) Descriptor ¶
func (*Rule) GetInt ¶
func (m *Rule) GetInt() *Rule_IntRule
func (*Rule) GetRepeated ¶
func (m *Rule) GetRepeated() *Rule_RepeatedRule
func (*Rule) GetString_ ¶
func (m *Rule) GetString_() *Rule_StringRule
func (*Rule) ProtoMessage ¶
func (*Rule) ProtoMessage()
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_unrecognized []byte `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
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_unrecognized []byte `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
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_unrecognized []byte `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
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_unrecognized []byte `json:"-"` }
func (*Simple) Descriptor ¶
func (*Simple) ProtoMessage ¶
func (*Simple) ProtoMessage()
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"` XXX_unrecognized []byte `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) 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
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"` proto.XXX_InternalExtensions `json:"-"` XXX_unrecognized []byte `json:"-"` }
func (*Test) Descriptor ¶
func (*Test) ExtensionRangeArray ¶
func (*Test) ExtensionRangeArray() []proto.ExtensionRange
func (*Test) ProtoMessage ¶
func (*Test) ProtoMessage()
type TestEnum ¶
type TestEnum int32
func (TestEnum) EnumDescriptor ¶
func (*TestEnum) UnmarshalJSON ¶
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_unrecognized []byte `json:"-"` }
Comment for TestMessage
func (*TestMessage) Descriptor ¶
func (*TestMessage) Descriptor() ([]byte, []int)
func (*TestMessage) GetAnm ¶
func (m *TestMessage) GetAnm() *TestMessage_NestedMessage_AnotherNestedMessage
func (*TestMessage) GetNe ¶
func (m *TestMessage) GetNe() []TestMessage_NestedEnum
func (*TestMessage) GetNm ¶
func (m *TestMessage) GetNm() *TestMessage_NestedMessage
func (*TestMessage) GetYanm ¶
func (m *TestMessage) GetYanm() *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage
func (*TestMessage) ProtoMessage ¶
func (*TestMessage) ProtoMessage()
func (*TestMessage) Reset ¶
func (m *TestMessage) Reset()
func (*TestMessage) String ¶
func (m *TestMessage) String() string
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 (x TestMessage_NestedEnum) Enum() *TestMessage_NestedEnum
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_unrecognized []byte `json:"-"` }
Comment for NestedMessage
func (*TestMessage_NestedMessage) Descriptor ¶
func (*TestMessage_NestedMessage) Descriptor() ([]byte, []int)
func (*TestMessage_NestedMessage) GetAnm ¶
func (m *TestMessage_NestedMessage) GetAnm() *TestMessage_NestedMessage_AnotherNestedMessage
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
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_unrecognized []byte `json:"-"` }
Comment for AnotherNestedMessage
func (*TestMessage_NestedMessage_AnotherNestedMessage) Descriptor ¶
func (*TestMessage_NestedMessage_AnotherNestedMessage) Descriptor() ([]byte, []int)
func (*TestMessage_NestedMessage_AnotherNestedMessage) ProtoMessage ¶
func (*TestMessage_NestedMessage_AnotherNestedMessage) ProtoMessage()
func (*TestMessage_NestedMessage_AnotherNestedMessage) Reset ¶
func (m *TestMessage_NestedMessage_AnotherNestedMessage) Reset()
func (*TestMessage_NestedMessage_AnotherNestedMessage) String ¶
func (m *TestMessage_NestedMessage_AnotherNestedMessage) String() string
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_unrecognized []byte `json:"-"` }
Comment for YetAnotherNestedMessage
func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) Descriptor ¶
func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) Descriptor() ([]byte, []int)
func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) GetBar ¶
func (m *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) GetBar() int32
func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) GetBaz ¶
func (m *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) GetBaz() []byte
func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) GetFoo ¶
func (m *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) GetFoo() string
func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) ProtoMessage ¶
func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) ProtoMessage()
func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) Reset ¶
func (m *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) Reset()
func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) String ¶
func (m *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) String() string
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) Enum ¶
func (TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum) EnumDescriptor ¶
func (TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum) EnumDescriptor() ([]byte, []int)
func (TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum) String ¶
func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum) UnmarshalJSON ¶
func (x *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum) UnmarshalJSON(data []byte) error
type TestRequest ¶
type TestRequest struct { Foo []Proto3Enum `protobuf:"varint,1,rep,packed,name=foo,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" json:"baz,omitempty"` Snafu *TestMessage_NestedMessage_AnotherNestedMessage `protobuf:"bytes,4,opt,name=snafu" json:"snafu,omitempty"` Flags map[string]bool `` /* 145-byte string literal not displayed */ }
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) GetSnafu ¶
func (m *TestRequest) GetSnafu() *TestMessage_NestedMessage_AnotherNestedMessage
func (*TestRequest) ProtoMessage ¶
func (*TestRequest) ProtoMessage()
func (*TestRequest) Reset ¶
func (m *TestRequest) Reset()
func (*TestRequest) String ¶
func (m *TestRequest) String() string
type TestResponse ¶
type TestResponse struct { Atm *AnotherTestMessage `protobuf:"bytes,1,opt,name=atm" json:"atm,omitempty"` Vs []int32 `protobuf:"varint,2,rep,packed,name=vs" json:"vs,omitempty"` }
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
type TestServiceClient ¶
type TestServiceClient interface { DoSomething(ctx context.Context, in *TestRequest, opts ...grpc.CallOption) (*jhump_protoreflect_desc.Bar, error) DoSomethingElse(ctx context.Context, opts ...grpc.CallOption) (TestService_DoSomethingElseClient, error) DoSomethingAgain(ctx context.Context, in *jhump_protoreflect_desc.Bar, opts ...grpc.CallOption) (TestService_DoSomethingAgainClient, error) DoSomethingForever(ctx context.Context, opts ...grpc.CallOption) (TestService_DoSomethingForeverClient, error) }
func NewTestServiceClient ¶
func NewTestServiceClient(cc *grpc.ClientConn) TestServiceClient
type TestServiceServer ¶
type TestServiceServer interface { DoSomething(context.Context, *TestRequest) (*jhump_protoreflect_desc.Bar, error) DoSomethingElse(TestService_DoSomethingElseServer) error DoSomethingAgain(*jhump_protoreflect_desc.Bar, TestService_DoSomethingAgainServer) error DoSomethingForever(TestService_DoSomethingForeverServer) error }
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) }
func NewTestTestServiceClient ¶
func NewTestTestServiceClient(cc *grpc.ClientConn) TestTestServiceClient
type TestTestServiceServer ¶
type TestWellKnownTypes ¶
type TestWellKnownTypes struct { StartTime *google_protobuf4.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime" json:"start_time,omitempty"` Elapsed *google_protobuf3.Duration `protobuf:"bytes,2,opt,name=elapsed" json:"elapsed,omitempty"` Dbl *google_protobuf6.DoubleValue `protobuf:"bytes,3,opt,name=dbl" json:"dbl,omitempty"` Flt *google_protobuf6.FloatValue `protobuf:"bytes,4,opt,name=flt" json:"flt,omitempty"` Bl *google_protobuf6.BoolValue `protobuf:"bytes,5,opt,name=bl" json:"bl,omitempty"` I32 *google_protobuf6.Int32Value `protobuf:"bytes,6,opt,name=i32" json:"i32,omitempty"` I64 *google_protobuf6.Int64Value `protobuf:"bytes,7,opt,name=i64" json:"i64,omitempty"` U32 *google_protobuf6.UInt32Value `protobuf:"bytes,8,opt,name=u32" json:"u32,omitempty"` U64 *google_protobuf6.UInt64Value `protobuf:"bytes,9,opt,name=u64" json:"u64,omitempty"` Str *google_protobuf6.StringValue `protobuf:"bytes,10,opt,name=str" json:"str,omitempty"` Byt *google_protobuf6.BytesValue `protobuf:"bytes,11,opt,name=byt" json:"byt,omitempty"` Json []*google_protobuf5.Value `protobuf:"bytes,12,rep,name=json" json:"json,omitempty"` Extras []*google_protobuf2.Any `protobuf:"bytes,13,rep,name=extras" json:"extras,omitempty"` }
func (*TestWellKnownTypes) Descriptor ¶
func (*TestWellKnownTypes) Descriptor() ([]byte, []int)
func (*TestWellKnownTypes) GetBl ¶
func (m *TestWellKnownTypes) GetBl() *google_protobuf6.BoolValue
func (*TestWellKnownTypes) GetByt ¶
func (m *TestWellKnownTypes) GetByt() *google_protobuf6.BytesValue
func (*TestWellKnownTypes) GetDbl ¶
func (m *TestWellKnownTypes) GetDbl() *google_protobuf6.DoubleValue
func (*TestWellKnownTypes) GetElapsed ¶
func (m *TestWellKnownTypes) GetElapsed() *google_protobuf3.Duration
func (*TestWellKnownTypes) GetExtras ¶
func (m *TestWellKnownTypes) GetExtras() []*google_protobuf2.Any
func (*TestWellKnownTypes) GetFlt ¶
func (m *TestWellKnownTypes) GetFlt() *google_protobuf6.FloatValue
func (*TestWellKnownTypes) GetI32 ¶
func (m *TestWellKnownTypes) GetI32() *google_protobuf6.Int32Value
func (*TestWellKnownTypes) GetI64 ¶
func (m *TestWellKnownTypes) GetI64() *google_protobuf6.Int64Value
func (*TestWellKnownTypes) GetJson ¶
func (m *TestWellKnownTypes) GetJson() []*google_protobuf5.Value
func (*TestWellKnownTypes) GetStartTime ¶
func (m *TestWellKnownTypes) GetStartTime() *google_protobuf4.Timestamp
func (*TestWellKnownTypes) GetStr ¶
func (m *TestWellKnownTypes) GetStr() *google_protobuf6.StringValue
func (*TestWellKnownTypes) GetU32 ¶
func (m *TestWellKnownTypes) GetU32() *google_protobuf6.UInt32Value
func (*TestWellKnownTypes) GetU64 ¶
func (m *TestWellKnownTypes) GetU64() *google_protobuf6.UInt64Value
func (*TestWellKnownTypes) ProtoMessage ¶
func (*TestWellKnownTypes) ProtoMessage()
func (*TestWellKnownTypes) Reset ¶
func (m *TestWellKnownTypes) Reset()
func (*TestWellKnownTypes) String ¶
func (m *TestWellKnownTypes) String() string
type Test_Nested ¶
type Test_Nested struct {
XXX_unrecognized []byte `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
type Test_Nested__NestedNested ¶
type Test_Nested__NestedNested struct {
XXX_unrecognized []byte `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
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 )
const Default_Another_Fff Test_Nested__NestedNested_EEE = Test_Nested__NestedNested_V1
func (Test_Nested__NestedNested_EEE) Enum ¶
func (x Test_Nested__NestedNested_EEE) Enum() *Test_Nested__NestedNested_EEE
func (Test_Nested__NestedNested_EEE) EnumDescriptor ¶
func (Test_Nested__NestedNested_EEE) EnumDescriptor() ([]byte, []int)
func (Test_Nested__NestedNested_EEE) String ¶
func (x Test_Nested__NestedNested_EEE) String() 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_unrecognized []byte `json:"-"` }
func (*Test_Nested__NestedNested_NestedNestedNested) Descriptor ¶
func (*Test_Nested__NestedNested_NestedNestedNested) Descriptor() ([]byte, []int)
func (*Test_Nested__NestedNested_NestedNestedNested) GetTest ¶
func (m *Test_Nested__NestedNested_NestedNestedNested) GetTest() *Test
func (*Test_Nested__NestedNested_NestedNestedNested) ProtoMessage ¶
func (*Test_Nested__NestedNested_NestedNestedNested) ProtoMessage()
func (*Test_Nested__NestedNested_NestedNestedNested) Reset ¶
func (m *Test_Nested__NestedNested_NestedNestedNested) Reset()
func (*Test_Nested__NestedNested_NestedNestedNested) String ¶
func (m *Test_Nested__NestedNested_NestedNestedNested) String() string
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_unrecognized []byte `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
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_unrecognized []byte `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
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_unrecognized []byte `json:"-"` }
func (*Validator) Descriptor ¶
func (*Validator) GetAuthenticated ¶
func (*Validator) GetPermission ¶
func (m *Validator) GetPermission() []*Validator_Permission
func (*Validator) ProtoMessage ¶
func (*Validator) ProtoMessage()
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 (x Validator_Action) Enum() *Validator_Action
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_unrecognized []byte `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
type Whatchamacallit ¶
type Whatchamacallit struct { Foos *jhump_protoreflect_desc.Foo `protobuf:"varint,1,req,name=foos,enum=jhump.protoreflect.desc.Foo" json:"foos,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Whatchamacallit) Descriptor ¶
func (*Whatchamacallit) Descriptor() ([]byte, []int)
func (*Whatchamacallit) GetFoos ¶
func (m *Whatchamacallit) GetFoos() jhump_protoreflect_desc.Foo
func (*Whatchamacallit) ProtoMessage ¶
func (*Whatchamacallit) ProtoMessage()
func (*Whatchamacallit) Reset ¶
func (m *Whatchamacallit) Reset()
func (*Whatchamacallit) String ¶
func (m *Whatchamacallit) String() string
type Whatzit ¶
type Whatzit struct { Gyzmeau []*jhump_protoreflect_desc.Bar `protobuf:"bytes,1,rep,name=gyzmeau" json:"gyzmeau,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Whatzit) Descriptor ¶
func (*Whatzit) GetGyzmeau ¶
func (m *Whatzit) GetGyzmeau() []*jhump_protoreflect_desc.Bar
func (*Whatzit) ProtoMessage ¶
func (*Whatzit) ProtoMessage()
Source Files ¶
Click to show internal directories.
Click to hide internal directories.