test

package
Version: 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: 20 Imported by: 80

Documentation

Index

Constants

View Source
const Default_NinOptNativeDefault_Field1 float64 = 1234.1234
View Source
const Default_NinOptNativeDefault_Field10 int32 = 1234
View Source
const Default_NinOptNativeDefault_Field11 uint64 = 1234
View Source
const Default_NinOptNativeDefault_Field12 int64 = 1234
View Source
const Default_NinOptNativeDefault_Field13 bool = true
View Source
const Default_NinOptNativeDefault_Field14 string = "1234"
View Source
const Default_NinOptNativeDefault_Field2 float32 = 1234.1234
View Source
const Default_NinOptNativeDefault_Field3 int32 = 1234
View Source
const Default_NinOptNativeDefault_Field4 int64 = 1234
View Source
const Default_NinOptNativeDefault_Field5 uint32 = 1234
View Source
const Default_NinOptNativeDefault_Field6 uint64 = 1234
View Source
const Default_NinOptNativeDefault_Field7 int32 = 1234
View Source
const Default_NinOptNativeDefault_Field8 int64 = 1234
View Source
const Default_NinOptNativeDefault_Field9 uint32 = 1234

Variables

View Source
var (
	ErrInvalidLengthThetest        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowThetest          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupThetest = fmt.Errorf("proto: unexpected end of group")
)
View Source
var AnotherTestEnum_name = map[int32]string{
	10: "D",
	11: "E",
}
View Source
var AnotherTestEnum_value = map[string]int32{
	"D": 10,
	"E": 11,
}
View Source
var E_FieldA = &proto.ExtensionDesc{
	ExtendedType:  (*MyExtendable)(nil),
	ExtensionType: (*float64)(nil),
	Field:         100,
	Name:          "test.FieldA",
	Tag:           "fixed64,100,opt,name=FieldA",
	Filename:      "combos/both/thetest.proto",
}
View Source
var E_FieldA1 = &proto.ExtensionDesc{
	ExtendedType:  (*NoExtensionsMap)(nil),
	ExtensionType: (*float64)(nil),
	Field:         100,
	Name:          "test.FieldA1",
	Tag:           "fixed64,100,opt,name=FieldA1",
	Filename:      "combos/both/thetest.proto",
}
View Source
var E_FieldB = &proto.ExtensionDesc{
	ExtendedType:  (*MyExtendable)(nil),
	ExtensionType: (*NinOptNative)(nil),
	Field:         101,
	Name:          "test.FieldB",
	Tag:           "bytes,101,opt,name=FieldB",
	Filename:      "combos/both/thetest.proto",
}
View Source
var E_FieldB1 = &proto.ExtensionDesc{
	ExtendedType:  (*NoExtensionsMap)(nil),
	ExtensionType: (*NinOptNative)(nil),
	Field:         101,
	Name:          "test.FieldB1",
	Tag:           "bytes,101,opt,name=FieldB1",
	Filename:      "combos/both/thetest.proto",
}
View Source
var E_FieldC = &proto.ExtensionDesc{
	ExtendedType:  (*MyExtendable)(nil),
	ExtensionType: (*NinEmbeddedStruct)(nil),
	Field:         102,
	Name:          "test.FieldC",
	Tag:           "bytes,102,opt,name=FieldC",
	Filename:      "combos/both/thetest.proto",
}
View Source
var E_FieldC1 = &proto.ExtensionDesc{
	ExtendedType:  (*NoExtensionsMap)(nil),
	ExtensionType: (*NinEmbeddedStruct)(nil),
	Field:         102,
	Name:          "test.FieldC1",
	Tag:           "bytes,102,opt,name=FieldC1",
	Filename:      "combos/both/thetest.proto",
}
View Source
var E_FieldD = &proto.ExtensionDesc{
	ExtendedType:  (*MyExtendable)(nil),
	ExtensionType: ([]int64)(nil),
	Field:         104,
	Name:          "test.FieldD",
	Tag:           "varint,104,rep,name=FieldD",
	Filename:      "combos/both/thetest.proto",
}
View Source
var E_FieldE = &proto.ExtensionDesc{
	ExtendedType:  (*MyExtendable)(nil),
	ExtensionType: ([]*NinOptNative)(nil),
	Field:         105,
	Name:          "test.FieldE",
	Tag:           "bytes,105,rep,name=FieldE",
	Filename:      "combos/both/thetest.proto",
}
View Source
var NestedDefinition_NestedEnum_name = map[int32]string{
	1: "TYPE_NESTED",
}
View Source
var NestedDefinition_NestedEnum_value = map[string]int32{
	"TYPE_NESTED": 1,
}
View Source
var TheTestEnum_name = map[int32]string{
	0: "A",
	1: "B",
	2: "C",
}
View Source
var TheTestEnum_value = map[string]int32{
	"A": 0,
	"B": 1,
	"C": 2,
}
View Source
var YetAnotherTestEnum_name = map[int32]string{
	0: "AA",
	1: "BB",
}
View Source
var YetAnotherTestEnum_value = map[string]int32{
	"AA": 0,
	"BB": 1,
}
View Source
var YetYetAnotherTestEnum_name = map[int32]string{
	0: "CC",
	1: "DD",
}
View Source
var YetYetAnotherTestEnum_value = map[string]int32{
	"CC": 0,
	"DD": 1,
}

Functions

func PutLittleEndianUint64

func PutLittleEndianUint64(b []byte, offset int, v uint64)

Types

type ADeepBranch

type ADeepBranch struct {
	Down                 DeepTree `protobuf:"bytes,2,opt,name=Down" json:"Down"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewADeepBranchFromFace

func NewADeepBranchFromFace(that ADeepBranchFace) *ADeepBranch

func NewPopulatedADeepBranch

func NewPopulatedADeepBranch(r randyThetest, easy bool) *ADeepBranch

func (*ADeepBranch) Compare

func (this *ADeepBranch) Compare(that interface{}) int

func (*ADeepBranch) Descriptor

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

func (*ADeepBranch) Equal

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

func (*ADeepBranch) GetDown

func (this *ADeepBranch) GetDown() DeepTree

func (*ADeepBranch) GoString

func (this *ADeepBranch) GoString() string

func (*ADeepBranch) Marshal

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

func (*ADeepBranch) MarshalTo

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

func (*ADeepBranch) MarshalToSizedBuffer added in v1.3.0

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

func (*ADeepBranch) Proto

func (*ADeepBranch) ProtoMessage

func (*ADeepBranch) ProtoMessage()

func (*ADeepBranch) Reset

func (m *ADeepBranch) Reset()

func (*ADeepBranch) Size

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

func (*ADeepBranch) String

func (this *ADeepBranch) String() string

func (*ADeepBranch) TestProto

func (*ADeepBranch) Unmarshal

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

func (*ADeepBranch) VerboseEqual

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

func (*ADeepBranch) XXX_DiscardUnknown added in v1.1.0

func (m *ADeepBranch) XXX_DiscardUnknown()

func (*ADeepBranch) XXX_Marshal added in v1.1.0

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

func (*ADeepBranch) XXX_Merge added in v1.1.0

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

func (*ADeepBranch) XXX_Size added in v1.1.0

func (m *ADeepBranch) XXX_Size() int

func (*ADeepBranch) XXX_Unmarshal added in v1.1.0

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

type ADeepBranchFace

type ADeepBranchFace interface {
	Proto() github_com_gogo_protobuf_proto.Message
	GetDown() DeepTree
}

type AndBranch

type AndBranch struct {
	Left                 Tree     `protobuf:"bytes,1,opt,name=Left" json:"Left"`
	Right                Tree     `protobuf:"bytes,2,opt,name=Right" json:"Right"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewAndBranchFromFace

func NewAndBranchFromFace(that AndBranchFace) *AndBranch

func NewPopulatedAndBranch

func NewPopulatedAndBranch(r randyThetest, easy bool) *AndBranch

func (*AndBranch) Compare

func (this *AndBranch) Compare(that interface{}) int

func (*AndBranch) Descriptor

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

func (*AndBranch) Equal

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

func (*AndBranch) GetLeft

func (this *AndBranch) GetLeft() Tree

func (*AndBranch) GetRight

func (this *AndBranch) GetRight() Tree

func (*AndBranch) GoString

func (this *AndBranch) GoString() string

func (*AndBranch) Marshal

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

func (*AndBranch) MarshalTo

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

func (*AndBranch) MarshalToSizedBuffer added in v1.3.0

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

func (*AndBranch) Proto

func (*AndBranch) ProtoMessage

func (*AndBranch) ProtoMessage()

func (*AndBranch) Reset

func (m *AndBranch) Reset()

func (*AndBranch) Size

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

func (*AndBranch) String

func (this *AndBranch) String() string

func (*AndBranch) TestProto

func (*AndBranch) Unmarshal

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

func (*AndBranch) VerboseEqual

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

func (*AndBranch) XXX_DiscardUnknown added in v1.1.0

func (m *AndBranch) XXX_DiscardUnknown()

func (*AndBranch) XXX_Marshal added in v1.1.0

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

func (*AndBranch) XXX_Merge added in v1.1.0

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

func (*AndBranch) XXX_Size added in v1.1.0

func (m *AndBranch) XXX_Size() int

func (*AndBranch) XXX_Unmarshal added in v1.1.0

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

type AndBranchFace

type AndBranchFace interface {
	Proto() github_com_gogo_protobuf_proto.Message
	GetLeft() Tree
	GetRight() Tree
}

type AndDeepBranch

type AndDeepBranch struct {
	Left                 DeepTree `protobuf:"bytes,1,opt,name=Left" json:"Left"`
	Right                DeepTree `protobuf:"bytes,2,opt,name=Right" json:"Right"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewAndDeepBranchFromFace

func NewAndDeepBranchFromFace(that AndDeepBranchFace) *AndDeepBranch

func NewPopulatedAndDeepBranch

func NewPopulatedAndDeepBranch(r randyThetest, easy bool) *AndDeepBranch

func (*AndDeepBranch) Compare

func (this *AndDeepBranch) Compare(that interface{}) int

func (*AndDeepBranch) Description

func (*AndDeepBranch) Descriptor

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

func (*AndDeepBranch) Equal

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

func (*AndDeepBranch) GetLeft

func (this *AndDeepBranch) GetLeft() DeepTree

func (*AndDeepBranch) GetRight

func (this *AndDeepBranch) GetRight() DeepTree

func (*AndDeepBranch) GoString

func (this *AndDeepBranch) GoString() string

func (*AndDeepBranch) Marshal

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

func (*AndDeepBranch) MarshalTo

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

func (*AndDeepBranch) MarshalToSizedBuffer added in v1.3.0

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

func (*AndDeepBranch) Proto

func (*AndDeepBranch) ProtoMessage

func (*AndDeepBranch) ProtoMessage()

func (*AndDeepBranch) Reset

func (m *AndDeepBranch) Reset()

func (*AndDeepBranch) Size

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

func (*AndDeepBranch) String

func (this *AndDeepBranch) String() string

func (*AndDeepBranch) TestProto

func (*AndDeepBranch) Unmarshal

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