Documentation ¶
Index ¶
- Variables
- type M
- func (*M) Descriptor() ([]byte, []int)
- func (this *M) Equal(that interface{}) bool
- func (m *M) Marshal() (dAtA []byte, err error)
- func (m *M) MarshalTo(dAtA []byte) (int, error)
- func (m *M) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*M) ProtoMessage()
- func (m *M) Reset()
- func (m *M) Size() (n int)
- func (m *M) String() string
- func (m *M) Unmarshal(dAtA []byte) error
- func (this *M) VerboseEqual(that interface{}) error
- func (m *M) XXX_DiscardUnknown()
- func (m *M) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *M) XXX_Merge(src proto.Message)
- func (m *M) XXX_Size() int
- func (m *M) XXX_Unmarshal(b []byte) error
- type MyType
- func (*MyType) Descriptor() ([]byte, []int)
- func (m MyType) DisabledMarshal() (data []byte, err error)
- func (this *MyType) Equal(that interface{}) bool
- func (m *MyType) MarshalTo(data []byte) (int, error)
- func (*MyType) ProtoMessage()
- func (m *MyType) Reset()
- func (m *MyType) Size() (n int)
- func (m *MyType) String() string
- func (m *MyType) Unmarshal(dAtA []byte) error
- func (this *MyType) VerboseEqual(that interface{}) error
- func (m *MyType) XXX_DiscardUnknown()
- func (m *MyType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MyType) XXX_Merge(src proto.Message)
- func (m *MyType) XXX_Size() int
- func (m *MyType) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type M ¶
type M struct { Arr []MyType `protobuf:"bytes,1,rep,name=arr,customtype=MyType" json:"arr"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedM ¶
func (*M) Descriptor ¶
func (*M) MarshalToSizedBuffer ¶ added in v1.3.9
func (*M) ProtoMessage ¶
func (*M) ProtoMessage()
func (*M) VerboseEqual ¶
func (*M) XXX_DiscardUnknown ¶ added in v1.1.0
func (m *M) XXX_DiscardUnknown()
func (*M) XXX_Marshal ¶ added in v1.1.0
func (*M) XXX_Unmarshal ¶ added in v1.1.0
type MyType ¶
type MyType struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedMyType ¶
func NewPopulatedMyType(r randyAsym) *MyType
func (*MyType) Descriptor ¶
func (MyType) DisabledMarshal ¶ added in v1.1.0
TODO: rename this to Marshal once https://github.com/coderyw/protobuf/issues/388 is fixed
func (*MyType) ProtoMessage ¶
func (*MyType) ProtoMessage()
func (*MyType) VerboseEqual ¶
func (*MyType) XXX_DiscardUnknown ¶ added in v1.1.0
func (m *MyType) XXX_DiscardUnknown()
func (*MyType) XXX_Marshal ¶ added in v1.1.0
func (*MyType) XXX_Unmarshal ¶ added in v1.1.0
Click to show internal directories.
Click to hide internal directories.