From 7224c2ad6d11db612fbdb621c36135fc37ffce35 Mon Sep 17 00:00:00 2001 From: Weny Xu Date: Tue, 26 May 2026 22:26:59 +0800 Subject: [PATCH] feat(proto): support unpartitioned source in repartition (#319) Signed-off-by: WenyXu --- c++/greptime/v1/ddl.pb.cc | 977 ++++++-- c++/greptime/v1/ddl.pb.h | 814 ++++++- go/greptime/v1/ddl.pb.go | 1377 ++++++----- java/src/main/java/io/greptime/v1/Ddl.java | 2459 +++++++++++++++++--- proto/greptime/v1/ddl.proto | 17 +- src/generated/greptime.v1.rs | 28 +- src/generated/greptime_grpc_desc.bin | Bin 185359 -> 186057 bytes 7 files changed, 4573 insertions(+), 1099 deletions(-) diff --git a/c++/greptime/v1/ddl.pb.cc b/c++/greptime/v1/ddl.pb.cc index e526abf..48e96ad 100644 --- a/c++/greptime/v1/ddl.pb.cc +++ b/c++/greptime/v1/ddl.pb.cc @@ -261,7 +261,9 @@ PROTOBUF_CONSTEXPR Repartition::Repartition( ::_pbi::ConstantInitialized): _impl_{ /*decltype(_impl_.from_partition_exprs_)*/{} , /*decltype(_impl_.into_partition_exprs_)*/{} - , /*decltype(_impl_._cached_size_)*/{}} {} + , /*decltype(_impl_.source_)*/{} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_._oneof_case_)*/{}} {} struct RepartitionDefaultTypeInternal { PROTOBUF_CONSTEXPR RepartitionDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} @@ -271,6 +273,32 @@ struct RepartitionDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RepartitionDefaultTypeInternal _Repartition_default_instance_; +PROTOBUF_CONSTEXPR PartitionExprs::PartitionExprs( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.exprs_)*/{} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct PartitionExprsDefaultTypeInternal { + PROTOBUF_CONSTEXPR PartitionExprsDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~PartitionExprsDefaultTypeInternal() {} + union { + PartitionExprs _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PartitionExprsDefaultTypeInternal _PartitionExprs_default_instance_; +PROTOBUF_CONSTEXPR UnpartitionedSource::UnpartitionedSource( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.partition_columns_)*/{} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct UnpartitionedSourceDefaultTypeInternal { + PROTOBUF_CONSTEXPR UnpartitionedSourceDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~UnpartitionedSourceDefaultTypeInternal() {} + union { + UnpartitionedSource _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UnpartitionedSourceDefaultTypeInternal _UnpartitionedSource_default_instance_; PROTOBUF_CONSTEXPR DropTableExpr::DropTableExpr( ::_pbi::ConstantInitialized): _impl_{ /*decltype(_impl_.catalog_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} @@ -820,7 +848,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[54]; +static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fddl_2eproto[56]; 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; @@ -1009,11 +1037,28 @@ const uint32_t TableStruct_greptime_2fv1_2fddl_2eproto::offsets[] PROTOBUF_SECTI ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::greptime::v1::Repartition, _internal_metadata_), ~0u, // no _extensions_ - ~0u, // no _oneof_case_ + PROTOBUF_FIELD_OFFSET(::greptime::v1::Repartition, _impl_._oneof_case_[0]), ~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_), + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + PROTOBUF_FIELD_OFFSET(::greptime::v1::Repartition, _impl_.source_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::greptime::v1::PartitionExprs, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::greptime::v1::PartitionExprs, _impl_.exprs_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::greptime::v1::UnpartitionedSource, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::greptime::v1::UnpartitionedSource, _impl_.partition_columns_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::greptime::v1::DropTableExpr, _internal_metadata_), ~0u, // no _extensions_ @@ -1372,44 +1417,46 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode { 161, -1, -1, sizeof(::greptime::v1::SetIndex)}, { 171, -1, -1, sizeof(::greptime::v1::UnsetIndex)}, { 181, -1, -1, sizeof(::greptime::v1::Repartition)}, - { 189, -1, -1, sizeof(::greptime::v1::DropTableExpr)}, - { 200, 208, -1, sizeof(::greptime::v1::CreateDatabaseExpr_OptionsEntry_DoNotUse)}, - { 210, -1, -1, sizeof(::greptime::v1::CreateDatabaseExpr)}, - { 220, -1, -1, sizeof(::greptime::v1::TruncateTableExpr)}, - { 231, -1, -1, sizeof(::greptime::v1::DropDatabaseExpr)}, - { 240, -1, -1, sizeof(::greptime::v1::AddColumns)}, - { 247, -1, -1, sizeof(::greptime::v1::DropDefaults)}, - { 254, -1, -1, sizeof(::greptime::v1::SetDefaults)}, - { 261, -1, -1, sizeof(::greptime::v1::DropColumns)}, - { 268, -1, -1, sizeof(::greptime::v1::ModifyColumnTypes)}, - { 275, -1, -1, sizeof(::greptime::v1::RenameTable)}, - { 282, -1, -1, sizeof(::greptime::v1::AddColumn)}, - { 291, -1, -1, sizeof(::greptime::v1::ModifyColumnType)}, - { 300, -1, -1, sizeof(::greptime::v1::Option)}, - { 308, -1, -1, sizeof(::greptime::v1::SetTableOptions)}, - { 315, -1, -1, sizeof(::greptime::v1::UnsetTableOptions)}, - { 322, -1, -1, sizeof(::greptime::v1::DropColumn)}, - { 329, -1, -1, sizeof(::greptime::v1::TableId)}, - { 336, -1, -1, sizeof(::greptime::v1::FlowId)}, - { 343, -1, -1, sizeof(::greptime::v1::ColumnDef)}, - { 357, -1, -1, sizeof(::greptime::v1::AddColumnLocation)}, - { 365, -1, -1, sizeof(::greptime::v1::SetFulltext)}, - { 378, -1, -1, sizeof(::greptime::v1::UnsetFulltext)}, - { 385, -1, -1, sizeof(::greptime::v1::SetInverted)}, - { 392, -1, -1, sizeof(::greptime::v1::UnsetInverted)}, - { 399, -1, -1, sizeof(::greptime::v1::SetSkipping)}, - { 410, -1, -1, sizeof(::greptime::v1::UnsetSkipping)}, - { 417, -1, -1, sizeof(::greptime::v1::AlterDatabaseExpr)}, - { 428, -1, -1, sizeof(::greptime::v1::SetDatabaseOptions)}, - { 435, -1, -1, sizeof(::greptime::v1::UnsetDatabaseOptions)}, - { 442, 450, -1, sizeof(::greptime::v1::CreateTriggerExpr_LabelsEntry_DoNotUse)}, - { 452, 460, -1, sizeof(::greptime::v1::CreateTriggerExpr_AnnotationsEntry_DoNotUse)}, - { 462, -1, -1, sizeof(::greptime::v1::CreateTriggerExpr)}, - { 481, -1, -1, sizeof(::greptime::v1::NotifyChannel)}, - { 490, 498, -1, sizeof(::greptime::v1::WebhookOptions_OptsEntry_DoNotUse)}, - { 500, -1, -1, sizeof(::greptime::v1::WebhookOptions)}, - { 508, -1, -1, sizeof(::greptime::v1::DropTriggerExpr)}, - { 517, -1, -1, sizeof(::greptime::v1::CommentOnExpr)}, + { 192, -1, -1, sizeof(::greptime::v1::PartitionExprs)}, + { 199, -1, -1, sizeof(::greptime::v1::UnpartitionedSource)}, + { 206, -1, -1, sizeof(::greptime::v1::DropTableExpr)}, + { 217, 225, -1, sizeof(::greptime::v1::CreateDatabaseExpr_OptionsEntry_DoNotUse)}, + { 227, -1, -1, sizeof(::greptime::v1::CreateDatabaseExpr)}, + { 237, -1, -1, sizeof(::greptime::v1::TruncateTableExpr)}, + { 248, -1, -1, sizeof(::greptime::v1::DropDatabaseExpr)}, + { 257, -1, -1, sizeof(::greptime::v1::AddColumns)}, + { 264, -1, -1, sizeof(::greptime::v1::DropDefaults)}, + { 271, -1, -1, sizeof(::greptime::v1::SetDefaults)}, + { 278, -1, -1, sizeof(::greptime::v1::DropColumns)}, + { 285, -1, -1, sizeof(::greptime::v1::ModifyColumnTypes)}, + { 292, -1, -1, sizeof(::greptime::v1::RenameTable)}, + { 299, -1, -1, sizeof(::greptime::v1::AddColumn)}, + { 308, -1, -1, sizeof(::greptime::v1::ModifyColumnType)}, + { 317, -1, -1, sizeof(::greptime::v1::Option)}, + { 325, -1, -1, sizeof(::greptime::v1::SetTableOptions)}, + { 332, -1, -1, sizeof(::greptime::v1::UnsetTableOptions)}, + { 339, -1, -1, sizeof(::greptime::v1::DropColumn)}, + { 346, -1, -1, sizeof(::greptime::v1::TableId)}, + { 353, -1, -1, sizeof(::greptime::v1::FlowId)}, + { 360, -1, -1, sizeof(::greptime::v1::ColumnDef)}, + { 374, -1, -1, sizeof(::greptime::v1::AddColumnLocation)}, + { 382, -1, -1, sizeof(::greptime::v1::SetFulltext)}, + { 395, -1, -1, sizeof(::greptime::v1::UnsetFulltext)}, + { 402, -1, -1, sizeof(::greptime::v1::SetInverted)}, + { 409, -1, -1, sizeof(::greptime::v1::UnsetInverted)}, + { 416, -1, -1, sizeof(::greptime::v1::SetSkipping)}, + { 427, -1, -1, sizeof(::greptime::v1::UnsetSkipping)}, + { 434, -1, -1, sizeof(::greptime::v1::AlterDatabaseExpr)}, + { 445, -1, -1, sizeof(::greptime::v1::SetDatabaseOptions)}, + { 452, -1, -1, sizeof(::greptime::v1::UnsetDatabaseOptions)}, + { 459, 467, -1, sizeof(::greptime::v1::CreateTriggerExpr_LabelsEntry_DoNotUse)}, + { 469, 477, -1, sizeof(::greptime::v1::CreateTriggerExpr_AnnotationsEntry_DoNotUse)}, + { 479, -1, -1, sizeof(::greptime::v1::CreateTriggerExpr)}, + { 498, -1, -1, sizeof(::greptime::v1::NotifyChannel)}, + { 507, 515, -1, sizeof(::greptime::v1::WebhookOptions_OptsEntry_DoNotUse)}, + { 517, -1, -1, sizeof(::greptime::v1::WebhookOptions)}, + { 525, -1, -1, sizeof(::greptime::v1::DropTriggerExpr)}, + { 534, -1, -1, sizeof(::greptime::v1::CommentOnExpr)}, }; static const ::_pb::Message* const file_default_instances[] = { @@ -1429,6 +1476,8 @@ static const ::_pb::Message* const file_default_instances[] = { &::greptime::v1::_SetIndex_default_instance_._instance, &::greptime::v1::_UnsetIndex_default_instance_._instance, &::greptime::v1::_Repartition_default_instance_._instance, + &::greptime::v1::_PartitionExprs_default_instance_._instance, + &::greptime::v1::_UnpartitionedSource_default_instance_._instance, &::greptime::v1::_DropTableExpr_default_instance_._instance, &::greptime::v1::_CreateDatabaseExpr_OptionsEntry_DoNotUse_default_instance_._instance, &::greptime::v1::_CreateDatabaseExpr_default_instance_._instance, @@ -1554,112 +1603,118 @@ const char descriptor_table_protodef_greptime_2fv1_2fddl_2eproto[] PROTOBUF_SECT "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\"I\n\013Reparti" - "tion\022\034\n\024from_partition_exprs\030\001 \003(\t\022\034\n\024in" - "to_partition_exprs\030\002 \003(\t\"\216\001\n\rDropTableEx" - "pr\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_exi" - "sts\030\005 \001(\010\"\314\001\n\022CreateDatabaseExpr\022\024\n\014cata" - "log_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\034\n\024c" - "reate_if_not_exists\030\003 \001(\010\022=\n\007options\030\004 \003" - "(\0132,.greptime.v1.CreateDatabaseExpr.Opti" - "onsEntry\032.\n\014OptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" - "\005value\030\002 \001(\t:\0028\001\"\250\001\n\021TruncateTableExpr\022\024" + "v1.UnsetSkippingH\000B\t\n\007options\"\312\001\n\013Repart" + "ition\022 \n\024from_partition_exprs\030\001 \003(\tB\002\030\001\022" + "\034\n\024into_partition_exprs\030\002 \003(\t\0226\n\017partiti" + "on_exprs\030\003 \001(\0132\033.greptime.v1.PartitionEx" + "prsH\000\0229\n\runpartitioned\030\004 \001(\0132 .greptime." + "v1.UnpartitionedSourceH\000B\010\n\006source\"\037\n\016Pa" + "rtitionExprs\022\r\n\005exprs\030\001 \003(\t\"0\n\023Unpartiti" + "onedSource\022\031\n\021partition_columns\030\001 \003(\t\"\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\022CreateDatabas" + "eExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_na" + "me\030\002 \001(\t\022\034\n\024create_if_not_exists\030\003 \001(\010\022=" + "\n\007options\030\004 \003(\0132,.greptime.v1.CreateData" + "baseExpr.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\021Trunca" + "teTableExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013sch" + "ema_name\030\002 \001(\t\022\022\n\ntable_name\030\003 \001(\t\022&\n\010ta" + "ble_id\030\004 \001(\0132\024.greptime.v1.TableId\022,\n\013ti" + "me_ranges\030\005 \001(\0132\027.greptime.v1.TimeRanges" + "\"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_exist" + "s\030\003 \001(\010\"9\n\nAddColumns\022+\n\013add_columns\030\001 \003" + "(\0132\026.greptime.v1.AddColumn\"\?\n\014DropDefaul" + "ts\022/\n\rdrop_defaults\030\001 \003(\0132\030.greptime.v1." + "DropDefault\"<\n\013SetDefaults\022-\n\014set_defaul" + "ts\030\001 \003(\0132\027.greptime.v1.SetDefault\"<\n\013Dro" + "pColumns\022-\n\014drop_columns\030\001 \003(\0132\027.greptim" + "e.v1.DropColumn\"O\n\021ModifyColumnTypes\022:\n\023" + "modify_column_types\030\001 \003(\0132\035.greptime.v1." + "ModifyColumnType\"%\n\013RenameTable\022\026\n\016new_t" + "able_name\030\001 \001(\t\"\204\001\n\tAddColumn\022*\n\ncolumn_" + "def\030\001 \001(\0132\026.greptime.v1.ColumnDef\0220\n\010loc" + "ation\030\003 \001(\0132\036.greptime.v1.AddColumnLocat" + "ion\022\031\n\021add_if_not_exists\030\004 \001(\010\"\236\001\n\020Modif" + "yColumnType\022\023\n\013column_name\030\001 \001(\t\0220\n\013targ" + "et_type\030\002 \001(\0162\033.greptime.v1.ColumnDataTy" + "pe\022C\n\025target_type_extension\030\003 \001(\0132$.grep" + "time.v1.ColumnDataTypeExtension\"$\n\006Optio" + "n\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"=\n\017SetTabl" + "eOptions\022*\n\rtable_options\030\001 \003(\0132\023.grepti" + "me.v1.Option\"!\n\021UnsetTableOptions\022\014\n\004key" + "s\030\001 \003(\t\"\032\n\nDropColumn\022\014\n\004name\030\001 \001(\t\"\025\n\007T" + "ableId\022\n\n\002id\030\001 \001(\r\"\024\n\006FlowId\022\n\n\002id\030\001 \001(\r" + "\"\254\002\n\tColumnDef\022\014\n\004name\030\001 \001(\t\022.\n\tdata_typ" + "e\030\002 \001(\0162\033.greptime.v1.ColumnDataType\022\023\n\013" + "is_nullable\030\003 \001(\010\022\032\n\022default_constraint\030" + "\004 \001(\014\0220\n\rsemantic_type\030\005 \001(\0162\031.greptime." + "v1.SemanticType\022\017\n\007comment\030\006 \001(\t\022@\n\022data" + "type_extension\030\007 \001(\0132$.greptime.v1.Colum" + "nDataTypeExtension\022+\n\007options\030\010 \001(\0132\032.gr" + "eptime.v1.ColumnOptions\"\230\001\n\021AddColumnLoc" + "ation\022B\n\rlocation_type\030\001 \001(\0162+.greptime." + "v1.AddColumnLocation.LocationType\022\031\n\021aft" + "er_column_name\030\002 \001(\t\"$\n\014LocationType\022\t\n\005" + "FIRST\020\000\022\t\n\005AFTER\020\001\"\324\001\n\013SetFulltext\022\023\n\013co" + "lumn_name\030\001 \001(\t\022\016\n\006enable\030\002 \001(\010\022\'\n\010analy" + "zer\030\003 \001(\0162\025.greptime.v1.Analyzer\022\026\n\016case" + "_sensitive\030\004 \001(\010\022-\n\007backend\030\005 \001(\0162\034.grep" + "time.v1.FulltextBackend\022\023\n\013granularity\030\006" + " \001(\004\022\033\n\023false_positive_rate\030\007 \001(\001\"$\n\rUns" + "etFulltext\022\023\n\013column_name\030\001 \001(\t\"\"\n\013SetIn" + "verted\022\023\n\013column_name\030\001 \001(\t\"$\n\rUnsetInve" + "rted\022\023\n\013column_name\030\001 \001(\t\"\241\001\n\013SetSkippin" + "g\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_ty" + "pe\030\004 \001(\0162\036.greptime.v1.SkippingIndexType" + "\022\033\n\023false_positive_rate\030\005 \001(\001\"$\n\rUnsetSk" + "ipping\022\023\n\013column_name\030\001 \001(\t\"\314\001\n\021AlterDat" + "abaseExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schem" + "a_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!.greptime" + ".v1.UnsetDatabaseOptionsH\000B\006\n\004kind\"G\n\022Se" + "tDatabaseOptions\0221\n\024set_database_options" + "\030\001 \003(\0132\023.greptime.v1.Option\"$\n\024UnsetData" + "baseOptions\022\014\n\004keys\030\001 \003(\t\"\331\004\n\021CreateTrig" + "gerExpr\022\024\n\014catalog_name\030\001 \001(\t\022\024\n\014trigger" + "_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.grept" + "ime.v1.NotifyChannel\022:\n\006labels\030\006 \003(\0132*.g" + "reptime.v1.CreateTriggerExpr.LabelsEntry" + "\022D\n\013annotations\030\007 \003(\0132/.greptime.v1.Crea" + "teTriggerExpr.AnnotationsEntry\022+\n\010interv" + "al\030\010 \001(\0132\031.google.protobuf.Duration\022\031\n\021r" + "aw_interval_expr\030\t \001(\t\022&\n\003for\030\n \001(\0132\031.go" + "ogle.protobuf.Duration\022\024\n\014for_raw_expr\030\013" + " \001(\t\0222\n\017keep_firing_for\030\014 \001(\0132\031.google.p" + "rotobuf.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\rNotifyC" + "hannel\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\004o" + "pts\030\002 \003(\0132%.greptime.v1.WebhookOptions.O" + "ptsEntry\032+\n\tOptsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" + "lue\030\002 \001(\t:\0028\001\"U\n\017DropTriggerExpr\022\024\n\014cata" + "log_name\030\001 \001(\t\022\024\n\014trigger_name\030\002 \001(\t\022\026\n\016" + "drop_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\022\022\n\ntable_name\030\003 \001(\t\022&\n\010table_id\030\004 \001(\0132" - "\024.greptime.v1.TableId\022,\n\013time_ranges\030\005 \001" - "(\0132\027.greptime.v1.TimeRanges\"U\n\020DropDatab" - "aseExpr\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\nAd" - "dColumns\022+\n\013add_columns\030\001 \003(\0132\026.greptime" - ".v1.AddColumn\"\?\n\014DropDefaults\022/\n\rdrop_de" - "faults\030\001 \003(\0132\030.greptime.v1.DropDefault\"<" - "\n\013SetDefaults\022-\n\014set_defaults\030\001 \003(\0132\027.gr" - "eptime.v1.SetDefault\"<\n\013DropColumns\022-\n\014d" - "rop_columns\030\001 \003(\0132\027.greptime.v1.DropColu" - "mn\"O\n\021ModifyColumnTypes\022:\n\023modify_column" - "_types\030\001 \003(\0132\035.greptime.v1.ModifyColumnT" - "ype\"%\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.g" - "reptime.v1.ColumnDef\0220\n\010location\030\003 \001(\0132\036" - ".greptime.v1.AddColumnLocation\022\031\n\021add_if" - "_not_exists\030\004 \001(\010\"\236\001\n\020ModifyColumnType\022\023" - "\n\013column_name\030\001 \001(\t\0220\n\013target_type\030\002 \001(\016" - "2\033.greptime.v1.ColumnDataType\022C\n\025target_" - "type_extension\030\003 \001(\0132$.greptime.v1.Colum" - "nDataTypeExtension\"$\n\006Option\022\013\n\003key\030\001 \001(" - "\t\022\r\n\005value\030\002 \001(\t\"=\n\017SetTableOptions\022*\n\rt" - "able_options\030\001 \003(\0132\023.greptime.v1.Option\"" - "!\n\021UnsetTableOptions\022\014\n\004keys\030\001 \003(\t\"\032\n\nDr" - "opColumn\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\tColumnDe" - "f\022\014\n\004name\030\001 \001(\t\022.\n\tdata_type\030\002 \001(\0162\033.gre" - "ptime.v1.ColumnDataType\022\023\n\013is_nullable\030\003" - " \001(\010\022\032\n\022default_constraint\030\004 \001(\014\0220\n\rsema" - "ntic_type\030\005 \001(\0162\031.greptime.v1.SemanticTy" - "pe\022\017\n\007comment\030\006 \001(\t\022@\n\022datatype_extensio" - "n\030\007 \001(\0132$.greptime.v1.ColumnDataTypeExte" - "nsion\022+\n\007options\030\010 \001(\0132\032.greptime.v1.Col" - "umnOptions\"\230\001\n\021AddColumnLocation\022B\n\rloca" - "tion_type\030\001 \001(\0162+.greptime.v1.AddColumnL" - "ocation.LocationType\022\031\n\021after_column_nam" - "e\030\002 \001(\t\"$\n\014LocationType\022\t\n\005FIRST\020\000\022\t\n\005AF" - "TER\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.g" - "reptime.v1.Analyzer\022\026\n\016case_sensitive\030\004 " - "\001(\010\022-\n\007backend\030\005 \001(\0162\034.greptime.v1.Fullt" - "extBackend\022\023\n\013granularity\030\006 \001(\004\022\033\n\023false" - "_positive_rate\030\007 \001(\001\"$\n\rUnsetFulltext\022\023\n" - "\013column_name\030\001 \001(\t\"\"\n\013SetInverted\022\023\n\013col" - "umn_name\030\001 \001(\t\"$\n\rUnsetInverted\022\023\n\013colum" - "n_name\030\001 \001(\t\"\241\001\n\013SetSkipping\022\023\n\013column_n" - "ame\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.gr" - "eptime.v1.SkippingIndexType\022\033\n\023false_pos" - "itive_rate\030\005 \001(\001\"$\n\rUnsetSkipping\022\023\n\013col" - "umn_name\030\001 \001(\t\"\314\001\n\021AlterDatabaseExpr\022\024\n\014" - "catalog_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022" - "\?\n\024set_database_options\030\003 \001(\0132\037.greptime" - ".v1.SetDatabaseOptionsH\000\022C\n\026unset_databa" - "se_options\030\004 \001(\0132!.greptime.v1.UnsetData" - "baseOptionsH\000B\006\n\004kind\"G\n\022SetDatabaseOpti" - "ons\0221\n\024set_database_options\030\001 \003(\0132\023.grep" - "time.v1.Option\"$\n\024UnsetDatabaseOptions\022\014" - "\n\004keys\030\001 \003(\t\"\331\004\n\021CreateTriggerExpr\022\024\n\014ca" - "talog_name\030\001 \001(\t\022\024\n\014trigger_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.greptime.v1.Notify" - "Channel\022:\n\006labels\030\006 \003(\0132*.greptime.v1.Cr" - "eateTriggerExpr.LabelsEntry\022D\n\013annotatio" - "ns\030\007 \003(\0132/.greptime.v1.CreateTriggerExpr" - ".AnnotationsEntry\022+\n\010interval\030\010 \001(\0132\031.go" - "ogle.protobuf.Duration\022\031\n\021raw_interval_e" - "xpr\030\t \001(\t\022&\n\003for\030\n \001(\0132\031.google.protobuf" - ".Duration\022\024\n\014for_raw_expr\030\013 \001(\t\0222\n\017keep_" - "firing_for\030\014 \001(\0132\031.google.protobuf.Durat" - "ion\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\rNotifyChannel\022\014\n\004nam" - "e\030\001 \001(\t\022.\n\007webhook\030\002 \001(\0132\033.greptime.v1.W" - "ebhookOptionsH\000B\016\n\014channel_type\"\177\n\016Webho" - "okOptions\022\013\n\003url\030\001 \001(\t\0223\n\004opts\030\002 \003(\0132%.g" - "reptime.v1.WebhookOptions.OptsEntry\032+\n\tO" - "ptsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" - "\"U\n\017DropTriggerExpr\022\024\n\014catalog_name\030\001 \001(" - "\t\022\024\n\014trigger_name\030\002 \001(\t\022\026\n\016drop_if_exist" - "s\030\003 \001(\010\"\252\001\n\rCommentOnExpr\022\024\n\014catalog_nam" - "e\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\0223\n\013object_t" - "ype\030\003 \001(\0162\036.greptime.v1.CommentObjectTyp" - "e\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\007ENGL" - "ISH\020\000\022\013\n\007CHINESE\020\001*)\n\017FulltextBackend\022\013\n" - "\007TANTIVY\020\000\022\t\n\005BLOOM\020\001*%\n\021SkippingIndexTy" - "pe\022\020\n\014BLOOM_FILTER\020\000*4\n\021CommentObjectTyp" - "e\022\t\n\005TABLE\020\000\022\n\n\006COLUMN\020\001\022\010\n\004FLOW\020\002BL\n\016io" - ".greptime.v1B\003DdlZ5github.com/GreptimeTe" - "am/greptime-proto/go/greptime/v1b\006proto3" + "\t\0223\n\013object_type\030\003 \001(\0162\036.greptime.v1.Com" + "mentObjectType\022\023\n\013object_name\030\004 \001(\t\022\023\n\013c" + "olumn_name\030\005 \001(\t\022\017\n\007comment\030\006 \001(\t*$\n\010Ana" + "lyzer\022\013\n\007ENGLISH\020\000\022\013\n\007CHINESE\020\001*)\n\017Fullt" + "extBackend\022\013\n\007TANTIVY\020\000\022\t\n\005BLOOM\020\001*%\n\021Sk" + "ippingIndexType\022\020\n\014BLOOM_FILTER\020\000*4\n\021Com" + "mentObjectType\022\t\n\005TABLE\020\000\022\n\n\006COLUMN\020\001\022\010\n" + "\004FLOW\020\002BL\n\016io.greptime.v1B\003DdlZ5github.c" + "om/GreptimeTeam/greptime-proto/go/grepti" + "me/v1b\006proto3" ; static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fddl_2eproto_deps[2] = { &::descriptor_table_google_2fprotobuf_2fduration_2eproto, @@ -1667,9 +1722,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, 7600, descriptor_table_protodef_greptime_2fv1_2fddl_2eproto, + false, false, 7813, 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, 54, + &descriptor_table_greptime_2fv1_2fddl_2eproto_once, descriptor_table_greptime_2fv1_2fddl_2eproto_deps, 2, 56, 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, @@ -7862,8 +7917,48 @@ void UnsetIndex::InternalSwap(UnsetIndex* other) { class Repartition::_Internal { public: + static const ::greptime::v1::PartitionExprs& partition_exprs(const Repartition* msg); + static const ::greptime::v1::UnpartitionedSource& unpartitioned(const Repartition* msg); }; +const ::greptime::v1::PartitionExprs& +Repartition::_Internal::partition_exprs(const Repartition* msg) { + return *msg->_impl_.source_.partition_exprs_; +} +const ::greptime::v1::UnpartitionedSource& +Repartition::_Internal::unpartitioned(const Repartition* msg) { + return *msg->_impl_.source_.unpartitioned_; +} +void Repartition::set_allocated_partition_exprs(::greptime::v1::PartitionExprs* partition_exprs) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + clear_source(); + if (partition_exprs) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(partition_exprs); + if (message_arena != submessage_arena) { + partition_exprs = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, partition_exprs, submessage_arena); + } + set_has_partition_exprs(); + _impl_.source_.partition_exprs_ = partition_exprs; + } + // @@protoc_insertion_point(field_set_allocated:greptime.v1.Repartition.partition_exprs) +} +void Repartition::set_allocated_unpartitioned(::greptime::v1::UnpartitionedSource* unpartitioned) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + clear_source(); + if (unpartitioned) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(unpartitioned); + if (message_arena != submessage_arena) { + unpartitioned = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, unpartitioned, submessage_arena); + } + set_has_unpartitioned(); + _impl_.source_.unpartitioned_ = unpartitioned; + } + // @@protoc_insertion_point(field_set_allocated:greptime.v1.Repartition.unpartitioned) +} Repartition::Repartition(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -7876,9 +7971,27 @@ Repartition::Repartition(const Repartition& from) 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_._cached_size_)*/{}}; + , decltype(_impl_.source_){} + , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_._oneof_case_)*/{}}; _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + clear_has_source(); + switch (from.source_case()) { + case kPartitionExprs: { + _this->_internal_mutable_partition_exprs()->::greptime::v1::PartitionExprs::MergeFrom( + from._internal_partition_exprs()); + break; + } + case kUnpartitioned: { + _this->_internal_mutable_unpartitioned()->::greptime::v1::UnpartitionedSource::MergeFrom( + from._internal_unpartitioned()); + break; + } + case SOURCE_NOT_SET: { + break; + } + } // @@protoc_insertion_point(copy_constructor:greptime.v1.Repartition) } @@ -7889,8 +8002,11 @@ inline void Repartition::SharedCtor( new (&_impl_) Impl_{ decltype(_impl_.from_partition_exprs_){arena} , decltype(_impl_.into_partition_exprs_){arena} + , decltype(_impl_.source_){} , /*decltype(_impl_._cached_size_)*/{} + , /*decltype(_impl_._oneof_case_)*/{} }; + clear_has_source(); } Repartition::~Repartition() { @@ -7906,12 +8022,38 @@ inline void Repartition::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); _impl_.from_partition_exprs_.~RepeatedPtrField(); _impl_.into_partition_exprs_.~RepeatedPtrField(); + if (has_source()) { + clear_source(); + } } void Repartition::SetCachedSize(int size) const { _impl_._cached_size_.Set(size); } +void Repartition::clear_source() { +// @@protoc_insertion_point(one_of_clear_start:greptime.v1.Repartition) + switch (source_case()) { + case kPartitionExprs: { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.source_.partition_exprs_; + } + break; + } + case kUnpartitioned: { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.source_.unpartitioned_; + } + break; + } + case SOURCE_NOT_SET: { + break; + } + } + _impl_._oneof_case_[0] = SOURCE_NOT_SET; +} + + void Repartition::Clear() { // @@protoc_insertion_point(message_clear_start:greptime.v1.Repartition) uint32_t cached_has_bits = 0; @@ -7920,6 +8062,7 @@ void Repartition::Clear() { _impl_.from_partition_exprs_.Clear(); _impl_.into_partition_exprs_.Clear(); + clear_source(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -7929,7 +8072,7 @@ const char* Repartition::_InternalParse(const char* ptr, ::_pbi::ParseContext* c uint32_t tag; ptr = ::_pbi::ReadTag(ptr, &tag); switch (tag >> 3) { - // repeated string from_partition_exprs = 1; + // repeated string from_partition_exprs = 1 [deprecated = true]; case 1: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { ptr -= 1; @@ -7959,6 +8102,22 @@ const char* Repartition::_InternalParse(const char* ptr, ::_pbi::ParseContext* c } else goto handle_unusual; continue; + // .greptime.v1.PartitionExprs partition_exprs = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_partition_exprs(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + // .greptime.v1.UnpartitionedSource unpartitioned = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_unpartitioned(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -7988,7 +8147,7 @@ uint8_t* Repartition::_InternalSerialize( uint32_t cached_has_bits = 0; (void) cached_has_bits; - // repeated string from_partition_exprs = 1; + // repeated string from_partition_exprs = 1 [deprecated = true]; 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( @@ -8008,6 +8167,20 @@ uint8_t* Repartition::_InternalSerialize( target = stream->WriteString(2, s, target); } + // .greptime.v1.PartitionExprs partition_exprs = 3; + if (_internal_has_partition_exprs()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::partition_exprs(this), + _Internal::partition_exprs(this).GetCachedSize(), target, stream); + } + + // .greptime.v1.UnpartitionedSource unpartitioned = 4; + if (_internal_has_unpartitioned()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(4, _Internal::unpartitioned(this), + _Internal::unpartitioned(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); @@ -8024,7 +8197,7 @@ size_t Repartition::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; - // repeated string from_partition_exprs = 1; + // repeated string from_partition_exprs = 1 [deprecated = true]; 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++) { @@ -8040,6 +8213,25 @@ size_t Repartition::ByteSizeLong() const { _impl_.into_partition_exprs_.Get(i)); } + switch (source_case()) { + // .greptime.v1.PartitionExprs partition_exprs = 3; + case kPartitionExprs: { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.source_.partition_exprs_); + break; + } + // .greptime.v1.UnpartitionedSource unpartitioned = 4; + case kUnpartitioned: { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.source_.unpartitioned_); + break; + } + case SOURCE_NOT_SET: { + break; + } + } return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); } @@ -8060,6 +8252,21 @@ void Repartition::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PR _this->_impl_.from_partition_exprs_.MergeFrom(from._impl_.from_partition_exprs_); _this->_impl_.into_partition_exprs_.MergeFrom(from._impl_.into_partition_exprs_); + switch (from.source_case()) { + case kPartitionExprs: { + _this->_internal_mutable_partition_exprs()->::greptime::v1::PartitionExprs::MergeFrom( + from._internal_partition_exprs()); + break; + } + case kUnpartitioned: { + _this->_internal_mutable_unpartitioned()->::greptime::v1::UnpartitionedSource::MergeFrom( + from._internal_unpartitioned()); + break; + } + case SOURCE_NOT_SET: { + break; + } + } _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); } @@ -8079,6 +8286,8 @@ void Repartition::InternalSwap(Repartition* other) { _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_.source_, other->_impl_.source_); + swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); } ::PROTOBUF_NAMESPACE_ID::Metadata Repartition::GetMetadata() const { @@ -8089,6 +8298,386 @@ void Repartition::InternalSwap(Repartition* other) { // =================================================================== +class PartitionExprs::_Internal { + public: +}; + +PartitionExprs::PartitionExprs(::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.PartitionExprs) +} +PartitionExprs::PartitionExprs(const PartitionExprs& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + PartitionExprs* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.exprs_){from._impl_.exprs_} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:greptime.v1.PartitionExprs) +} + +inline void PartitionExprs::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.exprs_){arena} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +PartitionExprs::~PartitionExprs() { + // @@protoc_insertion_point(destructor:greptime.v1.PartitionExprs) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void PartitionExprs::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.exprs_.~RepeatedPtrField(); +} + +void PartitionExprs::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void PartitionExprs::Clear() { +// @@protoc_insertion_point(message_clear_start:greptime.v1.PartitionExprs) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.exprs_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* PartitionExprs::_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 exprs = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_exprs(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "greptime.v1.PartitionExprs.exprs")); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(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* PartitionExprs::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:greptime.v1.PartitionExprs) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated string exprs = 1; + for (int i = 0, n = this->_internal_exprs_size(); i < n; i++) { + const auto& s = this->_internal_exprs(i); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + s.data(), static_cast(s.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "greptime.v1.PartitionExprs.exprs"); + target = stream->WriteString(1, s, 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.PartitionExprs) + return target; +} + +size_t PartitionExprs::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:greptime.v1.PartitionExprs) + 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 exprs = 1; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.exprs_.size()); + for (int i = 0, n = _impl_.exprs_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + _impl_.exprs_.Get(i)); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PartitionExprs::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + PartitionExprs::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PartitionExprs::GetClassData() const { return &_class_data_; } + + +void PartitionExprs::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.PartitionExprs) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.exprs_.MergeFrom(from._impl_.exprs_); + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void PartitionExprs::CopyFrom(const PartitionExprs& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.PartitionExprs) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool PartitionExprs::IsInitialized() const { + return true; +} + +void PartitionExprs::InternalSwap(PartitionExprs* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.exprs_.InternalSwap(&other->_impl_.exprs_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata PartitionExprs::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]); +} + +// =================================================================== + +class UnpartitionedSource::_Internal { + public: +}; + +UnpartitionedSource::UnpartitionedSource(::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.UnpartitionedSource) +} +UnpartitionedSource::UnpartitionedSource(const UnpartitionedSource& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + UnpartitionedSource* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.partition_columns_){from._impl_.partition_columns_} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + // @@protoc_insertion_point(copy_constructor:greptime.v1.UnpartitionedSource) +} + +inline void UnpartitionedSource::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.partition_columns_){arena} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +UnpartitionedSource::~UnpartitionedSource() { + // @@protoc_insertion_point(destructor:greptime.v1.UnpartitionedSource) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void UnpartitionedSource::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.partition_columns_.~RepeatedPtrField(); +} + +void UnpartitionedSource::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void UnpartitionedSource::Clear() { +// @@protoc_insertion_point(message_clear_start:greptime.v1.UnpartitionedSource) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.partition_columns_.Clear(); + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* UnpartitionedSource::_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 partition_columns = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + auto str = _internal_add_partition_columns(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "greptime.v1.UnpartitionedSource.partition_columns")); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(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* UnpartitionedSource::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:greptime.v1.UnpartitionedSource) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // repeated string partition_columns = 1; + for (int i = 0, n = this->_internal_partition_columns_size(); i < n; i++) { + const auto& s = this->_internal_partition_columns(i); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + s.data(), static_cast(s.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "greptime.v1.UnpartitionedSource.partition_columns"); + target = stream->WriteString(1, s, 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.UnpartitionedSource) + return target; +} + +size_t UnpartitionedSource::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:greptime.v1.UnpartitionedSource) + 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 partition_columns = 1; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(_impl_.partition_columns_.size()); + for (int i = 0, n = _impl_.partition_columns_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + _impl_.partition_columns_.Get(i)); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData UnpartitionedSource::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + UnpartitionedSource::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*UnpartitionedSource::GetClassData() const { return &_class_data_; } + + +void UnpartitionedSource::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.UnpartitionedSource) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_impl_.partition_columns_.MergeFrom(from._impl_.partition_columns_); + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void UnpartitionedSource::CopyFrom(const UnpartitionedSource& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.UnpartitionedSource) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool UnpartitionedSource::IsInitialized() const { + return true; +} + +void UnpartitionedSource::InternalSwap(UnpartitionedSource* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.partition_columns_.InternalSwap(&other->_impl_.partition_columns_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata UnpartitionedSource::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]); +} + +// =================================================================== + class DropTableExpr::_Internal { public: static const ::greptime::v1::TableId& table_id(const DropTableExpr* msg); @@ -8460,7 +9049,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[16]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[18]); } // =================================================================== @@ -8474,7 +9063,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[17]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[19]); } // =================================================================== @@ -8822,7 +9411,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[18]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[20]); } // =================================================================== @@ -9219,7 +9808,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[19]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[21]); } // =================================================================== @@ -9499,7 +10088,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[20]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[22]); } // =================================================================== @@ -9684,7 +10273,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[21]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[23]); } // =================================================================== @@ -9869,7 +10458,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[22]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[24]); } // =================================================================== @@ -10054,7 +10643,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[23]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[25]); } // =================================================================== @@ -10239,7 +10828,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[24]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[26]); } // =================================================================== @@ -10424,7 +11013,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[25]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[27]); } // =================================================================== @@ -10627,7 +11216,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[26]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[28]); } // =================================================================== @@ -10892,7 +11481,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[27]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[29]); } // =================================================================== @@ -11177,7 +11766,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[28]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[30]); } // =================================================================== @@ -11430,7 +12019,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[29]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[31]); } // =================================================================== @@ -11615,7 +12204,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[30]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[32]); } // =================================================================== @@ -11805,7 +12394,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[31]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[33]); } // =================================================================== @@ -12008,7 +12597,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[32]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[34]); } // =================================================================== @@ -12186,7 +12775,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[33]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[35]); } // =================================================================== @@ -12364,7 +12953,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[34]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[36]); } // =================================================================== @@ -12846,7 +13435,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[35]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[37]); } // =================================================================== @@ -13079,7 +13668,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[36]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[38]); } // =================================================================== @@ -13456,7 +14045,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[37]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[39]); } // =================================================================== @@ -13659,7 +14248,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[38]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[40]); } // =================================================================== @@ -13862,7 +14451,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[39]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[41]); } // =================================================================== @@ -14065,7 +14654,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[40]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[42]); } // =================================================================== @@ -14391,7 +14980,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[41]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[43]); } // =================================================================== @@ -14594,7 +15183,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[42]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[44]); } // =================================================================== @@ -15001,7 +15590,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[43]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[45]); } // =================================================================== @@ -15186,7 +15775,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[44]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[46]); } // =================================================================== @@ -15376,7 +15965,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[45]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[47]); } // =================================================================== @@ -15390,7 +15979,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[46]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[48]); } // =================================================================== @@ -15404,7 +15993,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[47]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[49]); } // =================================================================== @@ -16193,7 +16782,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[48]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[50]); } // =================================================================== @@ -16492,7 +17081,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[49]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[51]); } // =================================================================== @@ -16506,7 +17095,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[50]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[52]); } // =================================================================== @@ -16777,7 +17366,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[51]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[53]); } // =================================================================== @@ -17057,7 +17646,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[52]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[54]); } // =================================================================== @@ -17490,7 +18079,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[53]); + file_level_metadata_greptime_2fv1_2fddl_2eproto[55]); } // @@protoc_insertion_point(namespace_scope) @@ -17561,6 +18150,14 @@ 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::PartitionExprs* +Arena::CreateMaybeMessage< ::greptime::v1::PartitionExprs >(Arena* arena) { + return Arena::CreateMessageInternal< ::greptime::v1::PartitionExprs >(arena); +} +template<> PROTOBUF_NOINLINE ::greptime::v1::UnpartitionedSource* +Arena::CreateMaybeMessage< ::greptime::v1::UnpartitionedSource >(Arena* arena) { + return Arena::CreateMessageInternal< ::greptime::v1::UnpartitionedSource >(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 ed2071f..376c92f 100644 --- a/c++/greptime/v1/ddl.pb.h +++ b/c++/greptime/v1/ddl.pb.h @@ -148,6 +148,9 @@ extern NotifyChannelDefaultTypeInternal _NotifyChannel_default_instance_; class Option; struct OptionDefaultTypeInternal; extern OptionDefaultTypeInternal _Option_default_instance_; +class PartitionExprs; +struct PartitionExprsDefaultTypeInternal; +extern PartitionExprsDefaultTypeInternal _PartitionExprs_default_instance_; class RenameTable; struct RenameTableDefaultTypeInternal; extern RenameTableDefaultTypeInternal _RenameTable_default_instance_; @@ -187,6 +190,9 @@ extern TableIdDefaultTypeInternal _TableId_default_instance_; class TruncateTableExpr; struct TruncateTableExprDefaultTypeInternal; extern TruncateTableExprDefaultTypeInternal _TruncateTableExpr_default_instance_; +class UnpartitionedSource; +struct UnpartitionedSourceDefaultTypeInternal; +extern UnpartitionedSourceDefaultTypeInternal _UnpartitionedSource_default_instance_; class UnsetDatabaseOptions; struct UnsetDatabaseOptionsDefaultTypeInternal; extern UnsetDatabaseOptionsDefaultTypeInternal _UnsetDatabaseOptions_default_instance_; @@ -249,6 +255,7 @@ template<> ::greptime::v1::ModifyColumnType* Arena::CreateMaybeMessage<::greptim template<> ::greptime::v1::ModifyColumnTypes* Arena::CreateMaybeMessage<::greptime::v1::ModifyColumnTypes>(Arena*); template<> ::greptime::v1::NotifyChannel* Arena::CreateMaybeMessage<::greptime::v1::NotifyChannel>(Arena*); template<> ::greptime::v1::Option* Arena::CreateMaybeMessage<::greptime::v1::Option>(Arena*); +template<> ::greptime::v1::PartitionExprs* Arena::CreateMaybeMessage<::greptime::v1::PartitionExprs>(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*); @@ -262,6 +269,7 @@ template<> ::greptime::v1::SetSkipping* Arena::CreateMaybeMessage<::greptime::v1 template<> ::greptime::v1::SetTableOptions* Arena::CreateMaybeMessage<::greptime::v1::SetTableOptions>(Arena*); template<> ::greptime::v1::TableId* Arena::CreateMaybeMessage<::greptime::v1::TableId>(Arena*); template<> ::greptime::v1::TruncateTableExpr* Arena::CreateMaybeMessage<::greptime::v1::TruncateTableExpr>(Arena*); +template<> ::greptime::v1::UnpartitionedSource* Arena::CreateMaybeMessage<::greptime::v1::UnpartitionedSource>(Arena*); template<> ::greptime::v1::UnsetDatabaseOptions* Arena::CreateMaybeMessage<::greptime::v1::UnsetDatabaseOptions>(Arena*); template<> ::greptime::v1::UnsetFulltext* Arena::CreateMaybeMessage<::greptime::v1::UnsetFulltext>(Arena*); template<> ::greptime::v1::UnsetIndex* Arena::CreateMaybeMessage<::greptime::v1::UnsetIndex>(Arena*); @@ -3845,6 +3853,12 @@ class Repartition final : static const Repartition& default_instance() { return *internal_default_instance(); } + enum SourceCase { + kPartitionExprs = 3, + kUnpartitioned = 4, + SOURCE_NOT_SET = 0, + }; + static inline const Repartition* internal_default_instance() { return reinterpret_cast( &_Repartition_default_instance_); @@ -3925,26 +3939,28 @@ class Repartition final : enum : int { kFromPartitionExprsFieldNumber = 1, kIntoPartitionExprsFieldNumber = 2, + kPartitionExprsFieldNumber = 3, + kUnpartitionedFieldNumber = 4, }; - // repeated string from_partition_exprs = 1; - int from_partition_exprs_size() const; + // repeated string from_partition_exprs = 1 [deprecated = true]; + PROTOBUF_DEPRECATED 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(); + PROTOBUF_DEPRECATED void clear_from_partition_exprs(); + PROTOBUF_DEPRECATED const std::string& from_partition_exprs(int index) const; + PROTOBUF_DEPRECATED std::string* mutable_from_partition_exprs(int index); + PROTOBUF_DEPRECATED void set_from_partition_exprs(int index, const std::string& value); + PROTOBUF_DEPRECATED void set_from_partition_exprs(int index, std::string&& value); + PROTOBUF_DEPRECATED void set_from_partition_exprs(int index, const char* value); + PROTOBUF_DEPRECATED void set_from_partition_exprs(int index, const char* value, size_t size); + PROTOBUF_DEPRECATED std::string* add_from_partition_exprs(); + PROTOBUF_DEPRECATED void add_from_partition_exprs(const std::string& value); + PROTOBUF_DEPRECATED void add_from_partition_exprs(std::string&& value); + PROTOBUF_DEPRECATED void add_from_partition_exprs(const char* value); + PROTOBUF_DEPRECATED void add_from_partition_exprs(const char* value, size_t size); + PROTOBUF_DEPRECATED const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& from_partition_exprs() const; + PROTOBUF_DEPRECATED ::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(); @@ -3974,9 +3990,52 @@ class Repartition final : std::string* _internal_add_into_partition_exprs(); public: + // .greptime.v1.PartitionExprs partition_exprs = 3; + bool has_partition_exprs() const; + private: + bool _internal_has_partition_exprs() const; + public: + void clear_partition_exprs(); + const ::greptime::v1::PartitionExprs& partition_exprs() const; + PROTOBUF_NODISCARD ::greptime::v1::PartitionExprs* release_partition_exprs(); + ::greptime::v1::PartitionExprs* mutable_partition_exprs(); + void set_allocated_partition_exprs(::greptime::v1::PartitionExprs* partition_exprs); + private: + const ::greptime::v1::PartitionExprs& _internal_partition_exprs() const; + ::greptime::v1::PartitionExprs* _internal_mutable_partition_exprs(); + public: + void unsafe_arena_set_allocated_partition_exprs( + ::greptime::v1::PartitionExprs* partition_exprs); + ::greptime::v1::PartitionExprs* unsafe_arena_release_partition_exprs(); + + // .greptime.v1.UnpartitionedSource unpartitioned = 4; + bool has_unpartitioned() const; + private: + bool _internal_has_unpartitioned() const; + public: + void clear_unpartitioned(); + const ::greptime::v1::UnpartitionedSource& unpartitioned() const; + PROTOBUF_NODISCARD ::greptime::v1::UnpartitionedSource* release_unpartitioned(); + ::greptime::v1::UnpartitionedSource* mutable_unpartitioned(); + void set_allocated_unpartitioned(::greptime::v1::UnpartitionedSource* unpartitioned); + private: + const ::greptime::v1::UnpartitionedSource& _internal_unpartitioned() const; + ::greptime::v1::UnpartitionedSource* _internal_mutable_unpartitioned(); + public: + void unsafe_arena_set_allocated_unpartitioned( + ::greptime::v1::UnpartitionedSource* unpartitioned); + ::greptime::v1::UnpartitionedSource* unsafe_arena_release_unpartitioned(); + + void clear_source(); + SourceCase source_case() const; // @@protoc_insertion_point(class_scope:greptime.v1.Repartition) private: class _Internal; + void set_has_partition_exprs(); + void set_has_unpartitioned(); + + inline bool has_source() const; + inline void clear_has_source(); template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; typedef void InternalArenaConstructable_; @@ -3984,6 +4043,340 @@ class Repartition final : struct Impl_ { ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField from_partition_exprs_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField into_partition_exprs_; + union SourceUnion { + constexpr SourceUnion() : _constinit_{} {} + ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; + ::greptime::v1::PartitionExprs* partition_exprs_; + ::greptime::v1::UnpartitionedSource* unpartitioned_; + } source_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + uint32_t _oneof_case_[1]; + + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_greptime_2fv1_2fddl_2eproto; +}; +// ------------------------------------------------------------------- + +class PartitionExprs final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.PartitionExprs) */ { + public: + inline PartitionExprs() : PartitionExprs(nullptr) {} + ~PartitionExprs() override; + explicit PROTOBUF_CONSTEXPR PartitionExprs(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + PartitionExprs(const PartitionExprs& from); + PartitionExprs(PartitionExprs&& from) noexcept + : PartitionExprs() { + *this = ::std::move(from); + } + + inline PartitionExprs& operator=(const PartitionExprs& from) { + CopyFrom(from); + return *this; + } + inline PartitionExprs& operator=(PartitionExprs&& 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 PartitionExprs& default_instance() { + return *internal_default_instance(); + } + static inline const PartitionExprs* internal_default_instance() { + return reinterpret_cast( + &_PartitionExprs_default_instance_); + } + static constexpr int kIndexInFileMessages = + 16; + + friend void swap(PartitionExprs& a, PartitionExprs& b) { + a.Swap(&b); + } + inline void Swap(PartitionExprs* 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(PartitionExprs* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PartitionExprs* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const PartitionExprs& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const PartitionExprs& from) { + PartitionExprs::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(PartitionExprs* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "greptime.v1.PartitionExprs"; + } + protected: + explicit PartitionExprs(::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 { + kExprsFieldNumber = 1, + }; + // repeated string exprs = 1; + int exprs_size() const; + private: + int _internal_exprs_size() const; + public: + void clear_exprs(); + const std::string& exprs(int index) const; + std::string* mutable_exprs(int index); + void set_exprs(int index, const std::string& value); + void set_exprs(int index, std::string&& value); + void set_exprs(int index, const char* value); + void set_exprs(int index, const char* value, size_t size); + std::string* add_exprs(); + void add_exprs(const std::string& value); + void add_exprs(std::string&& value); + void add_exprs(const char* value); + void add_exprs(const char* value, size_t size); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& exprs() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_exprs(); + private: + const std::string& _internal_exprs(int index) const; + std::string* _internal_add_exprs(); + public: + + // @@protoc_insertion_point(class_scope:greptime.v1.PartitionExprs) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField exprs_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_greptime_2fv1_2fddl_2eproto; +}; +// ------------------------------------------------------------------- + +class UnpartitionedSource final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.UnpartitionedSource) */ { + public: + inline UnpartitionedSource() : UnpartitionedSource(nullptr) {} + ~UnpartitionedSource() override; + explicit PROTOBUF_CONSTEXPR UnpartitionedSource(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + UnpartitionedSource(const UnpartitionedSource& from); + UnpartitionedSource(UnpartitionedSource&& from) noexcept + : UnpartitionedSource() { + *this = ::std::move(from); + } + + inline UnpartitionedSource& operator=(const UnpartitionedSource& from) { + CopyFrom(from); + return *this; + } + inline UnpartitionedSource& operator=(UnpartitionedSource&& 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 UnpartitionedSource& default_instance() { + return *internal_default_instance(); + } + static inline const UnpartitionedSource* internal_default_instance() { + return reinterpret_cast( + &_UnpartitionedSource_default_instance_); + } + static constexpr int kIndexInFileMessages = + 17; + + friend void swap(UnpartitionedSource& a, UnpartitionedSource& b) { + a.Swap(&b); + } + inline void Swap(UnpartitionedSource* 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(UnpartitionedSource* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + UnpartitionedSource* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const UnpartitionedSource& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const UnpartitionedSource& from) { + UnpartitionedSource::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(UnpartitionedSource* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "greptime.v1.UnpartitionedSource"; + } + protected: + explicit UnpartitionedSource(::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 { + kPartitionColumnsFieldNumber = 1, + }; + // repeated string partition_columns = 1; + int partition_columns_size() const; + private: + int _internal_partition_columns_size() const; + public: + void clear_partition_columns(); + const std::string& partition_columns(int index) const; + std::string* mutable_partition_columns(int index); + void set_partition_columns(int index, const std::string& value); + void set_partition_columns(int index, std::string&& value); + void set_partition_columns(int index, const char* value); + void set_partition_columns(int index, const char* value, size_t size); + std::string* add_partition_columns(); + void add_partition_columns(const std::string& value); + void add_partition_columns(std::string&& value); + void add_partition_columns(const char* value); + void add_partition_columns(const char* value, size_t size); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& partition_columns() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_partition_columns(); + private: + const std::string& _internal_partition_columns(int index) const; + std::string* _internal_add_partition_columns(); + public: + + // @@protoc_insertion_point(class_scope:greptime.v1.UnpartitionedSource) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField partition_columns_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; }; union { Impl_ _impl_; }; @@ -4039,7 +4432,7 @@ class DropTableExpr final : &_DropTableExpr_default_instance_); } static constexpr int kIndexInFileMessages = - 16; + 18; friend void swap(DropTableExpr& a, DropTableExpr& b) { a.Swap(&b); @@ -4283,7 +4676,7 @@ class CreateDatabaseExpr final : &_CreateDatabaseExpr_default_instance_); } static constexpr int kIndexInFileMessages = - 18; + 20; friend void swap(CreateDatabaseExpr& a, CreateDatabaseExpr& b) { a.Swap(&b); @@ -4489,7 +4882,7 @@ class TruncateTableExpr final : &_TruncateTableExpr_default_instance_); } static constexpr int kIndexInFileMessages = - 19; + 21; friend void swap(TruncateTableExpr& a, TruncateTableExpr& b) { a.Swap(&b); @@ -4714,7 +5107,7 @@ class DropDatabaseExpr final : &_DropDatabaseExpr_default_instance_); } static constexpr int kIndexInFileMessages = - 20; + 22; friend void swap(DropDatabaseExpr& a, DropDatabaseExpr& b) { a.Swap(&b); @@ -4894,7 +5287,7 @@ class AddColumns final : &_AddColumns_default_instance_); } static constexpr int kIndexInFileMessages = - 21; + 23; friend void swap(AddColumns& a, AddColumns& b) { a.Swap(&b); @@ -5051,7 +5444,7 @@ class DropDefaults final : &_DropDefaults_default_instance_); } static constexpr int kIndexInFileMessages = - 22; + 24; friend void swap(DropDefaults& a, DropDefaults& b) { a.Swap(&b); @@ -5208,7 +5601,7 @@ class SetDefaults final : &_SetDefaults_default_instance_); } static constexpr int kIndexInFileMessages = - 23; + 25; friend void swap(SetDefaults& a, SetDefaults& b) { a.Swap(&b); @@ -5365,7 +5758,7 @@ class DropColumns final : &_DropColumns_default_instance_); } static constexpr int kIndexInFileMessages = - 24; + 26; friend void swap(DropColumns& a, DropColumns& b) { a.Swap(&b); @@ -5522,7 +5915,7 @@ class ModifyColumnTypes final : &_ModifyColumnTypes_default_instance_); } static constexpr int kIndexInFileMessages = - 25; + 27; friend void swap(ModifyColumnTypes& a, ModifyColumnTypes& b) { a.Swap(&b); @@ -5679,7 +6072,7 @@ class RenameTable final : &_RenameTable_default_instance_); } static constexpr int kIndexInFileMessages = - 26; + 28; friend void swap(RenameTable& a, RenameTable& b) { a.Swap(&b); @@ -5832,7 +6225,7 @@ class AddColumn final : &_AddColumn_default_instance_); } static constexpr int kIndexInFileMessages = - 27; + 29; friend void swap(AddColumn& a, AddColumn& b) { a.Swap(&b); @@ -6020,7 +6413,7 @@ class ModifyColumnType final : &_ModifyColumnType_default_instance_); } static constexpr int kIndexInFileMessages = - 28; + 30; friend void swap(ModifyColumnType& a, ModifyColumnType& b) { a.Swap(&b); @@ -6204,7 +6597,7 @@ class Option final : &_Option_default_instance_); } static constexpr int kIndexInFileMessages = - 29; + 31; friend void swap(Option& a, Option& b) { a.Swap(&b); @@ -6373,7 +6766,7 @@ class SetTableOptions final : &_SetTableOptions_default_instance_); } static constexpr int kIndexInFileMessages = - 30; + 32; friend void swap(SetTableOptions& a, SetTableOptions& b) { a.Swap(&b); @@ -6530,7 +6923,7 @@ class UnsetTableOptions final : &_UnsetTableOptions_default_instance_); } static constexpr int kIndexInFileMessages = - 31; + 33; friend void swap(UnsetTableOptions& a, UnsetTableOptions& b) { a.Swap(&b); @@ -6693,7 +7086,7 @@ class DropColumn final : &_DropColumn_default_instance_); } static constexpr int kIndexInFileMessages = - 32; + 34; friend void swap(DropColumn& a, DropColumn& b) { a.Swap(&b); @@ -6846,7 +7239,7 @@ class TableId final : &_TableId_default_instance_); } static constexpr int kIndexInFileMessages = - 33; + 35; friend void swap(TableId& a, TableId& b) { a.Swap(&b); @@ -6994,7 +7387,7 @@ class FlowId final : &_FlowId_default_instance_); } static constexpr int kIndexInFileMessages = - 34; + 36; friend void swap(FlowId& a, FlowId& b) { a.Swap(&b); @@ -7142,7 +7535,7 @@ class ColumnDef final : &_ColumnDef_default_instance_); } static constexpr int kIndexInFileMessages = - 35; + 37; friend void swap(ColumnDef& a, ColumnDef& b) { a.Swap(&b); @@ -7400,7 +7793,7 @@ class AddColumnLocation final : &_AddColumnLocation_default_instance_); } static constexpr int kIndexInFileMessages = - 36; + 38; friend void swap(AddColumnLocation& a, AddColumnLocation& b) { a.Swap(&b); @@ -7594,7 +7987,7 @@ class SetFulltext final : &_SetFulltext_default_instance_); } static constexpr int kIndexInFileMessages = - 37; + 39; friend void swap(SetFulltext& a, SetFulltext& b) { a.Swap(&b); @@ -7813,7 +8206,7 @@ class UnsetFulltext final : &_UnsetFulltext_default_instance_); } static constexpr int kIndexInFileMessages = - 38; + 40; friend void swap(UnsetFulltext& a, UnsetFulltext& b) { a.Swap(&b); @@ -7966,7 +8359,7 @@ class SetInverted final : &_SetInverted_default_instance_); } static constexpr int kIndexInFileMessages = - 39; + 41; friend void swap(SetInverted& a, SetInverted& b) { a.Swap(&b); @@ -8119,7 +8512,7 @@ class UnsetInverted final : &_UnsetInverted_default_instance_); } static constexpr int kIndexInFileMessages = - 40; + 42; friend void swap(UnsetInverted& a, UnsetInverted& b) { a.Swap(&b); @@ -8272,7 +8665,7 @@ class SetSkipping final : &_SetSkipping_default_instance_); } static constexpr int kIndexInFileMessages = - 41; + 43; friend void swap(SetSkipping& a, SetSkipping& b) { a.Swap(&b); @@ -8469,7 +8862,7 @@ class UnsetSkipping final : &_UnsetSkipping_default_instance_); } static constexpr int kIndexInFileMessages = - 42; + 44; friend void swap(UnsetSkipping& a, UnsetSkipping& b) { a.Swap(&b); @@ -8628,7 +9021,7 @@ class AlterDatabaseExpr final : &_AlterDatabaseExpr_default_instance_); } static constexpr int kIndexInFileMessages = - 43; + 45; friend void swap(AlterDatabaseExpr& a, AlterDatabaseExpr& b) { a.Swap(&b); @@ -8850,7 +9243,7 @@ class SetDatabaseOptions final : &_SetDatabaseOptions_default_instance_); } static constexpr int kIndexInFileMessages = - 44; + 46; friend void swap(SetDatabaseOptions& a, SetDatabaseOptions& b) { a.Swap(&b); @@ -9007,7 +9400,7 @@ class UnsetDatabaseOptions final : &_UnsetDatabaseOptions_default_instance_); } static constexpr int kIndexInFileMessages = - 45; + 47; friend void swap(UnsetDatabaseOptions& a, UnsetDatabaseOptions& b) { a.Swap(&b); @@ -9226,7 +9619,7 @@ class CreateTriggerExpr final : &_CreateTriggerExpr_default_instance_); } static constexpr int kIndexInFileMessages = - 48; + 50; friend void swap(CreateTriggerExpr& a, CreateTriggerExpr& b) { a.Swap(&b); @@ -9604,7 +9997,7 @@ class NotifyChannel final : &_NotifyChannel_default_instance_); } static constexpr int kIndexInFileMessages = - 49; + 51; friend void swap(NotifyChannel& a, NotifyChannel& b) { a.Swap(&b); @@ -9817,7 +10210,7 @@ class WebhookOptions final : &_WebhookOptions_default_instance_); } static constexpr int kIndexInFileMessages = - 51; + 53; friend void swap(WebhookOptions& a, WebhookOptions& b) { a.Swap(&b); @@ -9996,7 +10389,7 @@ class DropTriggerExpr final : &_DropTriggerExpr_default_instance_); } static constexpr int kIndexInFileMessages = - 52; + 54; friend void swap(DropTriggerExpr& a, DropTriggerExpr& b) { a.Swap(&b); @@ -10176,7 +10569,7 @@ class CommentOnExpr final : &_CommentOnExpr_default_instance_); } static constexpr int kIndexInFileMessages = - 53; + 55; friend void swap(CommentOnExpr& a, CommentOnExpr& b) { a.Swap(&b); @@ -15119,7 +15512,7 @@ inline UnsetIndex::OptionsCase UnsetIndex::options_case() const { // Repartition -// repeated string from_partition_exprs = 1; +// repeated string from_partition_exprs = 1 [deprecated = true]; inline int Repartition::_internal_from_partition_exprs_size() const { return _impl_.from_partition_exprs_.size(); } @@ -15269,6 +15662,321 @@ Repartition::mutable_into_partition_exprs() { return &_impl_.into_partition_exprs_; } +// .greptime.v1.PartitionExprs partition_exprs = 3; +inline bool Repartition::_internal_has_partition_exprs() const { + return source_case() == kPartitionExprs; +} +inline bool Repartition::has_partition_exprs() const { + return _internal_has_partition_exprs(); +} +inline void Repartition::set_has_partition_exprs() { + _impl_._oneof_case_[0] = kPartitionExprs; +} +inline void Repartition::clear_partition_exprs() { + if (_internal_has_partition_exprs()) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.source_.partition_exprs_; + } + clear_has_source(); + } +} +inline ::greptime::v1::PartitionExprs* Repartition::release_partition_exprs() { + // @@protoc_insertion_point(field_release:greptime.v1.Repartition.partition_exprs) + if (_internal_has_partition_exprs()) { + clear_has_source(); + ::greptime::v1::PartitionExprs* temp = _impl_.source_.partition_exprs_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.source_.partition_exprs_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::greptime::v1::PartitionExprs& Repartition::_internal_partition_exprs() const { + return _internal_has_partition_exprs() + ? *_impl_.source_.partition_exprs_ + : reinterpret_cast< ::greptime::v1::PartitionExprs&>(::greptime::v1::_PartitionExprs_default_instance_); +} +inline const ::greptime::v1::PartitionExprs& Repartition::partition_exprs() const { + // @@protoc_insertion_point(field_get:greptime.v1.Repartition.partition_exprs) + return _internal_partition_exprs(); +} +inline ::greptime::v1::PartitionExprs* Repartition::unsafe_arena_release_partition_exprs() { + // @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.Repartition.partition_exprs) + if (_internal_has_partition_exprs()) { + clear_has_source(); + ::greptime::v1::PartitionExprs* temp = _impl_.source_.partition_exprs_; + _impl_.source_.partition_exprs_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Repartition::unsafe_arena_set_allocated_partition_exprs(::greptime::v1::PartitionExprs* partition_exprs) { + clear_source(); + if (partition_exprs) { + set_has_partition_exprs(); + _impl_.source_.partition_exprs_ = partition_exprs; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.Repartition.partition_exprs) +} +inline ::greptime::v1::PartitionExprs* Repartition::_internal_mutable_partition_exprs() { + if (!_internal_has_partition_exprs()) { + clear_source(); + set_has_partition_exprs(); + _impl_.source_.partition_exprs_ = CreateMaybeMessage< ::greptime::v1::PartitionExprs >(GetArenaForAllocation()); + } + return _impl_.source_.partition_exprs_; +} +inline ::greptime::v1::PartitionExprs* Repartition::mutable_partition_exprs() { + ::greptime::v1::PartitionExprs* _msg = _internal_mutable_partition_exprs(); + // @@protoc_insertion_point(field_mutable:greptime.v1.Repartition.partition_exprs) + return _msg; +} + +// .greptime.v1.UnpartitionedSource unpartitioned = 4; +inline bool Repartition::_internal_has_unpartitioned() const { + return source_case() == kUnpartitioned; +} +inline bool Repartition::has_unpartitioned() const { + return _internal_has_unpartitioned(); +} +inline void Repartition::set_has_unpartitioned() { + _impl_._oneof_case_[0] = kUnpartitioned; +} +inline void Repartition::clear_unpartitioned() { + if (_internal_has_unpartitioned()) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.source_.unpartitioned_; + } + clear_has_source(); + } +} +inline ::greptime::v1::UnpartitionedSource* Repartition::release_unpartitioned() { + // @@protoc_insertion_point(field_release:greptime.v1.Repartition.unpartitioned) + if (_internal_has_unpartitioned()) { + clear_has_source(); + ::greptime::v1::UnpartitionedSource* temp = _impl_.source_.unpartitioned_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.source_.unpartitioned_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::greptime::v1::UnpartitionedSource& Repartition::_internal_unpartitioned() const { + return _internal_has_unpartitioned() + ? *_impl_.source_.unpartitioned_ + : reinterpret_cast< ::greptime::v1::UnpartitionedSource&>(::greptime::v1::_UnpartitionedSource_default_instance_); +} +inline const ::greptime::v1::UnpartitionedSource& Repartition::unpartitioned() const { + // @@protoc_insertion_point(field_get:greptime.v1.Repartition.unpartitioned) + return _internal_unpartitioned(); +} +inline ::greptime::v1::UnpartitionedSource* Repartition::unsafe_arena_release_unpartitioned() { + // @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.Repartition.unpartitioned) + if (_internal_has_unpartitioned()) { + clear_has_source(); + ::greptime::v1::UnpartitionedSource* temp = _impl_.source_.unpartitioned_; + _impl_.source_.unpartitioned_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Repartition::unsafe_arena_set_allocated_unpartitioned(::greptime::v1::UnpartitionedSource* unpartitioned) { + clear_source(); + if (unpartitioned) { + set_has_unpartitioned(); + _impl_.source_.unpartitioned_ = unpartitioned; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.Repartition.unpartitioned) +} +inline ::greptime::v1::UnpartitionedSource* Repartition::_internal_mutable_unpartitioned() { + if (!_internal_has_unpartitioned()) { + clear_source(); + set_has_unpartitioned(); + _impl_.source_.unpartitioned_ = CreateMaybeMessage< ::greptime::v1::UnpartitionedSource >(GetArenaForAllocation()); + } + return _impl_.source_.unpartitioned_; +} +inline ::greptime::v1::UnpartitionedSource* Repartition::mutable_unpartitioned() { + ::greptime::v1::UnpartitionedSource* _msg = _internal_mutable_unpartitioned(); + // @@protoc_insertion_point(field_mutable:greptime.v1.Repartition.unpartitioned) + return _msg; +} + +inline bool Repartition::has_source() const { + return source_case() != SOURCE_NOT_SET; +} +inline void Repartition::clear_has_source() { + _impl_._oneof_case_[0] = SOURCE_NOT_SET; +} +inline Repartition::SourceCase Repartition::source_case() const { + return Repartition::SourceCase(_impl_._oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// PartitionExprs + +// repeated string exprs = 1; +inline int PartitionExprs::_internal_exprs_size() const { + return _impl_.exprs_.size(); +} +inline int PartitionExprs::exprs_size() const { + return _internal_exprs_size(); +} +inline void PartitionExprs::clear_exprs() { + _impl_.exprs_.Clear(); +} +inline std::string* PartitionExprs::add_exprs() { + std::string* _s = _internal_add_exprs(); + // @@protoc_insertion_point(field_add_mutable:greptime.v1.PartitionExprs.exprs) + return _s; +} +inline const std::string& PartitionExprs::_internal_exprs(int index) const { + return _impl_.exprs_.Get(index); +} +inline const std::string& PartitionExprs::exprs(int index) const { + // @@protoc_insertion_point(field_get:greptime.v1.PartitionExprs.exprs) + return _internal_exprs(index); +} +inline std::string* PartitionExprs::mutable_exprs(int index) { + // @@protoc_insertion_point(field_mutable:greptime.v1.PartitionExprs.exprs) + return _impl_.exprs_.Mutable(index); +} +inline void PartitionExprs::set_exprs(int index, const std::string& value) { + _impl_.exprs_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set:greptime.v1.PartitionExprs.exprs) +} +inline void PartitionExprs::set_exprs(int index, std::string&& value) { + _impl_.exprs_.Mutable(index)->assign(std::move(value)); + // @@protoc_insertion_point(field_set:greptime.v1.PartitionExprs.exprs) +} +inline void PartitionExprs::set_exprs(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.exprs_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:greptime.v1.PartitionExprs.exprs) +} +inline void PartitionExprs::set_exprs(int index, const char* value, size_t size) { + _impl_.exprs_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:greptime.v1.PartitionExprs.exprs) +} +inline std::string* PartitionExprs::_internal_add_exprs() { + return _impl_.exprs_.Add(); +} +inline void PartitionExprs::add_exprs(const std::string& value) { + _impl_.exprs_.Add()->assign(value); + // @@protoc_insertion_point(field_add:greptime.v1.PartitionExprs.exprs) +} +inline void PartitionExprs::add_exprs(std::string&& value) { + _impl_.exprs_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:greptime.v1.PartitionExprs.exprs) +} +inline void PartitionExprs::add_exprs(const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.exprs_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:greptime.v1.PartitionExprs.exprs) +} +inline void PartitionExprs::add_exprs(const char* value, size_t size) { + _impl_.exprs_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:greptime.v1.PartitionExprs.exprs) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& +PartitionExprs::exprs() const { + // @@protoc_insertion_point(field_list:greptime.v1.PartitionExprs.exprs) + return _impl_.exprs_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* +PartitionExprs::mutable_exprs() { + // @@protoc_insertion_point(field_mutable_list:greptime.v1.PartitionExprs.exprs) + return &_impl_.exprs_; +} + +// ------------------------------------------------------------------- + +// UnpartitionedSource + +// repeated string partition_columns = 1; +inline int UnpartitionedSource::_internal_partition_columns_size() const { + return _impl_.partition_columns_.size(); +} +inline int UnpartitionedSource::partition_columns_size() const { + return _internal_partition_columns_size(); +} +inline void UnpartitionedSource::clear_partition_columns() { + _impl_.partition_columns_.Clear(); +} +inline std::string* UnpartitionedSource::add_partition_columns() { + std::string* _s = _internal_add_partition_columns(); + // @@protoc_insertion_point(field_add_mutable:greptime.v1.UnpartitionedSource.partition_columns) + return _s; +} +inline const std::string& UnpartitionedSource::_internal_partition_columns(int index) const { + return _impl_.partition_columns_.Get(index); +} +inline const std::string& UnpartitionedSource::partition_columns(int index) const { + // @@protoc_insertion_point(field_get:greptime.v1.UnpartitionedSource.partition_columns) + return _internal_partition_columns(index); +} +inline std::string* UnpartitionedSource::mutable_partition_columns(int index) { + // @@protoc_insertion_point(field_mutable:greptime.v1.UnpartitionedSource.partition_columns) + return _impl_.partition_columns_.Mutable(index); +} +inline void UnpartitionedSource::set_partition_columns(int index, const std::string& value) { + _impl_.partition_columns_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set:greptime.v1.UnpartitionedSource.partition_columns) +} +inline void UnpartitionedSource::set_partition_columns(int index, std::string&& value) { + _impl_.partition_columns_.Mutable(index)->assign(std::move(value)); + // @@protoc_insertion_point(field_set:greptime.v1.UnpartitionedSource.partition_columns) +} +inline void UnpartitionedSource::set_partition_columns(int index, const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.partition_columns_.Mutable(index)->assign(value); + // @@protoc_insertion_point(field_set_char:greptime.v1.UnpartitionedSource.partition_columns) +} +inline void UnpartitionedSource::set_partition_columns(int index, const char* value, size_t size) { + _impl_.partition_columns_.Mutable(index)->assign( + reinterpret_cast(value), size); + // @@protoc_insertion_point(field_set_pointer:greptime.v1.UnpartitionedSource.partition_columns) +} +inline std::string* UnpartitionedSource::_internal_add_partition_columns() { + return _impl_.partition_columns_.Add(); +} +inline void UnpartitionedSource::add_partition_columns(const std::string& value) { + _impl_.partition_columns_.Add()->assign(value); + // @@protoc_insertion_point(field_add:greptime.v1.UnpartitionedSource.partition_columns) +} +inline void UnpartitionedSource::add_partition_columns(std::string&& value) { + _impl_.partition_columns_.Add(std::move(value)); + // @@protoc_insertion_point(field_add:greptime.v1.UnpartitionedSource.partition_columns) +} +inline void UnpartitionedSource::add_partition_columns(const char* value) { + GOOGLE_DCHECK(value != nullptr); + _impl_.partition_columns_.Add()->assign(value); + // @@protoc_insertion_point(field_add_char:greptime.v1.UnpartitionedSource.partition_columns) +} +inline void UnpartitionedSource::add_partition_columns(const char* value, size_t size) { + _impl_.partition_columns_.Add()->assign(reinterpret_cast(value), size); + // @@protoc_insertion_point(field_add_pointer:greptime.v1.UnpartitionedSource.partition_columns) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& +UnpartitionedSource::partition_columns() const { + // @@protoc_insertion_point(field_list:greptime.v1.UnpartitionedSource.partition_columns) + return _impl_.partition_columns_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* +UnpartitionedSource::mutable_partition_columns() { + // @@protoc_insertion_point(field_mutable_list:greptime.v1.UnpartitionedSource.partition_columns) + return &_impl_.partition_columns_; +} + // ------------------------------------------------------------------- // DropTableExpr @@ -19883,6 +20591,10 @@ 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 02b8437..f7a457c 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{33, 0} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{35, 0} } // "Data Definition Language" requests, that create, modify or delete the @@ -1658,10 +1658,16 @@ type Repartition struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The from partition expressions serialized in JSON format. + // Deprecated: use `source.partition_exprs.exprs` instead. + // + // Deprecated: Do not use. 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"` + // Types that are assignable to Source: + // + // *Repartition_PartitionExprs + // *Repartition_Unpartitioned + Source isRepartition_Source `protobuf_oneof:"source"` } func (x *Repartition) Reset() { @@ -1696,6 +1702,7 @@ func (*Repartition) Descriptor() ([]byte, []int) { return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{13} } +// Deprecated: Do not use. func (x *Repartition) GetFromPartitionExprs() []string { if x != nil { return x.FromPartitionExprs @@ -1710,6 +1717,139 @@ func (x *Repartition) GetIntoPartitionExprs() []string { return nil } +func (m *Repartition) GetSource() isRepartition_Source { + if m != nil { + return m.Source + } + return nil +} + +func (x *Repartition) GetPartitionExprs() *PartitionExprs { + if x, ok := x.GetSource().(*Repartition_PartitionExprs); ok { + return x.PartitionExprs + } + return nil +} + +func (x *Repartition) GetUnpartitioned() *UnpartitionedSource { + if x, ok := x.GetSource().(*Repartition_Unpartitioned); ok { + return x.Unpartitioned + } + return nil +} + +type isRepartition_Source interface { + isRepartition_Source() +} + +type Repartition_PartitionExprs struct { + PartitionExprs *PartitionExprs `protobuf:"bytes,3,opt,name=partition_exprs,json=partitionExprs,proto3,oneof"` +} + +type Repartition_Unpartitioned struct { + Unpartitioned *UnpartitionedSource `protobuf:"bytes,4,opt,name=unpartitioned,proto3,oneof"` +} + +func (*Repartition_PartitionExprs) isRepartition_Source() {} + +func (*Repartition_Unpartitioned) isRepartition_Source() {} + +type PartitionExprs struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The partition expressions serialized in JSON format. + Exprs []string `protobuf:"bytes,1,rep,name=exprs,proto3" json:"exprs,omitempty"` +} + +func (x *PartitionExprs) Reset() { + *x = PartitionExprs{} + if protoimpl.UnsafeEnabled { + mi := &file_greptime_v1_ddl_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PartitionExprs) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PartitionExprs) ProtoMessage() {} + +func (x *PartitionExprs) ProtoReflect() protoreflect.Message { + mi := &file_greptime_v1_ddl_proto_msgTypes[14] + 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 PartitionExprs.ProtoReflect.Descriptor instead. +func (*PartitionExprs) Descriptor() ([]byte, []int) { + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{14} +} + +func (x *PartitionExprs) GetExprs() []string { + if x != nil { + return x.Exprs + } + return nil +} + +type UnpartitionedSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Partition columns for unpartitioned/single-region. + PartitionColumns []string `protobuf:"bytes,1,rep,name=partition_columns,json=partitionColumns,proto3" json:"partition_columns,omitempty"` +} + +func (x *UnpartitionedSource) Reset() { + *x = UnpartitionedSource{} + if protoimpl.UnsafeEnabled { + mi := &file_greptime_v1_ddl_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UnpartitionedSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UnpartitionedSource) ProtoMessage() {} + +func (x *UnpartitionedSource) ProtoReflect() protoreflect.Message { + mi := &file_greptime_v1_ddl_proto_msgTypes[15] + 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 UnpartitionedSource.ProtoReflect.Descriptor instead. +func (*UnpartitionedSource) Descriptor() ([]byte, []int) { + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{15} +} + +func (x *UnpartitionedSource) GetPartitionColumns() []string { + if x != nil { + return x.PartitionColumns + } + return nil +} + type DropTableExpr struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1725,7 +1865,7 @@ type DropTableExpr struct { func (x *DropTableExpr) Reset() { *x = DropTableExpr{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[14] + mi := &file_greptime_v1_ddl_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1738,7 +1878,7 @@ func (x *DropTableExpr) String() string { func (*DropTableExpr) ProtoMessage() {} func (x *DropTableExpr) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[14] + mi := &file_greptime_v1_ddl_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1751,7 +1891,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{14} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{16} } func (x *DropTableExpr) GetCatalogName() string { @@ -1803,7 +1943,7 @@ type CreateDatabaseExpr struct { func (x *CreateDatabaseExpr) Reset() { *x = CreateDatabaseExpr{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[15] + mi := &file_greptime_v1_ddl_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1816,7 +1956,7 @@ func (x *CreateDatabaseExpr) String() string { func (*CreateDatabaseExpr) ProtoMessage() {} func (x *CreateDatabaseExpr) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[15] + mi := &file_greptime_v1_ddl_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1829,7 +1969,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{15} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{17} } func (x *CreateDatabaseExpr) GetCatalogName() string { @@ -1876,7 +2016,7 @@ type TruncateTableExpr struct { func (x *TruncateTableExpr) Reset() { *x = TruncateTableExpr{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[16] + mi := &file_greptime_v1_ddl_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1889,7 +2029,7 @@ func (x *TruncateTableExpr) String() string { func (*TruncateTableExpr) ProtoMessage() {} func (x *TruncateTableExpr) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[16] + mi := &file_greptime_v1_ddl_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1902,7 +2042,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{16} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{18} } func (x *TruncateTableExpr) GetCatalogName() string { @@ -1953,7 +2093,7 @@ type DropDatabaseExpr struct { func (x *DropDatabaseExpr) Reset() { *x = DropDatabaseExpr{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[17] + mi := &file_greptime_v1_ddl_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1966,7 +2106,7 @@ func (x *DropDatabaseExpr) String() string { func (*DropDatabaseExpr) ProtoMessage() {} func (x *DropDatabaseExpr) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[17] + mi := &file_greptime_v1_ddl_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1979,7 +2119,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{17} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{19} } func (x *DropDatabaseExpr) GetCatalogName() string { @@ -2014,7 +2154,7 @@ type AddColumns struct { func (x *AddColumns) Reset() { *x = AddColumns{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[18] + mi := &file_greptime_v1_ddl_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2027,7 +2167,7 @@ func (x *AddColumns) String() string { func (*AddColumns) ProtoMessage() {} func (x *AddColumns) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[18] + mi := &file_greptime_v1_ddl_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2040,7 +2180,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{18} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{20} } func (x *AddColumns) GetAddColumns() []*AddColumn { @@ -2061,7 +2201,7 @@ type DropDefaults struct { func (x *DropDefaults) Reset() { *x = DropDefaults{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[19] + mi := &file_greptime_v1_ddl_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2074,7 +2214,7 @@ func (x *DropDefaults) String() string { func (*DropDefaults) ProtoMessage() {} func (x *DropDefaults) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[19] + mi := &file_greptime_v1_ddl_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2087,7 +2227,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{19} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{21} } func (x *DropDefaults) GetDropDefaults() []*DropDefault { @@ -2108,7 +2248,7 @@ type SetDefaults struct { func (x *SetDefaults) Reset() { *x = SetDefaults{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[20] + mi := &file_greptime_v1_ddl_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2121,7 +2261,7 @@ func (x *SetDefaults) String() string { func (*SetDefaults) ProtoMessage() {} func (x *SetDefaults) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[20] + mi := &file_greptime_v1_ddl_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2134,7 +2274,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{20} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{22} } func (x *SetDefaults) GetSetDefaults() []*SetDefault { @@ -2155,7 +2295,7 @@ type DropColumns struct { func (x *DropColumns) Reset() { *x = DropColumns{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[21] + mi := &file_greptime_v1_ddl_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2168,7 +2308,7 @@ func (x *DropColumns) String() string { func (*DropColumns) ProtoMessage() {} func (x *DropColumns) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[21] + mi := &file_greptime_v1_ddl_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2181,7 +2321,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{21} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{23} } func (x *DropColumns) GetDropColumns() []*DropColumn { @@ -2202,7 +2342,7 @@ type ModifyColumnTypes struct { func (x *ModifyColumnTypes) Reset() { *x = ModifyColumnTypes{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[22] + mi := &file_greptime_v1_ddl_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2215,7 +2355,7 @@ func (x *ModifyColumnTypes) String() string { func (*ModifyColumnTypes) ProtoMessage() {} func (x *ModifyColumnTypes) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[22] + mi := &file_greptime_v1_ddl_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2228,7 +2368,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{22} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{24} } func (x *ModifyColumnTypes) GetModifyColumnTypes() []*ModifyColumnType { @@ -2249,7 +2389,7 @@ type RenameTable struct { func (x *RenameTable) Reset() { *x = RenameTable{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[23] + mi := &file_greptime_v1_ddl_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2262,7 +2402,7 @@ func (x *RenameTable) String() string { func (*RenameTable) ProtoMessage() {} func (x *RenameTable) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[23] + mi := &file_greptime_v1_ddl_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2275,7 +2415,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{23} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{25} } func (x *RenameTable) GetNewTableName() string { @@ -2298,7 +2438,7 @@ type AddColumn struct { func (x *AddColumn) Reset() { *x = AddColumn{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[24] + mi := &file_greptime_v1_ddl_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2311,7 +2451,7 @@ func (x *AddColumn) String() string { func (*AddColumn) ProtoMessage() {} func (x *AddColumn) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[24] + mi := &file_greptime_v1_ddl_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2324,7 +2464,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{24} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{26} } func (x *AddColumn) GetColumnDef() *ColumnDef { @@ -2361,7 +2501,7 @@ type ModifyColumnType struct { func (x *ModifyColumnType) Reset() { *x = ModifyColumnType{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[25] + mi := &file_greptime_v1_ddl_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2374,7 +2514,7 @@ func (x *ModifyColumnType) String() string { func (*ModifyColumnType) ProtoMessage() {} func (x *ModifyColumnType) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[25] + mi := &file_greptime_v1_ddl_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2387,7 +2527,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{25} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{27} } func (x *ModifyColumnType) GetColumnName() string { @@ -2423,7 +2563,7 @@ type Option struct { func (x *Option) Reset() { *x = Option{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[26] + mi := &file_greptime_v1_ddl_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2436,7 +2576,7 @@ func (x *Option) String() string { func (*Option) ProtoMessage() {} func (x *Option) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[26] + mi := &file_greptime_v1_ddl_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2449,7 +2589,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{26} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{28} } func (x *Option) GetKey() string { @@ -2477,7 +2617,7 @@ type SetTableOptions struct { func (x *SetTableOptions) Reset() { *x = SetTableOptions{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[27] + mi := &file_greptime_v1_ddl_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2490,7 +2630,7 @@ func (x *SetTableOptions) String() string { func (*SetTableOptions) ProtoMessage() {} func (x *SetTableOptions) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[27] + mi := &file_greptime_v1_ddl_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2503,7 +2643,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{27} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{29} } func (x *SetTableOptions) GetTableOptions() []*Option { @@ -2524,7 +2664,7 @@ type UnsetTableOptions struct { func (x *UnsetTableOptions) Reset() { *x = UnsetTableOptions{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[28] + mi := &file_greptime_v1_ddl_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2537,7 +2677,7 @@ func (x *UnsetTableOptions) String() string { func (*UnsetTableOptions) ProtoMessage() {} func (x *UnsetTableOptions) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[28] + mi := &file_greptime_v1_ddl_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2550,7 +2690,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{28} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{30} } func (x *UnsetTableOptions) GetKeys() []string { @@ -2571,7 +2711,7 @@ type DropColumn struct { func (x *DropColumn) Reset() { *x = DropColumn{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[29] + mi := &file_greptime_v1_ddl_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2584,7 +2724,7 @@ func (x *DropColumn) String() string { func (*DropColumn) ProtoMessage() {} func (x *DropColumn) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[29] + mi := &file_greptime_v1_ddl_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2597,7 +2737,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{29} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{31} } func (x *DropColumn) GetName() string { @@ -2618,7 +2758,7 @@ type TableId struct { func (x *TableId) Reset() { *x = TableId{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[30] + mi := &file_greptime_v1_ddl_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2631,7 +2771,7 @@ func (x *TableId) String() string { func (*TableId) ProtoMessage() {} func (x *TableId) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[30] + mi := &file_greptime_v1_ddl_proto_msgTypes[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2644,7 +2784,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{30} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{32} } func (x *TableId) GetId() uint32 { @@ -2665,7 +2805,7 @@ type FlowId struct { func (x *FlowId) Reset() { *x = FlowId{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[31] + mi := &file_greptime_v1_ddl_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2678,7 +2818,7 @@ func (x *FlowId) String() string { func (*FlowId) ProtoMessage() {} func (x *FlowId) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[31] + mi := &file_greptime_v1_ddl_proto_msgTypes[33] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2691,7 +2831,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{31} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{33} } func (x *FlowId) GetId() uint32 { @@ -2721,7 +2861,7 @@ type ColumnDef struct { func (x *ColumnDef) Reset() { *x = ColumnDef{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[32] + mi := &file_greptime_v1_ddl_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2734,7 +2874,7 @@ func (x *ColumnDef) String() string { func (*ColumnDef) ProtoMessage() {} func (x *ColumnDef) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[32] + mi := &file_greptime_v1_ddl_proto_msgTypes[34] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2747,7 +2887,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{32} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{34} } func (x *ColumnDef) GetName() string { @@ -2818,7 +2958,7 @@ type AddColumnLocation struct { func (x *AddColumnLocation) Reset() { *x = AddColumnLocation{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[33] + mi := &file_greptime_v1_ddl_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2831,7 +2971,7 @@ func (x *AddColumnLocation) String() string { func (*AddColumnLocation) ProtoMessage() {} func (x *AddColumnLocation) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[33] + mi := &file_greptime_v1_ddl_proto_msgTypes[35] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2844,7 +2984,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{33} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{35} } func (x *AddColumnLocation) GetLocationType() AddColumnLocation_LocationType { @@ -2880,7 +3020,7 @@ type SetFulltext struct { func (x *SetFulltext) Reset() { *x = SetFulltext{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[34] + mi := &file_greptime_v1_ddl_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2893,7 +3033,7 @@ func (x *SetFulltext) String() string { func (*SetFulltext) ProtoMessage() {} func (x *SetFulltext) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[34] + mi := &file_greptime_v1_ddl_proto_msgTypes[36] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2906,7 +3046,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{34} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{36} } func (x *SetFulltext) GetColumnName() string { @@ -2969,7 +3109,7 @@ type UnsetFulltext struct { func (x *UnsetFulltext) Reset() { *x = UnsetFulltext{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[35] + mi := &file_greptime_v1_ddl_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2982,7 +3122,7 @@ func (x *UnsetFulltext) String() string { func (*UnsetFulltext) ProtoMessage() {} func (x *UnsetFulltext) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[35] + mi := &file_greptime_v1_ddl_proto_msgTypes[37] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2995,7 +3135,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{35} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{37} } func (x *UnsetFulltext) GetColumnName() string { @@ -3016,7 +3156,7 @@ type SetInverted struct { func (x *SetInverted) Reset() { *x = SetInverted{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[36] + mi := &file_greptime_v1_ddl_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3029,7 +3169,7 @@ func (x *SetInverted) String() string { func (*SetInverted) ProtoMessage() {} func (x *SetInverted) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[36] + mi := &file_greptime_v1_ddl_proto_msgTypes[38] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3042,7 +3182,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{36} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{38} } func (x *SetInverted) GetColumnName() string { @@ -3063,7 +3203,7 @@ type UnsetInverted struct { func (x *UnsetInverted) Reset() { *x = UnsetInverted{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[37] + mi := &file_greptime_v1_ddl_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3076,7 +3216,7 @@ func (x *UnsetInverted) String() string { func (*UnsetInverted) ProtoMessage() {} func (x *UnsetInverted) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[37] + mi := &file_greptime_v1_ddl_proto_msgTypes[39] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3089,7 +3229,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{37} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{39} } func (x *UnsetInverted) GetColumnName() string { @@ -3114,7 +3254,7 @@ type SetSkipping struct { func (x *SetSkipping) Reset() { *x = SetSkipping{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[38] + mi := &file_greptime_v1_ddl_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3127,7 +3267,7 @@ func (x *SetSkipping) String() string { func (*SetSkipping) ProtoMessage() {} func (x *SetSkipping) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[38] + mi := &file_greptime_v1_ddl_proto_msgTypes[40] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3140,7 +3280,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{38} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{40} } func (x *SetSkipping) GetColumnName() string { @@ -3189,7 +3329,7 @@ type UnsetSkipping struct { func (x *UnsetSkipping) Reset() { *x = UnsetSkipping{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[39] + mi := &file_greptime_v1_ddl_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3202,7 +3342,7 @@ func (x *UnsetSkipping) String() string { func (*UnsetSkipping) ProtoMessage() {} func (x *UnsetSkipping) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[39] + mi := &file_greptime_v1_ddl_proto_msgTypes[41] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3215,7 +3355,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{39} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{41} } func (x *UnsetSkipping) GetColumnName() string { @@ -3242,7 +3382,7 @@ type AlterDatabaseExpr struct { func (x *AlterDatabaseExpr) Reset() { *x = AlterDatabaseExpr{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[40] + mi := &file_greptime_v1_ddl_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3255,7 +3395,7 @@ func (x *AlterDatabaseExpr) String() string { func (*AlterDatabaseExpr) ProtoMessage() {} func (x *AlterDatabaseExpr) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[40] + mi := &file_greptime_v1_ddl_proto_msgTypes[42] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3268,7 +3408,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{40} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{42} } func (x *AlterDatabaseExpr) GetCatalogName() string { @@ -3333,7 +3473,7 @@ type SetDatabaseOptions struct { func (x *SetDatabaseOptions) Reset() { *x = SetDatabaseOptions{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[41] + mi := &file_greptime_v1_ddl_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3346,7 +3486,7 @@ func (x *SetDatabaseOptions) String() string { func (*SetDatabaseOptions) ProtoMessage() {} func (x *SetDatabaseOptions) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[41] + mi := &file_greptime_v1_ddl_proto_msgTypes[43] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3359,7 +3499,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{41} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{43} } func (x *SetDatabaseOptions) GetSetDatabaseOptions() []*Option { @@ -3380,7 +3520,7 @@ type UnsetDatabaseOptions struct { func (x *UnsetDatabaseOptions) Reset() { *x = UnsetDatabaseOptions{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[42] + mi := &file_greptime_v1_ddl_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3393,7 +3533,7 @@ func (x *UnsetDatabaseOptions) String() string { func (*UnsetDatabaseOptions) ProtoMessage() {} func (x *UnsetDatabaseOptions) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[42] + mi := &file_greptime_v1_ddl_proto_msgTypes[44] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3406,7 +3546,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{42} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{44} } func (x *UnsetDatabaseOptions) GetKeys() []string { @@ -3451,7 +3591,7 @@ type CreateTriggerExpr struct { func (x *CreateTriggerExpr) Reset() { *x = CreateTriggerExpr{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[43] + mi := &file_greptime_v1_ddl_proto_msgTypes[45] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3464,7 +3604,7 @@ func (x *CreateTriggerExpr) String() string { func (*CreateTriggerExpr) ProtoMessage() {} func (x *CreateTriggerExpr) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[43] + mi := &file_greptime_v1_ddl_proto_msgTypes[45] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3477,7 +3617,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{43} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{45} } func (x *CreateTriggerExpr) GetCatalogName() string { @@ -3587,7 +3727,7 @@ type NotifyChannel struct { func (x *NotifyChannel) Reset() { *x = NotifyChannel{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[44] + mi := &file_greptime_v1_ddl_proto_msgTypes[46] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3600,7 +3740,7 @@ func (x *NotifyChannel) String() string { func (*NotifyChannel) ProtoMessage() {} func (x *NotifyChannel) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[44] + mi := &file_greptime_v1_ddl_proto_msgTypes[46] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3613,7 +3753,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{44} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{46} } func (x *NotifyChannel) GetName() string { @@ -3660,7 +3800,7 @@ type WebhookOptions struct { func (x *WebhookOptions) Reset() { *x = WebhookOptions{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[45] + mi := &file_greptime_v1_ddl_proto_msgTypes[47] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3673,7 +3813,7 @@ func (x *WebhookOptions) String() string { func (*WebhookOptions) ProtoMessage() {} func (x *WebhookOptions) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[45] + mi := &file_greptime_v1_ddl_proto_msgTypes[47] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3686,7 +3826,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{45} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{47} } func (x *WebhookOptions) GetUrl() string { @@ -3716,7 +3856,7 @@ type DropTriggerExpr struct { func (x *DropTriggerExpr) Reset() { *x = DropTriggerExpr{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[46] + mi := &file_greptime_v1_ddl_proto_msgTypes[48] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3729,7 +3869,7 @@ func (x *DropTriggerExpr) String() string { func (*DropTriggerExpr) ProtoMessage() {} func (x *DropTriggerExpr) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[46] + mi := &file_greptime_v1_ddl_proto_msgTypes[48] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3742,7 +3882,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{46} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{48} } func (x *DropTriggerExpr) GetCatalogName() string { @@ -3785,7 +3925,7 @@ type CommentOnExpr struct { func (x *CommentOnExpr) Reset() { *x = CommentOnExpr{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_ddl_proto_msgTypes[47] + mi := &file_greptime_v1_ddl_proto_msgTypes[49] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3798,7 +3938,7 @@ func (x *CommentOnExpr) String() string { func (*CommentOnExpr) ProtoMessage() {} func (x *CommentOnExpr) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_ddl_proto_msgTypes[47] + mi := &file_greptime_v1_ddl_proto_msgTypes[49] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3811,7 +3951,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{47} + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{49} } func (x *CommentOnExpr) GetCatalogName() string { @@ -4133,347 +4273,364 @@ var file_greptime_v1_ddl_proto_rawDesc = []byte{ 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, 0x71, 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, 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, + 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x91, 0x02, 0x0a, 0x0b, 0x52, 0x65, 0x70, 0x61, + 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x34, 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, 0x42, 0x02, 0x18, 0x01, 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, + 0x46, 0x0a, 0x0f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x78, 0x70, + 0x72, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, + 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x45, 0x78, 0x70, 0x72, 0x73, 0x48, 0x00, 0x52, 0x0e, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x45, 0x78, 0x70, 0x72, 0x73, 0x12, 0x48, 0x0a, 0x0d, 0x75, 0x6e, 0x70, 0x61, 0x72, + 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, + 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x70, + 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x48, 0x00, 0x52, 0x0d, 0x75, 0x6e, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x65, + 0x64, 0x42, 0x08, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x26, 0x0a, 0x0e, 0x50, + 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x70, 0x72, 0x73, 0x12, 0x14, 0x0a, + 0x05, 0x65, 0x78, 0x70, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, + 0x70, 0x72, 0x73, 0x22, 0x42, 0x0a, 0x13, 0x55, 0x6e, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x65, 0x64, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x70, 0x61, + 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22, 0xc9, 0x01, 0x0a, 0x0d, 0x44, 0x72, 0x6f, 0x70, + 0x54, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, + 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, + 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, + 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x08, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, + 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x49, 0x64, 0x52, 0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x24, 0x0a, + 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x69, 0x66, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x49, 0x66, 0x45, 0x78, 0x69, + 0x73, 0x74, 0x73, 0x22, 0x8d, 0x02, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, + 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, + 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, + 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2f, + 0x0a, 0x14, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x66, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, + 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x49, 0x66, 0x4e, 0x6f, 0x74, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, + 0x46, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x2c, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x45, 0x78, 0x70, + 0x72, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, + 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, 0x4f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x22, 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, - 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, + 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, - 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, + 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, 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, 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, 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, + 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 ( @@ -4489,7 +4646,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, 54) +var file_greptime_v1_ddl_proto_msgTypes = make([]protoimpl.MessageInfo, 56) var file_greptime_v1_ddl_proto_goTypes = []interface{}{ (Analyzer)(0), // 0: greptime.v1.Analyzer (FulltextBackend)(0), // 1: greptime.v1.FulltextBackend @@ -4510,139 +4667,143 @@ var file_greptime_v1_ddl_proto_goTypes = []interface{}{ (*SetIndex)(nil), // 16: greptime.v1.SetIndex (*UnsetIndex)(nil), // 17: greptime.v1.UnsetIndex (*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 + (*PartitionExprs)(nil), // 19: greptime.v1.PartitionExprs + (*UnpartitionedSource)(nil), // 20: greptime.v1.UnpartitionedSource + (*DropTableExpr)(nil), // 21: greptime.v1.DropTableExpr + (*CreateDatabaseExpr)(nil), // 22: greptime.v1.CreateDatabaseExpr + (*TruncateTableExpr)(nil), // 23: greptime.v1.TruncateTableExpr + (*DropDatabaseExpr)(nil), // 24: greptime.v1.DropDatabaseExpr + (*AddColumns)(nil), // 25: greptime.v1.AddColumns + (*DropDefaults)(nil), // 26: greptime.v1.DropDefaults + (*SetDefaults)(nil), // 27: greptime.v1.SetDefaults + (*DropColumns)(nil), // 28: greptime.v1.DropColumns + (*ModifyColumnTypes)(nil), // 29: greptime.v1.ModifyColumnTypes + (*RenameTable)(nil), // 30: greptime.v1.RenameTable + (*AddColumn)(nil), // 31: greptime.v1.AddColumn + (*ModifyColumnType)(nil), // 32: greptime.v1.ModifyColumnType + (*Option)(nil), // 33: greptime.v1.Option + (*SetTableOptions)(nil), // 34: greptime.v1.SetTableOptions + (*UnsetTableOptions)(nil), // 35: greptime.v1.UnsetTableOptions + (*DropColumn)(nil), // 36: greptime.v1.DropColumn + (*TableId)(nil), // 37: greptime.v1.TableId + (*FlowId)(nil), // 38: greptime.v1.FlowId + (*ColumnDef)(nil), // 39: greptime.v1.ColumnDef + (*AddColumnLocation)(nil), // 40: greptime.v1.AddColumnLocation + (*SetFulltext)(nil), // 41: greptime.v1.SetFulltext + (*UnsetFulltext)(nil), // 42: greptime.v1.UnsetFulltext + (*SetInverted)(nil), // 43: greptime.v1.SetInverted + (*UnsetInverted)(nil), // 44: greptime.v1.UnsetInverted + (*SetSkipping)(nil), // 45: greptime.v1.SetSkipping + (*UnsetSkipping)(nil), // 46: greptime.v1.UnsetSkipping + (*AlterDatabaseExpr)(nil), // 47: greptime.v1.AlterDatabaseExpr + (*SetDatabaseOptions)(nil), // 48: greptime.v1.SetDatabaseOptions + (*UnsetDatabaseOptions)(nil), // 49: greptime.v1.UnsetDatabaseOptions + (*CreateTriggerExpr)(nil), // 50: greptime.v1.CreateTriggerExpr + (*NotifyChannel)(nil), // 51: greptime.v1.NotifyChannel + (*WebhookOptions)(nil), // 52: greptime.v1.WebhookOptions + (*DropTriggerExpr)(nil), // 53: greptime.v1.DropTriggerExpr + (*CommentOnExpr)(nil), // 54: greptime.v1.CommentOnExpr + nil, // 55: greptime.v1.CreateFlowExpr.FlowOptionsEntry + nil, // 56: greptime.v1.CreateTableExpr.TableOptionsEntry + nil, // 57: greptime.v1.CreateDatabaseExpr.OptionsEntry + nil, // 58: greptime.v1.CreateTriggerExpr.LabelsEntry + nil, // 59: greptime.v1.CreateTriggerExpr.AnnotationsEntry + nil, // 60: greptime.v1.WebhookOptions.OptsEntry + (*TableName)(nil), // 61: greptime.v1.TableName + (*ExpireAfter)(nil), // 62: greptime.v1.ExpireAfter + (*EvalInterval)(nil), // 63: greptime.v1.EvalInterval + (*TimeRanges)(nil), // 64: greptime.v1.TimeRanges + (ColumnDataType)(0), // 65: greptime.v1.ColumnDataType + (*ColumnDataTypeExtension)(nil), // 66: greptime.v1.ColumnDataTypeExtension + (SemanticType)(0), // 67: greptime.v1.SemanticType + (*ColumnOptions)(nil), // 68: greptime.v1.ColumnOptions + (*durationpb.Duration)(nil), // 69: google.protobuf.Duration } var file_greptime_v1_ddl_proto_depIdxs = []int32{ - 20, // 0: greptime.v1.DdlRequest.create_database:type_name -> greptime.v1.CreateDatabaseExpr + 22, // 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 - 19, // 3: greptime.v1.DdlRequest.drop_table:type_name -> greptime.v1.DropTableExpr - 21, // 4: greptime.v1.DdlRequest.truncate_table:type_name -> greptime.v1.TruncateTableExpr + 21, // 3: greptime.v1.DdlRequest.drop_table:type_name -> greptime.v1.DropTableExpr + 23, // 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 - 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 + 47, // 9: greptime.v1.DdlRequest.alter_database:type_name -> greptime.v1.AlterDatabaseExpr + 54, // 10: greptime.v1.DdlRequest.comment_on:type_name -> greptime.v1.CommentOnExpr + 61, // 11: greptime.v1.CreateFlowExpr.source_table_names:type_name -> greptime.v1.TableName + 61, // 12: greptime.v1.CreateFlowExpr.sink_table_name:type_name -> greptime.v1.TableName + 62, // 13: greptime.v1.CreateFlowExpr.expire_after:type_name -> greptime.v1.ExpireAfter + 63, // 14: greptime.v1.CreateFlowExpr.eval_interval:type_name -> greptime.v1.EvalInterval + 55, // 15: greptime.v1.CreateFlowExpr.flow_options:type_name -> greptime.v1.CreateFlowExpr.FlowOptionsEntry + 38, // 16: greptime.v1.DropFlowExpr.flow_id:type_name -> greptime.v1.FlowId + 61, // 17: greptime.v1.CreateViewExpr.table_names:type_name -> greptime.v1.TableName + 37, // 18: greptime.v1.DropViewExpr.view_id:type_name -> greptime.v1.TableId + 39, // 19: greptime.v1.CreateTableExpr.column_defs:type_name -> greptime.v1.ColumnDef + 56, // 20: greptime.v1.CreateTableExpr.table_options:type_name -> greptime.v1.CreateTableExpr.TableOptionsEntry + 37, // 21: greptime.v1.CreateTableExpr.table_id:type_name -> greptime.v1.TableId + 25, // 22: greptime.v1.AlterTableExpr.add_columns:type_name -> greptime.v1.AddColumns + 28, // 23: greptime.v1.AlterTableExpr.drop_columns:type_name -> greptime.v1.DropColumns + 30, // 24: greptime.v1.AlterTableExpr.rename_table:type_name -> greptime.v1.RenameTable + 29, // 25: greptime.v1.AlterTableExpr.modify_column_types:type_name -> greptime.v1.ModifyColumnTypes + 34, // 26: greptime.v1.AlterTableExpr.set_table_options:type_name -> greptime.v1.SetTableOptions + 35, // 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 - 24, // 30: greptime.v1.AlterTableExpr.drop_defaults:type_name -> greptime.v1.DropDefaults + 26, // 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 - 25, // 33: greptime.v1.AlterTableExpr.set_defaults:type_name -> greptime.v1.SetDefaults + 27, // 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 + 41, // 37: greptime.v1.SetIndex.fulltext:type_name -> greptime.v1.SetFulltext + 43, // 38: greptime.v1.SetIndex.inverted:type_name -> greptime.v1.SetInverted + 45, // 39: greptime.v1.SetIndex.skipping:type_name -> greptime.v1.SetSkipping + 42, // 40: greptime.v1.UnsetIndex.fulltext:type_name -> greptime.v1.UnsetFulltext + 44, // 41: greptime.v1.UnsetIndex.inverted:type_name -> greptime.v1.UnsetInverted + 46, // 42: greptime.v1.UnsetIndex.skipping:type_name -> greptime.v1.UnsetSkipping + 19, // 43: greptime.v1.Repartition.partition_exprs:type_name -> greptime.v1.PartitionExprs + 20, // 44: greptime.v1.Repartition.unpartitioned:type_name -> greptime.v1.UnpartitionedSource + 37, // 45: greptime.v1.DropTableExpr.table_id:type_name -> greptime.v1.TableId + 57, // 46: greptime.v1.CreateDatabaseExpr.options:type_name -> greptime.v1.CreateDatabaseExpr.OptionsEntry + 37, // 47: greptime.v1.TruncateTableExpr.table_id:type_name -> greptime.v1.TableId + 64, // 48: greptime.v1.TruncateTableExpr.time_ranges:type_name -> greptime.v1.TimeRanges + 31, // 49: greptime.v1.AddColumns.add_columns:type_name -> greptime.v1.AddColumn + 12, // 50: greptime.v1.DropDefaults.drop_defaults:type_name -> greptime.v1.DropDefault + 15, // 51: greptime.v1.SetDefaults.set_defaults:type_name -> greptime.v1.SetDefault + 36, // 52: greptime.v1.DropColumns.drop_columns:type_name -> greptime.v1.DropColumn + 32, // 53: greptime.v1.ModifyColumnTypes.modify_column_types:type_name -> greptime.v1.ModifyColumnType + 39, // 54: greptime.v1.AddColumn.column_def:type_name -> greptime.v1.ColumnDef + 40, // 55: greptime.v1.AddColumn.location:type_name -> greptime.v1.AddColumnLocation + 65, // 56: greptime.v1.ModifyColumnType.target_type:type_name -> greptime.v1.ColumnDataType + 66, // 57: greptime.v1.ModifyColumnType.target_type_extension:type_name -> greptime.v1.ColumnDataTypeExtension + 33, // 58: greptime.v1.SetTableOptions.table_options:type_name -> greptime.v1.Option + 65, // 59: greptime.v1.ColumnDef.data_type:type_name -> greptime.v1.ColumnDataType + 67, // 60: greptime.v1.ColumnDef.semantic_type:type_name -> greptime.v1.SemanticType + 66, // 61: greptime.v1.ColumnDef.datatype_extension:type_name -> greptime.v1.ColumnDataTypeExtension + 68, // 62: greptime.v1.ColumnDef.options:type_name -> greptime.v1.ColumnOptions + 4, // 63: greptime.v1.AddColumnLocation.location_type:type_name -> greptime.v1.AddColumnLocation.LocationType + 0, // 64: greptime.v1.SetFulltext.analyzer:type_name -> greptime.v1.Analyzer + 1, // 65: greptime.v1.SetFulltext.backend:type_name -> greptime.v1.FulltextBackend + 2, // 66: greptime.v1.SetSkipping.skipping_index_type:type_name -> greptime.v1.SkippingIndexType + 48, // 67: greptime.v1.AlterDatabaseExpr.set_database_options:type_name -> greptime.v1.SetDatabaseOptions + 49, // 68: greptime.v1.AlterDatabaseExpr.unset_database_options:type_name -> greptime.v1.UnsetDatabaseOptions + 33, // 69: greptime.v1.SetDatabaseOptions.set_database_options:type_name -> greptime.v1.Option + 51, // 70: greptime.v1.CreateTriggerExpr.channels:type_name -> greptime.v1.NotifyChannel + 58, // 71: greptime.v1.CreateTriggerExpr.labels:type_name -> greptime.v1.CreateTriggerExpr.LabelsEntry + 59, // 72: greptime.v1.CreateTriggerExpr.annotations:type_name -> greptime.v1.CreateTriggerExpr.AnnotationsEntry + 69, // 73: greptime.v1.CreateTriggerExpr.interval:type_name -> google.protobuf.Duration + 69, // 74: greptime.v1.CreateTriggerExpr.for:type_name -> google.protobuf.Duration + 69, // 75: greptime.v1.CreateTriggerExpr.keep_firing_for:type_name -> google.protobuf.Duration + 52, // 76: greptime.v1.NotifyChannel.webhook:type_name -> greptime.v1.WebhookOptions + 60, // 77: greptime.v1.WebhookOptions.opts:type_name -> greptime.v1.WebhookOptions.OptsEntry + 3, // 78: greptime.v1.CommentOnExpr.object_type:type_name -> greptime.v1.CommentObjectType + 79, // [79:79] is the sub-list for method output_type + 79, // [79:79] is the sub-list for method input_type + 79, // [79:79] is the sub-list for extension type_name + 79, // [79:79] is the sub-list for extension extendee + 0, // [0:79] is the sub-list for field type_name } func init() { file_greptime_v1_ddl_proto_init() } @@ -4821,7 +4982,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.(*DropTableExpr); i { + switch v := v.(*PartitionExprs); i { case 0: return &v.state case 1: @@ -4833,7 +4994,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.(*CreateDatabaseExpr); i { + switch v := v.(*UnpartitionedSource); i { case 0: return &v.state case 1: @@ -4845,7 +5006,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.(*TruncateTableExpr); i { + switch v := v.(*DropTableExpr); i { case 0: return &v.state case 1: @@ -4857,7 +5018,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.(*DropDatabaseExpr); i { + switch v := v.(*CreateDatabaseExpr); i { case 0: return &v.state case 1: @@ -4869,7 +5030,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.(*AddColumns); i { + switch v := v.(*TruncateTableExpr); i { case 0: return &v.state case 1: @@ -4881,7 +5042,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.(*DropDefaults); i { + switch v := v.(*DropDatabaseExpr); i { case 0: return &v.state case 1: @@ -4893,7 +5054,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.(*SetDefaults); i { + switch v := v.(*AddColumns); i { case 0: return &v.state case 1: @@ -4905,7 +5066,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.(*DropColumns); i { + switch v := v.(*DropDefaults); i { case 0: return &v.state case 1: @@ -4917,7 +5078,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.(*ModifyColumnTypes); i { + switch v := v.(*SetDefaults); i { case 0: return &v.state case 1: @@ -4929,7 +5090,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.(*RenameTable); i { + switch v := v.(*DropColumns); i { case 0: return &v.state case 1: @@ -4941,7 +5102,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.(*AddColumn); i { + switch v := v.(*ModifyColumnTypes); i { case 0: return &v.state case 1: @@ -4953,7 +5114,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.(*ModifyColumnType); i { + switch v := v.(*RenameTable); i { case 0: return &v.state case 1: @@ -4965,7 +5126,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.(*Option); i { + switch v := v.(*AddColumn); i { case 0: return &v.state case 1: @@ -4977,7 +5138,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.(*SetTableOptions); i { + switch v := v.(*ModifyColumnType); i { case 0: return &v.state case 1: @@ -4989,7 +5150,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.(*UnsetTableOptions); i { + switch v := v.(*Option); i { case 0: return &v.state case 1: @@ -5001,7 +5162,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.(*DropColumn); i { + switch v := v.(*SetTableOptions); i { case 0: return &v.state case 1: @@ -5013,7 +5174,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.(*TableId); i { + switch v := v.(*UnsetTableOptions); i { case 0: return &v.state case 1: @@ -5025,7 +5186,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.(*FlowId); i { + switch v := v.(*DropColumn); i { case 0: return &v.state case 1: @@ -5037,7 +5198,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.(*ColumnDef); i { + switch v := v.(*TableId); i { case 0: return &v.state case 1: @@ -5049,7 +5210,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.(*AddColumnLocation); i { + switch v := v.(*FlowId); i { case 0: return &v.state case 1: @@ -5061,7 +5222,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.(*SetFulltext); i { + switch v := v.(*ColumnDef); i { case 0: return &v.state case 1: @@ -5073,7 +5234,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.(*UnsetFulltext); i { + switch v := v.(*AddColumnLocation); i { case 0: return &v.state case 1: @@ -5085,7 +5246,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.(*SetInverted); i { + switch v := v.(*SetFulltext); i { case 0: return &v.state case 1: @@ -5097,7 +5258,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.(*UnsetInverted); i { + switch v := v.(*UnsetFulltext); i { case 0: return &v.state case 1: @@ -5109,7 +5270,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.(*SetSkipping); i { + switch v := v.(*SetInverted); i { case 0: return &v.state case 1: @@ -5121,7 +5282,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.(*UnsetSkipping); i { + switch v := v.(*UnsetInverted); i { case 0: return &v.state case 1: @@ -5133,7 +5294,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.(*AlterDatabaseExpr); i { + switch v := v.(*SetSkipping); i { case 0: return &v.state case 1: @@ -5145,7 +5306,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.(*SetDatabaseOptions); i { + switch v := v.(*UnsetSkipping); i { case 0: return &v.state case 1: @@ -5157,7 +5318,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.(*UnsetDatabaseOptions); i { + switch v := v.(*AlterDatabaseExpr); i { case 0: return &v.state case 1: @@ -5169,7 +5330,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.(*CreateTriggerExpr); i { + switch v := v.(*SetDatabaseOptions); i { case 0: return &v.state case 1: @@ -5181,7 +5342,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.(*NotifyChannel); i { + switch v := v.(*UnsetDatabaseOptions); i { case 0: return &v.state case 1: @@ -5193,7 +5354,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.(*WebhookOptions); i { + switch v := v.(*CreateTriggerExpr); i { case 0: return &v.state case 1: @@ -5205,7 +5366,7 @@ 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 { + switch v := v.(*NotifyChannel); i { case 0: return &v.state case 1: @@ -5217,6 +5378,30 @@ func file_greptime_v1_ddl_proto_init() { } } file_greptime_v1_ddl_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WebhookOptions); 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[48].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[49].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CommentOnExpr); i { case 0: return &v.state @@ -5267,11 +5452,15 @@ func file_greptime_v1_ddl_proto_init() { (*UnsetIndex_Inverted)(nil), (*UnsetIndex_Skipping)(nil), } - file_greptime_v1_ddl_proto_msgTypes[40].OneofWrappers = []interface{}{ + file_greptime_v1_ddl_proto_msgTypes[13].OneofWrappers = []interface{}{ + (*Repartition_PartitionExprs)(nil), + (*Repartition_Unpartitioned)(nil), + } + file_greptime_v1_ddl_proto_msgTypes[42].OneofWrappers = []interface{}{ (*AlterDatabaseExpr_SetDatabaseOptions)(nil), (*AlterDatabaseExpr_UnsetDatabaseOptions)(nil), } - file_greptime_v1_ddl_proto_msgTypes[44].OneofWrappers = []interface{}{ + file_greptime_v1_ddl_proto_msgTypes[46].OneofWrappers = []interface{}{ (*NotifyChannel_Webhook)(nil), } type x struct{} @@ -5280,7 +5469,7 @@ func file_greptime_v1_ddl_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_greptime_v1_ddl_proto_rawDesc, NumEnums: 5, - NumMessages: 54, + NumMessages: 56, 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 5a963b4..aa49d7b 100644 --- a/java/src/main/java/io/greptime/v1/Ddl.java +++ b/java/src/main/java/io/greptime/v1/Ddl.java @@ -21979,85 +21979,109 @@ java.lang.String defaultValue); /** *
-     * The from partition expressions serialized in JSON format.
+     * Deprecated: use `source.partition_exprs.exprs` instead.
      * 
* - * repeated string from_partition_exprs = 1; + * repeated string from_partition_exprs = 1 [deprecated = true]; + * @deprecated greptime.v1.Repartition.from_partition_exprs is deprecated. + * See greptime/v1/ddl.proto;l=165 * @return A list containing the fromPartitionExprs. */ - java.util.List + @java.lang.Deprecated java.util.List getFromPartitionExprsList(); /** *
-     * The from partition expressions serialized in JSON format.
+     * Deprecated: use `source.partition_exprs.exprs` instead.
      * 
* - * repeated string from_partition_exprs = 1; + * repeated string from_partition_exprs = 1 [deprecated = true]; + * @deprecated greptime.v1.Repartition.from_partition_exprs is deprecated. + * See greptime/v1/ddl.proto;l=165 * @return The count of fromPartitionExprs. */ - int getFromPartitionExprsCount(); + @java.lang.Deprecated int getFromPartitionExprsCount(); /** *
-     * The from partition expressions serialized in JSON format.
+     * Deprecated: use `source.partition_exprs.exprs` instead.
      * 
* - * repeated string from_partition_exprs = 1; + * repeated string from_partition_exprs = 1 [deprecated = true]; + * @deprecated greptime.v1.Repartition.from_partition_exprs is deprecated. + * See greptime/v1/ddl.proto;l=165 * @param index The index of the element to return. * @return The fromPartitionExprs at the given index. */ - java.lang.String getFromPartitionExprs(int index); + @java.lang.Deprecated java.lang.String getFromPartitionExprs(int index); /** *
-     * The from partition expressions serialized in JSON format.
+     * Deprecated: use `source.partition_exprs.exprs` instead.
      * 
* - * repeated string from_partition_exprs = 1; + * repeated string from_partition_exprs = 1 [deprecated = true]; + * @deprecated greptime.v1.Repartition.from_partition_exprs is deprecated. + * See greptime/v1/ddl.proto;l=165 * @param index The index of the value to return. * @return The bytes of the fromPartitionExprs at the given index. */ - com.google.protobuf.ByteString + @java.lang.Deprecated 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); + + /** + * .greptime.v1.PartitionExprs partition_exprs = 3; + * @return Whether the partitionExprs field is set. + */ + boolean hasPartitionExprs(); + /** + * .greptime.v1.PartitionExprs partition_exprs = 3; + * @return The partitionExprs. + */ + io.greptime.v1.Ddl.PartitionExprs getPartitionExprs(); + /** + * .greptime.v1.PartitionExprs partition_exprs = 3; + */ + io.greptime.v1.Ddl.PartitionExprsOrBuilder getPartitionExprsOrBuilder(); + + /** + * .greptime.v1.UnpartitionedSource unpartitioned = 4; + * @return Whether the unpartitioned field is set. + */ + boolean hasUnpartitioned(); + /** + * .greptime.v1.UnpartitionedSource unpartitioned = 4; + * @return The unpartitioned. + */ + io.greptime.v1.Ddl.UnpartitionedSource getUnpartitioned(); + /** + * .greptime.v1.UnpartitionedSource unpartitioned = 4; + */ + io.greptime.v1.Ddl.UnpartitionedSourceOrBuilder getUnpartitionedOrBuilder(); + + public io.greptime.v1.Ddl.Repartition.SourceCase getSourceCase(); } /** * Protobuf type {@code greptime.v1.Repartition} @@ -22125,6 +22149,34 @@ java.lang.String defaultValue); intoPartitionExprs_.add(s); break; } + case 26: { + io.greptime.v1.Ddl.PartitionExprs.Builder subBuilder = null; + if (sourceCase_ == 3) { + subBuilder = ((io.greptime.v1.Ddl.PartitionExprs) source_).toBuilder(); + } + source_ = + input.readMessage(io.greptime.v1.Ddl.PartitionExprs.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((io.greptime.v1.Ddl.PartitionExprs) source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 3; + break; + } + case 34: { + io.greptime.v1.Ddl.UnpartitionedSource.Builder subBuilder = null; + if (sourceCase_ == 4) { + subBuilder = ((io.greptime.v1.Ddl.UnpartitionedSource) source_).toBuilder(); + } + source_ = + input.readMessage(io.greptime.v1.Ddl.UnpartitionedSource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((io.greptime.v1.Ddl.UnpartitionedSource) source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 4; + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -22165,53 +22217,102 @@ java.lang.String defaultValue); io.greptime.v1.Ddl.Repartition.class, io.greptime.v1.Ddl.Repartition.Builder.class); } + private int sourceCase_ = 0; + private java.lang.Object source_; + public enum SourceCase + implements com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { + PARTITION_EXPRS(3), + UNPARTITIONED(4), + SOURCE_NOT_SET(0); + private final int value; + private SourceCase(int value) { + this.value = value; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static SourceCase valueOf(int value) { + return forNumber(value); + } + + public static SourceCase forNumber(int value) { + switch (value) { + case 3: return PARTITION_EXPRS; + case 4: return UNPARTITIONED; + case 0: return SOURCE_NOT_SET; + default: return null; + } + } + public int getNumber() { + return this.value; + } + }; + + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); + } + public static final int FROM_PARTITION_EXPRS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList fromPartitionExprs_; /** *
-     * The from partition expressions serialized in JSON format.
+     * Deprecated: use `source.partition_exprs.exprs` instead.
      * 
* - * repeated string from_partition_exprs = 1; + * repeated string from_partition_exprs = 1 [deprecated = true]; + * @deprecated greptime.v1.Repartition.from_partition_exprs is deprecated. + * See greptime/v1/ddl.proto;l=165 * @return A list containing the fromPartitionExprs. */ - public com.google.protobuf.ProtocolStringList + @java.lang.Deprecated public com.google.protobuf.ProtocolStringList getFromPartitionExprsList() { return fromPartitionExprs_; } /** *
-     * The from partition expressions serialized in JSON format.
+     * Deprecated: use `source.partition_exprs.exprs` instead.
      * 
* - * repeated string from_partition_exprs = 1; + * repeated string from_partition_exprs = 1 [deprecated = true]; + * @deprecated greptime.v1.Repartition.from_partition_exprs is deprecated. + * See greptime/v1/ddl.proto;l=165 * @return The count of fromPartitionExprs. */ - public int getFromPartitionExprsCount() { + @java.lang.Deprecated public int getFromPartitionExprsCount() { return fromPartitionExprs_.size(); } /** *
-     * The from partition expressions serialized in JSON format.
+     * Deprecated: use `source.partition_exprs.exprs` instead.
      * 
* - * repeated string from_partition_exprs = 1; + * repeated string from_partition_exprs = 1 [deprecated = true]; + * @deprecated greptime.v1.Repartition.from_partition_exprs is deprecated. + * See greptime/v1/ddl.proto;l=165 * @param index The index of the element to return. * @return The fromPartitionExprs at the given index. */ - public java.lang.String getFromPartitionExprs(int index) { + @java.lang.Deprecated public java.lang.String getFromPartitionExprs(int index) { return fromPartitionExprs_.get(index); } /** *
-     * The from partition expressions serialized in JSON format.
+     * Deprecated: use `source.partition_exprs.exprs` instead.
      * 
* - * repeated string from_partition_exprs = 1; + * repeated string from_partition_exprs = 1 [deprecated = true]; + * @deprecated greptime.v1.Repartition.from_partition_exprs is deprecated. + * See greptime/v1/ddl.proto;l=165 * @param index The index of the value to return. * @return The bytes of the fromPartitionExprs at the given index. */ - public com.google.protobuf.ByteString + @java.lang.Deprecated public com.google.protobuf.ByteString getFromPartitionExprsBytes(int index) { return fromPartitionExprs_.getByteString(index); } @@ -22219,10 +22320,6 @@ java.lang.String defaultValue); 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. */ @@ -22231,10 +22328,6 @@ java.lang.String defaultValue); return intoPartitionExprs_; } /** - *
-     * The into partition expressions serialized in JSON format.
-     * 
- * * repeated string into_partition_exprs = 2; * @return The count of intoPartitionExprs. */ @@ -22242,10 +22335,6 @@ java.lang.String defaultValue); 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. @@ -22254,10 +22343,6 @@ java.lang.String defaultValue); 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. @@ -22267,6 +22352,68 @@ java.lang.String defaultValue); return intoPartitionExprs_.getByteString(index); } + public static final int PARTITION_EXPRS_FIELD_NUMBER = 3; + /** + * .greptime.v1.PartitionExprs partition_exprs = 3; + * @return Whether the partitionExprs field is set. + */ + @java.lang.Override + public boolean hasPartitionExprs() { + return sourceCase_ == 3; + } + /** + * .greptime.v1.PartitionExprs partition_exprs = 3; + * @return The partitionExprs. + */ + @java.lang.Override + public io.greptime.v1.Ddl.PartitionExprs getPartitionExprs() { + if (sourceCase_ == 3) { + return (io.greptime.v1.Ddl.PartitionExprs) source_; + } + return io.greptime.v1.Ddl.PartitionExprs.getDefaultInstance(); + } + /** + * .greptime.v1.PartitionExprs partition_exprs = 3; + */ + @java.lang.Override + public io.greptime.v1.Ddl.PartitionExprsOrBuilder getPartitionExprsOrBuilder() { + if (sourceCase_ == 3) { + return (io.greptime.v1.Ddl.PartitionExprs) source_; + } + return io.greptime.v1.Ddl.PartitionExprs.getDefaultInstance(); + } + + public static final int UNPARTITIONED_FIELD_NUMBER = 4; + /** + * .greptime.v1.UnpartitionedSource unpartitioned = 4; + * @return Whether the unpartitioned field is set. + */ + @java.lang.Override + public boolean hasUnpartitioned() { + return sourceCase_ == 4; + } + /** + * .greptime.v1.UnpartitionedSource unpartitioned = 4; + * @return The unpartitioned. + */ + @java.lang.Override + public io.greptime.v1.Ddl.UnpartitionedSource getUnpartitioned() { + if (sourceCase_ == 4) { + return (io.greptime.v1.Ddl.UnpartitionedSource) source_; + } + return io.greptime.v1.Ddl.UnpartitionedSource.getDefaultInstance(); + } + /** + * .greptime.v1.UnpartitionedSource unpartitioned = 4; + */ + @java.lang.Override + public io.greptime.v1.Ddl.UnpartitionedSourceOrBuilder getUnpartitionedOrBuilder() { + if (sourceCase_ == 4) { + return (io.greptime.v1.Ddl.UnpartitionedSource) source_; + } + return io.greptime.v1.Ddl.UnpartitionedSource.getDefaultInstance(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -22287,6 +22434,12 @@ java.lang.String defaultValue); for (int i = 0; i < intoPartitionExprs_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, intoPartitionExprs_.getRaw(i)); } + if (sourceCase_ == 3) { + output.writeMessage(3, (io.greptime.v1.Ddl.PartitionExprs) source_); + } + if (sourceCase_ == 4) { + output.writeMessage(4, (io.greptime.v1.Ddl.UnpartitionedSource) source_); + } unknownFields.writeTo(output); } @@ -22312,6 +22465,14 @@ java.lang.String defaultValue); size += dataSize; size += 1 * getIntoPartitionExprsList().size(); } + if (sourceCase_ == 3) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (io.greptime.v1.Ddl.PartitionExprs) source_); + } + if (sourceCase_ == 4) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (io.greptime.v1.Ddl.UnpartitionedSource) source_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -22331,6 +22492,19 @@ java.lang.String defaultValue); .equals(other.getFromPartitionExprsList())) return false; if (!getIntoPartitionExprsList() .equals(other.getIntoPartitionExprsList())) return false; + if (!getSourceCase().equals(other.getSourceCase())) return false; + switch (sourceCase_) { + case 3: + if (!getPartitionExprs() + .equals(other.getPartitionExprs())) return false; + break; + case 4: + if (!getUnpartitioned() + .equals(other.getUnpartitioned())) return false; + break; + case 0: + default: + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -22350,6 +22524,18 @@ java.lang.String defaultValue); hash = (37 * hash) + INTO_PARTITION_EXPRS_FIELD_NUMBER; hash = (53 * hash) + getIntoPartitionExprsList().hashCode(); } + switch (sourceCase_) { + case 3: + hash = (37 * hash) + PARTITION_EXPRS_FIELD_NUMBER; + hash = (53 * hash) + getPartitionExprs().hashCode(); + break; + case 4: + hash = (37 * hash) + UNPARTITIONED_FIELD_NUMBER; + hash = (53 * hash) + getUnpartitioned().hashCode(); + break; + case 0: + default: + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -22487,6 +22673,8 @@ java.lang.String defaultValue); bitField0_ = (bitField0_ & ~0x00000001); intoPartitionExprs_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); + sourceCase_ = 0; + source_ = null; return this; } @@ -22524,6 +22712,21 @@ java.lang.String defaultValue); bitField0_ = (bitField0_ & ~0x00000002); } result.intoPartitionExprs_ = intoPartitionExprs_; + if (sourceCase_ == 3) { + if (partitionExprsBuilder_ == null) { + result.source_ = source_; + } else { + result.source_ = partitionExprsBuilder_.build(); + } + } + if (sourceCase_ == 4) { + if (unpartitionedBuilder_ == null) { + result.source_ = source_; + } else { + result.source_ = unpartitionedBuilder_.build(); + } + } + result.sourceCase_ = sourceCase_; onBuilt(); return result; } @@ -22592,6 +22795,19 @@ java.lang.String defaultValue); } onChanged(); } + switch (other.getSourceCase()) { + case PARTITION_EXPRS: { + mergePartitionExprs(other.getPartitionExprs()); + break; + } + case UNPARTITIONED: { + mergeUnpartitioned(other.getUnpartitioned()); + break; + } + case SOURCE_NOT_SET: { + break; + } + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -22620,6 +22836,21 @@ java.lang.String defaultValue); } return this; } + private int sourceCase_ = 0; + private java.lang.Object source_; + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); + } + + public Builder clearSource() { + sourceCase_ = 0; + source_ = null; + onChanged(); + return this; + } + private int bitField0_; private com.google.protobuf.LazyStringList fromPartitionExprs_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -22631,63 +22862,73 @@ java.lang.String defaultValue); } /** *
-       * The from partition expressions serialized in JSON format.
+       * Deprecated: use `source.partition_exprs.exprs` instead.
        * 
* - * repeated string from_partition_exprs = 1; + * repeated string from_partition_exprs = 1 [deprecated = true]; + * @deprecated greptime.v1.Repartition.from_partition_exprs is deprecated. + * See greptime/v1/ddl.proto;l=165 * @return A list containing the fromPartitionExprs. */ - public com.google.protobuf.ProtocolStringList + @java.lang.Deprecated public com.google.protobuf.ProtocolStringList getFromPartitionExprsList() { return fromPartitionExprs_.getUnmodifiableView(); } /** *
-       * The from partition expressions serialized in JSON format.
+       * Deprecated: use `source.partition_exprs.exprs` instead.
        * 
* - * repeated string from_partition_exprs = 1; + * repeated string from_partition_exprs = 1 [deprecated = true]; + * @deprecated greptime.v1.Repartition.from_partition_exprs is deprecated. + * See greptime/v1/ddl.proto;l=165 * @return The count of fromPartitionExprs. */ - public int getFromPartitionExprsCount() { + @java.lang.Deprecated public int getFromPartitionExprsCount() { return fromPartitionExprs_.size(); } /** *
-       * The from partition expressions serialized in JSON format.
+       * Deprecated: use `source.partition_exprs.exprs` instead.
        * 
* - * repeated string from_partition_exprs = 1; + * repeated string from_partition_exprs = 1 [deprecated = true]; + * @deprecated greptime.v1.Repartition.from_partition_exprs is deprecated. + * See greptime/v1/ddl.proto;l=165 * @param index The index of the element to return. * @return The fromPartitionExprs at the given index. */ - public java.lang.String getFromPartitionExprs(int index) { + @java.lang.Deprecated public java.lang.String getFromPartitionExprs(int index) { return fromPartitionExprs_.get(index); } /** *
-       * The from partition expressions serialized in JSON format.
+       * Deprecated: use `source.partition_exprs.exprs` instead.
        * 
* - * repeated string from_partition_exprs = 1; + * repeated string from_partition_exprs = 1 [deprecated = true]; + * @deprecated greptime.v1.Repartition.from_partition_exprs is deprecated. + * See greptime/v1/ddl.proto;l=165 * @param index The index of the value to return. * @return The bytes of the fromPartitionExprs at the given index. */ - public com.google.protobuf.ByteString + @java.lang.Deprecated public com.google.protobuf.ByteString getFromPartitionExprsBytes(int index) { return fromPartitionExprs_.getByteString(index); } /** *
-       * The from partition expressions serialized in JSON format.
+       * Deprecated: use `source.partition_exprs.exprs` instead.
        * 
* - * repeated string from_partition_exprs = 1; + * repeated string from_partition_exprs = 1 [deprecated = true]; + * @deprecated greptime.v1.Repartition.from_partition_exprs is deprecated. + * See greptime/v1/ddl.proto;l=165 * @param index The index to set the value at. * @param value The fromPartitionExprs to set. * @return This builder for chaining. */ - public Builder setFromPartitionExprs( + @java.lang.Deprecated public Builder setFromPartitionExprs( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); @@ -22699,14 +22940,16 @@ java.lang.String defaultValue); } /** *
-       * The from partition expressions serialized in JSON format.
+       * Deprecated: use `source.partition_exprs.exprs` instead.
        * 
* - * repeated string from_partition_exprs = 1; + * repeated string from_partition_exprs = 1 [deprecated = true]; + * @deprecated greptime.v1.Repartition.from_partition_exprs is deprecated. + * See greptime/v1/ddl.proto;l=165 * @param value The fromPartitionExprs to add. * @return This builder for chaining. */ - public Builder addFromPartitionExprs( + @java.lang.Deprecated public Builder addFromPartitionExprs( java.lang.String value) { if (value == null) { throw new NullPointerException(); @@ -22718,14 +22961,16 @@ java.lang.String defaultValue); } /** *
-       * The from partition expressions serialized in JSON format.
+       * Deprecated: use `source.partition_exprs.exprs` instead.
        * 
* - * repeated string from_partition_exprs = 1; + * repeated string from_partition_exprs = 1 [deprecated = true]; + * @deprecated greptime.v1.Repartition.from_partition_exprs is deprecated. + * See greptime/v1/ddl.proto;l=165 * @param values The fromPartitionExprs to add. * @return This builder for chaining. */ - public Builder addAllFromPartitionExprs( + @java.lang.Deprecated public Builder addAllFromPartitionExprs( java.lang.Iterable values) { ensureFromPartitionExprsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( @@ -22735,13 +22980,15 @@ java.lang.String defaultValue); } /** *
-       * The from partition expressions serialized in JSON format.
+       * Deprecated: use `source.partition_exprs.exprs` instead.
        * 
* - * repeated string from_partition_exprs = 1; + * repeated string from_partition_exprs = 1 [deprecated = true]; + * @deprecated greptime.v1.Repartition.from_partition_exprs is deprecated. + * See greptime/v1/ddl.proto;l=165 * @return This builder for chaining. */ - public Builder clearFromPartitionExprs() { + @java.lang.Deprecated public Builder clearFromPartitionExprs() { fromPartitionExprs_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); @@ -22749,14 +22996,16 @@ java.lang.String defaultValue); } /** *
-       * The from partition expressions serialized in JSON format.
+       * Deprecated: use `source.partition_exprs.exprs` instead.
        * 
* - * repeated string from_partition_exprs = 1; + * repeated string from_partition_exprs = 1 [deprecated = true]; + * @deprecated greptime.v1.Repartition.from_partition_exprs is deprecated. + * See greptime/v1/ddl.proto;l=165 * @param value The bytes of the fromPartitionExprs to add. * @return This builder for chaining. */ - public Builder addFromPartitionExprsBytes( + @java.lang.Deprecated public Builder addFromPartitionExprsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); @@ -22776,10 +23025,6 @@ java.lang.String defaultValue); } } /** - *
-       * The into partition expressions serialized in JSON format.
-       * 
- * * repeated string into_partition_exprs = 2; * @return A list containing the intoPartitionExprs. */ @@ -22788,10 +23033,6 @@ java.lang.String defaultValue); return intoPartitionExprs_.getUnmodifiableView(); } /** - *
-       * The into partition expressions serialized in JSON format.
-       * 
- * * repeated string into_partition_exprs = 2; * @return The count of intoPartitionExprs. */ @@ -22799,10 +23040,6 @@ java.lang.String defaultValue); 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. @@ -22811,10 +23048,6 @@ java.lang.String defaultValue); 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. @@ -22824,10 +23057,6 @@ java.lang.String defaultValue); 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. @@ -22844,10 +23073,6 @@ java.lang.String defaultValue); 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. @@ -22863,10 +23088,6 @@ java.lang.String defaultValue); 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. @@ -22880,10 +23101,6 @@ java.lang.String defaultValue); return this; } /** - *
-       * The into partition expressions serialized in JSON format.
-       * 
- * * repeated string into_partition_exprs = 2; * @return This builder for chaining. */ @@ -22894,10 +23111,6 @@ java.lang.String defaultValue); 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. @@ -22913,6 +23126,290 @@ java.lang.String defaultValue); onChanged(); return this; } + + private com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Ddl.PartitionExprs, io.greptime.v1.Ddl.PartitionExprs.Builder, io.greptime.v1.Ddl.PartitionExprsOrBuilder> partitionExprsBuilder_; + /** + * .greptime.v1.PartitionExprs partition_exprs = 3; + * @return Whether the partitionExprs field is set. + */ + @java.lang.Override + public boolean hasPartitionExprs() { + return sourceCase_ == 3; + } + /** + * .greptime.v1.PartitionExprs partition_exprs = 3; + * @return The partitionExprs. + */ + @java.lang.Override + public io.greptime.v1.Ddl.PartitionExprs getPartitionExprs() { + if (partitionExprsBuilder_ == null) { + if (sourceCase_ == 3) { + return (io.greptime.v1.Ddl.PartitionExprs) source_; + } + return io.greptime.v1.Ddl.PartitionExprs.getDefaultInstance(); + } else { + if (sourceCase_ == 3) { + return partitionExprsBuilder_.getMessage(); + } + return io.greptime.v1.Ddl.PartitionExprs.getDefaultInstance(); + } + } + /** + * .greptime.v1.PartitionExprs partition_exprs = 3; + */ + public Builder setPartitionExprs(io.greptime.v1.Ddl.PartitionExprs value) { + if (partitionExprsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + source_ = value; + onChanged(); + } else { + partitionExprsBuilder_.setMessage(value); + } + sourceCase_ = 3; + return this; + } + /** + * .greptime.v1.PartitionExprs partition_exprs = 3; + */ + public Builder setPartitionExprs( + io.greptime.v1.Ddl.PartitionExprs.Builder builderForValue) { + if (partitionExprsBuilder_ == null) { + source_ = builderForValue.build(); + onChanged(); + } else { + partitionExprsBuilder_.setMessage(builderForValue.build()); + } + sourceCase_ = 3; + return this; + } + /** + * .greptime.v1.PartitionExprs partition_exprs = 3; + */ + public Builder mergePartitionExprs(io.greptime.v1.Ddl.PartitionExprs value) { + if (partitionExprsBuilder_ == null) { + if (sourceCase_ == 3 && + source_ != io.greptime.v1.Ddl.PartitionExprs.getDefaultInstance()) { + source_ = io.greptime.v1.Ddl.PartitionExprs.newBuilder((io.greptime.v1.Ddl.PartitionExprs) source_) + .mergeFrom(value).buildPartial(); + } else { + source_ = value; + } + onChanged(); + } else { + if (sourceCase_ == 3) { + partitionExprsBuilder_.mergeFrom(value); + } else { + partitionExprsBuilder_.setMessage(value); + } + } + sourceCase_ = 3; + return this; + } + /** + * .greptime.v1.PartitionExprs partition_exprs = 3; + */ + public Builder clearPartitionExprs() { + if (partitionExprsBuilder_ == null) { + if (sourceCase_ == 3) { + sourceCase_ = 0; + source_ = null; + onChanged(); + } + } else { + if (sourceCase_ == 3) { + sourceCase_ = 0; + source_ = null; + } + partitionExprsBuilder_.clear(); + } + return this; + } + /** + * .greptime.v1.PartitionExprs partition_exprs = 3; + */ + public io.greptime.v1.Ddl.PartitionExprs.Builder getPartitionExprsBuilder() { + return getPartitionExprsFieldBuilder().getBuilder(); + } + /** + * .greptime.v1.PartitionExprs partition_exprs = 3; + */ + @java.lang.Override + public io.greptime.v1.Ddl.PartitionExprsOrBuilder getPartitionExprsOrBuilder() { + if ((sourceCase_ == 3) && (partitionExprsBuilder_ != null)) { + return partitionExprsBuilder_.getMessageOrBuilder(); + } else { + if (sourceCase_ == 3) { + return (io.greptime.v1.Ddl.PartitionExprs) source_; + } + return io.greptime.v1.Ddl.PartitionExprs.getDefaultInstance(); + } + } + /** + * .greptime.v1.PartitionExprs partition_exprs = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Ddl.PartitionExprs, io.greptime.v1.Ddl.PartitionExprs.Builder, io.greptime.v1.Ddl.PartitionExprsOrBuilder> + getPartitionExprsFieldBuilder() { + if (partitionExprsBuilder_ == null) { + if (!(sourceCase_ == 3)) { + source_ = io.greptime.v1.Ddl.PartitionExprs.getDefaultInstance(); + } + partitionExprsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Ddl.PartitionExprs, io.greptime.v1.Ddl.PartitionExprs.Builder, io.greptime.v1.Ddl.PartitionExprsOrBuilder>( + (io.greptime.v1.Ddl.PartitionExprs) source_, + getParentForChildren(), + isClean()); + source_ = null; + } + sourceCase_ = 3; + onChanged();; + return partitionExprsBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Ddl.UnpartitionedSource, io.greptime.v1.Ddl.UnpartitionedSource.Builder, io.greptime.v1.Ddl.UnpartitionedSourceOrBuilder> unpartitionedBuilder_; + /** + * .greptime.v1.UnpartitionedSource unpartitioned = 4; + * @return Whether the unpartitioned field is set. + */ + @java.lang.Override + public boolean hasUnpartitioned() { + return sourceCase_ == 4; + } + /** + * .greptime.v1.UnpartitionedSource unpartitioned = 4; + * @return The unpartitioned. + */ + @java.lang.Override + public io.greptime.v1.Ddl.UnpartitionedSource getUnpartitioned() { + if (unpartitionedBuilder_ == null) { + if (sourceCase_ == 4) { + return (io.greptime.v1.Ddl.UnpartitionedSource) source_; + } + return io.greptime.v1.Ddl.UnpartitionedSource.getDefaultInstance(); + } else { + if (sourceCase_ == 4) { + return unpartitionedBuilder_.getMessage(); + } + return io.greptime.v1.Ddl.UnpartitionedSource.getDefaultInstance(); + } + } + /** + * .greptime.v1.UnpartitionedSource unpartitioned = 4; + */ + public Builder setUnpartitioned(io.greptime.v1.Ddl.UnpartitionedSource value) { + if (unpartitionedBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + source_ = value; + onChanged(); + } else { + unpartitionedBuilder_.setMessage(value); + } + sourceCase_ = 4; + return this; + } + /** + * .greptime.v1.UnpartitionedSource unpartitioned = 4; + */ + public Builder setUnpartitioned( + io.greptime.v1.Ddl.UnpartitionedSource.Builder builderForValue) { + if (unpartitionedBuilder_ == null) { + source_ = builderForValue.build(); + onChanged(); + } else { + unpartitionedBuilder_.setMessage(builderForValue.build()); + } + sourceCase_ = 4; + return this; + } + /** + * .greptime.v1.UnpartitionedSource unpartitioned = 4; + */ + public Builder mergeUnpartitioned(io.greptime.v1.Ddl.UnpartitionedSource value) { + if (unpartitionedBuilder_ == null) { + if (sourceCase_ == 4 && + source_ != io.greptime.v1.Ddl.UnpartitionedSource.getDefaultInstance()) { + source_ = io.greptime.v1.Ddl.UnpartitionedSource.newBuilder((io.greptime.v1.Ddl.UnpartitionedSource) source_) + .mergeFrom(value).buildPartial(); + } else { + source_ = value; + } + onChanged(); + } else { + if (sourceCase_ == 4) { + unpartitionedBuilder_.mergeFrom(value); + } else { + unpartitionedBuilder_.setMessage(value); + } + } + sourceCase_ = 4; + return this; + } + /** + * .greptime.v1.UnpartitionedSource unpartitioned = 4; + */ + public Builder clearUnpartitioned() { + if (unpartitionedBuilder_ == null) { + if (sourceCase_ == 4) { + sourceCase_ = 0; + source_ = null; + onChanged(); + } + } else { + if (sourceCase_ == 4) { + sourceCase_ = 0; + source_ = null; + } + unpartitionedBuilder_.clear(); + } + return this; + } + /** + * .greptime.v1.UnpartitionedSource unpartitioned = 4; + */ + public io.greptime.v1.Ddl.UnpartitionedSource.Builder getUnpartitionedBuilder() { + return getUnpartitionedFieldBuilder().getBuilder(); + } + /** + * .greptime.v1.UnpartitionedSource unpartitioned = 4; + */ + @java.lang.Override + public io.greptime.v1.Ddl.UnpartitionedSourceOrBuilder getUnpartitionedOrBuilder() { + if ((sourceCase_ == 4) && (unpartitionedBuilder_ != null)) { + return unpartitionedBuilder_.getMessageOrBuilder(); + } else { + if (sourceCase_ == 4) { + return (io.greptime.v1.Ddl.UnpartitionedSource) source_; + } + return io.greptime.v1.Ddl.UnpartitionedSource.getDefaultInstance(); + } + } + /** + * .greptime.v1.UnpartitionedSource unpartitioned = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Ddl.UnpartitionedSource, io.greptime.v1.Ddl.UnpartitionedSource.Builder, io.greptime.v1.Ddl.UnpartitionedSourceOrBuilder> + getUnpartitionedFieldBuilder() { + if (unpartitionedBuilder_ == null) { + if (!(sourceCase_ == 4)) { + source_ = io.greptime.v1.Ddl.UnpartitionedSource.getDefaultInstance(); + } + unpartitionedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Ddl.UnpartitionedSource, io.greptime.v1.Ddl.UnpartitionedSource.Builder, io.greptime.v1.Ddl.UnpartitionedSourceOrBuilder>( + (io.greptime.v1.Ddl.UnpartitionedSource) source_, + getParentForChildren(), + isClean()); + source_ = null; + } + sourceCase_ = 4; + onChanged();; + return unpartitionedBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -22966,6 +23463,1422 @@ java.lang.String defaultValue); } + public interface PartitionExprsOrBuilder extends + // @@protoc_insertion_point(interface_extends:greptime.v1.PartitionExprs) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * The partition expressions serialized in JSON format.
+     * 
+ * + * repeated string exprs = 1; + * @return A list containing the exprs. + */ + java.util.List + getExprsList(); + /** + *
+     * The partition expressions serialized in JSON format.
+     * 
+ * + * repeated string exprs = 1; + * @return The count of exprs. + */ + int getExprsCount(); + /** + *
+     * The partition expressions serialized in JSON format.
+     * 
+ * + * repeated string exprs = 1; + * @param index The index of the element to return. + * @return The exprs at the given index. + */ + java.lang.String getExprs(int index); + /** + *
+     * The partition expressions serialized in JSON format.
+     * 
+ * + * repeated string exprs = 1; + * @param index The index of the value to return. + * @return The bytes of the exprs at the given index. + */ + com.google.protobuf.ByteString + getExprsBytes(int index); + } + /** + * Protobuf type {@code greptime.v1.PartitionExprs} + */ + public static final class PartitionExprs extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:greptime.v1.PartitionExprs) + PartitionExprsOrBuilder { + private static final long serialVersionUID = 0L; + // Use PartitionExprs.newBuilder() to construct. + private PartitionExprs(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private PartitionExprs() { + exprs_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PartitionExprs(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private PartitionExprs( + 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)) { + exprs_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + exprs_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + exprs_ = exprs_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_PartitionExprs_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_PartitionExprs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.greptime.v1.Ddl.PartitionExprs.class, io.greptime.v1.Ddl.PartitionExprs.Builder.class); + } + + public static final int EXPRS_FIELD_NUMBER = 1; + private com.google.protobuf.LazyStringList exprs_; + /** + *
+     * The partition expressions serialized in JSON format.
+     * 
+ * + * repeated string exprs = 1; + * @return A list containing the exprs. + */ + public com.google.protobuf.ProtocolStringList + getExprsList() { + return exprs_; + } + /** + *
+     * The partition expressions serialized in JSON format.
+     * 
+ * + * repeated string exprs = 1; + * @return The count of exprs. + */ + public int getExprsCount() { + return exprs_.size(); + } + /** + *
+     * The partition expressions serialized in JSON format.
+     * 
+ * + * repeated string exprs = 1; + * @param index The index of the element to return. + * @return The exprs at the given index. + */ + public java.lang.String getExprs(int index) { + return exprs_.get(index); + } + /** + *
+     * The partition expressions serialized in JSON format.
+     * 
+ * + * repeated string exprs = 1; + * @param index The index of the value to return. + * @return The bytes of the exprs at the given index. + */ + public com.google.protobuf.ByteString + getExprsBytes(int index) { + return exprs_.getByteString(index); + } + + 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 < exprs_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, exprs_.getRaw(i)); + } + 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 < exprs_.size(); i++) { + dataSize += computeStringSizeNoTag(exprs_.getRaw(i)); + } + size += dataSize; + size += 1 * getExprsList().size(); + } + 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.PartitionExprs)) { + return super.equals(obj); + } + io.greptime.v1.Ddl.PartitionExprs other = (io.greptime.v1.Ddl.PartitionExprs) obj; + + if (!getExprsList() + .equals(other.getExprsList())) 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 (getExprsCount() > 0) { + hash = (37 * hash) + EXPRS_FIELD_NUMBER; + hash = (53 * hash) + getExprsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.greptime.v1.Ddl.PartitionExprs parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.greptime.v1.Ddl.PartitionExprs 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.PartitionExprs parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.greptime.v1.Ddl.PartitionExprs 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.PartitionExprs parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.greptime.v1.Ddl.PartitionExprs parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.greptime.v1.Ddl.PartitionExprs parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.greptime.v1.Ddl.PartitionExprs 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.PartitionExprs parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static io.greptime.v1.Ddl.PartitionExprs 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.PartitionExprs parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.greptime.v1.Ddl.PartitionExprs 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.PartitionExprs 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.PartitionExprs} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:greptime.v1.PartitionExprs) + io.greptime.v1.Ddl.PartitionExprsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_PartitionExprs_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_PartitionExprs_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.greptime.v1.Ddl.PartitionExprs.class, io.greptime.v1.Ddl.PartitionExprs.Builder.class); + } + + // Construct using io.greptime.v1.Ddl.PartitionExprs.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(); + exprs_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_PartitionExprs_descriptor; + } + + @java.lang.Override + public io.greptime.v1.Ddl.PartitionExprs getDefaultInstanceForType() { + return io.greptime.v1.Ddl.PartitionExprs.getDefaultInstance(); + } + + @java.lang.Override + public io.greptime.v1.Ddl.PartitionExprs build() { + io.greptime.v1.Ddl.PartitionExprs result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.greptime.v1.Ddl.PartitionExprs buildPartial() { + io.greptime.v1.Ddl.PartitionExprs result = new io.greptime.v1.Ddl.PartitionExprs(this); + int from_bitField0_ = bitField0_; + if (((bitField0_ & 0x00000001) != 0)) { + exprs_ = exprs_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.exprs_ = exprs_; + 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.PartitionExprs) { + return mergeFrom((io.greptime.v1.Ddl.PartitionExprs)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.greptime.v1.Ddl.PartitionExprs other) { + if (other == io.greptime.v1.Ddl.PartitionExprs.getDefaultInstance()) return this; + if (!other.exprs_.isEmpty()) { + if (exprs_.isEmpty()) { + exprs_ = other.exprs_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureExprsIsMutable(); + exprs_.addAll(other.exprs_); + } + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.greptime.v1.Ddl.PartitionExprs parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.greptime.v1.Ddl.PartitionExprs) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private com.google.protobuf.LazyStringList exprs_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureExprsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + exprs_ = new com.google.protobuf.LazyStringArrayList(exprs_); + bitField0_ |= 0x00000001; + } + } + /** + *
+       * The partition expressions serialized in JSON format.
+       * 
+ * + * repeated string exprs = 1; + * @return A list containing the exprs. + */ + public com.google.protobuf.ProtocolStringList + getExprsList() { + return exprs_.getUnmodifiableView(); + } + /** + *
+       * The partition expressions serialized in JSON format.
+       * 
+ * + * repeated string exprs = 1; + * @return The count of exprs. + */ + public int getExprsCount() { + return exprs_.size(); + } + /** + *
+       * The partition expressions serialized in JSON format.
+       * 
+ * + * repeated string exprs = 1; + * @param index The index of the element to return. + * @return The exprs at the given index. + */ + public java.lang.String getExprs(int index) { + return exprs_.get(index); + } + /** + *
+       * The partition expressions serialized in JSON format.
+       * 
+ * + * repeated string exprs = 1; + * @param index The index of the value to return. + * @return The bytes of the exprs at the given index. + */ + public com.google.protobuf.ByteString + getExprsBytes(int index) { + return exprs_.getByteString(index); + } + /** + *
+       * The partition expressions serialized in JSON format.
+       * 
+ * + * repeated string exprs = 1; + * @param index The index to set the value at. + * @param value The exprs to set. + * @return This builder for chaining. + */ + public Builder setExprs( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureExprsIsMutable(); + exprs_.set(index, value); + onChanged(); + return this; + } + /** + *
+       * The partition expressions serialized in JSON format.
+       * 
+ * + * repeated string exprs = 1; + * @param value The exprs to add. + * @return This builder for chaining. + */ + public Builder addExprs( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureExprsIsMutable(); + exprs_.add(value); + onChanged(); + return this; + } + /** + *
+       * The partition expressions serialized in JSON format.
+       * 
+ * + * repeated string exprs = 1; + * @param values The exprs to add. + * @return This builder for chaining. + */ + public Builder addAllExprs( + java.lang.Iterable values) { + ensureExprsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, exprs_); + onChanged(); + return this; + } + /** + *
+       * The partition expressions serialized in JSON format.
+       * 
+ * + * repeated string exprs = 1; + * @return This builder for chaining. + */ + public Builder clearExprs() { + exprs_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * The partition expressions serialized in JSON format.
+       * 
+ * + * repeated string exprs = 1; + * @param value The bytes of the exprs to add. + * @return This builder for chaining. + */ + public Builder addExprsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureExprsIsMutable(); + exprs_.add(value); + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:greptime.v1.PartitionExprs) + } + + // @@protoc_insertion_point(class_scope:greptime.v1.PartitionExprs) + private static final io.greptime.v1.Ddl.PartitionExprs DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.greptime.v1.Ddl.PartitionExprs(); + } + + public static io.greptime.v1.Ddl.PartitionExprs getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartitionExprs parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PartitionExprs(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.PartitionExprs getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface UnpartitionedSourceOrBuilder extends + // @@protoc_insertion_point(interface_extends:greptime.v1.UnpartitionedSource) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Partition columns for unpartitioned/single-region.
+     * 
+ * + * repeated string partition_columns = 1; + * @return A list containing the partitionColumns. + */ + java.util.List + getPartitionColumnsList(); + /** + *
+     * Partition columns for unpartitioned/single-region.
+     * 
+ * + * repeated string partition_columns = 1; + * @return The count of partitionColumns. + */ + int getPartitionColumnsCount(); + /** + *
+     * Partition columns for unpartitioned/single-region.
+     * 
+ * + * repeated string partition_columns = 1; + * @param index The index of the element to return. + * @return The partitionColumns at the given index. + */ + java.lang.String getPartitionColumns(int index); + /** + *
+     * Partition columns for unpartitioned/single-region.
+     * 
+ * + * repeated string partition_columns = 1; + * @param index The index of the value to return. + * @return The bytes of the partitionColumns at the given index. + */ + com.google.protobuf.ByteString + getPartitionColumnsBytes(int index); + } + /** + * Protobuf type {@code greptime.v1.UnpartitionedSource} + */ + public static final class UnpartitionedSource extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:greptime.v1.UnpartitionedSource) + UnpartitionedSourceOrBuilder { + private static final long serialVersionUID = 0L; + // Use UnpartitionedSource.newBuilder() to construct. + private UnpartitionedSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private UnpartitionedSource() { + partitionColumns_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new UnpartitionedSource(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private UnpartitionedSource( + 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)) { + partitionColumns_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + partitionColumns_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + partitionColumns_ = partitionColumns_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_UnpartitionedSource_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_UnpartitionedSource_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.greptime.v1.Ddl.UnpartitionedSource.class, io.greptime.v1.Ddl.UnpartitionedSource.Builder.class); + } + + public static final int PARTITION_COLUMNS_FIELD_NUMBER = 1; + private com.google.protobuf.LazyStringList partitionColumns_; + /** + *
+     * Partition columns for unpartitioned/single-region.
+     * 
+ * + * repeated string partition_columns = 1; + * @return A list containing the partitionColumns. + */ + public com.google.protobuf.ProtocolStringList + getPartitionColumnsList() { + return partitionColumns_; + } + /** + *
+     * Partition columns for unpartitioned/single-region.
+     * 
+ * + * repeated string partition_columns = 1; + * @return The count of partitionColumns. + */ + public int getPartitionColumnsCount() { + return partitionColumns_.size(); + } + /** + *
+     * Partition columns for unpartitioned/single-region.
+     * 
+ * + * repeated string partition_columns = 1; + * @param index The index of the element to return. + * @return The partitionColumns at the given index. + */ + public java.lang.String getPartitionColumns(int index) { + return partitionColumns_.get(index); + } + /** + *
+     * Partition columns for unpartitioned/single-region.
+     * 
+ * + * repeated string partition_columns = 1; + * @param index The index of the value to return. + * @return The bytes of the partitionColumns at the given index. + */ + public com.google.protobuf.ByteString + getPartitionColumnsBytes(int index) { + return partitionColumns_.getByteString(index); + } + + 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 < partitionColumns_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, partitionColumns_.getRaw(i)); + } + 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 < partitionColumns_.size(); i++) { + dataSize += computeStringSizeNoTag(partitionColumns_.getRaw(i)); + } + size += dataSize; + size += 1 * getPartitionColumnsList().size(); + } + 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.UnpartitionedSource)) { + return super.equals(obj); + } + io.greptime.v1.Ddl.UnpartitionedSource other = (io.greptime.v1.Ddl.UnpartitionedSource) obj; + + if (!getPartitionColumnsList() + .equals(other.getPartitionColumnsList())) 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 (getPartitionColumnsCount() > 0) { + hash = (37 * hash) + PARTITION_COLUMNS_FIELD_NUMBER; + hash = (53 * hash) + getPartitionColumnsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.greptime.v1.Ddl.UnpartitionedSource parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.greptime.v1.Ddl.UnpartitionedSource 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.UnpartitionedSource parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.greptime.v1.Ddl.UnpartitionedSource 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.UnpartitionedSource parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.greptime.v1.Ddl.UnpartitionedSource parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.greptime.v1.Ddl.UnpartitionedSource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.greptime.v1.Ddl.UnpartitionedSource 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.UnpartitionedSource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static io.greptime.v1.Ddl.UnpartitionedSource 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.UnpartitionedSource parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.greptime.v1.Ddl.UnpartitionedSource 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.UnpartitionedSource 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.UnpartitionedSource} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:greptime.v1.UnpartitionedSource) + io.greptime.v1.Ddl.UnpartitionedSourceOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_UnpartitionedSource_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_UnpartitionedSource_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.greptime.v1.Ddl.UnpartitionedSource.class, io.greptime.v1.Ddl.UnpartitionedSource.Builder.class); + } + + // Construct using io.greptime.v1.Ddl.UnpartitionedSource.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(); + partitionColumns_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_UnpartitionedSource_descriptor; + } + + @java.lang.Override + public io.greptime.v1.Ddl.UnpartitionedSource getDefaultInstanceForType() { + return io.greptime.v1.Ddl.UnpartitionedSource.getDefaultInstance(); + } + + @java.lang.Override + public io.greptime.v1.Ddl.UnpartitionedSource build() { + io.greptime.v1.Ddl.UnpartitionedSource result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.greptime.v1.Ddl.UnpartitionedSource buildPartial() { + io.greptime.v1.Ddl.UnpartitionedSource result = new io.greptime.v1.Ddl.UnpartitionedSource(this); + int from_bitField0_ = bitField0_; + if (((bitField0_ & 0x00000001) != 0)) { + partitionColumns_ = partitionColumns_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.partitionColumns_ = partitionColumns_; + 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.UnpartitionedSource) { + return mergeFrom((io.greptime.v1.Ddl.UnpartitionedSource)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.greptime.v1.Ddl.UnpartitionedSource other) { + if (other == io.greptime.v1.Ddl.UnpartitionedSource.getDefaultInstance()) return this; + if (!other.partitionColumns_.isEmpty()) { + if (partitionColumns_.isEmpty()) { + partitionColumns_ = other.partitionColumns_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensurePartitionColumnsIsMutable(); + partitionColumns_.addAll(other.partitionColumns_); + } + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + io.greptime.v1.Ddl.UnpartitionedSource parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.greptime.v1.Ddl.UnpartitionedSource) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private com.google.protobuf.LazyStringList partitionColumns_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensurePartitionColumnsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + partitionColumns_ = new com.google.protobuf.LazyStringArrayList(partitionColumns_); + bitField0_ |= 0x00000001; + } + } + /** + *
+       * Partition columns for unpartitioned/single-region.
+       * 
+ * + * repeated string partition_columns = 1; + * @return A list containing the partitionColumns. + */ + public com.google.protobuf.ProtocolStringList + getPartitionColumnsList() { + return partitionColumns_.getUnmodifiableView(); + } + /** + *
+       * Partition columns for unpartitioned/single-region.
+       * 
+ * + * repeated string partition_columns = 1; + * @return The count of partitionColumns. + */ + public int getPartitionColumnsCount() { + return partitionColumns_.size(); + } + /** + *
+       * Partition columns for unpartitioned/single-region.
+       * 
+ * + * repeated string partition_columns = 1; + * @param index The index of the element to return. + * @return The partitionColumns at the given index. + */ + public java.lang.String getPartitionColumns(int index) { + return partitionColumns_.get(index); + } + /** + *
+       * Partition columns for unpartitioned/single-region.
+       * 
+ * + * repeated string partition_columns = 1; + * @param index The index of the value to return. + * @return The bytes of the partitionColumns at the given index. + */ + public com.google.protobuf.ByteString + getPartitionColumnsBytes(int index) { + return partitionColumns_.getByteString(index); + } + /** + *
+       * Partition columns for unpartitioned/single-region.
+       * 
+ * + * repeated string partition_columns = 1; + * @param index The index to set the value at. + * @param value The partitionColumns to set. + * @return This builder for chaining. + */ + public Builder setPartitionColumns( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensurePartitionColumnsIsMutable(); + partitionColumns_.set(index, value); + onChanged(); + return this; + } + /** + *
+       * Partition columns for unpartitioned/single-region.
+       * 
+ * + * repeated string partition_columns = 1; + * @param value The partitionColumns to add. + * @return This builder for chaining. + */ + public Builder addPartitionColumns( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensurePartitionColumnsIsMutable(); + partitionColumns_.add(value); + onChanged(); + return this; + } + /** + *
+       * Partition columns for unpartitioned/single-region.
+       * 
+ * + * repeated string partition_columns = 1; + * @param values The partitionColumns to add. + * @return This builder for chaining. + */ + public Builder addAllPartitionColumns( + java.lang.Iterable values) { + ensurePartitionColumnsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, partitionColumns_); + onChanged(); + return this; + } + /** + *
+       * Partition columns for unpartitioned/single-region.
+       * 
+ * + * repeated string partition_columns = 1; + * @return This builder for chaining. + */ + public Builder clearPartitionColumns() { + partitionColumns_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * Partition columns for unpartitioned/single-region.
+       * 
+ * + * repeated string partition_columns = 1; + * @param value The bytes of the partitionColumns to add. + * @return This builder for chaining. + */ + public Builder addPartitionColumnsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensurePartitionColumnsIsMutable(); + partitionColumns_.add(value); + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:greptime.v1.UnpartitionedSource) + } + + // @@protoc_insertion_point(class_scope:greptime.v1.UnpartitionedSource) + private static final io.greptime.v1.Ddl.UnpartitionedSource DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.greptime.v1.Ddl.UnpartitionedSource(); + } + + public static io.greptime.v1.Ddl.UnpartitionedSource getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UnpartitionedSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UnpartitionedSource(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.UnpartitionedSource getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + public interface DropTableExprOrBuilder extends // @@protoc_insertion_point(interface_extends:greptime.v1.DropTableExpr) com.google.protobuf.MessageOrBuilder { @@ -54273,6 +56186,16 @@ java.lang.String defaultValue); 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_PartitionExprs_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_PartitionExprs_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_UnpartitionedSource_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_UnpartitionedSource_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_greptime_v1_DropTableExpr_descriptor; private static final @@ -54556,112 +56479,118 @@ java.lang.String defaultValue); "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\"I\n\013Reparti" + - "tion\022\034\n\024from_partition_exprs\030\001 \003(\t\022\034\n\024in" + - "to_partition_exprs\030\002 \003(\t\"\216\001\n\rDropTableEx" + - "pr\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_exi" + - "sts\030\005 \001(\010\"\314\001\n\022CreateDatabaseExpr\022\024\n\014cata" + - "log_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\034\n\024c" + - "reate_if_not_exists\030\003 \001(\010\022=\n\007options\030\004 \003" + - "(\0132,.greptime.v1.CreateDatabaseExpr.Opti" + - "onsEntry\032.\n\014OptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" + - "\005value\030\002 \001(\t:\0028\001\"\250\001\n\021TruncateTableExpr\022\024" + + "v1.UnsetSkippingH\000B\t\n\007options\"\312\001\n\013Repart" + + "ition\022 \n\024from_partition_exprs\030\001 \003(\tB\002\030\001\022" + + "\034\n\024into_partition_exprs\030\002 \003(\t\0226\n\017partiti" + + "on_exprs\030\003 \001(\0132\033.greptime.v1.PartitionEx" + + "prsH\000\0229\n\runpartitioned\030\004 \001(\0132 .greptime." + + "v1.UnpartitionedSourceH\000B\010\n\006source\"\037\n\016Pa" + + "rtitionExprs\022\r\n\005exprs\030\001 \003(\t\"0\n\023Unpartiti" + + "onedSource\022\031\n\021partition_columns\030\001 \003(\t\"\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\022CreateDatabas" + + "eExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_na" + + "me\030\002 \001(\t\022\034\n\024create_if_not_exists\030\003 \001(\010\022=" + + "\n\007options\030\004 \003(\0132,.greptime.v1.CreateData" + + "baseExpr.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\021Trunca" + + "teTableExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013sch" + + "ema_name\030\002 \001(\t\022\022\n\ntable_name\030\003 \001(\t\022&\n\010ta" + + "ble_id\030\004 \001(\0132\024.greptime.v1.TableId\022,\n\013ti" + + "me_ranges\030\005 \001(\0132\027.greptime.v1.TimeRanges" + + "\"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_exist" + + "s\030\003 \001(\010\"9\n\nAddColumns\022+\n\013add_columns\030\001 \003" + + "(\0132\026.greptime.v1.AddColumn\"?\n\014DropDefaul" + + "ts\022/\n\rdrop_defaults\030\001 \003(\0132\030.greptime.v1." + + "DropDefault\"<\n\013SetDefaults\022-\n\014set_defaul" + + "ts\030\001 \003(\0132\027.greptime.v1.SetDefault\"<\n\013Dro" + + "pColumns\022-\n\014drop_columns\030\001 \003(\0132\027.greptim" + + "e.v1.DropColumn\"O\n\021ModifyColumnTypes\022:\n\023" + + "modify_column_types\030\001 \003(\0132\035.greptime.v1." + + "ModifyColumnType\"%\n\013RenameTable\022\026\n\016new_t" + + "able_name\030\001 \001(\t\"\204\001\n\tAddColumn\022*\n\ncolumn_" + + "def\030\001 \001(\0132\026.greptime.v1.ColumnDef\0220\n\010loc" + + "ation\030\003 \001(\0132\036.greptime.v1.AddColumnLocat" + + "ion\022\031\n\021add_if_not_exists\030\004 \001(\010\"\236\001\n\020Modif" + + "yColumnType\022\023\n\013column_name\030\001 \001(\t\0220\n\013targ" + + "et_type\030\002 \001(\0162\033.greptime.v1.ColumnDataTy" + + "pe\022C\n\025target_type_extension\030\003 \001(\0132$.grep" + + "time.v1.ColumnDataTypeExtension\"$\n\006Optio" + + "n\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"=\n\017SetTabl" + + "eOptions\022*\n\rtable_options\030\001 \003(\0132\023.grepti" + + "me.v1.Option\"!\n\021UnsetTableOptions\022\014\n\004key" + + "s\030\001 \003(\t\"\032\n\nDropColumn\022\014\n\004name\030\001 \001(\t\"\025\n\007T" + + "ableId\022\n\n\002id\030\001 \001(\r\"\024\n\006FlowId\022\n\n\002id\030\001 \001(\r" + + "\"\254\002\n\tColumnDef\022\014\n\004name\030\001 \001(\t\022.\n\tdata_typ" + + "e\030\002 \001(\0162\033.greptime.v1.ColumnDataType\022\023\n\013" + + "is_nullable\030\003 \001(\010\022\032\n\022default_constraint\030" + + "\004 \001(\014\0220\n\rsemantic_type\030\005 \001(\0162\031.greptime." + + "v1.SemanticType\022\017\n\007comment\030\006 \001(\t\022@\n\022data" + + "type_extension\030\007 \001(\0132$.greptime.v1.Colum" + + "nDataTypeExtension\022+\n\007options\030\010 \001(\0132\032.gr" + + "eptime.v1.ColumnOptions\"\230\001\n\021AddColumnLoc" + + "ation\022B\n\rlocation_type\030\001 \001(\0162+.greptime." + + "v1.AddColumnLocation.LocationType\022\031\n\021aft" + + "er_column_name\030\002 \001(\t\"$\n\014LocationType\022\t\n\005" + + "FIRST\020\000\022\t\n\005AFTER\020\001\"\324\001\n\013SetFulltext\022\023\n\013co" + + "lumn_name\030\001 \001(\t\022\016\n\006enable\030\002 \001(\010\022\'\n\010analy" + + "zer\030\003 \001(\0162\025.greptime.v1.Analyzer\022\026\n\016case" + + "_sensitive\030\004 \001(\010\022-\n\007backend\030\005 \001(\0162\034.grep" + + "time.v1.FulltextBackend\022\023\n\013granularity\030\006" + + " \001(\004\022\033\n\023false_positive_rate\030\007 \001(\001\"$\n\rUns" + + "etFulltext\022\023\n\013column_name\030\001 \001(\t\"\"\n\013SetIn" + + "verted\022\023\n\013column_name\030\001 \001(\t\"$\n\rUnsetInve" + + "rted\022\023\n\013column_name\030\001 \001(\t\"\241\001\n\013SetSkippin" + + "g\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_ty" + + "pe\030\004 \001(\0162\036.greptime.v1.SkippingIndexType" + + "\022\033\n\023false_positive_rate\030\005 \001(\001\"$\n\rUnsetSk" + + "ipping\022\023\n\013column_name\030\001 \001(\t\"\314\001\n\021AlterDat" + + "abaseExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schem" + + "a_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!.greptime" + + ".v1.UnsetDatabaseOptionsH\000B\006\n\004kind\"G\n\022Se" + + "tDatabaseOptions\0221\n\024set_database_options" + + "\030\001 \003(\0132\023.greptime.v1.Option\"$\n\024UnsetData" + + "baseOptions\022\014\n\004keys\030\001 \003(\t\"\331\004\n\021CreateTrig" + + "gerExpr\022\024\n\014catalog_name\030\001 \001(\t\022\024\n\014trigger" + + "_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.grept" + + "ime.v1.NotifyChannel\022:\n\006labels\030\006 \003(\0132*.g" + + "reptime.v1.CreateTriggerExpr.LabelsEntry" + + "\022D\n\013annotations\030\007 \003(\0132/.greptime.v1.Crea" + + "teTriggerExpr.AnnotationsEntry\022+\n\010interv" + + "al\030\010 \001(\0132\031.google.protobuf.Duration\022\031\n\021r" + + "aw_interval_expr\030\t \001(\t\022&\n\003for\030\n \001(\0132\031.go" + + "ogle.protobuf.Duration\022\024\n\014for_raw_expr\030\013" + + " \001(\t\0222\n\017keep_firing_for\030\014 \001(\0132\031.google.p" + + "rotobuf.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\rNotifyC" + + "hannel\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\004o" + + "pts\030\002 \003(\0132%.greptime.v1.WebhookOptions.O" + + "ptsEntry\032+\n\tOptsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" + + "lue\030\002 \001(\t:\0028\001\"U\n\017DropTriggerExpr\022\024\n\014cata" + + "log_name\030\001 \001(\t\022\024\n\014trigger_name\030\002 \001(\t\022\026\n\016" + + "drop_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\022\022\n\ntable_name\030\003 \001(\t\022&\n\010table_id\030\004 \001(\0132" + - "\024.greptime.v1.TableId\022,\n\013time_ranges\030\005 \001" + - "(\0132\027.greptime.v1.TimeRanges\"U\n\020DropDatab" + - "aseExpr\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\nAd" + - "dColumns\022+\n\013add_columns\030\001 \003(\0132\026.greptime" + - ".v1.AddColumn\"?\n\014DropDefaults\022/\n\rdrop_de" + - "faults\030\001 \003(\0132\030.greptime.v1.DropDefault\"<" + - "\n\013SetDefaults\022-\n\014set_defaults\030\001 \003(\0132\027.gr" + - "eptime.v1.SetDefault\"<\n\013DropColumns\022-\n\014d" + - "rop_columns\030\001 \003(\0132\027.greptime.v1.DropColu" + - "mn\"O\n\021ModifyColumnTypes\022:\n\023modify_column" + - "_types\030\001 \003(\0132\035.greptime.v1.ModifyColumnT" + - "ype\"%\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.g" + - "reptime.v1.ColumnDef\0220\n\010location\030\003 \001(\0132\036" + - ".greptime.v1.AddColumnLocation\022\031\n\021add_if" + - "_not_exists\030\004 \001(\010\"\236\001\n\020ModifyColumnType\022\023" + - "\n\013column_name\030\001 \001(\t\0220\n\013target_type\030\002 \001(\016" + - "2\033.greptime.v1.ColumnDataType\022C\n\025target_" + - "type_extension\030\003 \001(\0132$.greptime.v1.Colum" + - "nDataTypeExtension\"$\n\006Option\022\013\n\003key\030\001 \001(" + - "\t\022\r\n\005value\030\002 \001(\t\"=\n\017SetTableOptions\022*\n\rt" + - "able_options\030\001 \003(\0132\023.greptime.v1.Option\"" + - "!\n\021UnsetTableOptions\022\014\n\004keys\030\001 \003(\t\"\032\n\nDr" + - "opColumn\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\tColumnDe" + - "f\022\014\n\004name\030\001 \001(\t\022.\n\tdata_type\030\002 \001(\0162\033.gre" + - "ptime.v1.ColumnDataType\022\023\n\013is_nullable\030\003" + - " \001(\010\022\032\n\022default_constraint\030\004 \001(\014\0220\n\rsema" + - "ntic_type\030\005 \001(\0162\031.greptime.v1.SemanticTy" + - "pe\022\017\n\007comment\030\006 \001(\t\022@\n\022datatype_extensio" + - "n\030\007 \001(\0132$.greptime.v1.ColumnDataTypeExte" + - "nsion\022+\n\007options\030\010 \001(\0132\032.greptime.v1.Col" + - "umnOptions\"\230\001\n\021AddColumnLocation\022B\n\rloca" + - "tion_type\030\001 \001(\0162+.greptime.v1.AddColumnL" + - "ocation.LocationType\022\031\n\021after_column_nam" + - "e\030\002 \001(\t\"$\n\014LocationType\022\t\n\005FIRST\020\000\022\t\n\005AF" + - "TER\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.g" + - "reptime.v1.Analyzer\022\026\n\016case_sensitive\030\004 " + - "\001(\010\022-\n\007backend\030\005 \001(\0162\034.greptime.v1.Fullt" + - "extBackend\022\023\n\013granularity\030\006 \001(\004\022\033\n\023false" + - "_positive_rate\030\007 \001(\001\"$\n\rUnsetFulltext\022\023\n" + - "\013column_name\030\001 \001(\t\"\"\n\013SetInverted\022\023\n\013col" + - "umn_name\030\001 \001(\t\"$\n\rUnsetInverted\022\023\n\013colum" + - "n_name\030\001 \001(\t\"\241\001\n\013SetSkipping\022\023\n\013column_n" + - "ame\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.gr" + - "eptime.v1.SkippingIndexType\022\033\n\023false_pos" + - "itive_rate\030\005 \001(\001\"$\n\rUnsetSkipping\022\023\n\013col" + - "umn_name\030\001 \001(\t\"\314\001\n\021AlterDatabaseExpr\022\024\n\014" + - "catalog_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022" + - "?\n\024set_database_options\030\003 \001(\0132\037.greptime" + - ".v1.SetDatabaseOptionsH\000\022C\n\026unset_databa" + - "se_options\030\004 \001(\0132!.greptime.v1.UnsetData" + - "baseOptionsH\000B\006\n\004kind\"G\n\022SetDatabaseOpti" + - "ons\0221\n\024set_database_options\030\001 \003(\0132\023.grep" + - "time.v1.Option\"$\n\024UnsetDatabaseOptions\022\014" + - "\n\004keys\030\001 \003(\t\"\331\004\n\021CreateTriggerExpr\022\024\n\014ca" + - "talog_name\030\001 \001(\t\022\024\n\014trigger_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.greptime.v1.Notify" + - "Channel\022:\n\006labels\030\006 \003(\0132*.greptime.v1.Cr" + - "eateTriggerExpr.LabelsEntry\022D\n\013annotatio" + - "ns\030\007 \003(\0132/.greptime.v1.CreateTriggerExpr" + - ".AnnotationsEntry\022+\n\010interval\030\010 \001(\0132\031.go" + - "ogle.protobuf.Duration\022\031\n\021raw_interval_e" + - "xpr\030\t \001(\t\022&\n\003for\030\n \001(\0132\031.google.protobuf" + - ".Duration\022\024\n\014for_raw_expr\030\013 \001(\t\0222\n\017keep_" + - "firing_for\030\014 \001(\0132\031.google.protobuf.Durat" + - "ion\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\rNotifyChannel\022\014\n\004nam" + - "e\030\001 \001(\t\022.\n\007webhook\030\002 \001(\0132\033.greptime.v1.W" + - "ebhookOptionsH\000B\016\n\014channel_type\"\177\n\016Webho" + - "okOptions\022\013\n\003url\030\001 \001(\t\0223\n\004opts\030\002 \003(\0132%.g" + - "reptime.v1.WebhookOptions.OptsEntry\032+\n\tO" + - "ptsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" + - "\"U\n\017DropTriggerExpr\022\024\n\014catalog_name\030\001 \001(" + - "\t\022\024\n\014trigger_name\030\002 \001(\t\022\026\n\016drop_if_exist" + - "s\030\003 \001(\010\"\252\001\n\rCommentOnExpr\022\024\n\014catalog_nam" + - "e\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\0223\n\013object_t" + - "ype\030\003 \001(\0162\036.greptime.v1.CommentObjectTyp" + - "e\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\007ENGL" + - "ISH\020\000\022\013\n\007CHINESE\020\001*)\n\017FulltextBackend\022\013\n" + - "\007TANTIVY\020\000\022\t\n\005BLOOM\020\001*%\n\021SkippingIndexTy" + - "pe\022\020\n\014BLOOM_FILTER\020\000*4\n\021CommentObjectTyp" + - "e\022\t\n\005TABLE\020\000\022\n\n\006COLUMN\020\001\022\010\n\004FLOW\020\002BL\n\016io" + - ".greptime.v1B\003DdlZ5github.com/GreptimeTe" + - "am/greptime-proto/go/greptime/v1b\006proto3" + "\t\0223\n\013object_type\030\003 \001(\0162\036.greptime.v1.Com" + + "mentObjectType\022\023\n\013object_name\030\004 \001(\t\022\023\n\013c" + + "olumn_name\030\005 \001(\t\022\017\n\007comment\030\006 \001(\t*$\n\010Ana" + + "lyzer\022\013\n\007ENGLISH\020\000\022\013\n\007CHINESE\020\001*)\n\017Fullt" + + "extBackend\022\013\n\007TANTIVY\020\000\022\t\n\005BLOOM\020\001*%\n\021Sk" + + "ippingIndexType\022\020\n\014BLOOM_FILTER\020\000*4\n\021Com" + + "mentObjectType\022\t\n\005TABLE\020\000\022\n\n\006COLUMN\020\001\022\010\n" + + "\004FLOW\020\002BL\n\016io.greptime.v1B\003DdlZ5github.c" + + "om/GreptimeTeam/greptime-proto/go/grepti" + + "me/v1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -54764,15 +56693,27 @@ java.lang.String defaultValue); internal_static_greptime_v1_Repartition_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_Repartition_descriptor, - new java.lang.String[] { "FromPartitionExprs", "IntoPartitionExprs", }); - internal_static_greptime_v1_DropTableExpr_descriptor = + new java.lang.String[] { "FromPartitionExprs", "IntoPartitionExprs", "PartitionExprs", "Unpartitioned", "Source", }); + internal_static_greptime_v1_PartitionExprs_descriptor = getDescriptor().getMessageTypes().get(14); + internal_static_greptime_v1_PartitionExprs_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_greptime_v1_PartitionExprs_descriptor, + new java.lang.String[] { "Exprs", }); + internal_static_greptime_v1_UnpartitionedSource_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_greptime_v1_UnpartitionedSource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_greptime_v1_UnpartitionedSource_descriptor, + new java.lang.String[] { "PartitionColumns", }); + internal_static_greptime_v1_DropTableExpr_descriptor = + getDescriptor().getMessageTypes().get(16); 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(15); + getDescriptor().getMessageTypes().get(17); internal_static_greptime_v1_CreateDatabaseExpr_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_CreateDatabaseExpr_descriptor, @@ -54784,169 +56725,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(16); + getDescriptor().getMessageTypes().get(18); 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(17); + getDescriptor().getMessageTypes().get(19); 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(18); + getDescriptor().getMessageTypes().get(20); 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(19); + getDescriptor().getMessageTypes().get(21); 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(20); + getDescriptor().getMessageTypes().get(22); 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(21); + getDescriptor().getMessageTypes().get(23); 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(22); + getDescriptor().getMessageTypes().get(24); 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(23); + getDescriptor().getMessageTypes().get(25); 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(24); + getDescriptor().getMessageTypes().get(26); 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(25); + getDescriptor().getMessageTypes().get(27); 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(26); + getDescriptor().getMessageTypes().get(28); 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(27); + getDescriptor().getMessageTypes().get(29); 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(28); + getDescriptor().getMessageTypes().get(30); 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(29); + getDescriptor().getMessageTypes().get(31); 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(30); + getDescriptor().getMessageTypes().get(32); 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(31); + getDescriptor().getMessageTypes().get(33); 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(32); + getDescriptor().getMessageTypes().get(34); 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(33); + getDescriptor().getMessageTypes().get(35); 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(34); + getDescriptor().getMessageTypes().get(36); 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(35); + getDescriptor().getMessageTypes().get(37); 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(36); + getDescriptor().getMessageTypes().get(38); 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(37); + getDescriptor().getMessageTypes().get(39); 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(38); + getDescriptor().getMessageTypes().get(40); 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(39); + getDescriptor().getMessageTypes().get(41); 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(40); + getDescriptor().getMessageTypes().get(42); 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(41); + getDescriptor().getMessageTypes().get(43); 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(42); + getDescriptor().getMessageTypes().get(44); 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(43); + getDescriptor().getMessageTypes().get(45); internal_static_greptime_v1_CreateTriggerExpr_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_CreateTriggerExpr_descriptor, @@ -54964,13 +56905,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(44); + getDescriptor().getMessageTypes().get(46); 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(45); + getDescriptor().getMessageTypes().get(47); internal_static_greptime_v1_WebhookOptions_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_WebhookOptions_descriptor, @@ -54982,13 +56923,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(46); + getDescriptor().getMessageTypes().get(48); 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(47); + getDescriptor().getMessageTypes().get(49); 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 3ba7350..36b40cd 100644 --- a/proto/greptime/v1/ddl.proto +++ b/proto/greptime/v1/ddl.proto @@ -162,10 +162,21 @@ 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. + // Deprecated: use `source.partition_exprs.exprs` instead. + repeated string from_partition_exprs = 1 [deprecated = true]; repeated string into_partition_exprs = 2; + oneof source { + PartitionExprs partition_exprs = 3; + UnpartitionedSource unpartitioned = 4; + } +} +message PartitionExprs { + // The partition expressions serialized in JSON format. + repeated string exprs = 1; +} +message UnpartitionedSource { + // Partition columns for unpartitioned/single-region. + repeated string partition_columns = 1; } message DropTableExpr { diff --git a/src/generated/greptime.v1.rs b/src/generated/greptime.v1.rs index e9fc308..91d4cac 100644 --- a/src/generated/greptime.v1.rs +++ b/src/generated/greptime.v1.rs @@ -1031,12 +1031,36 @@ pub mod unset_index { } #[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)] pub struct Repartition { - /// The from partition expressions serialized in JSON format. + /// Deprecated: use `source.partition_exprs.exprs` instead. + #[deprecated] #[prost(string, repeated, tag = "1")] pub from_partition_exprs: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The into partition expressions serialized in JSON format. #[prost(string, repeated, tag = "2")] pub into_partition_exprs: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, + #[prost(oneof = "repartition::Source", tags = "3, 4")] + pub source: ::core::option::Option, +} +/// Nested message and enum types in `Repartition`. +pub mod repartition { + #[derive(Clone, PartialEq, Eq, Hash, ::prost::Oneof)] + pub enum Source { + #[prost(message, tag = "3")] + PartitionExprs(super::PartitionExprs), + #[prost(message, tag = "4")] + Unpartitioned(super::UnpartitionedSource), + } +} +#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)] +pub struct PartitionExprs { + /// The partition expressions serialized in JSON format. + #[prost(string, repeated, tag = "1")] + pub exprs: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, +} +#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)] +pub struct UnpartitionedSource { + /// Partition columns for unpartitioned/single-region. + #[prost(string, repeated, tag = "1")] + pub partition_columns: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } #[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)] pub struct DropTableExpr { diff --git a/src/generated/greptime_grpc_desc.bin b/src/generated/greptime_grpc_desc.bin index a4b310fe4f6629a19e5e2a7ab820e4ccc7c1bbed..8346c3639d58e9441e8688ab40d26aef4da471c5 100644 GIT binary patch delta 8190 zcmZvhdytm(b;qCId7k&#cb{D@`|Psph0C(Lz_PFlh^7-~noMbuI@8P~nq-ohOh*{m zq)sDPz_Bx#=?g_0uu{R7i%zf_xn#wN4g?TrKx+gFk&6&Ofk=f0GXgb)h;)$Y=lm}F z+D`x5&-**ybI$Ml?$18aU-R!T)x2{0hslb)CR_d7S<|@Xk3X!do4Q=GntS>loH=*? z{qygiGdsUMYxv&WIS<@B@XNh@fA`?rc}=D*?y8-FefFns%z0?;eSK*Ex8?L=md>+H z?c=h+Uk`~ow+&h0GwI#qpnZB)|NnT-CuVg68Qgo{oF6>Y^1y80v3rINwEQ^@56s^3 z@Y1&$vege~Re51>^kTey<`DB$DKGnO&6f4+P7V9^i^gO%S)2?qd9v0N>$AVel4OuX zd9vQf7h68x_NBfD=l0z}P9h>Sqj84%kyLm@!C zz8MOUiz(&F-Y}a$v|!L`A@+ts(290%C`7J>*cWCKgcJ-?EyTVsnP^42FHELfX}_CH zcN7wk*#x`U1fty^W)ouzGaGTUDRs<4}}6k^aON00kJ(43JBu$kQT6{+j+hA^Kd92gcb~1 zE#To$Kw8lr4h5{&0v@S^)dGTUCeeuWNLUsi(j#G6H00?qQ;L4=d((jFF;mR#ENjr- z95>>2XNY=%ZU+M?*>O|jHV6>uaWl-#W{@byO-H9K*|0o4X`*+0kYQM!G{puRWEeq8 z$tfcfZ0SLwfG!G1lvAdrF|?vRWrlYKB+4l>zRN~w%+u2*I_sk}VtHCmWi4)_cIAu_ zcY;9#0bP*Bl8ti4)VTFSGuktz(Je2KC}-S>Cdu$Tea}Sy;iC-4^1TpcxJEe_qCi9e zT@;Y6oC`rfq~~mq5{ErZlyf0UQ=XnT(SQ0VO_-h!tF%d@TrhIGtpP+7&_w}>a>3NN zeFH>#!Hk$3j0tkV+&0Y?tT|6Fn&@|?ez*M_U z9K`Jh;Vf;*(+^GbUq1I1EI%~GIy(+6>h+QlmmNg1mrO}&Y!n#dOQzP1Hi+9xrrB-N zEjo`c8yVwm4O-A0GBn!O2A400^s*V<=EJf;t{8C}VvF5jK(|0zq@1gfBqYRwQ4#F$wDpZ0oepIRlg=XA7DnoVANYa+4izRx@yKTdA zu@r~c!ndj0CE}+Igj>+L1+iTs)oyixcwHicRVvAtJbhfEe^#$09x-DueO&y7e~h|a z8r(v-1)W zt_DfcuCw|{5jVOJV-LFJ0@~I(y#^Q57U`2Ra+Ix6yDpcq_zNdQSkNtg&~W~grOJ&A zjJ7QP#@Vj4q7pVn3s(6!dc9a7Tq9jryJB6u(`y+ZzVx76FKKr3|qP{BBa# zE5=Ik`&GN9W~BVH$tx-{N-$5Z%+# zGRdc#qI+5ch~xKg`Rp<5#|#2Z$jTO&i=W=|`+HR2ym9eMh!L>v5g zcVPLft}K04b|gG2pA%Ut?pX=b{G3$P+xIM}6XGX4^s*sYm73crP~w;B$}bGwPo#Fx zfCLxMe^#PH&kq%aLGipQ^x*H%5bMGyK=cfBqW~ga=SM+p>Djtc7=;d~)o$=XwCmmAOM#B}OZ1|vNT2IA{%Hy^;Go;hL8M!y#$6gfq+7+mOgojfaT{<$ z3KDi(C9JOYZQ`Gov|4NbnC{fa#CDNUcF9151>IQ+BHb>zJEB3P+hxSa?CVU?PF?If zC{)Yzwr~D*Ut9U+!RgcZ(fu0grE7jirCz$`cWAx7V?7XUSNU&$_03YJr08~4>a1&i zmsGop1g+?Hxd|@G*gV}W(QAJ6#$vf!{D+0HI(mD;=s|b|T{a-LdqOrKUiWA=tN&)K zG?(0+dz`v>Be;NY0Xi2TF5U<(KwP}xCV(X4^K`F7`+Z{LvD_OH8?RpX1+NfZLFX03 zwzMy}g>k#jyDdnb9+2o)eud~%I3NZ4X`vwM_Mo`iq!Nvw-6s^8R0qXhS-SG{kVMCQ zc3oH=3X{G|-6V%euYCRR$dY>-@grFrc3C7zmj*r(CO1S6KsUKT+v+Dbi1bL9++8}k zkA}`eNI}RBv`Z)Vv9O6k zgat!bo!rO56r&aCF+0UdTr(!*=?RHW`C?7L^h6lS30ka^p*Ik2LFX34_GIV{h})B4 zf^_HUI})AqUc0e;C*0?{)$6;Wi&)=PAZ}sj7R2~n@t?#%+`cP*6?ba|Plt>kq+pQh z(3}n#(Teo6W~7H*w|+xCBl4a<>|p&Oaz=`^wuaq0bY~@*VmAngB@4QHB#7&?GTeR3 z1#x{=dMA4+^czXsgRk3;9OzyvAkyDRv%Bwu*4V!A_#!qjPv4j5f-lrWOyAf0iXM#< zwNU59e?Nv8WYF!DAPJri_g)a`dGX(mL86=&z8~vVa#EiDR-zAlkV#nnR*HNq`4&+o zX_SlMb`22)bWuPmd@)1;(OwL*D$lpday5dnt@Kh|^19#Cx>xmn%{oaWF`A#4lH*I^vgA`eiL(j}GY-@gMLYw4hta zAlfV9Kj49AuLvLTzF?)$N9FBr-#M+v9y1?RV(NH)B>tgAt6B;Vtv|6k%6GNgd2HJB z9^n&Kay66^WWcUUjhhxAZmvqRdo6>wxhkDwvo7m~RIinvKGsS20=jGAt_h;MCXMdE z0MT93)vTAx9-Xxxmp?i-p~Rp1cSWZM&BxLh;^{&2vBq-Y?G)#QG&l0Y@Oo6_nIZ(7malrbIIx2-PAlUwEGzy8MUJ(3ac zRwZ7B?p9@bWaw^5Q%iQY)z$FIjLS_YzKXDhfD7V*9@ijT5Vv;wdek6X5cf>Z`mC@v zPZq`Hr%ud3SWCo3@jwr25iW|WLzQb0E{Z$HWp}VZdh_&0arAh3(#a{MUhIAp`@_6f z*T>@6KRzLRg05;Hwu@u`_5|^{IOgrC+gh(~YfEDJr`X-$VXT+L{_9<@PV&d%#68O( zx(Vj4W3X+mcLNRL`mvY+=_1|9dHO^gJy|ZC>L^Xd?unRx?&xfptm!U`{pATFUC^Zq zV!JH%>jT8+ve9qe}-wx?I!Y11vjpp00?ar(*YwU<#%y zV*epxie|Jj3?D>Bpvwrvc4h336cD#7V}GPf(TrAAq`JX?L8=+8ioY|U)s$9Mv}`b| zD_Y%PK)1n6u^Y_l*xyG%q^ngrCDT=#{y2`FE&u&HlS@C2{Us;XZmfy@%^o5+=x+8P z(bmNFW}g&d&HI^H>?K>tq0L(n+h^h$d$xhlzr^k6W3gwWz#70)I5DY zj$SPP*}J`^sTe*VX6aPTZf)o-L~lV?DG=MWp~xV;T^kBDRU@v8{X-W*3I?g>zApA} z4O)?|i#fOLclW89-TK&nWP+G7pt~1=XxGOLZi0ho*T?p&Qj$zn+E59r?*%Y~)s1{Z zC9H1b8#L_anB!CRN@e=XvrpePjlU80SA@EC_g93vb@!|A^HzxM#`3Y#cZ{8C-v}Ek aI^DWA#{Rnit>`u`>N&H$=Zty(`u_lC^tJc^ delta 7509 zcmYkAYm8OZ701tB=iD>*o;%FrFz?}UXMkZ~fFVVzwMm;cZPP}R+DFnR{m?e4P5n@{ z>W3z6a;hz;pjN!L2!>*7jR=TTP*gD30v1|OLD4~x2vkQZ(jdY50{dJ0!R@#EyLF(V`}kmrGC+EU)i|u_B|chzpu-h@={B5Z@l@2 zkIiLLzvFw=jgQlL;nI?la|y+1IipnIKV~+;3#0@3XaU|Ky6AhFI1* zLptj}d}^@%)|QKVoE4e}8dg_cb^X=nt%?a^5<8q_6S5L6O-ZrZ9?**Op@6ZD&YGPy zXOgt!=^7Jl@Ts+6xyF<`8A_5CO>M1_KC6T93YG(6yVg`XvqFP1jN7%Qr`Ky4U1y}% z8*4^j&>A~h=?J4p*O~4fFO@ub$ViVL6r^B~3ety6WnvhO^8)Vb_F6oxH`47#Gp^4Q>4yM!P8#u~jJIqeg1p zu@(_@vtbbJqo%1pj3Ry1OquF4h8{CA=m)iiU`R1W`k3jO97eVNkD1y4T1ndS^a&F^ z?F-R{=@X{xc0`*N;>l15h>Sot8xY$kLm@zNcrp~CP1D^H3IQPngS5~}Y|%<+5gA6i zB^07f3$ZoqCI~GUwCZ_l*iDQg-5NGio6=KZGeHyrbejo8`jl>_UKcjD*6gOQ(>ra# zZrWDg@YhQVej?mvq}k`ETWOn_;PyA8=(d^uNw$FPdHOdKJ>v`5j^*D>+4V)c7I1qg zAjC{SHxm%s?V*4mUbkxj3vK0go#&2FK?p4vv|7L&p@58{-4P1dt_9rL2&)AI-A-Z< z>CVs>Akv+_FOob@cbOvkho4Q3=`K^w?Jmo8HoJ|?utkBW7wAqfkdo~-Rkx%d(%q)h z?PicDyUn!ewqz6YbdQOi^+6_LxyO_{Y>?Fyr4_nPkM z0g1BL%pA5+I`Z^+6Ycj=IGFK%@t3kb<6oiEB`eF z6TRZ2bYVIcy0lB995ix)oeM-1&_w}>a?n)Wxd9?QXeNyYV}cwspITt2(w(P=Omx^3 z?xEL>>7g)}ZjJJqkx5nvv8O<{9YJhgGZlA;gSdUo^z~b}J$d@NiT>qt@4@nQQ*O8G z(4$_D7;)J_BzwdZQngWFjE|URx7r|XkCd&)3qM>|};Akw2| zYR!kGL5>-5Ct{C1VL;a)JyNLWW2VWqJHu#?g?8`F(>G1@Z$Fz}EZ+?6-m9}24=oE( zBhb|d#CANiEQr_f(6YT6@-07^A_18V+-4^S+TnIL8xZYVVK%+m?#IIhfRKXjISwK{ zZu;DcgGi5u74OT_6DInPpG+T?Crr7eutnHE(qiYvDAJRrT@M*a`t$TuVWQJMrG89LnXzdpz$EYE~?nj}$?C+~$l2@(Z# zQ9#P@UWfvseb3}>hk`_T&+Sl2CgC3 zWr9r}#O;TsO`ArNDS3L+WOI4a)$}yDy}soivo7GL{uX~Sfaq?QzBxYK6y5DIIzO9jbxnD)RO%1?WWZil zYtn>xsYt80ZbH0N+T4lHDB`8!PyB&Ay-T8d{GtzFd6#gfY{Bn966NXdMDCW@I)WMg zoit5kIMrd@6~E^#Cu_}`EEj6QKb7J9}NYa#vds3=|7+$ zmWQQ)m>KAn0z|yrFNN9`Ol^5siUHktE5Z(dSPIZB1!zYrZU=x!SGbKQB__U7qI+Fc zN*ZOQlx#*NJLy086qFbQ?Y*^Bz@+~NpFYEku4))-OwbuKi0vw8t2-n8lSKFXm}>ba zDcPG=$!Hbs3vM6=LFWd<&3)EQktG;2`e$($VkL)m<11qPXQ9RQBpJ-p2PFE7U;RNW z9}s`<8q}Dp!w!U~9_XqEV!K-WTLDP*R!eu`F4KdW!h_+sfY5@jZ$UfSuwV$QEx%U$OD3ae*NT6m z9@ICAbs|&jPKO8!x(6zVbe-hxISnFRCzB>;m$O9&wd2=QsJ<`O>W@78l?D9a{t30x zreEKvl{Wo);eGtOR!yW0^^xbkT?|T!ZbPHS+VmTw;%*X*qTAp$wUFDnwPzQITiCe;G2R;7g1Fu4-IgRz zw@LI@=eDFXe&;$@t(CtRhj`}75b?@#BT`;6w@Ju7DZZR-~ zRnN~f!fF>h(+CUwUBo>qhU|Ma=sE^O`giGYZ&RQ(o;|`c6`C?#uq&Ll5MjX(R=Z$V z*pG~&-4*uZ%sl<4M0m`m8>l^wBV^Zl9yu>%IFX7w-L!|4=^{x_Vd(^?Zm75gBxmK|AWtFc9hU8dx8G z!)2ZU`$S&!4?h^|eNt}r!C9dFlFYYB5Az;E8^i8$Ic(3V{n9<+hjoSa%e+yqgOVVh$$}C4*msU@^txAQ5I5s8eMUBH-H__>`nO)1PWTeK7N!xk)DvDnb}uu z$TF{x^)I~qB~mSu_Q^)2%IHptzmYMD?xfzxeq?nOUN7s9zx)Gq6;eIbh*v>(O8VWi zn^AP9WMEqM9jnXo&$ckuH>ZYDB+hJDzKgZHHp zirb8X_htG}b|HN+Cr>|?=!W{62j>@au=_ZiqjR(^&V~mHgip}<1hG9E-oZe8p4I1x zo@R6OG&?8qtJq!TVXV)I|B^RH_x2~eSlS6eOc%`E1YtWo(XB6t>rZrHhDmpBp8h6| zZmMs4Wm+*8yWhlR_sM^*rn@lqcPNN-L6ein$ePmRL>PKNHwD+@psQ_HKipDE$7Ou4XvIlpgULQ*>mOA*k4OQq_?Vcex}Wu z-VsN4)h|9YTHF!)yG^XqSQ`5aK16WPUGPDoEsgC3KPknU_nooWyS9=;o3|picg9uw zOaq~M?7rwJVGG(kOL3>T;YyY*VA)6WbXgqTTmR_LykZo?WwF0~j%s#yhuK2R7Ic*Y zvAsJK8DzG1heC~N#O1Mn>4lJjL8`egkNxACQKZXbcX3UUQO#~e>_0d`Y#Gp9dqA`+ z;tsdLL9{Dk`-MrR&^?W?`q}`7uzG&q(+I2Q_dOc+)AZG-UYN|v`tadTE#No8l?|bu z*ee@CJ+W7+@H1A3?W+21hcBElYF`&tHFSDnuZsOQ0!GoT`t|tX&Etp7(f|GrqfH@;