casttype

package
v0.0.0-...-7b13315 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2016 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Overview

Package casttype is a generated protocol buffer package.

It is generated from these files:

combos/marshaler/casttype.proto

It has these top-level messages:

Castaway
Wilson

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CasttypeDescription

func CasttypeDescription() (desc *descriptor.FileDescriptorSet)

Types

type Castaway

type Castaway struct {
	Int32Ptr         *int32                                                                                                      `protobuf:"varint,1,opt,name=Int32Ptr,casttype=int32" json:"Int32Ptr,omitempty"`
	Int32            int32                                                                                                       `protobuf:"varint,2,opt,name=Int32,casttype=int32" json:"Int32"`
	MyUint64Ptr      *github_com_gogo_protobuf_test_casttype.MyUint64Type                                                        `` /* 130-byte string literal not displayed */
	MyUint64         github_com_gogo_protobuf_test_casttype.MyUint64Type                                                         `protobuf:"varint,4,opt,name=MyUint64,casttype=github.com/gogo/protobuf/test/casttype.MyUint64Type" json:"MyUint64"`
	MyBytes          github_com_gogo_protobuf_test_casttype.Bytes                                                                `protobuf:"bytes,5,opt,name=MyBytes,casttype=github.com/gogo/protobuf/test/casttype.Bytes" json:"MyBytes,omitempty"`
	NormalBytes      []byte                                                                                                      `protobuf:"bytes,6,opt,name=NormalBytes" json:"NormalBytes,omitempty"`
	MyUint64S        []github_com_gogo_protobuf_test_casttype.MyUint64Type                                                       `` /* 126-byte string literal not displayed */
	MyMap            github_com_gogo_protobuf_test_casttype.MyMapType                                                            `` /* 189-byte string literal not displayed */
	MyCustomMap      map[github_com_gogo_protobuf_test_casttype.MyStringType]github_com_gogo_protobuf_test_casttype.MyUint64Type `` /* 265-byte string literal not displayed */
	MyNullableMap    map[github_com_gogo_protobuf_test_casttype.MyInt32Type]*Wilson                                              `` /* 207-byte string literal not displayed */
	MyEmbeddedMap    map[github_com_gogo_protobuf_test_casttype.MyInt32Type]Wilson                                               `` /* 197-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 *descriptor.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) GetMyEmbeddedMap

func (*Castaway) GetMyMap

func (*Castaway) GetMyNullableMap

func (this *Castaway) GetMyNullableMap() map[github_com_gogo_protobuf_test_casttype.MyInt32Type]*Wilson

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) VerboseEqual

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

type Wilson

type Wilson struct {
	Int64            *int64 `protobuf:"varint,1,opt,name=Int64" json:"Int64,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

func NewPopulatedWilson

func NewPopulatedWilson(r randyCasttype, easy bool) *Wilson

func NewWilsonFromFace

func NewWilsonFromFace(that WilsonFace) *Wilson

func (*Wilson) Description

func (this *Wilson) Description() (desc *descriptor.FileDescriptorSet)

func (*Wilson) Equal

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

func (*Wilson) GetInt64

func (this *Wilson) GetInt64() *int64

func (*Wilson) GoString

func (this *Wilson) GoString() string

func (*Wilson) Marshal

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

func (*Wilson) MarshalTo

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

func (*Wilson) Proto

func (*Wilson) ProtoMessage

func (*Wilson) ProtoMessage()

func (*Wilson) Reset

func (m *Wilson) Reset()

func (*Wilson) Size

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

func (*Wilson) String

func (this *Wilson) String() string

func (*Wilson) TestProto

func (this *Wilson) TestProto() github_com_gogo_protobuf_proto.Message

func (*Wilson) VerboseEqual

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

type WilsonFace

type WilsonFace interface {
	Proto() github_com_gogo_protobuf_proto.Message
	GetInt64() *int64
}

Jump to

Keyboard shortcuts

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