feat: add flow_id and drop_if_exists to DropFlowExpr (#164)
* feat: add `flow_id` and `drop_if_exists` to `DropFlowExpr` * chore: apply suggestions from CR * chore: generate code
This commit is contained in:
+366
-82
@@ -73,6 +73,8 @@ PROTOBUF_CONSTEXPR DropFlowExpr::DropFlowExpr(
|
||||
::_pbi::ConstantInitialized): _impl_{
|
||||
/*decltype(_impl_.catalog_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
||||
, /*decltype(_impl_.flow_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
||||
, /*decltype(_impl_.flow_id_)*/nullptr
|
||||
, /*decltype(_impl_.drop_if_exists_)*/false
|
||||
, /*decltype(_impl_._cached_size_)*/{}} {}
|
||||
struct DropFlowExprDefaultTypeInternal {
|
||||
PROTOBUF_CONSTEXPR DropFlowExprDefaultTypeInternal()
|
||||
@@ -316,6 +318,19 @@ struct TableIdDefaultTypeInternal {
|
||||
};
|
||||
};
|
||||
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TableIdDefaultTypeInternal _TableId_default_instance_;
|
||||
PROTOBUF_CONSTEXPR FlowId::FlowId(
|
||||
::_pbi::ConstantInitialized): _impl_{
|
||||
/*decltype(_impl_.id_)*/0u
|
||||
, /*decltype(_impl_._cached_size_)*/{}} {}
|
||||
struct FlowIdDefaultTypeInternal {
|
||||
PROTOBUF_CONSTEXPR FlowIdDefaultTypeInternal()
|
||||
: _instance(::_pbi::ConstantInitialized{}) {}
|
||||
~FlowIdDefaultTypeInternal() {}
|
||||
union {
|
||||
FlowId _instance;
|
||||
};
|
||||
};
|
||||
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FlowIdDefaultTypeInternal _FlowId_default_instance_;
|
||||
PROTOBUF_CONSTEXPR ColumnDef::ColumnDef(
|
||||
::_pbi::ConstantInitialized): _impl_{
|
||||
/*decltype(_impl_.name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
||||
@@ -351,7 +366,7 @@ struct AddColumnLocationDefaultTypeInternal {
|
||||
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AddColumnLocationDefaultTypeInternal _AddColumnLocation_default_instance_;
|
||||
} // namespace v1
|
||||
} // namespace greptime
|
||||
static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fddl_2eproto[22];
|
||||
static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fddl_2eproto[23];
|
||||
static const ::_pb::EnumDescriptor* file_level_enum_descriptors_greptime_2fv1_2fddl_2eproto[1];
|
||||
static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_greptime_2fv1_2fddl_2eproto = nullptr;
|
||||
|
||||
@@ -404,6 +419,8 @@ const uint32_t TableStruct_greptime_2fv1_2fddl_2eproto::offsets[] PROTOBUF_SECTI
|
||||
~0u, // no _inlined_string_donated_
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::DropFlowExpr, _impl_.catalog_name_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::DropFlowExpr, _impl_.flow_name_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::DropFlowExpr, _impl_.flow_id_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::DropFlowExpr, _impl_.drop_if_exists_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::CreateTableExpr_TableOptionsEntry_DoNotUse, _has_bits_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::CreateTableExpr_TableOptionsEntry_DoNotUse, _internal_metadata_),
|
||||
~0u, // no _extensions_
|
||||
@@ -555,6 +572,13 @@ const uint32_t TableStruct_greptime_2fv1_2fddl_2eproto::offsets[] PROTOBUF_SECTI
|
||||
~0u, // no _inlined_string_donated_
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::TableId, _impl_.id_),
|
||||
~0u, // no _has_bits_
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::FlowId, _internal_metadata_),
|
||||
~0u, // no _extensions_
|
||||
~0u, // no _oneof_case_
|
||||
~0u, // no _weak_field_map_
|
||||
~0u, // no _inlined_string_donated_
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::FlowId, _impl_.id_),
|
||||
~0u, // no _has_bits_
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::ColumnDef, _internal_metadata_),
|
||||
~0u, // no _extensions_
|
||||
~0u, // no _oneof_case_
|
||||
@@ -581,24 +605,25 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode
|
||||
{ 14, 22, -1, sizeof(::greptime::v1::CreateFlowExpr_FlowOptionsEntry_DoNotUse)},
|
||||
{ 24, -1, -1, sizeof(::greptime::v1::CreateFlowExpr)},
|
||||
{ 40, -1, -1, sizeof(::greptime::v1::DropFlowExpr)},
|
||||
{ 48, 56, -1, sizeof(::greptime::v1::CreateTableExpr_TableOptionsEntry_DoNotUse)},
|
||||
{ 58, -1, -1, sizeof(::greptime::v1::CreateTableExpr)},
|
||||
{ 75, -1, -1, sizeof(::greptime::v1::AlterExpr)},
|
||||
{ 89, -1, -1, sizeof(::greptime::v1::DropTableExpr)},
|
||||
{ 100, 108, -1, sizeof(::greptime::v1::CreateDatabaseExpr_OptionsEntry_DoNotUse)},
|
||||
{ 110, -1, -1, sizeof(::greptime::v1::CreateDatabaseExpr)},
|
||||
{ 120, -1, -1, sizeof(::greptime::v1::TruncateTableExpr)},
|
||||
{ 130, -1, -1, sizeof(::greptime::v1::DropDatabaseExpr)},
|
||||
{ 139, -1, -1, sizeof(::greptime::v1::AddColumns)},
|
||||
{ 146, -1, -1, sizeof(::greptime::v1::DropColumns)},
|
||||
{ 153, -1, -1, sizeof(::greptime::v1::ChangeColumnTypes)},
|
||||
{ 160, -1, -1, sizeof(::greptime::v1::RenameTable)},
|
||||
{ 167, -1, -1, sizeof(::greptime::v1::AddColumn)},
|
||||
{ 175, -1, -1, sizeof(::greptime::v1::ChangeColumnType)},
|
||||
{ 184, -1, -1, sizeof(::greptime::v1::DropColumn)},
|
||||
{ 191, -1, -1, sizeof(::greptime::v1::TableId)},
|
||||
{ 198, -1, -1, sizeof(::greptime::v1::ColumnDef)},
|
||||
{ 211, -1, -1, sizeof(::greptime::v1::AddColumnLocation)},
|
||||
{ 50, 58, -1, sizeof(::greptime::v1::CreateTableExpr_TableOptionsEntry_DoNotUse)},
|
||||
{ 60, -1, -1, sizeof(::greptime::v1::CreateTableExpr)},
|
||||
{ 77, -1, -1, sizeof(::greptime::v1::AlterExpr)},
|
||||
{ 91, -1, -1, sizeof(::greptime::v1::DropTableExpr)},
|
||||
{ 102, 110, -1, sizeof(::greptime::v1::CreateDatabaseExpr_OptionsEntry_DoNotUse)},
|
||||
{ 112, -1, -1, sizeof(::greptime::v1::CreateDatabaseExpr)},
|
||||
{ 122, -1, -1, sizeof(::greptime::v1::TruncateTableExpr)},
|
||||
{ 132, -1, -1, sizeof(::greptime::v1::DropDatabaseExpr)},
|
||||
{ 141, -1, -1, sizeof(::greptime::v1::AddColumns)},
|
||||
{ 148, -1, -1, sizeof(::greptime::v1::DropColumns)},
|
||||
{ 155, -1, -1, sizeof(::greptime::v1::ChangeColumnTypes)},
|
||||
{ 162, -1, -1, sizeof(::greptime::v1::RenameTable)},
|
||||
{ 169, -1, -1, sizeof(::greptime::v1::AddColumn)},
|
||||
{ 177, -1, -1, sizeof(::greptime::v1::ChangeColumnType)},
|
||||
{ 186, -1, -1, sizeof(::greptime::v1::DropColumn)},
|
||||
{ 193, -1, -1, sizeof(::greptime::v1::TableId)},
|
||||
{ 200, -1, -1, sizeof(::greptime::v1::FlowId)},
|
||||
{ 207, -1, -1, sizeof(::greptime::v1::ColumnDef)},
|
||||
{ 220, -1, -1, sizeof(::greptime::v1::AddColumnLocation)},
|
||||
};
|
||||
|
||||
static const ::_pb::Message* const file_default_instances[] = {
|
||||
@@ -622,6 +647,7 @@ static const ::_pb::Message* const file_default_instances[] = {
|
||||
&::greptime::v1::_ChangeColumnType_default_instance_._instance,
|
||||
&::greptime::v1::_DropColumn_default_instance_._instance,
|
||||
&::greptime::v1::_TableId_default_instance_._instance,
|
||||
&::greptime::v1::_FlowId_default_instance_._instance,
|
||||
&::greptime::v1::_ColumnDef_default_instance_._instance,
|
||||
&::greptime::v1::_AddColumnLocation_default_instance_._instance,
|
||||
};
|
||||
@@ -647,75 +673,78 @@ const char descriptor_table_protodef_greptime_2fv1_2fddl_2eproto[] PROTOBUF_SECT
|
||||
"\022\017\n\007comment\030\010 \001(\t\022\013\n\003sql\030\t \001(\t\022B\n\014flow_o"
|
||||
"ptions\030\n \003(\0132,.greptime.v1.CreateFlowExp"
|
||||
"r.FlowOptionsEntry\0322\n\020FlowOptionsEntry\022\013"
|
||||
"\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"7\n\014DropFl"
|
||||
"\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"u\n\014DropFl"
|
||||
"owExpr\022\024\n\014catalog_name\030\001 \001(\t\022\021\n\tflow_nam"
|
||||
"e\030\002 \001(\t\"\207\003\n\017CreateTableExpr\022\024\n\014catalog_n"
|
||||
"ame\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\022\n\ntable_"
|
||||
"name\030\003 \001(\t\022\014\n\004desc\030\004 \001(\t\022+\n\013column_defs\030"
|
||||
"\005 \003(\0132\026.greptime.v1.ColumnDef\022\022\n\ntime_in"
|
||||
"dex\030\006 \001(\t\022\024\n\014primary_keys\030\007 \003(\t\022\034\n\024creat"
|
||||
"e_if_not_exists\030\010 \001(\010\022E\n\rtable_options\030\t"
|
||||
" \003(\0132..greptime.v1.CreateTableExpr.Table"
|
||||
"OptionsEntry\022&\n\010table_id\030\n \001(\0132\024.greptim"
|
||||
"e.v1.TableId\022\016\n\006engine\030\014 \001(\t\0323\n\021TableOpt"
|
||||
"ionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028"
|
||||
"\001\"\245\002\n\tAlterExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n"
|
||||
"\013schema_name\030\002 \001(\t\022\022\n\ntable_name\030\003 \001(\t\022."
|
||||
"\n\013add_columns\030\004 \001(\0132\027.greptime.v1.AddCol"
|
||||
"umnsH\000\0220\n\014drop_columns\030\005 \001(\0132\030.greptime."
|
||||
"v1.DropColumnsH\000\0220\n\014rename_table\030\006 \001(\0132\030"
|
||||
".greptime.v1.RenameTableH\000\022=\n\023change_col"
|
||||
"umn_types\030\007 \001(\0132\036.greptime.v1.ChangeColu"
|
||||
"mnTypesH\000B\006\n\004kind\"\216\001\n\rDropTableExpr\022\024\n\014c"
|
||||
"atalog_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\022"
|
||||
"\n\ntable_name\030\003 \001(\t\022&\n\010table_id\030\004 \001(\0132\024.g"
|
||||
"reptime.v1.TableId\022\026\n\016drop_if_exists\030\005 \001"
|
||||
"(\010\"\314\001\n\022CreateDatabaseExpr\022\024\n\014catalog_nam"
|
||||
"e\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\034\n\024create_i"
|
||||
"f_not_exists\030\003 \001(\010\022=\n\007options\030\004 \003(\0132,.gr"
|
||||
"eptime.v1.CreateDatabaseExpr.OptionsEntr"
|
||||
"y\032.\n\014OptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030"
|
||||
"\002 \001(\t:\0028\001\"z\n\021TruncateTableExpr\022\024\n\014catalo"
|
||||
"g_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\022\n\ntab"
|
||||
"le_name\030\003 \001(\t\022&\n\010table_id\030\004 \001(\0132\024.grepti"
|
||||
"me.v1.TableId\"U\n\020DropDatabaseExpr\022\024\n\014cat"
|
||||
"alog_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\026\n\016"
|
||||
"drop_if_exists\030\003 \001(\010\"9\n\nAddColumns\022+\n\013ad"
|
||||
"d_columns\030\001 \003(\0132\026.greptime.v1.AddColumn\""
|
||||
"<\n\013DropColumns\022-\n\014drop_columns\030\001 \003(\0132\027.g"
|
||||
"reptime.v1.DropColumn\"O\n\021ChangeColumnTyp"
|
||||
"es\022:\n\023change_column_types\030\001 \003(\0132\035.grepti"
|
||||
"me.v1.ChangeColumnType\"%\n\013RenameTable\022\026\n"
|
||||
"\016new_table_name\030\001 \001(\t\"i\n\tAddColumn\022*\n\nco"
|
||||
"lumn_def\030\001 \001(\0132\026.greptime.v1.ColumnDef\0220"
|
||||
"\n\010location\030\003 \001(\0132\036.greptime.v1.AddColumn"
|
||||
"Location\"\236\001\n\020ChangeColumnType\022\023\n\013column_"
|
||||
"name\030\001 \001(\t\0220\n\013target_type\030\002 \001(\0162\033.grepti"
|
||||
"me.v1.ColumnDataType\022C\n\025target_type_exte"
|
||||
"nsion\030\003 \001(\0132$.greptime.v1.ColumnDataType"
|
||||
"Extension\"\032\n\nDropColumn\022\014\n\004name\030\001 \001(\t\"\025\n"
|
||||
"\007TableId\022\n\n\002id\030\001 \001(\r\"\377\001\n\tColumnDef\022\014\n\004na"
|
||||
"me\030\001 \001(\t\022.\n\tdata_type\030\002 \001(\0162\033.greptime.v"
|
||||
"1.ColumnDataType\022\023\n\013is_nullable\030\003 \001(\010\022\032\n"
|
||||
"\022default_constraint\030\004 \001(\014\0220\n\rsemantic_ty"
|
||||
"pe\030\005 \001(\0162\031.greptime.v1.SemanticType\022\017\n\007c"
|
||||
"omment\030\006 \001(\t\022@\n\022datatype_extension\030\007 \001(\013"
|
||||
"2$.greptime.v1.ColumnDataTypeExtension\"\230"
|
||||
"\001\n\021AddColumnLocation\022B\n\rlocation_type\030\001 "
|
||||
"\001(\0162+.greptime.v1.AddColumnLocation.Loca"
|
||||
"tionType\022\031\n\021after_column_name\030\002 \001(\t\"$\n\014L"
|
||||
"ocationType\022\t\n\005FIRST\020\000\022\t\n\005AFTER\020\001BL\n\016io."
|
||||
"greptime.v1B\003DdlZ5github.com/GreptimeTea"
|
||||
"m/greptime-proto/go/greptime/v1b\006proto3"
|
||||
"e\030\002 \001(\t\022$\n\007flow_id\030\003 \001(\0132\023.greptime.v1.F"
|
||||
"lowId\022\026\n\016drop_if_exists\030\005 \001(\010\"\207\003\n\017Create"
|
||||
"TableExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schem"
|
||||
"a_name\030\002 \001(\t\022\022\n\ntable_name\030\003 \001(\t\022\014\n\004desc"
|
||||
"\030\004 \001(\t\022+\n\013column_defs\030\005 \003(\0132\026.greptime.v"
|
||||
"1.ColumnDef\022\022\n\ntime_index\030\006 \001(\t\022\024\n\014prima"
|
||||
"ry_keys\030\007 \003(\t\022\034\n\024create_if_not_exists\030\010 "
|
||||
"\001(\010\022E\n\rtable_options\030\t \003(\0132..greptime.v1"
|
||||
".CreateTableExpr.TableOptionsEntry\022&\n\010ta"
|
||||
"ble_id\030\n \001(\0132\024.greptime.v1.TableId\022\016\n\006en"
|
||||
"gine\030\014 \001(\t\0323\n\021TableOptionsEntry\022\013\n\003key\030\001"
|
||||
" \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\245\002\n\tAlterExpr\022\024\n"
|
||||
"\014catalog_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t"
|
||||
"\022\022\n\ntable_name\030\003 \001(\t\022.\n\013add_columns\030\004 \001("
|
||||
"\0132\027.greptime.v1.AddColumnsH\000\0220\n\014drop_col"
|
||||
"umns\030\005 \001(\0132\030.greptime.v1.DropColumnsH\000\0220"
|
||||
"\n\014rename_table\030\006 \001(\0132\030.greptime.v1.Renam"
|
||||
"eTableH\000\022=\n\023change_column_types\030\007 \001(\0132\036."
|
||||
"greptime.v1.ChangeColumnTypesH\000B\006\n\004kind\""
|
||||
"\216\001\n\rDropTableExpr\022\024\n\014catalog_name\030\001 \001(\t\022"
|
||||
"\023\n\013schema_name\030\002 \001(\t\022\022\n\ntable_name\030\003 \001(\t"
|
||||
"\022&\n\010table_id\030\004 \001(\0132\024.greptime.v1.TableId"
|
||||
"\022\026\n\016drop_if_exists\030\005 \001(\010\"\314\001\n\022CreateDatab"
|
||||
"aseExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_"
|
||||
"name\030\002 \001(\t\022\034\n\024create_if_not_exists\030\003 \001(\010"
|
||||
"\022=\n\007options\030\004 \003(\0132,.greptime.v1.CreateDa"
|
||||
"tabaseExpr.OptionsEntry\032.\n\014OptionsEntry\022"
|
||||
"\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"z\n\021Trunc"
|
||||
"ateTableExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013sc"
|
||||
"hema_name\030\002 \001(\t\022\022\n\ntable_name\030\003 \001(\t\022&\n\010t"
|
||||
"able_id\030\004 \001(\0132\024.greptime.v1.TableId\"U\n\020D"
|
||||
"ropDatabaseExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n"
|
||||
"\013schema_name\030\002 \001(\t\022\026\n\016drop_if_exists\030\003 \001"
|
||||
"(\010\"9\n\nAddColumns\022+\n\013add_columns\030\001 \003(\0132\026."
|
||||
"greptime.v1.AddColumn\"<\n\013DropColumns\022-\n\014"
|
||||
"drop_columns\030\001 \003(\0132\027.greptime.v1.DropCol"
|
||||
"umn\"O\n\021ChangeColumnTypes\022:\n\023change_colum"
|
||||
"n_types\030\001 \003(\0132\035.greptime.v1.ChangeColumn"
|
||||
"Type\"%\n\013RenameTable\022\026\n\016new_table_name\030\001 "
|
||||
"\001(\t\"i\n\tAddColumn\022*\n\ncolumn_def\030\001 \001(\0132\026.g"
|
||||
"reptime.v1.ColumnDef\0220\n\010location\030\003 \001(\0132\036"
|
||||
".greptime.v1.AddColumnLocation\"\236\001\n\020Chang"
|
||||
"eColumnType\022\023\n\013column_name\030\001 \001(\t\0220\n\013targ"
|
||||
"et_type\030\002 \001(\0162\033.greptime.v1.ColumnDataTy"
|
||||
"pe\022C\n\025target_type_extension\030\003 \001(\0132$.grep"
|
||||
"time.v1.ColumnDataTypeExtension\"\032\n\nDropC"
|
||||
"olumn\022\014\n\004name\030\001 \001(\t\"\025\n\007TableId\022\n\n\002id\030\001 \001"
|
||||
"(\r\"\024\n\006FlowId\022\n\n\002id\030\001 \001(\r\"\377\001\n\tColumnDef\022\014"
|
||||
"\n\004name\030\001 \001(\t\022.\n\tdata_type\030\002 \001(\0162\033.grepti"
|
||||
"me.v1.ColumnDataType\022\023\n\013is_nullable\030\003 \001("
|
||||
"\010\022\032\n\022default_constraint\030\004 \001(\014\0220\n\rsemanti"
|
||||
"c_type\030\005 \001(\0162\031.greptime.v1.SemanticType\022"
|
||||
"\017\n\007comment\030\006 \001(\t\022@\n\022datatype_extension\030\007"
|
||||
" \001(\0132$.greptime.v1.ColumnDataTypeExtensi"
|
||||
"on\"\230\001\n\021AddColumnLocation\022B\n\rlocation_typ"
|
||||
"e\030\001 \001(\0162+.greptime.v1.AddColumnLocation."
|
||||
"LocationType\022\031\n\021after_column_name\030\002 \001(\t\""
|
||||
"$\n\014LocationType\022\t\n\005FIRST\020\000\022\t\n\005AFTER\020\001BL\n"
|
||||
"\016io.greptime.v1B\003DdlZ5github.com/Greptim"
|
||||
"eTeam/greptime-proto/go/greptime/v1b\006pro"
|
||||
"to3"
|
||||
;
|
||||
static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fddl_2eproto_deps[1] = {
|
||||
&::descriptor_table_greptime_2fv1_2fcommon_2eproto,
|
||||
};
|
||||
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fddl_2eproto_once;
|
||||
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fddl_2eproto = {
|
||||
false, false, 3199, descriptor_table_protodef_greptime_2fv1_2fddl_2eproto,
|
||||
false, false, 3283, descriptor_table_protodef_greptime_2fv1_2fddl_2eproto,
|
||||
"greptime/v1/ddl.proto",
|
||||
&descriptor_table_greptime_2fv1_2fddl_2eproto_once, descriptor_table_greptime_2fv1_2fddl_2eproto_deps, 1, 22,
|
||||
&descriptor_table_greptime_2fv1_2fddl_2eproto_once, descriptor_table_greptime_2fv1_2fddl_2eproto_deps, 1, 23,
|
||||
schemas, file_default_instances, TableStruct_greptime_2fv1_2fddl_2eproto::offsets,
|
||||
file_level_metadata_greptime_2fv1_2fddl_2eproto, file_level_enum_descriptors_greptime_2fv1_2fddl_2eproto,
|
||||
file_level_service_descriptors_greptime_2fv1_2fddl_2eproto,
|
||||
@@ -1978,8 +2007,13 @@ void CreateFlowExpr::InternalSwap(CreateFlowExpr* other) {
|
||||
|
||||
class DropFlowExpr::_Internal {
|
||||
public:
|
||||
static const ::greptime::v1::FlowId& flow_id(const DropFlowExpr* msg);
|
||||
};
|
||||
|
||||
const ::greptime::v1::FlowId&
|
||||
DropFlowExpr::_Internal::flow_id(const DropFlowExpr* msg) {
|
||||
return *msg->_impl_.flow_id_;
|
||||
}
|
||||
DropFlowExpr::DropFlowExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||
bool is_message_owned)
|
||||
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
|
||||
@@ -1992,6 +2026,8 @@ DropFlowExpr::DropFlowExpr(const DropFlowExpr& from)
|
||||
new (&_impl_) Impl_{
|
||||
decltype(_impl_.catalog_name_){}
|
||||
, decltype(_impl_.flow_name_){}
|
||||
, decltype(_impl_.flow_id_){nullptr}
|
||||
, decltype(_impl_.drop_if_exists_){}
|
||||
, /*decltype(_impl_._cached_size_)*/{}};
|
||||
|
||||
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||
@@ -2011,6 +2047,10 @@ DropFlowExpr::DropFlowExpr(const DropFlowExpr& from)
|
||||
_this->_impl_.flow_name_.Set(from._internal_flow_name(),
|
||||
_this->GetArenaForAllocation());
|
||||
}
|
||||
if (from._internal_has_flow_id()) {
|
||||
_this->_impl_.flow_id_ = new ::greptime::v1::FlowId(*from._impl_.flow_id_);
|
||||
}
|
||||
_this->_impl_.drop_if_exists_ = from._impl_.drop_if_exists_;
|
||||
// @@protoc_insertion_point(copy_constructor:greptime.v1.DropFlowExpr)
|
||||
}
|
||||
|
||||
@@ -2021,6 +2061,8 @@ inline void DropFlowExpr::SharedCtor(
|
||||
new (&_impl_) Impl_{
|
||||
decltype(_impl_.catalog_name_){}
|
||||
, decltype(_impl_.flow_name_){}
|
||||
, decltype(_impl_.flow_id_){nullptr}
|
||||
, decltype(_impl_.drop_if_exists_){false}
|
||||
, /*decltype(_impl_._cached_size_)*/{}
|
||||
};
|
||||
_impl_.catalog_name_.InitDefault();
|
||||
@@ -2046,6 +2088,7 @@ inline void DropFlowExpr::SharedDtor() {
|
||||
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
|
||||
_impl_.catalog_name_.Destroy();
|
||||
_impl_.flow_name_.Destroy();
|
||||
if (this != internal_default_instance()) delete _impl_.flow_id_;
|
||||
}
|
||||
|
||||
void DropFlowExpr::SetCachedSize(int size) const {
|
||||
@@ -2060,6 +2103,11 @@ void DropFlowExpr::Clear() {
|
||||
|
||||
_impl_.catalog_name_.ClearToEmpty();
|
||||
_impl_.flow_name_.ClearToEmpty();
|
||||
if (GetArenaForAllocation() == nullptr && _impl_.flow_id_ != nullptr) {
|
||||
delete _impl_.flow_id_;
|
||||
}
|
||||
_impl_.flow_id_ = nullptr;
|
||||
_impl_.drop_if_exists_ = false;
|
||||
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
||||
}
|
||||
|
||||
@@ -2089,6 +2137,22 @@ const char* DropFlowExpr::_InternalParse(const char* ptr, ::_pbi::ParseContext*
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
// .greptime.v1.FlowId flow_id = 3;
|
||||
case 3:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
|
||||
ptr = ctx->ParseMessage(_internal_mutable_flow_id(), ptr);
|
||||
CHK_(ptr);
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
// bool drop_if_exists = 5;
|
||||
case 5:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 40)) {
|
||||
_impl_.drop_if_exists_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
|
||||
CHK_(ptr);
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
default:
|
||||
goto handle_unusual;
|
||||
} // switch
|
||||
@@ -2138,6 +2202,19 @@ uint8_t* DropFlowExpr::_InternalSerialize(
|
||||
2, this->_internal_flow_name(), target);
|
||||
}
|
||||
|
||||
// .greptime.v1.FlowId flow_id = 3;
|
||||
if (this->_internal_has_flow_id()) {
|
||||
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||
InternalWriteMessage(3, _Internal::flow_id(this),
|
||||
_Internal::flow_id(this).GetCachedSize(), target, stream);
|
||||
}
|
||||
|
||||
// bool drop_if_exists = 5;
|
||||
if (this->_internal_drop_if_exists() != 0) {
|
||||
target = stream->EnsureSpace(target);
|
||||
target = ::_pbi::WireFormatLite::WriteBoolToArray(5, this->_internal_drop_if_exists(), target);
|
||||
}
|
||||
|
||||
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
||||
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
||||
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
|
||||
@@ -2168,6 +2245,18 @@ size_t DropFlowExpr::ByteSizeLong() const {
|
||||
this->_internal_flow_name());
|
||||
}
|
||||
|
||||
// .greptime.v1.FlowId flow_id = 3;
|
||||
if (this->_internal_has_flow_id()) {
|
||||
total_size += 1 +
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
|
||||
*_impl_.flow_id_);
|
||||
}
|
||||
|
||||
// bool drop_if_exists = 5;
|
||||
if (this->_internal_drop_if_exists() != 0) {
|
||||
total_size += 1 + 1;
|
||||
}
|
||||
|
||||
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
||||
}
|
||||
|
||||
@@ -2192,6 +2281,13 @@ void DropFlowExpr::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::P
|
||||
if (!from._internal_flow_name().empty()) {
|
||||
_this->_internal_set_flow_name(from._internal_flow_name());
|
||||
}
|
||||
if (from._internal_has_flow_id()) {
|
||||
_this->_internal_mutable_flow_id()->::greptime::v1::FlowId::MergeFrom(
|
||||
from._internal_flow_id());
|
||||
}
|
||||
if (from._internal_drop_if_exists() != 0) {
|
||||
_this->_internal_set_drop_if_exists(from._internal_drop_if_exists());
|
||||
}
|
||||
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||
}
|
||||
|
||||
@@ -2219,6 +2315,12 @@ void DropFlowExpr::InternalSwap(DropFlowExpr* other) {
|
||||
&_impl_.flow_name_, lhs_arena,
|
||||
&other->_impl_.flow_name_, rhs_arena
|
||||
);
|
||||
::PROTOBUF_NAMESPACE_ID::internal::memswap<
|
||||
PROTOBUF_FIELD_OFFSET(DropFlowExpr, _impl_.drop_if_exists_)
|
||||
+ sizeof(DropFlowExpr::_impl_.drop_if_exists_)
|
||||
- PROTOBUF_FIELD_OFFSET(DropFlowExpr, _impl_.flow_id_)>(
|
||||
reinterpret_cast<char*>(&_impl_.flow_id_),
|
||||
reinterpret_cast<char*>(&other->_impl_.flow_id_));
|
||||
}
|
||||
|
||||
::PROTOBUF_NAMESPACE_ID::Metadata DropFlowExpr::GetMetadata() const {
|
||||
@@ -6509,6 +6611,184 @@ void TableId::InternalSwap(TableId* other) {
|
||||
|
||||
// ===================================================================
|
||||
|
||||
class FlowId::_Internal {
|
||||
public:
|
||||
};
|
||||
|
||||
FlowId::FlowId(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||
bool is_message_owned)
|
||||
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
|
||||
SharedCtor(arena, is_message_owned);
|
||||
// @@protoc_insertion_point(arena_constructor:greptime.v1.FlowId)
|
||||
}
|
||||
FlowId::FlowId(const FlowId& from)
|
||||
: ::PROTOBUF_NAMESPACE_ID::Message() {
|
||||
FlowId* const _this = this; (void)_this;
|
||||
new (&_impl_) Impl_{
|
||||
decltype(_impl_.id_){}
|
||||
, /*decltype(_impl_._cached_size_)*/{}};
|
||||
|
||||
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||
_this->_impl_.id_ = from._impl_.id_;
|
||||
// @@protoc_insertion_point(copy_constructor:greptime.v1.FlowId)
|
||||
}
|
||||
|
||||
inline void FlowId::SharedCtor(
|
||||
::_pb::Arena* arena, bool is_message_owned) {
|
||||
(void)arena;
|
||||
(void)is_message_owned;
|
||||
new (&_impl_) Impl_{
|
||||
decltype(_impl_.id_){0u}
|
||||
, /*decltype(_impl_._cached_size_)*/{}
|
||||
};
|
||||
}
|
||||
|
||||
FlowId::~FlowId() {
|
||||
// @@protoc_insertion_point(destructor:greptime.v1.FlowId)
|
||||
if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
|
||||
(void)arena;
|
||||
return;
|
||||
}
|
||||
SharedDtor();
|
||||
}
|
||||
|
||||
inline void FlowId::SharedDtor() {
|
||||
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
|
||||
}
|
||||
|
||||
void FlowId::SetCachedSize(int size) const {
|
||||
_impl_._cached_size_.Set(size);
|
||||
}
|
||||
|
||||
void FlowId::Clear() {
|
||||
// @@protoc_insertion_point(message_clear_start:greptime.v1.FlowId)
|
||||
uint32_t cached_has_bits = 0;
|
||||
// Prevent compiler warnings about cached_has_bits being unused
|
||||
(void) cached_has_bits;
|
||||
|
||||
_impl_.id_ = 0u;
|
||||
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
||||
}
|
||||
|
||||
const char* FlowId::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
|
||||
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
|
||||
while (!ctx->Done(&ptr)) {
|
||||
uint32_t tag;
|
||||
ptr = ::_pbi::ReadTag(ptr, &tag);
|
||||
switch (tag >> 3) {
|
||||
// uint32 id = 1;
|
||||
case 1:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
|
||||
_impl_.id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
|
||||
CHK_(ptr);
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
default:
|
||||
goto handle_unusual;
|
||||
} // switch
|
||||
handle_unusual:
|
||||
if ((tag == 0) || ((tag & 7) == 4)) {
|
||||
CHK_(ptr);
|
||||
ctx->SetLastTag(tag);
|
||||
goto message_done;
|
||||
}
|
||||
ptr = UnknownFieldParse(
|
||||
tag,
|
||||
_internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
|
||||
ptr, ctx);
|
||||
CHK_(ptr != nullptr);
|
||||
} // while
|
||||
message_done:
|
||||
return ptr;
|
||||
failure:
|
||||
ptr = nullptr;
|
||||
goto message_done;
|
||||
#undef CHK_
|
||||
}
|
||||
|
||||
uint8_t* FlowId::_InternalSerialize(
|
||||
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
|
||||
// @@protoc_insertion_point(serialize_to_array_start:greptime.v1.FlowId)
|
||||
uint32_t cached_has_bits = 0;
|
||||
(void) cached_has_bits;
|
||||
|
||||
// uint32 id = 1;
|
||||
if (this->_internal_id() != 0) {
|
||||
target = stream->EnsureSpace(target);
|
||||
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_id(), target);
|
||||
}
|
||||
|
||||
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
||||
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
||||
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
|
||||
}
|
||||
// @@protoc_insertion_point(serialize_to_array_end:greptime.v1.FlowId)
|
||||
return target;
|
||||
}
|
||||
|
||||
size_t FlowId::ByteSizeLong() const {
|
||||
// @@protoc_insertion_point(message_byte_size_start:greptime.v1.FlowId)
|
||||
size_t total_size = 0;
|
||||
|
||||
uint32_t cached_has_bits = 0;
|
||||
// Prevent compiler warnings about cached_has_bits being unused
|
||||
(void) cached_has_bits;
|
||||
|
||||
// uint32 id = 1;
|
||||
if (this->_internal_id() != 0) {
|
||||
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_id());
|
||||
}
|
||||
|
||||
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
||||
}
|
||||
|
||||
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData FlowId::_class_data_ = {
|
||||
::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
|
||||
FlowId::MergeImpl
|
||||
};
|
||||
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*FlowId::GetClassData() const { return &_class_data_; }
|
||||
|
||||
|
||||
void FlowId::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
|
||||
auto* const _this = static_cast<FlowId*>(&to_msg);
|
||||
auto& from = static_cast<const FlowId&>(from_msg);
|
||||
// @@protoc_insertion_point(class_specific_merge_from_start:greptime.v1.FlowId)
|
||||
GOOGLE_DCHECK_NE(&from, _this);
|
||||
uint32_t cached_has_bits = 0;
|
||||
(void) cached_has_bits;
|
||||
|
||||
if (from._internal_id() != 0) {
|
||||
_this->_internal_set_id(from._internal_id());
|
||||
}
|
||||
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||
}
|
||||
|
||||
void FlowId::CopyFrom(const FlowId& from) {
|
||||
// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.FlowId)
|
||||
if (&from == this) return;
|
||||
Clear();
|
||||
MergeFrom(from);
|
||||
}
|
||||
|
||||
bool FlowId::IsInitialized() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
void FlowId::InternalSwap(FlowId* other) {
|
||||
using std::swap;
|
||||
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
||||
swap(_impl_.id_, other->_impl_.id_);
|
||||
}
|
||||
|
||||
::PROTOBUF_NAMESPACE_ID::Metadata FlowId::GetMetadata() const {
|
||||
return ::_pbi::AssignDescriptors(
|
||||
&descriptor_table_greptime_2fv1_2fddl_2eproto_getter, &descriptor_table_greptime_2fv1_2fddl_2eproto_once,
|
||||
file_level_metadata_greptime_2fv1_2fddl_2eproto[20]);
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
|
||||
class ColumnDef::_Internal {
|
||||
public:
|
||||
static const ::greptime::v1::ColumnDataTypeExtension& datatype_extension(const ColumnDef* msg);
|
||||
@@ -6939,7 +7219,7 @@ void ColumnDef::InternalSwap(ColumnDef* other) {
|
||||
::PROTOBUF_NAMESPACE_ID::Metadata ColumnDef::GetMetadata() const {
|
||||
return ::_pbi::AssignDescriptors(
|
||||
&descriptor_table_greptime_2fv1_2fddl_2eproto_getter, &descriptor_table_greptime_2fv1_2fddl_2eproto_once,
|
||||
file_level_metadata_greptime_2fv1_2fddl_2eproto[20]);
|
||||
file_level_metadata_greptime_2fv1_2fddl_2eproto[21]);
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
@@ -7172,7 +7452,7 @@ void AddColumnLocation::InternalSwap(AddColumnLocation* other) {
|
||||
::PROTOBUF_NAMESPACE_ID::Metadata AddColumnLocation::GetMetadata() const {
|
||||
return ::_pbi::AssignDescriptors(
|
||||
&descriptor_table_greptime_2fv1_2fddl_2eproto_getter, &descriptor_table_greptime_2fv1_2fddl_2eproto_once,
|
||||
file_level_metadata_greptime_2fv1_2fddl_2eproto[21]);
|
||||
file_level_metadata_greptime_2fv1_2fddl_2eproto[22]);
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(namespace_scope)
|
||||
@@ -7259,6 +7539,10 @@ template<> PROTOBUF_NOINLINE ::greptime::v1::TableId*
|
||||
Arena::CreateMaybeMessage< ::greptime::v1::TableId >(Arena* arena) {
|
||||
return Arena::CreateMessageInternal< ::greptime::v1::TableId >(arena);
|
||||
}
|
||||
template<> PROTOBUF_NOINLINE ::greptime::v1::FlowId*
|
||||
Arena::CreateMaybeMessage< ::greptime::v1::FlowId >(Arena* arena) {
|
||||
return Arena::CreateMessageInternal< ::greptime::v1::FlowId >(arena);
|
||||
}
|
||||
template<> PROTOBUF_NOINLINE ::greptime::v1::ColumnDef*
|
||||
Arena::CreateMaybeMessage< ::greptime::v1::ColumnDef >(Arena* arena) {
|
||||
return Arena::CreateMessageInternal< ::greptime::v1::ColumnDef >(arena);
|
||||
|
||||
+321
-2
@@ -108,6 +108,9 @@ extern DropFlowExprDefaultTypeInternal _DropFlowExpr_default_instance_;
|
||||
class DropTableExpr;
|
||||
struct DropTableExprDefaultTypeInternal;
|
||||
extern DropTableExprDefaultTypeInternal _DropTableExpr_default_instance_;
|
||||
class FlowId;
|
||||
struct FlowIdDefaultTypeInternal;
|
||||
extern FlowIdDefaultTypeInternal _FlowId_default_instance_;
|
||||
class RenameTable;
|
||||
struct RenameTableDefaultTypeInternal;
|
||||
extern RenameTableDefaultTypeInternal _RenameTable_default_instance_;
|
||||
@@ -139,6 +142,7 @@ template<> ::greptime::v1::DropColumns* Arena::CreateMaybeMessage<::greptime::v1
|
||||
template<> ::greptime::v1::DropDatabaseExpr* Arena::CreateMaybeMessage<::greptime::v1::DropDatabaseExpr>(Arena*);
|
||||
template<> ::greptime::v1::DropFlowExpr* Arena::CreateMaybeMessage<::greptime::v1::DropFlowExpr>(Arena*);
|
||||
template<> ::greptime::v1::DropTableExpr* Arena::CreateMaybeMessage<::greptime::v1::DropTableExpr>(Arena*);
|
||||
template<> ::greptime::v1::FlowId* Arena::CreateMaybeMessage<::greptime::v1::FlowId>(Arena*);
|
||||
template<> ::greptime::v1::RenameTable* Arena::CreateMaybeMessage<::greptime::v1::RenameTable>(Arena*);
|
||||
template<> ::greptime::v1::TableId* Arena::CreateMaybeMessage<::greptime::v1::TableId>(Arena*);
|
||||
template<> ::greptime::v1::TruncateTableExpr* Arena::CreateMaybeMessage<::greptime::v1::TruncateTableExpr>(Arena*);
|
||||
@@ -935,6 +939,8 @@ class DropFlowExpr final :
|
||||
enum : int {
|
||||
kCatalogNameFieldNumber = 1,
|
||||
kFlowNameFieldNumber = 2,
|
||||
kFlowIdFieldNumber = 3,
|
||||
kDropIfExistsFieldNumber = 5,
|
||||
};
|
||||
// string catalog_name = 1;
|
||||
void clear_catalog_name();
|
||||
@@ -964,6 +970,33 @@ class DropFlowExpr final :
|
||||
std::string* _internal_mutable_flow_name();
|
||||
public:
|
||||
|
||||
// .greptime.v1.FlowId flow_id = 3;
|
||||
bool has_flow_id() const;
|
||||
private:
|
||||
bool _internal_has_flow_id() const;
|
||||
public:
|
||||
void clear_flow_id();
|
||||
const ::greptime::v1::FlowId& flow_id() const;
|
||||
PROTOBUF_NODISCARD ::greptime::v1::FlowId* release_flow_id();
|
||||
::greptime::v1::FlowId* mutable_flow_id();
|
||||
void set_allocated_flow_id(::greptime::v1::FlowId* flow_id);
|
||||
private:
|
||||
const ::greptime::v1::FlowId& _internal_flow_id() const;
|
||||
::greptime::v1::FlowId* _internal_mutable_flow_id();
|
||||
public:
|
||||
void unsafe_arena_set_allocated_flow_id(
|
||||
::greptime::v1::FlowId* flow_id);
|
||||
::greptime::v1::FlowId* unsafe_arena_release_flow_id();
|
||||
|
||||
// bool drop_if_exists = 5;
|
||||
void clear_drop_if_exists();
|
||||
bool drop_if_exists() const;
|
||||
void set_drop_if_exists(bool value);
|
||||
private:
|
||||
bool _internal_drop_if_exists() const;
|
||||
void _internal_set_drop_if_exists(bool value);
|
||||
public:
|
||||
|
||||
// @@protoc_insertion_point(class_scope:greptime.v1.DropFlowExpr)
|
||||
private:
|
||||
class _Internal;
|
||||
@@ -974,6 +1007,8 @@ class DropFlowExpr final :
|
||||
struct Impl_ {
|
||||
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr catalog_name_;
|
||||
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr flow_name_;
|
||||
::greptime::v1::FlowId* flow_id_;
|
||||
bool drop_if_exists_;
|
||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||
};
|
||||
union { Impl_ _impl_; };
|
||||
@@ -3754,6 +3789,154 @@ class TableId final :
|
||||
};
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
class FlowId final :
|
||||
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.FlowId) */ {
|
||||
public:
|
||||
inline FlowId() : FlowId(nullptr) {}
|
||||
~FlowId() override;
|
||||
explicit PROTOBUF_CONSTEXPR FlowId(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
||||
|
||||
FlowId(const FlowId& from);
|
||||
FlowId(FlowId&& from) noexcept
|
||||
: FlowId() {
|
||||
*this = ::std::move(from);
|
||||
}
|
||||
|
||||
inline FlowId& operator=(const FlowId& from) {
|
||||
CopyFrom(from);
|
||||
return *this;
|
||||
}
|
||||
inline FlowId& operator=(FlowId&& from) noexcept {
|
||||
if (this == &from) return *this;
|
||||
if (GetOwningArena() == from.GetOwningArena()
|
||||
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
|
||||
&& GetOwningArena() != nullptr
|
||||
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
||||
) {
|
||||
InternalSwap(&from);
|
||||
} else {
|
||||
CopyFrom(from);
|
||||
}
|
||||
return *this;
|
||||
}
|
||||
|
||||
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
||||
return GetDescriptor();
|
||||
}
|
||||
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
||||
return default_instance().GetMetadata().descriptor;
|
||||
}
|
||||
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
||||
return default_instance().GetMetadata().reflection;
|
||||
}
|
||||
static const FlowId& default_instance() {
|
||||
return *internal_default_instance();
|
||||
}
|
||||
static inline const FlowId* internal_default_instance() {
|
||||
return reinterpret_cast<const FlowId*>(
|
||||
&_FlowId_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
20;
|
||||
|
||||
friend void swap(FlowId& a, FlowId& b) {
|
||||
a.Swap(&b);
|
||||
}
|
||||
inline void Swap(FlowId* other) {
|
||||
if (other == this) return;
|
||||
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
|
||||
if (GetOwningArena() != nullptr &&
|
||||
GetOwningArena() == other->GetOwningArena()) {
|
||||
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
||||
if (GetOwningArena() == other->GetOwningArena()) {
|
||||
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
||||
InternalSwap(other);
|
||||
} else {
|
||||
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
|
||||
}
|
||||
}
|
||||
void UnsafeArenaSwap(FlowId* other) {
|
||||
if (other == this) return;
|
||||
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
||||
InternalSwap(other);
|
||||
}
|
||||
|
||||
// implements Message ----------------------------------------------
|
||||
|
||||
FlowId* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
||||
return CreateMaybeMessage<FlowId>(arena);
|
||||
}
|
||||
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
||||
void CopyFrom(const FlowId& from);
|
||||
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
||||
void MergeFrom( const FlowId& from) {
|
||||
FlowId::MergeImpl(*this, from);
|
||||
}
|
||||
private:
|
||||
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
|
||||
public:
|
||||
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
||||
bool IsInitialized() const final;
|
||||
|
||||
size_t ByteSizeLong() const final;
|
||||
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
||||
uint8_t* _InternalSerialize(
|
||||
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
|
||||
int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
|
||||
|
||||
private:
|
||||
void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
|
||||
void SharedDtor();
|
||||
void SetCachedSize(int size) const final;
|
||||
void InternalSwap(FlowId* other);
|
||||
|
||||
private:
|
||||
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
||||
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
||||
return "greptime.v1.FlowId";
|
||||
}
|
||||
protected:
|
||||
explicit FlowId(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||
bool is_message_owned = false);
|
||||
public:
|
||||
|
||||
static const ClassData _class_data_;
|
||||
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
|
||||
|
||||
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
||||
|
||||
// nested types ----------------------------------------------------
|
||||
|
||||
// accessors -------------------------------------------------------
|
||||
|
||||
enum : int {
|
||||
kIdFieldNumber = 1,
|
||||
};
|
||||
// uint32 id = 1;
|
||||
void clear_id();
|
||||
uint32_t id() const;
|
||||
void set_id(uint32_t value);
|
||||
private:
|
||||
uint32_t _internal_id() const;
|
||||
void _internal_set_id(uint32_t value);
|
||||
public:
|
||||
|
||||
// @@protoc_insertion_point(class_scope:greptime.v1.FlowId)
|
||||
private:
|
||||
class _Internal;
|
||||
|
||||
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
||||
typedef void InternalArenaConstructable_;
|
||||
typedef void DestructorSkippable_;
|
||||
struct Impl_ {
|
||||
uint32_t id_;
|
||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||
};
|
||||
union { Impl_ _impl_; };
|
||||
friend struct ::TableStruct_greptime_2fv1_2fddl_2eproto;
|
||||
};
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
class ColumnDef final :
|
||||
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.ColumnDef) */ {
|
||||
public:
|
||||
@@ -3802,7 +3985,7 @@ class ColumnDef final :
|
||||
&_ColumnDef_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
20;
|
||||
21;
|
||||
|
||||
friend void swap(ColumnDef& a, ColumnDef& b) {
|
||||
a.Swap(&b);
|
||||
@@ -4040,7 +4223,7 @@ class AddColumnLocation final :
|
||||
&_AddColumnLocation_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
21;
|
||||
22;
|
||||
|
||||
friend void swap(AddColumnLocation& a, AddColumnLocation& b) {
|
||||
a.Swap(&b);
|
||||
@@ -5273,6 +5456,116 @@ inline void DropFlowExpr::set_allocated_flow_name(std::string* flow_name) {
|
||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.DropFlowExpr.flow_name)
|
||||
}
|
||||
|
||||
// .greptime.v1.FlowId flow_id = 3;
|
||||
inline bool DropFlowExpr::_internal_has_flow_id() const {
|
||||
return this != internal_default_instance() && _impl_.flow_id_ != nullptr;
|
||||
}
|
||||
inline bool DropFlowExpr::has_flow_id() const {
|
||||
return _internal_has_flow_id();
|
||||
}
|
||||
inline void DropFlowExpr::clear_flow_id() {
|
||||
if (GetArenaForAllocation() == nullptr && _impl_.flow_id_ != nullptr) {
|
||||
delete _impl_.flow_id_;
|
||||
}
|
||||
_impl_.flow_id_ = nullptr;
|
||||
}
|
||||
inline const ::greptime::v1::FlowId& DropFlowExpr::_internal_flow_id() const {
|
||||
const ::greptime::v1::FlowId* p = _impl_.flow_id_;
|
||||
return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::FlowId&>(
|
||||
::greptime::v1::_FlowId_default_instance_);
|
||||
}
|
||||
inline const ::greptime::v1::FlowId& DropFlowExpr::flow_id() const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.DropFlowExpr.flow_id)
|
||||
return _internal_flow_id();
|
||||
}
|
||||
inline void DropFlowExpr::unsafe_arena_set_allocated_flow_id(
|
||||
::greptime::v1::FlowId* flow_id) {
|
||||
if (GetArenaForAllocation() == nullptr) {
|
||||
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.flow_id_);
|
||||
}
|
||||
_impl_.flow_id_ = flow_id;
|
||||
if (flow_id) {
|
||||
|
||||
} else {
|
||||
|
||||
}
|
||||
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.DropFlowExpr.flow_id)
|
||||
}
|
||||
inline ::greptime::v1::FlowId* DropFlowExpr::release_flow_id() {
|
||||
|
||||
::greptime::v1::FlowId* temp = _impl_.flow_id_;
|
||||
_impl_.flow_id_ = nullptr;
|
||||
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
|
||||
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
|
||||
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
||||
if (GetArenaForAllocation() == nullptr) { delete old; }
|
||||
#else // PROTOBUF_FORCE_COPY_IN_RELEASE
|
||||
if (GetArenaForAllocation() != nullptr) {
|
||||
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
||||
}
|
||||
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
|
||||
return temp;
|
||||
}
|
||||
inline ::greptime::v1::FlowId* DropFlowExpr::unsafe_arena_release_flow_id() {
|
||||
// @@protoc_insertion_point(field_release:greptime.v1.DropFlowExpr.flow_id)
|
||||
|
||||
::greptime::v1::FlowId* temp = _impl_.flow_id_;
|
||||
_impl_.flow_id_ = nullptr;
|
||||
return temp;
|
||||
}
|
||||
inline ::greptime::v1::FlowId* DropFlowExpr::_internal_mutable_flow_id() {
|
||||
|
||||
if (_impl_.flow_id_ == nullptr) {
|
||||
auto* p = CreateMaybeMessage<::greptime::v1::FlowId>(GetArenaForAllocation());
|
||||
_impl_.flow_id_ = p;
|
||||
}
|
||||
return _impl_.flow_id_;
|
||||
}
|
||||
inline ::greptime::v1::FlowId* DropFlowExpr::mutable_flow_id() {
|
||||
::greptime::v1::FlowId* _msg = _internal_mutable_flow_id();
|
||||
// @@protoc_insertion_point(field_mutable:greptime.v1.DropFlowExpr.flow_id)
|
||||
return _msg;
|
||||
}
|
||||
inline void DropFlowExpr::set_allocated_flow_id(::greptime::v1::FlowId* flow_id) {
|
||||
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||
if (message_arena == nullptr) {
|
||||
delete _impl_.flow_id_;
|
||||
}
|
||||
if (flow_id) {
|
||||
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
||||
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(flow_id);
|
||||
if (message_arena != submessage_arena) {
|
||||
flow_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
||||
message_arena, flow_id, submessage_arena);
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
}
|
||||
_impl_.flow_id_ = flow_id;
|
||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.DropFlowExpr.flow_id)
|
||||
}
|
||||
|
||||
// bool drop_if_exists = 5;
|
||||
inline void DropFlowExpr::clear_drop_if_exists() {
|
||||
_impl_.drop_if_exists_ = false;
|
||||
}
|
||||
inline bool DropFlowExpr::_internal_drop_if_exists() const {
|
||||
return _impl_.drop_if_exists_;
|
||||
}
|
||||
inline bool DropFlowExpr::drop_if_exists() const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.DropFlowExpr.drop_if_exists)
|
||||
return _internal_drop_if_exists();
|
||||
}
|
||||
inline void DropFlowExpr::_internal_set_drop_if_exists(bool value) {
|
||||
|
||||
_impl_.drop_if_exists_ = value;
|
||||
}
|
||||
inline void DropFlowExpr::set_drop_if_exists(bool value) {
|
||||
_internal_set_drop_if_exists(value);
|
||||
// @@protoc_insertion_point(field_set:greptime.v1.DropFlowExpr.drop_if_exists)
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
@@ -7688,6 +7981,30 @@ inline void TableId::set_id(uint32_t value) {
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// FlowId
|
||||
|
||||
// uint32 id = 1;
|
||||
inline void FlowId::clear_id() {
|
||||
_impl_.id_ = 0u;
|
||||
}
|
||||
inline uint32_t FlowId::_internal_id() const {
|
||||
return _impl_.id_;
|
||||
}
|
||||
inline uint32_t FlowId::id() const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.FlowId.id)
|
||||
return _internal_id();
|
||||
}
|
||||
inline void FlowId::_internal_set_id(uint32_t value) {
|
||||
|
||||
_impl_.id_ = value;
|
||||
}
|
||||
inline void FlowId::set_id(uint32_t value) {
|
||||
_internal_set_id(value);
|
||||
// @@protoc_insertion_point(field_set:greptime.v1.FlowId.id)
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// ColumnDef
|
||||
|
||||
// string name = 1;
|
||||
@@ -8104,6 +8421,8 @@ inline void AddColumnLocation::set_allocated_after_column_name(std::string* afte
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
|
||||
// @@protoc_insertion_point(namespace_scope)
|
||||
|
||||
|
||||
@@ -103,8 +103,8 @@ struct FlowResponse_ExtensionEntry_DoNotUseDefaultTypeInternal {
|
||||
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FlowResponse_ExtensionEntry_DoNotUseDefaultTypeInternal _FlowResponse_ExtensionEntry_DoNotUse_default_instance_;
|
||||
PROTOBUF_CONSTEXPR FlowResponse::FlowResponse(
|
||||
::_pbi::ConstantInitialized): _impl_{
|
||||
/*decltype(_impl_.extension_)*/{::_pbi::ConstantInitialized()}
|
||||
, /*decltype(_impl_.affected_tasks_)*/{}
|
||||
/*decltype(_impl_.affected_flows_)*/{}
|
||||
, /*decltype(_impl_.extension_)*/{::_pbi::ConstantInitialized()}
|
||||
, /*decltype(_impl_.header_)*/nullptr
|
||||
, /*decltype(_impl_.affected_rows_)*/uint64_t{0u}
|
||||
, /*decltype(_impl_._cached_size_)*/{}} {}
|
||||
@@ -161,23 +161,10 @@ struct DropRequestDefaultTypeInternal {
|
||||
};
|
||||
};
|
||||
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DropRequestDefaultTypeInternal _DropRequest_default_instance_;
|
||||
PROTOBUF_CONSTEXPR TaskId::TaskId(
|
||||
::_pbi::ConstantInitialized): _impl_{
|
||||
/*decltype(_impl_.id_)*/0u
|
||||
, /*decltype(_impl_._cached_size_)*/{}} {}
|
||||
struct TaskIdDefaultTypeInternal {
|
||||
PROTOBUF_CONSTEXPR TaskIdDefaultTypeInternal()
|
||||
: _instance(::_pbi::ConstantInitialized{}) {}
|
||||
~TaskIdDefaultTypeInternal() {}
|
||||
union {
|
||||
TaskId _instance;
|
||||
};
|
||||
};
|
||||
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TaskIdDefaultTypeInternal _TaskId_default_instance_;
|
||||
} // namespace flow
|
||||
} // namespace v1
|
||||
} // namespace greptime
|
||||
static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fflow_2fserver_2eproto[11];
|
||||
static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fflow_2fserver_2eproto[10];
|
||||
static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_greptime_2fv1_2fflow_2fserver_2eproto = nullptr;
|
||||
static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_greptime_2fv1_2fflow_2fserver_2eproto = nullptr;
|
||||
|
||||
@@ -243,8 +230,8 @@ const uint32_t TableStruct_greptime_2fv1_2fflow_2fserver_2eproto::offsets[] PROT
|
||||
~0u, // no _inlined_string_donated_
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::FlowResponse, _impl_.header_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::FlowResponse, _impl_.affected_rows_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::FlowResponse, _impl_.affected_flows_),
|
||||
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::CreateRequest_FlowOptionsEntry_DoNotUse, _has_bits_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::CreateRequest_FlowOptionsEntry_DoNotUse, _internal_metadata_),
|
||||
~0u, // no _extensions_
|
||||
@@ -276,13 +263,6 @@ const uint32_t TableStruct_greptime_2fv1_2fflow_2fserver_2eproto::offsets[] PROT
|
||||
~0u, // no _weak_field_map_
|
||||
~0u, // no _inlined_string_donated_
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::DropRequest, _impl_.flow_id_),
|
||||
~0u, // no _has_bits_
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::TaskId, _internal_metadata_),
|
||||
~0u, // no _extensions_
|
||||
~0u, // no _oneof_case_
|
||||
~0u, // no _weak_field_map_
|
||||
~0u, // no _inlined_string_donated_
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::TaskId, _impl_.id_),
|
||||
};
|
||||
static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
|
||||
{ 0, 8, -1, sizeof(::greptime::v1::flow::FlowRequestHeader_TracingContextEntry_DoNotUse)},
|
||||
@@ -295,7 +275,6 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode
|
||||
{ 63, 71, -1, sizeof(::greptime::v1::flow::CreateRequest_FlowOptionsEntry_DoNotUse)},
|
||||
{ 73, -1, -1, sizeof(::greptime::v1::flow::CreateRequest)},
|
||||
{ 87, -1, -1, sizeof(::greptime::v1::flow::DropRequest)},
|
||||
{ 94, -1, -1, sizeof(::greptime::v1::flow::TaskId)},
|
||||
};
|
||||
|
||||
static const ::_pb::Message* const file_default_instances[] = {
|
||||
@@ -309,7 +288,6 @@ static const ::_pb::Message* const file_default_instances[] = {
|
||||
&::greptime::v1::flow::_CreateRequest_FlowOptionsEntry_DoNotUse_default_instance_._instance,
|
||||
&::greptime::v1::flow::_CreateRequest_default_instance_._instance,
|
||||
&::greptime::v1::flow::_DropRequest_default_instance_._instance,
|
||||
&::greptime::v1::flow::_TaskId_default_instance_._instance,
|
||||
};
|
||||
|
||||
const char descriptor_table_protodef_greptime_2fv1_2fflow_2fserver_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
|
||||
@@ -329,31 +307,30 @@ const char descriptor_table_protodef_greptime_2fv1_2fflow_2fserver_2eproto[] PRO
|
||||
"FlowRequestHeader\0221\n\006create\030\001 \001(\0132\037.grep"
|
||||
"time.v1.flow.CreateRequestH\000\022-\n\004drop\030\002 \001"
|
||||
"(\0132\035.greptime.v1.flow.DropRequestH\000B\006\n\004b"
|
||||
"ody\"\370\001\n\014FlowResponse\022+\n\006header\030\001 \001(\0132\033.g"
|
||||
"ody\"\363\001\n\014FlowResponse\022+\n\006header\030\001 \001(\0132\033.g"
|
||||
"reptime.v1.ResponseHeader\022\025\n\raffected_ro"
|
||||
"ws\030\002 \001(\004\022@\n\textension\030\003 \003(\0132-.greptime.v"
|
||||
"1.flow.FlowResponse.ExtensionEntry\0220\n\016af"
|
||||
"fected_tasks\030\004 \003(\0132\030.greptime.v1.flow.Ta"
|
||||
"skId\0320\n\016ExtensionEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v"
|
||||
"alue\030\002 \001(\014:\0028\001\"\350\002\n\rCreateRequest\022)\n\007flow"
|
||||
"_id\030\001 \001(\0132\030.greptime.v1.flow.TaskId\022.\n\020s"
|
||||
"ource_table_ids\030\002 \003(\0132\024.greptime.v1.Tabl"
|
||||
"eId\022/\n\017sink_table_name\030\003 \001(\0132\026.greptime."
|
||||
"v1.TableName\022\034\n\024create_if_not_exists\030\004 \001"
|
||||
"(\010\022\023\n\013expire_when\030\005 \001(\t\022\017\n\007comment\030\006 \001(\t"
|
||||
"\022\013\n\003sql\030\007 \001(\t\022F\n\014flow_options\030\010 \003(\01320.gr"
|
||||
"eptime.v1.flow.CreateRequest.FlowOptions"
|
||||
"Entry\0322\n\020FlowOptionsEntry\022\013\n\003key\030\001 \001(\t\022\r"
|
||||
"\n\005value\030\002 \001(\t:\0028\001\"8\n\013DropRequest\022)\n\007flow"
|
||||
"_id\030\001 \001(\0132\030.greptime.v1.flow.TaskId\"\024\n\006T"
|
||||
"askId\022\n\n\002id\030\001 \001(\r2\264\001\n\004Flow\022S\n\022HandleCrea"
|
||||
"teRemove\022\035.greptime.v1.flow.FlowRequest\032"
|
||||
"\036.greptime.v1.flow.FlowResponse\022W\n\023Handl"
|
||||
"eMirrorRequest\022 .greptime.v1.flow.Insert"
|
||||
"Requests\032\036.greptime.v1.flow.FlowResponse"
|
||||
"BY\n\023io.greptime.v1.flowB\006ServerZ:github."
|
||||
"com/GreptimeTeam/greptime-proto/go/grept"
|
||||
"ime/v1/flowb\006proto3"
|
||||
"ws\030\002 \001(\004\022+\n\016affected_flows\030\003 \003(\0132\023.grept"
|
||||
"ime.v1.FlowId\022@\n\textension\030\004 \003(\0132-.grept"
|
||||
"ime.v1.flow.FlowResponse.ExtensionEntry\032"
|
||||
"0\n\016ExtensionEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030"
|
||||
"\002 \001(\014:\0028\001\"\343\002\n\rCreateRequest\022$\n\007flow_id\030\001"
|
||||
" \001(\0132\023.greptime.v1.FlowId\022.\n\020source_tabl"
|
||||
"e_ids\030\002 \003(\0132\024.greptime.v1.TableId\022/\n\017sin"
|
||||
"k_table_name\030\003 \001(\0132\026.greptime.v1.TableNa"
|
||||
"me\022\034\n\024create_if_not_exists\030\004 \001(\010\022\023\n\013expi"
|
||||
"re_when\030\005 \001(\t\022\017\n\007comment\030\006 \001(\t\022\013\n\003sql\030\007 "
|
||||
"\001(\t\022F\n\014flow_options\030\010 \003(\01320.greptime.v1."
|
||||
"flow.CreateRequest.FlowOptionsEntry\0322\n\020F"
|
||||
"lowOptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 "
|
||||
"\001(\t:\0028\001\"3\n\013DropRequest\022$\n\007flow_id\030\001 \001(\0132"
|
||||
"\023.greptime.v1.FlowId2\264\001\n\004Flow\022S\n\022HandleC"
|
||||
"reateRemove\022\035.greptime.v1.flow.FlowReque"
|
||||
"st\032\036.greptime.v1.flow.FlowResponse\022W\n\023Ha"
|
||||
"ndleMirrorRequest\022 .greptime.v1.flow.Ins"
|
||||
"ertRequests\032\036.greptime.v1.flow.FlowRespo"
|
||||
"nseBY\n\023io.greptime.v1.flowB\006ServerZ:gith"
|
||||
"ub.com/GreptimeTeam/greptime-proto/go/gr"
|
||||
"eptime/v1/flowb\006proto3"
|
||||
;
|
||||
static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fflow_2fserver_2eproto_deps[3] = {
|
||||
&::descriptor_table_greptime_2fv1_2fcommon_2eproto,
|
||||
@@ -362,9 +339,9 @@ static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fflo
|
||||
};
|
||||
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fflow_2fserver_2eproto_once;
|
||||
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fflow_2fserver_2eproto = {
|
||||
false, false, 1619, descriptor_table_protodef_greptime_2fv1_2fflow_2fserver_2eproto,
|
||||
false, false, 1582, descriptor_table_protodef_greptime_2fv1_2fflow_2fserver_2eproto,
|
||||
"greptime/v1/flow/server.proto",
|
||||
&descriptor_table_greptime_2fv1_2fflow_2fserver_2eproto_once, descriptor_table_greptime_2fv1_2fflow_2fserver_2eproto_deps, 3, 11,
|
||||
&descriptor_table_greptime_2fv1_2fflow_2fserver_2eproto_once, descriptor_table_greptime_2fv1_2fflow_2fserver_2eproto_deps, 3, 10,
|
||||
schemas, file_default_instances, TableStruct_greptime_2fv1_2fflow_2fserver_2eproto::offsets,
|
||||
file_level_metadata_greptime_2fv1_2fflow_2fserver_2eproto, file_level_enum_descriptors_greptime_2fv1_2fflow_2fserver_2eproto,
|
||||
file_level_service_descriptors_greptime_2fv1_2fflow_2fserver_2eproto,
|
||||
@@ -1453,6 +1430,9 @@ void FlowResponse::clear_header() {
|
||||
}
|
||||
_impl_.header_ = nullptr;
|
||||
}
|
||||
void FlowResponse::clear_affected_flows() {
|
||||
_impl_.affected_flows_.Clear();
|
||||
}
|
||||
FlowResponse::FlowResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||
bool is_message_owned)
|
||||
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
|
||||
@@ -1466,8 +1446,8 @@ FlowResponse::FlowResponse(const FlowResponse& from)
|
||||
: ::PROTOBUF_NAMESPACE_ID::Message() {
|
||||
FlowResponse* const _this = this; (void)_this;
|
||||
new (&_impl_) Impl_{
|
||||
/*decltype(_impl_.extension_)*/{}
|
||||
, decltype(_impl_.affected_tasks_){from._impl_.affected_tasks_}
|
||||
decltype(_impl_.affected_flows_){from._impl_.affected_flows_}
|
||||
, /*decltype(_impl_.extension_)*/{}
|
||||
, decltype(_impl_.header_){nullptr}
|
||||
, decltype(_impl_.affected_rows_){}
|
||||
, /*decltype(_impl_._cached_size_)*/{}};
|
||||
@@ -1486,8 +1466,8 @@ inline void FlowResponse::SharedCtor(
|
||||
(void)arena;
|
||||
(void)is_message_owned;
|
||||
new (&_impl_) Impl_{
|
||||
/*decltype(_impl_.extension_)*/{::_pbi::ArenaInitialized(), arena}
|
||||
, decltype(_impl_.affected_tasks_){arena}
|
||||
decltype(_impl_.affected_flows_){arena}
|
||||
, /*decltype(_impl_.extension_)*/{::_pbi::ArenaInitialized(), arena}
|
||||
, decltype(_impl_.header_){nullptr}
|
||||
, decltype(_impl_.affected_rows_){uint64_t{0u}}
|
||||
, /*decltype(_impl_._cached_size_)*/{}
|
||||
@@ -1506,9 +1486,9 @@ FlowResponse::~FlowResponse() {
|
||||
|
||||
inline void FlowResponse::SharedDtor() {
|
||||
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
|
||||
_impl_.affected_flows_.~RepeatedPtrField();
|
||||
_impl_.extension_.Destruct();
|
||||
_impl_.extension_.~MapField();
|
||||
_impl_.affected_tasks_.~RepeatedPtrField();
|
||||
if (this != internal_default_instance()) delete _impl_.header_;
|
||||
}
|
||||
|
||||
@@ -1526,8 +1506,8 @@ void FlowResponse::Clear() {
|
||||
// Prevent compiler warnings about cached_has_bits being unused
|
||||
(void) cached_has_bits;
|
||||
|
||||
_impl_.affected_flows_.Clear();
|
||||
_impl_.extension_.Clear();
|
||||
_impl_.affected_tasks_.Clear();
|
||||
if (GetArenaForAllocation() == nullptr && _impl_.header_ != nullptr) {
|
||||
delete _impl_.header_;
|
||||
}
|
||||
@@ -1558,26 +1538,26 @@ const char* FlowResponse::_InternalParse(const char* ptr, ::_pbi::ParseContext*
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
// map<string, bytes> extension = 3;
|
||||
// repeated .greptime.v1.FlowId affected_flows = 3;
|
||||
case 3:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
|
||||
ptr -= 1;
|
||||
do {
|
||||
ptr += 1;
|
||||
ptr = ctx->ParseMessage(&_impl_.extension_, ptr);
|
||||
ptr = ctx->ParseMessage(_internal_add_affected_flows(), ptr);
|
||||
CHK_(ptr);
|
||||
if (!ctx->DataAvailable(ptr)) break;
|
||||
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr));
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
// repeated .greptime.v1.flow.TaskId affected_tasks = 4;
|
||||
// map<string, bytes> extension = 4;
|
||||
case 4:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
|
||||
ptr -= 1;
|
||||
do {
|
||||
ptr += 1;
|
||||
ptr = ctx->ParseMessage(_internal_add_affected_tasks(), ptr);
|
||||
ptr = ctx->ParseMessage(&_impl_.extension_, ptr);
|
||||
CHK_(ptr);
|
||||
if (!ctx->DataAvailable(ptr)) break;
|
||||
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<34>(ptr));
|
||||
@@ -1626,7 +1606,15 @@ uint8_t* FlowResponse::_InternalSerialize(
|
||||
target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_affected_rows(), target);
|
||||
}
|
||||
|
||||
// map<string, bytes> extension = 3;
|
||||
// repeated .greptime.v1.FlowId affected_flows = 3;
|
||||
for (unsigned i = 0,
|
||||
n = static_cast<unsigned>(this->_internal_affected_flows_size()); i < n; i++) {
|
||||
const auto& repfield = this->_internal_affected_flows(i);
|
||||
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||
InternalWriteMessage(3, repfield, repfield.GetCachedSize(), target, stream);
|
||||
}
|
||||
|
||||
// map<string, bytes> extension = 4;
|
||||
if (!this->_internal_extension().empty()) {
|
||||
using MapType = ::_pb::Map<std::string, std::string>;
|
||||
using WireHelper = FlowResponse_ExtensionEntry_DoNotUse::Funcs;
|
||||
@@ -1641,25 +1629,17 @@ uint8_t* FlowResponse::_InternalSerialize(
|
||||
|
||||
if (stream->IsSerializationDeterministic() && map_field.size() > 1) {
|
||||
for (const auto& entry : ::_pbi::MapSorterPtr<MapType>(map_field)) {
|
||||
target = WireHelper::InternalSerialize(3, entry.first, entry.second, target, stream);
|
||||
target = WireHelper::InternalSerialize(4, entry.first, entry.second, target, stream);
|
||||
check_utf8(entry);
|
||||
}
|
||||
} else {
|
||||
for (const auto& entry : map_field) {
|
||||
target = WireHelper::InternalSerialize(3, entry.first, entry.second, target, stream);
|
||||
target = WireHelper::InternalSerialize(4, entry.first, entry.second, target, stream);
|
||||
check_utf8(entry);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// repeated .greptime.v1.flow.TaskId affected_tasks = 4;
|
||||
for (unsigned i = 0,
|
||||
n = static_cast<unsigned>(this->_internal_affected_tasks_size()); i < n; i++) {
|
||||
const auto& repfield = this->_internal_affected_tasks(i);
|
||||
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||
InternalWriteMessage(4, repfield, repfield.GetCachedSize(), target, stream);
|
||||
}
|
||||
|
||||
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
||||
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
||||
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
|
||||
@@ -1676,7 +1656,14 @@ size_t FlowResponse::ByteSizeLong() const {
|
||||
// Prevent compiler warnings about cached_has_bits being unused
|
||||
(void) cached_has_bits;
|
||||
|
||||
// map<string, bytes> extension = 3;
|
||||
// repeated .greptime.v1.FlowId affected_flows = 3;
|
||||
total_size += 1UL * this->_internal_affected_flows_size();
|
||||
for (const auto& msg : this->_impl_.affected_flows_) {
|
||||
total_size +=
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
|
||||
}
|
||||
|
||||
// map<string, bytes> extension = 4;
|
||||
total_size += 1 *
|
||||
::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_extension_size());
|
||||
for (::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >::const_iterator
|
||||
@@ -1685,13 +1672,6 @@ size_t FlowResponse::ByteSizeLong() const {
|
||||
total_size += FlowResponse_ExtensionEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second);
|
||||
}
|
||||
|
||||
// repeated .greptime.v1.flow.TaskId affected_tasks = 4;
|
||||
total_size += 1UL * this->_internal_affected_tasks_size();
|
||||
for (const auto& msg : this->_impl_.affected_tasks_) {
|
||||
total_size +=
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
|
||||
}
|
||||
|
||||
// .greptime.v1.ResponseHeader header = 1;
|
||||
if (this->_internal_has_header()) {
|
||||
total_size += 1 +
|
||||
@@ -1722,8 +1702,8 @@ void FlowResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::P
|
||||
uint32_t cached_has_bits = 0;
|
||||
(void) cached_has_bits;
|
||||
|
||||
_this->_impl_.affected_flows_.MergeFrom(from._impl_.affected_flows_);
|
||||
_this->_impl_.extension_.MergeFrom(from._impl_.extension_);
|
||||
_this->_impl_.affected_tasks_.MergeFrom(from._impl_.affected_tasks_);
|
||||
if (from._internal_has_header()) {
|
||||
_this->_internal_mutable_header()->::greptime::v1::ResponseHeader::MergeFrom(
|
||||
from._internal_header());
|
||||
@@ -1748,8 +1728,8 @@ bool FlowResponse::IsInitialized() const {
|
||||
void FlowResponse::InternalSwap(FlowResponse* other) {
|
||||
using std::swap;
|
||||
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
||||
_impl_.affected_flows_.InternalSwap(&other->_impl_.affected_flows_);
|
||||
_impl_.extension_.InternalSwap(&other->_impl_.extension_);
|
||||
_impl_.affected_tasks_.InternalSwap(&other->_impl_.affected_tasks_);
|
||||
::PROTOBUF_NAMESPACE_ID::internal::memswap<
|
||||
PROTOBUF_FIELD_OFFSET(FlowResponse, _impl_.affected_rows_)
|
||||
+ sizeof(FlowResponse::_impl_.affected_rows_)
|
||||
@@ -1782,11 +1762,11 @@ void CreateRequest_FlowOptionsEntry_DoNotUse::MergeFrom(const CreateRequest_Flow
|
||||
|
||||
class CreateRequest::_Internal {
|
||||
public:
|
||||
static const ::greptime::v1::flow::TaskId& flow_id(const CreateRequest* msg);
|
||||
static const ::greptime::v1::FlowId& flow_id(const CreateRequest* msg);
|
||||
static const ::greptime::v1::TableName& sink_table_name(const CreateRequest* msg);
|
||||
};
|
||||
|
||||
const ::greptime::v1::flow::TaskId&
|
||||
const ::greptime::v1::FlowId&
|
||||
CreateRequest::_Internal::flow_id(const CreateRequest* msg) {
|
||||
return *msg->_impl_.flow_id_;
|
||||
}
|
||||
@@ -1794,6 +1774,12 @@ const ::greptime::v1::TableName&
|
||||
CreateRequest::_Internal::sink_table_name(const CreateRequest* msg) {
|
||||
return *msg->_impl_.sink_table_name_;
|
||||
}
|
||||
void CreateRequest::clear_flow_id() {
|
||||
if (GetArenaForAllocation() == nullptr && _impl_.flow_id_ != nullptr) {
|
||||
delete _impl_.flow_id_;
|
||||
}
|
||||
_impl_.flow_id_ = nullptr;
|
||||
}
|
||||
void CreateRequest::clear_source_table_ids() {
|
||||
_impl_.source_table_ids_.Clear();
|
||||
}
|
||||
@@ -1853,7 +1839,7 @@ CreateRequest::CreateRequest(const CreateRequest& from)
|
||||
_this->GetArenaForAllocation());
|
||||
}
|
||||
if (from._internal_has_flow_id()) {
|
||||
_this->_impl_.flow_id_ = new ::greptime::v1::flow::TaskId(*from._impl_.flow_id_);
|
||||
_this->_impl_.flow_id_ = new ::greptime::v1::FlowId(*from._impl_.flow_id_);
|
||||
}
|
||||
if (from._internal_has_sink_table_name()) {
|
||||
_this->_impl_.sink_table_name_ = new ::greptime::v1::TableName(*from._impl_.sink_table_name_);
|
||||
@@ -1950,7 +1936,7 @@ const char* CreateRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext*
|
||||
uint32_t tag;
|
||||
ptr = ::_pbi::ReadTag(ptr, &tag);
|
||||
switch (tag >> 3) {
|
||||
// .greptime.v1.flow.TaskId flow_id = 1;
|
||||
// .greptime.v1.FlowId flow_id = 1;
|
||||
case 1:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
|
||||
ptr = ctx->ParseMessage(_internal_mutable_flow_id(), ptr);
|
||||
@@ -2059,7 +2045,7 @@ uint8_t* CreateRequest::_InternalSerialize(
|
||||
uint32_t cached_has_bits = 0;
|
||||
(void) cached_has_bits;
|
||||
|
||||
// .greptime.v1.flow.TaskId flow_id = 1;
|
||||
// .greptime.v1.FlowId flow_id = 1;
|
||||
if (this->_internal_has_flow_id()) {
|
||||
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||
InternalWriteMessage(1, _Internal::flow_id(this),
|
||||
@@ -2200,7 +2186,7 @@ size_t CreateRequest::ByteSizeLong() const {
|
||||
this->_internal_sql());
|
||||
}
|
||||
|
||||
// .greptime.v1.flow.TaskId flow_id = 1;
|
||||
// .greptime.v1.FlowId flow_id = 1;
|
||||
if (this->_internal_has_flow_id()) {
|
||||
total_size += 1 +
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
|
||||
@@ -2249,7 +2235,7 @@ void CreateRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::
|
||||
_this->_internal_set_sql(from._internal_sql());
|
||||
}
|
||||
if (from._internal_has_flow_id()) {
|
||||
_this->_internal_mutable_flow_id()->::greptime::v1::flow::TaskId::MergeFrom(
|
||||
_this->_internal_mutable_flow_id()->::greptime::v1::FlowId::MergeFrom(
|
||||
from._internal_flow_id());
|
||||
}
|
||||
if (from._internal_has_sink_table_name()) {
|
||||
@@ -2310,13 +2296,19 @@ void CreateRequest::InternalSwap(CreateRequest* other) {
|
||||
|
||||
class DropRequest::_Internal {
|
||||
public:
|
||||
static const ::greptime::v1::flow::TaskId& flow_id(const DropRequest* msg);
|
||||
static const ::greptime::v1::FlowId& flow_id(const DropRequest* msg);
|
||||
};
|
||||
|
||||
const ::greptime::v1::flow::TaskId&
|
||||
const ::greptime::v1::FlowId&
|
||||
DropRequest::_Internal::flow_id(const DropRequest* msg) {
|
||||
return *msg->_impl_.flow_id_;
|
||||
}
|
||||
void DropRequest::clear_flow_id() {
|
||||
if (GetArenaForAllocation() == nullptr && _impl_.flow_id_ != nullptr) {
|
||||
delete _impl_.flow_id_;
|
||||
}
|
||||
_impl_.flow_id_ = nullptr;
|
||||
}
|
||||
DropRequest::DropRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||
bool is_message_owned)
|
||||
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
|
||||
@@ -2332,7 +2324,7 @@ DropRequest::DropRequest(const DropRequest& from)
|
||||
|
||||
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||
if (from._internal_has_flow_id()) {
|
||||
_this->_impl_.flow_id_ = new ::greptime::v1::flow::TaskId(*from._impl_.flow_id_);
|
||||
_this->_impl_.flow_id_ = new ::greptime::v1::FlowId(*from._impl_.flow_id_);
|
||||
}
|
||||
// @@protoc_insertion_point(copy_constructor:greptime.v1.flow.DropRequest)
|
||||
}
|
||||
@@ -2384,7 +2376,7 @@ const char* DropRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* c
|
||||
uint32_t tag;
|
||||
ptr = ::_pbi::ReadTag(ptr, &tag);
|
||||
switch (tag >> 3) {
|
||||
// .greptime.v1.flow.TaskId flow_id = 1;
|
||||
// .greptime.v1.FlowId flow_id = 1;
|
||||
case 1:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
|
||||
ptr = ctx->ParseMessage(_internal_mutable_flow_id(), ptr);
|
||||
@@ -2421,7 +2413,7 @@ uint8_t* DropRequest::_InternalSerialize(
|
||||
uint32_t cached_has_bits = 0;
|
||||
(void) cached_has_bits;
|
||||
|
||||
// .greptime.v1.flow.TaskId flow_id = 1;
|
||||
// .greptime.v1.FlowId flow_id = 1;
|
||||
if (this->_internal_has_flow_id()) {
|
||||
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||
InternalWriteMessage(1, _Internal::flow_id(this),
|
||||
@@ -2444,7 +2436,7 @@ size_t DropRequest::ByteSizeLong() const {
|
||||
// Prevent compiler warnings about cached_has_bits being unused
|
||||
(void) cached_has_bits;
|
||||
|
||||
// .greptime.v1.flow.TaskId flow_id = 1;
|
||||
// .greptime.v1.FlowId flow_id = 1;
|
||||
if (this->_internal_has_flow_id()) {
|
||||
total_size += 1 +
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
|
||||
@@ -2470,7 +2462,7 @@ void DropRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PR
|
||||
(void) cached_has_bits;
|
||||
|
||||
if (from._internal_has_flow_id()) {
|
||||
_this->_internal_mutable_flow_id()->::greptime::v1::flow::TaskId::MergeFrom(
|
||||
_this->_internal_mutable_flow_id()->::greptime::v1::FlowId::MergeFrom(
|
||||
from._internal_flow_id());
|
||||
}
|
||||
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||
@@ -2499,184 +2491,6 @@ void DropRequest::InternalSwap(DropRequest* other) {
|
||||
file_level_metadata_greptime_2fv1_2fflow_2fserver_2eproto[9]);
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
|
||||
class TaskId::_Internal {
|
||||
public:
|
||||
};
|
||||
|
||||
TaskId::TaskId(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||
bool is_message_owned)
|
||||
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
|
||||
SharedCtor(arena, is_message_owned);
|
||||
// @@protoc_insertion_point(arena_constructor:greptime.v1.flow.TaskId)
|
||||
}
|
||||
TaskId::TaskId(const TaskId& from)
|
||||
: ::PROTOBUF_NAMESPACE_ID::Message() {
|
||||
TaskId* const _this = this; (void)_this;
|
||||
new (&_impl_) Impl_{
|
||||
decltype(_impl_.id_){}
|
||||
, /*decltype(_impl_._cached_size_)*/{}};
|
||||
|
||||
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||
_this->_impl_.id_ = from._impl_.id_;
|
||||
// @@protoc_insertion_point(copy_constructor:greptime.v1.flow.TaskId)
|
||||
}
|
||||
|
||||
inline void TaskId::SharedCtor(
|
||||
::_pb::Arena* arena, bool is_message_owned) {
|
||||
(void)arena;
|
||||
(void)is_message_owned;
|
||||
new (&_impl_) Impl_{
|
||||
decltype(_impl_.id_){0u}
|
||||
, /*decltype(_impl_._cached_size_)*/{}
|
||||
};
|
||||
}
|
||||
|
||||
TaskId::~TaskId() {
|
||||
// @@protoc_insertion_point(destructor:greptime.v1.flow.TaskId)
|
||||
if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
|
||||
(void)arena;
|
||||
return;
|
||||
}
|
||||
SharedDtor();
|
||||
}
|
||||
|
||||
inline void TaskId::SharedDtor() {
|
||||
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
|
||||
}
|
||||
|
||||
void TaskId::SetCachedSize(int size) const {
|
||||
_impl_._cached_size_.Set(size);
|
||||
}
|
||||
|
||||
void TaskId::Clear() {
|
||||
// @@protoc_insertion_point(message_clear_start:greptime.v1.flow.TaskId)
|
||||
uint32_t cached_has_bits = 0;
|
||||
// Prevent compiler warnings about cached_has_bits being unused
|
||||
(void) cached_has_bits;
|
||||
|
||||
_impl_.id_ = 0u;
|
||||
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
||||
}
|
||||
|
||||
const char* TaskId::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
|
||||
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
|
||||
while (!ctx->Done(&ptr)) {
|
||||
uint32_t tag;
|
||||
ptr = ::_pbi::ReadTag(ptr, &tag);
|
||||
switch (tag >> 3) {
|
||||
// uint32 id = 1;
|
||||
case 1:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
|
||||
_impl_.id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
|
||||
CHK_(ptr);
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
default:
|
||||
goto handle_unusual;
|
||||
} // switch
|
||||
handle_unusual:
|
||||
if ((tag == 0) || ((tag & 7) == 4)) {
|
||||
CHK_(ptr);
|
||||
ctx->SetLastTag(tag);
|
||||
goto message_done;
|
||||
}
|
||||
ptr = UnknownFieldParse(
|
||||
tag,
|
||||
_internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
|
||||
ptr, ctx);
|
||||
CHK_(ptr != nullptr);
|
||||
} // while
|
||||
message_done:
|
||||
return ptr;
|
||||
failure:
|
||||
ptr = nullptr;
|
||||
goto message_done;
|
||||
#undef CHK_
|
||||
}
|
||||
|
||||
uint8_t* TaskId::_InternalSerialize(
|
||||
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
|
||||
// @@protoc_insertion_point(serialize_to_array_start:greptime.v1.flow.TaskId)
|
||||
uint32_t cached_has_bits = 0;
|
||||
(void) cached_has_bits;
|
||||
|
||||
// uint32 id = 1;
|
||||
if (this->_internal_id() != 0) {
|
||||
target = stream->EnsureSpace(target);
|
||||
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_id(), target);
|
||||
}
|
||||
|
||||
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
||||
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
||||
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
|
||||
}
|
||||
// @@protoc_insertion_point(serialize_to_array_end:greptime.v1.flow.TaskId)
|
||||
return target;
|
||||
}
|
||||
|
||||
size_t TaskId::ByteSizeLong() const {
|
||||
// @@protoc_insertion_point(message_byte_size_start:greptime.v1.flow.TaskId)
|
||||
size_t total_size = 0;
|
||||
|
||||
uint32_t cached_has_bits = 0;
|
||||
// Prevent compiler warnings about cached_has_bits being unused
|
||||
(void) cached_has_bits;
|
||||
|
||||
// uint32 id = 1;
|
||||
if (this->_internal_id() != 0) {
|
||||
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_id());
|
||||
}
|
||||
|
||||
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
||||
}
|
||||
|
||||
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TaskId::_class_data_ = {
|
||||
::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
|
||||
TaskId::MergeImpl
|
||||
};
|
||||
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TaskId::GetClassData() const { return &_class_data_; }
|
||||
|
||||
|
||||
void TaskId::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
|
||||
auto* const _this = static_cast<TaskId*>(&to_msg);
|
||||
auto& from = static_cast<const TaskId&>(from_msg);
|
||||
// @@protoc_insertion_point(class_specific_merge_from_start:greptime.v1.flow.TaskId)
|
||||
GOOGLE_DCHECK_NE(&from, _this);
|
||||
uint32_t cached_has_bits = 0;
|
||||
(void) cached_has_bits;
|
||||
|
||||
if (from._internal_id() != 0) {
|
||||
_this->_internal_set_id(from._internal_id());
|
||||
}
|
||||
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||
}
|
||||
|
||||
void TaskId::CopyFrom(const TaskId& from) {
|
||||
// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.flow.TaskId)
|
||||
if (&from == this) return;
|
||||
Clear();
|
||||
MergeFrom(from);
|
||||
}
|
||||
|
||||
bool TaskId::IsInitialized() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
void TaskId::InternalSwap(TaskId* other) {
|
||||
using std::swap;
|
||||
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
||||
swap(_impl_.id_, other->_impl_.id_);
|
||||
}
|
||||
|
||||
::PROTOBUF_NAMESPACE_ID::Metadata TaskId::GetMetadata() const {
|
||||
return ::_pbi::AssignDescriptors(
|
||||
&descriptor_table_greptime_2fv1_2fflow_2fserver_2eproto_getter, &descriptor_table_greptime_2fv1_2fflow_2fserver_2eproto_once,
|
||||
file_level_metadata_greptime_2fv1_2fflow_2fserver_2eproto[10]);
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(namespace_scope)
|
||||
} // namespace flow
|
||||
} // namespace v1
|
||||
@@ -2722,10 +2536,6 @@ template<> PROTOBUF_NOINLINE ::greptime::v1::flow::DropRequest*
|
||||
Arena::CreateMaybeMessage< ::greptime::v1::flow::DropRequest >(Arena* arena) {
|
||||
return Arena::CreateMessageInternal< ::greptime::v1::flow::DropRequest >(arena);
|
||||
}
|
||||
template<> PROTOBUF_NOINLINE ::greptime::v1::flow::TaskId*
|
||||
Arena::CreateMaybeMessage< ::greptime::v1::flow::TaskId >(Arena* arena) {
|
||||
return Arena::CreateMessageInternal< ::greptime::v1::flow::TaskId >(arena);
|
||||
}
|
||||
PROTOBUF_NAMESPACE_CLOSE
|
||||
|
||||
// @@protoc_insertion_point(global_scope)
|
||||
|
||||
+118
-309
@@ -83,9 +83,6 @@ extern InsertRequestDefaultTypeInternal _InsertRequest_default_instance_;
|
||||
class InsertRequests;
|
||||
struct InsertRequestsDefaultTypeInternal;
|
||||
extern InsertRequestsDefaultTypeInternal _InsertRequests_default_instance_;
|
||||
class TaskId;
|
||||
struct TaskIdDefaultTypeInternal;
|
||||
extern TaskIdDefaultTypeInternal _TaskId_default_instance_;
|
||||
} // namespace flow
|
||||
} // namespace v1
|
||||
} // namespace greptime
|
||||
@@ -100,7 +97,6 @@ template<> ::greptime::v1::flow::FlowResponse* Arena::CreateMaybeMessage<::grept
|
||||
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::InsertRequests* Arena::CreateMaybeMessage<::greptime::v1::flow::InsertRequests>(Arena*);
|
||||
template<> ::greptime::v1::flow::TaskId* Arena::CreateMaybeMessage<::greptime::v1::flow::TaskId>(Arena*);
|
||||
PROTOBUF_NAMESPACE_CLOSE
|
||||
namespace greptime {
|
||||
namespace v1 {
|
||||
@@ -1010,12 +1006,30 @@ class FlowResponse final :
|
||||
// accessors -------------------------------------------------------
|
||||
|
||||
enum : int {
|
||||
kExtensionFieldNumber = 3,
|
||||
kAffectedTasksFieldNumber = 4,
|
||||
kAffectedFlowsFieldNumber = 3,
|
||||
kExtensionFieldNumber = 4,
|
||||
kHeaderFieldNumber = 1,
|
||||
kAffectedRowsFieldNumber = 2,
|
||||
};
|
||||
// map<string, bytes> extension = 3;
|
||||
// repeated .greptime.v1.FlowId affected_flows = 3;
|
||||
int affected_flows_size() const;
|
||||
private:
|
||||
int _internal_affected_flows_size() const;
|
||||
public:
|
||||
void clear_affected_flows();
|
||||
::greptime::v1::FlowId* mutable_affected_flows(int index);
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::FlowId >*
|
||||
mutable_affected_flows();
|
||||
private:
|
||||
const ::greptime::v1::FlowId& _internal_affected_flows(int index) const;
|
||||
::greptime::v1::FlowId* _internal_add_affected_flows();
|
||||
public:
|
||||
const ::greptime::v1::FlowId& affected_flows(int index) const;
|
||||
::greptime::v1::FlowId* add_affected_flows();
|
||||
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::FlowId >&
|
||||
affected_flows() const;
|
||||
|
||||
// map<string, bytes> extension = 4;
|
||||
int extension_size() const;
|
||||
private:
|
||||
int _internal_extension_size() const;
|
||||
@@ -1032,24 +1046,6 @@ class FlowResponse final :
|
||||
::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >*
|
||||
mutable_extension();
|
||||
|
||||
// repeated .greptime.v1.flow.TaskId affected_tasks = 4;
|
||||
int affected_tasks_size() const;
|
||||
private:
|
||||
int _internal_affected_tasks_size() const;
|
||||
public:
|
||||
void clear_affected_tasks();
|
||||
::greptime::v1::flow::TaskId* mutable_affected_tasks(int index);
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::flow::TaskId >*
|
||||
mutable_affected_tasks();
|
||||
private:
|
||||
const ::greptime::v1::flow::TaskId& _internal_affected_tasks(int index) const;
|
||||
::greptime::v1::flow::TaskId* _internal_add_affected_tasks();
|
||||
public:
|
||||
const ::greptime::v1::flow::TaskId& affected_tasks(int index) const;
|
||||
::greptime::v1::flow::TaskId* add_affected_tasks();
|
||||
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::flow::TaskId >&
|
||||
affected_tasks() const;
|
||||
|
||||
// .greptime.v1.ResponseHeader header = 1;
|
||||
bool has_header() const;
|
||||
private:
|
||||
@@ -1085,12 +1081,12 @@ class FlowResponse final :
|
||||
typedef void InternalArenaConstructable_;
|
||||
typedef void DestructorSkippable_;
|
||||
struct Impl_ {
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::FlowId > affected_flows_;
|
||||
::PROTOBUF_NAMESPACE_ID::internal::MapField<
|
||||
FlowResponse_ExtensionEntry_DoNotUse,
|
||||
std::string, std::string,
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_BYTES> extension_;
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::flow::TaskId > affected_tasks_;
|
||||
::greptime::v1::ResponseHeader* header_;
|
||||
uint64_t affected_rows_;
|
||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||
@@ -1338,23 +1334,23 @@ class CreateRequest final :
|
||||
std::string* _internal_mutable_sql();
|
||||
public:
|
||||
|
||||
// .greptime.v1.flow.TaskId flow_id = 1;
|
||||
// .greptime.v1.FlowId flow_id = 1;
|
||||
bool has_flow_id() const;
|
||||
private:
|
||||
bool _internal_has_flow_id() const;
|
||||
public:
|
||||
void clear_flow_id();
|
||||
const ::greptime::v1::flow::TaskId& flow_id() const;
|
||||
PROTOBUF_NODISCARD ::greptime::v1::flow::TaskId* release_flow_id();
|
||||
::greptime::v1::flow::TaskId* mutable_flow_id();
|
||||
void set_allocated_flow_id(::greptime::v1::flow::TaskId* flow_id);
|
||||
const ::greptime::v1::FlowId& flow_id() const;
|
||||
PROTOBUF_NODISCARD ::greptime::v1::FlowId* release_flow_id();
|
||||
::greptime::v1::FlowId* mutable_flow_id();
|
||||
void set_allocated_flow_id(::greptime::v1::FlowId* flow_id);
|
||||
private:
|
||||
const ::greptime::v1::flow::TaskId& _internal_flow_id() const;
|
||||
::greptime::v1::flow::TaskId* _internal_mutable_flow_id();
|
||||
const ::greptime::v1::FlowId& _internal_flow_id() const;
|
||||
::greptime::v1::FlowId* _internal_mutable_flow_id();
|
||||
public:
|
||||
void unsafe_arena_set_allocated_flow_id(
|
||||
::greptime::v1::flow::TaskId* flow_id);
|
||||
::greptime::v1::flow::TaskId* unsafe_arena_release_flow_id();
|
||||
::greptime::v1::FlowId* flow_id);
|
||||
::greptime::v1::FlowId* unsafe_arena_release_flow_id();
|
||||
|
||||
// .greptime.v1.TableName sink_table_name = 3;
|
||||
bool has_sink_table_name() const;
|
||||
@@ -1400,7 +1396,7 @@ class CreateRequest final :
|
||||
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr expire_when_;
|
||||
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr comment_;
|
||||
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sql_;
|
||||
::greptime::v1::flow::TaskId* flow_id_;
|
||||
::greptime::v1::FlowId* flow_id_;
|
||||
::greptime::v1::TableName* sink_table_name_;
|
||||
bool create_if_not_exists_;
|
||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||
@@ -1533,23 +1529,23 @@ class DropRequest final :
|
||||
enum : int {
|
||||
kFlowIdFieldNumber = 1,
|
||||
};
|
||||
// .greptime.v1.flow.TaskId flow_id = 1;
|
||||
// .greptime.v1.FlowId flow_id = 1;
|
||||
bool has_flow_id() const;
|
||||
private:
|
||||
bool _internal_has_flow_id() const;
|
||||
public:
|
||||
void clear_flow_id();
|
||||
const ::greptime::v1::flow::TaskId& flow_id() const;
|
||||
PROTOBUF_NODISCARD ::greptime::v1::flow::TaskId* release_flow_id();
|
||||
::greptime::v1::flow::TaskId* mutable_flow_id();
|
||||
void set_allocated_flow_id(::greptime::v1::flow::TaskId* flow_id);
|
||||
const ::greptime::v1::FlowId& flow_id() const;
|
||||
PROTOBUF_NODISCARD ::greptime::v1::FlowId* release_flow_id();
|
||||
::greptime::v1::FlowId* mutable_flow_id();
|
||||
void set_allocated_flow_id(::greptime::v1::FlowId* flow_id);
|
||||
private:
|
||||
const ::greptime::v1::flow::TaskId& _internal_flow_id() const;
|
||||
::greptime::v1::flow::TaskId* _internal_mutable_flow_id();
|
||||
const ::greptime::v1::FlowId& _internal_flow_id() const;
|
||||
::greptime::v1::FlowId* _internal_mutable_flow_id();
|
||||
public:
|
||||
void unsafe_arena_set_allocated_flow_id(
|
||||
::greptime::v1::flow::TaskId* flow_id);
|
||||
::greptime::v1::flow::TaskId* unsafe_arena_release_flow_id();
|
||||
::greptime::v1::FlowId* flow_id);
|
||||
::greptime::v1::FlowId* unsafe_arena_release_flow_id();
|
||||
|
||||
// @@protoc_insertion_point(class_scope:greptime.v1.flow.DropRequest)
|
||||
private:
|
||||
@@ -1559,155 +1555,7 @@ class DropRequest final :
|
||||
typedef void InternalArenaConstructable_;
|
||||
typedef void DestructorSkippable_;
|
||||
struct Impl_ {
|
||||
::greptime::v1::flow::TaskId* flow_id_;
|
||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||
};
|
||||
union { Impl_ _impl_; };
|
||||
friend struct ::TableStruct_greptime_2fv1_2fflow_2fserver_2eproto;
|
||||
};
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
class TaskId final :
|
||||
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.flow.TaskId) */ {
|
||||
public:
|
||||
inline TaskId() : TaskId(nullptr) {}
|
||||
~TaskId() override;
|
||||
explicit PROTOBUF_CONSTEXPR TaskId(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
||||
|
||||
TaskId(const TaskId& from);
|
||||
TaskId(TaskId&& from) noexcept
|
||||
: TaskId() {
|
||||
*this = ::std::move(from);
|
||||
}
|
||||
|
||||
inline TaskId& operator=(const TaskId& from) {
|
||||
CopyFrom(from);
|
||||
return *this;
|
||||
}
|
||||
inline TaskId& operator=(TaskId&& from) noexcept {
|
||||
if (this == &from) return *this;
|
||||
if (GetOwningArena() == from.GetOwningArena()
|
||||
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
|
||||
&& GetOwningArena() != nullptr
|
||||
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
||||
) {
|
||||
InternalSwap(&from);
|
||||
} else {
|
||||
CopyFrom(from);
|
||||
}
|
||||
return *this;
|
||||
}
|
||||
|
||||
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
||||
return GetDescriptor();
|
||||
}
|
||||
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
||||
return default_instance().GetMetadata().descriptor;
|
||||
}
|
||||
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
||||
return default_instance().GetMetadata().reflection;
|
||||
}
|
||||
static const TaskId& default_instance() {
|
||||
return *internal_default_instance();
|
||||
}
|
||||
static inline const TaskId* internal_default_instance() {
|
||||
return reinterpret_cast<const TaskId*>(
|
||||
&_TaskId_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
10;
|
||||
|
||||
friend void swap(TaskId& a, TaskId& b) {
|
||||
a.Swap(&b);
|
||||
}
|
||||
inline void Swap(TaskId* other) {
|
||||
if (other == this) return;
|
||||
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
|
||||
if (GetOwningArena() != nullptr &&
|
||||
GetOwningArena() == other->GetOwningArena()) {
|
||||
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
||||
if (GetOwningArena() == other->GetOwningArena()) {
|
||||
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
||||
InternalSwap(other);
|
||||
} else {
|
||||
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
|
||||
}
|
||||
}
|
||||
void UnsafeArenaSwap(TaskId* other) {
|
||||
if (other == this) return;
|
||||
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
||||
InternalSwap(other);
|
||||
}
|
||||
|
||||
// implements Message ----------------------------------------------
|
||||
|
||||
TaskId* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
||||
return CreateMaybeMessage<TaskId>(arena);
|
||||
}
|
||||
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
||||
void CopyFrom(const TaskId& from);
|
||||
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
||||
void MergeFrom( const TaskId& from) {
|
||||
TaskId::MergeImpl(*this, from);
|
||||
}
|
||||
private:
|
||||
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
|
||||
public:
|
||||
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
||||
bool IsInitialized() const final;
|
||||
|
||||
size_t ByteSizeLong() const final;
|
||||
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
||||
uint8_t* _InternalSerialize(
|
||||
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
|
||||
int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
|
||||
|
||||
private:
|
||||
void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
|
||||
void SharedDtor();
|
||||
void SetCachedSize(int size) const final;
|
||||
void InternalSwap(TaskId* other);
|
||||
|
||||
private:
|
||||
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
||||
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
||||
return "greptime.v1.flow.TaskId";
|
||||
}
|
||||
protected:
|
||||
explicit TaskId(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||
bool is_message_owned = false);
|
||||
public:
|
||||
|
||||
static const ClassData _class_data_;
|
||||
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
|
||||
|
||||
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
||||
|
||||
// nested types ----------------------------------------------------
|
||||
|
||||
// accessors -------------------------------------------------------
|
||||
|
||||
enum : int {
|
||||
kIdFieldNumber = 1,
|
||||
};
|
||||
// uint32 id = 1;
|
||||
void clear_id();
|
||||
uint32_t id() const;
|
||||
void set_id(uint32_t value);
|
||||
private:
|
||||
uint32_t _internal_id() const;
|
||||
void _internal_set_id(uint32_t value);
|
||||
public:
|
||||
|
||||
// @@protoc_insertion_point(class_scope:greptime.v1.flow.TaskId)
|
||||
private:
|
||||
class _Internal;
|
||||
|
||||
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
||||
typedef void InternalArenaConstructable_;
|
||||
typedef void DestructorSkippable_;
|
||||
struct Impl_ {
|
||||
uint32_t id_;
|
||||
::greptime::v1::FlowId* flow_id_;
|
||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||
};
|
||||
union { Impl_ _impl_; };
|
||||
@@ -2355,7 +2203,44 @@ inline void FlowResponse::set_affected_rows(uint64_t value) {
|
||||
// @@protoc_insertion_point(field_set:greptime.v1.flow.FlowResponse.affected_rows)
|
||||
}
|
||||
|
||||
// map<string, bytes> extension = 3;
|
||||
// repeated .greptime.v1.FlowId affected_flows = 3;
|
||||
inline int FlowResponse::_internal_affected_flows_size() const {
|
||||
return _impl_.affected_flows_.size();
|
||||
}
|
||||
inline int FlowResponse::affected_flows_size() const {
|
||||
return _internal_affected_flows_size();
|
||||
}
|
||||
inline ::greptime::v1::FlowId* FlowResponse::mutable_affected_flows(int index) {
|
||||
// @@protoc_insertion_point(field_mutable:greptime.v1.flow.FlowResponse.affected_flows)
|
||||
return _impl_.affected_flows_.Mutable(index);
|
||||
}
|
||||
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::FlowId >*
|
||||
FlowResponse::mutable_affected_flows() {
|
||||
// @@protoc_insertion_point(field_mutable_list:greptime.v1.flow.FlowResponse.affected_flows)
|
||||
return &_impl_.affected_flows_;
|
||||
}
|
||||
inline const ::greptime::v1::FlowId& FlowResponse::_internal_affected_flows(int index) const {
|
||||
return _impl_.affected_flows_.Get(index);
|
||||
}
|
||||
inline const ::greptime::v1::FlowId& FlowResponse::affected_flows(int index) const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.flow.FlowResponse.affected_flows)
|
||||
return _internal_affected_flows(index);
|
||||
}
|
||||
inline ::greptime::v1::FlowId* FlowResponse::_internal_add_affected_flows() {
|
||||
return _impl_.affected_flows_.Add();
|
||||
}
|
||||
inline ::greptime::v1::FlowId* FlowResponse::add_affected_flows() {
|
||||
::greptime::v1::FlowId* _add = _internal_add_affected_flows();
|
||||
// @@protoc_insertion_point(field_add:greptime.v1.flow.FlowResponse.affected_flows)
|
||||
return _add;
|
||||
}
|
||||
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::FlowId >&
|
||||
FlowResponse::affected_flows() const {
|
||||
// @@protoc_insertion_point(field_list:greptime.v1.flow.FlowResponse.affected_flows)
|
||||
return _impl_.affected_flows_;
|
||||
}
|
||||
|
||||
// map<string, bytes> extension = 4;
|
||||
inline int FlowResponse::_internal_extension_size() const {
|
||||
return _impl_.extension_.size();
|
||||
}
|
||||
@@ -2384,76 +2269,30 @@ FlowResponse::mutable_extension() {
|
||||
return _internal_mutable_extension();
|
||||
}
|
||||
|
||||
// repeated .greptime.v1.flow.TaskId affected_tasks = 4;
|
||||
inline int FlowResponse::_internal_affected_tasks_size() const {
|
||||
return _impl_.affected_tasks_.size();
|
||||
}
|
||||
inline int FlowResponse::affected_tasks_size() const {
|
||||
return _internal_affected_tasks_size();
|
||||
}
|
||||
inline void FlowResponse::clear_affected_tasks() {
|
||||
_impl_.affected_tasks_.Clear();
|
||||
}
|
||||
inline ::greptime::v1::flow::TaskId* FlowResponse::mutable_affected_tasks(int index) {
|
||||
// @@protoc_insertion_point(field_mutable:greptime.v1.flow.FlowResponse.affected_tasks)
|
||||
return _impl_.affected_tasks_.Mutable(index);
|
||||
}
|
||||
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::flow::TaskId >*
|
||||
FlowResponse::mutable_affected_tasks() {
|
||||
// @@protoc_insertion_point(field_mutable_list:greptime.v1.flow.FlowResponse.affected_tasks)
|
||||
return &_impl_.affected_tasks_;
|
||||
}
|
||||
inline const ::greptime::v1::flow::TaskId& FlowResponse::_internal_affected_tasks(int index) const {
|
||||
return _impl_.affected_tasks_.Get(index);
|
||||
}
|
||||
inline const ::greptime::v1::flow::TaskId& FlowResponse::affected_tasks(int index) const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.flow.FlowResponse.affected_tasks)
|
||||
return _internal_affected_tasks(index);
|
||||
}
|
||||
inline ::greptime::v1::flow::TaskId* FlowResponse::_internal_add_affected_tasks() {
|
||||
return _impl_.affected_tasks_.Add();
|
||||
}
|
||||
inline ::greptime::v1::flow::TaskId* FlowResponse::add_affected_tasks() {
|
||||
::greptime::v1::flow::TaskId* _add = _internal_add_affected_tasks();
|
||||
// @@protoc_insertion_point(field_add:greptime.v1.flow.FlowResponse.affected_tasks)
|
||||
return _add;
|
||||
}
|
||||
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::flow::TaskId >&
|
||||
FlowResponse::affected_tasks() const {
|
||||
// @@protoc_insertion_point(field_list:greptime.v1.flow.FlowResponse.affected_tasks)
|
||||
return _impl_.affected_tasks_;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// CreateRequest
|
||||
|
||||
// .greptime.v1.flow.TaskId flow_id = 1;
|
||||
// .greptime.v1.FlowId flow_id = 1;
|
||||
inline bool CreateRequest::_internal_has_flow_id() const {
|
||||
return this != internal_default_instance() && _impl_.flow_id_ != nullptr;
|
||||
}
|
||||
inline bool CreateRequest::has_flow_id() const {
|
||||
return _internal_has_flow_id();
|
||||
}
|
||||
inline void CreateRequest::clear_flow_id() {
|
||||
if (GetArenaForAllocation() == nullptr && _impl_.flow_id_ != nullptr) {
|
||||
delete _impl_.flow_id_;
|
||||
inline const ::greptime::v1::FlowId& CreateRequest::_internal_flow_id() const {
|
||||
const ::greptime::v1::FlowId* p = _impl_.flow_id_;
|
||||
return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::FlowId&>(
|
||||
::greptime::v1::_FlowId_default_instance_);
|
||||
}
|
||||
_impl_.flow_id_ = nullptr;
|
||||
}
|
||||
inline const ::greptime::v1::flow::TaskId& CreateRequest::_internal_flow_id() const {
|
||||
const ::greptime::v1::flow::TaskId* p = _impl_.flow_id_;
|
||||
return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::flow::TaskId&>(
|
||||
::greptime::v1::flow::_TaskId_default_instance_);
|
||||
}
|
||||
inline const ::greptime::v1::flow::TaskId& CreateRequest::flow_id() const {
|
||||
inline const ::greptime::v1::FlowId& CreateRequest::flow_id() const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.flow.CreateRequest.flow_id)
|
||||
return _internal_flow_id();
|
||||
}
|
||||
inline void CreateRequest::unsafe_arena_set_allocated_flow_id(
|
||||
::greptime::v1::flow::TaskId* flow_id) {
|
||||
::greptime::v1::FlowId* flow_id) {
|
||||
if (GetArenaForAllocation() == nullptr) {
|
||||
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.flow_id_);
|
||||
}
|
||||
@@ -2465,9 +2304,9 @@ inline void CreateRequest::unsafe_arena_set_allocated_flow_id(
|
||||
}
|
||||
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.flow.CreateRequest.flow_id)
|
||||
}
|
||||
inline ::greptime::v1::flow::TaskId* CreateRequest::release_flow_id() {
|
||||
inline ::greptime::v1::FlowId* CreateRequest::release_flow_id() {
|
||||
|
||||
::greptime::v1::flow::TaskId* temp = _impl_.flow_id_;
|
||||
::greptime::v1::FlowId* temp = _impl_.flow_id_;
|
||||
_impl_.flow_id_ = nullptr;
|
||||
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
|
||||
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
|
||||
@@ -2480,34 +2319,35 @@ inline ::greptime::v1::flow::TaskId* CreateRequest::release_flow_id() {
|
||||
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
|
||||
return temp;
|
||||
}
|
||||
inline ::greptime::v1::flow::TaskId* CreateRequest::unsafe_arena_release_flow_id() {
|
||||
inline ::greptime::v1::FlowId* CreateRequest::unsafe_arena_release_flow_id() {
|
||||
// @@protoc_insertion_point(field_release:greptime.v1.flow.CreateRequest.flow_id)
|
||||
|
||||
::greptime::v1::flow::TaskId* temp = _impl_.flow_id_;
|
||||
::greptime::v1::FlowId* temp = _impl_.flow_id_;
|
||||
_impl_.flow_id_ = nullptr;
|
||||
return temp;
|
||||
}
|
||||
inline ::greptime::v1::flow::TaskId* CreateRequest::_internal_mutable_flow_id() {
|
||||
inline ::greptime::v1::FlowId* CreateRequest::_internal_mutable_flow_id() {
|
||||
|
||||
if (_impl_.flow_id_ == nullptr) {
|
||||
auto* p = CreateMaybeMessage<::greptime::v1::flow::TaskId>(GetArenaForAllocation());
|
||||
auto* p = CreateMaybeMessage<::greptime::v1::FlowId>(GetArenaForAllocation());
|
||||
_impl_.flow_id_ = p;
|
||||
}
|
||||
return _impl_.flow_id_;
|
||||
}
|
||||
inline ::greptime::v1::flow::TaskId* CreateRequest::mutable_flow_id() {
|
||||
::greptime::v1::flow::TaskId* _msg = _internal_mutable_flow_id();
|
||||
inline ::greptime::v1::FlowId* CreateRequest::mutable_flow_id() {
|
||||
::greptime::v1::FlowId* _msg = _internal_mutable_flow_id();
|
||||
// @@protoc_insertion_point(field_mutable:greptime.v1.flow.CreateRequest.flow_id)
|
||||
return _msg;
|
||||
}
|
||||
inline void CreateRequest::set_allocated_flow_id(::greptime::v1::flow::TaskId* flow_id) {
|
||||
inline void CreateRequest::set_allocated_flow_id(::greptime::v1::FlowId* flow_id) {
|
||||
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||
if (message_arena == nullptr) {
|
||||
delete _impl_.flow_id_;
|
||||
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.flow_id_);
|
||||
}
|
||||
if (flow_id) {
|
||||
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
||||
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(flow_id);
|
||||
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
|
||||
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(flow_id));
|
||||
if (message_arena != submessage_arena) {
|
||||
flow_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
||||
message_arena, flow_id, submessage_arena);
|
||||
@@ -2845,30 +2685,24 @@ CreateRequest::mutable_flow_options() {
|
||||
|
||||
// DropRequest
|
||||
|
||||
// .greptime.v1.flow.TaskId flow_id = 1;
|
||||
// .greptime.v1.FlowId flow_id = 1;
|
||||
inline bool DropRequest::_internal_has_flow_id() const {
|
||||
return this != internal_default_instance() && _impl_.flow_id_ != nullptr;
|
||||
}
|
||||
inline bool DropRequest::has_flow_id() const {
|
||||
return _internal_has_flow_id();
|
||||
}
|
||||
inline void DropRequest::clear_flow_id() {
|
||||
if (GetArenaForAllocation() == nullptr && _impl_.flow_id_ != nullptr) {
|
||||
delete _impl_.flow_id_;
|
||||
inline const ::greptime::v1::FlowId& DropRequest::_internal_flow_id() const {
|
||||
const ::greptime::v1::FlowId* p = _impl_.flow_id_;
|
||||
return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::FlowId&>(
|
||||
::greptime::v1::_FlowId_default_instance_);
|
||||
}
|
||||
_impl_.flow_id_ = nullptr;
|
||||
}
|
||||
inline const ::greptime::v1::flow::TaskId& DropRequest::_internal_flow_id() const {
|
||||
const ::greptime::v1::flow::TaskId* p = _impl_.flow_id_;
|
||||
return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::flow::TaskId&>(
|
||||
::greptime::v1::flow::_TaskId_default_instance_);
|
||||
}
|
||||
inline const ::greptime::v1::flow::TaskId& DropRequest::flow_id() const {
|
||||
inline const ::greptime::v1::FlowId& DropRequest::flow_id() const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.flow.DropRequest.flow_id)
|
||||
return _internal_flow_id();
|
||||
}
|
||||
inline void DropRequest::unsafe_arena_set_allocated_flow_id(
|
||||
::greptime::v1::flow::TaskId* flow_id) {
|
||||
::greptime::v1::FlowId* flow_id) {
|
||||
if (GetArenaForAllocation() == nullptr) {
|
||||
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.flow_id_);
|
||||
}
|
||||
@@ -2880,9 +2714,9 @@ inline void DropRequest::unsafe_arena_set_allocated_flow_id(
|
||||
}
|
||||
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.flow.DropRequest.flow_id)
|
||||
}
|
||||
inline ::greptime::v1::flow::TaskId* DropRequest::release_flow_id() {
|
||||
inline ::greptime::v1::FlowId* DropRequest::release_flow_id() {
|
||||
|
||||
::greptime::v1::flow::TaskId* temp = _impl_.flow_id_;
|
||||
::greptime::v1::FlowId* temp = _impl_.flow_id_;
|
||||
_impl_.flow_id_ = nullptr;
|
||||
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
|
||||
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
|
||||
@@ -2895,34 +2729,35 @@ inline ::greptime::v1::flow::TaskId* DropRequest::release_flow_id() {
|
||||
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
|
||||
return temp;
|
||||
}
|
||||
inline ::greptime::v1::flow::TaskId* DropRequest::unsafe_arena_release_flow_id() {
|
||||
inline ::greptime::v1::FlowId* DropRequest::unsafe_arena_release_flow_id() {
|
||||
// @@protoc_insertion_point(field_release:greptime.v1.flow.DropRequest.flow_id)
|
||||
|
||||
::greptime::v1::flow::TaskId* temp = _impl_.flow_id_;
|
||||
::greptime::v1::FlowId* temp = _impl_.flow_id_;
|
||||
_impl_.flow_id_ = nullptr;
|
||||
return temp;
|
||||
}
|
||||
inline ::greptime::v1::flow::TaskId* DropRequest::_internal_mutable_flow_id() {
|
||||
inline ::greptime::v1::FlowId* DropRequest::_internal_mutable_flow_id() {
|
||||
|
||||
if (_impl_.flow_id_ == nullptr) {
|
||||
auto* p = CreateMaybeMessage<::greptime::v1::flow::TaskId>(GetArenaForAllocation());
|
||||
auto* p = CreateMaybeMessage<::greptime::v1::FlowId>(GetArenaForAllocation());
|
||||
_impl_.flow_id_ = p;
|
||||
}
|
||||
return _impl_.flow_id_;
|
||||
}
|
||||
inline ::greptime::v1::flow::TaskId* DropRequest::mutable_flow_id() {
|
||||
::greptime::v1::flow::TaskId* _msg = _internal_mutable_flow_id();
|
||||
inline ::greptime::v1::FlowId* DropRequest::mutable_flow_id() {
|
||||
::greptime::v1::FlowId* _msg = _internal_mutable_flow_id();
|
||||
// @@protoc_insertion_point(field_mutable:greptime.v1.flow.DropRequest.flow_id)
|
||||
return _msg;
|
||||
}
|
||||
inline void DropRequest::set_allocated_flow_id(::greptime::v1::flow::TaskId* flow_id) {
|
||||
inline void DropRequest::set_allocated_flow_id(::greptime::v1::FlowId* flow_id) {
|
||||
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||
if (message_arena == nullptr) {
|
||||
delete _impl_.flow_id_;
|
||||
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.flow_id_);
|
||||
}
|
||||
if (flow_id) {
|
||||
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
||||
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(flow_id);
|
||||
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
|
||||
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(flow_id));
|
||||
if (message_arena != submessage_arena) {
|
||||
flow_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
||||
message_arena, flow_id, submessage_arena);
|
||||
@@ -2935,30 +2770,6 @@ inline void DropRequest::set_allocated_flow_id(::greptime::v1::flow::TaskId* flo
|
||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.flow.DropRequest.flow_id)
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// TaskId
|
||||
|
||||
// uint32 id = 1;
|
||||
inline void TaskId::clear_id() {
|
||||
_impl_.id_ = 0u;
|
||||
}
|
||||
inline uint32_t TaskId::_internal_id() const {
|
||||
return _impl_.id_;
|
||||
}
|
||||
inline uint32_t TaskId::id() const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.flow.TaskId.id)
|
||||
return _internal_id();
|
||||
}
|
||||
inline void TaskId::_internal_set_id(uint32_t value) {
|
||||
|
||||
_impl_.id_ = value;
|
||||
}
|
||||
inline void TaskId::set_id(uint32_t value) {
|
||||
_internal_set_id(value);
|
||||
// @@protoc_insertion_point(field_set:greptime.v1.flow.TaskId.id)
|
||||
}
|
||||
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic pop
|
||||
#endif // __GNUC__
|
||||
@@ -2980,8 +2791,6 @@ inline void TaskId::set_id(uint32_t value) {
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
|
||||
// @@protoc_insertion_point(namespace_scope)
|
||||
|
||||
|
||||
@@ -94,19 +94,6 @@ struct PeerDefaultTypeInternal {
|
||||
};
|
||||
};
|
||||
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PeerDefaultTypeInternal _Peer_default_instance_;
|
||||
PROTOBUF_CONSTEXPR TableId::TableId(
|
||||
::_pbi::ConstantInitialized): _impl_{
|
||||
/*decltype(_impl_.id_)*/0u
|
||||
, /*decltype(_impl_._cached_size_)*/{}} {}
|
||||
struct TableIdDefaultTypeInternal {
|
||||
PROTOBUF_CONSTEXPR TableIdDefaultTypeInternal()
|
||||
: _instance(::_pbi::ConstantInitialized{}) {}
|
||||
~TableIdDefaultTypeInternal() {}
|
||||
union {
|
||||
TableId _instance;
|
||||
};
|
||||
};
|
||||
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TableIdDefaultTypeInternal _TableId_default_instance_;
|
||||
PROTOBUF_CONSTEXPR TimeInterval::TimeInterval(
|
||||
::_pbi::ConstantInitialized): _impl_{
|
||||
/*decltype(_impl_.start_timestamp_millis_)*/int64_t{0}
|
||||
@@ -151,7 +138,7 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORIT
|
||||
} // namespace meta
|
||||
} // namespace v1
|
||||
} // namespace greptime
|
||||
static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fmeta_2fcommon_2eproto[9];
|
||||
static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fmeta_2fcommon_2eproto[8];
|
||||
static const ::_pb::EnumDescriptor* file_level_enum_descriptors_greptime_2fv1_2fmeta_2fcommon_2eproto[1];
|
||||
static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_greptime_2fv1_2fmeta_2fcommon_2eproto = nullptr;
|
||||
|
||||
@@ -203,13 +190,6 @@ const uint32_t TableStruct_greptime_2fv1_2fmeta_2fcommon_2eproto::offsets[] PROT
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::Peer, _impl_.id_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::Peer, _impl_.addr_),
|
||||
~0u, // no _has_bits_
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::TableId, _internal_metadata_),
|
||||
~0u, // no _extensions_
|
||||
~0u, // no _oneof_case_
|
||||
~0u, // no _weak_field_map_
|
||||
~0u, // no _inlined_string_donated_
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::TableId, _impl_.id_),
|
||||
~0u, // no _has_bits_
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::TimeInterval, _internal_metadata_),
|
||||
~0u, // no _extensions_
|
||||
~0u, // no _oneof_case_
|
||||
@@ -239,10 +219,9 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode
|
||||
{ 21, -1, -1, sizeof(::greptime::v1::meta::ResponseHeader)},
|
||||
{ 30, -1, -1, sizeof(::greptime::v1::meta::Error)},
|
||||
{ 38, -1, -1, sizeof(::greptime::v1::meta::Peer)},
|
||||
{ 46, -1, -1, sizeof(::greptime::v1::meta::TableId)},
|
||||
{ 53, -1, -1, sizeof(::greptime::v1::meta::TimeInterval)},
|
||||
{ 61, -1, -1, sizeof(::greptime::v1::meta::KeyValue)},
|
||||
{ 69, -1, -1, sizeof(::greptime::v1::meta::ProcedureId)},
|
||||
{ 46, -1, -1, sizeof(::greptime::v1::meta::TimeInterval)},
|
||||
{ 54, -1, -1, sizeof(::greptime::v1::meta::KeyValue)},
|
||||
{ 62, -1, -1, sizeof(::greptime::v1::meta::ProcedureId)},
|
||||
};
|
||||
|
||||
static const ::_pb::Message* const file_default_instances[] = {
|
||||
@@ -251,7 +230,6 @@ static const ::_pb::Message* const file_default_instances[] = {
|
||||
&::greptime::v1::meta::_ResponseHeader_default_instance_._instance,
|
||||
&::greptime::v1::meta::_Error_default_instance_._instance,
|
||||
&::greptime::v1::meta::_Peer_default_instance_._instance,
|
||||
&::greptime::v1::meta::_TableId_default_instance_._instance,
|
||||
&::greptime::v1::meta::_TimeInterval_default_instance_._instance,
|
||||
&::greptime::v1::meta::_KeyValue_default_instance_._instance,
|
||||
&::greptime::v1::meta::_ProcedureId_default_instance_._instance,
|
||||
@@ -270,19 +248,19 @@ const char descriptor_table_protodef_greptime_2fv1_2fmeta_2fcommon_2eproto[] PRO
|
||||
"d\030\002 \001(\004\022&\n\005error\030\003 \001(\0132\027.greptime.v1.met"
|
||||
"a.Error\"&\n\005Error\022\014\n\004code\030\001 \001(\005\022\017\n\007err_ms"
|
||||
"g\030\002 \001(\t\" \n\004Peer\022\n\n\002id\030\001 \001(\004\022\014\n\004addr\030\002 \001("
|
||||
"\t\"\025\n\007TableId\022\n\n\002id\030\001 \001(\r\"L\n\014TimeInterval"
|
||||
"\022\036\n\026start_timestamp_millis\030\001 \001(\003\022\034\n\024end_"
|
||||
"timestamp_millis\030\002 \001(\003\"&\n\010KeyValue\022\013\n\003ke"
|
||||
"y\030\001 \001(\014\022\r\n\005value\030\002 \001(\014\"\032\n\013ProcedureId\022\013\n"
|
||||
"\003key\030\001 \001(\014*\"\n\004Role\022\014\n\010DATANODE\020\000\022\014\n\010FRON"
|
||||
"TEND\020\001B<Z:github.com/GreptimeTeam/grepti"
|
||||
"me-proto/go/greptime/v1/metab\006proto3"
|
||||
"\t\"L\n\014TimeInterval\022\036\n\026start_timestamp_mil"
|
||||
"lis\030\001 \001(\003\022\034\n\024end_timestamp_millis\030\002 \001(\003\""
|
||||
"&\n\010KeyValue\022\013\n\003key\030\001 \001(\014\022\r\n\005value\030\002 \001(\014\""
|
||||
"\032\n\013ProcedureId\022\013\n\003key\030\001 \001(\014*\"\n\004Role\022\014\n\010D"
|
||||
"ATANODE\020\000\022\014\n\010FRONTEND\020\001B<Z:github.com/Gr"
|
||||
"eptimeTeam/greptime-proto/go/greptime/v1"
|
||||
"/metab\006proto3"
|
||||
;
|
||||
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fmeta_2fcommon_2eproto_once;
|
||||
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fmeta_2fcommon_2eproto = {
|
||||
false, false, 756, descriptor_table_protodef_greptime_2fv1_2fmeta_2fcommon_2eproto,
|
||||
false, false, 733, descriptor_table_protodef_greptime_2fv1_2fmeta_2fcommon_2eproto,
|
||||
"greptime/v1/meta/common.proto",
|
||||
&descriptor_table_greptime_2fv1_2fmeta_2fcommon_2eproto_once, nullptr, 0, 9,
|
||||
&descriptor_table_greptime_2fv1_2fmeta_2fcommon_2eproto_once, nullptr, 0, 8,
|
||||
schemas, file_default_instances, TableStruct_greptime_2fv1_2fmeta_2fcommon_2eproto::offsets,
|
||||
file_level_metadata_greptime_2fv1_2fmeta_2fcommon_2eproto, file_level_enum_descriptors_greptime_2fv1_2fmeta_2fcommon_2eproto,
|
||||
file_level_service_descriptors_greptime_2fv1_2fmeta_2fcommon_2eproto,
|
||||
@@ -1369,184 +1347,6 @@ void Peer::InternalSwap(Peer* other) {
|
||||
|
||||
// ===================================================================
|
||||
|
||||
class TableId::_Internal {
|
||||
public:
|
||||
};
|
||||
|
||||
TableId::TableId(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||
bool is_message_owned)
|
||||
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
|
||||
SharedCtor(arena, is_message_owned);
|
||||
// @@protoc_insertion_point(arena_constructor:greptime.v1.meta.TableId)
|
||||
}
|
||||
TableId::TableId(const TableId& from)
|
||||
: ::PROTOBUF_NAMESPACE_ID::Message() {
|
||||
TableId* const _this = this; (void)_this;
|
||||
new (&_impl_) Impl_{
|
||||
decltype(_impl_.id_){}
|
||||
, /*decltype(_impl_._cached_size_)*/{}};
|
||||
|
||||
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||
_this->_impl_.id_ = from._impl_.id_;
|
||||
// @@protoc_insertion_point(copy_constructor:greptime.v1.meta.TableId)
|
||||
}
|
||||
|
||||
inline void TableId::SharedCtor(
|
||||
::_pb::Arena* arena, bool is_message_owned) {
|
||||
(void)arena;
|
||||
(void)is_message_owned;
|
||||
new (&_impl_) Impl_{
|
||||
decltype(_impl_.id_){0u}
|
||||
, /*decltype(_impl_._cached_size_)*/{}
|
||||
};
|
||||
}
|
||||
|
||||
TableId::~TableId() {
|
||||
// @@protoc_insertion_point(destructor:greptime.v1.meta.TableId)
|
||||
if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
|
||||
(void)arena;
|
||||
return;
|
||||
}
|
||||
SharedDtor();
|
||||
}
|
||||
|
||||
inline void TableId::SharedDtor() {
|
||||
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
|
||||
}
|
||||
|
||||
void TableId::SetCachedSize(int size) const {
|
||||
_impl_._cached_size_.Set(size);
|
||||
}
|
||||
|
||||
void TableId::Clear() {
|
||||
// @@protoc_insertion_point(message_clear_start:greptime.v1.meta.TableId)
|
||||
uint32_t cached_has_bits = 0;
|
||||
// Prevent compiler warnings about cached_has_bits being unused
|
||||
(void) cached_has_bits;
|
||||
|
||||
_impl_.id_ = 0u;
|
||||
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
||||
}
|
||||
|
||||
const char* TableId::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
|
||||
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
|
||||
while (!ctx->Done(&ptr)) {
|
||||
uint32_t tag;
|
||||
ptr = ::_pbi::ReadTag(ptr, &tag);
|
||||
switch (tag >> 3) {
|
||||
// uint32 id = 1;
|
||||
case 1:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
|
||||
_impl_.id_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
|
||||
CHK_(ptr);
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
default:
|
||||
goto handle_unusual;
|
||||
} // switch
|
||||
handle_unusual:
|
||||
if ((tag == 0) || ((tag & 7) == 4)) {
|
||||
CHK_(ptr);
|
||||
ctx->SetLastTag(tag);
|
||||
goto message_done;
|
||||
}
|
||||
ptr = UnknownFieldParse(
|
||||
tag,
|
||||
_internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
|
||||
ptr, ctx);
|
||||
CHK_(ptr != nullptr);
|
||||
} // while
|
||||
message_done:
|
||||
return ptr;
|
||||
failure:
|
||||
ptr = nullptr;
|
||||
goto message_done;
|
||||
#undef CHK_
|
||||
}
|
||||
|
||||
uint8_t* TableId::_InternalSerialize(
|
||||
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
|
||||
// @@protoc_insertion_point(serialize_to_array_start:greptime.v1.meta.TableId)
|
||||
uint32_t cached_has_bits = 0;
|
||||
(void) cached_has_bits;
|
||||
|
||||
// uint32 id = 1;
|
||||
if (this->_internal_id() != 0) {
|
||||
target = stream->EnsureSpace(target);
|
||||
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_id(), target);
|
||||
}
|
||||
|
||||
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
||||
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
||||
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
|
||||
}
|
||||
// @@protoc_insertion_point(serialize_to_array_end:greptime.v1.meta.TableId)
|
||||
return target;
|
||||
}
|
||||
|
||||
size_t TableId::ByteSizeLong() const {
|
||||
// @@protoc_insertion_point(message_byte_size_start:greptime.v1.meta.TableId)
|
||||
size_t total_size = 0;
|
||||
|
||||
uint32_t cached_has_bits = 0;
|
||||
// Prevent compiler warnings about cached_has_bits being unused
|
||||
(void) cached_has_bits;
|
||||
|
||||
// uint32 id = 1;
|
||||
if (this->_internal_id() != 0) {
|
||||
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_id());
|
||||
}
|
||||
|
||||
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
||||
}
|
||||
|
||||
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TableId::_class_data_ = {
|
||||
::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
|
||||
TableId::MergeImpl
|
||||
};
|
||||
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TableId::GetClassData() const { return &_class_data_; }
|
||||
|
||||
|
||||
void TableId::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
|
||||
auto* const _this = static_cast<TableId*>(&to_msg);
|
||||
auto& from = static_cast<const TableId&>(from_msg);
|
||||
// @@protoc_insertion_point(class_specific_merge_from_start:greptime.v1.meta.TableId)
|
||||
GOOGLE_DCHECK_NE(&from, _this);
|
||||
uint32_t cached_has_bits = 0;
|
||||
(void) cached_has_bits;
|
||||
|
||||
if (from._internal_id() != 0) {
|
||||
_this->_internal_set_id(from._internal_id());
|
||||
}
|
||||
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||
}
|
||||
|
||||
void TableId::CopyFrom(const TableId& from) {
|
||||
// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.meta.TableId)
|
||||
if (&from == this) return;
|
||||
Clear();
|
||||
MergeFrom(from);
|
||||
}
|
||||
|
||||
bool TableId::IsInitialized() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
void TableId::InternalSwap(TableId* other) {
|
||||
using std::swap;
|
||||
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
||||
swap(_impl_.id_, other->_impl_.id_);
|
||||
}
|
||||
|
||||
::PROTOBUF_NAMESPACE_ID::Metadata TableId::GetMetadata() const {
|
||||
return ::_pbi::AssignDescriptors(
|
||||
&descriptor_table_greptime_2fv1_2fmeta_2fcommon_2eproto_getter, &descriptor_table_greptime_2fv1_2fmeta_2fcommon_2eproto_once,
|
||||
file_level_metadata_greptime_2fv1_2fmeta_2fcommon_2eproto[5]);
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
|
||||
class TimeInterval::_Internal {
|
||||
public:
|
||||
};
|
||||
@@ -1753,7 +1553,7 @@ void TimeInterval::InternalSwap(TimeInterval* other) {
|
||||
::PROTOBUF_NAMESPACE_ID::Metadata TimeInterval::GetMetadata() const {
|
||||
return ::_pbi::AssignDescriptors(
|
||||
&descriptor_table_greptime_2fv1_2fmeta_2fcommon_2eproto_getter, &descriptor_table_greptime_2fv1_2fmeta_2fcommon_2eproto_once,
|
||||
file_level_metadata_greptime_2fv1_2fmeta_2fcommon_2eproto[6]);
|
||||
file_level_metadata_greptime_2fv1_2fmeta_2fcommon_2eproto[5]);
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
@@ -1996,7 +1796,7 @@ void KeyValue::InternalSwap(KeyValue* other) {
|
||||
::PROTOBUF_NAMESPACE_ID::Metadata KeyValue::GetMetadata() const {
|
||||
return ::_pbi::AssignDescriptors(
|
||||
&descriptor_table_greptime_2fv1_2fmeta_2fcommon_2eproto_getter, &descriptor_table_greptime_2fv1_2fmeta_2fcommon_2eproto_once,
|
||||
file_level_metadata_greptime_2fv1_2fmeta_2fcommon_2eproto[7]);
|
||||
file_level_metadata_greptime_2fv1_2fmeta_2fcommon_2eproto[6]);
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
@@ -2194,7 +1994,7 @@ void ProcedureId::InternalSwap(ProcedureId* other) {
|
||||
::PROTOBUF_NAMESPACE_ID::Metadata ProcedureId::GetMetadata() const {
|
||||
return ::_pbi::AssignDescriptors(
|
||||
&descriptor_table_greptime_2fv1_2fmeta_2fcommon_2eproto_getter, &descriptor_table_greptime_2fv1_2fmeta_2fcommon_2eproto_once,
|
||||
file_level_metadata_greptime_2fv1_2fmeta_2fcommon_2eproto[8]);
|
||||
file_level_metadata_greptime_2fv1_2fmeta_2fcommon_2eproto[7]);
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(namespace_scope)
|
||||
@@ -2222,10 +2022,6 @@ template<> PROTOBUF_NOINLINE ::greptime::v1::meta::Peer*
|
||||
Arena::CreateMaybeMessage< ::greptime::v1::meta::Peer >(Arena* arena) {
|
||||
return Arena::CreateMessageInternal< ::greptime::v1::meta::Peer >(arena);
|
||||
}
|
||||
template<> PROTOBUF_NOINLINE ::greptime::v1::meta::TableId*
|
||||
Arena::CreateMaybeMessage< ::greptime::v1::meta::TableId >(Arena* arena) {
|
||||
return Arena::CreateMessageInternal< ::greptime::v1::meta::TableId >(arena);
|
||||
}
|
||||
template<> PROTOBUF_NOINLINE ::greptime::v1::meta::TimeInterval*
|
||||
Arena::CreateMaybeMessage< ::greptime::v1::meta::TimeInterval >(Arena* arena) {
|
||||
return Arena::CreateMessageInternal< ::greptime::v1::meta::TimeInterval >(arena);
|
||||
|
||||
@@ -72,9 +72,6 @@ extern RequestHeader_TracingContextEntry_DoNotUseDefaultTypeInternal _RequestHea
|
||||
class ResponseHeader;
|
||||
struct ResponseHeaderDefaultTypeInternal;
|
||||
extern ResponseHeaderDefaultTypeInternal _ResponseHeader_default_instance_;
|
||||
class TableId;
|
||||
struct TableIdDefaultTypeInternal;
|
||||
extern TableIdDefaultTypeInternal _TableId_default_instance_;
|
||||
class TimeInterval;
|
||||
struct TimeIntervalDefaultTypeInternal;
|
||||
extern TimeIntervalDefaultTypeInternal _TimeInterval_default_instance_;
|
||||
@@ -89,7 +86,6 @@ template<> ::greptime::v1::meta::ProcedureId* Arena::CreateMaybeMessage<::grepti
|
||||
template<> ::greptime::v1::meta::RequestHeader* Arena::CreateMaybeMessage<::greptime::v1::meta::RequestHeader>(Arena*);
|
||||
template<> ::greptime::v1::meta::RequestHeader_TracingContextEntry_DoNotUse* Arena::CreateMaybeMessage<::greptime::v1::meta::RequestHeader_TracingContextEntry_DoNotUse>(Arena*);
|
||||
template<> ::greptime::v1::meta::ResponseHeader* Arena::CreateMaybeMessage<::greptime::v1::meta::ResponseHeader>(Arena*);
|
||||
template<> ::greptime::v1::meta::TableId* Arena::CreateMaybeMessage<::greptime::v1::meta::TableId>(Arena*);
|
||||
template<> ::greptime::v1::meta::TimeInterval* Arena::CreateMaybeMessage<::greptime::v1::meta::TimeInterval>(Arena*);
|
||||
PROTOBUF_NAMESPACE_CLOSE
|
||||
namespace greptime {
|
||||
@@ -865,154 +861,6 @@ class Peer final :
|
||||
};
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
class TableId final :
|
||||
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.meta.TableId) */ {
|
||||
public:
|
||||
inline TableId() : TableId(nullptr) {}
|
||||
~TableId() override;
|
||||
explicit PROTOBUF_CONSTEXPR TableId(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
||||
|
||||
TableId(const TableId& from);
|
||||
TableId(TableId&& from) noexcept
|
||||
: TableId() {
|
||||
*this = ::std::move(from);
|
||||
}
|
||||
|
||||
inline TableId& operator=(const TableId& from) {
|
||||
CopyFrom(from);
|
||||
return *this;
|
||||
}
|
||||
inline TableId& operator=(TableId&& from) noexcept {
|
||||
if (this == &from) return *this;
|
||||
if (GetOwningArena() == from.GetOwningArena()
|
||||
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
|
||||
&& GetOwningArena() != nullptr
|
||||
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
||||
) {
|
||||
InternalSwap(&from);
|
||||
} else {
|
||||
CopyFrom(from);
|
||||
}
|
||||
return *this;
|
||||
}
|
||||
|
||||
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
||||
return GetDescriptor();
|
||||
}
|
||||
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
||||
return default_instance().GetMetadata().descriptor;
|
||||
}
|
||||
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
||||
return default_instance().GetMetadata().reflection;
|
||||
}
|
||||
static const TableId& default_instance() {
|
||||
return *internal_default_instance();
|
||||
}
|
||||
static inline const TableId* internal_default_instance() {
|
||||
return reinterpret_cast<const TableId*>(
|
||||
&_TableId_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
5;
|
||||
|
||||
friend void swap(TableId& a, TableId& b) {
|
||||
a.Swap(&b);
|
||||
}
|
||||
inline void Swap(TableId* other) {
|
||||
if (other == this) return;
|
||||
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
|
||||
if (GetOwningArena() != nullptr &&
|
||||
GetOwningArena() == other->GetOwningArena()) {
|
||||
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
||||
if (GetOwningArena() == other->GetOwningArena()) {
|
||||
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
||||
InternalSwap(other);
|
||||
} else {
|
||||
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
|
||||
}
|
||||
}
|
||||
void UnsafeArenaSwap(TableId* other) {
|
||||
if (other == this) return;
|
||||
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
||||
InternalSwap(other);
|
||||
}
|
||||
|
||||
// implements Message ----------------------------------------------
|
||||
|
||||
TableId* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
||||
return CreateMaybeMessage<TableId>(arena);
|
||||
}
|
||||
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
||||
void CopyFrom(const TableId& from);
|
||||
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
||||
void MergeFrom( const TableId& from) {
|
||||
TableId::MergeImpl(*this, from);
|
||||
}
|
||||
private:
|
||||
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
|
||||
public:
|
||||
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
||||
bool IsInitialized() const final;
|
||||
|
||||
size_t ByteSizeLong() const final;
|
||||
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
||||
uint8_t* _InternalSerialize(
|
||||
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
|
||||
int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
|
||||
|
||||
private:
|
||||
void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
|
||||
void SharedDtor();
|
||||
void SetCachedSize(int size) const final;
|
||||
void InternalSwap(TableId* other);
|
||||
|
||||
private:
|
||||
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
||||
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
||||
return "greptime.v1.meta.TableId";
|
||||
}
|
||||
protected:
|
||||
explicit TableId(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||
bool is_message_owned = false);
|
||||
public:
|
||||
|
||||
static const ClassData _class_data_;
|
||||
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
|
||||
|
||||
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
||||
|
||||
// nested types ----------------------------------------------------
|
||||
|
||||
// accessors -------------------------------------------------------
|
||||
|
||||
enum : int {
|
||||
kIdFieldNumber = 1,
|
||||
};
|
||||
// uint32 id = 1;
|
||||
void clear_id();
|
||||
uint32_t id() const;
|
||||
void set_id(uint32_t value);
|
||||
private:
|
||||
uint32_t _internal_id() const;
|
||||
void _internal_set_id(uint32_t value);
|
||||
public:
|
||||
|
||||
// @@protoc_insertion_point(class_scope:greptime.v1.meta.TableId)
|
||||
private:
|
||||
class _Internal;
|
||||
|
||||
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
||||
typedef void InternalArenaConstructable_;
|
||||
typedef void DestructorSkippable_;
|
||||
struct Impl_ {
|
||||
uint32_t id_;
|
||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||
};
|
||||
union { Impl_ _impl_; };
|
||||
friend struct ::TableStruct_greptime_2fv1_2fmeta_2fcommon_2eproto;
|
||||
};
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
class TimeInterval final :
|
||||
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.meta.TimeInterval) */ {
|
||||
public:
|
||||
@@ -1061,7 +909,7 @@ class TimeInterval final :
|
||||
&_TimeInterval_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
6;
|
||||
5;
|
||||
|
||||
friend void swap(TimeInterval& a, TimeInterval& b) {
|
||||
a.Swap(&b);
|
||||
@@ -1220,7 +1068,7 @@ class KeyValue final :
|
||||
&_KeyValue_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
7;
|
||||
6;
|
||||
|
||||
friend void swap(KeyValue& a, KeyValue& b) {
|
||||
a.Swap(&b);
|
||||
@@ -1389,7 +1237,7 @@ class ProcedureId final :
|
||||
&_ProcedureId_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
8;
|
||||
7;
|
||||
|
||||
friend void swap(ProcedureId& a, ProcedureId& b) {
|
||||
a.Swap(&b);
|
||||
@@ -1898,30 +1746,6 @@ inline void Peer::set_allocated_addr(std::string* addr) {
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// TableId
|
||||
|
||||
// uint32 id = 1;
|
||||
inline void TableId::clear_id() {
|
||||
_impl_.id_ = 0u;
|
||||
}
|
||||
inline uint32_t TableId::_internal_id() const {
|
||||
return _impl_.id_;
|
||||
}
|
||||
inline uint32_t TableId::id() const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.meta.TableId.id)
|
||||
return _internal_id();
|
||||
}
|
||||
inline void TableId::_internal_set_id(uint32_t value) {
|
||||
|
||||
_impl_.id_ = value;
|
||||
}
|
||||
inline void TableId::set_id(uint32_t value) {
|
||||
_internal_set_id(value);
|
||||
// @@protoc_insertion_point(field_set:greptime.v1.meta.TableId.id)
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// TimeInterval
|
||||
|
||||
// int64 start_timestamp_millis = 1;
|
||||
@@ -2139,8 +1963,6 @@ inline void ProcedureId::set_allocated_key(std::string* key) {
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
|
||||
// @@protoc_insertion_point(namespace_scope)
|
||||
|
||||
|
||||
@@ -396,15 +396,14 @@ const char descriptor_table_protodef_greptime_2fv1_2fmeta_2fddl_2eproto[] PROTOB
|
||||
"baseTaskH\000\022<\n\020create_flow_task\030\013 \001(\0132 .g"
|
||||
"reptime.v1.meta.CreateFlowTaskH\000\0228\n\016drop"
|
||||
"_flow_task\030\014 \001(\0132\036.greptime.v1.meta.Drop"
|
||||
"FlowTaskH\000B\006\n\004task\"\312\001\n\017DdlTaskResponse\0220"
|
||||
"FlowTaskH\000B\006\n\004task\"\300\001\n\017DdlTaskResponse\0220"
|
||||
"\n\006header\030\001 \001(\0132 .greptime.v1.meta.Respon"
|
||||
"seHeader\022*\n\003pid\030\002 \001(\0132\035.greptime.v1.meta"
|
||||
".ProcedureId\022+\n\010table_id\030\004 \001(\0132\031.greptim"
|
||||
"e.v1.meta.TableId\022,\n\ttable_ids\030\005 \003(\0132\031.g"
|
||||
"reptime.v1.meta.TableId*#\n\013DdlTaskType\022\n"
|
||||
"\n\006Create\020\000\022\010\n\004Drop\020\001B<Z:github.com/Grept"
|
||||
"imeTeam/greptime-proto/go/greptime/v1/me"
|
||||
"tab\006proto3"
|
||||
".ProcedureId\022&\n\010table_id\030\004 \001(\0132\024.greptim"
|
||||
"e.v1.TableId\022\'\n\ttable_ids\030\005 \003(\0132\024.grepti"
|
||||
"me.v1.TableId*#\n\013DdlTaskType\022\n\n\006Create\020\000"
|
||||
"\022\010\n\004Drop\020\001B<Z:github.com/GreptimeTeam/gr"
|
||||
"eptime-proto/go/greptime/v1/metab\006proto3"
|
||||
;
|
||||
static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_deps[4] = {
|
||||
&::descriptor_table_greptime_2fv1_2fcommon_2eproto,
|
||||
@@ -414,7 +413,7 @@ static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fmet
|
||||
};
|
||||
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_once;
|
||||
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto = {
|
||||
false, false, 2130, descriptor_table_protodef_greptime_2fv1_2fmeta_2fddl_2eproto,
|
||||
false, false, 2120, descriptor_table_protodef_greptime_2fv1_2fmeta_2fddl_2eproto,
|
||||
"greptime/v1/meta/ddl.proto",
|
||||
&descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_once, descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_deps, 4, 13,
|
||||
schemas, file_default_instances, TableStruct_greptime_2fv1_2fmeta_2fddl_2eproto::offsets,
|
||||
@@ -3609,7 +3608,7 @@ class DdlTaskResponse::_Internal {
|
||||
public:
|
||||
static const ::greptime::v1::meta::ResponseHeader& header(const DdlTaskResponse* msg);
|
||||
static const ::greptime::v1::meta::ProcedureId& pid(const DdlTaskResponse* msg);
|
||||
static const ::greptime::v1::meta::TableId& table_id(const DdlTaskResponse* msg);
|
||||
static const ::greptime::v1::TableId& table_id(const DdlTaskResponse* msg);
|
||||
};
|
||||
|
||||
const ::greptime::v1::meta::ResponseHeader&
|
||||
@@ -3620,7 +3619,7 @@ const ::greptime::v1::meta::ProcedureId&
|
||||
DdlTaskResponse::_Internal::pid(const DdlTaskResponse* msg) {
|
||||
return *msg->_impl_.pid_;
|
||||
}
|
||||
const ::greptime::v1::meta::TableId&
|
||||
const ::greptime::v1::TableId&
|
||||
DdlTaskResponse::_Internal::table_id(const DdlTaskResponse* msg) {
|
||||
return *msg->_impl_.table_id_;
|
||||
}
|
||||
@@ -3669,7 +3668,7 @@ DdlTaskResponse::DdlTaskResponse(const DdlTaskResponse& from)
|
||||
_this->_impl_.pid_ = new ::greptime::v1::meta::ProcedureId(*from._impl_.pid_);
|
||||
}
|
||||
if (from._internal_has_table_id()) {
|
||||
_this->_impl_.table_id_ = new ::greptime::v1::meta::TableId(*from._impl_.table_id_);
|
||||
_this->_impl_.table_id_ = new ::greptime::v1::TableId(*from._impl_.table_id_);
|
||||
}
|
||||
// @@protoc_insertion_point(copy_constructor:greptime.v1.meta.DdlTaskResponse)
|
||||
}
|
||||
@@ -3752,7 +3751,7 @@ const char* DdlTaskResponse::_InternalParse(const char* ptr, ::_pbi::ParseContex
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
// .greptime.v1.meta.TableId table_id = 4;
|
||||
// .greptime.v1.TableId table_id = 4;
|
||||
case 4:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
|
||||
ptr = ctx->ParseMessage(_internal_mutable_table_id(), ptr);
|
||||
@@ -3760,7 +3759,7 @@ const char* DdlTaskResponse::_InternalParse(const char* ptr, ::_pbi::ParseContex
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
// repeated .greptime.v1.meta.TableId table_ids = 5;
|
||||
// repeated .greptime.v1.TableId table_ids = 5;
|
||||
case 5:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) {
|
||||
ptr -= 1;
|
||||
@@ -3816,14 +3815,14 @@ uint8_t* DdlTaskResponse::_InternalSerialize(
|
||||
_Internal::pid(this).GetCachedSize(), target, stream);
|
||||
}
|
||||
|
||||
// .greptime.v1.meta.TableId table_id = 4;
|
||||
// .greptime.v1.TableId table_id = 4;
|
||||
if (this->_internal_has_table_id()) {
|
||||
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||
InternalWriteMessage(4, _Internal::table_id(this),
|
||||
_Internal::table_id(this).GetCachedSize(), target, stream);
|
||||
}
|
||||
|
||||
// repeated .greptime.v1.meta.TableId table_ids = 5;
|
||||
// repeated .greptime.v1.TableId table_ids = 5;
|
||||
for (unsigned i = 0,
|
||||
n = static_cast<unsigned>(this->_internal_table_ids_size()); i < n; i++) {
|
||||
const auto& repfield = this->_internal_table_ids(i);
|
||||
@@ -3847,7 +3846,7 @@ size_t DdlTaskResponse::ByteSizeLong() const {
|
||||
// Prevent compiler warnings about cached_has_bits being unused
|
||||
(void) cached_has_bits;
|
||||
|
||||
// repeated .greptime.v1.meta.TableId table_ids = 5;
|
||||
// repeated .greptime.v1.TableId table_ids = 5;
|
||||
total_size += 1UL * this->_internal_table_ids_size();
|
||||
for (const auto& msg : this->_impl_.table_ids_) {
|
||||
total_size +=
|
||||
@@ -3868,7 +3867,7 @@ size_t DdlTaskResponse::ByteSizeLong() const {
|
||||
*_impl_.pid_);
|
||||
}
|
||||
|
||||
// .greptime.v1.meta.TableId table_id = 4;
|
||||
// .greptime.v1.TableId table_id = 4;
|
||||
if (this->_internal_has_table_id()) {
|
||||
total_size += 1 +
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
|
||||
@@ -3903,7 +3902,7 @@ void DdlTaskResponse::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const
|
||||
from._internal_pid());
|
||||
}
|
||||
if (from._internal_has_table_id()) {
|
||||
_this->_internal_mutable_table_id()->::greptime::v1::meta::TableId::MergeFrom(
|
||||
_this->_internal_mutable_table_id()->::greptime::v1::TableId::MergeFrom(
|
||||
from._internal_table_id());
|
||||
}
|
||||
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||
|
||||
@@ -2463,22 +2463,22 @@ class DdlTaskResponse final :
|
||||
kPidFieldNumber = 2,
|
||||
kTableIdFieldNumber = 4,
|
||||
};
|
||||
// repeated .greptime.v1.meta.TableId table_ids = 5;
|
||||
// repeated .greptime.v1.TableId table_ids = 5;
|
||||
int table_ids_size() const;
|
||||
private:
|
||||
int _internal_table_ids_size() const;
|
||||
public:
|
||||
void clear_table_ids();
|
||||
::greptime::v1::meta::TableId* mutable_table_ids(int index);
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::meta::TableId >*
|
||||
::greptime::v1::TableId* mutable_table_ids(int index);
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::TableId >*
|
||||
mutable_table_ids();
|
||||
private:
|
||||
const ::greptime::v1::meta::TableId& _internal_table_ids(int index) const;
|
||||
::greptime::v1::meta::TableId* _internal_add_table_ids();
|
||||
const ::greptime::v1::TableId& _internal_table_ids(int index) const;
|
||||
::greptime::v1::TableId* _internal_add_table_ids();
|
||||
public:
|
||||
const ::greptime::v1::meta::TableId& table_ids(int index) const;
|
||||
::greptime::v1::meta::TableId* add_table_ids();
|
||||
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::meta::TableId >&
|
||||
const ::greptime::v1::TableId& table_ids(int index) const;
|
||||
::greptime::v1::TableId* add_table_ids();
|
||||
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::TableId >&
|
||||
table_ids() const;
|
||||
|
||||
// .greptime.v1.meta.ResponseHeader header = 1;
|
||||
@@ -2517,23 +2517,23 @@ class DdlTaskResponse final :
|
||||
::greptime::v1::meta::ProcedureId* pid);
|
||||
::greptime::v1::meta::ProcedureId* unsafe_arena_release_pid();
|
||||
|
||||
// .greptime.v1.meta.TableId table_id = 4;
|
||||
// .greptime.v1.TableId table_id = 4;
|
||||
bool has_table_id() const;
|
||||
private:
|
||||
bool _internal_has_table_id() const;
|
||||
public:
|
||||
void clear_table_id();
|
||||
const ::greptime::v1::meta::TableId& table_id() const;
|
||||
PROTOBUF_NODISCARD ::greptime::v1::meta::TableId* release_table_id();
|
||||
::greptime::v1::meta::TableId* mutable_table_id();
|
||||
void set_allocated_table_id(::greptime::v1::meta::TableId* table_id);
|
||||
const ::greptime::v1::TableId& table_id() const;
|
||||
PROTOBUF_NODISCARD ::greptime::v1::TableId* release_table_id();
|
||||
::greptime::v1::TableId* mutable_table_id();
|
||||
void set_allocated_table_id(::greptime::v1::TableId* table_id);
|
||||
private:
|
||||
const ::greptime::v1::meta::TableId& _internal_table_id() const;
|
||||
::greptime::v1::meta::TableId* _internal_mutable_table_id();
|
||||
const ::greptime::v1::TableId& _internal_table_id() const;
|
||||
::greptime::v1::TableId* _internal_mutable_table_id();
|
||||
public:
|
||||
void unsafe_arena_set_allocated_table_id(
|
||||
::greptime::v1::meta::TableId* table_id);
|
||||
::greptime::v1::meta::TableId* unsafe_arena_release_table_id();
|
||||
::greptime::v1::TableId* table_id);
|
||||
::greptime::v1::TableId* unsafe_arena_release_table_id();
|
||||
|
||||
// @@protoc_insertion_point(class_scope:greptime.v1.meta.DdlTaskResponse)
|
||||
private:
|
||||
@@ -2543,10 +2543,10 @@ class DdlTaskResponse final :
|
||||
typedef void InternalArenaConstructable_;
|
||||
typedef void DestructorSkippable_;
|
||||
struct Impl_ {
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::meta::TableId > table_ids_;
|
||||
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::TableId > table_ids_;
|
||||
::greptime::v1::meta::ResponseHeader* header_;
|
||||
::greptime::v1::meta::ProcedureId* pid_;
|
||||
::greptime::v1::meta::TableId* table_id_;
|
||||
::greptime::v1::TableId* table_id_;
|
||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||
};
|
||||
union { Impl_ _impl_; };
|
||||
@@ -4661,24 +4661,24 @@ inline void DdlTaskResponse::set_allocated_pid(::greptime::v1::meta::ProcedureId
|
||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.DdlTaskResponse.pid)
|
||||
}
|
||||
|
||||
// .greptime.v1.meta.TableId table_id = 4;
|
||||
// .greptime.v1.TableId table_id = 4;
|
||||
inline bool DdlTaskResponse::_internal_has_table_id() const {
|
||||
return this != internal_default_instance() && _impl_.table_id_ != nullptr;
|
||||
}
|
||||
inline bool DdlTaskResponse::has_table_id() const {
|
||||
return _internal_has_table_id();
|
||||
}
|
||||
inline const ::greptime::v1::meta::TableId& DdlTaskResponse::_internal_table_id() const {
|
||||
const ::greptime::v1::meta::TableId* p = _impl_.table_id_;
|
||||
return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::meta::TableId&>(
|
||||
::greptime::v1::meta::_TableId_default_instance_);
|
||||
inline const ::greptime::v1::TableId& DdlTaskResponse::_internal_table_id() const {
|
||||
const ::greptime::v1::TableId* p = _impl_.table_id_;
|
||||
return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::TableId&>(
|
||||
::greptime::v1::_TableId_default_instance_);
|
||||
}
|
||||
inline const ::greptime::v1::meta::TableId& DdlTaskResponse::table_id() const {
|
||||
inline const ::greptime::v1::TableId& DdlTaskResponse::table_id() const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.meta.DdlTaskResponse.table_id)
|
||||
return _internal_table_id();
|
||||
}
|
||||
inline void DdlTaskResponse::unsafe_arena_set_allocated_table_id(
|
||||
::greptime::v1::meta::TableId* table_id) {
|
||||
::greptime::v1::TableId* table_id) {
|
||||
if (GetArenaForAllocation() == nullptr) {
|
||||
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.table_id_);
|
||||
}
|
||||
@@ -4690,9 +4690,9 @@ inline void DdlTaskResponse::unsafe_arena_set_allocated_table_id(
|
||||
}
|
||||
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.meta.DdlTaskResponse.table_id)
|
||||
}
|
||||
inline ::greptime::v1::meta::TableId* DdlTaskResponse::release_table_id() {
|
||||
inline ::greptime::v1::TableId* DdlTaskResponse::release_table_id() {
|
||||
|
||||
::greptime::v1::meta::TableId* temp = _impl_.table_id_;
|
||||
::greptime::v1::TableId* temp = _impl_.table_id_;
|
||||
_impl_.table_id_ = nullptr;
|
||||
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
|
||||
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
|
||||
@@ -4705,27 +4705,27 @@ inline ::greptime::v1::meta::TableId* DdlTaskResponse::release_table_id() {
|
||||
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
|
||||
return temp;
|
||||
}
|
||||
inline ::greptime::v1::meta::TableId* DdlTaskResponse::unsafe_arena_release_table_id() {
|
||||
inline ::greptime::v1::TableId* DdlTaskResponse::unsafe_arena_release_table_id() {
|
||||
// @@protoc_insertion_point(field_release:greptime.v1.meta.DdlTaskResponse.table_id)
|
||||
|
||||
::greptime::v1::meta::TableId* temp = _impl_.table_id_;
|
||||
::greptime::v1::TableId* temp = _impl_.table_id_;
|
||||
_impl_.table_id_ = nullptr;
|
||||
return temp;
|
||||
}
|
||||
inline ::greptime::v1::meta::TableId* DdlTaskResponse::_internal_mutable_table_id() {
|
||||
inline ::greptime::v1::TableId* DdlTaskResponse::_internal_mutable_table_id() {
|
||||
|
||||
if (_impl_.table_id_ == nullptr) {
|
||||
auto* p = CreateMaybeMessage<::greptime::v1::meta::TableId>(GetArenaForAllocation());
|
||||
auto* p = CreateMaybeMessage<::greptime::v1::TableId>(GetArenaForAllocation());
|
||||
_impl_.table_id_ = p;
|
||||
}
|
||||
return _impl_.table_id_;
|
||||
}
|
||||
inline ::greptime::v1::meta::TableId* DdlTaskResponse::mutable_table_id() {
|
||||
::greptime::v1::meta::TableId* _msg = _internal_mutable_table_id();
|
||||
inline ::greptime::v1::TableId* DdlTaskResponse::mutable_table_id() {
|
||||
::greptime::v1::TableId* _msg = _internal_mutable_table_id();
|
||||
// @@protoc_insertion_point(field_mutable:greptime.v1.meta.DdlTaskResponse.table_id)
|
||||
return _msg;
|
||||
}
|
||||
inline void DdlTaskResponse::set_allocated_table_id(::greptime::v1::meta::TableId* table_id) {
|
||||
inline void DdlTaskResponse::set_allocated_table_id(::greptime::v1::TableId* table_id) {
|
||||
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||
if (message_arena == nullptr) {
|
||||
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.table_id_);
|
||||
@@ -4746,38 +4746,38 @@ inline void DdlTaskResponse::set_allocated_table_id(::greptime::v1::meta::TableI
|
||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.DdlTaskResponse.table_id)
|
||||
}
|
||||
|
||||
// repeated .greptime.v1.meta.TableId table_ids = 5;
|
||||
// repeated .greptime.v1.TableId table_ids = 5;
|
||||
inline int DdlTaskResponse::_internal_table_ids_size() const {
|
||||
return _impl_.table_ids_.size();
|
||||
}
|
||||
inline int DdlTaskResponse::table_ids_size() const {
|
||||
return _internal_table_ids_size();
|
||||
}
|
||||
inline ::greptime::v1::meta::TableId* DdlTaskResponse::mutable_table_ids(int index) {
|
||||
inline ::greptime::v1::TableId* DdlTaskResponse::mutable_table_ids(int index) {
|
||||
// @@protoc_insertion_point(field_mutable:greptime.v1.meta.DdlTaskResponse.table_ids)
|
||||
return _impl_.table_ids_.Mutable(index);
|
||||
}
|
||||
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::meta::TableId >*
|
||||
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::TableId >*
|
||||
DdlTaskResponse::mutable_table_ids() {
|
||||
// @@protoc_insertion_point(field_mutable_list:greptime.v1.meta.DdlTaskResponse.table_ids)
|
||||
return &_impl_.table_ids_;
|
||||
}
|
||||
inline const ::greptime::v1::meta::TableId& DdlTaskResponse::_internal_table_ids(int index) const {
|
||||
inline const ::greptime::v1::TableId& DdlTaskResponse::_internal_table_ids(int index) const {
|
||||
return _impl_.table_ids_.Get(index);
|
||||
}
|
||||
inline const ::greptime::v1::meta::TableId& DdlTaskResponse::table_ids(int index) const {
|
||||
inline const ::greptime::v1::TableId& DdlTaskResponse::table_ids(int index) const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.meta.DdlTaskResponse.table_ids)
|
||||
return _internal_table_ids(index);
|
||||
}
|
||||
inline ::greptime::v1::meta::TableId* DdlTaskResponse::_internal_add_table_ids() {
|
||||
inline ::greptime::v1::TableId* DdlTaskResponse::_internal_add_table_ids() {
|
||||
return _impl_.table_ids_.Add();
|
||||
}
|
||||
inline ::greptime::v1::meta::TableId* DdlTaskResponse::add_table_ids() {
|
||||
::greptime::v1::meta::TableId* _add = _internal_add_table_ids();
|
||||
inline ::greptime::v1::TableId* DdlTaskResponse::add_table_ids() {
|
||||
::greptime::v1::TableId* _add = _internal_add_table_ids();
|
||||
// @@protoc_insertion_point(field_add:greptime.v1.meta.DdlTaskResponse.table_ids)
|
||||
return _add;
|
||||
}
|
||||
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::meta::TableId >&
|
||||
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::TableId >&
|
||||
DdlTaskResponse::table_ids() const {
|
||||
// @@protoc_insertion_point(field_list:greptime.v1.meta.DdlTaskResponse.table_ids)
|
||||
return _impl_.table_ids_;
|
||||
|
||||
+323
-239
@@ -77,7 +77,7 @@ func (x AddColumnLocation_LocationType) Number() protoreflect.EnumNumber {
|
||||
|
||||
// Deprecated: Use AddColumnLocation_LocationType.Descriptor instead.
|
||||
func (AddColumnLocation_LocationType) EnumDescriptor() ([]byte, []int) {
|
||||
return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{18, 0}
|
||||
return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{19, 0}
|
||||
}
|
||||
|
||||
// "Data Definition Language" requests, that create, modify or delete the
|
||||
@@ -363,6 +363,8 @@ type DropFlowExpr struct {
|
||||
|
||||
CatalogName string `protobuf:"bytes,1,opt,name=catalog_name,json=catalogName,proto3" json:"catalog_name,omitempty"`
|
||||
FlowName string `protobuf:"bytes,2,opt,name=flow_name,json=flowName,proto3" json:"flow_name,omitempty"`
|
||||
FlowId *FlowId `protobuf:"bytes,3,opt,name=flow_id,json=flowId,proto3" json:"flow_id,omitempty"`
|
||||
DropIfExists bool `protobuf:"varint,5,opt,name=drop_if_exists,json=dropIfExists,proto3" json:"drop_if_exists,omitempty"`
|
||||
}
|
||||
|
||||
func (x *DropFlowExpr) Reset() {
|
||||
@@ -411,6 +413,20 @@ func (x *DropFlowExpr) GetFlowName() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *DropFlowExpr) GetFlowId() *FlowId {
|
||||
if x != nil {
|
||||
return x.FlowId
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *DropFlowExpr) GetDropIfExists() bool {
|
||||
if x != nil {
|
||||
return x.DropIfExists
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
type CreateTableExpr struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
@@ -1355,6 +1371,53 @@ func (x *TableId) GetId() uint32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
type FlowId struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
}
|
||||
|
||||
func (x *FlowId) Reset() {
|
||||
*x = FlowId{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_greptime_v1_ddl_proto_msgTypes[17]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *FlowId) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*FlowId) ProtoMessage() {}
|
||||
|
||||
func (x *FlowId) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_greptime_v1_ddl_proto_msgTypes[17]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use FlowId.ProtoReflect.Descriptor instead.
|
||||
func (*FlowId) Descriptor() ([]byte, []int) {
|
||||
return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{17}
|
||||
}
|
||||
|
||||
func (x *FlowId) GetId() uint32 {
|
||||
if x != nil {
|
||||
return x.Id
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type ColumnDef struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
@@ -1373,7 +1436,7 @@ type ColumnDef struct {
|
||||
func (x *ColumnDef) Reset() {
|
||||
*x = ColumnDef{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_greptime_v1_ddl_proto_msgTypes[17]
|
||||
mi := &file_greptime_v1_ddl_proto_msgTypes[18]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1386,7 +1449,7 @@ func (x *ColumnDef) String() string {
|
||||
func (*ColumnDef) ProtoMessage() {}
|
||||
|
||||
func (x *ColumnDef) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_greptime_v1_ddl_proto_msgTypes[17]
|
||||
mi := &file_greptime_v1_ddl_proto_msgTypes[18]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1399,7 +1462,7 @@ func (x *ColumnDef) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ColumnDef.ProtoReflect.Descriptor instead.
|
||||
func (*ColumnDef) Descriptor() ([]byte, []int) {
|
||||
return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{17}
|
||||
return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{18}
|
||||
}
|
||||
|
||||
func (x *ColumnDef) GetName() string {
|
||||
@@ -1463,7 +1526,7 @@ type AddColumnLocation struct {
|
||||
func (x *AddColumnLocation) Reset() {
|
||||
*x = AddColumnLocation{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_greptime_v1_ddl_proto_msgTypes[18]
|
||||
mi := &file_greptime_v1_ddl_proto_msgTypes[19]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1476,7 +1539,7 @@ func (x *AddColumnLocation) String() string {
|
||||
func (*AddColumnLocation) ProtoMessage() {}
|
||||
|
||||
func (x *AddColumnLocation) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_greptime_v1_ddl_proto_msgTypes[18]
|
||||
mi := &file_greptime_v1_ddl_proto_msgTypes[19]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1489,7 +1552,7 @@ func (x *AddColumnLocation) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use AddColumnLocation.ProtoReflect.Descriptor instead.
|
||||
func (*AddColumnLocation) Descriptor() ([]byte, []int) {
|
||||
return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{18}
|
||||
return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{19}
|
||||
}
|
||||
|
||||
func (x *AddColumnLocation) GetLocationType() AddColumnLocation_LocationType {
|
||||
@@ -1574,200 +1637,207 @@ var file_greptime_v1_ddl_proto_rawDesc = []byte{
|
||||
0x6c, 0x6f, 0x77, 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, 0x4e, 0x0a, 0x0c, 0x44,
|
||||
0x72, 0x6f, 0x70, 0x46, 0x6c, 0x6f, 0x77, 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, 0x1b,
|
||||
0x0a, 0x09, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x08, 0x66, 0x6c, 0x6f, 0x77, 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, 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,
|
||||
0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xa2, 0x01, 0x0a, 0x0c,
|
||||
0x44, 0x72, 0x6f, 0x70, 0x46, 0x6c, 0x6f, 0x77, 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,
|
||||
0x1b, 0x0a, 0x09, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
|
||||
0x28, 0x09, 0x52, 0x08, 0x66, 0x6c, 0x6f, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x07,
|
||||
0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e,
|
||||
0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x6c, 0x6f, 0x77,
|
||||
0x49, 0x64, 0x52, 0x06, 0x66, 0x6c, 0x6f, 0x77, 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, 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, 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,
|
||||
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, 0x08, 0x64, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b,
|
||||
0x69, 0x73, 0x5f, 0x6e, 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
|
||||
0x08, 0x52, 0x0a, 0x69, 0x73, 0x4e, 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x2d, 0x0a,
|
||||
0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61,
|
||||
0x69, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x11, 0x64, 0x65, 0x66, 0x61, 0x75,
|
||||
0x6c, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x12, 0x3e, 0x0a, 0x0d,
|
||||
0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20,
|
||||
0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76,
|
||||
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,
|
||||
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, 0x18, 0x0a, 0x06, 0x46, 0x6c, 0x6f, 0x77, 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, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70,
|
||||
0x65, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x69,
|
||||
0x73, 0x5f, 0x6e, 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08,
|
||||
0x52, 0x0a, 0x69, 0x73, 0x4e, 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x2d, 0x0a, 0x12,
|
||||
0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69,
|
||||
0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x11, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c,
|
||||
0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x12, 0x3e, 0x0a, 0x0d, 0x73,
|
||||
0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01,
|
||||
0x28, 0x0e, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 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 (
|
||||
@@ -1783,7 +1853,7 @@ func file_greptime_v1_ddl_proto_rawDescGZIP() []byte {
|
||||
}
|
||||
|
||||
var file_greptime_v1_ddl_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||||
var file_greptime_v1_ddl_proto_msgTypes = make([]protoimpl.MessageInfo, 22)
|
||||
var file_greptime_v1_ddl_proto_msgTypes = make([]protoimpl.MessageInfo, 23)
|
||||
var file_greptime_v1_ddl_proto_goTypes = []interface{}{
|
||||
(AddColumnLocation_LocationType)(0), // 0: greptime.v1.AddColumnLocation.LocationType
|
||||
(*DdlRequest)(nil), // 1: greptime.v1.DdlRequest
|
||||
@@ -1803,15 +1873,16 @@ var file_greptime_v1_ddl_proto_goTypes = []interface{}{
|
||||
(*ChangeColumnType)(nil), // 15: greptime.v1.ChangeColumnType
|
||||
(*DropColumn)(nil), // 16: greptime.v1.DropColumn
|
||||
(*TableId)(nil), // 17: greptime.v1.TableId
|
||||
(*ColumnDef)(nil), // 18: greptime.v1.ColumnDef
|
||||
(*AddColumnLocation)(nil), // 19: greptime.v1.AddColumnLocation
|
||||
nil, // 20: greptime.v1.CreateFlowExpr.FlowOptionsEntry
|
||||
nil, // 21: greptime.v1.CreateTableExpr.TableOptionsEntry
|
||||
nil, // 22: greptime.v1.CreateDatabaseExpr.OptionsEntry
|
||||
(*TableName)(nil), // 23: greptime.v1.TableName
|
||||
(ColumnDataType)(0), // 24: greptime.v1.ColumnDataType
|
||||
(*ColumnDataTypeExtension)(nil), // 25: greptime.v1.ColumnDataTypeExtension
|
||||
(SemanticType)(0), // 26: greptime.v1.SemanticType
|
||||
(*FlowId)(nil), // 18: greptime.v1.FlowId
|
||||
(*ColumnDef)(nil), // 19: greptime.v1.ColumnDef
|
||||
(*AddColumnLocation)(nil), // 20: greptime.v1.AddColumnLocation
|
||||
nil, // 21: greptime.v1.CreateFlowExpr.FlowOptionsEntry
|
||||
nil, // 22: greptime.v1.CreateTableExpr.TableOptionsEntry
|
||||
nil, // 23: greptime.v1.CreateDatabaseExpr.OptionsEntry
|
||||
(*TableName)(nil), // 24: greptime.v1.TableName
|
||||
(ColumnDataType)(0), // 25: greptime.v1.ColumnDataType
|
||||
(*ColumnDataTypeExtension)(nil), // 26: greptime.v1.ColumnDataTypeExtension
|
||||
(SemanticType)(0), // 27: greptime.v1.SemanticType
|
||||
}
|
||||
var file_greptime_v1_ddl_proto_depIdxs = []int32{
|
||||
7, // 0: greptime.v1.DdlRequest.create_database:type_name -> greptime.v1.CreateDatabaseExpr
|
||||
@@ -1821,35 +1892,36 @@ var file_greptime_v1_ddl_proto_depIdxs = []int32{
|
||||
8, // 4: greptime.v1.DdlRequest.truncate_table:type_name -> greptime.v1.TruncateTableExpr
|
||||
2, // 5: greptime.v1.DdlRequest.create_flow:type_name -> greptime.v1.CreateFlowExpr
|
||||
3, // 6: greptime.v1.DdlRequest.drop_flow:type_name -> greptime.v1.DropFlowExpr
|
||||
23, // 7: greptime.v1.CreateFlowExpr.source_table_names:type_name -> greptime.v1.TableName
|
||||
23, // 8: greptime.v1.CreateFlowExpr.sink_table_name:type_name -> greptime.v1.TableName
|
||||
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
|
||||
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
|
||||
10, // 13: greptime.v1.AlterExpr.add_columns:type_name -> greptime.v1.AddColumns
|
||||
11, // 14: greptime.v1.AlterExpr.drop_columns:type_name -> greptime.v1.DropColumns
|
||||
13, // 15: greptime.v1.AlterExpr.rename_table:type_name -> greptime.v1.RenameTable
|
||||
12, // 16: greptime.v1.AlterExpr.change_column_types:type_name -> greptime.v1.ChangeColumnTypes
|
||||
17, // 17: greptime.v1.DropTableExpr.table_id:type_name -> greptime.v1.TableId
|
||||
22, // 18: greptime.v1.CreateDatabaseExpr.options:type_name -> greptime.v1.CreateDatabaseExpr.OptionsEntry
|
||||
17, // 19: greptime.v1.TruncateTableExpr.table_id:type_name -> greptime.v1.TableId
|
||||
14, // 20: greptime.v1.AddColumns.add_columns:type_name -> greptime.v1.AddColumn
|
||||
16, // 21: greptime.v1.DropColumns.drop_columns:type_name -> greptime.v1.DropColumn
|
||||
15, // 22: greptime.v1.ChangeColumnTypes.change_column_types:type_name -> greptime.v1.ChangeColumnType
|
||||
18, // 23: greptime.v1.AddColumn.column_def:type_name -> greptime.v1.ColumnDef
|
||||
19, // 24: greptime.v1.AddColumn.location:type_name -> greptime.v1.AddColumnLocation
|
||||
24, // 25: greptime.v1.ChangeColumnType.target_type:type_name -> greptime.v1.ColumnDataType
|
||||
25, // 26: greptime.v1.ChangeColumnType.target_type_extension:type_name -> greptime.v1.ColumnDataTypeExtension
|
||||
24, // 27: greptime.v1.ColumnDef.data_type:type_name -> greptime.v1.ColumnDataType
|
||||
26, // 28: greptime.v1.ColumnDef.semantic_type:type_name -> greptime.v1.SemanticType
|
||||
25, // 29: greptime.v1.ColumnDef.datatype_extension:type_name -> greptime.v1.ColumnDataTypeExtension
|
||||
0, // 30: greptime.v1.AddColumnLocation.location_type:type_name -> greptime.v1.AddColumnLocation.LocationType
|
||||
31, // [31:31] is the sub-list for method output_type
|
||||
31, // [31:31] is the sub-list for method input_type
|
||||
31, // [31:31] is the sub-list for extension type_name
|
||||
31, // [31:31] is the sub-list for extension extendee
|
||||
0, // [0:31] is the sub-list for field type_name
|
||||
24, // 7: greptime.v1.CreateFlowExpr.source_table_names:type_name -> greptime.v1.TableName
|
||||
24, // 8: greptime.v1.CreateFlowExpr.sink_table_name:type_name -> greptime.v1.TableName
|
||||
21, // 9: greptime.v1.CreateFlowExpr.flow_options:type_name -> greptime.v1.CreateFlowExpr.FlowOptionsEntry
|
||||
18, // 10: greptime.v1.DropFlowExpr.flow_id:type_name -> greptime.v1.FlowId
|
||||
19, // 11: greptime.v1.CreateTableExpr.column_defs:type_name -> greptime.v1.ColumnDef
|
||||
22, // 12: greptime.v1.CreateTableExpr.table_options:type_name -> greptime.v1.CreateTableExpr.TableOptionsEntry
|
||||
17, // 13: greptime.v1.CreateTableExpr.table_id:type_name -> greptime.v1.TableId
|
||||
10, // 14: greptime.v1.AlterExpr.add_columns:type_name -> greptime.v1.AddColumns
|
||||
11, // 15: greptime.v1.AlterExpr.drop_columns:type_name -> greptime.v1.DropColumns
|
||||
13, // 16: greptime.v1.AlterExpr.rename_table:type_name -> greptime.v1.RenameTable
|
||||
12, // 17: greptime.v1.AlterExpr.change_column_types:type_name -> greptime.v1.ChangeColumnTypes
|
||||
17, // 18: greptime.v1.DropTableExpr.table_id:type_name -> greptime.v1.TableId
|
||||
23, // 19: greptime.v1.CreateDatabaseExpr.options:type_name -> greptime.v1.CreateDatabaseExpr.OptionsEntry
|
||||
17, // 20: greptime.v1.TruncateTableExpr.table_id:type_name -> greptime.v1.TableId
|
||||
14, // 21: greptime.v1.AddColumns.add_columns:type_name -> greptime.v1.AddColumn
|
||||
16, // 22: greptime.v1.DropColumns.drop_columns:type_name -> greptime.v1.DropColumn
|
||||
15, // 23: greptime.v1.ChangeColumnTypes.change_column_types:type_name -> greptime.v1.ChangeColumnType
|
||||
19, // 24: greptime.v1.AddColumn.column_def:type_name -> greptime.v1.ColumnDef
|
||||
20, // 25: greptime.v1.AddColumn.location:type_name -> greptime.v1.AddColumnLocation
|
||||
25, // 26: greptime.v1.ChangeColumnType.target_type:type_name -> greptime.v1.ColumnDataType
|
||||
26, // 27: greptime.v1.ChangeColumnType.target_type_extension:type_name -> greptime.v1.ColumnDataTypeExtension
|
||||
25, // 28: greptime.v1.ColumnDef.data_type:type_name -> greptime.v1.ColumnDataType
|
||||
27, // 29: greptime.v1.ColumnDef.semantic_type:type_name -> greptime.v1.SemanticType
|
||||
26, // 30: greptime.v1.ColumnDef.datatype_extension:type_name -> greptime.v1.ColumnDataTypeExtension
|
||||
0, // 31: greptime.v1.AddColumnLocation.location_type:type_name -> greptime.v1.AddColumnLocation.LocationType
|
||||
32, // [32:32] is the sub-list for method output_type
|
||||
32, // [32:32] is the sub-list for method input_type
|
||||
32, // [32:32] is the sub-list for extension type_name
|
||||
32, // [32:32] is the sub-list for extension extendee
|
||||
0, // [0:32] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_greptime_v1_ddl_proto_init() }
|
||||
@@ -2064,7 +2136,7 @@ func file_greptime_v1_ddl_proto_init() {
|
||||
}
|
||||
}
|
||||
file_greptime_v1_ddl_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*ColumnDef); i {
|
||||
switch v := v.(*FlowId); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
@@ -2076,6 +2148,18 @@ func file_greptime_v1_ddl_proto_init() {
|
||||
}
|
||||
}
|
||||
file_greptime_v1_ddl_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*ColumnDef); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_greptime_v1_ddl_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*AddColumnLocation); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -2109,7 +2193,7 @@ func file_greptime_v1_ddl_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_greptime_v1_ddl_proto_rawDesc,
|
||||
NumEnums: 1,
|
||||
NumMessages: 22,
|
||||
NumMessages: 23,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
|
||||
@@ -337,53 +337,6 @@ func (x *Peer) GetAddr() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
type TableId struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
}
|
||||
|
||||
func (x *TableId) Reset() {
|
||||
*x = TableId{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_greptime_v1_meta_common_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *TableId) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*TableId) ProtoMessage() {}
|
||||
|
||||
func (x *TableId) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_greptime_v1_meta_common_proto_msgTypes[4]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use TableId.ProtoReflect.Descriptor instead.
|
||||
func (*TableId) Descriptor() ([]byte, []int) {
|
||||
return file_greptime_v1_meta_common_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *TableId) GetId() uint32 {
|
||||
if x != nil {
|
||||
return x.Id
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type TimeInterval struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
@@ -398,7 +351,7 @@ type TimeInterval struct {
|
||||
func (x *TimeInterval) Reset() {
|
||||
*x = TimeInterval{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_greptime_v1_meta_common_proto_msgTypes[5]
|
||||
mi := &file_greptime_v1_meta_common_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -411,7 +364,7 @@ func (x *TimeInterval) String() string {
|
||||
func (*TimeInterval) ProtoMessage() {}
|
||||
|
||||
func (x *TimeInterval) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_greptime_v1_meta_common_proto_msgTypes[5]
|
||||
mi := &file_greptime_v1_meta_common_proto_msgTypes[4]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -424,7 +377,7 @@ func (x *TimeInterval) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use TimeInterval.ProtoReflect.Descriptor instead.
|
||||
func (*TimeInterval) Descriptor() ([]byte, []int) {
|
||||
return file_greptime_v1_meta_common_proto_rawDescGZIP(), []int{5}
|
||||
return file_greptime_v1_meta_common_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *TimeInterval) GetStartTimestampMillis() int64 {
|
||||
@@ -455,7 +408,7 @@ type KeyValue struct {
|
||||
func (x *KeyValue) Reset() {
|
||||
*x = KeyValue{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_greptime_v1_meta_common_proto_msgTypes[6]
|
||||
mi := &file_greptime_v1_meta_common_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -468,7 +421,7 @@ func (x *KeyValue) String() string {
|
||||
func (*KeyValue) ProtoMessage() {}
|
||||
|
||||
func (x *KeyValue) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_greptime_v1_meta_common_proto_msgTypes[6]
|
||||
mi := &file_greptime_v1_meta_common_proto_msgTypes[5]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -481,7 +434,7 @@ func (x *KeyValue) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use KeyValue.ProtoReflect.Descriptor instead.
|
||||
func (*KeyValue) Descriptor() ([]byte, []int) {
|
||||
return file_greptime_v1_meta_common_proto_rawDescGZIP(), []int{6}
|
||||
return file_greptime_v1_meta_common_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
func (x *KeyValue) GetKey() []byte {
|
||||
@@ -510,7 +463,7 @@ type ProcedureId struct {
|
||||
func (x *ProcedureId) Reset() {
|
||||
*x = ProcedureId{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_greptime_v1_meta_common_proto_msgTypes[7]
|
||||
mi := &file_greptime_v1_meta_common_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -523,7 +476,7 @@ func (x *ProcedureId) String() string {
|
||||
func (*ProcedureId) ProtoMessage() {}
|
||||
|
||||
func (x *ProcedureId) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_greptime_v1_meta_common_proto_msgTypes[7]
|
||||
mi := &file_greptime_v1_meta_common_proto_msgTypes[6]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -536,7 +489,7 @@ func (x *ProcedureId) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ProcedureId.ProtoReflect.Descriptor instead.
|
||||
func (*ProcedureId) Descriptor() ([]byte, []int) {
|
||||
return file_greptime_v1_meta_common_proto_rawDescGZIP(), []int{7}
|
||||
return file_greptime_v1_meta_common_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
func (x *ProcedureId) GetKey() []byte {
|
||||
@@ -587,28 +540,26 @@ var file_greptime_v1_meta_common_proto_rawDesc = []byte{
|
||||
0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x22, 0x2a, 0x0a, 0x04, 0x50, 0x65, 0x65,
|
||||
0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69,
|
||||
0x64, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x64, 0x64, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x04, 0x61, 0x64, 0x64, 0x72, 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, 0x76, 0x0a, 0x0c, 0x54, 0x69, 0x6d, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c,
|
||||
0x12, 0x34, 0x0a, 0x16, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,
|
||||
0x61, 0x6d, 0x70, 0x5f, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
|
||||
0x52, 0x14, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
|
||||
0x4d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x12, 0x30, 0x0a, 0x14, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69,
|
||||
0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x18, 0x02,
|
||||
0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
|
||||
0x6d, 0x70, 0x4d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x22, 0x32, 0x0a, 0x08, 0x4b, 0x65, 0x79, 0x56,
|
||||
0x61, 0x6c, 0x75, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x1f, 0x0a, 0x0b,
|
||||
0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6b,
|
||||
0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x2a, 0x22, 0x0a,
|
||||
0x04, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x41, 0x54, 0x41, 0x4e, 0x4f, 0x44,
|
||||
0x45, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x46, 0x52, 0x4f, 0x4e, 0x54, 0x45, 0x4e, 0x44, 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,
|
||||
0x04, 0x61, 0x64, 0x64, 0x72, 0x22, 0x76, 0x0a, 0x0c, 0x54, 0x69, 0x6d, 0x65, 0x49, 0x6e, 0x74,
|
||||
0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x34, 0x0a, 0x16, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74,
|
||||
0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x14, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65,
|
||||
0x73, 0x74, 0x61, 0x6d, 0x70, 0x4d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x12, 0x30, 0x0a, 0x14, 0x65,
|
||||
0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x6d, 0x69, 0x6c,
|
||||
0x6c, 0x69, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x65, 0x6e, 0x64, 0x54, 0x69,
|
||||
0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x4d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x22, 0x32, 0x0a,
|
||||
0x08, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76,
|
||||
0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
|
||||
0x65, 0x22, 0x1f, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x49, 0x64,
|
||||
0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6b,
|
||||
0x65, 0x79, 0x2a, 0x22, 0x0a, 0x04, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x41,
|
||||
0x54, 0x41, 0x4e, 0x4f, 0x44, 0x45, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x46, 0x52, 0x4f, 0x4e,
|
||||
0x54, 0x45, 0x4e, 0x44, 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 (
|
||||
@@ -624,22 +575,21 @@ func file_greptime_v1_meta_common_proto_rawDescGZIP() []byte {
|
||||
}
|
||||
|
||||
var file_greptime_v1_meta_common_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||||
var file_greptime_v1_meta_common_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
|
||||
var file_greptime_v1_meta_common_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
|
||||
var file_greptime_v1_meta_common_proto_goTypes = []interface{}{
|
||||
(Role)(0), // 0: greptime.v1.meta.Role
|
||||
(*RequestHeader)(nil), // 1: greptime.v1.meta.RequestHeader
|
||||
(*ResponseHeader)(nil), // 2: greptime.v1.meta.ResponseHeader
|
||||
(*Error)(nil), // 3: greptime.v1.meta.Error
|
||||
(*Peer)(nil), // 4: greptime.v1.meta.Peer
|
||||
(*TableId)(nil), // 5: greptime.v1.meta.TableId
|
||||
(*TimeInterval)(nil), // 6: greptime.v1.meta.TimeInterval
|
||||
(*KeyValue)(nil), // 7: greptime.v1.meta.KeyValue
|
||||
(*ProcedureId)(nil), // 8: greptime.v1.meta.ProcedureId
|
||||
nil, // 9: greptime.v1.meta.RequestHeader.TracingContextEntry
|
||||
(*TimeInterval)(nil), // 5: greptime.v1.meta.TimeInterval
|
||||
(*KeyValue)(nil), // 6: greptime.v1.meta.KeyValue
|
||||
(*ProcedureId)(nil), // 7: greptime.v1.meta.ProcedureId
|
||||
nil, // 8: greptime.v1.meta.RequestHeader.TracingContextEntry
|
||||
}
|
||||
var file_greptime_v1_meta_common_proto_depIdxs = []int32{
|
||||
0, // 0: greptime.v1.meta.RequestHeader.role:type_name -> greptime.v1.meta.Role
|
||||
9, // 1: greptime.v1.meta.RequestHeader.tracing_context:type_name -> greptime.v1.meta.RequestHeader.TracingContextEntry
|
||||
8, // 1: greptime.v1.meta.RequestHeader.tracing_context:type_name -> greptime.v1.meta.RequestHeader.TracingContextEntry
|
||||
3, // 2: greptime.v1.meta.ResponseHeader.error:type_name -> greptime.v1.meta.Error
|
||||
3, // [3:3] is the sub-list for method output_type
|
||||
3, // [3:3] is the sub-list for method input_type
|
||||
@@ -703,18 +653,6 @@ func file_greptime_v1_meta_common_proto_init() {
|
||||
}
|
||||
}
|
||||
file_greptime_v1_meta_common_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*TableId); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_greptime_v1_meta_common_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*TimeInterval); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -726,7 +664,7 @@ func file_greptime_v1_meta_common_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_greptime_v1_meta_common_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_greptime_v1_meta_common_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*KeyValue); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -738,7 +676,7 @@ func file_greptime_v1_meta_common_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_greptime_v1_meta_common_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_greptime_v1_meta_common_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*ProcedureId); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -757,7 +695,7 @@ func file_greptime_v1_meta_common_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_greptime_v1_meta_common_proto_rawDesc,
|
||||
NumEnums: 1,
|
||||
NumMessages: 9,
|
||||
NumMessages: 8,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
|
||||
@@ -846,9 +846,9 @@ type DdlTaskResponse struct {
|
||||
Pid *ProcedureId `protobuf:"bytes,2,opt,name=pid,proto3" json:"pid,omitempty"`
|
||||
// Returns if table created.
|
||||
// TODO(jeremy): remove it?
|
||||
TableId *TableId `protobuf:"bytes,4,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"`
|
||||
TableId *v1.TableId `protobuf:"bytes,4,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"`
|
||||
// Returns if the tables created.
|
||||
TableIds []*TableId `protobuf:"bytes,5,rep,name=table_ids,json=tableIds,proto3" json:"table_ids,omitempty"`
|
||||
TableIds []*v1.TableId `protobuf:"bytes,5,rep,name=table_ids,json=tableIds,proto3" json:"table_ids,omitempty"`
|
||||
}
|
||||
|
||||
func (x *DdlTaskResponse) Reset() {
|
||||
@@ -897,14 +897,14 @@ func (x *DdlTaskResponse) GetPid() *ProcedureId {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *DdlTaskResponse) GetTableId() *TableId {
|
||||
func (x *DdlTaskResponse) GetTableId() *v1.TableId {
|
||||
if x != nil {
|
||||
return x.TableId
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *DdlTaskResponse) GetTableIds() []*TableId {
|
||||
func (x *DdlTaskResponse) GetTableIds() []*v1.TableId {
|
||||
if x != nil {
|
||||
return x.TableIds
|
||||
}
|
||||
@@ -1049,7 +1049,7 @@ var file_greptime_v1_meta_ddl_proto_rawDesc = []byte{
|
||||
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,
|
||||
0x77, 0x54, 0x61, 0x73, 0x6b, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x61, 0x73, 0x6b, 0x22, 0xe0, 0x01,
|
||||
0x0a, 0x0f, 0x44, 0x64, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||||
0x65, 0x12, 0x38, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
||||
@@ -1057,21 +1057,20 @@ var file_greptime_v1_meta_ddl_proto_rawDesc = []byte{
|
||||
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,
|
||||
0x65, 0x64, 0x75, 0x72, 0x65, 0x49, 0x64, 0x52, 0x03, 0x70, 0x69, 0x64, 0x12, 0x2f, 0x0a, 0x08,
|
||||
0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14,
|
||||
0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62,
|
||||
0x6c, 0x65, 0x49, 0x64, 0x52, 0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x31, 0x0a,
|
||||
0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b,
|
||||
0x32, 0x14, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54,
|
||||
0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x52, 0x08, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x73,
|
||||
0x2a, 0x23, 0x0a, 0x0b, 0x44, 0x64, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12,
|
||||
0x0a, 0x0a, 0x06, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x44,
|
||||
0x72, 0x6f, 0x70, 0x10, 0x01, 0x42, 0x3c, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
|
||||
0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x65, 0x61, 0x6d,
|
||||
0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f,
|
||||
0x67, 0x6f, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x6d,
|
||||
0x65, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
@@ -1116,7 +1115,7 @@ var file_greptime_v1_meta_ddl_proto_goTypes = []interface{}{
|
||||
(*v1.QueryContext)(nil), // 24: greptime.v1.QueryContext
|
||||
(*ResponseHeader)(nil), // 25: greptime.v1.meta.ResponseHeader
|
||||
(*ProcedureId)(nil), // 26: greptime.v1.meta.ProcedureId
|
||||
(*TableId)(nil), // 27: greptime.v1.meta.TableId
|
||||
(*v1.TableId)(nil), // 27: greptime.v1.TableId
|
||||
}
|
||||
var file_greptime_v1_meta_ddl_proto_depIdxs = []int32{
|
||||
14, // 0: greptime.v1.meta.CreateDatabaseTask.create_database:type_name -> greptime.v1.CreateDatabaseExpr
|
||||
@@ -1146,8 +1145,8 @@ var file_greptime_v1_meta_ddl_proto_depIdxs = []int32{
|
||||
11, // 24: greptime.v1.meta.DdlTaskRequest.drop_flow_task:type_name -> greptime.v1.meta.DropFlowTask
|
||||
25, // 25: greptime.v1.meta.DdlTaskResponse.header:type_name -> greptime.v1.meta.ResponseHeader
|
||||
26, // 26: greptime.v1.meta.DdlTaskResponse.pid:type_name -> greptime.v1.meta.ProcedureId
|
||||
27, // 27: greptime.v1.meta.DdlTaskResponse.table_id:type_name -> greptime.v1.meta.TableId
|
||||
27, // 28: greptime.v1.meta.DdlTaskResponse.table_ids:type_name -> greptime.v1.meta.TableId
|
||||
27, // 27: greptime.v1.meta.DdlTaskResponse.table_id:type_name -> greptime.v1.TableId
|
||||
27, // 28: greptime.v1.meta.DdlTaskResponse.table_ids:type_name -> greptime.v1.TableId
|
||||
29, // [29:29] is the sub-list for method output_type
|
||||
29, // [29:29] is the sub-list for method input_type
|
||||
29, // [29:29] is the sub-list for extension type_name
|
||||
|
||||
@@ -3373,496 +3373,6 @@ java.lang.String defaultValue);
|
||||
|
||||
}
|
||||
|
||||
public interface TableIdOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:greptime.v1.meta.TableId)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint32 id = 1;</code>
|
||||
* @return The id.
|
||||
*/
|
||||
int getId();
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code greptime.v1.meta.TableId}
|
||||
*/
|
||||
public static final class TableId extends
|
||||
com.google.protobuf.GeneratedMessageV3 implements
|
||||
// @@protoc_insertion_point(message_implements:greptime.v1.meta.TableId)
|
||||
TableIdOrBuilder {
|
||||
private static final long serialVersionUID = 0L;
|
||||
// Use TableId.newBuilder() to construct.
|
||||
private TableId(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
private TableId() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@SuppressWarnings({"unused"})
|
||||
protected java.lang.Object newInstance(
|
||||
UnusedPrivateParameter unused) {
|
||||
return new TableId();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public final com.google.protobuf.UnknownFieldSet
|
||||
getUnknownFields() {
|
||||
return this.unknownFields;
|
||||
}
|
||||
private TableId(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
this();
|
||||
if (extensionRegistry == null) {
|
||||
throw new java.lang.NullPointerException();
|
||||
}
|
||||
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
||||
com.google.protobuf.UnknownFieldSet.newBuilder();
|
||||
try {
|
||||
boolean done = false;
|
||||
while (!done) {
|
||||
int tag = input.readTag();
|
||||
switch (tag) {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 8: {
|
||||
|
||||
id_ = input.readUInt32();
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
done = true;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
throw e.setUnfinishedMessage(this);
|
||||
} catch (com.google.protobuf.UninitializedMessageException e) {
|
||||
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
|
||||
} catch (java.io.IOException e) {
|
||||
throw new com.google.protobuf.InvalidProtocolBufferException(
|
||||
e).setUnfinishedMessage(this);
|
||||
} finally {
|
||||
this.unknownFields = unknownFields.build();
|
||||
makeExtensionsImmutable();
|
||||
}
|
||||
}
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return greptime.v1.meta.Common.internal_static_greptime_v1_meta_TableId_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return greptime.v1.meta.Common.internal_static_greptime_v1_meta_TableId_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
greptime.v1.meta.Common.TableId.class, greptime.v1.meta.Common.TableId.Builder.class);
|
||||
}
|
||||
|
||||
public static final int ID_FIELD_NUMBER = 1;
|
||||
private int id_;
|
||||
/**
|
||||
* <code>uint32 id = 1;</code>
|
||||
* @return The id.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getId() {
|
||||
return id_;
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
byte isInitialized = memoizedIsInitialized;
|
||||
if (isInitialized == 1) return true;
|
||||
if (isInitialized == 0) return false;
|
||||
|
||||
memoizedIsInitialized = 1;
|
||||
return true;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (id_ != 0) {
|
||||
output.writeUInt32(1, id_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int getSerializedSize() {
|
||||
int size = memoizedSize;
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (id_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(1, id_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
return size;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public boolean equals(final java.lang.Object obj) {
|
||||
if (obj == this) {
|
||||
return true;
|
||||
}
|
||||
if (!(obj instanceof greptime.v1.meta.Common.TableId)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
greptime.v1.meta.Common.TableId other = (greptime.v1.meta.Common.TableId) obj;
|
||||
|
||||
if (getId()
|
||||
!= other.getId()) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int hashCode() {
|
||||
if (memoizedHashCode != 0) {
|
||||
return memoizedHashCode;
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
hash = (37 * hash) + ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getId();
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
}
|
||||
|
||||
public static greptime.v1.meta.Common.TableId parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static greptime.v1.meta.Common.TableId parseFrom(
|
||||
java.nio.ByteBuffer data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static greptime.v1.meta.Common.TableId parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static greptime.v1.meta.Common.TableId parseFrom(
|
||||
com.google.protobuf.ByteString data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static greptime.v1.meta.Common.TableId parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static greptime.v1.meta.Common.TableId parseFrom(
|
||||
byte[] data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static greptime.v1.meta.Common.TableId parseFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static greptime.v1.meta.Common.TableId parseFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input, extensionRegistry);
|
||||
}
|
||||
public static greptime.v1.meta.Common.TableId parseDelimitedFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseDelimitedWithIOException(PARSER, input);
|
||||
}
|
||||
public static greptime.v1.meta.Common.TableId parseDelimitedFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
||||
}
|
||||
public static greptime.v1.meta.Common.TableId parseFrom(
|
||||
com.google.protobuf.CodedInputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static greptime.v1.meta.Common.TableId parseFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input, extensionRegistry);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public Builder newBuilderForType() { return newBuilder(); }
|
||||
public static Builder newBuilder() {
|
||||
return DEFAULT_INSTANCE.toBuilder();
|
||||
}
|
||||
public static Builder newBuilder(greptime.v1.meta.Common.TableId prototype) {
|
||||
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder toBuilder() {
|
||||
return this == DEFAULT_INSTANCE
|
||||
? new Builder() : new Builder().mergeFrom(this);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected Builder newBuilderForType(
|
||||
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
||||
Builder builder = new Builder(parent);
|
||||
return builder;
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code greptime.v1.meta.TableId}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:greptime.v1.meta.TableId)
|
||||
greptime.v1.meta.Common.TableIdOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return greptime.v1.meta.Common.internal_static_greptime_v1_meta_TableId_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return greptime.v1.meta.Common.internal_static_greptime_v1_meta_TableId_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
greptime.v1.meta.Common.TableId.class, greptime.v1.meta.Common.TableId.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using greptime.v1.meta.Common.TableId.newBuilder()
|
||||
private Builder() {
|
||||
maybeForceBuilderInitialization();
|
||||
}
|
||||
|
||||
private Builder(
|
||||
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
||||
super(parent);
|
||||
maybeForceBuilderInitialization();
|
||||
}
|
||||
private void maybeForceBuilderInitialization() {
|
||||
if (com.google.protobuf.GeneratedMessageV3
|
||||
.alwaysUseFieldBuilders) {
|
||||
}
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
id_ = 0;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return greptime.v1.meta.Common.internal_static_greptime_v1_meta_TableId_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public greptime.v1.meta.Common.TableId getDefaultInstanceForType() {
|
||||
return greptime.v1.meta.Common.TableId.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public greptime.v1.meta.Common.TableId build() {
|
||||
greptime.v1.meta.Common.TableId result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public greptime.v1.meta.Common.TableId buildPartial() {
|
||||
greptime.v1.meta.Common.TableId result = new greptime.v1.meta.Common.TableId(this);
|
||||
result.id_ = id_;
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public Builder clone() {
|
||||
return super.clone();
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder setField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field,
|
||||
java.lang.Object value) {
|
||||
return super.setField(field, value);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clearField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field) {
|
||||
return super.clearField(field);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clearOneof(
|
||||
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
|
||||
return super.clearOneof(oneof);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder setRepeatedField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field,
|
||||
int index, java.lang.Object value) {
|
||||
return super.setRepeatedField(field, index, value);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder addRepeatedField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field,
|
||||
java.lang.Object value) {
|
||||
return super.addRepeatedField(field, value);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder mergeFrom(com.google.protobuf.Message other) {
|
||||
if (other instanceof greptime.v1.meta.Common.TableId) {
|
||||
return mergeFrom((greptime.v1.meta.Common.TableId)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(greptime.v1.meta.Common.TableId other) {
|
||||
if (other == greptime.v1.meta.Common.TableId.getDefaultInstance()) return this;
|
||||
if (other.getId() != 0) {
|
||||
setId(other.getId());
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public Builder mergeFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
greptime.v1.meta.Common.TableId parsedMessage = null;
|
||||
try {
|
||||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
parsedMessage = (greptime.v1.meta.Common.TableId) e.getUnfinishedMessage();
|
||||
throw e.unwrapIOException();
|
||||
} finally {
|
||||
if (parsedMessage != null) {
|
||||
mergeFrom(parsedMessage);
|
||||
}
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
private int id_ ;
|
||||
/**
|
||||
* <code>uint32 id = 1;</code>
|
||||
* @return The id.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getId() {
|
||||
return id_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 id = 1;</code>
|
||||
* @param value The id to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setId(int value) {
|
||||
|
||||
id_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 id = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearId() {
|
||||
|
||||
id_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@java.lang.Override
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
return super.setUnknownFields(unknownFields);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public final Builder mergeUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
return super.mergeUnknownFields(unknownFields);
|
||||
}
|
||||
|
||||
|
||||
// @@protoc_insertion_point(builder_scope:greptime.v1.meta.TableId)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:greptime.v1.meta.TableId)
|
||||
private static final greptime.v1.meta.Common.TableId DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new greptime.v1.meta.Common.TableId();
|
||||
}
|
||||
|
||||
public static greptime.v1.meta.Common.TableId getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Parser<TableId>
|
||||
PARSER = new com.google.protobuf.AbstractParser<TableId>() {
|
||||
@java.lang.Override
|
||||
public TableId parsePartialFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return new TableId(input, extensionRegistry);
|
||||
}
|
||||
};
|
||||
|
||||
public static com.google.protobuf.Parser<TableId> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<TableId> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public greptime.v1.meta.Common.TableId getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public interface TimeIntervalOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:greptime.v1.meta.TimeInterval)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
@@ -5600,11 +5110,6 @@ java.lang.String defaultValue);
|
||||
private static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_greptime_v1_meta_Peer_fieldAccessorTable;
|
||||
private static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_greptime_v1_meta_TableId_descriptor;
|
||||
private static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_greptime_v1_meta_TableId_fieldAccessorTable;
|
||||
private static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_greptime_v1_meta_TimeInterval_descriptor;
|
||||
private static final
|
||||
@@ -5641,13 +5146,13 @@ java.lang.String defaultValue);
|
||||
"d\030\002 \001(\004\022&\n\005error\030\003 \001(\0132\027.greptime.v1.met" +
|
||||
"a.Error\"&\n\005Error\022\014\n\004code\030\001 \001(\005\022\017\n\007err_ms" +
|
||||
"g\030\002 \001(\t\" \n\004Peer\022\n\n\002id\030\001 \001(\004\022\014\n\004addr\030\002 \001(" +
|
||||
"\t\"\025\n\007TableId\022\n\n\002id\030\001 \001(\r\"L\n\014TimeInterval" +
|
||||
"\022\036\n\026start_timestamp_millis\030\001 \001(\003\022\034\n\024end_" +
|
||||
"timestamp_millis\030\002 \001(\003\"&\n\010KeyValue\022\013\n\003ke" +
|
||||
"y\030\001 \001(\014\022\r\n\005value\030\002 \001(\014\"\032\n\013ProcedureId\022\013\n" +
|
||||
"\003key\030\001 \001(\014*\"\n\004Role\022\014\n\010DATANODE\020\000\022\014\n\010FRON" +
|
||||
"TEND\020\001B<Z:github.com/GreptimeTeam/grepti" +
|
||||
"me-proto/go/greptime/v1/metab\006proto3"
|
||||
"\t\"L\n\014TimeInterval\022\036\n\026start_timestamp_mil" +
|
||||
"lis\030\001 \001(\003\022\034\n\024end_timestamp_millis\030\002 \001(\003\"" +
|
||||
"&\n\010KeyValue\022\013\n\003key\030\001 \001(\014\022\r\n\005value\030\002 \001(\014\"" +
|
||||
"\032\n\013ProcedureId\022\013\n\003key\030\001 \001(\014*\"\n\004Role\022\014\n\010D" +
|
||||
"ATANODE\020\000\022\014\n\010FRONTEND\020\001B<Z:github.com/Gr" +
|
||||
"eptimeTeam/greptime-proto/go/greptime/v1" +
|
||||
"/metab\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
@@ -5683,26 +5188,20 @@ java.lang.String defaultValue);
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_greptime_v1_meta_Peer_descriptor,
|
||||
new java.lang.String[] { "Id", "Addr", });
|
||||
internal_static_greptime_v1_meta_TableId_descriptor =
|
||||
getDescriptor().getMessageTypes().get(4);
|
||||
internal_static_greptime_v1_meta_TableId_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_greptime_v1_meta_TableId_descriptor,
|
||||
new java.lang.String[] { "Id", });
|
||||
internal_static_greptime_v1_meta_TimeInterval_descriptor =
|
||||
getDescriptor().getMessageTypes().get(5);
|
||||
getDescriptor().getMessageTypes().get(4);
|
||||
internal_static_greptime_v1_meta_TimeInterval_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_greptime_v1_meta_TimeInterval_descriptor,
|
||||
new java.lang.String[] { "StartTimestampMillis", "EndTimestampMillis", });
|
||||
internal_static_greptime_v1_meta_KeyValue_descriptor =
|
||||
getDescriptor().getMessageTypes().get(6);
|
||||
getDescriptor().getMessageTypes().get(5);
|
||||
internal_static_greptime_v1_meta_KeyValue_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_greptime_v1_meta_KeyValue_descriptor,
|
||||
new java.lang.String[] { "Key", "Value", });
|
||||
internal_static_greptime_v1_meta_ProcedureId_descriptor =
|
||||
getDescriptor().getMessageTypes().get(7);
|
||||
getDescriptor().getMessageTypes().get(6);
|
||||
internal_static_greptime_v1_meta_ProcedureId_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_greptime_v1_meta_ProcedureId_descriptor,
|
||||
|
||||
@@ -11407,7 +11407,7 @@ public final class Ddl {
|
||||
* TODO(jeremy): remove it?
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.meta.TableId table_id = 4;</code>
|
||||
* <code>.greptime.v1.TableId table_id = 4;</code>
|
||||
* @return Whether the tableId field is set.
|
||||
*/
|
||||
boolean hasTableId();
|
||||
@@ -11417,43 +11417,43 @@ public final class Ddl {
|
||||
* TODO(jeremy): remove it?
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.meta.TableId table_id = 4;</code>
|
||||
* <code>.greptime.v1.TableId table_id = 4;</code>
|
||||
* @return The tableId.
|
||||
*/
|
||||
greptime.v1.meta.Common.TableId getTableId();
|
||||
io.greptime.v1.Ddl.TableId getTableId();
|
||||
/**
|
||||
* <pre>
|
||||
* Returns if table created.
|
||||
* TODO(jeremy): remove it?
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.meta.TableId table_id = 4;</code>
|
||||
* <code>.greptime.v1.TableId table_id = 4;</code>
|
||||
*/
|
||||
greptime.v1.meta.Common.TableIdOrBuilder getTableIdOrBuilder();
|
||||
io.greptime.v1.Ddl.TableIdOrBuilder getTableIdOrBuilder();
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* Returns if the tables created.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .greptime.v1.meta.TableId table_ids = 5;</code>
|
||||
* <code>repeated .greptime.v1.TableId table_ids = 5;</code>
|
||||
*/
|
||||
java.util.List<greptime.v1.meta.Common.TableId>
|
||||
java.util.List<io.greptime.v1.Ddl.TableId>
|
||||
getTableIdsList();
|
||||
/**
|
||||
* <pre>
|
||||
* Returns if the tables created.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .greptime.v1.meta.TableId table_ids = 5;</code>
|
||||
* <code>repeated .greptime.v1.TableId table_ids = 5;</code>
|
||||
*/
|
||||
greptime.v1.meta.Common.TableId getTableIds(int index);
|
||||
io.greptime.v1.Ddl.TableId getTableIds(int index);
|
||||
/**
|
||||
* <pre>
|
||||
* Returns if the tables created.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .greptime.v1.meta.TableId table_ids = 5;</code>
|
||||
* <code>repeated .greptime.v1.TableId table_ids = 5;</code>
|
||||
*/
|
||||
int getTableIdsCount();
|
||||
/**
|
||||
@@ -11461,18 +11461,18 @@ public final class Ddl {
|
||||
* Returns if the tables created.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .greptime.v1.meta.TableId table_ids = 5;</code>
|
||||
* <code>repeated .greptime.v1.TableId table_ids = 5;</code>
|
||||
*/
|
||||
java.util.List<? extends greptime.v1.meta.Common.TableIdOrBuilder>
|
||||
java.util.List<? extends io.greptime.v1.Ddl.TableIdOrBuilder>
|
||||
getTableIdsOrBuilderList();
|
||||
/**
|
||||
* <pre>
|
||||
* Returns if the tables created.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .greptime.v1.meta.TableId table_ids = 5;</code>
|
||||
* <code>repeated .greptime.v1.TableId table_ids = 5;</code>
|
||||
*/
|
||||
greptime.v1.meta.Common.TableIdOrBuilder getTableIdsOrBuilder(
|
||||
io.greptime.v1.Ddl.TableIdOrBuilder getTableIdsOrBuilder(
|
||||
int index);
|
||||
}
|
||||
/**
|
||||
@@ -11549,11 +11549,11 @@ public final class Ddl {
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
greptime.v1.meta.Common.TableId.Builder subBuilder = null;
|
||||
io.greptime.v1.Ddl.TableId.Builder subBuilder = null;
|
||||
if (tableId_ != null) {
|
||||
subBuilder = tableId_.toBuilder();
|
||||
}
|
||||
tableId_ = input.readMessage(greptime.v1.meta.Common.TableId.parser(), extensionRegistry);
|
||||
tableId_ = input.readMessage(io.greptime.v1.Ddl.TableId.parser(), extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(tableId_);
|
||||
tableId_ = subBuilder.buildPartial();
|
||||
@@ -11563,11 +11563,11 @@ public final class Ddl {
|
||||
}
|
||||
case 42: {
|
||||
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
||||
tableIds_ = new java.util.ArrayList<greptime.v1.meta.Common.TableId>();
|
||||
tableIds_ = new java.util.ArrayList<io.greptime.v1.Ddl.TableId>();
|
||||
mutable_bitField0_ |= 0x00000001;
|
||||
}
|
||||
tableIds_.add(
|
||||
input.readMessage(greptime.v1.meta.Common.TableId.parser(), extensionRegistry));
|
||||
input.readMessage(io.greptime.v1.Ddl.TableId.parser(), extensionRegistry));
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
@@ -11660,14 +11660,14 @@ public final class Ddl {
|
||||
}
|
||||
|
||||
public static final int TABLE_ID_FIELD_NUMBER = 4;
|
||||
private greptime.v1.meta.Common.TableId tableId_;
|
||||
private io.greptime.v1.Ddl.TableId tableId_;
|
||||
/**
|
||||
* <pre>
|
||||
* Returns if table created.
|
||||
* TODO(jeremy): remove it?
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.meta.TableId table_id = 4;</code>
|
||||
* <code>.greptime.v1.TableId table_id = 4;</code>
|
||||
* @return Whether the tableId field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -11680,12 +11680,12 @@ public final class Ddl {
|
||||
* TODO(jeremy): remove it?
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.meta.TableId table_id = 4;</code>
|
||||
* <code>.greptime.v1.TableId table_id = 4;</code>
|
||||
* @return The tableId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public greptime.v1.meta.Common.TableId getTableId() {
|
||||
return tableId_ == null ? greptime.v1.meta.Common.TableId.getDefaultInstance() : tableId_;
|
||||
public io.greptime.v1.Ddl.TableId getTableId() {
|
||||
return tableId_ == null ? io.greptime.v1.Ddl.TableId.getDefaultInstance() : tableId_;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
@@ -11693,24 +11693,24 @@ public final class Ddl {
|
||||
* TODO(jeremy): remove it?
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.meta.TableId table_id = 4;</code>
|
||||
* <code>.greptime.v1.TableId table_id = 4;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public greptime.v1.meta.Common.TableIdOrBuilder getTableIdOrBuilder() {
|
||||
public io.greptime.v1.Ddl.TableIdOrBuilder getTableIdOrBuilder() {
|
||||
return getTableId();
|
||||
}
|
||||
|
||||
public static final int TABLE_IDS_FIELD_NUMBER = 5;
|
||||
private java.util.List<greptime.v1.meta.Common.TableId> tableIds_;
|
||||
private java.util.List<io.greptime.v1.Ddl.TableId> tableIds_;
|
||||
/**
|
||||
* <pre>
|
||||
* Returns if the tables created.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .greptime.v1.meta.TableId table_ids = 5;</code>
|
||||
* <code>repeated .greptime.v1.TableId table_ids = 5;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<greptime.v1.meta.Common.TableId> getTableIdsList() {
|
||||
public java.util.List<io.greptime.v1.Ddl.TableId> getTableIdsList() {
|
||||
return tableIds_;
|
||||
}
|
||||
/**
|
||||
@@ -11718,10 +11718,10 @@ public final class Ddl {
|
||||
* Returns if the tables created.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .greptime.v1.meta.TableId table_ids = 5;</code>
|
||||
* <code>repeated .greptime.v1.TableId table_ids = 5;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.util.List<? extends greptime.v1.meta.Common.TableIdOrBuilder>
|
||||
public java.util.List<? extends io.greptime.v1.Ddl.TableIdOrBuilder>
|
||||
getTableIdsOrBuilderList() {
|
||||
return tableIds_;
|
||||
}
|
||||
@@ -11730,7 +11730,7 @@ public final class Ddl {
|
||||
* Returns if the tables created.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .greptime.v1.meta.TableId table_ids = 5;</code>
|
||||
* <code>repeated .greptime.v1.TableId table_ids = 5;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getTableIdsCount() {
|
||||
@@ -11741,10 +11741,10 @@ public final class Ddl {
|
||||
* Returns if the tables created.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .greptime.v1.meta.TableId table_ids = 5;</code>
|
||||
* <code>repeated .greptime.v1.TableId table_ids = 5;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public greptime.v1.meta.Common.TableId getTableIds(int index) {
|
||||
public io.greptime.v1.Ddl.TableId getTableIds(int index) {
|
||||
return tableIds_.get(index);
|
||||
}
|
||||
/**
|
||||
@@ -11752,10 +11752,10 @@ public final class Ddl {
|
||||
* Returns if the tables created.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .greptime.v1.meta.TableId table_ids = 5;</code>
|
||||
* <code>repeated .greptime.v1.TableId table_ids = 5;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public greptime.v1.meta.Common.TableIdOrBuilder getTableIdsOrBuilder(
|
||||
public io.greptime.v1.Ddl.TableIdOrBuilder getTableIdsOrBuilder(
|
||||
int index) {
|
||||
return tableIds_.get(index);
|
||||
}
|
||||
@@ -12430,16 +12430,16 @@ public final class Ddl {
|
||||
return pidBuilder_;
|
||||
}
|
||||
|
||||
private greptime.v1.meta.Common.TableId tableId_;
|
||||
private io.greptime.v1.Ddl.TableId tableId_;
|
||||
private com.google.protobuf.SingleFieldBuilderV3<
|
||||
greptime.v1.meta.Common.TableId, greptime.v1.meta.Common.TableId.Builder, greptime.v1.meta.Common.TableIdOrBuilder> tableIdBuilder_;
|
||||
io.greptime.v1.Ddl.TableId, io.greptime.v1.Ddl.TableId.Builder, io.greptime.v1.Ddl.TableIdOrBuilder> tableIdBuilder_;
|
||||
/**
|
||||
* <pre>
|
||||
* Returns if table created.
|
||||
* TODO(jeremy): remove it?
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.meta.TableId table_id = 4;</code>
|
||||
* <code>.greptime.v1.TableId table_id = 4;</code>
|
||||
* @return Whether the tableId field is set.
|
||||
*/
|
||||
public boolean hasTableId() {
|
||||
@@ -12451,12 +12451,12 @@ public final class Ddl {
|
||||
* TODO(jeremy): remove it?
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.meta.TableId table_id = 4;</code>
|
||||
* <code>.greptime.v1.TableId table_id = 4;</code>
|
||||
* @return The tableId.
|
||||
*/
|
||||
public greptime.v1.meta.Common.TableId getTableId() {
|
||||
public io.greptime.v1.Ddl.TableId getTableId() {
|
||||
if (tableIdBuilder_ == null) {
|
||||
return tableId_ == null ? greptime.v1.meta.Common.TableId.getDefaultInstance() : tableId_;
|
||||
return tableId_ == null ? io.greptime.v1.Ddl.TableId.getDefaultInstance() : tableId_;
|
||||
} else {
|
||||
return tableIdBuilder_.getMessage();
|
||||
}
|
||||
@@ -12467,9 +12467,9 @@ public final class Ddl {
|
||||
* TODO(jeremy): remove it?
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.meta.TableId table_id = 4;</code>
|
||||
* <code>.greptime.v1.TableId table_id = 4;</code>
|
||||
*/
|
||||
public Builder setTableId(greptime.v1.meta.Common.TableId value) {
|
||||
public Builder setTableId(io.greptime.v1.Ddl.TableId value) {
|
||||
if (tableIdBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
@@ -12488,10 +12488,10 @@ public final class Ddl {
|
||||
* TODO(jeremy): remove it?
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.meta.TableId table_id = 4;</code>
|
||||
* <code>.greptime.v1.TableId table_id = 4;</code>
|
||||
*/
|
||||
public Builder setTableId(
|
||||
greptime.v1.meta.Common.TableId.Builder builderForValue) {
|
||||
io.greptime.v1.Ddl.TableId.Builder builderForValue) {
|
||||
if (tableIdBuilder_ == null) {
|
||||
tableId_ = builderForValue.build();
|
||||
onChanged();
|
||||
@@ -12507,13 +12507,13 @@ public final class Ddl {
|
||||
* TODO(jeremy): remove it?
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.meta.TableId table_id = 4;</code>
|
||||
* <code>.greptime.v1.TableId table_id = 4;</code>
|
||||
*/
|
||||
public Builder mergeTableId(greptime.v1.meta.Common.TableId value) {
|
||||
public Builder mergeTableId(io.greptime.v1.Ddl.TableId value) {
|
||||
if (tableIdBuilder_ == null) {
|
||||
if (tableId_ != null) {
|
||||
tableId_ =
|
||||
greptime.v1.meta.Common.TableId.newBuilder(tableId_).mergeFrom(value).buildPartial();
|
||||
io.greptime.v1.Ddl.TableId.newBuilder(tableId_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
tableId_ = value;
|
||||
}
|
||||
@@ -12530,7 +12530,7 @@ public final class Ddl {
|
||||
* TODO(jeremy): remove it?
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.meta.TableId table_id = 4;</code>
|
||||
* <code>.greptime.v1.TableId table_id = 4;</code>
|
||||
*/
|
||||
public Builder clearTableId() {
|
||||
if (tableIdBuilder_ == null) {
|
||||
@@ -12549,9 +12549,9 @@ public final class Ddl {
|
||||
* TODO(jeremy): remove it?
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.meta.TableId table_id = 4;</code>
|
||||
* <code>.greptime.v1.TableId table_id = 4;</code>
|
||||
*/
|
||||
public greptime.v1.meta.Common.TableId.Builder getTableIdBuilder() {
|
||||
public io.greptime.v1.Ddl.TableId.Builder getTableIdBuilder() {
|
||||
|
||||
onChanged();
|
||||
return getTableIdFieldBuilder().getBuilder();
|
||||
@@ -12562,14 +12562,14 @@ public final class Ddl {
|
||||
* TODO(jeremy): remove it?
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.meta.TableId table_id = 4;</code>
|
||||
* <code>.greptime.v1.TableId table_id = 4;</code>
|
||||
*/
|
||||
public greptime.v1.meta.Common.TableIdOrBuilder getTableIdOrBuilder() {
|
||||
public io.greptime.v1.Ddl.TableIdOrBuilder getTableIdOrBuilder() {
|
||||
if (tableIdBuilder_ != null) {
|
||||
return tableIdBuilder_.getMessageOrBuilder();
|
||||
} else {
|
||||
return tableId_ == null ?
|
||||
greptime.v1.meta.Common.TableId.getDefaultInstance() : tableId_;
|
||||
io.greptime.v1.Ddl.TableId.getDefaultInstance() : tableId_;
|
||||
}
|
||||
}
|
||||
/**
|
||||
@@ -12578,14 +12578,14 @@ public final class Ddl {
|
||||
* TODO(jeremy): remove it?
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.meta.TableId table_id = 4;</code>
|
||||
* <code>.greptime.v1.TableId table_id = 4;</code>
|
||||
*/
|
||||
private com.google.protobuf.SingleFieldBuilderV3<
|
||||
greptime.v1.meta.Common.TableId, greptime.v1.meta.Common.TableId.Builder, greptime.v1.meta.Common.TableIdOrBuilder>
|
||||
io.greptime.v1.Ddl.TableId, io.greptime.v1.Ddl.TableId.Builder, io.greptime.v1.Ddl.TableIdOrBuilder>
|
||||
getTableIdFieldBuilder() {
|
||||
if (tableIdBuilder_ == null) {
|
||||
tableIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
||||
greptime.v1.meta.Common.TableId, greptime.v1.meta.Common.TableId.Builder, greptime.v1.meta.Common.TableIdOrBuilder>(
|
||||
io.greptime.v1.Ddl.TableId, io.greptime.v1.Ddl.TableId.Builder, io.greptime.v1.Ddl.TableIdOrBuilder>(
|
||||
getTableId(),
|
||||
getParentForChildren(),
|
||||
isClean());
|
||||
@@ -12594,26 +12594,26 @@ public final class Ddl {
|
||||
return tableIdBuilder_;
|
||||
}
|
||||
|
||||
private java.util.List<greptime.v1.meta.Common.TableId> tableIds_ =
|
||||
private java.util.List<io.greptime.v1.Ddl.TableId> tableIds_ =
|
||||
java.util.Collections.emptyList();
|
||||
private void ensureTableIdsIsMutable() {
|
||||
if (!((bitField0_ & 0x00000001) != 0)) {
|
||||
tableIds_ = new java.util.ArrayList<greptime.v1.meta.Common.TableId>(tableIds_);
|
||||
tableIds_ = new java.util.ArrayList<io.greptime.v1.Ddl.TableId>(tableIds_);
|
||||
bitField0_ |= 0x00000001;
|
||||
}
|
||||
}
|
||||
|
||||
private com.google.protobuf.RepeatedFieldBuilderV3<
|
||||
greptime.v1.meta.Common.TableId, greptime.v1.meta.Common.TableId.Builder, greptime.v1.meta.Common.TableIdOrBuilder> tableIdsBuilder_;
|
||||
io.greptime.v1.Ddl.TableId, io.greptime.v1.Ddl.TableId.Builder, io.greptime.v1.Ddl.TableIdOrBuilder> tableIdsBuilder_;
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* Returns if the tables created.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .greptime.v1.meta.TableId table_ids = 5;</code>
|
||||
* <code>repeated .greptime.v1.TableId table_ids = 5;</code>
|
||||
*/
|
||||
public java.util.List<greptime.v1.meta.Common.TableId> getTableIdsList() {
|
||||
public java.util.List<io.greptime.v1.Ddl.TableId> getTableIdsList() {
|
||||
if (tableIdsBuilder_ == null) {
|
||||
return java.util.Collections.unmodifiableList(tableIds_);
|
||||
} else {
|
||||
@@ -12625,7 +12625,7 @@ public final class Ddl {
|
||||
* Returns if the tables created.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .greptime.v1.meta.TableId table_ids = 5;</code>
|
||||
* <code>repeated .greptime.v1.TableId table_ids = 5;</code>
|
||||
*/
|
||||
public int getTableIdsCount() {
|
||||
if (tableIdsBuilder_ == null) {
|
||||
@@ -12639,9 +12639,9 @@ public final class Ddl {
|
||||
* Returns if the tables created.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .greptime.v1.meta.TableId table_ids = 5;</code>
|
||||
* <code>repeated .greptime.v1.TableId table_ids = 5;</code>
|
||||
*/
|
||||
public greptime.v1.meta.Common.TableId getTableIds(int index) {
|
||||
public io.greptime.v1.Ddl.TableId getTableIds(int index) {
|
||||
if (tableIdsBuilder_ == null) {
|
||||
return tableIds_.get(index);
|
||||
} else {
|
||||
@@ -12653,10 +12653,10 @@ public final class Ddl {
|
||||
* Returns if the tables created.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .greptime.v1.meta.TableId table_ids = 5;</code>
|
||||
* <code>repeated .greptime.v1.TableId table_ids = 5;</code>
|
||||
*/
|
||||
public Builder setTableIds(
|
||||
int index, greptime.v1.meta.Common.TableId value) {
|
||||
int index, io.greptime.v1.Ddl.TableId value) {
|
||||
if (tableIdsBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
@@ -12674,10 +12674,10 @@ public final class Ddl {
|
||||
* Returns if the tables created.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .greptime.v1.meta.TableId table_ids = 5;</code>
|
||||
* <code>repeated .greptime.v1.TableId table_ids = 5;</code>
|
||||
*/
|
||||
public Builder setTableIds(
|
||||
int index, greptime.v1.meta.Common.TableId.Builder builderForValue) {
|
||||
int index, io.greptime.v1.Ddl.TableId.Builder builderForValue) {
|
||||
if (tableIdsBuilder_ == null) {
|
||||
ensureTableIdsIsMutable();
|
||||
tableIds_.set(index, builderForValue.build());
|
||||
@@ -12692,9 +12692,9 @@ public final class Ddl {
|
||||
* Returns if the tables created.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .greptime.v1.meta.TableId table_ids = 5;</code>
|
||||
* <code>repeated .greptime.v1.TableId table_ids = 5;</code>
|
||||
*/
|
||||
public Builder addTableIds(greptime.v1.meta.Common.TableId value) {
|
||||
public Builder addTableIds(io.greptime.v1.Ddl.TableId value) {
|
||||
if (tableIdsBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
@@ -12712,10 +12712,10 @@ public final class Ddl {
|
||||
* Returns if the tables created.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .greptime.v1.meta.TableId table_ids = 5;</code>
|
||||
* <code>repeated .greptime.v1.TableId table_ids = 5;</code>
|
||||
*/
|
||||
public Builder addTableIds(
|
||||
int index, greptime.v1.meta.Common.TableId value) {
|
||||
int index, io.greptime.v1.Ddl.TableId value) {
|
||||
if (tableIdsBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
@@ -12733,10 +12733,10 @@ public final class Ddl {
|
||||
* Returns if the tables created.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .greptime.v1.meta.TableId table_ids = 5;</code>
|
||||
* <code>repeated .greptime.v1.TableId table_ids = 5;</code>
|
||||
*/
|
||||
public Builder addTableIds(
|
||||
greptime.v1.meta.Common.TableId.Builder builderForValue) {
|
||||
io.greptime.v1.Ddl.TableId.Builder builderForValue) {
|
||||
if (tableIdsBuilder_ == null) {
|
||||
ensureTableIdsIsMutable();
|
||||
tableIds_.add(builderForValue.build());
|
||||
@@ -12751,10 +12751,10 @@ public final class Ddl {
|
||||
* Returns if the tables created.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .greptime.v1.meta.TableId table_ids = 5;</code>
|
||||
* <code>repeated .greptime.v1.TableId table_ids = 5;</code>
|
||||
*/
|
||||
public Builder addTableIds(
|
||||
int index, greptime.v1.meta.Common.TableId.Builder builderForValue) {
|
||||
int index, io.greptime.v1.Ddl.TableId.Builder builderForValue) {
|
||||
if (tableIdsBuilder_ == null) {
|
||||
ensureTableIdsIsMutable();
|
||||
tableIds_.add(index, builderForValue.build());
|
||||
@@ -12769,10 +12769,10 @@ public final class Ddl {
|
||||
* Returns if the tables created.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .greptime.v1.meta.TableId table_ids = 5;</code>
|
||||
* <code>repeated .greptime.v1.TableId table_ids = 5;</code>
|
||||
*/
|
||||
public Builder addAllTableIds(
|
||||
java.lang.Iterable<? extends greptime.v1.meta.Common.TableId> values) {
|
||||
java.lang.Iterable<? extends io.greptime.v1.Ddl.TableId> values) {
|
||||
if (tableIdsBuilder_ == null) {
|
||||
ensureTableIdsIsMutable();
|
||||
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
||||
@@ -12788,7 +12788,7 @@ public final class Ddl {
|
||||
* Returns if the tables created.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .greptime.v1.meta.TableId table_ids = 5;</code>
|
||||
* <code>repeated .greptime.v1.TableId table_ids = 5;</code>
|
||||
*/
|
||||
public Builder clearTableIds() {
|
||||
if (tableIdsBuilder_ == null) {
|
||||
@@ -12805,7 +12805,7 @@ public final class Ddl {
|
||||
* Returns if the tables created.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .greptime.v1.meta.TableId table_ids = 5;</code>
|
||||
* <code>repeated .greptime.v1.TableId table_ids = 5;</code>
|
||||
*/
|
||||
public Builder removeTableIds(int index) {
|
||||
if (tableIdsBuilder_ == null) {
|
||||
@@ -12822,9 +12822,9 @@ public final class Ddl {
|
||||
* Returns if the tables created.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .greptime.v1.meta.TableId table_ids = 5;</code>
|
||||
* <code>repeated .greptime.v1.TableId table_ids = 5;</code>
|
||||
*/
|
||||
public greptime.v1.meta.Common.TableId.Builder getTableIdsBuilder(
|
||||
public io.greptime.v1.Ddl.TableId.Builder getTableIdsBuilder(
|
||||
int index) {
|
||||
return getTableIdsFieldBuilder().getBuilder(index);
|
||||
}
|
||||
@@ -12833,9 +12833,9 @@ public final class Ddl {
|
||||
* Returns if the tables created.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .greptime.v1.meta.TableId table_ids = 5;</code>
|
||||
* <code>repeated .greptime.v1.TableId table_ids = 5;</code>
|
||||
*/
|
||||
public greptime.v1.meta.Common.TableIdOrBuilder getTableIdsOrBuilder(
|
||||
public io.greptime.v1.Ddl.TableIdOrBuilder getTableIdsOrBuilder(
|
||||
int index) {
|
||||
if (tableIdsBuilder_ == null) {
|
||||
return tableIds_.get(index); } else {
|
||||
@@ -12847,9 +12847,9 @@ public final class Ddl {
|
||||
* Returns if the tables created.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .greptime.v1.meta.TableId table_ids = 5;</code>
|
||||
* <code>repeated .greptime.v1.TableId table_ids = 5;</code>
|
||||
*/
|
||||
public java.util.List<? extends greptime.v1.meta.Common.TableIdOrBuilder>
|
||||
public java.util.List<? extends io.greptime.v1.Ddl.TableIdOrBuilder>
|
||||
getTableIdsOrBuilderList() {
|
||||
if (tableIdsBuilder_ != null) {
|
||||
return tableIdsBuilder_.getMessageOrBuilderList();
|
||||
@@ -12862,41 +12862,41 @@ public final class Ddl {
|
||||
* Returns if the tables created.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .greptime.v1.meta.TableId table_ids = 5;</code>
|
||||
* <code>repeated .greptime.v1.TableId table_ids = 5;</code>
|
||||
*/
|
||||
public greptime.v1.meta.Common.TableId.Builder addTableIdsBuilder() {
|
||||
public io.greptime.v1.Ddl.TableId.Builder addTableIdsBuilder() {
|
||||
return getTableIdsFieldBuilder().addBuilder(
|
||||
greptime.v1.meta.Common.TableId.getDefaultInstance());
|
||||
io.greptime.v1.Ddl.TableId.getDefaultInstance());
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Returns if the tables created.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .greptime.v1.meta.TableId table_ids = 5;</code>
|
||||
* <code>repeated .greptime.v1.TableId table_ids = 5;</code>
|
||||
*/
|
||||
public greptime.v1.meta.Common.TableId.Builder addTableIdsBuilder(
|
||||
public io.greptime.v1.Ddl.TableId.Builder addTableIdsBuilder(
|
||||
int index) {
|
||||
return getTableIdsFieldBuilder().addBuilder(
|
||||
index, greptime.v1.meta.Common.TableId.getDefaultInstance());
|
||||
index, io.greptime.v1.Ddl.TableId.getDefaultInstance());
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Returns if the tables created.
|
||||
* </pre>
|
||||
*
|
||||
* <code>repeated .greptime.v1.meta.TableId table_ids = 5;</code>
|
||||
* <code>repeated .greptime.v1.TableId table_ids = 5;</code>
|
||||
*/
|
||||
public java.util.List<greptime.v1.meta.Common.TableId.Builder>
|
||||
public java.util.List<io.greptime.v1.Ddl.TableId.Builder>
|
||||
getTableIdsBuilderList() {
|
||||
return getTableIdsFieldBuilder().getBuilderList();
|
||||
}
|
||||
private com.google.protobuf.RepeatedFieldBuilderV3<
|
||||
greptime.v1.meta.Common.TableId, greptime.v1.meta.Common.TableId.Builder, greptime.v1.meta.Common.TableIdOrBuilder>
|
||||
io.greptime.v1.Ddl.TableId, io.greptime.v1.Ddl.TableId.Builder, io.greptime.v1.Ddl.TableIdOrBuilder>
|
||||
getTableIdsFieldBuilder() {
|
||||
if (tableIdsBuilder_ == null) {
|
||||
tableIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
|
||||
greptime.v1.meta.Common.TableId, greptime.v1.meta.Common.TableId.Builder, greptime.v1.meta.Common.TableIdOrBuilder>(
|
||||
io.greptime.v1.Ddl.TableId, io.greptime.v1.Ddl.TableId.Builder, io.greptime.v1.Ddl.TableIdOrBuilder>(
|
||||
tableIds_,
|
||||
((bitField0_ & 0x00000001) != 0),
|
||||
getParentForChildren(),
|
||||
@@ -13077,15 +13077,14 @@ public final class Ddl {
|
||||
"baseTaskH\000\022<\n\020create_flow_task\030\013 \001(\0132 .g" +
|
||||
"reptime.v1.meta.CreateFlowTaskH\000\0228\n\016drop" +
|
||||
"_flow_task\030\014 \001(\0132\036.greptime.v1.meta.Drop" +
|
||||
"FlowTaskH\000B\006\n\004task\"\312\001\n\017DdlTaskResponse\0220" +
|
||||
"FlowTaskH\000B\006\n\004task\"\300\001\n\017DdlTaskResponse\0220" +
|
||||
"\n\006header\030\001 \001(\0132 .greptime.v1.meta.Respon" +
|
||||
"seHeader\022*\n\003pid\030\002 \001(\0132\035.greptime.v1.meta" +
|
||||
".ProcedureId\022+\n\010table_id\030\004 \001(\0132\031.greptim" +
|
||||
"e.v1.meta.TableId\022,\n\ttable_ids\030\005 \003(\0132\031.g" +
|
||||
"reptime.v1.meta.TableId*#\n\013DdlTaskType\022\n" +
|
||||
"\n\006Create\020\000\022\010\n\004Drop\020\001B<Z:github.com/Grept" +
|
||||
"imeTeam/greptime-proto/go/greptime/v1/me" +
|
||||
"tab\006proto3"
|
||||
".ProcedureId\022&\n\010table_id\030\004 \001(\0132\024.greptim" +
|
||||
"e.v1.TableId\022\'\n\ttable_ids\030\005 \003(\0132\024.grepti" +
|
||||
"me.v1.TableId*#\n\013DdlTaskType\022\n\n\006Create\020\000" +
|
||||
"\022\010\n\004Drop\020\001B<Z:github.com/GreptimeTeam/gr" +
|
||||
"eptime-proto/go/greptime/v1/metab\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -56,6 +56,8 @@ message CreateFlowExpr {
|
||||
message DropFlowExpr {
|
||||
string catalog_name = 1;
|
||||
string flow_name = 2;
|
||||
FlowId flow_id = 3;
|
||||
bool drop_if_exists = 5;
|
||||
}
|
||||
|
||||
message CreateTableExpr {
|
||||
@@ -135,6 +137,8 @@ message DropColumn { string name = 1; }
|
||||
|
||||
message TableId { uint32 id = 1; }
|
||||
|
||||
message FlowId { uint32 id = 1; }
|
||||
|
||||
message ColumnDef {
|
||||
string name = 1;
|
||||
ColumnDataType data_type = 2;
|
||||
|
||||
@@ -59,9 +59,9 @@ message FlowRequest {
|
||||
message FlowResponse {
|
||||
ResponseHeader header = 1;
|
||||
uint64 affected_rows = 2;
|
||||
map<string, bytes> extension = 3;
|
||||
// affected task ids
|
||||
repeated TaskId affected_tasks = 4;
|
||||
// affected flow ids
|
||||
repeated FlowId affected_flows = 3;
|
||||
map<string, bytes> extension = 4;
|
||||
}
|
||||
|
||||
// Create a flow
|
||||
@@ -69,7 +69,7 @@ message FlowResponse {
|
||||
// Very similar to `ddl.CreateTaskExpr`,
|
||||
// replace `source_table_names` with `source_table_ids`
|
||||
message CreateRequest {
|
||||
TaskId flow_id = 1;
|
||||
FlowId flow_id = 1;
|
||||
repeated TableId source_table_ids = 2;
|
||||
TableName sink_table_name = 3;
|
||||
bool create_if_not_exists = 4;
|
||||
@@ -79,6 +79,5 @@ message CreateRequest {
|
||||
map<string, string> flow_options = 8;
|
||||
}
|
||||
|
||||
message DropRequest { TaskId flow_id = 1; }
|
||||
message DropRequest { FlowId flow_id = 1; }
|
||||
|
||||
message TaskId { uint32 id = 1; }
|
||||
|
||||
@@ -52,8 +52,6 @@ message Peer {
|
||||
string addr = 2;
|
||||
}
|
||||
|
||||
message TableId { uint32 id = 1; }
|
||||
|
||||
message TimeInterval {
|
||||
// The unix timestamp in millis of the start of this period.
|
||||
int64 start_timestamp_millis = 1;
|
||||
|
||||
Reference in New Issue
Block a user