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_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(
::_pbi::ConstantInitialized): _impl_{
/*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_;
} // namespace v1
} // 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 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_
PROTOBUF_FIELD_OFFSET(::greptime::v1::ExpireAfter, _impl_.value_),
~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_),
~0u, // no _extensions_
~0u, // no _oneof_case_
@@ -670,17 +690,18 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode
{ 128, -1, -1, sizeof(::greptime::v1::AffectedRows)},
{ 135, -1, -1, sizeof(::greptime::v1::Metrics)},
{ 142, -1, -1, sizeof(::greptime::v1::ExpireAfter)},
{ 149, -1, -1, sizeof(::greptime::v1::FlightMetadata)},
{ 157, -1, -1, sizeof(::greptime::v1::IntervalMonthDayNano)},
{ 166, -1, -1, sizeof(::greptime::v1::TimeRange)},
{ 174, -1, -1, sizeof(::greptime::v1::TimeRanges)},
{ 182, -1, -1, sizeof(::greptime::v1::Decimal128)},
{ 190, -1, -1, sizeof(::greptime::v1::ColumnDataTypeExtension)},
{ 200, -1, -1, sizeof(::greptime::v1::DecimalTypeExtension)},
{ 208, -1, -1, sizeof(::greptime::v1::VectorTypeExtension)},
{ 215, 223, -1, sizeof(::greptime::v1::ColumnOptions_OptionsEntry_DoNotUse)},
{ 225, -1, -1, sizeof(::greptime::v1::ColumnOptions)},
{ 232, -1, -1, sizeof(::greptime::v1::ArrowIpc)},
{ 149, -1, -1, sizeof(::greptime::v1::EvalInterval)},
{ 156, -1, -1, sizeof(::greptime::v1::FlightMetadata)},
{ 164, -1, -1, sizeof(::greptime::v1::IntervalMonthDayNano)},
{ 173, -1, -1, sizeof(::greptime::v1::TimeRange)},
{ 181, -1, -1, sizeof(::greptime::v1::TimeRanges)},
{ 189, -1, -1, sizeof(::greptime::v1::Decimal128)},
{ 197, -1, -1, sizeof(::greptime::v1::ColumnDataTypeExtension)},
{ 207, -1, -1, sizeof(::greptime::v1::DecimalTypeExtension)},
{ 215, -1, -1, sizeof(::greptime::v1::VectorTypeExtension)},
{ 222, 230, -1, sizeof(::greptime::v1::ColumnOptions_OptionsEntry_DoNotUse)},
{ 232, -1, -1, sizeof(::greptime::v1::ColumnOptions)},
{ 239, -1, -1, sizeof(::greptime::v1::ArrowIpc)},
};
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::_Metrics_default_instance_._instance,
&::greptime::v1::_ExpireAfter_default_instance_._instance,
&::greptime::v1::_EvalInterval_default_instance_._instance,
&::greptime::v1::_FlightMetadata_default_instance_._instance,
&::greptime::v1::_IntervalMonthDayNano_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"
"\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"
"\022\r\n\005value\030\001 \001(\003\"i\n\016FlightMetadata\0220\n\raff"
"ected_rows\030\001 \001(\0132\031.greptime.v1.AffectedR"
"ows\022%\n\007metrics\030\002 \001(\0132\024.greptime.v1.Metri"
"cs\"I\n\024IntervalMonthDayNano\022\016\n\006months\030\001 \001"
"(\005\022\014\n\004days\030\002 \001(\005\022\023\n\013nanoseconds\030\003 \001(\003\"\'\n"
"\tTimeRange\022\r\n\005start\030\001 \001(\003\022\013\n\003end\030\002 \001(\003\"c"
"\n\nTimeRanges\022(\n\ttime_unit\030\001 \001(\0162\025.grepti"
"me.v1.TimeUnit\022+\n\013time_ranges\030\002 \003(\0132\026.gr"
"eptime.v1.TimeRange\"$\n\nDecimal128\022\n\n\002hi\030"
"\001 \001(\003\022\n\n\002lo\030\002 \001(\003\"\316\001\n\027ColumnDataTypeExte"
"nsion\0229\n\014decimal_type\030\001 \001(\0132!.greptime.v"
"1.DecimalTypeExtensionH\000\0223\n\tjson_type\030\002 "
"\001(\0162\036.greptime.v1.JsonTypeExtensionH\000\0227\n"
"\013vector_type\030\003 \001(\0132 .greptime.v1.VectorT"
"ypeExtensionH\000B\n\n\010type_ext\"8\n\024DecimalTyp"
"eExtension\022\021\n\tprecision\030\001 \001(\005\022\r\n\005scale\030\002"
" \001(\005\"\"\n\023VectorTypeExtension\022\013\n\003dim\030\001 \001(\r"
"\"y\n\rColumnOptions\0228\n\007options\030\001 \003(\0132\'.gre"
"ptime.v1.ColumnOptions.OptionsEntry\032.\n\014O"
"ptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:"
"\0028\001\"@\n\010ArrowIpc\022\016\n\006schema\030\001 \001(\014\022\023\n\013data_"
"header\030\002 \001(\014\022\017\n\007payload\030\003 \001(\014*1\n\014Semanti"
"cType\022\007\n\003TAG\020\000\022\t\n\005FIELD\020\001\022\r\n\tTIMESTAMP\020\002"
"*\354\003\n\016ColumnDataType\022\013\n\007BOOLEAN\020\000\022\010\n\004INT8"
"\020\001\022\t\n\005INT16\020\002\022\t\n\005INT32\020\003\022\t\n\005INT64\020\004\022\t\n\005U"
"INT8\020\005\022\n\n\006UINT16\020\006\022\n\n\006UINT32\020\007\022\n\n\006UINT64"
"\020\010\022\013\n\007FLOAT32\020\t\022\013\n\007FLOAT64\020\n\022\n\n\006BINARY\020\013"
"\022\n\n\006STRING\020\014\022\010\n\004DATE\020\r\022\014\n\010DATETIME\020\016\022\024\n\020"
"TIMESTAMP_SECOND\020\017\022\031\n\025TIMESTAMP_MILLISEC"
"OND\020\020\022\031\n\025TIMESTAMP_MICROSECOND\020\021\022\030\n\024TIME"
"STAMP_NANOSECOND\020\022\022\017\n\013TIME_SECOND\020\023\022\024\n\020T"
"IME_MILLISECOND\020\024\022\024\n\020TIME_MICROSECOND\020\025\022"
"\023\n\017TIME_NANOSECOND\020\026\022\027\n\023INTERVAL_YEAR_MO"
"NTH\020\027\022\025\n\021INTERVAL_DAY_TIME\020\030\022\033\n\027INTERVAL"
"_MONTH_DAY_NANO\020\031\022\016\n\nDECIMAL128\020\036\022\010\n\004JSO"
"N\020\037\022\n\n\006VECTOR\020 *H\n\010TimeUnit\022\017\n\013MILLISECO"
"ND\020\000\022\n\n\006SECOND\020\001\022\017\n\013MICROSECOND\020\002\022\016\n\nNAN"
"OSECOND\020\003*$\n\021JsonTypeExtension\022\017\n\013JSON_B"
"INARY\020\000BO\n\016io.greptime.v1B\006CommonZ5githu"
"b.com/GreptimeTeam/greptime-proto/go/gre"
"ptime/v1b\006proto3"
"\022\r\n\005value\030\001 \001(\003\"\037\n\014EvalInterval\022\017\n\007secon"
"ds\030\001 \001(\003\"i\n\016FlightMetadata\0220\n\raffected_r"
"ows\030\001 \001(\0132\031.greptime.v1.AffectedRows\022%\n\007"
"metrics\030\002 \001(\0132\024.greptime.v1.Metrics\"I\n\024I"
"ntervalMonthDayNano\022\016\n\006months\030\001 \001(\005\022\014\n\004d"
"ays\030\002 \001(\005\022\023\n\013nanoseconds\030\003 \001(\003\"\'\n\tTimeRa"
"nge\022\r\n\005start\030\001 \001(\003\022\013\n\003end\030\002 \001(\003\"c\n\nTimeR"
"anges\022(\n\ttime_unit\030\001 \001(\0162\025.greptime.v1.T"
"imeUnit\022+\n\013time_ranges\030\002 \003(\0132\026.greptime."
"v1.TimeRange\"$\n\nDecimal128\022\n\n\002hi\030\001 \001(\003\022\n"
"\n\002lo\030\002 \001(\003\"\316\001\n\027ColumnDataTypeExtension\0229"
"\n\014decimal_type\030\001 \001(\0132!.greptime.v1.Decim"
"alTypeExtensionH\000\0223\n\tjson_type\030\002 \001(\0162\036.g"
"reptime.v1.JsonTypeExtensionH\000\0227\n\013vector"
"_type\030\003 \001(\0132 .greptime.v1.VectorTypeExte"
"nsionH\000B\n\n\010type_ext\"8\n\024DecimalTypeExtens"
"ion\022\021\n\tprecision\030\001 \001(\005\022\r\n\005scale\030\002 \001(\005\"\"\n"
"\023VectorTypeExtension\022\013\n\003dim\030\001 \001(\r\"y\n\rCol"
"umnOptions\0228\n\007options\030\001 \003(\0132\'.greptime.v"
"1.ColumnOptions.OptionsEntry\032.\n\014OptionsE"
"ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"@\n\010"
"ArrowIpc\022\016\n\006schema\030\001 \001(\014\022\023\n\013data_header\030"
"\002 \001(\014\022\017\n\007payload\030\003 \001(\014*1\n\014SemanticType\022\007"
"\n\003TAG\020\000\022\t\n\005FIELD\020\001\022\r\n\tTIMESTAMP\020\002*\354\003\n\016Co"
"lumnDataType\022\013\n\007BOOLEAN\020\000\022\010\n\004INT8\020\001\022\t\n\005I"
"NT16\020\002\022\t\n\005INT32\020\003\022\t\n\005INT64\020\004\022\t\n\005UINT8\020\005\022"
"\n\n\006UINT16\020\006\022\n\n\006UINT32\020\007\022\n\n\006UINT64\020\010\022\013\n\007F"
"LOAT32\020\t\022\013\n\007FLOAT64\020\n\022\n\n\006BINARY\020\013\022\n\n\006STR"
"ING\020\014\022\010\n\004DATE\020\r\022\014\n\010DATETIME\020\016\022\024\n\020TIMESTA"
"MP_SECOND\020\017\022\031\n\025TIMESTAMP_MILLISECOND\020\020\022\031"
"\n\025TIMESTAMP_MICROSECOND\020\021\022\030\n\024TIMESTAMP_N"
"ANOSECOND\020\022\022\017\n\013TIME_SECOND\020\023\022\024\n\020TIME_MIL"
"LISECOND\020\024\022\024\n\020TIME_MICROSECOND\020\025\022\023\n\017TIME"
"_NANOSECOND\020\026\022\027\n\023INTERVAL_YEAR_MONTH\020\027\022\025"
"\n\021INTERVAL_DAY_TIME\020\030\022\033\n\027INTERVAL_MONTH_"
"DAY_NANO\020\031\022\016\n\nDECIMAL128\020\036\022\010\n\004JSON\020\037\022\n\n\006"
"VECTOR\020 *H\n\010TimeUnit\022\017\n\013MILLISECOND\020\000\022\n\n"
"\006SECOND\020\001\022\017\n\013MICROSECOND\020\002\022\016\n\nNANOSECOND"
"\020\003*$\n\021JsonTypeExtension\022\017\n\013JSON_BINARY\020\000"
"BO\n\016io.greptime.v1B\006CommonZ5github.com/G"
"reptimeTeam/greptime-proto/go/greptime/v"
"1b\006proto3"
;
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fcommon_2eproto_once;
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",
&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,
file_level_metadata_greptime_2fv1_2fcommon_2eproto, file_level_enum_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 {
public:
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 {
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]);
file_level_metadata_greptime_2fv1_2fcommon_2eproto[18]);
}
// ===================================================================
@@ -4842,7 +5043,7 @@ void IntervalMonthDayNano::InternalSwap(IntervalMonthDayNano* other) {
::PROTOBUF_NAMESPACE_ID::Metadata IntervalMonthDayNano::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[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 {
return ::_pbi::AssignDescriptors(
&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 {
return ::_pbi::AssignDescriptors(
&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 {
return ::_pbi::AssignDescriptors(
&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 {
return ::_pbi::AssignDescriptors(
&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 {
return ::_pbi::AssignDescriptors(
&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 {
return ::_pbi::AssignDescriptors(
&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 {
return ::_pbi::AssignDescriptors(
&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 {
return ::_pbi::AssignDescriptors(
&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 {
return ::_pbi::AssignDescriptors(
&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)
@@ -6803,6 +7004,10 @@ template<> PROTOBUF_NOINLINE ::greptime::v1::ExpireAfter*
Arena::CreateMaybeMessage< ::greptime::v1::ExpireAfter >(Arena* 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*
Arena::CreateMaybeMessage< ::greptime::v1::FlightMetadata >(Arena* arena) {
return Arena::CreateMessageInternal< ::greptime::v1::FlightMetadata >(arena);
+188 -10
View File
@@ -77,6 +77,9 @@ extern Decimal128DefaultTypeInternal _Decimal128_default_instance_;
class DecimalTypeExtension;
struct DecimalTypeExtensionDefaultTypeInternal;
extern DecimalTypeExtensionDefaultTypeInternal _DecimalTypeExtension_default_instance_;
class EvalInterval;
struct EvalIntervalDefaultTypeInternal;
extern EvalIntervalDefaultTypeInternal _EvalInterval_default_instance_;
class ExpireAfter;
struct ExpireAfterDefaultTypeInternal;
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::Decimal128* Arena::CreateMaybeMessage<::greptime::v1::Decimal128>(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::ExplainOptions* Arena::CreateMaybeMessage<::greptime::v1::ExplainOptions>(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 :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.FlightMetadata) */ {
public:
@@ -2768,7 +2920,7 @@ class FlightMetadata final :
&_FlightMetadata_default_instance_);
}
static constexpr int kIndexInFileMessages =
17;
18;
friend void swap(FlightMetadata& a, FlightMetadata& b) {
a.Swap(&b);
@@ -2945,7 +3097,7 @@ class IntervalMonthDayNano final :
&_IntervalMonthDayNano_default_instance_);
}
static constexpr int kIndexInFileMessages =
18;
19;
friend void swap(IntervalMonthDayNano& a, IntervalMonthDayNano& b) {
a.Swap(&b);
@@ -3115,7 +3267,7 @@ class TimeRange final :
&_TimeRange_default_instance_);
}
static constexpr int kIndexInFileMessages =
19;
20;
friend void swap(TimeRange& a, TimeRange& b) {
a.Swap(&b);
@@ -3274,7 +3426,7 @@ class TimeRanges final :
&_TimeRanges_default_instance_);
}
static constexpr int kIndexInFileMessages =
20;
21;
friend void swap(TimeRanges& a, TimeRanges& b) {
a.Swap(&b);
@@ -3442,7 +3594,7 @@ class Decimal128 final :
&_Decimal128_default_instance_);
}
static constexpr int kIndexInFileMessages =
21;
22;
friend void swap(Decimal128& a, Decimal128& b) {
a.Swap(&b);
@@ -3608,7 +3760,7 @@ class ColumnDataTypeExtension final :
&_ColumnDataTypeExtension_default_instance_);
}
static constexpr int kIndexInFileMessages =
22;
23;
friend void swap(ColumnDataTypeExtension& a, ColumnDataTypeExtension& b) {
a.Swap(&b);
@@ -3814,7 +3966,7 @@ class DecimalTypeExtension final :
&_DecimalTypeExtension_default_instance_);
}
static constexpr int kIndexInFileMessages =
23;
24;
friend void swap(DecimalTypeExtension& a, DecimalTypeExtension& b) {
a.Swap(&b);
@@ -3973,7 +4125,7 @@ class VectorTypeExtension final :
&_VectorTypeExtension_default_instance_);
}
static constexpr int kIndexInFileMessages =
24;
25;
friend void swap(VectorTypeExtension& a, VectorTypeExtension& b) {
a.Swap(&b);
@@ -4149,7 +4301,7 @@ class ColumnOptions final :
&_ColumnOptions_default_instance_);
}
static constexpr int kIndexInFileMessages =
26;
27;
friend void swap(ColumnOptions& a, ColumnOptions& b) {
a.Swap(&b);
@@ -4312,7 +4464,7 @@ class ArrowIpc final :
&_ArrowIpc_default_instance_);
}
static constexpr int kIndexInFileMessages =
27;
28;
friend void swap(ArrowIpc& a, ArrowIpc& 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
// .greptime.v1.AffectedRows affected_rows = 1;
@@ -6910,6 +7086,8 @@ inline void ArrowIpc::set_allocated_payload(std::string* payload) {
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// @@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_.sink_table_name_)*/nullptr
, /*decltype(_impl_.expire_after_)*/nullptr
, /*decltype(_impl_.eval_interval_)*/nullptr
, /*decltype(_impl_.or_replace_)*/false
, /*decltype(_impl_.create_if_not_exists_)*/false
, /*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_.create_if_not_exists_),
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_.sql_),
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)},
{ 17, 25, -1, sizeof(::greptime::v1::CreateFlowExpr_FlowOptionsEntry_DoNotUse)},
{ 27, -1, -1, sizeof(::greptime::v1::CreateFlowExpr)},
{ 43, -1, -1, sizeof(::greptime::v1::DropFlowExpr)},
{ 53, -1, -1, sizeof(::greptime::v1::CreateViewExpr)},
{ 69, -1, -1, sizeof(::greptime::v1::DropViewExpr)},
{ 80, 88, -1, sizeof(::greptime::v1::CreateTableExpr_TableOptionsEntry_DoNotUse)},
{ 90, -1, -1, sizeof(::greptime::v1::CreateTableExpr)},
{ 107, -1, -1, sizeof(::greptime::v1::AlterTableExpr)},
{ 129, -1, -1, sizeof(::greptime::v1::DropDefault)},
{ 136, -1, -1, sizeof(::greptime::v1::SetIndexes)},
{ 143, -1, -1, sizeof(::greptime::v1::UnsetIndexes)},
{ 150, -1, -1, sizeof(::greptime::v1::SetDefault)},
{ 158, -1, -1, sizeof(::greptime::v1::SetIndex)},
{ 168, -1, -1, sizeof(::greptime::v1::UnsetIndex)},
{ 178, -1, -1, sizeof(::greptime::v1::DropTableExpr)},
{ 189, 197, -1, sizeof(::greptime::v1::CreateDatabaseExpr_OptionsEntry_DoNotUse)},
{ 199, -1, -1, sizeof(::greptime::v1::CreateDatabaseExpr)},
{ 209, -1, -1, sizeof(::greptime::v1::TruncateTableExpr)},
{ 220, -1, -1, sizeof(::greptime::v1::DropDatabaseExpr)},
{ 229, -1, -1, sizeof(::greptime::v1::AddColumns)},
{ 236, -1, -1, sizeof(::greptime::v1::DropDefaults)},
{ 243, -1, -1, sizeof(::greptime::v1::SetDefaults)},
{ 250, -1, -1, sizeof(::greptime::v1::DropColumns)},
{ 257, -1, -1, sizeof(::greptime::v1::ModifyColumnTypes)},
{ 264, -1, -1, sizeof(::greptime::v1::RenameTable)},
{ 271, -1, -1, sizeof(::greptime::v1::AddColumn)},
{ 280, -1, -1, sizeof(::greptime::v1::ModifyColumnType)},
{ 289, -1, -1, sizeof(::greptime::v1::Option)},
{ 297, -1, -1, sizeof(::greptime::v1::SetTableOptions)},
{ 304, -1, -1, sizeof(::greptime::v1::UnsetTableOptions)},
{ 311, -1, -1, sizeof(::greptime::v1::DropColumn)},
{ 318, -1, -1, sizeof(::greptime::v1::TableId)},
{ 325, -1, -1, sizeof(::greptime::v1::FlowId)},
{ 332, -1, -1, sizeof(::greptime::v1::ColumnDef)},
{ 346, -1, -1, sizeof(::greptime::v1::AddColumnLocation)},
{ 354, -1, -1, sizeof(::greptime::v1::SetFulltext)},
{ 367, -1, -1, sizeof(::greptime::v1::UnsetFulltext)},
{ 374, -1, -1, sizeof(::greptime::v1::SetInverted)},
{ 381, -1, -1, sizeof(::greptime::v1::UnsetInverted)},
{ 388, -1, -1, sizeof(::greptime::v1::SetSkipping)},
{ 399, -1, -1, sizeof(::greptime::v1::UnsetSkipping)},
{ 406, -1, -1, sizeof(::greptime::v1::AlterDatabaseExpr)},
{ 417, -1, -1, sizeof(::greptime::v1::SetDatabaseOptions)},
{ 424, -1, -1, sizeof(::greptime::v1::UnsetDatabaseOptions)},
{ 431, 439, -1, sizeof(::greptime::v1::CreateTriggerExpr_LabelsEntry_DoNotUse)},
{ 441, 449, -1, sizeof(::greptime::v1::CreateTriggerExpr_AnnotationsEntry_DoNotUse)},
{ 451, -1, -1, sizeof(::greptime::v1::CreateTriggerExpr)},
{ 466, -1, -1, sizeof(::greptime::v1::NotifyChannel)},
{ 475, 483, -1, sizeof(::greptime::v1::WebhookOptions_OptsEntry_DoNotUse)},
{ 485, -1, -1, sizeof(::greptime::v1::WebhookOptions)},
{ 493, -1, -1, sizeof(::greptime::v1::DropTriggerExpr)},
{ 44, -1, -1, sizeof(::greptime::v1::DropFlowExpr)},
{ 54, -1, -1, sizeof(::greptime::v1::CreateViewExpr)},
{ 70, -1, -1, sizeof(::greptime::v1::DropViewExpr)},
{ 81, 89, -1, sizeof(::greptime::v1::CreateTableExpr_TableOptionsEntry_DoNotUse)},
{ 91, -1, -1, sizeof(::greptime::v1::CreateTableExpr)},
{ 108, -1, -1, sizeof(::greptime::v1::AlterTableExpr)},
{ 130, -1, -1, sizeof(::greptime::v1::DropDefault)},
{ 137, -1, -1, sizeof(::greptime::v1::SetIndexes)},
{ 144, -1, -1, sizeof(::greptime::v1::UnsetIndexes)},
{ 151, -1, -1, sizeof(::greptime::v1::SetDefault)},
{ 159, -1, -1, sizeof(::greptime::v1::SetIndex)},
{ 169, -1, -1, sizeof(::greptime::v1::UnsetIndex)},
{ 179, -1, -1, sizeof(::greptime::v1::DropTableExpr)},
{ 190, 198, -1, sizeof(::greptime::v1::CreateDatabaseExpr_OptionsEntry_DoNotUse)},
{ 200, -1, -1, sizeof(::greptime::v1::CreateDatabaseExpr)},
{ 210, -1, -1, sizeof(::greptime::v1::TruncateTableExpr)},
{ 221, -1, -1, sizeof(::greptime::v1::DropDatabaseExpr)},
{ 230, -1, -1, sizeof(::greptime::v1::AddColumns)},
{ 237, -1, -1, sizeof(::greptime::v1::DropDefaults)},
{ 244, -1, -1, sizeof(::greptime::v1::SetDefaults)},
{ 251, -1, -1, sizeof(::greptime::v1::DropColumns)},
{ 258, -1, -1, sizeof(::greptime::v1::ModifyColumnTypes)},
{ 265, -1, -1, sizeof(::greptime::v1::RenameTable)},
{ 272, -1, -1, sizeof(::greptime::v1::AddColumn)},
{ 281, -1, -1, sizeof(::greptime::v1::ModifyColumnType)},
{ 290, -1, -1, sizeof(::greptime::v1::Option)},
{ 298, -1, -1, sizeof(::greptime::v1::SetTableOptions)},
{ 305, -1, -1, sizeof(::greptime::v1::UnsetTableOptions)},
{ 312, -1, -1, sizeof(::greptime::v1::DropColumn)},
{ 319, -1, -1, sizeof(::greptime::v1::TableId)},
{ 326, -1, -1, sizeof(::greptime::v1::FlowId)},
{ 333, -1, -1, sizeof(::greptime::v1::ColumnDef)},
{ 347, -1, -1, sizeof(::greptime::v1::AddColumnLocation)},
{ 355, -1, -1, sizeof(::greptime::v1::SetFulltext)},
{ 368, -1, -1, sizeof(::greptime::v1::UnsetFulltext)},
{ 375, -1, -1, sizeof(::greptime::v1::SetInverted)},
{ 382, -1, -1, sizeof(::greptime::v1::UnsetInverted)},
{ 389, -1, -1, sizeof(::greptime::v1::SetSkipping)},
{ 400, -1, -1, sizeof(::greptime::v1::UnsetSkipping)},
{ 407, -1, -1, sizeof(::greptime::v1::AlterDatabaseExpr)},
{ 418, -1, -1, sizeof(::greptime::v1::SetDatabaseOptions)},
{ 425, -1, -1, sizeof(::greptime::v1::UnsetDatabaseOptions)},
{ 432, 440, -1, sizeof(::greptime::v1::CreateTriggerExpr_LabelsEntry_DoNotUse)},
{ 442, 450, -1, sizeof(::greptime::v1::CreateTriggerExpr_AnnotationsEntry_DoNotUse)},
{ 452, -1, -1, sizeof(::greptime::v1::CreateTriggerExpr)},
{ 467, -1, -1, sizeof(::greptime::v1::NotifyChannel)},
{ 476, 484, -1, sizeof(::greptime::v1::WebhookOptions_OptsEntry_DoNotUse)},
{ 486, -1, -1, sizeof(::greptime::v1::WebhookOptions)},
{ 494, -1, -1, sizeof(::greptime::v1::DropTriggerExpr)},
};
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"
"ptime.v1.DropViewExprH\000\0228\n\016alter_databas"
"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_"
"table_names\030\003 \003(\0132\026.greptime.v1.TableNam"
"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"
"_if_not_exists\030\006 \001(\010\022.\n\014expire_after\030\007 \001"
"(\0132\030.greptime.v1.ExpireAfter\022\017\n\007comment\030"
"\010 \001(\t\022\013\n\003sql\030\t \001(\t\022B\n\014flow_options\030\n \003(\013"
"2,.greptime.v1.CreateFlowExpr.FlowOption"
"sEntry\0322\n\020FlowOptionsEntry\022\013\n\003key\030\001 \001(\t\022"
"\r\n\005value\030\002 \001(\t:\0028\001\"u\n\014DropFlowExpr\022\024\n\014ca"
"talog_name\030\001 \001(\t\022\021\n\tflow_name\030\002 \001(\t\022$\n\007f"
"low_id\030\003 \001(\0132\023.greptime.v1.FlowId\022\026\n\016dro"
"p_if_exists\030\005 \001(\010\"\376\001\n\016CreateViewExpr\022\024\n\014"
"catalog_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022"
"\021\n\tview_name\030\003 \001(\t\022\024\n\014logical_plan\030\004 \001(\014"
"\022\034\n\024create_if_not_exists\030\005 \001(\010\022\022\n\nor_rep"
"lace\030\006 \001(\010\022+\n\013table_names\030\007 \003(\0132\026.grepti"
"me.v1.TableName\022\017\n\007columns\030\010 \003(\t\022\024\n\014plan"
"_columns\030\t \003(\t\022\022\n\ndefinition\030\n \001(\t\"\213\001\n\014D"
"ropViewExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013sch"
"ema_name\030\002 \001(\t\022\021\n\tview_name\030\003 \001(\t\022%\n\007vie"
"w_id\030\004 \001(\0132\024.greptime.v1.TableId\022\026\n\016drop"
"_if_exists\030\005 \001(\010\"\207\003\n\017CreateTableExpr\022\024\n\014"
"catalog_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022"
"\022\n\ntable_name\030\003 \001(\t\022\014\n\004desc\030\004 \001(\t\022+\n\013col"
"umn_defs\030\005 \003(\0132\026.greptime.v1.ColumnDef\022\022"
"\n\ntime_index\030\006 \001(\t\022\024\n\014primary_keys\030\007 \003(\t"
"\022\034\n\024create_if_not_exists\030\010 \001(\010\022E\n\rtable_"
"options\030\t \003(\0132..greptime.v1.CreateTableE"
"xpr.TableOptionsEntry\022&\n\010table_id\030\n \001(\0132"
"\024.greptime.v1.TableId\022\016\n\006engine\030\014 \001(\t\0323\n"
"\021TableOptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value"
"\030\002 \001(\t:\0028\001\"\312\005\n\016AlterTableExpr\022\024\n\014catalog"
"_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\022\n\ntabl"
"e_name\030\003 \001(\t\022.\n\013add_columns\030\004 \001(\0132\027.grep"
"time.v1.AddColumnsH\000\0220\n\014drop_columns\030\005 \001"
"(\0132\030.greptime.v1.DropColumnsH\000\0220\n\014rename"
"_table\030\006 \001(\0132\030.greptime.v1.RenameTableH\000"
"\022=\n\023modify_column_types\030\007 \001(\0132\036.greptime"
".v1.ModifyColumnTypesH\000\0229\n\021set_table_opt"
"ions\030\010 \001(\0132\034.greptime.v1.SetTableOptions"
"H\000\022=\n\023unset_table_options\030\013 \001(\0132\036.grepti"
"me.v1.UnsetTableOptionsH\000\022*\n\tset_index\030\014"
" \001(\0132\025.greptime.v1.SetIndexH\000\022.\n\013unset_i"
"ndex\030\r \001(\0132\027.greptime.v1.UnsetIndexH\000\0222\n"
"\rdrop_defaults\030\016 \001(\0132\031.greptime.v1.DropD"
"efaultsH\000\022.\n\013set_indexes\030\017 \001(\0132\027.greptim"
"e.v1.SetIndexesH\000\0222\n\runset_indexes\030\020 \001(\013"
"2\031.greptime.v1.UnsetIndexesH\000\0220\n\014set_def"
"aults\030\021 \001(\0132\030.greptime.v1.SetDefaultsH\000B"
"\006\n\004kind\"\"\n\013DropDefault\022\023\n\013column_name\030\001 "
"\001(\t\"8\n\nSetIndexes\022*\n\013set_indexes\030\001 \003(\0132\025"
".greptime.v1.SetIndex\">\n\014UnsetIndexes\022.\n"
"\runset_indexes\030\001 \003(\0132\027.greptime.v1.Unset"
"Index\"=\n\nSetDefault\022\023\n\013column_name\030\001 \001(\t"
"\022\032\n\022default_constraint\030\002 \001(\014\"\237\001\n\010SetInde"
"x\022,\n\010fulltext\030\001 \001(\0132\030.greptime.v1.SetFul"
"ltextH\000\022,\n\010inverted\030\002 \001(\0132\030.greptime.v1."
"SetInvertedH\000\022,\n\010skipping\030\003 \001(\0132\030.grepti"
"me.v1.SetSkippingH\000B\t\n\007options\"\247\001\n\nUnset"
"Index\022.\n\010fulltext\030\001 \001(\0132\032.greptime.v1.Un"
"setFulltextH\000\022.\n\010inverted\030\002 \001(\0132\032.grepti"
"me.v1.UnsetInvertedH\000\022.\n\010skipping\030\003 \001(\0132"
"\032.greptime.v1.UnsetSkippingH\000B\t\n\007options"
"\"\216\001\n\rDropTableExpr\022\024\n\014catalog_name\030\001 \001(\t"
"\022\023\n\013schema_name\030\002 \001(\t\022\022\n\ntable_name\030\003 \001("
"\t\022&\n\010table_id\030\004 \001(\0132\024.greptime.v1.TableI"
"d\022\026\n\016drop_if_exists\030\005 \001(\010\"\314\001\n\022CreateData"
"baseExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema"
"_name\030\002 \001(\t\022\034\n\024create_if_not_exists\030\003 \001("
"\010\022=\n\007options\030\004 \003(\0132,.greptime.v1.CreateD"
"atabaseExpr.OptionsEntry\032.\n\014OptionsEntry"
"\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\250\001\n\021Tru"
"ncateTableExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013"
"schema_name\030\002 \001(\t\022\022\n\ntable_name\030\003 \001(\t\022&\n"
"\010table_id\030\004 \001(\0132\024.greptime.v1.TableId\022,\n"
"\013time_ranges\030\005 \001(\0132\027.greptime.v1.TimeRan"
"ges\"U\n\020DropDatabaseExpr\022\024\n\014catalog_name\030"
"\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\026\n\016drop_if_ex"
"ists\030\003 \001(\010\"9\n\nAddColumns\022+\n\013add_columns\030"
"\001 \003(\0132\026.greptime.v1.AddColumn\"\?\n\014DropDef"
"aults\022/\n\rdrop_defaults\030\001 \003(\0132\030.greptime."
"v1.DropDefault\"<\n\013SetDefaults\022-\n\014set_def"
"aults\030\001 \003(\0132\027.greptime.v1.SetDefault\"<\n\013"
"DropColumns\022-\n\014drop_columns\030\001 \003(\0132\027.grep"
"time.v1.DropColumn\"O\n\021ModifyColumnTypes\022"
":\n\023modify_column_types\030\001 \003(\0132\035.greptime."
"v1.ModifyColumnType\"%\n\013RenameTable\022\026\n\016ne"
"w_table_name\030\001 \001(\t\"\204\001\n\tAddColumn\022*\n\ncolu"
"mn_def\030\001 \001(\0132\026.greptime.v1.ColumnDef\0220\n\010"
"location\030\003 \001(\0132\036.greptime.v1.AddColumnLo"
"cation\022\031\n\021add_if_not_exists\030\004 \001(\010\"\236\001\n\020Mo"
"difyColumnType\022\023\n\013column_name\030\001 \001(\t\0220\n\013t"
"arget_type\030\002 \001(\0162\033.greptime.v1.ColumnDat"
"aType\022C\n\025target_type_extension\030\003 \001(\0132$.g"
"reptime.v1.ColumnDataTypeExtension\"$\n\006Op"
"tion\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"=\n\017SetT"
"ableOptions\022*\n\rtable_options\030\001 \003(\0132\023.gre"
"ptime.v1.Option\"!\n\021UnsetTableOptions\022\014\n\004"
"keys\030\001 \003(\t\"\032\n\nDropColumn\022\014\n\004name\030\001 \001(\t\"\025"
"\n\007TableId\022\n\n\002id\030\001 \001(\r\"\024\n\006FlowId\022\n\n\002id\030\001 "
"\001(\r\"\254\002\n\tColumnDef\022\014\n\004name\030\001 \001(\t\022.\n\tdata_"
"type\030\002 \001(\0162\033.greptime.v1.ColumnDataType\022"
"\023\n\013is_nullable\030\003 \001(\010\022\032\n\022default_constrai"
"nt\030\004 \001(\014\0220\n\rsemantic_type\030\005 \001(\0162\031.grepti"
"me.v1.SemanticType\022\017\n\007comment\030\006 \001(\t\022@\n\022d"
"atatype_extension\030\007 \001(\0132$.greptime.v1.Co"
"lumnDataTypeExtension\022+\n\007options\030\010 \001(\0132\032"
".greptime.v1.ColumnOptions\"\230\001\n\021AddColumn"
"Location\022B\n\rlocation_type\030\001 \001(\0162+.grepti"
"me.v1.AddColumnLocation.LocationType\022\031\n\021"
"after_column_name\030\002 \001(\t\"$\n\014LocationType\022"
"\t\n\005FIRST\020\000\022\t\n\005AFTER\020\001\"\324\001\n\013SetFulltext\022\023\n"
"\013column_name\030\001 \001(\t\022\016\n\006enable\030\002 \001(\010\022\'\n\010an"
"alyzer\030\003 \001(\0162\025.greptime.v1.Analyzer\022\026\n\016c"
"ase_sensitive\030\004 \001(\010\022-\n\007backend\030\005 \001(\0162\034.g"
"reptime.v1.FulltextBackend\022\023\n\013granularit"
"y\030\006 \001(\004\022\033\n\023false_positive_rate\030\007 \001(\001\"$\n\r"
"UnsetFulltext\022\023\n\013column_name\030\001 \001(\t\"\"\n\013Se"
"tInverted\022\023\n\013column_name\030\001 \001(\t\"$\n\rUnsetI"
"nverted\022\023\n\013column_name\030\001 \001(\t\"\241\001\n\013SetSkip"
"ping\022\023\n\013column_name\030\001 \001(\t\022\016\n\006enable\030\002 \001("
"\010\022\023\n\013granularity\030\003 \001(\004\022;\n\023skipping_index"
"_type\030\004 \001(\0162\036.greptime.v1.SkippingIndexT"
"ype\022\033\n\023false_positive_rate\030\005 \001(\001\"$\n\rUnse"
"tSkipping\022\023\n\013column_name\030\001 \001(\t\"\314\001\n\021Alter"
"DatabaseExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013sc"
"hema_name\030\002 \001(\t\022\?\n\024set_database_options\030"
"\003 \001(\0132\037.greptime.v1.SetDatabaseOptionsH\000"
"\022C\n\026unset_database_options\030\004 \001(\0132!.grept"
"ime.v1.UnsetDatabaseOptionsH\000B\006\n\004kind\"G\n"
"\022SetDatabaseOptions\0221\n\024set_database_opti"
"ons\030\001 \003(\0132\023.greptime.v1.Option\"$\n\024UnsetD"
"atabaseOptions\022\014\n\004keys\030\001 \003(\t\"\305\003\n\021CreateT"
"riggerExpr\022\024\n\014catalog_name\030\001 \001(\t\022\024\n\014trig"
"ger_name\030\002 \001(\t\022\034\n\024create_if_not_exists\030\003"
" \001(\010\022\013\n\003sql\030\004 \001(\t\022,\n\010channels\030\005 \003(\0132\032.gr"
"eptime.v1.NotifyChannel\022:\n\006labels\030\006 \003(\0132"
"*.greptime.v1.CreateTriggerExpr.LabelsEn"
"try\022D\n\013annotations\030\007 \003(\0132/.greptime.v1.C"
"reateTriggerExpr.AnnotationsEntry\022+\n\010int"
"erval\030\010 \001(\0132\031.google.protobuf.Duration\022\031"
"\n\021raw_interval_expr\030\t \001(\t\032-\n\013LabelsEntry"
"\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0322\n\020Anno"
"tationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t"
":\0028\001\"]\n\rNotifyChannel\022\014\n\004name\030\001 \001(\t\022.\n\007w"
"ebhook\030\002 \001(\0132\033.greptime.v1.WebhookOption"
"sH\000B\016\n\014channel_type\"\177\n\016WebhookOptions\022\013\n"
"\003url\030\001 \001(\t\0223\n\004opts\030\002 \003(\0132%.greptime.v1.W"
"ebhookOptions.OptsEntry\032+\n\tOptsEntry\022\013\n\003"
"key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"U\n\017DropTrig"
"gerExpr\022\024\n\014catalog_name\030\001 \001(\t\022\024\n\014trigger"
"_name\030\002 \001(\t\022\026\n\016drop_if_exists\030\003 \001(\010*$\n\010A"
"nalyzer\022\013\n\007ENGLISH\020\000\022\013\n\007CHINESE\020\001*)\n\017Ful"
"ltextBackend\022\013\n\007TANTIVY\020\000\022\t\n\005BLOOM\020\001*%\n\021"
"SkippingIndexType\022\020\n\014BLOOM_FILTER\020\000BL\n\016i"
"o.greptime.v1B\003DdlZ5github.com/GreptimeT"
"eam/greptime-proto/go/greptime/v1b\006proto"
"3"
"(\0132\030.greptime.v1.ExpireAfter\0220\n\reval_int"
"erval\030\013 \001(\0132\031.greptime.v1.EvalInterval\022\017"
"\n\007comment\030\010 \001(\t\022\013\n\003sql\030\t \001(\t\022B\n\014flow_opt"
"ions\030\n \003(\0132,.greptime.v1.CreateFlowExpr."
"FlowOptionsEntry\0322\n\020FlowOptionsEntry\022\013\n\003"
"key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"u\n\014DropFlow"
"Expr\022\024\n\014catalog_name\030\001 \001(\t\022\021\n\tflow_name\030"
"\002 \001(\t\022$\n\007flow_id\030\003 \001(\0132\023.greptime.v1.Flo"
"wId\022\026\n\016drop_if_exists\030\005 \001(\010\"\376\001\n\016CreateVi"
"ewExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_n"
"ame\030\002 \001(\t\022\021\n\tview_name\030\003 \001(\t\022\024\n\014logical_"
"plan\030\004 \001(\014\022\034\n\024create_if_not_exists\030\005 \001(\010"
"\022\022\n\nor_replace\030\006 \001(\010\022+\n\013table_names\030\007 \003("
"\0132\026.greptime.v1.TableName\022\017\n\007columns\030\010 \003"
"(\t\022\024\n\014plan_columns\030\t \003(\t\022\022\n\ndefinition\030\n"
" \001(\t\"\213\001\n\014DropViewExpr\022\024\n\014catalog_name\030\001 "
"\001(\t\022\023\n\013schema_name\030\002 \001(\t\022\021\n\tview_name\030\003 "
"\001(\t\022%\n\007view_id\030\004 \001(\0132\024.greptime.v1.Table"
"Id\022\026\n\016drop_if_exists\030\005 \001(\010\"\207\003\n\017CreateTab"
"leExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_n"
"ame\030\002 \001(\t\022\022\n\ntable_name\030\003 \001(\t\022\014\n\004desc\030\004 "
"\001(\t\022+\n\013column_defs\030\005 \003(\0132\026.greptime.v1.C"
"olumnDef\022\022\n\ntime_index\030\006 \001(\t\022\024\n\014primary_"
"keys\030\007 \003(\t\022\034\n\024create_if_not_exists\030\010 \001(\010"
"\022E\n\rtable_options\030\t \003(\0132..greptime.v1.Cr"
"eateTableExpr.TableOptionsEntry\022&\n\010table"
"_id\030\n \001(\0132\024.greptime.v1.TableId\022\016\n\006engin"
"e\030\014 \001(\t\0323\n\021TableOptionsEntry\022\013\n\003key\030\001 \001("
"\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\312\005\n\016AlterTableExpr\022"
"\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001"
"(\t\022\022\n\ntable_name\030\003 \001(\t\022.\n\013add_columns\030\004 "
"\001(\0132\027.greptime.v1.AddColumnsH\000\0220\n\014drop_c"
"olumns\030\005 \001(\0132\030.greptime.v1.DropColumnsH\000"
"\0220\n\014rename_table\030\006 \001(\0132\030.greptime.v1.Ren"
"ameTableH\000\022=\n\023modify_column_types\030\007 \001(\0132"
"\036.greptime.v1.ModifyColumnTypesH\000\0229\n\021set"
"_table_options\030\010 \001(\0132\034.greptime.v1.SetTa"
"bleOptionsH\000\022=\n\023unset_table_options\030\013 \001("
"\0132\036.greptime.v1.UnsetTableOptionsH\000\022*\n\ts"
"et_index\030\014 \001(\0132\025.greptime.v1.SetIndexH\000\022"
".\n\013unset_index\030\r \001(\0132\027.greptime.v1.Unset"
"IndexH\000\0222\n\rdrop_defaults\030\016 \001(\0132\031.greptim"
"e.v1.DropDefaultsH\000\022.\n\013set_indexes\030\017 \001(\013"
"2\027.greptime.v1.SetIndexesH\000\0222\n\runset_ind"
"exes\030\020 \001(\0132\031.greptime.v1.UnsetIndexesH\000\022"
"0\n\014set_defaults\030\021 \001(\0132\030.greptime.v1.SetD"
"efaultsH\000B\006\n\004kind\"\"\n\013DropDefault\022\023\n\013colu"
"mn_name\030\001 \001(\t\"8\n\nSetIndexes\022*\n\013set_index"
"es\030\001 \003(\0132\025.greptime.v1.SetIndex\">\n\014Unset"
"Indexes\022.\n\runset_indexes\030\001 \003(\0132\027.greptim"
"e.v1.UnsetIndex\"=\n\nSetDefault\022\023\n\013column_"
"name\030\001 \001(\t\022\032\n\022default_constraint\030\002 \001(\014\"\237"
"\001\n\010SetIndex\022,\n\010fulltext\030\001 \001(\0132\030.greptime"
".v1.SetFulltextH\000\022,\n\010inverted\030\002 \001(\0132\030.gr"
"eptime.v1.SetInvertedH\000\022,\n\010skipping\030\003 \001("
"\0132\030.greptime.v1.SetSkippingH\000B\t\n\007options"
"\"\247\001\n\nUnsetIndex\022.\n\010fulltext\030\001 \001(\0132\032.grep"
"time.v1.UnsetFulltextH\000\022.\n\010inverted\030\002 \001("
"\0132\032.greptime.v1.UnsetInvertedH\000\022.\n\010skipp"
"ing\030\003 \001(\0132\032.greptime.v1.UnsetSkippingH\000B"
"\t\n\007options\"\216\001\n\rDropTableExpr\022\024\n\014catalog_"
"name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\022\n\ntable"
"_name\030\003 \001(\t\022&\n\010table_id\030\004 \001(\0132\024.greptime"
".v1.TableId\022\026\n\016drop_if_exists\030\005 \001(\010\"\314\001\n\022"
"CreateDatabaseExpr\022\024\n\014catalog_name\030\001 \001(\t"
"\022\023\n\013schema_name\030\002 \001(\t\022\034\n\024create_if_not_e"
"xists\030\003 \001(\010\022=\n\007options\030\004 \003(\0132,.greptime."
"v1.CreateDatabaseExpr.OptionsEntry\032.\n\014Op"
"tionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002"
"8\001\"\250\001\n\021TruncateTableExpr\022\024\n\014catalog_name"
"\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\022\n\ntable_nam"
"e\030\003 \001(\t\022&\n\010table_id\030\004 \001(\0132\024.greptime.v1."
"TableId\022,\n\013time_ranges\030\005 \001(\0132\027.greptime."
"v1.TimeRanges\"U\n\020DropDatabaseExpr\022\024\n\014cat"
"alog_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\026\n\016"
"drop_if_exists\030\003 \001(\010\"9\n\nAddColumns\022+\n\013ad"
"d_columns\030\001 \003(\0132\026.greptime.v1.AddColumn\""
"\?\n\014DropDefaults\022/\n\rdrop_defaults\030\001 \003(\0132\030"
".greptime.v1.DropDefault\"<\n\013SetDefaults\022"
"-\n\014set_defaults\030\001 \003(\0132\027.greptime.v1.SetD"
"efault\"<\n\013DropColumns\022-\n\014drop_columns\030\001 "
"\003(\0132\027.greptime.v1.DropColumn\"O\n\021ModifyCo"
"lumnTypes\022:\n\023modify_column_types\030\001 \003(\0132\035"
".greptime.v1.ModifyColumnType\"%\n\013RenameT"
"able\022\026\n\016new_table_name\030\001 \001(\t\"\204\001\n\tAddColu"
"mn\022*\n\ncolumn_def\030\001 \001(\0132\026.greptime.v1.Col"
"umnDef\0220\n\010location\030\003 \001(\0132\036.greptime.v1.A"
"ddColumnLocation\022\031\n\021add_if_not_exists\030\004 "
"\001(\010\"\236\001\n\020ModifyColumnType\022\023\n\013column_name\030"
"\001 \001(\t\0220\n\013target_type\030\002 \001(\0162\033.greptime.v1"
".ColumnDataType\022C\n\025target_type_extension"
"\030\003 \001(\0132$.greptime.v1.ColumnDataTypeExten"
"sion\"$\n\006Option\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001"
"(\t\"=\n\017SetTableOptions\022*\n\rtable_options\030\001"
" \003(\0132\023.greptime.v1.Option\"!\n\021UnsetTableO"
"ptions\022\014\n\004keys\030\001 \003(\t\"\032\n\nDropColumn\022\014\n\004na"
"me\030\001 \001(\t\"\025\n\007TableId\022\n\n\002id\030\001 \001(\r\"\024\n\006FlowI"
"d\022\n\n\002id\030\001 \001(\r\"\254\002\n\tColumnDef\022\014\n\004name\030\001 \001("
"\t\022.\n\tdata_type\030\002 \001(\0162\033.greptime.v1.Colum"
"nDataType\022\023\n\013is_nullable\030\003 \001(\010\022\032\n\022defaul"
"t_constraint\030\004 \001(\014\0220\n\rsemantic_type\030\005 \001("
"\0162\031.greptime.v1.SemanticType\022\017\n\007comment\030"
"\006 \001(\t\022@\n\022datatype_extension\030\007 \001(\0132$.grep"
"time.v1.ColumnDataTypeExtension\022+\n\007optio"
"ns\030\010 \001(\0132\032.greptime.v1.ColumnOptions\"\230\001\n"
"\021AddColumnLocation\022B\n\rlocation_type\030\001 \001("
"\0162+.greptime.v1.AddColumnLocation.Locati"
"onType\022\031\n\021after_column_name\030\002 \001(\t\"$\n\014Loc"
"ationType\022\t\n\005FIRST\020\000\022\t\n\005AFTER\020\001\"\324\001\n\013SetF"
"ulltext\022\023\n\013column_name\030\001 \001(\t\022\016\n\006enable\030\002"
" \001(\010\022\'\n\010analyzer\030\003 \001(\0162\025.greptime.v1.Ana"
"lyzer\022\026\n\016case_sensitive\030\004 \001(\010\022-\n\007backend"
"\030\005 \001(\0162\034.greptime.v1.FulltextBackend\022\023\n\013"
"granularity\030\006 \001(\004\022\033\n\023false_positive_rate"
"\030\007 \001(\001\"$\n\rUnsetFulltext\022\023\n\013column_name\030\001"
" \001(\t\"\"\n\013SetInverted\022\023\n\013column_name\030\001 \001(\t"
"\"$\n\rUnsetInverted\022\023\n\013column_name\030\001 \001(\t\"\241"
"\001\n\013SetSkipping\022\023\n\013column_name\030\001 \001(\t\022\016\n\006e"
"nable\030\002 \001(\010\022\023\n\013granularity\030\003 \001(\004\022;\n\023skip"
"ping_index_type\030\004 \001(\0162\036.greptime.v1.Skip"
"pingIndexType\022\033\n\023false_positive_rate\030\005 \001"
"(\001\"$\n\rUnsetSkipping\022\023\n\013column_name\030\001 \001(\t"
"\"\314\001\n\021AlterDatabaseExpr\022\024\n\014catalog_name\030\001"
" \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\?\n\024set_databas"
"e_options\030\003 \001(\0132\037.greptime.v1.SetDatabas"
"eOptionsH\000\022C\n\026unset_database_options\030\004 \001"
"(\0132!.greptime.v1.UnsetDatabaseOptionsH\000B"
"\006\n\004kind\"G\n\022SetDatabaseOptions\0221\n\024set_dat"
"abase_options\030\001 \003(\0132\023.greptime.v1.Option"
"\"$\n\024UnsetDatabaseOptions\022\014\n\004keys\030\001 \003(\t\"\305"
"\003\n\021CreateTriggerExpr\022\024\n\014catalog_name\030\001 \001"
"(\t\022\024\n\014trigger_name\030\002 \001(\t\022\034\n\024create_if_no"
"t_exists\030\003 \001(\010\022\013\n\003sql\030\004 \001(\t\022,\n\010channels\030"
"\005 \003(\0132\032.greptime.v1.NotifyChannel\022:\n\006lab"
"els\030\006 \003(\0132*.greptime.v1.CreateTriggerExp"
"r.LabelsEntry\022D\n\013annotations\030\007 \003(\0132/.gre"
"ptime.v1.CreateTriggerExpr.AnnotationsEn"
"try\022+\n\010interval\030\010 \001(\0132\031.google.protobuf."
"Duration\022\031\n\021raw_interval_expr\030\t \001(\t\032-\n\013L"
"abelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002"
"8\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v"
"alue\030\002 \001(\t:\0028\001\"]\n\rNotifyChannel\022\014\n\004name\030"
"\001 \001(\t\022.\n\007webhook\030\002 \001(\0132\033.greptime.v1.Web"
"hookOptionsH\000B\016\n\014channel_type\"\177\n\016Webhook"
"Options\022\013\n\003url\030\001 \001(\t\0223\n\004opts\030\002 \003(\0132%.gre"
"ptime.v1.WebhookOptions.OptsEntry\032+\n\tOpt"
"sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"U"
"\n\017DropTriggerExpr\022\024\n\014catalog_name\030\001 \001(\t\022"
"\024\n\014trigger_name\030\002 \001(\t\022\026\n\016drop_if_exists\030"
"\003 \001(\010*$\n\010Analyzer\022\013\n\007ENGLISH\020\000\022\013\n\007CHINES"
"E\020\001*)\n\017FulltextBackend\022\013\n\007TANTIVY\020\000\022\t\n\005B"
"LOOM\020\001*%\n\021SkippingIndexType\022\020\n\014BLOOM_FIL"
"TER\020\000BL\n\016io.greptime.v1B\003DdlZ5github.com"
"/GreptimeTeam/greptime-proto/go/greptime"
"/v1b\006proto3"
;
static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fddl_2eproto_deps[2] = {
&::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;
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",
&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,
@@ -2452,6 +2455,7 @@ class CreateFlowExpr::_Internal {
public:
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::EvalInterval& eval_interval(const CreateFlowExpr* msg);
};
const ::greptime::v1::TableName&
@@ -2462,6 +2466,10 @@ const ::greptime::v1::ExpireAfter&
CreateFlowExpr::_Internal::expire_after(const CreateFlowExpr* msg) {
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() {
_impl_.source_table_names_.Clear();
}
@@ -2477,6 +2485,12 @@ void CreateFlowExpr::clear_expire_after() {
}
_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,
bool 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_.sink_table_name_){nullptr}
, decltype(_impl_.expire_after_){nullptr}
, decltype(_impl_.eval_interval_){nullptr}
, decltype(_impl_.or_replace_){}
, decltype(_impl_.create_if_not_exists_){}
, /*decltype(_impl_._cached_size_)*/{}};
@@ -2542,6 +2557,9 @@ CreateFlowExpr::CreateFlowExpr(const CreateFlowExpr& from)
if (from._internal_has_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_,
static_cast<size_t>(reinterpret_cast<char*>(&_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_.sink_table_name_){nullptr}
, decltype(_impl_.expire_after_){nullptr}
, decltype(_impl_.eval_interval_){nullptr}
, decltype(_impl_.or_replace_){false}
, decltype(_impl_.create_if_not_exists_){false}
, /*decltype(_impl_._cached_size_)*/{}
@@ -2604,6 +2623,7 @@ inline void CreateFlowExpr::SharedDtor() {
_impl_.sql_.Destroy();
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_.eval_interval_;
}
void CreateFlowExpr::ArenaDtor(void* object) {
@@ -2634,6 +2654,10 @@ void CreateFlowExpr::Clear() {
delete _impl_.expire_after_;
}
_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>(
reinterpret_cast<char*>(&_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
goto handle_unusual;
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:
goto handle_unusual;
} // 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())) {
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_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_);
}
// .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;
if (this->_internal_or_replace() != 0) {
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(
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) {
_this->_internal_set_or_replace(from._internal_or_replace());
}
+105
View File
@@ -900,6 +900,7 @@ class CreateFlowExpr final :
kSqlFieldNumber = 9,
kSinkTableNameFieldNumber = 4,
kExpireAfterFieldNumber = 7,
kEvalIntervalFieldNumber = 11,
kOrReplaceFieldNumber = 5,
kCreateIfNotExistsFieldNumber = 6,
};
@@ -1030,6 +1031,24 @@ class CreateFlowExpr final :
::greptime::v1::ExpireAfter* 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;
void clear_or_replace();
bool or_replace() const;
@@ -1068,6 +1087,7 @@ class CreateFlowExpr final :
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sql_;
::greptime::v1::TableName* sink_table_name_;
::greptime::v1::ExpireAfter* expire_after_;
::greptime::v1::EvalInterval* eval_interval_;
bool or_replace_;
bool create_if_not_exists_;
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)
}
// .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;
inline void CreateFlowExpr::clear_comment() {
_impl_.comment_.ClearToEmpty();
+72 -22
View File
@@ -165,6 +165,7 @@ PROTOBUF_CONSTEXPR CreateRequest::CreateRequest(
, /*decltype(_impl_.flow_id_)*/nullptr
, /*decltype(_impl_.sink_table_name_)*/nullptr
, /*decltype(_impl_.expire_after_)*/nullptr
, /*decltype(_impl_.eval_interval_)*/nullptr
, /*decltype(_impl_.create_if_not_exists_)*/false
, /*decltype(_impl_.or_replace_)*/false
, /*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_.create_if_not_exists_),
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_.sql_),
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)},
{ 79, 87, -1, sizeof(::greptime::v1::flow::CreateRequest_FlowOptionsEntry_DoNotUse)},
{ 89, -1, -1, sizeof(::greptime::v1::flow::CreateRequest)},
{ 104, -1, -1, sizeof(::greptime::v1::flow::DropRequest)},
{ 111, -1, -1, sizeof(::greptime::v1::flow::FlushFlow)},
{ 105, -1, -1, sizeof(::greptime::v1::flow::DropRequest)},
{ 112, -1, -1, sizeof(::greptime::v1::flow::FlushFlow)},
};
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"
"\n\nextensions\030\004 \003(\0132..greptime.v1.flow.Fl"
"owResponse.ExtensionsEntry\0321\n\017Extensions"
"Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\014:\0028\001\"\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"
"ime.v1.FlowId\022.\n\020source_table_ids\030\002 \003(\0132"
"\024.greptime.v1.TableId\022/\n\017sink_table_name"
"\030\003 \001(\0132\026.greptime.v1.TableName\022\034\n\024create"
"_if_not_exists\030\004 \001(\010\022.\n\014expire_after\030\005 \001"
"(\0132\030.greptime.v1.ExpireAfter\022\017\n\007comment\030"
"\006 \001(\t\022\013\n\003sql\030\007 \001(\t\022F\n\014flow_options\030\010 \003(\013"
"20.greptime.v1.flow.CreateRequest.FlowOp"
"tionsEntry\022\022\n\nor_replace\030\t \001(\010\0322\n\020FlowOp"
"tionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002"
"8\001\"3\n\013DropRequest\022$\n\007flow_id\030\001 \001(\0132\023.gre"
"ptime.v1.FlowId\"1\n\tFlushFlow\022$\n\007flow_id\030"
"\001 \001(\0132\023.greptime.v1.FlowId2\230\002\n\004Flow\022S\n\022H"
"andleCreateRemove\022\035.greptime.v1.flow.Flo"
"wRequest\032\036.greptime.v1.flow.FlowResponse"
"\022W\n\023HandleMirrorRequest\022 .greptime.v1.fl"
"ow.InsertRequests\032\036.greptime.v1.flow.Flo"
"wResponse\022b\n\031HandleMarkDirtyTimeWindow\022%"
".greptime.v1.flow.DirtyWindowRequests\032\036."
"greptime.v1.flow.FlowResponseBY\n\023io.grep"
"time.v1.flowB\006ServerZ:github.com/Greptim"
"eTeam/greptime-proto/go/greptime/v1/flow"
"b\006proto3"
"(\0132\030.greptime.v1.ExpireAfter\0220\n\reval_int"
"erval\030\n \001(\0132\031.greptime.v1.EvalInterval\022\017"
"\n\007comment\030\006 \001(\t\022\013\n\003sql\030\007 \001(\t\022F\n\014flow_opt"
"ions\030\010 \003(\01320.greptime.v1.flow.CreateRequ"
"est.FlowOptionsEntry\022\022\n\nor_replace\030\t \001(\010"
"\0322\n\020FlowOptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val"
"ue\030\002 \001(\t:\0028\001\"3\n\013DropRequest\022$\n\007flow_id\030\001"
" \001(\0132\023.greptime.v1.FlowId\"1\n\tFlushFlow\022$"
"\n\007flow_id\030\001 \001(\0132\023.greptime.v1.FlowId2\230\002\n"
"\004Flow\022S\n\022HandleCreateRemove\022\035.greptime.v"
"1.flow.FlowRequest\032\036.greptime.v1.flow.Fl"
"owResponse\022W\n\023HandleMirrorRequest\022 .grep"
"time.v1.flow.InsertRequests\032\036.greptime.v"
"1.flow.FlowResponse\022b\n\031HandleMarkDirtyTi"
"meWindow\022%.greptime.v1.flow.DirtyWindowR"
"equests\032\036.greptime.v1.flow.FlowResponseB"
"Y\n\023io.greptime.v1.flowB\006ServerZ:github.c"
"om/GreptimeTeam/greptime-proto/go/grepti"
"me/v1/flowb\006proto3"
;
static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fflow_2fserver_2eproto_deps[3] = {
&::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;
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",
&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,
@@ -2310,6 +2313,7 @@ class CreateRequest::_Internal {
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::ExpireAfter& expire_after(const CreateRequest* msg);
static const ::greptime::v1::EvalInterval& eval_interval(const CreateRequest* msg);
};
const ::greptime::v1::FlowId&
@@ -2324,6 +2328,10 @@ const ::greptime::v1::ExpireAfter&
CreateRequest::_Internal::expire_after(const CreateRequest* msg) {
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() {
if (GetArenaForAllocation() == nullptr && _impl_.flow_id_ != nullptr) {
delete _impl_.flow_id_;
@@ -2345,6 +2353,12 @@ void CreateRequest::clear_expire_after() {
}
_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,
bool 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_.sink_table_name_){nullptr}
, decltype(_impl_.expire_after_){nullptr}
, decltype(_impl_.eval_interval_){nullptr}
, decltype(_impl_.create_if_not_exists_){}
, decltype(_impl_.or_replace_){}
, /*decltype(_impl_._cached_size_)*/{}};
@@ -2396,6 +2411,9 @@ CreateRequest::CreateRequest(const CreateRequest& from)
if (from._internal_has_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_,
static_cast<size_t>(reinterpret_cast<char*>(&_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_.sink_table_name_){nullptr}
, decltype(_impl_.expire_after_){nullptr}
, decltype(_impl_.eval_interval_){nullptr}
, decltype(_impl_.create_if_not_exists_){false}
, decltype(_impl_.or_replace_){false}
, /*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_.sink_table_name_;
if (this != internal_default_instance()) delete _impl_.expire_after_;
if (this != internal_default_instance()) delete _impl_.eval_interval_;
}
void CreateRequest::ArenaDtor(void* object) {
@@ -2480,6 +2500,10 @@ void CreateRequest::Clear() {
delete _impl_.expire_after_;
}
_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>(
reinterpret_cast<char*>(&_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
goto handle_unusual;
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:
goto handle_unusual;
} // switch
@@ -2698,6 +2730,13 @@ uint8_t* CreateRequest::_InternalSerialize(
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())) {
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
_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_);
}
// .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;
if (this->_internal_create_if_not_exists() != 0) {
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(
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) {
_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,
kSinkTableNameFieldNumber = 3,
kExpireAfterFieldNumber = 5,
kEvalIntervalFieldNumber = 10,
kCreateIfNotExistsFieldNumber = 4,
kOrReplaceFieldNumber = 9,
};
@@ -1739,6 +1740,24 @@ class CreateRequest final :
::greptime::v1::ExpireAfter* 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;
void clear_create_if_not_exists();
bool create_if_not_exists() const;
@@ -1776,6 +1795,7 @@ class CreateRequest final :
::greptime::v1::FlowId* flow_id_;
::greptime::v1::TableName* sink_table_name_;
::greptime::v1::ExpireAfter* expire_after_;
::greptime::v1::EvalInterval* eval_interval_;
bool create_if_not_exists_;
bool or_replace_;
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)
}
// .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;
inline void CreateRequest::clear_comment() {
_impl_.comment_.ClearToEmpty();
+242 -178
View File
@@ -1094,6 +1094,54 @@ func (x *ExpireAfter) GetValue() int64 {
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 {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -1106,7 +1154,7 @@ type FlightMetadata struct {
func (x *FlightMetadata) Reset() {
*x = FlightMetadata{}
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.StoreMessageInfo(mi)
}
@@ -1119,7 +1167,7 @@ func (x *FlightMetadata) String() string {
func (*FlightMetadata) ProtoMessage() {}
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 {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1132,7 +1180,7 @@ func (x *FlightMetadata) ProtoReflect() protoreflect.Message {
// Deprecated: Use FlightMetadata.ProtoReflect.Descriptor instead.
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 {
@@ -1162,7 +1210,7 @@ type IntervalMonthDayNano struct {
func (x *IntervalMonthDayNano) Reset() {
*x = IntervalMonthDayNano{}
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.StoreMessageInfo(mi)
}
@@ -1175,7 +1223,7 @@ func (x *IntervalMonthDayNano) String() string {
func (*IntervalMonthDayNano) ProtoMessage() {}
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 {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1188,7 +1236,7 @@ func (x *IntervalMonthDayNano) ProtoReflect() protoreflect.Message {
// Deprecated: Use IntervalMonthDayNano.ProtoReflect.Descriptor instead.
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 {
@@ -1224,7 +1272,7 @@ type TimeRange struct {
func (x *TimeRange) Reset() {
*x = TimeRange{}
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.StoreMessageInfo(mi)
}
@@ -1237,7 +1285,7 @@ func (x *TimeRange) String() string {
func (*TimeRange) ProtoMessage() {}
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 {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1250,7 +1298,7 @@ func (x *TimeRange) ProtoReflect() protoreflect.Message {
// Deprecated: Use TimeRange.ProtoReflect.Descriptor instead.
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 {
@@ -1280,7 +1328,7 @@ type TimeRanges struct {
func (x *TimeRanges) Reset() {
*x = TimeRanges{}
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.StoreMessageInfo(mi)
}
@@ -1293,7 +1341,7 @@ func (x *TimeRanges) String() string {
func (*TimeRanges) ProtoMessage() {}
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 {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1306,7 +1354,7 @@ func (x *TimeRanges) ProtoReflect() protoreflect.Message {
// Deprecated: Use TimeRanges.ProtoReflect.Descriptor instead.
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 {
@@ -1336,7 +1384,7 @@ type Decimal128 struct {
func (x *Decimal128) Reset() {
*x = Decimal128{}
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.StoreMessageInfo(mi)
}
@@ -1349,7 +1397,7 @@ func (x *Decimal128) String() string {
func (*Decimal128) ProtoMessage() {}
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 {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1362,7 +1410,7 @@ func (x *Decimal128) ProtoReflect() protoreflect.Message {
// Deprecated: Use Decimal128.ProtoReflect.Descriptor instead.
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 {
@@ -1396,7 +1444,7 @@ type ColumnDataTypeExtension struct {
func (x *ColumnDataTypeExtension) Reset() {
*x = ColumnDataTypeExtension{}
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.StoreMessageInfo(mi)
}
@@ -1409,7 +1457,7 @@ func (x *ColumnDataTypeExtension) String() string {
func (*ColumnDataTypeExtension) ProtoMessage() {}
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 {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1422,7 +1470,7 @@ func (x *ColumnDataTypeExtension) ProtoReflect() protoreflect.Message {
// Deprecated: Use ColumnDataTypeExtension.ProtoReflect.Descriptor instead.
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 {
@@ -1488,7 +1536,7 @@ type DecimalTypeExtension struct {
func (x *DecimalTypeExtension) Reset() {
*x = DecimalTypeExtension{}
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.StoreMessageInfo(mi)
}
@@ -1501,7 +1549,7 @@ func (x *DecimalTypeExtension) String() string {
func (*DecimalTypeExtension) ProtoMessage() {}
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 {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1514,7 +1562,7 @@ func (x *DecimalTypeExtension) ProtoReflect() protoreflect.Message {
// Deprecated: Use DecimalTypeExtension.ProtoReflect.Descriptor instead.
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 {
@@ -1542,7 +1590,7 @@ type VectorTypeExtension struct {
func (x *VectorTypeExtension) Reset() {
*x = VectorTypeExtension{}
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.StoreMessageInfo(mi)
}
@@ -1555,7 +1603,7 @@ func (x *VectorTypeExtension) String() string {
func (*VectorTypeExtension) ProtoMessage() {}
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 {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1568,7 +1616,7 @@ func (x *VectorTypeExtension) ProtoReflect() protoreflect.Message {
// Deprecated: Use VectorTypeExtension.ProtoReflect.Descriptor instead.
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 {
@@ -1610,7 +1658,7 @@ type ColumnOptions struct {
func (x *ColumnOptions) Reset() {
*x = ColumnOptions{}
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.StoreMessageInfo(mi)
}
@@ -1623,7 +1671,7 @@ func (x *ColumnOptions) String() string {
func (*ColumnOptions) ProtoMessage() {}
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 {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1636,7 +1684,7 @@ func (x *ColumnOptions) ProtoReflect() protoreflect.Message {
// Deprecated: Use ColumnOptions.ProtoReflect.Descriptor instead.
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 {
@@ -1659,7 +1707,7 @@ type ArrowIpc struct {
func (x *ArrowIpc) Reset() {
*x = ArrowIpc{}
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.StoreMessageInfo(mi)
}
@@ -1672,7 +1720,7 @@ func (x *ArrowIpc) String() string {
func (*ArrowIpc) ProtoMessage() {}
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 {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1685,7 +1733,7 @@ func (x *ArrowIpc) ProtoReflect() protoreflect.Message {
// Deprecated: Use ArrowIpc.ProtoReflect.Descriptor instead.
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 {
@@ -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,
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,
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x80,
0x01, 0x0a, 0x0e, 0x46, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
0x61, 0x12, 0x3e, 0x0a, 0x0d, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x6f,
0x77, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 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, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x6f, 0x77,
0x73, 0x12, 0x2e, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x02, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63,
0x73, 0x22, 0x64, 0x0a, 0x14, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x4d, 0x6f, 0x6e,
0x74, 0x68, 0x44, 0x61, 0x79, 0x4e, 0x61, 0x6e, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x6f, 0x6e,
0x74, 0x68, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6d, 0x6f, 0x6e, 0x74, 0x68,
0x73, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x79, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
0x04, 0x64, 0x61, 0x79, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x61, 0x6e, 0x6f, 0x73, 0x65, 0x63,
0x6f, 0x6e, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6e, 0x61, 0x6e, 0x6f,
0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x22, 0x33, 0x0a, 0x09, 0x54, 0x69, 0x6d, 0x65, 0x52,
0x61, 0x6e, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20,
0x01, 0x28, 0x03, 0x52, 0x05, 0x73, 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,
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x28,
0x0a, 0x0c, 0x45, 0x76, 0x61, 0x6c, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x18,
0x0a, 0x07, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
0x07, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x22, 0x80, 0x01, 0x0a, 0x0e, 0x46, 0x6c, 0x69,
0x67, 0x68, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3e, 0x0a, 0x0d, 0x61,
0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x01, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x19, 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,
0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x6f, 0x77, 0x73, 0x12, 0x2e, 0x0a, 0x07, 0x6d,
0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67,
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69,
0x63, 0x73, 0x52, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x22, 0x64, 0x0a, 0x14, 0x49,
0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x44, 0x61, 0x79, 0x4e,
0x61, 0x6e, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x73, 0x18, 0x01, 0x20,
0x01, 0x28, 0x05, 0x52, 0x06, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x64,
0x61, 0x79, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x64, 0x61, 0x79, 0x73, 0x12,
0x20, 0x0a, 0x0b, 0x6e, 0x61, 0x6e, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x03,
0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6e, 0x61, 0x6e, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64,
0x73, 0x22, 0x33, 0x0a, 0x09, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x14,
0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x73,
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,
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, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0a, 0x74, 0x69, 0x6d,
0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x22, 0x2c, 0x0a, 0x0a, 0x44, 0x65, 0x63, 0x69, 0x6d,
0x61, 0x6c, 0x31, 0x32, 0x38, 0x12, 0x0e, 0x0a, 0x02, 0x68, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28,
0x03, 0x52, 0x02, 0x68, 0x69, 0x12, 0x0e, 0x0a, 0x02, 0x6c, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28,
0x03, 0x52, 0x02, 0x6c, 0x6f, 0x22, 0xf1, 0x01, 0x0a, 0x17, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e,
0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
0x6e, 0x12, 0x46, 0x0a, 0x0c, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x5f, 0x74, 0x79, 0x70,
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x54, 0x79, 0x70,
0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x65,
0x63, 0x69, 0x6d, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3d, 0x0a, 0x09, 0x6a, 0x73, 0x6f,
0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x67,
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4a, 0x73, 0x6f, 0x6e, 0x54,
0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x08,
0x6a, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x43, 0x0a, 0x0b, 0x76, 0x65, 0x63, 0x74,
0x6f, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e,
0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x63, 0x74,
0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x48,
0x00, 0x52, 0x0a, 0x76, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0a, 0x0a,
0x08, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x65, 0x78, 0x74, 0x22, 0x4a, 0x0a, 0x14, 0x44, 0x65, 0x63,
0x69, 0x6d, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01,
0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12,
0x14, 0x0a, 0x05, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05,
0x73, 0x63, 0x61, 0x6c, 0x65, 0x22, 0x27, 0x0a, 0x13, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x54,
0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03,
0x64, 0x69, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x64, 0x69, 0x6d, 0x22, 0x8e,
0x01, 0x0a, 0x0d, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
0x12, 0x41, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
0x0b, 0x32, 0x27, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e,
0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70,
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69,
0x6f, 0x6e, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e,
0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22,
0x5d, 0x0a, 0x08, 0x41, 0x72, 0x72, 0x6f, 0x77, 0x49, 0x70, 0x63, 0x12, 0x16, 0x0a, 0x06, 0x73,
0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x63, 0x68,
0x65, 0x6d, 0x61, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x68, 0x65, 0x61, 0x64,
0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x48, 0x65,
0x61, 0x64, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18,
0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2a, 0x31,
0x0a, 0x0c, 0x53, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x12, 0x07,
0x0a, 0x03, 0x54, 0x41, 0x47, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x49, 0x45, 0x4c, 0x44,
0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x10,
0x02, 0x2a, 0xec, 0x03, 0x0a, 0x0e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61,
0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x42, 0x4f, 0x4f, 0x4c, 0x45, 0x41, 0x4e, 0x10,
0x00, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x4e, 0x54, 0x38, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x49,
0x4e, 0x54, 0x31, 0x36, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10,
0x03, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05,
0x55, 0x49, 0x4e, 0x54, 0x38, 0x10, 0x05, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x49, 0x4e, 0x54, 0x31,
0x36, 0x10, 0x06, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x07, 0x12,
0x0a, 0x0a, 0x06, 0x55, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x08, 0x12, 0x0b, 0x0a, 0x07, 0x46,
0x4c, 0x4f, 0x41, 0x54, 0x33, 0x32, 0x10, 0x09, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x4c, 0x4f, 0x41,
0x54, 0x36, 0x34, 0x10, 0x0a, 0x12, 0x0a, 0x0a, 0x06, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x10,
0x0b, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x0c, 0x12, 0x08, 0x0a,
0x04, 0x44, 0x41, 0x54, 0x45, 0x10, 0x0d, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x41, 0x54, 0x45, 0x54,
0x49, 0x4d, 0x45, 0x10, 0x0e, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41,
0x4d, 0x50, 0x5f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x0f, 0x12, 0x19, 0x0a, 0x15, 0x54,
0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x4d, 0x49, 0x4c, 0x4c, 0x49, 0x53, 0x45,
0x43, 0x4f, 0x4e, 0x44, 0x10, 0x10, 0x12, 0x19, 0x0a, 0x15, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54,
0x41, 0x4d, 0x50, 0x5f, 0x4d, 0x49, 0x43, 0x52, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10,
0x11, 0x12, 0x18, 0x0a, 0x14, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x4e,
0x41, 0x4e, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x12, 0x12, 0x0f, 0x0a, 0x0b, 0x54,
0x49, 0x4d, 0x45, 0x5f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x13, 0x12, 0x14, 0x0a, 0x10,
0x54, 0x49, 0x4d, 0x45, 0x5f, 0x4d, 0x49, 0x4c, 0x4c, 0x49, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44,
0x10, 0x14, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x4d, 0x49, 0x43, 0x52, 0x4f,
0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x15, 0x12, 0x13, 0x0a, 0x0f, 0x54, 0x49, 0x4d, 0x45,
0x5f, 0x4e, 0x41, 0x4e, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x16, 0x12, 0x17, 0x0a,
0x13, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x56, 0x41, 0x4c, 0x5f, 0x59, 0x45, 0x41, 0x52, 0x5f, 0x4d,
0x4f, 0x4e, 0x54, 0x48, 0x10, 0x17, 0x12, 0x15, 0x0a, 0x11, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x56,
0x41, 0x4c, 0x5f, 0x44, 0x41, 0x59, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x18, 0x12, 0x1b, 0x0a,
0x17, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x56, 0x41, 0x4c, 0x5f, 0x4d, 0x4f, 0x4e, 0x54, 0x48, 0x5f,
0x44, 0x41, 0x59, 0x5f, 0x4e, 0x41, 0x4e, 0x4f, 0x10, 0x19, 0x12, 0x0e, 0x0a, 0x0a, 0x44, 0x45,
0x43, 0x49, 0x4d, 0x41, 0x4c, 0x31, 0x32, 0x38, 0x10, 0x1e, 0x12, 0x08, 0x0a, 0x04, 0x4a, 0x53,
0x4f, 0x4e, 0x10, 0x1f, 0x12, 0x0a, 0x0a, 0x06, 0x56, 0x45, 0x43, 0x54, 0x4f, 0x52, 0x10, 0x20,
0x2a, 0x48, 0x0a, 0x08, 0x54, 0x69, 0x6d, 0x65, 0x55, 0x6e, 0x69, 0x74, 0x12, 0x0f, 0x0a, 0x0b,
0x4d, 0x49, 0x4c, 0x4c, 0x49, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a,
0x06, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x4d, 0x49, 0x43,
0x52, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x4e, 0x41,
0x4e, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x03, 0x2a, 0x24, 0x0a, 0x11, 0x4a, 0x73,
0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12,
0x0f, 0x0a, 0x0b, 0x4a, 0x53, 0x4f, 0x4e, 0x5f, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x10, 0x00,
0x42, 0x4f, 0x0a, 0x0e, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e,
0x76, 0x31, 0x42, 0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68,
0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x54,
0x65, 0x61, 0x6d, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2d, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76,
0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65,
0x73, 0x22, 0x2c, 0x0a, 0x0a, 0x44, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x31, 0x32, 0x38, 0x12,
0x0e, 0x0a, 0x02, 0x68, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x68, 0x69, 0x12,
0x0e, 0x0a, 0x02, 0x6c, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x6c, 0x6f, 0x22,
0xf1, 0x01, 0x0a, 0x17, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79,
0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x46, 0x0a, 0x0c, 0x64,
0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e,
0x44, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e,
0x73, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x54,
0x79, 0x70, 0x65, 0x12, 0x3d, 0x0a, 0x09, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65,
0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4a, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74,
0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x08, 0x6a, 0x73, 0x6f, 0x6e, 0x54, 0x79,
0x70, 0x65, 0x12, 0x43, 0x0a, 0x0b, 0x76, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x74, 0x79, 0x70,
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65,
0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0a, 0x76, 0x65, 0x63,
0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x74, 0x79, 0x70, 0x65, 0x5f,
0x65, 0x78, 0x74, 0x22, 0x4a, 0x0a, 0x14, 0x44, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x54, 0x79,
0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x70,
0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09,
0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x61,
0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x22,
0x27, 0x0a, 0x13, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74,
0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x69, 0x6d, 0x18, 0x01, 0x20,
0x01, 0x28, 0x0d, 0x52, 0x03, 0x64, 0x69, 0x6d, 0x22, 0x8e, 0x01, 0x0a, 0x0d, 0x43, 0x6f, 0x6c,
0x75, 0x6d, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x41, 0x0a, 0x07, 0x6f, 0x70,
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x72,
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e,
0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45,
0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x3a, 0x0a,
0x0c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x5d, 0x0a, 0x08, 0x41, 0x72, 0x72,
0x6f, 0x77, 0x49, 0x70, 0x63, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18,
0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x1f, 0x0a,
0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01,
0x28, 0x0c, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x18,
0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52,
0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2a, 0x31, 0x0a, 0x0c, 0x53, 0x65, 0x6d, 0x61,
0x6e, 0x74, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x41, 0x47, 0x10,
0x00, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09,
0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x10, 0x02, 0x2a, 0xec, 0x03, 0x0a, 0x0e,
0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b,
0x0a, 0x07, 0x42, 0x4f, 0x4f, 0x4c, 0x45, 0x41, 0x4e, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x49,
0x4e, 0x54, 0x38, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x31, 0x36, 0x10, 0x02,
0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 0x49,
0x4e, 0x54, 0x36, 0x34, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x55, 0x49, 0x4e, 0x54, 0x38, 0x10,
0x05, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x49, 0x4e, 0x54, 0x31, 0x36, 0x10, 0x06, 0x12, 0x0a, 0x0a,
0x06, 0x55, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x07, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x49, 0x4e,
0x54, 0x36, 0x34, 0x10, 0x08, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x33, 0x32,
0x10, 0x09, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x36, 0x34, 0x10, 0x0a, 0x12,
0x0a, 0x0a, 0x06, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x10, 0x0b, 0x12, 0x0a, 0x0a, 0x06, 0x53,
0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x0c, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x41, 0x54, 0x45, 0x10,
0x0d, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x41, 0x54, 0x45, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x0e, 0x12,
0x14, 0x0a, 0x10, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x53, 0x45, 0x43,
0x4f, 0x4e, 0x44, 0x10, 0x0f, 0x12, 0x19, 0x0a, 0x15, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41,
0x4d, 0x50, 0x5f, 0x4d, 0x49, 0x4c, 0x4c, 0x49, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x10,
0x12, 0x19, 0x0a, 0x15, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x4d, 0x49,
0x43, 0x52, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x11, 0x12, 0x18, 0x0a, 0x14, 0x54,
0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x4e, 0x41, 0x4e, 0x4f, 0x53, 0x45, 0x43,
0x4f, 0x4e, 0x44, 0x10, 0x12, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x53, 0x45,
0x43, 0x4f, 0x4e, 0x44, 0x10, 0x13, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x4d,
0x49, 0x4c, 0x4c, 0x49, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x14, 0x12, 0x14, 0x0a, 0x10,
0x54, 0x49, 0x4d, 0x45, 0x5f, 0x4d, 0x49, 0x43, 0x52, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44,
0x10, 0x15, 0x12, 0x13, 0x0a, 0x0f, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x4e, 0x41, 0x4e, 0x4f, 0x53,
0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x16, 0x12, 0x17, 0x0a, 0x13, 0x49, 0x4e, 0x54, 0x45, 0x52,
0x56, 0x41, 0x4c, 0x5f, 0x59, 0x45, 0x41, 0x52, 0x5f, 0x4d, 0x4f, 0x4e, 0x54, 0x48, 0x10, 0x17,
0x12, 0x15, 0x0a, 0x11, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x56, 0x41, 0x4c, 0x5f, 0x44, 0x41, 0x59,
0x5f, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x18, 0x12, 0x1b, 0x0a, 0x17, 0x49, 0x4e, 0x54, 0x45, 0x52,
0x56, 0x41, 0x4c, 0x5f, 0x4d, 0x4f, 0x4e, 0x54, 0x48, 0x5f, 0x44, 0x41, 0x59, 0x5f, 0x4e, 0x41,
0x4e, 0x4f, 0x10, 0x19, 0x12, 0x0e, 0x0a, 0x0a, 0x44, 0x45, 0x43, 0x49, 0x4d, 0x41, 0x4c, 0x31,
0x32, 0x38, 0x10, 0x1e, 0x12, 0x08, 0x0a, 0x04, 0x4a, 0x53, 0x4f, 0x4e, 0x10, 0x1f, 0x12, 0x0a,
0x0a, 0x06, 0x56, 0x45, 0x43, 0x54, 0x4f, 0x52, 0x10, 0x20, 0x2a, 0x48, 0x0a, 0x08, 0x54, 0x69,
0x6d, 0x65, 0x55, 0x6e, 0x69, 0x74, 0x12, 0x0f, 0x0a, 0x0b, 0x4d, 0x49, 0x4c, 0x4c, 0x49, 0x53,
0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x45, 0x43, 0x4f, 0x4e,
0x44, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x4d, 0x49, 0x43, 0x52, 0x4f, 0x53, 0x45, 0x43, 0x4f,
0x4e, 0x44, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x4e, 0x41, 0x4e, 0x4f, 0x53, 0x45, 0x43, 0x4f,
0x4e, 0x44, 0x10, 0x03, 0x2a, 0x24, 0x0a, 0x11, 0x4a, 0x73, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65,
0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x0a, 0x0b, 0x4a, 0x53, 0x4f,
0x4e, 0x5f, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x10, 0x00, 0x42, 0x4f, 0x0a, 0x0e, 0x69, 0x6f,
0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x06, 0x43, 0x6f,
0x6d, 0x6d, 0x6f, 0x6e, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
0x2f, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x2f, 0x67, 0x72,
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f,
0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x33,
}
var (
@@ -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_msgTypes = make([]protoimpl.MessageInfo, 28)
var file_greptime_v1_common_proto_msgTypes = make([]protoimpl.MessageInfo, 29)
var file_greptime_v1_common_proto_goTypes = []interface{}{
(SemanticType)(0), // 0: greptime.v1.SemanticType
(ColumnDataType)(0), // 1: greptime.v1.ColumnDataType
@@ -1968,41 +2019,42 @@ var file_greptime_v1_common_proto_goTypes = []interface{}{
(*AffectedRows)(nil), // 14: greptime.v1.AffectedRows
(*Metrics)(nil), // 15: greptime.v1.Metrics
(*ExpireAfter)(nil), // 16: greptime.v1.ExpireAfter
(*FlightMetadata)(nil), // 17: greptime.v1.FlightMetadata
(*IntervalMonthDayNano)(nil), // 18: greptime.v1.IntervalMonthDayNano
(*TimeRange)(nil), // 19: greptime.v1.TimeRange
(*TimeRanges)(nil), // 20: greptime.v1.TimeRanges
(*Decimal128)(nil), // 21: greptime.v1.Decimal128
(*ColumnDataTypeExtension)(nil), // 22: greptime.v1.ColumnDataTypeExtension
(*DecimalTypeExtension)(nil), // 23: greptime.v1.DecimalTypeExtension
(*VectorTypeExtension)(nil), // 24: greptime.v1.VectorTypeExtension
(*ColumnOptions)(nil), // 25: greptime.v1.ColumnOptions
(*ArrowIpc)(nil), // 26: greptime.v1.ArrowIpc
nil, // 27: greptime.v1.QueryContext.ExtensionsEntry
nil, // 28: greptime.v1.SnapshotSequences.SstMinSequencesEntry
nil, // 29: greptime.v1.SnapshotSequences.SnapshotSeqsEntry
nil, // 30: greptime.v1.RequestHeader.TracingContextEntry
nil, // 31: greptime.v1.ColumnOptions.OptionsEntry
(*EvalInterval)(nil), // 17: greptime.v1.EvalInterval
(*FlightMetadata)(nil), // 18: greptime.v1.FlightMetadata
(*IntervalMonthDayNano)(nil), // 19: greptime.v1.IntervalMonthDayNano
(*TimeRange)(nil), // 20: greptime.v1.TimeRange
(*TimeRanges)(nil), // 21: greptime.v1.TimeRanges
(*Decimal128)(nil), // 22: greptime.v1.Decimal128
(*ColumnDataTypeExtension)(nil), // 23: greptime.v1.ColumnDataTypeExtension
(*DecimalTypeExtension)(nil), // 24: greptime.v1.DecimalTypeExtension
(*VectorTypeExtension)(nil), // 25: greptime.v1.VectorTypeExtension
(*ColumnOptions)(nil), // 26: greptime.v1.ColumnOptions
(*ArrowIpc)(nil), // 27: greptime.v1.ArrowIpc
nil, // 28: greptime.v1.QueryContext.ExtensionsEntry
nil, // 29: greptime.v1.SnapshotSequences.SstMinSequencesEntry
nil, // 30: greptime.v1.SnapshotSequences.SnapshotSeqsEntry
nil, // 31: greptime.v1.RequestHeader.TracingContextEntry
nil, // 32: greptime.v1.ColumnOptions.OptionsEntry
}
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
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, // 4: greptime.v1.SnapshotSequences.snapshot_seqs:type_name -> greptime.v1.SnapshotSequences.SnapshotSeqsEntry
29, // 3: greptime.v1.SnapshotSequences.sst_min_sequences:type_name -> greptime.v1.SnapshotSequences.SstMinSequencesEntry
30, // 4: greptime.v1.SnapshotSequences.snapshot_seqs:type_name -> greptime.v1.SnapshotSequences.SnapshotSeqsEntry
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
11, // 8: greptime.v1.AuthHeader.basic:type_name -> greptime.v1.Basic
12, // 9: greptime.v1.AuthHeader.token:type_name -> greptime.v1.Token
14, // 10: greptime.v1.FlightMetadata.affected_rows:type_name -> greptime.v1.AffectedRows
15, // 11: greptime.v1.FlightMetadata.metrics:type_name -> greptime.v1.Metrics
2, // 12: greptime.v1.TimeRanges.time_unit:type_name -> greptime.v1.TimeUnit
19, // 13: greptime.v1.TimeRanges.time_ranges:type_name -> greptime.v1.TimeRange
23, // 14: greptime.v1.ColumnDataTypeExtension.decimal_type:type_name -> greptime.v1.DecimalTypeExtension
20, // 13: greptime.v1.TimeRanges.time_ranges:type_name -> greptime.v1.TimeRange
24, // 14: greptime.v1.ColumnDataTypeExtension.decimal_type:type_name -> greptime.v1.DecimalTypeExtension
3, // 15: greptime.v1.ColumnDataTypeExtension.json_type:type_name -> greptime.v1.JsonTypeExtension
24, // 16: greptime.v1.ColumnDataTypeExtension.vector_type:type_name -> greptime.v1.VectorTypeExtension
31, // 17: greptime.v1.ColumnOptions.options:type_name -> greptime.v1.ColumnOptions.OptionsEntry
25, // 16: greptime.v1.ColumnDataTypeExtension.vector_type:type_name -> greptime.v1.VectorTypeExtension
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 input_type
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{} {
switch v := v.(*FlightMetadata); i {
switch v := v.(*EvalInterval); i {
case 0:
return &v.state
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{} {
switch v := v.(*IntervalMonthDayNano); i {
switch v := v.(*FlightMetadata); i {
case 0:
return &v.state
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{} {
switch v := v.(*TimeRange); i {
switch v := v.(*IntervalMonthDayNano); i {
case 0:
return &v.state
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{} {
switch v := v.(*TimeRanges); i {
switch v := v.(*TimeRange); i {
case 0:
return &v.state
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{} {
switch v := v.(*Decimal128); i {
switch v := v.(*TimeRanges); i {
case 0:
return &v.state
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{} {
switch v := v.(*ColumnDataTypeExtension); i {
switch v := v.(*Decimal128); i {
case 0:
return &v.state
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{} {
switch v := v.(*DecimalTypeExtension); i {
switch v := v.(*ColumnDataTypeExtension); i {
case 0:
return &v.state
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{} {
switch v := v.(*VectorTypeExtension); i {
switch v := v.(*DecimalTypeExtension); i {
case 0:
return &v.state
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{} {
switch v := v.(*ColumnOptions); i {
switch v := v.(*VectorTypeExtension); i {
case 0:
return &v.state
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{} {
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 {
case 0:
return &v.state
@@ -2297,7 +2361,7 @@ func file_greptime_v1_common_proto_init() {
(*AuthHeader_Basic)(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_JsonType)(nil),
(*ColumnDataTypeExtension_VectorType)(nil),
@@ -2308,7 +2372,7 @@ func file_greptime_v1_common_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_greptime_v1_common_proto_rawDesc,
NumEnums: 4,
NumMessages: 28,
NumMessages: 29,
NumExtensions: 0,
NumServices: 0,
},
+85 -71
View File
@@ -427,6 +427,7 @@ type CreateFlowExpr struct {
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.
ExpireAfter *ExpireAfter `protobuf:"bytes,7,opt,name=expire_after,json=expireAfter,proto3" json:"expire_after,omitempty"`
EvalInterval *EvalInterval `protobuf:"bytes,11,opt,name=eval_interval,json=evalInterval,proto3" json:"eval_interval,omitempty"`
Comment string `protobuf:"bytes,8,opt,name=comment,proto3" json:"comment,omitempty"`
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"`
@@ -513,6 +514,13 @@ func (x *CreateFlowExpr) GetExpireAfter() *ExpireAfter {
return nil
}
func (x *CreateFlowExpr) GetEvalInterval() *EvalInterval {
if x != nil {
return x.EvalInterval
}
return nil
}
func (x *CreateFlowExpr) GetComment() string {
if x != nil {
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,
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,
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, 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,
@@ -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,
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,
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,
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,
@@ -4228,12 +4240,13 @@ var file_greptime_v1_ddl_proto_goTypes = []interface{}{
nil, // 55: greptime.v1.WebhookOptions.OptsEntry
(*TableName)(nil), // 56: greptime.v1.TableName
(*ExpireAfter)(nil), // 57: greptime.v1.ExpireAfter
(*TimeRanges)(nil), // 58: greptime.v1.TimeRanges
(ColumnDataType)(0), // 59: greptime.v1.ColumnDataType
(*ColumnDataTypeExtension)(nil), // 60: greptime.v1.ColumnDataTypeExtension
(SemanticType)(0), // 61: greptime.v1.SemanticType
(*ColumnOptions)(nil), // 62: greptime.v1.ColumnOptions
(*durationpb.Duration)(nil), // 63: google.protobuf.Duration
(*EvalInterval)(nil), // 58: greptime.v1.EvalInterval
(*TimeRanges)(nil), // 59: greptime.v1.TimeRanges
(ColumnDataType)(0), // 60: greptime.v1.ColumnDataType
(*ColumnDataTypeExtension)(nil), // 61: greptime.v1.ColumnDataTypeExtension
(SemanticType)(0), // 62: greptime.v1.SemanticType
(*ColumnOptions)(nil), // 63: greptime.v1.ColumnOptions
(*durationpb.Duration)(nil), // 64: google.protobuf.Duration
}
var file_greptime_v1_ddl_proto_depIdxs = []int32{
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, // 11: greptime.v1.CreateFlowExpr.sink_table_name:type_name -> greptime.v1.TableName
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
34, // 14: greptime.v1.DropFlowExpr.flow_id:type_name -> greptime.v1.FlowId
56, // 15: greptime.v1.CreateViewExpr.table_names:type_name -> greptime.v1.TableName
33, // 16: greptime.v1.DropViewExpr.view_id:type_name -> greptime.v1.TableId
35, // 17: greptime.v1.CreateTableExpr.column_defs:type_name -> greptime.v1.ColumnDef
51, // 18: greptime.v1.CreateTableExpr.table_options:type_name -> greptime.v1.CreateTableExpr.TableOptionsEntry
33, // 19: greptime.v1.CreateTableExpr.table_id:type_name -> greptime.v1.TableId
21, // 20: greptime.v1.AlterTableExpr.add_columns:type_name -> greptime.v1.AddColumns
24, // 21: greptime.v1.AlterTableExpr.drop_columns:type_name -> greptime.v1.DropColumns
26, // 22: greptime.v1.AlterTableExpr.rename_table:type_name -> greptime.v1.RenameTable
25, // 23: greptime.v1.AlterTableExpr.modify_column_types:type_name -> greptime.v1.ModifyColumnTypes
30, // 24: greptime.v1.AlterTableExpr.set_table_options:type_name -> greptime.v1.SetTableOptions
31, // 25: greptime.v1.AlterTableExpr.unset_table_options:type_name -> greptime.v1.UnsetTableOptions
15, // 26: greptime.v1.AlterTableExpr.set_index:type_name -> greptime.v1.SetIndex
16, // 27: greptime.v1.AlterTableExpr.unset_index:type_name -> greptime.v1.UnsetIndex
22, // 28: greptime.v1.AlterTableExpr.drop_defaults:type_name -> greptime.v1.DropDefaults
12, // 29: greptime.v1.AlterTableExpr.set_indexes:type_name -> greptime.v1.SetIndexes
13, // 30: greptime.v1.AlterTableExpr.unset_indexes:type_name -> greptime.v1.UnsetIndexes
23, // 31: greptime.v1.AlterTableExpr.set_defaults:type_name -> greptime.v1.SetDefaults
15, // 32: greptime.v1.SetIndexes.set_indexes:type_name -> greptime.v1.SetIndex
16, // 33: greptime.v1.UnsetIndexes.unset_indexes:type_name -> greptime.v1.UnsetIndex
37, // 34: greptime.v1.SetIndex.fulltext:type_name -> greptime.v1.SetFulltext
39, // 35: greptime.v1.SetIndex.inverted:type_name -> greptime.v1.SetInverted
41, // 36: greptime.v1.SetIndex.skipping:type_name -> greptime.v1.SetSkipping
38, // 37: greptime.v1.UnsetIndex.fulltext:type_name -> greptime.v1.UnsetFulltext
40, // 38: greptime.v1.UnsetIndex.inverted:type_name -> greptime.v1.UnsetInverted
42, // 39: greptime.v1.UnsetIndex.skipping:type_name -> greptime.v1.UnsetSkipping
33, // 40: greptime.v1.DropTableExpr.table_id:type_name -> greptime.v1.TableId
52, // 41: greptime.v1.CreateDatabaseExpr.options:type_name -> greptime.v1.CreateDatabaseExpr.OptionsEntry
33, // 42: greptime.v1.TruncateTableExpr.table_id:type_name -> greptime.v1.TableId
58, // 43: greptime.v1.TruncateTableExpr.time_ranges:type_name -> greptime.v1.TimeRanges
27, // 44: greptime.v1.AddColumns.add_columns:type_name -> greptime.v1.AddColumn
11, // 45: greptime.v1.DropDefaults.drop_defaults:type_name -> greptime.v1.DropDefault
14, // 46: greptime.v1.SetDefaults.set_defaults:type_name -> greptime.v1.SetDefault
32, // 47: greptime.v1.DropColumns.drop_columns:type_name -> greptime.v1.DropColumn
28, // 48: greptime.v1.ModifyColumnTypes.modify_column_types:type_name -> greptime.v1.ModifyColumnType
35, // 49: greptime.v1.AddColumn.column_def:type_name -> greptime.v1.ColumnDef
36, // 50: greptime.v1.AddColumn.location:type_name -> greptime.v1.AddColumnLocation
59, // 51: greptime.v1.ModifyColumnType.target_type:type_name -> greptime.v1.ColumnDataType
60, // 52: greptime.v1.ModifyColumnType.target_type_extension:type_name -> greptime.v1.ColumnDataTypeExtension
29, // 53: greptime.v1.SetTableOptions.table_options:type_name -> greptime.v1.Option
59, // 54: greptime.v1.ColumnDef.data_type:type_name -> greptime.v1.ColumnDataType
61, // 55: greptime.v1.ColumnDef.semantic_type:type_name -> greptime.v1.SemanticType
60, // 56: greptime.v1.ColumnDef.datatype_extension:type_name -> greptime.v1.ColumnDataTypeExtension
62, // 57: greptime.v1.ColumnDef.options:type_name -> greptime.v1.ColumnOptions
3, // 58: greptime.v1.AddColumnLocation.location_type:type_name -> greptime.v1.AddColumnLocation.LocationType
0, // 59: greptime.v1.SetFulltext.analyzer:type_name -> greptime.v1.Analyzer
1, // 60: greptime.v1.SetFulltext.backend:type_name -> greptime.v1.FulltextBackend
2, // 61: greptime.v1.SetSkipping.skipping_index_type:type_name -> greptime.v1.SkippingIndexType
44, // 62: greptime.v1.AlterDatabaseExpr.set_database_options:type_name -> greptime.v1.SetDatabaseOptions
45, // 63: greptime.v1.AlterDatabaseExpr.unset_database_options:type_name -> greptime.v1.UnsetDatabaseOptions
29, // 64: greptime.v1.SetDatabaseOptions.set_database_options:type_name -> greptime.v1.Option
47, // 65: greptime.v1.CreateTriggerExpr.channels:type_name -> greptime.v1.NotifyChannel
53, // 66: greptime.v1.CreateTriggerExpr.labels:type_name -> greptime.v1.CreateTriggerExpr.LabelsEntry
54, // 67: greptime.v1.CreateTriggerExpr.annotations:type_name -> greptime.v1.CreateTriggerExpr.AnnotationsEntry
63, // 68: greptime.v1.CreateTriggerExpr.interval:type_name -> google.protobuf.Duration
48, // 69: greptime.v1.NotifyChannel.webhook:type_name -> greptime.v1.WebhookOptions
55, // 70: greptime.v1.WebhookOptions.opts:type_name -> greptime.v1.WebhookOptions.OptsEntry
71, // [71:71] is the sub-list for method output_type
71, // [71:71] is the sub-list for method input_type
71, // [71:71] is the sub-list for extension type_name
71, // [71:71] is the sub-list for extension extendee
0, // [0:71] is the sub-list for field type_name
58, // 13: greptime.v1.CreateFlowExpr.eval_interval:type_name -> greptime.v1.EvalInterval
50, // 14: greptime.v1.CreateFlowExpr.flow_options:type_name -> greptime.v1.CreateFlowExpr.FlowOptionsEntry
34, // 15: greptime.v1.DropFlowExpr.flow_id:type_name -> greptime.v1.FlowId
56, // 16: greptime.v1.CreateViewExpr.table_names:type_name -> greptime.v1.TableName
33, // 17: greptime.v1.DropViewExpr.view_id:type_name -> greptime.v1.TableId
35, // 18: greptime.v1.CreateTableExpr.column_defs:type_name -> greptime.v1.ColumnDef
51, // 19: greptime.v1.CreateTableExpr.table_options:type_name -> greptime.v1.CreateTableExpr.TableOptionsEntry
33, // 20: greptime.v1.CreateTableExpr.table_id:type_name -> greptime.v1.TableId
21, // 21: greptime.v1.AlterTableExpr.add_columns:type_name -> greptime.v1.AddColumns
24, // 22: greptime.v1.AlterTableExpr.drop_columns:type_name -> greptime.v1.DropColumns
26, // 23: greptime.v1.AlterTableExpr.rename_table:type_name -> greptime.v1.RenameTable
25, // 24: greptime.v1.AlterTableExpr.modify_column_types:type_name -> greptime.v1.ModifyColumnTypes
30, // 25: greptime.v1.AlterTableExpr.set_table_options:type_name -> greptime.v1.SetTableOptions
31, // 26: greptime.v1.AlterTableExpr.unset_table_options:type_name -> greptime.v1.UnsetTableOptions
15, // 27: greptime.v1.AlterTableExpr.set_index:type_name -> greptime.v1.SetIndex
16, // 28: greptime.v1.AlterTableExpr.unset_index:type_name -> greptime.v1.UnsetIndex
22, // 29: greptime.v1.AlterTableExpr.drop_defaults:type_name -> greptime.v1.DropDefaults
12, // 30: greptime.v1.AlterTableExpr.set_indexes:type_name -> greptime.v1.SetIndexes
13, // 31: greptime.v1.AlterTableExpr.unset_indexes:type_name -> greptime.v1.UnsetIndexes
23, // 32: greptime.v1.AlterTableExpr.set_defaults:type_name -> greptime.v1.SetDefaults
15, // 33: greptime.v1.SetIndexes.set_indexes:type_name -> greptime.v1.SetIndex
16, // 34: greptime.v1.UnsetIndexes.unset_indexes:type_name -> greptime.v1.UnsetIndex
37, // 35: greptime.v1.SetIndex.fulltext:type_name -> greptime.v1.SetFulltext
39, // 36: greptime.v1.SetIndex.inverted:type_name -> greptime.v1.SetInverted
41, // 37: greptime.v1.SetIndex.skipping:type_name -> greptime.v1.SetSkipping
38, // 38: greptime.v1.UnsetIndex.fulltext:type_name -> greptime.v1.UnsetFulltext
40, // 39: greptime.v1.UnsetIndex.inverted:type_name -> greptime.v1.UnsetInverted
42, // 40: greptime.v1.UnsetIndex.skipping:type_name -> greptime.v1.UnsetSkipping
33, // 41: greptime.v1.DropTableExpr.table_id:type_name -> greptime.v1.TableId
52, // 42: greptime.v1.CreateDatabaseExpr.options:type_name -> greptime.v1.CreateDatabaseExpr.OptionsEntry
33, // 43: greptime.v1.TruncateTableExpr.table_id:type_name -> greptime.v1.TableId
59, // 44: greptime.v1.TruncateTableExpr.time_ranges:type_name -> greptime.v1.TimeRanges
27, // 45: greptime.v1.AddColumns.add_columns:type_name -> greptime.v1.AddColumn
11, // 46: greptime.v1.DropDefaults.drop_defaults:type_name -> greptime.v1.DropDefault
14, // 47: greptime.v1.SetDefaults.set_defaults:type_name -> greptime.v1.SetDefault
32, // 48: greptime.v1.DropColumns.drop_columns:type_name -> greptime.v1.DropColumn
28, // 49: greptime.v1.ModifyColumnTypes.modify_column_types:type_name -> greptime.v1.ModifyColumnType
35, // 50: greptime.v1.AddColumn.column_def:type_name -> greptime.v1.ColumnDef
36, // 51: greptime.v1.AddColumn.location:type_name -> greptime.v1.AddColumnLocation
60, // 52: greptime.v1.ModifyColumnType.target_type:type_name -> greptime.v1.ColumnDataType
61, // 53: greptime.v1.ModifyColumnType.target_type_extension:type_name -> greptime.v1.ColumnDataTypeExtension
29, // 54: greptime.v1.SetTableOptions.table_options:type_name -> greptime.v1.Option
60, // 55: greptime.v1.ColumnDef.data_type:type_name -> greptime.v1.ColumnDataType
62, // 56: greptime.v1.ColumnDef.semantic_type:type_name -> greptime.v1.SemanticType
61, // 57: greptime.v1.ColumnDef.datatype_extension:type_name -> greptime.v1.ColumnDataTypeExtension
63, // 58: greptime.v1.ColumnDef.options:type_name -> greptime.v1.ColumnOptions
3, // 59: greptime.v1.AddColumnLocation.location_type:type_name -> greptime.v1.AddColumnLocation.LocationType
0, // 60: greptime.v1.SetFulltext.analyzer:type_name -> greptime.v1.Analyzer
1, // 61: greptime.v1.SetFulltext.backend:type_name -> greptime.v1.FulltextBackend
2, // 62: greptime.v1.SetSkipping.skipping_index_type:type_name -> greptime.v1.SkippingIndexType
44, // 63: greptime.v1.AlterDatabaseExpr.set_database_options:type_name -> greptime.v1.SetDatabaseOptions
45, // 64: greptime.v1.AlterDatabaseExpr.unset_database_options:type_name -> greptime.v1.UnsetDatabaseOptions
29, // 65: greptime.v1.SetDatabaseOptions.set_database_options:type_name -> greptime.v1.Option
47, // 66: greptime.v1.CreateTriggerExpr.channels:type_name -> greptime.v1.NotifyChannel
53, // 67: greptime.v1.CreateTriggerExpr.labels:type_name -> greptime.v1.CreateTriggerExpr.LabelsEntry
54, // 68: greptime.v1.CreateTriggerExpr.annotations:type_name -> greptime.v1.CreateTriggerExpr.AnnotationsEntry
64, // 69: greptime.v1.CreateTriggerExpr.interval:type_name -> google.protobuf.Duration
48, // 70: greptime.v1.NotifyChannel.webhook:type_name -> greptime.v1.WebhookOptions
55, // 71: greptime.v1.WebhookOptions.opts:type_name -> greptime.v1.WebhookOptions.OptsEntry
72, // [72:72] is the sub-list for method output_type
72, // [72:72] is the sub-list for method input_type
72, // [72:72] is the sub-list for extension 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() }
+29 -15
View File
@@ -491,6 +491,7 @@ type CreateRequest struct {
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.
ExpireAfter *v1.ExpireAfter `protobuf:"bytes,5,opt,name=expire_after,json=expireAfter,proto3" json:"expire_after,omitempty"`
EvalInterval *v1.EvalInterval `protobuf:"bytes,10,opt,name=eval_interval,json=evalInterval,proto3" json:"eval_interval,omitempty"`
Comment string `protobuf:"bytes,6,opt,name=comment,proto3" json:"comment,omitempty"`
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"`
@@ -565,6 +566,13 @@ func (x *CreateRequest) GetExpireAfter() *v1.ExpireAfter {
return nil
}
func (x *CreateRequest) GetEvalInterval() *v1.EvalInterval {
if x != nil {
return x.EvalInterval
}
return nil
}
func (x *CreateRequest) GetComment() string {
if x != nil {
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,
0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
0x38, 0x01, 0x22, 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,
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,
@@ -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, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x70, 0x69, 0x72, 0x65, 0x41, 0x66,
0x74, 0x65, 0x72, 0x52, 0x0b, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x41, 0x66, 0x74, 0x65, 0x72,
0x12, 0x3e, 0x0a, 0x0d, 0x65, 0x76, 0x61, 0x6c, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61,
0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x76, 0x61, 0x6c, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76,
0x61, 0x6c, 0x52, 0x0c, 0x65, 0x76, 0x61, 0x6c, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c,
0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28,
0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x71,
0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x71, 0x6c, 0x12, 0x53, 0x0a, 0x0c,
@@ -870,6 +882,7 @@ var file_greptime_v1_flow_server_proto_goTypes = []interface{}{
(*v1.TableId)(nil), // 17: greptime.v1.TableId
(*v1.TableName)(nil), // 18: greptime.v1.TableName
(*v1.ExpireAfter)(nil), // 19: greptime.v1.ExpireAfter
(*v1.EvalInterval)(nil), // 20: greptime.v1.EvalInterval
}
var file_greptime_v1_flow_server_proto_depIdxs = []int32{
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
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
12, // 16: greptime.v1.flow.CreateRequest.flow_options:type_name -> greptime.v1.flow.CreateRequest.FlowOptionsEntry
16, // 17: greptime.v1.flow.DropRequest.flow_id:type_name -> greptime.v1.FlowId
16, // 18: greptime.v1.flow.FlushFlow.flow_id:type_name -> greptime.v1.FlowId
5, // 19: greptime.v1.flow.Flow.HandleCreateRemove:input_type -> greptime.v1.flow.FlowRequest
3, // 20: greptime.v1.flow.Flow.HandleMirrorRequest:input_type -> greptime.v1.flow.InsertRequests
0, // 21: greptime.v1.flow.Flow.HandleMarkDirtyTimeWindow:input_type -> greptime.v1.flow.DirtyWindowRequests
6, // 22: greptime.v1.flow.Flow.HandleCreateRemove:output_type -> greptime.v1.flow.FlowResponse
6, // 23: greptime.v1.flow.Flow.HandleMirrorRequest:output_type -> greptime.v1.flow.FlowResponse
6, // 24: greptime.v1.flow.Flow.HandleMarkDirtyTimeWindow:output_type -> greptime.v1.flow.FlowResponse
22, // [22:25] is the sub-list for method output_type
19, // [19:22] is the sub-list for method input_type
19, // [19:19] is the sub-list for extension type_name
19, // [19:19] is the sub-list for extension extendee
0, // [0:19] is the sub-list for field type_name
20, // 16: greptime.v1.flow.CreateRequest.eval_interval:type_name -> greptime.v1.EvalInterval
12, // 17: greptime.v1.flow.CreateRequest.flow_options:type_name -> greptime.v1.flow.CreateRequest.FlowOptionsEntry
16, // 18: greptime.v1.flow.DropRequest.flow_id:type_name -> greptime.v1.FlowId
16, // 19: greptime.v1.flow.FlushFlow.flow_id:type_name -> greptime.v1.FlowId
5, // 20: greptime.v1.flow.Flow.HandleCreateRemove:input_type -> greptime.v1.flow.FlowRequest
3, // 21: greptime.v1.flow.Flow.HandleMirrorRequest:input_type -> greptime.v1.flow.InsertRequests
0, // 22: greptime.v1.flow.Flow.HandleMarkDirtyTimeWindow:input_type -> greptime.v1.flow.DirtyWindowRequests
6, // 23: greptime.v1.flow.Flow.HandleCreateRemove:output_type -> greptime.v1.flow.FlowResponse
6, // 24: greptime.v1.flow.Flow.HandleMirrorRequest:output_type -> greptime.v1.flow.FlowResponse
6, // 25: greptime.v1.flow.Flow.HandleMarkDirtyTimeWindow:output_type -> greptime.v1.flow.FlowResponse
23, // [23:26] is the sub-list for method output_type
20, // [20:23] is the sub-list for method input_type
20, // [20:20] is the sub-list for extension type_name
20, // [20:20] is the sub-list for extension extendee
0, // [0:20] is the sub-list for field type_name
}
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
// @@protoc_insertion_point(interface_extends:greptime.v1.FlightMetadata)
com.google.protobuf.MessageOrBuilder {
@@ -19324,6 +19823,11 @@ java.lang.String defaultValue);
private static final
com.google.protobuf.GeneratedMessageV3.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
internal_static_greptime_v1_FlightMetadata_descriptor;
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" +
"\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" +
"\022\r\n\005value\030\001 \001(\003\"i\n\016FlightMetadata\0220\n\raff" +
"ected_rows\030\001 \001(\0132\031.greptime.v1.AffectedR" +
"ows\022%\n\007metrics\030\002 \001(\0132\024.greptime.v1.Metri" +
"cs\"I\n\024IntervalMonthDayNano\022\016\n\006months\030\001 \001" +
"(\005\022\014\n\004days\030\002 \001(\005\022\023\n\013nanoseconds\030\003 \001(\003\"\'\n" +
"\tTimeRange\022\r\n\005start\030\001 \001(\003\022\013\n\003end\030\002 \001(\003\"c" +
"\n\nTimeRanges\022(\n\ttime_unit\030\001 \001(\0162\025.grepti" +
"me.v1.TimeUnit\022+\n\013time_ranges\030\002 \003(\0132\026.gr" +
"eptime.v1.TimeRange\"$\n\nDecimal128\022\n\n\002hi\030" +
"\001 \001(\003\022\n\n\002lo\030\002 \001(\003\"\316\001\n\027ColumnDataTypeExte" +
"nsion\0229\n\014decimal_type\030\001 \001(\0132!.greptime.v" +
"1.DecimalTypeExtensionH\000\0223\n\tjson_type\030\002 " +
"\001(\0162\036.greptime.v1.JsonTypeExtensionH\000\0227\n" +
"\013vector_type\030\003 \001(\0132 .greptime.v1.VectorT" +
"ypeExtensionH\000B\n\n\010type_ext\"8\n\024DecimalTyp" +
"eExtension\022\021\n\tprecision\030\001 \001(\005\022\r\n\005scale\030\002" +
" \001(\005\"\"\n\023VectorTypeExtension\022\013\n\003dim\030\001 \001(\r" +
"\"y\n\rColumnOptions\0228\n\007options\030\001 \003(\0132\'.gre" +
"ptime.v1.ColumnOptions.OptionsEntry\032.\n\014O" +
"ptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" +
"\0028\001\"@\n\010ArrowIpc\022\016\n\006schema\030\001 \001(\014\022\023\n\013data_" +
"header\030\002 \001(\014\022\017\n\007payload\030\003 \001(\014*1\n\014Semanti" +
"cType\022\007\n\003TAG\020\000\022\t\n\005FIELD\020\001\022\r\n\tTIMESTAMP\020\002" +
"*\354\003\n\016ColumnDataType\022\013\n\007BOOLEAN\020\000\022\010\n\004INT8" +
"\020\001\022\t\n\005INT16\020\002\022\t\n\005INT32\020\003\022\t\n\005INT64\020\004\022\t\n\005U" +
"INT8\020\005\022\n\n\006UINT16\020\006\022\n\n\006UINT32\020\007\022\n\n\006UINT64" +
"\020\010\022\013\n\007FLOAT32\020\t\022\013\n\007FLOAT64\020\n\022\n\n\006BINARY\020\013" +
"\022\n\n\006STRING\020\014\022\010\n\004DATE\020\r\022\014\n\010DATETIME\020\016\022\024\n\020" +
"TIMESTAMP_SECOND\020\017\022\031\n\025TIMESTAMP_MILLISEC" +
"OND\020\020\022\031\n\025TIMESTAMP_MICROSECOND\020\021\022\030\n\024TIME" +
"STAMP_NANOSECOND\020\022\022\017\n\013TIME_SECOND\020\023\022\024\n\020T" +
"IME_MILLISECOND\020\024\022\024\n\020TIME_MICROSECOND\020\025\022" +
"\023\n\017TIME_NANOSECOND\020\026\022\027\n\023INTERVAL_YEAR_MO" +
"NTH\020\027\022\025\n\021INTERVAL_DAY_TIME\020\030\022\033\n\027INTERVAL" +
"_MONTH_DAY_NANO\020\031\022\016\n\nDECIMAL128\020\036\022\010\n\004JSO" +
"N\020\037\022\n\n\006VECTOR\020 *H\n\010TimeUnit\022\017\n\013MILLISECO" +
"ND\020\000\022\n\n\006SECOND\020\001\022\017\n\013MICROSECOND\020\002\022\016\n\nNAN" +
"OSECOND\020\003*$\n\021JsonTypeExtension\022\017\n\013JSON_B" +
"INARY\020\000BO\n\016io.greptime.v1B\006CommonZ5githu" +
"b.com/GreptimeTeam/greptime-proto/go/gre" +
"ptime/v1b\006proto3"
"\022\r\n\005value\030\001 \001(\003\"\037\n\014EvalInterval\022\017\n\007secon" +
"ds\030\001 \001(\003\"i\n\016FlightMetadata\0220\n\raffected_r" +
"ows\030\001 \001(\0132\031.greptime.v1.AffectedRows\022%\n\007" +
"metrics\030\002 \001(\0132\024.greptime.v1.Metrics\"I\n\024I" +
"ntervalMonthDayNano\022\016\n\006months\030\001 \001(\005\022\014\n\004d" +
"ays\030\002 \001(\005\022\023\n\013nanoseconds\030\003 \001(\003\"\'\n\tTimeRa" +
"nge\022\r\n\005start\030\001 \001(\003\022\013\n\003end\030\002 \001(\003\"c\n\nTimeR" +
"anges\022(\n\ttime_unit\030\001 \001(\0162\025.greptime.v1.T" +
"imeUnit\022+\n\013time_ranges\030\002 \003(\0132\026.greptime." +
"v1.TimeRange\"$\n\nDecimal128\022\n\n\002hi\030\001 \001(\003\022\n" +
"\n\002lo\030\002 \001(\003\"\316\001\n\027ColumnDataTypeExtension\0229" +
"\n\014decimal_type\030\001 \001(\0132!.greptime.v1.Decim" +
"alTypeExtensionH\000\0223\n\tjson_type\030\002 \001(\0162\036.g" +
"reptime.v1.JsonTypeExtensionH\000\0227\n\013vector" +
"_type\030\003 \001(\0132 .greptime.v1.VectorTypeExte" +
"nsionH\000B\n\n\010type_ext\"8\n\024DecimalTypeExtens" +
"ion\022\021\n\tprecision\030\001 \001(\005\022\r\n\005scale\030\002 \001(\005\"\"\n" +
"\023VectorTypeExtension\022\013\n\003dim\030\001 \001(\r\"y\n\rCol" +
"umnOptions\0228\n\007options\030\001 \003(\0132\'.greptime.v" +
"1.ColumnOptions.OptionsEntry\032.\n\014OptionsE" +
"ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"@\n\010" +
"ArrowIpc\022\016\n\006schema\030\001 \001(\014\022\023\n\013data_header\030" +
"\002 \001(\014\022\017\n\007payload\030\003 \001(\014*1\n\014SemanticType\022\007" +
"\n\003TAG\020\000\022\t\n\005FIELD\020\001\022\r\n\tTIMESTAMP\020\002*\354\003\n\016Co" +
"lumnDataType\022\013\n\007BOOLEAN\020\000\022\010\n\004INT8\020\001\022\t\n\005I" +
"NT16\020\002\022\t\n\005INT32\020\003\022\t\n\005INT64\020\004\022\t\n\005UINT8\020\005\022" +
"\n\n\006UINT16\020\006\022\n\n\006UINT32\020\007\022\n\n\006UINT64\020\010\022\013\n\007F" +
"LOAT32\020\t\022\013\n\007FLOAT64\020\n\022\n\n\006BINARY\020\013\022\n\n\006STR" +
"ING\020\014\022\010\n\004DATE\020\r\022\014\n\010DATETIME\020\016\022\024\n\020TIMESTA" +
"MP_SECOND\020\017\022\031\n\025TIMESTAMP_MILLISECOND\020\020\022\031" +
"\n\025TIMESTAMP_MICROSECOND\020\021\022\030\n\024TIMESTAMP_N" +
"ANOSECOND\020\022\022\017\n\013TIME_SECOND\020\023\022\024\n\020TIME_MIL" +
"LISECOND\020\024\022\024\n\020TIME_MICROSECOND\020\025\022\023\n\017TIME" +
"_NANOSECOND\020\026\022\027\n\023INTERVAL_YEAR_MONTH\020\027\022\025" +
"\n\021INTERVAL_DAY_TIME\020\030\022\033\n\027INTERVAL_MONTH_" +
"DAY_NANO\020\031\022\016\n\nDECIMAL128\020\036\022\010\n\004JSON\020\037\022\n\n\006" +
"VECTOR\020 *H\n\010TimeUnit\022\017\n\013MILLISECOND\020\000\022\n\n" +
"\006SECOND\020\001\022\017\n\013MICROSECOND\020\002\022\016\n\nNANOSECOND" +
"\020\003*$\n\021JsonTypeExtension\022\017\n\013JSON_BINARY\020\000" +
"BO\n\016io.greptime.v1B\006CommonZ5github.com/G" +
"reptimeTeam/greptime-proto/go/greptime/v" +
"1b\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
@@ -19570,56 +20075,62 @@ java.lang.String defaultValue);
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_greptime_v1_ExpireAfter_descriptor,
new java.lang.String[] { "Value", });
internal_static_greptime_v1_FlightMetadata_descriptor =
internal_static_greptime_v1_EvalInterval_descriptor =
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
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_greptime_v1_FlightMetadata_descriptor,
new java.lang.String[] { "AffectedRows", "Metrics", });
internal_static_greptime_v1_IntervalMonthDayNano_descriptor =
getDescriptor().getMessageTypes().get(14);
getDescriptor().getMessageTypes().get(15);
internal_static_greptime_v1_IntervalMonthDayNano_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_greptime_v1_IntervalMonthDayNano_descriptor,
new java.lang.String[] { "Months", "Days", "Nanoseconds", });
internal_static_greptime_v1_TimeRange_descriptor =
getDescriptor().getMessageTypes().get(15);
getDescriptor().getMessageTypes().get(16);
internal_static_greptime_v1_TimeRange_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_greptime_v1_TimeRange_descriptor,
new java.lang.String[] { "Start", "End", });
internal_static_greptime_v1_TimeRanges_descriptor =
getDescriptor().getMessageTypes().get(16);
getDescriptor().getMessageTypes().get(17);
internal_static_greptime_v1_TimeRanges_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_greptime_v1_TimeRanges_descriptor,
new java.lang.String[] { "TimeUnit", "TimeRanges", });
internal_static_greptime_v1_Decimal128_descriptor =
getDescriptor().getMessageTypes().get(17);
getDescriptor().getMessageTypes().get(18);
internal_static_greptime_v1_Decimal128_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_greptime_v1_Decimal128_descriptor,
new java.lang.String[] { "Hi", "Lo", });
internal_static_greptime_v1_ColumnDataTypeExtension_descriptor =
getDescriptor().getMessageTypes().get(18);
getDescriptor().getMessageTypes().get(19);
internal_static_greptime_v1_ColumnDataTypeExtension_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_greptime_v1_ColumnDataTypeExtension_descriptor,
new java.lang.String[] { "DecimalType", "JsonType", "VectorType", "TypeExt", });
internal_static_greptime_v1_DecimalTypeExtension_descriptor =
getDescriptor().getMessageTypes().get(19);
getDescriptor().getMessageTypes().get(20);
internal_static_greptime_v1_DecimalTypeExtension_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_greptime_v1_DecimalTypeExtension_descriptor,
new java.lang.String[] { "Precision", "Scale", });
internal_static_greptime_v1_VectorTypeExtension_descriptor =
getDescriptor().getMessageTypes().get(20);
getDescriptor().getMessageTypes().get(21);
internal_static_greptime_v1_VectorTypeExtension_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_greptime_v1_VectorTypeExtension_descriptor,
new java.lang.String[] { "Dim", });
internal_static_greptime_v1_ColumnOptions_descriptor =
getDescriptor().getMessageTypes().get(21);
getDescriptor().getMessageTypes().get(22);
internal_static_greptime_v1_ColumnOptions_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_greptime_v1_ColumnOptions_descriptor,
@@ -19631,7 +20142,7 @@ java.lang.String defaultValue);
internal_static_greptime_v1_ColumnOptions_OptionsEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_greptime_v1_ArrowIpc_descriptor =
getDescriptor().getMessageTypes().get(22);
getDescriptor().getMessageTypes().get(23);
internal_static_greptime_v1_ArrowIpc_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_greptime_v1_ArrowIpc_descriptor,
+360 -156
View File
@@ -3240,6 +3240,21 @@ public final class Ddl {
*/
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>
* @return The comment.
@@ -3437,6 +3452,19 @@ java.lang.String defaultValue);
flowOptions__.getKey(), flowOptions__.getValue());
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: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
@@ -3688,6 +3716,32 @@ java.lang.String defaultValue);
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;
private volatile java.lang.Object comment_;
/**
@@ -3892,6 +3946,9 @@ java.lang.String defaultValue);
internalGetFlowOptions(),
FlowOptionsDefaultEntryHolder.defaultEntry,
10);
if (evalInterval_ != null) {
output.writeMessage(11, getEvalInterval());
}
unknownFields.writeTo(output);
}
@@ -3943,6 +4000,10 @@ java.lang.String defaultValue);
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, flowOptions__);
}
if (evalInterval_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, getEvalInterval());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -3978,6 +4039,11 @@ java.lang.String defaultValue);
if (!getExpireAfter()
.equals(other.getExpireAfter())) return false;
}
if (hasEvalInterval() != other.hasEvalInterval()) return false;
if (hasEvalInterval()) {
if (!getEvalInterval()
.equals(other.getEvalInterval())) return false;
}
if (!getComment()
.equals(other.getComment())) return false;
if (!getSql()
@@ -4017,6 +4083,10 @@ java.lang.String defaultValue);
hash = (37 * hash) + EXPIRE_AFTER_FIELD_NUMBER;
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 = (53 * hash) + getComment().hashCode();
hash = (37 * hash) + SQL_FIELD_NUMBER;
@@ -4211,6 +4281,12 @@ java.lang.String defaultValue);
expireAfter_ = null;
expireAfterBuilder_ = null;
}
if (evalIntervalBuilder_ == null) {
evalInterval_ = null;
} else {
evalInterval_ = null;
evalIntervalBuilder_ = null;
}
comment_ = "";
sql_ = "";
@@ -4266,6 +4342,11 @@ java.lang.String defaultValue);
} else {
result.expireAfter_ = expireAfterBuilder_.build();
}
if (evalIntervalBuilder_ == null) {
result.evalInterval_ = evalInterval_;
} else {
result.evalInterval_ = evalIntervalBuilder_.build();
}
result.comment_ = comment_;
result.sql_ = sql_;
result.flowOptions_ = internalGetFlowOptions();
@@ -4364,6 +4445,9 @@ java.lang.String defaultValue);
if (other.hasExpireAfter()) {
mergeExpireAfter(other.getExpireAfter());
}
if (other.hasEvalInterval()) {
mergeEvalInterval(other.getEvalInterval());
}
if (!other.getComment().isEmpty()) {
comment_ = other.comment_;
onChanged();
@@ -5132,6 +5216,125 @@ java.lang.String defaultValue);
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_ = "";
/**
* <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" +
"ptime.v1.DropViewExprH\000\0228\n\016alter_databas" +
"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_" +
"table_names\030\003 \003(\0132\026.greptime.v1.TableNam" +
"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" +
"_if_not_exists\030\006 \001(\010\022.\n\014expire_after\030\007 \001" +
"(\0132\030.greptime.v1.ExpireAfter\022\017\n\007comment\030" +
"\010 \001(\t\022\013\n\003sql\030\t \001(\t\022B\n\014flow_options\030\n \003(\013" +
"2,.greptime.v1.CreateFlowExpr.FlowOption" +
"sEntry\0322\n\020FlowOptionsEntry\022\013\n\003key\030\001 \001(\t\022" +
"\r\n\005value\030\002 \001(\t:\0028\001\"u\n\014DropFlowExpr\022\024\n\014ca" +
"talog_name\030\001 \001(\t\022\021\n\tflow_name\030\002 \001(\t\022$\n\007f" +
"low_id\030\003 \001(\0132\023.greptime.v1.FlowId\022\026\n\016dro" +
"p_if_exists\030\005 \001(\010\"\376\001\n\016CreateViewExpr\022\024\n\014" +
"catalog_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022" +
"\021\n\tview_name\030\003 \001(\t\022\024\n\014logical_plan\030\004 \001(\014" +
"\022\034\n\024create_if_not_exists\030\005 \001(\010\022\022\n\nor_rep" +
"lace\030\006 \001(\010\022+\n\013table_names\030\007 \003(\0132\026.grepti" +
"me.v1.TableName\022\017\n\007columns\030\010 \003(\t\022\024\n\014plan" +
"_columns\030\t \003(\t\022\022\n\ndefinition\030\n \001(\t\"\213\001\n\014D" +
"ropViewExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013sch" +
"ema_name\030\002 \001(\t\022\021\n\tview_name\030\003 \001(\t\022%\n\007vie" +
"w_id\030\004 \001(\0132\024.greptime.v1.TableId\022\026\n\016drop" +
"_if_exists\030\005 \001(\010\"\207\003\n\017CreateTableExpr\022\024\n\014" +
"catalog_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022" +
"\022\n\ntable_name\030\003 \001(\t\022\014\n\004desc\030\004 \001(\t\022+\n\013col" +
"umn_defs\030\005 \003(\0132\026.greptime.v1.ColumnDef\022\022" +
"\n\ntime_index\030\006 \001(\t\022\024\n\014primary_keys\030\007 \003(\t" +
"\022\034\n\024create_if_not_exists\030\010 \001(\010\022E\n\rtable_" +
"options\030\t \003(\0132..greptime.v1.CreateTableE" +
"xpr.TableOptionsEntry\022&\n\010table_id\030\n \001(\0132" +
"\024.greptime.v1.TableId\022\016\n\006engine\030\014 \001(\t\0323\n" +
"\021TableOptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value" +
"\030\002 \001(\t:\0028\001\"\312\005\n\016AlterTableExpr\022\024\n\014catalog" +
"_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\022\n\ntabl" +
"e_name\030\003 \001(\t\022.\n\013add_columns\030\004 \001(\0132\027.grep" +
"time.v1.AddColumnsH\000\0220\n\014drop_columns\030\005 \001" +
"(\0132\030.greptime.v1.DropColumnsH\000\0220\n\014rename" +
"_table\030\006 \001(\0132\030.greptime.v1.RenameTableH\000" +
"\022=\n\023modify_column_types\030\007 \001(\0132\036.greptime" +
".v1.ModifyColumnTypesH\000\0229\n\021set_table_opt" +
"ions\030\010 \001(\0132\034.greptime.v1.SetTableOptions" +
"H\000\022=\n\023unset_table_options\030\013 \001(\0132\036.grepti" +
"me.v1.UnsetTableOptionsH\000\022*\n\tset_index\030\014" +
" \001(\0132\025.greptime.v1.SetIndexH\000\022.\n\013unset_i" +
"ndex\030\r \001(\0132\027.greptime.v1.UnsetIndexH\000\0222\n" +
"\rdrop_defaults\030\016 \001(\0132\031.greptime.v1.DropD" +
"efaultsH\000\022.\n\013set_indexes\030\017 \001(\0132\027.greptim" +
"e.v1.SetIndexesH\000\0222\n\runset_indexes\030\020 \001(\013" +
"2\031.greptime.v1.UnsetIndexesH\000\0220\n\014set_def" +
"aults\030\021 \001(\0132\030.greptime.v1.SetDefaultsH\000B" +
"\006\n\004kind\"\"\n\013DropDefault\022\023\n\013column_name\030\001 " +
"\001(\t\"8\n\nSetIndexes\022*\n\013set_indexes\030\001 \003(\0132\025" +
".greptime.v1.SetIndex\">\n\014UnsetIndexes\022.\n" +
"\runset_indexes\030\001 \003(\0132\027.greptime.v1.Unset" +
"Index\"=\n\nSetDefault\022\023\n\013column_name\030\001 \001(\t" +
"\022\032\n\022default_constraint\030\002 \001(\014\"\237\001\n\010SetInde" +
"x\022,\n\010fulltext\030\001 \001(\0132\030.greptime.v1.SetFul" +
"ltextH\000\022,\n\010inverted\030\002 \001(\0132\030.greptime.v1." +
"SetInvertedH\000\022,\n\010skipping\030\003 \001(\0132\030.grepti" +
"me.v1.SetSkippingH\000B\t\n\007options\"\247\001\n\nUnset" +
"Index\022.\n\010fulltext\030\001 \001(\0132\032.greptime.v1.Un" +
"setFulltextH\000\022.\n\010inverted\030\002 \001(\0132\032.grepti" +
"me.v1.UnsetInvertedH\000\022.\n\010skipping\030\003 \001(\0132" +
"\032.greptime.v1.UnsetSkippingH\000B\t\n\007options" +
"\"\216\001\n\rDropTableExpr\022\024\n\014catalog_name\030\001 \001(\t" +
"\022\023\n\013schema_name\030\002 \001(\t\022\022\n\ntable_name\030\003 \001(" +
"\t\022&\n\010table_id\030\004 \001(\0132\024.greptime.v1.TableI" +
"d\022\026\n\016drop_if_exists\030\005 \001(\010\"\314\001\n\022CreateData" +
"baseExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema" +
"_name\030\002 \001(\t\022\034\n\024create_if_not_exists\030\003 \001(" +
"\010\022=\n\007options\030\004 \003(\0132,.greptime.v1.CreateD" +
"atabaseExpr.OptionsEntry\032.\n\014OptionsEntry" +
"\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\250\001\n\021Tru" +
"ncateTableExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013" +
"schema_name\030\002 \001(\t\022\022\n\ntable_name\030\003 \001(\t\022&\n" +
"\010table_id\030\004 \001(\0132\024.greptime.v1.TableId\022,\n" +
"\013time_ranges\030\005 \001(\0132\027.greptime.v1.TimeRan" +
"ges\"U\n\020DropDatabaseExpr\022\024\n\014catalog_name\030" +
"\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\026\n\016drop_if_ex" +
"ists\030\003 \001(\010\"9\n\nAddColumns\022+\n\013add_columns\030" +
"\001 \003(\0132\026.greptime.v1.AddColumn\"?\n\014DropDef" +
"aults\022/\n\rdrop_defaults\030\001 \003(\0132\030.greptime." +
"v1.DropDefault\"<\n\013SetDefaults\022-\n\014set_def" +
"aults\030\001 \003(\0132\027.greptime.v1.SetDefault\"<\n\013" +
"DropColumns\022-\n\014drop_columns\030\001 \003(\0132\027.grep" +
"time.v1.DropColumn\"O\n\021ModifyColumnTypes\022" +
":\n\023modify_column_types\030\001 \003(\0132\035.greptime." +
"v1.ModifyColumnType\"%\n\013RenameTable\022\026\n\016ne" +
"w_table_name\030\001 \001(\t\"\204\001\n\tAddColumn\022*\n\ncolu" +
"mn_def\030\001 \001(\0132\026.greptime.v1.ColumnDef\0220\n\010" +
"location\030\003 \001(\0132\036.greptime.v1.AddColumnLo" +
"cation\022\031\n\021add_if_not_exists\030\004 \001(\010\"\236\001\n\020Mo" +
"difyColumnType\022\023\n\013column_name\030\001 \001(\t\0220\n\013t" +
"arget_type\030\002 \001(\0162\033.greptime.v1.ColumnDat" +
"aType\022C\n\025target_type_extension\030\003 \001(\0132$.g" +
"reptime.v1.ColumnDataTypeExtension\"$\n\006Op" +
"tion\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"=\n\017SetT" +
"ableOptions\022*\n\rtable_options\030\001 \003(\0132\023.gre" +
"ptime.v1.Option\"!\n\021UnsetTableOptions\022\014\n\004" +
"keys\030\001 \003(\t\"\032\n\nDropColumn\022\014\n\004name\030\001 \001(\t\"\025" +
"\n\007TableId\022\n\n\002id\030\001 \001(\r\"\024\n\006FlowId\022\n\n\002id\030\001 " +
"\001(\r\"\254\002\n\tColumnDef\022\014\n\004name\030\001 \001(\t\022.\n\tdata_" +
"type\030\002 \001(\0162\033.greptime.v1.ColumnDataType\022" +
"\023\n\013is_nullable\030\003 \001(\010\022\032\n\022default_constrai" +
"nt\030\004 \001(\014\0220\n\rsemantic_type\030\005 \001(\0162\031.grepti" +
"me.v1.SemanticType\022\017\n\007comment\030\006 \001(\t\022@\n\022d" +
"atatype_extension\030\007 \001(\0132$.greptime.v1.Co" +
"lumnDataTypeExtension\022+\n\007options\030\010 \001(\0132\032" +
".greptime.v1.ColumnOptions\"\230\001\n\021AddColumn" +
"Location\022B\n\rlocation_type\030\001 \001(\0162+.grepti" +
"me.v1.AddColumnLocation.LocationType\022\031\n\021" +
"after_column_name\030\002 \001(\t\"$\n\014LocationType\022" +
"\t\n\005FIRST\020\000\022\t\n\005AFTER\020\001\"\324\001\n\013SetFulltext\022\023\n" +
"\013column_name\030\001 \001(\t\022\016\n\006enable\030\002 \001(\010\022\'\n\010an" +
"alyzer\030\003 \001(\0162\025.greptime.v1.Analyzer\022\026\n\016c" +
"ase_sensitive\030\004 \001(\010\022-\n\007backend\030\005 \001(\0162\034.g" +
"reptime.v1.FulltextBackend\022\023\n\013granularit" +
"y\030\006 \001(\004\022\033\n\023false_positive_rate\030\007 \001(\001\"$\n\r" +
"UnsetFulltext\022\023\n\013column_name\030\001 \001(\t\"\"\n\013Se" +
"tInverted\022\023\n\013column_name\030\001 \001(\t\"$\n\rUnsetI" +
"nverted\022\023\n\013column_name\030\001 \001(\t\"\241\001\n\013SetSkip" +
"ping\022\023\n\013column_name\030\001 \001(\t\022\016\n\006enable\030\002 \001(" +
"\010\022\023\n\013granularity\030\003 \001(\004\022;\n\023skipping_index" +
"_type\030\004 \001(\0162\036.greptime.v1.SkippingIndexT" +
"ype\022\033\n\023false_positive_rate\030\005 \001(\001\"$\n\rUnse" +
"tSkipping\022\023\n\013column_name\030\001 \001(\t\"\314\001\n\021Alter" +
"DatabaseExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013sc" +
"hema_name\030\002 \001(\t\022?\n\024set_database_options\030" +
"\003 \001(\0132\037.greptime.v1.SetDatabaseOptionsH\000" +
"\022C\n\026unset_database_options\030\004 \001(\0132!.grept" +
"ime.v1.UnsetDatabaseOptionsH\000B\006\n\004kind\"G\n" +
"\022SetDatabaseOptions\0221\n\024set_database_opti" +
"ons\030\001 \003(\0132\023.greptime.v1.Option\"$\n\024UnsetD" +
"atabaseOptions\022\014\n\004keys\030\001 \003(\t\"\305\003\n\021CreateT" +
"riggerExpr\022\024\n\014catalog_name\030\001 \001(\t\022\024\n\014trig" +
"ger_name\030\002 \001(\t\022\034\n\024create_if_not_exists\030\003" +
" \001(\010\022\013\n\003sql\030\004 \001(\t\022,\n\010channels\030\005 \003(\0132\032.gr" +
"eptime.v1.NotifyChannel\022:\n\006labels\030\006 \003(\0132" +
"*.greptime.v1.CreateTriggerExpr.LabelsEn" +
"try\022D\n\013annotations\030\007 \003(\0132/.greptime.v1.C" +
"reateTriggerExpr.AnnotationsEntry\022+\n\010int" +
"erval\030\010 \001(\0132\031.google.protobuf.Duration\022\031" +
"\n\021raw_interval_expr\030\t \001(\t\032-\n\013LabelsEntry" +
"\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\0322\n\020Anno" +
"tationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t" +
":\0028\001\"]\n\rNotifyChannel\022\014\n\004name\030\001 \001(\t\022.\n\007w" +
"ebhook\030\002 \001(\0132\033.greptime.v1.WebhookOption" +
"sH\000B\016\n\014channel_type\"\177\n\016WebhookOptions\022\013\n" +
"\003url\030\001 \001(\t\0223\n\004opts\030\002 \003(\0132%.greptime.v1.W" +
"ebhookOptions.OptsEntry\032+\n\tOptsEntry\022\013\n\003" +
"key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"U\n\017DropTrig" +
"gerExpr\022\024\n\014catalog_name\030\001 \001(\t\022\024\n\014trigger" +
"_name\030\002 \001(\t\022\026\n\016drop_if_exists\030\003 \001(\010*$\n\010A" +
"nalyzer\022\013\n\007ENGLISH\020\000\022\013\n\007CHINESE\020\001*)\n\017Ful" +
"ltextBackend\022\013\n\007TANTIVY\020\000\022\t\n\005BLOOM\020\001*%\n\021" +
"SkippingIndexType\022\020\n\014BLOOM_FILTER\020\000BL\n\016i" +
"o.greptime.v1B\003DdlZ5github.com/GreptimeT" +
"eam/greptime-proto/go/greptime/v1b\006proto" +
"3"
"(\0132\030.greptime.v1.ExpireAfter\0220\n\reval_int" +
"erval\030\013 \001(\0132\031.greptime.v1.EvalInterval\022\017" +
"\n\007comment\030\010 \001(\t\022\013\n\003sql\030\t \001(\t\022B\n\014flow_opt" +
"ions\030\n \003(\0132,.greptime.v1.CreateFlowExpr." +
"FlowOptionsEntry\0322\n\020FlowOptionsEntry\022\013\n\003" +
"key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"u\n\014DropFlow" +
"Expr\022\024\n\014catalog_name\030\001 \001(\t\022\021\n\tflow_name\030" +
"\002 \001(\t\022$\n\007flow_id\030\003 \001(\0132\023.greptime.v1.Flo" +
"wId\022\026\n\016drop_if_exists\030\005 \001(\010\"\376\001\n\016CreateVi" +
"ewExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_n" +
"ame\030\002 \001(\t\022\021\n\tview_name\030\003 \001(\t\022\024\n\014logical_" +
"plan\030\004 \001(\014\022\034\n\024create_if_not_exists\030\005 \001(\010" +
"\022\022\n\nor_replace\030\006 \001(\010\022+\n\013table_names\030\007 \003(" +
"\0132\026.greptime.v1.TableName\022\017\n\007columns\030\010 \003" +
"(\t\022\024\n\014plan_columns\030\t \003(\t\022\022\n\ndefinition\030\n" +
" \001(\t\"\213\001\n\014DropViewExpr\022\024\n\014catalog_name\030\001 " +
"\001(\t\022\023\n\013schema_name\030\002 \001(\t\022\021\n\tview_name\030\003 " +
"\001(\t\022%\n\007view_id\030\004 \001(\0132\024.greptime.v1.Table" +
"Id\022\026\n\016drop_if_exists\030\005 \001(\010\"\207\003\n\017CreateTab" +
"leExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_n" +
"ame\030\002 \001(\t\022\022\n\ntable_name\030\003 \001(\t\022\014\n\004desc\030\004 " +
"\001(\t\022+\n\013column_defs\030\005 \003(\0132\026.greptime.v1.C" +
"olumnDef\022\022\n\ntime_index\030\006 \001(\t\022\024\n\014primary_" +
"keys\030\007 \003(\t\022\034\n\024create_if_not_exists\030\010 \001(\010" +
"\022E\n\rtable_options\030\t \003(\0132..greptime.v1.Cr" +
"eateTableExpr.TableOptionsEntry\022&\n\010table" +
"_id\030\n \001(\0132\024.greptime.v1.TableId\022\016\n\006engin" +
"e\030\014 \001(\t\0323\n\021TableOptionsEntry\022\013\n\003key\030\001 \001(" +
"\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\312\005\n\016AlterTableExpr\022" +
"\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001" +
"(\t\022\022\n\ntable_name\030\003 \001(\t\022.\n\013add_columns\030\004 " +
"\001(\0132\027.greptime.v1.AddColumnsH\000\0220\n\014drop_c" +
"olumns\030\005 \001(\0132\030.greptime.v1.DropColumnsH\000" +
"\0220\n\014rename_table\030\006 \001(\0132\030.greptime.v1.Ren" +
"ameTableH\000\022=\n\023modify_column_types\030\007 \001(\0132" +
"\036.greptime.v1.ModifyColumnTypesH\000\0229\n\021set" +
"_table_options\030\010 \001(\0132\034.greptime.v1.SetTa" +
"bleOptionsH\000\022=\n\023unset_table_options\030\013 \001(" +
"\0132\036.greptime.v1.UnsetTableOptionsH\000\022*\n\ts" +
"et_index\030\014 \001(\0132\025.greptime.v1.SetIndexH\000\022" +
".\n\013unset_index\030\r \001(\0132\027.greptime.v1.Unset" +
"IndexH\000\0222\n\rdrop_defaults\030\016 \001(\0132\031.greptim" +
"e.v1.DropDefaultsH\000\022.\n\013set_indexes\030\017 \001(\013" +
"2\027.greptime.v1.SetIndexesH\000\0222\n\runset_ind" +
"exes\030\020 \001(\0132\031.greptime.v1.UnsetIndexesH\000\022" +
"0\n\014set_defaults\030\021 \001(\0132\030.greptime.v1.SetD" +
"efaultsH\000B\006\n\004kind\"\"\n\013DropDefault\022\023\n\013colu" +
"mn_name\030\001 \001(\t\"8\n\nSetIndexes\022*\n\013set_index" +
"es\030\001 \003(\0132\025.greptime.v1.SetIndex\">\n\014Unset" +
"Indexes\022.\n\runset_indexes\030\001 \003(\0132\027.greptim" +
"e.v1.UnsetIndex\"=\n\nSetDefault\022\023\n\013column_" +
"name\030\001 \001(\t\022\032\n\022default_constraint\030\002 \001(\014\"\237" +
"\001\n\010SetIndex\022,\n\010fulltext\030\001 \001(\0132\030.greptime" +
".v1.SetFulltextH\000\022,\n\010inverted\030\002 \001(\0132\030.gr" +
"eptime.v1.SetInvertedH\000\022,\n\010skipping\030\003 \001(" +
"\0132\030.greptime.v1.SetSkippingH\000B\t\n\007options" +
"\"\247\001\n\nUnsetIndex\022.\n\010fulltext\030\001 \001(\0132\032.grep" +
"time.v1.UnsetFulltextH\000\022.\n\010inverted\030\002 \001(" +
"\0132\032.greptime.v1.UnsetInvertedH\000\022.\n\010skipp" +
"ing\030\003 \001(\0132\032.greptime.v1.UnsetSkippingH\000B" +
"\t\n\007options\"\216\001\n\rDropTableExpr\022\024\n\014catalog_" +
"name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\022\n\ntable" +
"_name\030\003 \001(\t\022&\n\010table_id\030\004 \001(\0132\024.greptime" +
".v1.TableId\022\026\n\016drop_if_exists\030\005 \001(\010\"\314\001\n\022" +
"CreateDatabaseExpr\022\024\n\014catalog_name\030\001 \001(\t" +
"\022\023\n\013schema_name\030\002 \001(\t\022\034\n\024create_if_not_e" +
"xists\030\003 \001(\010\022=\n\007options\030\004 \003(\0132,.greptime." +
"v1.CreateDatabaseExpr.OptionsEntry\032.\n\014Op" +
"tionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" +
"8\001\"\250\001\n\021TruncateTableExpr\022\024\n\014catalog_name" +
"\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\022\n\ntable_nam" +
"e\030\003 \001(\t\022&\n\010table_id\030\004 \001(\0132\024.greptime.v1." +
"TableId\022,\n\013time_ranges\030\005 \001(\0132\027.greptime." +
"v1.TimeRanges\"U\n\020DropDatabaseExpr\022\024\n\014cat" +
"alog_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\026\n\016" +
"drop_if_exists\030\003 \001(\010\"9\n\nAddColumns\022+\n\013ad" +
"d_columns\030\001 \003(\0132\026.greptime.v1.AddColumn\"" +
"?\n\014DropDefaults\022/\n\rdrop_defaults\030\001 \003(\0132\030" +
".greptime.v1.DropDefault\"<\n\013SetDefaults\022" +
"-\n\014set_defaults\030\001 \003(\0132\027.greptime.v1.SetD" +
"efault\"<\n\013DropColumns\022-\n\014drop_columns\030\001 " +
"\003(\0132\027.greptime.v1.DropColumn\"O\n\021ModifyCo" +
"lumnTypes\022:\n\023modify_column_types\030\001 \003(\0132\035" +
".greptime.v1.ModifyColumnType\"%\n\013RenameT" +
"able\022\026\n\016new_table_name\030\001 \001(\t\"\204\001\n\tAddColu" +
"mn\022*\n\ncolumn_def\030\001 \001(\0132\026.greptime.v1.Col" +
"umnDef\0220\n\010location\030\003 \001(\0132\036.greptime.v1.A" +
"ddColumnLocation\022\031\n\021add_if_not_exists\030\004 " +
"\001(\010\"\236\001\n\020ModifyColumnType\022\023\n\013column_name\030" +
"\001 \001(\t\0220\n\013target_type\030\002 \001(\0162\033.greptime.v1" +
".ColumnDataType\022C\n\025target_type_extension" +
"\030\003 \001(\0132$.greptime.v1.ColumnDataTypeExten" +
"sion\"$\n\006Option\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" +
"(\t\"=\n\017SetTableOptions\022*\n\rtable_options\030\001" +
" \003(\0132\023.greptime.v1.Option\"!\n\021UnsetTableO" +
"ptions\022\014\n\004keys\030\001 \003(\t\"\032\n\nDropColumn\022\014\n\004na" +
"me\030\001 \001(\t\"\025\n\007TableId\022\n\n\002id\030\001 \001(\r\"\024\n\006FlowI" +
"d\022\n\n\002id\030\001 \001(\r\"\254\002\n\tColumnDef\022\014\n\004name\030\001 \001(" +
"\t\022.\n\tdata_type\030\002 \001(\0162\033.greptime.v1.Colum" +
"nDataType\022\023\n\013is_nullable\030\003 \001(\010\022\032\n\022defaul" +
"t_constraint\030\004 \001(\014\0220\n\rsemantic_type\030\005 \001(" +
"\0162\031.greptime.v1.SemanticType\022\017\n\007comment\030" +
"\006 \001(\t\022@\n\022datatype_extension\030\007 \001(\0132$.grep" +
"time.v1.ColumnDataTypeExtension\022+\n\007optio" +
"ns\030\010 \001(\0132\032.greptime.v1.ColumnOptions\"\230\001\n" +
"\021AddColumnLocation\022B\n\rlocation_type\030\001 \001(" +
"\0162+.greptime.v1.AddColumnLocation.Locati" +
"onType\022\031\n\021after_column_name\030\002 \001(\t\"$\n\014Loc" +
"ationType\022\t\n\005FIRST\020\000\022\t\n\005AFTER\020\001\"\324\001\n\013SetF" +
"ulltext\022\023\n\013column_name\030\001 \001(\t\022\016\n\006enable\030\002" +
" \001(\010\022\'\n\010analyzer\030\003 \001(\0162\025.greptime.v1.Ana" +
"lyzer\022\026\n\016case_sensitive\030\004 \001(\010\022-\n\007backend" +
"\030\005 \001(\0162\034.greptime.v1.FulltextBackend\022\023\n\013" +
"granularity\030\006 \001(\004\022\033\n\023false_positive_rate" +
"\030\007 \001(\001\"$\n\rUnsetFulltext\022\023\n\013column_name\030\001" +
" \001(\t\"\"\n\013SetInverted\022\023\n\013column_name\030\001 \001(\t" +
"\"$\n\rUnsetInverted\022\023\n\013column_name\030\001 \001(\t\"\241" +
"\001\n\013SetSkipping\022\023\n\013column_name\030\001 \001(\t\022\016\n\006e" +
"nable\030\002 \001(\010\022\023\n\013granularity\030\003 \001(\004\022;\n\023skip" +
"ping_index_type\030\004 \001(\0162\036.greptime.v1.Skip" +
"pingIndexType\022\033\n\023false_positive_rate\030\005 \001" +
"(\001\"$\n\rUnsetSkipping\022\023\n\013column_name\030\001 \001(\t" +
"\"\314\001\n\021AlterDatabaseExpr\022\024\n\014catalog_name\030\001" +
" \001(\t\022\023\n\013schema_name\030\002 \001(\t\022?\n\024set_databas" +
"e_options\030\003 \001(\0132\037.greptime.v1.SetDatabas" +
"eOptionsH\000\022C\n\026unset_database_options\030\004 \001" +
"(\0132!.greptime.v1.UnsetDatabaseOptionsH\000B" +
"\006\n\004kind\"G\n\022SetDatabaseOptions\0221\n\024set_dat" +
"abase_options\030\001 \003(\0132\023.greptime.v1.Option" +
"\"$\n\024UnsetDatabaseOptions\022\014\n\004keys\030\001 \003(\t\"\305" +
"\003\n\021CreateTriggerExpr\022\024\n\014catalog_name\030\001 \001" +
"(\t\022\024\n\014trigger_name\030\002 \001(\t\022\034\n\024create_if_no" +
"t_exists\030\003 \001(\010\022\013\n\003sql\030\004 \001(\t\022,\n\010channels\030" +
"\005 \003(\0132\032.greptime.v1.NotifyChannel\022:\n\006lab" +
"els\030\006 \003(\0132*.greptime.v1.CreateTriggerExp" +
"r.LabelsEntry\022D\n\013annotations\030\007 \003(\0132/.gre" +
"ptime.v1.CreateTriggerExpr.AnnotationsEn" +
"try\022+\n\010interval\030\010 \001(\0132\031.google.protobuf." +
"Duration\022\031\n\021raw_interval_expr\030\t \001(\t\032-\n\013L" +
"abelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" +
"8\001\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v" +
"alue\030\002 \001(\t:\0028\001\"]\n\rNotifyChannel\022\014\n\004name\030" +
"\001 \001(\t\022.\n\007webhook\030\002 \001(\0132\033.greptime.v1.Web" +
"hookOptionsH\000B\016\n\014channel_type\"\177\n\016Webhook" +
"Options\022\013\n\003url\030\001 \001(\t\0223\n\004opts\030\002 \003(\0132%.gre" +
"ptime.v1.WebhookOptions.OptsEntry\032+\n\tOpt" +
"sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"U" +
"\n\017DropTriggerExpr\022\024\n\014catalog_name\030\001 \001(\t\022" +
"\024\n\014trigger_name\030\002 \001(\t\022\026\n\016drop_if_exists\030" +
"\003 \001(\010*$\n\010Analyzer\022\013\n\007ENGLISH\020\000\022\013\n\007CHINES" +
"E\020\001*)\n\017FulltextBackend\022\013\n\007TANTIVY\020\000\022\t\n\005B" +
"LOOM\020\001*%\n\021SkippingIndexType\022\020\n\014BLOOM_FIL" +
"TER\020\000BL\n\016io.greptime.v1B\003DdlZ5github.com" +
"/GreptimeTeam/greptime-proto/go/greptime" +
"/v1b\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
@@ -50600,7 +50804,7 @@ java.lang.String defaultValue);
internal_static_greptime_v1_CreateFlowExpr_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
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_descriptor.getNestedTypes().get(0);
internal_static_greptime_v1_CreateFlowExpr_FlowOptionsEntry_fieldAccessorTable = new
@@ -7256,6 +7256,21 @@ com.google.protobuf.ByteString defaultValue);
*/
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>
* @return The comment.
@@ -7464,6 +7479,19 @@ java.lang.String defaultValue);
orReplace_ = input.readBool();
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: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
@@ -7654,6 +7682,32 @@ java.lang.String defaultValue);
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;
private volatile java.lang.Object comment_;
/**
@@ -7870,6 +7924,9 @@ java.lang.String defaultValue);
if (orReplace_ != false) {
output.writeBool(9, orReplace_);
}
if (evalInterval_ != null) {
output.writeMessage(10, getEvalInterval());
}
unknownFields.writeTo(output);
}
@@ -7919,6 +7976,10 @@ java.lang.String defaultValue);
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(9, orReplace_);
}
if (evalInterval_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, getEvalInterval());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -7953,6 +8014,11 @@ java.lang.String defaultValue);
if (!getExpireAfter()
.equals(other.getExpireAfter())) return false;
}
if (hasEvalInterval() != other.hasEvalInterval()) return false;
if (hasEvalInterval()) {
if (!getEvalInterval()
.equals(other.getEvalInterval())) return false;
}
if (!getComment()
.equals(other.getComment())) return false;
if (!getSql()
@@ -7991,6 +8057,10 @@ java.lang.String defaultValue);
hash = (37 * hash) + EXPIRE_AFTER_FIELD_NUMBER;
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 = (53 * hash) + getComment().hashCode();
hash = (37 * hash) + SQL_FIELD_NUMBER;
@@ -8190,6 +8260,12 @@ java.lang.String defaultValue);
expireAfter_ = null;
expireAfterBuilder_ = null;
}
if (evalIntervalBuilder_ == null) {
evalInterval_ = null;
} else {
evalInterval_ = null;
evalIntervalBuilder_ = null;
}
comment_ = "";
sql_ = "";
@@ -8249,6 +8325,11 @@ java.lang.String defaultValue);
} else {
result.expireAfter_ = expireAfterBuilder_.build();
}
if (evalIntervalBuilder_ == null) {
result.evalInterval_ = evalInterval_;
} else {
result.evalInterval_ = evalIntervalBuilder_.build();
}
result.comment_ = comment_;
result.sql_ = sql_;
result.flowOptions_ = internalGetFlowOptions();
@@ -8340,6 +8421,9 @@ java.lang.String defaultValue);
if (other.hasExpireAfter()) {
mergeExpireAfter(other.getExpireAfter());
}
if (other.hasEvalInterval()) {
mergeEvalInterval(other.getEvalInterval());
}
if (!other.getComment().isEmpty()) {
comment_ = other.comment_;
onChanged();
@@ -9047,6 +9131,125 @@ java.lang.String defaultValue);
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_ = "";
/**
* <code>string comment = 6;</code>
@@ -10771,30 +10974,31 @@ java.lang.String defaultValue);
"ected_flows\030\003 \003(\0132\023.greptime.v1.FlowId\022B" +
"\n\nextensions\030\004 \003(\0132..greptime.v1.flow.Fl" +
"owResponse.ExtensionsEntry\0321\n\017Extensions" +
"Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\014:\0028\001\"\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" +
"ime.v1.FlowId\022.\n\020source_table_ids\030\002 \003(\0132" +
"\024.greptime.v1.TableId\022/\n\017sink_table_name" +
"\030\003 \001(\0132\026.greptime.v1.TableName\022\034\n\024create" +
"_if_not_exists\030\004 \001(\010\022.\n\014expire_after\030\005 \001" +
"(\0132\030.greptime.v1.ExpireAfter\022\017\n\007comment\030" +
"\006 \001(\t\022\013\n\003sql\030\007 \001(\t\022F\n\014flow_options\030\010 \003(\013" +
"20.greptime.v1.flow.CreateRequest.FlowOp" +
"tionsEntry\022\022\n\nor_replace\030\t \001(\010\0322\n\020FlowOp" +
"tionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" +
"8\001\"3\n\013DropRequest\022$\n\007flow_id\030\001 \001(\0132\023.gre" +
"ptime.v1.FlowId\"1\n\tFlushFlow\022$\n\007flow_id\030" +
"\001 \001(\0132\023.greptime.v1.FlowId2\230\002\n\004Flow\022S\n\022H" +
"andleCreateRemove\022\035.greptime.v1.flow.Flo" +
"wRequest\032\036.greptime.v1.flow.FlowResponse" +
"\022W\n\023HandleMirrorRequest\022 .greptime.v1.fl" +
"ow.InsertRequests\032\036.greptime.v1.flow.Flo" +
"wResponse\022b\n\031HandleMarkDirtyTimeWindow\022%" +
".greptime.v1.flow.DirtyWindowRequests\032\036." +
"greptime.v1.flow.FlowResponseBY\n\023io.grep" +
"time.v1.flowB\006ServerZ:github.com/Greptim" +
"eTeam/greptime-proto/go/greptime/v1/flow" +
"b\006proto3"
"(\0132\030.greptime.v1.ExpireAfter\0220\n\reval_int" +
"erval\030\n \001(\0132\031.greptime.v1.EvalInterval\022\017" +
"\n\007comment\030\006 \001(\t\022\013\n\003sql\030\007 \001(\t\022F\n\014flow_opt" +
"ions\030\010 \003(\01320.greptime.v1.flow.CreateRequ" +
"est.FlowOptionsEntry\022\022\n\nor_replace\030\t \001(\010" +
"\0322\n\020FlowOptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val" +
"ue\030\002 \001(\t:\0028\001\"3\n\013DropRequest\022$\n\007flow_id\030\001" +
" \001(\0132\023.greptime.v1.FlowId\"1\n\tFlushFlow\022$" +
"\n\007flow_id\030\001 \001(\0132\023.greptime.v1.FlowId2\230\002\n" +
"\004Flow\022S\n\022HandleCreateRemove\022\035.greptime.v" +
"1.flow.FlowRequest\032\036.greptime.v1.flow.Fl" +
"owResponse\022W\n\023HandleMirrorRequest\022 .grep" +
"time.v1.flow.InsertRequests\032\036.greptime.v" +
"1.flow.FlowResponse\022b\n\031HandleMarkDirtyTi" +
"meWindow\022%.greptime.v1.flow.DirtyWindowR" +
"equests\032\036.greptime.v1.flow.FlowResponseB" +
"Y\n\023io.greptime.v1.flowB\006ServerZ:github.c" +
"om/GreptimeTeam/greptime-proto/go/grepti" +
"me/v1/flowb\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
@@ -10862,7 +11066,7 @@ java.lang.String defaultValue);
internal_static_greptime_v1_flow_CreateRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
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_descriptor.getNestedTypes().get(0);
internal_static_greptime_v1_flow_CreateRequest_FlowOptionsEntry_fieldAccessorTable = new
+5
View File
@@ -105,6 +105,11 @@ message ExpireAfter {
int64 value = 1;
}
// Eval Interval in seconds
message EvalInterval {
int64 seconds = 1;
}
message FlightMetadata {
AffectedRows affected_rows = 1;
Metrics metrics = 2;
+1
View File
@@ -52,6 +52,7 @@ message CreateFlowExpr {
bool create_if_not_exists = 6;
// Expire data older than the given duration seconds.
ExpireAfter expire_after = 7;
EvalInterval eval_interval = 11;
string comment = 8;
string sql = 9;
map<string, string> flow_options = 10;
+1
View File
@@ -93,6 +93,7 @@ message CreateRequest {
bool create_if_not_exists = 4;
// Expire data older than the given duration seconds.
ExpireAfter expire_after = 5;
EvalInterval eval_interval = 10;
string comment = 6;
string sql = 7;
map<string, string> flow_options = 8;