Package int64support
import "github.com/gogo/protobuf/test/int64support"
- Overview
- Index
Variables
var (
ErrInvalidLengthObject = fmt.Errorf("proto: negative length found during unmarshaling")
ErrIntOverflowObject = fmt.Errorf("proto: integer overflow")
ErrUnexpectedEndOfGroupObject = fmt.Errorf("proto: unexpected end of group")
)
type Object struct {
OptionalNumber *int64 `protobuf:"varint,1,opt,name=optional_number,json=optionalNumber" json:"optional_number,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func NewPopulatedObject(r randyObject, easy bool) *Object
func (*Object) Descriptor() ([]byte, []int)
func (*Object) Equal
¶
func (this *Object) Equal(that interface{}) bool
func (m *Object) GetOptionalNumber() int64
func (this *Object) GoString() string
func (m *Object) Marshal() (dAtA []byte, err error)
func (m *Object) MarshalTo(dAtA []byte) (int, error)
func (m *Object) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Object) ProtoMessage()
func (*Object) Reset
¶
func (m *Object) Reset()
func (*Object) Size
¶
func (m *Object) Size() (n int)
func (*Object) String
¶
func (this *Object) String() string
func (m *Object) Unmarshal(dAtA []byte) error
func (this *Object) VerboseEqual(that interface{}) error
func (m *Object) XXX_DiscardUnknown()
func (m *Object) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *Object) XXX_Merge(src proto.Message)
func (m *Object) XXX_Size() int
func (m *Object) XXX_Unmarshal(b []byte) error