Documentation ¶
Index ¶
- Variables
- func ExampleDescription() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- type A
- func (*A) Descriptor() ([]byte, []int)
- func (this *A) Equal(that interface{}) bool
- func (this *A) GetDescription() string
- func (this *A) GetId() github_com_gogo_protobuf_test.Uuid
- func (this *A) GetNumber() int64
- func (this *A) GoString() string
- func (m *A) Marshal() (dAtA []byte, err error)
- func (m *A) MarshalTo(dAtA []byte) (int, error)
- func (this *A) Proto() github_com_gogo_protobuf_proto.Message
- func (*A) ProtoMessage()
- func (m *A) Reset()
- func (m *A) Size() (n int)
- func (this *A) String() string
- func (this *A) TestProto() github_com_gogo_protobuf_proto.Message
- func (m *A) Unmarshal(dAtA []byte) error
- func (this *A) VerboseEqual(that interface{}) error
- func (m *A) XXX_DiscardUnknown()
- func (m *A) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *A) XXX_Merge(src proto.Message)
- func (m *A) XXX_Size() int
- func (m *A) XXX_Unmarshal(b []byte) error
- type AFace
- type B
- func (this *B) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
- func (*B) Descriptor() ([]byte, []int)
- func (this *B) Equal(that interface{}) bool
- func (this *B) GoString() string
- func (m *B) Marshal() (dAtA []byte, err error)
- func (m *B) MarshalTo(dAtA []byte) (int, error)
- func (*B) ProtoMessage()
- func (m *B) Reset()
- func (m *B) Size() (n int)
- func (this *B) String() string
- func (m *B) Unmarshal(dAtA []byte) error
- func (this *B) VerboseEqual(that interface{}) error
- func (m *B) XXX_DiscardUnknown()
- func (m *B) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *B) XXX_Merge(src proto.Message)
- func (m *B) XXX_Size() int
- func (m *B) XXX_Unmarshal(b []byte) error
- type C
- func (*C) Descriptor() ([]byte, []int)
- func (this *C) Equal(that interface{}) bool
- func (m *C) GetMySize() int64
- func (this *C) GoString() string
- func (m *C) Marshal() (dAtA []byte, err error)
- func (m *C) MarshalTo(dAtA []byte) (int, error)
- func (*C) ProtoMessage()
- func (m *C) Reset()
- func (m *C) Size() (n int)
- func (this *C) String() string
- func (m *C) Unmarshal(dAtA []byte) error
- func (this *C) VerboseEqual(that interface{}) error
- func (m *C) XXX_DiscardUnknown()
- func (m *C) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *C) XXX_Merge(src proto.Message)
- func (m *C) XXX_Size() int
- func (m *C) XXX_Unmarshal(b []byte) error
- type CastType
- func (*CastType) Descriptor() ([]byte, []int)
- func (this *CastType) Equal(that interface{}) bool
- func (m *CastType) GetInt32() int32
- func (this *CastType) GoString() string
- func (m *CastType) Marshal() (dAtA []byte, err error)
- func (m *CastType) MarshalTo(dAtA []byte) (int, error)
- func (*CastType) ProtoMessage()
- func (m *CastType) Reset()
- func (m *CastType) Size() (n int)
- func (this *CastType) String() string
- func (m *CastType) Unmarshal(dAtA []byte) error
- func (this *CastType) VerboseEqual(that interface{}) error
- func (m *CastType) XXX_DiscardUnknown()
- func (m *CastType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CastType) XXX_Merge(src proto.Message)
- func (m *CastType) XXX_Size() int
- func (m *CastType) XXX_Unmarshal(b []byte) error
- type E
- func (*E) Descriptor() ([]byte, []int)
- func (this *E) Equal(that interface{}) bool
- func (*E) ExtensionRangeArray() []proto.ExtensionRange
- func (m *E) GetExtensions() *[]byte
- func (this *E) GoString() string
- func (m *E) Marshal() (dAtA []byte, err error)
- func (m *E) MarshalTo(dAtA []byte) (int, error)
- func (*E) ProtoMessage()
- func (m *E) Reset()
- func (m *E) Size() (n int)
- func (this *E) String() string
- func (m *E) Unmarshal(dAtA []byte) error
- func (this *E) VerboseEqual(that interface{}) error
- func (m *E) XXX_DiscardUnknown()
- func (m *E) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *E) XXX_Merge(src proto.Message)
- func (m *E) XXX_Size() int
- func (m *E) XXX_Unmarshal(b []byte) error
- type R
- func (*R) Descriptor() ([]byte, []int)
- func (this *R) Equal(that interface{}) bool
- func (m *R) GetRecognized() uint32
- func (this *R) GoString() string
- func (m *R) Marshal() (dAtA []byte, err error)
- func (m *R) MarshalTo(dAtA []byte) (int, error)
- func (*R) ProtoMessage()
- func (m *R) Reset()
- func (m *R) Size() (n int)
- func (this *R) String() string
- func (m *R) Unmarshal(dAtA []byte) error
- func (this *R) VerboseEqual(that interface{}) error
- func (m *R) XXX_DiscardUnknown()
- func (m *R) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *R) XXX_Merge(src proto.Message)
- func (m *R) XXX_Size() int
- func (m *R) XXX_Unmarshal(b []byte) error
- type U
- func (*U) Descriptor() ([]byte, []int)
- func (this *U) Equal(that interface{}) bool
- func (m *U) GetA() *A
- func (m *U) GetB() *B
- func (this *U) GetValue() interface{}
- func (this *U) GoString() string
- func (m *U) Marshal() (dAtA []byte, err error)
- func (m *U) MarshalTo(dAtA []byte) (int, error)
- func (*U) ProtoMessage()
- func (m *U) Reset()
- func (this *U) SetValue(value interface{}) bool
- func (m *U) Size() (n int)
- func (this *U) String() string
- func (m *U) Unmarshal(dAtA []byte) error
- func (this *U) VerboseEqual(that interface{}) error
- func (m *U) XXX_DiscardUnknown()
- func (m *U) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *U) XXX_Merge(src proto.Message)
- func (m *U) XXX_Size() int
- func (m *U) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthExample = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowExample = fmt.Errorf("proto: integer overflow") )
Functions ¶
func ExampleDescription ¶
func ExampleDescription() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
Types ¶
type A ¶
type A struct { Description string `protobuf:"bytes,1,opt,name=Description" json:"Description"` Number int64 `protobuf:"varint,2,opt,name=Number" json:"Number"` Id github_com_gogo_protobuf_test.Uuid `protobuf:"bytes,3,opt,name=Id,customtype=github.com/gogo/protobuf/test.Uuid" json:"Id"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewAFromFace ¶
func NewPopulatedA ¶
func (*A) Descriptor ¶
func (*A) GetDescription ¶
func (*A) GetId ¶
func (this *A) GetId() github_com_gogo_protobuf_test.Uuid
func (*A) Proto ¶
func (this *A) Proto() github_com_gogo_protobuf_proto.Message
func (*A) ProtoMessage ¶
func (*A) ProtoMessage()
func (*A) TestProto ¶
func (this *A) TestProto() github_com_gogo_protobuf_proto.Message
func (*A) VerboseEqual ¶
func (*A) XXX_DiscardUnknown ¶
func (m *A) XXX_DiscardUnknown()
func (*A) XXX_Unmarshal ¶
type AFace ¶
type AFace interface { Proto() github_com_gogo_protobuf_proto.Message GetDescription() string GetNumber() int64 GetId() github_com_gogo_protobuf_test.Uuid }
type B ¶
type B struct { A `protobuf:"bytes,1,opt,name=A,embedded=A" json:"A"` G []github_com_gogo_protobuf_test_custom.Uint128 `protobuf:"bytes,2,rep,name=G,customtype=github.com/gogo/protobuf/test/custom.Uint128" json:"G"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedB ¶
func (*B) Description ¶
func (this *B) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
func (*B) Descriptor ¶
func (*B) ProtoMessage ¶
func (*B) ProtoMessage()
func (*B) VerboseEqual ¶
func (*B) XXX_DiscardUnknown ¶
func (m *B) XXX_DiscardUnknown()
func (*B) XXX_Unmarshal ¶
type C ¶
type C struct { MySize *int64 `protobuf:"varint,1,opt,name=size" json:"size,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedC ¶
func (*C) Descriptor ¶
func (*C) ProtoMessage ¶
func (*C) ProtoMessage()
func (*C) VerboseEqual ¶
func (*C) XXX_DiscardUnknown ¶
func (m *C) XXX_DiscardUnknown()
func (*C) XXX_Unmarshal ¶
type CastType ¶
type CastType struct { Int32 *int32 `protobuf:"varint,1,opt,name=Int32,casttype=int32" json:"Int32,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedCastType ¶
func (*CastType) Descriptor ¶
func (*CastType) ProtoMessage ¶
func (*CastType) ProtoMessage()
func (*CastType) VerboseEqual ¶
func (*CastType) XXX_DiscardUnknown ¶
func (m *CastType) XXX_DiscardUnknown()
func (*CastType) XXX_Marshal ¶
func (*CastType) XXX_Unmarshal ¶
type E ¶
type E struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_extensions []byte `protobuf:"bytes,0,opt" json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedE ¶
func (*E) Descriptor ¶
func (*E) ExtensionRangeArray ¶
func (*E) ExtensionRangeArray() []proto.ExtensionRange
func (*E) GetExtensions ¶
func (*E) ProtoMessage ¶
func (*E) ProtoMessage()
func (*E) VerboseEqual ¶
func (*E) XXX_DiscardUnknown ¶
func (m *E) XXX_DiscardUnknown()
func (*E) XXX_Unmarshal ¶
type R ¶
type R struct { Recognized *uint32 `protobuf:"varint,1,opt,name=recognized" json:"recognized,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedR ¶
func (*R) Descriptor ¶
func (*R) GetRecognized ¶
func (*R) ProtoMessage ¶
func (*R) ProtoMessage()
func (*R) VerboseEqual ¶
func (*R) XXX_DiscardUnknown ¶
func (m *R) XXX_DiscardUnknown()
func (*R) XXX_Unmarshal ¶
type U ¶
type U struct { A *A `protobuf:"bytes,1,opt,name=A" json:"A,omitempty"` B *B `protobuf:"bytes,2,opt,name=B" json:"B,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedU ¶
func (*U) Descriptor ¶
func (*U) ProtoMessage ¶
func (*U) ProtoMessage()
func (*U) VerboseEqual ¶
func (*U) XXX_DiscardUnknown ¶
func (m *U) XXX_DiscardUnknown()
func (*U) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.