test

package
v5.0.5+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2021 License: BSD-3-Clause Imports: 4 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TestEnum_name = map[int32]string{
	0: "first",
	1: "second",
}
View Source
var TestEnum_value = map[string]int32{
	"first":  0,
	"second": 1,
}

Functions

This section is empty.

Types

type ExampleTable

type ExampleTable struct {
	Id                   int64                `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	StartTime            *timestamp.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	Name                 string               `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*ExampleTable) Descriptor

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

func (*ExampleTable) GetId

func (m *ExampleTable) GetId() int64

func (*ExampleTable) GetName

func (m *ExampleTable) GetName() string

func (*ExampleTable) GetStartTime

func (m *ExampleTable) GetStartTime() *timestamp.Timestamp

func (*ExampleTable) ProtoMessage

func (*ExampleTable) ProtoMessage()

func (*ExampleTable) Reset

func (m *ExampleTable) Reset()

func (*ExampleTable) String

func (m *ExampleTable) String() string

func (*ExampleTable) XXX_DiscardUnknown

func (m *ExampleTable) XXX_DiscardUnknown()

func (*ExampleTable) XXX_Marshal

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

func (*ExampleTable) XXX_Merge

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

func (*ExampleTable) XXX_Size

func (m *ExampleTable) XXX_Size() int

func (*ExampleTable) XXX_Unmarshal

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

type ExampleTableRange

type ExampleTableRange struct {
	StartId              int64    `protobuf:"varint,1,opt,name=start_id,json=startId,proto3" json:"start_id,omitempty"`
	EndId                int64    `protobuf:"varint,2,opt,name=end_id,json=endId,proto3" json:"end_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ExampleTableRange) Descriptor

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

func (*ExampleTableRange) GetEndId

func (m *ExampleTableRange) GetEndId() int64

func (*ExampleTableRange) GetStartId

func (m *ExampleTableRange) GetStartId() int64

func (*ExampleTableRange) ProtoMessage

func (*ExampleTableRange) ProtoMessage()

func (*ExampleTableRange) Reset

func (m *ExampleTableRange) Reset()

func (*ExampleTableRange) String

func (m *ExampleTableRange) String() string

func (*ExampleTableRange) XXX_DiscardUnknown

func (m *ExampleTableRange) XXX_DiscardUnknown()

func (*ExampleTableRange) XXX_Marshal

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

func (*ExampleTableRange) XXX_Merge

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

func (*ExampleTableRange) XXX_Size

func (m *ExampleTableRange) XXX_Size() int

func (*ExampleTableRange) XXX_Unmarshal

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

type Ids

type Ids struct {
	Ids                  []int64  `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Ids) Descriptor

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

func (*Ids) GetIds

func (m *Ids) GetIds() []int64

func (*Ids) ProtoMessage

func (*Ids) ProtoMessage()

func (*Ids) Reset

func (m *Ids) Reset()

func (*Ids) String

func (m *Ids) String() string

func (*Ids) XXX_DiscardUnknown

func (m *Ids) XXX_DiscardUnknown()

func (*Ids) XXX_Marshal

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

func (*Ids) XXX_Merge

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

func (*Ids) XXX_Size

func (m *Ids) XXX_Size() int

func (*Ids) XXX_Unmarshal

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

type Name

type Name struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Name) Descriptor

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

func (*Name) GetName

func (m *Name) GetName() string

func (*Name) ProtoMessage

func (*Name) ProtoMessage()

func (*Name) Reset

func (m *Name) Reset()

func (*Name) String

func (m *Name) String() string

func (*Name) XXX_DiscardUnknown

func (m *Name) XXX_DiscardUnknown()

func (*Name) XXX_Marshal

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

func (*Name) XXX_Merge

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

func (*Name) XXX_Size

func (m *Name) XXX_Size() int

func (*Name) XXX_Unmarshal

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

type NumRows

type NumRows struct {
	Count                int64    `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NumRows) Descriptor

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

func (*NumRows) GetCount

func (m *NumRows) GetCount() int64

func (*NumRows) ProtoMessage

func (*NumRows) ProtoMessage()

func (*NumRows) Reset

func (m *NumRows) Reset()

func (*NumRows) String

func (m *NumRows) String() string

func (*NumRows) XXX_DiscardUnknown

func (m *NumRows) XXX_DiscardUnknown()

func (*NumRows) XXX_Marshal

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

func (*NumRows) XXX_Merge

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

func (*NumRows) XXX_Size

func (m *NumRows) XXX_Size() int

func (*NumRows) XXX_Unmarshal

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

type PartialTable

type PartialTable struct {
	Id                   int64                `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	StartTime            *timestamp.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*PartialTable) Descriptor

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

func (*PartialTable) GetId

func (m *PartialTable) GetId() int64

func (*PartialTable) GetStartTime

func (m *PartialTable) GetStartTime() *timestamp.Timestamp

func (*PartialTable) ProtoMessage

func (*PartialTable) ProtoMessage()

func (*PartialTable) Reset

func (m *PartialTable) Reset()

func (*PartialTable) String

func (m *PartialTable) String() string

func (*PartialTable) XXX_DiscardUnknown

func (m *PartialTable) XXX_DiscardUnknown()

func (*PartialTable) XXX_Marshal

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

func (*PartialTable) XXX_Merge

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

func (*PartialTable) XXX_Size

func (m *PartialTable) XXX_Size() int

func (*PartialTable) XXX_Unmarshal

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

type Test

type Test struct {
	Id                   int32    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Test) Descriptor

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

func (*Test) GetId

func (m *Test) GetId() int32

func (*Test) GetName

func (m *Test) GetName() string

func (*Test) ProtoMessage

func (*Test) ProtoMessage()

func (*Test) Reset

func (m *Test) Reset()

func (*Test) String

func (m *Test) String() string

func (*Test) XXX_DiscardUnknown

func (m *Test) XXX_DiscardUnknown()

func (*Test) XXX_Marshal

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

func (*Test) XXX_Merge

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

func (*Test) XXX_Size

func (m *Test) XXX_Size() int

func (*Test) XXX_Unmarshal

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

type TestEnum

type TestEnum int32
const (
	TestEnum_first  TestEnum = 0
	TestEnum_second TestEnum = 1
)

func (TestEnum) EnumDescriptor

func (TestEnum) EnumDescriptor() ([]byte, []int)

func (TestEnum) String

func (x TestEnum) String() string

type TwoMappedAndEnum

type TwoMappedAndEnum struct {
	StartTime            *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	EndTime              *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	GenEnum              TestEnum             `protobuf:"varint,3,opt,name=gen_enum,json=genEnum,proto3,enum=tests.test.TestEnum" json:"gen_enum,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*TwoMappedAndEnum) Descriptor

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

func (*TwoMappedAndEnum) GetEndTime

func (m *TwoMappedAndEnum) GetEndTime() *timestamp.Timestamp

func (*TwoMappedAndEnum) GetGenEnum

func (m *TwoMappedAndEnum) GetGenEnum() TestEnum

func (*TwoMappedAndEnum) GetStartTime

func (m *TwoMappedAndEnum) GetStartTime() *timestamp.Timestamp

func (*TwoMappedAndEnum) ProtoMessage

func (*TwoMappedAndEnum) ProtoMessage()

func (*TwoMappedAndEnum) Reset

func (m *TwoMappedAndEnum) Reset()

func (*TwoMappedAndEnum) String

func (m *TwoMappedAndEnum) String() string

func (*TwoMappedAndEnum) XXX_DiscardUnknown

func (m *TwoMappedAndEnum) XXX_DiscardUnknown()

func (*TwoMappedAndEnum) XXX_Marshal

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

func (*TwoMappedAndEnum) XXX_Merge

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

func (*TwoMappedAndEnum) XXX_Size

func (m *TwoMappedAndEnum) XXX_Size() int

func (*TwoMappedAndEnum) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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