Documentation ¶
Index ¶
- Variables
- type CustomType
- type Object
- func (*Object) Descriptor() ([]byte, []int)
- func (*Object) ProtoMessage()
- func (m *Object) Reset()
- func (m *Object) String() string
- func (m *Object) Unmarshal(dAtA []byte) error
- func (m *Object) XXX_DiscardUnknown()
- func (m *Object) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Object) XXX_Merge(src proto.Message)
- func (m *Object) XXX_Size() int
- func (m *Object) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthProto = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowProto = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type CustomType ¶
type CustomType int
func (*CustomType) Unmarshal ¶
func (c *CustomType) Unmarshal(data []byte) error
type Object ¶
type Object struct { CustomField1 *CustomType `protobuf:"bytes,1,opt,name=CustomField1,customtype=CustomType" json:"CustomField1,omitempty"` CustomField2 []CustomType `protobuf:"bytes,2,rep,name=CustomField2,customtype=CustomType" json:"CustomField2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Object) Descriptor ¶
func (*Object) ProtoMessage ¶
func (*Object) ProtoMessage()
func (*Object) XXX_DiscardUnknown ¶ added in v1.1.1
func (m *Object) XXX_DiscardUnknown()
func (*Object) XXX_Marshal ¶ added in v1.1.1
func (*Object) XXX_Unmarshal ¶ added in v1.1.1
Click to show internal directories.
Click to hide internal directories.