chore: rename SequenceSnapshot (#213)

* chore: per review

* chore: per review
This commit is contained in:
discord9
2025-02-06 15:44:18 +08:00
committed by GitHub
parent b5d172fe61
commit e2fd89fce1
5 changed files with 854 additions and 853 deletions
+175 -175
View File
@@ -39,7 +39,7 @@ PROTOBUF_CONSTEXPR QueryContext::QueryContext(
, /*decltype(_impl_.current_catalog_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} , /*decltype(_impl_.current_catalog_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
, /*decltype(_impl_.current_schema_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} , /*decltype(_impl_.current_schema_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
, /*decltype(_impl_.timezone_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} , /*decltype(_impl_.timezone_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
, /*decltype(_impl_.seq_snapshot_)*/nullptr , /*decltype(_impl_.snapshot_seqs_)*/nullptr
, /*decltype(_impl_.channel_)*/0u , /*decltype(_impl_.channel_)*/0u
, /*decltype(_impl_._cached_size_)*/{}} {} , /*decltype(_impl_._cached_size_)*/{}} {}
struct QueryContextDefaultTypeInternal { struct QueryContextDefaultTypeInternal {
@@ -51,30 +51,30 @@ struct QueryContextDefaultTypeInternal {
}; };
}; };
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 QueryContextDefaultTypeInternal _QueryContext_default_instance_; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 QueryContextDefaultTypeInternal _QueryContext_default_instance_;
PROTOBUF_CONSTEXPR SequenceSnapshot_SeqSnapshotEntry_DoNotUse::SequenceSnapshot_SeqSnapshotEntry_DoNotUse( PROTOBUF_CONSTEXPR SnapshotSequences_SnapshotSeqsEntry_DoNotUse::SnapshotSequences_SnapshotSeqsEntry_DoNotUse(
::_pbi::ConstantInitialized) {} ::_pbi::ConstantInitialized) {}
struct SequenceSnapshot_SeqSnapshotEntry_DoNotUseDefaultTypeInternal { struct SnapshotSequences_SnapshotSeqsEntry_DoNotUseDefaultTypeInternal {
PROTOBUF_CONSTEXPR SequenceSnapshot_SeqSnapshotEntry_DoNotUseDefaultTypeInternal() PROTOBUF_CONSTEXPR SnapshotSequences_SnapshotSeqsEntry_DoNotUseDefaultTypeInternal()
: _instance(::_pbi::ConstantInitialized{}) {} : _instance(::_pbi::ConstantInitialized{}) {}
~SequenceSnapshot_SeqSnapshotEntry_DoNotUseDefaultTypeInternal() {} ~SnapshotSequences_SnapshotSeqsEntry_DoNotUseDefaultTypeInternal() {}
union { union {
SequenceSnapshot_SeqSnapshotEntry_DoNotUse _instance; SnapshotSequences_SnapshotSeqsEntry_DoNotUse _instance;
}; };
}; };
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SequenceSnapshot_SeqSnapshotEntry_DoNotUseDefaultTypeInternal _SequenceSnapshot_SeqSnapshotEntry_DoNotUse_default_instance_; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SnapshotSequences_SnapshotSeqsEntry_DoNotUseDefaultTypeInternal _SnapshotSequences_SnapshotSeqsEntry_DoNotUse_default_instance_;
PROTOBUF_CONSTEXPR SequenceSnapshot::SequenceSnapshot( PROTOBUF_CONSTEXPR SnapshotSequences::SnapshotSequences(
::_pbi::ConstantInitialized): _impl_{ ::_pbi::ConstantInitialized): _impl_{
/*decltype(_impl_.seq_snapshot_)*/{::_pbi::ConstantInitialized()} /*decltype(_impl_.snapshot_seqs_)*/{::_pbi::ConstantInitialized()}
, /*decltype(_impl_._cached_size_)*/{}} {} , /*decltype(_impl_._cached_size_)*/{}} {}
struct SequenceSnapshotDefaultTypeInternal { struct SnapshotSequencesDefaultTypeInternal {
PROTOBUF_CONSTEXPR SequenceSnapshotDefaultTypeInternal() PROTOBUF_CONSTEXPR SnapshotSequencesDefaultTypeInternal()
: _instance(::_pbi::ConstantInitialized{}) {} : _instance(::_pbi::ConstantInitialized{}) {}
~SequenceSnapshotDefaultTypeInternal() {} ~SnapshotSequencesDefaultTypeInternal() {}
union { union {
SequenceSnapshot _instance; SnapshotSequences _instance;
}; };
}; };
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SequenceSnapshotDefaultTypeInternal _SequenceSnapshot_default_instance_; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SnapshotSequencesDefaultTypeInternal _SnapshotSequences_default_instance_;
PROTOBUF_CONSTEXPR RequestHeader_TracingContextEntry_DoNotUse::RequestHeader_TracingContextEntry_DoNotUse( PROTOBUF_CONSTEXPR RequestHeader_TracingContextEntry_DoNotUse::RequestHeader_TracingContextEntry_DoNotUse(
::_pbi::ConstantInitialized) {} ::_pbi::ConstantInitialized) {}
struct RequestHeader_TracingContextEntry_DoNotUseDefaultTypeInternal { struct RequestHeader_TracingContextEntry_DoNotUseDefaultTypeInternal {
@@ -362,24 +362,24 @@ const uint32_t TableStruct_greptime_2fv1_2fcommon_2eproto::offsets[] PROTOBUF_SE
PROTOBUF_FIELD_OFFSET(::greptime::v1::QueryContext, _impl_.timezone_), PROTOBUF_FIELD_OFFSET(::greptime::v1::QueryContext, _impl_.timezone_),
PROTOBUF_FIELD_OFFSET(::greptime::v1::QueryContext, _impl_.extensions_), PROTOBUF_FIELD_OFFSET(::greptime::v1::QueryContext, _impl_.extensions_),
PROTOBUF_FIELD_OFFSET(::greptime::v1::QueryContext, _impl_.channel_), PROTOBUF_FIELD_OFFSET(::greptime::v1::QueryContext, _impl_.channel_),
PROTOBUF_FIELD_OFFSET(::greptime::v1::QueryContext, _impl_.seq_snapshot_), PROTOBUF_FIELD_OFFSET(::greptime::v1::QueryContext, _impl_.snapshot_seqs_),
PROTOBUF_FIELD_OFFSET(::greptime::v1::SequenceSnapshot_SeqSnapshotEntry_DoNotUse, _has_bits_), PROTOBUF_FIELD_OFFSET(::greptime::v1::SnapshotSequences_SnapshotSeqsEntry_DoNotUse, _has_bits_),
PROTOBUF_FIELD_OFFSET(::greptime::v1::SequenceSnapshot_SeqSnapshotEntry_DoNotUse, _internal_metadata_), PROTOBUF_FIELD_OFFSET(::greptime::v1::SnapshotSequences_SnapshotSeqsEntry_DoNotUse, _internal_metadata_),
~0u, // no _extensions_ ~0u, // no _extensions_
~0u, // no _oneof_case_ ~0u, // no _oneof_case_
~0u, // no _weak_field_map_ ~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_ ~0u, // no _inlined_string_donated_
PROTOBUF_FIELD_OFFSET(::greptime::v1::SequenceSnapshot_SeqSnapshotEntry_DoNotUse, key_), PROTOBUF_FIELD_OFFSET(::greptime::v1::SnapshotSequences_SnapshotSeqsEntry_DoNotUse, key_),
PROTOBUF_FIELD_OFFSET(::greptime::v1::SequenceSnapshot_SeqSnapshotEntry_DoNotUse, value_), PROTOBUF_FIELD_OFFSET(::greptime::v1::SnapshotSequences_SnapshotSeqsEntry_DoNotUse, value_),
0, 0,
1, 1,
~0u, // no _has_bits_ ~0u, // no _has_bits_
PROTOBUF_FIELD_OFFSET(::greptime::v1::SequenceSnapshot, _internal_metadata_), PROTOBUF_FIELD_OFFSET(::greptime::v1::SnapshotSequences, _internal_metadata_),
~0u, // no _extensions_ ~0u, // no _extensions_
~0u, // no _oneof_case_ ~0u, // no _oneof_case_
~0u, // no _weak_field_map_ ~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_ ~0u, // no _inlined_string_donated_
PROTOBUF_FIELD_OFFSET(::greptime::v1::SequenceSnapshot, _impl_.seq_snapshot_), PROTOBUF_FIELD_OFFSET(::greptime::v1::SnapshotSequences, _impl_.snapshot_seqs_),
PROTOBUF_FIELD_OFFSET(::greptime::v1::RequestHeader_TracingContextEntry_DoNotUse, _has_bits_), PROTOBUF_FIELD_OFFSET(::greptime::v1::RequestHeader_TracingContextEntry_DoNotUse, _has_bits_),
PROTOBUF_FIELD_OFFSET(::greptime::v1::RequestHeader_TracingContextEntry_DoNotUse, _internal_metadata_), PROTOBUF_FIELD_OFFSET(::greptime::v1::RequestHeader_TracingContextEntry_DoNotUse, _internal_metadata_),
~0u, // no _extensions_ ~0u, // no _extensions_
@@ -542,8 +542,8 @@ const uint32_t TableStruct_greptime_2fv1_2fcommon_2eproto::offsets[] PROTOBUF_SE
static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
{ 0, 8, -1, sizeof(::greptime::v1::QueryContext_ExtensionsEntry_DoNotUse)}, { 0, 8, -1, sizeof(::greptime::v1::QueryContext_ExtensionsEntry_DoNotUse)},
{ 10, -1, -1, sizeof(::greptime::v1::QueryContext)}, { 10, -1, -1, sizeof(::greptime::v1::QueryContext)},
{ 22, 30, -1, sizeof(::greptime::v1::SequenceSnapshot_SeqSnapshotEntry_DoNotUse)}, { 22, 30, -1, sizeof(::greptime::v1::SnapshotSequences_SnapshotSeqsEntry_DoNotUse)},
{ 32, -1, -1, sizeof(::greptime::v1::SequenceSnapshot)}, { 32, -1, -1, sizeof(::greptime::v1::SnapshotSequences)},
{ 39, 47, -1, sizeof(::greptime::v1::RequestHeader_TracingContextEntry_DoNotUse)}, { 39, 47, -1, sizeof(::greptime::v1::RequestHeader_TracingContextEntry_DoNotUse)},
{ 49, -1, -1, sizeof(::greptime::v1::RequestHeader)}, { 49, -1, -1, sizeof(::greptime::v1::RequestHeader)},
{ 61, -1, -1, sizeof(::greptime::v1::ResponseHeader)}, { 61, -1, -1, sizeof(::greptime::v1::ResponseHeader)},
@@ -568,8 +568,8 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode
static const ::_pb::Message* const file_default_instances[] = { static const ::_pb::Message* const file_default_instances[] = {
&::greptime::v1::_QueryContext_ExtensionsEntry_DoNotUse_default_instance_._instance, &::greptime::v1::_QueryContext_ExtensionsEntry_DoNotUse_default_instance_._instance,
&::greptime::v1::_QueryContext_default_instance_._instance, &::greptime::v1::_QueryContext_default_instance_._instance,
&::greptime::v1::_SequenceSnapshot_SeqSnapshotEntry_DoNotUse_default_instance_._instance, &::greptime::v1::_SnapshotSequences_SnapshotSeqsEntry_DoNotUse_default_instance_._instance,
&::greptime::v1::_SequenceSnapshot_default_instance_._instance, &::greptime::v1::_SnapshotSequences_default_instance_._instance,
&::greptime::v1::_RequestHeader_TracingContextEntry_DoNotUse_default_instance_._instance, &::greptime::v1::_RequestHeader_TracingContextEntry_DoNotUse_default_instance_._instance,
&::greptime::v1::_RequestHeader_default_instance_._instance, &::greptime::v1::_RequestHeader_default_instance_._instance,
&::greptime::v1::_ResponseHeader_default_instance_._instance, &::greptime::v1::_ResponseHeader_default_instance_._instance,
@@ -593,71 +593,71 @@ static const ::_pb::Message* const file_default_instances[] = {
const char descriptor_table_protodef_greptime_2fv1_2fcommon_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = const char descriptor_table_protodef_greptime_2fv1_2fcommon_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
"\n\030greptime/v1/common.proto\022\013greptime.v1\"" "\n\030greptime/v1/common.proto\022\013greptime.v1\""
"\211\002\n\014QueryContext\022\027\n\017current_catalog\030\001 \001(" "\213\002\n\014QueryContext\022\027\n\017current_catalog\030\001 \001("
"\t\022\026\n\016current_schema\030\002 \001(\t\022\020\n\010timezone\030\004 " "\t\022\026\n\016current_schema\030\002 \001(\t\022\020\n\010timezone\030\004 "
"\001(\t\022=\n\nextensions\030\005 \003(\0132).greptime.v1.Qu" "\001(\t\022=\n\nextensions\030\005 \003(\0132).greptime.v1.Qu"
"eryContext.ExtensionsEntry\022\017\n\007channel\030\006 " "eryContext.ExtensionsEntry\022\017\n\007channel\030\006 "
"\001(\r\0223\n\014seq_snapshot\030\007 \001(\0132\035.greptime.v1." "\001(\r\0225\n\rsnapshot_seqs\030\007 \001(\0132\036.greptime.v1"
"SequenceSnapshot\0321\n\017ExtensionsEntry\022\013\n\003k" ".SnapshotSequences\0321\n\017ExtensionsEntry\022\013\n"
"ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\214\001\n\020Sequence" "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\221\001\n\021Snapsh"
"Snapshot\022D\n\014seq_snapshot\030\007 \003(\0132..greptim" "otSequences\022G\n\rsnapshot_seqs\030\007 \003(\01320.gre"
"e.v1.SequenceSnapshot.SeqSnapshotEntry\0322" "ptime.v1.SnapshotSequences.SnapshotSeqsE"
"\n\020SeqSnapshotEntry\022\013\n\003key\030\001 \001(\004\022\r\n\005value" "ntry\0323\n\021SnapshotSeqsEntry\022\013\n\003key\030\001 \001(\004\022\r"
"\030\002 \001(\004:\0028\001\"\202\002\n\rRequestHeader\022\017\n\007catalog\030" "\n\005value\030\002 \001(\004:\0028\001\"\202\002\n\rRequestHeader\022\017\n\007c"
"\001 \001(\t\022\016\n\006schema\030\002 \001(\t\022.\n\rauthorization\030\003" "atalog\030\001 \001(\t\022\016\n\006schema\030\002 \001(\t\022.\n\rauthoriz"
" \001(\0132\027.greptime.v1.AuthHeader\022\016\n\006dbname\030" "ation\030\003 \001(\0132\027.greptime.v1.AuthHeader\022\016\n\006"
"\004 \001(\t\022G\n\017tracing_context\030\005 \003(\0132..greptim" "dbname\030\004 \001(\t\022G\n\017tracing_context\030\005 \003(\0132.."
"e.v1.RequestHeader.TracingContextEntry\022\020" "greptime.v1.RequestHeader.TracingContext"
"\n\010timezone\030\006 \001(\t\0325\n\023TracingContextEntry\022" "Entry\022\020\n\010timezone\030\006 \001(\t\0325\n\023TracingContex"
"\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"5\n\016Respo" "tEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"5"
"nseHeader\022#\n\006status\030\001 \001(\0132\023.greptime.v1." "\n\016ResponseHeader\022#\n\006status\030\001 \001(\0132\023.grept"
"Status\".\n\006Status\022\023\n\013status_code\030\001 \001(\r\022\017\n" "ime.v1.Status\".\n\006Status\022\023\n\013status_code\030\001"
"\007err_msg\030\002 \001(\t\"e\n\nAuthHeader\022#\n\005basic\030\001 " " \001(\r\022\017\n\007err_msg\030\002 \001(\t\"e\n\nAuthHeader\022#\n\005b"
"\001(\0132\022.greptime.v1.BasicH\000\022#\n\005token\030\002 \001(\013" "asic\030\001 \001(\0132\022.greptime.v1.BasicH\000\022#\n\005toke"
"2\022.greptime.v1.TokenH\000B\r\n\013auth_scheme\"+\n" "n\030\002 \001(\0132\022.greptime.v1.TokenH\000B\r\n\013auth_sc"
"\005Basic\022\020\n\010username\030\001 \001(\t\022\020\n\010password\030\002 \001" "heme\"+\n\005Basic\022\020\n\010username\030\001 \001(\t\022\020\n\010passw"
"(\t\"\026\n\005Token\022\r\n\005token\030\001 \001(\t\"J\n\tTableName\022" "ord\030\002 \001(\t\"\026\n\005Token\022\r\n\005token\030\001 \001(\t\"J\n\tTab"
"\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001" "leName\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_n"
"(\t\022\022\n\ntable_name\030\003 \001(\t\"\035\n\014AffectedRows\022\r" "ame\030\002 \001(\t\022\022\n\ntable_name\030\003 \001(\t\"\035\n\014Affecte"
"\n\005value\030\001 \001(\r\"\032\n\007Metrics\022\017\n\007metrics\030\001 \001(" "dRows\022\r\n\005value\030\001 \001(\r\"\032\n\007Metrics\022\017\n\007metri"
"\014\"\034\n\013ExpireAfter\022\r\n\005value\030\001 \001(\003\"i\n\016Fligh" "cs\030\001 \001(\014\"\034\n\013ExpireAfter\022\r\n\005value\030\001 \001(\003\"i"
"tMetadata\0220\n\raffected_rows\030\001 \001(\0132\031.grept" "\n\016FlightMetadata\0220\n\raffected_rows\030\001 \001(\0132"
"ime.v1.AffectedRows\022%\n\007metrics\030\002 \001(\0132\024.g" "\031.greptime.v1.AffectedRows\022%\n\007metrics\030\002 "
"reptime.v1.Metrics\"I\n\024IntervalMonthDayNa" "\001(\0132\024.greptime.v1.Metrics\"I\n\024IntervalMon"
"no\022\016\n\006months\030\001 \001(\005\022\014\n\004days\030\002 \001(\005\022\023\n\013nano" "thDayNano\022\016\n\006months\030\001 \001(\005\022\014\n\004days\030\002 \001(\005\022"
"seconds\030\003 \001(\003\"$\n\nDecimal128\022\n\n\002hi\030\001 \001(\003\022" "\023\n\013nanoseconds\030\003 \001(\003\"$\n\nDecimal128\022\n\n\002hi"
"\n\n\002lo\030\002 \001(\003\"\316\001\n\027ColumnDataTypeExtension\022" "\030\001 \001(\003\022\n\n\002lo\030\002 \001(\003\"\316\001\n\027ColumnDataTypeExt"
"9\n\014decimal_type\030\001 \001(\0132!.greptime.v1.Deci" "ension\0229\n\014decimal_type\030\001 \001(\0132!.greptime."
"malTypeExtensionH\000\0223\n\tjson_type\030\002 \001(\0162\036." "v1.DecimalTypeExtensionH\000\0223\n\tjson_type\030\002"
"greptime.v1.JsonTypeExtensionH\000\0227\n\013vecto" " \001(\0162\036.greptime.v1.JsonTypeExtensionH\000\0227"
"r_type\030\003 \001(\0132 .greptime.v1.VectorTypeExt" "\n\013vector_type\030\003 \001(\0132 .greptime.v1.Vector"
"ensionH\000B\n\n\010type_ext\"8\n\024DecimalTypeExten" "TypeExtensionH\000B\n\n\010type_ext\"8\n\024DecimalTy"
"sion\022\021\n\tprecision\030\001 \001(\005\022\r\n\005scale\030\002 \001(\005\"\"" "peExtension\022\021\n\tprecision\030\001 \001(\005\022\r\n\005scale\030"
"\n\023VectorTypeExtension\022\013\n\003dim\030\001 \001(\r\"y\n\rCo" "\002 \001(\005\"\"\n\023VectorTypeExtension\022\013\n\003dim\030\001 \001("
"lumnOptions\0228\n\007options\030\001 \003(\0132\'.greptime." "\r\"y\n\rColumnOptions\0228\n\007options\030\001 \003(\0132\'.gr"
"v1.ColumnOptions.OptionsEntry\032.\n\014Options" "eptime.v1.ColumnOptions.OptionsEntry\032.\n\014"
"Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001*1\n" "OptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t"
"\014SemanticType\022\007\n\003TAG\020\000\022\t\n\005FIELD\020\001\022\r\n\tTIM" ":\0028\001*1\n\014SemanticType\022\007\n\003TAG\020\000\022\t\n\005FIELD\020\001"
"ESTAMP\020\002*\354\003\n\016ColumnDataType\022\013\n\007BOOLEAN\020\000" "\022\r\n\tTIMESTAMP\020\002*\354\003\n\016ColumnDataType\022\013\n\007BO"
"\022\010\n\004INT8\020\001\022\t\n\005INT16\020\002\022\t\n\005INT32\020\003\022\t\n\005INT6" "OLEAN\020\000\022\010\n\004INT8\020\001\022\t\n\005INT16\020\002\022\t\n\005INT32\020\003\022"
"4\020\004\022\t\n\005UINT8\020\005\022\n\n\006UINT16\020\006\022\n\n\006UINT32\020\007\022\n" "\t\n\005INT64\020\004\022\t\n\005UINT8\020\005\022\n\n\006UINT16\020\006\022\n\n\006UIN"
"\n\006UINT64\020\010\022\013\n\007FLOAT32\020\t\022\013\n\007FLOAT64\020\n\022\n\n\006" "T32\020\007\022\n\n\006UINT64\020\010\022\013\n\007FLOAT32\020\t\022\013\n\007FLOAT6"
"BINARY\020\013\022\n\n\006STRING\020\014\022\010\n\004DATE\020\r\022\014\n\010DATETI" "4\020\n\022\n\n\006BINARY\020\013\022\n\n\006STRING\020\014\022\010\n\004DATE\020\r\022\014\n"
"ME\020\016\022\024\n\020TIMESTAMP_SECOND\020\017\022\031\n\025TIMESTAMP_" "\010DATETIME\020\016\022\024\n\020TIMESTAMP_SECOND\020\017\022\031\n\025TIM"
"MILLISECOND\020\020\022\031\n\025TIMESTAMP_MICROSECOND\020\021" "ESTAMP_MILLISECOND\020\020\022\031\n\025TIMESTAMP_MICROS"
"\022\030\n\024TIMESTAMP_NANOSECOND\020\022\022\017\n\013TIME_SECON" "ECOND\020\021\022\030\n\024TIMESTAMP_NANOSECOND\020\022\022\017\n\013TIM"
"D\020\023\022\024\n\020TIME_MILLISECOND\020\024\022\024\n\020TIME_MICROS" "E_SECOND\020\023\022\024\n\020TIME_MILLISECOND\020\024\022\024\n\020TIME"
"ECOND\020\025\022\023\n\017TIME_NANOSECOND\020\026\022\027\n\023INTERVAL" "_MICROSECOND\020\025\022\023\n\017TIME_NANOSECOND\020\026\022\027\n\023I"
"_YEAR_MONTH\020\027\022\025\n\021INTERVAL_DAY_TIME\020\030\022\033\n\027" "NTERVAL_YEAR_MONTH\020\027\022\025\n\021INTERVAL_DAY_TIM"
"INTERVAL_MONTH_DAY_NANO\020\031\022\016\n\nDECIMAL128\020" "E\020\030\022\033\n\027INTERVAL_MONTH_DAY_NANO\020\031\022\016\n\nDECI"
"\036\022\010\n\004JSON\020\037\022\n\n\006VECTOR\020 *$\n\021JsonTypeExten" "MAL128\020\036\022\010\n\004JSON\020\037\022\n\n\006VECTOR\020 *$\n\021JsonTy"
"sion\022\017\n\013JSON_BINARY\020\000BO\n\016io.greptime.v1B" "peExtension\022\017\n\013JSON_BINARY\020\000BO\n\016io.grept"
"\006CommonZ5github.com/GreptimeTeam/greptim" "ime.v1B\006CommonZ5github.com/GreptimeTeam/"
"e-proto/go/greptime/v1b\006proto3" "greptime-proto/go/greptime/v1b\006proto3"
; ;
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fcommon_2eproto_once; static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fcommon_2eproto_once;
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fcommon_2eproto = { const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fcommon_2eproto = {
false, false, 2470, descriptor_table_protodef_greptime_2fv1_2fcommon_2eproto, false, false, 2477, descriptor_table_protodef_greptime_2fv1_2fcommon_2eproto,
"greptime/v1/common.proto", "greptime/v1/common.proto",
&descriptor_table_greptime_2fv1_2fcommon_2eproto_once, nullptr, 0, 23, &descriptor_table_greptime_2fv1_2fcommon_2eproto_once, nullptr, 0, 23,
schemas, file_default_instances, TableStruct_greptime_2fv1_2fcommon_2eproto::offsets, schemas, file_default_instances, TableStruct_greptime_2fv1_2fcommon_2eproto::offsets,
@@ -760,12 +760,12 @@ void QueryContext_ExtensionsEntry_DoNotUse::MergeFrom(const QueryContext_Extensi
class QueryContext::_Internal { class QueryContext::_Internal {
public: public:
static const ::greptime::v1::SequenceSnapshot& seq_snapshot(const QueryContext* msg); static const ::greptime::v1::SnapshotSequences& snapshot_seqs(const QueryContext* msg);
}; };
const ::greptime::v1::SequenceSnapshot& const ::greptime::v1::SnapshotSequences&
QueryContext::_Internal::seq_snapshot(const QueryContext* msg) { QueryContext::_Internal::snapshot_seqs(const QueryContext* msg) {
return *msg->_impl_.seq_snapshot_; return *msg->_impl_.snapshot_seqs_;
} }
QueryContext::QueryContext(::PROTOBUF_NAMESPACE_ID::Arena* arena, QueryContext::QueryContext(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned) bool is_message_owned)
@@ -784,7 +784,7 @@ QueryContext::QueryContext(const QueryContext& from)
, decltype(_impl_.current_catalog_){} , decltype(_impl_.current_catalog_){}
, decltype(_impl_.current_schema_){} , decltype(_impl_.current_schema_){}
, decltype(_impl_.timezone_){} , decltype(_impl_.timezone_){}
, decltype(_impl_.seq_snapshot_){nullptr} , decltype(_impl_.snapshot_seqs_){nullptr}
, decltype(_impl_.channel_){} , decltype(_impl_.channel_){}
, /*decltype(_impl_._cached_size_)*/{}}; , /*decltype(_impl_._cached_size_)*/{}};
@@ -814,8 +814,8 @@ QueryContext::QueryContext(const QueryContext& from)
_this->_impl_.timezone_.Set(from._internal_timezone(), _this->_impl_.timezone_.Set(from._internal_timezone(),
_this->GetArenaForAllocation()); _this->GetArenaForAllocation());
} }
if (from._internal_has_seq_snapshot()) { if (from._internal_has_snapshot_seqs()) {
_this->_impl_.seq_snapshot_ = new ::greptime::v1::SequenceSnapshot(*from._impl_.seq_snapshot_); _this->_impl_.snapshot_seqs_ = new ::greptime::v1::SnapshotSequences(*from._impl_.snapshot_seqs_);
} }
_this->_impl_.channel_ = from._impl_.channel_; _this->_impl_.channel_ = from._impl_.channel_;
// @@protoc_insertion_point(copy_constructor:greptime.v1.QueryContext) // @@protoc_insertion_point(copy_constructor:greptime.v1.QueryContext)
@@ -830,7 +830,7 @@ inline void QueryContext::SharedCtor(
, decltype(_impl_.current_catalog_){} , decltype(_impl_.current_catalog_){}
, decltype(_impl_.current_schema_){} , decltype(_impl_.current_schema_){}
, decltype(_impl_.timezone_){} , decltype(_impl_.timezone_){}
, decltype(_impl_.seq_snapshot_){nullptr} , decltype(_impl_.snapshot_seqs_){nullptr}
, decltype(_impl_.channel_){0u} , decltype(_impl_.channel_){0u}
, /*decltype(_impl_._cached_size_)*/{} , /*decltype(_impl_._cached_size_)*/{}
}; };
@@ -865,7 +865,7 @@ inline void QueryContext::SharedDtor() {
_impl_.current_catalog_.Destroy(); _impl_.current_catalog_.Destroy();
_impl_.current_schema_.Destroy(); _impl_.current_schema_.Destroy();
_impl_.timezone_.Destroy(); _impl_.timezone_.Destroy();
if (this != internal_default_instance()) delete _impl_.seq_snapshot_; if (this != internal_default_instance()) delete _impl_.snapshot_seqs_;
} }
void QueryContext::ArenaDtor(void* object) { void QueryContext::ArenaDtor(void* object) {
@@ -886,10 +886,10 @@ void QueryContext::Clear() {
_impl_.current_catalog_.ClearToEmpty(); _impl_.current_catalog_.ClearToEmpty();
_impl_.current_schema_.ClearToEmpty(); _impl_.current_schema_.ClearToEmpty();
_impl_.timezone_.ClearToEmpty(); _impl_.timezone_.ClearToEmpty();
if (GetArenaForAllocation() == nullptr && _impl_.seq_snapshot_ != nullptr) { if (GetArenaForAllocation() == nullptr && _impl_.snapshot_seqs_ != nullptr) {
delete _impl_.seq_snapshot_; delete _impl_.snapshot_seqs_;
} }
_impl_.seq_snapshot_ = nullptr; _impl_.snapshot_seqs_ = nullptr;
_impl_.channel_ = 0u; _impl_.channel_ = 0u;
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
} }
@@ -951,10 +951,10 @@ const char* QueryContext::_InternalParse(const char* ptr, ::_pbi::ParseContext*
} else } else
goto handle_unusual; goto handle_unusual;
continue; continue;
// .greptime.v1.SequenceSnapshot seq_snapshot = 7; // .greptime.v1.SnapshotSequences snapshot_seqs = 7;
case 7: case 7:
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) { if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
ptr = ctx->ParseMessage(_internal_mutable_seq_snapshot(), ptr); ptr = ctx->ParseMessage(_internal_mutable_snapshot_seqs(), ptr);
CHK_(ptr); CHK_(ptr);
} else } else
goto handle_unusual; goto handle_unusual;
@@ -1054,11 +1054,11 @@ uint8_t* QueryContext::_InternalSerialize(
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_channel(), target); target = ::_pbi::WireFormatLite::WriteUInt32ToArray(6, this->_internal_channel(), target);
} }
// .greptime.v1.SequenceSnapshot seq_snapshot = 7; // .greptime.v1.SnapshotSequences snapshot_seqs = 7;
if (this->_internal_has_seq_snapshot()) { if (this->_internal_has_snapshot_seqs()) {
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
InternalWriteMessage(7, _Internal::seq_snapshot(this), InternalWriteMessage(7, _Internal::snapshot_seqs(this),
_Internal::seq_snapshot(this).GetCachedSize(), target, stream); _Internal::snapshot_seqs(this).GetCachedSize(), target, stream);
} }
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
@@ -1107,11 +1107,11 @@ size_t QueryContext::ByteSizeLong() const {
this->_internal_timezone()); this->_internal_timezone());
} }
// .greptime.v1.SequenceSnapshot seq_snapshot = 7; // .greptime.v1.SnapshotSequences snapshot_seqs = 7;
if (this->_internal_has_seq_snapshot()) { if (this->_internal_has_snapshot_seqs()) {
total_size += 1 + total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
*_impl_.seq_snapshot_); *_impl_.snapshot_seqs_);
} }
// uint32 channel = 6; // uint32 channel = 6;
@@ -1147,9 +1147,9 @@ void QueryContext::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::P
if (!from._internal_timezone().empty()) { if (!from._internal_timezone().empty()) {
_this->_internal_set_timezone(from._internal_timezone()); _this->_internal_set_timezone(from._internal_timezone());
} }
if (from._internal_has_seq_snapshot()) { if (from._internal_has_snapshot_seqs()) {
_this->_internal_mutable_seq_snapshot()->::greptime::v1::SequenceSnapshot::MergeFrom( _this->_internal_mutable_snapshot_seqs()->::greptime::v1::SnapshotSequences::MergeFrom(
from._internal_seq_snapshot()); from._internal_snapshot_seqs());
} }
if (from._internal_channel() != 0) { if (from._internal_channel() != 0) {
_this->_internal_set_channel(from._internal_channel()); _this->_internal_set_channel(from._internal_channel());
@@ -1189,9 +1189,9 @@ void QueryContext::InternalSwap(QueryContext* other) {
::PROTOBUF_NAMESPACE_ID::internal::memswap< ::PROTOBUF_NAMESPACE_ID::internal::memswap<
PROTOBUF_FIELD_OFFSET(QueryContext, _impl_.channel_) PROTOBUF_FIELD_OFFSET(QueryContext, _impl_.channel_)
+ sizeof(QueryContext::_impl_.channel_) + sizeof(QueryContext::_impl_.channel_)
- PROTOBUF_FIELD_OFFSET(QueryContext, _impl_.seq_snapshot_)>( - PROTOBUF_FIELD_OFFSET(QueryContext, _impl_.snapshot_seqs_)>(
reinterpret_cast<char*>(&_impl_.seq_snapshot_), reinterpret_cast<char*>(&_impl_.snapshot_seqs_),
reinterpret_cast<char*>(&other->_impl_.seq_snapshot_)); reinterpret_cast<char*>(&other->_impl_.snapshot_seqs_));
} }
::PROTOBUF_NAMESPACE_ID::Metadata QueryContext::GetMetadata() const { ::PROTOBUF_NAMESPACE_ID::Metadata QueryContext::GetMetadata() const {
@@ -1202,13 +1202,13 @@ void QueryContext::InternalSwap(QueryContext* other) {
// =================================================================== // ===================================================================
SequenceSnapshot_SeqSnapshotEntry_DoNotUse::SequenceSnapshot_SeqSnapshotEntry_DoNotUse() {} SnapshotSequences_SnapshotSeqsEntry_DoNotUse::SnapshotSequences_SnapshotSeqsEntry_DoNotUse() {}
SequenceSnapshot_SeqSnapshotEntry_DoNotUse::SequenceSnapshot_SeqSnapshotEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena) SnapshotSequences_SnapshotSeqsEntry_DoNotUse::SnapshotSequences_SnapshotSeqsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena)
: SuperType(arena) {} : SuperType(arena) {}
void SequenceSnapshot_SeqSnapshotEntry_DoNotUse::MergeFrom(const SequenceSnapshot_SeqSnapshotEntry_DoNotUse& other) { void SnapshotSequences_SnapshotSeqsEntry_DoNotUse::MergeFrom(const SnapshotSequences_SnapshotSeqsEntry_DoNotUse& other) {
MergeFromInternal(other); MergeFromInternal(other);
} }
::PROTOBUF_NAMESPACE_ID::Metadata SequenceSnapshot_SeqSnapshotEntry_DoNotUse::GetMetadata() const { ::PROTOBUF_NAMESPACE_ID::Metadata SnapshotSequences_SnapshotSeqsEntry_DoNotUse::GetMetadata() const {
return ::_pbi::AssignDescriptors( return ::_pbi::AssignDescriptors(
&descriptor_table_greptime_2fv1_2fcommon_2eproto_getter, &descriptor_table_greptime_2fv1_2fcommon_2eproto_once, &descriptor_table_greptime_2fv1_2fcommon_2eproto_getter, &descriptor_table_greptime_2fv1_2fcommon_2eproto_once,
file_level_metadata_greptime_2fv1_2fcommon_2eproto[2]); file_level_metadata_greptime_2fv1_2fcommon_2eproto[2]);
@@ -1216,43 +1216,43 @@ void SequenceSnapshot_SeqSnapshotEntry_DoNotUse::MergeFrom(const SequenceSnapsho
// =================================================================== // ===================================================================
class SequenceSnapshot::_Internal { class SnapshotSequences::_Internal {
public: public:
}; };
SequenceSnapshot::SequenceSnapshot(::PROTOBUF_NAMESPACE_ID::Arena* arena, SnapshotSequences::SnapshotSequences(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned) bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
SharedCtor(arena, is_message_owned); SharedCtor(arena, is_message_owned);
if (arena != nullptr && !is_message_owned) { if (arena != nullptr && !is_message_owned) {
arena->OwnCustomDestructor(this, &SequenceSnapshot::ArenaDtor); arena->OwnCustomDestructor(this, &SnapshotSequences::ArenaDtor);
} }
// @@protoc_insertion_point(arena_constructor:greptime.v1.SequenceSnapshot) // @@protoc_insertion_point(arena_constructor:greptime.v1.SnapshotSequences)
} }
SequenceSnapshot::SequenceSnapshot(const SequenceSnapshot& from) SnapshotSequences::SnapshotSequences(const SnapshotSequences& from)
: ::PROTOBUF_NAMESPACE_ID::Message() { : ::PROTOBUF_NAMESPACE_ID::Message() {
SequenceSnapshot* const _this = this; (void)_this; SnapshotSequences* const _this = this; (void)_this;
new (&_impl_) Impl_{ new (&_impl_) Impl_{
/*decltype(_impl_.seq_snapshot_)*/{} /*decltype(_impl_.snapshot_seqs_)*/{}
, /*decltype(_impl_._cached_size_)*/{}}; , /*decltype(_impl_._cached_size_)*/{}};
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
_this->_impl_.seq_snapshot_.MergeFrom(from._impl_.seq_snapshot_); _this->_impl_.snapshot_seqs_.MergeFrom(from._impl_.snapshot_seqs_);
// @@protoc_insertion_point(copy_constructor:greptime.v1.SequenceSnapshot) // @@protoc_insertion_point(copy_constructor:greptime.v1.SnapshotSequences)
} }
inline void SequenceSnapshot::SharedCtor( inline void SnapshotSequences::SharedCtor(
::_pb::Arena* arena, bool is_message_owned) { ::_pb::Arena* arena, bool is_message_owned) {
(void)arena; (void)arena;
(void)is_message_owned; (void)is_message_owned;
new (&_impl_) Impl_{ new (&_impl_) Impl_{
/*decltype(_impl_.seq_snapshot_)*/{::_pbi::ArenaInitialized(), arena} /*decltype(_impl_.snapshot_seqs_)*/{::_pbi::ArenaInitialized(), arena}
, /*decltype(_impl_._cached_size_)*/{} , /*decltype(_impl_._cached_size_)*/{}
}; };
} }
SequenceSnapshot::~SequenceSnapshot() { SnapshotSequences::~SnapshotSequences() {
// @@protoc_insertion_point(destructor:greptime.v1.SequenceSnapshot) // @@protoc_insertion_point(destructor:greptime.v1.SnapshotSequences)
if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
(void)arena; (void)arena;
ArenaDtor(this); ArenaDtor(this);
@@ -1261,43 +1261,43 @@ SequenceSnapshot::~SequenceSnapshot() {
SharedDtor(); SharedDtor();
} }
inline void SequenceSnapshot::SharedDtor() { inline void SnapshotSequences::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
_impl_.seq_snapshot_.Destruct(); _impl_.snapshot_seqs_.Destruct();
_impl_.seq_snapshot_.~MapField(); _impl_.snapshot_seqs_.~MapField();
} }
void SequenceSnapshot::ArenaDtor(void* object) { void SnapshotSequences::ArenaDtor(void* object) {
SequenceSnapshot* _this = reinterpret_cast< SequenceSnapshot* >(object); SnapshotSequences* _this = reinterpret_cast< SnapshotSequences* >(object);
_this->_impl_.seq_snapshot_.Destruct(); _this->_impl_.snapshot_seqs_.Destruct();
} }
void SequenceSnapshot::SetCachedSize(int size) const { void SnapshotSequences::SetCachedSize(int size) const {
_impl_._cached_size_.Set(size); _impl_._cached_size_.Set(size);
} }
void SequenceSnapshot::Clear() { void SnapshotSequences::Clear() {
// @@protoc_insertion_point(message_clear_start:greptime.v1.SequenceSnapshot) // @@protoc_insertion_point(message_clear_start:greptime.v1.SnapshotSequences)
uint32_t cached_has_bits = 0; uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused // Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits; (void) cached_has_bits;
_impl_.seq_snapshot_.Clear(); _impl_.snapshot_seqs_.Clear();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
} }
const char* SequenceSnapshot::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) { const char* SnapshotSequences::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
while (!ctx->Done(&ptr)) { while (!ctx->Done(&ptr)) {
uint32_t tag; uint32_t tag;
ptr = ::_pbi::ReadTag(ptr, &tag); ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) { switch (tag >> 3) {
// map<uint64, uint64> seq_snapshot = 7; // map<uint64, uint64> snapshot_seqs = 7;
case 7: case 7:
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) { if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
ptr -= 1; ptr -= 1;
do { do {
ptr += 1; ptr += 1;
ptr = ctx->ParseMessage(&_impl_.seq_snapshot_, ptr); ptr = ctx->ParseMessage(&_impl_.snapshot_seqs_, ptr);
CHK_(ptr); CHK_(ptr);
if (!ctx->DataAvailable(ptr)) break; if (!ctx->DataAvailable(ptr)) break;
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<58>(ptr)); } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<58>(ptr));
@@ -1327,17 +1327,17 @@ failure:
#undef CHK_ #undef CHK_
} }
uint8_t* SequenceSnapshot::_InternalSerialize( uint8_t* SnapshotSequences::_InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:greptime.v1.SequenceSnapshot) // @@protoc_insertion_point(serialize_to_array_start:greptime.v1.SnapshotSequences)
uint32_t cached_has_bits = 0; uint32_t cached_has_bits = 0;
(void) cached_has_bits; (void) cached_has_bits;
// map<uint64, uint64> seq_snapshot = 7; // map<uint64, uint64> snapshot_seqs = 7;
if (!this->_internal_seq_snapshot().empty()) { if (!this->_internal_snapshot_seqs().empty()) {
using MapType = ::_pb::Map<uint64_t, uint64_t>; using MapType = ::_pb::Map<uint64_t, uint64_t>;
using WireHelper = SequenceSnapshot_SeqSnapshotEntry_DoNotUse::Funcs; using WireHelper = SnapshotSequences_SnapshotSeqsEntry_DoNotUse::Funcs;
const auto& map_field = this->_internal_seq_snapshot(); const auto& map_field = this->_internal_snapshot_seqs();
if (stream->IsSerializationDeterministic() && map_field.size() > 1) { if (stream->IsSerializationDeterministic() && map_field.size() > 1) {
for (const auto& entry : ::_pbi::MapSorterFlat<MapType>(map_field)) { for (const auto& entry : ::_pbi::MapSorterFlat<MapType>(map_field)) {
@@ -1354,67 +1354,67 @@ uint8_t* SequenceSnapshot::_InternalSerialize(
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); _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.SequenceSnapshot) // @@protoc_insertion_point(serialize_to_array_end:greptime.v1.SnapshotSequences)
return target; return target;
} }
size_t SequenceSnapshot::ByteSizeLong() const { size_t SnapshotSequences::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:greptime.v1.SequenceSnapshot) // @@protoc_insertion_point(message_byte_size_start:greptime.v1.SnapshotSequences)
size_t total_size = 0; size_t total_size = 0;
uint32_t cached_has_bits = 0; uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused // Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits; (void) cached_has_bits;
// map<uint64, uint64> seq_snapshot = 7; // map<uint64, uint64> snapshot_seqs = 7;
total_size += 1 * total_size += 1 *
::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_seq_snapshot_size()); ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_snapshot_seqs_size());
for (::PROTOBUF_NAMESPACE_ID::Map< uint64_t, uint64_t >::const_iterator for (::PROTOBUF_NAMESPACE_ID::Map< uint64_t, uint64_t >::const_iterator
it = this->_internal_seq_snapshot().begin(); it = this->_internal_snapshot_seqs().begin();
it != this->_internal_seq_snapshot().end(); ++it) { it != this->_internal_snapshot_seqs().end(); ++it) {
total_size += SequenceSnapshot_SeqSnapshotEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second); total_size += SnapshotSequences_SnapshotSeqsEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second);
} }
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
} }
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData SequenceSnapshot::_class_data_ = { const ::PROTOBUF_NAMESPACE_ID::Message::ClassData SnapshotSequences::_class_data_ = {
::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
SequenceSnapshot::MergeImpl SnapshotSequences::MergeImpl
}; };
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*SequenceSnapshot::GetClassData() const { return &_class_data_; } const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*SnapshotSequences::GetClassData() const { return &_class_data_; }
void SequenceSnapshot::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { void SnapshotSequences::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
auto* const _this = static_cast<SequenceSnapshot*>(&to_msg); auto* const _this = static_cast<SnapshotSequences*>(&to_msg);
auto& from = static_cast<const SequenceSnapshot&>(from_msg); auto& from = static_cast<const SnapshotSequences&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:greptime.v1.SequenceSnapshot) // @@protoc_insertion_point(class_specific_merge_from_start:greptime.v1.SnapshotSequences)
GOOGLE_DCHECK_NE(&from, _this); GOOGLE_DCHECK_NE(&from, _this);
uint32_t cached_has_bits = 0; uint32_t cached_has_bits = 0;
(void) cached_has_bits; (void) cached_has_bits;
_this->_impl_.seq_snapshot_.MergeFrom(from._impl_.seq_snapshot_); _this->_impl_.snapshot_seqs_.MergeFrom(from._impl_.snapshot_seqs_);
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
} }
void SequenceSnapshot::CopyFrom(const SequenceSnapshot& from) { void SnapshotSequences::CopyFrom(const SnapshotSequences& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.SequenceSnapshot) // @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.SnapshotSequences)
if (&from == this) return; if (&from == this) return;
Clear(); Clear();
MergeFrom(from); MergeFrom(from);
} }
bool SequenceSnapshot::IsInitialized() const { bool SnapshotSequences::IsInitialized() const {
return true; return true;
} }
void SequenceSnapshot::InternalSwap(SequenceSnapshot* other) { void SnapshotSequences::InternalSwap(SnapshotSequences* other) {
using std::swap; using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_); _internal_metadata_.InternalSwap(&other->_internal_metadata_);
_impl_.seq_snapshot_.InternalSwap(&other->_impl_.seq_snapshot_); _impl_.snapshot_seqs_.InternalSwap(&other->_impl_.snapshot_seqs_);
} }
::PROTOBUF_NAMESPACE_ID::Metadata SequenceSnapshot::GetMetadata() const { ::PROTOBUF_NAMESPACE_ID::Metadata SnapshotSequences::GetMetadata() const {
return ::_pbi::AssignDescriptors( return ::_pbi::AssignDescriptors(
&descriptor_table_greptime_2fv1_2fcommon_2eproto_getter, &descriptor_table_greptime_2fv1_2fcommon_2eproto_once, &descriptor_table_greptime_2fv1_2fcommon_2eproto_getter, &descriptor_table_greptime_2fv1_2fcommon_2eproto_once,
file_level_metadata_greptime_2fv1_2fcommon_2eproto[3]); file_level_metadata_greptime_2fv1_2fcommon_2eproto[3]);
@@ -5596,13 +5596,13 @@ template<> PROTOBUF_NOINLINE ::greptime::v1::QueryContext*
Arena::CreateMaybeMessage< ::greptime::v1::QueryContext >(Arena* arena) { Arena::CreateMaybeMessage< ::greptime::v1::QueryContext >(Arena* arena) {
return Arena::CreateMessageInternal< ::greptime::v1::QueryContext >(arena); return Arena::CreateMessageInternal< ::greptime::v1::QueryContext >(arena);
} }
template<> PROTOBUF_NOINLINE ::greptime::v1::SequenceSnapshot_SeqSnapshotEntry_DoNotUse* template<> PROTOBUF_NOINLINE ::greptime::v1::SnapshotSequences_SnapshotSeqsEntry_DoNotUse*
Arena::CreateMaybeMessage< ::greptime::v1::SequenceSnapshot_SeqSnapshotEntry_DoNotUse >(Arena* arena) { Arena::CreateMaybeMessage< ::greptime::v1::SnapshotSequences_SnapshotSeqsEntry_DoNotUse >(Arena* arena) {
return Arena::CreateMessageInternal< ::greptime::v1::SequenceSnapshot_SeqSnapshotEntry_DoNotUse >(arena); return Arena::CreateMessageInternal< ::greptime::v1::SnapshotSequences_SnapshotSeqsEntry_DoNotUse >(arena);
} }
template<> PROTOBUF_NOINLINE ::greptime::v1::SequenceSnapshot* template<> PROTOBUF_NOINLINE ::greptime::v1::SnapshotSequences*
Arena::CreateMaybeMessage< ::greptime::v1::SequenceSnapshot >(Arena* arena) { Arena::CreateMaybeMessage< ::greptime::v1::SnapshotSequences >(Arena* arena) {
return Arena::CreateMessageInternal< ::greptime::v1::SequenceSnapshot >(arena); return Arena::CreateMessageInternal< ::greptime::v1::SnapshotSequences >(arena);
} }
template<> PROTOBUF_NOINLINE ::greptime::v1::RequestHeader_TracingContextEntry_DoNotUse* template<> PROTOBUF_NOINLINE ::greptime::v1::RequestHeader_TracingContextEntry_DoNotUse*
Arena::CreateMaybeMessage< ::greptime::v1::RequestHeader_TracingContextEntry_DoNotUse >(Arena* arena) { Arena::CreateMaybeMessage< ::greptime::v1::RequestHeader_TracingContextEntry_DoNotUse >(Arena* arena) {
+130 -130
View File
@@ -101,12 +101,12 @@ extern RequestHeader_TracingContextEntry_DoNotUseDefaultTypeInternal _RequestHea
class ResponseHeader; class ResponseHeader;
struct ResponseHeaderDefaultTypeInternal; struct ResponseHeaderDefaultTypeInternal;
extern ResponseHeaderDefaultTypeInternal _ResponseHeader_default_instance_; extern ResponseHeaderDefaultTypeInternal _ResponseHeader_default_instance_;
class SequenceSnapshot; class SnapshotSequences;
struct SequenceSnapshotDefaultTypeInternal; struct SnapshotSequencesDefaultTypeInternal;
extern SequenceSnapshotDefaultTypeInternal _SequenceSnapshot_default_instance_; extern SnapshotSequencesDefaultTypeInternal _SnapshotSequences_default_instance_;
class SequenceSnapshot_SeqSnapshotEntry_DoNotUse; class SnapshotSequences_SnapshotSeqsEntry_DoNotUse;
struct SequenceSnapshot_SeqSnapshotEntry_DoNotUseDefaultTypeInternal; struct SnapshotSequences_SnapshotSeqsEntry_DoNotUseDefaultTypeInternal;
extern SequenceSnapshot_SeqSnapshotEntry_DoNotUseDefaultTypeInternal _SequenceSnapshot_SeqSnapshotEntry_DoNotUse_default_instance_; extern SnapshotSequences_SnapshotSeqsEntry_DoNotUseDefaultTypeInternal _SnapshotSequences_SnapshotSeqsEntry_DoNotUse_default_instance_;
class Status; class Status;
struct StatusDefaultTypeInternal; struct StatusDefaultTypeInternal;
extern StatusDefaultTypeInternal _Status_default_instance_; extern StatusDefaultTypeInternal _Status_default_instance_;
@@ -139,8 +139,8 @@ template<> ::greptime::v1::QueryContext_ExtensionsEntry_DoNotUse* Arena::CreateM
template<> ::greptime::v1::RequestHeader* Arena::CreateMaybeMessage<::greptime::v1::RequestHeader>(Arena*); template<> ::greptime::v1::RequestHeader* Arena::CreateMaybeMessage<::greptime::v1::RequestHeader>(Arena*);
template<> ::greptime::v1::RequestHeader_TracingContextEntry_DoNotUse* Arena::CreateMaybeMessage<::greptime::v1::RequestHeader_TracingContextEntry_DoNotUse>(Arena*); template<> ::greptime::v1::RequestHeader_TracingContextEntry_DoNotUse* Arena::CreateMaybeMessage<::greptime::v1::RequestHeader_TracingContextEntry_DoNotUse>(Arena*);
template<> ::greptime::v1::ResponseHeader* Arena::CreateMaybeMessage<::greptime::v1::ResponseHeader>(Arena*); template<> ::greptime::v1::ResponseHeader* Arena::CreateMaybeMessage<::greptime::v1::ResponseHeader>(Arena*);
template<> ::greptime::v1::SequenceSnapshot* Arena::CreateMaybeMessage<::greptime::v1::SequenceSnapshot>(Arena*); template<> ::greptime::v1::SnapshotSequences* Arena::CreateMaybeMessage<::greptime::v1::SnapshotSequences>(Arena*);
template<> ::greptime::v1::SequenceSnapshot_SeqSnapshotEntry_DoNotUse* Arena::CreateMaybeMessage<::greptime::v1::SequenceSnapshot_SeqSnapshotEntry_DoNotUse>(Arena*); template<> ::greptime::v1::SnapshotSequences_SnapshotSeqsEntry_DoNotUse* Arena::CreateMaybeMessage<::greptime::v1::SnapshotSequences_SnapshotSeqsEntry_DoNotUse>(Arena*);
template<> ::greptime::v1::Status* Arena::CreateMaybeMessage<::greptime::v1::Status>(Arena*); template<> ::greptime::v1::Status* Arena::CreateMaybeMessage<::greptime::v1::Status>(Arena*);
template<> ::greptime::v1::TableName* Arena::CreateMaybeMessage<::greptime::v1::TableName>(Arena*); template<> ::greptime::v1::TableName* Arena::CreateMaybeMessage<::greptime::v1::TableName>(Arena*);
template<> ::greptime::v1::Token* Arena::CreateMaybeMessage<::greptime::v1::Token>(Arena*); template<> ::greptime::v1::Token* Arena::CreateMaybeMessage<::greptime::v1::Token>(Arena*);
@@ -409,7 +409,7 @@ class QueryContext final :
kCurrentCatalogFieldNumber = 1, kCurrentCatalogFieldNumber = 1,
kCurrentSchemaFieldNumber = 2, kCurrentSchemaFieldNumber = 2,
kTimezoneFieldNumber = 4, kTimezoneFieldNumber = 4,
kSeqSnapshotFieldNumber = 7, kSnapshotSeqsFieldNumber = 7,
kChannelFieldNumber = 6, kChannelFieldNumber = 6,
}; };
// map<string, string> extensions = 5; // map<string, string> extensions = 5;
@@ -471,23 +471,23 @@ class QueryContext final :
std::string* _internal_mutable_timezone(); std::string* _internal_mutable_timezone();
public: public:
// .greptime.v1.SequenceSnapshot seq_snapshot = 7; // .greptime.v1.SnapshotSequences snapshot_seqs = 7;
bool has_seq_snapshot() const; bool has_snapshot_seqs() const;
private: private:
bool _internal_has_seq_snapshot() const; bool _internal_has_snapshot_seqs() const;
public: public:
void clear_seq_snapshot(); void clear_snapshot_seqs();
const ::greptime::v1::SequenceSnapshot& seq_snapshot() const; const ::greptime::v1::SnapshotSequences& snapshot_seqs() const;
PROTOBUF_NODISCARD ::greptime::v1::SequenceSnapshot* release_seq_snapshot(); PROTOBUF_NODISCARD ::greptime::v1::SnapshotSequences* release_snapshot_seqs();
::greptime::v1::SequenceSnapshot* mutable_seq_snapshot(); ::greptime::v1::SnapshotSequences* mutable_snapshot_seqs();
void set_allocated_seq_snapshot(::greptime::v1::SequenceSnapshot* seq_snapshot); void set_allocated_snapshot_seqs(::greptime::v1::SnapshotSequences* snapshot_seqs);
private: private:
const ::greptime::v1::SequenceSnapshot& _internal_seq_snapshot() const; const ::greptime::v1::SnapshotSequences& _internal_snapshot_seqs() const;
::greptime::v1::SequenceSnapshot* _internal_mutable_seq_snapshot(); ::greptime::v1::SnapshotSequences* _internal_mutable_snapshot_seqs();
public: public:
void unsafe_arena_set_allocated_seq_snapshot( void unsafe_arena_set_allocated_snapshot_seqs(
::greptime::v1::SequenceSnapshot* seq_snapshot); ::greptime::v1::SnapshotSequences* snapshot_seqs);
::greptime::v1::SequenceSnapshot* unsafe_arena_release_seq_snapshot(); ::greptime::v1::SnapshotSequences* unsafe_arena_release_snapshot_seqs();
// uint32 channel = 6; // uint32 channel = 6;
void clear_channel(); void clear_channel();
@@ -514,7 +514,7 @@ class QueryContext final :
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr current_catalog_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr current_catalog_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr current_schema_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr current_schema_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr timezone_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr timezone_;
::greptime::v1::SequenceSnapshot* seq_snapshot_; ::greptime::v1::SnapshotSequences* snapshot_seqs_;
uint32_t channel_; uint32_t channel_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
}; };
@@ -523,21 +523,21 @@ class QueryContext final :
}; };
// ------------------------------------------------------------------- // -------------------------------------------------------------------
class SequenceSnapshot_SeqSnapshotEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<SequenceSnapshot_SeqSnapshotEntry_DoNotUse, class SnapshotSequences_SnapshotSeqsEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<SnapshotSequences_SnapshotSeqsEntry_DoNotUse,
uint64_t, uint64_t, uint64_t, uint64_t,
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT64, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT64,
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT64> { ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT64> {
public: public:
typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<SequenceSnapshot_SeqSnapshotEntry_DoNotUse, typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<SnapshotSequences_SnapshotSeqsEntry_DoNotUse,
uint64_t, uint64_t, uint64_t, uint64_t,
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT64, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT64,
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT64> SuperType; ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT64> SuperType;
SequenceSnapshot_SeqSnapshotEntry_DoNotUse(); SnapshotSequences_SnapshotSeqsEntry_DoNotUse();
explicit PROTOBUF_CONSTEXPR SequenceSnapshot_SeqSnapshotEntry_DoNotUse( explicit PROTOBUF_CONSTEXPR SnapshotSequences_SnapshotSeqsEntry_DoNotUse(
::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
explicit SequenceSnapshot_SeqSnapshotEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); explicit SnapshotSequences_SnapshotSeqsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
void MergeFrom(const SequenceSnapshot_SeqSnapshotEntry_DoNotUse& other); void MergeFrom(const SnapshotSequences_SnapshotSeqsEntry_DoNotUse& other);
static const SequenceSnapshot_SeqSnapshotEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const SequenceSnapshot_SeqSnapshotEntry_DoNotUse*>(&_SequenceSnapshot_SeqSnapshotEntry_DoNotUse_default_instance_); } static const SnapshotSequences_SnapshotSeqsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const SnapshotSequences_SnapshotSeqsEntry_DoNotUse*>(&_SnapshotSequences_SnapshotSeqsEntry_DoNotUse_default_instance_); }
static bool ValidateKey(void*) { return true; } static bool ValidateKey(void*) { return true; }
static bool ValidateValue(void*) { return true; } static bool ValidateValue(void*) { return true; }
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
@@ -547,24 +547,24 @@ public:
// ------------------------------------------------------------------- // -------------------------------------------------------------------
class SequenceSnapshot final : class SnapshotSequences final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.SequenceSnapshot) */ { public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.SnapshotSequences) */ {
public: public:
inline SequenceSnapshot() : SequenceSnapshot(nullptr) {} inline SnapshotSequences() : SnapshotSequences(nullptr) {}
~SequenceSnapshot() override; ~SnapshotSequences() override;
explicit PROTOBUF_CONSTEXPR SequenceSnapshot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); explicit PROTOBUF_CONSTEXPR SnapshotSequences(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
SequenceSnapshot(const SequenceSnapshot& from); SnapshotSequences(const SnapshotSequences& from);
SequenceSnapshot(SequenceSnapshot&& from) noexcept SnapshotSequences(SnapshotSequences&& from) noexcept
: SequenceSnapshot() { : SnapshotSequences() {
*this = ::std::move(from); *this = ::std::move(from);
} }
inline SequenceSnapshot& operator=(const SequenceSnapshot& from) { inline SnapshotSequences& operator=(const SnapshotSequences& from) {
CopyFrom(from); CopyFrom(from);
return *this; return *this;
} }
inline SequenceSnapshot& operator=(SequenceSnapshot&& from) noexcept { inline SnapshotSequences& operator=(SnapshotSequences&& from) noexcept {
if (this == &from) return *this; if (this == &from) return *this;
if (GetOwningArena() == from.GetOwningArena() if (GetOwningArena() == from.GetOwningArena()
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
@@ -587,20 +587,20 @@ class SequenceSnapshot final :
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
return default_instance().GetMetadata().reflection; return default_instance().GetMetadata().reflection;
} }
static const SequenceSnapshot& default_instance() { static const SnapshotSequences& default_instance() {
return *internal_default_instance(); return *internal_default_instance();
} }
static inline const SequenceSnapshot* internal_default_instance() { static inline const SnapshotSequences* internal_default_instance() {
return reinterpret_cast<const SequenceSnapshot*>( return reinterpret_cast<const SnapshotSequences*>(
&_SequenceSnapshot_default_instance_); &_SnapshotSequences_default_instance_);
} }
static constexpr int kIndexInFileMessages = static constexpr int kIndexInFileMessages =
3; 3;
friend void swap(SequenceSnapshot& a, SequenceSnapshot& b) { friend void swap(SnapshotSequences& a, SnapshotSequences& b) {
a.Swap(&b); a.Swap(&b);
} }
inline void Swap(SequenceSnapshot* other) { inline void Swap(SnapshotSequences* other) {
if (other == this) return; if (other == this) return;
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() != nullptr && if (GetOwningArena() != nullptr &&
@@ -613,7 +613,7 @@ class SequenceSnapshot final :
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
} }
} }
void UnsafeArenaSwap(SequenceSnapshot* other) { void UnsafeArenaSwap(SnapshotSequences* other) {
if (other == this) return; if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other); InternalSwap(other);
@@ -621,14 +621,14 @@ class SequenceSnapshot final :
// implements Message ---------------------------------------------- // implements Message ----------------------------------------------
SequenceSnapshot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { SnapshotSequences* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<SequenceSnapshot>(arena); return CreateMaybeMessage<SnapshotSequences>(arena);
} }
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const SequenceSnapshot& from); void CopyFrom(const SnapshotSequences& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom( const SequenceSnapshot& from) { void MergeFrom( const SnapshotSequences& from) {
SequenceSnapshot::MergeImpl(*this, from); SnapshotSequences::MergeImpl(*this, from);
} }
private: private:
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
@@ -646,15 +646,15 @@ class SequenceSnapshot final :
void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor(); void SharedDtor();
void SetCachedSize(int size) const final; void SetCachedSize(int size) const final;
void InternalSwap(SequenceSnapshot* other); void InternalSwap(SnapshotSequences* other);
private: private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "greptime.v1.SequenceSnapshot"; return "greptime.v1.SnapshotSequences";
} }
protected: protected:
explicit SequenceSnapshot(::PROTOBUF_NAMESPACE_ID::Arena* arena, explicit SnapshotSequences(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false); bool is_message_owned = false);
private: private:
static void ArenaDtor(void* object); static void ArenaDtor(void* object);
@@ -671,26 +671,26 @@ class SequenceSnapshot final :
// accessors ------------------------------------------------------- // accessors -------------------------------------------------------
enum : int { enum : int {
kSeqSnapshotFieldNumber = 7, kSnapshotSeqsFieldNumber = 7,
}; };
// map<uint64, uint64> seq_snapshot = 7; // map<uint64, uint64> snapshot_seqs = 7;
int seq_snapshot_size() const; int snapshot_seqs_size() const;
private: private:
int _internal_seq_snapshot_size() const; int _internal_snapshot_seqs_size() const;
public: public:
void clear_seq_snapshot(); void clear_snapshot_seqs();
private: private:
const ::PROTOBUF_NAMESPACE_ID::Map< uint64_t, uint64_t >& const ::PROTOBUF_NAMESPACE_ID::Map< uint64_t, uint64_t >&
_internal_seq_snapshot() const; _internal_snapshot_seqs() const;
::PROTOBUF_NAMESPACE_ID::Map< uint64_t, uint64_t >* ::PROTOBUF_NAMESPACE_ID::Map< uint64_t, uint64_t >*
_internal_mutable_seq_snapshot(); _internal_mutable_snapshot_seqs();
public: public:
const ::PROTOBUF_NAMESPACE_ID::Map< uint64_t, uint64_t >& const ::PROTOBUF_NAMESPACE_ID::Map< uint64_t, uint64_t >&
seq_snapshot() const; snapshot_seqs() const;
::PROTOBUF_NAMESPACE_ID::Map< uint64_t, uint64_t >* ::PROTOBUF_NAMESPACE_ID::Map< uint64_t, uint64_t >*
mutable_seq_snapshot(); mutable_snapshot_seqs();
// @@protoc_insertion_point(class_scope:greptime.v1.SequenceSnapshot) // @@protoc_insertion_point(class_scope:greptime.v1.SnapshotSequences)
private: private:
class _Internal; class _Internal;
@@ -699,10 +699,10 @@ class SequenceSnapshot final :
typedef void DestructorSkippable_; typedef void DestructorSkippable_;
struct Impl_ { struct Impl_ {
::PROTOBUF_NAMESPACE_ID::internal::MapField< ::PROTOBUF_NAMESPACE_ID::internal::MapField<
SequenceSnapshot_SeqSnapshotEntry_DoNotUse, SnapshotSequences_SnapshotSeqsEntry_DoNotUse,
uint64_t, uint64_t, uint64_t, uint64_t,
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT64, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT64,
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT64> seq_snapshot_; ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT64> snapshot_seqs_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
}; };
union { Impl_ _impl_; }; union { Impl_ _impl_; };
@@ -3885,45 +3885,45 @@ inline void QueryContext::set_channel(uint32_t value) {
// @@protoc_insertion_point(field_set:greptime.v1.QueryContext.channel) // @@protoc_insertion_point(field_set:greptime.v1.QueryContext.channel)
} }
// .greptime.v1.SequenceSnapshot seq_snapshot = 7; // .greptime.v1.SnapshotSequences snapshot_seqs = 7;
inline bool QueryContext::_internal_has_seq_snapshot() const { inline bool QueryContext::_internal_has_snapshot_seqs() const {
return this != internal_default_instance() && _impl_.seq_snapshot_ != nullptr; return this != internal_default_instance() && _impl_.snapshot_seqs_ != nullptr;
} }
inline bool QueryContext::has_seq_snapshot() const { inline bool QueryContext::has_snapshot_seqs() const {
return _internal_has_seq_snapshot(); return _internal_has_snapshot_seqs();
} }
inline void QueryContext::clear_seq_snapshot() { inline void QueryContext::clear_snapshot_seqs() {
if (GetArenaForAllocation() == nullptr && _impl_.seq_snapshot_ != nullptr) { if (GetArenaForAllocation() == nullptr && _impl_.snapshot_seqs_ != nullptr) {
delete _impl_.seq_snapshot_; delete _impl_.snapshot_seqs_;
} }
_impl_.seq_snapshot_ = nullptr; _impl_.snapshot_seqs_ = nullptr;
} }
inline const ::greptime::v1::SequenceSnapshot& QueryContext::_internal_seq_snapshot() const { inline const ::greptime::v1::SnapshotSequences& QueryContext::_internal_snapshot_seqs() const {
const ::greptime::v1::SequenceSnapshot* p = _impl_.seq_snapshot_; const ::greptime::v1::SnapshotSequences* p = _impl_.snapshot_seqs_;
return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::SequenceSnapshot&>( return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::SnapshotSequences&>(
::greptime::v1::_SequenceSnapshot_default_instance_); ::greptime::v1::_SnapshotSequences_default_instance_);
} }
inline const ::greptime::v1::SequenceSnapshot& QueryContext::seq_snapshot() const { inline const ::greptime::v1::SnapshotSequences& QueryContext::snapshot_seqs() const {
// @@protoc_insertion_point(field_get:greptime.v1.QueryContext.seq_snapshot) // @@protoc_insertion_point(field_get:greptime.v1.QueryContext.snapshot_seqs)
return _internal_seq_snapshot(); return _internal_snapshot_seqs();
} }
inline void QueryContext::unsafe_arena_set_allocated_seq_snapshot( inline void QueryContext::unsafe_arena_set_allocated_snapshot_seqs(
::greptime::v1::SequenceSnapshot* seq_snapshot) { ::greptime::v1::SnapshotSequences* snapshot_seqs) {
if (GetArenaForAllocation() == nullptr) { if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.seq_snapshot_); delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.snapshot_seqs_);
} }
_impl_.seq_snapshot_ = seq_snapshot; _impl_.snapshot_seqs_ = snapshot_seqs;
if (seq_snapshot) { if (snapshot_seqs) {
} else { } else {
} }
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.QueryContext.seq_snapshot) // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.QueryContext.snapshot_seqs)
} }
inline ::greptime::v1::SequenceSnapshot* QueryContext::release_seq_snapshot() { inline ::greptime::v1::SnapshotSequences* QueryContext::release_snapshot_seqs() {
::greptime::v1::SequenceSnapshot* temp = _impl_.seq_snapshot_; ::greptime::v1::SnapshotSequences* temp = _impl_.snapshot_seqs_;
_impl_.seq_snapshot_ = nullptr; _impl_.snapshot_seqs_ = nullptr;
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
@@ -3935,79 +3935,79 @@ inline ::greptime::v1::SequenceSnapshot* QueryContext::release_seq_snapshot() {
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
return temp; return temp;
} }
inline ::greptime::v1::SequenceSnapshot* QueryContext::unsafe_arena_release_seq_snapshot() { inline ::greptime::v1::SnapshotSequences* QueryContext::unsafe_arena_release_snapshot_seqs() {
// @@protoc_insertion_point(field_release:greptime.v1.QueryContext.seq_snapshot) // @@protoc_insertion_point(field_release:greptime.v1.QueryContext.snapshot_seqs)
::greptime::v1::SequenceSnapshot* temp = _impl_.seq_snapshot_; ::greptime::v1::SnapshotSequences* temp = _impl_.snapshot_seqs_;
_impl_.seq_snapshot_ = nullptr; _impl_.snapshot_seqs_ = nullptr;
return temp; return temp;
} }
inline ::greptime::v1::SequenceSnapshot* QueryContext::_internal_mutable_seq_snapshot() { inline ::greptime::v1::SnapshotSequences* QueryContext::_internal_mutable_snapshot_seqs() {
if (_impl_.seq_snapshot_ == nullptr) { if (_impl_.snapshot_seqs_ == nullptr) {
auto* p = CreateMaybeMessage<::greptime::v1::SequenceSnapshot>(GetArenaForAllocation()); auto* p = CreateMaybeMessage<::greptime::v1::SnapshotSequences>(GetArenaForAllocation());
_impl_.seq_snapshot_ = p; _impl_.snapshot_seqs_ = p;
} }
return _impl_.seq_snapshot_; return _impl_.snapshot_seqs_;
} }
inline ::greptime::v1::SequenceSnapshot* QueryContext::mutable_seq_snapshot() { inline ::greptime::v1::SnapshotSequences* QueryContext::mutable_snapshot_seqs() {
::greptime::v1::SequenceSnapshot* _msg = _internal_mutable_seq_snapshot(); ::greptime::v1::SnapshotSequences* _msg = _internal_mutable_snapshot_seqs();
// @@protoc_insertion_point(field_mutable:greptime.v1.QueryContext.seq_snapshot) // @@protoc_insertion_point(field_mutable:greptime.v1.QueryContext.snapshot_seqs)
return _msg; return _msg;
} }
inline void QueryContext::set_allocated_seq_snapshot(::greptime::v1::SequenceSnapshot* seq_snapshot) { inline void QueryContext::set_allocated_snapshot_seqs(::greptime::v1::SnapshotSequences* snapshot_seqs) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) { if (message_arena == nullptr) {
delete _impl_.seq_snapshot_; delete _impl_.snapshot_seqs_;
} }
if (seq_snapshot) { if (snapshot_seqs) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(seq_snapshot); ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(snapshot_seqs);
if (message_arena != submessage_arena) { if (message_arena != submessage_arena) {
seq_snapshot = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( snapshot_seqs = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, seq_snapshot, submessage_arena); message_arena, snapshot_seqs, submessage_arena);
} }
} else { } else {
} }
_impl_.seq_snapshot_ = seq_snapshot; _impl_.snapshot_seqs_ = snapshot_seqs;
// @@protoc_insertion_point(field_set_allocated:greptime.v1.QueryContext.seq_snapshot) // @@protoc_insertion_point(field_set_allocated:greptime.v1.QueryContext.snapshot_seqs)
} }
// ------------------------------------------------------------------- // -------------------------------------------------------------------
// ------------------------------------------------------------------- // -------------------------------------------------------------------
// SequenceSnapshot // SnapshotSequences
// map<uint64, uint64> seq_snapshot = 7; // map<uint64, uint64> snapshot_seqs = 7;
inline int SequenceSnapshot::_internal_seq_snapshot_size() const { inline int SnapshotSequences::_internal_snapshot_seqs_size() const {
return _impl_.seq_snapshot_.size(); return _impl_.snapshot_seqs_.size();
} }
inline int SequenceSnapshot::seq_snapshot_size() const { inline int SnapshotSequences::snapshot_seqs_size() const {
return _internal_seq_snapshot_size(); return _internal_snapshot_seqs_size();
} }
inline void SequenceSnapshot::clear_seq_snapshot() { inline void SnapshotSequences::clear_snapshot_seqs() {
_impl_.seq_snapshot_.Clear(); _impl_.snapshot_seqs_.Clear();
} }
inline const ::PROTOBUF_NAMESPACE_ID::Map< uint64_t, uint64_t >& inline const ::PROTOBUF_NAMESPACE_ID::Map< uint64_t, uint64_t >&
SequenceSnapshot::_internal_seq_snapshot() const { SnapshotSequences::_internal_snapshot_seqs() const {
return _impl_.seq_snapshot_.GetMap(); return _impl_.snapshot_seqs_.GetMap();
} }
inline const ::PROTOBUF_NAMESPACE_ID::Map< uint64_t, uint64_t >& inline const ::PROTOBUF_NAMESPACE_ID::Map< uint64_t, uint64_t >&
SequenceSnapshot::seq_snapshot() const { SnapshotSequences::snapshot_seqs() const {
// @@protoc_insertion_point(field_map:greptime.v1.SequenceSnapshot.seq_snapshot) // @@protoc_insertion_point(field_map:greptime.v1.SnapshotSequences.snapshot_seqs)
return _internal_seq_snapshot(); return _internal_snapshot_seqs();
} }
inline ::PROTOBUF_NAMESPACE_ID::Map< uint64_t, uint64_t >* inline ::PROTOBUF_NAMESPACE_ID::Map< uint64_t, uint64_t >*
SequenceSnapshot::_internal_mutable_seq_snapshot() { SnapshotSequences::_internal_mutable_snapshot_seqs() {
return _impl_.seq_snapshot_.MutableMap(); return _impl_.snapshot_seqs_.MutableMap();
} }
inline ::PROTOBUF_NAMESPACE_ID::Map< uint64_t, uint64_t >* inline ::PROTOBUF_NAMESPACE_ID::Map< uint64_t, uint64_t >*
SequenceSnapshot::mutable_seq_snapshot() { SnapshotSequences::mutable_snapshot_seqs() {
// @@protoc_insertion_point(field_mutable_map:greptime.v1.SequenceSnapshot.seq_snapshot) // @@protoc_insertion_point(field_mutable_map:greptime.v1.SnapshotSequences.snapshot_seqs)
return _internal_mutable_seq_snapshot(); return _internal_mutable_snapshot_seqs();
} }
// ------------------------------------------------------------------- // -------------------------------------------------------------------
+186 -185
View File
@@ -263,7 +263,7 @@ type QueryContext struct {
Timezone string `protobuf:"bytes,4,opt,name=timezone,proto3" json:"timezone,omitempty"` Timezone string `protobuf:"bytes,4,opt,name=timezone,proto3" json:"timezone,omitempty"`
Extensions map[string]string `protobuf:"bytes,5,rep,name=extensions,proto3" json:"extensions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` Extensions map[string]string `protobuf:"bytes,5,rep,name=extensions,proto3" json:"extensions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
Channel uint32 `protobuf:"varint,6,opt,name=channel,proto3" json:"channel,omitempty"` Channel uint32 `protobuf:"varint,6,opt,name=channel,proto3" json:"channel,omitempty"`
SeqSnapshot *SequenceSnapshot `protobuf:"bytes,7,opt,name=seq_snapshot,json=seqSnapshot,proto3" json:"seq_snapshot,omitempty"` SnapshotSeqs *SnapshotSequences `protobuf:"bytes,7,opt,name=snapshot_seqs,json=snapshotSeqs,proto3" json:"snapshot_seqs,omitempty"`
} }
func (x *QueryContext) Reset() { func (x *QueryContext) Reset() {
@@ -333,14 +333,14 @@ func (x *QueryContext) GetChannel() uint32 {
return 0 return 0
} }
func (x *QueryContext) GetSeqSnapshot() *SequenceSnapshot { func (x *QueryContext) GetSnapshotSeqs() *SnapshotSequences {
if x != nil { if x != nil {
return x.SeqSnapshot return x.SnapshotSeqs
} }
return nil return nil
} }
type SequenceSnapshot struct { type SnapshotSequences struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
@@ -348,11 +348,11 @@ type SequenceSnapshot struct {
// mapping of RegionId to SequenceNumber, for snapshot read, meaning that the // mapping of RegionId to SequenceNumber, for snapshot read, meaning that the
// read should only container data that was committed before (and include) the // read should only container data that was committed before (and include) the
// given sequence number // given sequence number
SeqSnapshot map[uint64]uint64 `protobuf:"bytes,7,rep,name=seq_snapshot,json=seqSnapshot,proto3" json:"seq_snapshot,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` SnapshotSeqs map[uint64]uint64 `protobuf:"bytes,7,rep,name=snapshot_seqs,json=snapshotSeqs,proto3" json:"snapshot_seqs,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
} }
func (x *SequenceSnapshot) Reset() { func (x *SnapshotSequences) Reset() {
*x = SequenceSnapshot{} *x = SnapshotSequences{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_greptime_v1_common_proto_msgTypes[1] mi := &file_greptime_v1_common_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -360,13 +360,13 @@ func (x *SequenceSnapshot) Reset() {
} }
} }
func (x *SequenceSnapshot) String() string { func (x *SnapshotSequences) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
} }
func (*SequenceSnapshot) ProtoMessage() {} func (*SnapshotSequences) ProtoMessage() {}
func (x *SequenceSnapshot) ProtoReflect() protoreflect.Message { func (x *SnapshotSequences) ProtoReflect() protoreflect.Message {
mi := &file_greptime_v1_common_proto_msgTypes[1] mi := &file_greptime_v1_common_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -378,14 +378,14 @@ func (x *SequenceSnapshot) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x) return mi.MessageOf(x)
} }
// Deprecated: Use SequenceSnapshot.ProtoReflect.Descriptor instead. // Deprecated: Use SnapshotSequences.ProtoReflect.Descriptor instead.
func (*SequenceSnapshot) Descriptor() ([]byte, []int) { func (*SnapshotSequences) Descriptor() ([]byte, []int) {
return file_greptime_v1_common_proto_rawDescGZIP(), []int{1} return file_greptime_v1_common_proto_rawDescGZIP(), []int{1}
} }
func (x *SequenceSnapshot) GetSeqSnapshot() map[uint64]uint64 { func (x *SnapshotSequences) GetSnapshotSeqs() map[uint64]uint64 {
if x != nil { if x != nil {
return x.SeqSnapshot return x.SnapshotSeqs
} }
return nil return nil
} }
@@ -1420,7 +1420,7 @@ var File_greptime_v1_common_proto protoreflect.FileDescriptor
var file_greptime_v1_common_proto_rawDesc = []byte{ var file_greptime_v1_common_proto_rawDesc = []byte{
0x0a, 0x18, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x0a, 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, 0x12, 0x0b, 0x67, 0x72, 0x65, 0x70, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x67, 0x72, 0x65, 0x70,
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x22, 0xe0, 0x02, 0x0a, 0x0c, 0x51, 0x75, 0x65, 0x72, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x22, 0xe3, 0x02, 0x0a, 0x0c, 0x51, 0x75, 0x65, 0x72,
0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x75, 0x72, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x75, 0x72, 0x72,
0x65, 0x6e, 0x74, 0x5f, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28,
0x09, 0x52, 0x0e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x09, 0x52, 0x0e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f,
@@ -1434,173 +1434,174 @@ var file_greptime_v1_common_proto_rawDesc = []byte{
0x65, 0x78, 0x74, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x65, 0x78, 0x74, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e,
0x74, 0x72, 0x79, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12,
0x18, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x18, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d,
0x52, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x40, 0x0a, 0x0c, 0x73, 0x65, 0x71, 0x52, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x43, 0x0a, 0x0d, 0x73, 0x6e, 0x61,
0x5f, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x5f, 0x73, 0x65, 0x71, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b,
0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53,
0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x0b, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x73,
0x73, 0x65, 0x71, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x1a, 0x3d, 0x0a, 0x0f, 0x45, 0x52, 0x0c, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x53, 0x65, 0x71, 0x73, 0x1a, 0x3d,
0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x0f, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72,
0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01,
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xa5, 0x01, 0x0a, 0x10, 0x53, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xab, 0x01,
0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x12, 0x0a, 0x11, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e,
0x51, 0x0a, 0x0c, 0x73, 0x65, 0x71, 0x5f, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x18, 0x63, 0x65, 0x73, 0x12, 0x55, 0x0a, 0x0d, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x5f,
0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x65, 0x71, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x72, 0x65,
0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x6e, 0x61, 0x70, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f,
0x73, 0x68, 0x6f, 0x74, 0x2e, 0x53, 0x65, 0x71, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x74, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x53, 0x6e, 0x61, 0x70, 0x73,
0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x73, 0x65, 0x71, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x68, 0x6f, 0x74, 0x53, 0x65, 0x71, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x73, 0x6e,
0x6f, 0x74, 0x1a, 0x3e, 0x0a, 0x10, 0x53, 0x65, 0x71, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x53, 0x65, 0x71, 0x73, 0x1a, 0x3f, 0x0a, 0x11, 0x53, 0x6e,
0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x53, 0x65, 0x71, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
0x01, 0x28, 0x04, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x6b, 0x65,
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04,
0x38, 0x01, 0x22, 0xd0, 0x02, 0x0a, 0x0d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xd0, 0x02, 0x0a, 0x0d,
0x61, 0x64, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x18, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x18, 0x0a,
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x12, 0x16, 0x07, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d,
0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x3d, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12,
0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x3d, 0x0a, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52,
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x62, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0d, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16,
0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x62, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x57, 0x0a, 0x0a, 0x06, 0x64, 0x62, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
0x0f, 0x74, 0x72, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x64, 0x62, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x57, 0x0a, 0x0f, 0x74, 0x72, 0x61, 0x63, 0x69, 0x6e,
0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32,
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x2e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65,
0x65, 0x72, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x2e, 0x54, 0x72, 0x61, 0x63,
0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x74, 0x72, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x43, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x7a, 0x6f, 0x0e, 0x74, 0x72, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12,
0x6e, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x7a, 0x6f, 0x1a, 0x0a, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28,
0x6e, 0x65, 0x1a, 0x41, 0x0a, 0x13, 0x54, 0x72, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x09, 0x52, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x7a, 0x6f, 0x6e, 0x65, 0x1a, 0x41, 0x0a, 0x13, 0x54,
0x74, 0x65, 0x78, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x72, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x45, 0x6e, 0x74,
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, 0x3d, 0x0a, 0x0e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x2b, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,
0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74,
0x61, 0x74, 0x75, 0x73, 0x22, 0x42, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1f,
0x0a, 0x0b, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20,
0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x12,
0x17, 0x0a, 0x07, 0x65, 0x72, 0x72, 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
0x52, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x22, 0x73, 0x0a, 0x0a, 0x41, 0x75, 0x74, 0x68,
0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x2a, 0x0a, 0x05, 0x62, 0x61, 0x73, 0x69, 0x63, 0x18,
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x73, 0x69, 0x63, 0x48, 0x00, 0x52, 0x05, 0x62, 0x61, 0x73,
0x69, 0x63, 0x12, 0x2a, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x12, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e,
0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x48, 0x00, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x0d,
0x0a, 0x0b, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x22, 0x3f, 0x0a,
0x05, 0x42, 0x61, 0x73, 0x69, 0x63, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61,
0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61,
0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02,
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x1d,
0x0a, 0x05, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x6e, 0x0a,
0x09, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 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, 0x22, 0x24, 0x0a,
0x0c, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x6f, 0x77, 0x73, 0x12, 0x14, 0x0a,
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61,
0x6c, 0x75, 0x65, 0x22, 0x23, 0x0a, 0x07, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x18,
0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52,
0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x22, 0x23, 0x0a, 0x0b, 0x45, 0x78, 0x70, 0x69,
0x72, 0x65, 0x41, 0x66, 0x74, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x80, 0x01,
0x0a, 0x0e, 0x46, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
0x12, 0x3e, 0x0a, 0x0d, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x6f, 0x77,
0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x6f,
0x77, 0x73, 0x52, 0x0c, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x6f, 0x77, 0x73,
0x12, 0x2e, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x14, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e,
0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
0x22, 0x64, 0x0a, 0x14, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x4d, 0x6f, 0x6e, 0x74,
0x68, 0x44, 0x61, 0x79, 0x4e, 0x61, 0x6e, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x6f, 0x6e, 0x74,
0x68, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x73,
0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x79, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04,
0x64, 0x61, 0x79, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x61, 0x6e, 0x6f, 0x73, 0x65, 0x63, 0x6f,
0x6e, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6e, 0x61, 0x6e, 0x6f, 0x73,
0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x22, 0x2c, 0x0a, 0x0a, 0x44, 0x65, 0x63, 0x69, 0x6d, 0x61,
0x6c, 0x31, 0x32, 0x38, 0x12, 0x0e, 0x0a, 0x02, 0x68, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
0x52, 0x02, 0x68, 0x69, 0x12, 0x0e, 0x0a, 0x02, 0x6c, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
0x52, 0x02, 0x6c, 0x6f, 0x22, 0xf1, 0x01, 0x0a, 0x17, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44,
0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
0x12, 0x46, 0x0a, 0x0c, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65,
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65,
0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x65, 0x63,
0x69, 0x6d, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3d, 0x0a, 0x09, 0x6a, 0x73, 0x6f, 0x6e,
0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x67, 0x72,
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4a, 0x73, 0x6f, 0x6e, 0x54, 0x79,
0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x08, 0x6a,
0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x43, 0x0a, 0x0b, 0x76, 0x65, 0x63, 0x74, 0x6f,
0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67,
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f,
0x72, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x00,
0x52, 0x0a, 0x76, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0a, 0x0a, 0x08,
0x74, 0x79, 0x70, 0x65, 0x5f, 0x65, 0x78, 0x74, 0x22, 0x4a, 0x0a, 0x14, 0x44, 0x65, 0x63, 0x69,
0x6d, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20,
0x01, 0x28, 0x05, 0x52, 0x09, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14,
0x0a, 0x05, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73,
0x63, 0x61, 0x6c, 0x65, 0x22, 0x27, 0x0a, 0x13, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x79,
0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x64,
0x69, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x64, 0x69, 0x6d, 0x22, 0x8e, 0x01,
0x0a, 0x0d, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12,
0x41, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
0x32, 0x27, 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, 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, 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, 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, 0x2a, 0x31, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x3d,
0x0a, 0x0c, 0x53, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x12, 0x07, 0x0a, 0x0e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72,
0x0a, 0x03, 0x54, 0x41, 0x47, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x12, 0x2b, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x10, 0x32, 0x13, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53,
0x02, 0x2a, 0xec, 0x03, 0x0a, 0x0e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x42, 0x0a,
0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x42, 0x4f, 0x4f, 0x4c, 0x45, 0x41, 0x4e, 0x10, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x74, 0x75,
0x00, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x4e, 0x54, 0x38, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x73, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x73, 0x74,
0x4e, 0x54, 0x31, 0x36, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x61, 0x74, 0x75, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x65, 0x72, 0x72, 0x5f,
0x03, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x4d, 0x73,
0x55, 0x49, 0x4e, 0x54, 0x38, 0x10, 0x05, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x49, 0x4e, 0x54, 0x31, 0x67, 0x22, 0x73, 0x0a, 0x0a, 0x41, 0x75, 0x74, 0x68, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12,
0x36, 0x10, 0x06, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x07, 0x12, 0x2a, 0x0a, 0x05, 0x62, 0x61, 0x73, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12,
0x0a, 0x0a, 0x06, 0x55, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x08, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x73,
0x4c, 0x4f, 0x41, 0x54, 0x33, 0x32, 0x10, 0x09, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x4c, 0x4f, 0x41, 0x69, 0x63, 0x48, 0x00, 0x52, 0x05, 0x62, 0x61, 0x73, 0x69, 0x63, 0x12, 0x2a, 0x0a, 0x05, 0x74,
0x54, 0x36, 0x34, 0x10, 0x0a, 0x12, 0x0a, 0x0a, 0x06, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x10, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x72, 0x65,
0x0b, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x0c, 0x12, 0x08, 0x0a, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x48, 0x00,
0x04, 0x44, 0x41, 0x54, 0x45, 0x10, 0x0d, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x41, 0x54, 0x45, 0x54, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x0d, 0x0a, 0x0b, 0x61, 0x75, 0x74, 0x68, 0x5f,
0x49, 0x4d, 0x45, 0x10, 0x0e, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x22, 0x3f, 0x0a, 0x05, 0x42, 0x61, 0x73, 0x69, 0x63, 0x12,
0x4d, 0x50, 0x5f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x0f, 0x12, 0x19, 0x0a, 0x15, 0x54, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x4d, 0x49, 0x4c, 0x4c, 0x49, 0x53, 0x45, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70,
0x43, 0x4f, 0x4e, 0x44, 0x10, 0x10, 0x12, 0x19, 0x0a, 0x15, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70,
0x41, 0x4d, 0x50, 0x5f, 0x4d, 0x49, 0x43, 0x52, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 0x1d, 0x0a, 0x05, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
0x11, 0x12, 0x18, 0x0a, 0x14, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x4e, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x41, 0x4e, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x12, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x6e, 0x0a, 0x09, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4e,
0x49, 0x4d, 0x45, 0x5f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x13, 0x12, 0x14, 0x0a, 0x10, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e,
0x54, 0x49, 0x4d, 0x45, 0x5f, 0x4d, 0x49, 0x4c, 0x4c, 0x49, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c,
0x10, 0x14, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x4d, 0x49, 0x43, 0x52, 0x4f, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61,
0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x15, 0x12, 0x13, 0x0a, 0x0f, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68,
0x5f, 0x4e, 0x41, 0x4e, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x16, 0x12, 0x17, 0x0a, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65,
0x13, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x56, 0x41, 0x4c, 0x5f, 0x59, 0x45, 0x41, 0x52, 0x5f, 0x4d, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62,
0x4f, 0x4e, 0x54, 0x48, 0x10, 0x17, 0x12, 0x15, 0x0a, 0x11, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x56, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x24, 0x0a, 0x0c, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74,
0x41, 0x4c, 0x5f, 0x44, 0x41, 0x59, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x18, 0x12, 0x1b, 0x0a, 0x65, 0x64, 0x52, 0x6f, 0x77, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
0x17, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x56, 0x41, 0x4c, 0x5f, 0x4d, 0x4f, 0x4e, 0x54, 0x48, 0x5f, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x23, 0x0a, 0x07,
0x44, 0x41, 0x59, 0x5f, 0x4e, 0x41, 0x4e, 0x4f, 0x10, 0x19, 0x12, 0x0e, 0x0a, 0x0a, 0x44, 0x45, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69,
0x43, 0x49, 0x4d, 0x41, 0x4c, 0x31, 0x32, 0x38, 0x10, 0x1e, 0x12, 0x08, 0x0a, 0x04, 0x4a, 0x53, 0x63, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63,
0x4f, 0x4e, 0x10, 0x1f, 0x12, 0x0a, 0x0a, 0x06, 0x56, 0x45, 0x43, 0x54, 0x4f, 0x52, 0x10, 0x20, 0x73, 0x22, 0x23, 0x0a, 0x0b, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x41, 0x66, 0x74, 0x65, 0x72,
0x2a, 0x24, 0x0a, 0x11, 0x4a, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x0a, 0x0b, 0x4a, 0x53, 0x4f, 0x4e, 0x5f, 0x42, 0x49, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x80, 0x01, 0x0a, 0x0e, 0x46, 0x6c, 0x69, 0x67, 0x68,
0x4e, 0x41, 0x52, 0x59, 0x10, 0x00, 0x42, 0x4f, 0x0a, 0x0e, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x65, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3e, 0x0a, 0x0d, 0x61, 0x66, 0x66,
0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x72, 0x65, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41,
0x70, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x6f, 0x77, 0x73, 0x52, 0x0c, 0x61, 0x66, 0x66,
0x6d, 0x65, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x6f, 0x77, 0x73, 0x12, 0x2e, 0x0a, 0x07, 0x6d, 0x65, 0x74,
0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x72, 0x69, 0x63, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x72, 0x65,
0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
0x52, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x22, 0x64, 0x0a, 0x14, 0x49, 0x6e, 0x74,
0x65, 0x72, 0x76, 0x61, 0x6c, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x44, 0x61, 0x79, 0x4e, 0x61, 0x6e,
0x6f, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28,
0x05, 0x52, 0x06, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x79,
0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x64, 0x61, 0x79, 0x73, 0x12, 0x20, 0x0a,
0x0b, 0x6e, 0x61, 0x6e, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01,
0x28, 0x03, 0x52, 0x0b, 0x6e, 0x61, 0x6e, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x22,
0x2c, 0x0a, 0x0a, 0x44, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x31, 0x32, 0x38, 0x12, 0x0e, 0x0a,
0x02, 0x68, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x68, 0x69, 0x12, 0x0e, 0x0a,
0x02, 0x6c, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x6c, 0x6f, 0x22, 0xf1, 0x01,
0x0a, 0x17, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65,
0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x46, 0x0a, 0x0c, 0x64, 0x65, 0x63,
0x69, 0x6d, 0x61, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65,
0x63, 0x69, 0x6d, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x54, 0x79, 0x70,
0x65, 0x12, 0x3d, 0x0a, 0x09, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02,
0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e,
0x76, 0x31, 0x2e, 0x4a, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e,
0x73, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x08, 0x6a, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65,
0x12, 0x43, 0x0a, 0x0b, 0x76, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,
0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78,
0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0a, 0x76, 0x65, 0x63, 0x74, 0x6f,
0x72, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x65, 0x78,
0x74, 0x22, 0x4a, 0x0a, 0x14, 0x44, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65,
0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x65,
0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x70, 0x72,
0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x61, 0x6c, 0x65,
0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x22, 0x27, 0x0a,
0x13, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e,
0x73, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x69, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28,
0x0d, 0x52, 0x03, 0x64, 0x69, 0x6d, 0x22, 0x8e, 0x01, 0x0a, 0x0d, 0x43, 0x6f, 0x6c, 0x75, 0x6d,
0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x41, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69,
0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 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, 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, 0x2a, 0x31, 0x0a, 0x0c, 0x53, 0x65, 0x6d, 0x61, 0x6e,
0x74, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x41, 0x47, 0x10, 0x00,
0x12, 0x09, 0x0a, 0x05, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x54,
0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x10, 0x02, 0x2a, 0xec, 0x03, 0x0a, 0x0e, 0x43,
0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a,
0x07, 0x42, 0x4f, 0x4f, 0x4c, 0x45, 0x41, 0x4e, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x4e,
0x54, 0x38, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x31, 0x36, 0x10, 0x02, 0x12,
0x09, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e,
0x54, 0x36, 0x34, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x55, 0x49, 0x4e, 0x54, 0x38, 0x10, 0x05,
0x12, 0x0a, 0x0a, 0x06, 0x55, 0x49, 0x4e, 0x54, 0x31, 0x36, 0x10, 0x06, 0x12, 0x0a, 0x0a, 0x06,
0x55, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x07, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x49, 0x4e, 0x54,
0x36, 0x34, 0x10, 0x08, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x33, 0x32, 0x10,
0x09, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x36, 0x34, 0x10, 0x0a, 0x12, 0x0a,
0x0a, 0x06, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x10, 0x0b, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54,
0x52, 0x49, 0x4e, 0x47, 0x10, 0x0c, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x41, 0x54, 0x45, 0x10, 0x0d,
0x12, 0x0c, 0x0a, 0x08, 0x44, 0x41, 0x54, 0x45, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x0e, 0x12, 0x14,
0x0a, 0x10, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x53, 0x45, 0x43, 0x4f,
0x4e, 0x44, 0x10, 0x0f, 0x12, 0x19, 0x0a, 0x15, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d,
0x50, 0x5f, 0x4d, 0x49, 0x4c, 0x4c, 0x49, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x10, 0x12,
0x19, 0x0a, 0x15, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x4d, 0x49, 0x43,
0x52, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x11, 0x12, 0x18, 0x0a, 0x14, 0x54, 0x49,
0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x4e, 0x41, 0x4e, 0x4f, 0x53, 0x45, 0x43, 0x4f,
0x4e, 0x44, 0x10, 0x12, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x53, 0x45, 0x43,
0x4f, 0x4e, 0x44, 0x10, 0x13, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x4d, 0x49,
0x4c, 0x4c, 0x49, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x14, 0x12, 0x14, 0x0a, 0x10, 0x54,
0x49, 0x4d, 0x45, 0x5f, 0x4d, 0x49, 0x43, 0x52, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10,
0x15, 0x12, 0x13, 0x0a, 0x0f, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x4e, 0x41, 0x4e, 0x4f, 0x53, 0x45,
0x43, 0x4f, 0x4e, 0x44, 0x10, 0x16, 0x12, 0x17, 0x0a, 0x13, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x56,
0x41, 0x4c, 0x5f, 0x59, 0x45, 0x41, 0x52, 0x5f, 0x4d, 0x4f, 0x4e, 0x54, 0x48, 0x10, 0x17, 0x12,
0x15, 0x0a, 0x11, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x56, 0x41, 0x4c, 0x5f, 0x44, 0x41, 0x59, 0x5f,
0x54, 0x49, 0x4d, 0x45, 0x10, 0x18, 0x12, 0x1b, 0x0a, 0x17, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x56,
0x41, 0x4c, 0x5f, 0x4d, 0x4f, 0x4e, 0x54, 0x48, 0x5f, 0x44, 0x41, 0x59, 0x5f, 0x4e, 0x41, 0x4e,
0x4f, 0x10, 0x19, 0x12, 0x0e, 0x0a, 0x0a, 0x44, 0x45, 0x43, 0x49, 0x4d, 0x41, 0x4c, 0x31, 0x32,
0x38, 0x10, 0x1e, 0x12, 0x08, 0x0a, 0x04, 0x4a, 0x53, 0x4f, 0x4e, 0x10, 0x1f, 0x12, 0x0a, 0x0a,
0x06, 0x56, 0x45, 0x43, 0x54, 0x4f, 0x52, 0x10, 0x20, 0x2a, 0x24, 0x0a, 0x11, 0x4a, 0x73, 0x6f,
0x6e, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0f,
0x0a, 0x0b, 0x4a, 0x53, 0x4f, 0x4e, 0x5f, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x10, 0x00, 0x42,
0x4f, 0x0a, 0x0e, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76,
0x31, 0x42, 0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 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 ( var (
@@ -1622,7 +1623,7 @@ var file_greptime_v1_common_proto_goTypes = []interface{}{
(ColumnDataType)(0), // 1: greptime.v1.ColumnDataType (ColumnDataType)(0), // 1: greptime.v1.ColumnDataType
(JsonTypeExtension)(0), // 2: greptime.v1.JsonTypeExtension (JsonTypeExtension)(0), // 2: greptime.v1.JsonTypeExtension
(*QueryContext)(nil), // 3: greptime.v1.QueryContext (*QueryContext)(nil), // 3: greptime.v1.QueryContext
(*SequenceSnapshot)(nil), // 4: greptime.v1.SequenceSnapshot (*SnapshotSequences)(nil), // 4: greptime.v1.SnapshotSequences
(*RequestHeader)(nil), // 5: greptime.v1.RequestHeader (*RequestHeader)(nil), // 5: greptime.v1.RequestHeader
(*ResponseHeader)(nil), // 6: greptime.v1.ResponseHeader (*ResponseHeader)(nil), // 6: greptime.v1.ResponseHeader
(*Status)(nil), // 7: greptime.v1.Status (*Status)(nil), // 7: greptime.v1.Status
@@ -1641,14 +1642,14 @@ var file_greptime_v1_common_proto_goTypes = []interface{}{
(*VectorTypeExtension)(nil), // 20: greptime.v1.VectorTypeExtension (*VectorTypeExtension)(nil), // 20: greptime.v1.VectorTypeExtension
(*ColumnOptions)(nil), // 21: greptime.v1.ColumnOptions (*ColumnOptions)(nil), // 21: greptime.v1.ColumnOptions
nil, // 22: greptime.v1.QueryContext.ExtensionsEntry nil, // 22: greptime.v1.QueryContext.ExtensionsEntry
nil, // 23: greptime.v1.SequenceSnapshot.SeqSnapshotEntry nil, // 23: greptime.v1.SnapshotSequences.SnapshotSeqsEntry
nil, // 24: greptime.v1.RequestHeader.TracingContextEntry nil, // 24: greptime.v1.RequestHeader.TracingContextEntry
nil, // 25: greptime.v1.ColumnOptions.OptionsEntry nil, // 25: greptime.v1.ColumnOptions.OptionsEntry
} }
var file_greptime_v1_common_proto_depIdxs = []int32{ var file_greptime_v1_common_proto_depIdxs = []int32{
22, // 0: greptime.v1.QueryContext.extensions:type_name -> greptime.v1.QueryContext.ExtensionsEntry 22, // 0: greptime.v1.QueryContext.extensions:type_name -> greptime.v1.QueryContext.ExtensionsEntry
4, // 1: greptime.v1.QueryContext.seq_snapshot:type_name -> greptime.v1.SequenceSnapshot 4, // 1: greptime.v1.QueryContext.snapshot_seqs:type_name -> greptime.v1.SnapshotSequences
23, // 2: greptime.v1.SequenceSnapshot.seq_snapshot:type_name -> greptime.v1.SequenceSnapshot.SeqSnapshotEntry 23, // 2: greptime.v1.SnapshotSequences.snapshot_seqs:type_name -> greptime.v1.SnapshotSequences.SnapshotSeqsEntry
8, // 3: greptime.v1.RequestHeader.authorization:type_name -> greptime.v1.AuthHeader 8, // 3: greptime.v1.RequestHeader.authorization:type_name -> greptime.v1.AuthHeader
24, // 4: greptime.v1.RequestHeader.tracing_context:type_name -> greptime.v1.RequestHeader.TracingContextEntry 24, // 4: greptime.v1.RequestHeader.tracing_context:type_name -> greptime.v1.RequestHeader.TracingContextEntry
7, // 5: greptime.v1.ResponseHeader.status:type_name -> greptime.v1.Status 7, // 5: greptime.v1.ResponseHeader.status:type_name -> greptime.v1.Status
@@ -1686,7 +1687,7 @@ func file_greptime_v1_common_proto_init() {
} }
} }
file_greptime_v1_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { file_greptime_v1_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SequenceSnapshot); i { switch v := v.(*SnapshotSequences); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
File diff suppressed because it is too large Load Diff
+3 -3
View File
@@ -26,14 +26,14 @@ message QueryContext {
string timezone = 4; string timezone = 4;
map<string, string> extensions = 5; map<string, string> extensions = 5;
uint32 channel = 6; uint32 channel = 6;
SequenceSnapshot seq_snapshot = 7; SnapshotSequences snapshot_seqs = 7;
} }
message SequenceSnapshot{ message SnapshotSequences {
// mapping of RegionId to SequenceNumber, for snapshot read, meaning that the // mapping of RegionId to SequenceNumber, for snapshot read, meaning that the
// read should only container data that was committed before (and include) the // read should only container data that was committed before (and include) the
// given sequence number // given sequence number
map<uint64, uint64> seq_snapshot = 7; map<uint64, uint64> snapshot_seqs = 7;
} }
message RequestHeader { message RequestHeader {