package issue330
import "github.com/gogo/protobuf/test/issue330"
Index ¶
- Variables
- type Object
- func NewPopulatedObject(r randyIssue330, easy bool) *Object
- func (*Object) Descriptor() ([]byte, []int)
- func (this *Object) Equal(that interface{}) bool
- func (m *Object) GetType() TypeIdentifier
- func (m *Object) Marshal() (dAtA []byte, err error)
- func (m *Object) MarshalTo(dAtA []byte) (int, error)
- func (m *Object) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Object) ProtoMessage()
- func (m *Object) Reset()
- func (m *Object) Size() (n int)
- func (m *Object) String() string
- func (m *Object) Unmarshal(dAtA []byte) error
- func (m *Object) XXX_DiscardUnknown()
- func (m *Object) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Object) XXX_Merge(src proto.Message)
- func (m *Object) XXX_Size() int
- func (m *Object) XXX_Unmarshal(b []byte) error
- type TypeIdentifier
Variables ¶
var ( ErrInvalidLengthIssue330 = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowIssue330 = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupIssue330 = fmt.Errorf("proto: unexpected end of group") )
Types ¶
type Object ¶
type Object struct { Type TypeIdentifier `protobuf:"varint,1,opt,name=type,proto3,casttype=TypeIdentifier" json:"type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedObject ¶
func (*Object) Descriptor ¶
func (*Object) Equal ¶
func (*Object) GetType ¶
func (m *Object) GetType() TypeIdentifier
func (*Object) Marshal ¶
func (*Object) MarshalTo ¶
func (*Object) MarshalToSizedBuffer ¶
func (*Object) ProtoMessage ¶
func (*Object) ProtoMessage()
func (*Object) Reset ¶
func (m *Object) Reset()
func (*Object) Size ¶
func (*Object) String ¶
func (*Object) Unmarshal ¶
func (*Object) XXX_DiscardUnknown ¶
func (m *Object) XXX_DiscardUnknown()
func (*Object) XXX_Marshal ¶
func (*Object) XXX_Merge ¶
func (*Object) XXX_Size ¶
func (*Object) XXX_Unmarshal ¶
type TypeIdentifier ¶
type TypeIdentifier uint32
const ( UnknownType TypeIdentifier = 0 UserType TypeIdentifier = 20 )
func (TypeIdentifier) String ¶
func (t TypeIdentifier) String() string
Source Files ¶
- Version
- v1.3.2 (latest)
- Published
- Jan 10, 2021
- Platform
- js/wasm
- Imports
- 7 packages
- Last checked
- 2 days ago –
Tools for package owners.