a11db14b85
* feat: adds view expressions * feat: adds meta tasks for view * feat: adds view_info to CreateViewTask * chore: rename create_or_replace to or_replace
1542 lines
57 KiB
Go
1542 lines
57 KiB
Go
// Copyright 2023 Greptime Team
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.28.1
|
|
// protoc v3.21.6
|
|
// source: greptime/v1/meta/ddl.proto
|
|
|
|
package meta
|
|
|
|
import (
|
|
v1 "github.com/GreptimeTeam/greptime-proto/go/greptime/v1"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type DdlTaskType int32
|
|
|
|
const (
|
|
DdlTaskType_Create DdlTaskType = 0
|
|
DdlTaskType_Drop DdlTaskType = 1
|
|
)
|
|
|
|
// Enum value maps for DdlTaskType.
|
|
var (
|
|
DdlTaskType_name = map[int32]string{
|
|
0: "Create",
|
|
1: "Drop",
|
|
}
|
|
DdlTaskType_value = map[string]int32{
|
|
"Create": 0,
|
|
"Drop": 1,
|
|
}
|
|
)
|
|
|
|
func (x DdlTaskType) Enum() *DdlTaskType {
|
|
p := new(DdlTaskType)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x DdlTaskType) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (DdlTaskType) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_greptime_v1_meta_ddl_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (DdlTaskType) Type() protoreflect.EnumType {
|
|
return &file_greptime_v1_meta_ddl_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x DdlTaskType) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use DdlTaskType.Descriptor instead.
|
|
func (DdlTaskType) EnumDescriptor() ([]byte, []int) {
|
|
return file_greptime_v1_meta_ddl_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type CreateDatabaseTask struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CreateDatabase *v1.CreateDatabaseExpr `protobuf:"bytes,1,opt,name=create_database,json=createDatabase,proto3" json:"create_database,omitempty"`
|
|
}
|
|
|
|
func (x *CreateDatabaseTask) Reset() {
|
|
*x = CreateDatabaseTask{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CreateDatabaseTask) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateDatabaseTask) ProtoMessage() {}
|
|
|
|
func (x *CreateDatabaseTask) ProtoReflect() protoreflect.Message {
|
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[0]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateDatabaseTask.ProtoReflect.Descriptor instead.
|
|
func (*CreateDatabaseTask) Descriptor() ([]byte, []int) {
|
|
return file_greptime_v1_meta_ddl_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *CreateDatabaseTask) GetCreateDatabase() *v1.CreateDatabaseExpr {
|
|
if x != nil {
|
|
return x.CreateDatabase
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreateTableTask struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CreateTable *v1.CreateTableExpr `protobuf:"bytes,1,opt,name=create_table,json=createTable,proto3" json:"create_table,omitempty"`
|
|
Partitions []*Partition `protobuf:"bytes,2,rep,name=partitions,proto3" json:"partitions,omitempty"`
|
|
TableInfo []byte `protobuf:"bytes,3,opt,name=table_info,json=tableInfo,proto3" json:"table_info,omitempty"`
|
|
}
|
|
|
|
func (x *CreateTableTask) Reset() {
|
|
*x = CreateTableTask{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CreateTableTask) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateTableTask) ProtoMessage() {}
|
|
|
|
func (x *CreateTableTask) ProtoReflect() protoreflect.Message {
|
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[1]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateTableTask.ProtoReflect.Descriptor instead.
|
|
func (*CreateTableTask) Descriptor() ([]byte, []int) {
|
|
return file_greptime_v1_meta_ddl_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *CreateTableTask) GetCreateTable() *v1.CreateTableExpr {
|
|
if x != nil {
|
|
return x.CreateTable
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CreateTableTask) GetPartitions() []*Partition {
|
|
if x != nil {
|
|
return x.Partitions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CreateTableTask) GetTableInfo() []byte {
|
|
if x != nil {
|
|
return x.TableInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreateTableTasks struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Tasks []*CreateTableTask `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"`
|
|
}
|
|
|
|
func (x *CreateTableTasks) Reset() {
|
|
*x = CreateTableTasks{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CreateTableTasks) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateTableTasks) ProtoMessage() {}
|
|
|
|
func (x *CreateTableTasks) ProtoReflect() protoreflect.Message {
|
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[2]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateTableTasks.ProtoReflect.Descriptor instead.
|
|
func (*CreateTableTasks) Descriptor() ([]byte, []int) {
|
|
return file_greptime_v1_meta_ddl_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *CreateTableTasks) GetTasks() []*CreateTableTask {
|
|
if x != nil {
|
|
return x.Tasks
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DropTableTask struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
DropTable *v1.DropTableExpr `protobuf:"bytes,1,opt,name=drop_table,json=dropTable,proto3" json:"drop_table,omitempty"`
|
|
}
|
|
|
|
func (x *DropTableTask) Reset() {
|
|
*x = DropTableTask{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DropTableTask) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DropTableTask) ProtoMessage() {}
|
|
|
|
func (x *DropTableTask) ProtoReflect() protoreflect.Message {
|
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[3]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DropTableTask.ProtoReflect.Descriptor instead.
|
|
func (*DropTableTask) Descriptor() ([]byte, []int) {
|
|
return file_greptime_v1_meta_ddl_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *DropTableTask) GetDropTable() *v1.DropTableExpr {
|
|
if x != nil {
|
|
return x.DropTable
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DropTableTasks struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Tasks []*DropTableTask `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"`
|
|
}
|
|
|
|
func (x *DropTableTasks) Reset() {
|
|
*x = DropTableTasks{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DropTableTasks) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DropTableTasks) ProtoMessage() {}
|
|
|
|
func (x *DropTableTasks) ProtoReflect() protoreflect.Message {
|
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[4]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DropTableTasks.ProtoReflect.Descriptor instead.
|
|
func (*DropTableTasks) Descriptor() ([]byte, []int) {
|
|
return file_greptime_v1_meta_ddl_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *DropTableTasks) GetTasks() []*DropTableTask {
|
|
if x != nil {
|
|
return x.Tasks
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AlterTableTask struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
AlterTable *v1.AlterExpr `protobuf:"bytes,1,opt,name=alter_table,json=alterTable,proto3" json:"alter_table,omitempty"`
|
|
}
|
|
|
|
func (x *AlterTableTask) Reset() {
|
|
*x = AlterTableTask{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AlterTableTask) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AlterTableTask) ProtoMessage() {}
|
|
|
|
func (x *AlterTableTask) ProtoReflect() protoreflect.Message {
|
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[5]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AlterTableTask.ProtoReflect.Descriptor instead.
|
|
func (*AlterTableTask) Descriptor() ([]byte, []int) {
|
|
return file_greptime_v1_meta_ddl_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *AlterTableTask) GetAlterTable() *v1.AlterExpr {
|
|
if x != nil {
|
|
return x.AlterTable
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AlterTableTasks struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Tasks []*AlterTableTask `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"`
|
|
}
|
|
|
|
func (x *AlterTableTasks) Reset() {
|
|
*x = AlterTableTasks{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AlterTableTasks) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AlterTableTasks) ProtoMessage() {}
|
|
|
|
func (x *AlterTableTasks) ProtoReflect() protoreflect.Message {
|
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[6]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AlterTableTasks.ProtoReflect.Descriptor instead.
|
|
func (*AlterTableTasks) Descriptor() ([]byte, []int) {
|
|
return file_greptime_v1_meta_ddl_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *AlterTableTasks) GetTasks() []*AlterTableTask {
|
|
if x != nil {
|
|
return x.Tasks
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type TruncateTableTask struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
TruncateTable *v1.TruncateTableExpr `protobuf:"bytes,1,opt,name=truncate_table,json=truncateTable,proto3" json:"truncate_table,omitempty"`
|
|
}
|
|
|
|
func (x *TruncateTableTask) Reset() {
|
|
*x = TruncateTableTask{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TruncateTableTask) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TruncateTableTask) ProtoMessage() {}
|
|
|
|
func (x *TruncateTableTask) ProtoReflect() protoreflect.Message {
|
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[7]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TruncateTableTask.ProtoReflect.Descriptor instead.
|
|
func (*TruncateTableTask) Descriptor() ([]byte, []int) {
|
|
return file_greptime_v1_meta_ddl_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *TruncateTableTask) GetTruncateTable() *v1.TruncateTableExpr {
|
|
if x != nil {
|
|
return x.TruncateTable
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DropDatabaseTask struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
DropDatabase *v1.DropDatabaseExpr `protobuf:"bytes,1,opt,name=drop_database,json=dropDatabase,proto3" json:"drop_database,omitempty"`
|
|
}
|
|
|
|
func (x *DropDatabaseTask) Reset() {
|
|
*x = DropDatabaseTask{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DropDatabaseTask) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DropDatabaseTask) ProtoMessage() {}
|
|
|
|
func (x *DropDatabaseTask) ProtoReflect() protoreflect.Message {
|
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[8]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DropDatabaseTask.ProtoReflect.Descriptor instead.
|
|
func (*DropDatabaseTask) Descriptor() ([]byte, []int) {
|
|
return file_greptime_v1_meta_ddl_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *DropDatabaseTask) GetDropDatabase() *v1.DropDatabaseExpr {
|
|
if x != nil {
|
|
return x.DropDatabase
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreateFlowTask struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CreateFlow *v1.CreateFlowExpr `protobuf:"bytes,1,opt,name=create_flow,json=createFlow,proto3" json:"create_flow,omitempty"`
|
|
}
|
|
|
|
func (x *CreateFlowTask) Reset() {
|
|
*x = CreateFlowTask{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CreateFlowTask) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateFlowTask) ProtoMessage() {}
|
|
|
|
func (x *CreateFlowTask) ProtoReflect() protoreflect.Message {
|
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[9]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateFlowTask.ProtoReflect.Descriptor instead.
|
|
func (*CreateFlowTask) Descriptor() ([]byte, []int) {
|
|
return file_greptime_v1_meta_ddl_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *CreateFlowTask) GetCreateFlow() *v1.CreateFlowExpr {
|
|
if x != nil {
|
|
return x.CreateFlow
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DropFlowTask struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
DropFlow *v1.DropFlowExpr `protobuf:"bytes,1,opt,name=drop_flow,json=dropFlow,proto3" json:"drop_flow,omitempty"`
|
|
}
|
|
|
|
func (x *DropFlowTask) Reset() {
|
|
*x = DropFlowTask{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DropFlowTask) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DropFlowTask) ProtoMessage() {}
|
|
|
|
func (x *DropFlowTask) ProtoReflect() protoreflect.Message {
|
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[10]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DropFlowTask.ProtoReflect.Descriptor instead.
|
|
func (*DropFlowTask) Descriptor() ([]byte, []int) {
|
|
return file_greptime_v1_meta_ddl_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *DropFlowTask) GetDropFlow() *v1.DropFlowExpr {
|
|
if x != nil {
|
|
return x.DropFlow
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Create a view task
|
|
type CreateViewTask struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CreateView *v1.CreateViewExpr `protobuf:"bytes,1,opt,name=create_view,json=createView,proto3" json:"create_view,omitempty"`
|
|
ViewInfo []byte `protobuf:"bytes,2,opt,name=view_info,json=viewInfo,proto3" json:"view_info,omitempty"`
|
|
}
|
|
|
|
func (x *CreateViewTask) Reset() {
|
|
*x = CreateViewTask{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CreateViewTask) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateViewTask) ProtoMessage() {}
|
|
|
|
func (x *CreateViewTask) ProtoReflect() protoreflect.Message {
|
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[11]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateViewTask.ProtoReflect.Descriptor instead.
|
|
func (*CreateViewTask) Descriptor() ([]byte, []int) {
|
|
return file_greptime_v1_meta_ddl_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *CreateViewTask) GetCreateView() *v1.CreateViewExpr {
|
|
if x != nil {
|
|
return x.CreateView
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CreateViewTask) GetViewInfo() []byte {
|
|
if x != nil {
|
|
return x.ViewInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Drop a view task
|
|
type DropViewTask struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
DropView *v1.DropViewExpr `protobuf:"bytes,1,opt,name=drop_view,json=dropView,proto3" json:"drop_view,omitempty"`
|
|
}
|
|
|
|
func (x *DropViewTask) Reset() {
|
|
*x = DropViewTask{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DropViewTask) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DropViewTask) ProtoMessage() {}
|
|
|
|
func (x *DropViewTask) ProtoReflect() protoreflect.Message {
|
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[12]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DropViewTask.ProtoReflect.Descriptor instead.
|
|
func (*DropViewTask) Descriptor() ([]byte, []int) {
|
|
return file_greptime_v1_meta_ddl_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *DropViewTask) GetDropView() *v1.DropViewExpr {
|
|
if x != nil {
|
|
return x.DropView
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DdlTaskRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
|
|
QueryContext *v1.QueryContext `protobuf:"bytes,64,opt,name=query_context,json=queryContext,proto3" json:"query_context,omitempty"`
|
|
// Types that are assignable to Task:
|
|
//
|
|
// *DdlTaskRequest_CreateTableTask
|
|
// *DdlTaskRequest_DropTableTask
|
|
// *DdlTaskRequest_AlterTableTask
|
|
// *DdlTaskRequest_TruncateTableTask
|
|
// *DdlTaskRequest_CreateTableTasks
|
|
// *DdlTaskRequest_DropTableTasks
|
|
// *DdlTaskRequest_AlterTableTasks
|
|
// *DdlTaskRequest_DropDatabaseTask
|
|
// *DdlTaskRequest_CreateDatabaseTask
|
|
// *DdlTaskRequest_CreateFlowTask
|
|
// *DdlTaskRequest_DropFlowTask
|
|
// *DdlTaskRequest_CreateViewTask
|
|
// *DdlTaskRequest_DropViewTask
|
|
Task isDdlTaskRequest_Task `protobuf_oneof:"task"`
|
|
}
|
|
|
|
func (x *DdlTaskRequest) Reset() {
|
|
*x = DdlTaskRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DdlTaskRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DdlTaskRequest) ProtoMessage() {}
|
|
|
|
func (x *DdlTaskRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[13]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DdlTaskRequest.ProtoReflect.Descriptor instead.
|
|
func (*DdlTaskRequest) Descriptor() ([]byte, []int) {
|
|
return file_greptime_v1_meta_ddl_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *DdlTaskRequest) GetHeader() *RequestHeader {
|
|
if x != nil {
|
|
return x.Header
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DdlTaskRequest) GetQueryContext() *v1.QueryContext {
|
|
if x != nil {
|
|
return x.QueryContext
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *DdlTaskRequest) GetTask() isDdlTaskRequest_Task {
|
|
if m != nil {
|
|
return m.Task
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DdlTaskRequest) GetCreateTableTask() *CreateTableTask {
|
|
if x, ok := x.GetTask().(*DdlTaskRequest_CreateTableTask); ok {
|
|
return x.CreateTableTask
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DdlTaskRequest) GetDropTableTask() *DropTableTask {
|
|
if x, ok := x.GetTask().(*DdlTaskRequest_DropTableTask); ok {
|
|
return x.DropTableTask
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DdlTaskRequest) GetAlterTableTask() *AlterTableTask {
|
|
if x, ok := x.GetTask().(*DdlTaskRequest_AlterTableTask); ok {
|
|
return x.AlterTableTask
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DdlTaskRequest) GetTruncateTableTask() *TruncateTableTask {
|
|
if x, ok := x.GetTask().(*DdlTaskRequest_TruncateTableTask); ok {
|
|
return x.TruncateTableTask
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DdlTaskRequest) GetCreateTableTasks() *CreateTableTasks {
|
|
if x, ok := x.GetTask().(*DdlTaskRequest_CreateTableTasks); ok {
|
|
return x.CreateTableTasks
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DdlTaskRequest) GetDropTableTasks() *DropTableTasks {
|
|
if x, ok := x.GetTask().(*DdlTaskRequest_DropTableTasks); ok {
|
|
return x.DropTableTasks
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DdlTaskRequest) GetAlterTableTasks() *AlterTableTasks {
|
|
if x, ok := x.GetTask().(*DdlTaskRequest_AlterTableTasks); ok {
|
|
return x.AlterTableTasks
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DdlTaskRequest) GetDropDatabaseTask() *DropDatabaseTask {
|
|
if x, ok := x.GetTask().(*DdlTaskRequest_DropDatabaseTask); ok {
|
|
return x.DropDatabaseTask
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DdlTaskRequest) GetCreateDatabaseTask() *CreateDatabaseTask {
|
|
if x, ok := x.GetTask().(*DdlTaskRequest_CreateDatabaseTask); ok {
|
|
return x.CreateDatabaseTask
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DdlTaskRequest) GetCreateFlowTask() *CreateFlowTask {
|
|
if x, ok := x.GetTask().(*DdlTaskRequest_CreateFlowTask); ok {
|
|
return x.CreateFlowTask
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DdlTaskRequest) GetDropFlowTask() *DropFlowTask {
|
|
if x, ok := x.GetTask().(*DdlTaskRequest_DropFlowTask); ok {
|
|
return x.DropFlowTask
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DdlTaskRequest) GetCreateViewTask() *CreateViewTask {
|
|
if x, ok := x.GetTask().(*DdlTaskRequest_CreateViewTask); ok {
|
|
return x.CreateViewTask
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DdlTaskRequest) GetDropViewTask() *DropViewTask {
|
|
if x, ok := x.GetTask().(*DdlTaskRequest_DropViewTask); ok {
|
|
return x.DropViewTask
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isDdlTaskRequest_Task interface {
|
|
isDdlTaskRequest_Task()
|
|
}
|
|
|
|
type DdlTaskRequest_CreateTableTask struct {
|
|
CreateTableTask *CreateTableTask `protobuf:"bytes,2,opt,name=create_table_task,json=createTableTask,proto3,oneof"`
|
|
}
|
|
|
|
type DdlTaskRequest_DropTableTask struct {
|
|
DropTableTask *DropTableTask `protobuf:"bytes,3,opt,name=drop_table_task,json=dropTableTask,proto3,oneof"`
|
|
}
|
|
|
|
type DdlTaskRequest_AlterTableTask struct {
|
|
AlterTableTask *AlterTableTask `protobuf:"bytes,4,opt,name=alter_table_task,json=alterTableTask,proto3,oneof"`
|
|
}
|
|
|
|
type DdlTaskRequest_TruncateTableTask struct {
|
|
TruncateTableTask *TruncateTableTask `protobuf:"bytes,5,opt,name=truncate_table_task,json=truncateTableTask,proto3,oneof"`
|
|
}
|
|
|
|
type DdlTaskRequest_CreateTableTasks struct {
|
|
CreateTableTasks *CreateTableTasks `protobuf:"bytes,6,opt,name=create_table_tasks,json=createTableTasks,proto3,oneof"`
|
|
}
|
|
|
|
type DdlTaskRequest_DropTableTasks struct {
|
|
DropTableTasks *DropTableTasks `protobuf:"bytes,7,opt,name=drop_table_tasks,json=dropTableTasks,proto3,oneof"`
|
|
}
|
|
|
|
type DdlTaskRequest_AlterTableTasks struct {
|
|
AlterTableTasks *AlterTableTasks `protobuf:"bytes,8,opt,name=alter_table_tasks,json=alterTableTasks,proto3,oneof"`
|
|
}
|
|
|
|
type DdlTaskRequest_DropDatabaseTask struct {
|
|
DropDatabaseTask *DropDatabaseTask `protobuf:"bytes,9,opt,name=drop_database_task,json=dropDatabaseTask,proto3,oneof"`
|
|
}
|
|
|
|
type DdlTaskRequest_CreateDatabaseTask struct {
|
|
CreateDatabaseTask *CreateDatabaseTask `protobuf:"bytes,10,opt,name=create_database_task,json=createDatabaseTask,proto3,oneof"`
|
|
}
|
|
|
|
type DdlTaskRequest_CreateFlowTask struct {
|
|
CreateFlowTask *CreateFlowTask `protobuf:"bytes,11,opt,name=create_flow_task,json=createFlowTask,proto3,oneof"`
|
|
}
|
|
|
|
type DdlTaskRequest_DropFlowTask struct {
|
|
DropFlowTask *DropFlowTask `protobuf:"bytes,12,opt,name=drop_flow_task,json=dropFlowTask,proto3,oneof"`
|
|
}
|
|
|
|
type DdlTaskRequest_CreateViewTask struct {
|
|
CreateViewTask *CreateViewTask `protobuf:"bytes,13,opt,name=create_view_task,json=createViewTask,proto3,oneof"`
|
|
}
|
|
|
|
type DdlTaskRequest_DropViewTask struct {
|
|
DropViewTask *DropViewTask `protobuf:"bytes,14,opt,name=drop_view_task,json=dropViewTask,proto3,oneof"`
|
|
}
|
|
|
|
func (*DdlTaskRequest_CreateTableTask) isDdlTaskRequest_Task() {}
|
|
|
|
func (*DdlTaskRequest_DropTableTask) isDdlTaskRequest_Task() {}
|
|
|
|
func (*DdlTaskRequest_AlterTableTask) isDdlTaskRequest_Task() {}
|
|
|
|
func (*DdlTaskRequest_TruncateTableTask) isDdlTaskRequest_Task() {}
|
|
|
|
func (*DdlTaskRequest_CreateTableTasks) isDdlTaskRequest_Task() {}
|
|
|
|
func (*DdlTaskRequest_DropTableTasks) isDdlTaskRequest_Task() {}
|
|
|
|
func (*DdlTaskRequest_AlterTableTasks) isDdlTaskRequest_Task() {}
|
|
|
|
func (*DdlTaskRequest_DropDatabaseTask) isDdlTaskRequest_Task() {}
|
|
|
|
func (*DdlTaskRequest_CreateDatabaseTask) isDdlTaskRequest_Task() {}
|
|
|
|
func (*DdlTaskRequest_CreateFlowTask) isDdlTaskRequest_Task() {}
|
|
|
|
func (*DdlTaskRequest_DropFlowTask) isDdlTaskRequest_Task() {}
|
|
|
|
func (*DdlTaskRequest_CreateViewTask) isDdlTaskRequest_Task() {}
|
|
|
|
func (*DdlTaskRequest_DropViewTask) isDdlTaskRequest_Task() {}
|
|
|
|
type DdlTaskResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
|
|
Pid *ProcedureId `protobuf:"bytes,2,opt,name=pid,proto3" json:"pid,omitempty"`
|
|
// Returns if table created.
|
|
// TODO(jeremy): remove it?
|
|
TableId *v1.TableId `protobuf:"bytes,4,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"`
|
|
// Returns if the tables created.
|
|
TableIds []*v1.TableId `protobuf:"bytes,5,rep,name=table_ids,json=tableIds,proto3" json:"table_ids,omitempty"`
|
|
}
|
|
|
|
func (x *DdlTaskResponse) Reset() {
|
|
*x = DdlTaskResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DdlTaskResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DdlTaskResponse) ProtoMessage() {}
|
|
|
|
func (x *DdlTaskResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[14]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DdlTaskResponse.ProtoReflect.Descriptor instead.
|
|
func (*DdlTaskResponse) Descriptor() ([]byte, []int) {
|
|
return file_greptime_v1_meta_ddl_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *DdlTaskResponse) GetHeader() *ResponseHeader {
|
|
if x != nil {
|
|
return x.Header
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DdlTaskResponse) GetPid() *ProcedureId {
|
|
if x != nil {
|
|
return x.Pid
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DdlTaskResponse) GetTableId() *v1.TableId {
|
|
if x != nil {
|
|
return x.TableId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DdlTaskResponse) GetTableIds() []*v1.TableId {
|
|
if x != nil {
|
|
return x.TableIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_greptime_v1_meta_ddl_proto protoreflect.FileDescriptor
|
|
|
|
var file_greptime_v1_meta_ddl_proto_rawDesc = []byte{
|
|
0x0a, 0x1a, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65,
|
|
0x74, 0x61, 0x2f, 0x64, 0x64, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x67, 0x72,
|
|
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x1a, 0x1d,
|
|
0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x74, 0x61,
|
|
0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67,
|
|
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x2f,
|
|
0x72, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x67, 0x72, 0x65,
|
|
0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x64, 0x6c, 0x2e, 0x70, 0x72, 0x6f,
|
|
0x74, 0x6f, 0x1a, 0x18, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x2f,
|
|
0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5e, 0x0a, 0x12,
|
|
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x54, 0x61,
|
|
0x73, 0x6b, 0x12, 0x48, 0x0a, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x64, 0x61, 0x74,
|
|
0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72,
|
|
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
|
|
0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x45, 0x78, 0x70, 0x72, 0x52, 0x0e, 0x63, 0x72,
|
|
0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x22, 0xae, 0x01, 0x0a,
|
|
0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b,
|
|
0x12, 0x3f, 0x0a, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
|
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65,
|
|
0x45, 0x78, 0x70, 0x72, 0x52, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c,
|
|
0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18,
|
|
0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
|
|
0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1d,
|
|
0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01,
|
|
0x28, 0x0c, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x4b, 0x0a,
|
|
0x10, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b,
|
|
0x73, 0x12, 0x37, 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
|
|
0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d,
|
|
0x65, 0x74, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54,
|
|
0x61, 0x73, 0x6b, 0x52, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x22, 0x4a, 0x0a, 0x0d, 0x44, 0x72,
|
|
0x6f, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x39, 0x0a, 0x0a, 0x64,
|
|
0x72, 0x6f, 0x70, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
0x1a, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x72,
|
|
0x6f, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x78, 0x70, 0x72, 0x52, 0x09, 0x64, 0x72, 0x6f,
|
|
0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x47, 0x0a, 0x0e, 0x44, 0x72, 0x6f, 0x70, 0x54, 0x61,
|
|
0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x35, 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b,
|
|
0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
|
|
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x54,
|
|
0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x22,
|
|
0x49, 0x0a, 0x0e, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73,
|
|
0x6b, 0x12, 0x37, 0x0a, 0x0b, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
|
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x45, 0x78, 0x70, 0x72, 0x52, 0x0a,
|
|
0x61, 0x6c, 0x74, 0x65, 0x72, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x49, 0x0a, 0x0f, 0x41, 0x6c,
|
|
0x74, 0x65, 0x72, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x36, 0x0a,
|
|
0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67,
|
|
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e,
|
|
0x41, 0x6c, 0x74, 0x65, 0x72, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x05,
|
|
0x74, 0x61, 0x73, 0x6b, 0x73, 0x22, 0x5a, 0x0a, 0x11, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74,
|
|
0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x45, 0x0a, 0x0e, 0x74, 0x72,
|
|
0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
|
|
0x2e, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x78,
|
|
0x70, 0x72, 0x52, 0x0d, 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c,
|
|
0x65, 0x22, 0x56, 0x0a, 0x10, 0x44, 0x72, 0x6f, 0x70, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
|
|
0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x42, 0x0a, 0x0d, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x64, 0x61,
|
|
0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67,
|
|
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x44,
|
|
0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x45, 0x78, 0x70, 0x72, 0x52, 0x0c, 0x64, 0x72, 0x6f,
|
|
0x70, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x22, 0x4e, 0x0a, 0x0e, 0x43, 0x72, 0x65,
|
|
0x61, 0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x3c, 0x0a, 0x0b, 0x63,
|
|
0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43,
|
|
0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x70, 0x72, 0x52, 0x0a, 0x63,
|
|
0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x22, 0x46, 0x0a, 0x0c, 0x44, 0x72, 0x6f,
|
|
0x70, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x36, 0x0a, 0x09, 0x64, 0x72, 0x6f,
|
|
0x70, 0x5f, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67,
|
|
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x46,
|
|
0x6c, 0x6f, 0x77, 0x45, 0x78, 0x70, 0x72, 0x52, 0x08, 0x64, 0x72, 0x6f, 0x70, 0x46, 0x6c, 0x6f,
|
|
0x77, 0x22, 0x6b, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69, 0x65, 0x77, 0x54,
|
|
0x61, 0x73, 0x6b, 0x12, 0x3c, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x76, 0x69,
|
|
0x65, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74,
|
|
0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69, 0x65,
|
|
0x77, 0x45, 0x78, 0x70, 0x72, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69, 0x65,
|
|
0x77, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x76, 0x69, 0x65, 0x77, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x46,
|
|
0x0a, 0x0c, 0x44, 0x72, 0x6f, 0x70, 0x56, 0x69, 0x65, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x36,
|
|
0x0a, 0x09, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
|
0x44, 0x72, 0x6f, 0x70, 0x56, 0x69, 0x65, 0x77, 0x45, 0x78, 0x70, 0x72, 0x52, 0x08, 0x64, 0x72,
|
|
0x6f, 0x70, 0x56, 0x69, 0x65, 0x77, 0x22, 0x9f, 0x09, 0x0a, 0x0e, 0x44, 0x64, 0x6c, 0x54, 0x61,
|
|
0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x06, 0x68, 0x65, 0x61,
|
|
0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70,
|
|
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64,
|
|
0x65, 0x72, 0x12, 0x3e, 0x0a, 0x0d, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74,
|
|
0x65, 0x78, 0x74, 0x18, 0x40, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70,
|
|
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6f, 0x6e,
|
|
0x74, 0x65, 0x78, 0x74, 0x52, 0x0c, 0x71, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65,
|
|
0x78, 0x74, 0x12, 0x4f, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x61, 0x62,
|
|
0x6c, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e,
|
|
0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61,
|
|
0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b,
|
|
0x48, 0x00, 0x52, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54,
|
|
0x61, 0x73, 0x6b, 0x12, 0x49, 0x0a, 0x0f, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x74, 0x61, 0x62, 0x6c,
|
|
0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67,
|
|
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e,
|
|
0x44, 0x72, 0x6f, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52,
|
|
0x0d, 0x64, 0x72, 0x6f, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x4c,
|
|
0x0a, 0x10, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x61,
|
|
0x73, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74,
|
|
0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x41, 0x6c, 0x74, 0x65,
|
|
0x72, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0e, 0x61, 0x6c,
|
|
0x74, 0x65, 0x72, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x55, 0x0a, 0x13,
|
|
0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74,
|
|
0x61, 0x73, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x72, 0x65, 0x70,
|
|
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x75,
|
|
0x6e, 0x63, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00,
|
|
0x52, 0x11, 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54,
|
|
0x61, 0x73, 0x6b, 0x12, 0x52, 0x0a, 0x12, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x61,
|
|
0x62, 0x6c, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
0x22, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65,
|
|
0x74, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61,
|
|
0x73, 0x6b, 0x73, 0x48, 0x00, 0x52, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62,
|
|
0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x4c, 0x0a, 0x10, 0x64, 0x72, 0x6f, 0x70, 0x5f,
|
|
0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28,
|
|
0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
|
0x6d, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61,
|
|
0x73, 0x6b, 0x73, 0x48, 0x00, 0x52, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65,
|
|
0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x4f, 0x0a, 0x11, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x74,
|
|
0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d,
|
|
0x65, 0x74, 0x61, 0x2e, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61,
|
|
0x73, 0x6b, 0x73, 0x48, 0x00, 0x52, 0x0f, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x54, 0x61, 0x62, 0x6c,
|
|
0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x52, 0x0a, 0x12, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x64,
|
|
0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x09, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
|
|
0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,
|
|
0x73, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x10, 0x64, 0x72, 0x6f, 0x70, 0x44, 0x61,
|
|
0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x58, 0x0a, 0x14, 0x63, 0x72,
|
|
0x65, 0x61, 0x74, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x74, 0x61,
|
|
0x73, 0x6b, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74,
|
|
0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61,
|
|
0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00,
|
|
0x52, 0x12, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
|
|
0x54, 0x61, 0x73, 0x6b, 0x12, 0x4c, 0x0a, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x66,
|
|
0x6c, 0x6f, 0x77, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20,
|
|
0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74,
|
|
0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b,
|
|
0x48, 0x00, 0x52, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61,
|
|
0x73, 0x6b, 0x12, 0x46, 0x0a, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x66, 0x6c, 0x6f, 0x77, 0x5f,
|
|
0x74, 0x61, 0x73, 0x6b, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65,
|
|
0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x72,
|
|
0x6f, 0x70, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0c, 0x64, 0x72,
|
|
0x6f, 0x70, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x4c, 0x0a, 0x10, 0x63, 0x72,
|
|
0x65, 0x61, 0x74, 0x65, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x0d,
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e,
|
|
0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69,
|
|
0x65, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
|
|
0x56, 0x69, 0x65, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x46, 0x0a, 0x0e, 0x64, 0x72, 0x6f, 0x70,
|
|
0x5f, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d,
|
|
0x65, 0x74, 0x61, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x56, 0x69, 0x65, 0x77, 0x54, 0x61, 0x73, 0x6b,
|
|
0x48, 0x00, 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x56, 0x69, 0x65, 0x77, 0x54, 0x61, 0x73, 0x6b,
|
|
0x42, 0x06, 0x0a, 0x04, 0x74, 0x61, 0x73, 0x6b, 0x22, 0xe0, 0x01, 0x0a, 0x0f, 0x44, 0x64, 0x6c,
|
|
0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x06,
|
|
0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67,
|
|
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e,
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06,
|
|
0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x2f, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76,
|
|
0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65,
|
|
0x49, 0x64, 0x52, 0x03, 0x70, 0x69, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x74, 0x61, 0x62, 0x6c, 0x65,
|
|
0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x72, 0x65, 0x70,
|
|
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x52,
|
|
0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x31, 0x0a, 0x09, 0x74, 0x61, 0x62, 0x6c,
|
|
0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x72,
|
|
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x49,
|
|
0x64, 0x52, 0x08, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x73, 0x2a, 0x23, 0x0a, 0x0b, 0x44,
|
|
0x64, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x72,
|
|
0x65, 0x61, 0x74, 0x65, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x72, 0x6f, 0x70, 0x10, 0x01,
|
|
0x42, 0x3c, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47,
|
|
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x2f, 0x67, 0x72, 0x65, 0x70,
|
|
0x74, 0x69, 0x6d, 0x65, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x72,
|
|
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x62, 0x06,
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_greptime_v1_meta_ddl_proto_rawDescOnce sync.Once
|
|
file_greptime_v1_meta_ddl_proto_rawDescData = file_greptime_v1_meta_ddl_proto_rawDesc
|
|
)
|
|
|
|
func file_greptime_v1_meta_ddl_proto_rawDescGZIP() []byte {
|
|
file_greptime_v1_meta_ddl_proto_rawDescOnce.Do(func() {
|
|
file_greptime_v1_meta_ddl_proto_rawDescData = protoimpl.X.CompressGZIP(file_greptime_v1_meta_ddl_proto_rawDescData)
|
|
})
|
|
return file_greptime_v1_meta_ddl_proto_rawDescData
|
|
}
|
|
|
|
var file_greptime_v1_meta_ddl_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
var file_greptime_v1_meta_ddl_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
|
|
var file_greptime_v1_meta_ddl_proto_goTypes = []interface{}{
|
|
(DdlTaskType)(0), // 0: greptime.v1.meta.DdlTaskType
|
|
(*CreateDatabaseTask)(nil), // 1: greptime.v1.meta.CreateDatabaseTask
|
|
(*CreateTableTask)(nil), // 2: greptime.v1.meta.CreateTableTask
|
|
(*CreateTableTasks)(nil), // 3: greptime.v1.meta.CreateTableTasks
|
|
(*DropTableTask)(nil), // 4: greptime.v1.meta.DropTableTask
|
|
(*DropTableTasks)(nil), // 5: greptime.v1.meta.DropTableTasks
|
|
(*AlterTableTask)(nil), // 6: greptime.v1.meta.AlterTableTask
|
|
(*AlterTableTasks)(nil), // 7: greptime.v1.meta.AlterTableTasks
|
|
(*TruncateTableTask)(nil), // 8: greptime.v1.meta.TruncateTableTask
|
|
(*DropDatabaseTask)(nil), // 9: greptime.v1.meta.DropDatabaseTask
|
|
(*CreateFlowTask)(nil), // 10: greptime.v1.meta.CreateFlowTask
|
|
(*DropFlowTask)(nil), // 11: greptime.v1.meta.DropFlowTask
|
|
(*CreateViewTask)(nil), // 12: greptime.v1.meta.CreateViewTask
|
|
(*DropViewTask)(nil), // 13: greptime.v1.meta.DropViewTask
|
|
(*DdlTaskRequest)(nil), // 14: greptime.v1.meta.DdlTaskRequest
|
|
(*DdlTaskResponse)(nil), // 15: greptime.v1.meta.DdlTaskResponse
|
|
(*v1.CreateDatabaseExpr)(nil), // 16: greptime.v1.CreateDatabaseExpr
|
|
(*v1.CreateTableExpr)(nil), // 17: greptime.v1.CreateTableExpr
|
|
(*Partition)(nil), // 18: greptime.v1.meta.Partition
|
|
(*v1.DropTableExpr)(nil), // 19: greptime.v1.DropTableExpr
|
|
(*v1.AlterExpr)(nil), // 20: greptime.v1.AlterExpr
|
|
(*v1.TruncateTableExpr)(nil), // 21: greptime.v1.TruncateTableExpr
|
|
(*v1.DropDatabaseExpr)(nil), // 22: greptime.v1.DropDatabaseExpr
|
|
(*v1.CreateFlowExpr)(nil), // 23: greptime.v1.CreateFlowExpr
|
|
(*v1.DropFlowExpr)(nil), // 24: greptime.v1.DropFlowExpr
|
|
(*v1.CreateViewExpr)(nil), // 25: greptime.v1.CreateViewExpr
|
|
(*v1.DropViewExpr)(nil), // 26: greptime.v1.DropViewExpr
|
|
(*RequestHeader)(nil), // 27: greptime.v1.meta.RequestHeader
|
|
(*v1.QueryContext)(nil), // 28: greptime.v1.QueryContext
|
|
(*ResponseHeader)(nil), // 29: greptime.v1.meta.ResponseHeader
|
|
(*ProcedureId)(nil), // 30: greptime.v1.meta.ProcedureId
|
|
(*v1.TableId)(nil), // 31: greptime.v1.TableId
|
|
}
|
|
var file_greptime_v1_meta_ddl_proto_depIdxs = []int32{
|
|
16, // 0: greptime.v1.meta.CreateDatabaseTask.create_database:type_name -> greptime.v1.CreateDatabaseExpr
|
|
17, // 1: greptime.v1.meta.CreateTableTask.create_table:type_name -> greptime.v1.CreateTableExpr
|
|
18, // 2: greptime.v1.meta.CreateTableTask.partitions:type_name -> greptime.v1.meta.Partition
|
|
2, // 3: greptime.v1.meta.CreateTableTasks.tasks:type_name -> greptime.v1.meta.CreateTableTask
|
|
19, // 4: greptime.v1.meta.DropTableTask.drop_table:type_name -> greptime.v1.DropTableExpr
|
|
4, // 5: greptime.v1.meta.DropTableTasks.tasks:type_name -> greptime.v1.meta.DropTableTask
|
|
20, // 6: greptime.v1.meta.AlterTableTask.alter_table:type_name -> greptime.v1.AlterExpr
|
|
6, // 7: greptime.v1.meta.AlterTableTasks.tasks:type_name -> greptime.v1.meta.AlterTableTask
|
|
21, // 8: greptime.v1.meta.TruncateTableTask.truncate_table:type_name -> greptime.v1.TruncateTableExpr
|
|
22, // 9: greptime.v1.meta.DropDatabaseTask.drop_database:type_name -> greptime.v1.DropDatabaseExpr
|
|
23, // 10: greptime.v1.meta.CreateFlowTask.create_flow:type_name -> greptime.v1.CreateFlowExpr
|
|
24, // 11: greptime.v1.meta.DropFlowTask.drop_flow:type_name -> greptime.v1.DropFlowExpr
|
|
25, // 12: greptime.v1.meta.CreateViewTask.create_view:type_name -> greptime.v1.CreateViewExpr
|
|
26, // 13: greptime.v1.meta.DropViewTask.drop_view:type_name -> greptime.v1.DropViewExpr
|
|
27, // 14: greptime.v1.meta.DdlTaskRequest.header:type_name -> greptime.v1.meta.RequestHeader
|
|
28, // 15: greptime.v1.meta.DdlTaskRequest.query_context:type_name -> greptime.v1.QueryContext
|
|
2, // 16: greptime.v1.meta.DdlTaskRequest.create_table_task:type_name -> greptime.v1.meta.CreateTableTask
|
|
4, // 17: greptime.v1.meta.DdlTaskRequest.drop_table_task:type_name -> greptime.v1.meta.DropTableTask
|
|
6, // 18: greptime.v1.meta.DdlTaskRequest.alter_table_task:type_name -> greptime.v1.meta.AlterTableTask
|
|
8, // 19: greptime.v1.meta.DdlTaskRequest.truncate_table_task:type_name -> greptime.v1.meta.TruncateTableTask
|
|
3, // 20: greptime.v1.meta.DdlTaskRequest.create_table_tasks:type_name -> greptime.v1.meta.CreateTableTasks
|
|
5, // 21: greptime.v1.meta.DdlTaskRequest.drop_table_tasks:type_name -> greptime.v1.meta.DropTableTasks
|
|
7, // 22: greptime.v1.meta.DdlTaskRequest.alter_table_tasks:type_name -> greptime.v1.meta.AlterTableTasks
|
|
9, // 23: greptime.v1.meta.DdlTaskRequest.drop_database_task:type_name -> greptime.v1.meta.DropDatabaseTask
|
|
1, // 24: greptime.v1.meta.DdlTaskRequest.create_database_task:type_name -> greptime.v1.meta.CreateDatabaseTask
|
|
10, // 25: greptime.v1.meta.DdlTaskRequest.create_flow_task:type_name -> greptime.v1.meta.CreateFlowTask
|
|
11, // 26: greptime.v1.meta.DdlTaskRequest.drop_flow_task:type_name -> greptime.v1.meta.DropFlowTask
|
|
12, // 27: greptime.v1.meta.DdlTaskRequest.create_view_task:type_name -> greptime.v1.meta.CreateViewTask
|
|
13, // 28: greptime.v1.meta.DdlTaskRequest.drop_view_task:type_name -> greptime.v1.meta.DropViewTask
|
|
29, // 29: greptime.v1.meta.DdlTaskResponse.header:type_name -> greptime.v1.meta.ResponseHeader
|
|
30, // 30: greptime.v1.meta.DdlTaskResponse.pid:type_name -> greptime.v1.meta.ProcedureId
|
|
31, // 31: greptime.v1.meta.DdlTaskResponse.table_id:type_name -> greptime.v1.TableId
|
|
31, // 32: greptime.v1.meta.DdlTaskResponse.table_ids:type_name -> greptime.v1.TableId
|
|
33, // [33:33] is the sub-list for method output_type
|
|
33, // [33:33] is the sub-list for method input_type
|
|
33, // [33:33] is the sub-list for extension type_name
|
|
33, // [33:33] is the sub-list for extension extendee
|
|
0, // [0:33] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_greptime_v1_meta_ddl_proto_init() }
|
|
func file_greptime_v1_meta_ddl_proto_init() {
|
|
if File_greptime_v1_meta_ddl_proto != nil {
|
|
return
|
|
}
|
|
file_greptime_v1_meta_common_proto_init()
|
|
file_greptime_v1_meta_route_proto_init()
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_greptime_v1_meta_ddl_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CreateDatabaseTask); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_greptime_v1_meta_ddl_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CreateTableTask); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_greptime_v1_meta_ddl_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CreateTableTasks); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_greptime_v1_meta_ddl_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DropTableTask); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_greptime_v1_meta_ddl_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DropTableTasks); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_greptime_v1_meta_ddl_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AlterTableTask); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_greptime_v1_meta_ddl_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AlterTableTasks); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_greptime_v1_meta_ddl_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TruncateTableTask); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_greptime_v1_meta_ddl_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DropDatabaseTask); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_greptime_v1_meta_ddl_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CreateFlowTask); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_greptime_v1_meta_ddl_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DropFlowTask); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_greptime_v1_meta_ddl_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CreateViewTask); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_greptime_v1_meta_ddl_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DropViewTask); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_greptime_v1_meta_ddl_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DdlTaskRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_greptime_v1_meta_ddl_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DdlTaskResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
file_greptime_v1_meta_ddl_proto_msgTypes[13].OneofWrappers = []interface{}{
|
|
(*DdlTaskRequest_CreateTableTask)(nil),
|
|
(*DdlTaskRequest_DropTableTask)(nil),
|
|
(*DdlTaskRequest_AlterTableTask)(nil),
|
|
(*DdlTaskRequest_TruncateTableTask)(nil),
|
|
(*DdlTaskRequest_CreateTableTasks)(nil),
|
|
(*DdlTaskRequest_DropTableTasks)(nil),
|
|
(*DdlTaskRequest_AlterTableTasks)(nil),
|
|
(*DdlTaskRequest_DropDatabaseTask)(nil),
|
|
(*DdlTaskRequest_CreateDatabaseTask)(nil),
|
|
(*DdlTaskRequest_CreateFlowTask)(nil),
|
|
(*DdlTaskRequest_DropFlowTask)(nil),
|
|
(*DdlTaskRequest_CreateViewTask)(nil),
|
|
(*DdlTaskRequest_DropViewTask)(nil),
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_greptime_v1_meta_ddl_proto_rawDesc,
|
|
NumEnums: 1,
|
|
NumMessages: 15,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_greptime_v1_meta_ddl_proto_goTypes,
|
|
DependencyIndexes: file_greptime_v1_meta_ddl_proto_depIdxs,
|
|
EnumInfos: file_greptime_v1_meta_ddl_proto_enumTypes,
|
|
MessageInfos: file_greptime_v1_meta_ddl_proto_msgTypes,
|
|
}.Build()
|
|
File_greptime_v1_meta_ddl_proto = out.File
|
|
file_greptime_v1_meta_ddl_proto_rawDesc = nil
|
|
file_greptime_v1_meta_ddl_proto_goTypes = nil
|
|
file_greptime_v1_meta_ddl_proto_depIdxs = nil
|
|
}
|