diff --git a/c++/greptime/v1/ddl.pb.cc b/c++/greptime/v1/ddl.pb.cc index c685f64..4c0777a 100644 --- a/c++/greptime/v1/ddl.pb.cc +++ b/c++/greptime/v1/ddl.pb.cc @@ -257,6 +257,21 @@ struct UnsetIndexDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UnsetIndexDefaultTypeInternal _UnsetIndex_default_instance_; +PROTOBUF_CONSTEXPR Repartition::Repartition( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.from_partition_exprs_)*/{} + , /*decltype(_impl_.into_partition_exprs_)*/{} + , /*decltype(_impl_.wait_)*/false + , /*decltype(_impl_._cached_size_)*/{}} {} +struct RepartitionDefaultTypeInternal { + PROTOBUF_CONSTEXPR RepartitionDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~RepartitionDefaultTypeInternal() {} + union { + Repartition _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RepartitionDefaultTypeInternal _Repartition_default_instance_; PROTOBUF_CONSTEXPR DropTableExpr::DropTableExpr( ::_pbi::ConstantInitialized): _impl_{ /*decltype(_impl_.catalog_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} @@ -806,7 +821,7 @@ struct CommentOnExprDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CommentOnExprDefaultTypeInternal _CommentOnExpr_default_instance_; } // namespace v1 } // namespace greptime -static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fddl_2eproto[53]; +static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fddl_2eproto[54]; static const ::_pb::EnumDescriptor* file_level_enum_descriptors_greptime_2fv1_2fddl_2eproto[5]; static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_greptime_2fv1_2fddl_2eproto = nullptr; @@ -941,6 +956,7 @@ const uint32_t TableStruct_greptime_2fv1_2fddl_2eproto::offsets[] PROTOBUF_SECTI ::_pbi::kInvalidFieldOffsetTag, ::_pbi::kInvalidFieldOffsetTag, ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, PROTOBUF_FIELD_OFFSET(::greptime::v1::AlterTableExpr, _impl_.kind_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::greptime::v1::DropDefault, _internal_metadata_), @@ -992,6 +1008,15 @@ const uint32_t TableStruct_greptime_2fv1_2fddl_2eproto::offsets[] PROTOBUF_SECTI ::_pbi::kInvalidFieldOffsetTag, PROTOBUF_FIELD_OFFSET(::greptime::v1::UnsetIndex, _impl_.options_), ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::greptime::v1::Repartition, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::greptime::v1::Repartition, _impl_.from_partition_exprs_), + PROTOBUF_FIELD_OFFSET(::greptime::v1::Repartition, _impl_.into_partition_exprs_), + PROTOBUF_FIELD_OFFSET(::greptime::v1::Repartition, _impl_.wait_), + ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::greptime::v1::DropTableExpr, _internal_metadata_), ~0u, // no _extensions_ ~0u, // no _oneof_case_ @@ -1342,50 +1367,51 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode { 82, 90, -1, sizeof(::greptime::v1::CreateTableExpr_TableOptionsEntry_DoNotUse)}, { 92, -1, -1, sizeof(::greptime::v1::CreateTableExpr)}, { 109, -1, -1, sizeof(::greptime::v1::AlterTableExpr)}, - { 131, -1, -1, sizeof(::greptime::v1::DropDefault)}, - { 138, -1, -1, sizeof(::greptime::v1::SetIndexes)}, - { 145, -1, -1, sizeof(::greptime::v1::UnsetIndexes)}, - { 152, -1, -1, sizeof(::greptime::v1::SetDefault)}, - { 160, -1, -1, sizeof(::greptime::v1::SetIndex)}, - { 170, -1, -1, sizeof(::greptime::v1::UnsetIndex)}, - { 180, -1, -1, sizeof(::greptime::v1::DropTableExpr)}, - { 191, 199, -1, sizeof(::greptime::v1::CreateDatabaseExpr_OptionsEntry_DoNotUse)}, - { 201, -1, -1, sizeof(::greptime::v1::CreateDatabaseExpr)}, - { 211, -1, -1, sizeof(::greptime::v1::TruncateTableExpr)}, - { 222, -1, -1, sizeof(::greptime::v1::DropDatabaseExpr)}, - { 231, -1, -1, sizeof(::greptime::v1::AddColumns)}, - { 238, -1, -1, sizeof(::greptime::v1::DropDefaults)}, - { 245, -1, -1, sizeof(::greptime::v1::SetDefaults)}, - { 252, -1, -1, sizeof(::greptime::v1::DropColumns)}, - { 259, -1, -1, sizeof(::greptime::v1::ModifyColumnTypes)}, - { 266, -1, -1, sizeof(::greptime::v1::RenameTable)}, - { 273, -1, -1, sizeof(::greptime::v1::AddColumn)}, - { 282, -1, -1, sizeof(::greptime::v1::ModifyColumnType)}, - { 291, -1, -1, sizeof(::greptime::v1::Option)}, - { 299, -1, -1, sizeof(::greptime::v1::SetTableOptions)}, - { 306, -1, -1, sizeof(::greptime::v1::UnsetTableOptions)}, - { 313, -1, -1, sizeof(::greptime::v1::DropColumn)}, - { 320, -1, -1, sizeof(::greptime::v1::TableId)}, - { 327, -1, -1, sizeof(::greptime::v1::FlowId)}, - { 334, -1, -1, sizeof(::greptime::v1::ColumnDef)}, - { 348, -1, -1, sizeof(::greptime::v1::AddColumnLocation)}, - { 356, -1, -1, sizeof(::greptime::v1::SetFulltext)}, - { 369, -1, -1, sizeof(::greptime::v1::UnsetFulltext)}, - { 376, -1, -1, sizeof(::greptime::v1::SetInverted)}, - { 383, -1, -1, sizeof(::greptime::v1::UnsetInverted)}, - { 390, -1, -1, sizeof(::greptime::v1::SetSkipping)}, - { 401, -1, -1, sizeof(::greptime::v1::UnsetSkipping)}, - { 408, -1, -1, sizeof(::greptime::v1::AlterDatabaseExpr)}, - { 419, -1, -1, sizeof(::greptime::v1::SetDatabaseOptions)}, - { 426, -1, -1, sizeof(::greptime::v1::UnsetDatabaseOptions)}, - { 433, 441, -1, sizeof(::greptime::v1::CreateTriggerExpr_LabelsEntry_DoNotUse)}, - { 443, 451, -1, sizeof(::greptime::v1::CreateTriggerExpr_AnnotationsEntry_DoNotUse)}, - { 453, -1, -1, sizeof(::greptime::v1::CreateTriggerExpr)}, - { 472, -1, -1, sizeof(::greptime::v1::NotifyChannel)}, - { 481, 489, -1, sizeof(::greptime::v1::WebhookOptions_OptsEntry_DoNotUse)}, - { 491, -1, -1, sizeof(::greptime::v1::WebhookOptions)}, - { 499, -1, -1, sizeof(::greptime::v1::DropTriggerExpr)}, - { 508, -1, -1, sizeof(::greptime::v1::CommentOnExpr)}, + { 132, -1, -1, sizeof(::greptime::v1::DropDefault)}, + { 139, -1, -1, sizeof(::greptime::v1::SetIndexes)}, + { 146, -1, -1, sizeof(::greptime::v1::UnsetIndexes)}, + { 153, -1, -1, sizeof(::greptime::v1::SetDefault)}, + { 161, -1, -1, sizeof(::greptime::v1::SetIndex)}, + { 171, -1, -1, sizeof(::greptime::v1::UnsetIndex)}, + { 181, -1, -1, sizeof(::greptime::v1::Repartition)}, + { 190, -1, -1, sizeof(::greptime::v1::DropTableExpr)}, + { 201, 209, -1, sizeof(::greptime::v1::CreateDatabaseExpr_OptionsEntry_DoNotUse)}, + { 211, -1, -1, sizeof(::greptime::v1::CreateDatabaseExpr)}, + { 221, -1, -1, sizeof(::greptime::v1::TruncateTableExpr)}, + { 232, -1, -1, sizeof(::greptime::v1::DropDatabaseExpr)}, + { 241, -1, -1, sizeof(::greptime::v1::AddColumns)}, + { 248, -1, -1, sizeof(::greptime::v1::DropDefaults)}, + { 255, -1, -1, sizeof(::greptime::v1::SetDefaults)}, + { 262, -1, -1, sizeof(::greptime::v1::DropColumns)}, + { 269, -1, -1, sizeof(::greptime::v1::ModifyColumnTypes)}, + { 276, -1, -1, sizeof(::greptime::v1::RenameTable)}, + { 283, -1, -1, sizeof(::greptime::v1::AddColumn)}, + { 292, -1, -1, sizeof(::greptime::v1::ModifyColumnType)}, + { 301, -1, -1, sizeof(::greptime::v1::Option)}, + { 309, -1, -1, sizeof(::greptime::v1::SetTableOptions)}, + { 316, -1, -1, sizeof(::greptime::v1::UnsetTableOptions)}, + { 323, -1, -1, sizeof(::greptime::v1::DropColumn)}, + { 330, -1, -1, sizeof(::greptime::v1::TableId)}, + { 337, -1, -1, sizeof(::greptime::v1::FlowId)}, + { 344, -1, -1, sizeof(::greptime::v1::ColumnDef)}, + { 358, -1, -1, sizeof(::greptime::v1::AddColumnLocation)}, + { 366, -1, -1, sizeof(::greptime::v1::SetFulltext)}, + { 379, -1, -1, sizeof(::greptime::v1::UnsetFulltext)}, + { 386, -1, -1, sizeof(::greptime::v1::SetInverted)}, + { 393, -1, -1, sizeof(::greptime::v1::UnsetInverted)}, + { 400, -1, -1, sizeof(::greptime::v1::SetSkipping)}, + { 411, -1, -1, sizeof(::greptime::v1::UnsetSkipping)}, + { 418, -1, -1, sizeof(::greptime::v1::AlterDatabaseExpr)}, + { 429, -1, -1, sizeof(::greptime::v1::SetDatabaseOptions)}, + { 436, -1, -1, sizeof(::greptime::v1::UnsetDatabaseOptions)}, + { 443, 451, -1, sizeof(::greptime::v1::CreateTriggerExpr_LabelsEntry_DoNotUse)}, + { 453, 461, -1, sizeof(::greptime::v1::CreateTriggerExpr_AnnotationsEntry_DoNotUse)}, + { 463, -1, -1, sizeof(::greptime::v1::CreateTriggerExpr)}, + { 482, -1, -1, sizeof(::greptime::v1::NotifyChannel)}, + { 491, 499, -1, sizeof(::greptime::v1::WebhookOptions_OptsEntry_DoNotUse)}, + { 501, -1, -1, sizeof(::greptime::v1::WebhookOptions)}, + { 509, -1, -1, sizeof(::greptime::v1::DropTriggerExpr)}, + { 518, -1, -1, sizeof(::greptime::v1::CommentOnExpr)}, }; static const ::_pb::Message* const file_default_instances[] = { @@ -1404,6 +1430,7 @@ static const ::_pb::Message* const file_default_instances[] = { &::greptime::v1::_SetDefault_default_instance_._instance, &::greptime::v1::_SetIndex_default_instance_._instance, &::greptime::v1::_UnsetIndex_default_instance_._instance, + &::greptime::v1::_Repartition_default_instance_._instance, &::greptime::v1::_DropTableExpr_default_instance_._instance, &::greptime::v1::_CreateDatabaseExpr_OptionsEntry_DoNotUse_default_instance_._instance, &::greptime::v1::_CreateDatabaseExpr_default_instance_._instance, @@ -1496,7 +1523,7 @@ const char descriptor_table_protodef_greptime_2fv1_2fddl_2eproto[] PROTOBUF_SECT "time.v1.CreateTableExpr.TableOptionsEntr" "y\022&\n\010table_id\030\n \001(\0132\024.greptime.v1.TableI" "d\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\"\312\005\n\016Alter" + "\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\373\005\n\016Alter" "TableExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schem" "a_name\030\002 \001(\t\022\022\n\ntable_name\030\003 \001(\t\022.\n\013add_" "columns\030\004 \001(\0132\027.greptime.v1.AddColumnsH\000" @@ -1514,124 +1541,128 @@ const char descriptor_table_protodef_greptime_2fv1_2fddl_2eproto[] PROTOBUF_SECT "exes\030\017 \001(\0132\027.greptime.v1.SetIndexesH\000\0222\n" "\runset_indexes\030\020 \001(\0132\031.greptime.v1.Unset" "IndexesH\000\0220\n\014set_defaults\030\021 \001(\0132\030.grepti" - "me.v1.SetDefaultsH\000B\006\n\004kind\"\"\n\013DropDefau" - "lt\022\023\n\013column_name\030\001 \001(\t\"8\n\nSetIndexes\022*\n" - "\013set_indexes\030\001 \003(\0132\025.greptime.v1.SetInde" - "x\">\n\014UnsetIndexes\022.\n\runset_indexes\030\001 \003(\013" - "2\027.greptime.v1.UnsetIndex\"=\n\nSetDefault\022" - "\023\n\013column_name\030\001 \001(\t\022\032\n\022default_constrai" - "nt\030\002 \001(\014\"\237\001\n\010SetIndex\022,\n\010fulltext\030\001 \001(\0132" - "\030.greptime.v1.SetFulltextH\000\022,\n\010inverted\030" - "\002 \001(\0132\030.greptime.v1.SetInvertedH\000\022,\n\010ski" - "pping\030\003 \001(\0132\030.greptime.v1.SetSkippingH\000B" - "\t\n\007options\"\247\001\n\nUnsetIndex\022.\n\010fulltext\030\001 " - "\001(\0132\032.greptime.v1.UnsetFulltextH\000\022.\n\010inv" - "erted\030\002 \001(\0132\032.greptime.v1.UnsetInvertedH" - "\000\022.\n\010skipping\030\003 \001(\0132\032.greptime.v1.UnsetS" - "kippingH\000B\t\n\007options\"\216\001\n\rDropTableExpr\022\024" - "\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(" - "\t\022\022\n\ntable_name\030\003 \001(\t\022&\n\010table_id\030\004 \001(\0132" - "\024.greptime.v1.TableId\022\026\n\016drop_if_exists\030" - "\005 \001(\010\"\314\001\n\022CreateDatabaseExpr\022\024\n\014catalog_" - "name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\034\n\024creat" - "e_if_not_exists\030\003 \001(\010\022=\n\007options\030\004 \003(\0132," - ".greptime.v1.CreateDatabaseExpr.OptionsE" - "ntry\032.\n\014OptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val" - "ue\030\002 \001(\t:\0028\001\"\250\001\n\021TruncateTableExpr\022\024\n\014ca" - "talog_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.gr" - "eptime.v1.TableId\022,\n\013time_ranges\030\005 \001(\0132\027" - ".greptime.v1.TimeRanges\"U\n\020DropDatabaseE" - "xpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_name" - "\030\002 \001(\t\022\026\n\016drop_if_exists\030\003 \001(\010\"9\n\nAddCol" - "umns\022+\n\013add_columns\030\001 \003(\0132\026.greptime.v1." - "AddColumn\"\?\n\014DropDefaults\022/\n\rdrop_defaul" - "ts\030\001 \003(\0132\030.greptime.v1.DropDefault\"<\n\013Se" - "tDefaults\022-\n\014set_defaults\030\001 \003(\0132\027.grepti" - "me.v1.SetDefault\"<\n\013DropColumns\022-\n\014drop_" - "columns\030\001 \003(\0132\027.greptime.v1.DropColumn\"O" - "\n\021ModifyColumnTypes\022:\n\023modify_column_typ" - "es\030\001 \003(\0132\035.greptime.v1.ModifyColumnType\"" - "%\n\013RenameTable\022\026\n\016new_table_name\030\001 \001(\t\"\204" - "\001\n\tAddColumn\022*\n\ncolumn_def\030\001 \001(\0132\026.grept" - "ime.v1.ColumnDef\0220\n\010location\030\003 \001(\0132\036.gre" - "ptime.v1.AddColumnLocation\022\031\n\021add_if_not" - "_exists\030\004 \001(\010\"\236\001\n\020ModifyColumnType\022\023\n\013co" - "lumn_name\030\001 \001(\t\0220\n\013target_type\030\002 \001(\0162\033.g" - "reptime.v1.ColumnDataType\022C\n\025target_type" - "_extension\030\003 \001(\0132$.greptime.v1.ColumnDat" - "aTypeExtension\"$\n\006Option\022\013\n\003key\030\001 \001(\t\022\r\n" - "\005value\030\002 \001(\t\"=\n\017SetTableOptions\022*\n\rtable" - "_options\030\001 \003(\0132\023.greptime.v1.Option\"!\n\021U" - "nsetTableOptions\022\014\n\004keys\030\001 \003(\t\"\032\n\nDropCo" - "lumn\022\014\n\004name\030\001 \001(\t\"\025\n\007TableId\022\n\n\002id\030\001 \001(" - "\r\"\024\n\006FlowId\022\n\n\002id\030\001 \001(\r\"\254\002\n\tColumnDef\022\014\n" - "\004name\030\001 \001(\t\022.\n\tdata_type\030\002 \001(\0162\033.greptim" - "e.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\022datatype_extension\030\007 " - "\001(\0132$.greptime.v1.ColumnDataTypeExtensio" - "n\022+\n\007options\030\010 \001(\0132\032.greptime.v1.ColumnO" - "ptions\"\230\001\n\021AddColumnLocation\022B\n\rlocation" - "_type\030\001 \001(\0162+.greptime.v1.AddColumnLocat" - "ion.LocationType\022\031\n\021after_column_name\030\002 " - "\001(\t\"$\n\014LocationType\022\t\n\005FIRST\020\000\022\t\n\005AFTER\020" - "\001\"\324\001\n\013SetFulltext\022\023\n\013column_name\030\001 \001(\t\022\016" - "\n\006enable\030\002 \001(\010\022\'\n\010analyzer\030\003 \001(\0162\025.grept" - "ime.v1.Analyzer\022\026\n\016case_sensitive\030\004 \001(\010\022" - "-\n\007backend\030\005 \001(\0162\034.greptime.v1.FulltextB" - "ackend\022\023\n\013granularity\030\006 \001(\004\022\033\n\023false_pos" - "itive_rate\030\007 \001(\001\"$\n\rUnsetFulltext\022\023\n\013col" - "umn_name\030\001 \001(\t\"\"\n\013SetInverted\022\023\n\013column_" - "name\030\001 \001(\t\"$\n\rUnsetInverted\022\023\n\013column_na" - "me\030\001 \001(\t\"\241\001\n\013SetSkipping\022\023\n\013column_name\030" - "\001 \001(\t\022\016\n\006enable\030\002 \001(\010\022\023\n\013granularity\030\003 \001" - "(\004\022;\n\023skipping_index_type\030\004 \001(\0162\036.grepti" - "me.v1.SkippingIndexType\022\033\n\023false_positiv" - "e_rate\030\005 \001(\001\"$\n\rUnsetSkipping\022\023\n\013column_" - "name\030\001 \001(\t\"\314\001\n\021AlterDatabaseExpr\022\024\n\014cata" - "log_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\?\n\024s" - "et_database_options\030\003 \001(\0132\037.greptime.v1." - "SetDatabaseOptionsH\000\022C\n\026unset_database_o" - "ptions\030\004 \001(\0132!.greptime.v1.UnsetDatabase" - "OptionsH\000B\006\n\004kind\"G\n\022SetDatabaseOptions\022" - "1\n\024set_database_options\030\001 \003(\0132\023.greptime" - ".v1.Option\"$\n\024UnsetDatabaseOptions\022\014\n\004ke" - "ys\030\001 \003(\t\"\331\004\n\021CreateTriggerExpr\022\024\n\014catalo" - "g_name\030\001 \001(\t\022\024\n\014trigger_name\030\002 \001(\t\022\034\n\024cr" - "eate_if_not_exists\030\003 \001(\010\022\013\n\003sql\030\004 \001(\t\022,\n" - "\010channels\030\005 \003(\0132\032.greptime.v1.NotifyChan" - "nel\022:\n\006labels\030\006 \003(\0132*.greptime.v1.Create" - "TriggerExpr.LabelsEntry\022D\n\013annotations\030\007" - " \003(\0132/.greptime.v1.CreateTriggerExpr.Ann" - "otationsEntry\022+\n\010interval\030\010 \001(\0132\031.google" - ".protobuf.Duration\022\031\n\021raw_interval_expr\030" - "\t \001(\t\022&\n\003for\030\n \001(\0132\031.google.protobuf.Dur" - "ation\022\024\n\014for_raw_expr\030\013 \001(\t\0222\n\017keep_firi" - "ng_for\030\014 \001(\0132\031.google.protobuf.Duration\022" - " \n\030keep_firing_for_raw_expr\030\r \001(\t\032-\n\013Lab" - "elsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" - "\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val" - "ue\030\002 \001(\t:\0028\001\"]\n\rNotifyChannel\022\014\n\004name\030\001 " - "\001(\t\022.\n\007webhook\030\002 \001(\0132\033.greptime.v1.Webho" - "okOptionsH\000B\016\n\014channel_type\"\177\n\016WebhookOp" - "tions\022\013\n\003url\030\001 \001(\t\0223\n\004opts\030\002 \003(\0132%.grept" - "ime.v1.WebhookOptions.OptsEntry\032+\n\tOptsE" - "ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"U\n\017" - "DropTriggerExpr\022\024\n\014catalog_name\030\001 \001(\t\022\024\n" - "\014trigger_name\030\002 \001(\t\022\026\n\016drop_if_exists\030\003 " - "\001(\010\"\252\001\n\rCommentOnExpr\022\024\n\014catalog_name\030\001 " - "\001(\t\022\023\n\013schema_name\030\002 \001(\t\0223\n\013object_type\030" - "\003 \001(\0162\036.greptime.v1.CommentObjectType\022\023\n" - "\013object_name\030\004 \001(\t\022\023\n\013column_name\030\005 \001(\t\022" - "\017\n\007comment\030\006 \001(\t*$\n\010Analyzer\022\013\n\007ENGLISH\020" - "\000\022\013\n\007CHINESE\020\001*)\n\017FulltextBackend\022\013\n\007TAN" - "TIVY\020\000\022\t\n\005BLOOM\020\001*%\n\021SkippingIndexType\022\020" - "\n\014BLOOM_FILTER\020\000*4\n\021CommentObjectType\022\t\n" - "\005TABLE\020\000\022\n\n\006COLUMN\020\001\022\010\n\004FLOW\020\002BL\n\016io.gre" - "ptime.v1B\003DdlZ5github.com/GreptimeTeam/g" - "reptime-proto/go/greptime/v1b\006proto3" + "me.v1.SetDefaultsH\000\022/\n\013repartition\030\022 \001(\013" + "2\030.greptime.v1.RepartitionH\000B\006\n\004kind\"\"\n\013" + "DropDefault\022\023\n\013column_name\030\001 \001(\t\"8\n\nSetI" + "ndexes\022*\n\013set_indexes\030\001 \003(\0132\025.greptime.v" + "1.SetIndex\">\n\014UnsetIndexes\022.\n\runset_inde" + "xes\030\001 \003(\0132\027.greptime.v1.UnsetIndex\"=\n\nSe" + "tDefault\022\023\n\013column_name\030\001 \001(\t\022\032\n\022default" + "_constraint\030\002 \001(\014\"\237\001\n\010SetIndex\022,\n\010fullte" + "xt\030\001 \001(\0132\030.greptime.v1.SetFulltextH\000\022,\n\010" + "inverted\030\002 \001(\0132\030.greptime.v1.SetInverted" + "H\000\022,\n\010skipping\030\003 \001(\0132\030.greptime.v1.SetSk" + "ippingH\000B\t\n\007options\"\247\001\n\nUnsetIndex\022.\n\010fu" + "lltext\030\001 \001(\0132\032.greptime.v1.UnsetFulltext" + "H\000\022.\n\010inverted\030\002 \001(\0132\032.greptime.v1.Unset" + "InvertedH\000\022.\n\010skipping\030\003 \001(\0132\032.greptime." + "v1.UnsetSkippingH\000B\t\n\007options\"W\n\013Reparti" + "tion\022\034\n\024from_partition_exprs\030\001 \003(\t\022\034\n\024in" + "to_partition_exprs\030\002 \003(\t\022\014\n\004wait\030\003 \001(\010\"\216" + "\001\n\rDropTableExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023" + "\n\013schema_name\030\002 \001(\t\022\022\n\ntable_name\030\003 \001(\t\022" + "&\n\010table_id\030\004 \001(\0132\024.greptime.v1.TableId\022" + "\026\n\016drop_if_exists\030\005 \001(\010\"\314\001\n\022CreateDataba" + "seExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_n" + "ame\030\002 \001(\t\022\034\n\024create_if_not_exists\030\003 \001(\010\022" + "=\n\007options\030\004 \003(\0132,.greptime.v1.CreateDat" + "abaseExpr.OptionsEntry\032.\n\014OptionsEntry\022\013" + "\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\250\001\n\021Trunc" + "ateTableExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013sc" + "hema_name\030\002 \001(\t\022\022\n\ntable_name\030\003 \001(\t\022&\n\010t" + "able_id\030\004 \001(\0132\024.greptime.v1.TableId\022,\n\013t" + "ime_ranges\030\005 \001(\0132\027.greptime.v1.TimeRange" + "s\"U\n\020DropDatabaseExpr\022\024\n\014catalog_name\030\001 " + "\001(\t\022\023\n\013schema_name\030\002 \001(\t\022\026\n\016drop_if_exis" + "ts\030\003 \001(\010\"9\n\nAddColumns\022+\n\013add_columns\030\001 " + "\003(\0132\026.greptime.v1.AddColumn\"\?\n\014DropDefau" + "lts\022/\n\rdrop_defaults\030\001 \003(\0132\030.greptime.v1" + ".DropDefault\"<\n\013SetDefaults\022-\n\014set_defau" + "lts\030\001 \003(\0132\027.greptime.v1.SetDefault\"<\n\013Dr" + "opColumns\022-\n\014drop_columns\030\001 \003(\0132\027.grepti" + "me.v1.DropColumn\"O\n\021ModifyColumnTypes\022:\n" + "\023modify_column_types\030\001 \003(\0132\035.greptime.v1" + ".ModifyColumnType\"%\n\013RenameTable\022\026\n\016new_" + "table_name\030\001 \001(\t\"\204\001\n\tAddColumn\022*\n\ncolumn" + "_def\030\001 \001(\0132\026.greptime.v1.ColumnDef\0220\n\010lo" + "cation\030\003 \001(\0132\036.greptime.v1.AddColumnLoca" + "tion\022\031\n\021add_if_not_exists\030\004 \001(\010\"\236\001\n\020Modi" + "fyColumnType\022\023\n\013column_name\030\001 \001(\t\0220\n\013tar" + "get_type\030\002 \001(\0162\033.greptime.v1.ColumnDataT" + "ype\022C\n\025target_type_extension\030\003 \001(\0132$.gre" + "ptime.v1.ColumnDataTypeExtension\"$\n\006Opti" + "on\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"=\n\017SetTab" + "leOptions\022*\n\rtable_options\030\001 \003(\0132\023.grept" + "ime.v1.Option\"!\n\021UnsetTableOptions\022\014\n\004ke" + "ys\030\001 \003(\t\"\032\n\nDropColumn\022\014\n\004name\030\001 \001(\t\"\025\n\007" + "TableId\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_ty" + "pe\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\022dat" + "atype_extension\030\007 \001(\0132$.greptime.v1.Colu" + "mnDataTypeExtension\022+\n\007options\030\010 \001(\0132\032.g" + "reptime.v1.ColumnOptions\"\230\001\n\021AddColumnLo" + "cation\022B\n\rlocation_type\030\001 \001(\0162+.greptime" + ".v1.AddColumnLocation.LocationType\022\031\n\021af" + "ter_column_name\030\002 \001(\t\"$\n\014LocationType\022\t\n" + "\005FIRST\020\000\022\t\n\005AFTER\020\001\"\324\001\n\013SetFulltext\022\023\n\013c" + "olumn_name\030\001 \001(\t\022\016\n\006enable\030\002 \001(\010\022\'\n\010anal" + "yzer\030\003 \001(\0162\025.greptime.v1.Analyzer\022\026\n\016cas" + "e_sensitive\030\004 \001(\010\022-\n\007backend\030\005 \001(\0162\034.gre" + "ptime.v1.FulltextBackend\022\023\n\013granularity\030" + "\006 \001(\004\022\033\n\023false_positive_rate\030\007 \001(\001\"$\n\rUn" + "setFulltext\022\023\n\013column_name\030\001 \001(\t\"\"\n\013SetI" + "nverted\022\023\n\013column_name\030\001 \001(\t\"$\n\rUnsetInv" + "erted\022\023\n\013column_name\030\001 \001(\t\"\241\001\n\013SetSkippi" + "ng\022\023\n\013column_name\030\001 \001(\t\022\016\n\006enable\030\002 \001(\010\022" + "\023\n\013granularity\030\003 \001(\004\022;\n\023skipping_index_t" + "ype\030\004 \001(\0162\036.greptime.v1.SkippingIndexTyp" + "e\022\033\n\023false_positive_rate\030\005 \001(\001\"$\n\rUnsetS" + "kipping\022\023\n\013column_name\030\001 \001(\t\"\314\001\n\021AlterDa" + "tabaseExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013sche" + "ma_name\030\002 \001(\t\022\?\n\024set_database_options\030\003 " + "\001(\0132\037.greptime.v1.SetDatabaseOptionsH\000\022C" + "\n\026unset_database_options\030\004 \001(\0132!.greptim" + "e.v1.UnsetDatabaseOptionsH\000B\006\n\004kind\"G\n\022S" + "etDatabaseOptions\0221\n\024set_database_option" + "s\030\001 \003(\0132\023.greptime.v1.Option\"$\n\024UnsetDat" + "abaseOptions\022\014\n\004keys\030\001 \003(\t\"\331\004\n\021CreateTri" + "ggerExpr\022\024\n\014catalog_name\030\001 \001(\t\022\024\n\014trigge" + "r_name\030\002 \001(\t\022\034\n\024create_if_not_exists\030\003 \001" + "(\010\022\013\n\003sql\030\004 \001(\t\022,\n\010channels\030\005 \003(\0132\032.grep" + "time.v1.NotifyChannel\022:\n\006labels\030\006 \003(\0132*." + "greptime.v1.CreateTriggerExpr.LabelsEntr" + "y\022D\n\013annotations\030\007 \003(\0132/.greptime.v1.Cre" + "ateTriggerExpr.AnnotationsEntry\022+\n\010inter" + "val\030\010 \001(\0132\031.google.protobuf.Duration\022\031\n\021" + "raw_interval_expr\030\t \001(\t\022&\n\003for\030\n \001(\0132\031.g" + "oogle.protobuf.Duration\022\024\n\014for_raw_expr\030" + "\013 \001(\t\0222\n\017keep_firing_for\030\014 \001(\0132\031.google." + "protobuf.Duration\022 \n\030keep_firing_for_raw" + "_expr\030\r \001(\t\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022" + "\r\n\005value\030\002 \001(\t:\0028\001\0322\n\020AnnotationsEntry\022\013" + "\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"]\n\rNotify" + "Channel\022\014\n\004name\030\001 \001(\t\022.\n\007webhook\030\002 \001(\0132\033" + ".greptime.v1.WebhookOptionsH\000B\016\n\014channel" + "_type\"\177\n\016WebhookOptions\022\013\n\003url\030\001 \001(\t\0223\n\004" + "opts\030\002 \003(\0132%.greptime.v1.WebhookOptions." + "OptsEntry\032+\n\tOptsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v" + "alue\030\002 \001(\t:\0028\001\"U\n\017DropTriggerExpr\022\024\n\014cat" + "alog_name\030\001 \001(\t\022\024\n\014trigger_name\030\002 \001(\t\022\026\n" + "\016drop_if_exists\030\003 \001(\010\"\252\001\n\rCommentOnExpr\022" + "\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001" + "(\t\0223\n\013object_type\030\003 \001(\0162\036.greptime.v1.Co" + "mmentObjectType\022\023\n\013object_name\030\004 \001(\t\022\023\n\013" + "column_name\030\005 \001(\t\022\017\n\007comment\030\006 \001(\t*$\n\010An" + "alyzer\022\013\n\007ENGLISH\020\000\022\013\n\007CHINESE\020\001*)\n\017Full" + "textBackend\022\013\n\007TANTIVY\020\000\022\t\n\005BLOOM\020\001*%\n\021S" + "kippingIndexType\022\020\n\014BLOOM_FILTER\020\000*4\n\021Co" + "mmentObjectType\022\t\n\005TABLE\020\000\022\n\n\006COLUMN\020\001\022\010" + "\n\004FLOW\020\002BL\n\016io.greptime.v1B\003DdlZ5github." + "com/GreptimeTeam/greptime-proto/go/grept" + "ime/v1b\006proto3" ; static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fddl_2eproto_deps[2] = { &::descriptor_table_google_2fprotobuf_2fduration_2eproto, @@ -1639,9 +1670,9 @@ static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fddl }; static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fddl_2eproto_once; const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fddl_2eproto = { - false, false, 7476, descriptor_table_protodef_greptime_2fv1_2fddl_2eproto, + false, false, 7614, 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, 2, 53, + &descriptor_table_greptime_2fv1_2fddl_2eproto_once, descriptor_table_greptime_2fv1_2fddl_2eproto_deps, 2, 54, 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, @@ -5204,6 +5235,7 @@ class AlterTableExpr::_Internal { static const ::greptime::v1::SetIndexes& set_indexes(const AlterTableExpr* msg); static const ::greptime::v1::UnsetIndexes& unset_indexes(const AlterTableExpr* msg); static const ::greptime::v1::SetDefaults& set_defaults(const AlterTableExpr* msg); + static const ::greptime::v1::Repartition& repartition(const AlterTableExpr* msg); }; const ::greptime::v1::AddColumns& @@ -5254,6 +5286,10 @@ const ::greptime::v1::SetDefaults& AlterTableExpr::_Internal::set_defaults(const AlterTableExpr* msg) { return *msg->_impl_.kind_.set_defaults_; } +const ::greptime::v1::Repartition& +AlterTableExpr::_Internal::repartition(const AlterTableExpr* msg) { + return *msg->_impl_.kind_.repartition_; +} void AlterTableExpr::set_allocated_add_columns(::greptime::v1::AddColumns* add_columns) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); clear_kind(); @@ -5434,6 +5470,21 @@ void AlterTableExpr::set_allocated_set_defaults(::greptime::v1::SetDefaults* set } // @@protoc_insertion_point(field_set_allocated:greptime.v1.AlterTableExpr.set_defaults) } +void AlterTableExpr::set_allocated_repartition(::greptime::v1::Repartition* repartition) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + clear_kind(); + if (repartition) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(repartition); + if (message_arena != submessage_arena) { + repartition = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, repartition, submessage_arena); + } + set_has_repartition(); + _impl_.kind_.repartition_ = repartition; + } + // @@protoc_insertion_point(field_set_allocated:greptime.v1.AlterTableExpr.repartition) +} AlterTableExpr::AlterTableExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -5538,6 +5589,11 @@ AlterTableExpr::AlterTableExpr(const AlterTableExpr& from) from._internal_set_defaults()); break; } + case kRepartition: { + _this->_internal_mutable_repartition()->::greptime::v1::Repartition::MergeFrom( + from._internal_repartition()); + break; + } case KIND_NOT_SET: { break; } @@ -5670,6 +5726,12 @@ void AlterTableExpr::clear_kind() { } break; } + case kRepartition: { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.kind_.repartition_; + } + break; + } case KIND_NOT_SET: { break; } @@ -5823,6 +5885,14 @@ const char* AlterTableExpr::_InternalParse(const char* ptr, ::_pbi::ParseContext } else goto handle_unusual; continue; + // .greptime.v1.Repartition repartition = 18; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 146)) { + ptr = ctx->ParseMessage(_internal_mutable_repartition(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -5966,6 +6036,13 @@ uint8_t* AlterTableExpr::_InternalSerialize( _Internal::set_defaults(this).GetCachedSize(), target, stream); } + // .greptime.v1.Repartition repartition = 18; + if (_internal_has_repartition()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(18, _Internal::repartition(this), + _Internal::repartition(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); @@ -6088,6 +6165,13 @@ size_t AlterTableExpr::ByteSizeLong() const { *_impl_.kind_.set_defaults_); break; } + // .greptime.v1.Repartition repartition = 18; + case kRepartition: { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.kind_.repartition_); + break; + } case KIND_NOT_SET: { break; } @@ -6180,6 +6264,11 @@ void AlterTableExpr::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const : from._internal_set_defaults()); break; } + case kRepartition: { + _this->_internal_mutable_repartition()->::greptime::v1::Repartition::MergeFrom( + from._internal_repartition()); + break; + } case KIND_NOT_SET: { break; } @@ -7774,6 +7863,262 @@ void UnsetIndex::InternalSwap(UnsetIndex* other) { // =================================================================== +class Repartition::_Internal { + public: +}; + +Repartition::Repartition(::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.Repartition) +} +Repartition::Repartition(const Repartition& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + Repartition* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.from_partition_exprs_){from._impl_.from_partition_exprs_} + , decltype(_impl_.into_partition_exprs_){from._impl_.into_partition_exprs_} + , decltype(_impl_.wait_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.wait_ = from._impl_.wait_; + // @@protoc_insertion_point(copy_constructor:greptime.v1.Repartition) +} + +inline void Repartition::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.from_partition_exprs_){arena} + , decltype(_impl_.into_partition_exprs_){arena} + , decltype(_impl_.wait_){false} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +Repartition::~Repartition() { + // @@protoc_insertion_point(destructor:greptime.v1.Repartition) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void Repartition::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.from_partition_exprs_.~RepeatedPtrField(); + _impl_.into_partition_exprs_.~RepeatedPtrField(); +} + +void Repartition::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void Repartition::Clear() { +// @@protoc_insertion_point(message_clear_start:greptime.v1.Repartition) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.from_partition_exprs_.Clear(); + _impl_.into_partition_exprs_.Clear(); + _impl_.wait_ = false; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* Repartition::_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) { + // repeated string from_partition_exprs = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_from_partition_exprs(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "greptime.v1.Repartition.from_partition_exprs")); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); + } else + goto handle_unusual; + continue; + // repeated string into_partition_exprs = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_into_partition_exprs(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "greptime.v1.Repartition.into_partition_exprs")); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); + } else + goto handle_unusual; + continue; + // bool wait = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + _impl_.wait_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&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* Repartition::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:greptime.v1.Repartition) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated string from_partition_exprs = 1; + for (int i = 0, n = this->_internal_from_partition_exprs_size(); i < n; i++) { + const auto& s = this->_internal_from_partition_exprs(i); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + s.data(), static_cast(s.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "greptime.v1.Repartition.from_partition_exprs"); + target = stream->WriteString(1, s, target); + } + + // repeated string into_partition_exprs = 2; + for (int i = 0, n = this->_internal_into_partition_exprs_size(); i < n; i++) { + const auto& s = this->_internal_into_partition_exprs(i); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + s.data(), static_cast(s.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "greptime.v1.Repartition.into_partition_exprs"); + target = stream->WriteString(2, s, target); + } + + // bool wait = 3; + if (this->_internal_wait() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_wait(), 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.Repartition) + return target; +} + +size_t Repartition::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:greptime.v1.Repartition) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // repeated string from_partition_exprs = 1; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.from_partition_exprs_.size()); + for (int i = 0, n = _impl_.from_partition_exprs_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + _impl_.from_partition_exprs_.Get(i)); + } + + // repeated string into_partition_exprs = 2; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.into_partition_exprs_.size()); + for (int i = 0, n = _impl_.into_partition_exprs_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + _impl_.into_partition_exprs_.Get(i)); + } + + // bool wait = 3; + if (this->_internal_wait() != 0) { + total_size += 1 + 1; + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Repartition::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + Repartition::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Repartition::GetClassData() const { return &_class_data_; } + + +void Repartition::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.Repartition) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.from_partition_exprs_.MergeFrom(from._impl_.from_partition_exprs_); + _this->_impl_.into_partition_exprs_.MergeFrom(from._impl_.into_partition_exprs_); + if (from._internal_wait() != 0) { + _this->_internal_set_wait(from._internal_wait()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void Repartition::CopyFrom(const Repartition& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.Repartition) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool Repartition::IsInitialized() const { + return true; +} + +void Repartition::InternalSwap(Repartition* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.from_partition_exprs_.InternalSwap(&other->_impl_.from_partition_exprs_); + _impl_.into_partition_exprs_.InternalSwap(&other->_impl_.into_partition_exprs_); + swap(_impl_.wait_, other->_impl_.wait_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata Repartition::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]); +} + +// =================================================================== + class DropTableExpr::_Internal { public: static const ::greptime::v1::TableId& table_id(const DropTableExpr* msg); @@ -8145,7 +8490,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[15]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[16]); } // =================================================================== @@ -8159,7 +8504,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[16]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[17]); } // =================================================================== @@ -8507,7 +8852,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[17]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[18]); } // =================================================================== @@ -8904,7 +9249,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[18]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[19]); } // =================================================================== @@ -9184,7 +9529,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[19]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[20]); } // =================================================================== @@ -9369,7 +9714,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[20]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[21]); } // =================================================================== @@ -9554,7 +9899,7 @@ void DropDefaults::InternalSwap(DropDefaults* other) { ::PROTOBUF_NAMESPACE_ID::Metadata DropDefaults::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_greptime_2fv1_2fddl_2eproto_getter, &descriptor_table_greptime_2fv1_2fddl_2eproto_once, - file_level_metadata_greptime_2fv1_2fddl_2eproto[21]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[22]); } // =================================================================== @@ -9739,7 +10084,7 @@ void SetDefaults::InternalSwap(SetDefaults* other) { ::PROTOBUF_NAMESPACE_ID::Metadata SetDefaults::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[23]); } // =================================================================== @@ -9924,7 +10269,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[23]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[24]); } // =================================================================== @@ -10109,7 +10454,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[24]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[25]); } // =================================================================== @@ -10312,7 +10657,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[25]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[26]); } // =================================================================== @@ -10577,7 +10922,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[26]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[27]); } // =================================================================== @@ -10862,7 +11207,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[27]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[28]); } // =================================================================== @@ -11115,7 +11460,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[28]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[29]); } // =================================================================== @@ -11300,7 +11645,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[29]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[30]); } // =================================================================== @@ -11490,7 +11835,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[30]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[31]); } // =================================================================== @@ -11693,7 +12038,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[31]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[32]); } // =================================================================== @@ -11871,7 +12216,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[32]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[33]); } // =================================================================== @@ -12049,7 +12394,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[33]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[34]); } // =================================================================== @@ -12531,7 +12876,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[34]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[35]); } // =================================================================== @@ -12764,7 +13109,7 @@ void AddColumnLocation::InternalSwap(AddColumnLocation* other) { ::PROTOBUF_NAMESPACE_ID::Metadata AddColumnLocation::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_greptime_2fv1_2fddl_2eproto_getter, &descriptor_table_greptime_2fv1_2fddl_2eproto_once, - file_level_metadata_greptime_2fv1_2fddl_2eproto[35]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[36]); } // =================================================================== @@ -13141,7 +13486,7 @@ void SetFulltext::InternalSwap(SetFulltext* other) { ::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[36]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[37]); } // =================================================================== @@ -13344,7 +13689,7 @@ void UnsetFulltext::InternalSwap(UnsetFulltext* other) { ::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[37]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[38]); } // =================================================================== @@ -13547,7 +13892,7 @@ void SetInverted::InternalSwap(SetInverted* other) { ::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[38]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[39]); } // =================================================================== @@ -13750,7 +14095,7 @@ void UnsetInverted::InternalSwap(UnsetInverted* other) { ::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[39]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[40]); } // =================================================================== @@ -14076,7 +14421,7 @@ void SetSkipping::InternalSwap(SetSkipping* other) { ::PROTOBUF_NAMESPACE_ID::Metadata SetSkipping::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[40]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[41]); } // =================================================================== @@ -14279,7 +14624,7 @@ void UnsetSkipping::InternalSwap(UnsetSkipping* other) { ::PROTOBUF_NAMESPACE_ID::Metadata UnsetSkipping::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[41]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[42]); } // =================================================================== @@ -14686,7 +15031,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[42]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[43]); } // =================================================================== @@ -14871,7 +15216,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[43]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[44]); } // =================================================================== @@ -15061,7 +15406,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[44]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[45]); } // =================================================================== @@ -15075,7 +15420,7 @@ void CreateTriggerExpr_LabelsEntry_DoNotUse::MergeFrom(const CreateTriggerExpr_L ::PROTOBUF_NAMESPACE_ID::Metadata CreateTriggerExpr_LabelsEntry_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[45]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[46]); } // =================================================================== @@ -15089,7 +15434,7 @@ void CreateTriggerExpr_AnnotationsEntry_DoNotUse::MergeFrom(const CreateTriggerE ::PROTOBUF_NAMESPACE_ID::Metadata CreateTriggerExpr_AnnotationsEntry_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[46]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[47]); } // =================================================================== @@ -15878,7 +16223,7 @@ void CreateTriggerExpr::InternalSwap(CreateTriggerExpr* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CreateTriggerExpr::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[47]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[48]); } // =================================================================== @@ -16177,7 +16522,7 @@ void NotifyChannel::InternalSwap(NotifyChannel* other) { ::PROTOBUF_NAMESPACE_ID::Metadata NotifyChannel::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[48]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[49]); } // =================================================================== @@ -16191,7 +16536,7 @@ void WebhookOptions_OptsEntry_DoNotUse::MergeFrom(const WebhookOptions_OptsEntry ::PROTOBUF_NAMESPACE_ID::Metadata WebhookOptions_OptsEntry_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[49]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[50]); } // =================================================================== @@ -16462,7 +16807,7 @@ void WebhookOptions::InternalSwap(WebhookOptions* other) { ::PROTOBUF_NAMESPACE_ID::Metadata WebhookOptions::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[50]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[51]); } // =================================================================== @@ -16742,7 +17087,7 @@ void DropTriggerExpr::InternalSwap(DropTriggerExpr* other) { ::PROTOBUF_NAMESPACE_ID::Metadata DropTriggerExpr::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[51]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[52]); } // =================================================================== @@ -17175,7 +17520,7 @@ void CommentOnExpr::InternalSwap(CommentOnExpr* other) { ::PROTOBUF_NAMESPACE_ID::Metadata CommentOnExpr::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[52]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[53]); } // @@protoc_insertion_point(namespace_scope) @@ -17242,6 +17587,10 @@ 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::Repartition* +Arena::CreateMaybeMessage< ::greptime::v1::Repartition >(Arena* arena) { + return Arena::CreateMessageInternal< ::greptime::v1::Repartition >(arena); +} template<> PROTOBUF_NOINLINE ::greptime::v1::DropTableExpr* Arena::CreateMaybeMessage< ::greptime::v1::DropTableExpr >(Arena* arena) { return Arena::CreateMessageInternal< ::greptime::v1::DropTableExpr >(arena); diff --git a/c++/greptime/v1/ddl.pb.h b/c++/greptime/v1/ddl.pb.h index 7293d6e..c328004 100644 --- a/c++/greptime/v1/ddl.pb.h +++ b/c++/greptime/v1/ddl.pb.h @@ -151,6 +151,9 @@ extern OptionDefaultTypeInternal _Option_default_instance_; class RenameTable; struct RenameTableDefaultTypeInternal; extern RenameTableDefaultTypeInternal _RenameTable_default_instance_; +class Repartition; +struct RepartitionDefaultTypeInternal; +extern RepartitionDefaultTypeInternal _Repartition_default_instance_; class SetDatabaseOptions; struct SetDatabaseOptionsDefaultTypeInternal; extern SetDatabaseOptionsDefaultTypeInternal _SetDatabaseOptions_default_instance_; @@ -247,6 +250,7 @@ template<> ::greptime::v1::ModifyColumnTypes* Arena::CreateMaybeMessage<::grepti template<> ::greptime::v1::NotifyChannel* Arena::CreateMaybeMessage<::greptime::v1::NotifyChannel>(Arena*); template<> ::greptime::v1::Option* Arena::CreateMaybeMessage<::greptime::v1::Option>(Arena*); template<> ::greptime::v1::RenameTable* Arena::CreateMaybeMessage<::greptime::v1::RenameTable>(Arena*); +template<> ::greptime::v1::Repartition* Arena::CreateMaybeMessage<::greptime::v1::Repartition>(Arena*); template<> ::greptime::v1::SetDatabaseOptions* Arena::CreateMaybeMessage<::greptime::v1::SetDatabaseOptions>(Arena*); template<> ::greptime::v1::SetDefault* Arena::CreateMaybeMessage<::greptime::v1::SetDefault>(Arena*); template<> ::greptime::v1::SetDefaults* Arena::CreateMaybeMessage<::greptime::v1::SetDefaults>(Arena*); @@ -2296,6 +2300,7 @@ class AlterTableExpr final : kSetIndexes = 15, kUnsetIndexes = 16, kSetDefaults = 17, + kRepartition = 18, KIND_NOT_SET = 0, }; @@ -2392,6 +2397,7 @@ class AlterTableExpr final : kSetIndexesFieldNumber = 15, kUnsetIndexesFieldNumber = 16, kSetDefaultsFieldNumber = 17, + kRepartitionFieldNumber = 18, }; // string catalog_name = 1; void clear_catalog_name(); @@ -2651,6 +2657,24 @@ class AlterTableExpr final : ::greptime::v1::SetDefaults* set_defaults); ::greptime::v1::SetDefaults* unsafe_arena_release_set_defaults(); + // .greptime.v1.Repartition repartition = 18; + bool has_repartition() const; + private: + bool _internal_has_repartition() const; + public: + void clear_repartition(); + const ::greptime::v1::Repartition& repartition() const; + PROTOBUF_NODISCARD ::greptime::v1::Repartition* release_repartition(); + ::greptime::v1::Repartition* mutable_repartition(); + void set_allocated_repartition(::greptime::v1::Repartition* repartition); + private: + const ::greptime::v1::Repartition& _internal_repartition() const; + ::greptime::v1::Repartition* _internal_mutable_repartition(); + public: + void unsafe_arena_set_allocated_repartition( + ::greptime::v1::Repartition* repartition); + ::greptime::v1::Repartition* unsafe_arena_release_repartition(); + void clear_kind(); KindCase kind_case() const; // @@protoc_insertion_point(class_scope:greptime.v1.AlterTableExpr) @@ -2668,6 +2692,7 @@ class AlterTableExpr final : void set_has_set_indexes(); void set_has_unset_indexes(); void set_has_set_defaults(); + void set_has_repartition(); inline bool has_kind() const; inline void clear_has_kind(); @@ -2694,6 +2719,7 @@ class AlterTableExpr final : ::greptime::v1::SetIndexes* set_indexes_; ::greptime::v1::UnsetIndexes* unset_indexes_; ::greptime::v1::SetDefaults* set_defaults_; + ::greptime::v1::Repartition* repartition_; } kind_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; uint32_t _oneof_case_[1]; @@ -3776,6 +3802,206 @@ class UnsetIndex final : }; // ------------------------------------------------------------------- +class Repartition final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.Repartition) */ { + public: + inline Repartition() : Repartition(nullptr) {} + ~Repartition() override; + explicit PROTOBUF_CONSTEXPR Repartition(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + Repartition(const Repartition& from); + Repartition(Repartition&& from) noexcept + : Repartition() { + *this = ::std::move(from); + } + + inline Repartition& operator=(const Repartition& from) { + CopyFrom(from); + return *this; + } + inline Repartition& operator=(Repartition&& 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 Repartition& default_instance() { + return *internal_default_instance(); + } + static inline const Repartition* internal_default_instance() { + return reinterpret_cast( + &_Repartition_default_instance_); + } + static constexpr int kIndexInFileMessages = + 15; + + friend void swap(Repartition& a, Repartition& b) { + a.Swap(&b); + } + inline void Swap(Repartition* 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(Repartition* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Repartition* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const Repartition& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const Repartition& from) { + Repartition::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(Repartition* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "greptime.v1.Repartition"; + } + protected: + explicit Repartition(::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 { + kFromPartitionExprsFieldNumber = 1, + kIntoPartitionExprsFieldNumber = 2, + kWaitFieldNumber = 3, + }; + // repeated string from_partition_exprs = 1; + int from_partition_exprs_size() const; + private: + int _internal_from_partition_exprs_size() const; + public: + void clear_from_partition_exprs(); + const std::string& from_partition_exprs(int index) const; + std::string* mutable_from_partition_exprs(int index); + void set_from_partition_exprs(int index, const std::string& value); + void set_from_partition_exprs(int index, std::string&& value); + void set_from_partition_exprs(int index, const char* value); + void set_from_partition_exprs(int index, const char* value, size_t size); + std::string* add_from_partition_exprs(); + void add_from_partition_exprs(const std::string& value); + void add_from_partition_exprs(std::string&& value); + void add_from_partition_exprs(const char* value); + void add_from_partition_exprs(const char* value, size_t size); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& from_partition_exprs() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_from_partition_exprs(); + private: + const std::string& _internal_from_partition_exprs(int index) const; + std::string* _internal_add_from_partition_exprs(); + public: + + // repeated string into_partition_exprs = 2; + int into_partition_exprs_size() const; + private: + int _internal_into_partition_exprs_size() const; + public: + void clear_into_partition_exprs(); + const std::string& into_partition_exprs(int index) const; + std::string* mutable_into_partition_exprs(int index); + void set_into_partition_exprs(int index, const std::string& value); + void set_into_partition_exprs(int index, std::string&& value); + void set_into_partition_exprs(int index, const char* value); + void set_into_partition_exprs(int index, const char* value, size_t size); + std::string* add_into_partition_exprs(); + void add_into_partition_exprs(const std::string& value); + void add_into_partition_exprs(std::string&& value); + void add_into_partition_exprs(const char* value); + void add_into_partition_exprs(const char* value, size_t size); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& into_partition_exprs() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_into_partition_exprs(); + private: + const std::string& _internal_into_partition_exprs(int index) const; + std::string* _internal_add_into_partition_exprs(); + public: + + // bool wait = 3; + void clear_wait(); + bool wait() const; + void set_wait(bool value); + private: + bool _internal_wait() const; + void _internal_set_wait(bool value); + public: + + // @@protoc_insertion_point(class_scope:greptime.v1.Repartition) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField from_partition_exprs_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField into_partition_exprs_; + bool wait_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + 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: @@ -3824,7 +4050,7 @@ class DropTableExpr final : &_DropTableExpr_default_instance_); } static constexpr int kIndexInFileMessages = - 15; + 16; friend void swap(DropTableExpr& a, DropTableExpr& b) { a.Swap(&b); @@ -4068,7 +4294,7 @@ class CreateDatabaseExpr final : &_CreateDatabaseExpr_default_instance_); } static constexpr int kIndexInFileMessages = - 17; + 18; friend void swap(CreateDatabaseExpr& a, CreateDatabaseExpr& b) { a.Swap(&b); @@ -4274,7 +4500,7 @@ class TruncateTableExpr final : &_TruncateTableExpr_default_instance_); } static constexpr int kIndexInFileMessages = - 18; + 19; friend void swap(TruncateTableExpr& a, TruncateTableExpr& b) { a.Swap(&b); @@ -4499,7 +4725,7 @@ class DropDatabaseExpr final : &_DropDatabaseExpr_default_instance_); } static constexpr int kIndexInFileMessages = - 19; + 20; friend void swap(DropDatabaseExpr& a, DropDatabaseExpr& b) { a.Swap(&b); @@ -4679,7 +4905,7 @@ class AddColumns final : &_AddColumns_default_instance_); } static constexpr int kIndexInFileMessages = - 20; + 21; friend void swap(AddColumns& a, AddColumns& b) { a.Swap(&b); @@ -4836,7 +5062,7 @@ class DropDefaults final : &_DropDefaults_default_instance_); } static constexpr int kIndexInFileMessages = - 21; + 22; friend void swap(DropDefaults& a, DropDefaults& b) { a.Swap(&b); @@ -4993,7 +5219,7 @@ class SetDefaults final : &_SetDefaults_default_instance_); } static constexpr int kIndexInFileMessages = - 22; + 23; friend void swap(SetDefaults& a, SetDefaults& b) { a.Swap(&b); @@ -5150,7 +5376,7 @@ class DropColumns final : &_DropColumns_default_instance_); } static constexpr int kIndexInFileMessages = - 23; + 24; friend void swap(DropColumns& a, DropColumns& b) { a.Swap(&b); @@ -5307,7 +5533,7 @@ class ModifyColumnTypes final : &_ModifyColumnTypes_default_instance_); } static constexpr int kIndexInFileMessages = - 24; + 25; friend void swap(ModifyColumnTypes& a, ModifyColumnTypes& b) { a.Swap(&b); @@ -5464,7 +5690,7 @@ class RenameTable final : &_RenameTable_default_instance_); } static constexpr int kIndexInFileMessages = - 25; + 26; friend void swap(RenameTable& a, RenameTable& b) { a.Swap(&b); @@ -5617,7 +5843,7 @@ class AddColumn final : &_AddColumn_default_instance_); } static constexpr int kIndexInFileMessages = - 26; + 27; friend void swap(AddColumn& a, AddColumn& b) { a.Swap(&b); @@ -5805,7 +6031,7 @@ class ModifyColumnType final : &_ModifyColumnType_default_instance_); } static constexpr int kIndexInFileMessages = - 27; + 28; friend void swap(ModifyColumnType& a, ModifyColumnType& b) { a.Swap(&b); @@ -5989,7 +6215,7 @@ class Option final : &_Option_default_instance_); } static constexpr int kIndexInFileMessages = - 28; + 29; friend void swap(Option& a, Option& b) { a.Swap(&b); @@ -6158,7 +6384,7 @@ class SetTableOptions final : &_SetTableOptions_default_instance_); } static constexpr int kIndexInFileMessages = - 29; + 30; friend void swap(SetTableOptions& a, SetTableOptions& b) { a.Swap(&b); @@ -6315,7 +6541,7 @@ class UnsetTableOptions final : &_UnsetTableOptions_default_instance_); } static constexpr int kIndexInFileMessages = - 30; + 31; friend void swap(UnsetTableOptions& a, UnsetTableOptions& b) { a.Swap(&b); @@ -6478,7 +6704,7 @@ class DropColumn final : &_DropColumn_default_instance_); } static constexpr int kIndexInFileMessages = - 31; + 32; friend void swap(DropColumn& a, DropColumn& b) { a.Swap(&b); @@ -6631,7 +6857,7 @@ class TableId final : &_TableId_default_instance_); } static constexpr int kIndexInFileMessages = - 32; + 33; friend void swap(TableId& a, TableId& b) { a.Swap(&b); @@ -6779,7 +7005,7 @@ class FlowId final : &_FlowId_default_instance_); } static constexpr int kIndexInFileMessages = - 33; + 34; friend void swap(FlowId& a, FlowId& b) { a.Swap(&b); @@ -6927,7 +7153,7 @@ class ColumnDef final : &_ColumnDef_default_instance_); } static constexpr int kIndexInFileMessages = - 34; + 35; friend void swap(ColumnDef& a, ColumnDef& b) { a.Swap(&b); @@ -7185,7 +7411,7 @@ class AddColumnLocation final : &_AddColumnLocation_default_instance_); } static constexpr int kIndexInFileMessages = - 35; + 36; friend void swap(AddColumnLocation& a, AddColumnLocation& b) { a.Swap(&b); @@ -7379,7 +7605,7 @@ class SetFulltext final : &_SetFulltext_default_instance_); } static constexpr int kIndexInFileMessages = - 36; + 37; friend void swap(SetFulltext& a, SetFulltext& b) { a.Swap(&b); @@ -7598,7 +7824,7 @@ class UnsetFulltext final : &_UnsetFulltext_default_instance_); } static constexpr int kIndexInFileMessages = - 37; + 38; friend void swap(UnsetFulltext& a, UnsetFulltext& b) { a.Swap(&b); @@ -7751,7 +7977,7 @@ class SetInverted final : &_SetInverted_default_instance_); } static constexpr int kIndexInFileMessages = - 38; + 39; friend void swap(SetInverted& a, SetInverted& b) { a.Swap(&b); @@ -7904,7 +8130,7 @@ class UnsetInverted final : &_UnsetInverted_default_instance_); } static constexpr int kIndexInFileMessages = - 39; + 40; friend void swap(UnsetInverted& a, UnsetInverted& b) { a.Swap(&b); @@ -8057,7 +8283,7 @@ class SetSkipping final : &_SetSkipping_default_instance_); } static constexpr int kIndexInFileMessages = - 40; + 41; friend void swap(SetSkipping& a, SetSkipping& b) { a.Swap(&b); @@ -8254,7 +8480,7 @@ class UnsetSkipping final : &_UnsetSkipping_default_instance_); } static constexpr int kIndexInFileMessages = - 41; + 42; friend void swap(UnsetSkipping& a, UnsetSkipping& b) { a.Swap(&b); @@ -8413,7 +8639,7 @@ class AlterDatabaseExpr final : &_AlterDatabaseExpr_default_instance_); } static constexpr int kIndexInFileMessages = - 42; + 43; friend void swap(AlterDatabaseExpr& a, AlterDatabaseExpr& b) { a.Swap(&b); @@ -8635,7 +8861,7 @@ class SetDatabaseOptions final : &_SetDatabaseOptions_default_instance_); } static constexpr int kIndexInFileMessages = - 43; + 44; friend void swap(SetDatabaseOptions& a, SetDatabaseOptions& b) { a.Swap(&b); @@ -8792,7 +9018,7 @@ class UnsetDatabaseOptions final : &_UnsetDatabaseOptions_default_instance_); } static constexpr int kIndexInFileMessages = - 44; + 45; friend void swap(UnsetDatabaseOptions& a, UnsetDatabaseOptions& b) { a.Swap(&b); @@ -9011,7 +9237,7 @@ class CreateTriggerExpr final : &_CreateTriggerExpr_default_instance_); } static constexpr int kIndexInFileMessages = - 47; + 48; friend void swap(CreateTriggerExpr& a, CreateTriggerExpr& b) { a.Swap(&b); @@ -9389,7 +9615,7 @@ class NotifyChannel final : &_NotifyChannel_default_instance_); } static constexpr int kIndexInFileMessages = - 48; + 49; friend void swap(NotifyChannel& a, NotifyChannel& b) { a.Swap(&b); @@ -9602,7 +9828,7 @@ class WebhookOptions final : &_WebhookOptions_default_instance_); } static constexpr int kIndexInFileMessages = - 50; + 51; friend void swap(WebhookOptions& a, WebhookOptions& b) { a.Swap(&b); @@ -9781,7 +10007,7 @@ class DropTriggerExpr final : &_DropTriggerExpr_default_instance_); } static constexpr int kIndexInFileMessages = - 51; + 52; friend void swap(DropTriggerExpr& a, DropTriggerExpr& b) { a.Swap(&b); @@ -9961,7 +10187,7 @@ class CommentOnExpr final : &_CommentOnExpr_default_instance_); } static constexpr int kIndexInFileMessages = - 52; + 53; friend void swap(CommentOnExpr& a, CommentOnExpr& b) { a.Swap(&b); @@ -14101,6 +14327,80 @@ inline ::greptime::v1::SetDefaults* AlterTableExpr::mutable_set_defaults() { return _msg; } +// .greptime.v1.Repartition repartition = 18; +inline bool AlterTableExpr::_internal_has_repartition() const { + return kind_case() == kRepartition; +} +inline bool AlterTableExpr::has_repartition() const { + return _internal_has_repartition(); +} +inline void AlterTableExpr::set_has_repartition() { + _impl_._oneof_case_[0] = kRepartition; +} +inline void AlterTableExpr::clear_repartition() { + if (_internal_has_repartition()) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.kind_.repartition_; + } + clear_has_kind(); + } +} +inline ::greptime::v1::Repartition* AlterTableExpr::release_repartition() { + // @@protoc_insertion_point(field_release:greptime.v1.AlterTableExpr.repartition) + if (_internal_has_repartition()) { + clear_has_kind(); + ::greptime::v1::Repartition* temp = _impl_.kind_.repartition_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.kind_.repartition_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::greptime::v1::Repartition& AlterTableExpr::_internal_repartition() const { + return _internal_has_repartition() + ? *_impl_.kind_.repartition_ + : reinterpret_cast< ::greptime::v1::Repartition&>(::greptime::v1::_Repartition_default_instance_); +} +inline const ::greptime::v1::Repartition& AlterTableExpr::repartition() const { + // @@protoc_insertion_point(field_get:greptime.v1.AlterTableExpr.repartition) + return _internal_repartition(); +} +inline ::greptime::v1::Repartition* AlterTableExpr::unsafe_arena_release_repartition() { + // @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.AlterTableExpr.repartition) + if (_internal_has_repartition()) { + clear_has_kind(); + ::greptime::v1::Repartition* temp = _impl_.kind_.repartition_; + _impl_.kind_.repartition_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void AlterTableExpr::unsafe_arena_set_allocated_repartition(::greptime::v1::Repartition* repartition) { + clear_kind(); + if (repartition) { + set_has_repartition(); + _impl_.kind_.repartition_ = repartition; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.AlterTableExpr.repartition) +} +inline ::greptime::v1::Repartition* AlterTableExpr::_internal_mutable_repartition() { + if (!_internal_has_repartition()) { + clear_kind(); + set_has_repartition(); + _impl_.kind_.repartition_ = CreateMaybeMessage< ::greptime::v1::Repartition >(GetArenaForAllocation()); + } + return _impl_.kind_.repartition_; +} +inline ::greptime::v1::Repartition* AlterTableExpr::mutable_repartition() { + ::greptime::v1::Repartition* _msg = _internal_mutable_repartition(); + // @@protoc_insertion_point(field_mutable:greptime.v1.AlterTableExpr.repartition) + return _msg; +} + inline bool AlterTableExpr::has_kind() const { return kind_case() != KIND_NOT_SET; } @@ -14828,6 +15128,180 @@ inline UnsetIndex::OptionsCase UnsetIndex::options_case() const { } // ------------------------------------------------------------------- +// Repartition + +// repeated string from_partition_exprs = 1; +inline int Repartition::_internal_from_partition_exprs_size() const { + return _impl_.from_partition_exprs_.size(); +} +inline int Repartition::from_partition_exprs_size() const { + return _internal_from_partition_exprs_size(); +} +inline void Repartition::clear_from_partition_exprs() { + _impl_.from_partition_exprs_.Clear(); +} +inline std::string* Repartition::add_from_partition_exprs() { + std::string* _s = _internal_add_from_partition_exprs(); + // @@protoc_insertion_point(field_add_mutable:greptime.v1.Repartition.from_partition_exprs) + return _s; +} +inline const std::string& Repartition::_internal_from_partition_exprs(int index) const { + return _impl_.from_partition_exprs_.Get(index); +} +inline const std::string& Repartition::from_partition_exprs(int index) const { + // @@protoc_insertion_point(field_get:greptime.v1.Repartition.from_partition_exprs) + return _internal_from_partition_exprs(index); +} +inline std::string* Repartition::mutable_from_partition_exprs(int index) { + // @@protoc_insertion_point(field_mutable:greptime.v1.Repartition.from_partition_exprs) + return _impl_.from_partition_exprs_.Mutable(index); +} +inline void Repartition::set_from_partition_exprs(int index, const std::string& value) { + _impl_.from_partition_exprs_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set:greptime.v1.Repartition.from_partition_exprs) +} +inline void Repartition::set_from_partition_exprs(int index, std::string&& value) { + _impl_.from_partition_exprs_.Mutable(index)->assign(std::move(value)); + // @@protoc_insertion_point(field_set:greptime.v1.Repartition.from_partition_exprs) +} +inline void Repartition::set_from_partition_exprs(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.from_partition_exprs_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:greptime.v1.Repartition.from_partition_exprs) +} +inline void Repartition::set_from_partition_exprs(int index, const char* value, size_t size) { + _impl_.from_partition_exprs_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:greptime.v1.Repartition.from_partition_exprs) +} +inline std::string* Repartition::_internal_add_from_partition_exprs() { + return _impl_.from_partition_exprs_.Add(); +} +inline void Repartition::add_from_partition_exprs(const std::string& value) { + _impl_.from_partition_exprs_.Add()->assign(value); + // @@protoc_insertion_point(field_add:greptime.v1.Repartition.from_partition_exprs) +} +inline void Repartition::add_from_partition_exprs(std::string&& value) { + _impl_.from_partition_exprs_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:greptime.v1.Repartition.from_partition_exprs) +} +inline void Repartition::add_from_partition_exprs(const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.from_partition_exprs_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:greptime.v1.Repartition.from_partition_exprs) +} +inline void Repartition::add_from_partition_exprs(const char* value, size_t size) { + _impl_.from_partition_exprs_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:greptime.v1.Repartition.from_partition_exprs) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& +Repartition::from_partition_exprs() const { + // @@protoc_insertion_point(field_list:greptime.v1.Repartition.from_partition_exprs) + return _impl_.from_partition_exprs_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* +Repartition::mutable_from_partition_exprs() { + // @@protoc_insertion_point(field_mutable_list:greptime.v1.Repartition.from_partition_exprs) + return &_impl_.from_partition_exprs_; +} + +// repeated string into_partition_exprs = 2; +inline int Repartition::_internal_into_partition_exprs_size() const { + return _impl_.into_partition_exprs_.size(); +} +inline int Repartition::into_partition_exprs_size() const { + return _internal_into_partition_exprs_size(); +} +inline void Repartition::clear_into_partition_exprs() { + _impl_.into_partition_exprs_.Clear(); +} +inline std::string* Repartition::add_into_partition_exprs() { + std::string* _s = _internal_add_into_partition_exprs(); + // @@protoc_insertion_point(field_add_mutable:greptime.v1.Repartition.into_partition_exprs) + return _s; +} +inline const std::string& Repartition::_internal_into_partition_exprs(int index) const { + return _impl_.into_partition_exprs_.Get(index); +} +inline const std::string& Repartition::into_partition_exprs(int index) const { + // @@protoc_insertion_point(field_get:greptime.v1.Repartition.into_partition_exprs) + return _internal_into_partition_exprs(index); +} +inline std::string* Repartition::mutable_into_partition_exprs(int index) { + // @@protoc_insertion_point(field_mutable:greptime.v1.Repartition.into_partition_exprs) + return _impl_.into_partition_exprs_.Mutable(index); +} +inline void Repartition::set_into_partition_exprs(int index, const std::string& value) { + _impl_.into_partition_exprs_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set:greptime.v1.Repartition.into_partition_exprs) +} +inline void Repartition::set_into_partition_exprs(int index, std::string&& value) { + _impl_.into_partition_exprs_.Mutable(index)->assign(std::move(value)); + // @@protoc_insertion_point(field_set:greptime.v1.Repartition.into_partition_exprs) +} +inline void Repartition::set_into_partition_exprs(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.into_partition_exprs_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:greptime.v1.Repartition.into_partition_exprs) +} +inline void Repartition::set_into_partition_exprs(int index, const char* value, size_t size) { + _impl_.into_partition_exprs_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:greptime.v1.Repartition.into_partition_exprs) +} +inline std::string* Repartition::_internal_add_into_partition_exprs() { + return _impl_.into_partition_exprs_.Add(); +} +inline void Repartition::add_into_partition_exprs(const std::string& value) { + _impl_.into_partition_exprs_.Add()->assign(value); + // @@protoc_insertion_point(field_add:greptime.v1.Repartition.into_partition_exprs) +} +inline void Repartition::add_into_partition_exprs(std::string&& value) { + _impl_.into_partition_exprs_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:greptime.v1.Repartition.into_partition_exprs) +} +inline void Repartition::add_into_partition_exprs(const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.into_partition_exprs_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:greptime.v1.Repartition.into_partition_exprs) +} +inline void Repartition::add_into_partition_exprs(const char* value, size_t size) { + _impl_.into_partition_exprs_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:greptime.v1.Repartition.into_partition_exprs) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& +Repartition::into_partition_exprs() const { + // @@protoc_insertion_point(field_list:greptime.v1.Repartition.into_partition_exprs) + return _impl_.into_partition_exprs_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* +Repartition::mutable_into_partition_exprs() { + // @@protoc_insertion_point(field_mutable_list:greptime.v1.Repartition.into_partition_exprs) + return &_impl_.into_partition_exprs_; +} + +// bool wait = 3; +inline void Repartition::clear_wait() { + _impl_.wait_ = false; +} +inline bool Repartition::_internal_wait() const { + return _impl_.wait_; +} +inline bool Repartition::wait() const { + // @@protoc_insertion_point(field_get:greptime.v1.Repartition.wait) + return _internal_wait(); +} +inline void Repartition::_internal_set_wait(bool value) { + + _impl_.wait_ = value; +} +inline void Repartition::set_wait(bool value) { + _internal_set_wait(value); + // @@protoc_insertion_point(field_set:greptime.v1.Repartition.wait) +} + +// ------------------------------------------------------------------- + // DropTableExpr // string catalog_name = 1; @@ -19438,6 +19912,8 @@ inline void CommentOnExpr::set_allocated_comment(std::string* comment) { // ------------------------------------------------------------------- +// ------------------------------------------------------------------- + // @@protoc_insertion_point(namespace_scope) diff --git a/go/greptime/v1/ddl.pb.go b/go/greptime/v1/ddl.pb.go index 2dc97e4..0e4c946 100644 --- a/go/greptime/v1/ddl.pb.go +++ b/go/greptime/v1/ddl.pb.go @@ -263,7 +263,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{32, 0} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{33, 0} } // "Data Definition Language" requests, that create, modify or delete the @@ -1027,6 +1027,7 @@ type AlterTableExpr struct { // *AlterTableExpr_SetIndexes // *AlterTableExpr_UnsetIndexes // *AlterTableExpr_SetDefaults + // *AlterTableExpr_Repartition Kind isAlterTableExpr_Kind `protobuf_oneof:"kind"` } @@ -1174,6 +1175,13 @@ func (x *AlterTableExpr) GetSetDefaults() *SetDefaults { return nil } +func (x *AlterTableExpr) GetRepartition() *Repartition { + if x, ok := x.GetKind().(*AlterTableExpr_Repartition); ok { + return x.Repartition + } + return nil +} + type isAlterTableExpr_Kind interface { isAlterTableExpr_Kind() } @@ -1228,6 +1236,10 @@ type AlterTableExpr_SetDefaults struct { SetDefaults *SetDefaults `protobuf:"bytes,17,opt,name=set_defaults,json=setDefaults,proto3,oneof"` } +type AlterTableExpr_Repartition struct { + Repartition *Repartition `protobuf:"bytes,18,opt,name=repartition,proto3,oneof"` +} + func (*AlterTableExpr_AddColumns) isAlterTableExpr_Kind() {} func (*AlterTableExpr_DropColumns) isAlterTableExpr_Kind() {} @@ -1252,6 +1264,8 @@ func (*AlterTableExpr_UnsetIndexes) isAlterTableExpr_Kind() {} func (*AlterTableExpr_SetDefaults) isAlterTableExpr_Kind() {} +func (*AlterTableExpr_Repartition) isAlterTableExpr_Kind() {} + type DropDefault struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1639,6 +1653,72 @@ func (*UnsetIndex_Inverted) isUnsetIndex_Options() {} func (*UnsetIndex_Skipping) isUnsetIndex_Options() {} +type Repartition struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The from partition expressions serialized in JSON format. + FromPartitionExprs []string `protobuf:"bytes,1,rep,name=from_partition_exprs,json=fromPartitionExprs,proto3" json:"from_partition_exprs,omitempty"` + // The into partition expressions serialized in JSON format. + IntoPartitionExprs []string `protobuf:"bytes,2,rep,name=into_partition_exprs,json=intoPartitionExprs,proto3" json:"into_partition_exprs,omitempty"` + // Wait for the repartition to complete. + Wait bool `protobuf:"varint,3,opt,name=wait,proto3" json:"wait,omitempty"` +} + +func (x *Repartition) Reset() { + *x = Repartition{} + if protoimpl.UnsafeEnabled { + mi := &file_greptime_v1_ddl_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Repartition) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Repartition) ProtoMessage() {} + +func (x *Repartition) ProtoReflect() protoreflect.Message { + mi := &file_greptime_v1_ddl_proto_msgTypes[13] + 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 Repartition.ProtoReflect.Descriptor instead. +func (*Repartition) Descriptor() ([]byte, []int) { + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{13} +} + +func (x *Repartition) GetFromPartitionExprs() []string { + if x != nil { + return x.FromPartitionExprs + } + return nil +} + +func (x *Repartition) GetIntoPartitionExprs() []string { + if x != nil { + return x.IntoPartitionExprs + } + return nil +} + +func (x *Repartition) GetWait() bool { + if x != nil { + return x.Wait + } + return false +} + type DropTableExpr struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1654,7 +1734,7 @@ type DropTableExpr struct { func (x *DropTableExpr) Reset() { *x = DropTableExpr{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[13] + mi := &file_greptime_v1_ddl_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1667,7 +1747,7 @@ func (x *DropTableExpr) String() string { func (*DropTableExpr) ProtoMessage() {} func (x *DropTableExpr) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[13] + mi := &file_greptime_v1_ddl_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1680,7 +1760,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{13} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{14} } func (x *DropTableExpr) GetCatalogName() string { @@ -1732,7 +1812,7 @@ type CreateDatabaseExpr struct { func (x *CreateDatabaseExpr) Reset() { *x = CreateDatabaseExpr{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[14] + mi := &file_greptime_v1_ddl_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1745,7 +1825,7 @@ func (x *CreateDatabaseExpr) String() string { func (*CreateDatabaseExpr) ProtoMessage() {} func (x *CreateDatabaseExpr) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[14] + mi := &file_greptime_v1_ddl_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1758,7 +1838,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{14} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{15} } func (x *CreateDatabaseExpr) GetCatalogName() string { @@ -1805,7 +1885,7 @@ type TruncateTableExpr struct { func (x *TruncateTableExpr) Reset() { *x = TruncateTableExpr{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[15] + mi := &file_greptime_v1_ddl_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1818,7 +1898,7 @@ func (x *TruncateTableExpr) String() string { func (*TruncateTableExpr) ProtoMessage() {} func (x *TruncateTableExpr) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[15] + mi := &file_greptime_v1_ddl_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1831,7 +1911,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{15} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{16} } func (x *TruncateTableExpr) GetCatalogName() string { @@ -1882,7 +1962,7 @@ type DropDatabaseExpr struct { func (x *DropDatabaseExpr) Reset() { *x = DropDatabaseExpr{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[16] + mi := &file_greptime_v1_ddl_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1895,7 +1975,7 @@ func (x *DropDatabaseExpr) String() string { func (*DropDatabaseExpr) ProtoMessage() {} func (x *DropDatabaseExpr) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[16] + mi := &file_greptime_v1_ddl_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1908,7 +1988,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{16} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{17} } func (x *DropDatabaseExpr) GetCatalogName() string { @@ -1943,7 +2023,7 @@ type AddColumns struct { func (x *AddColumns) Reset() { *x = AddColumns{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[17] + mi := &file_greptime_v1_ddl_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1956,7 +2036,7 @@ func (x *AddColumns) String() string { func (*AddColumns) ProtoMessage() {} func (x *AddColumns) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[17] + mi := &file_greptime_v1_ddl_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1969,7 +2049,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{17} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{18} } func (x *AddColumns) GetAddColumns() []*AddColumn { @@ -1990,7 +2070,7 @@ type DropDefaults struct { func (x *DropDefaults) Reset() { *x = DropDefaults{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[18] + mi := &file_greptime_v1_ddl_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2003,7 +2083,7 @@ func (x *DropDefaults) String() string { func (*DropDefaults) ProtoMessage() {} func (x *DropDefaults) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[18] + mi := &file_greptime_v1_ddl_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2016,7 +2096,7 @@ func (x *DropDefaults) ProtoReflect() protoreflect.Message { // Deprecated: Use DropDefaults.ProtoReflect.Descriptor instead. func (*DropDefaults) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{18} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{19} } func (x *DropDefaults) GetDropDefaults() []*DropDefault { @@ -2037,7 +2117,7 @@ type SetDefaults struct { func (x *SetDefaults) Reset() { *x = SetDefaults{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[19] + mi := &file_greptime_v1_ddl_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2050,7 +2130,7 @@ func (x *SetDefaults) String() string { func (*SetDefaults) ProtoMessage() {} func (x *SetDefaults) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[19] + mi := &file_greptime_v1_ddl_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2063,7 +2143,7 @@ func (x *SetDefaults) ProtoReflect() protoreflect.Message { // Deprecated: Use SetDefaults.ProtoReflect.Descriptor instead. func (*SetDefaults) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{19} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{20} } func (x *SetDefaults) GetSetDefaults() []*SetDefault { @@ -2084,7 +2164,7 @@ type DropColumns struct { func (x *DropColumns) Reset() { *x = DropColumns{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[20] + mi := &file_greptime_v1_ddl_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2097,7 +2177,7 @@ func (x *DropColumns) String() string { func (*DropColumns) ProtoMessage() {} func (x *DropColumns) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[20] + mi := &file_greptime_v1_ddl_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2110,7 +2190,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{20} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{21} } func (x *DropColumns) GetDropColumns() []*DropColumn { @@ -2131,7 +2211,7 @@ type ModifyColumnTypes struct { func (x *ModifyColumnTypes) Reset() { *x = ModifyColumnTypes{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[21] + mi := &file_greptime_v1_ddl_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2144,7 +2224,7 @@ func (x *ModifyColumnTypes) String() string { func (*ModifyColumnTypes) ProtoMessage() {} func (x *ModifyColumnTypes) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[21] + mi := &file_greptime_v1_ddl_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2157,7 +2237,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{21} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{22} } func (x *ModifyColumnTypes) GetModifyColumnTypes() []*ModifyColumnType { @@ -2178,7 +2258,7 @@ type RenameTable struct { func (x *RenameTable) Reset() { *x = RenameTable{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[22] + mi := &file_greptime_v1_ddl_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2191,7 +2271,7 @@ func (x *RenameTable) String() string { func (*RenameTable) ProtoMessage() {} func (x *RenameTable) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[22] + mi := &file_greptime_v1_ddl_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2204,7 +2284,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{22} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{23} } func (x *RenameTable) GetNewTableName() string { @@ -2227,7 +2307,7 @@ type AddColumn struct { func (x *AddColumn) Reset() { *x = AddColumn{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[23] + mi := &file_greptime_v1_ddl_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2240,7 +2320,7 @@ func (x *AddColumn) String() string { func (*AddColumn) ProtoMessage() {} func (x *AddColumn) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[23] + mi := &file_greptime_v1_ddl_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2253,7 +2333,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{23} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{24} } func (x *AddColumn) GetColumnDef() *ColumnDef { @@ -2290,7 +2370,7 @@ type ModifyColumnType struct { func (x *ModifyColumnType) Reset() { *x = ModifyColumnType{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[24] + mi := &file_greptime_v1_ddl_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2303,7 +2383,7 @@ func (x *ModifyColumnType) String() string { func (*ModifyColumnType) ProtoMessage() {} func (x *ModifyColumnType) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[24] + mi := &file_greptime_v1_ddl_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2316,7 +2396,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{24} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{25} } func (x *ModifyColumnType) GetColumnName() string { @@ -2352,7 +2432,7 @@ type Option struct { func (x *Option) Reset() { *x = Option{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[25] + mi := &file_greptime_v1_ddl_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2365,7 +2445,7 @@ func (x *Option) String() string { func (*Option) ProtoMessage() {} func (x *Option) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[25] + mi := &file_greptime_v1_ddl_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2378,7 +2458,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{25} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{26} } func (x *Option) GetKey() string { @@ -2406,7 +2486,7 @@ type SetTableOptions struct { func (x *SetTableOptions) Reset() { *x = SetTableOptions{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[26] + mi := &file_greptime_v1_ddl_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2419,7 +2499,7 @@ func (x *SetTableOptions) String() string { func (*SetTableOptions) ProtoMessage() {} func (x *SetTableOptions) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[26] + mi := &file_greptime_v1_ddl_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2432,7 +2512,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{26} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{27} } func (x *SetTableOptions) GetTableOptions() []*Option { @@ -2453,7 +2533,7 @@ type UnsetTableOptions struct { func (x *UnsetTableOptions) Reset() { *x = UnsetTableOptions{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[27] + mi := &file_greptime_v1_ddl_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2466,7 +2546,7 @@ func (x *UnsetTableOptions) String() string { func (*UnsetTableOptions) ProtoMessage() {} func (x *UnsetTableOptions) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[27] + mi := &file_greptime_v1_ddl_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2479,7 +2559,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{27} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{28} } func (x *UnsetTableOptions) GetKeys() []string { @@ -2500,7 +2580,7 @@ type DropColumn struct { func (x *DropColumn) Reset() { *x = DropColumn{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[28] + mi := &file_greptime_v1_ddl_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2513,7 +2593,7 @@ func (x *DropColumn) String() string { func (*DropColumn) ProtoMessage() {} func (x *DropColumn) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[28] + mi := &file_greptime_v1_ddl_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2526,7 +2606,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{28} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{29} } func (x *DropColumn) GetName() string { @@ -2547,7 +2627,7 @@ type TableId struct { func (x *TableId) Reset() { *x = TableId{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[29] + mi := &file_greptime_v1_ddl_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2560,7 +2640,7 @@ func (x *TableId) String() string { func (*TableId) ProtoMessage() {} func (x *TableId) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[29] + mi := &file_greptime_v1_ddl_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2573,7 +2653,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{29} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{30} } func (x *TableId) GetId() uint32 { @@ -2594,7 +2674,7 @@ type FlowId struct { func (x *FlowId) Reset() { *x = FlowId{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[30] + mi := &file_greptime_v1_ddl_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2607,7 +2687,7 @@ func (x *FlowId) String() string { func (*FlowId) ProtoMessage() {} func (x *FlowId) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[30] + mi := &file_greptime_v1_ddl_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2620,7 +2700,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{30} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{31} } func (x *FlowId) GetId() uint32 { @@ -2650,7 +2730,7 @@ type ColumnDef struct { func (x *ColumnDef) Reset() { *x = ColumnDef{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[31] + mi := &file_greptime_v1_ddl_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2663,7 +2743,7 @@ func (x *ColumnDef) String() string { func (*ColumnDef) ProtoMessage() {} func (x *ColumnDef) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[31] + mi := &file_greptime_v1_ddl_proto_msgTypes[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2676,7 +2756,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{31} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{32} } func (x *ColumnDef) GetName() string { @@ -2747,7 +2827,7 @@ type AddColumnLocation struct { func (x *AddColumnLocation) Reset() { *x = AddColumnLocation{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[32] + mi := &file_greptime_v1_ddl_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2760,7 +2840,7 @@ func (x *AddColumnLocation) String() string { func (*AddColumnLocation) ProtoMessage() {} func (x *AddColumnLocation) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[32] + mi := &file_greptime_v1_ddl_proto_msgTypes[33] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2773,7 +2853,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{32} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{33} } func (x *AddColumnLocation) GetLocationType() AddColumnLocation_LocationType { @@ -2809,7 +2889,7 @@ type SetFulltext struct { func (x *SetFulltext) Reset() { *x = SetFulltext{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[33] + mi := &file_greptime_v1_ddl_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2822,7 +2902,7 @@ func (x *SetFulltext) String() string { func (*SetFulltext) ProtoMessage() {} func (x *SetFulltext) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[33] + mi := &file_greptime_v1_ddl_proto_msgTypes[34] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2835,7 +2915,7 @@ func (x *SetFulltext) ProtoReflect() protoreflect.Message { // Deprecated: Use SetFulltext.ProtoReflect.Descriptor instead. func (*SetFulltext) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{33} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{34} } func (x *SetFulltext) GetColumnName() string { @@ -2898,7 +2978,7 @@ type UnsetFulltext struct { func (x *UnsetFulltext) Reset() { *x = UnsetFulltext{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[34] + mi := &file_greptime_v1_ddl_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2911,7 +2991,7 @@ func (x *UnsetFulltext) String() string { func (*UnsetFulltext) ProtoMessage() {} func (x *UnsetFulltext) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[34] + mi := &file_greptime_v1_ddl_proto_msgTypes[35] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2924,7 +3004,7 @@ func (x *UnsetFulltext) ProtoReflect() protoreflect.Message { // Deprecated: Use UnsetFulltext.ProtoReflect.Descriptor instead. func (*UnsetFulltext) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{34} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{35} } func (x *UnsetFulltext) GetColumnName() string { @@ -2945,7 +3025,7 @@ type SetInverted struct { func (x *SetInverted) Reset() { *x = SetInverted{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[35] + mi := &file_greptime_v1_ddl_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2958,7 +3038,7 @@ func (x *SetInverted) String() string { func (*SetInverted) ProtoMessage() {} func (x *SetInverted) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[35] + mi := &file_greptime_v1_ddl_proto_msgTypes[36] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2971,7 +3051,7 @@ func (x *SetInverted) ProtoReflect() protoreflect.Message { // Deprecated: Use SetInverted.ProtoReflect.Descriptor instead. func (*SetInverted) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{35} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{36} } func (x *SetInverted) GetColumnName() string { @@ -2992,7 +3072,7 @@ type UnsetInverted struct { func (x *UnsetInverted) Reset() { *x = UnsetInverted{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[36] + mi := &file_greptime_v1_ddl_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3005,7 +3085,7 @@ func (x *UnsetInverted) String() string { func (*UnsetInverted) ProtoMessage() {} func (x *UnsetInverted) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[36] + mi := &file_greptime_v1_ddl_proto_msgTypes[37] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3018,7 +3098,7 @@ func (x *UnsetInverted) ProtoReflect() protoreflect.Message { // Deprecated: Use UnsetInverted.ProtoReflect.Descriptor instead. func (*UnsetInverted) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{36} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{37} } func (x *UnsetInverted) GetColumnName() string { @@ -3043,7 +3123,7 @@ type SetSkipping struct { func (x *SetSkipping) Reset() { *x = SetSkipping{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[37] + mi := &file_greptime_v1_ddl_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3056,7 +3136,7 @@ func (x *SetSkipping) String() string { func (*SetSkipping) ProtoMessage() {} func (x *SetSkipping) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[37] + mi := &file_greptime_v1_ddl_proto_msgTypes[38] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3069,7 +3149,7 @@ func (x *SetSkipping) ProtoReflect() protoreflect.Message { // Deprecated: Use SetSkipping.ProtoReflect.Descriptor instead. func (*SetSkipping) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{37} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{38} } func (x *SetSkipping) GetColumnName() string { @@ -3118,7 +3198,7 @@ type UnsetSkipping struct { func (x *UnsetSkipping) Reset() { *x = UnsetSkipping{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[38] + mi := &file_greptime_v1_ddl_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3131,7 +3211,7 @@ func (x *UnsetSkipping) String() string { func (*UnsetSkipping) ProtoMessage() {} func (x *UnsetSkipping) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[38] + mi := &file_greptime_v1_ddl_proto_msgTypes[39] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3144,7 +3224,7 @@ func (x *UnsetSkipping) ProtoReflect() protoreflect.Message { // Deprecated: Use UnsetSkipping.ProtoReflect.Descriptor instead. func (*UnsetSkipping) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{38} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{39} } func (x *UnsetSkipping) GetColumnName() string { @@ -3171,7 +3251,7 @@ type AlterDatabaseExpr struct { func (x *AlterDatabaseExpr) Reset() { *x = AlterDatabaseExpr{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[39] + mi := &file_greptime_v1_ddl_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3184,7 +3264,7 @@ func (x *AlterDatabaseExpr) String() string { func (*AlterDatabaseExpr) ProtoMessage() {} func (x *AlterDatabaseExpr) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[39] + mi := &file_greptime_v1_ddl_proto_msgTypes[40] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3197,7 +3277,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{39} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{40} } func (x *AlterDatabaseExpr) GetCatalogName() string { @@ -3262,7 +3342,7 @@ type SetDatabaseOptions struct { func (x *SetDatabaseOptions) Reset() { *x = SetDatabaseOptions{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[40] + mi := &file_greptime_v1_ddl_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3275,7 +3355,7 @@ func (x *SetDatabaseOptions) String() string { func (*SetDatabaseOptions) ProtoMessage() {} func (x *SetDatabaseOptions) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[40] + mi := &file_greptime_v1_ddl_proto_msgTypes[41] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3288,7 +3368,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{40} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{41} } func (x *SetDatabaseOptions) GetSetDatabaseOptions() []*Option { @@ -3309,7 +3389,7 @@ type UnsetDatabaseOptions struct { func (x *UnsetDatabaseOptions) Reset() { *x = UnsetDatabaseOptions{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[41] + mi := &file_greptime_v1_ddl_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3322,7 +3402,7 @@ func (x *UnsetDatabaseOptions) String() string { func (*UnsetDatabaseOptions) ProtoMessage() {} func (x *UnsetDatabaseOptions) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[41] + mi := &file_greptime_v1_ddl_proto_msgTypes[42] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3335,7 +3415,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{41} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{42} } func (x *UnsetDatabaseOptions) GetKeys() []string { @@ -3380,7 +3460,7 @@ type CreateTriggerExpr struct { func (x *CreateTriggerExpr) Reset() { *x = CreateTriggerExpr{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[42] + mi := &file_greptime_v1_ddl_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3393,7 +3473,7 @@ func (x *CreateTriggerExpr) String() string { func (*CreateTriggerExpr) ProtoMessage() {} func (x *CreateTriggerExpr) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[42] + mi := &file_greptime_v1_ddl_proto_msgTypes[43] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3406,7 +3486,7 @@ func (x *CreateTriggerExpr) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateTriggerExpr.ProtoReflect.Descriptor instead. func (*CreateTriggerExpr) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{42} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{43} } func (x *CreateTriggerExpr) GetCatalogName() string { @@ -3516,7 +3596,7 @@ type NotifyChannel struct { func (x *NotifyChannel) Reset() { *x = NotifyChannel{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[43] + mi := &file_greptime_v1_ddl_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3529,7 +3609,7 @@ func (x *NotifyChannel) String() string { func (*NotifyChannel) ProtoMessage() {} func (x *NotifyChannel) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[43] + mi := &file_greptime_v1_ddl_proto_msgTypes[44] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3542,7 +3622,7 @@ func (x *NotifyChannel) ProtoReflect() protoreflect.Message { // Deprecated: Use NotifyChannel.ProtoReflect.Descriptor instead. func (*NotifyChannel) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{43} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{44} } func (x *NotifyChannel) GetName() string { @@ -3589,7 +3669,7 @@ type WebhookOptions struct { func (x *WebhookOptions) Reset() { *x = WebhookOptions{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[44] + mi := &file_greptime_v1_ddl_proto_msgTypes[45] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3602,7 +3682,7 @@ func (x *WebhookOptions) String() string { func (*WebhookOptions) ProtoMessage() {} func (x *WebhookOptions) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[44] + mi := &file_greptime_v1_ddl_proto_msgTypes[45] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3615,7 +3695,7 @@ func (x *WebhookOptions) ProtoReflect() protoreflect.Message { // Deprecated: Use WebhookOptions.ProtoReflect.Descriptor instead. func (*WebhookOptions) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{44} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{45} } func (x *WebhookOptions) GetUrl() string { @@ -3645,7 +3725,7 @@ type DropTriggerExpr struct { func (x *DropTriggerExpr) Reset() { *x = DropTriggerExpr{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[45] + mi := &file_greptime_v1_ddl_proto_msgTypes[46] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3658,7 +3738,7 @@ func (x *DropTriggerExpr) String() string { func (*DropTriggerExpr) ProtoMessage() {} func (x *DropTriggerExpr) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[45] + mi := &file_greptime_v1_ddl_proto_msgTypes[46] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3671,7 +3751,7 @@ func (x *DropTriggerExpr) ProtoReflect() protoreflect.Message { // Deprecated: Use DropTriggerExpr.ProtoReflect.Descriptor instead. func (*DropTriggerExpr) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{45} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{46} } func (x *DropTriggerExpr) GetCatalogName() string { @@ -3714,7 +3794,7 @@ type CommentOnExpr struct { func (x *CommentOnExpr) Reset() { *x = CommentOnExpr{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[46] + mi := &file_greptime_v1_ddl_proto_msgTypes[47] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3727,7 +3807,7 @@ func (x *CommentOnExpr) String() string { func (*CommentOnExpr) ProtoMessage() {} func (x *CommentOnExpr) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[46] + mi := &file_greptime_v1_ddl_proto_msgTypes[47] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3740,7 +3820,7 @@ func (x *CommentOnExpr) ProtoReflect() protoreflect.Message { // Deprecated: Use CommentOnExpr.ProtoReflect.Descriptor instead. func (*CommentOnExpr) Descriptor() ([]byte, []int) { - return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{46} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{47} } func (x *CommentOnExpr) GetCatalogName() string { @@ -3958,7 +4038,7 @@ var file_greptime_v1_ddl_proto_rawDesc = []byte{ 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, 0x96, 0x07, 0x0a, 0x0e, 0x41, 0x6c, 0x74, 0x65, 0x72, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xd4, 0x07, 0x0a, 0x0e, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, @@ -4015,383 +4095,396 @@ var file_greptime_v1_ddl_proto_rawDesc = []byte{ 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x65, 0x74, 0x44, - 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, - 0x2e, 0x0a, 0x0b, 0x44, 0x72, 0x6f, 0x70, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 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, - 0x44, 0x0a, 0x0a, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x36, 0x0a, - 0x0b, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, - 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, 0x52, 0x0a, 0x73, 0x65, 0x74, 0x49, 0x6e, - 0x64, 0x65, 0x78, 0x65, 0x73, 0x22, 0x4c, 0x0a, 0x0c, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, - 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x0d, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x5f, 0x69, - 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 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, 0x52, 0x0c, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, - 0x78, 0x65, 0x73, 0x22, 0x5c, 0x0a, 0x0a, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, - 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, 0x2d, 0x0a, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x63, 0x6f, - 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x11, - 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, - 0x74, 0x22, 0xbd, 0x01, 0x0a, 0x08, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x36, + 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x3c, 0x0a, 0x0b, 0x72, 0x65, 0x70, 0x61, 0x72, + 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, + 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x70, 0x61, 0x72, + 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0b, 0x72, 0x65, 0x70, 0x61, 0x72, 0x74, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0x2e, 0x0a, + 0x0b, 0x44, 0x72, 0x6f, 0x70, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 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, 0x44, 0x0a, + 0x0a, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x36, 0x0a, 0x0b, 0x73, + 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 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, 0x52, 0x0a, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, + 0x78, 0x65, 0x73, 0x22, 0x4c, 0x0a, 0x0c, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, + 0x78, 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x0d, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x64, + 0x65, 0x78, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 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, 0x52, 0x0c, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, + 0x73, 0x22, 0x5c, 0x0a, 0x0a, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 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, 0x2d, 0x0a, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x73, + 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x11, 0x64, 0x65, + 0x66, 0x61, 0x75, 0x6c, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x22, + 0xbd, 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, 0x12, 0x36, 0x0a, 0x08, + 0x73, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, + 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, + 0x53, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x48, 0x00, 0x52, 0x08, 0x73, 0x6b, 0x69, 0x70, + 0x70, 0x69, 0x6e, 0x67, 0x42, 0x09, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, + 0xc5, 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, 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, 0x12, 0x36, - 0x0a, 0x08, 0x73, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x18, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, - 0x65, 0x74, 0x53, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x48, 0x00, 0x52, 0x08, 0x73, 0x6b, - 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x42, 0x09, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x22, 0xc5, 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, 0x12, 0x38, 0x0a, 0x08, 0x73, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x53, 0x6b, 0x69, 0x70, 0x70, 0x69, - 0x6e, 0x67, 0x48, 0x00, 0x52, 0x08, 0x73, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 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, + 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, 0x12, 0x38, 0x0a, 0x08, 0x73, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x53, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, + 0x48, 0x00, 0x52, 0x08, 0x73, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x42, 0x09, 0x0a, 0x07, + 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x85, 0x01, 0x0a, 0x0b, 0x52, 0x65, 0x70, 0x61, + 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x30, 0x0a, 0x14, 0x66, 0x72, 0x6f, 0x6d, 0x5f, + 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x12, 0x66, 0x72, 0x6f, 0x6d, 0x50, 0x61, 0x72, 0x74, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x70, 0x72, 0x73, 0x12, 0x30, 0x0a, 0x14, 0x69, 0x6e, 0x74, + 0x6f, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x78, 0x70, 0x72, + 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x12, 0x69, 0x6e, 0x74, 0x6f, 0x50, 0x61, 0x72, + 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x70, 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x77, + 0x61, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x77, 0x61, 0x69, 0x74, 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, 0xe1, 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, 0x12, 0x38, 0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x72, 0x61, + 0x6e, 0x67, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, + 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x6e, + 0x67, 0x65, 0x73, 0x52, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x73, 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, 0x4d, 0x0a, 0x0c, 0x44, 0x72, 0x6f, 0x70, 0x44, 0x65, 0x66, 0x61, + 0x75, 0x6c, 0x74, 0x73, 0x12, 0x3d, 0x0a, 0x0d, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x64, 0x65, 0x66, + 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, + 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x44, 0x65, + 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x44, 0x65, 0x66, 0x61, 0x75, + 0x6c, 0x74, 0x73, 0x22, 0x49, 0x0a, 0x0b, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, + 0x74, 0x73, 0x12, 0x3a, 0x0a, 0x0c, 0x73, 0x65, 0x74, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, + 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, + 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, + 0x74, 0x52, 0x0b, 0x73, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 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, 0xaa, 0x02, 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, 0x12, 0x36, 0x0a, 0x07, 0x62, 0x61, 0x63, + 0x6b, 0x65, 0x6e, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x67, 0x72, 0x65, + 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, + 0x74, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x52, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, + 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x67, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x67, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, + 0x69, 0x74, 0x79, 0x12, 0x2e, 0x0a, 0x13, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x5f, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x01, + 0x52, 0x11, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x52, + 0x61, 0x74, 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, 0xe8, 0x01, 0x0a, 0x0b, 0x53, 0x65, 0x74, 0x53, + 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 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, 0x20, 0x0a, 0x0b, 0x67, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x67, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, + 0x74, 0x79, 0x12, 0x4e, 0x0a, 0x13, 0x73, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x69, + 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6b, + 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x11, 0x73, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x5f, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x69, 0x76, 0x65, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, + 0x11, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x52, 0x61, + 0x74, 0x65, 0x22, 0x30, 0x0a, 0x0d, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x53, 0x6b, 0x69, 0x70, 0x70, + 0x69, 0x6e, 0x67, 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, 0x22, + 0x93, 0x06, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, + 0x72, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, + 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x72, 0x69, 0x67, + 0x67, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, + 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 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, 0x10, 0x0a, 0x03, + 0x73, 0x71, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x71, 0x6c, 0x12, 0x36, + 0x0a, 0x08, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x08, 0x63, 0x68, + 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x12, 0x42, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, + 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x69, 0x67, 0x67, + 0x65, 0x72, 0x45, 0x78, 0x70, 0x72, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x51, 0x0a, 0x0b, 0x61, 0x6e, + 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x2f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x45, 0x78, 0x70, 0x72, 0x2e, + 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x35, 0x0a, + 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, + 0x72, 0x76, 0x61, 0x6c, 0x12, 0x2a, 0x0a, 0x11, 0x72, 0x61, 0x77, 0x5f, 0x69, 0x6e, 0x74, 0x65, + 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0f, 0x72, 0x61, 0x77, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x45, 0x78, 0x70, 0x72, + 0x12, 0x2b, 0x0a, 0x03, 0x66, 0x6f, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x03, 0x66, 0x6f, 0x72, 0x12, 0x20, 0x0a, + 0x0c, 0x66, 0x6f, 0x72, 0x5f, 0x72, 0x61, 0x77, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x18, 0x0b, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x6f, 0x72, 0x52, 0x61, 0x77, 0x45, 0x78, 0x70, 0x72, 0x12, + 0x41, 0x0a, 0x0f, 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x66, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x66, + 0x6f, 0x72, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x6b, 0x65, 0x65, 0x70, 0x46, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x46, + 0x6f, 0x72, 0x12, 0x36, 0x0a, 0x18, 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x66, 0x69, 0x72, 0x69, 0x6e, + 0x67, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x72, 0x61, 0x77, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x6b, 0x65, 0x65, 0x70, 0x46, 0x69, 0x72, 0x69, 0x6e, 0x67, + 0x46, 0x6f, 0x72, 0x52, 0x61, 0x77, 0x45, 0x78, 0x70, 0x72, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, + 0x62, 0x65, 0x6c, 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, 0x1a, 0x3e, 0x0a, 0x10, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 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, 0xe1, 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, 0x12, - 0x38, 0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x52, 0x0a, 0x74, - 0x69, 0x6d, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x73, 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, 0x4d, - 0x0a, 0x0c, 0x44, 0x72, 0x6f, 0x70, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x3d, - 0x0a, 0x0d, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, - 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x22, 0x49, 0x0a, - 0x0b, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x3a, 0x0a, 0x0c, - 0x73, 0x65, 0x74, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x0b, 0x73, 0x65, 0x74, - 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 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, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x6c, 0x0a, 0x0d, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x43, + 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x07, 0x77, 0x65, + 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, + 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, + 0x6b, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x07, 0x77, 0x65, 0x62, 0x68, + 0x6f, 0x6f, 0x6b, 0x42, 0x0e, 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x22, 0x96, 0x01, 0x0a, 0x0e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x39, 0x0a, 0x04, 0x6f, 0x70, 0x74, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x6f, + 0x70, 0x74, 0x73, 0x1a, 0x37, 0x0a, 0x09, 0x4f, 0x70, 0x74, 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, 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, 0xaa, 0x02, 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, 0x12, 0x36, 0x0a, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x46, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x65, - 0x6e, 0x64, 0x52, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x67, - 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x0b, 0x67, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x12, 0x2e, 0x0a, - 0x13, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, - 0x72, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x01, 0x52, 0x11, 0x66, 0x61, 0x6c, 0x73, - 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x52, 0x61, 0x74, 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, 0xe8, 0x01, 0x0a, 0x0b, 0x53, 0x65, 0x74, 0x53, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, - 0x67, 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, 0x20, 0x0a, 0x0b, 0x67, 0x72, - 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x0b, 0x67, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x12, 0x4e, 0x0a, 0x13, - 0x73, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x74, - 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, - 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, - 0x49, 0x6e, 0x64, 0x65, 0x78, 0x54, 0x79, 0x70, 0x65, 0x52, 0x11, 0x73, 0x6b, 0x69, 0x70, 0x70, - 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2e, 0x0a, 0x13, - 0x66, 0x61, 0x6c, 0x73, 0x65, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x72, - 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, 0x11, 0x66, 0x61, 0x6c, 0x73, 0x65, - 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x52, 0x61, 0x74, 0x65, 0x22, 0x30, 0x0a, 0x0d, - 0x55, 0x6e, 0x73, 0x65, 0x74, 0x53, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 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, 0x22, 0x93, 0x06, 0x0a, 0x11, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x45, 0x78, 0x70, 0x72, 0x12, + 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x7d, 0x0a, 0x0f, + 0x44, 0x72, 0x6f, 0x70, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, - 0x72, 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, 0x10, 0x0a, 0x03, 0x73, 0x71, 0x6c, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x71, 0x6c, 0x12, 0x36, 0x0a, 0x08, 0x63, 0x68, 0x61, 0x6e, - 0x6e, 0x65, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x65, - 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x43, - 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x08, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, - 0x12, 0x42, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x2a, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x45, 0x78, 0x70, 0x72, - 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, - 0x62, 0x65, 0x6c, 0x73, 0x12, 0x51, 0x0a, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x72, 0x65, 0x70, - 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, - 0x69, 0x67, 0x67, 0x65, 0x72, 0x45, 0x78, 0x70, 0x72, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, - 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x35, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, - 0x76, 0x61, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x2a, - 0x0a, 0x11, 0x72, 0x61, 0x77, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x65, - 0x78, 0x70, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x61, 0x77, 0x49, 0x6e, - 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x45, 0x78, 0x70, 0x72, 0x12, 0x2b, 0x0a, 0x03, 0x66, 0x6f, - 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x03, 0x66, 0x6f, 0x72, 0x12, 0x20, 0x0a, 0x0c, 0x66, 0x6f, 0x72, 0x5f, 0x72, - 0x61, 0x77, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, - 0x6f, 0x72, 0x52, 0x61, 0x77, 0x45, 0x78, 0x70, 0x72, 0x12, 0x41, 0x0a, 0x0f, 0x6b, 0x65, 0x65, - 0x70, 0x5f, 0x66, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x6f, 0x72, 0x18, 0x0c, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x6b, - 0x65, 0x65, 0x70, 0x46, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x12, 0x36, 0x0a, 0x18, - 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x66, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x6f, 0x72, 0x5f, - 0x72, 0x61, 0x77, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, - 0x6b, 0x65, 0x65, 0x70, 0x46, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x52, 0x61, 0x77, - 0x45, 0x78, 0x70, 0x72, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 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, 0x1a, - 0x3e, 0x0a, 0x10, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 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, - 0x6c, 0x0a, 0x0d, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, - 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x4f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x48, 0x00, 0x52, 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x42, 0x0e, 0x0a, - 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0x96, 0x01, - 0x0a, 0x0e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, - 0x72, 0x6c, 0x12, 0x39, 0x0a, 0x04, 0x6f, 0x70, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x25, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x57, - 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70, - 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x6f, 0x70, 0x74, 0x73, 0x1a, 0x37, 0x0a, - 0x09, 0x4f, 0x70, 0x74, 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, 0x7d, 0x0a, 0x0f, 0x44, 0x72, 0x6f, 0x70, 0x54, 0x72, - 0x69, 0x67, 0x67, 0x65, 0x72, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, - 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, - 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0b, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 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, 0xf0, 0x01, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, - 0x74, 0x4f, 0x6e, 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, 0x3f, 0x0a, 0x0b, 0x6f, - 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, - 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, - 0x52, 0x0a, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, - 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0a, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, - 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 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, 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, 0x2a, 0x29, - 0x0a, 0x0f, 0x46, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, - 0x64, 0x12, 0x0b, 0x0a, 0x07, 0x54, 0x41, 0x4e, 0x54, 0x49, 0x56, 0x59, 0x10, 0x00, 0x12, 0x09, - 0x0a, 0x05, 0x42, 0x4c, 0x4f, 0x4f, 0x4d, 0x10, 0x01, 0x2a, 0x25, 0x0a, 0x11, 0x53, 0x6b, 0x69, - 0x70, 0x70, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, - 0x0a, 0x0c, 0x42, 0x4c, 0x4f, 0x4f, 0x4d, 0x5f, 0x46, 0x49, 0x4c, 0x54, 0x45, 0x52, 0x10, 0x00, - 0x2a, 0x34, 0x0a, 0x11, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x62, 0x6a, 0x65, 0x63, - 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x09, 0x0a, 0x05, 0x54, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x00, - 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x4c, 0x55, 0x4d, 0x4e, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, - 0x46, 0x4c, 0x4f, 0x57, 0x10, 0x02, 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, + 0x72, 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, 0xf0, 0x01, 0x0a, 0x0d, + 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x6e, 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, 0x3f, 0x0a, 0x0b, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x62, 0x6a, 0x65, + 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4e, + 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, + 0x4e, 0x61, 0x6d, 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, 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, 0x2a, 0x29, 0x0a, 0x0f, 0x46, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, + 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x12, 0x0b, 0x0a, 0x07, 0x54, 0x41, 0x4e, 0x54, 0x49, + 0x56, 0x59, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x42, 0x4c, 0x4f, 0x4f, 0x4d, 0x10, 0x01, 0x2a, + 0x25, 0x0a, 0x11, 0x53, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x64, 0x65, 0x78, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x42, 0x4c, 0x4f, 0x4f, 0x4d, 0x5f, 0x46, 0x49, + 0x4c, 0x54, 0x45, 0x52, 0x10, 0x00, 0x2a, 0x34, 0x0a, 0x11, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, + 0x74, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x09, 0x0a, 0x05, 0x54, + 0x41, 0x42, 0x4c, 0x45, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x4c, 0x55, 0x4d, 0x4e, + 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x46, 0x4c, 0x4f, 0x57, 0x10, 0x02, 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 ( @@ -4407,7 +4500,7 @@ func file_greptime_v1_ddl_proto_rawDescGZIP() []byte { } var file_greptime_v1_ddl_proto_enumTypes = make([]protoimpl.EnumInfo, 5) -var file_greptime_v1_ddl_proto_msgTypes = make([]protoimpl.MessageInfo, 53) +var file_greptime_v1_ddl_proto_msgTypes = make([]protoimpl.MessageInfo, 54) var file_greptime_v1_ddl_proto_goTypes = []interface{}{ (Analyzer)(0), // 0: greptime.v1.Analyzer (FulltextBackend)(0), // 1: greptime.v1.FulltextBackend @@ -4427,138 +4520,140 @@ var file_greptime_v1_ddl_proto_goTypes = []interface{}{ (*SetDefault)(nil), // 15: greptime.v1.SetDefault (*SetIndex)(nil), // 16: greptime.v1.SetIndex (*UnsetIndex)(nil), // 17: greptime.v1.UnsetIndex - (*DropTableExpr)(nil), // 18: greptime.v1.DropTableExpr - (*CreateDatabaseExpr)(nil), // 19: greptime.v1.CreateDatabaseExpr - (*TruncateTableExpr)(nil), // 20: greptime.v1.TruncateTableExpr - (*DropDatabaseExpr)(nil), // 21: greptime.v1.DropDatabaseExpr - (*AddColumns)(nil), // 22: greptime.v1.AddColumns - (*DropDefaults)(nil), // 23: greptime.v1.DropDefaults - (*SetDefaults)(nil), // 24: greptime.v1.SetDefaults - (*DropColumns)(nil), // 25: greptime.v1.DropColumns - (*ModifyColumnTypes)(nil), // 26: greptime.v1.ModifyColumnTypes - (*RenameTable)(nil), // 27: greptime.v1.RenameTable - (*AddColumn)(nil), // 28: greptime.v1.AddColumn - (*ModifyColumnType)(nil), // 29: greptime.v1.ModifyColumnType - (*Option)(nil), // 30: greptime.v1.Option - (*SetTableOptions)(nil), // 31: greptime.v1.SetTableOptions - (*UnsetTableOptions)(nil), // 32: greptime.v1.UnsetTableOptions - (*DropColumn)(nil), // 33: greptime.v1.DropColumn - (*TableId)(nil), // 34: greptime.v1.TableId - (*FlowId)(nil), // 35: greptime.v1.FlowId - (*ColumnDef)(nil), // 36: greptime.v1.ColumnDef - (*AddColumnLocation)(nil), // 37: greptime.v1.AddColumnLocation - (*SetFulltext)(nil), // 38: greptime.v1.SetFulltext - (*UnsetFulltext)(nil), // 39: greptime.v1.UnsetFulltext - (*SetInverted)(nil), // 40: greptime.v1.SetInverted - (*UnsetInverted)(nil), // 41: greptime.v1.UnsetInverted - (*SetSkipping)(nil), // 42: greptime.v1.SetSkipping - (*UnsetSkipping)(nil), // 43: greptime.v1.UnsetSkipping - (*AlterDatabaseExpr)(nil), // 44: greptime.v1.AlterDatabaseExpr - (*SetDatabaseOptions)(nil), // 45: greptime.v1.SetDatabaseOptions - (*UnsetDatabaseOptions)(nil), // 46: greptime.v1.UnsetDatabaseOptions - (*CreateTriggerExpr)(nil), // 47: greptime.v1.CreateTriggerExpr - (*NotifyChannel)(nil), // 48: greptime.v1.NotifyChannel - (*WebhookOptions)(nil), // 49: greptime.v1.WebhookOptions - (*DropTriggerExpr)(nil), // 50: greptime.v1.DropTriggerExpr - (*CommentOnExpr)(nil), // 51: greptime.v1.CommentOnExpr - nil, // 52: greptime.v1.CreateFlowExpr.FlowOptionsEntry - nil, // 53: greptime.v1.CreateTableExpr.TableOptionsEntry - nil, // 54: greptime.v1.CreateDatabaseExpr.OptionsEntry - nil, // 55: greptime.v1.CreateTriggerExpr.LabelsEntry - nil, // 56: greptime.v1.CreateTriggerExpr.AnnotationsEntry - nil, // 57: greptime.v1.WebhookOptions.OptsEntry - (*TableName)(nil), // 58: greptime.v1.TableName - (*ExpireAfter)(nil), // 59: greptime.v1.ExpireAfter - (*EvalInterval)(nil), // 60: greptime.v1.EvalInterval - (*TimeRanges)(nil), // 61: greptime.v1.TimeRanges - (ColumnDataType)(0), // 62: greptime.v1.ColumnDataType - (*ColumnDataTypeExtension)(nil), // 63: greptime.v1.ColumnDataTypeExtension - (SemanticType)(0), // 64: greptime.v1.SemanticType - (*ColumnOptions)(nil), // 65: greptime.v1.ColumnOptions - (*durationpb.Duration)(nil), // 66: google.protobuf.Duration + (*Repartition)(nil), // 18: greptime.v1.Repartition + (*DropTableExpr)(nil), // 19: greptime.v1.DropTableExpr + (*CreateDatabaseExpr)(nil), // 20: greptime.v1.CreateDatabaseExpr + (*TruncateTableExpr)(nil), // 21: greptime.v1.TruncateTableExpr + (*DropDatabaseExpr)(nil), // 22: greptime.v1.DropDatabaseExpr + (*AddColumns)(nil), // 23: greptime.v1.AddColumns + (*DropDefaults)(nil), // 24: greptime.v1.DropDefaults + (*SetDefaults)(nil), // 25: greptime.v1.SetDefaults + (*DropColumns)(nil), // 26: greptime.v1.DropColumns + (*ModifyColumnTypes)(nil), // 27: greptime.v1.ModifyColumnTypes + (*RenameTable)(nil), // 28: greptime.v1.RenameTable + (*AddColumn)(nil), // 29: greptime.v1.AddColumn + (*ModifyColumnType)(nil), // 30: greptime.v1.ModifyColumnType + (*Option)(nil), // 31: greptime.v1.Option + (*SetTableOptions)(nil), // 32: greptime.v1.SetTableOptions + (*UnsetTableOptions)(nil), // 33: greptime.v1.UnsetTableOptions + (*DropColumn)(nil), // 34: greptime.v1.DropColumn + (*TableId)(nil), // 35: greptime.v1.TableId + (*FlowId)(nil), // 36: greptime.v1.FlowId + (*ColumnDef)(nil), // 37: greptime.v1.ColumnDef + (*AddColumnLocation)(nil), // 38: greptime.v1.AddColumnLocation + (*SetFulltext)(nil), // 39: greptime.v1.SetFulltext + (*UnsetFulltext)(nil), // 40: greptime.v1.UnsetFulltext + (*SetInverted)(nil), // 41: greptime.v1.SetInverted + (*UnsetInverted)(nil), // 42: greptime.v1.UnsetInverted + (*SetSkipping)(nil), // 43: greptime.v1.SetSkipping + (*UnsetSkipping)(nil), // 44: greptime.v1.UnsetSkipping + (*AlterDatabaseExpr)(nil), // 45: greptime.v1.AlterDatabaseExpr + (*SetDatabaseOptions)(nil), // 46: greptime.v1.SetDatabaseOptions + (*UnsetDatabaseOptions)(nil), // 47: greptime.v1.UnsetDatabaseOptions + (*CreateTriggerExpr)(nil), // 48: greptime.v1.CreateTriggerExpr + (*NotifyChannel)(nil), // 49: greptime.v1.NotifyChannel + (*WebhookOptions)(nil), // 50: greptime.v1.WebhookOptions + (*DropTriggerExpr)(nil), // 51: greptime.v1.DropTriggerExpr + (*CommentOnExpr)(nil), // 52: greptime.v1.CommentOnExpr + nil, // 53: greptime.v1.CreateFlowExpr.FlowOptionsEntry + nil, // 54: greptime.v1.CreateTableExpr.TableOptionsEntry + nil, // 55: greptime.v1.CreateDatabaseExpr.OptionsEntry + nil, // 56: greptime.v1.CreateTriggerExpr.LabelsEntry + nil, // 57: greptime.v1.CreateTriggerExpr.AnnotationsEntry + nil, // 58: greptime.v1.WebhookOptions.OptsEntry + (*TableName)(nil), // 59: greptime.v1.TableName + (*ExpireAfter)(nil), // 60: greptime.v1.ExpireAfter + (*EvalInterval)(nil), // 61: greptime.v1.EvalInterval + (*TimeRanges)(nil), // 62: greptime.v1.TimeRanges + (ColumnDataType)(0), // 63: greptime.v1.ColumnDataType + (*ColumnDataTypeExtension)(nil), // 64: greptime.v1.ColumnDataTypeExtension + (SemanticType)(0), // 65: greptime.v1.SemanticType + (*ColumnOptions)(nil), // 66: greptime.v1.ColumnOptions + (*durationpb.Duration)(nil), // 67: google.protobuf.Duration } var file_greptime_v1_ddl_proto_depIdxs = []int32{ - 19, // 0: greptime.v1.DdlRequest.create_database:type_name -> greptime.v1.CreateDatabaseExpr + 20, // 0: greptime.v1.DdlRequest.create_database:type_name -> greptime.v1.CreateDatabaseExpr 10, // 1: greptime.v1.DdlRequest.create_table:type_name -> greptime.v1.CreateTableExpr 11, // 2: greptime.v1.DdlRequest.alter_table:type_name -> greptime.v1.AlterTableExpr - 18, // 3: greptime.v1.DdlRequest.drop_table:type_name -> greptime.v1.DropTableExpr - 20, // 4: greptime.v1.DdlRequest.truncate_table:type_name -> greptime.v1.TruncateTableExpr + 19, // 3: greptime.v1.DdlRequest.drop_table:type_name -> greptime.v1.DropTableExpr + 21, // 4: greptime.v1.DdlRequest.truncate_table:type_name -> greptime.v1.TruncateTableExpr 6, // 5: greptime.v1.DdlRequest.create_flow:type_name -> greptime.v1.CreateFlowExpr 7, // 6: greptime.v1.DdlRequest.drop_flow:type_name -> greptime.v1.DropFlowExpr 8, // 7: greptime.v1.DdlRequest.create_view:type_name -> greptime.v1.CreateViewExpr 9, // 8: greptime.v1.DdlRequest.drop_view:type_name -> greptime.v1.DropViewExpr - 44, // 9: greptime.v1.DdlRequest.alter_database:type_name -> greptime.v1.AlterDatabaseExpr - 51, // 10: greptime.v1.DdlRequest.comment_on:type_name -> greptime.v1.CommentOnExpr - 58, // 11: greptime.v1.CreateFlowExpr.source_table_names:type_name -> greptime.v1.TableName - 58, // 12: greptime.v1.CreateFlowExpr.sink_table_name:type_name -> greptime.v1.TableName - 59, // 13: greptime.v1.CreateFlowExpr.expire_after:type_name -> greptime.v1.ExpireAfter - 60, // 14: greptime.v1.CreateFlowExpr.eval_interval:type_name -> greptime.v1.EvalInterval - 52, // 15: greptime.v1.CreateFlowExpr.flow_options:type_name -> greptime.v1.CreateFlowExpr.FlowOptionsEntry - 35, // 16: greptime.v1.DropFlowExpr.flow_id:type_name -> greptime.v1.FlowId - 58, // 17: greptime.v1.CreateViewExpr.table_names:type_name -> greptime.v1.TableName - 34, // 18: greptime.v1.DropViewExpr.view_id:type_name -> greptime.v1.TableId - 36, // 19: greptime.v1.CreateTableExpr.column_defs:type_name -> greptime.v1.ColumnDef - 53, // 20: greptime.v1.CreateTableExpr.table_options:type_name -> greptime.v1.CreateTableExpr.TableOptionsEntry - 34, // 21: greptime.v1.CreateTableExpr.table_id:type_name -> greptime.v1.TableId - 22, // 22: greptime.v1.AlterTableExpr.add_columns:type_name -> greptime.v1.AddColumns - 25, // 23: greptime.v1.AlterTableExpr.drop_columns:type_name -> greptime.v1.DropColumns - 27, // 24: greptime.v1.AlterTableExpr.rename_table:type_name -> greptime.v1.RenameTable - 26, // 25: greptime.v1.AlterTableExpr.modify_column_types:type_name -> greptime.v1.ModifyColumnTypes - 31, // 26: greptime.v1.AlterTableExpr.set_table_options:type_name -> greptime.v1.SetTableOptions - 32, // 27: greptime.v1.AlterTableExpr.unset_table_options:type_name -> greptime.v1.UnsetTableOptions + 45, // 9: greptime.v1.DdlRequest.alter_database:type_name -> greptime.v1.AlterDatabaseExpr + 52, // 10: greptime.v1.DdlRequest.comment_on:type_name -> greptime.v1.CommentOnExpr + 59, // 11: greptime.v1.CreateFlowExpr.source_table_names:type_name -> greptime.v1.TableName + 59, // 12: greptime.v1.CreateFlowExpr.sink_table_name:type_name -> greptime.v1.TableName + 60, // 13: greptime.v1.CreateFlowExpr.expire_after:type_name -> greptime.v1.ExpireAfter + 61, // 14: greptime.v1.CreateFlowExpr.eval_interval:type_name -> greptime.v1.EvalInterval + 53, // 15: greptime.v1.CreateFlowExpr.flow_options:type_name -> greptime.v1.CreateFlowExpr.FlowOptionsEntry + 36, // 16: greptime.v1.DropFlowExpr.flow_id:type_name -> greptime.v1.FlowId + 59, // 17: greptime.v1.CreateViewExpr.table_names:type_name -> greptime.v1.TableName + 35, // 18: greptime.v1.DropViewExpr.view_id:type_name -> greptime.v1.TableId + 37, // 19: greptime.v1.CreateTableExpr.column_defs:type_name -> greptime.v1.ColumnDef + 54, // 20: greptime.v1.CreateTableExpr.table_options:type_name -> greptime.v1.CreateTableExpr.TableOptionsEntry + 35, // 21: greptime.v1.CreateTableExpr.table_id:type_name -> greptime.v1.TableId + 23, // 22: greptime.v1.AlterTableExpr.add_columns:type_name -> greptime.v1.AddColumns + 26, // 23: greptime.v1.AlterTableExpr.drop_columns:type_name -> greptime.v1.DropColumns + 28, // 24: greptime.v1.AlterTableExpr.rename_table:type_name -> greptime.v1.RenameTable + 27, // 25: greptime.v1.AlterTableExpr.modify_column_types:type_name -> greptime.v1.ModifyColumnTypes + 32, // 26: greptime.v1.AlterTableExpr.set_table_options:type_name -> greptime.v1.SetTableOptions + 33, // 27: greptime.v1.AlterTableExpr.unset_table_options:type_name -> greptime.v1.UnsetTableOptions 16, // 28: greptime.v1.AlterTableExpr.set_index:type_name -> greptime.v1.SetIndex 17, // 29: greptime.v1.AlterTableExpr.unset_index:type_name -> greptime.v1.UnsetIndex - 23, // 30: greptime.v1.AlterTableExpr.drop_defaults:type_name -> greptime.v1.DropDefaults + 24, // 30: greptime.v1.AlterTableExpr.drop_defaults:type_name -> greptime.v1.DropDefaults 13, // 31: greptime.v1.AlterTableExpr.set_indexes:type_name -> greptime.v1.SetIndexes 14, // 32: greptime.v1.AlterTableExpr.unset_indexes:type_name -> greptime.v1.UnsetIndexes - 24, // 33: greptime.v1.AlterTableExpr.set_defaults:type_name -> greptime.v1.SetDefaults - 16, // 34: greptime.v1.SetIndexes.set_indexes:type_name -> greptime.v1.SetIndex - 17, // 35: greptime.v1.UnsetIndexes.unset_indexes:type_name -> greptime.v1.UnsetIndex - 38, // 36: greptime.v1.SetIndex.fulltext:type_name -> greptime.v1.SetFulltext - 40, // 37: greptime.v1.SetIndex.inverted:type_name -> greptime.v1.SetInverted - 42, // 38: greptime.v1.SetIndex.skipping:type_name -> greptime.v1.SetSkipping - 39, // 39: greptime.v1.UnsetIndex.fulltext:type_name -> greptime.v1.UnsetFulltext - 41, // 40: greptime.v1.UnsetIndex.inverted:type_name -> greptime.v1.UnsetInverted - 43, // 41: greptime.v1.UnsetIndex.skipping:type_name -> greptime.v1.UnsetSkipping - 34, // 42: greptime.v1.DropTableExpr.table_id:type_name -> greptime.v1.TableId - 54, // 43: greptime.v1.CreateDatabaseExpr.options:type_name -> greptime.v1.CreateDatabaseExpr.OptionsEntry - 34, // 44: greptime.v1.TruncateTableExpr.table_id:type_name -> greptime.v1.TableId - 61, // 45: greptime.v1.TruncateTableExpr.time_ranges:type_name -> greptime.v1.TimeRanges - 28, // 46: greptime.v1.AddColumns.add_columns:type_name -> greptime.v1.AddColumn - 12, // 47: greptime.v1.DropDefaults.drop_defaults:type_name -> greptime.v1.DropDefault - 15, // 48: greptime.v1.SetDefaults.set_defaults:type_name -> greptime.v1.SetDefault - 33, // 49: greptime.v1.DropColumns.drop_columns:type_name -> greptime.v1.DropColumn - 29, // 50: greptime.v1.ModifyColumnTypes.modify_column_types:type_name -> greptime.v1.ModifyColumnType - 36, // 51: greptime.v1.AddColumn.column_def:type_name -> greptime.v1.ColumnDef - 37, // 52: greptime.v1.AddColumn.location:type_name -> greptime.v1.AddColumnLocation - 62, // 53: greptime.v1.ModifyColumnType.target_type:type_name -> greptime.v1.ColumnDataType - 63, // 54: greptime.v1.ModifyColumnType.target_type_extension:type_name -> greptime.v1.ColumnDataTypeExtension - 30, // 55: greptime.v1.SetTableOptions.table_options:type_name -> greptime.v1.Option - 62, // 56: greptime.v1.ColumnDef.data_type:type_name -> greptime.v1.ColumnDataType - 64, // 57: greptime.v1.ColumnDef.semantic_type:type_name -> greptime.v1.SemanticType - 63, // 58: greptime.v1.ColumnDef.datatype_extension:type_name -> greptime.v1.ColumnDataTypeExtension - 65, // 59: greptime.v1.ColumnDef.options:type_name -> greptime.v1.ColumnOptions - 4, // 60: greptime.v1.AddColumnLocation.location_type:type_name -> greptime.v1.AddColumnLocation.LocationType - 0, // 61: greptime.v1.SetFulltext.analyzer:type_name -> greptime.v1.Analyzer - 1, // 62: greptime.v1.SetFulltext.backend:type_name -> greptime.v1.FulltextBackend - 2, // 63: greptime.v1.SetSkipping.skipping_index_type:type_name -> greptime.v1.SkippingIndexType - 45, // 64: greptime.v1.AlterDatabaseExpr.set_database_options:type_name -> greptime.v1.SetDatabaseOptions - 46, // 65: greptime.v1.AlterDatabaseExpr.unset_database_options:type_name -> greptime.v1.UnsetDatabaseOptions - 30, // 66: greptime.v1.SetDatabaseOptions.set_database_options:type_name -> greptime.v1.Option - 48, // 67: greptime.v1.CreateTriggerExpr.channels:type_name -> greptime.v1.NotifyChannel - 55, // 68: greptime.v1.CreateTriggerExpr.labels:type_name -> greptime.v1.CreateTriggerExpr.LabelsEntry - 56, // 69: greptime.v1.CreateTriggerExpr.annotations:type_name -> greptime.v1.CreateTriggerExpr.AnnotationsEntry - 66, // 70: greptime.v1.CreateTriggerExpr.interval:type_name -> google.protobuf.Duration - 66, // 71: greptime.v1.CreateTriggerExpr.for:type_name -> google.protobuf.Duration - 66, // 72: greptime.v1.CreateTriggerExpr.keep_firing_for:type_name -> google.protobuf.Duration - 49, // 73: greptime.v1.NotifyChannel.webhook:type_name -> greptime.v1.WebhookOptions - 57, // 74: greptime.v1.WebhookOptions.opts:type_name -> greptime.v1.WebhookOptions.OptsEntry - 3, // 75: greptime.v1.CommentOnExpr.object_type:type_name -> greptime.v1.CommentObjectType - 76, // [76:76] is the sub-list for method output_type - 76, // [76:76] is the sub-list for method input_type - 76, // [76:76] is the sub-list for extension type_name - 76, // [76:76] is the sub-list for extension extendee - 0, // [0:76] is the sub-list for field type_name + 25, // 33: greptime.v1.AlterTableExpr.set_defaults:type_name -> greptime.v1.SetDefaults + 18, // 34: greptime.v1.AlterTableExpr.repartition:type_name -> greptime.v1.Repartition + 16, // 35: greptime.v1.SetIndexes.set_indexes:type_name -> greptime.v1.SetIndex + 17, // 36: greptime.v1.UnsetIndexes.unset_indexes:type_name -> greptime.v1.UnsetIndex + 39, // 37: greptime.v1.SetIndex.fulltext:type_name -> greptime.v1.SetFulltext + 41, // 38: greptime.v1.SetIndex.inverted:type_name -> greptime.v1.SetInverted + 43, // 39: greptime.v1.SetIndex.skipping:type_name -> greptime.v1.SetSkipping + 40, // 40: greptime.v1.UnsetIndex.fulltext:type_name -> greptime.v1.UnsetFulltext + 42, // 41: greptime.v1.UnsetIndex.inverted:type_name -> greptime.v1.UnsetInverted + 44, // 42: greptime.v1.UnsetIndex.skipping:type_name -> greptime.v1.UnsetSkipping + 35, // 43: greptime.v1.DropTableExpr.table_id:type_name -> greptime.v1.TableId + 55, // 44: greptime.v1.CreateDatabaseExpr.options:type_name -> greptime.v1.CreateDatabaseExpr.OptionsEntry + 35, // 45: greptime.v1.TruncateTableExpr.table_id:type_name -> greptime.v1.TableId + 62, // 46: greptime.v1.TruncateTableExpr.time_ranges:type_name -> greptime.v1.TimeRanges + 29, // 47: greptime.v1.AddColumns.add_columns:type_name -> greptime.v1.AddColumn + 12, // 48: greptime.v1.DropDefaults.drop_defaults:type_name -> greptime.v1.DropDefault + 15, // 49: greptime.v1.SetDefaults.set_defaults:type_name -> greptime.v1.SetDefault + 34, // 50: greptime.v1.DropColumns.drop_columns:type_name -> greptime.v1.DropColumn + 30, // 51: greptime.v1.ModifyColumnTypes.modify_column_types:type_name -> greptime.v1.ModifyColumnType + 37, // 52: greptime.v1.AddColumn.column_def:type_name -> greptime.v1.ColumnDef + 38, // 53: greptime.v1.AddColumn.location:type_name -> greptime.v1.AddColumnLocation + 63, // 54: greptime.v1.ModifyColumnType.target_type:type_name -> greptime.v1.ColumnDataType + 64, // 55: greptime.v1.ModifyColumnType.target_type_extension:type_name -> greptime.v1.ColumnDataTypeExtension + 31, // 56: greptime.v1.SetTableOptions.table_options:type_name -> greptime.v1.Option + 63, // 57: greptime.v1.ColumnDef.data_type:type_name -> greptime.v1.ColumnDataType + 65, // 58: greptime.v1.ColumnDef.semantic_type:type_name -> greptime.v1.SemanticType + 64, // 59: greptime.v1.ColumnDef.datatype_extension:type_name -> greptime.v1.ColumnDataTypeExtension + 66, // 60: greptime.v1.ColumnDef.options:type_name -> greptime.v1.ColumnOptions + 4, // 61: greptime.v1.AddColumnLocation.location_type:type_name -> greptime.v1.AddColumnLocation.LocationType + 0, // 62: greptime.v1.SetFulltext.analyzer:type_name -> greptime.v1.Analyzer + 1, // 63: greptime.v1.SetFulltext.backend:type_name -> greptime.v1.FulltextBackend + 2, // 64: greptime.v1.SetSkipping.skipping_index_type:type_name -> greptime.v1.SkippingIndexType + 46, // 65: greptime.v1.AlterDatabaseExpr.set_database_options:type_name -> greptime.v1.SetDatabaseOptions + 47, // 66: greptime.v1.AlterDatabaseExpr.unset_database_options:type_name -> greptime.v1.UnsetDatabaseOptions + 31, // 67: greptime.v1.SetDatabaseOptions.set_database_options:type_name -> greptime.v1.Option + 49, // 68: greptime.v1.CreateTriggerExpr.channels:type_name -> greptime.v1.NotifyChannel + 56, // 69: greptime.v1.CreateTriggerExpr.labels:type_name -> greptime.v1.CreateTriggerExpr.LabelsEntry + 57, // 70: greptime.v1.CreateTriggerExpr.annotations:type_name -> greptime.v1.CreateTriggerExpr.AnnotationsEntry + 67, // 71: greptime.v1.CreateTriggerExpr.interval:type_name -> google.protobuf.Duration + 67, // 72: greptime.v1.CreateTriggerExpr.for:type_name -> google.protobuf.Duration + 67, // 73: greptime.v1.CreateTriggerExpr.keep_firing_for:type_name -> google.protobuf.Duration + 50, // 74: greptime.v1.NotifyChannel.webhook:type_name -> greptime.v1.WebhookOptions + 58, // 75: greptime.v1.WebhookOptions.opts:type_name -> greptime.v1.WebhookOptions.OptsEntry + 3, // 76: greptime.v1.CommentOnExpr.object_type:type_name -> greptime.v1.CommentObjectType + 77, // [77:77] is the sub-list for method output_type + 77, // [77:77] is the sub-list for method input_type + 77, // [77:77] is the sub-list for extension type_name + 77, // [77:77] is the sub-list for extension extendee + 0, // [0:77] is the sub-list for field type_name } func init() { file_greptime_v1_ddl_proto_init() } @@ -4725,7 +4820,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.(*DropTableExpr); i { + switch v := v.(*Repartition); i { case 0: return &v.state case 1: @@ -4737,7 +4832,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.(*CreateDatabaseExpr); i { + switch v := v.(*DropTableExpr); i { case 0: return &v.state case 1: @@ -4749,7 +4844,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.(*TruncateTableExpr); i { + switch v := v.(*CreateDatabaseExpr); i { case 0: return &v.state case 1: @@ -4761,7 +4856,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.(*DropDatabaseExpr); i { + switch v := v.(*TruncateTableExpr); i { case 0: return &v.state case 1: @@ -4773,7 +4868,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.(*AddColumns); i { + switch v := v.(*DropDatabaseExpr); i { case 0: return &v.state case 1: @@ -4785,7 +4880,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.(*DropDefaults); i { + switch v := v.(*AddColumns); i { case 0: return &v.state case 1: @@ -4797,7 +4892,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.(*SetDefaults); i { + switch v := v.(*DropDefaults); i { case 0: return &v.state case 1: @@ -4809,7 +4904,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.(*DropColumns); i { + switch v := v.(*SetDefaults); i { case 0: return &v.state case 1: @@ -4821,7 +4916,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.(*ModifyColumnTypes); i { + switch v := v.(*DropColumns); i { case 0: return &v.state case 1: @@ -4833,7 +4928,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.(*RenameTable); i { + switch v := v.(*ModifyColumnTypes); i { case 0: return &v.state case 1: @@ -4845,7 +4940,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.(*AddColumn); i { + switch v := v.(*RenameTable); i { case 0: return &v.state case 1: @@ -4857,7 +4952,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.(*ModifyColumnType); i { + switch v := v.(*AddColumn); i { case 0: return &v.state case 1: @@ -4869,7 +4964,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.(*Option); i { + switch v := v.(*ModifyColumnType); i { case 0: return &v.state case 1: @@ -4881,7 +4976,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.(*SetTableOptions); i { + switch v := v.(*Option); i { case 0: return &v.state case 1: @@ -4893,7 +4988,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.(*UnsetTableOptions); i { + switch v := v.(*SetTableOptions); i { case 0: return &v.state case 1: @@ -4905,7 +5000,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.(*DropColumn); i { + switch v := v.(*UnsetTableOptions); i { case 0: return &v.state case 1: @@ -4917,7 +5012,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TableId); i { + switch v := v.(*DropColumn); i { case 0: return &v.state case 1: @@ -4929,7 +5024,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FlowId); i { + switch v := v.(*TableId); i { case 0: return &v.state case 1: @@ -4941,7 +5036,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ColumnDef); i { + switch v := v.(*FlowId); i { case 0: return &v.state case 1: @@ -4953,7 +5048,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddColumnLocation); i { + switch v := v.(*ColumnDef); i { case 0: return &v.state case 1: @@ -4965,7 +5060,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetFulltext); i { + switch v := v.(*AddColumnLocation); i { case 0: return &v.state case 1: @@ -4977,7 +5072,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UnsetFulltext); i { + switch v := v.(*SetFulltext); i { case 0: return &v.state case 1: @@ -4989,7 +5084,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetInverted); i { + switch v := v.(*UnsetFulltext); i { case 0: return &v.state case 1: @@ -5001,7 +5096,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UnsetInverted); i { + switch v := v.(*SetInverted); i { case 0: return &v.state case 1: @@ -5013,7 +5108,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetSkipping); i { + switch v := v.(*UnsetInverted); i { case 0: return &v.state case 1: @@ -5025,7 +5120,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UnsetSkipping); i { + switch v := v.(*SetSkipping); i { case 0: return &v.state case 1: @@ -5037,7 +5132,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AlterDatabaseExpr); i { + switch v := v.(*UnsetSkipping); i { case 0: return &v.state case 1: @@ -5049,7 +5144,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetDatabaseOptions); i { + switch v := v.(*AlterDatabaseExpr); i { case 0: return &v.state case 1: @@ -5061,7 +5156,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UnsetDatabaseOptions); i { + switch v := v.(*SetDatabaseOptions); i { case 0: return &v.state case 1: @@ -5073,7 +5168,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateTriggerExpr); i { + switch v := v.(*UnsetDatabaseOptions); i { case 0: return &v.state case 1: @@ -5085,7 +5180,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NotifyChannel); i { + switch v := v.(*CreateTriggerExpr); i { case 0: return &v.state case 1: @@ -5097,7 +5192,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WebhookOptions); i { + switch v := v.(*NotifyChannel); i { case 0: return &v.state case 1: @@ -5109,7 +5204,7 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DropTriggerExpr); i { + switch v := v.(*WebhookOptions); i { case 0: return &v.state case 1: @@ -5121,6 +5216,18 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DropTriggerExpr); 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[47].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CommentOnExpr); i { case 0: return &v.state @@ -5159,6 +5266,7 @@ func file_greptime_v1_ddl_proto_init() { (*AlterTableExpr_SetIndexes)(nil), (*AlterTableExpr_UnsetIndexes)(nil), (*AlterTableExpr_SetDefaults)(nil), + (*AlterTableExpr_Repartition)(nil), } file_greptime_v1_ddl_proto_msgTypes[11].OneofWrappers = []interface{}{ (*SetIndex_Fulltext)(nil), @@ -5170,11 +5278,11 @@ func file_greptime_v1_ddl_proto_init() { (*UnsetIndex_Inverted)(nil), (*UnsetIndex_Skipping)(nil), } - file_greptime_v1_ddl_proto_msgTypes[39].OneofWrappers = []interface{}{ + file_greptime_v1_ddl_proto_msgTypes[40].OneofWrappers = []interface{}{ (*AlterDatabaseExpr_SetDatabaseOptions)(nil), (*AlterDatabaseExpr_UnsetDatabaseOptions)(nil), } - file_greptime_v1_ddl_proto_msgTypes[43].OneofWrappers = []interface{}{ + file_greptime_v1_ddl_proto_msgTypes[44].OneofWrappers = []interface{}{ (*NotifyChannel_Webhook)(nil), } type x struct{} @@ -5183,7 +5291,7 @@ func file_greptime_v1_ddl_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_greptime_v1_ddl_proto_rawDesc, NumEnums: 5, - NumMessages: 53, + NumMessages: 54, 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 624f997..4096181 100644 --- a/java/src/main/java/io/greptime/v1/Ddl.java +++ b/java/src/main/java/io/greptime/v1/Ddl.java @@ -12980,6 +12980,21 @@ java.lang.String defaultValue); */ io.greptime.v1.Ddl.SetDefaultsOrBuilder getSetDefaultsOrBuilder(); + /** + * .greptime.v1.Repartition repartition = 18; + * @return Whether the repartition field is set. + */ + boolean hasRepartition(); + /** + * .greptime.v1.Repartition repartition = 18; + * @return The repartition. + */ + io.greptime.v1.Ddl.Repartition getRepartition(); + /** + * .greptime.v1.Repartition repartition = 18; + */ + io.greptime.v1.Ddl.RepartitionOrBuilder getRepartitionOrBuilder(); + public io.greptime.v1.Ddl.AlterTableExpr.KindCase getKindCase(); } /** @@ -13216,6 +13231,20 @@ java.lang.String defaultValue); kindCase_ = 17; break; } + case 146: { + io.greptime.v1.Ddl.Repartition.Builder subBuilder = null; + if (kindCase_ == 18) { + subBuilder = ((io.greptime.v1.Ddl.Repartition) kind_).toBuilder(); + } + kind_ = + input.readMessage(io.greptime.v1.Ddl.Repartition.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((io.greptime.v1.Ddl.Repartition) kind_); + kind_ = subBuilder.buildPartial(); + } + kindCase_ = 18; + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -13267,6 +13296,7 @@ java.lang.String defaultValue); SET_INDEXES(15), UNSET_INDEXES(16), SET_DEFAULTS(17), + REPARTITION(18), KIND_NOT_SET(0); private final int value; private KindCase(int value) { @@ -13296,6 +13326,7 @@ java.lang.String defaultValue); case 15: return SET_INDEXES; case 16: return UNSET_INDEXES; case 17: return SET_DEFAULTS; + case 18: return REPARTITION; case 0: return KIND_NOT_SET; default: return null; } @@ -13821,6 +13852,37 @@ java.lang.String defaultValue); return io.greptime.v1.Ddl.SetDefaults.getDefaultInstance(); } + public static final int REPARTITION_FIELD_NUMBER = 18; + /** + * .greptime.v1.Repartition repartition = 18; + * @return Whether the repartition field is set. + */ + @java.lang.Override + public boolean hasRepartition() { + return kindCase_ == 18; + } + /** + * .greptime.v1.Repartition repartition = 18; + * @return The repartition. + */ + @java.lang.Override + public io.greptime.v1.Ddl.Repartition getRepartition() { + if (kindCase_ == 18) { + return (io.greptime.v1.Ddl.Repartition) kind_; + } + return io.greptime.v1.Ddl.Repartition.getDefaultInstance(); + } + /** + * .greptime.v1.Repartition repartition = 18; + */ + @java.lang.Override + public io.greptime.v1.Ddl.RepartitionOrBuilder getRepartitionOrBuilder() { + if (kindCase_ == 18) { + return (io.greptime.v1.Ddl.Repartition) kind_; + } + return io.greptime.v1.Ddl.Repartition.getDefaultInstance(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -13880,6 +13942,9 @@ java.lang.String defaultValue); if (kindCase_ == 17) { output.writeMessage(17, (io.greptime.v1.Ddl.SetDefaults) kind_); } + if (kindCase_ == 18) { + output.writeMessage(18, (io.greptime.v1.Ddl.Repartition) kind_); + } unknownFields.writeTo(output); } @@ -13946,6 +14011,10 @@ java.lang.String defaultValue); size += com.google.protobuf.CodedOutputStream .computeMessageSize(17, (io.greptime.v1.Ddl.SetDefaults) kind_); } + if (kindCase_ == 18) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(18, (io.greptime.v1.Ddl.Repartition) kind_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -14017,6 +14086,10 @@ java.lang.String defaultValue); if (!getSetDefaults() .equals(other.getSetDefaults())) return false; break; + case 18: + if (!getRepartition() + .equals(other.getRepartition())) return false; + break; case 0: default: } @@ -14086,6 +14159,10 @@ java.lang.String defaultValue); hash = (37 * hash) + SET_DEFAULTS_FIELD_NUMBER; hash = (53 * hash) + getSetDefaults().hashCode(); break; + case 18: + hash = (37 * hash) + REPARTITION_FIELD_NUMBER; + hash = (53 * hash) + getRepartition().hashCode(); + break; case 0: default: } @@ -14343,6 +14420,13 @@ java.lang.String defaultValue); result.kind_ = setDefaultsBuilder_.build(); } } + if (kindCase_ == 18) { + if (repartitionBuilder_ == null) { + result.kind_ = kind_; + } else { + result.kind_ = repartitionBuilder_.build(); + } + } result.kindCase_ = kindCase_; onBuilt(); return result; @@ -14453,6 +14537,10 @@ java.lang.String defaultValue); mergeSetDefaults(other.getSetDefaults()); break; } + case REPARTITION: { + mergeRepartition(other.getRepartition()); + break; + } case KIND_NOT_SET: { break; } @@ -16504,6 +16592,148 @@ java.lang.String defaultValue); onChanged();; return setDefaultsBuilder_; } + + private com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Ddl.Repartition, io.greptime.v1.Ddl.Repartition.Builder, io.greptime.v1.Ddl.RepartitionOrBuilder> repartitionBuilder_; + /** + * .greptime.v1.Repartition repartition = 18; + * @return Whether the repartition field is set. + */ + @java.lang.Override + public boolean hasRepartition() { + return kindCase_ == 18; + } + /** + * .greptime.v1.Repartition repartition = 18; + * @return The repartition. + */ + @java.lang.Override + public io.greptime.v1.Ddl.Repartition getRepartition() { + if (repartitionBuilder_ == null) { + if (kindCase_ == 18) { + return (io.greptime.v1.Ddl.Repartition) kind_; + } + return io.greptime.v1.Ddl.Repartition.getDefaultInstance(); + } else { + if (kindCase_ == 18) { + return repartitionBuilder_.getMessage(); + } + return io.greptime.v1.Ddl.Repartition.getDefaultInstance(); + } + } + /** + * .greptime.v1.Repartition repartition = 18; + */ + public Builder setRepartition(io.greptime.v1.Ddl.Repartition value) { + if (repartitionBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + kind_ = value; + onChanged(); + } else { + repartitionBuilder_.setMessage(value); + } + kindCase_ = 18; + return this; + } + /** + * .greptime.v1.Repartition repartition = 18; + */ + public Builder setRepartition( + io.greptime.v1.Ddl.Repartition.Builder builderForValue) { + if (repartitionBuilder_ == null) { + kind_ = builderForValue.build(); + onChanged(); + } else { + repartitionBuilder_.setMessage(builderForValue.build()); + } + kindCase_ = 18; + return this; + } + /** + * .greptime.v1.Repartition repartition = 18; + */ + public Builder mergeRepartition(io.greptime.v1.Ddl.Repartition value) { + if (repartitionBuilder_ == null) { + if (kindCase_ == 18 && + kind_ != io.greptime.v1.Ddl.Repartition.getDefaultInstance()) { + kind_ = io.greptime.v1.Ddl.Repartition.newBuilder((io.greptime.v1.Ddl.Repartition) kind_) + .mergeFrom(value).buildPartial(); + } else { + kind_ = value; + } + onChanged(); + } else { + if (kindCase_ == 18) { + repartitionBuilder_.mergeFrom(value); + } else { + repartitionBuilder_.setMessage(value); + } + } + kindCase_ = 18; + return this; + } + /** + * .greptime.v1.Repartition repartition = 18; + */ + public Builder clearRepartition() { + if (repartitionBuilder_ == null) { + if (kindCase_ == 18) { + kindCase_ = 0; + kind_ = null; + onChanged(); + } + } else { + if (kindCase_ == 18) { + kindCase_ = 0; + kind_ = null; + } + repartitionBuilder_.clear(); + } + return this; + } + /** + * .greptime.v1.Repartition repartition = 18; + */ + public io.greptime.v1.Ddl.Repartition.Builder getRepartitionBuilder() { + return getRepartitionFieldBuilder().getBuilder(); + } + /** + * .greptime.v1.Repartition repartition = 18; + */ + @java.lang.Override + public io.greptime.v1.Ddl.RepartitionOrBuilder getRepartitionOrBuilder() { + if ((kindCase_ == 18) && (repartitionBuilder_ != null)) { + return repartitionBuilder_.getMessageOrBuilder(); + } else { + if (kindCase_ == 18) { + return (io.greptime.v1.Ddl.Repartition) kind_; + } + return io.greptime.v1.Ddl.Repartition.getDefaultInstance(); + } + } + /** + * .greptime.v1.Repartition repartition = 18; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Ddl.Repartition, io.greptime.v1.Ddl.Repartition.Builder, io.greptime.v1.Ddl.RepartitionOrBuilder> + getRepartitionFieldBuilder() { + if (repartitionBuilder_ == null) { + if (!(kindCase_ == 18)) { + kind_ = io.greptime.v1.Ddl.Repartition.getDefaultInstance(); + } + repartitionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Ddl.Repartition, io.greptime.v1.Ddl.Repartition.Builder, io.greptime.v1.Ddl.RepartitionOrBuilder>( + (io.greptime.v1.Ddl.Repartition) kind_, + getParentForChildren(), + isClean()); + kind_ = null; + } + kindCase_ = 18; + onChanged();; + return repartitionBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -21743,6 +21973,1090 @@ java.lang.String defaultValue); } + public interface RepartitionOrBuilder extends + // @@protoc_insertion_point(interface_extends:greptime.v1.Repartition) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * The from partition expressions serialized in JSON format.
+     * 
+ * + * repeated string from_partition_exprs = 1; + * @return A list containing the fromPartitionExprs. + */ + java.util.List + getFromPartitionExprsList(); + /** + *
+     * The from partition expressions serialized in JSON format.
+     * 
+ * + * repeated string from_partition_exprs = 1; + * @return The count of fromPartitionExprs. + */ + int getFromPartitionExprsCount(); + /** + *
+     * The from partition expressions serialized in JSON format.
+     * 
+ * + * repeated string from_partition_exprs = 1; + * @param index The index of the element to return. + * @return The fromPartitionExprs at the given index. + */ + java.lang.String getFromPartitionExprs(int index); + /** + *
+     * The from partition expressions serialized in JSON format.
+     * 
+ * + * repeated string from_partition_exprs = 1; + * @param index The index of the value to return. + * @return The bytes of the fromPartitionExprs at the given index. + */ + com.google.protobuf.ByteString + getFromPartitionExprsBytes(int index); + + /** + *
+     * The into partition expressions serialized in JSON format.
+     * 
+ * + * repeated string into_partition_exprs = 2; + * @return A list containing the intoPartitionExprs. + */ + java.util.List + getIntoPartitionExprsList(); + /** + *
+     * The into partition expressions serialized in JSON format.
+     * 
+ * + * repeated string into_partition_exprs = 2; + * @return The count of intoPartitionExprs. + */ + int getIntoPartitionExprsCount(); + /** + *
+     * The into partition expressions serialized in JSON format.
+     * 
+ * + * repeated string into_partition_exprs = 2; + * @param index The index of the element to return. + * @return The intoPartitionExprs at the given index. + */ + java.lang.String getIntoPartitionExprs(int index); + /** + *
+     * The into partition expressions serialized in JSON format.
+     * 
+ * + * repeated string into_partition_exprs = 2; + * @param index The index of the value to return. + * @return The bytes of the intoPartitionExprs at the given index. + */ + com.google.protobuf.ByteString + getIntoPartitionExprsBytes(int index); + + /** + *
+     * Wait for the repartition to complete.
+     * 
+ * + * bool wait = 3; + * @return The wait. + */ + boolean getWait(); + } + /** + * Protobuf type {@code greptime.v1.Repartition} + */ + public static final class Repartition extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:greptime.v1.Repartition) + RepartitionOrBuilder { + private static final long serialVersionUID = 0L; + // Use Repartition.newBuilder() to construct. + private Repartition(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Repartition() { + fromPartitionExprs_ = com.google.protobuf.LazyStringArrayList.EMPTY; + intoPartitionExprs_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Repartition(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private Repartition( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + 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(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + fromPartitionExprs_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + fromPartitionExprs_.add(s); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + intoPartitionExprs_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + intoPartitionExprs_.add(s); + break; + } + case 24: { + + wait_ = input.readBool(); + 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 { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + fromPartitionExprs_ = fromPartitionExprs_.getUnmodifiableView(); + } + if (((mutable_bitField0_ & 0x00000002) != 0)) { + intoPartitionExprs_ = intoPartitionExprs_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_Repartition_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_Repartition_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.greptime.v1.Ddl.Repartition.class, io.greptime.v1.Ddl.Repartition.Builder.class); + } + + public static final int FROM_PARTITION_EXPRS_FIELD_NUMBER = 1; + private com.google.protobuf.LazyStringList fromPartitionExprs_; + /** + *
+     * The from partition expressions serialized in JSON format.
+     * 
+ * + * repeated string from_partition_exprs = 1; + * @return A list containing the fromPartitionExprs. + */ + public com.google.protobuf.ProtocolStringList + getFromPartitionExprsList() { + return fromPartitionExprs_; + } + /** + *
+     * The from partition expressions serialized in JSON format.
+     * 
+ * + * repeated string from_partition_exprs = 1; + * @return The count of fromPartitionExprs. + */ + public int getFromPartitionExprsCount() { + return fromPartitionExprs_.size(); + } + /** + *
+     * The from partition expressions serialized in JSON format.
+     * 
+ * + * repeated string from_partition_exprs = 1; + * @param index The index of the element to return. + * @return The fromPartitionExprs at the given index. + */ + public java.lang.String getFromPartitionExprs(int index) { + return fromPartitionExprs_.get(index); + } + /** + *
+     * The from partition expressions serialized in JSON format.
+     * 
+ * + * repeated string from_partition_exprs = 1; + * @param index The index of the value to return. + * @return The bytes of the fromPartitionExprs at the given index. + */ + public com.google.protobuf.ByteString + getFromPartitionExprsBytes(int index) { + return fromPartitionExprs_.getByteString(index); + } + + public static final int INTO_PARTITION_EXPRS_FIELD_NUMBER = 2; + private com.google.protobuf.LazyStringList intoPartitionExprs_; + /** + *
+     * The into partition expressions serialized in JSON format.
+     * 
+ * + * repeated string into_partition_exprs = 2; + * @return A list containing the intoPartitionExprs. + */ + public com.google.protobuf.ProtocolStringList + getIntoPartitionExprsList() { + return intoPartitionExprs_; + } + /** + *
+     * The into partition expressions serialized in JSON format.
+     * 
+ * + * repeated string into_partition_exprs = 2; + * @return The count of intoPartitionExprs. + */ + public int getIntoPartitionExprsCount() { + return intoPartitionExprs_.size(); + } + /** + *
+     * The into partition expressions serialized in JSON format.
+     * 
+ * + * repeated string into_partition_exprs = 2; + * @param index The index of the element to return. + * @return The intoPartitionExprs at the given index. + */ + public java.lang.String getIntoPartitionExprs(int index) { + return intoPartitionExprs_.get(index); + } + /** + *
+     * The into partition expressions serialized in JSON format.
+     * 
+ * + * repeated string into_partition_exprs = 2; + * @param index The index of the value to return. + * @return The bytes of the intoPartitionExprs at the given index. + */ + public com.google.protobuf.ByteString + getIntoPartitionExprsBytes(int index) { + return intoPartitionExprs_.getByteString(index); + } + + public static final int WAIT_FIELD_NUMBER = 3; + private boolean wait_; + /** + *
+     * Wait for the repartition to complete.
+     * 
+ * + * bool wait = 3; + * @return The wait. + */ + @java.lang.Override + public boolean getWait() { + return wait_; + } + + 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 { + for (int i = 0; i < fromPartitionExprs_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fromPartitionExprs_.getRaw(i)); + } + for (int i = 0; i < intoPartitionExprs_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, intoPartitionExprs_.getRaw(i)); + } + if (wait_ != false) { + output.writeBool(3, wait_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + { + int dataSize = 0; + for (int i = 0; i < fromPartitionExprs_.size(); i++) { + dataSize += computeStringSizeNoTag(fromPartitionExprs_.getRaw(i)); + } + size += dataSize; + size += 1 * getFromPartitionExprsList().size(); + } + { + int dataSize = 0; + for (int i = 0; i < intoPartitionExprs_.size(); i++) { + dataSize += computeStringSizeNoTag(intoPartitionExprs_.getRaw(i)); + } + size += dataSize; + size += 1 * getIntoPartitionExprsList().size(); + } + if (wait_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, wait_); + } + 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.Repartition)) { + return super.equals(obj); + } + io.greptime.v1.Ddl.Repartition other = (io.greptime.v1.Ddl.Repartition) obj; + + if (!getFromPartitionExprsList() + .equals(other.getFromPartitionExprsList())) return false; + if (!getIntoPartitionExprsList() + .equals(other.getIntoPartitionExprsList())) return false; + if (getWait() + != other.getWait()) 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(); + if (getFromPartitionExprsCount() > 0) { + hash = (37 * hash) + FROM_PARTITION_EXPRS_FIELD_NUMBER; + hash = (53 * hash) + getFromPartitionExprsList().hashCode(); + } + if (getIntoPartitionExprsCount() > 0) { + hash = (37 * hash) + INTO_PARTITION_EXPRS_FIELD_NUMBER; + hash = (53 * hash) + getIntoPartitionExprsList().hashCode(); + } + hash = (37 * hash) + WAIT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getWait()); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.greptime.v1.Ddl.Repartition parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.greptime.v1.Ddl.Repartition 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.Repartition parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.greptime.v1.Ddl.Repartition 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.Repartition parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.greptime.v1.Ddl.Repartition parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.greptime.v1.Ddl.Repartition parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.greptime.v1.Ddl.Repartition 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.Repartition parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static io.greptime.v1.Ddl.Repartition 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.Repartition parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.greptime.v1.Ddl.Repartition 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.Repartition 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.Repartition} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:greptime.v1.Repartition) + io.greptime.v1.Ddl.RepartitionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_Repartition_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_Repartition_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.greptime.v1.Ddl.Repartition.class, io.greptime.v1.Ddl.Repartition.Builder.class); + } + + // Construct using io.greptime.v1.Ddl.Repartition.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(); + fromPartitionExprs_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + intoPartitionExprs_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + wait_ = false; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_Repartition_descriptor; + } + + @java.lang.Override + public io.greptime.v1.Ddl.Repartition getDefaultInstanceForType() { + return io.greptime.v1.Ddl.Repartition.getDefaultInstance(); + } + + @java.lang.Override + public io.greptime.v1.Ddl.Repartition build() { + io.greptime.v1.Ddl.Repartition result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.greptime.v1.Ddl.Repartition buildPartial() { + io.greptime.v1.Ddl.Repartition result = new io.greptime.v1.Ddl.Repartition(this); + int from_bitField0_ = bitField0_; + if (((bitField0_ & 0x00000001) != 0)) { + fromPartitionExprs_ = fromPartitionExprs_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.fromPartitionExprs_ = fromPartitionExprs_; + if (((bitField0_ & 0x00000002) != 0)) { + intoPartitionExprs_ = intoPartitionExprs_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.intoPartitionExprs_ = intoPartitionExprs_; + result.wait_ = wait_; + 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.Repartition) { + return mergeFrom((io.greptime.v1.Ddl.Repartition)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.greptime.v1.Ddl.Repartition other) { + if (other == io.greptime.v1.Ddl.Repartition.getDefaultInstance()) return this; + if (!other.fromPartitionExprs_.isEmpty()) { + if (fromPartitionExprs_.isEmpty()) { + fromPartitionExprs_ = other.fromPartitionExprs_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureFromPartitionExprsIsMutable(); + fromPartitionExprs_.addAll(other.fromPartitionExprs_); + } + onChanged(); + } + if (!other.intoPartitionExprs_.isEmpty()) { + if (intoPartitionExprs_.isEmpty()) { + intoPartitionExprs_ = other.intoPartitionExprs_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureIntoPartitionExprsIsMutable(); + intoPartitionExprs_.addAll(other.intoPartitionExprs_); + } + onChanged(); + } + if (other.getWait() != false) { + setWait(other.getWait()); + } + 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.Repartition parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.greptime.v1.Ddl.Repartition) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private com.google.protobuf.LazyStringList fromPartitionExprs_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureFromPartitionExprsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + fromPartitionExprs_ = new com.google.protobuf.LazyStringArrayList(fromPartitionExprs_); + bitField0_ |= 0x00000001; + } + } + /** + *
+       * The from partition expressions serialized in JSON format.
+       * 
+ * + * repeated string from_partition_exprs = 1; + * @return A list containing the fromPartitionExprs. + */ + public com.google.protobuf.ProtocolStringList + getFromPartitionExprsList() { + return fromPartitionExprs_.getUnmodifiableView(); + } + /** + *
+       * The from partition expressions serialized in JSON format.
+       * 
+ * + * repeated string from_partition_exprs = 1; + * @return The count of fromPartitionExprs. + */ + public int getFromPartitionExprsCount() { + return fromPartitionExprs_.size(); + } + /** + *
+       * The from partition expressions serialized in JSON format.
+       * 
+ * + * repeated string from_partition_exprs = 1; + * @param index The index of the element to return. + * @return The fromPartitionExprs at the given index. + */ + public java.lang.String getFromPartitionExprs(int index) { + return fromPartitionExprs_.get(index); + } + /** + *
+       * The from partition expressions serialized in JSON format.
+       * 
+ * + * repeated string from_partition_exprs = 1; + * @param index The index of the value to return. + * @return The bytes of the fromPartitionExprs at the given index. + */ + public com.google.protobuf.ByteString + getFromPartitionExprsBytes(int index) { + return fromPartitionExprs_.getByteString(index); + } + /** + *
+       * The from partition expressions serialized in JSON format.
+       * 
+ * + * repeated string from_partition_exprs = 1; + * @param index The index to set the value at. + * @param value The fromPartitionExprs to set. + * @return This builder for chaining. + */ + public Builder setFromPartitionExprs( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureFromPartitionExprsIsMutable(); + fromPartitionExprs_.set(index, value); + onChanged(); + return this; + } + /** + *
+       * The from partition expressions serialized in JSON format.
+       * 
+ * + * repeated string from_partition_exprs = 1; + * @param value The fromPartitionExprs to add. + * @return This builder for chaining. + */ + public Builder addFromPartitionExprs( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureFromPartitionExprsIsMutable(); + fromPartitionExprs_.add(value); + onChanged(); + return this; + } + /** + *
+       * The from partition expressions serialized in JSON format.
+       * 
+ * + * repeated string from_partition_exprs = 1; + * @param values The fromPartitionExprs to add. + * @return This builder for chaining. + */ + public Builder addAllFromPartitionExprs( + java.lang.Iterable values) { + ensureFromPartitionExprsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, fromPartitionExprs_); + onChanged(); + return this; + } + /** + *
+       * The from partition expressions serialized in JSON format.
+       * 
+ * + * repeated string from_partition_exprs = 1; + * @return This builder for chaining. + */ + public Builder clearFromPartitionExprs() { + fromPartitionExprs_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * The from partition expressions serialized in JSON format.
+       * 
+ * + * repeated string from_partition_exprs = 1; + * @param value The bytes of the fromPartitionExprs to add. + * @return This builder for chaining. + */ + public Builder addFromPartitionExprsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureFromPartitionExprsIsMutable(); + fromPartitionExprs_.add(value); + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList intoPartitionExprs_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureIntoPartitionExprsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + intoPartitionExprs_ = new com.google.protobuf.LazyStringArrayList(intoPartitionExprs_); + bitField0_ |= 0x00000002; + } + } + /** + *
+       * The into partition expressions serialized in JSON format.
+       * 
+ * + * repeated string into_partition_exprs = 2; + * @return A list containing the intoPartitionExprs. + */ + public com.google.protobuf.ProtocolStringList + getIntoPartitionExprsList() { + return intoPartitionExprs_.getUnmodifiableView(); + } + /** + *
+       * The into partition expressions serialized in JSON format.
+       * 
+ * + * repeated string into_partition_exprs = 2; + * @return The count of intoPartitionExprs. + */ + public int getIntoPartitionExprsCount() { + return intoPartitionExprs_.size(); + } + /** + *
+       * The into partition expressions serialized in JSON format.
+       * 
+ * + * repeated string into_partition_exprs = 2; + * @param index The index of the element to return. + * @return The intoPartitionExprs at the given index. + */ + public java.lang.String getIntoPartitionExprs(int index) { + return intoPartitionExprs_.get(index); + } + /** + *
+       * The into partition expressions serialized in JSON format.
+       * 
+ * + * repeated string into_partition_exprs = 2; + * @param index The index of the value to return. + * @return The bytes of the intoPartitionExprs at the given index. + */ + public com.google.protobuf.ByteString + getIntoPartitionExprsBytes(int index) { + return intoPartitionExprs_.getByteString(index); + } + /** + *
+       * The into partition expressions serialized in JSON format.
+       * 
+ * + * repeated string into_partition_exprs = 2; + * @param index The index to set the value at. + * @param value The intoPartitionExprs to set. + * @return This builder for chaining. + */ + public Builder setIntoPartitionExprs( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureIntoPartitionExprsIsMutable(); + intoPartitionExprs_.set(index, value); + onChanged(); + return this; + } + /** + *
+       * The into partition expressions serialized in JSON format.
+       * 
+ * + * repeated string into_partition_exprs = 2; + * @param value The intoPartitionExprs to add. + * @return This builder for chaining. + */ + public Builder addIntoPartitionExprs( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureIntoPartitionExprsIsMutable(); + intoPartitionExprs_.add(value); + onChanged(); + return this; + } + /** + *
+       * The into partition expressions serialized in JSON format.
+       * 
+ * + * repeated string into_partition_exprs = 2; + * @param values The intoPartitionExprs to add. + * @return This builder for chaining. + */ + public Builder addAllIntoPartitionExprs( + java.lang.Iterable values) { + ensureIntoPartitionExprsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, intoPartitionExprs_); + onChanged(); + return this; + } + /** + *
+       * The into partition expressions serialized in JSON format.
+       * 
+ * + * repeated string into_partition_exprs = 2; + * @return This builder for chaining. + */ + public Builder clearIntoPartitionExprs() { + intoPartitionExprs_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+       * The into partition expressions serialized in JSON format.
+       * 
+ * + * repeated string into_partition_exprs = 2; + * @param value The bytes of the intoPartitionExprs to add. + * @return This builder for chaining. + */ + public Builder addIntoPartitionExprsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureIntoPartitionExprsIsMutable(); + intoPartitionExprs_.add(value); + onChanged(); + return this; + } + + private boolean wait_ ; + /** + *
+       * Wait for the repartition to complete.
+       * 
+ * + * bool wait = 3; + * @return The wait. + */ + @java.lang.Override + public boolean getWait() { + return wait_; + } + /** + *
+       * Wait for the repartition to complete.
+       * 
+ * + * bool wait = 3; + * @param value The wait to set. + * @return This builder for chaining. + */ + public Builder setWait(boolean value) { + + wait_ = value; + onChanged(); + return this; + } + /** + *
+       * Wait for the repartition to complete.
+       * 
+ * + * bool wait = 3; + * @return This builder for chaining. + */ + public Builder clearWait() { + + wait_ = false; + 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.Repartition) + } + + // @@protoc_insertion_point(class_scope:greptime.v1.Repartition) + private static final io.greptime.v1.Ddl.Repartition DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.greptime.v1.Ddl.Repartition(); + } + + public static io.greptime.v1.Ddl.Repartition getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Repartition parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Repartition(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.Repartition getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + public interface DropTableExprOrBuilder extends // @@protoc_insertion_point(interface_extends:greptime.v1.DropTableExpr) com.google.protobuf.MessageOrBuilder { @@ -53045,6 +54359,11 @@ java.lang.String defaultValue); 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_Repartition_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_Repartition_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_greptime_v1_DropTableExpr_descriptor; private static final @@ -53295,7 +54614,7 @@ java.lang.String defaultValue); "time.v1.CreateTableExpr.TableOptionsEntr" + "y\022&\n\010table_id\030\n \001(\0132\024.greptime.v1.TableI" + "d\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\"\312\005\n\016Alter" + + "\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\373\005\n\016Alter" + "TableExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schem" + "a_name\030\002 \001(\t\022\022\n\ntable_name\030\003 \001(\t\022.\n\013add_" + "columns\030\004 \001(\0132\027.greptime.v1.AddColumnsH\000" + @@ -53313,124 +54632,128 @@ java.lang.String defaultValue); "exes\030\017 \001(\0132\027.greptime.v1.SetIndexesH\000\0222\n" + "\runset_indexes\030\020 \001(\0132\031.greptime.v1.Unset" + "IndexesH\000\0220\n\014set_defaults\030\021 \001(\0132\030.grepti" + - "me.v1.SetDefaultsH\000B\006\n\004kind\"\"\n\013DropDefau" + - "lt\022\023\n\013column_name\030\001 \001(\t\"8\n\nSetIndexes\022*\n" + - "\013set_indexes\030\001 \003(\0132\025.greptime.v1.SetInde" + - "x\">\n\014UnsetIndexes\022.\n\runset_indexes\030\001 \003(\013" + - "2\027.greptime.v1.UnsetIndex\"=\n\nSetDefault\022" + - "\023\n\013column_name\030\001 \001(\t\022\032\n\022default_constrai" + - "nt\030\002 \001(\014\"\237\001\n\010SetIndex\022,\n\010fulltext\030\001 \001(\0132" + - "\030.greptime.v1.SetFulltextH\000\022,\n\010inverted\030" + - "\002 \001(\0132\030.greptime.v1.SetInvertedH\000\022,\n\010ski" + - "pping\030\003 \001(\0132\030.greptime.v1.SetSkippingH\000B" + - "\t\n\007options\"\247\001\n\nUnsetIndex\022.\n\010fulltext\030\001 " + - "\001(\0132\032.greptime.v1.UnsetFulltextH\000\022.\n\010inv" + - "erted\030\002 \001(\0132\032.greptime.v1.UnsetInvertedH" + - "\000\022.\n\010skipping\030\003 \001(\0132\032.greptime.v1.UnsetS" + - "kippingH\000B\t\n\007options\"\216\001\n\rDropTableExpr\022\024" + - "\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(" + - "\t\022\022\n\ntable_name\030\003 \001(\t\022&\n\010table_id\030\004 \001(\0132" + - "\024.greptime.v1.TableId\022\026\n\016drop_if_exists\030" + - "\005 \001(\010\"\314\001\n\022CreateDatabaseExpr\022\024\n\014catalog_" + - "name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\034\n\024creat" + - "e_if_not_exists\030\003 \001(\010\022=\n\007options\030\004 \003(\0132," + - ".greptime.v1.CreateDatabaseExpr.OptionsE" + - "ntry\032.\n\014OptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val" + - "ue\030\002 \001(\t:\0028\001\"\250\001\n\021TruncateTableExpr\022\024\n\014ca" + - "talog_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.gr" + - "eptime.v1.TableId\022,\n\013time_ranges\030\005 \001(\0132\027" + - ".greptime.v1.TimeRanges\"U\n\020DropDatabaseE" + - "xpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_name" + - "\030\002 \001(\t\022\026\n\016drop_if_exists\030\003 \001(\010\"9\n\nAddCol" + - "umns\022+\n\013add_columns\030\001 \003(\0132\026.greptime.v1." + - "AddColumn\"?\n\014DropDefaults\022/\n\rdrop_defaul" + - "ts\030\001 \003(\0132\030.greptime.v1.DropDefault\"<\n\013Se" + - "tDefaults\022-\n\014set_defaults\030\001 \003(\0132\027.grepti" + - "me.v1.SetDefault\"<\n\013DropColumns\022-\n\014drop_" + - "columns\030\001 \003(\0132\027.greptime.v1.DropColumn\"O" + - "\n\021ModifyColumnTypes\022:\n\023modify_column_typ" + - "es\030\001 \003(\0132\035.greptime.v1.ModifyColumnType\"" + - "%\n\013RenameTable\022\026\n\016new_table_name\030\001 \001(\t\"\204" + - "\001\n\tAddColumn\022*\n\ncolumn_def\030\001 \001(\0132\026.grept" + - "ime.v1.ColumnDef\0220\n\010location\030\003 \001(\0132\036.gre" + - "ptime.v1.AddColumnLocation\022\031\n\021add_if_not" + - "_exists\030\004 \001(\010\"\236\001\n\020ModifyColumnType\022\023\n\013co" + - "lumn_name\030\001 \001(\t\0220\n\013target_type\030\002 \001(\0162\033.g" + - "reptime.v1.ColumnDataType\022C\n\025target_type" + - "_extension\030\003 \001(\0132$.greptime.v1.ColumnDat" + - "aTypeExtension\"$\n\006Option\022\013\n\003key\030\001 \001(\t\022\r\n" + - "\005value\030\002 \001(\t\"=\n\017SetTableOptions\022*\n\rtable" + - "_options\030\001 \003(\0132\023.greptime.v1.Option\"!\n\021U" + - "nsetTableOptions\022\014\n\004keys\030\001 \003(\t\"\032\n\nDropCo" + - "lumn\022\014\n\004name\030\001 \001(\t\"\025\n\007TableId\022\n\n\002id\030\001 \001(" + - "\r\"\024\n\006FlowId\022\n\n\002id\030\001 \001(\r\"\254\002\n\tColumnDef\022\014\n" + - "\004name\030\001 \001(\t\022.\n\tdata_type\030\002 \001(\0162\033.greptim" + - "e.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\022datatype_extension\030\007 " + - "\001(\0132$.greptime.v1.ColumnDataTypeExtensio" + - "n\022+\n\007options\030\010 \001(\0132\032.greptime.v1.ColumnO" + - "ptions\"\230\001\n\021AddColumnLocation\022B\n\rlocation" + - "_type\030\001 \001(\0162+.greptime.v1.AddColumnLocat" + - "ion.LocationType\022\031\n\021after_column_name\030\002 " + - "\001(\t\"$\n\014LocationType\022\t\n\005FIRST\020\000\022\t\n\005AFTER\020" + - "\001\"\324\001\n\013SetFulltext\022\023\n\013column_name\030\001 \001(\t\022\016" + - "\n\006enable\030\002 \001(\010\022\'\n\010analyzer\030\003 \001(\0162\025.grept" + - "ime.v1.Analyzer\022\026\n\016case_sensitive\030\004 \001(\010\022" + - "-\n\007backend\030\005 \001(\0162\034.greptime.v1.FulltextB" + - "ackend\022\023\n\013granularity\030\006 \001(\004\022\033\n\023false_pos" + - "itive_rate\030\007 \001(\001\"$\n\rUnsetFulltext\022\023\n\013col" + - "umn_name\030\001 \001(\t\"\"\n\013SetInverted\022\023\n\013column_" + - "name\030\001 \001(\t\"$\n\rUnsetInverted\022\023\n\013column_na" + - "me\030\001 \001(\t\"\241\001\n\013SetSkipping\022\023\n\013column_name\030" + - "\001 \001(\t\022\016\n\006enable\030\002 \001(\010\022\023\n\013granularity\030\003 \001" + - "(\004\022;\n\023skipping_index_type\030\004 \001(\0162\036.grepti" + - "me.v1.SkippingIndexType\022\033\n\023false_positiv" + - "e_rate\030\005 \001(\001\"$\n\rUnsetSkipping\022\023\n\013column_" + - "name\030\001 \001(\t\"\314\001\n\021AlterDatabaseExpr\022\024\n\014cata" + - "log_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022?\n\024s" + - "et_database_options\030\003 \001(\0132\037.greptime.v1." + - "SetDatabaseOptionsH\000\022C\n\026unset_database_o" + - "ptions\030\004 \001(\0132!.greptime.v1.UnsetDatabase" + - "OptionsH\000B\006\n\004kind\"G\n\022SetDatabaseOptions\022" + - "1\n\024set_database_options\030\001 \003(\0132\023.greptime" + - ".v1.Option\"$\n\024UnsetDatabaseOptions\022\014\n\004ke" + - "ys\030\001 \003(\t\"\331\004\n\021CreateTriggerExpr\022\024\n\014catalo" + - "g_name\030\001 \001(\t\022\024\n\014trigger_name\030\002 \001(\t\022\034\n\024cr" + - "eate_if_not_exists\030\003 \001(\010\022\013\n\003sql\030\004 \001(\t\022,\n" + - "\010channels\030\005 \003(\0132\032.greptime.v1.NotifyChan" + - "nel\022:\n\006labels\030\006 \003(\0132*.greptime.v1.Create" + - "TriggerExpr.LabelsEntry\022D\n\013annotations\030\007" + - " \003(\0132/.greptime.v1.CreateTriggerExpr.Ann" + - "otationsEntry\022+\n\010interval\030\010 \001(\0132\031.google" + - ".protobuf.Duration\022\031\n\021raw_interval_expr\030" + - "\t \001(\t\022&\n\003for\030\n \001(\0132\031.google.protobuf.Dur" + - "ation\022\024\n\014for_raw_expr\030\013 \001(\t\0222\n\017keep_firi" + - "ng_for\030\014 \001(\0132\031.google.protobuf.Duration\022" + - " \n\030keep_firing_for_raw_expr\030\r \001(\t\032-\n\013Lab" + - "elsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" + - "\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val" + - "ue\030\002 \001(\t:\0028\001\"]\n\rNotifyChannel\022\014\n\004name\030\001 " + - "\001(\t\022.\n\007webhook\030\002 \001(\0132\033.greptime.v1.Webho" + - "okOptionsH\000B\016\n\014channel_type\"\177\n\016WebhookOp" + - "tions\022\013\n\003url\030\001 \001(\t\0223\n\004opts\030\002 \003(\0132%.grept" + - "ime.v1.WebhookOptions.OptsEntry\032+\n\tOptsE" + - "ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"U\n\017" + - "DropTriggerExpr\022\024\n\014catalog_name\030\001 \001(\t\022\024\n" + - "\014trigger_name\030\002 \001(\t\022\026\n\016drop_if_exists\030\003 " + - "\001(\010\"\252\001\n\rCommentOnExpr\022\024\n\014catalog_name\030\001 " + - "\001(\t\022\023\n\013schema_name\030\002 \001(\t\0223\n\013object_type\030" + - "\003 \001(\0162\036.greptime.v1.CommentObjectType\022\023\n" + - "\013object_name\030\004 \001(\t\022\023\n\013column_name\030\005 \001(\t\022" + - "\017\n\007comment\030\006 \001(\t*$\n\010Analyzer\022\013\n\007ENGLISH\020" + - "\000\022\013\n\007CHINESE\020\001*)\n\017FulltextBackend\022\013\n\007TAN" + - "TIVY\020\000\022\t\n\005BLOOM\020\001*%\n\021SkippingIndexType\022\020" + - "\n\014BLOOM_FILTER\020\000*4\n\021CommentObjectType\022\t\n" + - "\005TABLE\020\000\022\n\n\006COLUMN\020\001\022\010\n\004FLOW\020\002BL\n\016io.gre" + - "ptime.v1B\003DdlZ5github.com/GreptimeTeam/g" + - "reptime-proto/go/greptime/v1b\006proto3" + "me.v1.SetDefaultsH\000\022/\n\013repartition\030\022 \001(\013" + + "2\030.greptime.v1.RepartitionH\000B\006\n\004kind\"\"\n\013" + + "DropDefault\022\023\n\013column_name\030\001 \001(\t\"8\n\nSetI" + + "ndexes\022*\n\013set_indexes\030\001 \003(\0132\025.greptime.v" + + "1.SetIndex\">\n\014UnsetIndexes\022.\n\runset_inde" + + "xes\030\001 \003(\0132\027.greptime.v1.UnsetIndex\"=\n\nSe" + + "tDefault\022\023\n\013column_name\030\001 \001(\t\022\032\n\022default" + + "_constraint\030\002 \001(\014\"\237\001\n\010SetIndex\022,\n\010fullte" + + "xt\030\001 \001(\0132\030.greptime.v1.SetFulltextH\000\022,\n\010" + + "inverted\030\002 \001(\0132\030.greptime.v1.SetInverted" + + "H\000\022,\n\010skipping\030\003 \001(\0132\030.greptime.v1.SetSk" + + "ippingH\000B\t\n\007options\"\247\001\n\nUnsetIndex\022.\n\010fu" + + "lltext\030\001 \001(\0132\032.greptime.v1.UnsetFulltext" + + "H\000\022.\n\010inverted\030\002 \001(\0132\032.greptime.v1.Unset" + + "InvertedH\000\022.\n\010skipping\030\003 \001(\0132\032.greptime." + + "v1.UnsetSkippingH\000B\t\n\007options\"W\n\013Reparti" + + "tion\022\034\n\024from_partition_exprs\030\001 \003(\t\022\034\n\024in" + + "to_partition_exprs\030\002 \003(\t\022\014\n\004wait\030\003 \001(\010\"\216" + + "\001\n\rDropTableExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023" + + "\n\013schema_name\030\002 \001(\t\022\022\n\ntable_name\030\003 \001(\t\022" + + "&\n\010table_id\030\004 \001(\0132\024.greptime.v1.TableId\022" + + "\026\n\016drop_if_exists\030\005 \001(\010\"\314\001\n\022CreateDataba" + + "seExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_n" + + "ame\030\002 \001(\t\022\034\n\024create_if_not_exists\030\003 \001(\010\022" + + "=\n\007options\030\004 \003(\0132,.greptime.v1.CreateDat" + + "abaseExpr.OptionsEntry\032.\n\014OptionsEntry\022\013" + + "\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\250\001\n\021Trunc" + + "ateTableExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013sc" + + "hema_name\030\002 \001(\t\022\022\n\ntable_name\030\003 \001(\t\022&\n\010t" + + "able_id\030\004 \001(\0132\024.greptime.v1.TableId\022,\n\013t" + + "ime_ranges\030\005 \001(\0132\027.greptime.v1.TimeRange" + + "s\"U\n\020DropDatabaseExpr\022\024\n\014catalog_name\030\001 " + + "\001(\t\022\023\n\013schema_name\030\002 \001(\t\022\026\n\016drop_if_exis" + + "ts\030\003 \001(\010\"9\n\nAddColumns\022+\n\013add_columns\030\001 " + + "\003(\0132\026.greptime.v1.AddColumn\"?\n\014DropDefau" + + "lts\022/\n\rdrop_defaults\030\001 \003(\0132\030.greptime.v1" + + ".DropDefault\"<\n\013SetDefaults\022-\n\014set_defau" + + "lts\030\001 \003(\0132\027.greptime.v1.SetDefault\"<\n\013Dr" + + "opColumns\022-\n\014drop_columns\030\001 \003(\0132\027.grepti" + + "me.v1.DropColumn\"O\n\021ModifyColumnTypes\022:\n" + + "\023modify_column_types\030\001 \003(\0132\035.greptime.v1" + + ".ModifyColumnType\"%\n\013RenameTable\022\026\n\016new_" + + "table_name\030\001 \001(\t\"\204\001\n\tAddColumn\022*\n\ncolumn" + + "_def\030\001 \001(\0132\026.greptime.v1.ColumnDef\0220\n\010lo" + + "cation\030\003 \001(\0132\036.greptime.v1.AddColumnLoca" + + "tion\022\031\n\021add_if_not_exists\030\004 \001(\010\"\236\001\n\020Modi" + + "fyColumnType\022\023\n\013column_name\030\001 \001(\t\0220\n\013tar" + + "get_type\030\002 \001(\0162\033.greptime.v1.ColumnDataT" + + "ype\022C\n\025target_type_extension\030\003 \001(\0132$.gre" + + "ptime.v1.ColumnDataTypeExtension\"$\n\006Opti" + + "on\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"=\n\017SetTab" + + "leOptions\022*\n\rtable_options\030\001 \003(\0132\023.grept" + + "ime.v1.Option\"!\n\021UnsetTableOptions\022\014\n\004ke" + + "ys\030\001 \003(\t\"\032\n\nDropColumn\022\014\n\004name\030\001 \001(\t\"\025\n\007" + + "TableId\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_ty" + + "pe\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\022dat" + + "atype_extension\030\007 \001(\0132$.greptime.v1.Colu" + + "mnDataTypeExtension\022+\n\007options\030\010 \001(\0132\032.g" + + "reptime.v1.ColumnOptions\"\230\001\n\021AddColumnLo" + + "cation\022B\n\rlocation_type\030\001 \001(\0162+.greptime" + + ".v1.AddColumnLocation.LocationType\022\031\n\021af" + + "ter_column_name\030\002 \001(\t\"$\n\014LocationType\022\t\n" + + "\005FIRST\020\000\022\t\n\005AFTER\020\001\"\324\001\n\013SetFulltext\022\023\n\013c" + + "olumn_name\030\001 \001(\t\022\016\n\006enable\030\002 \001(\010\022\'\n\010anal" + + "yzer\030\003 \001(\0162\025.greptime.v1.Analyzer\022\026\n\016cas" + + "e_sensitive\030\004 \001(\010\022-\n\007backend\030\005 \001(\0162\034.gre" + + "ptime.v1.FulltextBackend\022\023\n\013granularity\030" + + "\006 \001(\004\022\033\n\023false_positive_rate\030\007 \001(\001\"$\n\rUn" + + "setFulltext\022\023\n\013column_name\030\001 \001(\t\"\"\n\013SetI" + + "nverted\022\023\n\013column_name\030\001 \001(\t\"$\n\rUnsetInv" + + "erted\022\023\n\013column_name\030\001 \001(\t\"\241\001\n\013SetSkippi" + + "ng\022\023\n\013column_name\030\001 \001(\t\022\016\n\006enable\030\002 \001(\010\022" + + "\023\n\013granularity\030\003 \001(\004\022;\n\023skipping_index_t" + + "ype\030\004 \001(\0162\036.greptime.v1.SkippingIndexTyp" + + "e\022\033\n\023false_positive_rate\030\005 \001(\001\"$\n\rUnsetS" + + "kipping\022\023\n\013column_name\030\001 \001(\t\"\314\001\n\021AlterDa" + + "tabaseExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013sche" + + "ma_name\030\002 \001(\t\022?\n\024set_database_options\030\003 " + + "\001(\0132\037.greptime.v1.SetDatabaseOptionsH\000\022C" + + "\n\026unset_database_options\030\004 \001(\0132!.greptim" + + "e.v1.UnsetDatabaseOptionsH\000B\006\n\004kind\"G\n\022S" + + "etDatabaseOptions\0221\n\024set_database_option" + + "s\030\001 \003(\0132\023.greptime.v1.Option\"$\n\024UnsetDat" + + "abaseOptions\022\014\n\004keys\030\001 \003(\t\"\331\004\n\021CreateTri" + + "ggerExpr\022\024\n\014catalog_name\030\001 \001(\t\022\024\n\014trigge" + + "r_name\030\002 \001(\t\022\034\n\024create_if_not_exists\030\003 \001" + + "(\010\022\013\n\003sql\030\004 \001(\t\022,\n\010channels\030\005 \003(\0132\032.grep" + + "time.v1.NotifyChannel\022:\n\006labels\030\006 \003(\0132*." + + "greptime.v1.CreateTriggerExpr.LabelsEntr" + + "y\022D\n\013annotations\030\007 \003(\0132/.greptime.v1.Cre" + + "ateTriggerExpr.AnnotationsEntry\022+\n\010inter" + + "val\030\010 \001(\0132\031.google.protobuf.Duration\022\031\n\021" + + "raw_interval_expr\030\t \001(\t\022&\n\003for\030\n \001(\0132\031.g" + + "oogle.protobuf.Duration\022\024\n\014for_raw_expr\030" + + "\013 \001(\t\0222\n\017keep_firing_for\030\014 \001(\0132\031.google." + + "protobuf.Duration\022 \n\030keep_firing_for_raw" + + "_expr\030\r \001(\t\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022" + + "\r\n\005value\030\002 \001(\t:\0028\001\0322\n\020AnnotationsEntry\022\013" + + "\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"]\n\rNotify" + + "Channel\022\014\n\004name\030\001 \001(\t\022.\n\007webhook\030\002 \001(\0132\033" + + ".greptime.v1.WebhookOptionsH\000B\016\n\014channel" + + "_type\"\177\n\016WebhookOptions\022\013\n\003url\030\001 \001(\t\0223\n\004" + + "opts\030\002 \003(\0132%.greptime.v1.WebhookOptions." + + "OptsEntry\032+\n\tOptsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v" + + "alue\030\002 \001(\t:\0028\001\"U\n\017DropTriggerExpr\022\024\n\014cat" + + "alog_name\030\001 \001(\t\022\024\n\014trigger_name\030\002 \001(\t\022\026\n" + + "\016drop_if_exists\030\003 \001(\010\"\252\001\n\rCommentOnExpr\022" + + "\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001" + + "(\t\0223\n\013object_type\030\003 \001(\0162\036.greptime.v1.Co" + + "mmentObjectType\022\023\n\013object_name\030\004 \001(\t\022\023\n\013" + + "column_name\030\005 \001(\t\022\017\n\007comment\030\006 \001(\t*$\n\010An" + + "alyzer\022\013\n\007ENGLISH\020\000\022\013\n\007CHINESE\020\001*)\n\017Full" + + "textBackend\022\013\n\007TANTIVY\020\000\022\t\n\005BLOOM\020\001*%\n\021S" + + "kippingIndexType\022\020\n\014BLOOM_FILTER\020\000*4\n\021Co" + + "mmentObjectType\022\t\n\005TABLE\020\000\022\n\n\006COLUMN\020\001\022\010" + + "\n\004FLOW\020\002BL\n\016io.greptime.v1B\003DdlZ5github." + + "com/GreptimeTeam/greptime-proto/go/grept" + + "ime/v1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -53491,7 +54814,7 @@ 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", "UnsetTableOptions", "SetIndex", "UnsetIndex", "DropDefaults", "SetIndexes", "UnsetIndexes", "SetDefaults", "Kind", }); + new java.lang.String[] { "CatalogName", "SchemaName", "TableName", "AddColumns", "DropColumns", "RenameTable", "ModifyColumnTypes", "SetTableOptions", "UnsetTableOptions", "SetIndex", "UnsetIndex", "DropDefaults", "SetIndexes", "UnsetIndexes", "SetDefaults", "Repartition", "Kind", }); internal_static_greptime_v1_DropDefault_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_greptime_v1_DropDefault_fieldAccessorTable = new @@ -53528,14 +54851,20 @@ java.lang.String defaultValue); com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_UnsetIndex_descriptor, new java.lang.String[] { "Fulltext", "Inverted", "Skipping", "Options", }); - internal_static_greptime_v1_DropTableExpr_descriptor = + internal_static_greptime_v1_Repartition_descriptor = getDescriptor().getMessageTypes().get(13); + internal_static_greptime_v1_Repartition_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_greptime_v1_Repartition_descriptor, + new java.lang.String[] { "FromPartitionExprs", "IntoPartitionExprs", "Wait", }); + internal_static_greptime_v1_DropTableExpr_descriptor = + getDescriptor().getMessageTypes().get(14); 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(14); + getDescriptor().getMessageTypes().get(15); internal_static_greptime_v1_CreateDatabaseExpr_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_CreateDatabaseExpr_descriptor, @@ -53547,169 +54876,169 @@ 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(15); + getDescriptor().getMessageTypes().get(16); 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", "TimeRanges", }); internal_static_greptime_v1_DropDatabaseExpr_descriptor = - getDescriptor().getMessageTypes().get(16); + getDescriptor().getMessageTypes().get(17); 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(17); + getDescriptor().getMessageTypes().get(18); 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_DropDefaults_descriptor = - getDescriptor().getMessageTypes().get(18); + getDescriptor().getMessageTypes().get(19); internal_static_greptime_v1_DropDefaults_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_DropDefaults_descriptor, new java.lang.String[] { "DropDefaults", }); internal_static_greptime_v1_SetDefaults_descriptor = - getDescriptor().getMessageTypes().get(19); + getDescriptor().getMessageTypes().get(20); internal_static_greptime_v1_SetDefaults_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_SetDefaults_descriptor, new java.lang.String[] { "SetDefaults", }); internal_static_greptime_v1_DropColumns_descriptor = - getDescriptor().getMessageTypes().get(20); + getDescriptor().getMessageTypes().get(21); 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(21); + getDescriptor().getMessageTypes().get(22); 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(22); + getDescriptor().getMessageTypes().get(23); 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(23); + getDescriptor().getMessageTypes().get(24); 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(24); + getDescriptor().getMessageTypes().get(25); 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(25); + getDescriptor().getMessageTypes().get(26); 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(26); + getDescriptor().getMessageTypes().get(27); 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(27); + getDescriptor().getMessageTypes().get(28); 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(28); + getDescriptor().getMessageTypes().get(29); 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(29); + getDescriptor().getMessageTypes().get(30); 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(30); + getDescriptor().getMessageTypes().get(31); 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(31); + getDescriptor().getMessageTypes().get(32); 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(32); + getDescriptor().getMessageTypes().get(33); 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_SetFulltext_descriptor = - getDescriptor().getMessageTypes().get(33); + getDescriptor().getMessageTypes().get(34); internal_static_greptime_v1_SetFulltext_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_SetFulltext_descriptor, new java.lang.String[] { "ColumnName", "Enable", "Analyzer", "CaseSensitive", "Backend", "Granularity", "FalsePositiveRate", }); internal_static_greptime_v1_UnsetFulltext_descriptor = - getDescriptor().getMessageTypes().get(34); + getDescriptor().getMessageTypes().get(35); internal_static_greptime_v1_UnsetFulltext_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_UnsetFulltext_descriptor, new java.lang.String[] { "ColumnName", }); internal_static_greptime_v1_SetInverted_descriptor = - getDescriptor().getMessageTypes().get(35); + getDescriptor().getMessageTypes().get(36); 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(36); + getDescriptor().getMessageTypes().get(37); 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_SetSkipping_descriptor = - getDescriptor().getMessageTypes().get(37); + getDescriptor().getMessageTypes().get(38); internal_static_greptime_v1_SetSkipping_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_SetSkipping_descriptor, new java.lang.String[] { "ColumnName", "Enable", "Granularity", "SkippingIndexType", "FalsePositiveRate", }); internal_static_greptime_v1_UnsetSkipping_descriptor = - getDescriptor().getMessageTypes().get(38); + getDescriptor().getMessageTypes().get(39); internal_static_greptime_v1_UnsetSkipping_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_UnsetSkipping_descriptor, new java.lang.String[] { "ColumnName", }); internal_static_greptime_v1_AlterDatabaseExpr_descriptor = - getDescriptor().getMessageTypes().get(39); + getDescriptor().getMessageTypes().get(40); 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(40); + getDescriptor().getMessageTypes().get(41); 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(41); + getDescriptor().getMessageTypes().get(42); internal_static_greptime_v1_UnsetDatabaseOptions_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_UnsetDatabaseOptions_descriptor, new java.lang.String[] { "Keys", }); internal_static_greptime_v1_CreateTriggerExpr_descriptor = - getDescriptor().getMessageTypes().get(42); + getDescriptor().getMessageTypes().get(43); internal_static_greptime_v1_CreateTriggerExpr_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_CreateTriggerExpr_descriptor, @@ -53727,13 +55056,13 @@ java.lang.String defaultValue); internal_static_greptime_v1_CreateTriggerExpr_AnnotationsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_greptime_v1_NotifyChannel_descriptor = - getDescriptor().getMessageTypes().get(43); + getDescriptor().getMessageTypes().get(44); internal_static_greptime_v1_NotifyChannel_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_NotifyChannel_descriptor, new java.lang.String[] { "Name", "Webhook", "ChannelType", }); internal_static_greptime_v1_WebhookOptions_descriptor = - getDescriptor().getMessageTypes().get(44); + getDescriptor().getMessageTypes().get(45); internal_static_greptime_v1_WebhookOptions_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_WebhookOptions_descriptor, @@ -53745,13 +55074,13 @@ java.lang.String defaultValue); internal_static_greptime_v1_WebhookOptions_OptsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_greptime_v1_DropTriggerExpr_descriptor = - getDescriptor().getMessageTypes().get(45); + getDescriptor().getMessageTypes().get(46); internal_static_greptime_v1_DropTriggerExpr_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_DropTriggerExpr_descriptor, new java.lang.String[] { "CatalogName", "TriggerName", "DropIfExists", }); internal_static_greptime_v1_CommentOnExpr_descriptor = - getDescriptor().getMessageTypes().get(46); + getDescriptor().getMessageTypes().get(47); internal_static_greptime_v1_CommentOnExpr_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_CommentOnExpr_descriptor, diff --git a/proto/greptime/v1/ddl.proto b/proto/greptime/v1/ddl.proto index 41f480b..42a7094 100644 --- a/proto/greptime/v1/ddl.proto +++ b/proto/greptime/v1/ddl.proto @@ -123,6 +123,7 @@ message AlterTableExpr { SetIndexes set_indexes = 15; UnsetIndexes unset_indexes = 16; SetDefaults set_defaults = 17; + Repartition repartition = 18; } } @@ -160,6 +161,15 @@ message UnsetIndex { } } +message Repartition { + // The from partition expressions serialized in JSON format. + repeated string from_partition_exprs = 1; + // The into partition expressions serialized in JSON format. + repeated string into_partition_exprs = 2; + // Wait for the repartition to complete. + bool wait = 3; +} + message DropTableExpr { string catalog_name = 1; string schema_name = 2;