Documentation ¶
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 AnEmptyMessage
- type Another
- type AnotherTestMessage
- func (*AnotherTestMessage) Descriptor() ([]byte, []int)deprecated
- func (*AnotherTestMessage) ExtensionRangeArray() []protoiface.ExtensionRangeV1deprecated
- func (m *AnotherTestMessage) GetAtmoo() isAnotherTestMessage_Atmoo
- func (x *AnotherTestMessage) GetDne() ...
- func (x *AnotherTestMessage) GetInt() int64
- func (x *AnotherTestMessage) GetMapField1() map[int32]string
- func (x *AnotherTestMessage) GetMapField2() map[int64]float32
- func (x *AnotherTestMessage) GetMapField3() map[uint32]bool
- func (x *AnotherTestMessage) GetMapField4() map[string]*AnotherTestMessage
- func (x *AnotherTestMessage) GetRocknroll() *AnotherTestMessage_RockNRoll
- func (x *AnotherTestMessage) GetStr() string
- func (x *AnotherTestMessage) GetWithoptions() *AnotherTestMessage_WithOptionsdeprecated
- func (*AnotherTestMessage) ProtoMessage()
- func (x *AnotherTestMessage) ProtoReflect() protoreflect.Message
- func (x *AnotherTestMessage) Reset()
- func (x *AnotherTestMessage) String() string
- type AnotherTestMessage_Int
- type AnotherTestMessage_RockNRoll
- func (*AnotherTestMessage_RockNRoll) Descriptor() ([]byte, []int)deprecated
- func (x *AnotherTestMessage_RockNRoll) GetBeatles() string
- func (x *AnotherTestMessage_RockNRoll) GetDoors() string
- func (x *AnotherTestMessage_RockNRoll) GetStones() string
- func (*AnotherTestMessage_RockNRoll) ProtoMessage()
- func (x *AnotherTestMessage_RockNRoll) ProtoReflect() protoreflect.Message
- func (x *AnotherTestMessage_RockNRoll) Reset()
- func (x *AnotherTestMessage_RockNRoll) String() string
- type AnotherTestMessage_Str
- type AnotherTestMessage_WithOptions
- func (*AnotherTestMessage_WithOptions) Descriptor() ([]byte, []int)deprecated
- func (*AnotherTestMessage_WithOptions) ProtoMessage()
- func (x *AnotherTestMessage_WithOptions) ProtoReflect() protoreflect.Message
- func (x *AnotherTestMessage_WithOptions) Reset()
- func (x *AnotherTestMessage_WithOptions) String() string
- type Color
- func (Color) Descriptor() protoreflect.EnumDescriptor
- func (x Color) Enum() *Color
- func (Color) EnumDescriptor() ([]byte, []int)deprecated
- func (x Color) Number() protoreflect.EnumNumber
- func (x Color) String() string
- func (Color) Type() protoreflect.EnumType
- func (x *Color) UnmarshalJSON(b []byte) errordeprecated
- type Empty
- type EnumDefaults
- func (*EnumDefaults) Descriptor() ([]byte, []int)deprecated
- func (x *EnumDefaults) GetBlue() Color
- func (x *EnumDefaults) GetDos() Number
- func (x *EnumDefaults) GetGreen() Color
- func (x *EnumDefaults) GetOne() Number
- func (x *EnumDefaults) GetRed() Color
- func (x *EnumDefaults) GetZed() Number
- func (x *EnumDefaults) GetZero() Number
- func (*EnumDefaults) ProtoMessage()
- func (x *EnumDefaults) ProtoReflect() protoreflect.Message
- func (x *EnumDefaults) Reset()
- func (x *EnumDefaults) String() string
- type EnumWithReservations
- func (EnumWithReservations) Descriptor() protoreflect.EnumDescriptor
- func (x EnumWithReservations) Enum() *EnumWithReservations
- func (EnumWithReservations) EnumDescriptor() ([]byte, []int)deprecated
- func (x EnumWithReservations) Number() protoreflect.EnumNumber
- func (x EnumWithReservations) String() string
- func (EnumWithReservations) Type() protoreflect.EnumType
- func (x *EnumWithReservations) UnmarshalJSON(b []byte) errordeprecated
- type Frobnitz
- func (*Frobnitz) Descriptor() ([]byte, []int)deprecated
- func (x *Frobnitz) GetA() *TestMessage
- func (m *Frobnitz) GetAbc() isFrobnitz_Abc
- func (x *Frobnitz) GetB() *AnotherTestMessage
- func (x *Frobnitz) GetC1() *TestMessage_NestedMessage
- func (x *Frobnitz) GetC2() TestMessage_NestedEnum
- func (x *Frobnitz) GetD() *TestMessage_NestedMessage
- func (m *Frobnitz) GetDef() isFrobnitz_Def
- func (x *Frobnitz) GetE() TestMessage_NestedEnum
- func (x *Frobnitz) GetF() []stringdeprecated
- func (x *Frobnitz) GetG1() int32
- func (x *Frobnitz) GetG2() int32
- func (x *Frobnitz) GetG3() uint32
- func (*Frobnitz) ProtoMessage()
- func (x *Frobnitz) ProtoReflect() protoreflect.Message
- func (x *Frobnitz) Reset()
- func (x *Frobnitz) String() string
- type Frobnitz_C1
- type Frobnitz_C2
- type Frobnitz_G1
- type Frobnitz_G2
- type Frobnitz_G3
- type GroupX
- type IsAuthorizedReq
- type KeywordCollisionOptions
- func (*KeywordCollisionOptions) Descriptor() ([]byte, []int)deprecated
- func (x *KeywordCollisionOptions) GetId() uint64
- func (x *KeywordCollisionOptions) GetName() string
- func (*KeywordCollisionOptions) ProtoMessage()
- func (x *KeywordCollisionOptions) ProtoReflect() protoreflect.Message
- func (x *KeywordCollisionOptions) Reset()
- func (x *KeywordCollisionOptions) String() string
- type KeywordCollisions
- func (*KeywordCollisions) Descriptor() ([]byte, []int)deprecated
- func (x *KeywordCollisions) GetBool() bool
- func (x *KeywordCollisions) GetBytes() []byte
- func (x *KeywordCollisions) GetDefault() int32
- func (x *KeywordCollisions) GetDouble() float64
- func (x *KeywordCollisions) GetEnum() bool
- func (x *KeywordCollisions) GetExtend() bool
- func (x *KeywordCollisions) GetExtensions() bool
- func (x *KeywordCollisions) GetFalse() int32
- func (x *KeywordCollisions) GetFixed32() uint32
- func (x *KeywordCollisions) GetFixed64() uint64
- func (x *KeywordCollisions) GetFloat() float32
- func (x *KeywordCollisions) GetImport() bool
- func (x *KeywordCollisions) GetInt32() int32
- func (x *KeywordCollisions) GetInt64() int64
- func (x *KeywordCollisions) GetMessage() bool
- func (x *KeywordCollisions) GetOption() bool
- func (x *KeywordCollisions) GetOptional() bool
- func (x *KeywordCollisions) GetPackage() bool
- func (x *KeywordCollisions) GetPublic() bool
- func (x *KeywordCollisions) GetRepeated() bool
- func (x *KeywordCollisions) GetRequired() bool
- func (x *KeywordCollisions) GetReserved() bool
- func (x *KeywordCollisions) GetRpc() bool
- func (x *KeywordCollisions) GetService() bool
- func (x *KeywordCollisions) GetSfixed32() int32
- func (x *KeywordCollisions) GetSfixed64() int64
- func (x *KeywordCollisions) GetSint32() int32
- func (x *KeywordCollisions) GetSint64() int64
- func (x *KeywordCollisions) GetString_() string
- func (x *KeywordCollisions) GetSyntax() bool
- func (x *KeywordCollisions) GetTo() bool
- func (x *KeywordCollisions) GetTrue() int32
- func (x *KeywordCollisions) GetUint32() uint32
- func (x *KeywordCollisions) GetUint64() uint64
- func (x *KeywordCollisions) GetWeak() bool
- func (*KeywordCollisions) ProtoMessage()
- func (x *KeywordCollisions) ProtoReflect() protoreflect.Message
- func (x *KeywordCollisions) Reset()
- func (x *KeywordCollisions) String() string
- type MapKeyFields
- func (*MapKeyFields) Descriptor() ([]byte, []int)deprecated
- func (x *MapKeyFields) GetI() map[int32]string
- func (x *MapKeyFields) GetJ() map[int64]string
- func (x *MapKeyFields) GetK() map[int32]string
- func (x *MapKeyFields) GetL() map[int64]string
- func (x *MapKeyFields) GetM() map[uint32]string
- func (x *MapKeyFields) GetN() map[uint64]string
- func (x *MapKeyFields) GetO() map[uint32]string
- func (x *MapKeyFields) GetP() map[uint64]string
- func (x *MapKeyFields) GetQ() map[int32]string
- func (x *MapKeyFields) GetR() map[int64]string
- func (x *MapKeyFields) GetS() map[string]string
- func (x *MapKeyFields) GetT() map[bool]string
- func (*MapKeyFields) ProtoMessage()
- func (x *MapKeyFields) ProtoReflect() protoreflect.Message
- func (x *MapKeyFields) Reset()
- func (x *MapKeyFields) String() string
- type MapValFields
- func (*MapValFields) Descriptor() ([]byte, []int)deprecated
- func (x *MapValFields) GetI() map[string]int32
- func (x *MapValFields) GetJ() map[string]int64
- func (x *MapValFields) GetK() map[string]int32
- func (x *MapValFields) GetL() map[string]int64
- func (x *MapValFields) GetM() map[string]uint32
- func (x *MapValFields) GetN() map[string]uint64
- func (x *MapValFields) GetO() map[string]uint32
- func (x *MapValFields) GetP() map[string]uint64
- func (x *MapValFields) GetQ() map[string]int32
- func (x *MapValFields) GetR() map[string]int64
- func (x *MapValFields) GetS() map[string]float32
- func (x *MapValFields) GetT() map[string]float64
- func (x *MapValFields) GetU() map[string][]byte
- func (x *MapValFields) GetV() map[string]string
- func (x *MapValFields) GetW() map[string]bool
- func (x *MapValFields) GetX() map[string]*UnaryFields
- func (x *MapValFields) GetY() map[string]TestEnum
- func (*MapValFields) ProtoMessage()
- func (x *MapValFields) ProtoReflect() protoreflect.Message
- func (x *MapValFields) Reset()
- func (x *MapValFields) String() string
- type MessageWithMap
- type MessageWithReservations
- type MoarFloats
- func (*MoarFloats) Descriptor() ([]byte, []int)deprecated
- func (x *MoarFloats) GetA() float32
- func (x *MoarFloats) GetB() float32
- func (x *MoarFloats) GetC() float32
- func (x *MoarFloats) GetD() float32
- func (x *MoarFloats) GetE() float32
- func (x *MoarFloats) GetF() float32
- func (*MoarFloats) ProtoMessage()
- func (x *MoarFloats) ProtoReflect() protoreflect.Message
- func (x *MoarFloats) Reset()
- func (x *MoarFloats) String() string
- type Number
- func (Number) Descriptor() protoreflect.EnumDescriptor
- func (x Number) Enum() *Number
- func (Number) EnumDescriptor() ([]byte, []int)deprecated
- func (x Number) Number() protoreflect.EnumNumber
- func (x Number) String() string
- func (Number) Type() protoreflect.EnumType
- func (x *Number) UnmarshalJSON(b []byte) errordeprecated
- type OneOfMessage
- func (*OneOfMessage) Descriptor() ([]byte, []int)deprecated
- func (x *OneOfMessage) GetBinaryValue() []byte
- func (x *OneOfMessage) GetBooleanValue() bool
- func (x *OneOfMessage) GetDoubleValue() float64
- func (x *OneOfMessage) GetFloatValue() float32
- func (x *OneOfMessage) GetInt64Value() int64
- func (x *OneOfMessage) GetIntValue() int32
- func (x *OneOfMessage) GetMsgValue() *OneOfMessage
- func (x *OneOfMessage) GetStringValue() string
- func (m *OneOfMessage) GetValue() isOneOfMessage_Value
- func (*OneOfMessage) ProtoMessage()
- func (x *OneOfMessage) ProtoReflect() protoreflect.Message
- func (x *OneOfMessage) Reset()
- func (x *OneOfMessage) String() string
- type OneOfMessage_BinaryValue
- type OneOfMessage_BooleanValue
- type OneOfMessage_DoubleValue
- type OneOfMessage_FloatValue
- type OneOfMessage_Int64Value
- type OneOfMessage_IntValue
- type OneOfMessage_MsgValue
- type OneOfMessage_StringValue
- type PrimitiveDefaults
- func (*PrimitiveDefaults) Descriptor() ([]byte, []int)deprecated
- func (x *PrimitiveDefaults) GetBl1() bool
- func (x *PrimitiveDefaults) GetBl2() bool
- func (x *PrimitiveDefaults) GetFl32() float32
- func (x *PrimitiveDefaults) GetFl32D() float32
- func (x *PrimitiveDefaults) GetFl32Inf() float32
- func (x *PrimitiveDefaults) GetFl32Nan() float32
- func (x *PrimitiveDefaults) GetFl32NegInf() float32
- func (x *PrimitiveDefaults) GetFl64() float64
- func (x *PrimitiveDefaults) GetFl64D() float64
- func (x *PrimitiveDefaults) GetFl64Inf() float64
- func (x *PrimitiveDefaults) GetFl64Nan() float64
- func (x *PrimitiveDefaults) GetFl64NegInf() float64
- func (x *PrimitiveDefaults) GetI32() int32
- func (x *PrimitiveDefaults) GetI32F() int32
- func (x *PrimitiveDefaults) GetI32Fn() int32
- func (x *PrimitiveDefaults) GetI32Fx() int32
- func (x *PrimitiveDefaults) GetI32Fxn() int32
- func (x *PrimitiveDefaults) GetI32N() int32
- func (x *PrimitiveDefaults) GetI32S() int32
- func (x *PrimitiveDefaults) GetI32Sn() int32
- func (x *PrimitiveDefaults) GetI32Sx() int32
- func (x *PrimitiveDefaults) GetI32Sxn() int32
- func (x *PrimitiveDefaults) GetI32X() int32
- func (x *PrimitiveDefaults) GetI32Xn() int32
- func (x *PrimitiveDefaults) GetI64() int64
- func (x *PrimitiveDefaults) GetI64F() int64
- func (x *PrimitiveDefaults) GetI64Fn() int64
- func (x *PrimitiveDefaults) GetI64Fx() int64
- func (x *PrimitiveDefaults) GetI64Fxn() int64
- func (x *PrimitiveDefaults) GetI64N() int64
- func (x *PrimitiveDefaults) GetI64S() int64
- func (x *PrimitiveDefaults) GetI64Sn() int64
- func (x *PrimitiveDefaults) GetI64Sx() int64
- func (x *PrimitiveDefaults) GetI64Sxn() int64
- func (x *PrimitiveDefaults) GetI64X() int64
- func (x *PrimitiveDefaults) GetI64Xn() int64
- func (x *PrimitiveDefaults) GetU32() uint32
- func (x *PrimitiveDefaults) GetU32F() uint32
- func (x *PrimitiveDefaults) GetU32Fx() uint32
- func (x *PrimitiveDefaults) GetU32X() uint32
- func (x *PrimitiveDefaults) GetU64() uint64
- func (x *PrimitiveDefaults) GetU64F() uint64
- func (x *PrimitiveDefaults) GetU64Fx() uint64
- func (x *PrimitiveDefaults) GetU64X() uint64
- func (*PrimitiveDefaults) ProtoMessage()
- func (x *PrimitiveDefaults) ProtoReflect() protoreflect.Message
- func (x *PrimitiveDefaults) Reset()
- func (x *PrimitiveDefaults) String() string
- type Proto3Enum
- type ReallySimpleEnum
- func (ReallySimpleEnum) Descriptor() protoreflect.EnumDescriptor
- func (x ReallySimpleEnum) Enum() *ReallySimpleEnum
- func (ReallySimpleEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x ReallySimpleEnum) Number() protoreflect.EnumNumber
- func (x ReallySimpleEnum) String() string
- func (ReallySimpleEnum) Type() protoreflect.EnumType
- func (x *ReallySimpleEnum) UnmarshalJSON(b []byte) errordeprecated
- type ReallySimpleMessage
- func (*ReallySimpleMessage) Descriptor() ([]byte, []int)deprecated
- func (x *ReallySimpleMessage) GetId() uint64
- func (x *ReallySimpleMessage) GetName() string
- func (*ReallySimpleMessage) ProtoMessage()
- func (x *ReallySimpleMessage) ProtoReflect() protoreflect.Message
- func (x *ReallySimpleMessage) Reset()
- func (x *ReallySimpleMessage) String() string
- type RepeatedFields
- func (*RepeatedFields) Descriptor() ([]byte, []int)deprecated
- func (x *RepeatedFields) GetGroupy() []*RepeatedFields_GroupY
- func (x *RepeatedFields) GetI() []int32
- func (x *RepeatedFields) GetJ() []int64
- func (x *RepeatedFields) GetK() []int32
- func (x *RepeatedFields) GetL() []int64
- func (x *RepeatedFields) GetM() []uint32
- func (x *RepeatedFields) GetN() []uint64
- func (x *RepeatedFields) GetO() []uint32
- func (x *RepeatedFields) GetP() []uint64
- func (x *RepeatedFields) GetQ() []int32
- func (x *RepeatedFields) GetR() []int64
- func (x *RepeatedFields) GetS() []float32
- func (x *RepeatedFields) GetT() []float64
- func (x *RepeatedFields) GetU() [][]byte
- func (x *RepeatedFields) GetV() []string
- func (x *RepeatedFields) GetW() []bool
- func (x *RepeatedFields) GetX() []*UnaryFields
- func (x *RepeatedFields) GetZ() []TestEnum
- func (*RepeatedFields) ProtoMessage()
- func (x *RepeatedFields) ProtoReflect() protoreflect.Message
- func (x *RepeatedFields) Reset()
- func (x *RepeatedFields) String() string
- type RepeatedFields_GroupY
- func (*RepeatedFields_GroupY) Descriptor() ([]byte, []int)deprecated
- func (x *RepeatedFields_GroupY) GetYa() string
- func (x *RepeatedFields_GroupY) GetYb() int32
- func (*RepeatedFields_GroupY) ProtoMessage()
- func (x *RepeatedFields_GroupY) ProtoReflect() protoreflect.Message
- func (x *RepeatedFields_GroupY) Reset()
- func (x *RepeatedFields_GroupY) String() string
- type RepeatedPackedFields
- func (*RepeatedPackedFields) Descriptor() ([]byte, []int)deprecated
- func (x *RepeatedPackedFields) GetGroupy() []*RepeatedPackedFields_GroupY
- func (x *RepeatedPackedFields) GetI() []int32
- func (x *RepeatedPackedFields) GetJ() []int64
- func (x *RepeatedPackedFields) GetK() []int32
- func (x *RepeatedPackedFields) GetL() []int64
- func (x *RepeatedPackedFields) GetM() []uint32
- func (x *RepeatedPackedFields) GetN() []uint64
- func (x *RepeatedPackedFields) GetO() []uint32
- func (x *RepeatedPackedFields) GetP() []uint64
- func (x *RepeatedPackedFields) GetQ() []int32
- func (x *RepeatedPackedFields) GetR() []int64
- func (x *RepeatedPackedFields) GetS() []float32
- func (x *RepeatedPackedFields) GetT() []float64
- func (x *RepeatedPackedFields) GetU() []bool
- func (x *RepeatedPackedFields) GetV() []TestEnum
- func (*RepeatedPackedFields) ProtoMessage()
- func (x *RepeatedPackedFields) ProtoReflect() protoreflect.Message
- func (x *RepeatedPackedFields) Reset()
- func (x *RepeatedPackedFields) String() string
- type RepeatedPackedFields_GroupY
- func (*RepeatedPackedFields_GroupY) Descriptor() ([]byte, []int)deprecated
- func (x *RepeatedPackedFields_GroupY) GetYb() []int32
- func (*RepeatedPackedFields_GroupY) ProtoMessage()
- func (x *RepeatedPackedFields_GroupY) ProtoReflect() protoreflect.Message
- func (x *RepeatedPackedFields_GroupY) Reset()
- func (x *RepeatedPackedFields_GroupY) String() string
- type Requestdeprecated
- func (*Request) Descriptor() ([]byte, []int)deprecated
- func (*Request) ExtensionRangeArray() []protoiface.ExtensionRangeV1deprecated
- func (m *Request) GetAbc() isRequest_Abc
- func (x *Request) GetExtras() *Request_Extras
- func (x *Request) GetIds() []int32
- func (x *Request) GetName() string
- func (x *Request) GetThat() int32
- func (x *Request) GetThese() string
- func (x *Request) GetThings() map[string]string
- func (x *Request) GetThis() string
- func (x *Request) GetThose() int32
- func (m *Request) GetXyz() isRequest_Xyz
- func (*Request) ProtoMessage()
- func (x *Request) ProtoReflect() protoreflect.Message
- func (x *Request) Reset()
- func (x *Request) String() string
- type Request_Extras
- func (*Request_Extras) Descriptor() ([]byte, []int)deprecated
- func (x *Request_Extras) GetDbl() float64
- func (x *Request_Extras) GetFlt() float32
- func (x *Request_Extras) GetStr() string
- func (*Request_Extras) ProtoMessage()
- func (x *Request_Extras) ProtoReflect() protoreflect.Message
- func (x *Request_Extras) Reset()
- func (x *Request_Extras) String() string
- type Request_MarioCharacters
- func (Request_MarioCharacters) Descriptor() protoreflect.EnumDescriptor
- func (x Request_MarioCharacters) Enum() *Request_MarioCharacters
- func (Request_MarioCharacters) EnumDescriptor() ([]byte, []int)deprecated
- func (x Request_MarioCharacters) Number() protoreflect.EnumNumber
- func (x Request_MarioCharacters) String() string
- func (Request_MarioCharacters) Type() protoreflect.EnumType
- func (x *Request_MarioCharacters) UnmarshalJSON(b []byte) errordeprecated
- type Request_That
- type Request_These
- type Request_This
- type Request_Those
- type RpcServiceClient
- type RpcServiceServer
- type RpcService_StreamingRpcClient
- type RpcService_StreamingRpcServer
- type Rule
- func (*Rule) Descriptor() ([]byte, []int)deprecated
- func (x *Rule) GetFloatrule() *Rule_FloatRule
- func (x *Rule) GetInt() *Rule_IntRule
- func (x *Rule) GetRepeated() *Rule_RepeatedRule
- func (m *Rule) GetRule() isRule_Rule
- func (x *Rule) GetString_() *Rule_StringRule
- func (*Rule) ProtoMessage()
- func (x *Rule) ProtoReflect() protoreflect.Message
- func (x *Rule) Reset()
- func (x *Rule) String() string
- type Rule_FloatRule
- func (*Rule_FloatRule) Descriptor() ([]byte, []int)deprecated
- func (x *Rule_FloatRule) GetMaxVal() float64
- func (x *Rule_FloatRule) GetMinVal() float64
- func (*Rule_FloatRule) ProtoMessage()
- func (x *Rule_FloatRule) ProtoReflect() protoreflect.Message
- func (x *Rule_FloatRule) Reset()
- func (x *Rule_FloatRule) String() string
- type Rule_Floatrule
- type Rule_Int
- type Rule_IntRule
- func (*Rule_IntRule) Descriptor() ([]byte, []int)deprecated
- func (x *Rule_IntRule) GetMaxVal() uint64
- func (x *Rule_IntRule) GetMinVal() int64
- func (*Rule_IntRule) ProtoMessage()
- func (x *Rule_IntRule) ProtoReflect() protoreflect.Message
- func (x *Rule_IntRule) Reset()
- func (x *Rule_IntRule) String() string
- type Rule_Repeated
- type Rule_RepeatedRule
- func (*Rule_RepeatedRule) Descriptor() ([]byte, []int)deprecated
- func (x *Rule_RepeatedRule) GetAllowEmpty() bool
- func (x *Rule_RepeatedRule) GetItems() *Rule
- func (x *Rule_RepeatedRule) GetMaxItems() int32
- func (x *Rule_RepeatedRule) GetMinItems() int32
- func (*Rule_RepeatedRule) ProtoMessage()
- func (x *Rule_RepeatedRule) ProtoReflect() protoreflect.Message
- func (x *Rule_RepeatedRule) Reset()
- func (x *Rule_RepeatedRule) String() string
- type Rule_StringRule
- func (*Rule_StringRule) Descriptor() ([]byte, []int)deprecated
- func (x *Rule_StringRule) GetAllowEmpty() bool
- func (x *Rule_StringRule) GetMaxLen() int32
- func (x *Rule_StringRule) GetMinLen() int32
- func (x *Rule_StringRule) GetPattern() string
- func (*Rule_StringRule) ProtoMessage()
- func (x *Rule_StringRule) ProtoReflect() protoreflect.Message
- func (x *Rule_StringRule) Reset()
- func (x *Rule_StringRule) String() string
- type Rule_String_
- type Simple
- type SimpleValue
- type StringAndBytesDefaults
- func (*StringAndBytesDefaults) Descriptor() ([]byte, []int)deprecated
- func (x *StringAndBytesDefaults) GetBytesWithZero() []byte
- func (x *StringAndBytesDefaults) GetDq() string
- func (x *StringAndBytesDefaults) GetEscapedBytes() []byte
- func (x *StringAndBytesDefaults) GetReallyLongString() string
- func (x *StringAndBytesDefaults) GetSq() string
- func (x *StringAndBytesDefaults) GetStringWithZero() string
- func (x *StringAndBytesDefaults) GetUtf8String() string
- func (*StringAndBytesDefaults) ProtoMessage()
- func (x *StringAndBytesDefaults) ProtoReflect() protoreflect.Message
- func (x *StringAndBytesDefaults) Reset()
- func (x *StringAndBytesDefaults) String() string
- type Test
- func (*Test) Descriptor() ([]byte, []int)deprecated
- func (*Test) ExtensionRangeArray() []protoiface.ExtensionRangeV1deprecated
- func (x *Test) GetArray() []int32
- func (x *Test) GetB() []byte
- func (x *Test) GetFoo() string
- func (x *Test) GetM() map[string]int32
- func (x *Test) GetR() []*Simple
- func (x *Test) GetS() *Simple
- func (*Test) ProtoMessage()
- func (x *Test) ProtoReflect() protoreflect.Message
- func (x *Test) Reset()
- func (x *Test) String() string
- type TestEnum
- func (TestEnum) Descriptor() protoreflect.EnumDescriptor
- func (x TestEnum) Enum() *TestEnum
- func (TestEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x TestEnum) Number() protoreflect.EnumNumber
- func (x TestEnum) String() string
- func (TestEnum) Type() protoreflect.EnumType
- func (x *TestEnum) UnmarshalJSON(b []byte) errordeprecated
- type TestMessage
- func (*TestMessage) Descriptor() ([]byte, []int)deprecated
- func (x *TestMessage) GetAnm() *TestMessage_NestedMessage_AnotherNestedMessage
- func (x *TestMessage) GetNe() []TestMessage_NestedEnum
- func (x *TestMessage) GetNm() *TestMessage_NestedMessage
- func (x *TestMessage) GetYanm() *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage
- func (*TestMessage) ProtoMessage()
- func (x *TestMessage) ProtoReflect() protoreflect.Message
- func (x *TestMessage) Reset()
- func (x *TestMessage) String() string
- type TestMessage_NestedEnum
- func (TestMessage_NestedEnum) Descriptor() protoreflect.EnumDescriptor
- func (x TestMessage_NestedEnum) Enum() *TestMessage_NestedEnum
- func (TestMessage_NestedEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x TestMessage_NestedEnum) Number() protoreflect.EnumNumber
- func (x TestMessage_NestedEnum) String() string
- func (TestMessage_NestedEnum) Type() protoreflect.EnumType
- func (x *TestMessage_NestedEnum) UnmarshalJSON(b []byte) errordeprecated
- type TestMessage_NestedMessage
- func (*TestMessage_NestedMessage) Descriptor() ([]byte, []int)deprecated
- func (x *TestMessage_NestedMessage) GetAnm() *TestMessage_NestedMessage_AnotherNestedMessage
- func (x *TestMessage_NestedMessage) GetYanm() *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage
- func (*TestMessage_NestedMessage) ProtoMessage()
- func (x *TestMessage_NestedMessage) ProtoReflect() protoreflect.Message
- func (x *TestMessage_NestedMessage) Reset()
- func (x *TestMessage_NestedMessage) String() string
- type TestMessage_NestedMessage_AnotherNestedMessage
- func (*TestMessage_NestedMessage_AnotherNestedMessage) Descriptor() ([]byte, []int)deprecated
- func (x *TestMessage_NestedMessage_AnotherNestedMessage) GetYanm() []*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage
- func (*TestMessage_NestedMessage_AnotherNestedMessage) ProtoMessage()
- func (x *TestMessage_NestedMessage_AnotherNestedMessage) ProtoReflect() protoreflect.Message
- func (x *TestMessage_NestedMessage_AnotherNestedMessage) Reset()
- func (x *TestMessage_NestedMessage_AnotherNestedMessage) String() string
- type TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage
- func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) Descriptor() ([]byte, []int)deprecated
- func (x *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) GetAnm() *TestMessage_NestedMessage_AnotherNestedMessage
- func (x *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) GetBar() int32
- func (x *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) GetBaz() []byte
- func (x *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) GetDne() ...
- func (x *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) GetFoo() string
- func (x *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) GetNm() *TestMessage_NestedMessage
- func (x *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) GetTm() *TestMessage
- func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) ProtoMessage()
- func (x *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) ProtoReflect() protoreflect.Message
- func (x *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) Reset()
- func (x *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) String() string
- type TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum
- func (TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum) Descriptor() protoreflect.EnumDescriptor
- func (x TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum) Enum() ...
- func (TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum) Number() protoreflect.EnumNumber
- func (x TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum) String() string
- func (TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum) Type() protoreflect.EnumType
- func (x *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum) UnmarshalJSON(b []byte) errordeprecated
- type TestRequest
- func (*TestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TestRequest) GetBar() string
- func (x *TestRequest) GetBaz() *TestMessage
- func (x *TestRequest) GetFlags() map[string]bool
- func (x *TestRequest) GetFoo() []Proto3Enum
- func (x *TestRequest) GetOthers() map[string]*TestMessage
- func (x *TestRequest) GetSnafu() *TestMessage_NestedMessage_AnotherNestedMessage
- func (*TestRequest) ProtoMessage()
- func (x *TestRequest) ProtoReflect() protoreflect.Message
- func (x *TestRequest) Reset()
- func (x *TestRequest) String() string
- type TestResponse
- func (*TestResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TestResponse) GetAtm() *AnotherTestMessage
- func (x *TestResponse) GetVs() []int32
- func (*TestResponse) ProtoMessage()
- func (x *TestResponse) ProtoReflect() protoreflect.Message
- func (x *TestResponse) Reset()
- func (x *TestResponse) String() string
- 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)deprecated
- func (x *TestWellKnownTypes) GetBl() *wrapperspb.BoolValue
- func (x *TestWellKnownTypes) GetByt() *wrapperspb.BytesValue
- func (x *TestWellKnownTypes) GetDbl() *wrapperspb.DoubleValue
- func (x *TestWellKnownTypes) GetElapsed() *durationpb.Duration
- func (x *TestWellKnownTypes) GetExtras() []*anypb.Any
- func (x *TestWellKnownTypes) GetFlt() *wrapperspb.FloatValue
- func (x *TestWellKnownTypes) GetI32() *wrapperspb.Int32Value
- func (x *TestWellKnownTypes) GetI64() *wrapperspb.Int64Value
- func (x *TestWellKnownTypes) GetJson() []*structpb.Value
- func (x *TestWellKnownTypes) GetStartTime() *timestamppb.Timestamp
- func (x *TestWellKnownTypes) GetStr() *wrapperspb.StringValue
- func (x *TestWellKnownTypes) GetU32() *wrapperspb.UInt32Value
- func (x *TestWellKnownTypes) GetU64() *wrapperspb.UInt64Value
- func (*TestWellKnownTypes) ProtoMessage()
- func (x *TestWellKnownTypes) ProtoReflect() protoreflect.Message
- func (x *TestWellKnownTypes) Reset()
- func (x *TestWellKnownTypes) String() string
- type Test_Nested
- type Test_Nested_XNestedNested
- type Test_Nested_XNestedNested_EEE
- func (Test_Nested_XNestedNested_EEE) Descriptor() protoreflect.EnumDescriptor
- func (x Test_Nested_XNestedNested_EEE) Enum() *Test_Nested_XNestedNested_EEE
- func (Test_Nested_XNestedNested_EEE) EnumDescriptor() ([]byte, []int)deprecated
- func (x Test_Nested_XNestedNested_EEE) Number() protoreflect.EnumNumber
- func (x Test_Nested_XNestedNested_EEE) String() string
- func (Test_Nested_XNestedNested_EEE) Type() protoreflect.EnumType
- func (x *Test_Nested_XNestedNested_EEE) UnmarshalJSON(b []byte) errordeprecated
- type Test_Nested_XNestedNested_NestedNestedNested
- func (*Test_Nested_XNestedNested_NestedNestedNested) Descriptor() ([]byte, []int)deprecated
- func (x *Test_Nested_XNestedNested_NestedNestedNested) GetTest() *Test
- func (*Test_Nested_XNestedNested_NestedNestedNested) ProtoMessage()
- func (x *Test_Nested_XNestedNested_NestedNestedNested) ProtoReflect() protoreflect.Message
- func (x *Test_Nested_XNestedNested_NestedNestedNested) Reset()
- func (x *Test_Nested_XNestedNested_NestedNestedNested) String() string
- type UnaryFields
- func (*UnaryFields) Descriptor() ([]byte, []int)deprecated
- func (x *UnaryFields) GetGroupy() *UnaryFields_GroupY
- func (x *UnaryFields) GetI() int32
- func (x *UnaryFields) GetJ() int64
- func (x *UnaryFields) GetK() int32
- func (x *UnaryFields) GetL() int64
- func (x *UnaryFields) GetM() uint32
- func (x *UnaryFields) GetN() uint64
- func (x *UnaryFields) GetO() uint32
- func (x *UnaryFields) GetP() uint64
- func (x *UnaryFields) GetQ() int32
- func (x *UnaryFields) GetR() int64
- func (x *UnaryFields) GetS() float32
- func (x *UnaryFields) GetT() float64
- func (x *UnaryFields) GetU() []byte
- func (x *UnaryFields) GetV() string
- func (x *UnaryFields) GetW() bool
- func (x *UnaryFields) GetX() *RepeatedFields
- func (x *UnaryFields) GetZ() TestEnum
- func (*UnaryFields) ProtoMessage()
- func (x *UnaryFields) ProtoReflect() protoreflect.Message
- func (x *UnaryFields) Reset()
- func (x *UnaryFields) String() string
- type UnaryFields_GroupY
- func (*UnaryFields_GroupY) Descriptor() ([]byte, []int)deprecated
- func (x *UnaryFields_GroupY) GetYa() string
- func (x *UnaryFields_GroupY) GetYb() int32
- func (*UnaryFields_GroupY) ProtoMessage()
- func (x *UnaryFields_GroupY) ProtoReflect() protoreflect.Message
- func (x *UnaryFields_GroupY) Reset()
- func (x *UnaryFields_GroupY) String() string
- type UnimplementedRpcServiceServer
- type UnimplementedTestServiceServer
- func (*UnimplementedTestServiceServer) DoSomething(context.Context, *TestRequest) (*pkg.Bar, error)
- func (*UnimplementedTestServiceServer) DoSomethingAgain(*pkg.Bar, TestService_DoSomethingAgainServer) error
- func (*UnimplementedTestServiceServer) DoSomethingElse(TestService_DoSomethingElseServer) error
- func (*UnimplementedTestServiceServer) DoSomethingForever(TestService_DoSomethingForeverServer) error
- type UnimplementedTestTestServiceServer
- type Validator
- func (*Validator) Descriptor() ([]byte, []int)deprecated
- func (x *Validator) GetAuthenticated() bool
- func (x *Validator) GetPermission() []*Validator_Permission
- func (*Validator) ProtoMessage()
- func (x *Validator) ProtoReflect() protoreflect.Message
- func (x *Validator) Reset()
- func (x *Validator) String() string
- type Validator_Action
- func (Validator_Action) Descriptor() protoreflect.EnumDescriptor
- func (x Validator_Action) Enum() *Validator_Action
- func (Validator_Action) EnumDescriptor() ([]byte, []int)deprecated
- func (x Validator_Action) Number() protoreflect.EnumNumber
- func (x Validator_Action) String() string
- func (Validator_Action) Type() protoreflect.EnumType
- func (x *Validator_Action) UnmarshalJSON(b []byte) errordeprecated
- type Validator_Permission
- func (*Validator_Permission) Descriptor() ([]byte, []int)deprecated
- func (x *Validator_Permission) GetAction() Validator_Action
- func (x *Validator_Permission) GetEntity() string
- func (*Validator_Permission) ProtoMessage()
- func (x *Validator_Permission) ProtoReflect() protoreflect.Message
- func (x *Validator_Permission) Reset()
- func (x *Validator_Permission) String() string
- type Whatchamacallit
- type Whatzit
Constants ¶
const ( Default_PrimitiveDefaults_Fl32 = float32(3.141590118408203) Default_PrimitiveDefaults_Fl64 = float64(3.14159) Default_PrimitiveDefaults_Fl32D = float32(6.022141003837819e+23) Default_PrimitiveDefaults_Fl64D = float64(6.022140857e+23) Default_PrimitiveDefaults_Bl1 = bool(true) Default_PrimitiveDefaults_Bl2 = bool(false) Default_PrimitiveDefaults_I32 = int32(10101) Default_PrimitiveDefaults_I32N = int32(-10101) Default_PrimitiveDefaults_I32X = int32(131586) Default_PrimitiveDefaults_I32Xn = int32(-131586) Default_PrimitiveDefaults_I64 = int64(10101) Default_PrimitiveDefaults_I64N = int64(-10101) Default_PrimitiveDefaults_I64X = int64(131586) Default_PrimitiveDefaults_I64Xn = int64(-131586) Default_PrimitiveDefaults_I32S = int32(10101) Default_PrimitiveDefaults_I32Sn = int32(-10101) Default_PrimitiveDefaults_I32Sx = int32(131586) Default_PrimitiveDefaults_I32Sxn = int32(-131586) Default_PrimitiveDefaults_I64S = int64(10101) Default_PrimitiveDefaults_I64Sn = int64(-10101) Default_PrimitiveDefaults_I64Sx = int64(131586) Default_PrimitiveDefaults_I64Sxn = int64(-131586) Default_PrimitiveDefaults_I32F = int32(10101) Default_PrimitiveDefaults_I32Fn = int32(-10101) Default_PrimitiveDefaults_I32Fx = int32(131586) Default_PrimitiveDefaults_I32Fxn = int32(-131586) Default_PrimitiveDefaults_I64F = int64(10101) Default_PrimitiveDefaults_I64Fn = int64(-10101) Default_PrimitiveDefaults_I64Fx = int64(131586) Default_PrimitiveDefaults_I64Fxn = int64(-131586) Default_PrimitiveDefaults_U32 = uint32(10101) Default_PrimitiveDefaults_U32X = uint32(131586) Default_PrimitiveDefaults_U64 = uint64(10101) Default_PrimitiveDefaults_U64X = uint64(131586) Default_PrimitiveDefaults_U32F = uint32(10101) Default_PrimitiveDefaults_U32Fx = uint32(131586) Default_PrimitiveDefaults_U64F = uint64(10101) Default_PrimitiveDefaults_U64Fx = uint64(131586) )
Default values for PrimitiveDefaults fields.
const ( Default_StringAndBytesDefaults_Dq = string("this is a string with \"nested quotes\"") Default_StringAndBytesDefaults_Sq = string("this is a string with \"nested quotes\"") Default_StringAndBytesDefaults_Utf8String = string("ሴ") Default_StringAndBytesDefaults_StringWithZero = string("hel\x00lo") Default_StringAndBytesDefaults_ReallyLongString = string("this is a really long string constant, so it spans multiple lines! it also tests support for multi-line string literals in option values") )
Default values for StringAndBytesDefaults fields.
const ( Default_EnumDefaults_Red = Color_RED Default_EnumDefaults_Green = Color_GREEN Default_EnumDefaults_Blue = Color_BLUE Default_EnumDefaults_Zero = Number_ZERO Default_EnumDefaults_Zed = Number_ZED Default_EnumDefaults_One = Number_ONE Default_EnumDefaults_Dos = Number_DOS )
Default values for EnumDefaults fields.
const ( Default_MoarFloats_A = float32(1) Default_MoarFloats_B = float32(1) Default_MoarFloats_C = float32(1.0099999904632568) Default_MoarFloats_D = float32(0.10000000149011612) Default_MoarFloats_E = float32(100000) Default_MoarFloats_F = float32(9.999999747378752e-06) )
Default values for MoarFloats fields.
const (
Default_Another_Fff = Test_Nested_XNestedNested_V1
)
Default values for Another fields.
const (
Default_Frobnitz_E = TestMessage_VALUE2
)
Default values for Frobnitz fields.
const (
Default_Request_Name = string("fubar")
)
Default values for Request fields.
Variables ¶
var ( TestMessage_NestedEnum_name = map[int32]string{ 1: "VALUE1", 2: "VALUE2", } TestMessage_NestedEnum_value = map[string]int32{ "VALUE1": 1, "VALUE2": 2, } )
Enum value maps for TestMessage_NestedEnum.
var ( TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum_name = map[int32]string{ 1: "VALUE1", 2: "VALUE2", } TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum_value = map[string]int32{ "VALUE1": 1, "VALUE2": 2, } )
Enum value maps for TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum.
var ( // Comment for xtm // // optional testprotos.TestMessage xtm = 100; E_Xtm = &file_desc_test1_proto_extTypes[0] // Comment for xs // // optional string xs = 101; E_Xs = &file_desc_test1_proto_extTypes[1] // Comment for xi // // optional int32 xi = 102; E_Xi = &file_desc_test1_proto_extTypes[2] // Comment for xui // // optional uint64 xui = 103; E_Xui = &file_desc_test1_proto_extTypes[3] // Comment for flags // // repeated bool flags = 200; E_TestMessage_NestedMessage_AnotherNestedMessage_Flags = &file_desc_test1_proto_extTypes[4] )
Extension fields to AnotherTestMessage.
var ( // optional TopLevel otl = 100; E_Otl = &file_desc_test2_proto_extTypes[0] // optional testprotos.GroupX groupx = 104; E_Groupx = &file_desc_test2_proto_extTypes[1] )
Extension fields to nopkg.TopLevel.
var ( Request_MarioCharacters_name = map[int32]string{ 1: "MARIO", 2: "LUIGI", 3: "PEACH", 4: "BOWSER", 5: "WARIO", 6: "WALUIGI", 7: "SHY_GUY", 8: "MAGIKOOPA", -101: "SNIFIT", } Request_MarioCharacters_value = map[string]int32{ "MARIO": 1, "LUIGI": 2, "PEACH": 3, "BOWSER": 4, "WARIO": 5, "WALUIGI": 6, "SHY_GUY": 7, "HEY_HO": 7, "MAGIKOOPA": 8, "KAMEK": 8, "SNIFIT": -101, } )
Enum value maps for Request_MarioCharacters.
var ( // comment for guid1 // // optional uint64 guid1 = 123; E_Guid1 = &file_desc_test_comments_proto_extTypes[0] // ... and a comment for guid2 // // optional uint64 guid2 = 124; E_Guid2 = &file_desc_test_comments_proto_extTypes[1] )
Extension fields to Request.
var ( EnumWithReservations_name = map[int32]string{ 2: "X", 3: "Y", 4: "Z", } EnumWithReservations_value = map[string]int32{ "X": 2, "Y": 3, "Z": 4, } )
Enum value maps for EnumWithReservations.
var ( Test_Nested_XNestedNested_EEE_name = map[int32]string{ 0: "OK", 1: "V1", 2: "V2", 3: "V3", 4: "V4", 5: "V5", 6: "V6", } Test_Nested_XNestedNested_EEE_value = map[string]int32{ "OK": 0, "V1": 1, "V2": 2, "V3": 3, "V4": 4, "V5": 5, "V6": 6, } )
Enum value maps for Test_Nested_XNestedNested_EEE.
var ( Validator_Action_name = map[int32]string{ 0: "LOGIN", 1: "READ", 2: "WRITE", } Validator_Action_value = map[string]int32{ "LOGIN": 0, "READ": 1, "WRITE": 2, } )
Enum value maps for Validator_Action.
var ( // repeated foo.bar.Test rept = 20002; E_Rept = &file_desc_test_complex_proto_extTypes[1] // optional foo.bar.Test.Nested._NestedNested.EEE eee = 20010; E_Eee = &file_desc_test_complex_proto_extTypes[2] // optional foo.bar.Another a = 20020; E_A = &file_desc_test_complex_proto_extTypes[3] // optional foo.bar.MessageWithMap map_vals = 20030; E_MapVals = &file_desc_test_complex_proto_extTypes[4] // optional int32 fooblez = 20003; E_Test_Nested_Fooblez = &file_desc_test_complex_proto_extTypes[43] )
Extension fields to descriptorpb.MessageOptions.
var ( // optional foo.bar.Rule rules = 1234; E_Rules = &file_desc_test_complex_proto_extTypes[6] // optional bool syntax = 20001; E_Syntax = &file_desc_test_complex_proto_extTypes[7] // optional bool import = 20002; E_Import = &file_desc_test_complex_proto_extTypes[8] // optional bool public = 20003; E_Public = &file_desc_test_complex_proto_extTypes[9] // optional bool weak = 20004; E_Weak = &file_desc_test_complex_proto_extTypes[10] // optional bool package = 20005; E_Package = &file_desc_test_complex_proto_extTypes[11] // optional string string = 20006; E_String = &file_desc_test_complex_proto_extTypes[12] // optional bytes bytes = 20007; E_Bytes = &file_desc_test_complex_proto_extTypes[13] // optional int32 int32 = 20008; E_Int32 = &file_desc_test_complex_proto_extTypes[14] // optional int64 int64 = 20009; E_Int64 = &file_desc_test_complex_proto_extTypes[15] // optional uint32 uint32 = 20010; E_Uint32 = &file_desc_test_complex_proto_extTypes[16] // optional uint64 uint64 = 20011; E_Uint64 = &file_desc_test_complex_proto_extTypes[17] // optional sint32 sint32 = 20012; E_Sint32 = &file_desc_test_complex_proto_extTypes[18] // optional sint64 sint64 = 20013; E_Sint64 = &file_desc_test_complex_proto_extTypes[19] // optional fixed32 fixed32 = 20014; E_Fixed32 = &file_desc_test_complex_proto_extTypes[20] // optional fixed64 fixed64 = 20015; E_Fixed64 = &file_desc_test_complex_proto_extTypes[21] // optional sfixed32 sfixed32 = 20016; E_Sfixed32 = &file_desc_test_complex_proto_extTypes[22] // optional sfixed64 sfixed64 = 20017; E_Sfixed64 = &file_desc_test_complex_proto_extTypes[23] // optional bool bool = 20018; E_Bool = &file_desc_test_complex_proto_extTypes[24] // optional float float = 20019; E_Float = &file_desc_test_complex_proto_extTypes[25] // optional double double = 20020; E_Double = &file_desc_test_complex_proto_extTypes[26] // optional bool optional = 20021; E_Optional = &file_desc_test_complex_proto_extTypes[27] // optional bool repeated = 20022; E_Repeated = &file_desc_test_complex_proto_extTypes[28] // optional bool required = 20023; E_Required = &file_desc_test_complex_proto_extTypes[29] // optional bool message = 20024; E_Message = &file_desc_test_complex_proto_extTypes[30] // optional bool enum = 20025; E_Enum = &file_desc_test_complex_proto_extTypes[31] // optional bool service = 20026; E_Service = &file_desc_test_complex_proto_extTypes[32] // optional bool rpc = 20027; E_Rpc = &file_desc_test_complex_proto_extTypes[33] // optional bool option = 20028; E_Option = &file_desc_test_complex_proto_extTypes[34] // optional bool extend = 20029; E_Extend = &file_desc_test_complex_proto_extTypes[35] // optional bool extensions = 20030; E_Extensions = &file_desc_test_complex_proto_extTypes[36] // optional bool reserved = 20031; E_Reserved = &file_desc_test_complex_proto_extTypes[37] // optional bool to = 20032; E_To = &file_desc_test_complex_proto_extTypes[38] // optional int32 true = 20033; E_True = &file_desc_test_complex_proto_extTypes[39] // optional int32 false = 20034; E_False = &file_desc_test_complex_proto_extTypes[40] // optional int32 default = 20035; E_Default = &file_desc_test_complex_proto_extTypes[41] // optional foo.bar.KeywordCollisions boom = 20036; E_Boom = &file_desc_test_complex_proto_extTypes[42] )
Extension fields to descriptorpb.FieldOptions.
var ( Color_name = map[int32]string{ 0: "RED", 1: "GREEN", 2: "BLUE", } Color_value = map[string]int32{ "RED": 0, "GREEN": 1, "BLUE": 2, } )
Enum value maps for Color.
var ( Number_name = map[int32]string{ 0: "ZERO", 1: "ONE", 2: "TWO", } Number_value = map[string]int32{ "ZERO": 0, "ZED": 0, "NIL": 0, "NULL": 0, "ONE": 1, "UNO": 1, "TWO": 2, "DOS": 2, } )
Enum value maps for Number.
var ( Default_PrimitiveDefaults_Fl32Inf = float32(math.Inf(+1)) Default_PrimitiveDefaults_Fl64Inf = float64(math.Inf(+1)) Default_PrimitiveDefaults_Fl32NegInf = float32(math.Inf(-1)) Default_PrimitiveDefaults_Fl64NegInf = float64(math.Inf(-1)) Default_PrimitiveDefaults_Fl32Nan = float32(math.NaN()) Default_PrimitiveDefaults_Fl64Nan = float64(math.NaN()) )
Default values for PrimitiveDefaults fields.
var ( Default_StringAndBytesDefaults_EscapedBytes = []byte("\x00\x01\a\b\f\n\r\t\v\\'\"\xfe") Default_StringAndBytesDefaults_BytesWithZero = []byte("wor\x00ld") )
Default values for StringAndBytesDefaults fields.
var ( TestEnum_name = map[int32]string{ 0: "INVALID", 1: "FIRST", 2: "SECOND", 3: "THIRD", } TestEnum_value = map[string]int32{ "INVALID": 0, "FIRST": 1, "SECOND": 2, "THIRD": 3, } )
Enum value maps for TestEnum.
var ( ReallySimpleEnum_name = map[int32]string{ 1: "VALUE", } ReallySimpleEnum_value = map[string]int32{ "VALUE": 1, } )
Enum value maps for ReallySimpleEnum.
var ( // repeated string ffubar = 10101; E_Ffubar = &file_desc_test_options_proto_extTypes[1] // optional bytes ffubarb = 10102; E_Ffubarb = &file_desc_test_options_proto_extTypes[2] )
Extension fields to descriptorpb.FieldOptions.
var ( // optional int32 efubar = 10101; E_Efubar = &file_desc_test_options_proto_extTypes[3] // optional sint32 efubars = 10102; E_Efubars = &file_desc_test_options_proto_extTypes[4] // optional sfixed32 efubarsf = 10103; E_Efubarsf = &file_desc_test_options_proto_extTypes[5] // optional uint32 efubaru = 10104; E_Efubaru = &file_desc_test_options_proto_extTypes[6] // optional fixed32 efubaruf = 10105; E_Efubaruf = &file_desc_test_options_proto_extTypes[7] )
Extension fields to descriptorpb.EnumOptions.
var ( // optional int64 evfubar = 10101; E_Evfubar = &file_desc_test_options_proto_extTypes[8] // optional sint64 evfubars = 10102; E_Evfubars = &file_desc_test_options_proto_extTypes[9] // optional sfixed64 evfubarsf = 10103; E_Evfubarsf = &file_desc_test_options_proto_extTypes[10] // optional uint64 evfubaru = 10104; E_Evfubaru = &file_desc_test_options_proto_extTypes[11] // optional fixed64 evfubaruf = 10105; E_Evfubaruf = &file_desc_test_options_proto_extTypes[12] )
Extension fields to descriptorpb.EnumValueOptions.
var ( // optional testprotos.ReallySimpleMessage sfubar = 10101; E_Sfubar = &file_desc_test_options_proto_extTypes[13] // optional testprotos.ReallySimpleEnum sfubare = 10102; E_Sfubare = &file_desc_test_options_proto_extTypes[14] )
Extension fields to descriptorpb.ServiceOptions.
var ( // repeated float mtfubar = 10101; E_Mtfubar = &file_desc_test_options_proto_extTypes[15] // optional double mtfubard = 10102; E_Mtfubard = &file_desc_test_options_proto_extTypes[16] )
Extension fields to descriptorpb.MethodOptions.
var ( // repeated string exfubar = 10101; E_Exfubar = &file_desc_test_options_proto_extTypes[17] // optional bytes exfubarb = 10102; E_Exfubarb = &file_desc_test_options_proto_extTypes[18] )
Extension fields to descriptorpb.ExtensionRangeOptions.
var ( // repeated string oofubar = 10101; E_Oofubar = &file_desc_test_options_proto_extTypes[19] // optional bytes oofubarb = 10102; E_Oofubarb = &file_desc_test_options_proto_extTypes[20] )
Extension fields to descriptorpb.OneofOptions.
var ( Proto3Enum_name = map[int32]string{ 0: "UNKNOWN", 1: "VALUE1", 2: "VALUE2", } Proto3Enum_value = map[string]int32{ "UNKNOWN": 0, "VALUE1": 1, "VALUE2": 2, } )
Enum value maps for Proto3Enum.
var (
Default_Test_B = []byte("\x00\x01\x02\x03\x04\x05\x06\afubar!")
)
Default values for Test fields.
var (
// optional string label = 20000;
E_Label = &file_desc_test_complex_proto_extTypes[0]
)
Extension fields to descriptorpb.ExtensionRangeOptions.
var (
// optional bool mfubar = 10101;
E_Mfubar = &file_desc_test_options_proto_extTypes[0]
)
Extension fields to descriptorpb.MessageOptions.
var (
// optional string _garblez = 100;
E_Test_Nested_XNestedNested_XGarblez = &file_desc_test_complex_proto_extTypes[44]
)
Extension fields to Test.
var (
// optional foo.bar.Validator validator = 12345;
E_Validator = &file_desc_test_complex_proto_extTypes[5]
)
Extension fields to descriptorpb.MethodOptions.
var File_desc_test1_proto protoreflect.FileDescriptor
var File_desc_test2_proto protoreflect.FileDescriptor
var File_desc_test_comments_proto protoreflect.FileDescriptor
var File_desc_test_complex_proto protoreflect.FileDescriptor
var File_desc_test_defaults_proto protoreflect.FileDescriptor
var File_desc_test_field_types_proto protoreflect.FileDescriptor
var File_desc_test_oneof_proto protoreflect.FileDescriptor
var File_desc_test_options_proto protoreflect.FileDescriptor
var File_desc_test_proto3_proto protoreflect.FileDescriptor
var File_desc_test_value_proto protoreflect.FileDescriptor
var File_desc_test_wellknowntypes_proto protoreflect.FileDescriptor
var TestService_ServiceDesc = &_TestService_serviceDesc
Functions ¶
func RegisterRpcServiceServer ¶
func RegisterRpcServiceServer(s *grpc.Server, srv RpcServiceServer)
func RegisterTestServiceServer ¶
func RegisterTestServiceServer(s *grpc.Server, srv TestServiceServer)
func RegisterTestTestServiceServer ¶
func RegisterTestTestServiceServer(s *grpc.Server, srv TestTestServiceServer)
Types ¶
type AnEmptyMessage ¶
type AnEmptyMessage struct {
// contains filtered or unexported fields
}
func (*AnEmptyMessage) Descriptor
deprecated
func (*AnEmptyMessage) Descriptor() ([]byte, []int)
Deprecated: Use AnEmptyMessage.ProtoReflect.Descriptor instead.
func (*AnEmptyMessage) ProtoMessage ¶
func (*AnEmptyMessage) ProtoMessage()
func (*AnEmptyMessage) ProtoReflect ¶
func (x *AnEmptyMessage) ProtoReflect() protoreflect.Message
func (*AnEmptyMessage) Reset ¶
func (x *AnEmptyMessage) Reset()
func (*AnEmptyMessage) String ¶
func (x *AnEmptyMessage) String() string
type Another ¶
type Another struct { Test *Test `protobuf:"bytes,1,opt,name=test" json:"test,omitempty"` Fff *Test_Nested_XNestedNested_EEE `protobuf:"varint,2,opt,name=fff,enum=foo.bar.Test_Nested_XNestedNested_EEE,def=1" json:"fff,omitempty"` // contains filtered or unexported fields }
func (*Another) Descriptor
deprecated
func (*Another) GetFff ¶
func (x *Another) GetFff() Test_Nested_XNestedNested_EEE
func (*Another) ProtoMessage ¶
func (*Another) ProtoMessage()
func (*Another) ProtoReflect ¶
func (x *Another) ProtoReflect() protoreflect.Message
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 assignable to Atmoo: // *AnotherTestMessage_Str // *AnotherTestMessage_Int Atmoo isAnotherTestMessage_Atmoo `protobuf_oneof:"atmoo"` // Deprecated: Do not use. Withoptions *AnotherTestMessage_WithOptions `protobuf:"group,9,opt,name=WithOptions,json=withoptions" json:"withoptions,omitempty"` // contains filtered or unexported fields }
Comment for AnotherTestMessage
func (*AnotherTestMessage) Descriptor
deprecated
func (*AnotherTestMessage) Descriptor() ([]byte, []int)
Deprecated: Use AnotherTestMessage.ProtoReflect.Descriptor instead.
func (*AnotherTestMessage) ExtensionRangeArray
deprecated
func (*AnotherTestMessage) ExtensionRangeArray() []protoiface.ExtensionRangeV1
Deprecated: Use AnotherTestMessage.ProtoReflect.Descriptor.ExtensionRanges instead.
func (*AnotherTestMessage) GetAtmoo ¶
func (m *AnotherTestMessage) GetAtmoo() isAnotherTestMessage_Atmoo
func (*AnotherTestMessage) GetInt ¶
func (x *AnotherTestMessage) GetInt() int64
func (*AnotherTestMessage) GetMapField1 ¶
func (x *AnotherTestMessage) GetMapField1() map[int32]string
func (*AnotherTestMessage) GetMapField2 ¶
func (x *AnotherTestMessage) GetMapField2() map[int64]float32
func (*AnotherTestMessage) GetMapField3 ¶
func (x *AnotherTestMessage) GetMapField3() map[uint32]bool
func (*AnotherTestMessage) GetMapField4 ¶
func (x *AnotherTestMessage) GetMapField4() map[string]*AnotherTestMessage
func (*AnotherTestMessage) GetRocknroll ¶
func (x *AnotherTestMessage) GetRocknroll() *AnotherTestMessage_RockNRoll
func (*AnotherTestMessage) GetStr ¶
func (x *AnotherTestMessage) GetStr() string
func (*AnotherTestMessage) GetWithoptions
deprecated
func (x *AnotherTestMessage) GetWithoptions() *AnotherTestMessage_WithOptions
Deprecated: Do not use.
func (*AnotherTestMessage) ProtoMessage ¶
func (*AnotherTestMessage) ProtoMessage()
func (*AnotherTestMessage) ProtoReflect ¶
func (x *AnotherTestMessage) ProtoReflect() protoreflect.Message
func (*AnotherTestMessage) Reset ¶
func (x *AnotherTestMessage) Reset()
func (*AnotherTestMessage) String ¶
func (x *AnotherTestMessage) String() string
type AnotherTestMessage_Int ¶
type AnotherTestMessage_Int struct { // Comment for int 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"` // contains filtered or unexported fields }
Comment for RockNRoll
func (*AnotherTestMessage_RockNRoll) Descriptor
deprecated
func (*AnotherTestMessage_RockNRoll) Descriptor() ([]byte, []int)
Deprecated: Use AnotherTestMessage_RockNRoll.ProtoReflect.Descriptor instead.
func (*AnotherTestMessage_RockNRoll) GetBeatles ¶
func (x *AnotherTestMessage_RockNRoll) GetBeatles() string
func (*AnotherTestMessage_RockNRoll) GetDoors ¶
func (x *AnotherTestMessage_RockNRoll) GetDoors() string
func (*AnotherTestMessage_RockNRoll) GetStones ¶
func (x *AnotherTestMessage_RockNRoll) GetStones() string
func (*AnotherTestMessage_RockNRoll) ProtoMessage ¶
func (*AnotherTestMessage_RockNRoll) ProtoMessage()
func (*AnotherTestMessage_RockNRoll) ProtoReflect ¶
func (x *AnotherTestMessage_RockNRoll) ProtoReflect() protoreflect.Message
func (*AnotherTestMessage_RockNRoll) Reset ¶
func (x *AnotherTestMessage_RockNRoll) Reset()
func (*AnotherTestMessage_RockNRoll) String ¶
func (x *AnotherTestMessage_RockNRoll) String() string
type AnotherTestMessage_Str ¶
type AnotherTestMessage_Str struct { // Comment for str Str string `protobuf:"bytes,7,opt,name=str,oneof"` }
type AnotherTestMessage_WithOptions ¶
type AnotherTestMessage_WithOptions struct {
// contains filtered or unexported fields
}
Comment for WithOptions
func (*AnotherTestMessage_WithOptions) Descriptor
deprecated
func (*AnotherTestMessage_WithOptions) Descriptor() ([]byte, []int)
Deprecated: Use AnotherTestMessage_WithOptions.ProtoReflect.Descriptor instead.
func (*AnotherTestMessage_WithOptions) ProtoMessage ¶
func (*AnotherTestMessage_WithOptions) ProtoMessage()
func (*AnotherTestMessage_WithOptions) ProtoReflect ¶
func (x *AnotherTestMessage_WithOptions) ProtoReflect() protoreflect.Message
func (*AnotherTestMessage_WithOptions) Reset ¶
func (x *AnotherTestMessage_WithOptions) Reset()
func (*AnotherTestMessage_WithOptions) String ¶
func (x *AnotherTestMessage_WithOptions) String() string
type Color ¶
type Color int32
func (Color) Descriptor ¶
func (Color) Descriptor() protoreflect.EnumDescriptor
func (Color) EnumDescriptor
deprecated
func (Color) Number ¶
func (x Color) Number() protoreflect.EnumNumber
func (Color) Type ¶
func (Color) Type() protoreflect.EnumType
func (*Color) UnmarshalJSON
deprecated
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"` // contains filtered or unexported fields }
func (*EnumDefaults) Descriptor
deprecated
func (*EnumDefaults) Descriptor() ([]byte, []int)
Deprecated: Use EnumDefaults.ProtoReflect.Descriptor instead.
func (*EnumDefaults) GetBlue ¶
func (x *EnumDefaults) GetBlue() Color
func (*EnumDefaults) GetDos ¶
func (x *EnumDefaults) GetDos() Number
func (*EnumDefaults) GetGreen ¶
func (x *EnumDefaults) GetGreen() Color
func (*EnumDefaults) GetOne ¶
func (x *EnumDefaults) GetOne() Number
func (*EnumDefaults) GetRed ¶
func (x *EnumDefaults) GetRed() Color
func (*EnumDefaults) GetZed ¶
func (x *EnumDefaults) GetZed() Number
func (*EnumDefaults) GetZero ¶
func (x *EnumDefaults) GetZero() Number
func (*EnumDefaults) ProtoMessage ¶
func (*EnumDefaults) ProtoMessage()
func (*EnumDefaults) ProtoReflect ¶
func (x *EnumDefaults) ProtoReflect() protoreflect.Message
func (*EnumDefaults) Reset ¶
func (x *EnumDefaults) Reset()
func (*EnumDefaults) String ¶
func (x *EnumDefaults) String() string
type EnumWithReservations ¶
type EnumWithReservations int32
const ( EnumWithReservations_X EnumWithReservations = 2 EnumWithReservations_Y EnumWithReservations = 3 EnumWithReservations_Z EnumWithReservations = 4 )
func (EnumWithReservations) Descriptor ¶
func (EnumWithReservations) Descriptor() protoreflect.EnumDescriptor
func (EnumWithReservations) Enum ¶
func (x EnumWithReservations) Enum() *EnumWithReservations
func (EnumWithReservations) EnumDescriptor
deprecated
func (EnumWithReservations) EnumDescriptor() ([]byte, []int)
Deprecated: Use EnumWithReservations.Descriptor instead.
func (EnumWithReservations) Number ¶
func (x EnumWithReservations) Number() protoreflect.EnumNumber
func (EnumWithReservations) String ¶
func (x EnumWithReservations) String() string
func (EnumWithReservations) Type ¶
func (EnumWithReservations) Type() protoreflect.EnumType
func (*EnumWithReservations) UnmarshalJSON
deprecated
func (x *EnumWithReservations) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
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 assignable 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"` // Deprecated: Do not use. F []string `protobuf:"bytes,7,rep,name=f" json:"f,omitempty"` // Types that are assignable to Def: // *Frobnitz_G1 // *Frobnitz_G2 // *Frobnitz_G3 Def isFrobnitz_Def `protobuf_oneof:"def"` // contains filtered or unexported fields }
func (*Frobnitz) Descriptor
deprecated
func (*Frobnitz) GetA ¶
func (x *Frobnitz) GetA() *TestMessage
func (*Frobnitz) GetB ¶
func (x *Frobnitz) GetB() *AnotherTestMessage
func (*Frobnitz) GetC1 ¶
func (x *Frobnitz) GetC1() *TestMessage_NestedMessage
func (*Frobnitz) GetC2 ¶
func (x *Frobnitz) GetC2() TestMessage_NestedEnum
func (*Frobnitz) GetD ¶
func (x *Frobnitz) GetD() *TestMessage_NestedMessage
func (*Frobnitz) GetE ¶
func (x *Frobnitz) GetE() TestMessage_NestedEnum
func (*Frobnitz) ProtoMessage ¶
func (*Frobnitz) ProtoMessage()
func (*Frobnitz) ProtoReflect ¶
func (x *Frobnitz) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
func (*GroupX) Descriptor
deprecated
func (*GroupX) GetGroupxi ¶
func (*GroupX) GetGroupxs ¶
func (*GroupX) ProtoMessage ¶
func (*GroupX) ProtoMessage()
func (*GroupX) ProtoReflect ¶
func (x *GroupX) ProtoReflect() protoreflect.Message
type IsAuthorizedReq ¶
type IsAuthorizedReq struct { Subjects []string `protobuf:"bytes,1,rep,name=subjects" json:"subjects,omitempty"` // contains filtered or unexported fields }
func (*IsAuthorizedReq) Descriptor
deprecated
func (*IsAuthorizedReq) Descriptor() ([]byte, []int)
Deprecated: Use IsAuthorizedReq.ProtoReflect.Descriptor instead.
func (*IsAuthorizedReq) GetSubjects ¶
func (x *IsAuthorizedReq) GetSubjects() []string
func (*IsAuthorizedReq) ProtoMessage ¶
func (*IsAuthorizedReq) ProtoMessage()
func (*IsAuthorizedReq) ProtoReflect ¶
func (x *IsAuthorizedReq) ProtoReflect() protoreflect.Message
func (*IsAuthorizedReq) Reset ¶
func (x *IsAuthorizedReq) Reset()
func (*IsAuthorizedReq) String ¶
func (x *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"` // contains filtered or unexported fields }
func (*KeywordCollisionOptions) Descriptor
deprecated
func (*KeywordCollisionOptions) Descriptor() ([]byte, []int)
Deprecated: Use KeywordCollisionOptions.ProtoReflect.Descriptor instead.
func (*KeywordCollisionOptions) GetId ¶
func (x *KeywordCollisionOptions) GetId() uint64
func (*KeywordCollisionOptions) GetName ¶
func (x *KeywordCollisionOptions) GetName() string
func (*KeywordCollisionOptions) ProtoMessage ¶
func (*KeywordCollisionOptions) ProtoMessage()
func (*KeywordCollisionOptions) ProtoReflect ¶
func (x *KeywordCollisionOptions) ProtoReflect() protoreflect.Message
func (*KeywordCollisionOptions) Reset ¶
func (x *KeywordCollisionOptions) Reset()
func (*KeywordCollisionOptions) String ¶
func (x *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"` // contains filtered or unexported fields }
func (*KeywordCollisions) Descriptor
deprecated
func (*KeywordCollisions) Descriptor() ([]byte, []int)
Deprecated: Use KeywordCollisions.ProtoReflect.Descriptor instead.
func (*KeywordCollisions) GetBool ¶
func (x *KeywordCollisions) GetBool() bool
func (*KeywordCollisions) GetBytes ¶
func (x *KeywordCollisions) GetBytes() []byte
func (*KeywordCollisions) GetDefault ¶
func (x *KeywordCollisions) GetDefault() int32
func (*KeywordCollisions) GetDouble ¶
func (x *KeywordCollisions) GetDouble() float64
func (*KeywordCollisions) GetEnum ¶
func (x *KeywordCollisions) GetEnum() bool
func (*KeywordCollisions) GetExtend ¶
func (x *KeywordCollisions) GetExtend() bool
func (*KeywordCollisions) GetExtensions ¶
func (x *KeywordCollisions) GetExtensions() bool
func (*KeywordCollisions) GetFalse ¶
func (x *KeywordCollisions) GetFalse() int32
func (*KeywordCollisions) GetFixed32 ¶
func (x *KeywordCollisions) GetFixed32() uint32
func (*KeywordCollisions) GetFixed64 ¶
func (x *KeywordCollisions) GetFixed64() uint64
func (*KeywordCollisions) GetFloat ¶
func (x *KeywordCollisions) GetFloat() float32
func (*KeywordCollisions) GetImport ¶
func (x *KeywordCollisions) GetImport() bool
func (*KeywordCollisions) GetInt32 ¶
func (x *KeywordCollisions) GetInt32() int32
func (*KeywordCollisions) GetInt64 ¶
func (x *KeywordCollisions) GetInt64() int64
func (*KeywordCollisions) GetMessage ¶
func (x *KeywordCollisions) GetMessage() bool
func (*KeywordCollisions) GetOption ¶
func (x *KeywordCollisions) GetOption() bool
func (*KeywordCollisions) GetOptional ¶
func (x *KeywordCollisions) GetOptional() bool
func (*KeywordCollisions) GetPackage ¶
func (x *KeywordCollisions) GetPackage() bool
func (*KeywordCollisions) GetPublic ¶
func (x *KeywordCollisions) GetPublic() bool
func (*KeywordCollisions) GetRepeated ¶
func (x *KeywordCollisions) GetRepeated() bool
func (*KeywordCollisions) GetRequired ¶
func (x *KeywordCollisions) GetRequired() bool
func (*KeywordCollisions) GetReserved ¶
func (x *KeywordCollisions) GetReserved() bool
func (*KeywordCollisions) GetRpc ¶
func (x *KeywordCollisions) GetRpc() bool
func (*KeywordCollisions) GetService ¶
func (x *KeywordCollisions) GetService() bool
func (*KeywordCollisions) GetSfixed32 ¶
func (x *KeywordCollisions) GetSfixed32() int32
func (*KeywordCollisions) GetSfixed64 ¶
func (x *KeywordCollisions) GetSfixed64() int64
func (*KeywordCollisions) GetSint32 ¶
func (x *KeywordCollisions) GetSint32() int32
func (*KeywordCollisions) GetSint64 ¶
func (x *KeywordCollisions) GetSint64() int64
func (*KeywordCollisions) GetString_ ¶
func (x *KeywordCollisions) GetString_() string
func (*KeywordCollisions) GetSyntax ¶
func (x *KeywordCollisions) GetSyntax() bool
func (*KeywordCollisions) GetTo ¶
func (x *KeywordCollisions) GetTo() bool
func (*KeywordCollisions) GetTrue ¶
func (x *KeywordCollisions) GetTrue() int32
func (*KeywordCollisions) GetUint32 ¶
func (x *KeywordCollisions) GetUint32() uint32
func (*KeywordCollisions) GetUint64 ¶
func (x *KeywordCollisions) GetUint64() uint64
func (*KeywordCollisions) GetWeak ¶
func (x *KeywordCollisions) GetWeak() bool
func (*KeywordCollisions) ProtoMessage ¶
func (*KeywordCollisions) ProtoMessage()
func (*KeywordCollisions) ProtoReflect ¶
func (x *KeywordCollisions) ProtoReflect() protoreflect.Message
func (*KeywordCollisions) Reset ¶
func (x *KeywordCollisions) Reset()
func (*KeywordCollisions) String ¶
func (x *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"` // contains filtered or unexported fields }
func (*MapKeyFields) Descriptor
deprecated
func (*MapKeyFields) Descriptor() ([]byte, []int)
Deprecated: Use MapKeyFields.ProtoReflect.Descriptor instead.
func (*MapKeyFields) GetI ¶
func (x *MapKeyFields) GetI() map[int32]string
func (*MapKeyFields) GetJ ¶
func (x *MapKeyFields) GetJ() map[int64]string
func (*MapKeyFields) GetK ¶
func (x *MapKeyFields) GetK() map[int32]string
func (*MapKeyFields) GetL ¶
func (x *MapKeyFields) GetL() map[int64]string
func (*MapKeyFields) GetM ¶
func (x *MapKeyFields) GetM() map[uint32]string
func (*MapKeyFields) GetN ¶
func (x *MapKeyFields) GetN() map[uint64]string
func (*MapKeyFields) GetO ¶
func (x *MapKeyFields) GetO() map[uint32]string
func (*MapKeyFields) GetP ¶
func (x *MapKeyFields) GetP() map[uint64]string
func (*MapKeyFields) GetQ ¶
func (x *MapKeyFields) GetQ() map[int32]string
func (*MapKeyFields) GetR ¶
func (x *MapKeyFields) GetR() map[int64]string
func (*MapKeyFields) GetS ¶
func (x *MapKeyFields) GetS() map[string]string
func (*MapKeyFields) GetT ¶
func (x *MapKeyFields) GetT() map[bool]string
func (*MapKeyFields) ProtoMessage ¶
func (*MapKeyFields) ProtoMessage()
func (*MapKeyFields) ProtoReflect ¶
func (x *MapKeyFields) ProtoReflect() protoreflect.Message
func (*MapKeyFields) Reset ¶
func (x *MapKeyFields) Reset()
func (*MapKeyFields) String ¶
func (x *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 */ // contains filtered or unexported fields }
func (*MapValFields) Descriptor
deprecated
func (*MapValFields) Descriptor() ([]byte, []int)
Deprecated: Use MapValFields.ProtoReflect.Descriptor instead.
func (*MapValFields) GetI ¶
func (x *MapValFields) GetI() map[string]int32
func (*MapValFields) GetJ ¶
func (x *MapValFields) GetJ() map[string]int64
func (*MapValFields) GetK ¶
func (x *MapValFields) GetK() map[string]int32
func (*MapValFields) GetL ¶
func (x *MapValFields) GetL() map[string]int64
func (*MapValFields) GetM ¶
func (x *MapValFields) GetM() map[string]uint32
func (*MapValFields) GetN ¶
func (x *MapValFields) GetN() map[string]uint64
func (*MapValFields) GetO ¶
func (x *MapValFields) GetO() map[string]uint32
func (*MapValFields) GetP ¶
func (x *MapValFields) GetP() map[string]uint64
func (*MapValFields) GetQ ¶
func (x *MapValFields) GetQ() map[string]int32
func (*MapValFields) GetR ¶
func (x *MapValFields) GetR() map[string]int64
func (*MapValFields) GetS ¶
func (x *MapValFields) GetS() map[string]float32
func (*MapValFields) GetT ¶
func (x *MapValFields) GetT() map[string]float64
func (*MapValFields) GetU ¶
func (x *MapValFields) GetU() map[string][]byte
func (*MapValFields) GetV ¶
func (x *MapValFields) GetV() map[string]string
func (*MapValFields) GetW ¶
func (x *MapValFields) GetW() map[string]bool
func (*MapValFields) GetX ¶
func (x *MapValFields) GetX() map[string]*UnaryFields
func (*MapValFields) GetY ¶
func (x *MapValFields) GetY() map[string]TestEnum
func (*MapValFields) ProtoMessage ¶
func (*MapValFields) ProtoMessage()
func (*MapValFields) ProtoReflect ¶
func (x *MapValFields) ProtoReflect() protoreflect.Message
func (*MapValFields) Reset ¶
func (x *MapValFields) Reset()
func (*MapValFields) String ¶
func (x *MapValFields) String() string
type MessageWithMap ¶
type MessageWithMap struct { Vals map[string]*Simple `` /* 128-byte string literal not displayed */ // contains filtered or unexported fields }
func (*MessageWithMap) Descriptor
deprecated
func (*MessageWithMap) Descriptor() ([]byte, []int)
Deprecated: Use MessageWithMap.ProtoReflect.Descriptor instead.
func (*MessageWithMap) GetVals ¶
func (x *MessageWithMap) GetVals() map[string]*Simple
func (*MessageWithMap) ProtoMessage ¶
func (*MessageWithMap) ProtoMessage()
func (*MessageWithMap) ProtoReflect ¶
func (x *MessageWithMap) ProtoReflect() protoreflect.Message
func (*MessageWithMap) Reset ¶
func (x *MessageWithMap) Reset()
func (*MessageWithMap) String ¶
func (x *MessageWithMap) String() string
type MessageWithReservations ¶
type MessageWithReservations struct {
// contains filtered or unexported fields
}
func (*MessageWithReservations) Descriptor
deprecated
func (*MessageWithReservations) Descriptor() ([]byte, []int)
Deprecated: Use MessageWithReservations.ProtoReflect.Descriptor instead.
func (*MessageWithReservations) ProtoMessage ¶
func (*MessageWithReservations) ProtoMessage()
func (*MessageWithReservations) ProtoReflect ¶
func (x *MessageWithReservations) ProtoReflect() protoreflect.Message
func (*MessageWithReservations) Reset ¶
func (x *MessageWithReservations) Reset()
func (*MessageWithReservations) String ¶
func (x *MessageWithReservations) String() string
type MoarFloats ¶
type MoarFloats struct { A *float32 `protobuf:"fixed32,1,opt,name=a,def=1" json:"a,omitempty"` B *float32 `protobuf:"fixed32,2,opt,name=b,def=1" json:"b,omitempty"` C *float32 `protobuf:"fixed32,3,opt,name=c,def=1.01" json:"c,omitempty"` D *float32 `protobuf:"fixed32,4,opt,name=d,def=0.1" json:"d,omitempty"` E *float32 `protobuf:"fixed32,5,opt,name=e,def=100000" json:"e,omitempty"` F *float32 `protobuf:"fixed32,6,opt,name=f,def=1e-05" json:"f,omitempty"` // contains filtered or unexported fields }
func (*MoarFloats) Descriptor
deprecated
func (*MoarFloats) Descriptor() ([]byte, []int)
Deprecated: Use MoarFloats.ProtoReflect.Descriptor instead.
func (*MoarFloats) GetA ¶
func (x *MoarFloats) GetA() float32
func (*MoarFloats) GetB ¶
func (x *MoarFloats) GetB() float32
func (*MoarFloats) GetC ¶
func (x *MoarFloats) GetC() float32
func (*MoarFloats) GetD ¶
func (x *MoarFloats) GetD() float32
func (*MoarFloats) GetE ¶
func (x *MoarFloats) GetE() float32
func (*MoarFloats) GetF ¶
func (x *MoarFloats) GetF() float32
func (*MoarFloats) ProtoMessage ¶
func (*MoarFloats) ProtoMessage()
func (*MoarFloats) ProtoReflect ¶
func (x *MoarFloats) ProtoReflect() protoreflect.Message
func (*MoarFloats) Reset ¶
func (x *MoarFloats) Reset()
func (*MoarFloats) String ¶
func (x *MoarFloats) String() string
type Number ¶
type Number int32
func (Number) Descriptor ¶
func (Number) Descriptor() protoreflect.EnumDescriptor
func (Number) EnumDescriptor
deprecated
func (Number) Number ¶
func (x Number) Number() protoreflect.EnumNumber
func (Number) Type ¶
func (Number) Type() protoreflect.EnumType
func (*Number) UnmarshalJSON
deprecated
type OneOfMessage ¶
type OneOfMessage struct { // Types that are assignable to Value: // *OneOfMessage_BinaryValue // *OneOfMessage_StringValue // *OneOfMessage_BooleanValue // *OneOfMessage_IntValue // *OneOfMessage_Int64Value // *OneOfMessage_DoubleValue // *OneOfMessage_FloatValue // *OneOfMessage_MsgValue Value isOneOfMessage_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*OneOfMessage) Descriptor
deprecated
func (*OneOfMessage) Descriptor() ([]byte, []int)
Deprecated: Use OneOfMessage.ProtoReflect.Descriptor instead.
func (*OneOfMessage) GetBinaryValue ¶
func (x *OneOfMessage) GetBinaryValue() []byte
func (*OneOfMessage) GetBooleanValue ¶
func (x *OneOfMessage) GetBooleanValue() bool
func (*OneOfMessage) GetDoubleValue ¶
func (x *OneOfMessage) GetDoubleValue() float64
func (*OneOfMessage) GetFloatValue ¶
func (x *OneOfMessage) GetFloatValue() float32
func (*OneOfMessage) GetInt64Value ¶
func (x *OneOfMessage) GetInt64Value() int64
func (*OneOfMessage) GetIntValue ¶
func (x *OneOfMessage) GetIntValue() int32
func (*OneOfMessage) GetMsgValue ¶
func (x *OneOfMessage) GetMsgValue() *OneOfMessage
func (*OneOfMessage) GetStringValue ¶
func (x *OneOfMessage) GetStringValue() string
func (*OneOfMessage) GetValue ¶
func (m *OneOfMessage) GetValue() isOneOfMessage_Value
func (*OneOfMessage) ProtoMessage ¶
func (*OneOfMessage) ProtoMessage()
func (*OneOfMessage) ProtoReflect ¶
func (x *OneOfMessage) ProtoReflect() protoreflect.Message
func (*OneOfMessage) Reset ¶
func (x *OneOfMessage) Reset()
func (*OneOfMessage) String ¶
func (x *OneOfMessage) String() string
type OneOfMessage_BinaryValue ¶
type OneOfMessage_BinaryValue struct {
BinaryValue []byte `protobuf:"bytes,1,opt,name=binary_value,json=binaryValue,proto3,oneof"`
}
type OneOfMessage_BooleanValue ¶
type OneOfMessage_BooleanValue struct {
BooleanValue bool `protobuf:"varint,3,opt,name=boolean_value,json=booleanValue,proto3,oneof"`
}
type OneOfMessage_DoubleValue ¶
type OneOfMessage_DoubleValue struct {
DoubleValue float64 `protobuf:"fixed64,6,opt,name=double_value,json=doubleValue,proto3,oneof"`
}
type OneOfMessage_FloatValue ¶
type OneOfMessage_FloatValue struct {
FloatValue float32 `protobuf:"fixed32,7,opt,name=float_value,json=floatValue,proto3,oneof"`
}
type OneOfMessage_Int64Value ¶
type OneOfMessage_Int64Value struct {
Int64Value int64 `protobuf:"varint,5,opt,name=int64_value,json=int64Value,proto3,oneof"`
}
type OneOfMessage_IntValue ¶
type OneOfMessage_IntValue struct {
IntValue int32 `protobuf:"varint,4,opt,name=int_value,json=intValue,proto3,oneof"`
}
type OneOfMessage_MsgValue ¶
type OneOfMessage_MsgValue struct {
MsgValue *OneOfMessage `protobuf:"bytes,8,opt,name=msg_value,json=msgValue,proto3,oneof"`
}
type OneOfMessage_StringValue ¶
type OneOfMessage_StringValue struct {
StringValue string `protobuf:"bytes,2,opt,name=string_value,json=stringValue,proto3,oneof"`
}
type PrimitiveDefaults ¶
type PrimitiveDefaults struct { // simple default Fl32 *float32 `protobuf:"fixed32,1,opt,name=fl32,def=3.14159" json:"fl32,omitempty"` Fl64 *float64 `protobuf:"fixed64,2,opt,name=fl64,def=3.14159" json:"fl64,omitempty"` // exponent notation Fl32D *float32 `protobuf:"fixed32,3,opt,name=fl32d,def=6.022141e+23" json:"fl32d,omitempty"` Fl64D *float64 `protobuf:"fixed64,4,opt,name=fl64d,def=6.022140857e+23" json:"fl64d,omitempty"` // special values: inf, -inf, and nan Fl32Inf *float32 `protobuf:"fixed32,5,opt,name=fl32inf,def=inf" json:"fl32inf,omitempty"` Fl64Inf *float64 `protobuf:"fixed64,6,opt,name=fl64inf,def=inf" json:"fl64inf,omitempty"` Fl32NegInf *float32 `protobuf:"fixed32,7,opt,name=fl32negInf,def=-inf" json:"fl32negInf,omitempty"` Fl64NegInf *float64 `protobuf:"fixed64,8,opt,name=fl64negInf,def=-inf" json:"fl64negInf,omitempty"` Fl32Nan *float32 `protobuf:"fixed32,9,opt,name=fl32nan,def=nan" json:"fl32nan,omitempty"` Fl64Nan *float64 `protobuf:"fixed64,10,opt,name=fl64nan,def=nan" json:"fl64nan,omitempty"` Bl1 *bool `protobuf:"varint,11,opt,name=bl1,def=1" json:"bl1,omitempty"` Bl2 *bool `protobuf:"varint,12,opt,name=bl2,def=0" json:"bl2,omitempty"` // signed I32 *int32 `protobuf:"varint,13,opt,name=i32,def=10101" json:"i32,omitempty"` I32N *int32 `protobuf:"varint,14,opt,name=i32n,def=-10101" json:"i32n,omitempty"` I32X *int32 `protobuf:"varint,15,opt,name=i32x,def=131586" json:"i32x,omitempty"` I32Xn *int32 `protobuf:"varint,16,opt,name=i32xn,def=-131586" json:"i32xn,omitempty"` I64 *int64 `protobuf:"varint,17,opt,name=i64,def=10101" json:"i64,omitempty"` I64N *int64 `protobuf:"varint,18,opt,name=i64n,def=-10101" json:"i64n,omitempty"` I64X *int64 `protobuf:"varint,19,opt,name=i64x,def=131586" json:"i64x,omitempty"` I64Xn *int64 `protobuf:"varint,20,opt,name=i64xn,def=-131586" json:"i64xn,omitempty"` I32S *int32 `protobuf:"zigzag32,21,opt,name=i32s,def=10101" json:"i32s,omitempty"` I32Sn *int32 `protobuf:"zigzag32,22,opt,name=i32sn,def=-10101" json:"i32sn,omitempty"` I32Sx *int32 `protobuf:"zigzag32,23,opt,name=i32sx,def=131586" json:"i32sx,omitempty"` I32Sxn *int32 `protobuf:"zigzag32,24,opt,name=i32sxn,def=-131586" json:"i32sxn,omitempty"` I64S *int64 `protobuf:"zigzag64,25,opt,name=i64s,def=10101" json:"i64s,omitempty"` I64Sn *int64 `protobuf:"zigzag64,26,opt,name=i64sn,def=-10101" json:"i64sn,omitempty"` I64Sx *int64 `protobuf:"zigzag64,27,opt,name=i64sx,def=131586" json:"i64sx,omitempty"` I64Sxn *int64 `protobuf:"zigzag64,28,opt,name=i64sxn,def=-131586" json:"i64sxn,omitempty"` I32F *int32 `protobuf:"fixed32,29,opt,name=i32f,def=10101" json:"i32f,omitempty"` I32Fn *int32 `protobuf:"fixed32,30,opt,name=i32fn,def=-10101" json:"i32fn,omitempty"` I32Fx *int32 `protobuf:"fixed32,31,opt,name=i32fx,def=131586" json:"i32fx,omitempty"` I32Fxn *int32 `protobuf:"fixed32,32,opt,name=i32fxn,def=-131586" json:"i32fxn,omitempty"` I64F *int64 `protobuf:"fixed64,33,opt,name=i64f,def=10101" json:"i64f,omitempty"` I64Fn *int64 `protobuf:"fixed64,34,opt,name=i64fn,def=-10101" json:"i64fn,omitempty"` I64Fx *int64 `protobuf:"fixed64,35,opt,name=i64fx,def=131586" json:"i64fx,omitempty"` I64Fxn *int64 `protobuf:"fixed64,36,opt,name=i64fxn,def=-131586" json:"i64fxn,omitempty"` // unsigned U32 *uint32 `protobuf:"varint,37,opt,name=u32,def=10101" json:"u32,omitempty"` U32X *uint32 `protobuf:"varint,38,opt,name=u32x,def=131586" json:"u32x,omitempty"` U64 *uint64 `protobuf:"varint,39,opt,name=u64,def=10101" json:"u64,omitempty"` U64X *uint64 `protobuf:"varint,40,opt,name=u64x,def=131586" json:"u64x,omitempty"` U32F *uint32 `protobuf:"fixed32,41,opt,name=u32f,def=10101" json:"u32f,omitempty"` U32Fx *uint32 `protobuf:"fixed32,42,opt,name=u32fx,def=131586" json:"u32fx,omitempty"` U64F *uint64 `protobuf:"fixed64,43,opt,name=u64f,def=10101" json:"u64f,omitempty"` U64Fx *uint64 `protobuf:"fixed64,44,opt,name=u64fx,def=131586" json:"u64fx,omitempty"` // contains filtered or unexported fields }
func (*PrimitiveDefaults) Descriptor
deprecated
func (*PrimitiveDefaults) Descriptor() ([]byte, []int)
Deprecated: Use PrimitiveDefaults.ProtoReflect.Descriptor instead.
func (*PrimitiveDefaults) GetBl1 ¶
func (x *PrimitiveDefaults) GetBl1() bool
func (*PrimitiveDefaults) GetBl2 ¶
func (x *PrimitiveDefaults) GetBl2() bool
func (*PrimitiveDefaults) GetFl32 ¶
func (x *PrimitiveDefaults) GetFl32() float32
func (*PrimitiveDefaults) GetFl32D ¶
func (x *PrimitiveDefaults) GetFl32D() float32
func (*PrimitiveDefaults) GetFl32Inf ¶
func (x *PrimitiveDefaults) GetFl32Inf() float32
func (*PrimitiveDefaults) GetFl32Nan ¶
func (x *PrimitiveDefaults) GetFl32Nan() float32
func (*PrimitiveDefaults) GetFl32NegInf ¶
func (x *PrimitiveDefaults) GetFl32NegInf() float32
func (*PrimitiveDefaults) GetFl64 ¶
func (x *PrimitiveDefaults) GetFl64() float64
func (*PrimitiveDefaults) GetFl64D ¶
func (x *PrimitiveDefaults) GetFl64D() float64
func (*PrimitiveDefaults) GetFl64Inf ¶
func (x *PrimitiveDefaults) GetFl64Inf() float64
func (*PrimitiveDefaults) GetFl64Nan ¶
func (x *PrimitiveDefaults) GetFl64Nan() float64
func (*PrimitiveDefaults) GetFl64NegInf ¶
func (x *PrimitiveDefaults) GetFl64NegInf() float64
func (*PrimitiveDefaults) GetI32 ¶
func (x *PrimitiveDefaults) GetI32() int32
func (*PrimitiveDefaults) GetI32F ¶
func (x *PrimitiveDefaults) GetI32F() int32
func (*PrimitiveDefaults) GetI32Fn ¶
func (x *PrimitiveDefaults) GetI32Fn() int32
func (*PrimitiveDefaults) GetI32Fx ¶
func (x *PrimitiveDefaults) GetI32Fx() int32
func (*PrimitiveDefaults) GetI32Fxn ¶
func (x *PrimitiveDefaults) GetI32Fxn() int32
func (*PrimitiveDefaults) GetI32N ¶
func (x *PrimitiveDefaults) GetI32N() int32
func (*PrimitiveDefaults) GetI32S ¶
func (x *PrimitiveDefaults) GetI32S() int32
func (*PrimitiveDefaults) GetI32Sn ¶
func (x *PrimitiveDefaults) GetI32Sn() int32
func (*PrimitiveDefaults) GetI32Sx ¶
func (x *PrimitiveDefaults) GetI32Sx() int32
func (*PrimitiveDefaults) GetI32Sxn ¶
func (x *PrimitiveDefaults) GetI32Sxn() int32
func (*PrimitiveDefaults) GetI32X ¶
func (x *PrimitiveDefaults) GetI32X() int32
func (*PrimitiveDefaults) GetI32Xn ¶
func (x *PrimitiveDefaults) GetI32Xn() int32
func (*PrimitiveDefaults) GetI64 ¶
func (x *PrimitiveDefaults) GetI64() int64
func (*PrimitiveDefaults) GetI64F ¶
func (x *PrimitiveDefaults) GetI64F() int64
func (*PrimitiveDefaults) GetI64Fn ¶
func (x *PrimitiveDefaults) GetI64Fn() int64
func (*PrimitiveDefaults) GetI64Fx ¶
func (x *PrimitiveDefaults) GetI64Fx() int64
func (*PrimitiveDefaults) GetI64Fxn ¶
func (x *PrimitiveDefaults) GetI64Fxn() int64
func (*PrimitiveDefaults) GetI64N ¶
func (x *PrimitiveDefaults) GetI64N() int64
func (*PrimitiveDefaults) GetI64S ¶
func (x *PrimitiveDefaults) GetI64S() int64
func (*PrimitiveDefaults) GetI64Sn ¶
func (x *PrimitiveDefaults) GetI64Sn() int64
func (*PrimitiveDefaults) GetI64Sx ¶
func (x *PrimitiveDefaults) GetI64Sx() int64
func (*PrimitiveDefaults) GetI64Sxn ¶
func (x *PrimitiveDefaults) GetI64Sxn() int64
func (*PrimitiveDefaults) GetI64X ¶
func (x *PrimitiveDefaults) GetI64X() int64
func (*PrimitiveDefaults) GetI64Xn ¶
func (x *PrimitiveDefaults) GetI64Xn() int64
func (*PrimitiveDefaults) GetU32 ¶
func (x *PrimitiveDefaults) GetU32() uint32
func (*PrimitiveDefaults) GetU32F ¶
func (x *PrimitiveDefaults) GetU32F() uint32
func (*PrimitiveDefaults) GetU32Fx ¶
func (x *PrimitiveDefaults) GetU32Fx() uint32
func (*PrimitiveDefaults) GetU32X ¶
func (x *PrimitiveDefaults) GetU32X() uint32
func (*PrimitiveDefaults) GetU64 ¶
func (x *PrimitiveDefaults) GetU64() uint64
func (*PrimitiveDefaults) GetU64F ¶
func (x *PrimitiveDefaults) GetU64F() uint64
func (*PrimitiveDefaults) GetU64Fx ¶
func (x *PrimitiveDefaults) GetU64Fx() uint64
func (*PrimitiveDefaults) GetU64X ¶
func (x *PrimitiveDefaults) GetU64X() uint64
func (*PrimitiveDefaults) ProtoMessage ¶
func (*PrimitiveDefaults) ProtoMessage()
func (*PrimitiveDefaults) ProtoReflect ¶
func (x *PrimitiveDefaults) ProtoReflect() protoreflect.Message
func (*PrimitiveDefaults) Reset ¶
func (x *PrimitiveDefaults) Reset()
func (*PrimitiveDefaults) String ¶
func (x *PrimitiveDefaults) String() string
type Proto3Enum ¶
type Proto3Enum int32
const ( Proto3Enum_UNKNOWN Proto3Enum = 0 Proto3Enum_VALUE1 Proto3Enum = 1 Proto3Enum_VALUE2 Proto3Enum = 2 )
func (Proto3Enum) Descriptor ¶
func (Proto3Enum) Descriptor() protoreflect.EnumDescriptor
func (Proto3Enum) Enum ¶
func (x Proto3Enum) Enum() *Proto3Enum
func (Proto3Enum) EnumDescriptor
deprecated
func (Proto3Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use Proto3Enum.Descriptor instead.
func (Proto3Enum) Number ¶
func (x Proto3Enum) Number() protoreflect.EnumNumber
func (Proto3Enum) String ¶
func (x Proto3Enum) String() string
func (Proto3Enum) Type ¶
func (Proto3Enum) Type() protoreflect.EnumType
type ReallySimpleEnum ¶
type ReallySimpleEnum int32
Test enum used by custom options
const (
ReallySimpleEnum_VALUE ReallySimpleEnum = 1
)
func (ReallySimpleEnum) Descriptor ¶
func (ReallySimpleEnum) Descriptor() protoreflect.EnumDescriptor
func (ReallySimpleEnum) Enum ¶
func (x ReallySimpleEnum) Enum() *ReallySimpleEnum
func (ReallySimpleEnum) EnumDescriptor
deprecated
func (ReallySimpleEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ReallySimpleEnum.Descriptor instead.
func (ReallySimpleEnum) Number ¶
func (x ReallySimpleEnum) Number() protoreflect.EnumNumber
func (ReallySimpleEnum) String ¶
func (x ReallySimpleEnum) String() string
func (ReallySimpleEnum) Type ¶
func (ReallySimpleEnum) Type() protoreflect.EnumType
func (*ReallySimpleEnum) UnmarshalJSON
deprecated
func (x *ReallySimpleEnum) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
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"` // contains filtered or unexported fields }
Test message used by custom options
func (*ReallySimpleMessage) Descriptor
deprecated
func (*ReallySimpleMessage) Descriptor() ([]byte, []int)
Deprecated: Use ReallySimpleMessage.ProtoReflect.Descriptor instead.
func (*ReallySimpleMessage) GetId ¶
func (x *ReallySimpleMessage) GetId() uint64
func (*ReallySimpleMessage) GetName ¶
func (x *ReallySimpleMessage) GetName() string
func (*ReallySimpleMessage) ProtoMessage ¶
func (*ReallySimpleMessage) ProtoMessage()
func (*ReallySimpleMessage) ProtoReflect ¶
func (x *ReallySimpleMessage) ProtoReflect() protoreflect.Message
func (*ReallySimpleMessage) Reset ¶
func (x *ReallySimpleMessage) Reset()
func (*ReallySimpleMessage) String ¶
func (x *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"` // contains filtered or unexported fields }
func (*RepeatedFields) Descriptor
deprecated
func (*RepeatedFields) Descriptor() ([]byte, []int)
Deprecated: Use RepeatedFields.ProtoReflect.Descriptor instead.
func (*RepeatedFields) GetGroupy ¶
func (x *RepeatedFields) GetGroupy() []*RepeatedFields_GroupY
func (*RepeatedFields) GetI ¶
func (x *RepeatedFields) GetI() []int32
func (*RepeatedFields) GetJ ¶
func (x *RepeatedFields) GetJ() []int64
func (*RepeatedFields) GetK ¶
func (x *RepeatedFields) GetK() []int32
func (*RepeatedFields) GetL ¶
func (x *RepeatedFields) GetL() []int64
func (*RepeatedFields) GetM ¶
func (x *RepeatedFields) GetM() []uint32
func (*RepeatedFields) GetN ¶
func (x *RepeatedFields) GetN() []uint64
func (*RepeatedFields) GetO ¶
func (x *RepeatedFields) GetO() []uint32
func (*RepeatedFields) GetP ¶
func (x *RepeatedFields) GetP() []uint64
func (*RepeatedFields) GetQ ¶
func (x *RepeatedFields) GetQ() []int32
func (*RepeatedFields) GetR ¶
func (x *RepeatedFields) GetR() []int64
func (*RepeatedFields) GetS ¶
func (x *RepeatedFields) GetS() []float32
func (*RepeatedFields) GetT ¶
func (x *RepeatedFields) GetT() []float64
func (*RepeatedFields) GetU ¶
func (x *RepeatedFields) GetU() [][]byte
func (*RepeatedFields) GetV ¶
func (x *RepeatedFields) GetV() []string
func (*RepeatedFields) GetW ¶
func (x *RepeatedFields) GetW() []bool
func (*RepeatedFields) GetX ¶
func (x *RepeatedFields) GetX() []*UnaryFields
func (*RepeatedFields) GetZ ¶
func (x *RepeatedFields) GetZ() []TestEnum
func (*RepeatedFields) ProtoMessage ¶
func (*RepeatedFields) ProtoMessage()
func (*RepeatedFields) ProtoReflect ¶
func (x *RepeatedFields) ProtoReflect() protoreflect.Message
func (*RepeatedFields) Reset ¶
func (x *RepeatedFields) Reset()
func (*RepeatedFields) String ¶
func (x *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"` // contains filtered or unexported fields }
func (*RepeatedFields_GroupY) Descriptor
deprecated
func (*RepeatedFields_GroupY) Descriptor() ([]byte, []int)
Deprecated: Use RepeatedFields_GroupY.ProtoReflect.Descriptor instead.
func (*RepeatedFields_GroupY) GetYa ¶
func (x *RepeatedFields_GroupY) GetYa() string
func (*RepeatedFields_GroupY) GetYb ¶
func (x *RepeatedFields_GroupY) GetYb() int32
func (*RepeatedFields_GroupY) ProtoMessage ¶
func (*RepeatedFields_GroupY) ProtoMessage()
func (*RepeatedFields_GroupY) ProtoReflect ¶
func (x *RepeatedFields_GroupY) ProtoReflect() protoreflect.Message
func (*RepeatedFields_GroupY) Reset ¶
func (x *RepeatedFields_GroupY) Reset()
func (*RepeatedFields_GroupY) String ¶
func (x *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"` // contains filtered or unexported fields }
func (*RepeatedPackedFields) Descriptor
deprecated
func (*RepeatedPackedFields) Descriptor() ([]byte, []int)
Deprecated: Use RepeatedPackedFields.ProtoReflect.Descriptor instead.
func (*RepeatedPackedFields) GetGroupy ¶
func (x *RepeatedPackedFields) GetGroupy() []*RepeatedPackedFields_GroupY
func (*RepeatedPackedFields) GetI ¶
func (x *RepeatedPackedFields) GetI() []int32
func (*RepeatedPackedFields) GetJ ¶
func (x *RepeatedPackedFields) GetJ() []int64
func (*RepeatedPackedFields) GetK ¶
func (x *RepeatedPackedFields) GetK() []int32
func (*RepeatedPackedFields) GetL ¶
func (x *RepeatedPackedFields) GetL() []int64
func (*RepeatedPackedFields) GetM ¶
func (x *RepeatedPackedFields) GetM() []uint32
func (*RepeatedPackedFields) GetN ¶
func (x *RepeatedPackedFields) GetN() []uint64
func (*RepeatedPackedFields) GetO ¶
func (x *RepeatedPackedFields) GetO() []uint32
func (*RepeatedPackedFields) GetP ¶
func (x *RepeatedPackedFields) GetP() []uint64
func (*RepeatedPackedFields) GetQ ¶
func (x *RepeatedPackedFields) GetQ() []int32
func (*RepeatedPackedFields) GetR ¶
func (x *RepeatedPackedFields) GetR() []int64
func (*RepeatedPackedFields) GetS ¶
func (x *RepeatedPackedFields) GetS() []float32
func (*RepeatedPackedFields) GetT ¶
func (x *RepeatedPackedFields) GetT() []float64
func (*RepeatedPackedFields) GetU ¶
func (x *RepeatedPackedFields) GetU() []bool
func (*RepeatedPackedFields) GetV ¶
func (x *RepeatedPackedFields) GetV() []TestEnum
func (*RepeatedPackedFields) ProtoMessage ¶
func (*RepeatedPackedFields) ProtoMessage()
func (*RepeatedPackedFields) ProtoReflect ¶
func (x *RepeatedPackedFields) ProtoReflect() protoreflect.Message
func (*RepeatedPackedFields) Reset ¶
func (x *RepeatedPackedFields) Reset()
func (*RepeatedPackedFields) String ¶
func (x *RepeatedPackedFields) String() string
type RepeatedPackedFields_GroupY ¶
type RepeatedPackedFields_GroupY struct { Yb []int32 `protobuf:"varint,141,rep,packed,name=yb" json:"yb,omitempty"` // contains filtered or unexported fields }
func (*RepeatedPackedFields_GroupY) Descriptor
deprecated
func (*RepeatedPackedFields_GroupY) Descriptor() ([]byte, []int)
Deprecated: Use RepeatedPackedFields_GroupY.ProtoReflect.Descriptor instead.
func (*RepeatedPackedFields_GroupY) GetYb ¶
func (x *RepeatedPackedFields_GroupY) GetYb() []int32
func (*RepeatedPackedFields_GroupY) ProtoMessage ¶
func (*RepeatedPackedFields_GroupY) ProtoMessage()
func (*RepeatedPackedFields_GroupY) ProtoReflect ¶
func (x *RepeatedPackedFields_GroupY) ProtoReflect() protoreflect.Message
func (*RepeatedPackedFields_GroupY) Reset ¶
func (x *RepeatedPackedFields_GroupY) Reset()
func (*RepeatedPackedFields_GroupY) String ¶
func (x *RepeatedPackedFields_GroupY) String() string
type Request
deprecated
type Request struct { // A field comment Ids []int32 `protobuf:"varint,1,rep,packed,name=ids,json=|foo|" json:"ids,omitempty"` // field trailer #1... // label comment Name *string `protobuf:"bytes,2,opt,name=name,def=fubar" json:"name,omitempty"` Extras *Request_Extras `protobuf:"group,3,opt,name=Extras,json=extras" json:"extras,omitempty"` // can be this or that // // Types that are assignable to Abc: // *Request_This // *Request_That Abc isRequest_Abc `protobuf_oneof:"abc"` // can be these or those // // Types that are assignable to Xyz: // *Request_These // *Request_Those Xyz isRequest_Xyz `protobuf_oneof:"xyz"` // map field Things map[string]string `` /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
We need a request for our RPC service below.
Deprecated: Do not use.
func (*Request) Descriptor
deprecated
func (*Request) ExtensionRangeArray
deprecated
func (*Request) ExtensionRangeArray() []protoiface.ExtensionRangeV1
Deprecated: Use Request.ProtoReflect.Descriptor.ExtensionRanges instead.
func (*Request) GetExtras ¶
func (x *Request) GetExtras() *Request_Extras
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
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"` // Trailing comment... // contains filtered or unexported fields }
Group comment
func (*Request_Extras) Descriptor
deprecated
func (*Request_Extras) Descriptor() ([]byte, []int)
Deprecated: Use Request_Extras.ProtoReflect.Descriptor instead.
func (*Request_Extras) GetDbl ¶
func (x *Request_Extras) GetDbl() float64
func (*Request_Extras) GetFlt ¶
func (x *Request_Extras) GetFlt() float32
func (*Request_Extras) GetStr ¶
func (x *Request_Extras) GetStr() string
func (*Request_Extras) ProtoMessage ¶
func (*Request_Extras) ProtoMessage()
func (*Request_Extras) ProtoReflect ¶
func (x *Request_Extras) ProtoReflect() protoreflect.Message
func (*Request_Extras) Reset ¶
func (x *Request_Extras) Reset()
func (*Request_Extras) String ¶
func (x *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 Request_SNIFIT Request_MarioCharacters = -101 )
func (Request_MarioCharacters) Descriptor ¶
func (Request_MarioCharacters) Descriptor() protoreflect.EnumDescriptor
func (Request_MarioCharacters) Enum ¶
func (x Request_MarioCharacters) Enum() *Request_MarioCharacters
func (Request_MarioCharacters) EnumDescriptor
deprecated
func (Request_MarioCharacters) EnumDescriptor() ([]byte, []int)
Deprecated: Use Request_MarioCharacters.Descriptor instead.
func (Request_MarioCharacters) Number ¶
func (x Request_MarioCharacters) Number() protoreflect.EnumNumber
func (Request_MarioCharacters) String ¶
func (x Request_MarioCharacters) String() string
func (Request_MarioCharacters) Type ¶
func (Request_MarioCharacters) Type() protoreflect.EnumType
func (*Request_MarioCharacters) UnmarshalJSON
deprecated
func (x *Request_MarioCharacters) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type Request_That ¶
type Request_That struct {
That int32 `protobuf:"varint,5,opt,name=that,oneof"`
}
type Request_These ¶
type Request_These struct {
These string `protobuf:"bytes,6,opt,name=these,oneof"`
}
type Request_This ¶
type Request_This struct {
This string `protobuf:"bytes,4,opt,name=this,oneof"`
}
type Request_Those ¶
type Request_Those struct {
Those int32 `protobuf:"varint,7,opt,name=those,oneof"`
}
type RpcServiceClient ¶
type RpcServiceClient interface { // Method comment StreamingRpc(ctx context.Context, opts ...grpc.CallOption) (RpcService_StreamingRpcClient, error) // Deprecated: Do not use. UnaryRpc(ctx context.Context, in *Request, opts ...grpc.CallOption) (*emptypb.Empty, error) }
RpcServiceClient is the client API for RpcService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewRpcServiceClient ¶
func NewRpcServiceClient(cc grpc.ClientConnInterface) RpcServiceClient
type RpcServiceServer ¶
type RpcServiceServer interface { // Method comment StreamingRpc(RpcService_StreamingRpcServer) error // Deprecated: Do not use. UnaryRpc(context.Context, *Request) (*emptypb.Empty, error) }
RpcServiceServer is the server API for RpcService service.
type Rule ¶
type Rule struct { // Types that are assignable to Rule: // *Rule_String_ // *Rule_Repeated // *Rule_Int // *Rule_Floatrule Rule isRule_Rule `protobuf_oneof:"rule"` // contains filtered or unexported fields }
func (*Rule) Descriptor
deprecated
func (*Rule) GetFloatrule ¶
func (x *Rule) GetFloatrule() *Rule_FloatRule
func (*Rule) GetInt ¶
func (x *Rule) GetInt() *Rule_IntRule
func (*Rule) GetRepeated ¶
func (x *Rule) GetRepeated() *Rule_RepeatedRule
func (*Rule) GetString_ ¶
func (x *Rule) GetString_() *Rule_StringRule
func (*Rule) ProtoMessage ¶
func (*Rule) ProtoMessage()
func (*Rule) ProtoReflect ¶
func (x *Rule) ProtoReflect() protoreflect.Message
type Rule_FloatRule ¶
type Rule_FloatRule struct { MinVal *float64 `protobuf:"fixed64,1,opt,name=min_val,json=minVal" json:"min_val,omitempty"` MaxVal *float64 `protobuf:"fixed64,2,opt,name=max_val,json=maxVal" json:"max_val,omitempty"` // contains filtered or unexported fields }
func (*Rule_FloatRule) Descriptor
deprecated
func (*Rule_FloatRule) Descriptor() ([]byte, []int)
Deprecated: Use Rule_FloatRule.ProtoReflect.Descriptor instead.
func (*Rule_FloatRule) GetMaxVal ¶
func (x *Rule_FloatRule) GetMaxVal() float64
func (*Rule_FloatRule) GetMinVal ¶
func (x *Rule_FloatRule) GetMinVal() float64
func (*Rule_FloatRule) ProtoMessage ¶
func (*Rule_FloatRule) ProtoMessage()
func (*Rule_FloatRule) ProtoReflect ¶
func (x *Rule_FloatRule) ProtoReflect() protoreflect.Message
func (*Rule_FloatRule) Reset ¶
func (x *Rule_FloatRule) Reset()
func (*Rule_FloatRule) String ¶
func (x *Rule_FloatRule) String() string
type Rule_Floatrule ¶
type Rule_Floatrule struct {
Floatrule *Rule_FloatRule `protobuf:"group,4,opt,name=FloatRule,json=floatrule,oneof"`
}
type Rule_Int ¶
type Rule_Int struct {
Int *Rule_IntRule `protobuf:"bytes,3,opt,name=int,oneof"`
}
type Rule_IntRule ¶
type Rule_IntRule struct { MinVal *int64 `protobuf:"varint,1,opt,name=min_val,json=minVal" json:"min_val,omitempty"` MaxVal *uint64 `protobuf:"varint,2,opt,name=max_val,json=maxVal" json:"max_val,omitempty"` // contains filtered or unexported fields }
func (*Rule_IntRule) Descriptor
deprecated
func (*Rule_IntRule) Descriptor() ([]byte, []int)
Deprecated: Use Rule_IntRule.ProtoReflect.Descriptor instead.
func (*Rule_IntRule) GetMaxVal ¶
func (x *Rule_IntRule) GetMaxVal() uint64
func (*Rule_IntRule) GetMinVal ¶
func (x *Rule_IntRule) GetMinVal() int64
func (*Rule_IntRule) ProtoMessage ¶
func (*Rule_IntRule) ProtoMessage()
func (*Rule_IntRule) ProtoReflect ¶
func (x *Rule_IntRule) ProtoReflect() protoreflect.Message
func (*Rule_IntRule) Reset ¶
func (x *Rule_IntRule) Reset()
func (*Rule_IntRule) String ¶
func (x *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"` // contains filtered or unexported fields }
func (*Rule_RepeatedRule) Descriptor
deprecated
func (*Rule_RepeatedRule) Descriptor() ([]byte, []int)
Deprecated: Use Rule_RepeatedRule.ProtoReflect.Descriptor instead.
func (*Rule_RepeatedRule) GetAllowEmpty ¶
func (x *Rule_RepeatedRule) GetAllowEmpty() bool
func (*Rule_RepeatedRule) GetItems ¶
func (x *Rule_RepeatedRule) GetItems() *Rule
func (*Rule_RepeatedRule) GetMaxItems ¶
func (x *Rule_RepeatedRule) GetMaxItems() int32
func (*Rule_RepeatedRule) GetMinItems ¶
func (x *Rule_RepeatedRule) GetMinItems() int32
func (*Rule_RepeatedRule) ProtoMessage ¶
func (*Rule_RepeatedRule) ProtoMessage()
func (*Rule_RepeatedRule) ProtoReflect ¶
func (x *Rule_RepeatedRule) ProtoReflect() protoreflect.Message
func (*Rule_RepeatedRule) Reset ¶
func (x *Rule_RepeatedRule) Reset()
func (*Rule_RepeatedRule) String ¶
func (x *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"` // contains filtered or unexported fields }
func (*Rule_StringRule) Descriptor
deprecated
func (*Rule_StringRule) Descriptor() ([]byte, []int)
Deprecated: Use Rule_StringRule.ProtoReflect.Descriptor instead.
func (*Rule_StringRule) GetAllowEmpty ¶
func (x *Rule_StringRule) GetAllowEmpty() bool
func (*Rule_StringRule) GetMaxLen ¶
func (x *Rule_StringRule) GetMaxLen() int32
func (*Rule_StringRule) GetMinLen ¶
func (x *Rule_StringRule) GetMinLen() int32
func (*Rule_StringRule) GetPattern ¶
func (x *Rule_StringRule) GetPattern() string
func (*Rule_StringRule) ProtoMessage ¶
func (*Rule_StringRule) ProtoMessage()
func (*Rule_StringRule) ProtoReflect ¶
func (x *Rule_StringRule) ProtoReflect() protoreflect.Message
func (*Rule_StringRule) Reset ¶
func (x *Rule_StringRule) Reset()
func (*Rule_StringRule) String ¶
func (x *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"` // contains filtered or unexported fields }
func (*Simple) Descriptor
deprecated
func (*Simple) ProtoMessage ¶
func (*Simple) ProtoMessage()
func (*Simple) ProtoReflect ¶
func (x *Simple) ProtoReflect() protoreflect.Message
type SimpleValue ¶
type SimpleValue struct { List *structpb.Value `protobuf:"bytes,1,opt,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*SimpleValue) Descriptor
deprecated
func (*SimpleValue) Descriptor() ([]byte, []int)
Deprecated: Use SimpleValue.ProtoReflect.Descriptor instead.
func (*SimpleValue) GetList ¶
func (x *SimpleValue) GetList() *structpb.Value
func (*SimpleValue) ProtoMessage ¶
func (*SimpleValue) ProtoMessage()
func (*SimpleValue) ProtoReflect ¶
func (x *SimpleValue) ProtoReflect() protoreflect.Message
func (*SimpleValue) Reset ¶
func (x *SimpleValue) Reset()
func (*SimpleValue) String ¶
func (x *SimpleValue) String() string
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"` // this is utf-8 for \u1234 StringWithZero *string `protobuf:"bytes,5,opt,name=string_with_zero,json=stringWithZero,def=hel\x00lo" json:"string_with_zero,omitempty"` BytesWithZero []byte `protobuf:"bytes,6,opt,name=bytes_with_zero,json=bytesWithZero,def=wor\\000ld" json:"bytes_with_zero,omitempty"` ReallyLongString *string `` /* 245-byte string literal not displayed */ // contains filtered or unexported fields }
func (*StringAndBytesDefaults) Descriptor
deprecated
func (*StringAndBytesDefaults) Descriptor() ([]byte, []int)
Deprecated: Use StringAndBytesDefaults.ProtoReflect.Descriptor instead.
func (*StringAndBytesDefaults) GetBytesWithZero ¶
func (x *StringAndBytesDefaults) GetBytesWithZero() []byte
func (*StringAndBytesDefaults) GetDq ¶
func (x *StringAndBytesDefaults) GetDq() string
func (*StringAndBytesDefaults) GetEscapedBytes ¶
func (x *StringAndBytesDefaults) GetEscapedBytes() []byte
func (*StringAndBytesDefaults) GetReallyLongString ¶
func (x *StringAndBytesDefaults) GetReallyLongString() string
func (*StringAndBytesDefaults) GetSq ¶
func (x *StringAndBytesDefaults) GetSq() string
func (*StringAndBytesDefaults) GetStringWithZero ¶
func (x *StringAndBytesDefaults) GetStringWithZero() string
func (*StringAndBytesDefaults) GetUtf8String ¶
func (x *StringAndBytesDefaults) GetUtf8String() string
func (*StringAndBytesDefaults) ProtoMessage ¶
func (*StringAndBytesDefaults) ProtoMessage()
func (*StringAndBytesDefaults) ProtoReflect ¶
func (x *StringAndBytesDefaults) ProtoReflect() protoreflect.Message
func (*StringAndBytesDefaults) Reset ¶
func (x *StringAndBytesDefaults) Reset()
func (*StringAndBytesDefaults) String ¶
func (x *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"` // contains filtered or unexported fields }
func (*Test) Descriptor
deprecated
func (*Test) ExtensionRangeArray
deprecated
func (*Test) ExtensionRangeArray() []protoiface.ExtensionRangeV1
Deprecated: Use Test.ProtoReflect.Descriptor.ExtensionRanges instead.
func (*Test) ProtoMessage ¶
func (*Test) ProtoMessage()
func (*Test) ProtoReflect ¶
func (x *Test) ProtoReflect() protoreflect.Message
type TestEnum ¶
type TestEnum int32
func (TestEnum) Descriptor ¶
func (TestEnum) Descriptor() protoreflect.EnumDescriptor
func (TestEnum) EnumDescriptor
deprecated
func (TestEnum) Number ¶
func (x TestEnum) Number() protoreflect.EnumNumber
func (TestEnum) Type ¶
func (TestEnum) Type() protoreflect.EnumType
func (*TestEnum) UnmarshalJSON
deprecated
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"` // contains filtered or unexported fields }
Comment for TestMessage
func (*TestMessage) Descriptor
deprecated
func (*TestMessage) Descriptor() ([]byte, []int)
Deprecated: Use TestMessage.ProtoReflect.Descriptor instead.
func (*TestMessage) GetAnm ¶
func (x *TestMessage) GetAnm() *TestMessage_NestedMessage_AnotherNestedMessage
func (*TestMessage) GetNe ¶
func (x *TestMessage) GetNe() []TestMessage_NestedEnum
func (*TestMessage) GetNm ¶
func (x *TestMessage) GetNm() *TestMessage_NestedMessage
func (*TestMessage) GetYanm ¶
func (x *TestMessage) GetYanm() *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage
func (*TestMessage) ProtoMessage ¶
func (*TestMessage) ProtoMessage()
func (*TestMessage) ProtoReflect ¶
func (x *TestMessage) ProtoReflect() protoreflect.Message
func (*TestMessage) Reset ¶
func (x *TestMessage) Reset()
func (*TestMessage) String ¶
func (x *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 )
func (TestMessage_NestedEnum) Descriptor ¶
func (TestMessage_NestedEnum) Descriptor() protoreflect.EnumDescriptor
func (TestMessage_NestedEnum) Enum ¶
func (x TestMessage_NestedEnum) Enum() *TestMessage_NestedEnum
func (TestMessage_NestedEnum) EnumDescriptor
deprecated
func (TestMessage_NestedEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use TestMessage_NestedEnum.Descriptor instead.
func (TestMessage_NestedEnum) Number ¶
func (x TestMessage_NestedEnum) Number() protoreflect.EnumNumber
func (TestMessage_NestedEnum) String ¶
func (x TestMessage_NestedEnum) String() string
func (TestMessage_NestedEnum) Type ¶
func (TestMessage_NestedEnum) Type() protoreflect.EnumType
func (*TestMessage_NestedEnum) UnmarshalJSON
deprecated
func (x *TestMessage_NestedEnum) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
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"` // contains filtered or unexported fields }
Comment for NestedMessage
func (*TestMessage_NestedMessage) Descriptor
deprecated
func (*TestMessage_NestedMessage) Descriptor() ([]byte, []int)
Deprecated: Use TestMessage_NestedMessage.ProtoReflect.Descriptor instead.
func (*TestMessage_NestedMessage) GetAnm ¶
func (x *TestMessage_NestedMessage) GetAnm() *TestMessage_NestedMessage_AnotherNestedMessage
func (*TestMessage_NestedMessage) ProtoMessage ¶
func (*TestMessage_NestedMessage) ProtoMessage()
func (*TestMessage_NestedMessage) ProtoReflect ¶
func (x *TestMessage_NestedMessage) ProtoReflect() protoreflect.Message
func (*TestMessage_NestedMessage) Reset ¶
func (x *TestMessage_NestedMessage) Reset()
func (*TestMessage_NestedMessage) String ¶
func (x *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"` // contains filtered or unexported fields }
Comment for AnotherNestedMessage
func (*TestMessage_NestedMessage_AnotherNestedMessage) Descriptor
deprecated
func (*TestMessage_NestedMessage_AnotherNestedMessage) Descriptor() ([]byte, []int)
Deprecated: Use TestMessage_NestedMessage_AnotherNestedMessage.ProtoReflect.Descriptor instead.
func (*TestMessage_NestedMessage_AnotherNestedMessage) ProtoMessage ¶
func (*TestMessage_NestedMessage_AnotherNestedMessage) ProtoMessage()
func (*TestMessage_NestedMessage_AnotherNestedMessage) ProtoReflect ¶
func (x *TestMessage_NestedMessage_AnotherNestedMessage) ProtoReflect() protoreflect.Message
func (*TestMessage_NestedMessage_AnotherNestedMessage) Reset ¶
func (x *TestMessage_NestedMessage_AnotherNestedMessage) Reset()
func (*TestMessage_NestedMessage_AnotherNestedMessage) String ¶
func (x *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"` // contains filtered or unexported fields }
Comment for YetAnotherNestedMessage
func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) Descriptor
deprecated
func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) Descriptor() ([]byte, []int)
Deprecated: Use TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage.ProtoReflect.Descriptor instead.
func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) GetBar ¶
func (x *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) GetBar() int32
func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) GetBaz ¶
func (x *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) GetBaz() []byte
func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) GetFoo ¶
func (x *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) GetFoo() string
func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) ProtoMessage ¶
func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) ProtoMessage()
func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) ProtoReflect ¶
func (x *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) ProtoReflect() protoreflect.Message
func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) Reset ¶
func (x *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) Reset()
func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage) String ¶
func (x *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) Descriptor ¶
func (TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum) Enum ¶
func (TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum) EnumDescriptor
deprecated
func (TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum.Descriptor instead.
func (TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum) Number ¶
func (TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum) String ¶
func (TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum) Type ¶
func (*TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum) UnmarshalJSON
deprecated
func (x *TestMessage_NestedMessage_AnotherNestedMessage_YetAnotherNestedMessage_DeeplyNestedEnum) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type TestRequest ¶
type TestRequest struct { Foo []Proto3Enum `protobuf:"varint,1,rep,packed,name=foo,proto3,enum=testprotos.Proto3Enum" json:"foo,omitempty"` Bar string `protobuf:"bytes,2,opt,name=bar,proto3" json:"bar,omitempty"` Baz *TestMessage `protobuf:"bytes,3,opt,name=baz,proto3" json:"baz,omitempty"` Snafu *TestMessage_NestedMessage_AnotherNestedMessage `protobuf:"bytes,4,opt,name=snafu,proto3" json:"snafu,omitempty"` Flags map[string]bool `` /* 152-byte string literal not displayed */ Others map[string]*TestMessage `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*TestRequest) Descriptor
deprecated
func (*TestRequest) Descriptor() ([]byte, []int)
Deprecated: Use TestRequest.ProtoReflect.Descriptor instead.
func (*TestRequest) GetBar ¶
func (x *TestRequest) GetBar() string
func (*TestRequest) GetBaz ¶
func (x *TestRequest) GetBaz() *TestMessage
func (*TestRequest) GetFlags ¶
func (x *TestRequest) GetFlags() map[string]bool
func (*TestRequest) GetFoo ¶
func (x *TestRequest) GetFoo() []Proto3Enum
func (*TestRequest) GetOthers ¶
func (x *TestRequest) GetOthers() map[string]*TestMessage
func (*TestRequest) GetSnafu ¶
func (x *TestRequest) GetSnafu() *TestMessage_NestedMessage_AnotherNestedMessage
func (*TestRequest) ProtoMessage ¶
func (*TestRequest) ProtoMessage()
func (*TestRequest) ProtoReflect ¶
func (x *TestRequest) ProtoReflect() protoreflect.Message
func (*TestRequest) Reset ¶
func (x *TestRequest) Reset()
func (*TestRequest) String ¶
func (x *TestRequest) String() string
type TestResponse ¶
type TestResponse struct { Atm *AnotherTestMessage `protobuf:"bytes,1,opt,name=atm,proto3" json:"atm,omitempty"` Vs []int32 `protobuf:"varint,2,rep,packed,name=vs,proto3" json:"vs,omitempty"` // contains filtered or unexported fields }
func (*TestResponse) Descriptor
deprecated
func (*TestResponse) Descriptor() ([]byte, []int)
Deprecated: Use TestResponse.ProtoReflect.Descriptor instead.
func (*TestResponse) GetAtm ¶
func (x *TestResponse) GetAtm() *AnotherTestMessage
func (*TestResponse) GetVs ¶
func (x *TestResponse) GetVs() []int32
func (*TestResponse) ProtoMessage ¶
func (*TestResponse) ProtoMessage()
func (*TestResponse) ProtoReflect ¶
func (x *TestResponse) ProtoReflect() protoreflect.Message
func (*TestResponse) Reset ¶
func (x *TestResponse) Reset()
func (*TestResponse) String ¶
func (x *TestResponse) String() string
type TestServiceClient ¶
type TestServiceClient interface { DoSomething(ctx context.Context, in *TestRequest, opts ...grpc.CallOption) (*pkg.Bar, error) DoSomethingElse(ctx context.Context, opts ...grpc.CallOption) (TestService_DoSomethingElseClient, error) DoSomethingAgain(ctx context.Context, in *pkg.Bar, opts ...grpc.CallOption) (TestService_DoSomethingAgainClient, error) DoSomethingForever(ctx context.Context, opts ...grpc.CallOption) (TestService_DoSomethingForeverClient, error) }
TestServiceClient is the client API for TestService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTestServiceClient ¶
func NewTestServiceClient(cc grpc.ClientConnInterface) TestServiceClient
type TestServiceServer ¶
type TestServiceServer interface { DoSomething(context.Context, *TestRequest) (*pkg.Bar, error) DoSomethingElse(TestService_DoSomethingElseServer) error DoSomethingAgain(*pkg.Bar, TestService_DoSomethingAgainServer) error DoSomethingForever(TestService_DoSomethingForeverServer) error }
TestServiceServer is the server API for TestService service.
type TestService_DoSomethingAgainClient ¶
type TestService_DoSomethingAgainClient interface { Recv() (*AnotherTestMessage, error) grpc.ClientStream }
type TestService_DoSomethingAgainServer ¶
type TestService_DoSomethingAgainServer interface { Send(*AnotherTestMessage) error grpc.ServerStream }
type TestService_DoSomethingElseClient ¶
type TestService_DoSomethingElseClient interface { Send(*TestMessage) error CloseAndRecv() (*TestResponse, error) grpc.ClientStream }
type TestService_DoSomethingElseServer ¶
type TestService_DoSomethingElseServer interface { SendAndClose(*TestResponse) error Recv() (*TestMessage, error) grpc.ServerStream }
type TestService_DoSomethingForeverClient ¶
type TestService_DoSomethingForeverClient interface { Send(*TestRequest) error Recv() (*TestResponse, error) grpc.ClientStream }
type TestService_DoSomethingForeverServer ¶
type TestService_DoSomethingForeverServer interface { Send(*TestResponse) error Recv() (*TestRequest, error) grpc.ServerStream }
type TestTestServiceClient ¶
type TestTestServiceClient interface { UserAuth(ctx context.Context, in *Test, opts ...grpc.CallOption) (*Test, error) Get(ctx context.Context, in *Test, opts ...grpc.CallOption) (*Test, error) }
TestTestServiceClient is the client API for TestTestService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTestTestServiceClient ¶
func NewTestTestServiceClient(cc grpc.ClientConnInterface) TestTestServiceClient
type TestTestServiceServer ¶
type TestTestServiceServer interface { UserAuth(context.Context, *Test) (*Test, error) Get(context.Context, *Test) (*Test, error) }
TestTestServiceServer is the server API for TestTestService service.
type TestWellKnownTypes ¶
type TestWellKnownTypes struct { StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` Elapsed *durationpb.Duration `protobuf:"bytes,2,opt,name=elapsed,proto3" json:"elapsed,omitempty"` Dbl *wrapperspb.DoubleValue `protobuf:"bytes,3,opt,name=dbl,proto3" json:"dbl,omitempty"` Flt *wrapperspb.FloatValue `protobuf:"bytes,4,opt,name=flt,proto3" json:"flt,omitempty"` Bl *wrapperspb.BoolValue `protobuf:"bytes,5,opt,name=bl,proto3" json:"bl,omitempty"` I32 *wrapperspb.Int32Value `protobuf:"bytes,6,opt,name=i32,proto3" json:"i32,omitempty"` I64 *wrapperspb.Int64Value `protobuf:"bytes,7,opt,name=i64,proto3" json:"i64,omitempty"` U32 *wrapperspb.UInt32Value `protobuf:"bytes,8,opt,name=u32,proto3" json:"u32,omitempty"` U64 *wrapperspb.UInt64Value `protobuf:"bytes,9,opt,name=u64,proto3" json:"u64,omitempty"` Str *wrapperspb.StringValue `protobuf:"bytes,10,opt,name=str,proto3" json:"str,omitempty"` Byt *wrapperspb.BytesValue `protobuf:"bytes,11,opt,name=byt,proto3" json:"byt,omitempty"` Json []*structpb.Value `protobuf:"bytes,12,rep,name=json,proto3" json:"json,omitempty"` Extras []*anypb.Any `protobuf:"bytes,13,rep,name=extras,proto3" json:"extras,omitempty"` // contains filtered or unexported fields }
func (*TestWellKnownTypes) Descriptor
deprecated
func (*TestWellKnownTypes) Descriptor() ([]byte, []int)
Deprecated: Use TestWellKnownTypes.ProtoReflect.Descriptor instead.
func (*TestWellKnownTypes) GetBl ¶
func (x *TestWellKnownTypes) GetBl() *wrapperspb.BoolValue
func (*TestWellKnownTypes) GetByt ¶
func (x *TestWellKnownTypes) GetByt() *wrapperspb.BytesValue
func (*TestWellKnownTypes) GetDbl ¶
func (x *TestWellKnownTypes) GetDbl() *wrapperspb.DoubleValue
func (*TestWellKnownTypes) GetElapsed ¶
func (x *TestWellKnownTypes) GetElapsed() *durationpb.Duration
func (*TestWellKnownTypes) GetExtras ¶
func (x *TestWellKnownTypes) GetExtras() []*anypb.Any
func (*TestWellKnownTypes) GetFlt ¶
func (x *TestWellKnownTypes) GetFlt() *wrapperspb.FloatValue
func (*TestWellKnownTypes) GetI32 ¶
func (x *TestWellKnownTypes) GetI32() *wrapperspb.Int32Value
func (*TestWellKnownTypes) GetI64 ¶
func (x *TestWellKnownTypes) GetI64() *wrapperspb.Int64Value
func (*TestWellKnownTypes) GetJson ¶
func (x *TestWellKnownTypes) GetJson() []*structpb.Value
func (*TestWellKnownTypes) GetStartTime ¶
func (x *TestWellKnownTypes) GetStartTime() *timestamppb.Timestamp
func (*TestWellKnownTypes) GetStr ¶
func (x *TestWellKnownTypes) GetStr() *wrapperspb.StringValue
func (*TestWellKnownTypes) GetU32 ¶
func (x *TestWellKnownTypes) GetU32() *wrapperspb.UInt32Value
func (*TestWellKnownTypes) GetU64 ¶
func (x *TestWellKnownTypes) GetU64() *wrapperspb.UInt64Value
func (*TestWellKnownTypes) ProtoMessage ¶
func (*TestWellKnownTypes) ProtoMessage()
func (*TestWellKnownTypes) ProtoReflect ¶
func (x *TestWellKnownTypes) ProtoReflect() protoreflect.Message
func (*TestWellKnownTypes) Reset ¶
func (x *TestWellKnownTypes) Reset()
func (*TestWellKnownTypes) String ¶
func (x *TestWellKnownTypes) String() string
type Test_Nested ¶
type Test_Nested struct {
// contains filtered or unexported fields
}
func (*Test_Nested) Descriptor
deprecated
func (*Test_Nested) Descriptor() ([]byte, []int)
Deprecated: Use Test_Nested.ProtoReflect.Descriptor instead.
func (*Test_Nested) ProtoMessage ¶
func (*Test_Nested) ProtoMessage()
func (*Test_Nested) ProtoReflect ¶
func (x *Test_Nested) ProtoReflect() protoreflect.Message
func (*Test_Nested) Reset ¶
func (x *Test_Nested) Reset()
func (*Test_Nested) String ¶
func (x *Test_Nested) String() string
type Test_Nested_XNestedNested ¶
type Test_Nested_XNestedNested struct {
// contains filtered or unexported fields
}
func (*Test_Nested_XNestedNested) Descriptor
deprecated
func (*Test_Nested_XNestedNested) Descriptor() ([]byte, []int)
Deprecated: Use Test_Nested_XNestedNested.ProtoReflect.Descriptor instead.
func (*Test_Nested_XNestedNested) ProtoMessage ¶
func (*Test_Nested_XNestedNested) ProtoMessage()
func (*Test_Nested_XNestedNested) ProtoReflect ¶
func (x *Test_Nested_XNestedNested) ProtoReflect() protoreflect.Message
func (*Test_Nested_XNestedNested) Reset ¶
func (x *Test_Nested_XNestedNested) Reset()
func (*Test_Nested_XNestedNested) String ¶
func (x *Test_Nested_XNestedNested) String() string
type Test_Nested_XNestedNested_EEE ¶
type Test_Nested_XNestedNested_EEE int32
const ( Test_Nested_XNestedNested_OK Test_Nested_XNestedNested_EEE = 0 Test_Nested_XNestedNested_V1 Test_Nested_XNestedNested_EEE = 1 Test_Nested_XNestedNested_V2 Test_Nested_XNestedNested_EEE = 2 Test_Nested_XNestedNested_V3 Test_Nested_XNestedNested_EEE = 3 Test_Nested_XNestedNested_V4 Test_Nested_XNestedNested_EEE = 4 Test_Nested_XNestedNested_V5 Test_Nested_XNestedNested_EEE = 5 Test_Nested_XNestedNested_V6 Test_Nested_XNestedNested_EEE = 6 )
func (Test_Nested_XNestedNested_EEE) Descriptor ¶
func (Test_Nested_XNestedNested_EEE) Descriptor() protoreflect.EnumDescriptor
func (Test_Nested_XNestedNested_EEE) Enum ¶
func (x Test_Nested_XNestedNested_EEE) Enum() *Test_Nested_XNestedNested_EEE
func (Test_Nested_XNestedNested_EEE) EnumDescriptor
deprecated
func (Test_Nested_XNestedNested_EEE) EnumDescriptor() ([]byte, []int)
Deprecated: Use Test_Nested_XNestedNested_EEE.Descriptor instead.
func (Test_Nested_XNestedNested_EEE) Number ¶
func (x Test_Nested_XNestedNested_EEE) Number() protoreflect.EnumNumber
func (Test_Nested_XNestedNested_EEE) String ¶
func (x Test_Nested_XNestedNested_EEE) String() string
func (Test_Nested_XNestedNested_EEE) Type ¶
func (Test_Nested_XNestedNested_EEE) Type() protoreflect.EnumType
func (*Test_Nested_XNestedNested_EEE) UnmarshalJSON
deprecated
func (x *Test_Nested_XNestedNested_EEE) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type Test_Nested_XNestedNested_NestedNestedNested ¶
type Test_Nested_XNestedNested_NestedNestedNested struct { Test *Test `protobuf:"bytes,1,opt,name=Test" json:"Test,omitempty"` // contains filtered or unexported fields }
func (*Test_Nested_XNestedNested_NestedNestedNested) Descriptor
deprecated
func (*Test_Nested_XNestedNested_NestedNestedNested) Descriptor() ([]byte, []int)
Deprecated: Use Test_Nested_XNestedNested_NestedNestedNested.ProtoReflect.Descriptor instead.
func (*Test_Nested_XNestedNested_NestedNestedNested) GetTest ¶
func (x *Test_Nested_XNestedNested_NestedNestedNested) GetTest() *Test
func (*Test_Nested_XNestedNested_NestedNestedNested) ProtoMessage ¶
func (*Test_Nested_XNestedNested_NestedNestedNested) ProtoMessage()
func (*Test_Nested_XNestedNested_NestedNestedNested) ProtoReflect ¶
func (x *Test_Nested_XNestedNested_NestedNestedNested) ProtoReflect() protoreflect.Message
func (*Test_Nested_XNestedNested_NestedNestedNested) Reset ¶
func (x *Test_Nested_XNestedNested_NestedNestedNested) Reset()
func (*Test_Nested_XNestedNested_NestedNestedNested) String ¶
func (x *Test_Nested_XNestedNested_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"` // contains filtered or unexported fields }
func (*UnaryFields) Descriptor
deprecated
func (*UnaryFields) Descriptor() ([]byte, []int)
Deprecated: Use UnaryFields.ProtoReflect.Descriptor instead.
func (*UnaryFields) GetGroupy ¶
func (x *UnaryFields) GetGroupy() *UnaryFields_GroupY
func (*UnaryFields) GetI ¶
func (x *UnaryFields) GetI() int32
func (*UnaryFields) GetJ ¶
func (x *UnaryFields) GetJ() int64
func (*UnaryFields) GetK ¶
func (x *UnaryFields) GetK() int32
func (*UnaryFields) GetL ¶
func (x *UnaryFields) GetL() int64
func (*UnaryFields) GetM ¶
func (x *UnaryFields) GetM() uint32
func (*UnaryFields) GetN ¶
func (x *UnaryFields) GetN() uint64
func (*UnaryFields) GetO ¶
func (x *UnaryFields) GetO() uint32
func (*UnaryFields) GetP ¶
func (x *UnaryFields) GetP() uint64
func (*UnaryFields) GetQ ¶
func (x *UnaryFields) GetQ() int32
func (*UnaryFields) GetR ¶
func (x *UnaryFields) GetR() int64
func (*UnaryFields) GetS ¶
func (x *UnaryFields) GetS() float32
func (*UnaryFields) GetT ¶
func (x *UnaryFields) GetT() float64
func (*UnaryFields) GetU ¶
func (x *UnaryFields) GetU() []byte
func (*UnaryFields) GetV ¶
func (x *UnaryFields) GetV() string
func (*UnaryFields) GetW ¶
func (x *UnaryFields) GetW() bool
func (*UnaryFields) GetX ¶
func (x *UnaryFields) GetX() *RepeatedFields
func (*UnaryFields) GetZ ¶
func (x *UnaryFields) GetZ() TestEnum
func (*UnaryFields) ProtoMessage ¶
func (*UnaryFields) ProtoMessage()
func (*UnaryFields) ProtoReflect ¶
func (x *UnaryFields) ProtoReflect() protoreflect.Message
func (*UnaryFields) Reset ¶
func (x *UnaryFields) Reset()
func (*UnaryFields) String ¶
func (x *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"` // contains filtered or unexported fields }
func (*UnaryFields_GroupY) Descriptor
deprecated
func (*UnaryFields_GroupY) Descriptor() ([]byte, []int)
Deprecated: Use UnaryFields_GroupY.ProtoReflect.Descriptor instead.
func (*UnaryFields_GroupY) GetYa ¶
func (x *UnaryFields_GroupY) GetYa() string
func (*UnaryFields_GroupY) GetYb ¶
func (x *UnaryFields_GroupY) GetYb() int32
func (*UnaryFields_GroupY) ProtoMessage ¶
func (*UnaryFields_GroupY) ProtoMessage()
func (*UnaryFields_GroupY) ProtoReflect ¶
func (x *UnaryFields_GroupY) ProtoReflect() protoreflect.Message
func (*UnaryFields_GroupY) Reset ¶
func (x *UnaryFields_GroupY) Reset()
func (*UnaryFields_GroupY) String ¶
func (x *UnaryFields_GroupY) String() string
type UnimplementedRpcServiceServer ¶
type UnimplementedRpcServiceServer struct { }
UnimplementedRpcServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedRpcServiceServer) StreamingRpc ¶
func (*UnimplementedRpcServiceServer) StreamingRpc(RpcService_StreamingRpcServer) error
type UnimplementedTestServiceServer ¶
type UnimplementedTestServiceServer struct { }
UnimplementedTestServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedTestServiceServer) DoSomething ¶
func (*UnimplementedTestServiceServer) DoSomething(context.Context, *TestRequest) (*pkg.Bar, error)
func (*UnimplementedTestServiceServer) DoSomethingAgain ¶
func (*UnimplementedTestServiceServer) DoSomethingAgain(*pkg.Bar, TestService_DoSomethingAgainServer) error
func (*UnimplementedTestServiceServer) DoSomethingElse ¶
func (*UnimplementedTestServiceServer) DoSomethingElse(TestService_DoSomethingElseServer) error
func (*UnimplementedTestServiceServer) DoSomethingForever ¶
func (*UnimplementedTestServiceServer) DoSomethingForever(TestService_DoSomethingForeverServer) error
type UnimplementedTestTestServiceServer ¶
type UnimplementedTestTestServiceServer struct { }
UnimplementedTestTestServiceServer can be embedded to have forward compatible implementations.
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"` // contains filtered or unexported fields }
func (*Validator) Descriptor
deprecated
func (*Validator) GetAuthenticated ¶
func (*Validator) GetPermission ¶
func (x *Validator) GetPermission() []*Validator_Permission
func (*Validator) ProtoMessage ¶
func (*Validator) ProtoMessage()
func (*Validator) ProtoReflect ¶
func (x *Validator) ProtoReflect() protoreflect.Message
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) Descriptor ¶
func (Validator_Action) Descriptor() protoreflect.EnumDescriptor
func (Validator_Action) Enum ¶
func (x Validator_Action) Enum() *Validator_Action
func (Validator_Action) EnumDescriptor
deprecated
func (Validator_Action) EnumDescriptor() ([]byte, []int)
Deprecated: Use Validator_Action.Descriptor instead.
func (Validator_Action) Number ¶
func (x Validator_Action) Number() protoreflect.EnumNumber
func (Validator_Action) String ¶
func (x Validator_Action) String() string
func (Validator_Action) Type ¶
func (Validator_Action) Type() protoreflect.EnumType
func (*Validator_Action) UnmarshalJSON
deprecated
func (x *Validator_Action) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
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"` // contains filtered or unexported fields }
func (*Validator_Permission) Descriptor
deprecated
func (*Validator_Permission) Descriptor() ([]byte, []int)
Deprecated: Use Validator_Permission.ProtoReflect.Descriptor instead.
func (*Validator_Permission) GetAction ¶
func (x *Validator_Permission) GetAction() Validator_Action
func (*Validator_Permission) GetEntity ¶
func (x *Validator_Permission) GetEntity() string
func (*Validator_Permission) ProtoMessage ¶
func (*Validator_Permission) ProtoMessage()
func (*Validator_Permission) ProtoReflect ¶
func (x *Validator_Permission) ProtoReflect() protoreflect.Message
func (*Validator_Permission) Reset ¶
func (x *Validator_Permission) Reset()
func (*Validator_Permission) String ¶
func (x *Validator_Permission) String() string
type Whatchamacallit ¶
type Whatchamacallit struct { Foos *pkg.Foo `protobuf:"varint,1,req,name=foos,enum=jhump.protoreflect.desc.Foo" json:"foos,omitempty"` // contains filtered or unexported fields }
func (*Whatchamacallit) Descriptor
deprecated
func (*Whatchamacallit) Descriptor() ([]byte, []int)
Deprecated: Use Whatchamacallit.ProtoReflect.Descriptor instead.
func (*Whatchamacallit) GetFoos ¶
func (x *Whatchamacallit) GetFoos() pkg.Foo
func (*Whatchamacallit) ProtoMessage ¶
func (*Whatchamacallit) ProtoMessage()
func (*Whatchamacallit) ProtoReflect ¶
func (x *Whatchamacallit) ProtoReflect() protoreflect.Message
func (*Whatchamacallit) Reset ¶
func (x *Whatchamacallit) Reset()
func (*Whatchamacallit) String ¶
func (x *Whatchamacallit) String() string
type Whatzit ¶
type Whatzit struct { Gyzmeau []*pkg.Bar `protobuf:"bytes,1,rep,name=gyzmeau" json:"gyzmeau,omitempty"` // contains filtered or unexported fields }
func (*Whatzit) Descriptor
deprecated
func (*Whatzit) GetGyzmeau ¶
func (*Whatzit) ProtoMessage ¶
func (*Whatzit) ProtoMessage()
func (*Whatzit) ProtoReflect ¶
func (x *Whatzit) ProtoReflect() protoreflect.Message
Source Files ¶
- desc_test1.pb.go
- desc_test1.pb.srcinfo.go
- desc_test2.pb.go
- desc_test2.pb.srcinfo.go
- desc_test_comments.pb.go
- desc_test_comments.pb.srcinfo.go
- desc_test_complex.pb.go
- desc_test_complex.pb.srcinfo.go
- desc_test_defaults.pb.go
- desc_test_defaults.pb.srcinfo.go
- desc_test_field_types.pb.go
- desc_test_field_types.pb.srcinfo.go
- desc_test_oneof.pb.go
- desc_test_oneof.pb.srcinfo.go
- desc_test_options.pb.go
- desc_test_options.pb.srcinfo.go
- desc_test_proto3.pb.go
- desc_test_proto3.pb.srcinfo.go
- desc_test_value.pb.go
- desc_test_value.pb.srcinfo.go
- desc_test_wellknowntypes.pb.go
- desc_test_wellknowntypes.pb.srcinfo.go
- gen.go