test

package
v0.0.0-...-21bf8e3 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthTest        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTest          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTest = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type Demo

type Demo struct {
	Field1               string   `protobuf:"bytes,1,opt,name=field1,proto3" json:"field1,omitempty"`
	Field2               int32    `protobuf:"varint,2,opt,name=field2,proto3" json:"field2,omitempty"`
	Field3               []string `protobuf:"bytes,3,rep,name=field3,proto3" json:"field3,omitempty"`
	Field4               uint64   `protobuf:"varint,4,opt,name=field4,proto3" json:"field4,omitempty"`
	Field5               string   `protobuf:"bytes,5,opt,name=field5,proto3" json:"field5,omitempty"`
	Field6               string   `protobuf:"bytes,6,opt,name=field6,proto3" json:"field6,omitempty"`
	Field7               []byte   `protobuf:"bytes,7,opt,name=field7,proto3" json:"field7,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Demo) Descriptor

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

func (*Demo) GetField1

func (m *Demo) GetField1() string

func (*Demo) GetField2

func (m *Demo) GetField2() int32

func (*Demo) GetField3

func (m *Demo) GetField3() []string

func (*Demo) GetField4

func (m *Demo) GetField4() uint64

func (*Demo) GetField5

func (m *Demo) GetField5() string

func (*Demo) GetField6

func (m *Demo) GetField6() string

func (*Demo) GetField7

func (m *Demo) GetField7() []byte

func (*Demo) Marshal

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

func (*Demo) MarshalTo

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

func (*Demo) MarshalToSizedBuffer

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

func (*Demo) ProtoMessage

func (*Demo) ProtoMessage()

func (*Demo) Reset

func (m *Demo) Reset()

func (*Demo) Size

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

func (*Demo) String

func (m *Demo) String() string

func (*Demo) Unmarshal

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

func (*Demo) XXX_DiscardUnknown

func (m *Demo) XXX_DiscardUnknown()

func (*Demo) XXX_Marshal

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

func (*Demo) XXX_Merge

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

func (*Demo) XXX_Size

func (m *Demo) XXX_Size() int

func (*Demo) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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