issue330

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2018 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthIssue330 = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowIssue330   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

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 NewPopulatedObject(r randyIssue330, easy bool) *Object

func (*Object) Descriptor

func (*Object) Descriptor() ([]byte, []int)

func (*Object) Equal

func (this *Object) Equal(that interface{}) bool

func (*Object) GetType

func (m *Object) GetType() TypeIdentifier

func (*Object) Marshal

func (m *Object) Marshal() (dAtA []byte, err error)

func (*Object) MarshalTo

func (m *Object) MarshalTo(dAtA []byte) (int, error)

func (*Object) ProtoMessage

func (*Object) ProtoMessage()

func (*Object) Reset

func (m *Object) Reset()

func (*Object) Size

func (m *Object) Size() (n int)

func (*Object) String

func (m *Object) String() string

func (*Object) Unmarshal

func (m *Object) Unmarshal(dAtA []byte) error

func (*Object) XXX_DiscardUnknown added in v1.1.0

func (m *Object) XXX_DiscardUnknown()

func (*Object) XXX_Marshal added in v1.1.0

func (m *Object) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Object) XXX_Merge added in v1.1.0

func (dst *Object) XXX_Merge(src proto.Message)

func (*Object) XXX_Size added in v1.1.0

func (m *Object) XXX_Size() int

func (*Object) XXX_Unmarshal added in v1.1.0

func (m *Object) XXX_Unmarshal(b []byte) error

type TypeIdentifier

type TypeIdentifier uint32
const (
	UnknownType TypeIdentifier = 0
	UserType    TypeIdentifier = 20
)

func (TypeIdentifier) String

func (t TypeIdentifier) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL