Documentation ¶
Index ¶
- Variables
- type Primitives
- func (*Primitives) Descriptor() ([]byte, []int)deprecated
- func (x *Primitives) GetFieldA() []byte
- func (x *Primitives) GetFieldAux() *Primitives_Aux
- func (x *Primitives) GetFieldB() string
- func (x *Primitives) GetFieldC() bool
- func (x *Primitives) GetFieldD() int32
- func (x *Primitives) GetFieldE() uint32
- func (x *Primitives) GetFieldF() int64
- func (x *Primitives) GetFieldG() uint64
- func (x *Primitives) GetFieldH() Primitives_SomeEnum
- func (x *Primitives) GetFieldI() uint64
- func (x *Primitives) GetFieldJ() float64
- func (x *Primitives) GetFieldK() uint32
- func (m *Primitives) GetFieldM() isPrimitives_FieldM
- func (x *Primitives) GetFieldMa() []byte
- func (x *Primitives) GetFieldMe() uint32
- func (*Primitives) ProtoMessage()
- func (x *Primitives) ProtoReflect() protoreflect.Message
- func (x *Primitives) Reset()
- func (x *Primitives) String() string
- type Primitives_Aux
- type Primitives_FieldAux
- type Primitives_FieldMa
- type Primitives_FieldMe
- type Primitives_SomeEnum
- func (Primitives_SomeEnum) Descriptor() protoreflect.EnumDescriptor
- func (x Primitives_SomeEnum) Enum() *Primitives_SomeEnum
- func (Primitives_SomeEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x Primitives_SomeEnum) Number() protoreflect.EnumNumber
- func (x Primitives_SomeEnum) String() string
- func (Primitives_SomeEnum) Type() protoreflect.EnumType
- type RepPrimitives
- func (*RepPrimitives) Descriptor() ([]byte, []int)deprecated
- func (x *RepPrimitives) GetFieldA() [][]byte
- func (x *RepPrimitives) GetFieldAux() []*RepPrimitives_Aux
- func (x *RepPrimitives) GetFieldB() []string
- func (x *RepPrimitives) GetFieldC() []int32
- func (x *RepPrimitives) GetFieldD() []uint32
- func (x *RepPrimitives) GetFieldE() []int64
- func (x *RepPrimitives) GetFieldF() []uint64
- func (x *RepPrimitives) GetFieldFu() []uint64
- func (*RepPrimitives) ProtoMessage()
- func (x *RepPrimitives) ProtoReflect() protoreflect.Message
- func (x *RepPrimitives) Reset()
- func (x *RepPrimitives) String() string
- type RepPrimitives_Aux
- func (*RepPrimitives_Aux) Descriptor() ([]byte, []int)deprecated
- func (x *RepPrimitives_Aux) GetInnerField() uint32
- func (*RepPrimitives_Aux) ProtoMessage()
- func (x *RepPrimitives_Aux) ProtoReflect() protoreflect.Message
- func (x *RepPrimitives_Aux) Reset()
- func (x *RepPrimitives_Aux) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Primitives_SomeEnum_name = map[int32]string{ 0: "UNKNOWN", 1: "POSITIVE", -1: "NEGATIVE", } Primitives_SomeEnum_value = map[string]int32{ "UNKNOWN": 0, "POSITIVE": 1, "NEGATIVE": -1, } )
Enum value maps for Primitives_SomeEnum.
View Source
var File_util_proto_test_test_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Primitives ¶
type Primitives struct { FieldA []byte `protobuf:"bytes,1,opt,name=field_a,json=fieldA,proto3" json:"field_a,omitempty"` FieldB string `protobuf:"bytes,2,opt,name=field_b,json=fieldB,proto3" json:"field_b,omitempty"` FieldC bool `protobuf:"varint,200,opt,name=field_c,json=fieldC,proto3" json:"field_c,omitempty"` FieldD int32 `protobuf:"varint,201,opt,name=field_d,json=fieldD,proto3" json:"field_d,omitempty"` FieldE uint32 `protobuf:"varint,202,opt,name=field_e,json=fieldE,proto3" json:"field_e,omitempty"` FieldF int64 `protobuf:"varint,203,opt,name=field_f,json=fieldF,proto3" json:"field_f,omitempty"` FieldG uint64 `protobuf:"varint,204,opt,name=field_g,json=fieldG,proto3" json:"field_g,omitempty"` FieldI uint64 `protobuf:"fixed64,205,opt,name=field_i,json=fieldI,proto3" json:"field_i,omitempty"` FieldJ float64 `protobuf:"fixed64,206,opt,name=field_j,json=fieldJ,proto3" json:"field_j,omitempty"` FieldK uint32 `protobuf:"fixed32,207,opt,name=field_k,json=fieldK,proto3" json:"field_k,omitempty"` FieldH Primitives_SomeEnum `protobuf:"varint,300,opt,name=field_h,json=fieldH,proto3,enum=test.Primitives_SomeEnum" json:"field_h,omitempty"` // Types that are assignable to FieldM: // // *Primitives_FieldMa // *Primitives_FieldMe // *Primitives_FieldAux FieldM isPrimitives_FieldM `protobuf_oneof:"field_m"` // contains filtered or unexported fields }
func (*Primitives) Descriptor
deprecated
func (*Primitives) Descriptor() ([]byte, []int)
Deprecated: Use Primitives.ProtoReflect.Descriptor instead.
func (*Primitives) GetFieldA ¶
func (x *Primitives) GetFieldA() []byte
func (*Primitives) GetFieldAux ¶
func (x *Primitives) GetFieldAux() *Primitives_Aux
func (*Primitives) GetFieldB ¶
func (x *Primitives) GetFieldB() string
func (*Primitives) GetFieldC ¶
func (x *Primitives) GetFieldC() bool
func (*Primitives) GetFieldD ¶
func (x *Primitives) GetFieldD() int32
func (*Primitives) GetFieldE ¶
func (x *Primitives) GetFieldE() uint32
func (*Primitives) GetFieldF ¶
func (x *Primitives) GetFieldF() int64
func (*Primitives) GetFieldG ¶
func (x *Primitives) GetFieldG() uint64
func (*Primitives) GetFieldH ¶
func (x *Primitives) GetFieldH() Primitives_SomeEnum
func (*Primitives) GetFieldI ¶
func (x *Primitives) GetFieldI() uint64
func (*Primitives) GetFieldJ ¶
func (x *Primitives) GetFieldJ() float64
func (*Primitives) GetFieldK ¶
func (x *Primitives) GetFieldK() uint32
func (*Primitives) GetFieldM ¶
func (m *Primitives) GetFieldM() isPrimitives_FieldM
func (*Primitives) GetFieldMa ¶
func (x *Primitives) GetFieldMa() []byte
func (*Primitives) GetFieldMe ¶
func (x *Primitives) GetFieldMe() uint32
func (*Primitives) ProtoMessage ¶
func (*Primitives) ProtoMessage()
func (*Primitives) ProtoReflect ¶
func (x *Primitives) ProtoReflect() protoreflect.Message
func (*Primitives) Reset ¶
func (x *Primitives) Reset()
func (*Primitives) String ¶
func (x *Primitives) String() string
type Primitives_Aux ¶
type Primitives_Aux struct { InnerField uint32 `protobuf:"varint,1,opt,name=inner_field,json=innerField,proto3" json:"inner_field,omitempty"` // contains filtered or unexported fields }
func (*Primitives_Aux) Descriptor
deprecated
func (*Primitives_Aux) Descriptor() ([]byte, []int)
Deprecated: Use Primitives_Aux.ProtoReflect.Descriptor instead.
func (*Primitives_Aux) GetInnerField ¶
func (x *Primitives_Aux) GetInnerField() uint32
func (*Primitives_Aux) ProtoMessage ¶
func (*Primitives_Aux) ProtoMessage()
func (*Primitives_Aux) ProtoReflect ¶
func (x *Primitives_Aux) ProtoReflect() protoreflect.Message
func (*Primitives_Aux) Reset ¶
func (x *Primitives_Aux) Reset()
func (*Primitives_Aux) String ¶
func (x *Primitives_Aux) String() string
type Primitives_FieldAux ¶
type Primitives_FieldAux struct {
FieldAux *Primitives_Aux `protobuf:"bytes,403,opt,name=field_aux,json=fieldAux,proto3,oneof"`
}
type Primitives_FieldMa ¶
type Primitives_FieldMa struct {
FieldMa []byte `protobuf:"bytes,401,opt,name=field_ma,json=fieldMa,proto3,oneof"`
}
type Primitives_FieldMe ¶
type Primitives_FieldMe struct {
FieldMe uint32 `protobuf:"varint,402,opt,name=field_me,json=fieldMe,proto3,oneof"`
}
type Primitives_SomeEnum ¶
type Primitives_SomeEnum int32
const ( Primitives_UNKNOWN Primitives_SomeEnum = 0 Primitives_POSITIVE Primitives_SomeEnum = 1 Primitives_NEGATIVE Primitives_SomeEnum = -1 )
func (Primitives_SomeEnum) Descriptor ¶
func (Primitives_SomeEnum) Descriptor() protoreflect.EnumDescriptor
func (Primitives_SomeEnum) Enum ¶
func (x Primitives_SomeEnum) Enum() *Primitives_SomeEnum
func (Primitives_SomeEnum) EnumDescriptor
deprecated
func (Primitives_SomeEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use Primitives_SomeEnum.Descriptor instead.
func (Primitives_SomeEnum) Number ¶
func (x Primitives_SomeEnum) Number() protoreflect.EnumNumber
func (Primitives_SomeEnum) String ¶
func (x Primitives_SomeEnum) String() string
func (Primitives_SomeEnum) Type ¶
func (Primitives_SomeEnum) Type() protoreflect.EnumType
type RepPrimitives ¶
type RepPrimitives struct { FieldA [][]byte `protobuf:"bytes,1,rep,name=field_a,json=fieldA,proto3" json:"field_a,omitempty"` FieldB []string `protobuf:"bytes,2,rep,name=field_b,json=fieldB,proto3" json:"field_b,omitempty"` FieldC []int32 `protobuf:"varint,3,rep,packed,name=field_c,json=fieldC,proto3" json:"field_c,omitempty"` FieldD []uint32 `protobuf:"varint,4,rep,packed,name=field_d,json=fieldD,proto3" json:"field_d,omitempty"` FieldE []int64 `protobuf:"varint,5,rep,packed,name=field_e,json=fieldE,proto3" json:"field_e,omitempty"` FieldF []uint64 `protobuf:"varint,6,rep,packed,name=field_f,json=fieldF,proto3" json:"field_f,omitempty"` FieldFu []uint64 `protobuf:"varint,7,rep,name=field_fu,json=fieldFu,proto3" json:"field_fu,omitempty"` FieldAux []*RepPrimitives_Aux `protobuf:"bytes,8,rep,name=field_aux,json=fieldAux,proto3" json:"field_aux,omitempty"` // contains filtered or unexported fields }
func (*RepPrimitives) Descriptor
deprecated
func (*RepPrimitives) Descriptor() ([]byte, []int)
Deprecated: Use RepPrimitives.ProtoReflect.Descriptor instead.
func (*RepPrimitives) GetFieldA ¶
func (x *RepPrimitives) GetFieldA() [][]byte
func (*RepPrimitives) GetFieldAux ¶
func (x *RepPrimitives) GetFieldAux() []*RepPrimitives_Aux
func (*RepPrimitives) GetFieldB ¶
func (x *RepPrimitives) GetFieldB() []string
func (*RepPrimitives) GetFieldC ¶
func (x *RepPrimitives) GetFieldC() []int32
func (*RepPrimitives) GetFieldD ¶
func (x *RepPrimitives) GetFieldD() []uint32
func (*RepPrimitives) GetFieldE ¶
func (x *RepPrimitives) GetFieldE() []int64
func (*RepPrimitives) GetFieldF ¶
func (x *RepPrimitives) GetFieldF() []uint64
func (*RepPrimitives) GetFieldFu ¶
func (x *RepPrimitives) GetFieldFu() []uint64
func (*RepPrimitives) ProtoMessage ¶
func (*RepPrimitives) ProtoMessage()
func (*RepPrimitives) ProtoReflect ¶
func (x *RepPrimitives) ProtoReflect() protoreflect.Message
func (*RepPrimitives) Reset ¶
func (x *RepPrimitives) Reset()
func (*RepPrimitives) String ¶
func (x *RepPrimitives) String() string
type RepPrimitives_Aux ¶
type RepPrimitives_Aux struct { InnerField uint32 `protobuf:"varint,1,opt,name=inner_field,json=innerField,proto3" json:"inner_field,omitempty"` // contains filtered or unexported fields }
func (*RepPrimitives_Aux) Descriptor
deprecated
func (*RepPrimitives_Aux) Descriptor() ([]byte, []int)
Deprecated: Use RepPrimitives_Aux.ProtoReflect.Descriptor instead.
func (*RepPrimitives_Aux) GetInnerField ¶
func (x *RepPrimitives_Aux) GetInnerField() uint32
func (*RepPrimitives_Aux) ProtoMessage ¶
func (*RepPrimitives_Aux) ProtoMessage()
func (*RepPrimitives_Aux) ProtoReflect ¶
func (x *RepPrimitives_Aux) ProtoReflect() protoreflect.Message
func (*RepPrimitives_Aux) Reset ¶
func (x *RepPrimitives_Aux) Reset()
func (*RepPrimitives_Aux) String ¶
func (x *RepPrimitives_Aux) String() string
Click to show internal directories.
Click to hide internal directories.