package issue330

import "github.com/gogo/protobuf/test/issue330"

Package issue330 is a generated protocol buffer package.

It is generated from these files:

issue330.proto

It has these top-level messages:

Object

Index

Variables

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

Types

type Object

type Object struct {
	Type TypeIdentifier `protobuf:"varint,1,opt,name=type,proto3,casttype=TypeIdentifier" json:"type,omitempty"`
}

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

type TypeIdentifier

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

func (TypeIdentifier) String

func (t TypeIdentifier) String() string

Source Files

issue330.pb.go type.go

Version
v1.0.0
Published
Feb 2, 2018
Platform
js/wasm
Imports
5 packages
Last checked
2 days ago

Tools for package owners.