refactor: split up set and unset messages (#199)
* refactor: split up set and unset * Update proto/greptime/v1/ddl.proto Co-authored-by: Weny Xu <wenymedia@gmail.com> --------- Co-authored-by: Weny Xu <wenymedia@gmail.com>
This commit is contained in:
+446
-156
@@ -431,25 +431,38 @@ struct AddColumnLocationDefaultTypeInternal {
|
||||
};
|
||||
};
|
||||
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AddColumnLocationDefaultTypeInternal _AddColumnLocation_default_instance_;
|
||||
PROTOBUF_CONSTEXPR ChangeColumnFulltext::ChangeColumnFulltext(
|
||||
PROTOBUF_CONSTEXPR SetColumnFulltext::SetColumnFulltext(
|
||||
::_pbi::ConstantInitialized): _impl_{
|
||||
/*decltype(_impl_.column_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
||||
, /*decltype(_impl_.analyzer_)*/0
|
||||
, /*decltype(_impl_.enable_)*/false
|
||||
, /*decltype(_impl_.case_sensitive_)*/false
|
||||
, /*decltype(_impl_._cached_size_)*/{}} {}
|
||||
struct ChangeColumnFulltextDefaultTypeInternal {
|
||||
PROTOBUF_CONSTEXPR ChangeColumnFulltextDefaultTypeInternal()
|
||||
struct SetColumnFulltextDefaultTypeInternal {
|
||||
PROTOBUF_CONSTEXPR SetColumnFulltextDefaultTypeInternal()
|
||||
: _instance(::_pbi::ConstantInitialized{}) {}
|
||||
~ChangeColumnFulltextDefaultTypeInternal() {}
|
||||
~SetColumnFulltextDefaultTypeInternal() {}
|
||||
union {
|
||||
ChangeColumnFulltext _instance;
|
||||
SetColumnFulltext _instance;
|
||||
};
|
||||
};
|
||||
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ChangeColumnFulltextDefaultTypeInternal _ChangeColumnFulltext_default_instance_;
|
||||
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetColumnFulltextDefaultTypeInternal _SetColumnFulltext_default_instance_;
|
||||
PROTOBUF_CONSTEXPR UnsetColumnFulltext::UnsetColumnFulltext(
|
||||
::_pbi::ConstantInitialized): _impl_{
|
||||
/*decltype(_impl_.column_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
||||
, /*decltype(_impl_._cached_size_)*/{}} {}
|
||||
struct UnsetColumnFulltextDefaultTypeInternal {
|
||||
PROTOBUF_CONSTEXPR UnsetColumnFulltextDefaultTypeInternal()
|
||||
: _instance(::_pbi::ConstantInitialized{}) {}
|
||||
~UnsetColumnFulltextDefaultTypeInternal() {}
|
||||
union {
|
||||
UnsetColumnFulltext _instance;
|
||||
};
|
||||
};
|
||||
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UnsetColumnFulltextDefaultTypeInternal _UnsetColumnFulltext_default_instance_;
|
||||
} // namespace v1
|
||||
} // namespace greptime
|
||||
static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fddl_2eproto[28];
|
||||
static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fddl_2eproto[29];
|
||||
static const ::_pb::EnumDescriptor* file_level_enum_descriptors_greptime_2fv1_2fddl_2eproto[2];
|
||||
static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_greptime_2fv1_2fddl_2eproto = nullptr;
|
||||
|
||||
@@ -575,6 +588,7 @@ const uint32_t TableStruct_greptime_2fv1_2fddl_2eproto::offsets[] PROTOBUF_SECTI
|
||||
::_pbi::kInvalidFieldOffsetTag,
|
||||
::_pbi::kInvalidFieldOffsetTag,
|
||||
::_pbi::kInvalidFieldOffsetTag,
|
||||
::_pbi::kInvalidFieldOffsetTag,
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::AlterExpr, _impl_.kind_),
|
||||
~0u, // no _has_bits_
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::DropTableExpr, _internal_metadata_),
|
||||
@@ -730,15 +744,22 @@ const uint32_t TableStruct_greptime_2fv1_2fddl_2eproto::offsets[] PROTOBUF_SECTI
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::AddColumnLocation, _impl_.location_type_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::AddColumnLocation, _impl_.after_column_name_),
|
||||
~0u, // no _has_bits_
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::ChangeColumnFulltext, _internal_metadata_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::SetColumnFulltext, _internal_metadata_),
|
||||
~0u, // no _extensions_
|
||||
~0u, // no _oneof_case_
|
||||
~0u, // no _weak_field_map_
|
||||
~0u, // no _inlined_string_donated_
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::ChangeColumnFulltext, _impl_.column_name_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::ChangeColumnFulltext, _impl_.enable_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::ChangeColumnFulltext, _impl_.analyzer_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::ChangeColumnFulltext, _impl_.case_sensitive_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::SetColumnFulltext, _impl_.column_name_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::SetColumnFulltext, _impl_.enable_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::SetColumnFulltext, _impl_.analyzer_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::SetColumnFulltext, _impl_.case_sensitive_),
|
||||
~0u, // no _has_bits_
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::UnsetColumnFulltext, _internal_metadata_),
|
||||
~0u, // no _extensions_
|
||||
~0u, // no _oneof_case_
|
||||
~0u, // no _weak_field_map_
|
||||
~0u, // no _inlined_string_donated_
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::UnsetColumnFulltext, _impl_.column_name_),
|
||||
};
|
||||
static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
|
||||
{ 0, -1, -1, sizeof(::greptime::v1::DdlRequest)},
|
||||
@@ -750,25 +771,26 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode
|
||||
{ 79, 87, -1, sizeof(::greptime::v1::CreateTableExpr_TableOptionsEntry_DoNotUse)},
|
||||
{ 89, -1, -1, sizeof(::greptime::v1::CreateTableExpr)},
|
||||
{ 106, -1, -1, sizeof(::greptime::v1::AlterExpr)},
|
||||
{ 122, -1, -1, sizeof(::greptime::v1::DropTableExpr)},
|
||||
{ 133, 141, -1, sizeof(::greptime::v1::CreateDatabaseExpr_OptionsEntry_DoNotUse)},
|
||||
{ 143, -1, -1, sizeof(::greptime::v1::CreateDatabaseExpr)},
|
||||
{ 153, -1, -1, sizeof(::greptime::v1::TruncateTableExpr)},
|
||||
{ 163, -1, -1, sizeof(::greptime::v1::DropDatabaseExpr)},
|
||||
{ 172, -1, -1, sizeof(::greptime::v1::AddColumns)},
|
||||
{ 179, -1, -1, sizeof(::greptime::v1::DropColumns)},
|
||||
{ 186, -1, -1, sizeof(::greptime::v1::ModifyColumnTypes)},
|
||||
{ 193, -1, -1, sizeof(::greptime::v1::RenameTable)},
|
||||
{ 200, -1, -1, sizeof(::greptime::v1::AddColumn)},
|
||||
{ 208, -1, -1, sizeof(::greptime::v1::ModifyColumnType)},
|
||||
{ 217, -1, -1, sizeof(::greptime::v1::ChangeTableOptions)},
|
||||
{ 224, -1, -1, sizeof(::greptime::v1::ChangeTableOption)},
|
||||
{ 232, -1, -1, sizeof(::greptime::v1::DropColumn)},
|
||||
{ 239, -1, -1, sizeof(::greptime::v1::TableId)},
|
||||
{ 246, -1, -1, sizeof(::greptime::v1::FlowId)},
|
||||
{ 253, -1, -1, sizeof(::greptime::v1::ColumnDef)},
|
||||
{ 267, -1, -1, sizeof(::greptime::v1::AddColumnLocation)},
|
||||
{ 275, -1, -1, sizeof(::greptime::v1::ChangeColumnFulltext)},
|
||||
{ 123, -1, -1, sizeof(::greptime::v1::DropTableExpr)},
|
||||
{ 134, 142, -1, sizeof(::greptime::v1::CreateDatabaseExpr_OptionsEntry_DoNotUse)},
|
||||
{ 144, -1, -1, sizeof(::greptime::v1::CreateDatabaseExpr)},
|
||||
{ 154, -1, -1, sizeof(::greptime::v1::TruncateTableExpr)},
|
||||
{ 164, -1, -1, sizeof(::greptime::v1::DropDatabaseExpr)},
|
||||
{ 173, -1, -1, sizeof(::greptime::v1::AddColumns)},
|
||||
{ 180, -1, -1, sizeof(::greptime::v1::DropColumns)},
|
||||
{ 187, -1, -1, sizeof(::greptime::v1::ModifyColumnTypes)},
|
||||
{ 194, -1, -1, sizeof(::greptime::v1::RenameTable)},
|
||||
{ 201, -1, -1, sizeof(::greptime::v1::AddColumn)},
|
||||
{ 209, -1, -1, sizeof(::greptime::v1::ModifyColumnType)},
|
||||
{ 218, -1, -1, sizeof(::greptime::v1::ChangeTableOptions)},
|
||||
{ 225, -1, -1, sizeof(::greptime::v1::ChangeTableOption)},
|
||||
{ 233, -1, -1, sizeof(::greptime::v1::DropColumn)},
|
||||
{ 240, -1, -1, sizeof(::greptime::v1::TableId)},
|
||||
{ 247, -1, -1, sizeof(::greptime::v1::FlowId)},
|
||||
{ 254, -1, -1, sizeof(::greptime::v1::ColumnDef)},
|
||||
{ 268, -1, -1, sizeof(::greptime::v1::AddColumnLocation)},
|
||||
{ 276, -1, -1, sizeof(::greptime::v1::SetColumnFulltext)},
|
||||
{ 286, -1, -1, sizeof(::greptime::v1::UnsetColumnFulltext)},
|
||||
};
|
||||
|
||||
static const ::_pb::Message* const file_default_instances[] = {
|
||||
@@ -799,7 +821,8 @@ static const ::_pb::Message* const file_default_instances[] = {
|
||||
&::greptime::v1::_FlowId_default_instance_._instance,
|
||||
&::greptime::v1::_ColumnDef_default_instance_._instance,
|
||||
&::greptime::v1::_AddColumnLocation_default_instance_._instance,
|
||||
&::greptime::v1::_ChangeColumnFulltext_default_instance_._instance,
|
||||
&::greptime::v1::_SetColumnFulltext_default_instance_._instance,
|
||||
&::greptime::v1::_UnsetColumnFulltext_default_instance_._instance,
|
||||
};
|
||||
|
||||
const char descriptor_table_protodef_greptime_2fv1_2fddl_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
|
||||
@@ -849,7 +872,7 @@ const char descriptor_table_protodef_greptime_2fv1_2fddl_2eproto[] PROTOBUF_SECT
|
||||
"ime.v1.CreateTableExpr.TableOptionsEntry"
|
||||
"\022&\n\010table_id\030\n \001(\0132\024.greptime.v1.TableId"
|
||||
"\022\016\n\006engine\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\"\253\003\n\tAlterE"
|
||||
"\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\350\003\n\tAlterE"
|
||||
"xpr\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_column"
|
||||
"s\030\004 \001(\0132\027.greptime.v1.AddColumnsH\000\0220\n\014dr"
|
||||
@@ -858,68 +881,70 @@ const char descriptor_table_protodef_greptime_2fv1_2fddl_2eproto[] PROTOBUF_SECT
|
||||
".RenameTableH\000\022=\n\023modify_column_types\030\007 "
|
||||
"\001(\0132\036.greptime.v1.ModifyColumnTypesH\000\022\?\n"
|
||||
"\024change_table_options\030\010 \001(\0132\037.greptime.v"
|
||||
"1.ChangeTableOptionsH\000\022C\n\026change_column_"
|
||||
"fulltext\030\t \001(\0132!.greptime.v1.ChangeColum"
|
||||
"nFulltextH\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\022CreateDatabaseExpr\022\024\n\014catalog_n"
|
||||
"ame\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.CreateDatabaseExpr.OptionsEn"
|
||||
"try\032.\n\014OptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005valu"
|
||||
"e\030\002 \001(\t:\0028\001\"z\n\021TruncateTableExpr\022\024\n\014cata"
|
||||
"log_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\022\n\nt"
|
||||
"able_name\030\003 \001(\t\022&\n\010table_id\030\004 \001(\0132\024.grep"
|
||||
"time.v1.TableId\"U\n\020DropDatabaseExpr\022\024\n\014c"
|
||||
"atalog_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\013"
|
||||
"add_columns\030\001 \003(\0132\026.greptime.v1.AddColum"
|
||||
"n\"<\n\013DropColumns\022-\n\014drop_columns\030\001 \003(\0132\027"
|
||||
".greptime.v1.DropColumn\"O\n\021ModifyColumnT"
|
||||
"ypes\022:\n\023modify_column_types\030\001 \003(\0132\035.grep"
|
||||
"time.v1.ModifyColumnType\"%\n\013RenameTable\022"
|
||||
"\026\n\016new_table_name\030\001 \001(\t\"i\n\tAddColumn\022*\n\n"
|
||||
"column_def\030\001 \001(\0132\026.greptime.v1.ColumnDef"
|
||||
"\0220\n\010location\030\003 \001(\0132\036.greptime.v1.AddColu"
|
||||
"mnLocation\"\236\001\n\020ModifyColumnType\022\023\n\013colum"
|
||||
"n_name\030\001 \001(\t\0220\n\013target_type\030\002 \001(\0162\033.grep"
|
||||
"time.v1.ColumnDataType\022C\n\025target_type_ex"
|
||||
"tension\030\003 \001(\0132$.greptime.v1.ColumnDataTy"
|
||||
"peExtension\"R\n\022ChangeTableOptions\022<\n\024cha"
|
||||
"nge_table_options\030\001 \003(\0132\036.greptime.v1.Ch"
|
||||
"angeTableOption\"/\n\021ChangeTableOption\022\013\n\003"
|
||||
"key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"\032\n\nDropColumn\022\014"
|
||||
"\n\004name\030\001 \001(\t\"\025\n\007TableId\022\n\n\002id\030\001 \001(\r\"\024\n\006F"
|
||||
"lowId\022\n\n\002id\030\001 \001(\r\"\254\002\n\tColumnDef\022\014\n\004name\030"
|
||||
"\001 \001(\t\022.\n\tdata_type\030\002 \001(\0162\033.greptime.v1.C"
|
||||
"olumnDataType\022\023\n\013is_nullable\030\003 \001(\010\022\032\n\022de"
|
||||
"fault_constraint\030\004 \001(\014\0220\n\rsemantic_type\030"
|
||||
"\005 \001(\0162\031.greptime.v1.SemanticType\022\017\n\007comm"
|
||||
"ent\030\006 \001(\t\022@\n\022datatype_extension\030\007 \001(\0132$."
|
||||
"greptime.v1.ColumnDataTypeExtension\022+\n\007o"
|
||||
"ptions\030\010 \001(\0132\032.greptime.v1.ColumnOptions"
|
||||
"\"\230\001\n\021AddColumnLocation\022B\n\rlocation_type\030"
|
||||
"\001 \001(\0162+.greptime.v1.AddColumnLocation.Lo"
|
||||
"cationType\022\031\n\021after_column_name\030\002 \001(\t\"$\n"
|
||||
"\014LocationType\022\t\n\005FIRST\020\000\022\t\n\005AFTER\020\001\"|\n\024C"
|
||||
"hangeColumnFulltext\022\023\n\013column_name\030\001 \001(\t"
|
||||
"\022\016\n\006enable\030\002 \001(\010\022\'\n\010analyzer\030\003 \001(\0162\025.gre"
|
||||
"ptime.v1.Analyzer\022\026\n\016case_sensitive\030\004 \001("
|
||||
"\010*$\n\010Analyzer\022\013\n\007ENGLISH\020\000\022\013\n\007CHINESE\020\001B"
|
||||
"L\n\016io.greptime.v1B\003DdlZ5github.com/Grept"
|
||||
"imeTeam/greptime-proto/go/greptime/v1b\006p"
|
||||
"roto3"
|
||||
"1.ChangeTableOptionsH\000\022=\n\023set_column_ful"
|
||||
"ltext\030\t \001(\0132\036.greptime.v1.SetColumnFullt"
|
||||
"extH\000\022A\n\025unset_column_fulltext\030\n \001(\0132 .g"
|
||||
"reptime.v1.UnsetColumnFulltextH\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.TableI"
|
||||
"d\022\026\n\016drop_if_exists\030\005 \001(\010\"\314\001\n\022CreateData"
|
||||
"baseExpr\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.CreateD"
|
||||
"atabaseExpr.OptionsEntry\032.\n\014OptionsEntry"
|
||||
"\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"z\n\021Trun"
|
||||
"cateTableExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013s"
|
||||
"chema_name\030\002 \001(\t\022\022\n\ntable_name\030\003 \001(\t\022&\n\010"
|
||||
"table_id\030\004 \001(\0132\024.greptime.v1.TableId\"U\n\020"
|
||||
"DropDatabaseExpr\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"
|
||||
"\014drop_columns\030\001 \003(\0132\027.greptime.v1.DropCo"
|
||||
"lumn\"O\n\021ModifyColumnTypes\022:\n\023modify_colu"
|
||||
"mn_types\030\001 \003(\0132\035.greptime.v1.ModifyColum"
|
||||
"nType\"%\n\013RenameTable\022\026\n\016new_table_name\030\001"
|
||||
" \001(\t\"i\n\tAddColumn\022*\n\ncolumn_def\030\001 \001(\0132\026."
|
||||
"greptime.v1.ColumnDef\0220\n\010location\030\003 \001(\0132"
|
||||
"\036.greptime.v1.AddColumnLocation\"\236\001\n\020Modi"
|
||||
"fyColumnType\022\023\n\013column_name\030\001 \001(\t\0220\n\013tar"
|
||||
"get_type\030\002 \001(\0162\033.greptime.v1.ColumnDataT"
|
||||
"ype\022C\n\025target_type_extension\030\003 \001(\0132$.gre"
|
||||
"ptime.v1.ColumnDataTypeExtension\"R\n\022Chan"
|
||||
"geTableOptions\022<\n\024change_table_options\030\001"
|
||||
" \003(\0132\036.greptime.v1.ChangeTableOption\"/\n\021"
|
||||
"ChangeTableOption\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030"
|
||||
"\002 \001(\t\"\032\n\nDropColumn\022\014\n\004name\030\001 \001(\t\"\025\n\007Tab"
|
||||
"leId\022\n\n\002id\030\001 \001(\r\"\024\n\006FlowId\022\n\n\002id\030\001 \001(\r\"\254"
|
||||
"\002\n\tColumnDef\022\014\n\004name\030\001 \001(\t\022.\n\tdata_type\030"
|
||||
"\002 \001(\0162\033.greptime.v1.ColumnDataType\022\023\n\013is"
|
||||
"_nullable\030\003 \001(\010\022\032\n\022default_constraint\030\004 "
|
||||
"\001(\014\0220\n\rsemantic_type\030\005 \001(\0162\031.greptime.v1"
|
||||
".SemanticType\022\017\n\007comment\030\006 \001(\t\022@\n\022dataty"
|
||||
"pe_extension\030\007 \001(\0132$.greptime.v1.ColumnD"
|
||||
"ataTypeExtension\022+\n\007options\030\010 \001(\0132\032.grep"
|
||||
"time.v1.ColumnOptions\"\230\001\n\021AddColumnLocat"
|
||||
"ion\022B\n\rlocation_type\030\001 \001(\0162+.greptime.v1"
|
||||
".AddColumnLocation.LocationType\022\031\n\021after"
|
||||
"_column_name\030\002 \001(\t\"$\n\014LocationType\022\t\n\005FI"
|
||||
"RST\020\000\022\t\n\005AFTER\020\001\"y\n\021SetColumnFulltext\022\023\n"
|
||||
"\013column_name\030\001 \001(\t\022\016\n\006enable\030\002 \001(\010\022\'\n\010an"
|
||||
"alyzer\030\003 \001(\0162\025.greptime.v1.Analyzer\022\026\n\016c"
|
||||
"ase_sensitive\030\004 \001(\010\"*\n\023UnsetColumnFullte"
|
||||
"xt\022\023\n\013column_name\030\001 \001(\t*$\n\010Analyzer\022\013\n\007E"
|
||||
"NGLISH\020\000\022\013\n\007CHINESE\020\001BL\n\016io.greptime.v1B"
|
||||
"\003DdlZ5github.com/GreptimeTeam/greptime-p"
|
||||
"roto/go/greptime/v1b\006proto3"
|
||||
;
|
||||
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, 4285, descriptor_table_protodef_greptime_2fv1_2fddl_2eproto,
|
||||
false, false, 4387, 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, 28,
|
||||
&descriptor_table_greptime_2fv1_2fddl_2eproto_once, descriptor_table_greptime_2fv1_2fddl_2eproto_deps, 1, 29,
|
||||
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,
|
||||
@@ -4270,7 +4295,8 @@ class AlterExpr::_Internal {
|
||||
static const ::greptime::v1::RenameTable& rename_table(const AlterExpr* msg);
|
||||
static const ::greptime::v1::ModifyColumnTypes& modify_column_types(const AlterExpr* msg);
|
||||
static const ::greptime::v1::ChangeTableOptions& change_table_options(const AlterExpr* msg);
|
||||
static const ::greptime::v1::ChangeColumnFulltext& change_column_fulltext(const AlterExpr* msg);
|
||||
static const ::greptime::v1::SetColumnFulltext& set_column_fulltext(const AlterExpr* msg);
|
||||
static const ::greptime::v1::UnsetColumnFulltext& unset_column_fulltext(const AlterExpr* msg);
|
||||
};
|
||||
|
||||
const ::greptime::v1::AddColumns&
|
||||
@@ -4293,9 +4319,13 @@ const ::greptime::v1::ChangeTableOptions&
|
||||
AlterExpr::_Internal::change_table_options(const AlterExpr* msg) {
|
||||
return *msg->_impl_.kind_.change_table_options_;
|
||||
}
|
||||
const ::greptime::v1::ChangeColumnFulltext&
|
||||
AlterExpr::_Internal::change_column_fulltext(const AlterExpr* msg) {
|
||||
return *msg->_impl_.kind_.change_column_fulltext_;
|
||||
const ::greptime::v1::SetColumnFulltext&
|
||||
AlterExpr::_Internal::set_column_fulltext(const AlterExpr* msg) {
|
||||
return *msg->_impl_.kind_.set_column_fulltext_;
|
||||
}
|
||||
const ::greptime::v1::UnsetColumnFulltext&
|
||||
AlterExpr::_Internal::unset_column_fulltext(const AlterExpr* msg) {
|
||||
return *msg->_impl_.kind_.unset_column_fulltext_;
|
||||
}
|
||||
void AlterExpr::set_allocated_add_columns(::greptime::v1::AddColumns* add_columns) {
|
||||
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||
@@ -4372,20 +4402,35 @@ void AlterExpr::set_allocated_change_table_options(::greptime::v1::ChangeTableOp
|
||||
}
|
||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.AlterExpr.change_table_options)
|
||||
}
|
||||
void AlterExpr::set_allocated_change_column_fulltext(::greptime::v1::ChangeColumnFulltext* change_column_fulltext) {
|
||||
void AlterExpr::set_allocated_set_column_fulltext(::greptime::v1::SetColumnFulltext* set_column_fulltext) {
|
||||
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||
clear_kind();
|
||||
if (change_column_fulltext) {
|
||||
if (set_column_fulltext) {
|
||||
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
||||
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(change_column_fulltext);
|
||||
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(set_column_fulltext);
|
||||
if (message_arena != submessage_arena) {
|
||||
change_column_fulltext = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
||||
message_arena, change_column_fulltext, submessage_arena);
|
||||
set_column_fulltext = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
||||
message_arena, set_column_fulltext, submessage_arena);
|
||||
}
|
||||
set_has_change_column_fulltext();
|
||||
_impl_.kind_.change_column_fulltext_ = change_column_fulltext;
|
||||
set_has_set_column_fulltext();
|
||||
_impl_.kind_.set_column_fulltext_ = set_column_fulltext;
|
||||
}
|
||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.AlterExpr.change_column_fulltext)
|
||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.AlterExpr.set_column_fulltext)
|
||||
}
|
||||
void AlterExpr::set_allocated_unset_column_fulltext(::greptime::v1::UnsetColumnFulltext* unset_column_fulltext) {
|
||||
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||
clear_kind();
|
||||
if (unset_column_fulltext) {
|
||||
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
||||
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(unset_column_fulltext);
|
||||
if (message_arena != submessage_arena) {
|
||||
unset_column_fulltext = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
||||
message_arena, unset_column_fulltext, submessage_arena);
|
||||
}
|
||||
set_has_unset_column_fulltext();
|
||||
_impl_.kind_.unset_column_fulltext_ = unset_column_fulltext;
|
||||
}
|
||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.AlterExpr.unset_column_fulltext)
|
||||
}
|
||||
AlterExpr::AlterExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||
bool is_message_owned)
|
||||
@@ -4456,9 +4501,14 @@ AlterExpr::AlterExpr(const AlterExpr& from)
|
||||
from._internal_change_table_options());
|
||||
break;
|
||||
}
|
||||
case kChangeColumnFulltext: {
|
||||
_this->_internal_mutable_change_column_fulltext()->::greptime::v1::ChangeColumnFulltext::MergeFrom(
|
||||
from._internal_change_column_fulltext());
|
||||
case kSetColumnFulltext: {
|
||||
_this->_internal_mutable_set_column_fulltext()->::greptime::v1::SetColumnFulltext::MergeFrom(
|
||||
from._internal_set_column_fulltext());
|
||||
break;
|
||||
}
|
||||
case kUnsetColumnFulltext: {
|
||||
_this->_internal_mutable_unset_column_fulltext()->::greptime::v1::UnsetColumnFulltext::MergeFrom(
|
||||
from._internal_unset_column_fulltext());
|
||||
break;
|
||||
}
|
||||
case KIND_NOT_SET: {
|
||||
@@ -4551,9 +4601,15 @@ void AlterExpr::clear_kind() {
|
||||
}
|
||||
break;
|
||||
}
|
||||
case kChangeColumnFulltext: {
|
||||
case kSetColumnFulltext: {
|
||||
if (GetArenaForAllocation() == nullptr) {
|
||||
delete _impl_.kind_.change_column_fulltext_;
|
||||
delete _impl_.kind_.set_column_fulltext_;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case kUnsetColumnFulltext: {
|
||||
if (GetArenaForAllocation() == nullptr) {
|
||||
delete _impl_.kind_.unset_column_fulltext_;
|
||||
}
|
||||
break;
|
||||
}
|
||||
@@ -4654,10 +4710,18 @@ const char* AlterExpr::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
// .greptime.v1.ChangeColumnFulltext change_column_fulltext = 9;
|
||||
// .greptime.v1.SetColumnFulltext set_column_fulltext = 9;
|
||||
case 9:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 74)) {
|
||||
ptr = ctx->ParseMessage(_internal_mutable_change_column_fulltext(), ptr);
|
||||
ptr = ctx->ParseMessage(_internal_mutable_set_column_fulltext(), ptr);
|
||||
CHK_(ptr);
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
// .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 10;
|
||||
case 10:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 82)) {
|
||||
ptr = ctx->ParseMessage(_internal_mutable_unset_column_fulltext(), ptr);
|
||||
CHK_(ptr);
|
||||
} else
|
||||
goto handle_unusual;
|
||||
@@ -4756,11 +4820,18 @@ uint8_t* AlterExpr::_InternalSerialize(
|
||||
_Internal::change_table_options(this).GetCachedSize(), target, stream);
|
||||
}
|
||||
|
||||
// .greptime.v1.ChangeColumnFulltext change_column_fulltext = 9;
|
||||
if (_internal_has_change_column_fulltext()) {
|
||||
// .greptime.v1.SetColumnFulltext set_column_fulltext = 9;
|
||||
if (_internal_has_set_column_fulltext()) {
|
||||
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||
InternalWriteMessage(9, _Internal::change_column_fulltext(this),
|
||||
_Internal::change_column_fulltext(this).GetCachedSize(), target, stream);
|
||||
InternalWriteMessage(9, _Internal::set_column_fulltext(this),
|
||||
_Internal::set_column_fulltext(this).GetCachedSize(), target, stream);
|
||||
}
|
||||
|
||||
// .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 10;
|
||||
if (_internal_has_unset_column_fulltext()) {
|
||||
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||
InternalWriteMessage(10, _Internal::unset_column_fulltext(this),
|
||||
_Internal::unset_column_fulltext(this).GetCachedSize(), target, stream);
|
||||
}
|
||||
|
||||
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
||||
@@ -4836,11 +4907,18 @@ size_t AlterExpr::ByteSizeLong() const {
|
||||
*_impl_.kind_.change_table_options_);
|
||||
break;
|
||||
}
|
||||
// .greptime.v1.ChangeColumnFulltext change_column_fulltext = 9;
|
||||
case kChangeColumnFulltext: {
|
||||
// .greptime.v1.SetColumnFulltext set_column_fulltext = 9;
|
||||
case kSetColumnFulltext: {
|
||||
total_size += 1 +
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
|
||||
*_impl_.kind_.change_column_fulltext_);
|
||||
*_impl_.kind_.set_column_fulltext_);
|
||||
break;
|
||||
}
|
||||
// .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 10;
|
||||
case kUnsetColumnFulltext: {
|
||||
total_size += 1 +
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
|
||||
*_impl_.kind_.unset_column_fulltext_);
|
||||
break;
|
||||
}
|
||||
case KIND_NOT_SET: {
|
||||
@@ -4900,9 +4978,14 @@ void AlterExpr::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROT
|
||||
from._internal_change_table_options());
|
||||
break;
|
||||
}
|
||||
case kChangeColumnFulltext: {
|
||||
_this->_internal_mutable_change_column_fulltext()->::greptime::v1::ChangeColumnFulltext::MergeFrom(
|
||||
from._internal_change_column_fulltext());
|
||||
case kSetColumnFulltext: {
|
||||
_this->_internal_mutable_set_column_fulltext()->::greptime::v1::SetColumnFulltext::MergeFrom(
|
||||
from._internal_set_column_fulltext());
|
||||
break;
|
||||
}
|
||||
case kUnsetColumnFulltext: {
|
||||
_this->_internal_mutable_unset_column_fulltext()->::greptime::v1::UnsetColumnFulltext::MergeFrom(
|
||||
from._internal_unset_column_fulltext());
|
||||
break;
|
||||
}
|
||||
case KIND_NOT_SET: {
|
||||
@@ -9309,19 +9392,19 @@ void AddColumnLocation::InternalSwap(AddColumnLocation* other) {
|
||||
|
||||
// ===================================================================
|
||||
|
||||
class ChangeColumnFulltext::_Internal {
|
||||
class SetColumnFulltext::_Internal {
|
||||
public:
|
||||
};
|
||||
|
||||
ChangeColumnFulltext::ChangeColumnFulltext(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||
SetColumnFulltext::SetColumnFulltext(::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.ChangeColumnFulltext)
|
||||
// @@protoc_insertion_point(arena_constructor:greptime.v1.SetColumnFulltext)
|
||||
}
|
||||
ChangeColumnFulltext::ChangeColumnFulltext(const ChangeColumnFulltext& from)
|
||||
SetColumnFulltext::SetColumnFulltext(const SetColumnFulltext& from)
|
||||
: ::PROTOBUF_NAMESPACE_ID::Message() {
|
||||
ChangeColumnFulltext* const _this = this; (void)_this;
|
||||
SetColumnFulltext* const _this = this; (void)_this;
|
||||
new (&_impl_) Impl_{
|
||||
decltype(_impl_.column_name_){}
|
||||
, decltype(_impl_.analyzer_){}
|
||||
@@ -9341,10 +9424,10 @@ ChangeColumnFulltext::ChangeColumnFulltext(const ChangeColumnFulltext& from)
|
||||
::memcpy(&_impl_.analyzer_, &from._impl_.analyzer_,
|
||||
static_cast<size_t>(reinterpret_cast<char*>(&_impl_.case_sensitive_) -
|
||||
reinterpret_cast<char*>(&_impl_.analyzer_)) + sizeof(_impl_.case_sensitive_));
|
||||
// @@protoc_insertion_point(copy_constructor:greptime.v1.ChangeColumnFulltext)
|
||||
// @@protoc_insertion_point(copy_constructor:greptime.v1.SetColumnFulltext)
|
||||
}
|
||||
|
||||
inline void ChangeColumnFulltext::SharedCtor(
|
||||
inline void SetColumnFulltext::SharedCtor(
|
||||
::_pb::Arena* arena, bool is_message_owned) {
|
||||
(void)arena;
|
||||
(void)is_message_owned;
|
||||
@@ -9361,8 +9444,8 @@ inline void ChangeColumnFulltext::SharedCtor(
|
||||
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
}
|
||||
|
||||
ChangeColumnFulltext::~ChangeColumnFulltext() {
|
||||
// @@protoc_insertion_point(destructor:greptime.v1.ChangeColumnFulltext)
|
||||
SetColumnFulltext::~SetColumnFulltext() {
|
||||
// @@protoc_insertion_point(destructor:greptime.v1.SetColumnFulltext)
|
||||
if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
|
||||
(void)arena;
|
||||
return;
|
||||
@@ -9370,17 +9453,17 @@ ChangeColumnFulltext::~ChangeColumnFulltext() {
|
||||
SharedDtor();
|
||||
}
|
||||
|
||||
inline void ChangeColumnFulltext::SharedDtor() {
|
||||
inline void SetColumnFulltext::SharedDtor() {
|
||||
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
|
||||
_impl_.column_name_.Destroy();
|
||||
}
|
||||
|
||||
void ChangeColumnFulltext::SetCachedSize(int size) const {
|
||||
void SetColumnFulltext::SetCachedSize(int size) const {
|
||||
_impl_._cached_size_.Set(size);
|
||||
}
|
||||
|
||||
void ChangeColumnFulltext::Clear() {
|
||||
// @@protoc_insertion_point(message_clear_start:greptime.v1.ChangeColumnFulltext)
|
||||
void SetColumnFulltext::Clear() {
|
||||
// @@protoc_insertion_point(message_clear_start:greptime.v1.SetColumnFulltext)
|
||||
uint32_t cached_has_bits = 0;
|
||||
// Prevent compiler warnings about cached_has_bits being unused
|
||||
(void) cached_has_bits;
|
||||
@@ -9392,7 +9475,7 @@ void ChangeColumnFulltext::Clear() {
|
||||
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
||||
}
|
||||
|
||||
const char* ChangeColumnFulltext::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
|
||||
const char* SetColumnFulltext::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
|
||||
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
|
||||
while (!ctx->Done(&ptr)) {
|
||||
uint32_t tag;
|
||||
@@ -9404,7 +9487,7 @@ const char* ChangeColumnFulltext::_InternalParse(const char* ptr, ::_pbi::ParseC
|
||||
auto str = _internal_mutable_column_name();
|
||||
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
|
||||
CHK_(ptr);
|
||||
CHK_(::_pbi::VerifyUTF8(str, "greptime.v1.ChangeColumnFulltext.column_name"));
|
||||
CHK_(::_pbi::VerifyUTF8(str, "greptime.v1.SetColumnFulltext.column_name"));
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
@@ -9456,9 +9539,9 @@ failure:
|
||||
#undef CHK_
|
||||
}
|
||||
|
||||
uint8_t* ChangeColumnFulltext::_InternalSerialize(
|
||||
uint8_t* SetColumnFulltext::_InternalSerialize(
|
||||
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
|
||||
// @@protoc_insertion_point(serialize_to_array_start:greptime.v1.ChangeColumnFulltext)
|
||||
// @@protoc_insertion_point(serialize_to_array_start:greptime.v1.SetColumnFulltext)
|
||||
uint32_t cached_has_bits = 0;
|
||||
(void) cached_has_bits;
|
||||
|
||||
@@ -9467,7 +9550,7 @@ uint8_t* ChangeColumnFulltext::_InternalSerialize(
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
|
||||
this->_internal_column_name().data(), static_cast<int>(this->_internal_column_name().length()),
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
|
||||
"greptime.v1.ChangeColumnFulltext.column_name");
|
||||
"greptime.v1.SetColumnFulltext.column_name");
|
||||
target = stream->WriteStringMaybeAliased(
|
||||
1, this->_internal_column_name(), target);
|
||||
}
|
||||
@@ -9495,12 +9578,12 @@ uint8_t* ChangeColumnFulltext::_InternalSerialize(
|
||||
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.ChangeColumnFulltext)
|
||||
// @@protoc_insertion_point(serialize_to_array_end:greptime.v1.SetColumnFulltext)
|
||||
return target;
|
||||
}
|
||||
|
||||
size_t ChangeColumnFulltext::ByteSizeLong() const {
|
||||
// @@protoc_insertion_point(message_byte_size_start:greptime.v1.ChangeColumnFulltext)
|
||||
size_t SetColumnFulltext::ByteSizeLong() const {
|
||||
// @@protoc_insertion_point(message_byte_size_start:greptime.v1.SetColumnFulltext)
|
||||
size_t total_size = 0;
|
||||
|
||||
uint32_t cached_has_bits = 0;
|
||||
@@ -9533,17 +9616,17 @@ size_t ChangeColumnFulltext::ByteSizeLong() const {
|
||||
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
||||
}
|
||||
|
||||
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ChangeColumnFulltext::_class_data_ = {
|
||||
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData SetColumnFulltext::_class_data_ = {
|
||||
::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
|
||||
ChangeColumnFulltext::MergeImpl
|
||||
SetColumnFulltext::MergeImpl
|
||||
};
|
||||
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ChangeColumnFulltext::GetClassData() const { return &_class_data_; }
|
||||
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*SetColumnFulltext::GetClassData() const { return &_class_data_; }
|
||||
|
||||
|
||||
void ChangeColumnFulltext::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
|
||||
auto* const _this = static_cast<ChangeColumnFulltext*>(&to_msg);
|
||||
auto& from = static_cast<const ChangeColumnFulltext&>(from_msg);
|
||||
// @@protoc_insertion_point(class_specific_merge_from_start:greptime.v1.ChangeColumnFulltext)
|
||||
void SetColumnFulltext::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
|
||||
auto* const _this = static_cast<SetColumnFulltext*>(&to_msg);
|
||||
auto& from = static_cast<const SetColumnFulltext&>(from_msg);
|
||||
// @@protoc_insertion_point(class_specific_merge_from_start:greptime.v1.SetColumnFulltext)
|
||||
GOOGLE_DCHECK_NE(&from, _this);
|
||||
uint32_t cached_has_bits = 0;
|
||||
(void) cached_has_bits;
|
||||
@@ -9563,18 +9646,18 @@ void ChangeColumnFulltext::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, c
|
||||
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||
}
|
||||
|
||||
void ChangeColumnFulltext::CopyFrom(const ChangeColumnFulltext& from) {
|
||||
// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.ChangeColumnFulltext)
|
||||
void SetColumnFulltext::CopyFrom(const SetColumnFulltext& from) {
|
||||
// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.SetColumnFulltext)
|
||||
if (&from == this) return;
|
||||
Clear();
|
||||
MergeFrom(from);
|
||||
}
|
||||
|
||||
bool ChangeColumnFulltext::IsInitialized() const {
|
||||
bool SetColumnFulltext::IsInitialized() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
void ChangeColumnFulltext::InternalSwap(ChangeColumnFulltext* other) {
|
||||
void SetColumnFulltext::InternalSwap(SetColumnFulltext* other) {
|
||||
using std::swap;
|
||||
auto* lhs_arena = GetArenaForAllocation();
|
||||
auto* rhs_arena = other->GetArenaForAllocation();
|
||||
@@ -9584,19 +9667,222 @@ void ChangeColumnFulltext::InternalSwap(ChangeColumnFulltext* other) {
|
||||
&other->_impl_.column_name_, rhs_arena
|
||||
);
|
||||
::PROTOBUF_NAMESPACE_ID::internal::memswap<
|
||||
PROTOBUF_FIELD_OFFSET(ChangeColumnFulltext, _impl_.case_sensitive_)
|
||||
+ sizeof(ChangeColumnFulltext::_impl_.case_sensitive_)
|
||||
- PROTOBUF_FIELD_OFFSET(ChangeColumnFulltext, _impl_.analyzer_)>(
|
||||
PROTOBUF_FIELD_OFFSET(SetColumnFulltext, _impl_.case_sensitive_)
|
||||
+ sizeof(SetColumnFulltext::_impl_.case_sensitive_)
|
||||
- PROTOBUF_FIELD_OFFSET(SetColumnFulltext, _impl_.analyzer_)>(
|
||||
reinterpret_cast<char*>(&_impl_.analyzer_),
|
||||
reinterpret_cast<char*>(&other->_impl_.analyzer_));
|
||||
}
|
||||
|
||||
::PROTOBUF_NAMESPACE_ID::Metadata ChangeColumnFulltext::GetMetadata() const {
|
||||
::PROTOBUF_NAMESPACE_ID::Metadata SetColumnFulltext::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[27]);
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
|
||||
class UnsetColumnFulltext::_Internal {
|
||||
public:
|
||||
};
|
||||
|
||||
UnsetColumnFulltext::UnsetColumnFulltext(::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.UnsetColumnFulltext)
|
||||
}
|
||||
UnsetColumnFulltext::UnsetColumnFulltext(const UnsetColumnFulltext& from)
|
||||
: ::PROTOBUF_NAMESPACE_ID::Message() {
|
||||
UnsetColumnFulltext* const _this = this; (void)_this;
|
||||
new (&_impl_) Impl_{
|
||||
decltype(_impl_.column_name_){}
|
||||
, /*decltype(_impl_._cached_size_)*/{}};
|
||||
|
||||
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||
_impl_.column_name_.InitDefault();
|
||||
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
_impl_.column_name_.Set("", GetArenaForAllocation());
|
||||
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
if (!from._internal_column_name().empty()) {
|
||||
_this->_impl_.column_name_.Set(from._internal_column_name(),
|
||||
_this->GetArenaForAllocation());
|
||||
}
|
||||
// @@protoc_insertion_point(copy_constructor:greptime.v1.UnsetColumnFulltext)
|
||||
}
|
||||
|
||||
inline void UnsetColumnFulltext::SharedCtor(
|
||||
::_pb::Arena* arena, bool is_message_owned) {
|
||||
(void)arena;
|
||||
(void)is_message_owned;
|
||||
new (&_impl_) Impl_{
|
||||
decltype(_impl_.column_name_){}
|
||||
, /*decltype(_impl_._cached_size_)*/{}
|
||||
};
|
||||
_impl_.column_name_.InitDefault();
|
||||
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
_impl_.column_name_.Set("", GetArenaForAllocation());
|
||||
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
}
|
||||
|
||||
UnsetColumnFulltext::~UnsetColumnFulltext() {
|
||||
// @@protoc_insertion_point(destructor:greptime.v1.UnsetColumnFulltext)
|
||||
if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
|
||||
(void)arena;
|
||||
return;
|
||||
}
|
||||
SharedDtor();
|
||||
}
|
||||
|
||||
inline void UnsetColumnFulltext::SharedDtor() {
|
||||
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
|
||||
_impl_.column_name_.Destroy();
|
||||
}
|
||||
|
||||
void UnsetColumnFulltext::SetCachedSize(int size) const {
|
||||
_impl_._cached_size_.Set(size);
|
||||
}
|
||||
|
||||
void UnsetColumnFulltext::Clear() {
|
||||
// @@protoc_insertion_point(message_clear_start:greptime.v1.UnsetColumnFulltext)
|
||||
uint32_t cached_has_bits = 0;
|
||||
// Prevent compiler warnings about cached_has_bits being unused
|
||||
(void) cached_has_bits;
|
||||
|
||||
_impl_.column_name_.ClearToEmpty();
|
||||
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
||||
}
|
||||
|
||||
const char* UnsetColumnFulltext::_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) {
|
||||
// string column_name = 1;
|
||||
case 1:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
|
||||
auto str = _internal_mutable_column_name();
|
||||
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
|
||||
CHK_(ptr);
|
||||
CHK_(::_pbi::VerifyUTF8(str, "greptime.v1.UnsetColumnFulltext.column_name"));
|
||||
} 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* UnsetColumnFulltext::_InternalSerialize(
|
||||
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
|
||||
// @@protoc_insertion_point(serialize_to_array_start:greptime.v1.UnsetColumnFulltext)
|
||||
uint32_t cached_has_bits = 0;
|
||||
(void) cached_has_bits;
|
||||
|
||||
// string column_name = 1;
|
||||
if (!this->_internal_column_name().empty()) {
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
|
||||
this->_internal_column_name().data(), static_cast<int>(this->_internal_column_name().length()),
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
|
||||
"greptime.v1.UnsetColumnFulltext.column_name");
|
||||
target = stream->WriteStringMaybeAliased(
|
||||
1, this->_internal_column_name(), 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.UnsetColumnFulltext)
|
||||
return target;
|
||||
}
|
||||
|
||||
size_t UnsetColumnFulltext::ByteSizeLong() const {
|
||||
// @@protoc_insertion_point(message_byte_size_start:greptime.v1.UnsetColumnFulltext)
|
||||
size_t total_size = 0;
|
||||
|
||||
uint32_t cached_has_bits = 0;
|
||||
// Prevent compiler warnings about cached_has_bits being unused
|
||||
(void) cached_has_bits;
|
||||
|
||||
// string column_name = 1;
|
||||
if (!this->_internal_column_name().empty()) {
|
||||
total_size += 1 +
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
|
||||
this->_internal_column_name());
|
||||
}
|
||||
|
||||
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
||||
}
|
||||
|
||||
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UnsetColumnFulltext::_class_data_ = {
|
||||
::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
|
||||
UnsetColumnFulltext::MergeImpl
|
||||
};
|
||||
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UnsetColumnFulltext::GetClassData() const { return &_class_data_; }
|
||||
|
||||
|
||||
void UnsetColumnFulltext::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
|
||||
auto* const _this = static_cast<UnsetColumnFulltext*>(&to_msg);
|
||||
auto& from = static_cast<const UnsetColumnFulltext&>(from_msg);
|
||||
// @@protoc_insertion_point(class_specific_merge_from_start:greptime.v1.UnsetColumnFulltext)
|
||||
GOOGLE_DCHECK_NE(&from, _this);
|
||||
uint32_t cached_has_bits = 0;
|
||||
(void) cached_has_bits;
|
||||
|
||||
if (!from._internal_column_name().empty()) {
|
||||
_this->_internal_set_column_name(from._internal_column_name());
|
||||
}
|
||||
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||
}
|
||||
|
||||
void UnsetColumnFulltext::CopyFrom(const UnsetColumnFulltext& from) {
|
||||
// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.UnsetColumnFulltext)
|
||||
if (&from == this) return;
|
||||
Clear();
|
||||
MergeFrom(from);
|
||||
}
|
||||
|
||||
bool UnsetColumnFulltext::IsInitialized() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
void UnsetColumnFulltext::InternalSwap(UnsetColumnFulltext* other) {
|
||||
using std::swap;
|
||||
auto* lhs_arena = GetArenaForAllocation();
|
||||
auto* rhs_arena = other->GetArenaForAllocation();
|
||||
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
||||
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
|
||||
&_impl_.column_name_, lhs_arena,
|
||||
&other->_impl_.column_name_, rhs_arena
|
||||
);
|
||||
}
|
||||
|
||||
::PROTOBUF_NAMESPACE_ID::Metadata UnsetColumnFulltext::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[28]);
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(namespace_scope)
|
||||
} // namespace v1
|
||||
} // namespace greptime
|
||||
@@ -9709,9 +9995,13 @@ template<> PROTOBUF_NOINLINE ::greptime::v1::AddColumnLocation*
|
||||
Arena::CreateMaybeMessage< ::greptime::v1::AddColumnLocation >(Arena* arena) {
|
||||
return Arena::CreateMessageInternal< ::greptime::v1::AddColumnLocation >(arena);
|
||||
}
|
||||
template<> PROTOBUF_NOINLINE ::greptime::v1::ChangeColumnFulltext*
|
||||
Arena::CreateMaybeMessage< ::greptime::v1::ChangeColumnFulltext >(Arena* arena) {
|
||||
return Arena::CreateMessageInternal< ::greptime::v1::ChangeColumnFulltext >(arena);
|
||||
template<> PROTOBUF_NOINLINE ::greptime::v1::SetColumnFulltext*
|
||||
Arena::CreateMaybeMessage< ::greptime::v1::SetColumnFulltext >(Arena* arena) {
|
||||
return Arena::CreateMessageInternal< ::greptime::v1::SetColumnFulltext >(arena);
|
||||
}
|
||||
template<> PROTOBUF_NOINLINE ::greptime::v1::UnsetColumnFulltext*
|
||||
Arena::CreateMaybeMessage< ::greptime::v1::UnsetColumnFulltext >(Arena* arena) {
|
||||
return Arena::CreateMessageInternal< ::greptime::v1::UnsetColumnFulltext >(arena);
|
||||
}
|
||||
PROTOBUF_NAMESPACE_CLOSE
|
||||
|
||||
|
||||
+432
-123
@@ -63,9 +63,6 @@ extern AddColumnsDefaultTypeInternal _AddColumns_default_instance_;
|
||||
class AlterExpr;
|
||||
struct AlterExprDefaultTypeInternal;
|
||||
extern AlterExprDefaultTypeInternal _AlterExpr_default_instance_;
|
||||
class ChangeColumnFulltext;
|
||||
struct ChangeColumnFulltextDefaultTypeInternal;
|
||||
extern ChangeColumnFulltextDefaultTypeInternal _ChangeColumnFulltext_default_instance_;
|
||||
class ChangeTableOption;
|
||||
struct ChangeTableOptionDefaultTypeInternal;
|
||||
extern ChangeTableOptionDefaultTypeInternal _ChangeTableOption_default_instance_;
|
||||
@@ -129,12 +126,18 @@ extern ModifyColumnTypesDefaultTypeInternal _ModifyColumnTypes_default_instance_
|
||||
class RenameTable;
|
||||
struct RenameTableDefaultTypeInternal;
|
||||
extern RenameTableDefaultTypeInternal _RenameTable_default_instance_;
|
||||
class SetColumnFulltext;
|
||||
struct SetColumnFulltextDefaultTypeInternal;
|
||||
extern SetColumnFulltextDefaultTypeInternal _SetColumnFulltext_default_instance_;
|
||||
class TableId;
|
||||
struct TableIdDefaultTypeInternal;
|
||||
extern TableIdDefaultTypeInternal _TableId_default_instance_;
|
||||
class TruncateTableExpr;
|
||||
struct TruncateTableExprDefaultTypeInternal;
|
||||
extern TruncateTableExprDefaultTypeInternal _TruncateTableExpr_default_instance_;
|
||||
class UnsetColumnFulltext;
|
||||
struct UnsetColumnFulltextDefaultTypeInternal;
|
||||
extern UnsetColumnFulltextDefaultTypeInternal _UnsetColumnFulltext_default_instance_;
|
||||
} // namespace v1
|
||||
} // namespace greptime
|
||||
PROTOBUF_NAMESPACE_OPEN
|
||||
@@ -142,7 +145,6 @@ template<> ::greptime::v1::AddColumn* Arena::CreateMaybeMessage<::greptime::v1::
|
||||
template<> ::greptime::v1::AddColumnLocation* Arena::CreateMaybeMessage<::greptime::v1::AddColumnLocation>(Arena*);
|
||||
template<> ::greptime::v1::AddColumns* Arena::CreateMaybeMessage<::greptime::v1::AddColumns>(Arena*);
|
||||
template<> ::greptime::v1::AlterExpr* Arena::CreateMaybeMessage<::greptime::v1::AlterExpr>(Arena*);
|
||||
template<> ::greptime::v1::ChangeColumnFulltext* Arena::CreateMaybeMessage<::greptime::v1::ChangeColumnFulltext>(Arena*);
|
||||
template<> ::greptime::v1::ChangeTableOption* Arena::CreateMaybeMessage<::greptime::v1::ChangeTableOption>(Arena*);
|
||||
template<> ::greptime::v1::ChangeTableOptions* Arena::CreateMaybeMessage<::greptime::v1::ChangeTableOptions>(Arena*);
|
||||
template<> ::greptime::v1::ColumnDef* Arena::CreateMaybeMessage<::greptime::v1::ColumnDef>(Arena*);
|
||||
@@ -164,8 +166,10 @@ template<> ::greptime::v1::FlowId* Arena::CreateMaybeMessage<::greptime::v1::Flo
|
||||
template<> ::greptime::v1::ModifyColumnType* Arena::CreateMaybeMessage<::greptime::v1::ModifyColumnType>(Arena*);
|
||||
template<> ::greptime::v1::ModifyColumnTypes* Arena::CreateMaybeMessage<::greptime::v1::ModifyColumnTypes>(Arena*);
|
||||
template<> ::greptime::v1::RenameTable* Arena::CreateMaybeMessage<::greptime::v1::RenameTable>(Arena*);
|
||||
template<> ::greptime::v1::SetColumnFulltext* Arena::CreateMaybeMessage<::greptime::v1::SetColumnFulltext>(Arena*);
|
||||
template<> ::greptime::v1::TableId* Arena::CreateMaybeMessage<::greptime::v1::TableId>(Arena*);
|
||||
template<> ::greptime::v1::TruncateTableExpr* Arena::CreateMaybeMessage<::greptime::v1::TruncateTableExpr>(Arena*);
|
||||
template<> ::greptime::v1::UnsetColumnFulltext* Arena::CreateMaybeMessage<::greptime::v1::UnsetColumnFulltext>(Arena*);
|
||||
PROTOBUF_NAMESPACE_CLOSE
|
||||
namespace greptime {
|
||||
namespace v1 {
|
||||
@@ -2049,7 +2053,8 @@ class AlterExpr final :
|
||||
kRenameTable = 6,
|
||||
kModifyColumnTypes = 7,
|
||||
kChangeTableOptions = 8,
|
||||
kChangeColumnFulltext = 9,
|
||||
kSetColumnFulltext = 9,
|
||||
kUnsetColumnFulltext = 10,
|
||||
KIND_NOT_SET = 0,
|
||||
};
|
||||
|
||||
@@ -2139,7 +2144,8 @@ class AlterExpr final :
|
||||
kRenameTableFieldNumber = 6,
|
||||
kModifyColumnTypesFieldNumber = 7,
|
||||
kChangeTableOptionsFieldNumber = 8,
|
||||
kChangeColumnFulltextFieldNumber = 9,
|
||||
kSetColumnFulltextFieldNumber = 9,
|
||||
kUnsetColumnFulltextFieldNumber = 10,
|
||||
};
|
||||
// string catalog_name = 1;
|
||||
void clear_catalog_name();
|
||||
@@ -2273,23 +2279,41 @@ class AlterExpr final :
|
||||
::greptime::v1::ChangeTableOptions* change_table_options);
|
||||
::greptime::v1::ChangeTableOptions* unsafe_arena_release_change_table_options();
|
||||
|
||||
// .greptime.v1.ChangeColumnFulltext change_column_fulltext = 9;
|
||||
bool has_change_column_fulltext() const;
|
||||
// .greptime.v1.SetColumnFulltext set_column_fulltext = 9;
|
||||
bool has_set_column_fulltext() const;
|
||||
private:
|
||||
bool _internal_has_change_column_fulltext() const;
|
||||
bool _internal_has_set_column_fulltext() const;
|
||||
public:
|
||||
void clear_change_column_fulltext();
|
||||
const ::greptime::v1::ChangeColumnFulltext& change_column_fulltext() const;
|
||||
PROTOBUF_NODISCARD ::greptime::v1::ChangeColumnFulltext* release_change_column_fulltext();
|
||||
::greptime::v1::ChangeColumnFulltext* mutable_change_column_fulltext();
|
||||
void set_allocated_change_column_fulltext(::greptime::v1::ChangeColumnFulltext* change_column_fulltext);
|
||||
void clear_set_column_fulltext();
|
||||
const ::greptime::v1::SetColumnFulltext& set_column_fulltext() const;
|
||||
PROTOBUF_NODISCARD ::greptime::v1::SetColumnFulltext* release_set_column_fulltext();
|
||||
::greptime::v1::SetColumnFulltext* mutable_set_column_fulltext();
|
||||
void set_allocated_set_column_fulltext(::greptime::v1::SetColumnFulltext* set_column_fulltext);
|
||||
private:
|
||||
const ::greptime::v1::ChangeColumnFulltext& _internal_change_column_fulltext() const;
|
||||
::greptime::v1::ChangeColumnFulltext* _internal_mutable_change_column_fulltext();
|
||||
const ::greptime::v1::SetColumnFulltext& _internal_set_column_fulltext() const;
|
||||
::greptime::v1::SetColumnFulltext* _internal_mutable_set_column_fulltext();
|
||||
public:
|
||||
void unsafe_arena_set_allocated_change_column_fulltext(
|
||||
::greptime::v1::ChangeColumnFulltext* change_column_fulltext);
|
||||
::greptime::v1::ChangeColumnFulltext* unsafe_arena_release_change_column_fulltext();
|
||||
void unsafe_arena_set_allocated_set_column_fulltext(
|
||||
::greptime::v1::SetColumnFulltext* set_column_fulltext);
|
||||
::greptime::v1::SetColumnFulltext* unsafe_arena_release_set_column_fulltext();
|
||||
|
||||
// .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 10;
|
||||
bool has_unset_column_fulltext() const;
|
||||
private:
|
||||
bool _internal_has_unset_column_fulltext() const;
|
||||
public:
|
||||
void clear_unset_column_fulltext();
|
||||
const ::greptime::v1::UnsetColumnFulltext& unset_column_fulltext() const;
|
||||
PROTOBUF_NODISCARD ::greptime::v1::UnsetColumnFulltext* release_unset_column_fulltext();
|
||||
::greptime::v1::UnsetColumnFulltext* mutable_unset_column_fulltext();
|
||||
void set_allocated_unset_column_fulltext(::greptime::v1::UnsetColumnFulltext* unset_column_fulltext);
|
||||
private:
|
||||
const ::greptime::v1::UnsetColumnFulltext& _internal_unset_column_fulltext() const;
|
||||
::greptime::v1::UnsetColumnFulltext* _internal_mutable_unset_column_fulltext();
|
||||
public:
|
||||
void unsafe_arena_set_allocated_unset_column_fulltext(
|
||||
::greptime::v1::UnsetColumnFulltext* unset_column_fulltext);
|
||||
::greptime::v1::UnsetColumnFulltext* unsafe_arena_release_unset_column_fulltext();
|
||||
|
||||
void clear_kind();
|
||||
KindCase kind_case() const;
|
||||
@@ -2301,7 +2325,8 @@ class AlterExpr final :
|
||||
void set_has_rename_table();
|
||||
void set_has_modify_column_types();
|
||||
void set_has_change_table_options();
|
||||
void set_has_change_column_fulltext();
|
||||
void set_has_set_column_fulltext();
|
||||
void set_has_unset_column_fulltext();
|
||||
|
||||
inline bool has_kind() const;
|
||||
inline void clear_has_kind();
|
||||
@@ -2321,7 +2346,8 @@ class AlterExpr final :
|
||||
::greptime::v1::RenameTable* rename_table_;
|
||||
::greptime::v1::ModifyColumnTypes* modify_column_types_;
|
||||
::greptime::v1::ChangeTableOptions* change_table_options_;
|
||||
::greptime::v1::ChangeColumnFulltext* change_column_fulltext_;
|
||||
::greptime::v1::SetColumnFulltext* set_column_fulltext_;
|
||||
::greptime::v1::UnsetColumnFulltext* unset_column_fulltext_;
|
||||
} kind_;
|
||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||
uint32_t _oneof_case_[1];
|
||||
@@ -5379,24 +5405,24 @@ class AddColumnLocation final :
|
||||
};
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
class ChangeColumnFulltext final :
|
||||
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.ChangeColumnFulltext) */ {
|
||||
class SetColumnFulltext final :
|
||||
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.SetColumnFulltext) */ {
|
||||
public:
|
||||
inline ChangeColumnFulltext() : ChangeColumnFulltext(nullptr) {}
|
||||
~ChangeColumnFulltext() override;
|
||||
explicit PROTOBUF_CONSTEXPR ChangeColumnFulltext(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
||||
inline SetColumnFulltext() : SetColumnFulltext(nullptr) {}
|
||||
~SetColumnFulltext() override;
|
||||
explicit PROTOBUF_CONSTEXPR SetColumnFulltext(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
||||
|
||||
ChangeColumnFulltext(const ChangeColumnFulltext& from);
|
||||
ChangeColumnFulltext(ChangeColumnFulltext&& from) noexcept
|
||||
: ChangeColumnFulltext() {
|
||||
SetColumnFulltext(const SetColumnFulltext& from);
|
||||
SetColumnFulltext(SetColumnFulltext&& from) noexcept
|
||||
: SetColumnFulltext() {
|
||||
*this = ::std::move(from);
|
||||
}
|
||||
|
||||
inline ChangeColumnFulltext& operator=(const ChangeColumnFulltext& from) {
|
||||
inline SetColumnFulltext& operator=(const SetColumnFulltext& from) {
|
||||
CopyFrom(from);
|
||||
return *this;
|
||||
}
|
||||
inline ChangeColumnFulltext& operator=(ChangeColumnFulltext&& from) noexcept {
|
||||
inline SetColumnFulltext& operator=(SetColumnFulltext&& from) noexcept {
|
||||
if (this == &from) return *this;
|
||||
if (GetOwningArena() == from.GetOwningArena()
|
||||
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
|
||||
@@ -5419,20 +5445,20 @@ class ChangeColumnFulltext final :
|
||||
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
||||
return default_instance().GetMetadata().reflection;
|
||||
}
|
||||
static const ChangeColumnFulltext& default_instance() {
|
||||
static const SetColumnFulltext& default_instance() {
|
||||
return *internal_default_instance();
|
||||
}
|
||||
static inline const ChangeColumnFulltext* internal_default_instance() {
|
||||
return reinterpret_cast<const ChangeColumnFulltext*>(
|
||||
&_ChangeColumnFulltext_default_instance_);
|
||||
static inline const SetColumnFulltext* internal_default_instance() {
|
||||
return reinterpret_cast<const SetColumnFulltext*>(
|
||||
&_SetColumnFulltext_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
27;
|
||||
|
||||
friend void swap(ChangeColumnFulltext& a, ChangeColumnFulltext& b) {
|
||||
friend void swap(SetColumnFulltext& a, SetColumnFulltext& b) {
|
||||
a.Swap(&b);
|
||||
}
|
||||
inline void Swap(ChangeColumnFulltext* other) {
|
||||
inline void Swap(SetColumnFulltext* other) {
|
||||
if (other == this) return;
|
||||
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
|
||||
if (GetOwningArena() != nullptr &&
|
||||
@@ -5445,7 +5471,7 @@ class ChangeColumnFulltext final :
|
||||
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
|
||||
}
|
||||
}
|
||||
void UnsafeArenaSwap(ChangeColumnFulltext* other) {
|
||||
void UnsafeArenaSwap(SetColumnFulltext* other) {
|
||||
if (other == this) return;
|
||||
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
||||
InternalSwap(other);
|
||||
@@ -5453,14 +5479,14 @@ class ChangeColumnFulltext final :
|
||||
|
||||
// implements Message ----------------------------------------------
|
||||
|
||||
ChangeColumnFulltext* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
||||
return CreateMaybeMessage<ChangeColumnFulltext>(arena);
|
||||
SetColumnFulltext* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
||||
return CreateMaybeMessage<SetColumnFulltext>(arena);
|
||||
}
|
||||
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
||||
void CopyFrom(const ChangeColumnFulltext& from);
|
||||
void CopyFrom(const SetColumnFulltext& from);
|
||||
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
||||
void MergeFrom( const ChangeColumnFulltext& from) {
|
||||
ChangeColumnFulltext::MergeImpl(*this, from);
|
||||
void MergeFrom( const SetColumnFulltext& from) {
|
||||
SetColumnFulltext::MergeImpl(*this, from);
|
||||
}
|
||||
private:
|
||||
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
|
||||
@@ -5478,15 +5504,15 @@ class ChangeColumnFulltext final :
|
||||
void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
|
||||
void SharedDtor();
|
||||
void SetCachedSize(int size) const final;
|
||||
void InternalSwap(ChangeColumnFulltext* other);
|
||||
void InternalSwap(SetColumnFulltext* other);
|
||||
|
||||
private:
|
||||
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
||||
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
||||
return "greptime.v1.ChangeColumnFulltext";
|
||||
return "greptime.v1.SetColumnFulltext";
|
||||
}
|
||||
protected:
|
||||
explicit ChangeColumnFulltext(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||
explicit SetColumnFulltext(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||
bool is_message_owned = false);
|
||||
public:
|
||||
|
||||
@@ -5546,7 +5572,7 @@ class ChangeColumnFulltext final :
|
||||
void _internal_set_case_sensitive(bool value);
|
||||
public:
|
||||
|
||||
// @@protoc_insertion_point(class_scope:greptime.v1.ChangeColumnFulltext)
|
||||
// @@protoc_insertion_point(class_scope:greptime.v1.SetColumnFulltext)
|
||||
private:
|
||||
class _Internal;
|
||||
|
||||
@@ -5563,6 +5589,159 @@ class ChangeColumnFulltext final :
|
||||
union { Impl_ _impl_; };
|
||||
friend struct ::TableStruct_greptime_2fv1_2fddl_2eproto;
|
||||
};
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
class UnsetColumnFulltext final :
|
||||
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.UnsetColumnFulltext) */ {
|
||||
public:
|
||||
inline UnsetColumnFulltext() : UnsetColumnFulltext(nullptr) {}
|
||||
~UnsetColumnFulltext() override;
|
||||
explicit PROTOBUF_CONSTEXPR UnsetColumnFulltext(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
||||
|
||||
UnsetColumnFulltext(const UnsetColumnFulltext& from);
|
||||
UnsetColumnFulltext(UnsetColumnFulltext&& from) noexcept
|
||||
: UnsetColumnFulltext() {
|
||||
*this = ::std::move(from);
|
||||
}
|
||||
|
||||
inline UnsetColumnFulltext& operator=(const UnsetColumnFulltext& from) {
|
||||
CopyFrom(from);
|
||||
return *this;
|
||||
}
|
||||
inline UnsetColumnFulltext& operator=(UnsetColumnFulltext&& 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 UnsetColumnFulltext& default_instance() {
|
||||
return *internal_default_instance();
|
||||
}
|
||||
static inline const UnsetColumnFulltext* internal_default_instance() {
|
||||
return reinterpret_cast<const UnsetColumnFulltext*>(
|
||||
&_UnsetColumnFulltext_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
28;
|
||||
|
||||
friend void swap(UnsetColumnFulltext& a, UnsetColumnFulltext& b) {
|
||||
a.Swap(&b);
|
||||
}
|
||||
inline void Swap(UnsetColumnFulltext* 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(UnsetColumnFulltext* other) {
|
||||
if (other == this) return;
|
||||
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
||||
InternalSwap(other);
|
||||
}
|
||||
|
||||
// implements Message ----------------------------------------------
|
||||
|
||||
UnsetColumnFulltext* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
||||
return CreateMaybeMessage<UnsetColumnFulltext>(arena);
|
||||
}
|
||||
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
||||
void CopyFrom(const UnsetColumnFulltext& from);
|
||||
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
||||
void MergeFrom( const UnsetColumnFulltext& from) {
|
||||
UnsetColumnFulltext::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(UnsetColumnFulltext* other);
|
||||
|
||||
private:
|
||||
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
||||
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
||||
return "greptime.v1.UnsetColumnFulltext";
|
||||
}
|
||||
protected:
|
||||
explicit UnsetColumnFulltext(::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 {
|
||||
kColumnNameFieldNumber = 1,
|
||||
};
|
||||
// string column_name = 1;
|
||||
void clear_column_name();
|
||||
const std::string& column_name() const;
|
||||
template <typename ArgT0 = const std::string&, typename... ArgT>
|
||||
void set_column_name(ArgT0&& arg0, ArgT... args);
|
||||
std::string* mutable_column_name();
|
||||
PROTOBUF_NODISCARD std::string* release_column_name();
|
||||
void set_allocated_column_name(std::string* column_name);
|
||||
private:
|
||||
const std::string& _internal_column_name() const;
|
||||
inline PROTOBUF_ALWAYS_INLINE void _internal_set_column_name(const std::string& value);
|
||||
std::string* _internal_mutable_column_name();
|
||||
public:
|
||||
|
||||
// @@protoc_insertion_point(class_scope:greptime.v1.UnsetColumnFulltext)
|
||||
private:
|
||||
class _Internal;
|
||||
|
||||
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
||||
typedef void InternalArenaConstructable_;
|
||||
typedef void DestructorSkippable_;
|
||||
struct Impl_ {
|
||||
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr column_name_;
|
||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||
};
|
||||
union { Impl_ _impl_; };
|
||||
friend struct ::TableStruct_greptime_2fv1_2fddl_2eproto;
|
||||
};
|
||||
// ===================================================================
|
||||
|
||||
|
||||
@@ -8774,77 +8953,151 @@ inline ::greptime::v1::ChangeTableOptions* AlterExpr::mutable_change_table_optio
|
||||
return _msg;
|
||||
}
|
||||
|
||||
// .greptime.v1.ChangeColumnFulltext change_column_fulltext = 9;
|
||||
inline bool AlterExpr::_internal_has_change_column_fulltext() const {
|
||||
return kind_case() == kChangeColumnFulltext;
|
||||
// .greptime.v1.SetColumnFulltext set_column_fulltext = 9;
|
||||
inline bool AlterExpr::_internal_has_set_column_fulltext() const {
|
||||
return kind_case() == kSetColumnFulltext;
|
||||
}
|
||||
inline bool AlterExpr::has_change_column_fulltext() const {
|
||||
return _internal_has_change_column_fulltext();
|
||||
inline bool AlterExpr::has_set_column_fulltext() const {
|
||||
return _internal_has_set_column_fulltext();
|
||||
}
|
||||
inline void AlterExpr::set_has_change_column_fulltext() {
|
||||
_impl_._oneof_case_[0] = kChangeColumnFulltext;
|
||||
inline void AlterExpr::set_has_set_column_fulltext() {
|
||||
_impl_._oneof_case_[0] = kSetColumnFulltext;
|
||||
}
|
||||
inline void AlterExpr::clear_change_column_fulltext() {
|
||||
if (_internal_has_change_column_fulltext()) {
|
||||
inline void AlterExpr::clear_set_column_fulltext() {
|
||||
if (_internal_has_set_column_fulltext()) {
|
||||
if (GetArenaForAllocation() == nullptr) {
|
||||
delete _impl_.kind_.change_column_fulltext_;
|
||||
delete _impl_.kind_.set_column_fulltext_;
|
||||
}
|
||||
clear_has_kind();
|
||||
}
|
||||
}
|
||||
inline ::greptime::v1::ChangeColumnFulltext* AlterExpr::release_change_column_fulltext() {
|
||||
// @@protoc_insertion_point(field_release:greptime.v1.AlterExpr.change_column_fulltext)
|
||||
if (_internal_has_change_column_fulltext()) {
|
||||
inline ::greptime::v1::SetColumnFulltext* AlterExpr::release_set_column_fulltext() {
|
||||
// @@protoc_insertion_point(field_release:greptime.v1.AlterExpr.set_column_fulltext)
|
||||
if (_internal_has_set_column_fulltext()) {
|
||||
clear_has_kind();
|
||||
::greptime::v1::ChangeColumnFulltext* temp = _impl_.kind_.change_column_fulltext_;
|
||||
::greptime::v1::SetColumnFulltext* temp = _impl_.kind_.set_column_fulltext_;
|
||||
if (GetArenaForAllocation() != nullptr) {
|
||||
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
||||
}
|
||||
_impl_.kind_.change_column_fulltext_ = nullptr;
|
||||
_impl_.kind_.set_column_fulltext_ = nullptr;
|
||||
return temp;
|
||||
} else {
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
inline const ::greptime::v1::ChangeColumnFulltext& AlterExpr::_internal_change_column_fulltext() const {
|
||||
return _internal_has_change_column_fulltext()
|
||||
? *_impl_.kind_.change_column_fulltext_
|
||||
: reinterpret_cast< ::greptime::v1::ChangeColumnFulltext&>(::greptime::v1::_ChangeColumnFulltext_default_instance_);
|
||||
inline const ::greptime::v1::SetColumnFulltext& AlterExpr::_internal_set_column_fulltext() const {
|
||||
return _internal_has_set_column_fulltext()
|
||||
? *_impl_.kind_.set_column_fulltext_
|
||||
: reinterpret_cast< ::greptime::v1::SetColumnFulltext&>(::greptime::v1::_SetColumnFulltext_default_instance_);
|
||||
}
|
||||
inline const ::greptime::v1::ChangeColumnFulltext& AlterExpr::change_column_fulltext() const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.AlterExpr.change_column_fulltext)
|
||||
return _internal_change_column_fulltext();
|
||||
inline const ::greptime::v1::SetColumnFulltext& AlterExpr::set_column_fulltext() const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.AlterExpr.set_column_fulltext)
|
||||
return _internal_set_column_fulltext();
|
||||
}
|
||||
inline ::greptime::v1::ChangeColumnFulltext* AlterExpr::unsafe_arena_release_change_column_fulltext() {
|
||||
// @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.AlterExpr.change_column_fulltext)
|
||||
if (_internal_has_change_column_fulltext()) {
|
||||
inline ::greptime::v1::SetColumnFulltext* AlterExpr::unsafe_arena_release_set_column_fulltext() {
|
||||
// @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.AlterExpr.set_column_fulltext)
|
||||
if (_internal_has_set_column_fulltext()) {
|
||||
clear_has_kind();
|
||||
::greptime::v1::ChangeColumnFulltext* temp = _impl_.kind_.change_column_fulltext_;
|
||||
_impl_.kind_.change_column_fulltext_ = nullptr;
|
||||
::greptime::v1::SetColumnFulltext* temp = _impl_.kind_.set_column_fulltext_;
|
||||
_impl_.kind_.set_column_fulltext_ = nullptr;
|
||||
return temp;
|
||||
} else {
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
inline void AlterExpr::unsafe_arena_set_allocated_change_column_fulltext(::greptime::v1::ChangeColumnFulltext* change_column_fulltext) {
|
||||
inline void AlterExpr::unsafe_arena_set_allocated_set_column_fulltext(::greptime::v1::SetColumnFulltext* set_column_fulltext) {
|
||||
clear_kind();
|
||||
if (change_column_fulltext) {
|
||||
set_has_change_column_fulltext();
|
||||
_impl_.kind_.change_column_fulltext_ = change_column_fulltext;
|
||||
if (set_column_fulltext) {
|
||||
set_has_set_column_fulltext();
|
||||
_impl_.kind_.set_column_fulltext_ = set_column_fulltext;
|
||||
}
|
||||
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.AlterExpr.change_column_fulltext)
|
||||
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.AlterExpr.set_column_fulltext)
|
||||
}
|
||||
inline ::greptime::v1::ChangeColumnFulltext* AlterExpr::_internal_mutable_change_column_fulltext() {
|
||||
if (!_internal_has_change_column_fulltext()) {
|
||||
inline ::greptime::v1::SetColumnFulltext* AlterExpr::_internal_mutable_set_column_fulltext() {
|
||||
if (!_internal_has_set_column_fulltext()) {
|
||||
clear_kind();
|
||||
set_has_change_column_fulltext();
|
||||
_impl_.kind_.change_column_fulltext_ = CreateMaybeMessage< ::greptime::v1::ChangeColumnFulltext >(GetArenaForAllocation());
|
||||
set_has_set_column_fulltext();
|
||||
_impl_.kind_.set_column_fulltext_ = CreateMaybeMessage< ::greptime::v1::SetColumnFulltext >(GetArenaForAllocation());
|
||||
}
|
||||
return _impl_.kind_.change_column_fulltext_;
|
||||
return _impl_.kind_.set_column_fulltext_;
|
||||
}
|
||||
inline ::greptime::v1::ChangeColumnFulltext* AlterExpr::mutable_change_column_fulltext() {
|
||||
::greptime::v1::ChangeColumnFulltext* _msg = _internal_mutable_change_column_fulltext();
|
||||
// @@protoc_insertion_point(field_mutable:greptime.v1.AlterExpr.change_column_fulltext)
|
||||
inline ::greptime::v1::SetColumnFulltext* AlterExpr::mutable_set_column_fulltext() {
|
||||
::greptime::v1::SetColumnFulltext* _msg = _internal_mutable_set_column_fulltext();
|
||||
// @@protoc_insertion_point(field_mutable:greptime.v1.AlterExpr.set_column_fulltext)
|
||||
return _msg;
|
||||
}
|
||||
|
||||
// .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 10;
|
||||
inline bool AlterExpr::_internal_has_unset_column_fulltext() const {
|
||||
return kind_case() == kUnsetColumnFulltext;
|
||||
}
|
||||
inline bool AlterExpr::has_unset_column_fulltext() const {
|
||||
return _internal_has_unset_column_fulltext();
|
||||
}
|
||||
inline void AlterExpr::set_has_unset_column_fulltext() {
|
||||
_impl_._oneof_case_[0] = kUnsetColumnFulltext;
|
||||
}
|
||||
inline void AlterExpr::clear_unset_column_fulltext() {
|
||||
if (_internal_has_unset_column_fulltext()) {
|
||||
if (GetArenaForAllocation() == nullptr) {
|
||||
delete _impl_.kind_.unset_column_fulltext_;
|
||||
}
|
||||
clear_has_kind();
|
||||
}
|
||||
}
|
||||
inline ::greptime::v1::UnsetColumnFulltext* AlterExpr::release_unset_column_fulltext() {
|
||||
// @@protoc_insertion_point(field_release:greptime.v1.AlterExpr.unset_column_fulltext)
|
||||
if (_internal_has_unset_column_fulltext()) {
|
||||
clear_has_kind();
|
||||
::greptime::v1::UnsetColumnFulltext* temp = _impl_.kind_.unset_column_fulltext_;
|
||||
if (GetArenaForAllocation() != nullptr) {
|
||||
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
||||
}
|
||||
_impl_.kind_.unset_column_fulltext_ = nullptr;
|
||||
return temp;
|
||||
} else {
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
inline const ::greptime::v1::UnsetColumnFulltext& AlterExpr::_internal_unset_column_fulltext() const {
|
||||
return _internal_has_unset_column_fulltext()
|
||||
? *_impl_.kind_.unset_column_fulltext_
|
||||
: reinterpret_cast< ::greptime::v1::UnsetColumnFulltext&>(::greptime::v1::_UnsetColumnFulltext_default_instance_);
|
||||
}
|
||||
inline const ::greptime::v1::UnsetColumnFulltext& AlterExpr::unset_column_fulltext() const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.AlterExpr.unset_column_fulltext)
|
||||
return _internal_unset_column_fulltext();
|
||||
}
|
||||
inline ::greptime::v1::UnsetColumnFulltext* AlterExpr::unsafe_arena_release_unset_column_fulltext() {
|
||||
// @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.AlterExpr.unset_column_fulltext)
|
||||
if (_internal_has_unset_column_fulltext()) {
|
||||
clear_has_kind();
|
||||
::greptime::v1::UnsetColumnFulltext* temp = _impl_.kind_.unset_column_fulltext_;
|
||||
_impl_.kind_.unset_column_fulltext_ = nullptr;
|
||||
return temp;
|
||||
} else {
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
inline void AlterExpr::unsafe_arena_set_allocated_unset_column_fulltext(::greptime::v1::UnsetColumnFulltext* unset_column_fulltext) {
|
||||
clear_kind();
|
||||
if (unset_column_fulltext) {
|
||||
set_has_unset_column_fulltext();
|
||||
_impl_.kind_.unset_column_fulltext_ = unset_column_fulltext;
|
||||
}
|
||||
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.AlterExpr.unset_column_fulltext)
|
||||
}
|
||||
inline ::greptime::v1::UnsetColumnFulltext* AlterExpr::_internal_mutable_unset_column_fulltext() {
|
||||
if (!_internal_has_unset_column_fulltext()) {
|
||||
clear_kind();
|
||||
set_has_unset_column_fulltext();
|
||||
_impl_.kind_.unset_column_fulltext_ = CreateMaybeMessage< ::greptime::v1::UnsetColumnFulltext >(GetArenaForAllocation());
|
||||
}
|
||||
return _impl_.kind_.unset_column_fulltext_;
|
||||
}
|
||||
inline ::greptime::v1::UnsetColumnFulltext* AlterExpr::mutable_unset_column_fulltext() {
|
||||
::greptime::v1::UnsetColumnFulltext* _msg = _internal_mutable_unset_column_fulltext();
|
||||
// @@protoc_insertion_point(field_mutable:greptime.v1.AlterExpr.unset_column_fulltext)
|
||||
return _msg;
|
||||
}
|
||||
|
||||
@@ -10883,44 +11136,44 @@ inline void AddColumnLocation::set_allocated_after_column_name(std::string* afte
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// ChangeColumnFulltext
|
||||
// SetColumnFulltext
|
||||
|
||||
// string column_name = 1;
|
||||
inline void ChangeColumnFulltext::clear_column_name() {
|
||||
inline void SetColumnFulltext::clear_column_name() {
|
||||
_impl_.column_name_.ClearToEmpty();
|
||||
}
|
||||
inline const std::string& ChangeColumnFulltext::column_name() const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.ChangeColumnFulltext.column_name)
|
||||
inline const std::string& SetColumnFulltext::column_name() const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.SetColumnFulltext.column_name)
|
||||
return _internal_column_name();
|
||||
}
|
||||
template <typename ArgT0, typename... ArgT>
|
||||
inline PROTOBUF_ALWAYS_INLINE
|
||||
void ChangeColumnFulltext::set_column_name(ArgT0&& arg0, ArgT... args) {
|
||||
void SetColumnFulltext::set_column_name(ArgT0&& arg0, ArgT... args) {
|
||||
|
||||
_impl_.column_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
|
||||
// @@protoc_insertion_point(field_set:greptime.v1.ChangeColumnFulltext.column_name)
|
||||
// @@protoc_insertion_point(field_set:greptime.v1.SetColumnFulltext.column_name)
|
||||
}
|
||||
inline std::string* ChangeColumnFulltext::mutable_column_name() {
|
||||
inline std::string* SetColumnFulltext::mutable_column_name() {
|
||||
std::string* _s = _internal_mutable_column_name();
|
||||
// @@protoc_insertion_point(field_mutable:greptime.v1.ChangeColumnFulltext.column_name)
|
||||
// @@protoc_insertion_point(field_mutable:greptime.v1.SetColumnFulltext.column_name)
|
||||
return _s;
|
||||
}
|
||||
inline const std::string& ChangeColumnFulltext::_internal_column_name() const {
|
||||
inline const std::string& SetColumnFulltext::_internal_column_name() const {
|
||||
return _impl_.column_name_.Get();
|
||||
}
|
||||
inline void ChangeColumnFulltext::_internal_set_column_name(const std::string& value) {
|
||||
inline void SetColumnFulltext::_internal_set_column_name(const std::string& value) {
|
||||
|
||||
_impl_.column_name_.Set(value, GetArenaForAllocation());
|
||||
}
|
||||
inline std::string* ChangeColumnFulltext::_internal_mutable_column_name() {
|
||||
inline std::string* SetColumnFulltext::_internal_mutable_column_name() {
|
||||
|
||||
return _impl_.column_name_.Mutable(GetArenaForAllocation());
|
||||
}
|
||||
inline std::string* ChangeColumnFulltext::release_column_name() {
|
||||
// @@protoc_insertion_point(field_release:greptime.v1.ChangeColumnFulltext.column_name)
|
||||
inline std::string* SetColumnFulltext::release_column_name() {
|
||||
// @@protoc_insertion_point(field_release:greptime.v1.SetColumnFulltext.column_name)
|
||||
return _impl_.column_name_.Release();
|
||||
}
|
||||
inline void ChangeColumnFulltext::set_allocated_column_name(std::string* column_name) {
|
||||
inline void SetColumnFulltext::set_allocated_column_name(std::string* column_name) {
|
||||
if (column_name != nullptr) {
|
||||
|
||||
} else {
|
||||
@@ -10932,67 +11185,121 @@ inline void ChangeColumnFulltext::set_allocated_column_name(std::string* column_
|
||||
_impl_.column_name_.Set("", GetArenaForAllocation());
|
||||
}
|
||||
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.ChangeColumnFulltext.column_name)
|
||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.SetColumnFulltext.column_name)
|
||||
}
|
||||
|
||||
// bool enable = 2;
|
||||
inline void ChangeColumnFulltext::clear_enable() {
|
||||
inline void SetColumnFulltext::clear_enable() {
|
||||
_impl_.enable_ = false;
|
||||
}
|
||||
inline bool ChangeColumnFulltext::_internal_enable() const {
|
||||
inline bool SetColumnFulltext::_internal_enable() const {
|
||||
return _impl_.enable_;
|
||||
}
|
||||
inline bool ChangeColumnFulltext::enable() const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.ChangeColumnFulltext.enable)
|
||||
inline bool SetColumnFulltext::enable() const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.SetColumnFulltext.enable)
|
||||
return _internal_enable();
|
||||
}
|
||||
inline void ChangeColumnFulltext::_internal_set_enable(bool value) {
|
||||
inline void SetColumnFulltext::_internal_set_enable(bool value) {
|
||||
|
||||
_impl_.enable_ = value;
|
||||
}
|
||||
inline void ChangeColumnFulltext::set_enable(bool value) {
|
||||
inline void SetColumnFulltext::set_enable(bool value) {
|
||||
_internal_set_enable(value);
|
||||
// @@protoc_insertion_point(field_set:greptime.v1.ChangeColumnFulltext.enable)
|
||||
// @@protoc_insertion_point(field_set:greptime.v1.SetColumnFulltext.enable)
|
||||
}
|
||||
|
||||
// .greptime.v1.Analyzer analyzer = 3;
|
||||
inline void ChangeColumnFulltext::clear_analyzer() {
|
||||
inline void SetColumnFulltext::clear_analyzer() {
|
||||
_impl_.analyzer_ = 0;
|
||||
}
|
||||
inline ::greptime::v1::Analyzer ChangeColumnFulltext::_internal_analyzer() const {
|
||||
inline ::greptime::v1::Analyzer SetColumnFulltext::_internal_analyzer() const {
|
||||
return static_cast< ::greptime::v1::Analyzer >(_impl_.analyzer_);
|
||||
}
|
||||
inline ::greptime::v1::Analyzer ChangeColumnFulltext::analyzer() const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.ChangeColumnFulltext.analyzer)
|
||||
inline ::greptime::v1::Analyzer SetColumnFulltext::analyzer() const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.SetColumnFulltext.analyzer)
|
||||
return _internal_analyzer();
|
||||
}
|
||||
inline void ChangeColumnFulltext::_internal_set_analyzer(::greptime::v1::Analyzer value) {
|
||||
inline void SetColumnFulltext::_internal_set_analyzer(::greptime::v1::Analyzer value) {
|
||||
|
||||
_impl_.analyzer_ = value;
|
||||
}
|
||||
inline void ChangeColumnFulltext::set_analyzer(::greptime::v1::Analyzer value) {
|
||||
inline void SetColumnFulltext::set_analyzer(::greptime::v1::Analyzer value) {
|
||||
_internal_set_analyzer(value);
|
||||
// @@protoc_insertion_point(field_set:greptime.v1.ChangeColumnFulltext.analyzer)
|
||||
// @@protoc_insertion_point(field_set:greptime.v1.SetColumnFulltext.analyzer)
|
||||
}
|
||||
|
||||
// bool case_sensitive = 4;
|
||||
inline void ChangeColumnFulltext::clear_case_sensitive() {
|
||||
inline void SetColumnFulltext::clear_case_sensitive() {
|
||||
_impl_.case_sensitive_ = false;
|
||||
}
|
||||
inline bool ChangeColumnFulltext::_internal_case_sensitive() const {
|
||||
inline bool SetColumnFulltext::_internal_case_sensitive() const {
|
||||
return _impl_.case_sensitive_;
|
||||
}
|
||||
inline bool ChangeColumnFulltext::case_sensitive() const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.ChangeColumnFulltext.case_sensitive)
|
||||
inline bool SetColumnFulltext::case_sensitive() const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.SetColumnFulltext.case_sensitive)
|
||||
return _internal_case_sensitive();
|
||||
}
|
||||
inline void ChangeColumnFulltext::_internal_set_case_sensitive(bool value) {
|
||||
inline void SetColumnFulltext::_internal_set_case_sensitive(bool value) {
|
||||
|
||||
_impl_.case_sensitive_ = value;
|
||||
}
|
||||
inline void ChangeColumnFulltext::set_case_sensitive(bool value) {
|
||||
inline void SetColumnFulltext::set_case_sensitive(bool value) {
|
||||
_internal_set_case_sensitive(value);
|
||||
// @@protoc_insertion_point(field_set:greptime.v1.ChangeColumnFulltext.case_sensitive)
|
||||
// @@protoc_insertion_point(field_set:greptime.v1.SetColumnFulltext.case_sensitive)
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// UnsetColumnFulltext
|
||||
|
||||
// string column_name = 1;
|
||||
inline void UnsetColumnFulltext::clear_column_name() {
|
||||
_impl_.column_name_.ClearToEmpty();
|
||||
}
|
||||
inline const std::string& UnsetColumnFulltext::column_name() const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.UnsetColumnFulltext.column_name)
|
||||
return _internal_column_name();
|
||||
}
|
||||
template <typename ArgT0, typename... ArgT>
|
||||
inline PROTOBUF_ALWAYS_INLINE
|
||||
void UnsetColumnFulltext::set_column_name(ArgT0&& arg0, ArgT... args) {
|
||||
|
||||
_impl_.column_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
|
||||
// @@protoc_insertion_point(field_set:greptime.v1.UnsetColumnFulltext.column_name)
|
||||
}
|
||||
inline std::string* UnsetColumnFulltext::mutable_column_name() {
|
||||
std::string* _s = _internal_mutable_column_name();
|
||||
// @@protoc_insertion_point(field_mutable:greptime.v1.UnsetColumnFulltext.column_name)
|
||||
return _s;
|
||||
}
|
||||
inline const std::string& UnsetColumnFulltext::_internal_column_name() const {
|
||||
return _impl_.column_name_.Get();
|
||||
}
|
||||
inline void UnsetColumnFulltext::_internal_set_column_name(const std::string& value) {
|
||||
|
||||
_impl_.column_name_.Set(value, GetArenaForAllocation());
|
||||
}
|
||||
inline std::string* UnsetColumnFulltext::_internal_mutable_column_name() {
|
||||
|
||||
return _impl_.column_name_.Mutable(GetArenaForAllocation());
|
||||
}
|
||||
inline std::string* UnsetColumnFulltext::release_column_name() {
|
||||
// @@protoc_insertion_point(field_release:greptime.v1.UnsetColumnFulltext.column_name)
|
||||
return _impl_.column_name_.Release();
|
||||
}
|
||||
inline void UnsetColumnFulltext::set_allocated_column_name(std::string* column_name) {
|
||||
if (column_name != nullptr) {
|
||||
|
||||
} else {
|
||||
|
||||
}
|
||||
_impl_.column_name_.SetAllocated(column_name, GetArenaForAllocation());
|
||||
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
if (_impl_.column_name_.IsDefault()) {
|
||||
_impl_.column_name_.Set("", GetArenaForAllocation());
|
||||
}
|
||||
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.UnsetColumnFulltext.column_name)
|
||||
}
|
||||
|
||||
#ifdef __GNUC__
|
||||
@@ -11052,6 +11359,8 @@ inline void ChangeColumnFulltext::set_case_sensitive(bool value) {
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
|
||||
// @@protoc_insertion_point(namespace_scope)
|
||||
|
||||
|
||||
@@ -624,6 +624,7 @@ const uint32_t TableStruct_greptime_2fv1_2fregion_2fserver_2eproto::offsets[] PR
|
||||
::_pbi::kInvalidFieldOffsetTag,
|
||||
::_pbi::kInvalidFieldOffsetTag,
|
||||
::_pbi::kInvalidFieldOffsetTag,
|
||||
::_pbi::kInvalidFieldOffsetTag,
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::AlterRequest, _impl_.schema_version_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::AlterRequest, _impl_.kind_),
|
||||
~0u, // no _has_bits_
|
||||
@@ -722,16 +723,16 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode
|
||||
{ 161, -1, -1, sizeof(::greptime::v1::region::CloseRequest)},
|
||||
{ 168, -1, -1, sizeof(::greptime::v1::region::AlterRequests)},
|
||||
{ 175, -1, -1, sizeof(::greptime::v1::region::AlterRequest)},
|
||||
{ 189, -1, -1, sizeof(::greptime::v1::region::AddColumns)},
|
||||
{ 196, -1, -1, sizeof(::greptime::v1::region::DropColumns)},
|
||||
{ 203, -1, -1, sizeof(::greptime::v1::region::AddColumn)},
|
||||
{ 211, -1, -1, sizeof(::greptime::v1::region::DropColumn)},
|
||||
{ 218, -1, -1, sizeof(::greptime::v1::region::FlushRequest)},
|
||||
{ 225, -1, -1, sizeof(::greptime::v1::region::Regular)},
|
||||
{ 231, -1, -1, sizeof(::greptime::v1::region::StrictWindow)},
|
||||
{ 238, -1, -1, sizeof(::greptime::v1::region::CompactRequest)},
|
||||
{ 248, -1, -1, sizeof(::greptime::v1::region::TruncateRequest)},
|
||||
{ 255, -1, -1, sizeof(::greptime::v1::region::RegionColumnDef)},
|
||||
{ 190, -1, -1, sizeof(::greptime::v1::region::AddColumns)},
|
||||
{ 197, -1, -1, sizeof(::greptime::v1::region::DropColumns)},
|
||||
{ 204, -1, -1, sizeof(::greptime::v1::region::AddColumn)},
|
||||
{ 212, -1, -1, sizeof(::greptime::v1::region::DropColumn)},
|
||||
{ 219, -1, -1, sizeof(::greptime::v1::region::FlushRequest)},
|
||||
{ 226, -1, -1, sizeof(::greptime::v1::region::Regular)},
|
||||
{ 232, -1, -1, sizeof(::greptime::v1::region::StrictWindow)},
|
||||
{ 239, -1, -1, sizeof(::greptime::v1::region::CompactRequest)},
|
||||
{ 249, -1, -1, sizeof(::greptime::v1::region::TruncateRequest)},
|
||||
{ 256, -1, -1, sizeof(::greptime::v1::region::RegionColumnDef)},
|
||||
};
|
||||
|
||||
static const ::_pb::Message* const file_default_instances[] = {
|
||||
@@ -828,38 +829,39 @@ const char descriptor_table_protodef_greptime_2fv1_2fregion_2fserver_2eproto[] P
|
||||
".\n\014OptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 "
|
||||
"\001(\t:\0028\001\"!\n\014CloseRequest\022\021\n\tregion_id\030\001 \001"
|
||||
"(\004\"C\n\rAlterRequests\0222\n\010requests\030\001 \003(\0132 ."
|
||||
"greptime.v1.region.AlterRequest\"\366\002\n\014Alte"
|
||||
"greptime.v1.region.AlterRequest\"\263\003\n\014Alte"
|
||||
"rRequest\022\021\n\tregion_id\030\001 \001(\004\0225\n\013add_colum"
|
||||
"ns\030\002 \001(\0132\036.greptime.v1.region.AddColumns"
|
||||
"H\000\0227\n\014drop_columns\030\003 \001(\0132\037.greptime.v1.r"
|
||||
"egion.DropColumnsH\000\022=\n\023modify_column_typ"
|
||||
"es\030\005 \001(\0132\036.greptime.v1.ModifyColumnTypes"
|
||||
"H\000\022\?\n\024change_table_options\030\006 \001(\0132\037.grept"
|
||||
"ime.v1.ChangeTableOptionsH\000\022C\n\026change_co"
|
||||
"lumn_fulltext\030\007 \001(\0132!.greptime.v1.Change"
|
||||
"ColumnFulltextH\000\022\026\n\016schema_version\030\004 \001(\004"
|
||||
"B\006\n\004kind\"@\n\nAddColumns\0222\n\013add_columns\030\001 "
|
||||
"\003(\0132\035.greptime.v1.region.AddColumn\"C\n\013Dr"
|
||||
"opColumns\0224\n\014drop_columns\030\001 \003(\0132\036.grepti"
|
||||
"me.v1.region.DropColumn\"v\n\tAddColumn\0227\n\n"
|
||||
"column_def\030\001 \001(\0132#.greptime.v1.region.Re"
|
||||
"gionColumnDef\0220\n\010location\030\003 \001(\0132\036.grepti"
|
||||
"me.v1.AddColumnLocation\"\032\n\nDropColumn\022\014\n"
|
||||
"\004name\030\001 \001(\t\"!\n\014FlushRequest\022\021\n\tregion_id"
|
||||
"\030\001 \001(\004\"\t\n\007Regular\"&\n\014StrictWindow\022\026\n\016win"
|
||||
"dow_seconds\030\001 \001(\003\"\231\001\n\016CompactRequest\022\021\n\t"
|
||||
"region_id\030\001 \001(\004\022.\n\007regular\030\002 \001(\0132\033.grept"
|
||||
"ime.v1.region.RegularH\000\0229\n\rstrict_window"
|
||||
"\030\003 \001(\0132 .greptime.v1.region.StrictWindow"
|
||||
"H\000B\t\n\007options\"$\n\017TruncateRequest\022\021\n\tregi"
|
||||
"on_id\030\001 \001(\004\"P\n\017RegionColumnDef\022*\n\ncolumn"
|
||||
"_def\030\001 \001(\0132\026.greptime.v1.ColumnDef\022\021\n\tco"
|
||||
"lumn_id\030\002 \001(\r2Y\n\006Region\022O\n\006Handle\022!.grep"
|
||||
"time.v1.region.RegionRequest\032\".greptime."
|
||||
"v1.region.RegionResponseB]\n\025io.greptime."
|
||||
"v1.regionB\006ServerZ<github.com/GreptimeTe"
|
||||
"am/greptime-proto/go/greptime/v1/regionb"
|
||||
"\006proto3"
|
||||
"ime.v1.ChangeTableOptionsH\000\022=\n\023set_colum"
|
||||
"n_fulltext\030\007 \001(\0132\036.greptime.v1.SetColumn"
|
||||
"FulltextH\000\022A\n\025unset_column_fulltext\030\010 \001("
|
||||
"\0132 .greptime.v1.UnsetColumnFulltextH\000\022\026\n"
|
||||
"\016schema_version\030\004 \001(\004B\006\n\004kind\"@\n\nAddColu"
|
||||
"mns\0222\n\013add_columns\030\001 \003(\0132\035.greptime.v1.r"
|
||||
"egion.AddColumn\"C\n\013DropColumns\0224\n\014drop_c"
|
||||
"olumns\030\001 \003(\0132\036.greptime.v1.region.DropCo"
|
||||
"lumn\"v\n\tAddColumn\0227\n\ncolumn_def\030\001 \001(\0132#."
|
||||
"greptime.v1.region.RegionColumnDef\0220\n\010lo"
|
||||
"cation\030\003 \001(\0132\036.greptime.v1.AddColumnLoca"
|
||||
"tion\"\032\n\nDropColumn\022\014\n\004name\030\001 \001(\t\"!\n\014Flus"
|
||||
"hRequest\022\021\n\tregion_id\030\001 \001(\004\"\t\n\007Regular\"&"
|
||||
"\n\014StrictWindow\022\026\n\016window_seconds\030\001 \001(\003\"\231"
|
||||
"\001\n\016CompactRequest\022\021\n\tregion_id\030\001 \001(\004\022.\n\007"
|
||||
"regular\030\002 \001(\0132\033.greptime.v1.region.Regul"
|
||||
"arH\000\0229\n\rstrict_window\030\003 \001(\0132 .greptime.v"
|
||||
"1.region.StrictWindowH\000B\t\n\007options\"$\n\017Tr"
|
||||
"uncateRequest\022\021\n\tregion_id\030\001 \001(\004\"P\n\017Regi"
|
||||
"onColumnDef\022*\n\ncolumn_def\030\001 \001(\0132\026.grepti"
|
||||
"me.v1.ColumnDef\022\021\n\tcolumn_id\030\002 \001(\r2Y\n\006Re"
|
||||
"gion\022O\n\006Handle\022!.greptime.v1.region.Regi"
|
||||
"onRequest\032\".greptime.v1.region.RegionRes"
|
||||
"ponseB]\n\025io.greptime.v1.regionB\006ServerZ<"
|
||||
"github.com/GreptimeTeam/greptime-proto/g"
|
||||
"o/greptime/v1/regionb\006proto3"
|
||||
;
|
||||
static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_deps[3] = {
|
||||
&::descriptor_table_greptime_2fv1_2fcommon_2eproto,
|
||||
@@ -868,7 +870,7 @@ static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2freg
|
||||
};
|
||||
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_once;
|
||||
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto = {
|
||||
false, false, 3647, descriptor_table_protodef_greptime_2fv1_2fregion_2fserver_2eproto,
|
||||
false, false, 3708, descriptor_table_protodef_greptime_2fv1_2fregion_2fserver_2eproto,
|
||||
"greptime/v1/region/server.proto",
|
||||
&descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_once, descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_deps, 3, 30,
|
||||
schemas, file_default_instances, TableStruct_greptime_2fv1_2fregion_2fserver_2eproto::offsets,
|
||||
@@ -5331,7 +5333,8 @@ class AlterRequest::_Internal {
|
||||
static const ::greptime::v1::region::DropColumns& drop_columns(const AlterRequest* msg);
|
||||
static const ::greptime::v1::ModifyColumnTypes& modify_column_types(const AlterRequest* msg);
|
||||
static const ::greptime::v1::ChangeTableOptions& change_table_options(const AlterRequest* msg);
|
||||
static const ::greptime::v1::ChangeColumnFulltext& change_column_fulltext(const AlterRequest* msg);
|
||||
static const ::greptime::v1::SetColumnFulltext& set_column_fulltext(const AlterRequest* msg);
|
||||
static const ::greptime::v1::UnsetColumnFulltext& unset_column_fulltext(const AlterRequest* msg);
|
||||
};
|
||||
|
||||
const ::greptime::v1::region::AddColumns&
|
||||
@@ -5350,9 +5353,13 @@ const ::greptime::v1::ChangeTableOptions&
|
||||
AlterRequest::_Internal::change_table_options(const AlterRequest* msg) {
|
||||
return *msg->_impl_.kind_.change_table_options_;
|
||||
}
|
||||
const ::greptime::v1::ChangeColumnFulltext&
|
||||
AlterRequest::_Internal::change_column_fulltext(const AlterRequest* msg) {
|
||||
return *msg->_impl_.kind_.change_column_fulltext_;
|
||||
const ::greptime::v1::SetColumnFulltext&
|
||||
AlterRequest::_Internal::set_column_fulltext(const AlterRequest* msg) {
|
||||
return *msg->_impl_.kind_.set_column_fulltext_;
|
||||
}
|
||||
const ::greptime::v1::UnsetColumnFulltext&
|
||||
AlterRequest::_Internal::unset_column_fulltext(const AlterRequest* msg) {
|
||||
return *msg->_impl_.kind_.unset_column_fulltext_;
|
||||
}
|
||||
void AlterRequest::set_allocated_add_columns(::greptime::v1::region::AddColumns* add_columns) {
|
||||
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||
@@ -5432,26 +5439,50 @@ void AlterRequest::clear_change_table_options() {
|
||||
clear_has_kind();
|
||||
}
|
||||
}
|
||||
void AlterRequest::set_allocated_change_column_fulltext(::greptime::v1::ChangeColumnFulltext* change_column_fulltext) {
|
||||
void AlterRequest::set_allocated_set_column_fulltext(::greptime::v1::SetColumnFulltext* set_column_fulltext) {
|
||||
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||
clear_kind();
|
||||
if (change_column_fulltext) {
|
||||
if (set_column_fulltext) {
|
||||
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
||||
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
|
||||
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(change_column_fulltext));
|
||||
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(set_column_fulltext));
|
||||
if (message_arena != submessage_arena) {
|
||||
change_column_fulltext = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
||||
message_arena, change_column_fulltext, submessage_arena);
|
||||
set_column_fulltext = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
||||
message_arena, set_column_fulltext, submessage_arena);
|
||||
}
|
||||
set_has_change_column_fulltext();
|
||||
_impl_.kind_.change_column_fulltext_ = change_column_fulltext;
|
||||
set_has_set_column_fulltext();
|
||||
_impl_.kind_.set_column_fulltext_ = set_column_fulltext;
|
||||
}
|
||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.region.AlterRequest.change_column_fulltext)
|
||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.region.AlterRequest.set_column_fulltext)
|
||||
}
|
||||
void AlterRequest::clear_change_column_fulltext() {
|
||||
if (_internal_has_change_column_fulltext()) {
|
||||
void AlterRequest::clear_set_column_fulltext() {
|
||||
if (_internal_has_set_column_fulltext()) {
|
||||
if (GetArenaForAllocation() == nullptr) {
|
||||
delete _impl_.kind_.change_column_fulltext_;
|
||||
delete _impl_.kind_.set_column_fulltext_;
|
||||
}
|
||||
clear_has_kind();
|
||||
}
|
||||
}
|
||||
void AlterRequest::set_allocated_unset_column_fulltext(::greptime::v1::UnsetColumnFulltext* unset_column_fulltext) {
|
||||
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||
clear_kind();
|
||||
if (unset_column_fulltext) {
|
||||
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
||||
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
|
||||
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(unset_column_fulltext));
|
||||
if (message_arena != submessage_arena) {
|
||||
unset_column_fulltext = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
||||
message_arena, unset_column_fulltext, submessage_arena);
|
||||
}
|
||||
set_has_unset_column_fulltext();
|
||||
_impl_.kind_.unset_column_fulltext_ = unset_column_fulltext;
|
||||
}
|
||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.region.AlterRequest.unset_column_fulltext)
|
||||
}
|
||||
void AlterRequest::clear_unset_column_fulltext() {
|
||||
if (_internal_has_unset_column_fulltext()) {
|
||||
if (GetArenaForAllocation() == nullptr) {
|
||||
delete _impl_.kind_.unset_column_fulltext_;
|
||||
}
|
||||
clear_has_kind();
|
||||
}
|
||||
@@ -5498,9 +5529,14 @@ AlterRequest::AlterRequest(const AlterRequest& from)
|
||||
from._internal_change_table_options());
|
||||
break;
|
||||
}
|
||||
case kChangeColumnFulltext: {
|
||||
_this->_internal_mutable_change_column_fulltext()->::greptime::v1::ChangeColumnFulltext::MergeFrom(
|
||||
from._internal_change_column_fulltext());
|
||||
case kSetColumnFulltext: {
|
||||
_this->_internal_mutable_set_column_fulltext()->::greptime::v1::SetColumnFulltext::MergeFrom(
|
||||
from._internal_set_column_fulltext());
|
||||
break;
|
||||
}
|
||||
case kUnsetColumnFulltext: {
|
||||
_this->_internal_mutable_unset_column_fulltext()->::greptime::v1::UnsetColumnFulltext::MergeFrom(
|
||||
from._internal_unset_column_fulltext());
|
||||
break;
|
||||
}
|
||||
case KIND_NOT_SET: {
|
||||
@@ -5571,9 +5607,15 @@ void AlterRequest::clear_kind() {
|
||||
}
|
||||
break;
|
||||
}
|
||||
case kChangeColumnFulltext: {
|
||||
case kSetColumnFulltext: {
|
||||
if (GetArenaForAllocation() == nullptr) {
|
||||
delete _impl_.kind_.change_column_fulltext_;
|
||||
delete _impl_.kind_.set_column_fulltext_;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case kUnsetColumnFulltext: {
|
||||
if (GetArenaForAllocation() == nullptr) {
|
||||
delete _impl_.kind_.unset_column_fulltext_;
|
||||
}
|
||||
break;
|
||||
}
|
||||
@@ -5652,10 +5694,18 @@ const char* AlterRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext*
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
// .greptime.v1.ChangeColumnFulltext change_column_fulltext = 7;
|
||||
// .greptime.v1.SetColumnFulltext set_column_fulltext = 7;
|
||||
case 7:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
|
||||
ptr = ctx->ParseMessage(_internal_mutable_change_column_fulltext(), ptr);
|
||||
ptr = ctx->ParseMessage(_internal_mutable_set_column_fulltext(), ptr);
|
||||
CHK_(ptr);
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
// .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 8;
|
||||
case 8:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 66)) {
|
||||
ptr = ctx->ParseMessage(_internal_mutable_unset_column_fulltext(), ptr);
|
||||
CHK_(ptr);
|
||||
} else
|
||||
goto handle_unusual;
|
||||
@@ -5729,11 +5779,18 @@ uint8_t* AlterRequest::_InternalSerialize(
|
||||
_Internal::change_table_options(this).GetCachedSize(), target, stream);
|
||||
}
|
||||
|
||||
// .greptime.v1.ChangeColumnFulltext change_column_fulltext = 7;
|
||||
if (_internal_has_change_column_fulltext()) {
|
||||
// .greptime.v1.SetColumnFulltext set_column_fulltext = 7;
|
||||
if (_internal_has_set_column_fulltext()) {
|
||||
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||
InternalWriteMessage(7, _Internal::change_column_fulltext(this),
|
||||
_Internal::change_column_fulltext(this).GetCachedSize(), target, stream);
|
||||
InternalWriteMessage(7, _Internal::set_column_fulltext(this),
|
||||
_Internal::set_column_fulltext(this).GetCachedSize(), target, stream);
|
||||
}
|
||||
|
||||
// .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 8;
|
||||
if (_internal_has_unset_column_fulltext()) {
|
||||
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||
InternalWriteMessage(8, _Internal::unset_column_fulltext(this),
|
||||
_Internal::unset_column_fulltext(this).GetCachedSize(), target, stream);
|
||||
}
|
||||
|
||||
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
||||
@@ -5791,11 +5848,18 @@ size_t AlterRequest::ByteSizeLong() const {
|
||||
*_impl_.kind_.change_table_options_);
|
||||
break;
|
||||
}
|
||||
// .greptime.v1.ChangeColumnFulltext change_column_fulltext = 7;
|
||||
case kChangeColumnFulltext: {
|
||||
// .greptime.v1.SetColumnFulltext set_column_fulltext = 7;
|
||||
case kSetColumnFulltext: {
|
||||
total_size += 1 +
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
|
||||
*_impl_.kind_.change_column_fulltext_);
|
||||
*_impl_.kind_.set_column_fulltext_);
|
||||
break;
|
||||
}
|
||||
// .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 8;
|
||||
case kUnsetColumnFulltext: {
|
||||
total_size += 1 +
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
|
||||
*_impl_.kind_.unset_column_fulltext_);
|
||||
break;
|
||||
}
|
||||
case KIND_NOT_SET: {
|
||||
@@ -5847,9 +5911,14 @@ void AlterRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::P
|
||||
from._internal_change_table_options());
|
||||
break;
|
||||
}
|
||||
case kChangeColumnFulltext: {
|
||||
_this->_internal_mutable_change_column_fulltext()->::greptime::v1::ChangeColumnFulltext::MergeFrom(
|
||||
from._internal_change_column_fulltext());
|
||||
case kSetColumnFulltext: {
|
||||
_this->_internal_mutable_set_column_fulltext()->::greptime::v1::SetColumnFulltext::MergeFrom(
|
||||
from._internal_set_column_fulltext());
|
||||
break;
|
||||
}
|
||||
case kUnsetColumnFulltext: {
|
||||
_this->_internal_mutable_unset_column_fulltext()->::greptime::v1::UnsetColumnFulltext::MergeFrom(
|
||||
from._internal_unset_column_fulltext());
|
||||
break;
|
||||
}
|
||||
case KIND_NOT_SET: {
|
||||
|
||||
@@ -3252,7 +3252,8 @@ class AlterRequest final :
|
||||
kDropColumns = 3,
|
||||
kModifyColumnTypes = 5,
|
||||
kChangeTableOptions = 6,
|
||||
kChangeColumnFulltext = 7,
|
||||
kSetColumnFulltext = 7,
|
||||
kUnsetColumnFulltext = 8,
|
||||
KIND_NOT_SET = 0,
|
||||
};
|
||||
|
||||
@@ -3340,7 +3341,8 @@ class AlterRequest final :
|
||||
kDropColumnsFieldNumber = 3,
|
||||
kModifyColumnTypesFieldNumber = 5,
|
||||
kChangeTableOptionsFieldNumber = 6,
|
||||
kChangeColumnFulltextFieldNumber = 7,
|
||||
kSetColumnFulltextFieldNumber = 7,
|
||||
kUnsetColumnFulltextFieldNumber = 8,
|
||||
};
|
||||
// uint64 region_id = 1;
|
||||
void clear_region_id();
|
||||
@@ -3432,23 +3434,41 @@ class AlterRequest final :
|
||||
::greptime::v1::ChangeTableOptions* change_table_options);
|
||||
::greptime::v1::ChangeTableOptions* unsafe_arena_release_change_table_options();
|
||||
|
||||
// .greptime.v1.ChangeColumnFulltext change_column_fulltext = 7;
|
||||
bool has_change_column_fulltext() const;
|
||||
// .greptime.v1.SetColumnFulltext set_column_fulltext = 7;
|
||||
bool has_set_column_fulltext() const;
|
||||
private:
|
||||
bool _internal_has_change_column_fulltext() const;
|
||||
bool _internal_has_set_column_fulltext() const;
|
||||
public:
|
||||
void clear_change_column_fulltext();
|
||||
const ::greptime::v1::ChangeColumnFulltext& change_column_fulltext() const;
|
||||
PROTOBUF_NODISCARD ::greptime::v1::ChangeColumnFulltext* release_change_column_fulltext();
|
||||
::greptime::v1::ChangeColumnFulltext* mutable_change_column_fulltext();
|
||||
void set_allocated_change_column_fulltext(::greptime::v1::ChangeColumnFulltext* change_column_fulltext);
|
||||
void clear_set_column_fulltext();
|
||||
const ::greptime::v1::SetColumnFulltext& set_column_fulltext() const;
|
||||
PROTOBUF_NODISCARD ::greptime::v1::SetColumnFulltext* release_set_column_fulltext();
|
||||
::greptime::v1::SetColumnFulltext* mutable_set_column_fulltext();
|
||||
void set_allocated_set_column_fulltext(::greptime::v1::SetColumnFulltext* set_column_fulltext);
|
||||
private:
|
||||
const ::greptime::v1::ChangeColumnFulltext& _internal_change_column_fulltext() const;
|
||||
::greptime::v1::ChangeColumnFulltext* _internal_mutable_change_column_fulltext();
|
||||
const ::greptime::v1::SetColumnFulltext& _internal_set_column_fulltext() const;
|
||||
::greptime::v1::SetColumnFulltext* _internal_mutable_set_column_fulltext();
|
||||
public:
|
||||
void unsafe_arena_set_allocated_change_column_fulltext(
|
||||
::greptime::v1::ChangeColumnFulltext* change_column_fulltext);
|
||||
::greptime::v1::ChangeColumnFulltext* unsafe_arena_release_change_column_fulltext();
|
||||
void unsafe_arena_set_allocated_set_column_fulltext(
|
||||
::greptime::v1::SetColumnFulltext* set_column_fulltext);
|
||||
::greptime::v1::SetColumnFulltext* unsafe_arena_release_set_column_fulltext();
|
||||
|
||||
// .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 8;
|
||||
bool has_unset_column_fulltext() const;
|
||||
private:
|
||||
bool _internal_has_unset_column_fulltext() const;
|
||||
public:
|
||||
void clear_unset_column_fulltext();
|
||||
const ::greptime::v1::UnsetColumnFulltext& unset_column_fulltext() const;
|
||||
PROTOBUF_NODISCARD ::greptime::v1::UnsetColumnFulltext* release_unset_column_fulltext();
|
||||
::greptime::v1::UnsetColumnFulltext* mutable_unset_column_fulltext();
|
||||
void set_allocated_unset_column_fulltext(::greptime::v1::UnsetColumnFulltext* unset_column_fulltext);
|
||||
private:
|
||||
const ::greptime::v1::UnsetColumnFulltext& _internal_unset_column_fulltext() const;
|
||||
::greptime::v1::UnsetColumnFulltext* _internal_mutable_unset_column_fulltext();
|
||||
public:
|
||||
void unsafe_arena_set_allocated_unset_column_fulltext(
|
||||
::greptime::v1::UnsetColumnFulltext* unset_column_fulltext);
|
||||
::greptime::v1::UnsetColumnFulltext* unsafe_arena_release_unset_column_fulltext();
|
||||
|
||||
void clear_kind();
|
||||
KindCase kind_case() const;
|
||||
@@ -3459,7 +3479,8 @@ class AlterRequest final :
|
||||
void set_has_drop_columns();
|
||||
void set_has_modify_column_types();
|
||||
void set_has_change_table_options();
|
||||
void set_has_change_column_fulltext();
|
||||
void set_has_set_column_fulltext();
|
||||
void set_has_unset_column_fulltext();
|
||||
|
||||
inline bool has_kind() const;
|
||||
inline void clear_has_kind();
|
||||
@@ -3477,7 +3498,8 @@ class AlterRequest final :
|
||||
::greptime::v1::region::DropColumns* drop_columns_;
|
||||
::greptime::v1::ModifyColumnTypes* modify_column_types_;
|
||||
::greptime::v1::ChangeTableOptions* change_table_options_;
|
||||
::greptime::v1::ChangeColumnFulltext* change_column_fulltext_;
|
||||
::greptime::v1::SetColumnFulltext* set_column_fulltext_;
|
||||
::greptime::v1::UnsetColumnFulltext* unset_column_fulltext_;
|
||||
} kind_;
|
||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||
uint32_t _oneof_case_[1];
|
||||
@@ -7800,69 +7822,135 @@ inline ::greptime::v1::ChangeTableOptions* AlterRequest::mutable_change_table_op
|
||||
return _msg;
|
||||
}
|
||||
|
||||
// .greptime.v1.ChangeColumnFulltext change_column_fulltext = 7;
|
||||
inline bool AlterRequest::_internal_has_change_column_fulltext() const {
|
||||
return kind_case() == kChangeColumnFulltext;
|
||||
// .greptime.v1.SetColumnFulltext set_column_fulltext = 7;
|
||||
inline bool AlterRequest::_internal_has_set_column_fulltext() const {
|
||||
return kind_case() == kSetColumnFulltext;
|
||||
}
|
||||
inline bool AlterRequest::has_change_column_fulltext() const {
|
||||
return _internal_has_change_column_fulltext();
|
||||
inline bool AlterRequest::has_set_column_fulltext() const {
|
||||
return _internal_has_set_column_fulltext();
|
||||
}
|
||||
inline void AlterRequest::set_has_change_column_fulltext() {
|
||||
_impl_._oneof_case_[0] = kChangeColumnFulltext;
|
||||
inline void AlterRequest::set_has_set_column_fulltext() {
|
||||
_impl_._oneof_case_[0] = kSetColumnFulltext;
|
||||
}
|
||||
inline ::greptime::v1::ChangeColumnFulltext* AlterRequest::release_change_column_fulltext() {
|
||||
// @@protoc_insertion_point(field_release:greptime.v1.region.AlterRequest.change_column_fulltext)
|
||||
if (_internal_has_change_column_fulltext()) {
|
||||
inline ::greptime::v1::SetColumnFulltext* AlterRequest::release_set_column_fulltext() {
|
||||
// @@protoc_insertion_point(field_release:greptime.v1.region.AlterRequest.set_column_fulltext)
|
||||
if (_internal_has_set_column_fulltext()) {
|
||||
clear_has_kind();
|
||||
::greptime::v1::ChangeColumnFulltext* temp = _impl_.kind_.change_column_fulltext_;
|
||||
::greptime::v1::SetColumnFulltext* temp = _impl_.kind_.set_column_fulltext_;
|
||||
if (GetArenaForAllocation() != nullptr) {
|
||||
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
||||
}
|
||||
_impl_.kind_.change_column_fulltext_ = nullptr;
|
||||
_impl_.kind_.set_column_fulltext_ = nullptr;
|
||||
return temp;
|
||||
} else {
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
inline const ::greptime::v1::ChangeColumnFulltext& AlterRequest::_internal_change_column_fulltext() const {
|
||||
return _internal_has_change_column_fulltext()
|
||||
? *_impl_.kind_.change_column_fulltext_
|
||||
: reinterpret_cast< ::greptime::v1::ChangeColumnFulltext&>(::greptime::v1::_ChangeColumnFulltext_default_instance_);
|
||||
inline const ::greptime::v1::SetColumnFulltext& AlterRequest::_internal_set_column_fulltext() const {
|
||||
return _internal_has_set_column_fulltext()
|
||||
? *_impl_.kind_.set_column_fulltext_
|
||||
: reinterpret_cast< ::greptime::v1::SetColumnFulltext&>(::greptime::v1::_SetColumnFulltext_default_instance_);
|
||||
}
|
||||
inline const ::greptime::v1::ChangeColumnFulltext& AlterRequest::change_column_fulltext() const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.region.AlterRequest.change_column_fulltext)
|
||||
return _internal_change_column_fulltext();
|
||||
inline const ::greptime::v1::SetColumnFulltext& AlterRequest::set_column_fulltext() const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.region.AlterRequest.set_column_fulltext)
|
||||
return _internal_set_column_fulltext();
|
||||
}
|
||||
inline ::greptime::v1::ChangeColumnFulltext* AlterRequest::unsafe_arena_release_change_column_fulltext() {
|
||||
// @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.region.AlterRequest.change_column_fulltext)
|
||||
if (_internal_has_change_column_fulltext()) {
|
||||
inline ::greptime::v1::SetColumnFulltext* AlterRequest::unsafe_arena_release_set_column_fulltext() {
|
||||
// @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.region.AlterRequest.set_column_fulltext)
|
||||
if (_internal_has_set_column_fulltext()) {
|
||||
clear_has_kind();
|
||||
::greptime::v1::ChangeColumnFulltext* temp = _impl_.kind_.change_column_fulltext_;
|
||||
_impl_.kind_.change_column_fulltext_ = nullptr;
|
||||
::greptime::v1::SetColumnFulltext* temp = _impl_.kind_.set_column_fulltext_;
|
||||
_impl_.kind_.set_column_fulltext_ = nullptr;
|
||||
return temp;
|
||||
} else {
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
inline void AlterRequest::unsafe_arena_set_allocated_change_column_fulltext(::greptime::v1::ChangeColumnFulltext* change_column_fulltext) {
|
||||
inline void AlterRequest::unsafe_arena_set_allocated_set_column_fulltext(::greptime::v1::SetColumnFulltext* set_column_fulltext) {
|
||||
clear_kind();
|
||||
if (change_column_fulltext) {
|
||||
set_has_change_column_fulltext();
|
||||
_impl_.kind_.change_column_fulltext_ = change_column_fulltext;
|
||||
if (set_column_fulltext) {
|
||||
set_has_set_column_fulltext();
|
||||
_impl_.kind_.set_column_fulltext_ = set_column_fulltext;
|
||||
}
|
||||
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.region.AlterRequest.change_column_fulltext)
|
||||
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.region.AlterRequest.set_column_fulltext)
|
||||
}
|
||||
inline ::greptime::v1::ChangeColumnFulltext* AlterRequest::_internal_mutable_change_column_fulltext() {
|
||||
if (!_internal_has_change_column_fulltext()) {
|
||||
inline ::greptime::v1::SetColumnFulltext* AlterRequest::_internal_mutable_set_column_fulltext() {
|
||||
if (!_internal_has_set_column_fulltext()) {
|
||||
clear_kind();
|
||||
set_has_change_column_fulltext();
|
||||
_impl_.kind_.change_column_fulltext_ = CreateMaybeMessage< ::greptime::v1::ChangeColumnFulltext >(GetArenaForAllocation());
|
||||
set_has_set_column_fulltext();
|
||||
_impl_.kind_.set_column_fulltext_ = CreateMaybeMessage< ::greptime::v1::SetColumnFulltext >(GetArenaForAllocation());
|
||||
}
|
||||
return _impl_.kind_.change_column_fulltext_;
|
||||
return _impl_.kind_.set_column_fulltext_;
|
||||
}
|
||||
inline ::greptime::v1::ChangeColumnFulltext* AlterRequest::mutable_change_column_fulltext() {
|
||||
::greptime::v1::ChangeColumnFulltext* _msg = _internal_mutable_change_column_fulltext();
|
||||
// @@protoc_insertion_point(field_mutable:greptime.v1.region.AlterRequest.change_column_fulltext)
|
||||
inline ::greptime::v1::SetColumnFulltext* AlterRequest::mutable_set_column_fulltext() {
|
||||
::greptime::v1::SetColumnFulltext* _msg = _internal_mutable_set_column_fulltext();
|
||||
// @@protoc_insertion_point(field_mutable:greptime.v1.region.AlterRequest.set_column_fulltext)
|
||||
return _msg;
|
||||
}
|
||||
|
||||
// .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 8;
|
||||
inline bool AlterRequest::_internal_has_unset_column_fulltext() const {
|
||||
return kind_case() == kUnsetColumnFulltext;
|
||||
}
|
||||
inline bool AlterRequest::has_unset_column_fulltext() const {
|
||||
return _internal_has_unset_column_fulltext();
|
||||
}
|
||||
inline void AlterRequest::set_has_unset_column_fulltext() {
|
||||
_impl_._oneof_case_[0] = kUnsetColumnFulltext;
|
||||
}
|
||||
inline ::greptime::v1::UnsetColumnFulltext* AlterRequest::release_unset_column_fulltext() {
|
||||
// @@protoc_insertion_point(field_release:greptime.v1.region.AlterRequest.unset_column_fulltext)
|
||||
if (_internal_has_unset_column_fulltext()) {
|
||||
clear_has_kind();
|
||||
::greptime::v1::UnsetColumnFulltext* temp = _impl_.kind_.unset_column_fulltext_;
|
||||
if (GetArenaForAllocation() != nullptr) {
|
||||
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
||||
}
|
||||
_impl_.kind_.unset_column_fulltext_ = nullptr;
|
||||
return temp;
|
||||
} else {
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
inline const ::greptime::v1::UnsetColumnFulltext& AlterRequest::_internal_unset_column_fulltext() const {
|
||||
return _internal_has_unset_column_fulltext()
|
||||
? *_impl_.kind_.unset_column_fulltext_
|
||||
: reinterpret_cast< ::greptime::v1::UnsetColumnFulltext&>(::greptime::v1::_UnsetColumnFulltext_default_instance_);
|
||||
}
|
||||
inline const ::greptime::v1::UnsetColumnFulltext& AlterRequest::unset_column_fulltext() const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.region.AlterRequest.unset_column_fulltext)
|
||||
return _internal_unset_column_fulltext();
|
||||
}
|
||||
inline ::greptime::v1::UnsetColumnFulltext* AlterRequest::unsafe_arena_release_unset_column_fulltext() {
|
||||
// @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.region.AlterRequest.unset_column_fulltext)
|
||||
if (_internal_has_unset_column_fulltext()) {
|
||||
clear_has_kind();
|
||||
::greptime::v1::UnsetColumnFulltext* temp = _impl_.kind_.unset_column_fulltext_;
|
||||
_impl_.kind_.unset_column_fulltext_ = nullptr;
|
||||
return temp;
|
||||
} else {
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
inline void AlterRequest::unsafe_arena_set_allocated_unset_column_fulltext(::greptime::v1::UnsetColumnFulltext* unset_column_fulltext) {
|
||||
clear_kind();
|
||||
if (unset_column_fulltext) {
|
||||
set_has_unset_column_fulltext();
|
||||
_impl_.kind_.unset_column_fulltext_ = unset_column_fulltext;
|
||||
}
|
||||
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.region.AlterRequest.unset_column_fulltext)
|
||||
}
|
||||
inline ::greptime::v1::UnsetColumnFulltext* AlterRequest::_internal_mutable_unset_column_fulltext() {
|
||||
if (!_internal_has_unset_column_fulltext()) {
|
||||
clear_kind();
|
||||
set_has_unset_column_fulltext();
|
||||
_impl_.kind_.unset_column_fulltext_ = CreateMaybeMessage< ::greptime::v1::UnsetColumnFulltext >(GetArenaForAllocation());
|
||||
}
|
||||
return _impl_.kind_.unset_column_fulltext_;
|
||||
}
|
||||
inline ::greptime::v1::UnsetColumnFulltext* AlterRequest::mutable_unset_column_fulltext() {
|
||||
::greptime::v1::UnsetColumnFulltext* _msg = _internal_mutable_unset_column_fulltext();
|
||||
// @@protoc_insertion_point(field_mutable:greptime.v1.region.AlterRequest.unset_column_fulltext)
|
||||
return _msg;
|
||||
}
|
||||
|
||||
|
||||
+310
-226
@@ -844,7 +844,8 @@ type AlterExpr struct {
|
||||
// *AlterExpr_RenameTable
|
||||
// *AlterExpr_ModifyColumnTypes
|
||||
// *AlterExpr_ChangeTableOptions
|
||||
// *AlterExpr_ChangeColumnFulltext
|
||||
// *AlterExpr_SetColumnFulltext
|
||||
// *AlterExpr_UnsetColumnFulltext
|
||||
Kind isAlterExpr_Kind `protobuf_oneof:"kind"`
|
||||
}
|
||||
|
||||
@@ -943,9 +944,16 @@ func (x *AlterExpr) GetChangeTableOptions() *ChangeTableOptions {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *AlterExpr) GetChangeColumnFulltext() *ChangeColumnFulltext {
|
||||
if x, ok := x.GetKind().(*AlterExpr_ChangeColumnFulltext); ok {
|
||||
return x.ChangeColumnFulltext
|
||||
func (x *AlterExpr) GetSetColumnFulltext() *SetColumnFulltext {
|
||||
if x, ok := x.GetKind().(*AlterExpr_SetColumnFulltext); ok {
|
||||
return x.SetColumnFulltext
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *AlterExpr) GetUnsetColumnFulltext() *UnsetColumnFulltext {
|
||||
if x, ok := x.GetKind().(*AlterExpr_UnsetColumnFulltext); ok {
|
||||
return x.UnsetColumnFulltext
|
||||
}
|
||||
return nil
|
||||
}
|
||||
@@ -974,8 +982,12 @@ type AlterExpr_ChangeTableOptions struct {
|
||||
ChangeTableOptions *ChangeTableOptions `protobuf:"bytes,8,opt,name=change_table_options,json=changeTableOptions,proto3,oneof"`
|
||||
}
|
||||
|
||||
type AlterExpr_ChangeColumnFulltext struct {
|
||||
ChangeColumnFulltext *ChangeColumnFulltext `protobuf:"bytes,9,opt,name=change_column_fulltext,json=changeColumnFulltext,proto3,oneof"`
|
||||
type AlterExpr_SetColumnFulltext struct {
|
||||
SetColumnFulltext *SetColumnFulltext `protobuf:"bytes,9,opt,name=set_column_fulltext,json=setColumnFulltext,proto3,oneof"`
|
||||
}
|
||||
|
||||
type AlterExpr_UnsetColumnFulltext struct {
|
||||
UnsetColumnFulltext *UnsetColumnFulltext `protobuf:"bytes,10,opt,name=unset_column_fulltext,json=unsetColumnFulltext,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*AlterExpr_AddColumns) isAlterExpr_Kind() {}
|
||||
@@ -988,7 +1000,9 @@ func (*AlterExpr_ModifyColumnTypes) isAlterExpr_Kind() {}
|
||||
|
||||
func (*AlterExpr_ChangeTableOptions) isAlterExpr_Kind() {}
|
||||
|
||||
func (*AlterExpr_ChangeColumnFulltext) isAlterExpr_Kind() {}
|
||||
func (*AlterExpr_SetColumnFulltext) isAlterExpr_Kind() {}
|
||||
|
||||
func (*AlterExpr_UnsetColumnFulltext) isAlterExpr_Kind() {}
|
||||
|
||||
type DropTableExpr struct {
|
||||
state protoimpl.MessageState
|
||||
@@ -1983,7 +1997,7 @@ func (x *AddColumnLocation) GetAfterColumnName() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
type ChangeColumnFulltext struct {
|
||||
type SetColumnFulltext struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
@@ -1994,8 +2008,8 @@ type ChangeColumnFulltext struct {
|
||||
CaseSensitive bool `protobuf:"varint,4,opt,name=case_sensitive,json=caseSensitive,proto3" json:"case_sensitive,omitempty"`
|
||||
}
|
||||
|
||||
func (x *ChangeColumnFulltext) Reset() {
|
||||
*x = ChangeColumnFulltext{}
|
||||
func (x *SetColumnFulltext) Reset() {
|
||||
*x = SetColumnFulltext{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_greptime_v1_ddl_proto_msgTypes[24]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
@@ -2003,13 +2017,13 @@ func (x *ChangeColumnFulltext) Reset() {
|
||||
}
|
||||
}
|
||||
|
||||
func (x *ChangeColumnFulltext) String() string {
|
||||
func (x *SetColumnFulltext) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ChangeColumnFulltext) ProtoMessage() {}
|
||||
func (*SetColumnFulltext) ProtoMessage() {}
|
||||
|
||||
func (x *ChangeColumnFulltext) ProtoReflect() protoreflect.Message {
|
||||
func (x *SetColumnFulltext) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_greptime_v1_ddl_proto_msgTypes[24]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
@@ -2021,39 +2035,86 @@ func (x *ChangeColumnFulltext) ProtoReflect() protoreflect.Message {
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use ChangeColumnFulltext.ProtoReflect.Descriptor instead.
|
||||
func (*ChangeColumnFulltext) Descriptor() ([]byte, []int) {
|
||||
// Deprecated: Use SetColumnFulltext.ProtoReflect.Descriptor instead.
|
||||
func (*SetColumnFulltext) Descriptor() ([]byte, []int) {
|
||||
return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{24}
|
||||
}
|
||||
|
||||
func (x *ChangeColumnFulltext) GetColumnName() string {
|
||||
func (x *SetColumnFulltext) GetColumnName() string {
|
||||
if x != nil {
|
||||
return x.ColumnName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ChangeColumnFulltext) GetEnable() bool {
|
||||
func (x *SetColumnFulltext) GetEnable() bool {
|
||||
if x != nil {
|
||||
return x.Enable
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (x *ChangeColumnFulltext) GetAnalyzer() Analyzer {
|
||||
func (x *SetColumnFulltext) GetAnalyzer() Analyzer {
|
||||
if x != nil {
|
||||
return x.Analyzer
|
||||
}
|
||||
return Analyzer_ENGLISH
|
||||
}
|
||||
|
||||
func (x *ChangeColumnFulltext) GetCaseSensitive() bool {
|
||||
func (x *SetColumnFulltext) GetCaseSensitive() bool {
|
||||
if x != nil {
|
||||
return x.CaseSensitive
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
type UnsetColumnFulltext struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
ColumnName string `protobuf:"bytes,1,opt,name=column_name,json=columnName,proto3" json:"column_name,omitempty"`
|
||||
}
|
||||
|
||||
func (x *UnsetColumnFulltext) Reset() {
|
||||
*x = UnsetColumnFulltext{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_greptime_v1_ddl_proto_msgTypes[25]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *UnsetColumnFulltext) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UnsetColumnFulltext) ProtoMessage() {}
|
||||
|
||||
func (x *UnsetColumnFulltext) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_greptime_v1_ddl_proto_msgTypes[25]
|
||||
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 UnsetColumnFulltext.ProtoReflect.Descriptor instead.
|
||||
func (*UnsetColumnFulltext) Descriptor() ([]byte, []int) {
|
||||
return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{25}
|
||||
}
|
||||
|
||||
func (x *UnsetColumnFulltext) GetColumnName() string {
|
||||
if x != nil {
|
||||
return x.ColumnName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
var File_greptime_v1_ddl_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_greptime_v1_ddl_proto_rawDesc = []byte{
|
||||
@@ -2212,7 +2273,7 @@ var file_greptime_v1_ddl_proto_rawDesc = []byte{
|
||||
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, 0xb2, 0x04, 0x0a, 0x09, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21,
|
||||
0x22, 0x81, 0x05, 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,
|
||||
@@ -2241,172 +2302,180 @@ var file_greptime_v1_ddl_proto_rawDesc = []byte{
|
||||
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65,
|
||||
0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x12,
|
||||
0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f,
|
||||
0x6e, 0x73, 0x12, 0x59, 0x0a, 0x16, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6c,
|
||||
0x75, 0x6d, 0x6e, 0x5f, 0x66, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x18, 0x09, 0x20, 0x01,
|
||||
0x28, 0x0b, 0x32, 0x21, 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, 0x46, 0x75, 0x6c,
|
||||
0x6c, 0x74, 0x65, 0x78, 0x74, 0x48, 0x00, 0x52, 0x14, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43,
|
||||
0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x46, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 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,
|
||||
0x6e, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x73, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e,
|
||||
0x5f, 0x66, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||||
0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65,
|
||||
0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x46, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x48,
|
||||
0x00, 0x52, 0x11, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x46, 0x75, 0x6c, 0x6c,
|
||||
0x74, 0x65, 0x78, 0x74, 0x12, 0x56, 0x0a, 0x15, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x5f, 0x63, 0x6f,
|
||||
0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x66, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x18, 0x0a, 0x20,
|
||||
0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76,
|
||||
0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x46, 0x75, 0x6c,
|
||||
0x6c, 0x74, 0x65, 0x78, 0x74, 0x48, 0x00, 0x52, 0x13, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x43, 0x6f,
|
||||
0x6c, 0x75, 0x6d, 0x6e, 0x46, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 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, 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, 0x4d,
|
||||
0x6f, 0x64, 0x69, 0x66, 0x79, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73,
|
||||
0x12, 0x4d, 0x0a, 0x13, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 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, 0x4d, 0x6f, 0x64, 0x69,
|
||||
0x66, 0x79, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x11, 0x6d, 0x6f,
|
||||
0x64, 0x69, 0x66, 0x79, 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, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 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, 0x66, 0x0a, 0x12, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x61, 0x62, 0x6c,
|
||||
0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x50, 0x0a, 0x14, 0x63, 0x68, 0x61, 0x6e,
|
||||
0x67, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
|
||||
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65,
|
||||
0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x12, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x61,
|
||||
0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x3b, 0x0a, 0x11, 0x43, 0x68,
|
||||
0x61, 0x6e, 0x67, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 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, 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, 0x8e,
|
||||
0x03, 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, 0x12, 0x34, 0x0a, 0x07, 0x6f, 0x70, 0x74,
|
||||
0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x65,
|
||||
0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4f,
|
||||
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 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, 0x22, 0xa9, 0x01, 0x0a, 0x14, 0x43, 0x68,
|
||||
0x61, 0x6e, 0x67, 0x65, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x46, 0x75, 0x6c, 0x6c, 0x74, 0x65,
|
||||
0x78, 0x74, 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, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20,
|
||||
0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x31, 0x0a, 0x08, 0x61,
|
||||
0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e,
|
||||
0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6e, 0x61, 0x6c,
|
||||
0x79, 0x7a, 0x65, 0x72, 0x52, 0x08, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x72, 0x12, 0x25,
|
||||
0x0a, 0x0e, 0x63, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65,
|
||||
0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x63, 0x61, 0x73, 0x65, 0x53, 0x65, 0x6e, 0x73,
|
||||
0x69, 0x74, 0x69, 0x76, 0x65, 0x2a, 0x24, 0x0a, 0x08, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65,
|
||||
0x72, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x4e, 0x47, 0x4c, 0x49, 0x53, 0x48, 0x10, 0x00, 0x12, 0x0b,
|
||||
0x0a, 0x07, 0x43, 0x48, 0x49, 0x4e, 0x45, 0x53, 0x45, 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,
|
||||
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, 0x4d, 0x6f,
|
||||
0x64, 0x69, 0x66, 0x79, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12,
|
||||
0x4d, 0x0a, 0x13, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 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, 0x4d, 0x6f, 0x64, 0x69, 0x66,
|
||||
0x79, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x11, 0x6d, 0x6f, 0x64,
|
||||
0x69, 0x66, 0x79, 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, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 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, 0x66, 0x0a, 0x12, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65,
|
||||
0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x50, 0x0a, 0x14, 0x63, 0x68, 0x61, 0x6e, 0x67,
|
||||
0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18,
|
||||
0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
|
||||
0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f,
|
||||
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x12, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x61, 0x62,
|
||||
0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x3b, 0x0a, 0x11, 0x43, 0x68, 0x61,
|
||||
0x6e, 0x67, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 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, 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, 0x8e, 0x03,
|
||||
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, 0x12, 0x34, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69,
|
||||
0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x65, 0x70,
|
||||
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4f, 0x70,
|
||||
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 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, 0x22, 0xa6, 0x01, 0x0a, 0x11, 0x53, 0x65, 0x74,
|
||||
0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x46, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 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,
|
||||
0x16, 0x0a, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52,
|
||||
0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x31, 0x0a, 0x08, 0x61, 0x6e, 0x61, 0x6c, 0x79,
|
||||
0x7a, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x67, 0x72, 0x65, 0x70,
|
||||
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x72,
|
||||
0x52, 0x08, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x61,
|
||||
0x73, 0x65, 0x5f, 0x73, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x18, 0x04, 0x20, 0x01,
|
||||
0x28, 0x08, 0x52, 0x0d, 0x63, 0x61, 0x73, 0x65, 0x53, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76,
|
||||
0x65, 0x22, 0x36, 0x0a, 0x13, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e,
|
||||
0x46, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 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, 0x2a, 0x24, 0x0a, 0x08, 0x41, 0x6e, 0x61,
|
||||
0x6c, 0x79, 0x7a, 0x65, 0x72, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x4e, 0x47, 0x4c, 0x49, 0x53, 0x48,
|
||||
0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x48, 0x49, 0x4e, 0x45, 0x53, 0x45, 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 (
|
||||
@@ -2422,7 +2491,7 @@ func file_greptime_v1_ddl_proto_rawDescGZIP() []byte {
|
||||
}
|
||||
|
||||
var file_greptime_v1_ddl_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
|
||||
var file_greptime_v1_ddl_proto_msgTypes = make([]protoimpl.MessageInfo, 28)
|
||||
var file_greptime_v1_ddl_proto_msgTypes = make([]protoimpl.MessageInfo, 29)
|
||||
var file_greptime_v1_ddl_proto_goTypes = []interface{}{
|
||||
(Analyzer)(0), // 0: greptime.v1.Analyzer
|
||||
(AddColumnLocation_LocationType)(0), // 1: greptime.v1.AddColumnLocation.LocationType
|
||||
@@ -2450,16 +2519,17 @@ var file_greptime_v1_ddl_proto_goTypes = []interface{}{
|
||||
(*FlowId)(nil), // 23: greptime.v1.FlowId
|
||||
(*ColumnDef)(nil), // 24: greptime.v1.ColumnDef
|
||||
(*AddColumnLocation)(nil), // 25: greptime.v1.AddColumnLocation
|
||||
(*ChangeColumnFulltext)(nil), // 26: greptime.v1.ChangeColumnFulltext
|
||||
nil, // 27: greptime.v1.CreateFlowExpr.FlowOptionsEntry
|
||||
nil, // 28: greptime.v1.CreateTableExpr.TableOptionsEntry
|
||||
nil, // 29: greptime.v1.CreateDatabaseExpr.OptionsEntry
|
||||
(*TableName)(nil), // 30: greptime.v1.TableName
|
||||
(*ExpireAfter)(nil), // 31: greptime.v1.ExpireAfter
|
||||
(ColumnDataType)(0), // 32: greptime.v1.ColumnDataType
|
||||
(*ColumnDataTypeExtension)(nil), // 33: greptime.v1.ColumnDataTypeExtension
|
||||
(SemanticType)(0), // 34: greptime.v1.SemanticType
|
||||
(*ColumnOptions)(nil), // 35: greptime.v1.ColumnOptions
|
||||
(*SetColumnFulltext)(nil), // 26: greptime.v1.SetColumnFulltext
|
||||
(*UnsetColumnFulltext)(nil), // 27: greptime.v1.UnsetColumnFulltext
|
||||
nil, // 28: greptime.v1.CreateFlowExpr.FlowOptionsEntry
|
||||
nil, // 29: greptime.v1.CreateTableExpr.TableOptionsEntry
|
||||
nil, // 30: greptime.v1.CreateDatabaseExpr.OptionsEntry
|
||||
(*TableName)(nil), // 31: greptime.v1.TableName
|
||||
(*ExpireAfter)(nil), // 32: greptime.v1.ExpireAfter
|
||||
(ColumnDataType)(0), // 33: greptime.v1.ColumnDataType
|
||||
(*ColumnDataTypeExtension)(nil), // 34: greptime.v1.ColumnDataTypeExtension
|
||||
(SemanticType)(0), // 35: greptime.v1.SemanticType
|
||||
(*ColumnOptions)(nil), // 36: greptime.v1.ColumnOptions
|
||||
}
|
||||
var file_greptime_v1_ddl_proto_depIdxs = []int32{
|
||||
10, // 0: greptime.v1.DdlRequest.create_database:type_name -> greptime.v1.CreateDatabaseExpr
|
||||
@@ -2471,44 +2541,45 @@ var file_greptime_v1_ddl_proto_depIdxs = []int32{
|
||||
4, // 6: greptime.v1.DdlRequest.drop_flow:type_name -> greptime.v1.DropFlowExpr
|
||||
5, // 7: greptime.v1.DdlRequest.create_view:type_name -> greptime.v1.CreateViewExpr
|
||||
6, // 8: greptime.v1.DdlRequest.drop_view:type_name -> greptime.v1.DropViewExpr
|
||||
30, // 9: greptime.v1.CreateFlowExpr.source_table_names:type_name -> greptime.v1.TableName
|
||||
30, // 10: greptime.v1.CreateFlowExpr.sink_table_name:type_name -> greptime.v1.TableName
|
||||
31, // 11: greptime.v1.CreateFlowExpr.expire_after:type_name -> greptime.v1.ExpireAfter
|
||||
27, // 12: greptime.v1.CreateFlowExpr.flow_options:type_name -> greptime.v1.CreateFlowExpr.FlowOptionsEntry
|
||||
31, // 9: greptime.v1.CreateFlowExpr.source_table_names:type_name -> greptime.v1.TableName
|
||||
31, // 10: greptime.v1.CreateFlowExpr.sink_table_name:type_name -> greptime.v1.TableName
|
||||
32, // 11: greptime.v1.CreateFlowExpr.expire_after:type_name -> greptime.v1.ExpireAfter
|
||||
28, // 12: greptime.v1.CreateFlowExpr.flow_options:type_name -> greptime.v1.CreateFlowExpr.FlowOptionsEntry
|
||||
23, // 13: greptime.v1.DropFlowExpr.flow_id:type_name -> greptime.v1.FlowId
|
||||
30, // 14: greptime.v1.CreateViewExpr.table_names:type_name -> greptime.v1.TableName
|
||||
31, // 14: greptime.v1.CreateViewExpr.table_names:type_name -> greptime.v1.TableName
|
||||
22, // 15: greptime.v1.DropViewExpr.view_id:type_name -> greptime.v1.TableId
|
||||
24, // 16: greptime.v1.CreateTableExpr.column_defs:type_name -> greptime.v1.ColumnDef
|
||||
28, // 17: greptime.v1.CreateTableExpr.table_options:type_name -> greptime.v1.CreateTableExpr.TableOptionsEntry
|
||||
29, // 17: greptime.v1.CreateTableExpr.table_options:type_name -> greptime.v1.CreateTableExpr.TableOptionsEntry
|
||||
22, // 18: greptime.v1.CreateTableExpr.table_id:type_name -> greptime.v1.TableId
|
||||
13, // 19: greptime.v1.AlterExpr.add_columns:type_name -> greptime.v1.AddColumns
|
||||
14, // 20: greptime.v1.AlterExpr.drop_columns:type_name -> greptime.v1.DropColumns
|
||||
16, // 21: greptime.v1.AlterExpr.rename_table:type_name -> greptime.v1.RenameTable
|
||||
15, // 22: greptime.v1.AlterExpr.modify_column_types:type_name -> greptime.v1.ModifyColumnTypes
|
||||
19, // 23: greptime.v1.AlterExpr.change_table_options:type_name -> greptime.v1.ChangeTableOptions
|
||||
26, // 24: greptime.v1.AlterExpr.change_column_fulltext:type_name -> greptime.v1.ChangeColumnFulltext
|
||||
22, // 25: greptime.v1.DropTableExpr.table_id:type_name -> greptime.v1.TableId
|
||||
29, // 26: greptime.v1.CreateDatabaseExpr.options:type_name -> greptime.v1.CreateDatabaseExpr.OptionsEntry
|
||||
22, // 27: greptime.v1.TruncateTableExpr.table_id:type_name -> greptime.v1.TableId
|
||||
17, // 28: greptime.v1.AddColumns.add_columns:type_name -> greptime.v1.AddColumn
|
||||
21, // 29: greptime.v1.DropColumns.drop_columns:type_name -> greptime.v1.DropColumn
|
||||
18, // 30: greptime.v1.ModifyColumnTypes.modify_column_types:type_name -> greptime.v1.ModifyColumnType
|
||||
24, // 31: greptime.v1.AddColumn.column_def:type_name -> greptime.v1.ColumnDef
|
||||
25, // 32: greptime.v1.AddColumn.location:type_name -> greptime.v1.AddColumnLocation
|
||||
32, // 33: greptime.v1.ModifyColumnType.target_type:type_name -> greptime.v1.ColumnDataType
|
||||
33, // 34: greptime.v1.ModifyColumnType.target_type_extension:type_name -> greptime.v1.ColumnDataTypeExtension
|
||||
20, // 35: greptime.v1.ChangeTableOptions.change_table_options:type_name -> greptime.v1.ChangeTableOption
|
||||
32, // 36: greptime.v1.ColumnDef.data_type:type_name -> greptime.v1.ColumnDataType
|
||||
34, // 37: greptime.v1.ColumnDef.semantic_type:type_name -> greptime.v1.SemanticType
|
||||
33, // 38: greptime.v1.ColumnDef.datatype_extension:type_name -> greptime.v1.ColumnDataTypeExtension
|
||||
35, // 39: greptime.v1.ColumnDef.options:type_name -> greptime.v1.ColumnOptions
|
||||
1, // 40: greptime.v1.AddColumnLocation.location_type:type_name -> greptime.v1.AddColumnLocation.LocationType
|
||||
0, // 41: greptime.v1.ChangeColumnFulltext.analyzer:type_name -> greptime.v1.Analyzer
|
||||
42, // [42:42] is the sub-list for method output_type
|
||||
42, // [42:42] is the sub-list for method input_type
|
||||
42, // [42:42] is the sub-list for extension type_name
|
||||
42, // [42:42] is the sub-list for extension extendee
|
||||
0, // [0:42] is the sub-list for field type_name
|
||||
26, // 24: greptime.v1.AlterExpr.set_column_fulltext:type_name -> greptime.v1.SetColumnFulltext
|
||||
27, // 25: greptime.v1.AlterExpr.unset_column_fulltext:type_name -> greptime.v1.UnsetColumnFulltext
|
||||
22, // 26: greptime.v1.DropTableExpr.table_id:type_name -> greptime.v1.TableId
|
||||
30, // 27: greptime.v1.CreateDatabaseExpr.options:type_name -> greptime.v1.CreateDatabaseExpr.OptionsEntry
|
||||
22, // 28: greptime.v1.TruncateTableExpr.table_id:type_name -> greptime.v1.TableId
|
||||
17, // 29: greptime.v1.AddColumns.add_columns:type_name -> greptime.v1.AddColumn
|
||||
21, // 30: greptime.v1.DropColumns.drop_columns:type_name -> greptime.v1.DropColumn
|
||||
18, // 31: greptime.v1.ModifyColumnTypes.modify_column_types:type_name -> greptime.v1.ModifyColumnType
|
||||
24, // 32: greptime.v1.AddColumn.column_def:type_name -> greptime.v1.ColumnDef
|
||||
25, // 33: greptime.v1.AddColumn.location:type_name -> greptime.v1.AddColumnLocation
|
||||
33, // 34: greptime.v1.ModifyColumnType.target_type:type_name -> greptime.v1.ColumnDataType
|
||||
34, // 35: greptime.v1.ModifyColumnType.target_type_extension:type_name -> greptime.v1.ColumnDataTypeExtension
|
||||
20, // 36: greptime.v1.ChangeTableOptions.change_table_options:type_name -> greptime.v1.ChangeTableOption
|
||||
33, // 37: greptime.v1.ColumnDef.data_type:type_name -> greptime.v1.ColumnDataType
|
||||
35, // 38: greptime.v1.ColumnDef.semantic_type:type_name -> greptime.v1.SemanticType
|
||||
34, // 39: greptime.v1.ColumnDef.datatype_extension:type_name -> greptime.v1.ColumnDataTypeExtension
|
||||
36, // 40: greptime.v1.ColumnDef.options:type_name -> greptime.v1.ColumnOptions
|
||||
1, // 41: greptime.v1.AddColumnLocation.location_type:type_name -> greptime.v1.AddColumnLocation.LocationType
|
||||
0, // 42: greptime.v1.SetColumnFulltext.analyzer:type_name -> greptime.v1.Analyzer
|
||||
43, // [43:43] is the sub-list for method output_type
|
||||
43, // [43:43] is the sub-list for method input_type
|
||||
43, // [43:43] is the sub-list for extension type_name
|
||||
43, // [43:43] is the sub-list for extension extendee
|
||||
0, // [0:43] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_greptime_v1_ddl_proto_init() }
|
||||
@@ -2807,7 +2878,19 @@ func file_greptime_v1_ddl_proto_init() {
|
||||
}
|
||||
}
|
||||
file_greptime_v1_ddl_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*ChangeColumnFulltext); i {
|
||||
switch v := v.(*SetColumnFulltext); 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[25].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*UnsetColumnFulltext); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
@@ -2836,7 +2919,8 @@ func file_greptime_v1_ddl_proto_init() {
|
||||
(*AlterExpr_RenameTable)(nil),
|
||||
(*AlterExpr_ModifyColumnTypes)(nil),
|
||||
(*AlterExpr_ChangeTableOptions)(nil),
|
||||
(*AlterExpr_ChangeColumnFulltext)(nil),
|
||||
(*AlterExpr_SetColumnFulltext)(nil),
|
||||
(*AlterExpr_UnsetColumnFulltext)(nil),
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
@@ -2844,7 +2928,7 @@ func file_greptime_v1_ddl_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_greptime_v1_ddl_proto_rawDesc,
|
||||
NumEnums: 2,
|
||||
NumMessages: 28,
|
||||
NumMessages: 29,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -16449,19 +16449,34 @@ java.lang.String defaultValue);
|
||||
io.greptime.v1.Ddl.ChangeTableOptionsOrBuilder getChangeTableOptionsOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>.greptime.v1.ChangeColumnFulltext change_column_fulltext = 7;</code>
|
||||
* @return Whether the changeColumnFulltext field is set.
|
||||
* <code>.greptime.v1.SetColumnFulltext set_column_fulltext = 7;</code>
|
||||
* @return Whether the setColumnFulltext field is set.
|
||||
*/
|
||||
boolean hasChangeColumnFulltext();
|
||||
boolean hasSetColumnFulltext();
|
||||
/**
|
||||
* <code>.greptime.v1.ChangeColumnFulltext change_column_fulltext = 7;</code>
|
||||
* @return The changeColumnFulltext.
|
||||
* <code>.greptime.v1.SetColumnFulltext set_column_fulltext = 7;</code>
|
||||
* @return The setColumnFulltext.
|
||||
*/
|
||||
io.greptime.v1.Ddl.ChangeColumnFulltext getChangeColumnFulltext();
|
||||
io.greptime.v1.Ddl.SetColumnFulltext getSetColumnFulltext();
|
||||
/**
|
||||
* <code>.greptime.v1.ChangeColumnFulltext change_column_fulltext = 7;</code>
|
||||
* <code>.greptime.v1.SetColumnFulltext set_column_fulltext = 7;</code>
|
||||
*/
|
||||
io.greptime.v1.Ddl.ChangeColumnFulltextOrBuilder getChangeColumnFulltextOrBuilder();
|
||||
io.greptime.v1.Ddl.SetColumnFulltextOrBuilder getSetColumnFulltextOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>.greptime.v1.UnsetColumnFulltext unset_column_fulltext = 8;</code>
|
||||
* @return Whether the unsetColumnFulltext field is set.
|
||||
*/
|
||||
boolean hasUnsetColumnFulltext();
|
||||
/**
|
||||
* <code>.greptime.v1.UnsetColumnFulltext unset_column_fulltext = 8;</code>
|
||||
* @return The unsetColumnFulltext.
|
||||
*/
|
||||
io.greptime.v1.Ddl.UnsetColumnFulltext getUnsetColumnFulltext();
|
||||
/**
|
||||
* <code>.greptime.v1.UnsetColumnFulltext unset_column_fulltext = 8;</code>
|
||||
*/
|
||||
io.greptime.v1.Ddl.UnsetColumnFulltextOrBuilder getUnsetColumnFulltextOrBuilder();
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
@@ -16587,19 +16602,33 @@ java.lang.String defaultValue);
|
||||
break;
|
||||
}
|
||||
case 58: {
|
||||
io.greptime.v1.Ddl.ChangeColumnFulltext.Builder subBuilder = null;
|
||||
io.greptime.v1.Ddl.SetColumnFulltext.Builder subBuilder = null;
|
||||
if (kindCase_ == 7) {
|
||||
subBuilder = ((io.greptime.v1.Ddl.ChangeColumnFulltext) kind_).toBuilder();
|
||||
subBuilder = ((io.greptime.v1.Ddl.SetColumnFulltext) kind_).toBuilder();
|
||||
}
|
||||
kind_ =
|
||||
input.readMessage(io.greptime.v1.Ddl.ChangeColumnFulltext.parser(), extensionRegistry);
|
||||
input.readMessage(io.greptime.v1.Ddl.SetColumnFulltext.parser(), extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom((io.greptime.v1.Ddl.ChangeColumnFulltext) kind_);
|
||||
subBuilder.mergeFrom((io.greptime.v1.Ddl.SetColumnFulltext) kind_);
|
||||
kind_ = subBuilder.buildPartial();
|
||||
}
|
||||
kindCase_ = 7;
|
||||
break;
|
||||
}
|
||||
case 66: {
|
||||
io.greptime.v1.Ddl.UnsetColumnFulltext.Builder subBuilder = null;
|
||||
if (kindCase_ == 8) {
|
||||
subBuilder = ((io.greptime.v1.Ddl.UnsetColumnFulltext) kind_).toBuilder();
|
||||
}
|
||||
kind_ =
|
||||
input.readMessage(io.greptime.v1.Ddl.UnsetColumnFulltext.parser(), extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom((io.greptime.v1.Ddl.UnsetColumnFulltext) kind_);
|
||||
kind_ = subBuilder.buildPartial();
|
||||
}
|
||||
kindCase_ = 8;
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
@@ -16643,7 +16672,8 @@ java.lang.String defaultValue);
|
||||
DROP_COLUMNS(3),
|
||||
MODIFY_COLUMN_TYPES(5),
|
||||
CHANGE_TABLE_OPTIONS(6),
|
||||
CHANGE_COLUMN_FULLTEXT(7),
|
||||
SET_COLUMN_FULLTEXT(7),
|
||||
UNSET_COLUMN_FULLTEXT(8),
|
||||
KIND_NOT_SET(0);
|
||||
private final int value;
|
||||
private KindCase(int value) {
|
||||
@@ -16665,7 +16695,8 @@ java.lang.String defaultValue);
|
||||
case 3: return DROP_COLUMNS;
|
||||
case 5: return MODIFY_COLUMN_TYPES;
|
||||
case 6: return CHANGE_TABLE_OPTIONS;
|
||||
case 7: return CHANGE_COLUMN_FULLTEXT;
|
||||
case 7: return SET_COLUMN_FULLTEXT;
|
||||
case 8: return UNSET_COLUMN_FULLTEXT;
|
||||
case 0: return KIND_NOT_SET;
|
||||
default: return null;
|
||||
}
|
||||
@@ -16816,35 +16847,66 @@ java.lang.String defaultValue);
|
||||
return io.greptime.v1.Ddl.ChangeTableOptions.getDefaultInstance();
|
||||
}
|
||||
|
||||
public static final int CHANGE_COLUMN_FULLTEXT_FIELD_NUMBER = 7;
|
||||
public static final int SET_COLUMN_FULLTEXT_FIELD_NUMBER = 7;
|
||||
/**
|
||||
* <code>.greptime.v1.ChangeColumnFulltext change_column_fulltext = 7;</code>
|
||||
* @return Whether the changeColumnFulltext field is set.
|
||||
* <code>.greptime.v1.SetColumnFulltext set_column_fulltext = 7;</code>
|
||||
* @return Whether the setColumnFulltext field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasChangeColumnFulltext() {
|
||||
public boolean hasSetColumnFulltext() {
|
||||
return kindCase_ == 7;
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.ChangeColumnFulltext change_column_fulltext = 7;</code>
|
||||
* @return The changeColumnFulltext.
|
||||
* <code>.greptime.v1.SetColumnFulltext set_column_fulltext = 7;</code>
|
||||
* @return The setColumnFulltext.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.Ddl.ChangeColumnFulltext getChangeColumnFulltext() {
|
||||
public io.greptime.v1.Ddl.SetColumnFulltext getSetColumnFulltext() {
|
||||
if (kindCase_ == 7) {
|
||||
return (io.greptime.v1.Ddl.ChangeColumnFulltext) kind_;
|
||||
return (io.greptime.v1.Ddl.SetColumnFulltext) kind_;
|
||||
}
|
||||
return io.greptime.v1.Ddl.ChangeColumnFulltext.getDefaultInstance();
|
||||
return io.greptime.v1.Ddl.SetColumnFulltext.getDefaultInstance();
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.ChangeColumnFulltext change_column_fulltext = 7;</code>
|
||||
* <code>.greptime.v1.SetColumnFulltext set_column_fulltext = 7;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.Ddl.ChangeColumnFulltextOrBuilder getChangeColumnFulltextOrBuilder() {
|
||||
public io.greptime.v1.Ddl.SetColumnFulltextOrBuilder getSetColumnFulltextOrBuilder() {
|
||||
if (kindCase_ == 7) {
|
||||
return (io.greptime.v1.Ddl.ChangeColumnFulltext) kind_;
|
||||
return (io.greptime.v1.Ddl.SetColumnFulltext) kind_;
|
||||
}
|
||||
return io.greptime.v1.Ddl.ChangeColumnFulltext.getDefaultInstance();
|
||||
return io.greptime.v1.Ddl.SetColumnFulltext.getDefaultInstance();
|
||||
}
|
||||
|
||||
public static final int UNSET_COLUMN_FULLTEXT_FIELD_NUMBER = 8;
|
||||
/**
|
||||
* <code>.greptime.v1.UnsetColumnFulltext unset_column_fulltext = 8;</code>
|
||||
* @return Whether the unsetColumnFulltext field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasUnsetColumnFulltext() {
|
||||
return kindCase_ == 8;
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.UnsetColumnFulltext unset_column_fulltext = 8;</code>
|
||||
* @return The unsetColumnFulltext.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.Ddl.UnsetColumnFulltext getUnsetColumnFulltext() {
|
||||
if (kindCase_ == 8) {
|
||||
return (io.greptime.v1.Ddl.UnsetColumnFulltext) kind_;
|
||||
}
|
||||
return io.greptime.v1.Ddl.UnsetColumnFulltext.getDefaultInstance();
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.UnsetColumnFulltext unset_column_fulltext = 8;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.Ddl.UnsetColumnFulltextOrBuilder getUnsetColumnFulltextOrBuilder() {
|
||||
if (kindCase_ == 8) {
|
||||
return (io.greptime.v1.Ddl.UnsetColumnFulltext) kind_;
|
||||
}
|
||||
return io.greptime.v1.Ddl.UnsetColumnFulltext.getDefaultInstance();
|
||||
}
|
||||
|
||||
public static final int SCHEMA_VERSION_FIELD_NUMBER = 4;
|
||||
@@ -16895,7 +16957,10 @@ java.lang.String defaultValue);
|
||||
output.writeMessage(6, (io.greptime.v1.Ddl.ChangeTableOptions) kind_);
|
||||
}
|
||||
if (kindCase_ == 7) {
|
||||
output.writeMessage(7, (io.greptime.v1.Ddl.ChangeColumnFulltext) kind_);
|
||||
output.writeMessage(7, (io.greptime.v1.Ddl.SetColumnFulltext) kind_);
|
||||
}
|
||||
if (kindCase_ == 8) {
|
||||
output.writeMessage(8, (io.greptime.v1.Ddl.UnsetColumnFulltext) kind_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -16932,7 +16997,11 @@ java.lang.String defaultValue);
|
||||
}
|
||||
if (kindCase_ == 7) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(7, (io.greptime.v1.Ddl.ChangeColumnFulltext) kind_);
|
||||
.computeMessageSize(7, (io.greptime.v1.Ddl.SetColumnFulltext) kind_);
|
||||
}
|
||||
if (kindCase_ == 8) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(8, (io.greptime.v1.Ddl.UnsetColumnFulltext) kind_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -16972,8 +17041,12 @@ java.lang.String defaultValue);
|
||||
.equals(other.getChangeTableOptions())) return false;
|
||||
break;
|
||||
case 7:
|
||||
if (!getChangeColumnFulltext()
|
||||
.equals(other.getChangeColumnFulltext())) return false;
|
||||
if (!getSetColumnFulltext()
|
||||
.equals(other.getSetColumnFulltext())) return false;
|
||||
break;
|
||||
case 8:
|
||||
if (!getUnsetColumnFulltext()
|
||||
.equals(other.getUnsetColumnFulltext())) return false;
|
||||
break;
|
||||
case 0:
|
||||
default:
|
||||
@@ -17013,8 +17086,12 @@ java.lang.String defaultValue);
|
||||
hash = (53 * hash) + getChangeTableOptions().hashCode();
|
||||
break;
|
||||
case 7:
|
||||
hash = (37 * hash) + CHANGE_COLUMN_FULLTEXT_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getChangeColumnFulltext().hashCode();
|
||||
hash = (37 * hash) + SET_COLUMN_FULLTEXT_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getSetColumnFulltext().hashCode();
|
||||
break;
|
||||
case 8:
|
||||
hash = (37 * hash) + UNSET_COLUMN_FULLTEXT_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getUnsetColumnFulltext().hashCode();
|
||||
break;
|
||||
case 0:
|
||||
default:
|
||||
@@ -17214,10 +17291,17 @@ java.lang.String defaultValue);
|
||||
}
|
||||
}
|
||||
if (kindCase_ == 7) {
|
||||
if (changeColumnFulltextBuilder_ == null) {
|
||||
if (setColumnFulltextBuilder_ == null) {
|
||||
result.kind_ = kind_;
|
||||
} else {
|
||||
result.kind_ = changeColumnFulltextBuilder_.build();
|
||||
result.kind_ = setColumnFulltextBuilder_.build();
|
||||
}
|
||||
}
|
||||
if (kindCase_ == 8) {
|
||||
if (unsetColumnFulltextBuilder_ == null) {
|
||||
result.kind_ = kind_;
|
||||
} else {
|
||||
result.kind_ = unsetColumnFulltextBuilder_.build();
|
||||
}
|
||||
}
|
||||
result.schemaVersion_ = schemaVersion_;
|
||||
@@ -17293,8 +17377,12 @@ java.lang.String defaultValue);
|
||||
mergeChangeTableOptions(other.getChangeTableOptions());
|
||||
break;
|
||||
}
|
||||
case CHANGE_COLUMN_FULLTEXT: {
|
||||
mergeChangeColumnFulltext(other.getChangeColumnFulltext());
|
||||
case SET_COLUMN_FULLTEXT: {
|
||||
mergeSetColumnFulltext(other.getSetColumnFulltext());
|
||||
break;
|
||||
}
|
||||
case UNSET_COLUMN_FULLTEXT: {
|
||||
mergeUnsetColumnFulltext(other.getUnsetColumnFulltext());
|
||||
break;
|
||||
}
|
||||
case KIND_NOT_SET: {
|
||||
@@ -17945,71 +18033,71 @@ java.lang.String defaultValue);
|
||||
}
|
||||
|
||||
private com.google.protobuf.SingleFieldBuilderV3<
|
||||
io.greptime.v1.Ddl.ChangeColumnFulltext, io.greptime.v1.Ddl.ChangeColumnFulltext.Builder, io.greptime.v1.Ddl.ChangeColumnFulltextOrBuilder> changeColumnFulltextBuilder_;
|
||||
io.greptime.v1.Ddl.SetColumnFulltext, io.greptime.v1.Ddl.SetColumnFulltext.Builder, io.greptime.v1.Ddl.SetColumnFulltextOrBuilder> setColumnFulltextBuilder_;
|
||||
/**
|
||||
* <code>.greptime.v1.ChangeColumnFulltext change_column_fulltext = 7;</code>
|
||||
* @return Whether the changeColumnFulltext field is set.
|
||||
* <code>.greptime.v1.SetColumnFulltext set_column_fulltext = 7;</code>
|
||||
* @return Whether the setColumnFulltext field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasChangeColumnFulltext() {
|
||||
public boolean hasSetColumnFulltext() {
|
||||
return kindCase_ == 7;
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.ChangeColumnFulltext change_column_fulltext = 7;</code>
|
||||
* @return The changeColumnFulltext.
|
||||
* <code>.greptime.v1.SetColumnFulltext set_column_fulltext = 7;</code>
|
||||
* @return The setColumnFulltext.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.Ddl.ChangeColumnFulltext getChangeColumnFulltext() {
|
||||
if (changeColumnFulltextBuilder_ == null) {
|
||||
public io.greptime.v1.Ddl.SetColumnFulltext getSetColumnFulltext() {
|
||||
if (setColumnFulltextBuilder_ == null) {
|
||||
if (kindCase_ == 7) {
|
||||
return (io.greptime.v1.Ddl.ChangeColumnFulltext) kind_;
|
||||
return (io.greptime.v1.Ddl.SetColumnFulltext) kind_;
|
||||
}
|
||||
return io.greptime.v1.Ddl.ChangeColumnFulltext.getDefaultInstance();
|
||||
return io.greptime.v1.Ddl.SetColumnFulltext.getDefaultInstance();
|
||||
} else {
|
||||
if (kindCase_ == 7) {
|
||||
return changeColumnFulltextBuilder_.getMessage();
|
||||
return setColumnFulltextBuilder_.getMessage();
|
||||
}
|
||||
return io.greptime.v1.Ddl.ChangeColumnFulltext.getDefaultInstance();
|
||||
return io.greptime.v1.Ddl.SetColumnFulltext.getDefaultInstance();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.ChangeColumnFulltext change_column_fulltext = 7;</code>
|
||||
* <code>.greptime.v1.SetColumnFulltext set_column_fulltext = 7;</code>
|
||||
*/
|
||||
public Builder setChangeColumnFulltext(io.greptime.v1.Ddl.ChangeColumnFulltext value) {
|
||||
if (changeColumnFulltextBuilder_ == null) {
|
||||
public Builder setSetColumnFulltext(io.greptime.v1.Ddl.SetColumnFulltext value) {
|
||||
if (setColumnFulltextBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
kind_ = value;
|
||||
onChanged();
|
||||
} else {
|
||||
changeColumnFulltextBuilder_.setMessage(value);
|
||||
setColumnFulltextBuilder_.setMessage(value);
|
||||
}
|
||||
kindCase_ = 7;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.ChangeColumnFulltext change_column_fulltext = 7;</code>
|
||||
* <code>.greptime.v1.SetColumnFulltext set_column_fulltext = 7;</code>
|
||||
*/
|
||||
public Builder setChangeColumnFulltext(
|
||||
io.greptime.v1.Ddl.ChangeColumnFulltext.Builder builderForValue) {
|
||||
if (changeColumnFulltextBuilder_ == null) {
|
||||
public Builder setSetColumnFulltext(
|
||||
io.greptime.v1.Ddl.SetColumnFulltext.Builder builderForValue) {
|
||||
if (setColumnFulltextBuilder_ == null) {
|
||||
kind_ = builderForValue.build();
|
||||
onChanged();
|
||||
} else {
|
||||
changeColumnFulltextBuilder_.setMessage(builderForValue.build());
|
||||
setColumnFulltextBuilder_.setMessage(builderForValue.build());
|
||||
}
|
||||
kindCase_ = 7;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.ChangeColumnFulltext change_column_fulltext = 7;</code>
|
||||
* <code>.greptime.v1.SetColumnFulltext set_column_fulltext = 7;</code>
|
||||
*/
|
||||
public Builder mergeChangeColumnFulltext(io.greptime.v1.Ddl.ChangeColumnFulltext value) {
|
||||
if (changeColumnFulltextBuilder_ == null) {
|
||||
public Builder mergeSetColumnFulltext(io.greptime.v1.Ddl.SetColumnFulltext value) {
|
||||
if (setColumnFulltextBuilder_ == null) {
|
||||
if (kindCase_ == 7 &&
|
||||
kind_ != io.greptime.v1.Ddl.ChangeColumnFulltext.getDefaultInstance()) {
|
||||
kind_ = io.greptime.v1.Ddl.ChangeColumnFulltext.newBuilder((io.greptime.v1.Ddl.ChangeColumnFulltext) kind_)
|
||||
kind_ != io.greptime.v1.Ddl.SetColumnFulltext.getDefaultInstance()) {
|
||||
kind_ = io.greptime.v1.Ddl.SetColumnFulltext.newBuilder((io.greptime.v1.Ddl.SetColumnFulltext) kind_)
|
||||
.mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
kind_ = value;
|
||||
@@ -18017,19 +18105,19 @@ java.lang.String defaultValue);
|
||||
onChanged();
|
||||
} else {
|
||||
if (kindCase_ == 7) {
|
||||
changeColumnFulltextBuilder_.mergeFrom(value);
|
||||
setColumnFulltextBuilder_.mergeFrom(value);
|
||||
} else {
|
||||
changeColumnFulltextBuilder_.setMessage(value);
|
||||
setColumnFulltextBuilder_.setMessage(value);
|
||||
}
|
||||
}
|
||||
kindCase_ = 7;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.ChangeColumnFulltext change_column_fulltext = 7;</code>
|
||||
* <code>.greptime.v1.SetColumnFulltext set_column_fulltext = 7;</code>
|
||||
*/
|
||||
public Builder clearChangeColumnFulltext() {
|
||||
if (changeColumnFulltextBuilder_ == null) {
|
||||
public Builder clearSetColumnFulltext() {
|
||||
if (setColumnFulltextBuilder_ == null) {
|
||||
if (kindCase_ == 7) {
|
||||
kindCase_ = 0;
|
||||
kind_ = null;
|
||||
@@ -18040,50 +18128,192 @@ java.lang.String defaultValue);
|
||||
kindCase_ = 0;
|
||||
kind_ = null;
|
||||
}
|
||||
changeColumnFulltextBuilder_.clear();
|
||||
setColumnFulltextBuilder_.clear();
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.ChangeColumnFulltext change_column_fulltext = 7;</code>
|
||||
* <code>.greptime.v1.SetColumnFulltext set_column_fulltext = 7;</code>
|
||||
*/
|
||||
public io.greptime.v1.Ddl.ChangeColumnFulltext.Builder getChangeColumnFulltextBuilder() {
|
||||
return getChangeColumnFulltextFieldBuilder().getBuilder();
|
||||
public io.greptime.v1.Ddl.SetColumnFulltext.Builder getSetColumnFulltextBuilder() {
|
||||
return getSetColumnFulltextFieldBuilder().getBuilder();
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.ChangeColumnFulltext change_column_fulltext = 7;</code>
|
||||
* <code>.greptime.v1.SetColumnFulltext set_column_fulltext = 7;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.Ddl.ChangeColumnFulltextOrBuilder getChangeColumnFulltextOrBuilder() {
|
||||
if ((kindCase_ == 7) && (changeColumnFulltextBuilder_ != null)) {
|
||||
return changeColumnFulltextBuilder_.getMessageOrBuilder();
|
||||
public io.greptime.v1.Ddl.SetColumnFulltextOrBuilder getSetColumnFulltextOrBuilder() {
|
||||
if ((kindCase_ == 7) && (setColumnFulltextBuilder_ != null)) {
|
||||
return setColumnFulltextBuilder_.getMessageOrBuilder();
|
||||
} else {
|
||||
if (kindCase_ == 7) {
|
||||
return (io.greptime.v1.Ddl.ChangeColumnFulltext) kind_;
|
||||
return (io.greptime.v1.Ddl.SetColumnFulltext) kind_;
|
||||
}
|
||||
return io.greptime.v1.Ddl.ChangeColumnFulltext.getDefaultInstance();
|
||||
return io.greptime.v1.Ddl.SetColumnFulltext.getDefaultInstance();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.ChangeColumnFulltext change_column_fulltext = 7;</code>
|
||||
* <code>.greptime.v1.SetColumnFulltext set_column_fulltext = 7;</code>
|
||||
*/
|
||||
private com.google.protobuf.SingleFieldBuilderV3<
|
||||
io.greptime.v1.Ddl.ChangeColumnFulltext, io.greptime.v1.Ddl.ChangeColumnFulltext.Builder, io.greptime.v1.Ddl.ChangeColumnFulltextOrBuilder>
|
||||
getChangeColumnFulltextFieldBuilder() {
|
||||
if (changeColumnFulltextBuilder_ == null) {
|
||||
io.greptime.v1.Ddl.SetColumnFulltext, io.greptime.v1.Ddl.SetColumnFulltext.Builder, io.greptime.v1.Ddl.SetColumnFulltextOrBuilder>
|
||||
getSetColumnFulltextFieldBuilder() {
|
||||
if (setColumnFulltextBuilder_ == null) {
|
||||
if (!(kindCase_ == 7)) {
|
||||
kind_ = io.greptime.v1.Ddl.ChangeColumnFulltext.getDefaultInstance();
|
||||
kind_ = io.greptime.v1.Ddl.SetColumnFulltext.getDefaultInstance();
|
||||
}
|
||||
changeColumnFulltextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
||||
io.greptime.v1.Ddl.ChangeColumnFulltext, io.greptime.v1.Ddl.ChangeColumnFulltext.Builder, io.greptime.v1.Ddl.ChangeColumnFulltextOrBuilder>(
|
||||
(io.greptime.v1.Ddl.ChangeColumnFulltext) kind_,
|
||||
setColumnFulltextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
||||
io.greptime.v1.Ddl.SetColumnFulltext, io.greptime.v1.Ddl.SetColumnFulltext.Builder, io.greptime.v1.Ddl.SetColumnFulltextOrBuilder>(
|
||||
(io.greptime.v1.Ddl.SetColumnFulltext) kind_,
|
||||
getParentForChildren(),
|
||||
isClean());
|
||||
kind_ = null;
|
||||
}
|
||||
kindCase_ = 7;
|
||||
onChanged();;
|
||||
return changeColumnFulltextBuilder_;
|
||||
return setColumnFulltextBuilder_;
|
||||
}
|
||||
|
||||
private com.google.protobuf.SingleFieldBuilderV3<
|
||||
io.greptime.v1.Ddl.UnsetColumnFulltext, io.greptime.v1.Ddl.UnsetColumnFulltext.Builder, io.greptime.v1.Ddl.UnsetColumnFulltextOrBuilder> unsetColumnFulltextBuilder_;
|
||||
/**
|
||||
* <code>.greptime.v1.UnsetColumnFulltext unset_column_fulltext = 8;</code>
|
||||
* @return Whether the unsetColumnFulltext field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasUnsetColumnFulltext() {
|
||||
return kindCase_ == 8;
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.UnsetColumnFulltext unset_column_fulltext = 8;</code>
|
||||
* @return The unsetColumnFulltext.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.Ddl.UnsetColumnFulltext getUnsetColumnFulltext() {
|
||||
if (unsetColumnFulltextBuilder_ == null) {
|
||||
if (kindCase_ == 8) {
|
||||
return (io.greptime.v1.Ddl.UnsetColumnFulltext) kind_;
|
||||
}
|
||||
return io.greptime.v1.Ddl.UnsetColumnFulltext.getDefaultInstance();
|
||||
} else {
|
||||
if (kindCase_ == 8) {
|
||||
return unsetColumnFulltextBuilder_.getMessage();
|
||||
}
|
||||
return io.greptime.v1.Ddl.UnsetColumnFulltext.getDefaultInstance();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.UnsetColumnFulltext unset_column_fulltext = 8;</code>
|
||||
*/
|
||||
public Builder setUnsetColumnFulltext(io.greptime.v1.Ddl.UnsetColumnFulltext value) {
|
||||
if (unsetColumnFulltextBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
kind_ = value;
|
||||
onChanged();
|
||||
} else {
|
||||
unsetColumnFulltextBuilder_.setMessage(value);
|
||||
}
|
||||
kindCase_ = 8;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.UnsetColumnFulltext unset_column_fulltext = 8;</code>
|
||||
*/
|
||||
public Builder setUnsetColumnFulltext(
|
||||
io.greptime.v1.Ddl.UnsetColumnFulltext.Builder builderForValue) {
|
||||
if (unsetColumnFulltextBuilder_ == null) {
|
||||
kind_ = builderForValue.build();
|
||||
onChanged();
|
||||
} else {
|
||||
unsetColumnFulltextBuilder_.setMessage(builderForValue.build());
|
||||
}
|
||||
kindCase_ = 8;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.UnsetColumnFulltext unset_column_fulltext = 8;</code>
|
||||
*/
|
||||
public Builder mergeUnsetColumnFulltext(io.greptime.v1.Ddl.UnsetColumnFulltext value) {
|
||||
if (unsetColumnFulltextBuilder_ == null) {
|
||||
if (kindCase_ == 8 &&
|
||||
kind_ != io.greptime.v1.Ddl.UnsetColumnFulltext.getDefaultInstance()) {
|
||||
kind_ = io.greptime.v1.Ddl.UnsetColumnFulltext.newBuilder((io.greptime.v1.Ddl.UnsetColumnFulltext) kind_)
|
||||
.mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
kind_ = value;
|
||||
}
|
||||
onChanged();
|
||||
} else {
|
||||
if (kindCase_ == 8) {
|
||||
unsetColumnFulltextBuilder_.mergeFrom(value);
|
||||
} else {
|
||||
unsetColumnFulltextBuilder_.setMessage(value);
|
||||
}
|
||||
}
|
||||
kindCase_ = 8;
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.UnsetColumnFulltext unset_column_fulltext = 8;</code>
|
||||
*/
|
||||
public Builder clearUnsetColumnFulltext() {
|
||||
if (unsetColumnFulltextBuilder_ == null) {
|
||||
if (kindCase_ == 8) {
|
||||
kindCase_ = 0;
|
||||
kind_ = null;
|
||||
onChanged();
|
||||
}
|
||||
} else {
|
||||
if (kindCase_ == 8) {
|
||||
kindCase_ = 0;
|
||||
kind_ = null;
|
||||
}
|
||||
unsetColumnFulltextBuilder_.clear();
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.UnsetColumnFulltext unset_column_fulltext = 8;</code>
|
||||
*/
|
||||
public io.greptime.v1.Ddl.UnsetColumnFulltext.Builder getUnsetColumnFulltextBuilder() {
|
||||
return getUnsetColumnFulltextFieldBuilder().getBuilder();
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.UnsetColumnFulltext unset_column_fulltext = 8;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.Ddl.UnsetColumnFulltextOrBuilder getUnsetColumnFulltextOrBuilder() {
|
||||
if ((kindCase_ == 8) && (unsetColumnFulltextBuilder_ != null)) {
|
||||
return unsetColumnFulltextBuilder_.getMessageOrBuilder();
|
||||
} else {
|
||||
if (kindCase_ == 8) {
|
||||
return (io.greptime.v1.Ddl.UnsetColumnFulltext) kind_;
|
||||
}
|
||||
return io.greptime.v1.Ddl.UnsetColumnFulltext.getDefaultInstance();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.UnsetColumnFulltext unset_column_fulltext = 8;</code>
|
||||
*/
|
||||
private com.google.protobuf.SingleFieldBuilderV3<
|
||||
io.greptime.v1.Ddl.UnsetColumnFulltext, io.greptime.v1.Ddl.UnsetColumnFulltext.Builder, io.greptime.v1.Ddl.UnsetColumnFulltextOrBuilder>
|
||||
getUnsetColumnFulltextFieldBuilder() {
|
||||
if (unsetColumnFulltextBuilder_ == null) {
|
||||
if (!(kindCase_ == 8)) {
|
||||
kind_ = io.greptime.v1.Ddl.UnsetColumnFulltext.getDefaultInstance();
|
||||
}
|
||||
unsetColumnFulltextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
||||
io.greptime.v1.Ddl.UnsetColumnFulltext, io.greptime.v1.Ddl.UnsetColumnFulltext.Builder, io.greptime.v1.Ddl.UnsetColumnFulltextOrBuilder>(
|
||||
(io.greptime.v1.Ddl.UnsetColumnFulltext) kind_,
|
||||
getParentForChildren(),
|
||||
isClean());
|
||||
kind_ = null;
|
||||
}
|
||||
kindCase_ = 8;
|
||||
onChanged();;
|
||||
return unsetColumnFulltextBuilder_;
|
||||
}
|
||||
|
||||
private long schemaVersion_ ;
|
||||
@@ -25024,38 +25254,39 @@ java.lang.String defaultValue);
|
||||
".\n\014OptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 " +
|
||||
"\001(\t:\0028\001\"!\n\014CloseRequest\022\021\n\tregion_id\030\001 \001" +
|
||||
"(\004\"C\n\rAlterRequests\0222\n\010requests\030\001 \003(\0132 ." +
|
||||
"greptime.v1.region.AlterRequest\"\366\002\n\014Alte" +
|
||||
"greptime.v1.region.AlterRequest\"\263\003\n\014Alte" +
|
||||
"rRequest\022\021\n\tregion_id\030\001 \001(\004\0225\n\013add_colum" +
|
||||
"ns\030\002 \001(\0132\036.greptime.v1.region.AddColumns" +
|
||||
"H\000\0227\n\014drop_columns\030\003 \001(\0132\037.greptime.v1.r" +
|
||||
"egion.DropColumnsH\000\022=\n\023modify_column_typ" +
|
||||
"es\030\005 \001(\0132\036.greptime.v1.ModifyColumnTypes" +
|
||||
"H\000\022?\n\024change_table_options\030\006 \001(\0132\037.grept" +
|
||||
"ime.v1.ChangeTableOptionsH\000\022C\n\026change_co" +
|
||||
"lumn_fulltext\030\007 \001(\0132!.greptime.v1.Change" +
|
||||
"ColumnFulltextH\000\022\026\n\016schema_version\030\004 \001(\004" +
|
||||
"B\006\n\004kind\"@\n\nAddColumns\0222\n\013add_columns\030\001 " +
|
||||
"\003(\0132\035.greptime.v1.region.AddColumn\"C\n\013Dr" +
|
||||
"opColumns\0224\n\014drop_columns\030\001 \003(\0132\036.grepti" +
|
||||
"me.v1.region.DropColumn\"v\n\tAddColumn\0227\n\n" +
|
||||
"column_def\030\001 \001(\0132#.greptime.v1.region.Re" +
|
||||
"gionColumnDef\0220\n\010location\030\003 \001(\0132\036.grepti" +
|
||||
"me.v1.AddColumnLocation\"\032\n\nDropColumn\022\014\n" +
|
||||
"\004name\030\001 \001(\t\"!\n\014FlushRequest\022\021\n\tregion_id" +
|
||||
"\030\001 \001(\004\"\t\n\007Regular\"&\n\014StrictWindow\022\026\n\016win" +
|
||||
"dow_seconds\030\001 \001(\003\"\231\001\n\016CompactRequest\022\021\n\t" +
|
||||
"region_id\030\001 \001(\004\022.\n\007regular\030\002 \001(\0132\033.grept" +
|
||||
"ime.v1.region.RegularH\000\0229\n\rstrict_window" +
|
||||
"\030\003 \001(\0132 .greptime.v1.region.StrictWindow" +
|
||||
"H\000B\t\n\007options\"$\n\017TruncateRequest\022\021\n\tregi" +
|
||||
"on_id\030\001 \001(\004\"P\n\017RegionColumnDef\022*\n\ncolumn" +
|
||||
"_def\030\001 \001(\0132\026.greptime.v1.ColumnDef\022\021\n\tco" +
|
||||
"lumn_id\030\002 \001(\r2Y\n\006Region\022O\n\006Handle\022!.grep" +
|
||||
"time.v1.region.RegionRequest\032\".greptime." +
|
||||
"v1.region.RegionResponseB]\n\025io.greptime." +
|
||||
"v1.regionB\006ServerZ<github.com/GreptimeTe" +
|
||||
"am/greptime-proto/go/greptime/v1/regionb" +
|
||||
"\006proto3"
|
||||
"ime.v1.ChangeTableOptionsH\000\022=\n\023set_colum" +
|
||||
"n_fulltext\030\007 \001(\0132\036.greptime.v1.SetColumn" +
|
||||
"FulltextH\000\022A\n\025unset_column_fulltext\030\010 \001(" +
|
||||
"\0132 .greptime.v1.UnsetColumnFulltextH\000\022\026\n" +
|
||||
"\016schema_version\030\004 \001(\004B\006\n\004kind\"@\n\nAddColu" +
|
||||
"mns\0222\n\013add_columns\030\001 \003(\0132\035.greptime.v1.r" +
|
||||
"egion.AddColumn\"C\n\013DropColumns\0224\n\014drop_c" +
|
||||
"olumns\030\001 \003(\0132\036.greptime.v1.region.DropCo" +
|
||||
"lumn\"v\n\tAddColumn\0227\n\ncolumn_def\030\001 \001(\0132#." +
|
||||
"greptime.v1.region.RegionColumnDef\0220\n\010lo" +
|
||||
"cation\030\003 \001(\0132\036.greptime.v1.AddColumnLoca" +
|
||||
"tion\"\032\n\nDropColumn\022\014\n\004name\030\001 \001(\t\"!\n\014Flus" +
|
||||
"hRequest\022\021\n\tregion_id\030\001 \001(\004\"\t\n\007Regular\"&" +
|
||||
"\n\014StrictWindow\022\026\n\016window_seconds\030\001 \001(\003\"\231" +
|
||||
"\001\n\016CompactRequest\022\021\n\tregion_id\030\001 \001(\004\022.\n\007" +
|
||||
"regular\030\002 \001(\0132\033.greptime.v1.region.Regul" +
|
||||
"arH\000\0229\n\rstrict_window\030\003 \001(\0132 .greptime.v" +
|
||||
"1.region.StrictWindowH\000B\t\n\007options\"$\n\017Tr" +
|
||||
"uncateRequest\022\021\n\tregion_id\030\001 \001(\004\"P\n\017Regi" +
|
||||
"onColumnDef\022*\n\ncolumn_def\030\001 \001(\0132\026.grepti" +
|
||||
"me.v1.ColumnDef\022\021\n\tcolumn_id\030\002 \001(\r2Y\n\006Re" +
|
||||
"gion\022O\n\006Handle\022!.greptime.v1.region.Regi" +
|
||||
"onRequest\032\".greptime.v1.region.RegionRes" +
|
||||
"ponseB]\n\025io.greptime.v1.regionB\006ServerZ<" +
|
||||
"github.com/GreptimeTeam/greptime-proto/g" +
|
||||
"o/greptime/v1/regionb\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
@@ -25183,7 +25414,7 @@ java.lang.String defaultValue);
|
||||
internal_static_greptime_v1_region_AlterRequest_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_greptime_v1_region_AlterRequest_descriptor,
|
||||
new java.lang.String[] { "RegionId", "AddColumns", "DropColumns", "ModifyColumnTypes", "ChangeTableOptions", "ChangeColumnFulltext", "SchemaVersion", "Kind", });
|
||||
new java.lang.String[] { "RegionId", "AddColumns", "DropColumns", "ModifyColumnTypes", "ChangeTableOptions", "SetColumnFulltext", "UnsetColumnFulltext", "SchemaVersion", "Kind", });
|
||||
internal_static_greptime_v1_region_AddColumns_descriptor =
|
||||
getDescriptor().getMessageTypes().get(16);
|
||||
internal_static_greptime_v1_region_AddColumns_fieldAccessorTable = new
|
||||
|
||||
@@ -110,7 +110,8 @@ message AlterExpr {
|
||||
RenameTable rename_table = 6;
|
||||
ModifyColumnTypes modify_column_types = 7;
|
||||
ChangeTableOptions change_table_options = 8;
|
||||
ChangeColumnFulltext change_column_fulltext = 9;
|
||||
SetColumnFulltext set_column_fulltext = 9;
|
||||
UnsetColumnFulltext unset_column_fulltext = 10;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -205,9 +206,13 @@ enum Analyzer {
|
||||
CHINESE = 1;
|
||||
}
|
||||
|
||||
message ChangeColumnFulltext {
|
||||
message SetColumnFulltext {
|
||||
string column_name = 1;
|
||||
bool enable = 2;
|
||||
Analyzer analyzer = 3;
|
||||
bool case_sensitive = 4;
|
||||
}
|
||||
|
||||
message UnsetColumnFulltext {
|
||||
string column_name = 1;
|
||||
}
|
||||
|
||||
@@ -129,7 +129,8 @@ message AlterRequest {
|
||||
DropColumns drop_columns = 3;
|
||||
ModifyColumnTypes modify_column_types = 5;
|
||||
ChangeTableOptions change_table_options = 6;
|
||||
ChangeColumnFulltext change_column_fulltext = 7;
|
||||
SetColumnFulltext set_column_fulltext = 7;
|
||||
UnsetColumnFulltext unset_column_fulltext = 8;
|
||||
}
|
||||
// The version of the schema before applying the alteration.
|
||||
uint64 schema_version = 4;
|
||||
|
||||
Reference in New Issue
Block a user