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_internal_testmsg_types_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Child ¶
type Child struct { Number *int64 `protobuf:"varint,100,opt,name=number" json:"number,omitempty"` Grandchild []*Grandchild `protobuf:"bytes,200,rep,name=grandchild" json:"grandchild,omitempty"` Numbers []int64 `protobuf:"varint,300,rep,name=numbers" json:"numbers,omitempty"` After *bool `protobuf:"varint,3200,opt,name=after" 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,req,name=id" json:"id,omitempty"` Username *string `protobuf:"bytes,2,opt,name=username" json:"username,omitempty"` Orders []*Order `protobuf:"bytes,3,rep,name=orders" json:"orders,omitempty"` FavoriteIds []int64 `protobuf:"varint,4,rep,packed,name=favorite_ids,json=favoriteIds" 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" json:"number,omitempty"` Numbers []int64 `protobuf:"varint,2000,rep,packed,name=numbers" json:"numbers,omitempty"` After *bool `protobuf:"varint,32000,opt,name=after" 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,req,name=id" 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,req,name=id" json:"id,omitempty"` Open *bool `protobuf:"varint,2,req,name=open" json:"open,omitempty"` Items []*Item `protobuf:"bytes,3,rep,name=items" 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" json:"flt,omitempty"` Dbl []float64 `protobuf:"fixed64,2,rep,packed,name=dbl" json:"dbl,omitempty"` I32 []int32 `protobuf:"varint,3,rep,packed,name=i32" json:"i32,omitempty"` I64 []int64 `protobuf:"varint,4,rep,packed,name=i64" json:"i64,omitempty"` U32 []uint32 `protobuf:"varint,5,rep,packed,name=u32" json:"u32,omitempty"` U64 []uint64 `protobuf:"varint,6,rep,packed,name=u64" json:"u64,omitempty"` S32 []int32 `protobuf:"zigzag32,7,rep,packed,name=s32" json:"s32,omitempty"` S64 []int64 `protobuf:"zigzag64,8,rep,packed,name=s64" json:"s64,omitempty"` F32 []uint32 `protobuf:"fixed32,9,rep,packed,name=f32" json:"f32,omitempty"` F64 []uint64 `protobuf:"fixed64,10,rep,packed,name=f64" json:"f64,omitempty"` Sf32 []int32 `protobuf:"fixed32,11,rep,packed,name=sf32" json:"sf32,omitempty"` Sf64 []int64 `protobuf:"fixed64,12,rep,packed,name=sf64" json:"sf64,omitempty"` Bool []bool `protobuf:"varint,13,rep,packed,name=bool" json:"bool,omitempty"` Str []string `protobuf:"bytes,14,rep,name=str" json:"str,omitempty"` Byte [][]byte `protobuf:"bytes,15,rep,name=byte" json:"byte,omitempty"` After *bool `protobuf:"varint,32,opt,name=after" 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" json:"child,omitempty"` After *bool `protobuf:"varint,32,opt,name=after" 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,name=flt" json:"flt,omitempty"` Dbl []float64 `protobuf:"fixed64,2,rep,name=dbl" json:"dbl,omitempty"` I32 []int32 `protobuf:"varint,3,rep,name=i32" json:"i32,omitempty"` I64 []int64 `protobuf:"varint,4,rep,name=i64" json:"i64,omitempty"` U32 []uint32 `protobuf:"varint,5,rep,name=u32" json:"u32,omitempty"` U64 []uint64 `protobuf:"varint,6,rep,name=u64" json:"u64,omitempty"` S32 []int32 `protobuf:"zigzag32,7,rep,name=s32" json:"s32,omitempty"` S64 []int64 `protobuf:"zigzag64,8,rep,name=s64" json:"s64,omitempty"` F32 []uint32 `protobuf:"fixed32,9,rep,name=f32" json:"f32,omitempty"` F64 []uint64 `protobuf:"fixed64,10,rep,name=f64" json:"f64,omitempty"` Sf32 []int32 `protobuf:"fixed32,11,rep,name=sf32" json:"sf32,omitempty"` Sf64 []int64 `protobuf:"fixed64,12,rep,name=sf64" json:"sf64,omitempty"` Bool []bool `protobuf:"varint,13,rep,name=bool" json:"bool,omitempty"` Str []string `protobuf:"bytes,14,rep,name=str" json:"str,omitempty"` Byte [][]byte `protobuf:"bytes,15,rep,name=byte" json:"byte,omitempty"` After *bool `protobuf:"varint,32,opt,name=after" 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" json:"flt,omitempty"` Dbl *float64 `protobuf:"fixed64,2,opt,name=dbl" json:"dbl,omitempty"` I32 *int32 `protobuf:"varint,3,opt,name=i32" json:"i32,omitempty"` I64 *int64 `protobuf:"varint,4,opt,name=i64" json:"i64,omitempty"` U32 *uint32 `protobuf:"varint,5,opt,name=u32" json:"u32,omitempty"` U64 *uint64 `protobuf:"varint,6,opt,name=u64" json:"u64,omitempty"` S32 *int32 `protobuf:"zigzag32,7,opt,name=s32" json:"s32,omitempty"` S64 *int64 `protobuf:"zigzag64,8,opt,name=s64" json:"s64,omitempty"` F32 *uint32 `protobuf:"fixed32,9,opt,name=f32" json:"f32,omitempty"` F64 *uint64 `protobuf:"fixed64,10,opt,name=f64" json:"f64,omitempty"` Sf32 *int32 `protobuf:"fixed32,11,opt,name=sf32" json:"sf32,omitempty"` Sf64 *int64 `protobuf:"fixed64,12,opt,name=sf64" json:"sf64,omitempty"` Bool *bool `protobuf:"varint,13,opt,name=bool" json:"bool,omitempty"` Str *string `protobuf:"bytes,14,opt,name=str" json:"str,omitempty"` Byte []byte `protobuf:"bytes,15,opt,name=byte" json:"byte,omitempty"` After *bool `protobuf:"varint,32,opt,name=after" 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.