refactor: remove task suffix (#162)

* refactor: remove task suffix

* chore: rename task_options to flow_options
This commit is contained in:
Weny Xu
2024-04-29 21:22:55 +08:00
committed by GitHub
parent 4bc0d17577
commit b5412f7225
14 changed files with 3137 additions and 3146 deletions
+344 -345
View File
File diff suppressed because it is too large Load Diff
+408 -408
View File
File diff suppressed because it is too large Load Diff
+197 -198
View File
@@ -91,25 +91,25 @@ struct FlowResponseDefaultTypeInternal {
}; };
}; };
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FlowResponseDefaultTypeInternal _FlowResponse_default_instance_; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FlowResponseDefaultTypeInternal _FlowResponse_default_instance_;
PROTOBUF_CONSTEXPR CreateRequest_TaskOptionsEntry_DoNotUse::CreateRequest_TaskOptionsEntry_DoNotUse( PROTOBUF_CONSTEXPR CreateRequest_FlowOptionsEntry_DoNotUse::CreateRequest_FlowOptionsEntry_DoNotUse(
::_pbi::ConstantInitialized) {} ::_pbi::ConstantInitialized) {}
struct CreateRequest_TaskOptionsEntry_DoNotUseDefaultTypeInternal { struct CreateRequest_FlowOptionsEntry_DoNotUseDefaultTypeInternal {
PROTOBUF_CONSTEXPR CreateRequest_TaskOptionsEntry_DoNotUseDefaultTypeInternal() PROTOBUF_CONSTEXPR CreateRequest_FlowOptionsEntry_DoNotUseDefaultTypeInternal()
: _instance(::_pbi::ConstantInitialized{}) {} : _instance(::_pbi::ConstantInitialized{}) {}
~CreateRequest_TaskOptionsEntry_DoNotUseDefaultTypeInternal() {} ~CreateRequest_FlowOptionsEntry_DoNotUseDefaultTypeInternal() {}
union { union {
CreateRequest_TaskOptionsEntry_DoNotUse _instance; CreateRequest_FlowOptionsEntry_DoNotUse _instance;
}; };
}; };
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CreateRequest_TaskOptionsEntry_DoNotUseDefaultTypeInternal _CreateRequest_TaskOptionsEntry_DoNotUse_default_instance_; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CreateRequest_FlowOptionsEntry_DoNotUseDefaultTypeInternal _CreateRequest_FlowOptionsEntry_DoNotUse_default_instance_;
PROTOBUF_CONSTEXPR CreateRequest::CreateRequest( PROTOBUF_CONSTEXPR CreateRequest::CreateRequest(
::_pbi::ConstantInitialized): _impl_{ ::_pbi::ConstantInitialized): _impl_{
/*decltype(_impl_.source_table_ids_)*/{} /*decltype(_impl_.source_table_ids_)*/{}
, /*decltype(_impl_.task_options_)*/{::_pbi::ConstantInitialized()} , /*decltype(_impl_.flow_options_)*/{::_pbi::ConstantInitialized()}
, /*decltype(_impl_.expire_when_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} , /*decltype(_impl_.expire_when_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
, /*decltype(_impl_.comment_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} , /*decltype(_impl_.comment_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
, /*decltype(_impl_.sql_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} , /*decltype(_impl_.sql_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
, /*decltype(_impl_.task_id_)*/nullptr , /*decltype(_impl_.flow_id_)*/nullptr
, /*decltype(_impl_.sink_table_name_)*/nullptr , /*decltype(_impl_.sink_table_name_)*/nullptr
, /*decltype(_impl_.create_if_not_exists_)*/false , /*decltype(_impl_.create_if_not_exists_)*/false
, /*decltype(_impl_._cached_size_)*/{}} {} , /*decltype(_impl_._cached_size_)*/{}} {}
@@ -122,19 +122,19 @@ struct CreateRequestDefaultTypeInternal {
}; };
}; };
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CreateRequestDefaultTypeInternal _CreateRequest_default_instance_; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CreateRequestDefaultTypeInternal _CreateRequest_default_instance_;
PROTOBUF_CONSTEXPR RemoveRequest::RemoveRequest( PROTOBUF_CONSTEXPR DropRequest::DropRequest(
::_pbi::ConstantInitialized): _impl_{ ::_pbi::ConstantInitialized): _impl_{
/*decltype(_impl_.task_id_)*/nullptr /*decltype(_impl_.flow_id_)*/nullptr
, /*decltype(_impl_._cached_size_)*/{}} {} , /*decltype(_impl_._cached_size_)*/{}} {}
struct RemoveRequestDefaultTypeInternal { struct DropRequestDefaultTypeInternal {
PROTOBUF_CONSTEXPR RemoveRequestDefaultTypeInternal() PROTOBUF_CONSTEXPR DropRequestDefaultTypeInternal()
: _instance(::_pbi::ConstantInitialized{}) {} : _instance(::_pbi::ConstantInitialized{}) {}
~RemoveRequestDefaultTypeInternal() {} ~DropRequestDefaultTypeInternal() {}
union { union {
RemoveRequest _instance; DropRequest _instance;
}; };
}; };
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RemoveRequestDefaultTypeInternal _RemoveRequest_default_instance_; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DropRequestDefaultTypeInternal _DropRequest_default_instance_;
PROTOBUF_CONSTEXPR TaskId::TaskId( PROTOBUF_CONSTEXPR TaskId::TaskId(
::_pbi::ConstantInitialized): _impl_{ ::_pbi::ConstantInitialized): _impl_{
/*decltype(_impl_.id_)*/0u /*decltype(_impl_.id_)*/0u
@@ -200,14 +200,14 @@ const uint32_t TableStruct_greptime_2fv1_2fflow_2fserver_2eproto::offsets[] PROT
PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::FlowResponse, _impl_.affected_rows_), PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::FlowResponse, _impl_.affected_rows_),
PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::FlowResponse, _impl_.extension_), PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::FlowResponse, _impl_.extension_),
PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::FlowResponse, _impl_.affected_tasks_), PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::FlowResponse, _impl_.affected_tasks_),
PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::CreateRequest_TaskOptionsEntry_DoNotUse, _has_bits_), PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::CreateRequest_FlowOptionsEntry_DoNotUse, _has_bits_),
PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::CreateRequest_TaskOptionsEntry_DoNotUse, _internal_metadata_), PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::CreateRequest_FlowOptionsEntry_DoNotUse, _internal_metadata_),
~0u, // no _extensions_ ~0u, // no _extensions_
~0u, // no _oneof_case_ ~0u, // no _oneof_case_
~0u, // no _weak_field_map_ ~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_ ~0u, // no _inlined_string_donated_
PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::CreateRequest_TaskOptionsEntry_DoNotUse, key_), PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::CreateRequest_FlowOptionsEntry_DoNotUse, key_),
PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::CreateRequest_TaskOptionsEntry_DoNotUse, value_), PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::CreateRequest_FlowOptionsEntry_DoNotUse, value_),
0, 0,
1, 1,
~0u, // no _has_bits_ ~0u, // no _has_bits_
@@ -216,21 +216,21 @@ const uint32_t TableStruct_greptime_2fv1_2fflow_2fserver_2eproto::offsets[] PROT
~0u, // no _oneof_case_ ~0u, // no _oneof_case_
~0u, // no _weak_field_map_ ~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_ ~0u, // no _inlined_string_donated_
PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::CreateRequest, _impl_.task_id_), PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::CreateRequest, _impl_.flow_id_),
PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::CreateRequest, _impl_.source_table_ids_), PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::CreateRequest, _impl_.source_table_ids_),
PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::CreateRequest, _impl_.sink_table_name_), PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::CreateRequest, _impl_.sink_table_name_),
PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::CreateRequest, _impl_.create_if_not_exists_), PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::CreateRequest, _impl_.create_if_not_exists_),
PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::CreateRequest, _impl_.expire_when_), PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::CreateRequest, _impl_.expire_when_),
PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::CreateRequest, _impl_.comment_), PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::CreateRequest, _impl_.comment_),
PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::CreateRequest, _impl_.sql_), PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::CreateRequest, _impl_.sql_),
PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::CreateRequest, _impl_.task_options_), PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::CreateRequest, _impl_.flow_options_),
~0u, // no _has_bits_ ~0u, // no _has_bits_
PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::RemoveRequest, _internal_metadata_), PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::DropRequest, _internal_metadata_),
~0u, // no _extensions_ ~0u, // no _extensions_
~0u, // no _oneof_case_ ~0u, // no _oneof_case_
~0u, // no _weak_field_map_ ~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_ ~0u, // no _inlined_string_donated_
PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::RemoveRequest, _impl_.task_id_), PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::DropRequest, _impl_.flow_id_),
~0u, // no _has_bits_ ~0u, // no _has_bits_
PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::TaskId, _internal_metadata_), PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::TaskId, _internal_metadata_),
~0u, // no _extensions_ ~0u, // no _extensions_
@@ -245,9 +245,9 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode
{ 15, -1, -1, sizeof(::greptime::v1::flow::FlowRequest)}, { 15, -1, -1, sizeof(::greptime::v1::flow::FlowRequest)},
{ 24, 32, -1, sizeof(::greptime::v1::flow::FlowResponse_ExtensionEntry_DoNotUse)}, { 24, 32, -1, sizeof(::greptime::v1::flow::FlowResponse_ExtensionEntry_DoNotUse)},
{ 34, -1, -1, sizeof(::greptime::v1::flow::FlowResponse)}, { 34, -1, -1, sizeof(::greptime::v1::flow::FlowResponse)},
{ 44, 52, -1, sizeof(::greptime::v1::flow::CreateRequest_TaskOptionsEntry_DoNotUse)}, { 44, 52, -1, sizeof(::greptime::v1::flow::CreateRequest_FlowOptionsEntry_DoNotUse)},
{ 54, -1, -1, sizeof(::greptime::v1::flow::CreateRequest)}, { 54, -1, -1, sizeof(::greptime::v1::flow::CreateRequest)},
{ 68, -1, -1, sizeof(::greptime::v1::flow::RemoveRequest)}, { 68, -1, -1, sizeof(::greptime::v1::flow::DropRequest)},
{ 75, -1, -1, sizeof(::greptime::v1::flow::TaskId)}, { 75, -1, -1, sizeof(::greptime::v1::flow::TaskId)},
}; };
@@ -257,9 +257,9 @@ static const ::_pb::Message* const file_default_instances[] = {
&::greptime::v1::flow::_FlowRequest_default_instance_._instance, &::greptime::v1::flow::_FlowRequest_default_instance_._instance,
&::greptime::v1::flow::_FlowResponse_ExtensionEntry_DoNotUse_default_instance_._instance, &::greptime::v1::flow::_FlowResponse_ExtensionEntry_DoNotUse_default_instance_._instance,
&::greptime::v1::flow::_FlowResponse_default_instance_._instance, &::greptime::v1::flow::_FlowResponse_default_instance_._instance,
&::greptime::v1::flow::_CreateRequest_TaskOptionsEntry_DoNotUse_default_instance_._instance, &::greptime::v1::flow::_CreateRequest_FlowOptionsEntry_DoNotUse_default_instance_._instance,
&::greptime::v1::flow::_CreateRequest_default_instance_._instance, &::greptime::v1::flow::_CreateRequest_default_instance_._instance,
&::greptime::v1::flow::_RemoveRequest_default_instance_._instance, &::greptime::v1::flow::_DropRequest_default_instance_._instance,
&::greptime::v1::flow::_TaskId_default_instance_._instance, &::greptime::v1::flow::_TaskId_default_instance_._instance,
}; };
@@ -270,35 +270,34 @@ const char descriptor_table_protodef_greptime_2fv1_2fflow_2fserver_2eproto[] PRO
"o\"C\n\016InsertRequests\0221\n\010requests\030\001 \003(\0132\037." "o\"C\n\016InsertRequests\0221\n\010requests\030\001 \003(\0132\037."
"greptime.v1.flow.InsertRequest\"C\n\rInsert" "greptime.v1.flow.InsertRequest\"C\n\rInsert"
"Request\022\021\n\tregion_id\030\001 \001(\004\022\037\n\004rows\030\002 \001(\013" "Request\022\021\n\tregion_id\030\001 \001(\004\022\037\n\004rows\030\002 \001(\013"
"2\021.greptime.v1.Rows\"{\n\013FlowRequest\0221\n\006cr" "2\021.greptime.v1.Rows\"w\n\013FlowRequest\0221\n\006cr"
"eate\030\001 \001(\0132\037.greptime.v1.flow.CreateRequ" "eate\030\001 \001(\0132\037.greptime.v1.flow.CreateRequ"
"estH\000\0221\n\006remove\030\002 \001(\0132\037.greptime.v1.flow" "estH\000\022-\n\004drop\030\002 \001(\0132\035.greptime.v1.flow.D"
".RemoveRequestH\000B\006\n\004body\"\370\001\n\014FlowRespons" "ropRequestH\000B\006\n\004body\"\370\001\n\014FlowResponse\022+\n"
"e\022+\n\006header\030\001 \001(\0132\033.greptime.v1.Response" "\006header\030\001 \001(\0132\033.greptime.v1.ResponseHead"
"Header\022\025\n\raffected_rows\030\002 \001(\004\022@\n\textensi" "er\022\025\n\raffected_rows\030\002 \001(\004\022@\n\textension\030\003"
"on\030\003 \003(\0132-.greptime.v1.flow.FlowResponse" " \003(\0132-.greptime.v1.flow.FlowResponse.Ext"
".ExtensionEntry\0220\n\016affected_tasks\030\004 \003(\0132" "ensionEntry\0220\n\016affected_tasks\030\004 \003(\0132\030.gr"
"\030.greptime.v1.flow.TaskId\0320\n\016ExtensionEn" "eptime.v1.flow.TaskId\0320\n\016ExtensionEntry\022"
"try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\014:\0028\001\"\350\002\n\r" "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\014:\0028\001\"\350\002\n\rCrea"
"CreateRequest\022)\n\007task_id\030\001 \001(\0132\030.greptim" "teRequest\022)\n\007flow_id\030\001 \001(\0132\030.greptime.v1"
"e.v1.flow.TaskId\022.\n\020source_table_ids\030\002 \003" ".flow.TaskId\022.\n\020source_table_ids\030\002 \003(\0132\024"
"(\0132\024.greptime.v1.TableId\022/\n\017sink_table_n" ".greptime.v1.TableId\022/\n\017sink_table_name\030"
"ame\030\003 \001(\0132\026.greptime.v1.TableName\022\034\n\024cre" "\003 \001(\0132\026.greptime.v1.TableName\022\034\n\024create_"
"ate_if_not_exists\030\004 \001(\010\022\023\n\013expire_when\030\005" "if_not_exists\030\004 \001(\010\022\023\n\013expire_when\030\005 \001(\t"
" \001(\t\022\017\n\007comment\030\006 \001(\t\022\013\n\003sql\030\007 \001(\t\022F\n\014ta" "\022\017\n\007comment\030\006 \001(\t\022\013\n\003sql\030\007 \001(\t\022F\n\014flow_o"
"sk_options\030\010 \003(\01320.greptime.v1.flow.Crea" "ptions\030\010 \003(\01320.greptime.v1.flow.CreateRe"
"teRequest.TaskOptionsEntry\0322\n\020TaskOption" "quest.FlowOptionsEntry\0322\n\020FlowOptionsEnt"
"sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\":" "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"8\n\013Dr"
"\n\rRemoveRequest\022)\n\007task_id\030\001 \001(\0132\030.grept" "opRequest\022)\n\007flow_id\030\001 \001(\0132\030.greptime.v1"
"ime.v1.flow.TaskId\"\024\n\006TaskId\022\n\n\002id\030\001 \001(\r" ".flow.TaskId\"\024\n\006TaskId\022\n\n\002id\030\001 \001(\r2\264\001\n\004F"
"2\264\001\n\004Flow\022S\n\022HandleCreateRemove\022\035.grepti" "low\022S\n\022HandleCreateRemove\022\035.greptime.v1."
"me.v1.flow.FlowRequest\032\036.greptime.v1.flo" "flow.FlowRequest\032\036.greptime.v1.flow.Flow"
"w.FlowResponse\022W\n\023HandleMirrorRequest\022 ." "Response\022W\n\023HandleMirrorRequest\022 .grepti"
"greptime.v1.flow.InsertRequests\032\036.grepti" "me.v1.flow.InsertRequests\032\036.greptime.v1."
"me.v1.flow.FlowResponseBY\n\023io.greptime.v" "flow.FlowResponseBY\n\023io.greptime.v1.flow"
"1.flowB\006ServerZ:github.com/GreptimeTeam/" "B\006ServerZ:github.com/GreptimeTeam/grepti"
"greptime-proto/go/greptime/v1/flowb\006prot" "me-proto/go/greptime/v1/flowb\006proto3"
"o3"
; ;
static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fflow_2fserver_2eproto_deps[3] = { static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fflow_2fserver_2eproto_deps[3] = {
&::descriptor_table_greptime_2fv1_2fcommon_2eproto, &::descriptor_table_greptime_2fv1_2fcommon_2eproto,
@@ -307,7 +306,7 @@ static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fflo
}; };
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fflow_2fserver_2eproto_once; static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fflow_2fserver_2eproto_once;
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fflow_2fserver_2eproto = { const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fflow_2fserver_2eproto = {
false, false, 1362, descriptor_table_protodef_greptime_2fv1_2fflow_2fserver_2eproto, false, false, 1356, descriptor_table_protodef_greptime_2fv1_2fflow_2fserver_2eproto,
"greptime/v1/flow/server.proto", "greptime/v1/flow/server.proto",
&descriptor_table_greptime_2fv1_2fflow_2fserver_2eproto_once, descriptor_table_greptime_2fv1_2fflow_2fserver_2eproto_deps, 3, 9, &descriptor_table_greptime_2fv1_2fflow_2fserver_2eproto_once, descriptor_table_greptime_2fv1_2fflow_2fserver_2eproto_deps, 3, 9,
schemas, file_default_instances, TableStruct_greptime_2fv1_2fflow_2fserver_2eproto::offsets, schemas, file_default_instances, TableStruct_greptime_2fv1_2fflow_2fserver_2eproto::offsets,
@@ -744,16 +743,16 @@ void InsertRequest::InternalSwap(InsertRequest* other) {
class FlowRequest::_Internal { class FlowRequest::_Internal {
public: public:
static const ::greptime::v1::flow::CreateRequest& create(const FlowRequest* msg); static const ::greptime::v1::flow::CreateRequest& create(const FlowRequest* msg);
static const ::greptime::v1::flow::RemoveRequest& remove(const FlowRequest* msg); static const ::greptime::v1::flow::DropRequest& drop(const FlowRequest* msg);
}; };
const ::greptime::v1::flow::CreateRequest& const ::greptime::v1::flow::CreateRequest&
FlowRequest::_Internal::create(const FlowRequest* msg) { FlowRequest::_Internal::create(const FlowRequest* msg) {
return *msg->_impl_.body_.create_; return *msg->_impl_.body_.create_;
} }
const ::greptime::v1::flow::RemoveRequest& const ::greptime::v1::flow::DropRequest&
FlowRequest::_Internal::remove(const FlowRequest* msg) { FlowRequest::_Internal::drop(const FlowRequest* msg) {
return *msg->_impl_.body_.remove_; return *msg->_impl_.body_.drop_;
} }
void FlowRequest::set_allocated_create(::greptime::v1::flow::CreateRequest* create) { void FlowRequest::set_allocated_create(::greptime::v1::flow::CreateRequest* create) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
@@ -770,20 +769,20 @@ void FlowRequest::set_allocated_create(::greptime::v1::flow::CreateRequest* crea
} }
// @@protoc_insertion_point(field_set_allocated:greptime.v1.flow.FlowRequest.create) // @@protoc_insertion_point(field_set_allocated:greptime.v1.flow.FlowRequest.create)
} }
void FlowRequest::set_allocated_remove(::greptime::v1::flow::RemoveRequest* remove) { void FlowRequest::set_allocated_drop(::greptime::v1::flow::DropRequest* drop) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
clear_body(); clear_body();
if (remove) { if (drop) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(remove); ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(drop);
if (message_arena != submessage_arena) { if (message_arena != submessage_arena) {
remove = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( drop = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, remove, submessage_arena); message_arena, drop, submessage_arena);
} }
set_has_remove(); set_has_drop();
_impl_.body_.remove_ = remove; _impl_.body_.drop_ = drop;
} }
// @@protoc_insertion_point(field_set_allocated:greptime.v1.flow.FlowRequest.remove) // @@protoc_insertion_point(field_set_allocated:greptime.v1.flow.FlowRequest.drop)
} }
FlowRequest::FlowRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, FlowRequest::FlowRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned) bool is_message_owned)
@@ -807,9 +806,9 @@ FlowRequest::FlowRequest(const FlowRequest& from)
from._internal_create()); from._internal_create());
break; break;
} }
case kRemove: { case kDrop: {
_this->_internal_mutable_remove()->::greptime::v1::flow::RemoveRequest::MergeFrom( _this->_internal_mutable_drop()->::greptime::v1::flow::DropRequest::MergeFrom(
from._internal_remove()); from._internal_drop());
break; break;
} }
case BODY_NOT_SET: { case BODY_NOT_SET: {
@@ -860,9 +859,9 @@ void FlowRequest::clear_body() {
} }
break; break;
} }
case kRemove: { case kDrop: {
if (GetArenaForAllocation() == nullptr) { if (GetArenaForAllocation() == nullptr) {
delete _impl_.body_.remove_; delete _impl_.body_.drop_;
} }
break; break;
} }
@@ -898,10 +897,10 @@ const char* FlowRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* c
} else } else
goto handle_unusual; goto handle_unusual;
continue; continue;
// .greptime.v1.flow.RemoveRequest remove = 2; // .greptime.v1.flow.DropRequest drop = 2;
case 2: case 2:
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) { if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
ptr = ctx->ParseMessage(_internal_mutable_remove(), ptr); ptr = ctx->ParseMessage(_internal_mutable_drop(), ptr);
CHK_(ptr); CHK_(ptr);
} else } else
goto handle_unusual; goto handle_unusual;
@@ -942,11 +941,11 @@ uint8_t* FlowRequest::_InternalSerialize(
_Internal::create(this).GetCachedSize(), target, stream); _Internal::create(this).GetCachedSize(), target, stream);
} }
// .greptime.v1.flow.RemoveRequest remove = 2; // .greptime.v1.flow.DropRequest drop = 2;
if (_internal_has_remove()) { if (_internal_has_drop()) {
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
InternalWriteMessage(2, _Internal::remove(this), InternalWriteMessage(2, _Internal::drop(this),
_Internal::remove(this).GetCachedSize(), target, stream); _Internal::drop(this).GetCachedSize(), target, stream);
} }
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
@@ -973,11 +972,11 @@ size_t FlowRequest::ByteSizeLong() const {
*_impl_.body_.create_); *_impl_.body_.create_);
break; break;
} }
// .greptime.v1.flow.RemoveRequest remove = 2; // .greptime.v1.flow.DropRequest drop = 2;
case kRemove: { case kDrop: {
total_size += 1 + total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
*_impl_.body_.remove_); *_impl_.body_.drop_);
break; break;
} }
case BODY_NOT_SET: { case BODY_NOT_SET: {
@@ -1008,9 +1007,9 @@ void FlowRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PR
from._internal_create()); from._internal_create());
break; break;
} }
case kRemove: { case kDrop: {
_this->_internal_mutable_remove()->::greptime::v1::flow::RemoveRequest::MergeFrom( _this->_internal_mutable_drop()->::greptime::v1::flow::DropRequest::MergeFrom(
from._internal_remove()); from._internal_drop());
break; break;
} }
case BODY_NOT_SET: { case BODY_NOT_SET: {
@@ -1388,13 +1387,13 @@ void FlowResponse::InternalSwap(FlowResponse* other) {
// =================================================================== // ===================================================================
CreateRequest_TaskOptionsEntry_DoNotUse::CreateRequest_TaskOptionsEntry_DoNotUse() {} CreateRequest_FlowOptionsEntry_DoNotUse::CreateRequest_FlowOptionsEntry_DoNotUse() {}
CreateRequest_TaskOptionsEntry_DoNotUse::CreateRequest_TaskOptionsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena) CreateRequest_FlowOptionsEntry_DoNotUse::CreateRequest_FlowOptionsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena)
: SuperType(arena) {} : SuperType(arena) {}
void CreateRequest_TaskOptionsEntry_DoNotUse::MergeFrom(const CreateRequest_TaskOptionsEntry_DoNotUse& other) { void CreateRequest_FlowOptionsEntry_DoNotUse::MergeFrom(const CreateRequest_FlowOptionsEntry_DoNotUse& other) {
MergeFromInternal(other); MergeFromInternal(other);
} }
::PROTOBUF_NAMESPACE_ID::Metadata CreateRequest_TaskOptionsEntry_DoNotUse::GetMetadata() const { ::PROTOBUF_NAMESPACE_ID::Metadata CreateRequest_FlowOptionsEntry_DoNotUse::GetMetadata() const {
return ::_pbi::AssignDescriptors( return ::_pbi::AssignDescriptors(
&descriptor_table_greptime_2fv1_2fflow_2fserver_2eproto_getter, &descriptor_table_greptime_2fv1_2fflow_2fserver_2eproto_once, &descriptor_table_greptime_2fv1_2fflow_2fserver_2eproto_getter, &descriptor_table_greptime_2fv1_2fflow_2fserver_2eproto_once,
file_level_metadata_greptime_2fv1_2fflow_2fserver_2eproto[5]); file_level_metadata_greptime_2fv1_2fflow_2fserver_2eproto[5]);
@@ -1404,13 +1403,13 @@ void CreateRequest_TaskOptionsEntry_DoNotUse::MergeFrom(const CreateRequest_Task
class CreateRequest::_Internal { class CreateRequest::_Internal {
public: public:
static const ::greptime::v1::flow::TaskId& task_id(const CreateRequest* msg); static const ::greptime::v1::flow::TaskId& flow_id(const CreateRequest* msg);
static const ::greptime::v1::TableName& sink_table_name(const CreateRequest* msg); static const ::greptime::v1::TableName& sink_table_name(const CreateRequest* msg);
}; };
const ::greptime::v1::flow::TaskId& const ::greptime::v1::flow::TaskId&
CreateRequest::_Internal::task_id(const CreateRequest* msg) { CreateRequest::_Internal::flow_id(const CreateRequest* msg) {
return *msg->_impl_.task_id_; return *msg->_impl_.flow_id_;
} }
const ::greptime::v1::TableName& const ::greptime::v1::TableName&
CreateRequest::_Internal::sink_table_name(const CreateRequest* msg) { CreateRequest::_Internal::sink_table_name(const CreateRequest* msg) {
@@ -1439,17 +1438,17 @@ CreateRequest::CreateRequest(const CreateRequest& from)
CreateRequest* const _this = this; (void)_this; CreateRequest* const _this = this; (void)_this;
new (&_impl_) Impl_{ new (&_impl_) Impl_{
decltype(_impl_.source_table_ids_){from._impl_.source_table_ids_} decltype(_impl_.source_table_ids_){from._impl_.source_table_ids_}
, /*decltype(_impl_.task_options_)*/{} , /*decltype(_impl_.flow_options_)*/{}
, decltype(_impl_.expire_when_){} , decltype(_impl_.expire_when_){}
, decltype(_impl_.comment_){} , decltype(_impl_.comment_){}
, decltype(_impl_.sql_){} , decltype(_impl_.sql_){}
, decltype(_impl_.task_id_){nullptr} , decltype(_impl_.flow_id_){nullptr}
, decltype(_impl_.sink_table_name_){nullptr} , decltype(_impl_.sink_table_name_){nullptr}
, decltype(_impl_.create_if_not_exists_){} , decltype(_impl_.create_if_not_exists_){}
, /*decltype(_impl_._cached_size_)*/{}}; , /*decltype(_impl_._cached_size_)*/{}};
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
_this->_impl_.task_options_.MergeFrom(from._impl_.task_options_); _this->_impl_.flow_options_.MergeFrom(from._impl_.flow_options_);
_impl_.expire_when_.InitDefault(); _impl_.expire_when_.InitDefault();
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
_impl_.expire_when_.Set("", GetArenaForAllocation()); _impl_.expire_when_.Set("", GetArenaForAllocation());
@@ -1474,8 +1473,8 @@ CreateRequest::CreateRequest(const CreateRequest& from)
_this->_impl_.sql_.Set(from._internal_sql(), _this->_impl_.sql_.Set(from._internal_sql(),
_this->GetArenaForAllocation()); _this->GetArenaForAllocation());
} }
if (from._internal_has_task_id()) { if (from._internal_has_flow_id()) {
_this->_impl_.task_id_ = new ::greptime::v1::flow::TaskId(*from._impl_.task_id_); _this->_impl_.flow_id_ = new ::greptime::v1::flow::TaskId(*from._impl_.flow_id_);
} }
if (from._internal_has_sink_table_name()) { if (from._internal_has_sink_table_name()) {
_this->_impl_.sink_table_name_ = new ::greptime::v1::TableName(*from._impl_.sink_table_name_); _this->_impl_.sink_table_name_ = new ::greptime::v1::TableName(*from._impl_.sink_table_name_);
@@ -1490,11 +1489,11 @@ inline void CreateRequest::SharedCtor(
(void)is_message_owned; (void)is_message_owned;
new (&_impl_) Impl_{ new (&_impl_) Impl_{
decltype(_impl_.source_table_ids_){arena} decltype(_impl_.source_table_ids_){arena}
, /*decltype(_impl_.task_options_)*/{::_pbi::ArenaInitialized(), arena} , /*decltype(_impl_.flow_options_)*/{::_pbi::ArenaInitialized(), arena}
, decltype(_impl_.expire_when_){} , decltype(_impl_.expire_when_){}
, decltype(_impl_.comment_){} , decltype(_impl_.comment_){}
, decltype(_impl_.sql_){} , decltype(_impl_.sql_){}
, decltype(_impl_.task_id_){nullptr} , decltype(_impl_.flow_id_){nullptr}
, decltype(_impl_.sink_table_name_){nullptr} , decltype(_impl_.sink_table_name_){nullptr}
, decltype(_impl_.create_if_not_exists_){false} , decltype(_impl_.create_if_not_exists_){false}
, /*decltype(_impl_._cached_size_)*/{} , /*decltype(_impl_._cached_size_)*/{}
@@ -1526,18 +1525,18 @@ CreateRequest::~CreateRequest() {
inline void CreateRequest::SharedDtor() { inline void CreateRequest::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
_impl_.source_table_ids_.~RepeatedPtrField(); _impl_.source_table_ids_.~RepeatedPtrField();
_impl_.task_options_.Destruct(); _impl_.flow_options_.Destruct();
_impl_.task_options_.~MapField(); _impl_.flow_options_.~MapField();
_impl_.expire_when_.Destroy(); _impl_.expire_when_.Destroy();
_impl_.comment_.Destroy(); _impl_.comment_.Destroy();
_impl_.sql_.Destroy(); _impl_.sql_.Destroy();
if (this != internal_default_instance()) delete _impl_.task_id_; if (this != internal_default_instance()) delete _impl_.flow_id_;
if (this != internal_default_instance()) delete _impl_.sink_table_name_; if (this != internal_default_instance()) delete _impl_.sink_table_name_;
} }
void CreateRequest::ArenaDtor(void* object) { void CreateRequest::ArenaDtor(void* object) {
CreateRequest* _this = reinterpret_cast< CreateRequest* >(object); CreateRequest* _this = reinterpret_cast< CreateRequest* >(object);
_this->_impl_.task_options_.Destruct(); _this->_impl_.flow_options_.Destruct();
} }
void CreateRequest::SetCachedSize(int size) const { void CreateRequest::SetCachedSize(int size) const {
_impl_._cached_size_.Set(size); _impl_._cached_size_.Set(size);
@@ -1550,14 +1549,14 @@ void CreateRequest::Clear() {
(void) cached_has_bits; (void) cached_has_bits;
_impl_.source_table_ids_.Clear(); _impl_.source_table_ids_.Clear();
_impl_.task_options_.Clear(); _impl_.flow_options_.Clear();
_impl_.expire_when_.ClearToEmpty(); _impl_.expire_when_.ClearToEmpty();
_impl_.comment_.ClearToEmpty(); _impl_.comment_.ClearToEmpty();
_impl_.sql_.ClearToEmpty(); _impl_.sql_.ClearToEmpty();
if (GetArenaForAllocation() == nullptr && _impl_.task_id_ != nullptr) { if (GetArenaForAllocation() == nullptr && _impl_.flow_id_ != nullptr) {
delete _impl_.task_id_; delete _impl_.flow_id_;
} }
_impl_.task_id_ = nullptr; _impl_.flow_id_ = nullptr;
if (GetArenaForAllocation() == nullptr && _impl_.sink_table_name_ != nullptr) { if (GetArenaForAllocation() == nullptr && _impl_.sink_table_name_ != nullptr) {
delete _impl_.sink_table_name_; delete _impl_.sink_table_name_;
} }
@@ -1572,10 +1571,10 @@ const char* CreateRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext*
uint32_t tag; uint32_t tag;
ptr = ::_pbi::ReadTag(ptr, &tag); ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) { switch (tag >> 3) {
// .greptime.v1.flow.TaskId task_id = 1; // .greptime.v1.flow.TaskId flow_id = 1;
case 1: case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
ptr = ctx->ParseMessage(_internal_mutable_task_id(), ptr); ptr = ctx->ParseMessage(_internal_mutable_flow_id(), ptr);
CHK_(ptr); CHK_(ptr);
} else } else
goto handle_unusual; goto handle_unusual;
@@ -1639,13 +1638,13 @@ const char* CreateRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext*
} else } else
goto handle_unusual; goto handle_unusual;
continue; continue;
// map<string, string> task_options = 8; // map<string, string> flow_options = 8;
case 8: case 8:
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) { if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) {
ptr -= 1; ptr -= 1;
do { do {
ptr += 1; ptr += 1;
ptr = ctx->ParseMessage(&_impl_.task_options_, ptr); ptr = ctx->ParseMessage(&_impl_.flow_options_, ptr);
CHK_(ptr); CHK_(ptr);
if (!ctx->DataAvailable(ptr)) break; if (!ctx->DataAvailable(ptr)) break;
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<66>(ptr)); } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<66>(ptr));
@@ -1681,11 +1680,11 @@ uint8_t* CreateRequest::_InternalSerialize(
uint32_t cached_has_bits = 0; uint32_t cached_has_bits = 0;
(void) cached_has_bits; (void) cached_has_bits;
// .greptime.v1.flow.TaskId task_id = 1; // .greptime.v1.flow.TaskId flow_id = 1;
if (this->_internal_has_task_id()) { if (this->_internal_has_flow_id()) {
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
InternalWriteMessage(1, _Internal::task_id(this), InternalWriteMessage(1, _Internal::flow_id(this),
_Internal::task_id(this).GetCachedSize(), target, stream); _Internal::flow_id(this).GetCachedSize(), target, stream);
} }
// repeated .greptime.v1.TableId source_table_ids = 2; // repeated .greptime.v1.TableId source_table_ids = 2;
@@ -1739,21 +1738,21 @@ uint8_t* CreateRequest::_InternalSerialize(
7, this->_internal_sql(), target); 7, this->_internal_sql(), target);
} }
// map<string, string> task_options = 8; // map<string, string> flow_options = 8;
if (!this->_internal_task_options().empty()) { if (!this->_internal_flow_options().empty()) {
using MapType = ::_pb::Map<std::string, std::string>; using MapType = ::_pb::Map<std::string, std::string>;
using WireHelper = CreateRequest_TaskOptionsEntry_DoNotUse::Funcs; using WireHelper = CreateRequest_FlowOptionsEntry_DoNotUse::Funcs;
const auto& map_field = this->_internal_task_options(); const auto& map_field = this->_internal_flow_options();
auto check_utf8 = [](const MapType::value_type& entry) { auto check_utf8 = [](const MapType::value_type& entry) {
(void)entry; (void)entry;
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
entry.first.data(), static_cast<int>(entry.first.length()), entry.first.data(), static_cast<int>(entry.first.length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"greptime.v1.flow.CreateRequest.TaskOptionsEntry.key"); "greptime.v1.flow.CreateRequest.FlowOptionsEntry.key");
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
entry.second.data(), static_cast<int>(entry.second.length()), entry.second.data(), static_cast<int>(entry.second.length()),
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
"greptime.v1.flow.CreateRequest.TaskOptionsEntry.value"); "greptime.v1.flow.CreateRequest.FlowOptionsEntry.value");
}; };
if (stream->IsSerializationDeterministic() && map_field.size() > 1) { if (stream->IsSerializationDeterministic() && map_field.size() > 1) {
@@ -1792,13 +1791,13 @@ size_t CreateRequest::ByteSizeLong() const {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg); ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
} }
// map<string, string> task_options = 8; // map<string, string> flow_options = 8;
total_size += 1 * total_size += 1 *
::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_task_options_size()); ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_flow_options_size());
for (::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_iterator for (::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_iterator
it = this->_internal_task_options().begin(); it = this->_internal_flow_options().begin();
it != this->_internal_task_options().end(); ++it) { it != this->_internal_flow_options().end(); ++it) {
total_size += CreateRequest_TaskOptionsEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second); total_size += CreateRequest_FlowOptionsEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second);
} }
// string expire_when = 5; // string expire_when = 5;
@@ -1822,11 +1821,11 @@ size_t CreateRequest::ByteSizeLong() const {
this->_internal_sql()); this->_internal_sql());
} }
// .greptime.v1.flow.TaskId task_id = 1; // .greptime.v1.flow.TaskId flow_id = 1;
if (this->_internal_has_task_id()) { if (this->_internal_has_flow_id()) {
total_size += 1 + total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
*_impl_.task_id_); *_impl_.flow_id_);
} }
// .greptime.v1.TableName sink_table_name = 3; // .greptime.v1.TableName sink_table_name = 3;
@@ -1860,7 +1859,7 @@ void CreateRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::
(void) cached_has_bits; (void) cached_has_bits;
_this->_impl_.source_table_ids_.MergeFrom(from._impl_.source_table_ids_); _this->_impl_.source_table_ids_.MergeFrom(from._impl_.source_table_ids_);
_this->_impl_.task_options_.MergeFrom(from._impl_.task_options_); _this->_impl_.flow_options_.MergeFrom(from._impl_.flow_options_);
if (!from._internal_expire_when().empty()) { if (!from._internal_expire_when().empty()) {
_this->_internal_set_expire_when(from._internal_expire_when()); _this->_internal_set_expire_when(from._internal_expire_when());
} }
@@ -1870,9 +1869,9 @@ void CreateRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::
if (!from._internal_sql().empty()) { if (!from._internal_sql().empty()) {
_this->_internal_set_sql(from._internal_sql()); _this->_internal_set_sql(from._internal_sql());
} }
if (from._internal_has_task_id()) { if (from._internal_has_flow_id()) {
_this->_internal_mutable_task_id()->::greptime::v1::flow::TaskId::MergeFrom( _this->_internal_mutable_flow_id()->::greptime::v1::flow::TaskId::MergeFrom(
from._internal_task_id()); from._internal_flow_id());
} }
if (from._internal_has_sink_table_name()) { if (from._internal_has_sink_table_name()) {
_this->_internal_mutable_sink_table_name()->::greptime::v1::TableName::MergeFrom( _this->_internal_mutable_sink_table_name()->::greptime::v1::TableName::MergeFrom(
@@ -1901,7 +1900,7 @@ void CreateRequest::InternalSwap(CreateRequest* other) {
auto* rhs_arena = other->GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation();
_internal_metadata_.InternalSwap(&other->_internal_metadata_); _internal_metadata_.InternalSwap(&other->_internal_metadata_);
_impl_.source_table_ids_.InternalSwap(&other->_impl_.source_table_ids_); _impl_.source_table_ids_.InternalSwap(&other->_impl_.source_table_ids_);
_impl_.task_options_.InternalSwap(&other->_impl_.task_options_); _impl_.flow_options_.InternalSwap(&other->_impl_.flow_options_);
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
&_impl_.expire_when_, lhs_arena, &_impl_.expire_when_, lhs_arena,
&other->_impl_.expire_when_, rhs_arena &other->_impl_.expire_when_, rhs_arena
@@ -1917,9 +1916,9 @@ void CreateRequest::InternalSwap(CreateRequest* other) {
::PROTOBUF_NAMESPACE_ID::internal::memswap< ::PROTOBUF_NAMESPACE_ID::internal::memswap<
PROTOBUF_FIELD_OFFSET(CreateRequest, _impl_.create_if_not_exists_) PROTOBUF_FIELD_OFFSET(CreateRequest, _impl_.create_if_not_exists_)
+ sizeof(CreateRequest::_impl_.create_if_not_exists_) + sizeof(CreateRequest::_impl_.create_if_not_exists_)
- PROTOBUF_FIELD_OFFSET(CreateRequest, _impl_.task_id_)>( - PROTOBUF_FIELD_OFFSET(CreateRequest, _impl_.flow_id_)>(
reinterpret_cast<char*>(&_impl_.task_id_), reinterpret_cast<char*>(&_impl_.flow_id_),
reinterpret_cast<char*>(&other->_impl_.task_id_)); reinterpret_cast<char*>(&other->_impl_.flow_id_));
} }
::PROTOBUF_NAMESPACE_ID::Metadata CreateRequest::GetMetadata() const { ::PROTOBUF_NAMESPACE_ID::Metadata CreateRequest::GetMetadata() const {
@@ -1930,47 +1929,47 @@ void CreateRequest::InternalSwap(CreateRequest* other) {
// =================================================================== // ===================================================================
class RemoveRequest::_Internal { class DropRequest::_Internal {
public: public:
static const ::greptime::v1::flow::TaskId& task_id(const RemoveRequest* msg); static const ::greptime::v1::flow::TaskId& flow_id(const DropRequest* msg);
}; };
const ::greptime::v1::flow::TaskId& const ::greptime::v1::flow::TaskId&
RemoveRequest::_Internal::task_id(const RemoveRequest* msg) { DropRequest::_Internal::flow_id(const DropRequest* msg) {
return *msg->_impl_.task_id_; return *msg->_impl_.flow_id_;
} }
RemoveRequest::RemoveRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, DropRequest::DropRequest(::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) {
SharedCtor(arena, is_message_owned); SharedCtor(arena, is_message_owned);
// @@protoc_insertion_point(arena_constructor:greptime.v1.flow.RemoveRequest) // @@protoc_insertion_point(arena_constructor:greptime.v1.flow.DropRequest)
} }
RemoveRequest::RemoveRequest(const RemoveRequest& from) DropRequest::DropRequest(const DropRequest& from)
: ::PROTOBUF_NAMESPACE_ID::Message() { : ::PROTOBUF_NAMESPACE_ID::Message() {
RemoveRequest* const _this = this; (void)_this; DropRequest* const _this = this; (void)_this;
new (&_impl_) Impl_{ new (&_impl_) Impl_{
decltype(_impl_.task_id_){nullptr} decltype(_impl_.flow_id_){nullptr}
, /*decltype(_impl_._cached_size_)*/{}}; , /*decltype(_impl_._cached_size_)*/{}};
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
if (from._internal_has_task_id()) { if (from._internal_has_flow_id()) {
_this->_impl_.task_id_ = new ::greptime::v1::flow::TaskId(*from._impl_.task_id_); _this->_impl_.flow_id_ = new ::greptime::v1::flow::TaskId(*from._impl_.flow_id_);
} }
// @@protoc_insertion_point(copy_constructor:greptime.v1.flow.RemoveRequest) // @@protoc_insertion_point(copy_constructor:greptime.v1.flow.DropRequest)
} }
inline void RemoveRequest::SharedCtor( inline void DropRequest::SharedCtor(
::_pb::Arena* arena, bool is_message_owned) { ::_pb::Arena* arena, bool is_message_owned) {
(void)arena; (void)arena;
(void)is_message_owned; (void)is_message_owned;
new (&_impl_) Impl_{ new (&_impl_) Impl_{
decltype(_impl_.task_id_){nullptr} decltype(_impl_.flow_id_){nullptr}
, /*decltype(_impl_._cached_size_)*/{} , /*decltype(_impl_._cached_size_)*/{}
}; };
} }
RemoveRequest::~RemoveRequest() { DropRequest::~DropRequest() {
// @@protoc_insertion_point(destructor:greptime.v1.flow.RemoveRequest) // @@protoc_insertion_point(destructor:greptime.v1.flow.DropRequest)
if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
(void)arena; (void)arena;
return; return;
@@ -1978,38 +1977,38 @@ RemoveRequest::~RemoveRequest() {
SharedDtor(); SharedDtor();
} }
inline void RemoveRequest::SharedDtor() { inline void DropRequest::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
if (this != internal_default_instance()) delete _impl_.task_id_; if (this != internal_default_instance()) delete _impl_.flow_id_;
} }
void RemoveRequest::SetCachedSize(int size) const { void DropRequest::SetCachedSize(int size) const {
_impl_._cached_size_.Set(size); _impl_._cached_size_.Set(size);
} }
void RemoveRequest::Clear() { void DropRequest::Clear() {
// @@protoc_insertion_point(message_clear_start:greptime.v1.flow.RemoveRequest) // @@protoc_insertion_point(message_clear_start:greptime.v1.flow.DropRequest)
uint32_t cached_has_bits = 0; uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused // Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits; (void) cached_has_bits;
if (GetArenaForAllocation() == nullptr && _impl_.task_id_ != nullptr) { if (GetArenaForAllocation() == nullptr && _impl_.flow_id_ != nullptr) {
delete _impl_.task_id_; delete _impl_.flow_id_;
} }
_impl_.task_id_ = nullptr; _impl_.flow_id_ = nullptr;
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
} }
const char* RemoveRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { const char* DropRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
while (!ctx->Done(&ptr)) { while (!ctx->Done(&ptr)) {
uint32_t tag; uint32_t tag;
ptr = ::_pbi::ReadTag(ptr, &tag); ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) { switch (tag >> 3) {
// .greptime.v1.flow.TaskId task_id = 1; // .greptime.v1.flow.TaskId flow_id = 1;
case 1: case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
ptr = ctx->ParseMessage(_internal_mutable_task_id(), ptr); ptr = ctx->ParseMessage(_internal_mutable_flow_id(), ptr);
CHK_(ptr); CHK_(ptr);
} else } else
goto handle_unusual; goto handle_unusual;
@@ -2037,85 +2036,85 @@ failure:
#undef CHK_ #undef CHK_
} }
uint8_t* RemoveRequest::_InternalSerialize( uint8_t* DropRequest::_InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:greptime.v1.flow.RemoveRequest) // @@protoc_insertion_point(serialize_to_array_start:greptime.v1.flow.DropRequest)
uint32_t cached_has_bits = 0; uint32_t cached_has_bits = 0;
(void) cached_has_bits; (void) cached_has_bits;
// .greptime.v1.flow.TaskId task_id = 1; // .greptime.v1.flow.TaskId flow_id = 1;
if (this->_internal_has_task_id()) { if (this->_internal_has_flow_id()) {
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
InternalWriteMessage(1, _Internal::task_id(this), InternalWriteMessage(1, _Internal::flow_id(this),
_Internal::task_id(this).GetCachedSize(), target, stream); _Internal::flow_id(this).GetCachedSize(), target, stream);
} }
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); _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.flow.RemoveRequest) // @@protoc_insertion_point(serialize_to_array_end:greptime.v1.flow.DropRequest)
return target; return target;
} }
size_t RemoveRequest::ByteSizeLong() const { size_t DropRequest::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:greptime.v1.flow.RemoveRequest) // @@protoc_insertion_point(message_byte_size_start:greptime.v1.flow.DropRequest)
size_t total_size = 0; size_t total_size = 0;
uint32_t cached_has_bits = 0; uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused // Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits; (void) cached_has_bits;
// .greptime.v1.flow.TaskId task_id = 1; // .greptime.v1.flow.TaskId flow_id = 1;
if (this->_internal_has_task_id()) { if (this->_internal_has_flow_id()) {
total_size += 1 + total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
*_impl_.task_id_); *_impl_.flow_id_);
} }
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
} }
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData RemoveRequest::_class_data_ = { const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DropRequest::_class_data_ = {
::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
RemoveRequest::MergeImpl DropRequest::MergeImpl
}; };
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*RemoveRequest::GetClassData() const { return &_class_data_; } const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DropRequest::GetClassData() const { return &_class_data_; }
void RemoveRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { void DropRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
auto* const _this = static_cast<RemoveRequest*>(&to_msg); auto* const _this = static_cast<DropRequest*>(&to_msg);
auto& from = static_cast<const RemoveRequest&>(from_msg); auto& from = static_cast<const DropRequest&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:greptime.v1.flow.RemoveRequest) // @@protoc_insertion_point(class_specific_merge_from_start:greptime.v1.flow.DropRequest)
GOOGLE_DCHECK_NE(&from, _this); GOOGLE_DCHECK_NE(&from, _this);
uint32_t cached_has_bits = 0; uint32_t cached_has_bits = 0;
(void) cached_has_bits; (void) cached_has_bits;
if (from._internal_has_task_id()) { if (from._internal_has_flow_id()) {
_this->_internal_mutable_task_id()->::greptime::v1::flow::TaskId::MergeFrom( _this->_internal_mutable_flow_id()->::greptime::v1::flow::TaskId::MergeFrom(
from._internal_task_id()); from._internal_flow_id());
} }
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
} }
void RemoveRequest::CopyFrom(const RemoveRequest& from) { void DropRequest::CopyFrom(const DropRequest& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.flow.RemoveRequest) // @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.flow.DropRequest)
if (&from == this) return; if (&from == this) return;
Clear(); Clear();
MergeFrom(from); MergeFrom(from);
} }
bool RemoveRequest::IsInitialized() const { bool DropRequest::IsInitialized() const {
return true; return true;
} }
void RemoveRequest::InternalSwap(RemoveRequest* other) { void DropRequest::InternalSwap(DropRequest* other) {
using std::swap; using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_); _internal_metadata_.InternalSwap(&other->_internal_metadata_);
swap(_impl_.task_id_, other->_impl_.task_id_); swap(_impl_.flow_id_, other->_impl_.flow_id_);
} }
::PROTOBUF_NAMESPACE_ID::Metadata RemoveRequest::GetMetadata() const { ::PROTOBUF_NAMESPACE_ID::Metadata DropRequest::GetMetadata() const {
return ::_pbi::AssignDescriptors( return ::_pbi::AssignDescriptors(
&descriptor_table_greptime_2fv1_2fflow_2fserver_2eproto_getter, &descriptor_table_greptime_2fv1_2fflow_2fserver_2eproto_once, &descriptor_table_greptime_2fv1_2fflow_2fserver_2eproto_getter, &descriptor_table_greptime_2fv1_2fflow_2fserver_2eproto_once,
file_level_metadata_greptime_2fv1_2fflow_2fserver_2eproto[7]); file_level_metadata_greptime_2fv1_2fflow_2fserver_2eproto[7]);
@@ -2324,17 +2323,17 @@ template<> PROTOBUF_NOINLINE ::greptime::v1::flow::FlowResponse*
Arena::CreateMaybeMessage< ::greptime::v1::flow::FlowResponse >(Arena* arena) { Arena::CreateMaybeMessage< ::greptime::v1::flow::FlowResponse >(Arena* arena) {
return Arena::CreateMessageInternal< ::greptime::v1::flow::FlowResponse >(arena); return Arena::CreateMessageInternal< ::greptime::v1::flow::FlowResponse >(arena);
} }
template<> PROTOBUF_NOINLINE ::greptime::v1::flow::CreateRequest_TaskOptionsEntry_DoNotUse* template<> PROTOBUF_NOINLINE ::greptime::v1::flow::CreateRequest_FlowOptionsEntry_DoNotUse*
Arena::CreateMaybeMessage< ::greptime::v1::flow::CreateRequest_TaskOptionsEntry_DoNotUse >(Arena* arena) { Arena::CreateMaybeMessage< ::greptime::v1::flow::CreateRequest_FlowOptionsEntry_DoNotUse >(Arena* arena) {
return Arena::CreateMessageInternal< ::greptime::v1::flow::CreateRequest_TaskOptionsEntry_DoNotUse >(arena); return Arena::CreateMessageInternal< ::greptime::v1::flow::CreateRequest_FlowOptionsEntry_DoNotUse >(arena);
} }
template<> PROTOBUF_NOINLINE ::greptime::v1::flow::CreateRequest* template<> PROTOBUF_NOINLINE ::greptime::v1::flow::CreateRequest*
Arena::CreateMaybeMessage< ::greptime::v1::flow::CreateRequest >(Arena* arena) { Arena::CreateMaybeMessage< ::greptime::v1::flow::CreateRequest >(Arena* arena) {
return Arena::CreateMessageInternal< ::greptime::v1::flow::CreateRequest >(arena); return Arena::CreateMessageInternal< ::greptime::v1::flow::CreateRequest >(arena);
} }
template<> PROTOBUF_NOINLINE ::greptime::v1::flow::RemoveRequest* template<> PROTOBUF_NOINLINE ::greptime::v1::flow::DropRequest*
Arena::CreateMaybeMessage< ::greptime::v1::flow::RemoveRequest >(Arena* arena) { Arena::CreateMaybeMessage< ::greptime::v1::flow::DropRequest >(Arena* arena) {
return Arena::CreateMessageInternal< ::greptime::v1::flow::RemoveRequest >(arena); return Arena::CreateMessageInternal< ::greptime::v1::flow::DropRequest >(arena);
} }
template<> PROTOBUF_NOINLINE ::greptime::v1::flow::TaskId* template<> PROTOBUF_NOINLINE ::greptime::v1::flow::TaskId*
Arena::CreateMaybeMessage< ::greptime::v1::flow::TaskId >(Arena* arena) { Arena::CreateMaybeMessage< ::greptime::v1::flow::TaskId >(Arena* arena) {
+243 -243
View File
@@ -56,9 +56,12 @@ namespace flow {
class CreateRequest; class CreateRequest;
struct CreateRequestDefaultTypeInternal; struct CreateRequestDefaultTypeInternal;
extern CreateRequestDefaultTypeInternal _CreateRequest_default_instance_; extern CreateRequestDefaultTypeInternal _CreateRequest_default_instance_;
class CreateRequest_TaskOptionsEntry_DoNotUse; class CreateRequest_FlowOptionsEntry_DoNotUse;
struct CreateRequest_TaskOptionsEntry_DoNotUseDefaultTypeInternal; struct CreateRequest_FlowOptionsEntry_DoNotUseDefaultTypeInternal;
extern CreateRequest_TaskOptionsEntry_DoNotUseDefaultTypeInternal _CreateRequest_TaskOptionsEntry_DoNotUse_default_instance_; extern CreateRequest_FlowOptionsEntry_DoNotUseDefaultTypeInternal _CreateRequest_FlowOptionsEntry_DoNotUse_default_instance_;
class DropRequest;
struct DropRequestDefaultTypeInternal;
extern DropRequestDefaultTypeInternal _DropRequest_default_instance_;
class FlowRequest; class FlowRequest;
struct FlowRequestDefaultTypeInternal; struct FlowRequestDefaultTypeInternal;
extern FlowRequestDefaultTypeInternal _FlowRequest_default_instance_; extern FlowRequestDefaultTypeInternal _FlowRequest_default_instance_;
@@ -74,9 +77,6 @@ extern InsertRequestDefaultTypeInternal _InsertRequest_default_instance_;
class InsertRequests; class InsertRequests;
struct InsertRequestsDefaultTypeInternal; struct InsertRequestsDefaultTypeInternal;
extern InsertRequestsDefaultTypeInternal _InsertRequests_default_instance_; extern InsertRequestsDefaultTypeInternal _InsertRequests_default_instance_;
class RemoveRequest;
struct RemoveRequestDefaultTypeInternal;
extern RemoveRequestDefaultTypeInternal _RemoveRequest_default_instance_;
class TaskId; class TaskId;
struct TaskIdDefaultTypeInternal; struct TaskIdDefaultTypeInternal;
extern TaskIdDefaultTypeInternal _TaskId_default_instance_; extern TaskIdDefaultTypeInternal _TaskId_default_instance_;
@@ -85,13 +85,13 @@ extern TaskIdDefaultTypeInternal _TaskId_default_instance_;
} // namespace greptime } // namespace greptime
PROTOBUF_NAMESPACE_OPEN PROTOBUF_NAMESPACE_OPEN
template<> ::greptime::v1::flow::CreateRequest* Arena::CreateMaybeMessage<::greptime::v1::flow::CreateRequest>(Arena*); template<> ::greptime::v1::flow::CreateRequest* Arena::CreateMaybeMessage<::greptime::v1::flow::CreateRequest>(Arena*);
template<> ::greptime::v1::flow::CreateRequest_TaskOptionsEntry_DoNotUse* Arena::CreateMaybeMessage<::greptime::v1::flow::CreateRequest_TaskOptionsEntry_DoNotUse>(Arena*); template<> ::greptime::v1::flow::CreateRequest_FlowOptionsEntry_DoNotUse* Arena::CreateMaybeMessage<::greptime::v1::flow::CreateRequest_FlowOptionsEntry_DoNotUse>(Arena*);
template<> ::greptime::v1::flow::DropRequest* Arena::CreateMaybeMessage<::greptime::v1::flow::DropRequest>(Arena*);
template<> ::greptime::v1::flow::FlowRequest* Arena::CreateMaybeMessage<::greptime::v1::flow::FlowRequest>(Arena*); template<> ::greptime::v1::flow::FlowRequest* Arena::CreateMaybeMessage<::greptime::v1::flow::FlowRequest>(Arena*);
template<> ::greptime::v1::flow::FlowResponse* Arena::CreateMaybeMessage<::greptime::v1::flow::FlowResponse>(Arena*); template<> ::greptime::v1::flow::FlowResponse* Arena::CreateMaybeMessage<::greptime::v1::flow::FlowResponse>(Arena*);
template<> ::greptime::v1::flow::FlowResponse_ExtensionEntry_DoNotUse* Arena::CreateMaybeMessage<::greptime::v1::flow::FlowResponse_ExtensionEntry_DoNotUse>(Arena*); template<> ::greptime::v1::flow::FlowResponse_ExtensionEntry_DoNotUse* Arena::CreateMaybeMessage<::greptime::v1::flow::FlowResponse_ExtensionEntry_DoNotUse>(Arena*);
template<> ::greptime::v1::flow::InsertRequest* Arena::CreateMaybeMessage<::greptime::v1::flow::InsertRequest>(Arena*); template<> ::greptime::v1::flow::InsertRequest* Arena::CreateMaybeMessage<::greptime::v1::flow::InsertRequest>(Arena*);
template<> ::greptime::v1::flow::InsertRequests* Arena::CreateMaybeMessage<::greptime::v1::flow::InsertRequests>(Arena*); template<> ::greptime::v1::flow::InsertRequests* Arena::CreateMaybeMessage<::greptime::v1::flow::InsertRequests>(Arena*);
template<> ::greptime::v1::flow::RemoveRequest* Arena::CreateMaybeMessage<::greptime::v1::flow::RemoveRequest>(Arena*);
template<> ::greptime::v1::flow::TaskId* Arena::CreateMaybeMessage<::greptime::v1::flow::TaskId>(Arena*); template<> ::greptime::v1::flow::TaskId* Arena::CreateMaybeMessage<::greptime::v1::flow::TaskId>(Arena*);
PROTOBUF_NAMESPACE_CLOSE PROTOBUF_NAMESPACE_CLOSE
namespace greptime { namespace greptime {
@@ -470,7 +470,7 @@ class FlowRequest final :
} }
enum BodyCase { enum BodyCase {
kCreate = 1, kCreate = 1,
kRemove = 2, kDrop = 2,
BODY_NOT_SET = 0, BODY_NOT_SET = 0,
}; };
@@ -553,7 +553,7 @@ class FlowRequest final :
enum : int { enum : int {
kCreateFieldNumber = 1, kCreateFieldNumber = 1,
kRemoveFieldNumber = 2, kDropFieldNumber = 2,
}; };
// .greptime.v1.flow.CreateRequest create = 1; // .greptime.v1.flow.CreateRequest create = 1;
bool has_create() const; bool has_create() const;
@@ -573,23 +573,23 @@ class FlowRequest final :
::greptime::v1::flow::CreateRequest* create); ::greptime::v1::flow::CreateRequest* create);
::greptime::v1::flow::CreateRequest* unsafe_arena_release_create(); ::greptime::v1::flow::CreateRequest* unsafe_arena_release_create();
// .greptime.v1.flow.RemoveRequest remove = 2; // .greptime.v1.flow.DropRequest drop = 2;
bool has_remove() const; bool has_drop() const;
private: private:
bool _internal_has_remove() const; bool _internal_has_drop() const;
public: public:
void clear_remove(); void clear_drop();
const ::greptime::v1::flow::RemoveRequest& remove() const; const ::greptime::v1::flow::DropRequest& drop() const;
PROTOBUF_NODISCARD ::greptime::v1::flow::RemoveRequest* release_remove(); PROTOBUF_NODISCARD ::greptime::v1::flow::DropRequest* release_drop();
::greptime::v1::flow::RemoveRequest* mutable_remove(); ::greptime::v1::flow::DropRequest* mutable_drop();
void set_allocated_remove(::greptime::v1::flow::RemoveRequest* remove); void set_allocated_drop(::greptime::v1::flow::DropRequest* drop);
private: private:
const ::greptime::v1::flow::RemoveRequest& _internal_remove() const; const ::greptime::v1::flow::DropRequest& _internal_drop() const;
::greptime::v1::flow::RemoveRequest* _internal_mutable_remove(); ::greptime::v1::flow::DropRequest* _internal_mutable_drop();
public: public:
void unsafe_arena_set_allocated_remove( void unsafe_arena_set_allocated_drop(
::greptime::v1::flow::RemoveRequest* remove); ::greptime::v1::flow::DropRequest* drop);
::greptime::v1::flow::RemoveRequest* unsafe_arena_release_remove(); ::greptime::v1::flow::DropRequest* unsafe_arena_release_drop();
void clear_body(); void clear_body();
BodyCase body_case() const; BodyCase body_case() const;
@@ -597,7 +597,7 @@ class FlowRequest final :
private: private:
class _Internal; class _Internal;
void set_has_create(); void set_has_create();
void set_has_remove(); void set_has_drop();
inline bool has_body() const; inline bool has_body() const;
inline void clear_has_body(); inline void clear_has_body();
@@ -610,7 +610,7 @@ class FlowRequest final :
constexpr BodyUnion() : _constinit_{} {} constexpr BodyUnion() : _constinit_{} {}
::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
::greptime::v1::flow::CreateRequest* create_; ::greptime::v1::flow::CreateRequest* create_;
::greptime::v1::flow::RemoveRequest* remove_; ::greptime::v1::flow::DropRequest* drop_;
} body_; } body_;
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];
@@ -861,26 +861,26 @@ class FlowResponse final :
}; };
// ------------------------------------------------------------------- // -------------------------------------------------------------------
class CreateRequest_TaskOptionsEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<CreateRequest_TaskOptionsEntry_DoNotUse, class CreateRequest_FlowOptionsEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<CreateRequest_FlowOptionsEntry_DoNotUse,
std::string, std::string, std::string, std::string,
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> {
public: public:
typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<CreateRequest_TaskOptionsEntry_DoNotUse, typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<CreateRequest_FlowOptionsEntry_DoNotUse,
std::string, std::string, std::string, std::string,
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> SuperType; ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> SuperType;
CreateRequest_TaskOptionsEntry_DoNotUse(); CreateRequest_FlowOptionsEntry_DoNotUse();
explicit PROTOBUF_CONSTEXPR CreateRequest_TaskOptionsEntry_DoNotUse( explicit PROTOBUF_CONSTEXPR CreateRequest_FlowOptionsEntry_DoNotUse(
::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
explicit CreateRequest_TaskOptionsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); explicit CreateRequest_FlowOptionsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
void MergeFrom(const CreateRequest_TaskOptionsEntry_DoNotUse& other); void MergeFrom(const CreateRequest_FlowOptionsEntry_DoNotUse& other);
static const CreateRequest_TaskOptionsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const CreateRequest_TaskOptionsEntry_DoNotUse*>(&_CreateRequest_TaskOptionsEntry_DoNotUse_default_instance_); } static const CreateRequest_FlowOptionsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const CreateRequest_FlowOptionsEntry_DoNotUse*>(&_CreateRequest_FlowOptionsEntry_DoNotUse_default_instance_); }
static bool ValidateKey(std::string* s) { static bool ValidateKey(std::string* s) {
return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "greptime.v1.flow.CreateRequest.TaskOptionsEntry.key"); return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "greptime.v1.flow.CreateRequest.FlowOptionsEntry.key");
} }
static bool ValidateValue(std::string* s) { static bool ValidateValue(std::string* s) {
return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "greptime.v1.flow.CreateRequest.TaskOptionsEntry.value"); return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "greptime.v1.flow.CreateRequest.FlowOptionsEntry.value");
} }
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
@@ -1014,11 +1014,11 @@ class CreateRequest final :
enum : int { enum : int {
kSourceTableIdsFieldNumber = 2, kSourceTableIdsFieldNumber = 2,
kTaskOptionsFieldNumber = 8, kFlowOptionsFieldNumber = 8,
kExpireWhenFieldNumber = 5, kExpireWhenFieldNumber = 5,
kCommentFieldNumber = 6, kCommentFieldNumber = 6,
kSqlFieldNumber = 7, kSqlFieldNumber = 7,
kTaskIdFieldNumber = 1, kFlowIdFieldNumber = 1,
kSinkTableNameFieldNumber = 3, kSinkTableNameFieldNumber = 3,
kCreateIfNotExistsFieldNumber = 4, kCreateIfNotExistsFieldNumber = 4,
}; };
@@ -1040,22 +1040,22 @@ class CreateRequest final :
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::TableId >& const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::TableId >&
source_table_ids() const; source_table_ids() const;
// map<string, string> task_options = 8; // map<string, string> flow_options = 8;
int task_options_size() const; int flow_options_size() const;
private: private:
int _internal_task_options_size() const; int _internal_flow_options_size() const;
public: public:
void clear_task_options(); void clear_flow_options();
private: private:
const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >& const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >&
_internal_task_options() const; _internal_flow_options() const;
::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >* ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >*
_internal_mutable_task_options(); _internal_mutable_flow_options();
public: public:
const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >& const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >&
task_options() const; flow_options() const;
::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >* ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >*
mutable_task_options(); mutable_flow_options();
// string expire_when = 5; // string expire_when = 5;
void clear_expire_when(); void clear_expire_when();
@@ -1099,23 +1099,23 @@ class CreateRequest final :
std::string* _internal_mutable_sql(); std::string* _internal_mutable_sql();
public: public:
// .greptime.v1.flow.TaskId task_id = 1; // .greptime.v1.flow.TaskId flow_id = 1;
bool has_task_id() const; bool has_flow_id() const;
private: private:
bool _internal_has_task_id() const; bool _internal_has_flow_id() const;
public: public:
void clear_task_id(); void clear_flow_id();
const ::greptime::v1::flow::TaskId& task_id() const; const ::greptime::v1::flow::TaskId& flow_id() const;
PROTOBUF_NODISCARD ::greptime::v1::flow::TaskId* release_task_id(); PROTOBUF_NODISCARD ::greptime::v1::flow::TaskId* release_flow_id();
::greptime::v1::flow::TaskId* mutable_task_id(); ::greptime::v1::flow::TaskId* mutable_flow_id();
void set_allocated_task_id(::greptime::v1::flow::TaskId* task_id); void set_allocated_flow_id(::greptime::v1::flow::TaskId* flow_id);
private: private:
const ::greptime::v1::flow::TaskId& _internal_task_id() const; const ::greptime::v1::flow::TaskId& _internal_flow_id() const;
::greptime::v1::flow::TaskId* _internal_mutable_task_id(); ::greptime::v1::flow::TaskId* _internal_mutable_flow_id();
public: public:
void unsafe_arena_set_allocated_task_id( void unsafe_arena_set_allocated_flow_id(
::greptime::v1::flow::TaskId* task_id); ::greptime::v1::flow::TaskId* flow_id);
::greptime::v1::flow::TaskId* unsafe_arena_release_task_id(); ::greptime::v1::flow::TaskId* unsafe_arena_release_flow_id();
// .greptime.v1.TableName sink_table_name = 3; // .greptime.v1.TableName sink_table_name = 3;
bool has_sink_table_name() const; bool has_sink_table_name() const;
@@ -1154,14 +1154,14 @@ class CreateRequest final :
struct Impl_ { struct Impl_ {
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::TableId > source_table_ids_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::TableId > source_table_ids_;
::PROTOBUF_NAMESPACE_ID::internal::MapField< ::PROTOBUF_NAMESPACE_ID::internal::MapField<
CreateRequest_TaskOptionsEntry_DoNotUse, CreateRequest_FlowOptionsEntry_DoNotUse,
std::string, std::string, std::string, std::string,
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> task_options_; ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> flow_options_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr expire_when_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr expire_when_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr comment_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr comment_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sql_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sql_;
::greptime::v1::flow::TaskId* task_id_; ::greptime::v1::flow::TaskId* flow_id_;
::greptime::v1::TableName* sink_table_name_; ::greptime::v1::TableName* sink_table_name_;
bool create_if_not_exists_; bool create_if_not_exists_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
@@ -1171,24 +1171,24 @@ class CreateRequest final :
}; };
// ------------------------------------------------------------------- // -------------------------------------------------------------------
class RemoveRequest final : class DropRequest final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.flow.RemoveRequest) */ { public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.flow.DropRequest) */ {
public: public:
inline RemoveRequest() : RemoveRequest(nullptr) {} inline DropRequest() : DropRequest(nullptr) {}
~RemoveRequest() override; ~DropRequest() override;
explicit PROTOBUF_CONSTEXPR RemoveRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); explicit PROTOBUF_CONSTEXPR DropRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
RemoveRequest(const RemoveRequest& from); DropRequest(const DropRequest& from);
RemoveRequest(RemoveRequest&& from) noexcept DropRequest(DropRequest&& from) noexcept
: RemoveRequest() { : DropRequest() {
*this = ::std::move(from); *this = ::std::move(from);
} }
inline RemoveRequest& operator=(const RemoveRequest& from) { inline DropRequest& operator=(const DropRequest& from) {
CopyFrom(from); CopyFrom(from);
return *this; return *this;
} }
inline RemoveRequest& operator=(RemoveRequest&& from) noexcept { inline DropRequest& operator=(DropRequest&& from) noexcept {
if (this == &from) return *this; if (this == &from) return *this;
if (GetOwningArena() == from.GetOwningArena() if (GetOwningArena() == from.GetOwningArena()
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
@@ -1211,20 +1211,20 @@ class RemoveRequest final :
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
return default_instance().GetMetadata().reflection; return default_instance().GetMetadata().reflection;
} }
static const RemoveRequest& default_instance() { static const DropRequest& default_instance() {
return *internal_default_instance(); return *internal_default_instance();
} }
static inline const RemoveRequest* internal_default_instance() { static inline const DropRequest* internal_default_instance() {
return reinterpret_cast<const RemoveRequest*>( return reinterpret_cast<const DropRequest*>(
&_RemoveRequest_default_instance_); &_DropRequest_default_instance_);
} }
static constexpr int kIndexInFileMessages = static constexpr int kIndexInFileMessages =
7; 7;
friend void swap(RemoveRequest& a, RemoveRequest& b) { friend void swap(DropRequest& a, DropRequest& b) {
a.Swap(&b); a.Swap(&b);
} }
inline void Swap(RemoveRequest* other) { inline void Swap(DropRequest* other) {
if (other == this) return; if (other == this) return;
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() != nullptr && if (GetOwningArena() != nullptr &&
@@ -1237,7 +1237,7 @@ class RemoveRequest final :
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
} }
} }
void UnsafeArenaSwap(RemoveRequest* other) { void UnsafeArenaSwap(DropRequest* other) {
if (other == this) return; if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other); InternalSwap(other);
@@ -1245,14 +1245,14 @@ class RemoveRequest final :
// implements Message ---------------------------------------------- // implements Message ----------------------------------------------
RemoveRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { DropRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<RemoveRequest>(arena); return CreateMaybeMessage<DropRequest>(arena);
} }
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const RemoveRequest& from); void CopyFrom(const DropRequest& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom( const RemoveRequest& from) { void MergeFrom( const DropRequest& from) {
RemoveRequest::MergeImpl(*this, from); DropRequest::MergeImpl(*this, from);
} }
private: private:
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
@@ -1270,15 +1270,15 @@ class RemoveRequest final :
void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor(); void SharedDtor();
void SetCachedSize(int size) const final; void SetCachedSize(int size) const final;
void InternalSwap(RemoveRequest* other); void InternalSwap(DropRequest* other);
private: private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "greptime.v1.flow.RemoveRequest"; return "greptime.v1.flow.DropRequest";
} }
protected: protected:
explicit RemoveRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, explicit DropRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false); bool is_message_owned = false);
public: public:
@@ -1292,27 +1292,27 @@ class RemoveRequest final :
// accessors ------------------------------------------------------- // accessors -------------------------------------------------------
enum : int { enum : int {
kTaskIdFieldNumber = 1, kFlowIdFieldNumber = 1,
}; };
// .greptime.v1.flow.TaskId task_id = 1; // .greptime.v1.flow.TaskId flow_id = 1;
bool has_task_id() const; bool has_flow_id() const;
private: private:
bool _internal_has_task_id() const; bool _internal_has_flow_id() const;
public: public:
void clear_task_id(); void clear_flow_id();
const ::greptime::v1::flow::TaskId& task_id() const; const ::greptime::v1::flow::TaskId& flow_id() const;
PROTOBUF_NODISCARD ::greptime::v1::flow::TaskId* release_task_id(); PROTOBUF_NODISCARD ::greptime::v1::flow::TaskId* release_flow_id();
::greptime::v1::flow::TaskId* mutable_task_id(); ::greptime::v1::flow::TaskId* mutable_flow_id();
void set_allocated_task_id(::greptime::v1::flow::TaskId* task_id); void set_allocated_flow_id(::greptime::v1::flow::TaskId* flow_id);
private: private:
const ::greptime::v1::flow::TaskId& _internal_task_id() const; const ::greptime::v1::flow::TaskId& _internal_flow_id() const;
::greptime::v1::flow::TaskId* _internal_mutable_task_id(); ::greptime::v1::flow::TaskId* _internal_mutable_flow_id();
public: public:
void unsafe_arena_set_allocated_task_id( void unsafe_arena_set_allocated_flow_id(
::greptime::v1::flow::TaskId* task_id); ::greptime::v1::flow::TaskId* flow_id);
::greptime::v1::flow::TaskId* unsafe_arena_release_task_id(); ::greptime::v1::flow::TaskId* unsafe_arena_release_flow_id();
// @@protoc_insertion_point(class_scope:greptime.v1.flow.RemoveRequest) // @@protoc_insertion_point(class_scope:greptime.v1.flow.DropRequest)
private: private:
class _Internal; class _Internal;
@@ -1320,7 +1320,7 @@ class RemoveRequest final :
typedef void InternalArenaConstructable_; typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_; typedef void DestructorSkippable_;
struct Impl_ { struct Impl_ {
::greptime::v1::flow::TaskId* task_id_; ::greptime::v1::flow::TaskId* flow_id_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
}; };
union { Impl_ _impl_; }; union { Impl_ _impl_; };
@@ -1712,77 +1712,77 @@ inline ::greptime::v1::flow::CreateRequest* FlowRequest::mutable_create() {
return _msg; return _msg;
} }
// .greptime.v1.flow.RemoveRequest remove = 2; // .greptime.v1.flow.DropRequest drop = 2;
inline bool FlowRequest::_internal_has_remove() const { inline bool FlowRequest::_internal_has_drop() const {
return body_case() == kRemove; return body_case() == kDrop;
} }
inline bool FlowRequest::has_remove() const { inline bool FlowRequest::has_drop() const {
return _internal_has_remove(); return _internal_has_drop();
} }
inline void FlowRequest::set_has_remove() { inline void FlowRequest::set_has_drop() {
_impl_._oneof_case_[0] = kRemove; _impl_._oneof_case_[0] = kDrop;
} }
inline void FlowRequest::clear_remove() { inline void FlowRequest::clear_drop() {
if (_internal_has_remove()) { if (_internal_has_drop()) {
if (GetArenaForAllocation() == nullptr) { if (GetArenaForAllocation() == nullptr) {
delete _impl_.body_.remove_; delete _impl_.body_.drop_;
} }
clear_has_body(); clear_has_body();
} }
} }
inline ::greptime::v1::flow::RemoveRequest* FlowRequest::release_remove() { inline ::greptime::v1::flow::DropRequest* FlowRequest::release_drop() {
// @@protoc_insertion_point(field_release:greptime.v1.flow.FlowRequest.remove) // @@protoc_insertion_point(field_release:greptime.v1.flow.FlowRequest.drop)
if (_internal_has_remove()) { if (_internal_has_drop()) {
clear_has_body(); clear_has_body();
::greptime::v1::flow::RemoveRequest* temp = _impl_.body_.remove_; ::greptime::v1::flow::DropRequest* temp = _impl_.body_.drop_;
if (GetArenaForAllocation() != nullptr) { if (GetArenaForAllocation() != nullptr) {
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
} }
_impl_.body_.remove_ = nullptr; _impl_.body_.drop_ = nullptr;
return temp; return temp;
} else { } else {
return nullptr; return nullptr;
} }
} }
inline const ::greptime::v1::flow::RemoveRequest& FlowRequest::_internal_remove() const { inline const ::greptime::v1::flow::DropRequest& FlowRequest::_internal_drop() const {
return _internal_has_remove() return _internal_has_drop()
? *_impl_.body_.remove_ ? *_impl_.body_.drop_
: reinterpret_cast< ::greptime::v1::flow::RemoveRequest&>(::greptime::v1::flow::_RemoveRequest_default_instance_); : reinterpret_cast< ::greptime::v1::flow::DropRequest&>(::greptime::v1::flow::_DropRequest_default_instance_);
} }
inline const ::greptime::v1::flow::RemoveRequest& FlowRequest::remove() const { inline const ::greptime::v1::flow::DropRequest& FlowRequest::drop() const {
// @@protoc_insertion_point(field_get:greptime.v1.flow.FlowRequest.remove) // @@protoc_insertion_point(field_get:greptime.v1.flow.FlowRequest.drop)
return _internal_remove(); return _internal_drop();
} }
inline ::greptime::v1::flow::RemoveRequest* FlowRequest::unsafe_arena_release_remove() { inline ::greptime::v1::flow::DropRequest* FlowRequest::unsafe_arena_release_drop() {
// @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.flow.FlowRequest.remove) // @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.flow.FlowRequest.drop)
if (_internal_has_remove()) { if (_internal_has_drop()) {
clear_has_body(); clear_has_body();
::greptime::v1::flow::RemoveRequest* temp = _impl_.body_.remove_; ::greptime::v1::flow::DropRequest* temp = _impl_.body_.drop_;
_impl_.body_.remove_ = nullptr; _impl_.body_.drop_ = nullptr;
return temp; return temp;
} else { } else {
return nullptr; return nullptr;
} }
} }
inline void FlowRequest::unsafe_arena_set_allocated_remove(::greptime::v1::flow::RemoveRequest* remove) { inline void FlowRequest::unsafe_arena_set_allocated_drop(::greptime::v1::flow::DropRequest* drop) {
clear_body(); clear_body();
if (remove) { if (drop) {
set_has_remove(); set_has_drop();
_impl_.body_.remove_ = remove; _impl_.body_.drop_ = drop;
} }
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.flow.FlowRequest.remove) // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.flow.FlowRequest.drop)
} }
inline ::greptime::v1::flow::RemoveRequest* FlowRequest::_internal_mutable_remove() { inline ::greptime::v1::flow::DropRequest* FlowRequest::_internal_mutable_drop() {
if (!_internal_has_remove()) { if (!_internal_has_drop()) {
clear_body(); clear_body();
set_has_remove(); set_has_drop();
_impl_.body_.remove_ = CreateMaybeMessage< ::greptime::v1::flow::RemoveRequest >(GetArenaForAllocation()); _impl_.body_.drop_ = CreateMaybeMessage< ::greptime::v1::flow::DropRequest >(GetArenaForAllocation());
} }
return _impl_.body_.remove_; return _impl_.body_.drop_;
} }
inline ::greptime::v1::flow::RemoveRequest* FlowRequest::mutable_remove() { inline ::greptime::v1::flow::DropRequest* FlowRequest::mutable_drop() {
::greptime::v1::flow::RemoveRequest* _msg = _internal_mutable_remove(); ::greptime::v1::flow::DropRequest* _msg = _internal_mutable_drop();
// @@protoc_insertion_point(field_mutable:greptime.v1.flow.FlowRequest.remove) // @@protoc_insertion_point(field_mutable:greptime.v1.flow.FlowRequest.drop)
return _msg; return _msg;
} }
@@ -1981,45 +1981,45 @@ FlowResponse::affected_tasks() const {
// CreateRequest // CreateRequest
// .greptime.v1.flow.TaskId task_id = 1; // .greptime.v1.flow.TaskId flow_id = 1;
inline bool CreateRequest::_internal_has_task_id() const { inline bool CreateRequest::_internal_has_flow_id() const {
return this != internal_default_instance() && _impl_.task_id_ != nullptr; return this != internal_default_instance() && _impl_.flow_id_ != nullptr;
} }
inline bool CreateRequest::has_task_id() const { inline bool CreateRequest::has_flow_id() const {
return _internal_has_task_id(); return _internal_has_flow_id();
} }
inline void CreateRequest::clear_task_id() { inline void CreateRequest::clear_flow_id() {
if (GetArenaForAllocation() == nullptr && _impl_.task_id_ != nullptr) { if (GetArenaForAllocation() == nullptr && _impl_.flow_id_ != nullptr) {
delete _impl_.task_id_; delete _impl_.flow_id_;
} }
_impl_.task_id_ = nullptr; _impl_.flow_id_ = nullptr;
} }
inline const ::greptime::v1::flow::TaskId& CreateRequest::_internal_task_id() const { inline const ::greptime::v1::flow::TaskId& CreateRequest::_internal_flow_id() const {
const ::greptime::v1::flow::TaskId* p = _impl_.task_id_; const ::greptime::v1::flow::TaskId* p = _impl_.flow_id_;
return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::flow::TaskId&>( return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::flow::TaskId&>(
::greptime::v1::flow::_TaskId_default_instance_); ::greptime::v1::flow::_TaskId_default_instance_);
} }
inline const ::greptime::v1::flow::TaskId& CreateRequest::task_id() const { inline const ::greptime::v1::flow::TaskId& CreateRequest::flow_id() const {
// @@protoc_insertion_point(field_get:greptime.v1.flow.CreateRequest.task_id) // @@protoc_insertion_point(field_get:greptime.v1.flow.CreateRequest.flow_id)
return _internal_task_id(); return _internal_flow_id();
} }
inline void CreateRequest::unsafe_arena_set_allocated_task_id( inline void CreateRequest::unsafe_arena_set_allocated_flow_id(
::greptime::v1::flow::TaskId* task_id) { ::greptime::v1::flow::TaskId* flow_id) {
if (GetArenaForAllocation() == nullptr) { if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.task_id_); delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.flow_id_);
} }
_impl_.task_id_ = task_id; _impl_.flow_id_ = flow_id;
if (task_id) { if (flow_id) {
} else { } else {
} }
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.flow.CreateRequest.task_id) // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.flow.CreateRequest.flow_id)
} }
inline ::greptime::v1::flow::TaskId* CreateRequest::release_task_id() { inline ::greptime::v1::flow::TaskId* CreateRequest::release_flow_id() {
::greptime::v1::flow::TaskId* temp = _impl_.task_id_; ::greptime::v1::flow::TaskId* temp = _impl_.flow_id_;
_impl_.task_id_ = nullptr; _impl_.flow_id_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -2031,44 +2031,44 @@ inline ::greptime::v1::flow::TaskId* CreateRequest::release_task_id() {
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp; return temp;
} }
inline ::greptime::v1::flow::TaskId* CreateRequest::unsafe_arena_release_task_id() { inline ::greptime::v1::flow::TaskId* CreateRequest::unsafe_arena_release_flow_id() {
// @@protoc_insertion_point(field_release:greptime.v1.flow.CreateRequest.task_id) // @@protoc_insertion_point(field_release:greptime.v1.flow.CreateRequest.flow_id)
::greptime::v1::flow::TaskId* temp = _impl_.task_id_; ::greptime::v1::flow::TaskId* temp = _impl_.flow_id_;
_impl_.task_id_ = nullptr; _impl_.flow_id_ = nullptr;
return temp; return temp;
} }
inline ::greptime::v1::flow::TaskId* CreateRequest::_internal_mutable_task_id() { inline ::greptime::v1::flow::TaskId* CreateRequest::_internal_mutable_flow_id() {
if (_impl_.task_id_ == nullptr) { if (_impl_.flow_id_ == nullptr) {
auto* p = CreateMaybeMessage<::greptime::v1::flow::TaskId>(GetArenaForAllocation()); auto* p = CreateMaybeMessage<::greptime::v1::flow::TaskId>(GetArenaForAllocation());
_impl_.task_id_ = p; _impl_.flow_id_ = p;
} }
return _impl_.task_id_; return _impl_.flow_id_;
} }
inline ::greptime::v1::flow::TaskId* CreateRequest::mutable_task_id() { inline ::greptime::v1::flow::TaskId* CreateRequest::mutable_flow_id() {
::greptime::v1::flow::TaskId* _msg = _internal_mutable_task_id(); ::greptime::v1::flow::TaskId* _msg = _internal_mutable_flow_id();
// @@protoc_insertion_point(field_mutable:greptime.v1.flow.CreateRequest.task_id) // @@protoc_insertion_point(field_mutable:greptime.v1.flow.CreateRequest.flow_id)
return _msg; return _msg;
} }
inline void CreateRequest::set_allocated_task_id(::greptime::v1::flow::TaskId* task_id) { inline void CreateRequest::set_allocated_flow_id(::greptime::v1::flow::TaskId* flow_id) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) { if (message_arena == nullptr) {
delete _impl_.task_id_; delete _impl_.flow_id_;
} }
if (task_id) { if (flow_id) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(task_id); ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(flow_id);
if (message_arena != submessage_arena) { if (message_arena != submessage_arena) {
task_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( flow_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, task_id, submessage_arena); message_arena, flow_id, submessage_arena);
} }
} else { } else {
} }
_impl_.task_id_ = task_id; _impl_.flow_id_ = flow_id;
// @@protoc_insertion_point(field_set_allocated:greptime.v1.flow.CreateRequest.task_id) // @@protoc_insertion_point(field_set_allocated:greptime.v1.flow.CreateRequest.flow_id)
} }
// repeated .greptime.v1.TableId source_table_ids = 2; // repeated .greptime.v1.TableId source_table_ids = 2;
@@ -2363,78 +2363,78 @@ inline void CreateRequest::set_allocated_sql(std::string* sql) {
// @@protoc_insertion_point(field_set_allocated:greptime.v1.flow.CreateRequest.sql) // @@protoc_insertion_point(field_set_allocated:greptime.v1.flow.CreateRequest.sql)
} }
// map<string, string> task_options = 8; // map<string, string> flow_options = 8;
inline int CreateRequest::_internal_task_options_size() const { inline int CreateRequest::_internal_flow_options_size() const {
return _impl_.task_options_.size(); return _impl_.flow_options_.size();
} }
inline int CreateRequest::task_options_size() const { inline int CreateRequest::flow_options_size() const {
return _internal_task_options_size(); return _internal_flow_options_size();
} }
inline void CreateRequest::clear_task_options() { inline void CreateRequest::clear_flow_options() {
_impl_.task_options_.Clear(); _impl_.flow_options_.Clear();
} }
inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >& inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >&
CreateRequest::_internal_task_options() const { CreateRequest::_internal_flow_options() const {
return _impl_.task_options_.GetMap(); return _impl_.flow_options_.GetMap();
} }
inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >& inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >&
CreateRequest::task_options() const { CreateRequest::flow_options() const {
// @@protoc_insertion_point(field_map:greptime.v1.flow.CreateRequest.task_options) // @@protoc_insertion_point(field_map:greptime.v1.flow.CreateRequest.flow_options)
return _internal_task_options(); return _internal_flow_options();
} }
inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >* inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >*
CreateRequest::_internal_mutable_task_options() { CreateRequest::_internal_mutable_flow_options() {
return _impl_.task_options_.MutableMap(); return _impl_.flow_options_.MutableMap();
} }
inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >* inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >*
CreateRequest::mutable_task_options() { CreateRequest::mutable_flow_options() {
// @@protoc_insertion_point(field_mutable_map:greptime.v1.flow.CreateRequest.task_options) // @@protoc_insertion_point(field_mutable_map:greptime.v1.flow.CreateRequest.flow_options)
return _internal_mutable_task_options(); return _internal_mutable_flow_options();
} }
// ------------------------------------------------------------------- // -------------------------------------------------------------------
// RemoveRequest // DropRequest
// .greptime.v1.flow.TaskId task_id = 1; // .greptime.v1.flow.TaskId flow_id = 1;
inline bool RemoveRequest::_internal_has_task_id() const { inline bool DropRequest::_internal_has_flow_id() const {
return this != internal_default_instance() && _impl_.task_id_ != nullptr; return this != internal_default_instance() && _impl_.flow_id_ != nullptr;
} }
inline bool RemoveRequest::has_task_id() const { inline bool DropRequest::has_flow_id() const {
return _internal_has_task_id(); return _internal_has_flow_id();
} }
inline void RemoveRequest::clear_task_id() { inline void DropRequest::clear_flow_id() {
if (GetArenaForAllocation() == nullptr && _impl_.task_id_ != nullptr) { if (GetArenaForAllocation() == nullptr && _impl_.flow_id_ != nullptr) {
delete _impl_.task_id_; delete _impl_.flow_id_;
} }
_impl_.task_id_ = nullptr; _impl_.flow_id_ = nullptr;
} }
inline const ::greptime::v1::flow::TaskId& RemoveRequest::_internal_task_id() const { inline const ::greptime::v1::flow::TaskId& DropRequest::_internal_flow_id() const {
const ::greptime::v1::flow::TaskId* p = _impl_.task_id_; const ::greptime::v1::flow::TaskId* p = _impl_.flow_id_;
return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::flow::TaskId&>( return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::flow::TaskId&>(
::greptime::v1::flow::_TaskId_default_instance_); ::greptime::v1::flow::_TaskId_default_instance_);
} }
inline const ::greptime::v1::flow::TaskId& RemoveRequest::task_id() const { inline const ::greptime::v1::flow::TaskId& DropRequest::flow_id() const {
// @@protoc_insertion_point(field_get:greptime.v1.flow.RemoveRequest.task_id) // @@protoc_insertion_point(field_get:greptime.v1.flow.DropRequest.flow_id)
return _internal_task_id(); return _internal_flow_id();
} }
inline void RemoveRequest::unsafe_arena_set_allocated_task_id( inline void DropRequest::unsafe_arena_set_allocated_flow_id(
::greptime::v1::flow::TaskId* task_id) { ::greptime::v1::flow::TaskId* flow_id) {
if (GetArenaForAllocation() == nullptr) { if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.task_id_); delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.flow_id_);
} }
_impl_.task_id_ = task_id; _impl_.flow_id_ = flow_id;
if (task_id) { if (flow_id) {
} else { } else {
} }
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.flow.RemoveRequest.task_id) // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.flow.DropRequest.flow_id)
} }
inline ::greptime::v1::flow::TaskId* RemoveRequest::release_task_id() { inline ::greptime::v1::flow::TaskId* DropRequest::release_flow_id() {
::greptime::v1::flow::TaskId* temp = _impl_.task_id_; ::greptime::v1::flow::TaskId* temp = _impl_.flow_id_;
_impl_.task_id_ = nullptr; _impl_.flow_id_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -2446,44 +2446,44 @@ inline ::greptime::v1::flow::TaskId* RemoveRequest::release_task_id() {
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp; return temp;
} }
inline ::greptime::v1::flow::TaskId* RemoveRequest::unsafe_arena_release_task_id() { inline ::greptime::v1::flow::TaskId* DropRequest::unsafe_arena_release_flow_id() {
// @@protoc_insertion_point(field_release:greptime.v1.flow.RemoveRequest.task_id) // @@protoc_insertion_point(field_release:greptime.v1.flow.DropRequest.flow_id)
::greptime::v1::flow::TaskId* temp = _impl_.task_id_; ::greptime::v1::flow::TaskId* temp = _impl_.flow_id_;
_impl_.task_id_ = nullptr; _impl_.flow_id_ = nullptr;
return temp; return temp;
} }
inline ::greptime::v1::flow::TaskId* RemoveRequest::_internal_mutable_task_id() { inline ::greptime::v1::flow::TaskId* DropRequest::_internal_mutable_flow_id() {
if (_impl_.task_id_ == nullptr) { if (_impl_.flow_id_ == nullptr) {
auto* p = CreateMaybeMessage<::greptime::v1::flow::TaskId>(GetArenaForAllocation()); auto* p = CreateMaybeMessage<::greptime::v1::flow::TaskId>(GetArenaForAllocation());
_impl_.task_id_ = p; _impl_.flow_id_ = p;
} }
return _impl_.task_id_; return _impl_.flow_id_;
} }
inline ::greptime::v1::flow::TaskId* RemoveRequest::mutable_task_id() { inline ::greptime::v1::flow::TaskId* DropRequest::mutable_flow_id() {
::greptime::v1::flow::TaskId* _msg = _internal_mutable_task_id(); ::greptime::v1::flow::TaskId* _msg = _internal_mutable_flow_id();
// @@protoc_insertion_point(field_mutable:greptime.v1.flow.RemoveRequest.task_id) // @@protoc_insertion_point(field_mutable:greptime.v1.flow.DropRequest.flow_id)
return _msg; return _msg;
} }
inline void RemoveRequest::set_allocated_task_id(::greptime::v1::flow::TaskId* task_id) { inline void DropRequest::set_allocated_flow_id(::greptime::v1::flow::TaskId* flow_id) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) { if (message_arena == nullptr) {
delete _impl_.task_id_; delete _impl_.flow_id_;
} }
if (task_id) { if (flow_id) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(task_id); ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(flow_id);
if (message_arena != submessage_arena) { if (message_arena != submessage_arena) {
task_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( flow_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, task_id, submessage_arena); message_arena, flow_id, submessage_arena);
} }
} else { } else {
} }
_impl_.task_id_ = task_id; _impl_.flow_id_ = flow_id;
// @@protoc_insertion_point(field_set_allocated:greptime.v1.flow.RemoveRequest.task_id) // @@protoc_insertion_point(field_set_allocated:greptime.v1.flow.DropRequest.flow_id)
} }
// ------------------------------------------------------------------- // -------------------------------------------------------------------
+95 -95
View File
@@ -144,7 +144,7 @@ struct DropDatabaseTaskDefaultTypeInternal {
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DropDatabaseTaskDefaultTypeInternal _DropDatabaseTask_default_instance_; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DropDatabaseTaskDefaultTypeInternal _DropDatabaseTask_default_instance_;
PROTOBUF_CONSTEXPR CreateFlowTask::CreateFlowTask( PROTOBUF_CONSTEXPR CreateFlowTask::CreateFlowTask(
::_pbi::ConstantInitialized): _impl_{ ::_pbi::ConstantInitialized): _impl_{
/*decltype(_impl_.create_flow_task_)*/nullptr /*decltype(_impl_.create_flow_)*/nullptr
, /*decltype(_impl_._cached_size_)*/{}} {} , /*decltype(_impl_._cached_size_)*/{}} {}
struct CreateFlowTaskDefaultTypeInternal { struct CreateFlowTaskDefaultTypeInternal {
PROTOBUF_CONSTEXPR CreateFlowTaskDefaultTypeInternal() PROTOBUF_CONSTEXPR CreateFlowTaskDefaultTypeInternal()
@@ -157,7 +157,7 @@ struct CreateFlowTaskDefaultTypeInternal {
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CreateFlowTaskDefaultTypeInternal _CreateFlowTask_default_instance_; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CreateFlowTaskDefaultTypeInternal _CreateFlowTask_default_instance_;
PROTOBUF_CONSTEXPR DropFlowTask::DropFlowTask( PROTOBUF_CONSTEXPR DropFlowTask::DropFlowTask(
::_pbi::ConstantInitialized): _impl_{ ::_pbi::ConstantInitialized): _impl_{
/*decltype(_impl_.drop_flow_task_)*/nullptr /*decltype(_impl_.drop_flow_)*/nullptr
, /*decltype(_impl_._cached_size_)*/{}} {} , /*decltype(_impl_._cached_size_)*/{}} {}
struct DropFlowTaskDefaultTypeInternal { struct DropFlowTaskDefaultTypeInternal {
PROTOBUF_CONSTEXPR DropFlowTaskDefaultTypeInternal() PROTOBUF_CONSTEXPR DropFlowTaskDefaultTypeInternal()
@@ -278,14 +278,14 @@ const uint32_t TableStruct_greptime_2fv1_2fmeta_2fddl_2eproto::offsets[] PROTOBU
~0u, // no _oneof_case_ ~0u, // no _oneof_case_
~0u, // no _weak_field_map_ ~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_ ~0u, // no _inlined_string_donated_
PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::CreateFlowTask, _impl_.create_flow_task_), PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::CreateFlowTask, _impl_.create_flow_),
~0u, // no _has_bits_ ~0u, // no _has_bits_
PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::DropFlowTask, _internal_metadata_), PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::DropFlowTask, _internal_metadata_),
~0u, // no _extensions_ ~0u, // no _extensions_
~0u, // no _oneof_case_ ~0u, // no _oneof_case_
~0u, // no _weak_field_map_ ~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_ ~0u, // no _inlined_string_donated_
PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::DropFlowTask, _impl_.drop_flow_task_), PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::DropFlowTask, _impl_.drop_flow_),
~0u, // no _has_bits_ ~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_
@@ -369,38 +369,38 @@ const char descriptor_table_protodef_greptime_2fv1_2fmeta_2fddl_2eproto[] PROTOB
"ask\"K\n\021TruncateTableTask\0226\n\016truncate_tab" "ask\"K\n\021TruncateTableTask\0226\n\016truncate_tab"
"le\030\001 \001(\0132\036.greptime.v1.TruncateTableExpr" "le\030\001 \001(\0132\036.greptime.v1.TruncateTableExpr"
"\"H\n\020DropDatabaseTask\0224\n\rdrop_database\030\001 " "\"H\n\020DropDatabaseTask\0224\n\rdrop_database\030\001 "
"\001(\0132\035.greptime.v1.DropDatabaseExpr\"K\n\016Cr" "\001(\0132\035.greptime.v1.DropDatabaseExpr\"B\n\016Cr"
"eateFlowTask\0229\n\020create_flow_task\030\001 \001(\0132\037" "eateFlowTask\0220\n\013create_flow\030\001 \001(\0132\033.grep"
".greptime.v1.CreateFlowTaskExpr\"E\n\014DropF" "time.v1.CreateFlowExpr\"<\n\014DropFlowTask\022,"
"lowTask\0225\n\016drop_flow_task\030\001 \001(\0132\035.grepti" "\n\tdrop_flow\030\001 \001(\0132\031.greptime.v1.DropFlow"
"me.v1.DropFlowTaskExpr\"\207\006\n\016DdlTaskReques" "Expr\"\207\006\n\016DdlTaskRequest\022/\n\006header\030\001 \001(\0132"
"t\022/\n\006header\030\001 \001(\0132\037.greptime.v1.meta.Req" "\037.greptime.v1.meta.RequestHeader\022>\n\021crea"
"uestHeader\022>\n\021create_table_task\030\002 \001(\0132!." "te_table_task\030\002 \001(\0132!.greptime.v1.meta.C"
"greptime.v1.meta.CreateTableTaskH\000\022:\n\017dr" "reateTableTaskH\000\022:\n\017drop_table_task\030\003 \001("
"op_table_task\030\003 \001(\0132\037.greptime.v1.meta.D" "\0132\037.greptime.v1.meta.DropTableTaskH\000\022<\n\020"
"ropTableTaskH\000\022<\n\020alter_table_task\030\004 \001(\013" "alter_table_task\030\004 \001(\0132 .greptime.v1.met"
"2 .greptime.v1.meta.AlterTableTaskH\000\022B\n\023" "a.AlterTableTaskH\000\022B\n\023truncate_table_tas"
"truncate_table_task\030\005 \001(\0132#.greptime.v1." "k\030\005 \001(\0132#.greptime.v1.meta.TruncateTable"
"meta.TruncateTableTaskH\000\022@\n\022create_table" "TaskH\000\022@\n\022create_table_tasks\030\006 \001(\0132\".gre"
"_tasks\030\006 \001(\0132\".greptime.v1.meta.CreateTa" "ptime.v1.meta.CreateTableTasksH\000\022<\n\020drop"
"bleTasksH\000\022<\n\020drop_table_tasks\030\007 \001(\0132 .g" "_table_tasks\030\007 \001(\0132 .greptime.v1.meta.Dr"
"reptime.v1.meta.DropTableTasksH\000\022>\n\021alte" "opTableTasksH\000\022>\n\021alter_table_tasks\030\010 \001("
"r_table_tasks\030\010 \001(\0132!.greptime.v1.meta.A" "\0132!.greptime.v1.meta.AlterTableTasksH\000\022@"
"lterTableTasksH\000\022@\n\022drop_database_task\030\t" "\n\022drop_database_task\030\t \001(\0132\".greptime.v1"
" \001(\0132\".greptime.v1.meta.DropDatabaseTask" ".meta.DropDatabaseTaskH\000\022D\n\024create_datab"
"H\000\022D\n\024create_database_task\030\n \001(\0132$.grept" "ase_task\030\n \001(\0132$.greptime.v1.meta.Create"
"ime.v1.meta.CreateDatabaseTaskH\000\022<\n\020crea" "DatabaseTaskH\000\022<\n\020create_flow_task\030\013 \001(\013"
"te_flow_task\030\013 \001(\0132 .greptime.v1.meta.Cr" "2 .greptime.v1.meta.CreateFlowTaskH\000\0228\n\016"
"eateFlowTaskH\000\0228\n\016drop_flow_task\030\014 \001(\0132\036" "drop_flow_task\030\014 \001(\0132\036.greptime.v1.meta."
".greptime.v1.meta.DropFlowTaskH\000B\006\n\004task" "DropFlowTaskH\000B\006\n\004task\"\312\001\n\017DdlTaskRespon"
"\"\312\001\n\017DdlTaskResponse\0220\n\006header\030\001 \001(\0132 .g" "se\0220\n\006header\030\001 \001(\0132 .greptime.v1.meta.Re"
"reptime.v1.meta.ResponseHeader\022*\n\003pid\030\002 " "sponseHeader\022*\n\003pid\030\002 \001(\0132\035.greptime.v1."
"\001(\0132\035.greptime.v1.meta.ProcedureId\022+\n\010ta" "meta.ProcedureId\022+\n\010table_id\030\004 \001(\0132\031.gre"
"ble_id\030\004 \001(\0132\031.greptime.v1.meta.TableId\022" "ptime.v1.meta.TableId\022,\n\ttable_ids\030\005 \003(\013"
",\n\ttable_ids\030\005 \003(\0132\031.greptime.v1.meta.Ta" "2\031.greptime.v1.meta.TableId*#\n\013DdlTaskTy"
"bleId*#\n\013DdlTaskType\022\n\n\006Create\020\000\022\010\n\004Drop" "pe\022\n\n\006Create\020\000\022\010\n\004Drop\020\001B<Z:github.com/G"
"\020\001B<Z:github.com/GreptimeTeam/greptime-p" "reptimeTeam/greptime-proto/go/greptime/v"
"roto/go/greptime/v1/metab\006proto3" "1/metab\006proto3"
; ;
static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_deps[3] = { static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_deps[3] = {
&::descriptor_table_greptime_2fv1_2fddl_2eproto, &::descriptor_table_greptime_2fv1_2fddl_2eproto,
@@ -409,7 +409,7 @@ 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, 2072, descriptor_table_protodef_greptime_2fv1_2fmeta_2fddl_2eproto, false, false, 2054, 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, 3, 13, &descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_once, descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_deps, 3, 13,
schemas, file_default_instances, TableStruct_greptime_2fv1_2fmeta_2fddl_2eproto::offsets, schemas, file_default_instances, TableStruct_greptime_2fv1_2fmeta_2fddl_2eproto::offsets,
@@ -2277,18 +2277,18 @@ void DropDatabaseTask::InternalSwap(DropDatabaseTask* other) {
class CreateFlowTask::_Internal { class CreateFlowTask::_Internal {
public: public:
static const ::greptime::v1::CreateFlowTaskExpr& create_flow_task(const CreateFlowTask* msg); static const ::greptime::v1::CreateFlowExpr& create_flow(const CreateFlowTask* msg);
}; };
const ::greptime::v1::CreateFlowTaskExpr& const ::greptime::v1::CreateFlowExpr&
CreateFlowTask::_Internal::create_flow_task(const CreateFlowTask* msg) { CreateFlowTask::_Internal::create_flow(const CreateFlowTask* msg) {
return *msg->_impl_.create_flow_task_; return *msg->_impl_.create_flow_;
} }
void CreateFlowTask::clear_create_flow_task() { void CreateFlowTask::clear_create_flow() {
if (GetArenaForAllocation() == nullptr && _impl_.create_flow_task_ != nullptr) { if (GetArenaForAllocation() == nullptr && _impl_.create_flow_ != nullptr) {
delete _impl_.create_flow_task_; delete _impl_.create_flow_;
} }
_impl_.create_flow_task_ = nullptr; _impl_.create_flow_ = nullptr;
} }
CreateFlowTask::CreateFlowTask(::PROTOBUF_NAMESPACE_ID::Arena* arena, CreateFlowTask::CreateFlowTask(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned) bool is_message_owned)
@@ -2300,12 +2300,12 @@ CreateFlowTask::CreateFlowTask(const CreateFlowTask& from)
: ::PROTOBUF_NAMESPACE_ID::Message() { : ::PROTOBUF_NAMESPACE_ID::Message() {
CreateFlowTask* const _this = this; (void)_this; CreateFlowTask* const _this = this; (void)_this;
new (&_impl_) Impl_{ new (&_impl_) Impl_{
decltype(_impl_.create_flow_task_){nullptr} decltype(_impl_.create_flow_){nullptr}
, /*decltype(_impl_._cached_size_)*/{}}; , /*decltype(_impl_._cached_size_)*/{}};
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
if (from._internal_has_create_flow_task()) { if (from._internal_has_create_flow()) {
_this->_impl_.create_flow_task_ = new ::greptime::v1::CreateFlowTaskExpr(*from._impl_.create_flow_task_); _this->_impl_.create_flow_ = new ::greptime::v1::CreateFlowExpr(*from._impl_.create_flow_);
} }
// @@protoc_insertion_point(copy_constructor:greptime.v1.meta.CreateFlowTask) // @@protoc_insertion_point(copy_constructor:greptime.v1.meta.CreateFlowTask)
} }
@@ -2315,7 +2315,7 @@ inline void CreateFlowTask::SharedCtor(
(void)arena; (void)arena;
(void)is_message_owned; (void)is_message_owned;
new (&_impl_) Impl_{ new (&_impl_) Impl_{
decltype(_impl_.create_flow_task_){nullptr} decltype(_impl_.create_flow_){nullptr}
, /*decltype(_impl_._cached_size_)*/{} , /*decltype(_impl_._cached_size_)*/{}
}; };
} }
@@ -2331,7 +2331,7 @@ CreateFlowTask::~CreateFlowTask() {
inline void CreateFlowTask::SharedDtor() { inline void CreateFlowTask::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
if (this != internal_default_instance()) delete _impl_.create_flow_task_; if (this != internal_default_instance()) delete _impl_.create_flow_;
} }
void CreateFlowTask::SetCachedSize(int size) const { void CreateFlowTask::SetCachedSize(int size) const {
@@ -2344,10 +2344,10 @@ void CreateFlowTask::Clear() {
// Prevent compiler warnings about cached_has_bits being unused // Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits; (void) cached_has_bits;
if (GetArenaForAllocation() == nullptr && _impl_.create_flow_task_ != nullptr) { if (GetArenaForAllocation() == nullptr && _impl_.create_flow_ != nullptr) {
delete _impl_.create_flow_task_; delete _impl_.create_flow_;
} }
_impl_.create_flow_task_ = nullptr; _impl_.create_flow_ = nullptr;
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
} }
@@ -2357,10 +2357,10 @@ const char* CreateFlowTask::_InternalParse(const char* ptr, ::_pbi::ParseContext
uint32_t tag; uint32_t tag;
ptr = ::_pbi::ReadTag(ptr, &tag); ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) { switch (tag >> 3) {
// .greptime.v1.CreateFlowTaskExpr create_flow_task = 1; // .greptime.v1.CreateFlowExpr create_flow = 1;
case 1: case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
ptr = ctx->ParseMessage(_internal_mutable_create_flow_task(), ptr); ptr = ctx->ParseMessage(_internal_mutable_create_flow(), ptr);
CHK_(ptr); CHK_(ptr);
} else } else
goto handle_unusual; goto handle_unusual;
@@ -2394,11 +2394,11 @@ uint8_t* CreateFlowTask::_InternalSerialize(
uint32_t cached_has_bits = 0; uint32_t cached_has_bits = 0;
(void) cached_has_bits; (void) cached_has_bits;
// .greptime.v1.CreateFlowTaskExpr create_flow_task = 1; // .greptime.v1.CreateFlowExpr create_flow = 1;
if (this->_internal_has_create_flow_task()) { if (this->_internal_has_create_flow()) {
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
InternalWriteMessage(1, _Internal::create_flow_task(this), InternalWriteMessage(1, _Internal::create_flow(this),
_Internal::create_flow_task(this).GetCachedSize(), target, stream); _Internal::create_flow(this).GetCachedSize(), target, stream);
} }
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
@@ -2417,11 +2417,11 @@ size_t CreateFlowTask::ByteSizeLong() const {
// Prevent compiler warnings about cached_has_bits being unused // Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits; (void) cached_has_bits;
// .greptime.v1.CreateFlowTaskExpr create_flow_task = 1; // .greptime.v1.CreateFlowExpr create_flow = 1;
if (this->_internal_has_create_flow_task()) { if (this->_internal_has_create_flow()) {
total_size += 1 + total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
*_impl_.create_flow_task_); *_impl_.create_flow_);
} }
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
@@ -2442,9 +2442,9 @@ void CreateFlowTask::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const :
uint32_t cached_has_bits = 0; uint32_t cached_has_bits = 0;
(void) cached_has_bits; (void) cached_has_bits;
if (from._internal_has_create_flow_task()) { if (from._internal_has_create_flow()) {
_this->_internal_mutable_create_flow_task()->::greptime::v1::CreateFlowTaskExpr::MergeFrom( _this->_internal_mutable_create_flow()->::greptime::v1::CreateFlowExpr::MergeFrom(
from._internal_create_flow_task()); from._internal_create_flow());
} }
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
} }
@@ -2463,7 +2463,7 @@ bool CreateFlowTask::IsInitialized() const {
void CreateFlowTask::InternalSwap(CreateFlowTask* other) { void CreateFlowTask::InternalSwap(CreateFlowTask* other) {
using std::swap; using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_); _internal_metadata_.InternalSwap(&other->_internal_metadata_);
swap(_impl_.create_flow_task_, other->_impl_.create_flow_task_); swap(_impl_.create_flow_, other->_impl_.create_flow_);
} }
::PROTOBUF_NAMESPACE_ID::Metadata CreateFlowTask::GetMetadata() const { ::PROTOBUF_NAMESPACE_ID::Metadata CreateFlowTask::GetMetadata() const {
@@ -2476,18 +2476,18 @@ void CreateFlowTask::InternalSwap(CreateFlowTask* other) {
class DropFlowTask::_Internal { class DropFlowTask::_Internal {
public: public:
static const ::greptime::v1::DropFlowTaskExpr& drop_flow_task(const DropFlowTask* msg); static const ::greptime::v1::DropFlowExpr& drop_flow(const DropFlowTask* msg);
}; };
const ::greptime::v1::DropFlowTaskExpr& const ::greptime::v1::DropFlowExpr&
DropFlowTask::_Internal::drop_flow_task(const DropFlowTask* msg) { DropFlowTask::_Internal::drop_flow(const DropFlowTask* msg) {
return *msg->_impl_.drop_flow_task_; return *msg->_impl_.drop_flow_;
} }
void DropFlowTask::clear_drop_flow_task() { void DropFlowTask::clear_drop_flow() {
if (GetArenaForAllocation() == nullptr && _impl_.drop_flow_task_ != nullptr) { if (GetArenaForAllocation() == nullptr && _impl_.drop_flow_ != nullptr) {
delete _impl_.drop_flow_task_; delete _impl_.drop_flow_;
} }
_impl_.drop_flow_task_ = nullptr; _impl_.drop_flow_ = nullptr;
} }
DropFlowTask::DropFlowTask(::PROTOBUF_NAMESPACE_ID::Arena* arena, DropFlowTask::DropFlowTask(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned) bool is_message_owned)
@@ -2499,12 +2499,12 @@ DropFlowTask::DropFlowTask(const DropFlowTask& from)
: ::PROTOBUF_NAMESPACE_ID::Message() { : ::PROTOBUF_NAMESPACE_ID::Message() {
DropFlowTask* const _this = this; (void)_this; DropFlowTask* const _this = this; (void)_this;
new (&_impl_) Impl_{ new (&_impl_) Impl_{
decltype(_impl_.drop_flow_task_){nullptr} decltype(_impl_.drop_flow_){nullptr}
, /*decltype(_impl_._cached_size_)*/{}}; , /*decltype(_impl_._cached_size_)*/{}};
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
if (from._internal_has_drop_flow_task()) { if (from._internal_has_drop_flow()) {
_this->_impl_.drop_flow_task_ = new ::greptime::v1::DropFlowTaskExpr(*from._impl_.drop_flow_task_); _this->_impl_.drop_flow_ = new ::greptime::v1::DropFlowExpr(*from._impl_.drop_flow_);
} }
// @@protoc_insertion_point(copy_constructor:greptime.v1.meta.DropFlowTask) // @@protoc_insertion_point(copy_constructor:greptime.v1.meta.DropFlowTask)
} }
@@ -2514,7 +2514,7 @@ inline void DropFlowTask::SharedCtor(
(void)arena; (void)arena;
(void)is_message_owned; (void)is_message_owned;
new (&_impl_) Impl_{ new (&_impl_) Impl_{
decltype(_impl_.drop_flow_task_){nullptr} decltype(_impl_.drop_flow_){nullptr}
, /*decltype(_impl_._cached_size_)*/{} , /*decltype(_impl_._cached_size_)*/{}
}; };
} }
@@ -2530,7 +2530,7 @@ DropFlowTask::~DropFlowTask() {
inline void DropFlowTask::SharedDtor() { inline void DropFlowTask::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
if (this != internal_default_instance()) delete _impl_.drop_flow_task_; if (this != internal_default_instance()) delete _impl_.drop_flow_;
} }
void DropFlowTask::SetCachedSize(int size) const { void DropFlowTask::SetCachedSize(int size) const {
@@ -2543,10 +2543,10 @@ void DropFlowTask::Clear() {
// Prevent compiler warnings about cached_has_bits being unused // Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits; (void) cached_has_bits;
if (GetArenaForAllocation() == nullptr && _impl_.drop_flow_task_ != nullptr) { if (GetArenaForAllocation() == nullptr && _impl_.drop_flow_ != nullptr) {
delete _impl_.drop_flow_task_; delete _impl_.drop_flow_;
} }
_impl_.drop_flow_task_ = nullptr; _impl_.drop_flow_ = nullptr;
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
} }
@@ -2556,10 +2556,10 @@ const char* DropFlowTask::_InternalParse(const char* ptr, ::_pbi::ParseContext*
uint32_t tag; uint32_t tag;
ptr = ::_pbi::ReadTag(ptr, &tag); ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) { switch (tag >> 3) {
// .greptime.v1.DropFlowTaskExpr drop_flow_task = 1; // .greptime.v1.DropFlowExpr drop_flow = 1;
case 1: case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
ptr = ctx->ParseMessage(_internal_mutable_drop_flow_task(), ptr); ptr = ctx->ParseMessage(_internal_mutable_drop_flow(), ptr);
CHK_(ptr); CHK_(ptr);
} else } else
goto handle_unusual; goto handle_unusual;
@@ -2593,11 +2593,11 @@ uint8_t* DropFlowTask::_InternalSerialize(
uint32_t cached_has_bits = 0; uint32_t cached_has_bits = 0;
(void) cached_has_bits; (void) cached_has_bits;
// .greptime.v1.DropFlowTaskExpr drop_flow_task = 1; // .greptime.v1.DropFlowExpr drop_flow = 1;
if (this->_internal_has_drop_flow_task()) { if (this->_internal_has_drop_flow()) {
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
InternalWriteMessage(1, _Internal::drop_flow_task(this), InternalWriteMessage(1, _Internal::drop_flow(this),
_Internal::drop_flow_task(this).GetCachedSize(), target, stream); _Internal::drop_flow(this).GetCachedSize(), target, stream);
} }
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
@@ -2616,11 +2616,11 @@ size_t DropFlowTask::ByteSizeLong() const {
// Prevent compiler warnings about cached_has_bits being unused // Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits; (void) cached_has_bits;
// .greptime.v1.DropFlowTaskExpr drop_flow_task = 1; // .greptime.v1.DropFlowExpr drop_flow = 1;
if (this->_internal_has_drop_flow_task()) { if (this->_internal_has_drop_flow()) {
total_size += 1 + total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
*_impl_.drop_flow_task_); *_impl_.drop_flow_);
} }
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
@@ -2641,9 +2641,9 @@ void DropFlowTask::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::P
uint32_t cached_has_bits = 0; uint32_t cached_has_bits = 0;
(void) cached_has_bits; (void) cached_has_bits;
if (from._internal_has_drop_flow_task()) { if (from._internal_has_drop_flow()) {
_this->_internal_mutable_drop_flow_task()->::greptime::v1::DropFlowTaskExpr::MergeFrom( _this->_internal_mutable_drop_flow()->::greptime::v1::DropFlowExpr::MergeFrom(
from._internal_drop_flow_task()); from._internal_drop_flow());
} }
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
} }
@@ -2662,7 +2662,7 @@ bool DropFlowTask::IsInitialized() const {
void DropFlowTask::InternalSwap(DropFlowTask* other) { void DropFlowTask::InternalSwap(DropFlowTask* other) {
using std::swap; using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_); _internal_metadata_.InternalSwap(&other->_internal_metadata_);
swap(_impl_.drop_flow_task_, other->_impl_.drop_flow_task_); swap(_impl_.drop_flow_, other->_impl_.drop_flow_);
} }
::PROTOBUF_NAMESPACE_ID::Metadata DropFlowTask::GetMetadata() const { ::PROTOBUF_NAMESPACE_ID::Metadata DropFlowTask::GetMetadata() const {
+112 -112
View File
@@ -1709,25 +1709,25 @@ class CreateFlowTask final :
// accessors ------------------------------------------------------- // accessors -------------------------------------------------------
enum : int { enum : int {
kCreateFlowTaskFieldNumber = 1, kCreateFlowFieldNumber = 1,
}; };
// .greptime.v1.CreateFlowTaskExpr create_flow_task = 1; // .greptime.v1.CreateFlowExpr create_flow = 1;
bool has_create_flow_task() const; bool has_create_flow() const;
private: private:
bool _internal_has_create_flow_task() const; bool _internal_has_create_flow() const;
public: public:
void clear_create_flow_task(); void clear_create_flow();
const ::greptime::v1::CreateFlowTaskExpr& create_flow_task() const; const ::greptime::v1::CreateFlowExpr& create_flow() const;
PROTOBUF_NODISCARD ::greptime::v1::CreateFlowTaskExpr* release_create_flow_task(); PROTOBUF_NODISCARD ::greptime::v1::CreateFlowExpr* release_create_flow();
::greptime::v1::CreateFlowTaskExpr* mutable_create_flow_task(); ::greptime::v1::CreateFlowExpr* mutable_create_flow();
void set_allocated_create_flow_task(::greptime::v1::CreateFlowTaskExpr* create_flow_task); void set_allocated_create_flow(::greptime::v1::CreateFlowExpr* create_flow);
private: private:
const ::greptime::v1::CreateFlowTaskExpr& _internal_create_flow_task() const; const ::greptime::v1::CreateFlowExpr& _internal_create_flow() const;
::greptime::v1::CreateFlowTaskExpr* _internal_mutable_create_flow_task(); ::greptime::v1::CreateFlowExpr* _internal_mutable_create_flow();
public: public:
void unsafe_arena_set_allocated_create_flow_task( void unsafe_arena_set_allocated_create_flow(
::greptime::v1::CreateFlowTaskExpr* create_flow_task); ::greptime::v1::CreateFlowExpr* create_flow);
::greptime::v1::CreateFlowTaskExpr* unsafe_arena_release_create_flow_task(); ::greptime::v1::CreateFlowExpr* unsafe_arena_release_create_flow();
// @@protoc_insertion_point(class_scope:greptime.v1.meta.CreateFlowTask) // @@protoc_insertion_point(class_scope:greptime.v1.meta.CreateFlowTask)
private: private:
@@ -1737,7 +1737,7 @@ class CreateFlowTask final :
typedef void InternalArenaConstructable_; typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_; typedef void DestructorSkippable_;
struct Impl_ { struct Impl_ {
::greptime::v1::CreateFlowTaskExpr* create_flow_task_; ::greptime::v1::CreateFlowExpr* create_flow_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
}; };
union { Impl_ _impl_; }; union { Impl_ _impl_; };
@@ -1866,25 +1866,25 @@ class DropFlowTask final :
// accessors ------------------------------------------------------- // accessors -------------------------------------------------------
enum : int { enum : int {
kDropFlowTaskFieldNumber = 1, kDropFlowFieldNumber = 1,
}; };
// .greptime.v1.DropFlowTaskExpr drop_flow_task = 1; // .greptime.v1.DropFlowExpr drop_flow = 1;
bool has_drop_flow_task() const; bool has_drop_flow() const;
private: private:
bool _internal_has_drop_flow_task() const; bool _internal_has_drop_flow() const;
public: public:
void clear_drop_flow_task(); void clear_drop_flow();
const ::greptime::v1::DropFlowTaskExpr& drop_flow_task() const; const ::greptime::v1::DropFlowExpr& drop_flow() const;
PROTOBUF_NODISCARD ::greptime::v1::DropFlowTaskExpr* release_drop_flow_task(); PROTOBUF_NODISCARD ::greptime::v1::DropFlowExpr* release_drop_flow();
::greptime::v1::DropFlowTaskExpr* mutable_drop_flow_task(); ::greptime::v1::DropFlowExpr* mutable_drop_flow();
void set_allocated_drop_flow_task(::greptime::v1::DropFlowTaskExpr* drop_flow_task); void set_allocated_drop_flow(::greptime::v1::DropFlowExpr* drop_flow);
private: private:
const ::greptime::v1::DropFlowTaskExpr& _internal_drop_flow_task() const; const ::greptime::v1::DropFlowExpr& _internal_drop_flow() const;
::greptime::v1::DropFlowTaskExpr* _internal_mutable_drop_flow_task(); ::greptime::v1::DropFlowExpr* _internal_mutable_drop_flow();
public: public:
void unsafe_arena_set_allocated_drop_flow_task( void unsafe_arena_set_allocated_drop_flow(
::greptime::v1::DropFlowTaskExpr* drop_flow_task); ::greptime::v1::DropFlowExpr* drop_flow);
::greptime::v1::DropFlowTaskExpr* unsafe_arena_release_drop_flow_task(); ::greptime::v1::DropFlowExpr* unsafe_arena_release_drop_flow();
// @@protoc_insertion_point(class_scope:greptime.v1.meta.DropFlowTask) // @@protoc_insertion_point(class_scope:greptime.v1.meta.DropFlowTask)
private: private:
@@ -1894,7 +1894,7 @@ class DropFlowTask final :
typedef void InternalArenaConstructable_; typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_; typedef void DestructorSkippable_;
struct Impl_ { struct Impl_ {
::greptime::v1::DropFlowTaskExpr* drop_flow_task_; ::greptime::v1::DropFlowExpr* drop_flow_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
}; };
union { Impl_ _impl_; }; union { Impl_ _impl_; };
@@ -3295,39 +3295,39 @@ inline void DropDatabaseTask::set_allocated_drop_database(::greptime::v1::DropDa
// CreateFlowTask // CreateFlowTask
// .greptime.v1.CreateFlowTaskExpr create_flow_task = 1; // .greptime.v1.CreateFlowExpr create_flow = 1;
inline bool CreateFlowTask::_internal_has_create_flow_task() const { inline bool CreateFlowTask::_internal_has_create_flow() const {
return this != internal_default_instance() && _impl_.create_flow_task_ != nullptr; return this != internal_default_instance() && _impl_.create_flow_ != nullptr;
} }
inline bool CreateFlowTask::has_create_flow_task() const { inline bool CreateFlowTask::has_create_flow() const {
return _internal_has_create_flow_task(); return _internal_has_create_flow();
} }
inline const ::greptime::v1::CreateFlowTaskExpr& CreateFlowTask::_internal_create_flow_task() const { inline const ::greptime::v1::CreateFlowExpr& CreateFlowTask::_internal_create_flow() const {
const ::greptime::v1::CreateFlowTaskExpr* p = _impl_.create_flow_task_; const ::greptime::v1::CreateFlowExpr* p = _impl_.create_flow_;
return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::CreateFlowTaskExpr&>( return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::CreateFlowExpr&>(
::greptime::v1::_CreateFlowTaskExpr_default_instance_); ::greptime::v1::_CreateFlowExpr_default_instance_);
} }
inline const ::greptime::v1::CreateFlowTaskExpr& CreateFlowTask::create_flow_task() const { inline const ::greptime::v1::CreateFlowExpr& CreateFlowTask::create_flow() const {
// @@protoc_insertion_point(field_get:greptime.v1.meta.CreateFlowTask.create_flow_task) // @@protoc_insertion_point(field_get:greptime.v1.meta.CreateFlowTask.create_flow)
return _internal_create_flow_task(); return _internal_create_flow();
} }
inline void CreateFlowTask::unsafe_arena_set_allocated_create_flow_task( inline void CreateFlowTask::unsafe_arena_set_allocated_create_flow(
::greptime::v1::CreateFlowTaskExpr* create_flow_task) { ::greptime::v1::CreateFlowExpr* create_flow) {
if (GetArenaForAllocation() == nullptr) { if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.create_flow_task_); delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.create_flow_);
} }
_impl_.create_flow_task_ = create_flow_task; _impl_.create_flow_ = create_flow;
if (create_flow_task) { if (create_flow) {
} else { } else {
} }
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.meta.CreateFlowTask.create_flow_task) // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.meta.CreateFlowTask.create_flow)
} }
inline ::greptime::v1::CreateFlowTaskExpr* CreateFlowTask::release_create_flow_task() { inline ::greptime::v1::CreateFlowExpr* CreateFlowTask::release_create_flow() {
::greptime::v1::CreateFlowTaskExpr* temp = _impl_.create_flow_task_; ::greptime::v1::CreateFlowExpr* temp = _impl_.create_flow_;
_impl_.create_flow_task_ = nullptr; _impl_.create_flow_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -3339,84 +3339,84 @@ inline ::greptime::v1::CreateFlowTaskExpr* CreateFlowTask::release_create_flow_t
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp; return temp;
} }
inline ::greptime::v1::CreateFlowTaskExpr* CreateFlowTask::unsafe_arena_release_create_flow_task() { inline ::greptime::v1::CreateFlowExpr* CreateFlowTask::unsafe_arena_release_create_flow() {
// @@protoc_insertion_point(field_release:greptime.v1.meta.CreateFlowTask.create_flow_task) // @@protoc_insertion_point(field_release:greptime.v1.meta.CreateFlowTask.create_flow)
::greptime::v1::CreateFlowTaskExpr* temp = _impl_.create_flow_task_; ::greptime::v1::CreateFlowExpr* temp = _impl_.create_flow_;
_impl_.create_flow_task_ = nullptr; _impl_.create_flow_ = nullptr;
return temp; return temp;
} }
inline ::greptime::v1::CreateFlowTaskExpr* CreateFlowTask::_internal_mutable_create_flow_task() { inline ::greptime::v1::CreateFlowExpr* CreateFlowTask::_internal_mutable_create_flow() {
if (_impl_.create_flow_task_ == nullptr) { if (_impl_.create_flow_ == nullptr) {
auto* p = CreateMaybeMessage<::greptime::v1::CreateFlowTaskExpr>(GetArenaForAllocation()); auto* p = CreateMaybeMessage<::greptime::v1::CreateFlowExpr>(GetArenaForAllocation());
_impl_.create_flow_task_ = p; _impl_.create_flow_ = p;
} }
return _impl_.create_flow_task_; return _impl_.create_flow_;
} }
inline ::greptime::v1::CreateFlowTaskExpr* CreateFlowTask::mutable_create_flow_task() { inline ::greptime::v1::CreateFlowExpr* CreateFlowTask::mutable_create_flow() {
::greptime::v1::CreateFlowTaskExpr* _msg = _internal_mutable_create_flow_task(); ::greptime::v1::CreateFlowExpr* _msg = _internal_mutable_create_flow();
// @@protoc_insertion_point(field_mutable:greptime.v1.meta.CreateFlowTask.create_flow_task) // @@protoc_insertion_point(field_mutable:greptime.v1.meta.CreateFlowTask.create_flow)
return _msg; return _msg;
} }
inline void CreateFlowTask::set_allocated_create_flow_task(::greptime::v1::CreateFlowTaskExpr* create_flow_task) { inline void CreateFlowTask::set_allocated_create_flow(::greptime::v1::CreateFlowExpr* create_flow) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) { if (message_arena == nullptr) {
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.create_flow_task_); delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.create_flow_);
} }
if (create_flow_task) { if (create_flow) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(create_flow_task)); reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(create_flow));
if (message_arena != submessage_arena) { if (message_arena != submessage_arena) {
create_flow_task = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( create_flow = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, create_flow_task, submessage_arena); message_arena, create_flow, submessage_arena);
} }
} else { } else {
} }
_impl_.create_flow_task_ = create_flow_task; _impl_.create_flow_ = create_flow;
// @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.CreateFlowTask.create_flow_task) // @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.CreateFlowTask.create_flow)
} }
// ------------------------------------------------------------------- // -------------------------------------------------------------------
// DropFlowTask // DropFlowTask
// .greptime.v1.DropFlowTaskExpr drop_flow_task = 1; // .greptime.v1.DropFlowExpr drop_flow = 1;
inline bool DropFlowTask::_internal_has_drop_flow_task() const { inline bool DropFlowTask::_internal_has_drop_flow() const {
return this != internal_default_instance() && _impl_.drop_flow_task_ != nullptr; return this != internal_default_instance() && _impl_.drop_flow_ != nullptr;
} }
inline bool DropFlowTask::has_drop_flow_task() const { inline bool DropFlowTask::has_drop_flow() const {
return _internal_has_drop_flow_task(); return _internal_has_drop_flow();
} }
inline const ::greptime::v1::DropFlowTaskExpr& DropFlowTask::_internal_drop_flow_task() const { inline const ::greptime::v1::DropFlowExpr& DropFlowTask::_internal_drop_flow() const {
const ::greptime::v1::DropFlowTaskExpr* p = _impl_.drop_flow_task_; const ::greptime::v1::DropFlowExpr* p = _impl_.drop_flow_;
return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::DropFlowTaskExpr&>( return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::DropFlowExpr&>(
::greptime::v1::_DropFlowTaskExpr_default_instance_); ::greptime::v1::_DropFlowExpr_default_instance_);
} }
inline const ::greptime::v1::DropFlowTaskExpr& DropFlowTask::drop_flow_task() const { inline const ::greptime::v1::DropFlowExpr& DropFlowTask::drop_flow() const {
// @@protoc_insertion_point(field_get:greptime.v1.meta.DropFlowTask.drop_flow_task) // @@protoc_insertion_point(field_get:greptime.v1.meta.DropFlowTask.drop_flow)
return _internal_drop_flow_task(); return _internal_drop_flow();
} }
inline void DropFlowTask::unsafe_arena_set_allocated_drop_flow_task( inline void DropFlowTask::unsafe_arena_set_allocated_drop_flow(
::greptime::v1::DropFlowTaskExpr* drop_flow_task) { ::greptime::v1::DropFlowExpr* drop_flow) {
if (GetArenaForAllocation() == nullptr) { if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.drop_flow_task_); delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.drop_flow_);
} }
_impl_.drop_flow_task_ = drop_flow_task; _impl_.drop_flow_ = drop_flow;
if (drop_flow_task) { if (drop_flow) {
} else { } else {
} }
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.meta.DropFlowTask.drop_flow_task) // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.meta.DropFlowTask.drop_flow)
} }
inline ::greptime::v1::DropFlowTaskExpr* DropFlowTask::release_drop_flow_task() { inline ::greptime::v1::DropFlowExpr* DropFlowTask::release_drop_flow() {
::greptime::v1::DropFlowTaskExpr* temp = _impl_.drop_flow_task_; ::greptime::v1::DropFlowExpr* temp = _impl_.drop_flow_;
_impl_.drop_flow_task_ = nullptr; _impl_.drop_flow_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -3428,45 +3428,45 @@ inline ::greptime::v1::DropFlowTaskExpr* DropFlowTask::release_drop_flow_task()
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp; return temp;
} }
inline ::greptime::v1::DropFlowTaskExpr* DropFlowTask::unsafe_arena_release_drop_flow_task() { inline ::greptime::v1::DropFlowExpr* DropFlowTask::unsafe_arena_release_drop_flow() {
// @@protoc_insertion_point(field_release:greptime.v1.meta.DropFlowTask.drop_flow_task) // @@protoc_insertion_point(field_release:greptime.v1.meta.DropFlowTask.drop_flow)
::greptime::v1::DropFlowTaskExpr* temp = _impl_.drop_flow_task_; ::greptime::v1::DropFlowExpr* temp = _impl_.drop_flow_;
_impl_.drop_flow_task_ = nullptr; _impl_.drop_flow_ = nullptr;
return temp; return temp;
} }
inline ::greptime::v1::DropFlowTaskExpr* DropFlowTask::_internal_mutable_drop_flow_task() { inline ::greptime::v1::DropFlowExpr* DropFlowTask::_internal_mutable_drop_flow() {
if (_impl_.drop_flow_task_ == nullptr) { if (_impl_.drop_flow_ == nullptr) {
auto* p = CreateMaybeMessage<::greptime::v1::DropFlowTaskExpr>(GetArenaForAllocation()); auto* p = CreateMaybeMessage<::greptime::v1::DropFlowExpr>(GetArenaForAllocation());
_impl_.drop_flow_task_ = p; _impl_.drop_flow_ = p;
} }
return _impl_.drop_flow_task_; return _impl_.drop_flow_;
} }
inline ::greptime::v1::DropFlowTaskExpr* DropFlowTask::mutable_drop_flow_task() { inline ::greptime::v1::DropFlowExpr* DropFlowTask::mutable_drop_flow() {
::greptime::v1::DropFlowTaskExpr* _msg = _internal_mutable_drop_flow_task(); ::greptime::v1::DropFlowExpr* _msg = _internal_mutable_drop_flow();
// @@protoc_insertion_point(field_mutable:greptime.v1.meta.DropFlowTask.drop_flow_task) // @@protoc_insertion_point(field_mutable:greptime.v1.meta.DropFlowTask.drop_flow)
return _msg; return _msg;
} }
inline void DropFlowTask::set_allocated_drop_flow_task(::greptime::v1::DropFlowTaskExpr* drop_flow_task) { inline void DropFlowTask::set_allocated_drop_flow(::greptime::v1::DropFlowExpr* drop_flow) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) { if (message_arena == nullptr) {
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.drop_flow_task_); delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.drop_flow_);
} }
if (drop_flow_task) { if (drop_flow) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(drop_flow_task)); reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(drop_flow));
if (message_arena != submessage_arena) { if (message_arena != submessage_arena) {
drop_flow_task = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( drop_flow = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, drop_flow_task, submessage_arena); message_arena, drop_flow, submessage_arena);
} }
} else { } else {
} }
_impl_.drop_flow_task_ = drop_flow_task; _impl_.drop_flow_ = drop_flow;
// @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.DropFlowTask.drop_flow_task) // @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.DropFlowTask.drop_flow)
} }
// ------------------------------------------------------------------- // -------------------------------------------------------------------
+291 -294
View File
@@ -96,8 +96,8 @@ type DdlRequest struct {
// *DdlRequest_Alter // *DdlRequest_Alter
// *DdlRequest_DropTable // *DdlRequest_DropTable
// *DdlRequest_TruncateTable // *DdlRequest_TruncateTable
// *DdlRequest_CreateFlowTask // *DdlRequest_CreateFlow
// *DdlRequest_DropFlowTask // *DdlRequest_DropFlow
Expr isDdlRequest_Expr `protobuf_oneof:"expr"` Expr isDdlRequest_Expr `protobuf_oneof:"expr"`
} }
@@ -175,16 +175,16 @@ func (x *DdlRequest) GetTruncateTable() *TruncateTableExpr {
return nil return nil
} }
func (x *DdlRequest) GetCreateFlowTask() *CreateFlowTaskExpr { func (x *DdlRequest) GetCreateFlow() *CreateFlowExpr {
if x, ok := x.GetExpr().(*DdlRequest_CreateFlowTask); ok { if x, ok := x.GetExpr().(*DdlRequest_CreateFlow); ok {
return x.CreateFlowTask return x.CreateFlow
} }
return nil return nil
} }
func (x *DdlRequest) GetDropFlowTask() *DropFlowTaskExpr { func (x *DdlRequest) GetDropFlow() *DropFlowExpr {
if x, ok := x.GetExpr().(*DdlRequest_DropFlowTask); ok { if x, ok := x.GetExpr().(*DdlRequest_DropFlow); ok {
return x.DropFlowTask return x.DropFlow
} }
return nil return nil
} }
@@ -213,12 +213,12 @@ type DdlRequest_TruncateTable struct {
TruncateTable *TruncateTableExpr `protobuf:"bytes,7,opt,name=truncate_table,json=truncateTable,proto3,oneof"` TruncateTable *TruncateTableExpr `protobuf:"bytes,7,opt,name=truncate_table,json=truncateTable,proto3,oneof"`
} }
type DdlRequest_CreateFlowTask struct { type DdlRequest_CreateFlow struct {
CreateFlowTask *CreateFlowTaskExpr `protobuf:"bytes,8,opt,name=create_flow_task,json=createFlowTask,proto3,oneof"` CreateFlow *CreateFlowExpr `protobuf:"bytes,8,opt,name=create_flow,json=createFlow,proto3,oneof"`
} }
type DdlRequest_DropFlowTask struct { type DdlRequest_DropFlow struct {
DropFlowTask *DropFlowTaskExpr `protobuf:"bytes,9,opt,name=drop_flow_task,json=dropFlowTask,proto3,oneof"` DropFlow *DropFlowExpr `protobuf:"bytes,9,opt,name=drop_flow,json=dropFlow,proto3,oneof"`
} }
func (*DdlRequest_CreateDatabase) isDdlRequest_Expr() {} func (*DdlRequest_CreateDatabase) isDdlRequest_Expr() {}
@@ -231,18 +231,18 @@ func (*DdlRequest_DropTable) isDdlRequest_Expr() {}
func (*DdlRequest_TruncateTable) isDdlRequest_Expr() {} func (*DdlRequest_TruncateTable) isDdlRequest_Expr() {}
func (*DdlRequest_CreateFlowTask) isDdlRequest_Expr() {} func (*DdlRequest_CreateFlow) isDdlRequest_Expr() {}
func (*DdlRequest_DropFlowTask) isDdlRequest_Expr() {} func (*DdlRequest_DropFlow) isDdlRequest_Expr() {}
// Create a flow task to run the SQL when new data arrives. // Create a flow to run the SQL when new data arrives.
type CreateFlowTaskExpr struct { type CreateFlowExpr struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
CatalogName string `protobuf:"bytes,1,opt,name=catalog_name,json=catalogName,proto3" json:"catalog_name,omitempty"` CatalogName string `protobuf:"bytes,1,opt,name=catalog_name,json=catalogName,proto3" json:"catalog_name,omitempty"`
TaskName string `protobuf:"bytes,2,opt,name=task_name,json=taskName,proto3" json:"task_name,omitempty"` FlowName string `protobuf:"bytes,2,opt,name=flow_name,json=flowName,proto3" json:"flow_name,omitempty"`
SourceTableNames []*TableName `protobuf:"bytes,3,rep,name=source_table_names,json=sourceTableNames,proto3" json:"source_table_names,omitempty"` SourceTableNames []*TableName `protobuf:"bytes,3,rep,name=source_table_names,json=sourceTableNames,proto3" json:"source_table_names,omitempty"`
SinkTableName *TableName `protobuf:"bytes,4,opt,name=sink_table_name,json=sinkTableName,proto3" json:"sink_table_name,omitempty"` SinkTableName *TableName `protobuf:"bytes,4,opt,name=sink_table_name,json=sinkTableName,proto3" json:"sink_table_name,omitempty"`
OrReplace bool `protobuf:"varint,5,opt,name=or_replace,json=orReplace,proto3" json:"or_replace,omitempty"` OrReplace bool `protobuf:"varint,5,opt,name=or_replace,json=orReplace,proto3" json:"or_replace,omitempty"`
@@ -250,11 +250,11 @@ type CreateFlowTaskExpr struct {
ExpireWhen string `protobuf:"bytes,7,opt,name=expire_when,json=expireWhen,proto3" json:"expire_when,omitempty"` ExpireWhen string `protobuf:"bytes,7,opt,name=expire_when,json=expireWhen,proto3" json:"expire_when,omitempty"`
Comment string `protobuf:"bytes,8,opt,name=comment,proto3" json:"comment,omitempty"` Comment string `protobuf:"bytes,8,opt,name=comment,proto3" json:"comment,omitempty"`
Sql string `protobuf:"bytes,9,opt,name=sql,proto3" json:"sql,omitempty"` Sql string `protobuf:"bytes,9,opt,name=sql,proto3" json:"sql,omitempty"`
TaskOptions map[string]string `protobuf:"bytes,10,rep,name=task_options,json=taskOptions,proto3" json:"task_options,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` FlowOptions map[string]string `protobuf:"bytes,10,rep,name=flow_options,json=flowOptions,proto3" json:"flow_options,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
} }
func (x *CreateFlowTaskExpr) Reset() { func (x *CreateFlowExpr) Reset() {
*x = CreateFlowTaskExpr{} *x = CreateFlowExpr{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_greptime_v1_ddl_proto_msgTypes[1] mi := &file_greptime_v1_ddl_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -262,13 +262,13 @@ func (x *CreateFlowTaskExpr) Reset() {
} }
} }
func (x *CreateFlowTaskExpr) String() string { func (x *CreateFlowExpr) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
} }
func (*CreateFlowTaskExpr) ProtoMessage() {} func (*CreateFlowExpr) ProtoMessage() {}
func (x *CreateFlowTaskExpr) ProtoReflect() protoreflect.Message { func (x *CreateFlowExpr) ProtoReflect() protoreflect.Message {
mi := &file_greptime_v1_ddl_proto_msgTypes[1] mi := &file_greptime_v1_ddl_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -280,93 +280,93 @@ func (x *CreateFlowTaskExpr) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x) return mi.MessageOf(x)
} }
// Deprecated: Use CreateFlowTaskExpr.ProtoReflect.Descriptor instead. // Deprecated: Use CreateFlowExpr.ProtoReflect.Descriptor instead.
func (*CreateFlowTaskExpr) Descriptor() ([]byte, []int) { func (*CreateFlowExpr) Descriptor() ([]byte, []int) {
return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{1} return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{1}
} }
func (x *CreateFlowTaskExpr) GetCatalogName() string { func (x *CreateFlowExpr) GetCatalogName() string {
if x != nil { if x != nil {
return x.CatalogName return x.CatalogName
} }
return "" return ""
} }
func (x *CreateFlowTaskExpr) GetTaskName() string { func (x *CreateFlowExpr) GetFlowName() string {
if x != nil { if x != nil {
return x.TaskName return x.FlowName
} }
return "" return ""
} }
func (x *CreateFlowTaskExpr) GetSourceTableNames() []*TableName { func (x *CreateFlowExpr) GetSourceTableNames() []*TableName {
if x != nil { if x != nil {
return x.SourceTableNames return x.SourceTableNames
} }
return nil return nil
} }
func (x *CreateFlowTaskExpr) GetSinkTableName() *TableName { func (x *CreateFlowExpr) GetSinkTableName() *TableName {
if x != nil { if x != nil {
return x.SinkTableName return x.SinkTableName
} }
return nil return nil
} }
func (x *CreateFlowTaskExpr) GetOrReplace() bool { func (x *CreateFlowExpr) GetOrReplace() bool {
if x != nil { if x != nil {
return x.OrReplace return x.OrReplace
} }
return false return false
} }
func (x *CreateFlowTaskExpr) GetCreateIfNotExists() bool { func (x *CreateFlowExpr) GetCreateIfNotExists() bool {
if x != nil { if x != nil {
return x.CreateIfNotExists return x.CreateIfNotExists
} }
return false return false
} }
func (x *CreateFlowTaskExpr) GetExpireWhen() string { func (x *CreateFlowExpr) GetExpireWhen() string {
if x != nil { if x != nil {
return x.ExpireWhen return x.ExpireWhen
} }
return "" return ""
} }
func (x *CreateFlowTaskExpr) GetComment() string { func (x *CreateFlowExpr) GetComment() string {
if x != nil { if x != nil {
return x.Comment return x.Comment
} }
return "" return ""
} }
func (x *CreateFlowTaskExpr) GetSql() string { func (x *CreateFlowExpr) GetSql() string {
if x != nil { if x != nil {
return x.Sql return x.Sql
} }
return "" return ""
} }
func (x *CreateFlowTaskExpr) GetTaskOptions() map[string]string { func (x *CreateFlowExpr) GetFlowOptions() map[string]string {
if x != nil { if x != nil {
return x.TaskOptions return x.FlowOptions
} }
return nil return nil
} }
// Remove a flow task. // Drop a flow.
type DropFlowTaskExpr struct { type DropFlowExpr struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
CatalogName string `protobuf:"bytes,1,opt,name=catalog_name,json=catalogName,proto3" json:"catalog_name,omitempty"` CatalogName string `protobuf:"bytes,1,opt,name=catalog_name,json=catalogName,proto3" json:"catalog_name,omitempty"`
TaskName string `protobuf:"bytes,2,opt,name=task_name,json=taskName,proto3" json:"task_name,omitempty"` FlowName string `protobuf:"bytes,2,opt,name=flow_name,json=flowName,proto3" json:"flow_name,omitempty"`
} }
func (x *DropFlowTaskExpr) Reset() { func (x *DropFlowExpr) Reset() {
*x = DropFlowTaskExpr{} *x = DropFlowExpr{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_greptime_v1_ddl_proto_msgTypes[2] mi := &file_greptime_v1_ddl_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -374,13 +374,13 @@ func (x *DropFlowTaskExpr) Reset() {
} }
} }
func (x *DropFlowTaskExpr) String() string { func (x *DropFlowExpr) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
} }
func (*DropFlowTaskExpr) ProtoMessage() {} func (*DropFlowExpr) ProtoMessage() {}
func (x *DropFlowTaskExpr) ProtoReflect() protoreflect.Message { func (x *DropFlowExpr) ProtoReflect() protoreflect.Message {
mi := &file_greptime_v1_ddl_proto_msgTypes[2] mi := &file_greptime_v1_ddl_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -392,21 +392,21 @@ func (x *DropFlowTaskExpr) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x) return mi.MessageOf(x)
} }
// Deprecated: Use DropFlowTaskExpr.ProtoReflect.Descriptor instead. // Deprecated: Use DropFlowExpr.ProtoReflect.Descriptor instead.
func (*DropFlowTaskExpr) Descriptor() ([]byte, []int) { func (*DropFlowExpr) Descriptor() ([]byte, []int) {
return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{2} return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{2}
} }
func (x *DropFlowTaskExpr) GetCatalogName() string { func (x *DropFlowExpr) GetCatalogName() string {
if x != nil { if x != nil {
return x.CatalogName return x.CatalogName
} }
return "" return ""
} }
func (x *DropFlowTaskExpr) GetTaskName() string { func (x *DropFlowExpr) GetFlowName() string {
if x != nil { if x != nil {
return x.TaskName return x.FlowName
} }
return "" return ""
} }
@@ -1512,7 +1512,7 @@ var file_greptime_v1_ddl_proto_rawDesc = []byte{
0x0a, 0x15, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x64, 0x0a, 0x15, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x64,
0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
0x65, 0x2e, 0x76, 0x31, 0x1a, 0x18, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x18, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76,
0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xed, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd3,
0x03, 0x0a, 0x0a, 0x44, 0x64, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x03, 0x0a, 0x0a, 0x44, 0x64, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a,
0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
@@ -1534,243 +1534,240 @@ var file_greptime_v1_ddl_proto_rawDesc = []byte{
0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e,
0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x78, 0x70, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x78, 0x70,
0x72, 0x48, 0x00, 0x52, 0x0d, 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x72, 0x48, 0x00, 0x52, 0x0d, 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62,
0x6c, 0x65, 0x12, 0x4b, 0x0a, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x66, 0x6c, 0x6f, 0x6c, 0x65, 0x12, 0x3e, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x66, 0x6c, 0x6f,
0x77, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x77, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77,
0x65, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x70, 0x72, 0x48, 0x00, 0x52, 0x45, 0x78, 0x70, 0x72, 0x48, 0x00, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6c,
0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x6f, 0x77, 0x12, 0x38, 0x0a, 0x09, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x66, 0x6c, 0x6f, 0x77, 0x18,
0x45, 0x0a, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x74, 0x61, 0x73, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
0x6b, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x46, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x70, 0x72,
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x48, 0x00, 0x52, 0x08, 0x64, 0x72, 0x6f, 0x70, 0x46, 0x6c, 0x6f, 0x77, 0x42, 0x06, 0x0a, 0x04,
0x73, 0x6b, 0x45, 0x78, 0x70, 0x72, 0x48, 0x00, 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x46, 0x6c, 0x65, 0x78, 0x70, 0x72, 0x22, 0x84, 0x04, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46,
0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x42, 0x06, 0x0a, 0x04, 0x65, 0x78, 0x70, 0x72, 0x22, 0x8c, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c,
0x04, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63,
0x6b, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x6c,
0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x6f, 0x77, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66,
0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x61, 0x73, 0x6b, 0x6c, 0x6f, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x44, 0x0a, 0x12, 0x73, 0x6f, 0x75, 0x72, 0x63,
0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x61, 0x73, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x03, 0x20,
0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x44, 0x0a, 0x12, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76,
0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x10, 0x73, 0x6f, 0x75,
0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x63, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x3e, 0x0a,
0x54, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x10, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x0f, 0x73, 0x69, 0x6e, 0x6b, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x3e, 0x0a, 0x0f, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
0x69, 0x6e, 0x6b, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x0d,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x73, 0x69, 0x6e, 0x6b, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a,
0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x0d, 0x73, 0x69, 0x0a, 0x6f, 0x72, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
0x6e, 0x6b, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x08, 0x52, 0x09, 0x6f, 0x72, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x12, 0x2f, 0x0a, 0x14,
0x72, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x66, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x65, 0x78,
0x09, 0x6f, 0x72, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x12, 0x2f, 0x0a, 0x14, 0x63, 0x72, 0x69, 0x73, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x63, 0x72, 0x65, 0x61,
0x65, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x66, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x65, 0x49, 0x66, 0x4e, 0x6f, 0x74, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x1f, 0x0a,
0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x0b, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x77, 0x68, 0x65, 0x6e, 0x18, 0x07, 0x20, 0x01,
0x49, 0x66, 0x4e, 0x6f, 0x74, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x57, 0x68, 0x65, 0x6e, 0x12, 0x18,
0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x77, 0x68, 0x65, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52,
0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x57, 0x68, 0x65, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x71, 0x6c, 0x18,
0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x71, 0x6c, 0x12, 0x4f, 0x0a, 0x0c, 0x66, 0x6c,
0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x71, 0x6c, 0x18, 0x09, 0x20, 0x6f, 0x77, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b,
0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x71, 0x6c, 0x12, 0x53, 0x0a, 0x0c, 0x74, 0x61, 0x73, 0x6b, 0x32, 0x2c, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43,
0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x70, 0x72, 0x2e, 0x46, 0x6c,
0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x6f, 0x77, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b,
0x61, 0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x70, 0x72, 0x2e, 0x66, 0x6c, 0x6f, 0x77, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x3e, 0x0a, 0x10, 0x46,
0x54, 0x61, 0x73, 0x6b, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x6c, 0x6f, 0x77, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
0x52, 0x0b, 0x74, 0x61, 0x73, 0x6b, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x3e, 0x0a, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
0x10, 0x54, 0x61, 0x73, 0x6b, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x4e, 0x0a, 0x0c, 0x44,
0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x72, 0x6f, 0x70, 0x46, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63,
0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x52, 0x0a, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
0x10, 0x44, 0x72, 0x6f, 0x70, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x70, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b,
0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x0a, 0x09, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x09, 0x52, 0x08, 0x66, 0x6c, 0x6f, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x93, 0x04, 0x0a, 0x0f,
0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x78, 0x70, 0x72, 0x12,
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x4e, 0x61, 0x6d,
0x65, 0x22, 0x93, 0x04, 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c,
0x65, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67,
0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74,
0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65,
0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73,
0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62,
0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74,
0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x65, 0x73, 0x63,
0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x65, 0x73, 0x63, 0x12, 0x37, 0x0a, 0x0b,
0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28,
0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e,
0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d,
0x6e, 0x44, 0x65, 0x66, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x69, 0x6e,
0x64, 0x65, 0x78, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x49,
0x6e, 0x64, 0x65, 0x78, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f,
0x6b, 0x65, 0x79, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x72, 0x69, 0x6d,
0x61, 0x72, 0x79, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x2f, 0x0a, 0x14, 0x63, 0x72, 0x65, 0x61, 0x74,
0x65, 0x5f, 0x69, 0x66, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18,
0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x66, 0x4e,
0x6f, 0x74, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x53, 0x0a, 0x0d, 0x74, 0x61, 0x62, 0x6c,
0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32,
0x2e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72,
0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x78, 0x70, 0x72, 0x2e, 0x54, 0x61,
0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2f, 0x0a,
0x08, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0a, 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, 0x16,
0x0a, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x1a, 0x3f, 0x0a, 0x11, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f,
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61,
0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x82, 0x03, 0x0a, 0x09, 0x41, 0x6c, 0x74, 0x65,
0x72, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67,
0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74,
0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65,
0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73,
0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62,
0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74,
0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x0b, 0x61, 0x64, 0x64, 0x5f,
0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e,
0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x43,
0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x0a, 0x61, 0x64, 0x64, 0x43, 0x6f, 0x6c,
0x75, 0x6d, 0x6e, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x63, 0x6f, 0x6c,
0x75, 0x6d, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x65,
0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c,
0x75, 0x6d, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75,
0x6d, 0x6e, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x72, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x74, 0x61,
0x62, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x65, 0x70,
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x54, 0x61,
0x62, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x0b, 0x72, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x54, 0x61, 0x62,
0x6c, 0x65, 0x12, 0x50, 0x0a, 0x13, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6c,
0x75, 0x6d, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68,
0x61, 0x6e, 0x67, 0x65, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x48,
0x00, 0x52, 0x11, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54,
0x79, 0x70, 0x65, 0x73, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0xc9, 0x01, 0x0a,
0x0d, 0x44, 0x72, 0x6f, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21,
0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d,
0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61,
0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d,
0x65, 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, 0x24, 0x0a, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x69, 0x66, 0x5f, 0x65, 0x78,
0x69, 0x73, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70,
0x49, 0x66, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x22, 0x8d, 0x02, 0x0a, 0x12, 0x43, 0x72, 0x65,
0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x45, 0x78, 0x70, 0x72, 0x12,
0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18,
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61,
0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d,
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e,
0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x14, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x66, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d,
0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61,
0x08, 0x52, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x66, 0x4e, 0x6f, 0x74, 0x45, 0x78, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x65, 0x73, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
0x69, 0x73, 0x74, 0x73, 0x12, 0x46, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x52, 0x04, 0x64, 0x65, 0x73, 0x63, 0x12, 0x37, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e,
0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x64, 0x65, 0x66, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72,
0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,
0x73, 0x65, 0x45, 0x78, 0x70, 0x72, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e,
0x74, 0x72, 0x79, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x3a, 0x0a, 0x0c,
0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03,
0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14,
0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76,
0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xa7, 0x01, 0x0a, 0x11, 0x54, 0x72, 0x75,
0x6e, 0x63, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21,
0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d,
0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61,
0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d,
0x65, 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, 0x22, 0x7c, 0x0a, 0x10, 0x44, 0x72, 0x6f, 0x70, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,
0x73, 0x65, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f,
0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61,
0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68,
0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x64, 0x72,
0x6f, 0x70, 0x5f, 0x69, 0x66, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01,
0x28, 0x08, 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x49, 0x66, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73,
0x22, 0x45, 0x0a, 0x0a, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x37,
0x0a, 0x0b, 0x61, 0x64, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x01, 0x20,
0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76,
0x31, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x0a, 0x61, 0x64, 0x64,
0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22, 0x49, 0x0a, 0x0b, 0x44, 0x72, 0x6f, 0x70, 0x43,
0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x3a, 0x0a, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x63,
0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67,
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x43,
0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x0b, 0x64, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d,
0x6e, 0x73, 0x22, 0x62, 0x0a, 0x11, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x6f, 0x6c, 0x75,
0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x4d, 0x0a, 0x13, 0x63, 0x68, 0x61, 0x6e, 0x67,
0x65, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01,
0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e,
0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54,
0x79, 0x70, 0x65, 0x52, 0x11, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x6f, 0x6c, 0x75, 0x6d,
0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0x33, 0x0a, 0x0b, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65,
0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x6e, 0x65, 0x77, 0x5f, 0x74, 0x61, 0x62,
0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6e,
0x65, 0x77, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x7e, 0x0a, 0x09, 0x41,
0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x35, 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x75,
0x6d, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67,
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d,
0x6e, 0x44, 0x65, 0x66, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x12,
0x3a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e,
0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xcb, 0x01, 0x0a, 0x10,
0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65,
0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18,
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d,
0x65, 0x12, 0x3c, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65,
0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54,
0x79, 0x70, 0x65, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12,
0x58, 0x0a, 0x15, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x65,
0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24,
0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c,
0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e,
0x73, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65,
0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x20, 0x0a, 0x0a, 0x44, 0x72, 0x6f,
0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x19, 0x0a, 0x07, 0x54,
0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x22, 0xd8, 0x02, 0x0a, 0x09, 0x43, 0x6f, 0x6c, 0x75, 0x6d,
0x6e, 0x44, 0x65, 0x66, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61,
0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x67, 0x72,
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e,
0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x54, 0x79, 0x44, 0x65, 0x66, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x73, 0x12,
0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x6e, 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x1d, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x06, 0x20,
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x4e, 0x75, 0x6c, 0x6c, 0x61, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x21,
0x62, 0x6c, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x63, 0x0a, 0x0c, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x07,
0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x4b, 0x65, 0x79,
0x11, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x73, 0x12, 0x2f, 0x0a, 0x14, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x66, 0x5f, 0x6e,
0x6e, 0x74, 0x12, 0x3e, 0x0a, 0x0d, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x5f, 0x74, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52,
0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x66, 0x4e, 0x6f, 0x74, 0x45, 0x78, 0x69, 0x73,
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x74, 0x73, 0x12, 0x53, 0x0a, 0x0d, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69,
0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x54, 0x79, 0x6f, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x72, 0x65, 0x70,
0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61,
0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x53, 0x0a, 0x12, 0x62, 0x6c, 0x65, 0x45, 0x78, 0x70, 0x72, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74,
0x64, 0x61, 0x74, 0x61, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65,
0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2f, 0x0a, 0x08, 0x74, 0x61, 0x62, 0x6c, 0x65,
0x5f, 0x69, 0x64, 0x18, 0x0a, 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, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x67, 0x69,
0x6e, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65,
0x1a, 0x3f, 0x0a, 0x11, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
0x01, 0x22, 0x82, 0x03, 0x0a, 0x09, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x45, 0x78, 0x70, 0x72, 0x12,
0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18,
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61,
0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d,
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e,
0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d,
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61,
0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x0b, 0x61, 0x64, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e,
0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73,
0x48, 0x00, 0x52, 0x0a, 0x61, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x3d,
0x0a, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x05,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e,
0x76, 0x31, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x48, 0x00,
0x52, 0x0b, 0x64, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x3d, 0x0a,
0x0c, 0x72, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x06, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76,
0x31, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x48, 0x00, 0x52,
0x0b, 0x72, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x50, 0x0a, 0x13,
0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x74, 0x79,
0x70, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70,
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x6f,
0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x48, 0x00, 0x52, 0x11, 0x63, 0x68, 0x61,
0x6e, 0x67, 0x65, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x42, 0x06,
0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0xc9, 0x01, 0x0a, 0x0d, 0x44, 0x72, 0x6f, 0x70, 0x54,
0x61, 0x62, 0x6c, 0x65, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61,
0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73,
0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a,
0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 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, 0x24, 0x0a, 0x0e,
0x64, 0x72, 0x6f, 0x70, 0x5f, 0x69, 0x66, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x05,
0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x49, 0x66, 0x45, 0x78, 0x69, 0x73,
0x74, 0x73, 0x22, 0x8d, 0x02, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74,
0x61, 0x62, 0x61, 0x73, 0x65, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74,
0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b,
0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a,
0x14, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x66, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x65,
0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x63, 0x72, 0x65,
0x61, 0x74, 0x65, 0x49, 0x66, 0x4e, 0x6f, 0x74, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x46,
0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32,
0x2c, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72,
0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x45, 0x78, 0x70, 0x72,
0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x6f,
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
0x38, 0x01, 0x22, 0xa7, 0x01, 0x0a, 0x11, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x54,
0x61, 0x62, 0x6c, 0x65, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61,
0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73,
0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a,
0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 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, 0x22, 0x7c, 0x0a, 0x10,
0x44, 0x72, 0x6f, 0x70, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x45, 0x78, 0x70, 0x72,
0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e,
0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61,
0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61,
0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x69, 0x66, 0x5f,
0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x64, 0x72,
0x6f, 0x70, 0x49, 0x66, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x22, 0x45, 0x0a, 0x0a, 0x41, 0x64,
0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x37, 0x0a, 0x0b, 0x61, 0x64, 0x64, 0x5f,
0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e,
0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x43,
0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x0a, 0x61, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e,
0x73, 0x22, 0x49, 0x0a, 0x0b, 0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73,
0x12, 0x3a, 0x0a, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73,
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52,
0x0b, 0x64, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22, 0x62, 0x0a, 0x11,
0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65,
0x73, 0x12, 0x4d, 0x0a, 0x13, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6c, 0x75,
0x6d, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d,
0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61,
0x6e, 0x67, 0x65, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x11, 0x63,
0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73,
0x22, 0x33, 0x0a, 0x0b, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12,
0x24, 0x0a, 0x0e, 0x6e, 0x65, 0x77, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d,
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6e, 0x65, 0x77, 0x54, 0x61, 0x62, 0x6c,
0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x7e, 0x0a, 0x09, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75,
0x6d, 0x6e, 0x12, 0x35, 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x64, 0x65, 0x66,
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x52, 0x09,
0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x12, 0x3a, 0x0a, 0x08, 0x6c, 0x6f, 0x63,
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72,
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c,
0x75, 0x6d, 0x6e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63,
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xcb, 0x01, 0x0a, 0x10, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65,
0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f,
0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3c, 0x0a, 0x0b, 0x74,
0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e,
0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43,
0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x74,
0x61, 0x72, 0x67, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x58, 0x0a, 0x15, 0x74, 0x61, 0x72,
0x67, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74,
0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74,
0x61, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x61, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x13,
0x64, 0x61, 0x74, 0x61, 0x74, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
0x6e, 0x22, 0xb7, 0x01, 0x0a, 0x11, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4c, 0x69, 0x6f, 0x6e, 0x22, 0x20, 0x0a, 0x0a, 0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d,
0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x50, 0x0a, 0x0d, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x19, 0x0a, 0x07, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64,
0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64,
0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4c, 0x22, 0xd8, 0x02, 0x0a, 0x09, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x12, 0x12,
0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x6c, 0x6f, 0x63, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x66, 0x74, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,
0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79,
0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x24, 0x0a, 0x0c, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x70, 0x65, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b,
0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x49, 0x52, 0x53, 0x54, 0x10, 0x00, 0x69, 0x73, 0x5f, 0x6e, 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
0x12, 0x09, 0x0a, 0x05, 0x41, 0x46, 0x54, 0x45, 0x52, 0x10, 0x01, 0x42, 0x4c, 0x0a, 0x0e, 0x69, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x4e, 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x2d, 0x0a,
0x6f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x03, 0x44, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61,
0x64, 0x6c, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x69, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x11, 0x64, 0x65, 0x66, 0x61, 0x75,
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x6c, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x12, 0x3e, 0x0a, 0x0d,
0x74, 0x69, 0x6d, 0x65, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x72, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20,
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76,
0x33, 0x31, 0x2e, 0x53, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c,
0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07,
0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63,
0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x53, 0x0a, 0x12, 0x64, 0x61, 0x74, 0x61, 0x74, 0x79,
0x70, 0x65, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x45,
0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x64, 0x61, 0x74, 0x61, 0x74, 0x79,
0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xb7, 0x01, 0x0a, 0x11,
0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
0x6e, 0x12, 0x50, 0x0a, 0x0d, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79,
0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74,
0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e,
0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54,
0x79, 0x70, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6c,
0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f,
0x61, 0x66, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22,
0x24, 0x0a, 0x0c, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12,
0x09, 0x0a, 0x05, 0x46, 0x49, 0x52, 0x53, 0x54, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x46,
0x54, 0x45, 0x52, 0x10, 0x01, 0x42, 0x4c, 0x0a, 0x0e, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x65, 0x70,
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x03, 0x44, 0x64, 0x6c, 0x5a, 0x35, 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, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
} }
var ( var (
@@ -1790,8 +1787,8 @@ var file_greptime_v1_ddl_proto_msgTypes = make([]protoimpl.MessageInfo, 22)
var file_greptime_v1_ddl_proto_goTypes = []interface{}{ var file_greptime_v1_ddl_proto_goTypes = []interface{}{
(AddColumnLocation_LocationType)(0), // 0: greptime.v1.AddColumnLocation.LocationType (AddColumnLocation_LocationType)(0), // 0: greptime.v1.AddColumnLocation.LocationType
(*DdlRequest)(nil), // 1: greptime.v1.DdlRequest (*DdlRequest)(nil), // 1: greptime.v1.DdlRequest
(*CreateFlowTaskExpr)(nil), // 2: greptime.v1.CreateFlowTaskExpr (*CreateFlowExpr)(nil), // 2: greptime.v1.CreateFlowExpr
(*DropFlowTaskExpr)(nil), // 3: greptime.v1.DropFlowTaskExpr (*DropFlowExpr)(nil), // 3: greptime.v1.DropFlowExpr
(*CreateTableExpr)(nil), // 4: greptime.v1.CreateTableExpr (*CreateTableExpr)(nil), // 4: greptime.v1.CreateTableExpr
(*AlterExpr)(nil), // 5: greptime.v1.AlterExpr (*AlterExpr)(nil), // 5: greptime.v1.AlterExpr
(*DropTableExpr)(nil), // 6: greptime.v1.DropTableExpr (*DropTableExpr)(nil), // 6: greptime.v1.DropTableExpr
@@ -1808,7 +1805,7 @@ var file_greptime_v1_ddl_proto_goTypes = []interface{}{
(*TableId)(nil), // 17: greptime.v1.TableId (*TableId)(nil), // 17: greptime.v1.TableId
(*ColumnDef)(nil), // 18: greptime.v1.ColumnDef (*ColumnDef)(nil), // 18: greptime.v1.ColumnDef
(*AddColumnLocation)(nil), // 19: greptime.v1.AddColumnLocation (*AddColumnLocation)(nil), // 19: greptime.v1.AddColumnLocation
nil, // 20: greptime.v1.CreateFlowTaskExpr.TaskOptionsEntry nil, // 20: greptime.v1.CreateFlowExpr.FlowOptionsEntry
nil, // 21: greptime.v1.CreateTableExpr.TableOptionsEntry nil, // 21: greptime.v1.CreateTableExpr.TableOptionsEntry
nil, // 22: greptime.v1.CreateDatabaseExpr.OptionsEntry nil, // 22: greptime.v1.CreateDatabaseExpr.OptionsEntry
(*TableName)(nil), // 23: greptime.v1.TableName (*TableName)(nil), // 23: greptime.v1.TableName
@@ -1822,11 +1819,11 @@ var file_greptime_v1_ddl_proto_depIdxs = []int32{
5, // 2: greptime.v1.DdlRequest.alter:type_name -> greptime.v1.AlterExpr 5, // 2: greptime.v1.DdlRequest.alter:type_name -> greptime.v1.AlterExpr
6, // 3: greptime.v1.DdlRequest.drop_table:type_name -> greptime.v1.DropTableExpr 6, // 3: greptime.v1.DdlRequest.drop_table:type_name -> greptime.v1.DropTableExpr
8, // 4: greptime.v1.DdlRequest.truncate_table:type_name -> greptime.v1.TruncateTableExpr 8, // 4: greptime.v1.DdlRequest.truncate_table:type_name -> greptime.v1.TruncateTableExpr
2, // 5: greptime.v1.DdlRequest.create_flow_task:type_name -> greptime.v1.CreateFlowTaskExpr 2, // 5: greptime.v1.DdlRequest.create_flow:type_name -> greptime.v1.CreateFlowExpr
3, // 6: greptime.v1.DdlRequest.drop_flow_task:type_name -> greptime.v1.DropFlowTaskExpr 3, // 6: greptime.v1.DdlRequest.drop_flow:type_name -> greptime.v1.DropFlowExpr
23, // 7: greptime.v1.CreateFlowTaskExpr.source_table_names:type_name -> greptime.v1.TableName 23, // 7: greptime.v1.CreateFlowExpr.source_table_names:type_name -> greptime.v1.TableName
23, // 8: greptime.v1.CreateFlowTaskExpr.sink_table_name:type_name -> greptime.v1.TableName 23, // 8: greptime.v1.CreateFlowExpr.sink_table_name:type_name -> greptime.v1.TableName
20, // 9: greptime.v1.CreateFlowTaskExpr.task_options:type_name -> greptime.v1.CreateFlowTaskExpr.TaskOptionsEntry 20, // 9: greptime.v1.CreateFlowExpr.flow_options:type_name -> greptime.v1.CreateFlowExpr.FlowOptionsEntry
18, // 10: greptime.v1.CreateTableExpr.column_defs:type_name -> greptime.v1.ColumnDef 18, // 10: greptime.v1.CreateTableExpr.column_defs:type_name -> greptime.v1.ColumnDef
21, // 11: greptime.v1.CreateTableExpr.table_options:type_name -> greptime.v1.CreateTableExpr.TableOptionsEntry 21, // 11: greptime.v1.CreateTableExpr.table_options:type_name -> greptime.v1.CreateTableExpr.TableOptionsEntry
17, // 12: greptime.v1.CreateTableExpr.table_id:type_name -> greptime.v1.TableId 17, // 12: greptime.v1.CreateTableExpr.table_id:type_name -> greptime.v1.TableId
@@ -1875,7 +1872,7 @@ func file_greptime_v1_ddl_proto_init() {
} }
} }
file_greptime_v1_ddl_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { file_greptime_v1_ddl_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateFlowTaskExpr); i { switch v := v.(*CreateFlowExpr); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@@ -1887,7 +1884,7 @@ func file_greptime_v1_ddl_proto_init() {
} }
} }
file_greptime_v1_ddl_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { file_greptime_v1_ddl_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DropFlowTaskExpr); i { switch v := v.(*DropFlowExpr); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@@ -2097,8 +2094,8 @@ func file_greptime_v1_ddl_proto_init() {
(*DdlRequest_Alter)(nil), (*DdlRequest_Alter)(nil),
(*DdlRequest_DropTable)(nil), (*DdlRequest_DropTable)(nil),
(*DdlRequest_TruncateTable)(nil), (*DdlRequest_TruncateTable)(nil),
(*DdlRequest_CreateFlowTask)(nil), (*DdlRequest_CreateFlow)(nil),
(*DdlRequest_DropFlowTask)(nil), (*DdlRequest_DropFlow)(nil),
} }
file_greptime_v1_ddl_proto_msgTypes[4].OneofWrappers = []interface{}{ file_greptime_v1_ddl_proto_msgTypes[4].OneofWrappers = []interface{}{
(*AlterExpr_AddColumns)(nil), (*AlterExpr_AddColumns)(nil),
+101 -103
View File
@@ -525,7 +525,7 @@ type CreateFlowTask struct {
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
CreateFlowTask *v1.CreateFlowTaskExpr `protobuf:"bytes,1,opt,name=create_flow_task,json=createFlowTask,proto3" json:"create_flow_task,omitempty"` CreateFlow *v1.CreateFlowExpr `protobuf:"bytes,1,opt,name=create_flow,json=createFlow,proto3" json:"create_flow,omitempty"`
} }
func (x *CreateFlowTask) Reset() { func (x *CreateFlowTask) Reset() {
@@ -560,9 +560,9 @@ func (*CreateFlowTask) Descriptor() ([]byte, []int) {
return file_greptime_v1_meta_ddl_proto_rawDescGZIP(), []int{9} return file_greptime_v1_meta_ddl_proto_rawDescGZIP(), []int{9}
} }
func (x *CreateFlowTask) GetCreateFlowTask() *v1.CreateFlowTaskExpr { func (x *CreateFlowTask) GetCreateFlow() *v1.CreateFlowExpr {
if x != nil { if x != nil {
return x.CreateFlowTask return x.CreateFlow
} }
return nil return nil
} }
@@ -572,7 +572,7 @@ type DropFlowTask struct {
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
DropFlowTask *v1.DropFlowTaskExpr `protobuf:"bytes,1,opt,name=drop_flow_task,json=dropFlowTask,proto3" json:"drop_flow_task,omitempty"` DropFlow *v1.DropFlowExpr `protobuf:"bytes,1,opt,name=drop_flow,json=dropFlow,proto3" json:"drop_flow,omitempty"`
} }
func (x *DropFlowTask) Reset() { func (x *DropFlowTask) Reset() {
@@ -607,9 +607,9 @@ func (*DropFlowTask) Descriptor() ([]byte, []int) {
return file_greptime_v1_meta_ddl_proto_rawDescGZIP(), []int{10} return file_greptime_v1_meta_ddl_proto_rawDescGZIP(), []int{10}
} }
func (x *DropFlowTask) GetDropFlowTask() *v1.DropFlowTaskExpr { func (x *DropFlowTask) GetDropFlow() *v1.DropFlowExpr {
if x != nil { if x != nil {
return x.DropFlowTask return x.DropFlow
} }
return nil return nil
} }
@@ -966,100 +966,98 @@ var file_greptime_v1_meta_ddl_proto_rawDesc = []byte{
0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
0x2e, 0x44, 0x72, 0x6f, 0x70, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x45, 0x78, 0x70, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x45, 0x78, 0x70,
0x72, 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x22, 0x72, 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x22,
0x5b, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x4e, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73,
0x6b, 0x12, 0x49, 0x0a, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x66, 0x6c, 0x6f, 0x77, 0x6b, 0x12, 0x3c, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x66, 0x6c, 0x6f, 0x77,
0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x45,
0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x70, 0x72, 0x52, 0x0e, 0x63, 0x72, 0x78, 0x70, 0x72, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x22,
0x65, 0x61, 0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x22, 0x53, 0x0a, 0x0c, 0x46, 0x0a, 0x0c, 0x44, 0x72, 0x6f, 0x70, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x12,
0x44, 0x72, 0x6f, 0x70, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x43, 0x0a, 0x0e, 0x36, 0x0a, 0x09, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01,
0x64, 0x72, 0x6f, 0x70, 0x5f, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x46, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x70, 0x72, 0x52, 0x08, 0x64,
0x76, 0x31, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x72, 0x6f, 0x70, 0x46, 0x6c, 0x6f, 0x77, 0x22, 0xc9, 0x07, 0x0a, 0x0e, 0x44, 0x64, 0x6c, 0x54,
0x78, 0x70, 0x72, 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x06, 0x68, 0x65,
0x6b, 0x22, 0xc9, 0x07, 0x0a, 0x0e, 0x44, 0x64, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65,
0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61,
0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x64, 0x65, 0x72, 0x12, 0x4f, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x61,
0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x4f, 0x0a, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21,
0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x61,
0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74,
0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61,
0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0f, 0x63,
0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x49,
0x0a, 0x0f, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x61, 0x73,
0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x54,
0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0d, 0x64, 0x72, 0x6f, 0x70,
0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x4c, 0x0a, 0x10, 0x61, 0x6c, 0x74,
0x65, 0x72, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x04, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76,
0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x54, 0x61, 0x62, 0x6c,
0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0e, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x54, 0x61,
0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x55, 0x0a, 0x13, 0x74, 0x72, 0x75, 0x6e, 0x63,
0x61, 0x74, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x05,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e,
0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65,
0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x11, 0x74, 0x72, 0x75,
0x6e, 0x63, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x52,
0x0a, 0x12, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74,
0x61, 0x73, 0x6b, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x72, 0x65,
0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x72,
0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x48, 0x00,
0x52, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73,
0x6b, 0x73, 0x12, 0x4c, 0x0a, 0x10, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65,
0x5f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67,
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e,
0x44, 0x72, 0x6f, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x48, 0x00,
0x52, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73,
0x12, 0x4f, 0x0a, 0x11, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f,
0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72,
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x41,
0x6c, 0x74, 0x65, 0x72, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x48, 0x00,
0x52, 0x0f, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b,
0x73, 0x12, 0x52, 0x0a, 0x12, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61,
0x73, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e,
0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61,
0x2e, 0x44, 0x72, 0x6f, 0x70, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x54, 0x61, 0x73,
0x6b, 0x48, 0x00, 0x52, 0x10, 0x64, 0x72, 0x6f, 0x70, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x58, 0x0a, 0x14, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f,
0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x0a, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76,
0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74,
0x61, 0x62, 0x61, 0x73, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x12, 0x63, 0x72, 0x65,
0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12,
0x4c, 0x0a, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x74,
0x61, 0x73, 0x6b, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70,
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x72, 0x65,
0x61, 0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0e, 0x63,
0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x46, 0x0a,
0x0e, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18,
0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x46, 0x6c, 0x6f,
0x77, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x46, 0x6c, 0x6f,
0x77, 0x54, 0x61, 0x73, 0x6b, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x61, 0x73, 0x6b, 0x22, 0xea, 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, 0x34, 0x0a, 0x08,
0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19,
0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74,
0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x52, 0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73,
0x49, 0x64, 0x12, 0x36, 0x0a, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x6b, 0x48, 0x00, 0x52, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65,
0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x49, 0x0a, 0x0f, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x74, 0x61, 0x62,
0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x6c, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e,
0x52, 0x08, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x73, 0x2a, 0x23, 0x0a, 0x0b, 0x44, 0x64, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61,
0x6c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x72, 0x65, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00,
0x61, 0x74, 0x65, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x72, 0x6f, 0x70, 0x10, 0x01, 0x42, 0x52, 0x0d, 0x64, 0x72, 0x6f, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12,
0x3c, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x72, 0x4c, 0x0a, 0x10, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74,
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70,
0x69, 0x6d, 0x65, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x72, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x41, 0x6c, 0x74,
0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x62, 0x06, 0x70, 0x65, 0x72, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0e, 0x61,
0x72, 0x6f, 0x74, 0x6f, 0x33, 0x6c, 0x74, 0x65, 0x72, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x55, 0x0a,
0x13, 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f,
0x74, 0x61, 0x73, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x72, 0x65,
0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x54, 0x72,
0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48,
0x00, 0x52, 0x11, 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65,
0x54, 0x61, 0x73, 0x6b, 0x12, 0x52, 0x0a, 0x12, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74,
0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b,
0x32, 0x22, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d,
0x65, 0x74, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54,
0x61, 0x73, 0x6b, 0x73, 0x48, 0x00, 0x52, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61,
0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x4c, 0x0a, 0x10, 0x64, 0x72, 0x6f, 0x70,
0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x07, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54,
0x61, 0x73, 0x6b, 0x73, 0x48, 0x00, 0x52, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x54, 0x61, 0x62, 0x6c,
0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x4f, 0x0a, 0x11, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x5f,
0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e,
0x6d, 0x65, 0x74, 0x61, 0x2e, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54,
0x61, 0x73, 0x6b, 0x73, 0x48, 0x00, 0x52, 0x0f, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x54, 0x61, 0x62,
0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x52, 0x0a, 0x12, 0x64, 0x72, 0x6f, 0x70, 0x5f,
0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x09, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76,
0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x44, 0x61, 0x74, 0x61, 0x62,
0x61, 0x73, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x10, 0x64, 0x72, 0x6f, 0x70, 0x44,
0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x58, 0x0a, 0x14, 0x63,
0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x74,
0x61, 0x73, 0x6b, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x65, 0x70,
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x72, 0x65,
0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48,
0x00, 0x52, 0x12, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x4c, 0x0a, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f,
0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65,
0x74, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73,
0x6b, 0x48, 0x00, 0x52, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x54,
0x61, 0x73, 0x6b, 0x12, 0x46, 0x0a, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x66, 0x6c, 0x6f, 0x77,
0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72,
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x44,
0x72, 0x6f, 0x70, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0c, 0x64,
0x72, 0x6f, 0x70, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x42, 0x06, 0x0a, 0x04, 0x74,
0x61, 0x73, 0x6b, 0x22, 0xea, 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, 0x34, 0x0a, 0x08, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e,
0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x52,
0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x36, 0x0a, 0x09, 0x74, 0x61, 0x62, 0x6c,
0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72,
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 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 (
@@ -1098,8 +1096,8 @@ var file_greptime_v1_meta_ddl_proto_goTypes = []interface{}{
(*v1.AlterExpr)(nil), // 18: greptime.v1.AlterExpr (*v1.AlterExpr)(nil), // 18: greptime.v1.AlterExpr
(*v1.TruncateTableExpr)(nil), // 19: greptime.v1.TruncateTableExpr (*v1.TruncateTableExpr)(nil), // 19: greptime.v1.TruncateTableExpr
(*v1.DropDatabaseExpr)(nil), // 20: greptime.v1.DropDatabaseExpr (*v1.DropDatabaseExpr)(nil), // 20: greptime.v1.DropDatabaseExpr
(*v1.CreateFlowTaskExpr)(nil), // 21: greptime.v1.CreateFlowTaskExpr (*v1.CreateFlowExpr)(nil), // 21: greptime.v1.CreateFlowExpr
(*v1.DropFlowTaskExpr)(nil), // 22: greptime.v1.DropFlowTaskExpr (*v1.DropFlowExpr)(nil), // 22: greptime.v1.DropFlowExpr
(*RequestHeader)(nil), // 23: greptime.v1.meta.RequestHeader (*RequestHeader)(nil), // 23: greptime.v1.meta.RequestHeader
(*ResponseHeader)(nil), // 24: greptime.v1.meta.ResponseHeader (*ResponseHeader)(nil), // 24: greptime.v1.meta.ResponseHeader
(*ProcedureId)(nil), // 25: greptime.v1.meta.ProcedureId (*ProcedureId)(nil), // 25: greptime.v1.meta.ProcedureId
@@ -1116,8 +1114,8 @@ var file_greptime_v1_meta_ddl_proto_depIdxs = []int32{
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 19, // 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 20, // 9: greptime.v1.meta.DropDatabaseTask.drop_database:type_name -> greptime.v1.DropDatabaseExpr
21, // 10: greptime.v1.meta.CreateFlowTask.create_flow_task:type_name -> greptime.v1.CreateFlowTaskExpr 21, // 10: greptime.v1.meta.CreateFlowTask.create_flow:type_name -> greptime.v1.CreateFlowExpr
22, // 11: greptime.v1.meta.DropFlowTask.drop_flow_task:type_name -> greptime.v1.DropFlowTaskExpr 22, // 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 23, // 12: greptime.v1.meta.DdlTaskRequest.header:type_name -> greptime.v1.meta.RequestHeader
2, // 13: greptime.v1.meta.DdlTaskRequest.create_table_task:type_name -> greptime.v1.meta.CreateTableTask 2, // 13: greptime.v1.meta.DdlTaskRequest.create_table_task:type_name -> greptime.v1.meta.CreateTableTask
4, // 14: greptime.v1.meta.DdlTaskRequest.drop_table_task:type_name -> greptime.v1.meta.DropTableTask 4, // 14: greptime.v1.meta.DdlTaskRequest.drop_table_task:type_name -> greptime.v1.meta.DropTableTask
+238 -238
View File
@@ -6699,19 +6699,19 @@ public final class Ddl {
com.google.protobuf.MessageOrBuilder { com.google.protobuf.MessageOrBuilder {
/** /**
* <code>.greptime.v1.CreateFlowTaskExpr create_flow_task = 1;</code> * <code>.greptime.v1.CreateFlowExpr create_flow = 1;</code>
* @return Whether the createFlowTask field is set. * @return Whether the createFlow field is set.
*/ */
boolean hasCreateFlowTask(); boolean hasCreateFlow();
/** /**
* <code>.greptime.v1.CreateFlowTaskExpr create_flow_task = 1;</code> * <code>.greptime.v1.CreateFlowExpr create_flow = 1;</code>
* @return The createFlowTask. * @return The createFlow.
*/ */
io.greptime.v1.Ddl.CreateFlowTaskExpr getCreateFlowTask(); io.greptime.v1.Ddl.CreateFlowExpr getCreateFlow();
/** /**
* <code>.greptime.v1.CreateFlowTaskExpr create_flow_task = 1;</code> * <code>.greptime.v1.CreateFlowExpr create_flow = 1;</code>
*/ */
io.greptime.v1.Ddl.CreateFlowTaskExprOrBuilder getCreateFlowTaskOrBuilder(); io.greptime.v1.Ddl.CreateFlowExprOrBuilder getCreateFlowOrBuilder();
} }
/** /**
* Protobuf type {@code greptime.v1.meta.CreateFlowTask} * Protobuf type {@code greptime.v1.meta.CreateFlowTask}
@@ -6759,14 +6759,14 @@ public final class Ddl {
done = true; done = true;
break; break;
case 10: { case 10: {
io.greptime.v1.Ddl.CreateFlowTaskExpr.Builder subBuilder = null; io.greptime.v1.Ddl.CreateFlowExpr.Builder subBuilder = null;
if (createFlowTask_ != null) { if (createFlow_ != null) {
subBuilder = createFlowTask_.toBuilder(); subBuilder = createFlow_.toBuilder();
} }
createFlowTask_ = input.readMessage(io.greptime.v1.Ddl.CreateFlowTaskExpr.parser(), extensionRegistry); createFlow_ = input.readMessage(io.greptime.v1.Ddl.CreateFlowExpr.parser(), extensionRegistry);
if (subBuilder != null) { if (subBuilder != null) {
subBuilder.mergeFrom(createFlowTask_); subBuilder.mergeFrom(createFlow_);
createFlowTask_ = subBuilder.buildPartial(); createFlow_ = subBuilder.buildPartial();
} }
break; break;
@@ -6805,30 +6805,30 @@ public final class Ddl {
greptime.v1.meta.Ddl.CreateFlowTask.class, greptime.v1.meta.Ddl.CreateFlowTask.Builder.class); greptime.v1.meta.Ddl.CreateFlowTask.class, greptime.v1.meta.Ddl.CreateFlowTask.Builder.class);
} }
public static final int CREATE_FLOW_TASK_FIELD_NUMBER = 1; public static final int CREATE_FLOW_FIELD_NUMBER = 1;
private io.greptime.v1.Ddl.CreateFlowTaskExpr createFlowTask_; private io.greptime.v1.Ddl.CreateFlowExpr createFlow_;
/** /**
* <code>.greptime.v1.CreateFlowTaskExpr create_flow_task = 1;</code> * <code>.greptime.v1.CreateFlowExpr create_flow = 1;</code>
* @return Whether the createFlowTask field is set. * @return Whether the createFlow field is set.
*/ */
@java.lang.Override @java.lang.Override
public boolean hasCreateFlowTask() { public boolean hasCreateFlow() {
return createFlowTask_ != null; return createFlow_ != null;
} }
/** /**
* <code>.greptime.v1.CreateFlowTaskExpr create_flow_task = 1;</code> * <code>.greptime.v1.CreateFlowExpr create_flow = 1;</code>
* @return The createFlowTask. * @return The createFlow.
*/ */
@java.lang.Override @java.lang.Override
public io.greptime.v1.Ddl.CreateFlowTaskExpr getCreateFlowTask() { public io.greptime.v1.Ddl.CreateFlowExpr getCreateFlow() {
return createFlowTask_ == null ? io.greptime.v1.Ddl.CreateFlowTaskExpr.getDefaultInstance() : createFlowTask_; return createFlow_ == null ? io.greptime.v1.Ddl.CreateFlowExpr.getDefaultInstance() : createFlow_;
} }
/** /**
* <code>.greptime.v1.CreateFlowTaskExpr create_flow_task = 1;</code> * <code>.greptime.v1.CreateFlowExpr create_flow = 1;</code>
*/ */
@java.lang.Override @java.lang.Override
public io.greptime.v1.Ddl.CreateFlowTaskExprOrBuilder getCreateFlowTaskOrBuilder() { public io.greptime.v1.Ddl.CreateFlowExprOrBuilder getCreateFlowOrBuilder() {
return getCreateFlowTask(); return getCreateFlow();
} }
private byte memoizedIsInitialized = -1; private byte memoizedIsInitialized = -1;
@@ -6845,8 +6845,8 @@ public final class Ddl {
@java.lang.Override @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException { throws java.io.IOException {
if (createFlowTask_ != null) { if (createFlow_ != null) {
output.writeMessage(1, getCreateFlowTask()); output.writeMessage(1, getCreateFlow());
} }
unknownFields.writeTo(output); unknownFields.writeTo(output);
} }
@@ -6857,9 +6857,9 @@ public final class Ddl {
if (size != -1) return size; if (size != -1) return size;
size = 0; size = 0;
if (createFlowTask_ != null) { if (createFlow_ != null) {
size += com.google.protobuf.CodedOutputStream size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getCreateFlowTask()); .computeMessageSize(1, getCreateFlow());
} }
size += unknownFields.getSerializedSize(); size += unknownFields.getSerializedSize();
memoizedSize = size; memoizedSize = size;
@@ -6876,10 +6876,10 @@ public final class Ddl {
} }
greptime.v1.meta.Ddl.CreateFlowTask other = (greptime.v1.meta.Ddl.CreateFlowTask) obj; greptime.v1.meta.Ddl.CreateFlowTask other = (greptime.v1.meta.Ddl.CreateFlowTask) obj;
if (hasCreateFlowTask() != other.hasCreateFlowTask()) return false; if (hasCreateFlow() != other.hasCreateFlow()) return false;
if (hasCreateFlowTask()) { if (hasCreateFlow()) {
if (!getCreateFlowTask() if (!getCreateFlow()
.equals(other.getCreateFlowTask())) return false; .equals(other.getCreateFlow())) return false;
} }
if (!unknownFields.equals(other.unknownFields)) return false; if (!unknownFields.equals(other.unknownFields)) return false;
return true; return true;
@@ -6892,9 +6892,9 @@ public final class Ddl {
} }
int hash = 41; int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode(); hash = (19 * hash) + getDescriptor().hashCode();
if (hasCreateFlowTask()) { if (hasCreateFlow()) {
hash = (37 * hash) + CREATE_FLOW_TASK_FIELD_NUMBER; hash = (37 * hash) + CREATE_FLOW_FIELD_NUMBER;
hash = (53 * hash) + getCreateFlowTask().hashCode(); hash = (53 * hash) + getCreateFlow().hashCode();
} }
hash = (29 * hash) + unknownFields.hashCode(); hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash; memoizedHashCode = hash;
@@ -7029,11 +7029,11 @@ public final class Ddl {
@java.lang.Override @java.lang.Override
public Builder clear() { public Builder clear() {
super.clear(); super.clear();
if (createFlowTaskBuilder_ == null) { if (createFlowBuilder_ == null) {
createFlowTask_ = null; createFlow_ = null;
} else { } else {
createFlowTask_ = null; createFlow_ = null;
createFlowTaskBuilder_ = null; createFlowBuilder_ = null;
} }
return this; return this;
} }
@@ -7061,10 +7061,10 @@ public final class Ddl {
@java.lang.Override @java.lang.Override
public greptime.v1.meta.Ddl.CreateFlowTask buildPartial() { public greptime.v1.meta.Ddl.CreateFlowTask buildPartial() {
greptime.v1.meta.Ddl.CreateFlowTask result = new greptime.v1.meta.Ddl.CreateFlowTask(this); greptime.v1.meta.Ddl.CreateFlowTask result = new greptime.v1.meta.Ddl.CreateFlowTask(this);
if (createFlowTaskBuilder_ == null) { if (createFlowBuilder_ == null) {
result.createFlowTask_ = createFlowTask_; result.createFlow_ = createFlow_;
} else { } else {
result.createFlowTask_ = createFlowTaskBuilder_.build(); result.createFlow_ = createFlowBuilder_.build();
} }
onBuilt(); onBuilt();
return result; return result;
@@ -7114,8 +7114,8 @@ public final class Ddl {
public Builder mergeFrom(greptime.v1.meta.Ddl.CreateFlowTask other) { public Builder mergeFrom(greptime.v1.meta.Ddl.CreateFlowTask other) {
if (other == greptime.v1.meta.Ddl.CreateFlowTask.getDefaultInstance()) return this; if (other == greptime.v1.meta.Ddl.CreateFlowTask.getDefaultInstance()) return this;
if (other.hasCreateFlowTask()) { if (other.hasCreateFlow()) {
mergeCreateFlowTask(other.getCreateFlowTask()); mergeCreateFlow(other.getCreateFlow());
} }
this.mergeUnknownFields(other.unknownFields); this.mergeUnknownFields(other.unknownFields);
onChanged(); onChanged();
@@ -7146,123 +7146,123 @@ public final class Ddl {
return this; return this;
} }
private io.greptime.v1.Ddl.CreateFlowTaskExpr createFlowTask_; private io.greptime.v1.Ddl.CreateFlowExpr createFlow_;
private com.google.protobuf.SingleFieldBuilderV3< private com.google.protobuf.SingleFieldBuilderV3<
io.greptime.v1.Ddl.CreateFlowTaskExpr, io.greptime.v1.Ddl.CreateFlowTaskExpr.Builder, io.greptime.v1.Ddl.CreateFlowTaskExprOrBuilder> createFlowTaskBuilder_; io.greptime.v1.Ddl.CreateFlowExpr, io.greptime.v1.Ddl.CreateFlowExpr.Builder, io.greptime.v1.Ddl.CreateFlowExprOrBuilder> createFlowBuilder_;
/** /**
* <code>.greptime.v1.CreateFlowTaskExpr create_flow_task = 1;</code> * <code>.greptime.v1.CreateFlowExpr create_flow = 1;</code>
* @return Whether the createFlowTask field is set. * @return Whether the createFlow field is set.
*/ */
public boolean hasCreateFlowTask() { public boolean hasCreateFlow() {
return createFlowTaskBuilder_ != null || createFlowTask_ != null; return createFlowBuilder_ != null || createFlow_ != null;
} }
/** /**
* <code>.greptime.v1.CreateFlowTaskExpr create_flow_task = 1;</code> * <code>.greptime.v1.CreateFlowExpr create_flow = 1;</code>
* @return The createFlowTask. * @return The createFlow.
*/ */
public io.greptime.v1.Ddl.CreateFlowTaskExpr getCreateFlowTask() { public io.greptime.v1.Ddl.CreateFlowExpr getCreateFlow() {
if (createFlowTaskBuilder_ == null) { if (createFlowBuilder_ == null) {
return createFlowTask_ == null ? io.greptime.v1.Ddl.CreateFlowTaskExpr.getDefaultInstance() : createFlowTask_; return createFlow_ == null ? io.greptime.v1.Ddl.CreateFlowExpr.getDefaultInstance() : createFlow_;
} else { } else {
return createFlowTaskBuilder_.getMessage(); return createFlowBuilder_.getMessage();
} }
} }
/** /**
* <code>.greptime.v1.CreateFlowTaskExpr create_flow_task = 1;</code> * <code>.greptime.v1.CreateFlowExpr create_flow = 1;</code>
*/ */
public Builder setCreateFlowTask(io.greptime.v1.Ddl.CreateFlowTaskExpr value) { public Builder setCreateFlow(io.greptime.v1.Ddl.CreateFlowExpr value) {
if (createFlowTaskBuilder_ == null) { if (createFlowBuilder_ == null) {
if (value == null) { if (value == null) {
throw new NullPointerException(); throw new NullPointerException();
} }
createFlowTask_ = value; createFlow_ = value;
onChanged(); onChanged();
} else { } else {
createFlowTaskBuilder_.setMessage(value); createFlowBuilder_.setMessage(value);
} }
return this; return this;
} }
/** /**
* <code>.greptime.v1.CreateFlowTaskExpr create_flow_task = 1;</code> * <code>.greptime.v1.CreateFlowExpr create_flow = 1;</code>
*/ */
public Builder setCreateFlowTask( public Builder setCreateFlow(
io.greptime.v1.Ddl.CreateFlowTaskExpr.Builder builderForValue) { io.greptime.v1.Ddl.CreateFlowExpr.Builder builderForValue) {
if (createFlowTaskBuilder_ == null) { if (createFlowBuilder_ == null) {
createFlowTask_ = builderForValue.build(); createFlow_ = builderForValue.build();
onChanged(); onChanged();
} else { } else {
createFlowTaskBuilder_.setMessage(builderForValue.build()); createFlowBuilder_.setMessage(builderForValue.build());
} }
return this; return this;
} }
/** /**
* <code>.greptime.v1.CreateFlowTaskExpr create_flow_task = 1;</code> * <code>.greptime.v1.CreateFlowExpr create_flow = 1;</code>
*/ */
public Builder mergeCreateFlowTask(io.greptime.v1.Ddl.CreateFlowTaskExpr value) { public Builder mergeCreateFlow(io.greptime.v1.Ddl.CreateFlowExpr value) {
if (createFlowTaskBuilder_ == null) { if (createFlowBuilder_ == null) {
if (createFlowTask_ != null) { if (createFlow_ != null) {
createFlowTask_ = createFlow_ =
io.greptime.v1.Ddl.CreateFlowTaskExpr.newBuilder(createFlowTask_).mergeFrom(value).buildPartial(); io.greptime.v1.Ddl.CreateFlowExpr.newBuilder(createFlow_).mergeFrom(value).buildPartial();
} else { } else {
createFlowTask_ = value; createFlow_ = value;
} }
onChanged(); onChanged();
} else { } else {
createFlowTaskBuilder_.mergeFrom(value); createFlowBuilder_.mergeFrom(value);
} }
return this; return this;
} }
/** /**
* <code>.greptime.v1.CreateFlowTaskExpr create_flow_task = 1;</code> * <code>.greptime.v1.CreateFlowExpr create_flow = 1;</code>
*/ */
public Builder clearCreateFlowTask() { public Builder clearCreateFlow() {
if (createFlowTaskBuilder_ == null) { if (createFlowBuilder_ == null) {
createFlowTask_ = null; createFlow_ = null;
onChanged(); onChanged();
} else { } else {
createFlowTask_ = null; createFlow_ = null;
createFlowTaskBuilder_ = null; createFlowBuilder_ = null;
} }
return this; return this;
} }
/** /**
* <code>.greptime.v1.CreateFlowTaskExpr create_flow_task = 1;</code> * <code>.greptime.v1.CreateFlowExpr create_flow = 1;</code>
*/ */
public io.greptime.v1.Ddl.CreateFlowTaskExpr.Builder getCreateFlowTaskBuilder() { public io.greptime.v1.Ddl.CreateFlowExpr.Builder getCreateFlowBuilder() {
onChanged(); onChanged();
return getCreateFlowTaskFieldBuilder().getBuilder(); return getCreateFlowFieldBuilder().getBuilder();
} }
/** /**
* <code>.greptime.v1.CreateFlowTaskExpr create_flow_task = 1;</code> * <code>.greptime.v1.CreateFlowExpr create_flow = 1;</code>
*/ */
public io.greptime.v1.Ddl.CreateFlowTaskExprOrBuilder getCreateFlowTaskOrBuilder() { public io.greptime.v1.Ddl.CreateFlowExprOrBuilder getCreateFlowOrBuilder() {
if (createFlowTaskBuilder_ != null) { if (createFlowBuilder_ != null) {
return createFlowTaskBuilder_.getMessageOrBuilder(); return createFlowBuilder_.getMessageOrBuilder();
} else { } else {
return createFlowTask_ == null ? return createFlow_ == null ?
io.greptime.v1.Ddl.CreateFlowTaskExpr.getDefaultInstance() : createFlowTask_; io.greptime.v1.Ddl.CreateFlowExpr.getDefaultInstance() : createFlow_;
} }
} }
/** /**
* <code>.greptime.v1.CreateFlowTaskExpr create_flow_task = 1;</code> * <code>.greptime.v1.CreateFlowExpr create_flow = 1;</code>
*/ */
private com.google.protobuf.SingleFieldBuilderV3< private com.google.protobuf.SingleFieldBuilderV3<
io.greptime.v1.Ddl.CreateFlowTaskExpr, io.greptime.v1.Ddl.CreateFlowTaskExpr.Builder, io.greptime.v1.Ddl.CreateFlowTaskExprOrBuilder> io.greptime.v1.Ddl.CreateFlowExpr, io.greptime.v1.Ddl.CreateFlowExpr.Builder, io.greptime.v1.Ddl.CreateFlowExprOrBuilder>
getCreateFlowTaskFieldBuilder() { getCreateFlowFieldBuilder() {
if (createFlowTaskBuilder_ == null) { if (createFlowBuilder_ == null) {
createFlowTaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< createFlowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.greptime.v1.Ddl.CreateFlowTaskExpr, io.greptime.v1.Ddl.CreateFlowTaskExpr.Builder, io.greptime.v1.Ddl.CreateFlowTaskExprOrBuilder>( io.greptime.v1.Ddl.CreateFlowExpr, io.greptime.v1.Ddl.CreateFlowExpr.Builder, io.greptime.v1.Ddl.CreateFlowExprOrBuilder>(
getCreateFlowTask(), getCreateFlow(),
getParentForChildren(), getParentForChildren(),
isClean()); isClean());
createFlowTask_ = null; createFlow_ = null;
} }
return createFlowTaskBuilder_; return createFlowBuilder_;
} }
@java.lang.Override @java.lang.Override
public final Builder setUnknownFields( public final Builder setUnknownFields(
@@ -7322,19 +7322,19 @@ public final class Ddl {
com.google.protobuf.MessageOrBuilder { com.google.protobuf.MessageOrBuilder {
/** /**
* <code>.greptime.v1.DropFlowTaskExpr drop_flow_task = 1;</code> * <code>.greptime.v1.DropFlowExpr drop_flow = 1;</code>
* @return Whether the dropFlowTask field is set. * @return Whether the dropFlow field is set.
*/ */
boolean hasDropFlowTask(); boolean hasDropFlow();
/** /**
* <code>.greptime.v1.DropFlowTaskExpr drop_flow_task = 1;</code> * <code>.greptime.v1.DropFlowExpr drop_flow = 1;</code>
* @return The dropFlowTask. * @return The dropFlow.
*/ */
io.greptime.v1.Ddl.DropFlowTaskExpr getDropFlowTask(); io.greptime.v1.Ddl.DropFlowExpr getDropFlow();
/** /**
* <code>.greptime.v1.DropFlowTaskExpr drop_flow_task = 1;</code> * <code>.greptime.v1.DropFlowExpr drop_flow = 1;</code>
*/ */
io.greptime.v1.Ddl.DropFlowTaskExprOrBuilder getDropFlowTaskOrBuilder(); io.greptime.v1.Ddl.DropFlowExprOrBuilder getDropFlowOrBuilder();
} }
/** /**
* Protobuf type {@code greptime.v1.meta.DropFlowTask} * Protobuf type {@code greptime.v1.meta.DropFlowTask}
@@ -7382,14 +7382,14 @@ public final class Ddl {
done = true; done = true;
break; break;
case 10: { case 10: {
io.greptime.v1.Ddl.DropFlowTaskExpr.Builder subBuilder = null; io.greptime.v1.Ddl.DropFlowExpr.Builder subBuilder = null;
if (dropFlowTask_ != null) { if (dropFlow_ != null) {
subBuilder = dropFlowTask_.toBuilder(); subBuilder = dropFlow_.toBuilder();
} }
dropFlowTask_ = input.readMessage(io.greptime.v1.Ddl.DropFlowTaskExpr.parser(), extensionRegistry); dropFlow_ = input.readMessage(io.greptime.v1.Ddl.DropFlowExpr.parser(), extensionRegistry);
if (subBuilder != null) { if (subBuilder != null) {
subBuilder.mergeFrom(dropFlowTask_); subBuilder.mergeFrom(dropFlow_);
dropFlowTask_ = subBuilder.buildPartial(); dropFlow_ = subBuilder.buildPartial();
} }
break; break;
@@ -7428,30 +7428,30 @@ public final class Ddl {
greptime.v1.meta.Ddl.DropFlowTask.class, greptime.v1.meta.Ddl.DropFlowTask.Builder.class); greptime.v1.meta.Ddl.DropFlowTask.class, greptime.v1.meta.Ddl.DropFlowTask.Builder.class);
} }
public static final int DROP_FLOW_TASK_FIELD_NUMBER = 1; public static final int DROP_FLOW_FIELD_NUMBER = 1;
private io.greptime.v1.Ddl.DropFlowTaskExpr dropFlowTask_; private io.greptime.v1.Ddl.DropFlowExpr dropFlow_;
/** /**
* <code>.greptime.v1.DropFlowTaskExpr drop_flow_task = 1;</code> * <code>.greptime.v1.DropFlowExpr drop_flow = 1;</code>
* @return Whether the dropFlowTask field is set. * @return Whether the dropFlow field is set.
*/ */
@java.lang.Override @java.lang.Override
public boolean hasDropFlowTask() { public boolean hasDropFlow() {
return dropFlowTask_ != null; return dropFlow_ != null;
} }
/** /**
* <code>.greptime.v1.DropFlowTaskExpr drop_flow_task = 1;</code> * <code>.greptime.v1.DropFlowExpr drop_flow = 1;</code>
* @return The dropFlowTask. * @return The dropFlow.
*/ */
@java.lang.Override @java.lang.Override
public io.greptime.v1.Ddl.DropFlowTaskExpr getDropFlowTask() { public io.greptime.v1.Ddl.DropFlowExpr getDropFlow() {
return dropFlowTask_ == null ? io.greptime.v1.Ddl.DropFlowTaskExpr.getDefaultInstance() : dropFlowTask_; return dropFlow_ == null ? io.greptime.v1.Ddl.DropFlowExpr.getDefaultInstance() : dropFlow_;
} }
/** /**
* <code>.greptime.v1.DropFlowTaskExpr drop_flow_task = 1;</code> * <code>.greptime.v1.DropFlowExpr drop_flow = 1;</code>
*/ */
@java.lang.Override @java.lang.Override
public io.greptime.v1.Ddl.DropFlowTaskExprOrBuilder getDropFlowTaskOrBuilder() { public io.greptime.v1.Ddl.DropFlowExprOrBuilder getDropFlowOrBuilder() {
return getDropFlowTask(); return getDropFlow();
} }
private byte memoizedIsInitialized = -1; private byte memoizedIsInitialized = -1;
@@ -7468,8 +7468,8 @@ public final class Ddl {
@java.lang.Override @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException { throws java.io.IOException {
if (dropFlowTask_ != null) { if (dropFlow_ != null) {
output.writeMessage(1, getDropFlowTask()); output.writeMessage(1, getDropFlow());
} }
unknownFields.writeTo(output); unknownFields.writeTo(output);
} }
@@ -7480,9 +7480,9 @@ public final class Ddl {
if (size != -1) return size; if (size != -1) return size;
size = 0; size = 0;
if (dropFlowTask_ != null) { if (dropFlow_ != null) {
size += com.google.protobuf.CodedOutputStream size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getDropFlowTask()); .computeMessageSize(1, getDropFlow());
} }
size += unknownFields.getSerializedSize(); size += unknownFields.getSerializedSize();
memoizedSize = size; memoizedSize = size;
@@ -7499,10 +7499,10 @@ public final class Ddl {
} }
greptime.v1.meta.Ddl.DropFlowTask other = (greptime.v1.meta.Ddl.DropFlowTask) obj; greptime.v1.meta.Ddl.DropFlowTask other = (greptime.v1.meta.Ddl.DropFlowTask) obj;
if (hasDropFlowTask() != other.hasDropFlowTask()) return false; if (hasDropFlow() != other.hasDropFlow()) return false;
if (hasDropFlowTask()) { if (hasDropFlow()) {
if (!getDropFlowTask() if (!getDropFlow()
.equals(other.getDropFlowTask())) return false; .equals(other.getDropFlow())) return false;
} }
if (!unknownFields.equals(other.unknownFields)) return false; if (!unknownFields.equals(other.unknownFields)) return false;
return true; return true;
@@ -7515,9 +7515,9 @@ public final class Ddl {
} }
int hash = 41; int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode(); hash = (19 * hash) + getDescriptor().hashCode();
if (hasDropFlowTask()) { if (hasDropFlow()) {
hash = (37 * hash) + DROP_FLOW_TASK_FIELD_NUMBER; hash = (37 * hash) + DROP_FLOW_FIELD_NUMBER;
hash = (53 * hash) + getDropFlowTask().hashCode(); hash = (53 * hash) + getDropFlow().hashCode();
} }
hash = (29 * hash) + unknownFields.hashCode(); hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash; memoizedHashCode = hash;
@@ -7652,11 +7652,11 @@ public final class Ddl {
@java.lang.Override @java.lang.Override
public Builder clear() { public Builder clear() {
super.clear(); super.clear();
if (dropFlowTaskBuilder_ == null) { if (dropFlowBuilder_ == null) {
dropFlowTask_ = null; dropFlow_ = null;
} else { } else {
dropFlowTask_ = null; dropFlow_ = null;
dropFlowTaskBuilder_ = null; dropFlowBuilder_ = null;
} }
return this; return this;
} }
@@ -7684,10 +7684,10 @@ public final class Ddl {
@java.lang.Override @java.lang.Override
public greptime.v1.meta.Ddl.DropFlowTask buildPartial() { public greptime.v1.meta.Ddl.DropFlowTask buildPartial() {
greptime.v1.meta.Ddl.DropFlowTask result = new greptime.v1.meta.Ddl.DropFlowTask(this); greptime.v1.meta.Ddl.DropFlowTask result = new greptime.v1.meta.Ddl.DropFlowTask(this);
if (dropFlowTaskBuilder_ == null) { if (dropFlowBuilder_ == null) {
result.dropFlowTask_ = dropFlowTask_; result.dropFlow_ = dropFlow_;
} else { } else {
result.dropFlowTask_ = dropFlowTaskBuilder_.build(); result.dropFlow_ = dropFlowBuilder_.build();
} }
onBuilt(); onBuilt();
return result; return result;
@@ -7737,8 +7737,8 @@ public final class Ddl {
public Builder mergeFrom(greptime.v1.meta.Ddl.DropFlowTask other) { public Builder mergeFrom(greptime.v1.meta.Ddl.DropFlowTask other) {
if (other == greptime.v1.meta.Ddl.DropFlowTask.getDefaultInstance()) return this; if (other == greptime.v1.meta.Ddl.DropFlowTask.getDefaultInstance()) return this;
if (other.hasDropFlowTask()) { if (other.hasDropFlow()) {
mergeDropFlowTask(other.getDropFlowTask()); mergeDropFlow(other.getDropFlow());
} }
this.mergeUnknownFields(other.unknownFields); this.mergeUnknownFields(other.unknownFields);
onChanged(); onChanged();
@@ -7769,123 +7769,123 @@ public final class Ddl {
return this; return this;
} }
private io.greptime.v1.Ddl.DropFlowTaskExpr dropFlowTask_; private io.greptime.v1.Ddl.DropFlowExpr dropFlow_;
private com.google.protobuf.SingleFieldBuilderV3< private com.google.protobuf.SingleFieldBuilderV3<
io.greptime.v1.Ddl.DropFlowTaskExpr, io.greptime.v1.Ddl.DropFlowTaskExpr.Builder, io.greptime.v1.Ddl.DropFlowTaskExprOrBuilder> dropFlowTaskBuilder_; io.greptime.v1.Ddl.DropFlowExpr, io.greptime.v1.Ddl.DropFlowExpr.Builder, io.greptime.v1.Ddl.DropFlowExprOrBuilder> dropFlowBuilder_;
/** /**
* <code>.greptime.v1.DropFlowTaskExpr drop_flow_task = 1;</code> * <code>.greptime.v1.DropFlowExpr drop_flow = 1;</code>
* @return Whether the dropFlowTask field is set. * @return Whether the dropFlow field is set.
*/ */
public boolean hasDropFlowTask() { public boolean hasDropFlow() {
return dropFlowTaskBuilder_ != null || dropFlowTask_ != null; return dropFlowBuilder_ != null || dropFlow_ != null;
} }
/** /**
* <code>.greptime.v1.DropFlowTaskExpr drop_flow_task = 1;</code> * <code>.greptime.v1.DropFlowExpr drop_flow = 1;</code>
* @return The dropFlowTask. * @return The dropFlow.
*/ */
public io.greptime.v1.Ddl.DropFlowTaskExpr getDropFlowTask() { public io.greptime.v1.Ddl.DropFlowExpr getDropFlow() {
if (dropFlowTaskBuilder_ == null) { if (dropFlowBuilder_ == null) {
return dropFlowTask_ == null ? io.greptime.v1.Ddl.DropFlowTaskExpr.getDefaultInstance() : dropFlowTask_; return dropFlow_ == null ? io.greptime.v1.Ddl.DropFlowExpr.getDefaultInstance() : dropFlow_;
} else { } else {
return dropFlowTaskBuilder_.getMessage(); return dropFlowBuilder_.getMessage();
} }
} }
/** /**
* <code>.greptime.v1.DropFlowTaskExpr drop_flow_task = 1;</code> * <code>.greptime.v1.DropFlowExpr drop_flow = 1;</code>
*/ */
public Builder setDropFlowTask(io.greptime.v1.Ddl.DropFlowTaskExpr value) { public Builder setDropFlow(io.greptime.v1.Ddl.DropFlowExpr value) {
if (dropFlowTaskBuilder_ == null) { if (dropFlowBuilder_ == null) {
if (value == null) { if (value == null) {
throw new NullPointerException(); throw new NullPointerException();
} }
dropFlowTask_ = value; dropFlow_ = value;
onChanged(); onChanged();
} else { } else {
dropFlowTaskBuilder_.setMessage(value); dropFlowBuilder_.setMessage(value);
} }
return this; return this;
} }
/** /**
* <code>.greptime.v1.DropFlowTaskExpr drop_flow_task = 1;</code> * <code>.greptime.v1.DropFlowExpr drop_flow = 1;</code>
*/ */
public Builder setDropFlowTask( public Builder setDropFlow(
io.greptime.v1.Ddl.DropFlowTaskExpr.Builder builderForValue) { io.greptime.v1.Ddl.DropFlowExpr.Builder builderForValue) {
if (dropFlowTaskBuilder_ == null) { if (dropFlowBuilder_ == null) {
dropFlowTask_ = builderForValue.build(); dropFlow_ = builderForValue.build();
onChanged(); onChanged();
} else { } else {
dropFlowTaskBuilder_.setMessage(builderForValue.build()); dropFlowBuilder_.setMessage(builderForValue.build());
} }
return this; return this;
} }
/** /**
* <code>.greptime.v1.DropFlowTaskExpr drop_flow_task = 1;</code> * <code>.greptime.v1.DropFlowExpr drop_flow = 1;</code>
*/ */
public Builder mergeDropFlowTask(io.greptime.v1.Ddl.DropFlowTaskExpr value) { public Builder mergeDropFlow(io.greptime.v1.Ddl.DropFlowExpr value) {
if (dropFlowTaskBuilder_ == null) { if (dropFlowBuilder_ == null) {
if (dropFlowTask_ != null) { if (dropFlow_ != null) {
dropFlowTask_ = dropFlow_ =
io.greptime.v1.Ddl.DropFlowTaskExpr.newBuilder(dropFlowTask_).mergeFrom(value).buildPartial(); io.greptime.v1.Ddl.DropFlowExpr.newBuilder(dropFlow_).mergeFrom(value).buildPartial();
} else { } else {
dropFlowTask_ = value; dropFlow_ = value;
} }
onChanged(); onChanged();
} else { } else {
dropFlowTaskBuilder_.mergeFrom(value); dropFlowBuilder_.mergeFrom(value);
} }
return this; return this;
} }
/** /**
* <code>.greptime.v1.DropFlowTaskExpr drop_flow_task = 1;</code> * <code>.greptime.v1.DropFlowExpr drop_flow = 1;</code>
*/ */
public Builder clearDropFlowTask() { public Builder clearDropFlow() {
if (dropFlowTaskBuilder_ == null) { if (dropFlowBuilder_ == null) {
dropFlowTask_ = null; dropFlow_ = null;
onChanged(); onChanged();
} else { } else {
dropFlowTask_ = null; dropFlow_ = null;
dropFlowTaskBuilder_ = null; dropFlowBuilder_ = null;
} }
return this; return this;
} }
/** /**
* <code>.greptime.v1.DropFlowTaskExpr drop_flow_task = 1;</code> * <code>.greptime.v1.DropFlowExpr drop_flow = 1;</code>
*/ */
public io.greptime.v1.Ddl.DropFlowTaskExpr.Builder getDropFlowTaskBuilder() { public io.greptime.v1.Ddl.DropFlowExpr.Builder getDropFlowBuilder() {
onChanged(); onChanged();
return getDropFlowTaskFieldBuilder().getBuilder(); return getDropFlowFieldBuilder().getBuilder();
} }
/** /**
* <code>.greptime.v1.DropFlowTaskExpr drop_flow_task = 1;</code> * <code>.greptime.v1.DropFlowExpr drop_flow = 1;</code>
*/ */
public io.greptime.v1.Ddl.DropFlowTaskExprOrBuilder getDropFlowTaskOrBuilder() { public io.greptime.v1.Ddl.DropFlowExprOrBuilder getDropFlowOrBuilder() {
if (dropFlowTaskBuilder_ != null) { if (dropFlowBuilder_ != null) {
return dropFlowTaskBuilder_.getMessageOrBuilder(); return dropFlowBuilder_.getMessageOrBuilder();
} else { } else {
return dropFlowTask_ == null ? return dropFlow_ == null ?
io.greptime.v1.Ddl.DropFlowTaskExpr.getDefaultInstance() : dropFlowTask_; io.greptime.v1.Ddl.DropFlowExpr.getDefaultInstance() : dropFlow_;
} }
} }
/** /**
* <code>.greptime.v1.DropFlowTaskExpr drop_flow_task = 1;</code> * <code>.greptime.v1.DropFlowExpr drop_flow = 1;</code>
*/ */
private com.google.protobuf.SingleFieldBuilderV3< private com.google.protobuf.SingleFieldBuilderV3<
io.greptime.v1.Ddl.DropFlowTaskExpr, io.greptime.v1.Ddl.DropFlowTaskExpr.Builder, io.greptime.v1.Ddl.DropFlowTaskExprOrBuilder> io.greptime.v1.Ddl.DropFlowExpr, io.greptime.v1.Ddl.DropFlowExpr.Builder, io.greptime.v1.Ddl.DropFlowExprOrBuilder>
getDropFlowTaskFieldBuilder() { getDropFlowFieldBuilder() {
if (dropFlowTaskBuilder_ == null) { if (dropFlowBuilder_ == null) {
dropFlowTaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< dropFlowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.greptime.v1.Ddl.DropFlowTaskExpr, io.greptime.v1.Ddl.DropFlowTaskExpr.Builder, io.greptime.v1.Ddl.DropFlowTaskExprOrBuilder>( io.greptime.v1.Ddl.DropFlowExpr, io.greptime.v1.Ddl.DropFlowExpr.Builder, io.greptime.v1.Ddl.DropFlowExprOrBuilder>(
getDropFlowTask(), getDropFlow(),
getParentForChildren(), getParentForChildren(),
isClean()); isClean());
dropFlowTask_ = null; dropFlow_ = null;
} }
return dropFlowTaskBuilder_; return dropFlowBuilder_;
} }
@java.lang.Override @java.lang.Override
public final Builder setUnknownFields( public final Builder setUnknownFields(
@@ -12849,38 +12849,38 @@ public final class Ddl {
"ask\"K\n\021TruncateTableTask\0226\n\016truncate_tab" + "ask\"K\n\021TruncateTableTask\0226\n\016truncate_tab" +
"le\030\001 \001(\0132\036.greptime.v1.TruncateTableExpr" + "le\030\001 \001(\0132\036.greptime.v1.TruncateTableExpr" +
"\"H\n\020DropDatabaseTask\0224\n\rdrop_database\030\001 " + "\"H\n\020DropDatabaseTask\0224\n\rdrop_database\030\001 " +
"\001(\0132\035.greptime.v1.DropDatabaseExpr\"K\n\016Cr" + "\001(\0132\035.greptime.v1.DropDatabaseExpr\"B\n\016Cr" +
"eateFlowTask\0229\n\020create_flow_task\030\001 \001(\0132\037" + "eateFlowTask\0220\n\013create_flow\030\001 \001(\0132\033.grep" +
".greptime.v1.CreateFlowTaskExpr\"E\n\014DropF" + "time.v1.CreateFlowExpr\"<\n\014DropFlowTask\022," +
"lowTask\0225\n\016drop_flow_task\030\001 \001(\0132\035.grepti" + "\n\tdrop_flow\030\001 \001(\0132\031.greptime.v1.DropFlow" +
"me.v1.DropFlowTaskExpr\"\207\006\n\016DdlTaskReques" + "Expr\"\207\006\n\016DdlTaskRequest\022/\n\006header\030\001 \001(\0132" +
"t\022/\n\006header\030\001 \001(\0132\037.greptime.v1.meta.Req" + "\037.greptime.v1.meta.RequestHeader\022>\n\021crea" +
"uestHeader\022>\n\021create_table_task\030\002 \001(\0132!." + "te_table_task\030\002 \001(\0132!.greptime.v1.meta.C" +
"greptime.v1.meta.CreateTableTaskH\000\022:\n\017dr" + "reateTableTaskH\000\022:\n\017drop_table_task\030\003 \001(" +
"op_table_task\030\003 \001(\0132\037.greptime.v1.meta.D" + "\0132\037.greptime.v1.meta.DropTableTaskH\000\022<\n\020" +
"ropTableTaskH\000\022<\n\020alter_table_task\030\004 \001(\013" + "alter_table_task\030\004 \001(\0132 .greptime.v1.met" +
"2 .greptime.v1.meta.AlterTableTaskH\000\022B\n\023" + "a.AlterTableTaskH\000\022B\n\023truncate_table_tas" +
"truncate_table_task\030\005 \001(\0132#.greptime.v1." + "k\030\005 \001(\0132#.greptime.v1.meta.TruncateTable" +
"meta.TruncateTableTaskH\000\022@\n\022create_table" + "TaskH\000\022@\n\022create_table_tasks\030\006 \001(\0132\".gre" +
"_tasks\030\006 \001(\0132\".greptime.v1.meta.CreateTa" + "ptime.v1.meta.CreateTableTasksH\000\022<\n\020drop" +
"bleTasksH\000\022<\n\020drop_table_tasks\030\007 \001(\0132 .g" + "_table_tasks\030\007 \001(\0132 .greptime.v1.meta.Dr" +
"reptime.v1.meta.DropTableTasksH\000\022>\n\021alte" + "opTableTasksH\000\022>\n\021alter_table_tasks\030\010 \001(" +
"r_table_tasks\030\010 \001(\0132!.greptime.v1.meta.A" + "\0132!.greptime.v1.meta.AlterTableTasksH\000\022@" +
"lterTableTasksH\000\022@\n\022drop_database_task\030\t" + "\n\022drop_database_task\030\t \001(\0132\".greptime.v1" +
" \001(\0132\".greptime.v1.meta.DropDatabaseTask" + ".meta.DropDatabaseTaskH\000\022D\n\024create_datab" +
"H\000\022D\n\024create_database_task\030\n \001(\0132$.grept" + "ase_task\030\n \001(\0132$.greptime.v1.meta.Create" +
"ime.v1.meta.CreateDatabaseTaskH\000\022<\n\020crea" + "DatabaseTaskH\000\022<\n\020create_flow_task\030\013 \001(\013" +
"te_flow_task\030\013 \001(\0132 .greptime.v1.meta.Cr" + "2 .greptime.v1.meta.CreateFlowTaskH\000\0228\n\016" +
"eateFlowTaskH\000\0228\n\016drop_flow_task\030\014 \001(\0132\036" + "drop_flow_task\030\014 \001(\0132\036.greptime.v1.meta." +
".greptime.v1.meta.DropFlowTaskH\000B\006\n\004task" + "DropFlowTaskH\000B\006\n\004task\"\312\001\n\017DdlTaskRespon" +
"\"\312\001\n\017DdlTaskResponse\0220\n\006header\030\001 \001(\0132 .g" + "se\0220\n\006header\030\001 \001(\0132 .greptime.v1.meta.Re" +
"reptime.v1.meta.ResponseHeader\022*\n\003pid\030\002 " + "sponseHeader\022*\n\003pid\030\002 \001(\0132\035.greptime.v1." +
"\001(\0132\035.greptime.v1.meta.ProcedureId\022+\n\010ta" + "meta.ProcedureId\022+\n\010table_id\030\004 \001(\0132\031.gre" +
"ble_id\030\004 \001(\0132\031.greptime.v1.meta.TableId\022" + "ptime.v1.meta.TableId\022,\n\ttable_ids\030\005 \003(\013" +
",\n\ttable_ids\030\005 \003(\0132\031.greptime.v1.meta.Ta" + "2\031.greptime.v1.meta.TableId*#\n\013DdlTaskTy" +
"bleId*#\n\013DdlTaskType\022\n\n\006Create\020\000\022\010\n\004Drop" + "pe\022\n\n\006Create\020\000\022\010\n\004Drop\020\001B<Z:github.com/G" +
"\020\001B<Z:github.com/GreptimeTeam/greptime-p" + "reptimeTeam/greptime-proto/go/greptime/v" +
"roto/go/greptime/v1/metab\006proto3" "1/metab\006proto3"
}; };
descriptor = com.google.protobuf.Descriptors.FileDescriptor descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData, .internalBuildGeneratedFileFrom(descriptorData,
@@ -12948,13 +12948,13 @@ public final class Ddl {
internal_static_greptime_v1_meta_CreateFlowTask_fieldAccessorTable = new internal_static_greptime_v1_meta_CreateFlowTask_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_greptime_v1_meta_CreateFlowTask_descriptor, internal_static_greptime_v1_meta_CreateFlowTask_descriptor,
new java.lang.String[] { "CreateFlowTask", }); new java.lang.String[] { "CreateFlow", });
internal_static_greptime_v1_meta_DropFlowTask_descriptor = internal_static_greptime_v1_meta_DropFlowTask_descriptor =
getDescriptor().getMessageTypes().get(10); getDescriptor().getMessageTypes().get(10);
internal_static_greptime_v1_meta_DropFlowTask_fieldAccessorTable = new internal_static_greptime_v1_meta_DropFlowTask_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_greptime_v1_meta_DropFlowTask_descriptor, internal_static_greptime_v1_meta_DropFlowTask_descriptor,
new java.lang.String[] { "DropFlowTask", }); new java.lang.String[] { "DropFlow", });
internal_static_greptime_v1_meta_DdlTaskRequest_descriptor = internal_static_greptime_v1_meta_DdlTaskRequest_descriptor =
getDescriptor().getMessageTypes().get(11); getDescriptor().getMessageTypes().get(11);
internal_static_greptime_v1_meta_DdlTaskRequest_fieldAccessorTable = new internal_static_greptime_v1_meta_DdlTaskRequest_fieldAccessorTable = new
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+9 -9
View File
@@ -33,15 +33,15 @@ message DdlRequest {
AlterExpr alter = 3; AlterExpr alter = 3;
DropTableExpr drop_table = 4; DropTableExpr drop_table = 4;
TruncateTableExpr truncate_table = 7; TruncateTableExpr truncate_table = 7;
CreateFlowTaskExpr create_flow_task = 8; CreateFlowExpr create_flow = 8;
DropFlowTaskExpr drop_flow_task = 9; DropFlowExpr drop_flow = 9;
} }
} }
// Create a flow task to run the SQL when new data arrives. // Create a flow to run the SQL when new data arrives.
message CreateFlowTaskExpr { message CreateFlowExpr {
string catalog_name = 1; string catalog_name = 1;
string task_name = 2; string flow_name = 2;
repeated TableName source_table_names = 3; repeated TableName source_table_names = 3;
TableName sink_table_name = 4; TableName sink_table_name = 4;
bool or_replace = 5; bool or_replace = 5;
@@ -49,13 +49,13 @@ message CreateFlowTaskExpr {
string expire_when = 7; string expire_when = 7;
string comment = 8; string comment = 8;
string sql = 9; string sql = 9;
map<string, string> task_options = 10; map<string, string> flow_options = 10;
} }
// Remove a flow task. // Drop a flow.
message DropFlowTaskExpr { message DropFlowExpr {
string catalog_name = 1; string catalog_name = 1;
string task_name = 2; string flow_name = 2;
} }
message CreateTableExpr { message CreateTableExpr {
+5 -5
View File
@@ -43,7 +43,7 @@ message InsertRequest {
message FlowRequest { message FlowRequest {
oneof body { oneof body {
CreateRequest create = 1; CreateRequest create = 1;
RemoveRequest remove = 2; DropRequest drop = 2;
} }
} }
@@ -55,21 +55,21 @@ message FlowResponse {
repeated TaskId affected_tasks = 4; repeated TaskId affected_tasks = 4;
} }
// Create a flow task // Create a flow
// //
// Very similar to `ddl.CreateTaskExpr`, // Very similar to `ddl.CreateTaskExpr`,
// replace `source_table_names` with `source_table_ids` // replace `source_table_names` with `source_table_ids`
message CreateRequest { message CreateRequest {
TaskId task_id = 1; TaskId flow_id = 1;
repeated TableId source_table_ids = 2; repeated TableId source_table_ids = 2;
TableName sink_table_name = 3; TableName sink_table_name = 3;
bool create_if_not_exists = 4; bool create_if_not_exists = 4;
string expire_when = 5; string expire_when = 5;
string comment = 6; string comment = 6;
string sql = 7; string sql = 7;
map<string, string> task_options = 8; map<string, string> flow_options = 8;
} }
message RemoveRequest { TaskId task_id = 1; } message DropRequest { TaskId flow_id = 1; }
message TaskId { uint32 id = 1; } message TaskId { uint32 id = 1; }
+2 -2
View File
@@ -60,11 +60,11 @@ message DropDatabaseTask {
} }
message CreateFlowTask { message CreateFlowTask {
CreateFlowTaskExpr create_flow_task = 1; CreateFlowExpr create_flow = 1;
} }
message DropFlowTask { message DropFlowTask {
DropFlowTaskExpr drop_flow_task = 1; DropFlowExpr drop_flow = 1;
} }
message DdlTaskRequest { message DdlTaskRequest {