Documentation
¶
Index ¶
- Variables
- type Child
- func (*Child) Descriptor() ([]byte, []int)deprecated
- func (x *Child) GetAfter() bool
- func (x *Child) GetGrandchild() []*Grandchild
- func (x *Child) GetNumber() int64
- func (x *Child) GetNumbers() []int64
- func (*Child) ProtoMessage()
- func (x *Child) ProtoReflect() protoreflect.Message
- func (x *Child) Reset()
- func (x *Child) String() string
- type Customer
- func (*Customer) Descriptor() ([]byte, []int)deprecated
- func (x *Customer) GetFavoriteIds() []int64
- func (x *Customer) GetId() int64
- func (x *Customer) GetOrders() []*Order
- func (x *Customer) GetUsername() string
- func (*Customer) ProtoMessage()
- func (x *Customer) ProtoReflect() protoreflect.Message
- func (x *Customer) Reset()
- func (x *Customer) String() string
- type Grandchild
- func (*Grandchild) Descriptor() ([]byte, []int)deprecated
- func (x *Grandchild) GetAfter() bool
- func (x *Grandchild) GetNumber() int64
- func (x *Grandchild) GetNumbers() []int64
- func (*Grandchild) ProtoMessage()
- func (x *Grandchild) ProtoReflect() protoreflect.Message
- func (x *Grandchild) Reset()
- func (x *Grandchild) String() string
- type Item
- type Order
- type Packed
- func (*Packed) Descriptor() ([]byte, []int)deprecated
- func (x *Packed) GetAfter() bool
- func (x *Packed) GetBool() []bool
- func (x *Packed) GetByte() [][]byte
- func (x *Packed) GetDbl() []float64
- func (x *Packed) GetF32() []uint32
- func (x *Packed) GetF64() []uint64
- func (x *Packed) GetFlt() []float32
- func (x *Packed) GetI32() []int32
- func (x *Packed) GetI64() []int64
- func (x *Packed) GetS32() []int32
- func (x *Packed) GetS64() []int64
- func (x *Packed) GetSf32() []int32
- func (x *Packed) GetSf64() []int64
- func (x *Packed) GetStr() []string
- func (x *Packed) GetU32() []uint32
- func (x *Packed) GetU64() []uint64
- func (*Packed) ProtoMessage()
- func (x *Packed) ProtoReflect() protoreflect.Message
- func (x *Packed) Reset()
- func (x *Packed) String() string
- type Parent
- type Repeated
- func (*Repeated) Descriptor() ([]byte, []int)deprecated
- func (x *Repeated) GetAfter() bool
- func (x *Repeated) GetBool() []bool
- func (x *Repeated) GetByte() [][]byte
- func (x *Repeated) GetDbl() []float64
- func (x *Repeated) GetF32() []uint32
- func (x *Repeated) GetF64() []uint64
- func (x *Repeated) GetFlt() []float32
- func (x *Repeated) GetI32() []int32
- func (x *Repeated) GetI64() []int64
- func (x *Repeated) GetS32() []int32
- func (x *Repeated) GetS64() []int64
- func (x *Repeated) GetSf32() []int32
- func (x *Repeated) GetSf64() []int64
- func (x *Repeated) GetStr() []string
- func (x *Repeated) GetU32() []uint32
- func (x *Repeated) GetU64() []uint64
- func (*Repeated) ProtoMessage()
- func (x *Repeated) ProtoReflect() protoreflect.Message
- func (x *Repeated) Reset()
- func (x *Repeated) String() string
- type Scalar
- func (*Scalar) Descriptor() ([]byte, []int)deprecated
- func (x *Scalar) GetAfter() bool
- func (x *Scalar) GetBool() bool
- func (x *Scalar) GetByte() []byte
- func (x *Scalar) GetDbl() float64
- func (x *Scalar) GetF32() uint32
- func (x *Scalar) GetF64() uint64
- func (x *Scalar) GetFlt() float32
- func (x *Scalar) GetI32() int32
- func (x *Scalar) GetI64() int64
- func (x *Scalar) GetS32() int32
- func (x *Scalar) GetS64() int64
- func (x *Scalar) GetSf32() int32
- func (x *Scalar) GetSf64() int64
- func (x *Scalar) GetStr() string
- func (x *Scalar) GetU32() uint32
- func (x *Scalar) GetU64() uint64
- func (*Scalar) ProtoMessage()
- func (x *Scalar) ProtoReflect() protoreflect.Message
- func (x *Scalar) Reset()
- func (x *Scalar) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_types_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Child ¶
type Child struct {
Number int64 `protobuf:"varint,100,opt,name=number,proto3" json:"number,omitempty"`
Grandchild []*Grandchild `protobuf:"bytes,200,rep,name=grandchild,proto3" json:"grandchild,omitempty"`
Numbers []int64 `protobuf:"varint,300,rep,packed,name=numbers,proto3" json:"numbers,omitempty"`
After bool `protobuf:"varint,3200,opt,name=after,proto3" json:"after,omitempty"`
// contains filtered or unexported fields
}
func (*Child) Descriptor
deprecated
func (*Child) GetGrandchild ¶
func (x *Child) GetGrandchild() []*Grandchild
func (*Child) GetNumbers ¶
func (*Child) ProtoMessage ¶
func (*Child) ProtoMessage()
func (*Child) ProtoReflect ¶
func (x *Child) ProtoReflect() protoreflect.Message
type Customer ¶
type Customer struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
Orders []*Order `protobuf:"bytes,3,rep,name=orders,proto3" json:"orders,omitempty"`
FavoriteIds []int64 `protobuf:"varint,4,rep,packed,name=favorite_ids,json=favoriteIds,proto3" json:"favorite_ids,omitempty"`
// contains filtered or unexported fields
}
func (*Customer) Descriptor
deprecated
func (*Customer) GetFavoriteIds ¶
func (*Customer) GetUsername ¶
func (*Customer) ProtoMessage ¶
func (*Customer) ProtoMessage()
func (*Customer) ProtoReflect ¶
func (x *Customer) ProtoReflect() protoreflect.Message
type Grandchild ¶
type Grandchild struct {
Number int64 `protobuf:"varint,1000,opt,name=number,proto3" json:"number,omitempty"`
Numbers []int64 `protobuf:"varint,2000,rep,packed,name=numbers,proto3" json:"numbers,omitempty"`
After bool `protobuf:"varint,32000,opt,name=after,proto3" json:"after,omitempty"`
// contains filtered or unexported fields
}
func (*Grandchild) Descriptor
deprecated
func (*Grandchild) Descriptor() ([]byte, []int)
Deprecated: Use Grandchild.ProtoReflect.Descriptor instead.
func (*Grandchild) GetAfter ¶
func (x *Grandchild) GetAfter() bool
func (*Grandchild) GetNumber ¶
func (x *Grandchild) GetNumber() int64
func (*Grandchild) GetNumbers ¶
func (x *Grandchild) GetNumbers() []int64
func (*Grandchild) ProtoMessage ¶
func (*Grandchild) ProtoMessage()
func (*Grandchild) ProtoReflect ¶
func (x *Grandchild) ProtoReflect() protoreflect.Message
func (*Grandchild) Reset ¶
func (x *Grandchild) Reset()
func (*Grandchild) String ¶
func (x *Grandchild) String() string
type Item ¶
type Item struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // a big object
// contains filtered or unexported fields
}
func (*Item) Descriptor
deprecated
func (*Item) ProtoMessage ¶
func (*Item) ProtoMessage()
func (*Item) ProtoReflect ¶
func (x *Item) ProtoReflect() protoreflect.Message
type Order ¶
type Order struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Open bool `protobuf:"varint,2,opt,name=open,proto3" json:"open,omitempty"`
Items []*Item `protobuf:"bytes,3,rep,name=items,proto3" json:"items,omitempty"`
// contains filtered or unexported fields
}
func (*Order) Descriptor
deprecated
func (*Order) ProtoMessage ¶
func (*Order) ProtoMessage()
func (*Order) ProtoReflect ¶
func (x *Order) ProtoReflect() protoreflect.Message
type Packed ¶
type Packed struct {
Flt []float32 `protobuf:"fixed32,1,rep,packed,name=flt,proto3" json:"flt,omitempty"`
Dbl []float64 `protobuf:"fixed64,2,rep,packed,name=dbl,proto3" json:"dbl,omitempty"`
I32 []int32 `protobuf:"varint,3,rep,packed,name=i32,proto3" json:"i32,omitempty"`
I64 []int64 `protobuf:"varint,4,rep,packed,name=i64,proto3" json:"i64,omitempty"`
U32 []uint32 `protobuf:"varint,5,rep,packed,name=u32,proto3" json:"u32,omitempty"`
U64 []uint64 `protobuf:"varint,6,rep,packed,name=u64,proto3" json:"u64,omitempty"`
S32 []int32 `protobuf:"zigzag32,7,rep,packed,name=s32,proto3" json:"s32,omitempty"`
S64 []int64 `protobuf:"zigzag64,8,rep,packed,name=s64,proto3" json:"s64,omitempty"`
F32 []uint32 `protobuf:"fixed32,9,rep,packed,name=f32,proto3" json:"f32,omitempty"`
F64 []uint64 `protobuf:"fixed64,10,rep,packed,name=f64,proto3" json:"f64,omitempty"`
Sf32 []int32 `protobuf:"fixed32,11,rep,packed,name=sf32,proto3" json:"sf32,omitempty"`
Sf64 []int64 `protobuf:"fixed64,12,rep,packed,name=sf64,proto3" json:"sf64,omitempty"`
Bool []bool `protobuf:"varint,13,rep,packed,name=bool,proto3" json:"bool,omitempty"`
Str []string `protobuf:"bytes,14,rep,name=str,proto3" json:"str,omitempty"`
Byte [][]byte `protobuf:"bytes,15,rep,name=byte,proto3" json:"byte,omitempty"`
After bool `protobuf:"varint,32,opt,name=after,proto3" json:"after,omitempty"`
// contains filtered or unexported fields
}
func (*Packed) Descriptor
deprecated
func (*Packed) ProtoMessage ¶
func (*Packed) ProtoMessage()
func (*Packed) ProtoReflect ¶
func (x *Packed) ProtoReflect() protoreflect.Message
type Parent ¶
type Parent struct {
Child *Child `protobuf:"bytes,1,opt,name=child,proto3" json:"child,omitempty"`
After bool `protobuf:"varint,32,opt,name=after,proto3" json:"after,omitempty"`
// contains filtered or unexported fields
}
func (*Parent) Descriptor
deprecated
func (*Parent) ProtoMessage ¶
func (*Parent) ProtoMessage()
func (*Parent) ProtoReflect ¶
func (x *Parent) ProtoReflect() protoreflect.Message
type Repeated ¶
type Repeated struct {
Flt []float32 `protobuf:"fixed32,1,rep,packed,name=flt,proto3" json:"flt,omitempty"`
Dbl []float64 `protobuf:"fixed64,2,rep,packed,name=dbl,proto3" json:"dbl,omitempty"`
I32 []int32 `protobuf:"varint,3,rep,packed,name=i32,proto3" json:"i32,omitempty"`
I64 []int64 `protobuf:"varint,4,rep,packed,name=i64,proto3" json:"i64,omitempty"`
U32 []uint32 `protobuf:"varint,5,rep,packed,name=u32,proto3" json:"u32,omitempty"`
U64 []uint64 `protobuf:"varint,6,rep,packed,name=u64,proto3" json:"u64,omitempty"`
S32 []int32 `protobuf:"zigzag32,7,rep,packed,name=s32,proto3" json:"s32,omitempty"`
S64 []int64 `protobuf:"zigzag64,8,rep,packed,name=s64,proto3" json:"s64,omitempty"`
F32 []uint32 `protobuf:"fixed32,9,rep,packed,name=f32,proto3" json:"f32,omitempty"`
F64 []uint64 `protobuf:"fixed64,10,rep,packed,name=f64,proto3" json:"f64,omitempty"`
Sf32 []int32 `protobuf:"fixed32,11,rep,packed,name=sf32,proto3" json:"sf32,omitempty"`
Sf64 []int64 `protobuf:"fixed64,12,rep,packed,name=sf64,proto3" json:"sf64,omitempty"`
Bool []bool `protobuf:"varint,13,rep,packed,name=bool,proto3" json:"bool,omitempty"`
Str []string `protobuf:"bytes,14,rep,name=str,proto3" json:"str,omitempty"`
Byte [][]byte `protobuf:"bytes,15,rep,name=byte,proto3" json:"byte,omitempty"`
After bool `protobuf:"varint,32,opt,name=after,proto3" json:"after,omitempty"`
// contains filtered or unexported fields
}
func (*Repeated) Descriptor
deprecated
func (*Repeated) ProtoMessage ¶
func (*Repeated) ProtoMessage()
func (*Repeated) ProtoReflect ¶
func (x *Repeated) ProtoReflect() protoreflect.Message
type Scalar ¶
type Scalar struct {
Flt float32 `protobuf:"fixed32,1,opt,name=flt,proto3" json:"flt,omitempty"`
Dbl float64 `protobuf:"fixed64,2,opt,name=dbl,proto3" json:"dbl,omitempty"`
I32 int32 `protobuf:"varint,3,opt,name=i32,proto3" json:"i32,omitempty"`
I64 int64 `protobuf:"varint,4,opt,name=i64,proto3" json:"i64,omitempty"`
U32 uint32 `protobuf:"varint,5,opt,name=u32,proto3" json:"u32,omitempty"`
U64 uint64 `protobuf:"varint,6,opt,name=u64,proto3" json:"u64,omitempty"`
S32 int32 `protobuf:"zigzag32,7,opt,name=s32,proto3" json:"s32,omitempty"`
S64 int64 `protobuf:"zigzag64,8,opt,name=s64,proto3" json:"s64,omitempty"`
F32 uint32 `protobuf:"fixed32,9,opt,name=f32,proto3" json:"f32,omitempty"`
F64 uint64 `protobuf:"fixed64,10,opt,name=f64,proto3" json:"f64,omitempty"`
Sf32 int32 `protobuf:"fixed32,11,opt,name=sf32,proto3" json:"sf32,omitempty"`
Sf64 int64 `protobuf:"fixed64,12,opt,name=sf64,proto3" json:"sf64,omitempty"`
Bool bool `protobuf:"varint,13,opt,name=bool,proto3" json:"bool,omitempty"`
Str string `protobuf:"bytes,14,opt,name=str,proto3" json:"str,omitempty"`
Byte []byte `protobuf:"bytes,15,opt,name=byte,proto3" json:"byte,omitempty"`
After bool `protobuf:"varint,32,opt,name=after,proto3" json:"after,omitempty"`
// contains filtered or unexported fields
}
func (*Scalar) Descriptor
deprecated
func (*Scalar) ProtoMessage ¶
func (*Scalar) ProtoMessage()
func (*Scalar) ProtoReflect ¶
func (x *Scalar) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.