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

test

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2018 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const Default_OneofTest_I int32 = 4

Variables

View Source
var (
	ErrInvalidLengthIssue322 = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowIssue322   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type OneofTest

type OneofTest struct {
	// Types that are valid to be assigned to Union:
	//	*OneofTest_I
	Union                isOneofTest_Union `protobuf_oneof:"union"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func NewPopulatedOneofTest

func NewPopulatedOneofTest(r randyIssue322, easy bool) *OneofTest

func (*OneofTest) Descriptor

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

func (*OneofTest) Equal

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

func (*OneofTest) GetI

func (m *OneofTest) GetI() int32

func (*OneofTest) GetUnion

func (m *OneofTest) GetUnion() isOneofTest_Union

func (*OneofTest) GoString

func (this *OneofTest) GoString() string

func (*OneofTest) Marshal

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

func (*OneofTest) MarshalTo

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

func (*OneofTest) ProtoMessage

func (*OneofTest) ProtoMessage()

func (*OneofTest) Reset

func (m *OneofTest) Reset()

func (*OneofTest) Size

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

func (*OneofTest) String

func (m *OneofTest) String() string

func (*OneofTest) Unmarshal

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

func (*OneofTest) XXX_DiscardUnknown added in v1.1.0

func (m *OneofTest) XXX_DiscardUnknown()

func (*OneofTest) XXX_Marshal added in v1.1.0

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

func (*OneofTest) XXX_Merge added in v1.1.0

func (dst *OneofTest) XXX_Merge(src proto.Message)

func (*OneofTest) XXX_OneofFuncs

func (*OneofTest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*OneofTest) XXX_Size added in v1.1.0

func (m *OneofTest) XXX_Size() int

func (*OneofTest) XXX_Unmarshal added in v1.1.0

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

type OneofTest_I

type OneofTest_I struct {
	I int32 `protobuf:"varint,1,opt,name=i,oneof,def=4"`
}

func NewPopulatedOneofTest_I

func NewPopulatedOneofTest_I(r randyIssue322, easy bool) *OneofTest_I

func (*OneofTest_I) Equal

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

func (*OneofTest_I) GoString

func (this *OneofTest_I) GoString() string

func (*OneofTest_I) MarshalTo

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

func (*OneofTest_I) Size

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

Jump to

Keyboard shortcuts

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