diff --git a/c++/greptime/v1/ddl.pb.cc b/c++/greptime/v1/ddl.pb.cc index 3e371e8..d5298cf 100644 --- a/c++/greptime/v1/ddl.pb.cc +++ b/c++/greptime/v1/ddl.pb.cc @@ -175,6 +175,34 @@ struct AlterTableExprDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AlterTableExprDefaultTypeInternal _AlterTableExpr_default_instance_; +PROTOBUF_CONSTEXPR SetIndex::SetIndex( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.options_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_._oneof_case_)*/{}} {} +struct SetIndexDefaultTypeInternal { + PROTOBUF_CONSTEXPR SetIndexDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~SetIndexDefaultTypeInternal() {} + union { + SetIndex _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetIndexDefaultTypeInternal _SetIndex_default_instance_; +PROTOBUF_CONSTEXPR UnsetIndex::UnsetIndex( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.options_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_._oneof_case_)*/{}} {} +struct UnsetIndexDefaultTypeInternal { + PROTOBUF_CONSTEXPR UnsetIndexDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~UnsetIndexDefaultTypeInternal() {} + union { + UnsetIndex _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UnsetIndexDefaultTypeInternal _UnsetIndex_default_instance_; PROTOBUF_CONSTEXPR DropTableExpr::DropTableExpr( ::_pbi::ConstantInitialized): _impl_{ /*decltype(_impl_.catalog_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} @@ -445,35 +473,61 @@ struct AddColumnLocationDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AddColumnLocationDefaultTypeInternal _AddColumnLocation_default_instance_; -PROTOBUF_CONSTEXPR SetColumnFulltext::SetColumnFulltext( +PROTOBUF_CONSTEXPR SetFulltext::SetFulltext( ::_pbi::ConstantInitialized): _impl_{ /*decltype(_impl_.column_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} , /*decltype(_impl_.analyzer_)*/0 , /*decltype(_impl_.enable_)*/false , /*decltype(_impl_.case_sensitive_)*/false , /*decltype(_impl_._cached_size_)*/{}} {} -struct SetColumnFulltextDefaultTypeInternal { - PROTOBUF_CONSTEXPR SetColumnFulltextDefaultTypeInternal() +struct SetFulltextDefaultTypeInternal { + PROTOBUF_CONSTEXPR SetFulltextDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~SetColumnFulltextDefaultTypeInternal() {} + ~SetFulltextDefaultTypeInternal() {} union { - SetColumnFulltext _instance; + SetFulltext _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetColumnFulltextDefaultTypeInternal _SetColumnFulltext_default_instance_; -PROTOBUF_CONSTEXPR UnsetColumnFulltext::UnsetColumnFulltext( +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetFulltextDefaultTypeInternal _SetFulltext_default_instance_; +PROTOBUF_CONSTEXPR UnsetFulltext::UnsetFulltext( ::_pbi::ConstantInitialized): _impl_{ /*decltype(_impl_.column_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} , /*decltype(_impl_._cached_size_)*/{}} {} -struct UnsetColumnFulltextDefaultTypeInternal { - PROTOBUF_CONSTEXPR UnsetColumnFulltextDefaultTypeInternal() +struct UnsetFulltextDefaultTypeInternal { + PROTOBUF_CONSTEXPR UnsetFulltextDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~UnsetColumnFulltextDefaultTypeInternal() {} + ~UnsetFulltextDefaultTypeInternal() {} union { - UnsetColumnFulltext _instance; + UnsetFulltext _instance; }; }; -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UnsetColumnFulltextDefaultTypeInternal _UnsetColumnFulltext_default_instance_; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UnsetFulltextDefaultTypeInternal _UnsetFulltext_default_instance_; +PROTOBUF_CONSTEXPR SetInverted::SetInverted( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.column_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct SetInvertedDefaultTypeInternal { + PROTOBUF_CONSTEXPR SetInvertedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~SetInvertedDefaultTypeInternal() {} + union { + SetInverted _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetInvertedDefaultTypeInternal _SetInverted_default_instance_; +PROTOBUF_CONSTEXPR UnsetInverted::UnsetInverted( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.column_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct UnsetInvertedDefaultTypeInternal { + PROTOBUF_CONSTEXPR UnsetInvertedDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~UnsetInvertedDefaultTypeInternal() {} + union { + UnsetInverted _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UnsetInvertedDefaultTypeInternal _UnsetInverted_default_instance_; PROTOBUF_CONSTEXPR AlterDatabaseExpr::AlterDatabaseExpr( ::_pbi::ConstantInitialized): _impl_{ /*decltype(_impl_.catalog_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} @@ -518,7 +572,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[37]; 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; @@ -649,6 +703,24 @@ const uint32_t TableStruct_greptime_2fv1_2fddl_2eproto::offsets[] PROTOBUF_SECTI ::_pbi::kInvalidFieldOffsetTag, PROTOBUF_FIELD_OFFSET(::greptime::v1::AlterTableExpr, _impl_.kind_), ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::greptime::v1::SetIndex, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::greptime::v1::SetIndex, _impl_._oneof_case_[0]), + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + PROTOBUF_FIELD_OFFSET(::greptime::v1::SetIndex, _impl_.options_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::greptime::v1::UnsetIndex, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::greptime::v1::UnsetIndex, _impl_._oneof_case_[0]), + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + PROTOBUF_FIELD_OFFSET(::greptime::v1::UnsetIndex, _impl_.options_), + ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::greptime::v1::DropTableExpr, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ @@ -810,22 +882,36 @@ const uint32_t TableStruct_greptime_2fv1_2fddl_2eproto::offsets[] PROTOBUF_SECTI PROTOBUF_FIELD_OFFSET(::greptime::v1::AddColumnLocation, _impl_.location_type_), PROTOBUF_FIELD_OFFSET(::greptime::v1::AddColumnLocation, _impl_.after_column_name_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::greptime::v1::SetColumnFulltext, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::greptime::v1::SetFulltext, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::greptime::v1::SetColumnFulltext, _impl_.column_name_), - PROTOBUF_FIELD_OFFSET(::greptime::v1::SetColumnFulltext, _impl_.enable_), - PROTOBUF_FIELD_OFFSET(::greptime::v1::SetColumnFulltext, _impl_.analyzer_), - PROTOBUF_FIELD_OFFSET(::greptime::v1::SetColumnFulltext, _impl_.case_sensitive_), + PROTOBUF_FIELD_OFFSET(::greptime::v1::SetFulltext, _impl_.column_name_), + PROTOBUF_FIELD_OFFSET(::greptime::v1::SetFulltext, _impl_.enable_), + PROTOBUF_FIELD_OFFSET(::greptime::v1::SetFulltext, _impl_.analyzer_), + PROTOBUF_FIELD_OFFSET(::greptime::v1::SetFulltext, _impl_.case_sensitive_), ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::greptime::v1::UnsetColumnFulltext, _internal_metadata_), + PROTOBUF_FIELD_OFFSET(::greptime::v1::UnsetFulltext, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ ~0u, // no _weak_field_map_ ~0u, // no _inlined_string_donated_ - PROTOBUF_FIELD_OFFSET(::greptime::v1::UnsetColumnFulltext, _impl_.column_name_), + PROTOBUF_FIELD_OFFSET(::greptime::v1::UnsetFulltext, _impl_.column_name_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::greptime::v1::SetInverted, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::greptime::v1::SetInverted, _impl_.column_name_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::greptime::v1::UnsetInverted, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::greptime::v1::UnsetInverted, _impl_.column_name_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::greptime::v1::AlterDatabaseExpr, _internal_metadata_), ~0u, // no _extensions_ @@ -862,30 +948,34 @@ 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)}, - { 212, -1, -1, sizeof(::greptime::v1::ModifyColumnType)}, - { 221, -1, -1, sizeof(::greptime::v1::Option)}, - { 229, -1, -1, sizeof(::greptime::v1::SetTableOptions)}, - { 236, -1, -1, sizeof(::greptime::v1::UnsetTableOptions)}, - { 243, -1, -1, sizeof(::greptime::v1::DropColumn)}, - { 250, -1, -1, sizeof(::greptime::v1::TableId)}, - { 257, -1, -1, sizeof(::greptime::v1::FlowId)}, - { 264, -1, -1, sizeof(::greptime::v1::ColumnDef)}, - { 278, -1, -1, sizeof(::greptime::v1::AddColumnLocation)}, - { 286, -1, -1, sizeof(::greptime::v1::SetColumnFulltext)}, - { 296, -1, -1, sizeof(::greptime::v1::UnsetColumnFulltext)}, - { 303, -1, -1, sizeof(::greptime::v1::AlterDatabaseExpr)}, - { 314, -1, -1, sizeof(::greptime::v1::SetDatabaseOptions)}, - { 321, -1, -1, sizeof(::greptime::v1::UnsetDatabaseOptions)}, + { 125, -1, -1, sizeof(::greptime::v1::SetIndex)}, + { 134, -1, -1, sizeof(::greptime::v1::UnsetIndex)}, + { 143, -1, -1, sizeof(::greptime::v1::DropTableExpr)}, + { 154, 162, -1, sizeof(::greptime::v1::CreateDatabaseExpr_OptionsEntry_DoNotUse)}, + { 164, -1, -1, sizeof(::greptime::v1::CreateDatabaseExpr)}, + { 174, -1, -1, sizeof(::greptime::v1::TruncateTableExpr)}, + { 184, -1, -1, sizeof(::greptime::v1::DropDatabaseExpr)}, + { 193, -1, -1, sizeof(::greptime::v1::AddColumns)}, + { 200, -1, -1, sizeof(::greptime::v1::DropColumns)}, + { 207, -1, -1, sizeof(::greptime::v1::ModifyColumnTypes)}, + { 214, -1, -1, sizeof(::greptime::v1::RenameTable)}, + { 221, -1, -1, sizeof(::greptime::v1::AddColumn)}, + { 230, -1, -1, sizeof(::greptime::v1::ModifyColumnType)}, + { 239, -1, -1, sizeof(::greptime::v1::Option)}, + { 247, -1, -1, sizeof(::greptime::v1::SetTableOptions)}, + { 254, -1, -1, sizeof(::greptime::v1::UnsetTableOptions)}, + { 261, -1, -1, sizeof(::greptime::v1::DropColumn)}, + { 268, -1, -1, sizeof(::greptime::v1::TableId)}, + { 275, -1, -1, sizeof(::greptime::v1::FlowId)}, + { 282, -1, -1, sizeof(::greptime::v1::ColumnDef)}, + { 296, -1, -1, sizeof(::greptime::v1::AddColumnLocation)}, + { 304, -1, -1, sizeof(::greptime::v1::SetFulltext)}, + { 314, -1, -1, sizeof(::greptime::v1::UnsetFulltext)}, + { 321, -1, -1, sizeof(::greptime::v1::SetInverted)}, + { 328, -1, -1, sizeof(::greptime::v1::UnsetInverted)}, + { 335, -1, -1, sizeof(::greptime::v1::AlterDatabaseExpr)}, + { 346, -1, -1, sizeof(::greptime::v1::SetDatabaseOptions)}, + { 353, -1, -1, sizeof(::greptime::v1::UnsetDatabaseOptions)}, }; static const ::_pb::Message* const file_default_instances[] = { @@ -898,6 +988,8 @@ static const ::_pb::Message* const file_default_instances[] = { &::greptime::v1::_CreateTableExpr_TableOptionsEntry_DoNotUse_default_instance_._instance, &::greptime::v1::_CreateTableExpr_default_instance_._instance, &::greptime::v1::_AlterTableExpr_default_instance_._instance, + &::greptime::v1::_SetIndex_default_instance_._instance, + &::greptime::v1::_UnsetIndex_default_instance_._instance, &::greptime::v1::_DropTableExpr_default_instance_._instance, &::greptime::v1::_CreateDatabaseExpr_OptionsEntry_DoNotUse_default_instance_._instance, &::greptime::v1::_CreateDatabaseExpr_default_instance_._instance, @@ -917,8 +1009,10 @@ static const ::_pb::Message* const file_default_instances[] = { &::greptime::v1::_FlowId_default_instance_._instance, &::greptime::v1::_ColumnDef_default_instance_._instance, &::greptime::v1::_AddColumnLocation_default_instance_._instance, - &::greptime::v1::_SetColumnFulltext_default_instance_._instance, - &::greptime::v1::_UnsetColumnFulltext_default_instance_._instance, + &::greptime::v1::_SetFulltext_default_instance_._instance, + &::greptime::v1::_UnsetFulltext_default_instance_._instance, + &::greptime::v1::_SetInverted_default_instance_._instance, + &::greptime::v1::_UnsetInverted_default_instance_._instance, &::greptime::v1::_AlterDatabaseExpr_default_instance_._instance, &::greptime::v1::_SetDatabaseOptions_default_instance_._instance, &::greptime::v1::_UnsetDatabaseOptions_default_instance_._instance, @@ -973,7 +1067,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\"\200\004\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" @@ -982,80 +1076,87 @@ const char descriptor_table_protodef_greptime_2fv1_2fddl_2eproto[] PROTOBUF_SECT "eTableH\000\022=\n\023modify_column_types\030\007 \001(\0132\036." "greptime.v1.ModifyColumnTypesH\000\0229\n\021set_t" "able_options\030\010 \001(\0132\034.greptime.v1.SetTabl" - "eOptionsH\000\022=\n\023set_column_fulltext\030\t \001(\0132" - "\036.greptime.v1.SetColumnFulltextH\000\022A\n\025uns" - "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\"\204\001\n\tAddColumn\022*\n\ncolumn_" - "def\030\001 \001(\0132\026.greptime.v1.ColumnDef\0220\n\010loc" - "ation\030\003 \001(\0132\036.greptime.v1.AddColumnLocat" - "ion\022\031\n\021add_if_not_exists\030\004 \001(\010\"\236\001\n\020Modif" - "yColumnType\022\023\n\013column_name\030\001 \001(\t\0220\n\013targ" - "et_type\030\002 \001(\0162\033.greptime.v1.ColumnDataTy" - "pe\022C\n\025target_type_extension\030\003 \001(\0132$.grep" - "time.v1.ColumnDataTypeExtension\"$\n\006Optio" - "n\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"=\n\017SetTabl" - "eOptions\022*\n\rtable_options\030\001 \003(\0132\023.grepti" - "me.v1.Option\"!\n\021UnsetTableOptions\022\014\n\004key" - "s\030\001 \003(\t\"\032\n\nDropColumn\022\014\n\004name\030\001 \001(\t\"\025\n\007T" - "ableId\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_typ" - "e\030\002 \001(\0162\033.greptime.v1.ColumnDataType\022\023\n\013" - "is_nullable\030\003 \001(\010\022\032\n\022default_constraint\030" - "\004 \001(\014\0220\n\rsemantic_type\030\005 \001(\0162\031.greptime." - "v1.SemanticType\022\017\n\007comment\030\006 \001(\t\022@\n\022data" - "type_extension\030\007 \001(\0132$.greptime.v1.Colum" - "nDataTypeExtension\022+\n\007options\030\010 \001(\0132\032.gr" - "eptime.v1.ColumnOptions\"\230\001\n\021AddColumnLoc" - "ation\022B\n\rlocation_type\030\001 \001(\0162+.greptime." - "v1.AddColumnLocation.LocationType\022\031\n\021aft" - "er_column_name\030\002 \001(\t\"$\n\014LocationType\022\t\n\005" - "FIRST\020\000\022\t\n\005AFTER\020\001\"y\n\021SetColumnFulltext\022" - "\023\n\013column_name\030\001 \001(\t\022\016\n\006enable\030\002 \001(\010\022\'\n\010" - "analyzer\030\003 \001(\0162\025.greptime.v1.Analyzer\022\026\n" - "\016case_sensitive\030\004 \001(\010\"*\n\023UnsetColumnFull" - "text\022\023\n\013column_name\030\001 \001(\t\"\314\001\n\021AlterDatab" - "aseExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_" - "name\030\002 \001(\t\022\?\n\024set_database_options\030\003 \001(\013" - "2\037.greptime.v1.SetDatabaseOptionsH\000\022C\n\026u" - "nset_database_options\030\004 \001(\0132!.greptime.v" - "1.UnsetDatabaseOptionsH\000B\006\n\004kind\"G\n\022SetD" - "atabaseOptions\0221\n\024set_database_options\030\001" - " \003(\0132\023.greptime.v1.Option\"$\n\024UnsetDataba" - "seOptions\022\014\n\004keys\030\001 \003(\t*$\n\010Analyzer\022\013\n\007E" - "NGLISH\020\000\022\013\n\007CHINESE\020\001BL\n\016io.greptime.v1B" - "\003DdlZ5github.com/GreptimeTeam/greptime-p" - "roto/go/greptime/v1b\006proto3" + "eOptionsH\000\022=\n\023unset_table_options\030\013 \001(\0132" + "\036.greptime.v1.UnsetTableOptionsH\000\022*\n\tset" + "_index\030\014 \001(\0132\025.greptime.v1.SetIndexH\000\022.\n" + "\013unset_index\030\r \001(\0132\027.greptime.v1.UnsetIn" + "dexH\000B\006\n\004kind\"q\n\010SetIndex\022,\n\010fulltext\030\001 " + "\001(\0132\030.greptime.v1.SetFulltextH\000\022,\n\010inver" + "ted\030\002 \001(\0132\030.greptime.v1.SetInvertedH\000B\t\n" + "\007options\"w\n\nUnsetIndex\022.\n\010fulltext\030\001 \001(\013" + "2\032.greptime.v1.UnsetFulltextH\000\022.\n\010invert" + "ed\030\002 \001(\0132\032.greptime.v1.UnsetInvertedH\000B\t" + "\n\007options\"\216\001\n\rDropTableExpr\022\024\n\014catalog_n" + "ame\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\022\n\ntable_" + "name\030\003 \001(\t\022&\n\010table_id\030\004 \001(\0132\024.greptime." + "v1.TableId\022\026\n\016drop_if_exists\030\005 \001(\010\"\314\001\n\022C" + "reateDatabaseExpr\022\024\n\014catalog_name\030\001 \001(\t\022" + "\023\n\013schema_name\030\002 \001(\t\022\034\n\024create_if_not_ex" + "ists\030\003 \001(\010\022=\n\007options\030\004 \003(\0132,.greptime.v" + "1.CreateDatabaseExpr.OptionsEntry\032.\n\014Opt" + "ionsEntry\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_name\030" + "\003 \001(\t\022&\n\010table_id\030\004 \001(\0132\024.greptime.v1.Ta" + "bleId\"U\n\020DropDatabaseExpr\022\024\n\014catalog_nam" + "e\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_column" + "s\030\001 \003(\0132\026.greptime.v1.AddColumn\"<\n\013DropC" + "olumns\022-\n\014drop_columns\030\001 \003(\0132\027.greptime." + "v1.DropColumn\"O\n\021ModifyColumnTypes\022:\n\023mo" + "dify_column_types\030\001 \003(\0132\035.greptime.v1.Mo" + "difyColumnType\"%\n\013RenameTable\022\026\n\016new_tab" + "le_name\030\001 \001(\t\"\204\001\n\tAddColumn\022*\n\ncolumn_de" + "f\030\001 \001(\0132\026.greptime.v1.ColumnDef\0220\n\010locat" + "ion\030\003 \001(\0132\036.greptime.v1.AddColumnLocatio" + "n\022\031\n\021add_if_not_exists\030\004 \001(\010\"\236\001\n\020ModifyC" + "olumnType\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$.grepti" + "me.v1.ColumnDataTypeExtension\"$\n\006Option\022" + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"=\n\017SetTableO" + "ptions\022*\n\rtable_options\030\001 \003(\0132\023.greptime" + ".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\007Tab" + "leId\022\n\n\002id\030\001 \001(\r\"\024\n\006FlowId\022\n\n\002id\030\001 \001(\r\"\254" + "\002\n\tColumnDef\022\014\n\004name\030\001 \001(\t\022.\n\tdata_type\030" + "\002 \001(\0162\033.greptime.v1.ColumnDataType\022\023\n\013is" + "_nullable\030\003 \001(\010\022\032\n\022default_constraint\030\004 " + "\001(\014\0220\n\rsemantic_type\030\005 \001(\0162\031.greptime.v1" + ".SemanticType\022\017\n\007comment\030\006 \001(\t\022@\n\022dataty" + "pe_extension\030\007 \001(\0132$.greptime.v1.ColumnD" + "ataTypeExtension\022+\n\007options\030\010 \001(\0132\032.grep" + "time.v1.ColumnOptions\"\230\001\n\021AddColumnLocat" + "ion\022B\n\rlocation_type\030\001 \001(\0162+.greptime.v1" + ".AddColumnLocation.LocationType\022\031\n\021after" + "_column_name\030\002 \001(\t\"$\n\014LocationType\022\t\n\005FI" + "RST\020\000\022\t\n\005AFTER\020\001\"s\n\013SetFulltext\022\023\n\013colum" + "n_name\030\001 \001(\t\022\016\n\006enable\030\002 \001(\010\022\'\n\010analyzer" + "\030\003 \001(\0162\025.greptime.v1.Analyzer\022\026\n\016case_se" + "nsitive\030\004 \001(\010\"$\n\rUnsetFulltext\022\023\n\013column" + "_name\030\001 \001(\t\"\"\n\013SetInverted\022\023\n\013column_nam" + "e\030\001 \001(\t\"$\n\rUnsetInverted\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, 4867, descriptor_table_protodef_greptime_2fv1_2fddl_2eproto, + false, false, 5127, 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, 37, 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,9 +4565,9 @@ class AlterTableExpr::_Internal { static const ::greptime::v1::RenameTable& rename_table(const AlterTableExpr* msg); static const ::greptime::v1::ModifyColumnTypes& modify_column_types(const AlterTableExpr* msg); static const ::greptime::v1::SetTableOptions& set_table_options(const AlterTableExpr* msg); - 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::SetIndex& set_index(const AlterTableExpr* msg); + static const ::greptime::v1::UnsetIndex& unset_index(const AlterTableExpr* msg); }; const ::greptime::v1::AddColumns& @@ -4489,18 +4590,18 @@ const ::greptime::v1::SetTableOptions& AlterTableExpr::_Internal::set_table_options(const AlterTableExpr* msg) { return *msg->_impl_.kind_.set_table_options_; } -const ::greptime::v1::SetColumnFulltext& -AlterTableExpr::_Internal::set_column_fulltext(const AlterTableExpr* msg) { - return *msg->_impl_.kind_.set_column_fulltext_; -} -const ::greptime::v1::UnsetColumnFulltext& -AlterTableExpr::_Internal::unset_column_fulltext(const AlterTableExpr* msg) { - return *msg->_impl_.kind_.unset_column_fulltext_; -} const ::greptime::v1::UnsetTableOptions& AlterTableExpr::_Internal::unset_table_options(const AlterTableExpr* msg) { return *msg->_impl_.kind_.unset_table_options_; } +const ::greptime::v1::SetIndex& +AlterTableExpr::_Internal::set_index(const AlterTableExpr* msg) { + return *msg->_impl_.kind_.set_index_; +} +const ::greptime::v1::UnsetIndex& +AlterTableExpr::_Internal::unset_index(const AlterTableExpr* msg) { + return *msg->_impl_.kind_.unset_index_; +} void AlterTableExpr::set_allocated_add_columns(::greptime::v1::AddColumns* add_columns) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); clear_kind(); @@ -4576,36 +4677,6 @@ void AlterTableExpr::set_allocated_set_table_options(::greptime::v1::SetTableOpt } // @@protoc_insertion_point(field_set_allocated:greptime.v1.AlterTableExpr.set_table_options) } -void AlterTableExpr::set_allocated_set_column_fulltext(::greptime::v1::SetColumnFulltext* set_column_fulltext) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_kind(); - if (set_column_fulltext) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(set_column_fulltext); - if (message_arena != submessage_arena) { - set_column_fulltext = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, set_column_fulltext, submessage_arena); - } - set_has_set_column_fulltext(); - _impl_.kind_.set_column_fulltext_ = set_column_fulltext; - } - // @@protoc_insertion_point(field_set_allocated:greptime.v1.AlterTableExpr.set_column_fulltext) -} -void AlterTableExpr::set_allocated_unset_column_fulltext(::greptime::v1::UnsetColumnFulltext* unset_column_fulltext) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_kind(); - if (unset_column_fulltext) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(unset_column_fulltext); - if (message_arena != submessage_arena) { - unset_column_fulltext = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, unset_column_fulltext, submessage_arena); - } - set_has_unset_column_fulltext(); - _impl_.kind_.unset_column_fulltext_ = unset_column_fulltext; - } - // @@protoc_insertion_point(field_set_allocated:greptime.v1.AlterTableExpr.unset_column_fulltext) -} void AlterTableExpr::set_allocated_unset_table_options(::greptime::v1::UnsetTableOptions* unset_table_options) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); clear_kind(); @@ -4621,6 +4692,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_index(::greptime::v1::SetIndex* set_index) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + clear_kind(); + if (set_index) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(set_index); + if (message_arena != submessage_arena) { + set_index = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, set_index, submessage_arena); + } + set_has_set_index(); + _impl_.kind_.set_index_ = set_index; + } + // @@protoc_insertion_point(field_set_allocated:greptime.v1.AlterTableExpr.set_index) +} +void AlterTableExpr::set_allocated_unset_index(::greptime::v1::UnsetIndex* unset_index) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + clear_kind(); + if (unset_index) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(unset_index); + if (message_arena != submessage_arena) { + unset_index = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, unset_index, submessage_arena); + } + set_has_unset_index(); + _impl_.kind_.unset_index_ = unset_index; + } + // @@protoc_insertion_point(field_set_allocated:greptime.v1.AlterTableExpr.unset_index) +} AlterTableExpr::AlterTableExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -4690,21 +4791,21 @@ AlterTableExpr::AlterTableExpr(const AlterTableExpr& from) from._internal_set_table_options()); break; } - case kSetColumnFulltext: { - _this->_internal_mutable_set_column_fulltext()->::greptime::v1::SetColumnFulltext::MergeFrom( - from._internal_set_column_fulltext()); - break; - } - case kUnsetColumnFulltext: { - _this->_internal_mutable_unset_column_fulltext()->::greptime::v1::UnsetColumnFulltext::MergeFrom( - from._internal_unset_column_fulltext()); - break; - } case kUnsetTableOptions: { _this->_internal_mutable_unset_table_options()->::greptime::v1::UnsetTableOptions::MergeFrom( from._internal_unset_table_options()); break; } + case kSetIndex: { + _this->_internal_mutable_set_index()->::greptime::v1::SetIndex::MergeFrom( + from._internal_set_index()); + break; + } + case kUnsetIndex: { + _this->_internal_mutable_unset_index()->::greptime::v1::UnsetIndex::MergeFrom( + from._internal_unset_index()); + break; + } case KIND_NOT_SET: { break; } @@ -4795,24 +4896,24 @@ void AlterTableExpr::clear_kind() { } break; } - case kSetColumnFulltext: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.kind_.set_column_fulltext_; - } - break; - } - case kUnsetColumnFulltext: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.kind_.unset_column_fulltext_; - } - break; - } case kUnsetTableOptions: { if (GetArenaForAllocation() == nullptr) { delete _impl_.kind_.unset_table_options_; } break; } + case kSetIndex: { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.kind_.set_index_; + } + break; + } + case kUnsetIndex: { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.kind_.unset_index_; + } + break; + } case KIND_NOT_SET: { break; } @@ -4910,22 +5011,6 @@ const char* AlterTableExpr::_InternalParse(const char* ptr, ::_pbi::ParseContext } else goto handle_unusual; continue; - // .greptime.v1.SetColumnFulltext set_column_fulltext = 9; - case 9: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { - ptr = ctx->ParseMessage(_internal_mutable_set_column_fulltext(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 10; - case 10: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { - ptr = ctx->ParseMessage(_internal_mutable_unset_column_fulltext(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; // .greptime.v1.UnsetTableOptions unset_table_options = 11; case 11: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { @@ -4934,6 +5019,22 @@ const char* AlterTableExpr::_InternalParse(const char* ptr, ::_pbi::ParseContext } else goto handle_unusual; continue; + // .greptime.v1.SetIndex set_index = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 98)) { + ptr = ctx->ParseMessage(_internal_mutable_set_index(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .greptime.v1.UnsetIndex unset_index = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { + ptr = ctx->ParseMessage(_internal_mutable_unset_index(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -5028,20 +5129,6 @@ uint8_t* AlterTableExpr::_InternalSerialize( _Internal::set_table_options(this).GetCachedSize(), target, stream); } - // .greptime.v1.SetColumnFulltext set_column_fulltext = 9; - if (_internal_has_set_column_fulltext()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(9, _Internal::set_column_fulltext(this), - _Internal::set_column_fulltext(this).GetCachedSize(), target, stream); - } - - // .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 10; - if (_internal_has_unset_column_fulltext()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(10, _Internal::unset_column_fulltext(this), - _Internal::unset_column_fulltext(this).GetCachedSize(), target, stream); - } - // .greptime.v1.UnsetTableOptions unset_table_options = 11; if (_internal_has_unset_table_options()) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: @@ -5049,6 +5136,20 @@ uint8_t* AlterTableExpr::_InternalSerialize( _Internal::unset_table_options(this).GetCachedSize(), target, stream); } + // .greptime.v1.SetIndex set_index = 12; + if (_internal_has_set_index()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(12, _Internal::set_index(this), + _Internal::set_index(this).GetCachedSize(), target, stream); + } + + // .greptime.v1.UnsetIndex unset_index = 13; + if (_internal_has_unset_index()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(13, _Internal::unset_index(this), + _Internal::unset_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); @@ -5122,20 +5223,6 @@ size_t AlterTableExpr::ByteSizeLong() const { *_impl_.kind_.set_table_options_); break; } - // .greptime.v1.SetColumnFulltext set_column_fulltext = 9; - case kSetColumnFulltext: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.kind_.set_column_fulltext_); - break; - } - // .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 10; - case kUnsetColumnFulltext: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.kind_.unset_column_fulltext_); - break; - } // .greptime.v1.UnsetTableOptions unset_table_options = 11; case kUnsetTableOptions: { total_size += 1 + @@ -5143,6 +5230,20 @@ size_t AlterTableExpr::ByteSizeLong() const { *_impl_.kind_.unset_table_options_); break; } + // .greptime.v1.SetIndex set_index = 12; + case kSetIndex: { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.kind_.set_index_); + break; + } + // .greptime.v1.UnsetIndex unset_index = 13; + case kUnsetIndex: { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.kind_.unset_index_); + break; + } case KIND_NOT_SET: { break; } @@ -5200,21 +5301,21 @@ void AlterTableExpr::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const : from._internal_set_table_options()); break; } - case kSetColumnFulltext: { - _this->_internal_mutable_set_column_fulltext()->::greptime::v1::SetColumnFulltext::MergeFrom( - from._internal_set_column_fulltext()); - break; - } - case kUnsetColumnFulltext: { - _this->_internal_mutable_unset_column_fulltext()->::greptime::v1::UnsetColumnFulltext::MergeFrom( - from._internal_unset_column_fulltext()); - break; - } case kUnsetTableOptions: { _this->_internal_mutable_unset_table_options()->::greptime::v1::UnsetTableOptions::MergeFrom( from._internal_unset_table_options()); break; } + case kSetIndex: { + _this->_internal_mutable_set_index()->::greptime::v1::SetIndex::MergeFrom( + from._internal_set_index()); + break; + } + case kUnsetIndex: { + _this->_internal_mutable_unset_index()->::greptime::v1::UnsetIndex::MergeFrom( + from._internal_unset_index()); + break; + } case KIND_NOT_SET: { break; } @@ -5262,6 +5363,616 @@ void AlterTableExpr::InternalSwap(AlterTableExpr* other) { // =================================================================== +class SetIndex::_Internal { + public: + static const ::greptime::v1::SetFulltext& fulltext(const SetIndex* msg); + static const ::greptime::v1::SetInverted& inverted(const SetIndex* msg); +}; + +const ::greptime::v1::SetFulltext& +SetIndex::_Internal::fulltext(const SetIndex* msg) { + return *msg->_impl_.options_.fulltext_; +} +const ::greptime::v1::SetInverted& +SetIndex::_Internal::inverted(const SetIndex* msg) { + return *msg->_impl_.options_.inverted_; +} +void SetIndex::set_allocated_fulltext(::greptime::v1::SetFulltext* fulltext) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + clear_options(); + if (fulltext) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(fulltext); + if (message_arena != submessage_arena) { + fulltext = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, fulltext, submessage_arena); + } + set_has_fulltext(); + _impl_.options_.fulltext_ = fulltext; + } + // @@protoc_insertion_point(field_set_allocated:greptime.v1.SetIndex.fulltext) +} +void SetIndex::set_allocated_inverted(::greptime::v1::SetInverted* inverted) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + clear_options(); + if (inverted) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(inverted); + if (message_arena != submessage_arena) { + inverted = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, inverted, submessage_arena); + } + set_has_inverted(); + _impl_.options_.inverted_ = inverted; + } + // @@protoc_insertion_point(field_set_allocated:greptime.v1.SetIndex.inverted) +} +SetIndex::SetIndex(::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.SetIndex) +} +SetIndex::SetIndex(const SetIndex& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + SetIndex* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.options_){} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_._oneof_case_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + clear_has_options(); + switch (from.options_case()) { + case kFulltext: { + _this->_internal_mutable_fulltext()->::greptime::v1::SetFulltext::MergeFrom( + from._internal_fulltext()); + break; + } + case kInverted: { + _this->_internal_mutable_inverted()->::greptime::v1::SetInverted::MergeFrom( + from._internal_inverted()); + break; + } + case OPTIONS_NOT_SET: { + break; + } + } + // @@protoc_insertion_point(copy_constructor:greptime.v1.SetIndex) +} + +inline void SetIndex::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.options_){} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_._oneof_case_)*/{} + }; + clear_has_options(); +} + +SetIndex::~SetIndex() { + // @@protoc_insertion_point(destructor:greptime.v1.SetIndex) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void SetIndex::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (has_options()) { + clear_options(); + } +} + +void SetIndex::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void SetIndex::clear_options() { +// @@protoc_insertion_point(one_of_clear_start:greptime.v1.SetIndex) + switch (options_case()) { + case kFulltext: { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.options_.fulltext_; + } + break; + } + case kInverted: { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.options_.inverted_; + } + break; + } + case OPTIONS_NOT_SET: { + break; + } + } + _impl_._oneof_case_[0] = OPTIONS_NOT_SET; +} + + +void SetIndex::Clear() { +// @@protoc_insertion_point(message_clear_start:greptime.v1.SetIndex) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + clear_options(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* SetIndex::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .greptime.v1.SetFulltext fulltext = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_fulltext(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .greptime.v1.SetInverted inverted = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_inverted(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* SetIndex::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:greptime.v1.SetIndex) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .greptime.v1.SetFulltext fulltext = 1; + if (_internal_has_fulltext()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::fulltext(this), + _Internal::fulltext(this).GetCachedSize(), target, stream); + } + + // .greptime.v1.SetInverted inverted = 2; + if (_internal_has_inverted()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::inverted(this), + _Internal::inverted(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:greptime.v1.SetIndex) + return target; +} + +size_t SetIndex::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:greptime.v1.SetIndex) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + switch (options_case()) { + // .greptime.v1.SetFulltext fulltext = 1; + case kFulltext: { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.options_.fulltext_); + break; + } + // .greptime.v1.SetInverted inverted = 2; + case kInverted: { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.options_.inverted_); + break; + } + case OPTIONS_NOT_SET: { + break; + } + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData SetIndex::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + SetIndex::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*SetIndex::GetClassData() const { return &_class_data_; } + + +void SetIndex::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.SetIndex) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + switch (from.options_case()) { + case kFulltext: { + _this->_internal_mutable_fulltext()->::greptime::v1::SetFulltext::MergeFrom( + from._internal_fulltext()); + break; + } + case kInverted: { + _this->_internal_mutable_inverted()->::greptime::v1::SetInverted::MergeFrom( + from._internal_inverted()); + break; + } + case OPTIONS_NOT_SET: { + break; + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void SetIndex::CopyFrom(const SetIndex& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.SetIndex) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool SetIndex::IsInitialized() const { + return true; +} + +void SetIndex::InternalSwap(SetIndex* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.options_, other->_impl_.options_); + swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); +} + +::PROTOBUF_NAMESPACE_ID::Metadata SetIndex::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[9]); +} + +// =================================================================== + +class UnsetIndex::_Internal { + public: + static const ::greptime::v1::UnsetFulltext& fulltext(const UnsetIndex* msg); + static const ::greptime::v1::UnsetInverted& inverted(const UnsetIndex* msg); +}; + +const ::greptime::v1::UnsetFulltext& +UnsetIndex::_Internal::fulltext(const UnsetIndex* msg) { + return *msg->_impl_.options_.fulltext_; +} +const ::greptime::v1::UnsetInverted& +UnsetIndex::_Internal::inverted(const UnsetIndex* msg) { + return *msg->_impl_.options_.inverted_; +} +void UnsetIndex::set_allocated_fulltext(::greptime::v1::UnsetFulltext* fulltext) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + clear_options(); + if (fulltext) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(fulltext); + if (message_arena != submessage_arena) { + fulltext = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, fulltext, submessage_arena); + } + set_has_fulltext(); + _impl_.options_.fulltext_ = fulltext; + } + // @@protoc_insertion_point(field_set_allocated:greptime.v1.UnsetIndex.fulltext) +} +void UnsetIndex::set_allocated_inverted(::greptime::v1::UnsetInverted* inverted) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + clear_options(); + if (inverted) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(inverted); + if (message_arena != submessage_arena) { + inverted = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, inverted, submessage_arena); + } + set_has_inverted(); + _impl_.options_.inverted_ = inverted; + } + // @@protoc_insertion_point(field_set_allocated:greptime.v1.UnsetIndex.inverted) +} +UnsetIndex::UnsetIndex(::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.UnsetIndex) +} +UnsetIndex::UnsetIndex(const UnsetIndex& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + UnsetIndex* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.options_){} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_._oneof_case_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + clear_has_options(); + switch (from.options_case()) { + case kFulltext: { + _this->_internal_mutable_fulltext()->::greptime::v1::UnsetFulltext::MergeFrom( + from._internal_fulltext()); + break; + } + case kInverted: { + _this->_internal_mutable_inverted()->::greptime::v1::UnsetInverted::MergeFrom( + from._internal_inverted()); + break; + } + case OPTIONS_NOT_SET: { + break; + } + } + // @@protoc_insertion_point(copy_constructor:greptime.v1.UnsetIndex) +} + +inline void UnsetIndex::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.options_){} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_._oneof_case_)*/{} + }; + clear_has_options(); +} + +UnsetIndex::~UnsetIndex() { + // @@protoc_insertion_point(destructor:greptime.v1.UnsetIndex) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void UnsetIndex::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (has_options()) { + clear_options(); + } +} + +void UnsetIndex::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void UnsetIndex::clear_options() { +// @@protoc_insertion_point(one_of_clear_start:greptime.v1.UnsetIndex) + switch (options_case()) { + case kFulltext: { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.options_.fulltext_; + } + break; + } + case kInverted: { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.options_.inverted_; + } + break; + } + case OPTIONS_NOT_SET: { + break; + } + } + _impl_._oneof_case_[0] = OPTIONS_NOT_SET; +} + + +void UnsetIndex::Clear() { +// @@protoc_insertion_point(message_clear_start:greptime.v1.UnsetIndex) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + clear_options(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* UnsetIndex::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .greptime.v1.UnsetFulltext fulltext = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_fulltext(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .greptime.v1.UnsetInverted inverted = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_inverted(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* UnsetIndex::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:greptime.v1.UnsetIndex) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .greptime.v1.UnsetFulltext fulltext = 1; + if (_internal_has_fulltext()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::fulltext(this), + _Internal::fulltext(this).GetCachedSize(), target, stream); + } + + // .greptime.v1.UnsetInverted inverted = 2; + if (_internal_has_inverted()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(2, _Internal::inverted(this), + _Internal::inverted(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:greptime.v1.UnsetIndex) + return target; +} + +size_t UnsetIndex::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:greptime.v1.UnsetIndex) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + switch (options_case()) { + // .greptime.v1.UnsetFulltext fulltext = 1; + case kFulltext: { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.options_.fulltext_); + break; + } + // .greptime.v1.UnsetInverted inverted = 2; + case kInverted: { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.options_.inverted_); + break; + } + case OPTIONS_NOT_SET: { + break; + } + } + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UnsetIndex::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + UnsetIndex::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UnsetIndex::GetClassData() const { return &_class_data_; } + + +void UnsetIndex::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.UnsetIndex) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + switch (from.options_case()) { + case kFulltext: { + _this->_internal_mutable_fulltext()->::greptime::v1::UnsetFulltext::MergeFrom( + from._internal_fulltext()); + break; + } + case kInverted: { + _this->_internal_mutable_inverted()->::greptime::v1::UnsetInverted::MergeFrom( + from._internal_inverted()); + break; + } + case OPTIONS_NOT_SET: { + break; + } + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void UnsetIndex::CopyFrom(const UnsetIndex& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.UnsetIndex) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool UnsetIndex::IsInitialized() const { + return true; +} + +void UnsetIndex::InternalSwap(UnsetIndex* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.options_, other->_impl_.options_); + swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); +} + +::PROTOBUF_NAMESPACE_ID::Metadata UnsetIndex::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[10]); +} + +// =================================================================== + class DropTableExpr::_Internal { public: static const ::greptime::v1::TableId& table_id(const DropTableExpr* msg); @@ -5633,7 +6344,7 @@ void DropTableExpr::InternalSwap(DropTableExpr* other) { ::PROTOBUF_NAMESPACE_ID::Metadata DropTableExpr::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[9]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[11]); } // =================================================================== @@ -5647,7 +6358,7 @@ void CreateDatabaseExpr_OptionsEntry_DoNotUse::MergeFrom(const CreateDatabaseExp ::PROTOBUF_NAMESPACE_ID::Metadata CreateDatabaseExpr_OptionsEntry_DoNotUse::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[10]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[12]); } // =================================================================== @@ -5995,7 +6706,7 @@ void CreateDatabaseExpr::InternalSwap(CreateDatabaseExpr* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CreateDatabaseExpr::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[11]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[13]); } // =================================================================== @@ -6340,7 +7051,7 @@ void TruncateTableExpr::InternalSwap(TruncateTableExpr* other) { ::PROTOBUF_NAMESPACE_ID::Metadata TruncateTableExpr::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[12]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[14]); } // =================================================================== @@ -6620,7 +7331,7 @@ void DropDatabaseExpr::InternalSwap(DropDatabaseExpr* other) { ::PROTOBUF_NAMESPACE_ID::Metadata DropDatabaseExpr::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[13]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[15]); } // =================================================================== @@ -6805,7 +7516,7 @@ void AddColumns::InternalSwap(AddColumns* other) { ::PROTOBUF_NAMESPACE_ID::Metadata AddColumns::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[14]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[16]); } // =================================================================== @@ -6990,7 +7701,7 @@ void DropColumns::InternalSwap(DropColumns* other) { ::PROTOBUF_NAMESPACE_ID::Metadata DropColumns::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[15]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[17]); } // =================================================================== @@ -7175,7 +7886,7 @@ void ModifyColumnTypes::InternalSwap(ModifyColumnTypes* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ModifyColumnTypes::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[16]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[18]); } // =================================================================== @@ -7378,7 +8089,7 @@ void RenameTable::InternalSwap(RenameTable* other) { ::PROTOBUF_NAMESPACE_ID::Metadata RenameTable::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[17]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[19]); } // =================================================================== @@ -7643,7 +8354,7 @@ void AddColumn::InternalSwap(AddColumn* other) { ::PROTOBUF_NAMESPACE_ID::Metadata AddColumn::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[18]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[20]); } // =================================================================== @@ -7928,7 +8639,7 @@ void ModifyColumnType::InternalSwap(ModifyColumnType* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ModifyColumnType::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[19]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[21]); } // =================================================================== @@ -8181,7 +8892,7 @@ void Option::InternalSwap(Option* other) { ::PROTOBUF_NAMESPACE_ID::Metadata Option::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_greptime_2fv1_2fddl_2eproto_getter, &descriptor_table_greptime_2fv1_2fddl_2eproto_once, - file_level_metadata_greptime_2fv1_2fddl_2eproto[20]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[22]); } // =================================================================== @@ -8366,7 +9077,7 @@ void SetTableOptions::InternalSwap(SetTableOptions* other) { ::PROTOBUF_NAMESPACE_ID::Metadata SetTableOptions::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_greptime_2fv1_2fddl_2eproto_getter, &descriptor_table_greptime_2fv1_2fddl_2eproto_once, - file_level_metadata_greptime_2fv1_2fddl_2eproto[21]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[23]); } // =================================================================== @@ -8556,7 +9267,7 @@ void UnsetTableOptions::InternalSwap(UnsetTableOptions* other) { ::PROTOBUF_NAMESPACE_ID::Metadata UnsetTableOptions::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[22]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[24]); } // =================================================================== @@ -8759,7 +9470,7 @@ void DropColumn::InternalSwap(DropColumn* other) { ::PROTOBUF_NAMESPACE_ID::Metadata DropColumn::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[23]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[25]); } // =================================================================== @@ -8937,7 +9648,7 @@ void TableId::InternalSwap(TableId* other) { ::PROTOBUF_NAMESPACE_ID::Metadata TableId::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[24]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[26]); } // =================================================================== @@ -9115,7 +9826,7 @@ void FlowId::InternalSwap(FlowId* other) { ::PROTOBUF_NAMESPACE_ID::Metadata FlowId::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_greptime_2fv1_2fddl_2eproto_getter, &descriptor_table_greptime_2fv1_2fddl_2eproto_once, - file_level_metadata_greptime_2fv1_2fddl_2eproto[25]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[27]); } // =================================================================== @@ -9597,7 +10308,7 @@ void ColumnDef::InternalSwap(ColumnDef* other) { ::PROTOBUF_NAMESPACE_ID::Metadata ColumnDef::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_greptime_2fv1_2fddl_2eproto_getter, &descriptor_table_greptime_2fv1_2fddl_2eproto_once, - file_level_metadata_greptime_2fv1_2fddl_2eproto[26]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[28]); } // =================================================================== @@ -9830,24 +10541,24 @@ void AddColumnLocation::InternalSwap(AddColumnLocation* other) { ::PROTOBUF_NAMESPACE_ID::Metadata AddColumnLocation::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_greptime_2fv1_2fddl_2eproto_getter, &descriptor_table_greptime_2fv1_2fddl_2eproto_once, - file_level_metadata_greptime_2fv1_2fddl_2eproto[27]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[29]); } // =================================================================== -class SetColumnFulltext::_Internal { +class SetFulltext::_Internal { public: }; -SetColumnFulltext::SetColumnFulltext(::PROTOBUF_NAMESPACE_ID::Arena* arena, +SetFulltext::SetFulltext(::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.SetColumnFulltext) + // @@protoc_insertion_point(arena_constructor:greptime.v1.SetFulltext) } -SetColumnFulltext::SetColumnFulltext(const SetColumnFulltext& from) +SetFulltext::SetFulltext(const SetFulltext& from) : ::PROTOBUF_NAMESPACE_ID::Message() { - SetColumnFulltext* const _this = this; (void)_this; + SetFulltext* const _this = this; (void)_this; new (&_impl_) Impl_{ decltype(_impl_.column_name_){} , decltype(_impl_.analyzer_){} @@ -9867,10 +10578,10 @@ SetColumnFulltext::SetColumnFulltext(const SetColumnFulltext& from) ::memcpy(&_impl_.analyzer_, &from._impl_.analyzer_, static_cast(reinterpret_cast(&_impl_.case_sensitive_) - reinterpret_cast(&_impl_.analyzer_)) + sizeof(_impl_.case_sensitive_)); - // @@protoc_insertion_point(copy_constructor:greptime.v1.SetColumnFulltext) + // @@protoc_insertion_point(copy_constructor:greptime.v1.SetFulltext) } -inline void SetColumnFulltext::SharedCtor( +inline void SetFulltext::SharedCtor( ::_pb::Arena* arena, bool is_message_owned) { (void)arena; (void)is_message_owned; @@ -9887,8 +10598,8 @@ inline void SetColumnFulltext::SharedCtor( #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } -SetColumnFulltext::~SetColumnFulltext() { - // @@protoc_insertion_point(destructor:greptime.v1.SetColumnFulltext) +SetFulltext::~SetFulltext() { + // @@protoc_insertion_point(destructor:greptime.v1.SetFulltext) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -9896,17 +10607,17 @@ SetColumnFulltext::~SetColumnFulltext() { SharedDtor(); } -inline void SetColumnFulltext::SharedDtor() { +inline void SetFulltext::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); _impl_.column_name_.Destroy(); } -void SetColumnFulltext::SetCachedSize(int size) const { +void SetFulltext::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } -void SetColumnFulltext::Clear() { -// @@protoc_insertion_point(message_clear_start:greptime.v1.SetColumnFulltext) +void SetFulltext::Clear() { +// @@protoc_insertion_point(message_clear_start:greptime.v1.SetFulltext) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -9918,7 +10629,7 @@ void SetColumnFulltext::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* SetColumnFulltext::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* SetFulltext::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; @@ -9930,7 +10641,7 @@ const char* SetColumnFulltext::_InternalParse(const char* ptr, ::_pbi::ParseCont auto str = _internal_mutable_column_name(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "greptime.v1.SetColumnFulltext.column_name")); + CHK_(::_pbi::VerifyUTF8(str, "greptime.v1.SetFulltext.column_name")); } else goto handle_unusual; continue; @@ -9982,9 +10693,9 @@ failure: #undef CHK_ } -uint8_t* SetColumnFulltext::_InternalSerialize( +uint8_t* SetFulltext::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:greptime.v1.SetColumnFulltext) + // @@protoc_insertion_point(serialize_to_array_start:greptime.v1.SetFulltext) uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -9993,7 +10704,7 @@ uint8_t* SetColumnFulltext::_InternalSerialize( ::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.SetColumnFulltext.column_name"); + "greptime.v1.SetFulltext.column_name"); target = stream->WriteStringMaybeAliased( 1, this->_internal_column_name(), target); } @@ -10021,12 +10732,12 @@ uint8_t* SetColumnFulltext::_InternalSerialize( target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:greptime.v1.SetColumnFulltext) + // @@protoc_insertion_point(serialize_to_array_end:greptime.v1.SetFulltext) return target; } -size_t SetColumnFulltext::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:greptime.v1.SetColumnFulltext) +size_t SetFulltext::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:greptime.v1.SetFulltext) size_t total_size = 0; uint32_t cached_has_bits = 0; @@ -10059,17 +10770,17 @@ size_t SetColumnFulltext::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData SetColumnFulltext::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData SetFulltext::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - SetColumnFulltext::MergeImpl + SetFulltext::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*SetColumnFulltext::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*SetFulltext::GetClassData() const { return &_class_data_; } -void SetColumnFulltext::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.SetColumnFulltext) +void SetFulltext::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.SetFulltext) GOOGLE_DCHECK_NE(&from, _this); uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -10089,18 +10800,18 @@ void SetColumnFulltext::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, cons _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void SetColumnFulltext::CopyFrom(const SetColumnFulltext& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.SetColumnFulltext) +void SetFulltext::CopyFrom(const SetFulltext& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.SetFulltext) if (&from == this) return; Clear(); MergeFrom(from); } -bool SetColumnFulltext::IsInitialized() const { +bool SetFulltext::IsInitialized() const { return true; } -void SetColumnFulltext::InternalSwap(SetColumnFulltext* other) { +void SetFulltext::InternalSwap(SetFulltext* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); @@ -10110,34 +10821,34 @@ void SetColumnFulltext::InternalSwap(SetColumnFulltext* other) { &other->_impl_.column_name_, rhs_arena ); ::PROTOBUF_NAMESPACE_ID::internal::memswap< - PROTOBUF_FIELD_OFFSET(SetColumnFulltext, _impl_.case_sensitive_) - + sizeof(SetColumnFulltext::_impl_.case_sensitive_) - - PROTOBUF_FIELD_OFFSET(SetColumnFulltext, _impl_.analyzer_)>( + PROTOBUF_FIELD_OFFSET(SetFulltext, _impl_.case_sensitive_) + + sizeof(SetFulltext::_impl_.case_sensitive_) + - PROTOBUF_FIELD_OFFSET(SetFulltext, _impl_.analyzer_)>( reinterpret_cast(&_impl_.analyzer_), reinterpret_cast(&other->_impl_.analyzer_)); } -::PROTOBUF_NAMESPACE_ID::Metadata SetColumnFulltext::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata SetFulltext::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_greptime_2fv1_2fddl_2eproto_getter, &descriptor_table_greptime_2fv1_2fddl_2eproto_once, - file_level_metadata_greptime_2fv1_2fddl_2eproto[28]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[30]); } // =================================================================== -class UnsetColumnFulltext::_Internal { +class UnsetFulltext::_Internal { public: }; -UnsetColumnFulltext::UnsetColumnFulltext(::PROTOBUF_NAMESPACE_ID::Arena* arena, +UnsetFulltext::UnsetFulltext(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { SharedCtor(arena, is_message_owned); - // @@protoc_insertion_point(arena_constructor:greptime.v1.UnsetColumnFulltext) + // @@protoc_insertion_point(arena_constructor:greptime.v1.UnsetFulltext) } -UnsetColumnFulltext::UnsetColumnFulltext(const UnsetColumnFulltext& from) +UnsetFulltext::UnsetFulltext(const UnsetFulltext& from) : ::PROTOBUF_NAMESPACE_ID::Message() { - UnsetColumnFulltext* const _this = this; (void)_this; + UnsetFulltext* const _this = this; (void)_this; new (&_impl_) Impl_{ decltype(_impl_.column_name_){} , /*decltype(_impl_._cached_size_)*/{}}; @@ -10151,10 +10862,10 @@ UnsetColumnFulltext::UnsetColumnFulltext(const UnsetColumnFulltext& from) _this->_impl_.column_name_.Set(from._internal_column_name(), _this->GetArenaForAllocation()); } - // @@protoc_insertion_point(copy_constructor:greptime.v1.UnsetColumnFulltext) + // @@protoc_insertion_point(copy_constructor:greptime.v1.UnsetFulltext) } -inline void UnsetColumnFulltext::SharedCtor( +inline void UnsetFulltext::SharedCtor( ::_pb::Arena* arena, bool is_message_owned) { (void)arena; (void)is_message_owned; @@ -10168,8 +10879,8 @@ inline void UnsetColumnFulltext::SharedCtor( #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING } -UnsetColumnFulltext::~UnsetColumnFulltext() { - // @@protoc_insertion_point(destructor:greptime.v1.UnsetColumnFulltext) +UnsetFulltext::~UnsetFulltext() { + // @@protoc_insertion_point(destructor:greptime.v1.UnsetFulltext) if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { (void)arena; return; @@ -10177,17 +10888,17 @@ UnsetColumnFulltext::~UnsetColumnFulltext() { SharedDtor(); } -inline void UnsetColumnFulltext::SharedDtor() { +inline void UnsetFulltext::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); _impl_.column_name_.Destroy(); } -void UnsetColumnFulltext::SetCachedSize(int size) const { +void UnsetFulltext::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } -void UnsetColumnFulltext::Clear() { -// @@protoc_insertion_point(message_clear_start:greptime.v1.UnsetColumnFulltext) +void UnsetFulltext::Clear() { +// @@protoc_insertion_point(message_clear_start:greptime.v1.UnsetFulltext) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; @@ -10196,7 +10907,7 @@ void UnsetColumnFulltext::Clear() { _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } -const char* UnsetColumnFulltext::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +const char* UnsetFulltext::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure while (!ctx->Done(&ptr)) { uint32_t tag; @@ -10208,7 +10919,7 @@ const char* UnsetColumnFulltext::_InternalParse(const char* ptr, ::_pbi::ParseCo auto str = _internal_mutable_column_name(); ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); CHK_(ptr); - CHK_(::_pbi::VerifyUTF8(str, "greptime.v1.UnsetColumnFulltext.column_name")); + CHK_(::_pbi::VerifyUTF8(str, "greptime.v1.UnsetFulltext.column_name")); } else goto handle_unusual; continue; @@ -10235,9 +10946,9 @@ failure: #undef CHK_ } -uint8_t* UnsetColumnFulltext::_InternalSerialize( +uint8_t* UnsetFulltext::_InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { - // @@protoc_insertion_point(serialize_to_array_start:greptime.v1.UnsetColumnFulltext) + // @@protoc_insertion_point(serialize_to_array_start:greptime.v1.UnsetFulltext) uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -10246,7 +10957,7 @@ uint8_t* UnsetColumnFulltext::_InternalSerialize( ::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.UnsetColumnFulltext.column_name"); + "greptime.v1.UnsetFulltext.column_name"); target = stream->WriteStringMaybeAliased( 1, this->_internal_column_name(), target); } @@ -10255,12 +10966,12 @@ uint8_t* UnsetColumnFulltext::_InternalSerialize( target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); } - // @@protoc_insertion_point(serialize_to_array_end:greptime.v1.UnsetColumnFulltext) + // @@protoc_insertion_point(serialize_to_array_end:greptime.v1.UnsetFulltext) return target; } -size_t UnsetColumnFulltext::ByteSizeLong() const { -// @@protoc_insertion_point(message_byte_size_start:greptime.v1.UnsetColumnFulltext) +size_t UnsetFulltext::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:greptime.v1.UnsetFulltext) size_t total_size = 0; uint32_t cached_has_bits = 0; @@ -10277,17 +10988,17 @@ size_t UnsetColumnFulltext::ByteSizeLong() const { return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UnsetColumnFulltext::_class_data_ = { +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UnsetFulltext::_class_data_ = { ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, - UnsetColumnFulltext::MergeImpl + UnsetFulltext::MergeImpl }; -const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UnsetColumnFulltext::GetClassData() const { return &_class_data_; } +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UnsetFulltext::GetClassData() const { return &_class_data_; } -void UnsetColumnFulltext::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:greptime.v1.UnsetColumnFulltext) +void UnsetFulltext::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.UnsetFulltext) GOOGLE_DCHECK_NE(&from, _this); uint32_t cached_has_bits = 0; (void) cached_has_bits; @@ -10298,18 +11009,18 @@ void UnsetColumnFulltext::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, co _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } -void UnsetColumnFulltext::CopyFrom(const UnsetColumnFulltext& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.UnsetColumnFulltext) +void UnsetFulltext::CopyFrom(const UnsetFulltext& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.UnsetFulltext) if (&from == this) return; Clear(); MergeFrom(from); } -bool UnsetColumnFulltext::IsInitialized() const { +bool UnsetFulltext::IsInitialized() const { return true; } -void UnsetColumnFulltext::InternalSwap(UnsetColumnFulltext* other) { +void UnsetFulltext::InternalSwap(UnsetFulltext* other) { using std::swap; auto* lhs_arena = GetArenaForAllocation(); auto* rhs_arena = other->GetArenaForAllocation(); @@ -10320,10 +11031,416 @@ void UnsetColumnFulltext::InternalSwap(UnsetColumnFulltext* other) { ); } -::PROTOBUF_NAMESPACE_ID::Metadata UnsetColumnFulltext::GetMetadata() const { +::PROTOBUF_NAMESPACE_ID::Metadata UnsetFulltext::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[29]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[31]); +} + +// =================================================================== + +class SetInverted::_Internal { + public: +}; + +SetInverted::SetInverted(::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.SetInverted) +} +SetInverted::SetInverted(const SetInverted& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + SetInverted* 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.SetInverted) +} + +inline void SetInverted::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 +} + +SetInverted::~SetInverted() { + // @@protoc_insertion_point(destructor:greptime.v1.SetInverted) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void SetInverted::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.column_name_.Destroy(); +} + +void SetInverted::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void SetInverted::Clear() { +// @@protoc_insertion_point(message_clear_start:greptime.v1.SetInverted) + 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* SetInverted::_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.SetInverted.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* SetInverted::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:greptime.v1.SetInverted) + 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.SetInverted.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.SetInverted) + return target; +} + +size_t SetInverted::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:greptime.v1.SetInverted) + 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 SetInverted::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + SetInverted::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*SetInverted::GetClassData() const { return &_class_data_; } + + +void SetInverted::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.SetInverted) + 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 SetInverted::CopyFrom(const SetInverted& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.SetInverted) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool SetInverted::IsInitialized() const { + return true; +} + +void SetInverted::InternalSwap(SetInverted* 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 SetInverted::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]); +} + +// =================================================================== + +class UnsetInverted::_Internal { + public: +}; + +UnsetInverted::UnsetInverted(::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.UnsetInverted) +} +UnsetInverted::UnsetInverted(const UnsetInverted& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + UnsetInverted* 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.UnsetInverted) +} + +inline void UnsetInverted::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 +} + +UnsetInverted::~UnsetInverted() { + // @@protoc_insertion_point(destructor:greptime.v1.UnsetInverted) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void UnsetInverted::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.column_name_.Destroy(); +} + +void UnsetInverted::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void UnsetInverted::Clear() { +// @@protoc_insertion_point(message_clear_start:greptime.v1.UnsetInverted) + 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* UnsetInverted::_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.UnsetInverted.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* UnsetInverted::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:greptime.v1.UnsetInverted) + 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.UnsetInverted.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.UnsetInverted) + return target; +} + +size_t UnsetInverted::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:greptime.v1.UnsetInverted) + 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 UnsetInverted::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + UnsetInverted::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UnsetInverted::GetClassData() const { return &_class_data_; } + + +void UnsetInverted::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.UnsetInverted) + 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 UnsetInverted::CopyFrom(const UnsetInverted& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.UnsetInverted) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool UnsetInverted::IsInitialized() const { + return true; +} + +void UnsetInverted::InternalSwap(UnsetInverted* 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 UnsetInverted::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[33]); } // =================================================================== @@ -10730,7 +11847,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[34]); } // =================================================================== @@ -10915,7 +12032,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[35]); } // =================================================================== @@ -11105,7 +12222,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[36]); } // @@protoc_insertion_point(namespace_scope) @@ -11148,6 +12265,14 @@ template<> PROTOBUF_NOINLINE ::greptime::v1::AlterTableExpr* Arena::CreateMaybeMessage< ::greptime::v1::AlterTableExpr >(Arena* arena) { return Arena::CreateMessageInternal< ::greptime::v1::AlterTableExpr >(arena); } +template<> PROTOBUF_NOINLINE ::greptime::v1::SetIndex* +Arena::CreateMaybeMessage< ::greptime::v1::SetIndex >(Arena* arena) { + return Arena::CreateMessageInternal< ::greptime::v1::SetIndex >(arena); +} +template<> PROTOBUF_NOINLINE ::greptime::v1::UnsetIndex* +Arena::CreateMaybeMessage< ::greptime::v1::UnsetIndex >(Arena* arena) { + return Arena::CreateMessageInternal< ::greptime::v1::UnsetIndex >(arena); +} template<> PROTOBUF_NOINLINE ::greptime::v1::DropTableExpr* Arena::CreateMaybeMessage< ::greptime::v1::DropTableExpr >(Arena* arena) { return Arena::CreateMessageInternal< ::greptime::v1::DropTableExpr >(arena); @@ -11224,13 +12349,21 @@ template<> PROTOBUF_NOINLINE ::greptime::v1::AddColumnLocation* Arena::CreateMaybeMessage< ::greptime::v1::AddColumnLocation >(Arena* arena) { return Arena::CreateMessageInternal< ::greptime::v1::AddColumnLocation >(arena); } -template<> PROTOBUF_NOINLINE ::greptime::v1::SetColumnFulltext* -Arena::CreateMaybeMessage< ::greptime::v1::SetColumnFulltext >(Arena* arena) { - return Arena::CreateMessageInternal< ::greptime::v1::SetColumnFulltext >(arena); +template<> PROTOBUF_NOINLINE ::greptime::v1::SetFulltext* +Arena::CreateMaybeMessage< ::greptime::v1::SetFulltext >(Arena* arena) { + return Arena::CreateMessageInternal< ::greptime::v1::SetFulltext >(arena); } -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::UnsetFulltext* +Arena::CreateMaybeMessage< ::greptime::v1::UnsetFulltext >(Arena* arena) { + return Arena::CreateMessageInternal< ::greptime::v1::UnsetFulltext >(arena); +} +template<> PROTOBUF_NOINLINE ::greptime::v1::SetInverted* +Arena::CreateMaybeMessage< ::greptime::v1::SetInverted >(Arena* arena) { + return Arena::CreateMessageInternal< ::greptime::v1::SetInverted >(arena); +} +template<> PROTOBUF_NOINLINE ::greptime::v1::UnsetInverted* +Arena::CreateMaybeMessage< ::greptime::v1::UnsetInverted >(Arena* arena) { + return Arena::CreateMessageInternal< ::greptime::v1::UnsetInverted >(arena); } template<> PROTOBUF_NOINLINE ::greptime::v1::AlterDatabaseExpr* Arena::CreateMaybeMessage< ::greptime::v1::AlterDatabaseExpr >(Arena* arena) { diff --git a/c++/greptime/v1/ddl.pb.h b/c++/greptime/v1/ddl.pb.h index 94216be..4bbf505 100644 --- a/c++/greptime/v1/ddl.pb.h +++ b/c++/greptime/v1/ddl.pb.h @@ -126,12 +126,18 @@ extern OptionDefaultTypeInternal _Option_default_instance_; class RenameTable; struct RenameTableDefaultTypeInternal; extern RenameTableDefaultTypeInternal _RenameTable_default_instance_; -class SetColumnFulltext; -struct SetColumnFulltextDefaultTypeInternal; -extern SetColumnFulltextDefaultTypeInternal _SetColumnFulltext_default_instance_; class SetDatabaseOptions; struct SetDatabaseOptionsDefaultTypeInternal; extern SetDatabaseOptionsDefaultTypeInternal _SetDatabaseOptions_default_instance_; +class SetFulltext; +struct SetFulltextDefaultTypeInternal; +extern SetFulltextDefaultTypeInternal _SetFulltext_default_instance_; +class SetIndex; +struct SetIndexDefaultTypeInternal; +extern SetIndexDefaultTypeInternal _SetIndex_default_instance_; +class SetInverted; +struct SetInvertedDefaultTypeInternal; +extern SetInvertedDefaultTypeInternal _SetInverted_default_instance_; class SetTableOptions; struct SetTableOptionsDefaultTypeInternal; extern SetTableOptionsDefaultTypeInternal _SetTableOptions_default_instance_; @@ -141,12 +147,18 @@ extern TableIdDefaultTypeInternal _TableId_default_instance_; class TruncateTableExpr; struct TruncateTableExprDefaultTypeInternal; extern TruncateTableExprDefaultTypeInternal _TruncateTableExpr_default_instance_; -class UnsetColumnFulltext; -struct UnsetColumnFulltextDefaultTypeInternal; -extern UnsetColumnFulltextDefaultTypeInternal _UnsetColumnFulltext_default_instance_; class UnsetDatabaseOptions; struct UnsetDatabaseOptionsDefaultTypeInternal; extern UnsetDatabaseOptionsDefaultTypeInternal _UnsetDatabaseOptions_default_instance_; +class UnsetFulltext; +struct UnsetFulltextDefaultTypeInternal; +extern UnsetFulltextDefaultTypeInternal _UnsetFulltext_default_instance_; +class UnsetIndex; +struct UnsetIndexDefaultTypeInternal; +extern UnsetIndexDefaultTypeInternal _UnsetIndex_default_instance_; +class UnsetInverted; +struct UnsetInvertedDefaultTypeInternal; +extern UnsetInvertedDefaultTypeInternal _UnsetInverted_default_instance_; class UnsetTableOptions; struct UnsetTableOptionsDefaultTypeInternal; extern UnsetTableOptionsDefaultTypeInternal _UnsetTableOptions_default_instance_; @@ -178,13 +190,17 @@ template<> ::greptime::v1::ModifyColumnType* Arena::CreateMaybeMessage<::greptim template<> ::greptime::v1::ModifyColumnTypes* Arena::CreateMaybeMessage<::greptime::v1::ModifyColumnTypes>(Arena*); 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::SetDatabaseOptions* Arena::CreateMaybeMessage<::greptime::v1::SetDatabaseOptions>(Arena*); +template<> ::greptime::v1::SetFulltext* Arena::CreateMaybeMessage<::greptime::v1::SetFulltext>(Arena*); +template<> ::greptime::v1::SetIndex* Arena::CreateMaybeMessage<::greptime::v1::SetIndex>(Arena*); +template<> ::greptime::v1::SetInverted* Arena::CreateMaybeMessage<::greptime::v1::SetInverted>(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::UnsetDatabaseOptions* Arena::CreateMaybeMessage<::greptime::v1::UnsetDatabaseOptions>(Arena*); +template<> ::greptime::v1::UnsetFulltext* Arena::CreateMaybeMessage<::greptime::v1::UnsetFulltext>(Arena*); +template<> ::greptime::v1::UnsetIndex* Arena::CreateMaybeMessage<::greptime::v1::UnsetIndex>(Arena*); +template<> ::greptime::v1::UnsetInverted* Arena::CreateMaybeMessage<::greptime::v1::UnsetInverted>(Arena*); template<> ::greptime::v1::UnsetTableOptions* Arena::CreateMaybeMessage<::greptime::v1::UnsetTableOptions>(Arena*); PROTOBUF_NAMESPACE_CLOSE namespace greptime { @@ -2091,9 +2107,9 @@ class AlterTableExpr final : kRenameTable = 6, kModifyColumnTypes = 7, kSetTableOptions = 8, - kSetColumnFulltext = 9, - kUnsetColumnFulltext = 10, kUnsetTableOptions = 11, + kSetIndex = 12, + kUnsetIndex = 13, KIND_NOT_SET = 0, }; @@ -2183,9 +2199,9 @@ class AlterTableExpr final : kRenameTableFieldNumber = 6, kModifyColumnTypesFieldNumber = 7, kSetTableOptionsFieldNumber = 8, - kSetColumnFulltextFieldNumber = 9, - kUnsetColumnFulltextFieldNumber = 10, kUnsetTableOptionsFieldNumber = 11, + kSetIndexFieldNumber = 12, + kUnsetIndexFieldNumber = 13, }; // string catalog_name = 1; void clear_catalog_name(); @@ -2319,42 +2335,6 @@ class AlterTableExpr final : ::greptime::v1::SetTableOptions* set_table_options); ::greptime::v1::SetTableOptions* unsafe_arena_release_set_table_options(); - // .greptime.v1.SetColumnFulltext set_column_fulltext = 9; - bool has_set_column_fulltext() const; - private: - bool _internal_has_set_column_fulltext() const; - public: - void clear_set_column_fulltext(); - const ::greptime::v1::SetColumnFulltext& set_column_fulltext() const; - PROTOBUF_NODISCARD ::greptime::v1::SetColumnFulltext* release_set_column_fulltext(); - ::greptime::v1::SetColumnFulltext* mutable_set_column_fulltext(); - void set_allocated_set_column_fulltext(::greptime::v1::SetColumnFulltext* set_column_fulltext); - private: - const ::greptime::v1::SetColumnFulltext& _internal_set_column_fulltext() const; - ::greptime::v1::SetColumnFulltext* _internal_mutable_set_column_fulltext(); - public: - void unsafe_arena_set_allocated_set_column_fulltext( - ::greptime::v1::SetColumnFulltext* set_column_fulltext); - ::greptime::v1::SetColumnFulltext* unsafe_arena_release_set_column_fulltext(); - - // .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 10; - bool has_unset_column_fulltext() const; - private: - bool _internal_has_unset_column_fulltext() const; - public: - void clear_unset_column_fulltext(); - const ::greptime::v1::UnsetColumnFulltext& unset_column_fulltext() const; - PROTOBUF_NODISCARD ::greptime::v1::UnsetColumnFulltext* release_unset_column_fulltext(); - ::greptime::v1::UnsetColumnFulltext* mutable_unset_column_fulltext(); - void set_allocated_unset_column_fulltext(::greptime::v1::UnsetColumnFulltext* unset_column_fulltext); - private: - const ::greptime::v1::UnsetColumnFulltext& _internal_unset_column_fulltext() const; - ::greptime::v1::UnsetColumnFulltext* _internal_mutable_unset_column_fulltext(); - public: - void unsafe_arena_set_allocated_unset_column_fulltext( - ::greptime::v1::UnsetColumnFulltext* unset_column_fulltext); - ::greptime::v1::UnsetColumnFulltext* unsafe_arena_release_unset_column_fulltext(); - // .greptime.v1.UnsetTableOptions unset_table_options = 11; bool has_unset_table_options() const; private: @@ -2373,6 +2353,42 @@ class AlterTableExpr final : ::greptime::v1::UnsetTableOptions* unset_table_options); ::greptime::v1::UnsetTableOptions* unsafe_arena_release_unset_table_options(); + // .greptime.v1.SetIndex set_index = 12; + bool has_set_index() const; + private: + bool _internal_has_set_index() const; + public: + void clear_set_index(); + const ::greptime::v1::SetIndex& set_index() const; + PROTOBUF_NODISCARD ::greptime::v1::SetIndex* release_set_index(); + ::greptime::v1::SetIndex* mutable_set_index(); + void set_allocated_set_index(::greptime::v1::SetIndex* set_index); + private: + const ::greptime::v1::SetIndex& _internal_set_index() const; + ::greptime::v1::SetIndex* _internal_mutable_set_index(); + public: + void unsafe_arena_set_allocated_set_index( + ::greptime::v1::SetIndex* set_index); + ::greptime::v1::SetIndex* unsafe_arena_release_set_index(); + + // .greptime.v1.UnsetIndex unset_index = 13; + bool has_unset_index() const; + private: + bool _internal_has_unset_index() const; + public: + void clear_unset_index(); + const ::greptime::v1::UnsetIndex& unset_index() const; + PROTOBUF_NODISCARD ::greptime::v1::UnsetIndex* release_unset_index(); + ::greptime::v1::UnsetIndex* mutable_unset_index(); + void set_allocated_unset_index(::greptime::v1::UnsetIndex* unset_index); + private: + const ::greptime::v1::UnsetIndex& _internal_unset_index() const; + ::greptime::v1::UnsetIndex* _internal_mutable_unset_index(); + public: + void unsafe_arena_set_allocated_unset_index( + ::greptime::v1::UnsetIndex* unset_index); + ::greptime::v1::UnsetIndex* unsafe_arena_release_unset_index(); + void clear_kind(); KindCase kind_case() const; // @@protoc_insertion_point(class_scope:greptime.v1.AlterTableExpr) @@ -2383,9 +2399,9 @@ class AlterTableExpr final : void set_has_rename_table(); void set_has_modify_column_types(); void set_has_set_table_options(); - void set_has_set_column_fulltext(); - void set_has_unset_column_fulltext(); void set_has_unset_table_options(); + void set_has_set_index(); + void set_has_unset_index(); inline bool has_kind() const; inline void clear_has_kind(); @@ -2405,9 +2421,9 @@ class AlterTableExpr final : ::greptime::v1::RenameTable* rename_table_; ::greptime::v1::ModifyColumnTypes* modify_column_types_; ::greptime::v1::SetTableOptions* set_table_options_; - ::greptime::v1::SetColumnFulltext* set_column_fulltext_; - ::greptime::v1::UnsetColumnFulltext* unset_column_fulltext_; ::greptime::v1::UnsetTableOptions* unset_table_options_; + ::greptime::v1::SetIndex* set_index_; + ::greptime::v1::UnsetIndex* unset_index_; } kind_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; uint32_t _oneof_case_[1]; @@ -2418,6 +2434,398 @@ class AlterTableExpr final : }; // ------------------------------------------------------------------- +class SetIndex final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.SetIndex) */ { + public: + inline SetIndex() : SetIndex(nullptr) {} + ~SetIndex() override; + explicit PROTOBUF_CONSTEXPR SetIndex(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + SetIndex(const SetIndex& from); + SetIndex(SetIndex&& from) noexcept + : SetIndex() { + *this = ::std::move(from); + } + + inline SetIndex& operator=(const SetIndex& from) { + CopyFrom(from); + return *this; + } + inline SetIndex& operator=(SetIndex&& 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 SetIndex& default_instance() { + return *internal_default_instance(); + } + enum OptionsCase { + kFulltext = 1, + kInverted = 2, + OPTIONS_NOT_SET = 0, + }; + + static inline const SetIndex* internal_default_instance() { + return reinterpret_cast( + &_SetIndex_default_instance_); + } + static constexpr int kIndexInFileMessages = + 9; + + friend void swap(SetIndex& a, SetIndex& b) { + a.Swap(&b); + } + inline void Swap(SetIndex* 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(SetIndex* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SetIndex* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const SetIndex& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const SetIndex& from) { + SetIndex::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(SetIndex* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "greptime.v1.SetIndex"; + } + protected: + explicit SetIndex(::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 { + kFulltextFieldNumber = 1, + kInvertedFieldNumber = 2, + }; + // .greptime.v1.SetFulltext fulltext = 1; + bool has_fulltext() const; + private: + bool _internal_has_fulltext() const; + public: + void clear_fulltext(); + const ::greptime::v1::SetFulltext& fulltext() const; + PROTOBUF_NODISCARD ::greptime::v1::SetFulltext* release_fulltext(); + ::greptime::v1::SetFulltext* mutable_fulltext(); + void set_allocated_fulltext(::greptime::v1::SetFulltext* fulltext); + private: + const ::greptime::v1::SetFulltext& _internal_fulltext() const; + ::greptime::v1::SetFulltext* _internal_mutable_fulltext(); + public: + void unsafe_arena_set_allocated_fulltext( + ::greptime::v1::SetFulltext* fulltext); + ::greptime::v1::SetFulltext* unsafe_arena_release_fulltext(); + + // .greptime.v1.SetInverted inverted = 2; + bool has_inverted() const; + private: + bool _internal_has_inverted() const; + public: + void clear_inverted(); + const ::greptime::v1::SetInverted& inverted() const; + PROTOBUF_NODISCARD ::greptime::v1::SetInverted* release_inverted(); + ::greptime::v1::SetInverted* mutable_inverted(); + void set_allocated_inverted(::greptime::v1::SetInverted* inverted); + private: + const ::greptime::v1::SetInverted& _internal_inverted() const; + ::greptime::v1::SetInverted* _internal_mutable_inverted(); + public: + void unsafe_arena_set_allocated_inverted( + ::greptime::v1::SetInverted* inverted); + ::greptime::v1::SetInverted* unsafe_arena_release_inverted(); + + void clear_options(); + OptionsCase options_case() const; + // @@protoc_insertion_point(class_scope:greptime.v1.SetIndex) + private: + class _Internal; + void set_has_fulltext(); + void set_has_inverted(); + + inline bool has_options() const; + inline void clear_has_options(); + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + union OptionsUnion { + constexpr OptionsUnion() : _constinit_{} {} + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; + ::greptime::v1::SetFulltext* fulltext_; + ::greptime::v1::SetInverted* inverted_; + } options_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t _oneof_case_[1]; + + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_greptime_2fv1_2fddl_2eproto; +}; +// ------------------------------------------------------------------- + +class UnsetIndex final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.UnsetIndex) */ { + public: + inline UnsetIndex() : UnsetIndex(nullptr) {} + ~UnsetIndex() override; + explicit PROTOBUF_CONSTEXPR UnsetIndex(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + UnsetIndex(const UnsetIndex& from); + UnsetIndex(UnsetIndex&& from) noexcept + : UnsetIndex() { + *this = ::std::move(from); + } + + inline UnsetIndex& operator=(const UnsetIndex& from) { + CopyFrom(from); + return *this; + } + inline UnsetIndex& operator=(UnsetIndex&& 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 UnsetIndex& default_instance() { + return *internal_default_instance(); + } + enum OptionsCase { + kFulltext = 1, + kInverted = 2, + OPTIONS_NOT_SET = 0, + }; + + static inline const UnsetIndex* internal_default_instance() { + return reinterpret_cast( + &_UnsetIndex_default_instance_); + } + static constexpr int kIndexInFileMessages = + 10; + + friend void swap(UnsetIndex& a, UnsetIndex& b) { + a.Swap(&b); + } + inline void Swap(UnsetIndex* 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(UnsetIndex* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + UnsetIndex* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const UnsetIndex& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const UnsetIndex& from) { + UnsetIndex::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(UnsetIndex* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "greptime.v1.UnsetIndex"; + } + protected: + explicit UnsetIndex(::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 { + kFulltextFieldNumber = 1, + kInvertedFieldNumber = 2, + }; + // .greptime.v1.UnsetFulltext fulltext = 1; + bool has_fulltext() const; + private: + bool _internal_has_fulltext() const; + public: + void clear_fulltext(); + const ::greptime::v1::UnsetFulltext& fulltext() const; + PROTOBUF_NODISCARD ::greptime::v1::UnsetFulltext* release_fulltext(); + ::greptime::v1::UnsetFulltext* mutable_fulltext(); + void set_allocated_fulltext(::greptime::v1::UnsetFulltext* fulltext); + private: + const ::greptime::v1::UnsetFulltext& _internal_fulltext() const; + ::greptime::v1::UnsetFulltext* _internal_mutable_fulltext(); + public: + void unsafe_arena_set_allocated_fulltext( + ::greptime::v1::UnsetFulltext* fulltext); + ::greptime::v1::UnsetFulltext* unsafe_arena_release_fulltext(); + + // .greptime.v1.UnsetInverted inverted = 2; + bool has_inverted() const; + private: + bool _internal_has_inverted() const; + public: + void clear_inverted(); + const ::greptime::v1::UnsetInverted& inverted() const; + PROTOBUF_NODISCARD ::greptime::v1::UnsetInverted* release_inverted(); + ::greptime::v1::UnsetInverted* mutable_inverted(); + void set_allocated_inverted(::greptime::v1::UnsetInverted* inverted); + private: + const ::greptime::v1::UnsetInverted& _internal_inverted() const; + ::greptime::v1::UnsetInverted* _internal_mutable_inverted(); + public: + void unsafe_arena_set_allocated_inverted( + ::greptime::v1::UnsetInverted* inverted); + ::greptime::v1::UnsetInverted* unsafe_arena_release_inverted(); + + void clear_options(); + OptionsCase options_case() const; + // @@protoc_insertion_point(class_scope:greptime.v1.UnsetIndex) + private: + class _Internal; + void set_has_fulltext(); + void set_has_inverted(); + + inline bool has_options() const; + inline void clear_has_options(); + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + union OptionsUnion { + constexpr OptionsUnion() : _constinit_{} {} + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; + ::greptime::v1::UnsetFulltext* fulltext_; + ::greptime::v1::UnsetInverted* inverted_; + } options_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t _oneof_case_[1]; + + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_greptime_2fv1_2fddl_2eproto; +}; +// ------------------------------------------------------------------- + class DropTableExpr final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.DropTableExpr) */ { public: @@ -2466,7 +2874,7 @@ class DropTableExpr final : &_DropTableExpr_default_instance_); } static constexpr int kIndexInFileMessages = - 9; + 11; friend void swap(DropTableExpr& a, DropTableExpr& b) { a.Swap(&b); @@ -2710,7 +3118,7 @@ class CreateDatabaseExpr final : &_CreateDatabaseExpr_default_instance_); } static constexpr int kIndexInFileMessages = - 11; + 13; friend void swap(CreateDatabaseExpr& a, CreateDatabaseExpr& b) { a.Swap(&b); @@ -2916,7 +3324,7 @@ class TruncateTableExpr final : &_TruncateTableExpr_default_instance_); } static constexpr int kIndexInFileMessages = - 12; + 14; friend void swap(TruncateTableExpr& a, TruncateTableExpr& b) { a.Swap(&b); @@ -3121,7 +3529,7 @@ class DropDatabaseExpr final : &_DropDatabaseExpr_default_instance_); } static constexpr int kIndexInFileMessages = - 13; + 15; friend void swap(DropDatabaseExpr& a, DropDatabaseExpr& b) { a.Swap(&b); @@ -3301,7 +3709,7 @@ class AddColumns final : &_AddColumns_default_instance_); } static constexpr int kIndexInFileMessages = - 14; + 16; friend void swap(AddColumns& a, AddColumns& b) { a.Swap(&b); @@ -3458,7 +3866,7 @@ class DropColumns final : &_DropColumns_default_instance_); } static constexpr int kIndexInFileMessages = - 15; + 17; friend void swap(DropColumns& a, DropColumns& b) { a.Swap(&b); @@ -3615,7 +4023,7 @@ class ModifyColumnTypes final : &_ModifyColumnTypes_default_instance_); } static constexpr int kIndexInFileMessages = - 16; + 18; friend void swap(ModifyColumnTypes& a, ModifyColumnTypes& b) { a.Swap(&b); @@ -3772,7 +4180,7 @@ class RenameTable final : &_RenameTable_default_instance_); } static constexpr int kIndexInFileMessages = - 17; + 19; friend void swap(RenameTable& a, RenameTable& b) { a.Swap(&b); @@ -3925,7 +4333,7 @@ class AddColumn final : &_AddColumn_default_instance_); } static constexpr int kIndexInFileMessages = - 18; + 20; friend void swap(AddColumn& a, AddColumn& b) { a.Swap(&b); @@ -4113,7 +4521,7 @@ class ModifyColumnType final : &_ModifyColumnType_default_instance_); } static constexpr int kIndexInFileMessages = - 19; + 21; friend void swap(ModifyColumnType& a, ModifyColumnType& b) { a.Swap(&b); @@ -4297,7 +4705,7 @@ class Option final : &_Option_default_instance_); } static constexpr int kIndexInFileMessages = - 20; + 22; friend void swap(Option& a, Option& b) { a.Swap(&b); @@ -4466,7 +4874,7 @@ class SetTableOptions final : &_SetTableOptions_default_instance_); } static constexpr int kIndexInFileMessages = - 21; + 23; friend void swap(SetTableOptions& a, SetTableOptions& b) { a.Swap(&b); @@ -4623,7 +5031,7 @@ class UnsetTableOptions final : &_UnsetTableOptions_default_instance_); } static constexpr int kIndexInFileMessages = - 22; + 24; friend void swap(UnsetTableOptions& a, UnsetTableOptions& b) { a.Swap(&b); @@ -4786,7 +5194,7 @@ class DropColumn final : &_DropColumn_default_instance_); } static constexpr int kIndexInFileMessages = - 23; + 25; friend void swap(DropColumn& a, DropColumn& b) { a.Swap(&b); @@ -4939,7 +5347,7 @@ class TableId final : &_TableId_default_instance_); } static constexpr int kIndexInFileMessages = - 24; + 26; friend void swap(TableId& a, TableId& b) { a.Swap(&b); @@ -5087,7 +5495,7 @@ class FlowId final : &_FlowId_default_instance_); } static constexpr int kIndexInFileMessages = - 25; + 27; friend void swap(FlowId& a, FlowId& b) { a.Swap(&b); @@ -5235,7 +5643,7 @@ class ColumnDef final : &_ColumnDef_default_instance_); } static constexpr int kIndexInFileMessages = - 26; + 28; friend void swap(ColumnDef& a, ColumnDef& b) { a.Swap(&b); @@ -5493,7 +5901,7 @@ class AddColumnLocation final : &_AddColumnLocation_default_instance_); } static constexpr int kIndexInFileMessages = - 27; + 29; friend void swap(AddColumnLocation& a, AddColumnLocation& b) { a.Swap(&b); @@ -5639,24 +6047,24 @@ class AddColumnLocation final : }; // ------------------------------------------------------------------- -class SetColumnFulltext final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.SetColumnFulltext) */ { +class SetFulltext final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.SetFulltext) */ { public: - inline SetColumnFulltext() : SetColumnFulltext(nullptr) {} - ~SetColumnFulltext() override; - explicit PROTOBUF_CONSTEXPR SetColumnFulltext(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline SetFulltext() : SetFulltext(nullptr) {} + ~SetFulltext() override; + explicit PROTOBUF_CONSTEXPR SetFulltext(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - SetColumnFulltext(const SetColumnFulltext& from); - SetColumnFulltext(SetColumnFulltext&& from) noexcept - : SetColumnFulltext() { + SetFulltext(const SetFulltext& from); + SetFulltext(SetFulltext&& from) noexcept + : SetFulltext() { *this = ::std::move(from); } - inline SetColumnFulltext& operator=(const SetColumnFulltext& from) { + inline SetFulltext& operator=(const SetFulltext& from) { CopyFrom(from); return *this; } - inline SetColumnFulltext& operator=(SetColumnFulltext&& from) noexcept { + inline SetFulltext& operator=(SetFulltext&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -5679,20 +6087,20 @@ class SetColumnFulltext final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const SetColumnFulltext& default_instance() { + static const SetFulltext& default_instance() { return *internal_default_instance(); } - static inline const SetColumnFulltext* internal_default_instance() { - return reinterpret_cast( - &_SetColumnFulltext_default_instance_); + static inline const SetFulltext* internal_default_instance() { + return reinterpret_cast( + &_SetFulltext_default_instance_); } static constexpr int kIndexInFileMessages = - 28; + 30; - friend void swap(SetColumnFulltext& a, SetColumnFulltext& b) { + friend void swap(SetFulltext& a, SetFulltext& b) { a.Swap(&b); } - inline void Swap(SetColumnFulltext* other) { + inline void Swap(SetFulltext* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -5705,7 +6113,7 @@ class SetColumnFulltext final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(SetColumnFulltext* other) { + void UnsafeArenaSwap(SetFulltext* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -5713,14 +6121,14 @@ class SetColumnFulltext final : // implements Message ---------------------------------------------- - SetColumnFulltext* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + SetFulltext* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const SetColumnFulltext& from); + void CopyFrom(const SetFulltext& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const SetColumnFulltext& from) { - SetColumnFulltext::MergeImpl(*this, from); + void MergeFrom( const SetFulltext& from) { + SetFulltext::MergeImpl(*this, from); } private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); @@ -5738,15 +6146,15 @@ class SetColumnFulltext final : void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(SetColumnFulltext* other); + void InternalSwap(SetFulltext* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "greptime.v1.SetColumnFulltext"; + return "greptime.v1.SetFulltext"; } protected: - explicit SetColumnFulltext(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit SetFulltext(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -5806,7 +6214,7 @@ class SetColumnFulltext final : void _internal_set_case_sensitive(bool value); public: - // @@protoc_insertion_point(class_scope:greptime.v1.SetColumnFulltext) + // @@protoc_insertion_point(class_scope:greptime.v1.SetFulltext) private: class _Internal; @@ -5825,24 +6233,24 @@ class SetColumnFulltext final : }; // ------------------------------------------------------------------- -class UnsetColumnFulltext final : - public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.UnsetColumnFulltext) */ { +class UnsetFulltext final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.UnsetFulltext) */ { public: - inline UnsetColumnFulltext() : UnsetColumnFulltext(nullptr) {} - ~UnsetColumnFulltext() override; - explicit PROTOBUF_CONSTEXPR UnsetColumnFulltext(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + inline UnsetFulltext() : UnsetFulltext(nullptr) {} + ~UnsetFulltext() override; + explicit PROTOBUF_CONSTEXPR UnsetFulltext(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); - UnsetColumnFulltext(const UnsetColumnFulltext& from); - UnsetColumnFulltext(UnsetColumnFulltext&& from) noexcept - : UnsetColumnFulltext() { + UnsetFulltext(const UnsetFulltext& from); + UnsetFulltext(UnsetFulltext&& from) noexcept + : UnsetFulltext() { *this = ::std::move(from); } - inline UnsetColumnFulltext& operator=(const UnsetColumnFulltext& from) { + inline UnsetFulltext& operator=(const UnsetFulltext& from) { CopyFrom(from); return *this; } - inline UnsetColumnFulltext& operator=(UnsetColumnFulltext&& from) noexcept { + inline UnsetFulltext& operator=(UnsetFulltext&& from) noexcept { if (this == &from) return *this; if (GetOwningArena() == from.GetOwningArena() #ifdef PROTOBUF_FORCE_COPY_IN_MOVE @@ -5865,20 +6273,20 @@ class UnsetColumnFulltext final : static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { return default_instance().GetMetadata().reflection; } - static const UnsetColumnFulltext& default_instance() { + static const UnsetFulltext& default_instance() { return *internal_default_instance(); } - static inline const UnsetColumnFulltext* internal_default_instance() { - return reinterpret_cast( - &_UnsetColumnFulltext_default_instance_); + static inline const UnsetFulltext* internal_default_instance() { + return reinterpret_cast( + &_UnsetFulltext_default_instance_); } static constexpr int kIndexInFileMessages = - 29; + 31; - friend void swap(UnsetColumnFulltext& a, UnsetColumnFulltext& b) { + friend void swap(UnsetFulltext& a, UnsetFulltext& b) { a.Swap(&b); } - inline void Swap(UnsetColumnFulltext* other) { + inline void Swap(UnsetFulltext* other) { if (other == this) return; #ifdef PROTOBUF_FORCE_COPY_IN_SWAP if (GetOwningArena() != nullptr && @@ -5891,7 +6299,7 @@ class UnsetColumnFulltext final : ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); } } - void UnsafeArenaSwap(UnsetColumnFulltext* other) { + void UnsafeArenaSwap(UnsetFulltext* other) { if (other == this) return; GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); InternalSwap(other); @@ -5899,14 +6307,14 @@ class UnsetColumnFulltext final : // implements Message ---------------------------------------------- - UnsetColumnFulltext* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { - return CreateMaybeMessage(arena); + UnsetFulltext* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); } using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; - void CopyFrom(const UnsetColumnFulltext& from); + void CopyFrom(const UnsetFulltext& from); using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; - void MergeFrom( const UnsetColumnFulltext& from) { - UnsetColumnFulltext::MergeImpl(*this, from); + void MergeFrom( const UnsetFulltext& from) { + UnsetFulltext::MergeImpl(*this, from); } private: static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); @@ -5924,15 +6332,15 @@ class UnsetColumnFulltext final : void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedDtor(); void SetCachedSize(int size) const final; - void InternalSwap(UnsetColumnFulltext* other); + void InternalSwap(UnsetFulltext* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { - return "greptime.v1.UnsetColumnFulltext"; + return "greptime.v1.UnsetFulltext"; } protected: - explicit UnsetColumnFulltext(::PROTOBUF_NAMESPACE_ID::Arena* arena, + explicit UnsetFulltext(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned = false); public: @@ -5962,7 +6370,313 @@ class UnsetColumnFulltext final : std::string* _internal_mutable_column_name(); public: - // @@protoc_insertion_point(class_scope:greptime.v1.UnsetColumnFulltext) + // @@protoc_insertion_point(class_scope:greptime.v1.UnsetFulltext) + 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 SetInverted final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.SetInverted) */ { + public: + inline SetInverted() : SetInverted(nullptr) {} + ~SetInverted() override; + explicit PROTOBUF_CONSTEXPR SetInverted(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + SetInverted(const SetInverted& from); + SetInverted(SetInverted&& from) noexcept + : SetInverted() { + *this = ::std::move(from); + } + + inline SetInverted& operator=(const SetInverted& from) { + CopyFrom(from); + return *this; + } + inline SetInverted& operator=(SetInverted&& 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 SetInverted& default_instance() { + return *internal_default_instance(); + } + static inline const SetInverted* internal_default_instance() { + return reinterpret_cast( + &_SetInverted_default_instance_); + } + static constexpr int kIndexInFileMessages = + 32; + + friend void swap(SetInverted& a, SetInverted& b) { + a.Swap(&b); + } + inline void Swap(SetInverted* 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(SetInverted* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + SetInverted* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const SetInverted& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const SetInverted& from) { + SetInverted::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(SetInverted* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "greptime.v1.SetInverted"; + } + protected: + explicit SetInverted(::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.SetInverted) + 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 UnsetInverted final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.UnsetInverted) */ { + public: + inline UnsetInverted() : UnsetInverted(nullptr) {} + ~UnsetInverted() override; + explicit PROTOBUF_CONSTEXPR UnsetInverted(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + UnsetInverted(const UnsetInverted& from); + UnsetInverted(UnsetInverted&& from) noexcept + : UnsetInverted() { + *this = ::std::move(from); + } + + inline UnsetInverted& operator=(const UnsetInverted& from) { + CopyFrom(from); + return *this; + } + inline UnsetInverted& operator=(UnsetInverted&& 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 UnsetInverted& default_instance() { + return *internal_default_instance(); + } + static inline const UnsetInverted* internal_default_instance() { + return reinterpret_cast( + &_UnsetInverted_default_instance_); + } + static constexpr int kIndexInFileMessages = + 33; + + friend void swap(UnsetInverted& a, UnsetInverted& b) { + a.Swap(&b); + } + inline void Swap(UnsetInverted* 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(UnsetInverted* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + UnsetInverted* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const UnsetInverted& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const UnsetInverted& from) { + UnsetInverted::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(UnsetInverted* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "greptime.v1.UnsetInverted"; + } + protected: + explicit UnsetInverted(::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.UnsetInverted) private: class _Internal; @@ -6032,7 +6746,7 @@ class AlterDatabaseExpr final : &_AlterDatabaseExpr_default_instance_); } static constexpr int kIndexInFileMessages = - 30; + 34; friend void swap(AlterDatabaseExpr& a, AlterDatabaseExpr& b) { a.Swap(&b); @@ -6254,7 +6968,7 @@ class SetDatabaseOptions final : &_SetDatabaseOptions_default_instance_); } static constexpr int kIndexInFileMessages = - 31; + 35; friend void swap(SetDatabaseOptions& a, SetDatabaseOptions& b) { a.Swap(&b); @@ -6411,7 +7125,7 @@ class UnsetDatabaseOptions final : &_UnsetDatabaseOptions_default_instance_); } static constexpr int kIndexInFileMessages = - 32; + 36; friend void swap(UnsetDatabaseOptions& a, UnsetDatabaseOptions& b) { a.Swap(&b); @@ -9809,154 +10523,6 @@ inline ::greptime::v1::SetTableOptions* AlterTableExpr::mutable_set_table_option return _msg; } -// .greptime.v1.SetColumnFulltext set_column_fulltext = 9; -inline bool AlterTableExpr::_internal_has_set_column_fulltext() const { - return kind_case() == kSetColumnFulltext; -} -inline bool AlterTableExpr::has_set_column_fulltext() const { - return _internal_has_set_column_fulltext(); -} -inline void AlterTableExpr::set_has_set_column_fulltext() { - _impl_._oneof_case_[0] = kSetColumnFulltext; -} -inline void AlterTableExpr::clear_set_column_fulltext() { - if (_internal_has_set_column_fulltext()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.kind_.set_column_fulltext_; - } - clear_has_kind(); - } -} -inline ::greptime::v1::SetColumnFulltext* AlterTableExpr::release_set_column_fulltext() { - // @@protoc_insertion_point(field_release:greptime.v1.AlterTableExpr.set_column_fulltext) - if (_internal_has_set_column_fulltext()) { - clear_has_kind(); - ::greptime::v1::SetColumnFulltext* temp = _impl_.kind_.set_column_fulltext_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.kind_.set_column_fulltext_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::greptime::v1::SetColumnFulltext& AlterTableExpr::_internal_set_column_fulltext() const { - return _internal_has_set_column_fulltext() - ? *_impl_.kind_.set_column_fulltext_ - : reinterpret_cast< ::greptime::v1::SetColumnFulltext&>(::greptime::v1::_SetColumnFulltext_default_instance_); -} -inline const ::greptime::v1::SetColumnFulltext& AlterTableExpr::set_column_fulltext() const { - // @@protoc_insertion_point(field_get:greptime.v1.AlterTableExpr.set_column_fulltext) - return _internal_set_column_fulltext(); -} -inline ::greptime::v1::SetColumnFulltext* AlterTableExpr::unsafe_arena_release_set_column_fulltext() { - // @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.AlterTableExpr.set_column_fulltext) - if (_internal_has_set_column_fulltext()) { - clear_has_kind(); - ::greptime::v1::SetColumnFulltext* temp = _impl_.kind_.set_column_fulltext_; - _impl_.kind_.set_column_fulltext_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void AlterTableExpr::unsafe_arena_set_allocated_set_column_fulltext(::greptime::v1::SetColumnFulltext* set_column_fulltext) { - clear_kind(); - if (set_column_fulltext) { - set_has_set_column_fulltext(); - _impl_.kind_.set_column_fulltext_ = set_column_fulltext; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.AlterTableExpr.set_column_fulltext) -} -inline ::greptime::v1::SetColumnFulltext* AlterTableExpr::_internal_mutable_set_column_fulltext() { - if (!_internal_has_set_column_fulltext()) { - clear_kind(); - set_has_set_column_fulltext(); - _impl_.kind_.set_column_fulltext_ = CreateMaybeMessage< ::greptime::v1::SetColumnFulltext >(GetArenaForAllocation()); - } - return _impl_.kind_.set_column_fulltext_; -} -inline ::greptime::v1::SetColumnFulltext* AlterTableExpr::mutable_set_column_fulltext() { - ::greptime::v1::SetColumnFulltext* _msg = _internal_mutable_set_column_fulltext(); - // @@protoc_insertion_point(field_mutable:greptime.v1.AlterTableExpr.set_column_fulltext) - return _msg; -} - -// .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 10; -inline bool AlterTableExpr::_internal_has_unset_column_fulltext() const { - return kind_case() == kUnsetColumnFulltext; -} -inline bool AlterTableExpr::has_unset_column_fulltext() const { - return _internal_has_unset_column_fulltext(); -} -inline void AlterTableExpr::set_has_unset_column_fulltext() { - _impl_._oneof_case_[0] = kUnsetColumnFulltext; -} -inline void AlterTableExpr::clear_unset_column_fulltext() { - if (_internal_has_unset_column_fulltext()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.kind_.unset_column_fulltext_; - } - clear_has_kind(); - } -} -inline ::greptime::v1::UnsetColumnFulltext* AlterTableExpr::release_unset_column_fulltext() { - // @@protoc_insertion_point(field_release:greptime.v1.AlterTableExpr.unset_column_fulltext) - if (_internal_has_unset_column_fulltext()) { - clear_has_kind(); - ::greptime::v1::UnsetColumnFulltext* temp = _impl_.kind_.unset_column_fulltext_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.kind_.unset_column_fulltext_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::greptime::v1::UnsetColumnFulltext& AlterTableExpr::_internal_unset_column_fulltext() const { - return _internal_has_unset_column_fulltext() - ? *_impl_.kind_.unset_column_fulltext_ - : reinterpret_cast< ::greptime::v1::UnsetColumnFulltext&>(::greptime::v1::_UnsetColumnFulltext_default_instance_); -} -inline const ::greptime::v1::UnsetColumnFulltext& AlterTableExpr::unset_column_fulltext() const { - // @@protoc_insertion_point(field_get:greptime.v1.AlterTableExpr.unset_column_fulltext) - return _internal_unset_column_fulltext(); -} -inline ::greptime::v1::UnsetColumnFulltext* AlterTableExpr::unsafe_arena_release_unset_column_fulltext() { - // @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.AlterTableExpr.unset_column_fulltext) - if (_internal_has_unset_column_fulltext()) { - clear_has_kind(); - ::greptime::v1::UnsetColumnFulltext* temp = _impl_.kind_.unset_column_fulltext_; - _impl_.kind_.unset_column_fulltext_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void AlterTableExpr::unsafe_arena_set_allocated_unset_column_fulltext(::greptime::v1::UnsetColumnFulltext* unset_column_fulltext) { - clear_kind(); - if (unset_column_fulltext) { - set_has_unset_column_fulltext(); - _impl_.kind_.unset_column_fulltext_ = unset_column_fulltext; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.AlterTableExpr.unset_column_fulltext) -} -inline ::greptime::v1::UnsetColumnFulltext* AlterTableExpr::_internal_mutable_unset_column_fulltext() { - if (!_internal_has_unset_column_fulltext()) { - clear_kind(); - set_has_unset_column_fulltext(); - _impl_.kind_.unset_column_fulltext_ = CreateMaybeMessage< ::greptime::v1::UnsetColumnFulltext >(GetArenaForAllocation()); - } - return _impl_.kind_.unset_column_fulltext_; -} -inline ::greptime::v1::UnsetColumnFulltext* AlterTableExpr::mutable_unset_column_fulltext() { - ::greptime::v1::UnsetColumnFulltext* _msg = _internal_mutable_unset_column_fulltext(); - // @@protoc_insertion_point(field_mutable:greptime.v1.AlterTableExpr.unset_column_fulltext) - return _msg; -} - // .greptime.v1.UnsetTableOptions unset_table_options = 11; inline bool AlterTableExpr::_internal_has_unset_table_options() const { return kind_case() == kUnsetTableOptions; @@ -10031,6 +10597,154 @@ inline ::greptime::v1::UnsetTableOptions* AlterTableExpr::mutable_unset_table_op return _msg; } +// .greptime.v1.SetIndex set_index = 12; +inline bool AlterTableExpr::_internal_has_set_index() const { + return kind_case() == kSetIndex; +} +inline bool AlterTableExpr::has_set_index() const { + return _internal_has_set_index(); +} +inline void AlterTableExpr::set_has_set_index() { + _impl_._oneof_case_[0] = kSetIndex; +} +inline void AlterTableExpr::clear_set_index() { + if (_internal_has_set_index()) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.kind_.set_index_; + } + clear_has_kind(); + } +} +inline ::greptime::v1::SetIndex* AlterTableExpr::release_set_index() { + // @@protoc_insertion_point(field_release:greptime.v1.AlterTableExpr.set_index) + if (_internal_has_set_index()) { + clear_has_kind(); + ::greptime::v1::SetIndex* temp = _impl_.kind_.set_index_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.kind_.set_index_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::greptime::v1::SetIndex& AlterTableExpr::_internal_set_index() const { + return _internal_has_set_index() + ? *_impl_.kind_.set_index_ + : reinterpret_cast< ::greptime::v1::SetIndex&>(::greptime::v1::_SetIndex_default_instance_); +} +inline const ::greptime::v1::SetIndex& AlterTableExpr::set_index() const { + // @@protoc_insertion_point(field_get:greptime.v1.AlterTableExpr.set_index) + return _internal_set_index(); +} +inline ::greptime::v1::SetIndex* AlterTableExpr::unsafe_arena_release_set_index() { + // @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.AlterTableExpr.set_index) + if (_internal_has_set_index()) { + clear_has_kind(); + ::greptime::v1::SetIndex* temp = _impl_.kind_.set_index_; + _impl_.kind_.set_index_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void AlterTableExpr::unsafe_arena_set_allocated_set_index(::greptime::v1::SetIndex* set_index) { + clear_kind(); + if (set_index) { + set_has_set_index(); + _impl_.kind_.set_index_ = set_index; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.AlterTableExpr.set_index) +} +inline ::greptime::v1::SetIndex* AlterTableExpr::_internal_mutable_set_index() { + if (!_internal_has_set_index()) { + clear_kind(); + set_has_set_index(); + _impl_.kind_.set_index_ = CreateMaybeMessage< ::greptime::v1::SetIndex >(GetArenaForAllocation()); + } + return _impl_.kind_.set_index_; +} +inline ::greptime::v1::SetIndex* AlterTableExpr::mutable_set_index() { + ::greptime::v1::SetIndex* _msg = _internal_mutable_set_index(); + // @@protoc_insertion_point(field_mutable:greptime.v1.AlterTableExpr.set_index) + return _msg; +} + +// .greptime.v1.UnsetIndex unset_index = 13; +inline bool AlterTableExpr::_internal_has_unset_index() const { + return kind_case() == kUnsetIndex; +} +inline bool AlterTableExpr::has_unset_index() const { + return _internal_has_unset_index(); +} +inline void AlterTableExpr::set_has_unset_index() { + _impl_._oneof_case_[0] = kUnsetIndex; +} +inline void AlterTableExpr::clear_unset_index() { + if (_internal_has_unset_index()) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.kind_.unset_index_; + } + clear_has_kind(); + } +} +inline ::greptime::v1::UnsetIndex* AlterTableExpr::release_unset_index() { + // @@protoc_insertion_point(field_release:greptime.v1.AlterTableExpr.unset_index) + if (_internal_has_unset_index()) { + clear_has_kind(); + ::greptime::v1::UnsetIndex* temp = _impl_.kind_.unset_index_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.kind_.unset_index_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::greptime::v1::UnsetIndex& AlterTableExpr::_internal_unset_index() const { + return _internal_has_unset_index() + ? *_impl_.kind_.unset_index_ + : reinterpret_cast< ::greptime::v1::UnsetIndex&>(::greptime::v1::_UnsetIndex_default_instance_); +} +inline const ::greptime::v1::UnsetIndex& AlterTableExpr::unset_index() const { + // @@protoc_insertion_point(field_get:greptime.v1.AlterTableExpr.unset_index) + return _internal_unset_index(); +} +inline ::greptime::v1::UnsetIndex* AlterTableExpr::unsafe_arena_release_unset_index() { + // @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.AlterTableExpr.unset_index) + if (_internal_has_unset_index()) { + clear_has_kind(); + ::greptime::v1::UnsetIndex* temp = _impl_.kind_.unset_index_; + _impl_.kind_.unset_index_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void AlterTableExpr::unsafe_arena_set_allocated_unset_index(::greptime::v1::UnsetIndex* unset_index) { + clear_kind(); + if (unset_index) { + set_has_unset_index(); + _impl_.kind_.unset_index_ = unset_index; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.AlterTableExpr.unset_index) +} +inline ::greptime::v1::UnsetIndex* AlterTableExpr::_internal_mutable_unset_index() { + if (!_internal_has_unset_index()) { + clear_kind(); + set_has_unset_index(); + _impl_.kind_.unset_index_ = CreateMaybeMessage< ::greptime::v1::UnsetIndex >(GetArenaForAllocation()); + } + return _impl_.kind_.unset_index_; +} +inline ::greptime::v1::UnsetIndex* AlterTableExpr::mutable_unset_index() { + ::greptime::v1::UnsetIndex* _msg = _internal_mutable_unset_index(); + // @@protoc_insertion_point(field_mutable:greptime.v1.AlterTableExpr.unset_index) + return _msg; +} + inline bool AlterTableExpr::has_kind() const { return kind_case() != KIND_NOT_SET; } @@ -10042,6 +10756,328 @@ inline AlterTableExpr::KindCase AlterTableExpr::kind_case() const { } // ------------------------------------------------------------------- +// SetIndex + +// .greptime.v1.SetFulltext fulltext = 1; +inline bool SetIndex::_internal_has_fulltext() const { + return options_case() == kFulltext; +} +inline bool SetIndex::has_fulltext() const { + return _internal_has_fulltext(); +} +inline void SetIndex::set_has_fulltext() { + _impl_._oneof_case_[0] = kFulltext; +} +inline void SetIndex::clear_fulltext() { + if (_internal_has_fulltext()) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.options_.fulltext_; + } + clear_has_options(); + } +} +inline ::greptime::v1::SetFulltext* SetIndex::release_fulltext() { + // @@protoc_insertion_point(field_release:greptime.v1.SetIndex.fulltext) + if (_internal_has_fulltext()) { + clear_has_options(); + ::greptime::v1::SetFulltext* temp = _impl_.options_.fulltext_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.options_.fulltext_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::greptime::v1::SetFulltext& SetIndex::_internal_fulltext() const { + return _internal_has_fulltext() + ? *_impl_.options_.fulltext_ + : reinterpret_cast< ::greptime::v1::SetFulltext&>(::greptime::v1::_SetFulltext_default_instance_); +} +inline const ::greptime::v1::SetFulltext& SetIndex::fulltext() const { + // @@protoc_insertion_point(field_get:greptime.v1.SetIndex.fulltext) + return _internal_fulltext(); +} +inline ::greptime::v1::SetFulltext* SetIndex::unsafe_arena_release_fulltext() { + // @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.SetIndex.fulltext) + if (_internal_has_fulltext()) { + clear_has_options(); + ::greptime::v1::SetFulltext* temp = _impl_.options_.fulltext_; + _impl_.options_.fulltext_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void SetIndex::unsafe_arena_set_allocated_fulltext(::greptime::v1::SetFulltext* fulltext) { + clear_options(); + if (fulltext) { + set_has_fulltext(); + _impl_.options_.fulltext_ = fulltext; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.SetIndex.fulltext) +} +inline ::greptime::v1::SetFulltext* SetIndex::_internal_mutable_fulltext() { + if (!_internal_has_fulltext()) { + clear_options(); + set_has_fulltext(); + _impl_.options_.fulltext_ = CreateMaybeMessage< ::greptime::v1::SetFulltext >(GetArenaForAllocation()); + } + return _impl_.options_.fulltext_; +} +inline ::greptime::v1::SetFulltext* SetIndex::mutable_fulltext() { + ::greptime::v1::SetFulltext* _msg = _internal_mutable_fulltext(); + // @@protoc_insertion_point(field_mutable:greptime.v1.SetIndex.fulltext) + return _msg; +} + +// .greptime.v1.SetInverted inverted = 2; +inline bool SetIndex::_internal_has_inverted() const { + return options_case() == kInverted; +} +inline bool SetIndex::has_inverted() const { + return _internal_has_inverted(); +} +inline void SetIndex::set_has_inverted() { + _impl_._oneof_case_[0] = kInverted; +} +inline void SetIndex::clear_inverted() { + if (_internal_has_inverted()) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.options_.inverted_; + } + clear_has_options(); + } +} +inline ::greptime::v1::SetInverted* SetIndex::release_inverted() { + // @@protoc_insertion_point(field_release:greptime.v1.SetIndex.inverted) + if (_internal_has_inverted()) { + clear_has_options(); + ::greptime::v1::SetInverted* temp = _impl_.options_.inverted_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.options_.inverted_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::greptime::v1::SetInverted& SetIndex::_internal_inverted() const { + return _internal_has_inverted() + ? *_impl_.options_.inverted_ + : reinterpret_cast< ::greptime::v1::SetInverted&>(::greptime::v1::_SetInverted_default_instance_); +} +inline const ::greptime::v1::SetInverted& SetIndex::inverted() const { + // @@protoc_insertion_point(field_get:greptime.v1.SetIndex.inverted) + return _internal_inverted(); +} +inline ::greptime::v1::SetInverted* SetIndex::unsafe_arena_release_inverted() { + // @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.SetIndex.inverted) + if (_internal_has_inverted()) { + clear_has_options(); + ::greptime::v1::SetInverted* temp = _impl_.options_.inverted_; + _impl_.options_.inverted_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void SetIndex::unsafe_arena_set_allocated_inverted(::greptime::v1::SetInverted* inverted) { + clear_options(); + if (inverted) { + set_has_inverted(); + _impl_.options_.inverted_ = inverted; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.SetIndex.inverted) +} +inline ::greptime::v1::SetInverted* SetIndex::_internal_mutable_inverted() { + if (!_internal_has_inverted()) { + clear_options(); + set_has_inverted(); + _impl_.options_.inverted_ = CreateMaybeMessage< ::greptime::v1::SetInverted >(GetArenaForAllocation()); + } + return _impl_.options_.inverted_; +} +inline ::greptime::v1::SetInverted* SetIndex::mutable_inverted() { + ::greptime::v1::SetInverted* _msg = _internal_mutable_inverted(); + // @@protoc_insertion_point(field_mutable:greptime.v1.SetIndex.inverted) + return _msg; +} + +inline bool SetIndex::has_options() const { + return options_case() != OPTIONS_NOT_SET; +} +inline void SetIndex::clear_has_options() { + _impl_._oneof_case_[0] = OPTIONS_NOT_SET; +} +inline SetIndex::OptionsCase SetIndex::options_case() const { + return SetIndex::OptionsCase(_impl_._oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// UnsetIndex + +// .greptime.v1.UnsetFulltext fulltext = 1; +inline bool UnsetIndex::_internal_has_fulltext() const { + return options_case() == kFulltext; +} +inline bool UnsetIndex::has_fulltext() const { + return _internal_has_fulltext(); +} +inline void UnsetIndex::set_has_fulltext() { + _impl_._oneof_case_[0] = kFulltext; +} +inline void UnsetIndex::clear_fulltext() { + if (_internal_has_fulltext()) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.options_.fulltext_; + } + clear_has_options(); + } +} +inline ::greptime::v1::UnsetFulltext* UnsetIndex::release_fulltext() { + // @@protoc_insertion_point(field_release:greptime.v1.UnsetIndex.fulltext) + if (_internal_has_fulltext()) { + clear_has_options(); + ::greptime::v1::UnsetFulltext* temp = _impl_.options_.fulltext_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.options_.fulltext_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::greptime::v1::UnsetFulltext& UnsetIndex::_internal_fulltext() const { + return _internal_has_fulltext() + ? *_impl_.options_.fulltext_ + : reinterpret_cast< ::greptime::v1::UnsetFulltext&>(::greptime::v1::_UnsetFulltext_default_instance_); +} +inline const ::greptime::v1::UnsetFulltext& UnsetIndex::fulltext() const { + // @@protoc_insertion_point(field_get:greptime.v1.UnsetIndex.fulltext) + return _internal_fulltext(); +} +inline ::greptime::v1::UnsetFulltext* UnsetIndex::unsafe_arena_release_fulltext() { + // @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.UnsetIndex.fulltext) + if (_internal_has_fulltext()) { + clear_has_options(); + ::greptime::v1::UnsetFulltext* temp = _impl_.options_.fulltext_; + _impl_.options_.fulltext_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void UnsetIndex::unsafe_arena_set_allocated_fulltext(::greptime::v1::UnsetFulltext* fulltext) { + clear_options(); + if (fulltext) { + set_has_fulltext(); + _impl_.options_.fulltext_ = fulltext; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.UnsetIndex.fulltext) +} +inline ::greptime::v1::UnsetFulltext* UnsetIndex::_internal_mutable_fulltext() { + if (!_internal_has_fulltext()) { + clear_options(); + set_has_fulltext(); + _impl_.options_.fulltext_ = CreateMaybeMessage< ::greptime::v1::UnsetFulltext >(GetArenaForAllocation()); + } + return _impl_.options_.fulltext_; +} +inline ::greptime::v1::UnsetFulltext* UnsetIndex::mutable_fulltext() { + ::greptime::v1::UnsetFulltext* _msg = _internal_mutable_fulltext(); + // @@protoc_insertion_point(field_mutable:greptime.v1.UnsetIndex.fulltext) + return _msg; +} + +// .greptime.v1.UnsetInverted inverted = 2; +inline bool UnsetIndex::_internal_has_inverted() const { + return options_case() == kInverted; +} +inline bool UnsetIndex::has_inverted() const { + return _internal_has_inverted(); +} +inline void UnsetIndex::set_has_inverted() { + _impl_._oneof_case_[0] = kInverted; +} +inline void UnsetIndex::clear_inverted() { + if (_internal_has_inverted()) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.options_.inverted_; + } + clear_has_options(); + } +} +inline ::greptime::v1::UnsetInverted* UnsetIndex::release_inverted() { + // @@protoc_insertion_point(field_release:greptime.v1.UnsetIndex.inverted) + if (_internal_has_inverted()) { + clear_has_options(); + ::greptime::v1::UnsetInverted* temp = _impl_.options_.inverted_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.options_.inverted_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::greptime::v1::UnsetInverted& UnsetIndex::_internal_inverted() const { + return _internal_has_inverted() + ? *_impl_.options_.inverted_ + : reinterpret_cast< ::greptime::v1::UnsetInverted&>(::greptime::v1::_UnsetInverted_default_instance_); +} +inline const ::greptime::v1::UnsetInverted& UnsetIndex::inverted() const { + // @@protoc_insertion_point(field_get:greptime.v1.UnsetIndex.inverted) + return _internal_inverted(); +} +inline ::greptime::v1::UnsetInverted* UnsetIndex::unsafe_arena_release_inverted() { + // @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.UnsetIndex.inverted) + if (_internal_has_inverted()) { + clear_has_options(); + ::greptime::v1::UnsetInverted* temp = _impl_.options_.inverted_; + _impl_.options_.inverted_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void UnsetIndex::unsafe_arena_set_allocated_inverted(::greptime::v1::UnsetInverted* inverted) { + clear_options(); + if (inverted) { + set_has_inverted(); + _impl_.options_.inverted_ = inverted; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.UnsetIndex.inverted) +} +inline ::greptime::v1::UnsetInverted* UnsetIndex::_internal_mutable_inverted() { + if (!_internal_has_inverted()) { + clear_options(); + set_has_inverted(); + _impl_.options_.inverted_ = CreateMaybeMessage< ::greptime::v1::UnsetInverted >(GetArenaForAllocation()); + } + return _impl_.options_.inverted_; +} +inline ::greptime::v1::UnsetInverted* UnsetIndex::mutable_inverted() { + ::greptime::v1::UnsetInverted* _msg = _internal_mutable_inverted(); + // @@protoc_insertion_point(field_mutable:greptime.v1.UnsetIndex.inverted) + return _msg; +} + +inline bool UnsetIndex::has_options() const { + return options_case() != OPTIONS_NOT_SET; +} +inline void UnsetIndex::clear_has_options() { + _impl_._oneof_case_[0] = OPTIONS_NOT_SET; +} +inline UnsetIndex::OptionsCase UnsetIndex::options_case() const { + return UnsetIndex::OptionsCase(_impl_._oneof_case_[0]); +} +// ------------------------------------------------------------------- + // DropTableExpr // string catalog_name = 1; @@ -12165,44 +13201,44 @@ inline void AddColumnLocation::set_allocated_after_column_name(std::string* afte // ------------------------------------------------------------------- -// SetColumnFulltext +// SetFulltext // string column_name = 1; -inline void SetColumnFulltext::clear_column_name() { +inline void SetFulltext::clear_column_name() { _impl_.column_name_.ClearToEmpty(); } -inline const std::string& SetColumnFulltext::column_name() const { - // @@protoc_insertion_point(field_get:greptime.v1.SetColumnFulltext.column_name) +inline const std::string& SetFulltext::column_name() const { + // @@protoc_insertion_point(field_get:greptime.v1.SetFulltext.column_name) return _internal_column_name(); } template inline PROTOBUF_ALWAYS_INLINE -void SetColumnFulltext::set_column_name(ArgT0&& arg0, ArgT... args) { +void SetFulltext::set_column_name(ArgT0&& arg0, ArgT... args) { _impl_.column_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:greptime.v1.SetColumnFulltext.column_name) + // @@protoc_insertion_point(field_set:greptime.v1.SetFulltext.column_name) } -inline std::string* SetColumnFulltext::mutable_column_name() { +inline std::string* SetFulltext::mutable_column_name() { std::string* _s = _internal_mutable_column_name(); - // @@protoc_insertion_point(field_mutable:greptime.v1.SetColumnFulltext.column_name) + // @@protoc_insertion_point(field_mutable:greptime.v1.SetFulltext.column_name) return _s; } -inline const std::string& SetColumnFulltext::_internal_column_name() const { +inline const std::string& SetFulltext::_internal_column_name() const { return _impl_.column_name_.Get(); } -inline void SetColumnFulltext::_internal_set_column_name(const std::string& value) { +inline void SetFulltext::_internal_set_column_name(const std::string& value) { _impl_.column_name_.Set(value, GetArenaForAllocation()); } -inline std::string* SetColumnFulltext::_internal_mutable_column_name() { +inline std::string* SetFulltext::_internal_mutable_column_name() { return _impl_.column_name_.Mutable(GetArenaForAllocation()); } -inline std::string* SetColumnFulltext::release_column_name() { - // @@protoc_insertion_point(field_release:greptime.v1.SetColumnFulltext.column_name) +inline std::string* SetFulltext::release_column_name() { + // @@protoc_insertion_point(field_release:greptime.v1.SetFulltext.column_name) return _impl_.column_name_.Release(); } -inline void SetColumnFulltext::set_allocated_column_name(std::string* column_name) { +inline void SetFulltext::set_allocated_column_name(std::string* column_name) { if (column_name != nullptr) { } else { @@ -12214,109 +13250,109 @@ inline void SetColumnFulltext::set_allocated_column_name(std::string* column_nam _impl_.column_name_.Set("", GetArenaForAllocation()); } #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:greptime.v1.SetColumnFulltext.column_name) + // @@protoc_insertion_point(field_set_allocated:greptime.v1.SetFulltext.column_name) } // bool enable = 2; -inline void SetColumnFulltext::clear_enable() { +inline void SetFulltext::clear_enable() { _impl_.enable_ = false; } -inline bool SetColumnFulltext::_internal_enable() const { +inline bool SetFulltext::_internal_enable() const { return _impl_.enable_; } -inline bool SetColumnFulltext::enable() const { - // @@protoc_insertion_point(field_get:greptime.v1.SetColumnFulltext.enable) +inline bool SetFulltext::enable() const { + // @@protoc_insertion_point(field_get:greptime.v1.SetFulltext.enable) return _internal_enable(); } -inline void SetColumnFulltext::_internal_set_enable(bool value) { +inline void SetFulltext::_internal_set_enable(bool value) { _impl_.enable_ = value; } -inline void SetColumnFulltext::set_enable(bool value) { +inline void SetFulltext::set_enable(bool value) { _internal_set_enable(value); - // @@protoc_insertion_point(field_set:greptime.v1.SetColumnFulltext.enable) + // @@protoc_insertion_point(field_set:greptime.v1.SetFulltext.enable) } // .greptime.v1.Analyzer analyzer = 3; -inline void SetColumnFulltext::clear_analyzer() { +inline void SetFulltext::clear_analyzer() { _impl_.analyzer_ = 0; } -inline ::greptime::v1::Analyzer SetColumnFulltext::_internal_analyzer() const { +inline ::greptime::v1::Analyzer SetFulltext::_internal_analyzer() const { return static_cast< ::greptime::v1::Analyzer >(_impl_.analyzer_); } -inline ::greptime::v1::Analyzer SetColumnFulltext::analyzer() const { - // @@protoc_insertion_point(field_get:greptime.v1.SetColumnFulltext.analyzer) +inline ::greptime::v1::Analyzer SetFulltext::analyzer() const { + // @@protoc_insertion_point(field_get:greptime.v1.SetFulltext.analyzer) return _internal_analyzer(); } -inline void SetColumnFulltext::_internal_set_analyzer(::greptime::v1::Analyzer value) { +inline void SetFulltext::_internal_set_analyzer(::greptime::v1::Analyzer value) { _impl_.analyzer_ = value; } -inline void SetColumnFulltext::set_analyzer(::greptime::v1::Analyzer value) { +inline void SetFulltext::set_analyzer(::greptime::v1::Analyzer value) { _internal_set_analyzer(value); - // @@protoc_insertion_point(field_set:greptime.v1.SetColumnFulltext.analyzer) + // @@protoc_insertion_point(field_set:greptime.v1.SetFulltext.analyzer) } // bool case_sensitive = 4; -inline void SetColumnFulltext::clear_case_sensitive() { +inline void SetFulltext::clear_case_sensitive() { _impl_.case_sensitive_ = false; } -inline bool SetColumnFulltext::_internal_case_sensitive() const { +inline bool SetFulltext::_internal_case_sensitive() const { return _impl_.case_sensitive_; } -inline bool SetColumnFulltext::case_sensitive() const { - // @@protoc_insertion_point(field_get:greptime.v1.SetColumnFulltext.case_sensitive) +inline bool SetFulltext::case_sensitive() const { + // @@protoc_insertion_point(field_get:greptime.v1.SetFulltext.case_sensitive) return _internal_case_sensitive(); } -inline void SetColumnFulltext::_internal_set_case_sensitive(bool value) { +inline void SetFulltext::_internal_set_case_sensitive(bool value) { _impl_.case_sensitive_ = value; } -inline void SetColumnFulltext::set_case_sensitive(bool value) { +inline void SetFulltext::set_case_sensitive(bool value) { _internal_set_case_sensitive(value); - // @@protoc_insertion_point(field_set:greptime.v1.SetColumnFulltext.case_sensitive) + // @@protoc_insertion_point(field_set:greptime.v1.SetFulltext.case_sensitive) } // ------------------------------------------------------------------- -// UnsetColumnFulltext +// UnsetFulltext // string column_name = 1; -inline void UnsetColumnFulltext::clear_column_name() { +inline void UnsetFulltext::clear_column_name() { _impl_.column_name_.ClearToEmpty(); } -inline const std::string& UnsetColumnFulltext::column_name() const { - // @@protoc_insertion_point(field_get:greptime.v1.UnsetColumnFulltext.column_name) +inline const std::string& UnsetFulltext::column_name() const { + // @@protoc_insertion_point(field_get:greptime.v1.UnsetFulltext.column_name) return _internal_column_name(); } template inline PROTOBUF_ALWAYS_INLINE -void UnsetColumnFulltext::set_column_name(ArgT0&& arg0, ArgT... args) { +void UnsetFulltext::set_column_name(ArgT0&& arg0, ArgT... args) { _impl_.column_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); - // @@protoc_insertion_point(field_set:greptime.v1.UnsetColumnFulltext.column_name) + // @@protoc_insertion_point(field_set:greptime.v1.UnsetFulltext.column_name) } -inline std::string* UnsetColumnFulltext::mutable_column_name() { +inline std::string* UnsetFulltext::mutable_column_name() { std::string* _s = _internal_mutable_column_name(); - // @@protoc_insertion_point(field_mutable:greptime.v1.UnsetColumnFulltext.column_name) + // @@protoc_insertion_point(field_mutable:greptime.v1.UnsetFulltext.column_name) return _s; } -inline const std::string& UnsetColumnFulltext::_internal_column_name() const { +inline const std::string& UnsetFulltext::_internal_column_name() const { return _impl_.column_name_.Get(); } -inline void UnsetColumnFulltext::_internal_set_column_name(const std::string& value) { +inline void UnsetFulltext::_internal_set_column_name(const std::string& value) { _impl_.column_name_.Set(value, GetArenaForAllocation()); } -inline std::string* UnsetColumnFulltext::_internal_mutable_column_name() { +inline std::string* UnsetFulltext::_internal_mutable_column_name() { return _impl_.column_name_.Mutable(GetArenaForAllocation()); } -inline std::string* UnsetColumnFulltext::release_column_name() { - // @@protoc_insertion_point(field_release:greptime.v1.UnsetColumnFulltext.column_name) +inline std::string* UnsetFulltext::release_column_name() { + // @@protoc_insertion_point(field_release:greptime.v1.UnsetFulltext.column_name) return _impl_.column_name_.Release(); } -inline void UnsetColumnFulltext::set_allocated_column_name(std::string* column_name) { +inline void UnsetFulltext::set_allocated_column_name(std::string* column_name) { if (column_name != nullptr) { } else { @@ -12328,7 +13364,115 @@ inline void UnsetColumnFulltext::set_allocated_column_name(std::string* column_n _impl_.column_name_.Set("", GetArenaForAllocation()); } #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING - // @@protoc_insertion_point(field_set_allocated:greptime.v1.UnsetColumnFulltext.column_name) + // @@protoc_insertion_point(field_set_allocated:greptime.v1.UnsetFulltext.column_name) +} + +// ------------------------------------------------------------------- + +// SetInverted + +// string column_name = 1; +inline void SetInverted::clear_column_name() { + _impl_.column_name_.ClearToEmpty(); +} +inline const std::string& SetInverted::column_name() const { + // @@protoc_insertion_point(field_get:greptime.v1.SetInverted.column_name) + return _internal_column_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void SetInverted::set_column_name(ArgT0&& arg0, ArgT... args) { + + _impl_.column_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:greptime.v1.SetInverted.column_name) +} +inline std::string* SetInverted::mutable_column_name() { + std::string* _s = _internal_mutable_column_name(); + // @@protoc_insertion_point(field_mutable:greptime.v1.SetInverted.column_name) + return _s; +} +inline const std::string& SetInverted::_internal_column_name() const { + return _impl_.column_name_.Get(); +} +inline void SetInverted::_internal_set_column_name(const std::string& value) { + + _impl_.column_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* SetInverted::_internal_mutable_column_name() { + + return _impl_.column_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* SetInverted::release_column_name() { + // @@protoc_insertion_point(field_release:greptime.v1.SetInverted.column_name) + return _impl_.column_name_.Release(); +} +inline void SetInverted::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.SetInverted.column_name) +} + +// ------------------------------------------------------------------- + +// UnsetInverted + +// string column_name = 1; +inline void UnsetInverted::clear_column_name() { + _impl_.column_name_.ClearToEmpty(); +} +inline const std::string& UnsetInverted::column_name() const { + // @@protoc_insertion_point(field_get:greptime.v1.UnsetInverted.column_name) + return _internal_column_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void UnsetInverted::set_column_name(ArgT0&& arg0, ArgT... args) { + + _impl_.column_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:greptime.v1.UnsetInverted.column_name) +} +inline std::string* UnsetInverted::mutable_column_name() { + std::string* _s = _internal_mutable_column_name(); + // @@protoc_insertion_point(field_mutable:greptime.v1.UnsetInverted.column_name) + return _s; +} +inline const std::string& UnsetInverted::_internal_column_name() const { + return _impl_.column_name_.Get(); +} +inline void UnsetInverted::_internal_set_column_name(const std::string& value) { + + _impl_.column_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* UnsetInverted::_internal_mutable_column_name() { + + return _impl_.column_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* UnsetInverted::release_column_name() { + // @@protoc_insertion_point(field_release:greptime.v1.UnsetInverted.column_name) + return _impl_.column_name_.Release(); +} +inline void UnsetInverted::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.UnsetInverted.column_name) } // ------------------------------------------------------------------- @@ -12782,6 +13926,14 @@ UnsetDatabaseOptions::mutable_keys() { // ------------------------------------------------------------------- +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + // @@protoc_insertion_point(namespace_scope) diff --git a/c++/greptime/v1/region/server.pb.cc b/c++/greptime/v1/region/server.pb.cc index c7e4744..1605161 100644 --- a/c++/greptime/v1/region/server.pb.cc +++ b/c++/greptime/v1/region/server.pb.cc @@ -830,41 +830,40 @@ const char descriptor_table_protodef_greptime_2fv1_2fregion_2fserver_2eproto[] P ".\n\014OptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 " "\001(\t:\0028\001\"!\n\014CloseRequest\022\021\n\tregion_id\030\001 \001" "(\004\"C\n\rAlterRequests\0222\n\010requests\030\001 \003(\0132 ." - "greptime.v1.region.AlterRequest\"\354\003\n\014Alte" + "greptime.v1.region.AlterRequest\"\306\003\n\014Alte" "rRequest\022\021\n\tregion_id\030\001 \001(\004\0225\n\013add_colum" "ns\030\002 \001(\0132\036.greptime.v1.region.AddColumns" "H\000\0227\n\014drop_columns\030\003 \001(\0132\037.greptime.v1.r" "egion.DropColumnsH\000\022=\n\023modify_column_typ" "es\030\005 \001(\0132\036.greptime.v1.ModifyColumnTypes" "H\000\0229\n\021set_table_options\030\006 \001(\0132\034.greptime" - ".v1.SetTableOptionsH\000\022=\n\023set_column_full" - "text\030\007 \001(\0132\036.greptime.v1.SetColumnFullte" - "xtH\000\022A\n\025unset_column_fulltext\030\010 \001(\0132 .gr" - "eptime.v1.UnsetColumnFulltextH\000\022=\n\023unset" - "_table_options\030\t \001(\0132\036.greptime.v1.Unset" - "TableOptionsH\000\022\026\n\016schema_version\030\004 \001(\004B\006" - "\n\004kind\"@\n\nAddColumns\0222\n\013add_columns\030\001 \003(" - "\0132\035.greptime.v1.region.AddColumn\"C\n\013Drop" - "Columns\0224\n\014drop_columns\030\001 \003(\0132\036.greptime" - ".v1.region.DropColumn\"v\n\tAddColumn\0227\n\nco" - "lumn_def\030\001 \001(\0132#.greptime.v1.region.Regi" - "onColumnDef\0220\n\010location\030\003 \001(\0132\036.greptime" - ".v1.AddColumnLocation\"\032\n\nDropColumn\022\014\n\004n" - "ame\030\001 \001(\t\"!\n\014FlushRequest\022\021\n\tregion_id\030\001" - " \001(\004\"\t\n\007Regular\"&\n\014StrictWindow\022\026\n\016windo" - "w_seconds\030\001 \001(\003\"\231\001\n\016CompactRequest\022\021\n\tre" - "gion_id\030\001 \001(\004\022.\n\007regular\030\002 \001(\0132\033.greptim" - "e.v1.region.RegularH\000\0229\n\rstrict_window\030\003" - " \001(\0132 .greptime.v1.region.StrictWindowH\000" - "B\t\n\007options\"$\n\017TruncateRequest\022\021\n\tregion" - "_id\030\001 \001(\004\"P\n\017RegionColumnDef\022*\n\ncolumn_d" - "ef\030\001 \001(\0132\026.greptime.v1.ColumnDef\022\021\n\tcolu" - "mn_id\030\002 \001(\r2Y\n\006Region\022O\n\006Handle\022!.grepti" - "me.v1.region.RegionRequest\032\".greptime.v1" - ".region.RegionResponseB]\n\025io.greptime.v1" - ".regionB\006ServerZ_impl_.kind_.set_table_options_; } -const ::greptime::v1::SetColumnFulltext& -AlterRequest::_Internal::set_column_fulltext(const AlterRequest* msg) { - return *msg->_impl_.kind_.set_column_fulltext_; -} -const ::greptime::v1::UnsetColumnFulltext& -AlterRequest::_Internal::unset_column_fulltext(const AlterRequest* msg) { - return *msg->_impl_.kind_.unset_column_fulltext_; -} const ::greptime::v1::UnsetTableOptions& AlterRequest::_Internal::unset_table_options(const AlterRequest* msg) { return *msg->_impl_.kind_.unset_table_options_; } +const ::greptime::v1::SetIndex& +AlterRequest::_Internal::set_index(const AlterRequest* msg) { + return *msg->_impl_.kind_.set_index_; +} +const ::greptime::v1::UnsetIndex& +AlterRequest::_Internal::unset_index(const AlterRequest* msg) { + return *msg->_impl_.kind_.unset_index_; +} void AlterRequest::set_allocated_add_columns(::greptime::v1::region::AddColumns* add_columns) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); clear_kind(); @@ -5447,54 +5446,6 @@ void AlterRequest::clear_set_table_options() { clear_has_kind(); } } -void AlterRequest::set_allocated_set_column_fulltext(::greptime::v1::SetColumnFulltext* set_column_fulltext) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_kind(); - if (set_column_fulltext) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(set_column_fulltext)); - if (message_arena != submessage_arena) { - set_column_fulltext = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, set_column_fulltext, submessage_arena); - } - set_has_set_column_fulltext(); - _impl_.kind_.set_column_fulltext_ = set_column_fulltext; - } - // @@protoc_insertion_point(field_set_allocated:greptime.v1.region.AlterRequest.set_column_fulltext) -} -void AlterRequest::clear_set_column_fulltext() { - if (_internal_has_set_column_fulltext()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.kind_.set_column_fulltext_; - } - clear_has_kind(); - } -} -void AlterRequest::set_allocated_unset_column_fulltext(::greptime::v1::UnsetColumnFulltext* unset_column_fulltext) { - ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); - clear_kind(); - if (unset_column_fulltext) { - ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = - ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( - reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(unset_column_fulltext)); - if (message_arena != submessage_arena) { - unset_column_fulltext = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( - message_arena, unset_column_fulltext, submessage_arena); - } - set_has_unset_column_fulltext(); - _impl_.kind_.unset_column_fulltext_ = unset_column_fulltext; - } - // @@protoc_insertion_point(field_set_allocated:greptime.v1.region.AlterRequest.unset_column_fulltext) -} -void AlterRequest::clear_unset_column_fulltext() { - if (_internal_has_unset_column_fulltext()) { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.kind_.unset_column_fulltext_; - } - clear_has_kind(); - } -} void AlterRequest::set_allocated_unset_table_options(::greptime::v1::UnsetTableOptions* unset_table_options) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); clear_kind(); @@ -5519,6 +5470,54 @@ void AlterRequest::clear_unset_table_options() { clear_has_kind(); } } +void AlterRequest::set_allocated_set_index(::greptime::v1::SetIndex* set_index) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + clear_kind(); + if (set_index) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(set_index)); + if (message_arena != submessage_arena) { + set_index = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, set_index, submessage_arena); + } + set_has_set_index(); + _impl_.kind_.set_index_ = set_index; + } + // @@protoc_insertion_point(field_set_allocated:greptime.v1.region.AlterRequest.set_index) +} +void AlterRequest::clear_set_index() { + if (_internal_has_set_index()) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.kind_.set_index_; + } + clear_has_kind(); + } +} +void AlterRequest::set_allocated_unset_index(::greptime::v1::UnsetIndex* unset_index) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + clear_kind(); + if (unset_index) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(unset_index)); + if (message_arena != submessage_arena) { + unset_index = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, unset_index, submessage_arena); + } + set_has_unset_index(); + _impl_.kind_.unset_index_ = unset_index; + } + // @@protoc_insertion_point(field_set_allocated:greptime.v1.region.AlterRequest.unset_index) +} +void AlterRequest::clear_unset_index() { + if (_internal_has_unset_index()) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.kind_.unset_index_; + } + clear_has_kind(); + } +} AlterRequest::AlterRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -5561,21 +5560,21 @@ AlterRequest::AlterRequest(const AlterRequest& from) from._internal_set_table_options()); break; } - case kSetColumnFulltext: { - _this->_internal_mutable_set_column_fulltext()->::greptime::v1::SetColumnFulltext::MergeFrom( - from._internal_set_column_fulltext()); - break; - } - case kUnsetColumnFulltext: { - _this->_internal_mutable_unset_column_fulltext()->::greptime::v1::UnsetColumnFulltext::MergeFrom( - from._internal_unset_column_fulltext()); - break; - } case kUnsetTableOptions: { _this->_internal_mutable_unset_table_options()->::greptime::v1::UnsetTableOptions::MergeFrom( from._internal_unset_table_options()); break; } + case kSetIndex: { + _this->_internal_mutable_set_index()->::greptime::v1::SetIndex::MergeFrom( + from._internal_set_index()); + break; + } + case kUnsetIndex: { + _this->_internal_mutable_unset_index()->::greptime::v1::UnsetIndex::MergeFrom( + from._internal_unset_index()); + break; + } case KIND_NOT_SET: { break; } @@ -5644,24 +5643,24 @@ void AlterRequest::clear_kind() { } break; } - case kSetColumnFulltext: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.kind_.set_column_fulltext_; - } - break; - } - case kUnsetColumnFulltext: { - if (GetArenaForAllocation() == nullptr) { - delete _impl_.kind_.unset_column_fulltext_; - } - break; - } case kUnsetTableOptions: { if (GetArenaForAllocation() == nullptr) { delete _impl_.kind_.unset_table_options_; } break; } + case kSetIndex: { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.kind_.set_index_; + } + break; + } + case kUnsetIndex: { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.kind_.unset_index_; + } + break; + } case KIND_NOT_SET: { break; } @@ -5737,22 +5736,6 @@ const char* AlterRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* } else goto handle_unusual; continue; - // .greptime.v1.SetColumnFulltext set_column_fulltext = 7; - case 7: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 58)) { - ptr = ctx->ParseMessage(_internal_mutable_set_column_fulltext(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; - // .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 8; - case 8: - if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 66)) { - ptr = ctx->ParseMessage(_internal_mutable_unset_column_fulltext(), ptr); - CHK_(ptr); - } else - goto handle_unusual; - continue; // .greptime.v1.UnsetTableOptions unset_table_options = 9; case 9: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 74)) { @@ -5761,6 +5744,22 @@ const char* AlterRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* } else goto handle_unusual; continue; + // .greptime.v1.SetIndex set_index = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_set_index(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .greptime.v1.UnsetIndex unset_index = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 90)) { + ptr = ctx->ParseMessage(_internal_mutable_unset_index(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -5830,20 +5829,6 @@ uint8_t* AlterRequest::_InternalSerialize( _Internal::set_table_options(this).GetCachedSize(), target, stream); } - // .greptime.v1.SetColumnFulltext set_column_fulltext = 7; - if (_internal_has_set_column_fulltext()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(7, _Internal::set_column_fulltext(this), - _Internal::set_column_fulltext(this).GetCachedSize(), target, stream); - } - - // .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 8; - if (_internal_has_unset_column_fulltext()) { - target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: - InternalWriteMessage(8, _Internal::unset_column_fulltext(this), - _Internal::unset_column_fulltext(this).GetCachedSize(), target, stream); - } - // .greptime.v1.UnsetTableOptions unset_table_options = 9; if (_internal_has_unset_table_options()) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: @@ -5851,6 +5836,20 @@ uint8_t* AlterRequest::_InternalSerialize( _Internal::unset_table_options(this).GetCachedSize(), target, stream); } + // .greptime.v1.SetIndex set_index = 10; + if (_internal_has_set_index()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(10, _Internal::set_index(this), + _Internal::set_index(this).GetCachedSize(), target, stream); + } + + // .greptime.v1.UnsetIndex unset_index = 11; + if (_internal_has_unset_index()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(11, _Internal::unset_index(this), + _Internal::unset_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); @@ -5906,20 +5905,6 @@ size_t AlterRequest::ByteSizeLong() const { *_impl_.kind_.set_table_options_); break; } - // .greptime.v1.SetColumnFulltext set_column_fulltext = 7; - case kSetColumnFulltext: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.kind_.set_column_fulltext_); - break; - } - // .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 8; - case kUnsetColumnFulltext: { - total_size += 1 + - ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( - *_impl_.kind_.unset_column_fulltext_); - break; - } // .greptime.v1.UnsetTableOptions unset_table_options = 9; case kUnsetTableOptions: { total_size += 1 + @@ -5927,6 +5912,20 @@ size_t AlterRequest::ByteSizeLong() const { *_impl_.kind_.unset_table_options_); break; } + // .greptime.v1.SetIndex set_index = 10; + case kSetIndex: { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.kind_.set_index_); + break; + } + // .greptime.v1.UnsetIndex unset_index = 11; + case kUnsetIndex: { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.kind_.unset_index_); + break; + } case KIND_NOT_SET: { break; } @@ -5976,21 +5975,21 @@ void AlterRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::P from._internal_set_table_options()); break; } - case kSetColumnFulltext: { - _this->_internal_mutable_set_column_fulltext()->::greptime::v1::SetColumnFulltext::MergeFrom( - from._internal_set_column_fulltext()); - break; - } - case kUnsetColumnFulltext: { - _this->_internal_mutable_unset_column_fulltext()->::greptime::v1::UnsetColumnFulltext::MergeFrom( - from._internal_unset_column_fulltext()); - break; - } case kUnsetTableOptions: { _this->_internal_mutable_unset_table_options()->::greptime::v1::UnsetTableOptions::MergeFrom( from._internal_unset_table_options()); break; } + case kSetIndex: { + _this->_internal_mutable_set_index()->::greptime::v1::SetIndex::MergeFrom( + from._internal_set_index()); + break; + } + case kUnsetIndex: { + _this->_internal_mutable_unset_index()->::greptime::v1::UnsetIndex::MergeFrom( + from._internal_unset_index()); + break; + } case KIND_NOT_SET: { break; } diff --git a/c++/greptime/v1/region/server.pb.h b/c++/greptime/v1/region/server.pb.h index 818f1fb..0aae5b4 100644 --- a/c++/greptime/v1/region/server.pb.h +++ b/c++/greptime/v1/region/server.pb.h @@ -3252,9 +3252,9 @@ class AlterRequest final : kDropColumns = 3, kModifyColumnTypes = 5, kSetTableOptions = 6, - kSetColumnFulltext = 7, - kUnsetColumnFulltext = 8, kUnsetTableOptions = 9, + kSetIndex = 10, + kUnsetIndex = 11, KIND_NOT_SET = 0, }; @@ -3342,9 +3342,9 @@ class AlterRequest final : kDropColumnsFieldNumber = 3, kModifyColumnTypesFieldNumber = 5, kSetTableOptionsFieldNumber = 6, - kSetColumnFulltextFieldNumber = 7, - kUnsetColumnFulltextFieldNumber = 8, kUnsetTableOptionsFieldNumber = 9, + kSetIndexFieldNumber = 10, + kUnsetIndexFieldNumber = 11, }; // uint64 region_id = 1; void clear_region_id(); @@ -3436,42 +3436,6 @@ class AlterRequest final : ::greptime::v1::SetTableOptions* set_table_options); ::greptime::v1::SetTableOptions* unsafe_arena_release_set_table_options(); - // .greptime.v1.SetColumnFulltext set_column_fulltext = 7; - bool has_set_column_fulltext() const; - private: - bool _internal_has_set_column_fulltext() const; - public: - void clear_set_column_fulltext(); - const ::greptime::v1::SetColumnFulltext& set_column_fulltext() const; - PROTOBUF_NODISCARD ::greptime::v1::SetColumnFulltext* release_set_column_fulltext(); - ::greptime::v1::SetColumnFulltext* mutable_set_column_fulltext(); - void set_allocated_set_column_fulltext(::greptime::v1::SetColumnFulltext* set_column_fulltext); - private: - const ::greptime::v1::SetColumnFulltext& _internal_set_column_fulltext() const; - ::greptime::v1::SetColumnFulltext* _internal_mutable_set_column_fulltext(); - public: - void unsafe_arena_set_allocated_set_column_fulltext( - ::greptime::v1::SetColumnFulltext* set_column_fulltext); - ::greptime::v1::SetColumnFulltext* unsafe_arena_release_set_column_fulltext(); - - // .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 8; - bool has_unset_column_fulltext() const; - private: - bool _internal_has_unset_column_fulltext() const; - public: - void clear_unset_column_fulltext(); - const ::greptime::v1::UnsetColumnFulltext& unset_column_fulltext() const; - PROTOBUF_NODISCARD ::greptime::v1::UnsetColumnFulltext* release_unset_column_fulltext(); - ::greptime::v1::UnsetColumnFulltext* mutable_unset_column_fulltext(); - void set_allocated_unset_column_fulltext(::greptime::v1::UnsetColumnFulltext* unset_column_fulltext); - private: - const ::greptime::v1::UnsetColumnFulltext& _internal_unset_column_fulltext() const; - ::greptime::v1::UnsetColumnFulltext* _internal_mutable_unset_column_fulltext(); - public: - void unsafe_arena_set_allocated_unset_column_fulltext( - ::greptime::v1::UnsetColumnFulltext* unset_column_fulltext); - ::greptime::v1::UnsetColumnFulltext* unsafe_arena_release_unset_column_fulltext(); - // .greptime.v1.UnsetTableOptions unset_table_options = 9; bool has_unset_table_options() const; private: @@ -3490,6 +3454,42 @@ class AlterRequest final : ::greptime::v1::UnsetTableOptions* unset_table_options); ::greptime::v1::UnsetTableOptions* unsafe_arena_release_unset_table_options(); + // .greptime.v1.SetIndex set_index = 10; + bool has_set_index() const; + private: + bool _internal_has_set_index() const; + public: + void clear_set_index(); + const ::greptime::v1::SetIndex& set_index() const; + PROTOBUF_NODISCARD ::greptime::v1::SetIndex* release_set_index(); + ::greptime::v1::SetIndex* mutable_set_index(); + void set_allocated_set_index(::greptime::v1::SetIndex* set_index); + private: + const ::greptime::v1::SetIndex& _internal_set_index() const; + ::greptime::v1::SetIndex* _internal_mutable_set_index(); + public: + void unsafe_arena_set_allocated_set_index( + ::greptime::v1::SetIndex* set_index); + ::greptime::v1::SetIndex* unsafe_arena_release_set_index(); + + // .greptime.v1.UnsetIndex unset_index = 11; + bool has_unset_index() const; + private: + bool _internal_has_unset_index() const; + public: + void clear_unset_index(); + const ::greptime::v1::UnsetIndex& unset_index() const; + PROTOBUF_NODISCARD ::greptime::v1::UnsetIndex* release_unset_index(); + ::greptime::v1::UnsetIndex* mutable_unset_index(); + void set_allocated_unset_index(::greptime::v1::UnsetIndex* unset_index); + private: + const ::greptime::v1::UnsetIndex& _internal_unset_index() const; + ::greptime::v1::UnsetIndex* _internal_mutable_unset_index(); + public: + void unsafe_arena_set_allocated_unset_index( + ::greptime::v1::UnsetIndex* unset_index); + ::greptime::v1::UnsetIndex* unsafe_arena_release_unset_index(); + void clear_kind(); KindCase kind_case() const; // @@protoc_insertion_point(class_scope:greptime.v1.region.AlterRequest) @@ -3499,9 +3499,9 @@ class AlterRequest final : void set_has_drop_columns(); void set_has_modify_column_types(); void set_has_set_table_options(); - void set_has_set_column_fulltext(); - void set_has_unset_column_fulltext(); void set_has_unset_table_options(); + void set_has_set_index(); + void set_has_unset_index(); inline bool has_kind() const; inline void clear_has_kind(); @@ -3519,9 +3519,9 @@ class AlterRequest final : ::greptime::v1::region::DropColumns* drop_columns_; ::greptime::v1::ModifyColumnTypes* modify_column_types_; ::greptime::v1::SetTableOptions* set_table_options_; - ::greptime::v1::SetColumnFulltext* set_column_fulltext_; - ::greptime::v1::UnsetColumnFulltext* unset_column_fulltext_; ::greptime::v1::UnsetTableOptions* unset_table_options_; + ::greptime::v1::SetIndex* set_index_; + ::greptime::v1::UnsetIndex* unset_index_; } kind_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; uint32_t _oneof_case_[1]; @@ -7844,138 +7844,6 @@ inline ::greptime::v1::SetTableOptions* AlterRequest::mutable_set_table_options( return _msg; } -// .greptime.v1.SetColumnFulltext set_column_fulltext = 7; -inline bool AlterRequest::_internal_has_set_column_fulltext() const { - return kind_case() == kSetColumnFulltext; -} -inline bool AlterRequest::has_set_column_fulltext() const { - return _internal_has_set_column_fulltext(); -} -inline void AlterRequest::set_has_set_column_fulltext() { - _impl_._oneof_case_[0] = kSetColumnFulltext; -} -inline ::greptime::v1::SetColumnFulltext* AlterRequest::release_set_column_fulltext() { - // @@protoc_insertion_point(field_release:greptime.v1.region.AlterRequest.set_column_fulltext) - if (_internal_has_set_column_fulltext()) { - clear_has_kind(); - ::greptime::v1::SetColumnFulltext* temp = _impl_.kind_.set_column_fulltext_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.kind_.set_column_fulltext_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::greptime::v1::SetColumnFulltext& AlterRequest::_internal_set_column_fulltext() const { - return _internal_has_set_column_fulltext() - ? *_impl_.kind_.set_column_fulltext_ - : reinterpret_cast< ::greptime::v1::SetColumnFulltext&>(::greptime::v1::_SetColumnFulltext_default_instance_); -} -inline const ::greptime::v1::SetColumnFulltext& AlterRequest::set_column_fulltext() const { - // @@protoc_insertion_point(field_get:greptime.v1.region.AlterRequest.set_column_fulltext) - return _internal_set_column_fulltext(); -} -inline ::greptime::v1::SetColumnFulltext* AlterRequest::unsafe_arena_release_set_column_fulltext() { - // @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.region.AlterRequest.set_column_fulltext) - if (_internal_has_set_column_fulltext()) { - clear_has_kind(); - ::greptime::v1::SetColumnFulltext* temp = _impl_.kind_.set_column_fulltext_; - _impl_.kind_.set_column_fulltext_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void AlterRequest::unsafe_arena_set_allocated_set_column_fulltext(::greptime::v1::SetColumnFulltext* set_column_fulltext) { - clear_kind(); - if (set_column_fulltext) { - set_has_set_column_fulltext(); - _impl_.kind_.set_column_fulltext_ = set_column_fulltext; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.region.AlterRequest.set_column_fulltext) -} -inline ::greptime::v1::SetColumnFulltext* AlterRequest::_internal_mutable_set_column_fulltext() { - if (!_internal_has_set_column_fulltext()) { - clear_kind(); - set_has_set_column_fulltext(); - _impl_.kind_.set_column_fulltext_ = CreateMaybeMessage< ::greptime::v1::SetColumnFulltext >(GetArenaForAllocation()); - } - return _impl_.kind_.set_column_fulltext_; -} -inline ::greptime::v1::SetColumnFulltext* AlterRequest::mutable_set_column_fulltext() { - ::greptime::v1::SetColumnFulltext* _msg = _internal_mutable_set_column_fulltext(); - // @@protoc_insertion_point(field_mutable:greptime.v1.region.AlterRequest.set_column_fulltext) - return _msg; -} - -// .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 8; -inline bool AlterRequest::_internal_has_unset_column_fulltext() const { - return kind_case() == kUnsetColumnFulltext; -} -inline bool AlterRequest::has_unset_column_fulltext() const { - return _internal_has_unset_column_fulltext(); -} -inline void AlterRequest::set_has_unset_column_fulltext() { - _impl_._oneof_case_[0] = kUnsetColumnFulltext; -} -inline ::greptime::v1::UnsetColumnFulltext* AlterRequest::release_unset_column_fulltext() { - // @@protoc_insertion_point(field_release:greptime.v1.region.AlterRequest.unset_column_fulltext) - if (_internal_has_unset_column_fulltext()) { - clear_has_kind(); - ::greptime::v1::UnsetColumnFulltext* temp = _impl_.kind_.unset_column_fulltext_; - if (GetArenaForAllocation() != nullptr) { - temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); - } - _impl_.kind_.unset_column_fulltext_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::greptime::v1::UnsetColumnFulltext& AlterRequest::_internal_unset_column_fulltext() const { - return _internal_has_unset_column_fulltext() - ? *_impl_.kind_.unset_column_fulltext_ - : reinterpret_cast< ::greptime::v1::UnsetColumnFulltext&>(::greptime::v1::_UnsetColumnFulltext_default_instance_); -} -inline const ::greptime::v1::UnsetColumnFulltext& AlterRequest::unset_column_fulltext() const { - // @@protoc_insertion_point(field_get:greptime.v1.region.AlterRequest.unset_column_fulltext) - return _internal_unset_column_fulltext(); -} -inline ::greptime::v1::UnsetColumnFulltext* AlterRequest::unsafe_arena_release_unset_column_fulltext() { - // @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.region.AlterRequest.unset_column_fulltext) - if (_internal_has_unset_column_fulltext()) { - clear_has_kind(); - ::greptime::v1::UnsetColumnFulltext* temp = _impl_.kind_.unset_column_fulltext_; - _impl_.kind_.unset_column_fulltext_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void AlterRequest::unsafe_arena_set_allocated_unset_column_fulltext(::greptime::v1::UnsetColumnFulltext* unset_column_fulltext) { - clear_kind(); - if (unset_column_fulltext) { - set_has_unset_column_fulltext(); - _impl_.kind_.unset_column_fulltext_ = unset_column_fulltext; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.region.AlterRequest.unset_column_fulltext) -} -inline ::greptime::v1::UnsetColumnFulltext* AlterRequest::_internal_mutable_unset_column_fulltext() { - if (!_internal_has_unset_column_fulltext()) { - clear_kind(); - set_has_unset_column_fulltext(); - _impl_.kind_.unset_column_fulltext_ = CreateMaybeMessage< ::greptime::v1::UnsetColumnFulltext >(GetArenaForAllocation()); - } - return _impl_.kind_.unset_column_fulltext_; -} -inline ::greptime::v1::UnsetColumnFulltext* AlterRequest::mutable_unset_column_fulltext() { - ::greptime::v1::UnsetColumnFulltext* _msg = _internal_mutable_unset_column_fulltext(); - // @@protoc_insertion_point(field_mutable:greptime.v1.region.AlterRequest.unset_column_fulltext) - return _msg; -} - // .greptime.v1.UnsetTableOptions unset_table_options = 9; inline bool AlterRequest::_internal_has_unset_table_options() const { return kind_case() == kUnsetTableOptions; @@ -8042,6 +7910,138 @@ inline ::greptime::v1::UnsetTableOptions* AlterRequest::mutable_unset_table_opti return _msg; } +// .greptime.v1.SetIndex set_index = 10; +inline bool AlterRequest::_internal_has_set_index() const { + return kind_case() == kSetIndex; +} +inline bool AlterRequest::has_set_index() const { + return _internal_has_set_index(); +} +inline void AlterRequest::set_has_set_index() { + _impl_._oneof_case_[0] = kSetIndex; +} +inline ::greptime::v1::SetIndex* AlterRequest::release_set_index() { + // @@protoc_insertion_point(field_release:greptime.v1.region.AlterRequest.set_index) + if (_internal_has_set_index()) { + clear_has_kind(); + ::greptime::v1::SetIndex* temp = _impl_.kind_.set_index_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.kind_.set_index_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::greptime::v1::SetIndex& AlterRequest::_internal_set_index() const { + return _internal_has_set_index() + ? *_impl_.kind_.set_index_ + : reinterpret_cast< ::greptime::v1::SetIndex&>(::greptime::v1::_SetIndex_default_instance_); +} +inline const ::greptime::v1::SetIndex& AlterRequest::set_index() const { + // @@protoc_insertion_point(field_get:greptime.v1.region.AlterRequest.set_index) + return _internal_set_index(); +} +inline ::greptime::v1::SetIndex* AlterRequest::unsafe_arena_release_set_index() { + // @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.region.AlterRequest.set_index) + if (_internal_has_set_index()) { + clear_has_kind(); + ::greptime::v1::SetIndex* temp = _impl_.kind_.set_index_; + _impl_.kind_.set_index_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void AlterRequest::unsafe_arena_set_allocated_set_index(::greptime::v1::SetIndex* set_index) { + clear_kind(); + if (set_index) { + set_has_set_index(); + _impl_.kind_.set_index_ = set_index; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.region.AlterRequest.set_index) +} +inline ::greptime::v1::SetIndex* AlterRequest::_internal_mutable_set_index() { + if (!_internal_has_set_index()) { + clear_kind(); + set_has_set_index(); + _impl_.kind_.set_index_ = CreateMaybeMessage< ::greptime::v1::SetIndex >(GetArenaForAllocation()); + } + return _impl_.kind_.set_index_; +} +inline ::greptime::v1::SetIndex* AlterRequest::mutable_set_index() { + ::greptime::v1::SetIndex* _msg = _internal_mutable_set_index(); + // @@protoc_insertion_point(field_mutable:greptime.v1.region.AlterRequest.set_index) + return _msg; +} + +// .greptime.v1.UnsetIndex unset_index = 11; +inline bool AlterRequest::_internal_has_unset_index() const { + return kind_case() == kUnsetIndex; +} +inline bool AlterRequest::has_unset_index() const { + return _internal_has_unset_index(); +} +inline void AlterRequest::set_has_unset_index() { + _impl_._oneof_case_[0] = kUnsetIndex; +} +inline ::greptime::v1::UnsetIndex* AlterRequest::release_unset_index() { + // @@protoc_insertion_point(field_release:greptime.v1.region.AlterRequest.unset_index) + if (_internal_has_unset_index()) { + clear_has_kind(); + ::greptime::v1::UnsetIndex* temp = _impl_.kind_.unset_index_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.kind_.unset_index_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::greptime::v1::UnsetIndex& AlterRequest::_internal_unset_index() const { + return _internal_has_unset_index() + ? *_impl_.kind_.unset_index_ + : reinterpret_cast< ::greptime::v1::UnsetIndex&>(::greptime::v1::_UnsetIndex_default_instance_); +} +inline const ::greptime::v1::UnsetIndex& AlterRequest::unset_index() const { + // @@protoc_insertion_point(field_get:greptime.v1.region.AlterRequest.unset_index) + return _internal_unset_index(); +} +inline ::greptime::v1::UnsetIndex* AlterRequest::unsafe_arena_release_unset_index() { + // @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.region.AlterRequest.unset_index) + if (_internal_has_unset_index()) { + clear_has_kind(); + ::greptime::v1::UnsetIndex* temp = _impl_.kind_.unset_index_; + _impl_.kind_.unset_index_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void AlterRequest::unsafe_arena_set_allocated_unset_index(::greptime::v1::UnsetIndex* unset_index) { + clear_kind(); + if (unset_index) { + set_has_unset_index(); + _impl_.kind_.unset_index_ = unset_index; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.region.AlterRequest.unset_index) +} +inline ::greptime::v1::UnsetIndex* AlterRequest::_internal_mutable_unset_index() { + if (!_internal_has_unset_index()) { + clear_kind(); + set_has_unset_index(); + _impl_.kind_.unset_index_ = CreateMaybeMessage< ::greptime::v1::UnsetIndex >(GetArenaForAllocation()); + } + return _impl_.kind_.unset_index_; +} +inline ::greptime::v1::UnsetIndex* AlterRequest::mutable_unset_index() { + ::greptime::v1::UnsetIndex* _msg = _internal_mutable_unset_index(); + // @@protoc_insertion_point(field_mutable:greptime.v1.region.AlterRequest.unset_index) + return _msg; +} + // uint64 schema_version = 4; inline void AlterRequest::clear_schema_version() { _impl_.schema_version_ = uint64_t{0u}; diff --git a/go/greptime/v1/ddl.pb.go b/go/greptime/v1/ddl.pb.go index 4d4e6f7..1397660 100644 --- a/go/greptime/v1/ddl.pb.go +++ b/go/greptime/v1/ddl.pb.go @@ -123,7 +123,7 @@ func (x AddColumnLocation_LocationType) Number() protoreflect.EnumNumber { // Deprecated: Use AddColumnLocation_LocationType.Descriptor instead. func (AddColumnLocation_LocationType) EnumDescriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{24, 0} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{26, 0} } // "Data Definition Language" requests, that create, modify or delete the @@ -858,9 +858,9 @@ type AlterTableExpr struct { // *AlterTableExpr_RenameTable // *AlterTableExpr_ModifyColumnTypes // *AlterTableExpr_SetTableOptions - // *AlterTableExpr_SetColumnFulltext - // *AlterTableExpr_UnsetColumnFulltext // *AlterTableExpr_UnsetTableOptions + // *AlterTableExpr_SetIndex + // *AlterTableExpr_UnsetIndex Kind isAlterTableExpr_Kind `protobuf_oneof:"kind"` } @@ -959,20 +959,6 @@ func (x *AlterTableExpr) GetSetTableOptions() *SetTableOptions { return nil } -func (x *AlterTableExpr) GetSetColumnFulltext() *SetColumnFulltext { - if x, ok := x.GetKind().(*AlterTableExpr_SetColumnFulltext); ok { - return x.SetColumnFulltext - } - return nil -} - -func (x *AlterTableExpr) GetUnsetColumnFulltext() *UnsetColumnFulltext { - if x, ok := x.GetKind().(*AlterTableExpr_UnsetColumnFulltext); ok { - return x.UnsetColumnFulltext - } - return nil -} - func (x *AlterTableExpr) GetUnsetTableOptions() *UnsetTableOptions { if x, ok := x.GetKind().(*AlterTableExpr_UnsetTableOptions); ok { return x.UnsetTableOptions @@ -980,6 +966,20 @@ func (x *AlterTableExpr) GetUnsetTableOptions() *UnsetTableOptions { return nil } +func (x *AlterTableExpr) GetSetIndex() *SetIndex { + if x, ok := x.GetKind().(*AlterTableExpr_SetIndex); ok { + return x.SetIndex + } + return nil +} + +func (x *AlterTableExpr) GetUnsetIndex() *UnsetIndex { + if x, ok := x.GetKind().(*AlterTableExpr_UnsetIndex); ok { + return x.UnsetIndex + } + return nil +} + type isAlterTableExpr_Kind interface { isAlterTableExpr_Kind() } @@ -1004,18 +1004,18 @@ type AlterTableExpr_SetTableOptions struct { SetTableOptions *SetTableOptions `protobuf:"bytes,8,opt,name=set_table_options,json=setTableOptions,proto3,oneof"` } -type AlterTableExpr_SetColumnFulltext struct { - SetColumnFulltext *SetColumnFulltext `protobuf:"bytes,9,opt,name=set_column_fulltext,json=setColumnFulltext,proto3,oneof"` -} - -type AlterTableExpr_UnsetColumnFulltext struct { - UnsetColumnFulltext *UnsetColumnFulltext `protobuf:"bytes,10,opt,name=unset_column_fulltext,json=unsetColumnFulltext,proto3,oneof"` -} - type AlterTableExpr_UnsetTableOptions struct { UnsetTableOptions *UnsetTableOptions `protobuf:"bytes,11,opt,name=unset_table_options,json=unsetTableOptions,proto3,oneof"` } +type AlterTableExpr_SetIndex struct { + SetIndex *SetIndex `protobuf:"bytes,12,opt,name=set_index,json=setIndex,proto3,oneof"` +} + +type AlterTableExpr_UnsetIndex struct { + UnsetIndex *UnsetIndex `protobuf:"bytes,13,opt,name=unset_index,json=unsetIndex,proto3,oneof"` +} + func (*AlterTableExpr_AddColumns) isAlterTableExpr_Kind() {} func (*AlterTableExpr_DropColumns) isAlterTableExpr_Kind() {} @@ -1026,12 +1026,174 @@ func (*AlterTableExpr_ModifyColumnTypes) isAlterTableExpr_Kind() {} func (*AlterTableExpr_SetTableOptions) isAlterTableExpr_Kind() {} -func (*AlterTableExpr_SetColumnFulltext) isAlterTableExpr_Kind() {} - -func (*AlterTableExpr_UnsetColumnFulltext) isAlterTableExpr_Kind() {} - func (*AlterTableExpr_UnsetTableOptions) isAlterTableExpr_Kind() {} +func (*AlterTableExpr_SetIndex) isAlterTableExpr_Kind() {} + +func (*AlterTableExpr_UnsetIndex) isAlterTableExpr_Kind() {} + +type SetIndex struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Options: + // + // *SetIndex_Fulltext + // *SetIndex_Inverted + Options isSetIndex_Options `protobuf_oneof:"options"` +} + +func (x *SetIndex) Reset() { + *x = SetIndex{} + if protoimpl.UnsafeEnabled { + mi := &file_greptime_v1_ddl_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetIndex) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetIndex) ProtoMessage() {} + +func (x *SetIndex) ProtoReflect() protoreflect.Message { + mi := &file_greptime_v1_ddl_proto_msgTypes[7] + 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 SetIndex.ProtoReflect.Descriptor instead. +func (*SetIndex) Descriptor() ([]byte, []int) { + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{7} +} + +func (m *SetIndex) GetOptions() isSetIndex_Options { + if m != nil { + return m.Options + } + return nil +} + +func (x *SetIndex) GetFulltext() *SetFulltext { + if x, ok := x.GetOptions().(*SetIndex_Fulltext); ok { + return x.Fulltext + } + return nil +} + +func (x *SetIndex) GetInverted() *SetInverted { + if x, ok := x.GetOptions().(*SetIndex_Inverted); ok { + return x.Inverted + } + return nil +} + +type isSetIndex_Options interface { + isSetIndex_Options() +} + +type SetIndex_Fulltext struct { + Fulltext *SetFulltext `protobuf:"bytes,1,opt,name=fulltext,proto3,oneof"` +} + +type SetIndex_Inverted struct { + Inverted *SetInverted `protobuf:"bytes,2,opt,name=inverted,proto3,oneof"` +} + +func (*SetIndex_Fulltext) isSetIndex_Options() {} + +func (*SetIndex_Inverted) isSetIndex_Options() {} + +type UnsetIndex struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Options: + // + // *UnsetIndex_Fulltext + // *UnsetIndex_Inverted + Options isUnsetIndex_Options `protobuf_oneof:"options"` +} + +func (x *UnsetIndex) Reset() { + *x = UnsetIndex{} + if protoimpl.UnsafeEnabled { + mi := &file_greptime_v1_ddl_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UnsetIndex) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UnsetIndex) ProtoMessage() {} + +func (x *UnsetIndex) ProtoReflect() protoreflect.Message { + mi := &file_greptime_v1_ddl_proto_msgTypes[8] + 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 UnsetIndex.ProtoReflect.Descriptor instead. +func (*UnsetIndex) Descriptor() ([]byte, []int) { + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{8} +} + +func (m *UnsetIndex) GetOptions() isUnsetIndex_Options { + if m != nil { + return m.Options + } + return nil +} + +func (x *UnsetIndex) GetFulltext() *UnsetFulltext { + if x, ok := x.GetOptions().(*UnsetIndex_Fulltext); ok { + return x.Fulltext + } + return nil +} + +func (x *UnsetIndex) GetInverted() *UnsetInverted { + if x, ok := x.GetOptions().(*UnsetIndex_Inverted); ok { + return x.Inverted + } + return nil +} + +type isUnsetIndex_Options interface { + isUnsetIndex_Options() +} + +type UnsetIndex_Fulltext struct { + Fulltext *UnsetFulltext `protobuf:"bytes,1,opt,name=fulltext,proto3,oneof"` +} + +type UnsetIndex_Inverted struct { + Inverted *UnsetInverted `protobuf:"bytes,2,opt,name=inverted,proto3,oneof"` +} + +func (*UnsetIndex_Fulltext) isUnsetIndex_Options() {} + +func (*UnsetIndex_Inverted) isUnsetIndex_Options() {} + type DropTableExpr struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1047,7 +1209,7 @@ type DropTableExpr struct { func (x *DropTableExpr) Reset() { *x = DropTableExpr{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[7] + mi := &file_greptime_v1_ddl_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1060,7 +1222,7 @@ func (x *DropTableExpr) String() string { func (*DropTableExpr) ProtoMessage() {} func (x *DropTableExpr) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[7] + mi := &file_greptime_v1_ddl_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1073,7 +1235,7 @@ func (x *DropTableExpr) ProtoReflect() protoreflect.Message { // Deprecated: Use DropTableExpr.ProtoReflect.Descriptor instead. func (*DropTableExpr) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{7} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{9} } func (x *DropTableExpr) GetCatalogName() string { @@ -1125,7 +1287,7 @@ type CreateDatabaseExpr struct { func (x *CreateDatabaseExpr) Reset() { *x = CreateDatabaseExpr{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[8] + mi := &file_greptime_v1_ddl_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1138,7 +1300,7 @@ func (x *CreateDatabaseExpr) String() string { func (*CreateDatabaseExpr) ProtoMessage() {} func (x *CreateDatabaseExpr) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[8] + mi := &file_greptime_v1_ddl_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1151,7 +1313,7 @@ func (x *CreateDatabaseExpr) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateDatabaseExpr.ProtoReflect.Descriptor instead. func (*CreateDatabaseExpr) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{8} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{10} } func (x *CreateDatabaseExpr) GetCatalogName() string { @@ -1196,7 +1358,7 @@ type TruncateTableExpr struct { func (x *TruncateTableExpr) Reset() { *x = TruncateTableExpr{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[9] + mi := &file_greptime_v1_ddl_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1209,7 +1371,7 @@ func (x *TruncateTableExpr) String() string { func (*TruncateTableExpr) ProtoMessage() {} func (x *TruncateTableExpr) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[9] + mi := &file_greptime_v1_ddl_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1222,7 +1384,7 @@ func (x *TruncateTableExpr) ProtoReflect() protoreflect.Message { // Deprecated: Use TruncateTableExpr.ProtoReflect.Descriptor instead. func (*TruncateTableExpr) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{9} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{11} } func (x *TruncateTableExpr) GetCatalogName() string { @@ -1266,7 +1428,7 @@ type DropDatabaseExpr struct { func (x *DropDatabaseExpr) Reset() { *x = DropDatabaseExpr{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[10] + mi := &file_greptime_v1_ddl_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1279,7 +1441,7 @@ func (x *DropDatabaseExpr) String() string { func (*DropDatabaseExpr) ProtoMessage() {} func (x *DropDatabaseExpr) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[10] + mi := &file_greptime_v1_ddl_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1292,7 +1454,7 @@ func (x *DropDatabaseExpr) ProtoReflect() protoreflect.Message { // Deprecated: Use DropDatabaseExpr.ProtoReflect.Descriptor instead. func (*DropDatabaseExpr) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{10} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{12} } func (x *DropDatabaseExpr) GetCatalogName() string { @@ -1327,7 +1489,7 @@ type AddColumns struct { func (x *AddColumns) Reset() { *x = AddColumns{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[11] + mi := &file_greptime_v1_ddl_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1340,7 +1502,7 @@ func (x *AddColumns) String() string { func (*AddColumns) ProtoMessage() {} func (x *AddColumns) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[11] + mi := &file_greptime_v1_ddl_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1353,7 +1515,7 @@ func (x *AddColumns) ProtoReflect() protoreflect.Message { // Deprecated: Use AddColumns.ProtoReflect.Descriptor instead. func (*AddColumns) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{11} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{13} } func (x *AddColumns) GetAddColumns() []*AddColumn { @@ -1374,7 +1536,7 @@ type DropColumns struct { func (x *DropColumns) Reset() { *x = DropColumns{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[12] + mi := &file_greptime_v1_ddl_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1387,7 +1549,7 @@ func (x *DropColumns) String() string { func (*DropColumns) ProtoMessage() {} func (x *DropColumns) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[12] + mi := &file_greptime_v1_ddl_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1400,7 +1562,7 @@ func (x *DropColumns) ProtoReflect() protoreflect.Message { // Deprecated: Use DropColumns.ProtoReflect.Descriptor instead. func (*DropColumns) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{12} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{14} } func (x *DropColumns) GetDropColumns() []*DropColumn { @@ -1421,7 +1583,7 @@ type ModifyColumnTypes struct { func (x *ModifyColumnTypes) Reset() { *x = ModifyColumnTypes{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[13] + mi := &file_greptime_v1_ddl_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1434,7 +1596,7 @@ func (x *ModifyColumnTypes) String() string { func (*ModifyColumnTypes) ProtoMessage() {} func (x *ModifyColumnTypes) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[13] + mi := &file_greptime_v1_ddl_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1447,7 +1609,7 @@ func (x *ModifyColumnTypes) ProtoReflect() protoreflect.Message { // Deprecated: Use ModifyColumnTypes.ProtoReflect.Descriptor instead. func (*ModifyColumnTypes) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{13} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{15} } func (x *ModifyColumnTypes) GetModifyColumnTypes() []*ModifyColumnType { @@ -1468,7 +1630,7 @@ type RenameTable struct { func (x *RenameTable) Reset() { *x = RenameTable{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[14] + mi := &file_greptime_v1_ddl_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1481,7 +1643,7 @@ func (x *RenameTable) String() string { func (*RenameTable) ProtoMessage() {} func (x *RenameTable) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[14] + mi := &file_greptime_v1_ddl_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1494,7 +1656,7 @@ func (x *RenameTable) ProtoReflect() protoreflect.Message { // Deprecated: Use RenameTable.ProtoReflect.Descriptor instead. func (*RenameTable) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{14} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{16} } func (x *RenameTable) GetNewTableName() string { @@ -1517,7 +1679,7 @@ type AddColumn struct { func (x *AddColumn) Reset() { *x = AddColumn{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[15] + mi := &file_greptime_v1_ddl_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1530,7 +1692,7 @@ func (x *AddColumn) String() string { func (*AddColumn) ProtoMessage() {} func (x *AddColumn) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[15] + mi := &file_greptime_v1_ddl_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1543,7 +1705,7 @@ func (x *AddColumn) ProtoReflect() protoreflect.Message { // Deprecated: Use AddColumn.ProtoReflect.Descriptor instead. func (*AddColumn) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{15} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{17} } func (x *AddColumn) GetColumnDef() *ColumnDef { @@ -1580,7 +1742,7 @@ type ModifyColumnType struct { func (x *ModifyColumnType) Reset() { *x = ModifyColumnType{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[16] + mi := &file_greptime_v1_ddl_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1593,7 +1755,7 @@ func (x *ModifyColumnType) String() string { func (*ModifyColumnType) ProtoMessage() {} func (x *ModifyColumnType) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[16] + mi := &file_greptime_v1_ddl_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1606,7 +1768,7 @@ func (x *ModifyColumnType) ProtoReflect() protoreflect.Message { // Deprecated: Use ModifyColumnType.ProtoReflect.Descriptor instead. func (*ModifyColumnType) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{16} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{18} } func (x *ModifyColumnType) GetColumnName() string { @@ -1642,7 +1804,7 @@ type Option struct { func (x *Option) Reset() { *x = Option{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[17] + mi := &file_greptime_v1_ddl_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1655,7 +1817,7 @@ func (x *Option) String() string { func (*Option) ProtoMessage() {} func (x *Option) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[17] + mi := &file_greptime_v1_ddl_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1668,7 +1830,7 @@ func (x *Option) ProtoReflect() protoreflect.Message { // Deprecated: Use Option.ProtoReflect.Descriptor instead. func (*Option) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{17} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{19} } func (x *Option) GetKey() string { @@ -1696,7 +1858,7 @@ type SetTableOptions struct { func (x *SetTableOptions) Reset() { *x = SetTableOptions{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[18] + mi := &file_greptime_v1_ddl_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1709,7 +1871,7 @@ func (x *SetTableOptions) String() string { func (*SetTableOptions) ProtoMessage() {} func (x *SetTableOptions) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[18] + mi := &file_greptime_v1_ddl_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1722,7 +1884,7 @@ func (x *SetTableOptions) ProtoReflect() protoreflect.Message { // Deprecated: Use SetTableOptions.ProtoReflect.Descriptor instead. func (*SetTableOptions) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{18} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{20} } func (x *SetTableOptions) GetTableOptions() []*Option { @@ -1743,7 +1905,7 @@ type UnsetTableOptions struct { func (x *UnsetTableOptions) Reset() { *x = UnsetTableOptions{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[19] + mi := &file_greptime_v1_ddl_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1756,7 +1918,7 @@ func (x *UnsetTableOptions) String() string { func (*UnsetTableOptions) ProtoMessage() {} func (x *UnsetTableOptions) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[19] + mi := &file_greptime_v1_ddl_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1769,7 +1931,7 @@ func (x *UnsetTableOptions) ProtoReflect() protoreflect.Message { // Deprecated: Use UnsetTableOptions.ProtoReflect.Descriptor instead. func (*UnsetTableOptions) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{19} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{21} } func (x *UnsetTableOptions) GetKeys() []string { @@ -1790,7 +1952,7 @@ type DropColumn struct { func (x *DropColumn) Reset() { *x = DropColumn{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[20] + mi := &file_greptime_v1_ddl_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1803,7 +1965,7 @@ func (x *DropColumn) String() string { func (*DropColumn) ProtoMessage() {} func (x *DropColumn) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[20] + mi := &file_greptime_v1_ddl_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1816,7 +1978,7 @@ func (x *DropColumn) ProtoReflect() protoreflect.Message { // Deprecated: Use DropColumn.ProtoReflect.Descriptor instead. func (*DropColumn) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{20} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{22} } func (x *DropColumn) GetName() string { @@ -1837,7 +1999,7 @@ type TableId struct { func (x *TableId) Reset() { *x = TableId{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[21] + mi := &file_greptime_v1_ddl_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1850,7 +2012,7 @@ func (x *TableId) String() string { func (*TableId) ProtoMessage() {} func (x *TableId) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[21] + mi := &file_greptime_v1_ddl_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1863,7 +2025,7 @@ func (x *TableId) ProtoReflect() protoreflect.Message { // Deprecated: Use TableId.ProtoReflect.Descriptor instead. func (*TableId) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{21} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{23} } func (x *TableId) GetId() uint32 { @@ -1884,7 +2046,7 @@ type FlowId struct { func (x *FlowId) Reset() { *x = FlowId{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[22] + mi := &file_greptime_v1_ddl_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1897,7 +2059,7 @@ func (x *FlowId) String() string { func (*FlowId) ProtoMessage() {} func (x *FlowId) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[22] + mi := &file_greptime_v1_ddl_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1910,7 +2072,7 @@ func (x *FlowId) ProtoReflect() protoreflect.Message { // Deprecated: Use FlowId.ProtoReflect.Descriptor instead. func (*FlowId) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{22} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{24} } func (x *FlowId) GetId() uint32 { @@ -1940,7 +2102,7 @@ type ColumnDef struct { func (x *ColumnDef) Reset() { *x = ColumnDef{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[23] + mi := &file_greptime_v1_ddl_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1953,7 +2115,7 @@ func (x *ColumnDef) String() string { func (*ColumnDef) ProtoMessage() {} func (x *ColumnDef) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[23] + mi := &file_greptime_v1_ddl_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1966,7 +2128,7 @@ func (x *ColumnDef) ProtoReflect() protoreflect.Message { // Deprecated: Use ColumnDef.ProtoReflect.Descriptor instead. func (*ColumnDef) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{23} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{25} } func (x *ColumnDef) GetName() string { @@ -2037,7 +2199,7 @@ type AddColumnLocation struct { func (x *AddColumnLocation) Reset() { *x = AddColumnLocation{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[24] + mi := &file_greptime_v1_ddl_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2050,7 +2212,7 @@ func (x *AddColumnLocation) String() string { func (*AddColumnLocation) ProtoMessage() {} func (x *AddColumnLocation) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[24] + mi := &file_greptime_v1_ddl_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2063,7 +2225,7 @@ func (x *AddColumnLocation) ProtoReflect() protoreflect.Message { // Deprecated: Use AddColumnLocation.ProtoReflect.Descriptor instead. func (*AddColumnLocation) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{24} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{26} } func (x *AddColumnLocation) GetLocationType() AddColumnLocation_LocationType { @@ -2080,7 +2242,7 @@ func (x *AddColumnLocation) GetAfterColumnName() string { return "" } -type SetColumnFulltext struct { +type SetFulltext struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -2091,23 +2253,23 @@ type SetColumnFulltext struct { CaseSensitive bool `protobuf:"varint,4,opt,name=case_sensitive,json=caseSensitive,proto3" json:"case_sensitive,omitempty"` } -func (x *SetColumnFulltext) Reset() { - *x = SetColumnFulltext{} +func (x *SetFulltext) Reset() { + *x = SetFulltext{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[25] + mi := &file_greptime_v1_ddl_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *SetColumnFulltext) String() string { +func (x *SetFulltext) String() string { return protoimpl.X.MessageStringOf(x) } -func (*SetColumnFulltext) ProtoMessage() {} +func (*SetFulltext) ProtoMessage() {} -func (x *SetColumnFulltext) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[25] +func (x *SetFulltext) 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 { @@ -2118,40 +2280,40 @@ func (x *SetColumnFulltext) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use SetColumnFulltext.ProtoReflect.Descriptor instead. -func (*SetColumnFulltext) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{25} +// Deprecated: Use SetFulltext.ProtoReflect.Descriptor instead. +func (*SetFulltext) Descriptor() ([]byte, []int) { + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{27} } -func (x *SetColumnFulltext) GetColumnName() string { +func (x *SetFulltext) GetColumnName() string { if x != nil { return x.ColumnName } return "" } -func (x *SetColumnFulltext) GetEnable() bool { +func (x *SetFulltext) GetEnable() bool { if x != nil { return x.Enable } return false } -func (x *SetColumnFulltext) GetAnalyzer() Analyzer { +func (x *SetFulltext) GetAnalyzer() Analyzer { if x != nil { return x.Analyzer } return Analyzer_ENGLISH } -func (x *SetColumnFulltext) GetCaseSensitive() bool { +func (x *SetFulltext) GetCaseSensitive() bool { if x != nil { return x.CaseSensitive } return false } -type UnsetColumnFulltext struct { +type UnsetFulltext struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -2159,23 +2321,23 @@ type UnsetColumnFulltext struct { ColumnName string `protobuf:"bytes,1,opt,name=column_name,json=columnName,proto3" json:"column_name,omitempty"` } -func (x *UnsetColumnFulltext) Reset() { - *x = UnsetColumnFulltext{} +func (x *UnsetFulltext) Reset() { + *x = UnsetFulltext{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[26] + mi := &file_greptime_v1_ddl_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } -func (x *UnsetColumnFulltext) String() string { +func (x *UnsetFulltext) String() string { return protoimpl.X.MessageStringOf(x) } -func (*UnsetColumnFulltext) ProtoMessage() {} +func (*UnsetFulltext) ProtoMessage() {} -func (x *UnsetColumnFulltext) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[26] +func (x *UnsetFulltext) 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 { @@ -2186,12 +2348,106 @@ func (x *UnsetColumnFulltext) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use UnsetColumnFulltext.ProtoReflect.Descriptor instead. -func (*UnsetColumnFulltext) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{26} +// Deprecated: Use UnsetFulltext.ProtoReflect.Descriptor instead. +func (*UnsetFulltext) Descriptor() ([]byte, []int) { + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{28} } -func (x *UnsetColumnFulltext) GetColumnName() string { +func (x *UnsetFulltext) GetColumnName() string { + if x != nil { + return x.ColumnName + } + return "" +} + +type SetInverted 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 *SetInverted) Reset() { + *x = SetInverted{} + if protoimpl.UnsafeEnabled { + mi := &file_greptime_v1_ddl_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetInverted) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetInverted) ProtoMessage() {} + +func (x *SetInverted) ProtoReflect() protoreflect.Message { + mi := &file_greptime_v1_ddl_proto_msgTypes[29] + 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 SetInverted.ProtoReflect.Descriptor instead. +func (*SetInverted) Descriptor() ([]byte, []int) { + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{29} +} + +func (x *SetInverted) GetColumnName() string { + if x != nil { + return x.ColumnName + } + return "" +} + +type UnsetInverted 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 *UnsetInverted) Reset() { + *x = UnsetInverted{} + if protoimpl.UnsafeEnabled { + mi := &file_greptime_v1_ddl_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UnsetInverted) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UnsetInverted) ProtoMessage() {} + +func (x *UnsetInverted) ProtoReflect() protoreflect.Message { + mi := &file_greptime_v1_ddl_proto_msgTypes[30] + 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 UnsetInverted.ProtoReflect.Descriptor instead. +func (*UnsetInverted) Descriptor() ([]byte, []int) { + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{30} +} + +func (x *UnsetInverted) GetColumnName() string { if x != nil { return x.ColumnName } @@ -2215,7 +2471,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[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2228,7 +2484,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[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2241,7 +2497,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{31} } func (x *AlterDatabaseExpr) GetCatalogName() string { @@ -2306,7 +2562,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[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2319,7 +2575,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[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2332,7 +2588,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{32} } func (x *SetDatabaseOptions) GetSetDatabaseOptions() []*Option { @@ -2353,7 +2609,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[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2366,7 +2622,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[33] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2379,7 +2635,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{33} } func (x *UnsetDatabaseOptions) GetKeys() []string { @@ -2552,7 +2808,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, 0x97, 0x05, 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, @@ -2581,214 +2837,233 @@ var file_greptime_v1_ddl_proto_rawDesc = []byte{ 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x0f, 0x73, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, - 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x73, 0x65, 0x74, 0x5f, 0x63, - 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x66, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x18, 0x09, + 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x75, 0x6e, 0x73, 0x65, 0x74, + 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x46, 0x75, 0x6c, 0x6c, - 0x74, 0x65, 0x78, 0x74, 0x48, 0x00, 0x52, 0x11, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, - 0x6e, 0x46, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x12, 0x56, 0x0a, 0x15, 0x75, 0x6e, 0x73, - 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x66, 0x75, 0x6c, 0x6c, 0x74, 0x65, - 0x78, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, - 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6c, 0x75, - 0x6d, 0x6e, 0x46, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x48, 0x00, 0x52, 0x13, 0x75, 0x6e, - 0x73, 0x65, 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x46, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, - 0x74, 0x12, 0x50, 0x0a, 0x13, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, - 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, - 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, 0xa9, 0x01, 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, 0x12, 0x29, 0x0a, 0x11, 0x61, - 0x64, 0x64, 0x5f, 0x69, 0x66, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x61, 0x64, 0x64, 0x49, 0x66, 0x4e, 0x6f, 0x74, - 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 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, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xb7, 0x01, 0x0a, 0x11, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, - 0x6d, 0x6e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x50, 0x0a, 0x0d, 0x6c, 0x6f, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, - 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2a, 0x0a, 0x11, - 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x43, 0x6f, - 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x24, 0x0a, 0x0c, 0x4c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x49, 0x52, 0x53, - 0x54, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x46, 0x54, 0x45, 0x52, 0x10, 0x01, 0x22, 0xa6, - 0x01, 0x0a, 0x11, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x46, 0x75, 0x6c, 0x6c, - 0x74, 0x65, 0x78, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, - 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x31, 0x0a, - 0x08, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x15, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6e, - 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x72, 0x52, 0x08, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x72, - 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, - 0x76, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x63, 0x61, 0x73, 0x65, 0x53, 0x65, - 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x22, 0x36, 0x0a, 0x13, 0x55, 0x6e, 0x73, 0x65, 0x74, - 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x46, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x12, 0x1f, - 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 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, - 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, + 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, 0x12, 0x34, 0x0a, 0x09, 0x73, 0x65, 0x74, + 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, + 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x49, 0x6e, + 0x64, 0x65, 0x78, 0x48, 0x00, 0x52, 0x08, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, + 0x3a, 0x0a, 0x0b, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x48, 0x00, 0x52, + 0x0a, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x42, 0x06, 0x0a, 0x04, 0x6b, + 0x69, 0x6e, 0x64, 0x22, 0x85, 0x01, 0x0a, 0x08, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, + 0x12, 0x36, 0x0a, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x53, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x48, 0x00, 0x52, 0x08, + 0x66, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x12, 0x36, 0x0a, 0x08, 0x69, 0x6e, 0x76, 0x65, + 0x72, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x65, + 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x65, + 0x72, 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x08, 0x69, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, + 0x42, 0x09, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x8b, 0x01, 0x0a, 0x0a, + 0x55, 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x38, 0x0a, 0x08, 0x66, 0x75, + 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, + 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, + 0x46, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x48, 0x00, 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, + 0x74, 0x65, 0x78, 0x74, 0x12, 0x38, 0x0a, 0x08, 0x69, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x65, 0x72, 0x74, + 0x65, 0x64, 0x48, 0x00, 0x52, 0x08, 0x69, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, 0x42, 0x09, + 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 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, 0xa9, 0x01, 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, 0x12, 0x29, 0x0a, 0x11, 0x61, 0x64, 0x64, + 0x5f, 0x69, 0x66, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x61, 0x64, 0x64, 0x49, 0x66, 0x4e, 0x6f, 0x74, 0x45, 0x78, + 0x69, 0x73, 0x74, 0x73, 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, 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, + 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, 0xa0, 0x01, 0x0a, + 0x0b, 0x53, 0x65, 0x74, 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, + 0x30, 0x0a, 0x0d, 0x55, 0x6e, 0x73, 0x65, 0x74, 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, 0x2e, 0x0a, 0x0b, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, + 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, 0x30, 0x0a, 0x0d, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x65, 0x72, 0x74, + 0x65, 0x64, 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, 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 ( @@ -2804,7 +3079,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, 37) var file_greptime_v1_ddl_proto_goTypes = []interface{}{ (Analyzer)(0), // 0: greptime.v1.Analyzer (AddColumnLocation_LocationType)(0), // 1: greptime.v1.AddColumnLocation.LocationType @@ -2815,93 +3090,101 @@ var file_greptime_v1_ddl_proto_goTypes = []interface{}{ (*DropViewExpr)(nil), // 6: greptime.v1.DropViewExpr (*CreateTableExpr)(nil), // 7: greptime.v1.CreateTableExpr (*AlterTableExpr)(nil), // 8: greptime.v1.AlterTableExpr - (*DropTableExpr)(nil), // 9: greptime.v1.DropTableExpr - (*CreateDatabaseExpr)(nil), // 10: greptime.v1.CreateDatabaseExpr - (*TruncateTableExpr)(nil), // 11: greptime.v1.TruncateTableExpr - (*DropDatabaseExpr)(nil), // 12: greptime.v1.DropDatabaseExpr - (*AddColumns)(nil), // 13: greptime.v1.AddColumns - (*DropColumns)(nil), // 14: greptime.v1.DropColumns - (*ModifyColumnTypes)(nil), // 15: greptime.v1.ModifyColumnTypes - (*RenameTable)(nil), // 16: greptime.v1.RenameTable - (*AddColumn)(nil), // 17: greptime.v1.AddColumn - (*ModifyColumnType)(nil), // 18: greptime.v1.ModifyColumnType - (*Option)(nil), // 19: greptime.v1.Option - (*SetTableOptions)(nil), // 20: greptime.v1.SetTableOptions - (*UnsetTableOptions)(nil), // 21: greptime.v1.UnsetTableOptions - (*DropColumn)(nil), // 22: greptime.v1.DropColumn - (*TableId)(nil), // 23: greptime.v1.TableId - (*FlowId)(nil), // 24: greptime.v1.FlowId - (*ColumnDef)(nil), // 25: greptime.v1.ColumnDef - (*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 + (*SetIndex)(nil), // 9: greptime.v1.SetIndex + (*UnsetIndex)(nil), // 10: greptime.v1.UnsetIndex + (*DropTableExpr)(nil), // 11: greptime.v1.DropTableExpr + (*CreateDatabaseExpr)(nil), // 12: greptime.v1.CreateDatabaseExpr + (*TruncateTableExpr)(nil), // 13: greptime.v1.TruncateTableExpr + (*DropDatabaseExpr)(nil), // 14: greptime.v1.DropDatabaseExpr + (*AddColumns)(nil), // 15: greptime.v1.AddColumns + (*DropColumns)(nil), // 16: greptime.v1.DropColumns + (*ModifyColumnTypes)(nil), // 17: greptime.v1.ModifyColumnTypes + (*RenameTable)(nil), // 18: greptime.v1.RenameTable + (*AddColumn)(nil), // 19: greptime.v1.AddColumn + (*ModifyColumnType)(nil), // 20: greptime.v1.ModifyColumnType + (*Option)(nil), // 21: greptime.v1.Option + (*SetTableOptions)(nil), // 22: greptime.v1.SetTableOptions + (*UnsetTableOptions)(nil), // 23: greptime.v1.UnsetTableOptions + (*DropColumn)(nil), // 24: greptime.v1.DropColumn + (*TableId)(nil), // 25: greptime.v1.TableId + (*FlowId)(nil), // 26: greptime.v1.FlowId + (*ColumnDef)(nil), // 27: greptime.v1.ColumnDef + (*AddColumnLocation)(nil), // 28: greptime.v1.AddColumnLocation + (*SetFulltext)(nil), // 29: greptime.v1.SetFulltext + (*UnsetFulltext)(nil), // 30: greptime.v1.UnsetFulltext + (*SetInverted)(nil), // 31: greptime.v1.SetInverted + (*UnsetInverted)(nil), // 32: greptime.v1.UnsetInverted + (*AlterDatabaseExpr)(nil), // 33: greptime.v1.AlterDatabaseExpr + (*SetDatabaseOptions)(nil), // 34: greptime.v1.SetDatabaseOptions + (*UnsetDatabaseOptions)(nil), // 35: greptime.v1.UnsetDatabaseOptions + nil, // 36: greptime.v1.CreateFlowExpr.FlowOptionsEntry + nil, // 37: greptime.v1.CreateTableExpr.TableOptionsEntry + nil, // 38: greptime.v1.CreateDatabaseExpr.OptionsEntry + (*TableName)(nil), // 39: greptime.v1.TableName + (*ExpireAfter)(nil), // 40: greptime.v1.ExpireAfter + (ColumnDataType)(0), // 41: greptime.v1.ColumnDataType + (*ColumnDataTypeExtension)(nil), // 42: greptime.v1.ColumnDataTypeExtension + (SemanticType)(0), // 43: greptime.v1.SemanticType + (*ColumnOptions)(nil), // 44: greptime.v1.ColumnOptions } var file_greptime_v1_ddl_proto_depIdxs = []int32{ - 10, // 0: greptime.v1.DdlRequest.create_database:type_name -> greptime.v1.CreateDatabaseExpr + 12, // 0: greptime.v1.DdlRequest.create_database:type_name -> greptime.v1.CreateDatabaseExpr 7, // 1: greptime.v1.DdlRequest.create_table:type_name -> greptime.v1.CreateTableExpr 8, // 2: greptime.v1.DdlRequest.alter_table:type_name -> greptime.v1.AlterTableExpr - 9, // 3: greptime.v1.DdlRequest.drop_table:type_name -> greptime.v1.DropTableExpr - 11, // 4: greptime.v1.DdlRequest.truncate_table:type_name -> greptime.v1.TruncateTableExpr + 11, // 3: greptime.v1.DdlRequest.drop_table:type_name -> greptime.v1.DropTableExpr + 13, // 4: greptime.v1.DdlRequest.truncate_table:type_name -> greptime.v1.TruncateTableExpr 3, // 5: greptime.v1.DdlRequest.create_flow:type_name -> greptime.v1.CreateFlowExpr 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 - 24, // 14: greptime.v1.DropFlowExpr.flow_id:type_name -> greptime.v1.FlowId - 35, // 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 - 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 - 16, // 22: greptime.v1.AlterTableExpr.rename_table:type_name -> greptime.v1.RenameTable - 15, // 23: greptime.v1.AlterTableExpr.modify_column_types:type_name -> greptime.v1.ModifyColumnTypes - 20, // 24: greptime.v1.AlterTableExpr.set_table_options:type_name -> greptime.v1.SetTableOptions - 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 + 33, // 9: greptime.v1.DdlRequest.alter_database:type_name -> greptime.v1.AlterDatabaseExpr + 39, // 10: greptime.v1.CreateFlowExpr.source_table_names:type_name -> greptime.v1.TableName + 39, // 11: greptime.v1.CreateFlowExpr.sink_table_name:type_name -> greptime.v1.TableName + 40, // 12: greptime.v1.CreateFlowExpr.expire_after:type_name -> greptime.v1.ExpireAfter + 36, // 13: greptime.v1.CreateFlowExpr.flow_options:type_name -> greptime.v1.CreateFlowExpr.FlowOptionsEntry + 26, // 14: greptime.v1.DropFlowExpr.flow_id:type_name -> greptime.v1.FlowId + 39, // 15: greptime.v1.CreateViewExpr.table_names:type_name -> greptime.v1.TableName + 25, // 16: greptime.v1.DropViewExpr.view_id:type_name -> greptime.v1.TableId + 27, // 17: greptime.v1.CreateTableExpr.column_defs:type_name -> greptime.v1.ColumnDef + 37, // 18: greptime.v1.CreateTableExpr.table_options:type_name -> greptime.v1.CreateTableExpr.TableOptionsEntry + 25, // 19: greptime.v1.CreateTableExpr.table_id:type_name -> greptime.v1.TableId + 15, // 20: greptime.v1.AlterTableExpr.add_columns:type_name -> greptime.v1.AddColumns + 16, // 21: greptime.v1.AlterTableExpr.drop_columns:type_name -> greptime.v1.DropColumns + 18, // 22: greptime.v1.AlterTableExpr.rename_table:type_name -> greptime.v1.RenameTable + 17, // 23: greptime.v1.AlterTableExpr.modify_column_types:type_name -> greptime.v1.ModifyColumnTypes + 22, // 24: greptime.v1.AlterTableExpr.set_table_options:type_name -> greptime.v1.SetTableOptions + 23, // 25: greptime.v1.AlterTableExpr.unset_table_options:type_name -> greptime.v1.UnsetTableOptions + 9, // 26: greptime.v1.AlterTableExpr.set_index:type_name -> greptime.v1.SetIndex + 10, // 27: greptime.v1.AlterTableExpr.unset_index:type_name -> greptime.v1.UnsetIndex + 29, // 28: greptime.v1.SetIndex.fulltext:type_name -> greptime.v1.SetFulltext + 31, // 29: greptime.v1.SetIndex.inverted:type_name -> greptime.v1.SetInverted + 30, // 30: greptime.v1.UnsetIndex.fulltext:type_name -> greptime.v1.UnsetFulltext + 32, // 31: greptime.v1.UnsetIndex.inverted:type_name -> greptime.v1.UnsetInverted + 25, // 32: greptime.v1.DropTableExpr.table_id:type_name -> greptime.v1.TableId + 38, // 33: greptime.v1.CreateDatabaseExpr.options:type_name -> greptime.v1.CreateDatabaseExpr.OptionsEntry + 25, // 34: greptime.v1.TruncateTableExpr.table_id:type_name -> greptime.v1.TableId + 19, // 35: greptime.v1.AddColumns.add_columns:type_name -> greptime.v1.AddColumn + 24, // 36: greptime.v1.DropColumns.drop_columns:type_name -> greptime.v1.DropColumn + 20, // 37: greptime.v1.ModifyColumnTypes.modify_column_types:type_name -> greptime.v1.ModifyColumnType + 27, // 38: greptime.v1.AddColumn.column_def:type_name -> greptime.v1.ColumnDef + 28, // 39: greptime.v1.AddColumn.location:type_name -> greptime.v1.AddColumnLocation + 41, // 40: greptime.v1.ModifyColumnType.target_type:type_name -> greptime.v1.ColumnDataType + 42, // 41: greptime.v1.ModifyColumnType.target_type_extension:type_name -> greptime.v1.ColumnDataTypeExtension + 21, // 42: greptime.v1.SetTableOptions.table_options:type_name -> greptime.v1.Option + 41, // 43: greptime.v1.ColumnDef.data_type:type_name -> greptime.v1.ColumnDataType + 43, // 44: greptime.v1.ColumnDef.semantic_type:type_name -> greptime.v1.SemanticType + 42, // 45: greptime.v1.ColumnDef.datatype_extension:type_name -> greptime.v1.ColumnDataTypeExtension + 44, // 46: greptime.v1.ColumnDef.options:type_name -> greptime.v1.ColumnOptions + 1, // 47: greptime.v1.AddColumnLocation.location_type:type_name -> greptime.v1.AddColumnLocation.LocationType + 0, // 48: greptime.v1.SetFulltext.analyzer:type_name -> greptime.v1.Analyzer + 34, // 49: greptime.v1.AlterDatabaseExpr.set_database_options:type_name -> greptime.v1.SetDatabaseOptions + 35, // 50: greptime.v1.AlterDatabaseExpr.unset_database_options:type_name -> greptime.v1.UnsetDatabaseOptions + 21, // 51: greptime.v1.SetDatabaseOptions.set_database_options:type_name -> greptime.v1.Option + 52, // [52:52] is the sub-list for method output_type + 52, // [52:52] is the sub-list for method input_type + 52, // [52:52] is the sub-list for extension type_name + 52, // [52:52] is the sub-list for extension extendee + 0, // [0:52] is the sub-list for field type_name } func init() { file_greptime_v1_ddl_proto_init() } @@ -2996,7 +3279,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DropTableExpr); i { + switch v := v.(*SetIndex); i { case 0: return &v.state case 1: @@ -3008,7 +3291,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateDatabaseExpr); i { + switch v := v.(*UnsetIndex); i { case 0: return &v.state case 1: @@ -3020,7 +3303,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TruncateTableExpr); i { + switch v := v.(*DropTableExpr); i { case 0: return &v.state case 1: @@ -3032,7 +3315,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DropDatabaseExpr); i { + switch v := v.(*CreateDatabaseExpr); i { case 0: return &v.state case 1: @@ -3044,7 +3327,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddColumns); i { + switch v := v.(*TruncateTableExpr); i { case 0: return &v.state case 1: @@ -3056,7 +3339,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DropColumns); i { + switch v := v.(*DropDatabaseExpr); i { case 0: return &v.state case 1: @@ -3068,7 +3351,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ModifyColumnTypes); i { + switch v := v.(*AddColumns); i { case 0: return &v.state case 1: @@ -3080,7 +3363,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RenameTable); i { + switch v := v.(*DropColumns); i { case 0: return &v.state case 1: @@ -3092,7 +3375,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddColumn); i { + switch v := v.(*ModifyColumnTypes); i { case 0: return &v.state case 1: @@ -3104,7 +3387,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ModifyColumnType); i { + switch v := v.(*RenameTable); i { case 0: return &v.state case 1: @@ -3116,7 +3399,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Option); i { + switch v := v.(*AddColumn); i { case 0: return &v.state case 1: @@ -3128,7 +3411,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetTableOptions); i { + switch v := v.(*ModifyColumnType); i { case 0: return &v.state case 1: @@ -3140,7 +3423,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UnsetTableOptions); i { + switch v := v.(*Option); i { case 0: return &v.state case 1: @@ -3152,7 +3435,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DropColumn); i { + switch v := v.(*SetTableOptions); i { case 0: return &v.state case 1: @@ -3164,7 +3447,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TableId); i { + switch v := v.(*UnsetTableOptions); i { case 0: return &v.state case 1: @@ -3176,7 +3459,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FlowId); i { + switch v := v.(*DropColumn); i { case 0: return &v.state case 1: @@ -3188,7 +3471,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ColumnDef); i { + switch v := v.(*TableId); i { case 0: return &v.state case 1: @@ -3200,7 +3483,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddColumnLocation); i { + switch v := v.(*FlowId); i { case 0: return &v.state case 1: @@ -3212,7 +3495,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetColumnFulltext); i { + switch v := v.(*ColumnDef); i { case 0: return &v.state case 1: @@ -3224,7 +3507,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UnsetColumnFulltext); i { + switch v := v.(*AddColumnLocation); i { case 0: return &v.state case 1: @@ -3236,7 +3519,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.(*SetFulltext); i { case 0: return &v.state case 1: @@ -3248,7 +3531,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.(*UnsetFulltext); i { case 0: return &v.state case 1: @@ -3260,6 +3543,54 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetInverted); 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.(*UnsetInverted); 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.(*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[32].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[33].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UnsetDatabaseOptions); i { case 0: return &v.state @@ -3290,11 +3621,19 @@ func file_greptime_v1_ddl_proto_init() { (*AlterTableExpr_RenameTable)(nil), (*AlterTableExpr_ModifyColumnTypes)(nil), (*AlterTableExpr_SetTableOptions)(nil), - (*AlterTableExpr_SetColumnFulltext)(nil), - (*AlterTableExpr_UnsetColumnFulltext)(nil), (*AlterTableExpr_UnsetTableOptions)(nil), + (*AlterTableExpr_SetIndex)(nil), + (*AlterTableExpr_UnsetIndex)(nil), } - file_greptime_v1_ddl_proto_msgTypes[27].OneofWrappers = []interface{}{ + file_greptime_v1_ddl_proto_msgTypes[7].OneofWrappers = []interface{}{ + (*SetIndex_Fulltext)(nil), + (*SetIndex_Inverted)(nil), + } + file_greptime_v1_ddl_proto_msgTypes[8].OneofWrappers = []interface{}{ + (*UnsetIndex_Fulltext)(nil), + (*UnsetIndex_Inverted)(nil), + } + file_greptime_v1_ddl_proto_msgTypes[31].OneofWrappers = []interface{}{ (*AlterDatabaseExpr_SetDatabaseOptions)(nil), (*AlterDatabaseExpr_UnsetDatabaseOptions)(nil), } @@ -3304,7 +3643,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: 37, 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 c55c5b3..d96d1b4 100644 --- a/java/src/main/java/io/greptime/v1/Ddl.java +++ b/java/src/main/java/io/greptime/v1/Ddl.java @@ -12090,36 +12090,6 @@ java.lang.String defaultValue); */ io.greptime.v1.Ddl.SetTableOptionsOrBuilder getSetTableOptionsOrBuilder(); - /** - * .greptime.v1.SetColumnFulltext set_column_fulltext = 9; - * @return Whether the setColumnFulltext field is set. - */ - boolean hasSetColumnFulltext(); - /** - * .greptime.v1.SetColumnFulltext set_column_fulltext = 9; - * @return The setColumnFulltext. - */ - io.greptime.v1.Ddl.SetColumnFulltext getSetColumnFulltext(); - /** - * .greptime.v1.SetColumnFulltext set_column_fulltext = 9; - */ - io.greptime.v1.Ddl.SetColumnFulltextOrBuilder getSetColumnFulltextOrBuilder(); - - /** - * .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 10; - * @return Whether the unsetColumnFulltext field is set. - */ - boolean hasUnsetColumnFulltext(); - /** - * .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 10; - * @return The unsetColumnFulltext. - */ - io.greptime.v1.Ddl.UnsetColumnFulltext getUnsetColumnFulltext(); - /** - * .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 10; - */ - io.greptime.v1.Ddl.UnsetColumnFulltextOrBuilder getUnsetColumnFulltextOrBuilder(); - /** * .greptime.v1.UnsetTableOptions unset_table_options = 11; * @return Whether the unsetTableOptions field is set. @@ -12135,6 +12105,36 @@ java.lang.String defaultValue); */ io.greptime.v1.Ddl.UnsetTableOptionsOrBuilder getUnsetTableOptionsOrBuilder(); + /** + * .greptime.v1.SetIndex set_index = 12; + * @return Whether the setIndex field is set. + */ + boolean hasSetIndex(); + /** + * .greptime.v1.SetIndex set_index = 12; + * @return The setIndex. + */ + io.greptime.v1.Ddl.SetIndex getSetIndex(); + /** + * .greptime.v1.SetIndex set_index = 12; + */ + io.greptime.v1.Ddl.SetIndexOrBuilder getSetIndexOrBuilder(); + + /** + * .greptime.v1.UnsetIndex unset_index = 13; + * @return Whether the unsetIndex field is set. + */ + boolean hasUnsetIndex(); + /** + * .greptime.v1.UnsetIndex unset_index = 13; + * @return The unsetIndex. + */ + io.greptime.v1.Ddl.UnsetIndex getUnsetIndex(); + /** + * .greptime.v1.UnsetIndex unset_index = 13; + */ + io.greptime.v1.Ddl.UnsetIndexOrBuilder getUnsetIndexOrBuilder(); + public io.greptime.v1.Ddl.AlterTableExpr.KindCase getKindCase(); } /** @@ -12273,34 +12273,6 @@ java.lang.String defaultValue); kindCase_ = 8; break; } - case 74: { - io.greptime.v1.Ddl.SetColumnFulltext.Builder subBuilder = null; - if (kindCase_ == 9) { - subBuilder = ((io.greptime.v1.Ddl.SetColumnFulltext) kind_).toBuilder(); - } - kind_ = - input.readMessage(io.greptime.v1.Ddl.SetColumnFulltext.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((io.greptime.v1.Ddl.SetColumnFulltext) kind_); - kind_ = subBuilder.buildPartial(); - } - kindCase_ = 9; - break; - } - case 82: { - io.greptime.v1.Ddl.UnsetColumnFulltext.Builder subBuilder = null; - if (kindCase_ == 10) { - subBuilder = ((io.greptime.v1.Ddl.UnsetColumnFulltext) kind_).toBuilder(); - } - kind_ = - input.readMessage(io.greptime.v1.Ddl.UnsetColumnFulltext.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((io.greptime.v1.Ddl.UnsetColumnFulltext) kind_); - kind_ = subBuilder.buildPartial(); - } - kindCase_ = 10; - break; - } case 90: { io.greptime.v1.Ddl.UnsetTableOptions.Builder subBuilder = null; if (kindCase_ == 11) { @@ -12315,6 +12287,34 @@ java.lang.String defaultValue); kindCase_ = 11; break; } + case 98: { + io.greptime.v1.Ddl.SetIndex.Builder subBuilder = null; + if (kindCase_ == 12) { + subBuilder = ((io.greptime.v1.Ddl.SetIndex) kind_).toBuilder(); + } + kind_ = + input.readMessage(io.greptime.v1.Ddl.SetIndex.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((io.greptime.v1.Ddl.SetIndex) kind_); + kind_ = subBuilder.buildPartial(); + } + kindCase_ = 12; + break; + } + case 106: { + io.greptime.v1.Ddl.UnsetIndex.Builder subBuilder = null; + if (kindCase_ == 13) { + subBuilder = ((io.greptime.v1.Ddl.UnsetIndex) kind_).toBuilder(); + } + kind_ = + input.readMessage(io.greptime.v1.Ddl.UnsetIndex.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((io.greptime.v1.Ddl.UnsetIndex) kind_); + kind_ = subBuilder.buildPartial(); + } + kindCase_ = 13; + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -12359,9 +12359,9 @@ java.lang.String defaultValue); RENAME_TABLE(6), MODIFY_COLUMN_TYPES(7), SET_TABLE_OPTIONS(8), - SET_COLUMN_FULLTEXT(9), - UNSET_COLUMN_FULLTEXT(10), UNSET_TABLE_OPTIONS(11), + SET_INDEX(12), + UNSET_INDEX(13), KIND_NOT_SET(0); private final int value; private KindCase(int value) { @@ -12384,9 +12384,9 @@ java.lang.String defaultValue); case 6: return RENAME_TABLE; case 7: return MODIFY_COLUMN_TYPES; case 8: return SET_TABLE_OPTIONS; - case 9: return SET_COLUMN_FULLTEXT; - case 10: return UNSET_COLUMN_FULLTEXT; case 11: return UNSET_TABLE_OPTIONS; + case 12: return SET_INDEX; + case 13: return UNSET_INDEX; case 0: return KIND_NOT_SET; default: return null; } @@ -12671,68 +12671,6 @@ java.lang.String defaultValue); return io.greptime.v1.Ddl.SetTableOptions.getDefaultInstance(); } - public static final int SET_COLUMN_FULLTEXT_FIELD_NUMBER = 9; - /** - * .greptime.v1.SetColumnFulltext set_column_fulltext = 9; - * @return Whether the setColumnFulltext field is set. - */ - @java.lang.Override - public boolean hasSetColumnFulltext() { - return kindCase_ == 9; - } - /** - * .greptime.v1.SetColumnFulltext set_column_fulltext = 9; - * @return The setColumnFulltext. - */ - @java.lang.Override - public io.greptime.v1.Ddl.SetColumnFulltext getSetColumnFulltext() { - if (kindCase_ == 9) { - return (io.greptime.v1.Ddl.SetColumnFulltext) kind_; - } - return io.greptime.v1.Ddl.SetColumnFulltext.getDefaultInstance(); - } - /** - * .greptime.v1.SetColumnFulltext set_column_fulltext = 9; - */ - @java.lang.Override - public io.greptime.v1.Ddl.SetColumnFulltextOrBuilder getSetColumnFulltextOrBuilder() { - if (kindCase_ == 9) { - return (io.greptime.v1.Ddl.SetColumnFulltext) kind_; - } - return io.greptime.v1.Ddl.SetColumnFulltext.getDefaultInstance(); - } - - public static final int UNSET_COLUMN_FULLTEXT_FIELD_NUMBER = 10; - /** - * .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 10; - * @return Whether the unsetColumnFulltext field is set. - */ - @java.lang.Override - public boolean hasUnsetColumnFulltext() { - return kindCase_ == 10; - } - /** - * .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 10; - * @return The unsetColumnFulltext. - */ - @java.lang.Override - public io.greptime.v1.Ddl.UnsetColumnFulltext getUnsetColumnFulltext() { - if (kindCase_ == 10) { - return (io.greptime.v1.Ddl.UnsetColumnFulltext) kind_; - } - return io.greptime.v1.Ddl.UnsetColumnFulltext.getDefaultInstance(); - } - /** - * .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 10; - */ - @java.lang.Override - public io.greptime.v1.Ddl.UnsetColumnFulltextOrBuilder getUnsetColumnFulltextOrBuilder() { - if (kindCase_ == 10) { - return (io.greptime.v1.Ddl.UnsetColumnFulltext) kind_; - } - return io.greptime.v1.Ddl.UnsetColumnFulltext.getDefaultInstance(); - } - public static final int UNSET_TABLE_OPTIONS_FIELD_NUMBER = 11; /** * .greptime.v1.UnsetTableOptions unset_table_options = 11; @@ -12764,6 +12702,68 @@ java.lang.String defaultValue); return io.greptime.v1.Ddl.UnsetTableOptions.getDefaultInstance(); } + public static final int SET_INDEX_FIELD_NUMBER = 12; + /** + * .greptime.v1.SetIndex set_index = 12; + * @return Whether the setIndex field is set. + */ + @java.lang.Override + public boolean hasSetIndex() { + return kindCase_ == 12; + } + /** + * .greptime.v1.SetIndex set_index = 12; + * @return The setIndex. + */ + @java.lang.Override + public io.greptime.v1.Ddl.SetIndex getSetIndex() { + if (kindCase_ == 12) { + return (io.greptime.v1.Ddl.SetIndex) kind_; + } + return io.greptime.v1.Ddl.SetIndex.getDefaultInstance(); + } + /** + * .greptime.v1.SetIndex set_index = 12; + */ + @java.lang.Override + public io.greptime.v1.Ddl.SetIndexOrBuilder getSetIndexOrBuilder() { + if (kindCase_ == 12) { + return (io.greptime.v1.Ddl.SetIndex) kind_; + } + return io.greptime.v1.Ddl.SetIndex.getDefaultInstance(); + } + + public static final int UNSET_INDEX_FIELD_NUMBER = 13; + /** + * .greptime.v1.UnsetIndex unset_index = 13; + * @return Whether the unsetIndex field is set. + */ + @java.lang.Override + public boolean hasUnsetIndex() { + return kindCase_ == 13; + } + /** + * .greptime.v1.UnsetIndex unset_index = 13; + * @return The unsetIndex. + */ + @java.lang.Override + public io.greptime.v1.Ddl.UnsetIndex getUnsetIndex() { + if (kindCase_ == 13) { + return (io.greptime.v1.Ddl.UnsetIndex) kind_; + } + return io.greptime.v1.Ddl.UnsetIndex.getDefaultInstance(); + } + /** + * .greptime.v1.UnsetIndex unset_index = 13; + */ + @java.lang.Override + public io.greptime.v1.Ddl.UnsetIndexOrBuilder getUnsetIndexOrBuilder() { + if (kindCase_ == 13) { + return (io.greptime.v1.Ddl.UnsetIndex) kind_; + } + return io.greptime.v1.Ddl.UnsetIndex.getDefaultInstance(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -12802,15 +12802,15 @@ java.lang.String defaultValue); if (kindCase_ == 8) { output.writeMessage(8, (io.greptime.v1.Ddl.SetTableOptions) kind_); } - if (kindCase_ == 9) { - output.writeMessage(9, (io.greptime.v1.Ddl.SetColumnFulltext) kind_); - } - if (kindCase_ == 10) { - output.writeMessage(10, (io.greptime.v1.Ddl.UnsetColumnFulltext) kind_); - } if (kindCase_ == 11) { output.writeMessage(11, (io.greptime.v1.Ddl.UnsetTableOptions) kind_); } + if (kindCase_ == 12) { + output.writeMessage(12, (io.greptime.v1.Ddl.SetIndex) kind_); + } + if (kindCase_ == 13) { + output.writeMessage(13, (io.greptime.v1.Ddl.UnsetIndex) kind_); + } unknownFields.writeTo(output); } @@ -12849,18 +12849,18 @@ java.lang.String defaultValue); size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, (io.greptime.v1.Ddl.SetTableOptions) kind_); } - if (kindCase_ == 9) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, (io.greptime.v1.Ddl.SetColumnFulltext) kind_); - } - if (kindCase_ == 10) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, (io.greptime.v1.Ddl.UnsetColumnFulltext) kind_); - } if (kindCase_ == 11) { 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.SetIndex) kind_); + } + if (kindCase_ == 13) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, (io.greptime.v1.Ddl.UnsetIndex) kind_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -12904,18 +12904,18 @@ java.lang.String defaultValue); if (!getSetTableOptions() .equals(other.getSetTableOptions())) return false; break; - case 9: - if (!getSetColumnFulltext() - .equals(other.getSetColumnFulltext())) return false; - break; - case 10: - if (!getUnsetColumnFulltext() - .equals(other.getUnsetColumnFulltext())) return false; - break; case 11: if (!getUnsetTableOptions() .equals(other.getUnsetTableOptions())) return false; break; + case 12: + if (!getSetIndex() + .equals(other.getSetIndex())) return false; + break; + case 13: + if (!getUnsetIndex() + .equals(other.getUnsetIndex())) return false; + break; case 0: default: } @@ -12957,18 +12957,18 @@ java.lang.String defaultValue); hash = (37 * hash) + SET_TABLE_OPTIONS_FIELD_NUMBER; hash = (53 * hash) + getSetTableOptions().hashCode(); break; - case 9: - hash = (37 * hash) + SET_COLUMN_FULLTEXT_FIELD_NUMBER; - hash = (53 * hash) + getSetColumnFulltext().hashCode(); - break; - case 10: - hash = (37 * hash) + UNSET_COLUMN_FULLTEXT_FIELD_NUMBER; - hash = (53 * hash) + getUnsetColumnFulltext().hashCode(); - break; case 11: hash = (37 * hash) + UNSET_TABLE_OPTIONS_FIELD_NUMBER; hash = (53 * hash) + getUnsetTableOptions().hashCode(); break; + case 12: + hash = (37 * hash) + SET_INDEX_FIELD_NUMBER; + hash = (53 * hash) + getSetIndex().hashCode(); + break; + case 13: + hash = (37 * hash) + UNSET_INDEX_FIELD_NUMBER; + hash = (53 * hash) + getUnsetIndex().hashCode(); + break; case 0: default: } @@ -13177,20 +13177,6 @@ java.lang.String defaultValue); result.kind_ = setTableOptionsBuilder_.build(); } } - if (kindCase_ == 9) { - if (setColumnFulltextBuilder_ == null) { - result.kind_ = kind_; - } else { - result.kind_ = setColumnFulltextBuilder_.build(); - } - } - if (kindCase_ == 10) { - if (unsetColumnFulltextBuilder_ == null) { - result.kind_ = kind_; - } else { - result.kind_ = unsetColumnFulltextBuilder_.build(); - } - } if (kindCase_ == 11) { if (unsetTableOptionsBuilder_ == null) { result.kind_ = kind_; @@ -13198,6 +13184,20 @@ java.lang.String defaultValue); result.kind_ = unsetTableOptionsBuilder_.build(); } } + if (kindCase_ == 12) { + if (setIndexBuilder_ == null) { + result.kind_ = kind_; + } else { + result.kind_ = setIndexBuilder_.build(); + } + } + if (kindCase_ == 13) { + if (unsetIndexBuilder_ == null) { + result.kind_ = kind_; + } else { + result.kind_ = unsetIndexBuilder_.build(); + } + } result.kindCase_ = kindCase_; onBuilt(); return result; @@ -13280,18 +13280,18 @@ java.lang.String defaultValue); mergeSetTableOptions(other.getSetTableOptions()); break; } - case SET_COLUMN_FULLTEXT: { - mergeSetColumnFulltext(other.getSetColumnFulltext()); - break; - } - case UNSET_COLUMN_FULLTEXT: { - mergeUnsetColumnFulltext(other.getUnsetColumnFulltext()); - break; - } case UNSET_TABLE_OPTIONS: { mergeUnsetTableOptions(other.getUnsetTableOptions()); break; } + case SET_INDEX: { + mergeSetIndex(other.getSetIndex()); + break; + } + case UNSET_INDEX: { + mergeUnsetIndex(other.getUnsetIndex()); + break; + } case KIND_NOT_SET: { break; } @@ -14278,290 +14278,6 @@ java.lang.String defaultValue); return setTableOptionsBuilder_; } - private com.google.protobuf.SingleFieldBuilderV3< - io.greptime.v1.Ddl.SetColumnFulltext, io.greptime.v1.Ddl.SetColumnFulltext.Builder, io.greptime.v1.Ddl.SetColumnFulltextOrBuilder> setColumnFulltextBuilder_; - /** - * .greptime.v1.SetColumnFulltext set_column_fulltext = 9; - * @return Whether the setColumnFulltext field is set. - */ - @java.lang.Override - public boolean hasSetColumnFulltext() { - return kindCase_ == 9; - } - /** - * .greptime.v1.SetColumnFulltext set_column_fulltext = 9; - * @return The setColumnFulltext. - */ - @java.lang.Override - public io.greptime.v1.Ddl.SetColumnFulltext getSetColumnFulltext() { - if (setColumnFulltextBuilder_ == null) { - if (kindCase_ == 9) { - return (io.greptime.v1.Ddl.SetColumnFulltext) kind_; - } - return io.greptime.v1.Ddl.SetColumnFulltext.getDefaultInstance(); - } else { - if (kindCase_ == 9) { - return setColumnFulltextBuilder_.getMessage(); - } - return io.greptime.v1.Ddl.SetColumnFulltext.getDefaultInstance(); - } - } - /** - * .greptime.v1.SetColumnFulltext set_column_fulltext = 9; - */ - public Builder setSetColumnFulltext(io.greptime.v1.Ddl.SetColumnFulltext value) { - if (setColumnFulltextBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - kind_ = value; - onChanged(); - } else { - setColumnFulltextBuilder_.setMessage(value); - } - kindCase_ = 9; - return this; - } - /** - * .greptime.v1.SetColumnFulltext set_column_fulltext = 9; - */ - public Builder setSetColumnFulltext( - io.greptime.v1.Ddl.SetColumnFulltext.Builder builderForValue) { - if (setColumnFulltextBuilder_ == null) { - kind_ = builderForValue.build(); - onChanged(); - } else { - setColumnFulltextBuilder_.setMessage(builderForValue.build()); - } - kindCase_ = 9; - return this; - } - /** - * .greptime.v1.SetColumnFulltext set_column_fulltext = 9; - */ - public Builder mergeSetColumnFulltext(io.greptime.v1.Ddl.SetColumnFulltext value) { - if (setColumnFulltextBuilder_ == null) { - if (kindCase_ == 9 && - kind_ != io.greptime.v1.Ddl.SetColumnFulltext.getDefaultInstance()) { - kind_ = io.greptime.v1.Ddl.SetColumnFulltext.newBuilder((io.greptime.v1.Ddl.SetColumnFulltext) kind_) - .mergeFrom(value).buildPartial(); - } else { - kind_ = value; - } - onChanged(); - } else { - if (kindCase_ == 9) { - setColumnFulltextBuilder_.mergeFrom(value); - } else { - setColumnFulltextBuilder_.setMessage(value); - } - } - kindCase_ = 9; - return this; - } - /** - * .greptime.v1.SetColumnFulltext set_column_fulltext = 9; - */ - public Builder clearSetColumnFulltext() { - if (setColumnFulltextBuilder_ == null) { - if (kindCase_ == 9) { - kindCase_ = 0; - kind_ = null; - onChanged(); - } - } else { - if (kindCase_ == 9) { - kindCase_ = 0; - kind_ = null; - } - setColumnFulltextBuilder_.clear(); - } - return this; - } - /** - * .greptime.v1.SetColumnFulltext set_column_fulltext = 9; - */ - public io.greptime.v1.Ddl.SetColumnFulltext.Builder getSetColumnFulltextBuilder() { - return getSetColumnFulltextFieldBuilder().getBuilder(); - } - /** - * .greptime.v1.SetColumnFulltext set_column_fulltext = 9; - */ - @java.lang.Override - public io.greptime.v1.Ddl.SetColumnFulltextOrBuilder getSetColumnFulltextOrBuilder() { - if ((kindCase_ == 9) && (setColumnFulltextBuilder_ != null)) { - return setColumnFulltextBuilder_.getMessageOrBuilder(); - } else { - if (kindCase_ == 9) { - return (io.greptime.v1.Ddl.SetColumnFulltext) kind_; - } - return io.greptime.v1.Ddl.SetColumnFulltext.getDefaultInstance(); - } - } - /** - * .greptime.v1.SetColumnFulltext set_column_fulltext = 9; - */ - private com.google.protobuf.SingleFieldBuilderV3< - io.greptime.v1.Ddl.SetColumnFulltext, io.greptime.v1.Ddl.SetColumnFulltext.Builder, io.greptime.v1.Ddl.SetColumnFulltextOrBuilder> - getSetColumnFulltextFieldBuilder() { - if (setColumnFulltextBuilder_ == null) { - if (!(kindCase_ == 9)) { - kind_ = io.greptime.v1.Ddl.SetColumnFulltext.getDefaultInstance(); - } - setColumnFulltextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.greptime.v1.Ddl.SetColumnFulltext, io.greptime.v1.Ddl.SetColumnFulltext.Builder, io.greptime.v1.Ddl.SetColumnFulltextOrBuilder>( - (io.greptime.v1.Ddl.SetColumnFulltext) kind_, - getParentForChildren(), - isClean()); - kind_ = null; - } - kindCase_ = 9; - onChanged();; - return setColumnFulltextBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - io.greptime.v1.Ddl.UnsetColumnFulltext, io.greptime.v1.Ddl.UnsetColumnFulltext.Builder, io.greptime.v1.Ddl.UnsetColumnFulltextOrBuilder> unsetColumnFulltextBuilder_; - /** - * .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 10; - * @return Whether the unsetColumnFulltext field is set. - */ - @java.lang.Override - public boolean hasUnsetColumnFulltext() { - return kindCase_ == 10; - } - /** - * .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 10; - * @return The unsetColumnFulltext. - */ - @java.lang.Override - public io.greptime.v1.Ddl.UnsetColumnFulltext getUnsetColumnFulltext() { - if (unsetColumnFulltextBuilder_ == null) { - if (kindCase_ == 10) { - return (io.greptime.v1.Ddl.UnsetColumnFulltext) kind_; - } - return io.greptime.v1.Ddl.UnsetColumnFulltext.getDefaultInstance(); - } else { - if (kindCase_ == 10) { - return unsetColumnFulltextBuilder_.getMessage(); - } - return io.greptime.v1.Ddl.UnsetColumnFulltext.getDefaultInstance(); - } - } - /** - * .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 10; - */ - public Builder setUnsetColumnFulltext(io.greptime.v1.Ddl.UnsetColumnFulltext value) { - if (unsetColumnFulltextBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - kind_ = value; - onChanged(); - } else { - unsetColumnFulltextBuilder_.setMessage(value); - } - kindCase_ = 10; - return this; - } - /** - * .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 10; - */ - public Builder setUnsetColumnFulltext( - io.greptime.v1.Ddl.UnsetColumnFulltext.Builder builderForValue) { - if (unsetColumnFulltextBuilder_ == null) { - kind_ = builderForValue.build(); - onChanged(); - } else { - unsetColumnFulltextBuilder_.setMessage(builderForValue.build()); - } - kindCase_ = 10; - return this; - } - /** - * .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 10; - */ - public Builder mergeUnsetColumnFulltext(io.greptime.v1.Ddl.UnsetColumnFulltext value) { - if (unsetColumnFulltextBuilder_ == null) { - if (kindCase_ == 10 && - kind_ != io.greptime.v1.Ddl.UnsetColumnFulltext.getDefaultInstance()) { - kind_ = io.greptime.v1.Ddl.UnsetColumnFulltext.newBuilder((io.greptime.v1.Ddl.UnsetColumnFulltext) kind_) - .mergeFrom(value).buildPartial(); - } else { - kind_ = value; - } - onChanged(); - } else { - if (kindCase_ == 10) { - unsetColumnFulltextBuilder_.mergeFrom(value); - } else { - unsetColumnFulltextBuilder_.setMessage(value); - } - } - kindCase_ = 10; - return this; - } - /** - * .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 10; - */ - public Builder clearUnsetColumnFulltext() { - if (unsetColumnFulltextBuilder_ == null) { - if (kindCase_ == 10) { - kindCase_ = 0; - kind_ = null; - onChanged(); - } - } else { - if (kindCase_ == 10) { - kindCase_ = 0; - kind_ = null; - } - unsetColumnFulltextBuilder_.clear(); - } - return this; - } - /** - * .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 10; - */ - public io.greptime.v1.Ddl.UnsetColumnFulltext.Builder getUnsetColumnFulltextBuilder() { - return getUnsetColumnFulltextFieldBuilder().getBuilder(); - } - /** - * .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 10; - */ - @java.lang.Override - public io.greptime.v1.Ddl.UnsetColumnFulltextOrBuilder getUnsetColumnFulltextOrBuilder() { - if ((kindCase_ == 10) && (unsetColumnFulltextBuilder_ != null)) { - return unsetColumnFulltextBuilder_.getMessageOrBuilder(); - } else { - if (kindCase_ == 10) { - return (io.greptime.v1.Ddl.UnsetColumnFulltext) kind_; - } - return io.greptime.v1.Ddl.UnsetColumnFulltext.getDefaultInstance(); - } - } - /** - * .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 10; - */ - private com.google.protobuf.SingleFieldBuilderV3< - io.greptime.v1.Ddl.UnsetColumnFulltext, io.greptime.v1.Ddl.UnsetColumnFulltext.Builder, io.greptime.v1.Ddl.UnsetColumnFulltextOrBuilder> - getUnsetColumnFulltextFieldBuilder() { - if (unsetColumnFulltextBuilder_ == null) { - if (!(kindCase_ == 10)) { - kind_ = io.greptime.v1.Ddl.UnsetColumnFulltext.getDefaultInstance(); - } - unsetColumnFulltextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - io.greptime.v1.Ddl.UnsetColumnFulltext, io.greptime.v1.Ddl.UnsetColumnFulltext.Builder, io.greptime.v1.Ddl.UnsetColumnFulltextOrBuilder>( - (io.greptime.v1.Ddl.UnsetColumnFulltext) kind_, - getParentForChildren(), - isClean()); - kind_ = null; - } - kindCase_ = 10; - onChanged();; - return unsetColumnFulltextBuilder_; - } - private com.google.protobuf.SingleFieldBuilderV3< io.greptime.v1.Ddl.UnsetTableOptions, io.greptime.v1.Ddl.UnsetTableOptions.Builder, io.greptime.v1.Ddl.UnsetTableOptionsOrBuilder> unsetTableOptionsBuilder_; /** @@ -14703,6 +14419,290 @@ java.lang.String defaultValue); onChanged();; return unsetTableOptionsBuilder_; } + + private com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Ddl.SetIndex, io.greptime.v1.Ddl.SetIndex.Builder, io.greptime.v1.Ddl.SetIndexOrBuilder> setIndexBuilder_; + /** + * .greptime.v1.SetIndex set_index = 12; + * @return Whether the setIndex field is set. + */ + @java.lang.Override + public boolean hasSetIndex() { + return kindCase_ == 12; + } + /** + * .greptime.v1.SetIndex set_index = 12; + * @return The setIndex. + */ + @java.lang.Override + public io.greptime.v1.Ddl.SetIndex getSetIndex() { + if (setIndexBuilder_ == null) { + if (kindCase_ == 12) { + return (io.greptime.v1.Ddl.SetIndex) kind_; + } + return io.greptime.v1.Ddl.SetIndex.getDefaultInstance(); + } else { + if (kindCase_ == 12) { + return setIndexBuilder_.getMessage(); + } + return io.greptime.v1.Ddl.SetIndex.getDefaultInstance(); + } + } + /** + * .greptime.v1.SetIndex set_index = 12; + */ + public Builder setSetIndex(io.greptime.v1.Ddl.SetIndex value) { + if (setIndexBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + kind_ = value; + onChanged(); + } else { + setIndexBuilder_.setMessage(value); + } + kindCase_ = 12; + return this; + } + /** + * .greptime.v1.SetIndex set_index = 12; + */ + public Builder setSetIndex( + io.greptime.v1.Ddl.SetIndex.Builder builderForValue) { + if (setIndexBuilder_ == null) { + kind_ = builderForValue.build(); + onChanged(); + } else { + setIndexBuilder_.setMessage(builderForValue.build()); + } + kindCase_ = 12; + return this; + } + /** + * .greptime.v1.SetIndex set_index = 12; + */ + public Builder mergeSetIndex(io.greptime.v1.Ddl.SetIndex value) { + if (setIndexBuilder_ == null) { + if (kindCase_ == 12 && + kind_ != io.greptime.v1.Ddl.SetIndex.getDefaultInstance()) { + kind_ = io.greptime.v1.Ddl.SetIndex.newBuilder((io.greptime.v1.Ddl.SetIndex) kind_) + .mergeFrom(value).buildPartial(); + } else { + kind_ = value; + } + onChanged(); + } else { + if (kindCase_ == 12) { + setIndexBuilder_.mergeFrom(value); + } else { + setIndexBuilder_.setMessage(value); + } + } + kindCase_ = 12; + return this; + } + /** + * .greptime.v1.SetIndex set_index = 12; + */ + public Builder clearSetIndex() { + if (setIndexBuilder_ == null) { + if (kindCase_ == 12) { + kindCase_ = 0; + kind_ = null; + onChanged(); + } + } else { + if (kindCase_ == 12) { + kindCase_ = 0; + kind_ = null; + } + setIndexBuilder_.clear(); + } + return this; + } + /** + * .greptime.v1.SetIndex set_index = 12; + */ + public io.greptime.v1.Ddl.SetIndex.Builder getSetIndexBuilder() { + return getSetIndexFieldBuilder().getBuilder(); + } + /** + * .greptime.v1.SetIndex set_index = 12; + */ + @java.lang.Override + public io.greptime.v1.Ddl.SetIndexOrBuilder getSetIndexOrBuilder() { + if ((kindCase_ == 12) && (setIndexBuilder_ != null)) { + return setIndexBuilder_.getMessageOrBuilder(); + } else { + if (kindCase_ == 12) { + return (io.greptime.v1.Ddl.SetIndex) kind_; + } + return io.greptime.v1.Ddl.SetIndex.getDefaultInstance(); + } + } + /** + * .greptime.v1.SetIndex set_index = 12; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Ddl.SetIndex, io.greptime.v1.Ddl.SetIndex.Builder, io.greptime.v1.Ddl.SetIndexOrBuilder> + getSetIndexFieldBuilder() { + if (setIndexBuilder_ == null) { + if (!(kindCase_ == 12)) { + kind_ = io.greptime.v1.Ddl.SetIndex.getDefaultInstance(); + } + setIndexBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Ddl.SetIndex, io.greptime.v1.Ddl.SetIndex.Builder, io.greptime.v1.Ddl.SetIndexOrBuilder>( + (io.greptime.v1.Ddl.SetIndex) kind_, + getParentForChildren(), + isClean()); + kind_ = null; + } + kindCase_ = 12; + onChanged();; + return setIndexBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Ddl.UnsetIndex, io.greptime.v1.Ddl.UnsetIndex.Builder, io.greptime.v1.Ddl.UnsetIndexOrBuilder> unsetIndexBuilder_; + /** + * .greptime.v1.UnsetIndex unset_index = 13; + * @return Whether the unsetIndex field is set. + */ + @java.lang.Override + public boolean hasUnsetIndex() { + return kindCase_ == 13; + } + /** + * .greptime.v1.UnsetIndex unset_index = 13; + * @return The unsetIndex. + */ + @java.lang.Override + public io.greptime.v1.Ddl.UnsetIndex getUnsetIndex() { + if (unsetIndexBuilder_ == null) { + if (kindCase_ == 13) { + return (io.greptime.v1.Ddl.UnsetIndex) kind_; + } + return io.greptime.v1.Ddl.UnsetIndex.getDefaultInstance(); + } else { + if (kindCase_ == 13) { + return unsetIndexBuilder_.getMessage(); + } + return io.greptime.v1.Ddl.UnsetIndex.getDefaultInstance(); + } + } + /** + * .greptime.v1.UnsetIndex unset_index = 13; + */ + public Builder setUnsetIndex(io.greptime.v1.Ddl.UnsetIndex value) { + if (unsetIndexBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + kind_ = value; + onChanged(); + } else { + unsetIndexBuilder_.setMessage(value); + } + kindCase_ = 13; + return this; + } + /** + * .greptime.v1.UnsetIndex unset_index = 13; + */ + public Builder setUnsetIndex( + io.greptime.v1.Ddl.UnsetIndex.Builder builderForValue) { + if (unsetIndexBuilder_ == null) { + kind_ = builderForValue.build(); + onChanged(); + } else { + unsetIndexBuilder_.setMessage(builderForValue.build()); + } + kindCase_ = 13; + return this; + } + /** + * .greptime.v1.UnsetIndex unset_index = 13; + */ + public Builder mergeUnsetIndex(io.greptime.v1.Ddl.UnsetIndex value) { + if (unsetIndexBuilder_ == null) { + if (kindCase_ == 13 && + kind_ != io.greptime.v1.Ddl.UnsetIndex.getDefaultInstance()) { + kind_ = io.greptime.v1.Ddl.UnsetIndex.newBuilder((io.greptime.v1.Ddl.UnsetIndex) kind_) + .mergeFrom(value).buildPartial(); + } else { + kind_ = value; + } + onChanged(); + } else { + if (kindCase_ == 13) { + unsetIndexBuilder_.mergeFrom(value); + } else { + unsetIndexBuilder_.setMessage(value); + } + } + kindCase_ = 13; + return this; + } + /** + * .greptime.v1.UnsetIndex unset_index = 13; + */ + public Builder clearUnsetIndex() { + if (unsetIndexBuilder_ == null) { + if (kindCase_ == 13) { + kindCase_ = 0; + kind_ = null; + onChanged(); + } + } else { + if (kindCase_ == 13) { + kindCase_ = 0; + kind_ = null; + } + unsetIndexBuilder_.clear(); + } + return this; + } + /** + * .greptime.v1.UnsetIndex unset_index = 13; + */ + public io.greptime.v1.Ddl.UnsetIndex.Builder getUnsetIndexBuilder() { + return getUnsetIndexFieldBuilder().getBuilder(); + } + /** + * .greptime.v1.UnsetIndex unset_index = 13; + */ + @java.lang.Override + public io.greptime.v1.Ddl.UnsetIndexOrBuilder getUnsetIndexOrBuilder() { + if ((kindCase_ == 13) && (unsetIndexBuilder_ != null)) { + return unsetIndexBuilder_.getMessageOrBuilder(); + } else { + if (kindCase_ == 13) { + return (io.greptime.v1.Ddl.UnsetIndex) kind_; + } + return io.greptime.v1.Ddl.UnsetIndex.getDefaultInstance(); + } + } + /** + * .greptime.v1.UnsetIndex unset_index = 13; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Ddl.UnsetIndex, io.greptime.v1.Ddl.UnsetIndex.Builder, io.greptime.v1.Ddl.UnsetIndexOrBuilder> + getUnsetIndexFieldBuilder() { + if (unsetIndexBuilder_ == null) { + if (!(kindCase_ == 13)) { + kind_ = io.greptime.v1.Ddl.UnsetIndex.getDefaultInstance(); + } + unsetIndexBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Ddl.UnsetIndex, io.greptime.v1.Ddl.UnsetIndex.Builder, io.greptime.v1.Ddl.UnsetIndexOrBuilder>( + (io.greptime.v1.Ddl.UnsetIndex) kind_, + getParentForChildren(), + isClean()); + kind_ = null; + } + kindCase_ = 13; + onChanged();; + return unsetIndexBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -14756,6 +14756,1908 @@ java.lang.String defaultValue); } + public interface SetIndexOrBuilder extends + // @@protoc_insertion_point(interface_extends:greptime.v1.SetIndex) + com.google.protobuf.MessageOrBuilder { + + /** + * .greptime.v1.SetFulltext fulltext = 1; + * @return Whether the fulltext field is set. + */ + boolean hasFulltext(); + /** + * .greptime.v1.SetFulltext fulltext = 1; + * @return The fulltext. + */ + io.greptime.v1.Ddl.SetFulltext getFulltext(); + /** + * .greptime.v1.SetFulltext fulltext = 1; + */ + io.greptime.v1.Ddl.SetFulltextOrBuilder getFulltextOrBuilder(); + + /** + * .greptime.v1.SetInverted inverted = 2; + * @return Whether the inverted field is set. + */ + boolean hasInverted(); + /** + * .greptime.v1.SetInverted inverted = 2; + * @return The inverted. + */ + io.greptime.v1.Ddl.SetInverted getInverted(); + /** + * .greptime.v1.SetInverted inverted = 2; + */ + io.greptime.v1.Ddl.SetInvertedOrBuilder getInvertedOrBuilder(); + + public io.greptime.v1.Ddl.SetIndex.OptionsCase getOptionsCase(); + } + /** + * Protobuf type {@code greptime.v1.SetIndex} + */ + public static final class SetIndex extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:greptime.v1.SetIndex) + SetIndexOrBuilder { + private static final long serialVersionUID = 0L; + // Use SetIndex.newBuilder() to construct. + private SetIndex(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private SetIndex() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new SetIndex(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private SetIndex( + 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: { + io.greptime.v1.Ddl.SetFulltext.Builder subBuilder = null; + if (optionsCase_ == 1) { + subBuilder = ((io.greptime.v1.Ddl.SetFulltext) options_).toBuilder(); + } + options_ = + input.readMessage(io.greptime.v1.Ddl.SetFulltext.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((io.greptime.v1.Ddl.SetFulltext) options_); + options_ = subBuilder.buildPartial(); + } + optionsCase_ = 1; + break; + } + case 18: { + io.greptime.v1.Ddl.SetInverted.Builder subBuilder = null; + if (optionsCase_ == 2) { + subBuilder = ((io.greptime.v1.Ddl.SetInverted) options_).toBuilder(); + } + options_ = + input.readMessage(io.greptime.v1.Ddl.SetInverted.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((io.greptime.v1.Ddl.SetInverted) options_); + options_ = subBuilder.buildPartial(); + } + optionsCase_ = 2; + 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_SetIndex_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_SetIndex_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.greptime.v1.Ddl.SetIndex.class, io.greptime.v1.Ddl.SetIndex.Builder.class); + } + + private int optionsCase_ = 0; + private java.lang.Object options_; + public enum OptionsCase + implements com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + FULLTEXT(1), + INVERTED(2), + OPTIONS_NOT_SET(0); + private final int value; + private OptionsCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static OptionsCase valueOf(int value) { + return forNumber(value); + } + + public static OptionsCase forNumber(int value) { + switch (value) { + case 1: return FULLTEXT; + case 2: return INVERTED; + case 0: return OPTIONS_NOT_SET; + default: return null; + } + } + public int getNumber() { + return this.value; + } + }; + + public OptionsCase + getOptionsCase() { + return OptionsCase.forNumber( + optionsCase_); + } + + public static final int FULLTEXT_FIELD_NUMBER = 1; + /** + * .greptime.v1.SetFulltext fulltext = 1; + * @return Whether the fulltext field is set. + */ + @java.lang.Override + public boolean hasFulltext() { + return optionsCase_ == 1; + } + /** + * .greptime.v1.SetFulltext fulltext = 1; + * @return The fulltext. + */ + @java.lang.Override + public io.greptime.v1.Ddl.SetFulltext getFulltext() { + if (optionsCase_ == 1) { + return (io.greptime.v1.Ddl.SetFulltext) options_; + } + return io.greptime.v1.Ddl.SetFulltext.getDefaultInstance(); + } + /** + * .greptime.v1.SetFulltext fulltext = 1; + */ + @java.lang.Override + public io.greptime.v1.Ddl.SetFulltextOrBuilder getFulltextOrBuilder() { + if (optionsCase_ == 1) { + return (io.greptime.v1.Ddl.SetFulltext) options_; + } + return io.greptime.v1.Ddl.SetFulltext.getDefaultInstance(); + } + + public static final int INVERTED_FIELD_NUMBER = 2; + /** + * .greptime.v1.SetInverted inverted = 2; + * @return Whether the inverted field is set. + */ + @java.lang.Override + public boolean hasInverted() { + return optionsCase_ == 2; + } + /** + * .greptime.v1.SetInverted inverted = 2; + * @return The inverted. + */ + @java.lang.Override + public io.greptime.v1.Ddl.SetInverted getInverted() { + if (optionsCase_ == 2) { + return (io.greptime.v1.Ddl.SetInverted) options_; + } + return io.greptime.v1.Ddl.SetInverted.getDefaultInstance(); + } + /** + * .greptime.v1.SetInverted inverted = 2; + */ + @java.lang.Override + public io.greptime.v1.Ddl.SetInvertedOrBuilder getInvertedOrBuilder() { + if (optionsCase_ == 2) { + return (io.greptime.v1.Ddl.SetInverted) options_; + } + return io.greptime.v1.Ddl.SetInverted.getDefaultInstance(); + } + + 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 (optionsCase_ == 1) { + output.writeMessage(1, (io.greptime.v1.Ddl.SetFulltext) options_); + } + if (optionsCase_ == 2) { + output.writeMessage(2, (io.greptime.v1.Ddl.SetInverted) options_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (optionsCase_ == 1) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (io.greptime.v1.Ddl.SetFulltext) options_); + } + if (optionsCase_ == 2) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (io.greptime.v1.Ddl.SetInverted) options_); + } + 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.SetIndex)) { + return super.equals(obj); + } + io.greptime.v1.Ddl.SetIndex other = (io.greptime.v1.Ddl.SetIndex) obj; + + if (!getOptionsCase().equals(other.getOptionsCase())) return false; + switch (optionsCase_) { + case 1: + if (!getFulltext() + .equals(other.getFulltext())) return false; + break; + case 2: + if (!getInverted() + .equals(other.getInverted())) return false; + break; + case 0: + default: + } + 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(); + switch (optionsCase_) { + case 1: + hash = (37 * hash) + FULLTEXT_FIELD_NUMBER; + hash = (53 * hash) + getFulltext().hashCode(); + break; + case 2: + hash = (37 * hash) + INVERTED_FIELD_NUMBER; + hash = (53 * hash) + getInverted().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.greptime.v1.Ddl.SetIndex parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.greptime.v1.Ddl.SetIndex 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.SetIndex parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.greptime.v1.Ddl.SetIndex 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.SetIndex parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.greptime.v1.Ddl.SetIndex parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.greptime.v1.Ddl.SetIndex parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.greptime.v1.Ddl.SetIndex 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.SetIndex parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static io.greptime.v1.Ddl.SetIndex 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.SetIndex parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.greptime.v1.Ddl.SetIndex 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.SetIndex 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.SetIndex} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:greptime.v1.SetIndex) + io.greptime.v1.Ddl.SetIndexOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_SetIndex_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_SetIndex_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.greptime.v1.Ddl.SetIndex.class, io.greptime.v1.Ddl.SetIndex.Builder.class); + } + + // Construct using io.greptime.v1.Ddl.SetIndex.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(); + optionsCase_ = 0; + options_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_SetIndex_descriptor; + } + + @java.lang.Override + public io.greptime.v1.Ddl.SetIndex getDefaultInstanceForType() { + return io.greptime.v1.Ddl.SetIndex.getDefaultInstance(); + } + + @java.lang.Override + public io.greptime.v1.Ddl.SetIndex build() { + io.greptime.v1.Ddl.SetIndex result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.greptime.v1.Ddl.SetIndex buildPartial() { + io.greptime.v1.Ddl.SetIndex result = new io.greptime.v1.Ddl.SetIndex(this); + if (optionsCase_ == 1) { + if (fulltextBuilder_ == null) { + result.options_ = options_; + } else { + result.options_ = fulltextBuilder_.build(); + } + } + if (optionsCase_ == 2) { + if (invertedBuilder_ == null) { + result.options_ = options_; + } else { + result.options_ = invertedBuilder_.build(); + } + } + result.optionsCase_ = optionsCase_; + 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.SetIndex) { + return mergeFrom((io.greptime.v1.Ddl.SetIndex)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.greptime.v1.Ddl.SetIndex other) { + if (other == io.greptime.v1.Ddl.SetIndex.getDefaultInstance()) return this; + switch (other.getOptionsCase()) { + case FULLTEXT: { + mergeFulltext(other.getFulltext()); + break; + } + case INVERTED: { + mergeInverted(other.getInverted()); + break; + } + case OPTIONS_NOT_SET: { + break; + } + } + 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.SetIndex parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.greptime.v1.Ddl.SetIndex) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int optionsCase_ = 0; + private java.lang.Object options_; + public OptionsCase + getOptionsCase() { + return OptionsCase.forNumber( + optionsCase_); + } + + public Builder clearOptions() { + optionsCase_ = 0; + options_ = null; + onChanged(); + return this; + } + + + private com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Ddl.SetFulltext, io.greptime.v1.Ddl.SetFulltext.Builder, io.greptime.v1.Ddl.SetFulltextOrBuilder> fulltextBuilder_; + /** + * .greptime.v1.SetFulltext fulltext = 1; + * @return Whether the fulltext field is set. + */ + @java.lang.Override + public boolean hasFulltext() { + return optionsCase_ == 1; + } + /** + * .greptime.v1.SetFulltext fulltext = 1; + * @return The fulltext. + */ + @java.lang.Override + public io.greptime.v1.Ddl.SetFulltext getFulltext() { + if (fulltextBuilder_ == null) { + if (optionsCase_ == 1) { + return (io.greptime.v1.Ddl.SetFulltext) options_; + } + return io.greptime.v1.Ddl.SetFulltext.getDefaultInstance(); + } else { + if (optionsCase_ == 1) { + return fulltextBuilder_.getMessage(); + } + return io.greptime.v1.Ddl.SetFulltext.getDefaultInstance(); + } + } + /** + * .greptime.v1.SetFulltext fulltext = 1; + */ + public Builder setFulltext(io.greptime.v1.Ddl.SetFulltext value) { + if (fulltextBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + options_ = value; + onChanged(); + } else { + fulltextBuilder_.setMessage(value); + } + optionsCase_ = 1; + return this; + } + /** + * .greptime.v1.SetFulltext fulltext = 1; + */ + public Builder setFulltext( + io.greptime.v1.Ddl.SetFulltext.Builder builderForValue) { + if (fulltextBuilder_ == null) { + options_ = builderForValue.build(); + onChanged(); + } else { + fulltextBuilder_.setMessage(builderForValue.build()); + } + optionsCase_ = 1; + return this; + } + /** + * .greptime.v1.SetFulltext fulltext = 1; + */ + public Builder mergeFulltext(io.greptime.v1.Ddl.SetFulltext value) { + if (fulltextBuilder_ == null) { + if (optionsCase_ == 1 && + options_ != io.greptime.v1.Ddl.SetFulltext.getDefaultInstance()) { + options_ = io.greptime.v1.Ddl.SetFulltext.newBuilder((io.greptime.v1.Ddl.SetFulltext) options_) + .mergeFrom(value).buildPartial(); + } else { + options_ = value; + } + onChanged(); + } else { + if (optionsCase_ == 1) { + fulltextBuilder_.mergeFrom(value); + } else { + fulltextBuilder_.setMessage(value); + } + } + optionsCase_ = 1; + return this; + } + /** + * .greptime.v1.SetFulltext fulltext = 1; + */ + public Builder clearFulltext() { + if (fulltextBuilder_ == null) { + if (optionsCase_ == 1) { + optionsCase_ = 0; + options_ = null; + onChanged(); + } + } else { + if (optionsCase_ == 1) { + optionsCase_ = 0; + options_ = null; + } + fulltextBuilder_.clear(); + } + return this; + } + /** + * .greptime.v1.SetFulltext fulltext = 1; + */ + public io.greptime.v1.Ddl.SetFulltext.Builder getFulltextBuilder() { + return getFulltextFieldBuilder().getBuilder(); + } + /** + * .greptime.v1.SetFulltext fulltext = 1; + */ + @java.lang.Override + public io.greptime.v1.Ddl.SetFulltextOrBuilder getFulltextOrBuilder() { + if ((optionsCase_ == 1) && (fulltextBuilder_ != null)) { + return fulltextBuilder_.getMessageOrBuilder(); + } else { + if (optionsCase_ == 1) { + return (io.greptime.v1.Ddl.SetFulltext) options_; + } + return io.greptime.v1.Ddl.SetFulltext.getDefaultInstance(); + } + } + /** + * .greptime.v1.SetFulltext fulltext = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Ddl.SetFulltext, io.greptime.v1.Ddl.SetFulltext.Builder, io.greptime.v1.Ddl.SetFulltextOrBuilder> + getFulltextFieldBuilder() { + if (fulltextBuilder_ == null) { + if (!(optionsCase_ == 1)) { + options_ = io.greptime.v1.Ddl.SetFulltext.getDefaultInstance(); + } + fulltextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Ddl.SetFulltext, io.greptime.v1.Ddl.SetFulltext.Builder, io.greptime.v1.Ddl.SetFulltextOrBuilder>( + (io.greptime.v1.Ddl.SetFulltext) options_, + getParentForChildren(), + isClean()); + options_ = null; + } + optionsCase_ = 1; + onChanged();; + return fulltextBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Ddl.SetInverted, io.greptime.v1.Ddl.SetInverted.Builder, io.greptime.v1.Ddl.SetInvertedOrBuilder> invertedBuilder_; + /** + * .greptime.v1.SetInverted inverted = 2; + * @return Whether the inverted field is set. + */ + @java.lang.Override + public boolean hasInverted() { + return optionsCase_ == 2; + } + /** + * .greptime.v1.SetInverted inverted = 2; + * @return The inverted. + */ + @java.lang.Override + public io.greptime.v1.Ddl.SetInverted getInverted() { + if (invertedBuilder_ == null) { + if (optionsCase_ == 2) { + return (io.greptime.v1.Ddl.SetInverted) options_; + } + return io.greptime.v1.Ddl.SetInverted.getDefaultInstance(); + } else { + if (optionsCase_ == 2) { + return invertedBuilder_.getMessage(); + } + return io.greptime.v1.Ddl.SetInverted.getDefaultInstance(); + } + } + /** + * .greptime.v1.SetInverted inverted = 2; + */ + public Builder setInverted(io.greptime.v1.Ddl.SetInverted value) { + if (invertedBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + options_ = value; + onChanged(); + } else { + invertedBuilder_.setMessage(value); + } + optionsCase_ = 2; + return this; + } + /** + * .greptime.v1.SetInverted inverted = 2; + */ + public Builder setInverted( + io.greptime.v1.Ddl.SetInverted.Builder builderForValue) { + if (invertedBuilder_ == null) { + options_ = builderForValue.build(); + onChanged(); + } else { + invertedBuilder_.setMessage(builderForValue.build()); + } + optionsCase_ = 2; + return this; + } + /** + * .greptime.v1.SetInverted inverted = 2; + */ + public Builder mergeInverted(io.greptime.v1.Ddl.SetInverted value) { + if (invertedBuilder_ == null) { + if (optionsCase_ == 2 && + options_ != io.greptime.v1.Ddl.SetInverted.getDefaultInstance()) { + options_ = io.greptime.v1.Ddl.SetInverted.newBuilder((io.greptime.v1.Ddl.SetInverted) options_) + .mergeFrom(value).buildPartial(); + } else { + options_ = value; + } + onChanged(); + } else { + if (optionsCase_ == 2) { + invertedBuilder_.mergeFrom(value); + } else { + invertedBuilder_.setMessage(value); + } + } + optionsCase_ = 2; + return this; + } + /** + * .greptime.v1.SetInverted inverted = 2; + */ + public Builder clearInverted() { + if (invertedBuilder_ == null) { + if (optionsCase_ == 2) { + optionsCase_ = 0; + options_ = null; + onChanged(); + } + } else { + if (optionsCase_ == 2) { + optionsCase_ = 0; + options_ = null; + } + invertedBuilder_.clear(); + } + return this; + } + /** + * .greptime.v1.SetInverted inverted = 2; + */ + public io.greptime.v1.Ddl.SetInverted.Builder getInvertedBuilder() { + return getInvertedFieldBuilder().getBuilder(); + } + /** + * .greptime.v1.SetInverted inverted = 2; + */ + @java.lang.Override + public io.greptime.v1.Ddl.SetInvertedOrBuilder getInvertedOrBuilder() { + if ((optionsCase_ == 2) && (invertedBuilder_ != null)) { + return invertedBuilder_.getMessageOrBuilder(); + } else { + if (optionsCase_ == 2) { + return (io.greptime.v1.Ddl.SetInverted) options_; + } + return io.greptime.v1.Ddl.SetInverted.getDefaultInstance(); + } + } + /** + * .greptime.v1.SetInverted inverted = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Ddl.SetInverted, io.greptime.v1.Ddl.SetInverted.Builder, io.greptime.v1.Ddl.SetInvertedOrBuilder> + getInvertedFieldBuilder() { + if (invertedBuilder_ == null) { + if (!(optionsCase_ == 2)) { + options_ = io.greptime.v1.Ddl.SetInverted.getDefaultInstance(); + } + invertedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Ddl.SetInverted, io.greptime.v1.Ddl.SetInverted.Builder, io.greptime.v1.Ddl.SetInvertedOrBuilder>( + (io.greptime.v1.Ddl.SetInverted) options_, + getParentForChildren(), + isClean()); + options_ = null; + } + optionsCase_ = 2; + onChanged();; + return invertedBuilder_; + } + @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.SetIndex) + } + + // @@protoc_insertion_point(class_scope:greptime.v1.SetIndex) + private static final io.greptime.v1.Ddl.SetIndex DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.greptime.v1.Ddl.SetIndex(); + } + + public static io.greptime.v1.Ddl.SetIndex getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetIndex parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SetIndex(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.SetIndex getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface UnsetIndexOrBuilder extends + // @@protoc_insertion_point(interface_extends:greptime.v1.UnsetIndex) + com.google.protobuf.MessageOrBuilder { + + /** + * .greptime.v1.UnsetFulltext fulltext = 1; + * @return Whether the fulltext field is set. + */ + boolean hasFulltext(); + /** + * .greptime.v1.UnsetFulltext fulltext = 1; + * @return The fulltext. + */ + io.greptime.v1.Ddl.UnsetFulltext getFulltext(); + /** + * .greptime.v1.UnsetFulltext fulltext = 1; + */ + io.greptime.v1.Ddl.UnsetFulltextOrBuilder getFulltextOrBuilder(); + + /** + * .greptime.v1.UnsetInverted inverted = 2; + * @return Whether the inverted field is set. + */ + boolean hasInverted(); + /** + * .greptime.v1.UnsetInverted inverted = 2; + * @return The inverted. + */ + io.greptime.v1.Ddl.UnsetInverted getInverted(); + /** + * .greptime.v1.UnsetInverted inverted = 2; + */ + io.greptime.v1.Ddl.UnsetInvertedOrBuilder getInvertedOrBuilder(); + + public io.greptime.v1.Ddl.UnsetIndex.OptionsCase getOptionsCase(); + } + /** + * Protobuf type {@code greptime.v1.UnsetIndex} + */ + public static final class UnsetIndex extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:greptime.v1.UnsetIndex) + UnsetIndexOrBuilder { + private static final long serialVersionUID = 0L; + // Use UnsetIndex.newBuilder() to construct. + private UnsetIndex(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private UnsetIndex() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UnsetIndex(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private UnsetIndex( + 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: { + io.greptime.v1.Ddl.UnsetFulltext.Builder subBuilder = null; + if (optionsCase_ == 1) { + subBuilder = ((io.greptime.v1.Ddl.UnsetFulltext) options_).toBuilder(); + } + options_ = + input.readMessage(io.greptime.v1.Ddl.UnsetFulltext.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((io.greptime.v1.Ddl.UnsetFulltext) options_); + options_ = subBuilder.buildPartial(); + } + optionsCase_ = 1; + break; + } + case 18: { + io.greptime.v1.Ddl.UnsetInverted.Builder subBuilder = null; + if (optionsCase_ == 2) { + subBuilder = ((io.greptime.v1.Ddl.UnsetInverted) options_).toBuilder(); + } + options_ = + input.readMessage(io.greptime.v1.Ddl.UnsetInverted.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((io.greptime.v1.Ddl.UnsetInverted) options_); + options_ = subBuilder.buildPartial(); + } + optionsCase_ = 2; + 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_UnsetIndex_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_UnsetIndex_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.greptime.v1.Ddl.UnsetIndex.class, io.greptime.v1.Ddl.UnsetIndex.Builder.class); + } + + private int optionsCase_ = 0; + private java.lang.Object options_; + public enum OptionsCase + implements com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + FULLTEXT(1), + INVERTED(2), + OPTIONS_NOT_SET(0); + private final int value; + private OptionsCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static OptionsCase valueOf(int value) { + return forNumber(value); + } + + public static OptionsCase forNumber(int value) { + switch (value) { + case 1: return FULLTEXT; + case 2: return INVERTED; + case 0: return OPTIONS_NOT_SET; + default: return null; + } + } + public int getNumber() { + return this.value; + } + }; + + public OptionsCase + getOptionsCase() { + return OptionsCase.forNumber( + optionsCase_); + } + + public static final int FULLTEXT_FIELD_NUMBER = 1; + /** + * .greptime.v1.UnsetFulltext fulltext = 1; + * @return Whether the fulltext field is set. + */ + @java.lang.Override + public boolean hasFulltext() { + return optionsCase_ == 1; + } + /** + * .greptime.v1.UnsetFulltext fulltext = 1; + * @return The fulltext. + */ + @java.lang.Override + public io.greptime.v1.Ddl.UnsetFulltext getFulltext() { + if (optionsCase_ == 1) { + return (io.greptime.v1.Ddl.UnsetFulltext) options_; + } + return io.greptime.v1.Ddl.UnsetFulltext.getDefaultInstance(); + } + /** + * .greptime.v1.UnsetFulltext fulltext = 1; + */ + @java.lang.Override + public io.greptime.v1.Ddl.UnsetFulltextOrBuilder getFulltextOrBuilder() { + if (optionsCase_ == 1) { + return (io.greptime.v1.Ddl.UnsetFulltext) options_; + } + return io.greptime.v1.Ddl.UnsetFulltext.getDefaultInstance(); + } + + public static final int INVERTED_FIELD_NUMBER = 2; + /** + * .greptime.v1.UnsetInverted inverted = 2; + * @return Whether the inverted field is set. + */ + @java.lang.Override + public boolean hasInverted() { + return optionsCase_ == 2; + } + /** + * .greptime.v1.UnsetInverted inverted = 2; + * @return The inverted. + */ + @java.lang.Override + public io.greptime.v1.Ddl.UnsetInverted getInverted() { + if (optionsCase_ == 2) { + return (io.greptime.v1.Ddl.UnsetInverted) options_; + } + return io.greptime.v1.Ddl.UnsetInverted.getDefaultInstance(); + } + /** + * .greptime.v1.UnsetInverted inverted = 2; + */ + @java.lang.Override + public io.greptime.v1.Ddl.UnsetInvertedOrBuilder getInvertedOrBuilder() { + if (optionsCase_ == 2) { + return (io.greptime.v1.Ddl.UnsetInverted) options_; + } + return io.greptime.v1.Ddl.UnsetInverted.getDefaultInstance(); + } + + 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 (optionsCase_ == 1) { + output.writeMessage(1, (io.greptime.v1.Ddl.UnsetFulltext) options_); + } + if (optionsCase_ == 2) { + output.writeMessage(2, (io.greptime.v1.Ddl.UnsetInverted) options_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (optionsCase_ == 1) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (io.greptime.v1.Ddl.UnsetFulltext) options_); + } + if (optionsCase_ == 2) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (io.greptime.v1.Ddl.UnsetInverted) options_); + } + 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.UnsetIndex)) { + return super.equals(obj); + } + io.greptime.v1.Ddl.UnsetIndex other = (io.greptime.v1.Ddl.UnsetIndex) obj; + + if (!getOptionsCase().equals(other.getOptionsCase())) return false; + switch (optionsCase_) { + case 1: + if (!getFulltext() + .equals(other.getFulltext())) return false; + break; + case 2: + if (!getInverted() + .equals(other.getInverted())) return false; + break; + case 0: + default: + } + 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(); + switch (optionsCase_) { + case 1: + hash = (37 * hash) + FULLTEXT_FIELD_NUMBER; + hash = (53 * hash) + getFulltext().hashCode(); + break; + case 2: + hash = (37 * hash) + INVERTED_FIELD_NUMBER; + hash = (53 * hash) + getInverted().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.greptime.v1.Ddl.UnsetIndex parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.greptime.v1.Ddl.UnsetIndex 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.UnsetIndex parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.greptime.v1.Ddl.UnsetIndex 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.UnsetIndex parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.greptime.v1.Ddl.UnsetIndex parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.greptime.v1.Ddl.UnsetIndex parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.greptime.v1.Ddl.UnsetIndex 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.UnsetIndex parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static io.greptime.v1.Ddl.UnsetIndex 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.UnsetIndex parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.greptime.v1.Ddl.UnsetIndex 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.UnsetIndex 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.UnsetIndex} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:greptime.v1.UnsetIndex) + io.greptime.v1.Ddl.UnsetIndexOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_UnsetIndex_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_UnsetIndex_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.greptime.v1.Ddl.UnsetIndex.class, io.greptime.v1.Ddl.UnsetIndex.Builder.class); + } + + // Construct using io.greptime.v1.Ddl.UnsetIndex.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(); + optionsCase_ = 0; + options_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_UnsetIndex_descriptor; + } + + @java.lang.Override + public io.greptime.v1.Ddl.UnsetIndex getDefaultInstanceForType() { + return io.greptime.v1.Ddl.UnsetIndex.getDefaultInstance(); + } + + @java.lang.Override + public io.greptime.v1.Ddl.UnsetIndex build() { + io.greptime.v1.Ddl.UnsetIndex result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.greptime.v1.Ddl.UnsetIndex buildPartial() { + io.greptime.v1.Ddl.UnsetIndex result = new io.greptime.v1.Ddl.UnsetIndex(this); + if (optionsCase_ == 1) { + if (fulltextBuilder_ == null) { + result.options_ = options_; + } else { + result.options_ = fulltextBuilder_.build(); + } + } + if (optionsCase_ == 2) { + if (invertedBuilder_ == null) { + result.options_ = options_; + } else { + result.options_ = invertedBuilder_.build(); + } + } + result.optionsCase_ = optionsCase_; + 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.UnsetIndex) { + return mergeFrom((io.greptime.v1.Ddl.UnsetIndex)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.greptime.v1.Ddl.UnsetIndex other) { + if (other == io.greptime.v1.Ddl.UnsetIndex.getDefaultInstance()) return this; + switch (other.getOptionsCase()) { + case FULLTEXT: { + mergeFulltext(other.getFulltext()); + break; + } + case INVERTED: { + mergeInverted(other.getInverted()); + break; + } + case OPTIONS_NOT_SET: { + break; + } + } + 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.UnsetIndex parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.greptime.v1.Ddl.UnsetIndex) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int optionsCase_ = 0; + private java.lang.Object options_; + public OptionsCase + getOptionsCase() { + return OptionsCase.forNumber( + optionsCase_); + } + + public Builder clearOptions() { + optionsCase_ = 0; + options_ = null; + onChanged(); + return this; + } + + + private com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Ddl.UnsetFulltext, io.greptime.v1.Ddl.UnsetFulltext.Builder, io.greptime.v1.Ddl.UnsetFulltextOrBuilder> fulltextBuilder_; + /** + * .greptime.v1.UnsetFulltext fulltext = 1; + * @return Whether the fulltext field is set. + */ + @java.lang.Override + public boolean hasFulltext() { + return optionsCase_ == 1; + } + /** + * .greptime.v1.UnsetFulltext fulltext = 1; + * @return The fulltext. + */ + @java.lang.Override + public io.greptime.v1.Ddl.UnsetFulltext getFulltext() { + if (fulltextBuilder_ == null) { + if (optionsCase_ == 1) { + return (io.greptime.v1.Ddl.UnsetFulltext) options_; + } + return io.greptime.v1.Ddl.UnsetFulltext.getDefaultInstance(); + } else { + if (optionsCase_ == 1) { + return fulltextBuilder_.getMessage(); + } + return io.greptime.v1.Ddl.UnsetFulltext.getDefaultInstance(); + } + } + /** + * .greptime.v1.UnsetFulltext fulltext = 1; + */ + public Builder setFulltext(io.greptime.v1.Ddl.UnsetFulltext value) { + if (fulltextBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + options_ = value; + onChanged(); + } else { + fulltextBuilder_.setMessage(value); + } + optionsCase_ = 1; + return this; + } + /** + * .greptime.v1.UnsetFulltext fulltext = 1; + */ + public Builder setFulltext( + io.greptime.v1.Ddl.UnsetFulltext.Builder builderForValue) { + if (fulltextBuilder_ == null) { + options_ = builderForValue.build(); + onChanged(); + } else { + fulltextBuilder_.setMessage(builderForValue.build()); + } + optionsCase_ = 1; + return this; + } + /** + * .greptime.v1.UnsetFulltext fulltext = 1; + */ + public Builder mergeFulltext(io.greptime.v1.Ddl.UnsetFulltext value) { + if (fulltextBuilder_ == null) { + if (optionsCase_ == 1 && + options_ != io.greptime.v1.Ddl.UnsetFulltext.getDefaultInstance()) { + options_ = io.greptime.v1.Ddl.UnsetFulltext.newBuilder((io.greptime.v1.Ddl.UnsetFulltext) options_) + .mergeFrom(value).buildPartial(); + } else { + options_ = value; + } + onChanged(); + } else { + if (optionsCase_ == 1) { + fulltextBuilder_.mergeFrom(value); + } else { + fulltextBuilder_.setMessage(value); + } + } + optionsCase_ = 1; + return this; + } + /** + * .greptime.v1.UnsetFulltext fulltext = 1; + */ + public Builder clearFulltext() { + if (fulltextBuilder_ == null) { + if (optionsCase_ == 1) { + optionsCase_ = 0; + options_ = null; + onChanged(); + } + } else { + if (optionsCase_ == 1) { + optionsCase_ = 0; + options_ = null; + } + fulltextBuilder_.clear(); + } + return this; + } + /** + * .greptime.v1.UnsetFulltext fulltext = 1; + */ + public io.greptime.v1.Ddl.UnsetFulltext.Builder getFulltextBuilder() { + return getFulltextFieldBuilder().getBuilder(); + } + /** + * .greptime.v1.UnsetFulltext fulltext = 1; + */ + @java.lang.Override + public io.greptime.v1.Ddl.UnsetFulltextOrBuilder getFulltextOrBuilder() { + if ((optionsCase_ == 1) && (fulltextBuilder_ != null)) { + return fulltextBuilder_.getMessageOrBuilder(); + } else { + if (optionsCase_ == 1) { + return (io.greptime.v1.Ddl.UnsetFulltext) options_; + } + return io.greptime.v1.Ddl.UnsetFulltext.getDefaultInstance(); + } + } + /** + * .greptime.v1.UnsetFulltext fulltext = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Ddl.UnsetFulltext, io.greptime.v1.Ddl.UnsetFulltext.Builder, io.greptime.v1.Ddl.UnsetFulltextOrBuilder> + getFulltextFieldBuilder() { + if (fulltextBuilder_ == null) { + if (!(optionsCase_ == 1)) { + options_ = io.greptime.v1.Ddl.UnsetFulltext.getDefaultInstance(); + } + fulltextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Ddl.UnsetFulltext, io.greptime.v1.Ddl.UnsetFulltext.Builder, io.greptime.v1.Ddl.UnsetFulltextOrBuilder>( + (io.greptime.v1.Ddl.UnsetFulltext) options_, + getParentForChildren(), + isClean()); + options_ = null; + } + optionsCase_ = 1; + onChanged();; + return fulltextBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Ddl.UnsetInverted, io.greptime.v1.Ddl.UnsetInverted.Builder, io.greptime.v1.Ddl.UnsetInvertedOrBuilder> invertedBuilder_; + /** + * .greptime.v1.UnsetInverted inverted = 2; + * @return Whether the inverted field is set. + */ + @java.lang.Override + public boolean hasInverted() { + return optionsCase_ == 2; + } + /** + * .greptime.v1.UnsetInverted inverted = 2; + * @return The inverted. + */ + @java.lang.Override + public io.greptime.v1.Ddl.UnsetInverted getInverted() { + if (invertedBuilder_ == null) { + if (optionsCase_ == 2) { + return (io.greptime.v1.Ddl.UnsetInverted) options_; + } + return io.greptime.v1.Ddl.UnsetInverted.getDefaultInstance(); + } else { + if (optionsCase_ == 2) { + return invertedBuilder_.getMessage(); + } + return io.greptime.v1.Ddl.UnsetInverted.getDefaultInstance(); + } + } + /** + * .greptime.v1.UnsetInverted inverted = 2; + */ + public Builder setInverted(io.greptime.v1.Ddl.UnsetInverted value) { + if (invertedBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + options_ = value; + onChanged(); + } else { + invertedBuilder_.setMessage(value); + } + optionsCase_ = 2; + return this; + } + /** + * .greptime.v1.UnsetInverted inverted = 2; + */ + public Builder setInverted( + io.greptime.v1.Ddl.UnsetInverted.Builder builderForValue) { + if (invertedBuilder_ == null) { + options_ = builderForValue.build(); + onChanged(); + } else { + invertedBuilder_.setMessage(builderForValue.build()); + } + optionsCase_ = 2; + return this; + } + /** + * .greptime.v1.UnsetInverted inverted = 2; + */ + public Builder mergeInverted(io.greptime.v1.Ddl.UnsetInverted value) { + if (invertedBuilder_ == null) { + if (optionsCase_ == 2 && + options_ != io.greptime.v1.Ddl.UnsetInverted.getDefaultInstance()) { + options_ = io.greptime.v1.Ddl.UnsetInverted.newBuilder((io.greptime.v1.Ddl.UnsetInverted) options_) + .mergeFrom(value).buildPartial(); + } else { + options_ = value; + } + onChanged(); + } else { + if (optionsCase_ == 2) { + invertedBuilder_.mergeFrom(value); + } else { + invertedBuilder_.setMessage(value); + } + } + optionsCase_ = 2; + return this; + } + /** + * .greptime.v1.UnsetInverted inverted = 2; + */ + public Builder clearInverted() { + if (invertedBuilder_ == null) { + if (optionsCase_ == 2) { + optionsCase_ = 0; + options_ = null; + onChanged(); + } + } else { + if (optionsCase_ == 2) { + optionsCase_ = 0; + options_ = null; + } + invertedBuilder_.clear(); + } + return this; + } + /** + * .greptime.v1.UnsetInverted inverted = 2; + */ + public io.greptime.v1.Ddl.UnsetInverted.Builder getInvertedBuilder() { + return getInvertedFieldBuilder().getBuilder(); + } + /** + * .greptime.v1.UnsetInverted inverted = 2; + */ + @java.lang.Override + public io.greptime.v1.Ddl.UnsetInvertedOrBuilder getInvertedOrBuilder() { + if ((optionsCase_ == 2) && (invertedBuilder_ != null)) { + return invertedBuilder_.getMessageOrBuilder(); + } else { + if (optionsCase_ == 2) { + return (io.greptime.v1.Ddl.UnsetInverted) options_; + } + return io.greptime.v1.Ddl.UnsetInverted.getDefaultInstance(); + } + } + /** + * .greptime.v1.UnsetInverted inverted = 2; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Ddl.UnsetInverted, io.greptime.v1.Ddl.UnsetInverted.Builder, io.greptime.v1.Ddl.UnsetInvertedOrBuilder> + getInvertedFieldBuilder() { + if (invertedBuilder_ == null) { + if (!(optionsCase_ == 2)) { + options_ = io.greptime.v1.Ddl.UnsetInverted.getDefaultInstance(); + } + invertedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Ddl.UnsetInverted, io.greptime.v1.Ddl.UnsetInverted.Builder, io.greptime.v1.Ddl.UnsetInvertedOrBuilder>( + (io.greptime.v1.Ddl.UnsetInverted) options_, + getParentForChildren(), + isClean()); + options_ = null; + } + optionsCase_ = 2; + onChanged();; + return invertedBuilder_; + } + @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.UnsetIndex) + } + + // @@protoc_insertion_point(class_scope:greptime.v1.UnsetIndex) + private static final io.greptime.v1.Ddl.UnsetIndex DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.greptime.v1.Ddl.UnsetIndex(); + } + + public static io.greptime.v1.Ddl.UnsetIndex getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UnsetIndex parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UnsetIndex(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.UnsetIndex getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + public interface DropTableExprOrBuilder extends // @@protoc_insertion_point(interface_extends:greptime.v1.DropTableExpr) com.google.protobuf.MessageOrBuilder { @@ -29707,8 +31609,8 @@ java.lang.String defaultValue); } - public interface SetColumnFulltextOrBuilder extends - // @@protoc_insertion_point(interface_extends:greptime.v1.SetColumnFulltext) + public interface SetFulltextOrBuilder extends + // @@protoc_insertion_point(interface_extends:greptime.v1.SetFulltext) com.google.protobuf.MessageOrBuilder { /** @@ -29747,18 +31649,18 @@ java.lang.String defaultValue); boolean getCaseSensitive(); } /** - * Protobuf type {@code greptime.v1.SetColumnFulltext} + * Protobuf type {@code greptime.v1.SetFulltext} */ - public static final class SetColumnFulltext extends + public static final class SetFulltext extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:greptime.v1.SetColumnFulltext) - SetColumnFulltextOrBuilder { + // @@protoc_insertion_point(message_implements:greptime.v1.SetFulltext) + SetFulltextOrBuilder { private static final long serialVersionUID = 0L; - // Use SetColumnFulltext.newBuilder() to construct. - private SetColumnFulltext(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use SetFulltext.newBuilder() to construct. + private SetFulltext(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SetColumnFulltext() { + private SetFulltext() { columnName_ = ""; analyzer_ = 0; } @@ -29767,7 +31669,7 @@ java.lang.String defaultValue); @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new SetColumnFulltext(); + return new SetFulltext(); } @java.lang.Override @@ -29775,7 +31677,7 @@ java.lang.String defaultValue); getUnknownFields() { return this.unknownFields; } - private SetColumnFulltext( + private SetFulltext( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -29838,15 +31740,15 @@ java.lang.String defaultValue); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.greptime.v1.Ddl.internal_static_greptime_v1_SetColumnFulltext_descriptor; + return io.greptime.v1.Ddl.internal_static_greptime_v1_SetFulltext_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.greptime.v1.Ddl.internal_static_greptime_v1_SetColumnFulltext_fieldAccessorTable + return io.greptime.v1.Ddl.internal_static_greptime_v1_SetFulltext_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.greptime.v1.Ddl.SetColumnFulltext.class, io.greptime.v1.Ddl.SetColumnFulltext.Builder.class); + io.greptime.v1.Ddl.SetFulltext.class, io.greptime.v1.Ddl.SetFulltext.Builder.class); } public static final int COLUMN_NAME_FIELD_NUMBER = 1; @@ -29988,10 +31890,10 @@ java.lang.String defaultValue); if (obj == this) { return true; } - if (!(obj instanceof io.greptime.v1.Ddl.SetColumnFulltext)) { + if (!(obj instanceof io.greptime.v1.Ddl.SetFulltext)) { return super.equals(obj); } - io.greptime.v1.Ddl.SetColumnFulltext other = (io.greptime.v1.Ddl.SetColumnFulltext) obj; + io.greptime.v1.Ddl.SetFulltext other = (io.greptime.v1.Ddl.SetFulltext) obj; if (!getColumnName() .equals(other.getColumnName())) return false; @@ -30026,69 +31928,69 @@ java.lang.String defaultValue); return hash; } - public static io.greptime.v1.Ddl.SetColumnFulltext parseFrom( + public static io.greptime.v1.Ddl.SetFulltext parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.greptime.v1.Ddl.SetColumnFulltext parseFrom( + public static io.greptime.v1.Ddl.SetFulltext 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.SetColumnFulltext parseFrom( + public static io.greptime.v1.Ddl.SetFulltext parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.greptime.v1.Ddl.SetColumnFulltext parseFrom( + public static io.greptime.v1.Ddl.SetFulltext 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.SetColumnFulltext parseFrom(byte[] data) + public static io.greptime.v1.Ddl.SetFulltext parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.greptime.v1.Ddl.SetColumnFulltext parseFrom( + public static io.greptime.v1.Ddl.SetFulltext parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.greptime.v1.Ddl.SetColumnFulltext parseFrom(java.io.InputStream input) + public static io.greptime.v1.Ddl.SetFulltext parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.greptime.v1.Ddl.SetColumnFulltext parseFrom( + public static io.greptime.v1.Ddl.SetFulltext 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.SetColumnFulltext parseDelimitedFrom(java.io.InputStream input) + public static io.greptime.v1.Ddl.SetFulltext parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static io.greptime.v1.Ddl.SetColumnFulltext parseDelimitedFrom( + public static io.greptime.v1.Ddl.SetFulltext 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.SetColumnFulltext parseFrom( + public static io.greptime.v1.Ddl.SetFulltext parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.greptime.v1.Ddl.SetColumnFulltext parseFrom( + public static io.greptime.v1.Ddl.SetFulltext parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -30101,7 +32003,7 @@ java.lang.String defaultValue); public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(io.greptime.v1.Ddl.SetColumnFulltext prototype) { + public static Builder newBuilder(io.greptime.v1.Ddl.SetFulltext prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -30117,26 +32019,26 @@ java.lang.String defaultValue); return builder; } /** - * Protobuf type {@code greptime.v1.SetColumnFulltext} + * Protobuf type {@code greptime.v1.SetFulltext} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:greptime.v1.SetColumnFulltext) - io.greptime.v1.Ddl.SetColumnFulltextOrBuilder { + // @@protoc_insertion_point(builder_implements:greptime.v1.SetFulltext) + io.greptime.v1.Ddl.SetFulltextOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.greptime.v1.Ddl.internal_static_greptime_v1_SetColumnFulltext_descriptor; + return io.greptime.v1.Ddl.internal_static_greptime_v1_SetFulltext_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.greptime.v1.Ddl.internal_static_greptime_v1_SetColumnFulltext_fieldAccessorTable + return io.greptime.v1.Ddl.internal_static_greptime_v1_SetFulltext_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.greptime.v1.Ddl.SetColumnFulltext.class, io.greptime.v1.Ddl.SetColumnFulltext.Builder.class); + io.greptime.v1.Ddl.SetFulltext.class, io.greptime.v1.Ddl.SetFulltext.Builder.class); } - // Construct using io.greptime.v1.Ddl.SetColumnFulltext.newBuilder() + // Construct using io.greptime.v1.Ddl.SetFulltext.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -30168,17 +32070,17 @@ java.lang.String defaultValue); @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.greptime.v1.Ddl.internal_static_greptime_v1_SetColumnFulltext_descriptor; + return io.greptime.v1.Ddl.internal_static_greptime_v1_SetFulltext_descriptor; } @java.lang.Override - public io.greptime.v1.Ddl.SetColumnFulltext getDefaultInstanceForType() { - return io.greptime.v1.Ddl.SetColumnFulltext.getDefaultInstance(); + public io.greptime.v1.Ddl.SetFulltext getDefaultInstanceForType() { + return io.greptime.v1.Ddl.SetFulltext.getDefaultInstance(); } @java.lang.Override - public io.greptime.v1.Ddl.SetColumnFulltext build() { - io.greptime.v1.Ddl.SetColumnFulltext result = buildPartial(); + public io.greptime.v1.Ddl.SetFulltext build() { + io.greptime.v1.Ddl.SetFulltext result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -30186,8 +32088,8 @@ java.lang.String defaultValue); } @java.lang.Override - public io.greptime.v1.Ddl.SetColumnFulltext buildPartial() { - io.greptime.v1.Ddl.SetColumnFulltext result = new io.greptime.v1.Ddl.SetColumnFulltext(this); + public io.greptime.v1.Ddl.SetFulltext buildPartial() { + io.greptime.v1.Ddl.SetFulltext result = new io.greptime.v1.Ddl.SetFulltext(this); result.columnName_ = columnName_; result.enable_ = enable_; result.analyzer_ = analyzer_; @@ -30230,16 +32132,16 @@ java.lang.String defaultValue); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.greptime.v1.Ddl.SetColumnFulltext) { - return mergeFrom((io.greptime.v1.Ddl.SetColumnFulltext)other); + if (other instanceof io.greptime.v1.Ddl.SetFulltext) { + return mergeFrom((io.greptime.v1.Ddl.SetFulltext)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(io.greptime.v1.Ddl.SetColumnFulltext other) { - if (other == io.greptime.v1.Ddl.SetColumnFulltext.getDefaultInstance()) return this; + public Builder mergeFrom(io.greptime.v1.Ddl.SetFulltext other) { + if (other == io.greptime.v1.Ddl.SetFulltext.getDefaultInstance()) return this; if (!other.getColumnName().isEmpty()) { columnName_ = other.columnName_; onChanged(); @@ -30268,11 +32170,11 @@ java.lang.String defaultValue); com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.greptime.v1.Ddl.SetColumnFulltext parsedMessage = null; + io.greptime.v1.Ddl.SetFulltext parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.greptime.v1.Ddl.SetColumnFulltext) e.getUnfinishedMessage(); + parsedMessage = (io.greptime.v1.Ddl.SetFulltext) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -30486,48 +32388,48 @@ java.lang.String defaultValue); } - // @@protoc_insertion_point(builder_scope:greptime.v1.SetColumnFulltext) + // @@protoc_insertion_point(builder_scope:greptime.v1.SetFulltext) } - // @@protoc_insertion_point(class_scope:greptime.v1.SetColumnFulltext) - private static final io.greptime.v1.Ddl.SetColumnFulltext DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:greptime.v1.SetFulltext) + private static final io.greptime.v1.Ddl.SetFulltext DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new io.greptime.v1.Ddl.SetColumnFulltext(); + DEFAULT_INSTANCE = new io.greptime.v1.Ddl.SetFulltext(); } - public static io.greptime.v1.Ddl.SetColumnFulltext getDefaultInstance() { + public static io.greptime.v1.Ddl.SetFulltext getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public SetColumnFulltext parsePartialFrom( + public SetFulltext parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new SetColumnFulltext(input, extensionRegistry); + return new SetFulltext(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public io.greptime.v1.Ddl.SetColumnFulltext getDefaultInstanceForType() { + public io.greptime.v1.Ddl.SetFulltext getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface UnsetColumnFulltextOrBuilder extends - // @@protoc_insertion_point(interface_extends:greptime.v1.UnsetColumnFulltext) + public interface UnsetFulltextOrBuilder extends + // @@protoc_insertion_point(interface_extends:greptime.v1.UnsetFulltext) com.google.protobuf.MessageOrBuilder { /** @@ -30543,18 +32445,18 @@ java.lang.String defaultValue); getColumnNameBytes(); } /** - * Protobuf type {@code greptime.v1.UnsetColumnFulltext} + * Protobuf type {@code greptime.v1.UnsetFulltext} */ - public static final class UnsetColumnFulltext extends + public static final class UnsetFulltext extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:greptime.v1.UnsetColumnFulltext) - UnsetColumnFulltextOrBuilder { + // @@protoc_insertion_point(message_implements:greptime.v1.UnsetFulltext) + UnsetFulltextOrBuilder { private static final long serialVersionUID = 0L; - // Use UnsetColumnFulltext.newBuilder() to construct. - private UnsetColumnFulltext(com.google.protobuf.GeneratedMessageV3.Builder builder) { + // Use UnsetFulltext.newBuilder() to construct. + private UnsetFulltext(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UnsetColumnFulltext() { + private UnsetFulltext() { columnName_ = ""; } @@ -30562,7 +32464,7 @@ java.lang.String defaultValue); @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { - return new UnsetColumnFulltext(); + return new UnsetFulltext(); } @java.lang.Override @@ -30570,7 +32472,7 @@ java.lang.String defaultValue); getUnknownFields() { return this.unknownFields; } - private UnsetColumnFulltext( + private UnsetFulltext( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -30617,15 +32519,15 @@ java.lang.String defaultValue); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.greptime.v1.Ddl.internal_static_greptime_v1_UnsetColumnFulltext_descriptor; + return io.greptime.v1.Ddl.internal_static_greptime_v1_UnsetFulltext_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.greptime.v1.Ddl.internal_static_greptime_v1_UnsetColumnFulltext_fieldAccessorTable + return io.greptime.v1.Ddl.internal_static_greptime_v1_UnsetFulltext_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.greptime.v1.Ddl.UnsetColumnFulltext.class, io.greptime.v1.Ddl.UnsetColumnFulltext.Builder.class); + io.greptime.v1.Ddl.UnsetFulltext.class, io.greptime.v1.Ddl.UnsetFulltext.Builder.class); } public static final int COLUMN_NAME_FIELD_NUMBER = 1; @@ -30705,10 +32607,10 @@ java.lang.String defaultValue); if (obj == this) { return true; } - if (!(obj instanceof io.greptime.v1.Ddl.UnsetColumnFulltext)) { + if (!(obj instanceof io.greptime.v1.Ddl.UnsetFulltext)) { return super.equals(obj); } - io.greptime.v1.Ddl.UnsetColumnFulltext other = (io.greptime.v1.Ddl.UnsetColumnFulltext) obj; + io.greptime.v1.Ddl.UnsetFulltext other = (io.greptime.v1.Ddl.UnsetFulltext) obj; if (!getColumnName() .equals(other.getColumnName())) return false; @@ -30730,69 +32632,69 @@ java.lang.String defaultValue); return hash; } - public static io.greptime.v1.Ddl.UnsetColumnFulltext parseFrom( + public static io.greptime.v1.Ddl.UnsetFulltext parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.greptime.v1.Ddl.UnsetColumnFulltext parseFrom( + public static io.greptime.v1.Ddl.UnsetFulltext 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.UnsetColumnFulltext parseFrom( + public static io.greptime.v1.Ddl.UnsetFulltext parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.greptime.v1.Ddl.UnsetColumnFulltext parseFrom( + public static io.greptime.v1.Ddl.UnsetFulltext 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.UnsetColumnFulltext parseFrom(byte[] data) + public static io.greptime.v1.Ddl.UnsetFulltext parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static io.greptime.v1.Ddl.UnsetColumnFulltext parseFrom( + public static io.greptime.v1.Ddl.UnsetFulltext parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static io.greptime.v1.Ddl.UnsetColumnFulltext parseFrom(java.io.InputStream input) + public static io.greptime.v1.Ddl.UnsetFulltext parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.greptime.v1.Ddl.UnsetColumnFulltext parseFrom( + public static io.greptime.v1.Ddl.UnsetFulltext 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.UnsetColumnFulltext parseDelimitedFrom(java.io.InputStream input) + public static io.greptime.v1.Ddl.UnsetFulltext parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } - public static io.greptime.v1.Ddl.UnsetColumnFulltext parseDelimitedFrom( + public static io.greptime.v1.Ddl.UnsetFulltext 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.UnsetColumnFulltext parseFrom( + public static io.greptime.v1.Ddl.UnsetFulltext parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } - public static io.greptime.v1.Ddl.UnsetColumnFulltext parseFrom( + public static io.greptime.v1.Ddl.UnsetFulltext parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -30805,7 +32707,7 @@ java.lang.String defaultValue); public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(io.greptime.v1.Ddl.UnsetColumnFulltext prototype) { + public static Builder newBuilder(io.greptime.v1.Ddl.UnsetFulltext prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override @@ -30821,26 +32723,26 @@ java.lang.String defaultValue); return builder; } /** - * Protobuf type {@code greptime.v1.UnsetColumnFulltext} + * Protobuf type {@code greptime.v1.UnsetFulltext} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:greptime.v1.UnsetColumnFulltext) - io.greptime.v1.Ddl.UnsetColumnFulltextOrBuilder { + // @@protoc_insertion_point(builder_implements:greptime.v1.UnsetFulltext) + io.greptime.v1.Ddl.UnsetFulltextOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return io.greptime.v1.Ddl.internal_static_greptime_v1_UnsetColumnFulltext_descriptor; + return io.greptime.v1.Ddl.internal_static_greptime_v1_UnsetFulltext_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return io.greptime.v1.Ddl.internal_static_greptime_v1_UnsetColumnFulltext_fieldAccessorTable + return io.greptime.v1.Ddl.internal_static_greptime_v1_UnsetFulltext_fieldAccessorTable .ensureFieldAccessorsInitialized( - io.greptime.v1.Ddl.UnsetColumnFulltext.class, io.greptime.v1.Ddl.UnsetColumnFulltext.Builder.class); + io.greptime.v1.Ddl.UnsetFulltext.class, io.greptime.v1.Ddl.UnsetFulltext.Builder.class); } - // Construct using io.greptime.v1.Ddl.UnsetColumnFulltext.newBuilder() + // Construct using io.greptime.v1.Ddl.UnsetFulltext.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -30866,17 +32768,17 @@ java.lang.String defaultValue); @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return io.greptime.v1.Ddl.internal_static_greptime_v1_UnsetColumnFulltext_descriptor; + return io.greptime.v1.Ddl.internal_static_greptime_v1_UnsetFulltext_descriptor; } @java.lang.Override - public io.greptime.v1.Ddl.UnsetColumnFulltext getDefaultInstanceForType() { - return io.greptime.v1.Ddl.UnsetColumnFulltext.getDefaultInstance(); + public io.greptime.v1.Ddl.UnsetFulltext getDefaultInstanceForType() { + return io.greptime.v1.Ddl.UnsetFulltext.getDefaultInstance(); } @java.lang.Override - public io.greptime.v1.Ddl.UnsetColumnFulltext build() { - io.greptime.v1.Ddl.UnsetColumnFulltext result = buildPartial(); + public io.greptime.v1.Ddl.UnsetFulltext build() { + io.greptime.v1.Ddl.UnsetFulltext result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -30884,8 +32786,8 @@ java.lang.String defaultValue); } @java.lang.Override - public io.greptime.v1.Ddl.UnsetColumnFulltext buildPartial() { - io.greptime.v1.Ddl.UnsetColumnFulltext result = new io.greptime.v1.Ddl.UnsetColumnFulltext(this); + public io.greptime.v1.Ddl.UnsetFulltext buildPartial() { + io.greptime.v1.Ddl.UnsetFulltext result = new io.greptime.v1.Ddl.UnsetFulltext(this); result.columnName_ = columnName_; onBuilt(); return result; @@ -30925,16 +32827,16 @@ java.lang.String defaultValue); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof io.greptime.v1.Ddl.UnsetColumnFulltext) { - return mergeFrom((io.greptime.v1.Ddl.UnsetColumnFulltext)other); + if (other instanceof io.greptime.v1.Ddl.UnsetFulltext) { + return mergeFrom((io.greptime.v1.Ddl.UnsetFulltext)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(io.greptime.v1.Ddl.UnsetColumnFulltext other) { - if (other == io.greptime.v1.Ddl.UnsetColumnFulltext.getDefaultInstance()) return this; + public Builder mergeFrom(io.greptime.v1.Ddl.UnsetFulltext other) { + if (other == io.greptime.v1.Ddl.UnsetFulltext.getDefaultInstance()) return this; if (!other.getColumnName().isEmpty()) { columnName_ = other.columnName_; onChanged(); @@ -30954,11 +32856,11 @@ java.lang.String defaultValue); com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - io.greptime.v1.Ddl.UnsetColumnFulltext parsedMessage = null; + io.greptime.v1.Ddl.UnsetFulltext parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (io.greptime.v1.Ddl.UnsetColumnFulltext) e.getUnfinishedMessage(); + parsedMessage = (io.greptime.v1.Ddl.UnsetFulltext) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -31056,41 +32958,1181 @@ java.lang.String defaultValue); } - // @@protoc_insertion_point(builder_scope:greptime.v1.UnsetColumnFulltext) + // @@protoc_insertion_point(builder_scope:greptime.v1.UnsetFulltext) } - // @@protoc_insertion_point(class_scope:greptime.v1.UnsetColumnFulltext) - private static final io.greptime.v1.Ddl.UnsetColumnFulltext DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:greptime.v1.UnsetFulltext) + private static final io.greptime.v1.Ddl.UnsetFulltext DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new io.greptime.v1.Ddl.UnsetColumnFulltext(); + DEFAULT_INSTANCE = new io.greptime.v1.Ddl.UnsetFulltext(); } - public static io.greptime.v1.Ddl.UnsetColumnFulltext getDefaultInstance() { + public static io.greptime.v1.Ddl.UnsetFulltext getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override - public UnsetColumnFulltext parsePartialFrom( + public UnsetFulltext parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UnsetColumnFulltext(input, extensionRegistry); + return new UnsetFulltext(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public io.greptime.v1.Ddl.UnsetColumnFulltext getDefaultInstanceForType() { + public io.greptime.v1.Ddl.UnsetFulltext getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface SetInvertedOrBuilder extends + // @@protoc_insertion_point(interface_extends:greptime.v1.SetInverted) + 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.SetInverted} + */ + public static final class SetInverted extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:greptime.v1.SetInverted) + SetInvertedOrBuilder { + private static final long serialVersionUID = 0L; + // Use SetInverted.newBuilder() to construct. + private SetInverted(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private SetInverted() { + columnName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new SetInverted(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private SetInverted( + 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_SetInverted_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_SetInverted_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.greptime.v1.Ddl.SetInverted.class, io.greptime.v1.Ddl.SetInverted.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.SetInverted)) { + return super.equals(obj); + } + io.greptime.v1.Ddl.SetInverted other = (io.greptime.v1.Ddl.SetInverted) 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.SetInverted parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.greptime.v1.Ddl.SetInverted 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.SetInverted parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.greptime.v1.Ddl.SetInverted 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.SetInverted parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.greptime.v1.Ddl.SetInverted parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.greptime.v1.Ddl.SetInverted parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.greptime.v1.Ddl.SetInverted 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.SetInverted parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static io.greptime.v1.Ddl.SetInverted 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.SetInverted parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.greptime.v1.Ddl.SetInverted 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.SetInverted 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.SetInverted} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:greptime.v1.SetInverted) + io.greptime.v1.Ddl.SetInvertedOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_SetInverted_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_SetInverted_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.greptime.v1.Ddl.SetInverted.class, io.greptime.v1.Ddl.SetInverted.Builder.class); + } + + // Construct using io.greptime.v1.Ddl.SetInverted.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_SetInverted_descriptor; + } + + @java.lang.Override + public io.greptime.v1.Ddl.SetInverted getDefaultInstanceForType() { + return io.greptime.v1.Ddl.SetInverted.getDefaultInstance(); + } + + @java.lang.Override + public io.greptime.v1.Ddl.SetInverted build() { + io.greptime.v1.Ddl.SetInverted result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.greptime.v1.Ddl.SetInverted buildPartial() { + io.greptime.v1.Ddl.SetInverted result = new io.greptime.v1.Ddl.SetInverted(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.SetInverted) { + return mergeFrom((io.greptime.v1.Ddl.SetInverted)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.greptime.v1.Ddl.SetInverted other) { + if (other == io.greptime.v1.Ddl.SetInverted.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.SetInverted parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.greptime.v1.Ddl.SetInverted) 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.SetInverted) + } + + // @@protoc_insertion_point(class_scope:greptime.v1.SetInverted) + private static final io.greptime.v1.Ddl.SetInverted DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.greptime.v1.Ddl.SetInverted(); + } + + public static io.greptime.v1.Ddl.SetInverted getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetInverted parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SetInverted(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.SetInverted getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface UnsetInvertedOrBuilder extends + // @@protoc_insertion_point(interface_extends:greptime.v1.UnsetInverted) + 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.UnsetInverted} + */ + public static final class UnsetInverted extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:greptime.v1.UnsetInverted) + UnsetInvertedOrBuilder { + private static final long serialVersionUID = 0L; + // Use UnsetInverted.newBuilder() to construct. + private UnsetInverted(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private UnsetInverted() { + columnName_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UnsetInverted(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private UnsetInverted( + 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_UnsetInverted_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_UnsetInverted_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.greptime.v1.Ddl.UnsetInverted.class, io.greptime.v1.Ddl.UnsetInverted.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.UnsetInverted)) { + return super.equals(obj); + } + io.greptime.v1.Ddl.UnsetInverted other = (io.greptime.v1.Ddl.UnsetInverted) 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.UnsetInverted parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.greptime.v1.Ddl.UnsetInverted 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.UnsetInverted parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.greptime.v1.Ddl.UnsetInverted 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.UnsetInverted parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.greptime.v1.Ddl.UnsetInverted parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.greptime.v1.Ddl.UnsetInverted parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.greptime.v1.Ddl.UnsetInverted 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.UnsetInverted parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static io.greptime.v1.Ddl.UnsetInverted 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.UnsetInverted parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.greptime.v1.Ddl.UnsetInverted 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.UnsetInverted 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.UnsetInverted} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:greptime.v1.UnsetInverted) + io.greptime.v1.Ddl.UnsetInvertedOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_UnsetInverted_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_UnsetInverted_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.greptime.v1.Ddl.UnsetInverted.class, io.greptime.v1.Ddl.UnsetInverted.Builder.class); + } + + // Construct using io.greptime.v1.Ddl.UnsetInverted.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_UnsetInverted_descriptor; + } + + @java.lang.Override + public io.greptime.v1.Ddl.UnsetInverted getDefaultInstanceForType() { + return io.greptime.v1.Ddl.UnsetInverted.getDefaultInstance(); + } + + @java.lang.Override + public io.greptime.v1.Ddl.UnsetInverted build() { + io.greptime.v1.Ddl.UnsetInverted result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.greptime.v1.Ddl.UnsetInverted buildPartial() { + io.greptime.v1.Ddl.UnsetInverted result = new io.greptime.v1.Ddl.UnsetInverted(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.UnsetInverted) { + return mergeFrom((io.greptime.v1.Ddl.UnsetInverted)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.greptime.v1.Ddl.UnsetInverted other) { + if (other == io.greptime.v1.Ddl.UnsetInverted.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.UnsetInverted parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.greptime.v1.Ddl.UnsetInverted) 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.UnsetInverted) + } + + // @@protoc_insertion_point(class_scope:greptime.v1.UnsetInverted) + private static final io.greptime.v1.Ddl.UnsetInverted DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.greptime.v1.Ddl.UnsetInverted(); + } + + public static io.greptime.v1.Ddl.UnsetInverted getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UnsetInverted parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UnsetInverted(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.UnsetInverted getDefaultInstanceForType() { return DEFAULT_INSTANCE; } @@ -33827,6 +36869,16 @@ java.lang.String defaultValue); private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_greptime_v1_AlterTableExpr_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_SetIndex_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_SetIndex_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_UnsetIndex_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_UnsetIndex_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_greptime_v1_DropTableExpr_descriptor; private static final @@ -33923,15 +36975,25 @@ java.lang.String defaultValue); com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_greptime_v1_AddColumnLocation_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_greptime_v1_SetColumnFulltext_descriptor; + internal_static_greptime_v1_SetFulltext_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_greptime_v1_SetColumnFulltext_fieldAccessorTable; + internal_static_greptime_v1_SetFulltext_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_greptime_v1_UnsetColumnFulltext_descriptor; + internal_static_greptime_v1_UnsetFulltext_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_greptime_v1_UnsetColumnFulltext_fieldAccessorTable; + internal_static_greptime_v1_UnsetFulltext_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_SetInverted_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_SetInverted_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_UnsetInverted_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_UnsetInverted_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_greptime_v1_AlterDatabaseExpr_descriptor; private static final @@ -34004,7 +37066,7 @@ java.lang.String defaultValue); "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\"\200\004\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" + @@ -34013,71 +37075,78 @@ java.lang.String defaultValue); "eTableH\000\022=\n\023modify_column_types\030\007 \001(\0132\036." + "greptime.v1.ModifyColumnTypesH\000\0229\n\021set_t" + "able_options\030\010 \001(\0132\034.greptime.v1.SetTabl" + - "eOptionsH\000\022=\n\023set_column_fulltext\030\t \001(\0132" + - "\036.greptime.v1.SetColumnFulltextH\000\022A\n\025uns" + - "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\"\204\001\n\tAddColumn\022*\n\ncolumn_" + - "def\030\001 \001(\0132\026.greptime.v1.ColumnDef\0220\n\010loc" + - "ation\030\003 \001(\0132\036.greptime.v1.AddColumnLocat" + - "ion\022\031\n\021add_if_not_exists\030\004 \001(\010\"\236\001\n\020Modif" + - "yColumnType\022\023\n\013column_name\030\001 \001(\t\0220\n\013targ" + - "et_type\030\002 \001(\0162\033.greptime.v1.ColumnDataTy" + - "pe\022C\n\025target_type_extension\030\003 \001(\0132$.grep" + - "time.v1.ColumnDataTypeExtension\"$\n\006Optio" + - "n\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"=\n\017SetTabl" + - "eOptions\022*\n\rtable_options\030\001 \003(\0132\023.grepti" + - "me.v1.Option\"!\n\021UnsetTableOptions\022\014\n\004key" + - "s\030\001 \003(\t\"\032\n\nDropColumn\022\014\n\004name\030\001 \001(\t\"\025\n\007T" + - "ableId\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_typ" + - "e\030\002 \001(\0162\033.greptime.v1.ColumnDataType\022\023\n\013" + - "is_nullable\030\003 \001(\010\022\032\n\022default_constraint\030" + - "\004 \001(\014\0220\n\rsemantic_type\030\005 \001(\0162\031.greptime." + - "v1.SemanticType\022\017\n\007comment\030\006 \001(\t\022@\n\022data" + - "type_extension\030\007 \001(\0132$.greptime.v1.Colum" + - "nDataTypeExtension\022+\n\007options\030\010 \001(\0132\032.gr" + - "eptime.v1.ColumnOptions\"\230\001\n\021AddColumnLoc" + - "ation\022B\n\rlocation_type\030\001 \001(\0162+.greptime." + - "v1.AddColumnLocation.LocationType\022\031\n\021aft" + - "er_column_name\030\002 \001(\t\"$\n\014LocationType\022\t\n\005" + - "FIRST\020\000\022\t\n\005AFTER\020\001\"y\n\021SetColumnFulltext\022" + - "\023\n\013column_name\030\001 \001(\t\022\016\n\006enable\030\002 \001(\010\022\'\n\010" + - "analyzer\030\003 \001(\0162\025.greptime.v1.Analyzer\022\026\n" + - "\016case_sensitive\030\004 \001(\010\"*\n\023UnsetColumnFull" + - "text\022\023\n\013column_name\030\001 \001(\t\"\314\001\n\021AlterDatab" + - "aseExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_" + - "name\030\002 \001(\t\022?\n\024set_database_options\030\003 \001(\013" + - "2\037.greptime.v1.SetDatabaseOptionsH\000\022C\n\026u" + - "nset_database_options\030\004 \001(\0132!.greptime.v" + - "1.UnsetDatabaseOptionsH\000B\006\n\004kind\"G\n\022SetD" + - "atabaseOptions\0221\n\024set_database_options\030\001" + - " \003(\0132\023.greptime.v1.Option\"$\n\024UnsetDataba" + - "seOptions\022\014\n\004keys\030\001 \003(\t*$\n\010Analyzer\022\013\n\007E" + - "NGLISH\020\000\022\013\n\007CHINESE\020\001BL\n\016io.greptime.v1B" + - "\003DdlZ5github.com/GreptimeTeam/greptime-p" + - "roto/go/greptime/v1b\006proto3" + "eOptionsH\000\022=\n\023unset_table_options\030\013 \001(\0132" + + "\036.greptime.v1.UnsetTableOptionsH\000\022*\n\tset" + + "_index\030\014 \001(\0132\025.greptime.v1.SetIndexH\000\022.\n" + + "\013unset_index\030\r \001(\0132\027.greptime.v1.UnsetIn" + + "dexH\000B\006\n\004kind\"q\n\010SetIndex\022,\n\010fulltext\030\001 " + + "\001(\0132\030.greptime.v1.SetFulltextH\000\022,\n\010inver" + + "ted\030\002 \001(\0132\030.greptime.v1.SetInvertedH\000B\t\n" + + "\007options\"w\n\nUnsetIndex\022.\n\010fulltext\030\001 \001(\013" + + "2\032.greptime.v1.UnsetFulltextH\000\022.\n\010invert" + + "ed\030\002 \001(\0132\032.greptime.v1.UnsetInvertedH\000B\t" + + "\n\007options\"\216\001\n\rDropTableExpr\022\024\n\014catalog_n" + + "ame\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\022\n\ntable_" + + "name\030\003 \001(\t\022&\n\010table_id\030\004 \001(\0132\024.greptime." + + "v1.TableId\022\026\n\016drop_if_exists\030\005 \001(\010\"\314\001\n\022C" + + "reateDatabaseExpr\022\024\n\014catalog_name\030\001 \001(\t\022" + + "\023\n\013schema_name\030\002 \001(\t\022\034\n\024create_if_not_ex" + + "ists\030\003 \001(\010\022=\n\007options\030\004 \003(\0132,.greptime.v" + + "1.CreateDatabaseExpr.OptionsEntry\032.\n\014Opt" + + "ionsEntry\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_name\030" + + "\003 \001(\t\022&\n\010table_id\030\004 \001(\0132\024.greptime.v1.Ta" + + "bleId\"U\n\020DropDatabaseExpr\022\024\n\014catalog_nam" + + "e\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_column" + + "s\030\001 \003(\0132\026.greptime.v1.AddColumn\"<\n\013DropC" + + "olumns\022-\n\014drop_columns\030\001 \003(\0132\027.greptime." + + "v1.DropColumn\"O\n\021ModifyColumnTypes\022:\n\023mo" + + "dify_column_types\030\001 \003(\0132\035.greptime.v1.Mo" + + "difyColumnType\"%\n\013RenameTable\022\026\n\016new_tab" + + "le_name\030\001 \001(\t\"\204\001\n\tAddColumn\022*\n\ncolumn_de" + + "f\030\001 \001(\0132\026.greptime.v1.ColumnDef\0220\n\010locat" + + "ion\030\003 \001(\0132\036.greptime.v1.AddColumnLocatio" + + "n\022\031\n\021add_if_not_exists\030\004 \001(\010\"\236\001\n\020ModifyC" + + "olumnType\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$.grepti" + + "me.v1.ColumnDataTypeExtension\"$\n\006Option\022" + + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"=\n\017SetTableO" + + "ptions\022*\n\rtable_options\030\001 \003(\0132\023.greptime" + + ".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\007Tab" + + "leId\022\n\n\002id\030\001 \001(\r\"\024\n\006FlowId\022\n\n\002id\030\001 \001(\r\"\254" + + "\002\n\tColumnDef\022\014\n\004name\030\001 \001(\t\022.\n\tdata_type\030" + + "\002 \001(\0162\033.greptime.v1.ColumnDataType\022\023\n\013is" + + "_nullable\030\003 \001(\010\022\032\n\022default_constraint\030\004 " + + "\001(\014\0220\n\rsemantic_type\030\005 \001(\0162\031.greptime.v1" + + ".SemanticType\022\017\n\007comment\030\006 \001(\t\022@\n\022dataty" + + "pe_extension\030\007 \001(\0132$.greptime.v1.ColumnD" + + "ataTypeExtension\022+\n\007options\030\010 \001(\0132\032.grep" + + "time.v1.ColumnOptions\"\230\001\n\021AddColumnLocat" + + "ion\022B\n\rlocation_type\030\001 \001(\0162+.greptime.v1" + + ".AddColumnLocation.LocationType\022\031\n\021after" + + "_column_name\030\002 \001(\t\"$\n\014LocationType\022\t\n\005FI" + + "RST\020\000\022\t\n\005AFTER\020\001\"s\n\013SetFulltext\022\023\n\013colum" + + "n_name\030\001 \001(\t\022\016\n\006enable\030\002 \001(\010\022\'\n\010analyzer" + + "\030\003 \001(\0162\025.greptime.v1.Analyzer\022\026\n\016case_se" + + "nsitive\030\004 \001(\010\"$\n\rUnsetFulltext\022\023\n\013column" + + "_name\030\001 \001(\t\"\"\n\013SetInverted\022\023\n\013column_nam" + + "e\030\001 \001(\t\"$\n\rUnsetInverted\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, @@ -34137,15 +37206,27 @@ java.lang.String defaultValue); 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", }); - internal_static_greptime_v1_DropTableExpr_descriptor = + new java.lang.String[] { "CatalogName", "SchemaName", "TableName", "AddColumns", "DropColumns", "RenameTable", "ModifyColumnTypes", "SetTableOptions", "UnsetTableOptions", "SetIndex", "UnsetIndex", "Kind", }); + internal_static_greptime_v1_SetIndex_descriptor = getDescriptor().getMessageTypes().get(7); + internal_static_greptime_v1_SetIndex_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_greptime_v1_SetIndex_descriptor, + new java.lang.String[] { "Fulltext", "Inverted", "Options", }); + internal_static_greptime_v1_UnsetIndex_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_greptime_v1_UnsetIndex_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_greptime_v1_UnsetIndex_descriptor, + new java.lang.String[] { "Fulltext", "Inverted", "Options", }); + internal_static_greptime_v1_DropTableExpr_descriptor = + getDescriptor().getMessageTypes().get(9); internal_static_greptime_v1_DropTableExpr_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_DropTableExpr_descriptor, new java.lang.String[] { "CatalogName", "SchemaName", "TableName", "TableId", "DropIfExists", }); internal_static_greptime_v1_CreateDatabaseExpr_descriptor = - getDescriptor().getMessageTypes().get(8); + getDescriptor().getMessageTypes().get(10); internal_static_greptime_v1_CreateDatabaseExpr_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_CreateDatabaseExpr_descriptor, @@ -34157,127 +37238,139 @@ java.lang.String defaultValue); internal_static_greptime_v1_CreateDatabaseExpr_OptionsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_greptime_v1_TruncateTableExpr_descriptor = - getDescriptor().getMessageTypes().get(9); + getDescriptor().getMessageTypes().get(11); internal_static_greptime_v1_TruncateTableExpr_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_TruncateTableExpr_descriptor, new java.lang.String[] { "CatalogName", "SchemaName", "TableName", "TableId", }); internal_static_greptime_v1_DropDatabaseExpr_descriptor = - getDescriptor().getMessageTypes().get(10); + getDescriptor().getMessageTypes().get(12); internal_static_greptime_v1_DropDatabaseExpr_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_DropDatabaseExpr_descriptor, new java.lang.String[] { "CatalogName", "SchemaName", "DropIfExists", }); internal_static_greptime_v1_AddColumns_descriptor = - getDescriptor().getMessageTypes().get(11); + getDescriptor().getMessageTypes().get(13); internal_static_greptime_v1_AddColumns_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_AddColumns_descriptor, new java.lang.String[] { "AddColumns", }); internal_static_greptime_v1_DropColumns_descriptor = - getDescriptor().getMessageTypes().get(12); + getDescriptor().getMessageTypes().get(14); internal_static_greptime_v1_DropColumns_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_DropColumns_descriptor, new java.lang.String[] { "DropColumns", }); internal_static_greptime_v1_ModifyColumnTypes_descriptor = - getDescriptor().getMessageTypes().get(13); + getDescriptor().getMessageTypes().get(15); internal_static_greptime_v1_ModifyColumnTypes_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_ModifyColumnTypes_descriptor, new java.lang.String[] { "ModifyColumnTypes", }); internal_static_greptime_v1_RenameTable_descriptor = - getDescriptor().getMessageTypes().get(14); + getDescriptor().getMessageTypes().get(16); internal_static_greptime_v1_RenameTable_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_RenameTable_descriptor, new java.lang.String[] { "NewTableName", }); internal_static_greptime_v1_AddColumn_descriptor = - getDescriptor().getMessageTypes().get(15); + getDescriptor().getMessageTypes().get(17); internal_static_greptime_v1_AddColumn_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_AddColumn_descriptor, new java.lang.String[] { "ColumnDef", "Location", "AddIfNotExists", }); internal_static_greptime_v1_ModifyColumnType_descriptor = - getDescriptor().getMessageTypes().get(16); + getDescriptor().getMessageTypes().get(18); internal_static_greptime_v1_ModifyColumnType_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_ModifyColumnType_descriptor, new java.lang.String[] { "ColumnName", "TargetType", "TargetTypeExtension", }); internal_static_greptime_v1_Option_descriptor = - getDescriptor().getMessageTypes().get(17); + getDescriptor().getMessageTypes().get(19); internal_static_greptime_v1_Option_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_Option_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_greptime_v1_SetTableOptions_descriptor = - getDescriptor().getMessageTypes().get(18); + getDescriptor().getMessageTypes().get(20); internal_static_greptime_v1_SetTableOptions_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_SetTableOptions_descriptor, new java.lang.String[] { "TableOptions", }); internal_static_greptime_v1_UnsetTableOptions_descriptor = - getDescriptor().getMessageTypes().get(19); + getDescriptor().getMessageTypes().get(21); internal_static_greptime_v1_UnsetTableOptions_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_UnsetTableOptions_descriptor, new java.lang.String[] { "Keys", }); internal_static_greptime_v1_DropColumn_descriptor = - getDescriptor().getMessageTypes().get(20); + getDescriptor().getMessageTypes().get(22); internal_static_greptime_v1_DropColumn_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_DropColumn_descriptor, new java.lang.String[] { "Name", }); internal_static_greptime_v1_TableId_descriptor = - getDescriptor().getMessageTypes().get(21); + getDescriptor().getMessageTypes().get(23); internal_static_greptime_v1_TableId_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_TableId_descriptor, new java.lang.String[] { "Id", }); internal_static_greptime_v1_FlowId_descriptor = - getDescriptor().getMessageTypes().get(22); + getDescriptor().getMessageTypes().get(24); internal_static_greptime_v1_FlowId_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_FlowId_descriptor, new java.lang.String[] { "Id", }); internal_static_greptime_v1_ColumnDef_descriptor = - getDescriptor().getMessageTypes().get(23); + getDescriptor().getMessageTypes().get(25); internal_static_greptime_v1_ColumnDef_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_ColumnDef_descriptor, new java.lang.String[] { "Name", "DataType", "IsNullable", "DefaultConstraint", "SemanticType", "Comment", "DatatypeExtension", "Options", }); internal_static_greptime_v1_AddColumnLocation_descriptor = - getDescriptor().getMessageTypes().get(24); + getDescriptor().getMessageTypes().get(26); internal_static_greptime_v1_AddColumnLocation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_AddColumnLocation_descriptor, new java.lang.String[] { "LocationType", "AfterColumnName", }); - internal_static_greptime_v1_SetColumnFulltext_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_greptime_v1_SetColumnFulltext_fieldAccessorTable = new + internal_static_greptime_v1_SetFulltext_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_greptime_v1_SetFulltext_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_greptime_v1_SetColumnFulltext_descriptor, + internal_static_greptime_v1_SetFulltext_descriptor, new java.lang.String[] { "ColumnName", "Enable", "Analyzer", "CaseSensitive", }); - internal_static_greptime_v1_UnsetColumnFulltext_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_greptime_v1_UnsetColumnFulltext_fieldAccessorTable = new + internal_static_greptime_v1_UnsetFulltext_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_greptime_v1_UnsetFulltext_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_greptime_v1_UnsetColumnFulltext_descriptor, + internal_static_greptime_v1_UnsetFulltext_descriptor, + new java.lang.String[] { "ColumnName", }); + internal_static_greptime_v1_SetInverted_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_greptime_v1_SetInverted_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_greptime_v1_SetInverted_descriptor, + new java.lang.String[] { "ColumnName", }); + internal_static_greptime_v1_UnsetInverted_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_greptime_v1_UnsetInverted_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_greptime_v1_UnsetInverted_descriptor, new java.lang.String[] { "ColumnName", }); internal_static_greptime_v1_AlterDatabaseExpr_descriptor = - getDescriptor().getMessageTypes().get(27); + getDescriptor().getMessageTypes().get(31); 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(32); 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(33); internal_static_greptime_v1_UnsetDatabaseOptions_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_UnsetDatabaseOptions_descriptor, diff --git a/java/src/main/java/io/greptime/v1/region/Server.java b/java/src/main/java/io/greptime/v1/region/Server.java index 6607ac7..ca1041e 100644 --- a/java/src/main/java/io/greptime/v1/region/Server.java +++ b/java/src/main/java/io/greptime/v1/region/Server.java @@ -16448,36 +16448,6 @@ java.lang.String defaultValue); */ io.greptime.v1.Ddl.SetTableOptionsOrBuilder getSetTableOptionsOrBuilder(); - /** - * .greptime.v1.SetColumnFulltext set_column_fulltext = 7; - * @return Whether the setColumnFulltext field is set. - */ - boolean hasSetColumnFulltext(); - /** - * .greptime.v1.SetColumnFulltext set_column_fulltext = 7; - * @return The setColumnFulltext. - */ - io.greptime.v1.Ddl.SetColumnFulltext getSetColumnFulltext(); - /** - * .greptime.v1.SetColumnFulltext set_column_fulltext = 7; - */ - io.greptime.v1.Ddl.SetColumnFulltextOrBuilder getSetColumnFulltextOrBuilder(); - - /** - * .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 8; - * @return Whether the unsetColumnFulltext field is set. - */ - boolean hasUnsetColumnFulltext(); - /** - * .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 8; - * @return The unsetColumnFulltext. - */ - io.greptime.v1.Ddl.UnsetColumnFulltext getUnsetColumnFulltext(); - /** - * .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 8; - */ - io.greptime.v1.Ddl.UnsetColumnFulltextOrBuilder getUnsetColumnFulltextOrBuilder(); - /** * .greptime.v1.UnsetTableOptions unset_table_options = 9; * @return Whether the unsetTableOptions field is set. @@ -16493,6 +16463,36 @@ java.lang.String defaultValue); */ io.greptime.v1.Ddl.UnsetTableOptionsOrBuilder getUnsetTableOptionsOrBuilder(); + /** + * .greptime.v1.SetIndex set_index = 10; + * @return Whether the setIndex field is set. + */ + boolean hasSetIndex(); + /** + * .greptime.v1.SetIndex set_index = 10; + * @return The setIndex. + */ + io.greptime.v1.Ddl.SetIndex getSetIndex(); + /** + * .greptime.v1.SetIndex set_index = 10; + */ + io.greptime.v1.Ddl.SetIndexOrBuilder getSetIndexOrBuilder(); + + /** + * .greptime.v1.UnsetIndex unset_index = 11; + * @return Whether the unsetIndex field is set. + */ + boolean hasUnsetIndex(); + /** + * .greptime.v1.UnsetIndex unset_index = 11; + * @return The unsetIndex. + */ + io.greptime.v1.Ddl.UnsetIndex getUnsetIndex(); + /** + * .greptime.v1.UnsetIndex unset_index = 11; + */ + io.greptime.v1.Ddl.UnsetIndexOrBuilder getUnsetIndexOrBuilder(); + /** *
      * The version of the schema before applying the alteration.
@@ -16616,34 +16616,6 @@ java.lang.String defaultValue);
               kindCase_ = 6;
               break;
             }
-            case 58: {
-              io.greptime.v1.Ddl.SetColumnFulltext.Builder subBuilder = null;
-              if (kindCase_ == 7) {
-                subBuilder = ((io.greptime.v1.Ddl.SetColumnFulltext) kind_).toBuilder();
-              }
-              kind_ =
-                  input.readMessage(io.greptime.v1.Ddl.SetColumnFulltext.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((io.greptime.v1.Ddl.SetColumnFulltext) kind_);
-                kind_ = subBuilder.buildPartial();
-              }
-              kindCase_ = 7;
-              break;
-            }
-            case 66: {
-              io.greptime.v1.Ddl.UnsetColumnFulltext.Builder subBuilder = null;
-              if (kindCase_ == 8) {
-                subBuilder = ((io.greptime.v1.Ddl.UnsetColumnFulltext) kind_).toBuilder();
-              }
-              kind_ =
-                  input.readMessage(io.greptime.v1.Ddl.UnsetColumnFulltext.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom((io.greptime.v1.Ddl.UnsetColumnFulltext) kind_);
-                kind_ = subBuilder.buildPartial();
-              }
-              kindCase_ = 8;
-              break;
-            }
             case 74: {
               io.greptime.v1.Ddl.UnsetTableOptions.Builder subBuilder = null;
               if (kindCase_ == 9) {
@@ -16658,6 +16630,34 @@ java.lang.String defaultValue);
               kindCase_ = 9;
               break;
             }
+            case 82: {
+              io.greptime.v1.Ddl.SetIndex.Builder subBuilder = null;
+              if (kindCase_ == 10) {
+                subBuilder = ((io.greptime.v1.Ddl.SetIndex) kind_).toBuilder();
+              }
+              kind_ =
+                  input.readMessage(io.greptime.v1.Ddl.SetIndex.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((io.greptime.v1.Ddl.SetIndex) kind_);
+                kind_ = subBuilder.buildPartial();
+              }
+              kindCase_ = 10;
+              break;
+            }
+            case 90: {
+              io.greptime.v1.Ddl.UnsetIndex.Builder subBuilder = null;
+              if (kindCase_ == 11) {
+                subBuilder = ((io.greptime.v1.Ddl.UnsetIndex) kind_).toBuilder();
+              }
+              kind_ =
+                  input.readMessage(io.greptime.v1.Ddl.UnsetIndex.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom((io.greptime.v1.Ddl.UnsetIndex) kind_);
+                kind_ = subBuilder.buildPartial();
+              }
+              kindCase_ = 11;
+              break;
+            }
             default: {
               if (!parseUnknownField(
                   input, unknownFields, extensionRegistry, tag)) {
@@ -16701,9 +16701,9 @@ java.lang.String defaultValue);
       DROP_COLUMNS(3),
       MODIFY_COLUMN_TYPES(5),
       SET_TABLE_OPTIONS(6),
-      SET_COLUMN_FULLTEXT(7),
-      UNSET_COLUMN_FULLTEXT(8),
       UNSET_TABLE_OPTIONS(9),
+      SET_INDEX(10),
+      UNSET_INDEX(11),
       KIND_NOT_SET(0);
       private final int value;
       private KindCase(int value) {
@@ -16725,9 +16725,9 @@ java.lang.String defaultValue);
           case 3: return DROP_COLUMNS;
           case 5: return MODIFY_COLUMN_TYPES;
           case 6: return SET_TABLE_OPTIONS;
-          case 7: return SET_COLUMN_FULLTEXT;
-          case 8: return UNSET_COLUMN_FULLTEXT;
           case 9: return UNSET_TABLE_OPTIONS;
+          case 10: return SET_INDEX;
+          case 11: return UNSET_INDEX;
           case 0: return KIND_NOT_SET;
           default: return null;
         }
@@ -16878,68 +16878,6 @@ java.lang.String defaultValue);
       return io.greptime.v1.Ddl.SetTableOptions.getDefaultInstance();
     }
 
-    public static final int SET_COLUMN_FULLTEXT_FIELD_NUMBER = 7;
-    /**
-     * .greptime.v1.SetColumnFulltext set_column_fulltext = 7;
-     * @return Whether the setColumnFulltext field is set.
-     */
-    @java.lang.Override
-    public boolean hasSetColumnFulltext() {
-      return kindCase_ == 7;
-    }
-    /**
-     * .greptime.v1.SetColumnFulltext set_column_fulltext = 7;
-     * @return The setColumnFulltext.
-     */
-    @java.lang.Override
-    public io.greptime.v1.Ddl.SetColumnFulltext getSetColumnFulltext() {
-      if (kindCase_ == 7) {
-         return (io.greptime.v1.Ddl.SetColumnFulltext) kind_;
-      }
-      return io.greptime.v1.Ddl.SetColumnFulltext.getDefaultInstance();
-    }
-    /**
-     * .greptime.v1.SetColumnFulltext set_column_fulltext = 7;
-     */
-    @java.lang.Override
-    public io.greptime.v1.Ddl.SetColumnFulltextOrBuilder getSetColumnFulltextOrBuilder() {
-      if (kindCase_ == 7) {
-         return (io.greptime.v1.Ddl.SetColumnFulltext) kind_;
-      }
-      return io.greptime.v1.Ddl.SetColumnFulltext.getDefaultInstance();
-    }
-
-    public static final int UNSET_COLUMN_FULLTEXT_FIELD_NUMBER = 8;
-    /**
-     * .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 8;
-     * @return Whether the unsetColumnFulltext field is set.
-     */
-    @java.lang.Override
-    public boolean hasUnsetColumnFulltext() {
-      return kindCase_ == 8;
-    }
-    /**
-     * .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 8;
-     * @return The unsetColumnFulltext.
-     */
-    @java.lang.Override
-    public io.greptime.v1.Ddl.UnsetColumnFulltext getUnsetColumnFulltext() {
-      if (kindCase_ == 8) {
-         return (io.greptime.v1.Ddl.UnsetColumnFulltext) kind_;
-      }
-      return io.greptime.v1.Ddl.UnsetColumnFulltext.getDefaultInstance();
-    }
-    /**
-     * .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 8;
-     */
-    @java.lang.Override
-    public io.greptime.v1.Ddl.UnsetColumnFulltextOrBuilder getUnsetColumnFulltextOrBuilder() {
-      if (kindCase_ == 8) {
-         return (io.greptime.v1.Ddl.UnsetColumnFulltext) kind_;
-      }
-      return io.greptime.v1.Ddl.UnsetColumnFulltext.getDefaultInstance();
-    }
-
     public static final int UNSET_TABLE_OPTIONS_FIELD_NUMBER = 9;
     /**
      * .greptime.v1.UnsetTableOptions unset_table_options = 9;
@@ -16971,6 +16909,68 @@ java.lang.String defaultValue);
       return io.greptime.v1.Ddl.UnsetTableOptions.getDefaultInstance();
     }
 
+    public static final int SET_INDEX_FIELD_NUMBER = 10;
+    /**
+     * .greptime.v1.SetIndex set_index = 10;
+     * @return Whether the setIndex field is set.
+     */
+    @java.lang.Override
+    public boolean hasSetIndex() {
+      return kindCase_ == 10;
+    }
+    /**
+     * .greptime.v1.SetIndex set_index = 10;
+     * @return The setIndex.
+     */
+    @java.lang.Override
+    public io.greptime.v1.Ddl.SetIndex getSetIndex() {
+      if (kindCase_ == 10) {
+         return (io.greptime.v1.Ddl.SetIndex) kind_;
+      }
+      return io.greptime.v1.Ddl.SetIndex.getDefaultInstance();
+    }
+    /**
+     * .greptime.v1.SetIndex set_index = 10;
+     */
+    @java.lang.Override
+    public io.greptime.v1.Ddl.SetIndexOrBuilder getSetIndexOrBuilder() {
+      if (kindCase_ == 10) {
+         return (io.greptime.v1.Ddl.SetIndex) kind_;
+      }
+      return io.greptime.v1.Ddl.SetIndex.getDefaultInstance();
+    }
+
+    public static final int UNSET_INDEX_FIELD_NUMBER = 11;
+    /**
+     * .greptime.v1.UnsetIndex unset_index = 11;
+     * @return Whether the unsetIndex field is set.
+     */
+    @java.lang.Override
+    public boolean hasUnsetIndex() {
+      return kindCase_ == 11;
+    }
+    /**
+     * .greptime.v1.UnsetIndex unset_index = 11;
+     * @return The unsetIndex.
+     */
+    @java.lang.Override
+    public io.greptime.v1.Ddl.UnsetIndex getUnsetIndex() {
+      if (kindCase_ == 11) {
+         return (io.greptime.v1.Ddl.UnsetIndex) kind_;
+      }
+      return io.greptime.v1.Ddl.UnsetIndex.getDefaultInstance();
+    }
+    /**
+     * .greptime.v1.UnsetIndex unset_index = 11;
+     */
+    @java.lang.Override
+    public io.greptime.v1.Ddl.UnsetIndexOrBuilder getUnsetIndexOrBuilder() {
+      if (kindCase_ == 11) {
+         return (io.greptime.v1.Ddl.UnsetIndex) kind_;
+      }
+      return io.greptime.v1.Ddl.UnsetIndex.getDefaultInstance();
+    }
+
     public static final int SCHEMA_VERSION_FIELD_NUMBER = 4;
     private long schemaVersion_;
     /**
@@ -17018,15 +17018,15 @@ java.lang.String defaultValue);
       if (kindCase_ == 6) {
         output.writeMessage(6, (io.greptime.v1.Ddl.SetTableOptions) kind_);
       }
-      if (kindCase_ == 7) {
-        output.writeMessage(7, (io.greptime.v1.Ddl.SetColumnFulltext) kind_);
-      }
-      if (kindCase_ == 8) {
-        output.writeMessage(8, (io.greptime.v1.Ddl.UnsetColumnFulltext) kind_);
-      }
       if (kindCase_ == 9) {
         output.writeMessage(9, (io.greptime.v1.Ddl.UnsetTableOptions) kind_);
       }
+      if (kindCase_ == 10) {
+        output.writeMessage(10, (io.greptime.v1.Ddl.SetIndex) kind_);
+      }
+      if (kindCase_ == 11) {
+        output.writeMessage(11, (io.greptime.v1.Ddl.UnsetIndex) kind_);
+      }
       unknownFields.writeTo(output);
     }
 
@@ -17060,18 +17060,18 @@ java.lang.String defaultValue);
         size += com.google.protobuf.CodedOutputStream
           .computeMessageSize(6, (io.greptime.v1.Ddl.SetTableOptions) kind_);
       }
-      if (kindCase_ == 7) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(7, (io.greptime.v1.Ddl.SetColumnFulltext) kind_);
-      }
-      if (kindCase_ == 8) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(8, (io.greptime.v1.Ddl.UnsetColumnFulltext) kind_);
-      }
       if (kindCase_ == 9) {
         size += com.google.protobuf.CodedOutputStream
           .computeMessageSize(9, (io.greptime.v1.Ddl.UnsetTableOptions) kind_);
       }
+      if (kindCase_ == 10) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(10, (io.greptime.v1.Ddl.SetIndex) kind_);
+      }
+      if (kindCase_ == 11) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(11, (io.greptime.v1.Ddl.UnsetIndex) kind_);
+      }
       size += unknownFields.getSerializedSize();
       memoizedSize = size;
       return size;
@@ -17109,18 +17109,18 @@ java.lang.String defaultValue);
           if (!getSetTableOptions()
               .equals(other.getSetTableOptions())) return false;
           break;
-        case 7:
-          if (!getSetColumnFulltext()
-              .equals(other.getSetColumnFulltext())) return false;
-          break;
-        case 8:
-          if (!getUnsetColumnFulltext()
-              .equals(other.getUnsetColumnFulltext())) return false;
-          break;
         case 9:
           if (!getUnsetTableOptions()
               .equals(other.getUnsetTableOptions())) return false;
           break;
+        case 10:
+          if (!getSetIndex()
+              .equals(other.getSetIndex())) return false;
+          break;
+        case 11:
+          if (!getUnsetIndex()
+              .equals(other.getUnsetIndex())) return false;
+          break;
         case 0:
         default:
       }
@@ -17158,18 +17158,18 @@ java.lang.String defaultValue);
           hash = (37 * hash) + SET_TABLE_OPTIONS_FIELD_NUMBER;
           hash = (53 * hash) + getSetTableOptions().hashCode();
           break;
-        case 7:
-          hash = (37 * hash) + SET_COLUMN_FULLTEXT_FIELD_NUMBER;
-          hash = (53 * hash) + getSetColumnFulltext().hashCode();
-          break;
-        case 8:
-          hash = (37 * hash) + UNSET_COLUMN_FULLTEXT_FIELD_NUMBER;
-          hash = (53 * hash) + getUnsetColumnFulltext().hashCode();
-          break;
         case 9:
           hash = (37 * hash) + UNSET_TABLE_OPTIONS_FIELD_NUMBER;
           hash = (53 * hash) + getUnsetTableOptions().hashCode();
           break;
+        case 10:
+          hash = (37 * hash) + SET_INDEX_FIELD_NUMBER;
+          hash = (53 * hash) + getSetIndex().hashCode();
+          break;
+        case 11:
+          hash = (37 * hash) + UNSET_INDEX_FIELD_NUMBER;
+          hash = (53 * hash) + getUnsetIndex().hashCode();
+          break;
         case 0:
         default:
       }
@@ -17367,20 +17367,6 @@ java.lang.String defaultValue);
             result.kind_ = setTableOptionsBuilder_.build();
           }
         }
-        if (kindCase_ == 7) {
-          if (setColumnFulltextBuilder_ == null) {
-            result.kind_ = kind_;
-          } else {
-            result.kind_ = setColumnFulltextBuilder_.build();
-          }
-        }
-        if (kindCase_ == 8) {
-          if (unsetColumnFulltextBuilder_ == null) {
-            result.kind_ = kind_;
-          } else {
-            result.kind_ = unsetColumnFulltextBuilder_.build();
-          }
-        }
         if (kindCase_ == 9) {
           if (unsetTableOptionsBuilder_ == null) {
             result.kind_ = kind_;
@@ -17388,6 +17374,20 @@ java.lang.String defaultValue);
             result.kind_ = unsetTableOptionsBuilder_.build();
           }
         }
+        if (kindCase_ == 10) {
+          if (setIndexBuilder_ == null) {
+            result.kind_ = kind_;
+          } else {
+            result.kind_ = setIndexBuilder_.build();
+          }
+        }
+        if (kindCase_ == 11) {
+          if (unsetIndexBuilder_ == null) {
+            result.kind_ = kind_;
+          } else {
+            result.kind_ = unsetIndexBuilder_.build();
+          }
+        }
         result.schemaVersion_ = schemaVersion_;
         result.kindCase_ = kindCase_;
         onBuilt();
@@ -17461,18 +17461,18 @@ java.lang.String defaultValue);
             mergeSetTableOptions(other.getSetTableOptions());
             break;
           }
-          case SET_COLUMN_FULLTEXT: {
-            mergeSetColumnFulltext(other.getSetColumnFulltext());
-            break;
-          }
-          case UNSET_COLUMN_FULLTEXT: {
-            mergeUnsetColumnFulltext(other.getUnsetColumnFulltext());
-            break;
-          }
           case UNSET_TABLE_OPTIONS: {
             mergeUnsetTableOptions(other.getUnsetTableOptions());
             break;
           }
+          case SET_INDEX: {
+            mergeSetIndex(other.getSetIndex());
+            break;
+          }
+          case UNSET_INDEX: {
+            mergeUnsetIndex(other.getUnsetIndex());
+            break;
+          }
           case KIND_NOT_SET: {
             break;
           }
@@ -18120,290 +18120,6 @@ java.lang.String defaultValue);
         return setTableOptionsBuilder_;
       }
 
-      private com.google.protobuf.SingleFieldBuilderV3<
-          io.greptime.v1.Ddl.SetColumnFulltext, io.greptime.v1.Ddl.SetColumnFulltext.Builder, io.greptime.v1.Ddl.SetColumnFulltextOrBuilder> setColumnFulltextBuilder_;
-      /**
-       * .greptime.v1.SetColumnFulltext set_column_fulltext = 7;
-       * @return Whether the setColumnFulltext field is set.
-       */
-      @java.lang.Override
-      public boolean hasSetColumnFulltext() {
-        return kindCase_ == 7;
-      }
-      /**
-       * .greptime.v1.SetColumnFulltext set_column_fulltext = 7;
-       * @return The setColumnFulltext.
-       */
-      @java.lang.Override
-      public io.greptime.v1.Ddl.SetColumnFulltext getSetColumnFulltext() {
-        if (setColumnFulltextBuilder_ == null) {
-          if (kindCase_ == 7) {
-            return (io.greptime.v1.Ddl.SetColumnFulltext) kind_;
-          }
-          return io.greptime.v1.Ddl.SetColumnFulltext.getDefaultInstance();
-        } else {
-          if (kindCase_ == 7) {
-            return setColumnFulltextBuilder_.getMessage();
-          }
-          return io.greptime.v1.Ddl.SetColumnFulltext.getDefaultInstance();
-        }
-      }
-      /**
-       * .greptime.v1.SetColumnFulltext set_column_fulltext = 7;
-       */
-      public Builder setSetColumnFulltext(io.greptime.v1.Ddl.SetColumnFulltext value) {
-        if (setColumnFulltextBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          kind_ = value;
-          onChanged();
-        } else {
-          setColumnFulltextBuilder_.setMessage(value);
-        }
-        kindCase_ = 7;
-        return this;
-      }
-      /**
-       * .greptime.v1.SetColumnFulltext set_column_fulltext = 7;
-       */
-      public Builder setSetColumnFulltext(
-          io.greptime.v1.Ddl.SetColumnFulltext.Builder builderForValue) {
-        if (setColumnFulltextBuilder_ == null) {
-          kind_ = builderForValue.build();
-          onChanged();
-        } else {
-          setColumnFulltextBuilder_.setMessage(builderForValue.build());
-        }
-        kindCase_ = 7;
-        return this;
-      }
-      /**
-       * .greptime.v1.SetColumnFulltext set_column_fulltext = 7;
-       */
-      public Builder mergeSetColumnFulltext(io.greptime.v1.Ddl.SetColumnFulltext value) {
-        if (setColumnFulltextBuilder_ == null) {
-          if (kindCase_ == 7 &&
-              kind_ != io.greptime.v1.Ddl.SetColumnFulltext.getDefaultInstance()) {
-            kind_ = io.greptime.v1.Ddl.SetColumnFulltext.newBuilder((io.greptime.v1.Ddl.SetColumnFulltext) kind_)
-                .mergeFrom(value).buildPartial();
-          } else {
-            kind_ = value;
-          }
-          onChanged();
-        } else {
-          if (kindCase_ == 7) {
-            setColumnFulltextBuilder_.mergeFrom(value);
-          } else {
-            setColumnFulltextBuilder_.setMessage(value);
-          }
-        }
-        kindCase_ = 7;
-        return this;
-      }
-      /**
-       * .greptime.v1.SetColumnFulltext set_column_fulltext = 7;
-       */
-      public Builder clearSetColumnFulltext() {
-        if (setColumnFulltextBuilder_ == null) {
-          if (kindCase_ == 7) {
-            kindCase_ = 0;
-            kind_ = null;
-            onChanged();
-          }
-        } else {
-          if (kindCase_ == 7) {
-            kindCase_ = 0;
-            kind_ = null;
-          }
-          setColumnFulltextBuilder_.clear();
-        }
-        return this;
-      }
-      /**
-       * .greptime.v1.SetColumnFulltext set_column_fulltext = 7;
-       */
-      public io.greptime.v1.Ddl.SetColumnFulltext.Builder getSetColumnFulltextBuilder() {
-        return getSetColumnFulltextFieldBuilder().getBuilder();
-      }
-      /**
-       * .greptime.v1.SetColumnFulltext set_column_fulltext = 7;
-       */
-      @java.lang.Override
-      public io.greptime.v1.Ddl.SetColumnFulltextOrBuilder getSetColumnFulltextOrBuilder() {
-        if ((kindCase_ == 7) && (setColumnFulltextBuilder_ != null)) {
-          return setColumnFulltextBuilder_.getMessageOrBuilder();
-        } else {
-          if (kindCase_ == 7) {
-            return (io.greptime.v1.Ddl.SetColumnFulltext) kind_;
-          }
-          return io.greptime.v1.Ddl.SetColumnFulltext.getDefaultInstance();
-        }
-      }
-      /**
-       * .greptime.v1.SetColumnFulltext set_column_fulltext = 7;
-       */
-      private com.google.protobuf.SingleFieldBuilderV3<
-          io.greptime.v1.Ddl.SetColumnFulltext, io.greptime.v1.Ddl.SetColumnFulltext.Builder, io.greptime.v1.Ddl.SetColumnFulltextOrBuilder> 
-          getSetColumnFulltextFieldBuilder() {
-        if (setColumnFulltextBuilder_ == null) {
-          if (!(kindCase_ == 7)) {
-            kind_ = io.greptime.v1.Ddl.SetColumnFulltext.getDefaultInstance();
-          }
-          setColumnFulltextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              io.greptime.v1.Ddl.SetColumnFulltext, io.greptime.v1.Ddl.SetColumnFulltext.Builder, io.greptime.v1.Ddl.SetColumnFulltextOrBuilder>(
-                  (io.greptime.v1.Ddl.SetColumnFulltext) kind_,
-                  getParentForChildren(),
-                  isClean());
-          kind_ = null;
-        }
-        kindCase_ = 7;
-        onChanged();;
-        return setColumnFulltextBuilder_;
-      }
-
-      private com.google.protobuf.SingleFieldBuilderV3<
-          io.greptime.v1.Ddl.UnsetColumnFulltext, io.greptime.v1.Ddl.UnsetColumnFulltext.Builder, io.greptime.v1.Ddl.UnsetColumnFulltextOrBuilder> unsetColumnFulltextBuilder_;
-      /**
-       * .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 8;
-       * @return Whether the unsetColumnFulltext field is set.
-       */
-      @java.lang.Override
-      public boolean hasUnsetColumnFulltext() {
-        return kindCase_ == 8;
-      }
-      /**
-       * .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 8;
-       * @return The unsetColumnFulltext.
-       */
-      @java.lang.Override
-      public io.greptime.v1.Ddl.UnsetColumnFulltext getUnsetColumnFulltext() {
-        if (unsetColumnFulltextBuilder_ == null) {
-          if (kindCase_ == 8) {
-            return (io.greptime.v1.Ddl.UnsetColumnFulltext) kind_;
-          }
-          return io.greptime.v1.Ddl.UnsetColumnFulltext.getDefaultInstance();
-        } else {
-          if (kindCase_ == 8) {
-            return unsetColumnFulltextBuilder_.getMessage();
-          }
-          return io.greptime.v1.Ddl.UnsetColumnFulltext.getDefaultInstance();
-        }
-      }
-      /**
-       * .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 8;
-       */
-      public Builder setUnsetColumnFulltext(io.greptime.v1.Ddl.UnsetColumnFulltext value) {
-        if (unsetColumnFulltextBuilder_ == null) {
-          if (value == null) {
-            throw new NullPointerException();
-          }
-          kind_ = value;
-          onChanged();
-        } else {
-          unsetColumnFulltextBuilder_.setMessage(value);
-        }
-        kindCase_ = 8;
-        return this;
-      }
-      /**
-       * .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 8;
-       */
-      public Builder setUnsetColumnFulltext(
-          io.greptime.v1.Ddl.UnsetColumnFulltext.Builder builderForValue) {
-        if (unsetColumnFulltextBuilder_ == null) {
-          kind_ = builderForValue.build();
-          onChanged();
-        } else {
-          unsetColumnFulltextBuilder_.setMessage(builderForValue.build());
-        }
-        kindCase_ = 8;
-        return this;
-      }
-      /**
-       * .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 8;
-       */
-      public Builder mergeUnsetColumnFulltext(io.greptime.v1.Ddl.UnsetColumnFulltext value) {
-        if (unsetColumnFulltextBuilder_ == null) {
-          if (kindCase_ == 8 &&
-              kind_ != io.greptime.v1.Ddl.UnsetColumnFulltext.getDefaultInstance()) {
-            kind_ = io.greptime.v1.Ddl.UnsetColumnFulltext.newBuilder((io.greptime.v1.Ddl.UnsetColumnFulltext) kind_)
-                .mergeFrom(value).buildPartial();
-          } else {
-            kind_ = value;
-          }
-          onChanged();
-        } else {
-          if (kindCase_ == 8) {
-            unsetColumnFulltextBuilder_.mergeFrom(value);
-          } else {
-            unsetColumnFulltextBuilder_.setMessage(value);
-          }
-        }
-        kindCase_ = 8;
-        return this;
-      }
-      /**
-       * .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 8;
-       */
-      public Builder clearUnsetColumnFulltext() {
-        if (unsetColumnFulltextBuilder_ == null) {
-          if (kindCase_ == 8) {
-            kindCase_ = 0;
-            kind_ = null;
-            onChanged();
-          }
-        } else {
-          if (kindCase_ == 8) {
-            kindCase_ = 0;
-            kind_ = null;
-          }
-          unsetColumnFulltextBuilder_.clear();
-        }
-        return this;
-      }
-      /**
-       * .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 8;
-       */
-      public io.greptime.v1.Ddl.UnsetColumnFulltext.Builder getUnsetColumnFulltextBuilder() {
-        return getUnsetColumnFulltextFieldBuilder().getBuilder();
-      }
-      /**
-       * .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 8;
-       */
-      @java.lang.Override
-      public io.greptime.v1.Ddl.UnsetColumnFulltextOrBuilder getUnsetColumnFulltextOrBuilder() {
-        if ((kindCase_ == 8) && (unsetColumnFulltextBuilder_ != null)) {
-          return unsetColumnFulltextBuilder_.getMessageOrBuilder();
-        } else {
-          if (kindCase_ == 8) {
-            return (io.greptime.v1.Ddl.UnsetColumnFulltext) kind_;
-          }
-          return io.greptime.v1.Ddl.UnsetColumnFulltext.getDefaultInstance();
-        }
-      }
-      /**
-       * .greptime.v1.UnsetColumnFulltext unset_column_fulltext = 8;
-       */
-      private com.google.protobuf.SingleFieldBuilderV3<
-          io.greptime.v1.Ddl.UnsetColumnFulltext, io.greptime.v1.Ddl.UnsetColumnFulltext.Builder, io.greptime.v1.Ddl.UnsetColumnFulltextOrBuilder> 
-          getUnsetColumnFulltextFieldBuilder() {
-        if (unsetColumnFulltextBuilder_ == null) {
-          if (!(kindCase_ == 8)) {
-            kind_ = io.greptime.v1.Ddl.UnsetColumnFulltext.getDefaultInstance();
-          }
-          unsetColumnFulltextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-              io.greptime.v1.Ddl.UnsetColumnFulltext, io.greptime.v1.Ddl.UnsetColumnFulltext.Builder, io.greptime.v1.Ddl.UnsetColumnFulltextOrBuilder>(
-                  (io.greptime.v1.Ddl.UnsetColumnFulltext) kind_,
-                  getParentForChildren(),
-                  isClean());
-          kind_ = null;
-        }
-        kindCase_ = 8;
-        onChanged();;
-        return unsetColumnFulltextBuilder_;
-      }
-
       private com.google.protobuf.SingleFieldBuilderV3<
           io.greptime.v1.Ddl.UnsetTableOptions, io.greptime.v1.Ddl.UnsetTableOptions.Builder, io.greptime.v1.Ddl.UnsetTableOptionsOrBuilder> unsetTableOptionsBuilder_;
       /**
@@ -18546,6 +18262,290 @@ java.lang.String defaultValue);
         return unsetTableOptionsBuilder_;
       }
 
+      private com.google.protobuf.SingleFieldBuilderV3<
+          io.greptime.v1.Ddl.SetIndex, io.greptime.v1.Ddl.SetIndex.Builder, io.greptime.v1.Ddl.SetIndexOrBuilder> setIndexBuilder_;
+      /**
+       * .greptime.v1.SetIndex set_index = 10;
+       * @return Whether the setIndex field is set.
+       */
+      @java.lang.Override
+      public boolean hasSetIndex() {
+        return kindCase_ == 10;
+      }
+      /**
+       * .greptime.v1.SetIndex set_index = 10;
+       * @return The setIndex.
+       */
+      @java.lang.Override
+      public io.greptime.v1.Ddl.SetIndex getSetIndex() {
+        if (setIndexBuilder_ == null) {
+          if (kindCase_ == 10) {
+            return (io.greptime.v1.Ddl.SetIndex) kind_;
+          }
+          return io.greptime.v1.Ddl.SetIndex.getDefaultInstance();
+        } else {
+          if (kindCase_ == 10) {
+            return setIndexBuilder_.getMessage();
+          }
+          return io.greptime.v1.Ddl.SetIndex.getDefaultInstance();
+        }
+      }
+      /**
+       * .greptime.v1.SetIndex set_index = 10;
+       */
+      public Builder setSetIndex(io.greptime.v1.Ddl.SetIndex value) {
+        if (setIndexBuilder_ == null) {
+          if (value == null) {
+            throw new NullPointerException();
+          }
+          kind_ = value;
+          onChanged();
+        } else {
+          setIndexBuilder_.setMessage(value);
+        }
+        kindCase_ = 10;
+        return this;
+      }
+      /**
+       * .greptime.v1.SetIndex set_index = 10;
+       */
+      public Builder setSetIndex(
+          io.greptime.v1.Ddl.SetIndex.Builder builderForValue) {
+        if (setIndexBuilder_ == null) {
+          kind_ = builderForValue.build();
+          onChanged();
+        } else {
+          setIndexBuilder_.setMessage(builderForValue.build());
+        }
+        kindCase_ = 10;
+        return this;
+      }
+      /**
+       * .greptime.v1.SetIndex set_index = 10;
+       */
+      public Builder mergeSetIndex(io.greptime.v1.Ddl.SetIndex value) {
+        if (setIndexBuilder_ == null) {
+          if (kindCase_ == 10 &&
+              kind_ != io.greptime.v1.Ddl.SetIndex.getDefaultInstance()) {
+            kind_ = io.greptime.v1.Ddl.SetIndex.newBuilder((io.greptime.v1.Ddl.SetIndex) kind_)
+                .mergeFrom(value).buildPartial();
+          } else {
+            kind_ = value;
+          }
+          onChanged();
+        } else {
+          if (kindCase_ == 10) {
+            setIndexBuilder_.mergeFrom(value);
+          } else {
+            setIndexBuilder_.setMessage(value);
+          }
+        }
+        kindCase_ = 10;
+        return this;
+      }
+      /**
+       * .greptime.v1.SetIndex set_index = 10;
+       */
+      public Builder clearSetIndex() {
+        if (setIndexBuilder_ == null) {
+          if (kindCase_ == 10) {
+            kindCase_ = 0;
+            kind_ = null;
+            onChanged();
+          }
+        } else {
+          if (kindCase_ == 10) {
+            kindCase_ = 0;
+            kind_ = null;
+          }
+          setIndexBuilder_.clear();
+        }
+        return this;
+      }
+      /**
+       * .greptime.v1.SetIndex set_index = 10;
+       */
+      public io.greptime.v1.Ddl.SetIndex.Builder getSetIndexBuilder() {
+        return getSetIndexFieldBuilder().getBuilder();
+      }
+      /**
+       * .greptime.v1.SetIndex set_index = 10;
+       */
+      @java.lang.Override
+      public io.greptime.v1.Ddl.SetIndexOrBuilder getSetIndexOrBuilder() {
+        if ((kindCase_ == 10) && (setIndexBuilder_ != null)) {
+          return setIndexBuilder_.getMessageOrBuilder();
+        } else {
+          if (kindCase_ == 10) {
+            return (io.greptime.v1.Ddl.SetIndex) kind_;
+          }
+          return io.greptime.v1.Ddl.SetIndex.getDefaultInstance();
+        }
+      }
+      /**
+       * .greptime.v1.SetIndex set_index = 10;
+       */
+      private com.google.protobuf.SingleFieldBuilderV3<
+          io.greptime.v1.Ddl.SetIndex, io.greptime.v1.Ddl.SetIndex.Builder, io.greptime.v1.Ddl.SetIndexOrBuilder> 
+          getSetIndexFieldBuilder() {
+        if (setIndexBuilder_ == null) {
+          if (!(kindCase_ == 10)) {
+            kind_ = io.greptime.v1.Ddl.SetIndex.getDefaultInstance();
+          }
+          setIndexBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              io.greptime.v1.Ddl.SetIndex, io.greptime.v1.Ddl.SetIndex.Builder, io.greptime.v1.Ddl.SetIndexOrBuilder>(
+                  (io.greptime.v1.Ddl.SetIndex) kind_,
+                  getParentForChildren(),
+                  isClean());
+          kind_ = null;
+        }
+        kindCase_ = 10;
+        onChanged();;
+        return setIndexBuilder_;
+      }
+
+      private com.google.protobuf.SingleFieldBuilderV3<
+          io.greptime.v1.Ddl.UnsetIndex, io.greptime.v1.Ddl.UnsetIndex.Builder, io.greptime.v1.Ddl.UnsetIndexOrBuilder> unsetIndexBuilder_;
+      /**
+       * .greptime.v1.UnsetIndex unset_index = 11;
+       * @return Whether the unsetIndex field is set.
+       */
+      @java.lang.Override
+      public boolean hasUnsetIndex() {
+        return kindCase_ == 11;
+      }
+      /**
+       * .greptime.v1.UnsetIndex unset_index = 11;
+       * @return The unsetIndex.
+       */
+      @java.lang.Override
+      public io.greptime.v1.Ddl.UnsetIndex getUnsetIndex() {
+        if (unsetIndexBuilder_ == null) {
+          if (kindCase_ == 11) {
+            return (io.greptime.v1.Ddl.UnsetIndex) kind_;
+          }
+          return io.greptime.v1.Ddl.UnsetIndex.getDefaultInstance();
+        } else {
+          if (kindCase_ == 11) {
+            return unsetIndexBuilder_.getMessage();
+          }
+          return io.greptime.v1.Ddl.UnsetIndex.getDefaultInstance();
+        }
+      }
+      /**
+       * .greptime.v1.UnsetIndex unset_index = 11;
+       */
+      public Builder setUnsetIndex(io.greptime.v1.Ddl.UnsetIndex value) {
+        if (unsetIndexBuilder_ == null) {
+          if (value == null) {
+            throw new NullPointerException();
+          }
+          kind_ = value;
+          onChanged();
+        } else {
+          unsetIndexBuilder_.setMessage(value);
+        }
+        kindCase_ = 11;
+        return this;
+      }
+      /**
+       * .greptime.v1.UnsetIndex unset_index = 11;
+       */
+      public Builder setUnsetIndex(
+          io.greptime.v1.Ddl.UnsetIndex.Builder builderForValue) {
+        if (unsetIndexBuilder_ == null) {
+          kind_ = builderForValue.build();
+          onChanged();
+        } else {
+          unsetIndexBuilder_.setMessage(builderForValue.build());
+        }
+        kindCase_ = 11;
+        return this;
+      }
+      /**
+       * .greptime.v1.UnsetIndex unset_index = 11;
+       */
+      public Builder mergeUnsetIndex(io.greptime.v1.Ddl.UnsetIndex value) {
+        if (unsetIndexBuilder_ == null) {
+          if (kindCase_ == 11 &&
+              kind_ != io.greptime.v1.Ddl.UnsetIndex.getDefaultInstance()) {
+            kind_ = io.greptime.v1.Ddl.UnsetIndex.newBuilder((io.greptime.v1.Ddl.UnsetIndex) kind_)
+                .mergeFrom(value).buildPartial();
+          } else {
+            kind_ = value;
+          }
+          onChanged();
+        } else {
+          if (kindCase_ == 11) {
+            unsetIndexBuilder_.mergeFrom(value);
+          } else {
+            unsetIndexBuilder_.setMessage(value);
+          }
+        }
+        kindCase_ = 11;
+        return this;
+      }
+      /**
+       * .greptime.v1.UnsetIndex unset_index = 11;
+       */
+      public Builder clearUnsetIndex() {
+        if (unsetIndexBuilder_ == null) {
+          if (kindCase_ == 11) {
+            kindCase_ = 0;
+            kind_ = null;
+            onChanged();
+          }
+        } else {
+          if (kindCase_ == 11) {
+            kindCase_ = 0;
+            kind_ = null;
+          }
+          unsetIndexBuilder_.clear();
+        }
+        return this;
+      }
+      /**
+       * .greptime.v1.UnsetIndex unset_index = 11;
+       */
+      public io.greptime.v1.Ddl.UnsetIndex.Builder getUnsetIndexBuilder() {
+        return getUnsetIndexFieldBuilder().getBuilder();
+      }
+      /**
+       * .greptime.v1.UnsetIndex unset_index = 11;
+       */
+      @java.lang.Override
+      public io.greptime.v1.Ddl.UnsetIndexOrBuilder getUnsetIndexOrBuilder() {
+        if ((kindCase_ == 11) && (unsetIndexBuilder_ != null)) {
+          return unsetIndexBuilder_.getMessageOrBuilder();
+        } else {
+          if (kindCase_ == 11) {
+            return (io.greptime.v1.Ddl.UnsetIndex) kind_;
+          }
+          return io.greptime.v1.Ddl.UnsetIndex.getDefaultInstance();
+        }
+      }
+      /**
+       * .greptime.v1.UnsetIndex unset_index = 11;
+       */
+      private com.google.protobuf.SingleFieldBuilderV3<
+          io.greptime.v1.Ddl.UnsetIndex, io.greptime.v1.Ddl.UnsetIndex.Builder, io.greptime.v1.Ddl.UnsetIndexOrBuilder> 
+          getUnsetIndexFieldBuilder() {
+        if (unsetIndexBuilder_ == null) {
+          if (!(kindCase_ == 11)) {
+            kind_ = io.greptime.v1.Ddl.UnsetIndex.getDefaultInstance();
+          }
+          unsetIndexBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              io.greptime.v1.Ddl.UnsetIndex, io.greptime.v1.Ddl.UnsetIndex.Builder, io.greptime.v1.Ddl.UnsetIndexOrBuilder>(
+                  (io.greptime.v1.Ddl.UnsetIndex) kind_,
+                  getParentForChildren(),
+                  isClean());
+          kind_ = null;
+        }
+        kindCase_ = 11;
+        onChanged();;
+        return unsetIndexBuilder_;
+      }
+
       private long schemaVersion_ ;
       /**
        * 
@@ -25484,41 +25484,40 @@ java.lang.String defaultValue);
       ".\n\014OptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 " +
       "\001(\t:\0028\001\"!\n\014CloseRequest\022\021\n\tregion_id\030\001 \001" +
       "(\004\"C\n\rAlterRequests\0222\n\010requests\030\001 \003(\0132 ." +
-      "greptime.v1.region.AlterRequest\"\354\003\n\014Alte" +
+      "greptime.v1.region.AlterRequest\"\306\003\n\014Alte" +
       "rRequest\022\021\n\tregion_id\030\001 \001(\004\0225\n\013add_colum" +
       "ns\030\002 \001(\0132\036.greptime.v1.region.AddColumns" +
       "H\000\0227\n\014drop_columns\030\003 \001(\0132\037.greptime.v1.r" +
       "egion.DropColumnsH\000\022=\n\023modify_column_typ" +
       "es\030\005 \001(\0132\036.greptime.v1.ModifyColumnTypes" +
       "H\000\0229\n\021set_table_options\030\006 \001(\0132\034.greptime" +
-      ".v1.SetTableOptionsH\000\022=\n\023set_column_full" +
-      "text\030\007 \001(\0132\036.greptime.v1.SetColumnFullte" +
-      "xtH\000\022A\n\025unset_column_fulltext\030\010 \001(\0132 .gr" +
-      "eptime.v1.UnsetColumnFulltextH\000\022=\n\023unset" +
-      "_table_options\030\t \001(\0132\036.greptime.v1.Unset" +
-      "TableOptionsH\000\022\026\n\016schema_version\030\004 \001(\004B\006" +
-      "\n\004kind\"@\n\nAddColumns\0222\n\013add_columns\030\001 \003(" +
-      "\0132\035.greptime.v1.region.AddColumn\"C\n\013Drop" +
-      "Columns\0224\n\014drop_columns\030\001 \003(\0132\036.greptime" +
-      ".v1.region.DropColumn\"v\n\tAddColumn\0227\n\nco" +
-      "lumn_def\030\001 \001(\0132#.greptime.v1.region.Regi" +
-      "onColumnDef\0220\n\010location\030\003 \001(\0132\036.greptime" +
-      ".v1.AddColumnLocation\"\032\n\nDropColumn\022\014\n\004n" +
-      "ame\030\001 \001(\t\"!\n\014FlushRequest\022\021\n\tregion_id\030\001" +
-      " \001(\004\"\t\n\007Regular\"&\n\014StrictWindow\022\026\n\016windo" +
-      "w_seconds\030\001 \001(\003\"\231\001\n\016CompactRequest\022\021\n\tre" +
-      "gion_id\030\001 \001(\004\022.\n\007regular\030\002 \001(\0132\033.greptim" +
-      "e.v1.region.RegularH\000\0229\n\rstrict_window\030\003" +
-      " \001(\0132 .greptime.v1.region.StrictWindowH\000" +
-      "B\t\n\007options\"$\n\017TruncateRequest\022\021\n\tregion" +
-      "_id\030\001 \001(\004\"P\n\017RegionColumnDef\022*\n\ncolumn_d" +
-      "ef\030\001 \001(\0132\026.greptime.v1.ColumnDef\022\021\n\tcolu" +
-      "mn_id\030\002 \001(\r2Y\n\006Region\022O\n\006Handle\022!.grepti" +
-      "me.v1.region.RegionRequest\032\".greptime.v1" +
-      ".region.RegionResponseB]\n\025io.greptime.v1" +
-      ".regionB\006ServerZ