Compare commits

..

1 Commits

Author SHA1 Message Date
Dima Elenevich 158cd72202 [Feature]: Add russian language to analyzer
CI / Spell Check with Typos (pull_request) Has been cancelled
CI / Check (pull_request) Has been cancelled
CI / Protobuf Format (pull_request) Has been cancelled
CI / Rustfmt (pull_request) Has been cancelled
CI / Clippy (pull_request) Has been cancelled
License checker / license-header-check (pull_request) Has been cancelled
Semantic Pull Request / check (pull_request_target) Has been cancelled
2026-06-04 12:46:38 +03:00
14 changed files with 334 additions and 1689 deletions
+4
View File
@@ -37,6 +37,10 @@ jobs:
uses: Swatinem/rust-cache@v2 uses: Swatinem/rust-cache@v2
- name: Run cargo check - name: Run cargo check
run: cargo check --workspace --all-targets run: cargo check --workspace --all-targets
- uses: arduino/setup-protoc@v3
with:
version: '21.12'
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Generate protobuf - name: Generate protobuf
run: | run: |
make all make all
+19 -15
View File
@@ -1,25 +1,29 @@
.PHONY: all rust go go-deps java cpp build-builder-image .PHONY: all rust go go-deps java cpp check-protoc
PROTOC_CONTAINER=namely/protoc-all:1.51_2 BUILDER_CONTAINER=namely/protoc-all:1.51_2
BUILDER_CONTAINER=greptime/protoc-all-local:latest PROTOC_VERSION=3.21.12
BUILDER_DOCKERFILE=./docker/protoc-all/Dockerfile
BUILDER_CONTEXT=./docker/protoc-all
all: rust go java cpp all: rust go java cpp
build-builder-image: check-protoc:
docker build -f ${BUILDER_DOCKERFILE} -t ${BUILDER_CONTAINER} ${BUILDER_CONTEXT} @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
rust: build-builder-image rust: check-protoc
docker run --rm -t -w /greptime-proto \ cargo run --manifest-path xtask/Cargo.toml -- generate-rust
--user $(shell id -u):$(shell id -g) \
--entrypoint ./scripts/generate-rust.sh \
-v ${PWD}:/greptime-proto ${BUILDER_CONTAINER}
go: go-deps go: go-deps
docker run --rm -t -w /greptime-proto \ docker run --rm -t -w /greptime-proto \
--entrypoint ./scripts/generate-go.sh \ --entrypoint ./scripts/generate-go.sh \
-v ${PWD}:/greptime-proto ${PROTOC_CONTAINER} -v ${PWD}:/greptime-proto ${BUILDER_CONTAINER}
go-deps: go-deps:
go mod download go mod download
@@ -27,9 +31,9 @@ go-deps:
java: java:
docker run --rm -t -w /greptime-proto \ docker run --rm -t -w /greptime-proto \
--entrypoint ./scripts/generate-java.sh \ --entrypoint ./scripts/generate-java.sh \
-v ${PWD}:/greptime-proto ${PROTOC_CONTAINER} -v ${PWD}:/greptime-proto ${BUILDER_CONTAINER}
cpp: cpp:
docker run --rm -t -w /greptime-proto \ docker run --rm -t -w /greptime-proto \
--entrypoint ./scripts/generate-cpp.sh \ --entrypoint ./scripts/generate-cpp.sh \
-v ${PWD}:/greptime-proto ${PROTOC_CONTAINER} -v ${PWD}:/greptime-proto ${BUILDER_CONTAINER}
+3 -3
View File
@@ -7,7 +7,7 @@ GreptimeDB protobuf definitions and pre-generated Rust bindings.
### Requirement ### Requirement
- Rust consumers do not need `protoc`. - Rust consumers do not need `protoc`.
- Maintainers need Docker to regenerate checked-in bindings after `.proto` changes. - Maintainers need [google/protobuf][protobuf] v3 to regenerate Rust bindings after `.proto` changes.
### Command ### Command
@@ -29,7 +29,7 @@ GreptimeDB protobuf definitions and pre-generated Rust bindings.
make java make java
``` ```
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. The compilation for Go and Java will use builder container `namely/protoc-all`.
## Usage ## 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: When working in this repository, regenerate the checked-in Rust bindings after `.proto` changes with:
```console ```console
make rust cargo run --manifest-path xtask/Cargo.toml -- generate-rust
``` ```
### Go ### Go
+52 -302
View File
@@ -467,7 +467,6 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORIT
PROTOBUF_CONSTEXPR BulkInsertRequest::BulkInsertRequest( PROTOBUF_CONSTEXPR BulkInsertRequest::BulkInsertRequest(
::_pbi::ConstantInitialized): _impl_{ ::_pbi::ConstantInitialized): _impl_{
/*decltype(_impl_.partition_expr_version_)*/nullptr /*decltype(_impl_.partition_expr_version_)*/nullptr
, /*decltype(_impl_.aligned_schema_version_)*/nullptr
, /*decltype(_impl_.region_id_)*/uint64_t{0u} , /*decltype(_impl_.region_id_)*/uint64_t{0u}
, /*decltype(_impl_.body_)*/{} , /*decltype(_impl_.body_)*/{}
, /*decltype(_impl_._cached_size_)*/{} , /*decltype(_impl_._cached_size_)*/{}
@@ -481,19 +480,6 @@ struct BulkInsertRequestDefaultTypeInternal {
}; };
}; };
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BulkInsertRequestDefaultTypeInternal _BulkInsertRequest_default_instance_; 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( PROTOBUF_CONSTEXPR MitoManifestInfo::MitoManifestInfo(
::_pbi::ConstantInitialized): _impl_{ ::_pbi::ConstantInitialized): _impl_{
/*decltype(_impl_.data_manifest_version_)*/uint64_t{0u} /*decltype(_impl_.data_manifest_version_)*/uint64_t{0u}
@@ -639,7 +625,7 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORIT
} // namespace region } // namespace region
} // namespace v1 } // namespace v1
} // namespace greptime } // namespace greptime
static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[44]; static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[43];
static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_greptime_2fv1_2fregion_2fserver_2eproto = nullptr; 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; static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_greptime_2fv1_2fregion_2fserver_2eproto = nullptr;
@@ -954,16 +940,8 @@ const uint32_t TableStruct_greptime_2fv1_2fregion_2fserver_2eproto::offsets[] PR
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::BulkInsertRequest, _impl_.region_id_), PROTOBUF_FIELD_OFFSET(::greptime::v1::region::BulkInsertRequest, _impl_.region_id_),
::_pbi::kInvalidFieldOffsetTag, ::_pbi::kInvalidFieldOffsetTag,
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::BulkInsertRequest, _impl_.partition_expr_version_), PROTOBUF_FIELD_OFFSET(::greptime::v1::region::BulkInsertRequest, _impl_.partition_expr_version_),
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::BulkInsertRequest, _impl_.aligned_schema_version_),
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::BulkInsertRequest, _impl_.body_), PROTOBUF_FIELD_OFFSET(::greptime::v1::region::BulkInsertRequest, _impl_.body_),
~0u, // no _has_bits_ ~0u, // no _has_bits_
PROTOBUF_FIELD_OFFSET(::greptime::v1::region::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_), PROTOBUF_FIELD_OFFSET(::greptime::v1::region::MitoManifestInfo, _internal_metadata_),
~0u, // no _extensions_ ~0u, // no _extensions_
~0u, // no _oneof_case_ ~0u, // no _oneof_case_
@@ -1081,17 +1059,16 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode
{ 287, -1, -1, sizeof(::greptime::v1::region::All)}, { 287, -1, -1, sizeof(::greptime::v1::region::All)},
{ 293, -1, -1, sizeof(::greptime::v1::region::RegionColumnDef)}, { 293, -1, -1, sizeof(::greptime::v1::region::RegionColumnDef)},
{ 301, -1, -1, sizeof(::greptime::v1::region::BulkInsertRequest)}, { 301, -1, -1, sizeof(::greptime::v1::region::BulkInsertRequest)},
{ 312, -1, -1, sizeof(::greptime::v1::region::AlignedSchemaVersion)}, { 311, -1, -1, sizeof(::greptime::v1::region::MitoManifestInfo)},
{ 319, -1, -1, sizeof(::greptime::v1::region::MitoManifestInfo)}, { 318, -1, -1, sizeof(::greptime::v1::region::MetricManifestInfo)},
{ 326, -1, -1, sizeof(::greptime::v1::region::MetricManifestInfo)}, { 326, -1, -1, sizeof(::greptime::v1::region::SyncRequest)},
{ 334, -1, -1, sizeof(::greptime::v1::region::SyncRequest)}, { 336, -1, -1, sizeof(::greptime::v1::region::ListMetadataRequest)},
{ 344, -1, -1, sizeof(::greptime::v1::region::ListMetadataRequest)}, { 343, -1, -1, sizeof(::greptime::v1::region::BuildIndexRequest)},
{ 351, -1, -1, sizeof(::greptime::v1::region::BuildIndexRequest)}, { 350, -1, -1, sizeof(::greptime::v1::region::FileMetas)},
{ 358, -1, -1, sizeof(::greptime::v1::region::FileMetas)}, { 357, -1, -1, sizeof(::greptime::v1::region::ApplyStagingManifestRequest)},
{ 365, -1, -1, sizeof(::greptime::v1::region::ApplyStagingManifestRequest)}, { 367, -1, -1, sizeof(::greptime::v1::region::RemoteDynFilterRequest)},
{ 375, -1, -1, sizeof(::greptime::v1::region::RemoteDynFilterRequest)}, { 377, -1, -1, sizeof(::greptime::v1::region::RemoteDynFilterUpdate)},
{ 385, -1, -1, sizeof(::greptime::v1::region::RemoteDynFilterUpdate)}, { 387, -1, -1, sizeof(::greptime::v1::region::RemoteDynFilterUnregister)},
{ 395, -1, -1, sizeof(::greptime::v1::region::RemoteDynFilterUnregister)},
}; };
static const ::_pb::Message* const file_default_instances[] = { static const ::_pb::Message* const file_default_instances[] = {
@@ -1128,7 +1105,6 @@ static const ::_pb::Message* const file_default_instances[] = {
&::greptime::v1::region::_All_default_instance_._instance, &::greptime::v1::region::_All_default_instance_._instance,
&::greptime::v1::region::_RegionColumnDef_default_instance_._instance, &::greptime::v1::region::_RegionColumnDef_default_instance_._instance,
&::greptime::v1::region::_BulkInsertRequest_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::_MitoManifestInfo_default_instance_._instance,
&::greptime::v1::region::_MetricManifestInfo_default_instance_._instance, &::greptime::v1::region::_MetricManifestInfo_default_instance_._instance,
&::greptime::v1::region::_SyncRequest_default_instance_._instance, &::greptime::v1::region::_SyncRequest_default_instance_._instance,
@@ -1259,41 +1235,38 @@ const char descriptor_table_protodef_greptime_2fv1_2fregion_2fserver_2eproto[] P
"es\030\003 \001(\0132\027.greptime.v1.TimeRangesH\000B\006\n\004k" "es\030\003 \001(\0132\027.greptime.v1.TimeRangesH\000B\006\n\004k"
"ind\"\005\n\003All\"P\n\017RegionColumnDef\022*\n\ncolumn_" "ind\"\005\n\003All\"P\n\017RegionColumnDef\022*\n\ncolumn_"
"def\030\001 \001(\0132\026.greptime.v1.ColumnDef\022\021\n\tcol" "def\030\001 \001(\0132\026.greptime.v1.ColumnDef\022\021\n\tcol"
"umn_id\030\002 \001(\r\"\347\001\n\021BulkInsertRequest\022\021\n\tre" "umn_id\030\002 \001(\r\"\235\001\n\021BulkInsertRequest\022\021\n\tre"
"gion_id\030\001 \001(\004\022*\n\tarrow_ipc\030\002 \001(\0132\025.grept" "gion_id\030\001 \001(\004\022*\n\tarrow_ipc\030\002 \001(\0132\025.grept"
"ime.v1.ArrowIpcH\000\022A\n\026partition_expr_vers" "ime.v1.ArrowIpcH\000\022A\n\026partition_expr_vers"
"ion\030\003 \001(\0132!.greptime.v1.PartitionExprVer" "ion\030\003 \001(\0132!.greptime.v1.PartitionExprVer"
"sion\022H\n\026aligned_schema_version\030\004 \001(\0132(.g" "sionB\006\n\004body\"1\n\020MitoManifestInfo\022\035\n\025data"
"reptime.v1.region.AlignedSchemaVersionB\006" "_manifest_version\030\001 \001(\004\"V\n\022MetricManifes"
"\n\004body\".\n\024AlignedSchemaVersion\022\026\n\016schema" "tInfo\022\035\n\025data_manifest_version\030\001 \001(\004\022!\n\031"
"_version\030\001 \001(\004\"1\n\020MitoManifestInfo\022\035\n\025da" "metadata_manifest_version\030\002 \001(\004\"\275\001\n\013Sync"
"ta_manifest_version\030\001 \001(\004\"V\n\022MetricManif" "Request\022\021\n\tregion_id\030\001 \001(\004\022B\n\022mito_manif"
"estInfo\022\035\n\025data_manifest_version\030\001 \001(\004\022!" "est_info\030\002 \001(\0132$.greptime.v1.region.Mito"
"\n\031metadata_manifest_version\030\002 \001(\004\"\275\001\n\013Sy" "ManifestInfoH\000\022F\n\024metric_manifest_info\030\003"
"ncRequest\022\021\n\tregion_id\030\001 \001(\004\022B\n\022mito_man" " \001(\0132&.greptime.v1.region.MetricManifest"
"ifest_info\030\002 \001(\0132$.greptime.v1.region.Mi" "InfoH\000B\017\n\rmanifest_info\")\n\023ListMetadataR"
"toManifestInfoH\000\022F\n\024metric_manifest_info" "equest\022\022\n\nregion_ids\030\001 \003(\004\"&\n\021BuildIndex"
"\030\003 \001(\0132&.greptime.v1.region.MetricManife" "Request\022\021\n\tregion_id\030\001 \001(\004\"\031\n\tFileMetas\022"
"stInfoH\000B\017\n\rmanifest_info\")\n\023ListMetadat" "\014\n\004data\030\001 \001(\014\"z\n\033ApplyStagingManifestReq"
"aRequest\022\022\n\nregion_ids\030\001 \003(\004\"&\n\021BuildInd" "uest\022\021\n\tregion_id\030\001 \001(\004\022\026\n\016partition_exp"
"exRequest\022\021\n\tregion_id\030\001 \001(\004\"\031\n\tFileMeta" "r\030\002 \001(\t\022\031\n\021central_region_id\030\003 \001(\004\022\025\n\rma"
"s\022\014\n\004data\030\001 \001(\014\"z\n\033ApplyStagingManifestR" "nifest_path\030\004 \001(\t\"\266\001\n\026RemoteDynFilterReq"
"equest\022\021\n\tregion_id\030\001 \001(\004\022\026\n\016partition_e" "uest\022\020\n\010query_id\030\001 \001(\t\022;\n\006update\030\002 \001(\0132)"
"xpr\030\002 \001(\t\022\031\n\021central_region_id\030\003 \001(\004\022\025\n\r" ".greptime.v1.region.RemoteDynFilterUpdat"
"manifest_path\030\004 \001(\t\"\266\001\n\026RemoteDynFilterR" "eH\000\022C\n\nunregister\030\003 \001(\0132-.greptime.v1.re"
"equest\022\020\n\010query_id\030\001 \001(\t\022;\n\006update\030\002 \001(\013" "gion.RemoteDynFilterUnregisterH\000B\010\n\006acti"
"2).greptime.v1.region.RemoteDynFilterUpd" "on\"d\n\025RemoteDynFilterUpdate\022\021\n\tfilter_id"
"ateH\000\022C\n\nunregister\030\003 \001(\0132-.greptime.v1." "\030\001 \001(\t\022\017\n\007payload\030\002 \001(\014\022\022\n\ngeneration\030\003 "
"region.RemoteDynFilterUnregisterH\000B\010\n\006ac" "\001(\004\022\023\n\013is_complete\030\004 \001(\010\".\n\031RemoteDynFil"
"tion\"d\n\025RemoteDynFilterUpdate\022\021\n\tfilter_" "terUnregister\022\021\n\tfilter_id\030\001 \001(\t2Y\n\006Regi"
"id\030\001 \001(\t\022\017\n\007payload\030\002 \001(\014\022\022\n\ngeneration\030" "on\022O\n\006Handle\022!.greptime.v1.region.Region"
"\003 \001(\004\022\023\n\013is_complete\030\004 \001(\010\".\n\031RemoteDynF" "Request\032\".greptime.v1.region.RegionRespo"
"ilterUnregister\022\021\n\tfilter_id\030\001 \001(\t2Y\n\006Re" "nseB]\n\025io.greptime.v1.regionB\006ServerZ<gi"
"gion\022O\n\006Handle\022!.greptime.v1.region.Regi" "thub.com/GreptimeTeam/greptime-proto/go/"
"onRequest\032\".greptime.v1.region.RegionRes" "greptime/v1/regionb\006proto3"
"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] = { static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_deps[4] = {
&::descriptor_table_greptime_2fv1_2fcommon_2eproto, &::descriptor_table_greptime_2fv1_2fcommon_2eproto,
@@ -1303,9 +1276,9 @@ static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2freg
}; };
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_once; static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_once;
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto = { const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto = {
false, false, 6068, descriptor_table_protodef_greptime_2fv1_2fregion_2fserver_2eproto, false, false, 5946, descriptor_table_protodef_greptime_2fv1_2fregion_2fserver_2eproto,
"greptime/v1/region/server.proto", "greptime/v1/region/server.proto",
&descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_once, descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_deps, 4, 44, &descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_once, descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_deps, 4, 43,
schemas, file_default_instances, TableStruct_greptime_2fv1_2fregion_2fserver_2eproto::offsets, schemas, file_default_instances, TableStruct_greptime_2fv1_2fregion_2fserver_2eproto::offsets,
file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto, file_level_enum_descriptors_greptime_2fv1_2fregion_2fserver_2eproto, 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, file_level_service_descriptors_greptime_2fv1_2fregion_2fserver_2eproto,
@@ -9811,7 +9784,6 @@ class BulkInsertRequest::_Internal {
public: public:
static const ::greptime::v1::ArrowIpc& arrow_ipc(const BulkInsertRequest* msg); 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::PartitionExprVersion& partition_expr_version(const BulkInsertRequest* msg);
static const ::greptime::v1::region::AlignedSchemaVersion& aligned_schema_version(const BulkInsertRequest* msg);
}; };
const ::greptime::v1::ArrowIpc& const ::greptime::v1::ArrowIpc&
@@ -9822,10 +9794,6 @@ const ::greptime::v1::PartitionExprVersion&
BulkInsertRequest::_Internal::partition_expr_version(const BulkInsertRequest* msg) { BulkInsertRequest::_Internal::partition_expr_version(const BulkInsertRequest* msg) {
return *msg->_impl_.partition_expr_version_; 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) { void BulkInsertRequest::set_allocated_arrow_ipc(::greptime::v1::ArrowIpc* arrow_ipc) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
clear_body(); clear_body();
@@ -9867,7 +9835,6 @@ BulkInsertRequest::BulkInsertRequest(const BulkInsertRequest& from)
BulkInsertRequest* const _this = this; (void)_this; BulkInsertRequest* const _this = this; (void)_this;
new (&_impl_) Impl_{ new (&_impl_) Impl_{
decltype(_impl_.partition_expr_version_){nullptr} decltype(_impl_.partition_expr_version_){nullptr}
, decltype(_impl_.aligned_schema_version_){nullptr}
, decltype(_impl_.region_id_){} , decltype(_impl_.region_id_){}
, decltype(_impl_.body_){} , decltype(_impl_.body_){}
, /*decltype(_impl_._cached_size_)*/{} , /*decltype(_impl_._cached_size_)*/{}
@@ -9877,9 +9844,6 @@ BulkInsertRequest::BulkInsertRequest(const BulkInsertRequest& from)
if (from._internal_has_partition_expr_version()) { if (from._internal_has_partition_expr_version()) {
_this->_impl_.partition_expr_version_ = new ::greptime::v1::PartitionExprVersion(*from._impl_.partition_expr_version_); _this->_impl_.partition_expr_version_ = new ::greptime::v1::PartitionExprVersion(*from._impl_.partition_expr_version_);
} }
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_; _this->_impl_.region_id_ = from._impl_.region_id_;
clear_has_body(); clear_has_body();
switch (from.body_case()) { switch (from.body_case()) {
@@ -9901,7 +9865,6 @@ inline void BulkInsertRequest::SharedCtor(
(void)is_message_owned; (void)is_message_owned;
new (&_impl_) Impl_{ new (&_impl_) Impl_{
decltype(_impl_.partition_expr_version_){nullptr} decltype(_impl_.partition_expr_version_){nullptr}
, decltype(_impl_.aligned_schema_version_){nullptr}
, decltype(_impl_.region_id_){uint64_t{0u}} , decltype(_impl_.region_id_){uint64_t{0u}}
, decltype(_impl_.body_){} , decltype(_impl_.body_){}
, /*decltype(_impl_._cached_size_)*/{} , /*decltype(_impl_._cached_size_)*/{}
@@ -9922,7 +9885,6 @@ BulkInsertRequest::~BulkInsertRequest() {
inline void BulkInsertRequest::SharedDtor() { inline void BulkInsertRequest::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
if (this != internal_default_instance()) delete _impl_.partition_expr_version_; if (this != internal_default_instance()) delete _impl_.partition_expr_version_;
if (this != internal_default_instance()) delete _impl_.aligned_schema_version_;
if (has_body()) { if (has_body()) {
clear_body(); clear_body();
} }
@@ -9959,10 +9921,6 @@ void BulkInsertRequest::Clear() {
delete _impl_.partition_expr_version_; delete _impl_.partition_expr_version_;
} }
_impl_.partition_expr_version_ = nullptr; _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}; _impl_.region_id_ = uint64_t{0u};
clear_body(); clear_body();
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
@@ -9998,14 +9956,6 @@ const char* BulkInsertRequest::_InternalParse(const char* ptr, ::_pbi::ParseCont
} else } else
goto handle_unusual; goto handle_unusual;
continue; 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: default:
goto handle_unusual; goto handle_unusual;
} // switch } // switch
@@ -10055,13 +10005,6 @@ uint8_t* BulkInsertRequest::_InternalSerialize(
_Internal::partition_expr_version(this).GetCachedSize(), target, stream); _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())) { if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
@@ -10085,13 +10028,6 @@ size_t BulkInsertRequest::ByteSizeLong() const {
*_impl_.partition_expr_version_); *_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; // uint64 region_id = 1;
if (this->_internal_region_id() != 0) { if (this->_internal_region_id() != 0) {
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_region_id()); total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_region_id());
@@ -10131,10 +10067,6 @@ void BulkInsertRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, cons
_this->_internal_mutable_partition_expr_version()->::greptime::v1::PartitionExprVersion::MergeFrom( _this->_internal_mutable_partition_expr_version()->::greptime::v1::PartitionExprVersion::MergeFrom(
from._internal_partition_expr_version()); 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) { if (from._internal_region_id() != 0) {
_this->_internal_set_region_id(from._internal_region_id()); _this->_internal_set_region_id(from._internal_region_id());
} }
@@ -10183,184 +10115,6 @@ 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 { class MitoManifestInfo::_Internal {
public: public:
}; };
@@ -10534,7 +10288,7 @@ void MitoManifestInfo::InternalSwap(MitoManifestInfo* other) {
::PROTOBUF_NAMESPACE_ID::Metadata MitoManifestInfo::GetMetadata() const { ::PROTOBUF_NAMESPACE_ID::Metadata MitoManifestInfo::GetMetadata() const {
return ::_pbi::AssignDescriptors( return ::_pbi::AssignDescriptors(
&descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_getter, &descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_once, &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[33]);
} }
// =================================================================== // ===================================================================
@@ -10745,7 +10499,7 @@ void MetricManifestInfo::InternalSwap(MetricManifestInfo* other) {
::PROTOBUF_NAMESPACE_ID::Metadata MetricManifestInfo::GetMetadata() const { ::PROTOBUF_NAMESPACE_ID::Metadata MetricManifestInfo::GetMetadata() const {
return ::_pbi::AssignDescriptors( return ::_pbi::AssignDescriptors(
&descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_getter, &descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_once, &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[34]);
} }
// =================================================================== // ===================================================================
@@ -11077,7 +10831,7 @@ void SyncRequest::InternalSwap(SyncRequest* other) {
::PROTOBUF_NAMESPACE_ID::Metadata SyncRequest::GetMetadata() const { ::PROTOBUF_NAMESPACE_ID::Metadata SyncRequest::GetMetadata() const {
return ::_pbi::AssignDescriptors( return ::_pbi::AssignDescriptors(
&descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_getter, &descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_once, &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[35]);
} }
// =================================================================== // ===================================================================
@@ -11270,7 +11024,7 @@ void ListMetadataRequest::InternalSwap(ListMetadataRequest* other) {
::PROTOBUF_NAMESPACE_ID::Metadata ListMetadataRequest::GetMetadata() const { ::PROTOBUF_NAMESPACE_ID::Metadata ListMetadataRequest::GetMetadata() const {
return ::_pbi::AssignDescriptors( return ::_pbi::AssignDescriptors(
&descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_getter, &descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_once, &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[36]);
} }
// =================================================================== // ===================================================================
@@ -11448,7 +11202,7 @@ void BuildIndexRequest::InternalSwap(BuildIndexRequest* other) {
::PROTOBUF_NAMESPACE_ID::Metadata BuildIndexRequest::GetMetadata() const { ::PROTOBUF_NAMESPACE_ID::Metadata BuildIndexRequest::GetMetadata() const {
return ::_pbi::AssignDescriptors( return ::_pbi::AssignDescriptors(
&descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_getter, &descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_once, &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[37]);
} }
// =================================================================== // ===================================================================
@@ -11646,7 +11400,7 @@ void FileMetas::InternalSwap(FileMetas* other) {
::PROTOBUF_NAMESPACE_ID::Metadata FileMetas::GetMetadata() const { ::PROTOBUF_NAMESPACE_ID::Metadata FileMetas::GetMetadata() const {
return ::_pbi::AssignDescriptors( return ::_pbi::AssignDescriptors(
&descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_getter, &descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_once, &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[38]);
} }
// =================================================================== // ===================================================================
@@ -11959,7 +11713,7 @@ void ApplyStagingManifestRequest::InternalSwap(ApplyStagingManifestRequest* othe
::PROTOBUF_NAMESPACE_ID::Metadata ApplyStagingManifestRequest::GetMetadata() const { ::PROTOBUF_NAMESPACE_ID::Metadata ApplyStagingManifestRequest::GetMetadata() const {
return ::_pbi::AssignDescriptors( return ::_pbi::AssignDescriptors(
&descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_getter, &descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_once, &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[39]);
} }
// =================================================================== // ===================================================================
@@ -12316,7 +12070,7 @@ void RemoteDynFilterRequest::InternalSwap(RemoteDynFilterRequest* other) {
::PROTOBUF_NAMESPACE_ID::Metadata RemoteDynFilterRequest::GetMetadata() const { ::PROTOBUF_NAMESPACE_ID::Metadata RemoteDynFilterRequest::GetMetadata() const {
return ::_pbi::AssignDescriptors( return ::_pbi::AssignDescriptors(
&descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_getter, &descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_once, &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[40]);
} }
// =================================================================== // ===================================================================
@@ -12624,7 +12378,7 @@ void RemoteDynFilterUpdate::InternalSwap(RemoteDynFilterUpdate* other) {
::PROTOBUF_NAMESPACE_ID::Metadata RemoteDynFilterUpdate::GetMetadata() const { ::PROTOBUF_NAMESPACE_ID::Metadata RemoteDynFilterUpdate::GetMetadata() const {
return ::_pbi::AssignDescriptors( return ::_pbi::AssignDescriptors(
&descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_getter, &descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_once, &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[41]);
} }
// =================================================================== // ===================================================================
@@ -12827,7 +12581,7 @@ void RemoteDynFilterUnregister::InternalSwap(RemoteDynFilterUnregister* other) {
::PROTOBUF_NAMESPACE_ID::Metadata RemoteDynFilterUnregister::GetMetadata() const { ::PROTOBUF_NAMESPACE_ID::Metadata RemoteDynFilterUnregister::GetMetadata() const {
return ::_pbi::AssignDescriptors( return ::_pbi::AssignDescriptors(
&descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_getter, &descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_once, &descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_getter, &descriptor_table_greptime_2fv1_2fregion_2fserver_2eproto_once,
file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[43]); file_level_metadata_greptime_2fv1_2fregion_2fserver_2eproto[42]);
} }
// @@protoc_insertion_point(namespace_scope) // @@protoc_insertion_point(namespace_scope)
@@ -12967,10 +12721,6 @@ template<> PROTOBUF_NOINLINE ::greptime::v1::region::BulkInsertRequest*
Arena::CreateMaybeMessage< ::greptime::v1::region::BulkInsertRequest >(Arena* arena) { Arena::CreateMaybeMessage< ::greptime::v1::region::BulkInsertRequest >(Arena* arena) {
return Arena::CreateMessageInternal< ::greptime::v1::region::BulkInsertRequest >(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* template<> PROTOBUF_NOINLINE ::greptime::v1::region::MitoManifestInfo*
Arena::CreateMaybeMessage< ::greptime::v1::region::MitoManifestInfo >(Arena* arena) { Arena::CreateMaybeMessage< ::greptime::v1::region::MitoManifestInfo >(Arena* arena) {
return Arena::CreateMessageInternal< ::greptime::v1::region::MitoManifestInfo >(arena); return Arena::CreateMessageInternal< ::greptime::v1::region::MitoManifestInfo >(arena);
+10 -298
View File
@@ -61,9 +61,6 @@ extern AddColumnDefaultTypeInternal _AddColumn_default_instance_;
class AddColumns; class AddColumns;
struct AddColumnsDefaultTypeInternal; struct AddColumnsDefaultTypeInternal;
extern AddColumnsDefaultTypeInternal _AddColumns_default_instance_; extern AddColumnsDefaultTypeInternal _AddColumns_default_instance_;
class AlignedSchemaVersion;
struct AlignedSchemaVersionDefaultTypeInternal;
extern AlignedSchemaVersionDefaultTypeInternal _AlignedSchemaVersion_default_instance_;
class All; class All;
struct AllDefaultTypeInternal; struct AllDefaultTypeInternal;
extern AllDefaultTypeInternal _All_default_instance_; extern AllDefaultTypeInternal _All_default_instance_;
@@ -193,7 +190,6 @@ extern TruncateRequestDefaultTypeInternal _TruncateRequest_default_instance_;
PROTOBUF_NAMESPACE_OPEN PROTOBUF_NAMESPACE_OPEN
template<> ::greptime::v1::region::AddColumn* Arena::CreateMaybeMessage<::greptime::v1::region::AddColumn>(Arena*); 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::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::All* Arena::CreateMaybeMessage<::greptime::v1::region::All>(Arena*);
template<> ::greptime::v1::region::AlterRequest* Arena::CreateMaybeMessage<::greptime::v1::region::AlterRequest>(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*); template<> ::greptime::v1::region::AlterRequests* Arena::CreateMaybeMessage<::greptime::v1::region::AlterRequests>(Arena*);
@@ -6004,7 +6000,6 @@ class BulkInsertRequest final :
enum : int { enum : int {
kPartitionExprVersionFieldNumber = 3, kPartitionExprVersionFieldNumber = 3,
kAlignedSchemaVersionFieldNumber = 4,
kRegionIdFieldNumber = 1, kRegionIdFieldNumber = 1,
kArrowIpcFieldNumber = 2, kArrowIpcFieldNumber = 2,
}; };
@@ -6026,24 +6021,6 @@ class BulkInsertRequest final :
::greptime::v1::PartitionExprVersion* partition_expr_version); ::greptime::v1::PartitionExprVersion* partition_expr_version);
::greptime::v1::PartitionExprVersion* unsafe_arena_release_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; // uint64 region_id = 1;
void clear_region_id(); void clear_region_id();
uint64_t region_id() const; uint64_t region_id() const;
@@ -6086,7 +6063,6 @@ class BulkInsertRequest final :
typedef void DestructorSkippable_; typedef void DestructorSkippable_;
struct Impl_ { struct Impl_ {
::greptime::v1::PartitionExprVersion* partition_expr_version_; ::greptime::v1::PartitionExprVersion* partition_expr_version_;
::greptime::v1::region::AlignedSchemaVersion* aligned_schema_version_;
uint64_t region_id_; uint64_t region_id_;
union BodyUnion { union BodyUnion {
constexpr BodyUnion() : _constinit_{} {} constexpr BodyUnion() : _constinit_{} {}
@@ -6102,154 +6078,6 @@ 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 : class MitoManifestInfo final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.region.MitoManifestInfo) */ { public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.region.MitoManifestInfo) */ {
public: public:
@@ -6298,7 +6126,7 @@ class MitoManifestInfo final :
&_MitoManifestInfo_default_instance_); &_MitoManifestInfo_default_instance_);
} }
static constexpr int kIndexInFileMessages = static constexpr int kIndexInFileMessages =
34; 33;
friend void swap(MitoManifestInfo& a, MitoManifestInfo& b) { friend void swap(MitoManifestInfo& a, MitoManifestInfo& b) {
a.Swap(&b); a.Swap(&b);
@@ -6446,7 +6274,7 @@ class MetricManifestInfo final :
&_MetricManifestInfo_default_instance_); &_MetricManifestInfo_default_instance_);
} }
static constexpr int kIndexInFileMessages = static constexpr int kIndexInFileMessages =
35; 34;
friend void swap(MetricManifestInfo& a, MetricManifestInfo& b) { friend void swap(MetricManifestInfo& a, MetricManifestInfo& b) {
a.Swap(&b); a.Swap(&b);
@@ -6611,7 +6439,7 @@ class SyncRequest final :
&_SyncRequest_default_instance_); &_SyncRequest_default_instance_);
} }
static constexpr int kIndexInFileMessages = static constexpr int kIndexInFileMessages =
36; 35;
friend void swap(SyncRequest& a, SyncRequest& b) { friend void swap(SyncRequest& a, SyncRequest& b) {
a.Swap(&b); a.Swap(&b);
@@ -6812,7 +6640,7 @@ class ListMetadataRequest final :
&_ListMetadataRequest_default_instance_); &_ListMetadataRequest_default_instance_);
} }
static constexpr int kIndexInFileMessages = static constexpr int kIndexInFileMessages =
37; 36;
friend void swap(ListMetadataRequest& a, ListMetadataRequest& b) { friend void swap(ListMetadataRequest& a, ListMetadataRequest& b) {
a.Swap(&b); a.Swap(&b);
@@ -6974,7 +6802,7 @@ class BuildIndexRequest final :
&_BuildIndexRequest_default_instance_); &_BuildIndexRequest_default_instance_);
} }
static constexpr int kIndexInFileMessages = static constexpr int kIndexInFileMessages =
38; 37;
friend void swap(BuildIndexRequest& a, BuildIndexRequest& b) { friend void swap(BuildIndexRequest& a, BuildIndexRequest& b) {
a.Swap(&b); a.Swap(&b);
@@ -7122,7 +6950,7 @@ class FileMetas final :
&_FileMetas_default_instance_); &_FileMetas_default_instance_);
} }
static constexpr int kIndexInFileMessages = static constexpr int kIndexInFileMessages =
39; 38;
friend void swap(FileMetas& a, FileMetas& b) { friend void swap(FileMetas& a, FileMetas& b) {
a.Swap(&b); a.Swap(&b);
@@ -7275,7 +7103,7 @@ class ApplyStagingManifestRequest final :
&_ApplyStagingManifestRequest_default_instance_); &_ApplyStagingManifestRequest_default_instance_);
} }
static constexpr int kIndexInFileMessages = static constexpr int kIndexInFileMessages =
40; 39;
friend void swap(ApplyStagingManifestRequest& a, ApplyStagingManifestRequest& b) { friend void swap(ApplyStagingManifestRequest& a, ApplyStagingManifestRequest& b) {
a.Swap(&b); a.Swap(&b);
@@ -7472,7 +7300,7 @@ class RemoteDynFilterRequest final :
&_RemoteDynFilterRequest_default_instance_); &_RemoteDynFilterRequest_default_instance_);
} }
static constexpr int kIndexInFileMessages = static constexpr int kIndexInFileMessages =
41; 40;
friend void swap(RemoteDynFilterRequest& a, RemoteDynFilterRequest& b) { friend void swap(RemoteDynFilterRequest& a, RemoteDynFilterRequest& b) {
a.Swap(&b); a.Swap(&b);
@@ -7678,7 +7506,7 @@ class RemoteDynFilterUpdate final :
&_RemoteDynFilterUpdate_default_instance_); &_RemoteDynFilterUpdate_default_instance_);
} }
static constexpr int kIndexInFileMessages = static constexpr int kIndexInFileMessages =
42; 41;
friend void swap(RemoteDynFilterUpdate& a, RemoteDynFilterUpdate& b) { friend void swap(RemoteDynFilterUpdate& a, RemoteDynFilterUpdate& b) {
a.Swap(&b); a.Swap(&b);
@@ -7869,7 +7697,7 @@ class RemoteDynFilterUnregister final :
&_RemoteDynFilterUnregister_default_instance_); &_RemoteDynFilterUnregister_default_instance_);
} }
static constexpr int kIndexInFileMessages = static constexpr int kIndexInFileMessages =
43; 42;
friend void swap(RemoteDynFilterUnregister& a, RemoteDynFilterUnregister& b) { friend void swap(RemoteDynFilterUnregister& a, RemoteDynFilterUnregister& b) {
a.Swap(&b); a.Swap(&b);
@@ -13178,96 +13006,6 @@ inline void BulkInsertRequest::set_allocated_partition_expr_version(::greptime::
// @@protoc_insertion_point(field_set_allocated:greptime.v1.region.BulkInsertRequest.partition_expr_version) // @@protoc_insertion_point(field_set_allocated:greptime.v1.region.BulkInsertRequest.partition_expr_version)
} }
// .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 { inline bool BulkInsertRequest::has_body() const {
return body_case() != BODY_NOT_SET; return body_case() != BODY_NOT_SET;
} }
@@ -13279,30 +13017,6 @@ 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 // MitoManifestInfo
// uint64 data_manifest_version = 1; // uint64 data_manifest_version = 1;
@@ -14319,8 +14033,6 @@ inline void RemoteDynFilterUnregister::set_allocated_filter_id(std::string* filt
// ------------------------------------------------------------------- // -------------------------------------------------------------------
// -------------------------------------------------------------------
// @@protoc_insertion_point(namespace_scope) // @@protoc_insertion_point(namespace_scope)
-19
View File
@@ -1,19 +0,0 @@
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
+202 -281
View File
@@ -2158,7 +2158,6 @@ type BulkInsertRequest struct {
// *BulkInsertRequest_ArrowIpc // *BulkInsertRequest_ArrowIpc
Body isBulkInsertRequest_Body `protobuf_oneof:"body"` Body isBulkInsertRequest_Body `protobuf_oneof:"body"`
PartitionExprVersion *v1.PartitionExprVersion `protobuf:"bytes,3,opt,name=partition_expr_version,json=partitionExprVersion,proto3" json:"partition_expr_version,omitempty"` PartitionExprVersion *v1.PartitionExprVersion `protobuf:"bytes,3,opt,name=partition_expr_version,json=partitionExprVersion,proto3" json:"partition_expr_version,omitempty"`
AlignedSchemaVersion *AlignedSchemaVersion `protobuf:"bytes,4,opt,name=aligned_schema_version,json=alignedSchemaVersion,proto3" json:"aligned_schema_version,omitempty"`
} }
func (x *BulkInsertRequest) Reset() { func (x *BulkInsertRequest) Reset() {
@@ -2221,13 +2220,6 @@ func (x *BulkInsertRequest) GetPartitionExprVersion() *v1.PartitionExprVersion {
return nil return nil
} }
func (x *BulkInsertRequest) GetAlignedSchemaVersion() *AlignedSchemaVersion {
if x != nil {
return x.AlignedSchemaVersion
}
return nil
}
type isBulkInsertRequest_Body interface { type isBulkInsertRequest_Body interface {
isBulkInsertRequest_Body() isBulkInsertRequest_Body()
} }
@@ -2238,53 +2230,6 @@ type BulkInsertRequest_ArrowIpc struct {
func (*BulkInsertRequest_ArrowIpc) isBulkInsertRequest_Body() {} 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. // Manifest info for mito engine.
type MitoManifestInfo struct { type MitoManifestInfo struct {
state protoimpl.MessageState state protoimpl.MessageState
@@ -2297,7 +2242,7 @@ type MitoManifestInfo struct {
func (x *MitoManifestInfo) Reset() { func (x *MitoManifestInfo) Reset() {
*x = MitoManifestInfo{} *x = MitoManifestInfo{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_greptime_v1_region_server_proto_msgTypes[30] mi := &file_greptime_v1_region_server_proto_msgTypes[29]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -2310,7 +2255,7 @@ func (x *MitoManifestInfo) String() string {
func (*MitoManifestInfo) ProtoMessage() {} func (*MitoManifestInfo) ProtoMessage() {}
func (x *MitoManifestInfo) ProtoReflect() protoreflect.Message { func (x *MitoManifestInfo) ProtoReflect() protoreflect.Message {
mi := &file_greptime_v1_region_server_proto_msgTypes[30] mi := &file_greptime_v1_region_server_proto_msgTypes[29]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -2323,7 +2268,7 @@ func (x *MitoManifestInfo) ProtoReflect() protoreflect.Message {
// Deprecated: Use MitoManifestInfo.ProtoReflect.Descriptor instead. // Deprecated: Use MitoManifestInfo.ProtoReflect.Descriptor instead.
func (*MitoManifestInfo) Descriptor() ([]byte, []int) { func (*MitoManifestInfo) Descriptor() ([]byte, []int) {
return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{30} return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{29}
} }
func (x *MitoManifestInfo) GetDataManifestVersion() uint64 { func (x *MitoManifestInfo) GetDataManifestVersion() uint64 {
@@ -2346,7 +2291,7 @@ type MetricManifestInfo struct {
func (x *MetricManifestInfo) Reset() { func (x *MetricManifestInfo) Reset() {
*x = MetricManifestInfo{} *x = MetricManifestInfo{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_greptime_v1_region_server_proto_msgTypes[31] mi := &file_greptime_v1_region_server_proto_msgTypes[30]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -2359,7 +2304,7 @@ func (x *MetricManifestInfo) String() string {
func (*MetricManifestInfo) ProtoMessage() {} func (*MetricManifestInfo) ProtoMessage() {}
func (x *MetricManifestInfo) ProtoReflect() protoreflect.Message { func (x *MetricManifestInfo) ProtoReflect() protoreflect.Message {
mi := &file_greptime_v1_region_server_proto_msgTypes[31] mi := &file_greptime_v1_region_server_proto_msgTypes[30]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -2372,7 +2317,7 @@ func (x *MetricManifestInfo) ProtoReflect() protoreflect.Message {
// Deprecated: Use MetricManifestInfo.ProtoReflect.Descriptor instead. // Deprecated: Use MetricManifestInfo.ProtoReflect.Descriptor instead.
func (*MetricManifestInfo) Descriptor() ([]byte, []int) { func (*MetricManifestInfo) Descriptor() ([]byte, []int) {
return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{31} return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{30}
} }
func (x *MetricManifestInfo) GetDataManifestVersion() uint64 { func (x *MetricManifestInfo) GetDataManifestVersion() uint64 {
@@ -2406,7 +2351,7 @@ type SyncRequest struct {
func (x *SyncRequest) Reset() { func (x *SyncRequest) Reset() {
*x = SyncRequest{} *x = SyncRequest{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_greptime_v1_region_server_proto_msgTypes[32] mi := &file_greptime_v1_region_server_proto_msgTypes[31]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -2419,7 +2364,7 @@ func (x *SyncRequest) String() string {
func (*SyncRequest) ProtoMessage() {} func (*SyncRequest) ProtoMessage() {}
func (x *SyncRequest) ProtoReflect() protoreflect.Message { func (x *SyncRequest) ProtoReflect() protoreflect.Message {
mi := &file_greptime_v1_region_server_proto_msgTypes[32] mi := &file_greptime_v1_region_server_proto_msgTypes[31]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -2432,7 +2377,7 @@ func (x *SyncRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use SyncRequest.ProtoReflect.Descriptor instead. // Deprecated: Use SyncRequest.ProtoReflect.Descriptor instead.
func (*SyncRequest) Descriptor() ([]byte, []int) { func (*SyncRequest) Descriptor() ([]byte, []int) {
return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{32} return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{31}
} }
func (x *SyncRequest) GetRegionId() uint64 { func (x *SyncRequest) GetRegionId() uint64 {
@@ -2491,7 +2436,7 @@ type ListMetadataRequest struct {
func (x *ListMetadataRequest) Reset() { func (x *ListMetadataRequest) Reset() {
*x = ListMetadataRequest{} *x = ListMetadataRequest{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_greptime_v1_region_server_proto_msgTypes[33] mi := &file_greptime_v1_region_server_proto_msgTypes[32]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -2504,7 +2449,7 @@ func (x *ListMetadataRequest) String() string {
func (*ListMetadataRequest) ProtoMessage() {} func (*ListMetadataRequest) ProtoMessage() {}
func (x *ListMetadataRequest) ProtoReflect() protoreflect.Message { func (x *ListMetadataRequest) ProtoReflect() protoreflect.Message {
mi := &file_greptime_v1_region_server_proto_msgTypes[33] mi := &file_greptime_v1_region_server_proto_msgTypes[32]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -2517,7 +2462,7 @@ func (x *ListMetadataRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use ListMetadataRequest.ProtoReflect.Descriptor instead. // Deprecated: Use ListMetadataRequest.ProtoReflect.Descriptor instead.
func (*ListMetadataRequest) Descriptor() ([]byte, []int) { func (*ListMetadataRequest) Descriptor() ([]byte, []int) {
return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{33} return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{32}
} }
func (x *ListMetadataRequest) GetRegionIds() []uint64 { func (x *ListMetadataRequest) GetRegionIds() []uint64 {
@@ -2538,7 +2483,7 @@ type BuildIndexRequest struct {
func (x *BuildIndexRequest) Reset() { func (x *BuildIndexRequest) Reset() {
*x = BuildIndexRequest{} *x = BuildIndexRequest{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_greptime_v1_region_server_proto_msgTypes[34] mi := &file_greptime_v1_region_server_proto_msgTypes[33]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -2551,7 +2496,7 @@ func (x *BuildIndexRequest) String() string {
func (*BuildIndexRequest) ProtoMessage() {} func (*BuildIndexRequest) ProtoMessage() {}
func (x *BuildIndexRequest) ProtoReflect() protoreflect.Message { func (x *BuildIndexRequest) ProtoReflect() protoreflect.Message {
mi := &file_greptime_v1_region_server_proto_msgTypes[34] mi := &file_greptime_v1_region_server_proto_msgTypes[33]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -2564,7 +2509,7 @@ func (x *BuildIndexRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use BuildIndexRequest.ProtoReflect.Descriptor instead. // Deprecated: Use BuildIndexRequest.ProtoReflect.Descriptor instead.
func (*BuildIndexRequest) Descriptor() ([]byte, []int) { func (*BuildIndexRequest) Descriptor() ([]byte, []int) {
return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{34} return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{33}
} }
func (x *BuildIndexRequest) GetRegionId() uint64 { func (x *BuildIndexRequest) GetRegionId() uint64 {
@@ -2587,7 +2532,7 @@ type FileMetas struct {
func (x *FileMetas) Reset() { func (x *FileMetas) Reset() {
*x = FileMetas{} *x = FileMetas{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_greptime_v1_region_server_proto_msgTypes[35] mi := &file_greptime_v1_region_server_proto_msgTypes[34]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -2600,7 +2545,7 @@ func (x *FileMetas) String() string {
func (*FileMetas) ProtoMessage() {} func (*FileMetas) ProtoMessage() {}
func (x *FileMetas) ProtoReflect() protoreflect.Message { func (x *FileMetas) ProtoReflect() protoreflect.Message {
mi := &file_greptime_v1_region_server_proto_msgTypes[35] mi := &file_greptime_v1_region_server_proto_msgTypes[34]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -2613,7 +2558,7 @@ func (x *FileMetas) ProtoReflect() protoreflect.Message {
// Deprecated: Use FileMetas.ProtoReflect.Descriptor instead. // Deprecated: Use FileMetas.ProtoReflect.Descriptor instead.
func (*FileMetas) Descriptor() ([]byte, []int) { func (*FileMetas) Descriptor() ([]byte, []int) {
return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{35} return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{34}
} }
func (x *FileMetas) GetData() []byte { func (x *FileMetas) GetData() []byte {
@@ -2642,7 +2587,7 @@ type ApplyStagingManifestRequest struct {
func (x *ApplyStagingManifestRequest) Reset() { func (x *ApplyStagingManifestRequest) Reset() {
*x = ApplyStagingManifestRequest{} *x = ApplyStagingManifestRequest{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_greptime_v1_region_server_proto_msgTypes[36] mi := &file_greptime_v1_region_server_proto_msgTypes[35]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -2655,7 +2600,7 @@ func (x *ApplyStagingManifestRequest) String() string {
func (*ApplyStagingManifestRequest) ProtoMessage() {} func (*ApplyStagingManifestRequest) ProtoMessage() {}
func (x *ApplyStagingManifestRequest) ProtoReflect() protoreflect.Message { func (x *ApplyStagingManifestRequest) ProtoReflect() protoreflect.Message {
mi := &file_greptime_v1_region_server_proto_msgTypes[36] mi := &file_greptime_v1_region_server_proto_msgTypes[35]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -2668,7 +2613,7 @@ func (x *ApplyStagingManifestRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use ApplyStagingManifestRequest.ProtoReflect.Descriptor instead. // Deprecated: Use ApplyStagingManifestRequest.ProtoReflect.Descriptor instead.
func (*ApplyStagingManifestRequest) Descriptor() ([]byte, []int) { func (*ApplyStagingManifestRequest) Descriptor() ([]byte, []int) {
return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{36} return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{35}
} }
func (x *ApplyStagingManifestRequest) GetRegionId() uint64 { func (x *ApplyStagingManifestRequest) GetRegionId() uint64 {
@@ -2715,7 +2660,7 @@ type RemoteDynFilterRequest struct {
func (x *RemoteDynFilterRequest) Reset() { func (x *RemoteDynFilterRequest) Reset() {
*x = RemoteDynFilterRequest{} *x = RemoteDynFilterRequest{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_greptime_v1_region_server_proto_msgTypes[37] mi := &file_greptime_v1_region_server_proto_msgTypes[36]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -2728,7 +2673,7 @@ func (x *RemoteDynFilterRequest) String() string {
func (*RemoteDynFilterRequest) ProtoMessage() {} func (*RemoteDynFilterRequest) ProtoMessage() {}
func (x *RemoteDynFilterRequest) ProtoReflect() protoreflect.Message { func (x *RemoteDynFilterRequest) ProtoReflect() protoreflect.Message {
mi := &file_greptime_v1_region_server_proto_msgTypes[37] mi := &file_greptime_v1_region_server_proto_msgTypes[36]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -2741,7 +2686,7 @@ func (x *RemoteDynFilterRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use RemoteDynFilterRequest.ProtoReflect.Descriptor instead. // Deprecated: Use RemoteDynFilterRequest.ProtoReflect.Descriptor instead.
func (*RemoteDynFilterRequest) Descriptor() ([]byte, []int) { func (*RemoteDynFilterRequest) Descriptor() ([]byte, []int) {
return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{37} return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{36}
} }
func (x *RemoteDynFilterRequest) GetQueryId() string { func (x *RemoteDynFilterRequest) GetQueryId() string {
@@ -2802,7 +2747,7 @@ type RemoteDynFilterUpdate struct {
func (x *RemoteDynFilterUpdate) Reset() { func (x *RemoteDynFilterUpdate) Reset() {
*x = RemoteDynFilterUpdate{} *x = RemoteDynFilterUpdate{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_greptime_v1_region_server_proto_msgTypes[38] mi := &file_greptime_v1_region_server_proto_msgTypes[37]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -2815,7 +2760,7 @@ func (x *RemoteDynFilterUpdate) String() string {
func (*RemoteDynFilterUpdate) ProtoMessage() {} func (*RemoteDynFilterUpdate) ProtoMessage() {}
func (x *RemoteDynFilterUpdate) ProtoReflect() protoreflect.Message { func (x *RemoteDynFilterUpdate) ProtoReflect() protoreflect.Message {
mi := &file_greptime_v1_region_server_proto_msgTypes[38] mi := &file_greptime_v1_region_server_proto_msgTypes[37]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -2828,7 +2773,7 @@ func (x *RemoteDynFilterUpdate) ProtoReflect() protoreflect.Message {
// Deprecated: Use RemoteDynFilterUpdate.ProtoReflect.Descriptor instead. // Deprecated: Use RemoteDynFilterUpdate.ProtoReflect.Descriptor instead.
func (*RemoteDynFilterUpdate) Descriptor() ([]byte, []int) { func (*RemoteDynFilterUpdate) Descriptor() ([]byte, []int) {
return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{38} return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{37}
} }
func (x *RemoteDynFilterUpdate) GetFilterId() string { func (x *RemoteDynFilterUpdate) GetFilterId() string {
@@ -2870,7 +2815,7 @@ type RemoteDynFilterUnregister struct {
func (x *RemoteDynFilterUnregister) Reset() { func (x *RemoteDynFilterUnregister) Reset() {
*x = RemoteDynFilterUnregister{} *x = RemoteDynFilterUnregister{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_greptime_v1_region_server_proto_msgTypes[39] mi := &file_greptime_v1_region_server_proto_msgTypes[38]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -2883,7 +2828,7 @@ func (x *RemoteDynFilterUnregister) String() string {
func (*RemoteDynFilterUnregister) ProtoMessage() {} func (*RemoteDynFilterUnregister) ProtoMessage() {}
func (x *RemoteDynFilterUnregister) ProtoReflect() protoreflect.Message { func (x *RemoteDynFilterUnregister) ProtoReflect() protoreflect.Message {
mi := &file_greptime_v1_region_server_proto_msgTypes[39] mi := &file_greptime_v1_region_server_proto_msgTypes[38]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -2896,7 +2841,7 @@ func (x *RemoteDynFilterUnregister) ProtoReflect() protoreflect.Message {
// Deprecated: Use RemoteDynFilterUnregister.ProtoReflect.Descriptor instead. // Deprecated: Use RemoteDynFilterUnregister.ProtoReflect.Descriptor instead.
func (*RemoteDynFilterUnregister) Descriptor() ([]byte, []int) { func (*RemoteDynFilterUnregister) Descriptor() ([]byte, []int) {
return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{39} return file_greptime_v1_region_server_proto_rawDescGZIP(), []int{38}
} }
func (x *RemoteDynFilterUnregister) GetFilterId() string { func (x *RemoteDynFilterUnregister) GetFilterId() string {
@@ -3265,7 +3210,7 @@ var file_greptime_v1_region_server_proto_rawDesc = []byte{
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65,
0x66, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x12, 0x1b, 0x0a, 0x09,
0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52,
0x08, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x49, 0x64, 0x22, 0xa7, 0x02, 0x0a, 0x11, 0x42, 0x75, 0x08, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x49, 0x64, 0x22, 0xc7, 0x01, 0x0a, 0x11, 0x42, 0x75,
0x6c, 0x6b, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x6c, 0x6b, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x34, 0x0a, 0x09, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x34, 0x0a, 0x09,
@@ -3277,104 +3222,94 @@ var file_greptime_v1_region_server_proto_rawDesc = []byte{
0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x70, 0x72, 0x56, 0x65, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x70, 0x72, 0x56, 0x65,
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x14, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x14, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e,
0x45, 0x78, 0x70, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x5e, 0x0a, 0x16, 0x61, 0x45, 0x78, 0x70, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x06, 0x0a, 0x04, 0x62,
0x6c, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x76, 0x65, 0x6f, 0x64, 0x79, 0x22, 0x46, 0x0a, 0x10, 0x4d, 0x69, 0x74, 0x6f, 0x4d, 0x61, 0x6e, 0x69, 0x66,
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x72, 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,
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e,
0x2e, 0x41, 0x6c, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x56, 0x65, 0x2e, 0x4d, 0x69, 0x74, 0x6f, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66,
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x14, 0x61, 0x6c, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x53, 0x63, 0x6f, 0x48, 0x00, 0x52, 0x10, 0x6d, 0x69, 0x74, 0x6f, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73,
0x68, 0x65, 0x6d, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x06, 0x0a, 0x04, 0x62, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5a, 0x0a, 0x14, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f,
0x6f, 0x64, 0x79, 0x22, 0x3d, 0x0a, 0x14, 0x41, 0x6c, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x53, 0x63, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20,
0x68, 0x65, 0x6d, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76,
0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4d,
0x01, 0x28, 0x04, 0x52, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x56, 0x65, 0x72, 0x73, 0x69, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x12, 0x6d,
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, 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, 0x6f, 0x42, 0x0f, 0x0a, 0x0d, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x6e,
0x73, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x66, 0x6f, 0x22, 0x34, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
0x52, 0x13, 0x64, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x56, 0x65, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x67,
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3a, 0x0a, 0x19, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, 0x52, 0x09, 0x72,
0x61, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x22, 0x30, 0x0a, 0x11, 0x42, 0x75, 0x69, 0x6c,
0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x17, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a,
0x74, 0x61, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04,
0x6e, 0x22, 0xed, 0x01, 0x0a, 0x0b, 0x53, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x1f, 0x0a, 0x09, 0x46, 0x69,
0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18,
0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x54, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xb2, 0x01, 0x0a, 0x1b,
0x0a, 0x12, 0x6d, 0x69, 0x74, 0x6f, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x4d, 0x61, 0x6e, 0x69,
0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x65, 0x66, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72,
0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08,
0x4d, 0x69, 0x74, 0x6f, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x74,
0x48, 0x00, 0x52, 0x10, 0x6d, 0x69, 0x74, 0x6f, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5a, 0x0a, 0x14, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x6d, 0x52, 0x0d, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x70, 0x72, 0x12,
0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x2a, 0x0a, 0x11, 0x63, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f,
0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x63, 0x65, 0x6e, 0x74,
0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4d, 0x61, 0x72, 0x61, 0x6c, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x6d,
0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x12, 0x6d, 0x65, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01,
0x74, 0x72, 0x69, 0x63, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x50, 0x61, 0x74, 0x68,
0x42, 0x0f, 0x0a, 0x0d, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x22, 0xd3, 0x01, 0x0a, 0x16, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x44, 0x79, 0x6e, 0x46, 0x69,
0x6f, 0x22, 0x34, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x71,
0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x67, 0x69, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x71,
0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, 0x52, 0x09, 0x72, 0x65, 0x75, 0x65, 0x72, 0x79, 0x49, 0x64, 0x12, 0x43, 0x0a, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x22, 0x30, 0x0a, 0x11, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x6d, 0x6f,
0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x74, 0x65, 0x44, 0x79, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74,
0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x1f, 0x0a, 0x09, 0x46, 0x69, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x4f, 0x0a, 0x0a, 0x75,
0x65, 0x4d, 0x65, 0x74, 0x61, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xb2, 0x01, 0x0a, 0x1b, 0x41, 0x2d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65,
0x70, 0x70, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x44, 0x79, 0x6e, 0x46, 0x69,
0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x6c, 0x74, 0x65, 0x72, 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x48, 0x00,
0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x52, 0x0a, 0x75, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x42, 0x08, 0x0a, 0x06,
0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x8f, 0x01, 0x0a, 0x15, 0x52, 0x65, 0x6d, 0x6f, 0x74,
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, 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, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a,
0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07,
0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x44, 0x79, 0x6e, 0x46, 0x69, 0x6c, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x67, 0x65, 0x6e, 0x65, 0x72,
0x74, 0x65, 0x72, 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x48, 0x00, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x67, 0x65, 0x6e,
0x0a, 0x75, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x42, 0x08, 0x0a, 0x06, 0x61, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x63, 0x6f,
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x8f, 0x01, 0x0a, 0x15, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73,
0x44, 0x79, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x22, 0x38, 0x0a, 0x19, 0x52, 0x65, 0x6d, 0x6f,
0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x74, 0x65, 0x44, 0x79, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x55, 0x6e, 0x72, 0x65, 0x67,
0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x5f,
0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72,
0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x49, 0x64, 0x32, 0x59, 0x0a, 0x06, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x4f, 0x0a, 0x06,
0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x67, 0x65, 0x6e, 0x65, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69,
0x70, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x67, 0x72, 0x65, 0x70,
0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x22, 0x38, 0x0a, 0x19, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52,
0x65, 0x44, 0x79, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x5d, 0x0a,
0x73, 0x74, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x15, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e,
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x49, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x42, 0x06, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5a, 0x3c,
0x64, 0x32, 0x59, 0x0a, 0x06, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x4f, 0x0a, 0x06, 0x48, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x72, 0x65, 0x70, 0x74,
0x61, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x69, 0x6d, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72,
0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x6f, 0x74, 0x6f, 0x33,
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 ( var (
@@ -3389,7 +3324,7 @@ func file_greptime_v1_region_server_proto_rawDescGZIP() []byte {
return file_greptime_v1_region_server_proto_rawDescData return file_greptime_v1_region_server_proto_rawDescData
} }
var file_greptime_v1_region_server_proto_msgTypes = make([]protoimpl.MessageInfo, 44) var file_greptime_v1_region_server_proto_msgTypes = make([]protoimpl.MessageInfo, 43)
var file_greptime_v1_region_server_proto_goTypes = []interface{}{ var file_greptime_v1_region_server_proto_goTypes = []interface{}{
(*RegionRequestHeader)(nil), // 0: greptime.v1.region.RegionRequestHeader (*RegionRequestHeader)(nil), // 0: greptime.v1.region.RegionRequestHeader
(*RegionRequest)(nil), // 1: greptime.v1.region.RegionRequest (*RegionRequest)(nil), // 1: greptime.v1.region.RegionRequest
@@ -3420,43 +3355,42 @@ var file_greptime_v1_region_server_proto_goTypes = []interface{}{
(*All)(nil), // 26: greptime.v1.region.All (*All)(nil), // 26: greptime.v1.region.All
(*RegionColumnDef)(nil), // 27: greptime.v1.region.RegionColumnDef (*RegionColumnDef)(nil), // 27: greptime.v1.region.RegionColumnDef
(*BulkInsertRequest)(nil), // 28: greptime.v1.region.BulkInsertRequest (*BulkInsertRequest)(nil), // 28: greptime.v1.region.BulkInsertRequest
(*AlignedSchemaVersion)(nil), // 29: greptime.v1.region.AlignedSchemaVersion (*MitoManifestInfo)(nil), // 29: greptime.v1.region.MitoManifestInfo
(*MitoManifestInfo)(nil), // 30: greptime.v1.region.MitoManifestInfo (*MetricManifestInfo)(nil), // 30: greptime.v1.region.MetricManifestInfo
(*MetricManifestInfo)(nil), // 31: greptime.v1.region.MetricManifestInfo (*SyncRequest)(nil), // 31: greptime.v1.region.SyncRequest
(*SyncRequest)(nil), // 32: greptime.v1.region.SyncRequest (*ListMetadataRequest)(nil), // 32: greptime.v1.region.ListMetadataRequest
(*ListMetadataRequest)(nil), // 33: greptime.v1.region.ListMetadataRequest (*BuildIndexRequest)(nil), // 33: greptime.v1.region.BuildIndexRequest
(*BuildIndexRequest)(nil), // 34: greptime.v1.region.BuildIndexRequest (*FileMetas)(nil), // 34: greptime.v1.region.FileMetas
(*FileMetas)(nil), // 35: greptime.v1.region.FileMetas (*ApplyStagingManifestRequest)(nil), // 35: greptime.v1.region.ApplyStagingManifestRequest
(*ApplyStagingManifestRequest)(nil), // 36: greptime.v1.region.ApplyStagingManifestRequest (*RemoteDynFilterRequest)(nil), // 36: greptime.v1.region.RemoteDynFilterRequest
(*RemoteDynFilterRequest)(nil), // 37: greptime.v1.region.RemoteDynFilterRequest (*RemoteDynFilterUpdate)(nil), // 37: greptime.v1.region.RemoteDynFilterUpdate
(*RemoteDynFilterUpdate)(nil), // 38: greptime.v1.region.RemoteDynFilterUpdate (*RemoteDynFilterUnregister)(nil), // 38: greptime.v1.region.RemoteDynFilterUnregister
(*RemoteDynFilterUnregister)(nil), // 39: greptime.v1.region.RemoteDynFilterUnregister nil, // 39: greptime.v1.region.RegionRequestHeader.TracingContextEntry
nil, // 40: greptime.v1.region.RegionRequestHeader.TracingContextEntry nil, // 40: greptime.v1.region.RegionResponse.ExtensionsEntry
nil, // 41: greptime.v1.region.RegionResponse.ExtensionsEntry nil, // 41: greptime.v1.region.CreateRequest.OptionsEntry
nil, // 42: greptime.v1.region.CreateRequest.OptionsEntry nil, // 42: greptime.v1.region.OpenRequest.OptionsEntry
nil, // 43: greptime.v1.region.OpenRequest.OptionsEntry (*v1.QueryContext)(nil), // 43: greptime.v1.QueryContext
(*v1.QueryContext)(nil), // 44: greptime.v1.QueryContext (*v1.ResponseHeader)(nil), // 44: greptime.v1.ResponseHeader
(*v1.ResponseHeader)(nil), // 45: greptime.v1.ResponseHeader (*v1.Rows)(nil), // 45: greptime.v1.Rows
(*v1.Rows)(nil), // 46: greptime.v1.Rows (*v1.PartitionExprVersion)(nil), // 46: greptime.v1.PartitionExprVersion
(*v1.PartitionExprVersion)(nil), // 47: greptime.v1.PartitionExprVersion (*meta.Partition)(nil), // 47: greptime.v1.meta.Partition
(*meta.Partition)(nil), // 48: greptime.v1.meta.Partition (*v1.ModifyColumnTypes)(nil), // 48: greptime.v1.ModifyColumnTypes
(*v1.ModifyColumnTypes)(nil), // 49: greptime.v1.ModifyColumnTypes (*v1.SetTableOptions)(nil), // 49: greptime.v1.SetTableOptions
(*v1.SetTableOptions)(nil), // 50: greptime.v1.SetTableOptions (*v1.UnsetTableOptions)(nil), // 50: greptime.v1.UnsetTableOptions
(*v1.UnsetTableOptions)(nil), // 51: greptime.v1.UnsetTableOptions (*v1.SetIndex)(nil), // 51: greptime.v1.SetIndex
(*v1.SetIndex)(nil), // 52: greptime.v1.SetIndex (*v1.UnsetIndex)(nil), // 52: greptime.v1.UnsetIndex
(*v1.UnsetIndex)(nil), // 53: greptime.v1.UnsetIndex (*v1.DropDefaults)(nil), // 53: greptime.v1.DropDefaults
(*v1.DropDefaults)(nil), // 54: greptime.v1.DropDefaults (*v1.SetIndexes)(nil), // 54: greptime.v1.SetIndexes
(*v1.SetIndexes)(nil), // 55: greptime.v1.SetIndexes (*v1.UnsetIndexes)(nil), // 55: greptime.v1.UnsetIndexes
(*v1.UnsetIndexes)(nil), // 56: greptime.v1.UnsetIndexes (*v1.SetDefaults)(nil), // 56: greptime.v1.SetDefaults
(*v1.SetDefaults)(nil), // 57: greptime.v1.SetDefaults (*v1.AddColumnLocation)(nil), // 57: greptime.v1.AddColumnLocation
(*v1.AddColumnLocation)(nil), // 58: greptime.v1.AddColumnLocation (*v1.TimeRanges)(nil), // 58: greptime.v1.TimeRanges
(*v1.TimeRanges)(nil), // 59: greptime.v1.TimeRanges (*v1.ColumnDef)(nil), // 59: greptime.v1.ColumnDef
(*v1.ColumnDef)(nil), // 60: greptime.v1.ColumnDef (*v1.ArrowIpc)(nil), // 60: greptime.v1.ArrowIpc
(*v1.ArrowIpc)(nil), // 61: greptime.v1.ArrowIpc
} }
var file_greptime_v1_region_server_proto_depIdxs = []int32{ var file_greptime_v1_region_server_proto_depIdxs = []int32{
40, // 0: greptime.v1.region.RegionRequestHeader.tracing_context:type_name -> greptime.v1.region.RegionRequestHeader.TracingContextEntry 39, // 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 43, // 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 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 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 4, // 4: greptime.v1.region.RegionRequest.deletes:type_name -> greptime.v1.region.DeleteRequests
@@ -3472,63 +3406,62 @@ var file_greptime_v1_region_server_proto_depIdxs = []int32{
10, // 14: greptime.v1.region.RegionRequest.drops:type_name -> greptime.v1.region.DropRequests 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 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 28, // 16: greptime.v1.region.RegionRequest.bulk_insert:type_name -> greptime.v1.region.BulkInsertRequest
32, // 17: greptime.v1.region.RegionRequest.sync:type_name -> greptime.v1.region.SyncRequest 31, // 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 32, // 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 33, // 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 35, // 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 36, // 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 44, // 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 40, // 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 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 6, // 25: greptime.v1.region.DeleteRequests.requests:type_name -> greptime.v1.region.DeleteRequest
46, // 26: greptime.v1.region.InsertRequest.rows:type_name -> greptime.v1.Rows 45, // 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, // 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 45, // 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 46, // 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 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 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 27, // 32: greptime.v1.region.CreateRequest.column_defs:type_name -> greptime.v1.region.RegionColumnDef
42, // 33: greptime.v1.region.CreateRequest.options:type_name -> greptime.v1.region.CreateRequest.OptionsEntry 41, // 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 47, // 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 11, // 35: greptime.v1.region.DropRequests.requests:type_name -> greptime.v1.region.DropRequest
43, // 36: greptime.v1.region.OpenRequest.options:type_name -> greptime.v1.region.OpenRequest.OptionsEntry 42, // 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 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 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 18, // 39: greptime.v1.region.AlterRequest.drop_columns:type_name -> greptime.v1.region.DropColumns
49, // 40: greptime.v1.region.AlterRequest.modify_column_types:type_name -> greptime.v1.ModifyColumnTypes 48, // 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 49, // 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 50, // 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 51, // 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 52, // 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 53, // 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 54, // 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 55, // 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 56, // 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 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 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 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 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 27, // 53: greptime.v1.region.AddColumn.column_def:type_name -> greptime.v1.region.RegionColumnDef
58, // 54: greptime.v1.region.AddColumn.location:type_name -> greptime.v1.AddColumnLocation 57, // 54: greptime.v1.region.AddColumn.location:type_name -> greptime.v1.AddColumnLocation
22, // 55: greptime.v1.region.CompactRequest.regular:type_name -> greptime.v1.region.Regular 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 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 26, // 57: greptime.v1.region.TruncateRequest.all:type_name -> greptime.v1.region.All
59, // 58: greptime.v1.region.TruncateRequest.time_ranges:type_name -> greptime.v1.TimeRanges 58, // 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 59, // 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 60, // 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 46, // 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 29, // 62: greptime.v1.region.SyncRequest.mito_manifest_info:type_name -> greptime.v1.region.MitoManifestInfo
30, // 63: 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
31, // 64: 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.update:type_name -> greptime.v1.region.RemoteDynFilterUpdate 38, // 65: greptime.v1.region.RemoteDynFilterRequest.unregister:type_name -> greptime.v1.region.RemoteDynFilterUnregister
39, // 66: greptime.v1.region.RemoteDynFilterRequest.unregister:type_name -> greptime.v1.region.RemoteDynFilterUnregister 1, // 66: greptime.v1.region.Region.Handle:input_type -> greptime.v1.region.RegionRequest
1, // 67: greptime.v1.region.Region.Handle:input_type -> greptime.v1.region.RegionRequest 2, // 67: greptime.v1.region.Region.Handle:output_type -> greptime.v1.region.RegionResponse
2, // 68: greptime.v1.region.Region.Handle:output_type -> greptime.v1.region.RegionResponse 67, // [67:68] is the sub-list for method output_type
68, // [68:69] is the sub-list for method output_type 66, // [66:67] is the sub-list for method input_type
67, // [67:68] is the sub-list for method input_type 66, // [66:66] is the sub-list for extension type_name
67, // [67:67] is the sub-list for extension type_name 66, // [66:66] is the sub-list for extension extendee
67, // [67:67] is the sub-list for extension extendee 0, // [0:66] is the sub-list for field type_name
0, // [0:67] is the sub-list for field type_name
} }
func init() { file_greptime_v1_region_server_proto_init() } func init() { file_greptime_v1_region_server_proto_init() }
@@ -3886,18 +3819,6 @@ func file_greptime_v1_region_server_proto_init() {
} }
} }
file_greptime_v1_region_server_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { file_greptime_v1_region_server_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AlignedSchemaVersion); 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[30].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MitoManifestInfo); i { switch v := v.(*MitoManifestInfo); i {
case 0: case 0:
return &v.state return &v.state
@@ -3909,7 +3830,7 @@ func file_greptime_v1_region_server_proto_init() {
return nil return nil
} }
} }
file_greptime_v1_region_server_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { file_greptime_v1_region_server_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MetricManifestInfo); i { switch v := v.(*MetricManifestInfo); i {
case 0: case 0:
return &v.state return &v.state
@@ -3921,7 +3842,7 @@ func file_greptime_v1_region_server_proto_init() {
return nil return nil
} }
} }
file_greptime_v1_region_server_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { file_greptime_v1_region_server_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SyncRequest); i { switch v := v.(*SyncRequest); i {
case 0: case 0:
return &v.state return &v.state
@@ -3933,7 +3854,7 @@ func file_greptime_v1_region_server_proto_init() {
return nil return nil
} }
} }
file_greptime_v1_region_server_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { file_greptime_v1_region_server_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListMetadataRequest); i { switch v := v.(*ListMetadataRequest); i {
case 0: case 0:
return &v.state return &v.state
@@ -3945,7 +3866,7 @@ func file_greptime_v1_region_server_proto_init() {
return nil return nil
} }
} }
file_greptime_v1_region_server_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { file_greptime_v1_region_server_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BuildIndexRequest); i { switch v := v.(*BuildIndexRequest); i {
case 0: case 0:
return &v.state return &v.state
@@ -3957,7 +3878,7 @@ func file_greptime_v1_region_server_proto_init() {
return nil return nil
} }
} }
file_greptime_v1_region_server_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { file_greptime_v1_region_server_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FileMetas); i { switch v := v.(*FileMetas); i {
case 0: case 0:
return &v.state return &v.state
@@ -3969,7 +3890,7 @@ func file_greptime_v1_region_server_proto_init() {
return nil return nil
} }
} }
file_greptime_v1_region_server_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { file_greptime_v1_region_server_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ApplyStagingManifestRequest); i { switch v := v.(*ApplyStagingManifestRequest); i {
case 0: case 0:
return &v.state return &v.state
@@ -3981,7 +3902,7 @@ func file_greptime_v1_region_server_proto_init() {
return nil return nil
} }
} }
file_greptime_v1_region_server_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { file_greptime_v1_region_server_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RemoteDynFilterRequest); i { switch v := v.(*RemoteDynFilterRequest); i {
case 0: case 0:
return &v.state return &v.state
@@ -3993,7 +3914,7 @@ func file_greptime_v1_region_server_proto_init() {
return nil return nil
} }
} }
file_greptime_v1_region_server_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { file_greptime_v1_region_server_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RemoteDynFilterUpdate); i { switch v := v.(*RemoteDynFilterUpdate); i {
case 0: case 0:
return &v.state return &v.state
@@ -4005,7 +3926,7 @@ func file_greptime_v1_region_server_proto_init() {
return nil return nil
} }
} }
file_greptime_v1_region_server_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { file_greptime_v1_region_server_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RemoteDynFilterUnregister); i { switch v := v.(*RemoteDynFilterUnregister); i {
case 0: case 0:
return &v.state return &v.state
@@ -4064,11 +3985,11 @@ func file_greptime_v1_region_server_proto_init() {
file_greptime_v1_region_server_proto_msgTypes[28].OneofWrappers = []interface{}{ file_greptime_v1_region_server_proto_msgTypes[28].OneofWrappers = []interface{}{
(*BulkInsertRequest_ArrowIpc)(nil), (*BulkInsertRequest_ArrowIpc)(nil),
} }
file_greptime_v1_region_server_proto_msgTypes[32].OneofWrappers = []interface{}{ file_greptime_v1_region_server_proto_msgTypes[31].OneofWrappers = []interface{}{
(*SyncRequest_MitoManifestInfo)(nil), (*SyncRequest_MitoManifestInfo)(nil),
(*SyncRequest_MetricManifestInfo)(nil), (*SyncRequest_MetricManifestInfo)(nil),
} }
file_greptime_v1_region_server_proto_msgTypes[37].OneofWrappers = []interface{}{ file_greptime_v1_region_server_proto_msgTypes[36].OneofWrappers = []interface{}{
(*RemoteDynFilterRequest_Update)(nil), (*RemoteDynFilterRequest_Update)(nil),
(*RemoteDynFilterRequest_Unregister)(nil), (*RemoteDynFilterRequest_Unregister)(nil),
} }
@@ -4078,7 +3999,7 @@ func file_greptime_v1_region_server_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_greptime_v1_region_server_proto_rawDesc, RawDescriptor: file_greptime_v1_region_server_proto_rawDesc,
NumEnums: 0, NumEnums: 0,
NumMessages: 44, NumMessages: 43,
NumExtensions: 0, NumExtensions: 0,
NumServices: 1, NumServices: 1,
}, },
@@ -30941,21 +30941,6 @@ java.lang.String defaultValue);
*/ */
io.greptime.v1.Common.PartitionExprVersionOrBuilder getPartitionExprVersionOrBuilder(); 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(); public io.greptime.v1.region.Server.BulkInsertRequest.BodyCase getBodyCase();
} }
/** /**
@@ -31039,19 +31024,6 @@ java.lang.String defaultValue);
break; 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: { default: {
if (!parseUnknownField( if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) { input, unknownFields, extensionRegistry, tag)) {
@@ -31193,32 +31165,6 @@ java.lang.String defaultValue);
return getPartitionExprVersion(); 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; private byte memoizedIsInitialized = -1;
@java.lang.Override @java.lang.Override
public final boolean isInitialized() { public final boolean isInitialized() {
@@ -31242,9 +31188,6 @@ java.lang.String defaultValue);
if (partitionExprVersion_ != null) { if (partitionExprVersion_ != null) {
output.writeMessage(3, getPartitionExprVersion()); output.writeMessage(3, getPartitionExprVersion());
} }
if (alignedSchemaVersion_ != null) {
output.writeMessage(4, getAlignedSchemaVersion());
}
unknownFields.writeTo(output); unknownFields.writeTo(output);
} }
@@ -31266,10 +31209,6 @@ java.lang.String defaultValue);
size += com.google.protobuf.CodedOutputStream size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getPartitionExprVersion()); .computeMessageSize(3, getPartitionExprVersion());
} }
if (alignedSchemaVersion_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getAlignedSchemaVersion());
}
size += unknownFields.getSerializedSize(); size += unknownFields.getSerializedSize();
memoizedSize = size; memoizedSize = size;
return size; return size;
@@ -31292,11 +31231,6 @@ java.lang.String defaultValue);
if (!getPartitionExprVersion() if (!getPartitionExprVersion()
.equals(other.getPartitionExprVersion())) return false; .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; if (!getBodyCase().equals(other.getBodyCase())) return false;
switch (bodyCase_) { switch (bodyCase_) {
case 2: case 2:
@@ -31324,10 +31258,6 @@ java.lang.String defaultValue);
hash = (37 * hash) + PARTITION_EXPR_VERSION_FIELD_NUMBER; hash = (37 * hash) + PARTITION_EXPR_VERSION_FIELD_NUMBER;
hash = (53 * hash) + getPartitionExprVersion().hashCode(); hash = (53 * hash) + getPartitionExprVersion().hashCode();
} }
if (hasAlignedSchemaVersion()) {
hash = (37 * hash) + ALIGNED_SCHEMA_VERSION_FIELD_NUMBER;
hash = (53 * hash) + getAlignedSchemaVersion().hashCode();
}
switch (bodyCase_) { switch (bodyCase_) {
case 2: case 2:
hash = (37 * hash) + ARROW_IPC_FIELD_NUMBER; hash = (37 * hash) + ARROW_IPC_FIELD_NUMBER;
@@ -31481,12 +31411,6 @@ java.lang.String defaultValue);
partitionExprVersion_ = null; partitionExprVersion_ = null;
partitionExprVersionBuilder_ = null; partitionExprVersionBuilder_ = null;
} }
if (alignedSchemaVersionBuilder_ == null) {
alignedSchemaVersion_ = null;
} else {
alignedSchemaVersion_ = null;
alignedSchemaVersionBuilder_ = null;
}
bodyCase_ = 0; bodyCase_ = 0;
body_ = null; body_ = null;
return this; return this;
@@ -31528,11 +31452,6 @@ java.lang.String defaultValue);
} else { } else {
result.partitionExprVersion_ = partitionExprVersionBuilder_.build(); result.partitionExprVersion_ = partitionExprVersionBuilder_.build();
} }
if (alignedSchemaVersionBuilder_ == null) {
result.alignedSchemaVersion_ = alignedSchemaVersion_;
} else {
result.alignedSchemaVersion_ = alignedSchemaVersionBuilder_.build();
}
result.bodyCase_ = bodyCase_; result.bodyCase_ = bodyCase_;
onBuilt(); onBuilt();
return result; return result;
@@ -31588,9 +31507,6 @@ java.lang.String defaultValue);
if (other.hasPartitionExprVersion()) { if (other.hasPartitionExprVersion()) {
mergePartitionExprVersion(other.getPartitionExprVersion()); mergePartitionExprVersion(other.getPartitionExprVersion());
} }
if (other.hasAlignedSchemaVersion()) {
mergeAlignedSchemaVersion(other.getAlignedSchemaVersion());
}
switch (other.getBodyCase()) { switch (other.getBodyCase()) {
case ARROW_IPC: { case ARROW_IPC: {
mergeArrowIpc(other.getArrowIpc()); mergeArrowIpc(other.getArrowIpc());
@@ -31935,125 +31851,6 @@ java.lang.String defaultValue);
} }
return partitionExprVersionBuilder_; 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 @java.lang.Override
public final Builder setUnknownFields( public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) { final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -32107,497 +31904,6 @@ 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 public interface MitoManifestInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:greptime.v1.region.MitoManifestInfo) // @@protoc_insertion_point(interface_extends:greptime.v1.region.MitoManifestInfo)
com.google.protobuf.MessageOrBuilder { com.google.protobuf.MessageOrBuilder {
@@ -39921,11 +39227,6 @@ java.lang.String defaultValue);
private static final private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_greptime_v1_region_BulkInsertRequest_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 private static final com.google.protobuf.Descriptors.Descriptor
internal_static_greptime_v1_region_MitoManifestInfo_descriptor; internal_static_greptime_v1_region_MitoManifestInfo_descriptor;
private static final private static final
@@ -40102,41 +39403,38 @@ java.lang.String defaultValue);
"es\030\003 \001(\0132\027.greptime.v1.TimeRangesH\000B\006\n\004k" + "es\030\003 \001(\0132\027.greptime.v1.TimeRangesH\000B\006\n\004k" +
"ind\"\005\n\003All\"P\n\017RegionColumnDef\022*\n\ncolumn_" + "ind\"\005\n\003All\"P\n\017RegionColumnDef\022*\n\ncolumn_" +
"def\030\001 \001(\0132\026.greptime.v1.ColumnDef\022\021\n\tcol" + "def\030\001 \001(\0132\026.greptime.v1.ColumnDef\022\021\n\tcol" +
"umn_id\030\002 \001(\r\"\347\001\n\021BulkInsertRequest\022\021\n\tre" + "umn_id\030\002 \001(\r\"\235\001\n\021BulkInsertRequest\022\021\n\tre" +
"gion_id\030\001 \001(\004\022*\n\tarrow_ipc\030\002 \001(\0132\025.grept" + "gion_id\030\001 \001(\004\022*\n\tarrow_ipc\030\002 \001(\0132\025.grept" +
"ime.v1.ArrowIpcH\000\022A\n\026partition_expr_vers" + "ime.v1.ArrowIpcH\000\022A\n\026partition_expr_vers" +
"ion\030\003 \001(\0132!.greptime.v1.PartitionExprVer" + "ion\030\003 \001(\0132!.greptime.v1.PartitionExprVer" +
"sion\022H\n\026aligned_schema_version\030\004 \001(\0132(.g" + "sionB\006\n\004body\"1\n\020MitoManifestInfo\022\035\n\025data" +
"reptime.v1.region.AlignedSchemaVersionB\006" + "_manifest_version\030\001 \001(\004\"V\n\022MetricManifes" +
"\n\004body\".\n\024AlignedSchemaVersion\022\026\n\016schema" + "tInfo\022\035\n\025data_manifest_version\030\001 \001(\004\022!\n\031" +
"_version\030\001 \001(\004\"1\n\020MitoManifestInfo\022\035\n\025da" + "metadata_manifest_version\030\002 \001(\004\"\275\001\n\013Sync" +
"ta_manifest_version\030\001 \001(\004\"V\n\022MetricManif" + "Request\022\021\n\tregion_id\030\001 \001(\004\022B\n\022mito_manif" +
"estInfo\022\035\n\025data_manifest_version\030\001 \001(\004\022!" + "est_info\030\002 \001(\0132$.greptime.v1.region.Mito" +
"\n\031metadata_manifest_version\030\002 \001(\004\"\275\001\n\013Sy" + "ManifestInfoH\000\022F\n\024metric_manifest_info\030\003" +
"ncRequest\022\021\n\tregion_id\030\001 \001(\004\022B\n\022mito_man" + " \001(\0132&.greptime.v1.region.MetricManifest" +
"ifest_info\030\002 \001(\0132$.greptime.v1.region.Mi" + "InfoH\000B\017\n\rmanifest_info\")\n\023ListMetadataR" +
"toManifestInfoH\000\022F\n\024metric_manifest_info" + "equest\022\022\n\nregion_ids\030\001 \003(\004\"&\n\021BuildIndex" +
"\030\003 \001(\0132&.greptime.v1.region.MetricManife" + "Request\022\021\n\tregion_id\030\001 \001(\004\"\031\n\tFileMetas\022" +
"stInfoH\000B\017\n\rmanifest_info\")\n\023ListMetadat" + "\014\n\004data\030\001 \001(\014\"z\n\033ApplyStagingManifestReq" +
"aRequest\022\022\n\nregion_ids\030\001 \003(\004\"&\n\021BuildInd" + "uest\022\021\n\tregion_id\030\001 \001(\004\022\026\n\016partition_exp" +
"exRequest\022\021\n\tregion_id\030\001 \001(\004\"\031\n\tFileMeta" + "r\030\002 \001(\t\022\031\n\021central_region_id\030\003 \001(\004\022\025\n\rma" +
"s\022\014\n\004data\030\001 \001(\014\"z\n\033ApplyStagingManifestR" + "nifest_path\030\004 \001(\t\"\266\001\n\026RemoteDynFilterReq" +
"equest\022\021\n\tregion_id\030\001 \001(\004\022\026\n\016partition_e" + "uest\022\020\n\010query_id\030\001 \001(\t\022;\n\006update\030\002 \001(\0132)" +
"xpr\030\002 \001(\t\022\031\n\021central_region_id\030\003 \001(\004\022\025\n\r" + ".greptime.v1.region.RemoteDynFilterUpdat" +
"manifest_path\030\004 \001(\t\"\266\001\n\026RemoteDynFilterR" + "eH\000\022C\n\nunregister\030\003 \001(\0132-.greptime.v1.re" +
"equest\022\020\n\010query_id\030\001 \001(\t\022;\n\006update\030\002 \001(\013" + "gion.RemoteDynFilterUnregisterH\000B\010\n\006acti" +
"2).greptime.v1.region.RemoteDynFilterUpd" + "on\"d\n\025RemoteDynFilterUpdate\022\021\n\tfilter_id" +
"ateH\000\022C\n\nunregister\030\003 \001(\0132-.greptime.v1." + "\030\001 \001(\t\022\017\n\007payload\030\002 \001(\014\022\022\n\ngeneration\030\003 " +
"region.RemoteDynFilterUnregisterH\000B\010\n\006ac" + "\001(\004\022\023\n\013is_complete\030\004 \001(\010\".\n\031RemoteDynFil" +
"tion\"d\n\025RemoteDynFilterUpdate\022\021\n\tfilter_" + "terUnregister\022\021\n\tfilter_id\030\001 \001(\t2Y\n\006Regi" +
"id\030\001 \001(\t\022\017\n\007payload\030\002 \001(\014\022\022\n\ngeneration\030" + "on\022O\n\006Handle\022!.greptime.v1.region.Region" +
"\003 \001(\004\022\023\n\013is_complete\030\004 \001(\010\".\n\031RemoteDynF" + "Request\032\".greptime.v1.region.RegionRespo" +
"ilterUnregister\022\021\n\tfilter_id\030\001 \001(\t2Y\n\006Re" + "nseB]\n\025io.greptime.v1.regionB\006ServerZ<gi" +
"gion\022O\n\006Handle\022!.greptime.v1.region.Regi" + "thub.com/GreptimeTeam/greptime-proto/go/" +
"onRequest\032\".greptime.v1.region.RegionRes" + "greptime/v1/regionb\006proto3"
"ponseB]\n\025io.greptime.v1.regionB\006ServerZ<" +
"github.com/GreptimeTeam/greptime-proto/g" +
"o/greptime/v1/regionb\006proto3"
}; };
descriptor = com.google.protobuf.Descriptors.FileDescriptor descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData, .internalBuildGeneratedFileFrom(descriptorData,
@@ -40343,69 +39641,63 @@ java.lang.String defaultValue);
internal_static_greptime_v1_region_BulkInsertRequest_fieldAccessorTable = new internal_static_greptime_v1_region_BulkInsertRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_greptime_v1_region_BulkInsertRequest_descriptor, internal_static_greptime_v1_region_BulkInsertRequest_descriptor,
new java.lang.String[] { "RegionId", "ArrowIpc", "PartitionExprVersion", "AlignedSchemaVersion", "Body", }); new java.lang.String[] { "RegionId", "ArrowIpc", "PartitionExprVersion", "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 = internal_static_greptime_v1_region_MitoManifestInfo_descriptor =
getDescriptor().getMessageTypes().get(30); getDescriptor().getMessageTypes().get(29);
internal_static_greptime_v1_region_MitoManifestInfo_fieldAccessorTable = new internal_static_greptime_v1_region_MitoManifestInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_greptime_v1_region_MitoManifestInfo_descriptor, internal_static_greptime_v1_region_MitoManifestInfo_descriptor,
new java.lang.String[] { "DataManifestVersion", }); new java.lang.String[] { "DataManifestVersion", });
internal_static_greptime_v1_region_MetricManifestInfo_descriptor = internal_static_greptime_v1_region_MetricManifestInfo_descriptor =
getDescriptor().getMessageTypes().get(31); getDescriptor().getMessageTypes().get(30);
internal_static_greptime_v1_region_MetricManifestInfo_fieldAccessorTable = new internal_static_greptime_v1_region_MetricManifestInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_greptime_v1_region_MetricManifestInfo_descriptor, internal_static_greptime_v1_region_MetricManifestInfo_descriptor,
new java.lang.String[] { "DataManifestVersion", "MetadataManifestVersion", }); new java.lang.String[] { "DataManifestVersion", "MetadataManifestVersion", });
internal_static_greptime_v1_region_SyncRequest_descriptor = internal_static_greptime_v1_region_SyncRequest_descriptor =
getDescriptor().getMessageTypes().get(32); getDescriptor().getMessageTypes().get(31);
internal_static_greptime_v1_region_SyncRequest_fieldAccessorTable = new internal_static_greptime_v1_region_SyncRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_greptime_v1_region_SyncRequest_descriptor, internal_static_greptime_v1_region_SyncRequest_descriptor,
new java.lang.String[] { "RegionId", "MitoManifestInfo", "MetricManifestInfo", "ManifestInfo", }); new java.lang.String[] { "RegionId", "MitoManifestInfo", "MetricManifestInfo", "ManifestInfo", });
internal_static_greptime_v1_region_ListMetadataRequest_descriptor = internal_static_greptime_v1_region_ListMetadataRequest_descriptor =
getDescriptor().getMessageTypes().get(33); getDescriptor().getMessageTypes().get(32);
internal_static_greptime_v1_region_ListMetadataRequest_fieldAccessorTable = new internal_static_greptime_v1_region_ListMetadataRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_greptime_v1_region_ListMetadataRequest_descriptor, internal_static_greptime_v1_region_ListMetadataRequest_descriptor,
new java.lang.String[] { "RegionIds", }); new java.lang.String[] { "RegionIds", });
internal_static_greptime_v1_region_BuildIndexRequest_descriptor = internal_static_greptime_v1_region_BuildIndexRequest_descriptor =
getDescriptor().getMessageTypes().get(34); getDescriptor().getMessageTypes().get(33);
internal_static_greptime_v1_region_BuildIndexRequest_fieldAccessorTable = new internal_static_greptime_v1_region_BuildIndexRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_greptime_v1_region_BuildIndexRequest_descriptor, internal_static_greptime_v1_region_BuildIndexRequest_descriptor,
new java.lang.String[] { "RegionId", }); new java.lang.String[] { "RegionId", });
internal_static_greptime_v1_region_FileMetas_descriptor = internal_static_greptime_v1_region_FileMetas_descriptor =
getDescriptor().getMessageTypes().get(35); getDescriptor().getMessageTypes().get(34);
internal_static_greptime_v1_region_FileMetas_fieldAccessorTable = new internal_static_greptime_v1_region_FileMetas_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_greptime_v1_region_FileMetas_descriptor, internal_static_greptime_v1_region_FileMetas_descriptor,
new java.lang.String[] { "Data", }); new java.lang.String[] { "Data", });
internal_static_greptime_v1_region_ApplyStagingManifestRequest_descriptor = internal_static_greptime_v1_region_ApplyStagingManifestRequest_descriptor =
getDescriptor().getMessageTypes().get(36); getDescriptor().getMessageTypes().get(35);
internal_static_greptime_v1_region_ApplyStagingManifestRequest_fieldAccessorTable = new internal_static_greptime_v1_region_ApplyStagingManifestRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_greptime_v1_region_ApplyStagingManifestRequest_descriptor, internal_static_greptime_v1_region_ApplyStagingManifestRequest_descriptor,
new java.lang.String[] { "RegionId", "PartitionExpr", "CentralRegionId", "ManifestPath", }); new java.lang.String[] { "RegionId", "PartitionExpr", "CentralRegionId", "ManifestPath", });
internal_static_greptime_v1_region_RemoteDynFilterRequest_descriptor = internal_static_greptime_v1_region_RemoteDynFilterRequest_descriptor =
getDescriptor().getMessageTypes().get(37); getDescriptor().getMessageTypes().get(36);
internal_static_greptime_v1_region_RemoteDynFilterRequest_fieldAccessorTable = new internal_static_greptime_v1_region_RemoteDynFilterRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_greptime_v1_region_RemoteDynFilterRequest_descriptor, internal_static_greptime_v1_region_RemoteDynFilterRequest_descriptor,
new java.lang.String[] { "QueryId", "Update", "Unregister", "Action", }); new java.lang.String[] { "QueryId", "Update", "Unregister", "Action", });
internal_static_greptime_v1_region_RemoteDynFilterUpdate_descriptor = internal_static_greptime_v1_region_RemoteDynFilterUpdate_descriptor =
getDescriptor().getMessageTypes().get(38); getDescriptor().getMessageTypes().get(37);
internal_static_greptime_v1_region_RemoteDynFilterUpdate_fieldAccessorTable = new internal_static_greptime_v1_region_RemoteDynFilterUpdate_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_greptime_v1_region_RemoteDynFilterUpdate_descriptor, internal_static_greptime_v1_region_RemoteDynFilterUpdate_descriptor,
new java.lang.String[] { "FilterId", "Payload", "Generation", "IsComplete", }); new java.lang.String[] { "FilterId", "Payload", "Generation", "IsComplete", });
internal_static_greptime_v1_region_RemoteDynFilterUnregister_descriptor = internal_static_greptime_v1_region_RemoteDynFilterUnregister_descriptor =
getDescriptor().getMessageTypes().get(39); getDescriptor().getMessageTypes().get(38);
internal_static_greptime_v1_region_RemoteDynFilterUnregister_fieldAccessorTable = new internal_static_greptime_v1_region_RemoteDynFilterUnregister_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_greptime_v1_region_RemoteDynFilterUnregister_descriptor, internal_static_greptime_v1_region_RemoteDynFilterUnregister_descriptor,
-5
View File
@@ -256,11 +256,6 @@ message BulkInsertRequest {
ArrowIpc arrow_ipc = 2; ArrowIpc arrow_ipc = 2;
} }
PartitionExprVersion partition_expr_version = 3; PartitionExprVersion partition_expr_version = 3;
AlignedSchemaVersion aligned_schema_version = 4;
}
message AlignedSchemaVersion {
uint64 schema_version = 1;
} }
// Manifest info for mito engine. // Manifest info for mito engine.
-7
View File
@@ -1,7 +0,0 @@
#! /usr/bin/env bash
set -e
export PROTOC_INCLUDE=/opt/include
cargo run --manifest-path xtask/Cargo.toml -- generate-rust
-7
View File
@@ -373,8 +373,6 @@ pub struct BulkInsertRequest {
pub region_id: u64, pub region_id: u64,
#[prost(message, optional, tag = "3")] #[prost(message, optional, tag = "3")]
pub partition_expr_version: ::core::option::Option<super::PartitionExprVersion>, pub partition_expr_version: ::core::option::Option<super::PartitionExprVersion>,
#[prost(message, optional, tag = "4")]
pub aligned_schema_version: ::core::option::Option<AlignedSchemaVersion>,
#[prost(oneof = "bulk_insert_request::Body", tags = "2")] #[prost(oneof = "bulk_insert_request::Body", tags = "2")]
pub body: ::core::option::Option<bulk_insert_request::Body>, pub body: ::core::option::Option<bulk_insert_request::Body>,
} }
@@ -386,11 +384,6 @@ pub mod bulk_insert_request {
ArrowIpc(super::super::ArrowIpc), 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. /// Manifest info for mito engine.
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)] #[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct MitoManifestInfo { pub struct MitoManifestInfo {
+3
View File
@@ -1446,6 +1446,7 @@ pub struct CommentOnExpr {
pub enum Analyzer { pub enum Analyzer {
English = 0, English = 0,
Chinese = 1, Chinese = 1,
Russian = 2,
} }
impl Analyzer { impl Analyzer {
/// String value of the enum field names used in the ProtoBuf definition. /// String value of the enum field names used in the ProtoBuf definition.
@@ -1456,6 +1457,7 @@ impl Analyzer {
match self { match self {
Self::English => "ENGLISH", Self::English => "ENGLISH",
Self::Chinese => "CHINESE", Self::Chinese => "CHINESE",
Self::Russian => "RUSSIAN",
} }
} }
/// Creates an enum from field names used in the ProtoBuf definition. /// Creates an enum from field names used in the ProtoBuf definition.
@@ -1463,6 +1465,7 @@ impl Analyzer {
match value { match value {
"ENGLISH" => Some(Self::English), "ENGLISH" => Some(Self::English),
"CHINESE" => Some(Self::Chinese), "CHINESE" => Some(Self::Chinese),
"RUSSIAN" => Some(Self::Russian),
_ => None, _ => None,
} }
} }
Binary file not shown.
+1 -4
View File
@@ -102,10 +102,7 @@ fn generate_rust() -> Result<(), Box<dyn Error>> {
.iter() .iter()
.map(|path| repo_root.join(path)) .map(|path| repo_root.join(path))
.collect(); .collect();
let mut include_dirs = vec![repo_root.join("proto")]; let include_dirs = [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() tonic_prost_build::configure()
.out_dir(&generated_dir) .out_dir(&generated_dir)