Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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"`
	MyFloat32Ptr         *github_com_gogo_protobuf_test_casttype.MyFloat32Type                                                       "" /* 134 byte string literal not displayed */
	MyFloat32            github_com_gogo_protobuf_test_casttype.MyFloat32Type                                                        `protobuf:"fixed32,6,opt,name=MyFloat32,casttype=github.com/gogo/protobuf/test/casttype.MyFloat32Type" json:"MyFloat32"`
	MyFloat64Ptr         *github_com_gogo_protobuf_test_casttype.MyFloat64Type                                                       "" /* 134 byte string literal not displayed */
	MyFloat64            github_com_gogo_protobuf_test_casttype.MyFloat64Type                                                        `protobuf:"fixed64,8,opt,name=MyFloat64,casttype=github.com/gogo/protobuf/test/casttype.MyFloat64Type" json:"MyFloat64"`
	MyBytes              github_com_gogo_protobuf_test_casttype.Bytes                                                                `protobuf:"bytes,9,opt,name=MyBytes,casttype=github.com/gogo/protobuf/test/casttype.Bytes" json:"MyBytes,omitempty"`
	NormalBytes          []byte                                                                                                      `protobuf:"bytes,10,opt,name=NormalBytes" json:"NormalBytes,omitempty"`
	MyUint64S            []github_com_gogo_protobuf_test_casttype.MyUint64Type                                                       "" /* 127 byte string literal not displayed */
	MyMap                github_com_gogo_protobuf_test_casttype.MyMapType                                                            "" /* 190 byte string literal not displayed */
	MyCustomMap          map[github_com_gogo_protobuf_test_casttype.MyStringType]github_com_gogo_protobuf_test_casttype.MyUint64Type "" /* 266 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 */
	String_              *github_com_gogo_protobuf_test_casttype.MyStringType                                                        `protobuf:"bytes,16,opt,name=String,casttype=github.com/gogo/protobuf/test/casttype.MyStringType" json:"String,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                                                                                    `json:"-"`
	XXX_unrecognized     []byte                                                                                                      `json:"-"`
	XXX_sizecache        int32                                                                                                       `json:"-"`
}

func NewCastawayFromFace

func NewCastawayFromFace(that CastawayFace) *Castaway

func NewPopulatedCastaway

func NewPopulatedCastaway(r randyCasttype, easy bool) *Castaway

func (*Castaway) Descriptor

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

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 (this *Castaway) GetMyBytes() github_com_gogo_protobuf_test_casttype.Bytes

func (*Castaway) GetMyEmbeddedMap

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

func (*Castaway) GetMyFloat32

func (this *Castaway) GetMyFloat32() github_com_gogo_protobuf_test_casttype.MyFloat32Type

func (*Castaway) GetMyFloat32Ptr

func (this *Castaway) GetMyFloat32Ptr() *github_com_gogo_protobuf_test_casttype.MyFloat32Type

func (*Castaway) GetMyFloat64

func (this *Castaway) GetMyFloat64() github_com_gogo_protobuf_test_casttype.MyFloat64Type

func (*Castaway) GetMyFloat64Ptr

func (this *Castaway) GetMyFloat64Ptr() *github_com_gogo_protobuf_test_casttype.MyFloat64Type

func (*Castaway) GetMyMap

func (this *Castaway) GetMyMap() github_com_gogo_protobuf_test_casttype.MyMapType

func (*Castaway) GetMyNullableMap

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

func (*Castaway) GetMyUint64

func (this *Castaway) GetMyUint64() github_com_gogo_protobuf_test_casttype.MyUint64Type

func (*Castaway) GetMyUint64Ptr

func (this *Castaway) GetMyUint64Ptr() *github_com_gogo_protobuf_test_casttype.MyUint64Type

func (*Castaway) GetMyUint64S

func (this *Castaway) GetMyUint64S() []github_com_gogo_protobuf_test_casttype.MyUint64Type

func (*Castaway) GetNormalBytes

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

func (*Castaway) GetString_

func (this *Castaway) GetString_() *github_com_gogo_protobuf_test_casttype.MyStringType

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

func (m *Castaway) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Castaway) Proto

func (this *Castaway) Proto() github_com_gogo_protobuf_proto.Message

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 (this *Castaway) TestProto() github_com_gogo_protobuf_proto.Message

func (*Castaway) VerboseEqual

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

func (*Castaway) XXX_DiscardUnknown

func (m *Castaway) XXX_DiscardUnknown()

func (*Castaway) XXX_Marshal

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

func (*Castaway) XXX_Merge

func (m *Castaway) XXX_Merge(src proto.Message)

func (*Castaway) XXX_Size

func (m *Castaway) XXX_Size() int

func (*Castaway) XXX_Unmarshal

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

type Wilson

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

func NewPopulatedWilson

func NewPopulatedWilson(r randyCasttype, easy bool) *Wilson

func NewWilsonFromFace

func NewWilsonFromFace(that WilsonFace) *Wilson

func (*Wilson) Descriptor

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

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

func (m *Wilson) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Wilson) Proto

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

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

func (*Wilson) XXX_DiscardUnknown

func (m *Wilson) XXX_DiscardUnknown()

func (*Wilson) XXX_Marshal

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

func (*Wilson) XXX_Merge

func (m *Wilson) XXX_Merge(src proto.Message)

func (*Wilson) XXX_Size

func (m *Wilson) XXX_Size() int

func (*Wilson) XXX_Unmarshal

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

type WilsonFace

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

Source Files