castvalue - ActiveState ActiveGo 1.8
...

Package castvalue

import "github.com/gogo/protobuf/test/castvalue/combos/unsafeunmarshaler"
Overview
Index

Overview ▾

Package castvalue is a generated protocol buffer package.

It is generated from these files:

combos/unsafeunmarshaler/castvalue.proto

It has these top-level messages:

Castaway
Wilson

Index ▾

Variables
func CastvalueDescription() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
type Castaway
    func NewCastawayFromFace(that CastawayFace) *Castaway
    func NewPopulatedCastaway(r randyCastvalue, easy bool) *Castaway
    func (this *Castaway) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
    func (*Castaway) Descriptor() ([]byte, []int)
    func (this *Castaway) Equal(that interface{}) bool
    func (this *Castaway) GetCastMapValueMessage() map[int32]MyWilson
    func (this *Castaway) GetCastMapValueMessageNullable() map[int32]*MyWilson
    func (this *Castaway) GoString() string
    func (this *Castaway) Proto() github_com_gogo_protobuf_proto.Message
    func (*Castaway) ProtoMessage()
    func (m *Castaway) Reset()
    func (m *Castaway) Size() (n int)
    func (this *Castaway) String() string
    func (this *Castaway) TestProto() github_com_gogo_protobuf_proto.Message
    func (m *Castaway) Unmarshal(dAtA []byte) error
    func (this *Castaway) VerboseEqual(that interface{}) error
type CastawayFace
type MyWilson
type Wilson
    func NewPopulatedWilson(r randyCastvalue, easy bool) *Wilson
    func NewWilsonFromFace(that WilsonFace) *Wilson
    func (this *Wilson) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
    func (*Wilson) Descriptor() ([]byte, []int)
    func (this *Wilson) Equal(that interface{}) bool
    func (this *Wilson) GetInt64() *int64
    func (this *Wilson) GoString() string
    func (this *Wilson) Proto() github_com_gogo_protobuf_proto.Message
    func (*Wilson) ProtoMessage()
    func (m *Wilson) Reset()
    func (m *Wilson) Size() (n int)
    func (this *Wilson) String() string
    func (this *Wilson) TestProto() github_com_gogo_protobuf_proto.Message
    func (m *Wilson) Unmarshal(dAtA []byte) error
    func (this *Wilson) VerboseEqual(that interface{}) error
type WilsonFace

Package files

castvalue.pb.go mytypes.go

Variables

var (
    ErrInvalidLengthCastvalueUnsafe = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowCastvalueUnsafe   = fmt.Errorf("proto: integer overflow")
)

func CastvalueDescription

func CastvalueDescription() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)

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_unrecognized            []byte              `json:"-"`
}

func NewCastawayFromFace

func NewCastawayFromFace(that CastawayFace) *Castaway

func NewPopulatedCastaway

func NewPopulatedCastaway(r randyCastvalue, easy bool) *Castaway

func (*Castaway) Description

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

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

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

func (*Castaway) VerboseEqual

func (this *Castaway) VerboseEqual(that interface{}) 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_unrecognized []byte `json:"-"`
}

func NewPopulatedWilson

func NewPopulatedWilson(r randyCastvalue, easy bool) *Wilson

func NewWilsonFromFace

func NewWilsonFromFace(that WilsonFace) *Wilson

func (*Wilson) Description

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

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

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

func (*Wilson) VerboseEqual

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

type WilsonFace

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