Documentation ¶
Index ¶
- type PBuffMarshal
- func (*PBuffMarshal) Descriptor() ([]byte, []int)
- func (m *PBuffMarshal) GetField1() []byte
- func (m *PBuffMarshal) GetField2() int32
- func (m *PBuffMarshal) IsNil() bool
- func (*PBuffMarshal) ProtoMessage()
- func (m *PBuffMarshal) Reset()
- func (m *PBuffMarshal) SetField1_(val []byte)
- func (m *PBuffMarshal) SetField2_(val int32)
- func (m *PBuffMarshal) String() string
- func (m *PBuffMarshal) XXX_DiscardUnknown()
- func (m *PBuffMarshal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PBuffMarshal) XXX_Merge(src proto.Message)
- func (m *PBuffMarshal) XXX_Size() int
- func (m *PBuffMarshal) XXX_Unmarshal(b []byte) error
- type PBuffMarshaler
- func (*PBuffMarshaler) Descriptor() ([]byte, []int)
- func (m *PBuffMarshaler) GetField1() []byte
- func (m *PBuffMarshaler) GetField2() int32
- func (m *PBuffMarshaler) IsNil() bool
- func (m *PBuffMarshaler) Marshal() (dAtA []byte, err error)
- func (m *PBuffMarshaler) MarshalTo(dAtA []byte) (int, error)
- func (m *PBuffMarshaler) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PBuffMarshaler) ProtoMessage()
- func (m *PBuffMarshaler) Reset()
- func (m *PBuffMarshaler) SetField1_(val []byte)
- func (m *PBuffMarshaler) SetField2_(val int32)
- func (m *PBuffMarshaler) Size() (n int)
- func (m *PBuffMarshaler) String() string
- func (m *PBuffMarshaler) XXX_DiscardUnknown()
- func (m *PBuffMarshaler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PBuffMarshaler) XXX_Merge(src proto.Message)
- func (m *PBuffMarshaler) XXX_Size() int
- func (m *PBuffMarshaler) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PBuffMarshal ¶
type PBuffMarshal struct { Field1 []byte `protobuf:"bytes,1,opt,name=Field1" json:"Field1,omitempty"` Field2 *int32 `protobuf:"varint,2,opt,name=Field2" json:"Field2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PBuffMarshal) Descriptor ¶
func (*PBuffMarshal) Descriptor() ([]byte, []int)
func (*PBuffMarshal) GetField1 ¶
func (m *PBuffMarshal) GetField1() []byte
func (*PBuffMarshal) GetField2 ¶
func (m *PBuffMarshal) GetField2() int32
func (*PBuffMarshal) IsNil ¶ added in v1.4.9
func (m *PBuffMarshal) IsNil() bool
func (*PBuffMarshal) ProtoMessage ¶
func (*PBuffMarshal) ProtoMessage()
func (*PBuffMarshal) Reset ¶
func (m *PBuffMarshal) Reset()
func (*PBuffMarshal) SetField1_ ¶ added in v1.4.9
func (m *PBuffMarshal) SetField1_(val []byte)
func (*PBuffMarshal) SetField2_ ¶ added in v1.4.9
func (m *PBuffMarshal) SetField2_(val int32)
func (*PBuffMarshal) String ¶
func (m *PBuffMarshal) String() string
func (*PBuffMarshal) XXX_DiscardUnknown ¶
func (m *PBuffMarshal) XXX_DiscardUnknown()
func (*PBuffMarshal) XXX_Marshal ¶
func (m *PBuffMarshal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PBuffMarshal) XXX_Merge ¶
func (m *PBuffMarshal) XXX_Merge(src proto.Message)
func (*PBuffMarshal) XXX_Size ¶
func (m *PBuffMarshal) XXX_Size() int
func (*PBuffMarshal) XXX_Unmarshal ¶
func (m *PBuffMarshal) XXX_Unmarshal(b []byte) error
type PBuffMarshaler ¶
type PBuffMarshaler struct { Field1 []byte `protobuf:"bytes,1,opt,name=Field1" json:"Field1,omitempty"` Field2 *int32 `protobuf:"varint,2,opt,name=Field2" json:"Field2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PBuffMarshaler) Descriptor ¶
func (*PBuffMarshaler) Descriptor() ([]byte, []int)
func (*PBuffMarshaler) GetField1 ¶
func (m *PBuffMarshaler) GetField1() []byte
func (*PBuffMarshaler) GetField2 ¶
func (m *PBuffMarshaler) GetField2() int32
func (*PBuffMarshaler) IsNil ¶ added in v1.4.9
func (m *PBuffMarshaler) IsNil() bool
func (*PBuffMarshaler) Marshal ¶
func (m *PBuffMarshaler) Marshal() (dAtA []byte, err error)
func (*PBuffMarshaler) MarshalToSizedBuffer ¶
func (m *PBuffMarshaler) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PBuffMarshaler) ProtoMessage ¶
func (*PBuffMarshaler) ProtoMessage()
func (*PBuffMarshaler) Reset ¶
func (m *PBuffMarshaler) Reset()
func (*PBuffMarshaler) SetField1_ ¶ added in v1.4.9
func (m *PBuffMarshaler) SetField1_(val []byte)
func (*PBuffMarshaler) SetField2_ ¶ added in v1.4.9
func (m *PBuffMarshaler) SetField2_(val int32)
func (*PBuffMarshaler) Size ¶
func (m *PBuffMarshaler) Size() (n int)
func (*PBuffMarshaler) String ¶
func (m *PBuffMarshaler) String() string
func (*PBuffMarshaler) XXX_DiscardUnknown ¶
func (m *PBuffMarshaler) XXX_DiscardUnknown()
func (*PBuffMarshaler) XXX_Marshal ¶
func (m *PBuffMarshaler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PBuffMarshaler) XXX_Merge ¶
func (m *PBuffMarshaler) XXX_Merge(src proto.Message)
func (*PBuffMarshaler) XXX_Size ¶
func (m *PBuffMarshaler) XXX_Size() int
func (*PBuffMarshaler) XXX_Unmarshal ¶
func (m *PBuffMarshaler) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.