package castvalue

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

Index

Functions

func CastvalueDescription

Types

type Castaway

type Castaway struct {
	CastMapValueMessage         map[int32]MyWilson  `protobuf:"bytes,1,rep,name=CastMapValueMessage,castvalue=MyWilson,castvaluetype=castvalue.Wilson" json:"CastMapValueMessage" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	CastMapValueMessageNullable map[int32]*MyWilson `protobuf:"bytes,2,rep,name=CastMapValueMessageNullable,castvalue=MyWilson,castvaluetype=castvalue.Wilson" json:"CastMapValueMessageNullable,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	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) Description

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

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

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

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

castvalue.pb.go mytypes.go

Directories

PathSynopsis
test/castvalue/combos
test/castvalue/combos/both
test/castvalue/combos/marshaler
test/castvalue/combos/unmarshaler
Version
v1.3.1
Published
Oct 14, 2019
Platform
js/wasm
Imports
12 packages
Last checked
2 days ago

Tools for package owners.