...
Package castvalue
Overview ▹
Index ▹
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) Marshal ¶
func (m *Castaway) Marshal() (dAtA []byte, err error)
func (*Castaway) MarshalTo ¶
func (m *Castaway) MarshalTo(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) 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) Marshal ¶
func (m *Wilson) Marshal() (dAtA []byte, err error)
func (*Wilson) MarshalTo ¶
func (m *Wilson) MarshalTo(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) 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 }