Help us shape the future of Go! Take the 2026 Go Developer Survey

unrecognized

package
v1.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2021 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthUnrecognized        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowUnrecognized          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupUnrecognized = fmt.Errorf("proto: unexpected end of group")
)

Functions

Types

type A

type A struct {
	Field1               *int64   `protobuf:"varint,2,opt,name=Field1" json:"Field1,omitempty"`
	B                    []*B     `protobuf:"bytes,1,rep,name=B" json:"B,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedA

func NewPopulatedA(r randyUnrecognized, easy bool) *A

func (*A) Descriptor

func (*A) Descriptor() ([]byte, []int)

func (*A) Equal

func (this *A) Equal(that interface{}) bool

func (*A) GoString

func (this *A) GoString() string

func (*A) Marshal

func (m *A) Marshal() (dAtA []byte, err error)

func (*A) MarshalTo

func (m *A) MarshalTo(dAtA []byte) (int, error)

func (*A) MarshalToSizedBuffer added in v1.3.0

func (m *A) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*A) ProtoMessage

func (*A) ProtoMessage()

func (*A) Reset

func (m *A) Reset()

func (*A) Size

func (m *A) Size() (n int)

func (*A) String

func (this *A) String() string

func (*A) Unmarshal

func (m *A) Unmarshal(dAtA []byte) error

func (*A) VerboseEqual

func (this *A) VerboseEqual(that interface{}) error

func (*A) XXX_DiscardUnknown added in v1.1.0

func (m *A) XXX_DiscardUnknown()

func (*A) XXX_Marshal added in v1.1.0

func (m *A) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*A) XXX_Merge added in v1.1.0

func (m *A) XXX_Merge(src proto.Message)

func (*A) XXX_Size added in v1.1.0

func (m *A) XXX_Size() int

func (*A) XXX_Unmarshal added in v1.1.0

func (m *A) XXX_Unmarshal(b []byte) error

type B

type B struct {
	C                    *C       `protobuf:"bytes,1,opt,name=C" json:"C,omitempty"`
	D                    *D       `protobuf:"bytes,2,opt,name=D" json:"D,omitempty"`
	F                    *OldC    `protobuf:"bytes,5,opt,name=F" json:"F,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedB

func NewPopulatedB(r randyUnrecognized, easy bool) *B

func (*B) Descriptor

func (*B) Descriptor() ([]byte, []int)

func (*B) Equal

func (this *B) Equal(that interface{}) bool

func (*B) GoString

func (this *B) GoString() string

func (*B) Marshal

func (m *B) Marshal() (dAtA []byte, err error)

func (*B) MarshalTo

func (m *B) MarshalTo(dAtA []byte) (int, error)

func (*B) MarshalToSizedBuffer added in v1.3.0

func (m *B) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*B) ProtoMessage

func (*B) ProtoMessage()

func (*B) Reset

func (m *B) Reset()

func (*B) Size

func (m *B) Size() (n int)

func (*B) String

func (this *B) String() string

func (*B) Unmarshal

func (m *B) Unmarshal(dAtA []byte) error

func (*B) VerboseEqual

func (this *B) VerboseEqual(that interface{}) error

func (*B) XXX_DiscardUnknown added in v1.1.0

func (m *B) XXX_DiscardUnknown()

func (*B) XXX_Marshal added in v1.1.0

func (m *B) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*B) XXX_Merge added in v1.1.0

func (m *B) XXX_Merge(src proto.Message)

func (*B) XXX_Size added in v1.1.0

func (m *B) XXX_Size() int

func (*B) XXX_Unmarshal added in v1.1.0

func (m *B) XXX_Unmarshal(b []byte) error

type C

type C struct {
	Field2               *float64  `protobuf:"fixed64,2,opt,name=Field2" json:"Field2,omitempty"`
	Field3               *string   `protobuf:"bytes,3,opt,name=Field3" json:"Field3,omitempty"`
	Field4               *float64  `protobuf:"fixed64,4,opt,name=Field4" json:"Field4,omitempty"`
	Field5               [][]byte  `protobuf:"bytes,5,rep,name=Field5" json:"Field5,omitempty"`
	Field6               *int64    `protobuf:"varint,6,opt,name=Field6" json:"Field6,omitempty"`
	Field7               []float32 `protobuf:"fixed32,7,rep,name=Field7" json:"Field7,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func NewPopulatedC

func NewPopulatedC(r randyUnrecognized, easy bool) *C

func (*C) Descriptor

func (*C) Descriptor() ([]byte, []int)

func (*C) Equal

func (this *C) Equal(that interface{}) bool

func (*C) GoString

func (this *C) GoString() string

func (*C) Marshal

func (m *C) Marshal() (dAtA []byte, err error)

func (*C) MarshalTo

func (m *C) MarshalTo(dAtA []byte) (int, error)

func (*C) MarshalToSizedBuffer added in v1.3.0

func (m *C) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*C) ProtoMessage

func (*C) ProtoMessage()

func (*C) Reset

func (m *C) Reset()

func (*C) Size

func (m *C) Size() (n int)

func (*C) String

func (this *C) String() string

func (*C) Unmarshal

func (m *C) Unmarshal(dAtA []byte) error

func (*C) VerboseEqual

func (this *C) VerboseEqual(that interface{}) error

func (*C) XXX_DiscardUnknown added in v1.1.0

func (m *C) XXX_DiscardUnknown()

func (*C) XXX_Marshal added in v1.1.0

func (m *C) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*C) XXX_Merge added in v1.1.0

func (m *C) XXX_Merge(src proto.Message)

func (*C) XXX_Size added in v1.1.0

func (m *C) XXX_Size() int

func (*C) XXX_Unmarshal added in v1.1.0

func (m *C) XXX_Unmarshal(b []byte) error

type D

type D struct {
	Field1               *int64   `protobuf:"varint,1,opt,name=Field1" json:"Field1,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedD

func NewPopulatedD(r randyUnrecognized, easy bool) *D

func (*D) Descriptor

func (*D) Descriptor() ([]byte, []int)

func (*D) Equal

func (this *D) Equal(that interface{}) bool

func (*D) GoString

func (this *D) GoString() string

func (*D) Marshal

func (m *D) Marshal() (dAtA []byte, err error)

func (*D) MarshalTo

func (m *D) MarshalTo(dAtA []byte) (int, error)

func (*D) MarshalToSizedBuffer added in v1.3.0

func (m *D) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*D) ProtoMessage

func (*D) ProtoMessage()

func (*D) Reset

func (m *D) Reset()

func (*D) Size

func (m *D) Size() (n int)

func (*D) String

func (this *D) String() string

func (*D) Unmarshal

func (m *D) Unmarshal(dAtA []byte) error

func (*D) VerboseEqual

func (this *D) VerboseEqual(that interface{}) error

func (*D) XXX_DiscardUnknown added in v1.1.0

func (m *D) XXX_DiscardUnknown()

func (*D) XXX_Marshal added in v1.1.0

func (m *D) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*D) XXX_Merge added in v1.1.0

func (m *D) XXX_Merge(src proto.Message)

func (*D) XXX_Size added in v1.1.0

func (m *D) XXX_Size() int

func (*D) XXX_Unmarshal added in v1.1.0

func (m *D) XXX_Unmarshal(b []byte) error

type OldA

type OldA struct {
	Field1               *int64   `protobuf:"varint,2,opt,name=Field1" json:"Field1,omitempty"`
	B                    []*OldB  `protobuf:"bytes,1,rep,name=B" json:"B,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedOldA

func NewPopulatedOldA(r randyUnrecognized, easy bool) *OldA

func (*OldA) Descriptor

func (*OldA) Descriptor() ([]byte, []int)

func (*OldA) Equal

func (this *OldA) Equal(that interface{}) bool

func (*OldA) GoString

func (this *OldA) GoString() string

func (*OldA) Marshal

func (m *OldA) Marshal() (dAtA []byte, err error)

func (*OldA) MarshalTo

func (m *OldA) MarshalTo(dAtA []byte) (int, error)

func (*OldA) MarshalToSizedBuffer added in v1.3.0

func (m *OldA) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OldA) ProtoMessage

func (*OldA) ProtoMessage()

func (*OldA) Reset

func (m *OldA) Reset()

func (*OldA) Size

func (m *OldA) Size() (n int)

func (*OldA) String

func (this *OldA) String() string

func (*OldA) Unmarshal

func (m *OldA) Unmarshal(dAtA []byte) error

func (*OldA) VerboseEqual

func (this *OldA) VerboseEqual(that interface{}) error

func (*OldA) XXX_DiscardUnknown added in v1.1.0

func (m *OldA) XXX_DiscardUnknown()

func (*OldA) XXX_Marshal added in v1.1.0

func (m *OldA) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OldA) XXX_Merge added in v1.1.0

func (m *OldA) XXX_Merge(src proto.Message)

func (*OldA) XXX_Size added in v1.1.0

func (m *OldA) XXX_Size() int

func (*OldA) XXX_Unmarshal added in v1.1.0

func (m *OldA) XXX_Unmarshal(b []byte) error

type OldB

type OldB struct {
	C                    *OldC    `protobuf:"bytes,1,opt,name=C" json:"C,omitempty"`
	F                    *OldC    `protobuf:"bytes,5,opt,name=F" json:"F,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedOldB

func NewPopulatedOldB(r randyUnrecognized, easy bool) *OldB

func (*OldB) Descriptor

func (*OldB) Descriptor() ([]byte, []int)

func (*OldB) Equal

func (this *OldB) Equal(that interface{}) bool

func (*OldB) GoString

func (this *OldB) GoString() string

func (*OldB) Marshal

func (m *OldB) Marshal() (dAtA []byte, err error)

func (*OldB) MarshalTo

func (m *OldB) MarshalTo(dAtA []byte) (int, error)

func (*OldB) MarshalToSizedBuffer added in v1.3.0

func (m *OldB) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OldB) ProtoMessage

func (*OldB) ProtoMessage()

func (*OldB) Reset

func (m *OldB) Reset()

func (*OldB) Size

func (m *OldB) Size() (n int)

func (*OldB) String

func (this *OldB) String() string

func (*OldB) Unmarshal

func (m *OldB) Unmarshal(dAtA []byte) error

func (*OldB) VerboseEqual

func (this *OldB) VerboseEqual(that interface{}) error

func (*OldB) XXX_DiscardUnknown added in v1.1.0

func (m *OldB) XXX_DiscardUnknown()

func (*OldB) XXX_Marshal added in v1.1.0

func (m *OldB) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OldB) XXX_Merge added in v1.1.0

func (m *OldB) XXX_Merge(src proto.Message)

func (*OldB) XXX_Size added in v1.1.0

func (m *OldB) XXX_Size() int

func (*OldB) XXX_Unmarshal added in v1.1.0

func (m *OldB) XXX_Unmarshal(b []byte) error

type OldC

type OldC struct {
	Field1               *int64    `protobuf:"varint,1,opt,name=Field1" json:"Field1,omitempty"`
	Field2               *float64  `protobuf:"fixed64,2,opt,name=Field2" json:"Field2,omitempty"`
	Field3               *string   `protobuf:"bytes,3,opt,name=Field3" json:"Field3,omitempty"`
	Field6               *int64    `protobuf:"varint,6,opt,name=Field6" json:"Field6,omitempty"`
	Field7               []float32 `protobuf:"fixed32,7,rep,name=Field7" json:"Field7,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func NewPopulatedOldC

func NewPopulatedOldC(r randyUnrecognized, easy bool) *OldC

func (*OldC) Descriptor

func (*OldC) Descriptor() ([]byte, []int)

func (*OldC) Equal

func (this *OldC) Equal(that interface{}) bool

func (*OldC) GoString

func (this *OldC) GoString() string

func (*OldC) Marshal

func (m *OldC) Marshal() (dAtA []byte, err error)

func (*OldC) MarshalTo

func (m *OldC) MarshalTo(dAtA []byte) (int, error)

func (*OldC) MarshalToSizedBuffer added in v1.3.0

func (m *OldC) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OldC) ProtoMessage

func (*OldC) ProtoMessage()

func (*OldC) Reset

func (m *OldC) Reset()

func (*OldC) Size

func (m *OldC) Size() (n int)

func (*OldC) String

func (this *OldC) String() string

func (*OldC) Unmarshal

func (m *OldC) Unmarshal(dAtA []byte) error

func (*OldC) VerboseEqual

func (this *OldC) VerboseEqual(that interface{}) error

func (*OldC) XXX_DiscardUnknown added in v1.1.0

func (m *OldC) XXX_DiscardUnknown()

func (*OldC) XXX_Marshal added in v1.1.0

func (m *OldC) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OldC) XXX_Merge added in v1.1.0

func (m *OldC) XXX_Merge(src proto.Message)

func (*OldC) XXX_Size added in v1.1.0

func (m *OldC) XXX_Size() int

func (*OldC) XXX_Unmarshal added in v1.1.0

func (m *OldC) XXX_Unmarshal(b []byte) error

type OldU

type OldU struct {
	Field1               *string   `protobuf:"bytes,1,opt,name=Field1" json:"Field1,omitempty"`
	Field2               []float64 `protobuf:"fixed64,2,rep,name=Field2" json:"Field2,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func NewPopulatedOldU

func NewPopulatedOldU(r randyUnrecognized, easy bool) *OldU

func (*OldU) Descriptor

func (*OldU) Descriptor() ([]byte, []int)

func (*OldU) Equal

func (this *OldU) Equal(that interface{}) bool

func (*OldU) GoString

func (this *OldU) GoString() string

func (*OldU) Marshal

func (m *OldU) Marshal() (dAtA []byte, err error)

func (*OldU) MarshalTo

func (m *OldU) MarshalTo(dAtA []byte) (int, error)

func (*OldU) MarshalToSizedBuffer added in v1.3.0

func (m *OldU) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OldU) ProtoMessage

func (*OldU) ProtoMessage()

func (*OldU) Reset

func (m *OldU) Reset()

func (*OldU) Size

func (m *OldU) Size() (n int)

func (*OldU) String

func (this *OldU) String() string

func (*OldU) Unmarshal

func (m *OldU) Unmarshal(dAtA []byte) error

func (*OldU) VerboseEqual

func (this *OldU) VerboseEqual(that interface{}) error

func (*OldU) XXX_DiscardUnknown added in v1.1.0

func (m *OldU) XXX_DiscardUnknown()

func (*OldU) XXX_Marshal added in v1.1.0

func (m *OldU) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OldU) XXX_Merge added in v1.1.0

func (m *OldU) XXX_Merge(src proto.Message)

func (*OldU) XXX_Size added in v1.1.0

func (m *OldU) XXX_Size() int

func (*OldU) XXX_Unmarshal added in v1.1.0

func (m *OldU) XXX_Unmarshal(b []byte) error

type OldUnoM

type OldUnoM struct {
	Field1               *string   `protobuf:"bytes,1,opt,name=Field1" json:"Field1,omitempty"`
	Field2               []float64 `protobuf:"fixed64,2,rep,name=Field2" json:"Field2,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func NewPopulatedOldUnoM

func NewPopulatedOldUnoM(r randyUnrecognized, easy bool) *OldUnoM

func (*OldUnoM) Descriptor

func (*OldUnoM) Descriptor() ([]byte, []int)

func (*OldUnoM) Equal

func (this *OldUnoM) Equal(that interface{}) bool

func (*OldUnoM) GoString

func (this *OldUnoM) GoString() string

func (*OldUnoM) ProtoMessage

func (*OldUnoM) ProtoMessage()

func (*OldUnoM) Reset

func (m *OldUnoM) Reset()

func (*OldUnoM) String

func (this *OldUnoM) String() string

func (*OldUnoM) VerboseEqual

func (this *OldUnoM) VerboseEqual(that interface{}) error

func (*OldUnoM) XXX_DiscardUnknown added in v1.1.0

func (m *OldUnoM) XXX_DiscardUnknown()

func (*OldUnoM) XXX_Marshal added in v1.1.0

func (m *OldUnoM) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OldUnoM) XXX_Merge added in v1.1.0

func (m *OldUnoM) XXX_Merge(src proto.Message)

func (*OldUnoM) XXX_Size added in v1.1.0

func (m *OldUnoM) XXX_Size() int

func (*OldUnoM) XXX_Unmarshal added in v1.1.0

func (m *OldUnoM) XXX_Unmarshal(b []byte) error

type U

type U struct {
	Field2               []float64 `protobuf:"fixed64,2,rep,name=Field2" json:"Field2,omitempty"`
	Field3               *uint32   `protobuf:"varint,3,opt,name=Field3" json:"Field3,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func NewPopulatedU

func NewPopulatedU(r randyUnrecognized, easy bool) *U

func (*U) Descriptor

func (*U) Descriptor() ([]byte, []int)

func (*U) Equal

func (this *U) Equal(that interface{}) bool

func (*U) GoString

func (this *U) GoString() string

func (*U) Marshal

func (m *U) Marshal() (dAtA []byte, err error)

func (*U) MarshalTo

func (m *U) MarshalTo(dAtA []byte) (int, error)

func (*U) MarshalToSizedBuffer added in v1.3.0

func (m *U) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*U) ProtoMessage

func (*U) ProtoMessage()

func (*U) Reset

func (m *U) Reset()

func (*U) Size

func (m *U) Size() (n int)

func (*U) String

func (this *U) String() string

func (*U) Unmarshal

func (m *U) Unmarshal(dAtA []byte) error

func (*U) VerboseEqual

func (this *U) VerboseEqual(that interface{}) error

func (*U) XXX_DiscardUnknown added in v1.1.0

func (m *U) XXX_DiscardUnknown()

func (*U) XXX_Marshal added in v1.1.0

func (m *U) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*U) XXX_Merge added in v1.1.0

func (m *U) XXX_Merge(src proto.Message)

func (*U) XXX_Size added in v1.1.0

func (m *U) XXX_Size() int

func (*U) XXX_Unmarshal added in v1.1.0

func (m *U) XXX_Unmarshal(b []byte) error

type UnoM

type UnoM struct {
	Field2               []float64 `protobuf:"fixed64,2,rep,name=Field2" json:"Field2,omitempty"`
	Field3               *uint32   `protobuf:"varint,3,opt,name=Field3" json:"Field3,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func NewPopulatedUnoM

func NewPopulatedUnoM(r randyUnrecognized, easy bool) *UnoM

func (*UnoM) Descriptor

func (*UnoM) Descriptor() ([]byte, []int)

func (*UnoM) Equal

func (this *UnoM) Equal(that interface{}) bool

func (*UnoM) GoString

func (this *UnoM) GoString() string

func (*UnoM) ProtoMessage

func (*UnoM) ProtoMessage()

func (*UnoM) Reset

func (m *UnoM) Reset()

func (*UnoM) String

func (this *UnoM) String() string

func (*UnoM) VerboseEqual

func (this *UnoM) VerboseEqual(that interface{}) error

func (*UnoM) XXX_DiscardUnknown added in v1.1.0

func (m *UnoM) XXX_DiscardUnknown()

func (*UnoM) XXX_Marshal added in v1.1.0

func (m *UnoM) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnoM) XXX_Merge added in v1.1.0

func (m *UnoM) XXX_Merge(src proto.Message)

func (*UnoM) XXX_Size added in v1.1.0

func (m *UnoM) XXX_Size() int

func (*UnoM) XXX_Unmarshal added in v1.1.0

func (m *UnoM) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL