Documentation ¶
Index ¶
- Variables
- type BenchLarge
- func (*BenchLarge) Descriptor() ([]byte, []int)deprecated
- func (x *BenchLarge) GetAge() int64
- func (x *BenchLarge) GetAlive() bool
- func (x *BenchLarge) GetData() []byte
- func (x *BenchLarge) GetDbl() float64
- func (x *BenchLarge) GetDesc() []byte
- func (x *BenchLarge) GetFlt() float32
- func (x *BenchLarge) GetHeight() float32
- func (x *BenchLarge) GetName() string
- func (x *BenchLarge) GetNickname() string
- func (x *BenchLarge) GetNum() int64
- func (x *BenchLarge) GetTru() bool
- func (x *BenchLarge) GetWeight() float64
- func (*BenchLarge) ProtoMessage()
- func (x *BenchLarge) ProtoReflect() protoreflect.Message
- func (x *BenchLarge) Reset()
- func (x *BenchLarge) String() string
- type BenchMedium
- func (*BenchMedium) Descriptor() ([]byte, []int)deprecated
- func (x *BenchMedium) GetAge() int64
- func (x *BenchMedium) GetAlive() bool
- func (x *BenchMedium) GetDesc() []byte
- func (x *BenchMedium) GetHeight() float32
- func (x *BenchMedium) GetName() string
- func (x *BenchMedium) GetWeight() float64
- func (*BenchMedium) ProtoMessage()
- func (x *BenchMedium) ProtoReflect() protoreflect.Message
- func (x *BenchMedium) Reset()
- func (x *BenchMedium) String() string
- type BenchNested
- func (*BenchNested) Descriptor() ([]byte, []int)deprecated
- func (x *BenchNested) GetLarge() *BenchLarge
- func (x *BenchNested) GetMedium() *BenchMedium
- func (x *BenchNested) GetSmall() *BenchSmall
- func (*BenchNested) ProtoMessage()
- func (x *BenchNested) ProtoReflect() protoreflect.Message
- func (x *BenchNested) Reset()
- func (x *BenchNested) String() string
- type BenchSmall
Constants ¶
This section is empty.
Variables ¶
View Source
var File_bench_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BenchLarge ¶
type BenchLarge struct { Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Age *int64 `protobuf:"varint,2,opt,name=age" json:"age,omitempty"` Height *float32 `protobuf:"fixed32,3,opt,name=height" json:"height,omitempty"` Weight *float64 `protobuf:"fixed64,4,opt,name=weight" json:"weight,omitempty"` Alive *bool `protobuf:"varint,5,opt,name=alive" json:"alive,omitempty"` Desc []byte `protobuf:"bytes,6,opt,name=desc" json:"desc,omitempty"` Nickname *string `protobuf:"bytes,7,opt,name=nickname" json:"nickname,omitempty"` Num *int64 `protobuf:"varint,8,opt,name=num" json:"num,omitempty"` Flt *float32 `protobuf:"fixed32,9,opt,name=flt" json:"flt,omitempty"` Dbl *float64 `protobuf:"fixed64,10,opt,name=dbl" json:"dbl,omitempty"` Tru *bool `protobuf:"varint,11,opt,name=tru" json:"tru,omitempty"` Data []byte `protobuf:"bytes,12,opt,name=data" json:"data,omitempty"` // contains filtered or unexported fields }
func (*BenchLarge) Descriptor
deprecated
func (*BenchLarge) Descriptor() ([]byte, []int)
Deprecated: Use BenchLarge.ProtoReflect.Descriptor instead.
func (*BenchLarge) GetAge ¶
func (x *BenchLarge) GetAge() int64
func (*BenchLarge) GetAlive ¶
func (x *BenchLarge) GetAlive() bool
func (*BenchLarge) GetData ¶
func (x *BenchLarge) GetData() []byte
func (*BenchLarge) GetDbl ¶
func (x *BenchLarge) GetDbl() float64
func (*BenchLarge) GetDesc ¶
func (x *BenchLarge) GetDesc() []byte
func (*BenchLarge) GetFlt ¶
func (x *BenchLarge) GetFlt() float32
func (*BenchLarge) GetHeight ¶
func (x *BenchLarge) GetHeight() float32
func (*BenchLarge) GetName ¶
func (x *BenchLarge) GetName() string
func (*BenchLarge) GetNickname ¶
func (x *BenchLarge) GetNickname() string
func (*BenchLarge) GetNum ¶
func (x *BenchLarge) GetNum() int64
func (*BenchLarge) GetTru ¶
func (x *BenchLarge) GetTru() bool
func (*BenchLarge) GetWeight ¶
func (x *BenchLarge) GetWeight() float64
func (*BenchLarge) ProtoMessage ¶
func (*BenchLarge) ProtoMessage()
func (*BenchLarge) ProtoReflect ¶
func (x *BenchLarge) ProtoReflect() protoreflect.Message
func (*BenchLarge) Reset ¶
func (x *BenchLarge) Reset()
func (*BenchLarge) String ¶
func (x *BenchLarge) String() string
type BenchMedium ¶
type BenchMedium struct { Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Age *int64 `protobuf:"varint,2,opt,name=age" json:"age,omitempty"` Height *float32 `protobuf:"fixed32,3,opt,name=height" json:"height,omitempty"` Weight *float64 `protobuf:"fixed64,4,opt,name=weight" json:"weight,omitempty"` Alive *bool `protobuf:"varint,5,opt,name=alive" json:"alive,omitempty"` Desc []byte `protobuf:"bytes,6,opt,name=desc" json:"desc,omitempty"` // contains filtered or unexported fields }
func (*BenchMedium) Descriptor
deprecated
func (*BenchMedium) Descriptor() ([]byte, []int)
Deprecated: Use BenchMedium.ProtoReflect.Descriptor instead.
func (*BenchMedium) GetAge ¶
func (x *BenchMedium) GetAge() int64
func (*BenchMedium) GetAlive ¶
func (x *BenchMedium) GetAlive() bool
func (*BenchMedium) GetDesc ¶
func (x *BenchMedium) GetDesc() []byte
func (*BenchMedium) GetHeight ¶
func (x *BenchMedium) GetHeight() float32
func (*BenchMedium) GetName ¶
func (x *BenchMedium) GetName() string
func (*BenchMedium) GetWeight ¶
func (x *BenchMedium) GetWeight() float64
func (*BenchMedium) ProtoMessage ¶
func (*BenchMedium) ProtoMessage()
func (*BenchMedium) ProtoReflect ¶
func (x *BenchMedium) ProtoReflect() protoreflect.Message
func (*BenchMedium) Reset ¶
func (x *BenchMedium) Reset()
func (*BenchMedium) String ¶
func (x *BenchMedium) String() string
type BenchNested ¶
type BenchNested struct { Small *BenchSmall `protobuf:"bytes,1,opt,name=small" json:"small,omitempty"` Medium *BenchMedium `protobuf:"bytes,2,opt,name=medium" json:"medium,omitempty"` Large *BenchLarge `protobuf:"bytes,3,opt,name=large" json:"large,omitempty"` // contains filtered or unexported fields }
func (*BenchNested) Descriptor
deprecated
func (*BenchNested) Descriptor() ([]byte, []int)
Deprecated: Use BenchNested.ProtoReflect.Descriptor instead.
func (*BenchNested) GetLarge ¶
func (x *BenchNested) GetLarge() *BenchLarge
func (*BenchNested) GetMedium ¶
func (x *BenchNested) GetMedium() *BenchMedium
func (*BenchNested) GetSmall ¶
func (x *BenchNested) GetSmall() *BenchSmall
func (*BenchNested) ProtoMessage ¶
func (*BenchNested) ProtoMessage()
func (*BenchNested) ProtoReflect ¶
func (x *BenchNested) ProtoReflect() protoreflect.Message
func (*BenchNested) Reset ¶
func (x *BenchNested) Reset()
func (*BenchNested) String ¶
func (x *BenchNested) String() string
type BenchSmall ¶
type BenchSmall struct { Action *string `protobuf:"bytes,1,opt,name=action" json:"action,omitempty"` Key []byte `protobuf:"bytes,2,opt,name=key" json:"key,omitempty"` // contains filtered or unexported fields }
func (*BenchSmall) Descriptor
deprecated
func (*BenchSmall) Descriptor() ([]byte, []int)
Deprecated: Use BenchSmall.ProtoReflect.Descriptor instead.
func (*BenchSmall) GetAction ¶
func (x *BenchSmall) GetAction() string
func (*BenchSmall) GetKey ¶
func (x *BenchSmall) GetKey() []byte
func (*BenchSmall) ProtoMessage ¶
func (*BenchSmall) ProtoMessage()
func (*BenchSmall) ProtoReflect ¶
func (x *BenchSmall) ProtoReflect() protoreflect.Message
func (*BenchSmall) Reset ¶
func (x *BenchSmall) Reset()
func (*BenchSmall) String ¶
func (x *BenchSmall) String() string
Click to show internal directories.
Click to hide internal directories.