feat: flow add eval interval (#273)

* feat: create flow eval interval

Signed-off-by: discord9 <discord9@163.com>

* fix: eval interval

Signed-off-by: discord9 <discord9@163.com>

* chore: make all

Signed-off-by: discord9 <discord9@163.com>

* fix: flow create request

Signed-off-by: discord9 <discord9@163.com>

* chore: make all

Signed-off-by: discord9 <discord9@163.com>

* chore: fmt

Signed-off-by: discord9 <discord9@163.com>

---------

Signed-off-by: discord9 <discord9@163.com>
This commit is contained in:
discord9
2025-08-27 16:21:27 +08:00
committed by GitHub
parent df2bb74b59
commit 66eb089afa
15 changed files with 2513 additions and 802 deletions
+271 -66
View File
@@ -252,6 +252,19 @@ struct ExpireAfterDefaultTypeInternal {
}; };
}; };
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ExpireAfterDefaultTypeInternal _ExpireAfter_default_instance_; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ExpireAfterDefaultTypeInternal _ExpireAfter_default_instance_;
PROTOBUF_CONSTEXPR EvalInterval::EvalInterval(
::_pbi::ConstantInitialized): _impl_{
/*decltype(_impl_.seconds_)*/int64_t{0}
, /*decltype(_impl_._cached_size_)*/{}} {}
struct EvalIntervalDefaultTypeInternal {
PROTOBUF_CONSTEXPR EvalIntervalDefaultTypeInternal()
: _instance(::_pbi::ConstantInitialized{}) {}
~EvalIntervalDefaultTypeInternal() {}
union {
EvalInterval _instance;
};
};
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EvalIntervalDefaultTypeInternal _EvalInterval_default_instance_;
PROTOBUF_CONSTEXPR FlightMetadata::FlightMetadata( PROTOBUF_CONSTEXPR FlightMetadata::FlightMetadata(
::_pbi::ConstantInitialized): _impl_{ ::_pbi::ConstantInitialized): _impl_{
/*decltype(_impl_.affected_rows_)*/nullptr /*decltype(_impl_.affected_rows_)*/nullptr
@@ -405,7 +418,7 @@ struct ArrowIpcDefaultTypeInternal {
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ArrowIpcDefaultTypeInternal _ArrowIpc_default_instance_; PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ArrowIpcDefaultTypeInternal _ArrowIpc_default_instance_;
} // namespace v1 } // namespace v1
} // namespace greptime } // namespace greptime
static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fcommon_2eproto[28]; static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fcommon_2eproto[29];
static const ::_pb::EnumDescriptor* file_level_enum_descriptors_greptime_2fv1_2fcommon_2eproto[4]; 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; static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_greptime_2fv1_2fcommon_2eproto = nullptr;
@@ -560,6 +573,13 @@ const uint32_t TableStruct_greptime_2fv1_2fcommon_2eproto::offsets[] PROTOBUF_SE
~0u, // no _inlined_string_donated_ ~0u, // no _inlined_string_donated_
PROTOBUF_FIELD_OFFSET(::greptime::v1::ExpireAfter, _impl_.value_), PROTOBUF_FIELD_OFFSET(::greptime::v1::ExpireAfter, _impl_.value_),
~0u, // no _has_bits_ ~0u, // no _has_bits_
PROTOBUF_FIELD_OFFSET(::greptime::v1::EvalInterval, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
~0u, // no _inlined_string_donated_
PROTOBUF_FIELD_OFFSET(::greptime::v1::EvalInterval, _impl_.seconds_),
~0u, // no _has_bits_
PROTOBUF_FIELD_OFFSET(::greptime::v1::FlightMetadata, _internal_metadata_), PROTOBUF_FIELD_OFFSET(::greptime::v1::FlightMetadata, _internal_metadata_),
~0u, // no _extensions_ ~0u, // no _extensions_
~0u, // no _oneof_case_ ~0u, // no _oneof_case_
@@ -670,17 +690,18 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode
{ 128, -1, -1, sizeof(::greptime::v1::AffectedRows)}, { 128, -1, -1, sizeof(::greptime::v1::AffectedRows)},
{ 135, -1, -1, sizeof(::greptime::v1::Metrics)}, { 135, -1, -1, sizeof(::greptime::v1::Metrics)},
{ 142, -1, -1, sizeof(::greptime::v1::ExpireAfter)}, { 142, -1, -1, sizeof(::greptime::v1::ExpireAfter)},
{ 149, -1, -1, sizeof(::greptime::v1::FlightMetadata)}, { 149, -1, -1, sizeof(::greptime::v1::EvalInterval)},
{ 157, -1, -1, sizeof(::greptime::v1::IntervalMonthDayNano)}, { 156, -1, -1, sizeof(::greptime::v1::FlightMetadata)},
{ 166, -1, -1, sizeof(::greptime::v1::TimeRange)}, { 164, -1, -1, sizeof(::greptime::v1::IntervalMonthDayNano)},
{ 174, -1, -1, sizeof(::greptime::v1::TimeRanges)}, { 173, -1, -1, sizeof(::greptime::v1::TimeRange)},
{ 182, -1, -1, sizeof(::greptime::v1::Decimal128)}, { 181, -1, -1, sizeof(::greptime::v1::TimeRanges)},
{ 190, -1, -1, sizeof(::greptime::v1::ColumnDataTypeExtension)}, { 189, -1, -1, sizeof(::greptime::v1::Decimal128)},
{ 200, -1, -1, sizeof(::greptime::v1::DecimalTypeExtension)}, { 197, -1, -1, sizeof(::greptime::v1::ColumnDataTypeExtension)},
{ 208, -1, -1, sizeof(::greptime::v1::VectorTypeExtension)}, { 207, -1, -1, sizeof(::greptime::v1::DecimalTypeExtension)},
{ 215, 223, -1, sizeof(::greptime::v1::ColumnOptions_OptionsEntry_DoNotUse)}, { 215, -1, -1, sizeof(::greptime::v1::VectorTypeExtension)},
{ 225, -1, -1, sizeof(::greptime::v1::ColumnOptions)}, { 222, 230, -1, sizeof(::greptime::v1::ColumnOptions_OptionsEntry_DoNotUse)},
{ 232, -1, -1, sizeof(::greptime::v1::ArrowIpc)}, { 232, -1, -1, sizeof(::greptime::v1::ColumnOptions)},
{ 239, -1, -1, sizeof(::greptime::v1::ArrowIpc)},
}; };
static const ::_pb::Message* const file_default_instances[] = { static const ::_pb::Message* const file_default_instances[] = {
@@ -701,6 +722,7 @@ static const ::_pb::Message* const file_default_instances[] = {
&::greptime::v1::_AffectedRows_default_instance_._instance, &::greptime::v1::_AffectedRows_default_instance_._instance,
&::greptime::v1::_Metrics_default_instance_._instance, &::greptime::v1::_Metrics_default_instance_._instance,
&::greptime::v1::_ExpireAfter_default_instance_._instance, &::greptime::v1::_ExpireAfter_default_instance_._instance,
&::greptime::v1::_EvalInterval_default_instance_._instance,
&::greptime::v1::_FlightMetadata_default_instance_._instance, &::greptime::v1::_FlightMetadata_default_instance_._instance,
&::greptime::v1::_IntervalMonthDayNano_default_instance_._instance, &::greptime::v1::_IntervalMonthDayNano_default_instance_._instance,
&::greptime::v1::_TimeRange_default_instance_._instance, &::greptime::v1::_TimeRange_default_instance_._instance,
@@ -749,53 +771,54 @@ const char descriptor_table_protodef_greptime_2fv1_2fcommon_2eproto[] PROTOBUF_S
"\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\022\n\ntable_name" "\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\022\n\ntable_name"
"\030\003 \001(\t\"\035\n\014AffectedRows\022\r\n\005value\030\001 \001(\r\"\032\n" "\030\003 \001(\t\"\035\n\014AffectedRows\022\r\n\005value\030\001 \001(\r\"\032\n"
"\007Metrics\022\017\n\007metrics\030\001 \001(\014\"\034\n\013ExpireAfter" "\007Metrics\022\017\n\007metrics\030\001 \001(\014\"\034\n\013ExpireAfter"
"\022\r\n\005value\030\001 \001(\003\"i\n\016FlightMetadata\0220\n\raff" "\022\r\n\005value\030\001 \001(\003\"\037\n\014EvalInterval\022\017\n\007secon"
"ected_rows\030\001 \001(\0132\031.greptime.v1.AffectedR" "ds\030\001 \001(\003\"i\n\016FlightMetadata\0220\n\raffected_r"
"ows\022%\n\007metrics\030\002 \001(\0132\024.greptime.v1.Metri" "ows\030\001 \001(\0132\031.greptime.v1.AffectedRows\022%\n\007"
"cs\"I\n\024IntervalMonthDayNano\022\016\n\006months\030\001 \001" "metrics\030\002 \001(\0132\024.greptime.v1.Metrics\"I\n\024I"
"(\005\022\014\n\004days\030\002 \001(\005\022\023\n\013nanoseconds\030\003 \001(\003\"\'\n" "ntervalMonthDayNano\022\016\n\006months\030\001 \001(\005\022\014\n\004d"
"\tTimeRange\022\r\n\005start\030\001 \001(\003\022\013\n\003end\030\002 \001(\003\"c" "ays\030\002 \001(\005\022\023\n\013nanoseconds\030\003 \001(\003\"\'\n\tTimeRa"
"\n\nTimeRanges\022(\n\ttime_unit\030\001 \001(\0162\025.grepti" "nge\022\r\n\005start\030\001 \001(\003\022\013\n\003end\030\002 \001(\003\"c\n\nTimeR"
"me.v1.TimeUnit\022+\n\013time_ranges\030\002 \003(\0132\026.gr" "anges\022(\n\ttime_unit\030\001 \001(\0162\025.greptime.v1.T"
"eptime.v1.TimeRange\"$\n\nDecimal128\022\n\n\002hi\030" "imeUnit\022+\n\013time_ranges\030\002 \003(\0132\026.greptime."
"\001 \001(\003\022\n\n\002lo\030\002 \001(\003\"\316\001\n\027ColumnDataTypeExte" "v1.TimeRange\"$\n\nDecimal128\022\n\n\002hi\030\001 \001(\003\022\n"
"nsion\0229\n\014decimal_type\030\001 \001(\0132!.greptime.v" "\n\002lo\030\002 \001(\003\"\316\001\n\027ColumnDataTypeExtension\0229"
"1.DecimalTypeExtensionH\000\0223\n\tjson_type\030\002 " "\n\014decimal_type\030\001 \001(\0132!.greptime.v1.Decim"
"\001(\0162\036.greptime.v1.JsonTypeExtensionH\000\0227\n" "alTypeExtensionH\000\0223\n\tjson_type\030\002 \001(\0162\036.g"
"\013vector_type\030\003 \001(\0132 .greptime.v1.VectorT" "reptime.v1.JsonTypeExtensionH\000\0227\n\013vector"
"ypeExtensionH\000B\n\n\010type_ext\"8\n\024DecimalTyp" "_type\030\003 \001(\0132 .greptime.v1.VectorTypeExte"
"eExtension\022\021\n\tprecision\030\001 \001(\005\022\r\n\005scale\030\002" "nsionH\000B\n\n\010type_ext\"8\n\024DecimalTypeExtens"
" \001(\005\"\"\n\023VectorTypeExtension\022\013\n\003dim\030\001 \001(\r" "ion\022\021\n\tprecision\030\001 \001(\005\022\r\n\005scale\030\002 \001(\005\"\"\n"
"\"y\n\rColumnOptions\0228\n\007options\030\001 \003(\0132\'.gre" "\023VectorTypeExtension\022\013\n\003dim\030\001 \001(\r\"y\n\rCol"
"ptime.v1.ColumnOptions.OptionsEntry\032.\n\014O" "umnOptions\0228\n\007options\030\001 \003(\0132\'.greptime.v"
"ptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" "1.ColumnOptions.OptionsEntry\032.\n\014OptionsE"
"\0028\001\"@\n\010ArrowIpc\022\016\n\006schema\030\001 \001(\014\022\023\n\013data_" "ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"@\n\010"
"header\030\002 \001(\014\022\017\n\007payload\030\003 \001(\014*1\n\014Semanti" "ArrowIpc\022\016\n\006schema\030\001 \001(\014\022\023\n\013data_header\030"
"cType\022\007\n\003TAG\020\000\022\t\n\005FIELD\020\001\022\r\n\tTIMESTAMP\020\002" "\002 \001(\014\022\017\n\007payload\030\003 \001(\014*1\n\014SemanticType\022\007"
"*\354\003\n\016ColumnDataType\022\013\n\007BOOLEAN\020\000\022\010\n\004INT8" "\n\003TAG\020\000\022\t\n\005FIELD\020\001\022\r\n\tTIMESTAMP\020\002*\354\003\n\016Co"
"\020\001\022\t\n\005INT16\020\002\022\t\n\005INT32\020\003\022\t\n\005INT64\020\004\022\t\n\005U" "lumnDataType\022\013\n\007BOOLEAN\020\000\022\010\n\004INT8\020\001\022\t\n\005I"
"INT8\020\005\022\n\n\006UINT16\020\006\022\n\n\006UINT32\020\007\022\n\n\006UINT64" "NT16\020\002\022\t\n\005INT32\020\003\022\t\n\005INT64\020\004\022\t\n\005UINT8\020\005\022"
"\020\010\022\013\n\007FLOAT32\020\t\022\013\n\007FLOAT64\020\n\022\n\n\006BINARY\020\013" "\n\n\006UINT16\020\006\022\n\n\006UINT32\020\007\022\n\n\006UINT64\020\010\022\013\n\007F"
"\022\n\n\006STRING\020\014\022\010\n\004DATE\020\r\022\014\n\010DATETIME\020\016\022\024\n\020" "LOAT32\020\t\022\013\n\007FLOAT64\020\n\022\n\n\006BINARY\020\013\022\n\n\006STR"
"TIMESTAMP_SECOND\020\017\022\031\n\025TIMESTAMP_MILLISEC" "ING\020\014\022\010\n\004DATE\020\r\022\014\n\010DATETIME\020\016\022\024\n\020TIMESTA"
"OND\020\020\022\031\n\025TIMESTAMP_MICROSECOND\020\021\022\030\n\024TIME" "MP_SECOND\020\017\022\031\n\025TIMESTAMP_MILLISECOND\020\020\022\031"
"STAMP_NANOSECOND\020\022\022\017\n\013TIME_SECOND\020\023\022\024\n\020T" "\n\025TIMESTAMP_MICROSECOND\020\021\022\030\n\024TIMESTAMP_N"
"IME_MILLISECOND\020\024\022\024\n\020TIME_MICROSECOND\020\025\022" "ANOSECOND\020\022\022\017\n\013TIME_SECOND\020\023\022\024\n\020TIME_MIL"
"\023\n\017TIME_NANOSECOND\020\026\022\027\n\023INTERVAL_YEAR_MO" "LISECOND\020\024\022\024\n\020TIME_MICROSECOND\020\025\022\023\n\017TIME"
"NTH\020\027\022\025\n\021INTERVAL_DAY_TIME\020\030\022\033\n\027INTERVAL" "_NANOSECOND\020\026\022\027\n\023INTERVAL_YEAR_MONTH\020\027\022\025"
"_MONTH_DAY_NANO\020\031\022\016\n\nDECIMAL128\020\036\022\010\n\004JSO" "\n\021INTERVAL_DAY_TIME\020\030\022\033\n\027INTERVAL_MONTH_"
"N\020\037\022\n\n\006VECTOR\020 *H\n\010TimeUnit\022\017\n\013MILLISECO" "DAY_NANO\020\031\022\016\n\nDECIMAL128\020\036\022\010\n\004JSON\020\037\022\n\n\006"
"ND\020\000\022\n\n\006SECOND\020\001\022\017\n\013MICROSECOND\020\002\022\016\n\nNAN" "VECTOR\020 *H\n\010TimeUnit\022\017\n\013MILLISECOND\020\000\022\n\n"
"OSECOND\020\003*$\n\021JsonTypeExtension\022\017\n\013JSON_B" "\006SECOND\020\001\022\017\n\013MICROSECOND\020\002\022\016\n\nNANOSECOND"
"INARY\020\000BO\n\016io.greptime.v1B\006CommonZ5githu" "\020\003*$\n\021JsonTypeExtension\022\017\n\013JSON_BINARY\020\000"
"b.com/GreptimeTeam/greptime-proto/go/gre" "BO\n\016io.greptime.v1B\006CommonZ5github.com/G"
"ptime/v1b\006proto3" "reptimeTeam/greptime-proto/go/greptime/v"
"1b\006proto3"
; ;
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fcommon_2eproto_once; static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fcommon_2eproto_once;
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fcommon_2eproto = { const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fcommon_2eproto = {
false, false, 2976, descriptor_table_protodef_greptime_2fv1_2fcommon_2eproto, false, false, 3009, descriptor_table_protodef_greptime_2fv1_2fcommon_2eproto,
"greptime/v1/common.proto", "greptime/v1/common.proto",
&descriptor_table_greptime_2fv1_2fcommon_2eproto_once, nullptr, 0, 28, &descriptor_table_greptime_2fv1_2fcommon_2eproto_once, nullptr, 0, 29,
schemas, file_default_instances, TableStruct_greptime_2fv1_2fcommon_2eproto::offsets, 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_metadata_greptime_2fv1_2fcommon_2eproto, file_level_enum_descriptors_greptime_2fv1_2fcommon_2eproto,
file_level_service_descriptors_greptime_2fv1_2fcommon_2eproto, file_level_service_descriptors_greptime_2fv1_2fcommon_2eproto,
@@ -4373,6 +4396,184 @@ void ExpireAfter::InternalSwap(ExpireAfter* other) {
// =================================================================== // ===================================================================
class EvalInterval::_Internal {
public:
};
EvalInterval::EvalInterval(::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.EvalInterval)
}
EvalInterval::EvalInterval(const EvalInterval& from)
: ::PROTOBUF_NAMESPACE_ID::Message() {
EvalInterval* const _this = this; (void)_this;
new (&_impl_) Impl_{
decltype(_impl_.seconds_){}
, /*decltype(_impl_._cached_size_)*/{}};
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
_this->_impl_.seconds_ = from._impl_.seconds_;
// @@protoc_insertion_point(copy_constructor:greptime.v1.EvalInterval)
}
inline void EvalInterval::SharedCtor(
::_pb::Arena* arena, bool is_message_owned) {
(void)arena;
(void)is_message_owned;
new (&_impl_) Impl_{
decltype(_impl_.seconds_){int64_t{0}}
, /*decltype(_impl_._cached_size_)*/{}
};
}
EvalInterval::~EvalInterval() {
// @@protoc_insertion_point(destructor:greptime.v1.EvalInterval)
if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
(void)arena;
return;
}
SharedDtor();
}
inline void EvalInterval::SharedDtor() {
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
}
void EvalInterval::SetCachedSize(int size) const {
_impl_._cached_size_.Set(size);
}
void EvalInterval::Clear() {
// @@protoc_insertion_point(message_clear_start:greptime.v1.EvalInterval)
uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
_impl_.seconds_ = int64_t{0};
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
const char* EvalInterval::_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) {
// int64 seconds = 1;
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
_impl_.seconds_ = ::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* EvalInterval::_InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:greptime.v1.EvalInterval)
uint32_t cached_has_bits = 0;
(void) cached_has_bits;
// int64 seconds = 1;
if (this->_internal_seconds() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteInt64ToArray(1, this->_internal_seconds(), 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.EvalInterval)
return target;
}
size_t EvalInterval::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:greptime.v1.EvalInterval)
size_t total_size = 0;
uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// int64 seconds = 1;
if (this->_internal_seconds() != 0) {
total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_seconds());
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData EvalInterval::_class_data_ = {
::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
EvalInterval::MergeImpl
};
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*EvalInterval::GetClassData() const { return &_class_data_; }
void EvalInterval::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
auto* const _this = static_cast<EvalInterval*>(&to_msg);
auto& from = static_cast<const EvalInterval&>(from_msg);
// @@protoc_insertion_point(class_specific_merge_from_start:greptime.v1.EvalInterval)
GOOGLE_DCHECK_NE(&from, _this);
uint32_t cached_has_bits = 0;
(void) cached_has_bits;
if (from._internal_seconds() != 0) {
_this->_internal_set_seconds(from._internal_seconds());
}
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
}
void EvalInterval::CopyFrom(const EvalInterval& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.EvalInterval)
if (&from == this) return;
Clear();
MergeFrom(from);
}
bool EvalInterval::IsInitialized() const {
return true;
}
void EvalInterval::InternalSwap(EvalInterval* other) {
using std::swap;
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
swap(_impl_.seconds_, other->_impl_.seconds_);
}
::PROTOBUF_NAMESPACE_ID::Metadata EvalInterval::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[17]);
}
// ===================================================================
class FlightMetadata::_Internal { class FlightMetadata::_Internal {
public: public:
static const ::greptime::v1::AffectedRows& affected_rows(const FlightMetadata* msg); static const ::greptime::v1::AffectedRows& affected_rows(const FlightMetadata* msg);
@@ -4607,7 +4808,7 @@ void FlightMetadata::InternalSwap(FlightMetadata* other) {
::PROTOBUF_NAMESPACE_ID::Metadata FlightMetadata::GetMetadata() const { ::PROTOBUF_NAMESPACE_ID::Metadata FlightMetadata::GetMetadata() const {
return ::_pbi::AssignDescriptors( return ::_pbi::AssignDescriptors(
&descriptor_table_greptime_2fv1_2fcommon_2eproto_getter, &descriptor_table_greptime_2fv1_2fcommon_2eproto_once, &descriptor_table_greptime_2fv1_2fcommon_2eproto_getter, &descriptor_table_greptime_2fv1_2fcommon_2eproto_once,
file_level_metadata_greptime_2fv1_2fcommon_2eproto[17]); file_level_metadata_greptime_2fv1_2fcommon_2eproto[18]);
} }
// =================================================================== // ===================================================================
@@ -4842,7 +5043,7 @@ void IntervalMonthDayNano::InternalSwap(IntervalMonthDayNano* other) {
::PROTOBUF_NAMESPACE_ID::Metadata IntervalMonthDayNano::GetMetadata() const { ::PROTOBUF_NAMESPACE_ID::Metadata IntervalMonthDayNano::GetMetadata() const {
return ::_pbi::AssignDescriptors( return ::_pbi::AssignDescriptors(
&descriptor_table_greptime_2fv1_2fcommon_2eproto_getter, &descriptor_table_greptime_2fv1_2fcommon_2eproto_once, &descriptor_table_greptime_2fv1_2fcommon_2eproto_getter, &descriptor_table_greptime_2fv1_2fcommon_2eproto_once,
file_level_metadata_greptime_2fv1_2fcommon_2eproto[18]); file_level_metadata_greptime_2fv1_2fcommon_2eproto[19]);
} }
// =================================================================== // ===================================================================
@@ -5053,7 +5254,7 @@ void TimeRange::InternalSwap(TimeRange* other) {
::PROTOBUF_NAMESPACE_ID::Metadata TimeRange::GetMetadata() const { ::PROTOBUF_NAMESPACE_ID::Metadata TimeRange::GetMetadata() const {
return ::_pbi::AssignDescriptors( return ::_pbi::AssignDescriptors(
&descriptor_table_greptime_2fv1_2fcommon_2eproto_getter, &descriptor_table_greptime_2fv1_2fcommon_2eproto_once, &descriptor_table_greptime_2fv1_2fcommon_2eproto_getter, &descriptor_table_greptime_2fv1_2fcommon_2eproto_once,
file_level_metadata_greptime_2fv1_2fcommon_2eproto[19]); file_level_metadata_greptime_2fv1_2fcommon_2eproto[20]);
} }
// =================================================================== // ===================================================================
@@ -5268,7 +5469,7 @@ void TimeRanges::InternalSwap(TimeRanges* other) {
::PROTOBUF_NAMESPACE_ID::Metadata TimeRanges::GetMetadata() const { ::PROTOBUF_NAMESPACE_ID::Metadata TimeRanges::GetMetadata() const {
return ::_pbi::AssignDescriptors( return ::_pbi::AssignDescriptors(
&descriptor_table_greptime_2fv1_2fcommon_2eproto_getter, &descriptor_table_greptime_2fv1_2fcommon_2eproto_once, &descriptor_table_greptime_2fv1_2fcommon_2eproto_getter, &descriptor_table_greptime_2fv1_2fcommon_2eproto_once,
file_level_metadata_greptime_2fv1_2fcommon_2eproto[20]); file_level_metadata_greptime_2fv1_2fcommon_2eproto[21]);
} }
// =================================================================== // ===================================================================
@@ -5479,7 +5680,7 @@ void Decimal128::InternalSwap(Decimal128* other) {
::PROTOBUF_NAMESPACE_ID::Metadata Decimal128::GetMetadata() const { ::PROTOBUF_NAMESPACE_ID::Metadata Decimal128::GetMetadata() const {
return ::_pbi::AssignDescriptors( return ::_pbi::AssignDescriptors(
&descriptor_table_greptime_2fv1_2fcommon_2eproto_getter, &descriptor_table_greptime_2fv1_2fcommon_2eproto_once, &descriptor_table_greptime_2fv1_2fcommon_2eproto_getter, &descriptor_table_greptime_2fv1_2fcommon_2eproto_once,
file_level_metadata_greptime_2fv1_2fcommon_2eproto[21]); file_level_metadata_greptime_2fv1_2fcommon_2eproto[22]);
} }
// =================================================================== // ===================================================================
@@ -5818,7 +6019,7 @@ void ColumnDataTypeExtension::InternalSwap(ColumnDataTypeExtension* other) {
::PROTOBUF_NAMESPACE_ID::Metadata ColumnDataTypeExtension::GetMetadata() const { ::PROTOBUF_NAMESPACE_ID::Metadata ColumnDataTypeExtension::GetMetadata() const {
return ::_pbi::AssignDescriptors( return ::_pbi::AssignDescriptors(
&descriptor_table_greptime_2fv1_2fcommon_2eproto_getter, &descriptor_table_greptime_2fv1_2fcommon_2eproto_once, &descriptor_table_greptime_2fv1_2fcommon_2eproto_getter, &descriptor_table_greptime_2fv1_2fcommon_2eproto_once,
file_level_metadata_greptime_2fv1_2fcommon_2eproto[22]); file_level_metadata_greptime_2fv1_2fcommon_2eproto[23]);
} }
// =================================================================== // ===================================================================
@@ -6029,7 +6230,7 @@ void DecimalTypeExtension::InternalSwap(DecimalTypeExtension* other) {
::PROTOBUF_NAMESPACE_ID::Metadata DecimalTypeExtension::GetMetadata() const { ::PROTOBUF_NAMESPACE_ID::Metadata DecimalTypeExtension::GetMetadata() const {
return ::_pbi::AssignDescriptors( return ::_pbi::AssignDescriptors(
&descriptor_table_greptime_2fv1_2fcommon_2eproto_getter, &descriptor_table_greptime_2fv1_2fcommon_2eproto_once, &descriptor_table_greptime_2fv1_2fcommon_2eproto_getter, &descriptor_table_greptime_2fv1_2fcommon_2eproto_once,
file_level_metadata_greptime_2fv1_2fcommon_2eproto[23]); file_level_metadata_greptime_2fv1_2fcommon_2eproto[24]);
} }
// =================================================================== // ===================================================================
@@ -6207,7 +6408,7 @@ void VectorTypeExtension::InternalSwap(VectorTypeExtension* other) {
::PROTOBUF_NAMESPACE_ID::Metadata VectorTypeExtension::GetMetadata() const { ::PROTOBUF_NAMESPACE_ID::Metadata VectorTypeExtension::GetMetadata() const {
return ::_pbi::AssignDescriptors( return ::_pbi::AssignDescriptors(
&descriptor_table_greptime_2fv1_2fcommon_2eproto_getter, &descriptor_table_greptime_2fv1_2fcommon_2eproto_once, &descriptor_table_greptime_2fv1_2fcommon_2eproto_getter, &descriptor_table_greptime_2fv1_2fcommon_2eproto_once,
file_level_metadata_greptime_2fv1_2fcommon_2eproto[24]); file_level_metadata_greptime_2fv1_2fcommon_2eproto[25]);
} }
// =================================================================== // ===================================================================
@@ -6221,7 +6422,7 @@ void ColumnOptions_OptionsEntry_DoNotUse::MergeFrom(const ColumnOptions_OptionsE
::PROTOBUF_NAMESPACE_ID::Metadata ColumnOptions_OptionsEntry_DoNotUse::GetMetadata() const { ::PROTOBUF_NAMESPACE_ID::Metadata ColumnOptions_OptionsEntry_DoNotUse::GetMetadata() const {
return ::_pbi::AssignDescriptors( return ::_pbi::AssignDescriptors(
&descriptor_table_greptime_2fv1_2fcommon_2eproto_getter, &descriptor_table_greptime_2fv1_2fcommon_2eproto_once, &descriptor_table_greptime_2fv1_2fcommon_2eproto_getter, &descriptor_table_greptime_2fv1_2fcommon_2eproto_once,
file_level_metadata_greptime_2fv1_2fcommon_2eproto[25]); file_level_metadata_greptime_2fv1_2fcommon_2eproto[26]);
} }
// =================================================================== // ===================================================================
@@ -6440,7 +6641,7 @@ void ColumnOptions::InternalSwap(ColumnOptions* other) {
::PROTOBUF_NAMESPACE_ID::Metadata ColumnOptions::GetMetadata() const { ::PROTOBUF_NAMESPACE_ID::Metadata ColumnOptions::GetMetadata() const {
return ::_pbi::AssignDescriptors( return ::_pbi::AssignDescriptors(
&descriptor_table_greptime_2fv1_2fcommon_2eproto_getter, &descriptor_table_greptime_2fv1_2fcommon_2eproto_once, &descriptor_table_greptime_2fv1_2fcommon_2eproto_getter, &descriptor_table_greptime_2fv1_2fcommon_2eproto_once,
file_level_metadata_greptime_2fv1_2fcommon_2eproto[26]); file_level_metadata_greptime_2fv1_2fcommon_2eproto[27]);
} }
// =================================================================== // ===================================================================
@@ -6728,7 +6929,7 @@ void ArrowIpc::InternalSwap(ArrowIpc* other) {
::PROTOBUF_NAMESPACE_ID::Metadata ArrowIpc::GetMetadata() const { ::PROTOBUF_NAMESPACE_ID::Metadata ArrowIpc::GetMetadata() const {
return ::_pbi::AssignDescriptors( return ::_pbi::AssignDescriptors(
&descriptor_table_greptime_2fv1_2fcommon_2eproto_getter, &descriptor_table_greptime_2fv1_2fcommon_2eproto_once, &descriptor_table_greptime_2fv1_2fcommon_2eproto_getter, &descriptor_table_greptime_2fv1_2fcommon_2eproto_once,
file_level_metadata_greptime_2fv1_2fcommon_2eproto[27]); file_level_metadata_greptime_2fv1_2fcommon_2eproto[28]);
} }
// @@protoc_insertion_point(namespace_scope) // @@protoc_insertion_point(namespace_scope)
@@ -6803,6 +7004,10 @@ template<> PROTOBUF_NOINLINE ::greptime::v1::ExpireAfter*
Arena::CreateMaybeMessage< ::greptime::v1::ExpireAfter >(Arena* arena) { Arena::CreateMaybeMessage< ::greptime::v1::ExpireAfter >(Arena* arena) {
return Arena::CreateMessageInternal< ::greptime::v1::ExpireAfter >(arena); return Arena::CreateMessageInternal< ::greptime::v1::ExpireAfter >(arena);
} }
template<> PROTOBUF_NOINLINE ::greptime::v1::EvalInterval*
Arena::CreateMaybeMessage< ::greptime::v1::EvalInterval >(Arena* arena) {
return Arena::CreateMessageInternal< ::greptime::v1::EvalInterval >(arena);
}
template<> PROTOBUF_NOINLINE ::greptime::v1::FlightMetadata* template<> PROTOBUF_NOINLINE ::greptime::v1::FlightMetadata*
Arena::CreateMaybeMessage< ::greptime::v1::FlightMetadata >(Arena* arena) { Arena::CreateMaybeMessage< ::greptime::v1::FlightMetadata >(Arena* arena) {
return Arena::CreateMessageInternal< ::greptime::v1::FlightMetadata >(arena); return Arena::CreateMessageInternal< ::greptime::v1::FlightMetadata >(arena);
+188 -10
View File
@@ -77,6 +77,9 @@ extern Decimal128DefaultTypeInternal _Decimal128_default_instance_;
class DecimalTypeExtension; class DecimalTypeExtension;
struct DecimalTypeExtensionDefaultTypeInternal; struct DecimalTypeExtensionDefaultTypeInternal;
extern DecimalTypeExtensionDefaultTypeInternal _DecimalTypeExtension_default_instance_; extern DecimalTypeExtensionDefaultTypeInternal _DecimalTypeExtension_default_instance_;
class EvalInterval;
struct EvalIntervalDefaultTypeInternal;
extern EvalIntervalDefaultTypeInternal _EvalInterval_default_instance_;
class ExpireAfter; class ExpireAfter;
struct ExpireAfterDefaultTypeInternal; struct ExpireAfterDefaultTypeInternal;
extern ExpireAfterDefaultTypeInternal _ExpireAfter_default_instance_; extern ExpireAfterDefaultTypeInternal _ExpireAfter_default_instance_;
@@ -146,6 +149,7 @@ template<> ::greptime::v1::ColumnOptions* Arena::CreateMaybeMessage<::greptime::
template<> ::greptime::v1::ColumnOptions_OptionsEntry_DoNotUse* Arena::CreateMaybeMessage<::greptime::v1::ColumnOptions_OptionsEntry_DoNotUse>(Arena*); template<> ::greptime::v1::ColumnOptions_OptionsEntry_DoNotUse* Arena::CreateMaybeMessage<::greptime::v1::ColumnOptions_OptionsEntry_DoNotUse>(Arena*);
template<> ::greptime::v1::Decimal128* Arena::CreateMaybeMessage<::greptime::v1::Decimal128>(Arena*); template<> ::greptime::v1::Decimal128* Arena::CreateMaybeMessage<::greptime::v1::Decimal128>(Arena*);
template<> ::greptime::v1::DecimalTypeExtension* Arena::CreateMaybeMessage<::greptime::v1::DecimalTypeExtension>(Arena*); template<> ::greptime::v1::DecimalTypeExtension* Arena::CreateMaybeMessage<::greptime::v1::DecimalTypeExtension>(Arena*);
template<> ::greptime::v1::EvalInterval* Arena::CreateMaybeMessage<::greptime::v1::EvalInterval>(Arena*);
template<> ::greptime::v1::ExpireAfter* Arena::CreateMaybeMessage<::greptime::v1::ExpireAfter>(Arena*); template<> ::greptime::v1::ExpireAfter* Arena::CreateMaybeMessage<::greptime::v1::ExpireAfter>(Arena*);
template<> ::greptime::v1::ExplainOptions* Arena::CreateMaybeMessage<::greptime::v1::ExplainOptions>(Arena*); template<> ::greptime::v1::ExplainOptions* Arena::CreateMaybeMessage<::greptime::v1::ExplainOptions>(Arena*);
template<> ::greptime::v1::FlightMetadata* Arena::CreateMaybeMessage<::greptime::v1::FlightMetadata>(Arena*); template<> ::greptime::v1::FlightMetadata* Arena::CreateMaybeMessage<::greptime::v1::FlightMetadata>(Arena*);
@@ -2720,6 +2724,154 @@ class ExpireAfter final :
}; };
// ------------------------------------------------------------------- // -------------------------------------------------------------------
class EvalInterval final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.EvalInterval) */ {
public:
inline EvalInterval() : EvalInterval(nullptr) {}
~EvalInterval() override;
explicit PROTOBUF_CONSTEXPR EvalInterval(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
EvalInterval(const EvalInterval& from);
EvalInterval(EvalInterval&& from) noexcept
: EvalInterval() {
*this = ::std::move(from);
}
inline EvalInterval& operator=(const EvalInterval& from) {
CopyFrom(from);
return *this;
}
inline EvalInterval& operator=(EvalInterval&& 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 EvalInterval& default_instance() {
return *internal_default_instance();
}
static inline const EvalInterval* internal_default_instance() {
return reinterpret_cast<const EvalInterval*>(
&_EvalInterval_default_instance_);
}
static constexpr int kIndexInFileMessages =
17;
friend void swap(EvalInterval& a, EvalInterval& b) {
a.Swap(&b);
}
inline void Swap(EvalInterval* 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(EvalInterval* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
EvalInterval* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<EvalInterval>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const EvalInterval& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom( const EvalInterval& from) {
EvalInterval::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(EvalInterval* other);
private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "greptime.v1.EvalInterval";
}
protected:
explicit EvalInterval(::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 {
kSecondsFieldNumber = 1,
};
// int64 seconds = 1;
void clear_seconds();
int64_t seconds() const;
void set_seconds(int64_t value);
private:
int64_t _internal_seconds() const;
void _internal_set_seconds(int64_t value);
public:
// @@protoc_insertion_point(class_scope:greptime.v1.EvalInterval)
private:
class _Internal;
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
struct Impl_ {
int64_t seconds_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
};
union { Impl_ _impl_; };
friend struct ::TableStruct_greptime_2fv1_2fcommon_2eproto;
};
// -------------------------------------------------------------------
class FlightMetadata final : class FlightMetadata final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.FlightMetadata) */ { public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.FlightMetadata) */ {
public: public:
@@ -2768,7 +2920,7 @@ class FlightMetadata final :
&_FlightMetadata_default_instance_); &_FlightMetadata_default_instance_);
} }
static constexpr int kIndexInFileMessages = static constexpr int kIndexInFileMessages =
17; 18;
friend void swap(FlightMetadata& a, FlightMetadata& b) { friend void swap(FlightMetadata& a, FlightMetadata& b) {
a.Swap(&b); a.Swap(&b);
@@ -2945,7 +3097,7 @@ class IntervalMonthDayNano final :
&_IntervalMonthDayNano_default_instance_); &_IntervalMonthDayNano_default_instance_);
} }
static constexpr int kIndexInFileMessages = static constexpr int kIndexInFileMessages =
18; 19;
friend void swap(IntervalMonthDayNano& a, IntervalMonthDayNano& b) { friend void swap(IntervalMonthDayNano& a, IntervalMonthDayNano& b) {
a.Swap(&b); a.Swap(&b);
@@ -3115,7 +3267,7 @@ class TimeRange final :
&_TimeRange_default_instance_); &_TimeRange_default_instance_);
} }
static constexpr int kIndexInFileMessages = static constexpr int kIndexInFileMessages =
19; 20;
friend void swap(TimeRange& a, TimeRange& b) { friend void swap(TimeRange& a, TimeRange& b) {
a.Swap(&b); a.Swap(&b);
@@ -3274,7 +3426,7 @@ class TimeRanges final :
&_TimeRanges_default_instance_); &_TimeRanges_default_instance_);
} }
static constexpr int kIndexInFileMessages = static constexpr int kIndexInFileMessages =
20; 21;
friend void swap(TimeRanges& a, TimeRanges& b) { friend void swap(TimeRanges& a, TimeRanges& b) {
a.Swap(&b); a.Swap(&b);
@@ -3442,7 +3594,7 @@ class Decimal128 final :
&_Decimal128_default_instance_); &_Decimal128_default_instance_);
} }
static constexpr int kIndexInFileMessages = static constexpr int kIndexInFileMessages =
21; 22;
friend void swap(Decimal128& a, Decimal128& b) { friend void swap(Decimal128& a, Decimal128& b) {
a.Swap(&b); a.Swap(&b);
@@ -3608,7 +3760,7 @@ class ColumnDataTypeExtension final :
&_ColumnDataTypeExtension_default_instance_); &_ColumnDataTypeExtension_default_instance_);
} }
static constexpr int kIndexInFileMessages = static constexpr int kIndexInFileMessages =
22; 23;
friend void swap(ColumnDataTypeExtension& a, ColumnDataTypeExtension& b) { friend void swap(ColumnDataTypeExtension& a, ColumnDataTypeExtension& b) {
a.Swap(&b); a.Swap(&b);
@@ -3814,7 +3966,7 @@ class DecimalTypeExtension final :
&_DecimalTypeExtension_default_instance_); &_DecimalTypeExtension_default_instance_);
} }
static constexpr int kIndexInFileMessages = static constexpr int kIndexInFileMessages =
23; 24;
friend void swap(DecimalTypeExtension& a, DecimalTypeExtension& b) { friend void swap(DecimalTypeExtension& a, DecimalTypeExtension& b) {
a.Swap(&b); a.Swap(&b);
@@ -3973,7 +4125,7 @@ class VectorTypeExtension final :
&_VectorTypeExtension_default_instance_); &_VectorTypeExtension_default_instance_);
} }
static constexpr int kIndexInFileMessages = static constexpr int kIndexInFileMessages =
24; 25;
friend void swap(VectorTypeExtension& a, VectorTypeExtension& b) { friend void swap(VectorTypeExtension& a, VectorTypeExtension& b) {
a.Swap(&b); a.Swap(&b);
@@ -4149,7 +4301,7 @@ class ColumnOptions final :
&_ColumnOptions_default_instance_); &_ColumnOptions_default_instance_);
} }
static constexpr int kIndexInFileMessages = static constexpr int kIndexInFileMessages =
26; 27;
friend void swap(ColumnOptions& a, ColumnOptions& b) { friend void swap(ColumnOptions& a, ColumnOptions& b) {
a.Swap(&b); a.Swap(&b);
@@ -4312,7 +4464,7 @@ class ArrowIpc final :
&_ArrowIpc_default_instance_); &_ArrowIpc_default_instance_);
} }
static constexpr int kIndexInFileMessages = static constexpr int kIndexInFileMessages =
27; 28;
friend void swap(ArrowIpc& a, ArrowIpc& b) { friend void swap(ArrowIpc& a, ArrowIpc& b) {
a.Swap(&b); a.Swap(&b);
@@ -5999,6 +6151,30 @@ inline void ExpireAfter::set_value(int64_t value) {
// ------------------------------------------------------------------- // -------------------------------------------------------------------
// EvalInterval
// int64 seconds = 1;
inline void EvalInterval::clear_seconds() {
_impl_.seconds_ = int64_t{0};
}
inline int64_t EvalInterval::_internal_seconds() const {
return _impl_.seconds_;
}
inline int64_t EvalInterval::seconds() const {
// @@protoc_insertion_point(field_get:greptime.v1.EvalInterval.seconds)
return _internal_seconds();
}
inline void EvalInterval::_internal_set_seconds(int64_t value) {
_impl_.seconds_ = value;
}
inline void EvalInterval::set_seconds(int64_t value) {
_internal_set_seconds(value);
// @@protoc_insertion_point(field_set:greptime.v1.EvalInterval.seconds)
}
// -------------------------------------------------------------------
// FlightMetadata // FlightMetadata
// .greptime.v1.AffectedRows affected_rows = 1; // .greptime.v1.AffectedRows affected_rows = 1;
@@ -6910,6 +7086,8 @@ inline void ArrowIpc::set_allocated_payload(std::string* payload) {
// ------------------------------------------------------------------- // -------------------------------------------------------------------
// -------------------------------------------------------------------
// @@protoc_insertion_point(namespace_scope) // @@protoc_insertion_point(namespace_scope)
+255 -205
View File
@@ -57,6 +57,7 @@ PROTOBUF_CONSTEXPR CreateFlowExpr::CreateFlowExpr(
, /*decltype(_impl_.sql_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}} , /*decltype(_impl_.sql_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
, /*decltype(_impl_.sink_table_name_)*/nullptr , /*decltype(_impl_.sink_table_name_)*/nullptr
, /*decltype(_impl_.expire_after_)*/nullptr , /*decltype(_impl_.expire_after_)*/nullptr
, /*decltype(_impl_.eval_interval_)*/nullptr
, /*decltype(_impl_.or_replace_)*/false , /*decltype(_impl_.or_replace_)*/false
, /*decltype(_impl_.create_if_not_exists_)*/false , /*decltype(_impl_.create_if_not_exists_)*/false
, /*decltype(_impl_._cached_size_)*/{}} {} , /*decltype(_impl_._cached_size_)*/{}} {}
@@ -828,6 +829,7 @@ const uint32_t TableStruct_greptime_2fv1_2fddl_2eproto::offsets[] PROTOBUF_SECTI
PROTOBUF_FIELD_OFFSET(::greptime::v1::CreateFlowExpr, _impl_.or_replace_), PROTOBUF_FIELD_OFFSET(::greptime::v1::CreateFlowExpr, _impl_.or_replace_),
PROTOBUF_FIELD_OFFSET(::greptime::v1::CreateFlowExpr, _impl_.create_if_not_exists_), PROTOBUF_FIELD_OFFSET(::greptime::v1::CreateFlowExpr, _impl_.create_if_not_exists_),
PROTOBUF_FIELD_OFFSET(::greptime::v1::CreateFlowExpr, _impl_.expire_after_), PROTOBUF_FIELD_OFFSET(::greptime::v1::CreateFlowExpr, _impl_.expire_after_),
PROTOBUF_FIELD_OFFSET(::greptime::v1::CreateFlowExpr, _impl_.eval_interval_),
PROTOBUF_FIELD_OFFSET(::greptime::v1::CreateFlowExpr, _impl_.comment_), PROTOBUF_FIELD_OFFSET(::greptime::v1::CreateFlowExpr, _impl_.comment_),
PROTOBUF_FIELD_OFFSET(::greptime::v1::CreateFlowExpr, _impl_.sql_), PROTOBUF_FIELD_OFFSET(::greptime::v1::CreateFlowExpr, _impl_.sql_),
PROTOBUF_FIELD_OFFSET(::greptime::v1::CreateFlowExpr, _impl_.flow_options_), PROTOBUF_FIELD_OFFSET(::greptime::v1::CreateFlowExpr, _impl_.flow_options_),
@@ -1295,55 +1297,55 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode
{ 0, -1, -1, sizeof(::greptime::v1::DdlRequest)}, { 0, -1, -1, sizeof(::greptime::v1::DdlRequest)},
{ 17, 25, -1, sizeof(::greptime::v1::CreateFlowExpr_FlowOptionsEntry_DoNotUse)}, { 17, 25, -1, sizeof(::greptime::v1::CreateFlowExpr_FlowOptionsEntry_DoNotUse)},
{ 27, -1, -1, sizeof(::greptime::v1::CreateFlowExpr)}, { 27, -1, -1, sizeof(::greptime::v1::CreateFlowExpr)},
{ 43, -1, -1, sizeof(::greptime::v1::DropFlowExpr)}, { 44, -1, -1, sizeof(::greptime::v1::DropFlowExpr)},
{ 53, -1, -1, sizeof(::greptime::v1::CreateViewExpr)}, { 54, -1, -1, sizeof(::greptime::v1::CreateViewExpr)},
{ 69, -1, -1, sizeof(::greptime::v1::DropViewExpr)}, { 70, -1, -1, sizeof(::greptime::v1::DropViewExpr)},
{ 80, 88, -1, sizeof(::greptime::v1::CreateTableExpr_TableOptionsEntry_DoNotUse)}, { 81, 89, -1, sizeof(::greptime::v1::CreateTableExpr_TableOptionsEntry_DoNotUse)},
{ 90, -1, -1, sizeof(::greptime::v1::CreateTableExpr)}, { 91, -1, -1, sizeof(::greptime::v1::CreateTableExpr)},
{ 107, -1, -1, sizeof(::greptime::v1::AlterTableExpr)}, { 108, -1, -1, sizeof(::greptime::v1::AlterTableExpr)},
{ 129, -1, -1, sizeof(::greptime::v1::DropDefault)}, { 130, -1, -1, sizeof(::greptime::v1::DropDefault)},
{ 136, -1, -1, sizeof(::greptime::v1::SetIndexes)}, { 137, -1, -1, sizeof(::greptime::v1::SetIndexes)},
{ 143, -1, -1, sizeof(::greptime::v1::UnsetIndexes)}, { 144, -1, -1, sizeof(::greptime::v1::UnsetIndexes)},
{ 150, -1, -1, sizeof(::greptime::v1::SetDefault)}, { 151, -1, -1, sizeof(::greptime::v1::SetDefault)},
{ 158, -1, -1, sizeof(::greptime::v1::SetIndex)}, { 159, -1, -1, sizeof(::greptime::v1::SetIndex)},
{ 168, -1, -1, sizeof(::greptime::v1::UnsetIndex)}, { 169, -1, -1, sizeof(::greptime::v1::UnsetIndex)},
{ 178, -1, -1, sizeof(::greptime::v1::DropTableExpr)}, { 179, -1, -1, sizeof(::greptime::v1::DropTableExpr)},
{ 189, 197, -1, sizeof(::greptime::v1::CreateDatabaseExpr_OptionsEntry_DoNotUse)}, { 190, 198, -1, sizeof(::greptime::v1::CreateDatabaseExpr_OptionsEntry_DoNotUse)},
{ 199, -1, -1, sizeof(::greptime::v1::CreateDatabaseExpr)}, { 200, -1, -1, sizeof(::greptime::v1::CreateDatabaseExpr)},
{ 209, -1, -1, sizeof(::greptime::v1::TruncateTableExpr)}, { 210, -1, -1, sizeof(::greptime::v1::TruncateTableExpr)},
{ 220, -1, -1, sizeof(::greptime::v1::DropDatabaseExpr)}, { 221, -1, -1, sizeof(::greptime::v1::DropDatabaseExpr)},
{ 229, -1, -1, sizeof(::greptime::v1::AddColumns)}, { 230, -1, -1, sizeof(::greptime::v1::AddColumns)},
{ 236, -1, -1, sizeof(::greptime::v1::DropDefaults)}, { 237, -1, -1, sizeof(::greptime::v1::DropDefaults)},
{ 243, -1, -1, sizeof(::greptime::v1::SetDefaults)}, { 244, -1, -1, sizeof(::greptime::v1::SetDefaults)},
{ 250, -1, -1, sizeof(::greptime::v1::DropColumns)}, { 251, -1, -1, sizeof(::greptime::v1::DropColumns)},
{ 257, -1, -1, sizeof(::greptime::v1::ModifyColumnTypes)}, { 258, -1, -1, sizeof(::greptime::v1::ModifyColumnTypes)},
{ 264, -1, -1, sizeof(::greptime::v1::RenameTable)}, { 265, -1, -1, sizeof(::greptime::v1::RenameTable)},
{ 271, -1, -1, sizeof(::greptime::v1::AddColumn)}, { 272, -1, -1, sizeof(::greptime::v1::AddColumn)},
{ 280, -1, -1, sizeof(::greptime::v1::ModifyColumnType)}, { 281, -1, -1, sizeof(::greptime::v1::ModifyColumnType)},
{ 289, -1, -1, sizeof(::greptime::v1::Option)}, { 290, -1, -1, sizeof(::greptime::v1::Option)},
{ 297, -1, -1, sizeof(::greptime::v1::SetTableOptions)}, { 298, -1, -1, sizeof(::greptime::v1::SetTableOptions)},
{ 304, -1, -1, sizeof(::greptime::v1::UnsetTableOptions)}, { 305, -1, -1, sizeof(::greptime::v1::UnsetTableOptions)},
{ 311, -1, -1, sizeof(::greptime::v1::DropColumn)}, { 312, -1, -1, sizeof(::greptime::v1::DropColumn)},
{ 318, -1, -1, sizeof(::greptime::v1::TableId)}, { 319, -1, -1, sizeof(::greptime::v1::TableId)},
{ 325, -1, -1, sizeof(::greptime::v1::FlowId)}, { 326, -1, -1, sizeof(::greptime::v1::FlowId)},
{ 332, -1, -1, sizeof(::greptime::v1::ColumnDef)}, { 333, -1, -1, sizeof(::greptime::v1::ColumnDef)},
{ 346, -1, -1, sizeof(::greptime::v1::AddColumnLocation)}, { 347, -1, -1, sizeof(::greptime::v1::AddColumnLocation)},
{ 354, -1, -1, sizeof(::greptime::v1::SetFulltext)}, { 355, -1, -1, sizeof(::greptime::v1::SetFulltext)},
{ 367, -1, -1, sizeof(::greptime::v1::UnsetFulltext)}, { 368, -1, -1, sizeof(::greptime::v1::UnsetFulltext)},
{ 374, -1, -1, sizeof(::greptime::v1::SetInverted)}, { 375, -1, -1, sizeof(::greptime::v1::SetInverted)},
{ 381, -1, -1, sizeof(::greptime::v1::UnsetInverted)}, { 382, -1, -1, sizeof(::greptime::v1::UnsetInverted)},
{ 388, -1, -1, sizeof(::greptime::v1::SetSkipping)}, { 389, -1, -1, sizeof(::greptime::v1::SetSkipping)},
{ 399, -1, -1, sizeof(::greptime::v1::UnsetSkipping)}, { 400, -1, -1, sizeof(::greptime::v1::UnsetSkipping)},
{ 406, -1, -1, sizeof(::greptime::v1::AlterDatabaseExpr)}, { 407, -1, -1, sizeof(::greptime::v1::AlterDatabaseExpr)},
{ 417, -1, -1, sizeof(::greptime::v1::SetDatabaseOptions)}, { 418, -1, -1, sizeof(::greptime::v1::SetDatabaseOptions)},
{ 424, -1, -1, sizeof(::greptime::v1::UnsetDatabaseOptions)}, { 425, -1, -1, sizeof(::greptime::v1::UnsetDatabaseOptions)},
{ 431, 439, -1, sizeof(::greptime::v1::CreateTriggerExpr_LabelsEntry_DoNotUse)}, { 432, 440, -1, sizeof(::greptime::v1::CreateTriggerExpr_LabelsEntry_DoNotUse)},
{ 441, 449, -1, sizeof(::greptime::v1::CreateTriggerExpr_AnnotationsEntry_DoNotUse)}, { 442, 450, -1, sizeof(::greptime::v1::CreateTriggerExpr_AnnotationsEntry_DoNotUse)},
{ 451, -1, -1, sizeof(::greptime::v1::CreateTriggerExpr)}, { 452, -1, -1, sizeof(::greptime::v1::CreateTriggerExpr)},
{ 466, -1, -1, sizeof(::greptime::v1::NotifyChannel)}, { 467, -1, -1, sizeof(::greptime::v1::NotifyChannel)},
{ 475, 483, -1, sizeof(::greptime::v1::WebhookOptions_OptsEntry_DoNotUse)}, { 476, 484, -1, sizeof(::greptime::v1::WebhookOptions_OptsEntry_DoNotUse)},
{ 485, -1, -1, sizeof(::greptime::v1::WebhookOptions)}, { 486, -1, -1, sizeof(::greptime::v1::WebhookOptions)},
{ 493, -1, -1, sizeof(::greptime::v1::DropTriggerExpr)}, { 494, -1, -1, sizeof(::greptime::v1::DropTriggerExpr)},
}; };
static const ::_pb::Message* const file_default_instances[] = { static const ::_pb::Message* const file_default_instances[] = {
@@ -1418,166 +1420,167 @@ const char descriptor_table_protodef_greptime_2fv1_2fddl_2eproto[] PROTOBUF_SECT
"reateViewExprH\000\022.\n\tdrop_view\030\013 \001(\0132\031.gre" "reateViewExprH\000\022.\n\tdrop_view\030\013 \001(\0132\031.gre"
"ptime.v1.DropViewExprH\000\0228\n\016alter_databas" "ptime.v1.DropViewExprH\000\0228\n\016alter_databas"
"e\030\014 \001(\0132\036.greptime.v1.AlterDatabaseExprH" "e\030\014 \001(\0132\036.greptime.v1.AlterDatabaseExprH"
"\000B\006\n\004expr\"\226\003\n\016CreateFlowExpr\022\024\n\014catalog_" "\000B\006\n\004expr\"\310\003\n\016CreateFlowExpr\022\024\n\014catalog_"
"name\030\001 \001(\t\022\021\n\tflow_name\030\002 \001(\t\0222\n\022source_" "name\030\001 \001(\t\022\021\n\tflow_name\030\002 \001(\t\0222\n\022source_"
"table_names\030\003 \003(\0132\026.greptime.v1.TableNam" "table_names\030\003 \003(\0132\026.greptime.v1.TableNam"
"e\022/\n\017sink_table_name\030\004 \001(\0132\026.greptime.v1" "e\022/\n\017sink_table_name\030\004 \001(\0132\026.greptime.v1"
".TableName\022\022\n\nor_replace\030\005 \001(\010\022\034\n\024create" ".TableName\022\022\n\nor_replace\030\005 \001(\010\022\034\n\024create"
"_if_not_exists\030\006 \001(\010\022.\n\014expire_after\030\007 \001" "_if_not_exists\030\006 \001(\010\022.\n\014expire_after\030\007 \001"
"(\0132\030.greptime.v1.ExpireAfter\022\017\n\007comment\030" "(\0132\030.greptime.v1.ExpireAfter\0220\n\reval_int"
"\010 \001(\t\022\013\n\003sql\030\t \001(\t\022B\n\014flow_options\030\n \003(\013" "erval\030\013 \001(\0132\031.greptime.v1.EvalInterval\022\017"
"2,.greptime.v1.CreateFlowExpr.FlowOption" "\n\007comment\030\010 \001(\t\022\013\n\003sql\030\t \001(\t\022B\n\014flow_opt"
"sEntry\0322\n\020FlowOptionsEntry\022\013\n\003key\030\001 \001(\t\022" "ions\030\n \003(\0132,.greptime.v1.CreateFlowExpr."
"\r\n\005value\030\002 \001(\t:\0028\001\"u\n\014DropFlowExpr\022\024\n\014ca" "FlowOptionsEntry\0322\n\020FlowOptionsEntry\022\013\n\003"
"talog_name\030\001 \001(\t\022\021\n\tflow_name\030\002 \001(\t\022$\n\007f" "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"u\n\014DropFlow"
"low_id\030\003 \001(\0132\023.greptime.v1.FlowId\022\026\n\016dro" "Expr\022\024\n\014catalog_name\030\001 \001(\t\022\021\n\tflow_name\030"
"p_if_exists\030\005 \001(\010\"\376\001\n\016CreateViewExpr\022\024\n\014" "\002 \001(\t\022$\n\007flow_id\030\003 \001(\0132\023.greptime.v1.Flo"
"catalog_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022" "wId\022\026\n\016drop_if_exists\030\005 \001(\010\"\376\001\n\016CreateVi"
"\021\n\tview_name\030\003 \001(\t\022\024\n\014logical_plan\030\004 \001(\014" "ewExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_n"
"\022\034\n\024create_if_not_exists\030\005 \001(\010\022\022\n\nor_rep" "ame\030\002 \001(\t\022\021\n\tview_name\030\003 \001(\t\022\024\n\014logical_"
"lace\030\006 \001(\010\022+\n\013table_names\030\007 \003(\0132\026.grepti" "plan\030\004 \001(\014\022\034\n\024create_if_not_exists\030\005 \001(\010"
"me.v1.TableName\022\017\n\007columns\030\010 \003(\t\022\024\n\014plan" "\022\022\n\nor_replace\030\006 \001(\010\022+\n\013table_names\030\007 \003("
"_columns\030\t \003(\t\022\022\n\ndefinition\030\n \001(\t\"\213\001\n\014D" "\0132\026.greptime.v1.TableName\022\017\n\007columns\030\010 \003"
"ropViewExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013sch" "(\t\022\024\n\014plan_columns\030\t \003(\t\022\022\n\ndefinition\030\n"
"ema_name\030\002 \001(\t\022\021\n\tview_name\030\003 \001(\t\022%\n\007vie" " \001(\t\"\213\001\n\014DropViewExpr\022\024\n\014catalog_name\030\001 "
"w_id\030\004 \001(\0132\024.greptime.v1.TableId\022\026\n\016drop" "\001(\t\022\023\n\013schema_name\030\002 \001(\t\022\021\n\tview_name\030\003 "
"_if_exists\030\005 \001(\010\"\207\003\n\017CreateTableExpr\022\024\n\014" "\001(\t\022%\n\007view_id\030\004 \001(\0132\024.greptime.v1.Table"
"catalog_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022" "Id\022\026\n\016drop_if_exists\030\005 \001(\010\"\207\003\n\017CreateTab"
"\022\n\ntable_name\030\003 \001(\t\022\014\n\004desc\030\004 \001(\t\022+\n\013col" "leExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_n"
"umn_defs\030\005 \003(\0132\026.greptime.v1.ColumnDef\022\022" "ame\030\002 \001(\t\022\022\n\ntable_name\030\003 \001(\t\022\014\n\004desc\030\004 "
"\n\ntime_index\030\006 \001(\t\022\024\n\014primary_keys\030\007 \003(\t" "\001(\t\022+\n\013column_defs\030\005 \003(\0132\026.greptime.v1.C"
"\022\034\n\024create_if_not_exists\030\010 \001(\010\022E\n\rtable_" "olumnDef\022\022\n\ntime_index\030\006 \001(\t\022\024\n\014primary_"
"options\030\t \003(\0132..greptime.v1.CreateTableE" "keys\030\007 \003(\t\022\034\n\024create_if_not_exists\030\010 \001(\010"
"xpr.TableOptionsEntry\022&\n\010table_id\030\n \001(\0132" "\022E\n\rtable_options\030\t \003(\0132..greptime.v1.Cr"
"\024.greptime.v1.TableId\022\016\n\006engine\030\014 \001(\t\0323\n" "eateTableExpr.TableOptionsEntry\022&\n\010table"
"\021TableOptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value" "_id\030\n \001(\0132\024.greptime.v1.TableId\022\016\n\006engin"
"\030\002 \001(\t:\0028\001\"\312\005\n\016AlterTableExpr\022\024\n\014catalog" "e\030\014 \001(\t\0323\n\021TableOptionsEntry\022\013\n\003key\030\001 \001("
"_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\022\n\ntabl" "\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\312\005\n\016AlterTableExpr\022"
"e_name\030\003 \001(\t\022.\n\013add_columns\030\004 \001(\0132\027.grep" "\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001"
"time.v1.AddColumnsH\000\0220\n\014drop_columns\030\005 \001" "(\t\022\022\n\ntable_name\030\003 \001(\t\022.\n\013add_columns\030\004 "
"(\0132\030.greptime.v1.DropColumnsH\000\0220\n\014rename" "\001(\0132\027.greptime.v1.AddColumnsH\000\0220\n\014drop_c"
"_table\030\006 \001(\0132\030.greptime.v1.RenameTableH\000" "olumns\030\005 \001(\0132\030.greptime.v1.DropColumnsH\000"
"\022=\n\023modify_column_types\030\007 \001(\0132\036.greptime" "\0220\n\014rename_table\030\006 \001(\0132\030.greptime.v1.Ren"
".v1.ModifyColumnTypesH\000\0229\n\021set_table_opt" "ameTableH\000\022=\n\023modify_column_types\030\007 \001(\0132"
"ions\030\010 \001(\0132\034.greptime.v1.SetTableOptions" "\036.greptime.v1.ModifyColumnTypesH\000\0229\n\021set"
"H\000\022=\n\023unset_table_options\030\013 \001(\0132\036.grepti" "_table_options\030\010 \001(\0132\034.greptime.v1.SetTa"
"me.v1.UnsetTableOptionsH\000\022*\n\tset_index\030\014" "bleOptionsH\000\022=\n\023unset_table_options\030\013 \001("
" \001(\0132\025.greptime.v1.SetIndexH\000\022.\n\013unset_i" "\0132\036.greptime.v1.UnsetTableOptionsH\000\022*\n\ts"
"ndex\030\r \001(\0132\027.greptime.v1.UnsetIndexH\000\0222\n" "et_index\030\014 \001(\0132\025.greptime.v1.SetIndexH\000\022"
"\rdrop_defaults\030\016 \001(\0132\031.greptime.v1.DropD" ".\n\013unset_index\030\r \001(\0132\027.greptime.v1.Unset"
"efaultsH\000\022.\n\013set_indexes\030\017 \001(\0132\027.greptim" "IndexH\000\0222\n\rdrop_defaults\030\016 \001(\0132\031.greptim"
"e.v1.SetIndexesH\000\0222\n\runset_indexes\030\020 \001(\013" "e.v1.DropDefaultsH\000\022.\n\013set_indexes\030\017 \001(\013"
"2\031.greptime.v1.UnsetIndexesH\000\0220\n\014set_def" "2\027.greptime.v1.SetIndexesH\000\0222\n\runset_ind"
"aults\030\021 \001(\0132\030.greptime.v1.SetDefaultsH\000B" "exes\030\020 \001(\0132\031.greptime.v1.UnsetIndexesH\000\022"
"\006\n\004kind\"\"\n\013DropDefault\022\023\n\013column_name\030\001 " "0\n\014set_defaults\030\021 \001(\0132\030.greptime.v1.SetD"
"\001(\t\"8\n\nSetIndexes\022*\n\013set_indexes\030\001 \003(\0132\025" "efaultsH\000B\006\n\004kind\"\"\n\013DropDefault\022\023\n\013colu"
".greptime.v1.SetIndex\">\n\014UnsetIndexes\022.\n" "mn_name\030\001 \001(\t\"8\n\nSetIndexes\022*\n\013set_index"
"\runset_indexes\030\001 \003(\0132\027.greptime.v1.Unset" "es\030\001 \003(\0132\025.greptime.v1.SetIndex\">\n\014Unset"
"Index\"=\n\nSetDefault\022\023\n\013column_name\030\001 \001(\t" "Indexes\022.\n\runset_indexes\030\001 \003(\0132\027.greptim"
"\022\032\n\022default_constraint\030\002 \001(\014\"\237\001\n\010SetInde" "e.v1.UnsetIndex\"=\n\nSetDefault\022\023\n\013column_"
"x\022,\n\010fulltext\030\001 \001(\0132\030.greptime.v1.SetFul" "name\030\001 \001(\t\022\032\n\022default_constraint\030\002 \001(\014\"\237"
"ltextH\000\022,\n\010inverted\030\002 \001(\0132\030.greptime.v1." "\001\n\010SetIndex\022,\n\010fulltext\030\001 \001(\0132\030.greptime"
"SetInvertedH\000\022,\n\010skipping\030\003 \001(\0132\030.grepti" ".v1.SetFulltextH\000\022,\n\010inverted\030\002 \001(\0132\030.gr"
"me.v1.SetSkippingH\000B\t\n\007options\"\247\001\n\nUnset" "eptime.v1.SetInvertedH\000\022,\n\010skipping\030\003 \001("
"Index\022.\n\010fulltext\030\001 \001(\0132\032.greptime.v1.Un" "\0132\030.greptime.v1.SetSkippingH\000B\t\n\007options"
"setFulltextH\000\022.\n\010inverted\030\002 \001(\0132\032.grepti" "\"\247\001\n\nUnsetIndex\022.\n\010fulltext\030\001 \001(\0132\032.grep"
"me.v1.UnsetInvertedH\000\022.\n\010skipping\030\003 \001(\0132" "time.v1.UnsetFulltextH\000\022.\n\010inverted\030\002 \001("
"\032.greptime.v1.UnsetSkippingH\000B\t\n\007options" "\0132\032.greptime.v1.UnsetInvertedH\000\022.\n\010skipp"
"\"\216\001\n\rDropTableExpr\022\024\n\014catalog_name\030\001 \001(\t" "ing\030\003 \001(\0132\032.greptime.v1.UnsetSkippingH\000B"
"\022\023\n\013schema_name\030\002 \001(\t\022\022\n\ntable_name\030\003 \001(" "\t\n\007options\"\216\001\n\rDropTableExpr\022\024\n\014catalog_"
"\t\022&\n\010table_id\030\004 \001(\0132\024.greptime.v1.TableI" "name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\022\n\ntable"
"d\022\026\n\016drop_if_exists\030\005 \001(\010\"\314\001\n\022CreateData" "_name\030\003 \001(\t\022&\n\010table_id\030\004 \001(\0132\024.greptime"
"baseExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema" ".v1.TableId\022\026\n\016drop_if_exists\030\005 \001(\010\"\314\001\n\022"
"_name\030\002 \001(\t\022\034\n\024create_if_not_exists\030\003 \001(" "CreateDatabaseExpr\022\024\n\014catalog_name\030\001 \001(\t"
"\010\022=\n\007options\030\004 \003(\0132,.greptime.v1.CreateD" "\022\023\n\013schema_name\030\002 \001(\t\022\034\n\024create_if_not_e"
"atabaseExpr.OptionsEntry\032.\n\014OptionsEntry" "xists\030\003 \001(\010\022=\n\007options\030\004 \003(\0132,.greptime."
"\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\250\001\n\021Tru" "v1.CreateDatabaseExpr.OptionsEntry\032.\n\014Op"
"ncateTableExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013" "tionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002"
"schema_name\030\002 \001(\t\022\022\n\ntable_name\030\003 \001(\t\022&\n" "8\001\"\250\001\n\021TruncateTableExpr\022\024\n\014catalog_name"
"\010table_id\030\004 \001(\0132\024.greptime.v1.TableId\022,\n" "\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\022\n\ntable_nam"
"\013time_ranges\030\005 \001(\0132\027.greptime.v1.TimeRan" "e\030\003 \001(\t\022&\n\010table_id\030\004 \001(\0132\024.greptime.v1."
"ges\"U\n\020DropDatabaseExpr\022\024\n\014catalog_name\030" "TableId\022,\n\013time_ranges\030\005 \001(\0132\027.greptime."
"\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\026\n\016drop_if_ex" "v1.TimeRanges\"U\n\020DropDatabaseExpr\022\024\n\014cat"
"ists\030\003 \001(\010\"9\n\nAddColumns\022+\n\013add_columns\030" "alog_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\026\n\016"
"\001 \003(\0132\026.greptime.v1.AddColumn\"\?\n\014DropDef" "drop_if_exists\030\003 \001(\010\"9\n\nAddColumns\022+\n\013ad"
"aults\022/\n\rdrop_defaults\030\001 \003(\0132\030.greptime." "d_columns\030\001 \003(\0132\026.greptime.v1.AddColumn\""
"v1.DropDefault\"<\n\013SetDefaults\022-\n\014set_def" "\?\n\014DropDefaults\022/\n\rdrop_defaults\030\001 \003(\0132\030"
"aults\030\001 \003(\0132\027.greptime.v1.SetDefault\"<\n\013" ".greptime.v1.DropDefault\"<\n\013SetDefaults\022"
"DropColumns\022-\n\014drop_columns\030\001 \003(\0132\027.grep" "-\n\014set_defaults\030\001 \003(\0132\027.greptime.v1.SetD"
"time.v1.DropColumn\"O\n\021ModifyColumnTypes\022" "efault\"<\n\013DropColumns\022-\n\014drop_columns\030\001 "
":\n\023modify_column_types\030\001 \003(\0132\035.greptime." "\003(\0132\027.greptime.v1.DropColumn\"O\n\021ModifyCo"
"v1.ModifyColumnType\"%\n\013RenameTable\022\026\n\016ne" "lumnTypes\022:\n\023modify_column_types\030\001 \003(\0132\035"
"w_table_name\030\001 \001(\t\"\204\001\n\tAddColumn\022*\n\ncolu" ".greptime.v1.ModifyColumnType\"%\n\013RenameT"
"mn_def\030\001 \001(\0132\026.greptime.v1.ColumnDef\0220\n\010" "able\022\026\n\016new_table_name\030\001 \001(\t\"\204\001\n\tAddColu"
"location\030\003 \001(\0132\036.greptime.v1.AddColumnLo" "mn\022*\n\ncolumn_def\030\001 \001(\0132\026.greptime.v1.Col"
"cation\022\031\n\021add_if_not_exists\030\004 \001(\010\"\236\001\n\020Mo" "umnDef\0220\n\010location\030\003 \001(\0132\036.greptime.v1.A"
"difyColumnType\022\023\n\013column_name\030\001 \001(\t\0220\n\013t" "ddColumnLocation\022\031\n\021add_if_not_exists\030\004 "
"arget_type\030\002 \001(\0162\033.greptime.v1.ColumnDat" "\001(\010\"\236\001\n\020ModifyColumnType\022\023\n\013column_name\030"
"aType\022C\n\025target_type_extension\030\003 \001(\0132$.g" "\001 \001(\t\0220\n\013target_type\030\002 \001(\0162\033.greptime.v1"
"reptime.v1.ColumnDataTypeExtension\"$\n\006Op" ".ColumnDataType\022C\n\025target_type_extension"
"tion\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"=\n\017SetT" "\030\003 \001(\0132$.greptime.v1.ColumnDataTypeExten"
"ableOptions\022*\n\rtable_options\030\001 \003(\0132\023.gre" "sion\"$\n\006Option\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001"
"ptime.v1.Option\"!\n\021UnsetTableOptions\022\014\n\004" "(\t\"=\n\017SetTableOptions\022*\n\rtable_options\030\001"
"keys\030\001 \003(\t\"\032\n\nDropColumn\022\014\n\004name\030\001 \001(\t\"\025" " \003(\0132\023.greptime.v1.Option\"!\n\021UnsetTableO"
"\n\007TableId\022\n\n\002id\030\001 \001(\r\"\024\n\006FlowId\022\n\n\002id\030\001 " "ptions\022\014\n\004keys\030\001 \003(\t\"\032\n\nDropColumn\022\014\n\004na"
"\001(\r\"\254\002\n\tColumnDef\022\014\n\004name\030\001 \001(\t\022.\n\tdata_" "me\030\001 \001(\t\"\025\n\007TableId\022\n\n\002id\030\001 \001(\r\"\024\n\006FlowI"
"type\030\002 \001(\0162\033.greptime.v1.ColumnDataType\022" "d\022\n\n\002id\030\001 \001(\r\"\254\002\n\tColumnDef\022\014\n\004name\030\001 \001("
"\023\n\013is_nullable\030\003 \001(\010\022\032\n\022default_constrai" "\t\022.\n\tdata_type\030\002 \001(\0162\033.greptime.v1.Colum"
"nt\030\004 \001(\014\0220\n\rsemantic_type\030\005 \001(\0162\031.grepti" "nDataType\022\023\n\013is_nullable\030\003 \001(\010\022\032\n\022defaul"
"me.v1.SemanticType\022\017\n\007comment\030\006 \001(\t\022@\n\022d" "t_constraint\030\004 \001(\014\0220\n\rsemantic_type\030\005 \001("
"atatype_extension\030\007 \001(\0132$.greptime.v1.Co" "\0162\031.greptime.v1.SemanticType\022\017\n\007comment\030"
"lumnDataTypeExtension\022+\n\007options\030\010 \001(\0132\032" "\006 \001(\t\022@\n\022datatype_extension\030\007 \001(\0132$.grep"
".greptime.v1.ColumnOptions\"\230\001\n\021AddColumn" "time.v1.ColumnDataTypeExtension\022+\n\007optio"
"Location\022B\n\rlocation_type\030\001 \001(\0162+.grepti" "ns\030\010 \001(\0132\032.greptime.v1.ColumnOptions\"\230\001\n"
"me.v1.AddColumnLocation.LocationType\022\031\n\021" "\021AddColumnLocation\022B\n\rlocation_type\030\001 \001("
"after_column_name\030\002 \001(\t\"$\n\014LocationType\022" "\0162+.greptime.v1.AddColumnLocation.Locati"
"\t\n\005FIRST\020\000\022\t\n\005AFTER\020\001\"\324\001\n\013SetFulltext\022\023\n" "onType\022\031\n\021after_column_name\030\002 \001(\t\"$\n\014Loc"
"\013column_name\030\001 \001(\t\022\016\n\006enable\030\002 \001(\010\022\'\n\010an" "ationType\022\t\n\005FIRST\020\000\022\t\n\005AFTER\020\001\"\324\001\n\013SetF"
"alyzer\030\003 \001(\0162\025.greptime.v1.Analyzer\022\026\n\016c" "ulltext\022\023\n\013column_name\030\001 \001(\t\022\016\n\006enable\030\002"
"ase_sensitive\030\004 \001(\010\022-\n\007backend\030\005 \001(\0162\034.g" " \001(\010\022\'\n\010analyzer\030\003 \001(\0162\025.greptime.v1.Ana"
"reptime.v1.FulltextBackend\022\023\n\013granularit" "lyzer\022\026\n\016case_sensitive\030\004 \001(\010\022-\n\007backend"
"y\030\006 \001(\004\022\033\n\023false_positive_rate\030\007 \001(\001\"$\n\r" "\030\005 \001(\0162\034.greptime.v1.FulltextBackend\022\023\n\013"
"UnsetFulltext\022\023\n\013column_name\030\001 \001(\t\"\"\n\013Se" "granularity\030\006 \001(\004\022\033\n\023false_positive_rate"
"tInverted\022\023\n\013column_name\030\001 \001(\t\"$\n\rUnsetI" "\030\007 \001(\001\"$\n\rUnsetFulltext\022\023\n\013column_name\030\001"
"nverted\022\023\n\013column_name\030\001 \001(\t\"\241\001\n\013SetSkip" " \001(\t\"\"\n\013SetInverted\022\023\n\013column_name\030\001 \001(\t"
"ping\022\023\n\013column_name\030\001 \001(\t\022\016\n\006enable\030\002 \001(" "\"$\n\rUnsetInverted\022\023\n\013column_name\030\001 \001(\t\"\241"
"\010\022\023\n\013granularity\030\003 \001(\004\022;\n\023skipping_index" "\001\n\013SetSkipping\022\023\n\013column_name\030\001 \001(\t\022\016\n\006e"
"_type\030\004 \001(\0162\036.greptime.v1.SkippingIndexT" "nable\030\002 \001(\010\022\023\n\013granularity\030\003 \001(\004\022;\n\023skip"
"ype\022\033\n\023false_positive_rate\030\005 \001(\001\"$\n\rUnse" "ping_index_type\030\004 \001(\0162\036.greptime.v1.Skip"
"tSkipping\022\023\n\013column_name\030\001 \001(\t\"\314\001\n\021Alter" "pingIndexType\022\033\n\023false_positive_rate\030\005 \001"
"DatabaseExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013sc" "(\001\"$\n\rUnsetSkipping\022\023\n\013column_name\030\001 \001(\t"
"hema_name\030\002 \001(\t\022\?\n\024set_database_options\030" "\"\314\001\n\021AlterDatabaseExpr\022\024\n\014catalog_name\030\001"
"\003 \001(\0132\037.greptime.v1.SetDatabaseOptionsH\000" " \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\?\n\024set_databas"
"\022C\n\026unset_database_options\030\004 \001(\0132!.grept" "e_options\030\003 \001(\0132\037.greptime.v1.SetDatabas"
"ime.v1.UnsetDatabaseOptionsH\000B\006\n\004kind\"G\n" "eOptionsH\000\022C\n\026unset_database_options\030\004 \001"
"\022SetDatabaseOptions\0221\n\024set_database_opti" "(\0132!.greptime.v1.UnsetDatabaseOptionsH\000B"
"ons\030\001 \003(\0132\023.greptime.v1.Option\"$\n\024UnsetD" "\006\n\004kind\"G\n\022SetDatabaseOptions\0221\n\024set_dat"
"atabaseOptions\022\014\n\004keys\030\001 \003(\t\"\305\003\n\021CreateT" "abase_options\030\001 \003(\0132\023.greptime.v1.Option"
"riggerExpr\022\024\n\014catalog_name\030\001 \001(\t\022\024\n\014trig" "\"$\n\024UnsetDatabaseOptions\022\014\n\004keys\030\001 \003(\t\"\305"
"ger_name\030\002 \001(\t\022\034\n\024create_if_not_exists\030\003" "\003\n\021CreateTriggerExpr\022\024\n\014catalog_name\030\001 \001"
" \001(\010\022\013\n\003sql\030\004 \001(\t\022,\n\010channels\030\005 \003(\0132\032.gr" "(\t\022\024\n\014trigger_name\030\002 \001(\t\022\034\n\024create_if_no"
"eptime.v1.NotifyChannel\022:\n\006labels\030\006 \003(\0132" "t_exists\030\003 \001(\010\022\013\n\003sql\030\004 \001(\t\022,\n\010channels\030"
"*.greptime.v1.CreateTriggerExpr.LabelsEn" "\005 \003(\0132\032.greptime.v1.NotifyChannel\022:\n\006lab"
"try\022D\n\013annotations\030\007 \003(\0132/.greptime.v1.C" "els\030\006 \003(\0132*.greptime.v1.CreateTriggerExp"
"reateTriggerExpr.AnnotationsEntry\022+\n\010int" "r.LabelsEntry\022D\n\013annotations\030\007 \003(\0132/.gre"
"erval\030\010 \001(\0132\031.google.protobuf.Duration\022\031" "ptime.v1.CreateTriggerExpr.AnnotationsEn"
"\n\021raw_interval_expr\030\t \001(\t\032-\n\013LabelsEntry" "try\022+\n\010interval\030\010 \001(\0132\031.google.protobuf."
"\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0322\n\020Anno" "Duration\022\031\n\021raw_interval_expr\030\t \001(\t\032-\n\013L"
"tationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t" "abelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002"
":\0028\001\"]\n\rNotifyChannel\022\014\n\004name\030\001 \001(\t\022.\n\007w" "8\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v"
"ebhook\030\002 \001(\0132\033.greptime.v1.WebhookOption" "alue\030\002 \001(\t:\0028\001\"]\n\rNotifyChannel\022\014\n\004name\030"
"sH\000B\016\n\014channel_type\"\177\n\016WebhookOptions\022\013\n" "\001 \001(\t\022.\n\007webhook\030\002 \001(\0132\033.greptime.v1.Web"
"\003url\030\001 \001(\t\0223\n\004opts\030\002 \003(\0132%.greptime.v1.W" "hookOptionsH\000B\016\n\014channel_type\"\177\n\016Webhook"
"ebhookOptions.OptsEntry\032+\n\tOptsEntry\022\013\n\003" "Options\022\013\n\003url\030\001 \001(\t\0223\n\004opts\030\002 \003(\0132%.gre"
"key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"U\n\017DropTrig" "ptime.v1.WebhookOptions.OptsEntry\032+\n\tOpt"
"gerExpr\022\024\n\014catalog_name\030\001 \001(\t\022\024\n\014trigger" "sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"U"
"_name\030\002 \001(\t\022\026\n\016drop_if_exists\030\003 \001(\010*$\n\010A" "\n\017DropTriggerExpr\022\024\n\014catalog_name\030\001 \001(\t\022"
"nalyzer\022\013\n\007ENGLISH\020\000\022\013\n\007CHINESE\020\001*)\n\017Ful" "\024\n\014trigger_name\030\002 \001(\t\022\026\n\016drop_if_exists\030"
"ltextBackend\022\013\n\007TANTIVY\020\000\022\t\n\005BLOOM\020\001*%\n\021" "\003 \001(\010*$\n\010Analyzer\022\013\n\007ENGLISH\020\000\022\013\n\007CHINES"
"SkippingIndexType\022\020\n\014BLOOM_FILTER\020\000BL\n\016i" "E\020\001*)\n\017FulltextBackend\022\013\n\007TANTIVY\020\000\022\t\n\005B"
"o.greptime.v1B\003DdlZ5github.com/GreptimeT" "LOOM\020\001*%\n\021SkippingIndexType\022\020\n\014BLOOM_FIL"
"eam/greptime-proto/go/greptime/v1b\006proto" "TER\020\000BL\n\016io.greptime.v1B\003DdlZ5github.com"
"3" "/GreptimeTeam/greptime-proto/go/greptime"
"/v1b\006proto3"
; ;
static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fddl_2eproto_deps[2] = { static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fddl_2eproto_deps[2] = {
&::descriptor_table_google_2fprotobuf_2fduration_2eproto, &::descriptor_table_google_2fprotobuf_2fduration_2eproto,
@@ -1585,7 +1588,7 @@ static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fddl
}; };
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fddl_2eproto_once; static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fddl_2eproto_once;
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fddl_2eproto = { const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fddl_2eproto = {
false, false, 7001, descriptor_table_protodef_greptime_2fv1_2fddl_2eproto, false, false, 7051, descriptor_table_protodef_greptime_2fv1_2fddl_2eproto,
"greptime/v1/ddl.proto", "greptime/v1/ddl.proto",
&descriptor_table_greptime_2fv1_2fddl_2eproto_once, descriptor_table_greptime_2fv1_2fddl_2eproto_deps, 2, 52, &descriptor_table_greptime_2fv1_2fddl_2eproto_once, descriptor_table_greptime_2fv1_2fddl_2eproto_deps, 2, 52,
schemas, file_default_instances, TableStruct_greptime_2fv1_2fddl_2eproto::offsets, schemas, file_default_instances, TableStruct_greptime_2fv1_2fddl_2eproto::offsets,
@@ -2452,6 +2455,7 @@ class CreateFlowExpr::_Internal {
public: public:
static const ::greptime::v1::TableName& sink_table_name(const CreateFlowExpr* msg); static const ::greptime::v1::TableName& sink_table_name(const CreateFlowExpr* msg);
static const ::greptime::v1::ExpireAfter& expire_after(const CreateFlowExpr* msg); static const ::greptime::v1::ExpireAfter& expire_after(const CreateFlowExpr* msg);
static const ::greptime::v1::EvalInterval& eval_interval(const CreateFlowExpr* msg);
}; };
const ::greptime::v1::TableName& const ::greptime::v1::TableName&
@@ -2462,6 +2466,10 @@ const ::greptime::v1::ExpireAfter&
CreateFlowExpr::_Internal::expire_after(const CreateFlowExpr* msg) { CreateFlowExpr::_Internal::expire_after(const CreateFlowExpr* msg) {
return *msg->_impl_.expire_after_; return *msg->_impl_.expire_after_;
} }
const ::greptime::v1::EvalInterval&
CreateFlowExpr::_Internal::eval_interval(const CreateFlowExpr* msg) {
return *msg->_impl_.eval_interval_;
}
void CreateFlowExpr::clear_source_table_names() { void CreateFlowExpr::clear_source_table_names() {
_impl_.source_table_names_.Clear(); _impl_.source_table_names_.Clear();
} }
@@ -2477,6 +2485,12 @@ void CreateFlowExpr::clear_expire_after() {
} }
_impl_.expire_after_ = nullptr; _impl_.expire_after_ = nullptr;
} }
void CreateFlowExpr::clear_eval_interval() {
if (GetArenaForAllocation() == nullptr && _impl_.eval_interval_ != nullptr) {
delete _impl_.eval_interval_;
}
_impl_.eval_interval_ = nullptr;
}
CreateFlowExpr::CreateFlowExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena, CreateFlowExpr::CreateFlowExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned) bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
@@ -2498,6 +2512,7 @@ CreateFlowExpr::CreateFlowExpr(const CreateFlowExpr& from)
, decltype(_impl_.sql_){} , decltype(_impl_.sql_){}
, decltype(_impl_.sink_table_name_){nullptr} , decltype(_impl_.sink_table_name_){nullptr}
, decltype(_impl_.expire_after_){nullptr} , decltype(_impl_.expire_after_){nullptr}
, decltype(_impl_.eval_interval_){nullptr}
, decltype(_impl_.or_replace_){} , decltype(_impl_.or_replace_){}
, decltype(_impl_.create_if_not_exists_){} , decltype(_impl_.create_if_not_exists_){}
, /*decltype(_impl_._cached_size_)*/{}}; , /*decltype(_impl_._cached_size_)*/{}};
@@ -2542,6 +2557,9 @@ CreateFlowExpr::CreateFlowExpr(const CreateFlowExpr& from)
if (from._internal_has_expire_after()) { if (from._internal_has_expire_after()) {
_this->_impl_.expire_after_ = new ::greptime::v1::ExpireAfter(*from._impl_.expire_after_); _this->_impl_.expire_after_ = new ::greptime::v1::ExpireAfter(*from._impl_.expire_after_);
} }
if (from._internal_has_eval_interval()) {
_this->_impl_.eval_interval_ = new ::greptime::v1::EvalInterval(*from._impl_.eval_interval_);
}
::memcpy(&_impl_.or_replace_, &from._impl_.or_replace_, ::memcpy(&_impl_.or_replace_, &from._impl_.or_replace_,
static_cast<size_t>(reinterpret_cast<char*>(&_impl_.create_if_not_exists_) - static_cast<size_t>(reinterpret_cast<char*>(&_impl_.create_if_not_exists_) -
reinterpret_cast<char*>(&_impl_.or_replace_)) + sizeof(_impl_.create_if_not_exists_)); reinterpret_cast<char*>(&_impl_.or_replace_)) + sizeof(_impl_.create_if_not_exists_));
@@ -2561,6 +2579,7 @@ inline void CreateFlowExpr::SharedCtor(
, decltype(_impl_.sql_){} , decltype(_impl_.sql_){}
, decltype(_impl_.sink_table_name_){nullptr} , decltype(_impl_.sink_table_name_){nullptr}
, decltype(_impl_.expire_after_){nullptr} , decltype(_impl_.expire_after_){nullptr}
, decltype(_impl_.eval_interval_){nullptr}
, decltype(_impl_.or_replace_){false} , decltype(_impl_.or_replace_){false}
, decltype(_impl_.create_if_not_exists_){false} , decltype(_impl_.create_if_not_exists_){false}
, /*decltype(_impl_._cached_size_)*/{} , /*decltype(_impl_._cached_size_)*/{}
@@ -2604,6 +2623,7 @@ inline void CreateFlowExpr::SharedDtor() {
_impl_.sql_.Destroy(); _impl_.sql_.Destroy();
if (this != internal_default_instance()) delete _impl_.sink_table_name_; if (this != internal_default_instance()) delete _impl_.sink_table_name_;
if (this != internal_default_instance()) delete _impl_.expire_after_; if (this != internal_default_instance()) delete _impl_.expire_after_;
if (this != internal_default_instance()) delete _impl_.eval_interval_;
} }
void CreateFlowExpr::ArenaDtor(void* object) { void CreateFlowExpr::ArenaDtor(void* object) {
@@ -2634,6 +2654,10 @@ void CreateFlowExpr::Clear() {
delete _impl_.expire_after_; delete _impl_.expire_after_;
} }
_impl_.expire_after_ = nullptr; _impl_.expire_after_ = nullptr;
if (GetArenaForAllocation() == nullptr && _impl_.eval_interval_ != nullptr) {
delete _impl_.eval_interval_;
}
_impl_.eval_interval_ = nullptr;
::memset(&_impl_.or_replace_, 0, static_cast<size_t>( ::memset(&_impl_.or_replace_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&_impl_.create_if_not_exists_) - reinterpret_cast<char*>(&_impl_.create_if_not_exists_) -
reinterpret_cast<char*>(&_impl_.or_replace_)) + sizeof(_impl_.create_if_not_exists_)); reinterpret_cast<char*>(&_impl_.or_replace_)) + sizeof(_impl_.create_if_not_exists_));
@@ -2744,6 +2768,14 @@ const char* CreateFlowExpr::_InternalParse(const char* ptr, ::_pbi::ParseContext
} else } else
goto handle_unusual; goto handle_unusual;
continue; continue;
// .greptime.v1.EvalInterval eval_interval = 11;
case 11:
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 90)) {
ptr = ctx->ParseMessage(_internal_mutable_eval_interval(), ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
default: default:
goto handle_unusual; goto handle_unusual;
} // switch } // switch
@@ -2877,6 +2909,13 @@ uint8_t* CreateFlowExpr::_InternalSerialize(
} }
} }
// .greptime.v1.EvalInterval eval_interval = 11;
if (this->_internal_has_eval_interval()) {
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
InternalWriteMessage(11, _Internal::eval_interval(this),
_Internal::eval_interval(this).GetCachedSize(), target, stream);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
@@ -2951,6 +2990,13 @@ size_t CreateFlowExpr::ByteSizeLong() const {
*_impl_.expire_after_); *_impl_.expire_after_);
} }
// .greptime.v1.EvalInterval eval_interval = 11;
if (this->_internal_has_eval_interval()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
*_impl_.eval_interval_);
}
// bool or_replace = 5; // bool or_replace = 5;
if (this->_internal_or_replace() != 0) { if (this->_internal_or_replace() != 0) {
total_size += 1 + 1; total_size += 1 + 1;
@@ -3001,6 +3047,10 @@ void CreateFlowExpr::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const :
_this->_internal_mutable_expire_after()->::greptime::v1::ExpireAfter::MergeFrom( _this->_internal_mutable_expire_after()->::greptime::v1::ExpireAfter::MergeFrom(
from._internal_expire_after()); from._internal_expire_after());
} }
if (from._internal_has_eval_interval()) {
_this->_internal_mutable_eval_interval()->::greptime::v1::EvalInterval::MergeFrom(
from._internal_eval_interval());
}
if (from._internal_or_replace() != 0) { if (from._internal_or_replace() != 0) {
_this->_internal_set_or_replace(from._internal_or_replace()); _this->_internal_set_or_replace(from._internal_or_replace());
} }
+105
View File
@@ -900,6 +900,7 @@ class CreateFlowExpr final :
kSqlFieldNumber = 9, kSqlFieldNumber = 9,
kSinkTableNameFieldNumber = 4, kSinkTableNameFieldNumber = 4,
kExpireAfterFieldNumber = 7, kExpireAfterFieldNumber = 7,
kEvalIntervalFieldNumber = 11,
kOrReplaceFieldNumber = 5, kOrReplaceFieldNumber = 5,
kCreateIfNotExistsFieldNumber = 6, kCreateIfNotExistsFieldNumber = 6,
}; };
@@ -1030,6 +1031,24 @@ class CreateFlowExpr final :
::greptime::v1::ExpireAfter* expire_after); ::greptime::v1::ExpireAfter* expire_after);
::greptime::v1::ExpireAfter* unsafe_arena_release_expire_after(); ::greptime::v1::ExpireAfter* unsafe_arena_release_expire_after();
// .greptime.v1.EvalInterval eval_interval = 11;
bool has_eval_interval() const;
private:
bool _internal_has_eval_interval() const;
public:
void clear_eval_interval();
const ::greptime::v1::EvalInterval& eval_interval() const;
PROTOBUF_NODISCARD ::greptime::v1::EvalInterval* release_eval_interval();
::greptime::v1::EvalInterval* mutable_eval_interval();
void set_allocated_eval_interval(::greptime::v1::EvalInterval* eval_interval);
private:
const ::greptime::v1::EvalInterval& _internal_eval_interval() const;
::greptime::v1::EvalInterval* _internal_mutable_eval_interval();
public:
void unsafe_arena_set_allocated_eval_interval(
::greptime::v1::EvalInterval* eval_interval);
::greptime::v1::EvalInterval* unsafe_arena_release_eval_interval();
// bool or_replace = 5; // bool or_replace = 5;
void clear_or_replace(); void clear_or_replace();
bool or_replace() const; bool or_replace() const;
@@ -1068,6 +1087,7 @@ class CreateFlowExpr final :
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sql_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sql_;
::greptime::v1::TableName* sink_table_name_; ::greptime::v1::TableName* sink_table_name_;
::greptime::v1::ExpireAfter* expire_after_; ::greptime::v1::ExpireAfter* expire_after_;
::greptime::v1::EvalInterval* eval_interval_;
bool or_replace_; bool or_replace_;
bool create_if_not_exists_; bool create_if_not_exists_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
@@ -10880,6 +10900,91 @@ inline void CreateFlowExpr::set_allocated_expire_after(::greptime::v1::ExpireAft
// @@protoc_insertion_point(field_set_allocated:greptime.v1.CreateFlowExpr.expire_after) // @@protoc_insertion_point(field_set_allocated:greptime.v1.CreateFlowExpr.expire_after)
} }
// .greptime.v1.EvalInterval eval_interval = 11;
inline bool CreateFlowExpr::_internal_has_eval_interval() const {
return this != internal_default_instance() && _impl_.eval_interval_ != nullptr;
}
inline bool CreateFlowExpr::has_eval_interval() const {
return _internal_has_eval_interval();
}
inline const ::greptime::v1::EvalInterval& CreateFlowExpr::_internal_eval_interval() const {
const ::greptime::v1::EvalInterval* p = _impl_.eval_interval_;
return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::EvalInterval&>(
::greptime::v1::_EvalInterval_default_instance_);
}
inline const ::greptime::v1::EvalInterval& CreateFlowExpr::eval_interval() const {
// @@protoc_insertion_point(field_get:greptime.v1.CreateFlowExpr.eval_interval)
return _internal_eval_interval();
}
inline void CreateFlowExpr::unsafe_arena_set_allocated_eval_interval(
::greptime::v1::EvalInterval* eval_interval) {
if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.eval_interval_);
}
_impl_.eval_interval_ = eval_interval;
if (eval_interval) {
} else {
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.CreateFlowExpr.eval_interval)
}
inline ::greptime::v1::EvalInterval* CreateFlowExpr::release_eval_interval() {
::greptime::v1::EvalInterval* temp = _impl_.eval_interval_;
_impl_.eval_interval_ = 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::EvalInterval* CreateFlowExpr::unsafe_arena_release_eval_interval() {
// @@protoc_insertion_point(field_release:greptime.v1.CreateFlowExpr.eval_interval)
::greptime::v1::EvalInterval* temp = _impl_.eval_interval_;
_impl_.eval_interval_ = nullptr;
return temp;
}
inline ::greptime::v1::EvalInterval* CreateFlowExpr::_internal_mutable_eval_interval() {
if (_impl_.eval_interval_ == nullptr) {
auto* p = CreateMaybeMessage<::greptime::v1::EvalInterval>(GetArenaForAllocation());
_impl_.eval_interval_ = p;
}
return _impl_.eval_interval_;
}
inline ::greptime::v1::EvalInterval* CreateFlowExpr::mutable_eval_interval() {
::greptime::v1::EvalInterval* _msg = _internal_mutable_eval_interval();
// @@protoc_insertion_point(field_mutable:greptime.v1.CreateFlowExpr.eval_interval)
return _msg;
}
inline void CreateFlowExpr::set_allocated_eval_interval(::greptime::v1::EvalInterval* eval_interval) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.eval_interval_);
}
if (eval_interval) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(eval_interval));
if (message_arena != submessage_arena) {
eval_interval = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, eval_interval, submessage_arena);
}
} else {
}
_impl_.eval_interval_ = eval_interval;
// @@protoc_insertion_point(field_set_allocated:greptime.v1.CreateFlowExpr.eval_interval)
}
// string comment = 8; // string comment = 8;
inline void CreateFlowExpr::clear_comment() { inline void CreateFlowExpr::clear_comment() {
_impl_.comment_.ClearToEmpty(); _impl_.comment_.ClearToEmpty();
+72 -22
View File
@@ -165,6 +165,7 @@ PROTOBUF_CONSTEXPR CreateRequest::CreateRequest(
, /*decltype(_impl_.flow_id_)*/nullptr , /*decltype(_impl_.flow_id_)*/nullptr
, /*decltype(_impl_.sink_table_name_)*/nullptr , /*decltype(_impl_.sink_table_name_)*/nullptr
, /*decltype(_impl_.expire_after_)*/nullptr , /*decltype(_impl_.expire_after_)*/nullptr
, /*decltype(_impl_.eval_interval_)*/nullptr
, /*decltype(_impl_.create_if_not_exists_)*/false , /*decltype(_impl_.create_if_not_exists_)*/false
, /*decltype(_impl_.or_replace_)*/false , /*decltype(_impl_.or_replace_)*/false
, /*decltype(_impl_._cached_size_)*/{}} {} , /*decltype(_impl_._cached_size_)*/{}} {}
@@ -311,6 +312,7 @@ const uint32_t TableStruct_greptime_2fv1_2fflow_2fserver_2eproto::offsets[] PROT
PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::CreateRequest, _impl_.sink_table_name_), PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::CreateRequest, _impl_.sink_table_name_),
PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::CreateRequest, _impl_.create_if_not_exists_), PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::CreateRequest, _impl_.create_if_not_exists_),
PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::CreateRequest, _impl_.expire_after_), PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::CreateRequest, _impl_.expire_after_),
PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::CreateRequest, _impl_.eval_interval_),
PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::CreateRequest, _impl_.comment_), PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::CreateRequest, _impl_.comment_),
PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::CreateRequest, _impl_.sql_), PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::CreateRequest, _impl_.sql_),
PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::CreateRequest, _impl_.flow_options_), PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::CreateRequest, _impl_.flow_options_),
@@ -342,8 +344,8 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode
{ 69, -1, -1, sizeof(::greptime::v1::flow::FlowResponse)}, { 69, -1, -1, sizeof(::greptime::v1::flow::FlowResponse)},
{ 79, 87, -1, sizeof(::greptime::v1::flow::CreateRequest_FlowOptionsEntry_DoNotUse)}, { 79, 87, -1, sizeof(::greptime::v1::flow::CreateRequest_FlowOptionsEntry_DoNotUse)},
{ 89, -1, -1, sizeof(::greptime::v1::flow::CreateRequest)}, { 89, -1, -1, sizeof(::greptime::v1::flow::CreateRequest)},
{ 104, -1, -1, sizeof(::greptime::v1::flow::DropRequest)}, { 105, -1, -1, sizeof(::greptime::v1::flow::DropRequest)},
{ 111, -1, -1, sizeof(::greptime::v1::flow::FlushFlow)}, { 112, -1, -1, sizeof(::greptime::v1::flow::FlushFlow)},
}; };
static const ::_pb::Message* const file_default_instances[] = { static const ::_pb::Message* const file_default_instances[] = {
@@ -389,30 +391,31 @@ const char descriptor_table_protodef_greptime_2fv1_2fflow_2fserver_2eproto[] PRO
"ected_flows\030\003 \003(\0132\023.greptime.v1.FlowId\022B" "ected_flows\030\003 \003(\0132\023.greptime.v1.FlowId\022B"
"\n\nextensions\030\004 \003(\0132..greptime.v1.flow.Fl" "\n\nextensions\030\004 \003(\0132..greptime.v1.flow.Fl"
"owResponse.ExtensionsEntry\0321\n\017Extensions" "owResponse.ExtensionsEntry\0321\n\017Extensions"
"Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\014:\0028\001\"\222\003" "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" "\n\rCreateRequest\022$\n\007flow_id\030\001 \001(\0132\023.grept"
"ime.v1.FlowId\022.\n\020source_table_ids\030\002 \003(\0132" "ime.v1.FlowId\022.\n\020source_table_ids\030\002 \003(\0132"
"\024.greptime.v1.TableId\022/\n\017sink_table_name" "\024.greptime.v1.TableId\022/\n\017sink_table_name"
"\030\003 \001(\0132\026.greptime.v1.TableName\022\034\n\024create" "\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" "_if_not_exists\030\004 \001(\010\022.\n\014expire_after\030\005 \001"
"(\0132\030.greptime.v1.ExpireAfter\022\017\n\007comment\030" "(\0132\030.greptime.v1.ExpireAfter\0220\n\reval_int"
"\006 \001(\t\022\013\n\003sql\030\007 \001(\t\022F\n\014flow_options\030\010 \003(\013" "erval\030\n \001(\0132\031.greptime.v1.EvalInterval\022\017"
"20.greptime.v1.flow.CreateRequest.FlowOp" "\n\007comment\030\006 \001(\t\022\013\n\003sql\030\007 \001(\t\022F\n\014flow_opt"
"tionsEntry\022\022\n\nor_replace\030\t \001(\010\0322\n\020FlowOp" "ions\030\010 \003(\01320.greptime.v1.flow.CreateRequ"
"tionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" "est.FlowOptionsEntry\022\022\n\nor_replace\030\t \001(\010"
"8\001\"3\n\013DropRequest\022$\n\007flow_id\030\001 \001(\0132\023.gre" "\0322\n\020FlowOptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val"
"ptime.v1.FlowId\"1\n\tFlushFlow\022$\n\007flow_id\030" "ue\030\002 \001(\t:\0028\001\"3\n\013DropRequest\022$\n\007flow_id\030\001"
"\001 \001(\0132\023.greptime.v1.FlowId2\230\002\n\004Flow\022S\n\022H" " \001(\0132\023.greptime.v1.FlowId\"1\n\tFlushFlow\022$"
"andleCreateRemove\022\035.greptime.v1.flow.Flo" "\n\007flow_id\030\001 \001(\0132\023.greptime.v1.FlowId2\230\002\n"
"wRequest\032\036.greptime.v1.flow.FlowResponse" "\004Flow\022S\n\022HandleCreateRemove\022\035.greptime.v"
"\022W\n\023HandleMirrorRequest\022 .greptime.v1.fl" "1.flow.FlowRequest\032\036.greptime.v1.flow.Fl"
"ow.InsertRequests\032\036.greptime.v1.flow.Flo" "owResponse\022W\n\023HandleMirrorRequest\022 .grep"
"wResponse\022b\n\031HandleMarkDirtyTimeWindow\022%" "time.v1.flow.InsertRequests\032\036.greptime.v"
".greptime.v1.flow.DirtyWindowRequests\032\036." "1.flow.FlowResponse\022b\n\031HandleMarkDirtyTi"
"greptime.v1.flow.FlowResponseBY\n\023io.grep" "meWindow\022%.greptime.v1.flow.DirtyWindowR"
"time.v1.flowB\006ServerZ:github.com/Greptim" "equests\032\036.greptime.v1.flow.FlowResponseB"
"eTeam/greptime-proto/go/greptime/v1/flow" "Y\n\023io.greptime.v1.flowB\006ServerZ:github.c"
"b\006proto3" "om/GreptimeTeam/greptime-proto/go/grepti"
"me/v1/flowb\006proto3"
; ;
static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fflow_2fserver_2eproto_deps[3] = { static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fflow_2fserver_2eproto_deps[3] = {
&::descriptor_table_greptime_2fv1_2fcommon_2eproto, &::descriptor_table_greptime_2fv1_2fcommon_2eproto,
@@ -421,7 +424,7 @@ static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fflo
}; };
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fflow_2fserver_2eproto_once; static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fflow_2fserver_2eproto_once;
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fflow_2fserver_2eproto = { const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fflow_2fserver_2eproto = {
false, false, 1968, descriptor_table_protodef_greptime_2fv1_2fflow_2fserver_2eproto, false, false, 2018, descriptor_table_protodef_greptime_2fv1_2fflow_2fserver_2eproto,
"greptime/v1/flow/server.proto", "greptime/v1/flow/server.proto",
&descriptor_table_greptime_2fv1_2fflow_2fserver_2eproto_once, descriptor_table_greptime_2fv1_2fflow_2fserver_2eproto_deps, 3, 13, &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, schemas, file_default_instances, TableStruct_greptime_2fv1_2fflow_2fserver_2eproto::offsets,
@@ -2310,6 +2313,7 @@ class CreateRequest::_Internal {
static const ::greptime::v1::FlowId& flow_id(const CreateRequest* msg); static const ::greptime::v1::FlowId& flow_id(const CreateRequest* msg);
static const ::greptime::v1::TableName& sink_table_name(const CreateRequest* msg); static const ::greptime::v1::TableName& sink_table_name(const CreateRequest* msg);
static const ::greptime::v1::ExpireAfter& expire_after(const CreateRequest* msg); static const ::greptime::v1::ExpireAfter& expire_after(const CreateRequest* msg);
static const ::greptime::v1::EvalInterval& eval_interval(const CreateRequest* msg);
}; };
const ::greptime::v1::FlowId& const ::greptime::v1::FlowId&
@@ -2324,6 +2328,10 @@ const ::greptime::v1::ExpireAfter&
CreateRequest::_Internal::expire_after(const CreateRequest* msg) { CreateRequest::_Internal::expire_after(const CreateRequest* msg) {
return *msg->_impl_.expire_after_; return *msg->_impl_.expire_after_;
} }
const ::greptime::v1::EvalInterval&
CreateRequest::_Internal::eval_interval(const CreateRequest* msg) {
return *msg->_impl_.eval_interval_;
}
void CreateRequest::clear_flow_id() { void CreateRequest::clear_flow_id() {
if (GetArenaForAllocation() == nullptr && _impl_.flow_id_ != nullptr) { if (GetArenaForAllocation() == nullptr && _impl_.flow_id_ != nullptr) {
delete _impl_.flow_id_; delete _impl_.flow_id_;
@@ -2345,6 +2353,12 @@ void CreateRequest::clear_expire_after() {
} }
_impl_.expire_after_ = nullptr; _impl_.expire_after_ = nullptr;
} }
void CreateRequest::clear_eval_interval() {
if (GetArenaForAllocation() == nullptr && _impl_.eval_interval_ != nullptr) {
delete _impl_.eval_interval_;
}
_impl_.eval_interval_ = nullptr;
}
CreateRequest::CreateRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena, CreateRequest::CreateRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned) bool is_message_owned)
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) { : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
@@ -2365,6 +2379,7 @@ CreateRequest::CreateRequest(const CreateRequest& from)
, decltype(_impl_.flow_id_){nullptr} , decltype(_impl_.flow_id_){nullptr}
, decltype(_impl_.sink_table_name_){nullptr} , decltype(_impl_.sink_table_name_){nullptr}
, decltype(_impl_.expire_after_){nullptr} , decltype(_impl_.expire_after_){nullptr}
, decltype(_impl_.eval_interval_){nullptr}
, decltype(_impl_.create_if_not_exists_){} , decltype(_impl_.create_if_not_exists_){}
, decltype(_impl_.or_replace_){} , decltype(_impl_.or_replace_){}
, /*decltype(_impl_._cached_size_)*/{}}; , /*decltype(_impl_._cached_size_)*/{}};
@@ -2396,6 +2411,9 @@ CreateRequest::CreateRequest(const CreateRequest& from)
if (from._internal_has_expire_after()) { if (from._internal_has_expire_after()) {
_this->_impl_.expire_after_ = new ::greptime::v1::ExpireAfter(*from._impl_.expire_after_); _this->_impl_.expire_after_ = new ::greptime::v1::ExpireAfter(*from._impl_.expire_after_);
} }
if (from._internal_has_eval_interval()) {
_this->_impl_.eval_interval_ = new ::greptime::v1::EvalInterval(*from._impl_.eval_interval_);
}
::memcpy(&_impl_.create_if_not_exists_, &from._impl_.create_if_not_exists_, ::memcpy(&_impl_.create_if_not_exists_, &from._impl_.create_if_not_exists_,
static_cast<size_t>(reinterpret_cast<char*>(&_impl_.or_replace_) - static_cast<size_t>(reinterpret_cast<char*>(&_impl_.or_replace_) -
reinterpret_cast<char*>(&_impl_.create_if_not_exists_)) + sizeof(_impl_.or_replace_)); reinterpret_cast<char*>(&_impl_.create_if_not_exists_)) + sizeof(_impl_.or_replace_));
@@ -2414,6 +2432,7 @@ inline void CreateRequest::SharedCtor(
, decltype(_impl_.flow_id_){nullptr} , decltype(_impl_.flow_id_){nullptr}
, decltype(_impl_.sink_table_name_){nullptr} , decltype(_impl_.sink_table_name_){nullptr}
, decltype(_impl_.expire_after_){nullptr} , decltype(_impl_.expire_after_){nullptr}
, decltype(_impl_.eval_interval_){nullptr}
, decltype(_impl_.create_if_not_exists_){false} , decltype(_impl_.create_if_not_exists_){false}
, decltype(_impl_.or_replace_){false} , decltype(_impl_.or_replace_){false}
, /*decltype(_impl_._cached_size_)*/{} , /*decltype(_impl_._cached_size_)*/{}
@@ -2448,6 +2467,7 @@ inline void CreateRequest::SharedDtor() {
if (this != internal_default_instance()) delete _impl_.flow_id_; if (this != internal_default_instance()) delete _impl_.flow_id_;
if (this != internal_default_instance()) delete _impl_.sink_table_name_; if (this != internal_default_instance()) delete _impl_.sink_table_name_;
if (this != internal_default_instance()) delete _impl_.expire_after_; if (this != internal_default_instance()) delete _impl_.expire_after_;
if (this != internal_default_instance()) delete _impl_.eval_interval_;
} }
void CreateRequest::ArenaDtor(void* object) { void CreateRequest::ArenaDtor(void* object) {
@@ -2480,6 +2500,10 @@ void CreateRequest::Clear() {
delete _impl_.expire_after_; delete _impl_.expire_after_;
} }
_impl_.expire_after_ = nullptr; _impl_.expire_after_ = nullptr;
if (GetArenaForAllocation() == nullptr && _impl_.eval_interval_ != nullptr) {
delete _impl_.eval_interval_;
}
_impl_.eval_interval_ = nullptr;
::memset(&_impl_.create_if_not_exists_, 0, static_cast<size_t>( ::memset(&_impl_.create_if_not_exists_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&_impl_.or_replace_) - reinterpret_cast<char*>(&_impl_.or_replace_) -
reinterpret_cast<char*>(&_impl_.create_if_not_exists_)) + sizeof(_impl_.or_replace_)); reinterpret_cast<char*>(&_impl_.create_if_not_exists_)) + sizeof(_impl_.or_replace_));
@@ -2578,6 +2602,14 @@ const char* CreateRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext*
} else } else
goto handle_unusual; goto handle_unusual;
continue; continue;
// .greptime.v1.EvalInterval eval_interval = 10;
case 10:
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 82)) {
ptr = ctx->ParseMessage(_internal_mutable_eval_interval(), ptr);
CHK_(ptr);
} else
goto handle_unusual;
continue;
default: default:
goto handle_unusual; goto handle_unusual;
} // switch } // switch
@@ -2698,6 +2730,13 @@ uint8_t* CreateRequest::_InternalSerialize(
target = ::_pbi::WireFormatLite::WriteBoolToArray(9, this->_internal_or_replace(), target); target = ::_pbi::WireFormatLite::WriteBoolToArray(9, this->_internal_or_replace(), target);
} }
// .greptime.v1.EvalInterval eval_interval = 10;
if (this->_internal_has_eval_interval()) {
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
InternalWriteMessage(10, _Internal::eval_interval(this),
_Internal::eval_interval(this).GetCachedSize(), target, stream);
}
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
@@ -2765,6 +2804,13 @@ size_t CreateRequest::ByteSizeLong() const {
*_impl_.expire_after_); *_impl_.expire_after_);
} }
// .greptime.v1.EvalInterval eval_interval = 10;
if (this->_internal_has_eval_interval()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
*_impl_.eval_interval_);
}
// bool create_if_not_exists = 4; // bool create_if_not_exists = 4;
if (this->_internal_create_if_not_exists() != 0) { if (this->_internal_create_if_not_exists() != 0) {
total_size += 1 + 1; total_size += 1 + 1;
@@ -2813,6 +2859,10 @@ void CreateRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::
_this->_internal_mutable_expire_after()->::greptime::v1::ExpireAfter::MergeFrom( _this->_internal_mutable_expire_after()->::greptime::v1::ExpireAfter::MergeFrom(
from._internal_expire_after()); from._internal_expire_after());
} }
if (from._internal_has_eval_interval()) {
_this->_internal_mutable_eval_interval()->::greptime::v1::EvalInterval::MergeFrom(
from._internal_eval_interval());
}
if (from._internal_create_if_not_exists() != 0) { if (from._internal_create_if_not_exists() != 0) {
_this->_internal_set_create_if_not_exists(from._internal_create_if_not_exists()); _this->_internal_set_create_if_not_exists(from._internal_create_if_not_exists());
} }
+105
View File
@@ -1619,6 +1619,7 @@ class CreateRequest final :
kFlowIdFieldNumber = 1, kFlowIdFieldNumber = 1,
kSinkTableNameFieldNumber = 3, kSinkTableNameFieldNumber = 3,
kExpireAfterFieldNumber = 5, kExpireAfterFieldNumber = 5,
kEvalIntervalFieldNumber = 10,
kCreateIfNotExistsFieldNumber = 4, kCreateIfNotExistsFieldNumber = 4,
kOrReplaceFieldNumber = 9, kOrReplaceFieldNumber = 9,
}; };
@@ -1739,6 +1740,24 @@ class CreateRequest final :
::greptime::v1::ExpireAfter* expire_after); ::greptime::v1::ExpireAfter* expire_after);
::greptime::v1::ExpireAfter* unsafe_arena_release_expire_after(); ::greptime::v1::ExpireAfter* unsafe_arena_release_expire_after();
// .greptime.v1.EvalInterval eval_interval = 10;
bool has_eval_interval() const;
private:
bool _internal_has_eval_interval() const;
public:
void clear_eval_interval();
const ::greptime::v1::EvalInterval& eval_interval() const;
PROTOBUF_NODISCARD ::greptime::v1::EvalInterval* release_eval_interval();
::greptime::v1::EvalInterval* mutable_eval_interval();
void set_allocated_eval_interval(::greptime::v1::EvalInterval* eval_interval);
private:
const ::greptime::v1::EvalInterval& _internal_eval_interval() const;
::greptime::v1::EvalInterval* _internal_mutable_eval_interval();
public:
void unsafe_arena_set_allocated_eval_interval(
::greptime::v1::EvalInterval* eval_interval);
::greptime::v1::EvalInterval* unsafe_arena_release_eval_interval();
// bool create_if_not_exists = 4; // bool create_if_not_exists = 4;
void clear_create_if_not_exists(); void clear_create_if_not_exists();
bool create_if_not_exists() const; bool create_if_not_exists() const;
@@ -1776,6 +1795,7 @@ class CreateRequest final :
::greptime::v1::FlowId* flow_id_; ::greptime::v1::FlowId* flow_id_;
::greptime::v1::TableName* sink_table_name_; ::greptime::v1::TableName* sink_table_name_;
::greptime::v1::ExpireAfter* expire_after_; ::greptime::v1::ExpireAfter* expire_after_;
::greptime::v1::EvalInterval* eval_interval_;
bool create_if_not_exists_; bool create_if_not_exists_;
bool or_replace_; bool or_replace_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
@@ -3312,6 +3332,91 @@ inline void CreateRequest::set_allocated_expire_after(::greptime::v1::ExpireAfte
// @@protoc_insertion_point(field_set_allocated:greptime.v1.flow.CreateRequest.expire_after) // @@protoc_insertion_point(field_set_allocated:greptime.v1.flow.CreateRequest.expire_after)
} }
// .greptime.v1.EvalInterval eval_interval = 10;
inline bool CreateRequest::_internal_has_eval_interval() const {
return this != internal_default_instance() && _impl_.eval_interval_ != nullptr;
}
inline bool CreateRequest::has_eval_interval() const {
return _internal_has_eval_interval();
}
inline const ::greptime::v1::EvalInterval& CreateRequest::_internal_eval_interval() const {
const ::greptime::v1::EvalInterval* p = _impl_.eval_interval_;
return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::EvalInterval&>(
::greptime::v1::_EvalInterval_default_instance_);
}
inline const ::greptime::v1::EvalInterval& CreateRequest::eval_interval() const {
// @@protoc_insertion_point(field_get:greptime.v1.flow.CreateRequest.eval_interval)
return _internal_eval_interval();
}
inline void CreateRequest::unsafe_arena_set_allocated_eval_interval(
::greptime::v1::EvalInterval* eval_interval) {
if (GetArenaForAllocation() == nullptr) {
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.eval_interval_);
}
_impl_.eval_interval_ = eval_interval;
if (eval_interval) {
} else {
}
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.flow.CreateRequest.eval_interval)
}
inline ::greptime::v1::EvalInterval* CreateRequest::release_eval_interval() {
::greptime::v1::EvalInterval* temp = _impl_.eval_interval_;
_impl_.eval_interval_ = 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::EvalInterval* CreateRequest::unsafe_arena_release_eval_interval() {
// @@protoc_insertion_point(field_release:greptime.v1.flow.CreateRequest.eval_interval)
::greptime::v1::EvalInterval* temp = _impl_.eval_interval_;
_impl_.eval_interval_ = nullptr;
return temp;
}
inline ::greptime::v1::EvalInterval* CreateRequest::_internal_mutable_eval_interval() {
if (_impl_.eval_interval_ == nullptr) {
auto* p = CreateMaybeMessage<::greptime::v1::EvalInterval>(GetArenaForAllocation());
_impl_.eval_interval_ = p;
}
return _impl_.eval_interval_;
}
inline ::greptime::v1::EvalInterval* CreateRequest::mutable_eval_interval() {
::greptime::v1::EvalInterval* _msg = _internal_mutable_eval_interval();
// @@protoc_insertion_point(field_mutable:greptime.v1.flow.CreateRequest.eval_interval)
return _msg;
}
inline void CreateRequest::set_allocated_eval_interval(::greptime::v1::EvalInterval* eval_interval) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
if (message_arena == nullptr) {
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.eval_interval_);
}
if (eval_interval) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(eval_interval));
if (message_arena != submessage_arena) {
eval_interval = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, eval_interval, submessage_arena);
}
} else {
}
_impl_.eval_interval_ = eval_interval;
// @@protoc_insertion_point(field_set_allocated:greptime.v1.flow.CreateRequest.eval_interval)
}
// string comment = 6; // string comment = 6;
inline void CreateRequest::clear_comment() { inline void CreateRequest::clear_comment() {
_impl_.comment_.ClearToEmpty(); _impl_.comment_.ClearToEmpty();
+242 -178
View File
@@ -1094,6 +1094,54 @@ func (x *ExpireAfter) GetValue() int64 {
return 0 return 0
} }
// Eval Interval in seconds
type EvalInterval struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Seconds int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"`
}
func (x *EvalInterval) Reset() {
*x = EvalInterval{}
if protoimpl.UnsafeEnabled {
mi := &file_greptime_v1_common_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *EvalInterval) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EvalInterval) ProtoMessage() {}
func (x *EvalInterval) ProtoReflect() protoreflect.Message {
mi := &file_greptime_v1_common_proto_msgTypes[13]
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 EvalInterval.ProtoReflect.Descriptor instead.
func (*EvalInterval) Descriptor() ([]byte, []int) {
return file_greptime_v1_common_proto_rawDescGZIP(), []int{13}
}
func (x *EvalInterval) GetSeconds() int64 {
if x != nil {
return x.Seconds
}
return 0
}
type FlightMetadata struct { type FlightMetadata struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
@@ -1106,7 +1154,7 @@ type FlightMetadata struct {
func (x *FlightMetadata) Reset() { func (x *FlightMetadata) Reset() {
*x = FlightMetadata{} *x = FlightMetadata{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_greptime_v1_common_proto_msgTypes[13] mi := &file_greptime_v1_common_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -1119,7 +1167,7 @@ func (x *FlightMetadata) String() string {
func (*FlightMetadata) ProtoMessage() {} func (*FlightMetadata) ProtoMessage() {}
func (x *FlightMetadata) ProtoReflect() protoreflect.Message { func (x *FlightMetadata) ProtoReflect() protoreflect.Message {
mi := &file_greptime_v1_common_proto_msgTypes[13] mi := &file_greptime_v1_common_proto_msgTypes[14]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -1132,7 +1180,7 @@ func (x *FlightMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use FlightMetadata.ProtoReflect.Descriptor instead. // Deprecated: Use FlightMetadata.ProtoReflect.Descriptor instead.
func (*FlightMetadata) Descriptor() ([]byte, []int) { func (*FlightMetadata) Descriptor() ([]byte, []int) {
return file_greptime_v1_common_proto_rawDescGZIP(), []int{13} return file_greptime_v1_common_proto_rawDescGZIP(), []int{14}
} }
func (x *FlightMetadata) GetAffectedRows() *AffectedRows { func (x *FlightMetadata) GetAffectedRows() *AffectedRows {
@@ -1162,7 +1210,7 @@ type IntervalMonthDayNano struct {
func (x *IntervalMonthDayNano) Reset() { func (x *IntervalMonthDayNano) Reset() {
*x = IntervalMonthDayNano{} *x = IntervalMonthDayNano{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_greptime_v1_common_proto_msgTypes[14] mi := &file_greptime_v1_common_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -1175,7 +1223,7 @@ func (x *IntervalMonthDayNano) String() string {
func (*IntervalMonthDayNano) ProtoMessage() {} func (*IntervalMonthDayNano) ProtoMessage() {}
func (x *IntervalMonthDayNano) ProtoReflect() protoreflect.Message { func (x *IntervalMonthDayNano) ProtoReflect() protoreflect.Message {
mi := &file_greptime_v1_common_proto_msgTypes[14] mi := &file_greptime_v1_common_proto_msgTypes[15]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -1188,7 +1236,7 @@ func (x *IntervalMonthDayNano) ProtoReflect() protoreflect.Message {
// Deprecated: Use IntervalMonthDayNano.ProtoReflect.Descriptor instead. // Deprecated: Use IntervalMonthDayNano.ProtoReflect.Descriptor instead.
func (*IntervalMonthDayNano) Descriptor() ([]byte, []int) { func (*IntervalMonthDayNano) Descriptor() ([]byte, []int) {
return file_greptime_v1_common_proto_rawDescGZIP(), []int{14} return file_greptime_v1_common_proto_rawDescGZIP(), []int{15}
} }
func (x *IntervalMonthDayNano) GetMonths() int32 { func (x *IntervalMonthDayNano) GetMonths() int32 {
@@ -1224,7 +1272,7 @@ type TimeRange struct {
func (x *TimeRange) Reset() { func (x *TimeRange) Reset() {
*x = TimeRange{} *x = TimeRange{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_greptime_v1_common_proto_msgTypes[15] mi := &file_greptime_v1_common_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -1237,7 +1285,7 @@ func (x *TimeRange) String() string {
func (*TimeRange) ProtoMessage() {} func (*TimeRange) ProtoMessage() {}
func (x *TimeRange) ProtoReflect() protoreflect.Message { func (x *TimeRange) ProtoReflect() protoreflect.Message {
mi := &file_greptime_v1_common_proto_msgTypes[15] mi := &file_greptime_v1_common_proto_msgTypes[16]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -1250,7 +1298,7 @@ func (x *TimeRange) ProtoReflect() protoreflect.Message {
// Deprecated: Use TimeRange.ProtoReflect.Descriptor instead. // Deprecated: Use TimeRange.ProtoReflect.Descriptor instead.
func (*TimeRange) Descriptor() ([]byte, []int) { func (*TimeRange) Descriptor() ([]byte, []int) {
return file_greptime_v1_common_proto_rawDescGZIP(), []int{15} return file_greptime_v1_common_proto_rawDescGZIP(), []int{16}
} }
func (x *TimeRange) GetStart() int64 { func (x *TimeRange) GetStart() int64 {
@@ -1280,7 +1328,7 @@ type TimeRanges struct {
func (x *TimeRanges) Reset() { func (x *TimeRanges) Reset() {
*x = TimeRanges{} *x = TimeRanges{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_greptime_v1_common_proto_msgTypes[16] mi := &file_greptime_v1_common_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -1293,7 +1341,7 @@ func (x *TimeRanges) String() string {
func (*TimeRanges) ProtoMessage() {} func (*TimeRanges) ProtoMessage() {}
func (x *TimeRanges) ProtoReflect() protoreflect.Message { func (x *TimeRanges) ProtoReflect() protoreflect.Message {
mi := &file_greptime_v1_common_proto_msgTypes[16] mi := &file_greptime_v1_common_proto_msgTypes[17]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -1306,7 +1354,7 @@ func (x *TimeRanges) ProtoReflect() protoreflect.Message {
// Deprecated: Use TimeRanges.ProtoReflect.Descriptor instead. // Deprecated: Use TimeRanges.ProtoReflect.Descriptor instead.
func (*TimeRanges) Descriptor() ([]byte, []int) { func (*TimeRanges) Descriptor() ([]byte, []int) {
return file_greptime_v1_common_proto_rawDescGZIP(), []int{16} return file_greptime_v1_common_proto_rawDescGZIP(), []int{17}
} }
func (x *TimeRanges) GetTimeUnit() TimeUnit { func (x *TimeRanges) GetTimeUnit() TimeUnit {
@@ -1336,7 +1384,7 @@ type Decimal128 struct {
func (x *Decimal128) Reset() { func (x *Decimal128) Reset() {
*x = Decimal128{} *x = Decimal128{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_greptime_v1_common_proto_msgTypes[17] mi := &file_greptime_v1_common_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -1349,7 +1397,7 @@ func (x *Decimal128) String() string {
func (*Decimal128) ProtoMessage() {} func (*Decimal128) ProtoMessage() {}
func (x *Decimal128) ProtoReflect() protoreflect.Message { func (x *Decimal128) ProtoReflect() protoreflect.Message {
mi := &file_greptime_v1_common_proto_msgTypes[17] mi := &file_greptime_v1_common_proto_msgTypes[18]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -1362,7 +1410,7 @@ func (x *Decimal128) ProtoReflect() protoreflect.Message {
// Deprecated: Use Decimal128.ProtoReflect.Descriptor instead. // Deprecated: Use Decimal128.ProtoReflect.Descriptor instead.
func (*Decimal128) Descriptor() ([]byte, []int) { func (*Decimal128) Descriptor() ([]byte, []int) {
return file_greptime_v1_common_proto_rawDescGZIP(), []int{17} return file_greptime_v1_common_proto_rawDescGZIP(), []int{18}
} }
func (x *Decimal128) GetHi() int64 { func (x *Decimal128) GetHi() int64 {
@@ -1396,7 +1444,7 @@ type ColumnDataTypeExtension struct {
func (x *ColumnDataTypeExtension) Reset() { func (x *ColumnDataTypeExtension) Reset() {
*x = ColumnDataTypeExtension{} *x = ColumnDataTypeExtension{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_greptime_v1_common_proto_msgTypes[18] mi := &file_greptime_v1_common_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -1409,7 +1457,7 @@ func (x *ColumnDataTypeExtension) String() string {
func (*ColumnDataTypeExtension) ProtoMessage() {} func (*ColumnDataTypeExtension) ProtoMessage() {}
func (x *ColumnDataTypeExtension) ProtoReflect() protoreflect.Message { func (x *ColumnDataTypeExtension) ProtoReflect() protoreflect.Message {
mi := &file_greptime_v1_common_proto_msgTypes[18] mi := &file_greptime_v1_common_proto_msgTypes[19]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -1422,7 +1470,7 @@ func (x *ColumnDataTypeExtension) ProtoReflect() protoreflect.Message {
// Deprecated: Use ColumnDataTypeExtension.ProtoReflect.Descriptor instead. // Deprecated: Use ColumnDataTypeExtension.ProtoReflect.Descriptor instead.
func (*ColumnDataTypeExtension) Descriptor() ([]byte, []int) { func (*ColumnDataTypeExtension) Descriptor() ([]byte, []int) {
return file_greptime_v1_common_proto_rawDescGZIP(), []int{18} return file_greptime_v1_common_proto_rawDescGZIP(), []int{19}
} }
func (m *ColumnDataTypeExtension) GetTypeExt() isColumnDataTypeExtension_TypeExt { func (m *ColumnDataTypeExtension) GetTypeExt() isColumnDataTypeExtension_TypeExt {
@@ -1488,7 +1536,7 @@ type DecimalTypeExtension struct {
func (x *DecimalTypeExtension) Reset() { func (x *DecimalTypeExtension) Reset() {
*x = DecimalTypeExtension{} *x = DecimalTypeExtension{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_greptime_v1_common_proto_msgTypes[19] mi := &file_greptime_v1_common_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -1501,7 +1549,7 @@ func (x *DecimalTypeExtension) String() string {
func (*DecimalTypeExtension) ProtoMessage() {} func (*DecimalTypeExtension) ProtoMessage() {}
func (x *DecimalTypeExtension) ProtoReflect() protoreflect.Message { func (x *DecimalTypeExtension) ProtoReflect() protoreflect.Message {
mi := &file_greptime_v1_common_proto_msgTypes[19] mi := &file_greptime_v1_common_proto_msgTypes[20]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -1514,7 +1562,7 @@ func (x *DecimalTypeExtension) ProtoReflect() protoreflect.Message {
// Deprecated: Use DecimalTypeExtension.ProtoReflect.Descriptor instead. // Deprecated: Use DecimalTypeExtension.ProtoReflect.Descriptor instead.
func (*DecimalTypeExtension) Descriptor() ([]byte, []int) { func (*DecimalTypeExtension) Descriptor() ([]byte, []int) {
return file_greptime_v1_common_proto_rawDescGZIP(), []int{19} return file_greptime_v1_common_proto_rawDescGZIP(), []int{20}
} }
func (x *DecimalTypeExtension) GetPrecision() int32 { func (x *DecimalTypeExtension) GetPrecision() int32 {
@@ -1542,7 +1590,7 @@ type VectorTypeExtension struct {
func (x *VectorTypeExtension) Reset() { func (x *VectorTypeExtension) Reset() {
*x = VectorTypeExtension{} *x = VectorTypeExtension{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_greptime_v1_common_proto_msgTypes[20] mi := &file_greptime_v1_common_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -1555,7 +1603,7 @@ func (x *VectorTypeExtension) String() string {
func (*VectorTypeExtension) ProtoMessage() {} func (*VectorTypeExtension) ProtoMessage() {}
func (x *VectorTypeExtension) ProtoReflect() protoreflect.Message { func (x *VectorTypeExtension) ProtoReflect() protoreflect.Message {
mi := &file_greptime_v1_common_proto_msgTypes[20] mi := &file_greptime_v1_common_proto_msgTypes[21]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -1568,7 +1616,7 @@ func (x *VectorTypeExtension) ProtoReflect() protoreflect.Message {
// Deprecated: Use VectorTypeExtension.ProtoReflect.Descriptor instead. // Deprecated: Use VectorTypeExtension.ProtoReflect.Descriptor instead.
func (*VectorTypeExtension) Descriptor() ([]byte, []int) { func (*VectorTypeExtension) Descriptor() ([]byte, []int) {
return file_greptime_v1_common_proto_rawDescGZIP(), []int{20} return file_greptime_v1_common_proto_rawDescGZIP(), []int{21}
} }
func (x *VectorTypeExtension) GetDim() uint32 { func (x *VectorTypeExtension) GetDim() uint32 {
@@ -1610,7 +1658,7 @@ type ColumnOptions struct {
func (x *ColumnOptions) Reset() { func (x *ColumnOptions) Reset() {
*x = ColumnOptions{} *x = ColumnOptions{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_greptime_v1_common_proto_msgTypes[21] mi := &file_greptime_v1_common_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -1623,7 +1671,7 @@ func (x *ColumnOptions) String() string {
func (*ColumnOptions) ProtoMessage() {} func (*ColumnOptions) ProtoMessage() {}
func (x *ColumnOptions) ProtoReflect() protoreflect.Message { func (x *ColumnOptions) ProtoReflect() protoreflect.Message {
mi := &file_greptime_v1_common_proto_msgTypes[21] mi := &file_greptime_v1_common_proto_msgTypes[22]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -1636,7 +1684,7 @@ func (x *ColumnOptions) ProtoReflect() protoreflect.Message {
// Deprecated: Use ColumnOptions.ProtoReflect.Descriptor instead. // Deprecated: Use ColumnOptions.ProtoReflect.Descriptor instead.
func (*ColumnOptions) Descriptor() ([]byte, []int) { func (*ColumnOptions) Descriptor() ([]byte, []int) {
return file_greptime_v1_common_proto_rawDescGZIP(), []int{21} return file_greptime_v1_common_proto_rawDescGZIP(), []int{22}
} }
func (x *ColumnOptions) GetOptions() map[string]string { func (x *ColumnOptions) GetOptions() map[string]string {
@@ -1659,7 +1707,7 @@ type ArrowIpc struct {
func (x *ArrowIpc) Reset() { func (x *ArrowIpc) Reset() {
*x = ArrowIpc{} *x = ArrowIpc{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_greptime_v1_common_proto_msgTypes[22] mi := &file_greptime_v1_common_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@@ -1672,7 +1720,7 @@ func (x *ArrowIpc) String() string {
func (*ArrowIpc) ProtoMessage() {} func (*ArrowIpc) ProtoMessage() {}
func (x *ArrowIpc) ProtoReflect() protoreflect.Message { func (x *ArrowIpc) ProtoReflect() protoreflect.Message {
mi := &file_greptime_v1_common_proto_msgTypes[22] mi := &file_greptime_v1_common_proto_msgTypes[23]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@@ -1685,7 +1733,7 @@ func (x *ArrowIpc) ProtoReflect() protoreflect.Message {
// Deprecated: Use ArrowIpc.ProtoReflect.Descriptor instead. // Deprecated: Use ArrowIpc.ProtoReflect.Descriptor instead.
func (*ArrowIpc) Descriptor() ([]byte, []int) { func (*ArrowIpc) Descriptor() ([]byte, []int) {
return file_greptime_v1_common_proto_rawDescGZIP(), []int{22} return file_greptime_v1_common_proto_rawDescGZIP(), []int{23}
} }
func (x *ArrowIpc) GetSchema() []byte { func (x *ArrowIpc) GetSchema() []byte {
@@ -1820,120 +1868,123 @@ var file_greptime_v1_common_proto_rawDesc = []byte{
0x18, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c,
0x52, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x22, 0x23, 0x0a, 0x0b, 0x45, 0x78, 0x70, 0x52, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x22, 0x23, 0x0a, 0x0b, 0x45, 0x78, 0x70,
0x69, 0x72, 0x65, 0x41, 0x66, 0x74, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x69, 0x72, 0x65, 0x41, 0x66, 0x74, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x80, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x28,
0x01, 0x0a, 0x0e, 0x46, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x0a, 0x0c, 0x45, 0x76, 0x61, 0x6c, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x18,
0x61, 0x12, 0x3e, 0x0a, 0x0d, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x6f, 0x0a, 0x07, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
0x77, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x07, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x22, 0x80, 0x01, 0x0a, 0x0e, 0x46, 0x6c, 0x69,
0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x67, 0x68, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3e, 0x0a, 0x0d, 0x61,
0x6f, 0x77, 0x73, 0x52, 0x0c, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x6f, 0x77, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x01, 0x20, 0x01,
0x73, 0x12, 0x2e, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x6f, 0x77, 0x73, 0x52, 0x0c, 0x61,
0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x6f, 0x77, 0x73, 0x12, 0x2e, 0x0a, 0x07, 0x6d,
0x73, 0x22, 0x64, 0x0a, 0x14, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x4d, 0x6f, 0x6e, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67,
0x74, 0x68, 0x44, 0x61, 0x79, 0x4e, 0x61, 0x6e, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x6f, 0x6e, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69,
0x74, 0x68, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x63, 0x73, 0x52, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x22, 0x64, 0x0a, 0x14, 0x49,
0x73, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x79, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x44, 0x61, 0x79, 0x4e,
0x04, 0x64, 0x61, 0x79, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x61, 0x6e, 0x6f, 0x73, 0x65, 0x63, 0x61, 0x6e, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x73, 0x18, 0x01, 0x20,
0x6f, 0x6e, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6e, 0x61, 0x6e, 0x6f, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x64,
0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x22, 0x33, 0x0a, 0x09, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x79, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x64, 0x61, 0x79, 0x73, 0x12,
0x61, 0x6e, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x20, 0x0a, 0x0b, 0x6e, 0x61, 0x6e, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x03,
0x01, 0x28, 0x03, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6e, 0x61, 0x6e, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64,
0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x22, 0x79, 0x0a, 0x0a, 0x73, 0x22, 0x33, 0x0a, 0x09, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x14,
0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x32, 0x0a, 0x09, 0x74, 0x69, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x73,
0x6d, 0x65, 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
0x03, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x22, 0x79, 0x0a, 0x0a, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61,
0x6e, 0x67, 0x65, 0x73, 0x12, 0x32, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x75, 0x6e, 0x69,
0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x69, 0x74, 0x52, 0x08,
0x74, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x69, 0x74, 0x12, 0x37, 0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65,
0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e,
0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65,
0x55, 0x6e, 0x69, 0x74, 0x52, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x69, 0x74, 0x12, 0x37, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65,
0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x02, 0x20, 0x73, 0x22, 0x2c, 0x0a, 0x0a, 0x44, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x31, 0x32, 0x38, 0x12,
0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x0e, 0x0a, 0x02, 0x68, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x68, 0x69, 0x12,
0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0a, 0x74, 0x69, 0x6d, 0x0e, 0x0a, 0x02, 0x6c, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x6c, 0x6f, 0x22,
0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x22, 0x2c, 0x0a, 0x0a, 0x44, 0x65, 0x63, 0x69, 0x6d, 0xf1, 0x01, 0x0a, 0x17, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79,
0x61, 0x6c, 0x31, 0x32, 0x38, 0x12, 0x0e, 0x0a, 0x02, 0x68, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x46, 0x0a, 0x0c, 0x64,
0x03, 0x52, 0x02, 0x68, 0x69, 0x12, 0x0e, 0x0a, 0x02, 0x6c, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
0x03, 0x52, 0x02, 0x6c, 0x6f, 0x22, 0xf1, 0x01, 0x0a, 0x17, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e,
0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x44, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e,
0x6e, 0x12, 0x46, 0x0a, 0x0c, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x54,
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x79, 0x70, 0x65, 0x12, 0x3d, 0x0a, 0x09, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65,
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x65, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4a, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74,
0x63, 0x69, 0x6d, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3d, 0x0a, 0x09, 0x6a, 0x73, 0x6f, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x08, 0x6a, 0x73, 0x6f, 0x6e, 0x54, 0x79,
0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x67, 0x70, 0x65, 0x12, 0x43, 0x0a, 0x0b, 0x76, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x74, 0x79, 0x70,
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4a, 0x73, 0x6f, 0x6e, 0x54, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x08, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65,
0x6a, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x43, 0x0a, 0x0b, 0x76, 0x65, 0x63, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0a, 0x76, 0x65, 0x63,
0x6f, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x74, 0x79, 0x70, 0x65, 0x5f,
0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x65, 0x78, 0x74, 0x22, 0x4a, 0x0a, 0x14, 0x44, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x54, 0x79,
0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x70,
0x00, 0x52, 0x0a, 0x76, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0a, 0x0a, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09,
0x08, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x65, 0x78, 0x74, 0x22, 0x4a, 0x0a, 0x14, 0x44, 0x65, 0x63, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x61,
0x69, 0x6d, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x22,
0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x27, 0x0a, 0x13, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74,
0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x69, 0x6d, 0x18, 0x01, 0x20,
0x14, 0x0a, 0x05, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x64, 0x69, 0x6d, 0x22, 0x8e, 0x01, 0x0a, 0x0d, 0x43, 0x6f, 0x6c,
0x73, 0x63, 0x61, 0x6c, 0x65, 0x22, 0x27, 0x0a, 0x13, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x75, 0x6d, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x41, 0x0a, 0x07, 0x6f, 0x70,
0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x72,
0x64, 0x69, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x64, 0x69, 0x6d, 0x22, 0x8e, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e,
0x01, 0x0a, 0x0d, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45,
0x12, 0x41, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x3a, 0x0a,
0x0b, 0x32, 0x27, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x0c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
0x6f, 0x6e, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x5d, 0x0a, 0x08, 0x41, 0x72, 0x72,
0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x6f, 0x77, 0x49, 0x70, 0x63, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18,
0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x1f, 0x0a,
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01,
0x5d, 0x0a, 0x08, 0x41, 0x72, 0x72, 0x6f, 0x77, 0x49, 0x70, 0x63, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x28, 0x0c, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x18,
0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x63, 0x68, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52,
0x65, 0x6d, 0x61, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2a, 0x31, 0x0a, 0x0c, 0x53, 0x65, 0x6d, 0x61,
0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x48, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x41, 0x47, 0x10,
0x61, 0x64, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09,
0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2a, 0x31, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x10, 0x02, 0x2a, 0xec, 0x03, 0x0a, 0x0e,
0x0a, 0x0c, 0x53, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x12, 0x07, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b,
0x0a, 0x03, 0x54, 0x41, 0x47, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x0a, 0x07, 0x42, 0x4f, 0x4f, 0x4c, 0x45, 0x41, 0x4e, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x49,
0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x10, 0x4e, 0x54, 0x38, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x31, 0x36, 0x10, 0x02,
0x02, 0x2a, 0xec, 0x03, 0x0a, 0x0e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 0x49,
0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x42, 0x4f, 0x4f, 0x4c, 0x45, 0x41, 0x4e, 0x10, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x55, 0x49, 0x4e, 0x54, 0x38, 0x10,
0x00, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x4e, 0x54, 0x38, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x05, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x49, 0x4e, 0x54, 0x31, 0x36, 0x10, 0x06, 0x12, 0x0a, 0x0a,
0x4e, 0x54, 0x31, 0x36, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x06, 0x55, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x07, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x49, 0x4e,
0x03, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x54, 0x36, 0x34, 0x10, 0x08, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x33, 0x32,
0x55, 0x49, 0x4e, 0x54, 0x38, 0x10, 0x05, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x49, 0x4e, 0x54, 0x31, 0x10, 0x09, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x36, 0x34, 0x10, 0x0a, 0x12,
0x36, 0x10, 0x06, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x07, 0x12, 0x0a, 0x0a, 0x06, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x10, 0x0b, 0x12, 0x0a, 0x0a, 0x06, 0x53,
0x0a, 0x0a, 0x06, 0x55, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x08, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x0c, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x41, 0x54, 0x45, 0x10,
0x4c, 0x4f, 0x41, 0x54, 0x33, 0x32, 0x10, 0x09, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x4c, 0x4f, 0x41, 0x0d, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x41, 0x54, 0x45, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x0e, 0x12,
0x54, 0x36, 0x34, 0x10, 0x0a, 0x12, 0x0a, 0x0a, 0x06, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x10, 0x14, 0x0a, 0x10, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x53, 0x45, 0x43,
0x0b, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x0c, 0x12, 0x08, 0x0a, 0x4f, 0x4e, 0x44, 0x10, 0x0f, 0x12, 0x19, 0x0a, 0x15, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41,
0x04, 0x44, 0x41, 0x54, 0x45, 0x10, 0x0d, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x41, 0x54, 0x45, 0x54, 0x4d, 0x50, 0x5f, 0x4d, 0x49, 0x4c, 0x4c, 0x49, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x10,
0x49, 0x4d, 0x45, 0x10, 0x0e, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x12, 0x19, 0x0a, 0x15, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x4d, 0x49,
0x4d, 0x50, 0x5f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x0f, 0x12, 0x19, 0x0a, 0x15, 0x54, 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, 0x4d, 0x49, 0x4c, 0x4c, 0x49, 0x53, 0x45, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x4e, 0x41, 0x4e, 0x4f, 0x53, 0x45, 0x43,
0x43, 0x4f, 0x4e, 0x44, 0x10, 0x10, 0x12, 0x19, 0x0a, 0x15, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x4f, 0x4e, 0x44, 0x10, 0x12, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x53, 0x45,
0x41, 0x4d, 0x50, 0x5f, 0x4d, 0x49, 0x43, 0x52, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x13, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x4d,
0x11, 0x12, 0x18, 0x0a, 0x14, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x4e, 0x49, 0x4c, 0x4c, 0x49, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x14, 0x12, 0x14, 0x0a, 0x10,
0x41, 0x4e, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x12, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x4d, 0x49, 0x43, 0x52, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44,
0x49, 0x4d, 0x45, 0x5f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x13, 0x12, 0x14, 0x0a, 0x10, 0x10, 0x15, 0x12, 0x13, 0x0a, 0x0f, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x4e, 0x41, 0x4e, 0x4f, 0x53,
0x54, 0x49, 0x4d, 0x45, 0x5f, 0x4d, 0x49, 0x4c, 0x4c, 0x49, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x16, 0x12, 0x17, 0x0a, 0x13, 0x49, 0x4e, 0x54, 0x45, 0x52,
0x10, 0x14, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x4d, 0x49, 0x43, 0x52, 0x4f, 0x56, 0x41, 0x4c, 0x5f, 0x59, 0x45, 0x41, 0x52, 0x5f, 0x4d, 0x4f, 0x4e, 0x54, 0x48, 0x10, 0x17,
0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x15, 0x12, 0x13, 0x0a, 0x0f, 0x54, 0x49, 0x4d, 0x45, 0x12, 0x15, 0x0a, 0x11, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x56, 0x41, 0x4c, 0x5f, 0x44, 0x41, 0x59,
0x5f, 0x4e, 0x41, 0x4e, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x16, 0x12, 0x17, 0x0a, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x18, 0x12, 0x1b, 0x0a, 0x17, 0x49, 0x4e, 0x54, 0x45, 0x52,
0x13, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x56, 0x41, 0x4c, 0x5f, 0x59, 0x45, 0x41, 0x52, 0x5f, 0x4d, 0x56, 0x41, 0x4c, 0x5f, 0x4d, 0x4f, 0x4e, 0x54, 0x48, 0x5f, 0x44, 0x41, 0x59, 0x5f, 0x4e, 0x41,
0x4f, 0x4e, 0x54, 0x48, 0x10, 0x17, 0x12, 0x15, 0x0a, 0x11, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x56, 0x4e, 0x4f, 0x10, 0x19, 0x12, 0x0e, 0x0a, 0x0a, 0x44, 0x45, 0x43, 0x49, 0x4d, 0x41, 0x4c, 0x31,
0x41, 0x4c, 0x5f, 0x44, 0x41, 0x59, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x18, 0x12, 0x1b, 0x0a, 0x32, 0x38, 0x10, 0x1e, 0x12, 0x08, 0x0a, 0x04, 0x4a, 0x53, 0x4f, 0x4e, 0x10, 0x1f, 0x12, 0x0a,
0x17, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x56, 0x41, 0x4c, 0x5f, 0x4d, 0x4f, 0x4e, 0x54, 0x48, 0x5f, 0x0a, 0x06, 0x56, 0x45, 0x43, 0x54, 0x4f, 0x52, 0x10, 0x20, 0x2a, 0x48, 0x0a, 0x08, 0x54, 0x69,
0x44, 0x41, 0x59, 0x5f, 0x4e, 0x41, 0x4e, 0x4f, 0x10, 0x19, 0x12, 0x0e, 0x0a, 0x0a, 0x44, 0x45, 0x6d, 0x65, 0x55, 0x6e, 0x69, 0x74, 0x12, 0x0f, 0x0a, 0x0b, 0x4d, 0x49, 0x4c, 0x4c, 0x49, 0x53,
0x43, 0x49, 0x4d, 0x41, 0x4c, 0x31, 0x32, 0x38, 0x10, 0x1e, 0x12, 0x08, 0x0a, 0x04, 0x4a, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x45, 0x43, 0x4f, 0x4e,
0x4f, 0x4e, 0x10, 0x1f, 0x12, 0x0a, 0x0a, 0x06, 0x56, 0x45, 0x43, 0x54, 0x4f, 0x52, 0x10, 0x20, 0x44, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x4d, 0x49, 0x43, 0x52, 0x4f, 0x53, 0x45, 0x43, 0x4f,
0x2a, 0x48, 0x0a, 0x08, 0x54, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x69, 0x74, 0x12, 0x0f, 0x0a, 0x0b, 0x4e, 0x44, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x4e, 0x41, 0x4e, 0x4f, 0x53, 0x45, 0x43, 0x4f,
0x4d, 0x49, 0x4c, 0x4c, 0x49, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x4e, 0x44, 0x10, 0x03, 0x2a, 0x24, 0x0a, 0x11, 0x4a, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65,
0x06, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x4d, 0x49, 0x43, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x0a, 0x0b, 0x4a, 0x53, 0x4f,
0x52, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x4e, 0x41, 0x4e, 0x5f, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x10, 0x00, 0x42, 0x4f, 0x0a, 0x0e, 0x69, 0x6f,
0x4e, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x03, 0x2a, 0x24, 0x0a, 0x11, 0x4a, 0x73, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x06, 0x43, 0x6f,
0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x6d, 0x6d, 0x6f, 0x6e, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
0x0f, 0x0a, 0x0b, 0x4a, 0x53, 0x4f, 0x4e, 0x5f, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x10, 0x00, 0x2f, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x2f, 0x67, 0x72,
0x42, 0x4f, 0x0a, 0x0e, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f,
0x76, 0x31, 0x42, 0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f,
0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x74, 0x6f, 0x33,
0x65, 0x61, 0x6d, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2d, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76,
0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
} }
var ( var (
@@ -1949,7 +2000,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_enumTypes = make([]protoimpl.EnumInfo, 4)
var file_greptime_v1_common_proto_msgTypes = make([]protoimpl.MessageInfo, 28) var file_greptime_v1_common_proto_msgTypes = make([]protoimpl.MessageInfo, 29)
var file_greptime_v1_common_proto_goTypes = []interface{}{ var file_greptime_v1_common_proto_goTypes = []interface{}{
(SemanticType)(0), // 0: greptime.v1.SemanticType (SemanticType)(0), // 0: greptime.v1.SemanticType
(ColumnDataType)(0), // 1: greptime.v1.ColumnDataType (ColumnDataType)(0), // 1: greptime.v1.ColumnDataType
@@ -1968,41 +2019,42 @@ var file_greptime_v1_common_proto_goTypes = []interface{}{
(*AffectedRows)(nil), // 14: greptime.v1.AffectedRows (*AffectedRows)(nil), // 14: greptime.v1.AffectedRows
(*Metrics)(nil), // 15: greptime.v1.Metrics (*Metrics)(nil), // 15: greptime.v1.Metrics
(*ExpireAfter)(nil), // 16: greptime.v1.ExpireAfter (*ExpireAfter)(nil), // 16: greptime.v1.ExpireAfter
(*FlightMetadata)(nil), // 17: greptime.v1.FlightMetadata (*EvalInterval)(nil), // 17: greptime.v1.EvalInterval
(*IntervalMonthDayNano)(nil), // 18: greptime.v1.IntervalMonthDayNano (*FlightMetadata)(nil), // 18: greptime.v1.FlightMetadata
(*TimeRange)(nil), // 19: greptime.v1.TimeRange (*IntervalMonthDayNano)(nil), // 19: greptime.v1.IntervalMonthDayNano
(*TimeRanges)(nil), // 20: greptime.v1.TimeRanges (*TimeRange)(nil), // 20: greptime.v1.TimeRange
(*Decimal128)(nil), // 21: greptime.v1.Decimal128 (*TimeRanges)(nil), // 21: greptime.v1.TimeRanges
(*ColumnDataTypeExtension)(nil), // 22: greptime.v1.ColumnDataTypeExtension (*Decimal128)(nil), // 22: greptime.v1.Decimal128
(*DecimalTypeExtension)(nil), // 23: greptime.v1.DecimalTypeExtension (*ColumnDataTypeExtension)(nil), // 23: greptime.v1.ColumnDataTypeExtension
(*VectorTypeExtension)(nil), // 24: greptime.v1.VectorTypeExtension (*DecimalTypeExtension)(nil), // 24: greptime.v1.DecimalTypeExtension
(*ColumnOptions)(nil), // 25: greptime.v1.ColumnOptions (*VectorTypeExtension)(nil), // 25: greptime.v1.VectorTypeExtension
(*ArrowIpc)(nil), // 26: greptime.v1.ArrowIpc (*ColumnOptions)(nil), // 26: greptime.v1.ColumnOptions
nil, // 27: greptime.v1.QueryContext.ExtensionsEntry (*ArrowIpc)(nil), // 27: greptime.v1.ArrowIpc
nil, // 28: greptime.v1.SnapshotSequences.SstMinSequencesEntry nil, // 28: greptime.v1.QueryContext.ExtensionsEntry
nil, // 29: greptime.v1.SnapshotSequences.SnapshotSeqsEntry nil, // 29: greptime.v1.SnapshotSequences.SstMinSequencesEntry
nil, // 30: greptime.v1.RequestHeader.TracingContextEntry nil, // 30: greptime.v1.SnapshotSequences.SnapshotSeqsEntry
nil, // 31: greptime.v1.ColumnOptions.OptionsEntry nil, // 31: greptime.v1.RequestHeader.TracingContextEntry
nil, // 32: greptime.v1.ColumnOptions.OptionsEntry
} }
var file_greptime_v1_common_proto_depIdxs = []int32{ var file_greptime_v1_common_proto_depIdxs = []int32{
27, // 0: greptime.v1.QueryContext.extensions:type_name -> greptime.v1.QueryContext.ExtensionsEntry 28, // 0: greptime.v1.QueryContext.extensions:type_name -> greptime.v1.QueryContext.ExtensionsEntry
5, // 1: greptime.v1.QueryContext.snapshot_seqs:type_name -> greptime.v1.SnapshotSequences 5, // 1: greptime.v1.QueryContext.snapshot_seqs:type_name -> greptime.v1.SnapshotSequences
6, // 2: greptime.v1.QueryContext.explain:type_name -> greptime.v1.ExplainOptions 6, // 2: greptime.v1.QueryContext.explain:type_name -> greptime.v1.ExplainOptions
28, // 3: greptime.v1.SnapshotSequences.sst_min_sequences:type_name -> greptime.v1.SnapshotSequences.SstMinSequencesEntry 29, // 3: greptime.v1.SnapshotSequences.sst_min_sequences:type_name -> greptime.v1.SnapshotSequences.SstMinSequencesEntry
29, // 4: greptime.v1.SnapshotSequences.snapshot_seqs:type_name -> greptime.v1.SnapshotSequences.SnapshotSeqsEntry 30, // 4: greptime.v1.SnapshotSequences.snapshot_seqs:type_name -> greptime.v1.SnapshotSequences.SnapshotSeqsEntry
10, // 5: greptime.v1.RequestHeader.authorization:type_name -> greptime.v1.AuthHeader 10, // 5: greptime.v1.RequestHeader.authorization:type_name -> greptime.v1.AuthHeader
30, // 6: greptime.v1.RequestHeader.tracing_context:type_name -> greptime.v1.RequestHeader.TracingContextEntry 31, // 6: greptime.v1.RequestHeader.tracing_context:type_name -> greptime.v1.RequestHeader.TracingContextEntry
9, // 7: greptime.v1.ResponseHeader.status:type_name -> greptime.v1.Status 9, // 7: greptime.v1.ResponseHeader.status:type_name -> greptime.v1.Status
11, // 8: greptime.v1.AuthHeader.basic:type_name -> greptime.v1.Basic 11, // 8: greptime.v1.AuthHeader.basic:type_name -> greptime.v1.Basic
12, // 9: greptime.v1.AuthHeader.token:type_name -> greptime.v1.Token 12, // 9: greptime.v1.AuthHeader.token:type_name -> greptime.v1.Token
14, // 10: greptime.v1.FlightMetadata.affected_rows:type_name -> greptime.v1.AffectedRows 14, // 10: greptime.v1.FlightMetadata.affected_rows:type_name -> greptime.v1.AffectedRows
15, // 11: greptime.v1.FlightMetadata.metrics:type_name -> greptime.v1.Metrics 15, // 11: greptime.v1.FlightMetadata.metrics:type_name -> greptime.v1.Metrics
2, // 12: greptime.v1.TimeRanges.time_unit:type_name -> greptime.v1.TimeUnit 2, // 12: greptime.v1.TimeRanges.time_unit:type_name -> greptime.v1.TimeUnit
19, // 13: greptime.v1.TimeRanges.time_ranges:type_name -> greptime.v1.TimeRange 20, // 13: greptime.v1.TimeRanges.time_ranges:type_name -> greptime.v1.TimeRange
23, // 14: greptime.v1.ColumnDataTypeExtension.decimal_type:type_name -> greptime.v1.DecimalTypeExtension 24, // 14: greptime.v1.ColumnDataTypeExtension.decimal_type:type_name -> greptime.v1.DecimalTypeExtension
3, // 15: greptime.v1.ColumnDataTypeExtension.json_type:type_name -> greptime.v1.JsonTypeExtension 3, // 15: greptime.v1.ColumnDataTypeExtension.json_type:type_name -> greptime.v1.JsonTypeExtension
24, // 16: greptime.v1.ColumnDataTypeExtension.vector_type:type_name -> greptime.v1.VectorTypeExtension 25, // 16: greptime.v1.ColumnDataTypeExtension.vector_type:type_name -> greptime.v1.VectorTypeExtension
31, // 17: greptime.v1.ColumnOptions.options:type_name -> greptime.v1.ColumnOptions.OptionsEntry 32, // 17: greptime.v1.ColumnOptions.options:type_name -> greptime.v1.ColumnOptions.OptionsEntry
18, // [18:18] is the sub-list for method output_type 18, // [18:18] is the sub-list for method output_type
18, // [18:18] is the sub-list for method input_type 18, // [18:18] is the sub-list for method input_type
18, // [18:18] is the sub-list for extension type_name 18, // [18:18] is the sub-list for extension type_name
@@ -2173,7 +2225,7 @@ func file_greptime_v1_common_proto_init() {
} }
} }
file_greptime_v1_common_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { file_greptime_v1_common_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*FlightMetadata); i { switch v := v.(*EvalInterval); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@@ -2185,7 +2237,7 @@ func file_greptime_v1_common_proto_init() {
} }
} }
file_greptime_v1_common_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { file_greptime_v1_common_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*IntervalMonthDayNano); i { switch v := v.(*FlightMetadata); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@@ -2197,7 +2249,7 @@ func file_greptime_v1_common_proto_init() {
} }
} }
file_greptime_v1_common_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { file_greptime_v1_common_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TimeRange); i { switch v := v.(*IntervalMonthDayNano); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@@ -2209,7 +2261,7 @@ func file_greptime_v1_common_proto_init() {
} }
} }
file_greptime_v1_common_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { file_greptime_v1_common_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TimeRanges); i { switch v := v.(*TimeRange); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@@ -2221,7 +2273,7 @@ func file_greptime_v1_common_proto_init() {
} }
} }
file_greptime_v1_common_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { file_greptime_v1_common_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Decimal128); i { switch v := v.(*TimeRanges); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@@ -2233,7 +2285,7 @@ func file_greptime_v1_common_proto_init() {
} }
} }
file_greptime_v1_common_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { file_greptime_v1_common_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ColumnDataTypeExtension); i { switch v := v.(*Decimal128); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@@ -2245,7 +2297,7 @@ func file_greptime_v1_common_proto_init() {
} }
} }
file_greptime_v1_common_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { file_greptime_v1_common_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DecimalTypeExtension); i { switch v := v.(*ColumnDataTypeExtension); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@@ -2257,7 +2309,7 @@ func file_greptime_v1_common_proto_init() {
} }
} }
file_greptime_v1_common_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { file_greptime_v1_common_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*VectorTypeExtension); i { switch v := v.(*DecimalTypeExtension); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@@ -2269,7 +2321,7 @@ func file_greptime_v1_common_proto_init() {
} }
} }
file_greptime_v1_common_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { file_greptime_v1_common_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ColumnOptions); i { switch v := v.(*VectorTypeExtension); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@@ -2281,6 +2333,18 @@ func file_greptime_v1_common_proto_init() {
} }
} }
file_greptime_v1_common_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { file_greptime_v1_common_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ColumnOptions); 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[23].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ArrowIpc); i { switch v := v.(*ArrowIpc); i {
case 0: case 0:
return &v.state return &v.state
@@ -2297,7 +2361,7 @@ func file_greptime_v1_common_proto_init() {
(*AuthHeader_Basic)(nil), (*AuthHeader_Basic)(nil),
(*AuthHeader_Token)(nil), (*AuthHeader_Token)(nil),
} }
file_greptime_v1_common_proto_msgTypes[18].OneofWrappers = []interface{}{ file_greptime_v1_common_proto_msgTypes[19].OneofWrappers = []interface{}{
(*ColumnDataTypeExtension_DecimalType)(nil), (*ColumnDataTypeExtension_DecimalType)(nil),
(*ColumnDataTypeExtension_JsonType)(nil), (*ColumnDataTypeExtension_JsonType)(nil),
(*ColumnDataTypeExtension_VectorType)(nil), (*ColumnDataTypeExtension_VectorType)(nil),
@@ -2308,7 +2372,7 @@ func file_greptime_v1_common_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_greptime_v1_common_proto_rawDesc, RawDescriptor: file_greptime_v1_common_proto_rawDesc,
NumEnums: 4, NumEnums: 4,
NumMessages: 28, NumMessages: 29,
NumExtensions: 0, NumExtensions: 0,
NumServices: 0, NumServices: 0,
}, },
+89 -75
View File
@@ -426,10 +426,11 @@ type CreateFlowExpr struct {
OrReplace bool `protobuf:"varint,5,opt,name=or_replace,json=orReplace,proto3" json:"or_replace,omitempty"` OrReplace bool `protobuf:"varint,5,opt,name=or_replace,json=orReplace,proto3" json:"or_replace,omitempty"`
CreateIfNotExists bool `protobuf:"varint,6,opt,name=create_if_not_exists,json=createIfNotExists,proto3" json:"create_if_not_exists,omitempty"` CreateIfNotExists bool `protobuf:"varint,6,opt,name=create_if_not_exists,json=createIfNotExists,proto3" json:"create_if_not_exists,omitempty"`
// Expire data older than the given duration seconds. // Expire data older than the given duration seconds.
ExpireAfter *ExpireAfter `protobuf:"bytes,7,opt,name=expire_after,json=expireAfter,proto3" json:"expire_after,omitempty"` ExpireAfter *ExpireAfter `protobuf:"bytes,7,opt,name=expire_after,json=expireAfter,proto3" json:"expire_after,omitempty"`
Comment string `protobuf:"bytes,8,opt,name=comment,proto3" json:"comment,omitempty"` EvalInterval *EvalInterval `protobuf:"bytes,11,opt,name=eval_interval,json=evalInterval,proto3" json:"eval_interval,omitempty"`
Sql string `protobuf:"bytes,9,opt,name=sql,proto3" json:"sql,omitempty"` Comment string `protobuf:"bytes,8,opt,name=comment,proto3" json:"comment,omitempty"`
FlowOptions map[string]string `protobuf:"bytes,10,rep,name=flow_options,json=flowOptions,proto3" json:"flow_options,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` Sql string `protobuf:"bytes,9,opt,name=sql,proto3" json:"sql,omitempty"`
FlowOptions map[string]string `protobuf:"bytes,10,rep,name=flow_options,json=flowOptions,proto3" json:"flow_options,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
} }
func (x *CreateFlowExpr) Reset() { func (x *CreateFlowExpr) Reset() {
@@ -513,6 +514,13 @@ func (x *CreateFlowExpr) GetExpireAfter() *ExpireAfter {
return nil return nil
} }
func (x *CreateFlowExpr) GetEvalInterval() *EvalInterval {
if x != nil {
return x.EvalInterval
}
return nil
}
func (x *CreateFlowExpr) GetComment() string { func (x *CreateFlowExpr) GetComment() string {
if x != nil { if x != nil {
return x.Comment return x.Comment
@@ -3636,7 +3644,7 @@ var file_greptime_v1_ddl_proto_rawDesc = []byte{
0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x74, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x74,
0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x45, 0x78, 0x70, 0x72, 0x48, 0x00, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x45, 0x78, 0x70, 0x72, 0x48, 0x00,
0x52, 0x0d, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x42, 0x52, 0x0d, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x42,
0x06, 0x0a, 0x04, 0x65, 0x78, 0x70, 0x72, 0x22, 0xa0, 0x04, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x06, 0x0a, 0x04, 0x65, 0x78, 0x70, 0x72, 0x22, 0xe0, 0x04, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61,
0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61,
0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a,
@@ -3658,7 +3666,11 @@ var file_greptime_v1_ddl_proto_rawDesc = []byte{
0x12, 0x3b, 0x0a, 0x0c, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x12, 0x3b, 0x0a, 0x0c, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72,
0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x18, 0x07, 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, 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, 0x18, 0x0a, 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, 0x0b,
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, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x71, 0x6c, 0x18, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x71, 0x6c, 0x18, 0x09,
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x71, 0x6c, 0x12, 0x4f, 0x0a, 0x0c, 0x66, 0x6c, 0x6f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x71, 0x6c, 0x12, 0x4f, 0x0a, 0x0c, 0x66, 0x6c, 0x6f,
@@ -4228,12 +4240,13 @@ var file_greptime_v1_ddl_proto_goTypes = []interface{}{
nil, // 55: greptime.v1.WebhookOptions.OptsEntry nil, // 55: greptime.v1.WebhookOptions.OptsEntry
(*TableName)(nil), // 56: greptime.v1.TableName (*TableName)(nil), // 56: greptime.v1.TableName
(*ExpireAfter)(nil), // 57: greptime.v1.ExpireAfter (*ExpireAfter)(nil), // 57: greptime.v1.ExpireAfter
(*TimeRanges)(nil), // 58: greptime.v1.TimeRanges (*EvalInterval)(nil), // 58: greptime.v1.EvalInterval
(ColumnDataType)(0), // 59: greptime.v1.ColumnDataType (*TimeRanges)(nil), // 59: greptime.v1.TimeRanges
(*ColumnDataTypeExtension)(nil), // 60: greptime.v1.ColumnDataTypeExtension (ColumnDataType)(0), // 60: greptime.v1.ColumnDataType
(SemanticType)(0), // 61: greptime.v1.SemanticType (*ColumnDataTypeExtension)(nil), // 61: greptime.v1.ColumnDataTypeExtension
(*ColumnOptions)(nil), // 62: greptime.v1.ColumnOptions (SemanticType)(0), // 62: greptime.v1.SemanticType
(*durationpb.Duration)(nil), // 63: google.protobuf.Duration (*ColumnOptions)(nil), // 63: greptime.v1.ColumnOptions
(*durationpb.Duration)(nil), // 64: google.protobuf.Duration
} }
var file_greptime_v1_ddl_proto_depIdxs = []int32{ var file_greptime_v1_ddl_proto_depIdxs = []int32{
18, // 0: greptime.v1.DdlRequest.create_database:type_name -> greptime.v1.CreateDatabaseExpr 18, // 0: greptime.v1.DdlRequest.create_database:type_name -> greptime.v1.CreateDatabaseExpr
@@ -4249,69 +4262,70 @@ var file_greptime_v1_ddl_proto_depIdxs = []int32{
56, // 10: greptime.v1.CreateFlowExpr.source_table_names:type_name -> greptime.v1.TableName 56, // 10: greptime.v1.CreateFlowExpr.source_table_names:type_name -> greptime.v1.TableName
56, // 11: greptime.v1.CreateFlowExpr.sink_table_name:type_name -> greptime.v1.TableName 56, // 11: greptime.v1.CreateFlowExpr.sink_table_name:type_name -> greptime.v1.TableName
57, // 12: greptime.v1.CreateFlowExpr.expire_after:type_name -> greptime.v1.ExpireAfter 57, // 12: greptime.v1.CreateFlowExpr.expire_after:type_name -> greptime.v1.ExpireAfter
50, // 13: greptime.v1.CreateFlowExpr.flow_options:type_name -> greptime.v1.CreateFlowExpr.FlowOptionsEntry 58, // 13: greptime.v1.CreateFlowExpr.eval_interval:type_name -> greptime.v1.EvalInterval
34, // 14: greptime.v1.DropFlowExpr.flow_id:type_name -> greptime.v1.FlowId 50, // 14: greptime.v1.CreateFlowExpr.flow_options:type_name -> greptime.v1.CreateFlowExpr.FlowOptionsEntry
56, // 15: greptime.v1.CreateViewExpr.table_names:type_name -> greptime.v1.TableName 34, // 15: greptime.v1.DropFlowExpr.flow_id:type_name -> greptime.v1.FlowId
33, // 16: greptime.v1.DropViewExpr.view_id:type_name -> greptime.v1.TableId 56, // 16: greptime.v1.CreateViewExpr.table_names:type_name -> greptime.v1.TableName
35, // 17: greptime.v1.CreateTableExpr.column_defs:type_name -> greptime.v1.ColumnDef 33, // 17: greptime.v1.DropViewExpr.view_id:type_name -> greptime.v1.TableId
51, // 18: greptime.v1.CreateTableExpr.table_options:type_name -> greptime.v1.CreateTableExpr.TableOptionsEntry 35, // 18: greptime.v1.CreateTableExpr.column_defs:type_name -> greptime.v1.ColumnDef
33, // 19: greptime.v1.CreateTableExpr.table_id:type_name -> greptime.v1.TableId 51, // 19: greptime.v1.CreateTableExpr.table_options:type_name -> greptime.v1.CreateTableExpr.TableOptionsEntry
21, // 20: greptime.v1.AlterTableExpr.add_columns:type_name -> greptime.v1.AddColumns 33, // 20: greptime.v1.CreateTableExpr.table_id:type_name -> greptime.v1.TableId
24, // 21: greptime.v1.AlterTableExpr.drop_columns:type_name -> greptime.v1.DropColumns 21, // 21: greptime.v1.AlterTableExpr.add_columns:type_name -> greptime.v1.AddColumns
26, // 22: greptime.v1.AlterTableExpr.rename_table:type_name -> greptime.v1.RenameTable 24, // 22: greptime.v1.AlterTableExpr.drop_columns:type_name -> greptime.v1.DropColumns
25, // 23: greptime.v1.AlterTableExpr.modify_column_types:type_name -> greptime.v1.ModifyColumnTypes 26, // 23: greptime.v1.AlterTableExpr.rename_table:type_name -> greptime.v1.RenameTable
30, // 24: greptime.v1.AlterTableExpr.set_table_options:type_name -> greptime.v1.SetTableOptions 25, // 24: greptime.v1.AlterTableExpr.modify_column_types:type_name -> greptime.v1.ModifyColumnTypes
31, // 25: greptime.v1.AlterTableExpr.unset_table_options:type_name -> greptime.v1.UnsetTableOptions 30, // 25: greptime.v1.AlterTableExpr.set_table_options:type_name -> greptime.v1.SetTableOptions
15, // 26: greptime.v1.AlterTableExpr.set_index:type_name -> greptime.v1.SetIndex 31, // 26: greptime.v1.AlterTableExpr.unset_table_options:type_name -> greptime.v1.UnsetTableOptions
16, // 27: greptime.v1.AlterTableExpr.unset_index:type_name -> greptime.v1.UnsetIndex 15, // 27: greptime.v1.AlterTableExpr.set_index:type_name -> greptime.v1.SetIndex
22, // 28: greptime.v1.AlterTableExpr.drop_defaults:type_name -> greptime.v1.DropDefaults 16, // 28: greptime.v1.AlterTableExpr.unset_index:type_name -> greptime.v1.UnsetIndex
12, // 29: greptime.v1.AlterTableExpr.set_indexes:type_name -> greptime.v1.SetIndexes 22, // 29: greptime.v1.AlterTableExpr.drop_defaults:type_name -> greptime.v1.DropDefaults
13, // 30: greptime.v1.AlterTableExpr.unset_indexes:type_name -> greptime.v1.UnsetIndexes 12, // 30: greptime.v1.AlterTableExpr.set_indexes:type_name -> greptime.v1.SetIndexes
23, // 31: greptime.v1.AlterTableExpr.set_defaults:type_name -> greptime.v1.SetDefaults 13, // 31: greptime.v1.AlterTableExpr.unset_indexes:type_name -> greptime.v1.UnsetIndexes
15, // 32: greptime.v1.SetIndexes.set_indexes:type_name -> greptime.v1.SetIndex 23, // 32: greptime.v1.AlterTableExpr.set_defaults:type_name -> greptime.v1.SetDefaults
16, // 33: greptime.v1.UnsetIndexes.unset_indexes:type_name -> greptime.v1.UnsetIndex 15, // 33: greptime.v1.SetIndexes.set_indexes:type_name -> greptime.v1.SetIndex
37, // 34: greptime.v1.SetIndex.fulltext:type_name -> greptime.v1.SetFulltext 16, // 34: greptime.v1.UnsetIndexes.unset_indexes:type_name -> greptime.v1.UnsetIndex
39, // 35: greptime.v1.SetIndex.inverted:type_name -> greptime.v1.SetInverted 37, // 35: greptime.v1.SetIndex.fulltext:type_name -> greptime.v1.SetFulltext
41, // 36: greptime.v1.SetIndex.skipping:type_name -> greptime.v1.SetSkipping 39, // 36: greptime.v1.SetIndex.inverted:type_name -> greptime.v1.SetInverted
38, // 37: greptime.v1.UnsetIndex.fulltext:type_name -> greptime.v1.UnsetFulltext 41, // 37: greptime.v1.SetIndex.skipping:type_name -> greptime.v1.SetSkipping
40, // 38: greptime.v1.UnsetIndex.inverted:type_name -> greptime.v1.UnsetInverted 38, // 38: greptime.v1.UnsetIndex.fulltext:type_name -> greptime.v1.UnsetFulltext
42, // 39: greptime.v1.UnsetIndex.skipping:type_name -> greptime.v1.UnsetSkipping 40, // 39: greptime.v1.UnsetIndex.inverted:type_name -> greptime.v1.UnsetInverted
33, // 40: greptime.v1.DropTableExpr.table_id:type_name -> greptime.v1.TableId 42, // 40: greptime.v1.UnsetIndex.skipping:type_name -> greptime.v1.UnsetSkipping
52, // 41: greptime.v1.CreateDatabaseExpr.options:type_name -> greptime.v1.CreateDatabaseExpr.OptionsEntry 33, // 41: greptime.v1.DropTableExpr.table_id:type_name -> greptime.v1.TableId
33, // 42: greptime.v1.TruncateTableExpr.table_id:type_name -> greptime.v1.TableId 52, // 42: greptime.v1.CreateDatabaseExpr.options:type_name -> greptime.v1.CreateDatabaseExpr.OptionsEntry
58, // 43: greptime.v1.TruncateTableExpr.time_ranges:type_name -> greptime.v1.TimeRanges 33, // 43: greptime.v1.TruncateTableExpr.table_id:type_name -> greptime.v1.TableId
27, // 44: greptime.v1.AddColumns.add_columns:type_name -> greptime.v1.AddColumn 59, // 44: greptime.v1.TruncateTableExpr.time_ranges:type_name -> greptime.v1.TimeRanges
11, // 45: greptime.v1.DropDefaults.drop_defaults:type_name -> greptime.v1.DropDefault 27, // 45: greptime.v1.AddColumns.add_columns:type_name -> greptime.v1.AddColumn
14, // 46: greptime.v1.SetDefaults.set_defaults:type_name -> greptime.v1.SetDefault 11, // 46: greptime.v1.DropDefaults.drop_defaults:type_name -> greptime.v1.DropDefault
32, // 47: greptime.v1.DropColumns.drop_columns:type_name -> greptime.v1.DropColumn 14, // 47: greptime.v1.SetDefaults.set_defaults:type_name -> greptime.v1.SetDefault
28, // 48: greptime.v1.ModifyColumnTypes.modify_column_types:type_name -> greptime.v1.ModifyColumnType 32, // 48: greptime.v1.DropColumns.drop_columns:type_name -> greptime.v1.DropColumn
35, // 49: greptime.v1.AddColumn.column_def:type_name -> greptime.v1.ColumnDef 28, // 49: greptime.v1.ModifyColumnTypes.modify_column_types:type_name -> greptime.v1.ModifyColumnType
36, // 50: greptime.v1.AddColumn.location:type_name -> greptime.v1.AddColumnLocation 35, // 50: greptime.v1.AddColumn.column_def:type_name -> greptime.v1.ColumnDef
59, // 51: greptime.v1.ModifyColumnType.target_type:type_name -> greptime.v1.ColumnDataType 36, // 51: greptime.v1.AddColumn.location:type_name -> greptime.v1.AddColumnLocation
60, // 52: greptime.v1.ModifyColumnType.target_type_extension:type_name -> greptime.v1.ColumnDataTypeExtension 60, // 52: greptime.v1.ModifyColumnType.target_type:type_name -> greptime.v1.ColumnDataType
29, // 53: greptime.v1.SetTableOptions.table_options:type_name -> greptime.v1.Option 61, // 53: greptime.v1.ModifyColumnType.target_type_extension:type_name -> greptime.v1.ColumnDataTypeExtension
59, // 54: greptime.v1.ColumnDef.data_type:type_name -> greptime.v1.ColumnDataType 29, // 54: greptime.v1.SetTableOptions.table_options:type_name -> greptime.v1.Option
61, // 55: greptime.v1.ColumnDef.semantic_type:type_name -> greptime.v1.SemanticType 60, // 55: greptime.v1.ColumnDef.data_type:type_name -> greptime.v1.ColumnDataType
60, // 56: greptime.v1.ColumnDef.datatype_extension:type_name -> greptime.v1.ColumnDataTypeExtension 62, // 56: greptime.v1.ColumnDef.semantic_type:type_name -> greptime.v1.SemanticType
62, // 57: greptime.v1.ColumnDef.options:type_name -> greptime.v1.ColumnOptions 61, // 57: greptime.v1.ColumnDef.datatype_extension:type_name -> greptime.v1.ColumnDataTypeExtension
3, // 58: greptime.v1.AddColumnLocation.location_type:type_name -> greptime.v1.AddColumnLocation.LocationType 63, // 58: greptime.v1.ColumnDef.options:type_name -> greptime.v1.ColumnOptions
0, // 59: greptime.v1.SetFulltext.analyzer:type_name -> greptime.v1.Analyzer 3, // 59: greptime.v1.AddColumnLocation.location_type:type_name -> greptime.v1.AddColumnLocation.LocationType
1, // 60: greptime.v1.SetFulltext.backend:type_name -> greptime.v1.FulltextBackend 0, // 60: greptime.v1.SetFulltext.analyzer:type_name -> greptime.v1.Analyzer
2, // 61: greptime.v1.SetSkipping.skipping_index_type:type_name -> greptime.v1.SkippingIndexType 1, // 61: greptime.v1.SetFulltext.backend:type_name -> greptime.v1.FulltextBackend
44, // 62: greptime.v1.AlterDatabaseExpr.set_database_options:type_name -> greptime.v1.SetDatabaseOptions 2, // 62: greptime.v1.SetSkipping.skipping_index_type:type_name -> greptime.v1.SkippingIndexType
45, // 63: greptime.v1.AlterDatabaseExpr.unset_database_options:type_name -> greptime.v1.UnsetDatabaseOptions 44, // 63: greptime.v1.AlterDatabaseExpr.set_database_options:type_name -> greptime.v1.SetDatabaseOptions
29, // 64: greptime.v1.SetDatabaseOptions.set_database_options:type_name -> greptime.v1.Option 45, // 64: greptime.v1.AlterDatabaseExpr.unset_database_options:type_name -> greptime.v1.UnsetDatabaseOptions
47, // 65: greptime.v1.CreateTriggerExpr.channels:type_name -> greptime.v1.NotifyChannel 29, // 65: greptime.v1.SetDatabaseOptions.set_database_options:type_name -> greptime.v1.Option
53, // 66: greptime.v1.CreateTriggerExpr.labels:type_name -> greptime.v1.CreateTriggerExpr.LabelsEntry 47, // 66: greptime.v1.CreateTriggerExpr.channels:type_name -> greptime.v1.NotifyChannel
54, // 67: greptime.v1.CreateTriggerExpr.annotations:type_name -> greptime.v1.CreateTriggerExpr.AnnotationsEntry 53, // 67: greptime.v1.CreateTriggerExpr.labels:type_name -> greptime.v1.CreateTriggerExpr.LabelsEntry
63, // 68: greptime.v1.CreateTriggerExpr.interval:type_name -> google.protobuf.Duration 54, // 68: greptime.v1.CreateTriggerExpr.annotations:type_name -> greptime.v1.CreateTriggerExpr.AnnotationsEntry
48, // 69: greptime.v1.NotifyChannel.webhook:type_name -> greptime.v1.WebhookOptions 64, // 69: greptime.v1.CreateTriggerExpr.interval:type_name -> google.protobuf.Duration
55, // 70: greptime.v1.WebhookOptions.opts:type_name -> greptime.v1.WebhookOptions.OptsEntry 48, // 70: greptime.v1.NotifyChannel.webhook:type_name -> greptime.v1.WebhookOptions
71, // [71:71] is the sub-list for method output_type 55, // 71: greptime.v1.WebhookOptions.opts:type_name -> greptime.v1.WebhookOptions.OptsEntry
71, // [71:71] is the sub-list for method input_type 72, // [72:72] is the sub-list for method output_type
71, // [71:71] is the sub-list for extension type_name 72, // [72:72] is the sub-list for method input_type
71, // [71:71] is the sub-list for extension extendee 72, // [72:72] is the sub-list for extension type_name
0, // [0:71] is the sub-list for field type_name 72, // [72:72] is the sub-list for extension extendee
0, // [0:72] is the sub-list for field type_name
} }
func init() { file_greptime_v1_ddl_proto_init() } func init() { file_greptime_v1_ddl_proto_init() }
+33 -19
View File
@@ -490,10 +490,11 @@ type CreateRequest struct {
SinkTableName *v1.TableName `protobuf:"bytes,3,opt,name=sink_table_name,json=sinkTableName,proto3" json:"sink_table_name,omitempty"` SinkTableName *v1.TableName `protobuf:"bytes,3,opt,name=sink_table_name,json=sinkTableName,proto3" json:"sink_table_name,omitempty"`
CreateIfNotExists bool `protobuf:"varint,4,opt,name=create_if_not_exists,json=createIfNotExists,proto3" json:"create_if_not_exists,omitempty"` CreateIfNotExists bool `protobuf:"varint,4,opt,name=create_if_not_exists,json=createIfNotExists,proto3" json:"create_if_not_exists,omitempty"`
// Expire data older than the given duration seconds. // Expire data older than the given duration seconds.
ExpireAfter *v1.ExpireAfter `protobuf:"bytes,5,opt,name=expire_after,json=expireAfter,proto3" json:"expire_after,omitempty"` ExpireAfter *v1.ExpireAfter `protobuf:"bytes,5,opt,name=expire_after,json=expireAfter,proto3" json:"expire_after,omitempty"`
Comment string `protobuf:"bytes,6,opt,name=comment,proto3" json:"comment,omitempty"` EvalInterval *v1.EvalInterval `protobuf:"bytes,10,opt,name=eval_interval,json=evalInterval,proto3" json:"eval_interval,omitempty"`
Sql string `protobuf:"bytes,7,opt,name=sql,proto3" json:"sql,omitempty"` Comment string `protobuf:"bytes,6,opt,name=comment,proto3" json:"comment,omitempty"`
FlowOptions map[string]string `protobuf:"bytes,8,rep,name=flow_options,json=flowOptions,proto3" json:"flow_options,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` Sql string `protobuf:"bytes,7,opt,name=sql,proto3" json:"sql,omitempty"`
FlowOptions map[string]string `protobuf:"bytes,8,rep,name=flow_options,json=flowOptions,proto3" json:"flow_options,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Set to true if the flow should be created or replaced. // Set to true if the flow should be created or replaced.
OrReplace bool `protobuf:"varint,9,opt,name=or_replace,json=orReplace,proto3" json:"or_replace,omitempty"` OrReplace bool `protobuf:"varint,9,opt,name=or_replace,json=orReplace,proto3" json:"or_replace,omitempty"`
} }
@@ -565,6 +566,13 @@ func (x *CreateRequest) GetExpireAfter() *v1.ExpireAfter {
return nil return nil
} }
func (x *CreateRequest) GetEvalInterval() *v1.EvalInterval {
if x != nil {
return x.EvalInterval
}
return nil
}
func (x *CreateRequest) GetComment() string { func (x *CreateRequest) GetComment() string {
if x != nil { if x != nil {
return x.Comment return x.Comment
@@ -769,7 +777,7 @@ var file_greptime_v1_flow_server_proto_rawDesc = []byte{
0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 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, 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, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
0x38, 0x01, 0x22, 0x8b, 0x04, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 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, 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, 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, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x49, 0x64, 0x52, 0x06, 0x66, 0x6c, 0x6f, 0x77,
@@ -788,6 +796,10 @@ var file_greptime_v1_flow_server_proto_rawDesc = []byte{
0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x65, 0x70, 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, 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, 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, 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, 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, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x71, 0x6c, 0x12, 0x53, 0x0a, 0x0c,
@@ -870,6 +882,7 @@ var file_greptime_v1_flow_server_proto_goTypes = []interface{}{
(*v1.TableId)(nil), // 17: greptime.v1.TableId (*v1.TableId)(nil), // 17: greptime.v1.TableId
(*v1.TableName)(nil), // 18: greptime.v1.TableName (*v1.TableName)(nil), // 18: greptime.v1.TableName
(*v1.ExpireAfter)(nil), // 19: greptime.v1.ExpireAfter (*v1.ExpireAfter)(nil), // 19: greptime.v1.ExpireAfter
(*v1.EvalInterval)(nil), // 20: greptime.v1.EvalInterval
} }
var file_greptime_v1_flow_server_proto_depIdxs = []int32{ var file_greptime_v1_flow_server_proto_depIdxs = []int32{
1, // 0: greptime.v1.flow.DirtyWindowRequests.requests:type_name -> greptime.v1.flow.DirtyWindowRequest 1, // 0: greptime.v1.flow.DirtyWindowRequests.requests:type_name -> greptime.v1.flow.DirtyWindowRequest
@@ -888,20 +901,21 @@ var file_greptime_v1_flow_server_proto_depIdxs = []int32{
17, // 13: greptime.v1.flow.CreateRequest.source_table_ids:type_name -> greptime.v1.TableId 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 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 19, // 15: greptime.v1.flow.CreateRequest.expire_after:type_name -> greptime.v1.ExpireAfter
12, // 16: greptime.v1.flow.CreateRequest.flow_options:type_name -> greptime.v1.flow.CreateRequest.FlowOptionsEntry 20, // 16: greptime.v1.flow.CreateRequest.eval_interval:type_name -> greptime.v1.EvalInterval
16, // 17: greptime.v1.flow.DropRequest.flow_id:type_name -> greptime.v1.FlowId 12, // 17: greptime.v1.flow.CreateRequest.flow_options:type_name -> greptime.v1.flow.CreateRequest.FlowOptionsEntry
16, // 18: greptime.v1.flow.FlushFlow.flow_id:type_name -> greptime.v1.FlowId 16, // 18: greptime.v1.flow.DropRequest.flow_id:type_name -> greptime.v1.FlowId
5, // 19: greptime.v1.flow.Flow.HandleCreateRemove:input_type -> greptime.v1.flow.FlowRequest 16, // 19: greptime.v1.flow.FlushFlow.flow_id:type_name -> greptime.v1.FlowId
3, // 20: greptime.v1.flow.Flow.HandleMirrorRequest:input_type -> greptime.v1.flow.InsertRequests 5, // 20: greptime.v1.flow.Flow.HandleCreateRemove:input_type -> greptime.v1.flow.FlowRequest
0, // 21: greptime.v1.flow.Flow.HandleMarkDirtyTimeWindow:input_type -> greptime.v1.flow.DirtyWindowRequests 3, // 21: greptime.v1.flow.Flow.HandleMirrorRequest:input_type -> greptime.v1.flow.InsertRequests
6, // 22: greptime.v1.flow.Flow.HandleCreateRemove:output_type -> greptime.v1.flow.FlowResponse 0, // 22: greptime.v1.flow.Flow.HandleMarkDirtyTimeWindow:input_type -> greptime.v1.flow.DirtyWindowRequests
6, // 23: greptime.v1.flow.Flow.HandleMirrorRequest:output_type -> greptime.v1.flow.FlowResponse 6, // 23: greptime.v1.flow.Flow.HandleCreateRemove:output_type -> greptime.v1.flow.FlowResponse
6, // 24: greptime.v1.flow.Flow.HandleMarkDirtyTimeWindow:output_type -> greptime.v1.flow.FlowResponse 6, // 24: greptime.v1.flow.Flow.HandleMirrorRequest:output_type -> greptime.v1.flow.FlowResponse
22, // [22:25] is the sub-list for method output_type 6, // 25: greptime.v1.flow.Flow.HandleMarkDirtyTimeWindow:output_type -> greptime.v1.flow.FlowResponse
19, // [19:22] is the sub-list for method input_type 23, // [23:26] is the sub-list for method output_type
19, // [19:19] is the sub-list for extension type_name 20, // [20:23] is the sub-list for method input_type
19, // [19:19] is the sub-list for extension extendee 20, // [20:20] is the sub-list for extension type_name
0, // [0:19] is the sub-list for field type_name 20, // [20:20] is the sub-list for extension extendee
0, // [0:20] is the sub-list for field type_name
} }
func init() { file_greptime_v1_flow_server_proto_init() } func init() { file_greptime_v1_flow_server_proto_init() }
+562 -51
View File
@@ -11851,6 +11851,505 @@ java.lang.String defaultValue);
} }
public interface EvalIntervalOrBuilder extends
// @@protoc_insertion_point(interface_extends:greptime.v1.EvalInterval)
com.google.protobuf.MessageOrBuilder {
/**
* <code>int64 seconds = 1;</code>
* @return The seconds.
*/
long getSeconds();
}
/**
* <pre>
* Eval Interval in seconds
* </pre>
*
* Protobuf type {@code greptime.v1.EvalInterval}
*/
public static final class EvalInterval extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:greptime.v1.EvalInterval)
EvalIntervalOrBuilder {
private static final long serialVersionUID = 0L;
// Use EvalInterval.newBuilder() to construct.
private EvalInterval(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
super(builder);
}
private EvalInterval() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new EvalInterval();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private EvalInterval(
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: {
seconds_ = input.readInt64();
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_EvalInterval_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.greptime.v1.Common.internal_static_greptime_v1_EvalInterval_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.greptime.v1.Common.EvalInterval.class, io.greptime.v1.Common.EvalInterval.Builder.class);
}
public static final int SECONDS_FIELD_NUMBER = 1;
private long seconds_;
/**
* <code>int64 seconds = 1;</code>
* @return The seconds.
*/
@java.lang.Override
public long getSeconds() {
return seconds_;
}
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 (seconds_ != 0L) {
output.writeInt64(1, seconds_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (seconds_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, seconds_);
}
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.EvalInterval)) {
return super.equals(obj);
}
io.greptime.v1.Common.EvalInterval other = (io.greptime.v1.Common.EvalInterval) obj;
if (getSeconds()
!= other.getSeconds()) 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) + SECONDS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSeconds());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.greptime.v1.Common.EvalInterval parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.greptime.v1.Common.EvalInterval 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.EvalInterval parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.greptime.v1.Common.EvalInterval 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.EvalInterval parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.greptime.v1.Common.EvalInterval parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.greptime.v1.Common.EvalInterval parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.greptime.v1.Common.EvalInterval 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.EvalInterval parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.greptime.v1.Common.EvalInterval 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.EvalInterval parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.greptime.v1.Common.EvalInterval 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.EvalInterval 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;
}
/**
* <pre>
* Eval Interval in seconds
* </pre>
*
* Protobuf type {@code greptime.v1.EvalInterval}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:greptime.v1.EvalInterval)
io.greptime.v1.Common.EvalIntervalOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.greptime.v1.Common.internal_static_greptime_v1_EvalInterval_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.greptime.v1.Common.internal_static_greptime_v1_EvalInterval_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.greptime.v1.Common.EvalInterval.class, io.greptime.v1.Common.EvalInterval.Builder.class);
}
// Construct using io.greptime.v1.Common.EvalInterval.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();
seconds_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.greptime.v1.Common.internal_static_greptime_v1_EvalInterval_descriptor;
}
@java.lang.Override
public io.greptime.v1.Common.EvalInterval getDefaultInstanceForType() {
return io.greptime.v1.Common.EvalInterval.getDefaultInstance();
}
@java.lang.Override
public io.greptime.v1.Common.EvalInterval build() {
io.greptime.v1.Common.EvalInterval result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.greptime.v1.Common.EvalInterval buildPartial() {
io.greptime.v1.Common.EvalInterval result = new io.greptime.v1.Common.EvalInterval(this);
result.seconds_ = seconds_;
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.EvalInterval) {
return mergeFrom((io.greptime.v1.Common.EvalInterval)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.greptime.v1.Common.EvalInterval other) {
if (other == io.greptime.v1.Common.EvalInterval.getDefaultInstance()) return this;
if (other.getSeconds() != 0L) {
setSeconds(other.getSeconds());
}
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.EvalInterval parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.greptime.v1.Common.EvalInterval) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private long seconds_ ;
/**
* <code>int64 seconds = 1;</code>
* @return The seconds.
*/
@java.lang.Override
public long getSeconds() {
return seconds_;
}
/**
* <code>int64 seconds = 1;</code>
* @param value The seconds to set.
* @return This builder for chaining.
*/
public Builder setSeconds(long value) {
seconds_ = value;
onChanged();
return this;
}
/**
* <code>int64 seconds = 1;</code>
* @return This builder for chaining.
*/
public Builder clearSeconds() {
seconds_ = 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.EvalInterval)
}
// @@protoc_insertion_point(class_scope:greptime.v1.EvalInterval)
private static final io.greptime.v1.Common.EvalInterval DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.greptime.v1.Common.EvalInterval();
}
public static io.greptime.v1.Common.EvalInterval getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<EvalInterval>
PARSER = new com.google.protobuf.AbstractParser<EvalInterval>() {
@java.lang.Override
public EvalInterval parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new EvalInterval(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser<EvalInterval> parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser<EvalInterval> getParserForType() {
return PARSER;
}
@java.lang.Override
public io.greptime.v1.Common.EvalInterval getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface FlightMetadataOrBuilder extends public interface FlightMetadataOrBuilder extends
// @@protoc_insertion_point(interface_extends:greptime.v1.FlightMetadata) // @@protoc_insertion_point(interface_extends:greptime.v1.FlightMetadata)
com.google.protobuf.MessageOrBuilder { com.google.protobuf.MessageOrBuilder {
@@ -19324,6 +19823,11 @@ java.lang.String defaultValue);
private static final private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_greptime_v1_ExpireAfter_fieldAccessorTable; internal_static_greptime_v1_ExpireAfter_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_greptime_v1_EvalInterval_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_greptime_v1_EvalInterval_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor private static final com.google.protobuf.Descriptors.Descriptor
internal_static_greptime_v1_FlightMetadata_descriptor; internal_static_greptime_v1_FlightMetadata_descriptor;
private static final private static final
@@ -19422,47 +19926,48 @@ java.lang.String defaultValue);
"\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\022\n\ntable_name" + "\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\022\n\ntable_name" +
"\030\003 \001(\t\"\035\n\014AffectedRows\022\r\n\005value\030\001 \001(\r\"\032\n" + "\030\003 \001(\t\"\035\n\014AffectedRows\022\r\n\005value\030\001 \001(\r\"\032\n" +
"\007Metrics\022\017\n\007metrics\030\001 \001(\014\"\034\n\013ExpireAfter" + "\007Metrics\022\017\n\007metrics\030\001 \001(\014\"\034\n\013ExpireAfter" +
"\022\r\n\005value\030\001 \001(\003\"i\n\016FlightMetadata\0220\n\raff" + "\022\r\n\005value\030\001 \001(\003\"\037\n\014EvalInterval\022\017\n\007secon" +
"ected_rows\030\001 \001(\0132\031.greptime.v1.AffectedR" + "ds\030\001 \001(\003\"i\n\016FlightMetadata\0220\n\raffected_r" +
"ows\022%\n\007metrics\030\002 \001(\0132\024.greptime.v1.Metri" + "ows\030\001 \001(\0132\031.greptime.v1.AffectedRows\022%\n\007" +
"cs\"I\n\024IntervalMonthDayNano\022\016\n\006months\030\001 \001" + "metrics\030\002 \001(\0132\024.greptime.v1.Metrics\"I\n\024I" +
"(\005\022\014\n\004days\030\002 \001(\005\022\023\n\013nanoseconds\030\003 \001(\003\"\'\n" + "ntervalMonthDayNano\022\016\n\006months\030\001 \001(\005\022\014\n\004d" +
"\tTimeRange\022\r\n\005start\030\001 \001(\003\022\013\n\003end\030\002 \001(\003\"c" + "ays\030\002 \001(\005\022\023\n\013nanoseconds\030\003 \001(\003\"\'\n\tTimeRa" +
"\n\nTimeRanges\022(\n\ttime_unit\030\001 \001(\0162\025.grepti" + "nge\022\r\n\005start\030\001 \001(\003\022\013\n\003end\030\002 \001(\003\"c\n\nTimeR" +
"me.v1.TimeUnit\022+\n\013time_ranges\030\002 \003(\0132\026.gr" + "anges\022(\n\ttime_unit\030\001 \001(\0162\025.greptime.v1.T" +
"eptime.v1.TimeRange\"$\n\nDecimal128\022\n\n\002hi\030" + "imeUnit\022+\n\013time_ranges\030\002 \003(\0132\026.greptime." +
"\001 \001(\003\022\n\n\002lo\030\002 \001(\003\"\316\001\n\027ColumnDataTypeExte" + "v1.TimeRange\"$\n\nDecimal128\022\n\n\002hi\030\001 \001(\003\022\n" +
"nsion\0229\n\014decimal_type\030\001 \001(\0132!.greptime.v" + "\n\002lo\030\002 \001(\003\"\316\001\n\027ColumnDataTypeExtension\0229" +
"1.DecimalTypeExtensionH\000\0223\n\tjson_type\030\002 " + "\n\014decimal_type\030\001 \001(\0132!.greptime.v1.Decim" +
"\001(\0162\036.greptime.v1.JsonTypeExtensionH\000\0227\n" + "alTypeExtensionH\000\0223\n\tjson_type\030\002 \001(\0162\036.g" +
"\013vector_type\030\003 \001(\0132 .greptime.v1.VectorT" + "reptime.v1.JsonTypeExtensionH\000\0227\n\013vector" +
"ypeExtensionH\000B\n\n\010type_ext\"8\n\024DecimalTyp" + "_type\030\003 \001(\0132 .greptime.v1.VectorTypeExte" +
"eExtension\022\021\n\tprecision\030\001 \001(\005\022\r\n\005scale\030\002" + "nsionH\000B\n\n\010type_ext\"8\n\024DecimalTypeExtens" +
" \001(\005\"\"\n\023VectorTypeExtension\022\013\n\003dim\030\001 \001(\r" + "ion\022\021\n\tprecision\030\001 \001(\005\022\r\n\005scale\030\002 \001(\005\"\"\n" +
"\"y\n\rColumnOptions\0228\n\007options\030\001 \003(\0132\'.gre" + "\023VectorTypeExtension\022\013\n\003dim\030\001 \001(\r\"y\n\rCol" +
"ptime.v1.ColumnOptions.OptionsEntry\032.\n\014O" + "umnOptions\0228\n\007options\030\001 \003(\0132\'.greptime.v" +
"ptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" + "1.ColumnOptions.OptionsEntry\032.\n\014OptionsE" +
"\0028\001\"@\n\010ArrowIpc\022\016\n\006schema\030\001 \001(\014\022\023\n\013data_" + "ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"@\n\010" +
"header\030\002 \001(\014\022\017\n\007payload\030\003 \001(\014*1\n\014Semanti" + "ArrowIpc\022\016\n\006schema\030\001 \001(\014\022\023\n\013data_header\030" +
"cType\022\007\n\003TAG\020\000\022\t\n\005FIELD\020\001\022\r\n\tTIMESTAMP\020\002" + "\002 \001(\014\022\017\n\007payload\030\003 \001(\014*1\n\014SemanticType\022\007" +
"*\354\003\n\016ColumnDataType\022\013\n\007BOOLEAN\020\000\022\010\n\004INT8" + "\n\003TAG\020\000\022\t\n\005FIELD\020\001\022\r\n\tTIMESTAMP\020\002*\354\003\n\016Co" +
"\020\001\022\t\n\005INT16\020\002\022\t\n\005INT32\020\003\022\t\n\005INT64\020\004\022\t\n\005U" + "lumnDataType\022\013\n\007BOOLEAN\020\000\022\010\n\004INT8\020\001\022\t\n\005I" +
"INT8\020\005\022\n\n\006UINT16\020\006\022\n\n\006UINT32\020\007\022\n\n\006UINT64" + "NT16\020\002\022\t\n\005INT32\020\003\022\t\n\005INT64\020\004\022\t\n\005UINT8\020\005\022" +
"\020\010\022\013\n\007FLOAT32\020\t\022\013\n\007FLOAT64\020\n\022\n\n\006BINARY\020\013" + "\n\n\006UINT16\020\006\022\n\n\006UINT32\020\007\022\n\n\006UINT64\020\010\022\013\n\007F" +
"\022\n\n\006STRING\020\014\022\010\n\004DATE\020\r\022\014\n\010DATETIME\020\016\022\024\n\020" + "LOAT32\020\t\022\013\n\007FLOAT64\020\n\022\n\n\006BINARY\020\013\022\n\n\006STR" +
"TIMESTAMP_SECOND\020\017\022\031\n\025TIMESTAMP_MILLISEC" + "ING\020\014\022\010\n\004DATE\020\r\022\014\n\010DATETIME\020\016\022\024\n\020TIMESTA" +
"OND\020\020\022\031\n\025TIMESTAMP_MICROSECOND\020\021\022\030\n\024TIME" + "MP_SECOND\020\017\022\031\n\025TIMESTAMP_MILLISECOND\020\020\022\031" +
"STAMP_NANOSECOND\020\022\022\017\n\013TIME_SECOND\020\023\022\024\n\020T" + "\n\025TIMESTAMP_MICROSECOND\020\021\022\030\n\024TIMESTAMP_N" +
"IME_MILLISECOND\020\024\022\024\n\020TIME_MICROSECOND\020\025\022" + "ANOSECOND\020\022\022\017\n\013TIME_SECOND\020\023\022\024\n\020TIME_MIL" +
"\023\n\017TIME_NANOSECOND\020\026\022\027\n\023INTERVAL_YEAR_MO" + "LISECOND\020\024\022\024\n\020TIME_MICROSECOND\020\025\022\023\n\017TIME" +
"NTH\020\027\022\025\n\021INTERVAL_DAY_TIME\020\030\022\033\n\027INTERVAL" + "_NANOSECOND\020\026\022\027\n\023INTERVAL_YEAR_MONTH\020\027\022\025" +
"_MONTH_DAY_NANO\020\031\022\016\n\nDECIMAL128\020\036\022\010\n\004JSO" + "\n\021INTERVAL_DAY_TIME\020\030\022\033\n\027INTERVAL_MONTH_" +
"N\020\037\022\n\n\006VECTOR\020 *H\n\010TimeUnit\022\017\n\013MILLISECO" + "DAY_NANO\020\031\022\016\n\nDECIMAL128\020\036\022\010\n\004JSON\020\037\022\n\n\006" +
"ND\020\000\022\n\n\006SECOND\020\001\022\017\n\013MICROSECOND\020\002\022\016\n\nNAN" + "VECTOR\020 *H\n\010TimeUnit\022\017\n\013MILLISECOND\020\000\022\n\n" +
"OSECOND\020\003*$\n\021JsonTypeExtension\022\017\n\013JSON_B" + "\006SECOND\020\001\022\017\n\013MICROSECOND\020\002\022\016\n\nNANOSECOND" +
"INARY\020\000BO\n\016io.greptime.v1B\006CommonZ5githu" + "\020\003*$\n\021JsonTypeExtension\022\017\n\013JSON_BINARY\020\000" +
"b.com/GreptimeTeam/greptime-proto/go/gre" + "BO\n\016io.greptime.v1B\006CommonZ5github.com/G" +
"ptime/v1b\006proto3" "reptimeTeam/greptime-proto/go/greptime/v" +
"1b\006proto3"
}; };
descriptor = com.google.protobuf.Descriptors.FileDescriptor descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData, .internalBuildGeneratedFileFrom(descriptorData,
@@ -19570,56 +20075,62 @@ java.lang.String defaultValue);
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_greptime_v1_ExpireAfter_descriptor, internal_static_greptime_v1_ExpireAfter_descriptor,
new java.lang.String[] { "Value", }); new java.lang.String[] { "Value", });
internal_static_greptime_v1_FlightMetadata_descriptor = internal_static_greptime_v1_EvalInterval_descriptor =
getDescriptor().getMessageTypes().get(13); getDescriptor().getMessageTypes().get(13);
internal_static_greptime_v1_EvalInterval_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_greptime_v1_EvalInterval_descriptor,
new java.lang.String[] { "Seconds", });
internal_static_greptime_v1_FlightMetadata_descriptor =
getDescriptor().getMessageTypes().get(14);
internal_static_greptime_v1_FlightMetadata_fieldAccessorTable = new internal_static_greptime_v1_FlightMetadata_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_greptime_v1_FlightMetadata_descriptor, internal_static_greptime_v1_FlightMetadata_descriptor,
new java.lang.String[] { "AffectedRows", "Metrics", }); new java.lang.String[] { "AffectedRows", "Metrics", });
internal_static_greptime_v1_IntervalMonthDayNano_descriptor = internal_static_greptime_v1_IntervalMonthDayNano_descriptor =
getDescriptor().getMessageTypes().get(14); getDescriptor().getMessageTypes().get(15);
internal_static_greptime_v1_IntervalMonthDayNano_fieldAccessorTable = new internal_static_greptime_v1_IntervalMonthDayNano_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_greptime_v1_IntervalMonthDayNano_descriptor, internal_static_greptime_v1_IntervalMonthDayNano_descriptor,
new java.lang.String[] { "Months", "Days", "Nanoseconds", }); new java.lang.String[] { "Months", "Days", "Nanoseconds", });
internal_static_greptime_v1_TimeRange_descriptor = internal_static_greptime_v1_TimeRange_descriptor =
getDescriptor().getMessageTypes().get(15); getDescriptor().getMessageTypes().get(16);
internal_static_greptime_v1_TimeRange_fieldAccessorTable = new internal_static_greptime_v1_TimeRange_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_greptime_v1_TimeRange_descriptor, internal_static_greptime_v1_TimeRange_descriptor,
new java.lang.String[] { "Start", "End", }); new java.lang.String[] { "Start", "End", });
internal_static_greptime_v1_TimeRanges_descriptor = internal_static_greptime_v1_TimeRanges_descriptor =
getDescriptor().getMessageTypes().get(16); getDescriptor().getMessageTypes().get(17);
internal_static_greptime_v1_TimeRanges_fieldAccessorTable = new internal_static_greptime_v1_TimeRanges_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_greptime_v1_TimeRanges_descriptor, internal_static_greptime_v1_TimeRanges_descriptor,
new java.lang.String[] { "TimeUnit", "TimeRanges", }); new java.lang.String[] { "TimeUnit", "TimeRanges", });
internal_static_greptime_v1_Decimal128_descriptor = internal_static_greptime_v1_Decimal128_descriptor =
getDescriptor().getMessageTypes().get(17); getDescriptor().getMessageTypes().get(18);
internal_static_greptime_v1_Decimal128_fieldAccessorTable = new internal_static_greptime_v1_Decimal128_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_greptime_v1_Decimal128_descriptor, internal_static_greptime_v1_Decimal128_descriptor,
new java.lang.String[] { "Hi", "Lo", }); new java.lang.String[] { "Hi", "Lo", });
internal_static_greptime_v1_ColumnDataTypeExtension_descriptor = internal_static_greptime_v1_ColumnDataTypeExtension_descriptor =
getDescriptor().getMessageTypes().get(18); getDescriptor().getMessageTypes().get(19);
internal_static_greptime_v1_ColumnDataTypeExtension_fieldAccessorTable = new internal_static_greptime_v1_ColumnDataTypeExtension_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_greptime_v1_ColumnDataTypeExtension_descriptor, internal_static_greptime_v1_ColumnDataTypeExtension_descriptor,
new java.lang.String[] { "DecimalType", "JsonType", "VectorType", "TypeExt", }); new java.lang.String[] { "DecimalType", "JsonType", "VectorType", "TypeExt", });
internal_static_greptime_v1_DecimalTypeExtension_descriptor = internal_static_greptime_v1_DecimalTypeExtension_descriptor =
getDescriptor().getMessageTypes().get(19); getDescriptor().getMessageTypes().get(20);
internal_static_greptime_v1_DecimalTypeExtension_fieldAccessorTable = new internal_static_greptime_v1_DecimalTypeExtension_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_greptime_v1_DecimalTypeExtension_descriptor, internal_static_greptime_v1_DecimalTypeExtension_descriptor,
new java.lang.String[] { "Precision", "Scale", }); new java.lang.String[] { "Precision", "Scale", });
internal_static_greptime_v1_VectorTypeExtension_descriptor = internal_static_greptime_v1_VectorTypeExtension_descriptor =
getDescriptor().getMessageTypes().get(20); getDescriptor().getMessageTypes().get(21);
internal_static_greptime_v1_VectorTypeExtension_fieldAccessorTable = new internal_static_greptime_v1_VectorTypeExtension_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_greptime_v1_VectorTypeExtension_descriptor, internal_static_greptime_v1_VectorTypeExtension_descriptor,
new java.lang.String[] { "Dim", }); new java.lang.String[] { "Dim", });
internal_static_greptime_v1_ColumnOptions_descriptor = internal_static_greptime_v1_ColumnOptions_descriptor =
getDescriptor().getMessageTypes().get(21); getDescriptor().getMessageTypes().get(22);
internal_static_greptime_v1_ColumnOptions_fieldAccessorTable = new internal_static_greptime_v1_ColumnOptions_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_greptime_v1_ColumnOptions_descriptor, internal_static_greptime_v1_ColumnOptions_descriptor,
@@ -19631,7 +20142,7 @@ java.lang.String defaultValue);
internal_static_greptime_v1_ColumnOptions_OptionsEntry_descriptor, internal_static_greptime_v1_ColumnOptions_OptionsEntry_descriptor,
new java.lang.String[] { "Key", "Value", }); new java.lang.String[] { "Key", "Value", });
internal_static_greptime_v1_ArrowIpc_descriptor = internal_static_greptime_v1_ArrowIpc_descriptor =
getDescriptor().getMessageTypes().get(22); getDescriptor().getMessageTypes().get(23);
internal_static_greptime_v1_ArrowIpc_fieldAccessorTable = new internal_static_greptime_v1_ArrowIpc_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_greptime_v1_ArrowIpc_descriptor, internal_static_greptime_v1_ArrowIpc_descriptor,
+360 -156
View File
@@ -3240,6 +3240,21 @@ public final class Ddl {
*/ */
io.greptime.v1.Common.ExpireAfterOrBuilder getExpireAfterOrBuilder(); io.greptime.v1.Common.ExpireAfterOrBuilder getExpireAfterOrBuilder();
/**
* <code>.greptime.v1.EvalInterval eval_interval = 11;</code>
* @return Whether the evalInterval field is set.
*/
boolean hasEvalInterval();
/**
* <code>.greptime.v1.EvalInterval eval_interval = 11;</code>
* @return The evalInterval.
*/
io.greptime.v1.Common.EvalInterval getEvalInterval();
/**
* <code>.greptime.v1.EvalInterval eval_interval = 11;</code>
*/
io.greptime.v1.Common.EvalIntervalOrBuilder getEvalIntervalOrBuilder();
/** /**
* <code>string comment = 8;</code> * <code>string comment = 8;</code>
* @return The comment. * @return The comment.
@@ -3437,6 +3452,19 @@ java.lang.String defaultValue);
flowOptions__.getKey(), flowOptions__.getValue()); flowOptions__.getKey(), flowOptions__.getValue());
break; break;
} }
case 90: {
io.greptime.v1.Common.EvalInterval.Builder subBuilder = null;
if (evalInterval_ != null) {
subBuilder = evalInterval_.toBuilder();
}
evalInterval_ = input.readMessage(io.greptime.v1.Common.EvalInterval.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(evalInterval_);
evalInterval_ = subBuilder.buildPartial();
}
break;
}
default: { default: {
if (!parseUnknownField( if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) { input, unknownFields, extensionRegistry, tag)) {
@@ -3688,6 +3716,32 @@ java.lang.String defaultValue);
return getExpireAfter(); return getExpireAfter();
} }
public static final int EVAL_INTERVAL_FIELD_NUMBER = 11;
private io.greptime.v1.Common.EvalInterval evalInterval_;
/**
* <code>.greptime.v1.EvalInterval eval_interval = 11;</code>
* @return Whether the evalInterval field is set.
*/
@java.lang.Override
public boolean hasEvalInterval() {
return evalInterval_ != null;
}
/**
* <code>.greptime.v1.EvalInterval eval_interval = 11;</code>
* @return The evalInterval.
*/
@java.lang.Override
public io.greptime.v1.Common.EvalInterval getEvalInterval() {
return evalInterval_ == null ? io.greptime.v1.Common.EvalInterval.getDefaultInstance() : evalInterval_;
}
/**
* <code>.greptime.v1.EvalInterval eval_interval = 11;</code>
*/
@java.lang.Override
public io.greptime.v1.Common.EvalIntervalOrBuilder getEvalIntervalOrBuilder() {
return getEvalInterval();
}
public static final int COMMENT_FIELD_NUMBER = 8; public static final int COMMENT_FIELD_NUMBER = 8;
private volatile java.lang.Object comment_; private volatile java.lang.Object comment_;
/** /**
@@ -3892,6 +3946,9 @@ java.lang.String defaultValue);
internalGetFlowOptions(), internalGetFlowOptions(),
FlowOptionsDefaultEntryHolder.defaultEntry, FlowOptionsDefaultEntryHolder.defaultEntry,
10); 10);
if (evalInterval_ != null) {
output.writeMessage(11, getEvalInterval());
}
unknownFields.writeTo(output); unknownFields.writeTo(output);
} }
@@ -3943,6 +4000,10 @@ java.lang.String defaultValue);
size += com.google.protobuf.CodedOutputStream size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, flowOptions__); .computeMessageSize(10, flowOptions__);
} }
if (evalInterval_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, getEvalInterval());
}
size += unknownFields.getSerializedSize(); size += unknownFields.getSerializedSize();
memoizedSize = size; memoizedSize = size;
return size; return size;
@@ -3978,6 +4039,11 @@ java.lang.String defaultValue);
if (!getExpireAfter() if (!getExpireAfter()
.equals(other.getExpireAfter())) return false; .equals(other.getExpireAfter())) return false;
} }
if (hasEvalInterval() != other.hasEvalInterval()) return false;
if (hasEvalInterval()) {
if (!getEvalInterval()
.equals(other.getEvalInterval())) return false;
}
if (!getComment() if (!getComment()
.equals(other.getComment())) return false; .equals(other.getComment())) return false;
if (!getSql() if (!getSql()
@@ -4017,6 +4083,10 @@ java.lang.String defaultValue);
hash = (37 * hash) + EXPIRE_AFTER_FIELD_NUMBER; hash = (37 * hash) + EXPIRE_AFTER_FIELD_NUMBER;
hash = (53 * hash) + getExpireAfter().hashCode(); hash = (53 * hash) + getExpireAfter().hashCode();
} }
if (hasEvalInterval()) {
hash = (37 * hash) + EVAL_INTERVAL_FIELD_NUMBER;
hash = (53 * hash) + getEvalInterval().hashCode();
}
hash = (37 * hash) + COMMENT_FIELD_NUMBER; hash = (37 * hash) + COMMENT_FIELD_NUMBER;
hash = (53 * hash) + getComment().hashCode(); hash = (53 * hash) + getComment().hashCode();
hash = (37 * hash) + SQL_FIELD_NUMBER; hash = (37 * hash) + SQL_FIELD_NUMBER;
@@ -4211,6 +4281,12 @@ java.lang.String defaultValue);
expireAfter_ = null; expireAfter_ = null;
expireAfterBuilder_ = null; expireAfterBuilder_ = null;
} }
if (evalIntervalBuilder_ == null) {
evalInterval_ = null;
} else {
evalInterval_ = null;
evalIntervalBuilder_ = null;
}
comment_ = ""; comment_ = "";
sql_ = ""; sql_ = "";
@@ -4266,6 +4342,11 @@ java.lang.String defaultValue);
} else { } else {
result.expireAfter_ = expireAfterBuilder_.build(); result.expireAfter_ = expireAfterBuilder_.build();
} }
if (evalIntervalBuilder_ == null) {
result.evalInterval_ = evalInterval_;
} else {
result.evalInterval_ = evalIntervalBuilder_.build();
}
result.comment_ = comment_; result.comment_ = comment_;
result.sql_ = sql_; result.sql_ = sql_;
result.flowOptions_ = internalGetFlowOptions(); result.flowOptions_ = internalGetFlowOptions();
@@ -4364,6 +4445,9 @@ java.lang.String defaultValue);
if (other.hasExpireAfter()) { if (other.hasExpireAfter()) {
mergeExpireAfter(other.getExpireAfter()); mergeExpireAfter(other.getExpireAfter());
} }
if (other.hasEvalInterval()) {
mergeEvalInterval(other.getEvalInterval());
}
if (!other.getComment().isEmpty()) { if (!other.getComment().isEmpty()) {
comment_ = other.comment_; comment_ = other.comment_;
onChanged(); onChanged();
@@ -5132,6 +5216,125 @@ java.lang.String defaultValue);
return expireAfterBuilder_; return expireAfterBuilder_;
} }
private io.greptime.v1.Common.EvalInterval evalInterval_;
private com.google.protobuf.SingleFieldBuilderV3<
io.greptime.v1.Common.EvalInterval, io.greptime.v1.Common.EvalInterval.Builder, io.greptime.v1.Common.EvalIntervalOrBuilder> evalIntervalBuilder_;
/**
* <code>.greptime.v1.EvalInterval eval_interval = 11;</code>
* @return Whether the evalInterval field is set.
*/
public boolean hasEvalInterval() {
return evalIntervalBuilder_ != null || evalInterval_ != null;
}
/**
* <code>.greptime.v1.EvalInterval eval_interval = 11;</code>
* @return The evalInterval.
*/
public io.greptime.v1.Common.EvalInterval getEvalInterval() {
if (evalIntervalBuilder_ == null) {
return evalInterval_ == null ? io.greptime.v1.Common.EvalInterval.getDefaultInstance() : evalInterval_;
} else {
return evalIntervalBuilder_.getMessage();
}
}
/**
* <code>.greptime.v1.EvalInterval eval_interval = 11;</code>
*/
public Builder setEvalInterval(io.greptime.v1.Common.EvalInterval value) {
if (evalIntervalBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
evalInterval_ = value;
onChanged();
} else {
evalIntervalBuilder_.setMessage(value);
}
return this;
}
/**
* <code>.greptime.v1.EvalInterval eval_interval = 11;</code>
*/
public Builder setEvalInterval(
io.greptime.v1.Common.EvalInterval.Builder builderForValue) {
if (evalIntervalBuilder_ == null) {
evalInterval_ = builderForValue.build();
onChanged();
} else {
evalIntervalBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.greptime.v1.EvalInterval eval_interval = 11;</code>
*/
public Builder mergeEvalInterval(io.greptime.v1.Common.EvalInterval value) {
if (evalIntervalBuilder_ == null) {
if (evalInterval_ != null) {
evalInterval_ =
io.greptime.v1.Common.EvalInterval.newBuilder(evalInterval_).mergeFrom(value).buildPartial();
} else {
evalInterval_ = value;
}
onChanged();
} else {
evalIntervalBuilder_.mergeFrom(value);
}
return this;
}
/**
* <code>.greptime.v1.EvalInterval eval_interval = 11;</code>
*/
public Builder clearEvalInterval() {
if (evalIntervalBuilder_ == null) {
evalInterval_ = null;
onChanged();
} else {
evalInterval_ = null;
evalIntervalBuilder_ = null;
}
return this;
}
/**
* <code>.greptime.v1.EvalInterval eval_interval = 11;</code>
*/
public io.greptime.v1.Common.EvalInterval.Builder getEvalIntervalBuilder() {
onChanged();
return getEvalIntervalFieldBuilder().getBuilder();
}
/**
* <code>.greptime.v1.EvalInterval eval_interval = 11;</code>
*/
public io.greptime.v1.Common.EvalIntervalOrBuilder getEvalIntervalOrBuilder() {
if (evalIntervalBuilder_ != null) {
return evalIntervalBuilder_.getMessageOrBuilder();
} else {
return evalInterval_ == null ?
io.greptime.v1.Common.EvalInterval.getDefaultInstance() : evalInterval_;
}
}
/**
* <code>.greptime.v1.EvalInterval eval_interval = 11;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.greptime.v1.Common.EvalInterval, io.greptime.v1.Common.EvalInterval.Builder, io.greptime.v1.Common.EvalIntervalOrBuilder>
getEvalIntervalFieldBuilder() {
if (evalIntervalBuilder_ == null) {
evalIntervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.greptime.v1.Common.EvalInterval, io.greptime.v1.Common.EvalInterval.Builder, io.greptime.v1.Common.EvalIntervalOrBuilder>(
getEvalInterval(),
getParentForChildren(),
isClean());
evalInterval_ = null;
}
return evalIntervalBuilder_;
}
private java.lang.Object comment_ = ""; private java.lang.Object comment_ = "";
/** /**
* <code>string comment = 8;</code> * <code>string comment = 8;</code>
@@ -50422,166 +50625,167 @@ java.lang.String defaultValue);
"reateViewExprH\000\022.\n\tdrop_view\030\013 \001(\0132\031.gre" + "reateViewExprH\000\022.\n\tdrop_view\030\013 \001(\0132\031.gre" +
"ptime.v1.DropViewExprH\000\0228\n\016alter_databas" + "ptime.v1.DropViewExprH\000\0228\n\016alter_databas" +
"e\030\014 \001(\0132\036.greptime.v1.AlterDatabaseExprH" + "e\030\014 \001(\0132\036.greptime.v1.AlterDatabaseExprH" +
"\000B\006\n\004expr\"\226\003\n\016CreateFlowExpr\022\024\n\014catalog_" + "\000B\006\n\004expr\"\310\003\n\016CreateFlowExpr\022\024\n\014catalog_" +
"name\030\001 \001(\t\022\021\n\tflow_name\030\002 \001(\t\0222\n\022source_" + "name\030\001 \001(\t\022\021\n\tflow_name\030\002 \001(\t\0222\n\022source_" +
"table_names\030\003 \003(\0132\026.greptime.v1.TableNam" + "table_names\030\003 \003(\0132\026.greptime.v1.TableNam" +
"e\022/\n\017sink_table_name\030\004 \001(\0132\026.greptime.v1" + "e\022/\n\017sink_table_name\030\004 \001(\0132\026.greptime.v1" +
".TableName\022\022\n\nor_replace\030\005 \001(\010\022\034\n\024create" + ".TableName\022\022\n\nor_replace\030\005 \001(\010\022\034\n\024create" +
"_if_not_exists\030\006 \001(\010\022.\n\014expire_after\030\007 \001" + "_if_not_exists\030\006 \001(\010\022.\n\014expire_after\030\007 \001" +
"(\0132\030.greptime.v1.ExpireAfter\022\017\n\007comment\030" + "(\0132\030.greptime.v1.ExpireAfter\0220\n\reval_int" +
"\010 \001(\t\022\013\n\003sql\030\t \001(\t\022B\n\014flow_options\030\n \003(\013" + "erval\030\013 \001(\0132\031.greptime.v1.EvalInterval\022\017" +
"2,.greptime.v1.CreateFlowExpr.FlowOption" + "\n\007comment\030\010 \001(\t\022\013\n\003sql\030\t \001(\t\022B\n\014flow_opt" +
"sEntry\0322\n\020FlowOptionsEntry\022\013\n\003key\030\001 \001(\t\022" + "ions\030\n \003(\0132,.greptime.v1.CreateFlowExpr." +
"\r\n\005value\030\002 \001(\t:\0028\001\"u\n\014DropFlowExpr\022\024\n\014ca" + "FlowOptionsEntry\0322\n\020FlowOptionsEntry\022\013\n\003" +
"talog_name\030\001 \001(\t\022\021\n\tflow_name\030\002 \001(\t\022$\n\007f" + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"u\n\014DropFlow" +
"low_id\030\003 \001(\0132\023.greptime.v1.FlowId\022\026\n\016dro" + "Expr\022\024\n\014catalog_name\030\001 \001(\t\022\021\n\tflow_name\030" +
"p_if_exists\030\005 \001(\010\"\376\001\n\016CreateViewExpr\022\024\n\014" + "\002 \001(\t\022$\n\007flow_id\030\003 \001(\0132\023.greptime.v1.Flo" +
"catalog_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022" + "wId\022\026\n\016drop_if_exists\030\005 \001(\010\"\376\001\n\016CreateVi" +
"\021\n\tview_name\030\003 \001(\t\022\024\n\014logical_plan\030\004 \001(\014" + "ewExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_n" +
"\022\034\n\024create_if_not_exists\030\005 \001(\010\022\022\n\nor_rep" + "ame\030\002 \001(\t\022\021\n\tview_name\030\003 \001(\t\022\024\n\014logical_" +
"lace\030\006 \001(\010\022+\n\013table_names\030\007 \003(\0132\026.grepti" + "plan\030\004 \001(\014\022\034\n\024create_if_not_exists\030\005 \001(\010" +
"me.v1.TableName\022\017\n\007columns\030\010 \003(\t\022\024\n\014plan" + "\022\022\n\nor_replace\030\006 \001(\010\022+\n\013table_names\030\007 \003(" +
"_columns\030\t \003(\t\022\022\n\ndefinition\030\n \001(\t\"\213\001\n\014D" + "\0132\026.greptime.v1.TableName\022\017\n\007columns\030\010 \003" +
"ropViewExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013sch" + "(\t\022\024\n\014plan_columns\030\t \003(\t\022\022\n\ndefinition\030\n" +
"ema_name\030\002 \001(\t\022\021\n\tview_name\030\003 \001(\t\022%\n\007vie" + " \001(\t\"\213\001\n\014DropViewExpr\022\024\n\014catalog_name\030\001 " +
"w_id\030\004 \001(\0132\024.greptime.v1.TableId\022\026\n\016drop" + "\001(\t\022\023\n\013schema_name\030\002 \001(\t\022\021\n\tview_name\030\003 " +
"_if_exists\030\005 \001(\010\"\207\003\n\017CreateTableExpr\022\024\n\014" + "\001(\t\022%\n\007view_id\030\004 \001(\0132\024.greptime.v1.Table" +
"catalog_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022" + "Id\022\026\n\016drop_if_exists\030\005 \001(\010\"\207\003\n\017CreateTab" +
"\022\n\ntable_name\030\003 \001(\t\022\014\n\004desc\030\004 \001(\t\022+\n\013col" + "leExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_n" +
"umn_defs\030\005 \003(\0132\026.greptime.v1.ColumnDef\022\022" + "ame\030\002 \001(\t\022\022\n\ntable_name\030\003 \001(\t\022\014\n\004desc\030\004 " +
"\n\ntime_index\030\006 \001(\t\022\024\n\014primary_keys\030\007 \003(\t" + "\001(\t\022+\n\013column_defs\030\005 \003(\0132\026.greptime.v1.C" +
"\022\034\n\024create_if_not_exists\030\010 \001(\010\022E\n\rtable_" + "olumnDef\022\022\n\ntime_index\030\006 \001(\t\022\024\n\014primary_" +
"options\030\t \003(\0132..greptime.v1.CreateTableE" + "keys\030\007 \003(\t\022\034\n\024create_if_not_exists\030\010 \001(\010" +
"xpr.TableOptionsEntry\022&\n\010table_id\030\n \001(\0132" + "\022E\n\rtable_options\030\t \003(\0132..greptime.v1.Cr" +
"\024.greptime.v1.TableId\022\016\n\006engine\030\014 \001(\t\0323\n" + "eateTableExpr.TableOptionsEntry\022&\n\010table" +
"\021TableOptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value" + "_id\030\n \001(\0132\024.greptime.v1.TableId\022\016\n\006engin" +
"\030\002 \001(\t:\0028\001\"\312\005\n\016AlterTableExpr\022\024\n\014catalog" + "e\030\014 \001(\t\0323\n\021TableOptionsEntry\022\013\n\003key\030\001 \001(" +
"_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\022\n\ntabl" + "\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\312\005\n\016AlterTableExpr\022" +
"e_name\030\003 \001(\t\022.\n\013add_columns\030\004 \001(\0132\027.grep" + "\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001" +
"time.v1.AddColumnsH\000\0220\n\014drop_columns\030\005 \001" + "(\t\022\022\n\ntable_name\030\003 \001(\t\022.\n\013add_columns\030\004 " +
"(\0132\030.greptime.v1.DropColumnsH\000\0220\n\014rename" + "\001(\0132\027.greptime.v1.AddColumnsH\000\0220\n\014drop_c" +
"_table\030\006 \001(\0132\030.greptime.v1.RenameTableH\000" + "olumns\030\005 \001(\0132\030.greptime.v1.DropColumnsH\000" +
"\022=\n\023modify_column_types\030\007 \001(\0132\036.greptime" + "\0220\n\014rename_table\030\006 \001(\0132\030.greptime.v1.Ren" +
".v1.ModifyColumnTypesH\000\0229\n\021set_table_opt" + "ameTableH\000\022=\n\023modify_column_types\030\007 \001(\0132" +
"ions\030\010 \001(\0132\034.greptime.v1.SetTableOptions" + "\036.greptime.v1.ModifyColumnTypesH\000\0229\n\021set" +
"H\000\022=\n\023unset_table_options\030\013 \001(\0132\036.grepti" + "_table_options\030\010 \001(\0132\034.greptime.v1.SetTa" +
"me.v1.UnsetTableOptionsH\000\022*\n\tset_index\030\014" + "bleOptionsH\000\022=\n\023unset_table_options\030\013 \001(" +
" \001(\0132\025.greptime.v1.SetIndexH\000\022.\n\013unset_i" + "\0132\036.greptime.v1.UnsetTableOptionsH\000\022*\n\ts" +
"ndex\030\r \001(\0132\027.greptime.v1.UnsetIndexH\000\0222\n" + "et_index\030\014 \001(\0132\025.greptime.v1.SetIndexH\000\022" +
"\rdrop_defaults\030\016 \001(\0132\031.greptime.v1.DropD" + ".\n\013unset_index\030\r \001(\0132\027.greptime.v1.Unset" +
"efaultsH\000\022.\n\013set_indexes\030\017 \001(\0132\027.greptim" + "IndexH\000\0222\n\rdrop_defaults\030\016 \001(\0132\031.greptim" +
"e.v1.SetIndexesH\000\0222\n\runset_indexes\030\020 \001(\013" + "e.v1.DropDefaultsH\000\022.\n\013set_indexes\030\017 \001(\013" +
"2\031.greptime.v1.UnsetIndexesH\000\0220\n\014set_def" + "2\027.greptime.v1.SetIndexesH\000\0222\n\runset_ind" +
"aults\030\021 \001(\0132\030.greptime.v1.SetDefaultsH\000B" + "exes\030\020 \001(\0132\031.greptime.v1.UnsetIndexesH\000\022" +
"\006\n\004kind\"\"\n\013DropDefault\022\023\n\013column_name\030\001 " + "0\n\014set_defaults\030\021 \001(\0132\030.greptime.v1.SetD" +
"\001(\t\"8\n\nSetIndexes\022*\n\013set_indexes\030\001 \003(\0132\025" + "efaultsH\000B\006\n\004kind\"\"\n\013DropDefault\022\023\n\013colu" +
".greptime.v1.SetIndex\">\n\014UnsetIndexes\022.\n" + "mn_name\030\001 \001(\t\"8\n\nSetIndexes\022*\n\013set_index" +
"\runset_indexes\030\001 \003(\0132\027.greptime.v1.Unset" + "es\030\001 \003(\0132\025.greptime.v1.SetIndex\">\n\014Unset" +
"Index\"=\n\nSetDefault\022\023\n\013column_name\030\001 \001(\t" + "Indexes\022.\n\runset_indexes\030\001 \003(\0132\027.greptim" +
"\022\032\n\022default_constraint\030\002 \001(\014\"\237\001\n\010SetInde" + "e.v1.UnsetIndex\"=\n\nSetDefault\022\023\n\013column_" +
"x\022,\n\010fulltext\030\001 \001(\0132\030.greptime.v1.SetFul" + "name\030\001 \001(\t\022\032\n\022default_constraint\030\002 \001(\014\"\237" +
"ltextH\000\022,\n\010inverted\030\002 \001(\0132\030.greptime.v1." + "\001\n\010SetIndex\022,\n\010fulltext\030\001 \001(\0132\030.greptime" +
"SetInvertedH\000\022,\n\010skipping\030\003 \001(\0132\030.grepti" + ".v1.SetFulltextH\000\022,\n\010inverted\030\002 \001(\0132\030.gr" +
"me.v1.SetSkippingH\000B\t\n\007options\"\247\001\n\nUnset" + "eptime.v1.SetInvertedH\000\022,\n\010skipping\030\003 \001(" +
"Index\022.\n\010fulltext\030\001 \001(\0132\032.greptime.v1.Un" + "\0132\030.greptime.v1.SetSkippingH\000B\t\n\007options" +
"setFulltextH\000\022.\n\010inverted\030\002 \001(\0132\032.grepti" + "\"\247\001\n\nUnsetIndex\022.\n\010fulltext\030\001 \001(\0132\032.grep" +
"me.v1.UnsetInvertedH\000\022.\n\010skipping\030\003 \001(\0132" + "time.v1.UnsetFulltextH\000\022.\n\010inverted\030\002 \001(" +
"\032.greptime.v1.UnsetSkippingH\000B\t\n\007options" + "\0132\032.greptime.v1.UnsetInvertedH\000\022.\n\010skipp" +
"\"\216\001\n\rDropTableExpr\022\024\n\014catalog_name\030\001 \001(\t" + "ing\030\003 \001(\0132\032.greptime.v1.UnsetSkippingH\000B" +
"\022\023\n\013schema_name\030\002 \001(\t\022\022\n\ntable_name\030\003 \001(" + "\t\n\007options\"\216\001\n\rDropTableExpr\022\024\n\014catalog_" +
"\t\022&\n\010table_id\030\004 \001(\0132\024.greptime.v1.TableI" + "name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\022\n\ntable" +
"d\022\026\n\016drop_if_exists\030\005 \001(\010\"\314\001\n\022CreateData" + "_name\030\003 \001(\t\022&\n\010table_id\030\004 \001(\0132\024.greptime" +
"baseExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema" + ".v1.TableId\022\026\n\016drop_if_exists\030\005 \001(\010\"\314\001\n\022" +
"_name\030\002 \001(\t\022\034\n\024create_if_not_exists\030\003 \001(" + "CreateDatabaseExpr\022\024\n\014catalog_name\030\001 \001(\t" +
"\010\022=\n\007options\030\004 \003(\0132,.greptime.v1.CreateD" + "\022\023\n\013schema_name\030\002 \001(\t\022\034\n\024create_if_not_e" +
"atabaseExpr.OptionsEntry\032.\n\014OptionsEntry" + "xists\030\003 \001(\010\022=\n\007options\030\004 \003(\0132,.greptime." +
"\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\250\001\n\021Tru" + "v1.CreateDatabaseExpr.OptionsEntry\032.\n\014Op" +
"ncateTableExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013" + "tionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" +
"schema_name\030\002 \001(\t\022\022\n\ntable_name\030\003 \001(\t\022&\n" + "8\001\"\250\001\n\021TruncateTableExpr\022\024\n\014catalog_name" +
"\010table_id\030\004 \001(\0132\024.greptime.v1.TableId\022,\n" + "\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\022\n\ntable_nam" +
"\013time_ranges\030\005 \001(\0132\027.greptime.v1.TimeRan" + "e\030\003 \001(\t\022&\n\010table_id\030\004 \001(\0132\024.greptime.v1." +
"ges\"U\n\020DropDatabaseExpr\022\024\n\014catalog_name\030" + "TableId\022,\n\013time_ranges\030\005 \001(\0132\027.greptime." +
"\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\026\n\016drop_if_ex" + "v1.TimeRanges\"U\n\020DropDatabaseExpr\022\024\n\014cat" +
"ists\030\003 \001(\010\"9\n\nAddColumns\022+\n\013add_columns\030" + "alog_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\026\n\016" +
"\001 \003(\0132\026.greptime.v1.AddColumn\"?\n\014DropDef" + "drop_if_exists\030\003 \001(\010\"9\n\nAddColumns\022+\n\013ad" +
"aults\022/\n\rdrop_defaults\030\001 \003(\0132\030.greptime." + "d_columns\030\001 \003(\0132\026.greptime.v1.AddColumn\"" +
"v1.DropDefault\"<\n\013SetDefaults\022-\n\014set_def" + "?\n\014DropDefaults\022/\n\rdrop_defaults\030\001 \003(\0132\030" +
"aults\030\001 \003(\0132\027.greptime.v1.SetDefault\"<\n\013" + ".greptime.v1.DropDefault\"<\n\013SetDefaults\022" +
"DropColumns\022-\n\014drop_columns\030\001 \003(\0132\027.grep" + "-\n\014set_defaults\030\001 \003(\0132\027.greptime.v1.SetD" +
"time.v1.DropColumn\"O\n\021ModifyColumnTypes\022" + "efault\"<\n\013DropColumns\022-\n\014drop_columns\030\001 " +
":\n\023modify_column_types\030\001 \003(\0132\035.greptime." + "\003(\0132\027.greptime.v1.DropColumn\"O\n\021ModifyCo" +
"v1.ModifyColumnType\"%\n\013RenameTable\022\026\n\016ne" + "lumnTypes\022:\n\023modify_column_types\030\001 \003(\0132\035" +
"w_table_name\030\001 \001(\t\"\204\001\n\tAddColumn\022*\n\ncolu" + ".greptime.v1.ModifyColumnType\"%\n\013RenameT" +
"mn_def\030\001 \001(\0132\026.greptime.v1.ColumnDef\0220\n\010" + "able\022\026\n\016new_table_name\030\001 \001(\t\"\204\001\n\tAddColu" +
"location\030\003 \001(\0132\036.greptime.v1.AddColumnLo" + "mn\022*\n\ncolumn_def\030\001 \001(\0132\026.greptime.v1.Col" +
"cation\022\031\n\021add_if_not_exists\030\004 \001(\010\"\236\001\n\020Mo" + "umnDef\0220\n\010location\030\003 \001(\0132\036.greptime.v1.A" +
"difyColumnType\022\023\n\013column_name\030\001 \001(\t\0220\n\013t" + "ddColumnLocation\022\031\n\021add_if_not_exists\030\004 " +
"arget_type\030\002 \001(\0162\033.greptime.v1.ColumnDat" + "\001(\010\"\236\001\n\020ModifyColumnType\022\023\n\013column_name\030" +
"aType\022C\n\025target_type_extension\030\003 \001(\0132$.g" + "\001 \001(\t\0220\n\013target_type\030\002 \001(\0162\033.greptime.v1" +
"reptime.v1.ColumnDataTypeExtension\"$\n\006Op" + ".ColumnDataType\022C\n\025target_type_extension" +
"tion\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"=\n\017SetT" + "\030\003 \001(\0132$.greptime.v1.ColumnDataTypeExten" +
"ableOptions\022*\n\rtable_options\030\001 \003(\0132\023.gre" + "sion\"$\n\006Option\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" +
"ptime.v1.Option\"!\n\021UnsetTableOptions\022\014\n\004" + "(\t\"=\n\017SetTableOptions\022*\n\rtable_options\030\001" +
"keys\030\001 \003(\t\"\032\n\nDropColumn\022\014\n\004name\030\001 \001(\t\"\025" + " \003(\0132\023.greptime.v1.Option\"!\n\021UnsetTableO" +
"\n\007TableId\022\n\n\002id\030\001 \001(\r\"\024\n\006FlowId\022\n\n\002id\030\001 " + "ptions\022\014\n\004keys\030\001 \003(\t\"\032\n\nDropColumn\022\014\n\004na" +
"\001(\r\"\254\002\n\tColumnDef\022\014\n\004name\030\001 \001(\t\022.\n\tdata_" + "me\030\001 \001(\t\"\025\n\007TableId\022\n\n\002id\030\001 \001(\r\"\024\n\006FlowI" +
"type\030\002 \001(\0162\033.greptime.v1.ColumnDataType\022" + "d\022\n\n\002id\030\001 \001(\r\"\254\002\n\tColumnDef\022\014\n\004name\030\001 \001(" +
"\023\n\013is_nullable\030\003 \001(\010\022\032\n\022default_constrai" + "\t\022.\n\tdata_type\030\002 \001(\0162\033.greptime.v1.Colum" +
"nt\030\004 \001(\014\0220\n\rsemantic_type\030\005 \001(\0162\031.grepti" + "nDataType\022\023\n\013is_nullable\030\003 \001(\010\022\032\n\022defaul" +
"me.v1.SemanticType\022\017\n\007comment\030\006 \001(\t\022@\n\022d" + "t_constraint\030\004 \001(\014\0220\n\rsemantic_type\030\005 \001(" +
"atatype_extension\030\007 \001(\0132$.greptime.v1.Co" + "\0162\031.greptime.v1.SemanticType\022\017\n\007comment\030" +
"lumnDataTypeExtension\022+\n\007options\030\010 \001(\0132\032" + "\006 \001(\t\022@\n\022datatype_extension\030\007 \001(\0132$.grep" +
".greptime.v1.ColumnOptions\"\230\001\n\021AddColumn" + "time.v1.ColumnDataTypeExtension\022+\n\007optio" +
"Location\022B\n\rlocation_type\030\001 \001(\0162+.grepti" + "ns\030\010 \001(\0132\032.greptime.v1.ColumnOptions\"\230\001\n" +
"me.v1.AddColumnLocation.LocationType\022\031\n\021" + "\021AddColumnLocation\022B\n\rlocation_type\030\001 \001(" +
"after_column_name\030\002 \001(\t\"$\n\014LocationType\022" + "\0162+.greptime.v1.AddColumnLocation.Locati" +
"\t\n\005FIRST\020\000\022\t\n\005AFTER\020\001\"\324\001\n\013SetFulltext\022\023\n" + "onType\022\031\n\021after_column_name\030\002 \001(\t\"$\n\014Loc" +
"\013column_name\030\001 \001(\t\022\016\n\006enable\030\002 \001(\010\022\'\n\010an" + "ationType\022\t\n\005FIRST\020\000\022\t\n\005AFTER\020\001\"\324\001\n\013SetF" +
"alyzer\030\003 \001(\0162\025.greptime.v1.Analyzer\022\026\n\016c" + "ulltext\022\023\n\013column_name\030\001 \001(\t\022\016\n\006enable\030\002" +
"ase_sensitive\030\004 \001(\010\022-\n\007backend\030\005 \001(\0162\034.g" + " \001(\010\022\'\n\010analyzer\030\003 \001(\0162\025.greptime.v1.Ana" +
"reptime.v1.FulltextBackend\022\023\n\013granularit" + "lyzer\022\026\n\016case_sensitive\030\004 \001(\010\022-\n\007backend" +
"y\030\006 \001(\004\022\033\n\023false_positive_rate\030\007 \001(\001\"$\n\r" + "\030\005 \001(\0162\034.greptime.v1.FulltextBackend\022\023\n\013" +
"UnsetFulltext\022\023\n\013column_name\030\001 \001(\t\"\"\n\013Se" + "granularity\030\006 \001(\004\022\033\n\023false_positive_rate" +
"tInverted\022\023\n\013column_name\030\001 \001(\t\"$\n\rUnsetI" + "\030\007 \001(\001\"$\n\rUnsetFulltext\022\023\n\013column_name\030\001" +
"nverted\022\023\n\013column_name\030\001 \001(\t\"\241\001\n\013SetSkip" + " \001(\t\"\"\n\013SetInverted\022\023\n\013column_name\030\001 \001(\t" +
"ping\022\023\n\013column_name\030\001 \001(\t\022\016\n\006enable\030\002 \001(" + "\"$\n\rUnsetInverted\022\023\n\013column_name\030\001 \001(\t\"\241" +
"\010\022\023\n\013granularity\030\003 \001(\004\022;\n\023skipping_index" + "\001\n\013SetSkipping\022\023\n\013column_name\030\001 \001(\t\022\016\n\006e" +
"_type\030\004 \001(\0162\036.greptime.v1.SkippingIndexT" + "nable\030\002 \001(\010\022\023\n\013granularity\030\003 \001(\004\022;\n\023skip" +
"ype\022\033\n\023false_positive_rate\030\005 \001(\001\"$\n\rUnse" + "ping_index_type\030\004 \001(\0162\036.greptime.v1.Skip" +
"tSkipping\022\023\n\013column_name\030\001 \001(\t\"\314\001\n\021Alter" + "pingIndexType\022\033\n\023false_positive_rate\030\005 \001" +
"DatabaseExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013sc" + "(\001\"$\n\rUnsetSkipping\022\023\n\013column_name\030\001 \001(\t" +
"hema_name\030\002 \001(\t\022?\n\024set_database_options\030" + "\"\314\001\n\021AlterDatabaseExpr\022\024\n\014catalog_name\030\001" +
"\003 \001(\0132\037.greptime.v1.SetDatabaseOptionsH\000" + " \001(\t\022\023\n\013schema_name\030\002 \001(\t\022?\n\024set_databas" +
"\022C\n\026unset_database_options\030\004 \001(\0132!.grept" + "e_options\030\003 \001(\0132\037.greptime.v1.SetDatabas" +
"ime.v1.UnsetDatabaseOptionsH\000B\006\n\004kind\"G\n" + "eOptionsH\000\022C\n\026unset_database_options\030\004 \001" +
"\022SetDatabaseOptions\0221\n\024set_database_opti" + "(\0132!.greptime.v1.UnsetDatabaseOptionsH\000B" +
"ons\030\001 \003(\0132\023.greptime.v1.Option\"$\n\024UnsetD" + "\006\n\004kind\"G\n\022SetDatabaseOptions\0221\n\024set_dat" +
"atabaseOptions\022\014\n\004keys\030\001 \003(\t\"\305\003\n\021CreateT" + "abase_options\030\001 \003(\0132\023.greptime.v1.Option" +
"riggerExpr\022\024\n\014catalog_name\030\001 \001(\t\022\024\n\014trig" + "\"$\n\024UnsetDatabaseOptions\022\014\n\004keys\030\001 \003(\t\"\305" +
"ger_name\030\002 \001(\t\022\034\n\024create_if_not_exists\030\003" + "\003\n\021CreateTriggerExpr\022\024\n\014catalog_name\030\001 \001" +
" \001(\010\022\013\n\003sql\030\004 \001(\t\022,\n\010channels\030\005 \003(\0132\032.gr" + "(\t\022\024\n\014trigger_name\030\002 \001(\t\022\034\n\024create_if_no" +
"eptime.v1.NotifyChannel\022:\n\006labels\030\006 \003(\0132" + "t_exists\030\003 \001(\010\022\013\n\003sql\030\004 \001(\t\022,\n\010channels\030" +
"*.greptime.v1.CreateTriggerExpr.LabelsEn" + "\005 \003(\0132\032.greptime.v1.NotifyChannel\022:\n\006lab" +
"try\022D\n\013annotations\030\007 \003(\0132/.greptime.v1.C" + "els\030\006 \003(\0132*.greptime.v1.CreateTriggerExp" +
"reateTriggerExpr.AnnotationsEntry\022+\n\010int" + "r.LabelsEntry\022D\n\013annotations\030\007 \003(\0132/.gre" +
"erval\030\010 \001(\0132\031.google.protobuf.Duration\022\031" + "ptime.v1.CreateTriggerExpr.AnnotationsEn" +
"\n\021raw_interval_expr\030\t \001(\t\032-\n\013LabelsEntry" + "try\022+\n\010interval\030\010 \001(\0132\031.google.protobuf." +
"\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0322\n\020Anno" + "Duration\022\031\n\021raw_interval_expr\030\t \001(\t\032-\n\013L" +
"tationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t" + "abelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" +
":\0028\001\"]\n\rNotifyChannel\022\014\n\004name\030\001 \001(\t\022.\n\007w" + "8\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v" +
"ebhook\030\002 \001(\0132\033.greptime.v1.WebhookOption" + "alue\030\002 \001(\t:\0028\001\"]\n\rNotifyChannel\022\014\n\004name\030" +
"sH\000B\016\n\014channel_type\"\177\n\016WebhookOptions\022\013\n" + "\001 \001(\t\022.\n\007webhook\030\002 \001(\0132\033.greptime.v1.Web" +
"\003url\030\001 \001(\t\0223\n\004opts\030\002 \003(\0132%.greptime.v1.W" + "hookOptionsH\000B\016\n\014channel_type\"\177\n\016Webhook" +
"ebhookOptions.OptsEntry\032+\n\tOptsEntry\022\013\n\003" + "Options\022\013\n\003url\030\001 \001(\t\0223\n\004opts\030\002 \003(\0132%.gre" +
"key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"U\n\017DropTrig" + "ptime.v1.WebhookOptions.OptsEntry\032+\n\tOpt" +
"gerExpr\022\024\n\014catalog_name\030\001 \001(\t\022\024\n\014trigger" + "sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"U" +
"_name\030\002 \001(\t\022\026\n\016drop_if_exists\030\003 \001(\010*$\n\010A" + "\n\017DropTriggerExpr\022\024\n\014catalog_name\030\001 \001(\t\022" +
"nalyzer\022\013\n\007ENGLISH\020\000\022\013\n\007CHINESE\020\001*)\n\017Ful" + "\024\n\014trigger_name\030\002 \001(\t\022\026\n\016drop_if_exists\030" +
"ltextBackend\022\013\n\007TANTIVY\020\000\022\t\n\005BLOOM\020\001*%\n\021" + "\003 \001(\010*$\n\010Analyzer\022\013\n\007ENGLISH\020\000\022\013\n\007CHINES" +
"SkippingIndexType\022\020\n\014BLOOM_FILTER\020\000BL\n\016i" + "E\020\001*)\n\017FulltextBackend\022\013\n\007TANTIVY\020\000\022\t\n\005B" +
"o.greptime.v1B\003DdlZ5github.com/GreptimeT" + "LOOM\020\001*%\n\021SkippingIndexType\022\020\n\014BLOOM_FIL" +
"eam/greptime-proto/go/greptime/v1b\006proto" + "TER\020\000BL\n\016io.greptime.v1B\003DdlZ5github.com" +
"3" "/GreptimeTeam/greptime-proto/go/greptime" +
"/v1b\006proto3"
}; };
descriptor = com.google.protobuf.Descriptors.FileDescriptor descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData, .internalBuildGeneratedFileFrom(descriptorData,
@@ -50600,7 +50804,7 @@ java.lang.String defaultValue);
internal_static_greptime_v1_CreateFlowExpr_fieldAccessorTable = new internal_static_greptime_v1_CreateFlowExpr_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_greptime_v1_CreateFlowExpr_descriptor, internal_static_greptime_v1_CreateFlowExpr_descriptor,
new java.lang.String[] { "CatalogName", "FlowName", "SourceTableNames", "SinkTableName", "OrReplace", "CreateIfNotExists", "ExpireAfter", "Comment", "Sql", "FlowOptions", }); new java.lang.String[] { "CatalogName", "FlowName", "SourceTableNames", "SinkTableName", "OrReplace", "CreateIfNotExists", "ExpireAfter", "EvalInterval", "Comment", "Sql", "FlowOptions", });
internal_static_greptime_v1_CreateFlowExpr_FlowOptionsEntry_descriptor = internal_static_greptime_v1_CreateFlowExpr_FlowOptionsEntry_descriptor =
internal_static_greptime_v1_CreateFlowExpr_descriptor.getNestedTypes().get(0); internal_static_greptime_v1_CreateFlowExpr_descriptor.getNestedTypes().get(0);
internal_static_greptime_v1_CreateFlowExpr_FlowOptionsEntry_fieldAccessorTable = new internal_static_greptime_v1_CreateFlowExpr_FlowOptionsEntry_fieldAccessorTable = new
@@ -7256,6 +7256,21 @@ com.google.protobuf.ByteString defaultValue);
*/ */
io.greptime.v1.Common.ExpireAfterOrBuilder getExpireAfterOrBuilder(); io.greptime.v1.Common.ExpireAfterOrBuilder getExpireAfterOrBuilder();
/**
* <code>.greptime.v1.EvalInterval eval_interval = 10;</code>
* @return Whether the evalInterval field is set.
*/
boolean hasEvalInterval();
/**
* <code>.greptime.v1.EvalInterval eval_interval = 10;</code>
* @return The evalInterval.
*/
io.greptime.v1.Common.EvalInterval getEvalInterval();
/**
* <code>.greptime.v1.EvalInterval eval_interval = 10;</code>
*/
io.greptime.v1.Common.EvalIntervalOrBuilder getEvalIntervalOrBuilder();
/** /**
* <code>string comment = 6;</code> * <code>string comment = 6;</code>
* @return The comment. * @return The comment.
@@ -7464,6 +7479,19 @@ java.lang.String defaultValue);
orReplace_ = input.readBool(); orReplace_ = input.readBool();
break; break;
} }
case 82: {
io.greptime.v1.Common.EvalInterval.Builder subBuilder = null;
if (evalInterval_ != null) {
subBuilder = evalInterval_.toBuilder();
}
evalInterval_ = input.readMessage(io.greptime.v1.Common.EvalInterval.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(evalInterval_);
evalInterval_ = subBuilder.buildPartial();
}
break;
}
default: { default: {
if (!parseUnknownField( if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) { input, unknownFields, extensionRegistry, tag)) {
@@ -7654,6 +7682,32 @@ java.lang.String defaultValue);
return getExpireAfter(); return getExpireAfter();
} }
public static final int EVAL_INTERVAL_FIELD_NUMBER = 10;
private io.greptime.v1.Common.EvalInterval evalInterval_;
/**
* <code>.greptime.v1.EvalInterval eval_interval = 10;</code>
* @return Whether the evalInterval field is set.
*/
@java.lang.Override
public boolean hasEvalInterval() {
return evalInterval_ != null;
}
/**
* <code>.greptime.v1.EvalInterval eval_interval = 10;</code>
* @return The evalInterval.
*/
@java.lang.Override
public io.greptime.v1.Common.EvalInterval getEvalInterval() {
return evalInterval_ == null ? io.greptime.v1.Common.EvalInterval.getDefaultInstance() : evalInterval_;
}
/**
* <code>.greptime.v1.EvalInterval eval_interval = 10;</code>
*/
@java.lang.Override
public io.greptime.v1.Common.EvalIntervalOrBuilder getEvalIntervalOrBuilder() {
return getEvalInterval();
}
public static final int COMMENT_FIELD_NUMBER = 6; public static final int COMMENT_FIELD_NUMBER = 6;
private volatile java.lang.Object comment_; private volatile java.lang.Object comment_;
/** /**
@@ -7870,6 +7924,9 @@ java.lang.String defaultValue);
if (orReplace_ != false) { if (orReplace_ != false) {
output.writeBool(9, orReplace_); output.writeBool(9, orReplace_);
} }
if (evalInterval_ != null) {
output.writeMessage(10, getEvalInterval());
}
unknownFields.writeTo(output); unknownFields.writeTo(output);
} }
@@ -7919,6 +7976,10 @@ java.lang.String defaultValue);
size += com.google.protobuf.CodedOutputStream size += com.google.protobuf.CodedOutputStream
.computeBoolSize(9, orReplace_); .computeBoolSize(9, orReplace_);
} }
if (evalInterval_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, getEvalInterval());
}
size += unknownFields.getSerializedSize(); size += unknownFields.getSerializedSize();
memoizedSize = size; memoizedSize = size;
return size; return size;
@@ -7953,6 +8014,11 @@ java.lang.String defaultValue);
if (!getExpireAfter() if (!getExpireAfter()
.equals(other.getExpireAfter())) return false; .equals(other.getExpireAfter())) return false;
} }
if (hasEvalInterval() != other.hasEvalInterval()) return false;
if (hasEvalInterval()) {
if (!getEvalInterval()
.equals(other.getEvalInterval())) return false;
}
if (!getComment() if (!getComment()
.equals(other.getComment())) return false; .equals(other.getComment())) return false;
if (!getSql() if (!getSql()
@@ -7991,6 +8057,10 @@ java.lang.String defaultValue);
hash = (37 * hash) + EXPIRE_AFTER_FIELD_NUMBER; hash = (37 * hash) + EXPIRE_AFTER_FIELD_NUMBER;
hash = (53 * hash) + getExpireAfter().hashCode(); hash = (53 * hash) + getExpireAfter().hashCode();
} }
if (hasEvalInterval()) {
hash = (37 * hash) + EVAL_INTERVAL_FIELD_NUMBER;
hash = (53 * hash) + getEvalInterval().hashCode();
}
hash = (37 * hash) + COMMENT_FIELD_NUMBER; hash = (37 * hash) + COMMENT_FIELD_NUMBER;
hash = (53 * hash) + getComment().hashCode(); hash = (53 * hash) + getComment().hashCode();
hash = (37 * hash) + SQL_FIELD_NUMBER; hash = (37 * hash) + SQL_FIELD_NUMBER;
@@ -8190,6 +8260,12 @@ java.lang.String defaultValue);
expireAfter_ = null; expireAfter_ = null;
expireAfterBuilder_ = null; expireAfterBuilder_ = null;
} }
if (evalIntervalBuilder_ == null) {
evalInterval_ = null;
} else {
evalInterval_ = null;
evalIntervalBuilder_ = null;
}
comment_ = ""; comment_ = "";
sql_ = ""; sql_ = "";
@@ -8249,6 +8325,11 @@ java.lang.String defaultValue);
} else { } else {
result.expireAfter_ = expireAfterBuilder_.build(); result.expireAfter_ = expireAfterBuilder_.build();
} }
if (evalIntervalBuilder_ == null) {
result.evalInterval_ = evalInterval_;
} else {
result.evalInterval_ = evalIntervalBuilder_.build();
}
result.comment_ = comment_; result.comment_ = comment_;
result.sql_ = sql_; result.sql_ = sql_;
result.flowOptions_ = internalGetFlowOptions(); result.flowOptions_ = internalGetFlowOptions();
@@ -8340,6 +8421,9 @@ java.lang.String defaultValue);
if (other.hasExpireAfter()) { if (other.hasExpireAfter()) {
mergeExpireAfter(other.getExpireAfter()); mergeExpireAfter(other.getExpireAfter());
} }
if (other.hasEvalInterval()) {
mergeEvalInterval(other.getEvalInterval());
}
if (!other.getComment().isEmpty()) { if (!other.getComment().isEmpty()) {
comment_ = other.comment_; comment_ = other.comment_;
onChanged(); onChanged();
@@ -9047,6 +9131,125 @@ java.lang.String defaultValue);
return expireAfterBuilder_; return expireAfterBuilder_;
} }
private io.greptime.v1.Common.EvalInterval evalInterval_;
private com.google.protobuf.SingleFieldBuilderV3<
io.greptime.v1.Common.EvalInterval, io.greptime.v1.Common.EvalInterval.Builder, io.greptime.v1.Common.EvalIntervalOrBuilder> evalIntervalBuilder_;
/**
* <code>.greptime.v1.EvalInterval eval_interval = 10;</code>
* @return Whether the evalInterval field is set.
*/
public boolean hasEvalInterval() {
return evalIntervalBuilder_ != null || evalInterval_ != null;
}
/**
* <code>.greptime.v1.EvalInterval eval_interval = 10;</code>
* @return The evalInterval.
*/
public io.greptime.v1.Common.EvalInterval getEvalInterval() {
if (evalIntervalBuilder_ == null) {
return evalInterval_ == null ? io.greptime.v1.Common.EvalInterval.getDefaultInstance() : evalInterval_;
} else {
return evalIntervalBuilder_.getMessage();
}
}
/**
* <code>.greptime.v1.EvalInterval eval_interval = 10;</code>
*/
public Builder setEvalInterval(io.greptime.v1.Common.EvalInterval value) {
if (evalIntervalBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
evalInterval_ = value;
onChanged();
} else {
evalIntervalBuilder_.setMessage(value);
}
return this;
}
/**
* <code>.greptime.v1.EvalInterval eval_interval = 10;</code>
*/
public Builder setEvalInterval(
io.greptime.v1.Common.EvalInterval.Builder builderForValue) {
if (evalIntervalBuilder_ == null) {
evalInterval_ = builderForValue.build();
onChanged();
} else {
evalIntervalBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.greptime.v1.EvalInterval eval_interval = 10;</code>
*/
public Builder mergeEvalInterval(io.greptime.v1.Common.EvalInterval value) {
if (evalIntervalBuilder_ == null) {
if (evalInterval_ != null) {
evalInterval_ =
io.greptime.v1.Common.EvalInterval.newBuilder(evalInterval_).mergeFrom(value).buildPartial();
} else {
evalInterval_ = value;
}
onChanged();
} else {
evalIntervalBuilder_.mergeFrom(value);
}
return this;
}
/**
* <code>.greptime.v1.EvalInterval eval_interval = 10;</code>
*/
public Builder clearEvalInterval() {
if (evalIntervalBuilder_ == null) {
evalInterval_ = null;
onChanged();
} else {
evalInterval_ = null;
evalIntervalBuilder_ = null;
}
return this;
}
/**
* <code>.greptime.v1.EvalInterval eval_interval = 10;</code>
*/
public io.greptime.v1.Common.EvalInterval.Builder getEvalIntervalBuilder() {
onChanged();
return getEvalIntervalFieldBuilder().getBuilder();
}
/**
* <code>.greptime.v1.EvalInterval eval_interval = 10;</code>
*/
public io.greptime.v1.Common.EvalIntervalOrBuilder getEvalIntervalOrBuilder() {
if (evalIntervalBuilder_ != null) {
return evalIntervalBuilder_.getMessageOrBuilder();
} else {
return evalInterval_ == null ?
io.greptime.v1.Common.EvalInterval.getDefaultInstance() : evalInterval_;
}
}
/**
* <code>.greptime.v1.EvalInterval eval_interval = 10;</code>
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.greptime.v1.Common.EvalInterval, io.greptime.v1.Common.EvalInterval.Builder, io.greptime.v1.Common.EvalIntervalOrBuilder>
getEvalIntervalFieldBuilder() {
if (evalIntervalBuilder_ == null) {
evalIntervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.greptime.v1.Common.EvalInterval, io.greptime.v1.Common.EvalInterval.Builder, io.greptime.v1.Common.EvalIntervalOrBuilder>(
getEvalInterval(),
getParentForChildren(),
isClean());
evalInterval_ = null;
}
return evalIntervalBuilder_;
}
private java.lang.Object comment_ = ""; private java.lang.Object comment_ = "";
/** /**
* <code>string comment = 6;</code> * <code>string comment = 6;</code>
@@ -10771,30 +10974,31 @@ java.lang.String defaultValue);
"ected_flows\030\003 \003(\0132\023.greptime.v1.FlowId\022B" + "ected_flows\030\003 \003(\0132\023.greptime.v1.FlowId\022B" +
"\n\nextensions\030\004 \003(\0132..greptime.v1.flow.Fl" + "\n\nextensions\030\004 \003(\0132..greptime.v1.flow.Fl" +
"owResponse.ExtensionsEntry\0321\n\017Extensions" + "owResponse.ExtensionsEntry\0321\n\017Extensions" +
"Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\014:\0028\001\"\222\003" + "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" + "\n\rCreateRequest\022$\n\007flow_id\030\001 \001(\0132\023.grept" +
"ime.v1.FlowId\022.\n\020source_table_ids\030\002 \003(\0132" + "ime.v1.FlowId\022.\n\020source_table_ids\030\002 \003(\0132" +
"\024.greptime.v1.TableId\022/\n\017sink_table_name" + "\024.greptime.v1.TableId\022/\n\017sink_table_name" +
"\030\003 \001(\0132\026.greptime.v1.TableName\022\034\n\024create" + "\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" + "_if_not_exists\030\004 \001(\010\022.\n\014expire_after\030\005 \001" +
"(\0132\030.greptime.v1.ExpireAfter\022\017\n\007comment\030" + "(\0132\030.greptime.v1.ExpireAfter\0220\n\reval_int" +
"\006 \001(\t\022\013\n\003sql\030\007 \001(\t\022F\n\014flow_options\030\010 \003(\013" + "erval\030\n \001(\0132\031.greptime.v1.EvalInterval\022\017" +
"20.greptime.v1.flow.CreateRequest.FlowOp" + "\n\007comment\030\006 \001(\t\022\013\n\003sql\030\007 \001(\t\022F\n\014flow_opt" +
"tionsEntry\022\022\n\nor_replace\030\t \001(\010\0322\n\020FlowOp" + "ions\030\010 \003(\01320.greptime.v1.flow.CreateRequ" +
"tionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" + "est.FlowOptionsEntry\022\022\n\nor_replace\030\t \001(\010" +
"8\001\"3\n\013DropRequest\022$\n\007flow_id\030\001 \001(\0132\023.gre" + "\0322\n\020FlowOptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val" +
"ptime.v1.FlowId\"1\n\tFlushFlow\022$\n\007flow_id\030" + "ue\030\002 \001(\t:\0028\001\"3\n\013DropRequest\022$\n\007flow_id\030\001" +
"\001 \001(\0132\023.greptime.v1.FlowId2\230\002\n\004Flow\022S\n\022H" + " \001(\0132\023.greptime.v1.FlowId\"1\n\tFlushFlow\022$" +
"andleCreateRemove\022\035.greptime.v1.flow.Flo" + "\n\007flow_id\030\001 \001(\0132\023.greptime.v1.FlowId2\230\002\n" +
"wRequest\032\036.greptime.v1.flow.FlowResponse" + "\004Flow\022S\n\022HandleCreateRemove\022\035.greptime.v" +
"\022W\n\023HandleMirrorRequest\022 .greptime.v1.fl" + "1.flow.FlowRequest\032\036.greptime.v1.flow.Fl" +
"ow.InsertRequests\032\036.greptime.v1.flow.Flo" + "owResponse\022W\n\023HandleMirrorRequest\022 .grep" +
"wResponse\022b\n\031HandleMarkDirtyTimeWindow\022%" + "time.v1.flow.InsertRequests\032\036.greptime.v" +
".greptime.v1.flow.DirtyWindowRequests\032\036." + "1.flow.FlowResponse\022b\n\031HandleMarkDirtyTi" +
"greptime.v1.flow.FlowResponseBY\n\023io.grep" + "meWindow\022%.greptime.v1.flow.DirtyWindowR" +
"time.v1.flowB\006ServerZ:github.com/Greptim" + "equests\032\036.greptime.v1.flow.FlowResponseB" +
"eTeam/greptime-proto/go/greptime/v1/flow" + "Y\n\023io.greptime.v1.flowB\006ServerZ:github.c" +
"b\006proto3" "om/GreptimeTeam/greptime-proto/go/grepti" +
"me/v1/flowb\006proto3"
}; };
descriptor = com.google.protobuf.Descriptors.FileDescriptor descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData, .internalBuildGeneratedFileFrom(descriptorData,
@@ -10862,7 +11066,7 @@ java.lang.String defaultValue);
internal_static_greptime_v1_flow_CreateRequest_fieldAccessorTable = new internal_static_greptime_v1_flow_CreateRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_greptime_v1_flow_CreateRequest_descriptor, internal_static_greptime_v1_flow_CreateRequest_descriptor,
new java.lang.String[] { "FlowId", "SourceTableIds", "SinkTableName", "CreateIfNotExists", "ExpireAfter", "Comment", "Sql", "FlowOptions", "OrReplace", }); new java.lang.String[] { "FlowId", "SourceTableIds", "SinkTableName", "CreateIfNotExists", "ExpireAfter", "EvalInterval", "Comment", "Sql", "FlowOptions", "OrReplace", });
internal_static_greptime_v1_flow_CreateRequest_FlowOptionsEntry_descriptor = internal_static_greptime_v1_flow_CreateRequest_FlowOptionsEntry_descriptor =
internal_static_greptime_v1_flow_CreateRequest_descriptor.getNestedTypes().get(0); internal_static_greptime_v1_flow_CreateRequest_descriptor.getNestedTypes().get(0);
internal_static_greptime_v1_flow_CreateRequest_FlowOptionsEntry_fieldAccessorTable = new internal_static_greptime_v1_flow_CreateRequest_FlowOptionsEntry_fieldAccessorTable = new
+5
View File
@@ -105,6 +105,11 @@ message ExpireAfter {
int64 value = 1; int64 value = 1;
} }
// Eval Interval in seconds
message EvalInterval {
int64 seconds = 1;
}
message FlightMetadata { message FlightMetadata {
AffectedRows affected_rows = 1; AffectedRows affected_rows = 1;
Metrics metrics = 2; Metrics metrics = 2;
+1
View File
@@ -52,6 +52,7 @@ message CreateFlowExpr {
bool create_if_not_exists = 6; bool create_if_not_exists = 6;
// Expire data older than the given duration seconds. // Expire data older than the given duration seconds.
ExpireAfter expire_after = 7; ExpireAfter expire_after = 7;
EvalInterval eval_interval = 11;
string comment = 8; string comment = 8;
string sql = 9; string sql = 9;
map<string, string> flow_options = 10; map<string, string> flow_options = 10;
+1
View File
@@ -93,6 +93,7 @@ message CreateRequest {
bool create_if_not_exists = 4; bool create_if_not_exists = 4;
// Expire data older than the given duration seconds. // Expire data older than the given duration seconds.
ExpireAfter expire_after = 5; ExpireAfter expire_after = 5;
EvalInterval eval_interval = 10;
string comment = 6; string comment = 6;
string sql = 7; string sql = 7;
map<string, string> flow_options = 8; map<string, string> flow_options = 8;