Package typedeclall
import "github.com/gogo/protobuf/test/typedecl_all"
- Overview
- Index
- Variables
- type Dropped
- func NewPopulatedDropped(r randyTypedeclall, easy bool) *Dropped
- func (*Dropped) Descriptor() ([]byte, []int)
- func (d *Dropped) Drop() bool
- func (this *Dropped) Equal(that interface{}) bool
- func (m *Dropped) GetAge() int32
- func (m *Dropped) GetName() string
- func (m *Dropped) Marshal() (dAtA []byte, err error)
- func (d *Dropped) MarshalJSONPB(*jsonpb.Marshaler) ([]byte, error)
- func (m *Dropped) MarshalTo(dAtA []byte) (int, error)
- func (m *Dropped) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Dropped) ProtoMessage()
- func (m *Dropped) Reset()
- func (m *Dropped) Size() (n int)
- func (m *Dropped) String() string
- func (m *Dropped) Unmarshal(dAtA []byte) error
- func (d *Dropped) UnmarshalJSONPB(u *jsonpb.Unmarshaler, b []byte) error
- func (this *Dropped) VerboseEqual(that interface{}) error
- func (m *Dropped) XXX_DiscardUnknown()
- func (m *Dropped) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Dropped) XXX_Merge(src proto.Message)
- func (m *Dropped) XXX_Size() int
- func (m *Dropped) XXX_Unmarshal(b []byte) error
- type DroppedWithoutGetters
- func NewPopulatedDroppedWithoutGetters(r randyTypedeclall, easy bool) *DroppedWithoutGetters
- func (*DroppedWithoutGetters) Descriptor() ([]byte, []int)
- func (this *DroppedWithoutGetters) Equal(that interface{}) bool
- func (d *DroppedWithoutGetters) GetHeight() int64
- func (m *DroppedWithoutGetters) Marshal() (dAtA []byte, err error)
- func (d *DroppedWithoutGetters) MarshalJSONPB(*jsonpb.Marshaler) ([]byte, error)
- func (m *DroppedWithoutGetters) MarshalTo(dAtA []byte) (int, error)
- func (m *DroppedWithoutGetters) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DroppedWithoutGetters) ProtoMessage()
- func (m *DroppedWithoutGetters) Reset()
- func (m *DroppedWithoutGetters) Size() (n int)
- func (m *DroppedWithoutGetters) String() string
- func (m *DroppedWithoutGetters) Unmarshal(dAtA []byte) error
- func (d *DroppedWithoutGetters) UnmarshalJSONPB(u *jsonpb.Unmarshaler, b []byte) error
- func (this *DroppedWithoutGetters) VerboseEqual(that interface{}) error
- func (m *DroppedWithoutGetters) XXX_DiscardUnknown()
- func (m *DroppedWithoutGetters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DroppedWithoutGetters) XXX_Merge(src proto.Message)
- func (m *DroppedWithoutGetters) XXX_Size() int
- func (m *DroppedWithoutGetters) XXX_Unmarshal(b []byte) error
- type Kept
- func NewPopulatedKept(r randyTypedeclall, easy bool) *Kept
- func (*Kept) Descriptor() ([]byte, []int)
- func (this *Kept) Equal(that interface{}) bool
- func (m *Kept) GetAge() int32
- func (m *Kept) GetName() string
- func (m *Kept) Marshal() (dAtA []byte, err error)
- func (m *Kept) MarshalTo(dAtA []byte) (int, error)
- func (m *Kept) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Kept) ProtoMessage()
- func (m *Kept) Reset()
- func (m *Kept) Size() (n int)
- func (m *Kept) String() string
- func (m *Kept) Unmarshal(dAtA []byte) error
- func (this *Kept) VerboseEqual(that interface{}) error
- func (m *Kept) XXX_DiscardUnknown()
- func (m *Kept) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Kept) XXX_Merge(src proto.Message)
- func (m *Kept) XXX_Size() int
- func (m *Kept) XXX_Unmarshal(b []byte) error
Package files
models.go
typedeclall.pb.go
Variables
var (
ErrInvalidLengthTypedeclall = fmt.Errorf("proto: negative length found during unmarshaling")
ErrIntOverflowTypedeclall = fmt.Errorf("proto: integer overflow")
ErrUnexpectedEndOfGroupTypedeclall = fmt.Errorf("proto: unexpected end of group")
)
type Dropped struct {
Name string
Age int32
}
func NewPopulatedDropped(r randyTypedeclall, easy bool) *Dropped
func (*Dropped) Descriptor() ([]byte, []int)
func (*Dropped) Drop
¶
func (d *Dropped) Drop() bool
func (*Dropped) Equal
¶
func (this *Dropped) Equal(that interface{}) bool
func (*Dropped) GetAge
¶
func (m *Dropped) GetAge() int32
func (*Dropped) GetName
¶
func (m *Dropped) GetName() string
func (*Dropped) Marshal
¶
func (m *Dropped) Marshal() (dAtA []byte, err error)
func (d *Dropped) MarshalJSONPB(*jsonpb.Marshaler) ([]byte, error)
func (m *Dropped) MarshalTo(dAtA []byte) (int, error)
func (m *Dropped) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Dropped) ProtoMessage()
func (*Dropped) Reset
¶
func (m *Dropped) Reset()
func (*Dropped) Size
¶
func (m *Dropped) Size() (n int)
func (*Dropped) String
¶
func (m *Dropped) String() string
func (m *Dropped) Unmarshal(dAtA []byte) error
func (d *Dropped) UnmarshalJSONPB(u *jsonpb.Unmarshaler, b []byte) error
func (this *Dropped) VerboseEqual(that interface{}) error
func (m *Dropped) XXX_DiscardUnknown()
func (m *Dropped) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *Dropped) XXX_Merge(src proto.Message)
func (m *Dropped) XXX_Size() int
func (m *Dropped) XXX_Unmarshal(b []byte) error
type DroppedWithoutGetters struct {
Width int64
Height int64
}
func NewPopulatedDroppedWithoutGetters(r randyTypedeclall, easy bool) *DroppedWithoutGetters
func (*DroppedWithoutGetters) Descriptor
¶
func (*DroppedWithoutGetters) Descriptor() ([]byte, []int)
func (*DroppedWithoutGetters) Equal
¶
func (this *DroppedWithoutGetters) Equal(that interface{}) bool
func (*DroppedWithoutGetters) GetHeight
¶
func (d *DroppedWithoutGetters) GetHeight() int64
func (*DroppedWithoutGetters) Marshal
¶
func (m *DroppedWithoutGetters) Marshal() (dAtA []byte, err error)
func (*DroppedWithoutGetters) MarshalJSONPB
¶
func (d *DroppedWithoutGetters) MarshalJSONPB(*jsonpb.Marshaler) ([]byte, error)
func (*DroppedWithoutGetters) MarshalTo
¶
func (m *DroppedWithoutGetters) MarshalTo(dAtA []byte) (int, error)
func (m *DroppedWithoutGetters) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DroppedWithoutGetters) ProtoMessage
¶
func (*DroppedWithoutGetters) ProtoMessage()
func (*DroppedWithoutGetters) Reset
¶
func (m *DroppedWithoutGetters) Reset()
func (*DroppedWithoutGetters) Size
¶
func (m *DroppedWithoutGetters) Size() (n int)
func (*DroppedWithoutGetters) String
¶
func (m *DroppedWithoutGetters) String() string
func (*DroppedWithoutGetters) Unmarshal
¶
func (m *DroppedWithoutGetters) Unmarshal(dAtA []byte) error
func (d *DroppedWithoutGetters) UnmarshalJSONPB(u *jsonpb.Unmarshaler, b []byte) error
func (*DroppedWithoutGetters) VerboseEqual
¶
func (this *DroppedWithoutGetters) VerboseEqual(that interface{}) error
func (m *DroppedWithoutGetters) XXX_DiscardUnknown()
func (*DroppedWithoutGetters) XXX_Marshal
¶
func (m *DroppedWithoutGetters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DroppedWithoutGetters) XXX_Merge
¶
func (m *DroppedWithoutGetters) XXX_Merge(src proto.Message)
func (*DroppedWithoutGetters) XXX_Size
¶
func (m *DroppedWithoutGetters) XXX_Size() int
func (*DroppedWithoutGetters) XXX_Unmarshal
¶
func (m *DroppedWithoutGetters) XXX_Unmarshal(b []byte) error
type Kept struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Age int32 `protobuf:"varint,2,opt,name=age,proto3" json:"age,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func NewPopulatedKept(r randyTypedeclall, easy bool) *Kept
func (*Kept) Descriptor() ([]byte, []int)
func (*Kept) Equal
¶
func (this *Kept) Equal(that interface{}) bool
func (m *Kept) GetAge() int32
func (m *Kept) GetName() string
func (m *Kept) Marshal() (dAtA []byte, err error)
func (m *Kept) MarshalTo(dAtA []byte) (int, error)
func (m *Kept) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Kept) ProtoMessage()
func (*Kept) Reset
¶
func (m *Kept) Reset()
func (*Kept) Size
¶
func (m *Kept) Size() (n int)
func (m *Kept) String() string
func (m *Kept) Unmarshal(dAtA []byte) error
func (this *Kept) VerboseEqual(that interface{}) error
func (m *Kept) XXX_DiscardUnknown()
func (m *Kept) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *Kept) XXX_Merge(src proto.Message)
func (m *Kept) XXX_Size() int
func (m *Kept) XXX_Unmarshal(b []byte) error