chore: add alined_schema_version to bulk insert request (#321)
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com>
This commit is contained in:
@@ -468,6 +468,7 @@ PROTOBUF_CONSTEXPR BulkInsertRequest::BulkInsertRequest(
|
|||||||
::_pbi::ConstantInitialized): _impl_{
|
::_pbi::ConstantInitialized): _impl_{
|
||||||
/*decltype(_impl_.partition_expr_version_)*/nullptr
|
/*decltype(_impl_.partition_expr_version_)*/nullptr
|
||||||
, /*decltype(_impl_.region_id_)*/uint64_t{0u}
|
, /*decltype(_impl_.region_id_)*/uint64_t{0u}
|
||||||
|
, /*decltype(_impl_.aligned_schema_version_)*/uint64_t{0u}
|
||||||
, /*decltype(_impl_.body_)*/{}
|
, /*decltype(_impl_.body_)*/{}
|
||||||
, /*decltype(_impl_._cached_size_)*/{}
|
, /*decltype(_impl_._cached_size_)*/{}
|
||||||
, /*decltype(_impl_._oneof_case_)*/{}} {}
|
, /*decltype(_impl_._oneof_case_)*/{}} {}
|
||||||
@@ -940,6 +941,7 @@ const uint32_t TableStruct_greptime_2fv1_2fregion_2fserver_2eproto::offsets[] PR
|
|||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::BulkInsertRequest, _impl_.region_id_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::BulkInsertRequest, _impl_.region_id_),
|
||||||
::_pbi::kInvalidFieldOffsetTag,
|
::_pbi::kInvalidFieldOffsetTag,
|
||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::BulkInsertRequest, _impl_.partition_expr_version_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::BulkInsertRequest, _impl_.partition_expr_version_),
|
||||||
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::BulkInsertRequest, _impl_.aligned_schema_version_),
|
||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::BulkInsertRequest, _impl_.body_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::BulkInsertRequest, _impl_.body_),
|
||||||
~0u, // no _has_bits_
|
~0u, // no _has_bits_
|
||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::MitoManifestInfo, _internal_metadata_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::MitoManifestInfo, _internal_metadata_),
|
||||||
@@ -1059,16 +1061,16 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode
|
|||||||
{ 287, -1, -1, sizeof(::greptime::v1::region::All)},
|
{ 287, -1, -1, sizeof(::greptime::v1::region::All)},
|
||||||
{ 293, -1, -1, sizeof(::greptime::v1::region::RegionColumnDef)},
|
{ 293, -1, -1, sizeof(::greptime::v1::region::RegionColumnDef)},
|
||||||
{ 301, -1, -1, sizeof(::greptime::v1::region::BulkInsertRequest)},
|
{ 301, -1, -1, sizeof(::greptime::v1::region::BulkInsertRequest)},
|
||||||
{ 311, -1, -1, sizeof(::greptime::v1::region::MitoManifestInfo)},
|
{ 312, -1, -1, sizeof(::greptime::v1::region::MitoManifestInfo)},
|
||||||
{ 318, -1, -1, sizeof(::greptime::v1::region::MetricManifestInfo)},
|
{ 319, -1, -1, sizeof(::greptime::v1::region::MetricManifestInfo)},
|
||||||
{ 326, -1, -1, sizeof(::greptime::v1::region::SyncRequest)},
|
{ 327, -1, -1, sizeof(::greptime::v1::region::SyncRequest)},
|
||||||
{ 336, -1, -1, sizeof(::greptime::v1::region::ListMetadataRequest)},
|
{ 337, -1, -1, sizeof(::greptime::v1::region::ListMetadataRequest)},
|
||||||
{ 343, -1, -1, sizeof(::greptime::v1::region::BuildIndexRequest)},
|
{ 344, -1, -1, sizeof(::greptime::v1::region::BuildIndexRequest)},
|
||||||
{ 350, -1, -1, sizeof(::greptime::v1::region::FileMetas)},
|
{ 351, -1, -1, sizeof(::greptime::v1::region::FileMetas)},
|
||||||
{ 357, -1, -1, sizeof(::greptime::v1::region::ApplyStagingManifestRequest)},
|
{ 358, -1, -1, sizeof(::greptime::v1::region::ApplyStagingManifestRequest)},
|
||||||
{ 367, -1, -1, sizeof(::greptime::v1::region::RemoteDynFilterRequest)},
|
{ 368, -1, -1, sizeof(::greptime::v1::region::RemoteDynFilterRequest)},
|
||||||
{ 377, -1, -1, sizeof(::greptime::v1::region::RemoteDynFilterUpdate)},
|
{ 378, -1, -1, sizeof(::greptime::v1::region::RemoteDynFilterUpdate)},
|
||||||
{ 387, -1, -1, sizeof(::greptime::v1::region::RemoteDynFilterUnregister)},
|
{ 388, -1, -1, sizeof(::greptime::v1::region::RemoteDynFilterUnregister)},
|
||||||
};
|
};
|
||||||
|
|
||||||
static const ::_pb::Message* const file_default_instances[] = {
|
static const ::_pb::Message* const file_default_instances[] = {
|
||||||
@@ -1235,38 +1237,39 @@ const char descriptor_table_protodef_greptime_2fv1_2fregion_2fserver_2eproto[] P
|
|||||||
"es\030\003 \001(\0132\027.greptime.v1.TimeRangesH\000B\006\n\004k"
|
"es\030\003 \001(\0132\027.greptime.v1.TimeRangesH\000B\006\n\004k"
|
||||||
"ind\"\005\n\003All\"P\n\017RegionColumnDef\022*\n\ncolumn_"
|
"ind\"\005\n\003All\"P\n\017RegionColumnDef\022*\n\ncolumn_"
|
||||||
"def\030\001 \001(\0132\026.greptime.v1.ColumnDef\022\021\n\tcol"
|
"def\030\001 \001(\0132\026.greptime.v1.ColumnDef\022\021\n\tcol"
|
||||||
"umn_id\030\002 \001(\r\"\235\001\n\021BulkInsertRequest\022\021\n\tre"
|
"umn_id\030\002 \001(\r\"\275\001\n\021BulkInsertRequest\022\021\n\tre"
|
||||||
"gion_id\030\001 \001(\004\022*\n\tarrow_ipc\030\002 \001(\0132\025.grept"
|
"gion_id\030\001 \001(\004\022*\n\tarrow_ipc\030\002 \001(\0132\025.grept"
|
||||||
"ime.v1.ArrowIpcH\000\022A\n\026partition_expr_vers"
|
"ime.v1.ArrowIpcH\000\022A\n\026partition_expr_vers"
|
||||||
"ion\030\003 \001(\0132!.greptime.v1.PartitionExprVer"
|
"ion\030\003 \001(\0132!.greptime.v1.PartitionExprVer"
|
||||||
"sionB\006\n\004body\"1\n\020MitoManifestInfo\022\035\n\025data"
|
"sion\022\036\n\026aligned_schema_version\030\004 \001(\004B\006\n\004"
|
||||||
"_manifest_version\030\001 \001(\004\"V\n\022MetricManifes"
|
"body\"1\n\020MitoManifestInfo\022\035\n\025data_manifes"
|
||||||
"tInfo\022\035\n\025data_manifest_version\030\001 \001(\004\022!\n\031"
|
"t_version\030\001 \001(\004\"V\n\022MetricManifestInfo\022\035\n"
|
||||||
"metadata_manifest_version\030\002 \001(\004\"\275\001\n\013Sync"
|
"\025data_manifest_version\030\001 \001(\004\022!\n\031metadata"
|
||||||
"Request\022\021\n\tregion_id\030\001 \001(\004\022B\n\022mito_manif"
|
"_manifest_version\030\002 \001(\004\"\275\001\n\013SyncRequest\022"
|
||||||
"est_info\030\002 \001(\0132$.greptime.v1.region.Mito"
|
"\021\n\tregion_id\030\001 \001(\004\022B\n\022mito_manifest_info"
|
||||||
"ManifestInfoH\000\022F\n\024metric_manifest_info\030\003"
|
"\030\002 \001(\0132$.greptime.v1.region.MitoManifest"
|
||||||
" \001(\0132&.greptime.v1.region.MetricManifest"
|
"InfoH\000\022F\n\024metric_manifest_info\030\003 \001(\0132&.g"
|
||||||
"InfoH\000B\017\n\rmanifest_info\")\n\023ListMetadataR"
|
"reptime.v1.region.MetricManifestInfoH\000B\017"
|
||||||
"equest\022\022\n\nregion_ids\030\001 \003(\004\"&\n\021BuildIndex"
|
"\n\rmanifest_info\")\n\023ListMetadataRequest\022\022"
|
||||||
"Request\022\021\n\tregion_id\030\001 \001(\004\"\031\n\tFileMetas\022"
|
"\n\nregion_ids\030\001 \003(\004\"&\n\021BuildIndexRequest\022"
|
||||||
"\014\n\004data\030\001 \001(\014\"z\n\033ApplyStagingManifestReq"
|
"\021\n\tregion_id\030\001 \001(\004\"\031\n\tFileMetas\022\014\n\004data\030"
|
||||||
"uest\022\021\n\tregion_id\030\001 \001(\004\022\026\n\016partition_exp"
|
"\001 \001(\014\"z\n\033ApplyStagingManifestRequest\022\021\n\t"
|
||||||
"r\030\002 \001(\t\022\031\n\021central_region_id\030\003 \001(\004\022\025\n\rma"
|
"region_id\030\001 \001(\004\022\026\n\016partition_expr\030\002 \001(\t\022"
|
||||||
"nifest_path\030\004 \001(\t\"\266\001\n\026RemoteDynFilterReq"
|
"\031\n\021central_region_id\030\003 \001(\004\022\025\n\rmanifest_p"
|
||||||
"uest\022\020\n\010query_id\030\001 \001(\t\022;\n\006update\030\002 \001(\0132)"
|
"ath\030\004 \001(\t\"\266\001\n\026RemoteDynFilterRequest\022\020\n\010"
|
||||||
".greptime.v1.region.RemoteDynFilterUpdat"
|
"query_id\030\001 \001(\t\022;\n\006update\030\002 \001(\0132).greptim"
|
||||||
"eH\000\022C\n\nunregister\030\003 \001(\0132-.greptime.v1.re"
|
"e.v1.region.RemoteDynFilterUpdateH\000\022C\n\nu"
|
||||||
"gion.RemoteDynFilterUnregisterH\000B\010\n\006acti"
|
"nregister\030\003 \001(\0132-.greptime.v1.region.Rem"
|
||||||
"on\"d\n\025RemoteDynFilterUpdate\022\021\n\tfilter_id"
|
"oteDynFilterUnregisterH\000B\010\n\006action\"d\n\025Re"
|
||||||
"\030\001 \001(\t\022\017\n\007payload\030\002 \001(\014\022\022\n\ngeneration\030\003 "
|
"moteDynFilterUpdate\022\021\n\tfilter_id\030\001 \001(\t\022\017"
|
||||||
"\001(\004\022\023\n\013is_complete\030\004 \001(\010\".\n\031RemoteDynFil"
|
"\n\007payload\030\002 \001(\014\022\022\n\ngeneration\030\003 \001(\004\022\023\n\013i"
|
||||||
"terUnregister\022\021\n\tfilter_id\030\001 \001(\t2Y\n\006Regi"
|
"s_complete\030\004 \001(\010\".\n\031RemoteDynFilterUnreg"
|
||||||
"on\022O\n\006Handle\022!.greptime.v1.region.Region"
|
"ister\022\021\n\tfilter_id\030\001 \001(\t2Y\n\006Region\022O\n\006Ha"
|
||||||
"Request\032\".greptime.v1.region.RegionRespo"
|
"ndle\022!.greptime.v1.region.RegionRequest\032"
|
||||||
"nseB]\n\025io.greptime.v1.regionB\006ServerZ<gi"
|
"\".greptime.v1.region.RegionResponseB]\n\025i"
|
||||||
"thub.com/GreptimeTeam/greptime-proto/go/"
|
"o.greptime.v1.regionB\006ServerZ<github.com"
|
||||||
"greptime/v1/regionb\006proto3"
|
"/GreptimeTeam/greptime-proto/go/greptime"
|
||||||
|
"/v1/regionb\006proto3"
|
||||||
;
|
;
|
||||||
static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_deps[4] = {
|
static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_deps[4] = {
|
||||||
&::descriptor_table_greptime_2fv1_2fcommon_2eproto,
|
&::descriptor_table_greptime_2fv1_2fcommon_2eproto,
|
||||||
@@ -1276,7 +1279,7 @@ static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2freg
|
|||||||
};
|
};
|
||||||
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_once;
|
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_once;
|
||||||
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto = {
|
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto = {
|
||||||
false, false, 5946, descriptor_table_protodef_greptime_2fv1_2fregion_2fserver_2eproto,
|
false, false, 5978, descriptor_table_protodef_greptime_2fv1_2fregion_2fserver_2eproto,
|
||||||
"greptime/v1/region/server.proto",
|
"greptime/v1/region/server.proto",
|
||||||
&descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_once, descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_deps, 4, 43,
|
&descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_once, descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_deps, 4, 43,
|
||||||
schemas, file_default_instances, TableStruct_greptime_2fv1_2fregion_2fserver_2eproto::offsets,
|
schemas, file_default_instances, TableStruct_greptime_2fv1_2fregion_2fserver_2eproto::offsets,
|
||||||
@@ -9836,6 +9839,7 @@ BulkInsertRequest::BulkInsertRequest(const BulkInsertRequest& from)
|
|||||||
new (&_impl_) Impl_{
|
new (&_impl_) Impl_{
|
||||||
decltype(_impl_.partition_expr_version_){nullptr}
|
decltype(_impl_.partition_expr_version_){nullptr}
|
||||||
, decltype(_impl_.region_id_){}
|
, decltype(_impl_.region_id_){}
|
||||||
|
, decltype(_impl_.aligned_schema_version_){}
|
||||||
, decltype(_impl_.body_){}
|
, decltype(_impl_.body_){}
|
||||||
, /*decltype(_impl_._cached_size_)*/{}
|
, /*decltype(_impl_._cached_size_)*/{}
|
||||||
, /*decltype(_impl_._oneof_case_)*/{}};
|
, /*decltype(_impl_._oneof_case_)*/{}};
|
||||||
@@ -9844,7 +9848,9 @@ BulkInsertRequest::BulkInsertRequest(const BulkInsertRequest& from)
|
|||||||
if (from._internal_has_partition_expr_version()) {
|
if (from._internal_has_partition_expr_version()) {
|
||||||
_this->_impl_.partition_expr_version_ = new ::greptime::v1::PartitionExprVersion(*from._impl_.partition_expr_version_);
|
_this->_impl_.partition_expr_version_ = new ::greptime::v1::PartitionExprVersion(*from._impl_.partition_expr_version_);
|
||||||
}
|
}
|
||||||
_this->_impl_.region_id_ = from._impl_.region_id_;
|
::memcpy(&_impl_.region_id_, &from._impl_.region_id_,
|
||||||
|
static_cast<size_t>(reinterpret_cast<char*>(&_impl_.aligned_schema_version_) -
|
||||||
|
reinterpret_cast<char*>(&_impl_.region_id_)) + sizeof(_impl_.aligned_schema_version_));
|
||||||
clear_has_body();
|
clear_has_body();
|
||||||
switch (from.body_case()) {
|
switch (from.body_case()) {
|
||||||
case kArrowIpc: {
|
case kArrowIpc: {
|
||||||
@@ -9866,6 +9872,7 @@ inline void BulkInsertRequest::SharedCtor(
|
|||||||
new (&_impl_) Impl_{
|
new (&_impl_) Impl_{
|
||||||
decltype(_impl_.partition_expr_version_){nullptr}
|
decltype(_impl_.partition_expr_version_){nullptr}
|
||||||
, decltype(_impl_.region_id_){uint64_t{0u}}
|
, decltype(_impl_.region_id_){uint64_t{0u}}
|
||||||
|
, decltype(_impl_.aligned_schema_version_){uint64_t{0u}}
|
||||||
, decltype(_impl_.body_){}
|
, decltype(_impl_.body_){}
|
||||||
, /*decltype(_impl_._cached_size_)*/{}
|
, /*decltype(_impl_._cached_size_)*/{}
|
||||||
, /*decltype(_impl_._oneof_case_)*/{}
|
, /*decltype(_impl_._oneof_case_)*/{}
|
||||||
@@ -9921,7 +9928,9 @@ void BulkInsertRequest::Clear() {
|
|||||||
delete _impl_.partition_expr_version_;
|
delete _impl_.partition_expr_version_;
|
||||||
}
|
}
|
||||||
_impl_.partition_expr_version_ = nullptr;
|
_impl_.partition_expr_version_ = nullptr;
|
||||||
_impl_.region_id_ = uint64_t{0u};
|
::memset(&_impl_.region_id_, 0, static_cast<size_t>(
|
||||||
|
reinterpret_cast<char*>(&_impl_.aligned_schema_version_) -
|
||||||
|
reinterpret_cast<char*>(&_impl_.region_id_)) + sizeof(_impl_.aligned_schema_version_));
|
||||||
clear_body();
|
clear_body();
|
||||||
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
||||||
}
|
}
|
||||||
@@ -9956,6 +9965,14 @@ const char* BulkInsertRequest::_InternalParse(const char* ptr, ::_pbi::ParseCont
|
|||||||
} else
|
} else
|
||||||
goto handle_unusual;
|
goto handle_unusual;
|
||||||
continue;
|
continue;
|
||||||
|
// uint64 aligned_schema_version = 4;
|
||||||
|
case 4:
|
||||||
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 32)) {
|
||||||
|
_impl_.aligned_schema_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
|
||||||
|
CHK_(ptr);
|
||||||
|
} else
|
||||||
|
goto handle_unusual;
|
||||||
|
continue;
|
||||||
default:
|
default:
|
||||||
goto handle_unusual;
|
goto handle_unusual;
|
||||||
} // switch
|
} // switch
|
||||||
@@ -10005,6 +10022,12 @@ uint8_t* BulkInsertRequest::_InternalSerialize(
|
|||||||
_Internal::partition_expr_version(this).GetCachedSize(), target, stream);
|
_Internal::partition_expr_version(this).GetCachedSize(), target, stream);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// uint64 aligned_schema_version = 4;
|
||||||
|
if (this->_internal_aligned_schema_version() != 0) {
|
||||||
|
target = stream->EnsureSpace(target);
|
||||||
|
target = ::_pbi::WireFormatLite::WriteUInt64ToArray(4, this->_internal_aligned_schema_version(), target);
|
||||||
|
}
|
||||||
|
|
||||||
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
||||||
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
||||||
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
|
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
|
||||||
@@ -10033,6 +10056,11 @@ size_t BulkInsertRequest::ByteSizeLong() const {
|
|||||||
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_region_id());
|
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_region_id());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// uint64 aligned_schema_version = 4;
|
||||||
|
if (this->_internal_aligned_schema_version() != 0) {
|
||||||
|
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_aligned_schema_version());
|
||||||
|
}
|
||||||
|
|
||||||
switch (body_case()) {
|
switch (body_case()) {
|
||||||
// .greptime.v1.ArrowIpc arrow_ipc = 2;
|
// .greptime.v1.ArrowIpc arrow_ipc = 2;
|
||||||
case kArrowIpc: {
|
case kArrowIpc: {
|
||||||
@@ -10070,6 +10098,9 @@ void BulkInsertRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, cons
|
|||||||
if (from._internal_region_id() != 0) {
|
if (from._internal_region_id() != 0) {
|
||||||
_this->_internal_set_region_id(from._internal_region_id());
|
_this->_internal_set_region_id(from._internal_region_id());
|
||||||
}
|
}
|
||||||
|
if (from._internal_aligned_schema_version() != 0) {
|
||||||
|
_this->_internal_set_aligned_schema_version(from._internal_aligned_schema_version());
|
||||||
|
}
|
||||||
switch (from.body_case()) {
|
switch (from.body_case()) {
|
||||||
case kArrowIpc: {
|
case kArrowIpc: {
|
||||||
_this->_internal_mutable_arrow_ipc()->::greptime::v1::ArrowIpc::MergeFrom(
|
_this->_internal_mutable_arrow_ipc()->::greptime::v1::ArrowIpc::MergeFrom(
|
||||||
@@ -10098,8 +10129,8 @@ void BulkInsertRequest::InternalSwap(BulkInsertRequest* other) {
|
|||||||
using std::swap;
|
using std::swap;
|
||||||
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
||||||
::PROTOBUF_NAMESPACE_ID::internal::memswap<
|
::PROTOBUF_NAMESPACE_ID::internal::memswap<
|
||||||
PROTOBUF_FIELD_OFFSET(BulkInsertRequest, _impl_.region_id_)
|
PROTOBUF_FIELD_OFFSET(BulkInsertRequest, _impl_.aligned_schema_version_)
|
||||||
+ sizeof(BulkInsertRequest::_impl_.region_id_)
|
+ sizeof(BulkInsertRequest::_impl_.aligned_schema_version_)
|
||||||
- PROTOBUF_FIELD_OFFSET(BulkInsertRequest, _impl_.partition_expr_version_)>(
|
- PROTOBUF_FIELD_OFFSET(BulkInsertRequest, _impl_.partition_expr_version_)>(
|
||||||
reinterpret_cast<char*>(&_impl_.partition_expr_version_),
|
reinterpret_cast<char*>(&_impl_.partition_expr_version_),
|
||||||
reinterpret_cast<char*>(&other->_impl_.partition_expr_version_));
|
reinterpret_cast<char*>(&other->_impl_.partition_expr_version_));
|
||||||
|
|||||||
@@ -6001,6 +6001,7 @@ class BulkInsertRequest final :
|
|||||||
enum : int {
|
enum : int {
|
||||||
kPartitionExprVersionFieldNumber = 3,
|
kPartitionExprVersionFieldNumber = 3,
|
||||||
kRegionIdFieldNumber = 1,
|
kRegionIdFieldNumber = 1,
|
||||||
|
kAlignedSchemaVersionFieldNumber = 4,
|
||||||
kArrowIpcFieldNumber = 2,
|
kArrowIpcFieldNumber = 2,
|
||||||
};
|
};
|
||||||
// .greptime.v1.PartitionExprVersion partition_expr_version = 3;
|
// .greptime.v1.PartitionExprVersion partition_expr_version = 3;
|
||||||
@@ -6030,6 +6031,15 @@ class BulkInsertRequest final :
|
|||||||
void _internal_set_region_id(uint64_t value);
|
void _internal_set_region_id(uint64_t value);
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
// uint64 aligned_schema_version = 4;
|
||||||
|
void clear_aligned_schema_version();
|
||||||
|
uint64_t aligned_schema_version() const;
|
||||||
|
void set_aligned_schema_version(uint64_t value);
|
||||||
|
private:
|
||||||
|
uint64_t _internal_aligned_schema_version() const;
|
||||||
|
void _internal_set_aligned_schema_version(uint64_t value);
|
||||||
|
public:
|
||||||
|
|
||||||
// .greptime.v1.ArrowIpc arrow_ipc = 2;
|
// .greptime.v1.ArrowIpc arrow_ipc = 2;
|
||||||
bool has_arrow_ipc() const;
|
bool has_arrow_ipc() const;
|
||||||
private:
|
private:
|
||||||
@@ -6064,6 +6074,7 @@ class BulkInsertRequest final :
|
|||||||
struct Impl_ {
|
struct Impl_ {
|
||||||
::greptime::v1::PartitionExprVersion* partition_expr_version_;
|
::greptime::v1::PartitionExprVersion* partition_expr_version_;
|
||||||
uint64_t region_id_;
|
uint64_t region_id_;
|
||||||
|
uint64_t aligned_schema_version_;
|
||||||
union BodyUnion {
|
union BodyUnion {
|
||||||
constexpr BodyUnion() : _constinit_{} {}
|
constexpr BodyUnion() : _constinit_{} {}
|
||||||
::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
|
::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
|
||||||
@@ -13006,6 +13017,26 @@ inline void BulkInsertRequest::set_allocated_partition_expr_version(::greptime::
|
|||||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.region.BulkInsertRequest.partition_expr_version)
|
// @@protoc_insertion_point(field_set_allocated:greptime.v1.region.BulkInsertRequest.partition_expr_version)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// uint64 aligned_schema_version = 4;
|
||||||
|
inline void BulkInsertRequest::clear_aligned_schema_version() {
|
||||||
|
_impl_.aligned_schema_version_ = uint64_t{0u};
|
||||||
|
}
|
||||||
|
inline uint64_t BulkInsertRequest::_internal_aligned_schema_version() const {
|
||||||
|
return _impl_.aligned_schema_version_;
|
||||||
|
}
|
||||||
|
inline uint64_t BulkInsertRequest::aligned_schema_version() const {
|
||||||
|
// @@protoc_insertion_point(field_get:greptime.v1.region.BulkInsertRequest.aligned_schema_version)
|
||||||
|
return _internal_aligned_schema_version();
|
||||||
|
}
|
||||||
|
inline void BulkInsertRequest::_internal_set_aligned_schema_version(uint64_t value) {
|
||||||
|
|
||||||
|
_impl_.aligned_schema_version_ = value;
|
||||||
|
}
|
||||||
|
inline void BulkInsertRequest::set_aligned_schema_version(uint64_t value) {
|
||||||
|
_internal_set_aligned_schema_version(value);
|
||||||
|
// @@protoc_insertion_point(field_set:greptime.v1.region.BulkInsertRequest.aligned_schema_version)
|
||||||
|
}
|
||||||
|
|
||||||
inline bool BulkInsertRequest::has_body() const {
|
inline bool BulkInsertRequest::has_body() const {
|
||||||
return body_case() != BODY_NOT_SET;
|
return body_case() != BODY_NOT_SET;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2158,6 +2158,7 @@ type BulkInsertRequest struct {
|
|||||||
// *BulkInsertRequest_ArrowIpc
|
// *BulkInsertRequest_ArrowIpc
|
||||||
Body isBulkInsertRequest_Body `protobuf_oneof:"body"`
|
Body isBulkInsertRequest_Body `protobuf_oneof:"body"`
|
||||||
PartitionExprVersion *v1.PartitionExprVersion `protobuf:"bytes,3,opt,name=partition_expr_version,json=partitionExprVersion,proto3" json:"partition_expr_version,omitempty"`
|
PartitionExprVersion *v1.PartitionExprVersion `protobuf:"bytes,3,opt,name=partition_expr_version,json=partitionExprVersion,proto3" json:"partition_expr_version,omitempty"`
|
||||||
|
AlignedSchemaVersion uint64 `protobuf:"varint,4,opt,name=aligned_schema_version,json=alignedSchemaVersion,proto3" json:"aligned_schema_version,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *BulkInsertRequest) Reset() {
|
func (x *BulkInsertRequest) Reset() {
|
||||||
@@ -2220,6 +2221,13 @@ func (x *BulkInsertRequest) GetPartitionExprVersion() *v1.PartitionExprVersion {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (x *BulkInsertRequest) GetAlignedSchemaVersion() uint64 {
|
||||||
|
if x != nil {
|
||||||
|
return x.AlignedSchemaVersion
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
type isBulkInsertRequest_Body interface {
|
type isBulkInsertRequest_Body interface {
|
||||||
isBulkInsertRequest_Body()
|
isBulkInsertRequest_Body()
|
||||||
}
|
}
|
||||||
@@ -3210,7 +3218,7 @@ var file_greptime_v1_region_server_proto_rawDesc = []byte{
|
|||||||
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65,
|
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65,
|
||||||
0x66, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x12, 0x1b, 0x0a, 0x09,
|
0x66, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x12, 0x1b, 0x0a, 0x09,
|
||||||
0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52,
|
0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52,
|
||||||
0x08, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x49, 0x64, 0x22, 0xc7, 0x01, 0x0a, 0x11, 0x42, 0x75,
|
0x08, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x49, 0x64, 0x22, 0xfd, 0x01, 0x0a, 0x11, 0x42, 0x75,
|
||||||
0x6c, 0x6b, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
0x6c, 0x6b, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
||||||
0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
||||||
0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x34, 0x0a, 0x09,
|
0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x34, 0x0a, 0x09,
|
||||||
@@ -3222,94 +3230,97 @@ var file_greptime_v1_region_server_proto_rawDesc = []byte{
|
|||||||
0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
|
0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
|
||||||
0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x70, 0x72, 0x56, 0x65,
|
0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x70, 0x72, 0x56, 0x65,
|
||||||
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x14, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e,
|
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x14, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e,
|
||||||
0x45, 0x78, 0x70, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x06, 0x0a, 0x04, 0x62,
|
0x45, 0x78, 0x70, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x16, 0x61,
|
||||||
0x6f, 0x64, 0x79, 0x22, 0x46, 0x0a, 0x10, 0x4d, 0x69, 0x74, 0x6f, 0x4d, 0x61, 0x6e, 0x69, 0x66,
|
0x6c, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x76, 0x65,
|
||||||
0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x32, 0x0a, 0x15, 0x64, 0x61, 0x74, 0x61, 0x5f,
|
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x14, 0x61, 0x6c, 0x69,
|
||||||
0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
|
0x67, 0x6e, 0x65, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,
|
||||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, 0x64, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x6e, 0x69,
|
0x6e, 0x42, 0x06, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x22, 0x46, 0x0a, 0x10, 0x4d, 0x69, 0x74,
|
||||||
0x66, 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x84, 0x01, 0x0a, 0x12,
|
0x6f, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x32, 0x0a,
|
||||||
0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e,
|
0x15, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x76,
|
||||||
0x66, 0x6f, 0x12, 0x32, 0x0a, 0x15, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66,
|
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, 0x64, 0x61,
|
||||||
0x65, 0x73, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28,
|
0x74, 0x61, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,
|
||||||
0x04, 0x52, 0x13, 0x64, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x56,
|
0x6e, 0x22, 0x84, 0x01, 0x0a, 0x12, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4d, 0x61, 0x6e, 0x69,
|
||||||
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3a, 0x0a, 0x19, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61,
|
0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x32, 0x0a, 0x15, 0x64, 0x61, 0x74, 0x61,
|
||||||
0x74, 0x61, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73,
|
0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
|
||||||
0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x17, 0x6d, 0x65, 0x74, 0x61, 0x64,
|
0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, 0x64, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x6e,
|
||||||
0x61, 0x74, 0x61, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69,
|
0x69, 0x66, 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3a, 0x0a, 0x19,
|
||||||
0x6f, 0x6e, 0x22, 0xed, 0x01, 0x0a, 0x0b, 0x53, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65,
|
0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73,
|
||||||
0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18,
|
0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52,
|
||||||
0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12,
|
0x17, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73,
|
||||||
0x54, 0x0a, 0x12, 0x6d, 0x69, 0x74, 0x6f, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74,
|
0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xed, 0x01, 0x0a, 0x0b, 0x53, 0x79, 0x6e,
|
||||||
0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72,
|
0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69,
|
||||||
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e,
|
0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67,
|
||||||
0x2e, 0x4d, 0x69, 0x74, 0x6f, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66,
|
0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x54, 0x0a, 0x12, 0x6d, 0x69, 0x74, 0x6f, 0x5f, 0x6d, 0x61,
|
||||||
0x6f, 0x48, 0x00, 0x52, 0x10, 0x6d, 0x69, 0x74, 0x6f, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73,
|
0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||||
0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5a, 0x0a, 0x14, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f,
|
0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
||||||
0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20,
|
0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x69, 0x74, 0x6f, 0x4d, 0x61, 0x6e, 0x69, 0x66,
|
||||||
0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76,
|
0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x10, 0x6d, 0x69, 0x74, 0x6f, 0x4d,
|
||||||
0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4d,
|
0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5a, 0x0a, 0x14, 0x6d,
|
||||||
0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x12, 0x6d,
|
0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x69,
|
||||||
|
0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x72, 0x65, 0x70,
|
||||||
|
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x4d,
|
||||||
0x65, 0x74, 0x72, 0x69, 0x63, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66,
|
0x65, 0x74, 0x72, 0x69, 0x63, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66,
|
||||||
0x6f, 0x42, 0x0f, 0x0a, 0x0d, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x6e,
|
0x6f, 0x48, 0x00, 0x52, 0x12, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4d, 0x61, 0x6e, 0x69, 0x66,
|
||||||
0x66, 0x6f, 0x22, 0x34, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
|
0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0f, 0x0a, 0x0d, 0x6d, 0x61, 0x6e, 0x69, 0x66,
|
||||||
0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x67,
|
0x65, 0x73, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x34, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74,
|
||||||
0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, 0x52, 0x09, 0x72,
|
0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
||||||
0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x22, 0x30, 0x0a, 0x11, 0x42, 0x75, 0x69, 0x6c,
|
0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20,
|
||||||
0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a,
|
0x03, 0x28, 0x04, 0x52, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x22, 0x30,
|
||||||
0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04,
|
0x0a, 0x11, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75,
|
||||||
0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x1f, 0x0a, 0x09, 0x46, 0x69,
|
0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64,
|
||||||
0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18,
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64,
|
||||||
0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xb2, 0x01, 0x0a, 0x1b,
|
0x22, 0x1f, 0x0a, 0x09, 0x46, 0x69, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x73, 0x12, 0x12, 0x0a,
|
||||||
0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x4d, 0x61, 0x6e, 0x69,
|
0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74,
|
||||||
0x66, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72,
|
0x61, 0x22, 0xb2, 0x01, 0x0a, 0x1b, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x67, 0x69,
|
||||||
0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08,
|
0x6e, 0x67, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||||
0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x74,
|
0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01,
|
||||||
0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x25,
|
||||||
0x52, 0x0d, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x70, 0x72, 0x12,
|
0x0a, 0x0e, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x78, 0x70, 0x72,
|
||||||
0x2a, 0x0a, 0x11, 0x63, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f,
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f,
|
||||||
0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x63, 0x65, 0x6e, 0x74,
|
0x6e, 0x45, 0x78, 0x70, 0x72, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c,
|
||||||
0x72, 0x61, 0x6c, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x6d,
|
0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04,
|
||||||
0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01,
|
0x52, 0x0f, 0x63, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49,
|
||||||
0x28, 0x09, 0x52, 0x0c, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x50, 0x61, 0x74, 0x68,
|
0x64, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x61,
|
||||||
0x22, 0xd3, 0x01, 0x0a, 0x16, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x44, 0x79, 0x6e, 0x46, 0x69,
|
0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65,
|
||||||
0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x71,
|
0x73, 0x74, 0x50, 0x61, 0x74, 0x68, 0x22, 0xd3, 0x01, 0x0a, 0x16, 0x52, 0x65, 0x6d, 0x6f, 0x74,
|
||||||
0x75, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x71,
|
0x65, 0x44, 0x79, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||||
0x75, 0x65, 0x72, 0x79, 0x49, 0x64, 0x12, 0x43, 0x0a, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
|
0x74, 0x12, 0x19, 0x0a, 0x08, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
|
||||||
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
0x01, 0x28, 0x09, 0x52, 0x07, 0x71, 0x75, 0x65, 0x72, 0x79, 0x49, 0x64, 0x12, 0x43, 0x0a, 0x06,
|
||||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x6d, 0x6f,
|
0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67,
|
||||||
0x74, 0x65, 0x44, 0x79, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74,
|
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f,
|
||||||
0x65, 0x48, 0x00, 0x52, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x4f, 0x0a, 0x0a, 0x75,
|
0x6e, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x44, 0x79, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65,
|
||||||
0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74,
|
||||||
0x2d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65,
|
0x65, 0x12, 0x4f, 0x0a, 0x0a, 0x75, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x18,
|
||||||
0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x44, 0x79, 0x6e, 0x46, 0x69,
|
0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
|
||||||
0x6c, 0x74, 0x65, 0x72, 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x48, 0x00,
|
0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x74,
|
||||||
0x52, 0x0a, 0x75, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x42, 0x08, 0x0a, 0x06,
|
0x65, 0x44, 0x79, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69,
|
||||||
0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x8f, 0x01, 0x0a, 0x15, 0x52, 0x65, 0x6d, 0x6f, 0x74,
|
0x73, 0x74, 0x65, 0x72, 0x48, 0x00, 0x52, 0x0a, 0x75, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74,
|
||||||
0x65, 0x44, 0x79, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
|
0x65, 0x72, 0x42, 0x08, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x8f, 0x01, 0x0a,
|
||||||
0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
|
0x15, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x44, 0x79, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72,
|
||||||
0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a,
|
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72,
|
||||||
0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07,
|
0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x74, 0x65,
|
||||||
0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x67, 0x65, 0x6e, 0x65, 0x72,
|
0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02,
|
||||||
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x67, 0x65, 0x6e,
|
0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x1e, 0x0a,
|
||||||
0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x63, 0x6f,
|
0x0a, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28,
|
||||||
0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73,
|
0x04, 0x52, 0x0a, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a,
|
||||||
0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x22, 0x38, 0x0a, 0x19, 0x52, 0x65, 0x6d, 0x6f,
|
0x0b, 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01,
|
||||||
0x74, 0x65, 0x44, 0x79, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x55, 0x6e, 0x72, 0x65, 0x67,
|
0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x22, 0x38,
|
||||||
0x69, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x5f,
|
0x0a, 0x19, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x44, 0x79, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65,
|
||||||
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72,
|
0x72, 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x66,
|
||||||
0x49, 0x64, 0x32, 0x59, 0x0a, 0x06, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x4f, 0x0a, 0x06,
|
0x69, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
|
||||||
0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x49, 0x64, 0x32, 0x59, 0x0a, 0x06, 0x52, 0x65, 0x67, 0x69,
|
||||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69,
|
0x6f, 0x6e, 0x12, 0x4f, 0x0a, 0x06, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x21, 0x2e, 0x67,
|
||||||
0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x67, 0x72, 0x65, 0x70,
|
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f,
|
||||||
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52,
|
0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
||||||
0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x5d, 0x0a,
|
0x22, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65,
|
||||||
0x15, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||||
0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x42, 0x06, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5a, 0x3c,
|
0x6e, 0x73, 0x65, 0x42, 0x5d, 0x0a, 0x15, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
|
||||||
0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x72, 0x65, 0x70, 0x74,
|
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x42, 0x06, 0x53, 0x65,
|
||||||
0x69, 0x6d, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
|
0x72, 0x76, 0x65, 0x72, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
|
||||||
0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
|
0x2f, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x2f, 0x67, 0x72,
|
||||||
0x6d, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72,
|
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f,
|
||||||
0x6f, 0x74, 0x6f, 0x33,
|
0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x67, 0x69,
|
||||||
|
0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|||||||
@@ -30941,6 +30941,12 @@ java.lang.String defaultValue);
|
|||||||
*/
|
*/
|
||||||
io.greptime.v1.Common.PartitionExprVersionOrBuilder getPartitionExprVersionOrBuilder();
|
io.greptime.v1.Common.PartitionExprVersionOrBuilder getPartitionExprVersionOrBuilder();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>uint64 aligned_schema_version = 4;</code>
|
||||||
|
* @return The alignedSchemaVersion.
|
||||||
|
*/
|
||||||
|
long getAlignedSchemaVersion();
|
||||||
|
|
||||||
public io.greptime.v1.region.Server.BulkInsertRequest.BodyCase getBodyCase();
|
public io.greptime.v1.region.Server.BulkInsertRequest.BodyCase getBodyCase();
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
@@ -31024,6 +31030,11 @@ java.lang.String defaultValue);
|
|||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case 32: {
|
||||||
|
|
||||||
|
alignedSchemaVersion_ = input.readUInt64();
|
||||||
|
break;
|
||||||
|
}
|
||||||
default: {
|
default: {
|
||||||
if (!parseUnknownField(
|
if (!parseUnknownField(
|
||||||
input, unknownFields, extensionRegistry, tag)) {
|
input, unknownFields, extensionRegistry, tag)) {
|
||||||
@@ -31165,6 +31176,17 @@ java.lang.String defaultValue);
|
|||||||
return getPartitionExprVersion();
|
return getPartitionExprVersion();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static final int ALIGNED_SCHEMA_VERSION_FIELD_NUMBER = 4;
|
||||||
|
private long alignedSchemaVersion_;
|
||||||
|
/**
|
||||||
|
* <code>uint64 aligned_schema_version = 4;</code>
|
||||||
|
* @return The alignedSchemaVersion.
|
||||||
|
*/
|
||||||
|
@java.lang.Override
|
||||||
|
public long getAlignedSchemaVersion() {
|
||||||
|
return alignedSchemaVersion_;
|
||||||
|
}
|
||||||
|
|
||||||
private byte memoizedIsInitialized = -1;
|
private byte memoizedIsInitialized = -1;
|
||||||
@java.lang.Override
|
@java.lang.Override
|
||||||
public final boolean isInitialized() {
|
public final boolean isInitialized() {
|
||||||
@@ -31188,6 +31210,9 @@ java.lang.String defaultValue);
|
|||||||
if (partitionExprVersion_ != null) {
|
if (partitionExprVersion_ != null) {
|
||||||
output.writeMessage(3, getPartitionExprVersion());
|
output.writeMessage(3, getPartitionExprVersion());
|
||||||
}
|
}
|
||||||
|
if (alignedSchemaVersion_ != 0L) {
|
||||||
|
output.writeUInt64(4, alignedSchemaVersion_);
|
||||||
|
}
|
||||||
unknownFields.writeTo(output);
|
unknownFields.writeTo(output);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -31209,6 +31234,10 @@ java.lang.String defaultValue);
|
|||||||
size += com.google.protobuf.CodedOutputStream
|
size += com.google.protobuf.CodedOutputStream
|
||||||
.computeMessageSize(3, getPartitionExprVersion());
|
.computeMessageSize(3, getPartitionExprVersion());
|
||||||
}
|
}
|
||||||
|
if (alignedSchemaVersion_ != 0L) {
|
||||||
|
size += com.google.protobuf.CodedOutputStream
|
||||||
|
.computeUInt64Size(4, alignedSchemaVersion_);
|
||||||
|
}
|
||||||
size += unknownFields.getSerializedSize();
|
size += unknownFields.getSerializedSize();
|
||||||
memoizedSize = size;
|
memoizedSize = size;
|
||||||
return size;
|
return size;
|
||||||
@@ -31231,6 +31260,8 @@ java.lang.String defaultValue);
|
|||||||
if (!getPartitionExprVersion()
|
if (!getPartitionExprVersion()
|
||||||
.equals(other.getPartitionExprVersion())) return false;
|
.equals(other.getPartitionExprVersion())) return false;
|
||||||
}
|
}
|
||||||
|
if (getAlignedSchemaVersion()
|
||||||
|
!= other.getAlignedSchemaVersion()) return false;
|
||||||
if (!getBodyCase().equals(other.getBodyCase())) return false;
|
if (!getBodyCase().equals(other.getBodyCase())) return false;
|
||||||
switch (bodyCase_) {
|
switch (bodyCase_) {
|
||||||
case 2:
|
case 2:
|
||||||
@@ -31258,6 +31289,9 @@ java.lang.String defaultValue);
|
|||||||
hash = (37 * hash) + PARTITION_EXPR_VERSION_FIELD_NUMBER;
|
hash = (37 * hash) + PARTITION_EXPR_VERSION_FIELD_NUMBER;
|
||||||
hash = (53 * hash) + getPartitionExprVersion().hashCode();
|
hash = (53 * hash) + getPartitionExprVersion().hashCode();
|
||||||
}
|
}
|
||||||
|
hash = (37 * hash) + ALIGNED_SCHEMA_VERSION_FIELD_NUMBER;
|
||||||
|
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
||||||
|
getAlignedSchemaVersion());
|
||||||
switch (bodyCase_) {
|
switch (bodyCase_) {
|
||||||
case 2:
|
case 2:
|
||||||
hash = (37 * hash) + ARROW_IPC_FIELD_NUMBER;
|
hash = (37 * hash) + ARROW_IPC_FIELD_NUMBER;
|
||||||
@@ -31411,6 +31445,8 @@ java.lang.String defaultValue);
|
|||||||
partitionExprVersion_ = null;
|
partitionExprVersion_ = null;
|
||||||
partitionExprVersionBuilder_ = null;
|
partitionExprVersionBuilder_ = null;
|
||||||
}
|
}
|
||||||
|
alignedSchemaVersion_ = 0L;
|
||||||
|
|
||||||
bodyCase_ = 0;
|
bodyCase_ = 0;
|
||||||
body_ = null;
|
body_ = null;
|
||||||
return this;
|
return this;
|
||||||
@@ -31452,6 +31488,7 @@ java.lang.String defaultValue);
|
|||||||
} else {
|
} else {
|
||||||
result.partitionExprVersion_ = partitionExprVersionBuilder_.build();
|
result.partitionExprVersion_ = partitionExprVersionBuilder_.build();
|
||||||
}
|
}
|
||||||
|
result.alignedSchemaVersion_ = alignedSchemaVersion_;
|
||||||
result.bodyCase_ = bodyCase_;
|
result.bodyCase_ = bodyCase_;
|
||||||
onBuilt();
|
onBuilt();
|
||||||
return result;
|
return result;
|
||||||
@@ -31507,6 +31544,9 @@ java.lang.String defaultValue);
|
|||||||
if (other.hasPartitionExprVersion()) {
|
if (other.hasPartitionExprVersion()) {
|
||||||
mergePartitionExprVersion(other.getPartitionExprVersion());
|
mergePartitionExprVersion(other.getPartitionExprVersion());
|
||||||
}
|
}
|
||||||
|
if (other.getAlignedSchemaVersion() != 0L) {
|
||||||
|
setAlignedSchemaVersion(other.getAlignedSchemaVersion());
|
||||||
|
}
|
||||||
switch (other.getBodyCase()) {
|
switch (other.getBodyCase()) {
|
||||||
case ARROW_IPC: {
|
case ARROW_IPC: {
|
||||||
mergeArrowIpc(other.getArrowIpc());
|
mergeArrowIpc(other.getArrowIpc());
|
||||||
@@ -31851,6 +31891,37 @@ java.lang.String defaultValue);
|
|||||||
}
|
}
|
||||||
return partitionExprVersionBuilder_;
|
return partitionExprVersionBuilder_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private long alignedSchemaVersion_ ;
|
||||||
|
/**
|
||||||
|
* <code>uint64 aligned_schema_version = 4;</code>
|
||||||
|
* @return The alignedSchemaVersion.
|
||||||
|
*/
|
||||||
|
@java.lang.Override
|
||||||
|
public long getAlignedSchemaVersion() {
|
||||||
|
return alignedSchemaVersion_;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <code>uint64 aligned_schema_version = 4;</code>
|
||||||
|
* @param value The alignedSchemaVersion to set.
|
||||||
|
* @return This builder for chaining.
|
||||||
|
*/
|
||||||
|
public Builder setAlignedSchemaVersion(long value) {
|
||||||
|
|
||||||
|
alignedSchemaVersion_ = value;
|
||||||
|
onChanged();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <code>uint64 aligned_schema_version = 4;</code>
|
||||||
|
* @return This builder for chaining.
|
||||||
|
*/
|
||||||
|
public Builder clearAlignedSchemaVersion() {
|
||||||
|
|
||||||
|
alignedSchemaVersion_ = 0L;
|
||||||
|
onChanged();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
@java.lang.Override
|
@java.lang.Override
|
||||||
public final Builder setUnknownFields(
|
public final Builder setUnknownFields(
|
||||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||||
@@ -39403,38 +39474,39 @@ java.lang.String defaultValue);
|
|||||||
"es\030\003 \001(\0132\027.greptime.v1.TimeRangesH\000B\006\n\004k" +
|
"es\030\003 \001(\0132\027.greptime.v1.TimeRangesH\000B\006\n\004k" +
|
||||||
"ind\"\005\n\003All\"P\n\017RegionColumnDef\022*\n\ncolumn_" +
|
"ind\"\005\n\003All\"P\n\017RegionColumnDef\022*\n\ncolumn_" +
|
||||||
"def\030\001 \001(\0132\026.greptime.v1.ColumnDef\022\021\n\tcol" +
|
"def\030\001 \001(\0132\026.greptime.v1.ColumnDef\022\021\n\tcol" +
|
||||||
"umn_id\030\002 \001(\r\"\235\001\n\021BulkInsertRequest\022\021\n\tre" +
|
"umn_id\030\002 \001(\r\"\275\001\n\021BulkInsertRequest\022\021\n\tre" +
|
||||||
"gion_id\030\001 \001(\004\022*\n\tarrow_ipc\030\002 \001(\0132\025.grept" +
|
"gion_id\030\001 \001(\004\022*\n\tarrow_ipc\030\002 \001(\0132\025.grept" +
|
||||||
"ime.v1.ArrowIpcH\000\022A\n\026partition_expr_vers" +
|
"ime.v1.ArrowIpcH\000\022A\n\026partition_expr_vers" +
|
||||||
"ion\030\003 \001(\0132!.greptime.v1.PartitionExprVer" +
|
"ion\030\003 \001(\0132!.greptime.v1.PartitionExprVer" +
|
||||||
"sionB\006\n\004body\"1\n\020MitoManifestInfo\022\035\n\025data" +
|
"sion\022\036\n\026aligned_schema_version\030\004 \001(\004B\006\n\004" +
|
||||||
"_manifest_version\030\001 \001(\004\"V\n\022MetricManifes" +
|
"body\"1\n\020MitoManifestInfo\022\035\n\025data_manifes" +
|
||||||
"tInfo\022\035\n\025data_manifest_version\030\001 \001(\004\022!\n\031" +
|
"t_version\030\001 \001(\004\"V\n\022MetricManifestInfo\022\035\n" +
|
||||||
"metadata_manifest_version\030\002 \001(\004\"\275\001\n\013Sync" +
|
"\025data_manifest_version\030\001 \001(\004\022!\n\031metadata" +
|
||||||
"Request\022\021\n\tregion_id\030\001 \001(\004\022B\n\022mito_manif" +
|
"_manifest_version\030\002 \001(\004\"\275\001\n\013SyncRequest\022" +
|
||||||
"est_info\030\002 \001(\0132$.greptime.v1.region.Mito" +
|
"\021\n\tregion_id\030\001 \001(\004\022B\n\022mito_manifest_info" +
|
||||||
"ManifestInfoH\000\022F\n\024metric_manifest_info\030\003" +
|
"\030\002 \001(\0132$.greptime.v1.region.MitoManifest" +
|
||||||
" \001(\0132&.greptime.v1.region.MetricManifest" +
|
"InfoH\000\022F\n\024metric_manifest_info\030\003 \001(\0132&.g" +
|
||||||
"InfoH\000B\017\n\rmanifest_info\")\n\023ListMetadataR" +
|
"reptime.v1.region.MetricManifestInfoH\000B\017" +
|
||||||
"equest\022\022\n\nregion_ids\030\001 \003(\004\"&\n\021BuildIndex" +
|
"\n\rmanifest_info\")\n\023ListMetadataRequest\022\022" +
|
||||||
"Request\022\021\n\tregion_id\030\001 \001(\004\"\031\n\tFileMetas\022" +
|
"\n\nregion_ids\030\001 \003(\004\"&\n\021BuildIndexRequest\022" +
|
||||||
"\014\n\004data\030\001 \001(\014\"z\n\033ApplyStagingManifestReq" +
|
"\021\n\tregion_id\030\001 \001(\004\"\031\n\tFileMetas\022\014\n\004data\030" +
|
||||||
"uest\022\021\n\tregion_id\030\001 \001(\004\022\026\n\016partition_exp" +
|
"\001 \001(\014\"z\n\033ApplyStagingManifestRequest\022\021\n\t" +
|
||||||
"r\030\002 \001(\t\022\031\n\021central_region_id\030\003 \001(\004\022\025\n\rma" +
|
"region_id\030\001 \001(\004\022\026\n\016partition_expr\030\002 \001(\t\022" +
|
||||||
"nifest_path\030\004 \001(\t\"\266\001\n\026RemoteDynFilterReq" +
|
"\031\n\021central_region_id\030\003 \001(\004\022\025\n\rmanifest_p" +
|
||||||
"uest\022\020\n\010query_id\030\001 \001(\t\022;\n\006update\030\002 \001(\0132)" +
|
"ath\030\004 \001(\t\"\266\001\n\026RemoteDynFilterRequest\022\020\n\010" +
|
||||||
".greptime.v1.region.RemoteDynFilterUpdat" +
|
"query_id\030\001 \001(\t\022;\n\006update\030\002 \001(\0132).greptim" +
|
||||||
"eH\000\022C\n\nunregister\030\003 \001(\0132-.greptime.v1.re" +
|
"e.v1.region.RemoteDynFilterUpdateH\000\022C\n\nu" +
|
||||||
"gion.RemoteDynFilterUnregisterH\000B\010\n\006acti" +
|
"nregister\030\003 \001(\0132-.greptime.v1.region.Rem" +
|
||||||
"on\"d\n\025RemoteDynFilterUpdate\022\021\n\tfilter_id" +
|
"oteDynFilterUnregisterH\000B\010\n\006action\"d\n\025Re" +
|
||||||
"\030\001 \001(\t\022\017\n\007payload\030\002 \001(\014\022\022\n\ngeneration\030\003 " +
|
"moteDynFilterUpdate\022\021\n\tfilter_id\030\001 \001(\t\022\017" +
|
||||||
"\001(\004\022\023\n\013is_complete\030\004 \001(\010\".\n\031RemoteDynFil" +
|
"\n\007payload\030\002 \001(\014\022\022\n\ngeneration\030\003 \001(\004\022\023\n\013i" +
|
||||||
"terUnregister\022\021\n\tfilter_id\030\001 \001(\t2Y\n\006Regi" +
|
"s_complete\030\004 \001(\010\".\n\031RemoteDynFilterUnreg" +
|
||||||
"on\022O\n\006Handle\022!.greptime.v1.region.Region" +
|
"ister\022\021\n\tfilter_id\030\001 \001(\t2Y\n\006Region\022O\n\006Ha" +
|
||||||
"Request\032\".greptime.v1.region.RegionRespo" +
|
"ndle\022!.greptime.v1.region.RegionRequest\032" +
|
||||||
"nseB]\n\025io.greptime.v1.regionB\006ServerZ<gi" +
|
"\".greptime.v1.region.RegionResponseB]\n\025i" +
|
||||||
"thub.com/GreptimeTeam/greptime-proto/go/" +
|
"o.greptime.v1.regionB\006ServerZ<github.com" +
|
||||||
"greptime/v1/regionb\006proto3"
|
"/GreptimeTeam/greptime-proto/go/greptime" +
|
||||||
|
"/v1/regionb\006proto3"
|
||||||
};
|
};
|
||||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||||
.internalBuildGeneratedFileFrom(descriptorData,
|
.internalBuildGeneratedFileFrom(descriptorData,
|
||||||
@@ -39641,7 +39713,7 @@ java.lang.String defaultValue);
|
|||||||
internal_static_greptime_v1_region_BulkInsertRequest_fieldAccessorTable = new
|
internal_static_greptime_v1_region_BulkInsertRequest_fieldAccessorTable = new
|
||||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||||
internal_static_greptime_v1_region_BulkInsertRequest_descriptor,
|
internal_static_greptime_v1_region_BulkInsertRequest_descriptor,
|
||||||
new java.lang.String[] { "RegionId", "ArrowIpc", "PartitionExprVersion", "Body", });
|
new java.lang.String[] { "RegionId", "ArrowIpc", "PartitionExprVersion", "AlignedSchemaVersion", "Body", });
|
||||||
internal_static_greptime_v1_region_MitoManifestInfo_descriptor =
|
internal_static_greptime_v1_region_MitoManifestInfo_descriptor =
|
||||||
getDescriptor().getMessageTypes().get(29);
|
getDescriptor().getMessageTypes().get(29);
|
||||||
internal_static_greptime_v1_region_MitoManifestInfo_fieldAccessorTable = new
|
internal_static_greptime_v1_region_MitoManifestInfo_fieldAccessorTable = new
|
||||||
|
|||||||
@@ -256,6 +256,7 @@ message BulkInsertRequest {
|
|||||||
ArrowIpc arrow_ipc = 2;
|
ArrowIpc arrow_ipc = 2;
|
||||||
}
|
}
|
||||||
PartitionExprVersion partition_expr_version = 3;
|
PartitionExprVersion partition_expr_version = 3;
|
||||||
|
uint64 aligned_schema_version = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Manifest info for mito engine.
|
// Manifest info for mito engine.
|
||||||
|
|||||||
@@ -373,6 +373,8 @@ pub struct BulkInsertRequest {
|
|||||||
pub region_id: u64,
|
pub region_id: u64,
|
||||||
#[prost(message, optional, tag = "3")]
|
#[prost(message, optional, tag = "3")]
|
||||||
pub partition_expr_version: ::core::option::Option<super::PartitionExprVersion>,
|
pub partition_expr_version: ::core::option::Option<super::PartitionExprVersion>,
|
||||||
|
#[prost(uint64, tag = "4")]
|
||||||
|
pub aligned_schema_version: u64,
|
||||||
#[prost(oneof = "bulk_insert_request::Body", tags = "2")]
|
#[prost(oneof = "bulk_insert_request::Body", tags = "2")]
|
||||||
pub body: ::core::option::Option<bulk_insert_request::Body>,
|
pub body: ::core::option::Option<bulk_insert_request::Body>,
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user