From 173efe5ec62722089db7c531c0b0d470a072b915 Mon Sep 17 00:00:00 2001 From: Ning Sun Date: Thu, 18 Dec 2025 12:41:40 +0800 Subject: [PATCH] feat: define CommentOn task (#295) Signed-off-by: Ruihang Xia Co-authored-by: Ruihang Xia --- c++/greptime/v1/ddl.pb.cc | 990 +++++++-- c++/greptime/v1/ddl.pb.h | 635 ++++++ c++/greptime/v1/meta/ddl.pb.cc | 373 +++- c++/greptime/v1/meta/ddl.pb.h | 352 ++- go/greptime/v1/ddl.pb.go | 1515 +++++++------ go/greptime/v1/meta/ddl.pb.go | 443 ++-- java/src/main/java/greptime/v1/meta/Ddl.java | 945 +++++++- java/src/main/java/io/greptime/v1/Ddl.java | 2058 ++++++++++++++++-- proto/greptime/v1/ddl.proto | 20 + proto/greptime/v1/meta/ddl.proto | 5 + 10 files changed, 6027 insertions(+), 1309 deletions(-) diff --git a/c++/greptime/v1/ddl.pb.cc b/c++/greptime/v1/ddl.pb.cc index 820f3e8..c685f64 100644 --- a/c++/greptime/v1/ddl.pb.cc +++ b/c++/greptime/v1/ddl.pb.cc @@ -786,10 +786,28 @@ struct DropTriggerExprDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DropTriggerExprDefaultTypeInternal _DropTriggerExpr_default_instance_; +PROTOBUF_CONSTEXPR CommentOnExpr::CommentOnExpr( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.catalog_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.schema_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.object_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.column_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.comment_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} + , /*decltype(_impl_.object_type_)*/0 + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CommentOnExprDefaultTypeInternal { + PROTOBUF_CONSTEXPR CommentOnExprDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CommentOnExprDefaultTypeInternal() {} + union { + CommentOnExpr _instance; + }; +}; +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[52]; -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_greptime_2fv1_2fddl_2eproto[4]; +static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fddl_2eproto[53]; +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; const uint32_t TableStruct_greptime_2fv1_2fddl_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { @@ -809,6 +827,7 @@ const uint32_t TableStruct_greptime_2fv1_2fddl_2eproto::offsets[] PROTOBUF_SECTI ::_pbi::kInvalidFieldOffsetTag, ::_pbi::kInvalidFieldOffsetTag, ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, PROTOBUF_FIELD_OFFSET(::greptime::v1::DdlRequest, _impl_.expr_), PROTOBUF_FIELD_OFFSET(::greptime::v1::CreateFlowExpr_FlowOptionsEntry_DoNotUse, _has_bits_), PROTOBUF_FIELD_OFFSET(::greptime::v1::CreateFlowExpr_FlowOptionsEntry_DoNotUse, _internal_metadata_), @@ -1300,60 +1319,73 @@ const uint32_t TableStruct_greptime_2fv1_2fddl_2eproto::offsets[] PROTOBUF_SECTI PROTOBUF_FIELD_OFFSET(::greptime::v1::DropTriggerExpr, _impl_.catalog_name_), PROTOBUF_FIELD_OFFSET(::greptime::v1::DropTriggerExpr, _impl_.trigger_name_), PROTOBUF_FIELD_OFFSET(::greptime::v1::DropTriggerExpr, _impl_.drop_if_exists_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::greptime::v1::CommentOnExpr, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::greptime::v1::CommentOnExpr, _impl_.catalog_name_), + PROTOBUF_FIELD_OFFSET(::greptime::v1::CommentOnExpr, _impl_.schema_name_), + PROTOBUF_FIELD_OFFSET(::greptime::v1::CommentOnExpr, _impl_.object_type_), + PROTOBUF_FIELD_OFFSET(::greptime::v1::CommentOnExpr, _impl_.object_name_), + PROTOBUF_FIELD_OFFSET(::greptime::v1::CommentOnExpr, _impl_.column_name_), + PROTOBUF_FIELD_OFFSET(::greptime::v1::CommentOnExpr, _impl_.comment_), }; static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, -1, -1, sizeof(::greptime::v1::DdlRequest)}, - { 17, 25, -1, sizeof(::greptime::v1::CreateFlowExpr_FlowOptionsEntry_DoNotUse)}, - { 27, -1, -1, sizeof(::greptime::v1::CreateFlowExpr)}, - { 44, -1, -1, sizeof(::greptime::v1::DropFlowExpr)}, - { 54, -1, -1, sizeof(::greptime::v1::CreateViewExpr)}, - { 70, -1, -1, sizeof(::greptime::v1::DropViewExpr)}, - { 81, 89, -1, sizeof(::greptime::v1::CreateTableExpr_TableOptionsEntry_DoNotUse)}, - { 91, -1, -1, sizeof(::greptime::v1::CreateTableExpr)}, - { 108, -1, -1, sizeof(::greptime::v1::AlterTableExpr)}, - { 130, -1, -1, sizeof(::greptime::v1::DropDefault)}, - { 137, -1, -1, sizeof(::greptime::v1::SetIndexes)}, - { 144, -1, -1, sizeof(::greptime::v1::UnsetIndexes)}, - { 151, -1, -1, sizeof(::greptime::v1::SetDefault)}, - { 159, -1, -1, sizeof(::greptime::v1::SetIndex)}, - { 169, -1, -1, sizeof(::greptime::v1::UnsetIndex)}, - { 179, -1, -1, sizeof(::greptime::v1::DropTableExpr)}, - { 190, 198, -1, sizeof(::greptime::v1::CreateDatabaseExpr_OptionsEntry_DoNotUse)}, - { 200, -1, -1, sizeof(::greptime::v1::CreateDatabaseExpr)}, - { 210, -1, -1, sizeof(::greptime::v1::TruncateTableExpr)}, - { 221, -1, -1, sizeof(::greptime::v1::DropDatabaseExpr)}, - { 230, -1, -1, sizeof(::greptime::v1::AddColumns)}, - { 237, -1, -1, sizeof(::greptime::v1::DropDefaults)}, - { 244, -1, -1, sizeof(::greptime::v1::SetDefaults)}, - { 251, -1, -1, sizeof(::greptime::v1::DropColumns)}, - { 258, -1, -1, sizeof(::greptime::v1::ModifyColumnTypes)}, - { 265, -1, -1, sizeof(::greptime::v1::RenameTable)}, - { 272, -1, -1, sizeof(::greptime::v1::AddColumn)}, - { 281, -1, -1, sizeof(::greptime::v1::ModifyColumnType)}, - { 290, -1, -1, sizeof(::greptime::v1::Option)}, - { 298, -1, -1, sizeof(::greptime::v1::SetTableOptions)}, - { 305, -1, -1, sizeof(::greptime::v1::UnsetTableOptions)}, - { 312, -1, -1, sizeof(::greptime::v1::DropColumn)}, - { 319, -1, -1, sizeof(::greptime::v1::TableId)}, - { 326, -1, -1, sizeof(::greptime::v1::FlowId)}, - { 333, -1, -1, sizeof(::greptime::v1::ColumnDef)}, - { 347, -1, -1, sizeof(::greptime::v1::AddColumnLocation)}, - { 355, -1, -1, sizeof(::greptime::v1::SetFulltext)}, - { 368, -1, -1, sizeof(::greptime::v1::UnsetFulltext)}, - { 375, -1, -1, sizeof(::greptime::v1::SetInverted)}, - { 382, -1, -1, sizeof(::greptime::v1::UnsetInverted)}, - { 389, -1, -1, sizeof(::greptime::v1::SetSkipping)}, - { 400, -1, -1, sizeof(::greptime::v1::UnsetSkipping)}, - { 407, -1, -1, sizeof(::greptime::v1::AlterDatabaseExpr)}, - { 418, -1, -1, sizeof(::greptime::v1::SetDatabaseOptions)}, - { 425, -1, -1, sizeof(::greptime::v1::UnsetDatabaseOptions)}, - { 432, 440, -1, sizeof(::greptime::v1::CreateTriggerExpr_LabelsEntry_DoNotUse)}, - { 442, 450, -1, sizeof(::greptime::v1::CreateTriggerExpr_AnnotationsEntry_DoNotUse)}, - { 452, -1, -1, sizeof(::greptime::v1::CreateTriggerExpr)}, - { 471, -1, -1, sizeof(::greptime::v1::NotifyChannel)}, - { 480, 488, -1, sizeof(::greptime::v1::WebhookOptions_OptsEntry_DoNotUse)}, - { 490, -1, -1, sizeof(::greptime::v1::WebhookOptions)}, - { 498, -1, -1, sizeof(::greptime::v1::DropTriggerExpr)}, + { 18, 26, -1, sizeof(::greptime::v1::CreateFlowExpr_FlowOptionsEntry_DoNotUse)}, + { 28, -1, -1, sizeof(::greptime::v1::CreateFlowExpr)}, + { 45, -1, -1, sizeof(::greptime::v1::DropFlowExpr)}, + { 55, -1, -1, sizeof(::greptime::v1::CreateViewExpr)}, + { 71, -1, -1, sizeof(::greptime::v1::DropViewExpr)}, + { 82, 90, -1, sizeof(::greptime::v1::CreateTableExpr_TableOptionsEntry_DoNotUse)}, + { 92, -1, -1, sizeof(::greptime::v1::CreateTableExpr)}, + { 109, -1, -1, sizeof(::greptime::v1::AlterTableExpr)}, + { 131, -1, -1, sizeof(::greptime::v1::DropDefault)}, + { 138, -1, -1, sizeof(::greptime::v1::SetIndexes)}, + { 145, -1, -1, sizeof(::greptime::v1::UnsetIndexes)}, + { 152, -1, -1, sizeof(::greptime::v1::SetDefault)}, + { 160, -1, -1, sizeof(::greptime::v1::SetIndex)}, + { 170, -1, -1, sizeof(::greptime::v1::UnsetIndex)}, + { 180, -1, -1, sizeof(::greptime::v1::DropTableExpr)}, + { 191, 199, -1, sizeof(::greptime::v1::CreateDatabaseExpr_OptionsEntry_DoNotUse)}, + { 201, -1, -1, sizeof(::greptime::v1::CreateDatabaseExpr)}, + { 211, -1, -1, sizeof(::greptime::v1::TruncateTableExpr)}, + { 222, -1, -1, sizeof(::greptime::v1::DropDatabaseExpr)}, + { 231, -1, -1, sizeof(::greptime::v1::AddColumns)}, + { 238, -1, -1, sizeof(::greptime::v1::DropDefaults)}, + { 245, -1, -1, sizeof(::greptime::v1::SetDefaults)}, + { 252, -1, -1, sizeof(::greptime::v1::DropColumns)}, + { 259, -1, -1, sizeof(::greptime::v1::ModifyColumnTypes)}, + { 266, -1, -1, sizeof(::greptime::v1::RenameTable)}, + { 273, -1, -1, sizeof(::greptime::v1::AddColumn)}, + { 282, -1, -1, sizeof(::greptime::v1::ModifyColumnType)}, + { 291, -1, -1, sizeof(::greptime::v1::Option)}, + { 299, -1, -1, sizeof(::greptime::v1::SetTableOptions)}, + { 306, -1, -1, sizeof(::greptime::v1::UnsetTableOptions)}, + { 313, -1, -1, sizeof(::greptime::v1::DropColumn)}, + { 320, -1, -1, sizeof(::greptime::v1::TableId)}, + { 327, -1, -1, sizeof(::greptime::v1::FlowId)}, + { 334, -1, -1, sizeof(::greptime::v1::ColumnDef)}, + { 348, -1, -1, sizeof(::greptime::v1::AddColumnLocation)}, + { 356, -1, -1, sizeof(::greptime::v1::SetFulltext)}, + { 369, -1, -1, sizeof(::greptime::v1::UnsetFulltext)}, + { 376, -1, -1, sizeof(::greptime::v1::SetInverted)}, + { 383, -1, -1, sizeof(::greptime::v1::UnsetInverted)}, + { 390, -1, -1, sizeof(::greptime::v1::SetSkipping)}, + { 401, -1, -1, sizeof(::greptime::v1::UnsetSkipping)}, + { 408, -1, -1, sizeof(::greptime::v1::AlterDatabaseExpr)}, + { 419, -1, -1, sizeof(::greptime::v1::SetDatabaseOptions)}, + { 426, -1, -1, sizeof(::greptime::v1::UnsetDatabaseOptions)}, + { 433, 441, -1, sizeof(::greptime::v1::CreateTriggerExpr_LabelsEntry_DoNotUse)}, + { 443, 451, -1, sizeof(::greptime::v1::CreateTriggerExpr_AnnotationsEntry_DoNotUse)}, + { 453, -1, -1, sizeof(::greptime::v1::CreateTriggerExpr)}, + { 472, -1, -1, sizeof(::greptime::v1::NotifyChannel)}, + { 481, 489, -1, sizeof(::greptime::v1::WebhookOptions_OptsEntry_DoNotUse)}, + { 491, -1, -1, sizeof(::greptime::v1::WebhookOptions)}, + { 499, -1, -1, sizeof(::greptime::v1::DropTriggerExpr)}, + { 508, -1, -1, sizeof(::greptime::v1::CommentOnExpr)}, }; static const ::_pb::Message* const file_default_instances[] = { @@ -1409,12 +1441,13 @@ static const ::_pb::Message* const file_default_instances[] = { &::greptime::v1::_WebhookOptions_OptsEntry_DoNotUse_default_instance_._instance, &::greptime::v1::_WebhookOptions_default_instance_._instance, &::greptime::v1::_DropTriggerExpr_default_instance_._instance, + &::greptime::v1::_CommentOnExpr_default_instance_._instance, }; const char descriptor_table_protodef_greptime_2fv1_2fddl_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = "\n\025greptime/v1/ddl.proto\022\013greptime.v1\032\036go" "ogle/protobuf/duration.proto\032\030greptime/v" - "1/common.proto\"\250\004\n\nDdlRequest\022:\n\017create_" + "1/common.proto\"\332\004\n\nDdlRequest\022:\n\017create_" "database\030\001 \001(\0132\037.greptime.v1.CreateDatab" "aseExprH\000\0224\n\014create_table\030\002 \001(\0132\034.grepti" "me.v1.CreateTableExprH\000\0222\n\013alter_table\030\003" @@ -1428,170 +1461,177 @@ const char descriptor_table_protodef_greptime_2fv1_2fddl_2eproto[] PROTOBUF_SECT "reateViewExprH\000\022.\n\tdrop_view\030\013 \001(\0132\031.gre" "ptime.v1.DropViewExprH\000\0228\n\016alter_databas" "e\030\014 \001(\0132\036.greptime.v1.AlterDatabaseExprH" - "\000B\006\n\004expr\"\310\003\n\016CreateFlowExpr\022\024\n\014catalog_" - "name\030\001 \001(\t\022\021\n\tflow_name\030\002 \001(\t\0222\n\022source_" - "table_names\030\003 \003(\0132\026.greptime.v1.TableNam" - "e\022/\n\017sink_table_name\030\004 \001(\0132\026.greptime.v1" - ".TableName\022\022\n\nor_replace\030\005 \001(\010\022\034\n\024create" - "_if_not_exists\030\006 \001(\010\022.\n\014expire_after\030\007 \001" - "(\0132\030.greptime.v1.ExpireAfter\0220\n\reval_int" - "erval\030\013 \001(\0132\031.greptime.v1.EvalInterval\022\017" - "\n\007comment\030\010 \001(\t\022\013\n\003sql\030\t \001(\t\022B\n\014flow_opt" - "ions\030\n \003(\0132,.greptime.v1.CreateFlowExpr." - "FlowOptionsEntry\0322\n\020FlowOptionsEntry\022\013\n\003" - "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"u\n\014DropFlow" - "Expr\022\024\n\014catalog_name\030\001 \001(\t\022\021\n\tflow_name\030" - "\002 \001(\t\022$\n\007flow_id\030\003 \001(\0132\023.greptime.v1.Flo" - "wId\022\026\n\016drop_if_exists\030\005 \001(\010\"\376\001\n\016CreateVi" - "ewExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_n" - "ame\030\002 \001(\t\022\021\n\tview_name\030\003 \001(\t\022\024\n\014logical_" - "plan\030\004 \001(\014\022\034\n\024create_if_not_exists\030\005 \001(\010" - "\022\022\n\nor_replace\030\006 \001(\010\022+\n\013table_names\030\007 \003(" - "\0132\026.greptime.v1.TableName\022\017\n\007columns\030\010 \003" - "(\t\022\024\n\014plan_columns\030\t \003(\t\022\022\n\ndefinition\030\n" - " \001(\t\"\213\001\n\014DropViewExpr\022\024\n\014catalog_name\030\001 " - "\001(\t\022\023\n\013schema_name\030\002 \001(\t\022\021\n\tview_name\030\003 " - "\001(\t\022%\n\007view_id\030\004 \001(\0132\024.greptime.v1.Table" - "Id\022\026\n\016drop_if_exists\030\005 \001(\010\"\207\003\n\017CreateTab" - "leExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_n" - "ame\030\002 \001(\t\022\022\n\ntable_name\030\003 \001(\t\022\014\n\004desc\030\004 " - "\001(\t\022+\n\013column_defs\030\005 \003(\0132\026.greptime.v1.C" - "olumnDef\022\022\n\ntime_index\030\006 \001(\t\022\024\n\014primary_" - "keys\030\007 \003(\t\022\034\n\024create_if_not_exists\030\010 \001(\010" - "\022E\n\rtable_options\030\t \003(\0132..greptime.v1.Cr" - "eateTableExpr.TableOptionsEntry\022&\n\010table" - "_id\030\n \001(\0132\024.greptime.v1.TableId\022\016\n\006engin" - "e\030\014 \001(\t\0323\n\021TableOptionsEntry\022\013\n\003key\030\001 \001(" - "\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\312\005\n\016AlterTableExpr\022" - "\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001" - "(\t\022\022\n\ntable_name\030\003 \001(\t\022.\n\013add_columns\030\004 " - "\001(\0132\027.greptime.v1.AddColumnsH\000\0220\n\014drop_c" - "olumns\030\005 \001(\0132\030.greptime.v1.DropColumnsH\000" - "\0220\n\014rename_table\030\006 \001(\0132\030.greptime.v1.Ren" - "ameTableH\000\022=\n\023modify_column_types\030\007 \001(\0132" - "\036.greptime.v1.ModifyColumnTypesH\000\0229\n\021set" - "_table_options\030\010 \001(\0132\034.greptime.v1.SetTa" - "bleOptionsH\000\022=\n\023unset_table_options\030\013 \001(" - "\0132\036.greptime.v1.UnsetTableOptionsH\000\022*\n\ts" - "et_index\030\014 \001(\0132\025.greptime.v1.SetIndexH\000\022" - ".\n\013unset_index\030\r \001(\0132\027.greptime.v1.Unset" - "IndexH\000\0222\n\rdrop_defaults\030\016 \001(\0132\031.greptim" - "e.v1.DropDefaultsH\000\022.\n\013set_indexes\030\017 \001(\013" - "2\027.greptime.v1.SetIndexesH\000\0222\n\runset_ind" - "exes\030\020 \001(\0132\031.greptime.v1.UnsetIndexesH\000\022" - "0\n\014set_defaults\030\021 \001(\0132\030.greptime.v1.SetD" - "efaultsH\000B\006\n\004kind\"\"\n\013DropDefault\022\023\n\013colu" - "mn_name\030\001 \001(\t\"8\n\nSetIndexes\022*\n\013set_index" - "es\030\001 \003(\0132\025.greptime.v1.SetIndex\">\n\014Unset" - "Indexes\022.\n\runset_indexes\030\001 \003(\0132\027.greptim" - "e.v1.UnsetIndex\"=\n\nSetDefault\022\023\n\013column_" - "name\030\001 \001(\t\022\032\n\022default_constraint\030\002 \001(\014\"\237" - "\001\n\010SetIndex\022,\n\010fulltext\030\001 \001(\0132\030.greptime" - ".v1.SetFulltextH\000\022,\n\010inverted\030\002 \001(\0132\030.gr" - "eptime.v1.SetInvertedH\000\022,\n\010skipping\030\003 \001(" - "\0132\030.greptime.v1.SetSkippingH\000B\t\n\007options" - "\"\247\001\n\nUnsetIndex\022.\n\010fulltext\030\001 \001(\0132\032.grep" - "time.v1.UnsetFulltextH\000\022.\n\010inverted\030\002 \001(" - "\0132\032.greptime.v1.UnsetInvertedH\000\022.\n\010skipp" - "ing\030\003 \001(\0132\032.greptime.v1.UnsetSkippingH\000B" - "\t\n\007options\"\216\001\n\rDropTableExpr\022\024\n\014catalog_" - "name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\022\n\ntable" - "_name\030\003 \001(\t\022&\n\010table_id\030\004 \001(\0132\024.greptime" - ".v1.TableId\022\026\n\016drop_if_exists\030\005 \001(\010\"\314\001\n\022" - "CreateDatabaseExpr\022\024\n\014catalog_name\030\001 \001(\t" - "\022\023\n\013schema_name\030\002 \001(\t\022\034\n\024create_if_not_e" - "xists\030\003 \001(\010\022=\n\007options\030\004 \003(\0132,.greptime." - "v1.CreateDatabaseExpr.OptionsEntry\032.\n\014Op" - "tionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" - "8\001\"\250\001\n\021TruncateTableExpr\022\024\n\014catalog_name" - "\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\022\n\ntable_nam" - "e\030\003 \001(\t\022&\n\010table_id\030\004 \001(\0132\024.greptime.v1." - "TableId\022,\n\013time_ranges\030\005 \001(\0132\027.greptime." - "v1.TimeRanges\"U\n\020DropDatabaseExpr\022\024\n\014cat" - "alog_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\026\n\016" - "drop_if_exists\030\003 \001(\010\"9\n\nAddColumns\022+\n\013ad" - "d_columns\030\001 \003(\0132\026.greptime.v1.AddColumn\"" - "\?\n\014DropDefaults\022/\n\rdrop_defaults\030\001 \003(\0132\030" - ".greptime.v1.DropDefault\"<\n\013SetDefaults\022" - "-\n\014set_defaults\030\001 \003(\0132\027.greptime.v1.SetD" - "efault\"<\n\013DropColumns\022-\n\014drop_columns\030\001 " - "\003(\0132\027.greptime.v1.DropColumn\"O\n\021ModifyCo" - "lumnTypes\022:\n\023modify_column_types\030\001 \003(\0132\035" - ".greptime.v1.ModifyColumnType\"%\n\013RenameT" - "able\022\026\n\016new_table_name\030\001 \001(\t\"\204\001\n\tAddColu" - "mn\022*\n\ncolumn_def\030\001 \001(\0132\026.greptime.v1.Col" - "umnDef\0220\n\010location\030\003 \001(\0132\036.greptime.v1.A" - "ddColumnLocation\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(\0162\033.greptime.v1" - ".ColumnDataType\022C\n\025target_type_extension" - "\030\003 \001(\0132$.greptime.v1.ColumnDataTypeExten" - "sion\"$\n\006Option\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" - "(\t\"=\n\017SetTableOptions\022*\n\rtable_options\030\001" - " \003(\0132\023.greptime.v1.Option\"!\n\021UnsetTableO" - "ptions\022\014\n\004keys\030\001 \003(\t\"\032\n\nDropColumn\022\014\n\004na" - "me\030\001 \001(\t\"\025\n\007TableId\022\n\n\002id\030\001 \001(\r\"\024\n\006FlowI" - "d\022\n\n\002id\030\001 \001(\r\"\254\002\n\tColumnDef\022\014\n\004name\030\001 \001(" - "\t\022.\n\tdata_type\030\002 \001(\0162\033.greptime.v1.Colum" - "nDataType\022\023\n\013is_nullable\030\003 \001(\010\022\032\n\022defaul" - "t_constraint\030\004 \001(\014\0220\n\rsemantic_type\030\005 \001(" - "\0162\031.greptime.v1.SemanticType\022\017\n\007comment\030" - "\006 \001(\t\022@\n\022datatype_extension\030\007 \001(\0132$.grep" - "time.v1.ColumnDataTypeExtension\022+\n\007optio" - "ns\030\010 \001(\0132\032.greptime.v1.ColumnOptions\"\230\001\n" - "\021AddColumnLocation\022B\n\rlocation_type\030\001 \001(" - "\0162+.greptime.v1.AddColumnLocation.Locati" - "onType\022\031\n\021after_column_name\030\002 \001(\t\"$\n\014Loc" - "ationType\022\t\n\005FIRST\020\000\022\t\n\005AFTER\020\001\"\324\001\n\013SetF" - "ulltext\022\023\n\013column_name\030\001 \001(\t\022\016\n\006enable\030\002" - " \001(\010\022\'\n\010analyzer\030\003 \001(\0162\025.greptime.v1.Ana" - "lyzer\022\026\n\016case_sensitive\030\004 \001(\010\022-\n\007backend" - "\030\005 \001(\0162\034.greptime.v1.FulltextBackend\022\023\n\013" - "granularity\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\013column_name\030\001 \001(\t" - "\"$\n\rUnsetInverted\022\023\n\013column_name\030\001 \001(\t\"\241" - "\001\n\013SetSkipping\022\023\n\013column_name\030\001 \001(\t\022\016\n\006e" - "nable\030\002 \001(\010\022\023\n\013granularity\030\003 \001(\004\022;\n\023skip" - "ping_index_type\030\004 \001(\0162\036.greptime.v1.Skip" - "pingIndexType\022\033\n\023false_positive_rate\030\005 \001" - "(\001\"$\n\rUnsetSkipping\022\023\n\013column_name\030\001 \001(\t" - "\"\314\001\n\021AlterDatabaseExpr\022\024\n\014catalog_name\030\001" - " \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\?\n\024set_databas" - "e_options\030\003 \001(\0132\037.greptime.v1.SetDatabas" - "eOptionsH\000\022C\n\026unset_database_options\030\004 \001" - "(\0132!.greptime.v1.UnsetDatabaseOptionsH\000B" - "\006\n\004kind\"G\n\022SetDatabaseOptions\0221\n\024set_dat" - "abase_options\030\001 \003(\0132\023.greptime.v1.Option" - "\"$\n\024UnsetDatabaseOptions\022\014\n\004keys\030\001 \003(\t\"\331" - "\004\n\021CreateTriggerExpr\022\024\n\014catalog_name\030\001 \001" - "(\t\022\024\n\014trigger_name\030\002 \001(\t\022\034\n\024create_if_no" - "t_exists\030\003 \001(\010\022\013\n\003sql\030\004 \001(\t\022,\n\010channels\030" - "\005 \003(\0132\032.greptime.v1.NotifyChannel\022:\n\006lab" - "els\030\006 \003(\0132*.greptime.v1.CreateTriggerExp" - "r.LabelsEntry\022D\n\013annotations\030\007 \003(\0132/.gre" - "ptime.v1.CreateTriggerExpr.AnnotationsEn" - "try\022+\n\010interval\030\010 \001(\0132\031.google.protobuf." - "Duration\022\031\n\021raw_interval_expr\030\t \001(\t\022&\n\003f" - "or\030\n \001(\0132\031.google.protobuf.Duration\022\024\n\014f" - "or_raw_expr\030\013 \001(\t\0222\n\017keep_firing_for\030\014 \001" - "(\0132\031.google.protobuf.Duration\022 \n\030keep_fi" - "ring_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\020Annota" - "tionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" - "8\001\"]\n\rNotifyChannel\022\014\n\004name\030\001 \001(\t\022.\n\007web" - "hook\030\002 \001(\0132\033.greptime.v1.WebhookOptionsH" - "\000B\016\n\014channel_type\"\177\n\016WebhookOptions\022\013\n\003u" - "rl\030\001 \001(\t\0223\n\004opts\030\002 \003(\0132%.greptime.v1.Web" - "hookOptions.OptsEntry\032+\n\tOptsEntry\022\013\n\003ke" - "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"U\n\017DropTrigge" - "rExpr\022\024\n\014catalog_name\030\001 \001(\t\022\024\n\014trigger_n" - "ame\030\002 \001(\t\022\026\n\016drop_if_exists\030\003 \001(\010*$\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\000BL\n\016io." - "greptime.v1B\003DdlZ5github.com/GreptimeTea" - "m/greptime-proto/go/greptime/v1b\006proto3" + "\000\0220\n\ncomment_on\030\r \001(\0132\032.greptime.v1.Comm" + "entOnExprH\000B\006\n\004expr\"\310\003\n\016CreateFlowExpr\022\024" + "\n\014catalog_name\030\001 \001(\t\022\021\n\tflow_name\030\002 \001(\t\022" + "2\n\022source_table_names\030\003 \003(\0132\026.greptime.v" + "1.TableName\022/\n\017sink_table_name\030\004 \001(\0132\026.g" + "reptime.v1.TableName\022\022\n\nor_replace\030\005 \001(\010" + "\022\034\n\024create_if_not_exists\030\006 \001(\010\022.\n\014expire" + "_after\030\007 \001(\0132\030.greptime.v1.ExpireAfter\0220" + "\n\reval_interval\030\013 \001(\0132\031.greptime.v1.Eval" + "Interval\022\017\n\007comment\030\010 \001(\t\022\013\n\003sql\030\t \001(\t\022B" + "\n\014flow_options\030\n \003(\0132,.greptime.v1.Creat" + "eFlowExpr.FlowOptionsEntry\0322\n\020FlowOption" + "sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"u" + "\n\014DropFlowExpr\022\024\n\014catalog_name\030\001 \001(\t\022\021\n\t" + "flow_name\030\002 \001(\t\022$\n\007flow_id\030\003 \001(\0132\023.grept" + "ime.v1.FlowId\022\026\n\016drop_if_exists\030\005 \001(\010\"\376\001" + "\n\016CreateViewExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023" + "\n\013schema_name\030\002 \001(\t\022\021\n\tview_name\030\003 \001(\t\022\024" + "\n\014logical_plan\030\004 \001(\014\022\034\n\024create_if_not_ex" + "ists\030\005 \001(\010\022\022\n\nor_replace\030\006 \001(\010\022+\n\013table_" + "names\030\007 \003(\0132\026.greptime.v1.TableName\022\017\n\007c" + "olumns\030\010 \003(\t\022\024\n\014plan_columns\030\t \003(\t\022\022\n\nde" + "finition\030\n \001(\t\"\213\001\n\014DropViewExpr\022\024\n\014catal" + "og_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\021\n\tvi" + "ew_name\030\003 \001(\t\022%\n\007view_id\030\004 \001(\0132\024.greptim" + "e.v1.TableId\022\026\n\016drop_if_exists\030\005 \001(\010\"\207\003\n" + "\017CreateTableExpr\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" + "\014\n\004desc\030\004 \001(\t\022+\n\013column_defs\030\005 \003(\0132\026.gre" + "ptime.v1.ColumnDef\022\022\n\ntime_index\030\006 \001(\t\022\024" + "\n\014primary_keys\030\007 \003(\t\022\034\n\024create_if_not_ex" + "ists\030\010 \001(\010\022E\n\rtable_options\030\t \003(\0132..grep" + "time.v1.CreateTableExpr.TableOptionsEntr" + "y\022&\n\010table_id\030\n \001(\0132\024.greptime.v1.TableI" + "d\022\016\n\006engine\030\014 \001(\t\0323\n\021TableOptionsEntry\022\013" + "\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\312\005\n\016Alter" + "TableExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schem" + "a_name\030\002 \001(\t\022\022\n\ntable_name\030\003 \001(\t\022.\n\013add_" + "columns\030\004 \001(\0132\027.greptime.v1.AddColumnsH\000" + "\0220\n\014drop_columns\030\005 \001(\0132\030.greptime.v1.Dro" + "pColumnsH\000\0220\n\014rename_table\030\006 \001(\0132\030.grept" + "ime.v1.RenameTableH\000\022=\n\023modify_column_ty" + "pes\030\007 \001(\0132\036.greptime.v1.ModifyColumnType" + "sH\000\0229\n\021set_table_options\030\010 \001(\0132\034.greptim" + "e.v1.SetTableOptionsH\000\022=\n\023unset_table_op" + "tions\030\013 \001(\0132\036.greptime.v1.UnsetTableOpti" + "onsH\000\022*\n\tset_index\030\014 \001(\0132\025.greptime.v1.S" + "etIndexH\000\022.\n\013unset_index\030\r \001(\0132\027.greptim" + "e.v1.UnsetIndexH\000\0222\n\rdrop_defaults\030\016 \001(\013" + "2\031.greptime.v1.DropDefaultsH\000\022.\n\013set_ind" + "exes\030\017 \001(\0132\027.greptime.v1.SetIndexesH\000\0222\n" + "\runset_indexes\030\020 \001(\0132\031.greptime.v1.Unset" + "IndexesH\000\0220\n\014set_defaults\030\021 \001(\0132\030.grepti" + "me.v1.SetDefaultsH\000B\006\n\004kind\"\"\n\013DropDefau" + "lt\022\023\n\013column_name\030\001 \001(\t\"8\n\nSetIndexes\022*\n" + "\013set_indexes\030\001 \003(\0132\025.greptime.v1.SetInde" + "x\">\n\014UnsetIndexes\022.\n\runset_indexes\030\001 \003(\013" + "2\027.greptime.v1.UnsetIndex\"=\n\nSetDefault\022" + "\023\n\013column_name\030\001 \001(\t\022\032\n\022default_constrai" + "nt\030\002 \001(\014\"\237\001\n\010SetIndex\022,\n\010fulltext\030\001 \001(\0132" + "\030.greptime.v1.SetFulltextH\000\022,\n\010inverted\030" + "\002 \001(\0132\030.greptime.v1.SetInvertedH\000\022,\n\010ski" + "pping\030\003 \001(\0132\030.greptime.v1.SetSkippingH\000B" + "\t\n\007options\"\247\001\n\nUnsetIndex\022.\n\010fulltext\030\001 " + "\001(\0132\032.greptime.v1.UnsetFulltextH\000\022.\n\010inv" + "erted\030\002 \001(\0132\032.greptime.v1.UnsetInvertedH" + "\000\022.\n\010skipping\030\003 \001(\0132\032.greptime.v1.UnsetS" + "kippingH\000B\t\n\007options\"\216\001\n\rDropTableExpr\022\024" + "\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(" + "\t\022\022\n\ntable_name\030\003 \001(\t\022&\n\010table_id\030\004 \001(\0132" + "\024.greptime.v1.TableId\022\026\n\016drop_if_exists\030" + "\005 \001(\010\"\314\001\n\022CreateDatabaseExpr\022\024\n\014catalog_" + "name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\034\n\024creat" + "e_if_not_exists\030\003 \001(\010\022=\n\007options\030\004 \003(\0132," + ".greptime.v1.CreateDatabaseExpr.OptionsE" + "ntry\032.\n\014OptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val" + "ue\030\002 \001(\t:\0028\001\"\250\001\n\021TruncateTableExpr\022\024\n\014ca" + "talog_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\022\n" + "\ntable_name\030\003 \001(\t\022&\n\010table_id\030\004 \001(\0132\024.gr" + "eptime.v1.TableId\022,\n\013time_ranges\030\005 \001(\0132\027" + ".greptime.v1.TimeRanges\"U\n\020DropDatabaseE" + "xpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_name" + "\030\002 \001(\t\022\026\n\016drop_if_exists\030\003 \001(\010\"9\n\nAddCol" + "umns\022+\n\013add_columns\030\001 \003(\0132\026.greptime.v1." + "AddColumn\"\?\n\014DropDefaults\022/\n\rdrop_defaul" + "ts\030\001 \003(\0132\030.greptime.v1.DropDefault\"<\n\013Se" + "tDefaults\022-\n\014set_defaults\030\001 \003(\0132\027.grepti" + "me.v1.SetDefault\"<\n\013DropColumns\022-\n\014drop_" + "columns\030\001 \003(\0132\027.greptime.v1.DropColumn\"O" + "\n\021ModifyColumnTypes\022:\n\023modify_column_typ" + "es\030\001 \003(\0132\035.greptime.v1.ModifyColumnType\"" + "%\n\013RenameTable\022\026\n\016new_table_name\030\001 \001(\t\"\204" + "\001\n\tAddColumn\022*\n\ncolumn_def\030\001 \001(\0132\026.grept" + "ime.v1.ColumnDef\0220\n\010location\030\003 \001(\0132\036.gre" + "ptime.v1.AddColumnLocation\022\031\n\021add_if_not" + "_exists\030\004 \001(\010\"\236\001\n\020ModifyColumnType\022\023\n\013co" + "lumn_name\030\001 \001(\t\0220\n\013target_type\030\002 \001(\0162\033.g" + "reptime.v1.ColumnDataType\022C\n\025target_type" + "_extension\030\003 \001(\0132$.greptime.v1.ColumnDat" + "aTypeExtension\"$\n\006Option\022\013\n\003key\030\001 \001(\t\022\r\n" + "\005value\030\002 \001(\t\"=\n\017SetTableOptions\022*\n\rtable" + "_options\030\001 \003(\0132\023.greptime.v1.Option\"!\n\021U" + "nsetTableOptions\022\014\n\004keys\030\001 \003(\t\"\032\n\nDropCo" + "lumn\022\014\n\004name\030\001 \001(\t\"\025\n\007TableId\022\n\n\002id\030\001 \001(" + "\r\"\024\n\006FlowId\022\n\n\002id\030\001 \001(\r\"\254\002\n\tColumnDef\022\014\n" + "\004name\030\001 \001(\t\022.\n\tdata_type\030\002 \001(\0162\033.greptim" + "e.v1.ColumnDataType\022\023\n\013is_nullable\030\003 \001(\010" + "\022\032\n\022default_constraint\030\004 \001(\014\0220\n\rsemantic" + "_type\030\005 \001(\0162\031.greptime.v1.SemanticType\022\017" + "\n\007comment\030\006 \001(\t\022@\n\022datatype_extension\030\007 " + "\001(\0132$.greptime.v1.ColumnDataTypeExtensio" + "n\022+\n\007options\030\010 \001(\0132\032.greptime.v1.ColumnO" + "ptions\"\230\001\n\021AddColumnLocation\022B\n\rlocation" + "_type\030\001 \001(\0162+.greptime.v1.AddColumnLocat" + "ion.LocationType\022\031\n\021after_column_name\030\002 " + "\001(\t\"$\n\014LocationType\022\t\n\005FIRST\020\000\022\t\n\005AFTER\020" + "\001\"\324\001\n\013SetFulltext\022\023\n\013column_name\030\001 \001(\t\022\016" + "\n\006enable\030\002 \001(\010\022\'\n\010analyzer\030\003 \001(\0162\025.grept" + "ime.v1.Analyzer\022\026\n\016case_sensitive\030\004 \001(\010\022" + "-\n\007backend\030\005 \001(\0162\034.greptime.v1.FulltextB" + "ackend\022\023\n\013granularity\030\006 \001(\004\022\033\n\023false_pos" + "itive_rate\030\007 \001(\001\"$\n\rUnsetFulltext\022\023\n\013col" + "umn_name\030\001 \001(\t\"\"\n\013SetInverted\022\023\n\013column_" + "name\030\001 \001(\t\"$\n\rUnsetInverted\022\023\n\013column_na" + "me\030\001 \001(\t\"\241\001\n\013SetSkipping\022\023\n\013column_name\030" + "\001 \001(\t\022\016\n\006enable\030\002 \001(\010\022\023\n\013granularity\030\003 \001" + "(\004\022;\n\023skipping_index_type\030\004 \001(\0162\036.grepti" + "me.v1.SkippingIndexType\022\033\n\023false_positiv" + "e_rate\030\005 \001(\001\"$\n\rUnsetSkipping\022\023\n\013column_" + "name\030\001 \001(\t\"\314\001\n\021AlterDatabaseExpr\022\024\n\014cata" + "log_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\?\n\024s" + "et_database_options\030\003 \001(\0132\037.greptime.v1." + "SetDatabaseOptionsH\000\022C\n\026unset_database_o" + "ptions\030\004 \001(\0132!.greptime.v1.UnsetDatabase" + "OptionsH\000B\006\n\004kind\"G\n\022SetDatabaseOptions\022" + "1\n\024set_database_options\030\001 \003(\0132\023.greptime" + ".v1.Option\"$\n\024UnsetDatabaseOptions\022\014\n\004ke" + "ys\030\001 \003(\t\"\331\004\n\021CreateTriggerExpr\022\024\n\014catalo" + "g_name\030\001 \001(\t\022\024\n\014trigger_name\030\002 \001(\t\022\034\n\024cr" + "eate_if_not_exists\030\003 \001(\010\022\013\n\003sql\030\004 \001(\t\022,\n" + "\010channels\030\005 \003(\0132\032.greptime.v1.NotifyChan" + "nel\022:\n\006labels\030\006 \003(\0132*.greptime.v1.Create" + "TriggerExpr.LabelsEntry\022D\n\013annotations\030\007" + " \003(\0132/.greptime.v1.CreateTriggerExpr.Ann" + "otationsEntry\022+\n\010interval\030\010 \001(\0132\031.google" + ".protobuf.Duration\022\031\n\021raw_interval_expr\030" + "\t \001(\t\022&\n\003for\030\n \001(\0132\031.google.protobuf.Dur" + "ation\022\024\n\014for_raw_expr\030\013 \001(\t\0222\n\017keep_firi" + "ng_for\030\014 \001(\0132\031.google.protobuf.Duration\022" + " \n\030keep_firing_for_raw_expr\030\r \001(\t\032-\n\013Lab" + "elsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" + "\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val" + "ue\030\002 \001(\t:\0028\001\"]\n\rNotifyChannel\022\014\n\004name\030\001 " + "\001(\t\022.\n\007webhook\030\002 \001(\0132\033.greptime.v1.Webho" + "okOptionsH\000B\016\n\014channel_type\"\177\n\016WebhookOp" + "tions\022\013\n\003url\030\001 \001(\t\0223\n\004opts\030\002 \003(\0132%.grept" + "ime.v1.WebhookOptions.OptsEntry\032+\n\tOptsE" + "ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"U\n\017" + "DropTriggerExpr\022\024\n\014catalog_name\030\001 \001(\t\022\024\n" + "\014trigger_name\030\002 \001(\t\022\026\n\016drop_if_exists\030\003 " + "\001(\010\"\252\001\n\rCommentOnExpr\022\024\n\014catalog_name\030\001 " + "\001(\t\022\023\n\013schema_name\030\002 \001(\t\0223\n\013object_type\030" + "\003 \001(\0162\036.greptime.v1.CommentObjectType\022\023\n" + "\013object_name\030\004 \001(\t\022\023\n\013column_name\030\005 \001(\t\022" + "\017\n\007comment\030\006 \001(\t*$\n\010Analyzer\022\013\n\007ENGLISH\020" + "\000\022\013\n\007CHINESE\020\001*)\n\017FulltextBackend\022\013\n\007TAN" + "TIVY\020\000\022\t\n\005BLOOM\020\001*%\n\021SkippingIndexType\022\020" + "\n\014BLOOM_FILTER\020\000*4\n\021CommentObjectType\022\t\n" + "\005TABLE\020\000\022\n\n\006COLUMN\020\001\022\010\n\004FLOW\020\002BL\n\016io.gre" + "ptime.v1B\003DdlZ5github.com/GreptimeTeam/g" + "reptime-proto/go/greptime/v1b\006proto3" ; static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fddl_2eproto_deps[2] = { &::descriptor_table_google_2fprotobuf_2fduration_2eproto, @@ -1599,9 +1639,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, 7199, descriptor_table_protodef_greptime_2fv1_2fddl_2eproto, + false, false, 7476, 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, 52, + &descriptor_table_greptime_2fv1_2fddl_2eproto_once, descriptor_table_greptime_2fv1_2fddl_2eproto_deps, 2, 53, 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, @@ -1676,6 +1716,21 @@ bool SkippingIndexType_IsValid(int value) { } } +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CommentObjectType_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_greptime_2fv1_2fddl_2eproto); + return file_level_enum_descriptors_greptime_2fv1_2fddl_2eproto[4]; +} +bool CommentObjectType_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + return true; + default: + return false; + } +} + // =================================================================== @@ -1691,6 +1746,7 @@ class DdlRequest::_Internal { static const ::greptime::v1::CreateViewExpr& create_view(const DdlRequest* msg); static const ::greptime::v1::DropViewExpr& drop_view(const DdlRequest* msg); static const ::greptime::v1::AlterDatabaseExpr& alter_database(const DdlRequest* msg); + static const ::greptime::v1::CommentOnExpr& comment_on(const DdlRequest* msg); }; const ::greptime::v1::CreateDatabaseExpr& @@ -1733,6 +1789,10 @@ const ::greptime::v1::AlterDatabaseExpr& DdlRequest::_Internal::alter_database(const DdlRequest* msg) { return *msg->_impl_.expr_.alter_database_; } +const ::greptime::v1::CommentOnExpr& +DdlRequest::_Internal::comment_on(const DdlRequest* msg) { + return *msg->_impl_.expr_.comment_on_; +} void DdlRequest::set_allocated_create_database(::greptime::v1::CreateDatabaseExpr* create_database) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); clear_expr(); @@ -1883,6 +1943,21 @@ void DdlRequest::set_allocated_alter_database(::greptime::v1::AlterDatabaseExpr* } // @@protoc_insertion_point(field_set_allocated:greptime.v1.DdlRequest.alter_database) } +void DdlRequest::set_allocated_comment_on(::greptime::v1::CommentOnExpr* comment_on) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + clear_expr(); + if (comment_on) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(comment_on); + if (message_arena != submessage_arena) { + comment_on = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, comment_on, submessage_arena); + } + set_has_comment_on(); + _impl_.expr_.comment_on_ = comment_on; + } + // @@protoc_insertion_point(field_set_allocated:greptime.v1.DdlRequest.comment_on) +} DdlRequest::DdlRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -1950,6 +2025,11 @@ DdlRequest::DdlRequest(const DdlRequest& from) from._internal_alter_database()); break; } + case kCommentOn: { + _this->_internal_mutable_comment_on()->::greptime::v1::CommentOnExpr::MergeFrom( + from._internal_comment_on()); + break; + } case EXPR_NOT_SET: { break; } @@ -2052,6 +2132,12 @@ void DdlRequest::clear_expr() { } break; } + case kCommentOn: { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.expr_.comment_on_; + } + break; + } case EXPR_NOT_SET: { break; } @@ -2156,6 +2242,14 @@ const char* DdlRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* ct } else goto handle_unusual; continue; + // .greptime.v1.CommentOnExpr comment_on = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 106)) { + ptr = ctx->ParseMessage(_internal_mutable_comment_on(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -2255,6 +2349,13 @@ uint8_t* DdlRequest::_InternalSerialize( _Internal::alter_database(this).GetCachedSize(), target, stream); } + // .greptime.v1.CommentOnExpr comment_on = 13; + if (_internal_has_comment_on()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(13, _Internal::comment_on(this), + _Internal::comment_on(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); @@ -2342,6 +2443,13 @@ size_t DdlRequest::ByteSizeLong() const { *_impl_.expr_.alter_database_); break; } + // .greptime.v1.CommentOnExpr comment_on = 13; + case kCommentOn: { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.expr_.comment_on_); + break; + } case EXPR_NOT_SET: { break; } @@ -2415,6 +2523,11 @@ void DdlRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PRO from._internal_alter_database()); break; } + case kCommentOn: { + _this->_internal_mutable_comment_on()->::greptime::v1::CommentOnExpr::MergeFrom( + from._internal_comment_on()); + break; + } case EXPR_NOT_SET: { break; } @@ -16632,6 +16745,439 @@ void DropTriggerExpr::InternalSwap(DropTriggerExpr* other) { file_level_metadata_greptime_2fv1_2fddl_2eproto[51]); } +// =================================================================== + +class CommentOnExpr::_Internal { + public: +}; + +CommentOnExpr::CommentOnExpr(::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.CommentOnExpr) +} +CommentOnExpr::CommentOnExpr(const CommentOnExpr& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CommentOnExpr* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.catalog_name_){} + , decltype(_impl_.schema_name_){} + , decltype(_impl_.object_name_){} + , decltype(_impl_.column_name_){} + , decltype(_impl_.comment_){} + , decltype(_impl_.object_type_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _impl_.catalog_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.catalog_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_catalog_name().empty()) { + _this->_impl_.catalog_name_.Set(from._internal_catalog_name(), + _this->GetArenaForAllocation()); + } + _impl_.schema_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.schema_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_schema_name().empty()) { + _this->_impl_.schema_name_.Set(from._internal_schema_name(), + _this->GetArenaForAllocation()); + } + _impl_.object_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.object_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_object_name().empty()) { + _this->_impl_.object_name_.Set(from._internal_object_name(), + _this->GetArenaForAllocation()); + } + _impl_.column_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.column_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_column_name().empty()) { + _this->_impl_.column_name_.Set(from._internal_column_name(), + _this->GetArenaForAllocation()); + } + _impl_.comment_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.comment_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (!from._internal_comment().empty()) { + _this->_impl_.comment_.Set(from._internal_comment(), + _this->GetArenaForAllocation()); + } + _this->_impl_.object_type_ = from._impl_.object_type_; + // @@protoc_insertion_point(copy_constructor:greptime.v1.CommentOnExpr) +} + +inline void CommentOnExpr::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.catalog_name_){} + , decltype(_impl_.schema_name_){} + , decltype(_impl_.object_name_){} + , decltype(_impl_.column_name_){} + , decltype(_impl_.comment_){} + , decltype(_impl_.object_type_){0} + , /*decltype(_impl_._cached_size_)*/{} + }; + _impl_.catalog_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.catalog_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.schema_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.schema_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.object_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.object_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.column_name_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.column_name_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.comment_.InitDefault(); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + _impl_.comment_.Set("", GetArenaForAllocation()); + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING +} + +CommentOnExpr::~CommentOnExpr() { + // @@protoc_insertion_point(destructor:greptime.v1.CommentOnExpr) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CommentOnExpr::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + _impl_.catalog_name_.Destroy(); + _impl_.schema_name_.Destroy(); + _impl_.object_name_.Destroy(); + _impl_.column_name_.Destroy(); + _impl_.comment_.Destroy(); +} + +void CommentOnExpr::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CommentOnExpr::Clear() { +// @@protoc_insertion_point(message_clear_start:greptime.v1.CommentOnExpr) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.catalog_name_.ClearToEmpty(); + _impl_.schema_name_.ClearToEmpty(); + _impl_.object_name_.ClearToEmpty(); + _impl_.column_name_.ClearToEmpty(); + _impl_.comment_.ClearToEmpty(); + _impl_.object_type_ = 0; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CommentOnExpr::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // string catalog_name = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + auto str = _internal_mutable_catalog_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "greptime.v1.CommentOnExpr.catalog_name")); + } else + goto handle_unusual; + continue; + // string schema_name = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 18)) { + auto str = _internal_mutable_schema_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "greptime.v1.CommentOnExpr.schema_name")); + } else + goto handle_unusual; + continue; + // .greptime.v1.CommentObjectType object_type = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 24)) { + uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); + CHK_(ptr); + _internal_set_object_type(static_cast<::greptime::v1::CommentObjectType>(val)); + } else + goto handle_unusual; + continue; + // string object_name = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 34)) { + auto str = _internal_mutable_object_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "greptime.v1.CommentOnExpr.object_name")); + } else + goto handle_unusual; + continue; + // string column_name = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 42)) { + auto str = _internal_mutable_column_name(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "greptime.v1.CommentOnExpr.column_name")); + } else + goto handle_unusual; + continue; + // string comment = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 50)) { + auto str = _internal_mutable_comment(); + ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); + CHK_(ptr); + CHK_(::_pbi::VerifyUTF8(str, "greptime.v1.CommentOnExpr.comment")); + } 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* CommentOnExpr::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:greptime.v1.CommentOnExpr) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // string catalog_name = 1; + if (!this->_internal_catalog_name().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_catalog_name().data(), static_cast(this->_internal_catalog_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "greptime.v1.CommentOnExpr.catalog_name"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_catalog_name(), target); + } + + // string schema_name = 2; + if (!this->_internal_schema_name().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_schema_name().data(), static_cast(this->_internal_schema_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "greptime.v1.CommentOnExpr.schema_name"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_schema_name(), target); + } + + // .greptime.v1.CommentObjectType object_type = 3; + if (this->_internal_object_type() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteEnumToArray( + 3, this->_internal_object_type(), target); + } + + // string object_name = 4; + if (!this->_internal_object_name().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_object_name().data(), static_cast(this->_internal_object_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "greptime.v1.CommentOnExpr.object_name"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_object_name(), target); + } + + // string column_name = 5; + if (!this->_internal_column_name().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_column_name().data(), static_cast(this->_internal_column_name().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "greptime.v1.CommentOnExpr.column_name"); + target = stream->WriteStringMaybeAliased( + 5, this->_internal_column_name(), target); + } + + // string comment = 6; + if (!this->_internal_comment().empty()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_comment().data(), static_cast(this->_internal_comment().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "greptime.v1.CommentOnExpr.comment"); + target = stream->WriteStringMaybeAliased( + 6, this->_internal_comment(), 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.CommentOnExpr) + return target; +} + +size_t CommentOnExpr::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:greptime.v1.CommentOnExpr) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string catalog_name = 1; + if (!this->_internal_catalog_name().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_catalog_name()); + } + + // string schema_name = 2; + if (!this->_internal_schema_name().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_schema_name()); + } + + // string object_name = 4; + if (!this->_internal_object_name().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_object_name()); + } + + // string column_name = 5; + if (!this->_internal_column_name().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_column_name()); + } + + // string comment = 6; + if (!this->_internal_comment().empty()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_comment()); + } + + // .greptime.v1.CommentObjectType object_type = 3; + if (this->_internal_object_type() != 0) { + total_size += 1 + + ::_pbi::WireFormatLite::EnumSize(this->_internal_object_type()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CommentOnExpr::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CommentOnExpr::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CommentOnExpr::GetClassData() const { return &_class_data_; } + + +void CommentOnExpr::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.CommentOnExpr) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_catalog_name().empty()) { + _this->_internal_set_catalog_name(from._internal_catalog_name()); + } + if (!from._internal_schema_name().empty()) { + _this->_internal_set_schema_name(from._internal_schema_name()); + } + if (!from._internal_object_name().empty()) { + _this->_internal_set_object_name(from._internal_object_name()); + } + if (!from._internal_column_name().empty()) { + _this->_internal_set_column_name(from._internal_column_name()); + } + if (!from._internal_comment().empty()) { + _this->_internal_set_comment(from._internal_comment()); + } + if (from._internal_object_type() != 0) { + _this->_internal_set_object_type(from._internal_object_type()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CommentOnExpr::CopyFrom(const CommentOnExpr& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.CommentOnExpr) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CommentOnExpr::IsInitialized() const { + return true; +} + +void CommentOnExpr::InternalSwap(CommentOnExpr* other) { + using std::swap; + auto* lhs_arena = GetArenaForAllocation(); + auto* rhs_arena = other->GetArenaForAllocation(); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.catalog_name_, lhs_arena, + &other->_impl_.catalog_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.schema_name_, lhs_arena, + &other->_impl_.schema_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.object_name_, lhs_arena, + &other->_impl_.object_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.column_name_, lhs_arena, + &other->_impl_.column_name_, rhs_arena + ); + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap( + &_impl_.comment_, lhs_arena, + &other->_impl_.comment_, rhs_arena + ); + swap(_impl_.object_type_, other->_impl_.object_type_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CommentOnExpr::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_greptime_2fv1_2fddl_2eproto_getter, &descriptor_table_greptime_2fv1_2fddl_2eproto_once, + file_level_metadata_greptime_2fv1_2fddl_2eproto[52]); +} + // @@protoc_insertion_point(namespace_scope) } // namespace v1 } // namespace greptime @@ -16844,6 +17390,10 @@ template<> PROTOBUF_NOINLINE ::greptime::v1::DropTriggerExpr* Arena::CreateMaybeMessage< ::greptime::v1::DropTriggerExpr >(Arena* arena) { return Arena::CreateMessageInternal< ::greptime::v1::DropTriggerExpr >(arena); } +template<> PROTOBUF_NOINLINE ::greptime::v1::CommentOnExpr* +Arena::CreateMaybeMessage< ::greptime::v1::CommentOnExpr >(Arena* arena) { + return Arena::CreateMessageInternal< ::greptime::v1::CommentOnExpr >(arena); +} PROTOBUF_NAMESPACE_CLOSE // @@protoc_insertion_point(global_scope) diff --git a/c++/greptime/v1/ddl.pb.h b/c++/greptime/v1/ddl.pb.h index f563df1..7293d6e 100644 --- a/c++/greptime/v1/ddl.pb.h +++ b/c++/greptime/v1/ddl.pb.h @@ -70,6 +70,9 @@ extern AlterTableExprDefaultTypeInternal _AlterTableExpr_default_instance_; class ColumnDef; struct ColumnDefDefaultTypeInternal; extern ColumnDefDefaultTypeInternal _ColumnDef_default_instance_; +class CommentOnExpr; +struct CommentOnExprDefaultTypeInternal; +extern CommentOnExprDefaultTypeInternal _CommentOnExpr_default_instance_; class CreateDatabaseExpr; struct CreateDatabaseExprDefaultTypeInternal; extern CreateDatabaseExprDefaultTypeInternal _CreateDatabaseExpr_default_instance_; @@ -217,6 +220,7 @@ template<> ::greptime::v1::AddColumns* Arena::CreateMaybeMessage<::greptime::v1: template<> ::greptime::v1::AlterDatabaseExpr* Arena::CreateMaybeMessage<::greptime::v1::AlterDatabaseExpr>(Arena*); template<> ::greptime::v1::AlterTableExpr* Arena::CreateMaybeMessage<::greptime::v1::AlterTableExpr>(Arena*); template<> ::greptime::v1::ColumnDef* Arena::CreateMaybeMessage<::greptime::v1::ColumnDef>(Arena*); +template<> ::greptime::v1::CommentOnExpr* Arena::CreateMaybeMessage<::greptime::v1::CommentOnExpr>(Arena*); template<> ::greptime::v1::CreateDatabaseExpr* Arena::CreateMaybeMessage<::greptime::v1::CreateDatabaseExpr>(Arena*); template<> ::greptime::v1::CreateDatabaseExpr_OptionsEntry_DoNotUse* Arena::CreateMaybeMessage<::greptime::v1::CreateDatabaseExpr_OptionsEntry_DoNotUse>(Arena*); template<> ::greptime::v1::CreateFlowExpr* Arena::CreateMaybeMessage<::greptime::v1::CreateFlowExpr>(Arena*); @@ -366,6 +370,32 @@ inline bool SkippingIndexType_Parse( return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( SkippingIndexType_descriptor(), name, value); } +enum CommentObjectType : int { + TABLE = 0, + COLUMN = 1, + FLOW = 2, + CommentObjectType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits::min(), + CommentObjectType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits::max() +}; +bool CommentObjectType_IsValid(int value); +constexpr CommentObjectType CommentObjectType_MIN = TABLE; +constexpr CommentObjectType CommentObjectType_MAX = FLOW; +constexpr int CommentObjectType_ARRAYSIZE = CommentObjectType_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CommentObjectType_descriptor(); +template +inline const std::string& CommentObjectType_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function CommentObjectType_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + CommentObjectType_descriptor(), enum_t_value); +} +inline bool CommentObjectType_Parse( + ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CommentObjectType* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + CommentObjectType_descriptor(), name, value); +} // =================================================================== class DdlRequest final : @@ -422,6 +452,7 @@ class DdlRequest final : kCreateView = 10, kDropView = 11, kAlterDatabase = 12, + kCommentOn = 13, EXPR_NOT_SET = 0, }; @@ -513,6 +544,7 @@ class DdlRequest final : kCreateViewFieldNumber = 10, kDropViewFieldNumber = 11, kAlterDatabaseFieldNumber = 12, + kCommentOnFieldNumber = 13, }; // .greptime.v1.CreateDatabaseExpr create_database = 1; bool has_create_database() const; @@ -694,6 +726,24 @@ class DdlRequest final : ::greptime::v1::AlterDatabaseExpr* alter_database); ::greptime::v1::AlterDatabaseExpr* unsafe_arena_release_alter_database(); + // .greptime.v1.CommentOnExpr comment_on = 13; + bool has_comment_on() const; + private: + bool _internal_has_comment_on() const; + public: + void clear_comment_on(); + const ::greptime::v1::CommentOnExpr& comment_on() const; + PROTOBUF_NODISCARD ::greptime::v1::CommentOnExpr* release_comment_on(); + ::greptime::v1::CommentOnExpr* mutable_comment_on(); + void set_allocated_comment_on(::greptime::v1::CommentOnExpr* comment_on); + private: + const ::greptime::v1::CommentOnExpr& _internal_comment_on() const; + ::greptime::v1::CommentOnExpr* _internal_mutable_comment_on(); + public: + void unsafe_arena_set_allocated_comment_on( + ::greptime::v1::CommentOnExpr* comment_on); + ::greptime::v1::CommentOnExpr* unsafe_arena_release_comment_on(); + void clear_expr(); ExprCase expr_case() const; // @@protoc_insertion_point(class_scope:greptime.v1.DdlRequest) @@ -709,6 +759,7 @@ class DdlRequest final : void set_has_create_view(); void set_has_drop_view(); void set_has_alter_database(); + void set_has_comment_on(); inline bool has_expr() const; inline void clear_has_expr(); @@ -730,6 +781,7 @@ class DdlRequest final : ::greptime::v1::CreateViewExpr* create_view_; ::greptime::v1::DropViewExpr* drop_view_; ::greptime::v1::AlterDatabaseExpr* alter_database_; + ::greptime::v1::CommentOnExpr* comment_on_; } expr_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; uint32_t _oneof_case_[1]; @@ -9859,6 +9911,234 @@ class DropTriggerExpr final : union { Impl_ _impl_; }; friend struct ::TableStruct_greptime_2fv1_2fddl_2eproto; }; +// ------------------------------------------------------------------- + +class CommentOnExpr final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.CommentOnExpr) */ { + public: + inline CommentOnExpr() : CommentOnExpr(nullptr) {} + ~CommentOnExpr() override; + explicit PROTOBUF_CONSTEXPR CommentOnExpr(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CommentOnExpr(const CommentOnExpr& from); + CommentOnExpr(CommentOnExpr&& from) noexcept + : CommentOnExpr() { + *this = ::std::move(from); + } + + inline CommentOnExpr& operator=(const CommentOnExpr& from) { + CopyFrom(from); + return *this; + } + inline CommentOnExpr& operator=(CommentOnExpr&& 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 CommentOnExpr& default_instance() { + return *internal_default_instance(); + } + static inline const CommentOnExpr* internal_default_instance() { + return reinterpret_cast( + &_CommentOnExpr_default_instance_); + } + static constexpr int kIndexInFileMessages = + 52; + + friend void swap(CommentOnExpr& a, CommentOnExpr& b) { + a.Swap(&b); + } + inline void Swap(CommentOnExpr* 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(CommentOnExpr* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CommentOnExpr* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CommentOnExpr& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CommentOnExpr& from) { + CommentOnExpr::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(CommentOnExpr* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "greptime.v1.CommentOnExpr"; + } + protected: + explicit CommentOnExpr(::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 { + kCatalogNameFieldNumber = 1, + kSchemaNameFieldNumber = 2, + kObjectNameFieldNumber = 4, + kColumnNameFieldNumber = 5, + kCommentFieldNumber = 6, + kObjectTypeFieldNumber = 3, + }; + // string catalog_name = 1; + void clear_catalog_name(); + const std::string& catalog_name() const; + template + void set_catalog_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_catalog_name(); + PROTOBUF_NODISCARD std::string* release_catalog_name(); + void set_allocated_catalog_name(std::string* catalog_name); + private: + const std::string& _internal_catalog_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_catalog_name(const std::string& value); + std::string* _internal_mutable_catalog_name(); + public: + + // string schema_name = 2; + void clear_schema_name(); + const std::string& schema_name() const; + template + void set_schema_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_schema_name(); + PROTOBUF_NODISCARD std::string* release_schema_name(); + void set_allocated_schema_name(std::string* schema_name); + private: + const std::string& _internal_schema_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_schema_name(const std::string& value); + std::string* _internal_mutable_schema_name(); + public: + + // string object_name = 4; + void clear_object_name(); + const std::string& object_name() const; + template + void set_object_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_object_name(); + PROTOBUF_NODISCARD std::string* release_object_name(); + void set_allocated_object_name(std::string* object_name); + private: + const std::string& _internal_object_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_object_name(const std::string& value); + std::string* _internal_mutable_object_name(); + public: + + // string column_name = 5; + void clear_column_name(); + const std::string& column_name() const; + template + void set_column_name(ArgT0&& arg0, ArgT... args); + std::string* mutable_column_name(); + PROTOBUF_NODISCARD std::string* release_column_name(); + void set_allocated_column_name(std::string* column_name); + private: + const std::string& _internal_column_name() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_column_name(const std::string& value); + std::string* _internal_mutable_column_name(); + public: + + // string comment = 6; + void clear_comment(); + const std::string& comment() const; + template + void set_comment(ArgT0&& arg0, ArgT... args); + std::string* mutable_comment(); + PROTOBUF_NODISCARD std::string* release_comment(); + void set_allocated_comment(std::string* comment); + private: + const std::string& _internal_comment() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_comment(const std::string& value); + std::string* _internal_mutable_comment(); + public: + + // .greptime.v1.CommentObjectType object_type = 3; + void clear_object_type(); + ::greptime::v1::CommentObjectType object_type() const; + void set_object_type(::greptime::v1::CommentObjectType value); + private: + ::greptime::v1::CommentObjectType _internal_object_type() const; + void _internal_set_object_type(::greptime::v1::CommentObjectType value); + public: + + // @@protoc_insertion_point(class_scope:greptime.v1.CommentOnExpr) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr catalog_name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr schema_name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr object_name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr column_name_; + ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr comment_; + int object_type_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_greptime_2fv1_2fddl_2eproto; +}; // =================================================================== @@ -10610,6 +10890,80 @@ inline ::greptime::v1::AlterDatabaseExpr* DdlRequest::mutable_alter_database() { return _msg; } +// .greptime.v1.CommentOnExpr comment_on = 13; +inline bool DdlRequest::_internal_has_comment_on() const { + return expr_case() == kCommentOn; +} +inline bool DdlRequest::has_comment_on() const { + return _internal_has_comment_on(); +} +inline void DdlRequest::set_has_comment_on() { + _impl_._oneof_case_[0] = kCommentOn; +} +inline void DdlRequest::clear_comment_on() { + if (_internal_has_comment_on()) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.expr_.comment_on_; + } + clear_has_expr(); + } +} +inline ::greptime::v1::CommentOnExpr* DdlRequest::release_comment_on() { + // @@protoc_insertion_point(field_release:greptime.v1.DdlRequest.comment_on) + if (_internal_has_comment_on()) { + clear_has_expr(); + ::greptime::v1::CommentOnExpr* temp = _impl_.expr_.comment_on_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.expr_.comment_on_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::greptime::v1::CommentOnExpr& DdlRequest::_internal_comment_on() const { + return _internal_has_comment_on() + ? *_impl_.expr_.comment_on_ + : reinterpret_cast< ::greptime::v1::CommentOnExpr&>(::greptime::v1::_CommentOnExpr_default_instance_); +} +inline const ::greptime::v1::CommentOnExpr& DdlRequest::comment_on() const { + // @@protoc_insertion_point(field_get:greptime.v1.DdlRequest.comment_on) + return _internal_comment_on(); +} +inline ::greptime::v1::CommentOnExpr* DdlRequest::unsafe_arena_release_comment_on() { + // @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.DdlRequest.comment_on) + if (_internal_has_comment_on()) { + clear_has_expr(); + ::greptime::v1::CommentOnExpr* temp = _impl_.expr_.comment_on_; + _impl_.expr_.comment_on_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void DdlRequest::unsafe_arena_set_allocated_comment_on(::greptime::v1::CommentOnExpr* comment_on) { + clear_expr(); + if (comment_on) { + set_has_comment_on(); + _impl_.expr_.comment_on_ = comment_on; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.DdlRequest.comment_on) +} +inline ::greptime::v1::CommentOnExpr* DdlRequest::_internal_mutable_comment_on() { + if (!_internal_has_comment_on()) { + clear_expr(); + set_has_comment_on(); + _impl_.expr_.comment_on_ = CreateMaybeMessage< ::greptime::v1::CommentOnExpr >(GetArenaForAllocation()); + } + return _impl_.expr_.comment_on_; +} +inline ::greptime::v1::CommentOnExpr* DdlRequest::mutable_comment_on() { + ::greptime::v1::CommentOnExpr* _msg = _internal_mutable_comment_on(); + // @@protoc_insertion_point(field_mutable:greptime.v1.DdlRequest.comment_on) + return _msg; +} + inline bool DdlRequest::has_expr() const { return expr_case() != EXPR_NOT_SET; } @@ -18703,6 +19057,280 @@ inline void DropTriggerExpr::set_drop_if_exists(bool value) { // @@protoc_insertion_point(field_set:greptime.v1.DropTriggerExpr.drop_if_exists) } +// ------------------------------------------------------------------- + +// CommentOnExpr + +// string catalog_name = 1; +inline void CommentOnExpr::clear_catalog_name() { + _impl_.catalog_name_.ClearToEmpty(); +} +inline const std::string& CommentOnExpr::catalog_name() const { + // @@protoc_insertion_point(field_get:greptime.v1.CommentOnExpr.catalog_name) + return _internal_catalog_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CommentOnExpr::set_catalog_name(ArgT0&& arg0, ArgT... args) { + + _impl_.catalog_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:greptime.v1.CommentOnExpr.catalog_name) +} +inline std::string* CommentOnExpr::mutable_catalog_name() { + std::string* _s = _internal_mutable_catalog_name(); + // @@protoc_insertion_point(field_mutable:greptime.v1.CommentOnExpr.catalog_name) + return _s; +} +inline const std::string& CommentOnExpr::_internal_catalog_name() const { + return _impl_.catalog_name_.Get(); +} +inline void CommentOnExpr::_internal_set_catalog_name(const std::string& value) { + + _impl_.catalog_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CommentOnExpr::_internal_mutable_catalog_name() { + + return _impl_.catalog_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CommentOnExpr::release_catalog_name() { + // @@protoc_insertion_point(field_release:greptime.v1.CommentOnExpr.catalog_name) + return _impl_.catalog_name_.Release(); +} +inline void CommentOnExpr::set_allocated_catalog_name(std::string* catalog_name) { + if (catalog_name != nullptr) { + + } else { + + } + _impl_.catalog_name_.SetAllocated(catalog_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.catalog_name_.IsDefault()) { + _impl_.catalog_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:greptime.v1.CommentOnExpr.catalog_name) +} + +// string schema_name = 2; +inline void CommentOnExpr::clear_schema_name() { + _impl_.schema_name_.ClearToEmpty(); +} +inline const std::string& CommentOnExpr::schema_name() const { + // @@protoc_insertion_point(field_get:greptime.v1.CommentOnExpr.schema_name) + return _internal_schema_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CommentOnExpr::set_schema_name(ArgT0&& arg0, ArgT... args) { + + _impl_.schema_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:greptime.v1.CommentOnExpr.schema_name) +} +inline std::string* CommentOnExpr::mutable_schema_name() { + std::string* _s = _internal_mutable_schema_name(); + // @@protoc_insertion_point(field_mutable:greptime.v1.CommentOnExpr.schema_name) + return _s; +} +inline const std::string& CommentOnExpr::_internal_schema_name() const { + return _impl_.schema_name_.Get(); +} +inline void CommentOnExpr::_internal_set_schema_name(const std::string& value) { + + _impl_.schema_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CommentOnExpr::_internal_mutable_schema_name() { + + return _impl_.schema_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CommentOnExpr::release_schema_name() { + // @@protoc_insertion_point(field_release:greptime.v1.CommentOnExpr.schema_name) + return _impl_.schema_name_.Release(); +} +inline void CommentOnExpr::set_allocated_schema_name(std::string* schema_name) { + if (schema_name != nullptr) { + + } else { + + } + _impl_.schema_name_.SetAllocated(schema_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.schema_name_.IsDefault()) { + _impl_.schema_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:greptime.v1.CommentOnExpr.schema_name) +} + +// .greptime.v1.CommentObjectType object_type = 3; +inline void CommentOnExpr::clear_object_type() { + _impl_.object_type_ = 0; +} +inline ::greptime::v1::CommentObjectType CommentOnExpr::_internal_object_type() const { + return static_cast< ::greptime::v1::CommentObjectType >(_impl_.object_type_); +} +inline ::greptime::v1::CommentObjectType CommentOnExpr::object_type() const { + // @@protoc_insertion_point(field_get:greptime.v1.CommentOnExpr.object_type) + return _internal_object_type(); +} +inline void CommentOnExpr::_internal_set_object_type(::greptime::v1::CommentObjectType value) { + + _impl_.object_type_ = value; +} +inline void CommentOnExpr::set_object_type(::greptime::v1::CommentObjectType value) { + _internal_set_object_type(value); + // @@protoc_insertion_point(field_set:greptime.v1.CommentOnExpr.object_type) +} + +// string object_name = 4; +inline void CommentOnExpr::clear_object_name() { + _impl_.object_name_.ClearToEmpty(); +} +inline const std::string& CommentOnExpr::object_name() const { + // @@protoc_insertion_point(field_get:greptime.v1.CommentOnExpr.object_name) + return _internal_object_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CommentOnExpr::set_object_name(ArgT0&& arg0, ArgT... args) { + + _impl_.object_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:greptime.v1.CommentOnExpr.object_name) +} +inline std::string* CommentOnExpr::mutable_object_name() { + std::string* _s = _internal_mutable_object_name(); + // @@protoc_insertion_point(field_mutable:greptime.v1.CommentOnExpr.object_name) + return _s; +} +inline const std::string& CommentOnExpr::_internal_object_name() const { + return _impl_.object_name_.Get(); +} +inline void CommentOnExpr::_internal_set_object_name(const std::string& value) { + + _impl_.object_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CommentOnExpr::_internal_mutable_object_name() { + + return _impl_.object_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CommentOnExpr::release_object_name() { + // @@protoc_insertion_point(field_release:greptime.v1.CommentOnExpr.object_name) + return _impl_.object_name_.Release(); +} +inline void CommentOnExpr::set_allocated_object_name(std::string* object_name) { + if (object_name != nullptr) { + + } else { + + } + _impl_.object_name_.SetAllocated(object_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.object_name_.IsDefault()) { + _impl_.object_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:greptime.v1.CommentOnExpr.object_name) +} + +// string column_name = 5; +inline void CommentOnExpr::clear_column_name() { + _impl_.column_name_.ClearToEmpty(); +} +inline const std::string& CommentOnExpr::column_name() const { + // @@protoc_insertion_point(field_get:greptime.v1.CommentOnExpr.column_name) + return _internal_column_name(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CommentOnExpr::set_column_name(ArgT0&& arg0, ArgT... args) { + + _impl_.column_name_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:greptime.v1.CommentOnExpr.column_name) +} +inline std::string* CommentOnExpr::mutable_column_name() { + std::string* _s = _internal_mutable_column_name(); + // @@protoc_insertion_point(field_mutable:greptime.v1.CommentOnExpr.column_name) + return _s; +} +inline const std::string& CommentOnExpr::_internal_column_name() const { + return _impl_.column_name_.Get(); +} +inline void CommentOnExpr::_internal_set_column_name(const std::string& value) { + + _impl_.column_name_.Set(value, GetArenaForAllocation()); +} +inline std::string* CommentOnExpr::_internal_mutable_column_name() { + + return _impl_.column_name_.Mutable(GetArenaForAllocation()); +} +inline std::string* CommentOnExpr::release_column_name() { + // @@protoc_insertion_point(field_release:greptime.v1.CommentOnExpr.column_name) + return _impl_.column_name_.Release(); +} +inline void CommentOnExpr::set_allocated_column_name(std::string* column_name) { + if (column_name != nullptr) { + + } else { + + } + _impl_.column_name_.SetAllocated(column_name, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.column_name_.IsDefault()) { + _impl_.column_name_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:greptime.v1.CommentOnExpr.column_name) +} + +// string comment = 6; +inline void CommentOnExpr::clear_comment() { + _impl_.comment_.ClearToEmpty(); +} +inline const std::string& CommentOnExpr::comment() const { + // @@protoc_insertion_point(field_get:greptime.v1.CommentOnExpr.comment) + return _internal_comment(); +} +template +inline PROTOBUF_ALWAYS_INLINE +void CommentOnExpr::set_comment(ArgT0&& arg0, ArgT... args) { + + _impl_.comment_.Set(static_cast(arg0), args..., GetArenaForAllocation()); + // @@protoc_insertion_point(field_set:greptime.v1.CommentOnExpr.comment) +} +inline std::string* CommentOnExpr::mutable_comment() { + std::string* _s = _internal_mutable_comment(); + // @@protoc_insertion_point(field_mutable:greptime.v1.CommentOnExpr.comment) + return _s; +} +inline const std::string& CommentOnExpr::_internal_comment() const { + return _impl_.comment_.Get(); +} +inline void CommentOnExpr::_internal_set_comment(const std::string& value) { + + _impl_.comment_.Set(value, GetArenaForAllocation()); +} +inline std::string* CommentOnExpr::_internal_mutable_comment() { + + return _impl_.comment_.Mutable(GetArenaForAllocation()); +} +inline std::string* CommentOnExpr::release_comment() { + // @@protoc_insertion_point(field_release:greptime.v1.CommentOnExpr.comment) + return _impl_.comment_.Release(); +} +inline void CommentOnExpr::set_allocated_comment(std::string* comment) { + if (comment != nullptr) { + + } else { + + } + _impl_.comment_.SetAllocated(comment, GetArenaForAllocation()); +#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.comment_.IsDefault()) { + _impl_.comment_.Set("", GetArenaForAllocation()); + } +#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:greptime.v1.CommentOnExpr.comment) +} + #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ @@ -18808,6 +19436,8 @@ inline void DropTriggerExpr::set_drop_if_exists(bool value) { // ------------------------------------------------------------------- +// ------------------------------------------------------------------- + // @@protoc_insertion_point(namespace_scope) @@ -18836,6 +19466,11 @@ template <> inline const EnumDescriptor* GetEnumDescriptor< ::greptime::v1::SkippingIndexType>() { return ::greptime::v1::SkippingIndexType_descriptor(); } +template <> struct is_proto_enum< ::greptime::v1::CommentObjectType> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::greptime::v1::CommentObjectType>() { + return ::greptime::v1::CommentObjectType_descriptor(); +} PROTOBUF_NAMESPACE_CLOSE diff --git a/c++/greptime/v1/meta/ddl.pb.cc b/c++/greptime/v1/meta/ddl.pb.cc index cdee3ef..718ba48 100644 --- a/c++/greptime/v1/meta/ddl.pb.cc +++ b/c++/greptime/v1/meta/ddl.pb.cc @@ -234,6 +234,19 @@ struct DropTriggerTaskDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DropTriggerTaskDefaultTypeInternal _DropTriggerTask_default_instance_; +PROTOBUF_CONSTEXPR CommentOnTask::CommentOnTask( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.comment_on_)*/nullptr + , /*decltype(_impl_._cached_size_)*/{}} {} +struct CommentOnTaskDefaultTypeInternal { + PROTOBUF_CONSTEXPR CommentOnTaskDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~CommentOnTaskDefaultTypeInternal() {} + union { + CommentOnTask _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CommentOnTaskDefaultTypeInternal _CommentOnTask_default_instance_; PROTOBUF_CONSTEXPR DdlTaskRequest::DdlTaskRequest( ::_pbi::ConstantInitialized): _impl_{ /*decltype(_impl_.header_)*/nullptr @@ -268,7 +281,7 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORIT } // namespace meta } // namespace v1 } // namespace greptime -static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fmeta_2fddl_2eproto[18]; +static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fmeta_2fddl_2eproto[19]; static const ::_pb::EnumDescriptor* file_level_enum_descriptors_greptime_2fv1_2fmeta_2fddl_2eproto[1]; static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_greptime_2fv1_2fmeta_2fddl_2eproto = nullptr; @@ -389,6 +402,13 @@ const uint32_t TableStruct_greptime_2fv1_2fmeta_2fddl_2eproto::offsets[] PROTOBU ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::DropTriggerTask, _impl_.drop_trigger_), ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::CommentOnTask, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::CommentOnTask, _impl_.comment_on_), + ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::DdlTaskRequest, _internal_metadata_), ~0u, // no _extensions_ PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::DdlTaskRequest, _impl_._oneof_case_[0]), @@ -412,6 +432,7 @@ const uint32_t TableStruct_greptime_2fv1_2fmeta_2fddl_2eproto::offsets[] PROTOBU ::_pbi::kInvalidFieldOffsetTag, ::_pbi::kInvalidFieldOffsetTag, ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::DdlTaskRequest, _impl_.task_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::DdlTaskResponse, _internal_metadata_), @@ -440,8 +461,9 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode { 94, -1, -1, sizeof(::greptime::v1::meta::AlterDatabaseTask)}, { 101, -1, -1, sizeof(::greptime::v1::meta::CreateTriggerTask)}, { 108, -1, -1, sizeof(::greptime::v1::meta::DropTriggerTask)}, - { 115, -1, -1, sizeof(::greptime::v1::meta::DdlTaskRequest)}, - { 140, -1, -1, sizeof(::greptime::v1::meta::DdlTaskResponse)}, + { 115, -1, -1, sizeof(::greptime::v1::meta::CommentOnTask)}, + { 122, -1, -1, sizeof(::greptime::v1::meta::DdlTaskRequest)}, + { 148, -1, -1, sizeof(::greptime::v1::meta::DdlTaskResponse)}, }; static const ::_pb::Message* const file_default_instances[] = { @@ -461,6 +483,7 @@ static const ::_pb::Message* const file_default_instances[] = { &::greptime::v1::meta::_AlterDatabaseTask_default_instance_._instance, &::greptime::v1::meta::_CreateTriggerTask_default_instance_._instance, &::greptime::v1::meta::_DropTriggerTask_default_instance_._instance, + &::greptime::v1::meta::_CommentOnTask_default_instance_._instance, &::greptime::v1::meta::_DdlTaskRequest_default_instance_._instance, &::greptime::v1::meta::_DdlTaskResponse_default_instance_._instance, }; @@ -500,42 +523,45 @@ const char descriptor_table_protodef_greptime_2fv1_2fmeta_2fddl_2eproto[] PROTOB "te_trigger\030\001 \001(\0132\036.greptime.v1.CreateTri" "ggerExpr\"E\n\017DropTriggerTask\0222\n\014drop_trig" "ger\030\001 \001(\0132\034.greptime.v1.DropTriggerExpr\"" - "\371\010\n\016DdlTaskRequest\022/\n\006header\030\001 \001(\0132\037.gre" - "ptime.v1.meta.RequestHeader\0220\n\rquery_con" - "text\030@ \001(\0132\031.greptime.v1.QueryContext\022>\n" - "\021create_table_task\030\002 \001(\0132!.greptime.v1.m" - "eta.CreateTableTaskH\000\022:\n\017drop_table_task" - "\030\003 \001(\0132\037.greptime.v1.meta.DropTableTaskH" - "\000\022<\n\020alter_table_task\030\004 \001(\0132 .greptime.v" - "1.meta.AlterTableTaskH\000\022B\n\023truncate_tabl" - "e_task\030\005 \001(\0132#.greptime.v1.meta.Truncate" - "TableTaskH\000\022@\n\022create_table_tasks\030\006 \001(\0132" - "\".greptime.v1.meta.CreateTableTasksH\000\022<\n" - "\020drop_table_tasks\030\007 \001(\0132 .greptime.v1.me" - "ta.DropTableTasksH\000\022>\n\021alter_table_tasks" - "\030\010 \001(\0132!.greptime.v1.meta.AlterTableTask" - "sH\000\022@\n\022drop_database_task\030\t \001(\0132\".grepti" - "me.v1.meta.DropDatabaseTaskH\000\022D\n\024create_" - "database_task\030\n \001(\0132$.greptime.v1.meta.C" - "reateDatabaseTaskH\000\022<\n\020create_flow_task\030" - "\013 \001(\0132 .greptime.v1.meta.CreateFlowTaskH" - "\000\0228\n\016drop_flow_task\030\014 \001(\0132\036.greptime.v1." - "meta.DropFlowTaskH\000\022<\n\020create_view_task\030" - "\r \001(\0132 .greptime.v1.meta.CreateViewTaskH" - "\000\0228\n\016drop_view_task\030\016 \001(\0132\036.greptime.v1." - "meta.DropViewTaskH\000\022B\n\023alter_database_ta" - "sk\030\017 \001(\0132#.greptime.v1.meta.AlterDatabas" - "eTaskH\000\022B\n\023create_trigger_task\030\020 \001(\0132#.g" - "reptime.v1.meta.CreateTriggerTaskH\000\022>\n\021d" - "rop_trigger_task\030\021 \001(\0132!.greptime.v1.met" - "a.DropTriggerTaskH\000B\006\n\004task\"\230\001\n\017DdlTaskR" - "esponse\0220\n\006header\030\001 \001(\0132 .greptime.v1.me" - "ta.ResponseHeader\022*\n\003pid\030\002 \001(\0132\035.greptim" - "e.v1.meta.ProcedureId\022\'\n\ttable_ids\030\005 \003(\013" - "2\024.greptime.v1.TableId*#\n\013DdlTaskType\022\n\n" - "\006Create\020\000\022\010\n\004Drop\020\001B\n\021create_table_t" + "ask\030\002 \001(\0132!.greptime.v1.meta.CreateTable" + "TaskH\000\022:\n\017drop_table_task\030\003 \001(\0132\037.grepti" + "me.v1.meta.DropTableTaskH\000\022<\n\020alter_tabl" + "e_task\030\004 \001(\0132 .greptime.v1.meta.AlterTab" + "leTaskH\000\022B\n\023truncate_table_task\030\005 \001(\0132#." + "greptime.v1.meta.TruncateTableTaskH\000\022@\n\022" + "create_table_tasks\030\006 \001(\0132\".greptime.v1.m" + "eta.CreateTableTasksH\000\022<\n\020drop_table_tas" + "ks\030\007 \001(\0132 .greptime.v1.meta.DropTableTas" + "ksH\000\022>\n\021alter_table_tasks\030\010 \001(\0132!.grepti" + "me.v1.meta.AlterTableTasksH\000\022@\n\022drop_dat" + "abase_task\030\t \001(\0132\".greptime.v1.meta.Drop" + "DatabaseTaskH\000\022D\n\024create_database_task\030\n" + " \001(\0132$.greptime.v1.meta.CreateDatabaseTa" + "skH\000\022<\n\020create_flow_task\030\013 \001(\0132 .greptim" + "e.v1.meta.CreateFlowTaskH\000\0228\n\016drop_flow_" + "task\030\014 \001(\0132\036.greptime.v1.meta.DropFlowTa" + "skH\000\022<\n\020create_view_task\030\r \001(\0132 .greptim" + "e.v1.meta.CreateViewTaskH\000\0228\n\016drop_view_" + "task\030\016 \001(\0132\036.greptime.v1.meta.DropViewTa" + "skH\000\022B\n\023alter_database_task\030\017 \001(\0132#.grep" + "time.v1.meta.AlterDatabaseTaskH\000\022B\n\023crea" + "te_trigger_task\030\020 \001(\0132#.greptime.v1.meta" + ".CreateTriggerTaskH\000\022>\n\021drop_trigger_tas" + "k\030\021 \001(\0132!.greptime.v1.meta.DropTriggerTa" + "skH\000\022:\n\017comment_on_task\030\022 \001(\0132\037.greptime" + ".v1.meta.CommentOnTaskH\000B\006\n\004task\"\230\001\n\017Ddl" + "TaskResponse\0220\n\006header\030\001 \001(\0132 .greptime." + "v1.meta.ResponseHeader\022*\n\003pid\030\002 \001(\0132\035.gr" + "eptime.v1.meta.ProcedureId\022\'\n\ttable_ids\030" + "\005 \003(\0132\024.greptime.v1.TableId*#\n\013DdlTaskTy" + "pe\022\n\n\006Create\020\000\022\010\n\004Drop\020\001B_impl_.comment_on_; +} +void CommentOnTask::clear_comment_on() { + if (GetArenaForAllocation() == nullptr && _impl_.comment_on_ != nullptr) { + delete _impl_.comment_on_; + } + _impl_.comment_on_ = nullptr; +} +CommentOnTask::CommentOnTask(::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.meta.CommentOnTask) +} +CommentOnTask::CommentOnTask(const CommentOnTask& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + CommentOnTask* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.comment_on_){nullptr} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_comment_on()) { + _this->_impl_.comment_on_ = new ::greptime::v1::CommentOnExpr(*from._impl_.comment_on_); + } + // @@protoc_insertion_point(copy_constructor:greptime.v1.meta.CommentOnTask) +} + +inline void CommentOnTask::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.comment_on_){nullptr} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +CommentOnTask::~CommentOnTask() { + // @@protoc_insertion_point(destructor:greptime.v1.meta.CommentOnTask) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void CommentOnTask::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.comment_on_; +} + +void CommentOnTask::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void CommentOnTask::Clear() { +// @@protoc_insertion_point(message_clear_start:greptime.v1.meta.CommentOnTask) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaForAllocation() == nullptr && _impl_.comment_on_ != nullptr) { + delete _impl_.comment_on_; + } + _impl_.comment_on_ = nullptr; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* CommentOnTask::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + uint32_t tag; + ptr = ::_pbi::ReadTag(ptr, &tag); + switch (tag >> 3) { + // .greptime.v1.CommentOnExpr comment_on = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_comment_on(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; + default: + goto handle_unusual; + } // switch + handle_unusual: + if ((tag == 0) || ((tag & 7) == 4)) { + CHK_(ptr); + ctx->SetLastTag(tag); + goto message_done; + } + ptr = UnknownFieldParse( + tag, + _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(), + ptr, ctx); + CHK_(ptr != nullptr); + } // while +message_done: + return ptr; +failure: + ptr = nullptr; + goto message_done; +#undef CHK_ +} + +uint8_t* CommentOnTask::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:greptime.v1.meta.CommentOnTask) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // .greptime.v1.CommentOnExpr comment_on = 1; + if (this->_internal_has_comment_on()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(1, _Internal::comment_on(this), + _Internal::comment_on(this).GetCachedSize(), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:greptime.v1.meta.CommentOnTask) + return target; +} + +size_t CommentOnTask::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:greptime.v1.meta.CommentOnTask) + size_t total_size = 0; + + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .greptime.v1.CommentOnExpr comment_on = 1; + if (this->_internal_has_comment_on()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.comment_on_); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CommentOnTask::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + CommentOnTask::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CommentOnTask::GetClassData() const { return &_class_data_; } + + +void CommentOnTask::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.meta.CommentOnTask) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_has_comment_on()) { + _this->_internal_mutable_comment_on()->::greptime::v1::CommentOnExpr::MergeFrom( + from._internal_comment_on()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void CommentOnTask::CopyFrom(const CommentOnTask& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.meta.CommentOnTask) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CommentOnTask::IsInitialized() const { + return true; +} + +void CommentOnTask::InternalSwap(CommentOnTask* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.comment_on_, other->_impl_.comment_on_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CommentOnTask::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_getter, &descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_once, + file_level_metadata_greptime_2fv1_2fmeta_2fddl_2eproto[16]); +} + +// =================================================================== + class DdlTaskRequest::_Internal { public: static const ::greptime::v1::meta::RequestHeader& header(const DdlTaskRequest* msg); @@ -3871,6 +4096,7 @@ class DdlTaskRequest::_Internal { static const ::greptime::v1::meta::AlterDatabaseTask& alter_database_task(const DdlTaskRequest* msg); static const ::greptime::v1::meta::CreateTriggerTask& create_trigger_task(const DdlTaskRequest* msg); static const ::greptime::v1::meta::DropTriggerTask& drop_trigger_task(const DdlTaskRequest* msg); + static const ::greptime::v1::meta::CommentOnTask& comment_on_task(const DdlTaskRequest* msg); }; const ::greptime::v1::meta::RequestHeader& @@ -3945,6 +4171,10 @@ const ::greptime::v1::meta::DropTriggerTask& DdlTaskRequest::_Internal::drop_trigger_task(const DdlTaskRequest* msg) { return *msg->_impl_.task_.drop_trigger_task_; } +const ::greptime::v1::meta::CommentOnTask& +DdlTaskRequest::_Internal::comment_on_task(const DdlTaskRequest* msg) { + return *msg->_impl_.task_.comment_on_task_; +} void DdlTaskRequest::clear_header() { if (GetArenaForAllocation() == nullptr && _impl_.header_ != nullptr) { delete _impl_.header_; @@ -4197,6 +4427,21 @@ void DdlTaskRequest::set_allocated_drop_trigger_task(::greptime::v1::meta::DropT } // @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.DdlTaskRequest.drop_trigger_task) } +void DdlTaskRequest::set_allocated_comment_on_task(::greptime::v1::meta::CommentOnTask* comment_on_task) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + clear_task(); + if (comment_on_task) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(comment_on_task); + if (message_arena != submessage_arena) { + comment_on_task = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, comment_on_task, submessage_arena); + } + set_has_comment_on_task(); + _impl_.task_.comment_on_task_ = comment_on_task; + } + // @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.DdlTaskRequest.comment_on_task) +} DdlTaskRequest::DdlTaskRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -4302,6 +4547,11 @@ DdlTaskRequest::DdlTaskRequest(const DdlTaskRequest& from) from._internal_drop_trigger_task()); break; } + case kCommentOnTask: { + _this->_internal_mutable_comment_on_task()->::greptime::v1::meta::CommentOnTask::MergeFrom( + from._internal_comment_on_task()); + break; + } case TASK_NOT_SET: { break; } @@ -4444,6 +4694,12 @@ void DdlTaskRequest::clear_task() { } break; } + case kCommentOnTask: { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.task_.comment_on_task_; + } + break; + } case TASK_NOT_SET: { break; } @@ -4612,6 +4868,14 @@ const char* DdlTaskRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext } else goto handle_unusual; continue; + // .greptime.v1.meta.CommentOnTask comment_on_task = 18; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 146)) { + ptr = ctx->ParseMessage(_internal_mutable_comment_on_task(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; // .greptime.v1.QueryContext query_context = 64; case 64: if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 2)) { @@ -4768,6 +5032,13 @@ uint8_t* DdlTaskRequest::_InternalSerialize( _Internal::drop_trigger_task(this).GetCachedSize(), target, stream); } + // .greptime.v1.meta.CommentOnTask comment_on_task = 18; + if (_internal_has_comment_on_task()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(18, _Internal::comment_on_task(this), + _Internal::comment_on_task(this).GetCachedSize(), target, stream); + } + // .greptime.v1.QueryContext query_context = 64; if (this->_internal_has_query_context()) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: @@ -4918,6 +5189,13 @@ size_t DdlTaskRequest::ByteSizeLong() const { *_impl_.task_.drop_trigger_task_); break; } + // .greptime.v1.meta.CommentOnTask comment_on_task = 18; + case kCommentOnTask: { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.task_.comment_on_task_); + break; + } case TASK_NOT_SET: { break; } @@ -5029,6 +5307,11 @@ void DdlTaskRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const : from._internal_drop_trigger_task()); break; } + case kCommentOnTask: { + _this->_internal_mutable_comment_on_task()->::greptime::v1::meta::CommentOnTask::MergeFrom( + from._internal_comment_on_task()); + break; + } case TASK_NOT_SET: { break; } @@ -5063,7 +5346,7 @@ void DdlTaskRequest::InternalSwap(DdlTaskRequest* other) { ::PROTOBUF_NAMESPACE_ID::Metadata DdlTaskRequest::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_getter, &descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_once, - file_level_metadata_greptime_2fv1_2fmeta_2fddl_2eproto[16]); + file_level_metadata_greptime_2fv1_2fmeta_2fddl_2eproto[17]); } // =================================================================== @@ -5351,7 +5634,7 @@ void DdlTaskResponse::InternalSwap(DdlTaskResponse* other) { ::PROTOBUF_NAMESPACE_ID::Metadata DdlTaskResponse::GetMetadata() const { return ::_pbi::AssignDescriptors( &descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_getter, &descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_once, - file_level_metadata_greptime_2fv1_2fmeta_2fddl_2eproto[17]); + file_level_metadata_greptime_2fv1_2fmeta_2fddl_2eproto[18]); } // @@protoc_insertion_point(namespace_scope) @@ -5423,6 +5706,10 @@ template<> PROTOBUF_NOINLINE ::greptime::v1::meta::DropTriggerTask* Arena::CreateMaybeMessage< ::greptime::v1::meta::DropTriggerTask >(Arena* arena) { return Arena::CreateMessageInternal< ::greptime::v1::meta::DropTriggerTask >(arena); } +template<> PROTOBUF_NOINLINE ::greptime::v1::meta::CommentOnTask* +Arena::CreateMaybeMessage< ::greptime::v1::meta::CommentOnTask >(Arena* arena) { + return Arena::CreateMessageInternal< ::greptime::v1::meta::CommentOnTask >(arena); +} template<> PROTOBUF_NOINLINE ::greptime::v1::meta::DdlTaskRequest* Arena::CreateMaybeMessage< ::greptime::v1::meta::DdlTaskRequest >(Arena* arena) { return Arena::CreateMessageInternal< ::greptime::v1::meta::DdlTaskRequest >(arena); diff --git a/c++/greptime/v1/meta/ddl.pb.h b/c++/greptime/v1/meta/ddl.pb.h index c6461e8..d8fa49a 100644 --- a/c++/greptime/v1/meta/ddl.pb.h +++ b/c++/greptime/v1/meta/ddl.pb.h @@ -61,6 +61,9 @@ extern AlterTableTaskDefaultTypeInternal _AlterTableTask_default_instance_; class AlterTableTasks; struct AlterTableTasksDefaultTypeInternal; extern AlterTableTasksDefaultTypeInternal _AlterTableTasks_default_instance_; +class CommentOnTask; +struct CommentOnTaskDefaultTypeInternal; +extern CommentOnTaskDefaultTypeInternal _CommentOnTask_default_instance_; class CreateDatabaseTask; struct CreateDatabaseTaskDefaultTypeInternal; extern CreateDatabaseTaskDefaultTypeInternal _CreateDatabaseTask_default_instance_; @@ -113,6 +116,7 @@ PROTOBUF_NAMESPACE_OPEN template<> ::greptime::v1::meta::AlterDatabaseTask* Arena::CreateMaybeMessage<::greptime::v1::meta::AlterDatabaseTask>(Arena*); template<> ::greptime::v1::meta::AlterTableTask* Arena::CreateMaybeMessage<::greptime::v1::meta::AlterTableTask>(Arena*); template<> ::greptime::v1::meta::AlterTableTasks* Arena::CreateMaybeMessage<::greptime::v1::meta::AlterTableTasks>(Arena*); +template<> ::greptime::v1::meta::CommentOnTask* Arena::CreateMaybeMessage<::greptime::v1::meta::CommentOnTask>(Arena*); template<> ::greptime::v1::meta::CreateDatabaseTask* Arena::CreateMaybeMessage<::greptime::v1::meta::CreateDatabaseTask>(Arena*); template<> ::greptime::v1::meta::CreateFlowTask* Arena::CreateMaybeMessage<::greptime::v1::meta::CreateFlowTask>(Arena*); template<> ::greptime::v1::meta::CreateTableTask* Arena::CreateMaybeMessage<::greptime::v1::meta::CreateTableTask>(Arena*); @@ -2724,6 +2728,163 @@ class DropTriggerTask final : }; // ------------------------------------------------------------------- +class CommentOnTask final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.meta.CommentOnTask) */ { + public: + inline CommentOnTask() : CommentOnTask(nullptr) {} + ~CommentOnTask() override; + explicit PROTOBUF_CONSTEXPR CommentOnTask(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + CommentOnTask(const CommentOnTask& from); + CommentOnTask(CommentOnTask&& from) noexcept + : CommentOnTask() { + *this = ::std::move(from); + } + + inline CommentOnTask& operator=(const CommentOnTask& from) { + CopyFrom(from); + return *this; + } + inline CommentOnTask& operator=(CommentOnTask&& 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 CommentOnTask& default_instance() { + return *internal_default_instance(); + } + static inline const CommentOnTask* internal_default_instance() { + return reinterpret_cast( + &_CommentOnTask_default_instance_); + } + static constexpr int kIndexInFileMessages = + 16; + + friend void swap(CommentOnTask& a, CommentOnTask& b) { + a.Swap(&b); + } + inline void Swap(CommentOnTask* 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(CommentOnTask* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + CommentOnTask* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const CommentOnTask& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const CommentOnTask& from) { + CommentOnTask::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(CommentOnTask* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "greptime.v1.meta.CommentOnTask"; + } + protected: + explicit CommentOnTask(::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 { + kCommentOnFieldNumber = 1, + }; + // .greptime.v1.CommentOnExpr comment_on = 1; + bool has_comment_on() const; + private: + bool _internal_has_comment_on() const; + public: + void clear_comment_on(); + const ::greptime::v1::CommentOnExpr& comment_on() const; + PROTOBUF_NODISCARD ::greptime::v1::CommentOnExpr* release_comment_on(); + ::greptime::v1::CommentOnExpr* mutable_comment_on(); + void set_allocated_comment_on(::greptime::v1::CommentOnExpr* comment_on); + private: + const ::greptime::v1::CommentOnExpr& _internal_comment_on() const; + ::greptime::v1::CommentOnExpr* _internal_mutable_comment_on(); + public: + void unsafe_arena_set_allocated_comment_on( + ::greptime::v1::CommentOnExpr* comment_on); + ::greptime::v1::CommentOnExpr* unsafe_arena_release_comment_on(); + + // @@protoc_insertion_point(class_scope:greptime.v1.meta.CommentOnTask) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + ::greptime::v1::CommentOnExpr* comment_on_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_greptime_2fv1_2fmeta_2fddl_2eproto; +}; +// ------------------------------------------------------------------- + class DdlTaskRequest final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.meta.DdlTaskRequest) */ { public: @@ -2784,6 +2945,7 @@ class DdlTaskRequest final : kAlterDatabaseTask = 15, kCreateTriggerTask = 16, kDropTriggerTask = 17, + kCommentOnTask = 18, TASK_NOT_SET = 0, }; @@ -2792,7 +2954,7 @@ class DdlTaskRequest final : &_DdlTaskRequest_default_instance_); } static constexpr int kIndexInFileMessages = - 16; + 17; friend void swap(DdlTaskRequest& a, DdlTaskRequest& b) { a.Swap(&b); @@ -2883,6 +3045,7 @@ class DdlTaskRequest final : kAlterDatabaseTaskFieldNumber = 15, kCreateTriggerTaskFieldNumber = 16, kDropTriggerTaskFieldNumber = 17, + kCommentOnTaskFieldNumber = 18, }; // .greptime.v1.meta.RequestHeader header = 1; bool has_header() const; @@ -3208,6 +3371,24 @@ class DdlTaskRequest final : ::greptime::v1::meta::DropTriggerTask* drop_trigger_task); ::greptime::v1::meta::DropTriggerTask* unsafe_arena_release_drop_trigger_task(); + // .greptime.v1.meta.CommentOnTask comment_on_task = 18; + bool has_comment_on_task() const; + private: + bool _internal_has_comment_on_task() const; + public: + void clear_comment_on_task(); + const ::greptime::v1::meta::CommentOnTask& comment_on_task() const; + PROTOBUF_NODISCARD ::greptime::v1::meta::CommentOnTask* release_comment_on_task(); + ::greptime::v1::meta::CommentOnTask* mutable_comment_on_task(); + void set_allocated_comment_on_task(::greptime::v1::meta::CommentOnTask* comment_on_task); + private: + const ::greptime::v1::meta::CommentOnTask& _internal_comment_on_task() const; + ::greptime::v1::meta::CommentOnTask* _internal_mutable_comment_on_task(); + public: + void unsafe_arena_set_allocated_comment_on_task( + ::greptime::v1::meta::CommentOnTask* comment_on_task); + ::greptime::v1::meta::CommentOnTask* unsafe_arena_release_comment_on_task(); + void clear_task(); TaskCase task_case() const; // @@protoc_insertion_point(class_scope:greptime.v1.meta.DdlTaskRequest) @@ -3229,6 +3410,7 @@ class DdlTaskRequest final : void set_has_alter_database_task(); void set_has_create_trigger_task(); void set_has_drop_trigger_task(); + void set_has_comment_on_task(); inline bool has_task() const; inline void clear_has_task(); @@ -3258,6 +3440,7 @@ class DdlTaskRequest final : ::greptime::v1::meta::AlterDatabaseTask* alter_database_task_; ::greptime::v1::meta::CreateTriggerTask* create_trigger_task_; ::greptime::v1::meta::DropTriggerTask* drop_trigger_task_; + ::greptime::v1::meta::CommentOnTask* comment_on_task_; } task_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; uint32_t _oneof_case_[1]; @@ -3316,7 +3499,7 @@ class DdlTaskResponse final : &_DdlTaskResponse_default_instance_); } static constexpr int kIndexInFileMessages = - 17; + 18; friend void swap(DdlTaskResponse& a, DdlTaskResponse& b) { a.Swap(&b); @@ -4898,6 +5081,95 @@ inline void DropTriggerTask::set_allocated_drop_trigger(::greptime::v1::DropTrig // ------------------------------------------------------------------- +// CommentOnTask + +// .greptime.v1.CommentOnExpr comment_on = 1; +inline bool CommentOnTask::_internal_has_comment_on() const { + return this != internal_default_instance() && _impl_.comment_on_ != nullptr; +} +inline bool CommentOnTask::has_comment_on() const { + return _internal_has_comment_on(); +} +inline const ::greptime::v1::CommentOnExpr& CommentOnTask::_internal_comment_on() const { + const ::greptime::v1::CommentOnExpr* p = _impl_.comment_on_; + return p != nullptr ? *p : reinterpret_cast( + ::greptime::v1::_CommentOnExpr_default_instance_); +} +inline const ::greptime::v1::CommentOnExpr& CommentOnTask::comment_on() const { + // @@protoc_insertion_point(field_get:greptime.v1.meta.CommentOnTask.comment_on) + return _internal_comment_on(); +} +inline void CommentOnTask::unsafe_arena_set_allocated_comment_on( + ::greptime::v1::CommentOnExpr* comment_on) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.comment_on_); + } + _impl_.comment_on_ = comment_on; + if (comment_on) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.meta.CommentOnTask.comment_on) +} +inline ::greptime::v1::CommentOnExpr* CommentOnTask::release_comment_on() { + + ::greptime::v1::CommentOnExpr* temp = _impl_.comment_on_; + _impl_.comment_on_ = nullptr; +#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE + auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + if (GetArenaForAllocation() == nullptr) { delete old; } +#else // PROTOBUF_FORCE_COPY_IN_RELEASE + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } +#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE + return temp; +} +inline ::greptime::v1::CommentOnExpr* CommentOnTask::unsafe_arena_release_comment_on() { + // @@protoc_insertion_point(field_release:greptime.v1.meta.CommentOnTask.comment_on) + + ::greptime::v1::CommentOnExpr* temp = _impl_.comment_on_; + _impl_.comment_on_ = nullptr; + return temp; +} +inline ::greptime::v1::CommentOnExpr* CommentOnTask::_internal_mutable_comment_on() { + + if (_impl_.comment_on_ == nullptr) { + auto* p = CreateMaybeMessage<::greptime::v1::CommentOnExpr>(GetArenaForAllocation()); + _impl_.comment_on_ = p; + } + return _impl_.comment_on_; +} +inline ::greptime::v1::CommentOnExpr* CommentOnTask::mutable_comment_on() { + ::greptime::v1::CommentOnExpr* _msg = _internal_mutable_comment_on(); + // @@protoc_insertion_point(field_mutable:greptime.v1.meta.CommentOnTask.comment_on) + return _msg; +} +inline void CommentOnTask::set_allocated_comment_on(::greptime::v1::CommentOnExpr* comment_on) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.comment_on_); + } + if (comment_on) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(comment_on)); + if (message_arena != submessage_arena) { + comment_on = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, comment_on, submessage_arena); + } + + } else { + + } + _impl_.comment_on_ = comment_on; + // @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.CommentOnTask.comment_on) +} + +// ------------------------------------------------------------------- + // DdlTaskRequest // .greptime.v1.meta.RequestHeader header = 1; @@ -6254,6 +6526,80 @@ inline ::greptime::v1::meta::DropTriggerTask* DdlTaskRequest::mutable_drop_trigg return _msg; } +// .greptime.v1.meta.CommentOnTask comment_on_task = 18; +inline bool DdlTaskRequest::_internal_has_comment_on_task() const { + return task_case() == kCommentOnTask; +} +inline bool DdlTaskRequest::has_comment_on_task() const { + return _internal_has_comment_on_task(); +} +inline void DdlTaskRequest::set_has_comment_on_task() { + _impl_._oneof_case_[0] = kCommentOnTask; +} +inline void DdlTaskRequest::clear_comment_on_task() { + if (_internal_has_comment_on_task()) { + if (GetArenaForAllocation() == nullptr) { + delete _impl_.task_.comment_on_task_; + } + clear_has_task(); + } +} +inline ::greptime::v1::meta::CommentOnTask* DdlTaskRequest::release_comment_on_task() { + // @@protoc_insertion_point(field_release:greptime.v1.meta.DdlTaskRequest.comment_on_task) + if (_internal_has_comment_on_task()) { + clear_has_task(); + ::greptime::v1::meta::CommentOnTask* temp = _impl_.task_.comment_on_task_; + if (GetArenaForAllocation() != nullptr) { + temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); + } + _impl_.task_.comment_on_task_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::greptime::v1::meta::CommentOnTask& DdlTaskRequest::_internal_comment_on_task() const { + return _internal_has_comment_on_task() + ? *_impl_.task_.comment_on_task_ + : reinterpret_cast< ::greptime::v1::meta::CommentOnTask&>(::greptime::v1::meta::_CommentOnTask_default_instance_); +} +inline const ::greptime::v1::meta::CommentOnTask& DdlTaskRequest::comment_on_task() const { + // @@protoc_insertion_point(field_get:greptime.v1.meta.DdlTaskRequest.comment_on_task) + return _internal_comment_on_task(); +} +inline ::greptime::v1::meta::CommentOnTask* DdlTaskRequest::unsafe_arena_release_comment_on_task() { + // @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.meta.DdlTaskRequest.comment_on_task) + if (_internal_has_comment_on_task()) { + clear_has_task(); + ::greptime::v1::meta::CommentOnTask* temp = _impl_.task_.comment_on_task_; + _impl_.task_.comment_on_task_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void DdlTaskRequest::unsafe_arena_set_allocated_comment_on_task(::greptime::v1::meta::CommentOnTask* comment_on_task) { + clear_task(); + if (comment_on_task) { + set_has_comment_on_task(); + _impl_.task_.comment_on_task_ = comment_on_task; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.meta.DdlTaskRequest.comment_on_task) +} +inline ::greptime::v1::meta::CommentOnTask* DdlTaskRequest::_internal_mutable_comment_on_task() { + if (!_internal_has_comment_on_task()) { + clear_task(); + set_has_comment_on_task(); + _impl_.task_.comment_on_task_ = CreateMaybeMessage< ::greptime::v1::meta::CommentOnTask >(GetArenaForAllocation()); + } + return _impl_.task_.comment_on_task_; +} +inline ::greptime::v1::meta::CommentOnTask* DdlTaskRequest::mutable_comment_on_task() { + ::greptime::v1::meta::CommentOnTask* _msg = _internal_mutable_comment_on_task(); + // @@protoc_insertion_point(field_mutable:greptime.v1.meta.DdlTaskRequest.comment_on_task) + return _msg; +} + inline bool DdlTaskRequest::has_task() const { return task_case() != TASK_NOT_SET; } @@ -6511,6 +6857,8 @@ DdlTaskResponse::table_ids() const { // ------------------------------------------------------------------- +// ------------------------------------------------------------------- + // @@protoc_insertion_point(namespace_scope) diff --git a/go/greptime/v1/ddl.pb.go b/go/greptime/v1/ddl.pb.go index de305e8..2dc97e4 100644 --- a/go/greptime/v1/ddl.pb.go +++ b/go/greptime/v1/ddl.pb.go @@ -170,6 +170,56 @@ func (SkippingIndexType) EnumDescriptor() ([]byte, []int) { return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{2} } +// The type of object to comment on +type CommentObjectType int32 + +const ( + CommentObjectType_TABLE CommentObjectType = 0 + CommentObjectType_COLUMN CommentObjectType = 1 + CommentObjectType_FLOW CommentObjectType = 2 +) + +// Enum value maps for CommentObjectType. +var ( + CommentObjectType_name = map[int32]string{ + 0: "TABLE", + 1: "COLUMN", + 2: "FLOW", + } + CommentObjectType_value = map[string]int32{ + "TABLE": 0, + "COLUMN": 1, + "FLOW": 2, + } +) + +func (x CommentObjectType) Enum() *CommentObjectType { + p := new(CommentObjectType) + *p = x + return p +} + +func (x CommentObjectType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (CommentObjectType) Descriptor() protoreflect.EnumDescriptor { + return file_greptime_v1_ddl_proto_enumTypes[3].Descriptor() +} + +func (CommentObjectType) Type() protoreflect.EnumType { + return &file_greptime_v1_ddl_proto_enumTypes[3] +} + +func (x CommentObjectType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use CommentObjectType.Descriptor instead. +func (CommentObjectType) EnumDescriptor() ([]byte, []int) { + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{3} +} + type AddColumnLocation_LocationType int32 const ( @@ -200,11 +250,11 @@ func (x AddColumnLocation_LocationType) String() string { } func (AddColumnLocation_LocationType) Descriptor() protoreflect.EnumDescriptor { - return file_greptime_v1_ddl_proto_enumTypes[3].Descriptor() + return file_greptime_v1_ddl_proto_enumTypes[4].Descriptor() } func (AddColumnLocation_LocationType) Type() protoreflect.EnumType { - return &file_greptime_v1_ddl_proto_enumTypes[3] + return &file_greptime_v1_ddl_proto_enumTypes[4] } func (x AddColumnLocation_LocationType) Number() protoreflect.EnumNumber { @@ -237,6 +287,7 @@ type DdlRequest struct { // *DdlRequest_CreateView // *DdlRequest_DropView // *DdlRequest_AlterDatabase + // *DdlRequest_CommentOn Expr isDdlRequest_Expr `protobuf_oneof:"expr"` } @@ -349,6 +400,13 @@ func (x *DdlRequest) GetAlterDatabase() *AlterDatabaseExpr { return nil } +func (x *DdlRequest) GetCommentOn() *CommentOnExpr { + if x, ok := x.GetExpr().(*DdlRequest_CommentOn); ok { + return x.CommentOn + } + return nil +} + type isDdlRequest_Expr interface { isDdlRequest_Expr() } @@ -393,6 +451,10 @@ type DdlRequest_AlterDatabase struct { AlterDatabase *AlterDatabaseExpr `protobuf:"bytes,12,opt,name=alter_database,json=alterDatabase,proto3,oneof"` } +type DdlRequest_CommentOn struct { + CommentOn *CommentOnExpr `protobuf:"bytes,13,opt,name=comment_on,json=commentOn,proto3,oneof"` +} + func (*DdlRequest_CreateDatabase) isDdlRequest_Expr() {} func (*DdlRequest_CreateTable) isDdlRequest_Expr() {} @@ -413,6 +475,8 @@ func (*DdlRequest_DropView) isDdlRequest_Expr() {} func (*DdlRequest_AlterDatabase) isDdlRequest_Expr() {} +func (*DdlRequest_CommentOn) isDdlRequest_Expr() {} + // Create a flow to run the SQL when new data arrives. type CreateFlowExpr struct { state protoimpl.MessageState @@ -3631,6 +3695,96 @@ func (x *DropTriggerExpr) GetDropIfExists() bool { return false } +// Comment on a table, column, or flow +type CommentOnExpr struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CatalogName string `protobuf:"bytes,1,opt,name=catalog_name,json=catalogName,proto3" json:"catalog_name,omitempty"` + SchemaName string `protobuf:"bytes,2,opt,name=schema_name,json=schemaName,proto3" json:"schema_name,omitempty"` + ObjectType CommentObjectType `protobuf:"varint,3,opt,name=object_type,json=objectType,proto3,enum=greptime.v1.CommentObjectType" json:"object_type,omitempty"` + ObjectName string `protobuf:"bytes,4,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"` + // Column name (only for Column comments) + ColumnName string `protobuf:"bytes,5,opt,name=column_name,json=columnName,proto3" json:"column_name,omitempty"` + // The comment text (null to remove comment) + Comment string `protobuf:"bytes,6,opt,name=comment,proto3" json:"comment,omitempty"` +} + +func (x *CommentOnExpr) Reset() { + *x = CommentOnExpr{} + if protoimpl.UnsafeEnabled { + mi := &file_greptime_v1_ddl_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CommentOnExpr) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CommentOnExpr) ProtoMessage() {} + +func (x *CommentOnExpr) ProtoReflect() protoreflect.Message { + mi := &file_greptime_v1_ddl_proto_msgTypes[46] + 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 CommentOnExpr.ProtoReflect.Descriptor instead. +func (*CommentOnExpr) Descriptor() ([]byte, []int) { + return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{46} +} + +func (x *CommentOnExpr) GetCatalogName() string { + if x != nil { + return x.CatalogName + } + return "" +} + +func (x *CommentOnExpr) GetSchemaName() string { + if x != nil { + return x.SchemaName + } + return "" +} + +func (x *CommentOnExpr) GetObjectType() CommentObjectType { + if x != nil { + return x.ObjectType + } + return CommentObjectType_TABLE +} + +func (x *CommentOnExpr) GetObjectName() string { + if x != nil { + return x.ObjectName + } + return "" +} + +func (x *CommentOnExpr) GetColumnName() string { + if x != nil { + return x.ColumnName + } + return "" +} + +func (x *CommentOnExpr) GetComment() string { + if x != nil { + return x.Comment + } + return "" +} + var File_greptime_v1_ddl_proto protoreflect.FileDescriptor var file_greptime_v1_ddl_proto_rawDesc = []byte{ @@ -3639,7 +3793,7 @@ var file_greptime_v1_ddl_proto_rawDesc = []byte{ 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, - 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa6, + 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe3, 0x05, 0x0a, 0x0a, 0x44, 0x64, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, @@ -3681,528 +3835,547 @@ var file_greptime_v1_ddl_proto_rawDesc = []byte{ 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x45, 0x78, 0x70, 0x72, 0x48, 0x00, - 0x52, 0x0d, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x42, - 0x06, 0x0a, 0x04, 0x65, 0x78, 0x70, 0x72, 0x22, 0xe0, 0x04, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 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, 0x1b, 0x0a, - 0x09, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x66, 0x6c, 0x6f, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x44, 0x0a, 0x12, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, - 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x10, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, - 0x12, 0x3e, 0x0a, 0x0f, 0x73, 0x69, 0x6e, 0x6b, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, 0x65, 0x70, - 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, - 0x65, 0x52, 0x0d, 0x73, 0x69, 0x6e, 0x6b, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, - 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x72, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x6f, 0x72, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 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, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x66, 0x4e, 0x6f, 0x74, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, - 0x12, 0x3b, 0x0a, 0x0c, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, - 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x41, 0x66, 0x74, 0x65, 0x72, - 0x52, 0x0b, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x41, 0x66, 0x74, 0x65, 0x72, 0x12, 0x3e, 0x0a, - 0x0d, 0x65, 0x76, 0x61, 0x6c, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x0b, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x45, 0x76, 0x61, 0x6c, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x52, - 0x0c, 0x65, 0x76, 0x61, 0x6c, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x18, 0x0a, - 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, - 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x71, 0x6c, 0x18, 0x09, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x71, 0x6c, 0x12, 0x4f, 0x0a, 0x0c, 0x66, 0x6c, 0x6f, - 0x77, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0a, 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, 0x46, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x70, 0x72, 0x2e, 0x46, 0x6c, 0x6f, - 0x77, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x66, - 0x6c, 0x6f, 0x77, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x3e, 0x0a, 0x10, 0x46, 0x6c, - 0x6f, 0x77, 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, 0xa2, 0x01, 0x0a, 0x0c, 0x44, - 0x72, 0x6f, 0x70, 0x46, 0x6c, 0x6f, 0x77, 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, 0x1b, - 0x0a, 0x09, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x66, 0x6c, 0x6f, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x07, 0x66, - 0x6c, 0x6f, 0x77, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, - 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x49, - 0x64, 0x52, 0x06, 0x66, 0x6c, 0x6f, 0x77, 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, - 0xfa, 0x02, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69, 0x65, 0x77, 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, 0x1b, 0x0a, 0x09, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x69, 0x65, 0x77, 0x4e, - 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x70, - 0x6c, 0x61, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x6c, 0x6f, 0x67, 0x69, 0x63, - 0x61, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 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, 0x05, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x66, 0x4e, 0x6f, - 0x74, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x72, 0x5f, 0x72, 0x65, - 0x70, 0x6c, 0x61, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x6f, 0x72, 0x52, - 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x12, 0x37, 0x0a, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, - 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, - 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4e, - 0x61, 0x6d, 0x65, 0x52, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, - 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, - 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x6c, 0x61, - 0x6e, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, - 0x0b, 0x70, 0x6c, 0x61, 0x6e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x1e, 0x0a, 0x0a, - 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0a, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xc4, 0x01, 0x0a, - 0x0c, 0x44, 0x72, 0x6f, 0x70, 0x56, 0x69, 0x65, 0x77, 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, 0x1b, 0x0a, 0x09, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x69, 0x65, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2d, - 0x0a, 0x07, 0x76, 0x69, 0x65, 0x77, 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, 0x06, 0x76, 0x69, 0x65, 0x77, 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, 0x93, 0x04, 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, - 0x62, 0x6c, 0x65, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, + 0x52, 0x0d, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, + 0x3b, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6f, 0x6e, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x6e, 0x45, 0x78, 0x70, 0x72, 0x48, + 0x00, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x6e, 0x42, 0x06, 0x0a, 0x04, + 0x65, 0x78, 0x70, 0x72, 0x22, 0xe0, 0x04, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, + 0x6c, 0x6f, 0x77, 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, 0x12, 0x0a, 0x04, 0x64, 0x65, - 0x73, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x65, 0x73, 0x63, 0x12, 0x37, - 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x73, 0x18, 0x05, 0x20, + 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x6c, + 0x6f, 0x77, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, + 0x6c, 0x6f, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x44, 0x0a, 0x12, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 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, 0x0a, 0x63, 0x6f, 0x6c, - 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, - 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x69, 0x6d, - 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, - 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x72, - 0x69, 0x6d, 0x61, 0x72, 0x79, 0x4b, 0x65, 0x79, 0x73, 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, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, - 0x66, 0x4e, 0x6f, 0x74, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x53, 0x0a, 0x0d, 0x74, 0x61, - 0x62, 0x6c, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x78, 0x70, 0x72, 0x2e, - 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x52, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, - 0x2f, 0x0a, 0x08, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0a, 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, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x1a, 0x3f, 0x0a, 0x11, 0x54, 0x61, 0x62, 0x6c, - 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, - 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, - 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x96, 0x07, 0x0a, 0x0e, 0x41, 0x6c, - 0x74, 0x65, 0x72, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, 0x0c, - 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x1f, 0x0a, 0x0b, 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, - 0x3a, 0x0a, 0x0b, 0x61, 0x64, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x48, 0x00, 0x52, - 0x0a, 0x61, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x64, - 0x72, 0x6f, 0x70, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x0b, 0x64, - 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x72, 0x65, - 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x18, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, - 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x0b, 0x72, 0x65, - 0x6e, 0x61, 0x6d, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x50, 0x0a, 0x13, 0x6d, 0x6f, 0x64, - 0x69, 0x66, 0x79, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, - 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 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, 0x73, 0x48, 0x00, 0x52, 0x11, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, - 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x11, 0x73, - 0x65, 0x74, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x0f, 0x73, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, - 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x75, 0x6e, 0x73, 0x65, 0x74, - 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0b, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x11, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x54, 0x61, 0x62, - 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x34, 0x0a, 0x09, 0x73, 0x65, 0x74, - 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, - 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x49, 0x6e, - 0x64, 0x65, 0x78, 0x48, 0x00, 0x52, 0x08, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, - 0x3a, 0x0a, 0x0b, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0d, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x48, 0x00, 0x52, - 0x0a, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x40, 0x0a, 0x0d, 0x64, - 0x72, 0x6f, 0x70, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x0e, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x48, 0x00, 0x52, - 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x3a, 0x0a, - 0x0b, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x0f, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x48, 0x00, 0x52, 0x0a, 0x73, - 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x40, 0x0a, 0x0d, 0x75, 0x6e, 0x73, - 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, - 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x48, 0x00, 0x52, 0x0c, 0x75, - 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x73, - 0x65, 0x74, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x11, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x48, 0x00, 0x52, 0x0b, 0x73, - 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, - 0x6e, 0x64, 0x22, 0x2e, 0x0a, 0x0b, 0x44, 0x72, 0x6f, 0x70, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, - 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, - 0x6d, 0x65, 0x22, 0x44, 0x0a, 0x0a, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, - 0x12, 0x36, 0x0a, 0x0b, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0a, 0x73, 0x65, - 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x22, 0x4c, 0x0a, 0x0c, 0x55, 0x6e, 0x73, 0x65, - 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x0d, 0x75, 0x6e, 0x73, 0x65, - 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, - 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0c, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x49, - 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x22, 0x5c, 0x0a, 0x0a, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, - 0x61, 0x75, 0x6c, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, - 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, - 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x11, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, - 0x61, 0x69, 0x6e, 0x74, 0x22, 0xbd, 0x01, 0x0a, 0x08, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, - 0x78, 0x12, 0x36, 0x0a, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, + 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x10, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x3e, 0x0a, + 0x0f, 0x73, 0x69, 0x6e, 0x6b, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x0d, + 0x73, 0x69, 0x6e, 0x6b, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, + 0x0a, 0x6f, 0x72, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x09, 0x6f, 0x72, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 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, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x49, 0x66, 0x4e, 0x6f, 0x74, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x3b, 0x0a, + 0x0c, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x53, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x48, 0x00, 0x52, - 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x12, 0x36, 0x0a, 0x08, 0x69, 0x6e, 0x76, - 0x65, 0x72, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, - 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x76, - 0x65, 0x72, 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x08, 0x69, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x65, - 0x64, 0x12, 0x36, 0x0a, 0x08, 0x73, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x53, 0x65, 0x74, 0x53, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x48, 0x00, 0x52, - 0x08, 0x73, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x42, 0x09, 0x0a, 0x07, 0x6f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xc5, 0x01, 0x0a, 0x0a, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, - 0x64, 0x65, 0x78, 0x12, 0x38, 0x0a, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, - 0x74, 0x48, 0x00, 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x12, 0x38, 0x0a, - 0x08, 0x69, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1a, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, - 0x73, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x08, 0x69, - 0x6e, 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, 0x12, 0x38, 0x0a, 0x08, 0x73, 0x6b, 0x69, 0x70, 0x70, - 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x65, 0x70, - 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x53, 0x6b, 0x69, - 0x70, 0x70, 0x69, 0x6e, 0x67, 0x48, 0x00, 0x52, 0x08, 0x73, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, - 0x67, 0x42, 0x09, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xc9, 0x01, 0x0a, - 0x0d, 0x44, 0x72, 0x6f, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, - 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, - 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x2f, 0x0a, 0x08, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x52, 0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, - 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x69, 0x66, 0x5f, 0x65, 0x78, - 0x69, 0x73, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70, - 0x49, 0x66, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x22, 0x8d, 0x02, 0x0a, 0x12, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x45, 0x78, 0x70, 0x72, 0x12, + 0x31, 0x2e, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x41, 0x66, 0x74, 0x65, 0x72, 0x52, 0x0b, 0x65, + 0x78, 0x70, 0x69, 0x72, 0x65, 0x41, 0x66, 0x74, 0x65, 0x72, 0x12, 0x3e, 0x0a, 0x0d, 0x65, 0x76, + 0x61, 0x6c, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x45, 0x76, 0x61, 0x6c, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x52, 0x0c, 0x65, 0x76, + 0x61, 0x6c, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, + 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, + 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x71, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x03, 0x73, 0x71, 0x6c, 0x12, 0x4f, 0x0a, 0x0c, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x6f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0a, 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, 0x46, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x70, 0x72, 0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x4f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x66, 0x6c, 0x6f, 0x77, + 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x3e, 0x0a, 0x10, 0x46, 0x6c, 0x6f, 0x77, 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, 0xa2, 0x01, 0x0a, 0x0c, 0x44, 0x72, 0x6f, 0x70, + 0x46, 0x6c, 0x6f, 0x77, 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, 0x1b, 0x0a, 0x09, 0x66, + 0x6c, 0x6f, 0x77, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x66, 0x6c, 0x6f, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x07, 0x66, 0x6c, 0x6f, 0x77, + 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x72, 0x65, 0x70, + 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x49, 0x64, 0x52, 0x06, + 0x66, 0x6c, 0x6f, 0x77, 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, 0xfa, 0x02, 0x0a, + 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69, 0x65, 0x77, 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, + 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x69, 0x65, 0x77, 0x4e, 0x61, 0x6d, 0x65, + 0x12, 0x21, 0x0a, 0x0c, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x70, 0x6c, 0x61, 0x6e, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x61, 0x6c, 0x50, + 0x6c, 0x61, 0x6e, 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, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x66, 0x4e, 0x6f, 0x74, 0x45, 0x78, - 0x69, 0x73, 0x74, 0x73, 0x12, 0x46, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, - 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, - 0x73, 0x65, 0x45, 0x78, 0x70, 0x72, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, - 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, - 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, - 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xe1, 0x01, 0x0a, 0x11, 0x54, 0x72, 0x75, - 0x6e, 0x63, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, - 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, - 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x2f, 0x0a, 0x08, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x52, 0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, - 0x49, 0x64, 0x12, 0x38, 0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, - 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, - 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x73, - 0x52, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x22, 0x7c, 0x0a, 0x10, - 0x44, 0x72, 0x6f, 0x70, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x45, 0x78, 0x70, 0x72, - 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, - 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, - 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x69, 0x66, 0x5f, - 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x64, 0x72, - 0x6f, 0x70, 0x49, 0x66, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x22, 0x45, 0x0a, 0x0a, 0x41, 0x64, - 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x37, 0x0a, 0x0b, 0x61, 0x64, 0x64, 0x5f, - 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, - 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x43, - 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x0a, 0x61, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, - 0x73, 0x22, 0x4d, 0x0a, 0x0c, 0x44, 0x72, 0x6f, 0x70, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, - 0x73, 0x12, 0x3d, 0x0a, 0x0d, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, - 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, - 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x44, 0x65, 0x66, 0x61, 0x75, - 0x6c, 0x74, 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, - 0x22, 0x49, 0x0a, 0x0b, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, - 0x3a, 0x0a, 0x0c, 0x73, 0x65, 0x74, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x0b, - 0x73, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x22, 0x49, 0x0a, 0x0b, 0x44, - 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x3a, 0x0a, 0x0c, 0x64, 0x72, - 0x6f, 0x70, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, - 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x0b, 0x64, 0x72, 0x6f, 0x70, 0x43, - 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22, 0x62, 0x0a, 0x11, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, - 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x4d, 0x0a, 0x13, 0x6d, - 0x6f, 0x64, 0x69, 0x66, 0x79, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x74, 0x79, 0x70, - 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, - 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x43, 0x6f, 0x6c, - 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x11, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x43, - 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0x33, 0x0a, 0x0b, 0x52, 0x65, - 0x6e, 0x61, 0x6d, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x6e, 0x65, 0x77, - 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0c, 0x6e, 0x65, 0x77, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, - 0xa9, 0x01, 0x0a, 0x09, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x35, 0x0a, - 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x75, 0x6d, - 0x6e, 0x44, 0x65, 0x66, 0x12, 0x3a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4c, 0x6f, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x29, 0x0a, 0x11, 0x61, 0x64, 0x64, 0x5f, 0x69, 0x66, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x65, - 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x61, 0x64, 0x64, - 0x49, 0x66, 0x4e, 0x6f, 0x74, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x22, 0xcb, 0x01, 0x0a, 0x10, - 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, - 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x3c, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54, - 0x79, 0x70, 0x65, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, - 0x58, 0x0a, 0x15, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x65, - 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, - 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, - 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, - 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, - 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x30, 0x0a, 0x06, 0x4f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x4b, 0x0a, 0x0f, 0x53, - 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x38, - 0x0a, 0x0d, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x74, 0x61, 0x62, 0x6c, - 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x27, 0x0a, 0x11, 0x55, 0x6e, 0x73, 0x65, - 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x12, 0x0a, - 0x04, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x6b, 0x65, 0x79, - 0x73, 0x22, 0x20, 0x0a, 0x0a, 0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x22, 0x19, 0x0a, 0x07, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x0e, - 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x22, 0x18, - 0x0a, 0x06, 0x46, 0x6c, 0x6f, 0x77, 0x49, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x22, 0x8e, 0x03, 0x0a, 0x09, 0x43, 0x6f, 0x6c, - 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x09, 0x64, 0x61, - 0x74, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, - 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, - 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x6e, 0x75, 0x6c, 0x6c, 0x61, - 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x4e, 0x75, 0x6c, - 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, - 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x11, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, - 0x61, 0x69, 0x6e, 0x74, 0x12, 0x3e, 0x0a, 0x0d, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, - 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x67, 0x72, - 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x6d, 0x61, 0x6e, 0x74, - 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x53, - 0x0a, 0x12, 0x64, 0x61, 0x74, 0x61, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, - 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x65, - 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, - 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, - 0x52, 0x11, 0x64, 0x61, 0x74, 0x61, 0x74, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, - 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xb7, 0x01, 0x0a, 0x11, 0x41, 0x64, - 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x50, 0x0a, 0x0d, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4c, 0x6f, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, - 0x79, 0x70, 0x65, 0x52, 0x0c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, - 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, - 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x66, - 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x24, 0x0a, - 0x0c, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x09, 0x0a, - 0x05, 0x46, 0x49, 0x52, 0x53, 0x54, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x46, 0x54, 0x45, - 0x52, 0x10, 0x01, 0x22, 0xaa, 0x02, 0x0a, 0x0b, 0x53, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x74, - 0x65, 0x78, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, - 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x31, 0x0a, 0x08, - 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, - 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6e, 0x61, - 0x6c, 0x79, 0x7a, 0x65, 0x72, 0x52, 0x08, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x72, 0x12, - 0x25, 0x0a, 0x0e, 0x63, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, - 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x63, 0x61, 0x73, 0x65, 0x53, 0x65, 0x6e, - 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x12, 0x36, 0x0a, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, - 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, - 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x42, 0x61, - 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x52, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x12, 0x20, - 0x0a, 0x0b, 0x67, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x0b, 0x67, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, - 0x12, 0x2e, 0x0a, 0x13, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, - 0x76, 0x65, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x01, 0x52, 0x11, 0x66, - 0x61, 0x6c, 0x73, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x52, 0x61, 0x74, 0x65, - 0x22, 0x30, 0x0a, 0x0d, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, + 0x69, 0x73, 0x74, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x72, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x61, + 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x6f, 0x72, 0x52, 0x65, 0x70, 0x6c, + 0x61, 0x63, 0x65, 0x12, 0x37, 0x0a, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, + 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, + 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, + 0x52, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, + 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x63, + 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x6c, 0x61, 0x6e, 0x5f, 0x63, + 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x6c, + 0x61, 0x6e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x66, + 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, + 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xc4, 0x01, 0x0a, 0x0c, 0x44, 0x72, + 0x6f, 0x70, 0x56, 0x69, 0x65, 0x77, 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, 0x1b, + 0x0a, 0x09, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x76, 0x69, 0x65, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x07, 0x76, + 0x69, 0x65, 0x77, 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, 0x06, 0x76, 0x69, 0x65, 0x77, 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, 0x93, 0x04, 0x0a, 0x0f, 0x43, 0x72, 0x65, 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, 0x12, 0x0a, 0x04, 0x64, 0x65, 0x73, 0x63, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x65, 0x73, 0x63, 0x12, 0x37, 0x0a, 0x0b, 0x63, + 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x73, 0x18, 0x05, 0x20, 0x03, 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, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, + 0x44, 0x65, 0x66, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x69, 0x6e, 0x64, + 0x65, 0x78, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x49, 0x6e, + 0x64, 0x65, 0x78, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x6b, + 0x65, 0x79, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x72, 0x69, 0x6d, 0x61, + 0x72, 0x79, 0x4b, 0x65, 0x79, 0x73, 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, 0x08, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x66, 0x4e, 0x6f, + 0x74, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x53, 0x0a, 0x0d, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, + 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x78, 0x70, 0x72, 0x2e, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2f, 0x0a, 0x08, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0a, 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, 0x16, 0x0a, + 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, + 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x1a, 0x3f, 0x0a, 0x11, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x96, 0x07, 0x0a, 0x0e, 0x41, 0x6c, 0x74, 0x65, 0x72, + 0x54, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, + 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, + 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, 0x3a, 0x0a, 0x0b, + 0x61, 0x64, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x0a, 0x61, 0x64, + 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x64, 0x72, 0x6f, 0x70, + 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, + 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x72, 0x6f, + 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x72, 0x6f, 0x70, + 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x72, 0x65, 0x6e, 0x61, 0x6d, + 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, + 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6e, 0x61, + 0x6d, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x0b, 0x72, 0x65, 0x6e, 0x61, 0x6d, + 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x50, 0x0a, 0x13, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, + 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1e, 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, 0x73, 0x48, 0x00, 0x52, 0x11, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x43, 0x6f, 0x6c, + 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x11, 0x73, 0x65, 0x74, 0x5f, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x53, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x48, 0x00, 0x52, 0x0f, 0x73, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x5f, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x55, 0x6e, 0x73, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x48, 0x00, 0x52, 0x11, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x34, 0x0a, 0x09, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x6e, + 0x64, 0x65, 0x78, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x72, 0x65, 0x70, + 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, + 0x48, 0x00, 0x52, 0x08, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x3a, 0x0a, 0x0b, + 0x75, 0x6e, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x55, 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x48, 0x00, 0x52, 0x0a, 0x75, 0x6e, + 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x40, 0x0a, 0x0d, 0x64, 0x72, 0x6f, 0x70, + 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x72, + 0x6f, 0x70, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x48, 0x00, 0x52, 0x0c, 0x64, 0x72, + 0x6f, 0x70, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x3a, 0x0a, 0x0b, 0x73, 0x65, + 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, + 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x48, 0x00, 0x52, 0x0a, 0x73, 0x65, 0x74, 0x49, + 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x40, 0x0a, 0x0d, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x5f, + 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, + 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x48, 0x00, 0x52, 0x0c, 0x75, 0x6e, 0x73, 0x65, + 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x73, 0x65, 0x74, 0x5f, + 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, + 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, + 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x65, 0x74, 0x44, + 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, + 0x2e, 0x0a, 0x0b, 0x44, 0x72, 0x6f, 0x70, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x1f, + 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22, + 0x44, 0x0a, 0x0a, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x36, 0x0a, + 0x0b, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0a, 0x73, 0x65, 0x74, 0x49, 0x6e, + 0x64, 0x65, 0x78, 0x65, 0x73, 0x22, 0x4c, 0x0a, 0x0c, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, + 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x0d, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x5f, 0x69, + 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, + 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, + 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0c, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, + 0x78, 0x65, 0x73, 0x22, 0x5c, 0x0a, 0x0a, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, - 0x6d, 0x65, 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, + 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x63, 0x6f, + 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x11, + 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, + 0x74, 0x22, 0xbd, 0x01, 0x0a, 0x08, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x36, + 0x0a, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x18, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, + 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x48, 0x00, 0x52, 0x08, 0x66, 0x75, + 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x12, 0x36, 0x0a, 0x08, 0x69, 0x6e, 0x76, 0x65, 0x72, 0x74, + 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, + 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x65, 0x72, 0x74, + 0x65, 0x64, 0x48, 0x00, 0x52, 0x08, 0x69, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, 0x12, 0x36, + 0x0a, 0x08, 0x73, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x18, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, + 0x65, 0x74, 0x53, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x48, 0x00, 0x52, 0x08, 0x73, 0x6b, + 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x42, 0x09, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x22, 0xc5, 0x01, 0x0a, 0x0a, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, + 0x12, 0x38, 0x0a, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x48, 0x00, + 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x12, 0x38, 0x0a, 0x08, 0x69, 0x6e, + 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, + 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, + 0x49, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x08, 0x69, 0x6e, 0x76, 0x65, + 0x72, 0x74, 0x65, 0x64, 0x12, 0x38, 0x0a, 0x08, 0x73, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x53, 0x6b, 0x69, 0x70, 0x70, 0x69, + 0x6e, 0x67, 0x48, 0x00, 0x52, 0x08, 0x73, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x42, 0x09, + 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xc9, 0x01, 0x0a, 0x0d, 0x44, 0x72, + 0x6f, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, + 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, + 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x12, + 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2f, + 0x0a, 0x08, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x14, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x52, 0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x12, + 0x24, 0x0a, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x69, 0x66, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, + 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x49, 0x66, 0x45, + 0x78, 0x69, 0x73, 0x74, 0x73, 0x22, 0x8d, 0x02, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, 0x0c, + 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, + 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, + 0x12, 0x2f, 0x0a, 0x14, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x66, 0x5f, 0x6e, 0x6f, + 0x74, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x66, 0x4e, 0x6f, 0x74, 0x45, 0x78, 0x69, 0x73, 0x74, + 0x73, 0x12, 0x46, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x45, + 0x78, 0x70, 0x72, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, 0x4f, 0x70, 0x74, + 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, 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, + 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x31, 0x0a, 0x08, 0x61, 0x6e, 0x61, + 0x6c, 0x79, 0x7a, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x67, 0x72, + 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x7a, + 0x65, 0x72, 0x52, 0x08, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x72, 0x12, 0x25, 0x0a, 0x0e, + 0x63, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x63, 0x61, 0x73, 0x65, 0x53, 0x65, 0x6e, 0x73, 0x69, 0x74, + 0x69, 0x76, 0x65, 0x12, 0x36, 0x0a, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x46, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x65, + 0x6e, 0x64, 0x52, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x67, + 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x0b, 0x67, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x12, 0x2e, 0x0a, + 0x13, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, + 0x72, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x01, 0x52, 0x11, 0x66, 0x61, 0x6c, 0x73, + 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x52, 0x61, 0x74, 0x65, 0x22, 0x30, 0x0a, + 0x0d, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x12, 0x1f, + 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22, + 0x2e, 0x0a, 0x0b, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, 0x12, 0x1f, + 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22, + 0x30, 0x0a, 0x0d, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, + 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, + 0x65, 0x22, 0xe8, 0x01, 0x0a, 0x0b, 0x53, 0x65, 0x74, 0x53, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, + 0x67, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, + 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x67, 0x72, + 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x0b, 0x67, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x12, 0x4e, 0x0a, 0x13, + 0x73, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, + 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, + 0x49, 0x6e, 0x64, 0x65, 0x78, 0x54, 0x79, 0x70, 0x65, 0x52, 0x11, 0x73, 0x6b, 0x69, 0x70, 0x70, + 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2e, 0x0a, 0x13, + 0x66, 0x61, 0x6c, 0x73, 0x65, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x72, + 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, 0x11, 0x66, 0x61, 0x6c, 0x73, 0x65, + 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x52, 0x61, 0x74, 0x65, 0x22, 0x30, 0x0a, 0x0d, + 0x55, 0x6e, 0x73, 0x65, 0x74, 0x53, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x1f, 0x0a, + 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x8f, + 0x02, 0x0a, 0x11, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, + 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, + 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x53, 0x0a, 0x14, 0x73, 0x65, 0x74, 0x5f, + 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, + 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x12, 0x73, 0x65, 0x74, 0x44, 0x61, + 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x59, 0x0a, + 0x16, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, + 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, + 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, + 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x48, 0x00, 0x52, 0x14, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, + 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, + 0x22, 0x5b, 0x0a, 0x12, 0x53, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x45, 0x0a, 0x14, 0x73, 0x65, 0x74, 0x5f, 0x64, 0x61, + 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x12, 0x73, 0x65, 0x74, 0x44, 0x61, + 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x2a, 0x0a, + 0x14, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x22, 0x93, 0x06, 0x0a, 0x11, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x45, 0x78, 0x70, 0x72, 0x12, + 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, + 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, + 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x14, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, + 0x69, 0x66, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x66, 0x4e, 0x6f, 0x74, + 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x71, 0x6c, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x71, 0x6c, 0x12, 0x36, 0x0a, 0x08, 0x63, 0x68, 0x61, 0x6e, + 0x6e, 0x65, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x65, + 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x43, + 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x08, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, + 0x12, 0x42, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x2a, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x45, 0x78, 0x70, 0x72, + 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, + 0x62, 0x65, 0x6c, 0x73, 0x12, 0x51, 0x0a, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x72, 0x65, 0x70, + 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, + 0x69, 0x67, 0x67, 0x65, 0x72, 0x45, 0x78, 0x70, 0x72, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x35, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, + 0x76, 0x61, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x2a, + 0x0a, 0x11, 0x72, 0x61, 0x77, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x65, + 0x78, 0x70, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x61, 0x77, 0x49, 0x6e, + 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x45, 0x78, 0x70, 0x72, 0x12, 0x2b, 0x0a, 0x03, 0x66, 0x6f, + 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x03, 0x66, 0x6f, 0x72, 0x12, 0x20, 0x0a, 0x0c, 0x66, 0x6f, 0x72, 0x5f, 0x72, + 0x61, 0x77, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, + 0x6f, 0x72, 0x52, 0x61, 0x77, 0x45, 0x78, 0x70, 0x72, 0x12, 0x41, 0x0a, 0x0f, 0x6b, 0x65, 0x65, + 0x70, 0x5f, 0x66, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x6f, 0x72, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x6b, + 0x65, 0x65, 0x70, 0x46, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x12, 0x36, 0x0a, 0x18, + 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x66, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x6f, 0x72, 0x5f, + 0x72, 0x61, 0x77, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, + 0x6b, 0x65, 0x65, 0x70, 0x46, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x52, 0x61, 0x77, + 0x45, 0x78, 0x70, 0x72, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, + 0x3e, 0x0a, 0x10, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, + 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, 0x2a, 0x24, 0x0a, 0x08, 0x41, 0x6e, 0x61, 0x6c, + 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, @@ -4210,12 +4383,15 @@ var file_greptime_v1_ddl_proto_rawDesc = []byte{ 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, - 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, + 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 ( @@ -4230,155 +4406,159 @@ func file_greptime_v1_ddl_proto_rawDescGZIP() []byte { return file_greptime_v1_ddl_proto_rawDescData } -var file_greptime_v1_ddl_proto_enumTypes = make([]protoimpl.EnumInfo, 4) -var file_greptime_v1_ddl_proto_msgTypes = make([]protoimpl.MessageInfo, 52) +var file_greptime_v1_ddl_proto_enumTypes = make([]protoimpl.EnumInfo, 5) +var file_greptime_v1_ddl_proto_msgTypes = make([]protoimpl.MessageInfo, 53) var file_greptime_v1_ddl_proto_goTypes = []interface{}{ (Analyzer)(0), // 0: greptime.v1.Analyzer (FulltextBackend)(0), // 1: greptime.v1.FulltextBackend (SkippingIndexType)(0), // 2: greptime.v1.SkippingIndexType - (AddColumnLocation_LocationType)(0), // 3: greptime.v1.AddColumnLocation.LocationType - (*DdlRequest)(nil), // 4: greptime.v1.DdlRequest - (*CreateFlowExpr)(nil), // 5: greptime.v1.CreateFlowExpr - (*DropFlowExpr)(nil), // 6: greptime.v1.DropFlowExpr - (*CreateViewExpr)(nil), // 7: greptime.v1.CreateViewExpr - (*DropViewExpr)(nil), // 8: greptime.v1.DropViewExpr - (*CreateTableExpr)(nil), // 9: greptime.v1.CreateTableExpr - (*AlterTableExpr)(nil), // 10: greptime.v1.AlterTableExpr - (*DropDefault)(nil), // 11: greptime.v1.DropDefault - (*SetIndexes)(nil), // 12: greptime.v1.SetIndexes - (*UnsetIndexes)(nil), // 13: greptime.v1.UnsetIndexes - (*SetDefault)(nil), // 14: greptime.v1.SetDefault - (*SetIndex)(nil), // 15: greptime.v1.SetIndex - (*UnsetIndex)(nil), // 16: greptime.v1.UnsetIndex - (*DropTableExpr)(nil), // 17: greptime.v1.DropTableExpr - (*CreateDatabaseExpr)(nil), // 18: greptime.v1.CreateDatabaseExpr - (*TruncateTableExpr)(nil), // 19: greptime.v1.TruncateTableExpr - (*DropDatabaseExpr)(nil), // 20: greptime.v1.DropDatabaseExpr - (*AddColumns)(nil), // 21: greptime.v1.AddColumns - (*DropDefaults)(nil), // 22: greptime.v1.DropDefaults - (*SetDefaults)(nil), // 23: greptime.v1.SetDefaults - (*DropColumns)(nil), // 24: greptime.v1.DropColumns - (*ModifyColumnTypes)(nil), // 25: greptime.v1.ModifyColumnTypes - (*RenameTable)(nil), // 26: greptime.v1.RenameTable - (*AddColumn)(nil), // 27: greptime.v1.AddColumn - (*ModifyColumnType)(nil), // 28: greptime.v1.ModifyColumnType - (*Option)(nil), // 29: greptime.v1.Option - (*SetTableOptions)(nil), // 30: greptime.v1.SetTableOptions - (*UnsetTableOptions)(nil), // 31: greptime.v1.UnsetTableOptions - (*DropColumn)(nil), // 32: greptime.v1.DropColumn - (*TableId)(nil), // 33: greptime.v1.TableId - (*FlowId)(nil), // 34: greptime.v1.FlowId - (*ColumnDef)(nil), // 35: greptime.v1.ColumnDef - (*AddColumnLocation)(nil), // 36: greptime.v1.AddColumnLocation - (*SetFulltext)(nil), // 37: greptime.v1.SetFulltext - (*UnsetFulltext)(nil), // 38: greptime.v1.UnsetFulltext - (*SetInverted)(nil), // 39: greptime.v1.SetInverted - (*UnsetInverted)(nil), // 40: greptime.v1.UnsetInverted - (*SetSkipping)(nil), // 41: greptime.v1.SetSkipping - (*UnsetSkipping)(nil), // 42: greptime.v1.UnsetSkipping - (*AlterDatabaseExpr)(nil), // 43: greptime.v1.AlterDatabaseExpr - (*SetDatabaseOptions)(nil), // 44: greptime.v1.SetDatabaseOptions - (*UnsetDatabaseOptions)(nil), // 45: greptime.v1.UnsetDatabaseOptions - (*CreateTriggerExpr)(nil), // 46: greptime.v1.CreateTriggerExpr - (*NotifyChannel)(nil), // 47: greptime.v1.NotifyChannel - (*WebhookOptions)(nil), // 48: greptime.v1.WebhookOptions - (*DropTriggerExpr)(nil), // 49: greptime.v1.DropTriggerExpr - nil, // 50: greptime.v1.CreateFlowExpr.FlowOptionsEntry - nil, // 51: greptime.v1.CreateTableExpr.TableOptionsEntry - nil, // 52: greptime.v1.CreateDatabaseExpr.OptionsEntry - nil, // 53: greptime.v1.CreateTriggerExpr.LabelsEntry - nil, // 54: greptime.v1.CreateTriggerExpr.AnnotationsEntry - nil, // 55: greptime.v1.WebhookOptions.OptsEntry - (*TableName)(nil), // 56: greptime.v1.TableName - (*ExpireAfter)(nil), // 57: greptime.v1.ExpireAfter - (*EvalInterval)(nil), // 58: greptime.v1.EvalInterval - (*TimeRanges)(nil), // 59: greptime.v1.TimeRanges - (ColumnDataType)(0), // 60: greptime.v1.ColumnDataType - (*ColumnDataTypeExtension)(nil), // 61: greptime.v1.ColumnDataTypeExtension - (SemanticType)(0), // 62: greptime.v1.SemanticType - (*ColumnOptions)(nil), // 63: greptime.v1.ColumnOptions - (*durationpb.Duration)(nil), // 64: google.protobuf.Duration + (CommentObjectType)(0), // 3: greptime.v1.CommentObjectType + (AddColumnLocation_LocationType)(0), // 4: greptime.v1.AddColumnLocation.LocationType + (*DdlRequest)(nil), // 5: greptime.v1.DdlRequest + (*CreateFlowExpr)(nil), // 6: greptime.v1.CreateFlowExpr + (*DropFlowExpr)(nil), // 7: greptime.v1.DropFlowExpr + (*CreateViewExpr)(nil), // 8: greptime.v1.CreateViewExpr + (*DropViewExpr)(nil), // 9: greptime.v1.DropViewExpr + (*CreateTableExpr)(nil), // 10: greptime.v1.CreateTableExpr + (*AlterTableExpr)(nil), // 11: greptime.v1.AlterTableExpr + (*DropDefault)(nil), // 12: greptime.v1.DropDefault + (*SetIndexes)(nil), // 13: greptime.v1.SetIndexes + (*UnsetIndexes)(nil), // 14: greptime.v1.UnsetIndexes + (*SetDefault)(nil), // 15: greptime.v1.SetDefault + (*SetIndex)(nil), // 16: greptime.v1.SetIndex + (*UnsetIndex)(nil), // 17: greptime.v1.UnsetIndex + (*DropTableExpr)(nil), // 18: greptime.v1.DropTableExpr + (*CreateDatabaseExpr)(nil), // 19: greptime.v1.CreateDatabaseExpr + (*TruncateTableExpr)(nil), // 20: greptime.v1.TruncateTableExpr + (*DropDatabaseExpr)(nil), // 21: greptime.v1.DropDatabaseExpr + (*AddColumns)(nil), // 22: greptime.v1.AddColumns + (*DropDefaults)(nil), // 23: greptime.v1.DropDefaults + (*SetDefaults)(nil), // 24: greptime.v1.SetDefaults + (*DropColumns)(nil), // 25: greptime.v1.DropColumns + (*ModifyColumnTypes)(nil), // 26: greptime.v1.ModifyColumnTypes + (*RenameTable)(nil), // 27: greptime.v1.RenameTable + (*AddColumn)(nil), // 28: greptime.v1.AddColumn + (*ModifyColumnType)(nil), // 29: greptime.v1.ModifyColumnType + (*Option)(nil), // 30: greptime.v1.Option + (*SetTableOptions)(nil), // 31: greptime.v1.SetTableOptions + (*UnsetTableOptions)(nil), // 32: greptime.v1.UnsetTableOptions + (*DropColumn)(nil), // 33: greptime.v1.DropColumn + (*TableId)(nil), // 34: greptime.v1.TableId + (*FlowId)(nil), // 35: greptime.v1.FlowId + (*ColumnDef)(nil), // 36: greptime.v1.ColumnDef + (*AddColumnLocation)(nil), // 37: greptime.v1.AddColumnLocation + (*SetFulltext)(nil), // 38: greptime.v1.SetFulltext + (*UnsetFulltext)(nil), // 39: greptime.v1.UnsetFulltext + (*SetInverted)(nil), // 40: greptime.v1.SetInverted + (*UnsetInverted)(nil), // 41: greptime.v1.UnsetInverted + (*SetSkipping)(nil), // 42: greptime.v1.SetSkipping + (*UnsetSkipping)(nil), // 43: greptime.v1.UnsetSkipping + (*AlterDatabaseExpr)(nil), // 44: greptime.v1.AlterDatabaseExpr + (*SetDatabaseOptions)(nil), // 45: greptime.v1.SetDatabaseOptions + (*UnsetDatabaseOptions)(nil), // 46: greptime.v1.UnsetDatabaseOptions + (*CreateTriggerExpr)(nil), // 47: greptime.v1.CreateTriggerExpr + (*NotifyChannel)(nil), // 48: greptime.v1.NotifyChannel + (*WebhookOptions)(nil), // 49: greptime.v1.WebhookOptions + (*DropTriggerExpr)(nil), // 50: greptime.v1.DropTriggerExpr + (*CommentOnExpr)(nil), // 51: greptime.v1.CommentOnExpr + nil, // 52: greptime.v1.CreateFlowExpr.FlowOptionsEntry + nil, // 53: greptime.v1.CreateTableExpr.TableOptionsEntry + nil, // 54: greptime.v1.CreateDatabaseExpr.OptionsEntry + nil, // 55: greptime.v1.CreateTriggerExpr.LabelsEntry + nil, // 56: greptime.v1.CreateTriggerExpr.AnnotationsEntry + nil, // 57: greptime.v1.WebhookOptions.OptsEntry + (*TableName)(nil), // 58: greptime.v1.TableName + (*ExpireAfter)(nil), // 59: greptime.v1.ExpireAfter + (*EvalInterval)(nil), // 60: greptime.v1.EvalInterval + (*TimeRanges)(nil), // 61: greptime.v1.TimeRanges + (ColumnDataType)(0), // 62: greptime.v1.ColumnDataType + (*ColumnDataTypeExtension)(nil), // 63: greptime.v1.ColumnDataTypeExtension + (SemanticType)(0), // 64: greptime.v1.SemanticType + (*ColumnOptions)(nil), // 65: greptime.v1.ColumnOptions + (*durationpb.Duration)(nil), // 66: google.protobuf.Duration } var file_greptime_v1_ddl_proto_depIdxs = []int32{ - 18, // 0: greptime.v1.DdlRequest.create_database:type_name -> greptime.v1.CreateDatabaseExpr - 9, // 1: greptime.v1.DdlRequest.create_table:type_name -> greptime.v1.CreateTableExpr - 10, // 2: greptime.v1.DdlRequest.alter_table:type_name -> greptime.v1.AlterTableExpr - 17, // 3: greptime.v1.DdlRequest.drop_table:type_name -> greptime.v1.DropTableExpr - 19, // 4: greptime.v1.DdlRequest.truncate_table:type_name -> greptime.v1.TruncateTableExpr - 5, // 5: greptime.v1.DdlRequest.create_flow:type_name -> greptime.v1.CreateFlowExpr - 6, // 6: greptime.v1.DdlRequest.drop_flow:type_name -> greptime.v1.DropFlowExpr - 7, // 7: greptime.v1.DdlRequest.create_view:type_name -> greptime.v1.CreateViewExpr - 8, // 8: greptime.v1.DdlRequest.drop_view:type_name -> greptime.v1.DropViewExpr - 43, // 9: greptime.v1.DdlRequest.alter_database:type_name -> greptime.v1.AlterDatabaseExpr - 56, // 10: greptime.v1.CreateFlowExpr.source_table_names:type_name -> greptime.v1.TableName - 56, // 11: greptime.v1.CreateFlowExpr.sink_table_name:type_name -> greptime.v1.TableName - 57, // 12: greptime.v1.CreateFlowExpr.expire_after:type_name -> greptime.v1.ExpireAfter - 58, // 13: greptime.v1.CreateFlowExpr.eval_interval:type_name -> greptime.v1.EvalInterval - 50, // 14: greptime.v1.CreateFlowExpr.flow_options:type_name -> greptime.v1.CreateFlowExpr.FlowOptionsEntry - 34, // 15: greptime.v1.DropFlowExpr.flow_id:type_name -> greptime.v1.FlowId - 56, // 16: greptime.v1.CreateViewExpr.table_names:type_name -> greptime.v1.TableName - 33, // 17: greptime.v1.DropViewExpr.view_id:type_name -> greptime.v1.TableId - 35, // 18: greptime.v1.CreateTableExpr.column_defs:type_name -> greptime.v1.ColumnDef - 51, // 19: greptime.v1.CreateTableExpr.table_options:type_name -> greptime.v1.CreateTableExpr.TableOptionsEntry - 33, // 20: greptime.v1.CreateTableExpr.table_id:type_name -> greptime.v1.TableId - 21, // 21: greptime.v1.AlterTableExpr.add_columns:type_name -> greptime.v1.AddColumns - 24, // 22: greptime.v1.AlterTableExpr.drop_columns:type_name -> greptime.v1.DropColumns - 26, // 23: greptime.v1.AlterTableExpr.rename_table:type_name -> greptime.v1.RenameTable - 25, // 24: greptime.v1.AlterTableExpr.modify_column_types:type_name -> greptime.v1.ModifyColumnTypes - 30, // 25: greptime.v1.AlterTableExpr.set_table_options:type_name -> greptime.v1.SetTableOptions - 31, // 26: greptime.v1.AlterTableExpr.unset_table_options:type_name -> greptime.v1.UnsetTableOptions - 15, // 27: greptime.v1.AlterTableExpr.set_index:type_name -> greptime.v1.SetIndex - 16, // 28: greptime.v1.AlterTableExpr.unset_index:type_name -> greptime.v1.UnsetIndex - 22, // 29: greptime.v1.AlterTableExpr.drop_defaults:type_name -> greptime.v1.DropDefaults - 12, // 30: greptime.v1.AlterTableExpr.set_indexes:type_name -> greptime.v1.SetIndexes - 13, // 31: greptime.v1.AlterTableExpr.unset_indexes:type_name -> greptime.v1.UnsetIndexes - 23, // 32: greptime.v1.AlterTableExpr.set_defaults:type_name -> greptime.v1.SetDefaults - 15, // 33: greptime.v1.SetIndexes.set_indexes:type_name -> greptime.v1.SetIndex - 16, // 34: greptime.v1.UnsetIndexes.unset_indexes:type_name -> greptime.v1.UnsetIndex - 37, // 35: greptime.v1.SetIndex.fulltext:type_name -> greptime.v1.SetFulltext - 39, // 36: greptime.v1.SetIndex.inverted:type_name -> greptime.v1.SetInverted - 41, // 37: greptime.v1.SetIndex.skipping:type_name -> greptime.v1.SetSkipping - 38, // 38: greptime.v1.UnsetIndex.fulltext:type_name -> greptime.v1.UnsetFulltext - 40, // 39: greptime.v1.UnsetIndex.inverted:type_name -> greptime.v1.UnsetInverted - 42, // 40: greptime.v1.UnsetIndex.skipping:type_name -> greptime.v1.UnsetSkipping - 33, // 41: greptime.v1.DropTableExpr.table_id:type_name -> greptime.v1.TableId - 52, // 42: greptime.v1.CreateDatabaseExpr.options:type_name -> greptime.v1.CreateDatabaseExpr.OptionsEntry - 33, // 43: greptime.v1.TruncateTableExpr.table_id:type_name -> greptime.v1.TableId - 59, // 44: greptime.v1.TruncateTableExpr.time_ranges:type_name -> greptime.v1.TimeRanges - 27, // 45: greptime.v1.AddColumns.add_columns:type_name -> greptime.v1.AddColumn - 11, // 46: greptime.v1.DropDefaults.drop_defaults:type_name -> greptime.v1.DropDefault - 14, // 47: greptime.v1.SetDefaults.set_defaults:type_name -> greptime.v1.SetDefault - 32, // 48: greptime.v1.DropColumns.drop_columns:type_name -> greptime.v1.DropColumn - 28, // 49: greptime.v1.ModifyColumnTypes.modify_column_types:type_name -> greptime.v1.ModifyColumnType - 35, // 50: greptime.v1.AddColumn.column_def:type_name -> greptime.v1.ColumnDef - 36, // 51: greptime.v1.AddColumn.location:type_name -> greptime.v1.AddColumnLocation - 60, // 52: greptime.v1.ModifyColumnType.target_type:type_name -> greptime.v1.ColumnDataType - 61, // 53: greptime.v1.ModifyColumnType.target_type_extension:type_name -> greptime.v1.ColumnDataTypeExtension - 29, // 54: greptime.v1.SetTableOptions.table_options:type_name -> greptime.v1.Option - 60, // 55: greptime.v1.ColumnDef.data_type:type_name -> greptime.v1.ColumnDataType - 62, // 56: greptime.v1.ColumnDef.semantic_type:type_name -> greptime.v1.SemanticType - 61, // 57: greptime.v1.ColumnDef.datatype_extension:type_name -> greptime.v1.ColumnDataTypeExtension - 63, // 58: greptime.v1.ColumnDef.options:type_name -> greptime.v1.ColumnOptions - 3, // 59: greptime.v1.AddColumnLocation.location_type:type_name -> greptime.v1.AddColumnLocation.LocationType - 0, // 60: greptime.v1.SetFulltext.analyzer:type_name -> greptime.v1.Analyzer - 1, // 61: greptime.v1.SetFulltext.backend:type_name -> greptime.v1.FulltextBackend - 2, // 62: greptime.v1.SetSkipping.skipping_index_type:type_name -> greptime.v1.SkippingIndexType - 44, // 63: greptime.v1.AlterDatabaseExpr.set_database_options:type_name -> greptime.v1.SetDatabaseOptions - 45, // 64: greptime.v1.AlterDatabaseExpr.unset_database_options:type_name -> greptime.v1.UnsetDatabaseOptions - 29, // 65: greptime.v1.SetDatabaseOptions.set_database_options:type_name -> greptime.v1.Option - 47, // 66: greptime.v1.CreateTriggerExpr.channels:type_name -> greptime.v1.NotifyChannel - 53, // 67: greptime.v1.CreateTriggerExpr.labels:type_name -> greptime.v1.CreateTriggerExpr.LabelsEntry - 54, // 68: greptime.v1.CreateTriggerExpr.annotations:type_name -> greptime.v1.CreateTriggerExpr.AnnotationsEntry - 64, // 69: greptime.v1.CreateTriggerExpr.interval:type_name -> google.protobuf.Duration - 64, // 70: greptime.v1.CreateTriggerExpr.for:type_name -> google.protobuf.Duration - 64, // 71: greptime.v1.CreateTriggerExpr.keep_firing_for:type_name -> google.protobuf.Duration - 48, // 72: greptime.v1.NotifyChannel.webhook:type_name -> greptime.v1.WebhookOptions - 55, // 73: greptime.v1.WebhookOptions.opts:type_name -> greptime.v1.WebhookOptions.OptsEntry - 74, // [74:74] is the sub-list for method output_type - 74, // [74:74] is the sub-list for method input_type - 74, // [74:74] is the sub-list for extension type_name - 74, // [74:74] is the sub-list for extension extendee - 0, // [0:74] is the sub-list for field type_name + 19, // 0: greptime.v1.DdlRequest.create_database:type_name -> greptime.v1.CreateDatabaseExpr + 10, // 1: greptime.v1.DdlRequest.create_table:type_name -> greptime.v1.CreateTableExpr + 11, // 2: greptime.v1.DdlRequest.alter_table:type_name -> greptime.v1.AlterTableExpr + 18, // 3: greptime.v1.DdlRequest.drop_table:type_name -> greptime.v1.DropTableExpr + 20, // 4: greptime.v1.DdlRequest.truncate_table:type_name -> greptime.v1.TruncateTableExpr + 6, // 5: greptime.v1.DdlRequest.create_flow:type_name -> greptime.v1.CreateFlowExpr + 7, // 6: greptime.v1.DdlRequest.drop_flow:type_name -> greptime.v1.DropFlowExpr + 8, // 7: greptime.v1.DdlRequest.create_view:type_name -> greptime.v1.CreateViewExpr + 9, // 8: greptime.v1.DdlRequest.drop_view:type_name -> greptime.v1.DropViewExpr + 44, // 9: greptime.v1.DdlRequest.alter_database:type_name -> greptime.v1.AlterDatabaseExpr + 51, // 10: greptime.v1.DdlRequest.comment_on:type_name -> greptime.v1.CommentOnExpr + 58, // 11: greptime.v1.CreateFlowExpr.source_table_names:type_name -> greptime.v1.TableName + 58, // 12: greptime.v1.CreateFlowExpr.sink_table_name:type_name -> greptime.v1.TableName + 59, // 13: greptime.v1.CreateFlowExpr.expire_after:type_name -> greptime.v1.ExpireAfter + 60, // 14: greptime.v1.CreateFlowExpr.eval_interval:type_name -> greptime.v1.EvalInterval + 52, // 15: greptime.v1.CreateFlowExpr.flow_options:type_name -> greptime.v1.CreateFlowExpr.FlowOptionsEntry + 35, // 16: greptime.v1.DropFlowExpr.flow_id:type_name -> greptime.v1.FlowId + 58, // 17: greptime.v1.CreateViewExpr.table_names:type_name -> greptime.v1.TableName + 34, // 18: greptime.v1.DropViewExpr.view_id:type_name -> greptime.v1.TableId + 36, // 19: greptime.v1.CreateTableExpr.column_defs:type_name -> greptime.v1.ColumnDef + 53, // 20: greptime.v1.CreateTableExpr.table_options:type_name -> greptime.v1.CreateTableExpr.TableOptionsEntry + 34, // 21: greptime.v1.CreateTableExpr.table_id:type_name -> greptime.v1.TableId + 22, // 22: greptime.v1.AlterTableExpr.add_columns:type_name -> greptime.v1.AddColumns + 25, // 23: greptime.v1.AlterTableExpr.drop_columns:type_name -> greptime.v1.DropColumns + 27, // 24: greptime.v1.AlterTableExpr.rename_table:type_name -> greptime.v1.RenameTable + 26, // 25: greptime.v1.AlterTableExpr.modify_column_types:type_name -> greptime.v1.ModifyColumnTypes + 31, // 26: greptime.v1.AlterTableExpr.set_table_options:type_name -> greptime.v1.SetTableOptions + 32, // 27: greptime.v1.AlterTableExpr.unset_table_options:type_name -> greptime.v1.UnsetTableOptions + 16, // 28: greptime.v1.AlterTableExpr.set_index:type_name -> greptime.v1.SetIndex + 17, // 29: greptime.v1.AlterTableExpr.unset_index:type_name -> greptime.v1.UnsetIndex + 23, // 30: greptime.v1.AlterTableExpr.drop_defaults:type_name -> greptime.v1.DropDefaults + 13, // 31: greptime.v1.AlterTableExpr.set_indexes:type_name -> greptime.v1.SetIndexes + 14, // 32: greptime.v1.AlterTableExpr.unset_indexes:type_name -> greptime.v1.UnsetIndexes + 24, // 33: greptime.v1.AlterTableExpr.set_defaults:type_name -> greptime.v1.SetDefaults + 16, // 34: greptime.v1.SetIndexes.set_indexes:type_name -> greptime.v1.SetIndex + 17, // 35: greptime.v1.UnsetIndexes.unset_indexes:type_name -> greptime.v1.UnsetIndex + 38, // 36: greptime.v1.SetIndex.fulltext:type_name -> greptime.v1.SetFulltext + 40, // 37: greptime.v1.SetIndex.inverted:type_name -> greptime.v1.SetInverted + 42, // 38: greptime.v1.SetIndex.skipping:type_name -> greptime.v1.SetSkipping + 39, // 39: greptime.v1.UnsetIndex.fulltext:type_name -> greptime.v1.UnsetFulltext + 41, // 40: greptime.v1.UnsetIndex.inverted:type_name -> greptime.v1.UnsetInverted + 43, // 41: greptime.v1.UnsetIndex.skipping:type_name -> greptime.v1.UnsetSkipping + 34, // 42: greptime.v1.DropTableExpr.table_id:type_name -> greptime.v1.TableId + 54, // 43: greptime.v1.CreateDatabaseExpr.options:type_name -> greptime.v1.CreateDatabaseExpr.OptionsEntry + 34, // 44: greptime.v1.TruncateTableExpr.table_id:type_name -> greptime.v1.TableId + 61, // 45: greptime.v1.TruncateTableExpr.time_ranges:type_name -> greptime.v1.TimeRanges + 28, // 46: greptime.v1.AddColumns.add_columns:type_name -> greptime.v1.AddColumn + 12, // 47: greptime.v1.DropDefaults.drop_defaults:type_name -> greptime.v1.DropDefault + 15, // 48: greptime.v1.SetDefaults.set_defaults:type_name -> greptime.v1.SetDefault + 33, // 49: greptime.v1.DropColumns.drop_columns:type_name -> greptime.v1.DropColumn + 29, // 50: greptime.v1.ModifyColumnTypes.modify_column_types:type_name -> greptime.v1.ModifyColumnType + 36, // 51: greptime.v1.AddColumn.column_def:type_name -> greptime.v1.ColumnDef + 37, // 52: greptime.v1.AddColumn.location:type_name -> greptime.v1.AddColumnLocation + 62, // 53: greptime.v1.ModifyColumnType.target_type:type_name -> greptime.v1.ColumnDataType + 63, // 54: greptime.v1.ModifyColumnType.target_type_extension:type_name -> greptime.v1.ColumnDataTypeExtension + 30, // 55: greptime.v1.SetTableOptions.table_options:type_name -> greptime.v1.Option + 62, // 56: greptime.v1.ColumnDef.data_type:type_name -> greptime.v1.ColumnDataType + 64, // 57: greptime.v1.ColumnDef.semantic_type:type_name -> greptime.v1.SemanticType + 63, // 58: greptime.v1.ColumnDef.datatype_extension:type_name -> greptime.v1.ColumnDataTypeExtension + 65, // 59: greptime.v1.ColumnDef.options:type_name -> greptime.v1.ColumnOptions + 4, // 60: greptime.v1.AddColumnLocation.location_type:type_name -> greptime.v1.AddColumnLocation.LocationType + 0, // 61: greptime.v1.SetFulltext.analyzer:type_name -> greptime.v1.Analyzer + 1, // 62: greptime.v1.SetFulltext.backend:type_name -> greptime.v1.FulltextBackend + 2, // 63: greptime.v1.SetSkipping.skipping_index_type:type_name -> greptime.v1.SkippingIndexType + 45, // 64: greptime.v1.AlterDatabaseExpr.set_database_options:type_name -> greptime.v1.SetDatabaseOptions + 46, // 65: greptime.v1.AlterDatabaseExpr.unset_database_options:type_name -> greptime.v1.UnsetDatabaseOptions + 30, // 66: greptime.v1.SetDatabaseOptions.set_database_options:type_name -> greptime.v1.Option + 48, // 67: greptime.v1.CreateTriggerExpr.channels:type_name -> greptime.v1.NotifyChannel + 55, // 68: greptime.v1.CreateTriggerExpr.labels:type_name -> greptime.v1.CreateTriggerExpr.LabelsEntry + 56, // 69: greptime.v1.CreateTriggerExpr.annotations:type_name -> greptime.v1.CreateTriggerExpr.AnnotationsEntry + 66, // 70: greptime.v1.CreateTriggerExpr.interval:type_name -> google.protobuf.Duration + 66, // 71: greptime.v1.CreateTriggerExpr.for:type_name -> google.protobuf.Duration + 66, // 72: greptime.v1.CreateTriggerExpr.keep_firing_for:type_name -> google.protobuf.Duration + 49, // 73: greptime.v1.NotifyChannel.webhook:type_name -> greptime.v1.WebhookOptions + 57, // 74: greptime.v1.WebhookOptions.opts:type_name -> greptime.v1.WebhookOptions.OptsEntry + 3, // 75: greptime.v1.CommentOnExpr.object_type:type_name -> greptime.v1.CommentObjectType + 76, // [76:76] is the sub-list for method output_type + 76, // [76:76] is the sub-list for method input_type + 76, // [76:76] is the sub-list for extension type_name + 76, // [76:76] is the sub-list for extension extendee + 0, // [0:76] is the sub-list for field type_name } func init() { file_greptime_v1_ddl_proto_init() } @@ -4940,6 +5120,18 @@ func file_greptime_v1_ddl_proto_init() { return nil } } + file_greptime_v1_ddl_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommentOnExpr); 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[0].OneofWrappers = []interface{}{ (*DdlRequest_CreateDatabase)(nil), @@ -4952,6 +5144,7 @@ func file_greptime_v1_ddl_proto_init() { (*DdlRequest_CreateView)(nil), (*DdlRequest_DropView)(nil), (*DdlRequest_AlterDatabase)(nil), + (*DdlRequest_CommentOn)(nil), } file_greptime_v1_ddl_proto_msgTypes[6].OneofWrappers = []interface{}{ (*AlterTableExpr_AddColumns)(nil), @@ -4989,8 +5182,8 @@ func file_greptime_v1_ddl_proto_init() { File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_greptime_v1_ddl_proto_rawDesc, - NumEnums: 4, - NumMessages: 52, + NumEnums: 5, + NumMessages: 53, NumExtensions: 0, NumServices: 0, }, diff --git a/go/greptime/v1/meta/ddl.pb.go b/go/greptime/v1/meta/ddl.pb.go index 91f574e..cdc77ae 100644 --- a/go/greptime/v1/meta/ddl.pb.go +++ b/go/greptime/v1/meta/ddl.pb.go @@ -860,6 +860,53 @@ func (x *DropTriggerTask) GetDropTrigger() *v1.DropTriggerExpr { return nil } +type CommentOnTask struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + CommentOn *v1.CommentOnExpr `protobuf:"bytes,1,opt,name=comment_on,json=commentOn,proto3" json:"comment_on,omitempty"` +} + +func (x *CommentOnTask) Reset() { + *x = CommentOnTask{} + if protoimpl.UnsafeEnabled { + mi := &file_greptime_v1_meta_ddl_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CommentOnTask) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CommentOnTask) ProtoMessage() {} + +func (x *CommentOnTask) ProtoReflect() protoreflect.Message { + mi := &file_greptime_v1_meta_ddl_proto_msgTypes[16] + 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 CommentOnTask.ProtoReflect.Descriptor instead. +func (*CommentOnTask) Descriptor() ([]byte, []int) { + return file_greptime_v1_meta_ddl_proto_rawDescGZIP(), []int{16} +} + +func (x *CommentOnTask) GetCommentOn() *v1.CommentOnExpr { + if x != nil { + return x.CommentOn + } + return nil +} + type DdlTaskRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -885,13 +932,14 @@ type DdlTaskRequest struct { // *DdlTaskRequest_AlterDatabaseTask // *DdlTaskRequest_CreateTriggerTask // *DdlTaskRequest_DropTriggerTask + // *DdlTaskRequest_CommentOnTask Task isDdlTaskRequest_Task `protobuf_oneof:"task"` } func (x *DdlTaskRequest) Reset() { *x = DdlTaskRequest{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_meta_ddl_proto_msgTypes[16] + mi := &file_greptime_v1_meta_ddl_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -904,7 +952,7 @@ func (x *DdlTaskRequest) String() string { func (*DdlTaskRequest) ProtoMessage() {} func (x *DdlTaskRequest) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_meta_ddl_proto_msgTypes[16] + mi := &file_greptime_v1_meta_ddl_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -917,7 +965,7 @@ func (x *DdlTaskRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DdlTaskRequest.ProtoReflect.Descriptor instead. func (*DdlTaskRequest) Descriptor() ([]byte, []int) { - return file_greptime_v1_meta_ddl_proto_rawDescGZIP(), []int{16} + return file_greptime_v1_meta_ddl_proto_rawDescGZIP(), []int{17} } func (x *DdlTaskRequest) GetHeader() *RequestHeader { @@ -1053,6 +1101,13 @@ func (x *DdlTaskRequest) GetDropTriggerTask() *DropTriggerTask { return nil } +func (x *DdlTaskRequest) GetCommentOnTask() *CommentOnTask { + if x, ok := x.GetTask().(*DdlTaskRequest_CommentOnTask); ok { + return x.CommentOnTask + } + return nil +} + type isDdlTaskRequest_Task interface { isDdlTaskRequest_Task() } @@ -1121,6 +1176,10 @@ type DdlTaskRequest_DropTriggerTask struct { DropTriggerTask *DropTriggerTask `protobuf:"bytes,17,opt,name=drop_trigger_task,json=dropTriggerTask,proto3,oneof"` } +type DdlTaskRequest_CommentOnTask struct { + CommentOnTask *CommentOnTask `protobuf:"bytes,18,opt,name=comment_on_task,json=commentOnTask,proto3,oneof"` +} + func (*DdlTaskRequest_CreateTableTask) isDdlTaskRequest_Task() {} func (*DdlTaskRequest_DropTableTask) isDdlTaskRequest_Task() {} @@ -1153,6 +1212,8 @@ func (*DdlTaskRequest_CreateTriggerTask) isDdlTaskRequest_Task() {} func (*DdlTaskRequest_DropTriggerTask) isDdlTaskRequest_Task() {} +func (*DdlTaskRequest_CommentOnTask) isDdlTaskRequest_Task() {} + type DdlTaskResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1167,7 +1228,7 @@ type DdlTaskResponse struct { func (x *DdlTaskResponse) Reset() { *x = DdlTaskResponse{} if protoimpl.UnsafeEnabled { - mi := &file_greptime_v1_meta_ddl_proto_msgTypes[17] + mi := &file_greptime_v1_meta_ddl_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1180,7 +1241,7 @@ func (x *DdlTaskResponse) String() string { func (*DdlTaskResponse) ProtoMessage() {} func (x *DdlTaskResponse) ProtoReflect() protoreflect.Message { - mi := &file_greptime_v1_meta_ddl_proto_msgTypes[17] + mi := &file_greptime_v1_meta_ddl_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1193,7 +1254,7 @@ func (x *DdlTaskResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DdlTaskResponse.ProtoReflect.Descriptor instead. func (*DdlTaskResponse) Descriptor() ([]byte, []int) { - return file_greptime_v1_meta_ddl_proto_rawDescGZIP(), []int{17} + return file_greptime_v1_meta_ddl_proto_rawDescGZIP(), []int{18} } func (x *DdlTaskResponse) GetHeader() *ResponseHeader { @@ -1318,115 +1379,124 @@ var file_greptime_v1_meta_ddl_proto_rawDesc = []byte{ 0x67, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x45, 0x78, 0x70, 0x72, 0x52, 0x0b, 0x64, 0x72, 0x6f, 0x70, 0x54, 0x72, 0x69, - 0x67, 0x67, 0x65, 0x72, 0x22, 0x9e, 0x0b, 0x0a, 0x0e, 0x44, 0x64, 0x6c, 0x54, 0x61, 0x73, 0x6b, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, - 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, - 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, - 0x12, 0x3e, 0x0a, 0x0d, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, - 0x74, 0x18, 0x40, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, - 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, - 0x78, 0x74, 0x52, 0x0c, 0x71, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, - 0x12, 0x4f, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, - 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, - 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, - 0x52, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, - 0x6b, 0x12, 0x49, 0x0a, 0x0f, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, - 0x74, 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, - 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x72, - 0x6f, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0d, 0x64, - 0x72, 0x6f, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x4c, 0x0a, 0x10, - 0x61, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x54, - 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0e, 0x61, 0x6c, 0x74, 0x65, - 0x72, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x55, 0x0a, 0x13, 0x74, 0x72, - 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x61, 0x73, - 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, - 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x75, 0x6e, 0x63, - 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x11, - 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, - 0x6b, 0x12, 0x52, 0x0a, 0x12, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, - 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, - 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, - 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, - 0x73, 0x48, 0x00, 0x52, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, - 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x4c, 0x0a, 0x10, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x74, 0x61, - 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, - 0x74, 0x61, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, - 0x73, 0x48, 0x00, 0x52, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, - 0x73, 0x6b, 0x73, 0x12, 0x4f, 0x0a, 0x11, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x74, 0x61, 0x62, - 0x6c, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, - 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, - 0x61, 0x2e, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, - 0x73, 0x48, 0x00, 0x52, 0x0f, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, - 0x61, 0x73, 0x6b, 0x73, 0x12, 0x52, 0x0a, 0x12, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x64, 0x61, 0x74, - 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x22, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, - 0x65, 0x74, 0x61, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, - 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x10, 0x64, 0x72, 0x6f, 0x70, 0x44, 0x61, 0x74, 0x61, - 0x62, 0x61, 0x73, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x58, 0x0a, 0x14, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, - 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x12, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x54, 0x61, - 0x73, 0x6b, 0x12, 0x4c, 0x0a, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x66, 0x6c, 0x6f, - 0x77, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, - 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, - 0x52, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b, - 0x12, 0x46, 0x0a, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x74, 0x61, - 0x73, 0x6b, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, - 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x72, 0x6f, 0x70, - 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70, - 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x4c, 0x0a, 0x10, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x0d, 0x20, 0x01, + 0x67, 0x67, 0x65, 0x72, 0x22, 0x4a, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x4f, + 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, + 0x5f, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x65, 0x70, + 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x4f, + 0x6e, 0x45, 0x78, 0x70, 0x72, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x6e, + 0x22, 0xe9, 0x0b, 0x0a, 0x0e, 0x44, 0x64, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, + 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x3e, 0x0a, 0x0d, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x40, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x0c, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x4f, 0x0a, 0x11, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x61, 0x73, + 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, + 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0f, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x49, 0x0a, + 0x0f, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x54, 0x61, + 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0d, 0x64, 0x72, 0x6f, 0x70, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x4c, 0x0a, 0x10, 0x61, 0x6c, 0x74, 0x65, + 0x72, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69, 0x65, 0x77, - 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69, - 0x65, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x46, 0x0a, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x76, - 0x69, 0x65, 0x77, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, + 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0e, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x55, 0x0a, 0x13, 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, + 0x74, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x11, 0x74, 0x72, 0x75, 0x6e, + 0x63, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x52, 0x0a, + 0x12, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x61, + 0x73, 0x6b, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x72, 0x65, 0x70, + 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x48, 0x00, 0x52, + 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, + 0x73, 0x12, 0x4c, 0x0a, 0x10, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, + 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, + 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x44, + 0x72, 0x6f, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x48, 0x00, 0x52, + 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, + 0x4f, 0x0a, 0x11, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, + 0x61, 0x73, 0x6b, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, + 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x41, 0x6c, + 0x74, 0x65, 0x72, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x48, 0x00, 0x52, + 0x0f, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, + 0x12, 0x52, 0x0a, 0x12, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, + 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, + 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, + 0x44, 0x72, 0x6f, 0x70, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x54, 0x61, 0x73, 0x6b, + 0x48, 0x00, 0x52, 0x10, 0x64, 0x72, 0x6f, 0x70, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, + 0x54, 0x61, 0x73, 0x6b, 0x12, 0x58, 0x0a, 0x14, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x64, + 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x0a, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, + 0x62, 0x61, 0x73, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x12, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x4c, + 0x0a, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x74, 0x61, + 0x73, 0x6b, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, + 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0e, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x46, 0x0a, 0x0e, + 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x0c, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x46, 0x6c, 0x6f, 0x77, + 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x46, 0x6c, 0x6f, 0x77, + 0x54, 0x61, 0x73, 0x6b, 0x12, 0x4c, 0x0a, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x76, + 0x69, 0x65, 0x77, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, - 0x61, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x56, 0x69, 0x65, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, - 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x56, 0x69, 0x65, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x55, - 0x0a, 0x13, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, - 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x72, - 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x41, - 0x6c, 0x74, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x54, 0x61, 0x73, 0x6b, - 0x48, 0x00, 0x52, 0x11, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, - 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x55, 0x0a, 0x13, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, - 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x10, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x69, 0x67, - 0x67, 0x65, 0x72, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x4f, 0x0a, 0x11, - 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x74, 0x61, 0x73, - 0x6b, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, - 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x54, - 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0f, 0x64, 0x72, - 0x6f, 0x70, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x54, 0x61, 0x73, 0x6b, 0x42, 0x06, 0x0a, - 0x04, 0x74, 0x61, 0x73, 0x6b, 0x22, 0xaf, 0x01, 0x0a, 0x0f, 0x44, 0x64, 0x6c, 0x54, 0x61, 0x73, - 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x06, 0x68, 0x65, 0x61, - 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, - 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, - 0x64, 0x65, 0x72, 0x12, 0x2f, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, - 0x65, 0x74, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x49, 0x64, 0x52, - 0x03, 0x70, 0x69, 0x64, 0x12, 0x31, 0x0a, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, - 0x73, 0x18, 0x05, 0x20, 0x03, 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, 0x08, 0x74, - 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x73, 0x2a, 0x23, 0x0a, 0x0b, 0x44, 0x64, 0x6c, 0x54, 0x61, - 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x72, 0x6f, 0x70, 0x10, 0x01, 0x42, 0x3c, 0x5a, 0x3a, - 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, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, + 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69, 0x65, 0x77, 0x54, 0x61, 0x73, 0x6b, + 0x48, 0x00, 0x52, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69, 0x65, 0x77, 0x54, 0x61, + 0x73, 0x6b, 0x12, 0x46, 0x0a, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x5f, + 0x74, 0x61, 0x73, 0x6b, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, + 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x72, + 0x6f, 0x70, 0x56, 0x69, 0x65, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0c, 0x64, 0x72, + 0x6f, 0x70, 0x56, 0x69, 0x65, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x55, 0x0a, 0x13, 0x61, 0x6c, + 0x74, 0x65, 0x72, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x74, 0x61, 0x73, + 0x6b, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, + 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x41, 0x6c, 0x74, 0x65, 0x72, + 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x11, + 0x61, 0x6c, 0x74, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x54, 0x61, 0x73, + 0x6b, 0x12, 0x55, 0x0a, 0x13, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x72, 0x69, 0x67, + 0x67, 0x65, 0x72, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, + 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, + 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x54, + 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x69, + 0x67, 0x67, 0x65, 0x72, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x4f, 0x0a, 0x11, 0x64, 0x72, 0x6f, 0x70, + 0x5f, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x11, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x54, 0x72, 0x69, 0x67, 0x67, + 0x65, 0x72, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0f, 0x64, 0x72, 0x6f, 0x70, 0x54, 0x72, + 0x69, 0x67, 0x67, 0x65, 0x72, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x49, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, + 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6f, 0x6e, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x12, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x6e, 0x54, + 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x6e, + 0x54, 0x61, 0x73, 0x6b, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x61, 0x73, 0x6b, 0x22, 0xaf, 0x01, 0x0a, + 0x0f, 0x44, 0x64, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x38, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, + 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x65, 0x61, 0x64, + 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x2f, 0x0a, 0x03, 0x70, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, + 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, + 0x64, 0x75, 0x72, 0x65, 0x49, 0x64, 0x52, 0x03, 0x70, 0x69, 0x64, 0x12, 0x31, 0x0a, 0x09, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 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, 0x08, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x73, 0x2a, 0x23, + 0x0a, 0x0b, 0x44, 0x64, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a, 0x0a, + 0x06, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x72, 0x6f, + 0x70, 0x10, 0x01, 0x42, 0x3c, 0x5a, 0x3a, 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, 0x2f, 0x6d, 0x65, 0x74, + 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -1442,7 +1512,7 @@ func file_greptime_v1_meta_ddl_proto_rawDescGZIP() []byte { } var file_greptime_v1_meta_ddl_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_greptime_v1_meta_ddl_proto_msgTypes = make([]protoimpl.MessageInfo, 18) +var file_greptime_v1_meta_ddl_proto_msgTypes = make([]protoimpl.MessageInfo, 19) var file_greptime_v1_meta_ddl_proto_goTypes = []interface{}{ (DdlTaskType)(0), // 0: greptime.v1.meta.DdlTaskType (*CreateDatabaseTask)(nil), // 1: greptime.v1.meta.CreateDatabaseTask @@ -1461,72 +1531,76 @@ var file_greptime_v1_meta_ddl_proto_goTypes = []interface{}{ (*AlterDatabaseTask)(nil), // 14: greptime.v1.meta.AlterDatabaseTask (*CreateTriggerTask)(nil), // 15: greptime.v1.meta.CreateTriggerTask (*DropTriggerTask)(nil), // 16: greptime.v1.meta.DropTriggerTask - (*DdlTaskRequest)(nil), // 17: greptime.v1.meta.DdlTaskRequest - (*DdlTaskResponse)(nil), // 18: greptime.v1.meta.DdlTaskResponse - (*v1.CreateDatabaseExpr)(nil), // 19: greptime.v1.CreateDatabaseExpr - (*v1.CreateTableExpr)(nil), // 20: greptime.v1.CreateTableExpr - (*Partition)(nil), // 21: greptime.v1.meta.Partition - (*v1.DropTableExpr)(nil), // 22: greptime.v1.DropTableExpr - (*v1.AlterTableExpr)(nil), // 23: greptime.v1.AlterTableExpr - (*v1.TruncateTableExpr)(nil), // 24: greptime.v1.TruncateTableExpr - (*v1.DropDatabaseExpr)(nil), // 25: greptime.v1.DropDatabaseExpr - (*v1.CreateFlowExpr)(nil), // 26: greptime.v1.CreateFlowExpr - (*v1.DropFlowExpr)(nil), // 27: greptime.v1.DropFlowExpr - (*v1.CreateViewExpr)(nil), // 28: greptime.v1.CreateViewExpr - (*v1.DropViewExpr)(nil), // 29: greptime.v1.DropViewExpr - (*v1.AlterDatabaseExpr)(nil), // 30: greptime.v1.AlterDatabaseExpr - (*v1.CreateTriggerExpr)(nil), // 31: greptime.v1.CreateTriggerExpr - (*v1.DropTriggerExpr)(nil), // 32: greptime.v1.DropTriggerExpr - (*RequestHeader)(nil), // 33: greptime.v1.meta.RequestHeader - (*v1.QueryContext)(nil), // 34: greptime.v1.QueryContext - (*ResponseHeader)(nil), // 35: greptime.v1.meta.ResponseHeader - (*ProcedureId)(nil), // 36: greptime.v1.meta.ProcedureId - (*v1.TableId)(nil), // 37: greptime.v1.TableId + (*CommentOnTask)(nil), // 17: greptime.v1.meta.CommentOnTask + (*DdlTaskRequest)(nil), // 18: greptime.v1.meta.DdlTaskRequest + (*DdlTaskResponse)(nil), // 19: greptime.v1.meta.DdlTaskResponse + (*v1.CreateDatabaseExpr)(nil), // 20: greptime.v1.CreateDatabaseExpr + (*v1.CreateTableExpr)(nil), // 21: greptime.v1.CreateTableExpr + (*Partition)(nil), // 22: greptime.v1.meta.Partition + (*v1.DropTableExpr)(nil), // 23: greptime.v1.DropTableExpr + (*v1.AlterTableExpr)(nil), // 24: greptime.v1.AlterTableExpr + (*v1.TruncateTableExpr)(nil), // 25: greptime.v1.TruncateTableExpr + (*v1.DropDatabaseExpr)(nil), // 26: greptime.v1.DropDatabaseExpr + (*v1.CreateFlowExpr)(nil), // 27: greptime.v1.CreateFlowExpr + (*v1.DropFlowExpr)(nil), // 28: greptime.v1.DropFlowExpr + (*v1.CreateViewExpr)(nil), // 29: greptime.v1.CreateViewExpr + (*v1.DropViewExpr)(nil), // 30: greptime.v1.DropViewExpr + (*v1.AlterDatabaseExpr)(nil), // 31: greptime.v1.AlterDatabaseExpr + (*v1.CreateTriggerExpr)(nil), // 32: greptime.v1.CreateTriggerExpr + (*v1.DropTriggerExpr)(nil), // 33: greptime.v1.DropTriggerExpr + (*v1.CommentOnExpr)(nil), // 34: greptime.v1.CommentOnExpr + (*RequestHeader)(nil), // 35: greptime.v1.meta.RequestHeader + (*v1.QueryContext)(nil), // 36: greptime.v1.QueryContext + (*ResponseHeader)(nil), // 37: greptime.v1.meta.ResponseHeader + (*ProcedureId)(nil), // 38: greptime.v1.meta.ProcedureId + (*v1.TableId)(nil), // 39: greptime.v1.TableId } var file_greptime_v1_meta_ddl_proto_depIdxs = []int32{ - 19, // 0: greptime.v1.meta.CreateDatabaseTask.create_database:type_name -> greptime.v1.CreateDatabaseExpr - 20, // 1: greptime.v1.meta.CreateTableTask.create_table:type_name -> greptime.v1.CreateTableExpr - 21, // 2: greptime.v1.meta.CreateTableTask.partitions:type_name -> greptime.v1.meta.Partition + 20, // 0: greptime.v1.meta.CreateDatabaseTask.create_database:type_name -> greptime.v1.CreateDatabaseExpr + 21, // 1: greptime.v1.meta.CreateTableTask.create_table:type_name -> greptime.v1.CreateTableExpr + 22, // 2: greptime.v1.meta.CreateTableTask.partitions:type_name -> greptime.v1.meta.Partition 2, // 3: greptime.v1.meta.CreateTableTasks.tasks:type_name -> greptime.v1.meta.CreateTableTask - 22, // 4: greptime.v1.meta.DropTableTask.drop_table:type_name -> greptime.v1.DropTableExpr + 23, // 4: greptime.v1.meta.DropTableTask.drop_table:type_name -> greptime.v1.DropTableExpr 4, // 5: greptime.v1.meta.DropTableTasks.tasks:type_name -> greptime.v1.meta.DropTableTask - 23, // 6: greptime.v1.meta.AlterTableTask.alter_table:type_name -> greptime.v1.AlterTableExpr + 24, // 6: greptime.v1.meta.AlterTableTask.alter_table:type_name -> greptime.v1.AlterTableExpr 6, // 7: greptime.v1.meta.AlterTableTasks.tasks:type_name -> greptime.v1.meta.AlterTableTask - 24, // 8: greptime.v1.meta.TruncateTableTask.truncate_table:type_name -> greptime.v1.TruncateTableExpr - 25, // 9: greptime.v1.meta.DropDatabaseTask.drop_database:type_name -> greptime.v1.DropDatabaseExpr - 26, // 10: greptime.v1.meta.CreateFlowTask.create_flow:type_name -> greptime.v1.CreateFlowExpr - 27, // 11: greptime.v1.meta.DropFlowTask.drop_flow:type_name -> greptime.v1.DropFlowExpr - 28, // 12: greptime.v1.meta.CreateViewTask.create_view:type_name -> greptime.v1.CreateViewExpr - 29, // 13: greptime.v1.meta.DropViewTask.drop_view:type_name -> greptime.v1.DropViewExpr - 30, // 14: greptime.v1.meta.AlterDatabaseTask.task:type_name -> greptime.v1.AlterDatabaseExpr - 31, // 15: greptime.v1.meta.CreateTriggerTask.create_trigger:type_name -> greptime.v1.CreateTriggerExpr - 32, // 16: greptime.v1.meta.DropTriggerTask.drop_trigger:type_name -> greptime.v1.DropTriggerExpr - 33, // 17: greptime.v1.meta.DdlTaskRequest.header:type_name -> greptime.v1.meta.RequestHeader - 34, // 18: greptime.v1.meta.DdlTaskRequest.query_context:type_name -> greptime.v1.QueryContext - 2, // 19: greptime.v1.meta.DdlTaskRequest.create_table_task:type_name -> greptime.v1.meta.CreateTableTask - 4, // 20: greptime.v1.meta.DdlTaskRequest.drop_table_task:type_name -> greptime.v1.meta.DropTableTask - 6, // 21: greptime.v1.meta.DdlTaskRequest.alter_table_task:type_name -> greptime.v1.meta.AlterTableTask - 8, // 22: greptime.v1.meta.DdlTaskRequest.truncate_table_task:type_name -> greptime.v1.meta.TruncateTableTask - 3, // 23: greptime.v1.meta.DdlTaskRequest.create_table_tasks:type_name -> greptime.v1.meta.CreateTableTasks - 5, // 24: greptime.v1.meta.DdlTaskRequest.drop_table_tasks:type_name -> greptime.v1.meta.DropTableTasks - 7, // 25: greptime.v1.meta.DdlTaskRequest.alter_table_tasks:type_name -> greptime.v1.meta.AlterTableTasks - 9, // 26: greptime.v1.meta.DdlTaskRequest.drop_database_task:type_name -> greptime.v1.meta.DropDatabaseTask - 1, // 27: greptime.v1.meta.DdlTaskRequest.create_database_task:type_name -> greptime.v1.meta.CreateDatabaseTask - 10, // 28: greptime.v1.meta.DdlTaskRequest.create_flow_task:type_name -> greptime.v1.meta.CreateFlowTask - 11, // 29: greptime.v1.meta.DdlTaskRequest.drop_flow_task:type_name -> greptime.v1.meta.DropFlowTask - 12, // 30: greptime.v1.meta.DdlTaskRequest.create_view_task:type_name -> greptime.v1.meta.CreateViewTask - 13, // 31: greptime.v1.meta.DdlTaskRequest.drop_view_task:type_name -> greptime.v1.meta.DropViewTask - 14, // 32: greptime.v1.meta.DdlTaskRequest.alter_database_task:type_name -> greptime.v1.meta.AlterDatabaseTask - 15, // 33: greptime.v1.meta.DdlTaskRequest.create_trigger_task:type_name -> greptime.v1.meta.CreateTriggerTask - 16, // 34: greptime.v1.meta.DdlTaskRequest.drop_trigger_task:type_name -> greptime.v1.meta.DropTriggerTask - 35, // 35: greptime.v1.meta.DdlTaskResponse.header:type_name -> greptime.v1.meta.ResponseHeader - 36, // 36: greptime.v1.meta.DdlTaskResponse.pid:type_name -> greptime.v1.meta.ProcedureId - 37, // 37: greptime.v1.meta.DdlTaskResponse.table_ids:type_name -> greptime.v1.TableId - 38, // [38:38] is the sub-list for method output_type - 38, // [38:38] is the sub-list for method input_type - 38, // [38:38] is the sub-list for extension type_name - 38, // [38:38] is the sub-list for extension extendee - 0, // [0:38] is the sub-list for field type_name + 25, // 8: greptime.v1.meta.TruncateTableTask.truncate_table:type_name -> greptime.v1.TruncateTableExpr + 26, // 9: greptime.v1.meta.DropDatabaseTask.drop_database:type_name -> greptime.v1.DropDatabaseExpr + 27, // 10: greptime.v1.meta.CreateFlowTask.create_flow:type_name -> greptime.v1.CreateFlowExpr + 28, // 11: greptime.v1.meta.DropFlowTask.drop_flow:type_name -> greptime.v1.DropFlowExpr + 29, // 12: greptime.v1.meta.CreateViewTask.create_view:type_name -> greptime.v1.CreateViewExpr + 30, // 13: greptime.v1.meta.DropViewTask.drop_view:type_name -> greptime.v1.DropViewExpr + 31, // 14: greptime.v1.meta.AlterDatabaseTask.task:type_name -> greptime.v1.AlterDatabaseExpr + 32, // 15: greptime.v1.meta.CreateTriggerTask.create_trigger:type_name -> greptime.v1.CreateTriggerExpr + 33, // 16: greptime.v1.meta.DropTriggerTask.drop_trigger:type_name -> greptime.v1.DropTriggerExpr + 34, // 17: greptime.v1.meta.CommentOnTask.comment_on:type_name -> greptime.v1.CommentOnExpr + 35, // 18: greptime.v1.meta.DdlTaskRequest.header:type_name -> greptime.v1.meta.RequestHeader + 36, // 19: greptime.v1.meta.DdlTaskRequest.query_context:type_name -> greptime.v1.QueryContext + 2, // 20: greptime.v1.meta.DdlTaskRequest.create_table_task:type_name -> greptime.v1.meta.CreateTableTask + 4, // 21: greptime.v1.meta.DdlTaskRequest.drop_table_task:type_name -> greptime.v1.meta.DropTableTask + 6, // 22: greptime.v1.meta.DdlTaskRequest.alter_table_task:type_name -> greptime.v1.meta.AlterTableTask + 8, // 23: greptime.v1.meta.DdlTaskRequest.truncate_table_task:type_name -> greptime.v1.meta.TruncateTableTask + 3, // 24: greptime.v1.meta.DdlTaskRequest.create_table_tasks:type_name -> greptime.v1.meta.CreateTableTasks + 5, // 25: greptime.v1.meta.DdlTaskRequest.drop_table_tasks:type_name -> greptime.v1.meta.DropTableTasks + 7, // 26: greptime.v1.meta.DdlTaskRequest.alter_table_tasks:type_name -> greptime.v1.meta.AlterTableTasks + 9, // 27: greptime.v1.meta.DdlTaskRequest.drop_database_task:type_name -> greptime.v1.meta.DropDatabaseTask + 1, // 28: greptime.v1.meta.DdlTaskRequest.create_database_task:type_name -> greptime.v1.meta.CreateDatabaseTask + 10, // 29: greptime.v1.meta.DdlTaskRequest.create_flow_task:type_name -> greptime.v1.meta.CreateFlowTask + 11, // 30: greptime.v1.meta.DdlTaskRequest.drop_flow_task:type_name -> greptime.v1.meta.DropFlowTask + 12, // 31: greptime.v1.meta.DdlTaskRequest.create_view_task:type_name -> greptime.v1.meta.CreateViewTask + 13, // 32: greptime.v1.meta.DdlTaskRequest.drop_view_task:type_name -> greptime.v1.meta.DropViewTask + 14, // 33: greptime.v1.meta.DdlTaskRequest.alter_database_task:type_name -> greptime.v1.meta.AlterDatabaseTask + 15, // 34: greptime.v1.meta.DdlTaskRequest.create_trigger_task:type_name -> greptime.v1.meta.CreateTriggerTask + 16, // 35: greptime.v1.meta.DdlTaskRequest.drop_trigger_task:type_name -> greptime.v1.meta.DropTriggerTask + 17, // 36: greptime.v1.meta.DdlTaskRequest.comment_on_task:type_name -> greptime.v1.meta.CommentOnTask + 37, // 37: greptime.v1.meta.DdlTaskResponse.header:type_name -> greptime.v1.meta.ResponseHeader + 38, // 38: greptime.v1.meta.DdlTaskResponse.pid:type_name -> greptime.v1.meta.ProcedureId + 39, // 39: greptime.v1.meta.DdlTaskResponse.table_ids:type_name -> greptime.v1.TableId + 40, // [40:40] is the sub-list for method output_type + 40, // [40:40] is the sub-list for method input_type + 40, // [40:40] is the sub-list for extension type_name + 40, // [40:40] is the sub-list for extension extendee + 0, // [0:40] is the sub-list for field type_name } func init() { file_greptime_v1_meta_ddl_proto_init() } @@ -1730,7 +1804,7 @@ func file_greptime_v1_meta_ddl_proto_init() { } } file_greptime_v1_meta_ddl_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DdlTaskRequest); i { + switch v := v.(*CommentOnTask); i { case 0: return &v.state case 1: @@ -1742,6 +1816,18 @@ func file_greptime_v1_meta_ddl_proto_init() { } } file_greptime_v1_meta_ddl_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DdlTaskRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_greptime_v1_meta_ddl_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DdlTaskResponse); i { case 0: return &v.state @@ -1754,7 +1840,7 @@ func file_greptime_v1_meta_ddl_proto_init() { } } } - file_greptime_v1_meta_ddl_proto_msgTypes[16].OneofWrappers = []interface{}{ + file_greptime_v1_meta_ddl_proto_msgTypes[17].OneofWrappers = []interface{}{ (*DdlTaskRequest_CreateTableTask)(nil), (*DdlTaskRequest_DropTableTask)(nil), (*DdlTaskRequest_AlterTableTask)(nil), @@ -1771,6 +1857,7 @@ func file_greptime_v1_meta_ddl_proto_init() { (*DdlTaskRequest_AlterDatabaseTask)(nil), (*DdlTaskRequest_CreateTriggerTask)(nil), (*DdlTaskRequest_DropTriggerTask)(nil), + (*DdlTaskRequest_CommentOnTask)(nil), } type x struct{} out := protoimpl.TypeBuilder{ @@ -1778,7 +1865,7 @@ func file_greptime_v1_meta_ddl_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_greptime_v1_meta_ddl_proto_rawDesc, NumEnums: 1, - NumMessages: 18, + NumMessages: 19, NumExtensions: 0, NumServices: 0, }, diff --git a/java/src/main/java/greptime/v1/meta/Ddl.java b/java/src/main/java/greptime/v1/meta/Ddl.java index 71c4376..2fe7d3a 100644 --- a/java/src/main/java/greptime/v1/meta/Ddl.java +++ b/java/src/main/java/greptime/v1/meta/Ddl.java @@ -11153,6 +11153,629 @@ public final class Ddl { } + public interface CommentOnTaskOrBuilder extends + // @@protoc_insertion_point(interface_extends:greptime.v1.meta.CommentOnTask) + com.google.protobuf.MessageOrBuilder { + + /** + * .greptime.v1.CommentOnExpr comment_on = 1; + * @return Whether the commentOn field is set. + */ + boolean hasCommentOn(); + /** + * .greptime.v1.CommentOnExpr comment_on = 1; + * @return The commentOn. + */ + io.greptime.v1.Ddl.CommentOnExpr getCommentOn(); + /** + * .greptime.v1.CommentOnExpr comment_on = 1; + */ + io.greptime.v1.Ddl.CommentOnExprOrBuilder getCommentOnOrBuilder(); + } + /** + * Protobuf type {@code greptime.v1.meta.CommentOnTask} + */ + public static final class CommentOnTask extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:greptime.v1.meta.CommentOnTask) + CommentOnTaskOrBuilder { + private static final long serialVersionUID = 0L; + // Use CommentOnTask.newBuilder() to construct. + private CommentOnTask(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CommentOnTask() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CommentOnTask(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CommentOnTask( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + io.greptime.v1.Ddl.CommentOnExpr.Builder subBuilder = null; + if (commentOn_ != null) { + subBuilder = commentOn_.toBuilder(); + } + commentOn_ = input.readMessage(io.greptime.v1.Ddl.CommentOnExpr.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(commentOn_); + commentOn_ = subBuilder.buildPartial(); + } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_CommentOnTask_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_CommentOnTask_fieldAccessorTable + .ensureFieldAccessorsInitialized( + greptime.v1.meta.Ddl.CommentOnTask.class, greptime.v1.meta.Ddl.CommentOnTask.Builder.class); + } + + public static final int COMMENT_ON_FIELD_NUMBER = 1; + private io.greptime.v1.Ddl.CommentOnExpr commentOn_; + /** + * .greptime.v1.CommentOnExpr comment_on = 1; + * @return Whether the commentOn field is set. + */ + @java.lang.Override + public boolean hasCommentOn() { + return commentOn_ != null; + } + /** + * .greptime.v1.CommentOnExpr comment_on = 1; + * @return The commentOn. + */ + @java.lang.Override + public io.greptime.v1.Ddl.CommentOnExpr getCommentOn() { + return commentOn_ == null ? io.greptime.v1.Ddl.CommentOnExpr.getDefaultInstance() : commentOn_; + } + /** + * .greptime.v1.CommentOnExpr comment_on = 1; + */ + @java.lang.Override + public io.greptime.v1.Ddl.CommentOnExprOrBuilder getCommentOnOrBuilder() { + return getCommentOn(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (commentOn_ != null) { + output.writeMessage(1, getCommentOn()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (commentOn_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCommentOn()); + } + 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 greptime.v1.meta.Ddl.CommentOnTask)) { + return super.equals(obj); + } + greptime.v1.meta.Ddl.CommentOnTask other = (greptime.v1.meta.Ddl.CommentOnTask) obj; + + if (hasCommentOn() != other.hasCommentOn()) return false; + if (hasCommentOn()) { + if (!getCommentOn() + .equals(other.getCommentOn())) 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 (hasCommentOn()) { + hash = (37 * hash) + COMMENT_ON_FIELD_NUMBER; + hash = (53 * hash) + getCommentOn().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static greptime.v1.meta.Ddl.CommentOnTask parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static greptime.v1.meta.Ddl.CommentOnTask parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static greptime.v1.meta.Ddl.CommentOnTask parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static greptime.v1.meta.Ddl.CommentOnTask parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static greptime.v1.meta.Ddl.CommentOnTask parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static greptime.v1.meta.Ddl.CommentOnTask parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static greptime.v1.meta.Ddl.CommentOnTask parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static greptime.v1.meta.Ddl.CommentOnTask 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 greptime.v1.meta.Ddl.CommentOnTask parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static greptime.v1.meta.Ddl.CommentOnTask 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 greptime.v1.meta.Ddl.CommentOnTask parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static greptime.v1.meta.Ddl.CommentOnTask 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(greptime.v1.meta.Ddl.CommentOnTask 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.meta.CommentOnTask} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:greptime.v1.meta.CommentOnTask) + greptime.v1.meta.Ddl.CommentOnTaskOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_CommentOnTask_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_CommentOnTask_fieldAccessorTable + .ensureFieldAccessorsInitialized( + greptime.v1.meta.Ddl.CommentOnTask.class, greptime.v1.meta.Ddl.CommentOnTask.Builder.class); + } + + // Construct using greptime.v1.meta.Ddl.CommentOnTask.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(); + if (commentOnBuilder_ == null) { + commentOn_ = null; + } else { + commentOn_ = null; + commentOnBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return greptime.v1.meta.Ddl.internal_static_greptime_v1_meta_CommentOnTask_descriptor; + } + + @java.lang.Override + public greptime.v1.meta.Ddl.CommentOnTask getDefaultInstanceForType() { + return greptime.v1.meta.Ddl.CommentOnTask.getDefaultInstance(); + } + + @java.lang.Override + public greptime.v1.meta.Ddl.CommentOnTask build() { + greptime.v1.meta.Ddl.CommentOnTask result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public greptime.v1.meta.Ddl.CommentOnTask buildPartial() { + greptime.v1.meta.Ddl.CommentOnTask result = new greptime.v1.meta.Ddl.CommentOnTask(this); + if (commentOnBuilder_ == null) { + result.commentOn_ = commentOn_; + } else { + result.commentOn_ = commentOnBuilder_.build(); + } + 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 greptime.v1.meta.Ddl.CommentOnTask) { + return mergeFrom((greptime.v1.meta.Ddl.CommentOnTask)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(greptime.v1.meta.Ddl.CommentOnTask other) { + if (other == greptime.v1.meta.Ddl.CommentOnTask.getDefaultInstance()) return this; + if (other.hasCommentOn()) { + mergeCommentOn(other.getCommentOn()); + } + 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 { + greptime.v1.meta.Ddl.CommentOnTask parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (greptime.v1.meta.Ddl.CommentOnTask) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private io.greptime.v1.Ddl.CommentOnExpr commentOn_; + private com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Ddl.CommentOnExpr, io.greptime.v1.Ddl.CommentOnExpr.Builder, io.greptime.v1.Ddl.CommentOnExprOrBuilder> commentOnBuilder_; + /** + * .greptime.v1.CommentOnExpr comment_on = 1; + * @return Whether the commentOn field is set. + */ + public boolean hasCommentOn() { + return commentOnBuilder_ != null || commentOn_ != null; + } + /** + * .greptime.v1.CommentOnExpr comment_on = 1; + * @return The commentOn. + */ + public io.greptime.v1.Ddl.CommentOnExpr getCommentOn() { + if (commentOnBuilder_ == null) { + return commentOn_ == null ? io.greptime.v1.Ddl.CommentOnExpr.getDefaultInstance() : commentOn_; + } else { + return commentOnBuilder_.getMessage(); + } + } + /** + * .greptime.v1.CommentOnExpr comment_on = 1; + */ + public Builder setCommentOn(io.greptime.v1.Ddl.CommentOnExpr value) { + if (commentOnBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + commentOn_ = value; + onChanged(); + } else { + commentOnBuilder_.setMessage(value); + } + + return this; + } + /** + * .greptime.v1.CommentOnExpr comment_on = 1; + */ + public Builder setCommentOn( + io.greptime.v1.Ddl.CommentOnExpr.Builder builderForValue) { + if (commentOnBuilder_ == null) { + commentOn_ = builderForValue.build(); + onChanged(); + } else { + commentOnBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .greptime.v1.CommentOnExpr comment_on = 1; + */ + public Builder mergeCommentOn(io.greptime.v1.Ddl.CommentOnExpr value) { + if (commentOnBuilder_ == null) { + if (commentOn_ != null) { + commentOn_ = + io.greptime.v1.Ddl.CommentOnExpr.newBuilder(commentOn_).mergeFrom(value).buildPartial(); + } else { + commentOn_ = value; + } + onChanged(); + } else { + commentOnBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .greptime.v1.CommentOnExpr comment_on = 1; + */ + public Builder clearCommentOn() { + if (commentOnBuilder_ == null) { + commentOn_ = null; + onChanged(); + } else { + commentOn_ = null; + commentOnBuilder_ = null; + } + + return this; + } + /** + * .greptime.v1.CommentOnExpr comment_on = 1; + */ + public io.greptime.v1.Ddl.CommentOnExpr.Builder getCommentOnBuilder() { + + onChanged(); + return getCommentOnFieldBuilder().getBuilder(); + } + /** + * .greptime.v1.CommentOnExpr comment_on = 1; + */ + public io.greptime.v1.Ddl.CommentOnExprOrBuilder getCommentOnOrBuilder() { + if (commentOnBuilder_ != null) { + return commentOnBuilder_.getMessageOrBuilder(); + } else { + return commentOn_ == null ? + io.greptime.v1.Ddl.CommentOnExpr.getDefaultInstance() : commentOn_; + } + } + /** + * .greptime.v1.CommentOnExpr comment_on = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Ddl.CommentOnExpr, io.greptime.v1.Ddl.CommentOnExpr.Builder, io.greptime.v1.Ddl.CommentOnExprOrBuilder> + getCommentOnFieldBuilder() { + if (commentOnBuilder_ == null) { + commentOnBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Ddl.CommentOnExpr, io.greptime.v1.Ddl.CommentOnExpr.Builder, io.greptime.v1.Ddl.CommentOnExprOrBuilder>( + getCommentOn(), + getParentForChildren(), + isClean()); + commentOn_ = null; + } + return commentOnBuilder_; + } + @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.meta.CommentOnTask) + } + + // @@protoc_insertion_point(class_scope:greptime.v1.meta.CommentOnTask) + private static final greptime.v1.meta.Ddl.CommentOnTask DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new greptime.v1.meta.Ddl.CommentOnTask(); + } + + public static greptime.v1.meta.Ddl.CommentOnTask getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CommentOnTask parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CommentOnTask(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 greptime.v1.meta.Ddl.CommentOnTask getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + public interface DdlTaskRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:greptime.v1.meta.DdlTaskRequest) com.google.protobuf.MessageOrBuilder { @@ -11427,6 +12050,21 @@ public final class Ddl { */ greptime.v1.meta.Ddl.DropTriggerTaskOrBuilder getDropTriggerTaskOrBuilder(); + /** + * .greptime.v1.meta.CommentOnTask comment_on_task = 18; + * @return Whether the commentOnTask field is set. + */ + boolean hasCommentOnTask(); + /** + * .greptime.v1.meta.CommentOnTask comment_on_task = 18; + * @return The commentOnTask. + */ + greptime.v1.meta.Ddl.CommentOnTask getCommentOnTask(); + /** + * .greptime.v1.meta.CommentOnTask comment_on_task = 18; + */ + greptime.v1.meta.Ddl.CommentOnTaskOrBuilder getCommentOnTaskOrBuilder(); + public greptime.v1.meta.Ddl.DdlTaskRequest.TaskCase getTaskCase(); } /** @@ -11711,6 +12349,20 @@ public final class Ddl { taskCase_ = 17; break; } + case 146: { + greptime.v1.meta.Ddl.CommentOnTask.Builder subBuilder = null; + if (taskCase_ == 18) { + subBuilder = ((greptime.v1.meta.Ddl.CommentOnTask) task_).toBuilder(); + } + task_ = + input.readMessage(greptime.v1.meta.Ddl.CommentOnTask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((greptime.v1.meta.Ddl.CommentOnTask) task_); + task_ = subBuilder.buildPartial(); + } + taskCase_ = 18; + break; + } case 514: { io.greptime.v1.Common.QueryContext.Builder subBuilder = null; if (queryContext_ != null) { @@ -11779,6 +12431,7 @@ public final class Ddl { ALTER_DATABASE_TASK(15), CREATE_TRIGGER_TASK(16), DROP_TRIGGER_TASK(17), + COMMENT_ON_TASK(18), TASK_NOT_SET(0); private final int value; private TaskCase(int value) { @@ -11812,6 +12465,7 @@ public final class Ddl { case 15: return ALTER_DATABASE_TASK; case 16: return CREATE_TRIGGER_TASK; case 17: return DROP_TRIGGER_TASK; + case 18: return COMMENT_ON_TASK; case 0: return TASK_NOT_SET; default: return null; } @@ -12375,6 +13029,37 @@ public final class Ddl { return greptime.v1.meta.Ddl.DropTriggerTask.getDefaultInstance(); } + public static final int COMMENT_ON_TASK_FIELD_NUMBER = 18; + /** + * .greptime.v1.meta.CommentOnTask comment_on_task = 18; + * @return Whether the commentOnTask field is set. + */ + @java.lang.Override + public boolean hasCommentOnTask() { + return taskCase_ == 18; + } + /** + * .greptime.v1.meta.CommentOnTask comment_on_task = 18; + * @return The commentOnTask. + */ + @java.lang.Override + public greptime.v1.meta.Ddl.CommentOnTask getCommentOnTask() { + if (taskCase_ == 18) { + return (greptime.v1.meta.Ddl.CommentOnTask) task_; + } + return greptime.v1.meta.Ddl.CommentOnTask.getDefaultInstance(); + } + /** + * .greptime.v1.meta.CommentOnTask comment_on_task = 18; + */ + @java.lang.Override + public greptime.v1.meta.Ddl.CommentOnTaskOrBuilder getCommentOnTaskOrBuilder() { + if (taskCase_ == 18) { + return (greptime.v1.meta.Ddl.CommentOnTask) task_; + } + return greptime.v1.meta.Ddl.CommentOnTask.getDefaultInstance(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -12440,6 +13125,9 @@ public final class Ddl { if (taskCase_ == 17) { output.writeMessage(17, (greptime.v1.meta.Ddl.DropTriggerTask) task_); } + if (taskCase_ == 18) { + output.writeMessage(18, (greptime.v1.meta.Ddl.CommentOnTask) task_); + } if (queryContext_ != null) { output.writeMessage(64, getQueryContext()); } @@ -12520,6 +13208,10 @@ public final class Ddl { size += com.google.protobuf.CodedOutputStream .computeMessageSize(17, (greptime.v1.meta.Ddl.DropTriggerTask) task_); } + if (taskCase_ == 18) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(18, (greptime.v1.meta.Ddl.CommentOnTask) task_); + } if (queryContext_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(64, getQueryContext()); @@ -12615,6 +13307,10 @@ public final class Ddl { if (!getDropTriggerTask() .equals(other.getDropTriggerTask())) return false; break; + case 18: + if (!getCommentOnTask() + .equals(other.getCommentOnTask())) return false; + break; case 0: default: } @@ -12702,6 +13398,10 @@ public final class Ddl { hash = (37 * hash) + DROP_TRIGGER_TASK_FIELD_NUMBER; hash = (53 * hash) + getDropTriggerTask().hashCode(); break; + case 18: + hash = (37 * hash) + COMMENT_ON_TASK_FIELD_NUMBER; + hash = (53 * hash) + getCommentOnTask().hashCode(); + break; case 0: default: } @@ -13000,6 +13700,13 @@ public final class Ddl { result.task_ = dropTriggerTaskBuilder_.build(); } } + if (taskCase_ == 18) { + if (commentOnTaskBuilder_ == null) { + result.task_ = task_; + } else { + result.task_ = commentOnTaskBuilder_.build(); + } + } result.taskCase_ = taskCase_; onBuilt(); return result; @@ -13120,6 +13827,10 @@ public final class Ddl { mergeDropTriggerTask(other.getDropTriggerTask()); break; } + case COMMENT_ON_TASK: { + mergeCommentOnTask(other.getCommentOnTask()); + break; + } case TASK_NOT_SET: { break; } @@ -15677,6 +16388,148 @@ public final class Ddl { onChanged();; return dropTriggerTaskBuilder_; } + + private com.google.protobuf.SingleFieldBuilderV3< + greptime.v1.meta.Ddl.CommentOnTask, greptime.v1.meta.Ddl.CommentOnTask.Builder, greptime.v1.meta.Ddl.CommentOnTaskOrBuilder> commentOnTaskBuilder_; + /** + * .greptime.v1.meta.CommentOnTask comment_on_task = 18; + * @return Whether the commentOnTask field is set. + */ + @java.lang.Override + public boolean hasCommentOnTask() { + return taskCase_ == 18; + } + /** + * .greptime.v1.meta.CommentOnTask comment_on_task = 18; + * @return The commentOnTask. + */ + @java.lang.Override + public greptime.v1.meta.Ddl.CommentOnTask getCommentOnTask() { + if (commentOnTaskBuilder_ == null) { + if (taskCase_ == 18) { + return (greptime.v1.meta.Ddl.CommentOnTask) task_; + } + return greptime.v1.meta.Ddl.CommentOnTask.getDefaultInstance(); + } else { + if (taskCase_ == 18) { + return commentOnTaskBuilder_.getMessage(); + } + return greptime.v1.meta.Ddl.CommentOnTask.getDefaultInstance(); + } + } + /** + * .greptime.v1.meta.CommentOnTask comment_on_task = 18; + */ + public Builder setCommentOnTask(greptime.v1.meta.Ddl.CommentOnTask value) { + if (commentOnTaskBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + task_ = value; + onChanged(); + } else { + commentOnTaskBuilder_.setMessage(value); + } + taskCase_ = 18; + return this; + } + /** + * .greptime.v1.meta.CommentOnTask comment_on_task = 18; + */ + public Builder setCommentOnTask( + greptime.v1.meta.Ddl.CommentOnTask.Builder builderForValue) { + if (commentOnTaskBuilder_ == null) { + task_ = builderForValue.build(); + onChanged(); + } else { + commentOnTaskBuilder_.setMessage(builderForValue.build()); + } + taskCase_ = 18; + return this; + } + /** + * .greptime.v1.meta.CommentOnTask comment_on_task = 18; + */ + public Builder mergeCommentOnTask(greptime.v1.meta.Ddl.CommentOnTask value) { + if (commentOnTaskBuilder_ == null) { + if (taskCase_ == 18 && + task_ != greptime.v1.meta.Ddl.CommentOnTask.getDefaultInstance()) { + task_ = greptime.v1.meta.Ddl.CommentOnTask.newBuilder((greptime.v1.meta.Ddl.CommentOnTask) task_) + .mergeFrom(value).buildPartial(); + } else { + task_ = value; + } + onChanged(); + } else { + if (taskCase_ == 18) { + commentOnTaskBuilder_.mergeFrom(value); + } else { + commentOnTaskBuilder_.setMessage(value); + } + } + taskCase_ = 18; + return this; + } + /** + * .greptime.v1.meta.CommentOnTask comment_on_task = 18; + */ + public Builder clearCommentOnTask() { + if (commentOnTaskBuilder_ == null) { + if (taskCase_ == 18) { + taskCase_ = 0; + task_ = null; + onChanged(); + } + } else { + if (taskCase_ == 18) { + taskCase_ = 0; + task_ = null; + } + commentOnTaskBuilder_.clear(); + } + return this; + } + /** + * .greptime.v1.meta.CommentOnTask comment_on_task = 18; + */ + public greptime.v1.meta.Ddl.CommentOnTask.Builder getCommentOnTaskBuilder() { + return getCommentOnTaskFieldBuilder().getBuilder(); + } + /** + * .greptime.v1.meta.CommentOnTask comment_on_task = 18; + */ + @java.lang.Override + public greptime.v1.meta.Ddl.CommentOnTaskOrBuilder getCommentOnTaskOrBuilder() { + if ((taskCase_ == 18) && (commentOnTaskBuilder_ != null)) { + return commentOnTaskBuilder_.getMessageOrBuilder(); + } else { + if (taskCase_ == 18) { + return (greptime.v1.meta.Ddl.CommentOnTask) task_; + } + return greptime.v1.meta.Ddl.CommentOnTask.getDefaultInstance(); + } + } + /** + * .greptime.v1.meta.CommentOnTask comment_on_task = 18; + */ + private com.google.protobuf.SingleFieldBuilderV3< + greptime.v1.meta.Ddl.CommentOnTask, greptime.v1.meta.Ddl.CommentOnTask.Builder, greptime.v1.meta.Ddl.CommentOnTaskOrBuilder> + getCommentOnTaskFieldBuilder() { + if (commentOnTaskBuilder_ == null) { + if (!(taskCase_ == 18)) { + task_ = greptime.v1.meta.Ddl.CommentOnTask.getDefaultInstance(); + } + commentOnTaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + greptime.v1.meta.Ddl.CommentOnTask, greptime.v1.meta.Ddl.CommentOnTask.Builder, greptime.v1.meta.Ddl.CommentOnTaskOrBuilder>( + (greptime.v1.meta.Ddl.CommentOnTask) task_, + getParentForChildren(), + isClean()); + task_ = null; + } + taskCase_ = 18; + onChanged();; + return commentOnTaskBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -17123,6 +17976,11 @@ public final class Ddl { private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_greptime_v1_meta_DropTriggerTask_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_meta_CommentOnTask_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_meta_CommentOnTask_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_greptime_v1_meta_DdlTaskRequest_descriptor; private static final @@ -17176,42 +18034,45 @@ public final class Ddl { "te_trigger\030\001 \001(\0132\036.greptime.v1.CreateTri" + "ggerExpr\"E\n\017DropTriggerTask\0222\n\014drop_trig" + "ger\030\001 \001(\0132\034.greptime.v1.DropTriggerExpr\"" + - "\371\010\n\016DdlTaskRequest\022/\n\006header\030\001 \001(\0132\037.gre" + - "ptime.v1.meta.RequestHeader\0220\n\rquery_con" + - "text\030@ \001(\0132\031.greptime.v1.QueryContext\022>\n" + - "\021create_table_task\030\002 \001(\0132!.greptime.v1.m" + - "eta.CreateTableTaskH\000\022:\n\017drop_table_task" + - "\030\003 \001(\0132\037.greptime.v1.meta.DropTableTaskH" + - "\000\022<\n\020alter_table_task\030\004 \001(\0132 .greptime.v" + - "1.meta.AlterTableTaskH\000\022B\n\023truncate_tabl" + - "e_task\030\005 \001(\0132#.greptime.v1.meta.Truncate" + - "TableTaskH\000\022@\n\022create_table_tasks\030\006 \001(\0132" + - "\".greptime.v1.meta.CreateTableTasksH\000\022<\n" + - "\020drop_table_tasks\030\007 \001(\0132 .greptime.v1.me" + - "ta.DropTableTasksH\000\022>\n\021alter_table_tasks" + - "\030\010 \001(\0132!.greptime.v1.meta.AlterTableTask" + - "sH\000\022@\n\022drop_database_task\030\t \001(\0132\".grepti" + - "me.v1.meta.DropDatabaseTaskH\000\022D\n\024create_" + - "database_task\030\n \001(\0132$.greptime.v1.meta.C" + - "reateDatabaseTaskH\000\022<\n\020create_flow_task\030" + - "\013 \001(\0132 .greptime.v1.meta.CreateFlowTaskH" + - "\000\0228\n\016drop_flow_task\030\014 \001(\0132\036.greptime.v1." + - "meta.DropFlowTaskH\000\022<\n\020create_view_task\030" + - "\r \001(\0132 .greptime.v1.meta.CreateViewTaskH" + - "\000\0228\n\016drop_view_task\030\016 \001(\0132\036.greptime.v1." + - "meta.DropViewTaskH\000\022B\n\023alter_database_ta" + - "sk\030\017 \001(\0132#.greptime.v1.meta.AlterDatabas" + - "eTaskH\000\022B\n\023create_trigger_task\030\020 \001(\0132#.g" + - "reptime.v1.meta.CreateTriggerTaskH\000\022>\n\021d" + - "rop_trigger_task\030\021 \001(\0132!.greptime.v1.met" + - "a.DropTriggerTaskH\000B\006\n\004task\"\230\001\n\017DdlTaskR" + - "esponse\0220\n\006header\030\001 \001(\0132 .greptime.v1.me" + - "ta.ResponseHeader\022*\n\003pid\030\002 \001(\0132\035.greptim" + - "e.v1.meta.ProcedureId\022\'\n\ttable_ids\030\005 \003(\013" + - "2\024.greptime.v1.TableId*#\n\013DdlTaskType\022\n\n" + - "\006Create\020\000\022\010\n\004Drop\020\001B\n\021create_table_t" + + "ask\030\002 \001(\0132!.greptime.v1.meta.CreateTable" + + "TaskH\000\022:\n\017drop_table_task\030\003 \001(\0132\037.grepti" + + "me.v1.meta.DropTableTaskH\000\022<\n\020alter_tabl" + + "e_task\030\004 \001(\0132 .greptime.v1.meta.AlterTab" + + "leTaskH\000\022B\n\023truncate_table_task\030\005 \001(\0132#." + + "greptime.v1.meta.TruncateTableTaskH\000\022@\n\022" + + "create_table_tasks\030\006 \001(\0132\".greptime.v1.m" + + "eta.CreateTableTasksH\000\022<\n\020drop_table_tas" + + "ks\030\007 \001(\0132 .greptime.v1.meta.DropTableTas" + + "ksH\000\022>\n\021alter_table_tasks\030\010 \001(\0132!.grepti" + + "me.v1.meta.AlterTableTasksH\000\022@\n\022drop_dat" + + "abase_task\030\t \001(\0132\".greptime.v1.meta.Drop" + + "DatabaseTaskH\000\022D\n\024create_database_task\030\n" + + " \001(\0132$.greptime.v1.meta.CreateDatabaseTa" + + "skH\000\022<\n\020create_flow_task\030\013 \001(\0132 .greptim" + + "e.v1.meta.CreateFlowTaskH\000\0228\n\016drop_flow_" + + "task\030\014 \001(\0132\036.greptime.v1.meta.DropFlowTa" + + "skH\000\022<\n\020create_view_task\030\r \001(\0132 .greptim" + + "e.v1.meta.CreateViewTaskH\000\0228\n\016drop_view_" + + "task\030\016 \001(\0132\036.greptime.v1.meta.DropViewTa" + + "skH\000\022B\n\023alter_database_task\030\017 \001(\0132#.grep" + + "time.v1.meta.AlterDatabaseTaskH\000\022B\n\023crea" + + "te_trigger_task\030\020 \001(\0132#.greptime.v1.meta" + + ".CreateTriggerTaskH\000\022>\n\021drop_trigger_tas" + + "k\030\021 \001(\0132!.greptime.v1.meta.DropTriggerTa" + + "skH\000\022:\n\017comment_on_task\030\022 \001(\0132\037.greptime" + + ".v1.meta.CommentOnTaskH\000B\006\n\004task\"\230\001\n\017Ddl" + + "TaskResponse\0220\n\006header\030\001 \001(\0132 .greptime." + + "v1.meta.ResponseHeader\022*\n\003pid\030\002 \001(\0132\035.gr" + + "eptime.v1.meta.ProcedureId\022\'\n\ttable_ids\030" + + "\005 \003(\0132\024.greptime.v1.TableId*#\n\013DdlTaskTy" + + "pe\022\n\n\006Create\020\000\022\010\n\004Drop\020\001B + * The type of object to comment on + * + * + * Protobuf enum {@code greptime.v1.CommentObjectType} + */ + public enum CommentObjectType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * TABLE = 0; + */ + TABLE(0), + /** + * COLUMN = 1; + */ + COLUMN(1), + /** + * FLOW = 2; + */ + FLOW(2), + UNRECOGNIZED(-1), + ; + + /** + * TABLE = 0; + */ + public static final int TABLE_VALUE = 0; + /** + * COLUMN = 1; + */ + public static final int COLUMN_VALUE = 1; + /** + * FLOW = 2; + */ + public static final int FLOW_VALUE = 2; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static CommentObjectType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static CommentObjectType forNumber(int value) { + switch (value) { + case 0: return TABLE; + case 1: return COLUMN; + case 2: return FLOW; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + CommentObjectType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CommentObjectType findValueByNumber(int number) { + return CommentObjectType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return io.greptime.v1.Ddl.getDescriptor().getEnumTypes().get(3); + } + + private static final CommentObjectType[] VALUES = values(); + + public static CommentObjectType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private CommentObjectType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:greptime.v1.CommentObjectType) + } + public interface DdlRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:greptime.v1.DdlRequest) com.google.protobuf.MessageOrBuilder { @@ -483,6 +604,21 @@ public final class Ddl { */ io.greptime.v1.Ddl.AlterDatabaseExprOrBuilder getAlterDatabaseOrBuilder(); + /** + * .greptime.v1.CommentOnExpr comment_on = 13; + * @return Whether the commentOn field is set. + */ + boolean hasCommentOn(); + /** + * .greptime.v1.CommentOnExpr comment_on = 13; + * @return The commentOn. + */ + io.greptime.v1.Ddl.CommentOnExpr getCommentOn(); + /** + * .greptime.v1.CommentOnExpr comment_on = 13; + */ + io.greptime.v1.Ddl.CommentOnExprOrBuilder getCommentOnOrBuilder(); + public io.greptime.v1.Ddl.DdlRequest.ExprCase getExprCase(); } /** @@ -677,6 +813,20 @@ public final class Ddl { exprCase_ = 12; break; } + case 106: { + io.greptime.v1.Ddl.CommentOnExpr.Builder subBuilder = null; + if (exprCase_ == 13) { + subBuilder = ((io.greptime.v1.Ddl.CommentOnExpr) expr_).toBuilder(); + } + expr_ = + input.readMessage(io.greptime.v1.Ddl.CommentOnExpr.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((io.greptime.v1.Ddl.CommentOnExpr) expr_); + expr_ = subBuilder.buildPartial(); + } + exprCase_ = 13; + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -726,6 +876,7 @@ public final class Ddl { CREATE_VIEW(10), DROP_VIEW(11), ALTER_DATABASE(12), + COMMENT_ON(13), EXPR_NOT_SET(0); private final int value; private ExprCase(int value) { @@ -753,6 +904,7 @@ public final class Ddl { case 10: return CREATE_VIEW; case 11: return DROP_VIEW; case 12: return ALTER_DATABASE; + case 13: return COMMENT_ON; case 0: return EXPR_NOT_SET; default: return null; } @@ -1078,6 +1230,37 @@ public final class Ddl { return io.greptime.v1.Ddl.AlterDatabaseExpr.getDefaultInstance(); } + public static final int COMMENT_ON_FIELD_NUMBER = 13; + /** + * .greptime.v1.CommentOnExpr comment_on = 13; + * @return Whether the commentOn field is set. + */ + @java.lang.Override + public boolean hasCommentOn() { + return exprCase_ == 13; + } + /** + * .greptime.v1.CommentOnExpr comment_on = 13; + * @return The commentOn. + */ + @java.lang.Override + public io.greptime.v1.Ddl.CommentOnExpr getCommentOn() { + if (exprCase_ == 13) { + return (io.greptime.v1.Ddl.CommentOnExpr) expr_; + } + return io.greptime.v1.Ddl.CommentOnExpr.getDefaultInstance(); + } + /** + * .greptime.v1.CommentOnExpr comment_on = 13; + */ + @java.lang.Override + public io.greptime.v1.Ddl.CommentOnExprOrBuilder getCommentOnOrBuilder() { + if (exprCase_ == 13) { + return (io.greptime.v1.Ddl.CommentOnExpr) expr_; + } + return io.greptime.v1.Ddl.CommentOnExpr.getDefaultInstance(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -1122,6 +1305,9 @@ public final class Ddl { if (exprCase_ == 12) { output.writeMessage(12, (io.greptime.v1.Ddl.AlterDatabaseExpr) expr_); } + if (exprCase_ == 13) { + output.writeMessage(13, (io.greptime.v1.Ddl.CommentOnExpr) expr_); + } unknownFields.writeTo(output); } @@ -1171,6 +1357,10 @@ public final class Ddl { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, (io.greptime.v1.Ddl.AlterDatabaseExpr) expr_); } + if (exprCase_ == 13) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, (io.greptime.v1.Ddl.CommentOnExpr) expr_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -1228,6 +1418,10 @@ public final class Ddl { if (!getAlterDatabase() .equals(other.getAlterDatabase())) return false; break; + case 13: + if (!getCommentOn() + .equals(other.getCommentOn())) return false; + break; case 0: default: } @@ -1283,6 +1477,10 @@ public final class Ddl { hash = (37 * hash) + ALTER_DATABASE_FIELD_NUMBER; hash = (53 * hash) + getAlterDatabase().hashCode(); break; + case 13: + hash = (37 * hash) + COMMENT_ON_FIELD_NUMBER; + hash = (53 * hash) + getCommentOn().hashCode(); + break; case 0: default: } @@ -1524,6 +1722,13 @@ public final class Ddl { result.expr_ = alterDatabaseBuilder_.build(); } } + if (exprCase_ == 13) { + if (commentOnBuilder_ == null) { + result.expr_ = expr_; + } else { + result.expr_ = commentOnBuilder_.build(); + } + } result.exprCase_ = exprCase_; onBuilt(); return result; @@ -1614,6 +1819,10 @@ public final class Ddl { mergeAlterDatabase(other.getAlterDatabase()); break; } + case COMMENT_ON: { + mergeCommentOn(other.getCommentOn()); + break; + } case EXPR_NOT_SET: { break; } @@ -3081,6 +3290,148 @@ public final class Ddl { onChanged();; return alterDatabaseBuilder_; } + + private com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Ddl.CommentOnExpr, io.greptime.v1.Ddl.CommentOnExpr.Builder, io.greptime.v1.Ddl.CommentOnExprOrBuilder> commentOnBuilder_; + /** + * .greptime.v1.CommentOnExpr comment_on = 13; + * @return Whether the commentOn field is set. + */ + @java.lang.Override + public boolean hasCommentOn() { + return exprCase_ == 13; + } + /** + * .greptime.v1.CommentOnExpr comment_on = 13; + * @return The commentOn. + */ + @java.lang.Override + public io.greptime.v1.Ddl.CommentOnExpr getCommentOn() { + if (commentOnBuilder_ == null) { + if (exprCase_ == 13) { + return (io.greptime.v1.Ddl.CommentOnExpr) expr_; + } + return io.greptime.v1.Ddl.CommentOnExpr.getDefaultInstance(); + } else { + if (exprCase_ == 13) { + return commentOnBuilder_.getMessage(); + } + return io.greptime.v1.Ddl.CommentOnExpr.getDefaultInstance(); + } + } + /** + * .greptime.v1.CommentOnExpr comment_on = 13; + */ + public Builder setCommentOn(io.greptime.v1.Ddl.CommentOnExpr value) { + if (commentOnBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + expr_ = value; + onChanged(); + } else { + commentOnBuilder_.setMessage(value); + } + exprCase_ = 13; + return this; + } + /** + * .greptime.v1.CommentOnExpr comment_on = 13; + */ + public Builder setCommentOn( + io.greptime.v1.Ddl.CommentOnExpr.Builder builderForValue) { + if (commentOnBuilder_ == null) { + expr_ = builderForValue.build(); + onChanged(); + } else { + commentOnBuilder_.setMessage(builderForValue.build()); + } + exprCase_ = 13; + return this; + } + /** + * .greptime.v1.CommentOnExpr comment_on = 13; + */ + public Builder mergeCommentOn(io.greptime.v1.Ddl.CommentOnExpr value) { + if (commentOnBuilder_ == null) { + if (exprCase_ == 13 && + expr_ != io.greptime.v1.Ddl.CommentOnExpr.getDefaultInstance()) { + expr_ = io.greptime.v1.Ddl.CommentOnExpr.newBuilder((io.greptime.v1.Ddl.CommentOnExpr) expr_) + .mergeFrom(value).buildPartial(); + } else { + expr_ = value; + } + onChanged(); + } else { + if (exprCase_ == 13) { + commentOnBuilder_.mergeFrom(value); + } else { + commentOnBuilder_.setMessage(value); + } + } + exprCase_ = 13; + return this; + } + /** + * .greptime.v1.CommentOnExpr comment_on = 13; + */ + public Builder clearCommentOn() { + if (commentOnBuilder_ == null) { + if (exprCase_ == 13) { + exprCase_ = 0; + expr_ = null; + onChanged(); + } + } else { + if (exprCase_ == 13) { + exprCase_ = 0; + expr_ = null; + } + commentOnBuilder_.clear(); + } + return this; + } + /** + * .greptime.v1.CommentOnExpr comment_on = 13; + */ + public io.greptime.v1.Ddl.CommentOnExpr.Builder getCommentOnBuilder() { + return getCommentOnFieldBuilder().getBuilder(); + } + /** + * .greptime.v1.CommentOnExpr comment_on = 13; + */ + @java.lang.Override + public io.greptime.v1.Ddl.CommentOnExprOrBuilder getCommentOnOrBuilder() { + if ((exprCase_ == 13) && (commentOnBuilder_ != null)) { + return commentOnBuilder_.getMessageOrBuilder(); + } else { + if (exprCase_ == 13) { + return (io.greptime.v1.Ddl.CommentOnExpr) expr_; + } + return io.greptime.v1.Ddl.CommentOnExpr.getDefaultInstance(); + } + } + /** + * .greptime.v1.CommentOnExpr comment_on = 13; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Ddl.CommentOnExpr, io.greptime.v1.Ddl.CommentOnExpr.Builder, io.greptime.v1.Ddl.CommentOnExprOrBuilder> + getCommentOnFieldBuilder() { + if (commentOnBuilder_ == null) { + if (!(exprCase_ == 13)) { + expr_ = io.greptime.v1.Ddl.CommentOnExpr.getDefaultInstance(); + } + commentOnBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Ddl.CommentOnExpr, io.greptime.v1.Ddl.CommentOnExpr.Builder, io.greptime.v1.Ddl.CommentOnExprOrBuilder>( + (io.greptime.v1.Ddl.CommentOnExpr) expr_, + getParentForChildren(), + isClean()); + expr_ = null; + } + exprCase_ = 13; + onChanged();; + return commentOnBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -51262,6 +51613,1363 @@ java.lang.String defaultValue); } + public interface CommentOnExprOrBuilder extends + // @@protoc_insertion_point(interface_extends:greptime.v1.CommentOnExpr) + com.google.protobuf.MessageOrBuilder { + + /** + * string catalog_name = 1; + * @return The catalogName. + */ + java.lang.String getCatalogName(); + /** + * string catalog_name = 1; + * @return The bytes for catalogName. + */ + com.google.protobuf.ByteString + getCatalogNameBytes(); + + /** + * string schema_name = 2; + * @return The schemaName. + */ + java.lang.String getSchemaName(); + /** + * string schema_name = 2; + * @return The bytes for schemaName. + */ + com.google.protobuf.ByteString + getSchemaNameBytes(); + + /** + * .greptime.v1.CommentObjectType object_type = 3; + * @return The enum numeric value on the wire for objectType. + */ + int getObjectTypeValue(); + /** + * .greptime.v1.CommentObjectType object_type = 3; + * @return The objectType. + */ + io.greptime.v1.Ddl.CommentObjectType getObjectType(); + + /** + * string object_name = 4; + * @return The objectName. + */ + java.lang.String getObjectName(); + /** + * string object_name = 4; + * @return The bytes for objectName. + */ + com.google.protobuf.ByteString + getObjectNameBytes(); + + /** + *
+     * Column name (only for Column comments)
+     * 
+ * + * string column_name = 5; + * @return The columnName. + */ + java.lang.String getColumnName(); + /** + *
+     * Column name (only for Column comments)
+     * 
+ * + * string column_name = 5; + * @return The bytes for columnName. + */ + com.google.protobuf.ByteString + getColumnNameBytes(); + + /** + *
+     * The comment text (null to remove comment)
+     * 
+ * + * string comment = 6; + * @return The comment. + */ + java.lang.String getComment(); + /** + *
+     * The comment text (null to remove comment)
+     * 
+ * + * string comment = 6; + * @return The bytes for comment. + */ + com.google.protobuf.ByteString + getCommentBytes(); + } + /** + *
+   * Comment on a table, column, or flow
+   * 
+ * + * Protobuf type {@code greptime.v1.CommentOnExpr} + */ + public static final class CommentOnExpr extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:greptime.v1.CommentOnExpr) + CommentOnExprOrBuilder { + private static final long serialVersionUID = 0L; + // Use CommentOnExpr.newBuilder() to construct. + private CommentOnExpr(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private CommentOnExpr() { + catalogName_ = ""; + schemaName_ = ""; + objectType_ = 0; + objectName_ = ""; + columnName_ = ""; + comment_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new CommentOnExpr(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private CommentOnExpr( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + catalogName_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + schemaName_ = s; + break; + } + case 24: { + int rawValue = input.readEnum(); + + objectType_ = rawValue; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + objectName_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + columnName_ = s; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + comment_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_CommentOnExpr_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_CommentOnExpr_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.greptime.v1.Ddl.CommentOnExpr.class, io.greptime.v1.Ddl.CommentOnExpr.Builder.class); + } + + public static final int CATALOG_NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object catalogName_; + /** + * string catalog_name = 1; + * @return The catalogName. + */ + @java.lang.Override + public java.lang.String getCatalogName() { + java.lang.Object ref = catalogName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + catalogName_ = s; + return s; + } + } + /** + * string catalog_name = 1; + * @return The bytes for catalogName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getCatalogNameBytes() { + java.lang.Object ref = catalogName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + catalogName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SCHEMA_NAME_FIELD_NUMBER = 2; + private volatile java.lang.Object schemaName_; + /** + * string schema_name = 2; + * @return The schemaName. + */ + @java.lang.Override + public java.lang.String getSchemaName() { + java.lang.Object ref = schemaName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + schemaName_ = s; + return s; + } + } + /** + * string schema_name = 2; + * @return The bytes for schemaName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSchemaNameBytes() { + java.lang.Object ref = schemaName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + schemaName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int OBJECT_TYPE_FIELD_NUMBER = 3; + private int objectType_; + /** + * .greptime.v1.CommentObjectType object_type = 3; + * @return The enum numeric value on the wire for objectType. + */ + @java.lang.Override public int getObjectTypeValue() { + return objectType_; + } + /** + * .greptime.v1.CommentObjectType object_type = 3; + * @return The objectType. + */ + @java.lang.Override public io.greptime.v1.Ddl.CommentObjectType getObjectType() { + @SuppressWarnings("deprecation") + io.greptime.v1.Ddl.CommentObjectType result = io.greptime.v1.Ddl.CommentObjectType.valueOf(objectType_); + return result == null ? io.greptime.v1.Ddl.CommentObjectType.UNRECOGNIZED : result; + } + + public static final int OBJECT_NAME_FIELD_NUMBER = 4; + private volatile java.lang.Object objectName_; + /** + * string object_name = 4; + * @return The objectName. + */ + @java.lang.Override + public java.lang.String getObjectName() { + java.lang.Object ref = objectName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + objectName_ = s; + return s; + } + } + /** + * string object_name = 4; + * @return The bytes for objectName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getObjectNameBytes() { + java.lang.Object ref = objectName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + objectName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int COLUMN_NAME_FIELD_NUMBER = 5; + private volatile java.lang.Object columnName_; + /** + *
+     * Column name (only for Column comments)
+     * 
+ * + * string column_name = 5; + * @return The columnName. + */ + @java.lang.Override + public java.lang.String getColumnName() { + java.lang.Object ref = columnName_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + columnName_ = s; + return s; + } + } + /** + *
+     * Column name (only for Column comments)
+     * 
+ * + * string column_name = 5; + * @return The bytes for columnName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getColumnNameBytes() { + java.lang.Object ref = columnName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + columnName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int COMMENT_FIELD_NUMBER = 6; + private volatile java.lang.Object comment_; + /** + *
+     * The comment text (null to remove comment)
+     * 
+ * + * string comment = 6; + * @return The comment. + */ + @java.lang.Override + public java.lang.String getComment() { + java.lang.Object ref = comment_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + comment_ = s; + return s; + } + } + /** + *
+     * The comment text (null to remove comment)
+     * 
+ * + * string comment = 6; + * @return The bytes for comment. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getCommentBytes() { + java.lang.Object ref = comment_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + comment_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(catalogName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, catalogName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, schemaName_); + } + if (objectType_ != io.greptime.v1.Ddl.CommentObjectType.TABLE.getNumber()) { + output.writeEnum(3, objectType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(objectName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, objectName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(columnName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, columnName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(comment_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, comment_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(catalogName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, catalogName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, schemaName_); + } + if (objectType_ != io.greptime.v1.Ddl.CommentObjectType.TABLE.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, objectType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(objectName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, objectName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(columnName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, columnName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(comment_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, comment_); + } + 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.CommentOnExpr)) { + return super.equals(obj); + } + io.greptime.v1.Ddl.CommentOnExpr other = (io.greptime.v1.Ddl.CommentOnExpr) obj; + + if (!getCatalogName() + .equals(other.getCatalogName())) return false; + if (!getSchemaName() + .equals(other.getSchemaName())) return false; + if (objectType_ != other.objectType_) return false; + if (!getObjectName() + .equals(other.getObjectName())) return false; + if (!getColumnName() + .equals(other.getColumnName())) return false; + if (!getComment() + .equals(other.getComment())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + CATALOG_NAME_FIELD_NUMBER; + hash = (53 * hash) + getCatalogName().hashCode(); + hash = (37 * hash) + SCHEMA_NAME_FIELD_NUMBER; + hash = (53 * hash) + getSchemaName().hashCode(); + hash = (37 * hash) + OBJECT_TYPE_FIELD_NUMBER; + hash = (53 * hash) + objectType_; + hash = (37 * hash) + OBJECT_NAME_FIELD_NUMBER; + hash = (53 * hash) + getObjectName().hashCode(); + hash = (37 * hash) + COLUMN_NAME_FIELD_NUMBER; + hash = (53 * hash) + getColumnName().hashCode(); + hash = (37 * hash) + COMMENT_FIELD_NUMBER; + hash = (53 * hash) + getComment().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.greptime.v1.Ddl.CommentOnExpr parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.greptime.v1.Ddl.CommentOnExpr 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.CommentOnExpr parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.greptime.v1.Ddl.CommentOnExpr 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.CommentOnExpr parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.greptime.v1.Ddl.CommentOnExpr parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.greptime.v1.Ddl.CommentOnExpr parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.greptime.v1.Ddl.CommentOnExpr 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.CommentOnExpr parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static io.greptime.v1.Ddl.CommentOnExpr 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.CommentOnExpr parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.greptime.v1.Ddl.CommentOnExpr 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.CommentOnExpr 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; + } + /** + *
+     * Comment on a table, column, or flow
+     * 
+ * + * Protobuf type {@code greptime.v1.CommentOnExpr} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:greptime.v1.CommentOnExpr) + io.greptime.v1.Ddl.CommentOnExprOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_CommentOnExpr_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_CommentOnExpr_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.greptime.v1.Ddl.CommentOnExpr.class, io.greptime.v1.Ddl.CommentOnExpr.Builder.class); + } + + // Construct using io.greptime.v1.Ddl.CommentOnExpr.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(); + catalogName_ = ""; + + schemaName_ = ""; + + objectType_ = 0; + + objectName_ = ""; + + columnName_ = ""; + + comment_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.greptime.v1.Ddl.internal_static_greptime_v1_CommentOnExpr_descriptor; + } + + @java.lang.Override + public io.greptime.v1.Ddl.CommentOnExpr getDefaultInstanceForType() { + return io.greptime.v1.Ddl.CommentOnExpr.getDefaultInstance(); + } + + @java.lang.Override + public io.greptime.v1.Ddl.CommentOnExpr build() { + io.greptime.v1.Ddl.CommentOnExpr result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.greptime.v1.Ddl.CommentOnExpr buildPartial() { + io.greptime.v1.Ddl.CommentOnExpr result = new io.greptime.v1.Ddl.CommentOnExpr(this); + result.catalogName_ = catalogName_; + result.schemaName_ = schemaName_; + result.objectType_ = objectType_; + result.objectName_ = objectName_; + result.columnName_ = columnName_; + result.comment_ = comment_; + 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.CommentOnExpr) { + return mergeFrom((io.greptime.v1.Ddl.CommentOnExpr)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.greptime.v1.Ddl.CommentOnExpr other) { + if (other == io.greptime.v1.Ddl.CommentOnExpr.getDefaultInstance()) return this; + if (!other.getCatalogName().isEmpty()) { + catalogName_ = other.catalogName_; + onChanged(); + } + if (!other.getSchemaName().isEmpty()) { + schemaName_ = other.schemaName_; + onChanged(); + } + if (other.objectType_ != 0) { + setObjectTypeValue(other.getObjectTypeValue()); + } + if (!other.getObjectName().isEmpty()) { + objectName_ = other.objectName_; + onChanged(); + } + if (!other.getColumnName().isEmpty()) { + columnName_ = other.columnName_; + onChanged(); + } + if (!other.getComment().isEmpty()) { + comment_ = other.comment_; + 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.CommentOnExpr parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.greptime.v1.Ddl.CommentOnExpr) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object catalogName_ = ""; + /** + * string catalog_name = 1; + * @return The catalogName. + */ + public java.lang.String getCatalogName() { + java.lang.Object ref = catalogName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + catalogName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string catalog_name = 1; + * @return The bytes for catalogName. + */ + public com.google.protobuf.ByteString + getCatalogNameBytes() { + java.lang.Object ref = catalogName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + catalogName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string catalog_name = 1; + * @param value The catalogName to set. + * @return This builder for chaining. + */ + public Builder setCatalogName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + catalogName_ = value; + onChanged(); + return this; + } + /** + * string catalog_name = 1; + * @return This builder for chaining. + */ + public Builder clearCatalogName() { + + catalogName_ = getDefaultInstance().getCatalogName(); + onChanged(); + return this; + } + /** + * string catalog_name = 1; + * @param value The bytes for catalogName to set. + * @return This builder for chaining. + */ + public Builder setCatalogNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + catalogName_ = value; + onChanged(); + return this; + } + + private java.lang.Object schemaName_ = ""; + /** + * string schema_name = 2; + * @return The schemaName. + */ + public java.lang.String getSchemaName() { + java.lang.Object ref = schemaName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + schemaName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string schema_name = 2; + * @return The bytes for schemaName. + */ + public com.google.protobuf.ByteString + getSchemaNameBytes() { + java.lang.Object ref = schemaName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + schemaName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string schema_name = 2; + * @param value The schemaName to set. + * @return This builder for chaining. + */ + public Builder setSchemaName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + schemaName_ = value; + onChanged(); + return this; + } + /** + * string schema_name = 2; + * @return This builder for chaining. + */ + public Builder clearSchemaName() { + + schemaName_ = getDefaultInstance().getSchemaName(); + onChanged(); + return this; + } + /** + * string schema_name = 2; + * @param value The bytes for schemaName to set. + * @return This builder for chaining. + */ + public Builder setSchemaNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + schemaName_ = value; + onChanged(); + return this; + } + + private int objectType_ = 0; + /** + * .greptime.v1.CommentObjectType object_type = 3; + * @return The enum numeric value on the wire for objectType. + */ + @java.lang.Override public int getObjectTypeValue() { + return objectType_; + } + /** + * .greptime.v1.CommentObjectType object_type = 3; + * @param value The enum numeric value on the wire for objectType to set. + * @return This builder for chaining. + */ + public Builder setObjectTypeValue(int value) { + + objectType_ = value; + onChanged(); + return this; + } + /** + * .greptime.v1.CommentObjectType object_type = 3; + * @return The objectType. + */ + @java.lang.Override + public io.greptime.v1.Ddl.CommentObjectType getObjectType() { + @SuppressWarnings("deprecation") + io.greptime.v1.Ddl.CommentObjectType result = io.greptime.v1.Ddl.CommentObjectType.valueOf(objectType_); + return result == null ? io.greptime.v1.Ddl.CommentObjectType.UNRECOGNIZED : result; + } + /** + * .greptime.v1.CommentObjectType object_type = 3; + * @param value The objectType to set. + * @return This builder for chaining. + */ + public Builder setObjectType(io.greptime.v1.Ddl.CommentObjectType value) { + if (value == null) { + throw new NullPointerException(); + } + + objectType_ = value.getNumber(); + onChanged(); + return this; + } + /** + * .greptime.v1.CommentObjectType object_type = 3; + * @return This builder for chaining. + */ + public Builder clearObjectType() { + + objectType_ = 0; + onChanged(); + return this; + } + + private java.lang.Object objectName_ = ""; + /** + * string object_name = 4; + * @return The objectName. + */ + public java.lang.String getObjectName() { + java.lang.Object ref = objectName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + objectName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string object_name = 4; + * @return The bytes for objectName. + */ + public com.google.protobuf.ByteString + getObjectNameBytes() { + java.lang.Object ref = objectName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + objectName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string object_name = 4; + * @param value The objectName to set. + * @return This builder for chaining. + */ + public Builder setObjectName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + objectName_ = value; + onChanged(); + return this; + } + /** + * string object_name = 4; + * @return This builder for chaining. + */ + public Builder clearObjectName() { + + objectName_ = getDefaultInstance().getObjectName(); + onChanged(); + return this; + } + /** + * string object_name = 4; + * @param value The bytes for objectName to set. + * @return This builder for chaining. + */ + public Builder setObjectNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + objectName_ = value; + onChanged(); + return this; + } + + private java.lang.Object columnName_ = ""; + /** + *
+       * Column name (only for Column comments)
+       * 
+ * + * string column_name = 5; + * @return The columnName. + */ + public java.lang.String getColumnName() { + java.lang.Object ref = columnName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + columnName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Column name (only for Column comments)
+       * 
+ * + * string column_name = 5; + * @return The bytes for columnName. + */ + public com.google.protobuf.ByteString + getColumnNameBytes() { + java.lang.Object ref = columnName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + columnName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Column name (only for Column comments)
+       * 
+ * + * string column_name = 5; + * @param value The columnName to set. + * @return This builder for chaining. + */ + public Builder setColumnName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + columnName_ = value; + onChanged(); + return this; + } + /** + *
+       * Column name (only for Column comments)
+       * 
+ * + * string column_name = 5; + * @return This builder for chaining. + */ + public Builder clearColumnName() { + + columnName_ = getDefaultInstance().getColumnName(); + onChanged(); + return this; + } + /** + *
+       * Column name (only for Column comments)
+       * 
+ * + * string column_name = 5; + * @param value The bytes for columnName to set. + * @return This builder for chaining. + */ + public Builder setColumnNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + columnName_ = value; + onChanged(); + return this; + } + + private java.lang.Object comment_ = ""; + /** + *
+       * The comment text (null to remove comment)
+       * 
+ * + * string comment = 6; + * @return The comment. + */ + public java.lang.String getComment() { + java.lang.Object ref = comment_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + comment_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * The comment text (null to remove comment)
+       * 
+ * + * string comment = 6; + * @return The bytes for comment. + */ + public com.google.protobuf.ByteString + getCommentBytes() { + java.lang.Object ref = comment_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + comment_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * The comment text (null to remove comment)
+       * 
+ * + * string comment = 6; + * @param value The comment to set. + * @return This builder for chaining. + */ + public Builder setComment( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + comment_ = value; + onChanged(); + return this; + } + /** + *
+       * The comment text (null to remove comment)
+       * 
+ * + * string comment = 6; + * @return This builder for chaining. + */ + public Builder clearComment() { + + comment_ = getDefaultInstance().getComment(); + onChanged(); + return this; + } + /** + *
+       * The comment text (null to remove comment)
+       * 
+ * + * string comment = 6; + * @param value The bytes for comment to set. + * @return This builder for chaining. + */ + public Builder setCommentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + comment_ = 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.CommentOnExpr) + } + + // @@protoc_insertion_point(class_scope:greptime.v1.CommentOnExpr) + private static final io.greptime.v1.Ddl.CommentOnExpr DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.greptime.v1.Ddl.CommentOnExpr(); + } + + public static io.greptime.v1.Ddl.CommentOnExpr getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CommentOnExpr parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CommentOnExpr(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.CommentOnExpr getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + private static final com.google.protobuf.Descriptors.Descriptor internal_static_greptime_v1_DdlRequest_descriptor; private static final @@ -51522,6 +53230,11 @@ java.lang.String defaultValue); private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_greptime_v1_DropTriggerExpr_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_CommentOnExpr_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_CommentOnExpr_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -51533,7 +53246,7 @@ java.lang.String defaultValue); java.lang.String[] descriptorData = { "\n\025greptime/v1/ddl.proto\022\013greptime.v1\032\036go" + "ogle/protobuf/duration.proto\032\030greptime/v" + - "1/common.proto\"\250\004\n\nDdlRequest\022:\n\017create_" + + "1/common.proto\"\332\004\n\nDdlRequest\022:\n\017create_" + "database\030\001 \001(\0132\037.greptime.v1.CreateDatab" + "aseExprH\000\0224\n\014create_table\030\002 \001(\0132\034.grepti" + "me.v1.CreateTableExprH\000\0222\n\013alter_table\030\003" + @@ -51547,170 +53260,177 @@ java.lang.String defaultValue); "reateViewExprH\000\022.\n\tdrop_view\030\013 \001(\0132\031.gre" + "ptime.v1.DropViewExprH\000\0228\n\016alter_databas" + "e\030\014 \001(\0132\036.greptime.v1.AlterDatabaseExprH" + - "\000B\006\n\004expr\"\310\003\n\016CreateFlowExpr\022\024\n\014catalog_" + - "name\030\001 \001(\t\022\021\n\tflow_name\030\002 \001(\t\0222\n\022source_" + - "table_names\030\003 \003(\0132\026.greptime.v1.TableNam" + - "e\022/\n\017sink_table_name\030\004 \001(\0132\026.greptime.v1" + - ".TableName\022\022\n\nor_replace\030\005 \001(\010\022\034\n\024create" + - "_if_not_exists\030\006 \001(\010\022.\n\014expire_after\030\007 \001" + - "(\0132\030.greptime.v1.ExpireAfter\0220\n\reval_int" + - "erval\030\013 \001(\0132\031.greptime.v1.EvalInterval\022\017" + - "\n\007comment\030\010 \001(\t\022\013\n\003sql\030\t \001(\t\022B\n\014flow_opt" + - "ions\030\n \003(\0132,.greptime.v1.CreateFlowExpr." + - "FlowOptionsEntry\0322\n\020FlowOptionsEntry\022\013\n\003" + - "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"u\n\014DropFlow" + - "Expr\022\024\n\014catalog_name\030\001 \001(\t\022\021\n\tflow_name\030" + - "\002 \001(\t\022$\n\007flow_id\030\003 \001(\0132\023.greptime.v1.Flo" + - "wId\022\026\n\016drop_if_exists\030\005 \001(\010\"\376\001\n\016CreateVi" + - "ewExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_n" + - "ame\030\002 \001(\t\022\021\n\tview_name\030\003 \001(\t\022\024\n\014logical_" + - "plan\030\004 \001(\014\022\034\n\024create_if_not_exists\030\005 \001(\010" + - "\022\022\n\nor_replace\030\006 \001(\010\022+\n\013table_names\030\007 \003(" + - "\0132\026.greptime.v1.TableName\022\017\n\007columns\030\010 \003" + - "(\t\022\024\n\014plan_columns\030\t \003(\t\022\022\n\ndefinition\030\n" + - " \001(\t\"\213\001\n\014DropViewExpr\022\024\n\014catalog_name\030\001 " + - "\001(\t\022\023\n\013schema_name\030\002 \001(\t\022\021\n\tview_name\030\003 " + - "\001(\t\022%\n\007view_id\030\004 \001(\0132\024.greptime.v1.Table" + - "Id\022\026\n\016drop_if_exists\030\005 \001(\010\"\207\003\n\017CreateTab" + - "leExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_n" + - "ame\030\002 \001(\t\022\022\n\ntable_name\030\003 \001(\t\022\014\n\004desc\030\004 " + - "\001(\t\022+\n\013column_defs\030\005 \003(\0132\026.greptime.v1.C" + - "olumnDef\022\022\n\ntime_index\030\006 \001(\t\022\024\n\014primary_" + - "keys\030\007 \003(\t\022\034\n\024create_if_not_exists\030\010 \001(\010" + - "\022E\n\rtable_options\030\t \003(\0132..greptime.v1.Cr" + - "eateTableExpr.TableOptionsEntry\022&\n\010table" + - "_id\030\n \001(\0132\024.greptime.v1.TableId\022\016\n\006engin" + - "e\030\014 \001(\t\0323\n\021TableOptionsEntry\022\013\n\003key\030\001 \001(" + - "\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\312\005\n\016AlterTableExpr\022" + - "\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001" + - "(\t\022\022\n\ntable_name\030\003 \001(\t\022.\n\013add_columns\030\004 " + - "\001(\0132\027.greptime.v1.AddColumnsH\000\0220\n\014drop_c" + - "olumns\030\005 \001(\0132\030.greptime.v1.DropColumnsH\000" + - "\0220\n\014rename_table\030\006 \001(\0132\030.greptime.v1.Ren" + - "ameTableH\000\022=\n\023modify_column_types\030\007 \001(\0132" + - "\036.greptime.v1.ModifyColumnTypesH\000\0229\n\021set" + - "_table_options\030\010 \001(\0132\034.greptime.v1.SetTa" + - "bleOptionsH\000\022=\n\023unset_table_options\030\013 \001(" + - "\0132\036.greptime.v1.UnsetTableOptionsH\000\022*\n\ts" + - "et_index\030\014 \001(\0132\025.greptime.v1.SetIndexH\000\022" + - ".\n\013unset_index\030\r \001(\0132\027.greptime.v1.Unset" + - "IndexH\000\0222\n\rdrop_defaults\030\016 \001(\0132\031.greptim" + - "e.v1.DropDefaultsH\000\022.\n\013set_indexes\030\017 \001(\013" + - "2\027.greptime.v1.SetIndexesH\000\0222\n\runset_ind" + - "exes\030\020 \001(\0132\031.greptime.v1.UnsetIndexesH\000\022" + - "0\n\014set_defaults\030\021 \001(\0132\030.greptime.v1.SetD" + - "efaultsH\000B\006\n\004kind\"\"\n\013DropDefault\022\023\n\013colu" + - "mn_name\030\001 \001(\t\"8\n\nSetIndexes\022*\n\013set_index" + - "es\030\001 \003(\0132\025.greptime.v1.SetIndex\">\n\014Unset" + - "Indexes\022.\n\runset_indexes\030\001 \003(\0132\027.greptim" + - "e.v1.UnsetIndex\"=\n\nSetDefault\022\023\n\013column_" + - "name\030\001 \001(\t\022\032\n\022default_constraint\030\002 \001(\014\"\237" + - "\001\n\010SetIndex\022,\n\010fulltext\030\001 \001(\0132\030.greptime" + - ".v1.SetFulltextH\000\022,\n\010inverted\030\002 \001(\0132\030.gr" + - "eptime.v1.SetInvertedH\000\022,\n\010skipping\030\003 \001(" + - "\0132\030.greptime.v1.SetSkippingH\000B\t\n\007options" + - "\"\247\001\n\nUnsetIndex\022.\n\010fulltext\030\001 \001(\0132\032.grep" + - "time.v1.UnsetFulltextH\000\022.\n\010inverted\030\002 \001(" + - "\0132\032.greptime.v1.UnsetInvertedH\000\022.\n\010skipp" + - "ing\030\003 \001(\0132\032.greptime.v1.UnsetSkippingH\000B" + - "\t\n\007options\"\216\001\n\rDropTableExpr\022\024\n\014catalog_" + - "name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\022\n\ntable" + - "_name\030\003 \001(\t\022&\n\010table_id\030\004 \001(\0132\024.greptime" + - ".v1.TableId\022\026\n\016drop_if_exists\030\005 \001(\010\"\314\001\n\022" + - "CreateDatabaseExpr\022\024\n\014catalog_name\030\001 \001(\t" + - "\022\023\n\013schema_name\030\002 \001(\t\022\034\n\024create_if_not_e" + - "xists\030\003 \001(\010\022=\n\007options\030\004 \003(\0132,.greptime." + - "v1.CreateDatabaseExpr.OptionsEntry\032.\n\014Op" + - "tionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" + - "8\001\"\250\001\n\021TruncateTableExpr\022\024\n\014catalog_name" + - "\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\022\n\ntable_nam" + - "e\030\003 \001(\t\022&\n\010table_id\030\004 \001(\0132\024.greptime.v1." + - "TableId\022,\n\013time_ranges\030\005 \001(\0132\027.greptime." + - "v1.TimeRanges\"U\n\020DropDatabaseExpr\022\024\n\014cat" + - "alog_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\026\n\016" + - "drop_if_exists\030\003 \001(\010\"9\n\nAddColumns\022+\n\013ad" + - "d_columns\030\001 \003(\0132\026.greptime.v1.AddColumn\"" + - "?\n\014DropDefaults\022/\n\rdrop_defaults\030\001 \003(\0132\030" + - ".greptime.v1.DropDefault\"<\n\013SetDefaults\022" + - "-\n\014set_defaults\030\001 \003(\0132\027.greptime.v1.SetD" + - "efault\"<\n\013DropColumns\022-\n\014drop_columns\030\001 " + - "\003(\0132\027.greptime.v1.DropColumn\"O\n\021ModifyCo" + - "lumnTypes\022:\n\023modify_column_types\030\001 \003(\0132\035" + - ".greptime.v1.ModifyColumnType\"%\n\013RenameT" + - "able\022\026\n\016new_table_name\030\001 \001(\t\"\204\001\n\tAddColu" + - "mn\022*\n\ncolumn_def\030\001 \001(\0132\026.greptime.v1.Col" + - "umnDef\0220\n\010location\030\003 \001(\0132\036.greptime.v1.A" + - "ddColumnLocation\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(\0162\033.greptime.v1" + - ".ColumnDataType\022C\n\025target_type_extension" + - "\030\003 \001(\0132$.greptime.v1.ColumnDataTypeExten" + - "sion\"$\n\006Option\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" + - "(\t\"=\n\017SetTableOptions\022*\n\rtable_options\030\001" + - " \003(\0132\023.greptime.v1.Option\"!\n\021UnsetTableO" + - "ptions\022\014\n\004keys\030\001 \003(\t\"\032\n\nDropColumn\022\014\n\004na" + - "me\030\001 \001(\t\"\025\n\007TableId\022\n\n\002id\030\001 \001(\r\"\024\n\006FlowI" + - "d\022\n\n\002id\030\001 \001(\r\"\254\002\n\tColumnDef\022\014\n\004name\030\001 \001(" + - "\t\022.\n\tdata_type\030\002 \001(\0162\033.greptime.v1.Colum" + - "nDataType\022\023\n\013is_nullable\030\003 \001(\010\022\032\n\022defaul" + - "t_constraint\030\004 \001(\014\0220\n\rsemantic_type\030\005 \001(" + - "\0162\031.greptime.v1.SemanticType\022\017\n\007comment\030" + - "\006 \001(\t\022@\n\022datatype_extension\030\007 \001(\0132$.grep" + - "time.v1.ColumnDataTypeExtension\022+\n\007optio" + - "ns\030\010 \001(\0132\032.greptime.v1.ColumnOptions\"\230\001\n" + - "\021AddColumnLocation\022B\n\rlocation_type\030\001 \001(" + - "\0162+.greptime.v1.AddColumnLocation.Locati" + - "onType\022\031\n\021after_column_name\030\002 \001(\t\"$\n\014Loc" + - "ationType\022\t\n\005FIRST\020\000\022\t\n\005AFTER\020\001\"\324\001\n\013SetF" + - "ulltext\022\023\n\013column_name\030\001 \001(\t\022\016\n\006enable\030\002" + - " \001(\010\022\'\n\010analyzer\030\003 \001(\0162\025.greptime.v1.Ana" + - "lyzer\022\026\n\016case_sensitive\030\004 \001(\010\022-\n\007backend" + - "\030\005 \001(\0162\034.greptime.v1.FulltextBackend\022\023\n\013" + - "granularity\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\013column_name\030\001 \001(\t" + - "\"$\n\rUnsetInverted\022\023\n\013column_name\030\001 \001(\t\"\241" + - "\001\n\013SetSkipping\022\023\n\013column_name\030\001 \001(\t\022\016\n\006e" + - "nable\030\002 \001(\010\022\023\n\013granularity\030\003 \001(\004\022;\n\023skip" + - "ping_index_type\030\004 \001(\0162\036.greptime.v1.Skip" + - "pingIndexType\022\033\n\023false_positive_rate\030\005 \001" + - "(\001\"$\n\rUnsetSkipping\022\023\n\013column_name\030\001 \001(\t" + - "\"\314\001\n\021AlterDatabaseExpr\022\024\n\014catalog_name\030\001" + - " \001(\t\022\023\n\013schema_name\030\002 \001(\t\022?\n\024set_databas" + - "e_options\030\003 \001(\0132\037.greptime.v1.SetDatabas" + - "eOptionsH\000\022C\n\026unset_database_options\030\004 \001" + - "(\0132!.greptime.v1.UnsetDatabaseOptionsH\000B" + - "\006\n\004kind\"G\n\022SetDatabaseOptions\0221\n\024set_dat" + - "abase_options\030\001 \003(\0132\023.greptime.v1.Option" + - "\"$\n\024UnsetDatabaseOptions\022\014\n\004keys\030\001 \003(\t\"\331" + - "\004\n\021CreateTriggerExpr\022\024\n\014catalog_name\030\001 \001" + - "(\t\022\024\n\014trigger_name\030\002 \001(\t\022\034\n\024create_if_no" + - "t_exists\030\003 \001(\010\022\013\n\003sql\030\004 \001(\t\022,\n\010channels\030" + - "\005 \003(\0132\032.greptime.v1.NotifyChannel\022:\n\006lab" + - "els\030\006 \003(\0132*.greptime.v1.CreateTriggerExp" + - "r.LabelsEntry\022D\n\013annotations\030\007 \003(\0132/.gre" + - "ptime.v1.CreateTriggerExpr.AnnotationsEn" + - "try\022+\n\010interval\030\010 \001(\0132\031.google.protobuf." + - "Duration\022\031\n\021raw_interval_expr\030\t \001(\t\022&\n\003f" + - "or\030\n \001(\0132\031.google.protobuf.Duration\022\024\n\014f" + - "or_raw_expr\030\013 \001(\t\0222\n\017keep_firing_for\030\014 \001" + - "(\0132\031.google.protobuf.Duration\022 \n\030keep_fi" + - "ring_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\020Annota" + - "tionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" + - "8\001\"]\n\rNotifyChannel\022\014\n\004name\030\001 \001(\t\022.\n\007web" + - "hook\030\002 \001(\0132\033.greptime.v1.WebhookOptionsH" + - "\000B\016\n\014channel_type\"\177\n\016WebhookOptions\022\013\n\003u" + - "rl\030\001 \001(\t\0223\n\004opts\030\002 \003(\0132%.greptime.v1.Web" + - "hookOptions.OptsEntry\032+\n\tOptsEntry\022\013\n\003ke" + - "y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"U\n\017DropTrigge" + - "rExpr\022\024\n\014catalog_name\030\001 \001(\t\022\024\n\014trigger_n" + - "ame\030\002 \001(\t\022\026\n\016drop_if_exists\030\003 \001(\010*$\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\000BL\n\016io." + - "greptime.v1B\003DdlZ5github.com/GreptimeTea" + - "m/greptime-proto/go/greptime/v1b\006proto3" + "\000\0220\n\ncomment_on\030\r \001(\0132\032.greptime.v1.Comm" + + "entOnExprH\000B\006\n\004expr\"\310\003\n\016CreateFlowExpr\022\024" + + "\n\014catalog_name\030\001 \001(\t\022\021\n\tflow_name\030\002 \001(\t\022" + + "2\n\022source_table_names\030\003 \003(\0132\026.greptime.v" + + "1.TableName\022/\n\017sink_table_name\030\004 \001(\0132\026.g" + + "reptime.v1.TableName\022\022\n\nor_replace\030\005 \001(\010" + + "\022\034\n\024create_if_not_exists\030\006 \001(\010\022.\n\014expire" + + "_after\030\007 \001(\0132\030.greptime.v1.ExpireAfter\0220" + + "\n\reval_interval\030\013 \001(\0132\031.greptime.v1.Eval" + + "Interval\022\017\n\007comment\030\010 \001(\t\022\013\n\003sql\030\t \001(\t\022B" + + "\n\014flow_options\030\n \003(\0132,.greptime.v1.Creat" + + "eFlowExpr.FlowOptionsEntry\0322\n\020FlowOption" + + "sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"u" + + "\n\014DropFlowExpr\022\024\n\014catalog_name\030\001 \001(\t\022\021\n\t" + + "flow_name\030\002 \001(\t\022$\n\007flow_id\030\003 \001(\0132\023.grept" + + "ime.v1.FlowId\022\026\n\016drop_if_exists\030\005 \001(\010\"\376\001" + + "\n\016CreateViewExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023" + + "\n\013schema_name\030\002 \001(\t\022\021\n\tview_name\030\003 \001(\t\022\024" + + "\n\014logical_plan\030\004 \001(\014\022\034\n\024create_if_not_ex" + + "ists\030\005 \001(\010\022\022\n\nor_replace\030\006 \001(\010\022+\n\013table_" + + "names\030\007 \003(\0132\026.greptime.v1.TableName\022\017\n\007c" + + "olumns\030\010 \003(\t\022\024\n\014plan_columns\030\t \003(\t\022\022\n\nde" + + "finition\030\n \001(\t\"\213\001\n\014DropViewExpr\022\024\n\014catal" + + "og_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\021\n\tvi" + + "ew_name\030\003 \001(\t\022%\n\007view_id\030\004 \001(\0132\024.greptim" + + "e.v1.TableId\022\026\n\016drop_if_exists\030\005 \001(\010\"\207\003\n" + + "\017CreateTableExpr\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" + + "\014\n\004desc\030\004 \001(\t\022+\n\013column_defs\030\005 \003(\0132\026.gre" + + "ptime.v1.ColumnDef\022\022\n\ntime_index\030\006 \001(\t\022\024" + + "\n\014primary_keys\030\007 \003(\t\022\034\n\024create_if_not_ex" + + "ists\030\010 \001(\010\022E\n\rtable_options\030\t \003(\0132..grep" + + "time.v1.CreateTableExpr.TableOptionsEntr" + + "y\022&\n\010table_id\030\n \001(\0132\024.greptime.v1.TableI" + + "d\022\016\n\006engine\030\014 \001(\t\0323\n\021TableOptionsEntry\022\013" + + "\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\312\005\n\016Alter" + + "TableExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schem" + + "a_name\030\002 \001(\t\022\022\n\ntable_name\030\003 \001(\t\022.\n\013add_" + + "columns\030\004 \001(\0132\027.greptime.v1.AddColumnsH\000" + + "\0220\n\014drop_columns\030\005 \001(\0132\030.greptime.v1.Dro" + + "pColumnsH\000\0220\n\014rename_table\030\006 \001(\0132\030.grept" + + "ime.v1.RenameTableH\000\022=\n\023modify_column_ty" + + "pes\030\007 \001(\0132\036.greptime.v1.ModifyColumnType" + + "sH\000\0229\n\021set_table_options\030\010 \001(\0132\034.greptim" + + "e.v1.SetTableOptionsH\000\022=\n\023unset_table_op" + + "tions\030\013 \001(\0132\036.greptime.v1.UnsetTableOpti" + + "onsH\000\022*\n\tset_index\030\014 \001(\0132\025.greptime.v1.S" + + "etIndexH\000\022.\n\013unset_index\030\r \001(\0132\027.greptim" + + "e.v1.UnsetIndexH\000\0222\n\rdrop_defaults\030\016 \001(\013" + + "2\031.greptime.v1.DropDefaultsH\000\022.\n\013set_ind" + + "exes\030\017 \001(\0132\027.greptime.v1.SetIndexesH\000\0222\n" + + "\runset_indexes\030\020 \001(\0132\031.greptime.v1.Unset" + + "IndexesH\000\0220\n\014set_defaults\030\021 \001(\0132\030.grepti" + + "me.v1.SetDefaultsH\000B\006\n\004kind\"\"\n\013DropDefau" + + "lt\022\023\n\013column_name\030\001 \001(\t\"8\n\nSetIndexes\022*\n" + + "\013set_indexes\030\001 \003(\0132\025.greptime.v1.SetInde" + + "x\">\n\014UnsetIndexes\022.\n\runset_indexes\030\001 \003(\013" + + "2\027.greptime.v1.UnsetIndex\"=\n\nSetDefault\022" + + "\023\n\013column_name\030\001 \001(\t\022\032\n\022default_constrai" + + "nt\030\002 \001(\014\"\237\001\n\010SetIndex\022,\n\010fulltext\030\001 \001(\0132" + + "\030.greptime.v1.SetFulltextH\000\022,\n\010inverted\030" + + "\002 \001(\0132\030.greptime.v1.SetInvertedH\000\022,\n\010ski" + + "pping\030\003 \001(\0132\030.greptime.v1.SetSkippingH\000B" + + "\t\n\007options\"\247\001\n\nUnsetIndex\022.\n\010fulltext\030\001 " + + "\001(\0132\032.greptime.v1.UnsetFulltextH\000\022.\n\010inv" + + "erted\030\002 \001(\0132\032.greptime.v1.UnsetInvertedH" + + "\000\022.\n\010skipping\030\003 \001(\0132\032.greptime.v1.UnsetS" + + "kippingH\000B\t\n\007options\"\216\001\n\rDropTableExpr\022\024" + + "\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(" + + "\t\022\022\n\ntable_name\030\003 \001(\t\022&\n\010table_id\030\004 \001(\0132" + + "\024.greptime.v1.TableId\022\026\n\016drop_if_exists\030" + + "\005 \001(\010\"\314\001\n\022CreateDatabaseExpr\022\024\n\014catalog_" + + "name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\034\n\024creat" + + "e_if_not_exists\030\003 \001(\010\022=\n\007options\030\004 \003(\0132," + + ".greptime.v1.CreateDatabaseExpr.OptionsE" + + "ntry\032.\n\014OptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val" + + "ue\030\002 \001(\t:\0028\001\"\250\001\n\021TruncateTableExpr\022\024\n\014ca" + + "talog_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\022\n" + + "\ntable_name\030\003 \001(\t\022&\n\010table_id\030\004 \001(\0132\024.gr" + + "eptime.v1.TableId\022,\n\013time_ranges\030\005 \001(\0132\027" + + ".greptime.v1.TimeRanges\"U\n\020DropDatabaseE" + + "xpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_name" + + "\030\002 \001(\t\022\026\n\016drop_if_exists\030\003 \001(\010\"9\n\nAddCol" + + "umns\022+\n\013add_columns\030\001 \003(\0132\026.greptime.v1." + + "AddColumn\"?\n\014DropDefaults\022/\n\rdrop_defaul" + + "ts\030\001 \003(\0132\030.greptime.v1.DropDefault\"<\n\013Se" + + "tDefaults\022-\n\014set_defaults\030\001 \003(\0132\027.grepti" + + "me.v1.SetDefault\"<\n\013DropColumns\022-\n\014drop_" + + "columns\030\001 \003(\0132\027.greptime.v1.DropColumn\"O" + + "\n\021ModifyColumnTypes\022:\n\023modify_column_typ" + + "es\030\001 \003(\0132\035.greptime.v1.ModifyColumnType\"" + + "%\n\013RenameTable\022\026\n\016new_table_name\030\001 \001(\t\"\204" + + "\001\n\tAddColumn\022*\n\ncolumn_def\030\001 \001(\0132\026.grept" + + "ime.v1.ColumnDef\0220\n\010location\030\003 \001(\0132\036.gre" + + "ptime.v1.AddColumnLocation\022\031\n\021add_if_not" + + "_exists\030\004 \001(\010\"\236\001\n\020ModifyColumnType\022\023\n\013co" + + "lumn_name\030\001 \001(\t\0220\n\013target_type\030\002 \001(\0162\033.g" + + "reptime.v1.ColumnDataType\022C\n\025target_type" + + "_extension\030\003 \001(\0132$.greptime.v1.ColumnDat" + + "aTypeExtension\"$\n\006Option\022\013\n\003key\030\001 \001(\t\022\r\n" + + "\005value\030\002 \001(\t\"=\n\017SetTableOptions\022*\n\rtable" + + "_options\030\001 \003(\0132\023.greptime.v1.Option\"!\n\021U" + + "nsetTableOptions\022\014\n\004keys\030\001 \003(\t\"\032\n\nDropCo" + + "lumn\022\014\n\004name\030\001 \001(\t\"\025\n\007TableId\022\n\n\002id\030\001 \001(" + + "\r\"\024\n\006FlowId\022\n\n\002id\030\001 \001(\r\"\254\002\n\tColumnDef\022\014\n" + + "\004name\030\001 \001(\t\022.\n\tdata_type\030\002 \001(\0162\033.greptim" + + "e.v1.ColumnDataType\022\023\n\013is_nullable\030\003 \001(\010" + + "\022\032\n\022default_constraint\030\004 \001(\014\0220\n\rsemantic" + + "_type\030\005 \001(\0162\031.greptime.v1.SemanticType\022\017" + + "\n\007comment\030\006 \001(\t\022@\n\022datatype_extension\030\007 " + + "\001(\0132$.greptime.v1.ColumnDataTypeExtensio" + + "n\022+\n\007options\030\010 \001(\0132\032.greptime.v1.ColumnO" + + "ptions\"\230\001\n\021AddColumnLocation\022B\n\rlocation" + + "_type\030\001 \001(\0162+.greptime.v1.AddColumnLocat" + + "ion.LocationType\022\031\n\021after_column_name\030\002 " + + "\001(\t\"$\n\014LocationType\022\t\n\005FIRST\020\000\022\t\n\005AFTER\020" + + "\001\"\324\001\n\013SetFulltext\022\023\n\013column_name\030\001 \001(\t\022\016" + + "\n\006enable\030\002 \001(\010\022\'\n\010analyzer\030\003 \001(\0162\025.grept" + + "ime.v1.Analyzer\022\026\n\016case_sensitive\030\004 \001(\010\022" + + "-\n\007backend\030\005 \001(\0162\034.greptime.v1.FulltextB" + + "ackend\022\023\n\013granularity\030\006 \001(\004\022\033\n\023false_pos" + + "itive_rate\030\007 \001(\001\"$\n\rUnsetFulltext\022\023\n\013col" + + "umn_name\030\001 \001(\t\"\"\n\013SetInverted\022\023\n\013column_" + + "name\030\001 \001(\t\"$\n\rUnsetInverted\022\023\n\013column_na" + + "me\030\001 \001(\t\"\241\001\n\013SetSkipping\022\023\n\013column_name\030" + + "\001 \001(\t\022\016\n\006enable\030\002 \001(\010\022\023\n\013granularity\030\003 \001" + + "(\004\022;\n\023skipping_index_type\030\004 \001(\0162\036.grepti" + + "me.v1.SkippingIndexType\022\033\n\023false_positiv" + + "e_rate\030\005 \001(\001\"$\n\rUnsetSkipping\022\023\n\013column_" + + "name\030\001 \001(\t\"\314\001\n\021AlterDatabaseExpr\022\024\n\014cata" + + "log_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022?\n\024s" + + "et_database_options\030\003 \001(\0132\037.greptime.v1." + + "SetDatabaseOptionsH\000\022C\n\026unset_database_o" + + "ptions\030\004 \001(\0132!.greptime.v1.UnsetDatabase" + + "OptionsH\000B\006\n\004kind\"G\n\022SetDatabaseOptions\022" + + "1\n\024set_database_options\030\001 \003(\0132\023.greptime" + + ".v1.Option\"$\n\024UnsetDatabaseOptions\022\014\n\004ke" + + "ys\030\001 \003(\t\"\331\004\n\021CreateTriggerExpr\022\024\n\014catalo" + + "g_name\030\001 \001(\t\022\024\n\014trigger_name\030\002 \001(\t\022\034\n\024cr" + + "eate_if_not_exists\030\003 \001(\010\022\013\n\003sql\030\004 \001(\t\022,\n" + + "\010channels\030\005 \003(\0132\032.greptime.v1.NotifyChan" + + "nel\022:\n\006labels\030\006 \003(\0132*.greptime.v1.Create" + + "TriggerExpr.LabelsEntry\022D\n\013annotations\030\007" + + " \003(\0132/.greptime.v1.CreateTriggerExpr.Ann" + + "otationsEntry\022+\n\010interval\030\010 \001(\0132\031.google" + + ".protobuf.Duration\022\031\n\021raw_interval_expr\030" + + "\t \001(\t\022&\n\003for\030\n \001(\0132\031.google.protobuf.Dur" + + "ation\022\024\n\014for_raw_expr\030\013 \001(\t\0222\n\017keep_firi" + + "ng_for\030\014 \001(\0132\031.google.protobuf.Duration\022" + + " \n\030keep_firing_for_raw_expr\030\r \001(\t\032-\n\013Lab" + + "elsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" + + "\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val" + + "ue\030\002 \001(\t:\0028\001\"]\n\rNotifyChannel\022\014\n\004name\030\001 " + + "\001(\t\022.\n\007webhook\030\002 \001(\0132\033.greptime.v1.Webho" + + "okOptionsH\000B\016\n\014channel_type\"\177\n\016WebhookOp" + + "tions\022\013\n\003url\030\001 \001(\t\0223\n\004opts\030\002 \003(\0132%.grept" + + "ime.v1.WebhookOptions.OptsEntry\032+\n\tOptsE" + + "ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"U\n\017" + + "DropTriggerExpr\022\024\n\014catalog_name\030\001 \001(\t\022\024\n" + + "\014trigger_name\030\002 \001(\t\022\026\n\016drop_if_exists\030\003 " + + "\001(\010\"\252\001\n\rCommentOnExpr\022\024\n\014catalog_name\030\001 " + + "\001(\t\022\023\n\013schema_name\030\002 \001(\t\0223\n\013object_type\030" + + "\003 \001(\0162\036.greptime.v1.CommentObjectType\022\023\n" + + "\013object_name\030\004 \001(\t\022\023\n\013column_name\030\005 \001(\t\022" + + "\017\n\007comment\030\006 \001(\t*$\n\010Analyzer\022\013\n\007ENGLISH\020" + + "\000\022\013\n\007CHINESE\020\001*)\n\017FulltextBackend\022\013\n\007TAN" + + "TIVY\020\000\022\t\n\005BLOOM\020\001*%\n\021SkippingIndexType\022\020" + + "\n\014BLOOM_FILTER\020\000*4\n\021CommentObjectType\022\t\n" + + "\005TABLE\020\000\022\n\n\006COLUMN\020\001\022\010\n\004FLOW\020\002BL\n\016io.gre" + + "ptime.v1B\003DdlZ5github.com/GreptimeTeam/g" + + "reptime-proto/go/greptime/v1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -51723,7 +53443,7 @@ java.lang.String defaultValue); internal_static_greptime_v1_DdlRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_DdlRequest_descriptor, - new java.lang.String[] { "CreateDatabase", "CreateTable", "AlterTable", "DropTable", "TruncateTable", "CreateFlow", "DropFlow", "CreateView", "DropView", "AlterDatabase", "Expr", }); + new java.lang.String[] { "CreateDatabase", "CreateTable", "AlterTable", "DropTable", "TruncateTable", "CreateFlow", "DropFlow", "CreateView", "DropView", "AlterDatabase", "CommentOn", "Expr", }); internal_static_greptime_v1_CreateFlowExpr_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_greptime_v1_CreateFlowExpr_fieldAccessorTable = new @@ -52030,6 +53750,12 @@ java.lang.String defaultValue); com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_DropTriggerExpr_descriptor, new java.lang.String[] { "CatalogName", "TriggerName", "DropIfExists", }); + internal_static_greptime_v1_CommentOnExpr_descriptor = + getDescriptor().getMessageTypes().get(46); + internal_static_greptime_v1_CommentOnExpr_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_greptime_v1_CommentOnExpr_descriptor, + new java.lang.String[] { "CatalogName", "SchemaName", "ObjectType", "ObjectName", "ColumnName", "Comment", }); com.google.protobuf.DurationProto.getDescriptor(); io.greptime.v1.Common.getDescriptor(); } diff --git a/proto/greptime/v1/ddl.proto b/proto/greptime/v1/ddl.proto index d4acac7..41f480b 100644 --- a/proto/greptime/v1/ddl.proto +++ b/proto/greptime/v1/ddl.proto @@ -39,6 +39,7 @@ message DdlRequest { CreateViewExpr create_view = 10; DropViewExpr drop_view = 11; AlterDatabaseExpr alter_database = 12; + CommentOnExpr comment_on = 13; } } @@ -387,3 +388,22 @@ message DropTriggerExpr { string trigger_name = 2; bool drop_if_exists = 3; } + +// The type of object to comment on +enum CommentObjectType { + TABLE = 0; + COLUMN = 1; + FLOW = 2; +} + +// Comment on a table, column, or flow +message CommentOnExpr { + string catalog_name = 1; + string schema_name = 2; + CommentObjectType object_type = 3; + string object_name = 4; + // Column name (only for Column comments) + string column_name = 5; + // The comment text (null to remove comment) + string comment = 6; +} diff --git a/proto/greptime/v1/meta/ddl.proto b/proto/greptime/v1/meta/ddl.proto index 3912588..28a6748 100644 --- a/proto/greptime/v1/meta/ddl.proto +++ b/proto/greptime/v1/meta/ddl.proto @@ -98,6 +98,10 @@ message DropTriggerTask { DropTriggerExpr drop_trigger = 1; } +message CommentOnTask { + CommentOnExpr comment_on = 1; +} + message DdlTaskRequest { RequestHeader header = 1; QueryContext query_context = 64; @@ -119,6 +123,7 @@ message DdlTaskRequest { AlterDatabaseTask alter_database_task = 15; CreateTriggerTask create_trigger_task = 16; DropTriggerTask drop_trigger_task = 17; + CommentOnTask comment_on_task = 18; } }