feat: alter database ttl (#203)
* feat: alter database ttl * chore: add ddl task * chore: single task * chore: remove options * feat: add unset database options --------- Co-authored-by: CookiePieWw <profsyb@gmail.com>
This commit is contained in:
+1475
-540
File diff suppressed because it is too large
Load Diff
+1564
-518
File diff suppressed because it is too large
Load Diff
+347
-59
@@ -195,6 +195,19 @@ struct DropViewTaskDefaultTypeInternal {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DropViewTaskDefaultTypeInternal _DropViewTask_default_instance_;
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DropViewTaskDefaultTypeInternal _DropViewTask_default_instance_;
|
||||||
|
PROTOBUF_CONSTEXPR AlterDatabaseTask::AlterDatabaseTask(
|
||||||
|
::_pbi::ConstantInitialized): _impl_{
|
||||||
|
/*decltype(_impl_.task_)*/nullptr
|
||||||
|
, /*decltype(_impl_._cached_size_)*/{}} {}
|
||||||
|
struct AlterDatabaseTaskDefaultTypeInternal {
|
||||||
|
PROTOBUF_CONSTEXPR AlterDatabaseTaskDefaultTypeInternal()
|
||||||
|
: _instance(::_pbi::ConstantInitialized{}) {}
|
||||||
|
~AlterDatabaseTaskDefaultTypeInternal() {}
|
||||||
|
union {
|
||||||
|
AlterDatabaseTask _instance;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AlterDatabaseTaskDefaultTypeInternal _AlterDatabaseTask_default_instance_;
|
||||||
PROTOBUF_CONSTEXPR DdlTaskRequest::DdlTaskRequest(
|
PROTOBUF_CONSTEXPR DdlTaskRequest::DdlTaskRequest(
|
||||||
::_pbi::ConstantInitialized): _impl_{
|
::_pbi::ConstantInitialized): _impl_{
|
||||||
/*decltype(_impl_.header_)*/nullptr
|
/*decltype(_impl_.header_)*/nullptr
|
||||||
@@ -229,7 +242,7 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORIT
|
|||||||
} // namespace meta
|
} // namespace meta
|
||||||
} // namespace v1
|
} // namespace v1
|
||||||
} // namespace greptime
|
} // namespace greptime
|
||||||
static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fmeta_2fddl_2eproto[15];
|
static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fmeta_2fddl_2eproto[16];
|
||||||
static const ::_pb::EnumDescriptor* file_level_enum_descriptors_greptime_2fv1_2fmeta_2fddl_2eproto[1];
|
static const ::_pb::EnumDescriptor* file_level_enum_descriptors_greptime_2fv1_2fmeta_2fddl_2eproto[1];
|
||||||
static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_greptime_2fv1_2fmeta_2fddl_2eproto = nullptr;
|
static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_greptime_2fv1_2fmeta_2fddl_2eproto = nullptr;
|
||||||
|
|
||||||
@@ -329,6 +342,13 @@ const uint32_t TableStruct_greptime_2fv1_2fmeta_2fddl_2eproto::offsets[] PROTOBU
|
|||||||
~0u, // no _inlined_string_donated_
|
~0u, // no _inlined_string_donated_
|
||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::DropViewTask, _impl_.drop_view_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::DropViewTask, _impl_.drop_view_),
|
||||||
~0u, // no _has_bits_
|
~0u, // no _has_bits_
|
||||||
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::AlterDatabaseTask, _internal_metadata_),
|
||||||
|
~0u, // no _extensions_
|
||||||
|
~0u, // no _oneof_case_
|
||||||
|
~0u, // no _weak_field_map_
|
||||||
|
~0u, // no _inlined_string_donated_
|
||||||
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::AlterDatabaseTask, _impl_.task_),
|
||||||
|
~0u, // no _has_bits_
|
||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::DdlTaskRequest, _internal_metadata_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::DdlTaskRequest, _internal_metadata_),
|
||||||
~0u, // no _extensions_
|
~0u, // no _extensions_
|
||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::DdlTaskRequest, _impl_._oneof_case_[0]),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::DdlTaskRequest, _impl_._oneof_case_[0]),
|
||||||
@@ -349,6 +369,7 @@ const uint32_t TableStruct_greptime_2fv1_2fmeta_2fddl_2eproto::offsets[] PROTOBU
|
|||||||
::_pbi::kInvalidFieldOffsetTag,
|
::_pbi::kInvalidFieldOffsetTag,
|
||||||
::_pbi::kInvalidFieldOffsetTag,
|
::_pbi::kInvalidFieldOffsetTag,
|
||||||
::_pbi::kInvalidFieldOffsetTag,
|
::_pbi::kInvalidFieldOffsetTag,
|
||||||
|
::_pbi::kInvalidFieldOffsetTag,
|
||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::DdlTaskRequest, _impl_.task_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::DdlTaskRequest, _impl_.task_),
|
||||||
~0u, // no _has_bits_
|
~0u, // no _has_bits_
|
||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::DdlTaskResponse, _internal_metadata_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::DdlTaskResponse, _internal_metadata_),
|
||||||
@@ -374,8 +395,9 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode
|
|||||||
{ 72, -1, -1, sizeof(::greptime::v1::meta::DropFlowTask)},
|
{ 72, -1, -1, sizeof(::greptime::v1::meta::DropFlowTask)},
|
||||||
{ 79, -1, -1, sizeof(::greptime::v1::meta::CreateViewTask)},
|
{ 79, -1, -1, sizeof(::greptime::v1::meta::CreateViewTask)},
|
||||||
{ 87, -1, -1, sizeof(::greptime::v1::meta::DropViewTask)},
|
{ 87, -1, -1, sizeof(::greptime::v1::meta::DropViewTask)},
|
||||||
{ 94, -1, -1, sizeof(::greptime::v1::meta::DdlTaskRequest)},
|
{ 94, -1, -1, sizeof(::greptime::v1::meta::AlterDatabaseTask)},
|
||||||
{ 116, -1, -1, sizeof(::greptime::v1::meta::DdlTaskResponse)},
|
{ 101, -1, -1, sizeof(::greptime::v1::meta::DdlTaskRequest)},
|
||||||
|
{ 124, -1, -1, sizeof(::greptime::v1::meta::DdlTaskResponse)},
|
||||||
};
|
};
|
||||||
|
|
||||||
static const ::_pb::Message* const file_default_instances[] = {
|
static const ::_pb::Message* const file_default_instances[] = {
|
||||||
@@ -392,6 +414,7 @@ static const ::_pb::Message* const file_default_instances[] = {
|
|||||||
&::greptime::v1::meta::_DropFlowTask_default_instance_._instance,
|
&::greptime::v1::meta::_DropFlowTask_default_instance_._instance,
|
||||||
&::greptime::v1::meta::_CreateViewTask_default_instance_._instance,
|
&::greptime::v1::meta::_CreateViewTask_default_instance_._instance,
|
||||||
&::greptime::v1::meta::_DropViewTask_default_instance_._instance,
|
&::greptime::v1::meta::_DropViewTask_default_instance_._instance,
|
||||||
|
&::greptime::v1::meta::_AlterDatabaseTask_default_instance_._instance,
|
||||||
&::greptime::v1::meta::_DdlTaskRequest_default_instance_._instance,
|
&::greptime::v1::meta::_DdlTaskRequest_default_instance_._instance,
|
||||||
&::greptime::v1::meta::_DdlTaskResponse_default_instance_._instance,
|
&::greptime::v1::meta::_DdlTaskResponse_default_instance_._instance,
|
||||||
};
|
};
|
||||||
@@ -411,51 +434,55 @@ const char descriptor_table_protodef_greptime_2fv1_2fmeta_2fddl_2eproto[] PROTOB
|
|||||||
"bleTask\"\?\n\rDropTableTask\022.\n\ndrop_table\030\001"
|
"bleTask\"\?\n\rDropTableTask\022.\n\ndrop_table\030\001"
|
||||||
" \001(\0132\032.greptime.v1.DropTableExpr\"@\n\016Drop"
|
" \001(\0132\032.greptime.v1.DropTableExpr\"@\n\016Drop"
|
||||||
"TableTasks\022.\n\005tasks\030\001 \003(\0132\037.greptime.v1."
|
"TableTasks\022.\n\005tasks\030\001 \003(\0132\037.greptime.v1."
|
||||||
"meta.DropTableTask\"=\n\016AlterTableTask\022+\n\013"
|
"meta.DropTableTask\"B\n\016AlterTableTask\0220\n\013"
|
||||||
"alter_table\030\001 \001(\0132\026.greptime.v1.AlterExp"
|
"alter_table\030\001 \001(\0132\033.greptime.v1.AlterTab"
|
||||||
"r\"B\n\017AlterTableTasks\022/\n\005tasks\030\001 \003(\0132 .gr"
|
"leExpr\"B\n\017AlterTableTasks\022/\n\005tasks\030\001 \003(\013"
|
||||||
"eptime.v1.meta.AlterTableTask\"K\n\021Truncat"
|
"2 .greptime.v1.meta.AlterTableTask\"K\n\021Tr"
|
||||||
"eTableTask\0226\n\016truncate_table\030\001 \001(\0132\036.gre"
|
"uncateTableTask\0226\n\016truncate_table\030\001 \001(\0132"
|
||||||
"ptime.v1.TruncateTableExpr\"H\n\020DropDataba"
|
"\036.greptime.v1.TruncateTableExpr\"H\n\020DropD"
|
||||||
"seTask\0224\n\rdrop_database\030\001 \001(\0132\035.greptime"
|
"atabaseTask\0224\n\rdrop_database\030\001 \001(\0132\035.gre"
|
||||||
".v1.DropDatabaseExpr\"B\n\016CreateFlowTask\0220"
|
"ptime.v1.DropDatabaseExpr\"B\n\016CreateFlowT"
|
||||||
"\n\013create_flow\030\001 \001(\0132\033.greptime.v1.Create"
|
"ask\0220\n\013create_flow\030\001 \001(\0132\033.greptime.v1.C"
|
||||||
"FlowExpr\"<\n\014DropFlowTask\022,\n\tdrop_flow\030\001 "
|
"reateFlowExpr\"<\n\014DropFlowTask\022,\n\tdrop_fl"
|
||||||
"\001(\0132\031.greptime.v1.DropFlowExpr\"U\n\016Create"
|
"ow\030\001 \001(\0132\031.greptime.v1.DropFlowExpr\"U\n\016C"
|
||||||
"ViewTask\0220\n\013create_view\030\001 \001(\0132\033.greptime"
|
"reateViewTask\0220\n\013create_view\030\001 \001(\0132\033.gre"
|
||||||
".v1.CreateViewExpr\022\021\n\tview_info\030\002 \001(\014\"<\n"
|
"ptime.v1.CreateViewExpr\022\021\n\tview_info\030\002 \001"
|
||||||
"\014DropViewTask\022,\n\tdrop_view\030\001 \001(\0132\031.grept"
|
"(\014\"<\n\014DropViewTask\022,\n\tdrop_view\030\001 \001(\0132\031."
|
||||||
"ime.v1.DropViewExpr\"\261\007\n\016DdlTaskRequest\022/"
|
"greptime.v1.DropViewExpr\"A\n\021AlterDatabas"
|
||||||
"\n\006header\030\001 \001(\0132\037.greptime.v1.meta.Reques"
|
"eTask\022,\n\004task\030\001 \001(\0132\036.greptime.v1.AlterD"
|
||||||
"tHeader\0220\n\rquery_context\030@ \001(\0132\031.greptim"
|
"atabaseExpr\"\365\007\n\016DdlTaskRequest\022/\n\006header"
|
||||||
"e.v1.QueryContext\022>\n\021create_table_task\030\002"
|
"\030\001 \001(\0132\037.greptime.v1.meta.RequestHeader\022"
|
||||||
" \001(\0132!.greptime.v1.meta.CreateTableTaskH"
|
"0\n\rquery_context\030@ \001(\0132\031.greptime.v1.Que"
|
||||||
"\000\022:\n\017drop_table_task\030\003 \001(\0132\037.greptime.v1"
|
"ryContext\022>\n\021create_table_task\030\002 \001(\0132!.g"
|
||||||
".meta.DropTableTaskH\000\022<\n\020alter_table_tas"
|
"reptime.v1.meta.CreateTableTaskH\000\022:\n\017dro"
|
||||||
"k\030\004 \001(\0132 .greptime.v1.meta.AlterTableTas"
|
"p_table_task\030\003 \001(\0132\037.greptime.v1.meta.Dr"
|
||||||
"kH\000\022B\n\023truncate_table_task\030\005 \001(\0132#.grept"
|
"opTableTaskH\000\022<\n\020alter_table_task\030\004 \001(\0132"
|
||||||
"ime.v1.meta.TruncateTableTaskH\000\022@\n\022creat"
|
" .greptime.v1.meta.AlterTableTaskH\000\022B\n\023t"
|
||||||
"e_table_tasks\030\006 \001(\0132\".greptime.v1.meta.C"
|
"runcate_table_task\030\005 \001(\0132#.greptime.v1.m"
|
||||||
"reateTableTasksH\000\022<\n\020drop_table_tasks\030\007 "
|
"eta.TruncateTableTaskH\000\022@\n\022create_table_"
|
||||||
"\001(\0132 .greptime.v1.meta.DropTableTasksH\000\022"
|
"tasks\030\006 \001(\0132\".greptime.v1.meta.CreateTab"
|
||||||
">\n\021alter_table_tasks\030\010 \001(\0132!.greptime.v1"
|
"leTasksH\000\022<\n\020drop_table_tasks\030\007 \001(\0132 .gr"
|
||||||
".meta.AlterTableTasksH\000\022@\n\022drop_database"
|
"eptime.v1.meta.DropTableTasksH\000\022>\n\021alter"
|
||||||
"_task\030\t \001(\0132\".greptime.v1.meta.DropDatab"
|
"_table_tasks\030\010 \001(\0132!.greptime.v1.meta.Al"
|
||||||
"aseTaskH\000\022D\n\024create_database_task\030\n \001(\0132"
|
"terTableTasksH\000\022@\n\022drop_database_task\030\t "
|
||||||
"$.greptime.v1.meta.CreateDatabaseTaskH\000\022"
|
"\001(\0132\".greptime.v1.meta.DropDatabaseTaskH"
|
||||||
"<\n\020create_flow_task\030\013 \001(\0132 .greptime.v1."
|
"\000\022D\n\024create_database_task\030\n \001(\0132$.grepti"
|
||||||
"meta.CreateFlowTaskH\000\0228\n\016drop_flow_task\030"
|
"me.v1.meta.CreateDatabaseTaskH\000\022<\n\020creat"
|
||||||
"\014 \001(\0132\036.greptime.v1.meta.DropFlowTaskH\000\022"
|
"e_flow_task\030\013 \001(\0132 .greptime.v1.meta.Cre"
|
||||||
"<\n\020create_view_task\030\r \001(\0132 .greptime.v1."
|
"ateFlowTaskH\000\0228\n\016drop_flow_task\030\014 \001(\0132\036."
|
||||||
"meta.CreateViewTaskH\000\0228\n\016drop_view_task\030"
|
"greptime.v1.meta.DropFlowTaskH\000\022<\n\020creat"
|
||||||
"\016 \001(\0132\036.greptime.v1.meta.DropViewTaskH\000B"
|
"e_view_task\030\r \001(\0132 .greptime.v1.meta.Cre"
|
||||||
"\006\n\004task\"\230\001\n\017DdlTaskResponse\0220\n\006header\030\001 "
|
"ateViewTaskH\000\0228\n\016drop_view_task\030\016 \001(\0132\036."
|
||||||
"\001(\0132 .greptime.v1.meta.ResponseHeader\022*\n"
|
"greptime.v1.meta.DropViewTaskH\000\022B\n\023alter"
|
||||||
"\003pid\030\002 \001(\0132\035.greptime.v1.meta.ProcedureI"
|
"_database_task\030\017 \001(\0132#.greptime.v1.meta."
|
||||||
"d\022\'\n\ttable_ids\030\005 \003(\0132\024.greptime.v1.Table"
|
"AlterDatabaseTaskH\000B\006\n\004task\"\230\001\n\017DdlTaskR"
|
||||||
"Id*#\n\013DdlTaskType\022\n\n\006Create\020\000\022\010\n\004Drop\020\001B"
|
"esponse\0220\n\006header\030\001 \001(\0132 .greptime.v1.me"
|
||||||
"<Z:github.com/GreptimeTeam/greptime-prot"
|
"ta.ResponseHeader\022*\n\003pid\030\002 \001(\0132\035.greptim"
|
||||||
"o/go/greptime/v1/metab\006proto3"
|
"e.v1.meta.ProcedureId\022\'\n\ttable_ids\030\005 \003(\013"
|
||||||
|
"2\024.greptime.v1.TableId*#\n\013DdlTaskType\022\n\n"
|
||||||
|
"\006Create\020\000\022\010\n\004Drop\020\001B<Z:github.com/Grepti"
|
||||||
|
"meTeam/greptime-proto/go/greptime/v1/met"
|
||||||
|
"ab\006proto3"
|
||||||
;
|
;
|
||||||
static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_deps[4] = {
|
static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_deps[4] = {
|
||||||
&::descriptor_table_greptime_2fv1_2fcommon_2eproto,
|
&::descriptor_table_greptime_2fv1_2fcommon_2eproto,
|
||||||
@@ -465,9 +492,9 @@ static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fmet
|
|||||||
};
|
};
|
||||||
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_once;
|
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_once;
|
||||||
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto = {
|
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto = {
|
||||||
false, false, 2349, descriptor_table_protodef_greptime_2fv1_2fmeta_2fddl_2eproto,
|
false, false, 2489, descriptor_table_protodef_greptime_2fv1_2fmeta_2fddl_2eproto,
|
||||||
"greptime/v1/meta/ddl.proto",
|
"greptime/v1/meta/ddl.proto",
|
||||||
&descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_once, descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_deps, 4, 15,
|
&descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_once, descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_deps, 4, 16,
|
||||||
schemas, file_default_instances, TableStruct_greptime_2fv1_2fmeta_2fddl_2eproto::offsets,
|
schemas, file_default_instances, TableStruct_greptime_2fv1_2fmeta_2fddl_2eproto::offsets,
|
||||||
file_level_metadata_greptime_2fv1_2fmeta_2fddl_2eproto, file_level_enum_descriptors_greptime_2fv1_2fmeta_2fddl_2eproto,
|
file_level_metadata_greptime_2fv1_2fmeta_2fddl_2eproto, file_level_enum_descriptors_greptime_2fv1_2fmeta_2fddl_2eproto,
|
||||||
file_level_service_descriptors_greptime_2fv1_2fmeta_2fddl_2eproto,
|
file_level_service_descriptors_greptime_2fv1_2fmeta_2fddl_2eproto,
|
||||||
@@ -1551,10 +1578,10 @@ void DropTableTasks::InternalSwap(DropTableTasks* other) {
|
|||||||
|
|
||||||
class AlterTableTask::_Internal {
|
class AlterTableTask::_Internal {
|
||||||
public:
|
public:
|
||||||
static const ::greptime::v1::AlterExpr& alter_table(const AlterTableTask* msg);
|
static const ::greptime::v1::AlterTableExpr& alter_table(const AlterTableTask* msg);
|
||||||
};
|
};
|
||||||
|
|
||||||
const ::greptime::v1::AlterExpr&
|
const ::greptime::v1::AlterTableExpr&
|
||||||
AlterTableTask::_Internal::alter_table(const AlterTableTask* msg) {
|
AlterTableTask::_Internal::alter_table(const AlterTableTask* msg) {
|
||||||
return *msg->_impl_.alter_table_;
|
return *msg->_impl_.alter_table_;
|
||||||
}
|
}
|
||||||
@@ -1579,7 +1606,7 @@ AlterTableTask::AlterTableTask(const AlterTableTask& from)
|
|||||||
|
|
||||||
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||||
if (from._internal_has_alter_table()) {
|
if (from._internal_has_alter_table()) {
|
||||||
_this->_impl_.alter_table_ = new ::greptime::v1::AlterExpr(*from._impl_.alter_table_);
|
_this->_impl_.alter_table_ = new ::greptime::v1::AlterTableExpr(*from._impl_.alter_table_);
|
||||||
}
|
}
|
||||||
// @@protoc_insertion_point(copy_constructor:greptime.v1.meta.AlterTableTask)
|
// @@protoc_insertion_point(copy_constructor:greptime.v1.meta.AlterTableTask)
|
||||||
}
|
}
|
||||||
@@ -1631,7 +1658,7 @@ const char* AlterTableTask::_InternalParse(const char* ptr, ::_pbi::ParseContext
|
|||||||
uint32_t tag;
|
uint32_t tag;
|
||||||
ptr = ::_pbi::ReadTag(ptr, &tag);
|
ptr = ::_pbi::ReadTag(ptr, &tag);
|
||||||
switch (tag >> 3) {
|
switch (tag >> 3) {
|
||||||
// .greptime.v1.AlterExpr alter_table = 1;
|
// .greptime.v1.AlterTableExpr alter_table = 1;
|
||||||
case 1:
|
case 1:
|
||||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
|
||||||
ptr = ctx->ParseMessage(_internal_mutable_alter_table(), ptr);
|
ptr = ctx->ParseMessage(_internal_mutable_alter_table(), ptr);
|
||||||
@@ -1668,7 +1695,7 @@ uint8_t* AlterTableTask::_InternalSerialize(
|
|||||||
uint32_t cached_has_bits = 0;
|
uint32_t cached_has_bits = 0;
|
||||||
(void) cached_has_bits;
|
(void) cached_has_bits;
|
||||||
|
|
||||||
// .greptime.v1.AlterExpr alter_table = 1;
|
// .greptime.v1.AlterTableExpr alter_table = 1;
|
||||||
if (this->_internal_has_alter_table()) {
|
if (this->_internal_has_alter_table()) {
|
||||||
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||||
InternalWriteMessage(1, _Internal::alter_table(this),
|
InternalWriteMessage(1, _Internal::alter_table(this),
|
||||||
@@ -1691,7 +1718,7 @@ size_t AlterTableTask::ByteSizeLong() const {
|
|||||||
// Prevent compiler warnings about cached_has_bits being unused
|
// Prevent compiler warnings about cached_has_bits being unused
|
||||||
(void) cached_has_bits;
|
(void) cached_has_bits;
|
||||||
|
|
||||||
// .greptime.v1.AlterExpr alter_table = 1;
|
// .greptime.v1.AlterTableExpr alter_table = 1;
|
||||||
if (this->_internal_has_alter_table()) {
|
if (this->_internal_has_alter_table()) {
|
||||||
total_size += 1 +
|
total_size += 1 +
|
||||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
|
||||||
@@ -1717,7 +1744,7 @@ void AlterTableTask::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const :
|
|||||||
(void) cached_has_bits;
|
(void) cached_has_bits;
|
||||||
|
|
||||||
if (from._internal_has_alter_table()) {
|
if (from._internal_has_alter_table()) {
|
||||||
_this->_internal_mutable_alter_table()->::greptime::v1::AlterExpr::MergeFrom(
|
_this->_internal_mutable_alter_table()->::greptime::v1::AlterTableExpr::MergeFrom(
|
||||||
from._internal_alter_table());
|
from._internal_alter_table());
|
||||||
}
|
}
|
||||||
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||||
@@ -3174,6 +3201,205 @@ void DropViewTask::InternalSwap(DropViewTask* other) {
|
|||||||
|
|
||||||
// ===================================================================
|
// ===================================================================
|
||||||
|
|
||||||
|
class AlterDatabaseTask::_Internal {
|
||||||
|
public:
|
||||||
|
static const ::greptime::v1::AlterDatabaseExpr& task(const AlterDatabaseTask* msg);
|
||||||
|
};
|
||||||
|
|
||||||
|
const ::greptime::v1::AlterDatabaseExpr&
|
||||||
|
AlterDatabaseTask::_Internal::task(const AlterDatabaseTask* msg) {
|
||||||
|
return *msg->_impl_.task_;
|
||||||
|
}
|
||||||
|
void AlterDatabaseTask::clear_task() {
|
||||||
|
if (GetArenaForAllocation() == nullptr && _impl_.task_ != nullptr) {
|
||||||
|
delete _impl_.task_;
|
||||||
|
}
|
||||||
|
_impl_.task_ = nullptr;
|
||||||
|
}
|
||||||
|
AlterDatabaseTask::AlterDatabaseTask(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||||
|
bool is_message_owned)
|
||||||
|
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
|
||||||
|
SharedCtor(arena, is_message_owned);
|
||||||
|
// @@protoc_insertion_point(arena_constructor:greptime.v1.meta.AlterDatabaseTask)
|
||||||
|
}
|
||||||
|
AlterDatabaseTask::AlterDatabaseTask(const AlterDatabaseTask& from)
|
||||||
|
: ::PROTOBUF_NAMESPACE_ID::Message() {
|
||||||
|
AlterDatabaseTask* const _this = this; (void)_this;
|
||||||
|
new (&_impl_) Impl_{
|
||||||
|
decltype(_impl_.task_){nullptr}
|
||||||
|
, /*decltype(_impl_._cached_size_)*/{}};
|
||||||
|
|
||||||
|
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||||
|
if (from._internal_has_task()) {
|
||||||
|
_this->_impl_.task_ = new ::greptime::v1::AlterDatabaseExpr(*from._impl_.task_);
|
||||||
|
}
|
||||||
|
// @@protoc_insertion_point(copy_constructor:greptime.v1.meta.AlterDatabaseTask)
|
||||||
|
}
|
||||||
|
|
||||||
|
inline void AlterDatabaseTask::SharedCtor(
|
||||||
|
::_pb::Arena* arena, bool is_message_owned) {
|
||||||
|
(void)arena;
|
||||||
|
(void)is_message_owned;
|
||||||
|
new (&_impl_) Impl_{
|
||||||
|
decltype(_impl_.task_){nullptr}
|
||||||
|
, /*decltype(_impl_._cached_size_)*/{}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
AlterDatabaseTask::~AlterDatabaseTask() {
|
||||||
|
// @@protoc_insertion_point(destructor:greptime.v1.meta.AlterDatabaseTask)
|
||||||
|
if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
|
||||||
|
(void)arena;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
SharedDtor();
|
||||||
|
}
|
||||||
|
|
||||||
|
inline void AlterDatabaseTask::SharedDtor() {
|
||||||
|
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
|
||||||
|
if (this != internal_default_instance()) delete _impl_.task_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void AlterDatabaseTask::SetCachedSize(int size) const {
|
||||||
|
_impl_._cached_size_.Set(size);
|
||||||
|
}
|
||||||
|
|
||||||
|
void AlterDatabaseTask::Clear() {
|
||||||
|
// @@protoc_insertion_point(message_clear_start:greptime.v1.meta.AlterDatabaseTask)
|
||||||
|
uint32_t cached_has_bits = 0;
|
||||||
|
// Prevent compiler warnings about cached_has_bits being unused
|
||||||
|
(void) cached_has_bits;
|
||||||
|
|
||||||
|
if (GetArenaForAllocation() == nullptr && _impl_.task_ != nullptr) {
|
||||||
|
delete _impl_.task_;
|
||||||
|
}
|
||||||
|
_impl_.task_ = nullptr;
|
||||||
|
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
||||||
|
}
|
||||||
|
|
||||||
|
const char* AlterDatabaseTask::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
|
||||||
|
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
|
||||||
|
while (!ctx->Done(&ptr)) {
|
||||||
|
uint32_t tag;
|
||||||
|
ptr = ::_pbi::ReadTag(ptr, &tag);
|
||||||
|
switch (tag >> 3) {
|
||||||
|
// .greptime.v1.AlterDatabaseExpr task = 1;
|
||||||
|
case 1:
|
||||||
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
|
||||||
|
ptr = ctx->ParseMessage(_internal_mutable_task(), ptr);
|
||||||
|
CHK_(ptr);
|
||||||
|
} else
|
||||||
|
goto handle_unusual;
|
||||||
|
continue;
|
||||||
|
default:
|
||||||
|
goto handle_unusual;
|
||||||
|
} // switch
|
||||||
|
handle_unusual:
|
||||||
|
if ((tag == 0) || ((tag & 7) == 4)) {
|
||||||
|
CHK_(ptr);
|
||||||
|
ctx->SetLastTag(tag);
|
||||||
|
goto message_done;
|
||||||
|
}
|
||||||
|
ptr = UnknownFieldParse(
|
||||||
|
tag,
|
||||||
|
_internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
|
||||||
|
ptr, ctx);
|
||||||
|
CHK_(ptr != nullptr);
|
||||||
|
} // while
|
||||||
|
message_done:
|
||||||
|
return ptr;
|
||||||
|
failure:
|
||||||
|
ptr = nullptr;
|
||||||
|
goto message_done;
|
||||||
|
#undef CHK_
|
||||||
|
}
|
||||||
|
|
||||||
|
uint8_t* AlterDatabaseTask::_InternalSerialize(
|
||||||
|
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
|
||||||
|
// @@protoc_insertion_point(serialize_to_array_start:greptime.v1.meta.AlterDatabaseTask)
|
||||||
|
uint32_t cached_has_bits = 0;
|
||||||
|
(void) cached_has_bits;
|
||||||
|
|
||||||
|
// .greptime.v1.AlterDatabaseExpr task = 1;
|
||||||
|
if (this->_internal_has_task()) {
|
||||||
|
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||||
|
InternalWriteMessage(1, _Internal::task(this),
|
||||||
|
_Internal::task(this).GetCachedSize(), target, stream);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
||||||
|
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
||||||
|
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
|
||||||
|
}
|
||||||
|
// @@protoc_insertion_point(serialize_to_array_end:greptime.v1.meta.AlterDatabaseTask)
|
||||||
|
return target;
|
||||||
|
}
|
||||||
|
|
||||||
|
size_t AlterDatabaseTask::ByteSizeLong() const {
|
||||||
|
// @@protoc_insertion_point(message_byte_size_start:greptime.v1.meta.AlterDatabaseTask)
|
||||||
|
size_t total_size = 0;
|
||||||
|
|
||||||
|
uint32_t cached_has_bits = 0;
|
||||||
|
// Prevent compiler warnings about cached_has_bits being unused
|
||||||
|
(void) cached_has_bits;
|
||||||
|
|
||||||
|
// .greptime.v1.AlterDatabaseExpr task = 1;
|
||||||
|
if (this->_internal_has_task()) {
|
||||||
|
total_size += 1 +
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
|
||||||
|
*_impl_.task_);
|
||||||
|
}
|
||||||
|
|
||||||
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
||||||
|
}
|
||||||
|
|
||||||
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AlterDatabaseTask::_class_data_ = {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
|
||||||
|
AlterDatabaseTask::MergeImpl
|
||||||
|
};
|
||||||
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AlterDatabaseTask::GetClassData() const { return &_class_data_; }
|
||||||
|
|
||||||
|
|
||||||
|
void AlterDatabaseTask::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
|
||||||
|
auto* const _this = static_cast<AlterDatabaseTask*>(&to_msg);
|
||||||
|
auto& from = static_cast<const AlterDatabaseTask&>(from_msg);
|
||||||
|
// @@protoc_insertion_point(class_specific_merge_from_start:greptime.v1.meta.AlterDatabaseTask)
|
||||||
|
GOOGLE_DCHECK_NE(&from, _this);
|
||||||
|
uint32_t cached_has_bits = 0;
|
||||||
|
(void) cached_has_bits;
|
||||||
|
|
||||||
|
if (from._internal_has_task()) {
|
||||||
|
_this->_internal_mutable_task()->::greptime::v1::AlterDatabaseExpr::MergeFrom(
|
||||||
|
from._internal_task());
|
||||||
|
}
|
||||||
|
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||||
|
}
|
||||||
|
|
||||||
|
void AlterDatabaseTask::CopyFrom(const AlterDatabaseTask& from) {
|
||||||
|
// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.meta.AlterDatabaseTask)
|
||||||
|
if (&from == this) return;
|
||||||
|
Clear();
|
||||||
|
MergeFrom(from);
|
||||||
|
}
|
||||||
|
|
||||||
|
bool AlterDatabaseTask::IsInitialized() const {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
void AlterDatabaseTask::InternalSwap(AlterDatabaseTask* other) {
|
||||||
|
using std::swap;
|
||||||
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
||||||
|
swap(_impl_.task_, other->_impl_.task_);
|
||||||
|
}
|
||||||
|
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Metadata AlterDatabaseTask::GetMetadata() const {
|
||||||
|
return ::_pbi::AssignDescriptors(
|
||||||
|
&descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_getter, &descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_once,
|
||||||
|
file_level_metadata_greptime_2fv1_2fmeta_2fddl_2eproto[13]);
|
||||||
|
}
|
||||||
|
|
||||||
|
// ===================================================================
|
||||||
|
|
||||||
class DdlTaskRequest::_Internal {
|
class DdlTaskRequest::_Internal {
|
||||||
public:
|
public:
|
||||||
static const ::greptime::v1::meta::RequestHeader& header(const DdlTaskRequest* msg);
|
static const ::greptime::v1::meta::RequestHeader& header(const DdlTaskRequest* msg);
|
||||||
@@ -3191,6 +3417,7 @@ class DdlTaskRequest::_Internal {
|
|||||||
static const ::greptime::v1::meta::DropFlowTask& drop_flow_task(const DdlTaskRequest* msg);
|
static const ::greptime::v1::meta::DropFlowTask& drop_flow_task(const DdlTaskRequest* msg);
|
||||||
static const ::greptime::v1::meta::CreateViewTask& create_view_task(const DdlTaskRequest* msg);
|
static const ::greptime::v1::meta::CreateViewTask& create_view_task(const DdlTaskRequest* msg);
|
||||||
static const ::greptime::v1::meta::DropViewTask& drop_view_task(const DdlTaskRequest* msg);
|
static const ::greptime::v1::meta::DropViewTask& drop_view_task(const DdlTaskRequest* msg);
|
||||||
|
static const ::greptime::v1::meta::AlterDatabaseTask& alter_database_task(const DdlTaskRequest* msg);
|
||||||
};
|
};
|
||||||
|
|
||||||
const ::greptime::v1::meta::RequestHeader&
|
const ::greptime::v1::meta::RequestHeader&
|
||||||
@@ -3253,6 +3480,10 @@ const ::greptime::v1::meta::DropViewTask&
|
|||||||
DdlTaskRequest::_Internal::drop_view_task(const DdlTaskRequest* msg) {
|
DdlTaskRequest::_Internal::drop_view_task(const DdlTaskRequest* msg) {
|
||||||
return *msg->_impl_.task_.drop_view_task_;
|
return *msg->_impl_.task_.drop_view_task_;
|
||||||
}
|
}
|
||||||
|
const ::greptime::v1::meta::AlterDatabaseTask&
|
||||||
|
DdlTaskRequest::_Internal::alter_database_task(const DdlTaskRequest* msg) {
|
||||||
|
return *msg->_impl_.task_.alter_database_task_;
|
||||||
|
}
|
||||||
void DdlTaskRequest::clear_header() {
|
void DdlTaskRequest::clear_header() {
|
||||||
if (GetArenaForAllocation() == nullptr && _impl_.header_ != nullptr) {
|
if (GetArenaForAllocation() == nullptr && _impl_.header_ != nullptr) {
|
||||||
delete _impl_.header_;
|
delete _impl_.header_;
|
||||||
@@ -3460,6 +3691,21 @@ void DdlTaskRequest::set_allocated_drop_view_task(::greptime::v1::meta::DropView
|
|||||||
}
|
}
|
||||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.DdlTaskRequest.drop_view_task)
|
// @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.DdlTaskRequest.drop_view_task)
|
||||||
}
|
}
|
||||||
|
void DdlTaskRequest::set_allocated_alter_database_task(::greptime::v1::meta::AlterDatabaseTask* alter_database_task) {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||||
|
clear_task();
|
||||||
|
if (alter_database_task) {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(alter_database_task);
|
||||||
|
if (message_arena != submessage_arena) {
|
||||||
|
alter_database_task = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
||||||
|
message_arena, alter_database_task, submessage_arena);
|
||||||
|
}
|
||||||
|
set_has_alter_database_task();
|
||||||
|
_impl_.task_.alter_database_task_ = alter_database_task;
|
||||||
|
}
|
||||||
|
// @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.DdlTaskRequest.alter_database_task)
|
||||||
|
}
|
||||||
DdlTaskRequest::DdlTaskRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
DdlTaskRequest::DdlTaskRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||||
bool is_message_owned)
|
bool is_message_owned)
|
||||||
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
|
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
|
||||||
@@ -3550,6 +3796,11 @@ DdlTaskRequest::DdlTaskRequest(const DdlTaskRequest& from)
|
|||||||
from._internal_drop_view_task());
|
from._internal_drop_view_task());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case kAlterDatabaseTask: {
|
||||||
|
_this->_internal_mutable_alter_database_task()->::greptime::v1::meta::AlterDatabaseTask::MergeFrom(
|
||||||
|
from._internal_alter_database_task());
|
||||||
|
break;
|
||||||
|
}
|
||||||
case TASK_NOT_SET: {
|
case TASK_NOT_SET: {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -3674,6 +3925,12 @@ void DdlTaskRequest::clear_task() {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case kAlterDatabaseTask: {
|
||||||
|
if (GetArenaForAllocation() == nullptr) {
|
||||||
|
delete _impl_.task_.alter_database_task_;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
case TASK_NOT_SET: {
|
case TASK_NOT_SET: {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -3818,6 +4075,14 @@ const char* DdlTaskRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext
|
|||||||
} else
|
} else
|
||||||
goto handle_unusual;
|
goto handle_unusual;
|
||||||
continue;
|
continue;
|
||||||
|
// .greptime.v1.meta.AlterDatabaseTask alter_database_task = 15;
|
||||||
|
case 15:
|
||||||
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 122)) {
|
||||||
|
ptr = ctx->ParseMessage(_internal_mutable_alter_database_task(), ptr);
|
||||||
|
CHK_(ptr);
|
||||||
|
} else
|
||||||
|
goto handle_unusual;
|
||||||
|
continue;
|
||||||
// .greptime.v1.QueryContext query_context = 64;
|
// .greptime.v1.QueryContext query_context = 64;
|
||||||
case 64:
|
case 64:
|
||||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 2)) {
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 2)) {
|
||||||
@@ -3953,6 +4218,13 @@ uint8_t* DdlTaskRequest::_InternalSerialize(
|
|||||||
_Internal::drop_view_task(this).GetCachedSize(), target, stream);
|
_Internal::drop_view_task(this).GetCachedSize(), target, stream);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// .greptime.v1.meta.AlterDatabaseTask alter_database_task = 15;
|
||||||
|
if (_internal_has_alter_database_task()) {
|
||||||
|
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||||
|
InternalWriteMessage(15, _Internal::alter_database_task(this),
|
||||||
|
_Internal::alter_database_task(this).GetCachedSize(), target, stream);
|
||||||
|
}
|
||||||
|
|
||||||
// .greptime.v1.QueryContext query_context = 64;
|
// .greptime.v1.QueryContext query_context = 64;
|
||||||
if (this->_internal_has_query_context()) {
|
if (this->_internal_has_query_context()) {
|
||||||
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||||
@@ -4082,6 +4354,13 @@ size_t DdlTaskRequest::ByteSizeLong() const {
|
|||||||
*_impl_.task_.drop_view_task_);
|
*_impl_.task_.drop_view_task_);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
// .greptime.v1.meta.AlterDatabaseTask alter_database_task = 15;
|
||||||
|
case kAlterDatabaseTask: {
|
||||||
|
total_size += 1 +
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
|
||||||
|
*_impl_.task_.alter_database_task_);
|
||||||
|
break;
|
||||||
|
}
|
||||||
case TASK_NOT_SET: {
|
case TASK_NOT_SET: {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -4178,6 +4457,11 @@ void DdlTaskRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const :
|
|||||||
from._internal_drop_view_task());
|
from._internal_drop_view_task());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case kAlterDatabaseTask: {
|
||||||
|
_this->_internal_mutable_alter_database_task()->::greptime::v1::meta::AlterDatabaseTask::MergeFrom(
|
||||||
|
from._internal_alter_database_task());
|
||||||
|
break;
|
||||||
|
}
|
||||||
case TASK_NOT_SET: {
|
case TASK_NOT_SET: {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -4212,7 +4496,7 @@ void DdlTaskRequest::InternalSwap(DdlTaskRequest* other) {
|
|||||||
::PROTOBUF_NAMESPACE_ID::Metadata DdlTaskRequest::GetMetadata() const {
|
::PROTOBUF_NAMESPACE_ID::Metadata DdlTaskRequest::GetMetadata() const {
|
||||||
return ::_pbi::AssignDescriptors(
|
return ::_pbi::AssignDescriptors(
|
||||||
&descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_getter, &descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_once,
|
&descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_getter, &descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_once,
|
||||||
file_level_metadata_greptime_2fv1_2fmeta_2fddl_2eproto[13]);
|
file_level_metadata_greptime_2fv1_2fmeta_2fddl_2eproto[14]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ===================================================================
|
// ===================================================================
|
||||||
@@ -4500,7 +4784,7 @@ void DdlTaskResponse::InternalSwap(DdlTaskResponse* other) {
|
|||||||
::PROTOBUF_NAMESPACE_ID::Metadata DdlTaskResponse::GetMetadata() const {
|
::PROTOBUF_NAMESPACE_ID::Metadata DdlTaskResponse::GetMetadata() const {
|
||||||
return ::_pbi::AssignDescriptors(
|
return ::_pbi::AssignDescriptors(
|
||||||
&descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_getter, &descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_once,
|
&descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_getter, &descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_once,
|
||||||
file_level_metadata_greptime_2fv1_2fmeta_2fddl_2eproto[14]);
|
file_level_metadata_greptime_2fv1_2fmeta_2fddl_2eproto[15]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// @@protoc_insertion_point(namespace_scope)
|
// @@protoc_insertion_point(namespace_scope)
|
||||||
@@ -4560,6 +4844,10 @@ template<> PROTOBUF_NOINLINE ::greptime::v1::meta::DropViewTask*
|
|||||||
Arena::CreateMaybeMessage< ::greptime::v1::meta::DropViewTask >(Arena* arena) {
|
Arena::CreateMaybeMessage< ::greptime::v1::meta::DropViewTask >(Arena* arena) {
|
||||||
return Arena::CreateMessageInternal< ::greptime::v1::meta::DropViewTask >(arena);
|
return Arena::CreateMessageInternal< ::greptime::v1::meta::DropViewTask >(arena);
|
||||||
}
|
}
|
||||||
|
template<> PROTOBUF_NOINLINE ::greptime::v1::meta::AlterDatabaseTask*
|
||||||
|
Arena::CreateMaybeMessage< ::greptime::v1::meta::AlterDatabaseTask >(Arena* arena) {
|
||||||
|
return Arena::CreateMessageInternal< ::greptime::v1::meta::AlterDatabaseTask >(arena);
|
||||||
|
}
|
||||||
template<> PROTOBUF_NOINLINE ::greptime::v1::meta::DdlTaskRequest*
|
template<> PROTOBUF_NOINLINE ::greptime::v1::meta::DdlTaskRequest*
|
||||||
Arena::CreateMaybeMessage< ::greptime::v1::meta::DdlTaskRequest >(Arena* arena) {
|
Arena::CreateMaybeMessage< ::greptime::v1::meta::DdlTaskRequest >(Arena* arena) {
|
||||||
return Arena::CreateMessageInternal< ::greptime::v1::meta::DdlTaskRequest >(arena);
|
return Arena::CreateMessageInternal< ::greptime::v1::meta::DdlTaskRequest >(arena);
|
||||||
|
|||||||
+376
-28
@@ -52,6 +52,9 @@ extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table
|
|||||||
namespace greptime {
|
namespace greptime {
|
||||||
namespace v1 {
|
namespace v1 {
|
||||||
namespace meta {
|
namespace meta {
|
||||||
|
class AlterDatabaseTask;
|
||||||
|
struct AlterDatabaseTaskDefaultTypeInternal;
|
||||||
|
extern AlterDatabaseTaskDefaultTypeInternal _AlterDatabaseTask_default_instance_;
|
||||||
class AlterTableTask;
|
class AlterTableTask;
|
||||||
struct AlterTableTaskDefaultTypeInternal;
|
struct AlterTableTaskDefaultTypeInternal;
|
||||||
extern AlterTableTaskDefaultTypeInternal _AlterTableTask_default_instance_;
|
extern AlterTableTaskDefaultTypeInternal _AlterTableTask_default_instance_;
|
||||||
@@ -101,6 +104,7 @@ extern TruncateTableTaskDefaultTypeInternal _TruncateTableTask_default_instance_
|
|||||||
} // namespace v1
|
} // namespace v1
|
||||||
} // namespace greptime
|
} // namespace greptime
|
||||||
PROTOBUF_NAMESPACE_OPEN
|
PROTOBUF_NAMESPACE_OPEN
|
||||||
|
template<> ::greptime::v1::meta::AlterDatabaseTask* Arena::CreateMaybeMessage<::greptime::v1::meta::AlterDatabaseTask>(Arena*);
|
||||||
template<> ::greptime::v1::meta::AlterTableTask* Arena::CreateMaybeMessage<::greptime::v1::meta::AlterTableTask>(Arena*);
|
template<> ::greptime::v1::meta::AlterTableTask* Arena::CreateMaybeMessage<::greptime::v1::meta::AlterTableTask>(Arena*);
|
||||||
template<> ::greptime::v1::meta::AlterTableTasks* Arena::CreateMaybeMessage<::greptime::v1::meta::AlterTableTasks>(Arena*);
|
template<> ::greptime::v1::meta::AlterTableTasks* Arena::CreateMaybeMessage<::greptime::v1::meta::AlterTableTasks>(Arena*);
|
||||||
template<> ::greptime::v1::meta::CreateDatabaseTask* Arena::CreateMaybeMessage<::greptime::v1::meta::CreateDatabaseTask>(Arena*);
|
template<> ::greptime::v1::meta::CreateDatabaseTask* Arena::CreateMaybeMessage<::greptime::v1::meta::CreateDatabaseTask>(Arena*);
|
||||||
@@ -1092,23 +1096,23 @@ class AlterTableTask final :
|
|||||||
enum : int {
|
enum : int {
|
||||||
kAlterTableFieldNumber = 1,
|
kAlterTableFieldNumber = 1,
|
||||||
};
|
};
|
||||||
// .greptime.v1.AlterExpr alter_table = 1;
|
// .greptime.v1.AlterTableExpr alter_table = 1;
|
||||||
bool has_alter_table() const;
|
bool has_alter_table() const;
|
||||||
private:
|
private:
|
||||||
bool _internal_has_alter_table() const;
|
bool _internal_has_alter_table() const;
|
||||||
public:
|
public:
|
||||||
void clear_alter_table();
|
void clear_alter_table();
|
||||||
const ::greptime::v1::AlterExpr& alter_table() const;
|
const ::greptime::v1::AlterTableExpr& alter_table() const;
|
||||||
PROTOBUF_NODISCARD ::greptime::v1::AlterExpr* release_alter_table();
|
PROTOBUF_NODISCARD ::greptime::v1::AlterTableExpr* release_alter_table();
|
||||||
::greptime::v1::AlterExpr* mutable_alter_table();
|
::greptime::v1::AlterTableExpr* mutable_alter_table();
|
||||||
void set_allocated_alter_table(::greptime::v1::AlterExpr* alter_table);
|
void set_allocated_alter_table(::greptime::v1::AlterTableExpr* alter_table);
|
||||||
private:
|
private:
|
||||||
const ::greptime::v1::AlterExpr& _internal_alter_table() const;
|
const ::greptime::v1::AlterTableExpr& _internal_alter_table() const;
|
||||||
::greptime::v1::AlterExpr* _internal_mutable_alter_table();
|
::greptime::v1::AlterTableExpr* _internal_mutable_alter_table();
|
||||||
public:
|
public:
|
||||||
void unsafe_arena_set_allocated_alter_table(
|
void unsafe_arena_set_allocated_alter_table(
|
||||||
::greptime::v1::AlterExpr* alter_table);
|
::greptime::v1::AlterTableExpr* alter_table);
|
||||||
::greptime::v1::AlterExpr* unsafe_arena_release_alter_table();
|
::greptime::v1::AlterTableExpr* unsafe_arena_release_alter_table();
|
||||||
|
|
||||||
// @@protoc_insertion_point(class_scope:greptime.v1.meta.AlterTableTask)
|
// @@protoc_insertion_point(class_scope:greptime.v1.meta.AlterTableTask)
|
||||||
private:
|
private:
|
||||||
@@ -1118,7 +1122,7 @@ class AlterTableTask final :
|
|||||||
typedef void InternalArenaConstructable_;
|
typedef void InternalArenaConstructable_;
|
||||||
typedef void DestructorSkippable_;
|
typedef void DestructorSkippable_;
|
||||||
struct Impl_ {
|
struct Impl_ {
|
||||||
::greptime::v1::AlterExpr* alter_table_;
|
::greptime::v1::AlterTableExpr* alter_table_;
|
||||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||||
};
|
};
|
||||||
union { Impl_ _impl_; };
|
union { Impl_ _impl_; };
|
||||||
@@ -2241,6 +2245,163 @@ class DropViewTask final :
|
|||||||
};
|
};
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
class AlterDatabaseTask final :
|
||||||
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.meta.AlterDatabaseTask) */ {
|
||||||
|
public:
|
||||||
|
inline AlterDatabaseTask() : AlterDatabaseTask(nullptr) {}
|
||||||
|
~AlterDatabaseTask() override;
|
||||||
|
explicit PROTOBUF_CONSTEXPR AlterDatabaseTask(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
||||||
|
|
||||||
|
AlterDatabaseTask(const AlterDatabaseTask& from);
|
||||||
|
AlterDatabaseTask(AlterDatabaseTask&& from) noexcept
|
||||||
|
: AlterDatabaseTask() {
|
||||||
|
*this = ::std::move(from);
|
||||||
|
}
|
||||||
|
|
||||||
|
inline AlterDatabaseTask& operator=(const AlterDatabaseTask& from) {
|
||||||
|
CopyFrom(from);
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
inline AlterDatabaseTask& operator=(AlterDatabaseTask&& from) noexcept {
|
||||||
|
if (this == &from) return *this;
|
||||||
|
if (GetOwningArena() == from.GetOwningArena()
|
||||||
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
|
||||||
|
&& GetOwningArena() != nullptr
|
||||||
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
||||||
|
) {
|
||||||
|
InternalSwap(&from);
|
||||||
|
} else {
|
||||||
|
CopyFrom(from);
|
||||||
|
}
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
|
||||||
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
||||||
|
return GetDescriptor();
|
||||||
|
}
|
||||||
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
||||||
|
return default_instance().GetMetadata().descriptor;
|
||||||
|
}
|
||||||
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
||||||
|
return default_instance().GetMetadata().reflection;
|
||||||
|
}
|
||||||
|
static const AlterDatabaseTask& default_instance() {
|
||||||
|
return *internal_default_instance();
|
||||||
|
}
|
||||||
|
static inline const AlterDatabaseTask* internal_default_instance() {
|
||||||
|
return reinterpret_cast<const AlterDatabaseTask*>(
|
||||||
|
&_AlterDatabaseTask_default_instance_);
|
||||||
|
}
|
||||||
|
static constexpr int kIndexInFileMessages =
|
||||||
|
13;
|
||||||
|
|
||||||
|
friend void swap(AlterDatabaseTask& a, AlterDatabaseTask& b) {
|
||||||
|
a.Swap(&b);
|
||||||
|
}
|
||||||
|
inline void Swap(AlterDatabaseTask* other) {
|
||||||
|
if (other == this) return;
|
||||||
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
|
||||||
|
if (GetOwningArena() != nullptr &&
|
||||||
|
GetOwningArena() == other->GetOwningArena()) {
|
||||||
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
||||||
|
if (GetOwningArena() == other->GetOwningArena()) {
|
||||||
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
||||||
|
InternalSwap(other);
|
||||||
|
} else {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
void UnsafeArenaSwap(AlterDatabaseTask* other) {
|
||||||
|
if (other == this) return;
|
||||||
|
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
||||||
|
InternalSwap(other);
|
||||||
|
}
|
||||||
|
|
||||||
|
// implements Message ----------------------------------------------
|
||||||
|
|
||||||
|
AlterDatabaseTask* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
||||||
|
return CreateMaybeMessage<AlterDatabaseTask>(arena);
|
||||||
|
}
|
||||||
|
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
||||||
|
void CopyFrom(const AlterDatabaseTask& from);
|
||||||
|
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
||||||
|
void MergeFrom( const AlterDatabaseTask& from) {
|
||||||
|
AlterDatabaseTask::MergeImpl(*this, from);
|
||||||
|
}
|
||||||
|
private:
|
||||||
|
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
|
||||||
|
public:
|
||||||
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
||||||
|
bool IsInitialized() const final;
|
||||||
|
|
||||||
|
size_t ByteSizeLong() const final;
|
||||||
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
||||||
|
uint8_t* _InternalSerialize(
|
||||||
|
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
|
||||||
|
int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
|
||||||
|
|
||||||
|
private:
|
||||||
|
void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
|
||||||
|
void SharedDtor();
|
||||||
|
void SetCachedSize(int size) const final;
|
||||||
|
void InternalSwap(AlterDatabaseTask* other);
|
||||||
|
|
||||||
|
private:
|
||||||
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
||||||
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
||||||
|
return "greptime.v1.meta.AlterDatabaseTask";
|
||||||
|
}
|
||||||
|
protected:
|
||||||
|
explicit AlterDatabaseTask(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||||
|
bool is_message_owned = false);
|
||||||
|
public:
|
||||||
|
|
||||||
|
static const ClassData _class_data_;
|
||||||
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
|
||||||
|
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
||||||
|
|
||||||
|
// nested types ----------------------------------------------------
|
||||||
|
|
||||||
|
// accessors -------------------------------------------------------
|
||||||
|
|
||||||
|
enum : int {
|
||||||
|
kTaskFieldNumber = 1,
|
||||||
|
};
|
||||||
|
// .greptime.v1.AlterDatabaseExpr task = 1;
|
||||||
|
bool has_task() const;
|
||||||
|
private:
|
||||||
|
bool _internal_has_task() const;
|
||||||
|
public:
|
||||||
|
void clear_task();
|
||||||
|
const ::greptime::v1::AlterDatabaseExpr& task() const;
|
||||||
|
PROTOBUF_NODISCARD ::greptime::v1::AlterDatabaseExpr* release_task();
|
||||||
|
::greptime::v1::AlterDatabaseExpr* mutable_task();
|
||||||
|
void set_allocated_task(::greptime::v1::AlterDatabaseExpr* task);
|
||||||
|
private:
|
||||||
|
const ::greptime::v1::AlterDatabaseExpr& _internal_task() const;
|
||||||
|
::greptime::v1::AlterDatabaseExpr* _internal_mutable_task();
|
||||||
|
public:
|
||||||
|
void unsafe_arena_set_allocated_task(
|
||||||
|
::greptime::v1::AlterDatabaseExpr* task);
|
||||||
|
::greptime::v1::AlterDatabaseExpr* unsafe_arena_release_task();
|
||||||
|
|
||||||
|
// @@protoc_insertion_point(class_scope:greptime.v1.meta.AlterDatabaseTask)
|
||||||
|
private:
|
||||||
|
class _Internal;
|
||||||
|
|
||||||
|
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
||||||
|
typedef void InternalArenaConstructable_;
|
||||||
|
typedef void DestructorSkippable_;
|
||||||
|
struct Impl_ {
|
||||||
|
::greptime::v1::AlterDatabaseExpr* task_;
|
||||||
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||||
|
};
|
||||||
|
union { Impl_ _impl_; };
|
||||||
|
friend struct ::TableStruct_greptime_2fv1_2fmeta_2fddl_2eproto;
|
||||||
|
};
|
||||||
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
class DdlTaskRequest final :
|
class DdlTaskRequest final :
|
||||||
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.meta.DdlTaskRequest) */ {
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.meta.DdlTaskRequest) */ {
|
||||||
public:
|
public:
|
||||||
@@ -2298,6 +2459,7 @@ class DdlTaskRequest final :
|
|||||||
kDropFlowTask = 12,
|
kDropFlowTask = 12,
|
||||||
kCreateViewTask = 13,
|
kCreateViewTask = 13,
|
||||||
kDropViewTask = 14,
|
kDropViewTask = 14,
|
||||||
|
kAlterDatabaseTask = 15,
|
||||||
TASK_NOT_SET = 0,
|
TASK_NOT_SET = 0,
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -2306,7 +2468,7 @@ class DdlTaskRequest final :
|
|||||||
&_DdlTaskRequest_default_instance_);
|
&_DdlTaskRequest_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
13;
|
14;
|
||||||
|
|
||||||
friend void swap(DdlTaskRequest& a, DdlTaskRequest& b) {
|
friend void swap(DdlTaskRequest& a, DdlTaskRequest& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@@ -2394,6 +2556,7 @@ class DdlTaskRequest final :
|
|||||||
kDropFlowTaskFieldNumber = 12,
|
kDropFlowTaskFieldNumber = 12,
|
||||||
kCreateViewTaskFieldNumber = 13,
|
kCreateViewTaskFieldNumber = 13,
|
||||||
kDropViewTaskFieldNumber = 14,
|
kDropViewTaskFieldNumber = 14,
|
||||||
|
kAlterDatabaseTaskFieldNumber = 15,
|
||||||
};
|
};
|
||||||
// .greptime.v1.meta.RequestHeader header = 1;
|
// .greptime.v1.meta.RequestHeader header = 1;
|
||||||
bool has_header() const;
|
bool has_header() const;
|
||||||
@@ -2665,6 +2828,24 @@ class DdlTaskRequest final :
|
|||||||
::greptime::v1::meta::DropViewTask* drop_view_task);
|
::greptime::v1::meta::DropViewTask* drop_view_task);
|
||||||
::greptime::v1::meta::DropViewTask* unsafe_arena_release_drop_view_task();
|
::greptime::v1::meta::DropViewTask* unsafe_arena_release_drop_view_task();
|
||||||
|
|
||||||
|
// .greptime.v1.meta.AlterDatabaseTask alter_database_task = 15;
|
||||||
|
bool has_alter_database_task() const;
|
||||||
|
private:
|
||||||
|
bool _internal_has_alter_database_task() const;
|
||||||
|
public:
|
||||||
|
void clear_alter_database_task();
|
||||||
|
const ::greptime::v1::meta::AlterDatabaseTask& alter_database_task() const;
|
||||||
|
PROTOBUF_NODISCARD ::greptime::v1::meta::AlterDatabaseTask* release_alter_database_task();
|
||||||
|
::greptime::v1::meta::AlterDatabaseTask* mutable_alter_database_task();
|
||||||
|
void set_allocated_alter_database_task(::greptime::v1::meta::AlterDatabaseTask* alter_database_task);
|
||||||
|
private:
|
||||||
|
const ::greptime::v1::meta::AlterDatabaseTask& _internal_alter_database_task() const;
|
||||||
|
::greptime::v1::meta::AlterDatabaseTask* _internal_mutable_alter_database_task();
|
||||||
|
public:
|
||||||
|
void unsafe_arena_set_allocated_alter_database_task(
|
||||||
|
::greptime::v1::meta::AlterDatabaseTask* alter_database_task);
|
||||||
|
::greptime::v1::meta::AlterDatabaseTask* unsafe_arena_release_alter_database_task();
|
||||||
|
|
||||||
void clear_task();
|
void clear_task();
|
||||||
TaskCase task_case() const;
|
TaskCase task_case() const;
|
||||||
// @@protoc_insertion_point(class_scope:greptime.v1.meta.DdlTaskRequest)
|
// @@protoc_insertion_point(class_scope:greptime.v1.meta.DdlTaskRequest)
|
||||||
@@ -2683,6 +2864,7 @@ class DdlTaskRequest final :
|
|||||||
void set_has_drop_flow_task();
|
void set_has_drop_flow_task();
|
||||||
void set_has_create_view_task();
|
void set_has_create_view_task();
|
||||||
void set_has_drop_view_task();
|
void set_has_drop_view_task();
|
||||||
|
void set_has_alter_database_task();
|
||||||
|
|
||||||
inline bool has_task() const;
|
inline bool has_task() const;
|
||||||
inline void clear_has_task();
|
inline void clear_has_task();
|
||||||
@@ -2709,6 +2891,7 @@ class DdlTaskRequest final :
|
|||||||
::greptime::v1::meta::DropFlowTask* drop_flow_task_;
|
::greptime::v1::meta::DropFlowTask* drop_flow_task_;
|
||||||
::greptime::v1::meta::CreateViewTask* create_view_task_;
|
::greptime::v1::meta::CreateViewTask* create_view_task_;
|
||||||
::greptime::v1::meta::DropViewTask* drop_view_task_;
|
::greptime::v1::meta::DropViewTask* drop_view_task_;
|
||||||
|
::greptime::v1::meta::AlterDatabaseTask* alter_database_task_;
|
||||||
} task_;
|
} task_;
|
||||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||||
uint32_t _oneof_case_[1];
|
uint32_t _oneof_case_[1];
|
||||||
@@ -2767,7 +2950,7 @@ class DdlTaskResponse final :
|
|||||||
&_DdlTaskResponse_default_instance_);
|
&_DdlTaskResponse_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
14;
|
15;
|
||||||
|
|
||||||
friend void swap(DdlTaskResponse& a, DdlTaskResponse& b) {
|
friend void swap(DdlTaskResponse& a, DdlTaskResponse& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@@ -3367,24 +3550,24 @@ DropTableTasks::tasks() const {
|
|||||||
|
|
||||||
// AlterTableTask
|
// AlterTableTask
|
||||||
|
|
||||||
// .greptime.v1.AlterExpr alter_table = 1;
|
// .greptime.v1.AlterTableExpr alter_table = 1;
|
||||||
inline bool AlterTableTask::_internal_has_alter_table() const {
|
inline bool AlterTableTask::_internal_has_alter_table() const {
|
||||||
return this != internal_default_instance() && _impl_.alter_table_ != nullptr;
|
return this != internal_default_instance() && _impl_.alter_table_ != nullptr;
|
||||||
}
|
}
|
||||||
inline bool AlterTableTask::has_alter_table() const {
|
inline bool AlterTableTask::has_alter_table() const {
|
||||||
return _internal_has_alter_table();
|
return _internal_has_alter_table();
|
||||||
}
|
}
|
||||||
inline const ::greptime::v1::AlterExpr& AlterTableTask::_internal_alter_table() const {
|
inline const ::greptime::v1::AlterTableExpr& AlterTableTask::_internal_alter_table() const {
|
||||||
const ::greptime::v1::AlterExpr* p = _impl_.alter_table_;
|
const ::greptime::v1::AlterTableExpr* p = _impl_.alter_table_;
|
||||||
return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::AlterExpr&>(
|
return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::AlterTableExpr&>(
|
||||||
::greptime::v1::_AlterExpr_default_instance_);
|
::greptime::v1::_AlterTableExpr_default_instance_);
|
||||||
}
|
}
|
||||||
inline const ::greptime::v1::AlterExpr& AlterTableTask::alter_table() const {
|
inline const ::greptime::v1::AlterTableExpr& AlterTableTask::alter_table() const {
|
||||||
// @@protoc_insertion_point(field_get:greptime.v1.meta.AlterTableTask.alter_table)
|
// @@protoc_insertion_point(field_get:greptime.v1.meta.AlterTableTask.alter_table)
|
||||||
return _internal_alter_table();
|
return _internal_alter_table();
|
||||||
}
|
}
|
||||||
inline void AlterTableTask::unsafe_arena_set_allocated_alter_table(
|
inline void AlterTableTask::unsafe_arena_set_allocated_alter_table(
|
||||||
::greptime::v1::AlterExpr* alter_table) {
|
::greptime::v1::AlterTableExpr* alter_table) {
|
||||||
if (GetArenaForAllocation() == nullptr) {
|
if (GetArenaForAllocation() == nullptr) {
|
||||||
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.alter_table_);
|
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.alter_table_);
|
||||||
}
|
}
|
||||||
@@ -3396,9 +3579,9 @@ inline void AlterTableTask::unsafe_arena_set_allocated_alter_table(
|
|||||||
}
|
}
|
||||||
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.meta.AlterTableTask.alter_table)
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.meta.AlterTableTask.alter_table)
|
||||||
}
|
}
|
||||||
inline ::greptime::v1::AlterExpr* AlterTableTask::release_alter_table() {
|
inline ::greptime::v1::AlterTableExpr* AlterTableTask::release_alter_table() {
|
||||||
|
|
||||||
::greptime::v1::AlterExpr* temp = _impl_.alter_table_;
|
::greptime::v1::AlterTableExpr* temp = _impl_.alter_table_;
|
||||||
_impl_.alter_table_ = nullptr;
|
_impl_.alter_table_ = nullptr;
|
||||||
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
|
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
|
||||||
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
|
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
|
||||||
@@ -3411,27 +3594,27 @@ inline ::greptime::v1::AlterExpr* AlterTableTask::release_alter_table() {
|
|||||||
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
|
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
|
||||||
return temp;
|
return temp;
|
||||||
}
|
}
|
||||||
inline ::greptime::v1::AlterExpr* AlterTableTask::unsafe_arena_release_alter_table() {
|
inline ::greptime::v1::AlterTableExpr* AlterTableTask::unsafe_arena_release_alter_table() {
|
||||||
// @@protoc_insertion_point(field_release:greptime.v1.meta.AlterTableTask.alter_table)
|
// @@protoc_insertion_point(field_release:greptime.v1.meta.AlterTableTask.alter_table)
|
||||||
|
|
||||||
::greptime::v1::AlterExpr* temp = _impl_.alter_table_;
|
::greptime::v1::AlterTableExpr* temp = _impl_.alter_table_;
|
||||||
_impl_.alter_table_ = nullptr;
|
_impl_.alter_table_ = nullptr;
|
||||||
return temp;
|
return temp;
|
||||||
}
|
}
|
||||||
inline ::greptime::v1::AlterExpr* AlterTableTask::_internal_mutable_alter_table() {
|
inline ::greptime::v1::AlterTableExpr* AlterTableTask::_internal_mutable_alter_table() {
|
||||||
|
|
||||||
if (_impl_.alter_table_ == nullptr) {
|
if (_impl_.alter_table_ == nullptr) {
|
||||||
auto* p = CreateMaybeMessage<::greptime::v1::AlterExpr>(GetArenaForAllocation());
|
auto* p = CreateMaybeMessage<::greptime::v1::AlterTableExpr>(GetArenaForAllocation());
|
||||||
_impl_.alter_table_ = p;
|
_impl_.alter_table_ = p;
|
||||||
}
|
}
|
||||||
return _impl_.alter_table_;
|
return _impl_.alter_table_;
|
||||||
}
|
}
|
||||||
inline ::greptime::v1::AlterExpr* AlterTableTask::mutable_alter_table() {
|
inline ::greptime::v1::AlterTableExpr* AlterTableTask::mutable_alter_table() {
|
||||||
::greptime::v1::AlterExpr* _msg = _internal_mutable_alter_table();
|
::greptime::v1::AlterTableExpr* _msg = _internal_mutable_alter_table();
|
||||||
// @@protoc_insertion_point(field_mutable:greptime.v1.meta.AlterTableTask.alter_table)
|
// @@protoc_insertion_point(field_mutable:greptime.v1.meta.AlterTableTask.alter_table)
|
||||||
return _msg;
|
return _msg;
|
||||||
}
|
}
|
||||||
inline void AlterTableTask::set_allocated_alter_table(::greptime::v1::AlterExpr* alter_table) {
|
inline void AlterTableTask::set_allocated_alter_table(::greptime::v1::AlterTableExpr* alter_table) {
|
||||||
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||||
if (message_arena == nullptr) {
|
if (message_arena == nullptr) {
|
||||||
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.alter_table_);
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.alter_table_);
|
||||||
@@ -4082,6 +4265,95 @@ inline void DropViewTask::set_allocated_drop_view(::greptime::v1::DropViewExpr*
|
|||||||
|
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
// AlterDatabaseTask
|
||||||
|
|
||||||
|
// .greptime.v1.AlterDatabaseExpr task = 1;
|
||||||
|
inline bool AlterDatabaseTask::_internal_has_task() const {
|
||||||
|
return this != internal_default_instance() && _impl_.task_ != nullptr;
|
||||||
|
}
|
||||||
|
inline bool AlterDatabaseTask::has_task() const {
|
||||||
|
return _internal_has_task();
|
||||||
|
}
|
||||||
|
inline const ::greptime::v1::AlterDatabaseExpr& AlterDatabaseTask::_internal_task() const {
|
||||||
|
const ::greptime::v1::AlterDatabaseExpr* p = _impl_.task_;
|
||||||
|
return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::AlterDatabaseExpr&>(
|
||||||
|
::greptime::v1::_AlterDatabaseExpr_default_instance_);
|
||||||
|
}
|
||||||
|
inline const ::greptime::v1::AlterDatabaseExpr& AlterDatabaseTask::task() const {
|
||||||
|
// @@protoc_insertion_point(field_get:greptime.v1.meta.AlterDatabaseTask.task)
|
||||||
|
return _internal_task();
|
||||||
|
}
|
||||||
|
inline void AlterDatabaseTask::unsafe_arena_set_allocated_task(
|
||||||
|
::greptime::v1::AlterDatabaseExpr* task) {
|
||||||
|
if (GetArenaForAllocation() == nullptr) {
|
||||||
|
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.task_);
|
||||||
|
}
|
||||||
|
_impl_.task_ = task;
|
||||||
|
if (task) {
|
||||||
|
|
||||||
|
} else {
|
||||||
|
|
||||||
|
}
|
||||||
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.meta.AlterDatabaseTask.task)
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::AlterDatabaseExpr* AlterDatabaseTask::release_task() {
|
||||||
|
|
||||||
|
::greptime::v1::AlterDatabaseExpr* temp = _impl_.task_;
|
||||||
|
_impl_.task_ = nullptr;
|
||||||
|
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
|
||||||
|
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
|
||||||
|
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
||||||
|
if (GetArenaForAllocation() == nullptr) { delete old; }
|
||||||
|
#else // PROTOBUF_FORCE_COPY_IN_RELEASE
|
||||||
|
if (GetArenaForAllocation() != nullptr) {
|
||||||
|
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
||||||
|
}
|
||||||
|
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
|
||||||
|
return temp;
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::AlterDatabaseExpr* AlterDatabaseTask::unsafe_arena_release_task() {
|
||||||
|
// @@protoc_insertion_point(field_release:greptime.v1.meta.AlterDatabaseTask.task)
|
||||||
|
|
||||||
|
::greptime::v1::AlterDatabaseExpr* temp = _impl_.task_;
|
||||||
|
_impl_.task_ = nullptr;
|
||||||
|
return temp;
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::AlterDatabaseExpr* AlterDatabaseTask::_internal_mutable_task() {
|
||||||
|
|
||||||
|
if (_impl_.task_ == nullptr) {
|
||||||
|
auto* p = CreateMaybeMessage<::greptime::v1::AlterDatabaseExpr>(GetArenaForAllocation());
|
||||||
|
_impl_.task_ = p;
|
||||||
|
}
|
||||||
|
return _impl_.task_;
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::AlterDatabaseExpr* AlterDatabaseTask::mutable_task() {
|
||||||
|
::greptime::v1::AlterDatabaseExpr* _msg = _internal_mutable_task();
|
||||||
|
// @@protoc_insertion_point(field_mutable:greptime.v1.meta.AlterDatabaseTask.task)
|
||||||
|
return _msg;
|
||||||
|
}
|
||||||
|
inline void AlterDatabaseTask::set_allocated_task(::greptime::v1::AlterDatabaseExpr* task) {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||||
|
if (message_arena == nullptr) {
|
||||||
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.task_);
|
||||||
|
}
|
||||||
|
if (task) {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
|
||||||
|
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(task));
|
||||||
|
if (message_arena != submessage_arena) {
|
||||||
|
task = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
||||||
|
message_arena, task, submessage_arena);
|
||||||
|
}
|
||||||
|
|
||||||
|
} else {
|
||||||
|
|
||||||
|
}
|
||||||
|
_impl_.task_ = task;
|
||||||
|
// @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.AlterDatabaseTask.task)
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
// DdlTaskRequest
|
// DdlTaskRequest
|
||||||
|
|
||||||
// .greptime.v1.meta.RequestHeader header = 1;
|
// .greptime.v1.meta.RequestHeader header = 1;
|
||||||
@@ -5216,6 +5488,80 @@ inline ::greptime::v1::meta::DropViewTask* DdlTaskRequest::mutable_drop_view_tas
|
|||||||
return _msg;
|
return _msg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// .greptime.v1.meta.AlterDatabaseTask alter_database_task = 15;
|
||||||
|
inline bool DdlTaskRequest::_internal_has_alter_database_task() const {
|
||||||
|
return task_case() == kAlterDatabaseTask;
|
||||||
|
}
|
||||||
|
inline bool DdlTaskRequest::has_alter_database_task() const {
|
||||||
|
return _internal_has_alter_database_task();
|
||||||
|
}
|
||||||
|
inline void DdlTaskRequest::set_has_alter_database_task() {
|
||||||
|
_impl_._oneof_case_[0] = kAlterDatabaseTask;
|
||||||
|
}
|
||||||
|
inline void DdlTaskRequest::clear_alter_database_task() {
|
||||||
|
if (_internal_has_alter_database_task()) {
|
||||||
|
if (GetArenaForAllocation() == nullptr) {
|
||||||
|
delete _impl_.task_.alter_database_task_;
|
||||||
|
}
|
||||||
|
clear_has_task();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::meta::AlterDatabaseTask* DdlTaskRequest::release_alter_database_task() {
|
||||||
|
// @@protoc_insertion_point(field_release:greptime.v1.meta.DdlTaskRequest.alter_database_task)
|
||||||
|
if (_internal_has_alter_database_task()) {
|
||||||
|
clear_has_task();
|
||||||
|
::greptime::v1::meta::AlterDatabaseTask* temp = _impl_.task_.alter_database_task_;
|
||||||
|
if (GetArenaForAllocation() != nullptr) {
|
||||||
|
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
||||||
|
}
|
||||||
|
_impl_.task_.alter_database_task_ = nullptr;
|
||||||
|
return temp;
|
||||||
|
} else {
|
||||||
|
return nullptr;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
inline const ::greptime::v1::meta::AlterDatabaseTask& DdlTaskRequest::_internal_alter_database_task() const {
|
||||||
|
return _internal_has_alter_database_task()
|
||||||
|
? *_impl_.task_.alter_database_task_
|
||||||
|
: reinterpret_cast< ::greptime::v1::meta::AlterDatabaseTask&>(::greptime::v1::meta::_AlterDatabaseTask_default_instance_);
|
||||||
|
}
|
||||||
|
inline const ::greptime::v1::meta::AlterDatabaseTask& DdlTaskRequest::alter_database_task() const {
|
||||||
|
// @@protoc_insertion_point(field_get:greptime.v1.meta.DdlTaskRequest.alter_database_task)
|
||||||
|
return _internal_alter_database_task();
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::meta::AlterDatabaseTask* DdlTaskRequest::unsafe_arena_release_alter_database_task() {
|
||||||
|
// @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.meta.DdlTaskRequest.alter_database_task)
|
||||||
|
if (_internal_has_alter_database_task()) {
|
||||||
|
clear_has_task();
|
||||||
|
::greptime::v1::meta::AlterDatabaseTask* temp = _impl_.task_.alter_database_task_;
|
||||||
|
_impl_.task_.alter_database_task_ = nullptr;
|
||||||
|
return temp;
|
||||||
|
} else {
|
||||||
|
return nullptr;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
inline void DdlTaskRequest::unsafe_arena_set_allocated_alter_database_task(::greptime::v1::meta::AlterDatabaseTask* alter_database_task) {
|
||||||
|
clear_task();
|
||||||
|
if (alter_database_task) {
|
||||||
|
set_has_alter_database_task();
|
||||||
|
_impl_.task_.alter_database_task_ = alter_database_task;
|
||||||
|
}
|
||||||
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.meta.DdlTaskRequest.alter_database_task)
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::meta::AlterDatabaseTask* DdlTaskRequest::_internal_mutable_alter_database_task() {
|
||||||
|
if (!_internal_has_alter_database_task()) {
|
||||||
|
clear_task();
|
||||||
|
set_has_alter_database_task();
|
||||||
|
_impl_.task_.alter_database_task_ = CreateMaybeMessage< ::greptime::v1::meta::AlterDatabaseTask >(GetArenaForAllocation());
|
||||||
|
}
|
||||||
|
return _impl_.task_.alter_database_task_;
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::meta::AlterDatabaseTask* DdlTaskRequest::mutable_alter_database_task() {
|
||||||
|
::greptime::v1::meta::AlterDatabaseTask* _msg = _internal_mutable_alter_database_task();
|
||||||
|
// @@protoc_insertion_point(field_mutable:greptime.v1.meta.DdlTaskRequest.alter_database_task)
|
||||||
|
return _msg;
|
||||||
|
}
|
||||||
|
|
||||||
inline bool DdlTaskRequest::has_task() const {
|
inline bool DdlTaskRequest::has_task() const {
|
||||||
return task_case() != TASK_NOT_SET;
|
return task_case() != TASK_NOT_SET;
|
||||||
}
|
}
|
||||||
@@ -5467,6 +5813,8 @@ DdlTaskResponse::table_ids() const {
|
|||||||
|
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// @@protoc_insertion_point(namespace_scope)
|
// @@protoc_insertion_point(namespace_scope)
|
||||||
|
|
||||||
|
|||||||
+794
-510
File diff suppressed because it is too large
Load Diff
+282
-193
@@ -337,7 +337,7 @@ type AlterTableTask struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
AlterTable *v1.AlterExpr `protobuf:"bytes,1,opt,name=alter_table,json=alterTable,proto3" json:"alter_table,omitempty"`
|
AlterTable *v1.AlterTableExpr `protobuf:"bytes,1,opt,name=alter_table,json=alterTable,proto3" json:"alter_table,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *AlterTableTask) Reset() {
|
func (x *AlterTableTask) Reset() {
|
||||||
@@ -372,7 +372,7 @@ func (*AlterTableTask) Descriptor() ([]byte, []int) {
|
|||||||
return file_greptime_v1_meta_ddl_proto_rawDescGZIP(), []int{5}
|
return file_greptime_v1_meta_ddl_proto_rawDescGZIP(), []int{5}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *AlterTableTask) GetAlterTable() *v1.AlterExpr {
|
func (x *AlterTableTask) GetAlterTable() *v1.AlterTableExpr {
|
||||||
if x != nil {
|
if x != nil {
|
||||||
return x.AlterTable
|
return x.AlterTable
|
||||||
}
|
}
|
||||||
@@ -718,6 +718,54 @@ func (x *DropViewTask) GetDropView() *v1.DropViewExpr {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Alter database tasks
|
||||||
|
type AlterDatabaseTask struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
Task *v1.AlterDatabaseExpr `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *AlterDatabaseTask) Reset() {
|
||||||
|
*x = AlterDatabaseTask{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[13]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *AlterDatabaseTask) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*AlterDatabaseTask) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *AlterDatabaseTask) 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 AlterDatabaseTask.ProtoReflect.Descriptor instead.
|
||||||
|
func (*AlterDatabaseTask) Descriptor() ([]byte, []int) {
|
||||||
|
return file_greptime_v1_meta_ddl_proto_rawDescGZIP(), []int{13}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *AlterDatabaseTask) GetTask() *v1.AlterDatabaseExpr {
|
||||||
|
if x != nil {
|
||||||
|
return x.Task
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
type DdlTaskRequest struct {
|
type DdlTaskRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
@@ -740,13 +788,14 @@ type DdlTaskRequest struct {
|
|||||||
// *DdlTaskRequest_DropFlowTask
|
// *DdlTaskRequest_DropFlowTask
|
||||||
// *DdlTaskRequest_CreateViewTask
|
// *DdlTaskRequest_CreateViewTask
|
||||||
// *DdlTaskRequest_DropViewTask
|
// *DdlTaskRequest_DropViewTask
|
||||||
|
// *DdlTaskRequest_AlterDatabaseTask
|
||||||
Task isDdlTaskRequest_Task `protobuf_oneof:"task"`
|
Task isDdlTaskRequest_Task `protobuf_oneof:"task"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DdlTaskRequest) Reset() {
|
func (x *DdlTaskRequest) Reset() {
|
||||||
*x = DdlTaskRequest{}
|
*x = DdlTaskRequest{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[13]
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[14]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -759,7 +808,7 @@ func (x *DdlTaskRequest) String() string {
|
|||||||
func (*DdlTaskRequest) ProtoMessage() {}
|
func (*DdlTaskRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *DdlTaskRequest) ProtoReflect() protoreflect.Message {
|
func (x *DdlTaskRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[13]
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[14]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -772,7 +821,7 @@ func (x *DdlTaskRequest) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use DdlTaskRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use DdlTaskRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*DdlTaskRequest) Descriptor() ([]byte, []int) {
|
func (*DdlTaskRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_greptime_v1_meta_ddl_proto_rawDescGZIP(), []int{13}
|
return file_greptime_v1_meta_ddl_proto_rawDescGZIP(), []int{14}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DdlTaskRequest) GetHeader() *RequestHeader {
|
func (x *DdlTaskRequest) GetHeader() *RequestHeader {
|
||||||
@@ -887,6 +936,13 @@ func (x *DdlTaskRequest) GetDropViewTask() *DropViewTask {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (x *DdlTaskRequest) GetAlterDatabaseTask() *AlterDatabaseTask {
|
||||||
|
if x, ok := x.GetTask().(*DdlTaskRequest_AlterDatabaseTask); ok {
|
||||||
|
return x.AlterDatabaseTask
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
type isDdlTaskRequest_Task interface {
|
type isDdlTaskRequest_Task interface {
|
||||||
isDdlTaskRequest_Task()
|
isDdlTaskRequest_Task()
|
||||||
}
|
}
|
||||||
@@ -943,6 +999,10 @@ type DdlTaskRequest_DropViewTask struct {
|
|||||||
DropViewTask *DropViewTask `protobuf:"bytes,14,opt,name=drop_view_task,json=dropViewTask,proto3,oneof"`
|
DropViewTask *DropViewTask `protobuf:"bytes,14,opt,name=drop_view_task,json=dropViewTask,proto3,oneof"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type DdlTaskRequest_AlterDatabaseTask struct {
|
||||||
|
AlterDatabaseTask *AlterDatabaseTask `protobuf:"bytes,15,opt,name=alter_database_task,json=alterDatabaseTask,proto3,oneof"`
|
||||||
|
}
|
||||||
|
|
||||||
func (*DdlTaskRequest_CreateTableTask) isDdlTaskRequest_Task() {}
|
func (*DdlTaskRequest_CreateTableTask) isDdlTaskRequest_Task() {}
|
||||||
|
|
||||||
func (*DdlTaskRequest_DropTableTask) isDdlTaskRequest_Task() {}
|
func (*DdlTaskRequest_DropTableTask) isDdlTaskRequest_Task() {}
|
||||||
@@ -969,6 +1029,8 @@ func (*DdlTaskRequest_CreateViewTask) isDdlTaskRequest_Task() {}
|
|||||||
|
|
||||||
func (*DdlTaskRequest_DropViewTask) isDdlTaskRequest_Task() {}
|
func (*DdlTaskRequest_DropViewTask) isDdlTaskRequest_Task() {}
|
||||||
|
|
||||||
|
func (*DdlTaskRequest_AlterDatabaseTask) isDdlTaskRequest_Task() {}
|
||||||
|
|
||||||
type DdlTaskResponse struct {
|
type DdlTaskResponse struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
@@ -983,7 +1045,7 @@ type DdlTaskResponse struct {
|
|||||||
func (x *DdlTaskResponse) Reset() {
|
func (x *DdlTaskResponse) Reset() {
|
||||||
*x = DdlTaskResponse{}
|
*x = DdlTaskResponse{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[14]
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[15]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -996,7 +1058,7 @@ func (x *DdlTaskResponse) String() string {
|
|||||||
func (*DdlTaskResponse) ProtoMessage() {}
|
func (*DdlTaskResponse) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *DdlTaskResponse) ProtoReflect() protoreflect.Message {
|
func (x *DdlTaskResponse) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[14]
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[15]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -1009,7 +1071,7 @@ func (x *DdlTaskResponse) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use DdlTaskResponse.ProtoReflect.Descriptor instead.
|
// Deprecated: Use DdlTaskResponse.ProtoReflect.Descriptor instead.
|
||||||
func (*DdlTaskResponse) Descriptor() ([]byte, []int) {
|
func (*DdlTaskResponse) Descriptor() ([]byte, []int) {
|
||||||
return file_greptime_v1_meta_ddl_proto_rawDescGZIP(), []int{14}
|
return file_greptime_v1_meta_ddl_proto_rawDescGZIP(), []int{15}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DdlTaskResponse) GetHeader() *ResponseHeader {
|
func (x *DdlTaskResponse) GetHeader() *ResponseHeader {
|
||||||
@@ -1077,140 +1139,150 @@ var file_greptime_v1_meta_ddl_proto_rawDesc = []byte{
|
|||||||
0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
|
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,
|
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,
|
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,
|
0x4e, 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,
|
0x6b, 0x12, 0x3c, 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,
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
||||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x45, 0x78, 0x70, 0x72, 0x52, 0x0a,
|
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x45,
|
||||||
0x61, 0x6c, 0x74, 0x65, 0x72, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x49, 0x0a, 0x0f, 0x41, 0x6c,
|
0x78, 0x70, 0x72, 0x52, 0x0a, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x22,
|
||||||
0x74, 0x65, 0x72, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x36, 0x0a,
|
0x49, 0x0a, 0x0f, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73,
|
||||||
0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67,
|
0x6b, 0x73, 0x12, 0x36, 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
|
||||||
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e,
|
0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
||||||
0x41, 0x6c, 0x74, 0x65, 0x72, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x05,
|
0x6d, 0x65, 0x74, 0x61, 0x2e, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54,
|
||||||
0x74, 0x61, 0x73, 0x6b, 0x73, 0x22, 0x5a, 0x0a, 0x11, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74,
|
0x61, 0x73, 0x6b, 0x52, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x22, 0x5a, 0x0a, 0x11, 0x54, 0x72,
|
||||||
0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x45, 0x0a, 0x0e, 0x74, 0x72,
|
0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12,
|
||||||
0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01,
|
0x45, 0x0a, 0x0e, 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c,
|
||||||
0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
|
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
|
||||||
0x2e, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x78,
|
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x54, 0x61,
|
||||||
0x70, 0x72, 0x52, 0x0d, 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c,
|
0x62, 0x6c, 0x65, 0x45, 0x78, 0x70, 0x72, 0x52, 0x0d, 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74,
|
||||||
0x65, 0x22, 0x56, 0x0a, 0x10, 0x44, 0x72, 0x6f, 0x70, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
|
0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x56, 0x0a, 0x10, 0x44, 0x72, 0x6f, 0x70, 0x44, 0x61,
|
||||||
0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x42, 0x0a, 0x0d, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x64, 0x61,
|
0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x42, 0x0a, 0x0d, 0x64, 0x72,
|
||||||
0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67,
|
0x6f, 0x70, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||||
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x44,
|
0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
||||||
0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x45, 0x78, 0x70, 0x72, 0x52, 0x0c, 0x64, 0x72, 0x6f,
|
0x44, 0x72, 0x6f, 0x70, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x45, 0x78, 0x70, 0x72,
|
||||||
0x70, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x22, 0x4e, 0x0a, 0x0e, 0x43, 0x72, 0x65,
|
0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x22, 0x4e,
|
||||||
0x61, 0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x3c, 0x0a, 0x0b, 0x63,
|
0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b,
|
||||||
0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
0x12, 0x3c, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x66, 0x6c, 0x6f, 0x77, 0x18,
|
||||||
0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43,
|
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
|
||||||
0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x70, 0x72, 0x52, 0x0a, 0x63,
|
0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x45, 0x78,
|
||||||
0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x22, 0x46, 0x0a, 0x0c, 0x44, 0x72, 0x6f,
|
0x70, 0x72, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x22, 0x46,
|
||||||
0x70, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x36, 0x0a, 0x09, 0x64, 0x72, 0x6f,
|
0x0a, 0x0c, 0x44, 0x72, 0x6f, 0x70, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x36,
|
||||||
0x70, 0x5f, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67,
|
0x0a, 0x09, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||||
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,
|
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,
|
0x44, 0x72, 0x6f, 0x70, 0x46, 0x6c, 0x6f, 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,
|
0x6f, 0x70, 0x46, 0x6c, 0x6f, 0x77, 0x22, 0x6b, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
|
||||||
0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x06, 0x68, 0x65, 0x61,
|
0x56, 0x69, 0x65, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x3c, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61,
|
||||||
0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70,
|
0x74, 0x65, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e,
|
||||||
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x71,
|
0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61,
|
||||||
0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64,
|
0x74, 0x65, 0x56, 0x69, 0x65, 0x77, 0x45, 0x78, 0x70, 0x72, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61,
|
||||||
0x65, 0x72, 0x12, 0x3e, 0x0a, 0x0d, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74,
|
0x74, 0x65, 0x56, 0x69, 0x65, 0x77, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x69,
|
||||||
0x65, 0x78, 0x74, 0x18, 0x40, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70,
|
0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x76, 0x69, 0x65, 0x77, 0x49,
|
||||||
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6f, 0x6e,
|
0x6e, 0x66, 0x6f, 0x22, 0x46, 0x0a, 0x0c, 0x44, 0x72, 0x6f, 0x70, 0x56, 0x69, 0x65, 0x77, 0x54,
|
||||||
0x74, 0x65, 0x78, 0x74, 0x52, 0x0c, 0x71, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65,
|
0x61, 0x73, 0x6b, 0x12, 0x36, 0x0a, 0x09, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x76, 0x69, 0x65, 0x77,
|
||||||
0x78, 0x74, 0x12, 0x4f, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x61, 0x62,
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
||||||
0x6c, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e,
|
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, 0x47, 0x0a, 0x11, 0x41,
|
||||||
|
0x6c, 0x74, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x54, 0x61, 0x73, 0x6b,
|
||||||
|
0x12, 0x32, 0x0a, 0x04, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e,
|
||||||
|
0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x74,
|
||||||
|
0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x45, 0x78, 0x70, 0x72, 0x52, 0x04,
|
||||||
|
0x74, 0x61, 0x73, 0x6b, 0x22, 0xf6, 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,
|
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,
|
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,
|
0x73, 0x48, 0x00, 0x52, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65,
|
||||||
0x61, 0x73, 0x6b, 0x12, 0x49, 0x0a, 0x0f, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x74, 0x61, 0x62, 0x6c,
|
0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x4c, 0x0a, 0x10, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x74, 0x61,
|
||||||
0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67,
|
0x62, 0x6c, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||||||
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e,
|
0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65,
|
||||||
0x44, 0x72, 0x6f, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52,
|
0x74, 0x61, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b,
|
||||||
0x0d, 0x64, 0x72, 0x6f, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x4c,
|
0x73, 0x48, 0x00, 0x52, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61,
|
||||||
0x0a, 0x10, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x61,
|
0x73, 0x6b, 0x73, 0x12, 0x4f, 0x0a, 0x11, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x74, 0x61, 0x62,
|
||||||
0x73, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74,
|
0x6c, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21,
|
||||||
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,
|
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,
|
0x61, 0x2e, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b,
|
||||||
0x48, 0x00, 0x52, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61,
|
0x73, 0x48, 0x00, 0x52, 0x0f, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54,
|
||||||
0x73, 0x6b, 0x12, 0x46, 0x0a, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x66, 0x6c, 0x6f, 0x77, 0x5f,
|
0x61, 0x73, 0x6b, 0x73, 0x12, 0x52, 0x0a, 0x12, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x64, 0x61, 0x74,
|
||||||
0x74, 0x61, 0x73, 0x6b, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65,
|
0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b,
|
||||||
0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x72,
|
0x32, 0x22, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d,
|
||||||
0x6f, 0x70, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0c, 0x64, 0x72,
|
0x65, 0x74, 0x61, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
|
||||||
0x6f, 0x70, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x4c, 0x0a, 0x10, 0x63, 0x72,
|
0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x10, 0x64, 0x72, 0x6f, 0x70, 0x44, 0x61, 0x74, 0x61,
|
||||||
0x65, 0x61, 0x74, 0x65, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x0d,
|
0x62, 0x61, 0x73, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x58, 0x0a, 0x14, 0x63, 0x72, 0x65, 0x61,
|
||||||
0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e,
|
0x74, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b,
|
||||||
0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69,
|
0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
||||||
0x65, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
|
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
|
||||||
0x56, 0x69, 0x65, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x46, 0x0a, 0x0e, 0x64, 0x72, 0x6f, 0x70,
|
0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x12,
|
||||||
0x5f, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b,
|
0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x54, 0x61,
|
||||||
0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d,
|
0x73, 0x6b, 0x12, 0x4c, 0x0a, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x66, 0x6c, 0x6f,
|
||||||
0x65, 0x74, 0x61, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x56, 0x69, 0x65, 0x77, 0x54, 0x61, 0x73, 0x6b,
|
0x77, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67,
|
||||||
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, 0xaf, 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,
|
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,
|
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00,
|
||||||
0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x2f, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x02, 0x20,
|
0x52, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b,
|
||||||
0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76,
|
0x12, 0x46, 0x0a, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x74, 0x61,
|
||||||
0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65,
|
0x73, 0x6b, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74,
|
||||||
0x49, 0x64, 0x52, 0x03, 0x70, 0x69, 0x64, 0x12, 0x31, 0x0a, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65,
|
0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x72, 0x6f, 0x70,
|
||||||
0x5f, 0x69, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x72, 0x65,
|
0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70,
|
||||||
0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64,
|
0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x4c, 0x0a, 0x10, 0x63, 0x72, 0x65, 0x61,
|
||||||
0x52, 0x08, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x73, 0x2a, 0x23, 0x0a, 0x0b, 0x44, 0x64,
|
0x74, 0x65, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x0d, 0x20, 0x01,
|
||||||
0x6c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x72, 0x65,
|
0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
|
||||||
0x61, 0x74, 0x65, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x72, 0x6f, 0x70, 0x10, 0x01, 0x42,
|
0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69, 0x65, 0x77,
|
||||||
0x3c, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x72,
|
0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69,
|
||||||
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74,
|
0x65, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x46, 0x0a, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x76,
|
||||||
0x69, 0x6d, 0x65, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x72, 0x65,
|
0x69, 0x65, 0x77, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e,
|
||||||
0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x62, 0x06, 0x70,
|
0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74,
|
||||||
0x72, 0x6f, 0x74, 0x6f, 0x33,
|
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, 0x12, 0x55,
|
||||||
|
0x0a, 0x13, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
|
||||||
|
0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x72,
|
||||||
|
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x41,
|
||||||
|
0x6c, 0x74, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x54, 0x61, 0x73, 0x6b,
|
||||||
|
0x48, 0x00, 0x52, 0x11, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
|
||||||
|
0x65, 0x54, 0x61, 0x73, 0x6b, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x61, 0x73, 0x6b, 0x22, 0xaf, 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, 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 (
|
var (
|
||||||
@@ -1226,7 +1298,7 @@ func file_greptime_v1_meta_ddl_proto_rawDescGZIP() []byte {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var file_greptime_v1_meta_ddl_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
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_msgTypes = make([]protoimpl.MessageInfo, 16)
|
||||||
var file_greptime_v1_meta_ddl_proto_goTypes = []interface{}{
|
var file_greptime_v1_meta_ddl_proto_goTypes = []interface{}{
|
||||||
(DdlTaskType)(0), // 0: greptime.v1.meta.DdlTaskType
|
(DdlTaskType)(0), // 0: greptime.v1.meta.DdlTaskType
|
||||||
(*CreateDatabaseTask)(nil), // 1: greptime.v1.meta.CreateDatabaseTask
|
(*CreateDatabaseTask)(nil), // 1: greptime.v1.meta.CreateDatabaseTask
|
||||||
@@ -1242,63 +1314,67 @@ var file_greptime_v1_meta_ddl_proto_goTypes = []interface{}{
|
|||||||
(*DropFlowTask)(nil), // 11: greptime.v1.meta.DropFlowTask
|
(*DropFlowTask)(nil), // 11: greptime.v1.meta.DropFlowTask
|
||||||
(*CreateViewTask)(nil), // 12: greptime.v1.meta.CreateViewTask
|
(*CreateViewTask)(nil), // 12: greptime.v1.meta.CreateViewTask
|
||||||
(*DropViewTask)(nil), // 13: greptime.v1.meta.DropViewTask
|
(*DropViewTask)(nil), // 13: greptime.v1.meta.DropViewTask
|
||||||
(*DdlTaskRequest)(nil), // 14: greptime.v1.meta.DdlTaskRequest
|
(*AlterDatabaseTask)(nil), // 14: greptime.v1.meta.AlterDatabaseTask
|
||||||
(*DdlTaskResponse)(nil), // 15: greptime.v1.meta.DdlTaskResponse
|
(*DdlTaskRequest)(nil), // 15: greptime.v1.meta.DdlTaskRequest
|
||||||
(*v1.CreateDatabaseExpr)(nil), // 16: greptime.v1.CreateDatabaseExpr
|
(*DdlTaskResponse)(nil), // 16: greptime.v1.meta.DdlTaskResponse
|
||||||
(*v1.CreateTableExpr)(nil), // 17: greptime.v1.CreateTableExpr
|
(*v1.CreateDatabaseExpr)(nil), // 17: greptime.v1.CreateDatabaseExpr
|
||||||
(*Partition)(nil), // 18: greptime.v1.meta.Partition
|
(*v1.CreateTableExpr)(nil), // 18: greptime.v1.CreateTableExpr
|
||||||
(*v1.DropTableExpr)(nil), // 19: greptime.v1.DropTableExpr
|
(*Partition)(nil), // 19: greptime.v1.meta.Partition
|
||||||
(*v1.AlterExpr)(nil), // 20: greptime.v1.AlterExpr
|
(*v1.DropTableExpr)(nil), // 20: greptime.v1.DropTableExpr
|
||||||
(*v1.TruncateTableExpr)(nil), // 21: greptime.v1.TruncateTableExpr
|
(*v1.AlterTableExpr)(nil), // 21: greptime.v1.AlterTableExpr
|
||||||
(*v1.DropDatabaseExpr)(nil), // 22: greptime.v1.DropDatabaseExpr
|
(*v1.TruncateTableExpr)(nil), // 22: greptime.v1.TruncateTableExpr
|
||||||
(*v1.CreateFlowExpr)(nil), // 23: greptime.v1.CreateFlowExpr
|
(*v1.DropDatabaseExpr)(nil), // 23: greptime.v1.DropDatabaseExpr
|
||||||
(*v1.DropFlowExpr)(nil), // 24: greptime.v1.DropFlowExpr
|
(*v1.CreateFlowExpr)(nil), // 24: greptime.v1.CreateFlowExpr
|
||||||
(*v1.CreateViewExpr)(nil), // 25: greptime.v1.CreateViewExpr
|
(*v1.DropFlowExpr)(nil), // 25: greptime.v1.DropFlowExpr
|
||||||
(*v1.DropViewExpr)(nil), // 26: greptime.v1.DropViewExpr
|
(*v1.CreateViewExpr)(nil), // 26: greptime.v1.CreateViewExpr
|
||||||
(*RequestHeader)(nil), // 27: greptime.v1.meta.RequestHeader
|
(*v1.DropViewExpr)(nil), // 27: greptime.v1.DropViewExpr
|
||||||
(*v1.QueryContext)(nil), // 28: greptime.v1.QueryContext
|
(*v1.AlterDatabaseExpr)(nil), // 28: greptime.v1.AlterDatabaseExpr
|
||||||
(*ResponseHeader)(nil), // 29: greptime.v1.meta.ResponseHeader
|
(*RequestHeader)(nil), // 29: greptime.v1.meta.RequestHeader
|
||||||
(*ProcedureId)(nil), // 30: greptime.v1.meta.ProcedureId
|
(*v1.QueryContext)(nil), // 30: greptime.v1.QueryContext
|
||||||
(*v1.TableId)(nil), // 31: greptime.v1.TableId
|
(*ResponseHeader)(nil), // 31: greptime.v1.meta.ResponseHeader
|
||||||
|
(*ProcedureId)(nil), // 32: greptime.v1.meta.ProcedureId
|
||||||
|
(*v1.TableId)(nil), // 33: greptime.v1.TableId
|
||||||
}
|
}
|
||||||
var file_greptime_v1_meta_ddl_proto_depIdxs = []int32{
|
var file_greptime_v1_meta_ddl_proto_depIdxs = []int32{
|
||||||
16, // 0: greptime.v1.meta.CreateDatabaseTask.create_database:type_name -> greptime.v1.CreateDatabaseExpr
|
17, // 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, // 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
|
19, // 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
|
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
|
20, // 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
|
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
|
21, // 6: greptime.v1.meta.AlterTableTask.alter_table:type_name -> greptime.v1.AlterTableExpr
|
||||||
6, // 7: greptime.v1.meta.AlterTableTasks.tasks:type_name -> greptime.v1.meta.AlterTableTask
|
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, // 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, // 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, // 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, // 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, // 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, // 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, // 14: greptime.v1.meta.AlterDatabaseTask.task:type_name -> greptime.v1.AlterDatabaseExpr
|
||||||
28, // 15: greptime.v1.meta.DdlTaskRequest.query_context:type_name -> greptime.v1.QueryContext
|
29, // 15: greptime.v1.meta.DdlTaskRequest.header:type_name -> greptime.v1.meta.RequestHeader
|
||||||
2, // 16: greptime.v1.meta.DdlTaskRequest.create_table_task:type_name -> greptime.v1.meta.CreateTableTask
|
30, // 16: greptime.v1.meta.DdlTaskRequest.query_context:type_name -> greptime.v1.QueryContext
|
||||||
4, // 17: greptime.v1.meta.DdlTaskRequest.drop_table_task:type_name -> greptime.v1.meta.DropTableTask
|
2, // 17: greptime.v1.meta.DdlTaskRequest.create_table_task:type_name -> greptime.v1.meta.CreateTableTask
|
||||||
6, // 18: greptime.v1.meta.DdlTaskRequest.alter_table_task:type_name -> greptime.v1.meta.AlterTableTask
|
4, // 18: greptime.v1.meta.DdlTaskRequest.drop_table_task:type_name -> greptime.v1.meta.DropTableTask
|
||||||
8, // 19: greptime.v1.meta.DdlTaskRequest.truncate_table_task:type_name -> greptime.v1.meta.TruncateTableTask
|
6, // 19: greptime.v1.meta.DdlTaskRequest.alter_table_task:type_name -> greptime.v1.meta.AlterTableTask
|
||||||
3, // 20: greptime.v1.meta.DdlTaskRequest.create_table_tasks:type_name -> greptime.v1.meta.CreateTableTasks
|
8, // 20: greptime.v1.meta.DdlTaskRequest.truncate_table_task:type_name -> greptime.v1.meta.TruncateTableTask
|
||||||
5, // 21: greptime.v1.meta.DdlTaskRequest.drop_table_tasks:type_name -> greptime.v1.meta.DropTableTasks
|
3, // 21: greptime.v1.meta.DdlTaskRequest.create_table_tasks:type_name -> greptime.v1.meta.CreateTableTasks
|
||||||
7, // 22: greptime.v1.meta.DdlTaskRequest.alter_table_tasks:type_name -> greptime.v1.meta.AlterTableTasks
|
5, // 22: greptime.v1.meta.DdlTaskRequest.drop_table_tasks:type_name -> greptime.v1.meta.DropTableTasks
|
||||||
9, // 23: greptime.v1.meta.DdlTaskRequest.drop_database_task:type_name -> greptime.v1.meta.DropDatabaseTask
|
7, // 23: greptime.v1.meta.DdlTaskRequest.alter_table_tasks:type_name -> greptime.v1.meta.AlterTableTasks
|
||||||
1, // 24: greptime.v1.meta.DdlTaskRequest.create_database_task:type_name -> greptime.v1.meta.CreateDatabaseTask
|
9, // 24: greptime.v1.meta.DdlTaskRequest.drop_database_task:type_name -> greptime.v1.meta.DropDatabaseTask
|
||||||
10, // 25: greptime.v1.meta.DdlTaskRequest.create_flow_task:type_name -> greptime.v1.meta.CreateFlowTask
|
1, // 25: greptime.v1.meta.DdlTaskRequest.create_database_task:type_name -> greptime.v1.meta.CreateDatabaseTask
|
||||||
11, // 26: greptime.v1.meta.DdlTaskRequest.drop_flow_task:type_name -> greptime.v1.meta.DropFlowTask
|
10, // 26: greptime.v1.meta.DdlTaskRequest.create_flow_task:type_name -> greptime.v1.meta.CreateFlowTask
|
||||||
12, // 27: greptime.v1.meta.DdlTaskRequest.create_view_task:type_name -> greptime.v1.meta.CreateViewTask
|
11, // 27: greptime.v1.meta.DdlTaskRequest.drop_flow_task:type_name -> greptime.v1.meta.DropFlowTask
|
||||||
13, // 28: greptime.v1.meta.DdlTaskRequest.drop_view_task:type_name -> greptime.v1.meta.DropViewTask
|
12, // 28: greptime.v1.meta.DdlTaskRequest.create_view_task:type_name -> greptime.v1.meta.CreateViewTask
|
||||||
29, // 29: greptime.v1.meta.DdlTaskResponse.header:type_name -> greptime.v1.meta.ResponseHeader
|
13, // 29: greptime.v1.meta.DdlTaskRequest.drop_view_task:type_name -> greptime.v1.meta.DropViewTask
|
||||||
30, // 30: greptime.v1.meta.DdlTaskResponse.pid:type_name -> greptime.v1.meta.ProcedureId
|
14, // 30: greptime.v1.meta.DdlTaskRequest.alter_database_task:type_name -> greptime.v1.meta.AlterDatabaseTask
|
||||||
31, // 31: greptime.v1.meta.DdlTaskResponse.table_ids:type_name -> greptime.v1.TableId
|
31, // 31: greptime.v1.meta.DdlTaskResponse.header:type_name -> greptime.v1.meta.ResponseHeader
|
||||||
32, // [32:32] is the sub-list for method output_type
|
32, // 32: greptime.v1.meta.DdlTaskResponse.pid:type_name -> greptime.v1.meta.ProcedureId
|
||||||
32, // [32:32] is the sub-list for method input_type
|
33, // 33: greptime.v1.meta.DdlTaskResponse.table_ids:type_name -> greptime.v1.TableId
|
||||||
32, // [32:32] is the sub-list for extension type_name
|
34, // [34:34] is the sub-list for method output_type
|
||||||
32, // [32:32] is the sub-list for extension extendee
|
34, // [34:34] is the sub-list for method input_type
|
||||||
0, // [0:32] is the sub-list for field type_name
|
34, // [34:34] is the sub-list for extension type_name
|
||||||
|
34, // [34:34] is the sub-list for extension extendee
|
||||||
|
0, // [0:34] is the sub-list for field type_name
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() { file_greptime_v1_meta_ddl_proto_init() }
|
func init() { file_greptime_v1_meta_ddl_proto_init() }
|
||||||
@@ -1466,7 +1542,7 @@ func file_greptime_v1_meta_ddl_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_greptime_v1_meta_ddl_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
file_greptime_v1_meta_ddl_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*DdlTaskRequest); i {
|
switch v := v.(*AlterDatabaseTask); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
case 1:
|
case 1:
|
||||||
@@ -1478,6 +1554,18 @@ func file_greptime_v1_meta_ddl_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_greptime_v1_meta_ddl_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
file_greptime_v1_meta_ddl_proto_msgTypes[14].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[15].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*DdlTaskResponse); i {
|
switch v := v.(*DdlTaskResponse); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -1490,7 +1578,7 @@ func file_greptime_v1_meta_ddl_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_greptime_v1_meta_ddl_proto_msgTypes[13].OneofWrappers = []interface{}{
|
file_greptime_v1_meta_ddl_proto_msgTypes[14].OneofWrappers = []interface{}{
|
||||||
(*DdlTaskRequest_CreateTableTask)(nil),
|
(*DdlTaskRequest_CreateTableTask)(nil),
|
||||||
(*DdlTaskRequest_DropTableTask)(nil),
|
(*DdlTaskRequest_DropTableTask)(nil),
|
||||||
(*DdlTaskRequest_AlterTableTask)(nil),
|
(*DdlTaskRequest_AlterTableTask)(nil),
|
||||||
@@ -1504,6 +1592,7 @@ func file_greptime_v1_meta_ddl_proto_init() {
|
|||||||
(*DdlTaskRequest_DropFlowTask)(nil),
|
(*DdlTaskRequest_DropFlowTask)(nil),
|
||||||
(*DdlTaskRequest_CreateViewTask)(nil),
|
(*DdlTaskRequest_CreateViewTask)(nil),
|
||||||
(*DdlTaskRequest_DropViewTask)(nil),
|
(*DdlTaskRequest_DropViewTask)(nil),
|
||||||
|
(*DdlTaskRequest_AlterDatabaseTask)(nil),
|
||||||
}
|
}
|
||||||
type x struct{}
|
type x struct{}
|
||||||
out := protoimpl.TypeBuilder{
|
out := protoimpl.TypeBuilder{
|
||||||
@@ -1511,7 +1600,7 @@ func file_greptime_v1_meta_ddl_proto_init() {
|
|||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
RawDescriptor: file_greptime_v1_meta_ddl_proto_rawDesc,
|
RawDescriptor: file_greptime_v1_meta_ddl_proto_rawDesc,
|
||||||
NumEnums: 1,
|
NumEnums: 1,
|
||||||
NumMessages: 15,
|
NumMessages: 16,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 0,
|
NumServices: 0,
|
||||||
},
|
},
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
+4015
-1057
File diff suppressed because it is too large
Load Diff
@@ -30,13 +30,14 @@ message DdlRequest {
|
|||||||
oneof expr {
|
oneof expr {
|
||||||
CreateDatabaseExpr create_database = 1;
|
CreateDatabaseExpr create_database = 1;
|
||||||
CreateTableExpr create_table = 2;
|
CreateTableExpr create_table = 2;
|
||||||
AlterExpr alter = 3;
|
AlterTableExpr alter_table = 3;
|
||||||
DropTableExpr drop_table = 4;
|
DropTableExpr drop_table = 4;
|
||||||
TruncateTableExpr truncate_table = 7;
|
TruncateTableExpr truncate_table = 7;
|
||||||
CreateFlowExpr create_flow = 8;
|
CreateFlowExpr create_flow = 8;
|
||||||
DropFlowExpr drop_flow = 9;
|
DropFlowExpr drop_flow = 9;
|
||||||
CreateViewExpr create_view = 10;
|
CreateViewExpr create_view = 10;
|
||||||
DropViewExpr drop_view = 11;
|
DropViewExpr drop_view = 11;
|
||||||
|
AlterDatabaseExpr alter_database = 12;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -100,7 +101,7 @@ message CreateTableExpr {
|
|||||||
string engine = 12;
|
string engine = 12;
|
||||||
}
|
}
|
||||||
|
|
||||||
message AlterExpr {
|
message AlterTableExpr {
|
||||||
string catalog_name = 1;
|
string catalog_name = 1;
|
||||||
string schema_name = 2;
|
string schema_name = 2;
|
||||||
string table_name = 3;
|
string table_name = 3;
|
||||||
@@ -163,15 +164,15 @@ message ModifyColumnType {
|
|||||||
ColumnDataTypeExtension target_type_extension = 3;
|
ColumnDataTypeExtension target_type_extension = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
message SetTableOptions {
|
message Option {
|
||||||
repeated TableOption table_options = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
message TableOption {
|
|
||||||
string key = 1;
|
string key = 1;
|
||||||
string value = 2;
|
string value = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message SetTableOptions {
|
||||||
|
repeated Option table_options = 1;
|
||||||
|
}
|
||||||
|
|
||||||
message UnsetTableOptions {
|
message UnsetTableOptions {
|
||||||
repeated string keys = 1;
|
repeated string keys = 1;
|
||||||
}
|
}
|
||||||
@@ -221,3 +222,20 @@ message SetColumnFulltext {
|
|||||||
message UnsetColumnFulltext {
|
message UnsetColumnFulltext {
|
||||||
string column_name = 1;
|
string column_name = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message AlterDatabaseExpr {
|
||||||
|
string catalog_name = 1;
|
||||||
|
string schema_name = 2;
|
||||||
|
oneof kind {
|
||||||
|
SetDatabaseOptions set_database_options = 3;
|
||||||
|
UnsetDatabaseOptions unset_database_options = 4;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
message SetDatabaseOptions {
|
||||||
|
repeated Option set_database_options = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message UnsetDatabaseOptions {
|
||||||
|
repeated string keys = 1;
|
||||||
|
}
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ message DropTableTask{
|
|||||||
message DropTableTasks { repeated DropTableTask tasks = 1; }
|
message DropTableTasks { repeated DropTableTask tasks = 1; }
|
||||||
|
|
||||||
message AlterTableTask{
|
message AlterTableTask{
|
||||||
AlterExpr alter_table = 1;
|
AlterTableExpr alter_table = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
message AlterTableTasks { repeated AlterTableTask tasks = 1; }
|
message AlterTableTasks { repeated AlterTableTask tasks = 1; }
|
||||||
@@ -79,6 +79,11 @@ message DropViewTask {
|
|||||||
DropViewExpr drop_view = 1;
|
DropViewExpr drop_view = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Alter database tasks
|
||||||
|
message AlterDatabaseTask {
|
||||||
|
AlterDatabaseExpr task = 1;
|
||||||
|
}
|
||||||
|
|
||||||
message DdlTaskRequest {
|
message DdlTaskRequest {
|
||||||
RequestHeader header = 1;
|
RequestHeader header = 1;
|
||||||
QueryContext query_context = 64;
|
QueryContext query_context = 64;
|
||||||
@@ -97,6 +102,7 @@ message DdlTaskRequest {
|
|||||||
DropFlowTask drop_flow_task = 12;
|
DropFlowTask drop_flow_task = 12;
|
||||||
CreateViewTask create_view_task = 13;
|
CreateViewTask create_view_task = 13;
|
||||||
DropViewTask drop_view_task = 14;
|
DropViewTask drop_view_task = 14;
|
||||||
|
AlterDatabaseTask alter_database_task = 15;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user