diff --git a/c++/greptime/v1/common.pb.cc b/c++/greptime/v1/common.pb.cc index 56491c8..c20884a 100644 --- a/c++/greptime/v1/common.pb.cc +++ b/c++/greptime/v1/common.pb.cc @@ -488,9 +488,22 @@ struct ArrowIpcDefaultTypeInternal { }; }; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ArrowIpcDefaultTypeInternal _ArrowIpc_default_instance_; +PROTOBUF_CONSTEXPR PartitionRuleVersion::PartitionRuleVersion( + ::_pbi::ConstantInitialized): _impl_{ + /*decltype(_impl_.value_)*/uint64_t{0u} + , /*decltype(_impl_._cached_size_)*/{}} {} +struct PartitionRuleVersionDefaultTypeInternal { + PROTOBUF_CONSTEXPR PartitionRuleVersionDefaultTypeInternal() + : _instance(::_pbi::ConstantInitialized{}) {} + ~PartitionRuleVersionDefaultTypeInternal() {} + union { + PartitionRuleVersion _instance; + }; +}; +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PartitionRuleVersionDefaultTypeInternal _PartitionRuleVersion_default_instance_; } // namespace v1 } // namespace greptime -static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fcommon_2eproto[34]; +static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fcommon_2eproto[35]; static const ::_pb::EnumDescriptor* file_level_enum_descriptors_greptime_2fv1_2fcommon_2eproto[4]; static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_greptime_2fv1_2fcommon_2eproto = nullptr; @@ -789,6 +802,13 @@ const uint32_t TableStruct_greptime_2fv1_2fcommon_2eproto::offsets[] PROTOBUF_SE PROTOBUF_FIELD_OFFSET(::greptime::v1::ArrowIpc, _impl_.schema_), PROTOBUF_FIELD_OFFSET(::greptime::v1::ArrowIpc, _impl_.data_header_), PROTOBUF_FIELD_OFFSET(::greptime::v1::ArrowIpc, _impl_.payload_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::greptime::v1::PartitionRuleVersion, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + PROTOBUF_FIELD_OFFSET(::greptime::v1::PartitionRuleVersion, _impl_.value_), }; static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, 8, -1, sizeof(::greptime::v1::QueryContext_ExtensionsEntry_DoNotUse)}, @@ -825,6 +845,7 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode { 268, 276, -1, sizeof(::greptime::v1::ColumnOptions_OptionsEntry_DoNotUse)}, { 278, -1, -1, sizeof(::greptime::v1::ColumnOptions)}, { 285, -1, -1, sizeof(::greptime::v1::ArrowIpc)}, + { 294, -1, -1, sizeof(::greptime::v1::PartitionRuleVersion)}, }; static const ::_pb::Message* const file_default_instances[] = { @@ -862,6 +883,7 @@ static const ::_pb::Message* const file_default_instances[] = { &::greptime::v1::_ColumnOptions_OptionsEntry_DoNotUse_default_instance_._instance, &::greptime::v1::_ColumnOptions_default_instance_._instance, &::greptime::v1::_ArrowIpc_default_instance_._instance, + &::greptime::v1::_PartitionRuleVersion_default_instance_._instance, }; const char descriptor_table_protodef_greptime_2fv1_2fcommon_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = @@ -946,33 +968,34 @@ const char descriptor_table_protodef_greptime_2fv1_2fcommon_2eproto[] PROTOBUF_S ".ColumnOptions.OptionsEntry\032.\n\014OptionsEn" "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"@\n\010A" "rrowIpc\022\016\n\006schema\030\001 \001(\014\022\023\n\013data_header\030\002" - " \001(\014\022\017\n\007payload\030\003 \001(\014*1\n\014SemanticType\022\007\n" - "\003TAG\020\000\022\t\n\005FIELD\020\001\022\r\n\tTIMESTAMP\020\002*\222\004\n\016Col" - "umnDataType\022\013\n\007BOOLEAN\020\000\022\010\n\004INT8\020\001\022\t\n\005IN" - "T16\020\002\022\t\n\005INT32\020\003\022\t\n\005INT64\020\004\022\t\n\005UINT8\020\005\022\n" - "\n\006UINT16\020\006\022\n\n\006UINT32\020\007\022\n\n\006UINT64\020\010\022\013\n\007FL" - "OAT32\020\t\022\013\n\007FLOAT64\020\n\022\n\n\006BINARY\020\013\022\n\n\006STRI" - "NG\020\014\022\010\n\004DATE\020\r\022\014\n\010DATETIME\020\016\022\024\n\020TIMESTAM" - "P_SECOND\020\017\022\031\n\025TIMESTAMP_MILLISECOND\020\020\022\031\n" - "\025TIMESTAMP_MICROSECOND\020\021\022\030\n\024TIMESTAMP_NA" - "NOSECOND\020\022\022\017\n\013TIME_SECOND\020\023\022\024\n\020TIME_MILL" - "ISECOND\020\024\022\024\n\020TIME_MICROSECOND\020\025\022\023\n\017TIME_" - "NANOSECOND\020\026\022\027\n\023INTERVAL_YEAR_MONTH\020\027\022\025\n" - "\021INTERVAL_DAY_TIME\020\030\022\033\n\027INTERVAL_MONTH_D" - "AY_NANO\020\031\022\016\n\nDECIMAL128\020\036\022\010\n\004JSON\020\037\022\n\n\006V" - "ECTOR\020 \022\010\n\004LIST\020(\022\n\n\006STRUCT\020)\022\016\n\nDICTION" - "ARY\020**H\n\010TimeUnit\022\017\n\013MILLISECOND\020\000\022\n\n\006SE" - "COND\020\001\022\017\n\013MICROSECOND\020\002\022\016\n\nNANOSECOND\020\003*" - "$\n\021JsonTypeExtension\022\017\n\013JSON_BINARY\020\000BO\n" - "\016io.greptime.v1B\006CommonZ5github.com/Grep" - "timeTeam/greptime-proto/go/greptime/v1b\006" - "proto3" + " \001(\014\022\017\n\007payload\030\003 \001(\014\"%\n\024PartitionRuleVe" + "rsion\022\r\n\005value\030\001 \001(\004*1\n\014SemanticType\022\007\n\003" + "TAG\020\000\022\t\n\005FIELD\020\001\022\r\n\tTIMESTAMP\020\002*\222\004\n\016Colu" + "mnDataType\022\013\n\007BOOLEAN\020\000\022\010\n\004INT8\020\001\022\t\n\005INT" + "16\020\002\022\t\n\005INT32\020\003\022\t\n\005INT64\020\004\022\t\n\005UINT8\020\005\022\n\n" + "\006UINT16\020\006\022\n\n\006UINT32\020\007\022\n\n\006UINT64\020\010\022\013\n\007FLO" + "AT32\020\t\022\013\n\007FLOAT64\020\n\022\n\n\006BINARY\020\013\022\n\n\006STRIN" + "G\020\014\022\010\n\004DATE\020\r\022\014\n\010DATETIME\020\016\022\024\n\020TIMESTAMP" + "_SECOND\020\017\022\031\n\025TIMESTAMP_MILLISECOND\020\020\022\031\n\025" + "TIMESTAMP_MICROSECOND\020\021\022\030\n\024TIMESTAMP_NAN" + "OSECOND\020\022\022\017\n\013TIME_SECOND\020\023\022\024\n\020TIME_MILLI" + "SECOND\020\024\022\024\n\020TIME_MICROSECOND\020\025\022\023\n\017TIME_N" + "ANOSECOND\020\026\022\027\n\023INTERVAL_YEAR_MONTH\020\027\022\025\n\021" + "INTERVAL_DAY_TIME\020\030\022\033\n\027INTERVAL_MONTH_DA" + "Y_NANO\020\031\022\016\n\nDECIMAL128\020\036\022\010\n\004JSON\020\037\022\n\n\006VE" + "CTOR\020 \022\010\n\004LIST\020(\022\n\n\006STRUCT\020)\022\016\n\nDICTIONA" + "RY\020**H\n\010TimeUnit\022\017\n\013MILLISECOND\020\000\022\n\n\006SEC" + "OND\020\001\022\017\n\013MICROSECOND\020\002\022\016\n\nNANOSECOND\020\003*$" + "\n\021JsonTypeExtension\022\017\n\013JSON_BINARY\020\000BO\n\016" + "io.greptime.v1B\006CommonZ5github.com/Grept" + "imeTeam/greptime-proto/go/greptime/v1b\006p" + "roto3" ; static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fcommon_2eproto_once; const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fcommon_2eproto = { - false, false, 4046, descriptor_table_protodef_greptime_2fv1_2fcommon_2eproto, + false, false, 4085, descriptor_table_protodef_greptime_2fv1_2fcommon_2eproto, "greptime/v1/common.proto", - &descriptor_table_greptime_2fv1_2fcommon_2eproto_once, nullptr, 0, 34, + &descriptor_table_greptime_2fv1_2fcommon_2eproto_once, nullptr, 0, 35, schemas, file_default_instances, TableStruct_greptime_2fv1_2fcommon_2eproto::offsets, file_level_metadata_greptime_2fv1_2fcommon_2eproto, file_level_enum_descriptors_greptime_2fv1_2fcommon_2eproto, file_level_service_descriptors_greptime_2fv1_2fcommon_2eproto, @@ -8538,6 +8561,184 @@ void ArrowIpc::InternalSwap(ArrowIpc* other) { file_level_metadata_greptime_2fv1_2fcommon_2eproto[33]); } +// =================================================================== + +class PartitionRuleVersion::_Internal { + public: +}; + +PartitionRuleVersion::PartitionRuleVersion(::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.PartitionRuleVersion) +} +PartitionRuleVersion::PartitionRuleVersion(const PartitionRuleVersion& from) + : ::PROTOBUF_NAMESPACE_ID::Message() { + PartitionRuleVersion* const _this = this; (void)_this; + new (&_impl_) Impl_{ + decltype(_impl_.value_){} + , /*decltype(_impl_._cached_size_)*/{}}; + + _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + _this->_impl_.value_ = from._impl_.value_; + // @@protoc_insertion_point(copy_constructor:greptime.v1.PartitionRuleVersion) +} + +inline void PartitionRuleVersion::SharedCtor( + ::_pb::Arena* arena, bool is_message_owned) { + (void)arena; + (void)is_message_owned; + new (&_impl_) Impl_{ + decltype(_impl_.value_){uint64_t{0u}} + , /*decltype(_impl_._cached_size_)*/{} + }; +} + +PartitionRuleVersion::~PartitionRuleVersion() { + // @@protoc_insertion_point(destructor:greptime.v1.PartitionRuleVersion) + if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) { + (void)arena; + return; + } + SharedDtor(); +} + +inline void PartitionRuleVersion::SharedDtor() { + GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); +} + +void PartitionRuleVersion::SetCachedSize(int size) const { + _impl_._cached_size_.Set(size); +} + +void PartitionRuleVersion::Clear() { +// @@protoc_insertion_point(message_clear_start:greptime.v1.PartitionRuleVersion) + uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.value_ = uint64_t{0u}; + _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); +} + +const char* PartitionRuleVersion::_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 value = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 8)) { + _impl_.value_ = ::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* PartitionRuleVersion::_InternalSerialize( + uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:greptime.v1.PartitionRuleVersion) + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + // uint64 value = 1; + if (this->_internal_value() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray(1, this->_internal_value(), 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.PartitionRuleVersion) + return target; +} + +size_t PartitionRuleVersion::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:greptime.v1.PartitionRuleVersion) + 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 value = 1; + if (this->_internal_value() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_value()); + } + + return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_); +} + +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData PartitionRuleVersion::_class_data_ = { + ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck, + PartitionRuleVersion::MergeImpl +}; +const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*PartitionRuleVersion::GetClassData() const { return &_class_data_; } + + +void PartitionRuleVersion::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:greptime.v1.PartitionRuleVersion) + GOOGLE_DCHECK_NE(&from, _this); + uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_value() != 0) { + _this->_internal_set_value(from._internal_value()); + } + _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); +} + +void PartitionRuleVersion::CopyFrom(const PartitionRuleVersion& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.PartitionRuleVersion) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool PartitionRuleVersion::IsInitialized() const { + return true; +} + +void PartitionRuleVersion::InternalSwap(PartitionRuleVersion* other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.value_, other->_impl_.value_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata PartitionRuleVersion::GetMetadata() const { + return ::_pbi::AssignDescriptors( + &descriptor_table_greptime_2fv1_2fcommon_2eproto_getter, &descriptor_table_greptime_2fv1_2fcommon_2eproto_once, + file_level_metadata_greptime_2fv1_2fcommon_2eproto[34]); +} + // @@protoc_insertion_point(namespace_scope) } // namespace v1 } // namespace greptime @@ -8678,6 +8879,10 @@ template<> PROTOBUF_NOINLINE ::greptime::v1::ArrowIpc* Arena::CreateMaybeMessage< ::greptime::v1::ArrowIpc >(Arena* arena) { return Arena::CreateMessageInternal< ::greptime::v1::ArrowIpc >(arena); } +template<> PROTOBUF_NOINLINE ::greptime::v1::PartitionRuleVersion* +Arena::CreateMaybeMessage< ::greptime::v1::PartitionRuleVersion >(Arena* arena) { + return Arena::CreateMessageInternal< ::greptime::v1::PartitionRuleVersion >(arena); +} PROTOBUF_NAMESPACE_CLOSE // @@protoc_insertion_point(global_scope) diff --git a/c++/greptime/v1/common.pb.h b/c++/greptime/v1/common.pb.h index e56aea5..5f128a7 100644 --- a/c++/greptime/v1/common.pb.h +++ b/c++/greptime/v1/common.pb.h @@ -104,6 +104,9 @@ extern ListTypeExtensionDefaultTypeInternal _ListTypeExtension_default_instance_ class Metrics; struct MetricsDefaultTypeInternal; extern MetricsDefaultTypeInternal _Metrics_default_instance_; +class PartitionRuleVersion; +struct PartitionRuleVersionDefaultTypeInternal; +extern PartitionRuleVersionDefaultTypeInternal _PartitionRuleVersion_default_instance_; class QueryContext; struct QueryContextDefaultTypeInternal; extern QueryContextDefaultTypeInternal _QueryContext_default_instance_; @@ -173,6 +176,7 @@ template<> ::greptime::v1::IntervalMonthDayNano* Arena::CreateMaybeMessage<::gre template<> ::greptime::v1::JsonNativeTypeExtension* Arena::CreateMaybeMessage<::greptime::v1::JsonNativeTypeExtension>(Arena*); template<> ::greptime::v1::ListTypeExtension* Arena::CreateMaybeMessage<::greptime::v1::ListTypeExtension>(Arena*); template<> ::greptime::v1::Metrics* Arena::CreateMaybeMessage<::greptime::v1::Metrics>(Arena*); +template<> ::greptime::v1::PartitionRuleVersion* Arena::CreateMaybeMessage<::greptime::v1::PartitionRuleVersion>(Arena*); template<> ::greptime::v1::QueryContext* Arena::CreateMaybeMessage<::greptime::v1::QueryContext>(Arena*); template<> ::greptime::v1::QueryContext_ExtensionsEntry_DoNotUse* Arena::CreateMaybeMessage<::greptime::v1::QueryContext_ExtensionsEntry_DoNotUse>(Arena*); template<> ::greptime::v1::RequestHeader* Arena::CreateMaybeMessage<::greptime::v1::RequestHeader>(Arena*); @@ -5586,6 +5590,154 @@ class ArrowIpc final : union { Impl_ _impl_; }; friend struct ::TableStruct_greptime_2fv1_2fcommon_2eproto; }; +// ------------------------------------------------------------------- + +class PartitionRuleVersion final : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.PartitionRuleVersion) */ { + public: + inline PartitionRuleVersion() : PartitionRuleVersion(nullptr) {} + ~PartitionRuleVersion() override; + explicit PROTOBUF_CONSTEXPR PartitionRuleVersion(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); + + PartitionRuleVersion(const PartitionRuleVersion& from); + PartitionRuleVersion(PartitionRuleVersion&& from) noexcept + : PartitionRuleVersion() { + *this = ::std::move(from); + } + + inline PartitionRuleVersion& operator=(const PartitionRuleVersion& from) { + CopyFrom(from); + return *this; + } + inline PartitionRuleVersion& operator=(PartitionRuleVersion&& 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 PartitionRuleVersion& default_instance() { + return *internal_default_instance(); + } + static inline const PartitionRuleVersion* internal_default_instance() { + return reinterpret_cast( + &_PartitionRuleVersion_default_instance_); + } + static constexpr int kIndexInFileMessages = + 34; + + friend void swap(PartitionRuleVersion& a, PartitionRuleVersion& b) { + a.Swap(&b); + } + inline void Swap(PartitionRuleVersion* 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(PartitionRuleVersion* other) { + if (other == this) return; + GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + PartitionRuleVersion* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { + return CreateMaybeMessage(arena); + } + using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; + void CopyFrom(const PartitionRuleVersion& from); + using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; + void MergeFrom( const PartitionRuleVersion& from) { + PartitionRuleVersion::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(PartitionRuleVersion* other); + + private: + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "greptime.v1.PartitionRuleVersion"; + } + protected: + explicit PartitionRuleVersion(::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 { + kValueFieldNumber = 1, + }; + // uint64 value = 1; + void clear_value(); + uint64_t value() const; + void set_value(uint64_t value); + private: + uint64_t _internal_value() const; + void _internal_set_value(uint64_t value); + public: + + // @@protoc_insertion_point(class_scope:greptime.v1.PartitionRuleVersion) + private: + class _Internal; + + template friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; + typedef void InternalArenaConstructable_; + typedef void DestructorSkippable_; + struct Impl_ { + uint64_t value_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_greptime_2fv1_2fcommon_2eproto; +}; // =================================================================== @@ -8972,6 +9124,30 @@ inline void ArrowIpc::set_allocated_payload(std::string* payload) { // @@protoc_insertion_point(field_set_allocated:greptime.v1.ArrowIpc.payload) } +// ------------------------------------------------------------------- + +// PartitionRuleVersion + +// uint64 value = 1; +inline void PartitionRuleVersion::clear_value() { + _impl_.value_ = uint64_t{0u}; +} +inline uint64_t PartitionRuleVersion::_internal_value() const { + return _impl_.value_; +} +inline uint64_t PartitionRuleVersion::value() const { + // @@protoc_insertion_point(field_get:greptime.v1.PartitionRuleVersion.value) + return _internal_value(); +} +inline void PartitionRuleVersion::_internal_set_value(uint64_t value) { + + _impl_.value_ = value; +} +inline void PartitionRuleVersion::set_value(uint64_t value) { + _internal_set_value(value); + // @@protoc_insertion_point(field_set:greptime.v1.PartitionRuleVersion.value) +} + #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ @@ -9041,6 +9217,8 @@ inline void ArrowIpc::set_allocated_payload(std::string* payload) { // ------------------------------------------------------------------- +// ------------------------------------------------------------------- + // @@protoc_insertion_point(namespace_scope) diff --git a/c++/greptime/v1/flow/server.pb.cc b/c++/greptime/v1/flow/server.pb.cc index 386fe64..16e84ec 100644 --- a/c++/greptime/v1/flow/server.pb.cc +++ b/c++/greptime/v1/flow/server.pb.cc @@ -92,6 +92,7 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORIT PROTOBUF_CONSTEXPR InsertRequest::InsertRequest( ::_pbi::ConstantInitialized): _impl_{ /*decltype(_impl_.rows_)*/nullptr + , /*decltype(_impl_.partition_rule_version_)*/nullptr , /*decltype(_impl_.region_id_)*/uint64_t{0u} , /*decltype(_impl_._cached_size_)*/{}} {} struct InsertRequestDefaultTypeInternal { @@ -260,6 +261,7 @@ const uint32_t TableStruct_greptime_2fv1_2fflow_2fserver_2eproto::offsets[] PROT ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::InsertRequest, _impl_.region_id_), PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::InsertRequest, _impl_.rows_), + PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::InsertRequest, _impl_.partition_rule_version_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::FlowRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -339,13 +341,13 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode { 25, -1, -1, sizeof(::greptime::v1::flow::FlowRequestHeader)}, { 33, -1, -1, sizeof(::greptime::v1::flow::InsertRequests)}, { 40, -1, -1, sizeof(::greptime::v1::flow::InsertRequest)}, - { 48, -1, -1, sizeof(::greptime::v1::flow::FlowRequest)}, - { 59, 67, -1, sizeof(::greptime::v1::flow::FlowResponse_ExtensionsEntry_DoNotUse)}, - { 69, -1, -1, sizeof(::greptime::v1::flow::FlowResponse)}, - { 79, 87, -1, sizeof(::greptime::v1::flow::CreateRequest_FlowOptionsEntry_DoNotUse)}, - { 89, -1, -1, sizeof(::greptime::v1::flow::CreateRequest)}, - { 105, -1, -1, sizeof(::greptime::v1::flow::DropRequest)}, - { 112, -1, -1, sizeof(::greptime::v1::flow::FlushFlow)}, + { 49, -1, -1, sizeof(::greptime::v1::flow::FlowRequest)}, + { 60, 68, -1, sizeof(::greptime::v1::flow::FlowResponse_ExtensionsEntry_DoNotUse)}, + { 70, -1, -1, sizeof(::greptime::v1::flow::FlowResponse)}, + { 80, 88, -1, sizeof(::greptime::v1::flow::CreateRequest_FlowOptionsEntry_DoNotUse)}, + { 90, -1, -1, sizeof(::greptime::v1::flow::CreateRequest)}, + { 106, -1, -1, sizeof(::greptime::v1::flow::DropRequest)}, + { 113, -1, -1, sizeof(::greptime::v1::flow::FlushFlow)}, }; static const ::_pb::Message* const file_default_instances[] = { @@ -378,44 +380,46 @@ const char descriptor_table_protodef_greptime_2fv1_2fflow_2fserver_2eproto[] PRO "1.QueryContext\0325\n\023TracingContextEntry\022\013\n" "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"C\n\016InsertR" "equests\0221\n\010requests\030\001 \003(\0132\037.greptime.v1." - "flow.InsertRequest\"C\n\rInsertRequest\022\021\n\tr" - "egion_id\030\001 \001(\004\022\037\n\004rows\030\002 \001(\0132\021.greptime." - "v1.Rows\"\332\001\n\013FlowRequest\0223\n\006header\030@ \001(\0132" - "#.greptime.v1.flow.FlowRequestHeader\0221\n\006" - "create\030\001 \001(\0132\037.greptime.v1.flow.CreateRe" - "questH\000\022-\n\004drop\030\002 \001(\0132\035.greptime.v1.flow" - ".DropRequestH\000\022,\n\005flush\030\003 \001(\0132\033.greptime" - ".v1.flow.FlushFlowH\000B\006\n\004body\"\366\001\n\014FlowRes" - "ponse\022+\n\006header\030\001 \001(\0132\033.greptime.v1.Resp" - "onseHeader\022\025\n\raffected_rows\030\002 \001(\004\022+\n\016aff" - "ected_flows\030\003 \003(\0132\023.greptime.v1.FlowId\022B" - "\n\nextensions\030\004 \003(\0132..greptime.v1.flow.Fl" - "owResponse.ExtensionsEntry\0321\n\017Extensions" - "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\014:\0028\001\"\304\003" - "\n\rCreateRequest\022$\n\007flow_id\030\001 \001(\0132\023.grept" - "ime.v1.FlowId\022.\n\020source_table_ids\030\002 \003(\0132" - "\024.greptime.v1.TableId\022/\n\017sink_table_name" - "\030\003 \001(\0132\026.greptime.v1.TableName\022\034\n\024create" - "_if_not_exists\030\004 \001(\010\022.\n\014expire_after\030\005 \001" - "(\0132\030.greptime.v1.ExpireAfter\0220\n\reval_int" - "erval\030\n \001(\0132\031.greptime.v1.EvalInterval\022\017" - "\n\007comment\030\006 \001(\t\022\013\n\003sql\030\007 \001(\t\022F\n\014flow_opt" - "ions\030\010 \003(\01320.greptime.v1.flow.CreateRequ" - "est.FlowOptionsEntry\022\022\n\nor_replace\030\t \001(\010" - "\0322\n\020FlowOptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val" - "ue\030\002 \001(\t:\0028\001\"3\n\013DropRequest\022$\n\007flow_id\030\001" - " \001(\0132\023.greptime.v1.FlowId\"1\n\tFlushFlow\022$" - "\n\007flow_id\030\001 \001(\0132\023.greptime.v1.FlowId2\230\002\n" - "\004Flow\022S\n\022HandleCreateRemove\022\035.greptime.v" - "1.flow.FlowRequest\032\036.greptime.v1.flow.Fl" - "owResponse\022W\n\023HandleMirrorRequest\022 .grep" - "time.v1.flow.InsertRequests\032\036.greptime.v" - "1.flow.FlowResponse\022b\n\031HandleMarkDirtyTi" - "meWindow\022%.greptime.v1.flow.DirtyWindowR" - "equests\032\036.greptime.v1.flow.FlowResponseB" - "Y\n\023io.greptime.v1.flowB\006ServerZ:github.c" - "om/GreptimeTeam/greptime-proto/go/grepti" - "me/v1/flowb\006proto3" + "flow.InsertRequest\"\206\001\n\rInsertRequest\022\021\n\t" + "region_id\030\001 \001(\004\022\037\n\004rows\030\002 \001(\0132\021.greptime" + ".v1.Rows\022A\n\026partition_rule_version\030\003 \001(\013" + "2!.greptime.v1.PartitionRuleVersion\"\332\001\n\013" + "FlowRequest\0223\n\006header\030@ \001(\0132#.greptime.v" + "1.flow.FlowRequestHeader\0221\n\006create\030\001 \001(\013" + "2\037.greptime.v1.flow.CreateRequestH\000\022-\n\004d" + "rop\030\002 \001(\0132\035.greptime.v1.flow.DropRequest" + "H\000\022,\n\005flush\030\003 \001(\0132\033.greptime.v1.flow.Flu" + "shFlowH\000B\006\n\004body\"\366\001\n\014FlowResponse\022+\n\006hea" + "der\030\001 \001(\0132\033.greptime.v1.ResponseHeader\022\025" + "\n\raffected_rows\030\002 \001(\004\022+\n\016affected_flows\030" + "\003 \003(\0132\023.greptime.v1.FlowId\022B\n\nextensions" + "\030\004 \003(\0132..greptime.v1.flow.FlowResponse.E" + "xtensionsEntry\0321\n\017ExtensionsEntry\022\013\n\003key" + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\014:\0028\001\"\304\003\n\rCreateRequ" + "est\022$\n\007flow_id\030\001 \001(\0132\023.greptime.v1.FlowI" + "d\022.\n\020source_table_ids\030\002 \003(\0132\024.greptime.v" + "1.TableId\022/\n\017sink_table_name\030\003 \001(\0132\026.gre" + "ptime.v1.TableName\022\034\n\024create_if_not_exis" + "ts\030\004 \001(\010\022.\n\014expire_after\030\005 \001(\0132\030.greptim" + "e.v1.ExpireAfter\0220\n\reval_interval\030\n \001(\0132" + "\031.greptime.v1.EvalInterval\022\017\n\007comment\030\006 " + "\001(\t\022\013\n\003sql\030\007 \001(\t\022F\n\014flow_options\030\010 \003(\01320" + ".greptime.v1.flow.CreateRequest.FlowOpti" + "onsEntry\022\022\n\nor_replace\030\t \001(\010\0322\n\020FlowOpti" + "onsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" + "\"3\n\013DropRequest\022$\n\007flow_id\030\001 \001(\0132\023.grept" + "ime.v1.FlowId\"1\n\tFlushFlow\022$\n\007flow_id\030\001 " + "\001(\0132\023.greptime.v1.FlowId2\230\002\n\004Flow\022S\n\022Han" + "dleCreateRemove\022\035.greptime.v1.flow.FlowR" + "equest\032\036.greptime.v1.flow.FlowResponse\022W" + "\n\023HandleMirrorRequest\022 .greptime.v1.flow" + ".InsertRequests\032\036.greptime.v1.flow.FlowR" + "esponse\022b\n\031HandleMarkDirtyTimeWindow\022%.g" + "reptime.v1.flow.DirtyWindowRequests\032\036.gr" + "eptime.v1.flow.FlowResponseBY\n\023io.grepti" + "me.v1.flowB\006ServerZ:github.com/GreptimeT" + "eam/greptime-proto/go/greptime/v1/flowb\006" + "proto3" ; static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fflow_2fserver_2eproto_deps[3] = { &::descriptor_table_greptime_2fv1_2fcommon_2eproto, @@ -424,7 +428,7 @@ static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fflo }; static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fflow_2fserver_2eproto_once; const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fflow_2fserver_2eproto = { - false, false, 2018, descriptor_table_protodef_greptime_2fv1_2fflow_2fserver_2eproto, + false, false, 2086, descriptor_table_protodef_greptime_2fv1_2fflow_2fserver_2eproto, "greptime/v1/flow/server.proto", &descriptor_table_greptime_2fv1_2fflow_2fserver_2eproto_once, descriptor_table_greptime_2fv1_2fflow_2fserver_2eproto_deps, 3, 13, schemas, file_default_instances, TableStruct_greptime_2fv1_2fflow_2fserver_2eproto::offsets, @@ -1317,18 +1321,29 @@ void InsertRequests::InternalSwap(InsertRequests* other) { class InsertRequest::_Internal { public: static const ::greptime::v1::Rows& rows(const InsertRequest* msg); + static const ::greptime::v1::PartitionRuleVersion& partition_rule_version(const InsertRequest* msg); }; const ::greptime::v1::Rows& InsertRequest::_Internal::rows(const InsertRequest* msg) { return *msg->_impl_.rows_; } +const ::greptime::v1::PartitionRuleVersion& +InsertRequest::_Internal::partition_rule_version(const InsertRequest* msg) { + return *msg->_impl_.partition_rule_version_; +} void InsertRequest::clear_rows() { if (GetArenaForAllocation() == nullptr && _impl_.rows_ != nullptr) { delete _impl_.rows_; } _impl_.rows_ = nullptr; } +void InsertRequest::clear_partition_rule_version() { + if (GetArenaForAllocation() == nullptr && _impl_.partition_rule_version_ != nullptr) { + delete _impl_.partition_rule_version_; + } + _impl_.partition_rule_version_ = nullptr; +} InsertRequest::InsertRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -1340,6 +1355,7 @@ InsertRequest::InsertRequest(const InsertRequest& from) InsertRequest* const _this = this; (void)_this; new (&_impl_) Impl_{ decltype(_impl_.rows_){nullptr} + , decltype(_impl_.partition_rule_version_){nullptr} , decltype(_impl_.region_id_){} , /*decltype(_impl_._cached_size_)*/{}}; @@ -1347,6 +1363,9 @@ InsertRequest::InsertRequest(const InsertRequest& from) if (from._internal_has_rows()) { _this->_impl_.rows_ = new ::greptime::v1::Rows(*from._impl_.rows_); } + if (from._internal_has_partition_rule_version()) { + _this->_impl_.partition_rule_version_ = new ::greptime::v1::PartitionRuleVersion(*from._impl_.partition_rule_version_); + } _this->_impl_.region_id_ = from._impl_.region_id_; // @@protoc_insertion_point(copy_constructor:greptime.v1.flow.InsertRequest) } @@ -1357,6 +1376,7 @@ inline void InsertRequest::SharedCtor( (void)is_message_owned; new (&_impl_) Impl_{ decltype(_impl_.rows_){nullptr} + , decltype(_impl_.partition_rule_version_){nullptr} , decltype(_impl_.region_id_){uint64_t{0u}} , /*decltype(_impl_._cached_size_)*/{} }; @@ -1374,6 +1394,7 @@ InsertRequest::~InsertRequest() { inline void InsertRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete _impl_.rows_; + if (this != internal_default_instance()) delete _impl_.partition_rule_version_; } void InsertRequest::SetCachedSize(int size) const { @@ -1390,6 +1411,10 @@ void InsertRequest::Clear() { delete _impl_.rows_; } _impl_.rows_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.partition_rule_version_ != nullptr) { + delete _impl_.partition_rule_version_; + } + _impl_.partition_rule_version_ = nullptr; _impl_.region_id_ = uint64_t{0u}; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -1416,6 +1441,14 @@ const char* InsertRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* } else goto handle_unusual; continue; + // .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_partition_rule_version(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -1458,6 +1491,13 @@ uint8_t* InsertRequest::_InternalSerialize( _Internal::rows(this).GetCachedSize(), target, stream); } + // .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + if (this->_internal_has_partition_rule_version()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::partition_rule_version(this), + _Internal::partition_rule_version(this).GetCachedSize(), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -1481,6 +1521,13 @@ size_t InsertRequest::ByteSizeLong() const { *_impl_.rows_); } + // .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + if (this->_internal_has_partition_rule_version()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.partition_rule_version_); + } + // uint64 region_id = 1; if (this->_internal_region_id() != 0) { total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_region_id()); @@ -1508,6 +1555,10 @@ void InsertRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const :: _this->_internal_mutable_rows()->::greptime::v1::Rows::MergeFrom( from._internal_rows()); } + if (from._internal_has_partition_rule_version()) { + _this->_internal_mutable_partition_rule_version()->::greptime::v1::PartitionRuleVersion::MergeFrom( + from._internal_partition_rule_version()); + } if (from._internal_region_id() != 0) { _this->_internal_set_region_id(from._internal_region_id()); } diff --git a/c++/greptime/v1/flow/server.pb.h b/c++/greptime/v1/flow/server.pb.h index 06d0f3e..2a25132 100644 --- a/c++/greptime/v1/flow/server.pb.h +++ b/c++/greptime/v1/flow/server.pb.h @@ -936,6 +936,7 @@ class InsertRequest final : enum : int { kRowsFieldNumber = 2, + kPartitionRuleVersionFieldNumber = 3, kRegionIdFieldNumber = 1, }; // .greptime.v1.Rows rows = 2; @@ -956,6 +957,24 @@ class InsertRequest final : ::greptime::v1::Rows* rows); ::greptime::v1::Rows* unsafe_arena_release_rows(); + // .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + bool has_partition_rule_version() const; + private: + bool _internal_has_partition_rule_version() const; + public: + void clear_partition_rule_version(); + const ::greptime::v1::PartitionRuleVersion& partition_rule_version() const; + PROTOBUF_NODISCARD ::greptime::v1::PartitionRuleVersion* release_partition_rule_version(); + ::greptime::v1::PartitionRuleVersion* mutable_partition_rule_version(); + void set_allocated_partition_rule_version(::greptime::v1::PartitionRuleVersion* partition_rule_version); + private: + const ::greptime::v1::PartitionRuleVersion& _internal_partition_rule_version() const; + ::greptime::v1::PartitionRuleVersion* _internal_mutable_partition_rule_version(); + public: + void unsafe_arena_set_allocated_partition_rule_version( + ::greptime::v1::PartitionRuleVersion* partition_rule_version); + ::greptime::v1::PartitionRuleVersion* unsafe_arena_release_partition_rule_version(); + // uint64 region_id = 1; void clear_region_id(); uint64_t region_id() const; @@ -974,6 +993,7 @@ class InsertRequest final : typedef void DestructorSkippable_; struct Impl_ { ::greptime::v1::Rows* rows_; + ::greptime::v1::PartitionRuleVersion* partition_rule_version_; uint64_t region_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; }; @@ -2512,6 +2532,91 @@ inline void InsertRequest::set_allocated_rows(::greptime::v1::Rows* rows) { // @@protoc_insertion_point(field_set_allocated:greptime.v1.flow.InsertRequest.rows) } +// .greptime.v1.PartitionRuleVersion partition_rule_version = 3; +inline bool InsertRequest::_internal_has_partition_rule_version() const { + return this != internal_default_instance() && _impl_.partition_rule_version_ != nullptr; +} +inline bool InsertRequest::has_partition_rule_version() const { + return _internal_has_partition_rule_version(); +} +inline const ::greptime::v1::PartitionRuleVersion& InsertRequest::_internal_partition_rule_version() const { + const ::greptime::v1::PartitionRuleVersion* p = _impl_.partition_rule_version_; + return p != nullptr ? *p : reinterpret_cast( + ::greptime::v1::_PartitionRuleVersion_default_instance_); +} +inline const ::greptime::v1::PartitionRuleVersion& InsertRequest::partition_rule_version() const { + // @@protoc_insertion_point(field_get:greptime.v1.flow.InsertRequest.partition_rule_version) + return _internal_partition_rule_version(); +} +inline void InsertRequest::unsafe_arena_set_allocated_partition_rule_version( + ::greptime::v1::PartitionRuleVersion* partition_rule_version) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.partition_rule_version_); + } + _impl_.partition_rule_version_ = partition_rule_version; + if (partition_rule_version) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.flow.InsertRequest.partition_rule_version) +} +inline ::greptime::v1::PartitionRuleVersion* InsertRequest::release_partition_rule_version() { + + ::greptime::v1::PartitionRuleVersion* temp = _impl_.partition_rule_version_; + _impl_.partition_rule_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::PartitionRuleVersion* InsertRequest::unsafe_arena_release_partition_rule_version() { + // @@protoc_insertion_point(field_release:greptime.v1.flow.InsertRequest.partition_rule_version) + + ::greptime::v1::PartitionRuleVersion* temp = _impl_.partition_rule_version_; + _impl_.partition_rule_version_ = nullptr; + return temp; +} +inline ::greptime::v1::PartitionRuleVersion* InsertRequest::_internal_mutable_partition_rule_version() { + + if (_impl_.partition_rule_version_ == nullptr) { + auto* p = CreateMaybeMessage<::greptime::v1::PartitionRuleVersion>(GetArenaForAllocation()); + _impl_.partition_rule_version_ = p; + } + return _impl_.partition_rule_version_; +} +inline ::greptime::v1::PartitionRuleVersion* InsertRequest::mutable_partition_rule_version() { + ::greptime::v1::PartitionRuleVersion* _msg = _internal_mutable_partition_rule_version(); + // @@protoc_insertion_point(field_mutable:greptime.v1.flow.InsertRequest.partition_rule_version) + return _msg; +} +inline void InsertRequest::set_allocated_partition_rule_version(::greptime::v1::PartitionRuleVersion* partition_rule_version) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.partition_rule_version_); + } + if (partition_rule_version) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(partition_rule_version)); + if (message_arena != submessage_arena) { + partition_rule_version = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, partition_rule_version, submessage_arena); + } + + } else { + + } + _impl_.partition_rule_version_ = partition_rule_version; + // @@protoc_insertion_point(field_set_allocated:greptime.v1.flow.InsertRequest.partition_rule_version) +} + // ------------------------------------------------------------------- // FlowRequest diff --git a/c++/greptime/v1/region/server.pb.cc b/c++/greptime/v1/region/server.pb.cc index 61429d7..2bebf4c 100644 --- a/c++/greptime/v1/region/server.pb.cc +++ b/c++/greptime/v1/region/server.pb.cc @@ -120,6 +120,7 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORIT PROTOBUF_CONSTEXPR InsertRequest::InsertRequest( ::_pbi::ConstantInitialized): _impl_{ /*decltype(_impl_.rows_)*/nullptr + , /*decltype(_impl_.partition_rule_version_)*/nullptr , /*decltype(_impl_.region_id_)*/uint64_t{0u} , /*decltype(_impl_._cached_size_)*/{}} {} struct InsertRequestDefaultTypeInternal { @@ -134,6 +135,7 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORIT PROTOBUF_CONSTEXPR DeleteRequest::DeleteRequest( ::_pbi::ConstantInitialized): _impl_{ /*decltype(_impl_.rows_)*/nullptr + , /*decltype(_impl_.partition_rule_version_)*/nullptr , /*decltype(_impl_.region_id_)*/uint64_t{0u} , /*decltype(_impl_._cached_size_)*/{}} {} struct DeleteRequestDefaultTypeInternal { @@ -463,7 +465,8 @@ struct RegionColumnDefDefaultTypeInternal { PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RegionColumnDefDefaultTypeInternal _RegionColumnDef_default_instance_; PROTOBUF_CONSTEXPR BulkInsertRequest::BulkInsertRequest( ::_pbi::ConstantInitialized): _impl_{ - /*decltype(_impl_.region_id_)*/uint64_t{0u} + /*decltype(_impl_.partition_rule_version_)*/nullptr + , /*decltype(_impl_.region_id_)*/uint64_t{0u} , /*decltype(_impl_.body_)*/{} , /*decltype(_impl_._cached_size_)*/{} , /*decltype(_impl_._oneof_case_)*/{}} {} @@ -669,6 +672,7 @@ const uint32_t TableStruct_greptime_2fv1_2fregion_2fserver_2eproto::offsets[] PR ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::greptime::v1::region::InsertRequest, _impl_.region_id_), PROTOBUF_FIELD_OFFSET(::greptime::v1::region::InsertRequest, _impl_.rows_), + PROTOBUF_FIELD_OFFSET(::greptime::v1::region::InsertRequest, _impl_.partition_rule_version_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::greptime::v1::region::DeleteRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -677,6 +681,7 @@ const uint32_t TableStruct_greptime_2fv1_2fregion_2fserver_2eproto::offsets[] PR ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::greptime::v1::region::DeleteRequest, _impl_.region_id_), PROTOBUF_FIELD_OFFSET(::greptime::v1::region::DeleteRequest, _impl_.rows_), + PROTOBUF_FIELD_OFFSET(::greptime::v1::region::DeleteRequest, _impl_.partition_rule_version_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::greptime::v1::region::QueryRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -887,6 +892,7 @@ const uint32_t TableStruct_greptime_2fv1_2fregion_2fserver_2eproto::offsets[] PR ~0u, // no _inlined_string_donated_ PROTOBUF_FIELD_OFFSET(::greptime::v1::region::BulkInsertRequest, _impl_.region_id_), ::_pbi::kInvalidFieldOffsetTag, + PROTOBUF_FIELD_OFFSET(::greptime::v1::region::BulkInsertRequest, _impl_.partition_rule_version_), PROTOBUF_FIELD_OFFSET(::greptime::v1::region::BulkInsertRequest, _impl_.body_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::greptime::v1::region::MitoManifestInfo, _internal_metadata_), @@ -954,38 +960,38 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode { 65, -1, -1, sizeof(::greptime::v1::region::InsertRequests)}, { 72, -1, -1, sizeof(::greptime::v1::region::DeleteRequests)}, { 79, -1, -1, sizeof(::greptime::v1::region::InsertRequest)}, - { 87, -1, -1, sizeof(::greptime::v1::region::DeleteRequest)}, - { 95, -1, -1, sizeof(::greptime::v1::region::QueryRequest)}, - { 104, -1, -1, sizeof(::greptime::v1::region::CreateRequests)}, - { 111, 119, -1, sizeof(::greptime::v1::region::CreateRequest_OptionsEntry_DoNotUse)}, - { 121, -1, -1, sizeof(::greptime::v1::region::CreateRequest)}, - { 134, -1, -1, sizeof(::greptime::v1::region::DropRequests)}, - { 141, -1, -1, sizeof(::greptime::v1::region::DropRequest)}, - { 151, 159, -1, sizeof(::greptime::v1::region::OpenRequest_OptionsEntry_DoNotUse)}, - { 161, -1, -1, sizeof(::greptime::v1::region::OpenRequest)}, - { 171, -1, -1, sizeof(::greptime::v1::region::CloseRequest)}, - { 178, -1, -1, sizeof(::greptime::v1::region::AlterRequests)}, - { 185, -1, -1, sizeof(::greptime::v1::region::AlterRequest)}, - { 206, -1, -1, sizeof(::greptime::v1::region::SyncColumns)}, - { 213, -1, -1, sizeof(::greptime::v1::region::AddColumns)}, - { 220, -1, -1, sizeof(::greptime::v1::region::DropColumns)}, - { 227, -1, -1, sizeof(::greptime::v1::region::AddColumn)}, - { 235, -1, -1, sizeof(::greptime::v1::region::DropColumn)}, - { 242, -1, -1, sizeof(::greptime::v1::region::FlushRequest)}, - { 249, -1, -1, sizeof(::greptime::v1::region::Regular)}, - { 255, -1, -1, sizeof(::greptime::v1::region::StrictWindow)}, - { 262, -1, -1, sizeof(::greptime::v1::region::CompactRequest)}, - { 273, -1, -1, sizeof(::greptime::v1::region::TruncateRequest)}, - { 283, -1, -1, sizeof(::greptime::v1::region::All)}, - { 289, -1, -1, sizeof(::greptime::v1::region::RegionColumnDef)}, - { 297, -1, -1, sizeof(::greptime::v1::region::BulkInsertRequest)}, - { 306, -1, -1, sizeof(::greptime::v1::region::MitoManifestInfo)}, - { 313, -1, -1, sizeof(::greptime::v1::region::MetricManifestInfo)}, - { 321, -1, -1, sizeof(::greptime::v1::region::SyncRequest)}, - { 331, -1, -1, sizeof(::greptime::v1::region::ListMetadataRequest)}, - { 338, -1, -1, sizeof(::greptime::v1::region::BuildIndexRequest)}, - { 345, -1, -1, sizeof(::greptime::v1::region::FileMetas)}, - { 352, -1, -1, sizeof(::greptime::v1::region::ApplyStagingManifestRequest)}, + { 88, -1, -1, sizeof(::greptime::v1::region::DeleteRequest)}, + { 97, -1, -1, sizeof(::greptime::v1::region::QueryRequest)}, + { 106, -1, -1, sizeof(::greptime::v1::region::CreateRequests)}, + { 113, 121, -1, sizeof(::greptime::v1::region::CreateRequest_OptionsEntry_DoNotUse)}, + { 123, -1, -1, sizeof(::greptime::v1::region::CreateRequest)}, + { 136, -1, -1, sizeof(::greptime::v1::region::DropRequests)}, + { 143, -1, -1, sizeof(::greptime::v1::region::DropRequest)}, + { 153, 161, -1, sizeof(::greptime::v1::region::OpenRequest_OptionsEntry_DoNotUse)}, + { 163, -1, -1, sizeof(::greptime::v1::region::OpenRequest)}, + { 173, -1, -1, sizeof(::greptime::v1::region::CloseRequest)}, + { 180, -1, -1, sizeof(::greptime::v1::region::AlterRequests)}, + { 187, -1, -1, sizeof(::greptime::v1::region::AlterRequest)}, + { 208, -1, -1, sizeof(::greptime::v1::region::SyncColumns)}, + { 215, -1, -1, sizeof(::greptime::v1::region::AddColumns)}, + { 222, -1, -1, sizeof(::greptime::v1::region::DropColumns)}, + { 229, -1, -1, sizeof(::greptime::v1::region::AddColumn)}, + { 237, -1, -1, sizeof(::greptime::v1::region::DropColumn)}, + { 244, -1, -1, sizeof(::greptime::v1::region::FlushRequest)}, + { 251, -1, -1, sizeof(::greptime::v1::region::Regular)}, + { 257, -1, -1, sizeof(::greptime::v1::region::StrictWindow)}, + { 264, -1, -1, sizeof(::greptime::v1::region::CompactRequest)}, + { 275, -1, -1, sizeof(::greptime::v1::region::TruncateRequest)}, + { 285, -1, -1, sizeof(::greptime::v1::region::All)}, + { 291, -1, -1, sizeof(::greptime::v1::region::RegionColumnDef)}, + { 299, -1, -1, sizeof(::greptime::v1::region::BulkInsertRequest)}, + { 309, -1, -1, sizeof(::greptime::v1::region::MitoManifestInfo)}, + { 316, -1, -1, sizeof(::greptime::v1::region::MetricManifestInfo)}, + { 324, -1, -1, sizeof(::greptime::v1::region::SyncRequest)}, + { 334, -1, -1, sizeof(::greptime::v1::region::ListMetadataRequest)}, + { 341, -1, -1, sizeof(::greptime::v1::region::BuildIndexRequest)}, + { 348, -1, -1, sizeof(::greptime::v1::region::FileMetas)}, + { 355, -1, -1, sizeof(::greptime::v1::region::ApplyStagingManifestRequest)}, }; static const ::_pb::Message* const file_default_instances[] = { @@ -1078,93 +1084,98 @@ const char descriptor_table_protodef_greptime_2fv1_2fregion_2fserver_2eproto[] P "ts\0223\n\010requests\030\001 \003(\0132!.greptime.v1.regio" "n.InsertRequest\"E\n\016DeleteRequests\0223\n\010req" "uests\030\001 \003(\0132!.greptime.v1.region.DeleteR" - "equest\"C\n\rInsertRequest\022\021\n\tregion_id\030\001 \001" - "(\004\022\037\n\004rows\030\002 \001(\0132\021.greptime.v1.Rows\"C\n\rD" - "eleteRequest\022\021\n\tregion_id\030\001 \001(\004\022\037\n\004rows\030" - "\002 \001(\0132\021.greptime.v1.Rows\"h\n\014QueryRequest" - "\0227\n\006header\030\001 \001(\0132\'.greptime.v1.region.Re" - "gionRequestHeader\022\021\n\tregion_id\030\002 \001(\004\022\014\n\004" - "plan\030\003 \001(\014\"E\n\016CreateRequests\0223\n\010requests" - "\030\001 \003(\0132!.greptime.v1.region.CreateReques" - "t\"\260\002\n\rCreateRequest\022\021\n\tregion_id\030\001 \001(\004\022\016" - "\n\006engine\030\002 \001(\t\0228\n\013column_defs\030\003 \003(\0132#.gr" - "eptime.v1.region.RegionColumnDef\022\023\n\013prim" - "ary_key\030\004 \003(\r\022\014\n\004path\030\005 \001(\t\022\?\n\007options\030\006" - " \003(\0132..greptime.v1.region.CreateRequest." - "OptionsEntry\022.\n\tpartition\030\007 \001(\0132\033.grepti" - "me.v1.meta.Partition\032.\n\014OptionsEntry\022\013\n\003" - "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"A\n\014DropRequ" - "ests\0221\n\010requests\030\001 \003(\0132\037.greptime.v1.reg" - "ion.DropRequest\"X\n\013DropRequest\022\021\n\tregion" - "_id\030\001 \001(\004\022\021\n\tfast_path\030\002 \001(\010\022\r\n\005force\030\003 " - "\001(\010\022\024\n\014partial_drop\030\004 \001(\010\"\255\001\n\013OpenReques" - "t\022\021\n\tregion_id\030\001 \001(\004\022\016\n\006engine\030\002 \001(\t\022\014\n\004" - "path\030\003 \001(\t\022=\n\007options\030\004 \003(\0132,.greptime.v" - "1.region.OpenRequest.OptionsEntry\032.\n\014Opt" - "ionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028" - "\001\"!\n\014CloseRequest\022\021\n\tregion_id\030\001 \001(\004\"C\n\r" - "AlterRequests\0222\n\010requests\030\001 \003(\0132 .grepti" - "me.v1.region.AlterRequest\"\311\005\n\014AlterReque" - "st\022\021\n\tregion_id\030\001 \001(\004\0225\n\013add_columns\030\002 \001" - "(\0132\036.greptime.v1.region.AddColumnsH\000\0227\n\014" - "drop_columns\030\003 \001(\0132\037.greptime.v1.region." - "DropColumnsH\000\022=\n\023modify_column_types\030\005 \001" - "(\0132\036.greptime.v1.ModifyColumnTypesH\000\0229\n\021" - "set_table_options\030\006 \001(\0132\034.greptime.v1.Se" - "tTableOptionsH\000\022=\n\023unset_table_options\030\t" - " \001(\0132\036.greptime.v1.UnsetTableOptionsH\000\022*" - "\n\tset_index\030\n \001(\0132\025.greptime.v1.SetIndex" - "H\000\022.\n\013unset_index\030\013 \001(\0132\027.greptime.v1.Un" - "setIndexH\000\0222\n\rdrop_defaults\030\014 \001(\0132\031.grep" - "time.v1.DropDefaultsH\000\022.\n\013set_indexes\030\r " - "\001(\0132\027.greptime.v1.SetIndexesH\000\0222\n\runset_" - "indexes\030\016 \001(\0132\031.greptime.v1.UnsetIndexes" - "H\000\0220\n\014set_defaults\030\017 \001(\0132\030.greptime.v1.S" - "etDefaultsH\000\0227\n\014sync_columns\030\020 \001(\0132\037.gre" - "ptime.v1.region.SyncColumnsH\000\022\026\n\016schema_" - "version\030\004 \001(\004B\006\n\004kind\"G\n\013SyncColumns\0228\n\013" - "column_defs\030\001 \003(\0132#.greptime.v1.region.R" - "egionColumnDef\"@\n\nAddColumns\0222\n\013add_colu" - "mns\030\001 \003(\0132\035.greptime.v1.region.AddColumn" - "\"C\n\013DropColumns\0224\n\014drop_columns\030\001 \003(\0132\036." - "greptime.v1.region.DropColumn\"v\n\tAddColu" - "mn\0227\n\ncolumn_def\030\001 \001(\0132#.greptime.v1.reg" - "ion.RegionColumnDef\0220\n\010location\030\003 \001(\0132\036." - "greptime.v1.AddColumnLocation\"\032\n\nDropCol" - "umn\022\014\n\004name\030\001 \001(\t\"!\n\014FlushRequest\022\021\n\treg" - "ion_id\030\001 \001(\004\"\t\n\007Regular\"&\n\014StrictWindow\022" - "\026\n\016window_seconds\030\001 \001(\003\"\256\001\n\016CompactReque" - "st\022\021\n\tregion_id\030\001 \001(\004\022.\n\007regular\030\002 \001(\0132\033" - ".greptime.v1.region.RegularH\000\0229\n\rstrict_" - "window\030\003 \001(\0132 .greptime.v1.region.Strict" - "WindowH\000\022\023\n\013parallelism\030\004 \001(\rB\t\n\007options" - "\"\204\001\n\017TruncateRequest\022\021\n\tregion_id\030\001 \001(\004\022" - "&\n\003all\030\002 \001(\0132\027.greptime.v1.region.AllH\000\022" - ".\n\013time_ranges\030\003 \001(\0132\027.greptime.v1.TimeR" - "angesH\000B\006\n\004kind\"\005\n\003All\"P\n\017RegionColumnDe" - "f\022*\n\ncolumn_def\030\001 \001(\0132\026.greptime.v1.Colu" - "mnDef\022\021\n\tcolumn_id\030\002 \001(\r\"Z\n\021BulkInsertRe" - "quest\022\021\n\tregion_id\030\001 \001(\004\022*\n\tarrow_ipc\030\002 " - "\001(\0132\025.greptime.v1.ArrowIpcH\000B\006\n\004body\"1\n\020" - "MitoManifestInfo\022\035\n\025data_manifest_versio" - "n\030\001 \001(\004\"V\n\022MetricManifestInfo\022\035\n\025data_ma" - "nifest_version\030\001 \001(\004\022!\n\031metadata_manifes" - "t_version\030\002 \001(\004\"\275\001\n\013SyncRequest\022\021\n\tregio" - "n_id\030\001 \001(\004\022B\n\022mito_manifest_info\030\002 \001(\0132$" - ".greptime.v1.region.MitoManifestInfoH\000\022F" - "\n\024metric_manifest_info\030\003 \001(\0132&.greptime." - "v1.region.MetricManifestInfoH\000B\017\n\rmanife" - "st_info\")\n\023ListMetadataRequest\022\022\n\nregion" - "_ids\030\001 \003(\004\"&\n\021BuildIndexRequest\022\021\n\tregio" - "n_id\030\001 \001(\004\"\031\n\tFileMetas\022\014\n\004data\030\001 \001(\014\"z\n" - "\033ApplyStagingManifestRequest\022\021\n\tregion_i" - "d\030\001 \001(\004\022\026\n\016partition_expr\030\002 \001(\t\022\031\n\021centr" - "al_region_id\030\003 \001(\004\022\025\n\rmanifest_path\030\004 \001(" - "\t2Y\n\006Region\022O\n\006Handle\022!.greptime.v1.regi" - "on.RegionRequest\032\".greptime.v1.region.Re" - "gionResponseB]\n\025io.greptime.v1.regionB\006S" - "erverZ_impl_.rows_; } +const ::greptime::v1::PartitionRuleVersion& +InsertRequest::_Internal::partition_rule_version(const InsertRequest* msg) { + return *msg->_impl_.partition_rule_version_; +} void InsertRequest::clear_rows() { if (GetArenaForAllocation() == nullptr && _impl_.rows_ != nullptr) { delete _impl_.rows_; } _impl_.rows_ = nullptr; } +void InsertRequest::clear_partition_rule_version() { + if (GetArenaForAllocation() == nullptr && _impl_.partition_rule_version_ != nullptr) { + delete _impl_.partition_rule_version_; + } + _impl_.partition_rule_version_ = nullptr; +} InsertRequest::InsertRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -3552,6 +3574,7 @@ InsertRequest::InsertRequest(const InsertRequest& from) InsertRequest* const _this = this; (void)_this; new (&_impl_) Impl_{ decltype(_impl_.rows_){nullptr} + , decltype(_impl_.partition_rule_version_){nullptr} , decltype(_impl_.region_id_){} , /*decltype(_impl_._cached_size_)*/{}}; @@ -3559,6 +3582,9 @@ InsertRequest::InsertRequest(const InsertRequest& from) if (from._internal_has_rows()) { _this->_impl_.rows_ = new ::greptime::v1::Rows(*from._impl_.rows_); } + if (from._internal_has_partition_rule_version()) { + _this->_impl_.partition_rule_version_ = new ::greptime::v1::PartitionRuleVersion(*from._impl_.partition_rule_version_); + } _this->_impl_.region_id_ = from._impl_.region_id_; // @@protoc_insertion_point(copy_constructor:greptime.v1.region.InsertRequest) } @@ -3569,6 +3595,7 @@ inline void InsertRequest::SharedCtor( (void)is_message_owned; new (&_impl_) Impl_{ decltype(_impl_.rows_){nullptr} + , decltype(_impl_.partition_rule_version_){nullptr} , decltype(_impl_.region_id_){uint64_t{0u}} , /*decltype(_impl_._cached_size_)*/{} }; @@ -3586,6 +3613,7 @@ InsertRequest::~InsertRequest() { inline void InsertRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete _impl_.rows_; + if (this != internal_default_instance()) delete _impl_.partition_rule_version_; } void InsertRequest::SetCachedSize(int size) const { @@ -3602,6 +3630,10 @@ void InsertRequest::Clear() { delete _impl_.rows_; } _impl_.rows_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.partition_rule_version_ != nullptr) { + delete _impl_.partition_rule_version_; + } + _impl_.partition_rule_version_ = nullptr; _impl_.region_id_ = uint64_t{0u}; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -3628,6 +3660,14 @@ const char* InsertRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* } else goto handle_unusual; continue; + // .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_partition_rule_version(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -3670,6 +3710,13 @@ uint8_t* InsertRequest::_InternalSerialize( _Internal::rows(this).GetCachedSize(), target, stream); } + // .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + if (this->_internal_has_partition_rule_version()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::partition_rule_version(this), + _Internal::partition_rule_version(this).GetCachedSize(), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -3693,6 +3740,13 @@ size_t InsertRequest::ByteSizeLong() const { *_impl_.rows_); } + // .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + if (this->_internal_has_partition_rule_version()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.partition_rule_version_); + } + // uint64 region_id = 1; if (this->_internal_region_id() != 0) { total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_region_id()); @@ -3720,6 +3774,10 @@ void InsertRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const :: _this->_internal_mutable_rows()->::greptime::v1::Rows::MergeFrom( from._internal_rows()); } + if (from._internal_has_partition_rule_version()) { + _this->_internal_mutable_partition_rule_version()->::greptime::v1::PartitionRuleVersion::MergeFrom( + from._internal_partition_rule_version()); + } if (from._internal_region_id() != 0) { _this->_internal_set_region_id(from._internal_region_id()); } @@ -3759,18 +3817,29 @@ void InsertRequest::InternalSwap(InsertRequest* other) { class DeleteRequest::_Internal { public: static const ::greptime::v1::Rows& rows(const DeleteRequest* msg); + static const ::greptime::v1::PartitionRuleVersion& partition_rule_version(const DeleteRequest* msg); }; const ::greptime::v1::Rows& DeleteRequest::_Internal::rows(const DeleteRequest* msg) { return *msg->_impl_.rows_; } +const ::greptime::v1::PartitionRuleVersion& +DeleteRequest::_Internal::partition_rule_version(const DeleteRequest* msg) { + return *msg->_impl_.partition_rule_version_; +} void DeleteRequest::clear_rows() { if (GetArenaForAllocation() == nullptr && _impl_.rows_ != nullptr) { delete _impl_.rows_; } _impl_.rows_ = nullptr; } +void DeleteRequest::clear_partition_rule_version() { + if (GetArenaForAllocation() == nullptr && _impl_.partition_rule_version_ != nullptr) { + delete _impl_.partition_rule_version_; + } + _impl_.partition_rule_version_ = nullptr; +} DeleteRequest::DeleteRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -3782,6 +3851,7 @@ DeleteRequest::DeleteRequest(const DeleteRequest& from) DeleteRequest* const _this = this; (void)_this; new (&_impl_) Impl_{ decltype(_impl_.rows_){nullptr} + , decltype(_impl_.partition_rule_version_){nullptr} , decltype(_impl_.region_id_){} , /*decltype(_impl_._cached_size_)*/{}}; @@ -3789,6 +3859,9 @@ DeleteRequest::DeleteRequest(const DeleteRequest& from) if (from._internal_has_rows()) { _this->_impl_.rows_ = new ::greptime::v1::Rows(*from._impl_.rows_); } + if (from._internal_has_partition_rule_version()) { + _this->_impl_.partition_rule_version_ = new ::greptime::v1::PartitionRuleVersion(*from._impl_.partition_rule_version_); + } _this->_impl_.region_id_ = from._impl_.region_id_; // @@protoc_insertion_point(copy_constructor:greptime.v1.region.DeleteRequest) } @@ -3799,6 +3872,7 @@ inline void DeleteRequest::SharedCtor( (void)is_message_owned; new (&_impl_) Impl_{ decltype(_impl_.rows_){nullptr} + , decltype(_impl_.partition_rule_version_){nullptr} , decltype(_impl_.region_id_){uint64_t{0u}} , /*decltype(_impl_._cached_size_)*/{} }; @@ -3816,6 +3890,7 @@ DeleteRequest::~DeleteRequest() { inline void DeleteRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); if (this != internal_default_instance()) delete _impl_.rows_; + if (this != internal_default_instance()) delete _impl_.partition_rule_version_; } void DeleteRequest::SetCachedSize(int size) const { @@ -3832,6 +3907,10 @@ void DeleteRequest::Clear() { delete _impl_.rows_; } _impl_.rows_ = nullptr; + if (GetArenaForAllocation() == nullptr && _impl_.partition_rule_version_ != nullptr) { + delete _impl_.partition_rule_version_; + } + _impl_.partition_rule_version_ = nullptr; _impl_.region_id_ = uint64_t{0u}; _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); } @@ -3858,6 +3937,14 @@ const char* DeleteRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext* } else goto handle_unusual; continue; + // .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_partition_rule_version(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -3900,6 +3987,13 @@ uint8_t* DeleteRequest::_InternalSerialize( _Internal::rows(this).GetCachedSize(), target, stream); } + // .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + if (this->_internal_has_partition_rule_version()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::partition_rule_version(this), + _Internal::partition_rule_version(this).GetCachedSize(), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -3923,6 +4017,13 @@ size_t DeleteRequest::ByteSizeLong() const { *_impl_.rows_); } + // .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + if (this->_internal_has_partition_rule_version()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.partition_rule_version_); + } + // uint64 region_id = 1; if (this->_internal_region_id() != 0) { total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_region_id()); @@ -3950,6 +4051,10 @@ void DeleteRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const :: _this->_internal_mutable_rows()->::greptime::v1::Rows::MergeFrom( from._internal_rows()); } + if (from._internal_has_partition_rule_version()) { + _this->_internal_mutable_partition_rule_version()->::greptime::v1::PartitionRuleVersion::MergeFrom( + from._internal_partition_rule_version()); + } if (from._internal_region_id() != 0) { _this->_internal_set_region_id(from._internal_region_id()); } @@ -9505,12 +9610,17 @@ void RegionColumnDef::InternalSwap(RegionColumnDef* other) { class BulkInsertRequest::_Internal { public: static const ::greptime::v1::ArrowIpc& arrow_ipc(const BulkInsertRequest* msg); + static const ::greptime::v1::PartitionRuleVersion& partition_rule_version(const BulkInsertRequest* msg); }; const ::greptime::v1::ArrowIpc& BulkInsertRequest::_Internal::arrow_ipc(const BulkInsertRequest* msg) { return *msg->_impl_.body_.arrow_ipc_; } +const ::greptime::v1::PartitionRuleVersion& +BulkInsertRequest::_Internal::partition_rule_version(const BulkInsertRequest* msg) { + return *msg->_impl_.partition_rule_version_; +} void BulkInsertRequest::set_allocated_arrow_ipc(::greptime::v1::ArrowIpc* arrow_ipc) { ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); clear_body(); @@ -9535,6 +9645,12 @@ void BulkInsertRequest::clear_arrow_ipc() { clear_has_body(); } } +void BulkInsertRequest::clear_partition_rule_version() { + if (GetArenaForAllocation() == nullptr && _impl_.partition_rule_version_ != nullptr) { + delete _impl_.partition_rule_version_; + } + _impl_.partition_rule_version_ = nullptr; +} BulkInsertRequest::BulkInsertRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned) : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { @@ -9545,12 +9661,16 @@ BulkInsertRequest::BulkInsertRequest(const BulkInsertRequest& from) : ::PROTOBUF_NAMESPACE_ID::Message() { BulkInsertRequest* const _this = this; (void)_this; new (&_impl_) Impl_{ - decltype(_impl_.region_id_){} + decltype(_impl_.partition_rule_version_){nullptr} + , decltype(_impl_.region_id_){} , decltype(_impl_.body_){} , /*decltype(_impl_._cached_size_)*/{} , /*decltype(_impl_._oneof_case_)*/{}}; _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_); + if (from._internal_has_partition_rule_version()) { + _this->_impl_.partition_rule_version_ = new ::greptime::v1::PartitionRuleVersion(*from._impl_.partition_rule_version_); + } _this->_impl_.region_id_ = from._impl_.region_id_; clear_has_body(); switch (from.body_case()) { @@ -9571,7 +9691,8 @@ inline void BulkInsertRequest::SharedCtor( (void)arena; (void)is_message_owned; new (&_impl_) Impl_{ - decltype(_impl_.region_id_){uint64_t{0u}} + decltype(_impl_.partition_rule_version_){nullptr} + , decltype(_impl_.region_id_){uint64_t{0u}} , decltype(_impl_.body_){} , /*decltype(_impl_._cached_size_)*/{} , /*decltype(_impl_._oneof_case_)*/{} @@ -9590,6 +9711,7 @@ BulkInsertRequest::~BulkInsertRequest() { inline void BulkInsertRequest::SharedDtor() { GOOGLE_DCHECK(GetArenaForAllocation() == nullptr); + if (this != internal_default_instance()) delete _impl_.partition_rule_version_; if (has_body()) { clear_body(); } @@ -9622,6 +9744,10 @@ void BulkInsertRequest::Clear() { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; + if (GetArenaForAllocation() == nullptr && _impl_.partition_rule_version_ != nullptr) { + delete _impl_.partition_rule_version_; + } + _impl_.partition_rule_version_ = nullptr; _impl_.region_id_ = uint64_t{0u}; clear_body(); _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); @@ -9649,6 +9775,14 @@ const char* BulkInsertRequest::_InternalParse(const char* ptr, ::_pbi::ParseCont } else goto handle_unusual; continue; + // .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_partition_rule_version(), ptr); + CHK_(ptr); + } else + goto handle_unusual; + continue; default: goto handle_unusual; } // switch @@ -9691,6 +9825,13 @@ uint8_t* BulkInsertRequest::_InternalSerialize( _Internal::arrow_ipc(this).GetCachedSize(), target, stream); } + // .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + if (this->_internal_has_partition_rule_version()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessage(3, _Internal::partition_rule_version(this), + _Internal::partition_rule_version(this).GetCachedSize(), target, stream); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); @@ -9707,6 +9848,13 @@ size_t BulkInsertRequest::ByteSizeLong() const { // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; + // .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + if (this->_internal_has_partition_rule_version()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *_impl_.partition_rule_version_); + } + // uint64 region_id = 1; if (this->_internal_region_id() != 0) { total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_region_id()); @@ -9742,6 +9890,10 @@ void BulkInsertRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, cons uint32_t cached_has_bits = 0; (void) cached_has_bits; + if (from._internal_has_partition_rule_version()) { + _this->_internal_mutable_partition_rule_version()->::greptime::v1::PartitionRuleVersion::MergeFrom( + from._internal_partition_rule_version()); + } if (from._internal_region_id() != 0) { _this->_internal_set_region_id(from._internal_region_id()); } @@ -9772,7 +9924,12 @@ bool BulkInsertRequest::IsInitialized() const { void BulkInsertRequest::InternalSwap(BulkInsertRequest* other) { using std::swap; _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.region_id_, other->_impl_.region_id_); + ::PROTOBUF_NAMESPACE_ID::internal::memswap< + PROTOBUF_FIELD_OFFSET(BulkInsertRequest, _impl_.region_id_) + + sizeof(BulkInsertRequest::_impl_.region_id_) + - PROTOBUF_FIELD_OFFSET(BulkInsertRequest, _impl_.partition_rule_version_)>( + reinterpret_cast(&_impl_.partition_rule_version_), + reinterpret_cast(&other->_impl_.partition_rule_version_)); swap(_impl_.body_, other->_impl_.body_); swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); } diff --git a/c++/greptime/v1/region/server.pb.h b/c++/greptime/v1/region/server.pb.h index 156f75d..62bf8a0 100644 --- a/c++/greptime/v1/region/server.pb.h +++ b/c++/greptime/v1/region/server.pb.h @@ -1693,6 +1693,7 @@ class InsertRequest final : enum : int { kRowsFieldNumber = 2, + kPartitionRuleVersionFieldNumber = 3, kRegionIdFieldNumber = 1, }; // .greptime.v1.Rows rows = 2; @@ -1713,6 +1714,24 @@ class InsertRequest final : ::greptime::v1::Rows* rows); ::greptime::v1::Rows* unsafe_arena_release_rows(); + // .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + bool has_partition_rule_version() const; + private: + bool _internal_has_partition_rule_version() const; + public: + void clear_partition_rule_version(); + const ::greptime::v1::PartitionRuleVersion& partition_rule_version() const; + PROTOBUF_NODISCARD ::greptime::v1::PartitionRuleVersion* release_partition_rule_version(); + ::greptime::v1::PartitionRuleVersion* mutable_partition_rule_version(); + void set_allocated_partition_rule_version(::greptime::v1::PartitionRuleVersion* partition_rule_version); + private: + const ::greptime::v1::PartitionRuleVersion& _internal_partition_rule_version() const; + ::greptime::v1::PartitionRuleVersion* _internal_mutable_partition_rule_version(); + public: + void unsafe_arena_set_allocated_partition_rule_version( + ::greptime::v1::PartitionRuleVersion* partition_rule_version); + ::greptime::v1::PartitionRuleVersion* unsafe_arena_release_partition_rule_version(); + // uint64 region_id = 1; void clear_region_id(); uint64_t region_id() const; @@ -1731,6 +1750,7 @@ class InsertRequest final : typedef void DestructorSkippable_; struct Impl_ { ::greptime::v1::Rows* rows_; + ::greptime::v1::PartitionRuleVersion* partition_rule_version_; uint64_t region_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; }; @@ -1861,6 +1881,7 @@ class DeleteRequest final : enum : int { kRowsFieldNumber = 2, + kPartitionRuleVersionFieldNumber = 3, kRegionIdFieldNumber = 1, }; // .greptime.v1.Rows rows = 2; @@ -1881,6 +1902,24 @@ class DeleteRequest final : ::greptime::v1::Rows* rows); ::greptime::v1::Rows* unsafe_arena_release_rows(); + // .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + bool has_partition_rule_version() const; + private: + bool _internal_has_partition_rule_version() const; + public: + void clear_partition_rule_version(); + const ::greptime::v1::PartitionRuleVersion& partition_rule_version() const; + PROTOBUF_NODISCARD ::greptime::v1::PartitionRuleVersion* release_partition_rule_version(); + ::greptime::v1::PartitionRuleVersion* mutable_partition_rule_version(); + void set_allocated_partition_rule_version(::greptime::v1::PartitionRuleVersion* partition_rule_version); + private: + const ::greptime::v1::PartitionRuleVersion& _internal_partition_rule_version() const; + ::greptime::v1::PartitionRuleVersion* _internal_mutable_partition_rule_version(); + public: + void unsafe_arena_set_allocated_partition_rule_version( + ::greptime::v1::PartitionRuleVersion* partition_rule_version); + ::greptime::v1::PartitionRuleVersion* unsafe_arena_release_partition_rule_version(); + // uint64 region_id = 1; void clear_region_id(); uint64_t region_id() const; @@ -1899,6 +1938,7 @@ class DeleteRequest final : typedef void DestructorSkippable_; struct Impl_ { ::greptime::v1::Rows* rows_; + ::greptime::v1::PartitionRuleVersion* partition_rule_version_; uint64_t region_id_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; }; @@ -5914,9 +5954,28 @@ class BulkInsertRequest final : // accessors ------------------------------------------------------- enum : int { + kPartitionRuleVersionFieldNumber = 3, kRegionIdFieldNumber = 1, kArrowIpcFieldNumber = 2, }; + // .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + bool has_partition_rule_version() const; + private: + bool _internal_has_partition_rule_version() const; + public: + void clear_partition_rule_version(); + const ::greptime::v1::PartitionRuleVersion& partition_rule_version() const; + PROTOBUF_NODISCARD ::greptime::v1::PartitionRuleVersion* release_partition_rule_version(); + ::greptime::v1::PartitionRuleVersion* mutable_partition_rule_version(); + void set_allocated_partition_rule_version(::greptime::v1::PartitionRuleVersion* partition_rule_version); + private: + const ::greptime::v1::PartitionRuleVersion& _internal_partition_rule_version() const; + ::greptime::v1::PartitionRuleVersion* _internal_mutable_partition_rule_version(); + public: + void unsafe_arena_set_allocated_partition_rule_version( + ::greptime::v1::PartitionRuleVersion* partition_rule_version); + ::greptime::v1::PartitionRuleVersion* unsafe_arena_release_partition_rule_version(); + // uint64 region_id = 1; void clear_region_id(); uint64_t region_id() const; @@ -5958,6 +6017,7 @@ class BulkInsertRequest final : typedef void InternalArenaConstructable_; typedef void DestructorSkippable_; struct Impl_ { + ::greptime::v1::PartitionRuleVersion* partition_rule_version_; uint64_t region_id_; union BodyUnion { constexpr BodyUnion() : _constinit_{} {} @@ -9138,6 +9198,91 @@ inline void InsertRequest::set_allocated_rows(::greptime::v1::Rows* rows) { // @@protoc_insertion_point(field_set_allocated:greptime.v1.region.InsertRequest.rows) } +// .greptime.v1.PartitionRuleVersion partition_rule_version = 3; +inline bool InsertRequest::_internal_has_partition_rule_version() const { + return this != internal_default_instance() && _impl_.partition_rule_version_ != nullptr; +} +inline bool InsertRequest::has_partition_rule_version() const { + return _internal_has_partition_rule_version(); +} +inline const ::greptime::v1::PartitionRuleVersion& InsertRequest::_internal_partition_rule_version() const { + const ::greptime::v1::PartitionRuleVersion* p = _impl_.partition_rule_version_; + return p != nullptr ? *p : reinterpret_cast( + ::greptime::v1::_PartitionRuleVersion_default_instance_); +} +inline const ::greptime::v1::PartitionRuleVersion& InsertRequest::partition_rule_version() const { + // @@protoc_insertion_point(field_get:greptime.v1.region.InsertRequest.partition_rule_version) + return _internal_partition_rule_version(); +} +inline void InsertRequest::unsafe_arena_set_allocated_partition_rule_version( + ::greptime::v1::PartitionRuleVersion* partition_rule_version) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.partition_rule_version_); + } + _impl_.partition_rule_version_ = partition_rule_version; + if (partition_rule_version) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.region.InsertRequest.partition_rule_version) +} +inline ::greptime::v1::PartitionRuleVersion* InsertRequest::release_partition_rule_version() { + + ::greptime::v1::PartitionRuleVersion* temp = _impl_.partition_rule_version_; + _impl_.partition_rule_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::PartitionRuleVersion* InsertRequest::unsafe_arena_release_partition_rule_version() { + // @@protoc_insertion_point(field_release:greptime.v1.region.InsertRequest.partition_rule_version) + + ::greptime::v1::PartitionRuleVersion* temp = _impl_.partition_rule_version_; + _impl_.partition_rule_version_ = nullptr; + return temp; +} +inline ::greptime::v1::PartitionRuleVersion* InsertRequest::_internal_mutable_partition_rule_version() { + + if (_impl_.partition_rule_version_ == nullptr) { + auto* p = CreateMaybeMessage<::greptime::v1::PartitionRuleVersion>(GetArenaForAllocation()); + _impl_.partition_rule_version_ = p; + } + return _impl_.partition_rule_version_; +} +inline ::greptime::v1::PartitionRuleVersion* InsertRequest::mutable_partition_rule_version() { + ::greptime::v1::PartitionRuleVersion* _msg = _internal_mutable_partition_rule_version(); + // @@protoc_insertion_point(field_mutable:greptime.v1.region.InsertRequest.partition_rule_version) + return _msg; +} +inline void InsertRequest::set_allocated_partition_rule_version(::greptime::v1::PartitionRuleVersion* partition_rule_version) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.partition_rule_version_); + } + if (partition_rule_version) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(partition_rule_version)); + if (message_arena != submessage_arena) { + partition_rule_version = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, partition_rule_version, submessage_arena); + } + + } else { + + } + _impl_.partition_rule_version_ = partition_rule_version; + // @@protoc_insertion_point(field_set_allocated:greptime.v1.region.InsertRequest.partition_rule_version) +} + // ------------------------------------------------------------------- // DeleteRequest @@ -9247,6 +9392,91 @@ inline void DeleteRequest::set_allocated_rows(::greptime::v1::Rows* rows) { // @@protoc_insertion_point(field_set_allocated:greptime.v1.region.DeleteRequest.rows) } +// .greptime.v1.PartitionRuleVersion partition_rule_version = 3; +inline bool DeleteRequest::_internal_has_partition_rule_version() const { + return this != internal_default_instance() && _impl_.partition_rule_version_ != nullptr; +} +inline bool DeleteRequest::has_partition_rule_version() const { + return _internal_has_partition_rule_version(); +} +inline const ::greptime::v1::PartitionRuleVersion& DeleteRequest::_internal_partition_rule_version() const { + const ::greptime::v1::PartitionRuleVersion* p = _impl_.partition_rule_version_; + return p != nullptr ? *p : reinterpret_cast( + ::greptime::v1::_PartitionRuleVersion_default_instance_); +} +inline const ::greptime::v1::PartitionRuleVersion& DeleteRequest::partition_rule_version() const { + // @@protoc_insertion_point(field_get:greptime.v1.region.DeleteRequest.partition_rule_version) + return _internal_partition_rule_version(); +} +inline void DeleteRequest::unsafe_arena_set_allocated_partition_rule_version( + ::greptime::v1::PartitionRuleVersion* partition_rule_version) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.partition_rule_version_); + } + _impl_.partition_rule_version_ = partition_rule_version; + if (partition_rule_version) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.region.DeleteRequest.partition_rule_version) +} +inline ::greptime::v1::PartitionRuleVersion* DeleteRequest::release_partition_rule_version() { + + ::greptime::v1::PartitionRuleVersion* temp = _impl_.partition_rule_version_; + _impl_.partition_rule_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::PartitionRuleVersion* DeleteRequest::unsafe_arena_release_partition_rule_version() { + // @@protoc_insertion_point(field_release:greptime.v1.region.DeleteRequest.partition_rule_version) + + ::greptime::v1::PartitionRuleVersion* temp = _impl_.partition_rule_version_; + _impl_.partition_rule_version_ = nullptr; + return temp; +} +inline ::greptime::v1::PartitionRuleVersion* DeleteRequest::_internal_mutable_partition_rule_version() { + + if (_impl_.partition_rule_version_ == nullptr) { + auto* p = CreateMaybeMessage<::greptime::v1::PartitionRuleVersion>(GetArenaForAllocation()); + _impl_.partition_rule_version_ = p; + } + return _impl_.partition_rule_version_; +} +inline ::greptime::v1::PartitionRuleVersion* DeleteRequest::mutable_partition_rule_version() { + ::greptime::v1::PartitionRuleVersion* _msg = _internal_mutable_partition_rule_version(); + // @@protoc_insertion_point(field_mutable:greptime.v1.region.DeleteRequest.partition_rule_version) + return _msg; +} +inline void DeleteRequest::set_allocated_partition_rule_version(::greptime::v1::PartitionRuleVersion* partition_rule_version) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.partition_rule_version_); + } + if (partition_rule_version) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(partition_rule_version)); + if (message_arena != submessage_arena) { + partition_rule_version = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, partition_rule_version, submessage_arena); + } + + } else { + + } + _impl_.partition_rule_version_ = partition_rule_version; + // @@protoc_insertion_point(field_set_allocated:greptime.v1.region.DeleteRequest.partition_rule_version) +} + // ------------------------------------------------------------------- // QueryRequest @@ -11996,6 +12226,91 @@ inline ::greptime::v1::ArrowIpc* BulkInsertRequest::mutable_arrow_ipc() { return _msg; } +// .greptime.v1.PartitionRuleVersion partition_rule_version = 3; +inline bool BulkInsertRequest::_internal_has_partition_rule_version() const { + return this != internal_default_instance() && _impl_.partition_rule_version_ != nullptr; +} +inline bool BulkInsertRequest::has_partition_rule_version() const { + return _internal_has_partition_rule_version(); +} +inline const ::greptime::v1::PartitionRuleVersion& BulkInsertRequest::_internal_partition_rule_version() const { + const ::greptime::v1::PartitionRuleVersion* p = _impl_.partition_rule_version_; + return p != nullptr ? *p : reinterpret_cast( + ::greptime::v1::_PartitionRuleVersion_default_instance_); +} +inline const ::greptime::v1::PartitionRuleVersion& BulkInsertRequest::partition_rule_version() const { + // @@protoc_insertion_point(field_get:greptime.v1.region.BulkInsertRequest.partition_rule_version) + return _internal_partition_rule_version(); +} +inline void BulkInsertRequest::unsafe_arena_set_allocated_partition_rule_version( + ::greptime::v1::PartitionRuleVersion* partition_rule_version) { + if (GetArenaForAllocation() == nullptr) { + delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.partition_rule_version_); + } + _impl_.partition_rule_version_ = partition_rule_version; + if (partition_rule_version) { + + } else { + + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.region.BulkInsertRequest.partition_rule_version) +} +inline ::greptime::v1::PartitionRuleVersion* BulkInsertRequest::release_partition_rule_version() { + + ::greptime::v1::PartitionRuleVersion* temp = _impl_.partition_rule_version_; + _impl_.partition_rule_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::PartitionRuleVersion* BulkInsertRequest::unsafe_arena_release_partition_rule_version() { + // @@protoc_insertion_point(field_release:greptime.v1.region.BulkInsertRequest.partition_rule_version) + + ::greptime::v1::PartitionRuleVersion* temp = _impl_.partition_rule_version_; + _impl_.partition_rule_version_ = nullptr; + return temp; +} +inline ::greptime::v1::PartitionRuleVersion* BulkInsertRequest::_internal_mutable_partition_rule_version() { + + if (_impl_.partition_rule_version_ == nullptr) { + auto* p = CreateMaybeMessage<::greptime::v1::PartitionRuleVersion>(GetArenaForAllocation()); + _impl_.partition_rule_version_ = p; + } + return _impl_.partition_rule_version_; +} +inline ::greptime::v1::PartitionRuleVersion* BulkInsertRequest::mutable_partition_rule_version() { + ::greptime::v1::PartitionRuleVersion* _msg = _internal_mutable_partition_rule_version(); + // @@protoc_insertion_point(field_mutable:greptime.v1.region.BulkInsertRequest.partition_rule_version) + return _msg; +} +inline void BulkInsertRequest::set_allocated_partition_rule_version(::greptime::v1::PartitionRuleVersion* partition_rule_version) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.partition_rule_version_); + } + if (partition_rule_version) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = + ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena( + reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(partition_rule_version)); + if (message_arena != submessage_arena) { + partition_rule_version = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, partition_rule_version, submessage_arena); + } + + } else { + + } + _impl_.partition_rule_version_ = partition_rule_version; + // @@protoc_insertion_point(field_set_allocated:greptime.v1.region.BulkInsertRequest.partition_rule_version) +} + inline bool BulkInsertRequest::has_body() const { return body_case() != BODY_NOT_SET; } diff --git a/go/greptime/v1/common.pb.go b/go/greptime/v1/common.pb.go index 682e50b..3233706 100644 --- a/go/greptime/v1/common.pb.go +++ b/go/greptime/v1/common.pb.go @@ -2116,6 +2116,53 @@ func (x *ArrowIpc) GetPayload() []byte { return nil } +type PartitionRuleVersion struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` +} + +func (x *PartitionRuleVersion) Reset() { + *x = PartitionRuleVersion{} + if protoimpl.UnsafeEnabled { + mi := &file_greptime_v1_common_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PartitionRuleVersion) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PartitionRuleVersion) ProtoMessage() {} + +func (x *PartitionRuleVersion) ProtoReflect() protoreflect.Message { + mi := &file_greptime_v1_common_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 PartitionRuleVersion.ProtoReflect.Descriptor instead. +func (*PartitionRuleVersion) Descriptor() ([]byte, []int) { + return file_greptime_v1_common_proto_rawDescGZIP(), []int{29} +} + +func (x *PartitionRuleVersion) GetValue() uint64 { + if x != nil { + return x.Value + } + return 0 +} + var File_greptime_v1_common_proto protoreflect.FileDescriptor var file_greptime_v1_common_proto_rawDesc = []byte{ @@ -2373,56 +2420,59 @@ var file_greptime_v1_common_proto_rawDesc = []byte{ 0x61, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79, - 0x6c, 0x6f, 0x61, 0x64, 0x2a, 0x31, 0x0a, 0x0c, 0x53, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x41, 0x47, 0x10, 0x00, 0x12, 0x09, 0x0a, - 0x05, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x49, 0x4d, 0x45, - 0x53, 0x54, 0x41, 0x4d, 0x50, 0x10, 0x02, 0x2a, 0x92, 0x04, 0x0a, 0x0e, 0x43, 0x6f, 0x6c, 0x75, - 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x42, 0x4f, - 0x4f, 0x4c, 0x45, 0x41, 0x4e, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x4e, 0x54, 0x38, 0x10, - 0x01, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x31, 0x36, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, - 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x36, 0x34, - 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x55, 0x49, 0x4e, 0x54, 0x38, 0x10, 0x05, 0x12, 0x0a, 0x0a, - 0x06, 0x55, 0x49, 0x4e, 0x54, 0x31, 0x36, 0x10, 0x06, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x49, 0x4e, - 0x54, 0x33, 0x32, 0x10, 0x07, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, - 0x08, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x33, 0x32, 0x10, 0x09, 0x12, 0x0b, - 0x0a, 0x07, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x36, 0x34, 0x10, 0x0a, 0x12, 0x0a, 0x0a, 0x06, 0x42, - 0x49, 0x4e, 0x41, 0x52, 0x59, 0x10, 0x0b, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, - 0x47, 0x10, 0x0c, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x41, 0x54, 0x45, 0x10, 0x0d, 0x12, 0x0c, 0x0a, - 0x08, 0x44, 0x41, 0x54, 0x45, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x0e, 0x12, 0x14, 0x0a, 0x10, 0x54, - 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, - 0x0f, 0x12, 0x19, 0x0a, 0x15, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x4d, - 0x49, 0x4c, 0x4c, 0x49, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x10, 0x12, 0x19, 0x0a, 0x15, - 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x4d, 0x49, 0x43, 0x52, 0x4f, 0x53, - 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x11, 0x12, 0x18, 0x0a, 0x14, 0x54, 0x49, 0x4d, 0x45, 0x53, - 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x4e, 0x41, 0x4e, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, - 0x12, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, - 0x10, 0x13, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x4d, 0x49, 0x4c, 0x4c, 0x49, - 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x14, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x49, 0x4d, 0x45, - 0x5f, 0x4d, 0x49, 0x43, 0x52, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x15, 0x12, 0x13, - 0x0a, 0x0f, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x4e, 0x41, 0x4e, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, - 0x44, 0x10, 0x16, 0x12, 0x17, 0x0a, 0x13, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x56, 0x41, 0x4c, 0x5f, - 0x59, 0x45, 0x41, 0x52, 0x5f, 0x4d, 0x4f, 0x4e, 0x54, 0x48, 0x10, 0x17, 0x12, 0x15, 0x0a, 0x11, - 0x49, 0x4e, 0x54, 0x45, 0x52, 0x56, 0x41, 0x4c, 0x5f, 0x44, 0x41, 0x59, 0x5f, 0x54, 0x49, 0x4d, - 0x45, 0x10, 0x18, 0x12, 0x1b, 0x0a, 0x17, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x56, 0x41, 0x4c, 0x5f, - 0x4d, 0x4f, 0x4e, 0x54, 0x48, 0x5f, 0x44, 0x41, 0x59, 0x5f, 0x4e, 0x41, 0x4e, 0x4f, 0x10, 0x19, - 0x12, 0x0e, 0x0a, 0x0a, 0x44, 0x45, 0x43, 0x49, 0x4d, 0x41, 0x4c, 0x31, 0x32, 0x38, 0x10, 0x1e, - 0x12, 0x08, 0x0a, 0x04, 0x4a, 0x53, 0x4f, 0x4e, 0x10, 0x1f, 0x12, 0x0a, 0x0a, 0x06, 0x56, 0x45, - 0x43, 0x54, 0x4f, 0x52, 0x10, 0x20, 0x12, 0x08, 0x0a, 0x04, 0x4c, 0x49, 0x53, 0x54, 0x10, 0x28, - 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x55, 0x43, 0x54, 0x10, 0x29, 0x12, 0x0e, 0x0a, 0x0a, - 0x44, 0x49, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x41, 0x52, 0x59, 0x10, 0x2a, 0x2a, 0x48, 0x0a, 0x08, - 0x54, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x69, 0x74, 0x12, 0x0f, 0x0a, 0x0b, 0x4d, 0x49, 0x4c, 0x4c, - 0x49, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x45, 0x43, - 0x4f, 0x4e, 0x44, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x4d, 0x49, 0x43, 0x52, 0x4f, 0x53, 0x45, - 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x4e, 0x41, 0x4e, 0x4f, 0x53, 0x45, - 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x03, 0x2a, 0x24, 0x0a, 0x11, 0x4a, 0x73, 0x6f, 0x6e, 0x54, 0x79, - 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x0a, 0x0b, 0x4a, - 0x53, 0x4f, 0x4e, 0x5f, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x10, 0x00, 0x42, 0x4f, 0x0a, 0x0e, - 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x06, - 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x2f, - 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, - 0x6f, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x2c, 0x0a, 0x14, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x2a, 0x31, 0x0a, 0x0c, 0x53, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x41, 0x47, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x46, + 0x49, 0x45, 0x4c, 0x44, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, + 0x41, 0x4d, 0x50, 0x10, 0x02, 0x2a, 0x92, 0x04, 0x0a, 0x0e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, + 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x42, 0x4f, 0x4f, 0x4c, + 0x45, 0x41, 0x4e, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x4e, 0x54, 0x38, 0x10, 0x01, 0x12, + 0x09, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x31, 0x36, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, + 0x54, 0x33, 0x32, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x04, + 0x12, 0x09, 0x0a, 0x05, 0x55, 0x49, 0x4e, 0x54, 0x38, 0x10, 0x05, 0x12, 0x0a, 0x0a, 0x06, 0x55, + 0x49, 0x4e, 0x54, 0x31, 0x36, 0x10, 0x06, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x49, 0x4e, 0x54, 0x33, + 0x32, 0x10, 0x07, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x08, 0x12, + 0x0b, 0x0a, 0x07, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x33, 0x32, 0x10, 0x09, 0x12, 0x0b, 0x0a, 0x07, + 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x36, 0x34, 0x10, 0x0a, 0x12, 0x0a, 0x0a, 0x06, 0x42, 0x49, 0x4e, + 0x41, 0x52, 0x59, 0x10, 0x0b, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, + 0x0c, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x41, 0x54, 0x45, 0x10, 0x0d, 0x12, 0x0c, 0x0a, 0x08, 0x44, + 0x41, 0x54, 0x45, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x0e, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x49, 0x4d, + 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x0f, 0x12, + 0x19, 0x0a, 0x15, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x4d, 0x49, 0x4c, + 0x4c, 0x49, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x10, 0x12, 0x19, 0x0a, 0x15, 0x54, 0x49, + 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x4d, 0x49, 0x43, 0x52, 0x4f, 0x53, 0x45, 0x43, + 0x4f, 0x4e, 0x44, 0x10, 0x11, 0x12, 0x18, 0x0a, 0x14, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, + 0x4d, 0x50, 0x5f, 0x4e, 0x41, 0x4e, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x12, 0x12, + 0x0f, 0x0a, 0x0b, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x13, + 0x12, 0x14, 0x0a, 0x10, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x4d, 0x49, 0x4c, 0x4c, 0x49, 0x53, 0x45, + 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x14, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x4d, + 0x49, 0x43, 0x52, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x15, 0x12, 0x13, 0x0a, 0x0f, + 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x4e, 0x41, 0x4e, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, + 0x16, 0x12, 0x17, 0x0a, 0x13, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x56, 0x41, 0x4c, 0x5f, 0x59, 0x45, + 0x41, 0x52, 0x5f, 0x4d, 0x4f, 0x4e, 0x54, 0x48, 0x10, 0x17, 0x12, 0x15, 0x0a, 0x11, 0x49, 0x4e, + 0x54, 0x45, 0x52, 0x56, 0x41, 0x4c, 0x5f, 0x44, 0x41, 0x59, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x10, + 0x18, 0x12, 0x1b, 0x0a, 0x17, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x56, 0x41, 0x4c, 0x5f, 0x4d, 0x4f, + 0x4e, 0x54, 0x48, 0x5f, 0x44, 0x41, 0x59, 0x5f, 0x4e, 0x41, 0x4e, 0x4f, 0x10, 0x19, 0x12, 0x0e, + 0x0a, 0x0a, 0x44, 0x45, 0x43, 0x49, 0x4d, 0x41, 0x4c, 0x31, 0x32, 0x38, 0x10, 0x1e, 0x12, 0x08, + 0x0a, 0x04, 0x4a, 0x53, 0x4f, 0x4e, 0x10, 0x1f, 0x12, 0x0a, 0x0a, 0x06, 0x56, 0x45, 0x43, 0x54, + 0x4f, 0x52, 0x10, 0x20, 0x12, 0x08, 0x0a, 0x04, 0x4c, 0x49, 0x53, 0x54, 0x10, 0x28, 0x12, 0x0a, + 0x0a, 0x06, 0x53, 0x54, 0x52, 0x55, 0x43, 0x54, 0x10, 0x29, 0x12, 0x0e, 0x0a, 0x0a, 0x44, 0x49, + 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x41, 0x52, 0x59, 0x10, 0x2a, 0x2a, 0x48, 0x0a, 0x08, 0x54, 0x69, + 0x6d, 0x65, 0x55, 0x6e, 0x69, 0x74, 0x12, 0x0f, 0x0a, 0x0b, 0x4d, 0x49, 0x4c, 0x4c, 0x49, 0x53, + 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x45, 0x43, 0x4f, 0x4e, + 0x44, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x4d, 0x49, 0x43, 0x52, 0x4f, 0x53, 0x45, 0x43, 0x4f, + 0x4e, 0x44, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x4e, 0x41, 0x4e, 0x4f, 0x53, 0x45, 0x43, 0x4f, + 0x4e, 0x44, 0x10, 0x03, 0x2a, 0x24, 0x0a, 0x11, 0x4a, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, + 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x0a, 0x0b, 0x4a, 0x53, 0x4f, + 0x4e, 0x5f, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x10, 0x00, 0x42, 0x4f, 0x0a, 0x0e, 0x69, 0x6f, + 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x06, 0x43, 0x6f, + 0x6d, 0x6d, 0x6f, 0x6e, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x2f, 0x67, 0x72, + 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, + 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, } var ( @@ -2438,7 +2488,7 @@ func file_greptime_v1_common_proto_rawDescGZIP() []byte { } var file_greptime_v1_common_proto_enumTypes = make([]protoimpl.EnumInfo, 4) -var file_greptime_v1_common_proto_msgTypes = make([]protoimpl.MessageInfo, 34) +var file_greptime_v1_common_proto_msgTypes = make([]protoimpl.MessageInfo, 35) var file_greptime_v1_common_proto_goTypes = []interface{}{ (SemanticType)(0), // 0: greptime.v1.SemanticType (ColumnDataType)(0), // 1: greptime.v1.ColumnDataType @@ -2473,20 +2523,21 @@ var file_greptime_v1_common_proto_goTypes = []interface{}{ (*DictionaryTypeExtension)(nil), // 30: greptime.v1.DictionaryTypeExtension (*ColumnOptions)(nil), // 31: greptime.v1.ColumnOptions (*ArrowIpc)(nil), // 32: greptime.v1.ArrowIpc - nil, // 33: greptime.v1.QueryContext.ExtensionsEntry - nil, // 34: greptime.v1.SnapshotSequences.SstMinSequencesEntry - nil, // 35: greptime.v1.SnapshotSequences.SnapshotSeqsEntry - nil, // 36: greptime.v1.RequestHeader.TracingContextEntry - nil, // 37: greptime.v1.ColumnOptions.OptionsEntry + (*PartitionRuleVersion)(nil), // 33: greptime.v1.PartitionRuleVersion + nil, // 34: greptime.v1.QueryContext.ExtensionsEntry + nil, // 35: greptime.v1.SnapshotSequences.SstMinSequencesEntry + nil, // 36: greptime.v1.SnapshotSequences.SnapshotSeqsEntry + nil, // 37: greptime.v1.RequestHeader.TracingContextEntry + nil, // 38: greptime.v1.ColumnOptions.OptionsEntry } var file_greptime_v1_common_proto_depIdxs = []int32{ - 33, // 0: greptime.v1.QueryContext.extensions:type_name -> greptime.v1.QueryContext.ExtensionsEntry + 34, // 0: greptime.v1.QueryContext.extensions:type_name -> greptime.v1.QueryContext.ExtensionsEntry 5, // 1: greptime.v1.QueryContext.snapshot_seqs:type_name -> greptime.v1.SnapshotSequences 6, // 2: greptime.v1.QueryContext.explain:type_name -> greptime.v1.ExplainOptions - 34, // 3: greptime.v1.SnapshotSequences.sst_min_sequences:type_name -> greptime.v1.SnapshotSequences.SstMinSequencesEntry - 35, // 4: greptime.v1.SnapshotSequences.snapshot_seqs:type_name -> greptime.v1.SnapshotSequences.SnapshotSeqsEntry + 35, // 3: greptime.v1.SnapshotSequences.sst_min_sequences:type_name -> greptime.v1.SnapshotSequences.SstMinSequencesEntry + 36, // 4: greptime.v1.SnapshotSequences.snapshot_seqs:type_name -> greptime.v1.SnapshotSequences.SnapshotSeqsEntry 10, // 5: greptime.v1.RequestHeader.authorization:type_name -> greptime.v1.AuthHeader - 36, // 6: greptime.v1.RequestHeader.tracing_context:type_name -> greptime.v1.RequestHeader.TracingContextEntry + 37, // 6: greptime.v1.RequestHeader.tracing_context:type_name -> greptime.v1.RequestHeader.TracingContextEntry 9, // 7: greptime.v1.ResponseHeader.status:type_name -> greptime.v1.Status 11, // 8: greptime.v1.AuthHeader.basic:type_name -> greptime.v1.Basic 12, // 9: greptime.v1.AuthHeader.token:type_name -> greptime.v1.Token @@ -2512,7 +2563,7 @@ var file_greptime_v1_common_proto_depIdxs = []int32{ 24, // 29: greptime.v1.DictionaryTypeExtension.key_datatype_extension:type_name -> greptime.v1.ColumnDataTypeExtension 1, // 30: greptime.v1.DictionaryTypeExtension.value_datatype:type_name -> greptime.v1.ColumnDataType 24, // 31: greptime.v1.DictionaryTypeExtension.value_datatype_extension:type_name -> greptime.v1.ColumnDataTypeExtension - 37, // 32: greptime.v1.ColumnOptions.options:type_name -> greptime.v1.ColumnOptions.OptionsEntry + 38, // 32: greptime.v1.ColumnOptions.options:type_name -> greptime.v1.ColumnOptions.OptionsEntry 33, // [33:33] is the sub-list for method output_type 33, // [33:33] is the sub-list for method input_type 33, // [33:33] is the sub-list for extension type_name @@ -2874,6 +2925,18 @@ func file_greptime_v1_common_proto_init() { return nil } } + file_greptime_v1_common_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PartitionRuleVersion); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } file_greptime_v1_common_proto_msgTypes[6].OneofWrappers = []interface{}{ (*AuthHeader_Basic)(nil), @@ -2894,7 +2957,7 @@ func file_greptime_v1_common_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_greptime_v1_common_proto_rawDesc, NumEnums: 4, - NumMessages: 34, + NumMessages: 35, NumExtensions: 0, NumServices: 0, }, diff --git a/go/greptime/v1/flow/server.pb.go b/go/greptime/v1/flow/server.pb.go index c4f4734..17daf25 100644 --- a/go/greptime/v1/flow/server.pb.go +++ b/go/greptime/v1/flow/server.pb.go @@ -251,8 +251,9 @@ type InsertRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - RegionId uint64 `protobuf:"varint,1,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` - Rows *v1.Rows `protobuf:"bytes,2,opt,name=rows,proto3" json:"rows,omitempty"` + RegionId uint64 `protobuf:"varint,1,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` + Rows *v1.Rows `protobuf:"bytes,2,opt,name=rows,proto3" json:"rows,omitempty"` + PartitionRuleVersion *v1.PartitionRuleVersion `protobuf:"bytes,3,opt,name=partition_rule_version,json=partitionRuleVersion,proto3" json:"partition_rule_version,omitempty"` } func (x *InsertRequest) Reset() { @@ -301,6 +302,13 @@ func (x *InsertRequest) GetRows() *v1.Rows { return nil } +func (x *InsertRequest) GetPartitionRuleVersion() *v1.PartitionRuleVersion { + if x != nil { + return x.PartitionRuleVersion + } + return nil +} + type FlowRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -736,116 +744,121 @@ var file_greptime_v1_flow_server_proto_rawDesc = []byte{ 0x12, 0x3b, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x22, 0x53, 0x0a, - 0x0d, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, - 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x04, 0x72, - 0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x72, 0x65, 0x70, - 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x77, 0x73, 0x52, 0x04, 0x72, 0x6f, - 0x77, 0x73, 0x22, 0xf7, 0x01, 0x0a, 0x0b, 0x46, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x40, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, - 0x39, 0x0a, 0x06, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x66, 0x6c, - 0x6f, 0x77, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x48, 0x00, 0x52, 0x06, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x33, 0x0a, 0x04, 0x64, 0x72, - 0x6f, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, - 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x44, 0x72, 0x6f, 0x70, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x04, 0x64, 0x72, 0x6f, 0x70, 0x12, - 0x33, 0x0a, 0x05, 0x66, 0x6c, 0x75, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, - 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x66, 0x6c, 0x6f, - 0x77, 0x2e, 0x46, 0x6c, 0x75, 0x73, 0x68, 0x46, 0x6c, 0x6f, 0x77, 0x48, 0x00, 0x52, 0x05, 0x66, - 0x6c, 0x75, 0x73, 0x68, 0x42, 0x06, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x22, 0xb3, 0x02, 0x0a, - 0x0c, 0x46, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, - 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, - 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, - 0x65, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x72, - 0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x61, 0x66, 0x66, 0x65, 0x63, - 0x74, 0x65, 0x64, 0x52, 0x6f, 0x77, 0x73, 0x12, 0x3a, 0x0a, 0x0e, 0x61, 0x66, 0x66, 0x65, 0x63, - 0x74, 0x65, 0x64, 0x5f, 0x66, 0x6c, 0x6f, 0x77, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x65, 0x73, 0x74, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x22, 0xac, 0x01, + 0x0a, 0x0d, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x04, + 0x72, 0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x72, 0x65, + 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x77, 0x73, 0x52, 0x04, 0x72, + 0x6f, 0x77, 0x73, 0x12, 0x57, 0x0a, 0x16, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, + 0x01, 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, 0x52, 0x75, 0x6c, 0x65, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x14, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xf7, 0x01, 0x0a, + 0x0b, 0x46, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x06, + 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x40, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, + 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x66, 0x6c, 0x6f, 0x77, 0x2e, + 0x46, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, + 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x39, 0x0a, 0x06, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70, + 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x06, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x12, 0x33, 0x0a, 0x04, 0x64, 0x72, 0x6f, 0x70, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x48, 0x00, 0x52, 0x04, 0x64, 0x72, 0x6f, 0x70, 0x12, 0x33, 0x0a, 0x05, 0x66, 0x6c, 0x75, + 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, + 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x46, 0x6c, 0x75, 0x73, + 0x68, 0x46, 0x6c, 0x6f, 0x77, 0x48, 0x00, 0x52, 0x05, 0x66, 0x6c, 0x75, 0x73, 0x68, 0x42, 0x06, + 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x22, 0xb3, 0x02, 0x0a, 0x0c, 0x46, 0x6c, 0x6f, 0x77, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, + 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, + 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x65, + 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x23, 0x0a, 0x0d, + 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x0c, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x6f, 0x77, + 0x73, 0x12, 0x3a, 0x0a, 0x0e, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x6c, + 0x6f, 0x77, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x72, 0x65, 0x70, + 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x49, 0x64, 0x52, 0x0d, + 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x46, 0x6c, 0x6f, 0x77, 0x73, 0x12, 0x4e, 0x0a, + 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x3d, 0x0a, + 0x0f, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, + 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xcb, 0x04, 0x0a, + 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, + 0x0a, 0x07, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x6c, - 0x6f, 0x77, 0x49, 0x64, 0x52, 0x0d, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x46, 0x6c, - 0x6f, 0x77, 0x73, 0x12, 0x4e, 0x0a, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, - 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, - 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, - 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, - 0x6f, 0x6e, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, - 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, - 0x38, 0x01, 0x22, 0xcb, 0x04, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x07, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x69, 0x64, 0x18, + 0x6f, 0x77, 0x49, 0x64, 0x52, 0x06, 0x66, 0x6c, 0x6f, 0x77, 0x49, 0x64, 0x12, 0x3e, 0x0a, 0x10, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x52, 0x0e, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x73, 0x12, 0x3e, 0x0a, 0x0f, + 0x73, 0x69, 0x6e, 0x6b, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x0d, 0x73, + 0x69, 0x6e, 0x6b, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x14, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x66, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x65, 0x78, + 0x69, 0x73, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x49, 0x66, 0x4e, 0x6f, 0x74, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x3b, 0x0a, + 0x0c, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x41, 0x66, 0x74, 0x65, 0x72, 0x52, 0x0b, 0x65, + 0x78, 0x70, 0x69, 0x72, 0x65, 0x41, 0x66, 0x74, 0x65, 0x72, 0x12, 0x3e, 0x0a, 0x0d, 0x65, 0x76, + 0x61, 0x6c, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x45, 0x76, 0x61, 0x6c, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x52, 0x0c, 0x65, 0x76, + 0x61, 0x6c, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, + 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, + 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x71, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x03, 0x73, 0x71, 0x6c, 0x12, 0x53, 0x0a, 0x0c, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x6f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, + 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x66, 0x6c, 0x6f, 0x77, 0x2e, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x46, 0x6c, + 0x6f, 0x77, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, + 0x66, 0x6c, 0x6f, 0x77, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, + 0x72, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x09, 0x6f, 0x72, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x1a, 0x3e, 0x0a, 0x10, 0x46, 0x6c, + 0x6f, 0x77, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, + 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, + 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x3b, 0x0a, 0x0b, 0x44, 0x72, + 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x07, 0x66, 0x6c, 0x6f, + 0x77, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x72, 0x65, + 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x49, 0x64, 0x52, + 0x06, 0x66, 0x6c, 0x6f, 0x77, 0x49, 0x64, 0x22, 0x39, 0x0a, 0x09, 0x46, 0x6c, 0x75, 0x73, 0x68, + 0x46, 0x6c, 0x6f, 0x77, 0x12, 0x2c, 0x0a, 0x07, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x49, 0x64, 0x52, 0x06, 0x66, 0x6c, 0x6f, 0x77, - 0x49, 0x64, 0x12, 0x3e, 0x0a, 0x10, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x61, 0x62, - 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, - 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, - 0x49, 0x64, 0x52, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x49, - 0x64, 0x73, 0x12, 0x3e, 0x0a, 0x0f, 0x73, 0x69, 0x6e, 0x6b, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, - 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, - 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4e, - 0x61, 0x6d, 0x65, 0x52, 0x0d, 0x73, 0x69, 0x6e, 0x6b, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, - 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x14, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x66, 0x5f, - 0x6e, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x66, 0x4e, 0x6f, 0x74, 0x45, 0x78, 0x69, - 0x73, 0x74, 0x73, 0x12, 0x3b, 0x0a, 0x0c, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x61, 0x66, - 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x65, 0x70, - 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x41, 0x66, - 0x74, 0x65, 0x72, 0x52, 0x0b, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x41, 0x66, 0x74, 0x65, 0x72, - 0x12, 0x3e, 0x0a, 0x0d, 0x65, 0x76, 0x61, 0x6c, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, - 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, - 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x76, 0x61, 0x6c, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, - 0x61, 0x6c, 0x52, 0x0c, 0x65, 0x76, 0x61, 0x6c, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, - 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x71, - 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x71, 0x6c, 0x12, 0x53, 0x0a, 0x0c, - 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x66, 0x6c, 0x6f, 0x77, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x72, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x18, - 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x6f, 0x72, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, - 0x1a, 0x3e, 0x0a, 0x10, 0x46, 0x6c, 0x6f, 0x77, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, - 0x22, 0x3b, 0x0a, 0x0b, 0x44, 0x72, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x2c, 0x0a, 0x07, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x13, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x46, - 0x6c, 0x6f, 0x77, 0x49, 0x64, 0x52, 0x06, 0x66, 0x6c, 0x6f, 0x77, 0x49, 0x64, 0x22, 0x39, 0x0a, - 0x09, 0x46, 0x6c, 0x75, 0x73, 0x68, 0x46, 0x6c, 0x6f, 0x77, 0x12, 0x2c, 0x0a, 0x07, 0x66, 0x6c, - 0x6f, 0x77, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x72, - 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x49, 0x64, - 0x52, 0x06, 0x66, 0x6c, 0x6f, 0x77, 0x49, 0x64, 0x32, 0x98, 0x02, 0x0a, 0x04, 0x46, 0x6c, 0x6f, - 0x77, 0x12, 0x53, 0x0a, 0x12, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x12, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, - 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x57, 0x0a, 0x13, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, - 0x4d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x2e, + 0x49, 0x64, 0x32, 0x98, 0x02, 0x0a, 0x04, 0x46, 0x6c, 0x6f, 0x77, 0x12, 0x53, 0x0a, 0x12, 0x48, + 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x76, + 0x65, 0x12, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x66, + 0x6c, 0x6f, 0x77, 0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x57, 0x0a, 0x13, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x4d, 0x69, 0x72, 0x72, 0x6f, 0x72, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, + 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x49, 0x6e, 0x73, 0x65, 0x72, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x1a, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, + 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x46, 0x6c, 0x6f, + 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x19, 0x48, 0x61, 0x6e, + 0x64, 0x6c, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x44, 0x69, 0x72, 0x74, 0x79, 0x54, 0x69, 0x6d, 0x65, + 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x12, 0x25, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x44, 0x69, 0x72, 0x74, 0x79, 0x57, + 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x1a, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x66, 0x6c, 0x6f, 0x77, - 0x2e, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x1a, - 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x66, 0x6c, - 0x6f, 0x77, 0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x62, 0x0a, 0x19, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x44, 0x69, 0x72, - 0x74, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x12, 0x25, 0x2e, 0x67, - 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x66, 0x6c, 0x6f, 0x77, 0x2e, - 0x44, 0x69, 0x72, 0x74, 0x79, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x73, 0x1a, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x66, 0x6c, 0x6f, 0x77, 0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x42, 0x59, 0x0a, 0x13, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, - 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x66, 0x6c, 0x6f, 0x77, 0x42, 0x06, 0x53, 0x65, 0x72, 0x76, - 0x65, 0x72, 0x5a, 0x3a, 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, 0x66, 0x6c, 0x6f, 0x77, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x59, 0x0a, + 0x13, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x66, 0x6c, 0x6f, 0x77, 0x42, 0x06, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5a, 0x3a, 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, 0x66, 0x6c, 0x6f, 0x77, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -862,27 +875,28 @@ func file_greptime_v1_flow_server_proto_rawDescGZIP() []byte { var file_greptime_v1_flow_server_proto_msgTypes = make([]protoimpl.MessageInfo, 13) var file_greptime_v1_flow_server_proto_goTypes = []interface{}{ - (*DirtyWindowRequests)(nil), // 0: greptime.v1.flow.DirtyWindowRequests - (*DirtyWindowRequest)(nil), // 1: greptime.v1.flow.DirtyWindowRequest - (*FlowRequestHeader)(nil), // 2: greptime.v1.flow.FlowRequestHeader - (*InsertRequests)(nil), // 3: greptime.v1.flow.InsertRequests - (*InsertRequest)(nil), // 4: greptime.v1.flow.InsertRequest - (*FlowRequest)(nil), // 5: greptime.v1.flow.FlowRequest - (*FlowResponse)(nil), // 6: greptime.v1.flow.FlowResponse - (*CreateRequest)(nil), // 7: greptime.v1.flow.CreateRequest - (*DropRequest)(nil), // 8: greptime.v1.flow.DropRequest - (*FlushFlow)(nil), // 9: greptime.v1.flow.FlushFlow - nil, // 10: greptime.v1.flow.FlowRequestHeader.TracingContextEntry - nil, // 11: greptime.v1.flow.FlowResponse.ExtensionsEntry - nil, // 12: greptime.v1.flow.CreateRequest.FlowOptionsEntry - (*v1.QueryContext)(nil), // 13: greptime.v1.QueryContext - (*v1.Rows)(nil), // 14: greptime.v1.Rows - (*v1.ResponseHeader)(nil), // 15: greptime.v1.ResponseHeader - (*v1.FlowId)(nil), // 16: greptime.v1.FlowId - (*v1.TableId)(nil), // 17: greptime.v1.TableId - (*v1.TableName)(nil), // 18: greptime.v1.TableName - (*v1.ExpireAfter)(nil), // 19: greptime.v1.ExpireAfter - (*v1.EvalInterval)(nil), // 20: greptime.v1.EvalInterval + (*DirtyWindowRequests)(nil), // 0: greptime.v1.flow.DirtyWindowRequests + (*DirtyWindowRequest)(nil), // 1: greptime.v1.flow.DirtyWindowRequest + (*FlowRequestHeader)(nil), // 2: greptime.v1.flow.FlowRequestHeader + (*InsertRequests)(nil), // 3: greptime.v1.flow.InsertRequests + (*InsertRequest)(nil), // 4: greptime.v1.flow.InsertRequest + (*FlowRequest)(nil), // 5: greptime.v1.flow.FlowRequest + (*FlowResponse)(nil), // 6: greptime.v1.flow.FlowResponse + (*CreateRequest)(nil), // 7: greptime.v1.flow.CreateRequest + (*DropRequest)(nil), // 8: greptime.v1.flow.DropRequest + (*FlushFlow)(nil), // 9: greptime.v1.flow.FlushFlow + nil, // 10: greptime.v1.flow.FlowRequestHeader.TracingContextEntry + nil, // 11: greptime.v1.flow.FlowResponse.ExtensionsEntry + nil, // 12: greptime.v1.flow.CreateRequest.FlowOptionsEntry + (*v1.QueryContext)(nil), // 13: greptime.v1.QueryContext + (*v1.Rows)(nil), // 14: greptime.v1.Rows + (*v1.PartitionRuleVersion)(nil), // 15: greptime.v1.PartitionRuleVersion + (*v1.ResponseHeader)(nil), // 16: greptime.v1.ResponseHeader + (*v1.FlowId)(nil), // 17: greptime.v1.FlowId + (*v1.TableId)(nil), // 18: greptime.v1.TableId + (*v1.TableName)(nil), // 19: greptime.v1.TableName + (*v1.ExpireAfter)(nil), // 20: greptime.v1.ExpireAfter + (*v1.EvalInterval)(nil), // 21: greptime.v1.EvalInterval } var file_greptime_v1_flow_server_proto_depIdxs = []int32{ 1, // 0: greptime.v1.flow.DirtyWindowRequests.requests:type_name -> greptime.v1.flow.DirtyWindowRequest @@ -890,32 +904,33 @@ var file_greptime_v1_flow_server_proto_depIdxs = []int32{ 13, // 2: greptime.v1.flow.FlowRequestHeader.query_context:type_name -> greptime.v1.QueryContext 4, // 3: greptime.v1.flow.InsertRequests.requests:type_name -> greptime.v1.flow.InsertRequest 14, // 4: greptime.v1.flow.InsertRequest.rows:type_name -> greptime.v1.Rows - 2, // 5: greptime.v1.flow.FlowRequest.header:type_name -> greptime.v1.flow.FlowRequestHeader - 7, // 6: greptime.v1.flow.FlowRequest.create:type_name -> greptime.v1.flow.CreateRequest - 8, // 7: greptime.v1.flow.FlowRequest.drop:type_name -> greptime.v1.flow.DropRequest - 9, // 8: greptime.v1.flow.FlowRequest.flush:type_name -> greptime.v1.flow.FlushFlow - 15, // 9: greptime.v1.flow.FlowResponse.header:type_name -> greptime.v1.ResponseHeader - 16, // 10: greptime.v1.flow.FlowResponse.affected_flows:type_name -> greptime.v1.FlowId - 11, // 11: greptime.v1.flow.FlowResponse.extensions:type_name -> greptime.v1.flow.FlowResponse.ExtensionsEntry - 16, // 12: greptime.v1.flow.CreateRequest.flow_id:type_name -> greptime.v1.FlowId - 17, // 13: greptime.v1.flow.CreateRequest.source_table_ids:type_name -> greptime.v1.TableId - 18, // 14: greptime.v1.flow.CreateRequest.sink_table_name:type_name -> greptime.v1.TableName - 19, // 15: greptime.v1.flow.CreateRequest.expire_after:type_name -> greptime.v1.ExpireAfter - 20, // 16: greptime.v1.flow.CreateRequest.eval_interval:type_name -> greptime.v1.EvalInterval - 12, // 17: greptime.v1.flow.CreateRequest.flow_options:type_name -> greptime.v1.flow.CreateRequest.FlowOptionsEntry - 16, // 18: greptime.v1.flow.DropRequest.flow_id:type_name -> greptime.v1.FlowId - 16, // 19: greptime.v1.flow.FlushFlow.flow_id:type_name -> greptime.v1.FlowId - 5, // 20: greptime.v1.flow.Flow.HandleCreateRemove:input_type -> greptime.v1.flow.FlowRequest - 3, // 21: greptime.v1.flow.Flow.HandleMirrorRequest:input_type -> greptime.v1.flow.InsertRequests - 0, // 22: greptime.v1.flow.Flow.HandleMarkDirtyTimeWindow:input_type -> greptime.v1.flow.DirtyWindowRequests - 6, // 23: greptime.v1.flow.Flow.HandleCreateRemove:output_type -> greptime.v1.flow.FlowResponse - 6, // 24: greptime.v1.flow.Flow.HandleMirrorRequest:output_type -> greptime.v1.flow.FlowResponse - 6, // 25: greptime.v1.flow.Flow.HandleMarkDirtyTimeWindow:output_type -> greptime.v1.flow.FlowResponse - 23, // [23:26] is the sub-list for method output_type - 20, // [20:23] is the sub-list for method input_type - 20, // [20:20] is the sub-list for extension type_name - 20, // [20:20] is the sub-list for extension extendee - 0, // [0:20] is the sub-list for field type_name + 15, // 5: greptime.v1.flow.InsertRequest.partition_rule_version:type_name -> greptime.v1.PartitionRuleVersion + 2, // 6: greptime.v1.flow.FlowRequest.header:type_name -> greptime.v1.flow.FlowRequestHeader + 7, // 7: greptime.v1.flow.FlowRequest.create:type_name -> greptime.v1.flow.CreateRequest + 8, // 8: greptime.v1.flow.FlowRequest.drop:type_name -> greptime.v1.flow.DropRequest + 9, // 9: greptime.v1.flow.FlowRequest.flush:type_name -> greptime.v1.flow.FlushFlow + 16, // 10: greptime.v1.flow.FlowResponse.header:type_name -> greptime.v1.ResponseHeader + 17, // 11: greptime.v1.flow.FlowResponse.affected_flows:type_name -> greptime.v1.FlowId + 11, // 12: greptime.v1.flow.FlowResponse.extensions:type_name -> greptime.v1.flow.FlowResponse.ExtensionsEntry + 17, // 13: greptime.v1.flow.CreateRequest.flow_id:type_name -> greptime.v1.FlowId + 18, // 14: greptime.v1.flow.CreateRequest.source_table_ids:type_name -> greptime.v1.TableId + 19, // 15: greptime.v1.flow.CreateRequest.sink_table_name:type_name -> greptime.v1.TableName + 20, // 16: greptime.v1.flow.CreateRequest.expire_after:type_name -> greptime.v1.ExpireAfter + 21, // 17: greptime.v1.flow.CreateRequest.eval_interval:type_name -> greptime.v1.EvalInterval + 12, // 18: greptime.v1.flow.CreateRequest.flow_options:type_name -> greptime.v1.flow.CreateRequest.FlowOptionsEntry + 17, // 19: greptime.v1.flow.DropRequest.flow_id:type_name -> greptime.v1.FlowId + 17, // 20: greptime.v1.flow.FlushFlow.flow_id:type_name -> greptime.v1.FlowId + 5, // 21: greptime.v1.flow.Flow.HandleCreateRemove:input_type -> greptime.v1.flow.FlowRequest + 3, // 22: greptime.v1.flow.Flow.HandleMirrorRequest:input_type -> greptime.v1.flow.InsertRequests + 0, // 23: greptime.v1.flow.Flow.HandleMarkDirtyTimeWindow:input_type -> greptime.v1.flow.DirtyWindowRequests + 6, // 24: greptime.v1.flow.Flow.HandleCreateRemove:output_type -> greptime.v1.flow.FlowResponse + 6, // 25: greptime.v1.flow.Flow.HandleMirrorRequest:output_type -> greptime.v1.flow.FlowResponse + 6, // 26: greptime.v1.flow.Flow.HandleMarkDirtyTimeWindow:output_type -> greptime.v1.flow.FlowResponse + 24, // [24:27] is the sub-list for method output_type + 21, // [21:24] is the sub-list for method input_type + 21, // [21:21] is the sub-list for extension type_name + 21, // [21:21] is the sub-list for extension extendee + 0, // [0:21] is the sub-list for field type_name } func init() { file_greptime_v1_flow_server_proto_init() } diff --git a/go/greptime/v1/region/server.pb.go b/go/greptime/v1/region/server.pb.go index d7c6c75..cad2b40 100644 --- a/go/greptime/v1/region/server.pb.go +++ b/go/greptime/v1/region/server.pb.go @@ -592,8 +592,9 @@ type InsertRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - RegionId uint64 `protobuf:"varint,1,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` - Rows *v1.Rows `protobuf:"bytes,2,opt,name=rows,proto3" json:"rows,omitempty"` + RegionId uint64 `protobuf:"varint,1,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` + Rows *v1.Rows `protobuf:"bytes,2,opt,name=rows,proto3" json:"rows,omitempty"` + PartitionRuleVersion *v1.PartitionRuleVersion `protobuf:"bytes,3,opt,name=partition_rule_version,json=partitionRuleVersion,proto3" json:"partition_rule_version,omitempty"` } func (x *InsertRequest) Reset() { @@ -642,13 +643,21 @@ func (x *InsertRequest) GetRows() *v1.Rows { return nil } +func (x *InsertRequest) GetPartitionRuleVersion() *v1.PartitionRuleVersion { + if x != nil { + return x.PartitionRuleVersion + } + return nil +} + type DeleteRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - RegionId uint64 `protobuf:"varint,1,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` - Rows *v1.Rows `protobuf:"bytes,2,opt,name=rows,proto3" json:"rows,omitempty"` + RegionId uint64 `protobuf:"varint,1,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` + Rows *v1.Rows `protobuf:"bytes,2,opt,name=rows,proto3" json:"rows,omitempty"` + PartitionRuleVersion *v1.PartitionRuleVersion `protobuf:"bytes,3,opt,name=partition_rule_version,json=partitionRuleVersion,proto3" json:"partition_rule_version,omitempty"` } func (x *DeleteRequest) Reset() { @@ -697,6 +706,13 @@ func (x *DeleteRequest) GetRows() *v1.Rows { return nil } +func (x *DeleteRequest) GetPartitionRuleVersion() *v1.PartitionRuleVersion { + if x != nil { + return x.PartitionRuleVersion + } + return nil +} + type QueryRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2116,7 +2132,8 @@ type BulkInsertRequest struct { // Types that are assignable to Body: // // *BulkInsertRequest_ArrowIpc - Body isBulkInsertRequest_Body `protobuf_oneof:"body"` + Body isBulkInsertRequest_Body `protobuf_oneof:"body"` + PartitionRuleVersion *v1.PartitionRuleVersion `protobuf:"bytes,3,opt,name=partition_rule_version,json=partitionRuleVersion,proto3" json:"partition_rule_version,omitempty"` } func (x *BulkInsertRequest) Reset() { @@ -2172,6 +2189,13 @@ func (x *BulkInsertRequest) GetArrowIpc() *v1.ArrowIpc { return nil } +func (x *BulkInsertRequest) GetPartitionRuleVersion() *v1.PartitionRuleVersion { + if x != nil { + return x.PartitionRuleVersion + } + return nil +} + type isBulkInsertRequest_Body interface { isBulkInsertRequest_Body() } @@ -2733,277 +2757,294 @@ var file_greptime_v1_region_server_proto_rawDesc = []byte{ 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x73, 0x22, 0x53, 0x0a, 0x0d, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, + 0x65, 0x73, 0x74, 0x73, 0x22, 0xac, 0x01, 0x0a, 0x0d, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, + 0x6e, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x52, 0x6f, 0x77, 0x73, 0x52, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x12, 0x57, 0x0a, 0x16, 0x70, 0x61, + 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x76, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 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, 0x52, 0x75, 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x14, 0x70, + 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x22, 0xac, 0x01, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, - 0x6f, 0x77, 0x73, 0x52, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x22, 0x53, 0x0a, 0x0d, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, - 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, - 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x77, 0x73, 0x52, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x22, 0x80, - 0x01, 0x0a, 0x0c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x3f, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x27, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, - 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x12, 0x0a, - 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x6c, 0x61, - 0x6e, 0x22, 0x4f, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x73, 0x12, 0x3d, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x73, 0x22, 0x80, 0x03, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 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, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x12, 0x44, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, - 0x75, 0x6d, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, - 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, - 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, - 0x44, 0x65, 0x66, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x73, 0x12, - 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x04, - 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0a, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x4b, 0x65, 0x79, - 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x70, 0x61, 0x74, 0x68, 0x12, 0x48, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, - 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x39, - 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, - 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x3a, 0x0a, 0x0c, 0x4f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x4b, 0x0a, 0x0c, 0x44, 0x72, 0x6f, 0x70, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x3b, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, - 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x72, 0x6f, - 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x73, 0x22, 0x80, 0x01, 0x0a, 0x0b, 0x44, 0x72, 0x6f, 0x70, 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, - 0x1b, 0x0a, 0x09, 0x66, 0x61, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x08, 0x66, 0x61, 0x73, 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x14, 0x0a, 0x05, - 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, - 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x64, 0x72, - 0x6f, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, - 0x6c, 0x44, 0x72, 0x6f, 0x70, 0x22, 0xda, 0x01, 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x6e, 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, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, - 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x46, - 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x2c, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x6f, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, - 0x38, 0x01, 0x22, 0x2b, 0x0a, 0x0c, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, - 0x4d, 0x0a, 0x0d, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, - 0x12, 0x3c, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x22, 0x8a, - 0x07, 0x0a, 0x0c, 0x41, 0x6c, 0x74, 0x65, 0x72, 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, 0x41, 0x0a, 0x0b, - 0x61, 0x64, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, - 0x73, 0x48, 0x00, 0x52, 0x0a, 0x61, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, - 0x44, 0x0a, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, - 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x43, - 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x72, 0x6f, 0x70, 0x43, 0x6f, - 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x5f, - 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, - 0x65, 0x73, 0x48, 0x00, 0x52, 0x11, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x43, 0x6f, 0x6c, 0x75, - 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x11, 0x73, 0x65, 0x74, 0x5f, 0x74, - 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x53, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x48, 0x00, 0x52, 0x0f, 0x73, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x5f, 0x74, 0x61, 0x62, - 0x6c, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, - 0x6e, 0x73, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x48, 0x00, 0x52, 0x11, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x34, 0x0a, 0x09, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x64, - 0x65, 0x78, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, - 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x48, - 0x00, 0x52, 0x08, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x3a, 0x0a, 0x0b, 0x75, - 0x6e, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, - 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x48, 0x00, 0x52, 0x0a, 0x75, 0x6e, 0x73, - 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x40, 0x0a, 0x0d, 0x64, 0x72, 0x6f, 0x70, 0x5f, - 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, - 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x72, 0x6f, - 0x70, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x48, 0x00, 0x52, 0x0c, 0x64, 0x72, 0x6f, - 0x70, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x3a, 0x0a, 0x0b, 0x73, 0x65, 0x74, - 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, - 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, - 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x48, 0x00, 0x52, 0x0a, 0x73, 0x65, 0x74, 0x49, 0x6e, - 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x40, 0x0a, 0x0d, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x5f, 0x69, - 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, - 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, - 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x48, 0x00, 0x52, 0x0c, 0x75, 0x6e, 0x73, 0x65, 0x74, - 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x73, 0x65, 0x74, 0x5f, 0x64, - 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, - 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x44, - 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x65, 0x74, 0x44, 0x65, - 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x44, 0x0a, 0x0c, 0x73, 0x79, 0x6e, 0x63, 0x5f, 0x63, - 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, - 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, - 0x6e, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x48, 0x00, 0x52, - 0x0b, 0x73, 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0e, - 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x56, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0x53, 0x0a, 0x0b, 0x53, - 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x44, 0x0a, 0x0b, 0x63, 0x6f, - 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x23, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, - 0x6e, 0x44, 0x65, 0x66, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x73, - 0x22, 0x4c, 0x0a, 0x0a, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x3e, - 0x0a, 0x0b, 0x61, 0x64, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, - 0x6d, 0x6e, 0x52, 0x0a, 0x61, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22, 0x50, - 0x0a, 0x0b, 0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x41, 0x0a, - 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, - 0x75, 0x6d, 0x6e, 0x52, 0x0b, 0x64, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, - 0x22, 0x8b, 0x01, 0x0a, 0x09, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x42, - 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x18, 0x01, 0x20, 0x01, + 0x6f, 0x77, 0x73, 0x52, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x12, 0x57, 0x0a, 0x16, 0x70, 0x61, 0x72, + 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 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, 0x52, 0x75, 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x14, 0x70, 0x61, + 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x22, 0x80, 0x01, 0x0a, 0x0c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, + 0x61, 0x64, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, + 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x04, 0x70, 0x6c, 0x61, 0x6e, 0x22, 0x4f, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x3d, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, + 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x08, 0x72, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x22, 0x80, 0x03, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 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, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x12, 0x44, 0x0a, + 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x6f, - 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, - 0x65, 0x66, 0x12, 0x3a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x20, - 0x0a, 0x0a, 0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x12, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x22, 0x2b, 0x0a, 0x0c, 0x46, 0x6c, 0x75, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x09, 0x0a, - 0x07, 0x52, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x22, 0x35, 0x0a, 0x0c, 0x53, 0x74, 0x72, 0x69, - 0x63, 0x74, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x12, 0x25, 0x0a, 0x0e, 0x77, 0x69, 0x6e, 0x64, - 0x6f, 0x77, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x0d, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x22, - 0xdc, 0x01, 0x0a, 0x0e, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, - 0x37, 0x0a, 0x07, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, - 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x48, 0x00, 0x52, - 0x07, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x12, 0x47, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x69, - 0x63, 0x74, 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x63, 0x74, 0x57, 0x69, 0x6e, 0x64, 0x6f, - 0x77, 0x48, 0x00, 0x52, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x57, 0x69, 0x6e, 0x64, 0x6f, - 0x77, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x69, 0x73, 0x6d, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, - 0x69, 0x73, 0x6d, 0x42, 0x09, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x9f, - 0x01, 0x0a, 0x0f, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 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, - 0x2b, 0x0a, 0x03, 0x61, 0x6c, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, - 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, - 0x6e, 0x2e, 0x41, 0x6c, 0x6c, 0x48, 0x00, 0x52, 0x03, 0x61, 0x6c, 0x6c, 0x12, 0x3a, 0x0a, 0x0b, - 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, - 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x48, 0x00, 0x52, 0x0a, 0x74, 0x69, - 0x6d, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, - 0x22, 0x05, 0x0a, 0x03, 0x41, 0x6c, 0x6c, 0x22, 0x65, 0x0a, 0x0f, 0x52, 0x65, 0x67, 0x69, 0x6f, - 0x6e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x12, 0x35, 0x0a, 0x0a, 0x63, 0x6f, - 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, - 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, - 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, - 0x66, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x49, 0x64, 0x22, 0x6e, - 0x0a, 0x11, 0x42, 0x75, 0x6c, 0x6b, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, - 0x12, 0x34, 0x0a, 0x09, 0x61, 0x72, 0x72, 0x6f, 0x77, 0x5f, 0x69, 0x70, 0x63, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, - 0x31, 0x2e, 0x41, 0x72, 0x72, 0x6f, 0x77, 0x49, 0x70, 0x63, 0x48, 0x00, 0x52, 0x08, 0x61, 0x72, - 0x72, 0x6f, 0x77, 0x49, 0x70, 0x63, 0x42, 0x06, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x22, 0x46, - 0x0a, 0x10, 0x4d, 0x69, 0x74, 0x6f, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, - 0x66, 0x6f, 0x12, 0x32, 0x0a, 0x15, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, - 0x65, 0x73, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x13, 0x64, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x56, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x84, 0x01, 0x0a, 0x12, 0x4d, 0x65, 0x74, 0x72, 0x69, - 0x63, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x32, 0x0a, - 0x15, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, 0x64, 0x61, - 0x74, 0x61, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x12, 0x3a, 0x0a, 0x19, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6d, 0x61, - 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x17, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4d, 0x61, - 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xed, 0x01, - 0x0a, 0x0b, 0x53, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, - 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x54, 0x0a, 0x12, 0x6d, 0x69, - 0x74, 0x6f, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, - 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x69, 0x74, 0x6f, - 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x10, - 0x6d, 0x69, 0x74, 0x6f, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, - 0x12, 0x5a, 0x0a, 0x14, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, - 0x65, 0x73, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, - 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, - 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, - 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x12, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, - 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0f, 0x0a, 0x0d, - 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x34, 0x0a, - 0x13, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, - 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, 0x52, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, - 0x49, 0x64, 0x73, 0x22, 0x30, 0x0a, 0x11, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x64, 0x65, - 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, - 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, - 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x1f, 0x0a, 0x09, 0x46, 0x69, 0x6c, 0x65, 0x4d, 0x65, 0x74, - 0x61, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xb2, 0x01, 0x0a, 0x1b, 0x41, 0x70, 0x70, 0x6c, 0x79, - 0x53, 0x74, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x52, + 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, + 0x65, 0x66, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x6b, + 0x65, 0x79, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0a, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, + 0x79, 0x4b, 0x65, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x48, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x72, 0x65, 0x70, + 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x12, 0x39, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x3a, 0x0a, + 0x0c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x4b, 0x0a, 0x0c, 0x44, 0x72, 0x6f, + 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x3b, 0x0a, 0x08, 0x72, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, + 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, + 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x08, 0x72, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x22, 0x80, 0x01, 0x0a, 0x0b, 0x44, 0x72, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, - 0x6e, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, - 0x5f, 0x65, 0x78, 0x70, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x70, 0x61, 0x72, - 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x70, 0x72, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x65, - 0x6e, 0x74, 0x72, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x63, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c, 0x52, 0x65, - 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, - 0x73, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6d, - 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x50, 0x61, 0x74, 0x68, 0x32, 0x59, 0x0a, 0x06, 0x52, - 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x4f, 0x0a, 0x06, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x12, - 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, - 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x5d, 0x0a, 0x15, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x65, - 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x42, - 0x06, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, - 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x65, 0x61, 0x6d, - 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, - 0x67, 0x6f, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x72, - 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6e, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x61, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x66, 0x61, 0x73, 0x74, 0x50, 0x61, 0x74, 0x68, + 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, + 0x6c, 0x5f, 0x64, 0x72, 0x6f, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x70, 0x61, + 0x72, 0x74, 0x69, 0x61, 0x6c, 0x44, 0x72, 0x6f, 0x70, 0x22, 0xda, 0x01, 0x0a, 0x0b, 0x4f, 0x70, + 0x65, 0x6e, 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, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x12, 0x12, + 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, + 0x74, 0x68, 0x12, 0x46, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, 0x4f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2b, 0x0a, 0x0c, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, + 0x6e, 0x49, 0x64, 0x22, 0x4d, 0x0a, 0x0d, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x73, 0x12, 0x3c, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x6c, 0x74, 0x65, + 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x73, 0x22, 0x8a, 0x07, 0x0a, 0x0c, 0x41, 0x6c, 0x74, 0x65, 0x72, 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, 0x41, 0x0a, 0x0b, 0x61, 0x64, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6f, + 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x0a, 0x61, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, + 0x6d, 0x6e, 0x73, 0x12, 0x44, 0x0a, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x63, 0x6f, 0x6c, 0x75, + 0x6d, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70, + 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x44, + 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x72, + 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x6d, 0x6f, 0x64, + 0x69, 0x66, 0x79, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x43, 0x6f, 0x6c, 0x75, 0x6d, + 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x48, 0x00, 0x52, 0x11, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x79, + 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x11, 0x73, + 0x65, 0x74, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x0f, 0x73, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x50, 0x0a, 0x13, 0x75, 0x6e, 0x73, 0x65, 0x74, + 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x11, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x34, 0x0a, 0x09, 0x73, 0x65, 0x74, + 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, + 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x49, 0x6e, + 0x64, 0x65, 0x78, 0x48, 0x00, 0x52, 0x08, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, + 0x3a, 0x0a, 0x0b, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x48, 0x00, 0x52, + 0x0a, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x40, 0x0a, 0x0d, 0x64, + 0x72, 0x6f, 0x70, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x48, 0x00, 0x52, + 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x3a, 0x0a, + 0x0b, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x0d, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x48, 0x00, 0x52, 0x0a, 0x73, + 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x40, 0x0a, 0x0d, 0x75, 0x6e, 0x73, + 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, + 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x48, 0x00, 0x52, 0x0c, 0x75, + 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x73, + 0x65, 0x74, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x48, 0x00, 0x52, 0x0b, 0x73, + 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x44, 0x0a, 0x0c, 0x73, 0x79, + 0x6e, 0x63, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, + 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, + 0x73, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, + 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, + 0x53, 0x0a, 0x0b, 0x53, 0x79, 0x6e, 0x63, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x44, + 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, + 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, + 0x44, 0x65, 0x66, 0x73, 0x22, 0x4c, 0x0a, 0x0a, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, + 0x6e, 0x73, 0x12, 0x3e, 0x0a, 0x0b, 0x61, 0x64, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, + 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x64, + 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x0a, 0x61, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, + 0x6e, 0x73, 0x22, 0x50, 0x0a, 0x0b, 0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, + 0x73, 0x12, 0x41, 0x0a, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, + 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x72, 0x6f, + 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x0b, 0x64, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, + 0x75, 0x6d, 0x6e, 0x73, 0x22, 0x8b, 0x01, 0x0a, 0x09, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, + 0x6d, 0x6e, 0x12, 0x42, 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x64, 0x65, 0x66, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, + 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69, + 0x6f, 0x6e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x52, 0x09, 0x63, 0x6f, 0x6c, + 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x12, 0x3a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, + 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, + 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x22, 0x20, 0x0a, 0x0a, 0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, + 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x2b, 0x0a, 0x0c, 0x46, 0x6c, 0x75, 0x73, 0x68, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, + 0x64, 0x22, 0x09, 0x0a, 0x07, 0x52, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x22, 0x35, 0x0a, 0x0c, + 0x53, 0x74, 0x72, 0x69, 0x63, 0x74, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x12, 0x25, 0x0a, 0x0e, + 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x53, 0x65, 0x63, 0x6f, + 0x6e, 0x64, 0x73, 0x22, 0xdc, 0x01, 0x0a, 0x0e, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, + 0x6e, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x07, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x75, 0x6c, 0x61, + 0x72, 0x48, 0x00, 0x52, 0x07, 0x72, 0x65, 0x67, 0x75, 0x6c, 0x61, 0x72, 0x12, 0x47, 0x0a, 0x0d, + 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x63, 0x74, 0x57, + 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x48, 0x00, 0x52, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x57, + 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, + 0x6c, 0x69, 0x73, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x70, 0x61, 0x72, 0x61, + 0x6c, 0x6c, 0x65, 0x6c, 0x69, 0x73, 0x6d, 0x42, 0x09, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x22, 0x9f, 0x01, 0x0a, 0x0f, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 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, 0x2b, 0x0a, 0x03, 0x61, 0x6c, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, + 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x6c, 0x6c, 0x48, 0x00, 0x52, 0x03, 0x61, 0x6c, 0x6c, + 0x12, 0x3a, 0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, + 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x48, 0x00, + 0x52, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x42, 0x06, 0x0a, 0x04, + 0x6b, 0x69, 0x6e, 0x64, 0x22, 0x05, 0x0a, 0x03, 0x41, 0x6c, 0x6c, 0x22, 0x65, 0x0a, 0x0f, 0x52, + 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x12, 0x35, + 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, + 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x75, + 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, + 0x49, 0x64, 0x22, 0xc7, 0x01, 0x0a, 0x11, 0x42, 0x75, 0x6c, 0x6b, 0x49, 0x6e, 0x73, 0x65, 0x72, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, + 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x34, 0x0a, 0x09, 0x61, 0x72, 0x72, 0x6f, 0x77, 0x5f, 0x69, + 0x70, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, + 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x72, 0x72, 0x6f, 0x77, 0x49, 0x70, 0x63, 0x48, + 0x00, 0x52, 0x08, 0x61, 0x72, 0x72, 0x6f, 0x77, 0x49, 0x70, 0x63, 0x12, 0x57, 0x0a, 0x16, 0x70, + 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x76, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 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, 0x52, 0x75, 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x14, + 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x56, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x06, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x22, 0x46, 0x0a, 0x10, + 0x4d, 0x69, 0x74, 0x6f, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x32, 0x0a, 0x15, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, + 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x13, 0x64, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x84, 0x01, 0x0a, 0x12, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4d, + 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x32, 0x0a, 0x15, 0x64, + 0x61, 0x74, 0x61, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x76, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x13, 0x64, 0x61, 0x74, 0x61, + 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, + 0x3a, 0x0a, 0x19, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6d, 0x61, 0x6e, 0x69, + 0x66, 0x65, 0x73, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x17, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x6e, 0x69, + 0x66, 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xed, 0x01, 0x0a, 0x0b, + 0x53, 0x79, 0x6e, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, + 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, + 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x54, 0x0a, 0x12, 0x6d, 0x69, 0x74, 0x6f, + 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x69, 0x74, 0x6f, 0x4d, 0x61, + 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x10, 0x6d, 0x69, + 0x74, 0x6f, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x5a, + 0x0a, 0x14, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, + 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, + 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, + 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, + 0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x12, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4d, 0x61, + 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x0f, 0x0a, 0x0d, 0x6d, 0x61, + 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x34, 0x0a, 0x13, 0x4c, + 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x04, 0x52, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, + 0x73, 0x22, 0x30, 0x0a, 0x11, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, + 0x6e, 0x49, 0x64, 0x22, 0x1f, 0x0a, 0x09, 0x46, 0x69, 0x6c, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x73, + 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, + 0x64, 0x61, 0x74, 0x61, 0x22, 0xb2, 0x01, 0x0a, 0x1b, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x53, 0x74, + 0x61, 0x67, 0x69, 0x6e, 0x67, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, + 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, + 0x78, 0x70, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x70, 0x61, 0x72, 0x74, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x70, 0x72, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x65, 0x6e, 0x74, + 0x72, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x0f, 0x63, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c, 0x52, 0x65, 0x67, 0x69, + 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, + 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x61, 0x6e, + 0x69, 0x66, 0x65, 0x73, 0x74, 0x50, 0x61, 0x74, 0x68, 0x32, 0x59, 0x0a, 0x06, 0x52, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x12, 0x4f, 0x0a, 0x06, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x21, 0x2e, + 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, + 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x22, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, + 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x5d, 0x0a, 0x15, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, + 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x42, 0x06, 0x53, + 0x65, 0x72, 0x76, 0x65, 0x72, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x2f, 0x67, + 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, + 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -3063,20 +3104,21 @@ var file_greptime_v1_region_server_proto_goTypes = []interface{}{ (*v1.QueryContext)(nil), // 40: greptime.v1.QueryContext (*v1.ResponseHeader)(nil), // 41: greptime.v1.ResponseHeader (*v1.Rows)(nil), // 42: greptime.v1.Rows - (*meta.Partition)(nil), // 43: greptime.v1.meta.Partition - (*v1.ModifyColumnTypes)(nil), // 44: greptime.v1.ModifyColumnTypes - (*v1.SetTableOptions)(nil), // 45: greptime.v1.SetTableOptions - (*v1.UnsetTableOptions)(nil), // 46: greptime.v1.UnsetTableOptions - (*v1.SetIndex)(nil), // 47: greptime.v1.SetIndex - (*v1.UnsetIndex)(nil), // 48: greptime.v1.UnsetIndex - (*v1.DropDefaults)(nil), // 49: greptime.v1.DropDefaults - (*v1.SetIndexes)(nil), // 50: greptime.v1.SetIndexes - (*v1.UnsetIndexes)(nil), // 51: greptime.v1.UnsetIndexes - (*v1.SetDefaults)(nil), // 52: greptime.v1.SetDefaults - (*v1.AddColumnLocation)(nil), // 53: greptime.v1.AddColumnLocation - (*v1.TimeRanges)(nil), // 54: greptime.v1.TimeRanges - (*v1.ColumnDef)(nil), // 55: greptime.v1.ColumnDef - (*v1.ArrowIpc)(nil), // 56: greptime.v1.ArrowIpc + (*v1.PartitionRuleVersion)(nil), // 43: greptime.v1.PartitionRuleVersion + (*meta.Partition)(nil), // 44: greptime.v1.meta.Partition + (*v1.ModifyColumnTypes)(nil), // 45: greptime.v1.ModifyColumnTypes + (*v1.SetTableOptions)(nil), // 46: greptime.v1.SetTableOptions + (*v1.UnsetTableOptions)(nil), // 47: greptime.v1.UnsetTableOptions + (*v1.SetIndex)(nil), // 48: greptime.v1.SetIndex + (*v1.UnsetIndex)(nil), // 49: greptime.v1.UnsetIndex + (*v1.DropDefaults)(nil), // 50: greptime.v1.DropDefaults + (*v1.SetIndexes)(nil), // 51: greptime.v1.SetIndexes + (*v1.UnsetIndexes)(nil), // 52: greptime.v1.UnsetIndexes + (*v1.SetDefaults)(nil), // 53: greptime.v1.SetDefaults + (*v1.AddColumnLocation)(nil), // 54: greptime.v1.AddColumnLocation + (*v1.TimeRanges)(nil), // 55: greptime.v1.TimeRanges + (*v1.ColumnDef)(nil), // 56: greptime.v1.ColumnDef + (*v1.ArrowIpc)(nil), // 57: greptime.v1.ArrowIpc } var file_greptime_v1_region_server_proto_depIdxs = []int32{ 36, // 0: greptime.v1.region.RegionRequestHeader.tracing_context:type_name -> greptime.v1.region.RegionRequestHeader.TracingContextEntry @@ -3105,47 +3147,50 @@ var file_greptime_v1_region_server_proto_depIdxs = []int32{ 5, // 23: greptime.v1.region.InsertRequests.requests:type_name -> greptime.v1.region.InsertRequest 6, // 24: greptime.v1.region.DeleteRequests.requests:type_name -> greptime.v1.region.DeleteRequest 42, // 25: greptime.v1.region.InsertRequest.rows:type_name -> greptime.v1.Rows - 42, // 26: greptime.v1.region.DeleteRequest.rows:type_name -> greptime.v1.Rows - 0, // 27: greptime.v1.region.QueryRequest.header:type_name -> greptime.v1.region.RegionRequestHeader - 9, // 28: greptime.v1.region.CreateRequests.requests:type_name -> greptime.v1.region.CreateRequest - 27, // 29: greptime.v1.region.CreateRequest.column_defs:type_name -> greptime.v1.region.RegionColumnDef - 38, // 30: greptime.v1.region.CreateRequest.options:type_name -> greptime.v1.region.CreateRequest.OptionsEntry - 43, // 31: greptime.v1.region.CreateRequest.partition:type_name -> greptime.v1.meta.Partition - 11, // 32: greptime.v1.region.DropRequests.requests:type_name -> greptime.v1.region.DropRequest - 39, // 33: greptime.v1.region.OpenRequest.options:type_name -> greptime.v1.region.OpenRequest.OptionsEntry - 15, // 34: greptime.v1.region.AlterRequests.requests:type_name -> greptime.v1.region.AlterRequest - 17, // 35: greptime.v1.region.AlterRequest.add_columns:type_name -> greptime.v1.region.AddColumns - 18, // 36: greptime.v1.region.AlterRequest.drop_columns:type_name -> greptime.v1.region.DropColumns - 44, // 37: greptime.v1.region.AlterRequest.modify_column_types:type_name -> greptime.v1.ModifyColumnTypes - 45, // 38: greptime.v1.region.AlterRequest.set_table_options:type_name -> greptime.v1.SetTableOptions - 46, // 39: greptime.v1.region.AlterRequest.unset_table_options:type_name -> greptime.v1.UnsetTableOptions - 47, // 40: greptime.v1.region.AlterRequest.set_index:type_name -> greptime.v1.SetIndex - 48, // 41: greptime.v1.region.AlterRequest.unset_index:type_name -> greptime.v1.UnsetIndex - 49, // 42: greptime.v1.region.AlterRequest.drop_defaults:type_name -> greptime.v1.DropDefaults - 50, // 43: greptime.v1.region.AlterRequest.set_indexes:type_name -> greptime.v1.SetIndexes - 51, // 44: greptime.v1.region.AlterRequest.unset_indexes:type_name -> greptime.v1.UnsetIndexes - 52, // 45: greptime.v1.region.AlterRequest.set_defaults:type_name -> greptime.v1.SetDefaults - 16, // 46: greptime.v1.region.AlterRequest.sync_columns:type_name -> greptime.v1.region.SyncColumns - 27, // 47: greptime.v1.region.SyncColumns.column_defs:type_name -> greptime.v1.region.RegionColumnDef - 19, // 48: greptime.v1.region.AddColumns.add_columns:type_name -> greptime.v1.region.AddColumn - 20, // 49: greptime.v1.region.DropColumns.drop_columns:type_name -> greptime.v1.region.DropColumn - 27, // 50: greptime.v1.region.AddColumn.column_def:type_name -> greptime.v1.region.RegionColumnDef - 53, // 51: greptime.v1.region.AddColumn.location:type_name -> greptime.v1.AddColumnLocation - 22, // 52: greptime.v1.region.CompactRequest.regular:type_name -> greptime.v1.region.Regular - 23, // 53: greptime.v1.region.CompactRequest.strict_window:type_name -> greptime.v1.region.StrictWindow - 26, // 54: greptime.v1.region.TruncateRequest.all:type_name -> greptime.v1.region.All - 54, // 55: greptime.v1.region.TruncateRequest.time_ranges:type_name -> greptime.v1.TimeRanges - 55, // 56: greptime.v1.region.RegionColumnDef.column_def:type_name -> greptime.v1.ColumnDef - 56, // 57: greptime.v1.region.BulkInsertRequest.arrow_ipc:type_name -> greptime.v1.ArrowIpc - 29, // 58: greptime.v1.region.SyncRequest.mito_manifest_info:type_name -> greptime.v1.region.MitoManifestInfo - 30, // 59: greptime.v1.region.SyncRequest.metric_manifest_info:type_name -> greptime.v1.region.MetricManifestInfo - 1, // 60: greptime.v1.region.Region.Handle:input_type -> greptime.v1.region.RegionRequest - 2, // 61: greptime.v1.region.Region.Handle:output_type -> greptime.v1.region.RegionResponse - 61, // [61:62] is the sub-list for method output_type - 60, // [60:61] is the sub-list for method input_type - 60, // [60:60] is the sub-list for extension type_name - 60, // [60:60] is the sub-list for extension extendee - 0, // [0:60] is the sub-list for field type_name + 43, // 26: greptime.v1.region.InsertRequest.partition_rule_version:type_name -> greptime.v1.PartitionRuleVersion + 42, // 27: greptime.v1.region.DeleteRequest.rows:type_name -> greptime.v1.Rows + 43, // 28: greptime.v1.region.DeleteRequest.partition_rule_version:type_name -> greptime.v1.PartitionRuleVersion + 0, // 29: greptime.v1.region.QueryRequest.header:type_name -> greptime.v1.region.RegionRequestHeader + 9, // 30: greptime.v1.region.CreateRequests.requests:type_name -> greptime.v1.region.CreateRequest + 27, // 31: greptime.v1.region.CreateRequest.column_defs:type_name -> greptime.v1.region.RegionColumnDef + 38, // 32: greptime.v1.region.CreateRequest.options:type_name -> greptime.v1.region.CreateRequest.OptionsEntry + 44, // 33: greptime.v1.region.CreateRequest.partition:type_name -> greptime.v1.meta.Partition + 11, // 34: greptime.v1.region.DropRequests.requests:type_name -> greptime.v1.region.DropRequest + 39, // 35: greptime.v1.region.OpenRequest.options:type_name -> greptime.v1.region.OpenRequest.OptionsEntry + 15, // 36: greptime.v1.region.AlterRequests.requests:type_name -> greptime.v1.region.AlterRequest + 17, // 37: greptime.v1.region.AlterRequest.add_columns:type_name -> greptime.v1.region.AddColumns + 18, // 38: greptime.v1.region.AlterRequest.drop_columns:type_name -> greptime.v1.region.DropColumns + 45, // 39: greptime.v1.region.AlterRequest.modify_column_types:type_name -> greptime.v1.ModifyColumnTypes + 46, // 40: greptime.v1.region.AlterRequest.set_table_options:type_name -> greptime.v1.SetTableOptions + 47, // 41: greptime.v1.region.AlterRequest.unset_table_options:type_name -> greptime.v1.UnsetTableOptions + 48, // 42: greptime.v1.region.AlterRequest.set_index:type_name -> greptime.v1.SetIndex + 49, // 43: greptime.v1.region.AlterRequest.unset_index:type_name -> greptime.v1.UnsetIndex + 50, // 44: greptime.v1.region.AlterRequest.drop_defaults:type_name -> greptime.v1.DropDefaults + 51, // 45: greptime.v1.region.AlterRequest.set_indexes:type_name -> greptime.v1.SetIndexes + 52, // 46: greptime.v1.region.AlterRequest.unset_indexes:type_name -> greptime.v1.UnsetIndexes + 53, // 47: greptime.v1.region.AlterRequest.set_defaults:type_name -> greptime.v1.SetDefaults + 16, // 48: greptime.v1.region.AlterRequest.sync_columns:type_name -> greptime.v1.region.SyncColumns + 27, // 49: greptime.v1.region.SyncColumns.column_defs:type_name -> greptime.v1.region.RegionColumnDef + 19, // 50: greptime.v1.region.AddColumns.add_columns:type_name -> greptime.v1.region.AddColumn + 20, // 51: greptime.v1.region.DropColumns.drop_columns:type_name -> greptime.v1.region.DropColumn + 27, // 52: greptime.v1.region.AddColumn.column_def:type_name -> greptime.v1.region.RegionColumnDef + 54, // 53: greptime.v1.region.AddColumn.location:type_name -> greptime.v1.AddColumnLocation + 22, // 54: greptime.v1.region.CompactRequest.regular:type_name -> greptime.v1.region.Regular + 23, // 55: greptime.v1.region.CompactRequest.strict_window:type_name -> greptime.v1.region.StrictWindow + 26, // 56: greptime.v1.region.TruncateRequest.all:type_name -> greptime.v1.region.All + 55, // 57: greptime.v1.region.TruncateRequest.time_ranges:type_name -> greptime.v1.TimeRanges + 56, // 58: greptime.v1.region.RegionColumnDef.column_def:type_name -> greptime.v1.ColumnDef + 57, // 59: greptime.v1.region.BulkInsertRequest.arrow_ipc:type_name -> greptime.v1.ArrowIpc + 43, // 60: greptime.v1.region.BulkInsertRequest.partition_rule_version:type_name -> greptime.v1.PartitionRuleVersion + 29, // 61: greptime.v1.region.SyncRequest.mito_manifest_info:type_name -> greptime.v1.region.MitoManifestInfo + 30, // 62: greptime.v1.region.SyncRequest.metric_manifest_info:type_name -> greptime.v1.region.MetricManifestInfo + 1, // 63: greptime.v1.region.Region.Handle:input_type -> greptime.v1.region.RegionRequest + 2, // 64: greptime.v1.region.Region.Handle:output_type -> greptime.v1.region.RegionResponse + 64, // [64:65] is the sub-list for method output_type + 63, // [63:64] is the sub-list for method input_type + 63, // [63:63] is the sub-list for extension type_name + 63, // [63:63] is the sub-list for extension extendee + 0, // [0:63] is the sub-list for field type_name } func init() { file_greptime_v1_region_server_proto_init() } diff --git a/java/src/main/java/io/greptime/v1/Common.java b/java/src/main/java/io/greptime/v1/Common.java index 078650b..bbefee8 100644 --- a/java/src/main/java/io/greptime/v1/Common.java +++ b/java/src/main/java/io/greptime/v1/Common.java @@ -24936,6 +24936,497 @@ java.lang.String defaultValue); } + public interface PartitionRuleVersionOrBuilder extends + // @@protoc_insertion_point(interface_extends:greptime.v1.PartitionRuleVersion) + com.google.protobuf.MessageOrBuilder { + + /** + * uint64 value = 1; + * @return The value. + */ + long getValue(); + } + /** + * Protobuf type {@code greptime.v1.PartitionRuleVersion} + */ + public static final class PartitionRuleVersion extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:greptime.v1.PartitionRuleVersion) + PartitionRuleVersionOrBuilder { + private static final long serialVersionUID = 0L; + // Use PartitionRuleVersion.newBuilder() to construct. + private PartitionRuleVersion(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private PartitionRuleVersion() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new PartitionRuleVersion(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private PartitionRuleVersion( + 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: { + + value_ = 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.Common.internal_static_greptime_v1_PartitionRuleVersion_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.greptime.v1.Common.internal_static_greptime_v1_PartitionRuleVersion_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.greptime.v1.Common.PartitionRuleVersion.class, io.greptime.v1.Common.PartitionRuleVersion.Builder.class); + } + + public static final int VALUE_FIELD_NUMBER = 1; + private long value_; + /** + * uint64 value = 1; + * @return The value. + */ + @java.lang.Override + public long getValue() { + return value_; + } + + 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 (value_ != 0L) { + output.writeUInt64(1, value_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (value_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(1, value_); + } + 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.Common.PartitionRuleVersion)) { + return super.equals(obj); + } + io.greptime.v1.Common.PartitionRuleVersion other = (io.greptime.v1.Common.PartitionRuleVersion) obj; + + if (getValue() + != other.getValue()) 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) + VALUE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getValue()); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static io.greptime.v1.Common.PartitionRuleVersion parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.greptime.v1.Common.PartitionRuleVersion 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.Common.PartitionRuleVersion parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.greptime.v1.Common.PartitionRuleVersion 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.Common.PartitionRuleVersion parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static io.greptime.v1.Common.PartitionRuleVersion parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static io.greptime.v1.Common.PartitionRuleVersion parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.greptime.v1.Common.PartitionRuleVersion 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.Common.PartitionRuleVersion parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static io.greptime.v1.Common.PartitionRuleVersion 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.Common.PartitionRuleVersion parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static io.greptime.v1.Common.PartitionRuleVersion 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.Common.PartitionRuleVersion 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.PartitionRuleVersion} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:greptime.v1.PartitionRuleVersion) + io.greptime.v1.Common.PartitionRuleVersionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return io.greptime.v1.Common.internal_static_greptime_v1_PartitionRuleVersion_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return io.greptime.v1.Common.internal_static_greptime_v1_PartitionRuleVersion_fieldAccessorTable + .ensureFieldAccessorsInitialized( + io.greptime.v1.Common.PartitionRuleVersion.class, io.greptime.v1.Common.PartitionRuleVersion.Builder.class); + } + + // Construct using io.greptime.v1.Common.PartitionRuleVersion.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(); + value_ = 0L; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return io.greptime.v1.Common.internal_static_greptime_v1_PartitionRuleVersion_descriptor; + } + + @java.lang.Override + public io.greptime.v1.Common.PartitionRuleVersion getDefaultInstanceForType() { + return io.greptime.v1.Common.PartitionRuleVersion.getDefaultInstance(); + } + + @java.lang.Override + public io.greptime.v1.Common.PartitionRuleVersion build() { + io.greptime.v1.Common.PartitionRuleVersion result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public io.greptime.v1.Common.PartitionRuleVersion buildPartial() { + io.greptime.v1.Common.PartitionRuleVersion result = new io.greptime.v1.Common.PartitionRuleVersion(this); + result.value_ = value_; + 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.Common.PartitionRuleVersion) { + return mergeFrom((io.greptime.v1.Common.PartitionRuleVersion)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(io.greptime.v1.Common.PartitionRuleVersion other) { + if (other == io.greptime.v1.Common.PartitionRuleVersion.getDefaultInstance()) return this; + if (other.getValue() != 0L) { + setValue(other.getValue()); + } + 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.Common.PartitionRuleVersion parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (io.greptime.v1.Common.PartitionRuleVersion) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private long value_ ; + /** + * uint64 value = 1; + * @return The value. + */ + @java.lang.Override + public long getValue() { + return value_; + } + /** + * uint64 value = 1; + * @param value The value to set. + * @return This builder for chaining. + */ + public Builder setValue(long value) { + + value_ = value; + onChanged(); + return this; + } + /** + * uint64 value = 1; + * @return This builder for chaining. + */ + public Builder clearValue() { + + value_ = 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.PartitionRuleVersion) + } + + // @@protoc_insertion_point(class_scope:greptime.v1.PartitionRuleVersion) + private static final io.greptime.v1.Common.PartitionRuleVersion DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new io.greptime.v1.Common.PartitionRuleVersion(); + } + + public static io.greptime.v1.Common.PartitionRuleVersion getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartitionRuleVersion parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PartitionRuleVersion(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public io.greptime.v1.Common.PartitionRuleVersion getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + private static final com.google.protobuf.Descriptors.Descriptor internal_static_greptime_v1_QueryContext_descriptor; private static final @@ -25106,6 +25597,11 @@ java.lang.String defaultValue); private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_greptime_v1_ArrowIpc_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_greptime_v1_PartitionRuleVersion_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_greptime_v1_PartitionRuleVersion_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -25196,27 +25692,28 @@ java.lang.String defaultValue); ".ColumnOptions.OptionsEntry\032.\n\014OptionsEn" + "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"@\n\010A" + "rrowIpc\022\016\n\006schema\030\001 \001(\014\022\023\n\013data_header\030\002" + - " \001(\014\022\017\n\007payload\030\003 \001(\014*1\n\014SemanticType\022\007\n" + - "\003TAG\020\000\022\t\n\005FIELD\020\001\022\r\n\tTIMESTAMP\020\002*\222\004\n\016Col" + - "umnDataType\022\013\n\007BOOLEAN\020\000\022\010\n\004INT8\020\001\022\t\n\005IN" + - "T16\020\002\022\t\n\005INT32\020\003\022\t\n\005INT64\020\004\022\t\n\005UINT8\020\005\022\n" + - "\n\006UINT16\020\006\022\n\n\006UINT32\020\007\022\n\n\006UINT64\020\010\022\013\n\007FL" + - "OAT32\020\t\022\013\n\007FLOAT64\020\n\022\n\n\006BINARY\020\013\022\n\n\006STRI" + - "NG\020\014\022\010\n\004DATE\020\r\022\014\n\010DATETIME\020\016\022\024\n\020TIMESTAM" + - "P_SECOND\020\017\022\031\n\025TIMESTAMP_MILLISECOND\020\020\022\031\n" + - "\025TIMESTAMP_MICROSECOND\020\021\022\030\n\024TIMESTAMP_NA" + - "NOSECOND\020\022\022\017\n\013TIME_SECOND\020\023\022\024\n\020TIME_MILL" + - "ISECOND\020\024\022\024\n\020TIME_MICROSECOND\020\025\022\023\n\017TIME_" + - "NANOSECOND\020\026\022\027\n\023INTERVAL_YEAR_MONTH\020\027\022\025\n" + - "\021INTERVAL_DAY_TIME\020\030\022\033\n\027INTERVAL_MONTH_D" + - "AY_NANO\020\031\022\016\n\nDECIMAL128\020\036\022\010\n\004JSON\020\037\022\n\n\006V" + - "ECTOR\020 \022\010\n\004LIST\020(\022\n\n\006STRUCT\020)\022\016\n\nDICTION" + - "ARY\020**H\n\010TimeUnit\022\017\n\013MILLISECOND\020\000\022\n\n\006SE" + - "COND\020\001\022\017\n\013MICROSECOND\020\002\022\016\n\nNANOSECOND\020\003*" + - "$\n\021JsonTypeExtension\022\017\n\013JSON_BINARY\020\000BO\n" + - "\016io.greptime.v1B\006CommonZ5github.com/Grep" + - "timeTeam/greptime-proto/go/greptime/v1b\006" + - "proto3" + " \001(\014\022\017\n\007payload\030\003 \001(\014\"%\n\024PartitionRuleVe" + + "rsion\022\r\n\005value\030\001 \001(\004*1\n\014SemanticType\022\007\n\003" + + "TAG\020\000\022\t\n\005FIELD\020\001\022\r\n\tTIMESTAMP\020\002*\222\004\n\016Colu" + + "mnDataType\022\013\n\007BOOLEAN\020\000\022\010\n\004INT8\020\001\022\t\n\005INT" + + "16\020\002\022\t\n\005INT32\020\003\022\t\n\005INT64\020\004\022\t\n\005UINT8\020\005\022\n\n" + + "\006UINT16\020\006\022\n\n\006UINT32\020\007\022\n\n\006UINT64\020\010\022\013\n\007FLO" + + "AT32\020\t\022\013\n\007FLOAT64\020\n\022\n\n\006BINARY\020\013\022\n\n\006STRIN" + + "G\020\014\022\010\n\004DATE\020\r\022\014\n\010DATETIME\020\016\022\024\n\020TIMESTAMP" + + "_SECOND\020\017\022\031\n\025TIMESTAMP_MILLISECOND\020\020\022\031\n\025" + + "TIMESTAMP_MICROSECOND\020\021\022\030\n\024TIMESTAMP_NAN" + + "OSECOND\020\022\022\017\n\013TIME_SECOND\020\023\022\024\n\020TIME_MILLI" + + "SECOND\020\024\022\024\n\020TIME_MICROSECOND\020\025\022\023\n\017TIME_N" + + "ANOSECOND\020\026\022\027\n\023INTERVAL_YEAR_MONTH\020\027\022\025\n\021" + + "INTERVAL_DAY_TIME\020\030\022\033\n\027INTERVAL_MONTH_DA" + + "Y_NANO\020\031\022\016\n\nDECIMAL128\020\036\022\010\n\004JSON\020\037\022\n\n\006VE" + + "CTOR\020 \022\010\n\004LIST\020(\022\n\n\006STRUCT\020)\022\016\n\nDICTIONA" + + "RY\020**H\n\010TimeUnit\022\017\n\013MILLISECOND\020\000\022\n\n\006SEC" + + "OND\020\001\022\017\n\013MICROSECOND\020\002\022\016\n\nNANOSECOND\020\003*$" + + "\n\021JsonTypeExtension\022\017\n\013JSON_BINARY\020\000BO\n\016" + + "io.greptime.v1B\006CommonZ5github.com/Grept" + + "imeTeam/greptime-proto/go/greptime/v1b\006p" + + "roto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -25426,6 +25923,12 @@ java.lang.String defaultValue); com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_ArrowIpc_descriptor, new java.lang.String[] { "Schema", "DataHeader", "Payload", }); + internal_static_greptime_v1_PartitionRuleVersion_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_greptime_v1_PartitionRuleVersion_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_greptime_v1_PartitionRuleVersion_descriptor, + new java.lang.String[] { "Value", }); } // @@protoc_insertion_point(outer_class_scope) diff --git a/java/src/main/java/io/greptime/v1/flow/Server.java b/java/src/main/java/io/greptime/v1/flow/Server.java index b3b8e66..3f41496 100644 --- a/java/src/main/java/io/greptime/v1/flow/Server.java +++ b/java/src/main/java/io/greptime/v1/flow/Server.java @@ -3608,6 +3608,21 @@ java.lang.String defaultValue); * .greptime.v1.Rows rows = 2; */ io.greptime.v1.RowData.RowsOrBuilder getRowsOrBuilder(); + + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * @return Whether the partitionRuleVersion field is set. + */ + boolean hasPartitionRuleVersion(); + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * @return The partitionRuleVersion. + */ + io.greptime.v1.Common.PartitionRuleVersion getPartitionRuleVersion(); + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + */ + io.greptime.v1.Common.PartitionRuleVersionOrBuilder getPartitionRuleVersionOrBuilder(); } /** * Protobuf type {@code greptime.v1.flow.InsertRequest} @@ -3672,6 +3687,19 @@ java.lang.String defaultValue); break; } + case 26: { + io.greptime.v1.Common.PartitionRuleVersion.Builder subBuilder = null; + if (partitionRuleVersion_ != null) { + subBuilder = partitionRuleVersion_.toBuilder(); + } + partitionRuleVersion_ = input.readMessage(io.greptime.v1.Common.PartitionRuleVersion.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(partitionRuleVersion_); + partitionRuleVersion_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -3743,6 +3771,32 @@ java.lang.String defaultValue); return getRows(); } + public static final int PARTITION_RULE_VERSION_FIELD_NUMBER = 3; + private io.greptime.v1.Common.PartitionRuleVersion partitionRuleVersion_; + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * @return Whether the partitionRuleVersion field is set. + */ + @java.lang.Override + public boolean hasPartitionRuleVersion() { + return partitionRuleVersion_ != null; + } + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * @return The partitionRuleVersion. + */ + @java.lang.Override + public io.greptime.v1.Common.PartitionRuleVersion getPartitionRuleVersion() { + return partitionRuleVersion_ == null ? io.greptime.v1.Common.PartitionRuleVersion.getDefaultInstance() : partitionRuleVersion_; + } + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + */ + @java.lang.Override + public io.greptime.v1.Common.PartitionRuleVersionOrBuilder getPartitionRuleVersionOrBuilder() { + return getPartitionRuleVersion(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -3763,6 +3817,9 @@ java.lang.String defaultValue); if (rows_ != null) { output.writeMessage(2, getRows()); } + if (partitionRuleVersion_ != null) { + output.writeMessage(3, getPartitionRuleVersion()); + } unknownFields.writeTo(output); } @@ -3780,6 +3837,10 @@ java.lang.String defaultValue); size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getRows()); } + if (partitionRuleVersion_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getPartitionRuleVersion()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -3802,6 +3863,11 @@ java.lang.String defaultValue); if (!getRows() .equals(other.getRows())) return false; } + if (hasPartitionRuleVersion() != other.hasPartitionRuleVersion()) return false; + if (hasPartitionRuleVersion()) { + if (!getPartitionRuleVersion() + .equals(other.getPartitionRuleVersion())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3820,6 +3886,10 @@ java.lang.String defaultValue); hash = (37 * hash) + ROWS_FIELD_NUMBER; hash = (53 * hash) + getRows().hashCode(); } + if (hasPartitionRuleVersion()) { + hash = (37 * hash) + PARTITION_RULE_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getPartitionRuleVersion().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -3961,6 +4031,12 @@ java.lang.String defaultValue); rows_ = null; rowsBuilder_ = null; } + if (partitionRuleVersionBuilder_ == null) { + partitionRuleVersion_ = null; + } else { + partitionRuleVersion_ = null; + partitionRuleVersionBuilder_ = null; + } return this; } @@ -3993,6 +4069,11 @@ java.lang.String defaultValue); } else { result.rows_ = rowsBuilder_.build(); } + if (partitionRuleVersionBuilder_ == null) { + result.partitionRuleVersion_ = partitionRuleVersion_; + } else { + result.partitionRuleVersion_ = partitionRuleVersionBuilder_.build(); + } onBuilt(); return result; } @@ -4047,6 +4128,9 @@ java.lang.String defaultValue); if (other.hasRows()) { mergeRows(other.getRows()); } + if (other.hasPartitionRuleVersion()) { + mergePartitionRuleVersion(other.getPartitionRuleVersion()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -4225,6 +4309,125 @@ java.lang.String defaultValue); } return rowsBuilder_; } + + private io.greptime.v1.Common.PartitionRuleVersion partitionRuleVersion_; + private com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Common.PartitionRuleVersion, io.greptime.v1.Common.PartitionRuleVersion.Builder, io.greptime.v1.Common.PartitionRuleVersionOrBuilder> partitionRuleVersionBuilder_; + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * @return Whether the partitionRuleVersion field is set. + */ + public boolean hasPartitionRuleVersion() { + return partitionRuleVersionBuilder_ != null || partitionRuleVersion_ != null; + } + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * @return The partitionRuleVersion. + */ + public io.greptime.v1.Common.PartitionRuleVersion getPartitionRuleVersion() { + if (partitionRuleVersionBuilder_ == null) { + return partitionRuleVersion_ == null ? io.greptime.v1.Common.PartitionRuleVersion.getDefaultInstance() : partitionRuleVersion_; + } else { + return partitionRuleVersionBuilder_.getMessage(); + } + } + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + */ + public Builder setPartitionRuleVersion(io.greptime.v1.Common.PartitionRuleVersion value) { + if (partitionRuleVersionBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + partitionRuleVersion_ = value; + onChanged(); + } else { + partitionRuleVersionBuilder_.setMessage(value); + } + + return this; + } + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + */ + public Builder setPartitionRuleVersion( + io.greptime.v1.Common.PartitionRuleVersion.Builder builderForValue) { + if (partitionRuleVersionBuilder_ == null) { + partitionRuleVersion_ = builderForValue.build(); + onChanged(); + } else { + partitionRuleVersionBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + */ + public Builder mergePartitionRuleVersion(io.greptime.v1.Common.PartitionRuleVersion value) { + if (partitionRuleVersionBuilder_ == null) { + if (partitionRuleVersion_ != null) { + partitionRuleVersion_ = + io.greptime.v1.Common.PartitionRuleVersion.newBuilder(partitionRuleVersion_).mergeFrom(value).buildPartial(); + } else { + partitionRuleVersion_ = value; + } + onChanged(); + } else { + partitionRuleVersionBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + */ + public Builder clearPartitionRuleVersion() { + if (partitionRuleVersionBuilder_ == null) { + partitionRuleVersion_ = null; + onChanged(); + } else { + partitionRuleVersion_ = null; + partitionRuleVersionBuilder_ = null; + } + + return this; + } + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + */ + public io.greptime.v1.Common.PartitionRuleVersion.Builder getPartitionRuleVersionBuilder() { + + onChanged(); + return getPartitionRuleVersionFieldBuilder().getBuilder(); + } + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + */ + public io.greptime.v1.Common.PartitionRuleVersionOrBuilder getPartitionRuleVersionOrBuilder() { + if (partitionRuleVersionBuilder_ != null) { + return partitionRuleVersionBuilder_.getMessageOrBuilder(); + } else { + return partitionRuleVersion_ == null ? + io.greptime.v1.Common.PartitionRuleVersion.getDefaultInstance() : partitionRuleVersion_; + } + } + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Common.PartitionRuleVersion, io.greptime.v1.Common.PartitionRuleVersion.Builder, io.greptime.v1.Common.PartitionRuleVersionOrBuilder> + getPartitionRuleVersionFieldBuilder() { + if (partitionRuleVersionBuilder_ == null) { + partitionRuleVersionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Common.PartitionRuleVersion, io.greptime.v1.Common.PartitionRuleVersion.Builder, io.greptime.v1.Common.PartitionRuleVersionOrBuilder>( + getPartitionRuleVersion(), + getParentForChildren(), + isClean()); + partitionRuleVersion_ = null; + } + return partitionRuleVersionBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -10961,44 +11164,46 @@ java.lang.String defaultValue); "1.QueryContext\0325\n\023TracingContextEntry\022\013\n" + "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"C\n\016InsertR" + "equests\0221\n\010requests\030\001 \003(\0132\037.greptime.v1." + - "flow.InsertRequest\"C\n\rInsertRequest\022\021\n\tr" + - "egion_id\030\001 \001(\004\022\037\n\004rows\030\002 \001(\0132\021.greptime." + - "v1.Rows\"\332\001\n\013FlowRequest\0223\n\006header\030@ \001(\0132" + - "#.greptime.v1.flow.FlowRequestHeader\0221\n\006" + - "create\030\001 \001(\0132\037.greptime.v1.flow.CreateRe" + - "questH\000\022-\n\004drop\030\002 \001(\0132\035.greptime.v1.flow" + - ".DropRequestH\000\022,\n\005flush\030\003 \001(\0132\033.greptime" + - ".v1.flow.FlushFlowH\000B\006\n\004body\"\366\001\n\014FlowRes" + - "ponse\022+\n\006header\030\001 \001(\0132\033.greptime.v1.Resp" + - "onseHeader\022\025\n\raffected_rows\030\002 \001(\004\022+\n\016aff" + - "ected_flows\030\003 \003(\0132\023.greptime.v1.FlowId\022B" + - "\n\nextensions\030\004 \003(\0132..greptime.v1.flow.Fl" + - "owResponse.ExtensionsEntry\0321\n\017Extensions" + - "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\014:\0028\001\"\304\003" + - "\n\rCreateRequest\022$\n\007flow_id\030\001 \001(\0132\023.grept" + - "ime.v1.FlowId\022.\n\020source_table_ids\030\002 \003(\0132" + - "\024.greptime.v1.TableId\022/\n\017sink_table_name" + - "\030\003 \001(\0132\026.greptime.v1.TableName\022\034\n\024create" + - "_if_not_exists\030\004 \001(\010\022.\n\014expire_after\030\005 \001" + - "(\0132\030.greptime.v1.ExpireAfter\0220\n\reval_int" + - "erval\030\n \001(\0132\031.greptime.v1.EvalInterval\022\017" + - "\n\007comment\030\006 \001(\t\022\013\n\003sql\030\007 \001(\t\022F\n\014flow_opt" + - "ions\030\010 \003(\01320.greptime.v1.flow.CreateRequ" + - "est.FlowOptionsEntry\022\022\n\nor_replace\030\t \001(\010" + - "\0322\n\020FlowOptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val" + - "ue\030\002 \001(\t:\0028\001\"3\n\013DropRequest\022$\n\007flow_id\030\001" + - " \001(\0132\023.greptime.v1.FlowId\"1\n\tFlushFlow\022$" + - "\n\007flow_id\030\001 \001(\0132\023.greptime.v1.FlowId2\230\002\n" + - "\004Flow\022S\n\022HandleCreateRemove\022\035.greptime.v" + - "1.flow.FlowRequest\032\036.greptime.v1.flow.Fl" + - "owResponse\022W\n\023HandleMirrorRequest\022 .grep" + - "time.v1.flow.InsertRequests\032\036.greptime.v" + - "1.flow.FlowResponse\022b\n\031HandleMarkDirtyTi" + - "meWindow\022%.greptime.v1.flow.DirtyWindowR" + - "equests\032\036.greptime.v1.flow.FlowResponseB" + - "Y\n\023io.greptime.v1.flowB\006ServerZ:github.c" + - "om/GreptimeTeam/greptime-proto/go/grepti" + - "me/v1/flowb\006proto3" + "flow.InsertRequest\"\206\001\n\rInsertRequest\022\021\n\t" + + "region_id\030\001 \001(\004\022\037\n\004rows\030\002 \001(\0132\021.greptime" + + ".v1.Rows\022A\n\026partition_rule_version\030\003 \001(\013" + + "2!.greptime.v1.PartitionRuleVersion\"\332\001\n\013" + + "FlowRequest\0223\n\006header\030@ \001(\0132#.greptime.v" + + "1.flow.FlowRequestHeader\0221\n\006create\030\001 \001(\013" + + "2\037.greptime.v1.flow.CreateRequestH\000\022-\n\004d" + + "rop\030\002 \001(\0132\035.greptime.v1.flow.DropRequest" + + "H\000\022,\n\005flush\030\003 \001(\0132\033.greptime.v1.flow.Flu" + + "shFlowH\000B\006\n\004body\"\366\001\n\014FlowResponse\022+\n\006hea" + + "der\030\001 \001(\0132\033.greptime.v1.ResponseHeader\022\025" + + "\n\raffected_rows\030\002 \001(\004\022+\n\016affected_flows\030" + + "\003 \003(\0132\023.greptime.v1.FlowId\022B\n\nextensions" + + "\030\004 \003(\0132..greptime.v1.flow.FlowResponse.E" + + "xtensionsEntry\0321\n\017ExtensionsEntry\022\013\n\003key" + + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\014:\0028\001\"\304\003\n\rCreateRequ" + + "est\022$\n\007flow_id\030\001 \001(\0132\023.greptime.v1.FlowI" + + "d\022.\n\020source_table_ids\030\002 \003(\0132\024.greptime.v" + + "1.TableId\022/\n\017sink_table_name\030\003 \001(\0132\026.gre" + + "ptime.v1.TableName\022\034\n\024create_if_not_exis" + + "ts\030\004 \001(\010\022.\n\014expire_after\030\005 \001(\0132\030.greptim" + + "e.v1.ExpireAfter\0220\n\reval_interval\030\n \001(\0132" + + "\031.greptime.v1.EvalInterval\022\017\n\007comment\030\006 " + + "\001(\t\022\013\n\003sql\030\007 \001(\t\022F\n\014flow_options\030\010 \003(\01320" + + ".greptime.v1.flow.CreateRequest.FlowOpti" + + "onsEntry\022\022\n\nor_replace\030\t \001(\010\0322\n\020FlowOpti" + + "onsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" + + "\"3\n\013DropRequest\022$\n\007flow_id\030\001 \001(\0132\023.grept" + + "ime.v1.FlowId\"1\n\tFlushFlow\022$\n\007flow_id\030\001 " + + "\001(\0132\023.greptime.v1.FlowId2\230\002\n\004Flow\022S\n\022Han" + + "dleCreateRemove\022\035.greptime.v1.flow.FlowR" + + "equest\032\036.greptime.v1.flow.FlowResponse\022W" + + "\n\023HandleMirrorRequest\022 .greptime.v1.flow" + + ".InsertRequests\032\036.greptime.v1.flow.FlowR" + + "esponse\022b\n\031HandleMarkDirtyTimeWindow\022%.g" + + "reptime.v1.flow.DirtyWindowRequests\032\036.gr" + + "eptime.v1.flow.FlowResponseBY\n\023io.grepti" + + "me.v1.flowB\006ServerZ:github.com/GreptimeT" + + "eam/greptime-proto/go/greptime/v1/flowb\006" + + "proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -11042,7 +11247,7 @@ java.lang.String defaultValue); internal_static_greptime_v1_flow_InsertRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_greptime_v1_flow_InsertRequest_descriptor, - new java.lang.String[] { "RegionId", "Rows", }); + new java.lang.String[] { "RegionId", "Rows", "PartitionRuleVersion", }); internal_static_greptime_v1_flow_FlowRequest_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_greptime_v1_flow_FlowRequest_fieldAccessorTable = new diff --git a/java/src/main/java/io/greptime/v1/region/Server.java b/java/src/main/java/io/greptime/v1/region/Server.java index 3e1ceb8..b8e9912 100644 --- a/java/src/main/java/io/greptime/v1/region/Server.java +++ b/java/src/main/java/io/greptime/v1/region/Server.java @@ -8864,6 +8864,21 @@ com.google.protobuf.ByteString defaultValue); * .greptime.v1.Rows rows = 2; */ io.greptime.v1.RowData.RowsOrBuilder getRowsOrBuilder(); + + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * @return Whether the partitionRuleVersion field is set. + */ + boolean hasPartitionRuleVersion(); + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * @return The partitionRuleVersion. + */ + io.greptime.v1.Common.PartitionRuleVersion getPartitionRuleVersion(); + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + */ + io.greptime.v1.Common.PartitionRuleVersionOrBuilder getPartitionRuleVersionOrBuilder(); } /** * Protobuf type {@code greptime.v1.region.InsertRequest} @@ -8928,6 +8943,19 @@ com.google.protobuf.ByteString defaultValue); break; } + case 26: { + io.greptime.v1.Common.PartitionRuleVersion.Builder subBuilder = null; + if (partitionRuleVersion_ != null) { + subBuilder = partitionRuleVersion_.toBuilder(); + } + partitionRuleVersion_ = input.readMessage(io.greptime.v1.Common.PartitionRuleVersion.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(partitionRuleVersion_); + partitionRuleVersion_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -8999,6 +9027,32 @@ com.google.protobuf.ByteString defaultValue); return getRows(); } + public static final int PARTITION_RULE_VERSION_FIELD_NUMBER = 3; + private io.greptime.v1.Common.PartitionRuleVersion partitionRuleVersion_; + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * @return Whether the partitionRuleVersion field is set. + */ + @java.lang.Override + public boolean hasPartitionRuleVersion() { + return partitionRuleVersion_ != null; + } + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * @return The partitionRuleVersion. + */ + @java.lang.Override + public io.greptime.v1.Common.PartitionRuleVersion getPartitionRuleVersion() { + return partitionRuleVersion_ == null ? io.greptime.v1.Common.PartitionRuleVersion.getDefaultInstance() : partitionRuleVersion_; + } + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + */ + @java.lang.Override + public io.greptime.v1.Common.PartitionRuleVersionOrBuilder getPartitionRuleVersionOrBuilder() { + return getPartitionRuleVersion(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -9019,6 +9073,9 @@ com.google.protobuf.ByteString defaultValue); if (rows_ != null) { output.writeMessage(2, getRows()); } + if (partitionRuleVersion_ != null) { + output.writeMessage(3, getPartitionRuleVersion()); + } unknownFields.writeTo(output); } @@ -9036,6 +9093,10 @@ com.google.protobuf.ByteString defaultValue); size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getRows()); } + if (partitionRuleVersion_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getPartitionRuleVersion()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -9058,6 +9119,11 @@ com.google.protobuf.ByteString defaultValue); if (!getRows() .equals(other.getRows())) return false; } + if (hasPartitionRuleVersion() != other.hasPartitionRuleVersion()) return false; + if (hasPartitionRuleVersion()) { + if (!getPartitionRuleVersion() + .equals(other.getPartitionRuleVersion())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -9076,6 +9142,10 @@ com.google.protobuf.ByteString defaultValue); hash = (37 * hash) + ROWS_FIELD_NUMBER; hash = (53 * hash) + getRows().hashCode(); } + if (hasPartitionRuleVersion()) { + hash = (37 * hash) + PARTITION_RULE_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getPartitionRuleVersion().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -9217,6 +9287,12 @@ com.google.protobuf.ByteString defaultValue); rows_ = null; rowsBuilder_ = null; } + if (partitionRuleVersionBuilder_ == null) { + partitionRuleVersion_ = null; + } else { + partitionRuleVersion_ = null; + partitionRuleVersionBuilder_ = null; + } return this; } @@ -9249,6 +9325,11 @@ com.google.protobuf.ByteString defaultValue); } else { result.rows_ = rowsBuilder_.build(); } + if (partitionRuleVersionBuilder_ == null) { + result.partitionRuleVersion_ = partitionRuleVersion_; + } else { + result.partitionRuleVersion_ = partitionRuleVersionBuilder_.build(); + } onBuilt(); return result; } @@ -9303,6 +9384,9 @@ com.google.protobuf.ByteString defaultValue); if (other.hasRows()) { mergeRows(other.getRows()); } + if (other.hasPartitionRuleVersion()) { + mergePartitionRuleVersion(other.getPartitionRuleVersion()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -9481,6 +9565,125 @@ com.google.protobuf.ByteString defaultValue); } return rowsBuilder_; } + + private io.greptime.v1.Common.PartitionRuleVersion partitionRuleVersion_; + private com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Common.PartitionRuleVersion, io.greptime.v1.Common.PartitionRuleVersion.Builder, io.greptime.v1.Common.PartitionRuleVersionOrBuilder> partitionRuleVersionBuilder_; + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * @return Whether the partitionRuleVersion field is set. + */ + public boolean hasPartitionRuleVersion() { + return partitionRuleVersionBuilder_ != null || partitionRuleVersion_ != null; + } + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * @return The partitionRuleVersion. + */ + public io.greptime.v1.Common.PartitionRuleVersion getPartitionRuleVersion() { + if (partitionRuleVersionBuilder_ == null) { + return partitionRuleVersion_ == null ? io.greptime.v1.Common.PartitionRuleVersion.getDefaultInstance() : partitionRuleVersion_; + } else { + return partitionRuleVersionBuilder_.getMessage(); + } + } + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + */ + public Builder setPartitionRuleVersion(io.greptime.v1.Common.PartitionRuleVersion value) { + if (partitionRuleVersionBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + partitionRuleVersion_ = value; + onChanged(); + } else { + partitionRuleVersionBuilder_.setMessage(value); + } + + return this; + } + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + */ + public Builder setPartitionRuleVersion( + io.greptime.v1.Common.PartitionRuleVersion.Builder builderForValue) { + if (partitionRuleVersionBuilder_ == null) { + partitionRuleVersion_ = builderForValue.build(); + onChanged(); + } else { + partitionRuleVersionBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + */ + public Builder mergePartitionRuleVersion(io.greptime.v1.Common.PartitionRuleVersion value) { + if (partitionRuleVersionBuilder_ == null) { + if (partitionRuleVersion_ != null) { + partitionRuleVersion_ = + io.greptime.v1.Common.PartitionRuleVersion.newBuilder(partitionRuleVersion_).mergeFrom(value).buildPartial(); + } else { + partitionRuleVersion_ = value; + } + onChanged(); + } else { + partitionRuleVersionBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + */ + public Builder clearPartitionRuleVersion() { + if (partitionRuleVersionBuilder_ == null) { + partitionRuleVersion_ = null; + onChanged(); + } else { + partitionRuleVersion_ = null; + partitionRuleVersionBuilder_ = null; + } + + return this; + } + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + */ + public io.greptime.v1.Common.PartitionRuleVersion.Builder getPartitionRuleVersionBuilder() { + + onChanged(); + return getPartitionRuleVersionFieldBuilder().getBuilder(); + } + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + */ + public io.greptime.v1.Common.PartitionRuleVersionOrBuilder getPartitionRuleVersionOrBuilder() { + if (partitionRuleVersionBuilder_ != null) { + return partitionRuleVersionBuilder_.getMessageOrBuilder(); + } else { + return partitionRuleVersion_ == null ? + io.greptime.v1.Common.PartitionRuleVersion.getDefaultInstance() : partitionRuleVersion_; + } + } + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Common.PartitionRuleVersion, io.greptime.v1.Common.PartitionRuleVersion.Builder, io.greptime.v1.Common.PartitionRuleVersionOrBuilder> + getPartitionRuleVersionFieldBuilder() { + if (partitionRuleVersionBuilder_ == null) { + partitionRuleVersionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Common.PartitionRuleVersion, io.greptime.v1.Common.PartitionRuleVersion.Builder, io.greptime.v1.Common.PartitionRuleVersionOrBuilder>( + getPartitionRuleVersion(), + getParentForChildren(), + isClean()); + partitionRuleVersion_ = null; + } + return partitionRuleVersionBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -9558,6 +9761,21 @@ com.google.protobuf.ByteString defaultValue); * .greptime.v1.Rows rows = 2; */ io.greptime.v1.RowData.RowsOrBuilder getRowsOrBuilder(); + + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * @return Whether the partitionRuleVersion field is set. + */ + boolean hasPartitionRuleVersion(); + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * @return The partitionRuleVersion. + */ + io.greptime.v1.Common.PartitionRuleVersion getPartitionRuleVersion(); + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + */ + io.greptime.v1.Common.PartitionRuleVersionOrBuilder getPartitionRuleVersionOrBuilder(); } /** * Protobuf type {@code greptime.v1.region.DeleteRequest} @@ -9622,6 +9840,19 @@ com.google.protobuf.ByteString defaultValue); break; } + case 26: { + io.greptime.v1.Common.PartitionRuleVersion.Builder subBuilder = null; + if (partitionRuleVersion_ != null) { + subBuilder = partitionRuleVersion_.toBuilder(); + } + partitionRuleVersion_ = input.readMessage(io.greptime.v1.Common.PartitionRuleVersion.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(partitionRuleVersion_); + partitionRuleVersion_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -9693,6 +9924,32 @@ com.google.protobuf.ByteString defaultValue); return getRows(); } + public static final int PARTITION_RULE_VERSION_FIELD_NUMBER = 3; + private io.greptime.v1.Common.PartitionRuleVersion partitionRuleVersion_; + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * @return Whether the partitionRuleVersion field is set. + */ + @java.lang.Override + public boolean hasPartitionRuleVersion() { + return partitionRuleVersion_ != null; + } + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * @return The partitionRuleVersion. + */ + @java.lang.Override + public io.greptime.v1.Common.PartitionRuleVersion getPartitionRuleVersion() { + return partitionRuleVersion_ == null ? io.greptime.v1.Common.PartitionRuleVersion.getDefaultInstance() : partitionRuleVersion_; + } + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + */ + @java.lang.Override + public io.greptime.v1.Common.PartitionRuleVersionOrBuilder getPartitionRuleVersionOrBuilder() { + return getPartitionRuleVersion(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -9713,6 +9970,9 @@ com.google.protobuf.ByteString defaultValue); if (rows_ != null) { output.writeMessage(2, getRows()); } + if (partitionRuleVersion_ != null) { + output.writeMessage(3, getPartitionRuleVersion()); + } unknownFields.writeTo(output); } @@ -9730,6 +9990,10 @@ com.google.protobuf.ByteString defaultValue); size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getRows()); } + if (partitionRuleVersion_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getPartitionRuleVersion()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -9752,6 +10016,11 @@ com.google.protobuf.ByteString defaultValue); if (!getRows() .equals(other.getRows())) return false; } + if (hasPartitionRuleVersion() != other.hasPartitionRuleVersion()) return false; + if (hasPartitionRuleVersion()) { + if (!getPartitionRuleVersion() + .equals(other.getPartitionRuleVersion())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -9770,6 +10039,10 @@ com.google.protobuf.ByteString defaultValue); hash = (37 * hash) + ROWS_FIELD_NUMBER; hash = (53 * hash) + getRows().hashCode(); } + if (hasPartitionRuleVersion()) { + hash = (37 * hash) + PARTITION_RULE_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getPartitionRuleVersion().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -9911,6 +10184,12 @@ com.google.protobuf.ByteString defaultValue); rows_ = null; rowsBuilder_ = null; } + if (partitionRuleVersionBuilder_ == null) { + partitionRuleVersion_ = null; + } else { + partitionRuleVersion_ = null; + partitionRuleVersionBuilder_ = null; + } return this; } @@ -9943,6 +10222,11 @@ com.google.protobuf.ByteString defaultValue); } else { result.rows_ = rowsBuilder_.build(); } + if (partitionRuleVersionBuilder_ == null) { + result.partitionRuleVersion_ = partitionRuleVersion_; + } else { + result.partitionRuleVersion_ = partitionRuleVersionBuilder_.build(); + } onBuilt(); return result; } @@ -9997,6 +10281,9 @@ com.google.protobuf.ByteString defaultValue); if (other.hasRows()) { mergeRows(other.getRows()); } + if (other.hasPartitionRuleVersion()) { + mergePartitionRuleVersion(other.getPartitionRuleVersion()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -10175,6 +10462,125 @@ com.google.protobuf.ByteString defaultValue); } return rowsBuilder_; } + + private io.greptime.v1.Common.PartitionRuleVersion partitionRuleVersion_; + private com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Common.PartitionRuleVersion, io.greptime.v1.Common.PartitionRuleVersion.Builder, io.greptime.v1.Common.PartitionRuleVersionOrBuilder> partitionRuleVersionBuilder_; + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * @return Whether the partitionRuleVersion field is set. + */ + public boolean hasPartitionRuleVersion() { + return partitionRuleVersionBuilder_ != null || partitionRuleVersion_ != null; + } + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * @return The partitionRuleVersion. + */ + public io.greptime.v1.Common.PartitionRuleVersion getPartitionRuleVersion() { + if (partitionRuleVersionBuilder_ == null) { + return partitionRuleVersion_ == null ? io.greptime.v1.Common.PartitionRuleVersion.getDefaultInstance() : partitionRuleVersion_; + } else { + return partitionRuleVersionBuilder_.getMessage(); + } + } + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + */ + public Builder setPartitionRuleVersion(io.greptime.v1.Common.PartitionRuleVersion value) { + if (partitionRuleVersionBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + partitionRuleVersion_ = value; + onChanged(); + } else { + partitionRuleVersionBuilder_.setMessage(value); + } + + return this; + } + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + */ + public Builder setPartitionRuleVersion( + io.greptime.v1.Common.PartitionRuleVersion.Builder builderForValue) { + if (partitionRuleVersionBuilder_ == null) { + partitionRuleVersion_ = builderForValue.build(); + onChanged(); + } else { + partitionRuleVersionBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + */ + public Builder mergePartitionRuleVersion(io.greptime.v1.Common.PartitionRuleVersion value) { + if (partitionRuleVersionBuilder_ == null) { + if (partitionRuleVersion_ != null) { + partitionRuleVersion_ = + io.greptime.v1.Common.PartitionRuleVersion.newBuilder(partitionRuleVersion_).mergeFrom(value).buildPartial(); + } else { + partitionRuleVersion_ = value; + } + onChanged(); + } else { + partitionRuleVersionBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + */ + public Builder clearPartitionRuleVersion() { + if (partitionRuleVersionBuilder_ == null) { + partitionRuleVersion_ = null; + onChanged(); + } else { + partitionRuleVersion_ = null; + partitionRuleVersionBuilder_ = null; + } + + return this; + } + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + */ + public io.greptime.v1.Common.PartitionRuleVersion.Builder getPartitionRuleVersionBuilder() { + + onChanged(); + return getPartitionRuleVersionFieldBuilder().getBuilder(); + } + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + */ + public io.greptime.v1.Common.PartitionRuleVersionOrBuilder getPartitionRuleVersionOrBuilder() { + if (partitionRuleVersionBuilder_ != null) { + return partitionRuleVersionBuilder_.getMessageOrBuilder(); + } else { + return partitionRuleVersion_ == null ? + io.greptime.v1.Common.PartitionRuleVersion.getDefaultInstance() : partitionRuleVersion_; + } + } + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Common.PartitionRuleVersion, io.greptime.v1.Common.PartitionRuleVersion.Builder, io.greptime.v1.Common.PartitionRuleVersionOrBuilder> + getPartitionRuleVersionFieldBuilder() { + if (partitionRuleVersionBuilder_ == null) { + partitionRuleVersionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Common.PartitionRuleVersion, io.greptime.v1.Common.PartitionRuleVersion.Builder, io.greptime.v1.Common.PartitionRuleVersionOrBuilder>( + getPartitionRuleVersion(), + getParentForChildren(), + isClean()); + partitionRuleVersion_ = null; + } + return partitionRuleVersionBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -30194,6 +30600,21 @@ java.lang.String defaultValue); */ io.greptime.v1.Common.ArrowIpcOrBuilder getArrowIpcOrBuilder(); + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * @return Whether the partitionRuleVersion field is set. + */ + boolean hasPartitionRuleVersion(); + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * @return The partitionRuleVersion. + */ + io.greptime.v1.Common.PartitionRuleVersion getPartitionRuleVersion(); + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + */ + io.greptime.v1.Common.PartitionRuleVersionOrBuilder getPartitionRuleVersionOrBuilder(); + public io.greptime.v1.region.Server.BulkInsertRequest.BodyCase getBodyCase(); } /** @@ -30264,6 +30685,19 @@ java.lang.String defaultValue); bodyCase_ = 2; break; } + case 26: { + io.greptime.v1.Common.PartitionRuleVersion.Builder subBuilder = null; + if (partitionRuleVersion_ != null) { + subBuilder = partitionRuleVersion_.toBuilder(); + } + partitionRuleVersion_ = input.readMessage(io.greptime.v1.Common.PartitionRuleVersion.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(partitionRuleVersion_); + partitionRuleVersion_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -30379,6 +30813,32 @@ java.lang.String defaultValue); return io.greptime.v1.Common.ArrowIpc.getDefaultInstance(); } + public static final int PARTITION_RULE_VERSION_FIELD_NUMBER = 3; + private io.greptime.v1.Common.PartitionRuleVersion partitionRuleVersion_; + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * @return Whether the partitionRuleVersion field is set. + */ + @java.lang.Override + public boolean hasPartitionRuleVersion() { + return partitionRuleVersion_ != null; + } + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * @return The partitionRuleVersion. + */ + @java.lang.Override + public io.greptime.v1.Common.PartitionRuleVersion getPartitionRuleVersion() { + return partitionRuleVersion_ == null ? io.greptime.v1.Common.PartitionRuleVersion.getDefaultInstance() : partitionRuleVersion_; + } + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + */ + @java.lang.Override + public io.greptime.v1.Common.PartitionRuleVersionOrBuilder getPartitionRuleVersionOrBuilder() { + return getPartitionRuleVersion(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -30399,6 +30859,9 @@ java.lang.String defaultValue); if (bodyCase_ == 2) { output.writeMessage(2, (io.greptime.v1.Common.ArrowIpc) body_); } + if (partitionRuleVersion_ != null) { + output.writeMessage(3, getPartitionRuleVersion()); + } unknownFields.writeTo(output); } @@ -30416,6 +30879,10 @@ java.lang.String defaultValue); size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (io.greptime.v1.Common.ArrowIpc) body_); } + if (partitionRuleVersion_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getPartitionRuleVersion()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -30433,6 +30900,11 @@ java.lang.String defaultValue); if (getRegionId() != other.getRegionId()) return false; + if (hasPartitionRuleVersion() != other.hasPartitionRuleVersion()) return false; + if (hasPartitionRuleVersion()) { + if (!getPartitionRuleVersion() + .equals(other.getPartitionRuleVersion())) return false; + } if (!getBodyCase().equals(other.getBodyCase())) return false; switch (bodyCase_) { case 2: @@ -30456,6 +30928,10 @@ java.lang.String defaultValue); hash = (37 * hash) + REGION_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getRegionId()); + if (hasPartitionRuleVersion()) { + hash = (37 * hash) + PARTITION_RULE_VERSION_FIELD_NUMBER; + hash = (53 * hash) + getPartitionRuleVersion().hashCode(); + } switch (bodyCase_) { case 2: hash = (37 * hash) + ARROW_IPC_FIELD_NUMBER; @@ -30603,6 +31079,12 @@ java.lang.String defaultValue); super.clear(); regionId_ = 0L; + if (partitionRuleVersionBuilder_ == null) { + partitionRuleVersion_ = null; + } else { + partitionRuleVersion_ = null; + partitionRuleVersionBuilder_ = null; + } bodyCase_ = 0; body_ = null; return this; @@ -30639,6 +31121,11 @@ java.lang.String defaultValue); result.body_ = arrowIpcBuilder_.build(); } } + if (partitionRuleVersionBuilder_ == null) { + result.partitionRuleVersion_ = partitionRuleVersion_; + } else { + result.partitionRuleVersion_ = partitionRuleVersionBuilder_.build(); + } result.bodyCase_ = bodyCase_; onBuilt(); return result; @@ -30691,6 +31178,9 @@ java.lang.String defaultValue); if (other.getRegionId() != 0L) { setRegionId(other.getRegionId()); } + if (other.hasPartitionRuleVersion()) { + mergePartitionRuleVersion(other.getPartitionRuleVersion()); + } switch (other.getBodyCase()) { case ARROW_IPC: { mergeArrowIpc(other.getArrowIpc()); @@ -30916,6 +31406,125 @@ java.lang.String defaultValue); onChanged();; return arrowIpcBuilder_; } + + private io.greptime.v1.Common.PartitionRuleVersion partitionRuleVersion_; + private com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Common.PartitionRuleVersion, io.greptime.v1.Common.PartitionRuleVersion.Builder, io.greptime.v1.Common.PartitionRuleVersionOrBuilder> partitionRuleVersionBuilder_; + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * @return Whether the partitionRuleVersion field is set. + */ + public boolean hasPartitionRuleVersion() { + return partitionRuleVersionBuilder_ != null || partitionRuleVersion_ != null; + } + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + * @return The partitionRuleVersion. + */ + public io.greptime.v1.Common.PartitionRuleVersion getPartitionRuleVersion() { + if (partitionRuleVersionBuilder_ == null) { + return partitionRuleVersion_ == null ? io.greptime.v1.Common.PartitionRuleVersion.getDefaultInstance() : partitionRuleVersion_; + } else { + return partitionRuleVersionBuilder_.getMessage(); + } + } + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + */ + public Builder setPartitionRuleVersion(io.greptime.v1.Common.PartitionRuleVersion value) { + if (partitionRuleVersionBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + partitionRuleVersion_ = value; + onChanged(); + } else { + partitionRuleVersionBuilder_.setMessage(value); + } + + return this; + } + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + */ + public Builder setPartitionRuleVersion( + io.greptime.v1.Common.PartitionRuleVersion.Builder builderForValue) { + if (partitionRuleVersionBuilder_ == null) { + partitionRuleVersion_ = builderForValue.build(); + onChanged(); + } else { + partitionRuleVersionBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + */ + public Builder mergePartitionRuleVersion(io.greptime.v1.Common.PartitionRuleVersion value) { + if (partitionRuleVersionBuilder_ == null) { + if (partitionRuleVersion_ != null) { + partitionRuleVersion_ = + io.greptime.v1.Common.PartitionRuleVersion.newBuilder(partitionRuleVersion_).mergeFrom(value).buildPartial(); + } else { + partitionRuleVersion_ = value; + } + onChanged(); + } else { + partitionRuleVersionBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + */ + public Builder clearPartitionRuleVersion() { + if (partitionRuleVersionBuilder_ == null) { + partitionRuleVersion_ = null; + onChanged(); + } else { + partitionRuleVersion_ = null; + partitionRuleVersionBuilder_ = null; + } + + return this; + } + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + */ + public io.greptime.v1.Common.PartitionRuleVersion.Builder getPartitionRuleVersionBuilder() { + + onChanged(); + return getPartitionRuleVersionFieldBuilder().getBuilder(); + } + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + */ + public io.greptime.v1.Common.PartitionRuleVersionOrBuilder getPartitionRuleVersionOrBuilder() { + if (partitionRuleVersionBuilder_ != null) { + return partitionRuleVersionBuilder_.getMessageOrBuilder(); + } else { + return partitionRuleVersion_ == null ? + io.greptime.v1.Common.PartitionRuleVersion.getDefaultInstance() : partitionRuleVersion_; + } + } + /** + * .greptime.v1.PartitionRuleVersion partition_rule_version = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Common.PartitionRuleVersion, io.greptime.v1.Common.PartitionRuleVersion.Builder, io.greptime.v1.Common.PartitionRuleVersionOrBuilder> + getPartitionRuleVersionFieldBuilder() { + if (partitionRuleVersionBuilder_ == null) { + partitionRuleVersionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + io.greptime.v1.Common.PartitionRuleVersion, io.greptime.v1.Common.PartitionRuleVersion.Builder, io.greptime.v1.Common.PartitionRuleVersionOrBuilder>( + getPartitionRuleVersion(), + getParentForChildren(), + isClean()); + partitionRuleVersion_ = null; + } + return partitionRuleVersionBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -35925,93 +36534,98 @@ java.lang.String defaultValue); "ts\0223\n\010requests\030\001 \003(\0132!.greptime.v1.regio" + "n.InsertRequest\"E\n\016DeleteRequests\0223\n\010req" + "uests\030\001 \003(\0132!.greptime.v1.region.DeleteR" + - "equest\"C\n\rInsertRequest\022\021\n\tregion_id\030\001 \001" + - "(\004\022\037\n\004rows\030\002 \001(\0132\021.greptime.v1.Rows\"C\n\rD" + - "eleteRequest\022\021\n\tregion_id\030\001 \001(\004\022\037\n\004rows\030" + - "\002 \001(\0132\021.greptime.v1.Rows\"h\n\014QueryRequest" + - "\0227\n\006header\030\001 \001(\0132\'.greptime.v1.region.Re" + - "gionRequestHeader\022\021\n\tregion_id\030\002 \001(\004\022\014\n\004" + - "plan\030\003 \001(\014\"E\n\016CreateRequests\0223\n\010requests" + - "\030\001 \003(\0132!.greptime.v1.region.CreateReques" + - "t\"\260\002\n\rCreateRequest\022\021\n\tregion_id\030\001 \001(\004\022\016" + - "\n\006engine\030\002 \001(\t\0228\n\013column_defs\030\003 \003(\0132#.gr" + - "eptime.v1.region.RegionColumnDef\022\023\n\013prim" + - "ary_key\030\004 \003(\r\022\014\n\004path\030\005 \001(\t\022?\n\007options\030\006" + - " \003(\0132..greptime.v1.region.CreateRequest." + - "OptionsEntry\022.\n\tpartition\030\007 \001(\0132\033.grepti" + - "me.v1.meta.Partition\032.\n\014OptionsEntry\022\013\n\003" + - "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"A\n\014DropRequ" + - "ests\0221\n\010requests\030\001 \003(\0132\037.greptime.v1.reg" + - "ion.DropRequest\"X\n\013DropRequest\022\021\n\tregion" + - "_id\030\001 \001(\004\022\021\n\tfast_path\030\002 \001(\010\022\r\n\005force\030\003 " + - "\001(\010\022\024\n\014partial_drop\030\004 \001(\010\"\255\001\n\013OpenReques" + - "t\022\021\n\tregion_id\030\001 \001(\004\022\016\n\006engine\030\002 \001(\t\022\014\n\004" + - "path\030\003 \001(\t\022=\n\007options\030\004 \003(\0132,.greptime.v" + - "1.region.OpenRequest.OptionsEntry\032.\n\014Opt" + - "ionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028" + - "\001\"!\n\014CloseRequest\022\021\n\tregion_id\030\001 \001(\004\"C\n\r" + - "AlterRequests\0222\n\010requests\030\001 \003(\0132 .grepti" + - "me.v1.region.AlterRequest\"\311\005\n\014AlterReque" + - "st\022\021\n\tregion_id\030\001 \001(\004\0225\n\013add_columns\030\002 \001" + - "(\0132\036.greptime.v1.region.AddColumnsH\000\0227\n\014" + - "drop_columns\030\003 \001(\0132\037.greptime.v1.region." + - "DropColumnsH\000\022=\n\023modify_column_types\030\005 \001" + - "(\0132\036.greptime.v1.ModifyColumnTypesH\000\0229\n\021" + - "set_table_options\030\006 \001(\0132\034.greptime.v1.Se" + - "tTableOptionsH\000\022=\n\023unset_table_options\030\t" + - " \001(\0132\036.greptime.v1.UnsetTableOptionsH\000\022*" + - "\n\tset_index\030\n \001(\0132\025.greptime.v1.SetIndex" + - "H\000\022.\n\013unset_index\030\013 \001(\0132\027.greptime.v1.Un" + - "setIndexH\000\0222\n\rdrop_defaults\030\014 \001(\0132\031.grep" + - "time.v1.DropDefaultsH\000\022.\n\013set_indexes\030\r " + - "\001(\0132\027.greptime.v1.SetIndexesH\000\0222\n\runset_" + - "indexes\030\016 \001(\0132\031.greptime.v1.UnsetIndexes" + - "H\000\0220\n\014set_defaults\030\017 \001(\0132\030.greptime.v1.S" + - "etDefaultsH\000\0227\n\014sync_columns\030\020 \001(\0132\037.gre" + - "ptime.v1.region.SyncColumnsH\000\022\026\n\016schema_" + - "version\030\004 \001(\004B\006\n\004kind\"G\n\013SyncColumns\0228\n\013" + - "column_defs\030\001 \003(\0132#.greptime.v1.region.R" + - "egionColumnDef\"@\n\nAddColumns\0222\n\013add_colu" + - "mns\030\001 \003(\0132\035.greptime.v1.region.AddColumn" + - "\"C\n\013DropColumns\0224\n\014drop_columns\030\001 \003(\0132\036." + - "greptime.v1.region.DropColumn\"v\n\tAddColu" + - "mn\0227\n\ncolumn_def\030\001 \001(\0132#.greptime.v1.reg" + - "ion.RegionColumnDef\0220\n\010location\030\003 \001(\0132\036." + - "greptime.v1.AddColumnLocation\"\032\n\nDropCol" + - "umn\022\014\n\004name\030\001 \001(\t\"!\n\014FlushRequest\022\021\n\treg" + - "ion_id\030\001 \001(\004\"\t\n\007Regular\"&\n\014StrictWindow\022" + - "\026\n\016window_seconds\030\001 \001(\003\"\256\001\n\016CompactReque" + - "st\022\021\n\tregion_id\030\001 \001(\004\022.\n\007regular\030\002 \001(\0132\033" + - ".greptime.v1.region.RegularH\000\0229\n\rstrict_" + - "window\030\003 \001(\0132 .greptime.v1.region.Strict" + - "WindowH\000\022\023\n\013parallelism\030\004 \001(\rB\t\n\007options" + - "\"\204\001\n\017TruncateRequest\022\021\n\tregion_id\030\001 \001(\004\022" + - "&\n\003all\030\002 \001(\0132\027.greptime.v1.region.AllH\000\022" + - ".\n\013time_ranges\030\003 \001(\0132\027.greptime.v1.TimeR" + - "angesH\000B\006\n\004kind\"\005\n\003All\"P\n\017RegionColumnDe" + - "f\022*\n\ncolumn_def\030\001 \001(\0132\026.greptime.v1.Colu" + - "mnDef\022\021\n\tcolumn_id\030\002 \001(\r\"Z\n\021BulkInsertRe" + - "quest\022\021\n\tregion_id\030\001 \001(\004\022*\n\tarrow_ipc\030\002 " + - "\001(\0132\025.greptime.v1.ArrowIpcH\000B\006\n\004body\"1\n\020" + - "MitoManifestInfo\022\035\n\025data_manifest_versio" + - "n\030\001 \001(\004\"V\n\022MetricManifestInfo\022\035\n\025data_ma" + - "nifest_version\030\001 \001(\004\022!\n\031metadata_manifes" + - "t_version\030\002 \001(\004\"\275\001\n\013SyncRequest\022\021\n\tregio" + - "n_id\030\001 \001(\004\022B\n\022mito_manifest_info\030\002 \001(\0132$" + - ".greptime.v1.region.MitoManifestInfoH\000\022F" + - "\n\024metric_manifest_info\030\003 \001(\0132&.greptime." + - "v1.region.MetricManifestInfoH\000B\017\n\rmanife" + - "st_info\")\n\023ListMetadataRequest\022\022\n\nregion" + - "_ids\030\001 \003(\004\"&\n\021BuildIndexRequest\022\021\n\tregio" + - "n_id\030\001 \001(\004\"\031\n\tFileMetas\022\014\n\004data\030\001 \001(\014\"z\n" + - "\033ApplyStagingManifestRequest\022\021\n\tregion_i" + - "d\030\001 \001(\004\022\026\n\016partition_expr\030\002 \001(\t\022\031\n\021centr" + - "al_region_id\030\003 \001(\004\022\025\n\rmanifest_path\030\004 \001(" + - "\t2Y\n\006Region\022O\n\006Handle\022!.greptime.v1.regi" + - "on.RegionRequest\032\".greptime.v1.region.Re" + - "gionResponseB]\n\025io.greptime.v1.regionB\006S" + - "erverZ