Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2e7c461b66 | |||
| 912f6c2101 | |||
| 69a064a7f7 | |||
| 246a876568 |
@@ -37,10 +37,6 @@ jobs:
|
||||
uses: Swatinem/rust-cache@v2
|
||||
- name: Run cargo check
|
||||
run: cargo check --workspace --all-targets
|
||||
- uses: arduino/setup-protoc@v3
|
||||
with:
|
||||
version: '21.12'
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Generate protobuf
|
||||
run: |
|
||||
make all
|
||||
|
||||
@@ -1,29 +1,25 @@
|
||||
.PHONY: all rust go go-deps java cpp check-protoc
|
||||
.PHONY: all rust go go-deps java cpp build-builder-image
|
||||
|
||||
BUILDER_CONTAINER=namely/protoc-all:1.51_2
|
||||
PROTOC_VERSION=3.21.12
|
||||
PROTOC_CONTAINER=namely/protoc-all:1.51_2
|
||||
BUILDER_CONTAINER=greptime/protoc-all-local:latest
|
||||
BUILDER_DOCKERFILE=./docker/protoc-all/Dockerfile
|
||||
BUILDER_CONTEXT=./docker/protoc-all
|
||||
|
||||
all: rust go java cpp
|
||||
|
||||
check-protoc:
|
||||
@if ! command -v protoc >/dev/null 2>&1; then \
|
||||
echo "Error: protoc is not installed. Please install protoc $(PROTOC_VERSION)."; \
|
||||
exit 1; \
|
||||
fi
|
||||
@CURRENT_PROTOC_VERSION=$$(protoc --version | awk '{print $$2}'); \
|
||||
if [ "$$CURRENT_PROTOC_VERSION" != "$(PROTOC_VERSION)" ]; then \
|
||||
echo "Error: Required protoc version is $(PROTOC_VERSION), but found $$CURRENT_PROTOC_VERSION."; \
|
||||
echo "Please install protoc $(PROTOC_VERSION) to ensure generated code is consistent."; \
|
||||
exit 1; \
|
||||
fi
|
||||
build-builder-image:
|
||||
docker build -f ${BUILDER_DOCKERFILE} -t ${BUILDER_CONTAINER} ${BUILDER_CONTEXT}
|
||||
|
||||
rust: check-protoc
|
||||
cargo run --manifest-path xtask/Cargo.toml -- generate-rust
|
||||
rust: build-builder-image
|
||||
docker run --rm -t -w /greptime-proto \
|
||||
--user $(shell id -u):$(shell id -g) \
|
||||
--entrypoint ./scripts/generate-rust.sh \
|
||||
-v ${PWD}:/greptime-proto ${BUILDER_CONTAINER}
|
||||
|
||||
go: go-deps
|
||||
docker run --rm -t -w /greptime-proto \
|
||||
--entrypoint ./scripts/generate-go.sh \
|
||||
-v ${PWD}:/greptime-proto ${BUILDER_CONTAINER}
|
||||
-v ${PWD}:/greptime-proto ${PROTOC_CONTAINER}
|
||||
|
||||
go-deps:
|
||||
go mod download
|
||||
@@ -31,9 +27,9 @@ go-deps:
|
||||
java:
|
||||
docker run --rm -t -w /greptime-proto \
|
||||
--entrypoint ./scripts/generate-java.sh \
|
||||
-v ${PWD}:/greptime-proto ${BUILDER_CONTAINER}
|
||||
-v ${PWD}:/greptime-proto ${PROTOC_CONTAINER}
|
||||
|
||||
cpp:
|
||||
docker run --rm -t -w /greptime-proto \
|
||||
--entrypoint ./scripts/generate-cpp.sh \
|
||||
-v ${PWD}:/greptime-proto ${BUILDER_CONTAINER}
|
||||
-v ${PWD}:/greptime-proto ${PROTOC_CONTAINER}
|
||||
|
||||
@@ -7,7 +7,7 @@ GreptimeDB protobuf definitions and pre-generated Rust bindings.
|
||||
### Requirement
|
||||
|
||||
- Rust consumers do not need `protoc`.
|
||||
- Maintainers need [google/protobuf][protobuf] v3 to regenerate Rust bindings after `.proto` changes.
|
||||
- Maintainers need Docker to regenerate checked-in bindings after `.proto` changes.
|
||||
|
||||
### Command
|
||||
|
||||
@@ -29,7 +29,7 @@ GreptimeDB protobuf definitions and pre-generated Rust bindings.
|
||||
make java
|
||||
```
|
||||
|
||||
The compilation for Go and Java will use builder container `namely/protoc-all`.
|
||||
Rust generation uses the local builder image built from `docker/protoc-all/Dockerfile`. Go, Java, and C++ generation uses `namely/protoc-all:1.51_2` directly.
|
||||
|
||||
## Usage
|
||||
|
||||
@@ -53,7 +53,7 @@ use greptime_proto::prometheus::remote::*;
|
||||
When working in this repository, regenerate the checked-in Rust bindings after `.proto` changes with:
|
||||
|
||||
```console
|
||||
cargo run --manifest-path xtask/Cargo.toml -- generate-rust
|
||||
make rust
|
||||
```
|
||||
|
||||
### Go
|
||||
|
||||
@@ -467,6 +467,7 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORIT
|
||||
PROTOBUF_CONSTEXPR BulkInsertRequest::BulkInsertRequest(
|
||||
::_pbi::ConstantInitialized): _impl_{
|
||||
/*decltype(_impl_.partition_expr_version_)*/nullptr
|
||||
, /*decltype(_impl_.aligned_schema_version_)*/nullptr
|
||||
, /*decltype(_impl_.region_id_)*/uint64_t{0u}
|
||||
, /*decltype(_impl_.body_)*/{}
|
||||
, /*decltype(_impl_._cached_size_)*/{}
|
||||
@@ -480,6 +481,19 @@ struct BulkInsertRequestDefaultTypeInternal {
|
||||
};
|
||||
};
|
||||
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BulkInsertRequestDefaultTypeInternal _BulkInsertRequest_default_instance_;
|
||||
PROTOBUF_CONSTEXPR AlignedSchemaVersion::AlignedSchemaVersion(
|
||||
::_pbi::ConstantInitialized): _impl_{
|
||||
/*decltype(_impl_.schema_version_)*/uint64_t{0u}
|
||||
, /*decltype(_impl_._cached_size_)*/{}} {}
|
||||
struct AlignedSchemaVersionDefaultTypeInternal {
|
||||
PROTOBUF_CONSTEXPR AlignedSchemaVersionDefaultTypeInternal()
|
||||
: _instance(::_pbi::ConstantInitialized{}) {}
|
||||
~AlignedSchemaVersionDefaultTypeInternal() {}
|
||||
union {
|
||||
AlignedSchemaVersion _instance;
|
||||
};
|
||||
};
|
||||
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AlignedSchemaVersionDefaultTypeInternal _AlignedSchemaVersion_default_instance_;
|
||||
PROTOBUF_CONSTEXPR MitoManifestInfo::MitoManifestInfo(
|
||||
::_pbi::ConstantInitialized): _impl_{
|
||||
/*decltype(_impl_.data_manifest_version_)*/uint64_t{0u}
|
||||
@@ -625,7 +639,7 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORIT
|
||||
} // namespace region
|
||||
} // namespace v1
|
||||
} // namespace greptime
|
||||
static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[43];
|
||||
static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[44];
|
||||
static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_greptime_2fv1_2fregion_2fserver_2eproto = nullptr;
|
||||
static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_greptime_2fv1_2fregion_2fserver_2eproto = nullptr;
|
||||
|
||||
@@ -940,8 +954,16 @@ const uint32_t TableStruct_greptime_2fv1_2fregion_2fserver_2eproto::offsets[] PR
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::BulkInsertRequest, _impl_.region_id_),
|
||||
::_pbi::kInvalidFieldOffsetTag,
|
||||
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_),
|
||||
~0u, // no _has_bits_
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::AlignedSchemaVersion, _internal_metadata_),
|
||||
~0u, // no _extensions_
|
||||
~0u, // no _oneof_case_
|
||||
~0u, // no _weak_field_map_
|
||||
~0u, // no _inlined_string_donated_
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::AlignedSchemaVersion, _impl_.schema_version_),
|
||||
~0u, // no _has_bits_
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::MitoManifestInfo, _internal_metadata_),
|
||||
~0u, // no _extensions_
|
||||
~0u, // no _oneof_case_
|
||||
@@ -1059,16 +1081,17 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode
|
||||
{ 287, -1, -1, sizeof(::greptime::v1::region::All)},
|
||||
{ 293, -1, -1, sizeof(::greptime::v1::region::RegionColumnDef)},
|
||||
{ 301, -1, -1, sizeof(::greptime::v1::region::BulkInsertRequest)},
|
||||
{ 311, -1, -1, sizeof(::greptime::v1::region::MitoManifestInfo)},
|
||||
{ 318, -1, -1, sizeof(::greptime::v1::region::MetricManifestInfo)},
|
||||
{ 326, -1, -1, sizeof(::greptime::v1::region::SyncRequest)},
|
||||
{ 336, -1, -1, sizeof(::greptime::v1::region::ListMetadataRequest)},
|
||||
{ 343, -1, -1, sizeof(::greptime::v1::region::BuildIndexRequest)},
|
||||
{ 350, -1, -1, sizeof(::greptime::v1::region::FileMetas)},
|
||||
{ 357, -1, -1, sizeof(::greptime::v1::region::ApplyStagingManifestRequest)},
|
||||
{ 367, -1, -1, sizeof(::greptime::v1::region::RemoteDynFilterRequest)},
|
||||
{ 377, -1, -1, sizeof(::greptime::v1::region::RemoteDynFilterUpdate)},
|
||||
{ 387, -1, -1, sizeof(::greptime::v1::region::RemoteDynFilterUnregister)},
|
||||
{ 312, -1, -1, sizeof(::greptime::v1::region::AlignedSchemaVersion)},
|
||||
{ 319, -1, -1, sizeof(::greptime::v1::region::MitoManifestInfo)},
|
||||
{ 326, -1, -1, sizeof(::greptime::v1::region::MetricManifestInfo)},
|
||||
{ 334, -1, -1, sizeof(::greptime::v1::region::SyncRequest)},
|
||||
{ 344, -1, -1, sizeof(::greptime::v1::region::ListMetadataRequest)},
|
||||
{ 351, -1, -1, sizeof(::greptime::v1::region::BuildIndexRequest)},
|
||||
{ 358, -1, -1, sizeof(::greptime::v1::region::FileMetas)},
|
||||
{ 365, -1, -1, sizeof(::greptime::v1::region::ApplyStagingManifestRequest)},
|
||||
{ 375, -1, -1, sizeof(::greptime::v1::region::RemoteDynFilterRequest)},
|
||||
{ 385, -1, -1, sizeof(::greptime::v1::region::RemoteDynFilterUpdate)},
|
||||
{ 395, -1, -1, sizeof(::greptime::v1::region::RemoteDynFilterUnregister)},
|
||||
};
|
||||
|
||||
static const ::_pb::Message* const file_default_instances[] = {
|
||||
@@ -1105,6 +1128,7 @@ static const ::_pb::Message* const file_default_instances[] = {
|
||||
&::greptime::v1::region::_All_default_instance_._instance,
|
||||
&::greptime::v1::region::_RegionColumnDef_default_instance_._instance,
|
||||
&::greptime::v1::region::_BulkInsertRequest_default_instance_._instance,
|
||||
&::greptime::v1::region::_AlignedSchemaVersion_default_instance_._instance,
|
||||
&::greptime::v1::region::_MitoManifestInfo_default_instance_._instance,
|
||||
&::greptime::v1::region::_MetricManifestInfo_default_instance_._instance,
|
||||
&::greptime::v1::region::_SyncRequest_default_instance_._instance,
|
||||
@@ -1235,38 +1259,41 @@ const char descriptor_table_protodef_greptime_2fv1_2fregion_2fserver_2eproto[] P
|
||||
"es\030\003 \001(\0132\027.greptime.v1.TimeRangesH\000B\006\n\004k"
|
||||
"ind\"\005\n\003All\"P\n\017RegionColumnDef\022*\n\ncolumn_"
|
||||
"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\"\347\001\n\021BulkInsertRequest\022\021\n\tre"
|
||||
"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"
|
||||
"ion\030\003 \001(\0132!.greptime.v1.PartitionExprVer"
|
||||
"sionB\006\n\004body\"1\n\020MitoManifestInfo\022\035\n\025data"
|
||||
"_manifest_version\030\001 \001(\004\"V\n\022MetricManifes"
|
||||
"tInfo\022\035\n\025data_manifest_version\030\001 \001(\004\022!\n\031"
|
||||
"metadata_manifest_version\030\002 \001(\004\"\275\001\n\013Sync"
|
||||
"Request\022\021\n\tregion_id\030\001 \001(\004\022B\n\022mito_manif"
|
||||
"est_info\030\002 \001(\0132$.greptime.v1.region.Mito"
|
||||
"ManifestInfoH\000\022F\n\024metric_manifest_info\030\003"
|
||||
" \001(\0132&.greptime.v1.region.MetricManifest"
|
||||
"InfoH\000B\017\n\rmanifest_info\")\n\023ListMetadataR"
|
||||
"equest\022\022\n\nregion_ids\030\001 \003(\004\"&\n\021BuildIndex"
|
||||
"Request\022\021\n\tregion_id\030\001 \001(\004\"\031\n\tFileMetas\022"
|
||||
"\014\n\004data\030\001 \001(\014\"z\n\033ApplyStagingManifestReq"
|
||||
"uest\022\021\n\tregion_id\030\001 \001(\004\022\026\n\016partition_exp"
|
||||
"r\030\002 \001(\t\022\031\n\021central_region_id\030\003 \001(\004\022\025\n\rma"
|
||||
"nifest_path\030\004 \001(\t\"\266\001\n\026RemoteDynFilterReq"
|
||||
"uest\022\020\n\010query_id\030\001 \001(\t\022;\n\006update\030\002 \001(\0132)"
|
||||
".greptime.v1.region.RemoteDynFilterUpdat"
|
||||
"eH\000\022C\n\nunregister\030\003 \001(\0132-.greptime.v1.re"
|
||||
"gion.RemoteDynFilterUnregisterH\000B\010\n\006acti"
|
||||
"on\"d\n\025RemoteDynFilterUpdate\022\021\n\tfilter_id"
|
||||
"\030\001 \001(\t\022\017\n\007payload\030\002 \001(\014\022\022\n\ngeneration\030\003 "
|
||||
"\001(\004\022\023\n\013is_complete\030\004 \001(\010\".\n\031RemoteDynFil"
|
||||
"terUnregister\022\021\n\tfilter_id\030\001 \001(\t2Y\n\006Regi"
|
||||
"on\022O\n\006Handle\022!.greptime.v1.region.Region"
|
||||
"Request\032\".greptime.v1.region.RegionRespo"
|
||||
"nseB]\n\025io.greptime.v1.regionB\006ServerZ<gi"
|
||||
"thub.com/GreptimeTeam/greptime-proto/go/"
|
||||
"greptime/v1/regionb\006proto3"
|
||||
"sion\022H\n\026aligned_schema_version\030\004 \001(\0132(.g"
|
||||
"reptime.v1.region.AlignedSchemaVersionB\006"
|
||||
"\n\004body\".\n\024AlignedSchemaVersion\022\026\n\016schema"
|
||||
"_version\030\001 \001(\004\"1\n\020MitoManifestInfo\022\035\n\025da"
|
||||
"ta_manifest_version\030\001 \001(\004\"V\n\022MetricManif"
|
||||
"estInfo\022\035\n\025data_manifest_version\030\001 \001(\004\022!"
|
||||
"\n\031metadata_manifest_version\030\002 \001(\004\"\275\001\n\013Sy"
|
||||
"ncRequest\022\021\n\tregion_id\030\001 \001(\004\022B\n\022mito_man"
|
||||
"ifest_info\030\002 \001(\0132$.greptime.v1.region.Mi"
|
||||
"toManifestInfoH\000\022F\n\024metric_manifest_info"
|
||||
"\030\003 \001(\0132&.greptime.v1.region.MetricManife"
|
||||
"stInfoH\000B\017\n\rmanifest_info\")\n\023ListMetadat"
|
||||
"aRequest\022\022\n\nregion_ids\030\001 \003(\004\"&\n\021BuildInd"
|
||||
"exRequest\022\021\n\tregion_id\030\001 \001(\004\"\031\n\tFileMeta"
|
||||
"s\022\014\n\004data\030\001 \001(\014\"z\n\033ApplyStagingManifestR"
|
||||
"equest\022\021\n\tregion_id\030\001 \001(\004\022\026\n\016partition_e"
|
||||
"xpr\030\002 \001(\t\022\031\n\021central_region_id\030\003 \001(\004\022\025\n\r"
|
||||
"manifest_path\030\004 \001(\t\"\266\001\n\026RemoteDynFilterR"
|
||||
"equest\022\020\n\010query_id\030\001 \001(\t\022;\n\006update\030\002 \001(\013"
|
||||
"2).greptime.v1.region.RemoteDynFilterUpd"
|
||||
"ateH\000\022C\n\nunregister\030\003 \001(\0132-.greptime.v1."
|
||||
"region.RemoteDynFilterUnregisterH\000B\010\n\006ac"
|
||||
"tion\"d\n\025RemoteDynFilterUpdate\022\021\n\tfilter_"
|
||||
"id\030\001 \001(\t\022\017\n\007payload\030\002 \001(\014\022\022\n\ngeneration\030"
|
||||
"\003 \001(\004\022\023\n\013is_complete\030\004 \001(\010\".\n\031RemoteDynF"
|
||||
"ilterUnregister\022\021\n\tfilter_id\030\001 \001(\t2Y\n\006Re"
|
||||
"gion\022O\n\006Handle\022!.greptime.v1.region.Regi"
|
||||
"onRequest\032\".greptime.v1.region.RegionRes"
|
||||
"ponseB]\n\025io.greptime.v1.regionB\006ServerZ<"
|
||||
"github.com/GreptimeTeam/greptime-proto/g"
|
||||
"o/greptime/v1/regionb\006proto3"
|
||||
;
|
||||
static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_deps[4] = {
|
||||
&::descriptor_table_greptime_2fv1_2fcommon_2eproto,
|
||||
@@ -1276,9 +1303,9 @@ static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2freg
|
||||
};
|
||||
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_once;
|
||||
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto = {
|
||||
false, false, 5946, descriptor_table_protodef_greptime_2fv1_2fregion_2fserver_2eproto,
|
||||
false, false, 6068, descriptor_table_protodef_greptime_2fv1_2fregion_2fserver_2eproto,
|
||||
"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, 44,
|
||||
schemas, file_default_instances, TableStruct_greptime_2fv1_2fregion_2fserver_2eproto::offsets,
|
||||
file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto, file_level_enum_descriptors_greptime_2fv1_2fregion_2fserver_2eproto,
|
||||
file_level_service_descriptors_greptime_2fv1_2fregion_2fserver_2eproto,
|
||||
@@ -9784,6 +9811,7 @@ class BulkInsertRequest::_Internal {
|
||||
public:
|
||||
static const ::greptime::v1::ArrowIpc& arrow_ipc(const BulkInsertRequest* msg);
|
||||
static const ::greptime::v1::PartitionExprVersion& partition_expr_version(const BulkInsertRequest* msg);
|
||||
static const ::greptime::v1::region::AlignedSchemaVersion& aligned_schema_version(const BulkInsertRequest* msg);
|
||||
};
|
||||
|
||||
const ::greptime::v1::ArrowIpc&
|
||||
@@ -9794,6 +9822,10 @@ const ::greptime::v1::PartitionExprVersion&
|
||||
BulkInsertRequest::_Internal::partition_expr_version(const BulkInsertRequest* msg) {
|
||||
return *msg->_impl_.partition_expr_version_;
|
||||
}
|
||||
const ::greptime::v1::region::AlignedSchemaVersion&
|
||||
BulkInsertRequest::_Internal::aligned_schema_version(const BulkInsertRequest* msg) {
|
||||
return *msg->_impl_.aligned_schema_version_;
|
||||
}
|
||||
void BulkInsertRequest::set_allocated_arrow_ipc(::greptime::v1::ArrowIpc* arrow_ipc) {
|
||||
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||
clear_body();
|
||||
@@ -9835,6 +9867,7 @@ BulkInsertRequest::BulkInsertRequest(const BulkInsertRequest& from)
|
||||
BulkInsertRequest* const _this = this; (void)_this;
|
||||
new (&_impl_) Impl_{
|
||||
decltype(_impl_.partition_expr_version_){nullptr}
|
||||
, decltype(_impl_.aligned_schema_version_){nullptr}
|
||||
, decltype(_impl_.region_id_){}
|
||||
, decltype(_impl_.body_){}
|
||||
, /*decltype(_impl_._cached_size_)*/{}
|
||||
@@ -9844,6 +9877,9 @@ BulkInsertRequest::BulkInsertRequest(const BulkInsertRequest& from)
|
||||
if (from._internal_has_partition_expr_version()) {
|
||||
_this->_impl_.partition_expr_version_ = new ::greptime::v1::PartitionExprVersion(*from._impl_.partition_expr_version_);
|
||||
}
|
||||
if (from._internal_has_aligned_schema_version()) {
|
||||
_this->_impl_.aligned_schema_version_ = new ::greptime::v1::region::AlignedSchemaVersion(*from._impl_.aligned_schema_version_);
|
||||
}
|
||||
_this->_impl_.region_id_ = from._impl_.region_id_;
|
||||
clear_has_body();
|
||||
switch (from.body_case()) {
|
||||
@@ -9865,6 +9901,7 @@ inline void BulkInsertRequest::SharedCtor(
|
||||
(void)is_message_owned;
|
||||
new (&_impl_) Impl_{
|
||||
decltype(_impl_.partition_expr_version_){nullptr}
|
||||
, decltype(_impl_.aligned_schema_version_){nullptr}
|
||||
, decltype(_impl_.region_id_){uint64_t{0u}}
|
||||
, decltype(_impl_.body_){}
|
||||
, /*decltype(_impl_._cached_size_)*/{}
|
||||
@@ -9885,6 +9922,7 @@ BulkInsertRequest::~BulkInsertRequest() {
|
||||
inline void BulkInsertRequest::SharedDtor() {
|
||||
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
|
||||
if (this != internal_default_instance()) delete _impl_.partition_expr_version_;
|
||||
if (this != internal_default_instance()) delete _impl_.aligned_schema_version_;
|
||||
if (has_body()) {
|
||||
clear_body();
|
||||
}
|
||||
@@ -9921,6 +9959,10 @@ void BulkInsertRequest::Clear() {
|
||||
delete _impl_.partition_expr_version_;
|
||||
}
|
||||
_impl_.partition_expr_version_ = nullptr;
|
||||
if (GetArenaForAllocation() == nullptr && _impl_.aligned_schema_version_ != nullptr) {
|
||||
delete _impl_.aligned_schema_version_;
|
||||
}
|
||||
_impl_.aligned_schema_version_ = nullptr;
|
||||
_impl_.region_id_ = uint64_t{0u};
|
||||
clear_body();
|
||||
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
||||
@@ -9956,6 +9998,14 @@ const char* BulkInsertRequest::_InternalParse(const char* ptr, ::_pbi::ParseCont
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
// .greptime.v1.region.AlignedSchemaVersion aligned_schema_version = 4;
|
||||
case 4:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
|
||||
ptr = ctx->ParseMessage(_internal_mutable_aligned_schema_version(), ptr);
|
||||
CHK_(ptr);
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
default:
|
||||
goto handle_unusual;
|
||||
} // switch
|
||||
@@ -10005,6 +10055,13 @@ uint8_t* BulkInsertRequest::_InternalSerialize(
|
||||
_Internal::partition_expr_version(this).GetCachedSize(), target, stream);
|
||||
}
|
||||
|
||||
// .greptime.v1.region.AlignedSchemaVersion aligned_schema_version = 4;
|
||||
if (this->_internal_has_aligned_schema_version()) {
|
||||
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||
InternalWriteMessage(4, _Internal::aligned_schema_version(this),
|
||||
_Internal::aligned_schema_version(this).GetCachedSize(), target, stream);
|
||||
}
|
||||
|
||||
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
||||
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
||||
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
|
||||
@@ -10028,6 +10085,13 @@ size_t BulkInsertRequest::ByteSizeLong() const {
|
||||
*_impl_.partition_expr_version_);
|
||||
}
|
||||
|
||||
// .greptime.v1.region.AlignedSchemaVersion aligned_schema_version = 4;
|
||||
if (this->_internal_has_aligned_schema_version()) {
|
||||
total_size += 1 +
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
|
||||
*_impl_.aligned_schema_version_);
|
||||
}
|
||||
|
||||
// uint64 region_id = 1;
|
||||
if (this->_internal_region_id() != 0) {
|
||||
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_region_id());
|
||||
@@ -10067,6 +10131,10 @@ void BulkInsertRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, cons
|
||||
_this->_internal_mutable_partition_expr_version()->::greptime::v1::PartitionExprVersion::MergeFrom(
|
||||
from._internal_partition_expr_version());
|
||||
}
|
||||
if (from._internal_has_aligned_schema_version()) {
|
||||
_this->_internal_mutable_aligned_schema_version()->::greptime::v1::region::AlignedSchemaVersion::MergeFrom(
|
||||
from._internal_aligned_schema_version());
|
||||
}
|
||||
if (from._internal_region_id() != 0) {
|
||||
_this->_internal_set_region_id(from._internal_region_id());
|
||||
}
|
||||
@@ -10115,6 +10183,184 @@ void BulkInsertRequest::InternalSwap(BulkInsertRequest* other) {
|
||||
|
||||
// ===================================================================
|
||||
|
||||
class AlignedSchemaVersion::_Internal {
|
||||
public:
|
||||
};
|
||||
|
||||
AlignedSchemaVersion::AlignedSchemaVersion(::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.region.AlignedSchemaVersion)
|
||||
}
|
||||
AlignedSchemaVersion::AlignedSchemaVersion(const AlignedSchemaVersion& from)
|
||||
: ::PROTOBUF_NAMESPACE_ID::Message() {
|
||||
AlignedSchemaVersion* const _this = this; (void)_this;
|
||||
new (&_impl_) Impl_{
|
||||
decltype(_impl_.schema_version_){}
|
||||
, /*decltype(_impl_._cached_size_)*/{}};
|
||||
|
||||
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||
_this->_impl_.schema_version_ = from._impl_.schema_version_;
|
||||
// @@protoc_insertion_point(copy_constructor:greptime.v1.region.AlignedSchemaVersion)
|
||||
}
|
||||
|
||||
inline void AlignedSchemaVersion::SharedCtor(
|
||||
::_pb::Arena* arena, bool is_message_owned) {
|
||||
(void)arena;
|
||||
(void)is_message_owned;
|
||||
new (&_impl_) Impl_{
|
||||
decltype(_impl_.schema_version_){uint64_t{0u}}
|
||||
, /*decltype(_impl_._cached_size_)*/{}
|
||||
};
|
||||
}
|
||||
|
||||
AlignedSchemaVersion::~AlignedSchemaVersion() {
|
||||
// @@protoc_insertion_point(destructor:greptime.v1.region.AlignedSchemaVersion)
|
||||
if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
|
||||
(void)arena;
|
||||
return;
|
||||
}
|
||||
SharedDtor();
|
||||
}
|
||||
|
||||
inline void AlignedSchemaVersion::SharedDtor() {
|
||||
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
|
||||
}
|
||||
|
||||
void AlignedSchemaVersion::SetCachedSize(int size) const {
|
||||
_impl_._cached_size_.Set(size);
|
||||
}
|
||||
|
||||
void AlignedSchemaVersion::Clear() {
|
||||
// @@protoc_insertion_point(message_clear_start:greptime.v1.region.AlignedSchemaVersion)
|
||||
uint32_t cached_has_bits = 0;
|
||||
// Prevent compiler warnings about cached_has_bits being unused
|
||||
(void) cached_has_bits;
|
||||
|
||||
_impl_.schema_version_ = uint64_t{0u};
|
||||
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
||||
}
|
||||
|
||||
const char* AlignedSchemaVersion::_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) {
|
||||
// uint64 schema_version = 1;
|
||||
case 1:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
|
||||
_impl_.schema_version_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
|
||||
CHK_(ptr);
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
default:
|
||||
goto handle_unusual;
|
||||
} // switch
|
||||
handle_unusual:
|
||||
if ((tag == 0) || ((tag & 7) == 4)) {
|
||||
CHK_(ptr);
|
||||
ctx->SetLastTag(tag);
|
||||
goto message_done;
|
||||
}
|
||||
ptr = UnknownFieldParse(
|
||||
tag,
|
||||
_internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
|
||||
ptr, ctx);
|
||||
CHK_(ptr != nullptr);
|
||||
} // while
|
||||
message_done:
|
||||
return ptr;
|
||||
failure:
|
||||
ptr = nullptr;
|
||||
goto message_done;
|
||||
#undef CHK_
|
||||
}
|
||||
|
||||
uint8_t* AlignedSchemaVersion::_InternalSerialize(
|
||||
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
|
||||
// @@protoc_insertion_point(serialize_to_array_start:greptime.v1.region.AlignedSchemaVersion)
|
||||
uint32_t cached_has_bits = 0;
|
||||
(void) cached_has_bits;
|
||||
|
||||
// uint64 schema_version = 1;
|
||||
if (this->_internal_schema_version() != 0) {
|
||||
target = stream->EnsureSpace(target);
|
||||
target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_schema_version(), target);
|
||||
}
|
||||
|
||||
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
||||
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
||||
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
|
||||
}
|
||||
// @@protoc_insertion_point(serialize_to_array_end:greptime.v1.region.AlignedSchemaVersion)
|
||||
return target;
|
||||
}
|
||||
|
||||
size_t AlignedSchemaVersion::ByteSizeLong() const {
|
||||
// @@protoc_insertion_point(message_byte_size_start:greptime.v1.region.AlignedSchemaVersion)
|
||||
size_t total_size = 0;
|
||||
|
||||
uint32_t cached_has_bits = 0;
|
||||
// Prevent compiler warnings about cached_has_bits being unused
|
||||
(void) cached_has_bits;
|
||||
|
||||
// uint64 schema_version = 1;
|
||||
if (this->_internal_schema_version() != 0) {
|
||||
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_schema_version());
|
||||
}
|
||||
|
||||
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
||||
}
|
||||
|
||||
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AlignedSchemaVersion::_class_data_ = {
|
||||
::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
|
||||
AlignedSchemaVersion::MergeImpl
|
||||
};
|
||||
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AlignedSchemaVersion::GetClassData() const { return &_class_data_; }
|
||||
|
||||
|
||||
void AlignedSchemaVersion::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
|
||||
auto* const _this = static_cast<AlignedSchemaVersion*>(&to_msg);
|
||||
auto& from = static_cast<const AlignedSchemaVersion&>(from_msg);
|
||||
// @@protoc_insertion_point(class_specific_merge_from_start:greptime.v1.region.AlignedSchemaVersion)
|
||||
GOOGLE_DCHECK_NE(&from, _this);
|
||||
uint32_t cached_has_bits = 0;
|
||||
(void) cached_has_bits;
|
||||
|
||||
if (from._internal_schema_version() != 0) {
|
||||
_this->_internal_set_schema_version(from._internal_schema_version());
|
||||
}
|
||||
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||
}
|
||||
|
||||
void AlignedSchemaVersion::CopyFrom(const AlignedSchemaVersion& from) {
|
||||
// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.region.AlignedSchemaVersion)
|
||||
if (&from == this) return;
|
||||
Clear();
|
||||
MergeFrom(from);
|
||||
}
|
||||
|
||||
bool AlignedSchemaVersion::IsInitialized() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
void AlignedSchemaVersion::InternalSwap(AlignedSchemaVersion* other) {
|
||||
using std::swap;
|
||||
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
||||
swap(_impl_.schema_version_, other->_impl_.schema_version_);
|
||||
}
|
||||
|
||||
::PROTOBUF_NAMESPACE_ID::Metadata AlignedSchemaVersion::GetMetadata() const {
|
||||
return ::_pbi::AssignDescriptors(
|
||||
&descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_getter, &descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_once,
|
||||
file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[33]);
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
|
||||
class MitoManifestInfo::_Internal {
|
||||
public:
|
||||
};
|
||||
@@ -10288,7 +10534,7 @@ void MitoManifestInfo::InternalSwap(MitoManifestInfo* other) {
|
||||
::PROTOBUF_NAMESPACE_ID::Metadata MitoManifestInfo::GetMetadata() const {
|
||||
return ::_pbi::AssignDescriptors(
|
||||
&descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_getter, &descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_once,
|
||||
file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[33]);
|
||||
file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[34]);
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
@@ -10499,7 +10745,7 @@ void MetricManifestInfo::InternalSwap(MetricManifestInfo* other) {
|
||||
::PROTOBUF_NAMESPACE_ID::Metadata MetricManifestInfo::GetMetadata() const {
|
||||
return ::_pbi::AssignDescriptors(
|
||||
&descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_getter, &descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_once,
|
||||
file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[34]);
|
||||
file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[35]);
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
@@ -10831,7 +11077,7 @@ void SyncRequest::InternalSwap(SyncRequest* other) {
|
||||
::PROTOBUF_NAMESPACE_ID::Metadata SyncRequest::GetMetadata() const {
|
||||
return ::_pbi::AssignDescriptors(
|
||||
&descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_getter, &descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_once,
|
||||
file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[35]);
|
||||
file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[36]);
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
@@ -11024,7 +11270,7 @@ void ListMetadataRequest::InternalSwap(ListMetadataRequest* other) {
|
||||
::PROTOBUF_NAMESPACE_ID::Metadata ListMetadataRequest::GetMetadata() const {
|
||||
return ::_pbi::AssignDescriptors(
|
||||
&descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_getter, &descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_once,
|
||||
file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[36]);
|
||||
file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[37]);
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
@@ -11202,7 +11448,7 @@ void BuildIndexRequest::InternalSwap(BuildIndexRequest* other) {
|
||||
::PROTOBUF_NAMESPACE_ID::Metadata BuildIndexRequest::GetMetadata() const {
|
||||
return ::_pbi::AssignDescriptors(
|
||||
&descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_getter, &descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_once,
|
||||
file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[37]);
|
||||
file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[38]);
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
@@ -11400,7 +11646,7 @@ void FileMetas::InternalSwap(FileMetas* other) {
|
||||
::PROTOBUF_NAMESPACE_ID::Metadata FileMetas::GetMetadata() const {
|
||||
return ::_pbi::AssignDescriptors(
|
||||
&descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_getter, &descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_once,
|
||||
file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[38]);
|
||||
file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[39]);
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
@@ -11713,7 +11959,7 @@ void ApplyStagingManifestRequest::InternalSwap(ApplyStagingManifestRequest* othe
|
||||
::PROTOBUF_NAMESPACE_ID::Metadata ApplyStagingManifestRequest::GetMetadata() const {
|
||||
return ::_pbi::AssignDescriptors(
|
||||
&descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_getter, &descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_once,
|
||||
file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[39]);
|
||||
file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[40]);
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
@@ -12070,7 +12316,7 @@ void RemoteDynFilterRequest::InternalSwap(RemoteDynFilterRequest* other) {
|
||||
::PROTOBUF_NAMESPACE_ID::Metadata RemoteDynFilterRequest::GetMetadata() const {
|
||||
return ::_pbi::AssignDescriptors(
|
||||
&descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_getter, &descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_once,
|
||||
file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[40]);
|
||||
file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[41]);
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
@@ -12378,7 +12624,7 @@ void RemoteDynFilterUpdate::InternalSwap(RemoteDynFilterUpdate* other) {
|
||||
::PROTOBUF_NAMESPACE_ID::Metadata RemoteDynFilterUpdate::GetMetadata() const {
|
||||
return ::_pbi::AssignDescriptors(
|
||||
&descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_getter, &descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_once,
|
||||
file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[41]);
|
||||
file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[42]);
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
@@ -12581,7 +12827,7 @@ void RemoteDynFilterUnregister::InternalSwap(RemoteDynFilterUnregister* other) {
|
||||
::PROTOBUF_NAMESPACE_ID::Metadata RemoteDynFilterUnregister::GetMetadata() const {
|
||||
return ::_pbi::AssignDescriptors(
|
||||
&descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_getter, &descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_once,
|
||||
file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[42]);
|
||||
file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[43]);
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(namespace_scope)
|
||||
@@ -12721,6 +12967,10 @@ template<> PROTOBUF_NOINLINE ::greptime::v1::region::BulkInsertRequest*
|
||||
Arena::CreateMaybeMessage< ::greptime::v1::region::BulkInsertRequest >(Arena* arena) {
|
||||
return Arena::CreateMessageInternal< ::greptime::v1::region::BulkInsertRequest >(arena);
|
||||
}
|
||||
template<> PROTOBUF_NOINLINE ::greptime::v1::region::AlignedSchemaVersion*
|
||||
Arena::CreateMaybeMessage< ::greptime::v1::region::AlignedSchemaVersion >(Arena* arena) {
|
||||
return Arena::CreateMessageInternal< ::greptime::v1::region::AlignedSchemaVersion >(arena);
|
||||
}
|
||||
template<> PROTOBUF_NOINLINE ::greptime::v1::region::MitoManifestInfo*
|
||||
Arena::CreateMaybeMessage< ::greptime::v1::region::MitoManifestInfo >(Arena* arena) {
|
||||
return Arena::CreateMessageInternal< ::greptime::v1::region::MitoManifestInfo >(arena);
|
||||
|
||||
@@ -61,6 +61,9 @@ extern AddColumnDefaultTypeInternal _AddColumn_default_instance_;
|
||||
class AddColumns;
|
||||
struct AddColumnsDefaultTypeInternal;
|
||||
extern AddColumnsDefaultTypeInternal _AddColumns_default_instance_;
|
||||
class AlignedSchemaVersion;
|
||||
struct AlignedSchemaVersionDefaultTypeInternal;
|
||||
extern AlignedSchemaVersionDefaultTypeInternal _AlignedSchemaVersion_default_instance_;
|
||||
class All;
|
||||
struct AllDefaultTypeInternal;
|
||||
extern AllDefaultTypeInternal _All_default_instance_;
|
||||
@@ -190,6 +193,7 @@ extern TruncateRequestDefaultTypeInternal _TruncateRequest_default_instance_;
|
||||
PROTOBUF_NAMESPACE_OPEN
|
||||
template<> ::greptime::v1::region::AddColumn* Arena::CreateMaybeMessage<::greptime::v1::region::AddColumn>(Arena*);
|
||||
template<> ::greptime::v1::region::AddColumns* Arena::CreateMaybeMessage<::greptime::v1::region::AddColumns>(Arena*);
|
||||
template<> ::greptime::v1::region::AlignedSchemaVersion* Arena::CreateMaybeMessage<::greptime::v1::region::AlignedSchemaVersion>(Arena*);
|
||||
template<> ::greptime::v1::region::All* Arena::CreateMaybeMessage<::greptime::v1::region::All>(Arena*);
|
||||
template<> ::greptime::v1::region::AlterRequest* Arena::CreateMaybeMessage<::greptime::v1::region::AlterRequest>(Arena*);
|
||||
template<> ::greptime::v1::region::AlterRequests* Arena::CreateMaybeMessage<::greptime::v1::region::AlterRequests>(Arena*);
|
||||
@@ -6000,6 +6004,7 @@ class BulkInsertRequest final :
|
||||
|
||||
enum : int {
|
||||
kPartitionExprVersionFieldNumber = 3,
|
||||
kAlignedSchemaVersionFieldNumber = 4,
|
||||
kRegionIdFieldNumber = 1,
|
||||
kArrowIpcFieldNumber = 2,
|
||||
};
|
||||
@@ -6021,6 +6026,24 @@ class BulkInsertRequest final :
|
||||
::greptime::v1::PartitionExprVersion* partition_expr_version);
|
||||
::greptime::v1::PartitionExprVersion* unsafe_arena_release_partition_expr_version();
|
||||
|
||||
// .greptime.v1.region.AlignedSchemaVersion aligned_schema_version = 4;
|
||||
bool has_aligned_schema_version() const;
|
||||
private:
|
||||
bool _internal_has_aligned_schema_version() const;
|
||||
public:
|
||||
void clear_aligned_schema_version();
|
||||
const ::greptime::v1::region::AlignedSchemaVersion& aligned_schema_version() const;
|
||||
PROTOBUF_NODISCARD ::greptime::v1::region::AlignedSchemaVersion* release_aligned_schema_version();
|
||||
::greptime::v1::region::AlignedSchemaVersion* mutable_aligned_schema_version();
|
||||
void set_allocated_aligned_schema_version(::greptime::v1::region::AlignedSchemaVersion* aligned_schema_version);
|
||||
private:
|
||||
const ::greptime::v1::region::AlignedSchemaVersion& _internal_aligned_schema_version() const;
|
||||
::greptime::v1::region::AlignedSchemaVersion* _internal_mutable_aligned_schema_version();
|
||||
public:
|
||||
void unsafe_arena_set_allocated_aligned_schema_version(
|
||||
::greptime::v1::region::AlignedSchemaVersion* aligned_schema_version);
|
||||
::greptime::v1::region::AlignedSchemaVersion* unsafe_arena_release_aligned_schema_version();
|
||||
|
||||
// uint64 region_id = 1;
|
||||
void clear_region_id();
|
||||
uint64_t region_id() const;
|
||||
@@ -6063,6 +6086,7 @@ class BulkInsertRequest final :
|
||||
typedef void DestructorSkippable_;
|
||||
struct Impl_ {
|
||||
::greptime::v1::PartitionExprVersion* partition_expr_version_;
|
||||
::greptime::v1::region::AlignedSchemaVersion* aligned_schema_version_;
|
||||
uint64_t region_id_;
|
||||
union BodyUnion {
|
||||
constexpr BodyUnion() : _constinit_{} {}
|
||||
@@ -6078,6 +6102,154 @@ class BulkInsertRequest final :
|
||||
};
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
class AlignedSchemaVersion final :
|
||||
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.region.AlignedSchemaVersion) */ {
|
||||
public:
|
||||
inline AlignedSchemaVersion() : AlignedSchemaVersion(nullptr) {}
|
||||
~AlignedSchemaVersion() override;
|
||||
explicit PROTOBUF_CONSTEXPR AlignedSchemaVersion(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
||||
|
||||
AlignedSchemaVersion(const AlignedSchemaVersion& from);
|
||||
AlignedSchemaVersion(AlignedSchemaVersion&& from) noexcept
|
||||
: AlignedSchemaVersion() {
|
||||
*this = ::std::move(from);
|
||||
}
|
||||
|
||||
inline AlignedSchemaVersion& operator=(const AlignedSchemaVersion& from) {
|
||||
CopyFrom(from);
|
||||
return *this;
|
||||
}
|
||||
inline AlignedSchemaVersion& operator=(AlignedSchemaVersion&& 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 AlignedSchemaVersion& default_instance() {
|
||||
return *internal_default_instance();
|
||||
}
|
||||
static inline const AlignedSchemaVersion* internal_default_instance() {
|
||||
return reinterpret_cast<const AlignedSchemaVersion*>(
|
||||
&_AlignedSchemaVersion_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
33;
|
||||
|
||||
friend void swap(AlignedSchemaVersion& a, AlignedSchemaVersion& b) {
|
||||
a.Swap(&b);
|
||||
}
|
||||
inline void Swap(AlignedSchemaVersion* 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(AlignedSchemaVersion* other) {
|
||||
if (other == this) return;
|
||||
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
||||
InternalSwap(other);
|
||||
}
|
||||
|
||||
// implements Message ----------------------------------------------
|
||||
|
||||
AlignedSchemaVersion* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
||||
return CreateMaybeMessage<AlignedSchemaVersion>(arena);
|
||||
}
|
||||
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
||||
void CopyFrom(const AlignedSchemaVersion& from);
|
||||
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
||||
void MergeFrom( const AlignedSchemaVersion& from) {
|
||||
AlignedSchemaVersion::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(AlignedSchemaVersion* other);
|
||||
|
||||
private:
|
||||
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
||||
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
||||
return "greptime.v1.region.AlignedSchemaVersion";
|
||||
}
|
||||
protected:
|
||||
explicit AlignedSchemaVersion(::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 {
|
||||
kSchemaVersionFieldNumber = 1,
|
||||
};
|
||||
// uint64 schema_version = 1;
|
||||
void clear_schema_version();
|
||||
uint64_t schema_version() const;
|
||||
void set_schema_version(uint64_t value);
|
||||
private:
|
||||
uint64_t _internal_schema_version() const;
|
||||
void _internal_set_schema_version(uint64_t value);
|
||||
public:
|
||||
|
||||
// @@protoc_insertion_point(class_scope:greptime.v1.region.AlignedSchemaVersion)
|
||||
private:
|
||||
class _Internal;
|
||||
|
||||
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
||||
typedef void InternalArenaConstructable_;
|
||||
typedef void DestructorSkippable_;
|
||||
struct Impl_ {
|
||||
uint64_t schema_version_;
|
||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||
};
|
||||
union { Impl_ _impl_; };
|
||||
friend struct ::TableStruct_greptime_2fv1_2fregion_2fserver_2eproto;
|
||||
};
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
class MitoManifestInfo final :
|
||||
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.region.MitoManifestInfo) */ {
|
||||
public:
|
||||
@@ -6126,7 +6298,7 @@ class MitoManifestInfo final :
|
||||
&_MitoManifestInfo_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
33;
|
||||
34;
|
||||
|
||||
friend void swap(MitoManifestInfo& a, MitoManifestInfo& b) {
|
||||
a.Swap(&b);
|
||||
@@ -6274,7 +6446,7 @@ class MetricManifestInfo final :
|
||||
&_MetricManifestInfo_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
34;
|
||||
35;
|
||||
|
||||
friend void swap(MetricManifestInfo& a, MetricManifestInfo& b) {
|
||||
a.Swap(&b);
|
||||
@@ -6439,7 +6611,7 @@ class SyncRequest final :
|
||||
&_SyncRequest_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
35;
|
||||
36;
|
||||
|
||||
friend void swap(SyncRequest& a, SyncRequest& b) {
|
||||
a.Swap(&b);
|
||||
@@ -6640,7 +6812,7 @@ class ListMetadataRequest final :
|
||||
&_ListMetadataRequest_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
36;
|
||||
37;
|
||||
|
||||
friend void swap(ListMetadataRequest& a, ListMetadataRequest& b) {
|
||||
a.Swap(&b);
|
||||
@@ -6802,7 +6974,7 @@ class BuildIndexRequest final :
|
||||
&_BuildIndexRequest_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
37;
|
||||
38;
|
||||
|
||||
friend void swap(BuildIndexRequest& a, BuildIndexRequest& b) {
|
||||
a.Swap(&b);
|
||||
@@ -6950,7 +7122,7 @@ class FileMetas final :
|
||||
&_FileMetas_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
38;
|
||||
39;
|
||||
|
||||
friend void swap(FileMetas& a, FileMetas& b) {
|
||||
a.Swap(&b);
|
||||
@@ -7103,7 +7275,7 @@ class ApplyStagingManifestRequest final :
|
||||
&_ApplyStagingManifestRequest_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
39;
|
||||
40;
|
||||
|
||||
friend void swap(ApplyStagingManifestRequest& a, ApplyStagingManifestRequest& b) {
|
||||
a.Swap(&b);
|
||||
@@ -7300,7 +7472,7 @@ class RemoteDynFilterRequest final :
|
||||
&_RemoteDynFilterRequest_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
40;
|
||||
41;
|
||||
|
||||
friend void swap(RemoteDynFilterRequest& a, RemoteDynFilterRequest& b) {
|
||||
a.Swap(&b);
|
||||
@@ -7506,7 +7678,7 @@ class RemoteDynFilterUpdate final :
|
||||
&_RemoteDynFilterUpdate_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
41;
|
||||
42;
|
||||
|
||||
friend void swap(RemoteDynFilterUpdate& a, RemoteDynFilterUpdate& b) {
|
||||
a.Swap(&b);
|
||||
@@ -7697,7 +7869,7 @@ class RemoteDynFilterUnregister final :
|
||||
&_RemoteDynFilterUnregister_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
42;
|
||||
43;
|
||||
|
||||
friend void swap(RemoteDynFilterUnregister& a, RemoteDynFilterUnregister& b) {
|
||||
a.Swap(&b);
|
||||
@@ -13006,6 +13178,96 @@ inline void BulkInsertRequest::set_allocated_partition_expr_version(::greptime::
|
||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.region.BulkInsertRequest.partition_expr_version)
|
||||
}
|
||||
|
||||
// .greptime.v1.region.AlignedSchemaVersion aligned_schema_version = 4;
|
||||
inline bool BulkInsertRequest::_internal_has_aligned_schema_version() const {
|
||||
return this != internal_default_instance() && _impl_.aligned_schema_version_ != nullptr;
|
||||
}
|
||||
inline bool BulkInsertRequest::has_aligned_schema_version() const {
|
||||
return _internal_has_aligned_schema_version();
|
||||
}
|
||||
inline void BulkInsertRequest::clear_aligned_schema_version() {
|
||||
if (GetArenaForAllocation() == nullptr && _impl_.aligned_schema_version_ != nullptr) {
|
||||
delete _impl_.aligned_schema_version_;
|
||||
}
|
||||
_impl_.aligned_schema_version_ = nullptr;
|
||||
}
|
||||
inline const ::greptime::v1::region::AlignedSchemaVersion& BulkInsertRequest::_internal_aligned_schema_version() const {
|
||||
const ::greptime::v1::region::AlignedSchemaVersion* p = _impl_.aligned_schema_version_;
|
||||
return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::region::AlignedSchemaVersion&>(
|
||||
::greptime::v1::region::_AlignedSchemaVersion_default_instance_);
|
||||
}
|
||||
inline const ::greptime::v1::region::AlignedSchemaVersion& 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::unsafe_arena_set_allocated_aligned_schema_version(
|
||||
::greptime::v1::region::AlignedSchemaVersion* aligned_schema_version) {
|
||||
if (GetArenaForAllocation() == nullptr) {
|
||||
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.aligned_schema_version_);
|
||||
}
|
||||
_impl_.aligned_schema_version_ = aligned_schema_version;
|
||||
if (aligned_schema_version) {
|
||||
|
||||
} else {
|
||||
|
||||
}
|
||||
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.region.BulkInsertRequest.aligned_schema_version)
|
||||
}
|
||||
inline ::greptime::v1::region::AlignedSchemaVersion* BulkInsertRequest::release_aligned_schema_version() {
|
||||
|
||||
::greptime::v1::region::AlignedSchemaVersion* temp = _impl_.aligned_schema_version_;
|
||||
_impl_.aligned_schema_version_ = nullptr;
|
||||
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
|
||||
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
|
||||
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
||||
if (GetArenaForAllocation() == nullptr) { delete old; }
|
||||
#else // PROTOBUF_FORCE_COPY_IN_RELEASE
|
||||
if (GetArenaForAllocation() != nullptr) {
|
||||
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
||||
}
|
||||
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
|
||||
return temp;
|
||||
}
|
||||
inline ::greptime::v1::region::AlignedSchemaVersion* BulkInsertRequest::unsafe_arena_release_aligned_schema_version() {
|
||||
// @@protoc_insertion_point(field_release:greptime.v1.region.BulkInsertRequest.aligned_schema_version)
|
||||
|
||||
::greptime::v1::region::AlignedSchemaVersion* temp = _impl_.aligned_schema_version_;
|
||||
_impl_.aligned_schema_version_ = nullptr;
|
||||
return temp;
|
||||
}
|
||||
inline ::greptime::v1::region::AlignedSchemaVersion* BulkInsertRequest::_internal_mutable_aligned_schema_version() {
|
||||
|
||||
if (_impl_.aligned_schema_version_ == nullptr) {
|
||||
auto* p = CreateMaybeMessage<::greptime::v1::region::AlignedSchemaVersion>(GetArenaForAllocation());
|
||||
_impl_.aligned_schema_version_ = p;
|
||||
}
|
||||
return _impl_.aligned_schema_version_;
|
||||
}
|
||||
inline ::greptime::v1::region::AlignedSchemaVersion* BulkInsertRequest::mutable_aligned_schema_version() {
|
||||
::greptime::v1::region::AlignedSchemaVersion* _msg = _internal_mutable_aligned_schema_version();
|
||||
// @@protoc_insertion_point(field_mutable:greptime.v1.region.BulkInsertRequest.aligned_schema_version)
|
||||
return _msg;
|
||||
}
|
||||
inline void BulkInsertRequest::set_allocated_aligned_schema_version(::greptime::v1::region::AlignedSchemaVersion* aligned_schema_version) {
|
||||
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||
if (message_arena == nullptr) {
|
||||
delete _impl_.aligned_schema_version_;
|
||||
}
|
||||
if (aligned_schema_version) {
|
||||
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
||||
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(aligned_schema_version);
|
||||
if (message_arena != submessage_arena) {
|
||||
aligned_schema_version = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
||||
message_arena, aligned_schema_version, submessage_arena);
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
}
|
||||
_impl_.aligned_schema_version_ = aligned_schema_version;
|
||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.region.BulkInsertRequest.aligned_schema_version)
|
||||
}
|
||||
|
||||
inline bool BulkInsertRequest::has_body() const {
|
||||
return body_case() != BODY_NOT_SET;
|
||||
}
|
||||
@@ -13017,6 +13279,30 @@ inline BulkInsertRequest::BodyCase BulkInsertRequest::body_case() const {
|
||||
}
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// AlignedSchemaVersion
|
||||
|
||||
// uint64 schema_version = 1;
|
||||
inline void AlignedSchemaVersion::clear_schema_version() {
|
||||
_impl_.schema_version_ = uint64_t{0u};
|
||||
}
|
||||
inline uint64_t AlignedSchemaVersion::_internal_schema_version() const {
|
||||
return _impl_.schema_version_;
|
||||
}
|
||||
inline uint64_t AlignedSchemaVersion::schema_version() const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.region.AlignedSchemaVersion.schema_version)
|
||||
return _internal_schema_version();
|
||||
}
|
||||
inline void AlignedSchemaVersion::_internal_set_schema_version(uint64_t value) {
|
||||
|
||||
_impl_.schema_version_ = value;
|
||||
}
|
||||
inline void AlignedSchemaVersion::set_schema_version(uint64_t value) {
|
||||
_internal_set_schema_version(value);
|
||||
// @@protoc_insertion_point(field_set:greptime.v1.region.AlignedSchemaVersion.schema_version)
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// MitoManifestInfo
|
||||
|
||||
// uint64 data_manifest_version = 1;
|
||||
@@ -14033,6 +14319,8 @@ inline void RemoteDynFilterUnregister::set_allocated_filter_id(std::string* filt
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
|
||||
// @@protoc_insertion_point(namespace_scope)
|
||||
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
FROM rust:1.88.0-bookworm AS rust
|
||||
|
||||
FROM namely/protoc-all:1.51_2
|
||||
|
||||
COPY --from=rust /usr/local/cargo /usr/local/cargo
|
||||
COPY --from=rust /usr/local/rustup /usr/local/rustup
|
||||
|
||||
ENV CARGO_HOME=/usr/local/cargo
|
||||
ENV RUSTUP_HOME=/usr/local/rustup
|
||||
ENV PATH=/usr/local/cargo/bin:${PATH}
|
||||
|
||||
RUN rm -f /etc/apt/sources.list.d/nodesource.list \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y --no-install-recommends build-essential \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& rustc --version \
|
||||
&& cargo --version \
|
||||
&& protoc --version \
|
||||
&& chmod -R a+rwX /usr/local/cargo /usr/local/rustup
|
||||
+281
-202
@@ -2158,6 +2158,7 @@ type BulkInsertRequest struct {
|
||||
// *BulkInsertRequest_ArrowIpc
|
||||
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"`
|
||||
AlignedSchemaVersion *AlignedSchemaVersion `protobuf:"bytes,4,opt,name=aligned_schema_version,json=alignedSchemaVersion,proto3" json:"aligned_schema_version,omitempty"`
|
||||
}
|
||||
|
||||
func (x *BulkInsertRequest) Reset() {
|
||||
@@ -2220,6 +2221,13 @@ func (x *BulkInsertRequest) GetPartitionExprVersion() *v1.PartitionExprVersion {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *BulkInsertRequest) GetAlignedSchemaVersion() *AlignedSchemaVersion {
|
||||
if x != nil {
|
||||
return x.AlignedSchemaVersion
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type isBulkInsertRequest_Body interface {
|
||||
isBulkInsertRequest_Body()
|
||||
}
|
||||
@@ -2230,6 +2238,53 @@ type BulkInsertRequest_ArrowIpc struct {
|
||||
|
||||
func (*BulkInsertRequest_ArrowIpc) isBulkInsertRequest_Body() {}
|
||||
|
||||
type AlignedSchemaVersion struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
SchemaVersion uint64 `protobuf:"varint,1,opt,name=schema_version,json=schemaVersion,proto3" json:"schema_version,omitempty"`
|
||||
}
|
||||
|
||||
func (x *AlignedSchemaVersion) Reset() {
|
||||
*x = AlignedSchemaVersion{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[29]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *AlignedSchemaVersion) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*AlignedSchemaVersion) ProtoMessage() {}
|
||||
|
||||
func (x *AlignedSchemaVersion) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[29]
|
||||
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 AlignedSchemaVersion.ProtoReflect.Descriptor instead.
|
||||
func (*AlignedSchemaVersion) Descriptor() ([]byte, []int) {
|
||||
return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{29}
|
||||
}
|
||||
|
||||
func (x *AlignedSchemaVersion) GetSchemaVersion() uint64 {
|
||||
if x != nil {
|
||||
return x.SchemaVersion
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// Manifest info for mito engine.
|
||||
type MitoManifestInfo struct {
|
||||
state protoimpl.MessageState
|
||||
@@ -2242,7 +2297,7 @@ type MitoManifestInfo struct {
|
||||
func (x *MitoManifestInfo) Reset() {
|
||||
*x = MitoManifestInfo{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[29]
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[30]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -2255,7 +2310,7 @@ func (x *MitoManifestInfo) String() string {
|
||||
func (*MitoManifestInfo) ProtoMessage() {}
|
||||
|
||||
func (x *MitoManifestInfo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[29]
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[30]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -2268,7 +2323,7 @@ func (x *MitoManifestInfo) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use MitoManifestInfo.ProtoReflect.Descriptor instead.
|
||||
func (*MitoManifestInfo) Descriptor() ([]byte, []int) {
|
||||
return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{29}
|
||||
return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{30}
|
||||
}
|
||||
|
||||
func (x *MitoManifestInfo) GetDataManifestVersion() uint64 {
|
||||
@@ -2291,7 +2346,7 @@ type MetricManifestInfo struct {
|
||||
func (x *MetricManifestInfo) Reset() {
|
||||
*x = MetricManifestInfo{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[30]
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[31]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -2304,7 +2359,7 @@ func (x *MetricManifestInfo) String() string {
|
||||
func (*MetricManifestInfo) ProtoMessage() {}
|
||||
|
||||
func (x *MetricManifestInfo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[30]
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[31]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -2317,7 +2372,7 @@ func (x *MetricManifestInfo) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use MetricManifestInfo.ProtoReflect.Descriptor instead.
|
||||
func (*MetricManifestInfo) Descriptor() ([]byte, []int) {
|
||||
return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{30}
|
||||
return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{31}
|
||||
}
|
||||
|
||||
func (x *MetricManifestInfo) GetDataManifestVersion() uint64 {
|
||||
@@ -2351,7 +2406,7 @@ type SyncRequest struct {
|
||||
func (x *SyncRequest) Reset() {
|
||||
*x = SyncRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[31]
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[32]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -2364,7 +2419,7 @@ func (x *SyncRequest) String() string {
|
||||
func (*SyncRequest) ProtoMessage() {}
|
||||
|
||||
func (x *SyncRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[31]
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[32]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -2377,7 +2432,7 @@ func (x *SyncRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use SyncRequest.ProtoReflect.Descriptor instead.
|
||||
func (*SyncRequest) Descriptor() ([]byte, []int) {
|
||||
return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{31}
|
||||
return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{32}
|
||||
}
|
||||
|
||||
func (x *SyncRequest) GetRegionId() uint64 {
|
||||
@@ -2436,7 +2491,7 @@ type ListMetadataRequest struct {
|
||||
func (x *ListMetadataRequest) Reset() {
|
||||
*x = ListMetadataRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[32]
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[33]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -2449,7 +2504,7 @@ func (x *ListMetadataRequest) String() string {
|
||||
func (*ListMetadataRequest) ProtoMessage() {}
|
||||
|
||||
func (x *ListMetadataRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[32]
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[33]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -2462,7 +2517,7 @@ func (x *ListMetadataRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ListMetadataRequest.ProtoReflect.Descriptor instead.
|
||||
func (*ListMetadataRequest) Descriptor() ([]byte, []int) {
|
||||
return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{32}
|
||||
return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{33}
|
||||
}
|
||||
|
||||
func (x *ListMetadataRequest) GetRegionIds() []uint64 {
|
||||
@@ -2483,7 +2538,7 @@ type BuildIndexRequest struct {
|
||||
func (x *BuildIndexRequest) Reset() {
|
||||
*x = BuildIndexRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[33]
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[34]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -2496,7 +2551,7 @@ func (x *BuildIndexRequest) String() string {
|
||||
func (*BuildIndexRequest) ProtoMessage() {}
|
||||
|
||||
func (x *BuildIndexRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[33]
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[34]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -2509,7 +2564,7 @@ func (x *BuildIndexRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use BuildIndexRequest.ProtoReflect.Descriptor instead.
|
||||
func (*BuildIndexRequest) Descriptor() ([]byte, []int) {
|
||||
return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{33}
|
||||
return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{34}
|
||||
}
|
||||
|
||||
func (x *BuildIndexRequest) GetRegionId() uint64 {
|
||||
@@ -2532,7 +2587,7 @@ type FileMetas struct {
|
||||
func (x *FileMetas) Reset() {
|
||||
*x = FileMetas{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[34]
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[35]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -2545,7 +2600,7 @@ func (x *FileMetas) String() string {
|
||||
func (*FileMetas) ProtoMessage() {}
|
||||
|
||||
func (x *FileMetas) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[34]
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[35]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -2558,7 +2613,7 @@ func (x *FileMetas) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use FileMetas.ProtoReflect.Descriptor instead.
|
||||
func (*FileMetas) Descriptor() ([]byte, []int) {
|
||||
return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{34}
|
||||
return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{35}
|
||||
}
|
||||
|
||||
func (x *FileMetas) GetData() []byte {
|
||||
@@ -2587,7 +2642,7 @@ type ApplyStagingManifestRequest struct {
|
||||
func (x *ApplyStagingManifestRequest) Reset() {
|
||||
*x = ApplyStagingManifestRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[35]
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[36]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -2600,7 +2655,7 @@ func (x *ApplyStagingManifestRequest) String() string {
|
||||
func (*ApplyStagingManifestRequest) ProtoMessage() {}
|
||||
|
||||
func (x *ApplyStagingManifestRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[35]
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[36]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -2613,7 +2668,7 @@ func (x *ApplyStagingManifestRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ApplyStagingManifestRequest.ProtoReflect.Descriptor instead.
|
||||
func (*ApplyStagingManifestRequest) Descriptor() ([]byte, []int) {
|
||||
return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{35}
|
||||
return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{36}
|
||||
}
|
||||
|
||||
func (x *ApplyStagingManifestRequest) GetRegionId() uint64 {
|
||||
@@ -2660,7 +2715,7 @@ type RemoteDynFilterRequest struct {
|
||||
func (x *RemoteDynFilterRequest) Reset() {
|
||||
*x = RemoteDynFilterRequest{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[36]
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[37]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -2673,7 +2728,7 @@ func (x *RemoteDynFilterRequest) String() string {
|
||||
func (*RemoteDynFilterRequest) ProtoMessage() {}
|
||||
|
||||
func (x *RemoteDynFilterRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[36]
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[37]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -2686,7 +2741,7 @@ func (x *RemoteDynFilterRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use RemoteDynFilterRequest.ProtoReflect.Descriptor instead.
|
||||
func (*RemoteDynFilterRequest) Descriptor() ([]byte, []int) {
|
||||
return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{36}
|
||||
return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{37}
|
||||
}
|
||||
|
||||
func (x *RemoteDynFilterRequest) GetQueryId() string {
|
||||
@@ -2747,7 +2802,7 @@ type RemoteDynFilterUpdate struct {
|
||||
func (x *RemoteDynFilterUpdate) Reset() {
|
||||
*x = RemoteDynFilterUpdate{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[37]
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[38]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -2760,7 +2815,7 @@ func (x *RemoteDynFilterUpdate) String() string {
|
||||
func (*RemoteDynFilterUpdate) ProtoMessage() {}
|
||||
|
||||
func (x *RemoteDynFilterUpdate) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[37]
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[38]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -2773,7 +2828,7 @@ func (x *RemoteDynFilterUpdate) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use RemoteDynFilterUpdate.ProtoReflect.Descriptor instead.
|
||||
func (*RemoteDynFilterUpdate) Descriptor() ([]byte, []int) {
|
||||
return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{37}
|
||||
return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{38}
|
||||
}
|
||||
|
||||
func (x *RemoteDynFilterUpdate) GetFilterId() string {
|
||||
@@ -2815,7 +2870,7 @@ type RemoteDynFilterUnregister struct {
|
||||
func (x *RemoteDynFilterUnregister) Reset() {
|
||||
*x = RemoteDynFilterUnregister{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[38]
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[39]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -2828,7 +2883,7 @@ func (x *RemoteDynFilterUnregister) String() string {
|
||||
func (*RemoteDynFilterUnregister) ProtoMessage() {}
|
||||
|
||||
func (x *RemoteDynFilterUnregister) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[38]
|
||||
mi := &file_greptime_v1_region_server_proto_msgTypes[39]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -2841,7 +2896,7 @@ func (x *RemoteDynFilterUnregister) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use RemoteDynFilterUnregister.ProtoReflect.Descriptor instead.
|
||||
func (*RemoteDynFilterUnregister) Descriptor() ([]byte, []int) {
|
||||
return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{38}
|
||||
return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{39}
|
||||
}
|
||||
|
||||
func (x *RemoteDynFilterUnregister) GetFilterId() string {
|
||||
@@ -3210,7 +3265,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,
|
||||
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,
|
||||
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, 0xa7, 0x02, 0x0a, 0x11, 0x42, 0x75,
|
||||
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,
|
||||
0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x34, 0x0a, 0x09,
|
||||
@@ -3222,94 +3277,104 @@ 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,
|
||||
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,
|
||||
0x45, 0x78, 0x70, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x06, 0x0a, 0x04, 0x62,
|
||||
0x6f, 0x64, 0x79, 0x22, 0x46, 0x0a, 0x10, 0x4d, 0x69, 0x74, 0x6f, 0x4d, 0x61, 0x6e, 0x69, 0x66,
|
||||
0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x32, 0x0a, 0x15, 0x64, 0x61, 0x74, 0x61, 0x5f,
|
||||
0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, 0x64, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x6e, 0x69,
|
||||
0x66, 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x84, 0x01, 0x0a, 0x12,
|
||||
0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e,
|
||||
0x66, 0x6f, 0x12, 0x32, 0x0a, 0x15, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66,
|
||||
0x65, 0x73, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x04, 0x52, 0x13, 0x64, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x56,
|
||||
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3a, 0x0a, 0x19, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61,
|
||||
0x74, 0x61, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73,
|
||||
0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x17, 0x6d, 0x65, 0x74, 0x61, 0x64,
|
||||
0x61, 0x74, 0x61, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69,
|
||||
0x6f, 0x6e, 0x22, 0xed, 0x01, 0x0a, 0x0b, 0x53, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x12, 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,
|
||||
0x54, 0x0a, 0x12, 0x6d, 0x69, 0x74, 0x6f, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74,
|
||||
0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72,
|
||||
0x45, 0x78, 0x70, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x5e, 0x0a, 0x16, 0x61,
|
||||
0x6c, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x76, 0x65,
|
||||
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x72,
|
||||
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e,
|
||||
0x2e, 0x4d, 0x69, 0x74, 0x6f, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66,
|
||||
0x6f, 0x48, 0x00, 0x52, 0x10, 0x6d, 0x69, 0x74, 0x6f, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73,
|
||||
0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5a, 0x0a, 0x14, 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, 0x6f, 0x48, 0x00, 0x52, 0x12, 0x6d,
|
||||
0x2e, 0x41, 0x6c, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x56, 0x65,
|
||||
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x14, 0x61, 0x6c, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x53, 0x63,
|
||||
0x68, 0x65, 0x6d, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x06, 0x0a, 0x04, 0x62,
|
||||
0x6f, 0x64, 0x79, 0x22, 0x3d, 0x0a, 0x14, 0x41, 0x6c, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x53, 0x63,
|
||||
0x68, 0x65, 0x6d, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x73,
|
||||
0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x04, 0x52, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69,
|
||||
0x6f, 0x6e, 0x22, 0x46, 0x0a, 0x10, 0x4d, 0x69, 0x74, 0x6f, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65,
|
||||
0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x32, 0x0a, 0x15, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6d,
|
||||
0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, 0x64, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x6e, 0x69, 0x66,
|
||||
0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x84, 0x01, 0x0a, 0x12, 0x4d,
|
||||
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,
|
||||
0x66, 0x6f, 0x22, 0x34, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
|
||||
0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x67,
|
||||
0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, 0x52, 0x09, 0x72,
|
||||
0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x22, 0x30, 0x0a, 0x11, 0x42, 0x75, 0x69, 0x6c,
|
||||
0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 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, 0x22, 0x1f, 0x0a, 0x09, 0x46, 0x69,
|
||||
0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xb2, 0x01, 0x0a, 0x1b,
|
||||
0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x4d, 0x61, 0x6e, 0x69,
|
||||
0x66, 0x65, 0x73, 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, 0x28, 0x04, 0x52, 0x08,
|
||||
0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x74,
|
||||
0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x0d, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x70, 0x72, 0x12,
|
||||
0x2a, 0x0a, 0x11, 0x63, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f,
|
||||
0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x63, 0x65, 0x6e, 0x74,
|
||||
0x72, 0x61, 0x6c, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x6d,
|
||||
0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01,
|
||||
0x28, 0x09, 0x52, 0x0c, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x50, 0x61, 0x74, 0x68,
|
||||
0x22, 0xd3, 0x01, 0x0a, 0x16, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x44, 0x79, 0x6e, 0x46, 0x69,
|
||||
0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x71,
|
||||
0x75, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x71,
|
||||
0x75, 0x65, 0x72, 0x79, 0x49, 0x64, 0x12, 0x43, 0x0a, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
|
||||
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x6d, 0x6f,
|
||||
0x74, 0x65, 0x44, 0x79, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74,
|
||||
0x65, 0x48, 0x00, 0x52, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x4f, 0x0a, 0x0a, 0x75,
|
||||
0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||||
0x2d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65,
|
||||
0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x44, 0x79, 0x6e, 0x46, 0x69,
|
||||
0x6c, 0x74, 0x65, 0x72, 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x48, 0x00,
|
||||
0x52, 0x0a, 0x75, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x42, 0x08, 0x0a, 0x06,
|
||||
0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x8f, 0x01, 0x0a, 0x15, 0x52, 0x65, 0x6d, 0x6f, 0x74,
|
||||
0x6f, 0x12, 0x32, 0x0a, 0x15, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65,
|
||||
0x73, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04,
|
||||
0x52, 0x13, 0x64, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x56, 0x65,
|
||||
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3a, 0x0a, 0x19, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
|
||||
0x61, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69,
|
||||
0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x17, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61,
|
||||
0x74, 0x61, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,
|
||||
0x6e, 0x22, 0xed, 0x01, 0x0a, 0x0b, 0x53, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x12, 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, 0x54,
|
||||
0x0a, 0x12, 0x6d, 0x69, 0x74, 0x6f, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f,
|
||||
0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x65,
|
||||
0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e,
|
||||
0x4d, 0x69, 0x74, 0x6f, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f,
|
||||
0x48, 0x00, 0x52, 0x10, 0x6d, 0x69, 0x74, 0x6f, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74,
|
||||
0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5a, 0x0a, 0x14, 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, 0x6f, 0x48, 0x00, 0x52, 0x12, 0x6d, 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, 0x66,
|
||||
0x6f, 0x22, 0x34, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
|
||||
0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x67, 0x69,
|
||||
0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, 0x52, 0x09, 0x72, 0x65,
|
||||
0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x22, 0x30, 0x0a, 0x11, 0x42, 0x75, 0x69, 0x6c, 0x64,
|
||||
0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 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, 0x22, 0x1f, 0x0a, 0x09, 0x46, 0x69, 0x6c,
|
||||
0x65, 0x4d, 0x65, 0x74, 0x61, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xb2, 0x01, 0x0a, 0x1b, 0x41,
|
||||
0x70, 0x70, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x4d, 0x61, 0x6e, 0x69, 0x66,
|
||||
0x65, 0x73, 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, 0x28, 0x04, 0x52, 0x08, 0x72,
|
||||
0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x74, 0x69,
|
||||
0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x0d, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x70, 0x72, 0x12, 0x2a,
|
||||
0x0a, 0x11, 0x63, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e,
|
||||
0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x63, 0x65, 0x6e, 0x74, 0x72,
|
||||
0x61, 0x6c, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x61,
|
||||
0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x0c, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x50, 0x61, 0x74, 0x68, 0x22,
|
||||
0xd3, 0x01, 0x0a, 0x16, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x44, 0x79, 0x6e, 0x46, 0x69, 0x6c,
|
||||
0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x71, 0x75,
|
||||
0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x71, 0x75,
|
||||
0x65, 0x72, 0x79, 0x49, 0x64, 0x12, 0x43, 0x0a, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
|
||||
0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x74,
|
||||
0x65, 0x44, 0x79, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
|
||||
0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a,
|
||||
0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07,
|
||||
0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x67, 0x65, 0x6e, 0x65, 0x72,
|
||||
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x67, 0x65, 0x6e,
|
||||
0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x63, 0x6f,
|
||||
0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73,
|
||||
0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x22, 0x38, 0x0a, 0x19, 0x52, 0x65, 0x6d, 0x6f,
|
||||
0x74, 0x65, 0x44, 0x79, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x55, 0x6e, 0x72, 0x65, 0x67,
|
||||
0x69, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x5f,
|
||||
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72,
|
||||
0x49, 0x64, 0x32, 0x59, 0x0a, 0x06, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x4f, 0x0a, 0x06,
|
||||
0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69,
|
||||
0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x67, 0x72, 0x65, 0x70,
|
||||
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52,
|
||||
0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x5d, 0x0a,
|
||||
0x15, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
||||
0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x42, 0x06, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5a, 0x3c,
|
||||
0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x72, 0x65, 0x70, 0x74,
|
||||
0x69, 0x6d, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
|
||||
0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
|
||||
0x6d, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72,
|
||||
0x6f, 0x74, 0x6f, 0x33,
|
||||
0x48, 0x00, 0x52, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x4f, 0x0a, 0x0a, 0x75, 0x6e,
|
||||
0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d,
|
||||
0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67,
|
||||
0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x44, 0x79, 0x6e, 0x46, 0x69, 0x6c,
|
||||
0x74, 0x65, 0x72, 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x48, 0x00, 0x52,
|
||||
0x0a, 0x75, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x42, 0x08, 0x0a, 0x06, 0x61,
|
||||
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x8f, 0x01, 0x0a, 0x15, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65,
|
||||
0x44, 0x79, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12,
|
||||
0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07,
|
||||
0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70,
|
||||
0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61,
|
||||
0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x67, 0x65, 0x6e, 0x65,
|
||||
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x6d,
|
||||
0x70, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x43,
|
||||
0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x22, 0x38, 0x0a, 0x19, 0x52, 0x65, 0x6d, 0x6f, 0x74,
|
||||
0x65, 0x44, 0x79, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69,
|
||||
0x73, 0x74, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x69,
|
||||
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x49,
|
||||
0x64, 0x32, 0x59, 0x0a, 0x06, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x4f, 0x0a, 0x06, 0x48,
|
||||
0x61, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
|
||||
0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f,
|
||||
0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74,
|
||||
0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65,
|
||||
0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x5d, 0x0a, 0x15,
|
||||
0x69, 0x6f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72,
|
||||
0x65, 0x67, 0x69, 0x6f, 0x6e, 0x42, 0x06, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5a, 0x3c, 0x67,
|
||||
0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69,
|
||||
0x6d, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2d,
|
||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
||||
0x65, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f,
|
||||
0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
@@ -3324,7 +3389,7 @@ func file_greptime_v1_region_server_proto_rawDescGZIP() []byte {
|
||||
return file_greptime_v1_region_server_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_greptime_v1_region_server_proto_msgTypes = make([]protoimpl.MessageInfo, 43)
|
||||
var file_greptime_v1_region_server_proto_msgTypes = make([]protoimpl.MessageInfo, 44)
|
||||
var file_greptime_v1_region_server_proto_goTypes = []interface{}{
|
||||
(*RegionRequestHeader)(nil), // 0: greptime.v1.region.RegionRequestHeader
|
||||
(*RegionRequest)(nil), // 1: greptime.v1.region.RegionRequest
|
||||
@@ -3355,42 +3420,43 @@ var file_greptime_v1_region_server_proto_goTypes = []interface{}{
|
||||
(*All)(nil), // 26: greptime.v1.region.All
|
||||
(*RegionColumnDef)(nil), // 27: greptime.v1.region.RegionColumnDef
|
||||
(*BulkInsertRequest)(nil), // 28: greptime.v1.region.BulkInsertRequest
|
||||
(*MitoManifestInfo)(nil), // 29: greptime.v1.region.MitoManifestInfo
|
||||
(*MetricManifestInfo)(nil), // 30: greptime.v1.region.MetricManifestInfo
|
||||
(*SyncRequest)(nil), // 31: greptime.v1.region.SyncRequest
|
||||
(*ListMetadataRequest)(nil), // 32: greptime.v1.region.ListMetadataRequest
|
||||
(*BuildIndexRequest)(nil), // 33: greptime.v1.region.BuildIndexRequest
|
||||
(*FileMetas)(nil), // 34: greptime.v1.region.FileMetas
|
||||
(*ApplyStagingManifestRequest)(nil), // 35: greptime.v1.region.ApplyStagingManifestRequest
|
||||
(*RemoteDynFilterRequest)(nil), // 36: greptime.v1.region.RemoteDynFilterRequest
|
||||
(*RemoteDynFilterUpdate)(nil), // 37: greptime.v1.region.RemoteDynFilterUpdate
|
||||
(*RemoteDynFilterUnregister)(nil), // 38: greptime.v1.region.RemoteDynFilterUnregister
|
||||
nil, // 39: greptime.v1.region.RegionRequestHeader.TracingContextEntry
|
||||
nil, // 40: greptime.v1.region.RegionResponse.ExtensionsEntry
|
||||
nil, // 41: greptime.v1.region.CreateRequest.OptionsEntry
|
||||
nil, // 42: greptime.v1.region.OpenRequest.OptionsEntry
|
||||
(*v1.QueryContext)(nil), // 43: greptime.v1.QueryContext
|
||||
(*v1.ResponseHeader)(nil), // 44: greptime.v1.ResponseHeader
|
||||
(*v1.Rows)(nil), // 45: greptime.v1.Rows
|
||||
(*v1.PartitionExprVersion)(nil), // 46: greptime.v1.PartitionExprVersion
|
||||
(*meta.Partition)(nil), // 47: greptime.v1.meta.Partition
|
||||
(*v1.ModifyColumnTypes)(nil), // 48: greptime.v1.ModifyColumnTypes
|
||||
(*v1.SetTableOptions)(nil), // 49: greptime.v1.SetTableOptions
|
||||
(*v1.UnsetTableOptions)(nil), // 50: greptime.v1.UnsetTableOptions
|
||||
(*v1.SetIndex)(nil), // 51: greptime.v1.SetIndex
|
||||
(*v1.UnsetIndex)(nil), // 52: greptime.v1.UnsetIndex
|
||||
(*v1.DropDefaults)(nil), // 53: greptime.v1.DropDefaults
|
||||
(*v1.SetIndexes)(nil), // 54: greptime.v1.SetIndexes
|
||||
(*v1.UnsetIndexes)(nil), // 55: greptime.v1.UnsetIndexes
|
||||
(*v1.SetDefaults)(nil), // 56: greptime.v1.SetDefaults
|
||||
(*v1.AddColumnLocation)(nil), // 57: greptime.v1.AddColumnLocation
|
||||
(*v1.TimeRanges)(nil), // 58: greptime.v1.TimeRanges
|
||||
(*v1.ColumnDef)(nil), // 59: greptime.v1.ColumnDef
|
||||
(*v1.ArrowIpc)(nil), // 60: greptime.v1.ArrowIpc
|
||||
(*AlignedSchemaVersion)(nil), // 29: greptime.v1.region.AlignedSchemaVersion
|
||||
(*MitoManifestInfo)(nil), // 30: greptime.v1.region.MitoManifestInfo
|
||||
(*MetricManifestInfo)(nil), // 31: greptime.v1.region.MetricManifestInfo
|
||||
(*SyncRequest)(nil), // 32: greptime.v1.region.SyncRequest
|
||||
(*ListMetadataRequest)(nil), // 33: greptime.v1.region.ListMetadataRequest
|
||||
(*BuildIndexRequest)(nil), // 34: greptime.v1.region.BuildIndexRequest
|
||||
(*FileMetas)(nil), // 35: greptime.v1.region.FileMetas
|
||||
(*ApplyStagingManifestRequest)(nil), // 36: greptime.v1.region.ApplyStagingManifestRequest
|
||||
(*RemoteDynFilterRequest)(nil), // 37: greptime.v1.region.RemoteDynFilterRequest
|
||||
(*RemoteDynFilterUpdate)(nil), // 38: greptime.v1.region.RemoteDynFilterUpdate
|
||||
(*RemoteDynFilterUnregister)(nil), // 39: greptime.v1.region.RemoteDynFilterUnregister
|
||||
nil, // 40: greptime.v1.region.RegionRequestHeader.TracingContextEntry
|
||||
nil, // 41: greptime.v1.region.RegionResponse.ExtensionsEntry
|
||||
nil, // 42: greptime.v1.region.CreateRequest.OptionsEntry
|
||||
nil, // 43: greptime.v1.region.OpenRequest.OptionsEntry
|
||||
(*v1.QueryContext)(nil), // 44: greptime.v1.QueryContext
|
||||
(*v1.ResponseHeader)(nil), // 45: greptime.v1.ResponseHeader
|
||||
(*v1.Rows)(nil), // 46: greptime.v1.Rows
|
||||
(*v1.PartitionExprVersion)(nil), // 47: greptime.v1.PartitionExprVersion
|
||||
(*meta.Partition)(nil), // 48: greptime.v1.meta.Partition
|
||||
(*v1.ModifyColumnTypes)(nil), // 49: greptime.v1.ModifyColumnTypes
|
||||
(*v1.SetTableOptions)(nil), // 50: greptime.v1.SetTableOptions
|
||||
(*v1.UnsetTableOptions)(nil), // 51: greptime.v1.UnsetTableOptions
|
||||
(*v1.SetIndex)(nil), // 52: greptime.v1.SetIndex
|
||||
(*v1.UnsetIndex)(nil), // 53: greptime.v1.UnsetIndex
|
||||
(*v1.DropDefaults)(nil), // 54: greptime.v1.DropDefaults
|
||||
(*v1.SetIndexes)(nil), // 55: greptime.v1.SetIndexes
|
||||
(*v1.UnsetIndexes)(nil), // 56: greptime.v1.UnsetIndexes
|
||||
(*v1.SetDefaults)(nil), // 57: greptime.v1.SetDefaults
|
||||
(*v1.AddColumnLocation)(nil), // 58: greptime.v1.AddColumnLocation
|
||||
(*v1.TimeRanges)(nil), // 59: greptime.v1.TimeRanges
|
||||
(*v1.ColumnDef)(nil), // 60: greptime.v1.ColumnDef
|
||||
(*v1.ArrowIpc)(nil), // 61: greptime.v1.ArrowIpc
|
||||
}
|
||||
var file_greptime_v1_region_server_proto_depIdxs = []int32{
|
||||
39, // 0: greptime.v1.region.RegionRequestHeader.tracing_context:type_name -> greptime.v1.region.RegionRequestHeader.TracingContextEntry
|
||||
43, // 1: greptime.v1.region.RegionRequestHeader.query_context:type_name -> greptime.v1.QueryContext
|
||||
40, // 0: greptime.v1.region.RegionRequestHeader.tracing_context:type_name -> greptime.v1.region.RegionRequestHeader.TracingContextEntry
|
||||
44, // 1: greptime.v1.region.RegionRequestHeader.query_context:type_name -> greptime.v1.QueryContext
|
||||
0, // 2: greptime.v1.region.RegionRequest.header:type_name -> greptime.v1.region.RegionRequestHeader
|
||||
3, // 3: greptime.v1.region.RegionRequest.inserts:type_name -> greptime.v1.region.InsertRequests
|
||||
4, // 4: greptime.v1.region.RegionRequest.deletes:type_name -> greptime.v1.region.DeleteRequests
|
||||
@@ -3406,62 +3472,63 @@ var file_greptime_v1_region_server_proto_depIdxs = []int32{
|
||||
10, // 14: greptime.v1.region.RegionRequest.drops:type_name -> greptime.v1.region.DropRequests
|
||||
14, // 15: greptime.v1.region.RegionRequest.alters:type_name -> greptime.v1.region.AlterRequests
|
||||
28, // 16: greptime.v1.region.RegionRequest.bulk_insert:type_name -> greptime.v1.region.BulkInsertRequest
|
||||
31, // 17: greptime.v1.region.RegionRequest.sync:type_name -> greptime.v1.region.SyncRequest
|
||||
32, // 18: greptime.v1.region.RegionRequest.list_metadata:type_name -> greptime.v1.region.ListMetadataRequest
|
||||
33, // 19: greptime.v1.region.RegionRequest.build_index:type_name -> greptime.v1.region.BuildIndexRequest
|
||||
35, // 20: greptime.v1.region.RegionRequest.apply_staging_manifest:type_name -> greptime.v1.region.ApplyStagingManifestRequest
|
||||
36, // 21: greptime.v1.region.RegionRequest.remote_dyn_filter:type_name -> greptime.v1.region.RemoteDynFilterRequest
|
||||
44, // 22: greptime.v1.region.RegionResponse.header:type_name -> greptime.v1.ResponseHeader
|
||||
40, // 23: greptime.v1.region.RegionResponse.extensions:type_name -> greptime.v1.region.RegionResponse.ExtensionsEntry
|
||||
32, // 17: greptime.v1.region.RegionRequest.sync:type_name -> greptime.v1.region.SyncRequest
|
||||
33, // 18: greptime.v1.region.RegionRequest.list_metadata:type_name -> greptime.v1.region.ListMetadataRequest
|
||||
34, // 19: greptime.v1.region.RegionRequest.build_index:type_name -> greptime.v1.region.BuildIndexRequest
|
||||
36, // 20: greptime.v1.region.RegionRequest.apply_staging_manifest:type_name -> greptime.v1.region.ApplyStagingManifestRequest
|
||||
37, // 21: greptime.v1.region.RegionRequest.remote_dyn_filter:type_name -> greptime.v1.region.RemoteDynFilterRequest
|
||||
45, // 22: greptime.v1.region.RegionResponse.header:type_name -> greptime.v1.ResponseHeader
|
||||
41, // 23: greptime.v1.region.RegionResponse.extensions:type_name -> greptime.v1.region.RegionResponse.ExtensionsEntry
|
||||
5, // 24: greptime.v1.region.InsertRequests.requests:type_name -> greptime.v1.region.InsertRequest
|
||||
6, // 25: greptime.v1.region.DeleteRequests.requests:type_name -> greptime.v1.region.DeleteRequest
|
||||
45, // 26: greptime.v1.region.InsertRequest.rows:type_name -> greptime.v1.Rows
|
||||
46, // 27: greptime.v1.region.InsertRequest.partition_expr_version:type_name -> greptime.v1.PartitionExprVersion
|
||||
45, // 28: greptime.v1.region.DeleteRequest.rows:type_name -> greptime.v1.Rows
|
||||
46, // 29: greptime.v1.region.DeleteRequest.partition_expr_version:type_name -> greptime.v1.PartitionExprVersion
|
||||
46, // 26: greptime.v1.region.InsertRequest.rows:type_name -> greptime.v1.Rows
|
||||
47, // 27: greptime.v1.region.InsertRequest.partition_expr_version:type_name -> greptime.v1.PartitionExprVersion
|
||||
46, // 28: greptime.v1.region.DeleteRequest.rows:type_name -> greptime.v1.Rows
|
||||
47, // 29: greptime.v1.region.DeleteRequest.partition_expr_version:type_name -> greptime.v1.PartitionExprVersion
|
||||
0, // 30: greptime.v1.region.QueryRequest.header:type_name -> greptime.v1.region.RegionRequestHeader
|
||||
9, // 31: greptime.v1.region.CreateRequests.requests:type_name -> greptime.v1.region.CreateRequest
|
||||
27, // 32: greptime.v1.region.CreateRequest.column_defs:type_name -> greptime.v1.region.RegionColumnDef
|
||||
41, // 33: greptime.v1.region.CreateRequest.options:type_name -> greptime.v1.region.CreateRequest.OptionsEntry
|
||||
47, // 34: greptime.v1.region.CreateRequest.partition:type_name -> greptime.v1.meta.Partition
|
||||
42, // 33: greptime.v1.region.CreateRequest.options:type_name -> greptime.v1.region.CreateRequest.OptionsEntry
|
||||
48, // 34: greptime.v1.region.CreateRequest.partition:type_name -> greptime.v1.meta.Partition
|
||||
11, // 35: greptime.v1.region.DropRequests.requests:type_name -> greptime.v1.region.DropRequest
|
||||
42, // 36: greptime.v1.region.OpenRequest.options:type_name -> greptime.v1.region.OpenRequest.OptionsEntry
|
||||
43, // 36: greptime.v1.region.OpenRequest.options:type_name -> greptime.v1.region.OpenRequest.OptionsEntry
|
||||
15, // 37: greptime.v1.region.AlterRequests.requests:type_name -> greptime.v1.region.AlterRequest
|
||||
17, // 38: greptime.v1.region.AlterRequest.add_columns:type_name -> greptime.v1.region.AddColumns
|
||||
18, // 39: greptime.v1.region.AlterRequest.drop_columns:type_name -> greptime.v1.region.DropColumns
|
||||
48, // 40: greptime.v1.region.AlterRequest.modify_column_types:type_name -> greptime.v1.ModifyColumnTypes
|
||||
49, // 41: greptime.v1.region.AlterRequest.set_table_options:type_name -> greptime.v1.SetTableOptions
|
||||
50, // 42: greptime.v1.region.AlterRequest.unset_table_options:type_name -> greptime.v1.UnsetTableOptions
|
||||
51, // 43: greptime.v1.region.AlterRequest.set_index:type_name -> greptime.v1.SetIndex
|
||||
52, // 44: greptime.v1.region.AlterRequest.unset_index:type_name -> greptime.v1.UnsetIndex
|
||||
53, // 45: greptime.v1.region.AlterRequest.drop_defaults:type_name -> greptime.v1.DropDefaults
|
||||
54, // 46: greptime.v1.region.AlterRequest.set_indexes:type_name -> greptime.v1.SetIndexes
|
||||
55, // 47: greptime.v1.region.AlterRequest.unset_indexes:type_name -> greptime.v1.UnsetIndexes
|
||||
56, // 48: greptime.v1.region.AlterRequest.set_defaults:type_name -> greptime.v1.SetDefaults
|
||||
49, // 40: greptime.v1.region.AlterRequest.modify_column_types:type_name -> greptime.v1.ModifyColumnTypes
|
||||
50, // 41: greptime.v1.region.AlterRequest.set_table_options:type_name -> greptime.v1.SetTableOptions
|
||||
51, // 42: greptime.v1.region.AlterRequest.unset_table_options:type_name -> greptime.v1.UnsetTableOptions
|
||||
52, // 43: greptime.v1.region.AlterRequest.set_index:type_name -> greptime.v1.SetIndex
|
||||
53, // 44: greptime.v1.region.AlterRequest.unset_index:type_name -> greptime.v1.UnsetIndex
|
||||
54, // 45: greptime.v1.region.AlterRequest.drop_defaults:type_name -> greptime.v1.DropDefaults
|
||||
55, // 46: greptime.v1.region.AlterRequest.set_indexes:type_name -> greptime.v1.SetIndexes
|
||||
56, // 47: greptime.v1.region.AlterRequest.unset_indexes:type_name -> greptime.v1.UnsetIndexes
|
||||
57, // 48: greptime.v1.region.AlterRequest.set_defaults:type_name -> greptime.v1.SetDefaults
|
||||
16, // 49: greptime.v1.region.AlterRequest.sync_columns:type_name -> greptime.v1.region.SyncColumns
|
||||
27, // 50: greptime.v1.region.SyncColumns.column_defs:type_name -> greptime.v1.region.RegionColumnDef
|
||||
19, // 51: greptime.v1.region.AddColumns.add_columns:type_name -> greptime.v1.region.AddColumn
|
||||
20, // 52: greptime.v1.region.DropColumns.drop_columns:type_name -> greptime.v1.region.DropColumn
|
||||
27, // 53: greptime.v1.region.AddColumn.column_def:type_name -> greptime.v1.region.RegionColumnDef
|
||||
57, // 54: greptime.v1.region.AddColumn.location:type_name -> greptime.v1.AddColumnLocation
|
||||
58, // 54: greptime.v1.region.AddColumn.location:type_name -> greptime.v1.AddColumnLocation
|
||||
22, // 55: greptime.v1.region.CompactRequest.regular:type_name -> greptime.v1.region.Regular
|
||||
23, // 56: greptime.v1.region.CompactRequest.strict_window:type_name -> greptime.v1.region.StrictWindow
|
||||
26, // 57: greptime.v1.region.TruncateRequest.all:type_name -> greptime.v1.region.All
|
||||
58, // 58: greptime.v1.region.TruncateRequest.time_ranges:type_name -> greptime.v1.TimeRanges
|
||||
59, // 59: greptime.v1.region.RegionColumnDef.column_def:type_name -> greptime.v1.ColumnDef
|
||||
60, // 60: greptime.v1.region.BulkInsertRequest.arrow_ipc:type_name -> greptime.v1.ArrowIpc
|
||||
46, // 61: greptime.v1.region.BulkInsertRequest.partition_expr_version:type_name -> greptime.v1.PartitionExprVersion
|
||||
29, // 62: greptime.v1.region.SyncRequest.mito_manifest_info:type_name -> greptime.v1.region.MitoManifestInfo
|
||||
30, // 63: greptime.v1.region.SyncRequest.metric_manifest_info:type_name -> greptime.v1.region.MetricManifestInfo
|
||||
37, // 64: greptime.v1.region.RemoteDynFilterRequest.update:type_name -> greptime.v1.region.RemoteDynFilterUpdate
|
||||
38, // 65: greptime.v1.region.RemoteDynFilterRequest.unregister:type_name -> greptime.v1.region.RemoteDynFilterUnregister
|
||||
1, // 66: greptime.v1.region.Region.Handle:input_type -> greptime.v1.region.RegionRequest
|
||||
2, // 67: greptime.v1.region.Region.Handle:output_type -> greptime.v1.region.RegionResponse
|
||||
67, // [67:68] is the sub-list for method output_type
|
||||
66, // [66:67] is the sub-list for method input_type
|
||||
66, // [66:66] is the sub-list for extension type_name
|
||||
66, // [66:66] is the sub-list for extension extendee
|
||||
0, // [0:66] is the sub-list for field type_name
|
||||
59, // 58: greptime.v1.region.TruncateRequest.time_ranges:type_name -> greptime.v1.TimeRanges
|
||||
60, // 59: greptime.v1.region.RegionColumnDef.column_def:type_name -> greptime.v1.ColumnDef
|
||||
61, // 60: greptime.v1.region.BulkInsertRequest.arrow_ipc:type_name -> greptime.v1.ArrowIpc
|
||||
47, // 61: greptime.v1.region.BulkInsertRequest.partition_expr_version:type_name -> greptime.v1.PartitionExprVersion
|
||||
29, // 62: greptime.v1.region.BulkInsertRequest.aligned_schema_version:type_name -> greptime.v1.region.AlignedSchemaVersion
|
||||
30, // 63: greptime.v1.region.SyncRequest.mito_manifest_info:type_name -> greptime.v1.region.MitoManifestInfo
|
||||
31, // 64: greptime.v1.region.SyncRequest.metric_manifest_info:type_name -> greptime.v1.region.MetricManifestInfo
|
||||
38, // 65: greptime.v1.region.RemoteDynFilterRequest.update:type_name -> greptime.v1.region.RemoteDynFilterUpdate
|
||||
39, // 66: greptime.v1.region.RemoteDynFilterRequest.unregister:type_name -> greptime.v1.region.RemoteDynFilterUnregister
|
||||
1, // 67: greptime.v1.region.Region.Handle:input_type -> greptime.v1.region.RegionRequest
|
||||
2, // 68: greptime.v1.region.Region.Handle:output_type -> greptime.v1.region.RegionResponse
|
||||
68, // [68:69] is the sub-list for method output_type
|
||||
67, // [67:68] is the sub-list for method input_type
|
||||
67, // [67:67] is the sub-list for extension type_name
|
||||
67, // [67:67] is the sub-list for extension extendee
|
||||
0, // [0:67] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_greptime_v1_region_server_proto_init() }
|
||||
@@ -3819,7 +3886,7 @@ func file_greptime_v1_region_server_proto_init() {
|
||||
}
|
||||
}
|
||||
file_greptime_v1_region_server_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*MitoManifestInfo); i {
|
||||
switch v := v.(*AlignedSchemaVersion); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
@@ -3831,7 +3898,7 @@ func file_greptime_v1_region_server_proto_init() {
|
||||
}
|
||||
}
|
||||
file_greptime_v1_region_server_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*MetricManifestInfo); i {
|
||||
switch v := v.(*MitoManifestInfo); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
@@ -3843,7 +3910,7 @@ func file_greptime_v1_region_server_proto_init() {
|
||||
}
|
||||
}
|
||||
file_greptime_v1_region_server_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*SyncRequest); i {
|
||||
switch v := v.(*MetricManifestInfo); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
@@ -3855,7 +3922,7 @@ func file_greptime_v1_region_server_proto_init() {
|
||||
}
|
||||
}
|
||||
file_greptime_v1_region_server_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*ListMetadataRequest); i {
|
||||
switch v := v.(*SyncRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
@@ -3867,7 +3934,7 @@ func file_greptime_v1_region_server_proto_init() {
|
||||
}
|
||||
}
|
||||
file_greptime_v1_region_server_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*BuildIndexRequest); i {
|
||||
switch v := v.(*ListMetadataRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
@@ -3879,7 +3946,7 @@ func file_greptime_v1_region_server_proto_init() {
|
||||
}
|
||||
}
|
||||
file_greptime_v1_region_server_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*FileMetas); i {
|
||||
switch v := v.(*BuildIndexRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
@@ -3891,7 +3958,7 @@ func file_greptime_v1_region_server_proto_init() {
|
||||
}
|
||||
}
|
||||
file_greptime_v1_region_server_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*ApplyStagingManifestRequest); i {
|
||||
switch v := v.(*FileMetas); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
@@ -3903,7 +3970,7 @@ func file_greptime_v1_region_server_proto_init() {
|
||||
}
|
||||
}
|
||||
file_greptime_v1_region_server_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*RemoteDynFilterRequest); i {
|
||||
switch v := v.(*ApplyStagingManifestRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
@@ -3915,7 +3982,7 @@ func file_greptime_v1_region_server_proto_init() {
|
||||
}
|
||||
}
|
||||
file_greptime_v1_region_server_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*RemoteDynFilterUpdate); i {
|
||||
switch v := v.(*RemoteDynFilterRequest); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
@@ -3927,6 +3994,18 @@ func file_greptime_v1_region_server_proto_init() {
|
||||
}
|
||||
}
|
||||
file_greptime_v1_region_server_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*RemoteDynFilterUpdate); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_greptime_v1_region_server_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*RemoteDynFilterUnregister); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -3985,11 +4064,11 @@ func file_greptime_v1_region_server_proto_init() {
|
||||
file_greptime_v1_region_server_proto_msgTypes[28].OneofWrappers = []interface{}{
|
||||
(*BulkInsertRequest_ArrowIpc)(nil),
|
||||
}
|
||||
file_greptime_v1_region_server_proto_msgTypes[31].OneofWrappers = []interface{}{
|
||||
file_greptime_v1_region_server_proto_msgTypes[32].OneofWrappers = []interface{}{
|
||||
(*SyncRequest_MitoManifestInfo)(nil),
|
||||
(*SyncRequest_MetricManifestInfo)(nil),
|
||||
}
|
||||
file_greptime_v1_region_server_proto_msgTypes[36].OneofWrappers = []interface{}{
|
||||
file_greptime_v1_region_server_proto_msgTypes[37].OneofWrappers = []interface{}{
|
||||
(*RemoteDynFilterRequest_Update)(nil),
|
||||
(*RemoteDynFilterRequest_Unregister)(nil),
|
||||
}
|
||||
@@ -3999,7 +4078,7 @@ func file_greptime_v1_region_server_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_greptime_v1_region_server_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 43,
|
||||
NumMessages: 44,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
|
||||
@@ -30941,6 +30941,21 @@ java.lang.String defaultValue);
|
||||
*/
|
||||
io.greptime.v1.Common.PartitionExprVersionOrBuilder getPartitionExprVersionOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>.greptime.v1.region.AlignedSchemaVersion aligned_schema_version = 4;</code>
|
||||
* @return Whether the alignedSchemaVersion field is set.
|
||||
*/
|
||||
boolean hasAlignedSchemaVersion();
|
||||
/**
|
||||
* <code>.greptime.v1.region.AlignedSchemaVersion aligned_schema_version = 4;</code>
|
||||
* @return The alignedSchemaVersion.
|
||||
*/
|
||||
io.greptime.v1.region.Server.AlignedSchemaVersion getAlignedSchemaVersion();
|
||||
/**
|
||||
* <code>.greptime.v1.region.AlignedSchemaVersion aligned_schema_version = 4;</code>
|
||||
*/
|
||||
io.greptime.v1.region.Server.AlignedSchemaVersionOrBuilder getAlignedSchemaVersionOrBuilder();
|
||||
|
||||
public io.greptime.v1.region.Server.BulkInsertRequest.BodyCase getBodyCase();
|
||||
}
|
||||
/**
|
||||
@@ -31024,6 +31039,19 @@ java.lang.String defaultValue);
|
||||
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
io.greptime.v1.region.Server.AlignedSchemaVersion.Builder subBuilder = null;
|
||||
if (alignedSchemaVersion_ != null) {
|
||||
subBuilder = alignedSchemaVersion_.toBuilder();
|
||||
}
|
||||
alignedSchemaVersion_ = input.readMessage(io.greptime.v1.region.Server.AlignedSchemaVersion.parser(), extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(alignedSchemaVersion_);
|
||||
alignedSchemaVersion_ = subBuilder.buildPartial();
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
@@ -31165,6 +31193,32 @@ java.lang.String defaultValue);
|
||||
return getPartitionExprVersion();
|
||||
}
|
||||
|
||||
public static final int ALIGNED_SCHEMA_VERSION_FIELD_NUMBER = 4;
|
||||
private io.greptime.v1.region.Server.AlignedSchemaVersion alignedSchemaVersion_;
|
||||
/**
|
||||
* <code>.greptime.v1.region.AlignedSchemaVersion aligned_schema_version = 4;</code>
|
||||
* @return Whether the alignedSchemaVersion field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasAlignedSchemaVersion() {
|
||||
return alignedSchemaVersion_ != null;
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.region.AlignedSchemaVersion aligned_schema_version = 4;</code>
|
||||
* @return The alignedSchemaVersion.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.region.Server.AlignedSchemaVersion getAlignedSchemaVersion() {
|
||||
return alignedSchemaVersion_ == null ? io.greptime.v1.region.Server.AlignedSchemaVersion.getDefaultInstance() : alignedSchemaVersion_;
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.region.AlignedSchemaVersion aligned_schema_version = 4;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.region.Server.AlignedSchemaVersionOrBuilder getAlignedSchemaVersionOrBuilder() {
|
||||
return getAlignedSchemaVersion();
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
@@ -31188,6 +31242,9 @@ java.lang.String defaultValue);
|
||||
if (partitionExprVersion_ != null) {
|
||||
output.writeMessage(3, getPartitionExprVersion());
|
||||
}
|
||||
if (alignedSchemaVersion_ != null) {
|
||||
output.writeMessage(4, getAlignedSchemaVersion());
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
|
||||
@@ -31209,6 +31266,10 @@ java.lang.String defaultValue);
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(3, getPartitionExprVersion());
|
||||
}
|
||||
if (alignedSchemaVersion_ != null) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(4, getAlignedSchemaVersion());
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
return size;
|
||||
@@ -31231,6 +31292,11 @@ java.lang.String defaultValue);
|
||||
if (!getPartitionExprVersion()
|
||||
.equals(other.getPartitionExprVersion())) return false;
|
||||
}
|
||||
if (hasAlignedSchemaVersion() != other.hasAlignedSchemaVersion()) return false;
|
||||
if (hasAlignedSchemaVersion()) {
|
||||
if (!getAlignedSchemaVersion()
|
||||
.equals(other.getAlignedSchemaVersion())) return false;
|
||||
}
|
||||
if (!getBodyCase().equals(other.getBodyCase())) return false;
|
||||
switch (bodyCase_) {
|
||||
case 2:
|
||||
@@ -31258,6 +31324,10 @@ java.lang.String defaultValue);
|
||||
hash = (37 * hash) + PARTITION_EXPR_VERSION_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getPartitionExprVersion().hashCode();
|
||||
}
|
||||
if (hasAlignedSchemaVersion()) {
|
||||
hash = (37 * hash) + ALIGNED_SCHEMA_VERSION_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getAlignedSchemaVersion().hashCode();
|
||||
}
|
||||
switch (bodyCase_) {
|
||||
case 2:
|
||||
hash = (37 * hash) + ARROW_IPC_FIELD_NUMBER;
|
||||
@@ -31411,6 +31481,12 @@ java.lang.String defaultValue);
|
||||
partitionExprVersion_ = null;
|
||||
partitionExprVersionBuilder_ = null;
|
||||
}
|
||||
if (alignedSchemaVersionBuilder_ == null) {
|
||||
alignedSchemaVersion_ = null;
|
||||
} else {
|
||||
alignedSchemaVersion_ = null;
|
||||
alignedSchemaVersionBuilder_ = null;
|
||||
}
|
||||
bodyCase_ = 0;
|
||||
body_ = null;
|
||||
return this;
|
||||
@@ -31452,6 +31528,11 @@ java.lang.String defaultValue);
|
||||
} else {
|
||||
result.partitionExprVersion_ = partitionExprVersionBuilder_.build();
|
||||
}
|
||||
if (alignedSchemaVersionBuilder_ == null) {
|
||||
result.alignedSchemaVersion_ = alignedSchemaVersion_;
|
||||
} else {
|
||||
result.alignedSchemaVersion_ = alignedSchemaVersionBuilder_.build();
|
||||
}
|
||||
result.bodyCase_ = bodyCase_;
|
||||
onBuilt();
|
||||
return result;
|
||||
@@ -31507,6 +31588,9 @@ java.lang.String defaultValue);
|
||||
if (other.hasPartitionExprVersion()) {
|
||||
mergePartitionExprVersion(other.getPartitionExprVersion());
|
||||
}
|
||||
if (other.hasAlignedSchemaVersion()) {
|
||||
mergeAlignedSchemaVersion(other.getAlignedSchemaVersion());
|
||||
}
|
||||
switch (other.getBodyCase()) {
|
||||
case ARROW_IPC: {
|
||||
mergeArrowIpc(other.getArrowIpc());
|
||||
@@ -31851,6 +31935,125 @@ java.lang.String defaultValue);
|
||||
}
|
||||
return partitionExprVersionBuilder_;
|
||||
}
|
||||
|
||||
private io.greptime.v1.region.Server.AlignedSchemaVersion alignedSchemaVersion_;
|
||||
private com.google.protobuf.SingleFieldBuilderV3<
|
||||
io.greptime.v1.region.Server.AlignedSchemaVersion, io.greptime.v1.region.Server.AlignedSchemaVersion.Builder, io.greptime.v1.region.Server.AlignedSchemaVersionOrBuilder> alignedSchemaVersionBuilder_;
|
||||
/**
|
||||
* <code>.greptime.v1.region.AlignedSchemaVersion aligned_schema_version = 4;</code>
|
||||
* @return Whether the alignedSchemaVersion field is set.
|
||||
*/
|
||||
public boolean hasAlignedSchemaVersion() {
|
||||
return alignedSchemaVersionBuilder_ != null || alignedSchemaVersion_ != null;
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.region.AlignedSchemaVersion aligned_schema_version = 4;</code>
|
||||
* @return The alignedSchemaVersion.
|
||||
*/
|
||||
public io.greptime.v1.region.Server.AlignedSchemaVersion getAlignedSchemaVersion() {
|
||||
if (alignedSchemaVersionBuilder_ == null) {
|
||||
return alignedSchemaVersion_ == null ? io.greptime.v1.region.Server.AlignedSchemaVersion.getDefaultInstance() : alignedSchemaVersion_;
|
||||
} else {
|
||||
return alignedSchemaVersionBuilder_.getMessage();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.region.AlignedSchemaVersion aligned_schema_version = 4;</code>
|
||||
*/
|
||||
public Builder setAlignedSchemaVersion(io.greptime.v1.region.Server.AlignedSchemaVersion value) {
|
||||
if (alignedSchemaVersionBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
alignedSchemaVersion_ = value;
|
||||
onChanged();
|
||||
} else {
|
||||
alignedSchemaVersionBuilder_.setMessage(value);
|
||||
}
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.region.AlignedSchemaVersion aligned_schema_version = 4;</code>
|
||||
*/
|
||||
public Builder setAlignedSchemaVersion(
|
||||
io.greptime.v1.region.Server.AlignedSchemaVersion.Builder builderForValue) {
|
||||
if (alignedSchemaVersionBuilder_ == null) {
|
||||
alignedSchemaVersion_ = builderForValue.build();
|
||||
onChanged();
|
||||
} else {
|
||||
alignedSchemaVersionBuilder_.setMessage(builderForValue.build());
|
||||
}
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.region.AlignedSchemaVersion aligned_schema_version = 4;</code>
|
||||
*/
|
||||
public Builder mergeAlignedSchemaVersion(io.greptime.v1.region.Server.AlignedSchemaVersion value) {
|
||||
if (alignedSchemaVersionBuilder_ == null) {
|
||||
if (alignedSchemaVersion_ != null) {
|
||||
alignedSchemaVersion_ =
|
||||
io.greptime.v1.region.Server.AlignedSchemaVersion.newBuilder(alignedSchemaVersion_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
alignedSchemaVersion_ = value;
|
||||
}
|
||||
onChanged();
|
||||
} else {
|
||||
alignedSchemaVersionBuilder_.mergeFrom(value);
|
||||
}
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.region.AlignedSchemaVersion aligned_schema_version = 4;</code>
|
||||
*/
|
||||
public Builder clearAlignedSchemaVersion() {
|
||||
if (alignedSchemaVersionBuilder_ == null) {
|
||||
alignedSchemaVersion_ = null;
|
||||
onChanged();
|
||||
} else {
|
||||
alignedSchemaVersion_ = null;
|
||||
alignedSchemaVersionBuilder_ = null;
|
||||
}
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.region.AlignedSchemaVersion aligned_schema_version = 4;</code>
|
||||
*/
|
||||
public io.greptime.v1.region.Server.AlignedSchemaVersion.Builder getAlignedSchemaVersionBuilder() {
|
||||
|
||||
onChanged();
|
||||
return getAlignedSchemaVersionFieldBuilder().getBuilder();
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.region.AlignedSchemaVersion aligned_schema_version = 4;</code>
|
||||
*/
|
||||
public io.greptime.v1.region.Server.AlignedSchemaVersionOrBuilder getAlignedSchemaVersionOrBuilder() {
|
||||
if (alignedSchemaVersionBuilder_ != null) {
|
||||
return alignedSchemaVersionBuilder_.getMessageOrBuilder();
|
||||
} else {
|
||||
return alignedSchemaVersion_ == null ?
|
||||
io.greptime.v1.region.Server.AlignedSchemaVersion.getDefaultInstance() : alignedSchemaVersion_;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>.greptime.v1.region.AlignedSchemaVersion aligned_schema_version = 4;</code>
|
||||
*/
|
||||
private com.google.protobuf.SingleFieldBuilderV3<
|
||||
io.greptime.v1.region.Server.AlignedSchemaVersion, io.greptime.v1.region.Server.AlignedSchemaVersion.Builder, io.greptime.v1.region.Server.AlignedSchemaVersionOrBuilder>
|
||||
getAlignedSchemaVersionFieldBuilder() {
|
||||
if (alignedSchemaVersionBuilder_ == null) {
|
||||
alignedSchemaVersionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
||||
io.greptime.v1.region.Server.AlignedSchemaVersion, io.greptime.v1.region.Server.AlignedSchemaVersion.Builder, io.greptime.v1.region.Server.AlignedSchemaVersionOrBuilder>(
|
||||
getAlignedSchemaVersion(),
|
||||
getParentForChildren(),
|
||||
isClean());
|
||||
alignedSchemaVersion_ = null;
|
||||
}
|
||||
return alignedSchemaVersionBuilder_;
|
||||
}
|
||||
@java.lang.Override
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
@@ -31904,6 +32107,497 @@ java.lang.String defaultValue);
|
||||
|
||||
}
|
||||
|
||||
public interface AlignedSchemaVersionOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:greptime.v1.region.AlignedSchemaVersion)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>uint64 schema_version = 1;</code>
|
||||
* @return The schemaVersion.
|
||||
*/
|
||||
long getSchemaVersion();
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code greptime.v1.region.AlignedSchemaVersion}
|
||||
*/
|
||||
public static final class AlignedSchemaVersion extends
|
||||
com.google.protobuf.GeneratedMessageV3 implements
|
||||
// @@protoc_insertion_point(message_implements:greptime.v1.region.AlignedSchemaVersion)
|
||||
AlignedSchemaVersionOrBuilder {
|
||||
private static final long serialVersionUID = 0L;
|
||||
// Use AlignedSchemaVersion.newBuilder() to construct.
|
||||
private AlignedSchemaVersion(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
private AlignedSchemaVersion() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@SuppressWarnings({"unused"})
|
||||
protected java.lang.Object newInstance(
|
||||
UnusedPrivateParameter unused) {
|
||||
return new AlignedSchemaVersion();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public final com.google.protobuf.UnknownFieldSet
|
||||
getUnknownFields() {
|
||||
return this.unknownFields;
|
||||
}
|
||||
private AlignedSchemaVersion(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
this();
|
||||
if (extensionRegistry == null) {
|
||||
throw new java.lang.NullPointerException();
|
||||
}
|
||||
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
||||
com.google.protobuf.UnknownFieldSet.newBuilder();
|
||||
try {
|
||||
boolean done = false;
|
||||
while (!done) {
|
||||
int tag = input.readTag();
|
||||
switch (tag) {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 8: {
|
||||
|
||||
schemaVersion_ = input.readUInt64();
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
done = true;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
throw e.setUnfinishedMessage(this);
|
||||
} catch (com.google.protobuf.UninitializedMessageException e) {
|
||||
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
|
||||
} catch (java.io.IOException e) {
|
||||
throw new com.google.protobuf.InvalidProtocolBufferException(
|
||||
e).setUnfinishedMessage(this);
|
||||
} finally {
|
||||
this.unknownFields = unknownFields.build();
|
||||
makeExtensionsImmutable();
|
||||
}
|
||||
}
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return io.greptime.v1.region.Server.internal_static_greptime_v1_region_AlignedSchemaVersion_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return io.greptime.v1.region.Server.internal_static_greptime_v1_region_AlignedSchemaVersion_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
io.greptime.v1.region.Server.AlignedSchemaVersion.class, io.greptime.v1.region.Server.AlignedSchemaVersion.Builder.class);
|
||||
}
|
||||
|
||||
public static final int SCHEMA_VERSION_FIELD_NUMBER = 1;
|
||||
private long schemaVersion_;
|
||||
/**
|
||||
* <code>uint64 schema_version = 1;</code>
|
||||
* @return The schemaVersion.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public long getSchemaVersion() {
|
||||
return schemaVersion_;
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
byte isInitialized = memoizedIsInitialized;
|
||||
if (isInitialized == 1) return true;
|
||||
if (isInitialized == 0) return false;
|
||||
|
||||
memoizedIsInitialized = 1;
|
||||
return true;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (schemaVersion_ != 0L) {
|
||||
output.writeUInt64(1, schemaVersion_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int getSerializedSize() {
|
||||
int size = memoizedSize;
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (schemaVersion_ != 0L) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt64Size(1, schemaVersion_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
return size;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public boolean equals(final java.lang.Object obj) {
|
||||
if (obj == this) {
|
||||
return true;
|
||||
}
|
||||
if (!(obj instanceof io.greptime.v1.region.Server.AlignedSchemaVersion)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
io.greptime.v1.region.Server.AlignedSchemaVersion other = (io.greptime.v1.region.Server.AlignedSchemaVersion) obj;
|
||||
|
||||
if (getSchemaVersion()
|
||||
!= other.getSchemaVersion()) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int hashCode() {
|
||||
if (memoizedHashCode != 0) {
|
||||
return memoizedHashCode;
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
hash = (37 * hash) + SCHEMA_VERSION_FIELD_NUMBER;
|
||||
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
||||
getSchemaVersion());
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
}
|
||||
|
||||
public static io.greptime.v1.region.Server.AlignedSchemaVersion parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static io.greptime.v1.region.Server.AlignedSchemaVersion parseFrom(
|
||||
java.nio.ByteBuffer data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static io.greptime.v1.region.Server.AlignedSchemaVersion parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static io.greptime.v1.region.Server.AlignedSchemaVersion parseFrom(
|
||||
com.google.protobuf.ByteString data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static io.greptime.v1.region.Server.AlignedSchemaVersion parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static io.greptime.v1.region.Server.AlignedSchemaVersion parseFrom(
|
||||
byte[] data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static io.greptime.v1.region.Server.AlignedSchemaVersion parseFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static io.greptime.v1.region.Server.AlignedSchemaVersion parseFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input, extensionRegistry);
|
||||
}
|
||||
public static io.greptime.v1.region.Server.AlignedSchemaVersion parseDelimitedFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseDelimitedWithIOException(PARSER, input);
|
||||
}
|
||||
public static io.greptime.v1.region.Server.AlignedSchemaVersion parseDelimitedFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
||||
}
|
||||
public static io.greptime.v1.region.Server.AlignedSchemaVersion parseFrom(
|
||||
com.google.protobuf.CodedInputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static io.greptime.v1.region.Server.AlignedSchemaVersion parseFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input, extensionRegistry);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public Builder newBuilderForType() { return newBuilder(); }
|
||||
public static Builder newBuilder() {
|
||||
return DEFAULT_INSTANCE.toBuilder();
|
||||
}
|
||||
public static Builder newBuilder(io.greptime.v1.region.Server.AlignedSchemaVersion prototype) {
|
||||
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder toBuilder() {
|
||||
return this == DEFAULT_INSTANCE
|
||||
? new Builder() : new Builder().mergeFrom(this);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected Builder newBuilderForType(
|
||||
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
||||
Builder builder = new Builder(parent);
|
||||
return builder;
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code greptime.v1.region.AlignedSchemaVersion}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:greptime.v1.region.AlignedSchemaVersion)
|
||||
io.greptime.v1.region.Server.AlignedSchemaVersionOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return io.greptime.v1.region.Server.internal_static_greptime_v1_region_AlignedSchemaVersion_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return io.greptime.v1.region.Server.internal_static_greptime_v1_region_AlignedSchemaVersion_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
io.greptime.v1.region.Server.AlignedSchemaVersion.class, io.greptime.v1.region.Server.AlignedSchemaVersion.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using io.greptime.v1.region.Server.AlignedSchemaVersion.newBuilder()
|
||||
private Builder() {
|
||||
maybeForceBuilderInitialization();
|
||||
}
|
||||
|
||||
private Builder(
|
||||
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
||||
super(parent);
|
||||
maybeForceBuilderInitialization();
|
||||
}
|
||||
private void maybeForceBuilderInitialization() {
|
||||
if (com.google.protobuf.GeneratedMessageV3
|
||||
.alwaysUseFieldBuilders) {
|
||||
}
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
schemaVersion_ = 0L;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return io.greptime.v1.region.Server.internal_static_greptime_v1_region_AlignedSchemaVersion_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.region.Server.AlignedSchemaVersion getDefaultInstanceForType() {
|
||||
return io.greptime.v1.region.Server.AlignedSchemaVersion.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.region.Server.AlignedSchemaVersion build() {
|
||||
io.greptime.v1.region.Server.AlignedSchemaVersion result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.region.Server.AlignedSchemaVersion buildPartial() {
|
||||
io.greptime.v1.region.Server.AlignedSchemaVersion result = new io.greptime.v1.region.Server.AlignedSchemaVersion(this);
|
||||
result.schemaVersion_ = schemaVersion_;
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public Builder clone() {
|
||||
return super.clone();
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder setField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field,
|
||||
java.lang.Object value) {
|
||||
return super.setField(field, value);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clearField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field) {
|
||||
return super.clearField(field);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clearOneof(
|
||||
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
|
||||
return super.clearOneof(oneof);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder setRepeatedField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field,
|
||||
int index, java.lang.Object value) {
|
||||
return super.setRepeatedField(field, index, value);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder addRepeatedField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field,
|
||||
java.lang.Object value) {
|
||||
return super.addRepeatedField(field, value);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder mergeFrom(com.google.protobuf.Message other) {
|
||||
if (other instanceof io.greptime.v1.region.Server.AlignedSchemaVersion) {
|
||||
return mergeFrom((io.greptime.v1.region.Server.AlignedSchemaVersion)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(io.greptime.v1.region.Server.AlignedSchemaVersion other) {
|
||||
if (other == io.greptime.v1.region.Server.AlignedSchemaVersion.getDefaultInstance()) return this;
|
||||
if (other.getSchemaVersion() != 0L) {
|
||||
setSchemaVersion(other.getSchemaVersion());
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public Builder mergeFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
io.greptime.v1.region.Server.AlignedSchemaVersion parsedMessage = null;
|
||||
try {
|
||||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
parsedMessage = (io.greptime.v1.region.Server.AlignedSchemaVersion) e.getUnfinishedMessage();
|
||||
throw e.unwrapIOException();
|
||||
} finally {
|
||||
if (parsedMessage != null) {
|
||||
mergeFrom(parsedMessage);
|
||||
}
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
private long schemaVersion_ ;
|
||||
/**
|
||||
* <code>uint64 schema_version = 1;</code>
|
||||
* @return The schemaVersion.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public long getSchemaVersion() {
|
||||
return schemaVersion_;
|
||||
}
|
||||
/**
|
||||
* <code>uint64 schema_version = 1;</code>
|
||||
* @param value The schemaVersion to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setSchemaVersion(long value) {
|
||||
|
||||
schemaVersion_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint64 schema_version = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearSchemaVersion() {
|
||||
|
||||
schemaVersion_ = 0L;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@java.lang.Override
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
return super.setUnknownFields(unknownFields);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public final Builder mergeUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
return super.mergeUnknownFields(unknownFields);
|
||||
}
|
||||
|
||||
|
||||
// @@protoc_insertion_point(builder_scope:greptime.v1.region.AlignedSchemaVersion)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:greptime.v1.region.AlignedSchemaVersion)
|
||||
private static final io.greptime.v1.region.Server.AlignedSchemaVersion DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new io.greptime.v1.region.Server.AlignedSchemaVersion();
|
||||
}
|
||||
|
||||
public static io.greptime.v1.region.Server.AlignedSchemaVersion getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Parser<AlignedSchemaVersion>
|
||||
PARSER = new com.google.protobuf.AbstractParser<AlignedSchemaVersion>() {
|
||||
@java.lang.Override
|
||||
public AlignedSchemaVersion parsePartialFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return new AlignedSchemaVersion(input, extensionRegistry);
|
||||
}
|
||||
};
|
||||
|
||||
public static com.google.protobuf.Parser<AlignedSchemaVersion> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<AlignedSchemaVersion> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.region.Server.AlignedSchemaVersion getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public interface MitoManifestInfoOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:greptime.v1.region.MitoManifestInfo)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
@@ -39227,6 +39921,11 @@ java.lang.String defaultValue);
|
||||
private static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_greptime_v1_region_BulkInsertRequest_fieldAccessorTable;
|
||||
private static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_greptime_v1_region_AlignedSchemaVersion_descriptor;
|
||||
private static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_greptime_v1_region_AlignedSchemaVersion_fieldAccessorTable;
|
||||
private static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_greptime_v1_region_MitoManifestInfo_descriptor;
|
||||
private static final
|
||||
@@ -39403,38 +40102,41 @@ java.lang.String defaultValue);
|
||||
"es\030\003 \001(\0132\027.greptime.v1.TimeRangesH\000B\006\n\004k" +
|
||||
"ind\"\005\n\003All\"P\n\017RegionColumnDef\022*\n\ncolumn_" +
|
||||
"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\"\347\001\n\021BulkInsertRequest\022\021\n\tre" +
|
||||
"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" +
|
||||
"ion\030\003 \001(\0132!.greptime.v1.PartitionExprVer" +
|
||||
"sionB\006\n\004body\"1\n\020MitoManifestInfo\022\035\n\025data" +
|
||||
"_manifest_version\030\001 \001(\004\"V\n\022MetricManifes" +
|
||||
"tInfo\022\035\n\025data_manifest_version\030\001 \001(\004\022!\n\031" +
|
||||
"metadata_manifest_version\030\002 \001(\004\"\275\001\n\013Sync" +
|
||||
"Request\022\021\n\tregion_id\030\001 \001(\004\022B\n\022mito_manif" +
|
||||
"est_info\030\002 \001(\0132$.greptime.v1.region.Mito" +
|
||||
"ManifestInfoH\000\022F\n\024metric_manifest_info\030\003" +
|
||||
" \001(\0132&.greptime.v1.region.MetricManifest" +
|
||||
"InfoH\000B\017\n\rmanifest_info\")\n\023ListMetadataR" +
|
||||
"equest\022\022\n\nregion_ids\030\001 \003(\004\"&\n\021BuildIndex" +
|
||||
"Request\022\021\n\tregion_id\030\001 \001(\004\"\031\n\tFileMetas\022" +
|
||||
"\014\n\004data\030\001 \001(\014\"z\n\033ApplyStagingManifestReq" +
|
||||
"uest\022\021\n\tregion_id\030\001 \001(\004\022\026\n\016partition_exp" +
|
||||
"r\030\002 \001(\t\022\031\n\021central_region_id\030\003 \001(\004\022\025\n\rma" +
|
||||
"nifest_path\030\004 \001(\t\"\266\001\n\026RemoteDynFilterReq" +
|
||||
"uest\022\020\n\010query_id\030\001 \001(\t\022;\n\006update\030\002 \001(\0132)" +
|
||||
".greptime.v1.region.RemoteDynFilterUpdat" +
|
||||
"eH\000\022C\n\nunregister\030\003 \001(\0132-.greptime.v1.re" +
|
||||
"gion.RemoteDynFilterUnregisterH\000B\010\n\006acti" +
|
||||
"on\"d\n\025RemoteDynFilterUpdate\022\021\n\tfilter_id" +
|
||||
"\030\001 \001(\t\022\017\n\007payload\030\002 \001(\014\022\022\n\ngeneration\030\003 " +
|
||||
"\001(\004\022\023\n\013is_complete\030\004 \001(\010\".\n\031RemoteDynFil" +
|
||||
"terUnregister\022\021\n\tfilter_id\030\001 \001(\t2Y\n\006Regi" +
|
||||
"on\022O\n\006Handle\022!.greptime.v1.region.Region" +
|
||||
"Request\032\".greptime.v1.region.RegionRespo" +
|
||||
"nseB]\n\025io.greptime.v1.regionB\006ServerZ<gi" +
|
||||
"thub.com/GreptimeTeam/greptime-proto/go/" +
|
||||
"greptime/v1/regionb\006proto3"
|
||||
"sion\022H\n\026aligned_schema_version\030\004 \001(\0132(.g" +
|
||||
"reptime.v1.region.AlignedSchemaVersionB\006" +
|
||||
"\n\004body\".\n\024AlignedSchemaVersion\022\026\n\016schema" +
|
||||
"_version\030\001 \001(\004\"1\n\020MitoManifestInfo\022\035\n\025da" +
|
||||
"ta_manifest_version\030\001 \001(\004\"V\n\022MetricManif" +
|
||||
"estInfo\022\035\n\025data_manifest_version\030\001 \001(\004\022!" +
|
||||
"\n\031metadata_manifest_version\030\002 \001(\004\"\275\001\n\013Sy" +
|
||||
"ncRequest\022\021\n\tregion_id\030\001 \001(\004\022B\n\022mito_man" +
|
||||
"ifest_info\030\002 \001(\0132$.greptime.v1.region.Mi" +
|
||||
"toManifestInfoH\000\022F\n\024metric_manifest_info" +
|
||||
"\030\003 \001(\0132&.greptime.v1.region.MetricManife" +
|
||||
"stInfoH\000B\017\n\rmanifest_info\")\n\023ListMetadat" +
|
||||
"aRequest\022\022\n\nregion_ids\030\001 \003(\004\"&\n\021BuildInd" +
|
||||
"exRequest\022\021\n\tregion_id\030\001 \001(\004\"\031\n\tFileMeta" +
|
||||
"s\022\014\n\004data\030\001 \001(\014\"z\n\033ApplyStagingManifestR" +
|
||||
"equest\022\021\n\tregion_id\030\001 \001(\004\022\026\n\016partition_e" +
|
||||
"xpr\030\002 \001(\t\022\031\n\021central_region_id\030\003 \001(\004\022\025\n\r" +
|
||||
"manifest_path\030\004 \001(\t\"\266\001\n\026RemoteDynFilterR" +
|
||||
"equest\022\020\n\010query_id\030\001 \001(\t\022;\n\006update\030\002 \001(\013" +
|
||||
"2).greptime.v1.region.RemoteDynFilterUpd" +
|
||||
"ateH\000\022C\n\nunregister\030\003 \001(\0132-.greptime.v1." +
|
||||
"region.RemoteDynFilterUnregisterH\000B\010\n\006ac" +
|
||||
"tion\"d\n\025RemoteDynFilterUpdate\022\021\n\tfilter_" +
|
||||
"id\030\001 \001(\t\022\017\n\007payload\030\002 \001(\014\022\022\n\ngeneration\030" +
|
||||
"\003 \001(\004\022\023\n\013is_complete\030\004 \001(\010\".\n\031RemoteDynF" +
|
||||
"ilterUnregister\022\021\n\tfilter_id\030\001 \001(\t2Y\n\006Re" +
|
||||
"gion\022O\n\006Handle\022!.greptime.v1.region.Regi" +
|
||||
"onRequest\032\".greptime.v1.region.RegionRes" +
|
||||
"ponseB]\n\025io.greptime.v1.regionB\006ServerZ<" +
|
||||
"github.com/GreptimeTeam/greptime-proto/g" +
|
||||
"o/greptime/v1/regionb\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
@@ -39641,63 +40343,69 @@ java.lang.String defaultValue);
|
||||
internal_static_greptime_v1_region_BulkInsertRequest_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_greptime_v1_region_BulkInsertRequest_descriptor,
|
||||
new java.lang.String[] { "RegionId", "ArrowIpc", "PartitionExprVersion", "Body", });
|
||||
internal_static_greptime_v1_region_MitoManifestInfo_descriptor =
|
||||
new java.lang.String[] { "RegionId", "ArrowIpc", "PartitionExprVersion", "AlignedSchemaVersion", "Body", });
|
||||
internal_static_greptime_v1_region_AlignedSchemaVersion_descriptor =
|
||||
getDescriptor().getMessageTypes().get(29);
|
||||
internal_static_greptime_v1_region_AlignedSchemaVersion_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_greptime_v1_region_AlignedSchemaVersion_descriptor,
|
||||
new java.lang.String[] { "SchemaVersion", });
|
||||
internal_static_greptime_v1_region_MitoManifestInfo_descriptor =
|
||||
getDescriptor().getMessageTypes().get(30);
|
||||
internal_static_greptime_v1_region_MitoManifestInfo_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_greptime_v1_region_MitoManifestInfo_descriptor,
|
||||
new java.lang.String[] { "DataManifestVersion", });
|
||||
internal_static_greptime_v1_region_MetricManifestInfo_descriptor =
|
||||
getDescriptor().getMessageTypes().get(30);
|
||||
getDescriptor().getMessageTypes().get(31);
|
||||
internal_static_greptime_v1_region_MetricManifestInfo_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_greptime_v1_region_MetricManifestInfo_descriptor,
|
||||
new java.lang.String[] { "DataManifestVersion", "MetadataManifestVersion", });
|
||||
internal_static_greptime_v1_region_SyncRequest_descriptor =
|
||||
getDescriptor().getMessageTypes().get(31);
|
||||
getDescriptor().getMessageTypes().get(32);
|
||||
internal_static_greptime_v1_region_SyncRequest_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_greptime_v1_region_SyncRequest_descriptor,
|
||||
new java.lang.String[] { "RegionId", "MitoManifestInfo", "MetricManifestInfo", "ManifestInfo", });
|
||||
internal_static_greptime_v1_region_ListMetadataRequest_descriptor =
|
||||
getDescriptor().getMessageTypes().get(32);
|
||||
getDescriptor().getMessageTypes().get(33);
|
||||
internal_static_greptime_v1_region_ListMetadataRequest_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_greptime_v1_region_ListMetadataRequest_descriptor,
|
||||
new java.lang.String[] { "RegionIds", });
|
||||
internal_static_greptime_v1_region_BuildIndexRequest_descriptor =
|
||||
getDescriptor().getMessageTypes().get(33);
|
||||
getDescriptor().getMessageTypes().get(34);
|
||||
internal_static_greptime_v1_region_BuildIndexRequest_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_greptime_v1_region_BuildIndexRequest_descriptor,
|
||||
new java.lang.String[] { "RegionId", });
|
||||
internal_static_greptime_v1_region_FileMetas_descriptor =
|
||||
getDescriptor().getMessageTypes().get(34);
|
||||
getDescriptor().getMessageTypes().get(35);
|
||||
internal_static_greptime_v1_region_FileMetas_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_greptime_v1_region_FileMetas_descriptor,
|
||||
new java.lang.String[] { "Data", });
|
||||
internal_static_greptime_v1_region_ApplyStagingManifestRequest_descriptor =
|
||||
getDescriptor().getMessageTypes().get(35);
|
||||
getDescriptor().getMessageTypes().get(36);
|
||||
internal_static_greptime_v1_region_ApplyStagingManifestRequest_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_greptime_v1_region_ApplyStagingManifestRequest_descriptor,
|
||||
new java.lang.String[] { "RegionId", "PartitionExpr", "CentralRegionId", "ManifestPath", });
|
||||
internal_static_greptime_v1_region_RemoteDynFilterRequest_descriptor =
|
||||
getDescriptor().getMessageTypes().get(36);
|
||||
getDescriptor().getMessageTypes().get(37);
|
||||
internal_static_greptime_v1_region_RemoteDynFilterRequest_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_greptime_v1_region_RemoteDynFilterRequest_descriptor,
|
||||
new java.lang.String[] { "QueryId", "Update", "Unregister", "Action", });
|
||||
internal_static_greptime_v1_region_RemoteDynFilterUpdate_descriptor =
|
||||
getDescriptor().getMessageTypes().get(37);
|
||||
getDescriptor().getMessageTypes().get(38);
|
||||
internal_static_greptime_v1_region_RemoteDynFilterUpdate_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_greptime_v1_region_RemoteDynFilterUpdate_descriptor,
|
||||
new java.lang.String[] { "FilterId", "Payload", "Generation", "IsComplete", });
|
||||
internal_static_greptime_v1_region_RemoteDynFilterUnregister_descriptor =
|
||||
getDescriptor().getMessageTypes().get(38);
|
||||
getDescriptor().getMessageTypes().get(39);
|
||||
internal_static_greptime_v1_region_RemoteDynFilterUnregister_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_greptime_v1_region_RemoteDynFilterUnregister_descriptor,
|
||||
|
||||
@@ -256,6 +256,11 @@ message BulkInsertRequest {
|
||||
ArrowIpc arrow_ipc = 2;
|
||||
}
|
||||
PartitionExprVersion partition_expr_version = 3;
|
||||
AlignedSchemaVersion aligned_schema_version = 4;
|
||||
}
|
||||
|
||||
message AlignedSchemaVersion {
|
||||
uint64 schema_version = 1;
|
||||
}
|
||||
|
||||
// Manifest info for mito engine.
|
||||
|
||||
Executable
+7
@@ -0,0 +1,7 @@
|
||||
#! /usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
export PROTOC_INCLUDE=/opt/include
|
||||
|
||||
cargo run --manifest-path xtask/Cargo.toml -- generate-rust
|
||||
@@ -373,6 +373,8 @@ pub struct BulkInsertRequest {
|
||||
pub region_id: u64,
|
||||
#[prost(message, optional, tag = "3")]
|
||||
pub partition_expr_version: ::core::option::Option<super::PartitionExprVersion>,
|
||||
#[prost(message, optional, tag = "4")]
|
||||
pub aligned_schema_version: ::core::option::Option<AlignedSchemaVersion>,
|
||||
#[prost(oneof = "bulk_insert_request::Body", tags = "2")]
|
||||
pub body: ::core::option::Option<bulk_insert_request::Body>,
|
||||
}
|
||||
@@ -384,6 +386,11 @@ pub mod bulk_insert_request {
|
||||
ArrowIpc(super::super::ArrowIpc),
|
||||
}
|
||||
}
|
||||
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
|
||||
pub struct AlignedSchemaVersion {
|
||||
#[prost(uint64, tag = "1")]
|
||||
pub schema_version: u64,
|
||||
}
|
||||
/// Manifest info for mito engine.
|
||||
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
|
||||
pub struct MitoManifestInfo {
|
||||
|
||||
Binary file not shown.
+4
-1
@@ -102,7 +102,10 @@ fn generate_rust() -> Result<(), Box<dyn Error>> {
|
||||
.iter()
|
||||
.map(|path| repo_root.join(path))
|
||||
.collect();
|
||||
let include_dirs = [repo_root.join("proto")];
|
||||
let mut include_dirs = vec![repo_root.join("proto")];
|
||||
if let Some(protoc_include) = env::var_os("PROTOC_INCLUDE") {
|
||||
include_dirs.push(PathBuf::from(protoc_include));
|
||||
}
|
||||
|
||||
tonic_prost_build::configure()
|
||||
.out_dir(&generated_dir)
|
||||
|
||||
Reference in New Issue
Block a user