castvalue

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2018 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

Types

type Castaway

type Castaway struct {
	CastMapValueMessage         map[int32]MyWilson  `` /* 199-byte string literal not displayed */
	CastMapValueMessageNullable map[int32]*MyWilson `` /* 225-byte string literal not displayed */
	XXX_NoUnkeyedLiteral        struct{}            `json:"-"`
	XXX_unrecognized            []byte              `json:"-"`
	XXX_sizecache               int32               `json:"-"`
}

func NewCastawayFromFace

func NewCastawayFromFace(that CastawayFace) *Castaway

func NewPopulatedCastaway

func NewPopulatedCastaway(r randyCastvalue, easy bool) *Castaway

func (*Castaway) Descriptor

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

func (*Castaway) Equal

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

func (*Castaway) GetCastMapValueMessage

func (this *Castaway) GetCastMapValueMessage() map[int32]MyWilson

func (*Castaway) GetCastMapValueMessageNullable

func (this *Castaway) GetCastMapValueMessageNullable() map[int32]*MyWilson

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

func (*Castaway) XXX_DiscardUnknown added in v1.1.0

func (m *Castaway) XXX_DiscardUnknown()

func (*Castaway) XXX_Marshal added in v1.1.0

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

func (*Castaway) XXX_Merge added in v1.1.0

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

func (*Castaway) XXX_Size added in v1.1.0

func (m *Castaway) XXX_Size() int

func (*Castaway) XXX_Unmarshal added in v1.1.0

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

type CastawayFace

type CastawayFace interface {
	Proto() github_com_gogo_protobuf_proto.Message
	GetCastMapValueMessage() map[int32]MyWilson
	GetCastMapValueMessageNullable() map[int32]*MyWilson
}

type MyWilson

type MyWilson Wilson

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 randyCastvalue, 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) 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) Unmarshal

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

func (*Wilson) VerboseEqual

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

func (*Wilson) XXX_DiscardUnknown added in v1.1.0

func (m *Wilson) XXX_DiscardUnknown()

func (*Wilson) XXX_Marshal added in v1.1.0

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

func (*Wilson) XXX_Merge added in v1.1.0

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

func (*Wilson) XXX_Size added in v1.1.0

func (m *Wilson) XXX_Size() int

func (*Wilson) XXX_Unmarshal added in v1.1.0

func (m *Wilson) XXX_Unmarshal(b []byte) 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