package typedecl
import "github.com/gogo/protobuf/test/typedecl"
Package typedecl is a generated protocol buffer package.
It is generated from these files:
typedecl.proto
It has these top-level messages:
Dropped DroppedWithoutGetters Kept
Index ¶
- Variables
- type Dropped
- func NewPopulatedDropped(r randyTypedecl, easy bool) *Dropped
- func (*Dropped) Descriptor() ([]byte, []int)
- func (d *Dropped) Drop() bool
- func (this *Dropped) Equal(that interface{}) bool
- func (m *Dropped) GetAge() int32
- func (m *Dropped) GetName() string
- func (m *Dropped) Marshal() (dAtA []byte, err error)
- func (d *Dropped) MarshalJSONPB(*jsonpb.Marshaler) ([]byte, error)
- func (m *Dropped) MarshalTo(dAtA []byte) (int, error)
- func (*Dropped) ProtoMessage()
- func (m *Dropped) Reset()
- func (m *Dropped) Size() (n int)
- func (m *Dropped) String() string
- func (m *Dropped) Unmarshal(dAtA []byte) error
- func (d *Dropped) UnmarshalJSONPB(u *jsonpb.Unmarshaler, b []byte) error
- func (this *Dropped) VerboseEqual(that interface{}) error
- type DroppedWithoutGetters
- func NewPopulatedDroppedWithoutGetters(r randyTypedecl, easy bool) *DroppedWithoutGetters
- func (*DroppedWithoutGetters) Descriptor() ([]byte, []int)
- func (this *DroppedWithoutGetters) Equal(that interface{}) bool
- func (d *DroppedWithoutGetters) GetHeight() int64
- func (m *DroppedWithoutGetters) Marshal() (dAtA []byte, err error)
- func (d *DroppedWithoutGetters) MarshalJSONPB(*jsonpb.Marshaler) ([]byte, error)
- func (m *DroppedWithoutGetters) MarshalTo(dAtA []byte) (int, error)
- func (*DroppedWithoutGetters) ProtoMessage()
- func (m *DroppedWithoutGetters) Reset()
- func (m *DroppedWithoutGetters) Size() (n int)
- func (m *DroppedWithoutGetters) String() string
- func (m *DroppedWithoutGetters) Unmarshal(dAtA []byte) error
- func (d *DroppedWithoutGetters) UnmarshalJSONPB(u *jsonpb.Unmarshaler, b []byte) error
- func (this *DroppedWithoutGetters) VerboseEqual(that interface{}) error
- type Kept
- func NewPopulatedKept(r randyTypedecl, easy bool) *Kept
- func (*Kept) Descriptor() ([]byte, []int)
- func (this *Kept) Equal(that interface{}) bool
- func (m *Kept) GetAge() int32
- func (m *Kept) GetName() string
- func (m *Kept) Marshal() (dAtA []byte, err error)
- func (m *Kept) MarshalTo(dAtA []byte) (int, error)
- func (*Kept) ProtoMessage()
- func (m *Kept) Reset()
- func (m *Kept) Size() (n int)
- func (m *Kept) String() string
- func (m *Kept) Unmarshal(dAtA []byte) error
- func (this *Kept) VerboseEqual(that interface{}) error
Variables ¶
var ( ErrInvalidLengthTypedecl = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypedecl = fmt.Errorf("proto: integer overflow") )
Types ¶
type Dropped ¶
func NewPopulatedDropped ¶
func (*Dropped) Descriptor ¶
func (*Dropped) Drop ¶
func (*Dropped) Equal ¶
func (*Dropped) GetAge ¶
func (*Dropped) GetName ¶
func (*Dropped) Marshal ¶
func (*Dropped) MarshalJSONPB ¶
func (*Dropped) MarshalTo ¶
func (*Dropped) ProtoMessage ¶
func (*Dropped) ProtoMessage()
func (*Dropped) Reset ¶
func (m *Dropped) Reset()
func (*Dropped) Size ¶
func (*Dropped) String ¶
func (*Dropped) Unmarshal ¶
func (*Dropped) UnmarshalJSONPB ¶
func (d *Dropped) UnmarshalJSONPB(u *jsonpb.Unmarshaler, b []byte) error
func (*Dropped) VerboseEqual ¶
type DroppedWithoutGetters ¶
func NewPopulatedDroppedWithoutGetters ¶
func NewPopulatedDroppedWithoutGetters(r randyTypedecl, easy bool) *DroppedWithoutGetters
func (*DroppedWithoutGetters) Descriptor ¶
func (*DroppedWithoutGetters) Descriptor() ([]byte, []int)
func (*DroppedWithoutGetters) Equal ¶
func (this *DroppedWithoutGetters) Equal(that interface{}) bool
func (*DroppedWithoutGetters) GetHeight ¶
func (d *DroppedWithoutGetters) GetHeight() int64
func (*DroppedWithoutGetters) Marshal ¶
func (m *DroppedWithoutGetters) Marshal() (dAtA []byte, err error)
func (*DroppedWithoutGetters) MarshalJSONPB ¶
func (d *DroppedWithoutGetters) MarshalJSONPB(*jsonpb.Marshaler) ([]byte, error)
func (*DroppedWithoutGetters) MarshalTo ¶
func (m *DroppedWithoutGetters) MarshalTo(dAtA []byte) (int, error)
func (*DroppedWithoutGetters) ProtoMessage ¶
func (*DroppedWithoutGetters) ProtoMessage()
func (*DroppedWithoutGetters) Reset ¶
func (m *DroppedWithoutGetters) Reset()
func (*DroppedWithoutGetters) Size ¶
func (m *DroppedWithoutGetters) Size() (n int)
func (*DroppedWithoutGetters) String ¶
func (m *DroppedWithoutGetters) String() string
func (*DroppedWithoutGetters) Unmarshal ¶
func (m *DroppedWithoutGetters) Unmarshal(dAtA []byte) error
func (*DroppedWithoutGetters) UnmarshalJSONPB ¶
func (d *DroppedWithoutGetters) UnmarshalJSONPB(u *jsonpb.Unmarshaler, b []byte) error
func (*DroppedWithoutGetters) VerboseEqual ¶
func (this *DroppedWithoutGetters) VerboseEqual(that interface{}) error
type Kept ¶
type Kept struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Age int32 `protobuf:"varint,2,opt,name=age,proto3" json:"age,omitempty"` }
func NewPopulatedKept ¶
func (*Kept) Descriptor ¶
func (*Kept) Equal ¶
func (*Kept) GetAge ¶
func (*Kept) GetName ¶
func (*Kept) Marshal ¶
func (*Kept) MarshalTo ¶
func (*Kept) ProtoMessage ¶
func (*Kept) ProtoMessage()
func (*Kept) Reset ¶
func (m *Kept) Reset()
func (*Kept) Size ¶
func (*Kept) String ¶
func (*Kept) Unmarshal ¶
func (*Kept) VerboseEqual ¶
Source Files ¶
- Version
- v1.0.0
- Published
- Feb 2, 2018
- Platform
- js/wasm
- Imports
- 7 packages
- Last checked
- 2 days ago –
Tools for package owners.