package castvalue
import "github.com/gogo/protobuf/test/castvalue/combos/both"
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 (m *Castaway) Marshal() (dAtA []byte, err error)
- func (m *Castaway) MarshalTo(dAtA []byte) (int, error)
- 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
- func (m *Castaway) XXX_DiscardUnknown()
- func (m *Castaway) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Castaway) XXX_Merge(src proto.Message)
- func (m *Castaway) XXX_Size() int
- func (m *Castaway) XXX_Unmarshal(b []byte) 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 (m *Wilson) Marshal() (dAtA []byte, err error)
- func (m *Wilson) MarshalTo(dAtA []byte) (int, error)
- 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
- func (m *Wilson) XXX_DiscardUnknown()
- func (m *Wilson) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Wilson) XXX_Merge(src proto.Message)
- func (m *Wilson) XXX_Size() int
- func (m *Wilson) XXX_Unmarshal(b []byte) error
- type WilsonFace
Variables ¶
var ( ErrInvalidLengthCastvalue = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCastvalue = fmt.Errorf("proto: integer overflow") )
Functions ¶
func CastvalueDescription ¶
func CastvalueDescription() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
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 (*Castaway) Description ¶
func (this *Castaway) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
func (*Castaway) Descriptor ¶
func (*Castaway) Equal ¶
func (*Castaway) GetCastMapValueMessage ¶
func (*Castaway) GetCastMapValueMessageNullable ¶
func (*Castaway) GoString ¶
func (*Castaway) Marshal ¶
func (*Castaway) MarshalTo ¶
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 (*Castaway) String ¶
func (*Castaway) TestProto ¶
func (this *Castaway) TestProto() github_com_gogo_protobuf_proto.Message
func (*Castaway) Unmarshal ¶
func (*Castaway) VerboseEqual ¶
func (*Castaway) XXX_DiscardUnknown ¶
func (m *Castaway) XXX_DiscardUnknown()
func (*Castaway) XXX_Marshal ¶
func (*Castaway) XXX_Merge ¶
func (*Castaway) XXX_Size ¶
func (*Castaway) XXX_Unmarshal ¶
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 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) Equal ¶
func (*Wilson) GetInt64 ¶
func (*Wilson) GoString ¶
func (*Wilson) Marshal ¶
func (*Wilson) MarshalTo ¶
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 (*Wilson) String ¶
func (*Wilson) TestProto ¶
func (this *Wilson) TestProto() github_com_gogo_protobuf_proto.Message
func (*Wilson) Unmarshal ¶
func (*Wilson) VerboseEqual ¶
func (*Wilson) XXX_DiscardUnknown ¶
func (m *Wilson) XXX_DiscardUnknown()
func (*Wilson) XXX_Marshal ¶
func (*Wilson) XXX_Merge ¶
func (*Wilson) XXX_Size ¶
func (*Wilson) XXX_Unmarshal ¶
type WilsonFace ¶
type WilsonFace interface { Proto() github_com_gogo_protobuf_proto.Message GetInt64() *int64 }
Source Files ¶
- Version
- v1.2.0
- Published
- Dec 11, 2018
- Platform
- js/wasm
- Imports
- 12 packages
- Last checked
- 2 days ago –
Tools for package owners.