var ( ErrInvalidLengthAsym = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAsym = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupAsym = fmt.Errorf("proto: unexpected end of group") )
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(r randyAsym, easy bool) *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 struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func NewPopulatedMyType(r randyAsym) *MyType
func (*MyType) Descriptor() ([]byte, []int)
func (m MyType) DisabledMarshal() (data []byte, err error)
TODO: rename this to Marshal once https://github.com/gogo/protobuf/issues/388 is fixed
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