feat: handle multiple DeleteRequest (#76)
This commit is contained in:
+285
-72
@@ -95,6 +95,19 @@ struct InsertRequestDefaultTypeInternal {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 InsertRequestDefaultTypeInternal _InsertRequest_default_instance_;
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 InsertRequestDefaultTypeInternal _InsertRequest_default_instance_;
|
||||||
|
PROTOBUF_CONSTEXPR DeleteRequests::DeleteRequests(
|
||||||
|
::_pbi::ConstantInitialized): _impl_{
|
||||||
|
/*decltype(_impl_.deletes_)*/{}
|
||||||
|
, /*decltype(_impl_._cached_size_)*/{}} {}
|
||||||
|
struct DeleteRequestsDefaultTypeInternal {
|
||||||
|
PROTOBUF_CONSTEXPR DeleteRequestsDefaultTypeInternal()
|
||||||
|
: _instance(::_pbi::ConstantInitialized{}) {}
|
||||||
|
~DeleteRequestsDefaultTypeInternal() {}
|
||||||
|
union {
|
||||||
|
DeleteRequests _instance;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeleteRequestsDefaultTypeInternal _DeleteRequests_default_instance_;
|
||||||
PROTOBUF_CONSTEXPR DeleteRequest::DeleteRequest(
|
PROTOBUF_CONSTEXPR DeleteRequest::DeleteRequest(
|
||||||
::_pbi::ConstantInitialized): _impl_{
|
::_pbi::ConstantInitialized): _impl_{
|
||||||
/*decltype(_impl_.key_columns_)*/{}
|
/*decltype(_impl_.key_columns_)*/{}
|
||||||
@@ -156,7 +169,7 @@ struct RowDeleteRequestDefaultTypeInternal {
|
|||||||
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RowDeleteRequestDefaultTypeInternal _RowDeleteRequest_default_instance_;
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RowDeleteRequestDefaultTypeInternal _RowDeleteRequest_default_instance_;
|
||||||
} // namespace v1
|
} // namespace v1
|
||||||
} // namespace greptime
|
} // namespace greptime
|
||||||
static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fdatabase_2eproto[9];
|
static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fdatabase_2eproto[10];
|
||||||
static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_greptime_2fv1_2fdatabase_2eproto = nullptr;
|
static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_greptime_2fv1_2fdatabase_2eproto = nullptr;
|
||||||
static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_greptime_2fv1_2fdatabase_2eproto = nullptr;
|
static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_greptime_2fv1_2fdatabase_2eproto = nullptr;
|
||||||
|
|
||||||
@@ -212,6 +225,13 @@ const uint32_t TableStruct_greptime_2fv1_2fdatabase_2eproto::offsets[] PROTOBUF_
|
|||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::InsertRequest, _impl_.row_count_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::InsertRequest, _impl_.row_count_),
|
||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::InsertRequest, _impl_.region_number_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::InsertRequest, _impl_.region_number_),
|
||||||
~0u, // no _has_bits_
|
~0u, // no _has_bits_
|
||||||
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::DeleteRequests, _internal_metadata_),
|
||||||
|
~0u, // no _extensions_
|
||||||
|
~0u, // no _oneof_case_
|
||||||
|
~0u, // no _weak_field_map_
|
||||||
|
~0u, // no _inlined_string_donated_
|
||||||
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::DeleteRequests, _impl_.deletes_),
|
||||||
|
~0u, // no _has_bits_
|
||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::DeleteRequest, _internal_metadata_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::DeleteRequest, _internal_metadata_),
|
||||||
~0u, // no _extensions_
|
~0u, // no _extensions_
|
||||||
~0u, // no _oneof_case_
|
~0u, // no _oneof_case_
|
||||||
@@ -253,10 +273,11 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode
|
|||||||
{ 23, -1, -1, sizeof(::greptime::v1::QueryRequest)},
|
{ 23, -1, -1, sizeof(::greptime::v1::QueryRequest)},
|
||||||
{ 33, -1, -1, sizeof(::greptime::v1::InsertRequests)},
|
{ 33, -1, -1, sizeof(::greptime::v1::InsertRequests)},
|
||||||
{ 40, -1, -1, sizeof(::greptime::v1::InsertRequest)},
|
{ 40, -1, -1, sizeof(::greptime::v1::InsertRequest)},
|
||||||
{ 50, -1, -1, sizeof(::greptime::v1::DeleteRequest)},
|
{ 50, -1, -1, sizeof(::greptime::v1::DeleteRequests)},
|
||||||
{ 60, -1, -1, sizeof(::greptime::v1::RowInsertRequests)},
|
{ 57, -1, -1, sizeof(::greptime::v1::DeleteRequest)},
|
||||||
{ 67, -1, -1, sizeof(::greptime::v1::RowInsertRequest)},
|
{ 67, -1, -1, sizeof(::greptime::v1::RowInsertRequests)},
|
||||||
{ 76, -1, -1, sizeof(::greptime::v1::RowDeleteRequest)},
|
{ 74, -1, -1, sizeof(::greptime::v1::RowInsertRequest)},
|
||||||
|
{ 83, -1, -1, sizeof(::greptime::v1::RowDeleteRequest)},
|
||||||
};
|
};
|
||||||
|
|
||||||
static const ::_pb::Message* const file_default_instances[] = {
|
static const ::_pb::Message* const file_default_instances[] = {
|
||||||
@@ -265,6 +286,7 @@ static const ::_pb::Message* const file_default_instances[] = {
|
|||||||
&::greptime::v1::_QueryRequest_default_instance_._instance,
|
&::greptime::v1::_QueryRequest_default_instance_._instance,
|
||||||
&::greptime::v1::_InsertRequests_default_instance_._instance,
|
&::greptime::v1::_InsertRequests_default_instance_._instance,
|
||||||
&::greptime::v1::_InsertRequest_default_instance_._instance,
|
&::greptime::v1::_InsertRequest_default_instance_._instance,
|
||||||
|
&::greptime::v1::_DeleteRequests_default_instance_._instance,
|
||||||
&::greptime::v1::_DeleteRequest_default_instance_._instance,
|
&::greptime::v1::_DeleteRequest_default_instance_._instance,
|
||||||
&::greptime::v1::_RowInsertRequests_default_instance_._instance,
|
&::greptime::v1::_RowInsertRequests_default_instance_._instance,
|
||||||
&::greptime::v1::_RowInsertRequest_default_instance_._instance,
|
&::greptime::v1::_RowInsertRequest_default_instance_._instance,
|
||||||
@@ -276,42 +298,44 @@ const char descriptor_table_protodef_greptime_2fv1_2fdatabase_2eproto[] PROTOBUF
|
|||||||
"1\032\025greptime/v1/ddl.proto\032\030greptime/v1/co"
|
"1\032\025greptime/v1/ddl.proto\032\030greptime/v1/co"
|
||||||
"lumn.proto\032\025greptime/v1/row.proto\032\026grept"
|
"lumn.proto\032\025greptime/v1/row.proto\032\026grept"
|
||||||
"ime/v1/prom.proto\032\030greptime/v1/common.pr"
|
"ime/v1/prom.proto\032\030greptime/v1/common.pr"
|
||||||
"oto\"\346\002\n\017GreptimeRequest\022*\n\006header\030\001 \001(\0132"
|
"oto\"\350\002\n\017GreptimeRequest\022*\n\006header\030\001 \001(\0132"
|
||||||
"\032.greptime.v1.RequestHeader\022.\n\007inserts\030\002"
|
"\032.greptime.v1.RequestHeader\022.\n\007inserts\030\002"
|
||||||
" \001(\0132\033.greptime.v1.InsertRequestsH\000\022*\n\005q"
|
" \001(\0132\033.greptime.v1.InsertRequestsH\000\022*\n\005q"
|
||||||
"uery\030\003 \001(\0132\031.greptime.v1.QueryRequestH\000\022"
|
"uery\030\003 \001(\0132\031.greptime.v1.QueryRequestH\000\022"
|
||||||
"&\n\003ddl\030\004 \001(\0132\027.greptime.v1.DdlRequestH\000\022"
|
"&\n\003ddl\030\004 \001(\0132\027.greptime.v1.DdlRequestH\000\022"
|
||||||
",\n\006delete\030\005 \001(\0132\032.greptime.v1.DeleteRequ"
|
".\n\007deletes\030\005 \001(\0132\033.greptime.v1.DeleteReq"
|
||||||
"estH\000\0225\n\013row_inserts\030\006 \001(\0132\036.greptime.v1"
|
"uestsH\000\0225\n\013row_inserts\030\006 \001(\0132\036.greptime."
|
||||||
".RowInsertRequestsH\000\0223\n\nrow_delete\030\007 \001(\013"
|
"v1.RowInsertRequestsH\000\0223\n\nrow_delete\030\007 \001"
|
||||||
"2\035.greptime.v1.RowDeleteRequestH\000B\t\n\007req"
|
"(\0132\035.greptime.v1.RowDeleteRequestH\000B\t\n\007r"
|
||||||
"uest\"\177\n\020GreptimeResponse\022+\n\006header\030\001 \001(\013"
|
"equest\"\177\n\020GreptimeResponse\022+\n\006header\030\001 \001"
|
||||||
"2\033.greptime.v1.ResponseHeader\0222\n\raffecte"
|
"(\0132\033.greptime.v1.ResponseHeader\0222\n\raffec"
|
||||||
"d_rows\030\002 \001(\0132\031.greptime.v1.AffectedRowsH"
|
"ted_rows\030\002 \001(\0132\031.greptime.v1.AffectedRow"
|
||||||
"\000B\n\n\010response\"w\n\014QueryRequest\022\r\n\003sql\030\001 \001"
|
"sH\000B\n\n\010response\"w\n\014QueryRequest\022\r\n\003sql\030\001"
|
||||||
"(\tH\000\022\026\n\014logical_plan\030\002 \001(\014H\000\0227\n\020prom_ran"
|
" \001(\tH\000\022\026\n\014logical_plan\030\002 \001(\014H\000\0227\n\020prom_r"
|
||||||
"ge_query\030\003 \001(\0132\033.greptime.v1.PromRangeQu"
|
"ange_query\030\003 \001(\0132\033.greptime.v1.PromRange"
|
||||||
"eryH\000B\007\n\005query\"=\n\016InsertRequests\022+\n\007inse"
|
"QueryH\000B\007\n\005query\"=\n\016InsertRequests\022+\n\007in"
|
||||||
"rts\030\001 \003(\0132\032.greptime.v1.InsertRequest\"s\n"
|
"serts\030\001 \003(\0132\032.greptime.v1.InsertRequest\""
|
||||||
"\rInsertRequest\022\022\n\ntable_name\030\001 \001(\t\022$\n\007co"
|
"s\n\rInsertRequest\022\022\n\ntable_name\030\001 \001(\t\022$\n\007"
|
||||||
"lumns\030\003 \003(\0132\023.greptime.v1.Column\022\021\n\trow_"
|
"columns\030\003 \003(\0132\023.greptime.v1.Column\022\021\n\tro"
|
||||||
"count\030\004 \001(\r\022\025\n\rregion_number\030\005 \001(\r\"w\n\rDe"
|
"w_count\030\004 \001(\r\022\025\n\rregion_number\030\005 \001(\r\"=\n\016"
|
||||||
"leteRequest\022\022\n\ntable_name\030\001 \001(\t\022\025\n\rregio"
|
"DeleteRequests\022+\n\007deletes\030\001 \003(\0132\032.grepti"
|
||||||
"n_number\030\002 \001(\r\022(\n\013key_columns\030\003 \003(\0132\023.gr"
|
"me.v1.DeleteRequest\"w\n\rDeleteRequest\022\022\n\n"
|
||||||
"eptime.v1.Column\022\021\n\trow_count\030\004 \001(\r\"C\n\021R"
|
"table_name\030\001 \001(\t\022\025\n\rregion_number\030\002 \001(\r\022"
|
||||||
"owInsertRequests\022.\n\007inserts\030\001 \003(\0132\035.grep"
|
"(\n\013key_columns\030\003 \003(\0132\023.greptime.v1.Colum"
|
||||||
"time.v1.RowInsertRequest\"^\n\020RowInsertReq"
|
"n\022\021\n\trow_count\030\004 \001(\r\"C\n\021RowInsertRequest"
|
||||||
"uest\022\022\n\ntable_name\030\001 \001(\t\022\037\n\004rows\030\002 \001(\0132\021"
|
"s\022.\n\007inserts\030\001 \003(\0132\035.greptime.v1.RowInse"
|
||||||
".greptime.v1.Rows\022\025\n\rregion_number\030\003 \001(\r"
|
"rtRequest\"^\n\020RowInsertRequest\022\022\n\ntable_n"
|
||||||
"\"^\n\020RowDeleteRequest\022\022\n\ntable_name\030\001 \001(\t"
|
"ame\030\001 \001(\t\022\037\n\004rows\030\002 \001(\0132\021.greptime.v1.Ro"
|
||||||
"\022\037\n\004rows\030\002 \001(\0132\021.greptime.v1.Rows\022\025\n\rreg"
|
"ws\022\025\n\rregion_number\030\003 \001(\r\"^\n\020RowDeleteRe"
|
||||||
"ion_number\030\003 \001(\r2\252\001\n\020GreptimeDatabase\022E\n"
|
"quest\022\022\n\ntable_name\030\001 \001(\t\022\037\n\004rows\030\002 \001(\0132"
|
||||||
"\006Handle\022\034.greptime.v1.GreptimeRequest\032\035."
|
"\021.greptime.v1.Rows\022\025\n\rregion_number\030\003 \001("
|
||||||
"greptime.v1.GreptimeResponse\022O\n\016HandleRe"
|
"\r2\252\001\n\020GreptimeDatabase\022E\n\006Handle\022\034.grept"
|
||||||
"quests\022\034.greptime.v1.GreptimeRequest\032\035.g"
|
"ime.v1.GreptimeRequest\032\035.greptime.v1.Gre"
|
||||||
"reptime.v1.GreptimeResponse(\001BQ\n\016io.grep"
|
"ptimeResponse\022O\n\016HandleRequests\022\034.grepti"
|
||||||
"time.v1B\010DatabaseZ5github.com/GreptimeTe"
|
"me.v1.GreptimeRequest\032\035.greptime.v1.Grep"
|
||||||
"am/greptime-proto/go/greptime/v1b\006proto3"
|
"timeResponse(\001BQ\n\016io.greptime.v1B\010Databa"
|
||||||
|
"seZ5github.com/GreptimeTeam/greptime-pro"
|
||||||
|
"to/go/greptime/v1b\006proto3"
|
||||||
;
|
;
|
||||||
static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fdatabase_2eproto_deps[5] = {
|
static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fdatabase_2eproto_deps[5] = {
|
||||||
&::descriptor_table_greptime_2fv1_2fcolumn_2eproto,
|
&::descriptor_table_greptime_2fv1_2fcolumn_2eproto,
|
||||||
@@ -322,9 +346,9 @@ static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fdat
|
|||||||
};
|
};
|
||||||
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fdatabase_2eproto_once;
|
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fdatabase_2eproto_once;
|
||||||
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fdatabase_2eproto = {
|
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fdatabase_2eproto = {
|
||||||
false, false, 1600, descriptor_table_protodef_greptime_2fv1_2fdatabase_2eproto,
|
false, false, 1665, descriptor_table_protodef_greptime_2fv1_2fdatabase_2eproto,
|
||||||
"greptime/v1/database.proto",
|
"greptime/v1/database.proto",
|
||||||
&descriptor_table_greptime_2fv1_2fdatabase_2eproto_once, descriptor_table_greptime_2fv1_2fdatabase_2eproto_deps, 5, 9,
|
&descriptor_table_greptime_2fv1_2fdatabase_2eproto_once, descriptor_table_greptime_2fv1_2fdatabase_2eproto_deps, 5, 10,
|
||||||
schemas, file_default_instances, TableStruct_greptime_2fv1_2fdatabase_2eproto::offsets,
|
schemas, file_default_instances, TableStruct_greptime_2fv1_2fdatabase_2eproto::offsets,
|
||||||
file_level_metadata_greptime_2fv1_2fdatabase_2eproto, file_level_enum_descriptors_greptime_2fv1_2fdatabase_2eproto,
|
file_level_metadata_greptime_2fv1_2fdatabase_2eproto, file_level_enum_descriptors_greptime_2fv1_2fdatabase_2eproto,
|
||||||
file_level_service_descriptors_greptime_2fv1_2fdatabase_2eproto,
|
file_level_service_descriptors_greptime_2fv1_2fdatabase_2eproto,
|
||||||
@@ -346,7 +370,7 @@ class GreptimeRequest::_Internal {
|
|||||||
static const ::greptime::v1::InsertRequests& inserts(const GreptimeRequest* msg);
|
static const ::greptime::v1::InsertRequests& inserts(const GreptimeRequest* msg);
|
||||||
static const ::greptime::v1::QueryRequest& query(const GreptimeRequest* msg);
|
static const ::greptime::v1::QueryRequest& query(const GreptimeRequest* msg);
|
||||||
static const ::greptime::v1::DdlRequest& ddl(const GreptimeRequest* msg);
|
static const ::greptime::v1::DdlRequest& ddl(const GreptimeRequest* msg);
|
||||||
static const ::greptime::v1::DeleteRequest& delete_(const GreptimeRequest* msg);
|
static const ::greptime::v1::DeleteRequests& deletes(const GreptimeRequest* msg);
|
||||||
static const ::greptime::v1::RowInsertRequests& row_inserts(const GreptimeRequest* msg);
|
static const ::greptime::v1::RowInsertRequests& row_inserts(const GreptimeRequest* msg);
|
||||||
static const ::greptime::v1::RowDeleteRequest& row_delete(const GreptimeRequest* msg);
|
static const ::greptime::v1::RowDeleteRequest& row_delete(const GreptimeRequest* msg);
|
||||||
};
|
};
|
||||||
@@ -367,9 +391,9 @@ const ::greptime::v1::DdlRequest&
|
|||||||
GreptimeRequest::_Internal::ddl(const GreptimeRequest* msg) {
|
GreptimeRequest::_Internal::ddl(const GreptimeRequest* msg) {
|
||||||
return *msg->_impl_.request_.ddl_;
|
return *msg->_impl_.request_.ddl_;
|
||||||
}
|
}
|
||||||
const ::greptime::v1::DeleteRequest&
|
const ::greptime::v1::DeleteRequests&
|
||||||
GreptimeRequest::_Internal::delete_(const GreptimeRequest* msg) {
|
GreptimeRequest::_Internal::deletes(const GreptimeRequest* msg) {
|
||||||
return *msg->_impl_.request_.delete__;
|
return *msg->_impl_.request_.deletes_;
|
||||||
}
|
}
|
||||||
const ::greptime::v1::RowInsertRequests&
|
const ::greptime::v1::RowInsertRequests&
|
||||||
GreptimeRequest::_Internal::row_inserts(const GreptimeRequest* msg) {
|
GreptimeRequest::_Internal::row_inserts(const GreptimeRequest* msg) {
|
||||||
@@ -439,20 +463,20 @@ void GreptimeRequest::clear_ddl() {
|
|||||||
clear_has_request();
|
clear_has_request();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
void GreptimeRequest::set_allocated_delete_(::greptime::v1::DeleteRequest* delete_) {
|
void GreptimeRequest::set_allocated_deletes(::greptime::v1::DeleteRequests* deletes) {
|
||||||
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||||
clear_request();
|
clear_request();
|
||||||
if (delete_) {
|
if (deletes) {
|
||||||
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
||||||
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(delete_);
|
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(deletes);
|
||||||
if (message_arena != submessage_arena) {
|
if (message_arena != submessage_arena) {
|
||||||
delete_ = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
deletes = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
||||||
message_arena, delete_, submessage_arena);
|
message_arena, deletes, submessage_arena);
|
||||||
}
|
}
|
||||||
set_has_delete_();
|
set_has_deletes();
|
||||||
_impl_.request_.delete__ = delete_;
|
_impl_.request_.deletes_ = deletes;
|
||||||
}
|
}
|
||||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.GreptimeRequest.delete)
|
// @@protoc_insertion_point(field_set_allocated:greptime.v1.GreptimeRequest.deletes)
|
||||||
}
|
}
|
||||||
void GreptimeRequest::set_allocated_row_inserts(::greptime::v1::RowInsertRequests* row_inserts) {
|
void GreptimeRequest::set_allocated_row_inserts(::greptime::v1::RowInsertRequests* row_inserts) {
|
||||||
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||||
@@ -520,9 +544,9 @@ GreptimeRequest::GreptimeRequest(const GreptimeRequest& from)
|
|||||||
from._internal_ddl());
|
from._internal_ddl());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case kDelete: {
|
case kDeletes: {
|
||||||
_this->_internal_mutable_delete_()->::greptime::v1::DeleteRequest::MergeFrom(
|
_this->_internal_mutable_deletes()->::greptime::v1::DeleteRequests::MergeFrom(
|
||||||
from._internal_delete_());
|
from._internal_deletes());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case kRowInserts: {
|
case kRowInserts: {
|
||||||
@@ -597,9 +621,9 @@ void GreptimeRequest::clear_request() {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case kDelete: {
|
case kDeletes: {
|
||||||
if (GetArenaForAllocation() == nullptr) {
|
if (GetArenaForAllocation() == nullptr) {
|
||||||
delete _impl_.request_.delete__;
|
delete _impl_.request_.deletes_;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -675,10 +699,10 @@ const char* GreptimeRequest::_InternalParse(const char* ptr, ::_pbi::ParseContex
|
|||||||
} else
|
} else
|
||||||
goto handle_unusual;
|
goto handle_unusual;
|
||||||
continue;
|
continue;
|
||||||
// .greptime.v1.DeleteRequest delete = 5;
|
// .greptime.v1.DeleteRequests deletes = 5;
|
||||||
case 5:
|
case 5:
|
||||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) {
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) {
|
||||||
ptr = ctx->ParseMessage(_internal_mutable_delete_(), ptr);
|
ptr = ctx->ParseMessage(_internal_mutable_deletes(), ptr);
|
||||||
CHK_(ptr);
|
CHK_(ptr);
|
||||||
} else
|
} else
|
||||||
goto handle_unusual;
|
goto handle_unusual;
|
||||||
@@ -756,11 +780,11 @@ uint8_t* GreptimeRequest::_InternalSerialize(
|
|||||||
_Internal::ddl(this).GetCachedSize(), target, stream);
|
_Internal::ddl(this).GetCachedSize(), target, stream);
|
||||||
}
|
}
|
||||||
|
|
||||||
// .greptime.v1.DeleteRequest delete = 5;
|
// .greptime.v1.DeleteRequests deletes = 5;
|
||||||
if (_internal_has_delete_()) {
|
if (_internal_has_deletes()) {
|
||||||
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||||
InternalWriteMessage(5, _Internal::delete_(this),
|
InternalWriteMessage(5, _Internal::deletes(this),
|
||||||
_Internal::delete_(this).GetCachedSize(), target, stream);
|
_Internal::deletes(this).GetCachedSize(), target, stream);
|
||||||
}
|
}
|
||||||
|
|
||||||
// .greptime.v1.RowInsertRequests row_inserts = 6;
|
// .greptime.v1.RowInsertRequests row_inserts = 6;
|
||||||
@@ -822,11 +846,11 @@ size_t GreptimeRequest::ByteSizeLong() const {
|
|||||||
*_impl_.request_.ddl_);
|
*_impl_.request_.ddl_);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
// .greptime.v1.DeleteRequest delete = 5;
|
// .greptime.v1.DeleteRequests deletes = 5;
|
||||||
case kDelete: {
|
case kDeletes: {
|
||||||
total_size += 1 +
|
total_size += 1 +
|
||||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
|
||||||
*_impl_.request_.delete__);
|
*_impl_.request_.deletes_);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
// .greptime.v1.RowInsertRequests row_inserts = 6;
|
// .greptime.v1.RowInsertRequests row_inserts = 6;
|
||||||
@@ -885,9 +909,9 @@ void GreptimeRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const
|
|||||||
from._internal_ddl());
|
from._internal_ddl());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case kDelete: {
|
case kDeletes: {
|
||||||
_this->_internal_mutable_delete_()->::greptime::v1::DeleteRequest::MergeFrom(
|
_this->_internal_mutable_deletes()->::greptime::v1::DeleteRequests::MergeFrom(
|
||||||
from._internal_delete_());
|
from._internal_deletes());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case kRowInserts: {
|
case kRowInserts: {
|
||||||
@@ -2052,6 +2076,191 @@ void InsertRequest::InternalSwap(InsertRequest* other) {
|
|||||||
|
|
||||||
// ===================================================================
|
// ===================================================================
|
||||||
|
|
||||||
|
class DeleteRequests::_Internal {
|
||||||
|
public:
|
||||||
|
};
|
||||||
|
|
||||||
|
DeleteRequests::DeleteRequests(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||||
|
bool is_message_owned)
|
||||||
|
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
|
||||||
|
SharedCtor(arena, is_message_owned);
|
||||||
|
// @@protoc_insertion_point(arena_constructor:greptime.v1.DeleteRequests)
|
||||||
|
}
|
||||||
|
DeleteRequests::DeleteRequests(const DeleteRequests& from)
|
||||||
|
: ::PROTOBUF_NAMESPACE_ID::Message() {
|
||||||
|
DeleteRequests* const _this = this; (void)_this;
|
||||||
|
new (&_impl_) Impl_{
|
||||||
|
decltype(_impl_.deletes_){from._impl_.deletes_}
|
||||||
|
, /*decltype(_impl_._cached_size_)*/{}};
|
||||||
|
|
||||||
|
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||||
|
// @@protoc_insertion_point(copy_constructor:greptime.v1.DeleteRequests)
|
||||||
|
}
|
||||||
|
|
||||||
|
inline void DeleteRequests::SharedCtor(
|
||||||
|
::_pb::Arena* arena, bool is_message_owned) {
|
||||||
|
(void)arena;
|
||||||
|
(void)is_message_owned;
|
||||||
|
new (&_impl_) Impl_{
|
||||||
|
decltype(_impl_.deletes_){arena}
|
||||||
|
, /*decltype(_impl_._cached_size_)*/{}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
DeleteRequests::~DeleteRequests() {
|
||||||
|
// @@protoc_insertion_point(destructor:greptime.v1.DeleteRequests)
|
||||||
|
if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
|
||||||
|
(void)arena;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
SharedDtor();
|
||||||
|
}
|
||||||
|
|
||||||
|
inline void DeleteRequests::SharedDtor() {
|
||||||
|
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
|
||||||
|
_impl_.deletes_.~RepeatedPtrField();
|
||||||
|
}
|
||||||
|
|
||||||
|
void DeleteRequests::SetCachedSize(int size) const {
|
||||||
|
_impl_._cached_size_.Set(size);
|
||||||
|
}
|
||||||
|
|
||||||
|
void DeleteRequests::Clear() {
|
||||||
|
// @@protoc_insertion_point(message_clear_start:greptime.v1.DeleteRequests)
|
||||||
|
uint32_t cached_has_bits = 0;
|
||||||
|
// Prevent compiler warnings about cached_has_bits being unused
|
||||||
|
(void) cached_has_bits;
|
||||||
|
|
||||||
|
_impl_.deletes_.Clear();
|
||||||
|
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
||||||
|
}
|
||||||
|
|
||||||
|
const char* DeleteRequests::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
|
||||||
|
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
|
||||||
|
while (!ctx->Done(&ptr)) {
|
||||||
|
uint32_t tag;
|
||||||
|
ptr = ::_pbi::ReadTag(ptr, &tag);
|
||||||
|
switch (tag >> 3) {
|
||||||
|
// repeated .greptime.v1.DeleteRequest deletes = 1;
|
||||||
|
case 1:
|
||||||
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
|
||||||
|
ptr -= 1;
|
||||||
|
do {
|
||||||
|
ptr += 1;
|
||||||
|
ptr = ctx->ParseMessage(_internal_add_deletes(), ptr);
|
||||||
|
CHK_(ptr);
|
||||||
|
if (!ctx->DataAvailable(ptr)) break;
|
||||||
|
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr));
|
||||||
|
} else
|
||||||
|
goto handle_unusual;
|
||||||
|
continue;
|
||||||
|
default:
|
||||||
|
goto handle_unusual;
|
||||||
|
} // switch
|
||||||
|
handle_unusual:
|
||||||
|
if ((tag == 0) || ((tag & 7) == 4)) {
|
||||||
|
CHK_(ptr);
|
||||||
|
ctx->SetLastTag(tag);
|
||||||
|
goto message_done;
|
||||||
|
}
|
||||||
|
ptr = UnknownFieldParse(
|
||||||
|
tag,
|
||||||
|
_internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
|
||||||
|
ptr, ctx);
|
||||||
|
CHK_(ptr != nullptr);
|
||||||
|
} // while
|
||||||
|
message_done:
|
||||||
|
return ptr;
|
||||||
|
failure:
|
||||||
|
ptr = nullptr;
|
||||||
|
goto message_done;
|
||||||
|
#undef CHK_
|
||||||
|
}
|
||||||
|
|
||||||
|
uint8_t* DeleteRequests::_InternalSerialize(
|
||||||
|
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
|
||||||
|
// @@protoc_insertion_point(serialize_to_array_start:greptime.v1.DeleteRequests)
|
||||||
|
uint32_t cached_has_bits = 0;
|
||||||
|
(void) cached_has_bits;
|
||||||
|
|
||||||
|
// repeated .greptime.v1.DeleteRequest deletes = 1;
|
||||||
|
for (unsigned i = 0,
|
||||||
|
n = static_cast<unsigned>(this->_internal_deletes_size()); i < n; i++) {
|
||||||
|
const auto& repfield = this->_internal_deletes(i);
|
||||||
|
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||||
|
InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
||||||
|
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
||||||
|
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
|
||||||
|
}
|
||||||
|
// @@protoc_insertion_point(serialize_to_array_end:greptime.v1.DeleteRequests)
|
||||||
|
return target;
|
||||||
|
}
|
||||||
|
|
||||||
|
size_t DeleteRequests::ByteSizeLong() const {
|
||||||
|
// @@protoc_insertion_point(message_byte_size_start:greptime.v1.DeleteRequests)
|
||||||
|
size_t total_size = 0;
|
||||||
|
|
||||||
|
uint32_t cached_has_bits = 0;
|
||||||
|
// Prevent compiler warnings about cached_has_bits being unused
|
||||||
|
(void) cached_has_bits;
|
||||||
|
|
||||||
|
// repeated .greptime.v1.DeleteRequest deletes = 1;
|
||||||
|
total_size += 1UL * this->_internal_deletes_size();
|
||||||
|
for (const auto& msg : this->_impl_.deletes_) {
|
||||||
|
total_size +=
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
|
||||||
|
}
|
||||||
|
|
||||||
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
||||||
|
}
|
||||||
|
|
||||||
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DeleteRequests::_class_data_ = {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
|
||||||
|
DeleteRequests::MergeImpl
|
||||||
|
};
|
||||||
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DeleteRequests::GetClassData() const { return &_class_data_; }
|
||||||
|
|
||||||
|
|
||||||
|
void DeleteRequests::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
|
||||||
|
auto* const _this = static_cast<DeleteRequests*>(&to_msg);
|
||||||
|
auto& from = static_cast<const DeleteRequests&>(from_msg);
|
||||||
|
// @@protoc_insertion_point(class_specific_merge_from_start:greptime.v1.DeleteRequests)
|
||||||
|
GOOGLE_DCHECK_NE(&from, _this);
|
||||||
|
uint32_t cached_has_bits = 0;
|
||||||
|
(void) cached_has_bits;
|
||||||
|
|
||||||
|
_this->_impl_.deletes_.MergeFrom(from._impl_.deletes_);
|
||||||
|
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||||
|
}
|
||||||
|
|
||||||
|
void DeleteRequests::CopyFrom(const DeleteRequests& from) {
|
||||||
|
// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.DeleteRequests)
|
||||||
|
if (&from == this) return;
|
||||||
|
Clear();
|
||||||
|
MergeFrom(from);
|
||||||
|
}
|
||||||
|
|
||||||
|
bool DeleteRequests::IsInitialized() const {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DeleteRequests::InternalSwap(DeleteRequests* other) {
|
||||||
|
using std::swap;
|
||||||
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
||||||
|
_impl_.deletes_.InternalSwap(&other->_impl_.deletes_);
|
||||||
|
}
|
||||||
|
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Metadata DeleteRequests::GetMetadata() const {
|
||||||
|
return ::_pbi::AssignDescriptors(
|
||||||
|
&descriptor_table_greptime_2fv1_2fdatabase_2eproto_getter, &descriptor_table_greptime_2fv1_2fdatabase_2eproto_once,
|
||||||
|
file_level_metadata_greptime_2fv1_2fdatabase_2eproto[5]);
|
||||||
|
}
|
||||||
|
|
||||||
|
// ===================================================================
|
||||||
|
|
||||||
class DeleteRequest::_Internal {
|
class DeleteRequest::_Internal {
|
||||||
public:
|
public:
|
||||||
};
|
};
|
||||||
@@ -2347,7 +2556,7 @@ void DeleteRequest::InternalSwap(DeleteRequest* other) {
|
|||||||
::PROTOBUF_NAMESPACE_ID::Metadata DeleteRequest::GetMetadata() const {
|
::PROTOBUF_NAMESPACE_ID::Metadata DeleteRequest::GetMetadata() const {
|
||||||
return ::_pbi::AssignDescriptors(
|
return ::_pbi::AssignDescriptors(
|
||||||
&descriptor_table_greptime_2fv1_2fdatabase_2eproto_getter, &descriptor_table_greptime_2fv1_2fdatabase_2eproto_once,
|
&descriptor_table_greptime_2fv1_2fdatabase_2eproto_getter, &descriptor_table_greptime_2fv1_2fdatabase_2eproto_once,
|
||||||
file_level_metadata_greptime_2fv1_2fdatabase_2eproto[5]);
|
file_level_metadata_greptime_2fv1_2fdatabase_2eproto[6]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ===================================================================
|
// ===================================================================
|
||||||
@@ -2532,7 +2741,7 @@ void RowInsertRequests::InternalSwap(RowInsertRequests* other) {
|
|||||||
::PROTOBUF_NAMESPACE_ID::Metadata RowInsertRequests::GetMetadata() const {
|
::PROTOBUF_NAMESPACE_ID::Metadata RowInsertRequests::GetMetadata() const {
|
||||||
return ::_pbi::AssignDescriptors(
|
return ::_pbi::AssignDescriptors(
|
||||||
&descriptor_table_greptime_2fv1_2fdatabase_2eproto_getter, &descriptor_table_greptime_2fv1_2fdatabase_2eproto_once,
|
&descriptor_table_greptime_2fv1_2fdatabase_2eproto_getter, &descriptor_table_greptime_2fv1_2fdatabase_2eproto_once,
|
||||||
file_level_metadata_greptime_2fv1_2fdatabase_2eproto[6]);
|
file_level_metadata_greptime_2fv1_2fdatabase_2eproto[7]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ===================================================================
|
// ===================================================================
|
||||||
@@ -2814,7 +3023,7 @@ void RowInsertRequest::InternalSwap(RowInsertRequest* other) {
|
|||||||
::PROTOBUF_NAMESPACE_ID::Metadata RowInsertRequest::GetMetadata() const {
|
::PROTOBUF_NAMESPACE_ID::Metadata RowInsertRequest::GetMetadata() const {
|
||||||
return ::_pbi::AssignDescriptors(
|
return ::_pbi::AssignDescriptors(
|
||||||
&descriptor_table_greptime_2fv1_2fdatabase_2eproto_getter, &descriptor_table_greptime_2fv1_2fdatabase_2eproto_once,
|
&descriptor_table_greptime_2fv1_2fdatabase_2eproto_getter, &descriptor_table_greptime_2fv1_2fdatabase_2eproto_once,
|
||||||
file_level_metadata_greptime_2fv1_2fdatabase_2eproto[7]);
|
file_level_metadata_greptime_2fv1_2fdatabase_2eproto[8]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ===================================================================
|
// ===================================================================
|
||||||
@@ -3096,7 +3305,7 @@ void RowDeleteRequest::InternalSwap(RowDeleteRequest* other) {
|
|||||||
::PROTOBUF_NAMESPACE_ID::Metadata RowDeleteRequest::GetMetadata() const {
|
::PROTOBUF_NAMESPACE_ID::Metadata RowDeleteRequest::GetMetadata() const {
|
||||||
return ::_pbi::AssignDescriptors(
|
return ::_pbi::AssignDescriptors(
|
||||||
&descriptor_table_greptime_2fv1_2fdatabase_2eproto_getter, &descriptor_table_greptime_2fv1_2fdatabase_2eproto_once,
|
&descriptor_table_greptime_2fv1_2fdatabase_2eproto_getter, &descriptor_table_greptime_2fv1_2fdatabase_2eproto_once,
|
||||||
file_level_metadata_greptime_2fv1_2fdatabase_2eproto[8]);
|
file_level_metadata_greptime_2fv1_2fdatabase_2eproto[9]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// @@protoc_insertion_point(namespace_scope)
|
// @@protoc_insertion_point(namespace_scope)
|
||||||
@@ -3123,6 +3332,10 @@ template<> PROTOBUF_NOINLINE ::greptime::v1::InsertRequest*
|
|||||||
Arena::CreateMaybeMessage< ::greptime::v1::InsertRequest >(Arena* arena) {
|
Arena::CreateMaybeMessage< ::greptime::v1::InsertRequest >(Arena* arena) {
|
||||||
return Arena::CreateMessageInternal< ::greptime::v1::InsertRequest >(arena);
|
return Arena::CreateMessageInternal< ::greptime::v1::InsertRequest >(arena);
|
||||||
}
|
}
|
||||||
|
template<> PROTOBUF_NOINLINE ::greptime::v1::DeleteRequests*
|
||||||
|
Arena::CreateMaybeMessage< ::greptime::v1::DeleteRequests >(Arena* arena) {
|
||||||
|
return Arena::CreateMessageInternal< ::greptime::v1::DeleteRequests >(arena);
|
||||||
|
}
|
||||||
template<> PROTOBUF_NOINLINE ::greptime::v1::DeleteRequest*
|
template<> PROTOBUF_NOINLINE ::greptime::v1::DeleteRequest*
|
||||||
Arena::CreateMaybeMessage< ::greptime::v1::DeleteRequest >(Arena* arena) {
|
Arena::CreateMaybeMessage< ::greptime::v1::DeleteRequest >(Arena* arena) {
|
||||||
return Arena::CreateMessageInternal< ::greptime::v1::DeleteRequest >(arena);
|
return Arena::CreateMessageInternal< ::greptime::v1::DeleteRequest >(arena);
|
||||||
|
|||||||
+268
-61
@@ -54,6 +54,9 @@ namespace v1 {
|
|||||||
class DeleteRequest;
|
class DeleteRequest;
|
||||||
struct DeleteRequestDefaultTypeInternal;
|
struct DeleteRequestDefaultTypeInternal;
|
||||||
extern DeleteRequestDefaultTypeInternal _DeleteRequest_default_instance_;
|
extern DeleteRequestDefaultTypeInternal _DeleteRequest_default_instance_;
|
||||||
|
class DeleteRequests;
|
||||||
|
struct DeleteRequestsDefaultTypeInternal;
|
||||||
|
extern DeleteRequestsDefaultTypeInternal _DeleteRequests_default_instance_;
|
||||||
class GreptimeRequest;
|
class GreptimeRequest;
|
||||||
struct GreptimeRequestDefaultTypeInternal;
|
struct GreptimeRequestDefaultTypeInternal;
|
||||||
extern GreptimeRequestDefaultTypeInternal _GreptimeRequest_default_instance_;
|
extern GreptimeRequestDefaultTypeInternal _GreptimeRequest_default_instance_;
|
||||||
@@ -82,6 +85,7 @@ extern RowInsertRequestsDefaultTypeInternal _RowInsertRequests_default_instance_
|
|||||||
} // namespace greptime
|
} // namespace greptime
|
||||||
PROTOBUF_NAMESPACE_OPEN
|
PROTOBUF_NAMESPACE_OPEN
|
||||||
template<> ::greptime::v1::DeleteRequest* Arena::CreateMaybeMessage<::greptime::v1::DeleteRequest>(Arena*);
|
template<> ::greptime::v1::DeleteRequest* Arena::CreateMaybeMessage<::greptime::v1::DeleteRequest>(Arena*);
|
||||||
|
template<> ::greptime::v1::DeleteRequests* Arena::CreateMaybeMessage<::greptime::v1::DeleteRequests>(Arena*);
|
||||||
template<> ::greptime::v1::GreptimeRequest* Arena::CreateMaybeMessage<::greptime::v1::GreptimeRequest>(Arena*);
|
template<> ::greptime::v1::GreptimeRequest* Arena::CreateMaybeMessage<::greptime::v1::GreptimeRequest>(Arena*);
|
||||||
template<> ::greptime::v1::GreptimeResponse* Arena::CreateMaybeMessage<::greptime::v1::GreptimeResponse>(Arena*);
|
template<> ::greptime::v1::GreptimeResponse* Arena::CreateMaybeMessage<::greptime::v1::GreptimeResponse>(Arena*);
|
||||||
template<> ::greptime::v1::InsertRequest* Arena::CreateMaybeMessage<::greptime::v1::InsertRequest>(Arena*);
|
template<> ::greptime::v1::InsertRequest* Arena::CreateMaybeMessage<::greptime::v1::InsertRequest>(Arena*);
|
||||||
@@ -143,7 +147,7 @@ class GreptimeRequest final :
|
|||||||
kInserts = 2,
|
kInserts = 2,
|
||||||
kQuery = 3,
|
kQuery = 3,
|
||||||
kDdl = 4,
|
kDdl = 4,
|
||||||
kDelete = 5,
|
kDeletes = 5,
|
||||||
kRowInserts = 6,
|
kRowInserts = 6,
|
||||||
kRowDelete = 7,
|
kRowDelete = 7,
|
||||||
REQUEST_NOT_SET = 0,
|
REQUEST_NOT_SET = 0,
|
||||||
@@ -231,7 +235,7 @@ class GreptimeRequest final :
|
|||||||
kInsertsFieldNumber = 2,
|
kInsertsFieldNumber = 2,
|
||||||
kQueryFieldNumber = 3,
|
kQueryFieldNumber = 3,
|
||||||
kDdlFieldNumber = 4,
|
kDdlFieldNumber = 4,
|
||||||
kDeleteFieldNumber = 5,
|
kDeletesFieldNumber = 5,
|
||||||
kRowInsertsFieldNumber = 6,
|
kRowInsertsFieldNumber = 6,
|
||||||
kRowDeleteFieldNumber = 7,
|
kRowDeleteFieldNumber = 7,
|
||||||
};
|
};
|
||||||
@@ -307,23 +311,23 @@ class GreptimeRequest final :
|
|||||||
::greptime::v1::DdlRequest* ddl);
|
::greptime::v1::DdlRequest* ddl);
|
||||||
::greptime::v1::DdlRequest* unsafe_arena_release_ddl();
|
::greptime::v1::DdlRequest* unsafe_arena_release_ddl();
|
||||||
|
|
||||||
// .greptime.v1.DeleteRequest delete = 5;
|
// .greptime.v1.DeleteRequests deletes = 5;
|
||||||
bool has_delete_() const;
|
bool has_deletes() const;
|
||||||
private:
|
private:
|
||||||
bool _internal_has_delete_() const;
|
bool _internal_has_deletes() const;
|
||||||
public:
|
public:
|
||||||
void clear_delete_();
|
void clear_deletes();
|
||||||
const ::greptime::v1::DeleteRequest& delete_() const;
|
const ::greptime::v1::DeleteRequests& deletes() const;
|
||||||
PROTOBUF_NODISCARD ::greptime::v1::DeleteRequest* release_delete_();
|
PROTOBUF_NODISCARD ::greptime::v1::DeleteRequests* release_deletes();
|
||||||
::greptime::v1::DeleteRequest* mutable_delete_();
|
::greptime::v1::DeleteRequests* mutable_deletes();
|
||||||
void set_allocated_delete_(::greptime::v1::DeleteRequest* delete_);
|
void set_allocated_deletes(::greptime::v1::DeleteRequests* deletes);
|
||||||
private:
|
private:
|
||||||
const ::greptime::v1::DeleteRequest& _internal_delete_() const;
|
const ::greptime::v1::DeleteRequests& _internal_deletes() const;
|
||||||
::greptime::v1::DeleteRequest* _internal_mutable_delete_();
|
::greptime::v1::DeleteRequests* _internal_mutable_deletes();
|
||||||
public:
|
public:
|
||||||
void unsafe_arena_set_allocated_delete_(
|
void unsafe_arena_set_allocated_deletes(
|
||||||
::greptime::v1::DeleteRequest* delete_);
|
::greptime::v1::DeleteRequests* deletes);
|
||||||
::greptime::v1::DeleteRequest* unsafe_arena_release_delete_();
|
::greptime::v1::DeleteRequests* unsafe_arena_release_deletes();
|
||||||
|
|
||||||
// .greptime.v1.RowInsertRequests row_inserts = 6;
|
// .greptime.v1.RowInsertRequests row_inserts = 6;
|
||||||
bool has_row_inserts() const;
|
bool has_row_inserts() const;
|
||||||
@@ -369,7 +373,7 @@ class GreptimeRequest final :
|
|||||||
void set_has_inserts();
|
void set_has_inserts();
|
||||||
void set_has_query();
|
void set_has_query();
|
||||||
void set_has_ddl();
|
void set_has_ddl();
|
||||||
void set_has_delete_();
|
void set_has_deletes();
|
||||||
void set_has_row_inserts();
|
void set_has_row_inserts();
|
||||||
void set_has_row_delete();
|
void set_has_row_delete();
|
||||||
|
|
||||||
@@ -387,7 +391,7 @@ class GreptimeRequest final :
|
|||||||
::greptime::v1::InsertRequests* inserts_;
|
::greptime::v1::InsertRequests* inserts_;
|
||||||
::greptime::v1::QueryRequest* query_;
|
::greptime::v1::QueryRequest* query_;
|
||||||
::greptime::v1::DdlRequest* ddl_;
|
::greptime::v1::DdlRequest* ddl_;
|
||||||
::greptime::v1::DeleteRequest* delete__;
|
::greptime::v1::DeleteRequests* deletes_;
|
||||||
::greptime::v1::RowInsertRequests* row_inserts_;
|
::greptime::v1::RowInsertRequests* row_inserts_;
|
||||||
::greptime::v1::RowDeleteRequest* row_delete_;
|
::greptime::v1::RowDeleteRequest* row_delete_;
|
||||||
} request_;
|
} request_;
|
||||||
@@ -1164,6 +1168,163 @@ class InsertRequest final :
|
|||||||
};
|
};
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
class DeleteRequests final :
|
||||||
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.DeleteRequests) */ {
|
||||||
|
public:
|
||||||
|
inline DeleteRequests() : DeleteRequests(nullptr) {}
|
||||||
|
~DeleteRequests() override;
|
||||||
|
explicit PROTOBUF_CONSTEXPR DeleteRequests(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
||||||
|
|
||||||
|
DeleteRequests(const DeleteRequests& from);
|
||||||
|
DeleteRequests(DeleteRequests&& from) noexcept
|
||||||
|
: DeleteRequests() {
|
||||||
|
*this = ::std::move(from);
|
||||||
|
}
|
||||||
|
|
||||||
|
inline DeleteRequests& operator=(const DeleteRequests& from) {
|
||||||
|
CopyFrom(from);
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
inline DeleteRequests& operator=(DeleteRequests&& from) noexcept {
|
||||||
|
if (this == &from) return *this;
|
||||||
|
if (GetOwningArena() == from.GetOwningArena()
|
||||||
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
|
||||||
|
&& GetOwningArena() != nullptr
|
||||||
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
||||||
|
) {
|
||||||
|
InternalSwap(&from);
|
||||||
|
} else {
|
||||||
|
CopyFrom(from);
|
||||||
|
}
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
|
||||||
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
||||||
|
return GetDescriptor();
|
||||||
|
}
|
||||||
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
||||||
|
return default_instance().GetMetadata().descriptor;
|
||||||
|
}
|
||||||
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
||||||
|
return default_instance().GetMetadata().reflection;
|
||||||
|
}
|
||||||
|
static const DeleteRequests& default_instance() {
|
||||||
|
return *internal_default_instance();
|
||||||
|
}
|
||||||
|
static inline const DeleteRequests* internal_default_instance() {
|
||||||
|
return reinterpret_cast<const DeleteRequests*>(
|
||||||
|
&_DeleteRequests_default_instance_);
|
||||||
|
}
|
||||||
|
static constexpr int kIndexInFileMessages =
|
||||||
|
5;
|
||||||
|
|
||||||
|
friend void swap(DeleteRequests& a, DeleteRequests& b) {
|
||||||
|
a.Swap(&b);
|
||||||
|
}
|
||||||
|
inline void Swap(DeleteRequests* other) {
|
||||||
|
if (other == this) return;
|
||||||
|
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
|
||||||
|
if (GetOwningArena() != nullptr &&
|
||||||
|
GetOwningArena() == other->GetOwningArena()) {
|
||||||
|
#else // PROTOBUF_FORCE_COPY_IN_SWAP
|
||||||
|
if (GetOwningArena() == other->GetOwningArena()) {
|
||||||
|
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
|
||||||
|
InternalSwap(other);
|
||||||
|
} else {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
void UnsafeArenaSwap(DeleteRequests* other) {
|
||||||
|
if (other == this) return;
|
||||||
|
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
||||||
|
InternalSwap(other);
|
||||||
|
}
|
||||||
|
|
||||||
|
// implements Message ----------------------------------------------
|
||||||
|
|
||||||
|
DeleteRequests* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
||||||
|
return CreateMaybeMessage<DeleteRequests>(arena);
|
||||||
|
}
|
||||||
|
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
||||||
|
void CopyFrom(const DeleteRequests& from);
|
||||||
|
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
||||||
|
void MergeFrom( const DeleteRequests& from) {
|
||||||
|
DeleteRequests::MergeImpl(*this, from);
|
||||||
|
}
|
||||||
|
private:
|
||||||
|
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
|
||||||
|
public:
|
||||||
|
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
|
||||||
|
bool IsInitialized() const final;
|
||||||
|
|
||||||
|
size_t ByteSizeLong() const final;
|
||||||
|
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
||||||
|
uint8_t* _InternalSerialize(
|
||||||
|
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
|
||||||
|
int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
|
||||||
|
|
||||||
|
private:
|
||||||
|
void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
|
||||||
|
void SharedDtor();
|
||||||
|
void SetCachedSize(int size) const final;
|
||||||
|
void InternalSwap(DeleteRequests* other);
|
||||||
|
|
||||||
|
private:
|
||||||
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
||||||
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
||||||
|
return "greptime.v1.DeleteRequests";
|
||||||
|
}
|
||||||
|
protected:
|
||||||
|
explicit DeleteRequests(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||||
|
bool is_message_owned = false);
|
||||||
|
public:
|
||||||
|
|
||||||
|
static const ClassData _class_data_;
|
||||||
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
|
||||||
|
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
||||||
|
|
||||||
|
// nested types ----------------------------------------------------
|
||||||
|
|
||||||
|
// accessors -------------------------------------------------------
|
||||||
|
|
||||||
|
enum : int {
|
||||||
|
kDeletesFieldNumber = 1,
|
||||||
|
};
|
||||||
|
// repeated .greptime.v1.DeleteRequest deletes = 1;
|
||||||
|
int deletes_size() const;
|
||||||
|
private:
|
||||||
|
int _internal_deletes_size() const;
|
||||||
|
public:
|
||||||
|
void clear_deletes();
|
||||||
|
::greptime::v1::DeleteRequest* mutable_deletes(int index);
|
||||||
|
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::DeleteRequest >*
|
||||||
|
mutable_deletes();
|
||||||
|
private:
|
||||||
|
const ::greptime::v1::DeleteRequest& _internal_deletes(int index) const;
|
||||||
|
::greptime::v1::DeleteRequest* _internal_add_deletes();
|
||||||
|
public:
|
||||||
|
const ::greptime::v1::DeleteRequest& deletes(int index) const;
|
||||||
|
::greptime::v1::DeleteRequest* add_deletes();
|
||||||
|
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::DeleteRequest >&
|
||||||
|
deletes() const;
|
||||||
|
|
||||||
|
// @@protoc_insertion_point(class_scope:greptime.v1.DeleteRequests)
|
||||||
|
private:
|
||||||
|
class _Internal;
|
||||||
|
|
||||||
|
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
||||||
|
typedef void InternalArenaConstructable_;
|
||||||
|
typedef void DestructorSkippable_;
|
||||||
|
struct Impl_ {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::DeleteRequest > deletes_;
|
||||||
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||||
|
};
|
||||||
|
union { Impl_ _impl_; };
|
||||||
|
friend struct ::TableStruct_greptime_2fv1_2fdatabase_2eproto;
|
||||||
|
};
|
||||||
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
class DeleteRequest final :
|
class DeleteRequest final :
|
||||||
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.DeleteRequest) */ {
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.DeleteRequest) */ {
|
||||||
public:
|
public:
|
||||||
@@ -1212,7 +1373,7 @@ class DeleteRequest final :
|
|||||||
&_DeleteRequest_default_instance_);
|
&_DeleteRequest_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
5;
|
6;
|
||||||
|
|
||||||
friend void swap(DeleteRequest& a, DeleteRequest& b) {
|
friend void swap(DeleteRequest& a, DeleteRequest& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@@ -1407,7 +1568,7 @@ class RowInsertRequests final :
|
|||||||
&_RowInsertRequests_default_instance_);
|
&_RowInsertRequests_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
6;
|
7;
|
||||||
|
|
||||||
friend void swap(RowInsertRequests& a, RowInsertRequests& b) {
|
friend void swap(RowInsertRequests& a, RowInsertRequests& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@@ -1564,7 +1725,7 @@ class RowInsertRequest final :
|
|||||||
&_RowInsertRequest_default_instance_);
|
&_RowInsertRequest_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
7;
|
8;
|
||||||
|
|
||||||
friend void swap(RowInsertRequest& a, RowInsertRequest& b) {
|
friend void swap(RowInsertRequest& a, RowInsertRequest& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@@ -1748,7 +1909,7 @@ class RowDeleteRequest final :
|
|||||||
&_RowDeleteRequest_default_instance_);
|
&_RowDeleteRequest_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
8;
|
9;
|
||||||
|
|
||||||
friend void swap(RowDeleteRequest& a, RowDeleteRequest& b) {
|
friend void swap(RowDeleteRequest& a, RowDeleteRequest& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@@ -2192,77 +2353,77 @@ inline ::greptime::v1::DdlRequest* GreptimeRequest::mutable_ddl() {
|
|||||||
return _msg;
|
return _msg;
|
||||||
}
|
}
|
||||||
|
|
||||||
// .greptime.v1.DeleteRequest delete = 5;
|
// .greptime.v1.DeleteRequests deletes = 5;
|
||||||
inline bool GreptimeRequest::_internal_has_delete_() const {
|
inline bool GreptimeRequest::_internal_has_deletes() const {
|
||||||
return request_case() == kDelete;
|
return request_case() == kDeletes;
|
||||||
}
|
}
|
||||||
inline bool GreptimeRequest::has_delete_() const {
|
inline bool GreptimeRequest::has_deletes() const {
|
||||||
return _internal_has_delete_();
|
return _internal_has_deletes();
|
||||||
}
|
}
|
||||||
inline void GreptimeRequest::set_has_delete_() {
|
inline void GreptimeRequest::set_has_deletes() {
|
||||||
_impl_._oneof_case_[0] = kDelete;
|
_impl_._oneof_case_[0] = kDeletes;
|
||||||
}
|
}
|
||||||
inline void GreptimeRequest::clear_delete_() {
|
inline void GreptimeRequest::clear_deletes() {
|
||||||
if (_internal_has_delete_()) {
|
if (_internal_has_deletes()) {
|
||||||
if (GetArenaForAllocation() == nullptr) {
|
if (GetArenaForAllocation() == nullptr) {
|
||||||
delete _impl_.request_.delete__;
|
delete _impl_.request_.deletes_;
|
||||||
}
|
}
|
||||||
clear_has_request();
|
clear_has_request();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
inline ::greptime::v1::DeleteRequest* GreptimeRequest::release_delete_() {
|
inline ::greptime::v1::DeleteRequests* GreptimeRequest::release_deletes() {
|
||||||
// @@protoc_insertion_point(field_release:greptime.v1.GreptimeRequest.delete)
|
// @@protoc_insertion_point(field_release:greptime.v1.GreptimeRequest.deletes)
|
||||||
if (_internal_has_delete_()) {
|
if (_internal_has_deletes()) {
|
||||||
clear_has_request();
|
clear_has_request();
|
||||||
::greptime::v1::DeleteRequest* temp = _impl_.request_.delete__;
|
::greptime::v1::DeleteRequests* temp = _impl_.request_.deletes_;
|
||||||
if (GetArenaForAllocation() != nullptr) {
|
if (GetArenaForAllocation() != nullptr) {
|
||||||
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
||||||
}
|
}
|
||||||
_impl_.request_.delete__ = nullptr;
|
_impl_.request_.deletes_ = nullptr;
|
||||||
return temp;
|
return temp;
|
||||||
} else {
|
} else {
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
inline const ::greptime::v1::DeleteRequest& GreptimeRequest::_internal_delete_() const {
|
inline const ::greptime::v1::DeleteRequests& GreptimeRequest::_internal_deletes() const {
|
||||||
return _internal_has_delete_()
|
return _internal_has_deletes()
|
||||||
? *_impl_.request_.delete__
|
? *_impl_.request_.deletes_
|
||||||
: reinterpret_cast< ::greptime::v1::DeleteRequest&>(::greptime::v1::_DeleteRequest_default_instance_);
|
: reinterpret_cast< ::greptime::v1::DeleteRequests&>(::greptime::v1::_DeleteRequests_default_instance_);
|
||||||
}
|
}
|
||||||
inline const ::greptime::v1::DeleteRequest& GreptimeRequest::delete_() const {
|
inline const ::greptime::v1::DeleteRequests& GreptimeRequest::deletes() const {
|
||||||
// @@protoc_insertion_point(field_get:greptime.v1.GreptimeRequest.delete)
|
// @@protoc_insertion_point(field_get:greptime.v1.GreptimeRequest.deletes)
|
||||||
return _internal_delete_();
|
return _internal_deletes();
|
||||||
}
|
}
|
||||||
inline ::greptime::v1::DeleteRequest* GreptimeRequest::unsafe_arena_release_delete_() {
|
inline ::greptime::v1::DeleteRequests* GreptimeRequest::unsafe_arena_release_deletes() {
|
||||||
// @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.GreptimeRequest.delete)
|
// @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.GreptimeRequest.deletes)
|
||||||
if (_internal_has_delete_()) {
|
if (_internal_has_deletes()) {
|
||||||
clear_has_request();
|
clear_has_request();
|
||||||
::greptime::v1::DeleteRequest* temp = _impl_.request_.delete__;
|
::greptime::v1::DeleteRequests* temp = _impl_.request_.deletes_;
|
||||||
_impl_.request_.delete__ = nullptr;
|
_impl_.request_.deletes_ = nullptr;
|
||||||
return temp;
|
return temp;
|
||||||
} else {
|
} else {
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
inline void GreptimeRequest::unsafe_arena_set_allocated_delete_(::greptime::v1::DeleteRequest* delete_) {
|
inline void GreptimeRequest::unsafe_arena_set_allocated_deletes(::greptime::v1::DeleteRequests* deletes) {
|
||||||
clear_request();
|
clear_request();
|
||||||
if (delete_) {
|
if (deletes) {
|
||||||
set_has_delete_();
|
set_has_deletes();
|
||||||
_impl_.request_.delete__ = delete_;
|
_impl_.request_.deletes_ = deletes;
|
||||||
}
|
}
|
||||||
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.GreptimeRequest.delete)
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.GreptimeRequest.deletes)
|
||||||
}
|
}
|
||||||
inline ::greptime::v1::DeleteRequest* GreptimeRequest::_internal_mutable_delete_() {
|
inline ::greptime::v1::DeleteRequests* GreptimeRequest::_internal_mutable_deletes() {
|
||||||
if (!_internal_has_delete_()) {
|
if (!_internal_has_deletes()) {
|
||||||
clear_request();
|
clear_request();
|
||||||
set_has_delete_();
|
set_has_deletes();
|
||||||
_impl_.request_.delete__ = CreateMaybeMessage< ::greptime::v1::DeleteRequest >(GetArenaForAllocation());
|
_impl_.request_.deletes_ = CreateMaybeMessage< ::greptime::v1::DeleteRequests >(GetArenaForAllocation());
|
||||||
}
|
}
|
||||||
return _impl_.request_.delete__;
|
return _impl_.request_.deletes_;
|
||||||
}
|
}
|
||||||
inline ::greptime::v1::DeleteRequest* GreptimeRequest::mutable_delete_() {
|
inline ::greptime::v1::DeleteRequests* GreptimeRequest::mutable_deletes() {
|
||||||
::greptime::v1::DeleteRequest* _msg = _internal_mutable_delete_();
|
::greptime::v1::DeleteRequests* _msg = _internal_mutable_deletes();
|
||||||
// @@protoc_insertion_point(field_mutable:greptime.v1.GreptimeRequest.delete)
|
// @@protoc_insertion_point(field_mutable:greptime.v1.GreptimeRequest.deletes)
|
||||||
return _msg;
|
return _msg;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2997,6 +3158,50 @@ inline void InsertRequest::set_region_number(uint32_t value) {
|
|||||||
|
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
// DeleteRequests
|
||||||
|
|
||||||
|
// repeated .greptime.v1.DeleteRequest deletes = 1;
|
||||||
|
inline int DeleteRequests::_internal_deletes_size() const {
|
||||||
|
return _impl_.deletes_.size();
|
||||||
|
}
|
||||||
|
inline int DeleteRequests::deletes_size() const {
|
||||||
|
return _internal_deletes_size();
|
||||||
|
}
|
||||||
|
inline void DeleteRequests::clear_deletes() {
|
||||||
|
_impl_.deletes_.Clear();
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::DeleteRequest* DeleteRequests::mutable_deletes(int index) {
|
||||||
|
// @@protoc_insertion_point(field_mutable:greptime.v1.DeleteRequests.deletes)
|
||||||
|
return _impl_.deletes_.Mutable(index);
|
||||||
|
}
|
||||||
|
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::DeleteRequest >*
|
||||||
|
DeleteRequests::mutable_deletes() {
|
||||||
|
// @@protoc_insertion_point(field_mutable_list:greptime.v1.DeleteRequests.deletes)
|
||||||
|
return &_impl_.deletes_;
|
||||||
|
}
|
||||||
|
inline const ::greptime::v1::DeleteRequest& DeleteRequests::_internal_deletes(int index) const {
|
||||||
|
return _impl_.deletes_.Get(index);
|
||||||
|
}
|
||||||
|
inline const ::greptime::v1::DeleteRequest& DeleteRequests::deletes(int index) const {
|
||||||
|
// @@protoc_insertion_point(field_get:greptime.v1.DeleteRequests.deletes)
|
||||||
|
return _internal_deletes(index);
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::DeleteRequest* DeleteRequests::_internal_add_deletes() {
|
||||||
|
return _impl_.deletes_.Add();
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::DeleteRequest* DeleteRequests::add_deletes() {
|
||||||
|
::greptime::v1::DeleteRequest* _add = _internal_add_deletes();
|
||||||
|
// @@protoc_insertion_point(field_add:greptime.v1.DeleteRequests.deletes)
|
||||||
|
return _add;
|
||||||
|
}
|
||||||
|
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::DeleteRequest >&
|
||||||
|
DeleteRequests::deletes() const {
|
||||||
|
// @@protoc_insertion_point(field_list:greptime.v1.DeleteRequests.deletes)
|
||||||
|
return _impl_.deletes_;
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
// DeleteRequest
|
// DeleteRequest
|
||||||
|
|
||||||
// string table_name = 1;
|
// string table_name = 1;
|
||||||
@@ -3507,6 +3712,8 @@ inline void RowDeleteRequest::set_region_number(uint32_t value) {
|
|||||||
|
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// @@protoc_insertion_point(namespace_scope)
|
// @@protoc_insertion_point(namespace_scope)
|
||||||
|
|
||||||
|
|||||||
+219
-154
@@ -45,7 +45,7 @@ type GreptimeRequest struct {
|
|||||||
// *GreptimeRequest_Inserts
|
// *GreptimeRequest_Inserts
|
||||||
// *GreptimeRequest_Query
|
// *GreptimeRequest_Query
|
||||||
// *GreptimeRequest_Ddl
|
// *GreptimeRequest_Ddl
|
||||||
// *GreptimeRequest_Delete
|
// *GreptimeRequest_Deletes
|
||||||
// *GreptimeRequest_RowInserts
|
// *GreptimeRequest_RowInserts
|
||||||
// *GreptimeRequest_RowDelete
|
// *GreptimeRequest_RowDelete
|
||||||
Request isGreptimeRequest_Request `protobuf_oneof:"request"`
|
Request isGreptimeRequest_Request `protobuf_oneof:"request"`
|
||||||
@@ -118,9 +118,9 @@ func (x *GreptimeRequest) GetDdl() *DdlRequest {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GreptimeRequest) GetDelete() *DeleteRequest {
|
func (x *GreptimeRequest) GetDeletes() *DeleteRequests {
|
||||||
if x, ok := x.GetRequest().(*GreptimeRequest_Delete); ok {
|
if x, ok := x.GetRequest().(*GreptimeRequest_Deletes); ok {
|
||||||
return x.Delete
|
return x.Deletes
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
@@ -155,8 +155,8 @@ type GreptimeRequest_Ddl struct {
|
|||||||
Ddl *DdlRequest `protobuf:"bytes,4,opt,name=ddl,proto3,oneof"`
|
Ddl *DdlRequest `protobuf:"bytes,4,opt,name=ddl,proto3,oneof"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type GreptimeRequest_Delete struct {
|
type GreptimeRequest_Deletes struct {
|
||||||
Delete *DeleteRequest `protobuf:"bytes,5,opt,name=delete,proto3,oneof"`
|
Deletes *DeleteRequests `protobuf:"bytes,5,opt,name=deletes,proto3,oneof"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type GreptimeRequest_RowInserts struct {
|
type GreptimeRequest_RowInserts struct {
|
||||||
@@ -173,7 +173,7 @@ func (*GreptimeRequest_Query) isGreptimeRequest_Request() {}
|
|||||||
|
|
||||||
func (*GreptimeRequest_Ddl) isGreptimeRequest_Request() {}
|
func (*GreptimeRequest_Ddl) isGreptimeRequest_Request() {}
|
||||||
|
|
||||||
func (*GreptimeRequest_Delete) isGreptimeRequest_Request() {}
|
func (*GreptimeRequest_Deletes) isGreptimeRequest_Request() {}
|
||||||
|
|
||||||
func (*GreptimeRequest_RowInserts) isGreptimeRequest_Request() {}
|
func (*GreptimeRequest_RowInserts) isGreptimeRequest_Request() {}
|
||||||
|
|
||||||
@@ -472,6 +472,53 @@ func (x *InsertRequest) GetRegionNumber() uint32 {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type DeleteRequests struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
Deletes []*DeleteRequest `protobuf:"bytes,1,rep,name=deletes,proto3" json:"deletes,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DeleteRequests) Reset() {
|
||||||
|
*x = DeleteRequests{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_greptime_v1_database_proto_msgTypes[5]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DeleteRequests) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*DeleteRequests) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *DeleteRequests) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_greptime_v1_database_proto_msgTypes[5]
|
||||||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
if ms.LoadMessageInfo() == nil {
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
return ms
|
||||||
|
}
|
||||||
|
return mi.MessageOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
// Deprecated: Use DeleteRequests.ProtoReflect.Descriptor instead.
|
||||||
|
func (*DeleteRequests) Descriptor() ([]byte, []int) {
|
||||||
|
return file_greptime_v1_database_proto_rawDescGZIP(), []int{5}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DeleteRequests) GetDeletes() []*DeleteRequest {
|
||||||
|
if x != nil {
|
||||||
|
return x.Deletes
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
type DeleteRequest struct {
|
type DeleteRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
@@ -491,7 +538,7 @@ type DeleteRequest struct {
|
|||||||
func (x *DeleteRequest) Reset() {
|
func (x *DeleteRequest) Reset() {
|
||||||
*x = DeleteRequest{}
|
*x = DeleteRequest{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_greptime_v1_database_proto_msgTypes[5]
|
mi := &file_greptime_v1_database_proto_msgTypes[6]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -504,7 +551,7 @@ func (x *DeleteRequest) String() string {
|
|||||||
func (*DeleteRequest) ProtoMessage() {}
|
func (*DeleteRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *DeleteRequest) ProtoReflect() protoreflect.Message {
|
func (x *DeleteRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_greptime_v1_database_proto_msgTypes[5]
|
mi := &file_greptime_v1_database_proto_msgTypes[6]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -517,7 +564,7 @@ func (x *DeleteRequest) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*DeleteRequest) Descriptor() ([]byte, []int) {
|
func (*DeleteRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_greptime_v1_database_proto_rawDescGZIP(), []int{5}
|
return file_greptime_v1_database_proto_rawDescGZIP(), []int{6}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DeleteRequest) GetTableName() string {
|
func (x *DeleteRequest) GetTableName() string {
|
||||||
@@ -559,7 +606,7 @@ type RowInsertRequests struct {
|
|||||||
func (x *RowInsertRequests) Reset() {
|
func (x *RowInsertRequests) Reset() {
|
||||||
*x = RowInsertRequests{}
|
*x = RowInsertRequests{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_greptime_v1_database_proto_msgTypes[6]
|
mi := &file_greptime_v1_database_proto_msgTypes[7]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -572,7 +619,7 @@ func (x *RowInsertRequests) String() string {
|
|||||||
func (*RowInsertRequests) ProtoMessage() {}
|
func (*RowInsertRequests) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *RowInsertRequests) ProtoReflect() protoreflect.Message {
|
func (x *RowInsertRequests) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_greptime_v1_database_proto_msgTypes[6]
|
mi := &file_greptime_v1_database_proto_msgTypes[7]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -585,7 +632,7 @@ func (x *RowInsertRequests) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use RowInsertRequests.ProtoReflect.Descriptor instead.
|
// Deprecated: Use RowInsertRequests.ProtoReflect.Descriptor instead.
|
||||||
func (*RowInsertRequests) Descriptor() ([]byte, []int) {
|
func (*RowInsertRequests) Descriptor() ([]byte, []int) {
|
||||||
return file_greptime_v1_database_proto_rawDescGZIP(), []int{6}
|
return file_greptime_v1_database_proto_rawDescGZIP(), []int{7}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *RowInsertRequests) GetInserts() []*RowInsertRequest {
|
func (x *RowInsertRequests) GetInserts() []*RowInsertRequest {
|
||||||
@@ -610,7 +657,7 @@ type RowInsertRequest struct {
|
|||||||
func (x *RowInsertRequest) Reset() {
|
func (x *RowInsertRequest) Reset() {
|
||||||
*x = RowInsertRequest{}
|
*x = RowInsertRequest{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_greptime_v1_database_proto_msgTypes[7]
|
mi := &file_greptime_v1_database_proto_msgTypes[8]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -623,7 +670,7 @@ func (x *RowInsertRequest) String() string {
|
|||||||
func (*RowInsertRequest) ProtoMessage() {}
|
func (*RowInsertRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *RowInsertRequest) ProtoReflect() protoreflect.Message {
|
func (x *RowInsertRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_greptime_v1_database_proto_msgTypes[7]
|
mi := &file_greptime_v1_database_proto_msgTypes[8]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -636,7 +683,7 @@ func (x *RowInsertRequest) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use RowInsertRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use RowInsertRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*RowInsertRequest) Descriptor() ([]byte, []int) {
|
func (*RowInsertRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_greptime_v1_database_proto_rawDescGZIP(), []int{7}
|
return file_greptime_v1_database_proto_rawDescGZIP(), []int{8}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *RowInsertRequest) GetTableName() string {
|
func (x *RowInsertRequest) GetTableName() string {
|
||||||
@@ -677,7 +724,7 @@ type RowDeleteRequest struct {
|
|||||||
func (x *RowDeleteRequest) Reset() {
|
func (x *RowDeleteRequest) Reset() {
|
||||||
*x = RowDeleteRequest{}
|
*x = RowDeleteRequest{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_greptime_v1_database_proto_msgTypes[8]
|
mi := &file_greptime_v1_database_proto_msgTypes[9]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -690,7 +737,7 @@ func (x *RowDeleteRequest) String() string {
|
|||||||
func (*RowDeleteRequest) ProtoMessage() {}
|
func (*RowDeleteRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *RowDeleteRequest) ProtoReflect() protoreflect.Message {
|
func (x *RowDeleteRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_greptime_v1_database_proto_msgTypes[8]
|
mi := &file_greptime_v1_database_proto_msgTypes[9]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -703,7 +750,7 @@ func (x *RowDeleteRequest) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use RowDeleteRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use RowDeleteRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*RowDeleteRequest) Descriptor() ([]byte, []int) {
|
func (*RowDeleteRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_greptime_v1_database_proto_rawDescGZIP(), []int{8}
|
return file_greptime_v1_database_proto_rawDescGZIP(), []int{9}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *RowDeleteRequest) GetTableName() string {
|
func (x *RowDeleteRequest) GetTableName() string {
|
||||||
@@ -740,7 +787,7 @@ var file_greptime_v1_database_proto_rawDesc = []byte{
|
|||||||
0x6f, 0x1a, 0x16, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x70,
|
0x6f, 0x1a, 0x16, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x70,
|
||||||
0x72, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x67, 0x72, 0x65, 0x70, 0x74,
|
0x72, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x67, 0x72, 0x65, 0x70, 0x74,
|
||||||
0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72,
|
0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72,
|
||||||
0x6f, 0x74, 0x6f, 0x22, 0xa2, 0x03, 0x0a, 0x0f, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
|
0x6f, 0x74, 0x6f, 0x22, 0xa5, 0x03, 0x0a, 0x0f, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
|
||||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65,
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65,
|
||||||
0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
|
0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
|
||||||
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61,
|
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61,
|
||||||
@@ -754,101 +801,105 @@ var file_greptime_v1_database_proto_rawDesc = []byte{
|
|||||||
0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x2b, 0x0a, 0x03, 0x64, 0x64, 0x6c, 0x18, 0x04,
|
0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x2b, 0x0a, 0x03, 0x64, 0x64, 0x6c, 0x18, 0x04,
|
||||||
0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e,
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e,
|
||||||
0x76, 0x31, 0x2e, 0x44, 0x64, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52,
|
0x76, 0x31, 0x2e, 0x44, 0x64, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52,
|
||||||
0x03, 0x64, 0x64, 0x6c, 0x12, 0x34, 0x0a, 0x06, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x05,
|
0x03, 0x64, 0x64, 0x6c, 0x12, 0x37, 0x0a, 0x07, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x73, 0x18,
|
||||||
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e,
|
0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
|
||||||
0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||||
0x48, 0x00, 0x52, 0x06, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x41, 0x0a, 0x0b, 0x72, 0x6f,
|
0x74, 0x73, 0x48, 0x00, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x73, 0x12, 0x41, 0x0a,
|
||||||
0x77, 0x5f, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
0x0b, 0x72, 0x6f, 0x77, 0x5f, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01,
|
||||||
0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f,
|
0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
|
||||||
0x77, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x48,
|
0x2e, 0x52, 0x6f, 0x77, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||||
0x00, 0x52, 0x0a, 0x72, 0x6f, 0x77, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x73, 0x12, 0x3e, 0x0a,
|
0x74, 0x73, 0x48, 0x00, 0x52, 0x0a, 0x72, 0x6f, 0x77, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x73,
|
||||||
0x0a, 0x72, 0x6f, 0x77, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28,
|
0x12, 0x3e, 0x0a, 0x0a, 0x72, 0x6f, 0x77, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x07,
|
||||||
0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e,
|
||||||
0x52, 0x6f, 0x77, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
0x76, 0x31, 0x2e, 0x52, 0x6f, 0x77, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75,
|
||||||
0x48, 0x00, 0x52, 0x09, 0x72, 0x6f, 0x77, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x09, 0x0a,
|
0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x09, 0x72, 0x6f, 0x77, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
|
||||||
0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x95, 0x01, 0x0a, 0x10, 0x47, 0x72, 0x65,
|
0x42, 0x09, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x95, 0x01, 0x0a, 0x10,
|
||||||
0x70, 0x74, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a,
|
0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||||
0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e,
|
0x12, 0x33, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
||||||
0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x70,
|
0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52,
|
||||||
0x6f, 0x6e, 0x73, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64,
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68,
|
||||||
0x65, 0x72, 0x12, 0x40, 0x0a, 0x0d, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x72,
|
0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x40, 0x0a, 0x0d, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65,
|
||||||
0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70,
|
0x64, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67,
|
||||||
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64,
|
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x66, 0x66, 0x65, 0x63,
|
||||||
0x52, 0x6f, 0x77, 0x73, 0x48, 0x00, 0x52, 0x0c, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64,
|
0x74, 0x65, 0x64, 0x52, 0x6f, 0x77, 0x73, 0x48, 0x00, 0x52, 0x0c, 0x61, 0x66, 0x66, 0x65, 0x63,
|
||||||
0x52, 0x6f, 0x77, 0x73, 0x42, 0x0a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
0x74, 0x65, 0x64, 0x52, 0x6f, 0x77, 0x73, 0x42, 0x0a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f,
|
||||||
0x22, 0x99, 0x01, 0x0a, 0x0c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
0x6e, 0x73, 0x65, 0x22, 0x99, 0x01, 0x0a, 0x0c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71,
|
||||||
0x74, 0x12, 0x12, 0x0a, 0x03, 0x73, 0x71, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00,
|
0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x03, 0x73, 0x71, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||||
0x52, 0x03, 0x73, 0x71, 0x6c, 0x12, 0x23, 0x0a, 0x0c, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x61, 0x6c,
|
0x09, 0x48, 0x00, 0x52, 0x03, 0x73, 0x71, 0x6c, 0x12, 0x23, 0x0a, 0x0c, 0x6c, 0x6f, 0x67, 0x69,
|
||||||
0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x0b, 0x6c,
|
0x63, 0x61, 0x6c, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00,
|
||||||
0x6f, 0x67, 0x69, 0x63, 0x61, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x47, 0x0a, 0x10, 0x70, 0x72,
|
0x52, 0x0b, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x61, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x47, 0x0a,
|
||||||
0x6f, 0x6d, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x03,
|
0x10, 0x70, 0x72, 0x6f, 0x6d, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72,
|
||||||
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e,
|
0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
|
||||||
0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6d, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x51, 0x75, 0x65, 0x72,
|
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6d, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x51,
|
||||||
0x79, 0x48, 0x00, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x6d, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x51, 0x75,
|
0x75, 0x65, 0x72, 0x79, 0x48, 0x00, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x6d, 0x52, 0x61, 0x6e, 0x67,
|
||||||
0x65, 0x72, 0x79, 0x42, 0x07, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x22, 0x46, 0x0a, 0x0e,
|
0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x07, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x22,
|
||||||
0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x34,
|
0x46, 0x0a, 0x0e, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||||
0x0a, 0x07, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
0x73, 0x12, 0x34, 0x0a, 0x07, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03,
|
||||||
0x1a, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e,
|
0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
|
||||||
0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x69, 0x6e, 0x73,
|
0x2e, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07,
|
||||||
0x65, 0x72, 0x74, 0x73, 0x22, 0x9f, 0x01, 0x0a, 0x0d, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52,
|
0x69, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x73, 0x22, 0x9f, 0x01, 0x0a, 0x0d, 0x49, 0x6e, 0x73, 0x65,
|
||||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f,
|
0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62,
|
||||||
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c,
|
0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74,
|
||||||
0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73,
|
0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75,
|
||||||
0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
0x6d, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x72, 0x65, 0x70,
|
||||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x07, 0x63, 0x6f, 0x6c,
|
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x07,
|
||||||
0x75, 0x6d, 0x6e, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x77, 0x5f, 0x63, 0x6f, 0x75, 0x6e,
|
0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x77, 0x5f, 0x63,
|
||||||
0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x72, 0x6f, 0x77, 0x43, 0x6f, 0x75, 0x6e,
|
0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x72, 0x6f, 0x77, 0x43,
|
||||||
0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x75, 0x6d, 0x62,
|
0x6f, 0x75, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x6e,
|
||||||
0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e,
|
0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x72, 0x65, 0x67,
|
||||||
0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0xa6, 0x01, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74,
|
0x69, 0x6f, 0x6e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x46, 0x0a, 0x0e, 0x44, 0x65, 0x6c,
|
||||||
0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c,
|
0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x34, 0x0a, 0x07, 0x64,
|
||||||
0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61,
|
0x65, 0x6c, 0x65, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
|
||||||
0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x67, 0x69, 0x6f,
|
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74,
|
||||||
0x6e, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c,
|
0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65,
|
||||||
0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x34, 0x0a, 0x0b,
|
0x73, 0x22, 0xa6, 0x01, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75,
|
||||||
0x6b, 0x65, 0x79, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28,
|
0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d,
|
||||||
0x0b, 0x32, 0x13, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61,
|
||||||
0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x0a, 0x6b, 0x65, 0x79, 0x43, 0x6f, 0x6c, 0x75, 0x6d,
|
0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x75, 0x6d,
|
||||||
0x6e, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x77, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18,
|
0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x72, 0x65, 0x67, 0x69, 0x6f,
|
||||||
0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x72, 0x6f, 0x77, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22,
|
0x6e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x34, 0x0a, 0x0b, 0x6b, 0x65, 0x79, 0x5f, 0x63,
|
||||||
0x4c, 0x0a, 0x11, 0x52, 0x6f, 0x77, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75,
|
0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67,
|
||||||
0x65, 0x73, 0x74, 0x73, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x73, 0x18,
|
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d,
|
||||||
0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
|
0x6e, 0x52, 0x0a, 0x6b, 0x65, 0x79, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x1b, 0x0a,
|
||||||
0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x77, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71,
|
0x09, 0x72, 0x6f, 0x77, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d,
|
||||||
0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x73, 0x22, 0x7d, 0x0a,
|
0x52, 0x08, 0x72, 0x6f, 0x77, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x4c, 0x0a, 0x11, 0x52, 0x6f,
|
||||||
0x10, 0x52, 0x6f, 0x77, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
0x77, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12,
|
||||||
0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18,
|
0x37, 0x0a, 0x07, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
|
||||||
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65,
|
0x32, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52,
|
||||||
0x12, 0x25, 0x0a, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11,
|
0x6f, 0x77, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52,
|
||||||
0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x77,
|
0x07, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x73, 0x22, 0x7d, 0x0a, 0x10, 0x52, 0x6f, 0x77, 0x49,
|
||||||
0x73, 0x52, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x67, 0x69, 0x6f,
|
0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a,
|
||||||
0x6e, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c,
|
0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
||||||
0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x7d, 0x0a, 0x10,
|
0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x04, 0x72,
|
||||||
0x52, 0x6f, 0x77, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x72, 0x65, 0x70,
|
||||||
0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
|
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x77, 0x73, 0x52, 0x04, 0x72, 0x6f,
|
||||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12,
|
0x77, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x75, 0x6d,
|
||||||
0x25, 0x0a, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e,
|
0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x72, 0x65, 0x67, 0x69, 0x6f,
|
||||||
0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x77, 0x73,
|
0x6e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x7d, 0x0a, 0x10, 0x52, 0x6f, 0x77, 0x44, 0x65,
|
||||||
0x52, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e,
|
0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x74,
|
||||||
0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x72,
|
0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||||
0x65, 0x67, 0x69, 0x6f, 0x6e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x32, 0xaa, 0x01, 0x0a, 0x10,
|
0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x04, 0x72, 0x6f,
|
||||||
0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
|
0x77, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74,
|
||||||
0x12, 0x45, 0x0a, 0x06, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x1c, 0x2e, 0x67, 0x72, 0x65,
|
0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x77, 0x73, 0x52, 0x04, 0x72, 0x6f, 0x77,
|
||||||
0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
0x73, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x75, 0x6d, 0x62,
|
||||||
0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74,
|
0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e,
|
||||||
0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x52,
|
0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x32, 0xaa, 0x01, 0x0a, 0x10, 0x47, 0x72, 0x65, 0x70, 0x74,
|
||||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x0e, 0x48, 0x61, 0x6e, 0x64, 0x6c,
|
0x69, 0x6d, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x06, 0x48,
|
||||||
0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x1c, 0x2e, 0x67, 0x72, 0x65, 0x70,
|
0x61, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x1c, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
|
||||||
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
|
0x2e, 0x76, 0x31, 0x2e, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75,
|
||||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
|
0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76,
|
||||||
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x52, 0x65,
|
0x31, 0x2e, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||||
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28, 0x01, 0x42, 0x51, 0x0a, 0x0e, 0x69, 0x6f, 0x2e, 0x67,
|
0x73, 0x65, 0x12, 0x4f, 0x0a, 0x0e, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75,
|
||||||
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x08, 0x44, 0x61, 0x74, 0x61,
|
0x65, 0x73, 0x74, 0x73, 0x12, 0x1c, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e,
|
||||||
0x62, 0x61, 0x73, 0x65, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
|
0x76, 0x31, 0x2e, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||||
0x2f, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x2f, 0x67, 0x72,
|
0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
|
||||||
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f,
|
0x2e, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||||||
0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f,
|
0x65, 0x28, 0x01, 0x42, 0x51, 0x0a, 0x0e, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
|
||||||
0x74, 0x6f, 0x33,
|
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x08, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 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 (
|
||||||
@@ -863,51 +914,53 @@ func file_greptime_v1_database_proto_rawDescGZIP() []byte {
|
|||||||
return file_greptime_v1_database_proto_rawDescData
|
return file_greptime_v1_database_proto_rawDescData
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_greptime_v1_database_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
|
var file_greptime_v1_database_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
||||||
var file_greptime_v1_database_proto_goTypes = []interface{}{
|
var file_greptime_v1_database_proto_goTypes = []interface{}{
|
||||||
(*GreptimeRequest)(nil), // 0: greptime.v1.GreptimeRequest
|
(*GreptimeRequest)(nil), // 0: greptime.v1.GreptimeRequest
|
||||||
(*GreptimeResponse)(nil), // 1: greptime.v1.GreptimeResponse
|
(*GreptimeResponse)(nil), // 1: greptime.v1.GreptimeResponse
|
||||||
(*QueryRequest)(nil), // 2: greptime.v1.QueryRequest
|
(*QueryRequest)(nil), // 2: greptime.v1.QueryRequest
|
||||||
(*InsertRequests)(nil), // 3: greptime.v1.InsertRequests
|
(*InsertRequests)(nil), // 3: greptime.v1.InsertRequests
|
||||||
(*InsertRequest)(nil), // 4: greptime.v1.InsertRequest
|
(*InsertRequest)(nil), // 4: greptime.v1.InsertRequest
|
||||||
(*DeleteRequest)(nil), // 5: greptime.v1.DeleteRequest
|
(*DeleteRequests)(nil), // 5: greptime.v1.DeleteRequests
|
||||||
(*RowInsertRequests)(nil), // 6: greptime.v1.RowInsertRequests
|
(*DeleteRequest)(nil), // 6: greptime.v1.DeleteRequest
|
||||||
(*RowInsertRequest)(nil), // 7: greptime.v1.RowInsertRequest
|
(*RowInsertRequests)(nil), // 7: greptime.v1.RowInsertRequests
|
||||||
(*RowDeleteRequest)(nil), // 8: greptime.v1.RowDeleteRequest
|
(*RowInsertRequest)(nil), // 8: greptime.v1.RowInsertRequest
|
||||||
(*RequestHeader)(nil), // 9: greptime.v1.RequestHeader
|
(*RowDeleteRequest)(nil), // 9: greptime.v1.RowDeleteRequest
|
||||||
(*DdlRequest)(nil), // 10: greptime.v1.DdlRequest
|
(*RequestHeader)(nil), // 10: greptime.v1.RequestHeader
|
||||||
(*ResponseHeader)(nil), // 11: greptime.v1.ResponseHeader
|
(*DdlRequest)(nil), // 11: greptime.v1.DdlRequest
|
||||||
(*AffectedRows)(nil), // 12: greptime.v1.AffectedRows
|
(*ResponseHeader)(nil), // 12: greptime.v1.ResponseHeader
|
||||||
(*PromRangeQuery)(nil), // 13: greptime.v1.PromRangeQuery
|
(*AffectedRows)(nil), // 13: greptime.v1.AffectedRows
|
||||||
(*Column)(nil), // 14: greptime.v1.Column
|
(*PromRangeQuery)(nil), // 14: greptime.v1.PromRangeQuery
|
||||||
(*Rows)(nil), // 15: greptime.v1.Rows
|
(*Column)(nil), // 15: greptime.v1.Column
|
||||||
|
(*Rows)(nil), // 16: greptime.v1.Rows
|
||||||
}
|
}
|
||||||
var file_greptime_v1_database_proto_depIdxs = []int32{
|
var file_greptime_v1_database_proto_depIdxs = []int32{
|
||||||
9, // 0: greptime.v1.GreptimeRequest.header:type_name -> greptime.v1.RequestHeader
|
10, // 0: greptime.v1.GreptimeRequest.header:type_name -> greptime.v1.RequestHeader
|
||||||
3, // 1: greptime.v1.GreptimeRequest.inserts:type_name -> greptime.v1.InsertRequests
|
3, // 1: greptime.v1.GreptimeRequest.inserts:type_name -> greptime.v1.InsertRequests
|
||||||
2, // 2: greptime.v1.GreptimeRequest.query:type_name -> greptime.v1.QueryRequest
|
2, // 2: greptime.v1.GreptimeRequest.query:type_name -> greptime.v1.QueryRequest
|
||||||
10, // 3: greptime.v1.GreptimeRequest.ddl:type_name -> greptime.v1.DdlRequest
|
11, // 3: greptime.v1.GreptimeRequest.ddl:type_name -> greptime.v1.DdlRequest
|
||||||
5, // 4: greptime.v1.GreptimeRequest.delete:type_name -> greptime.v1.DeleteRequest
|
5, // 4: greptime.v1.GreptimeRequest.deletes:type_name -> greptime.v1.DeleteRequests
|
||||||
6, // 5: greptime.v1.GreptimeRequest.row_inserts:type_name -> greptime.v1.RowInsertRequests
|
7, // 5: greptime.v1.GreptimeRequest.row_inserts:type_name -> greptime.v1.RowInsertRequests
|
||||||
8, // 6: greptime.v1.GreptimeRequest.row_delete:type_name -> greptime.v1.RowDeleteRequest
|
9, // 6: greptime.v1.GreptimeRequest.row_delete:type_name -> greptime.v1.RowDeleteRequest
|
||||||
11, // 7: greptime.v1.GreptimeResponse.header:type_name -> greptime.v1.ResponseHeader
|
12, // 7: greptime.v1.GreptimeResponse.header:type_name -> greptime.v1.ResponseHeader
|
||||||
12, // 8: greptime.v1.GreptimeResponse.affected_rows:type_name -> greptime.v1.AffectedRows
|
13, // 8: greptime.v1.GreptimeResponse.affected_rows:type_name -> greptime.v1.AffectedRows
|
||||||
13, // 9: greptime.v1.QueryRequest.prom_range_query:type_name -> greptime.v1.PromRangeQuery
|
14, // 9: greptime.v1.QueryRequest.prom_range_query:type_name -> greptime.v1.PromRangeQuery
|
||||||
4, // 10: greptime.v1.InsertRequests.inserts:type_name -> greptime.v1.InsertRequest
|
4, // 10: greptime.v1.InsertRequests.inserts:type_name -> greptime.v1.InsertRequest
|
||||||
14, // 11: greptime.v1.InsertRequest.columns:type_name -> greptime.v1.Column
|
15, // 11: greptime.v1.InsertRequest.columns:type_name -> greptime.v1.Column
|
||||||
14, // 12: greptime.v1.DeleteRequest.key_columns:type_name -> greptime.v1.Column
|
6, // 12: greptime.v1.DeleteRequests.deletes:type_name -> greptime.v1.DeleteRequest
|
||||||
7, // 13: greptime.v1.RowInsertRequests.inserts:type_name -> greptime.v1.RowInsertRequest
|
15, // 13: greptime.v1.DeleteRequest.key_columns:type_name -> greptime.v1.Column
|
||||||
15, // 14: greptime.v1.RowInsertRequest.rows:type_name -> greptime.v1.Rows
|
8, // 14: greptime.v1.RowInsertRequests.inserts:type_name -> greptime.v1.RowInsertRequest
|
||||||
15, // 15: greptime.v1.RowDeleteRequest.rows:type_name -> greptime.v1.Rows
|
16, // 15: greptime.v1.RowInsertRequest.rows:type_name -> greptime.v1.Rows
|
||||||
0, // 16: greptime.v1.GreptimeDatabase.Handle:input_type -> greptime.v1.GreptimeRequest
|
16, // 16: greptime.v1.RowDeleteRequest.rows:type_name -> greptime.v1.Rows
|
||||||
0, // 17: greptime.v1.GreptimeDatabase.HandleRequests:input_type -> greptime.v1.GreptimeRequest
|
0, // 17: greptime.v1.GreptimeDatabase.Handle:input_type -> greptime.v1.GreptimeRequest
|
||||||
1, // 18: greptime.v1.GreptimeDatabase.Handle:output_type -> greptime.v1.GreptimeResponse
|
0, // 18: greptime.v1.GreptimeDatabase.HandleRequests:input_type -> greptime.v1.GreptimeRequest
|
||||||
1, // 19: greptime.v1.GreptimeDatabase.HandleRequests:output_type -> greptime.v1.GreptimeResponse
|
1, // 19: greptime.v1.GreptimeDatabase.Handle:output_type -> greptime.v1.GreptimeResponse
|
||||||
18, // [18:20] is the sub-list for method output_type
|
1, // 20: greptime.v1.GreptimeDatabase.HandleRequests:output_type -> greptime.v1.GreptimeResponse
|
||||||
16, // [16:18] is the sub-list for method input_type
|
19, // [19:21] is the sub-list for method output_type
|
||||||
16, // [16:16] is the sub-list for extension type_name
|
17, // [17:19] is the sub-list for method input_type
|
||||||
16, // [16:16] is the sub-list for extension extendee
|
17, // [17:17] is the sub-list for extension type_name
|
||||||
0, // [0:16] is the sub-list for field type_name
|
17, // [17:17] is the sub-list for extension extendee
|
||||||
|
0, // [0:17] is the sub-list for field type_name
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() { file_greptime_v1_database_proto_init() }
|
func init() { file_greptime_v1_database_proto_init() }
|
||||||
@@ -982,7 +1035,7 @@ func file_greptime_v1_database_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_greptime_v1_database_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
file_greptime_v1_database_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*DeleteRequest); i {
|
switch v := v.(*DeleteRequests); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
case 1:
|
case 1:
|
||||||
@@ -994,7 +1047,7 @@ func file_greptime_v1_database_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_greptime_v1_database_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
file_greptime_v1_database_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*RowInsertRequests); i {
|
switch v := v.(*DeleteRequest); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
case 1:
|
case 1:
|
||||||
@@ -1006,7 +1059,7 @@ func file_greptime_v1_database_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_greptime_v1_database_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
file_greptime_v1_database_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*RowInsertRequest); i {
|
switch v := v.(*RowInsertRequests); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
case 1:
|
case 1:
|
||||||
@@ -1018,6 +1071,18 @@ func file_greptime_v1_database_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_greptime_v1_database_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
file_greptime_v1_database_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*RowInsertRequest); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_greptime_v1_database_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*RowDeleteRequest); i {
|
switch v := v.(*RowDeleteRequest); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -1034,7 +1099,7 @@ func file_greptime_v1_database_proto_init() {
|
|||||||
(*GreptimeRequest_Inserts)(nil),
|
(*GreptimeRequest_Inserts)(nil),
|
||||||
(*GreptimeRequest_Query)(nil),
|
(*GreptimeRequest_Query)(nil),
|
||||||
(*GreptimeRequest_Ddl)(nil),
|
(*GreptimeRequest_Ddl)(nil),
|
||||||
(*GreptimeRequest_Delete)(nil),
|
(*GreptimeRequest_Deletes)(nil),
|
||||||
(*GreptimeRequest_RowInserts)(nil),
|
(*GreptimeRequest_RowInserts)(nil),
|
||||||
(*GreptimeRequest_RowDelete)(nil),
|
(*GreptimeRequest_RowDelete)(nil),
|
||||||
}
|
}
|
||||||
@@ -1052,7 +1117,7 @@ func file_greptime_v1_database_proto_init() {
|
|||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
RawDescriptor: file_greptime_v1_database_proto_rawDesc,
|
RawDescriptor: file_greptime_v1_database_proto_rawDesc,
|
||||||
NumEnums: 0,
|
NumEnums: 0,
|
||||||
NumMessages: 9,
|
NumMessages: 10,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 1,
|
NumServices: 1,
|
||||||
},
|
},
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -38,7 +38,7 @@ message GreptimeRequest {
|
|||||||
InsertRequests inserts = 2;
|
InsertRequests inserts = 2;
|
||||||
QueryRequest query = 3;
|
QueryRequest query = 3;
|
||||||
DdlRequest ddl = 4;
|
DdlRequest ddl = 4;
|
||||||
DeleteRequest delete = 5;
|
DeleteRequests deletes = 5;
|
||||||
RowInsertRequests row_inserts = 6;
|
RowInsertRequests row_inserts = 6;
|
||||||
RowDeleteRequest row_delete = 7;
|
RowDeleteRequest row_delete = 7;
|
||||||
}
|
}
|
||||||
@@ -76,6 +76,10 @@ message InsertRequest {
|
|||||||
uint32 region_number = 5;
|
uint32 region_number = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message DeleteRequests {
|
||||||
|
repeated DeleteRequest deletes = 1;
|
||||||
|
}
|
||||||
|
|
||||||
message DeleteRequest {
|
message DeleteRequest {
|
||||||
// The table name to delete from. Catalog name and schema name are in the
|
// The table name to delete from. Catalog name and schema name are in the
|
||||||
// `RequestHeader`.
|
// `RequestHeader`.
|
||||||
|
|||||||
Reference in New Issue
Block a user