Documentation ¶
Overview ¶
Package casttype is a generated protocol buffer package.
It is generated from these files:
combos/unsafeunmarshaler/casttype.proto
It has these top-level messages:
Castaway
Index ¶
- Variables
- func CasttypeDescription() (desc *google_protobuf.FileDescriptorSet)
- type Castaway
- func (this *Castaway) Description() (desc *google_protobuf.FileDescriptorSet)
- func (this *Castaway) Equal(that interface{}) bool
- func (this *Castaway) GetInt32() int32
- func (this *Castaway) GetInt32Ptr() *int32
- func (this *Castaway) GetMyBytes() github_com_gogo_protobuf_test_casttype.Bytes
- func (this *Castaway) GetMyUint64() github_com_gogo_protobuf_test_casttype.MyUint64Type
- func (this *Castaway) GetMyUint64Ptr() *github_com_gogo_protobuf_test_casttype.MyUint64Type
- func (this *Castaway) GetMyUint64S() []github_com_gogo_protobuf_test_casttype.MyUint64Type
- func (this *Castaway) GetNormalBytes() []byte
- 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
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidLengthCasttypeUnsafe = fmt.Errorf("proto: negative length found during unmarshaling")
)
Functions ¶
func CasttypeDescription ¶
func CasttypeDescription() (desc *google_protobuf.FileDescriptorSet)
Types ¶
type Castaway ¶
type Castaway struct { Int32Ptr *int32 `protobuf:"varint,1,opt,casttype=int32" json:"Int32Ptr,omitempty"` Int32 int32 `protobuf:"varint,2,opt,casttype=int32" json:"Int32"` MyUint64Ptr *github_com_gogo_protobuf_test_casttype.MyUint64Type `protobuf:"varint,3,opt,casttype=github.com/gogo/protobuf/test/casttype.MyUint64Type" json:"MyUint64Ptr,omitempty"` MyUint64 github_com_gogo_protobuf_test_casttype.MyUint64Type `protobuf:"varint,4,opt,casttype=github.com/gogo/protobuf/test/casttype.MyUint64Type" json:"MyUint64"` MyBytes github_com_gogo_protobuf_test_casttype.Bytes `protobuf:"bytes,5,opt,casttype=github.com/gogo/protobuf/test/casttype.Bytes" json:"MyBytes,omitempty"` NormalBytes []byte `protobuf:"bytes,6,opt" json:"NormalBytes,omitempty"` MyUint64S []github_com_gogo_protobuf_test_casttype.MyUint64Type `` /* 126-byte string literal not displayed */ XXX_unrecognized []byte `json:"-"` }
func NewCastawayFromFace ¶
func NewCastawayFromFace(that CastawayFace) *Castaway
func NewPopulatedCastaway ¶
func (*Castaway) Description ¶
func (this *Castaway) Description() (desc *google_protobuf.FileDescriptorSet)
func (*Castaway) GetInt32Ptr ¶
func (*Castaway) GetMyBytes ¶
func (this *Castaway) GetMyBytes() github_com_gogo_protobuf_test_casttype.Bytes
func (*Castaway) GetMyUint64 ¶
func (this *Castaway) GetMyUint64() github_com_gogo_protobuf_test_casttype.MyUint64Type
func (*Castaway) GetMyUint64Ptr ¶
func (this *Castaway) GetMyUint64Ptr() *github_com_gogo_protobuf_test_casttype.MyUint64Type
func (*Castaway) GetMyUint64S ¶
func (this *Castaway) GetMyUint64S() []github_com_gogo_protobuf_test_casttype.MyUint64Type
func (*Castaway) GetNormalBytes ¶
func (*Castaway) Proto ¶
func (this *Castaway) Proto() github_com_gogo_protobuf_proto.Message
func (*Castaway) ProtoMessage ¶
func (*Castaway) ProtoMessage()
func (*Castaway) TestProto ¶
func (this *Castaway) TestProto() github_com_gogo_protobuf_proto.Message
func (*Castaway) VerboseEqual ¶
type CastawayFace ¶
type CastawayFace interface { Proto() github_com_gogo_protobuf_proto.Message GetInt32Ptr() *int32 GetInt32() int32 GetMyUint64Ptr() *github_com_gogo_protobuf_test_casttype.MyUint64Type GetMyUint64() github_com_gogo_protobuf_test_casttype.MyUint64Type GetMyBytes() github_com_gogo_protobuf_test_casttype.Bytes GetNormalBytes() []byte GetMyUint64S() []github_com_gogo_protobuf_test_casttype.MyUint64Type }
Click to show internal directories.
Click to hide internal directories.