Documentation ¶
Index ¶
- func CasttypeDescription() (desc *github_com_coderyw_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- type Castaway
- func (this *Castaway) Description() (desc *github_com_coderyw_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func (*Castaway) Descriptor() ([]byte, []int)
- func (this *Castaway) Equal(that interface{}) bool
- func (this *Castaway) GetInt32() int32
- func (this *Castaway) GetInt32Ptr() *int32
- func (this *Castaway) GetMyBytes() github_com_coderyw_protobuf_test_casttype.Bytes
- func (this *Castaway) GetMyCustomMap() ...
- func (this *Castaway) GetMyEmbeddedMap() map[github_com_coderyw_protobuf_test_casttype.MyInt32Type]Wilson
- func (this *Castaway) GetMyFloat32() github_com_coderyw_protobuf_test_casttype.MyFloat32Type
- func (this *Castaway) GetMyFloat32Ptr() *github_com_coderyw_protobuf_test_casttype.MyFloat32Type
- func (this *Castaway) GetMyFloat64() github_com_coderyw_protobuf_test_casttype.MyFloat64Type
- func (this *Castaway) GetMyFloat64Ptr() *github_com_coderyw_protobuf_test_casttype.MyFloat64Type
- func (this *Castaway) GetMyMap() github_com_coderyw_protobuf_test_casttype.MyMapType
- func (this *Castaway) GetMyNullableMap() map[github_com_coderyw_protobuf_test_casttype.MyInt32Type]*Wilson
- func (this *Castaway) GetMyUint64() github_com_coderyw_protobuf_test_casttype.MyUint64Type
- func (this *Castaway) GetMyUint64Ptr() *github_com_coderyw_protobuf_test_casttype.MyUint64Type
- func (this *Castaway) GetMyUint64S() []github_com_coderyw_protobuf_test_casttype.MyUint64Type
- func (this *Castaway) GetNormalBytes() []byte
- func (this *Castaway) GetString_() *github_com_coderyw_protobuf_test_casttype.MyStringType
- func (this *Castaway) GoString() string
- func (m *Castaway) IsNil() bool
- func (m *Castaway) Marshal() (dAtA []byte, err error)
- func (m *Castaway) MarshalTo(dAtA []byte) (int, error)
- func (m *Castaway) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (this *Castaway) Proto() github_com_coderyw_protobuf_proto.Message
- func (*Castaway) ProtoMessage()
- func (m *Castaway) Reset()
- func (m *Castaway) SetInt32Ptr_(val int32)
- func (m *Castaway) SetInt32_(val int32)
- func (m *Castaway) SetMyBytes_(val github_com_coderyw_protobuf_test_casttype.Bytes)
- func (m *Castaway) SetMyCustomMap_(...)
- func (m *Castaway) SetMyEmbeddedMap_(val map[github_com_coderyw_protobuf_test_casttype.MyInt32Type]Wilson)
- func (m *Castaway) SetMyFloat32Ptr_(val github_com_coderyw_protobuf_test_casttype.MyFloat32Type)
- func (m *Castaway) SetMyFloat32_(val github_com_coderyw_protobuf_test_casttype.MyFloat32Type)
- func (m *Castaway) SetMyFloat64Ptr_(val github_com_coderyw_protobuf_test_casttype.MyFloat64Type)
- func (m *Castaway) SetMyFloat64_(val github_com_coderyw_protobuf_test_casttype.MyFloat64Type)
- func (m *Castaway) SetMyMap_(val github_com_coderyw_protobuf_test_casttype.MyMapType)
- func (m *Castaway) SetMyNullableMap_(val map[github_com_coderyw_protobuf_test_casttype.MyInt32Type]*Wilson)
- func (m *Castaway) SetMyUint64Ptr_(val github_com_coderyw_protobuf_test_casttype.MyUint64Type)
- func (m *Castaway) SetMyUint64S_(val []github_com_coderyw_protobuf_test_casttype.MyUint64Type)
- func (m *Castaway) SetMyUint64_(val github_com_coderyw_protobuf_test_casttype.MyUint64Type)
- func (m *Castaway) SetNormalBytes_(val []byte)
- func (m *Castaway) SetString__(val github_com_coderyw_protobuf_test_casttype.MyStringType)
- func (m *Castaway) Size() (n int)
- func (this *Castaway) String() string
- func (this *Castaway) TestProto() github_com_coderyw_protobuf_proto.Message
- func (this *Castaway) VerboseEqual(that interface{}) error
- func (m *Castaway) XXX_DiscardUnknown()
- func (m *Castaway) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Castaway) XXX_Merge(src proto.Message)
- func (m *Castaway) XXX_Size() int
- func (m *Castaway) XXX_Unmarshal(b []byte) error
- type CastawayFace
- type Wilson
- func (this *Wilson) Description() (desc *github_com_coderyw_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) IsNil() bool
- func (m *Wilson) Marshal() (dAtA []byte, err error)
- func (m *Wilson) MarshalTo(dAtA []byte) (int, error)
- func (m *Wilson) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (this *Wilson) Proto() github_com_coderyw_protobuf_proto.Message
- func (*Wilson) ProtoMessage()
- func (m *Wilson) Reset()
- func (m *Wilson) SetInt64_(val int64)
- func (m *Wilson) Size() (n int)
- func (this *Wilson) String() string
- func (this *Wilson) TestProto() github_com_coderyw_protobuf_proto.Message
- func (this *Wilson) VerboseEqual(that interface{}) error
- func (m *Wilson) XXX_DiscardUnknown()
- func (m *Wilson) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Wilson) XXX_Merge(src proto.Message)
- func (m *Wilson) XXX_Size() int
- func (m *Wilson) XXX_Unmarshal(b []byte) error
- type WilsonFace
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CasttypeDescription ¶
func CasttypeDescription() (desc *github_com_coderyw_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
Types ¶
type Castaway ¶
type Castaway struct { Int32Ptr *int32 `protobuf:"varint,1,opt,name=Int32Ptr,casttype=int32" json:"Int32Ptr,omitempty"` Int32 int32 `protobuf:"varint,2,opt,name=Int32,casttype=int32" json:"Int32"` MyUint64Ptr *github_com_coderyw_protobuf_test_casttype.MyUint64Type `` /* 133-byte string literal not displayed */ MyUint64 github_com_coderyw_protobuf_test_casttype.MyUint64Type `protobuf:"varint,4,opt,name=MyUint64,casttype=github.com/coderyw/protobuf/test/casttype.MyUint64Type" json:"MyUint64"` MyFloat32Ptr *github_com_coderyw_protobuf_test_casttype.MyFloat32Type `` /* 137-byte string literal not displayed */ MyFloat32 github_com_coderyw_protobuf_test_casttype.MyFloat32Type `protobuf:"fixed32,6,opt,name=MyFloat32,casttype=github.com/coderyw/protobuf/test/casttype.MyFloat32Type" json:"MyFloat32"` MyFloat64Ptr *github_com_coderyw_protobuf_test_casttype.MyFloat64Type `` /* 137-byte string literal not displayed */ MyFloat64 github_com_coderyw_protobuf_test_casttype.MyFloat64Type `protobuf:"fixed64,8,opt,name=MyFloat64,casttype=github.com/coderyw/protobuf/test/casttype.MyFloat64Type" json:"MyFloat64"` MyBytes github_com_coderyw_protobuf_test_casttype.Bytes `protobuf:"bytes,9,opt,name=MyBytes,casttype=github.com/coderyw/protobuf/test/casttype.Bytes" json:"MyBytes,omitempty"` NormalBytes []byte `protobuf:"bytes,10,opt,name=NormalBytes" json:"NormalBytes,omitempty"` MyUint64S []github_com_coderyw_protobuf_test_casttype.MyUint64Type `` /* 130-byte string literal not displayed */ MyMap github_com_coderyw_protobuf_test_casttype.MyMapType `` /* 193-byte string literal not displayed */ MyCustomMap map[github_com_coderyw_protobuf_test_casttype.MyStringType]github_com_coderyw_protobuf_test_casttype.MyUint64Type `` /* 272-byte string literal not displayed */ MyNullableMap map[github_com_coderyw_protobuf_test_casttype.MyInt32Type]*Wilson `` /* 210-byte string literal not displayed */ MyEmbeddedMap map[github_com_coderyw_protobuf_test_casttype.MyInt32Type]Wilson `` /* 200-byte string literal not displayed */ String_ *github_com_coderyw_protobuf_test_casttype.MyStringType `protobuf:"bytes,16,opt,name=String,casttype=github.com/coderyw/protobuf/test/casttype.MyStringType" json:"String,omitempty"` 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_coderyw_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
func (*Castaway) Descriptor ¶
func (*Castaway) GetInt32Ptr ¶
func (*Castaway) GetMyBytes ¶
func (this *Castaway) GetMyBytes() github_com_coderyw_protobuf_test_casttype.Bytes
func (*Castaway) GetMyCustomMap ¶
func (this *Castaway) GetMyCustomMap() map[github_com_coderyw_protobuf_test_casttype.MyStringType]github_com_coderyw_protobuf_test_casttype.MyUint64Type
func (*Castaway) GetMyEmbeddedMap ¶
func (this *Castaway) GetMyEmbeddedMap() map[github_com_coderyw_protobuf_test_casttype.MyInt32Type]Wilson
func (*Castaway) GetMyFloat32 ¶
func (this *Castaway) GetMyFloat32() github_com_coderyw_protobuf_test_casttype.MyFloat32Type
func (*Castaway) GetMyFloat32Ptr ¶
func (this *Castaway) GetMyFloat32Ptr() *github_com_coderyw_protobuf_test_casttype.MyFloat32Type
func (*Castaway) GetMyFloat64 ¶
func (this *Castaway) GetMyFloat64() github_com_coderyw_protobuf_test_casttype.MyFloat64Type
func (*Castaway) GetMyFloat64Ptr ¶
func (this *Castaway) GetMyFloat64Ptr() *github_com_coderyw_protobuf_test_casttype.MyFloat64Type
func (*Castaway) GetMyMap ¶
func (this *Castaway) GetMyMap() github_com_coderyw_protobuf_test_casttype.MyMapType
func (*Castaway) GetMyNullableMap ¶
func (this *Castaway) GetMyNullableMap() map[github_com_coderyw_protobuf_test_casttype.MyInt32Type]*Wilson
func (*Castaway) GetMyUint64 ¶
func (this *Castaway) GetMyUint64() github_com_coderyw_protobuf_test_casttype.MyUint64Type
func (*Castaway) GetMyUint64Ptr ¶
func (this *Castaway) GetMyUint64Ptr() *github_com_coderyw_protobuf_test_casttype.MyUint64Type
func (*Castaway) GetMyUint64S ¶
func (this *Castaway) GetMyUint64S() []github_com_coderyw_protobuf_test_casttype.MyUint64Type
func (*Castaway) GetNormalBytes ¶
func (*Castaway) GetString_ ¶
func (this *Castaway) GetString_() *github_com_coderyw_protobuf_test_casttype.MyStringType
func (*Castaway) MarshalToSizedBuffer ¶ added in v1.3.9
func (*Castaway) Proto ¶
func (this *Castaway) Proto() github_com_coderyw_protobuf_proto.Message
func (*Castaway) ProtoMessage ¶
func (*Castaway) ProtoMessage()
func (*Castaway) SetInt32Ptr_ ¶ added in v1.4.9
func (*Castaway) SetMyBytes_ ¶ added in v1.4.9
func (m *Castaway) SetMyBytes_(val github_com_coderyw_protobuf_test_casttype.Bytes)
func (*Castaway) SetMyCustomMap_ ¶ added in v1.4.9
func (m *Castaway) SetMyCustomMap_(val map[github_com_coderyw_protobuf_test_casttype.MyStringType]github_com_coderyw_protobuf_test_casttype.MyUint64Type)
func (*Castaway) SetMyEmbeddedMap_ ¶ added in v1.4.9
func (m *Castaway) SetMyEmbeddedMap_(val map[github_com_coderyw_protobuf_test_casttype.MyInt32Type]Wilson)
func (*Castaway) SetMyFloat32Ptr_ ¶ added in v1.4.9
func (m *Castaway) SetMyFloat32Ptr_(val github_com_coderyw_protobuf_test_casttype.MyFloat32Type)
func (*Castaway) SetMyFloat32_ ¶ added in v1.4.9
func (m *Castaway) SetMyFloat32_(val github_com_coderyw_protobuf_test_casttype.MyFloat32Type)
func (*Castaway) SetMyFloat64Ptr_ ¶ added in v1.4.9
func (m *Castaway) SetMyFloat64Ptr_(val github_com_coderyw_protobuf_test_casttype.MyFloat64Type)
func (*Castaway) SetMyFloat64_ ¶ added in v1.4.9
func (m *Castaway) SetMyFloat64_(val github_com_coderyw_protobuf_test_casttype.MyFloat64Type)
func (*Castaway) SetMyMap_ ¶ added in v1.4.9
func (m *Castaway) SetMyMap_(val github_com_coderyw_protobuf_test_casttype.MyMapType)
func (*Castaway) SetMyNullableMap_ ¶ added in v1.4.9
func (m *Castaway) SetMyNullableMap_(val map[github_com_coderyw_protobuf_test_casttype.MyInt32Type]*Wilson)
func (*Castaway) SetMyUint64Ptr_ ¶ added in v1.4.9
func (m *Castaway) SetMyUint64Ptr_(val github_com_coderyw_protobuf_test_casttype.MyUint64Type)
func (*Castaway) SetMyUint64S_ ¶ added in v1.4.9
func (m *Castaway) SetMyUint64S_(val []github_com_coderyw_protobuf_test_casttype.MyUint64Type)
func (*Castaway) SetMyUint64_ ¶ added in v1.4.9
func (m *Castaway) SetMyUint64_(val github_com_coderyw_protobuf_test_casttype.MyUint64Type)
func (*Castaway) SetNormalBytes_ ¶ added in v1.4.9
func (*Castaway) SetString__ ¶ added in v1.4.9
func (m *Castaway) SetString__(val github_com_coderyw_protobuf_test_casttype.MyStringType)
func (*Castaway) TestProto ¶
func (this *Castaway) TestProto() github_com_coderyw_protobuf_proto.Message
func (*Castaway) VerboseEqual ¶
func (*Castaway) XXX_DiscardUnknown ¶ added in v1.1.0
func (m *Castaway) XXX_DiscardUnknown()
func (*Castaway) XXX_Marshal ¶ added in v1.1.0
func (*Castaway) XXX_Unmarshal ¶ added in v1.1.0
type CastawayFace ¶
type CastawayFace interface { Proto() github_com_coderyw_protobuf_proto.Message GetInt32Ptr() *int32 GetInt32() int32 GetMyUint64Ptr() *github_com_coderyw_protobuf_test_casttype.MyUint64Type GetMyUint64() github_com_coderyw_protobuf_test_casttype.MyUint64Type GetMyFloat32Ptr() *github_com_coderyw_protobuf_test_casttype.MyFloat32Type GetMyFloat32() github_com_coderyw_protobuf_test_casttype.MyFloat32Type GetMyFloat64Ptr() *github_com_coderyw_protobuf_test_casttype.MyFloat64Type GetMyFloat64() github_com_coderyw_protobuf_test_casttype.MyFloat64Type GetMyBytes() github_com_coderyw_protobuf_test_casttype.Bytes GetNormalBytes() []byte GetMyUint64S() []github_com_coderyw_protobuf_test_casttype.MyUint64Type GetMyMap() github_com_coderyw_protobuf_test_casttype.MyMapType GetMyCustomMap() map[github_com_coderyw_protobuf_test_casttype.MyStringType]github_com_coderyw_protobuf_test_casttype.MyUint64Type GetMyNullableMap() map[github_com_coderyw_protobuf_test_casttype.MyInt32Type]*Wilson GetMyEmbeddedMap() map[github_com_coderyw_protobuf_test_casttype.MyInt32Type]Wilson GetString_() *github_com_coderyw_protobuf_test_casttype.MyStringType }
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_coderyw_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
func (*Wilson) Descriptor ¶
func (*Wilson) MarshalToSizedBuffer ¶ added in v1.3.9
func (*Wilson) Proto ¶
func (this *Wilson) Proto() github_com_coderyw_protobuf_proto.Message
func (*Wilson) ProtoMessage ¶
func (*Wilson) ProtoMessage()
func (*Wilson) TestProto ¶
func (this *Wilson) TestProto() github_com_coderyw_protobuf_proto.Message
func (*Wilson) VerboseEqual ¶
func (*Wilson) XXX_DiscardUnknown ¶ added in v1.1.0
func (m *Wilson) XXX_DiscardUnknown()
func (*Wilson) XXX_Marshal ¶ added in v1.1.0
func (*Wilson) XXX_Unmarshal ¶ added in v1.1.0
type WilsonFace ¶
type WilsonFace interface { Proto() github_com_coderyw_protobuf_proto.Message GetInt64() *int64 }
Click to show internal directories.
Click to hide internal directories.