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

issue503

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthIssue503        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowIssue503          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupIssue503 = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type Foo

type Foo struct {
	Num1                 []int64  `protobuf:"varint,1,rep,packed,name=num1,proto3" json:"num1,omitempty"`
	Num2                 []int32  `protobuf:"varint,2,rep,packed,name=num2,proto3" json:"num2,omitempty"`
	Str1                 []string `protobuf:"bytes,3,rep,name=str1,proto3" json:"str1,omitempty"`
	Dat1                 [][]byte `protobuf:"bytes,4,rep,name=dat1,proto3" json:"dat1,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedFoo

func NewPopulatedFoo(r randyIssue503, easy bool) *Foo

func (*Foo) Descriptor

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

func (*Foo) Equal

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

func (*Foo) GetDat1

func (m *Foo) GetDat1() [][]byte

func (*Foo) GetNum1

func (m *Foo) GetNum1() []int64

func (*Foo) GetNum2

func (m *Foo) GetNum2() []int32

func (*Foo) GetStr1

func (m *Foo) GetStr1() []string

func (*Foo) Marshal

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

func (*Foo) MarshalTo

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

func (*Foo) MarshalToSizedBuffer added in v1.3.0

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

func (*Foo) ProtoMessage

func (*Foo) ProtoMessage()

func (*Foo) Reset

func (m *Foo) Reset()

func (*Foo) Size

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

func (*Foo) String

func (m *Foo) String() string

func (*Foo) Unmarshal

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

func (*Foo) VerboseEqual

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

func (*Foo) XXX_DiscardUnknown

func (m *Foo) XXX_DiscardUnknown()

func (*Foo) XXX_Marshal

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

func (*Foo) XXX_Merge

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

func (*Foo) XXX_Size

func (m *Foo) XXX_Size() int

func (*Foo) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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