feat: adds view expressions (#165)
* feat: adds view expressions * feat: adds meta tasks for view * feat: adds view_info to CreateViewTask * chore: rename create_or_replace to or_replace
This commit is contained in:
+1097
-116
File diff suppressed because it is too large
Load Diff
+1168
-17
File diff suppressed because it is too large
Load Diff
+660
-36
@@ -168,6 +168,33 @@ struct DropFlowTaskDefaultTypeInternal {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DropFlowTaskDefaultTypeInternal _DropFlowTask_default_instance_;
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DropFlowTaskDefaultTypeInternal _DropFlowTask_default_instance_;
|
||||||
|
PROTOBUF_CONSTEXPR CreateViewTask::CreateViewTask(
|
||||||
|
::_pbi::ConstantInitialized): _impl_{
|
||||||
|
/*decltype(_impl_.view_info_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
||||||
|
, /*decltype(_impl_.create_view_)*/nullptr
|
||||||
|
, /*decltype(_impl_._cached_size_)*/{}} {}
|
||||||
|
struct CreateViewTaskDefaultTypeInternal {
|
||||||
|
PROTOBUF_CONSTEXPR CreateViewTaskDefaultTypeInternal()
|
||||||
|
: _instance(::_pbi::ConstantInitialized{}) {}
|
||||||
|
~CreateViewTaskDefaultTypeInternal() {}
|
||||||
|
union {
|
||||||
|
CreateViewTask _instance;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CreateViewTaskDefaultTypeInternal _CreateViewTask_default_instance_;
|
||||||
|
PROTOBUF_CONSTEXPR DropViewTask::DropViewTask(
|
||||||
|
::_pbi::ConstantInitialized): _impl_{
|
||||||
|
/*decltype(_impl_.drop_view_)*/nullptr
|
||||||
|
, /*decltype(_impl_._cached_size_)*/{}} {}
|
||||||
|
struct DropViewTaskDefaultTypeInternal {
|
||||||
|
PROTOBUF_CONSTEXPR DropViewTaskDefaultTypeInternal()
|
||||||
|
: _instance(::_pbi::ConstantInitialized{}) {}
|
||||||
|
~DropViewTaskDefaultTypeInternal() {}
|
||||||
|
union {
|
||||||
|
DropViewTask _instance;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DropViewTaskDefaultTypeInternal _DropViewTask_default_instance_;
|
||||||
PROTOBUF_CONSTEXPR DdlTaskRequest::DdlTaskRequest(
|
PROTOBUF_CONSTEXPR DdlTaskRequest::DdlTaskRequest(
|
||||||
::_pbi::ConstantInitialized): _impl_{
|
::_pbi::ConstantInitialized): _impl_{
|
||||||
/*decltype(_impl_.header_)*/nullptr
|
/*decltype(_impl_.header_)*/nullptr
|
||||||
@@ -203,7 +230,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[13];
|
static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fmeta_2fddl_2eproto[15];
|
||||||
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;
|
||||||
|
|
||||||
@@ -288,6 +315,21 @@ 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::DropFlowTask, _impl_.drop_flow_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::DropFlowTask, _impl_.drop_flow_),
|
||||||
~0u, // no _has_bits_
|
~0u, // no _has_bits_
|
||||||
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::CreateViewTask, _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::CreateViewTask, _impl_.create_view_),
|
||||||
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::CreateViewTask, _impl_.view_info_),
|
||||||
|
~0u, // no _has_bits_
|
||||||
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::DropViewTask, _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::DropViewTask, _impl_.drop_view_),
|
||||||
|
~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]),
|
||||||
@@ -306,6 +348,8 @@ 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,
|
||||||
|
::_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_),
|
||||||
@@ -330,8 +374,10 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode
|
|||||||
{ 58, -1, -1, sizeof(::greptime::v1::meta::DropDatabaseTask)},
|
{ 58, -1, -1, sizeof(::greptime::v1::meta::DropDatabaseTask)},
|
||||||
{ 65, -1, -1, sizeof(::greptime::v1::meta::CreateFlowTask)},
|
{ 65, -1, -1, sizeof(::greptime::v1::meta::CreateFlowTask)},
|
||||||
{ 72, -1, -1, sizeof(::greptime::v1::meta::DropFlowTask)},
|
{ 72, -1, -1, sizeof(::greptime::v1::meta::DropFlowTask)},
|
||||||
{ 79, -1, -1, sizeof(::greptime::v1::meta::DdlTaskRequest)},
|
{ 79, -1, -1, sizeof(::greptime::v1::meta::CreateViewTask)},
|
||||||
{ 99, -1, -1, sizeof(::greptime::v1::meta::DdlTaskResponse)},
|
{ 87, -1, -1, sizeof(::greptime::v1::meta::DropViewTask)},
|
||||||
|
{ 94, -1, -1, sizeof(::greptime::v1::meta::DdlTaskRequest)},
|
||||||
|
{ 116, -1, -1, sizeof(::greptime::v1::meta::DdlTaskResponse)},
|
||||||
};
|
};
|
||||||
|
|
||||||
static const ::_pb::Message* const file_default_instances[] = {
|
static const ::_pb::Message* const file_default_instances[] = {
|
||||||
@@ -346,6 +392,8 @@ static const ::_pb::Message* const file_default_instances[] = {
|
|||||||
&::greptime::v1::meta::_DropDatabaseTask_default_instance_._instance,
|
&::greptime::v1::meta::_DropDatabaseTask_default_instance_._instance,
|
||||||
&::greptime::v1::meta::_CreateFlowTask_default_instance_._instance,
|
&::greptime::v1::meta::_CreateFlowTask_default_instance_._instance,
|
||||||
&::greptime::v1::meta::_DropFlowTask_default_instance_._instance,
|
&::greptime::v1::meta::_DropFlowTask_default_instance_._instance,
|
||||||
|
&::greptime::v1::meta::_CreateViewTask_default_instance_._instance,
|
||||||
|
&::greptime::v1::meta::_DropViewTask_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,
|
||||||
};
|
};
|
||||||
@@ -375,35 +423,42 @@ const char descriptor_table_protodef_greptime_2fv1_2fmeta_2fddl_2eproto[] PROTOB
|
|||||||
".v1.DropDatabaseExpr\"B\n\016CreateFlowTask\0220"
|
".v1.DropDatabaseExpr\"B\n\016CreateFlowTask\0220"
|
||||||
"\n\013create_flow\030\001 \001(\0132\033.greptime.v1.Create"
|
"\n\013create_flow\030\001 \001(\0132\033.greptime.v1.Create"
|
||||||
"FlowExpr\"<\n\014DropFlowTask\022,\n\tdrop_flow\030\001 "
|
"FlowExpr\"<\n\014DropFlowTask\022,\n\tdrop_flow\030\001 "
|
||||||
"\001(\0132\031.greptime.v1.DropFlowExpr\"\271\006\n\016DdlTa"
|
"\001(\0132\031.greptime.v1.DropFlowExpr\"U\n\016Create"
|
||||||
"skRequest\022/\n\006header\030\001 \001(\0132\037.greptime.v1."
|
"ViewTask\0220\n\013create_view\030\001 \001(\0132\033.greptime"
|
||||||
"meta.RequestHeader\0220\n\rquery_context\030@ \001("
|
".v1.CreateViewExpr\022\021\n\tview_info\030\002 \001(\014\"<\n"
|
||||||
"\0132\031.greptime.v1.QueryContext\022>\n\021create_t"
|
"\014DropViewTask\022,\n\tdrop_view\030\001 \001(\0132\031.grept"
|
||||||
"able_task\030\002 \001(\0132!.greptime.v1.meta.Creat"
|
"ime.v1.DropViewExpr\"\261\007\n\016DdlTaskRequest\022/"
|
||||||
"eTableTaskH\000\022:\n\017drop_table_task\030\003 \001(\0132\037."
|
"\n\006header\030\001 \001(\0132\037.greptime.v1.meta.Reques"
|
||||||
"greptime.v1.meta.DropTableTaskH\000\022<\n\020alte"
|
"tHeader\0220\n\rquery_context\030@ \001(\0132\031.greptim"
|
||||||
"r_table_task\030\004 \001(\0132 .greptime.v1.meta.Al"
|
"e.v1.QueryContext\022>\n\021create_table_task\030\002"
|
||||||
"terTableTaskH\000\022B\n\023truncate_table_task\030\005 "
|
" \001(\0132!.greptime.v1.meta.CreateTableTaskH"
|
||||||
"\001(\0132#.greptime.v1.meta.TruncateTableTask"
|
"\000\022:\n\017drop_table_task\030\003 \001(\0132\037.greptime.v1"
|
||||||
"H\000\022@\n\022create_table_tasks\030\006 \001(\0132\".greptim"
|
".meta.DropTableTaskH\000\022<\n\020alter_table_tas"
|
||||||
"e.v1.meta.CreateTableTasksH\000\022<\n\020drop_tab"
|
"k\030\004 \001(\0132 .greptime.v1.meta.AlterTableTas"
|
||||||
"le_tasks\030\007 \001(\0132 .greptime.v1.meta.DropTa"
|
"kH\000\022B\n\023truncate_table_task\030\005 \001(\0132#.grept"
|
||||||
"bleTasksH\000\022>\n\021alter_table_tasks\030\010 \001(\0132!."
|
"ime.v1.meta.TruncateTableTaskH\000\022@\n\022creat"
|
||||||
"greptime.v1.meta.AlterTableTasksH\000\022@\n\022dr"
|
"e_table_tasks\030\006 \001(\0132\".greptime.v1.meta.C"
|
||||||
"op_database_task\030\t \001(\0132\".greptime.v1.met"
|
"reateTableTasksH\000\022<\n\020drop_table_tasks\030\007 "
|
||||||
"a.DropDatabaseTaskH\000\022D\n\024create_database_"
|
"\001(\0132 .greptime.v1.meta.DropTableTasksH\000\022"
|
||||||
"task\030\n \001(\0132$.greptime.v1.meta.CreateData"
|
">\n\021alter_table_tasks\030\010 \001(\0132!.greptime.v1"
|
||||||
"baseTaskH\000\022<\n\020create_flow_task\030\013 \001(\0132 .g"
|
".meta.AlterTableTasksH\000\022@\n\022drop_database"
|
||||||
"reptime.v1.meta.CreateFlowTaskH\000\0228\n\016drop"
|
"_task\030\t \001(\0132\".greptime.v1.meta.DropDatab"
|
||||||
"_flow_task\030\014 \001(\0132\036.greptime.v1.meta.Drop"
|
"aseTaskH\000\022D\n\024create_database_task\030\n \001(\0132"
|
||||||
"FlowTaskH\000B\006\n\004task\"\300\001\n\017DdlTaskResponse\0220"
|
"$.greptime.v1.meta.CreateDatabaseTaskH\000\022"
|
||||||
"\n\006header\030\001 \001(\0132 .greptime.v1.meta.Respon"
|
"<\n\020create_flow_task\030\013 \001(\0132 .greptime.v1."
|
||||||
"seHeader\022*\n\003pid\030\002 \001(\0132\035.greptime.v1.meta"
|
"meta.CreateFlowTaskH\000\0228\n\016drop_flow_task\030"
|
||||||
".ProcedureId\022&\n\010table_id\030\004 \001(\0132\024.greptim"
|
"\014 \001(\0132\036.greptime.v1.meta.DropFlowTaskH\000\022"
|
||||||
"e.v1.TableId\022\'\n\ttable_ids\030\005 \003(\0132\024.grepti"
|
"<\n\020create_view_task\030\r \001(\0132 .greptime.v1."
|
||||||
"me.v1.TableId*#\n\013DdlTaskType\022\n\n\006Create\020\000"
|
"meta.CreateViewTaskH\000\0228\n\016drop_view_task\030"
|
||||||
"\022\010\n\004Drop\020\001B<Z:github.com/GreptimeTeam/gr"
|
"\016 \001(\0132\036.greptime.v1.meta.DropViewTaskH\000B"
|
||||||
"eptime-proto/go/greptime/v1/metab\006proto3"
|
"\006\n\004task\"\300\001\n\017DdlTaskResponse\0220\n\006header\030\001 "
|
||||||
|
"\001(\0132 .greptime.v1.meta.ResponseHeader\022*\n"
|
||||||
|
"\003pid\030\002 \001(\0132\035.greptime.v1.meta.ProcedureI"
|
||||||
|
"d\022&\n\010table_id\030\004 \001(\0132\024.greptime.v1.TableI"
|
||||||
|
"d\022\'\n\ttable_ids\030\005 \003(\0132\024.greptime.v1.Table"
|
||||||
|
"Id*#\n\013DdlTaskType\022\n\n\006Create\020\000\022\010\n\004Drop\020\001B"
|
||||||
|
"<Z:github.com/GreptimeTeam/greptime-prot"
|
||||||
|
"o/go/greptime/v1/metab\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,
|
||||||
@@ -413,9 +468,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, 2120, descriptor_table_protodef_greptime_2fv1_2fmeta_2fddl_2eproto,
|
false, false, 2389, 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, 13,
|
&descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_once, descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_deps, 4, 15,
|
||||||
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,
|
||||||
@@ -2677,6 +2732,451 @@ void DropFlowTask::InternalSwap(DropFlowTask* other) {
|
|||||||
|
|
||||||
// ===================================================================
|
// ===================================================================
|
||||||
|
|
||||||
|
class CreateViewTask::_Internal {
|
||||||
|
public:
|
||||||
|
static const ::greptime::v1::CreateViewExpr& create_view(const CreateViewTask* msg);
|
||||||
|
};
|
||||||
|
|
||||||
|
const ::greptime::v1::CreateViewExpr&
|
||||||
|
CreateViewTask::_Internal::create_view(const CreateViewTask* msg) {
|
||||||
|
return *msg->_impl_.create_view_;
|
||||||
|
}
|
||||||
|
void CreateViewTask::clear_create_view() {
|
||||||
|
if (GetArenaForAllocation() == nullptr && _impl_.create_view_ != nullptr) {
|
||||||
|
delete _impl_.create_view_;
|
||||||
|
}
|
||||||
|
_impl_.create_view_ = nullptr;
|
||||||
|
}
|
||||||
|
CreateViewTask::CreateViewTask(::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.CreateViewTask)
|
||||||
|
}
|
||||||
|
CreateViewTask::CreateViewTask(const CreateViewTask& from)
|
||||||
|
: ::PROTOBUF_NAMESPACE_ID::Message() {
|
||||||
|
CreateViewTask* const _this = this; (void)_this;
|
||||||
|
new (&_impl_) Impl_{
|
||||||
|
decltype(_impl_.view_info_){}
|
||||||
|
, decltype(_impl_.create_view_){nullptr}
|
||||||
|
, /*decltype(_impl_._cached_size_)*/{}};
|
||||||
|
|
||||||
|
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||||
|
_impl_.view_info_.InitDefault();
|
||||||
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||||
|
_impl_.view_info_.Set("", GetArenaForAllocation());
|
||||||
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||||
|
if (!from._internal_view_info().empty()) {
|
||||||
|
_this->_impl_.view_info_.Set(from._internal_view_info(),
|
||||||
|
_this->GetArenaForAllocation());
|
||||||
|
}
|
||||||
|
if (from._internal_has_create_view()) {
|
||||||
|
_this->_impl_.create_view_ = new ::greptime::v1::CreateViewExpr(*from._impl_.create_view_);
|
||||||
|
}
|
||||||
|
// @@protoc_insertion_point(copy_constructor:greptime.v1.meta.CreateViewTask)
|
||||||
|
}
|
||||||
|
|
||||||
|
inline void CreateViewTask::SharedCtor(
|
||||||
|
::_pb::Arena* arena, bool is_message_owned) {
|
||||||
|
(void)arena;
|
||||||
|
(void)is_message_owned;
|
||||||
|
new (&_impl_) Impl_{
|
||||||
|
decltype(_impl_.view_info_){}
|
||||||
|
, decltype(_impl_.create_view_){nullptr}
|
||||||
|
, /*decltype(_impl_._cached_size_)*/{}
|
||||||
|
};
|
||||||
|
_impl_.view_info_.InitDefault();
|
||||||
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||||
|
_impl_.view_info_.Set("", GetArenaForAllocation());
|
||||||
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||||
|
}
|
||||||
|
|
||||||
|
CreateViewTask::~CreateViewTask() {
|
||||||
|
// @@protoc_insertion_point(destructor:greptime.v1.meta.CreateViewTask)
|
||||||
|
if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
|
||||||
|
(void)arena;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
SharedDtor();
|
||||||
|
}
|
||||||
|
|
||||||
|
inline void CreateViewTask::SharedDtor() {
|
||||||
|
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
|
||||||
|
_impl_.view_info_.Destroy();
|
||||||
|
if (this != internal_default_instance()) delete _impl_.create_view_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateViewTask::SetCachedSize(int size) const {
|
||||||
|
_impl_._cached_size_.Set(size);
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateViewTask::Clear() {
|
||||||
|
// @@protoc_insertion_point(message_clear_start:greptime.v1.meta.CreateViewTask)
|
||||||
|
uint32_t cached_has_bits = 0;
|
||||||
|
// Prevent compiler warnings about cached_has_bits being unused
|
||||||
|
(void) cached_has_bits;
|
||||||
|
|
||||||
|
_impl_.view_info_.ClearToEmpty();
|
||||||
|
if (GetArenaForAllocation() == nullptr && _impl_.create_view_ != nullptr) {
|
||||||
|
delete _impl_.create_view_;
|
||||||
|
}
|
||||||
|
_impl_.create_view_ = nullptr;
|
||||||
|
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
||||||
|
}
|
||||||
|
|
||||||
|
const char* CreateViewTask::_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.CreateViewExpr create_view = 1;
|
||||||
|
case 1:
|
||||||
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
|
||||||
|
ptr = ctx->ParseMessage(_internal_mutable_create_view(), ptr);
|
||||||
|
CHK_(ptr);
|
||||||
|
} else
|
||||||
|
goto handle_unusual;
|
||||||
|
continue;
|
||||||
|
// bytes view_info = 2;
|
||||||
|
case 2:
|
||||||
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
|
||||||
|
auto str = _internal_mutable_view_info();
|
||||||
|
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
|
||||||
|
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* CreateViewTask::_InternalSerialize(
|
||||||
|
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
|
||||||
|
// @@protoc_insertion_point(serialize_to_array_start:greptime.v1.meta.CreateViewTask)
|
||||||
|
uint32_t cached_has_bits = 0;
|
||||||
|
(void) cached_has_bits;
|
||||||
|
|
||||||
|
// .greptime.v1.CreateViewExpr create_view = 1;
|
||||||
|
if (this->_internal_has_create_view()) {
|
||||||
|
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||||
|
InternalWriteMessage(1, _Internal::create_view(this),
|
||||||
|
_Internal::create_view(this).GetCachedSize(), target, stream);
|
||||||
|
}
|
||||||
|
|
||||||
|
// bytes view_info = 2;
|
||||||
|
if (!this->_internal_view_info().empty()) {
|
||||||
|
target = stream->WriteBytesMaybeAliased(
|
||||||
|
2, this->_internal_view_info(), target);
|
||||||
|
}
|
||||||
|
|
||||||
|
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.CreateViewTask)
|
||||||
|
return target;
|
||||||
|
}
|
||||||
|
|
||||||
|
size_t CreateViewTask::ByteSizeLong() const {
|
||||||
|
// @@protoc_insertion_point(message_byte_size_start:greptime.v1.meta.CreateViewTask)
|
||||||
|
size_t total_size = 0;
|
||||||
|
|
||||||
|
uint32_t cached_has_bits = 0;
|
||||||
|
// Prevent compiler warnings about cached_has_bits being unused
|
||||||
|
(void) cached_has_bits;
|
||||||
|
|
||||||
|
// bytes view_info = 2;
|
||||||
|
if (!this->_internal_view_info().empty()) {
|
||||||
|
total_size += 1 +
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(
|
||||||
|
this->_internal_view_info());
|
||||||
|
}
|
||||||
|
|
||||||
|
// .greptime.v1.CreateViewExpr create_view = 1;
|
||||||
|
if (this->_internal_has_create_view()) {
|
||||||
|
total_size += 1 +
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
|
||||||
|
*_impl_.create_view_);
|
||||||
|
}
|
||||||
|
|
||||||
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
||||||
|
}
|
||||||
|
|
||||||
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CreateViewTask::_class_data_ = {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
|
||||||
|
CreateViewTask::MergeImpl
|
||||||
|
};
|
||||||
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CreateViewTask::GetClassData() const { return &_class_data_; }
|
||||||
|
|
||||||
|
|
||||||
|
void CreateViewTask::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
|
||||||
|
auto* const _this = static_cast<CreateViewTask*>(&to_msg);
|
||||||
|
auto& from = static_cast<const CreateViewTask&>(from_msg);
|
||||||
|
// @@protoc_insertion_point(class_specific_merge_from_start:greptime.v1.meta.CreateViewTask)
|
||||||
|
GOOGLE_DCHECK_NE(&from, _this);
|
||||||
|
uint32_t cached_has_bits = 0;
|
||||||
|
(void) cached_has_bits;
|
||||||
|
|
||||||
|
if (!from._internal_view_info().empty()) {
|
||||||
|
_this->_internal_set_view_info(from._internal_view_info());
|
||||||
|
}
|
||||||
|
if (from._internal_has_create_view()) {
|
||||||
|
_this->_internal_mutable_create_view()->::greptime::v1::CreateViewExpr::MergeFrom(
|
||||||
|
from._internal_create_view());
|
||||||
|
}
|
||||||
|
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateViewTask::CopyFrom(const CreateViewTask& from) {
|
||||||
|
// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.meta.CreateViewTask)
|
||||||
|
if (&from == this) return;
|
||||||
|
Clear();
|
||||||
|
MergeFrom(from);
|
||||||
|
}
|
||||||
|
|
||||||
|
bool CreateViewTask::IsInitialized() const {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateViewTask::InternalSwap(CreateViewTask* other) {
|
||||||
|
using std::swap;
|
||||||
|
auto* lhs_arena = GetArenaForAllocation();
|
||||||
|
auto* rhs_arena = other->GetArenaForAllocation();
|
||||||
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
|
||||||
|
&_impl_.view_info_, lhs_arena,
|
||||||
|
&other->_impl_.view_info_, rhs_arena
|
||||||
|
);
|
||||||
|
swap(_impl_.create_view_, other->_impl_.create_view_);
|
||||||
|
}
|
||||||
|
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Metadata CreateViewTask::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[11]);
|
||||||
|
}
|
||||||
|
|
||||||
|
// ===================================================================
|
||||||
|
|
||||||
|
class DropViewTask::_Internal {
|
||||||
|
public:
|
||||||
|
static const ::greptime::v1::DropViewExpr& drop_view(const DropViewTask* msg);
|
||||||
|
};
|
||||||
|
|
||||||
|
const ::greptime::v1::DropViewExpr&
|
||||||
|
DropViewTask::_Internal::drop_view(const DropViewTask* msg) {
|
||||||
|
return *msg->_impl_.drop_view_;
|
||||||
|
}
|
||||||
|
void DropViewTask::clear_drop_view() {
|
||||||
|
if (GetArenaForAllocation() == nullptr && _impl_.drop_view_ != nullptr) {
|
||||||
|
delete _impl_.drop_view_;
|
||||||
|
}
|
||||||
|
_impl_.drop_view_ = nullptr;
|
||||||
|
}
|
||||||
|
DropViewTask::DropViewTask(::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.DropViewTask)
|
||||||
|
}
|
||||||
|
DropViewTask::DropViewTask(const DropViewTask& from)
|
||||||
|
: ::PROTOBUF_NAMESPACE_ID::Message() {
|
||||||
|
DropViewTask* const _this = this; (void)_this;
|
||||||
|
new (&_impl_) Impl_{
|
||||||
|
decltype(_impl_.drop_view_){nullptr}
|
||||||
|
, /*decltype(_impl_._cached_size_)*/{}};
|
||||||
|
|
||||||
|
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||||
|
if (from._internal_has_drop_view()) {
|
||||||
|
_this->_impl_.drop_view_ = new ::greptime::v1::DropViewExpr(*from._impl_.drop_view_);
|
||||||
|
}
|
||||||
|
// @@protoc_insertion_point(copy_constructor:greptime.v1.meta.DropViewTask)
|
||||||
|
}
|
||||||
|
|
||||||
|
inline void DropViewTask::SharedCtor(
|
||||||
|
::_pb::Arena* arena, bool is_message_owned) {
|
||||||
|
(void)arena;
|
||||||
|
(void)is_message_owned;
|
||||||
|
new (&_impl_) Impl_{
|
||||||
|
decltype(_impl_.drop_view_){nullptr}
|
||||||
|
, /*decltype(_impl_._cached_size_)*/{}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
DropViewTask::~DropViewTask() {
|
||||||
|
// @@protoc_insertion_point(destructor:greptime.v1.meta.DropViewTask)
|
||||||
|
if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
|
||||||
|
(void)arena;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
SharedDtor();
|
||||||
|
}
|
||||||
|
|
||||||
|
inline void DropViewTask::SharedDtor() {
|
||||||
|
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
|
||||||
|
if (this != internal_default_instance()) delete _impl_.drop_view_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DropViewTask::SetCachedSize(int size) const {
|
||||||
|
_impl_._cached_size_.Set(size);
|
||||||
|
}
|
||||||
|
|
||||||
|
void DropViewTask::Clear() {
|
||||||
|
// @@protoc_insertion_point(message_clear_start:greptime.v1.meta.DropViewTask)
|
||||||
|
uint32_t cached_has_bits = 0;
|
||||||
|
// Prevent compiler warnings about cached_has_bits being unused
|
||||||
|
(void) cached_has_bits;
|
||||||
|
|
||||||
|
if (GetArenaForAllocation() == nullptr && _impl_.drop_view_ != nullptr) {
|
||||||
|
delete _impl_.drop_view_;
|
||||||
|
}
|
||||||
|
_impl_.drop_view_ = nullptr;
|
||||||
|
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
||||||
|
}
|
||||||
|
|
||||||
|
const char* DropViewTask::_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.DropViewExpr drop_view = 1;
|
||||||
|
case 1:
|
||||||
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
|
||||||
|
ptr = ctx->ParseMessage(_internal_mutable_drop_view(), 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* DropViewTask::_InternalSerialize(
|
||||||
|
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
|
||||||
|
// @@protoc_insertion_point(serialize_to_array_start:greptime.v1.meta.DropViewTask)
|
||||||
|
uint32_t cached_has_bits = 0;
|
||||||
|
(void) cached_has_bits;
|
||||||
|
|
||||||
|
// .greptime.v1.DropViewExpr drop_view = 1;
|
||||||
|
if (this->_internal_has_drop_view()) {
|
||||||
|
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||||
|
InternalWriteMessage(1, _Internal::drop_view(this),
|
||||||
|
_Internal::drop_view(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.DropViewTask)
|
||||||
|
return target;
|
||||||
|
}
|
||||||
|
|
||||||
|
size_t DropViewTask::ByteSizeLong() const {
|
||||||
|
// @@protoc_insertion_point(message_byte_size_start:greptime.v1.meta.DropViewTask)
|
||||||
|
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.DropViewExpr drop_view = 1;
|
||||||
|
if (this->_internal_has_drop_view()) {
|
||||||
|
total_size += 1 +
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
|
||||||
|
*_impl_.drop_view_);
|
||||||
|
}
|
||||||
|
|
||||||
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
||||||
|
}
|
||||||
|
|
||||||
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DropViewTask::_class_data_ = {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
|
||||||
|
DropViewTask::MergeImpl
|
||||||
|
};
|
||||||
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DropViewTask::GetClassData() const { return &_class_data_; }
|
||||||
|
|
||||||
|
|
||||||
|
void DropViewTask::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
|
||||||
|
auto* const _this = static_cast<DropViewTask*>(&to_msg);
|
||||||
|
auto& from = static_cast<const DropViewTask&>(from_msg);
|
||||||
|
// @@protoc_insertion_point(class_specific_merge_from_start:greptime.v1.meta.DropViewTask)
|
||||||
|
GOOGLE_DCHECK_NE(&from, _this);
|
||||||
|
uint32_t cached_has_bits = 0;
|
||||||
|
(void) cached_has_bits;
|
||||||
|
|
||||||
|
if (from._internal_has_drop_view()) {
|
||||||
|
_this->_internal_mutable_drop_view()->::greptime::v1::DropViewExpr::MergeFrom(
|
||||||
|
from._internal_drop_view());
|
||||||
|
}
|
||||||
|
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||||
|
}
|
||||||
|
|
||||||
|
void DropViewTask::CopyFrom(const DropViewTask& from) {
|
||||||
|
// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.meta.DropViewTask)
|
||||||
|
if (&from == this) return;
|
||||||
|
Clear();
|
||||||
|
MergeFrom(from);
|
||||||
|
}
|
||||||
|
|
||||||
|
bool DropViewTask::IsInitialized() const {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DropViewTask::InternalSwap(DropViewTask* other) {
|
||||||
|
using std::swap;
|
||||||
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
||||||
|
swap(_impl_.drop_view_, other->_impl_.drop_view_);
|
||||||
|
}
|
||||||
|
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Metadata DropViewTask::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[12]);
|
||||||
|
}
|
||||||
|
|
||||||
|
// ===================================================================
|
||||||
|
|
||||||
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);
|
||||||
@@ -2692,6 +3192,8 @@ class DdlTaskRequest::_Internal {
|
|||||||
static const ::greptime::v1::meta::CreateDatabaseTask& create_database_task(const DdlTaskRequest* msg);
|
static const ::greptime::v1::meta::CreateDatabaseTask& create_database_task(const DdlTaskRequest* msg);
|
||||||
static const ::greptime::v1::meta::CreateFlowTask& create_flow_task(const DdlTaskRequest* msg);
|
static const ::greptime::v1::meta::CreateFlowTask& create_flow_task(const DdlTaskRequest* msg);
|
||||||
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::DropViewTask& drop_view_task(const DdlTaskRequest* msg);
|
||||||
};
|
};
|
||||||
|
|
||||||
const ::greptime::v1::meta::RequestHeader&
|
const ::greptime::v1::meta::RequestHeader&
|
||||||
@@ -2746,6 +3248,14 @@ const ::greptime::v1::meta::DropFlowTask&
|
|||||||
DdlTaskRequest::_Internal::drop_flow_task(const DdlTaskRequest* msg) {
|
DdlTaskRequest::_Internal::drop_flow_task(const DdlTaskRequest* msg) {
|
||||||
return *msg->_impl_.task_.drop_flow_task_;
|
return *msg->_impl_.task_.drop_flow_task_;
|
||||||
}
|
}
|
||||||
|
const ::greptime::v1::meta::CreateViewTask&
|
||||||
|
DdlTaskRequest::_Internal::create_view_task(const DdlTaskRequest* msg) {
|
||||||
|
return *msg->_impl_.task_.create_view_task_;
|
||||||
|
}
|
||||||
|
const ::greptime::v1::meta::DropViewTask&
|
||||||
|
DdlTaskRequest::_Internal::drop_view_task(const DdlTaskRequest* msg) {
|
||||||
|
return *msg->_impl_.task_.drop_view_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_;
|
||||||
@@ -2923,6 +3433,36 @@ void DdlTaskRequest::set_allocated_drop_flow_task(::greptime::v1::meta::DropFlow
|
|||||||
}
|
}
|
||||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.DdlTaskRequest.drop_flow_task)
|
// @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.DdlTaskRequest.drop_flow_task)
|
||||||
}
|
}
|
||||||
|
void DdlTaskRequest::set_allocated_create_view_task(::greptime::v1::meta::CreateViewTask* create_view_task) {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||||
|
clear_task();
|
||||||
|
if (create_view_task) {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(create_view_task);
|
||||||
|
if (message_arena != submessage_arena) {
|
||||||
|
create_view_task = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
||||||
|
message_arena, create_view_task, submessage_arena);
|
||||||
|
}
|
||||||
|
set_has_create_view_task();
|
||||||
|
_impl_.task_.create_view_task_ = create_view_task;
|
||||||
|
}
|
||||||
|
// @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.DdlTaskRequest.create_view_task)
|
||||||
|
}
|
||||||
|
void DdlTaskRequest::set_allocated_drop_view_task(::greptime::v1::meta::DropViewTask* drop_view_task) {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||||
|
clear_task();
|
||||||
|
if (drop_view_task) {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(drop_view_task);
|
||||||
|
if (message_arena != submessage_arena) {
|
||||||
|
drop_view_task = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
||||||
|
message_arena, drop_view_task, submessage_arena);
|
||||||
|
}
|
||||||
|
set_has_drop_view_task();
|
||||||
|
_impl_.task_.drop_view_task_ = drop_view_task;
|
||||||
|
}
|
||||||
|
// @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.DdlTaskRequest.drop_view_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) {
|
||||||
@@ -3003,6 +3543,16 @@ DdlTaskRequest::DdlTaskRequest(const DdlTaskRequest& from)
|
|||||||
from._internal_drop_flow_task());
|
from._internal_drop_flow_task());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case kCreateViewTask: {
|
||||||
|
_this->_internal_mutable_create_view_task()->::greptime::v1::meta::CreateViewTask::MergeFrom(
|
||||||
|
from._internal_create_view_task());
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case kDropViewTask: {
|
||||||
|
_this->_internal_mutable_drop_view_task()->::greptime::v1::meta::DropViewTask::MergeFrom(
|
||||||
|
from._internal_drop_view_task());
|
||||||
|
break;
|
||||||
|
}
|
||||||
case TASK_NOT_SET: {
|
case TASK_NOT_SET: {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -3115,6 +3665,18 @@ void DdlTaskRequest::clear_task() {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case kCreateViewTask: {
|
||||||
|
if (GetArenaForAllocation() == nullptr) {
|
||||||
|
delete _impl_.task_.create_view_task_;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case kDropViewTask: {
|
||||||
|
if (GetArenaForAllocation() == nullptr) {
|
||||||
|
delete _impl_.task_.drop_view_task_;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
case TASK_NOT_SET: {
|
case TASK_NOT_SET: {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -3243,6 +3805,22 @@ const char* DdlTaskRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext
|
|||||||
} else
|
} else
|
||||||
goto handle_unusual;
|
goto handle_unusual;
|
||||||
continue;
|
continue;
|
||||||
|
// .greptime.v1.meta.CreateViewTask create_view_task = 13;
|
||||||
|
case 13:
|
||||||
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 106)) {
|
||||||
|
ptr = ctx->ParseMessage(_internal_mutable_create_view_task(), ptr);
|
||||||
|
CHK_(ptr);
|
||||||
|
} else
|
||||||
|
goto handle_unusual;
|
||||||
|
continue;
|
||||||
|
// .greptime.v1.meta.DropViewTask drop_view_task = 14;
|
||||||
|
case 14:
|
||||||
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 114)) {
|
||||||
|
ptr = ctx->ParseMessage(_internal_mutable_drop_view_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)) {
|
||||||
@@ -3364,6 +3942,20 @@ uint8_t* DdlTaskRequest::_InternalSerialize(
|
|||||||
_Internal::drop_flow_task(this).GetCachedSize(), target, stream);
|
_Internal::drop_flow_task(this).GetCachedSize(), target, stream);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// .greptime.v1.meta.CreateViewTask create_view_task = 13;
|
||||||
|
if (_internal_has_create_view_task()) {
|
||||||
|
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||||
|
InternalWriteMessage(13, _Internal::create_view_task(this),
|
||||||
|
_Internal::create_view_task(this).GetCachedSize(), target, stream);
|
||||||
|
}
|
||||||
|
|
||||||
|
// .greptime.v1.meta.DropViewTask drop_view_task = 14;
|
||||||
|
if (_internal_has_drop_view_task()) {
|
||||||
|
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||||
|
InternalWriteMessage(14, _Internal::drop_view_task(this),
|
||||||
|
_Internal::drop_view_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::
|
||||||
@@ -3479,6 +4071,20 @@ size_t DdlTaskRequest::ByteSizeLong() const {
|
|||||||
*_impl_.task_.drop_flow_task_);
|
*_impl_.task_.drop_flow_task_);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
// .greptime.v1.meta.CreateViewTask create_view_task = 13;
|
||||||
|
case kCreateViewTask: {
|
||||||
|
total_size += 1 +
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
|
||||||
|
*_impl_.task_.create_view_task_);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
// .greptime.v1.meta.DropViewTask drop_view_task = 14;
|
||||||
|
case kDropViewTask: {
|
||||||
|
total_size += 1 +
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
|
||||||
|
*_impl_.task_.drop_view_task_);
|
||||||
|
break;
|
||||||
|
}
|
||||||
case TASK_NOT_SET: {
|
case TASK_NOT_SET: {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -3565,6 +4171,16 @@ void DdlTaskRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const :
|
|||||||
from._internal_drop_flow_task());
|
from._internal_drop_flow_task());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case kCreateViewTask: {
|
||||||
|
_this->_internal_mutable_create_view_task()->::greptime::v1::meta::CreateViewTask::MergeFrom(
|
||||||
|
from._internal_create_view_task());
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case kDropViewTask: {
|
||||||
|
_this->_internal_mutable_drop_view_task()->::greptime::v1::meta::DropViewTask::MergeFrom(
|
||||||
|
from._internal_drop_view_task());
|
||||||
|
break;
|
||||||
|
}
|
||||||
case TASK_NOT_SET: {
|
case TASK_NOT_SET: {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -3599,7 +4215,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[11]);
|
file_level_metadata_greptime_2fv1_2fmeta_2fddl_2eproto[13]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ===================================================================
|
// ===================================================================
|
||||||
@@ -3934,7 +4550,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[12]);
|
file_level_metadata_greptime_2fv1_2fmeta_2fddl_2eproto[14]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// @@protoc_insertion_point(namespace_scope)
|
// @@protoc_insertion_point(namespace_scope)
|
||||||
@@ -3986,6 +4602,14 @@ template<> PROTOBUF_NOINLINE ::greptime::v1::meta::DropFlowTask*
|
|||||||
Arena::CreateMaybeMessage< ::greptime::v1::meta::DropFlowTask >(Arena* arena) {
|
Arena::CreateMaybeMessage< ::greptime::v1::meta::DropFlowTask >(Arena* arena) {
|
||||||
return Arena::CreateMessageInternal< ::greptime::v1::meta::DropFlowTask >(arena);
|
return Arena::CreateMessageInternal< ::greptime::v1::meta::DropFlowTask >(arena);
|
||||||
}
|
}
|
||||||
|
template<> PROTOBUF_NOINLINE ::greptime::v1::meta::CreateViewTask*
|
||||||
|
Arena::CreateMaybeMessage< ::greptime::v1::meta::CreateViewTask >(Arena* arena) {
|
||||||
|
return Arena::CreateMessageInternal< ::greptime::v1::meta::CreateViewTask >(arena);
|
||||||
|
}
|
||||||
|
template<> PROTOBUF_NOINLINE ::greptime::v1::meta::DropViewTask*
|
||||||
|
Arena::CreateMaybeMessage< ::greptime::v1::meta::DropViewTask >(Arena* arena) {
|
||||||
|
return Arena::CreateMessageInternal< ::greptime::v1::meta::DropViewTask >(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);
|
||||||
|
|||||||
@@ -70,6 +70,9 @@ extern CreateTableTaskDefaultTypeInternal _CreateTableTask_default_instance_;
|
|||||||
class CreateTableTasks;
|
class CreateTableTasks;
|
||||||
struct CreateTableTasksDefaultTypeInternal;
|
struct CreateTableTasksDefaultTypeInternal;
|
||||||
extern CreateTableTasksDefaultTypeInternal _CreateTableTasks_default_instance_;
|
extern CreateTableTasksDefaultTypeInternal _CreateTableTasks_default_instance_;
|
||||||
|
class CreateViewTask;
|
||||||
|
struct CreateViewTaskDefaultTypeInternal;
|
||||||
|
extern CreateViewTaskDefaultTypeInternal _CreateViewTask_default_instance_;
|
||||||
class DdlTaskRequest;
|
class DdlTaskRequest;
|
||||||
struct DdlTaskRequestDefaultTypeInternal;
|
struct DdlTaskRequestDefaultTypeInternal;
|
||||||
extern DdlTaskRequestDefaultTypeInternal _DdlTaskRequest_default_instance_;
|
extern DdlTaskRequestDefaultTypeInternal _DdlTaskRequest_default_instance_;
|
||||||
@@ -88,6 +91,9 @@ extern DropTableTaskDefaultTypeInternal _DropTableTask_default_instance_;
|
|||||||
class DropTableTasks;
|
class DropTableTasks;
|
||||||
struct DropTableTasksDefaultTypeInternal;
|
struct DropTableTasksDefaultTypeInternal;
|
||||||
extern DropTableTasksDefaultTypeInternal _DropTableTasks_default_instance_;
|
extern DropTableTasksDefaultTypeInternal _DropTableTasks_default_instance_;
|
||||||
|
class DropViewTask;
|
||||||
|
struct DropViewTaskDefaultTypeInternal;
|
||||||
|
extern DropViewTaskDefaultTypeInternal _DropViewTask_default_instance_;
|
||||||
class TruncateTableTask;
|
class TruncateTableTask;
|
||||||
struct TruncateTableTaskDefaultTypeInternal;
|
struct TruncateTableTaskDefaultTypeInternal;
|
||||||
extern TruncateTableTaskDefaultTypeInternal _TruncateTableTask_default_instance_;
|
extern TruncateTableTaskDefaultTypeInternal _TruncateTableTask_default_instance_;
|
||||||
@@ -101,12 +107,14 @@ template<> ::greptime::v1::meta::CreateDatabaseTask* Arena::CreateMaybeMessage<:
|
|||||||
template<> ::greptime::v1::meta::CreateFlowTask* Arena::CreateMaybeMessage<::greptime::v1::meta::CreateFlowTask>(Arena*);
|
template<> ::greptime::v1::meta::CreateFlowTask* Arena::CreateMaybeMessage<::greptime::v1::meta::CreateFlowTask>(Arena*);
|
||||||
template<> ::greptime::v1::meta::CreateTableTask* Arena::CreateMaybeMessage<::greptime::v1::meta::CreateTableTask>(Arena*);
|
template<> ::greptime::v1::meta::CreateTableTask* Arena::CreateMaybeMessage<::greptime::v1::meta::CreateTableTask>(Arena*);
|
||||||
template<> ::greptime::v1::meta::CreateTableTasks* Arena::CreateMaybeMessage<::greptime::v1::meta::CreateTableTasks>(Arena*);
|
template<> ::greptime::v1::meta::CreateTableTasks* Arena::CreateMaybeMessage<::greptime::v1::meta::CreateTableTasks>(Arena*);
|
||||||
|
template<> ::greptime::v1::meta::CreateViewTask* Arena::CreateMaybeMessage<::greptime::v1::meta::CreateViewTask>(Arena*);
|
||||||
template<> ::greptime::v1::meta::DdlTaskRequest* Arena::CreateMaybeMessage<::greptime::v1::meta::DdlTaskRequest>(Arena*);
|
template<> ::greptime::v1::meta::DdlTaskRequest* Arena::CreateMaybeMessage<::greptime::v1::meta::DdlTaskRequest>(Arena*);
|
||||||
template<> ::greptime::v1::meta::DdlTaskResponse* Arena::CreateMaybeMessage<::greptime::v1::meta::DdlTaskResponse>(Arena*);
|
template<> ::greptime::v1::meta::DdlTaskResponse* Arena::CreateMaybeMessage<::greptime::v1::meta::DdlTaskResponse>(Arena*);
|
||||||
template<> ::greptime::v1::meta::DropDatabaseTask* Arena::CreateMaybeMessage<::greptime::v1::meta::DropDatabaseTask>(Arena*);
|
template<> ::greptime::v1::meta::DropDatabaseTask* Arena::CreateMaybeMessage<::greptime::v1::meta::DropDatabaseTask>(Arena*);
|
||||||
template<> ::greptime::v1::meta::DropFlowTask* Arena::CreateMaybeMessage<::greptime::v1::meta::DropFlowTask>(Arena*);
|
template<> ::greptime::v1::meta::DropFlowTask* Arena::CreateMaybeMessage<::greptime::v1::meta::DropFlowTask>(Arena*);
|
||||||
template<> ::greptime::v1::meta::DropTableTask* Arena::CreateMaybeMessage<::greptime::v1::meta::DropTableTask>(Arena*);
|
template<> ::greptime::v1::meta::DropTableTask* Arena::CreateMaybeMessage<::greptime::v1::meta::DropTableTask>(Arena*);
|
||||||
template<> ::greptime::v1::meta::DropTableTasks* Arena::CreateMaybeMessage<::greptime::v1::meta::DropTableTasks>(Arena*);
|
template<> ::greptime::v1::meta::DropTableTasks* Arena::CreateMaybeMessage<::greptime::v1::meta::DropTableTasks>(Arena*);
|
||||||
|
template<> ::greptime::v1::meta::DropViewTask* Arena::CreateMaybeMessage<::greptime::v1::meta::DropViewTask>(Arena*);
|
||||||
template<> ::greptime::v1::meta::TruncateTableTask* Arena::CreateMaybeMessage<::greptime::v1::meta::TruncateTableTask>(Arena*);
|
template<> ::greptime::v1::meta::TruncateTableTask* Arena::CreateMaybeMessage<::greptime::v1::meta::TruncateTableTask>(Arena*);
|
||||||
PROTOBUF_NAMESPACE_CLOSE
|
PROTOBUF_NAMESPACE_CLOSE
|
||||||
namespace greptime {
|
namespace greptime {
|
||||||
@@ -1903,6 +1911,336 @@ class DropFlowTask final :
|
|||||||
};
|
};
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
class CreateViewTask final :
|
||||||
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.meta.CreateViewTask) */ {
|
||||||
|
public:
|
||||||
|
inline CreateViewTask() : CreateViewTask(nullptr) {}
|
||||||
|
~CreateViewTask() override;
|
||||||
|
explicit PROTOBUF_CONSTEXPR CreateViewTask(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
||||||
|
|
||||||
|
CreateViewTask(const CreateViewTask& from);
|
||||||
|
CreateViewTask(CreateViewTask&& from) noexcept
|
||||||
|
: CreateViewTask() {
|
||||||
|
*this = ::std::move(from);
|
||||||
|
}
|
||||||
|
|
||||||
|
inline CreateViewTask& operator=(const CreateViewTask& from) {
|
||||||
|
CopyFrom(from);
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
inline CreateViewTask& operator=(CreateViewTask&& 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 CreateViewTask& default_instance() {
|
||||||
|
return *internal_default_instance();
|
||||||
|
}
|
||||||
|
static inline const CreateViewTask* internal_default_instance() {
|
||||||
|
return reinterpret_cast<const CreateViewTask*>(
|
||||||
|
&_CreateViewTask_default_instance_);
|
||||||
|
}
|
||||||
|
static constexpr int kIndexInFileMessages =
|
||||||
|
11;
|
||||||
|
|
||||||
|
friend void swap(CreateViewTask& a, CreateViewTask& b) {
|
||||||
|
a.Swap(&b);
|
||||||
|
}
|
||||||
|
inline void Swap(CreateViewTask* 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(CreateViewTask* other) {
|
||||||
|
if (other == this) return;
|
||||||
|
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
||||||
|
InternalSwap(other);
|
||||||
|
}
|
||||||
|
|
||||||
|
// implements Message ----------------------------------------------
|
||||||
|
|
||||||
|
CreateViewTask* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
||||||
|
return CreateMaybeMessage<CreateViewTask>(arena);
|
||||||
|
}
|
||||||
|
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
||||||
|
void CopyFrom(const CreateViewTask& from);
|
||||||
|
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
||||||
|
void MergeFrom( const CreateViewTask& from) {
|
||||||
|
CreateViewTask::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(CreateViewTask* other);
|
||||||
|
|
||||||
|
private:
|
||||||
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
||||||
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
||||||
|
return "greptime.v1.meta.CreateViewTask";
|
||||||
|
}
|
||||||
|
protected:
|
||||||
|
explicit CreateViewTask(::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 {
|
||||||
|
kViewInfoFieldNumber = 2,
|
||||||
|
kCreateViewFieldNumber = 1,
|
||||||
|
};
|
||||||
|
// bytes view_info = 2;
|
||||||
|
void clear_view_info();
|
||||||
|
const std::string& view_info() const;
|
||||||
|
template <typename ArgT0 = const std::string&, typename... ArgT>
|
||||||
|
void set_view_info(ArgT0&& arg0, ArgT... args);
|
||||||
|
std::string* mutable_view_info();
|
||||||
|
PROTOBUF_NODISCARD std::string* release_view_info();
|
||||||
|
void set_allocated_view_info(std::string* view_info);
|
||||||
|
private:
|
||||||
|
const std::string& _internal_view_info() const;
|
||||||
|
inline PROTOBUF_ALWAYS_INLINE void _internal_set_view_info(const std::string& value);
|
||||||
|
std::string* _internal_mutable_view_info();
|
||||||
|
public:
|
||||||
|
|
||||||
|
// .greptime.v1.CreateViewExpr create_view = 1;
|
||||||
|
bool has_create_view() const;
|
||||||
|
private:
|
||||||
|
bool _internal_has_create_view() const;
|
||||||
|
public:
|
||||||
|
void clear_create_view();
|
||||||
|
const ::greptime::v1::CreateViewExpr& create_view() const;
|
||||||
|
PROTOBUF_NODISCARD ::greptime::v1::CreateViewExpr* release_create_view();
|
||||||
|
::greptime::v1::CreateViewExpr* mutable_create_view();
|
||||||
|
void set_allocated_create_view(::greptime::v1::CreateViewExpr* create_view);
|
||||||
|
private:
|
||||||
|
const ::greptime::v1::CreateViewExpr& _internal_create_view() const;
|
||||||
|
::greptime::v1::CreateViewExpr* _internal_mutable_create_view();
|
||||||
|
public:
|
||||||
|
void unsafe_arena_set_allocated_create_view(
|
||||||
|
::greptime::v1::CreateViewExpr* create_view);
|
||||||
|
::greptime::v1::CreateViewExpr* unsafe_arena_release_create_view();
|
||||||
|
|
||||||
|
// @@protoc_insertion_point(class_scope:greptime.v1.meta.CreateViewTask)
|
||||||
|
private:
|
||||||
|
class _Internal;
|
||||||
|
|
||||||
|
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
||||||
|
typedef void InternalArenaConstructable_;
|
||||||
|
typedef void DestructorSkippable_;
|
||||||
|
struct Impl_ {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr view_info_;
|
||||||
|
::greptime::v1::CreateViewExpr* create_view_;
|
||||||
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||||
|
};
|
||||||
|
union { Impl_ _impl_; };
|
||||||
|
friend struct ::TableStruct_greptime_2fv1_2fmeta_2fddl_2eproto;
|
||||||
|
};
|
||||||
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
class DropViewTask final :
|
||||||
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.meta.DropViewTask) */ {
|
||||||
|
public:
|
||||||
|
inline DropViewTask() : DropViewTask(nullptr) {}
|
||||||
|
~DropViewTask() override;
|
||||||
|
explicit PROTOBUF_CONSTEXPR DropViewTask(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
||||||
|
|
||||||
|
DropViewTask(const DropViewTask& from);
|
||||||
|
DropViewTask(DropViewTask&& from) noexcept
|
||||||
|
: DropViewTask() {
|
||||||
|
*this = ::std::move(from);
|
||||||
|
}
|
||||||
|
|
||||||
|
inline DropViewTask& operator=(const DropViewTask& from) {
|
||||||
|
CopyFrom(from);
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
inline DropViewTask& operator=(DropViewTask&& 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 DropViewTask& default_instance() {
|
||||||
|
return *internal_default_instance();
|
||||||
|
}
|
||||||
|
static inline const DropViewTask* internal_default_instance() {
|
||||||
|
return reinterpret_cast<const DropViewTask*>(
|
||||||
|
&_DropViewTask_default_instance_);
|
||||||
|
}
|
||||||
|
static constexpr int kIndexInFileMessages =
|
||||||
|
12;
|
||||||
|
|
||||||
|
friend void swap(DropViewTask& a, DropViewTask& b) {
|
||||||
|
a.Swap(&b);
|
||||||
|
}
|
||||||
|
inline void Swap(DropViewTask* 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(DropViewTask* other) {
|
||||||
|
if (other == this) return;
|
||||||
|
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
||||||
|
InternalSwap(other);
|
||||||
|
}
|
||||||
|
|
||||||
|
// implements Message ----------------------------------------------
|
||||||
|
|
||||||
|
DropViewTask* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
||||||
|
return CreateMaybeMessage<DropViewTask>(arena);
|
||||||
|
}
|
||||||
|
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
||||||
|
void CopyFrom(const DropViewTask& from);
|
||||||
|
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
||||||
|
void MergeFrom( const DropViewTask& from) {
|
||||||
|
DropViewTask::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(DropViewTask* other);
|
||||||
|
|
||||||
|
private:
|
||||||
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
||||||
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
||||||
|
return "greptime.v1.meta.DropViewTask";
|
||||||
|
}
|
||||||
|
protected:
|
||||||
|
explicit DropViewTask(::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 {
|
||||||
|
kDropViewFieldNumber = 1,
|
||||||
|
};
|
||||||
|
// .greptime.v1.DropViewExpr drop_view = 1;
|
||||||
|
bool has_drop_view() const;
|
||||||
|
private:
|
||||||
|
bool _internal_has_drop_view() const;
|
||||||
|
public:
|
||||||
|
void clear_drop_view();
|
||||||
|
const ::greptime::v1::DropViewExpr& drop_view() const;
|
||||||
|
PROTOBUF_NODISCARD ::greptime::v1::DropViewExpr* release_drop_view();
|
||||||
|
::greptime::v1::DropViewExpr* mutable_drop_view();
|
||||||
|
void set_allocated_drop_view(::greptime::v1::DropViewExpr* drop_view);
|
||||||
|
private:
|
||||||
|
const ::greptime::v1::DropViewExpr& _internal_drop_view() const;
|
||||||
|
::greptime::v1::DropViewExpr* _internal_mutable_drop_view();
|
||||||
|
public:
|
||||||
|
void unsafe_arena_set_allocated_drop_view(
|
||||||
|
::greptime::v1::DropViewExpr* drop_view);
|
||||||
|
::greptime::v1::DropViewExpr* unsafe_arena_release_drop_view();
|
||||||
|
|
||||||
|
// @@protoc_insertion_point(class_scope:greptime.v1.meta.DropViewTask)
|
||||||
|
private:
|
||||||
|
class _Internal;
|
||||||
|
|
||||||
|
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
||||||
|
typedef void InternalArenaConstructable_;
|
||||||
|
typedef void DestructorSkippable_;
|
||||||
|
struct Impl_ {
|
||||||
|
::greptime::v1::DropViewExpr* drop_view_;
|
||||||
|
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:
|
||||||
@@ -1958,6 +2296,8 @@ class DdlTaskRequest final :
|
|||||||
kCreateDatabaseTask = 10,
|
kCreateDatabaseTask = 10,
|
||||||
kCreateFlowTask = 11,
|
kCreateFlowTask = 11,
|
||||||
kDropFlowTask = 12,
|
kDropFlowTask = 12,
|
||||||
|
kCreateViewTask = 13,
|
||||||
|
kDropViewTask = 14,
|
||||||
TASK_NOT_SET = 0,
|
TASK_NOT_SET = 0,
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -1966,7 +2306,7 @@ class DdlTaskRequest final :
|
|||||||
&_DdlTaskRequest_default_instance_);
|
&_DdlTaskRequest_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
11;
|
13;
|
||||||
|
|
||||||
friend void swap(DdlTaskRequest& a, DdlTaskRequest& b) {
|
friend void swap(DdlTaskRequest& a, DdlTaskRequest& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@@ -2052,6 +2392,8 @@ class DdlTaskRequest final :
|
|||||||
kCreateDatabaseTaskFieldNumber = 10,
|
kCreateDatabaseTaskFieldNumber = 10,
|
||||||
kCreateFlowTaskFieldNumber = 11,
|
kCreateFlowTaskFieldNumber = 11,
|
||||||
kDropFlowTaskFieldNumber = 12,
|
kDropFlowTaskFieldNumber = 12,
|
||||||
|
kCreateViewTaskFieldNumber = 13,
|
||||||
|
kDropViewTaskFieldNumber = 14,
|
||||||
};
|
};
|
||||||
// .greptime.v1.meta.RequestHeader header = 1;
|
// .greptime.v1.meta.RequestHeader header = 1;
|
||||||
bool has_header() const;
|
bool has_header() const;
|
||||||
@@ -2287,6 +2629,42 @@ class DdlTaskRequest final :
|
|||||||
::greptime::v1::meta::DropFlowTask* drop_flow_task);
|
::greptime::v1::meta::DropFlowTask* drop_flow_task);
|
||||||
::greptime::v1::meta::DropFlowTask* unsafe_arena_release_drop_flow_task();
|
::greptime::v1::meta::DropFlowTask* unsafe_arena_release_drop_flow_task();
|
||||||
|
|
||||||
|
// .greptime.v1.meta.CreateViewTask create_view_task = 13;
|
||||||
|
bool has_create_view_task() const;
|
||||||
|
private:
|
||||||
|
bool _internal_has_create_view_task() const;
|
||||||
|
public:
|
||||||
|
void clear_create_view_task();
|
||||||
|
const ::greptime::v1::meta::CreateViewTask& create_view_task() const;
|
||||||
|
PROTOBUF_NODISCARD ::greptime::v1::meta::CreateViewTask* release_create_view_task();
|
||||||
|
::greptime::v1::meta::CreateViewTask* mutable_create_view_task();
|
||||||
|
void set_allocated_create_view_task(::greptime::v1::meta::CreateViewTask* create_view_task);
|
||||||
|
private:
|
||||||
|
const ::greptime::v1::meta::CreateViewTask& _internal_create_view_task() const;
|
||||||
|
::greptime::v1::meta::CreateViewTask* _internal_mutable_create_view_task();
|
||||||
|
public:
|
||||||
|
void unsafe_arena_set_allocated_create_view_task(
|
||||||
|
::greptime::v1::meta::CreateViewTask* create_view_task);
|
||||||
|
::greptime::v1::meta::CreateViewTask* unsafe_arena_release_create_view_task();
|
||||||
|
|
||||||
|
// .greptime.v1.meta.DropViewTask drop_view_task = 14;
|
||||||
|
bool has_drop_view_task() const;
|
||||||
|
private:
|
||||||
|
bool _internal_has_drop_view_task() const;
|
||||||
|
public:
|
||||||
|
void clear_drop_view_task();
|
||||||
|
const ::greptime::v1::meta::DropViewTask& drop_view_task() const;
|
||||||
|
PROTOBUF_NODISCARD ::greptime::v1::meta::DropViewTask* release_drop_view_task();
|
||||||
|
::greptime::v1::meta::DropViewTask* mutable_drop_view_task();
|
||||||
|
void set_allocated_drop_view_task(::greptime::v1::meta::DropViewTask* drop_view_task);
|
||||||
|
private:
|
||||||
|
const ::greptime::v1::meta::DropViewTask& _internal_drop_view_task() const;
|
||||||
|
::greptime::v1::meta::DropViewTask* _internal_mutable_drop_view_task();
|
||||||
|
public:
|
||||||
|
void unsafe_arena_set_allocated_drop_view_task(
|
||||||
|
::greptime::v1::meta::DropViewTask* drop_view_task);
|
||||||
|
::greptime::v1::meta::DropViewTask* unsafe_arena_release_drop_view_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)
|
||||||
@@ -2303,6 +2681,8 @@ class DdlTaskRequest final :
|
|||||||
void set_has_create_database_task();
|
void set_has_create_database_task();
|
||||||
void set_has_create_flow_task();
|
void set_has_create_flow_task();
|
||||||
void set_has_drop_flow_task();
|
void set_has_drop_flow_task();
|
||||||
|
void set_has_create_view_task();
|
||||||
|
void set_has_drop_view_task();
|
||||||
|
|
||||||
inline bool has_task() const;
|
inline bool has_task() const;
|
||||||
inline void clear_has_task();
|
inline void clear_has_task();
|
||||||
@@ -2327,6 +2707,8 @@ class DdlTaskRequest final :
|
|||||||
::greptime::v1::meta::CreateDatabaseTask* create_database_task_;
|
::greptime::v1::meta::CreateDatabaseTask* create_database_task_;
|
||||||
::greptime::v1::meta::CreateFlowTask* create_flow_task_;
|
::greptime::v1::meta::CreateFlowTask* create_flow_task_;
|
||||||
::greptime::v1::meta::DropFlowTask* drop_flow_task_;
|
::greptime::v1::meta::DropFlowTask* drop_flow_task_;
|
||||||
|
::greptime::v1::meta::CreateViewTask* create_view_task_;
|
||||||
|
::greptime::v1::meta::DropViewTask* drop_view_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];
|
||||||
@@ -2385,7 +2767,7 @@ class DdlTaskResponse final :
|
|||||||
&_DdlTaskResponse_default_instance_);
|
&_DdlTaskResponse_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
12;
|
14;
|
||||||
|
|
||||||
friend void swap(DdlTaskResponse& a, DdlTaskResponse& b) {
|
friend void swap(DdlTaskResponse& a, DdlTaskResponse& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@@ -3492,6 +3874,234 @@ inline void DropFlowTask::set_allocated_drop_flow(::greptime::v1::DropFlowExpr*
|
|||||||
|
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
// CreateViewTask
|
||||||
|
|
||||||
|
// .greptime.v1.CreateViewExpr create_view = 1;
|
||||||
|
inline bool CreateViewTask::_internal_has_create_view() const {
|
||||||
|
return this != internal_default_instance() && _impl_.create_view_ != nullptr;
|
||||||
|
}
|
||||||
|
inline bool CreateViewTask::has_create_view() const {
|
||||||
|
return _internal_has_create_view();
|
||||||
|
}
|
||||||
|
inline const ::greptime::v1::CreateViewExpr& CreateViewTask::_internal_create_view() const {
|
||||||
|
const ::greptime::v1::CreateViewExpr* p = _impl_.create_view_;
|
||||||
|
return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::CreateViewExpr&>(
|
||||||
|
::greptime::v1::_CreateViewExpr_default_instance_);
|
||||||
|
}
|
||||||
|
inline const ::greptime::v1::CreateViewExpr& CreateViewTask::create_view() const {
|
||||||
|
// @@protoc_insertion_point(field_get:greptime.v1.meta.CreateViewTask.create_view)
|
||||||
|
return _internal_create_view();
|
||||||
|
}
|
||||||
|
inline void CreateViewTask::unsafe_arena_set_allocated_create_view(
|
||||||
|
::greptime::v1::CreateViewExpr* create_view) {
|
||||||
|
if (GetArenaForAllocation() == nullptr) {
|
||||||
|
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.create_view_);
|
||||||
|
}
|
||||||
|
_impl_.create_view_ = create_view;
|
||||||
|
if (create_view) {
|
||||||
|
|
||||||
|
} else {
|
||||||
|
|
||||||
|
}
|
||||||
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.meta.CreateViewTask.create_view)
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::CreateViewExpr* CreateViewTask::release_create_view() {
|
||||||
|
|
||||||
|
::greptime::v1::CreateViewExpr* temp = _impl_.create_view_;
|
||||||
|
_impl_.create_view_ = 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::CreateViewExpr* CreateViewTask::unsafe_arena_release_create_view() {
|
||||||
|
// @@protoc_insertion_point(field_release:greptime.v1.meta.CreateViewTask.create_view)
|
||||||
|
|
||||||
|
::greptime::v1::CreateViewExpr* temp = _impl_.create_view_;
|
||||||
|
_impl_.create_view_ = nullptr;
|
||||||
|
return temp;
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::CreateViewExpr* CreateViewTask::_internal_mutable_create_view() {
|
||||||
|
|
||||||
|
if (_impl_.create_view_ == nullptr) {
|
||||||
|
auto* p = CreateMaybeMessage<::greptime::v1::CreateViewExpr>(GetArenaForAllocation());
|
||||||
|
_impl_.create_view_ = p;
|
||||||
|
}
|
||||||
|
return _impl_.create_view_;
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::CreateViewExpr* CreateViewTask::mutable_create_view() {
|
||||||
|
::greptime::v1::CreateViewExpr* _msg = _internal_mutable_create_view();
|
||||||
|
// @@protoc_insertion_point(field_mutable:greptime.v1.meta.CreateViewTask.create_view)
|
||||||
|
return _msg;
|
||||||
|
}
|
||||||
|
inline void CreateViewTask::set_allocated_create_view(::greptime::v1::CreateViewExpr* create_view) {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||||
|
if (message_arena == nullptr) {
|
||||||
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.create_view_);
|
||||||
|
}
|
||||||
|
if (create_view) {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
|
||||||
|
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(create_view));
|
||||||
|
if (message_arena != submessage_arena) {
|
||||||
|
create_view = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
||||||
|
message_arena, create_view, submessage_arena);
|
||||||
|
}
|
||||||
|
|
||||||
|
} else {
|
||||||
|
|
||||||
|
}
|
||||||
|
_impl_.create_view_ = create_view;
|
||||||
|
// @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.CreateViewTask.create_view)
|
||||||
|
}
|
||||||
|
|
||||||
|
// bytes view_info = 2;
|
||||||
|
inline void CreateViewTask::clear_view_info() {
|
||||||
|
_impl_.view_info_.ClearToEmpty();
|
||||||
|
}
|
||||||
|
inline const std::string& CreateViewTask::view_info() const {
|
||||||
|
// @@protoc_insertion_point(field_get:greptime.v1.meta.CreateViewTask.view_info)
|
||||||
|
return _internal_view_info();
|
||||||
|
}
|
||||||
|
template <typename ArgT0, typename... ArgT>
|
||||||
|
inline PROTOBUF_ALWAYS_INLINE
|
||||||
|
void CreateViewTask::set_view_info(ArgT0&& arg0, ArgT... args) {
|
||||||
|
|
||||||
|
_impl_.view_info_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
|
||||||
|
// @@protoc_insertion_point(field_set:greptime.v1.meta.CreateViewTask.view_info)
|
||||||
|
}
|
||||||
|
inline std::string* CreateViewTask::mutable_view_info() {
|
||||||
|
std::string* _s = _internal_mutable_view_info();
|
||||||
|
// @@protoc_insertion_point(field_mutable:greptime.v1.meta.CreateViewTask.view_info)
|
||||||
|
return _s;
|
||||||
|
}
|
||||||
|
inline const std::string& CreateViewTask::_internal_view_info() const {
|
||||||
|
return _impl_.view_info_.Get();
|
||||||
|
}
|
||||||
|
inline void CreateViewTask::_internal_set_view_info(const std::string& value) {
|
||||||
|
|
||||||
|
_impl_.view_info_.Set(value, GetArenaForAllocation());
|
||||||
|
}
|
||||||
|
inline std::string* CreateViewTask::_internal_mutable_view_info() {
|
||||||
|
|
||||||
|
return _impl_.view_info_.Mutable(GetArenaForAllocation());
|
||||||
|
}
|
||||||
|
inline std::string* CreateViewTask::release_view_info() {
|
||||||
|
// @@protoc_insertion_point(field_release:greptime.v1.meta.CreateViewTask.view_info)
|
||||||
|
return _impl_.view_info_.Release();
|
||||||
|
}
|
||||||
|
inline void CreateViewTask::set_allocated_view_info(std::string* view_info) {
|
||||||
|
if (view_info != nullptr) {
|
||||||
|
|
||||||
|
} else {
|
||||||
|
|
||||||
|
}
|
||||||
|
_impl_.view_info_.SetAllocated(view_info, GetArenaForAllocation());
|
||||||
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||||
|
if (_impl_.view_info_.IsDefault()) {
|
||||||
|
_impl_.view_info_.Set("", GetArenaForAllocation());
|
||||||
|
}
|
||||||
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||||
|
// @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.CreateViewTask.view_info)
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
// DropViewTask
|
||||||
|
|
||||||
|
// .greptime.v1.DropViewExpr drop_view = 1;
|
||||||
|
inline bool DropViewTask::_internal_has_drop_view() const {
|
||||||
|
return this != internal_default_instance() && _impl_.drop_view_ != nullptr;
|
||||||
|
}
|
||||||
|
inline bool DropViewTask::has_drop_view() const {
|
||||||
|
return _internal_has_drop_view();
|
||||||
|
}
|
||||||
|
inline const ::greptime::v1::DropViewExpr& DropViewTask::_internal_drop_view() const {
|
||||||
|
const ::greptime::v1::DropViewExpr* p = _impl_.drop_view_;
|
||||||
|
return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::DropViewExpr&>(
|
||||||
|
::greptime::v1::_DropViewExpr_default_instance_);
|
||||||
|
}
|
||||||
|
inline const ::greptime::v1::DropViewExpr& DropViewTask::drop_view() const {
|
||||||
|
// @@protoc_insertion_point(field_get:greptime.v1.meta.DropViewTask.drop_view)
|
||||||
|
return _internal_drop_view();
|
||||||
|
}
|
||||||
|
inline void DropViewTask::unsafe_arena_set_allocated_drop_view(
|
||||||
|
::greptime::v1::DropViewExpr* drop_view) {
|
||||||
|
if (GetArenaForAllocation() == nullptr) {
|
||||||
|
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.drop_view_);
|
||||||
|
}
|
||||||
|
_impl_.drop_view_ = drop_view;
|
||||||
|
if (drop_view) {
|
||||||
|
|
||||||
|
} else {
|
||||||
|
|
||||||
|
}
|
||||||
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.meta.DropViewTask.drop_view)
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::DropViewExpr* DropViewTask::release_drop_view() {
|
||||||
|
|
||||||
|
::greptime::v1::DropViewExpr* temp = _impl_.drop_view_;
|
||||||
|
_impl_.drop_view_ = 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::DropViewExpr* DropViewTask::unsafe_arena_release_drop_view() {
|
||||||
|
// @@protoc_insertion_point(field_release:greptime.v1.meta.DropViewTask.drop_view)
|
||||||
|
|
||||||
|
::greptime::v1::DropViewExpr* temp = _impl_.drop_view_;
|
||||||
|
_impl_.drop_view_ = nullptr;
|
||||||
|
return temp;
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::DropViewExpr* DropViewTask::_internal_mutable_drop_view() {
|
||||||
|
|
||||||
|
if (_impl_.drop_view_ == nullptr) {
|
||||||
|
auto* p = CreateMaybeMessage<::greptime::v1::DropViewExpr>(GetArenaForAllocation());
|
||||||
|
_impl_.drop_view_ = p;
|
||||||
|
}
|
||||||
|
return _impl_.drop_view_;
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::DropViewExpr* DropViewTask::mutable_drop_view() {
|
||||||
|
::greptime::v1::DropViewExpr* _msg = _internal_mutable_drop_view();
|
||||||
|
// @@protoc_insertion_point(field_mutable:greptime.v1.meta.DropViewTask.drop_view)
|
||||||
|
return _msg;
|
||||||
|
}
|
||||||
|
inline void DropViewTask::set_allocated_drop_view(::greptime::v1::DropViewExpr* drop_view) {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||||
|
if (message_arena == nullptr) {
|
||||||
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.drop_view_);
|
||||||
|
}
|
||||||
|
if (drop_view) {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
|
||||||
|
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(drop_view));
|
||||||
|
if (message_arena != submessage_arena) {
|
||||||
|
drop_view = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
||||||
|
message_arena, drop_view, submessage_arena);
|
||||||
|
}
|
||||||
|
|
||||||
|
} else {
|
||||||
|
|
||||||
|
}
|
||||||
|
_impl_.drop_view_ = drop_view;
|
||||||
|
// @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.DropViewTask.drop_view)
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
// DdlTaskRequest
|
// DdlTaskRequest
|
||||||
|
|
||||||
// .greptime.v1.meta.RequestHeader header = 1;
|
// .greptime.v1.meta.RequestHeader header = 1;
|
||||||
@@ -4478,6 +5088,154 @@ inline ::greptime::v1::meta::DropFlowTask* DdlTaskRequest::mutable_drop_flow_tas
|
|||||||
return _msg;
|
return _msg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// .greptime.v1.meta.CreateViewTask create_view_task = 13;
|
||||||
|
inline bool DdlTaskRequest::_internal_has_create_view_task() const {
|
||||||
|
return task_case() == kCreateViewTask;
|
||||||
|
}
|
||||||
|
inline bool DdlTaskRequest::has_create_view_task() const {
|
||||||
|
return _internal_has_create_view_task();
|
||||||
|
}
|
||||||
|
inline void DdlTaskRequest::set_has_create_view_task() {
|
||||||
|
_impl_._oneof_case_[0] = kCreateViewTask;
|
||||||
|
}
|
||||||
|
inline void DdlTaskRequest::clear_create_view_task() {
|
||||||
|
if (_internal_has_create_view_task()) {
|
||||||
|
if (GetArenaForAllocation() == nullptr) {
|
||||||
|
delete _impl_.task_.create_view_task_;
|
||||||
|
}
|
||||||
|
clear_has_task();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::meta::CreateViewTask* DdlTaskRequest::release_create_view_task() {
|
||||||
|
// @@protoc_insertion_point(field_release:greptime.v1.meta.DdlTaskRequest.create_view_task)
|
||||||
|
if (_internal_has_create_view_task()) {
|
||||||
|
clear_has_task();
|
||||||
|
::greptime::v1::meta::CreateViewTask* temp = _impl_.task_.create_view_task_;
|
||||||
|
if (GetArenaForAllocation() != nullptr) {
|
||||||
|
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
||||||
|
}
|
||||||
|
_impl_.task_.create_view_task_ = nullptr;
|
||||||
|
return temp;
|
||||||
|
} else {
|
||||||
|
return nullptr;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
inline const ::greptime::v1::meta::CreateViewTask& DdlTaskRequest::_internal_create_view_task() const {
|
||||||
|
return _internal_has_create_view_task()
|
||||||
|
? *_impl_.task_.create_view_task_
|
||||||
|
: reinterpret_cast< ::greptime::v1::meta::CreateViewTask&>(::greptime::v1::meta::_CreateViewTask_default_instance_);
|
||||||
|
}
|
||||||
|
inline const ::greptime::v1::meta::CreateViewTask& DdlTaskRequest::create_view_task() const {
|
||||||
|
// @@protoc_insertion_point(field_get:greptime.v1.meta.DdlTaskRequest.create_view_task)
|
||||||
|
return _internal_create_view_task();
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::meta::CreateViewTask* DdlTaskRequest::unsafe_arena_release_create_view_task() {
|
||||||
|
// @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.meta.DdlTaskRequest.create_view_task)
|
||||||
|
if (_internal_has_create_view_task()) {
|
||||||
|
clear_has_task();
|
||||||
|
::greptime::v1::meta::CreateViewTask* temp = _impl_.task_.create_view_task_;
|
||||||
|
_impl_.task_.create_view_task_ = nullptr;
|
||||||
|
return temp;
|
||||||
|
} else {
|
||||||
|
return nullptr;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
inline void DdlTaskRequest::unsafe_arena_set_allocated_create_view_task(::greptime::v1::meta::CreateViewTask* create_view_task) {
|
||||||
|
clear_task();
|
||||||
|
if (create_view_task) {
|
||||||
|
set_has_create_view_task();
|
||||||
|
_impl_.task_.create_view_task_ = create_view_task;
|
||||||
|
}
|
||||||
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.meta.DdlTaskRequest.create_view_task)
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::meta::CreateViewTask* DdlTaskRequest::_internal_mutable_create_view_task() {
|
||||||
|
if (!_internal_has_create_view_task()) {
|
||||||
|
clear_task();
|
||||||
|
set_has_create_view_task();
|
||||||
|
_impl_.task_.create_view_task_ = CreateMaybeMessage< ::greptime::v1::meta::CreateViewTask >(GetArenaForAllocation());
|
||||||
|
}
|
||||||
|
return _impl_.task_.create_view_task_;
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::meta::CreateViewTask* DdlTaskRequest::mutable_create_view_task() {
|
||||||
|
::greptime::v1::meta::CreateViewTask* _msg = _internal_mutable_create_view_task();
|
||||||
|
// @@protoc_insertion_point(field_mutable:greptime.v1.meta.DdlTaskRequest.create_view_task)
|
||||||
|
return _msg;
|
||||||
|
}
|
||||||
|
|
||||||
|
// .greptime.v1.meta.DropViewTask drop_view_task = 14;
|
||||||
|
inline bool DdlTaskRequest::_internal_has_drop_view_task() const {
|
||||||
|
return task_case() == kDropViewTask;
|
||||||
|
}
|
||||||
|
inline bool DdlTaskRequest::has_drop_view_task() const {
|
||||||
|
return _internal_has_drop_view_task();
|
||||||
|
}
|
||||||
|
inline void DdlTaskRequest::set_has_drop_view_task() {
|
||||||
|
_impl_._oneof_case_[0] = kDropViewTask;
|
||||||
|
}
|
||||||
|
inline void DdlTaskRequest::clear_drop_view_task() {
|
||||||
|
if (_internal_has_drop_view_task()) {
|
||||||
|
if (GetArenaForAllocation() == nullptr) {
|
||||||
|
delete _impl_.task_.drop_view_task_;
|
||||||
|
}
|
||||||
|
clear_has_task();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::meta::DropViewTask* DdlTaskRequest::release_drop_view_task() {
|
||||||
|
// @@protoc_insertion_point(field_release:greptime.v1.meta.DdlTaskRequest.drop_view_task)
|
||||||
|
if (_internal_has_drop_view_task()) {
|
||||||
|
clear_has_task();
|
||||||
|
::greptime::v1::meta::DropViewTask* temp = _impl_.task_.drop_view_task_;
|
||||||
|
if (GetArenaForAllocation() != nullptr) {
|
||||||
|
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
||||||
|
}
|
||||||
|
_impl_.task_.drop_view_task_ = nullptr;
|
||||||
|
return temp;
|
||||||
|
} else {
|
||||||
|
return nullptr;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
inline const ::greptime::v1::meta::DropViewTask& DdlTaskRequest::_internal_drop_view_task() const {
|
||||||
|
return _internal_has_drop_view_task()
|
||||||
|
? *_impl_.task_.drop_view_task_
|
||||||
|
: reinterpret_cast< ::greptime::v1::meta::DropViewTask&>(::greptime::v1::meta::_DropViewTask_default_instance_);
|
||||||
|
}
|
||||||
|
inline const ::greptime::v1::meta::DropViewTask& DdlTaskRequest::drop_view_task() const {
|
||||||
|
// @@protoc_insertion_point(field_get:greptime.v1.meta.DdlTaskRequest.drop_view_task)
|
||||||
|
return _internal_drop_view_task();
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::meta::DropViewTask* DdlTaskRequest::unsafe_arena_release_drop_view_task() {
|
||||||
|
// @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.meta.DdlTaskRequest.drop_view_task)
|
||||||
|
if (_internal_has_drop_view_task()) {
|
||||||
|
clear_has_task();
|
||||||
|
::greptime::v1::meta::DropViewTask* temp = _impl_.task_.drop_view_task_;
|
||||||
|
_impl_.task_.drop_view_task_ = nullptr;
|
||||||
|
return temp;
|
||||||
|
} else {
|
||||||
|
return nullptr;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
inline void DdlTaskRequest::unsafe_arena_set_allocated_drop_view_task(::greptime::v1::meta::DropViewTask* drop_view_task) {
|
||||||
|
clear_task();
|
||||||
|
if (drop_view_task) {
|
||||||
|
set_has_drop_view_task();
|
||||||
|
_impl_.task_.drop_view_task_ = drop_view_task;
|
||||||
|
}
|
||||||
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.meta.DdlTaskRequest.drop_view_task)
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::meta::DropViewTask* DdlTaskRequest::_internal_mutable_drop_view_task() {
|
||||||
|
if (!_internal_has_drop_view_task()) {
|
||||||
|
clear_task();
|
||||||
|
set_has_drop_view_task();
|
||||||
|
_impl_.task_.drop_view_task_ = CreateMaybeMessage< ::greptime::v1::meta::DropViewTask >(GetArenaForAllocation());
|
||||||
|
}
|
||||||
|
return _impl_.task_.drop_view_task_;
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::meta::DropViewTask* DdlTaskRequest::mutable_drop_view_task() {
|
||||||
|
::greptime::v1::meta::DropViewTask* _msg = _internal_mutable_drop_view_task();
|
||||||
|
// @@protoc_insertion_point(field_mutable:greptime.v1.meta.DdlTaskRequest.drop_view_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;
|
||||||
}
|
}
|
||||||
@@ -4810,6 +5568,10 @@ DdlTaskResponse::table_ids() const {
|
|||||||
|
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// @@protoc_insertion_point(namespace_scope)
|
// @@protoc_insertion_point(namespace_scope)
|
||||||
|
|
||||||
|
|||||||
+620
-358
File diff suppressed because it is too large
Load Diff
+328
-141
@@ -614,6 +614,110 @@ func (x *DropFlowTask) GetDropFlow() *v1.DropFlowExpr {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Create a view task
|
||||||
|
type CreateViewTask struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
CreateView *v1.CreateViewExpr `protobuf:"bytes,1,opt,name=create_view,json=createView,proto3" json:"create_view,omitempty"`
|
||||||
|
ViewInfo []byte `protobuf:"bytes,2,opt,name=view_info,json=viewInfo,proto3" json:"view_info,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *CreateViewTask) Reset() {
|
||||||
|
*x = CreateViewTask{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[11]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *CreateViewTask) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*CreateViewTask) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *CreateViewTask) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[11]
|
||||||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
if ms.LoadMessageInfo() == nil {
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
return ms
|
||||||
|
}
|
||||||
|
return mi.MessageOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
// Deprecated: Use CreateViewTask.ProtoReflect.Descriptor instead.
|
||||||
|
func (*CreateViewTask) Descriptor() ([]byte, []int) {
|
||||||
|
return file_greptime_v1_meta_ddl_proto_rawDescGZIP(), []int{11}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *CreateViewTask) GetCreateView() *v1.CreateViewExpr {
|
||||||
|
if x != nil {
|
||||||
|
return x.CreateView
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *CreateViewTask) GetViewInfo() []byte {
|
||||||
|
if x != nil {
|
||||||
|
return x.ViewInfo
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
// Drop a view task
|
||||||
|
type DropViewTask struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
DropView *v1.DropViewExpr `protobuf:"bytes,1,opt,name=drop_view,json=dropView,proto3" json:"drop_view,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DropViewTask) Reset() {
|
||||||
|
*x = DropViewTask{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[12]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DropViewTask) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*DropViewTask) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *DropViewTask) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[12]
|
||||||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
if ms.LoadMessageInfo() == nil {
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
return ms
|
||||||
|
}
|
||||||
|
return mi.MessageOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
// Deprecated: Use DropViewTask.ProtoReflect.Descriptor instead.
|
||||||
|
func (*DropViewTask) Descriptor() ([]byte, []int) {
|
||||||
|
return file_greptime_v1_meta_ddl_proto_rawDescGZIP(), []int{12}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DropViewTask) GetDropView() *v1.DropViewExpr {
|
||||||
|
if x != nil {
|
||||||
|
return x.DropView
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
type DdlTaskRequest struct {
|
type DdlTaskRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
@@ -634,13 +738,15 @@ type DdlTaskRequest struct {
|
|||||||
// *DdlTaskRequest_CreateDatabaseTask
|
// *DdlTaskRequest_CreateDatabaseTask
|
||||||
// *DdlTaskRequest_CreateFlowTask
|
// *DdlTaskRequest_CreateFlowTask
|
||||||
// *DdlTaskRequest_DropFlowTask
|
// *DdlTaskRequest_DropFlowTask
|
||||||
|
// *DdlTaskRequest_CreateViewTask
|
||||||
|
// *DdlTaskRequest_DropViewTask
|
||||||
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[11]
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[13]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -653,7 +759,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[11]
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[13]
|
||||||
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 {
|
||||||
@@ -666,7 +772,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{11}
|
return file_greptime_v1_meta_ddl_proto_rawDescGZIP(), []int{13}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DdlTaskRequest) GetHeader() *RequestHeader {
|
func (x *DdlTaskRequest) GetHeader() *RequestHeader {
|
||||||
@@ -767,6 +873,20 @@ func (x *DdlTaskRequest) GetDropFlowTask() *DropFlowTask {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (x *DdlTaskRequest) GetCreateViewTask() *CreateViewTask {
|
||||||
|
if x, ok := x.GetTask().(*DdlTaskRequest_CreateViewTask); ok {
|
||||||
|
return x.CreateViewTask
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DdlTaskRequest) GetDropViewTask() *DropViewTask {
|
||||||
|
if x, ok := x.GetTask().(*DdlTaskRequest_DropViewTask); ok {
|
||||||
|
return x.DropViewTask
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
type isDdlTaskRequest_Task interface {
|
type isDdlTaskRequest_Task interface {
|
||||||
isDdlTaskRequest_Task()
|
isDdlTaskRequest_Task()
|
||||||
}
|
}
|
||||||
@@ -815,6 +935,14 @@ type DdlTaskRequest_DropFlowTask struct {
|
|||||||
DropFlowTask *DropFlowTask `protobuf:"bytes,12,opt,name=drop_flow_task,json=dropFlowTask,proto3,oneof"`
|
DropFlowTask *DropFlowTask `protobuf:"bytes,12,opt,name=drop_flow_task,json=dropFlowTask,proto3,oneof"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type DdlTaskRequest_CreateViewTask struct {
|
||||||
|
CreateViewTask *CreateViewTask `protobuf:"bytes,13,opt,name=create_view_task,json=createViewTask,proto3,oneof"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type DdlTaskRequest_DropViewTask struct {
|
||||||
|
DropViewTask *DropViewTask `protobuf:"bytes,14,opt,name=drop_view_task,json=dropViewTask,proto3,oneof"`
|
||||||
|
}
|
||||||
|
|
||||||
func (*DdlTaskRequest_CreateTableTask) isDdlTaskRequest_Task() {}
|
func (*DdlTaskRequest_CreateTableTask) isDdlTaskRequest_Task() {}
|
||||||
|
|
||||||
func (*DdlTaskRequest_DropTableTask) isDdlTaskRequest_Task() {}
|
func (*DdlTaskRequest_DropTableTask) isDdlTaskRequest_Task() {}
|
||||||
@@ -837,6 +965,10 @@ func (*DdlTaskRequest_CreateFlowTask) isDdlTaskRequest_Task() {}
|
|||||||
|
|
||||||
func (*DdlTaskRequest_DropFlowTask) isDdlTaskRequest_Task() {}
|
func (*DdlTaskRequest_DropFlowTask) isDdlTaskRequest_Task() {}
|
||||||
|
|
||||||
|
func (*DdlTaskRequest_CreateViewTask) isDdlTaskRequest_Task() {}
|
||||||
|
|
||||||
|
func (*DdlTaskRequest_DropViewTask) isDdlTaskRequest_Task() {}
|
||||||
|
|
||||||
type DdlTaskResponse struct {
|
type DdlTaskResponse struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
@@ -854,7 +986,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[12]
|
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)
|
||||||
}
|
}
|
||||||
@@ -867,7 +999,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[12]
|
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 {
|
||||||
@@ -880,7 +1012,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{12}
|
return file_greptime_v1_meta_ddl_proto_rawDescGZIP(), []int{14}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DdlTaskResponse) GetHeader() *ResponseHeader {
|
func (x *DdlTaskResponse) GetHeader() *ResponseHeader {
|
||||||
@@ -985,92 +1117,113 @@ var file_greptime_v1_meta_ddl_proto_rawDesc = []byte{
|
|||||||
0x70, 0x5f, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67,
|
0x70, 0x5f, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67,
|
||||||
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x46,
|
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,
|
0x6c, 0x6f, 0x77, 0x45, 0x78, 0x70, 0x72, 0x52, 0x08, 0x64, 0x72, 0x6f, 0x70, 0x46, 0x6c, 0x6f,
|
||||||
0x77, 0x22, 0x89, 0x08, 0x0a, 0x0e, 0x44, 0x64, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71,
|
0x77, 0x22, 0x6b, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69, 0x65, 0x77, 0x54,
|
||||||
0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01,
|
0x61, 0x73, 0x6b, 0x12, 0x3c, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x76, 0x69,
|
||||||
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e,
|
0x65, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74,
|
||||||
0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48,
|
0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69, 0x65,
|
||||||
0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x3e, 0x0a,
|
0x77, 0x45, 0x78, 0x70, 0x72, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69, 0x65,
|
||||||
0x0d, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x40,
|
0x77, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02,
|
||||||
0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e,
|
0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x76, 0x69, 0x65, 0x77, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x46,
|
||||||
0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52,
|
0x0a, 0x0c, 0x44, 0x72, 0x6f, 0x70, 0x56, 0x69, 0x65, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x36,
|
||||||
0x0c, 0x71, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x4f, 0x0a,
|
0x0a, 0x09, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||||
0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x61,
|
0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
||||||
0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74,
|
0x44, 0x72, 0x6f, 0x70, 0x56, 0x69, 0x65, 0x77, 0x45, 0x78, 0x70, 0x72, 0x52, 0x08, 0x64, 0x72,
|
||||||
0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61,
|
0x6f, 0x70, 0x56, 0x69, 0x65, 0x77, 0x22, 0x9f, 0x09, 0x0a, 0x0e, 0x44, 0x64, 0x6c, 0x54, 0x61,
|
||||||
0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0f, 0x63,
|
0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x06, 0x68, 0x65, 0x61,
|
||||||
0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x49,
|
0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70,
|
||||||
0x0a, 0x0f, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x61, 0x73,
|
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x71,
|
||||||
0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
|
0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64,
|
||||||
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x54,
|
0x65, 0x72, 0x12, 0x3e, 0x0a, 0x0d, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74,
|
||||||
0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0d, 0x64, 0x72, 0x6f, 0x70,
|
0x65, 0x78, 0x74, 0x18, 0x40, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70,
|
||||||
0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x4c, 0x0a, 0x10, 0x61, 0x6c, 0x74,
|
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6f, 0x6e,
|
||||||
0x65, 0x72, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x04, 0x20,
|
0x74, 0x65, 0x78, 0x74, 0x52, 0x0c, 0x71, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65,
|
||||||
0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76,
|
0x78, 0x74, 0x12, 0x4f, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x61, 0x62,
|
||||||
0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x54, 0x61, 0x62, 0x6c,
|
0x6c, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e,
|
||||||
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,
|
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,
|
0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b,
|
||||||
0x6b, 0x48, 0x00, 0x52, 0x10, 0x64, 0x72, 0x6f, 0x70, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
|
0x48, 0x00, 0x52, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54,
|
||||||
0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x58, 0x0a, 0x14, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f,
|
0x61, 0x73, 0x6b, 0x12, 0x49, 0x0a, 0x0f, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x74, 0x61, 0x62, 0x6c,
|
||||||
0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x0a, 0x20,
|
0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67,
|
||||||
0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76,
|
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e,
|
||||||
0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74,
|
0x44, 0x72, 0x6f, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52,
|
||||||
0x61, 0x62, 0x61, 0x73, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x12, 0x63, 0x72, 0x65,
|
0x0d, 0x64, 0x72, 0x6f, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x4c,
|
||||||
0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12,
|
0x0a, 0x10, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x61,
|
||||||
0x4c, 0x0a, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x74,
|
0x73, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74,
|
||||||
0x61, 0x73, 0x6b, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70,
|
0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x41, 0x6c, 0x74, 0x65,
|
||||||
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x72, 0x65,
|
0x72, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0e, 0x61, 0x6c,
|
||||||
0x61, 0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0e, 0x63,
|
0x74, 0x65, 0x72, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x55, 0x0a, 0x13,
|
||||||
0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x46, 0x0a,
|
0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74,
|
||||||
0x0e, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18,
|
0x61, 0x73, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x72, 0x65, 0x70,
|
||||||
0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
|
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x75,
|
||||||
0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x46, 0x6c, 0x6f,
|
0x6e, 0x63, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00,
|
||||||
0x77, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x46, 0x6c, 0x6f,
|
0x52, 0x11, 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54,
|
||||||
0x77, 0x54, 0x61, 0x73, 0x6b, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x61, 0x73, 0x6b, 0x22, 0xe0, 0x01,
|
0x61, 0x73, 0x6b, 0x12, 0x52, 0x0a, 0x12, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x61,
|
||||||
0x0a, 0x0f, 0x44, 0x64, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
0x62, 0x6c, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||||||
0x65, 0x12, 0x38, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28,
|
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,
|
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,
|
0x6d, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61,
|
||||||
0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x2f, 0x0a, 0x03, 0x70,
|
0x73, 0x6b, 0x73, 0x48, 0x00, 0x52, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65,
|
||||||
0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74,
|
0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x4f, 0x0a, 0x11, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x74,
|
||||||
0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x63,
|
0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b,
|
||||||
0x65, 0x64, 0x75, 0x72, 0x65, 0x49, 0x64, 0x52, 0x03, 0x70, 0x69, 0x64, 0x12, 0x2f, 0x0a, 0x08,
|
0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d,
|
||||||
0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14,
|
0x65, 0x74, 0x61, 0x2e, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61,
|
||||||
0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62,
|
0x73, 0x6b, 0x73, 0x48, 0x00, 0x52, 0x0f, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x54, 0x61, 0x62, 0x6c,
|
||||||
0x6c, 0x65, 0x49, 0x64, 0x52, 0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x31, 0x0a,
|
0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x52, 0x0a, 0x12, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x64,
|
||||||
0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b,
|
0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x09, 0x20, 0x01,
|
||||||
0x32, 0x14, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54,
|
0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
|
||||||
0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x52, 0x08, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x73,
|
0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,
|
||||||
0x2a, 0x23, 0x0a, 0x0b, 0x44, 0x64, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12,
|
0x73, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x10, 0x64, 0x72, 0x6f, 0x70, 0x44, 0x61,
|
||||||
0x0a, 0x0a, 0x06, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x44,
|
0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x58, 0x0a, 0x14, 0x63, 0x72,
|
||||||
0x72, 0x6f, 0x70, 0x10, 0x01, 0x42, 0x3c, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
|
0x65, 0x61, 0x74, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x74, 0x61,
|
||||||
0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x65, 0x61, 0x6d,
|
0x73, 0x6b, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74,
|
||||||
0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f,
|
0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61,
|
||||||
0x67, 0x6f, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x6d,
|
0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00,
|
||||||
0x65, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
0x52, 0x12, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
|
||||||
|
0x54, 0x61, 0x73, 0x6b, 0x12, 0x4c, 0x0a, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x66,
|
||||||
|
0x6c, 0x6f, 0x77, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20,
|
||||||
|
0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74,
|
||||||
|
0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b,
|
||||||
|
0x48, 0x00, 0x52, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61,
|
||||||
|
0x73, 0x6b, 0x12, 0x46, 0x0a, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x66, 0x6c, 0x6f, 0x77, 0x5f,
|
||||||
|
0x74, 0x61, 0x73, 0x6b, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65,
|
||||||
|
0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x72,
|
||||||
|
0x6f, 0x70, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0c, 0x64, 0x72,
|
||||||
|
0x6f, 0x70, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x4c, 0x0a, 0x10, 0x63, 0x72,
|
||||||
|
0x65, 0x61, 0x74, 0x65, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x0d,
|
||||||
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e,
|
||||||
|
0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69,
|
||||||
|
0x65, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
|
||||||
|
0x56, 0x69, 0x65, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x46, 0x0a, 0x0e, 0x64, 0x72, 0x6f, 0x70,
|
||||||
|
0x5f, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b,
|
||||||
|
0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d,
|
||||||
|
0x65, 0x74, 0x61, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x56, 0x69, 0x65, 0x77, 0x54, 0x61, 0x73, 0x6b,
|
||||||
|
0x48, 0x00, 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x56, 0x69, 0x65, 0x77, 0x54, 0x61, 0x73, 0x6b,
|
||||||
|
0x42, 0x06, 0x0a, 0x04, 0x74, 0x61, 0x73, 0x6b, 0x22, 0xe0, 0x01, 0x0a, 0x0f, 0x44, 0x64, 0x6c,
|
||||||
|
0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x06,
|
||||||
|
0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67,
|
||||||
|
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e,
|
||||||
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06,
|
||||||
|
0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x2f, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x02, 0x20,
|
||||||
|
0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76,
|
||||||
|
0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65,
|
||||||
|
0x49, 0x64, 0x52, 0x03, 0x70, 0x69, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x74, 0x61, 0x62, 0x6c, 0x65,
|
||||||
|
0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x72, 0x65, 0x70,
|
||||||
|
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x52,
|
||||||
|
0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x31, 0x0a, 0x09, 0x74, 0x61, 0x62, 0x6c,
|
||||||
|
0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x72,
|
||||||
|
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x49,
|
||||||
|
0x64, 0x52, 0x08, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x73, 0x2a, 0x23, 0x0a, 0x0b, 0x44,
|
||||||
|
0x64, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x72,
|
||||||
|
0x65, 0x61, 0x74, 0x65, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x72, 0x6f, 0x70, 0x10, 0x01,
|
||||||
|
0x42, 0x3c, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47,
|
||||||
|
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x2f, 0x67, 0x72, 0x65, 0x70,
|
||||||
|
0x74, 0x69, 0x6d, 0x65, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x72,
|
||||||
|
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x62, 0x06,
|
||||||
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@@ -1086,7 +1239,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, 13)
|
var file_greptime_v1_meta_ddl_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
|
||||||
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
|
||||||
@@ -1100,58 +1253,66 @@ var file_greptime_v1_meta_ddl_proto_goTypes = []interface{}{
|
|||||||
(*DropDatabaseTask)(nil), // 9: greptime.v1.meta.DropDatabaseTask
|
(*DropDatabaseTask)(nil), // 9: greptime.v1.meta.DropDatabaseTask
|
||||||
(*CreateFlowTask)(nil), // 10: greptime.v1.meta.CreateFlowTask
|
(*CreateFlowTask)(nil), // 10: greptime.v1.meta.CreateFlowTask
|
||||||
(*DropFlowTask)(nil), // 11: greptime.v1.meta.DropFlowTask
|
(*DropFlowTask)(nil), // 11: greptime.v1.meta.DropFlowTask
|
||||||
(*DdlTaskRequest)(nil), // 12: greptime.v1.meta.DdlTaskRequest
|
(*CreateViewTask)(nil), // 12: greptime.v1.meta.CreateViewTask
|
||||||
(*DdlTaskResponse)(nil), // 13: greptime.v1.meta.DdlTaskResponse
|
(*DropViewTask)(nil), // 13: greptime.v1.meta.DropViewTask
|
||||||
(*v1.CreateDatabaseExpr)(nil), // 14: greptime.v1.CreateDatabaseExpr
|
(*DdlTaskRequest)(nil), // 14: greptime.v1.meta.DdlTaskRequest
|
||||||
(*v1.CreateTableExpr)(nil), // 15: greptime.v1.CreateTableExpr
|
(*DdlTaskResponse)(nil), // 15: greptime.v1.meta.DdlTaskResponse
|
||||||
(*Partition)(nil), // 16: greptime.v1.meta.Partition
|
(*v1.CreateDatabaseExpr)(nil), // 16: greptime.v1.CreateDatabaseExpr
|
||||||
(*v1.DropTableExpr)(nil), // 17: greptime.v1.DropTableExpr
|
(*v1.CreateTableExpr)(nil), // 17: greptime.v1.CreateTableExpr
|
||||||
(*v1.AlterExpr)(nil), // 18: greptime.v1.AlterExpr
|
(*Partition)(nil), // 18: greptime.v1.meta.Partition
|
||||||
(*v1.TruncateTableExpr)(nil), // 19: greptime.v1.TruncateTableExpr
|
(*v1.DropTableExpr)(nil), // 19: greptime.v1.DropTableExpr
|
||||||
(*v1.DropDatabaseExpr)(nil), // 20: greptime.v1.DropDatabaseExpr
|
(*v1.AlterExpr)(nil), // 20: greptime.v1.AlterExpr
|
||||||
(*v1.CreateFlowExpr)(nil), // 21: greptime.v1.CreateFlowExpr
|
(*v1.TruncateTableExpr)(nil), // 21: greptime.v1.TruncateTableExpr
|
||||||
(*v1.DropFlowExpr)(nil), // 22: greptime.v1.DropFlowExpr
|
(*v1.DropDatabaseExpr)(nil), // 22: greptime.v1.DropDatabaseExpr
|
||||||
(*RequestHeader)(nil), // 23: greptime.v1.meta.RequestHeader
|
(*v1.CreateFlowExpr)(nil), // 23: greptime.v1.CreateFlowExpr
|
||||||
(*v1.QueryContext)(nil), // 24: greptime.v1.QueryContext
|
(*v1.DropFlowExpr)(nil), // 24: greptime.v1.DropFlowExpr
|
||||||
(*ResponseHeader)(nil), // 25: greptime.v1.meta.ResponseHeader
|
(*v1.CreateViewExpr)(nil), // 25: greptime.v1.CreateViewExpr
|
||||||
(*ProcedureId)(nil), // 26: greptime.v1.meta.ProcedureId
|
(*v1.DropViewExpr)(nil), // 26: greptime.v1.DropViewExpr
|
||||||
(*v1.TableId)(nil), // 27: greptime.v1.TableId
|
(*RequestHeader)(nil), // 27: greptime.v1.meta.RequestHeader
|
||||||
|
(*v1.QueryContext)(nil), // 28: greptime.v1.QueryContext
|
||||||
|
(*ResponseHeader)(nil), // 29: greptime.v1.meta.ResponseHeader
|
||||||
|
(*ProcedureId)(nil), // 30: greptime.v1.meta.ProcedureId
|
||||||
|
(*v1.TableId)(nil), // 31: greptime.v1.TableId
|
||||||
}
|
}
|
||||||
var file_greptime_v1_meta_ddl_proto_depIdxs = []int32{
|
var file_greptime_v1_meta_ddl_proto_depIdxs = []int32{
|
||||||
14, // 0: greptime.v1.meta.CreateDatabaseTask.create_database:type_name -> greptime.v1.CreateDatabaseExpr
|
16, // 0: greptime.v1.meta.CreateDatabaseTask.create_database:type_name -> greptime.v1.CreateDatabaseExpr
|
||||||
15, // 1: greptime.v1.meta.CreateTableTask.create_table:type_name -> greptime.v1.CreateTableExpr
|
17, // 1: greptime.v1.meta.CreateTableTask.create_table:type_name -> greptime.v1.CreateTableExpr
|
||||||
16, // 2: greptime.v1.meta.CreateTableTask.partitions:type_name -> greptime.v1.meta.Partition
|
18, // 2: greptime.v1.meta.CreateTableTask.partitions:type_name -> greptime.v1.meta.Partition
|
||||||
2, // 3: greptime.v1.meta.CreateTableTasks.tasks:type_name -> greptime.v1.meta.CreateTableTask
|
2, // 3: greptime.v1.meta.CreateTableTasks.tasks:type_name -> greptime.v1.meta.CreateTableTask
|
||||||
17, // 4: greptime.v1.meta.DropTableTask.drop_table:type_name -> greptime.v1.DropTableExpr
|
19, // 4: greptime.v1.meta.DropTableTask.drop_table:type_name -> greptime.v1.DropTableExpr
|
||||||
4, // 5: greptime.v1.meta.DropTableTasks.tasks:type_name -> greptime.v1.meta.DropTableTask
|
4, // 5: greptime.v1.meta.DropTableTasks.tasks:type_name -> greptime.v1.meta.DropTableTask
|
||||||
18, // 6: greptime.v1.meta.AlterTableTask.alter_table:type_name -> greptime.v1.AlterExpr
|
20, // 6: greptime.v1.meta.AlterTableTask.alter_table:type_name -> greptime.v1.AlterExpr
|
||||||
6, // 7: greptime.v1.meta.AlterTableTasks.tasks:type_name -> greptime.v1.meta.AlterTableTask
|
6, // 7: greptime.v1.meta.AlterTableTasks.tasks:type_name -> greptime.v1.meta.AlterTableTask
|
||||||
19, // 8: greptime.v1.meta.TruncateTableTask.truncate_table:type_name -> greptime.v1.TruncateTableExpr
|
21, // 8: greptime.v1.meta.TruncateTableTask.truncate_table:type_name -> greptime.v1.TruncateTableExpr
|
||||||
20, // 9: greptime.v1.meta.DropDatabaseTask.drop_database:type_name -> greptime.v1.DropDatabaseExpr
|
22, // 9: greptime.v1.meta.DropDatabaseTask.drop_database:type_name -> greptime.v1.DropDatabaseExpr
|
||||||
21, // 10: greptime.v1.meta.CreateFlowTask.create_flow:type_name -> greptime.v1.CreateFlowExpr
|
23, // 10: greptime.v1.meta.CreateFlowTask.create_flow:type_name -> greptime.v1.CreateFlowExpr
|
||||||
22, // 11: greptime.v1.meta.DropFlowTask.drop_flow:type_name -> greptime.v1.DropFlowExpr
|
24, // 11: greptime.v1.meta.DropFlowTask.drop_flow:type_name -> greptime.v1.DropFlowExpr
|
||||||
23, // 12: greptime.v1.meta.DdlTaskRequest.header:type_name -> greptime.v1.meta.RequestHeader
|
25, // 12: greptime.v1.meta.CreateViewTask.create_view:type_name -> greptime.v1.CreateViewExpr
|
||||||
24, // 13: greptime.v1.meta.DdlTaskRequest.query_context:type_name -> greptime.v1.QueryContext
|
26, // 13: greptime.v1.meta.DropViewTask.drop_view:type_name -> greptime.v1.DropViewExpr
|
||||||
2, // 14: greptime.v1.meta.DdlTaskRequest.create_table_task:type_name -> greptime.v1.meta.CreateTableTask
|
27, // 14: greptime.v1.meta.DdlTaskRequest.header:type_name -> greptime.v1.meta.RequestHeader
|
||||||
4, // 15: greptime.v1.meta.DdlTaskRequest.drop_table_task:type_name -> greptime.v1.meta.DropTableTask
|
28, // 15: greptime.v1.meta.DdlTaskRequest.query_context:type_name -> greptime.v1.QueryContext
|
||||||
6, // 16: greptime.v1.meta.DdlTaskRequest.alter_table_task:type_name -> greptime.v1.meta.AlterTableTask
|
2, // 16: greptime.v1.meta.DdlTaskRequest.create_table_task:type_name -> greptime.v1.meta.CreateTableTask
|
||||||
8, // 17: greptime.v1.meta.DdlTaskRequest.truncate_table_task:type_name -> greptime.v1.meta.TruncateTableTask
|
4, // 17: greptime.v1.meta.DdlTaskRequest.drop_table_task:type_name -> greptime.v1.meta.DropTableTask
|
||||||
3, // 18: greptime.v1.meta.DdlTaskRequest.create_table_tasks:type_name -> greptime.v1.meta.CreateTableTasks
|
6, // 18: greptime.v1.meta.DdlTaskRequest.alter_table_task:type_name -> greptime.v1.meta.AlterTableTask
|
||||||
5, // 19: greptime.v1.meta.DdlTaskRequest.drop_table_tasks:type_name -> greptime.v1.meta.DropTableTasks
|
8, // 19: greptime.v1.meta.DdlTaskRequest.truncate_table_task:type_name -> greptime.v1.meta.TruncateTableTask
|
||||||
7, // 20: greptime.v1.meta.DdlTaskRequest.alter_table_tasks:type_name -> greptime.v1.meta.AlterTableTasks
|
3, // 20: greptime.v1.meta.DdlTaskRequest.create_table_tasks:type_name -> greptime.v1.meta.CreateTableTasks
|
||||||
9, // 21: greptime.v1.meta.DdlTaskRequest.drop_database_task:type_name -> greptime.v1.meta.DropDatabaseTask
|
5, // 21: greptime.v1.meta.DdlTaskRequest.drop_table_tasks:type_name -> greptime.v1.meta.DropTableTasks
|
||||||
1, // 22: greptime.v1.meta.DdlTaskRequest.create_database_task:type_name -> greptime.v1.meta.CreateDatabaseTask
|
7, // 22: greptime.v1.meta.DdlTaskRequest.alter_table_tasks:type_name -> greptime.v1.meta.AlterTableTasks
|
||||||
10, // 23: greptime.v1.meta.DdlTaskRequest.create_flow_task:type_name -> greptime.v1.meta.CreateFlowTask
|
9, // 23: greptime.v1.meta.DdlTaskRequest.drop_database_task:type_name -> greptime.v1.meta.DropDatabaseTask
|
||||||
11, // 24: greptime.v1.meta.DdlTaskRequest.drop_flow_task:type_name -> greptime.v1.meta.DropFlowTask
|
1, // 24: greptime.v1.meta.DdlTaskRequest.create_database_task:type_name -> greptime.v1.meta.CreateDatabaseTask
|
||||||
25, // 25: greptime.v1.meta.DdlTaskResponse.header:type_name -> greptime.v1.meta.ResponseHeader
|
10, // 25: greptime.v1.meta.DdlTaskRequest.create_flow_task:type_name -> greptime.v1.meta.CreateFlowTask
|
||||||
26, // 26: greptime.v1.meta.DdlTaskResponse.pid:type_name -> greptime.v1.meta.ProcedureId
|
11, // 26: greptime.v1.meta.DdlTaskRequest.drop_flow_task:type_name -> greptime.v1.meta.DropFlowTask
|
||||||
27, // 27: greptime.v1.meta.DdlTaskResponse.table_id:type_name -> greptime.v1.TableId
|
12, // 27: greptime.v1.meta.DdlTaskRequest.create_view_task:type_name -> greptime.v1.meta.CreateViewTask
|
||||||
27, // 28: greptime.v1.meta.DdlTaskResponse.table_ids:type_name -> greptime.v1.TableId
|
13, // 28: greptime.v1.meta.DdlTaskRequest.drop_view_task:type_name -> greptime.v1.meta.DropViewTask
|
||||||
29, // [29:29] is the sub-list for method output_type
|
29, // 29: greptime.v1.meta.DdlTaskResponse.header:type_name -> greptime.v1.meta.ResponseHeader
|
||||||
29, // [29:29] is the sub-list for method input_type
|
30, // 30: greptime.v1.meta.DdlTaskResponse.pid:type_name -> greptime.v1.meta.ProcedureId
|
||||||
29, // [29:29] is the sub-list for extension type_name
|
31, // 31: greptime.v1.meta.DdlTaskResponse.table_id:type_name -> greptime.v1.TableId
|
||||||
29, // [29:29] is the sub-list for extension extendee
|
31, // 32: greptime.v1.meta.DdlTaskResponse.table_ids:type_name -> greptime.v1.TableId
|
||||||
0, // [0:29] is the sub-list for field type_name
|
33, // [33:33] is the sub-list for method output_type
|
||||||
|
33, // [33:33] is the sub-list for method input_type
|
||||||
|
33, // [33:33] is the sub-list for extension type_name
|
||||||
|
33, // [33:33] is the sub-list for extension extendee
|
||||||
|
0, // [0:33] is the sub-list for field type_name
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() { file_greptime_v1_meta_ddl_proto_init() }
|
func init() { file_greptime_v1_meta_ddl_proto_init() }
|
||||||
@@ -1295,7 +1456,7 @@ func file_greptime_v1_meta_ddl_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_greptime_v1_meta_ddl_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
file_greptime_v1_meta_ddl_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*DdlTaskRequest); i {
|
switch v := v.(*CreateViewTask); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
case 1:
|
case 1:
|
||||||
@@ -1307,6 +1468,30 @@ func file_greptime_v1_meta_ddl_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_greptime_v1_meta_ddl_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
file_greptime_v1_meta_ddl_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*DropViewTask); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_greptime_v1_meta_ddl_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*DdlTaskRequest); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_greptime_v1_meta_ddl_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*DdlTaskResponse); i {
|
switch v := v.(*DdlTaskResponse); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -1319,7 +1504,7 @@ func file_greptime_v1_meta_ddl_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_greptime_v1_meta_ddl_proto_msgTypes[11].OneofWrappers = []interface{}{
|
file_greptime_v1_meta_ddl_proto_msgTypes[13].OneofWrappers = []interface{}{
|
||||||
(*DdlTaskRequest_CreateTableTask)(nil),
|
(*DdlTaskRequest_CreateTableTask)(nil),
|
||||||
(*DdlTaskRequest_DropTableTask)(nil),
|
(*DdlTaskRequest_DropTableTask)(nil),
|
||||||
(*DdlTaskRequest_AlterTableTask)(nil),
|
(*DdlTaskRequest_AlterTableTask)(nil),
|
||||||
@@ -1331,6 +1516,8 @@ func file_greptime_v1_meta_ddl_proto_init() {
|
|||||||
(*DdlTaskRequest_CreateDatabaseTask)(nil),
|
(*DdlTaskRequest_CreateDatabaseTask)(nil),
|
||||||
(*DdlTaskRequest_CreateFlowTask)(nil),
|
(*DdlTaskRequest_CreateFlowTask)(nil),
|
||||||
(*DdlTaskRequest_DropFlowTask)(nil),
|
(*DdlTaskRequest_DropFlowTask)(nil),
|
||||||
|
(*DdlTaskRequest_CreateViewTask)(nil),
|
||||||
|
(*DdlTaskRequest_DropViewTask)(nil),
|
||||||
}
|
}
|
||||||
type x struct{}
|
type x struct{}
|
||||||
out := protoimpl.TypeBuilder{
|
out := protoimpl.TypeBuilder{
|
||||||
@@ -1338,7 +1525,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: 13,
|
NumMessages: 15,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 0,
|
NumServices: 0,
|
||||||
},
|
},
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -35,6 +35,8 @@ message DdlRequest {
|
|||||||
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;
|
||||||
|
DropViewExpr drop_view = 11;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -60,6 +62,25 @@ message DropFlowExpr {
|
|||||||
bool drop_if_exists = 5;
|
bool drop_if_exists = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Create a view
|
||||||
|
message CreateViewExpr {
|
||||||
|
string catalog_name = 1;
|
||||||
|
string schema_name = 2;
|
||||||
|
string view_name = 3;
|
||||||
|
bytes logical_plan = 4;
|
||||||
|
bool create_if_not_exists = 5;
|
||||||
|
bool or_replace = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Drop a view
|
||||||
|
message DropViewExpr {
|
||||||
|
string catalog_name = 1;
|
||||||
|
string schema_name = 2;
|
||||||
|
string view_name = 3;
|
||||||
|
TableId view_id = 4;
|
||||||
|
bool drop_if_exists = 5;
|
||||||
|
}
|
||||||
|
|
||||||
message CreateTableExpr {
|
message CreateTableExpr {
|
||||||
string catalog_name = 1;
|
string catalog_name = 1;
|
||||||
string schema_name = 2;
|
string schema_name = 2;
|
||||||
|
|||||||
@@ -68,6 +68,17 @@ message DropFlowTask {
|
|||||||
DropFlowExpr drop_flow = 1;
|
DropFlowExpr drop_flow = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Create a view task
|
||||||
|
message CreateViewTask {
|
||||||
|
CreateViewExpr create_view = 1;
|
||||||
|
bytes view_info = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Drop a view task
|
||||||
|
message DropViewTask {
|
||||||
|
DropViewExpr drop_view = 1;
|
||||||
|
}
|
||||||
|
|
||||||
message DdlTaskRequest {
|
message DdlTaskRequest {
|
||||||
RequestHeader header = 1;
|
RequestHeader header = 1;
|
||||||
QueryContext query_context = 64;
|
QueryContext query_context = 64;
|
||||||
@@ -84,6 +95,8 @@ message DdlTaskRequest {
|
|||||||
CreateDatabaseTask create_database_task = 10;
|
CreateDatabaseTask create_database_task = 10;
|
||||||
CreateFlowTask create_flow_task = 11;
|
CreateFlowTask create_flow_task = 11;
|
||||||
DropFlowTask drop_flow_task = 12;
|
DropFlowTask drop_flow_task = 12;
|
||||||
|
CreateViewTask create_view_task = 13;
|
||||||
|
DropViewTask drop_view_task = 14;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user