 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- Variables
- func ExampleDescription() (desc *github_com_coderyw_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_coderyw_protobuf_test.Uuid
- func (this *A) GetNumber() int64
- func (this *A) GoString() string
- func (m *A) IsNil() bool
- func (m *A) Marshal() (dAtA []byte, err error)
- func (m *A) MarshalTo(dAtA []byte) (int, error)
- func (m *A) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (this *A) Proto() github_com_coderyw_protobuf_proto.Message
- func (*A) ProtoMessage()
- func (m *A) Reset()
- func (m *A) SetDescription_(val string)
- func (m *A) SetNumber_(val int64)
- func (m *A) Size() (n int)
- func (this *A) String() string
- func (this *A) TestProto() github_com_coderyw_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 (m *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_coderyw_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) IsNil() bool
- func (m *B) Marshal() (dAtA []byte, err error)
- func (m *B) MarshalTo(dAtA []byte) (int, error)
- func (m *B) MarshalToSizedBuffer(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 (m *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) IsNil() bool
- func (m *C) Marshal() (dAtA []byte, err error)
- func (m *C) MarshalTo(dAtA []byte) (int, error)
- func (m *C) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*C) ProtoMessage()
- func (m *C) Reset()
- func (m *C) SetMySize_(val int64)
- 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 (m *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) IsNil() bool
- func (m *CastType) Marshal() (dAtA []byte, err error)
- func (m *CastType) MarshalTo(dAtA []byte) (int, error)
- func (m *CastType) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CastType) ProtoMessage()
- func (m *CastType) Reset()
- func (m *CastType) SetInt32_(val int32)
- 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 (m *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) IsNil() bool
- func (m *E) Marshal() (dAtA []byte, err error)
- func (m *E) MarshalTo(dAtA []byte) (int, error)
- func (m *E) MarshalToSizedBuffer(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 (m *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) IsNil() bool
- func (m *R) Marshal() (dAtA []byte, err error)
- func (m *R) MarshalTo(dAtA []byte) (int, error)
- func (m *R) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*R) ProtoMessage()
- func (m *R) Reset()
- func (m *R) SetRecognized_(val uint32)
- 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 (m *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) IsNil() bool
- func (m *U) Marshal() (dAtA []byte, err error)
- func (m *U) MarshalTo(dAtA []byte) (int, error)
- func (m *U) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*U) ProtoMessage()
- func (m *U) Reset()
- func (m *U) SetA_(val *A)
- func (m *U) SetB_(val *B)
- 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 (m *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 ¶
Functions ¶
func ExampleDescription ¶
func ExampleDescription() (desc *github_com_coderyw_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_coderyw_protobuf_test.Uuid `protobuf:"bytes,3,opt,name=Id,customtype=github.com/coderyw/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_coderyw_protobuf_test.Uuid
func (*A) MarshalToSizedBuffer ¶ added in v1.3.9
func (*A) Proto ¶
func (this *A) Proto() github_com_coderyw_protobuf_proto.Message
func (*A) ProtoMessage ¶
func (*A) ProtoMessage()
func (*A) SetDescription_ ¶ added in v1.4.9
func (*A) SetNumber_ ¶ added in v1.4.9
func (*A) TestProto ¶
func (this *A) TestProto() github_com_coderyw_protobuf_proto.Message
func (*A) VerboseEqual ¶
func (*A) XXX_DiscardUnknown ¶ added in v1.1.0
func (m *A) XXX_DiscardUnknown()
func (*A) XXX_Marshal ¶ added in v1.1.0
func (*A) XXX_Unmarshal ¶ added in v1.1.0
type AFace ¶
type AFace interface {
	Proto() github_com_coderyw_protobuf_proto.Message
	GetDescription() string
	GetNumber() int64
	GetId() github_com_coderyw_protobuf_test.Uuid
}
    type B ¶
type B struct {
	A                    `protobuf:"bytes,1,opt,name=A,embedded=A" json:"A"`
	G                    []github_com_coderyw_protobuf_test_custom.Uint128 `protobuf:"bytes,2,rep,name=G,customtype=github.com/coderyw/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_coderyw_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet)
func (*B) Descriptor ¶
func (*B) MarshalToSizedBuffer ¶ added in v1.3.9
func (*B) ProtoMessage ¶
func (*B) ProtoMessage()
func (*B) VerboseEqual ¶
func (*B) XXX_DiscardUnknown ¶ added in v1.1.0
func (m *B) XXX_DiscardUnknown()
func (*B) XXX_Marshal ¶ added in v1.1.0
func (*B) XXX_Unmarshal ¶ added in v1.1.0
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) MarshalToSizedBuffer ¶ added in v1.3.9
func (*C) ProtoMessage ¶
func (*C) ProtoMessage()
func (*C) SetMySize_ ¶ added in v1.4.9
func (*C) VerboseEqual ¶
func (*C) XXX_DiscardUnknown ¶ added in v1.1.0
func (m *C) XXX_DiscardUnknown()
func (*C) XXX_Marshal ¶ added in v1.1.0
func (*C) XXX_Unmarshal ¶ added in v1.1.0
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) MarshalToSizedBuffer ¶ added in v1.3.9
func (*CastType) ProtoMessage ¶
func (*CastType) ProtoMessage()
func (*CastType) VerboseEqual ¶
func (*CastType) XXX_DiscardUnknown ¶ added in v1.1.0
func (m *CastType) XXX_DiscardUnknown()
func (*CastType) XXX_Marshal ¶ added in v1.1.0
func (*CastType) XXX_Unmarshal ¶ added in v1.1.0
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) MarshalToSizedBuffer ¶ added in v1.3.9
func (*E) ProtoMessage ¶
func (*E) ProtoMessage()
func (*E) VerboseEqual ¶
func (*E) XXX_DiscardUnknown ¶ added in v1.1.0
func (m *E) XXX_DiscardUnknown()
func (*E) XXX_Marshal ¶ added in v1.1.0
func (*E) XXX_Unmarshal ¶ added in v1.1.0
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) MarshalToSizedBuffer ¶ added in v1.3.9
func (*R) ProtoMessage ¶
func (*R) ProtoMessage()
func (*R) SetRecognized_ ¶ added in v1.4.9
func (*R) VerboseEqual ¶
func (*R) XXX_DiscardUnknown ¶ added in v1.1.0
func (m *R) XXX_DiscardUnknown()
func (*R) XXX_Marshal ¶ added in v1.1.0
func (*R) XXX_Unmarshal ¶ added in v1.1.0
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) MarshalToSizedBuffer ¶ added in v1.3.9
func (*U) ProtoMessage ¶
func (*U) ProtoMessage()
func (*U) VerboseEqual ¶
func (*U) XXX_DiscardUnknown ¶ added in v1.1.0
func (m *U) XXX_DiscardUnknown()
func (*U) XXX_Marshal ¶ added in v1.1.0
func (*U) XXX_Unmarshal ¶ added in v1.1.0
 Click to show internal directories. 
   Click to hide internal directories.