casttype

package
v0.0.0-...-6cab0cc Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2015 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Overview

Package casttype is a generated protocol buffer package.

It is generated from these files:

combos/both/casttype.proto

It has these top-level messages:

Castaway

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthCasttype = fmt.Errorf("proto: negative length found during unmarshaling")
)

Functions

func CasttypeDescription

func CasttypeDescription() (desc *google_protobuf.FileDescriptorSet)

Types

type Castaway

type Castaway struct {
	Int32Ptr         *int32                                                `protobuf:"varint,1,opt,casttype=int32" json:"Int32Ptr,omitempty"`
	Int32            int32                                                 `protobuf:"varint,2,opt,casttype=int32" json:"Int32"`
	MyUint64Ptr      *github_com_gogo_protobuf_test_casttype.MyUint64Type  `protobuf:"varint,3,opt,casttype=github.com/gogo/protobuf/test/casttype.MyUint64Type" json:"MyUint64Ptr,omitempty"`
	MyUint64         github_com_gogo_protobuf_test_casttype.MyUint64Type   `protobuf:"varint,4,opt,casttype=github.com/gogo/protobuf/test/casttype.MyUint64Type" json:"MyUint64"`
	MyBytes          github_com_gogo_protobuf_test_casttype.Bytes          `protobuf:"bytes,5,opt,casttype=github.com/gogo/protobuf/test/casttype.Bytes" json:"MyBytes,omitempty"`
	NormalBytes      []byte                                                `protobuf:"bytes,6,opt" json:"NormalBytes,omitempty"`
	MyUint64S        []github_com_gogo_protobuf_test_casttype.MyUint64Type `` /* 126-byte string literal not displayed */
	XXX_unrecognized []byte                                                `json:"-"`
}

func NewCastawayFromFace

func NewCastawayFromFace(that CastawayFace) *Castaway

func NewPopulatedCastaway

func NewPopulatedCastaway(r randyCasttype, easy bool) *Castaway

func (*Castaway) Description

func (this *Castaway) Description() (desc *google_protobuf.FileDescriptorSet)

func (*Castaway) Equal

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

func (*Castaway) GetInt32

func (this *Castaway) GetInt32() int32

func (*Castaway) GetInt32Ptr

func (this *Castaway) GetInt32Ptr() *int32

func (*Castaway) GetMyBytes

func (*Castaway) GetMyUint64

func (*Castaway) GetMyUint64Ptr

func (*Castaway) GetMyUint64S

func (*Castaway) GetNormalBytes

func (this *Castaway) GetNormalBytes() []byte

func (*Castaway) GoString

func (this *Castaway) GoString() string

func (*Castaway) Marshal

func (m *Castaway) Marshal() (data []byte, err error)

func (*Castaway) MarshalTo

func (m *Castaway) MarshalTo(data []byte) (int, error)

func (*Castaway) Proto

func (*Castaway) ProtoMessage

func (*Castaway) ProtoMessage()

func (*Castaway) Reset

func (m *Castaway) Reset()

func (*Castaway) Size

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

func (*Castaway) String

func (this *Castaway) String() string

func (*Castaway) TestProto

func (*Castaway) Unmarshal

func (m *Castaway) Unmarshal(data []byte) error

func (*Castaway) VerboseEqual

func (this *Castaway) VerboseEqual(that interface{}) error

Jump to

Keyboard shortcuts

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