testcase

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthTestcase        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTestcase          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTestcase = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type List

type List struct {
	Field1  []int32   `protobuf:"varint,1,rep,packed,name=field1,proto3" json:"field1,omitempty"`
	Field2  []int64   `protobuf:"varint,2,rep,packed,name=field2,proto3" json:"field2,omitempty"`
	Field3  []uint32  `protobuf:"varint,3,rep,packed,name=field3,proto3" json:"field3,omitempty"`
	Field4  []uint64  `protobuf:"varint,4,rep,packed,name=field4,proto3" json:"field4,omitempty"`
	Field5  []int32   `protobuf:"zigzag32,5,rep,packed,name=field5,proto3" json:"field5,omitempty"`
	Field6  []int64   `protobuf:"zigzag64,6,rep,packed,name=field6,proto3" json:"field6,omitempty"`
	Field7  []bool    `protobuf:"varint,7,rep,packed,name=field7,proto3" json:"field7,omitempty"`
	Field8  []float32 `protobuf:"fixed32,8,rep,packed,name=field8,proto3" json:"field8,omitempty"`
	Field9  []float64 `protobuf:"fixed64,9,rep,packed,name=field9,proto3" json:"field9,omitempty"`
	Field10 []uint32  `protobuf:"fixed32,10,rep,packed,name=field10,proto3" json:"field10,omitempty"`
	Field11 []uint64  `protobuf:"fixed64,11,rep,packed,name=field11,proto3" json:"field11,omitempty"`
	Field12 []int32   `protobuf:"fixed32,12,rep,packed,name=field12,proto3" json:"field12,omitempty"`
	Field13 []int64   `protobuf:"fixed64,13,rep,packed,name=field13,proto3" json:"field13,omitempty"`
	Field14 []string  `protobuf:"bytes,14,rep,name=field14,proto3" json:"field14,omitempty"`
	Field15 [][]byte  `protobuf:"bytes,15,rep,name=field15,proto3" json:"field15,omitempty"`
}

func (*List) Descriptor

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

func (*List) GetField1

func (m *List) GetField1() []int32

func (*List) GetField10

func (m *List) GetField10() []uint32

func (*List) GetField11

func (m *List) GetField11() []uint64

func (*List) GetField12

func (m *List) GetField12() []int32

func (*List) GetField13

func (m *List) GetField13() []int64

func (*List) GetField14

func (m *List) GetField14() []string

func (*List) GetField15

func (m *List) GetField15() [][]byte

func (*List) GetField2

func (m *List) GetField2() []int64

func (*List) GetField3

func (m *List) GetField3() []uint32

func (*List) GetField4

func (m *List) GetField4() []uint64

func (*List) GetField5

func (m *List) GetField5() []int32

func (*List) GetField6

func (m *List) GetField6() []int64

func (*List) GetField7

func (m *List) GetField7() []bool

func (*List) GetField8

func (m *List) GetField8() []float32

func (*List) GetField9

func (m *List) GetField9() []float64

func (*List) Marshal

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

func (*List) MarshalTo

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

func (*List) MarshalToSizedBuffer

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

func (*List) ProtoMessage

func (*List) ProtoMessage()

func (*List) Reset

func (m *List) Reset()

func (*List) Size

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

func (*List) String

func (m *List) String() string

func (*List) Unmarshal

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

func (*List) XXX_DiscardUnknown

func (m *List) XXX_DiscardUnknown()

func (*List) XXX_Marshal

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

func (*List) XXX_Merge

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

func (*List) XXX_Size

func (m *List) XXX_Size() int

func (*List) XXX_Unmarshal

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

type Map

type Map struct {
	Field1 map[int32]int64   `` /* 155-byte string literal not displayed */
	Field2 map[uint32]uint64 `` /* 155-byte string literal not displayed */
	Field3 map[int32]int64   `` /* 159-byte string literal not displayed */
	Field4 map[uint32]uint64 `` /* 157-byte string literal not displayed */
	Field5 map[int32]int64   `` /* 157-byte string literal not displayed */
	Field6 map[string][]byte `` /* 153-byte string literal not displayed */
}

func (*Map) Descriptor

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

func (*Map) GetField1

func (m *Map) GetField1() map[int32]int64

func (*Map) GetField2

func (m *Map) GetField2() map[uint32]uint64

func (*Map) GetField3

func (m *Map) GetField3() map[int32]int64

func (*Map) GetField4

func (m *Map) GetField4() map[uint32]uint64

func (*Map) GetField5

func (m *Map) GetField5() map[int32]int64

func (*Map) GetField6

func (m *Map) GetField6() map[string][]byte

func (*Map) Marshal

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

func (*Map) MarshalTo

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

func (*Map) MarshalToSizedBuffer

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

func (*Map) ProtoMessage

func (*Map) ProtoMessage()

func (*Map) Reset

func (m *Map) Reset()

func (*Map) Size

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

func (*Map) String

func (m *Map) String() string

func (*Map) Unmarshal

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

func (*Map) XXX_DiscardUnknown

func (m *Map) XXX_DiscardUnknown()

func (*Map) XXX_Marshal

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

func (*Map) XXX_Merge

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

func (*Map) XXX_Size

func (m *Map) XXX_Size() int

func (*Map) XXX_Unmarshal

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

type Number

type Number struct {
	Field1  int32   `protobuf:"varint,1,opt,name=field1,proto3" json:"field1,omitempty"`
	Field2  int64   `protobuf:"varint,2,opt,name=field2,proto3" json:"field2,omitempty"`
	Field3  uint32  `protobuf:"varint,3,opt,name=field3,proto3" json:"field3,omitempty"`
	Field4  uint64  `protobuf:"varint,4,opt,name=field4,proto3" json:"field4,omitempty"`
	Field5  int32   `protobuf:"zigzag32,5,opt,name=field5,proto3" json:"field5,omitempty"`
	Field6  int64   `protobuf:"zigzag64,6,opt,name=field6,proto3" json:"field6,omitempty"`
	Field7  bool    `protobuf:"varint,7,opt,name=field7,proto3" json:"field7,omitempty"`
	Field8  float32 `protobuf:"fixed32,8,opt,name=field8,proto3" json:"field8,omitempty"`
	Field9  float64 `protobuf:"fixed64,9,opt,name=field9,proto3" json:"field9,omitempty"`
	Field10 uint32  `protobuf:"fixed32,10,opt,name=field10,proto3" json:"field10,omitempty"`
	Field11 uint64  `protobuf:"fixed64,11,opt,name=field11,proto3" json:"field11,omitempty"`
	Field12 int32   `protobuf:"fixed32,12,opt,name=field12,proto3" json:"field12,omitempty"`
	Field13 int64   `protobuf:"fixed64,13,opt,name=field13,proto3" json:"field13,omitempty"`
}

func (*Number) Descriptor

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

func (*Number) GetField1

func (m *Number) GetField1() int32

func (*Number) GetField10

func (m *Number) GetField10() uint32

func (*Number) GetField11

func (m *Number) GetField11() uint64

func (*Number) GetField12

func (m *Number) GetField12() int32

func (*Number) GetField13

func (m *Number) GetField13() int64

func (*Number) GetField2

func (m *Number) GetField2() int64

func (*Number) GetField3

func (m *Number) GetField3() uint32

func (*Number) GetField4

func (m *Number) GetField4() uint64

func (*Number) GetField5

func (m *Number) GetField5() int32

func (*Number) GetField6

func (m *Number) GetField6() int64

func (*Number) GetField7

func (m *Number) GetField7() bool

func (*Number) GetField8

func (m *Number) GetField8() float32

func (*Number) GetField9

func (m *Number) GetField9() float64

func (*Number) Marshal

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

func (*Number) MarshalTo

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

func (*Number) MarshalToSizedBuffer

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

func (*Number) ProtoMessage

func (*Number) ProtoMessage()

func (*Number) Reset

func (m *Number) Reset()

func (*Number) Size

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

func (*Number) String

func (m *Number) String() string

func (*Number) Unmarshal

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

func (*Number) XXX_DiscardUnknown

func (m *Number) XXX_DiscardUnknown()

func (*Number) XXX_Marshal

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

func (*Number) XXX_Merge

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

func (*Number) XXX_Size

func (m *Number) XXX_Size() int

func (*Number) XXX_Unmarshal

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

type String

type String struct {
	Field1 string `protobuf:"bytes,1,opt,name=field1,proto3" json:"field1,omitempty"`
	Field2 []byte `protobuf:"bytes,2,opt,name=field2,proto3" json:"field2,omitempty"`
}

func (*String) Descriptor

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

func (*String) GetField1

func (m *String) GetField1() string

func (*String) GetField2

func (m *String) GetField2() []byte

func (*String) Marshal

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

func (*String) MarshalTo

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

func (*String) MarshalToSizedBuffer

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

func (*String) ProtoMessage

func (*String) ProtoMessage()

func (*String) Reset

func (m *String) Reset()

func (*String) Size

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

func (*String) String

func (m *String) String() string

func (*String) Unmarshal

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

func (*String) XXX_DiscardUnknown

func (m *String) XXX_DiscardUnknown()

func (*String) XXX_Marshal

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

func (*String) XXX_Merge

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

func (*String) XXX_Size

func (m *String) XXX_Size() int

func (*String) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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