diff --git a/c++/greptime/v1/ddl.pb.cc b/c++/greptime/v1/ddl.pb.cc index 1cd2054e..fb52c35d 100644 --- a/c++/greptime/v1/ddl.pb.cc +++ b/c++/greptime/v1/ddl.pb.cc @@ -473,6 +473,32 @@ struct UnsetColumnFulltextDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UnsetColumnFulltextDefaultTypeInternal _UnsetColumnFulltext_default_instance_; +PROTOBUF_CONSTEXPR SetColumnInvertedIndex::SetColumnInvertedIndex( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.column_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct SetColumnInvertedIndexDefaultTypeInternal { + PROTOBUF_CONSTEXPR SetColumnInvertedIndexDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~SetColumnInvertedIndexDefaultTypeInternal() {} + union { + SetColumnInvertedIndex _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetColumnInvertedIndexDefaultTypeInternal _SetColumnInvertedIndex_default_instance_; +PROTOBUF_CONSTEXPR UnsetColumnInvertedIndex::UnsetColumnInvertedIndex( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.column_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct UnsetColumnInvertedIndexDefaultTypeInternal { + PROTOBUF_CONSTEXPR UnsetColumnInvertedIndexDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~UnsetColumnInvertedIndexDefaultTypeInternal() {} + union { + UnsetColumnInvertedIndex _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UnsetColumnInvertedIndexDefaultTypeInternal _UnsetColumnInvertedIndex_default_instance_; PROTOBUF_CONSTEXPR AlterDatabaseExpr::AlterDatabaseExpr( ::_pbi::ConstantInitialized): _impl_{ /*decltype(_impl_.catalog_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} @@ -517,7 +543,7 @@ struct UnsetDatabaseOptionsDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UnsetDatabaseOptionsDefaultTypeInternal _UnsetDatabaseOptions_default_instance_; } // namespace v1 } // namespace greptime -static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fddl_2eproto[33]; +static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fddl_2eproto[35]; 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; @@ -646,6 +672,8 @@ const uint32_t TableStruct_greptime_2fv1_2fddl_2eproto::offsets[] PROTOBUF_SECTI ::_pbi::kInvalidFieldOffsetTag, ::_pbi::kInvalidFieldOffsetTag, ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, PROTOBUF_FIELD_OFFSET(::greptime::v1::AlterTableExpr, _impl_.kind_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::greptime::v1::DropTableExpr, _internal_metadata_), @@ -825,6 +853,20 @@ const uint32_t TableStruct_greptime_2fv1_2fddl_2eproto::offsets[] PROTOBUF_SECTI ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::greptime::v1::UnsetColumnFulltext, _impl_.column_name_), ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::greptime::v1::SetColumnInvertedIndex, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::greptime::v1::SetColumnInvertedIndex, _impl_.column_name_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::greptime::v1::UnsetColumnInvertedIndex, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::greptime::v1::UnsetColumnInvertedIndex, _impl_.column_name_), + ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::greptime::v1::AlterDatabaseExpr, _internal_metadata_), ~0u, // no _extensions_ PROTOBUF_FIELD_OFFSET(::greptime::v1::AlterDatabaseExpr, _impl_._oneof_case_[0]), @@ -860,30 +902,32 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode { 80, 88, -1, sizeof(::greptime::v1::CreateTableExpr_TableOptionsEntry_DoNotUse)}, { 90, -1, -1, sizeof(::greptime::v1::CreateTableExpr)}, { 107, -1, -1, sizeof(::greptime::v1::AlterTableExpr)}, - { 125, -1, -1, sizeof(::greptime::v1::DropTableExpr)}, - { 136, 144, -1, sizeof(::greptime::v1::CreateDatabaseExpr_OptionsEntry_DoNotUse)}, - { 146, -1, -1, sizeof(::greptime::v1::CreateDatabaseExpr)}, - { 156, -1, -1, sizeof(::greptime::v1::TruncateTableExpr)}, - { 166, -1, -1, sizeof(::greptime::v1::DropDatabaseExpr)}, - { 175, -1, -1, sizeof(::greptime::v1::AddColumns)}, - { 182, -1, -1, sizeof(::greptime::v1::DropColumns)}, - { 189, -1, -1, sizeof(::greptime::v1::ModifyColumnTypes)}, - { 196, -1, -1, sizeof(::greptime::v1::RenameTable)}, - { 203, -1, -1, sizeof(::greptime::v1::AddColumn)}, - { 211, -1, -1, sizeof(::greptime::v1::ModifyColumnType)}, - { 220, -1, -1, sizeof(::greptime::v1::Option)}, - { 228, -1, -1, sizeof(::greptime::v1::SetTableOptions)}, - { 235, -1, -1, sizeof(::greptime::v1::UnsetTableOptions)}, - { 242, -1, -1, sizeof(::greptime::v1::DropColumn)}, - { 249, -1, -1, sizeof(::greptime::v1::TableId)}, - { 256, -1, -1, sizeof(::greptime::v1::FlowId)}, - { 263, -1, -1, sizeof(::greptime::v1::ColumnDef)}, - { 277, -1, -1, sizeof(::greptime::v1::AddColumnLocation)}, - { 285, -1, -1, sizeof(::greptime::v1::SetColumnFulltext)}, - { 295, -1, -1, sizeof(::greptime::v1::UnsetColumnFulltext)}, - { 302, -1, -1, sizeof(::greptime::v1::AlterDatabaseExpr)}, - { 313, -1, -1, sizeof(::greptime::v1::SetDatabaseOptions)}, - { 320, -1, -1, sizeof(::greptime::v1::UnsetDatabaseOptions)}, + { 127, -1, -1, sizeof(::greptime::v1::DropTableExpr)}, + { 138, 146, -1, sizeof(::greptime::v1::CreateDatabaseExpr_OptionsEntry_DoNotUse)}, + { 148, -1, -1, sizeof(::greptime::v1::CreateDatabaseExpr)}, + { 158, -1, -1, sizeof(::greptime::v1::TruncateTableExpr)}, + { 168, -1, -1, sizeof(::greptime::v1::DropDatabaseExpr)}, + { 177, -1, -1, sizeof(::greptime::v1::AddColumns)}, + { 184, -1, -1, sizeof(::greptime::v1::DropColumns)}, + { 191, -1, -1, sizeof(::greptime::v1::ModifyColumnTypes)}, + { 198, -1, -1, sizeof(::greptime::v1::RenameTable)}, + { 205, -1, -1, sizeof(::greptime::v1::AddColumn)}, + { 213, -1, -1, sizeof(::greptime::v1::ModifyColumnType)}, + { 222, -1, -1, sizeof(::greptime::v1::Option)}, + { 230, -1, -1, sizeof(::greptime::v1::SetTableOptions)}, + { 237, -1, -1, sizeof(::greptime::v1::UnsetTableOptions)}, + { 244, -1, -1, sizeof(::greptime::v1::DropColumn)}, + { 251, -1, -1, sizeof(::greptime::v1::TableId)}, + { 258, -1, -1, sizeof(::greptime::v1::FlowId)}, + { 265, -1, -1, sizeof(::greptime::v1::ColumnDef)}, + { 279, -1, -1, sizeof(::greptime::v1::AddColumnLocation)}, + { 287, -1, -1, sizeof(::greptime::v1::SetColumnFulltext)}, + { 297, -1, -1, sizeof(::greptime::v1::UnsetColumnFulltext)}, + { 304, -1, -1, sizeof(::greptime::v1::SetColumnInvertedIndex)}, + { 311, -1, -1, sizeof(::greptime::v1::UnsetColumnInvertedIndex)}, + { 318, -1, -1, sizeof(::greptime::v1::AlterDatabaseExpr)}, + { 329, -1, -1, sizeof(::greptime::v1::SetDatabaseOptions)}, + { 336, -1, -1, sizeof(::greptime::v1::UnsetDatabaseOptions)}, }; static const ::_pb::Message* const file_default_instances[] = { @@ -917,6 +961,8 @@ static const ::_pb::Message* const file_default_instances[] = { &::greptime::v1::_AddColumnLocation_default_instance_._instance, &::greptime::v1::_SetColumnFulltext_default_instance_._instance, &::greptime::v1::_UnsetColumnFulltext_default_instance_._instance, + &::greptime::v1::_SetColumnInvertedIndex_default_instance_._instance, + &::greptime::v1::_UnsetColumnInvertedIndex_default_instance_._instance, &::greptime::v1::_AlterDatabaseExpr_default_instance_._instance, &::greptime::v1::_SetDatabaseOptions_default_instance_._instance, &::greptime::v1::_UnsetDatabaseOptions_default_instance_._instance, @@ -971,7 +1017,7 @@ const char descriptor_table_protodef_greptime_2fv1_2fddl_2eproto[] PROTOBUF_SECT "teTableExpr.TableOptionsEntry\022&\n\010table_i" "d\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\"\246\004\n\016AlterTableExpr\022\024\n" + "\r\n\005value\030\002 \001(\t:\0028\001\"\276\005\n\016AlterTableExpr\022\024\n" "\014catalog_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t" "\022\022\n\ntable_name\030\003 \001(\t\022.\n\013add_columns\030\004 \001(" "\0132\027.greptime.v1.AddColumnsH\000\0220\n\014drop_col" @@ -985,74 +1031,81 @@ const char descriptor_table_protodef_greptime_2fv1_2fddl_2eproto[] PROTOBUF_SECT "et_column_fulltext\030\n \001(\0132 .greptime.v1.U" "nsetColumnFulltextH\000\022=\n\023unset_table_opti" "ons\030\013 \001(\0132\036.greptime.v1.UnsetTableOption" - "sH\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\ntabl" - "e_name\030\003 \001(\t\022&\n\010table_id\030\004 \001(\0132\024.greptim" - "e.v1.TableId\022\026\n\016drop_if_exists\030\005 \001(\010\"\314\001\n" - "\022CreateDatabaseExpr\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.CreateDatabaseExpr.OptionsEntry\032.\n\014O" - "ptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" - "\0028\001\"z\n\021TruncateTableExpr\022\024\n\014catalog_name" - "\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\022\n\ntable_nam" - "e\030\003 \001(\t\022&\n\010table_id\030\004 \001(\0132\024.greptime.v1." - "TableId\"U\n\020DropDatabaseExpr\022\024\n\014catalog_n" - "ame\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\026\n\016drop_i" - "f_exists\030\003 \001(\010\"9\n\nAddColumns\022+\n\013add_colu" - "mns\030\001 \003(\0132\026.greptime.v1.AddColumn\"<\n\013Dro" - "pColumns\022-\n\014drop_columns\030\001 \003(\0132\027.greptim" - "e.v1.DropColumn\"O\n\021ModifyColumnTypes\022:\n\023" - "modify_column_types\030\001 \003(\0132\035.greptime.v1." - "ModifyColumnType\"%\n\013RenameTable\022\026\n\016new_t" - "able_name\030\001 \001(\t\"i\n\tAddColumn\022*\n\ncolumn_d" - "ef\030\001 \001(\0132\026.greptime.v1.ColumnDef\0220\n\010loca" - "tion\030\003 \001(\0132\036.greptime.v1.AddColumnLocati" - "on\"\236\001\n\020ModifyColumnType\022\023\n\013column_name\030\001" - " \001(\t\0220\n\013target_type\030\002 \001(\0162\033.greptime.v1." - "ColumnDataType\022C\n\025target_type_extension\030" - "\003 \001(\0132$.greptime.v1.ColumnDataTypeExtens" - "ion\"$\n\006Option\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" - "\t\"=\n\017SetTableOptions\022*\n\rtable_options\030\001 " - "\003(\0132\023.greptime.v1.Option\"!\n\021UnsetTableOp" - "tions\022\014\n\004keys\030\001 \003(\t\"\032\n\nDropColumn\022\014\n\004nam" - "e\030\001 \001(\t\"\025\n\007TableId\022\n\n\002id\030\001 \001(\r\"\024\n\006FlowId" - "\022\n\n\002id\030\001 \001(\r\"\254\002\n\tColumnDef\022\014\n\004name\030\001 \001(\t" - "\022.\n\tdata_type\030\002 \001(\0162\033.greptime.v1.Column" - "DataType\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(\016" - "2\031.greptime.v1.SemanticType\022\017\n\007comment\030\006" - " \001(\t\022@\n\022datatype_extension\030\007 \001(\0132$.grept" - "ime.v1.ColumnDataTypeExtension\022+\n\007option" - "s\030\010 \001(\0132\032.greptime.v1.ColumnOptions\"\230\001\n\021" - "AddColumnLocation\022B\n\rlocation_type\030\001 \001(\016" - "2+.greptime.v1.AddColumnLocation.Locatio" - "nType\022\031\n\021after_column_name\030\002 \001(\t\"$\n\014Loca" - "tionType\022\t\n\005FIRST\020\000\022\t\n\005AFTER\020\001\"y\n\021SetCol" - "umnFulltext\022\023\n\013column_name\030\001 \001(\t\022\016\n\006enab" - "le\030\002 \001(\010\022\'\n\010analyzer\030\003 \001(\0162\025.greptime.v1" - ".Analyzer\022\026\n\016case_sensitive\030\004 \001(\010\"*\n\023Uns" - "etColumnFulltext\022\023\n\013column_name\030\001 \001(\t\"\314\001" - "\n\021AlterDatabaseExpr\022\024\n\014catalog_name\030\001 \001(" - "\t\022\023\n\013schema_name\030\002 \001(\t\022\?\n\024set_database_o" - "ptions\030\003 \001(\0132\037.greptime.v1.SetDatabaseOp" - "tionsH\000\022C\n\026unset_database_options\030\004 \001(\0132" - "!.greptime.v1.UnsetDatabaseOptionsH\000B\006\n\004" - "kind\"G\n\022SetDatabaseOptions\0221\n\024set_databa" - "se_options\030\001 \003(\0132\023.greptime.v1.Option\"$\n" - "\024UnsetDatabaseOptions\022\014\n\004keys\030\001 \003(\t*$\n\010A" - "nalyzer\022\013\n\007ENGLISH\020\000\022\013\n\007CHINESE\020\001BL\n\016io." - "greptime.v1B\003DdlZ5github.com/GreptimeTea" - "m/greptime-proto/go/greptime/v1b\006proto3" + "sH\000\022H\n\031set_column_inverted_index\030\014 \001(\0132#" + ".greptime.v1.SetColumnInvertedIndexH\000\022L\n" + "\033unset_column_inverted_index\030\r \001(\0132%.gre" + "ptime.v1.UnsetColumnInvertedIndexH\000B\006\n\004k" + "ind\"\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.Tab" + "leId\022\026\n\016drop_if_exists\030\005 \001(\010\"\314\001\n\022CreateD" + "atabaseExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013sch" + "ema_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.Crea" + "teDatabaseExpr.OptionsEntry\032.\n\014OptionsEn" + "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"z\n\021T" + "runcateTableExpr\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\"" + "U\n\020DropDatabaseExpr\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.Dro" + "pColumn\"O\n\021ModifyColumnTypes\022:\n\023modify_c" + "olumn_types\030\001 \003(\0132\035.greptime.v1.ModifyCo" + "lumnType\"%\n\013RenameTable\022\026\n\016new_table_nam" + "e\030\001 \001(\t\"i\n\tAddColumn\022*\n\ncolumn_def\030\001 \001(\013" + "2\026.greptime.v1.ColumnDef\0220\n\010location\030\003 \001" + "(\0132\036.greptime.v1.AddColumnLocation\"\236\001\n\020M" + "odifyColumnType\022\023\n\013column_name\030\001 \001(\t\0220\n\013" + "target_type\030\002 \001(\0162\033.greptime.v1.ColumnDa" + "taType\022C\n\025target_type_extension\030\003 \001(\0132$." + "greptime.v1.ColumnDataTypeExtension\"$\n\006O" + "ption\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"=\n\017Set" + "TableOptions\022*\n\rtable_options\030\001 \003(\0132\023.gr" + "eptime.v1.Option\"!\n\021UnsetTableOptions\022\014\n" + "\004keys\030\001 \003(\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\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_constra" + "int\030\004 \001(\014\0220\n\rsemantic_type\030\005 \001(\0162\031.grept" + "ime.v1.SemanticType\022\017\n\007comment\030\006 \001(\t\022@\n\022" + "datatype_extension\030\007 \001(\0132$.greptime.v1.C" + "olumnDataTypeExtension\022+\n\007options\030\010 \001(\0132" + "\032.greptime.v1.ColumnOptions\"\230\001\n\021AddColum" + "nLocation\022B\n\rlocation_type\030\001 \001(\0162+.grept" + "ime.v1.AddColumnLocation.LocationType\022\031\n" + "\021after_column_name\030\002 \001(\t\"$\n\014LocationType" + "\022\t\n\005FIRST\020\000\022\t\n\005AFTER\020\001\"y\n\021SetColumnFullt" + "ext\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.greptime.v1.Analyze" + "r\022\026\n\016case_sensitive\030\004 \001(\010\"*\n\023UnsetColumn" + "Fulltext\022\023\n\013column_name\030\001 \001(\t\"-\n\026SetColu" + "mnInvertedIndex\022\023\n\013column_name\030\001 \001(\t\"/\n\030" + "UnsetColumnInvertedIndex\022\023\n\013column_name\030" + "\001 \001(\t\"\314\001\n\021AlterDatabaseExpr\022\024\n\014catalog_n" + "ame\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\?\n\024set_da" + "tabase_options\030\003 \001(\0132\037.greptime.v1.SetDa" + "tabaseOptionsH\000\022C\n\026unset_database_option" + "s\030\004 \001(\0132!.greptime.v1.UnsetDatabaseOptio" + "nsH\000B\006\n\004kind\"G\n\022SetDatabaseOptions\0221\n\024se" + "t_database_options\030\001 \003(\0132\023.greptime.v1.O" + "ption\"$\n\024UnsetDatabaseOptions\022\014\n\004keys\030\001 " + "\003(\t*$\n\010Analyzer\022\013\n\007ENGLISH\020\000\022\013\n\007CHINESE\020" + "\001BL\n\016io.greptime.v1B\003DdlZ5github.com/Gre" + "ptimeTeam/greptime-proto/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, 4839, descriptor_table_protodef_greptime_2fv1_2fddl_2eproto, + false, false, 5087, 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, 33, + &descriptor_table_greptime_2fv1_2fddl_2eproto_once, descriptor_table_greptime_2fv1_2fddl_2eproto_deps, 1, 35, 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, @@ -4464,6 +4517,8 @@ class AlterTableExpr::_Internal { static const ::greptime::v1::SetColumnFulltext& set_column_fulltext(const AlterTableExpr* msg); static const ::greptime::v1::UnsetColumnFulltext& unset_column_fulltext(const AlterTableExpr* msg); static const ::greptime::v1::UnsetTableOptions& unset_table_options(const AlterTableExpr* msg); + static const ::greptime::v1::SetColumnInvertedIndex& set_column_inverted_index(const AlterTableExpr* msg); + static const ::greptime::v1::UnsetColumnInvertedIndex& unset_column_inverted_index(const AlterTableExpr* msg); }; const ::greptime::v1::AddColumns& @@ -4498,6 +4553,14 @@ const ::greptime::v1::UnsetTableOptions& AlterTableExpr::_Internal::unset_table_options(const AlterTableExpr* msg) { return *msg->_impl_.kind_.unset_table_options_; } +const ::greptime::v1::SetColumnInvertedIndex& +AlterTableExpr::_Internal::set_column_inverted_index(const AlterTableExpr* msg) { + return *msg->_impl_.kind_.set_column_inverted_index_; +} +const ::greptime::v1::UnsetColumnInvertedIndex& +AlterTableExpr::_Internal::unset_column_inverted_index(const AlterTableExpr* msg) { + return *msg->_impl_.kind_.unset_column_inverted_index_; +} void AlterTableExpr::set_allocated_add_columns(::greptime::v1::AddColumns* add_columns) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); clear_kind(); @@ -4618,6 +4681,36 @@ void AlterTableExpr::set_allocated_unset_table_options(::greptime::v1::UnsetTabl } // @@protoc_insertion_point(field_set_allocated:greptime.v1.AlterTableExpr.unset_table_options) } +void AlterTableExpr::set_allocated_set_column_inverted_index(::greptime::v1::SetColumnInvertedIndex* set_column_inverted_index) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + clear_kind(); + if (set_column_inverted_index) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(set_column_inverted_index); + if (message_arena != submessage_arena) { + set_column_inverted_index = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, set_column_inverted_index, submessage_arena); + } + set_has_set_column_inverted_index(); + _impl_.kind_.set_column_inverted_index_ = set_column_inverted_index; + } + // @@protoc_insertion_point(field_set_allocated:greptime.v1.AlterTableExpr.set_column_inverted_index) +} +void AlterTableExpr::set_allocated_unset_column_inverted_index(::greptime::v1::UnsetColumnInvertedIndex* unset_column_inverted_index) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + clear_kind(); + if (unset_column_inverted_index) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(unset_column_inverted_index); + if (message_arena != submessage_arena) { + unset_column_inverted_index = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, unset_column_inverted_index, submessage_arena); + } + set_has_unset_column_inverted_index(); + _impl_.kind_.unset_column_inverted_index_ = unset_column_inverted_index; + } + // @@protoc_insertion_point(field_set_allocated:greptime.v1.AlterTableExpr.unset_column_inverted_index) +} AlterTableExpr::AlterTableExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -4702,6 +4795,16 @@ AlterTableExpr::AlterTableExpr(const AlterTableExpr& from) from._internal_unset_table_options()); break; } + case kSetColumnInvertedIndex: { + _this->_internal_mutable_set_column_inverted_index()->::greptime::v1::SetColumnInvertedIndex::MergeFrom( + from._internal_set_column_inverted_index()); + break; + } + case kUnsetColumnInvertedIndex: { + _this->_internal_mutable_unset_column_inverted_index()->::greptime::v1::UnsetColumnInvertedIndex::MergeFrom( + from._internal_unset_column_inverted_index()); + break; + } case KIND_NOT_SET: { break; } @@ -4810,6 +4913,18 @@ void AlterTableExpr::clear_kind() { } break; } + case kSetColumnInvertedIndex: { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.kind_.set_column_inverted_index_; + } + break; + } + case kUnsetColumnInvertedIndex: { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.kind_.unset_column_inverted_index_; + } + break; + } case KIND_NOT_SET: { break; } @@ -4931,6 +5046,22 @@ const char* AlterTableExpr::_InternalParse(const char* ptr, ::_pbi::ParseContext } else goto handle_unusual; continue; + // .greptime.v1.SetColumnInvertedIndex set_column_inverted_index = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { + ptr = ctx->ParseMessage(_internal_mutable_set_column_inverted_index(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .greptime.v1.UnsetColumnInvertedIndex unset_column_inverted_index = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { + ptr = ctx->ParseMessage(_internal_mutable_unset_column_inverted_index(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -5046,6 +5177,20 @@ uint8_t* AlterTableExpr::_InternalSerialize( _Internal::unset_table_options(this).GetCachedSize(), target, stream); } + // .greptime.v1.SetColumnInvertedIndex set_column_inverted_index = 12; + if (_internal_has_set_column_inverted_index()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(12, _Internal::set_column_inverted_index(this), + _Internal::set_column_inverted_index(this).GetCachedSize(), target, stream); + } + + // .greptime.v1.UnsetColumnInvertedIndex unset_column_inverted_index = 13; + if (_internal_has_unset_column_inverted_index()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(13, _Internal::unset_column_inverted_index(this), + _Internal::unset_column_inverted_index(this).GetCachedSize(), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -5140,6 +5285,20 @@ size_t AlterTableExpr::ByteSizeLong() const { *_impl_.kind_.unset_table_options_); break; } + // .greptime.v1.SetColumnInvertedIndex set_column_inverted_index = 12; + case kSetColumnInvertedIndex: { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.kind_.set_column_inverted_index_); + break; + } + // .greptime.v1.UnsetColumnInvertedIndex unset_column_inverted_index = 13; + case kUnsetColumnInvertedIndex: { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.kind_.unset_column_inverted_index_); + break; + } case KIND_NOT_SET: { break; } @@ -5212,6 +5371,16 @@ void AlterTableExpr::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const : from._internal_unset_table_options()); break; } + case kSetColumnInvertedIndex: { + _this->_internal_mutable_set_column_inverted_index()->::greptime::v1::SetColumnInvertedIndex::MergeFrom( + from._internal_set_column_inverted_index()); + break; + } + case kUnsetColumnInvertedIndex: { + _this->_internal_mutable_unset_column_inverted_index()->::greptime::v1::UnsetColumnInvertedIndex::MergeFrom( + from._internal_unset_column_inverted_index()); + break; + } case KIND_NOT_SET: { break; } @@ -10299,6 +10468,412 @@ ::PROTOBUF_NAMESPACE_ID::Metadata UnsetColumnFulltext::GetMetadata() const { // =================================================================== +class SetColumnInvertedIndex::_Internal { + public: +}; + +SetColumnInvertedIndex::SetColumnInvertedIndex(::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.SetColumnInvertedIndex) +} +SetColumnInvertedIndex::SetColumnInvertedIndex(const SetColumnInvertedIndex& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + SetColumnInvertedIndex* 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.SetColumnInvertedIndex) +} + +inline void SetColumnInvertedIndex::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 +} + +SetColumnInvertedIndex::~SetColumnInvertedIndex() { + // @@protoc_insertion_point(destructor:greptime.v1.SetColumnInvertedIndex) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void SetColumnInvertedIndex::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.column_name_.Destroy(); +} + +void SetColumnInvertedIndex::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void SetColumnInvertedIndex::Clear() { +// @@protoc_insertion_point(message_clear_start:greptime.v1.SetColumnInvertedIndex) + 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* SetColumnInvertedIndex::_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(tag) == 10)) { + auto str = _internal_mutable_column_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "greptime.v1.SetColumnInvertedIndex.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* SetColumnInvertedIndex::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:greptime.v1.SetColumnInvertedIndex) + 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(this->_internal_column_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "greptime.v1.SetColumnInvertedIndex.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.SetColumnInvertedIndex) + return target; +} + +size_t SetColumnInvertedIndex::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:greptime.v1.SetColumnInvertedIndex) + 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 SetColumnInvertedIndex::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + SetColumnInvertedIndex::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*SetColumnInvertedIndex::GetClassData() const { return &_class_data_; } + + +void SetColumnInvertedIndex::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:greptime.v1.SetColumnInvertedIndex) + 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 SetColumnInvertedIndex::CopyFrom(const SetColumnInvertedIndex& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.SetColumnInvertedIndex) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool SetColumnInvertedIndex::IsInitialized() const { + return true; +} + +void SetColumnInvertedIndex::InternalSwap(SetColumnInvertedIndex* 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 SetColumnInvertedIndex::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[30]); +} + +// =================================================================== + +class UnsetColumnInvertedIndex::_Internal { + public: +}; + +UnsetColumnInvertedIndex::UnsetColumnInvertedIndex(::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.UnsetColumnInvertedIndex) +} +UnsetColumnInvertedIndex::UnsetColumnInvertedIndex(const UnsetColumnInvertedIndex& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + UnsetColumnInvertedIndex* 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.UnsetColumnInvertedIndex) +} + +inline void UnsetColumnInvertedIndex::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 +} + +UnsetColumnInvertedIndex::~UnsetColumnInvertedIndex() { + // @@protoc_insertion_point(destructor:greptime.v1.UnsetColumnInvertedIndex) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void UnsetColumnInvertedIndex::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.column_name_.Destroy(); +} + +void UnsetColumnInvertedIndex::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void UnsetColumnInvertedIndex::Clear() { +// @@protoc_insertion_point(message_clear_start:greptime.v1.UnsetColumnInvertedIndex) + 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* UnsetColumnInvertedIndex::_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(tag) == 10)) { + auto str = _internal_mutable_column_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "greptime.v1.UnsetColumnInvertedIndex.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* UnsetColumnInvertedIndex::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:greptime.v1.UnsetColumnInvertedIndex) + 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(this->_internal_column_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "greptime.v1.UnsetColumnInvertedIndex.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.UnsetColumnInvertedIndex) + return target; +} + +size_t UnsetColumnInvertedIndex::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:greptime.v1.UnsetColumnInvertedIndex) + 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 UnsetColumnInvertedIndex::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + UnsetColumnInvertedIndex::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UnsetColumnInvertedIndex::GetClassData() const { return &_class_data_; } + + +void UnsetColumnInvertedIndex::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:greptime.v1.UnsetColumnInvertedIndex) + 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 UnsetColumnInvertedIndex::CopyFrom(const UnsetColumnInvertedIndex& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.UnsetColumnInvertedIndex) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool UnsetColumnInvertedIndex::IsInitialized() const { + return true; +} + +void UnsetColumnInvertedIndex::InternalSwap(UnsetColumnInvertedIndex* 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 UnsetColumnInvertedIndex::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[31]); +} + +// =================================================================== + class AlterDatabaseExpr::_Internal { public: static const ::greptime::v1::SetDatabaseOptions& set_database_options(const AlterDatabaseExpr* msg); @@ -10701,7 +11276,7 @@ void AlterDatabaseExpr::InternalSwap(AlterDatabaseExpr* other) { ::PROTOBUF_NAMESPACE_ID::Metadata AlterDatabaseExpr::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[30]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[32]); } // =================================================================== @@ -10886,7 +11461,7 @@ void SetDatabaseOptions::InternalSwap(SetDatabaseOptions* other) { ::PROTOBUF_NAMESPACE_ID::Metadata SetDatabaseOptions::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[31]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[33]); } // =================================================================== @@ -11076,7 +11651,7 @@ void UnsetDatabaseOptions::InternalSwap(UnsetDatabaseOptions* other) { ::PROTOBUF_NAMESPACE_ID::Metadata UnsetDatabaseOptions::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[32]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[34]); } // @@protoc_insertion_point(namespace_scope) @@ -11203,6 +11778,14 @@ template<> PROTOBUF_NOINLINE ::greptime::v1::UnsetColumnFulltext* Arena::CreateMaybeMessage< ::greptime::v1::UnsetColumnFulltext >(Arena* arena) { return Arena::CreateMessageInternal< ::greptime::v1::UnsetColumnFulltext >(arena); } +template<> PROTOBUF_NOINLINE ::greptime::v1::SetColumnInvertedIndex* +Arena::CreateMaybeMessage< ::greptime::v1::SetColumnInvertedIndex >(Arena* arena) { + return Arena::CreateMessageInternal< ::greptime::v1::SetColumnInvertedIndex >(arena); +} +template<> PROTOBUF_NOINLINE ::greptime::v1::UnsetColumnInvertedIndex* +Arena::CreateMaybeMessage< ::greptime::v1::UnsetColumnInvertedIndex >(Arena* arena) { + return Arena::CreateMessageInternal< ::greptime::v1::UnsetColumnInvertedIndex >(arena); +} template<> PROTOBUF_NOINLINE ::greptime::v1::AlterDatabaseExpr* Arena::CreateMaybeMessage< ::greptime::v1::AlterDatabaseExpr >(Arena* arena) { return Arena::CreateMessageInternal< ::greptime::v1::AlterDatabaseExpr >(arena); diff --git a/c++/greptime/v1/ddl.pb.h b/c++/greptime/v1/ddl.pb.h index 36ce5cfd..46baef9d 100644 --- a/c++/greptime/v1/ddl.pb.h +++ b/c++/greptime/v1/ddl.pb.h @@ -129,6 +129,9 @@ extern RenameTableDefaultTypeInternal _RenameTable_default_instance_; class SetColumnFulltext; struct SetColumnFulltextDefaultTypeInternal; extern SetColumnFulltextDefaultTypeInternal _SetColumnFulltext_default_instance_; +class SetColumnInvertedIndex; +struct SetColumnInvertedIndexDefaultTypeInternal; +extern SetColumnInvertedIndexDefaultTypeInternal _SetColumnInvertedIndex_default_instance_; class SetDatabaseOptions; struct SetDatabaseOptionsDefaultTypeInternal; extern SetDatabaseOptionsDefaultTypeInternal _SetDatabaseOptions_default_instance_; @@ -144,6 +147,9 @@ extern TruncateTableExprDefaultTypeInternal _TruncateTableExpr_default_instance_ class UnsetColumnFulltext; struct UnsetColumnFulltextDefaultTypeInternal; extern UnsetColumnFulltextDefaultTypeInternal _UnsetColumnFulltext_default_instance_; +class UnsetColumnInvertedIndex; +struct UnsetColumnInvertedIndexDefaultTypeInternal; +extern UnsetColumnInvertedIndexDefaultTypeInternal _UnsetColumnInvertedIndex_default_instance_; class UnsetDatabaseOptions; struct UnsetDatabaseOptionsDefaultTypeInternal; extern UnsetDatabaseOptionsDefaultTypeInternal _UnsetDatabaseOptions_default_instance_; @@ -179,11 +185,13 @@ template<> ::greptime::v1::ModifyColumnTypes* Arena::CreateMaybeMessage<::grepti template<> ::greptime::v1::Option* Arena::CreateMaybeMessage<::greptime::v1::Option>(Arena*); template<> ::greptime::v1::RenameTable* Arena::CreateMaybeMessage<::greptime::v1::RenameTable>(Arena*); template<> ::greptime::v1::SetColumnFulltext* Arena::CreateMaybeMessage<::greptime::v1::SetColumnFulltext>(Arena*); +template<> ::greptime::v1::SetColumnInvertedIndex* Arena::CreateMaybeMessage<::greptime::v1::SetColumnInvertedIndex>(Arena*); template<> ::greptime::v1::SetDatabaseOptions* Arena::CreateMaybeMessage<::greptime::v1::SetDatabaseOptions>(Arena*); template<> ::greptime::v1::SetTableOptions* Arena::CreateMaybeMessage<::greptime::v1::SetTableOptions>(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*); +template<> ::greptime::v1::UnsetColumnInvertedIndex* Arena::CreateMaybeMessage<::greptime::v1::UnsetColumnInvertedIndex>(Arena*); template<> ::greptime::v1::UnsetDatabaseOptions* Arena::CreateMaybeMessage<::greptime::v1::UnsetDatabaseOptions>(Arena*); template<> ::greptime::v1::UnsetTableOptions* Arena::CreateMaybeMessage<::greptime::v1::UnsetTableOptions>(Arena*); PROTOBUF_NAMESPACE_CLOSE @@ -2094,6 +2102,8 @@ class AlterTableExpr final : kSetColumnFulltext = 9, kUnsetColumnFulltext = 10, kUnsetTableOptions = 11, + kSetColumnInvertedIndex = 12, + kUnsetColumnInvertedIndex = 13, KIND_NOT_SET = 0, }; @@ -2186,6 +2196,8 @@ class AlterTableExpr final : kSetColumnFulltextFieldNumber = 9, kUnsetColumnFulltextFieldNumber = 10, kUnsetTableOptionsFieldNumber = 11, + kSetColumnInvertedIndexFieldNumber = 12, + kUnsetColumnInvertedIndexFieldNumber = 13, }; // string catalog_name = 1; void clear_catalog_name(); @@ -2373,6 +2385,42 @@ class AlterTableExpr final : ::greptime::v1::UnsetTableOptions* unset_table_options); ::greptime::v1::UnsetTableOptions* unsafe_arena_release_unset_table_options(); + // .greptime.v1.SetColumnInvertedIndex set_column_inverted_index = 12; + bool has_set_column_inverted_index() const; + private: + bool _internal_has_set_column_inverted_index() const; + public: + void clear_set_column_inverted_index(); + const ::greptime::v1::SetColumnInvertedIndex& set_column_inverted_index() const; + PROTOBUF_NODISCARD ::greptime::v1::SetColumnInvertedIndex* release_set_column_inverted_index(); + ::greptime::v1::SetColumnInvertedIndex* mutable_set_column_inverted_index(); + void set_allocated_set_column_inverted_index(::greptime::v1::SetColumnInvertedIndex* set_column_inverted_index); + private: + const ::greptime::v1::SetColumnInvertedIndex& _internal_set_column_inverted_index() const; + ::greptime::v1::SetColumnInvertedIndex* _internal_mutable_set_column_inverted_index(); + public: + void unsafe_arena_set_allocated_set_column_inverted_index( + ::greptime::v1::SetColumnInvertedIndex* set_column_inverted_index); + ::greptime::v1::SetColumnInvertedIndex* unsafe_arena_release_set_column_inverted_index(); + + // .greptime.v1.UnsetColumnInvertedIndex unset_column_inverted_index = 13; + bool has_unset_column_inverted_index() const; + private: + bool _internal_has_unset_column_inverted_index() const; + public: + void clear_unset_column_inverted_index(); + const ::greptime::v1::UnsetColumnInvertedIndex& unset_column_inverted_index() const; + PROTOBUF_NODISCARD ::greptime::v1::UnsetColumnInvertedIndex* release_unset_column_inverted_index(); + ::greptime::v1::UnsetColumnInvertedIndex* mutable_unset_column_inverted_index(); + void set_allocated_unset_column_inverted_index(::greptime::v1::UnsetColumnInvertedIndex* unset_column_inverted_index); + private: + const ::greptime::v1::UnsetColumnInvertedIndex& _internal_unset_column_inverted_index() const; + ::greptime::v1::UnsetColumnInvertedIndex* _internal_mutable_unset_column_inverted_index(); + public: + void unsafe_arena_set_allocated_unset_column_inverted_index( + ::greptime::v1::UnsetColumnInvertedIndex* unset_column_inverted_index); + ::greptime::v1::UnsetColumnInvertedIndex* unsafe_arena_release_unset_column_inverted_index(); + void clear_kind(); KindCase kind_case() const; // @@protoc_insertion_point(class_scope:greptime.v1.AlterTableExpr) @@ -2386,6 +2434,8 @@ class AlterTableExpr final : void set_has_set_column_fulltext(); void set_has_unset_column_fulltext(); void set_has_unset_table_options(); + void set_has_set_column_inverted_index(); + void set_has_unset_column_inverted_index(); inline bool has_kind() const; inline void clear_has_kind(); @@ -2408,6 +2458,8 @@ class AlterTableExpr final : ::greptime::v1::SetColumnFulltext* set_column_fulltext_; ::greptime::v1::UnsetColumnFulltext* unset_column_fulltext_; ::greptime::v1::UnsetTableOptions* unset_table_options_; + ::greptime::v1::SetColumnInvertedIndex* set_column_inverted_index_; + ::greptime::v1::UnsetColumnInvertedIndex* unset_column_inverted_index_; } kind_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; uint32_t _oneof_case_[1]; @@ -5967,6 +6019,312 @@ class UnsetColumnFulltext final : }; // ------------------------------------------------------------------- +class SetColumnInvertedIndex final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.SetColumnInvertedIndex) */ { + public: + inline SetColumnInvertedIndex() : SetColumnInvertedIndex(nullptr) {} + ~SetColumnInvertedIndex() override; + explicit PROTOBUF_CONSTEXPR SetColumnInvertedIndex(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + SetColumnInvertedIndex(const SetColumnInvertedIndex& from); + SetColumnInvertedIndex(SetColumnInvertedIndex&& from) noexcept + : SetColumnInvertedIndex() { + *this = ::std::move(from); + } + + inline SetColumnInvertedIndex& operator=(const SetColumnInvertedIndex& from) { + CopyFrom(from); + return *this; + } + inline SetColumnInvertedIndex& operator=(SetColumnInvertedIndex&& 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 SetColumnInvertedIndex& default_instance() { + return *internal_default_instance(); + } + static inline const SetColumnInvertedIndex* internal_default_instance() { + return reinterpret_cast( + &_SetColumnInvertedIndex_default_instance_); + } + static constexpr int kIndexInFileMessages = + 30; + + friend void swap(SetColumnInvertedIndex& a, SetColumnInvertedIndex& b) { + a.Swap(&b); + } + inline void Swap(SetColumnInvertedIndex* 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(SetColumnInvertedIndex* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SetColumnInvertedIndex* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const SetColumnInvertedIndex& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const SetColumnInvertedIndex& from) { + SetColumnInvertedIndex::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(SetColumnInvertedIndex* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "greptime.v1.SetColumnInvertedIndex"; + } + protected: + explicit SetColumnInvertedIndex(::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 + 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.SetColumnInvertedIndex) + private: + class _Internal; + + template 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; +}; +// ------------------------------------------------------------------- + +class UnsetColumnInvertedIndex final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.UnsetColumnInvertedIndex) */ { + public: + inline UnsetColumnInvertedIndex() : UnsetColumnInvertedIndex(nullptr) {} + ~UnsetColumnInvertedIndex() override; + explicit PROTOBUF_CONSTEXPR UnsetColumnInvertedIndex(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + UnsetColumnInvertedIndex(const UnsetColumnInvertedIndex& from); + UnsetColumnInvertedIndex(UnsetColumnInvertedIndex&& from) noexcept + : UnsetColumnInvertedIndex() { + *this = ::std::move(from); + } + + inline UnsetColumnInvertedIndex& operator=(const UnsetColumnInvertedIndex& from) { + CopyFrom(from); + return *this; + } + inline UnsetColumnInvertedIndex& operator=(UnsetColumnInvertedIndex&& 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 UnsetColumnInvertedIndex& default_instance() { + return *internal_default_instance(); + } + static inline const UnsetColumnInvertedIndex* internal_default_instance() { + return reinterpret_cast( + &_UnsetColumnInvertedIndex_default_instance_); + } + static constexpr int kIndexInFileMessages = + 31; + + friend void swap(UnsetColumnInvertedIndex& a, UnsetColumnInvertedIndex& b) { + a.Swap(&b); + } + inline void Swap(UnsetColumnInvertedIndex* 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(UnsetColumnInvertedIndex* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + UnsetColumnInvertedIndex* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const UnsetColumnInvertedIndex& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const UnsetColumnInvertedIndex& from) { + UnsetColumnInvertedIndex::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(UnsetColumnInvertedIndex* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "greptime.v1.UnsetColumnInvertedIndex"; + } + protected: + explicit UnsetColumnInvertedIndex(::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 + 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.UnsetColumnInvertedIndex) + private: + class _Internal; + + template 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; +}; +// ------------------------------------------------------------------- + class AlterDatabaseExpr final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.AlterDatabaseExpr) */ { public: @@ -6021,7 +6379,7 @@ class AlterDatabaseExpr final : &_AlterDatabaseExpr_default_instance_); } static constexpr int kIndexInFileMessages = - 30; + 32; friend void swap(AlterDatabaseExpr& a, AlterDatabaseExpr& b) { a.Swap(&b); @@ -6243,7 +6601,7 @@ class SetDatabaseOptions final : &_SetDatabaseOptions_default_instance_); } static constexpr int kIndexInFileMessages = - 31; + 33; friend void swap(SetDatabaseOptions& a, SetDatabaseOptions& b) { a.Swap(&b); @@ -6400,7 +6758,7 @@ class UnsetDatabaseOptions final : &_UnsetDatabaseOptions_default_instance_); } static constexpr int kIndexInFileMessages = - 32; + 34; friend void swap(UnsetDatabaseOptions& a, UnsetDatabaseOptions& b) { a.Swap(&b); @@ -10020,6 +10378,154 @@ inline ::greptime::v1::UnsetTableOptions* AlterTableExpr::mutable_unset_table_op return _msg; } +// .greptime.v1.SetColumnInvertedIndex set_column_inverted_index = 12; +inline bool AlterTableExpr::_internal_has_set_column_inverted_index() const { + return kind_case() == kSetColumnInvertedIndex; +} +inline bool AlterTableExpr::has_set_column_inverted_index() const { + return _internal_has_set_column_inverted_index(); +} +inline void AlterTableExpr::set_has_set_column_inverted_index() { + _impl_._oneof_case_[0] = kSetColumnInvertedIndex; +} +inline void AlterTableExpr::clear_set_column_inverted_index() { + if (_internal_has_set_column_inverted_index()) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.kind_.set_column_inverted_index_; + } + clear_has_kind(); + } +} +inline ::greptime::v1::SetColumnInvertedIndex* AlterTableExpr::release_set_column_inverted_index() { + // @@protoc_insertion_point(field_release:greptime.v1.AlterTableExpr.set_column_inverted_index) + if (_internal_has_set_column_inverted_index()) { + clear_has_kind(); + ::greptime::v1::SetColumnInvertedIndex* temp = _impl_.kind_.set_column_inverted_index_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.kind_.set_column_inverted_index_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::greptime::v1::SetColumnInvertedIndex& AlterTableExpr::_internal_set_column_inverted_index() const { + return _internal_has_set_column_inverted_index() + ? *_impl_.kind_.set_column_inverted_index_ + : reinterpret_cast< ::greptime::v1::SetColumnInvertedIndex&>(::greptime::v1::_SetColumnInvertedIndex_default_instance_); +} +inline const ::greptime::v1::SetColumnInvertedIndex& AlterTableExpr::set_column_inverted_index() const { + // @@protoc_insertion_point(field_get:greptime.v1.AlterTableExpr.set_column_inverted_index) + return _internal_set_column_inverted_index(); +} +inline ::greptime::v1::SetColumnInvertedIndex* AlterTableExpr::unsafe_arena_release_set_column_inverted_index() { + // @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.AlterTableExpr.set_column_inverted_index) + if (_internal_has_set_column_inverted_index()) { + clear_has_kind(); + ::greptime::v1::SetColumnInvertedIndex* temp = _impl_.kind_.set_column_inverted_index_; + _impl_.kind_.set_column_inverted_index_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void AlterTableExpr::unsafe_arena_set_allocated_set_column_inverted_index(::greptime::v1::SetColumnInvertedIndex* set_column_inverted_index) { + clear_kind(); + if (set_column_inverted_index) { + set_has_set_column_inverted_index(); + _impl_.kind_.set_column_inverted_index_ = set_column_inverted_index; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.AlterTableExpr.set_column_inverted_index) +} +inline ::greptime::v1::SetColumnInvertedIndex* AlterTableExpr::_internal_mutable_set_column_inverted_index() { + if (!_internal_has_set_column_inverted_index()) { + clear_kind(); + set_has_set_column_inverted_index(); + _impl_.kind_.set_column_inverted_index_ = CreateMaybeMessage< ::greptime::v1::SetColumnInvertedIndex >(GetArenaForAllocation()); + } + return _impl_.kind_.set_column_inverted_index_; +} +inline ::greptime::v1::SetColumnInvertedIndex* AlterTableExpr::mutable_set_column_inverted_index() { + ::greptime::v1::SetColumnInvertedIndex* _msg = _internal_mutable_set_column_inverted_index(); + // @@protoc_insertion_point(field_mutable:greptime.v1.AlterTableExpr.set_column_inverted_index) + return _msg; +} + +// .greptime.v1.UnsetColumnInvertedIndex unset_column_inverted_index = 13; +inline bool AlterTableExpr::_internal_has_unset_column_inverted_index() const { + return kind_case() == kUnsetColumnInvertedIndex; +} +inline bool AlterTableExpr::has_unset_column_inverted_index() const { + return _internal_has_unset_column_inverted_index(); +} +inline void AlterTableExpr::set_has_unset_column_inverted_index() { + _impl_._oneof_case_[0] = kUnsetColumnInvertedIndex; +} +inline void AlterTableExpr::clear_unset_column_inverted_index() { + if (_internal_has_unset_column_inverted_index()) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.kind_.unset_column_inverted_index_; + } + clear_has_kind(); + } +} +inline ::greptime::v1::UnsetColumnInvertedIndex* AlterTableExpr::release_unset_column_inverted_index() { + // @@protoc_insertion_point(field_release:greptime.v1.AlterTableExpr.unset_column_inverted_index) + if (_internal_has_unset_column_inverted_index()) { + clear_has_kind(); + ::greptime::v1::UnsetColumnInvertedIndex* temp = _impl_.kind_.unset_column_inverted_index_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.kind_.unset_column_inverted_index_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::greptime::v1::UnsetColumnInvertedIndex& AlterTableExpr::_internal_unset_column_inverted_index() const { + return _internal_has_unset_column_inverted_index() + ? *_impl_.kind_.unset_column_inverted_index_ + : reinterpret_cast< ::greptime::v1::UnsetColumnInvertedIndex&>(::greptime::v1::_UnsetColumnInvertedIndex_default_instance_); +} +inline const ::greptime::v1::UnsetColumnInvertedIndex& AlterTableExpr::unset_column_inverted_index() const { + // @@protoc_insertion_point(field_get:greptime.v1.AlterTableExpr.unset_column_inverted_index) + return _internal_unset_column_inverted_index(); +} +inline ::greptime::v1::UnsetColumnInvertedIndex* AlterTableExpr::unsafe_arena_release_unset_column_inverted_index() { + // @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.AlterTableExpr.unset_column_inverted_index) + if (_internal_has_unset_column_inverted_index()) { + clear_has_kind(); + ::greptime::v1::UnsetColumnInvertedIndex* temp = _impl_.kind_.unset_column_inverted_index_; + _impl_.kind_.unset_column_inverted_index_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void AlterTableExpr::unsafe_arena_set_allocated_unset_column_inverted_index(::greptime::v1::UnsetColumnInvertedIndex* unset_column_inverted_index) { + clear_kind(); + if (unset_column_inverted_index) { + set_has_unset_column_inverted_index(); + _impl_.kind_.unset_column_inverted_index_ = unset_column_inverted_index; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.AlterTableExpr.unset_column_inverted_index) +} +inline ::greptime::v1::UnsetColumnInvertedIndex* AlterTableExpr::_internal_mutable_unset_column_inverted_index() { + if (!_internal_has_unset_column_inverted_index()) { + clear_kind(); + set_has_unset_column_inverted_index(); + _impl_.kind_.unset_column_inverted_index_ = CreateMaybeMessage< ::greptime::v1::UnsetColumnInvertedIndex >(GetArenaForAllocation()); + } + return _impl_.kind_.unset_column_inverted_index_; +} +inline ::greptime::v1::UnsetColumnInvertedIndex* AlterTableExpr::mutable_unset_column_inverted_index() { + ::greptime::v1::UnsetColumnInvertedIndex* _msg = _internal_mutable_unset_column_inverted_index(); + // @@protoc_insertion_point(field_mutable:greptime.v1.AlterTableExpr.unset_column_inverted_index) + return _msg; +} + inline bool AlterTableExpr::has_kind() const { return kind_case() != KIND_NOT_SET; } @@ -12302,6 +12808,114 @@ inline void UnsetColumnFulltext::set_allocated_column_name(std::string* column_n // ------------------------------------------------------------------- +// SetColumnInvertedIndex + +// string column_name = 1; +inline void SetColumnInvertedIndex::clear_column_name() { + _impl_.column_name_.ClearToEmpty(); +} +inline const std::string& SetColumnInvertedIndex::column_name() const { + // @@protoc_insertion_point(field_get:greptime.v1.SetColumnInvertedIndex.column_name) + return _internal_column_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void SetColumnInvertedIndex::set_column_name(ArgT0&& arg0, ArgT... args) { + + _impl_.column_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:greptime.v1.SetColumnInvertedIndex.column_name) +} +inline std::string* SetColumnInvertedIndex::mutable_column_name() { + std::string* _s = _internal_mutable_column_name(); + // @@protoc_insertion_point(field_mutable:greptime.v1.SetColumnInvertedIndex.column_name) + return _s; +} +inline const std::string& SetColumnInvertedIndex::_internal_column_name() const { + return _impl_.column_name_.Get(); +} +inline void SetColumnInvertedIndex::_internal_set_column_name(const std::string& value) { + + _impl_.column_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* SetColumnInvertedIndex::_internal_mutable_column_name() { + + return _impl_.column_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* SetColumnInvertedIndex::release_column_name() { + // @@protoc_insertion_point(field_release:greptime.v1.SetColumnInvertedIndex.column_name) + return _impl_.column_name_.Release(); +} +inline void SetColumnInvertedIndex::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.SetColumnInvertedIndex.column_name) +} + +// ------------------------------------------------------------------- + +// UnsetColumnInvertedIndex + +// string column_name = 1; +inline void UnsetColumnInvertedIndex::clear_column_name() { + _impl_.column_name_.ClearToEmpty(); +} +inline const std::string& UnsetColumnInvertedIndex::column_name() const { + // @@protoc_insertion_point(field_get:greptime.v1.UnsetColumnInvertedIndex.column_name) + return _internal_column_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void UnsetColumnInvertedIndex::set_column_name(ArgT0&& arg0, ArgT... args) { + + _impl_.column_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:greptime.v1.UnsetColumnInvertedIndex.column_name) +} +inline std::string* UnsetColumnInvertedIndex::mutable_column_name() { + std::string* _s = _internal_mutable_column_name(); + // @@protoc_insertion_point(field_mutable:greptime.v1.UnsetColumnInvertedIndex.column_name) + return _s; +} +inline const std::string& UnsetColumnInvertedIndex::_internal_column_name() const { + return _impl_.column_name_.Get(); +} +inline void UnsetColumnInvertedIndex::_internal_set_column_name(const std::string& value) { + + _impl_.column_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* UnsetColumnInvertedIndex::_internal_mutable_column_name() { + + return _impl_.column_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* UnsetColumnInvertedIndex::release_column_name() { + // @@protoc_insertion_point(field_release:greptime.v1.UnsetColumnInvertedIndex.column_name) + return _impl_.column_name_.Release(); +} +inline void UnsetColumnInvertedIndex::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.UnsetColumnInvertedIndex.column_name) +} + +// ------------------------------------------------------------------- + // AlterDatabaseExpr // string catalog_name = 1; @@ -12751,6 +13365,10 @@ UnsetDatabaseOptions::mutable_keys() { // ------------------------------------------------------------------- +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + // @@protoc_insertion_point(namespace_scope) diff --git a/go/greptime/v1/ddl.pb.go b/go/greptime/v1/ddl.pb.go index 7202a63c..5bfcb37a 100644 --- a/go/greptime/v1/ddl.pb.go +++ b/go/greptime/v1/ddl.pb.go @@ -861,6 +861,8 @@ type AlterTableExpr struct { // *AlterTableExpr_SetColumnFulltext // *AlterTableExpr_UnsetColumnFulltext // *AlterTableExpr_UnsetTableOptions + // *AlterTableExpr_SetColumnInvertedIndex + // *AlterTableExpr_UnsetColumnInvertedIndex Kind isAlterTableExpr_Kind `protobuf_oneof:"kind"` } @@ -980,6 +982,20 @@ func (x *AlterTableExpr) GetUnsetTableOptions() *UnsetTableOptions { return nil } +func (x *AlterTableExpr) GetSetColumnInvertedIndex() *SetColumnInvertedIndex { + if x, ok := x.GetKind().(*AlterTableExpr_SetColumnInvertedIndex); ok { + return x.SetColumnInvertedIndex + } + return nil +} + +func (x *AlterTableExpr) GetUnsetColumnInvertedIndex() *UnsetColumnInvertedIndex { + if x, ok := x.GetKind().(*AlterTableExpr_UnsetColumnInvertedIndex); ok { + return x.UnsetColumnInvertedIndex + } + return nil +} + type isAlterTableExpr_Kind interface { isAlterTableExpr_Kind() } @@ -1016,6 +1032,14 @@ type AlterTableExpr_UnsetTableOptions struct { UnsetTableOptions *UnsetTableOptions `protobuf:"bytes,11,opt,name=unset_table_options,json=unsetTableOptions,proto3,oneof"` } +type AlterTableExpr_SetColumnInvertedIndex struct { + SetColumnInvertedIndex *SetColumnInvertedIndex `protobuf:"bytes,12,opt,name=set_column_inverted_index,json=setColumnInvertedIndex,proto3,oneof"` +} + +type AlterTableExpr_UnsetColumnInvertedIndex struct { + UnsetColumnInvertedIndex *UnsetColumnInvertedIndex `protobuf:"bytes,13,opt,name=unset_column_inverted_index,json=unsetColumnInvertedIndex,proto3,oneof"` +} + func (*AlterTableExpr_AddColumns) isAlterTableExpr_Kind() {} func (*AlterTableExpr_DropColumns) isAlterTableExpr_Kind() {} @@ -1032,6 +1056,10 @@ func (*AlterTableExpr_UnsetColumnFulltext) isAlterTableExpr_Kind() {} func (*AlterTableExpr_UnsetTableOptions) isAlterTableExpr_Kind() {} +func (*AlterTableExpr_SetColumnInvertedIndex) isAlterTableExpr_Kind() {} + +func (*AlterTableExpr_UnsetColumnInvertedIndex) isAlterTableExpr_Kind() {} + type DropTableExpr struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2190,6 +2218,100 @@ func (x *UnsetColumnFulltext) GetColumnName() string { return "" } +type SetColumnInvertedIndex 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 *SetColumnInvertedIndex) Reset() { + *x = SetColumnInvertedIndex{} + if protoimpl.UnsafeEnabled { + mi := &file_greptime_v1_ddl_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetColumnInvertedIndex) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetColumnInvertedIndex) ProtoMessage() {} + +func (x *SetColumnInvertedIndex) ProtoReflect() protoreflect.Message { + mi := &file_greptime_v1_ddl_proto_msgTypes[27] + 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 SetColumnInvertedIndex.ProtoReflect.Descriptor instead. +func (*SetColumnInvertedIndex) Descriptor() ([]byte, []int) { + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{27} +} + +func (x *SetColumnInvertedIndex) GetColumnName() string { + if x != nil { + return x.ColumnName + } + return "" +} + +type UnsetColumnInvertedIndex 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 *UnsetColumnInvertedIndex) Reset() { + *x = UnsetColumnInvertedIndex{} + if protoimpl.UnsafeEnabled { + mi := &file_greptime_v1_ddl_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UnsetColumnInvertedIndex) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UnsetColumnInvertedIndex) ProtoMessage() {} + +func (x *UnsetColumnInvertedIndex) ProtoReflect() protoreflect.Message { + mi := &file_greptime_v1_ddl_proto_msgTypes[28] + 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 UnsetColumnInvertedIndex.ProtoReflect.Descriptor instead. +func (*UnsetColumnInvertedIndex) Descriptor() ([]byte, []int) { + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{28} +} + +func (x *UnsetColumnInvertedIndex) GetColumnName() string { + if x != nil { + return x.ColumnName + } + return "" +} + type AlterDatabaseExpr struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2207,7 +2329,7 @@ type AlterDatabaseExpr struct { func (x *AlterDatabaseExpr) Reset() { *x = AlterDatabaseExpr{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[27] + mi := &file_greptime_v1_ddl_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2220,7 +2342,7 @@ func (x *AlterDatabaseExpr) String() string { func (*AlterDatabaseExpr) ProtoMessage() {} func (x *AlterDatabaseExpr) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[27] + mi := &file_greptime_v1_ddl_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2233,7 +2355,7 @@ func (x *AlterDatabaseExpr) ProtoReflect() protoreflect.Message { // Deprecated: Use AlterDatabaseExpr.ProtoReflect.Descriptor instead. func (*AlterDatabaseExpr) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{27} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{29} } func (x *AlterDatabaseExpr) GetCatalogName() string { @@ -2298,7 +2420,7 @@ type SetDatabaseOptions struct { func (x *SetDatabaseOptions) Reset() { *x = SetDatabaseOptions{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[28] + mi := &file_greptime_v1_ddl_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2311,7 +2433,7 @@ func (x *SetDatabaseOptions) String() string { func (*SetDatabaseOptions) ProtoMessage() {} func (x *SetDatabaseOptions) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[28] + mi := &file_greptime_v1_ddl_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2324,7 +2446,7 @@ func (x *SetDatabaseOptions) ProtoReflect() protoreflect.Message { // Deprecated: Use SetDatabaseOptions.ProtoReflect.Descriptor instead. func (*SetDatabaseOptions) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{28} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{30} } func (x *SetDatabaseOptions) GetSetDatabaseOptions() []*Option { @@ -2345,7 +2467,7 @@ type UnsetDatabaseOptions struct { func (x *UnsetDatabaseOptions) Reset() { *x = UnsetDatabaseOptions{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[29] + mi := &file_greptime_v1_ddl_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2358,7 +2480,7 @@ func (x *UnsetDatabaseOptions) String() string { func (*UnsetDatabaseOptions) ProtoMessage() {} func (x *UnsetDatabaseOptions) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[29] + mi := &file_greptime_v1_ddl_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2371,7 +2493,7 @@ func (x *UnsetDatabaseOptions) ProtoReflect() protoreflect.Message { // Deprecated: Use UnsetDatabaseOptions.ProtoReflect.Descriptor instead. func (*UnsetDatabaseOptions) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{29} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{31} } func (x *UnsetDatabaseOptions) GetKeys() []string { @@ -2544,7 +2666,7 @@ var file_greptime_v1_ddl_proto_rawDesc = []byte{ 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xcf, 0x05, 0x0a, 0x0e, 0x41, 0x6c, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x99, 0x07, 0x0a, 0x0e, 0x41, 0x6c, 0x74, 0x65, 0x72, 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, @@ -2589,195 +2711,215 @@ var file_greptime_v1_ddl_proto_rawDesc = []byte{ 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x11, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0xc9, 0x01, 0x0a, 0x0d, - 0x44, 0x72, 0x6f, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, - 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, - 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, - 0x12, 0x2f, 0x0a, 0x08, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x52, 0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x49, - 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x69, 0x66, 0x5f, 0x65, 0x78, 0x69, - 0x73, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x49, - 0x66, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x22, 0x8d, 0x02, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, - 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, - 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x14, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x66, 0x5f, - 0x6e, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x66, 0x4e, 0x6f, 0x74, 0x45, 0x78, 0x69, - 0x73, 0x74, 0x73, 0x12, 0x46, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, - 0x65, 0x45, 0x78, 0x70, 0x72, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, 0x4f, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, - 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xa7, 0x01, 0x0a, 0x11, 0x54, 0x72, 0x75, 0x6e, - 0x63, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, - 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, - 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, - 0x12, 0x2f, 0x0a, 0x08, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x52, 0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x49, - 0x64, 0x22, 0x7c, 0x0a, 0x10, 0x44, 0x72, 0x6f, 0x70, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, - 0x65, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, - 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, - 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, - 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, - 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x64, 0x72, 0x6f, - 0x70, 0x5f, 0x69, 0x66, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x49, 0x66, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x22, - 0x45, 0x0a, 0x0a, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x37, 0x0a, - 0x0b, 0x61, 0x64, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x0a, 0x61, 0x64, 0x64, 0x43, - 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22, 0x49, 0x0a, 0x0b, 0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, - 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x3a, 0x0a, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x63, 0x6f, - 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, - 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, - 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x0b, 0x64, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, - 0x73, 0x22, 0x62, 0x0a, 0x11, 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, + 0x6f, 0x6e, 0x73, 0x12, 0x60, 0x0a, 0x19, 0x73, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, + 0x6e, 0x5f, 0x69, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, + 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x49, 0x6e, + 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x48, 0x00, 0x52, 0x16, 0x73, + 0x65, 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x49, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, + 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x66, 0x0a, 0x1b, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x5f, 0x63, + 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x69, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x69, + 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x72, 0x65, + 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x43, 0x6f, + 0x6c, 0x75, 0x6d, 0x6e, 0x49, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, 0x49, 0x6e, 0x64, 0x65, + 0x78, 0x48, 0x00, 0x52, 0x18, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, + 0x49, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x42, 0x06, 0x0a, + 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0xc9, 0x01, 0x0a, 0x0d, 0x44, 0x72, 0x6f, 0x70, 0x54, 0x61, + 0x62, 0x6c, 0x65, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, + 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, + 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x08, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, + 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x49, 0x64, 0x52, 0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x64, + 0x72, 0x6f, 0x70, 0x5f, 0x69, 0x66, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x49, 0x66, 0x45, 0x78, 0x69, 0x73, 0x74, + 0x73, 0x22, 0x8d, 0x02, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, + 0x62, 0x61, 0x73, 0x65, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, + 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, + 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x14, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x66, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x65, 0x78, + 0x69, 0x73, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x49, 0x66, 0x4e, 0x6f, 0x74, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x46, 0x0a, + 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, + 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x45, 0x78, 0x70, 0x72, 0x2e, + 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x6f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, + 0x01, 0x22, 0xa7, 0x01, 0x0a, 0x11, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x54, 0x61, + 0x62, 0x6c, 0x65, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, + 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, + 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x08, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, + 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x49, 0x64, 0x52, 0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x22, 0x7c, 0x0a, 0x10, 0x44, + 0x72, 0x6f, 0x70, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x45, 0x78, 0x70, 0x72, 0x12, + 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, + 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, + 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x69, 0x66, 0x5f, 0x65, + 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x64, 0x72, 0x6f, + 0x70, 0x49, 0x66, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x22, 0x45, 0x0a, 0x0a, 0x41, 0x64, 0x64, + 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x37, 0x0a, 0x0b, 0x61, 0x64, 0x64, 0x5f, 0x63, + 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, + 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6f, + 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x0a, 0x61, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, + 0x22, 0x49, 0x0a, 0x0b, 0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, + 0x3a, 0x0a, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x0b, + 0x64, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22, 0x62, 0x0a, 0x11, 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, 0x30, 0x0a, 0x06, 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, 0x4b, 0x0a, 0x0f, 0x53, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x38, 0x0a, 0x0d, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, + 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x22, 0x27, 0x0a, 0x11, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x6b, 0x65, 0x79, 0x73, 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, 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, 0x30, 0x0a, 0x06, 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, 0x4b, 0x0a, 0x0f, 0x53, 0x65, - 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x38, 0x0a, - 0x0d, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, - 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x27, 0x0a, 0x11, 0x55, 0x6e, 0x73, 0x65, 0x74, - 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x12, 0x0a, 0x04, - 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x6b, 0x65, 0x79, 0x73, - 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, + 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, 0x22, 0x8f, 0x02, 0x0a, 0x11, 0x41, 0x6c, 0x74, 0x65, 0x72, 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, 0x53, 0x0a, + 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, 0x22, 0x39, 0x0a, + 0x16, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x49, 0x6e, 0x76, 0x65, 0x72, 0x74, + 0x65, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 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, 0x22, 0x3b, 0x0a, 0x18, 0x55, 0x6e, 0x73, 0x65, + 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x49, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, 0x49, + 0x6e, 0x64, 0x65, 0x78, 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, 0x22, 0x8f, 0x02, 0x0a, 0x11, 0x41, 0x6c, 0x74, 0x65, 0x72, 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, + 0x53, 0x0a, 0x14, 0x73, 0x65, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, + 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, + 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x44, + 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, + 0x52, 0x12, 0x73, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x59, 0x0a, 0x16, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x5f, 0x64, 0x61, + 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, + 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x14, 0x75, 0x6e, 0x73, 0x65, 0x74, + 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, + 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0x5b, 0x0a, 0x12, 0x53, 0x65, 0x74, 0x44, 0x61, + 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x45, 0x0a, 0x14, 0x73, 0x65, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, - 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x44, 0x61, 0x74, - 0x61, 0x62, 0x61, 0x73, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x12, - 0x73, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x12, 0x59, 0x0a, 0x16, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, - 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x14, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x44, 0x61, - 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x06, 0x0a, - 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0x5b, 0x0a, 0x12, 0x53, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, - 0x62, 0x61, 0x73, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x45, 0x0a, 0x14, 0x73, - 0x65, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x72, 0x65, 0x70, - 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x12, - 0x73, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x22, 0x2a, 0x0a, 0x14, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, - 0x61, 0x73, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x65, - 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x6b, 0x65, 0x79, 0x73, 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, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x72, + 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x12, 0x73, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x2a, 0x0a, 0x14, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x44, 0x61, 0x74, + 0x61, 0x62, 0x61, 0x73, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x12, 0x0a, 0x04, + 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x6b, 0x65, 0x79, 0x73, + 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 ( @@ -2793,7 +2935,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, 33) +var file_greptime_v1_ddl_proto_msgTypes = make([]protoimpl.MessageInfo, 35) var file_greptime_v1_ddl_proto_goTypes = []interface{}{ (Analyzer)(0), // 0: greptime.v1.Analyzer (AddColumnLocation_LocationType)(0), // 1: greptime.v1.AddColumnLocation.LocationType @@ -2824,18 +2966,20 @@ var file_greptime_v1_ddl_proto_goTypes = []interface{}{ (*AddColumnLocation)(nil), // 26: greptime.v1.AddColumnLocation (*SetColumnFulltext)(nil), // 27: greptime.v1.SetColumnFulltext (*UnsetColumnFulltext)(nil), // 28: greptime.v1.UnsetColumnFulltext - (*AlterDatabaseExpr)(nil), // 29: greptime.v1.AlterDatabaseExpr - (*SetDatabaseOptions)(nil), // 30: greptime.v1.SetDatabaseOptions - (*UnsetDatabaseOptions)(nil), // 31: greptime.v1.UnsetDatabaseOptions - nil, // 32: greptime.v1.CreateFlowExpr.FlowOptionsEntry - nil, // 33: greptime.v1.CreateTableExpr.TableOptionsEntry - nil, // 34: greptime.v1.CreateDatabaseExpr.OptionsEntry - (*TableName)(nil), // 35: greptime.v1.TableName - (*ExpireAfter)(nil), // 36: greptime.v1.ExpireAfter - (ColumnDataType)(0), // 37: greptime.v1.ColumnDataType - (*ColumnDataTypeExtension)(nil), // 38: greptime.v1.ColumnDataTypeExtension - (SemanticType)(0), // 39: greptime.v1.SemanticType - (*ColumnOptions)(nil), // 40: greptime.v1.ColumnOptions + (*SetColumnInvertedIndex)(nil), // 29: greptime.v1.SetColumnInvertedIndex + (*UnsetColumnInvertedIndex)(nil), // 30: greptime.v1.UnsetColumnInvertedIndex + (*AlterDatabaseExpr)(nil), // 31: greptime.v1.AlterDatabaseExpr + (*SetDatabaseOptions)(nil), // 32: greptime.v1.SetDatabaseOptions + (*UnsetDatabaseOptions)(nil), // 33: greptime.v1.UnsetDatabaseOptions + nil, // 34: greptime.v1.CreateFlowExpr.FlowOptionsEntry + nil, // 35: greptime.v1.CreateTableExpr.TableOptionsEntry + nil, // 36: greptime.v1.CreateDatabaseExpr.OptionsEntry + (*TableName)(nil), // 37: greptime.v1.TableName + (*ExpireAfter)(nil), // 38: greptime.v1.ExpireAfter + (ColumnDataType)(0), // 39: greptime.v1.ColumnDataType + (*ColumnDataTypeExtension)(nil), // 40: greptime.v1.ColumnDataTypeExtension + (SemanticType)(0), // 41: greptime.v1.SemanticType + (*ColumnOptions)(nil), // 42: greptime.v1.ColumnOptions } var file_greptime_v1_ddl_proto_depIdxs = []int32{ 10, // 0: greptime.v1.DdlRequest.create_database:type_name -> greptime.v1.CreateDatabaseExpr @@ -2847,16 +2991,16 @@ 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 - 29, // 9: greptime.v1.DdlRequest.alter_database:type_name -> greptime.v1.AlterDatabaseExpr - 35, // 10: greptime.v1.CreateFlowExpr.source_table_names:type_name -> greptime.v1.TableName - 35, // 11: greptime.v1.CreateFlowExpr.sink_table_name:type_name -> greptime.v1.TableName - 36, // 12: greptime.v1.CreateFlowExpr.expire_after:type_name -> greptime.v1.ExpireAfter - 32, // 13: greptime.v1.CreateFlowExpr.flow_options:type_name -> greptime.v1.CreateFlowExpr.FlowOptionsEntry + 31, // 9: greptime.v1.DdlRequest.alter_database:type_name -> greptime.v1.AlterDatabaseExpr + 37, // 10: greptime.v1.CreateFlowExpr.source_table_names:type_name -> greptime.v1.TableName + 37, // 11: greptime.v1.CreateFlowExpr.sink_table_name:type_name -> greptime.v1.TableName + 38, // 12: greptime.v1.CreateFlowExpr.expire_after:type_name -> greptime.v1.ExpireAfter + 34, // 13: greptime.v1.CreateFlowExpr.flow_options:type_name -> greptime.v1.CreateFlowExpr.FlowOptionsEntry 24, // 14: greptime.v1.DropFlowExpr.flow_id:type_name -> greptime.v1.FlowId - 35, // 15: greptime.v1.CreateViewExpr.table_names:type_name -> greptime.v1.TableName + 37, // 15: greptime.v1.CreateViewExpr.table_names:type_name -> greptime.v1.TableName 23, // 16: greptime.v1.DropViewExpr.view_id:type_name -> greptime.v1.TableId 25, // 17: greptime.v1.CreateTableExpr.column_defs:type_name -> greptime.v1.ColumnDef - 33, // 18: greptime.v1.CreateTableExpr.table_options:type_name -> greptime.v1.CreateTableExpr.TableOptionsEntry + 35, // 18: greptime.v1.CreateTableExpr.table_options:type_name -> greptime.v1.CreateTableExpr.TableOptionsEntry 23, // 19: greptime.v1.CreateTableExpr.table_id:type_name -> greptime.v1.TableId 13, // 20: greptime.v1.AlterTableExpr.add_columns:type_name -> greptime.v1.AddColumns 14, // 21: greptime.v1.AlterTableExpr.drop_columns:type_name -> greptime.v1.DropColumns @@ -2866,31 +3010,33 @@ var file_greptime_v1_ddl_proto_depIdxs = []int32{ 27, // 25: greptime.v1.AlterTableExpr.set_column_fulltext:type_name -> greptime.v1.SetColumnFulltext 28, // 26: greptime.v1.AlterTableExpr.unset_column_fulltext:type_name -> greptime.v1.UnsetColumnFulltext 21, // 27: greptime.v1.AlterTableExpr.unset_table_options:type_name -> greptime.v1.UnsetTableOptions - 23, // 28: greptime.v1.DropTableExpr.table_id:type_name -> greptime.v1.TableId - 34, // 29: greptime.v1.CreateDatabaseExpr.options:type_name -> greptime.v1.CreateDatabaseExpr.OptionsEntry - 23, // 30: greptime.v1.TruncateTableExpr.table_id:type_name -> greptime.v1.TableId - 17, // 31: greptime.v1.AddColumns.add_columns:type_name -> greptime.v1.AddColumn - 22, // 32: greptime.v1.DropColumns.drop_columns:type_name -> greptime.v1.DropColumn - 18, // 33: greptime.v1.ModifyColumnTypes.modify_column_types:type_name -> greptime.v1.ModifyColumnType - 25, // 34: greptime.v1.AddColumn.column_def:type_name -> greptime.v1.ColumnDef - 26, // 35: greptime.v1.AddColumn.location:type_name -> greptime.v1.AddColumnLocation - 37, // 36: greptime.v1.ModifyColumnType.target_type:type_name -> greptime.v1.ColumnDataType - 38, // 37: greptime.v1.ModifyColumnType.target_type_extension:type_name -> greptime.v1.ColumnDataTypeExtension - 19, // 38: greptime.v1.SetTableOptions.table_options:type_name -> greptime.v1.Option - 37, // 39: greptime.v1.ColumnDef.data_type:type_name -> greptime.v1.ColumnDataType - 39, // 40: greptime.v1.ColumnDef.semantic_type:type_name -> greptime.v1.SemanticType - 38, // 41: greptime.v1.ColumnDef.datatype_extension:type_name -> greptime.v1.ColumnDataTypeExtension - 40, // 42: greptime.v1.ColumnDef.options:type_name -> greptime.v1.ColumnOptions - 1, // 43: greptime.v1.AddColumnLocation.location_type:type_name -> greptime.v1.AddColumnLocation.LocationType - 0, // 44: greptime.v1.SetColumnFulltext.analyzer:type_name -> greptime.v1.Analyzer - 30, // 45: greptime.v1.AlterDatabaseExpr.set_database_options:type_name -> greptime.v1.SetDatabaseOptions - 31, // 46: greptime.v1.AlterDatabaseExpr.unset_database_options:type_name -> greptime.v1.UnsetDatabaseOptions - 19, // 47: greptime.v1.SetDatabaseOptions.set_database_options:type_name -> greptime.v1.Option - 48, // [48:48] is the sub-list for method output_type - 48, // [48:48] is the sub-list for method input_type - 48, // [48:48] is the sub-list for extension type_name - 48, // [48:48] is the sub-list for extension extendee - 0, // [0:48] is the sub-list for field type_name + 29, // 28: greptime.v1.AlterTableExpr.set_column_inverted_index:type_name -> greptime.v1.SetColumnInvertedIndex + 30, // 29: greptime.v1.AlterTableExpr.unset_column_inverted_index:type_name -> greptime.v1.UnsetColumnInvertedIndex + 23, // 30: greptime.v1.DropTableExpr.table_id:type_name -> greptime.v1.TableId + 36, // 31: greptime.v1.CreateDatabaseExpr.options:type_name -> greptime.v1.CreateDatabaseExpr.OptionsEntry + 23, // 32: greptime.v1.TruncateTableExpr.table_id:type_name -> greptime.v1.TableId + 17, // 33: greptime.v1.AddColumns.add_columns:type_name -> greptime.v1.AddColumn + 22, // 34: greptime.v1.DropColumns.drop_columns:type_name -> greptime.v1.DropColumn + 18, // 35: greptime.v1.ModifyColumnTypes.modify_column_types:type_name -> greptime.v1.ModifyColumnType + 25, // 36: greptime.v1.AddColumn.column_def:type_name -> greptime.v1.ColumnDef + 26, // 37: greptime.v1.AddColumn.location:type_name -> greptime.v1.AddColumnLocation + 39, // 38: greptime.v1.ModifyColumnType.target_type:type_name -> greptime.v1.ColumnDataType + 40, // 39: greptime.v1.ModifyColumnType.target_type_extension:type_name -> greptime.v1.ColumnDataTypeExtension + 19, // 40: greptime.v1.SetTableOptions.table_options:type_name -> greptime.v1.Option + 39, // 41: greptime.v1.ColumnDef.data_type:type_name -> greptime.v1.ColumnDataType + 41, // 42: greptime.v1.ColumnDef.semantic_type:type_name -> greptime.v1.SemanticType + 40, // 43: greptime.v1.ColumnDef.datatype_extension:type_name -> greptime.v1.ColumnDataTypeExtension + 42, // 44: greptime.v1.ColumnDef.options:type_name -> greptime.v1.ColumnOptions + 1, // 45: greptime.v1.AddColumnLocation.location_type:type_name -> greptime.v1.AddColumnLocation.LocationType + 0, // 46: greptime.v1.SetColumnFulltext.analyzer:type_name -> greptime.v1.Analyzer + 32, // 47: greptime.v1.AlterDatabaseExpr.set_database_options:type_name -> greptime.v1.SetDatabaseOptions + 33, // 48: greptime.v1.AlterDatabaseExpr.unset_database_options:type_name -> greptime.v1.UnsetDatabaseOptions + 19, // 49: greptime.v1.SetDatabaseOptions.set_database_options:type_name -> greptime.v1.Option + 50, // [50:50] is the sub-list for method output_type + 50, // [50:50] is the sub-list for method input_type + 50, // [50:50] is the sub-list for extension type_name + 50, // [50:50] is the sub-list for extension extendee + 0, // [0:50] is the sub-list for field type_name } func init() { file_greptime_v1_ddl_proto_init() } @@ -3225,7 +3371,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AlterDatabaseExpr); i { + switch v := v.(*SetColumnInvertedIndex); i { case 0: return &v.state case 1: @@ -3237,7 +3383,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetDatabaseOptions); i { + switch v := v.(*UnsetColumnInvertedIndex); i { case 0: return &v.state case 1: @@ -3249,6 +3395,30 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AlterDatabaseExpr); 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[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetDatabaseOptions); 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[31].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UnsetDatabaseOptions); i { case 0: return &v.state @@ -3282,8 +3452,10 @@ func file_greptime_v1_ddl_proto_init() { (*AlterTableExpr_SetColumnFulltext)(nil), (*AlterTableExpr_UnsetColumnFulltext)(nil), (*AlterTableExpr_UnsetTableOptions)(nil), + (*AlterTableExpr_SetColumnInvertedIndex)(nil), + (*AlterTableExpr_UnsetColumnInvertedIndex)(nil), } - file_greptime_v1_ddl_proto_msgTypes[27].OneofWrappers = []interface{}{ + file_greptime_v1_ddl_proto_msgTypes[29].OneofWrappers = []interface{}{ (*AlterDatabaseExpr_SetDatabaseOptions)(nil), (*AlterDatabaseExpr_UnsetDatabaseOptions)(nil), } @@ -3293,7 +3465,7 @@ func file_greptime_v1_ddl_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_greptime_v1_ddl_proto_rawDesc, NumEnums: 2, - NumMessages: 33, + NumMessages: 35, NumExtensions: 0, NumServices: 0, }, diff --git a/java/src/main/java/io/greptime/v1/Ddl.java b/java/src/main/java/io/greptime/v1/Ddl.java index f806ccb2..00d942ad 100644 --- a/java/src/main/java/io/greptime/v1/Ddl.java +++ b/java/src/main/java/io/greptime/v1/Ddl.java @@ -12135,6 +12135,36 @@ public interface AlterTableExprOrBuilder extends */ io.greptime.v1.Ddl.UnsetTableOptionsOrBuilder getUnsetTableOptionsOrBuilder(); + /** + * .greptime.v1.SetColumnInvertedIndex set_column_inverted_index = 12; + * @return Whether the setColumnInvertedIndex field is set. + */ + boolean hasSetColumnInvertedIndex(); + /** + * .greptime.v1.SetColumnInvertedIndex set_column_inverted_index = 12; + * @return The setColumnInvertedIndex. + */ + io.greptime.v1.Ddl.SetColumnInvertedIndex getSetColumnInvertedIndex(); + /** + * .greptime.v1.SetColumnInvertedIndex set_column_inverted_index = 12; + */ + io.greptime.v1.Ddl.SetColumnInvertedIndexOrBuilder getSetColumnInvertedIndexOrBuilder(); + + /** + * .greptime.v1.UnsetColumnInvertedIndex unset_column_inverted_index = 13; + * @return Whether the unsetColumnInvertedIndex field is set. + */ + boolean hasUnsetColumnInvertedIndex(); + /** + * .greptime.v1.UnsetColumnInvertedIndex unset_column_inverted_index = 13; + * @return The unsetColumnInvertedIndex. + */ + io.greptime.v1.Ddl.UnsetColumnInvertedIndex getUnsetColumnInvertedIndex(); + /** + * .greptime.v1.UnsetColumnInvertedIndex unset_column_inverted_index = 13; + */ + io.greptime.v1.Ddl.UnsetColumnInvertedIndexOrBuilder getUnsetColumnInvertedIndexOrBuilder(); + public io.greptime.v1.Ddl.AlterTableExpr.KindCase getKindCase(); } /** @@ -12315,6 +12345,34 @@ private AlterTableExpr( kindCase_ = 11; break; } + case 98: { + io.greptime.v1.Ddl.SetColumnInvertedIndex.Builder subBuilder = null; + if (kindCase_ == 12) { + subBuilder = ((io.greptime.v1.Ddl.SetColumnInvertedIndex) kind_).toBuilder(); + } + kind_ = + input.readMessage(io.greptime.v1.Ddl.SetColumnInvertedIndex.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((io.greptime.v1.Ddl.SetColumnInvertedIndex) kind_); + kind_ = subBuilder.buildPartial(); + } + kindCase_ = 12; + break; + } + case 106: { + io.greptime.v1.Ddl.UnsetColumnInvertedIndex.Builder subBuilder = null; + if (kindCase_ == 13) { + subBuilder = ((io.greptime.v1.Ddl.UnsetColumnInvertedIndex) kind_).toBuilder(); + } + kind_ = + input.readMessage(io.greptime.v1.Ddl.UnsetColumnInvertedIndex.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((io.greptime.v1.Ddl.UnsetColumnInvertedIndex) kind_); + kind_ = subBuilder.buildPartial(); + } + kindCase_ = 13; + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -12362,6 +12420,8 @@ public enum KindCase SET_COLUMN_FULLTEXT(9), UNSET_COLUMN_FULLTEXT(10), UNSET_TABLE_OPTIONS(11), + SET_COLUMN_INVERTED_INDEX(12), + UNSET_COLUMN_INVERTED_INDEX(13), KIND_NOT_SET(0); private final int value; private KindCase(int value) { @@ -12387,6 +12447,8 @@ public static KindCase forNumber(int value) { case 9: return SET_COLUMN_FULLTEXT; case 10: return UNSET_COLUMN_FULLTEXT; case 11: return UNSET_TABLE_OPTIONS; + case 12: return SET_COLUMN_INVERTED_INDEX; + case 13: return UNSET_COLUMN_INVERTED_INDEX; case 0: return KIND_NOT_SET; default: return null; } @@ -12764,6 +12826,68 @@ public io.greptime.v1.Ddl.UnsetTableOptionsOrBuilder getUnsetTableOptionsOrBuild return io.greptime.v1.Ddl.UnsetTableOptions.getDefaultInstance(); } + public static final int SET_COLUMN_INVERTED_INDEX_FIELD_NUMBER = 12; + /** + * .greptime.v1.SetColumnInvertedIndex set_column_inverted_index = 12; + * @return Whether the setColumnInvertedIndex field is set. + */ + @java.lang.Override + public boolean hasSetColumnInvertedIndex() { + return kindCase_ == 12; + } + /** + * .greptime.v1.SetColumnInvertedIndex set_column_inverted_index = 12; + * @return The setColumnInvertedIndex. + */ + @java.lang.Override + public io.greptime.v1.Ddl.SetColumnInvertedIndex getSetColumnInvertedIndex() { + if (kindCase_ == 12) { + return (io.greptime.v1.Ddl.SetColumnInvertedIndex) kind_; + } + return io.greptime.v1.Ddl.SetColumnInvertedIndex.getDefaultInstance(); + } + /** + * .greptime.v1.SetColumnInvertedIndex set_column_inverted_index = 12; + */ + @java.lang.Override + public io.greptime.v1.Ddl.SetColumnInvertedIndexOrBuilder getSetColumnInvertedIndexOrBuilder() { + if (kindCase_ == 12) { + return (io.greptime.v1.Ddl.SetColumnInvertedIndex) kind_; + } + return io.greptime.v1.Ddl.SetColumnInvertedIndex.getDefaultInstance(); + } + + public static final int UNSET_COLUMN_INVERTED_INDEX_FIELD_NUMBER = 13; + /** + * .greptime.v1.UnsetColumnInvertedIndex unset_column_inverted_index = 13; + * @return Whether the unsetColumnInvertedIndex field is set. + */ + @java.lang.Override + public boolean hasUnsetColumnInvertedIndex() { + return kindCase_ == 13; + } + /** + * .greptime.v1.UnsetColumnInvertedIndex unset_column_inverted_index = 13; + * @return The unsetColumnInvertedIndex. + */ + @java.lang.Override + public io.greptime.v1.Ddl.UnsetColumnInvertedIndex getUnsetColumnInvertedIndex() { + if (kindCase_ == 13) { + return (io.greptime.v1.Ddl.UnsetColumnInvertedIndex) kind_; + } + return io.greptime.v1.Ddl.UnsetColumnInvertedIndex.getDefaultInstance(); + } + /** + * .greptime.v1.UnsetColumnInvertedIndex unset_column_inverted_index = 13; + */ + @java.lang.Override + public io.greptime.v1.Ddl.UnsetColumnInvertedIndexOrBuilder getUnsetColumnInvertedIndexOrBuilder() { + if (kindCase_ == 13) { + return (io.greptime.v1.Ddl.UnsetColumnInvertedIndex) kind_; + } + return io.greptime.v1.Ddl.UnsetColumnInvertedIndex.getDefaultInstance(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -12811,6 +12935,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (kindCase_ == 11) { output.writeMessage(11, (io.greptime.v1.Ddl.UnsetTableOptions) kind_); } + if (kindCase_ == 12) { + output.writeMessage(12, (io.greptime.v1.Ddl.SetColumnInvertedIndex) kind_); + } + if (kindCase_ == 13) { + output.writeMessage(13, (io.greptime.v1.Ddl.UnsetColumnInvertedIndex) kind_); + } unknownFields.writeTo(output); } @@ -12861,6 +12991,14 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, (io.greptime.v1.Ddl.UnsetTableOptions) kind_); } + if (kindCase_ == 12) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, (io.greptime.v1.Ddl.SetColumnInvertedIndex) kind_); + } + if (kindCase_ == 13) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, (io.greptime.v1.Ddl.UnsetColumnInvertedIndex) kind_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -12916,6 +13054,14 @@ public boolean equals(final java.lang.Object obj) { if (!getUnsetTableOptions() .equals(other.getUnsetTableOptions())) return false; break; + case 12: + if (!getSetColumnInvertedIndex() + .equals(other.getSetColumnInvertedIndex())) return false; + break; + case 13: + if (!getUnsetColumnInvertedIndex() + .equals(other.getUnsetColumnInvertedIndex())) return false; + break; case 0: default: } @@ -12969,6 +13115,14 @@ public int hashCode() { hash = (37 * hash) + UNSET_TABLE_OPTIONS_FIELD_NUMBER; hash = (53 * hash) + getUnsetTableOptions().hashCode(); break; + case 12: + hash = (37 * hash) + SET_COLUMN_INVERTED_INDEX_FIELD_NUMBER; + hash = (53 * hash) + getSetColumnInvertedIndex().hashCode(); + break; + case 13: + hash = (37 * hash) + UNSET_COLUMN_INVERTED_INDEX_FIELD_NUMBER; + hash = (53 * hash) + getUnsetColumnInvertedIndex().hashCode(); + break; case 0: default: } @@ -13198,6 +13352,20 @@ public io.greptime.v1.Ddl.AlterTableExpr buildPartial() { result.kind_ = unsetTableOptionsBuilder_.build(); } } + if (kindCase_ == 12) { + if (setColumnInvertedIndexBuilder_ == null) { + result.kind_ = kind_; + } else { + result.kind_ = setColumnInvertedIndexBuilder_.build(); + } + } + if (kindCase_ == 13) { + if (unsetColumnInvertedIndexBuilder_ == null) { + result.kind_ = kind_; + } else { + result.kind_ = unsetColumnInvertedIndexBuilder_.build(); + } + } result.kindCase_ = kindCase_; onBuilt(); return result; @@ -13292,6 +13460,14 @@ public Builder mergeFrom(io.greptime.v1.Ddl.AlterTableExpr other) { mergeUnsetTableOptions(other.getUnsetTableOptions()); break; } + case SET_COLUMN_INVERTED_INDEX: { + mergeSetColumnInvertedIndex(other.getSetColumnInvertedIndex()); + break; + } + case UNSET_COLUMN_INVERTED_INDEX: { + mergeUnsetColumnInvertedIndex(other.getUnsetColumnInvertedIndex()); + break; + } case KIND_NOT_SET: { break; } @@ -14703,6 +14879,290 @@ public io.greptime.v1.Ddl.UnsetTableOptionsOrBuilder getUnsetTableOptionsOrBuild onChanged();; return unsetTableOptionsBuilder_; } + + private com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Ddl.SetColumnInvertedIndex, io.greptime.v1.Ddl.SetColumnInvertedIndex.Builder, io.greptime.v1.Ddl.SetColumnInvertedIndexOrBuilder> setColumnInvertedIndexBuilder_; + /** + * .greptime.v1.SetColumnInvertedIndex set_column_inverted_index = 12; + * @return Whether the setColumnInvertedIndex field is set. + */ + @java.lang.Override + public boolean hasSetColumnInvertedIndex() { + return kindCase_ == 12; + } + /** + * .greptime.v1.SetColumnInvertedIndex set_column_inverted_index = 12; + * @return The setColumnInvertedIndex. + */ + @java.lang.Override + public io.greptime.v1.Ddl.SetColumnInvertedIndex getSetColumnInvertedIndex() { + if (setColumnInvertedIndexBuilder_ == null) { + if (kindCase_ == 12) { + return (io.greptime.v1.Ddl.SetColumnInvertedIndex) kind_; + } + return io.greptime.v1.Ddl.SetColumnInvertedIndex.getDefaultInstance(); + } else { + if (kindCase_ == 12) { + return setColumnInvertedIndexBuilder_.getMessage(); + } + return io.greptime.v1.Ddl.SetColumnInvertedIndex.getDefaultInstance(); + } + } + /** + * .greptime.v1.SetColumnInvertedIndex set_column_inverted_index = 12; + */ + public Builder setSetColumnInvertedIndex(io.greptime.v1.Ddl.SetColumnInvertedIndex value) { + if (setColumnInvertedIndexBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + kind_ = value; + onChanged(); + } else { + setColumnInvertedIndexBuilder_.setMessage(value); + } + kindCase_ = 12; + return this; + } + /** + * .greptime.v1.SetColumnInvertedIndex set_column_inverted_index = 12; + */ + public Builder setSetColumnInvertedIndex( + io.greptime.v1.Ddl.SetColumnInvertedIndex.Builder builderForValue) { + if (setColumnInvertedIndexBuilder_ == null) { + kind_ = builderForValue.build(); + onChanged(); + } else { + setColumnInvertedIndexBuilder_.setMessage(builderForValue.build()); + } + kindCase_ = 12; + return this; + } + /** + * .greptime.v1.SetColumnInvertedIndex set_column_inverted_index = 12; + */ + public Builder mergeSetColumnInvertedIndex(io.greptime.v1.Ddl.SetColumnInvertedIndex value) { + if (setColumnInvertedIndexBuilder_ == null) { + if (kindCase_ == 12 && + kind_ != io.greptime.v1.Ddl.SetColumnInvertedIndex.getDefaultInstance()) { + kind_ = io.greptime.v1.Ddl.SetColumnInvertedIndex.newBuilder((io.greptime.v1.Ddl.SetColumnInvertedIndex) kind_) + .mergeFrom(value).buildPartial(); + } else { + kind_ = value; + } + onChanged(); + } else { + if (kindCase_ == 12) { + setColumnInvertedIndexBuilder_.mergeFrom(value); + } else { + setColumnInvertedIndexBuilder_.setMessage(value); + } + } + kindCase_ = 12; + return this; + } + /** + * .greptime.v1.SetColumnInvertedIndex set_column_inverted_index = 12; + */ + public Builder clearSetColumnInvertedIndex() { + if (setColumnInvertedIndexBuilder_ == null) { + if (kindCase_ == 12) { + kindCase_ = 0; + kind_ = null; + onChanged(); + } + } else { + if (kindCase_ == 12) { + kindCase_ = 0; + kind_ = null; + } + setColumnInvertedIndexBuilder_.clear(); + } + return this; + } + /** + * .greptime.v1.SetColumnInvertedIndex set_column_inverted_index = 12; + */ + public io.greptime.v1.Ddl.SetColumnInvertedIndex.Builder getSetColumnInvertedIndexBuilder() { + return getSetColumnInvertedIndexFieldBuilder().getBuilder(); + } + /** + * .greptime.v1.SetColumnInvertedIndex set_column_inverted_index = 12; + */ + @java.lang.Override + public io.greptime.v1.Ddl.SetColumnInvertedIndexOrBuilder getSetColumnInvertedIndexOrBuilder() { + if ((kindCase_ == 12) && (setColumnInvertedIndexBuilder_ != null)) { + return setColumnInvertedIndexBuilder_.getMessageOrBuilder(); + } else { + if (kindCase_ == 12) { + return (io.greptime.v1.Ddl.SetColumnInvertedIndex) kind_; + } + return io.greptime.v1.Ddl.SetColumnInvertedIndex.getDefaultInstance(); + } + } + /** + * .greptime.v1.SetColumnInvertedIndex set_column_inverted_index = 12; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Ddl.SetColumnInvertedIndex, io.greptime.v1.Ddl.SetColumnInvertedIndex.Builder, io.greptime.v1.Ddl.SetColumnInvertedIndexOrBuilder> + getSetColumnInvertedIndexFieldBuilder() { + if (setColumnInvertedIndexBuilder_ == null) { + if (!(kindCase_ == 12)) { + kind_ = io.greptime.v1.Ddl.SetColumnInvertedIndex.getDefaultInstance(); + } + setColumnInvertedIndexBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Ddl.SetColumnInvertedIndex, io.greptime.v1.Ddl.SetColumnInvertedIndex.Builder, io.greptime.v1.Ddl.SetColumnInvertedIndexOrBuilder>( + (io.greptime.v1.Ddl.SetColumnInvertedIndex) kind_, + getParentForChildren(), + isClean()); + kind_ = null; + } + kindCase_ = 12; + onChanged();; + return setColumnInvertedIndexBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Ddl.UnsetColumnInvertedIndex, io.greptime.v1.Ddl.UnsetColumnInvertedIndex.Builder, io.greptime.v1.Ddl.UnsetColumnInvertedIndexOrBuilder> unsetColumnInvertedIndexBuilder_; + /** + * .greptime.v1.UnsetColumnInvertedIndex unset_column_inverted_index = 13; + * @return Whether the unsetColumnInvertedIndex field is set. + */ + @java.lang.Override + public boolean hasUnsetColumnInvertedIndex() { + return kindCase_ == 13; + } + /** + * .greptime.v1.UnsetColumnInvertedIndex unset_column_inverted_index = 13; + * @return The unsetColumnInvertedIndex. + */ + @java.lang.Override + public io.greptime.v1.Ddl.UnsetColumnInvertedIndex getUnsetColumnInvertedIndex() { + if (unsetColumnInvertedIndexBuilder_ == null) { + if (kindCase_ == 13) { + return (io.greptime.v1.Ddl.UnsetColumnInvertedIndex) kind_; + } + return io.greptime.v1.Ddl.UnsetColumnInvertedIndex.getDefaultInstance(); + } else { + if (kindCase_ == 13) { + return unsetColumnInvertedIndexBuilder_.getMessage(); + } + return io.greptime.v1.Ddl.UnsetColumnInvertedIndex.getDefaultInstance(); + } + } + /** + * .greptime.v1.UnsetColumnInvertedIndex unset_column_inverted_index = 13; + */ + public Builder setUnsetColumnInvertedIndex(io.greptime.v1.Ddl.UnsetColumnInvertedIndex value) { + if (unsetColumnInvertedIndexBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + kind_ = value; + onChanged(); + } else { + unsetColumnInvertedIndexBuilder_.setMessage(value); + } + kindCase_ = 13; + return this; + } + /** + * .greptime.v1.UnsetColumnInvertedIndex unset_column_inverted_index = 13; + */ + public Builder setUnsetColumnInvertedIndex( + io.greptime.v1.Ddl.UnsetColumnInvertedIndex.Builder builderForValue) { + if (unsetColumnInvertedIndexBuilder_ == null) { + kind_ = builderForValue.build(); + onChanged(); + } else { + unsetColumnInvertedIndexBuilder_.setMessage(builderForValue.build()); + } + kindCase_ = 13; + return this; + } + /** + * .greptime.v1.UnsetColumnInvertedIndex unset_column_inverted_index = 13; + */ + public Builder mergeUnsetColumnInvertedIndex(io.greptime.v1.Ddl.UnsetColumnInvertedIndex value) { + if (unsetColumnInvertedIndexBuilder_ == null) { + if (kindCase_ == 13 && + kind_ != io.greptime.v1.Ddl.UnsetColumnInvertedIndex.getDefaultInstance()) { + kind_ = io.greptime.v1.Ddl.UnsetColumnInvertedIndex.newBuilder((io.greptime.v1.Ddl.UnsetColumnInvertedIndex) kind_) + .mergeFrom(value).buildPartial(); + } else { + kind_ = value; + } + onChanged(); + } else { + if (kindCase_ == 13) { + unsetColumnInvertedIndexBuilder_.mergeFrom(value); + } else { + unsetColumnInvertedIndexBuilder_.setMessage(value); + } + } + kindCase_ = 13; + return this; + } + /** + * .greptime.v1.UnsetColumnInvertedIndex unset_column_inverted_index = 13; + */ + public Builder clearUnsetColumnInvertedIndex() { + if (unsetColumnInvertedIndexBuilder_ == null) { + if (kindCase_ == 13) { + kindCase_ = 0; + kind_ = null; + onChanged(); + } + } else { + if (kindCase_ == 13) { + kindCase_ = 0; + kind_ = null; + } + unsetColumnInvertedIndexBuilder_.clear(); + } + return this; + } + /** + * .greptime.v1.UnsetColumnInvertedIndex unset_column_inverted_index = 13; + */ + public io.greptime.v1.Ddl.UnsetColumnInvertedIndex.Builder getUnsetColumnInvertedIndexBuilder() { + return getUnsetColumnInvertedIndexFieldBuilder().getBuilder(); + } + /** + * .greptime.v1.UnsetColumnInvertedIndex unset_column_inverted_index = 13; + */ + @java.lang.Override + public io.greptime.v1.Ddl.UnsetColumnInvertedIndexOrBuilder getUnsetColumnInvertedIndexOrBuilder() { + if ((kindCase_ == 13) && (unsetColumnInvertedIndexBuilder_ != null)) { + return unsetColumnInvertedIndexBuilder_.getMessageOrBuilder(); + } else { + if (kindCase_ == 13) { + return (io.greptime.v1.Ddl.UnsetColumnInvertedIndex) kind_; + } + return io.greptime.v1.Ddl.UnsetColumnInvertedIndex.getDefaultInstance(); + } + } + /** + * .greptime.v1.UnsetColumnInvertedIndex unset_column_inverted_index = 13; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Ddl.UnsetColumnInvertedIndex, io.greptime.v1.Ddl.UnsetColumnInvertedIndex.Builder, io.greptime.v1.Ddl.UnsetColumnInvertedIndexOrBuilder> + getUnsetColumnInvertedIndexFieldBuilder() { + if (unsetColumnInvertedIndexBuilder_ == null) { + if (!(kindCase_ == 13)) { + kind_ = io.greptime.v1.Ddl.UnsetColumnInvertedIndex.getDefaultInstance(); + } + unsetColumnInvertedIndexBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Ddl.UnsetColumnInvertedIndex, io.greptime.v1.Ddl.UnsetColumnInvertedIndex.Builder, io.greptime.v1.Ddl.UnsetColumnInvertedIndexOrBuilder>( + (io.greptime.v1.Ddl.UnsetColumnInvertedIndex) kind_, + getParentForChildren(), + isClean()); + kind_ = null; + } + kindCase_ = 13; + onChanged();; + return unsetColumnInvertedIndexBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -31025,25 +31485,1165 @@ public io.greptime.v1.Ddl.UnsetColumnFulltext getDefaultInstanceForType() { } - public interface AlterDatabaseExprOrBuilder extends - // @@protoc_insertion_point(interface_extends:greptime.v1.AlterDatabaseExpr) + public interface SetColumnInvertedIndexOrBuilder extends + // @@protoc_insertion_point(interface_extends:greptime.v1.SetColumnInvertedIndex) com.google.protobuf.MessageOrBuilder { /** - * string catalog_name = 1; - * @return The catalogName. + * string column_name = 1; + * @return The columnName. */ - java.lang.String getCatalogName(); + java.lang.String getColumnName(); /** - * string catalog_name = 1; - * @return The bytes for catalogName. + * string column_name = 1; + * @return The bytes for columnName. */ com.google.protobuf.ByteString - getCatalogNameBytes(); - - /** - * string schema_name = 2; - * @return The schemaName. + getColumnNameBytes(); + } + /** + * Protobuf type {@code greptime.v1.SetColumnInvertedIndex} + */ + public static final class SetColumnInvertedIndex extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:greptime.v1.SetColumnInvertedIndex) + SetColumnInvertedIndexOrBuilder { + private static final long serialVersionUID = 0L; + // Use SetColumnInvertedIndex.newBuilder() to construct. + private SetColumnInvertedIndex(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private SetColumnInvertedIndex() { + columnName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new SetColumnInvertedIndex(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private SetColumnInvertedIndex( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + columnName_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_SetColumnInvertedIndex_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_SetColumnInvertedIndex_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.greptime.v1.Ddl.SetColumnInvertedIndex.class, io.greptime.v1.Ddl.SetColumnInvertedIndex.Builder.class); + } + + public static final int COLUMN_NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object columnName_; + /** + * string column_name = 1; + * @return The columnName. + */ + @java.lang.Override + public java.lang.String getColumnName() { + java.lang.Object ref = columnName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + columnName_ = s; + return s; + } + } + /** + * string column_name = 1; + * @return The bytes for columnName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getColumnNameBytes() { + java.lang.Object ref = columnName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + columnName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(columnName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, columnName_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(columnName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, columnName_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.greptime.v1.Ddl.SetColumnInvertedIndex)) { + return super.equals(obj); + } + io.greptime.v1.Ddl.SetColumnInvertedIndex other = (io.greptime.v1.Ddl.SetColumnInvertedIndex) obj; + + if (!getColumnName() + .equals(other.getColumnName())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + COLUMN_NAME_FIELD_NUMBER; + hash = (53 * hash) + getColumnName().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.greptime.v1.Ddl.SetColumnInvertedIndex parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.greptime.v1.Ddl.SetColumnInvertedIndex parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.greptime.v1.Ddl.SetColumnInvertedIndex parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.greptime.v1.Ddl.SetColumnInvertedIndex parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.greptime.v1.Ddl.SetColumnInvertedIndex parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.greptime.v1.Ddl.SetColumnInvertedIndex parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.greptime.v1.Ddl.SetColumnInvertedIndex parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.greptime.v1.Ddl.SetColumnInvertedIndex parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static io.greptime.v1.Ddl.SetColumnInvertedIndex parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static io.greptime.v1.Ddl.SetColumnInvertedIndex parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static io.greptime.v1.Ddl.SetColumnInvertedIndex parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.greptime.v1.Ddl.SetColumnInvertedIndex parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(io.greptime.v1.Ddl.SetColumnInvertedIndex prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code greptime.v1.SetColumnInvertedIndex} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:greptime.v1.SetColumnInvertedIndex) + io.greptime.v1.Ddl.SetColumnInvertedIndexOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_SetColumnInvertedIndex_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_SetColumnInvertedIndex_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.greptime.v1.Ddl.SetColumnInvertedIndex.class, io.greptime.v1.Ddl.SetColumnInvertedIndex.Builder.class); + } + + // Construct using io.greptime.v1.Ddl.SetColumnInvertedIndex.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + columnName_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_SetColumnInvertedIndex_descriptor; + } + + @java.lang.Override + public io.greptime.v1.Ddl.SetColumnInvertedIndex getDefaultInstanceForType() { + return io.greptime.v1.Ddl.SetColumnInvertedIndex.getDefaultInstance(); + } + + @java.lang.Override + public io.greptime.v1.Ddl.SetColumnInvertedIndex build() { + io.greptime.v1.Ddl.SetColumnInvertedIndex result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.greptime.v1.Ddl.SetColumnInvertedIndex buildPartial() { + io.greptime.v1.Ddl.SetColumnInvertedIndex result = new io.greptime.v1.Ddl.SetColumnInvertedIndex(this); + result.columnName_ = columnName_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.greptime.v1.Ddl.SetColumnInvertedIndex) { + return mergeFrom((io.greptime.v1.Ddl.SetColumnInvertedIndex)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.greptime.v1.Ddl.SetColumnInvertedIndex other) { + if (other == io.greptime.v1.Ddl.SetColumnInvertedIndex.getDefaultInstance()) return this; + if (!other.getColumnName().isEmpty()) { + columnName_ = other.columnName_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.greptime.v1.Ddl.SetColumnInvertedIndex parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.greptime.v1.Ddl.SetColumnInvertedIndex) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object columnName_ = ""; + /** + * string column_name = 1; + * @return The columnName. + */ + public java.lang.String getColumnName() { + java.lang.Object ref = columnName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + columnName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string column_name = 1; + * @return The bytes for columnName. + */ + public com.google.protobuf.ByteString + getColumnNameBytes() { + java.lang.Object ref = columnName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + columnName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string column_name = 1; + * @param value The columnName to set. + * @return This builder for chaining. + */ + public Builder setColumnName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + columnName_ = value; + onChanged(); + return this; + } + /** + * string column_name = 1; + * @return This builder for chaining. + */ + public Builder clearColumnName() { + + columnName_ = getDefaultInstance().getColumnName(); + onChanged(); + return this; + } + /** + * string column_name = 1; + * @param value The bytes for columnName to set. + * @return This builder for chaining. + */ + public Builder setColumnNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + columnName_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:greptime.v1.SetColumnInvertedIndex) + } + + // @@protoc_insertion_point(class_scope:greptime.v1.SetColumnInvertedIndex) + private static final io.greptime.v1.Ddl.SetColumnInvertedIndex DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.greptime.v1.Ddl.SetColumnInvertedIndex(); + } + + public static io.greptime.v1.Ddl.SetColumnInvertedIndex getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetColumnInvertedIndex parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SetColumnInvertedIndex(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.greptime.v1.Ddl.SetColumnInvertedIndex getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface UnsetColumnInvertedIndexOrBuilder extends + // @@protoc_insertion_point(interface_extends:greptime.v1.UnsetColumnInvertedIndex) + com.google.protobuf.MessageOrBuilder { + + /** + * string column_name = 1; + * @return The columnName. + */ + java.lang.String getColumnName(); + /** + * string column_name = 1; + * @return The bytes for columnName. + */ + com.google.protobuf.ByteString + getColumnNameBytes(); + } + /** + * Protobuf type {@code greptime.v1.UnsetColumnInvertedIndex} + */ + public static final class UnsetColumnInvertedIndex extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:greptime.v1.UnsetColumnInvertedIndex) + UnsetColumnInvertedIndexOrBuilder { + private static final long serialVersionUID = 0L; + // Use UnsetColumnInvertedIndex.newBuilder() to construct. + private UnsetColumnInvertedIndex(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private UnsetColumnInvertedIndex() { + columnName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UnsetColumnInvertedIndex(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private UnsetColumnInvertedIndex( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + columnName_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_UnsetColumnInvertedIndex_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_UnsetColumnInvertedIndex_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.greptime.v1.Ddl.UnsetColumnInvertedIndex.class, io.greptime.v1.Ddl.UnsetColumnInvertedIndex.Builder.class); + } + + public static final int COLUMN_NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object columnName_; + /** + * string column_name = 1; + * @return The columnName. + */ + @java.lang.Override + public java.lang.String getColumnName() { + java.lang.Object ref = columnName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + columnName_ = s; + return s; + } + } + /** + * string column_name = 1; + * @return The bytes for columnName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getColumnNameBytes() { + java.lang.Object ref = columnName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + columnName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(columnName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, columnName_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(columnName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, columnName_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof io.greptime.v1.Ddl.UnsetColumnInvertedIndex)) { + return super.equals(obj); + } + io.greptime.v1.Ddl.UnsetColumnInvertedIndex other = (io.greptime.v1.Ddl.UnsetColumnInvertedIndex) obj; + + if (!getColumnName() + .equals(other.getColumnName())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + COLUMN_NAME_FIELD_NUMBER; + hash = (53 * hash) + getColumnName().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.greptime.v1.Ddl.UnsetColumnInvertedIndex parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.greptime.v1.Ddl.UnsetColumnInvertedIndex parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.greptime.v1.Ddl.UnsetColumnInvertedIndex parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.greptime.v1.Ddl.UnsetColumnInvertedIndex parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.greptime.v1.Ddl.UnsetColumnInvertedIndex parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.greptime.v1.Ddl.UnsetColumnInvertedIndex parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.greptime.v1.Ddl.UnsetColumnInvertedIndex parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.greptime.v1.Ddl.UnsetColumnInvertedIndex parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static io.greptime.v1.Ddl.UnsetColumnInvertedIndex parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static io.greptime.v1.Ddl.UnsetColumnInvertedIndex parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static io.greptime.v1.Ddl.UnsetColumnInvertedIndex parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.greptime.v1.Ddl.UnsetColumnInvertedIndex parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(io.greptime.v1.Ddl.UnsetColumnInvertedIndex prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code greptime.v1.UnsetColumnInvertedIndex} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:greptime.v1.UnsetColumnInvertedIndex) + io.greptime.v1.Ddl.UnsetColumnInvertedIndexOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_UnsetColumnInvertedIndex_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_UnsetColumnInvertedIndex_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.greptime.v1.Ddl.UnsetColumnInvertedIndex.class, io.greptime.v1.Ddl.UnsetColumnInvertedIndex.Builder.class); + } + + // Construct using io.greptime.v1.Ddl.UnsetColumnInvertedIndex.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + columnName_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_UnsetColumnInvertedIndex_descriptor; + } + + @java.lang.Override + public io.greptime.v1.Ddl.UnsetColumnInvertedIndex getDefaultInstanceForType() { + return io.greptime.v1.Ddl.UnsetColumnInvertedIndex.getDefaultInstance(); + } + + @java.lang.Override + public io.greptime.v1.Ddl.UnsetColumnInvertedIndex build() { + io.greptime.v1.Ddl.UnsetColumnInvertedIndex result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.greptime.v1.Ddl.UnsetColumnInvertedIndex buildPartial() { + io.greptime.v1.Ddl.UnsetColumnInvertedIndex result = new io.greptime.v1.Ddl.UnsetColumnInvertedIndex(this); + result.columnName_ = columnName_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof io.greptime.v1.Ddl.UnsetColumnInvertedIndex) { + return mergeFrom((io.greptime.v1.Ddl.UnsetColumnInvertedIndex)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.greptime.v1.Ddl.UnsetColumnInvertedIndex other) { + if (other == io.greptime.v1.Ddl.UnsetColumnInvertedIndex.getDefaultInstance()) return this; + if (!other.getColumnName().isEmpty()) { + columnName_ = other.columnName_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.greptime.v1.Ddl.UnsetColumnInvertedIndex parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.greptime.v1.Ddl.UnsetColumnInvertedIndex) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object columnName_ = ""; + /** + * string column_name = 1; + * @return The columnName. + */ + public java.lang.String getColumnName() { + java.lang.Object ref = columnName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + columnName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string column_name = 1; + * @return The bytes for columnName. + */ + public com.google.protobuf.ByteString + getColumnNameBytes() { + java.lang.Object ref = columnName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + columnName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string column_name = 1; + * @param value The columnName to set. + * @return This builder for chaining. + */ + public Builder setColumnName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + columnName_ = value; + onChanged(); + return this; + } + /** + * string column_name = 1; + * @return This builder for chaining. + */ + public Builder clearColumnName() { + + columnName_ = getDefaultInstance().getColumnName(); + onChanged(); + return this; + } + /** + * string column_name = 1; + * @param value The bytes for columnName to set. + * @return This builder for chaining. + */ + public Builder setColumnNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + columnName_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:greptime.v1.UnsetColumnInvertedIndex) + } + + // @@protoc_insertion_point(class_scope:greptime.v1.UnsetColumnInvertedIndex) + private static final io.greptime.v1.Ddl.UnsetColumnInvertedIndex DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.greptime.v1.Ddl.UnsetColumnInvertedIndex(); + } + + public static io.greptime.v1.Ddl.UnsetColumnInvertedIndex getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UnsetColumnInvertedIndex parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UnsetColumnInvertedIndex(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.greptime.v1.Ddl.UnsetColumnInvertedIndex getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface AlterDatabaseExprOrBuilder extends + // @@protoc_insertion_point(interface_extends:greptime.v1.AlterDatabaseExpr) + com.google.protobuf.MessageOrBuilder { + + /** + * string catalog_name = 1; + * @return The catalogName. + */ + java.lang.String getCatalogName(); + /** + * string catalog_name = 1; + * @return The bytes for catalogName. + */ + com.google.protobuf.ByteString + getCatalogNameBytes(); + + /** + * string schema_name = 2; + * @return The schemaName. */ java.lang.String getSchemaName(); /** @@ -33861,6 +35461,16 @@ public io.greptime.v1.Ddl.UnsetDatabaseOptions getDefaultInstanceForType() { private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_greptime_v1_UnsetColumnFulltext_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_SetColumnInvertedIndex_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_SetColumnInvertedIndex_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_UnsetColumnInvertedIndex_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_UnsetColumnInvertedIndex_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_greptime_v1_AlterDatabaseExpr_descriptor; private static final @@ -33933,7 +35543,7 @@ public io.greptime.v1.Ddl.UnsetDatabaseOptions getDefaultInstanceForType() { "teTableExpr.TableOptionsEntry\022&\n\010table_i" + "d\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\"\246\004\n\016AlterTableExpr\022\024\n" + + "\r\n\005value\030\002 \001(\t:\0028\001\"\276\005\n\016AlterTableExpr\022\024\n" + "\014catalog_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t" + "\022\022\n\ntable_name\030\003 \001(\t\022.\n\013add_columns\030\004 \001(" + "\0132\027.greptime.v1.AddColumnsH\000\0220\n\014drop_col" + @@ -33947,65 +35557,72 @@ public io.greptime.v1.Ddl.UnsetDatabaseOptions getDefaultInstanceForType() { "et_column_fulltext\030\n \001(\0132 .greptime.v1.U" + "nsetColumnFulltextH\000\022=\n\023unset_table_opti" + "ons\030\013 \001(\0132\036.greptime.v1.UnsetTableOption" + - "sH\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\ntabl" + - "e_name\030\003 \001(\t\022&\n\010table_id\030\004 \001(\0132\024.greptim" + - "e.v1.TableId\022\026\n\016drop_if_exists\030\005 \001(\010\"\314\001\n" + - "\022CreateDatabaseExpr\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.CreateDatabaseExpr.OptionsEntry\032.\n\014O" + - "ptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" + - "\0028\001\"z\n\021TruncateTableExpr\022\024\n\014catalog_name" + - "\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\022\n\ntable_nam" + - "e\030\003 \001(\t\022&\n\010table_id\030\004 \001(\0132\024.greptime.v1." + - "TableId\"U\n\020DropDatabaseExpr\022\024\n\014catalog_n" + - "ame\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\026\n\016drop_i" + - "f_exists\030\003 \001(\010\"9\n\nAddColumns\022+\n\013add_colu" + - "mns\030\001 \003(\0132\026.greptime.v1.AddColumn\"<\n\013Dro" + - "pColumns\022-\n\014drop_columns\030\001 \003(\0132\027.greptim" + - "e.v1.DropColumn\"O\n\021ModifyColumnTypes\022:\n\023" + - "modify_column_types\030\001 \003(\0132\035.greptime.v1." + - "ModifyColumnType\"%\n\013RenameTable\022\026\n\016new_t" + - "able_name\030\001 \001(\t\"i\n\tAddColumn\022*\n\ncolumn_d" + - "ef\030\001 \001(\0132\026.greptime.v1.ColumnDef\0220\n\010loca" + - "tion\030\003 \001(\0132\036.greptime.v1.AddColumnLocati" + - "on\"\236\001\n\020ModifyColumnType\022\023\n\013column_name\030\001" + - " \001(\t\0220\n\013target_type\030\002 \001(\0162\033.greptime.v1." + - "ColumnDataType\022C\n\025target_type_extension\030" + - "\003 \001(\0132$.greptime.v1.ColumnDataTypeExtens" + - "ion\"$\n\006Option\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" + - "\t\"=\n\017SetTableOptions\022*\n\rtable_options\030\001 " + - "\003(\0132\023.greptime.v1.Option\"!\n\021UnsetTableOp" + - "tions\022\014\n\004keys\030\001 \003(\t\"\032\n\nDropColumn\022\014\n\004nam" + - "e\030\001 \001(\t\"\025\n\007TableId\022\n\n\002id\030\001 \001(\r\"\024\n\006FlowId" + - "\022\n\n\002id\030\001 \001(\r\"\254\002\n\tColumnDef\022\014\n\004name\030\001 \001(\t" + - "\022.\n\tdata_type\030\002 \001(\0162\033.greptime.v1.Column" + - "DataType\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(\016" + - "2\031.greptime.v1.SemanticType\022\017\n\007comment\030\006" + - " \001(\t\022@\n\022datatype_extension\030\007 \001(\0132$.grept" + - "ime.v1.ColumnDataTypeExtension\022+\n\007option" + - "s\030\010 \001(\0132\032.greptime.v1.ColumnOptions\"\230\001\n\021" + - "AddColumnLocation\022B\n\rlocation_type\030\001 \001(\016" + - "2+.greptime.v1.AddColumnLocation.Locatio" + - "nType\022\031\n\021after_column_name\030\002 \001(\t\"$\n\014Loca" + - "tionType\022\t\n\005FIRST\020\000\022\t\n\005AFTER\020\001\"y\n\021SetCol" + - "umnFulltext\022\023\n\013column_name\030\001 \001(\t\022\016\n\006enab" + - "le\030\002 \001(\010\022\'\n\010analyzer\030\003 \001(\0162\025.greptime.v1" + - ".Analyzer\022\026\n\016case_sensitive\030\004 \001(\010\"*\n\023Uns" + - "etColumnFulltext\022\023\n\013column_name\030\001 \001(\t\"\314\001" + - "\n\021AlterDatabaseExpr\022\024\n\014catalog_name\030\001 \001(" + - "\t\022\023\n\013schema_name\030\002 \001(\t\022?\n\024set_database_o" + - "ptions\030\003 \001(\0132\037.greptime.v1.SetDatabaseOp" + - "tionsH\000\022C\n\026unset_database_options\030\004 \001(\0132" + - "!.greptime.v1.UnsetDatabaseOptionsH\000B\006\n\004" + - "kind\"G\n\022SetDatabaseOptions\0221\n\024set_databa" + - "se_options\030\001 \003(\0132\023.greptime.v1.Option\"$\n" + - "\024UnsetDatabaseOptions\022\014\n\004keys\030\001 \003(\t*$\n\010A" + - "nalyzer\022\013\n\007ENGLISH\020\000\022\013\n\007CHINESE\020\001BL\n\016io." + - "greptime.v1B\003DdlZ5github.com/GreptimeTea" + - "m/greptime-proto/go/greptime/v1b\006proto3" + "sH\000\022H\n\031set_column_inverted_index\030\014 \001(\0132#" + + ".greptime.v1.SetColumnInvertedIndexH\000\022L\n" + + "\033unset_column_inverted_index\030\r \001(\0132%.gre" + + "ptime.v1.UnsetColumnInvertedIndexH\000B\006\n\004k" + + "ind\"\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.Tab" + + "leId\022\026\n\016drop_if_exists\030\005 \001(\010\"\314\001\n\022CreateD" + + "atabaseExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013sch" + + "ema_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.Crea" + + "teDatabaseExpr.OptionsEntry\032.\n\014OptionsEn" + + "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"z\n\021T" + + "runcateTableExpr\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\"" + + "U\n\020DropDatabaseExpr\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.Dro" + + "pColumn\"O\n\021ModifyColumnTypes\022:\n\023modify_c" + + "olumn_types\030\001 \003(\0132\035.greptime.v1.ModifyCo" + + "lumnType\"%\n\013RenameTable\022\026\n\016new_table_nam" + + "e\030\001 \001(\t\"i\n\tAddColumn\022*\n\ncolumn_def\030\001 \001(\013" + + "2\026.greptime.v1.ColumnDef\0220\n\010location\030\003 \001" + + "(\0132\036.greptime.v1.AddColumnLocation\"\236\001\n\020M" + + "odifyColumnType\022\023\n\013column_name\030\001 \001(\t\0220\n\013" + + "target_type\030\002 \001(\0162\033.greptime.v1.ColumnDa" + + "taType\022C\n\025target_type_extension\030\003 \001(\0132$." + + "greptime.v1.ColumnDataTypeExtension\"$\n\006O" + + "ption\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"=\n\017Set" + + "TableOptions\022*\n\rtable_options\030\001 \003(\0132\023.gr" + + "eptime.v1.Option\"!\n\021UnsetTableOptions\022\014\n" + + "\004keys\030\001 \003(\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\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_constra" + + "int\030\004 \001(\014\0220\n\rsemantic_type\030\005 \001(\0162\031.grept" + + "ime.v1.SemanticType\022\017\n\007comment\030\006 \001(\t\022@\n\022" + + "datatype_extension\030\007 \001(\0132$.greptime.v1.C" + + "olumnDataTypeExtension\022+\n\007options\030\010 \001(\0132" + + "\032.greptime.v1.ColumnOptions\"\230\001\n\021AddColum" + + "nLocation\022B\n\rlocation_type\030\001 \001(\0162+.grept" + + "ime.v1.AddColumnLocation.LocationType\022\031\n" + + "\021after_column_name\030\002 \001(\t\"$\n\014LocationType" + + "\022\t\n\005FIRST\020\000\022\t\n\005AFTER\020\001\"y\n\021SetColumnFullt" + + "ext\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.greptime.v1.Analyze" + + "r\022\026\n\016case_sensitive\030\004 \001(\010\"*\n\023UnsetColumn" + + "Fulltext\022\023\n\013column_name\030\001 \001(\t\"-\n\026SetColu" + + "mnInvertedIndex\022\023\n\013column_name\030\001 \001(\t\"/\n\030" + + "UnsetColumnInvertedIndex\022\023\n\013column_name\030" + + "\001 \001(\t\"\314\001\n\021AlterDatabaseExpr\022\024\n\014catalog_n" + + "ame\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022?\n\024set_da" + + "tabase_options\030\003 \001(\0132\037.greptime.v1.SetDa" + + "tabaseOptionsH\000\022C\n\026unset_database_option" + + "s\030\004 \001(\0132!.greptime.v1.UnsetDatabaseOptio" + + "nsH\000B\006\n\004kind\"G\n\022SetDatabaseOptions\0221\n\024se" + + "t_database_options\030\001 \003(\0132\023.greptime.v1.O" + + "ption\"$\n\024UnsetDatabaseOptions\022\014\n\004keys\030\001 " + + "\003(\t*$\n\010Analyzer\022\013\n\007ENGLISH\020\000\022\013\n\007CHINESE\020" + + "\001BL\n\016io.greptime.v1B\003DdlZ5github.com/Gre" + + "ptimeTeam/greptime-proto/go/greptime/v1b" + + "\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -34065,7 +35682,7 @@ public io.greptime.v1.Ddl.UnsetDatabaseOptions getDefaultInstanceForType() { internal_static_greptime_v1_AlterTableExpr_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_AlterTableExpr_descriptor, - new java.lang.String[] { "CatalogName", "SchemaName", "TableName", "AddColumns", "DropColumns", "RenameTable", "ModifyColumnTypes", "SetTableOptions", "SetColumnFulltext", "UnsetColumnFulltext", "UnsetTableOptions", "Kind", }); + new java.lang.String[] { "CatalogName", "SchemaName", "TableName", "AddColumns", "DropColumns", "RenameTable", "ModifyColumnTypes", "SetTableOptions", "SetColumnFulltext", "UnsetColumnFulltext", "UnsetTableOptions", "SetColumnInvertedIndex", "UnsetColumnInvertedIndex", "Kind", }); internal_static_greptime_v1_DropTableExpr_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_greptime_v1_DropTableExpr_fieldAccessorTable = new @@ -34192,20 +35809,32 @@ public io.greptime.v1.Ddl.UnsetDatabaseOptions getDefaultInstanceForType() { com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_UnsetColumnFulltext_descriptor, new java.lang.String[] { "ColumnName", }); - internal_static_greptime_v1_AlterDatabaseExpr_descriptor = + internal_static_greptime_v1_SetColumnInvertedIndex_descriptor = getDescriptor().getMessageTypes().get(27); + internal_static_greptime_v1_SetColumnInvertedIndex_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_greptime_v1_SetColumnInvertedIndex_descriptor, + new java.lang.String[] { "ColumnName", }); + internal_static_greptime_v1_UnsetColumnInvertedIndex_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_greptime_v1_UnsetColumnInvertedIndex_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_greptime_v1_UnsetColumnInvertedIndex_descriptor, + new java.lang.String[] { "ColumnName", }); + internal_static_greptime_v1_AlterDatabaseExpr_descriptor = + getDescriptor().getMessageTypes().get(29); internal_static_greptime_v1_AlterDatabaseExpr_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_AlterDatabaseExpr_descriptor, new java.lang.String[] { "CatalogName", "SchemaName", "SetDatabaseOptions", "UnsetDatabaseOptions", "Kind", }); internal_static_greptime_v1_SetDatabaseOptions_descriptor = - getDescriptor().getMessageTypes().get(28); + getDescriptor().getMessageTypes().get(30); internal_static_greptime_v1_SetDatabaseOptions_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_SetDatabaseOptions_descriptor, new java.lang.String[] { "SetDatabaseOptions", }); internal_static_greptime_v1_UnsetDatabaseOptions_descriptor = - getDescriptor().getMessageTypes().get(29); + getDescriptor().getMessageTypes().get(31); internal_static_greptime_v1_UnsetDatabaseOptions_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_UnsetDatabaseOptions_descriptor, diff --git a/proto/greptime/v1/ddl.proto b/proto/greptime/v1/ddl.proto index 02a0dc11..a595bac4 100644 --- a/proto/greptime/v1/ddl.proto +++ b/proto/greptime/v1/ddl.proto @@ -114,6 +114,8 @@ message AlterTableExpr { SetColumnFulltext set_column_fulltext = 9; UnsetColumnFulltext unset_column_fulltext = 10; UnsetTableOptions unset_table_options = 11; + SetColumnInvertedIndex set_column_inverted_index = 12; + UnsetColumnInvertedIndex unset_column_inverted_index = 13; } } @@ -223,6 +225,14 @@ message UnsetColumnFulltext { string column_name = 1; } +message SetColumnInvertedIndex { + string column_name = 1; +} + +message UnsetColumnInvertedIndex { + string column_name = 1; +} + message AlterDatabaseExpr { string catalog_name = 1; string schema_name = 2;