feat: change EXPIRE WHEN to EXPIRE AFTER (#170)
* feat: change EXPIRE WHEN to EXPIRE AFTER Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * change expire_after type Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * optional expire after Signed-off-by: Ruihang Xia <waynestxia@gmail.com> --------- Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
This commit is contained in:
+244
-39
@@ -187,6 +187,19 @@ struct MetricsDefaultTypeInternal {
|
||||
};
|
||||
};
|
||||
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MetricsDefaultTypeInternal _Metrics_default_instance_;
|
||||
PROTOBUF_CONSTEXPR ExpireAfter::ExpireAfter(
|
||||
::_pbi::ConstantInitialized): _impl_{
|
||||
/*decltype(_impl_.value_)*/int64_t{0}
|
||||
, /*decltype(_impl_._cached_size_)*/{}} {}
|
||||
struct ExpireAfterDefaultTypeInternal {
|
||||
PROTOBUF_CONSTEXPR ExpireAfterDefaultTypeInternal()
|
||||
: _instance(::_pbi::ConstantInitialized{}) {}
|
||||
~ExpireAfterDefaultTypeInternal() {}
|
||||
union {
|
||||
ExpireAfter _instance;
|
||||
};
|
||||
};
|
||||
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ExpireAfterDefaultTypeInternal _ExpireAfter_default_instance_;
|
||||
PROTOBUF_CONSTEXPR FlightMetadata::FlightMetadata(
|
||||
::_pbi::ConstantInitialized): _impl_{
|
||||
/*decltype(_impl_.affected_rows_)*/nullptr
|
||||
@@ -260,7 +273,7 @@ struct DecimalTypeExtensionDefaultTypeInternal {
|
||||
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DecimalTypeExtensionDefaultTypeInternal _DecimalTypeExtension_default_instance_;
|
||||
} // namespace v1
|
||||
} // namespace greptime
|
||||
static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fcommon_2eproto[17];
|
||||
static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fcommon_2eproto[18];
|
||||
static const ::_pb::EnumDescriptor* file_level_enum_descriptors_greptime_2fv1_2fcommon_2eproto[2];
|
||||
static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_greptime_2fv1_2fcommon_2eproto = nullptr;
|
||||
|
||||
@@ -370,6 +383,13 @@ const uint32_t TableStruct_greptime_2fv1_2fcommon_2eproto::offsets[] PROTOBUF_SE
|
||||
~0u, // no _inlined_string_donated_
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::Metrics, _impl_.metrics_),
|
||||
~0u, // no _has_bits_
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::ExpireAfter, _internal_metadata_),
|
||||
~0u, // no _extensions_
|
||||
~0u, // no _oneof_case_
|
||||
~0u, // no _weak_field_map_
|
||||
~0u, // no _inlined_string_donated_
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::ExpireAfter, _impl_.value_),
|
||||
~0u, // no _has_bits_
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::FlightMetadata, _internal_metadata_),
|
||||
~0u, // no _extensions_
|
||||
~0u, // no _oneof_case_
|
||||
@@ -424,11 +444,12 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode
|
||||
{ 81, -1, -1, sizeof(::greptime::v1::TableName)},
|
||||
{ 90, -1, -1, sizeof(::greptime::v1::AffectedRows)},
|
||||
{ 97, -1, -1, sizeof(::greptime::v1::Metrics)},
|
||||
{ 104, -1, -1, sizeof(::greptime::v1::FlightMetadata)},
|
||||
{ 112, -1, -1, sizeof(::greptime::v1::IntervalMonthDayNano)},
|
||||
{ 121, -1, -1, sizeof(::greptime::v1::Decimal128)},
|
||||
{ 129, -1, -1, sizeof(::greptime::v1::ColumnDataTypeExtension)},
|
||||
{ 137, -1, -1, sizeof(::greptime::v1::DecimalTypeExtension)},
|
||||
{ 104, -1, -1, sizeof(::greptime::v1::ExpireAfter)},
|
||||
{ 111, -1, -1, sizeof(::greptime::v1::FlightMetadata)},
|
||||
{ 119, -1, -1, sizeof(::greptime::v1::IntervalMonthDayNano)},
|
||||
{ 128, -1, -1, sizeof(::greptime::v1::Decimal128)},
|
||||
{ 136, -1, -1, sizeof(::greptime::v1::ColumnDataTypeExtension)},
|
||||
{ 144, -1, -1, sizeof(::greptime::v1::DecimalTypeExtension)},
|
||||
};
|
||||
|
||||
static const ::_pb::Message* const file_default_instances[] = {
|
||||
@@ -444,6 +465,7 @@ static const ::_pb::Message* const file_default_instances[] = {
|
||||
&::greptime::v1::_TableName_default_instance_._instance,
|
||||
&::greptime::v1::_AffectedRows_default_instance_._instance,
|
||||
&::greptime::v1::_Metrics_default_instance_._instance,
|
||||
&::greptime::v1::_ExpireAfter_default_instance_._instance,
|
||||
&::greptime::v1::_FlightMetadata_default_instance_._instance,
|
||||
&::greptime::v1::_IntervalMonthDayNano_default_instance_._instance,
|
||||
&::greptime::v1::_Decimal128_default_instance_._instance,
|
||||
@@ -474,38 +496,39 @@ const char descriptor_table_protodef_greptime_2fv1_2fcommon_2eproto[] PROTOBUF_S
|
||||
"\n\005token\030\001 \001(\t\"J\n\tTableName\022\024\n\014catalog_na"
|
||||
"me\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\022\n\ntable_n"
|
||||
"ame\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\"i\n\016FlightMe"
|
||||
"tadata\0220\n\raffected_rows\030\001 \001(\0132\031.greptime"
|
||||
".v1.AffectedRows\022%\n\007metrics\030\002 \001(\0132\024.grep"
|
||||
"time.v1.Metrics\"I\n\024IntervalMonthDayNano\022"
|
||||
"\016\n\006months\030\001 \001(\005\022\014\n\004days\030\002 \001(\005\022\023\n\013nanosec"
|
||||
"onds\030\003 \001(\003\"$\n\nDecimal128\022\n\n\002hi\030\001 \001(\003\022\n\n\002"
|
||||
"lo\030\002 \001(\003\"`\n\027ColumnDataTypeExtension\0229\n\014d"
|
||||
"ecimal_type\030\001 \001(\0132!.greptime.v1.DecimalT"
|
||||
"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*1\n\014SemanticType\022\007\n\003TAG\020\000\022\t\n\005FIELD\020\001"
|
||||
"\022\r\n\tTIMESTAMP\020\002*\326\003\n\016ColumnDataType\022\013\n\007BO"
|
||||
"OLEAN\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\005UINT8\020\005\022\n\n\006UINT16\020\006\022\n\n\006UIN"
|
||||
"T32\020\007\022\n\n\006UINT64\020\010\022\013\n\007FLOAT32\020\t\022\013\n\007FLOAT6"
|
||||
"4\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\020TIMESTAMP_SECOND\020\017\022\031\n\025TIM"
|
||||
"ESTAMP_MILLISECOND\020\020\022\031\n\025TIMESTAMP_MICROS"
|
||||
"ECOND\020\021\022\030\n\024TIMESTAMP_NANOSECOND\020\022\022\017\n\013TIM"
|
||||
"E_SECOND\020\023\022\024\n\020TIME_MILLISECOND\020\024\022\024\n\020TIME"
|
||||
"_MICROSECOND\020\025\022\023\n\017TIME_NANOSECOND\020\026\022\027\n\023I"
|
||||
"NTERVAL_YEAR_MONTH\020\027\022\025\n\021INTERVAL_DAY_TIM"
|
||||
"E\020\030\022\033\n\027INTERVAL_MONTH_DAY_NANO\020\031\022\016\n\nDECI"
|
||||
"MAL128\020\036BO\n\016io.greptime.v1B\006CommonZ5gith"
|
||||
"ub.com/GreptimeTeam/greptime-proto/go/gr"
|
||||
"eptime/v1b\006proto3"
|
||||
"\"\032\n\007Metrics\022\017\n\007metrics\030\001 \001(\014\"\034\n\013ExpireAf"
|
||||
"ter\022\r\n\005value\030\001 \001(\003\"i\n\016FlightMetadata\0220\n\r"
|
||||
"affected_rows\030\001 \001(\0132\031.greptime.v1.Affect"
|
||||
"edRows\022%\n\007metrics\030\002 \001(\0132\024.greptime.v1.Me"
|
||||
"trics\"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\nDecimal128\022\n\n\002hi\030\001 \001(\003\022\n\n\002lo\030\002 \001(\003\"`"
|
||||
"\n\027ColumnDataTypeExtension\0229\n\014decimal_typ"
|
||||
"e\030\001 \001(\0132!.greptime.v1.DecimalTypeExtensi"
|
||||
"onH\000B\n\n\010type_ext\"8\n\024DecimalTypeExtension"
|
||||
"\022\021\n\tprecision\030\001 \001(\005\022\r\n\005scale\030\002 \001(\005*1\n\014Se"
|
||||
"manticType\022\007\n\003TAG\020\000\022\t\n\005FIELD\020\001\022\r\n\tTIMEST"
|
||||
"AMP\020\002*\326\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\005UINT8\020\005\022\n\n\006UINT16\020\006\022\n\n\006UINT32\020\007\022\n\n\006U"
|
||||
"INT64\020\010\022\013\n\007FLOAT32\020\t\022\013\n\007FLOAT64\020\n\022\n\n\006BIN"
|
||||
"ARY\020\013\022\n\n\006STRING\020\014\022\010\n\004DATE\020\r\022\014\n\010DATETIME\020"
|
||||
"\016\022\024\n\020TIMESTAMP_SECOND\020\017\022\031\n\025TIMESTAMP_MIL"
|
||||
"LISECOND\020\020\022\031\n\025TIMESTAMP_MICROSECOND\020\021\022\030\n"
|
||||
"\024TIMESTAMP_NANOSECOND\020\022\022\017\n\013TIME_SECOND\020\023"
|
||||
"\022\024\n\020TIME_MILLISECOND\020\024\022\024\n\020TIME_MICROSECO"
|
||||
"ND\020\025\022\023\n\017TIME_NANOSECOND\020\026\022\027\n\023INTERVAL_YE"
|
||||
"AR_MONTH\020\027\022\025\n\021INTERVAL_DAY_TIME\020\030\022\033\n\027INT"
|
||||
"ERVAL_MONTH_DAY_NANO\020\031\022\016\n\nDECIMAL128\020\036BO"
|
||||
"\n\016io.greptime.v1B\006CommonZ5github.com/Gre"
|
||||
"ptimeTeam/greptime-proto/go/greptime/v1b"
|
||||
"\006proto3"
|
||||
;
|
||||
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fcommon_2eproto_once;
|
||||
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fcommon_2eproto = {
|
||||
false, false, 1897, descriptor_table_protodef_greptime_2fv1_2fcommon_2eproto,
|
||||
false, false, 1927, descriptor_table_protodef_greptime_2fv1_2fcommon_2eproto,
|
||||
"greptime/v1/common.proto",
|
||||
&descriptor_table_greptime_2fv1_2fcommon_2eproto_once, nullptr, 0, 17,
|
||||
&descriptor_table_greptime_2fv1_2fcommon_2eproto_once, nullptr, 0, 18,
|
||||
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,
|
||||
@@ -3300,6 +3323,184 @@ void Metrics::InternalSwap(Metrics* other) {
|
||||
|
||||
// ===================================================================
|
||||
|
||||
class ExpireAfter::_Internal {
|
||||
public:
|
||||
};
|
||||
|
||||
ExpireAfter::ExpireAfter(::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.ExpireAfter)
|
||||
}
|
||||
ExpireAfter::ExpireAfter(const ExpireAfter& from)
|
||||
: ::PROTOBUF_NAMESPACE_ID::Message() {
|
||||
ExpireAfter* const _this = this; (void)_this;
|
||||
new (&_impl_) Impl_{
|
||||
decltype(_impl_.value_){}
|
||||
, /*decltype(_impl_._cached_size_)*/{}};
|
||||
|
||||
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||
_this->_impl_.value_ = from._impl_.value_;
|
||||
// @@protoc_insertion_point(copy_constructor:greptime.v1.ExpireAfter)
|
||||
}
|
||||
|
||||
inline void ExpireAfter::SharedCtor(
|
||||
::_pb::Arena* arena, bool is_message_owned) {
|
||||
(void)arena;
|
||||
(void)is_message_owned;
|
||||
new (&_impl_) Impl_{
|
||||
decltype(_impl_.value_){int64_t{0}}
|
||||
, /*decltype(_impl_._cached_size_)*/{}
|
||||
};
|
||||
}
|
||||
|
||||
ExpireAfter::~ExpireAfter() {
|
||||
// @@protoc_insertion_point(destructor:greptime.v1.ExpireAfter)
|
||||
if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
|
||||
(void)arena;
|
||||
return;
|
||||
}
|
||||
SharedDtor();
|
||||
}
|
||||
|
||||
inline void ExpireAfter::SharedDtor() {
|
||||
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
|
||||
}
|
||||
|
||||
void ExpireAfter::SetCachedSize(int size) const {
|
||||
_impl_._cached_size_.Set(size);
|
||||
}
|
||||
|
||||
void ExpireAfter::Clear() {
|
||||
// @@protoc_insertion_point(message_clear_start:greptime.v1.ExpireAfter)
|
||||
uint32_t cached_has_bits = 0;
|
||||
// Prevent compiler warnings about cached_has_bits being unused
|
||||
(void) cached_has_bits;
|
||||
|
||||
_impl_.value_ = int64_t{0};
|
||||
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
||||
}
|
||||
|
||||
const char* ExpireAfter::_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 value = 1;
|
||||
case 1:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
|
||||
_impl_.value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
|
||||
CHK_(ptr);
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
default:
|
||||
goto handle_unusual;
|
||||
} // switch
|
||||
handle_unusual:
|
||||
if ((tag == 0) || ((tag & 7) == 4)) {
|
||||
CHK_(ptr);
|
||||
ctx->SetLastTag(tag);
|
||||
goto message_done;
|
||||
}
|
||||
ptr = UnknownFieldParse(
|
||||
tag,
|
||||
_internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
|
||||
ptr, ctx);
|
||||
CHK_(ptr != nullptr);
|
||||
} // while
|
||||
message_done:
|
||||
return ptr;
|
||||
failure:
|
||||
ptr = nullptr;
|
||||
goto message_done;
|
||||
#undef CHK_
|
||||
}
|
||||
|
||||
uint8_t* ExpireAfter::_InternalSerialize(
|
||||
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
|
||||
// @@protoc_insertion_point(serialize_to_array_start:greptime.v1.ExpireAfter)
|
||||
uint32_t cached_has_bits = 0;
|
||||
(void) cached_has_bits;
|
||||
|
||||
// int64 value = 1;
|
||||
if (this->_internal_value() != 0) {
|
||||
target = stream->EnsureSpace(target);
|
||||
target = ::_pbi::WireFormatLite::WriteInt64ToArray(1, this->_internal_value(), target);
|
||||
}
|
||||
|
||||
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
||||
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
||||
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
|
||||
}
|
||||
// @@protoc_insertion_point(serialize_to_array_end:greptime.v1.ExpireAfter)
|
||||
return target;
|
||||
}
|
||||
|
||||
size_t ExpireAfter::ByteSizeLong() const {
|
||||
// @@protoc_insertion_point(message_byte_size_start:greptime.v1.ExpireAfter)
|
||||
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 value = 1;
|
||||
if (this->_internal_value() != 0) {
|
||||
total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_value());
|
||||
}
|
||||
|
||||
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
||||
}
|
||||
|
||||
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ExpireAfter::_class_data_ = {
|
||||
::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
|
||||
ExpireAfter::MergeImpl
|
||||
};
|
||||
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ExpireAfter::GetClassData() const { return &_class_data_; }
|
||||
|
||||
|
||||
void ExpireAfter::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
|
||||
auto* const _this = static_cast<ExpireAfter*>(&to_msg);
|
||||
auto& from = static_cast<const ExpireAfter&>(from_msg);
|
||||
// @@protoc_insertion_point(class_specific_merge_from_start:greptime.v1.ExpireAfter)
|
||||
GOOGLE_DCHECK_NE(&from, _this);
|
||||
uint32_t cached_has_bits = 0;
|
||||
(void) cached_has_bits;
|
||||
|
||||
if (from._internal_value() != 0) {
|
||||
_this->_internal_set_value(from._internal_value());
|
||||
}
|
||||
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||
}
|
||||
|
||||
void ExpireAfter::CopyFrom(const ExpireAfter& from) {
|
||||
// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.ExpireAfter)
|
||||
if (&from == this) return;
|
||||
Clear();
|
||||
MergeFrom(from);
|
||||
}
|
||||
|
||||
bool ExpireAfter::IsInitialized() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
void ExpireAfter::InternalSwap(ExpireAfter* other) {
|
||||
using std::swap;
|
||||
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
||||
swap(_impl_.value_, other->_impl_.value_);
|
||||
}
|
||||
|
||||
::PROTOBUF_NAMESPACE_ID::Metadata ExpireAfter::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[12]);
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
|
||||
class FlightMetadata::_Internal {
|
||||
public:
|
||||
static const ::greptime::v1::AffectedRows& affected_rows(const FlightMetadata* msg);
|
||||
@@ -3534,7 +3735,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[12]);
|
||||
file_level_metadata_greptime_2fv1_2fcommon_2eproto[13]);
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
@@ -3769,7 +3970,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[13]);
|
||||
file_level_metadata_greptime_2fv1_2fcommon_2eproto[14]);
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
@@ -3980,7 +4181,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[14]);
|
||||
file_level_metadata_greptime_2fv1_2fcommon_2eproto[15]);
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
@@ -4227,7 +4428,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[15]);
|
||||
file_level_metadata_greptime_2fv1_2fcommon_2eproto[16]);
|
||||
}
|
||||
|
||||
// ===================================================================
|
||||
@@ -4438,7 +4639,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[16]);
|
||||
file_level_metadata_greptime_2fv1_2fcommon_2eproto[17]);
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(namespace_scope)
|
||||
@@ -4493,6 +4694,10 @@ template<> PROTOBUF_NOINLINE ::greptime::v1::Metrics*
|
||||
Arena::CreateMaybeMessage< ::greptime::v1::Metrics >(Arena* arena) {
|
||||
return Arena::CreateMessageInternal< ::greptime::v1::Metrics >(arena);
|
||||
}
|
||||
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::FlightMetadata*
|
||||
Arena::CreateMaybeMessage< ::greptime::v1::FlightMetadata >(Arena* arena) {
|
||||
return Arena::CreateMessageInternal< ::greptime::v1::FlightMetadata >(arena);
|
||||
|
||||
+183
-5
@@ -68,6 +68,9 @@ extern Decimal128DefaultTypeInternal _Decimal128_default_instance_;
|
||||
class DecimalTypeExtension;
|
||||
struct DecimalTypeExtensionDefaultTypeInternal;
|
||||
extern DecimalTypeExtensionDefaultTypeInternal _DecimalTypeExtension_default_instance_;
|
||||
class ExpireAfter;
|
||||
struct ExpireAfterDefaultTypeInternal;
|
||||
extern ExpireAfterDefaultTypeInternal _ExpireAfter_default_instance_;
|
||||
class FlightMetadata;
|
||||
struct FlightMetadataDefaultTypeInternal;
|
||||
extern FlightMetadataDefaultTypeInternal _FlightMetadata_default_instance_;
|
||||
@@ -110,6 +113,7 @@ template<> ::greptime::v1::Basic* Arena::CreateMaybeMessage<::greptime::v1::Basi
|
||||
template<> ::greptime::v1::ColumnDataTypeExtension* Arena::CreateMaybeMessage<::greptime::v1::ColumnDataTypeExtension>(Arena*);
|
||||
template<> ::greptime::v1::Decimal128* Arena::CreateMaybeMessage<::greptime::v1::Decimal128>(Arena*);
|
||||
template<> ::greptime::v1::DecimalTypeExtension* Arena::CreateMaybeMessage<::greptime::v1::DecimalTypeExtension>(Arena*);
|
||||
template<> ::greptime::v1::ExpireAfter* Arena::CreateMaybeMessage<::greptime::v1::ExpireAfter>(Arena*);
|
||||
template<> ::greptime::v1::FlightMetadata* Arena::CreateMaybeMessage<::greptime::v1::FlightMetadata>(Arena*);
|
||||
template<> ::greptime::v1::IntervalMonthDayNano* Arena::CreateMaybeMessage<::greptime::v1::IntervalMonthDayNano>(Arena*);
|
||||
template<> ::greptime::v1::Metrics* Arena::CreateMaybeMessage<::greptime::v1::Metrics>(Arena*);
|
||||
@@ -2042,6 +2046,154 @@ class Metrics final :
|
||||
};
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
class ExpireAfter final :
|
||||
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.ExpireAfter) */ {
|
||||
public:
|
||||
inline ExpireAfter() : ExpireAfter(nullptr) {}
|
||||
~ExpireAfter() override;
|
||||
explicit PROTOBUF_CONSTEXPR ExpireAfter(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
||||
|
||||
ExpireAfter(const ExpireAfter& from);
|
||||
ExpireAfter(ExpireAfter&& from) noexcept
|
||||
: ExpireAfter() {
|
||||
*this = ::std::move(from);
|
||||
}
|
||||
|
||||
inline ExpireAfter& operator=(const ExpireAfter& from) {
|
||||
CopyFrom(from);
|
||||
return *this;
|
||||
}
|
||||
inline ExpireAfter& operator=(ExpireAfter&& 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 ExpireAfter& default_instance() {
|
||||
return *internal_default_instance();
|
||||
}
|
||||
static inline const ExpireAfter* internal_default_instance() {
|
||||
return reinterpret_cast<const ExpireAfter*>(
|
||||
&_ExpireAfter_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
12;
|
||||
|
||||
friend void swap(ExpireAfter& a, ExpireAfter& b) {
|
||||
a.Swap(&b);
|
||||
}
|
||||
inline void Swap(ExpireAfter* 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(ExpireAfter* other) {
|
||||
if (other == this) return;
|
||||
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
||||
InternalSwap(other);
|
||||
}
|
||||
|
||||
// implements Message ----------------------------------------------
|
||||
|
||||
ExpireAfter* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
||||
return CreateMaybeMessage<ExpireAfter>(arena);
|
||||
}
|
||||
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
||||
void CopyFrom(const ExpireAfter& from);
|
||||
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
||||
void MergeFrom( const ExpireAfter& from) {
|
||||
ExpireAfter::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(ExpireAfter* other);
|
||||
|
||||
private:
|
||||
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
||||
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
||||
return "greptime.v1.ExpireAfter";
|
||||
}
|
||||
protected:
|
||||
explicit ExpireAfter(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||
bool is_message_owned = false);
|
||||
public:
|
||||
|
||||
static const ClassData _class_data_;
|
||||
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
|
||||
|
||||
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
||||
|
||||
// nested types ----------------------------------------------------
|
||||
|
||||
// accessors -------------------------------------------------------
|
||||
|
||||
enum : int {
|
||||
kValueFieldNumber = 1,
|
||||
};
|
||||
// int64 value = 1;
|
||||
void clear_value();
|
||||
int64_t value() const;
|
||||
void set_value(int64_t value);
|
||||
private:
|
||||
int64_t _internal_value() const;
|
||||
void _internal_set_value(int64_t value);
|
||||
public:
|
||||
|
||||
// @@protoc_insertion_point(class_scope:greptime.v1.ExpireAfter)
|
||||
private:
|
||||
class _Internal;
|
||||
|
||||
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
||||
typedef void InternalArenaConstructable_;
|
||||
typedef void DestructorSkippable_;
|
||||
struct Impl_ {
|
||||
int64_t value_;
|
||||
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:
|
||||
@@ -2090,7 +2242,7 @@ class FlightMetadata final :
|
||||
&_FlightMetadata_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
12;
|
||||
13;
|
||||
|
||||
friend void swap(FlightMetadata& a, FlightMetadata& b) {
|
||||
a.Swap(&b);
|
||||
@@ -2267,7 +2419,7 @@ class IntervalMonthDayNano final :
|
||||
&_IntervalMonthDayNano_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
13;
|
||||
14;
|
||||
|
||||
friend void swap(IntervalMonthDayNano& a, IntervalMonthDayNano& b) {
|
||||
a.Swap(&b);
|
||||
@@ -2437,7 +2589,7 @@ class Decimal128 final :
|
||||
&_Decimal128_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
14;
|
||||
15;
|
||||
|
||||
friend void swap(Decimal128& a, Decimal128& b) {
|
||||
a.Swap(&b);
|
||||
@@ -2601,7 +2753,7 @@ class ColumnDataTypeExtension final :
|
||||
&_ColumnDataTypeExtension_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
15;
|
||||
16;
|
||||
|
||||
friend void swap(ColumnDataTypeExtension& a, ColumnDataTypeExtension& b) {
|
||||
a.Swap(&b);
|
||||
@@ -2770,7 +2922,7 @@ class DecimalTypeExtension final :
|
||||
&_DecimalTypeExtension_default_instance_);
|
||||
}
|
||||
static constexpr int kIndexInFileMessages =
|
||||
16;
|
||||
17;
|
||||
|
||||
friend void swap(DecimalTypeExtension& a, DecimalTypeExtension& b) {
|
||||
a.Swap(&b);
|
||||
@@ -4117,6 +4269,30 @@ inline void Metrics::set_allocated_metrics(std::string* metrics) {
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// ExpireAfter
|
||||
|
||||
// int64 value = 1;
|
||||
inline void ExpireAfter::clear_value() {
|
||||
_impl_.value_ = int64_t{0};
|
||||
}
|
||||
inline int64_t ExpireAfter::_internal_value() const {
|
||||
return _impl_.value_;
|
||||
}
|
||||
inline int64_t ExpireAfter::value() const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.ExpireAfter.value)
|
||||
return _internal_value();
|
||||
}
|
||||
inline void ExpireAfter::_internal_set_value(int64_t value) {
|
||||
|
||||
_impl_.value_ = value;
|
||||
}
|
||||
inline void ExpireAfter::set_value(int64_t value) {
|
||||
_internal_set_value(value);
|
||||
// @@protoc_insertion_point(field_set:greptime.v1.ExpireAfter.value)
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// FlightMetadata
|
||||
|
||||
// .greptime.v1.AffectedRows affected_rows = 1;
|
||||
@@ -4573,6 +4749,8 @@ inline void DecimalTypeExtension::set_scale(int32_t value) {
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
|
||||
// @@protoc_insertion_point(namespace_scope)
|
||||
|
||||
|
||||
+117
-119
@@ -53,10 +53,10 @@ PROTOBUF_CONSTEXPR CreateFlowExpr::CreateFlowExpr(
|
||||
, /*decltype(_impl_.flow_options_)*/{::_pbi::ConstantInitialized()}
|
||||
, /*decltype(_impl_.catalog_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
||||
, /*decltype(_impl_.flow_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
||||
, /*decltype(_impl_.expire_when_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
||||
, /*decltype(_impl_.comment_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
||||
, /*decltype(_impl_.sql_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
||||
, /*decltype(_impl_.sink_table_name_)*/nullptr
|
||||
, /*decltype(_impl_.expire_after_)*/nullptr
|
||||
, /*decltype(_impl_.or_replace_)*/false
|
||||
, /*decltype(_impl_.create_if_not_exists_)*/false
|
||||
, /*decltype(_impl_._cached_size_)*/{}} {}
|
||||
@@ -444,7 +444,7 @@ const uint32_t TableStruct_greptime_2fv1_2fddl_2eproto::offsets[] PROTOBUF_SECTI
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::CreateFlowExpr, _impl_.sink_table_name_),
|
||||
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_when_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::CreateFlowExpr, _impl_.expire_after_),
|
||||
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_),
|
||||
@@ -730,92 +730,93 @@ const char descriptor_table_protodef_greptime_2fv1_2fddl_2eproto[] PROTOBUF_SECT
|
||||
"_flow\030\t \001(\0132\031.greptime.v1.DropFlowExprH\000"
|
||||
"\0222\n\013create_view\030\n \001(\0132\033.greptime.v1.Crea"
|
||||
"teViewExprH\000\022.\n\tdrop_view\030\013 \001(\0132\031.grepti"
|
||||
"me.v1.DropViewExprH\000B\006\n\004expr\"\373\002\n\016CreateF"
|
||||
"me.v1.DropViewExprH\000B\006\n\004expr\"\226\003\n\016CreateF"
|
||||
"lowExpr\022\024\n\014catalog_name\030\001 \001(\t\022\021\n\tflow_na"
|
||||
"me\030\002 \001(\t\0222\n\022source_table_names\030\003 \003(\0132\026.g"
|
||||
"reptime.v1.TableName\022/\n\017sink_table_name\030"
|
||||
"\004 \001(\0132\026.greptime.v1.TableName\022\022\n\nor_repl"
|
||||
"ace\030\005 \001(\010\022\034\n\024create_if_not_exists\030\006 \001(\010\022"
|
||||
"\023\n\013expire_when\030\007 \001(\t\022\017\n\007comment\030\010 \001(\t\022\013\n"
|
||||
"\003sql\030\t \001(\t\022B\n\014flow_options\030\n \003(\0132,.grept"
|
||||
"ime.v1.CreateFlowExpr.FlowOptionsEntry\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\014catalog_na"
|
||||
"me\030\001 \001(\t\022\021\n\tflow_name\030\002 \001(\t\022$\n\007flow_id\030\003"
|
||||
" \001(\0132\023.greptime.v1.FlowId\022\026\n\016drop_if_exi"
|
||||
"sts\030\005 \001(\010\"\226\001\n\016CreateViewExpr\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\024\n\014logical_plan\030\004 \001(\014\022\034\n\024crea"
|
||||
"te_if_not_exists\030\005 \001(\010\022\022\n\nor_replace\030\006 \001"
|
||||
"(\010\"\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.TableId"
|
||||
"\022\026\n\016drop_if_exists\030\005 \001(\010\"\207\003\n\017CreateTable"
|
||||
"Expr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_nam"
|
||||
"e\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.Col"
|
||||
"umnDef\022\022\n\ntime_index\030\006 \001(\t\022\024\n\014primary_ke"
|
||||
"ys\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.Crea"
|
||||
"teTableExpr.TableOptionsEntry\022&\n\010table_i"
|
||||
"d\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\"\245\002\n\tAlterExpr\022\024\n\014cata"
|
||||
"log_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\022\n\nt"
|
||||
"able_name\030\003 \001(\t\022.\n\013add_columns\030\004 \001(\0132\027.g"
|
||||
"reptime.v1.AddColumnsH\000\0220\n\014drop_columns\030"
|
||||
"\005 \001(\0132\030.greptime.v1.DropColumnsH\000\0220\n\014ren"
|
||||
"ame_table\030\006 \001(\0132\030.greptime.v1.RenameTabl"
|
||||
"eH\000\022=\n\023change_column_types\030\007 \001(\0132\036.grept"
|
||||
"ime.v1.ChangeColumnTypesH\000B\006\n\004kind\"\216\001\n\rD"
|
||||
"ropTableExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013sc"
|
||||
"hema_name\030\002 \001(\t\022\022\n\ntable_name\030\003 \001(\t\022&\n\010t"
|
||||
"able_id\030\004 \001(\0132\024.greptime.v1.TableId\022\026\n\016d"
|
||||
"rop_if_exists\030\005 \001(\010\"\314\001\n\022CreateDatabaseEx"
|
||||
"pr\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\007o"
|
||||
"ptions\030\004 \003(\0132,.greptime.v1.CreateDatabas"
|
||||
"eExpr.OptionsEntry\032.\n\014OptionsEntry\022\013\n\003ke"
|
||||
"y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"z\n\021TruncateTa"
|
||||
"bleExpr\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\"U\n\020DropDa"
|
||||
"tabaseExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013sche"
|
||||
"ma_name\030\002 \001(\t\022\026\n\016drop_if_exists\030\003 \001(\010\"9\n"
|
||||
"\nAddColumns\022+\n\013add_columns\030\001 \003(\0132\026.grept"
|
||||
"ime.v1.AddColumn\"<\n\013DropColumns\022-\n\014drop_"
|
||||
"columns\030\001 \003(\0132\027.greptime.v1.DropColumn\"O"
|
||||
"\n\021ChangeColumnTypes\022:\n\023change_column_typ"
|
||||
"es\030\001 \003(\0132\035.greptime.v1.ChangeColumnType\""
|
||||
"%\n\013RenameTable\022\026\n\016new_table_name\030\001 \001(\t\"i"
|
||||
"\n\tAddColumn\022*\n\ncolumn_def\030\001 \001(\0132\026.grepti"
|
||||
"me.v1.ColumnDef\0220\n\010location\030\003 \001(\0132\036.grep"
|
||||
"time.v1.AddColumnLocation\"\236\001\n\020ChangeColu"
|
||||
"mnType\022\023\n\013column_name\030\001 \001(\t\0220\n\013target_ty"
|
||||
"pe\030\002 \001(\0162\033.greptime.v1.ColumnDataType\022C\n"
|
||||
"\025target_type_extension\030\003 \001(\0132$.greptime."
|
||||
"v1.ColumnDataTypeExtension\"\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\"\377\001\n\tColumnDef\022\014\n\004nam"
|
||||
"e\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\022"
|
||||
"default_constraint\030\004 \001(\014\0220\n\rsemantic_typ"
|
||||
"e\030\005 \001(\0162\031.greptime.v1.SemanticType\022\017\n\007co"
|
||||
"mment\030\006 \001(\t\022@\n\022datatype_extension\030\007 \001(\0132"
|
||||
"$.greptime.v1.ColumnDataTypeExtension\"\230\001"
|
||||
"\n\021AddColumnLocation\022B\n\rlocation_type\030\001 \001"
|
||||
"(\0162+.greptime.v1.AddColumnLocation.Locat"
|
||||
"ionType\022\031\n\021after_column_name\030\002 \001(\t\"$\n\014Lo"
|
||||
"cationType\022\t\n\005FIRST\020\000\022\t\n\005AFTER\020\001BL\n\016io.g"
|
||||
"reptime.v1B\003DdlZ5github.com/GreptimeTeam"
|
||||
"/greptime-proto/go/greptime/v1b\006proto3"
|
||||
".\n\014expire_after\030\007 \001(\0132\030.greptime.v1.Expi"
|
||||
"reAfter\022\017\n\007comment\030\010 \001(\t\022\013\n\003sql\030\t \001(\t\022B\n"
|
||||
"\014flow_options\030\n \003(\0132,.greptime.v1.Create"
|
||||
"FlowExpr.FlowOptionsEntry\0322\n\020FlowOptions"
|
||||
"Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"u\n"
|
||||
"\014DropFlowExpr\022\024\n\014catalog_name\030\001 \001(\t\022\021\n\tf"
|
||||
"low_name\030\002 \001(\t\022$\n\007flow_id\030\003 \001(\0132\023.grepti"
|
||||
"me.v1.FlowId\022\026\n\016drop_if_exists\030\005 \001(\010\"\226\001\n"
|
||||
"\016CreateViewExpr\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\024\n"
|
||||
"\014logical_plan\030\004 \001(\014\022\034\n\024create_if_not_exi"
|
||||
"sts\030\005 \001(\010\022\022\n\nor_replace\030\006 \001(\010\"\213\001\n\014DropVi"
|
||||
"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%\n\007view_id\030"
|
||||
"\004 \001(\0132\024.greptime.v1.TableId\022\026\n\016drop_if_e"
|
||||
"xists\030\005 \001(\010\"\207\003\n\017CreateTableExpr\022\024\n\014catal"
|
||||
"og_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\022\n\nta"
|
||||
"ble_name\030\003 \001(\t\022\014\n\004desc\030\004 \001(\t\022+\n\013column_d"
|
||||
"efs\030\005 \003(\0132\026.greptime.v1.ColumnDef\022\022\n\ntim"
|
||||
"e_index\030\006 \001(\t\022\024\n\014primary_keys\030\007 \003(\t\022\034\n\024c"
|
||||
"reate_if_not_exists\030\010 \001(\010\022E\n\rtable_optio"
|
||||
"ns\030\t \003(\0132..greptime.v1.CreateTableExpr.T"
|
||||
"ableOptionsEntry\022&\n\010table_id\030\n \001(\0132\024.gre"
|
||||
"ptime.v1.TableId\022\016\n\006engine\030\014 \001(\t\0323\n\021Tabl"
|
||||
"eOptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001("
|
||||
"\t:\0028\001\"\245\002\n\tAlterExpr\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.Ad"
|
||||
"dColumnsH\000\0220\n\014drop_columns\030\005 \001(\0132\030.grept"
|
||||
"ime.v1.DropColumnsH\000\0220\n\014rename_table\030\006 \001"
|
||||
"(\0132\030.greptime.v1.RenameTableH\000\022=\n\023change"
|
||||
"_column_types\030\007 \001(\0132\036.greptime.v1.Change"
|
||||
"ColumnTypesH\000B\006\n\004kind\"\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(\013"
|
||||
"2\024.greptime.v1.TableId\022\026\n\016drop_if_exists"
|
||||
"\030\005 \001(\010\"\314\001\n\022CreateDatabaseExpr\022\024\n\014catalog"
|
||||
"_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\034\n\024crea"
|
||||
"te_if_not_exists\030\003 \001(\010\022=\n\007options\030\004 \003(\0132"
|
||||
",.greptime.v1.CreateDatabaseExpr.Options"
|
||||
"Entry\032.\n\014OptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va"
|
||||
"lue\030\002 \001(\t:\0028\001\"z\n\021TruncateTableExpr\022\024\n\014ca"
|
||||
"talog_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.gr"
|
||||
"eptime.v1.TableId\"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_exists\030\003 \001(\010\"9\n\nAddColumns\022+"
|
||||
"\n\013add_columns\030\001 \003(\0132\026.greptime.v1.AddCol"
|
||||
"umn\"<\n\013DropColumns\022-\n\014drop_columns\030\001 \003(\013"
|
||||
"2\027.greptime.v1.DropColumn\"O\n\021ChangeColum"
|
||||
"nTypes\022:\n\023change_column_types\030\001 \003(\0132\035.gr"
|
||||
"eptime.v1.ChangeColumnType\"%\n\013RenameTabl"
|
||||
"e\022\026\n\016new_table_name\030\001 \001(\t\"i\n\tAddColumn\022*"
|
||||
"\n\ncolumn_def\030\001 \001(\0132\026.greptime.v1.ColumnD"
|
||||
"ef\0220\n\010location\030\003 \001(\0132\036.greptime.v1.AddCo"
|
||||
"lumnLocation\"\236\001\n\020ChangeColumnType\022\023\n\013col"
|
||||
"umn_name\030\001 \001(\t\0220\n\013target_type\030\002 \001(\0162\033.gr"
|
||||
"eptime.v1.ColumnDataType\022C\n\025target_type_"
|
||||
"extension\030\003 \001(\0132$.greptime.v1.ColumnData"
|
||||
"TypeExtension\"\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\"\377\001\n\tColumnDef\022\014\n\004name\030\001 \001(\t\022.\n\tda"
|
||||
"ta_type\030\002 \001(\0162\033.greptime.v1.ColumnDataTy"
|
||||
"pe\022\023\n\013is_nullable\030\003 \001(\010\022\032\n\022default_const"
|
||||
"raint\030\004 \001(\014\0220\n\rsemantic_type\030\005 \001(\0162\031.gre"
|
||||
"ptime.v1.SemanticType\022\017\n\007comment\030\006 \001(\t\022@"
|
||||
"\n\022datatype_extension\030\007 \001(\0132$.greptime.v1"
|
||||
".ColumnDataTypeExtension\"\230\001\n\021AddColumnLo"
|
||||
"cation\022B\n\rlocation_type\030\001 \001(\0162+.greptime"
|
||||
".v1.AddColumnLocation.LocationType\022\031\n\021af"
|
||||
"ter_column_name\030\002 \001(\t\"$\n\014LocationType\022\t\n"
|
||||
"\005FIRST\020\000\022\t\n\005AFTER\020\001BL\n\016io.greptime.v1B\003D"
|
||||
"dlZ5github.com/GreptimeTeam/greptime-pro"
|
||||
"to/go/greptime/v1b\006proto3"
|
||||
;
|
||||
static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fddl_2eproto_deps[1] = {
|
||||
&::descriptor_table_greptime_2fv1_2fcommon_2eproto,
|
||||
};
|
||||
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fddl_2eproto_once;
|
||||
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fddl_2eproto = {
|
||||
false, false, 3678, descriptor_table_protodef_greptime_2fv1_2fddl_2eproto,
|
||||
false, false, 3705, 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, 1, 25,
|
||||
schemas, file_default_instances, TableStruct_greptime_2fv1_2fddl_2eproto::offsets,
|
||||
@@ -1582,12 +1583,17 @@ void CreateFlowExpr_FlowOptionsEntry_DoNotUse::MergeFrom(const CreateFlowExpr_Fl
|
||||
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);
|
||||
};
|
||||
|
||||
const ::greptime::v1::TableName&
|
||||
CreateFlowExpr::_Internal::sink_table_name(const CreateFlowExpr* msg) {
|
||||
return *msg->_impl_.sink_table_name_;
|
||||
}
|
||||
const ::greptime::v1::ExpireAfter&
|
||||
CreateFlowExpr::_Internal::expire_after(const CreateFlowExpr* msg) {
|
||||
return *msg->_impl_.expire_after_;
|
||||
}
|
||||
void CreateFlowExpr::clear_source_table_names() {
|
||||
_impl_.source_table_names_.Clear();
|
||||
}
|
||||
@@ -1597,6 +1603,12 @@ void CreateFlowExpr::clear_sink_table_name() {
|
||||
}
|
||||
_impl_.sink_table_name_ = nullptr;
|
||||
}
|
||||
void CreateFlowExpr::clear_expire_after() {
|
||||
if (GetArenaForAllocation() == nullptr && _impl_.expire_after_ != nullptr) {
|
||||
delete _impl_.expire_after_;
|
||||
}
|
||||
_impl_.expire_after_ = nullptr;
|
||||
}
|
||||
CreateFlowExpr::CreateFlowExpr(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||
bool is_message_owned)
|
||||
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
|
||||
@@ -1614,10 +1626,10 @@ CreateFlowExpr::CreateFlowExpr(const CreateFlowExpr& from)
|
||||
, /*decltype(_impl_.flow_options_)*/{}
|
||||
, decltype(_impl_.catalog_name_){}
|
||||
, decltype(_impl_.flow_name_){}
|
||||
, decltype(_impl_.expire_when_){}
|
||||
, decltype(_impl_.comment_){}
|
||||
, decltype(_impl_.sql_){}
|
||||
, decltype(_impl_.sink_table_name_){nullptr}
|
||||
, decltype(_impl_.expire_after_){nullptr}
|
||||
, decltype(_impl_.or_replace_){}
|
||||
, decltype(_impl_.create_if_not_exists_){}
|
||||
, /*decltype(_impl_._cached_size_)*/{}};
|
||||
@@ -1640,14 +1652,6 @@ CreateFlowExpr::CreateFlowExpr(const CreateFlowExpr& from)
|
||||
_this->_impl_.flow_name_.Set(from._internal_flow_name(),
|
||||
_this->GetArenaForAllocation());
|
||||
}
|
||||
_impl_.expire_when_.InitDefault();
|
||||
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
_impl_.expire_when_.Set("", GetArenaForAllocation());
|
||||
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
if (!from._internal_expire_when().empty()) {
|
||||
_this->_impl_.expire_when_.Set(from._internal_expire_when(),
|
||||
_this->GetArenaForAllocation());
|
||||
}
|
||||
_impl_.comment_.InitDefault();
|
||||
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
_impl_.comment_.Set("", GetArenaForAllocation());
|
||||
@@ -1667,6 +1671,9 @@ CreateFlowExpr::CreateFlowExpr(const CreateFlowExpr& from)
|
||||
if (from._internal_has_sink_table_name()) {
|
||||
_this->_impl_.sink_table_name_ = new ::greptime::v1::TableName(*from._impl_.sink_table_name_);
|
||||
}
|
||||
if (from._internal_has_expire_after()) {
|
||||
_this->_impl_.expire_after_ = new ::greptime::v1::ExpireAfter(*from._impl_.expire_after_);
|
||||
}
|
||||
::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_));
|
||||
@@ -1682,10 +1689,10 @@ inline void CreateFlowExpr::SharedCtor(
|
||||
, /*decltype(_impl_.flow_options_)*/{::_pbi::ArenaInitialized(), arena}
|
||||
, decltype(_impl_.catalog_name_){}
|
||||
, decltype(_impl_.flow_name_){}
|
||||
, decltype(_impl_.expire_when_){}
|
||||
, decltype(_impl_.comment_){}
|
||||
, decltype(_impl_.sql_){}
|
||||
, decltype(_impl_.sink_table_name_){nullptr}
|
||||
, decltype(_impl_.expire_after_){nullptr}
|
||||
, decltype(_impl_.or_replace_){false}
|
||||
, decltype(_impl_.create_if_not_exists_){false}
|
||||
, /*decltype(_impl_._cached_size_)*/{}
|
||||
@@ -1698,10 +1705,6 @@ inline void CreateFlowExpr::SharedCtor(
|
||||
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
_impl_.flow_name_.Set("", GetArenaForAllocation());
|
||||
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
_impl_.expire_when_.InitDefault();
|
||||
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
_impl_.expire_when_.Set("", GetArenaForAllocation());
|
||||
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
_impl_.comment_.InitDefault();
|
||||
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
_impl_.comment_.Set("", GetArenaForAllocation());
|
||||
@@ -1729,10 +1732,10 @@ inline void CreateFlowExpr::SharedDtor() {
|
||||
_impl_.flow_options_.~MapField();
|
||||
_impl_.catalog_name_.Destroy();
|
||||
_impl_.flow_name_.Destroy();
|
||||
_impl_.expire_when_.Destroy();
|
||||
_impl_.comment_.Destroy();
|
||||
_impl_.sql_.Destroy();
|
||||
if (this != internal_default_instance()) delete _impl_.sink_table_name_;
|
||||
if (this != internal_default_instance()) delete _impl_.expire_after_;
|
||||
}
|
||||
|
||||
void CreateFlowExpr::ArenaDtor(void* object) {
|
||||
@@ -1753,13 +1756,16 @@ void CreateFlowExpr::Clear() {
|
||||
_impl_.flow_options_.Clear();
|
||||
_impl_.catalog_name_.ClearToEmpty();
|
||||
_impl_.flow_name_.ClearToEmpty();
|
||||
_impl_.expire_when_.ClearToEmpty();
|
||||
_impl_.comment_.ClearToEmpty();
|
||||
_impl_.sql_.ClearToEmpty();
|
||||
if (GetArenaForAllocation() == nullptr && _impl_.sink_table_name_ != nullptr) {
|
||||
delete _impl_.sink_table_name_;
|
||||
}
|
||||
_impl_.sink_table_name_ = nullptr;
|
||||
if (GetArenaForAllocation() == nullptr && _impl_.expire_after_ != nullptr) {
|
||||
delete _impl_.expire_after_;
|
||||
}
|
||||
_impl_.expire_after_ = 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_));
|
||||
@@ -1829,13 +1835,11 @@ const char* CreateFlowExpr::_InternalParse(const char* ptr, ::_pbi::ParseContext
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
// string expire_when = 7;
|
||||
// .greptime.v1.ExpireAfter expire_after = 7;
|
||||
case 7:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
|
||||
auto str = _internal_mutable_expire_when();
|
||||
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
|
||||
ptr = ctx->ParseMessage(_internal_mutable_expire_after(), ptr);
|
||||
CHK_(ptr);
|
||||
CHK_(::_pbi::VerifyUTF8(str, "greptime.v1.CreateFlowExpr.expire_when"));
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
@@ -1948,14 +1952,11 @@ uint8_t* CreateFlowExpr::_InternalSerialize(
|
||||
target = ::_pbi::WireFormatLite::WriteBoolToArray(6, this->_internal_create_if_not_exists(), target);
|
||||
}
|
||||
|
||||
// string expire_when = 7;
|
||||
if (!this->_internal_expire_when().empty()) {
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
|
||||
this->_internal_expire_when().data(), static_cast<int>(this->_internal_expire_when().length()),
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
|
||||
"greptime.v1.CreateFlowExpr.expire_when");
|
||||
target = stream->WriteStringMaybeAliased(
|
||||
7, this->_internal_expire_when(), target);
|
||||
// .greptime.v1.ExpireAfter expire_after = 7;
|
||||
if (this->_internal_has_expire_after()) {
|
||||
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||
InternalWriteMessage(7, _Internal::expire_after(this),
|
||||
_Internal::expire_after(this).GetCachedSize(), target, stream);
|
||||
}
|
||||
|
||||
// string comment = 8;
|
||||
@@ -2054,13 +2055,6 @@ size_t CreateFlowExpr::ByteSizeLong() const {
|
||||
this->_internal_flow_name());
|
||||
}
|
||||
|
||||
// string expire_when = 7;
|
||||
if (!this->_internal_expire_when().empty()) {
|
||||
total_size += 1 +
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
|
||||
this->_internal_expire_when());
|
||||
}
|
||||
|
||||
// string comment = 8;
|
||||
if (!this->_internal_comment().empty()) {
|
||||
total_size += 1 +
|
||||
@@ -2082,6 +2076,13 @@ size_t CreateFlowExpr::ByteSizeLong() const {
|
||||
*_impl_.sink_table_name_);
|
||||
}
|
||||
|
||||
// .greptime.v1.ExpireAfter expire_after = 7;
|
||||
if (this->_internal_has_expire_after()) {
|
||||
total_size += 1 +
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
|
||||
*_impl_.expire_after_);
|
||||
}
|
||||
|
||||
// bool or_replace = 5;
|
||||
if (this->_internal_or_replace() != 0) {
|
||||
total_size += 1 + 1;
|
||||
@@ -2118,9 +2119,6 @@ void CreateFlowExpr::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const :
|
||||
if (!from._internal_flow_name().empty()) {
|
||||
_this->_internal_set_flow_name(from._internal_flow_name());
|
||||
}
|
||||
if (!from._internal_expire_when().empty()) {
|
||||
_this->_internal_set_expire_when(from._internal_expire_when());
|
||||
}
|
||||
if (!from._internal_comment().empty()) {
|
||||
_this->_internal_set_comment(from._internal_comment());
|
||||
}
|
||||
@@ -2131,6 +2129,10 @@ void CreateFlowExpr::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const :
|
||||
_this->_internal_mutable_sink_table_name()->::greptime::v1::TableName::MergeFrom(
|
||||
from._internal_sink_table_name());
|
||||
}
|
||||
if (from._internal_has_expire_after()) {
|
||||
_this->_internal_mutable_expire_after()->::greptime::v1::ExpireAfter::MergeFrom(
|
||||
from._internal_expire_after());
|
||||
}
|
||||
if (from._internal_or_replace() != 0) {
|
||||
_this->_internal_set_or_replace(from._internal_or_replace());
|
||||
}
|
||||
@@ -2166,10 +2168,6 @@ void CreateFlowExpr::InternalSwap(CreateFlowExpr* other) {
|
||||
&_impl_.flow_name_, lhs_arena,
|
||||
&other->_impl_.flow_name_, rhs_arena
|
||||
);
|
||||
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
|
||||
&_impl_.expire_when_, lhs_arena,
|
||||
&other->_impl_.expire_when_, rhs_arena
|
||||
);
|
||||
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
|
||||
&_impl_.comment_, lhs_arena,
|
||||
&other->_impl_.comment_, rhs_arena
|
||||
|
||||
+94
-55
@@ -691,10 +691,10 @@ class CreateFlowExpr final :
|
||||
kFlowOptionsFieldNumber = 10,
|
||||
kCatalogNameFieldNumber = 1,
|
||||
kFlowNameFieldNumber = 2,
|
||||
kExpireWhenFieldNumber = 7,
|
||||
kCommentFieldNumber = 8,
|
||||
kSqlFieldNumber = 9,
|
||||
kSinkTableNameFieldNumber = 4,
|
||||
kExpireAfterFieldNumber = 7,
|
||||
kOrReplaceFieldNumber = 5,
|
||||
kCreateIfNotExistsFieldNumber = 6,
|
||||
};
|
||||
@@ -761,20 +761,6 @@ class CreateFlowExpr final :
|
||||
std::string* _internal_mutable_flow_name();
|
||||
public:
|
||||
|
||||
// string expire_when = 7;
|
||||
void clear_expire_when();
|
||||
const std::string& expire_when() const;
|
||||
template <typename ArgT0 = const std::string&, typename... ArgT>
|
||||
void set_expire_when(ArgT0&& arg0, ArgT... args);
|
||||
std::string* mutable_expire_when();
|
||||
PROTOBUF_NODISCARD std::string* release_expire_when();
|
||||
void set_allocated_expire_when(std::string* expire_when);
|
||||
private:
|
||||
const std::string& _internal_expire_when() const;
|
||||
inline PROTOBUF_ALWAYS_INLINE void _internal_set_expire_when(const std::string& value);
|
||||
std::string* _internal_mutable_expire_when();
|
||||
public:
|
||||
|
||||
// string comment = 8;
|
||||
void clear_comment();
|
||||
const std::string& comment() const;
|
||||
@@ -821,6 +807,24 @@ class CreateFlowExpr final :
|
||||
::greptime::v1::TableName* sink_table_name);
|
||||
::greptime::v1::TableName* unsafe_arena_release_sink_table_name();
|
||||
|
||||
// .greptime.v1.ExpireAfter expire_after = 7;
|
||||
bool has_expire_after() const;
|
||||
private:
|
||||
bool _internal_has_expire_after() const;
|
||||
public:
|
||||
void clear_expire_after();
|
||||
const ::greptime::v1::ExpireAfter& expire_after() const;
|
||||
PROTOBUF_NODISCARD ::greptime::v1::ExpireAfter* release_expire_after();
|
||||
::greptime::v1::ExpireAfter* mutable_expire_after();
|
||||
void set_allocated_expire_after(::greptime::v1::ExpireAfter* expire_after);
|
||||
private:
|
||||
const ::greptime::v1::ExpireAfter& _internal_expire_after() const;
|
||||
::greptime::v1::ExpireAfter* _internal_mutable_expire_after();
|
||||
public:
|
||||
void unsafe_arena_set_allocated_expire_after(
|
||||
::greptime::v1::ExpireAfter* expire_after);
|
||||
::greptime::v1::ExpireAfter* unsafe_arena_release_expire_after();
|
||||
|
||||
// bool or_replace = 5;
|
||||
void clear_or_replace();
|
||||
bool or_replace() const;
|
||||
@@ -855,10 +859,10 @@ class CreateFlowExpr final :
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> flow_options_;
|
||||
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr catalog_name_;
|
||||
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr flow_name_;
|
||||
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr expire_when_;
|
||||
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr comment_;
|
||||
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sql_;
|
||||
::greptime::v1::TableName* sink_table_name_;
|
||||
::greptime::v1::ExpireAfter* expire_after_;
|
||||
bool or_replace_;
|
||||
bool create_if_not_exists_;
|
||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||
@@ -5812,54 +5816,89 @@ inline void CreateFlowExpr::set_create_if_not_exists(bool value) {
|
||||
// @@protoc_insertion_point(field_set:greptime.v1.CreateFlowExpr.create_if_not_exists)
|
||||
}
|
||||
|
||||
// string expire_when = 7;
|
||||
inline void CreateFlowExpr::clear_expire_when() {
|
||||
_impl_.expire_when_.ClearToEmpty();
|
||||
// .greptime.v1.ExpireAfter expire_after = 7;
|
||||
inline bool CreateFlowExpr::_internal_has_expire_after() const {
|
||||
return this != internal_default_instance() && _impl_.expire_after_ != nullptr;
|
||||
}
|
||||
inline const std::string& CreateFlowExpr::expire_when() const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.CreateFlowExpr.expire_when)
|
||||
return _internal_expire_when();
|
||||
inline bool CreateFlowExpr::has_expire_after() const {
|
||||
return _internal_has_expire_after();
|
||||
}
|
||||
template <typename ArgT0, typename... ArgT>
|
||||
inline PROTOBUF_ALWAYS_INLINE
|
||||
void CreateFlowExpr::set_expire_when(ArgT0&& arg0, ArgT... args) {
|
||||
|
||||
_impl_.expire_when_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
|
||||
// @@protoc_insertion_point(field_set:greptime.v1.CreateFlowExpr.expire_when)
|
||||
inline const ::greptime::v1::ExpireAfter& CreateFlowExpr::_internal_expire_after() const {
|
||||
const ::greptime::v1::ExpireAfter* p = _impl_.expire_after_;
|
||||
return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::ExpireAfter&>(
|
||||
::greptime::v1::_ExpireAfter_default_instance_);
|
||||
}
|
||||
inline std::string* CreateFlowExpr::mutable_expire_when() {
|
||||
std::string* _s = _internal_mutable_expire_when();
|
||||
// @@protoc_insertion_point(field_mutable:greptime.v1.CreateFlowExpr.expire_when)
|
||||
return _s;
|
||||
inline const ::greptime::v1::ExpireAfter& CreateFlowExpr::expire_after() const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.CreateFlowExpr.expire_after)
|
||||
return _internal_expire_after();
|
||||
}
|
||||
inline const std::string& CreateFlowExpr::_internal_expire_when() const {
|
||||
return _impl_.expire_when_.Get();
|
||||
}
|
||||
inline void CreateFlowExpr::_internal_set_expire_when(const std::string& value) {
|
||||
|
||||
_impl_.expire_when_.Set(value, GetArenaForAllocation());
|
||||
}
|
||||
inline std::string* CreateFlowExpr::_internal_mutable_expire_when() {
|
||||
|
||||
return _impl_.expire_when_.Mutable(GetArenaForAllocation());
|
||||
}
|
||||
inline std::string* CreateFlowExpr::release_expire_when() {
|
||||
// @@protoc_insertion_point(field_release:greptime.v1.CreateFlowExpr.expire_when)
|
||||
return _impl_.expire_when_.Release();
|
||||
}
|
||||
inline void CreateFlowExpr::set_allocated_expire_when(std::string* expire_when) {
|
||||
if (expire_when != nullptr) {
|
||||
inline void CreateFlowExpr::unsafe_arena_set_allocated_expire_after(
|
||||
::greptime::v1::ExpireAfter* expire_after) {
|
||||
if (GetArenaForAllocation() == nullptr) {
|
||||
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.expire_after_);
|
||||
}
|
||||
_impl_.expire_after_ = expire_after;
|
||||
if (expire_after) {
|
||||
|
||||
} else {
|
||||
|
||||
}
|
||||
_impl_.expire_when_.SetAllocated(expire_when, GetArenaForAllocation());
|
||||
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
if (_impl_.expire_when_.IsDefault()) {
|
||||
_impl_.expire_when_.Set("", GetArenaForAllocation());
|
||||
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.CreateFlowExpr.expire_after)
|
||||
}
|
||||
inline ::greptime::v1::ExpireAfter* CreateFlowExpr::release_expire_after() {
|
||||
|
||||
::greptime::v1::ExpireAfter* temp = _impl_.expire_after_;
|
||||
_impl_.expire_after_ = 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_DEFAULT_STRING
|
||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.CreateFlowExpr.expire_when)
|
||||
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
|
||||
return temp;
|
||||
}
|
||||
inline ::greptime::v1::ExpireAfter* CreateFlowExpr::unsafe_arena_release_expire_after() {
|
||||
// @@protoc_insertion_point(field_release:greptime.v1.CreateFlowExpr.expire_after)
|
||||
|
||||
::greptime::v1::ExpireAfter* temp = _impl_.expire_after_;
|
||||
_impl_.expire_after_ = nullptr;
|
||||
return temp;
|
||||
}
|
||||
inline ::greptime::v1::ExpireAfter* CreateFlowExpr::_internal_mutable_expire_after() {
|
||||
|
||||
if (_impl_.expire_after_ == nullptr) {
|
||||
auto* p = CreateMaybeMessage<::greptime::v1::ExpireAfter>(GetArenaForAllocation());
|
||||
_impl_.expire_after_ = p;
|
||||
}
|
||||
return _impl_.expire_after_;
|
||||
}
|
||||
inline ::greptime::v1::ExpireAfter* CreateFlowExpr::mutable_expire_after() {
|
||||
::greptime::v1::ExpireAfter* _msg = _internal_mutable_expire_after();
|
||||
// @@protoc_insertion_point(field_mutable:greptime.v1.CreateFlowExpr.expire_after)
|
||||
return _msg;
|
||||
}
|
||||
inline void CreateFlowExpr::set_allocated_expire_after(::greptime::v1::ExpireAfter* expire_after) {
|
||||
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||
if (message_arena == nullptr) {
|
||||
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.expire_after_);
|
||||
}
|
||||
if (expire_after) {
|
||||
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
||||
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
|
||||
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(expire_after));
|
||||
if (message_arena != submessage_arena) {
|
||||
expire_after = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
||||
message_arena, expire_after, submessage_arena);
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
}
|
||||
_impl_.expire_after_ = expire_after;
|
||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.CreateFlowExpr.expire_after)
|
||||
}
|
||||
|
||||
// string comment = 8;
|
||||
|
||||
@@ -132,11 +132,11 @@ PROTOBUF_CONSTEXPR CreateRequest::CreateRequest(
|
||||
::_pbi::ConstantInitialized): _impl_{
|
||||
/*decltype(_impl_.source_table_ids_)*/{}
|
||||
, /*decltype(_impl_.flow_options_)*/{::_pbi::ConstantInitialized()}
|
||||
, /*decltype(_impl_.expire_when_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
||||
, /*decltype(_impl_.comment_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
||||
, /*decltype(_impl_.sql_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
||||
, /*decltype(_impl_.flow_id_)*/nullptr
|
||||
, /*decltype(_impl_.sink_table_name_)*/nullptr
|
||||
, /*decltype(_impl_.expire_after_)*/nullptr
|
||||
, /*decltype(_impl_.create_if_not_exists_)*/false
|
||||
, /*decltype(_impl_._cached_size_)*/{}} {}
|
||||
struct CreateRequestDefaultTypeInternal {
|
||||
@@ -252,7 +252,7 @@ const uint32_t TableStruct_greptime_2fv1_2fflow_2fserver_2eproto::offsets[] PROT
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::CreateRequest, _impl_.source_table_ids_),
|
||||
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_when_),
|
||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::flow::CreateRequest, _impl_.expire_after_),
|
||||
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_),
|
||||
@@ -313,24 +313,25 @@ const char descriptor_table_protodef_greptime_2fv1_2fflow_2fserver_2eproto[] PRO
|
||||
"ime.v1.FlowId\022@\n\textension\030\004 \003(\0132-.grept"
|
||||
"ime.v1.flow.FlowResponse.ExtensionEntry\032"
|
||||
"0\n\016ExtensionEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030"
|
||||
"\002 \001(\014:\0028\001\"\343\002\n\rCreateRequest\022$\n\007flow_id\030\001"
|
||||
"\002 \001(\014:\0028\001\"\376\002\n\rCreateRequest\022$\n\007flow_id\030\001"
|
||||
" \001(\0132\023.greptime.v1.FlowId\022.\n\020source_tabl"
|
||||
"e_ids\030\002 \003(\0132\024.greptime.v1.TableId\022/\n\017sin"
|
||||
"k_table_name\030\003 \001(\0132\026.greptime.v1.TableNa"
|
||||
"me\022\034\n\024create_if_not_exists\030\004 \001(\010\022\023\n\013expi"
|
||||
"re_when\030\005 \001(\t\022\017\n\007comment\030\006 \001(\t\022\013\n\003sql\030\007 "
|
||||
"\001(\t\022F\n\014flow_options\030\010 \003(\01320.greptime.v1."
|
||||
"flow.CreateRequest.FlowOptionsEntry\0322\n\020F"
|
||||
"lowOptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 "
|
||||
"\001(\t:\0028\001\"3\n\013DropRequest\022$\n\007flow_id\030\001 \001(\0132"
|
||||
"\023.greptime.v1.FlowId2\264\001\n\004Flow\022S\n\022HandleC"
|
||||
"reateRemove\022\035.greptime.v1.flow.FlowReque"
|
||||
"st\032\036.greptime.v1.flow.FlowResponse\022W\n\023Ha"
|
||||
"ndleMirrorRequest\022 .greptime.v1.flow.Ins"
|
||||
"ertRequests\032\036.greptime.v1.flow.FlowRespo"
|
||||
"nseBY\n\023io.greptime.v1.flowB\006ServerZ:gith"
|
||||
"ub.com/GreptimeTeam/greptime-proto/go/gr"
|
||||
"eptime/v1/flowb\006proto3"
|
||||
"me\022\034\n\024create_if_not_exists\030\004 \001(\010\022.\n\014expi"
|
||||
"re_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_o"
|
||||
"ptions\030\010 \003(\01320.greptime.v1.flow.CreateRe"
|
||||
"quest.FlowOptionsEntry\0322\n\020FlowOptionsEnt"
|
||||
"ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"3\n\013Dr"
|
||||
"opRequest\022$\n\007flow_id\030\001 \001(\0132\023.greptime.v1"
|
||||
".FlowId2\264\001\n\004Flow\022S\n\022HandleCreateRemove\022\035"
|
||||
".greptime.v1.flow.FlowRequest\032\036.greptime"
|
||||
".v1.flow.FlowResponse\022W\n\023HandleMirrorReq"
|
||||
"uest\022 .greptime.v1.flow.InsertRequests\032\036"
|
||||
".greptime.v1.flow.FlowResponseBY\n\023io.gre"
|
||||
"ptime.v1.flowB\006ServerZ:github.com/Grepti"
|
||||
"meTeam/greptime-proto/go/greptime/v1/flo"
|
||||
"wb\006proto3"
|
||||
;
|
||||
static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fflow_2fserver_2eproto_deps[3] = {
|
||||
&::descriptor_table_greptime_2fv1_2fcommon_2eproto,
|
||||
@@ -339,7 +340,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, 1582, descriptor_table_protodef_greptime_2fv1_2fflow_2fserver_2eproto,
|
||||
false, false, 1609, 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, 10,
|
||||
schemas, file_default_instances, TableStruct_greptime_2fv1_2fflow_2fserver_2eproto::offsets,
|
||||
@@ -1764,6 +1765,7 @@ class CreateRequest::_Internal {
|
||||
public:
|
||||
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);
|
||||
};
|
||||
|
||||
const ::greptime::v1::FlowId&
|
||||
@@ -1774,6 +1776,10 @@ const ::greptime::v1::TableName&
|
||||
CreateRequest::_Internal::sink_table_name(const CreateRequest* msg) {
|
||||
return *msg->_impl_.sink_table_name_;
|
||||
}
|
||||
const ::greptime::v1::ExpireAfter&
|
||||
CreateRequest::_Internal::expire_after(const CreateRequest* msg) {
|
||||
return *msg->_impl_.expire_after_;
|
||||
}
|
||||
void CreateRequest::clear_flow_id() {
|
||||
if (GetArenaForAllocation() == nullptr && _impl_.flow_id_ != nullptr) {
|
||||
delete _impl_.flow_id_;
|
||||
@@ -1789,6 +1795,12 @@ void CreateRequest::clear_sink_table_name() {
|
||||
}
|
||||
_impl_.sink_table_name_ = nullptr;
|
||||
}
|
||||
void CreateRequest::clear_expire_after() {
|
||||
if (GetArenaForAllocation() == nullptr && _impl_.expire_after_ != nullptr) {
|
||||
delete _impl_.expire_after_;
|
||||
}
|
||||
_impl_.expire_after_ = nullptr;
|
||||
}
|
||||
CreateRequest::CreateRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||
bool is_message_owned)
|
||||
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
|
||||
@@ -1804,24 +1816,16 @@ CreateRequest::CreateRequest(const CreateRequest& from)
|
||||
new (&_impl_) Impl_{
|
||||
decltype(_impl_.source_table_ids_){from._impl_.source_table_ids_}
|
||||
, /*decltype(_impl_.flow_options_)*/{}
|
||||
, decltype(_impl_.expire_when_){}
|
||||
, decltype(_impl_.comment_){}
|
||||
, decltype(_impl_.sql_){}
|
||||
, decltype(_impl_.flow_id_){nullptr}
|
||||
, decltype(_impl_.sink_table_name_){nullptr}
|
||||
, decltype(_impl_.expire_after_){nullptr}
|
||||
, decltype(_impl_.create_if_not_exists_){}
|
||||
, /*decltype(_impl_._cached_size_)*/{}};
|
||||
|
||||
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||
_this->_impl_.flow_options_.MergeFrom(from._impl_.flow_options_);
|
||||
_impl_.expire_when_.InitDefault();
|
||||
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
_impl_.expire_when_.Set("", GetArenaForAllocation());
|
||||
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
if (!from._internal_expire_when().empty()) {
|
||||
_this->_impl_.expire_when_.Set(from._internal_expire_when(),
|
||||
_this->GetArenaForAllocation());
|
||||
}
|
||||
_impl_.comment_.InitDefault();
|
||||
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
_impl_.comment_.Set("", GetArenaForAllocation());
|
||||
@@ -1844,6 +1848,9 @@ CreateRequest::CreateRequest(const CreateRequest& from)
|
||||
if (from._internal_has_sink_table_name()) {
|
||||
_this->_impl_.sink_table_name_ = new ::greptime::v1::TableName(*from._impl_.sink_table_name_);
|
||||
}
|
||||
if (from._internal_has_expire_after()) {
|
||||
_this->_impl_.expire_after_ = new ::greptime::v1::ExpireAfter(*from._impl_.expire_after_);
|
||||
}
|
||||
_this->_impl_.create_if_not_exists_ = from._impl_.create_if_not_exists_;
|
||||
// @@protoc_insertion_point(copy_constructor:greptime.v1.flow.CreateRequest)
|
||||
}
|
||||
@@ -1855,18 +1862,14 @@ inline void CreateRequest::SharedCtor(
|
||||
new (&_impl_) Impl_{
|
||||
decltype(_impl_.source_table_ids_){arena}
|
||||
, /*decltype(_impl_.flow_options_)*/{::_pbi::ArenaInitialized(), arena}
|
||||
, decltype(_impl_.expire_when_){}
|
||||
, decltype(_impl_.comment_){}
|
||||
, decltype(_impl_.sql_){}
|
||||
, decltype(_impl_.flow_id_){nullptr}
|
||||
, decltype(_impl_.sink_table_name_){nullptr}
|
||||
, decltype(_impl_.expire_after_){nullptr}
|
||||
, decltype(_impl_.create_if_not_exists_){false}
|
||||
, /*decltype(_impl_._cached_size_)*/{}
|
||||
};
|
||||
_impl_.expire_when_.InitDefault();
|
||||
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
_impl_.expire_when_.Set("", GetArenaForAllocation());
|
||||
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
_impl_.comment_.InitDefault();
|
||||
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
_impl_.comment_.Set("", GetArenaForAllocation());
|
||||
@@ -1892,11 +1895,11 @@ inline void CreateRequest::SharedDtor() {
|
||||
_impl_.source_table_ids_.~RepeatedPtrField();
|
||||
_impl_.flow_options_.Destruct();
|
||||
_impl_.flow_options_.~MapField();
|
||||
_impl_.expire_when_.Destroy();
|
||||
_impl_.comment_.Destroy();
|
||||
_impl_.sql_.Destroy();
|
||||
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_;
|
||||
}
|
||||
|
||||
void CreateRequest::ArenaDtor(void* object) {
|
||||
@@ -1915,7 +1918,6 @@ void CreateRequest::Clear() {
|
||||
|
||||
_impl_.source_table_ids_.Clear();
|
||||
_impl_.flow_options_.Clear();
|
||||
_impl_.expire_when_.ClearToEmpty();
|
||||
_impl_.comment_.ClearToEmpty();
|
||||
_impl_.sql_.ClearToEmpty();
|
||||
if (GetArenaForAllocation() == nullptr && _impl_.flow_id_ != nullptr) {
|
||||
@@ -1926,6 +1928,10 @@ void CreateRequest::Clear() {
|
||||
delete _impl_.sink_table_name_;
|
||||
}
|
||||
_impl_.sink_table_name_ = nullptr;
|
||||
if (GetArenaForAllocation() == nullptr && _impl_.expire_after_ != nullptr) {
|
||||
delete _impl_.expire_after_;
|
||||
}
|
||||
_impl_.expire_after_ = nullptr;
|
||||
_impl_.create_if_not_exists_ = false;
|
||||
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
||||
}
|
||||
@@ -1973,13 +1979,11 @@ const char* CreateRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext*
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
// string expire_when = 5;
|
||||
// .greptime.v1.ExpireAfter expire_after = 5;
|
||||
case 5:
|
||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 42)) {
|
||||
auto str = _internal_mutable_expire_when();
|
||||
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
|
||||
ptr = ctx->ParseMessage(_internal_mutable_expire_after(), ptr);
|
||||
CHK_(ptr);
|
||||
CHK_(::_pbi::VerifyUTF8(str, "greptime.v1.flow.CreateRequest.expire_when"));
|
||||
} else
|
||||
goto handle_unusual;
|
||||
continue;
|
||||
@@ -2073,14 +2077,11 @@ uint8_t* CreateRequest::_InternalSerialize(
|
||||
target = ::_pbi::WireFormatLite::WriteBoolToArray(4, this->_internal_create_if_not_exists(), target);
|
||||
}
|
||||
|
||||
// string expire_when = 5;
|
||||
if (!this->_internal_expire_when().empty()) {
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
|
||||
this->_internal_expire_when().data(), static_cast<int>(this->_internal_expire_when().length()),
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
|
||||
"greptime.v1.flow.CreateRequest.expire_when");
|
||||
target = stream->WriteStringMaybeAliased(
|
||||
5, this->_internal_expire_when(), target);
|
||||
// .greptime.v1.ExpireAfter expire_after = 5;
|
||||
if (this->_internal_has_expire_after()) {
|
||||
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||
InternalWriteMessage(5, _Internal::expire_after(this),
|
||||
_Internal::expire_after(this).GetCachedSize(), target, stream);
|
||||
}
|
||||
|
||||
// string comment = 6;
|
||||
@@ -2165,13 +2166,6 @@ size_t CreateRequest::ByteSizeLong() const {
|
||||
total_size += CreateRequest_FlowOptionsEntry_DoNotUse::Funcs::ByteSizeLong(it->first, it->second);
|
||||
}
|
||||
|
||||
// string expire_when = 5;
|
||||
if (!this->_internal_expire_when().empty()) {
|
||||
total_size += 1 +
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
|
||||
this->_internal_expire_when());
|
||||
}
|
||||
|
||||
// string comment = 6;
|
||||
if (!this->_internal_comment().empty()) {
|
||||
total_size += 1 +
|
||||
@@ -2200,6 +2194,13 @@ size_t CreateRequest::ByteSizeLong() const {
|
||||
*_impl_.sink_table_name_);
|
||||
}
|
||||
|
||||
// .greptime.v1.ExpireAfter expire_after = 5;
|
||||
if (this->_internal_has_expire_after()) {
|
||||
total_size += 1 +
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
|
||||
*_impl_.expire_after_);
|
||||
}
|
||||
|
||||
// bool create_if_not_exists = 4;
|
||||
if (this->_internal_create_if_not_exists() != 0) {
|
||||
total_size += 1 + 1;
|
||||
@@ -2225,9 +2226,6 @@ void CreateRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::
|
||||
|
||||
_this->_impl_.source_table_ids_.MergeFrom(from._impl_.source_table_ids_);
|
||||
_this->_impl_.flow_options_.MergeFrom(from._impl_.flow_options_);
|
||||
if (!from._internal_expire_when().empty()) {
|
||||
_this->_internal_set_expire_when(from._internal_expire_when());
|
||||
}
|
||||
if (!from._internal_comment().empty()) {
|
||||
_this->_internal_set_comment(from._internal_comment());
|
||||
}
|
||||
@@ -2242,6 +2240,10 @@ void CreateRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::
|
||||
_this->_internal_mutable_sink_table_name()->::greptime::v1::TableName::MergeFrom(
|
||||
from._internal_sink_table_name());
|
||||
}
|
||||
if (from._internal_has_expire_after()) {
|
||||
_this->_internal_mutable_expire_after()->::greptime::v1::ExpireAfter::MergeFrom(
|
||||
from._internal_expire_after());
|
||||
}
|
||||
if (from._internal_create_if_not_exists() != 0) {
|
||||
_this->_internal_set_create_if_not_exists(from._internal_create_if_not_exists());
|
||||
}
|
||||
@@ -2266,10 +2268,6 @@ void CreateRequest::InternalSwap(CreateRequest* other) {
|
||||
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
||||
_impl_.source_table_ids_.InternalSwap(&other->_impl_.source_table_ids_);
|
||||
_impl_.flow_options_.InternalSwap(&other->_impl_.flow_options_);
|
||||
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
|
||||
&_impl_.expire_when_, lhs_arena,
|
||||
&other->_impl_.expire_when_, rhs_arena
|
||||
);
|
||||
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::InternalSwap(
|
||||
&_impl_.comment_, lhs_arena,
|
||||
&other->_impl_.comment_, rhs_arena
|
||||
|
||||
@@ -1250,11 +1250,11 @@ class CreateRequest final :
|
||||
enum : int {
|
||||
kSourceTableIdsFieldNumber = 2,
|
||||
kFlowOptionsFieldNumber = 8,
|
||||
kExpireWhenFieldNumber = 5,
|
||||
kCommentFieldNumber = 6,
|
||||
kSqlFieldNumber = 7,
|
||||
kFlowIdFieldNumber = 1,
|
||||
kSinkTableNameFieldNumber = 3,
|
||||
kExpireAfterFieldNumber = 5,
|
||||
kCreateIfNotExistsFieldNumber = 4,
|
||||
};
|
||||
// repeated .greptime.v1.TableId source_table_ids = 2;
|
||||
@@ -1292,20 +1292,6 @@ class CreateRequest final :
|
||||
::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >*
|
||||
mutable_flow_options();
|
||||
|
||||
// string expire_when = 5;
|
||||
void clear_expire_when();
|
||||
const std::string& expire_when() const;
|
||||
template <typename ArgT0 = const std::string&, typename... ArgT>
|
||||
void set_expire_when(ArgT0&& arg0, ArgT... args);
|
||||
std::string* mutable_expire_when();
|
||||
PROTOBUF_NODISCARD std::string* release_expire_when();
|
||||
void set_allocated_expire_when(std::string* expire_when);
|
||||
private:
|
||||
const std::string& _internal_expire_when() const;
|
||||
inline PROTOBUF_ALWAYS_INLINE void _internal_set_expire_when(const std::string& value);
|
||||
std::string* _internal_mutable_expire_when();
|
||||
public:
|
||||
|
||||
// string comment = 6;
|
||||
void clear_comment();
|
||||
const std::string& comment() const;
|
||||
@@ -1370,6 +1356,24 @@ class CreateRequest final :
|
||||
::greptime::v1::TableName* sink_table_name);
|
||||
::greptime::v1::TableName* unsafe_arena_release_sink_table_name();
|
||||
|
||||
// .greptime.v1.ExpireAfter expire_after = 5;
|
||||
bool has_expire_after() const;
|
||||
private:
|
||||
bool _internal_has_expire_after() const;
|
||||
public:
|
||||
void clear_expire_after();
|
||||
const ::greptime::v1::ExpireAfter& expire_after() const;
|
||||
PROTOBUF_NODISCARD ::greptime::v1::ExpireAfter* release_expire_after();
|
||||
::greptime::v1::ExpireAfter* mutable_expire_after();
|
||||
void set_allocated_expire_after(::greptime::v1::ExpireAfter* expire_after);
|
||||
private:
|
||||
const ::greptime::v1::ExpireAfter& _internal_expire_after() const;
|
||||
::greptime::v1::ExpireAfter* _internal_mutable_expire_after();
|
||||
public:
|
||||
void unsafe_arena_set_allocated_expire_after(
|
||||
::greptime::v1::ExpireAfter* expire_after);
|
||||
::greptime::v1::ExpireAfter* unsafe_arena_release_expire_after();
|
||||
|
||||
// bool create_if_not_exists = 4;
|
||||
void clear_create_if_not_exists();
|
||||
bool create_if_not_exists() const;
|
||||
@@ -1393,11 +1397,11 @@ class CreateRequest final :
|
||||
std::string, std::string,
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
|
||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> flow_options_;
|
||||
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr expire_when_;
|
||||
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr comment_;
|
||||
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sql_;
|
||||
::greptime::v1::FlowId* flow_id_;
|
||||
::greptime::v1::TableName* sink_table_name_;
|
||||
::greptime::v1::ExpireAfter* expire_after_;
|
||||
bool create_if_not_exists_;
|
||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||
};
|
||||
@@ -2502,54 +2506,89 @@ inline void CreateRequest::set_create_if_not_exists(bool value) {
|
||||
// @@protoc_insertion_point(field_set:greptime.v1.flow.CreateRequest.create_if_not_exists)
|
||||
}
|
||||
|
||||
// string expire_when = 5;
|
||||
inline void CreateRequest::clear_expire_when() {
|
||||
_impl_.expire_when_.ClearToEmpty();
|
||||
// .greptime.v1.ExpireAfter expire_after = 5;
|
||||
inline bool CreateRequest::_internal_has_expire_after() const {
|
||||
return this != internal_default_instance() && _impl_.expire_after_ != nullptr;
|
||||
}
|
||||
inline const std::string& CreateRequest::expire_when() const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.flow.CreateRequest.expire_when)
|
||||
return _internal_expire_when();
|
||||
inline bool CreateRequest::has_expire_after() const {
|
||||
return _internal_has_expire_after();
|
||||
}
|
||||
template <typename ArgT0, typename... ArgT>
|
||||
inline PROTOBUF_ALWAYS_INLINE
|
||||
void CreateRequest::set_expire_when(ArgT0&& arg0, ArgT... args) {
|
||||
|
||||
_impl_.expire_when_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
|
||||
// @@protoc_insertion_point(field_set:greptime.v1.flow.CreateRequest.expire_when)
|
||||
inline const ::greptime::v1::ExpireAfter& CreateRequest::_internal_expire_after() const {
|
||||
const ::greptime::v1::ExpireAfter* p = _impl_.expire_after_;
|
||||
return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::ExpireAfter&>(
|
||||
::greptime::v1::_ExpireAfter_default_instance_);
|
||||
}
|
||||
inline std::string* CreateRequest::mutable_expire_when() {
|
||||
std::string* _s = _internal_mutable_expire_when();
|
||||
// @@protoc_insertion_point(field_mutable:greptime.v1.flow.CreateRequest.expire_when)
|
||||
return _s;
|
||||
inline const ::greptime::v1::ExpireAfter& CreateRequest::expire_after() const {
|
||||
// @@protoc_insertion_point(field_get:greptime.v1.flow.CreateRequest.expire_after)
|
||||
return _internal_expire_after();
|
||||
}
|
||||
inline const std::string& CreateRequest::_internal_expire_when() const {
|
||||
return _impl_.expire_when_.Get();
|
||||
}
|
||||
inline void CreateRequest::_internal_set_expire_when(const std::string& value) {
|
||||
|
||||
_impl_.expire_when_.Set(value, GetArenaForAllocation());
|
||||
}
|
||||
inline std::string* CreateRequest::_internal_mutable_expire_when() {
|
||||
|
||||
return _impl_.expire_when_.Mutable(GetArenaForAllocation());
|
||||
}
|
||||
inline std::string* CreateRequest::release_expire_when() {
|
||||
// @@protoc_insertion_point(field_release:greptime.v1.flow.CreateRequest.expire_when)
|
||||
return _impl_.expire_when_.Release();
|
||||
}
|
||||
inline void CreateRequest::set_allocated_expire_when(std::string* expire_when) {
|
||||
if (expire_when != nullptr) {
|
||||
inline void CreateRequest::unsafe_arena_set_allocated_expire_after(
|
||||
::greptime::v1::ExpireAfter* expire_after) {
|
||||
if (GetArenaForAllocation() == nullptr) {
|
||||
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.expire_after_);
|
||||
}
|
||||
_impl_.expire_after_ = expire_after;
|
||||
if (expire_after) {
|
||||
|
||||
} else {
|
||||
|
||||
}
|
||||
_impl_.expire_when_.SetAllocated(expire_when, GetArenaForAllocation());
|
||||
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||
if (_impl_.expire_when_.IsDefault()) {
|
||||
_impl_.expire_when_.Set("", GetArenaForAllocation());
|
||||
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.flow.CreateRequest.expire_after)
|
||||
}
|
||||
inline ::greptime::v1::ExpireAfter* CreateRequest::release_expire_after() {
|
||||
|
||||
::greptime::v1::ExpireAfter* temp = _impl_.expire_after_;
|
||||
_impl_.expire_after_ = 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_DEFAULT_STRING
|
||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.flow.CreateRequest.expire_when)
|
||||
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
|
||||
return temp;
|
||||
}
|
||||
inline ::greptime::v1::ExpireAfter* CreateRequest::unsafe_arena_release_expire_after() {
|
||||
// @@protoc_insertion_point(field_release:greptime.v1.flow.CreateRequest.expire_after)
|
||||
|
||||
::greptime::v1::ExpireAfter* temp = _impl_.expire_after_;
|
||||
_impl_.expire_after_ = nullptr;
|
||||
return temp;
|
||||
}
|
||||
inline ::greptime::v1::ExpireAfter* CreateRequest::_internal_mutable_expire_after() {
|
||||
|
||||
if (_impl_.expire_after_ == nullptr) {
|
||||
auto* p = CreateMaybeMessage<::greptime::v1::ExpireAfter>(GetArenaForAllocation());
|
||||
_impl_.expire_after_ = p;
|
||||
}
|
||||
return _impl_.expire_after_;
|
||||
}
|
||||
inline ::greptime::v1::ExpireAfter* CreateRequest::mutable_expire_after() {
|
||||
::greptime::v1::ExpireAfter* _msg = _internal_mutable_expire_after();
|
||||
// @@protoc_insertion_point(field_mutable:greptime.v1.flow.CreateRequest.expire_after)
|
||||
return _msg;
|
||||
}
|
||||
inline void CreateRequest::set_allocated_expire_after(::greptime::v1::ExpireAfter* expire_after) {
|
||||
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||
if (message_arena == nullptr) {
|
||||
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.expire_after_);
|
||||
}
|
||||
if (expire_after) {
|
||||
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
||||
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
|
||||
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(expire_after));
|
||||
if (message_arena != submessage_arena) {
|
||||
expire_after = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
||||
message_arena, expire_after, submessage_arena);
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
}
|
||||
_impl_.expire_after_ = expire_after;
|
||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.flow.CreateRequest.expire_after)
|
||||
}
|
||||
|
||||
// string comment = 6;
|
||||
|
||||
+162
-100
@@ -812,6 +812,53 @@ func (x *Metrics) GetMetrics() []byte {
|
||||
return nil
|
||||
}
|
||||
|
||||
type ExpireAfter struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
|
||||
}
|
||||
|
||||
func (x *ExpireAfter) Reset() {
|
||||
*x = ExpireAfter{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[10]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *ExpireAfter) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ExpireAfter) ProtoMessage() {}
|
||||
|
||||
func (x *ExpireAfter) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[10]
|
||||
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 ExpireAfter.ProtoReflect.Descriptor instead.
|
||||
func (*ExpireAfter) Descriptor() ([]byte, []int) {
|
||||
return file_greptime_v1_common_proto_rawDescGZIP(), []int{10}
|
||||
}
|
||||
|
||||
func (x *ExpireAfter) GetValue() int64 {
|
||||
if x != nil {
|
||||
return x.Value
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type FlightMetadata struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
@@ -824,7 +871,7 @@ type FlightMetadata struct {
|
||||
func (x *FlightMetadata) Reset() {
|
||||
*x = FlightMetadata{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[10]
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[11]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -837,7 +884,7 @@ func (x *FlightMetadata) String() string {
|
||||
func (*FlightMetadata) ProtoMessage() {}
|
||||
|
||||
func (x *FlightMetadata) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[10]
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[11]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -850,7 +897,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{10}
|
||||
return file_greptime_v1_common_proto_rawDescGZIP(), []int{11}
|
||||
}
|
||||
|
||||
func (x *FlightMetadata) GetAffectedRows() *AffectedRows {
|
||||
@@ -880,7 +927,7 @@ type IntervalMonthDayNano struct {
|
||||
func (x *IntervalMonthDayNano) Reset() {
|
||||
*x = IntervalMonthDayNano{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[11]
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[12]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -893,7 +940,7 @@ func (x *IntervalMonthDayNano) String() string {
|
||||
func (*IntervalMonthDayNano) ProtoMessage() {}
|
||||
|
||||
func (x *IntervalMonthDayNano) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[11]
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[12]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -906,7 +953,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{11}
|
||||
return file_greptime_v1_common_proto_rawDescGZIP(), []int{12}
|
||||
}
|
||||
|
||||
func (x *IntervalMonthDayNano) GetMonths() int32 {
|
||||
@@ -943,7 +990,7 @@ type Decimal128 struct {
|
||||
func (x *Decimal128) Reset() {
|
||||
*x = Decimal128{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[12]
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[13]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -956,7 +1003,7 @@ func (x *Decimal128) String() string {
|
||||
func (*Decimal128) ProtoMessage() {}
|
||||
|
||||
func (x *Decimal128) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[12]
|
||||
mi := &file_greptime_v1_common_proto_msgTypes[13]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -969,7 +1016,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{12}
|
||||
return file_greptime_v1_common_proto_rawDescGZIP(), []int{13}
|
||||
}
|
||||
|
||||
func (x *Decimal128) GetHi() int64 {
|
||||
@@ -1001,7 +1048,7 @@ type ColumnDataTypeExtension struct {
|
||||
func (x *ColumnDataTypeExtension) Reset() {
|
||||
*x = ColumnDataTypeExtension{}
|
||||
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)
|
||||
}
|
||||
@@ -1014,7 +1061,7 @@ func (x *ColumnDataTypeExtension) String() string {
|
||||
func (*ColumnDataTypeExtension) ProtoMessage() {}
|
||||
|
||||
func (x *ColumnDataTypeExtension) 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 {
|
||||
@@ -1027,7 +1074,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{13}
|
||||
return file_greptime_v1_common_proto_rawDescGZIP(), []int{14}
|
||||
}
|
||||
|
||||
func (m *ColumnDataTypeExtension) GetTypeExt() isColumnDataTypeExtension_TypeExt {
|
||||
@@ -1066,7 +1113,7 @@ type DecimalTypeExtension struct {
|
||||
func (x *DecimalTypeExtension) Reset() {
|
||||
*x = DecimalTypeExtension{}
|
||||
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)
|
||||
}
|
||||
@@ -1079,7 +1126,7 @@ func (x *DecimalTypeExtension) String() string {
|
||||
func (*DecimalTypeExtension) ProtoMessage() {}
|
||||
|
||||
func (x *DecimalTypeExtension) 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 {
|
||||
@@ -1092,7 +1139,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{14}
|
||||
return file_greptime_v1_common_proto_rawDescGZIP(), []int{15}
|
||||
}
|
||||
|
||||
func (x *DecimalTypeExtension) GetPrecision() int32 {
|
||||
@@ -1185,74 +1232,76 @@ var file_greptime_v1_common_proto_rawDesc = []byte{
|
||||
0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22,
|
||||
0x23, 0x0a, 0x07, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 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, 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, 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, 0x6d, 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, 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, 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, 0xd6, 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, 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,
|
||||
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, 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, 0x6d, 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, 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, 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, 0xd6,
|
||||
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, 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 (
|
||||
@@ -1268,7 +1317,7 @@ func file_greptime_v1_common_proto_rawDescGZIP() []byte {
|
||||
}
|
||||
|
||||
var file_greptime_v1_common_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
|
||||
var file_greptime_v1_common_proto_msgTypes = make([]protoimpl.MessageInfo, 17)
|
||||
var file_greptime_v1_common_proto_msgTypes = make([]protoimpl.MessageInfo, 18)
|
||||
var file_greptime_v1_common_proto_goTypes = []interface{}{
|
||||
(SemanticType)(0), // 0: greptime.v1.SemanticType
|
||||
(ColumnDataType)(0), // 1: greptime.v1.ColumnDataType
|
||||
@@ -1282,24 +1331,25 @@ var file_greptime_v1_common_proto_goTypes = []interface{}{
|
||||
(*TableName)(nil), // 9: greptime.v1.TableName
|
||||
(*AffectedRows)(nil), // 10: greptime.v1.AffectedRows
|
||||
(*Metrics)(nil), // 11: greptime.v1.Metrics
|
||||
(*FlightMetadata)(nil), // 12: greptime.v1.FlightMetadata
|
||||
(*IntervalMonthDayNano)(nil), // 13: greptime.v1.IntervalMonthDayNano
|
||||
(*Decimal128)(nil), // 14: greptime.v1.Decimal128
|
||||
(*ColumnDataTypeExtension)(nil), // 15: greptime.v1.ColumnDataTypeExtension
|
||||
(*DecimalTypeExtension)(nil), // 16: greptime.v1.DecimalTypeExtension
|
||||
nil, // 17: greptime.v1.QueryContext.ExtensionsEntry
|
||||
nil, // 18: greptime.v1.RequestHeader.TracingContextEntry
|
||||
(*ExpireAfter)(nil), // 12: greptime.v1.ExpireAfter
|
||||
(*FlightMetadata)(nil), // 13: greptime.v1.FlightMetadata
|
||||
(*IntervalMonthDayNano)(nil), // 14: greptime.v1.IntervalMonthDayNano
|
||||
(*Decimal128)(nil), // 15: greptime.v1.Decimal128
|
||||
(*ColumnDataTypeExtension)(nil), // 16: greptime.v1.ColumnDataTypeExtension
|
||||
(*DecimalTypeExtension)(nil), // 17: greptime.v1.DecimalTypeExtension
|
||||
nil, // 18: greptime.v1.QueryContext.ExtensionsEntry
|
||||
nil, // 19: greptime.v1.RequestHeader.TracingContextEntry
|
||||
}
|
||||
var file_greptime_v1_common_proto_depIdxs = []int32{
|
||||
17, // 0: greptime.v1.QueryContext.extensions:type_name -> greptime.v1.QueryContext.ExtensionsEntry
|
||||
18, // 0: greptime.v1.QueryContext.extensions:type_name -> greptime.v1.QueryContext.ExtensionsEntry
|
||||
6, // 1: greptime.v1.RequestHeader.authorization:type_name -> greptime.v1.AuthHeader
|
||||
18, // 2: greptime.v1.RequestHeader.tracing_context:type_name -> greptime.v1.RequestHeader.TracingContextEntry
|
||||
19, // 2: greptime.v1.RequestHeader.tracing_context:type_name -> greptime.v1.RequestHeader.TracingContextEntry
|
||||
5, // 3: greptime.v1.ResponseHeader.status:type_name -> greptime.v1.Status
|
||||
7, // 4: greptime.v1.AuthHeader.basic:type_name -> greptime.v1.Basic
|
||||
8, // 5: greptime.v1.AuthHeader.token:type_name -> greptime.v1.Token
|
||||
10, // 6: greptime.v1.FlightMetadata.affected_rows:type_name -> greptime.v1.AffectedRows
|
||||
11, // 7: greptime.v1.FlightMetadata.metrics:type_name -> greptime.v1.Metrics
|
||||
16, // 8: greptime.v1.ColumnDataTypeExtension.decimal_type:type_name -> greptime.v1.DecimalTypeExtension
|
||||
17, // 8: greptime.v1.ColumnDataTypeExtension.decimal_type:type_name -> greptime.v1.DecimalTypeExtension
|
||||
9, // [9:9] is the sub-list for method output_type
|
||||
9, // [9:9] is the sub-list for method input_type
|
||||
9, // [9:9] is the sub-list for extension type_name
|
||||
@@ -1434,7 +1484,7 @@ func file_greptime_v1_common_proto_init() {
|
||||
}
|
||||
}
|
||||
file_greptime_v1_common_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*FlightMetadata); i {
|
||||
switch v := v.(*ExpireAfter); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
@@ -1446,7 +1496,7 @@ func file_greptime_v1_common_proto_init() {
|
||||
}
|
||||
}
|
||||
file_greptime_v1_common_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*IntervalMonthDayNano); i {
|
||||
switch v := v.(*FlightMetadata); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
@@ -1458,7 +1508,7 @@ func file_greptime_v1_common_proto_init() {
|
||||
}
|
||||
}
|
||||
file_greptime_v1_common_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*Decimal128); i {
|
||||
switch v := v.(*IntervalMonthDayNano); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
@@ -1470,7 +1520,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.(*ColumnDataTypeExtension); i {
|
||||
switch v := v.(*Decimal128); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
@@ -1482,6 +1532,18 @@ func file_greptime_v1_common_proto_init() {
|
||||
}
|
||||
}
|
||||
file_greptime_v1_common_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*ColumnDataTypeExtension); 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[15].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*DecimalTypeExtension); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@@ -1498,7 +1560,7 @@ func file_greptime_v1_common_proto_init() {
|
||||
(*AuthHeader_Basic)(nil),
|
||||
(*AuthHeader_Token)(nil),
|
||||
}
|
||||
file_greptime_v1_common_proto_msgTypes[13].OneofWrappers = []interface{}{
|
||||
file_greptime_v1_common_proto_msgTypes[14].OneofWrappers = []interface{}{
|
||||
(*ColumnDataTypeExtension_DecimalType)(nil),
|
||||
}
|
||||
type x struct{}
|
||||
@@ -1507,7 +1569,7 @@ func file_greptime_v1_common_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_greptime_v1_common_proto_rawDesc,
|
||||
NumEnums: 2,
|
||||
NumMessages: 17,
|
||||
NumMessages: 18,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
|
||||
+277
-273
@@ -275,7 +275,8 @@ type CreateFlowExpr struct {
|
||||
SinkTableName *TableName `protobuf:"bytes,4,opt,name=sink_table_name,json=sinkTableName,proto3" json:"sink_table_name,omitempty"`
|
||||
OrReplace bool `protobuf:"varint,5,opt,name=or_replace,json=orReplace,proto3" json:"or_replace,omitempty"`
|
||||
CreateIfNotExists bool `protobuf:"varint,6,opt,name=create_if_not_exists,json=createIfNotExists,proto3" json:"create_if_not_exists,omitempty"`
|
||||
ExpireWhen string `protobuf:"bytes,7,opt,name=expire_when,json=expireWhen,proto3" json:"expire_when,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"`
|
||||
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"`
|
||||
@@ -355,11 +356,11 @@ func (x *CreateFlowExpr) GetCreateIfNotExists() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func (x *CreateFlowExpr) GetExpireWhen() string {
|
||||
func (x *CreateFlowExpr) GetExpireAfter() *ExpireAfter {
|
||||
if x != nil {
|
||||
return x.ExpireWhen
|
||||
return x.ExpireAfter
|
||||
}
|
||||
return ""
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *CreateFlowExpr) GetComment() string {
|
||||
@@ -1808,7 +1809,7 @@ var file_greptime_v1_ddl_proto_rawDesc = []byte{
|
||||
0x64, 0x72, 0x6f, 0x70, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||||
0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x72,
|
||||
0x6f, 0x70, 0x56, 0x69, 0x65, 0x77, 0x45, 0x78, 0x70, 0x72, 0x48, 0x00, 0x52, 0x08, 0x64, 0x72,
|
||||
0x6f, 0x70, 0x56, 0x69, 0x65, 0x77, 0x42, 0x06, 0x0a, 0x04, 0x65, 0x78, 0x70, 0x72, 0x22, 0x84,
|
||||
0x6f, 0x70, 0x56, 0x69, 0x65, 0x77, 0x42, 0x06, 0x0a, 0x04, 0x65, 0x78, 0x70, 0x72, 0x22, 0xa0,
|
||||
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,
|
||||
@@ -1827,248 +1828,249 @@ var file_greptime_v1_ddl_proto_rawDesc = []byte{
|
||||
0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x12, 0x2f, 0x0a, 0x14, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
|
||||
0x5f, 0x69, 0x66, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x06,
|
||||
0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x66, 0x4e, 0x6f,
|
||||
0x74, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x70, 0x69, 0x72,
|
||||
0x65, 0x5f, 0x77, 0x68, 0x65, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78,
|
||||
0x70, 0x69, 0x72, 0x65, 0x57, 0x68, 0x65, 0x6e, 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, 0x77, 0x5f, 0x6f, 0x70, 0x74,
|
||||
0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x72, 0x65,
|
||||
0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46,
|
||||
0x6c, 0x6f, 0x77, 0x45, 0x78, 0x70, 0x72, 0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x4f, 0x70, 0x74, 0x69,
|
||||
0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x66, 0x6c, 0x6f, 0x77, 0x4f, 0x70,
|
||||
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x3e, 0x0a, 0x10, 0x46, 0x6c, 0x6f, 0x77, 0x4f, 0x70, 0x74,
|
||||
0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76,
|
||||
0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
|
||||
0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xa2, 0x01, 0x0a, 0x0c, 0x44, 0x72, 0x6f, 0x70, 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, 0x09, 0x66, 0x6c, 0x6f,
|
||||
0x77, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x6c,
|
||||
0x6f, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x07, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x69,
|
||||
0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
|
||||
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x49, 0x64, 0x52, 0x06, 0x66, 0x6c,
|
||||
0x6f, 0x77, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x69, 0x66, 0x5f,
|
||||
0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x64, 0x72,
|
||||
0x6f, 0x70, 0x49, 0x66, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x22, 0xe4, 0x01, 0x0a, 0x0e, 0x43,
|
||||
0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69, 0x65, 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, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d,
|
||||
0x65, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x69, 0x65, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21,
|
||||
0x0a, 0x0c, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x18, 0x04,
|
||||
0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x61, 0x6c, 0x50, 0x6c, 0x61,
|
||||
0x6e, 0x12, 0x2f, 0x0a, 0x14, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x66, 0x5f, 0x6e,
|
||||
0x6f, 0x74, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52,
|
||||
0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x66, 0x4e, 0x6f, 0x74, 0x45, 0x78, 0x69, 0x73,
|
||||
0x74, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x72, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65,
|
||||
0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x6f, 0x72, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63,
|
||||
0x65, 0x22, 0xc4, 0x01, 0x0a, 0x0c, 0x44, 0x72, 0x6f, 0x70, 0x56, 0x69, 0x65, 0x77, 0x45, 0x78,
|
||||
0x74, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 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, 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, 0x77, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
|
||||
0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x45,
|
||||
0x78, 0x70, 0x72, 0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45,
|
||||
0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x66, 0x6c, 0x6f, 0x77, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
|
||||
0x73, 0x1a, 0x3e, 0x0a, 0x10, 0x46, 0x6c, 0x6f, 0x77, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
|
||||
0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
||||
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
|
||||
0x01, 0x22, 0xa2, 0x01, 0x0a, 0x0c, 0x44, 0x72, 0x6f, 0x70, 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, 0x09, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x6e, 0x61,
|
||||
0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x6c, 0x6f, 0x77, 0x4e, 0x61,
|
||||
0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x07, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20,
|
||||
0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76,
|
||||
0x31, 0x2e, 0x46, 0x6c, 0x6f, 0x77, 0x49, 0x64, 0x52, 0x06, 0x66, 0x6c, 0x6f, 0x77, 0x49, 0x64,
|
||||
0x12, 0x24, 0x0a, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x69, 0x66, 0x5f, 0x65, 0x78, 0x69, 0x73,
|
||||
0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x49, 0x66,
|
||||
0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x22, 0xe4, 0x01, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74,
|
||||
0x65, 0x56, 0x69, 0x65, 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, 0x1f, 0x0a, 0x0b,
|
||||
0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a,
|
||||
0x09, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x08, 0x76, 0x69, 0x65, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6c, 0x6f,
|
||||
0x67, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c,
|
||||
0x52, 0x0b, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x61, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x2f, 0x0a,
|
||||
0x14, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x66, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x65,
|
||||
0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x63, 0x72, 0x65,
|
||||
0x61, 0x74, 0x65, 0x49, 0x66, 0x4e, 0x6f, 0x74, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x1d,
|
||||
0x0a, 0x0a, 0x6f, 0x72, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01,
|
||||
0x28, 0x08, 0x52, 0x09, 0x6f, 0x72, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x22, 0xc4, 0x01,
|
||||
0x0a, 0x0c, 0x44, 0x72, 0x6f, 0x70, 0x56, 0x69, 0x65, 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, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
|
||||
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61,
|
||||
0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18,
|
||||
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x69, 0x65, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x12,
|
||||
0x2d, 0x0a, 0x07, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b,
|
||||
0x32, 0x14, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54,
|
||||
0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x52, 0x06, 0x76, 0x69, 0x65, 0x77, 0x49, 0x64, 0x12, 0x24,
|
||||
0x0a, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x69, 0x66, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73,
|
||||
0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x49, 0x66, 0x45, 0x78,
|
||||
0x69, 0x73, 0x74, 0x73, 0x22, 0x93, 0x04, 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54,
|
||||
0x61, 0x62, 0x6c, 0x65, 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, 0x1f, 0x0a, 0x0b, 0x73,
|
||||
0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a,
|
||||
0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64,
|
||||
0x65, 0x73, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x65, 0x73, 0x63, 0x12,
|
||||
0x37, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x73, 0x18, 0x05,
|
||||
0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e,
|
||||
0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x52, 0x0a, 0x63, 0x6f,
|
||||
0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65,
|
||||
0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x69,
|
||||
0x6d, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x72, 0x69, 0x6d, 0x61,
|
||||
0x72, 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x70,
|
||||
0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x2f, 0x0a, 0x14, 0x63, 0x72,
|
||||
0x65, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x66, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x69, 0x73,
|
||||
0x74, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
|
||||
0x49, 0x66, 0x4e, 0x6f, 0x74, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x53, 0x0a, 0x0d, 0x74,
|
||||
0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x03,
|
||||
0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
|
||||
0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x78, 0x70, 0x72,
|
||||
0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74,
|
||||
0x72, 0x79, 0x52, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
|
||||
0x12, 0x2f, 0x0a, 0x08, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01,
|
||||
0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
|
||||
0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x52, 0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x49,
|
||||
0x64, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x1a, 0x3f, 0x0a, 0x11, 0x54, 0x61, 0x62,
|
||||
0x6c, 0x65, 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, 0x82, 0x03, 0x0a, 0x09, 0x41,
|
||||
0x6c, 0x74, 0x65, 0x72, 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, 0x1f, 0x0a, 0x0b, 0x73,
|
||||
0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a,
|
||||
0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x0b, 0x61,
|
||||
0x64, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b,
|
||||
0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41,
|
||||
0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x0a, 0x61, 0x64, 0x64,
|
||||
0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x5f,
|
||||
0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e,
|
||||
0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x72, 0x6f, 0x70,
|
||||
0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x72, 0x6f, 0x70, 0x43,
|
||||
0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x72, 0x65, 0x6e, 0x61, 0x6d, 0x65,
|
||||
0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67,
|
||||
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d,
|
||||
0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x0b, 0x72, 0x65, 0x6e, 0x61, 0x6d, 0x65,
|
||||
0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x50, 0x0a, 0x13, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f,
|
||||
0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01,
|
||||
0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
|
||||
0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70,
|
||||
0x65, 0x73, 0x48, 0x00, 0x52, 0x11, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x6f, 0x6c, 0x75,
|
||||
0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22,
|
||||
0xc9, 0x01, 0x0a, 0x0d, 0x44, 0x72, 0x6f, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 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, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e,
|
||||
0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d,
|
||||
0x61, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e,
|
||||
0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65,
|
||||
0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x08, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64,
|
||||
0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x52, 0x07, 0x74, 0x61,
|
||||
0x62, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x69, 0x66,
|
||||
0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x64,
|
||||
0x72, 0x6f, 0x70, 0x49, 0x66, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x22, 0x8d, 0x02, 0x0a, 0x12,
|
||||
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 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, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f,
|
||||
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65,
|
||||
0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x6e,
|
||||
0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x69, 0x65, 0x77, 0x4e,
|
||||
0x61, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x07, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x69, 0x64, 0x18, 0x04,
|
||||
0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e,
|
||||
0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x52, 0x06, 0x76, 0x69, 0x65, 0x77,
|
||||
0x49, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x69, 0x66, 0x5f, 0x65, 0x78,
|
||||
0x69, 0x73, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70,
|
||||
0x49, 0x66, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x22, 0x93, 0x04, 0x0a, 0x0f, 0x43, 0x72, 0x65,
|
||||
0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 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,
|
||||
0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65,
|
||||
0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12,
|
||||
0x12, 0x0a, 0x04, 0x64, 0x65, 0x73, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64,
|
||||
0x65, 0x73, 0x63, 0x12, 0x37, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x64, 0x65,
|
||||
0x66, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74,
|
||||
0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66,
|
||||
0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x73, 0x12, 0x1d, 0x0a, 0x0a,
|
||||
0x74, 0x69, 0x6d, 0x65, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x21, 0x0a, 0x0c, 0x70,
|
||||
0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28,
|
||||
0x09, 0x52, 0x0b, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x2f,
|
||||
0x0a, 0x14, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x66, 0x5f, 0x6e, 0x6f, 0x74, 0x5f,
|
||||
0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x63, 0x72,
|
||||
0x65, 0x61, 0x74, 0x65, 0x49, 0x66, 0x4e, 0x6f, 0x74, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12,
|
||||
0x53, 0x0a, 0x0d, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
|
||||
0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65,
|
||||
0x45, 0x78, 0x70, 0x72, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
|
||||
0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x74,
|
||||
0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2f, 0x0a, 0x08, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64,
|
||||
0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
||||
0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x14, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
|
||||
0x5f, 0x69, 0x66, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x03,
|
||||
0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x66, 0x4e, 0x6f,
|
||||
0x74, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x46, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f,
|
||||
0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74,
|
||||
0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74,
|
||||
0x61, 0x62, 0x61, 0x73, 0x65, 0x45, 0x78, 0x70, 0x72, 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, 0xa7, 0x01, 0x0a, 0x11,
|
||||
0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 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, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e,
|
||||
0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d,
|
||||
0x61, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e,
|
||||
0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65,
|
||||
0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x08, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64,
|
||||
0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x52, 0x07, 0x74, 0x61,
|
||||
0x62, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18,
|
||||
0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x1a, 0x3f, 0x0a,
|
||||
0x11, 0x54, 0x61, 0x62, 0x6c, 0x65, 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, 0x82,
|
||||
0x03, 0x0a, 0x09, 0x41, 0x6c, 0x74, 0x65, 0x72, 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,
|
||||
0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65,
|
||||
0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12,
|
||||
0x3a, 0x0a, 0x0b, 0x61, 0x64, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x04,
|
||||
0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e,
|
||||
0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x48, 0x00, 0x52,
|
||||
0x0a, 0x61, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x64,
|
||||
0x72, 0x6f, 0x70, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28,
|
||||
0x0b, 0x32, 0x18, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
||||
0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x0b, 0x64,
|
||||
0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x72, 0x65,
|
||||
0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b,
|
||||
0x32, 0x18, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52,
|
||||
0x65, 0x6e, 0x61, 0x6d, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x0b, 0x72, 0x65,
|
||||
0x6e, 0x61, 0x6d, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x50, 0x0a, 0x13, 0x63, 0x68, 0x61,
|
||||
0x6e, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73,
|
||||
0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x6f, 0x6c, 0x75, 0x6d,
|
||||
0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x48, 0x00, 0x52, 0x11, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65,
|
||||
0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x42, 0x06, 0x0a, 0x04, 0x6b,
|
||||
0x69, 0x6e, 0x64, 0x22, 0xc9, 0x01, 0x0a, 0x0d, 0x44, 0x72, 0x6f, 0x70, 0x54, 0x61, 0x62, 0x6c,
|
||||
0x65, 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, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65,
|
||||
0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73,
|
||||
0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62,
|
||||
0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74,
|
||||
0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x08, 0x74, 0x61, 0x62, 0x6c,
|
||||
0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x72, 0x65,
|
||||
0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64,
|
||||
0x52, 0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x64, 0x72, 0x6f,
|
||||
0x70, 0x5f, 0x69, 0x66, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28,
|
||||
0x08, 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x49, 0x66, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x22,
|
||||
0x8d, 0x02, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,
|
||||
0x73, 0x65, 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, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68,
|
||||
0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
|
||||
0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x14, 0x63, 0x72,
|
||||
0x65, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x66, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x69, 0x73,
|
||||
0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
|
||||
0x49, 0x66, 0x4e, 0x6f, 0x74, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x46, 0x0a, 0x07, 0x6f,
|
||||
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67,
|
||||
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74,
|
||||
0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x45, 0x78, 0x70, 0x72, 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,
|
||||
0xa7, 0x01, 0x0a, 0x11, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c,
|
||||
0x65, 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, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65,
|
||||
0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73,
|
||||
0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62,
|
||||
0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74,
|
||||
0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x08, 0x74, 0x61, 0x62, 0x6c,
|
||||
0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x72, 0x65,
|
||||
0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64,
|
||||
0x52, 0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x22, 0x7c, 0x0a, 0x10, 0x44, 0x72, 0x6f,
|
||||
0x70, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 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, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d,
|
||||
0x65, 0x12, 0x24, 0x0a, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x69, 0x66, 0x5f, 0x65, 0x78, 0x69,
|
||||
0x73, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x49,
|
||||
0x66, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x22, 0x45, 0x0a, 0x0a, 0x41, 0x64, 0x64, 0x43, 0x6f,
|
||||
0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x37, 0x0a, 0x0b, 0x61, 0x64, 0x64, 0x5f, 0x63, 0x6f, 0x6c,
|
||||
0x75, 0x6d, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, 0x65,
|
||||
0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75,
|
||||
0x6d, 0x6e, 0x52, 0x0a, 0x61, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22, 0x49,
|
||||
0x0a, 0x0b, 0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x3a, 0x0a,
|
||||
0x0c, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x01, 0x20,
|
||||
0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76,
|
||||
0x31, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x0b, 0x64, 0x72,
|
||||
0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22, 0x62, 0x0a, 0x11, 0x43, 0x68, 0x61,
|
||||
0x6e, 0x67, 0x65, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x4d,
|
||||
0x0a, 0x13, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f,
|
||||
0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x72,
|
||||
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65,
|
||||
0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x11, 0x63, 0x68, 0x61, 0x6e,
|
||||
0x67, 0x65, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0x33, 0x0a,
|
||||
0x0b, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x24, 0x0a, 0x0e,
|
||||
0x6e, 0x65, 0x77, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6e, 0x65, 0x77, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61,
|
||||
0x6d, 0x65, 0x22, 0x7e, 0x0a, 0x09, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12,
|
||||
0x35, 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76,
|
||||
0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x52, 0x09, 0x63, 0x6f, 0x6c,
|
||||
0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x12, 0x3a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
|
||||
0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74,
|
||||
0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e,
|
||||
0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
|
||||
0x6f, 0x6e, 0x22, 0xcb, 0x01, 0x0a, 0x10, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x6f, 0x6c,
|
||||
0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d,
|
||||
0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f,
|
||||
0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3c, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67,
|
||||
0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e,
|
||||
0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75,
|
||||
0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67,
|
||||
0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x58, 0x0a, 0x15, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74,
|
||||
0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18,
|
||||
0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
|
||||
0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79,
|
||||
0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x74, 0x61, 0x72,
|
||||
0x67, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
|
||||
0x22, 0x20, 0x0a, 0x0a, 0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x12,
|
||||
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
|
||||
0x6d, 0x65, 0x22, 0x19, 0x0a, 0x07, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x0e, 0x0a,
|
||||
0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x22, 0x18, 0x0a,
|
||||
0x06, 0x46, 0x6c, 0x6f, 0x77, 0x49, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x22, 0xd8, 0x02, 0x0a, 0x09, 0x43, 0x6f, 0x6c, 0x75,
|
||||
0x6d, 0x6e, 0x44, 0x65, 0x66, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x09, 0x64, 0x61, 0x74,
|
||||
0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x67,
|
||||
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d,
|
||||
0x6e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x54,
|
||||
0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x6e, 0x75, 0x6c, 0x6c, 0x61, 0x62,
|
||||
0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x4e, 0x75, 0x6c, 0x6c,
|
||||
0x61, 0x62, 0x6c, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f,
|
||||
0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c,
|
||||
0x52, 0x11, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61,
|
||||
0x69, 0x6e, 0x74, 0x12, 0x3e, 0x0a, 0x0d, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x5f,
|
||||
0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65,
|
||||
0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69,
|
||||
0x63, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x54,
|
||||
0x79, 0x70, 0x65, 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, 0x53, 0x0a,
|
||||
0x12, 0x64, 0x61, 0x74, 0x61, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73,
|
||||
0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x65, 0x70,
|
||||
0x62, 0x6c, 0x65, 0x49, 0x64, 0x22, 0x7c, 0x0a, 0x10, 0x44, 0x72, 0x6f, 0x70, 0x44, 0x61, 0x74,
|
||||
0x61, 0x62, 0x61, 0x73, 0x65, 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, 0x1f, 0x0a, 0x0b,
|
||||
0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a,
|
||||
0x0e, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x69, 0x66, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18,
|
||||
0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x49, 0x66, 0x45, 0x78, 0x69,
|
||||
0x73, 0x74, 0x73, 0x22, 0x45, 0x0a, 0x0a, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e,
|
||||
0x73, 0x12, 0x37, 0x0a, 0x0b, 0x61, 0x64, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73,
|
||||
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x0a,
|
||||
0x61, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22, 0x49, 0x0a, 0x0b, 0x44, 0x72,
|
||||
0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x3a, 0x0a, 0x0c, 0x64, 0x72, 0x6f,
|
||||
0x70, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
||||
0x17, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x72,
|
||||
0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x0b, 0x64, 0x72, 0x6f, 0x70, 0x43, 0x6f,
|
||||
0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22, 0x62, 0x0a, 0x11, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43,
|
||||
0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x4d, 0x0a, 0x13, 0x63, 0x68,
|
||||
0x61, 0x6e, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65,
|
||||
0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
|
||||
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x6f, 0x6c, 0x75,
|
||||
0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x11, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x6f,
|
||||
0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0x33, 0x0a, 0x0b, 0x52, 0x65, 0x6e,
|
||||
0x61, 0x6d, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x6e, 0x65, 0x77, 0x5f,
|
||||
0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x0c, 0x6e, 0x65, 0x77, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x7e,
|
||||
0x0a, 0x09, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x35, 0x0a, 0x0a, 0x63,
|
||||
0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||||
0x16, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f,
|
||||
0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65, 0x66, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44,
|
||||
0x65, 0x66, 0x12, 0x3a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03,
|
||||
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e,
|
||||
0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4c, 0x6f, 0x63, 0x61,
|
||||
0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xcb,
|
||||
0x01, 0x0a, 0x10, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54,
|
||||
0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61,
|
||||
0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e,
|
||||
0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3c, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x74,
|
||||
0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70,
|
||||
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61,
|
||||
0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52,
|
||||
0x11, 0x64, 0x61, 0x74, 0x61, 0x74, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
|
||||
0x6f, 0x6e, 0x22, 0xb7, 0x01, 0x0a, 0x11, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e,
|
||||
0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x50, 0x0a, 0x0d, 0x6c, 0x6f, 0x63, 0x61,
|
||||
0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32,
|
||||
0x2b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64,
|
||||
0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
|
||||
0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x6c, 0x6f,
|
||||
0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x66,
|
||||
0x74, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6c, 0x75,
|
||||
0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x24, 0x0a, 0x0c, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69,
|
||||
0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x49, 0x52, 0x53, 0x54, 0x10,
|
||||
0x00, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x46, 0x54, 0x45, 0x52, 0x10, 0x01, 0x42, 0x4c, 0x0a, 0x0e,
|
||||
0x69, 0x6f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x03,
|
||||
0x44, 0x64, 0x6c, 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,
|
||||
0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x54, 0x79,
|
||||
0x70, 0x65, 0x12, 0x58, 0x0a, 0x15, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70,
|
||||
0x65, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28,
|
||||
0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
||||
0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78,
|
||||
0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x54,
|
||||
0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x20, 0x0a, 0x0a,
|
||||
0x44, 0x72, 0x6f, 0x70, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
|
||||
0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x19,
|
||||
0x0a, 0x07, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x22, 0x18, 0x0a, 0x06, 0x46, 0x6c, 0x6f,
|
||||
0x77, 0x49, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52,
|
||||
0x02, 0x69, 0x64, 0x22, 0xd8, 0x02, 0x0a, 0x09, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x65,
|
||||
0x66, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x74, 0x79,
|
||||
0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74,
|
||||
0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74,
|
||||
0x61, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x64, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12,
|
||||
0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x6e, 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03,
|
||||
0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x4e, 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65,
|
||||
0x12, 0x2d, 0x0a, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x73,
|
||||
0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x11, 0x64, 0x65,
|
||||
0x66, 0x61, 0x75, 0x6c, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x12,
|
||||
0x3e, 0x0a, 0x0d, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x5f, 0x74, 0x79, 0x70, 0x65,
|
||||
0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x54, 0x79, 0x70,
|
||||
0x65, 0x52, 0x0c, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 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, 0x53, 0x0a, 0x12, 0x64, 0x61, 0x74,
|
||||
0x61, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18,
|
||||
0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
|
||||
0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79,
|
||||
0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x64, 0x61, 0x74,
|
||||
0x61, 0x74, 0x79, 0x70, 0x65, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xb7,
|
||||
0x01, 0x0a, 0x11, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4c, 0x6f, 0x63, 0x61,
|
||||
0x74, 0x69, 0x6f, 0x6e, 0x12, 0x50, 0x0a, 0x0d, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
||||
0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x72,
|
||||
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6c,
|
||||
0x75, 0x6d, 0x6e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4c, 0x6f, 0x63, 0x61,
|
||||
0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
|
||||
0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f,
|
||||
0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x0f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61,
|
||||
0x6d, 0x65, 0x22, 0x24, 0x0a, 0x0c, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79,
|
||||
0x70, 0x65, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x49, 0x52, 0x53, 0x54, 0x10, 0x00, 0x12, 0x09, 0x0a,
|
||||
0x05, 0x41, 0x46, 0x54, 0x45, 0x52, 0x10, 0x01, 0x42, 0x4c, 0x0a, 0x0e, 0x69, 0x6f, 0x2e, 0x67,
|
||||
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x03, 0x44, 0x64, 0x6c, 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 (
|
||||
@@ -2113,9 +2115,10 @@ var file_greptime_v1_ddl_proto_goTypes = []interface{}{
|
||||
nil, // 24: greptime.v1.CreateTableExpr.TableOptionsEntry
|
||||
nil, // 25: greptime.v1.CreateDatabaseExpr.OptionsEntry
|
||||
(*TableName)(nil), // 26: greptime.v1.TableName
|
||||
(ColumnDataType)(0), // 27: greptime.v1.ColumnDataType
|
||||
(*ColumnDataTypeExtension)(nil), // 28: greptime.v1.ColumnDataTypeExtension
|
||||
(SemanticType)(0), // 29: greptime.v1.SemanticType
|
||||
(*ExpireAfter)(nil), // 27: greptime.v1.ExpireAfter
|
||||
(ColumnDataType)(0), // 28: greptime.v1.ColumnDataType
|
||||
(*ColumnDataTypeExtension)(nil), // 29: greptime.v1.ColumnDataTypeExtension
|
||||
(SemanticType)(0), // 30: greptime.v1.SemanticType
|
||||
}
|
||||
var file_greptime_v1_ddl_proto_depIdxs = []int32{
|
||||
9, // 0: greptime.v1.DdlRequest.create_database:type_name -> greptime.v1.CreateDatabaseExpr
|
||||
@@ -2129,35 +2132,36 @@ var file_greptime_v1_ddl_proto_depIdxs = []int32{
|
||||
5, // 8: greptime.v1.DdlRequest.drop_view:type_name -> greptime.v1.DropViewExpr
|
||||
26, // 9: greptime.v1.CreateFlowExpr.source_table_names:type_name -> greptime.v1.TableName
|
||||
26, // 10: greptime.v1.CreateFlowExpr.sink_table_name:type_name -> greptime.v1.TableName
|
||||
23, // 11: greptime.v1.CreateFlowExpr.flow_options:type_name -> greptime.v1.CreateFlowExpr.FlowOptionsEntry
|
||||
20, // 12: greptime.v1.DropFlowExpr.flow_id:type_name -> greptime.v1.FlowId
|
||||
19, // 13: greptime.v1.DropViewExpr.view_id:type_name -> greptime.v1.TableId
|
||||
21, // 14: greptime.v1.CreateTableExpr.column_defs:type_name -> greptime.v1.ColumnDef
|
||||
24, // 15: greptime.v1.CreateTableExpr.table_options:type_name -> greptime.v1.CreateTableExpr.TableOptionsEntry
|
||||
19, // 16: greptime.v1.CreateTableExpr.table_id:type_name -> greptime.v1.TableId
|
||||
12, // 17: greptime.v1.AlterExpr.add_columns:type_name -> greptime.v1.AddColumns
|
||||
13, // 18: greptime.v1.AlterExpr.drop_columns:type_name -> greptime.v1.DropColumns
|
||||
15, // 19: greptime.v1.AlterExpr.rename_table:type_name -> greptime.v1.RenameTable
|
||||
14, // 20: greptime.v1.AlterExpr.change_column_types:type_name -> greptime.v1.ChangeColumnTypes
|
||||
19, // 21: greptime.v1.DropTableExpr.table_id:type_name -> greptime.v1.TableId
|
||||
25, // 22: greptime.v1.CreateDatabaseExpr.options:type_name -> greptime.v1.CreateDatabaseExpr.OptionsEntry
|
||||
19, // 23: greptime.v1.TruncateTableExpr.table_id:type_name -> greptime.v1.TableId
|
||||
16, // 24: greptime.v1.AddColumns.add_columns:type_name -> greptime.v1.AddColumn
|
||||
18, // 25: greptime.v1.DropColumns.drop_columns:type_name -> greptime.v1.DropColumn
|
||||
17, // 26: greptime.v1.ChangeColumnTypes.change_column_types:type_name -> greptime.v1.ChangeColumnType
|
||||
21, // 27: greptime.v1.AddColumn.column_def:type_name -> greptime.v1.ColumnDef
|
||||
22, // 28: greptime.v1.AddColumn.location:type_name -> greptime.v1.AddColumnLocation
|
||||
27, // 29: greptime.v1.ChangeColumnType.target_type:type_name -> greptime.v1.ColumnDataType
|
||||
28, // 30: greptime.v1.ChangeColumnType.target_type_extension:type_name -> greptime.v1.ColumnDataTypeExtension
|
||||
27, // 31: greptime.v1.ColumnDef.data_type:type_name -> greptime.v1.ColumnDataType
|
||||
29, // 32: greptime.v1.ColumnDef.semantic_type:type_name -> greptime.v1.SemanticType
|
||||
28, // 33: greptime.v1.ColumnDef.datatype_extension:type_name -> greptime.v1.ColumnDataTypeExtension
|
||||
0, // 34: greptime.v1.AddColumnLocation.location_type:type_name -> greptime.v1.AddColumnLocation.LocationType
|
||||
35, // [35:35] is the sub-list for method output_type
|
||||
35, // [35:35] is the sub-list for method input_type
|
||||
35, // [35:35] is the sub-list for extension type_name
|
||||
35, // [35:35] is the sub-list for extension extendee
|
||||
0, // [0:35] is the sub-list for field type_name
|
||||
27, // 11: greptime.v1.CreateFlowExpr.expire_after:type_name -> greptime.v1.ExpireAfter
|
||||
23, // 12: greptime.v1.CreateFlowExpr.flow_options:type_name -> greptime.v1.CreateFlowExpr.FlowOptionsEntry
|
||||
20, // 13: greptime.v1.DropFlowExpr.flow_id:type_name -> greptime.v1.FlowId
|
||||
19, // 14: greptime.v1.DropViewExpr.view_id:type_name -> greptime.v1.TableId
|
||||
21, // 15: greptime.v1.CreateTableExpr.column_defs:type_name -> greptime.v1.ColumnDef
|
||||
24, // 16: greptime.v1.CreateTableExpr.table_options:type_name -> greptime.v1.CreateTableExpr.TableOptionsEntry
|
||||
19, // 17: greptime.v1.CreateTableExpr.table_id:type_name -> greptime.v1.TableId
|
||||
12, // 18: greptime.v1.AlterExpr.add_columns:type_name -> greptime.v1.AddColumns
|
||||
13, // 19: greptime.v1.AlterExpr.drop_columns:type_name -> greptime.v1.DropColumns
|
||||
15, // 20: greptime.v1.AlterExpr.rename_table:type_name -> greptime.v1.RenameTable
|
||||
14, // 21: greptime.v1.AlterExpr.change_column_types:type_name -> greptime.v1.ChangeColumnTypes
|
||||
19, // 22: greptime.v1.DropTableExpr.table_id:type_name -> greptime.v1.TableId
|
||||
25, // 23: greptime.v1.CreateDatabaseExpr.options:type_name -> greptime.v1.CreateDatabaseExpr.OptionsEntry
|
||||
19, // 24: greptime.v1.TruncateTableExpr.table_id:type_name -> greptime.v1.TableId
|
||||
16, // 25: greptime.v1.AddColumns.add_columns:type_name -> greptime.v1.AddColumn
|
||||
18, // 26: greptime.v1.DropColumns.drop_columns:type_name -> greptime.v1.DropColumn
|
||||
17, // 27: greptime.v1.ChangeColumnTypes.change_column_types:type_name -> greptime.v1.ChangeColumnType
|
||||
21, // 28: greptime.v1.AddColumn.column_def:type_name -> greptime.v1.ColumnDef
|
||||
22, // 29: greptime.v1.AddColumn.location:type_name -> greptime.v1.AddColumnLocation
|
||||
28, // 30: greptime.v1.ChangeColumnType.target_type:type_name -> greptime.v1.ColumnDataType
|
||||
29, // 31: greptime.v1.ChangeColumnType.target_type_extension:type_name -> greptime.v1.ColumnDataTypeExtension
|
||||
28, // 32: greptime.v1.ColumnDef.data_type:type_name -> greptime.v1.ColumnDataType
|
||||
30, // 33: greptime.v1.ColumnDef.semantic_type:type_name -> greptime.v1.SemanticType
|
||||
29, // 34: greptime.v1.ColumnDef.datatype_extension:type_name -> greptime.v1.ColumnDataTypeExtension
|
||||
0, // 35: greptime.v1.AddColumnLocation.location_type:type_name -> greptime.v1.AddColumnLocation.LocationType
|
||||
36, // [36:36] is the sub-list for method output_type
|
||||
36, // [36:36] is the sub-list for method input_type
|
||||
36, // [36:36] is the sub-list for extension type_name
|
||||
36, // [36:36] is the sub-list for extension extendee
|
||||
0, // [0:36] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_greptime_v1_ddl_proto_init() }
|
||||
|
||||
@@ -8869,6 +8869,497 @@ java.lang.String defaultValue);
|
||||
|
||||
}
|
||||
|
||||
public interface ExpireAfterOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:greptime.v1.ExpireAfter)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>int64 value = 1;</code>
|
||||
* @return The value.
|
||||
*/
|
||||
long getValue();
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code greptime.v1.ExpireAfter}
|
||||
*/
|
||||
public static final class ExpireAfter extends
|
||||
com.google.protobuf.GeneratedMessageV3 implements
|
||||
// @@protoc_insertion_point(message_implements:greptime.v1.ExpireAfter)
|
||||
ExpireAfterOrBuilder {
|
||||
private static final long serialVersionUID = 0L;
|
||||
// Use ExpireAfter.newBuilder() to construct.
|
||||
private ExpireAfter(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||||
super(builder);
|
||||
}
|
||||
private ExpireAfter() {
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
@SuppressWarnings({"unused"})
|
||||
protected java.lang.Object newInstance(
|
||||
UnusedPrivateParameter unused) {
|
||||
return new ExpireAfter();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public final com.google.protobuf.UnknownFieldSet
|
||||
getUnknownFields() {
|
||||
return this.unknownFields;
|
||||
}
|
||||
private ExpireAfter(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
this();
|
||||
if (extensionRegistry == null) {
|
||||
throw new java.lang.NullPointerException();
|
||||
}
|
||||
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
||||
com.google.protobuf.UnknownFieldSet.newBuilder();
|
||||
try {
|
||||
boolean done = false;
|
||||
while (!done) {
|
||||
int tag = input.readTag();
|
||||
switch (tag) {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 8: {
|
||||
|
||||
value_ = input.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_ExpireAfter_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return io.greptime.v1.Common.internal_static_greptime_v1_ExpireAfter_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
io.greptime.v1.Common.ExpireAfter.class, io.greptime.v1.Common.ExpireAfter.Builder.class);
|
||||
}
|
||||
|
||||
public static final int VALUE_FIELD_NUMBER = 1;
|
||||
private long value_;
|
||||
/**
|
||||
* <code>int64 value = 1;</code>
|
||||
* @return The value.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public long getValue() {
|
||||
return value_;
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
byte isInitialized = memoizedIsInitialized;
|
||||
if (isInitialized == 1) return true;
|
||||
if (isInitialized == 0) return false;
|
||||
|
||||
memoizedIsInitialized = 1;
|
||||
return true;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (value_ != 0L) {
|
||||
output.writeInt64(1, value_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int getSerializedSize() {
|
||||
int size = memoizedSize;
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (value_ != 0L) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt64Size(1, value_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
return size;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public boolean equals(final java.lang.Object obj) {
|
||||
if (obj == this) {
|
||||
return true;
|
||||
}
|
||||
if (!(obj instanceof io.greptime.v1.Common.ExpireAfter)) {
|
||||
return super.equals(obj);
|
||||
}
|
||||
io.greptime.v1.Common.ExpireAfter other = (io.greptime.v1.Common.ExpireAfter) obj;
|
||||
|
||||
if (getValue()
|
||||
!= other.getValue()) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public int hashCode() {
|
||||
if (memoizedHashCode != 0) {
|
||||
return memoizedHashCode;
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
hash = (37 * hash) + VALUE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
||||
getValue());
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
}
|
||||
|
||||
public static io.greptime.v1.Common.ExpireAfter parseFrom(
|
||||
java.nio.ByteBuffer data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static io.greptime.v1.Common.ExpireAfter 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.ExpireAfter parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static io.greptime.v1.Common.ExpireAfter 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.ExpireAfter parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static io.greptime.v1.Common.ExpireAfter parseFrom(
|
||||
byte[] data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static io.greptime.v1.Common.ExpireAfter parseFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static io.greptime.v1.Common.ExpireAfter 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.ExpireAfter parseDelimitedFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseDelimitedWithIOException(PARSER, input);
|
||||
}
|
||||
public static io.greptime.v1.Common.ExpireAfter 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.ExpireAfter parseFrom(
|
||||
com.google.protobuf.CodedInputStream input)
|
||||
throws java.io.IOException {
|
||||
return com.google.protobuf.GeneratedMessageV3
|
||||
.parseWithIOException(PARSER, input);
|
||||
}
|
||||
public static io.greptime.v1.Common.ExpireAfter 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.ExpireAfter prototype) {
|
||||
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder toBuilder() {
|
||||
return this == DEFAULT_INSTANCE
|
||||
? new Builder() : new Builder().mergeFrom(this);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected Builder newBuilderForType(
|
||||
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
||||
Builder builder = new Builder(parent);
|
||||
return builder;
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code greptime.v1.ExpireAfter}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||||
// @@protoc_insertion_point(builder_implements:greptime.v1.ExpireAfter)
|
||||
io.greptime.v1.Common.ExpireAfterOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return io.greptime.v1.Common.internal_static_greptime_v1_ExpireAfter_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return io.greptime.v1.Common.internal_static_greptime_v1_ExpireAfter_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
io.greptime.v1.Common.ExpireAfter.class, io.greptime.v1.Common.ExpireAfter.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using io.greptime.v1.Common.ExpireAfter.newBuilder()
|
||||
private Builder() {
|
||||
maybeForceBuilderInitialization();
|
||||
}
|
||||
|
||||
private Builder(
|
||||
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
||||
super(parent);
|
||||
maybeForceBuilderInitialization();
|
||||
}
|
||||
private void maybeForceBuilderInitialization() {
|
||||
if (com.google.protobuf.GeneratedMessageV3
|
||||
.alwaysUseFieldBuilders) {
|
||||
}
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
value_ = 0L;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return io.greptime.v1.Common.internal_static_greptime_v1_ExpireAfter_descriptor;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.Common.ExpireAfter getDefaultInstanceForType() {
|
||||
return io.greptime.v1.Common.ExpireAfter.getDefaultInstance();
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.Common.ExpireAfter build() {
|
||||
io.greptime.v1.Common.ExpireAfter result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.Common.ExpireAfter buildPartial() {
|
||||
io.greptime.v1.Common.ExpireAfter result = new io.greptime.v1.Common.ExpireAfter(this);
|
||||
result.value_ = value_;
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public Builder clone() {
|
||||
return super.clone();
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder setField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field,
|
||||
java.lang.Object value) {
|
||||
return super.setField(field, value);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clearField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field) {
|
||||
return super.clearField(field);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder clearOneof(
|
||||
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
|
||||
return super.clearOneof(oneof);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder setRepeatedField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field,
|
||||
int index, java.lang.Object value) {
|
||||
return super.setRepeatedField(field, index, value);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder addRepeatedField(
|
||||
com.google.protobuf.Descriptors.FieldDescriptor field,
|
||||
java.lang.Object value) {
|
||||
return super.addRepeatedField(field, value);
|
||||
}
|
||||
@java.lang.Override
|
||||
public Builder mergeFrom(com.google.protobuf.Message other) {
|
||||
if (other instanceof io.greptime.v1.Common.ExpireAfter) {
|
||||
return mergeFrom((io.greptime.v1.Common.ExpireAfter)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(io.greptime.v1.Common.ExpireAfter other) {
|
||||
if (other == io.greptime.v1.Common.ExpireAfter.getDefaultInstance()) return this;
|
||||
if (other.getValue() != 0L) {
|
||||
setValue(other.getValue());
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public Builder mergeFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
io.greptime.v1.Common.ExpireAfter parsedMessage = null;
|
||||
try {
|
||||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
parsedMessage = (io.greptime.v1.Common.ExpireAfter) e.getUnfinishedMessage();
|
||||
throw e.unwrapIOException();
|
||||
} finally {
|
||||
if (parsedMessage != null) {
|
||||
mergeFrom(parsedMessage);
|
||||
}
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
private long value_ ;
|
||||
/**
|
||||
* <code>int64 value = 1;</code>
|
||||
* @return The value.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public long getValue() {
|
||||
return value_;
|
||||
}
|
||||
/**
|
||||
* <code>int64 value = 1;</code>
|
||||
* @param value The value to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setValue(long value) {
|
||||
|
||||
value_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int64 value = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearValue() {
|
||||
|
||||
value_ = 0L;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@java.lang.Override
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
return super.setUnknownFields(unknownFields);
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public final Builder mergeUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
return super.mergeUnknownFields(unknownFields);
|
||||
}
|
||||
|
||||
|
||||
// @@protoc_insertion_point(builder_scope:greptime.v1.ExpireAfter)
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:greptime.v1.ExpireAfter)
|
||||
private static final io.greptime.v1.Common.ExpireAfter DEFAULT_INSTANCE;
|
||||
static {
|
||||
DEFAULT_INSTANCE = new io.greptime.v1.Common.ExpireAfter();
|
||||
}
|
||||
|
||||
public static io.greptime.v1.Common.ExpireAfter getDefaultInstance() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
private static final com.google.protobuf.Parser<ExpireAfter>
|
||||
PARSER = new com.google.protobuf.AbstractParser<ExpireAfter>() {
|
||||
@java.lang.Override
|
||||
public ExpireAfter parsePartialFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return new ExpireAfter(input, extensionRegistry);
|
||||
}
|
||||
};
|
||||
|
||||
public static com.google.protobuf.Parser<ExpireAfter> parser() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<ExpireAfter> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.Common.ExpireAfter getDefaultInstanceForType() {
|
||||
return DEFAULT_INSTANCE;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public interface FlightMetadataOrBuilder extends
|
||||
// @@protoc_insertion_point(interface_extends:greptime.v1.FlightMetadata)
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
@@ -12245,6 +12736,11 @@ java.lang.String defaultValue);
|
||||
private static final
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||
internal_static_greptime_v1_Metrics_fieldAccessorTable;
|
||||
private static final com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_greptime_v1_ExpireAfter_descriptor;
|
||||
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_FlightMetadata_descriptor;
|
||||
private static final
|
||||
@@ -12301,32 +12797,33 @@ java.lang.String defaultValue);
|
||||
"\n\005token\030\001 \001(\t\"J\n\tTableName\022\024\n\014catalog_na" +
|
||||
"me\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\022\n\ntable_n" +
|
||||
"ame\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\"i\n\016FlightMe" +
|
||||
"tadata\0220\n\raffected_rows\030\001 \001(\0132\031.greptime" +
|
||||
".v1.AffectedRows\022%\n\007metrics\030\002 \001(\0132\024.grep" +
|
||||
"time.v1.Metrics\"I\n\024IntervalMonthDayNano\022" +
|
||||
"\016\n\006months\030\001 \001(\005\022\014\n\004days\030\002 \001(\005\022\023\n\013nanosec" +
|
||||
"onds\030\003 \001(\003\"$\n\nDecimal128\022\n\n\002hi\030\001 \001(\003\022\n\n\002" +
|
||||
"lo\030\002 \001(\003\"`\n\027ColumnDataTypeExtension\0229\n\014d" +
|
||||
"ecimal_type\030\001 \001(\0132!.greptime.v1.DecimalT" +
|
||||
"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*1\n\014SemanticType\022\007\n\003TAG\020\000\022\t\n\005FIELD\020\001" +
|
||||
"\022\r\n\tTIMESTAMP\020\002*\326\003\n\016ColumnDataType\022\013\n\007BO" +
|
||||
"OLEAN\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\005UINT8\020\005\022\n\n\006UINT16\020\006\022\n\n\006UIN" +
|
||||
"T32\020\007\022\n\n\006UINT64\020\010\022\013\n\007FLOAT32\020\t\022\013\n\007FLOAT6" +
|
||||
"4\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\020TIMESTAMP_SECOND\020\017\022\031\n\025TIM" +
|
||||
"ESTAMP_MILLISECOND\020\020\022\031\n\025TIMESTAMP_MICROS" +
|
||||
"ECOND\020\021\022\030\n\024TIMESTAMP_NANOSECOND\020\022\022\017\n\013TIM" +
|
||||
"E_SECOND\020\023\022\024\n\020TIME_MILLISECOND\020\024\022\024\n\020TIME" +
|
||||
"_MICROSECOND\020\025\022\023\n\017TIME_NANOSECOND\020\026\022\027\n\023I" +
|
||||
"NTERVAL_YEAR_MONTH\020\027\022\025\n\021INTERVAL_DAY_TIM" +
|
||||
"E\020\030\022\033\n\027INTERVAL_MONTH_DAY_NANO\020\031\022\016\n\nDECI" +
|
||||
"MAL128\020\036BO\n\016io.greptime.v1B\006CommonZ5gith" +
|
||||
"ub.com/GreptimeTeam/greptime-proto/go/gr" +
|
||||
"eptime/v1b\006proto3"
|
||||
"\"\032\n\007Metrics\022\017\n\007metrics\030\001 \001(\014\"\034\n\013ExpireAf" +
|
||||
"ter\022\r\n\005value\030\001 \001(\003\"i\n\016FlightMetadata\0220\n\r" +
|
||||
"affected_rows\030\001 \001(\0132\031.greptime.v1.Affect" +
|
||||
"edRows\022%\n\007metrics\030\002 \001(\0132\024.greptime.v1.Me" +
|
||||
"trics\"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\nDecimal128\022\n\n\002hi\030\001 \001(\003\022\n\n\002lo\030\002 \001(\003\"`" +
|
||||
"\n\027ColumnDataTypeExtension\0229\n\014decimal_typ" +
|
||||
"e\030\001 \001(\0132!.greptime.v1.DecimalTypeExtensi" +
|
||||
"onH\000B\n\n\010type_ext\"8\n\024DecimalTypeExtension" +
|
||||
"\022\021\n\tprecision\030\001 \001(\005\022\r\n\005scale\030\002 \001(\005*1\n\014Se" +
|
||||
"manticType\022\007\n\003TAG\020\000\022\t\n\005FIELD\020\001\022\r\n\tTIMEST" +
|
||||
"AMP\020\002*\326\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\005UINT8\020\005\022\n\n\006UINT16\020\006\022\n\n\006UINT32\020\007\022\n\n\006U" +
|
||||
"INT64\020\010\022\013\n\007FLOAT32\020\t\022\013\n\007FLOAT64\020\n\022\n\n\006BIN" +
|
||||
"ARY\020\013\022\n\n\006STRING\020\014\022\010\n\004DATE\020\r\022\014\n\010DATETIME\020" +
|
||||
"\016\022\024\n\020TIMESTAMP_SECOND\020\017\022\031\n\025TIMESTAMP_MIL" +
|
||||
"LISECOND\020\020\022\031\n\025TIMESTAMP_MICROSECOND\020\021\022\030\n" +
|
||||
"\024TIMESTAMP_NANOSECOND\020\022\022\017\n\013TIME_SECOND\020\023" +
|
||||
"\022\024\n\020TIME_MILLISECOND\020\024\022\024\n\020TIME_MICROSECO" +
|
||||
"ND\020\025\022\023\n\017TIME_NANOSECOND\020\026\022\027\n\023INTERVAL_YE" +
|
||||
"AR_MONTH\020\027\022\025\n\021INTERVAL_DAY_TIME\020\030\022\033\n\027INT" +
|
||||
"ERVAL_MONTH_DAY_NANO\020\031\022\016\n\nDECIMAL128\020\036BO" +
|
||||
"\n\016io.greptime.v1B\006CommonZ5github.com/Gre" +
|
||||
"ptimeTeam/greptime-proto/go/greptime/v1b" +
|
||||
"\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
@@ -12404,32 +12901,38 @@ java.lang.String defaultValue);
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_greptime_v1_Metrics_descriptor,
|
||||
new java.lang.String[] { "Metrics", });
|
||||
internal_static_greptime_v1_FlightMetadata_descriptor =
|
||||
internal_static_greptime_v1_ExpireAfter_descriptor =
|
||||
getDescriptor().getMessageTypes().get(10);
|
||||
internal_static_greptime_v1_ExpireAfter_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_greptime_v1_ExpireAfter_descriptor,
|
||||
new java.lang.String[] { "Value", });
|
||||
internal_static_greptime_v1_FlightMetadata_descriptor =
|
||||
getDescriptor().getMessageTypes().get(11);
|
||||
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(11);
|
||||
getDescriptor().getMessageTypes().get(12);
|
||||
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_Decimal128_descriptor =
|
||||
getDescriptor().getMessageTypes().get(12);
|
||||
getDescriptor().getMessageTypes().get(13);
|
||||
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(13);
|
||||
getDescriptor().getMessageTypes().get(14);
|
||||
internal_static_greptime_v1_ColumnDataTypeExtension_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_greptime_v1_ColumnDataTypeExtension_descriptor,
|
||||
new java.lang.String[] { "DecimalType", "TypeExt", });
|
||||
internal_static_greptime_v1_DecimalTypeExtension_descriptor =
|
||||
getDescriptor().getMessageTypes().get(14);
|
||||
getDescriptor().getMessageTypes().get(15);
|
||||
internal_static_greptime_v1_DecimalTypeExtension_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_greptime_v1_DecimalTypeExtension_descriptor,
|
||||
|
||||
@@ -2669,16 +2669,31 @@ public final class Ddl {
|
||||
boolean getCreateIfNotExists();
|
||||
|
||||
/**
|
||||
* <code>string expire_when = 7;</code>
|
||||
* @return The expireWhen.
|
||||
* <pre>
|
||||
* Expire data older than the given duration seconds.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.ExpireAfter expire_after = 7;</code>
|
||||
* @return Whether the expireAfter field is set.
|
||||
*/
|
||||
java.lang.String getExpireWhen();
|
||||
boolean hasExpireAfter();
|
||||
/**
|
||||
* <code>string expire_when = 7;</code>
|
||||
* @return The bytes for expireWhen.
|
||||
* <pre>
|
||||
* Expire data older than the given duration seconds.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.ExpireAfter expire_after = 7;</code>
|
||||
* @return The expireAfter.
|
||||
*/
|
||||
com.google.protobuf.ByteString
|
||||
getExpireWhenBytes();
|
||||
io.greptime.v1.Common.ExpireAfter getExpireAfter();
|
||||
/**
|
||||
* <pre>
|
||||
* Expire data older than the given duration seconds.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.ExpireAfter expire_after = 7;</code>
|
||||
*/
|
||||
io.greptime.v1.Common.ExpireAfterOrBuilder getExpireAfterOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>string comment = 8;</code>
|
||||
@@ -2760,7 +2775,6 @@ java.lang.String defaultValue);
|
||||
catalogName_ = "";
|
||||
flowName_ = "";
|
||||
sourceTableNames_ = java.util.Collections.emptyList();
|
||||
expireWhen_ = "";
|
||||
comment_ = "";
|
||||
sql_ = "";
|
||||
}
|
||||
@@ -2841,9 +2855,16 @@ java.lang.String defaultValue);
|
||||
break;
|
||||
}
|
||||
case 58: {
|
||||
java.lang.String s = input.readStringRequireUtf8();
|
||||
io.greptime.v1.Common.ExpireAfter.Builder subBuilder = null;
|
||||
if (expireAfter_ != null) {
|
||||
subBuilder = expireAfter_.toBuilder();
|
||||
}
|
||||
expireAfter_ = input.readMessage(io.greptime.v1.Common.ExpireAfter.parser(), extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(expireAfter_);
|
||||
expireAfter_ = subBuilder.buildPartial();
|
||||
}
|
||||
|
||||
expireWhen_ = s;
|
||||
break;
|
||||
}
|
||||
case 66: {
|
||||
@@ -3084,42 +3105,42 @@ java.lang.String defaultValue);
|
||||
return createIfNotExists_;
|
||||
}
|
||||
|
||||
public static final int EXPIRE_WHEN_FIELD_NUMBER = 7;
|
||||
private volatile java.lang.Object expireWhen_;
|
||||
public static final int EXPIRE_AFTER_FIELD_NUMBER = 7;
|
||||
private io.greptime.v1.Common.ExpireAfter expireAfter_;
|
||||
/**
|
||||
* <code>string expire_when = 7;</code>
|
||||
* @return The expireWhen.
|
||||
* <pre>
|
||||
* Expire data older than the given duration seconds.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.ExpireAfter expire_after = 7;</code>
|
||||
* @return Whether the expireAfter field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.lang.String getExpireWhen() {
|
||||
java.lang.Object ref = expireWhen_;
|
||||
if (ref instanceof java.lang.String) {
|
||||
return (java.lang.String) ref;
|
||||
} else {
|
||||
com.google.protobuf.ByteString bs =
|
||||
(com.google.protobuf.ByteString) ref;
|
||||
java.lang.String s = bs.toStringUtf8();
|
||||
expireWhen_ = s;
|
||||
return s;
|
||||
}
|
||||
public boolean hasExpireAfter() {
|
||||
return expireAfter_ != null;
|
||||
}
|
||||
/**
|
||||
* <code>string expire_when = 7;</code>
|
||||
* @return The bytes for expireWhen.
|
||||
* <pre>
|
||||
* Expire data older than the given duration seconds.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.ExpireAfter expire_after = 7;</code>
|
||||
* @return The expireAfter.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.ByteString
|
||||
getExpireWhenBytes() {
|
||||
java.lang.Object ref = expireWhen_;
|
||||
if (ref instanceof java.lang.String) {
|
||||
com.google.protobuf.ByteString b =
|
||||
com.google.protobuf.ByteString.copyFromUtf8(
|
||||
(java.lang.String) ref);
|
||||
expireWhen_ = b;
|
||||
return b;
|
||||
} else {
|
||||
return (com.google.protobuf.ByteString) ref;
|
||||
public io.greptime.v1.Common.ExpireAfter getExpireAfter() {
|
||||
return expireAfter_ == null ? io.greptime.v1.Common.ExpireAfter.getDefaultInstance() : expireAfter_;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Expire data older than the given duration seconds.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.ExpireAfter expire_after = 7;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.Common.ExpireAfterOrBuilder getExpireAfterOrBuilder() {
|
||||
return getExpireAfter();
|
||||
}
|
||||
|
||||
public static final int COMMENT_FIELD_NUMBER = 8;
|
||||
@@ -3311,8 +3332,8 @@ java.lang.String defaultValue);
|
||||
if (createIfNotExists_ != false) {
|
||||
output.writeBool(6, createIfNotExists_);
|
||||
}
|
||||
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(expireWhen_)) {
|
||||
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, expireWhen_);
|
||||
if (expireAfter_ != null) {
|
||||
output.writeMessage(7, getExpireAfter());
|
||||
}
|
||||
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(comment_)) {
|
||||
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, comment_);
|
||||
@@ -3357,8 +3378,9 @@ java.lang.String defaultValue);
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeBoolSize(6, createIfNotExists_);
|
||||
}
|
||||
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(expireWhen_)) {
|
||||
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, expireWhen_);
|
||||
if (expireAfter_ != null) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(7, getExpireAfter());
|
||||
}
|
||||
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(comment_)) {
|
||||
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, comment_);
|
||||
@@ -3406,8 +3428,11 @@ java.lang.String defaultValue);
|
||||
!= other.getOrReplace()) return false;
|
||||
if (getCreateIfNotExists()
|
||||
!= other.getCreateIfNotExists()) return false;
|
||||
if (!getExpireWhen()
|
||||
.equals(other.getExpireWhen())) return false;
|
||||
if (hasExpireAfter() != other.hasExpireAfter()) return false;
|
||||
if (hasExpireAfter()) {
|
||||
if (!getExpireAfter()
|
||||
.equals(other.getExpireAfter())) return false;
|
||||
}
|
||||
if (!getComment()
|
||||
.equals(other.getComment())) return false;
|
||||
if (!getSql()
|
||||
@@ -3443,8 +3468,10 @@ java.lang.String defaultValue);
|
||||
hash = (37 * hash) + CREATE_IF_NOT_EXISTS_FIELD_NUMBER;
|
||||
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
||||
getCreateIfNotExists());
|
||||
hash = (37 * hash) + EXPIRE_WHEN_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getExpireWhen().hashCode();
|
||||
if (hasExpireAfter()) {
|
||||
hash = (37 * hash) + EXPIRE_AFTER_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getExpireAfter().hashCode();
|
||||
}
|
||||
hash = (37 * hash) + COMMENT_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getComment().hashCode();
|
||||
hash = (37 * hash) + SQL_FIELD_NUMBER;
|
||||
@@ -3633,8 +3660,12 @@ java.lang.String defaultValue);
|
||||
|
||||
createIfNotExists_ = false;
|
||||
|
||||
expireWhen_ = "";
|
||||
|
||||
if (expireAfterBuilder_ == null) {
|
||||
expireAfter_ = null;
|
||||
} else {
|
||||
expireAfter_ = null;
|
||||
expireAfterBuilder_ = null;
|
||||
}
|
||||
comment_ = "";
|
||||
|
||||
sql_ = "";
|
||||
@@ -3685,7 +3716,11 @@ java.lang.String defaultValue);
|
||||
}
|
||||
result.orReplace_ = orReplace_;
|
||||
result.createIfNotExists_ = createIfNotExists_;
|
||||
result.expireWhen_ = expireWhen_;
|
||||
if (expireAfterBuilder_ == null) {
|
||||
result.expireAfter_ = expireAfter_;
|
||||
} else {
|
||||
result.expireAfter_ = expireAfterBuilder_.build();
|
||||
}
|
||||
result.comment_ = comment_;
|
||||
result.sql_ = sql_;
|
||||
result.flowOptions_ = internalGetFlowOptions();
|
||||
@@ -3781,9 +3816,8 @@ java.lang.String defaultValue);
|
||||
if (other.getCreateIfNotExists() != false) {
|
||||
setCreateIfNotExists(other.getCreateIfNotExists());
|
||||
}
|
||||
if (!other.getExpireWhen().isEmpty()) {
|
||||
expireWhen_ = other.expireWhen_;
|
||||
onChanged();
|
||||
if (other.hasExpireAfter()) {
|
||||
mergeExpireAfter(other.getExpireAfter());
|
||||
}
|
||||
if (!other.getComment().isEmpty()) {
|
||||
comment_ = other.comment_;
|
||||
@@ -4398,81 +4432,160 @@ java.lang.String defaultValue);
|
||||
return this;
|
||||
}
|
||||
|
||||
private java.lang.Object expireWhen_ = "";
|
||||
private io.greptime.v1.Common.ExpireAfter expireAfter_;
|
||||
private com.google.protobuf.SingleFieldBuilderV3<
|
||||
io.greptime.v1.Common.ExpireAfter, io.greptime.v1.Common.ExpireAfter.Builder, io.greptime.v1.Common.ExpireAfterOrBuilder> expireAfterBuilder_;
|
||||
/**
|
||||
* <code>string expire_when = 7;</code>
|
||||
* @return The expireWhen.
|
||||
* <pre>
|
||||
* Expire data older than the given duration seconds.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.ExpireAfter expire_after = 7;</code>
|
||||
* @return Whether the expireAfter field is set.
|
||||
*/
|
||||
public java.lang.String getExpireWhen() {
|
||||
java.lang.Object ref = expireWhen_;
|
||||
if (!(ref instanceof java.lang.String)) {
|
||||
com.google.protobuf.ByteString bs =
|
||||
(com.google.protobuf.ByteString) ref;
|
||||
java.lang.String s = bs.toStringUtf8();
|
||||
expireWhen_ = s;
|
||||
return s;
|
||||
public boolean hasExpireAfter() {
|
||||
return expireAfterBuilder_ != null || expireAfter_ != null;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Expire data older than the given duration seconds.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.ExpireAfter expire_after = 7;</code>
|
||||
* @return The expireAfter.
|
||||
*/
|
||||
public io.greptime.v1.Common.ExpireAfter getExpireAfter() {
|
||||
if (expireAfterBuilder_ == null) {
|
||||
return expireAfter_ == null ? io.greptime.v1.Common.ExpireAfter.getDefaultInstance() : expireAfter_;
|
||||
} else {
|
||||
return (java.lang.String) ref;
|
||||
return expireAfterBuilder_.getMessage();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string expire_when = 7;</code>
|
||||
* @return The bytes for expireWhen.
|
||||
* <pre>
|
||||
* Expire data older than the given duration seconds.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.ExpireAfter expire_after = 7;</code>
|
||||
*/
|
||||
public com.google.protobuf.ByteString
|
||||
getExpireWhenBytes() {
|
||||
java.lang.Object ref = expireWhen_;
|
||||
if (ref instanceof String) {
|
||||
com.google.protobuf.ByteString b =
|
||||
com.google.protobuf.ByteString.copyFromUtf8(
|
||||
(java.lang.String) ref);
|
||||
expireWhen_ = b;
|
||||
return b;
|
||||
} else {
|
||||
return (com.google.protobuf.ByteString) ref;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string expire_when = 7;</code>
|
||||
* @param value The expireWhen to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setExpireWhen(
|
||||
java.lang.String value) {
|
||||
public Builder setExpireAfter(io.greptime.v1.Common.ExpireAfter value) {
|
||||
if (expireAfterBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
|
||||
expireWhen_ = value;
|
||||
expireAfter_ = value;
|
||||
onChanged();
|
||||
} else {
|
||||
expireAfterBuilder_.setMessage(value);
|
||||
}
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>string expire_when = 7;</code>
|
||||
* @return This builder for chaining.
|
||||
* <pre>
|
||||
* Expire data older than the given duration seconds.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.ExpireAfter expire_after = 7;</code>
|
||||
*/
|
||||
public Builder clearExpireWhen() {
|
||||
|
||||
expireWhen_ = getDefaultInstance().getExpireWhen();
|
||||
public Builder setExpireAfter(
|
||||
io.greptime.v1.Common.ExpireAfter.Builder builderForValue) {
|
||||
if (expireAfterBuilder_ == null) {
|
||||
expireAfter_ = builderForValue.build();
|
||||
onChanged();
|
||||
} else {
|
||||
expireAfterBuilder_.setMessage(builderForValue.build());
|
||||
}
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>string expire_when = 7;</code>
|
||||
* @param value The bytes for expireWhen to set.
|
||||
* @return This builder for chaining.
|
||||
* <pre>
|
||||
* Expire data older than the given duration seconds.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.ExpireAfter expire_after = 7;</code>
|
||||
*/
|
||||
public Builder setExpireWhenBytes(
|
||||
com.google.protobuf.ByteString value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
public Builder mergeExpireAfter(io.greptime.v1.Common.ExpireAfter value) {
|
||||
if (expireAfterBuilder_ == null) {
|
||||
if (expireAfter_ != null) {
|
||||
expireAfter_ =
|
||||
io.greptime.v1.Common.ExpireAfter.newBuilder(expireAfter_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
expireAfter_ = value;
|
||||
}
|
||||
checkByteStringIsUtf8(value);
|
||||
|
||||
expireWhen_ = value;
|
||||
onChanged();
|
||||
} else {
|
||||
expireAfterBuilder_.mergeFrom(value);
|
||||
}
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Expire data older than the given duration seconds.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.ExpireAfter expire_after = 7;</code>
|
||||
*/
|
||||
public Builder clearExpireAfter() {
|
||||
if (expireAfterBuilder_ == null) {
|
||||
expireAfter_ = null;
|
||||
onChanged();
|
||||
} else {
|
||||
expireAfter_ = null;
|
||||
expireAfterBuilder_ = null;
|
||||
}
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Expire data older than the given duration seconds.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.ExpireAfter expire_after = 7;</code>
|
||||
*/
|
||||
public io.greptime.v1.Common.ExpireAfter.Builder getExpireAfterBuilder() {
|
||||
|
||||
onChanged();
|
||||
return getExpireAfterFieldBuilder().getBuilder();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Expire data older than the given duration seconds.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.ExpireAfter expire_after = 7;</code>
|
||||
*/
|
||||
public io.greptime.v1.Common.ExpireAfterOrBuilder getExpireAfterOrBuilder() {
|
||||
if (expireAfterBuilder_ != null) {
|
||||
return expireAfterBuilder_.getMessageOrBuilder();
|
||||
} else {
|
||||
return expireAfter_ == null ?
|
||||
io.greptime.v1.Common.ExpireAfter.getDefaultInstance() : expireAfter_;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Expire data older than the given duration seconds.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.ExpireAfter expire_after = 7;</code>
|
||||
*/
|
||||
private com.google.protobuf.SingleFieldBuilderV3<
|
||||
io.greptime.v1.Common.ExpireAfter, io.greptime.v1.Common.ExpireAfter.Builder, io.greptime.v1.Common.ExpireAfterOrBuilder>
|
||||
getExpireAfterFieldBuilder() {
|
||||
if (expireAfterBuilder_ == null) {
|
||||
expireAfterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
||||
io.greptime.v1.Common.ExpireAfter, io.greptime.v1.Common.ExpireAfter.Builder, io.greptime.v1.Common.ExpireAfterOrBuilder>(
|
||||
getExpireAfter(),
|
||||
getParentForChildren(),
|
||||
isClean());
|
||||
expireAfter_ = null;
|
||||
}
|
||||
return expireAfterBuilder_;
|
||||
}
|
||||
|
||||
private java.lang.Object comment_ = "";
|
||||
/**
|
||||
@@ -25035,85 +25148,86 @@ java.lang.String defaultValue);
|
||||
"_flow\030\t \001(\0132\031.greptime.v1.DropFlowExprH\000" +
|
||||
"\0222\n\013create_view\030\n \001(\0132\033.greptime.v1.Crea" +
|
||||
"teViewExprH\000\022.\n\tdrop_view\030\013 \001(\0132\031.grepti" +
|
||||
"me.v1.DropViewExprH\000B\006\n\004expr\"\373\002\n\016CreateF" +
|
||||
"me.v1.DropViewExprH\000B\006\n\004expr\"\226\003\n\016CreateF" +
|
||||
"lowExpr\022\024\n\014catalog_name\030\001 \001(\t\022\021\n\tflow_na" +
|
||||
"me\030\002 \001(\t\0222\n\022source_table_names\030\003 \003(\0132\026.g" +
|
||||
"reptime.v1.TableName\022/\n\017sink_table_name\030" +
|
||||
"\004 \001(\0132\026.greptime.v1.TableName\022\022\n\nor_repl" +
|
||||
"ace\030\005 \001(\010\022\034\n\024create_if_not_exists\030\006 \001(\010\022" +
|
||||
"\023\n\013expire_when\030\007 \001(\t\022\017\n\007comment\030\010 \001(\t\022\013\n" +
|
||||
"\003sql\030\t \001(\t\022B\n\014flow_options\030\n \003(\0132,.grept" +
|
||||
"ime.v1.CreateFlowExpr.FlowOptionsEntry\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\014catalog_na" +
|
||||
"me\030\001 \001(\t\022\021\n\tflow_name\030\002 \001(\t\022$\n\007flow_id\030\003" +
|
||||
" \001(\0132\023.greptime.v1.FlowId\022\026\n\016drop_if_exi" +
|
||||
"sts\030\005 \001(\010\"\226\001\n\016CreateViewExpr\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\024\n\014logical_plan\030\004 \001(\014\022\034\n\024crea" +
|
||||
"te_if_not_exists\030\005 \001(\010\022\022\n\nor_replace\030\006 \001" +
|
||||
"(\010\"\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.TableId" +
|
||||
"\022\026\n\016drop_if_exists\030\005 \001(\010\"\207\003\n\017CreateTable" +
|
||||
"Expr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013schema_nam" +
|
||||
"e\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.Col" +
|
||||
"umnDef\022\022\n\ntime_index\030\006 \001(\t\022\024\n\014primary_ke" +
|
||||
"ys\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.Crea" +
|
||||
"teTableExpr.TableOptionsEntry\022&\n\010table_i" +
|
||||
"d\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\"\245\002\n\tAlterExpr\022\024\n\014cata" +
|
||||
"log_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\022\n\nt" +
|
||||
"able_name\030\003 \001(\t\022.\n\013add_columns\030\004 \001(\0132\027.g" +
|
||||
"reptime.v1.AddColumnsH\000\0220\n\014drop_columns\030" +
|
||||
"\005 \001(\0132\030.greptime.v1.DropColumnsH\000\0220\n\014ren" +
|
||||
"ame_table\030\006 \001(\0132\030.greptime.v1.RenameTabl" +
|
||||
"eH\000\022=\n\023change_column_types\030\007 \001(\0132\036.grept" +
|
||||
"ime.v1.ChangeColumnTypesH\000B\006\n\004kind\"\216\001\n\rD" +
|
||||
"ropTableExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013sc" +
|
||||
"hema_name\030\002 \001(\t\022\022\n\ntable_name\030\003 \001(\t\022&\n\010t" +
|
||||
"able_id\030\004 \001(\0132\024.greptime.v1.TableId\022\026\n\016d" +
|
||||
"rop_if_exists\030\005 \001(\010\"\314\001\n\022CreateDatabaseEx" +
|
||||
"pr\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\007o" +
|
||||
"ptions\030\004 \003(\0132,.greptime.v1.CreateDatabas" +
|
||||
"eExpr.OptionsEntry\032.\n\014OptionsEntry\022\013\n\003ke" +
|
||||
"y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"z\n\021TruncateTa" +
|
||||
"bleExpr\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\"U\n\020DropDa" +
|
||||
"tabaseExpr\022\024\n\014catalog_name\030\001 \001(\t\022\023\n\013sche" +
|
||||
"ma_name\030\002 \001(\t\022\026\n\016drop_if_exists\030\003 \001(\010\"9\n" +
|
||||
"\nAddColumns\022+\n\013add_columns\030\001 \003(\0132\026.grept" +
|
||||
"ime.v1.AddColumn\"<\n\013DropColumns\022-\n\014drop_" +
|
||||
"columns\030\001 \003(\0132\027.greptime.v1.DropColumn\"O" +
|
||||
"\n\021ChangeColumnTypes\022:\n\023change_column_typ" +
|
||||
"es\030\001 \003(\0132\035.greptime.v1.ChangeColumnType\"" +
|
||||
"%\n\013RenameTable\022\026\n\016new_table_name\030\001 \001(\t\"i" +
|
||||
"\n\tAddColumn\022*\n\ncolumn_def\030\001 \001(\0132\026.grepti" +
|
||||
"me.v1.ColumnDef\0220\n\010location\030\003 \001(\0132\036.grep" +
|
||||
"time.v1.AddColumnLocation\"\236\001\n\020ChangeColu" +
|
||||
"mnType\022\023\n\013column_name\030\001 \001(\t\0220\n\013target_ty" +
|
||||
"pe\030\002 \001(\0162\033.greptime.v1.ColumnDataType\022C\n" +
|
||||
"\025target_type_extension\030\003 \001(\0132$.greptime." +
|
||||
"v1.ColumnDataTypeExtension\"\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\"\377\001\n\tColumnDef\022\014\n\004nam" +
|
||||
"e\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\022" +
|
||||
"default_constraint\030\004 \001(\014\0220\n\rsemantic_typ" +
|
||||
"e\030\005 \001(\0162\031.greptime.v1.SemanticType\022\017\n\007co" +
|
||||
"mment\030\006 \001(\t\022@\n\022datatype_extension\030\007 \001(\0132" +
|
||||
"$.greptime.v1.ColumnDataTypeExtension\"\230\001" +
|
||||
"\n\021AddColumnLocation\022B\n\rlocation_type\030\001 \001" +
|
||||
"(\0162+.greptime.v1.AddColumnLocation.Locat" +
|
||||
"ionType\022\031\n\021after_column_name\030\002 \001(\t\"$\n\014Lo" +
|
||||
"cationType\022\t\n\005FIRST\020\000\022\t\n\005AFTER\020\001BL\n\016io.g" +
|
||||
"reptime.v1B\003DdlZ5github.com/GreptimeTeam" +
|
||||
"/greptime-proto/go/greptime/v1b\006proto3"
|
||||
".\n\014expire_after\030\007 \001(\0132\030.greptime.v1.Expi" +
|
||||
"reAfter\022\017\n\007comment\030\010 \001(\t\022\013\n\003sql\030\t \001(\t\022B\n" +
|
||||
"\014flow_options\030\n \003(\0132,.greptime.v1.Create" +
|
||||
"FlowExpr.FlowOptionsEntry\0322\n\020FlowOptions" +
|
||||
"Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"u\n" +
|
||||
"\014DropFlowExpr\022\024\n\014catalog_name\030\001 \001(\t\022\021\n\tf" +
|
||||
"low_name\030\002 \001(\t\022$\n\007flow_id\030\003 \001(\0132\023.grepti" +
|
||||
"me.v1.FlowId\022\026\n\016drop_if_exists\030\005 \001(\010\"\226\001\n" +
|
||||
"\016CreateViewExpr\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\024\n" +
|
||||
"\014logical_plan\030\004 \001(\014\022\034\n\024create_if_not_exi" +
|
||||
"sts\030\005 \001(\010\022\022\n\nor_replace\030\006 \001(\010\"\213\001\n\014DropVi" +
|
||||
"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%\n\007view_id\030" +
|
||||
"\004 \001(\0132\024.greptime.v1.TableId\022\026\n\016drop_if_e" +
|
||||
"xists\030\005 \001(\010\"\207\003\n\017CreateTableExpr\022\024\n\014catal" +
|
||||
"og_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\022\n\nta" +
|
||||
"ble_name\030\003 \001(\t\022\014\n\004desc\030\004 \001(\t\022+\n\013column_d" +
|
||||
"efs\030\005 \003(\0132\026.greptime.v1.ColumnDef\022\022\n\ntim" +
|
||||
"e_index\030\006 \001(\t\022\024\n\014primary_keys\030\007 \003(\t\022\034\n\024c" +
|
||||
"reate_if_not_exists\030\010 \001(\010\022E\n\rtable_optio" +
|
||||
"ns\030\t \003(\0132..greptime.v1.CreateTableExpr.T" +
|
||||
"ableOptionsEntry\022&\n\010table_id\030\n \001(\0132\024.gre" +
|
||||
"ptime.v1.TableId\022\016\n\006engine\030\014 \001(\t\0323\n\021Tabl" +
|
||||
"eOptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" +
|
||||
"\t:\0028\001\"\245\002\n\tAlterExpr\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.Ad" +
|
||||
"dColumnsH\000\0220\n\014drop_columns\030\005 \001(\0132\030.grept" +
|
||||
"ime.v1.DropColumnsH\000\0220\n\014rename_table\030\006 \001" +
|
||||
"(\0132\030.greptime.v1.RenameTableH\000\022=\n\023change" +
|
||||
"_column_types\030\007 \001(\0132\036.greptime.v1.Change" +
|
||||
"ColumnTypesH\000B\006\n\004kind\"\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(\013" +
|
||||
"2\024.greptime.v1.TableId\022\026\n\016drop_if_exists" +
|
||||
"\030\005 \001(\010\"\314\001\n\022CreateDatabaseExpr\022\024\n\014catalog" +
|
||||
"_name\030\001 \001(\t\022\023\n\013schema_name\030\002 \001(\t\022\034\n\024crea" +
|
||||
"te_if_not_exists\030\003 \001(\010\022=\n\007options\030\004 \003(\0132" +
|
||||
",.greptime.v1.CreateDatabaseExpr.Options" +
|
||||
"Entry\032.\n\014OptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" +
|
||||
"lue\030\002 \001(\t:\0028\001\"z\n\021TruncateTableExpr\022\024\n\014ca" +
|
||||
"talog_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.gr" +
|
||||
"eptime.v1.TableId\"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_exists\030\003 \001(\010\"9\n\nAddColumns\022+" +
|
||||
"\n\013add_columns\030\001 \003(\0132\026.greptime.v1.AddCol" +
|
||||
"umn\"<\n\013DropColumns\022-\n\014drop_columns\030\001 \003(\013" +
|
||||
"2\027.greptime.v1.DropColumn\"O\n\021ChangeColum" +
|
||||
"nTypes\022:\n\023change_column_types\030\001 \003(\0132\035.gr" +
|
||||
"eptime.v1.ChangeColumnType\"%\n\013RenameTabl" +
|
||||
"e\022\026\n\016new_table_name\030\001 \001(\t\"i\n\tAddColumn\022*" +
|
||||
"\n\ncolumn_def\030\001 \001(\0132\026.greptime.v1.ColumnD" +
|
||||
"ef\0220\n\010location\030\003 \001(\0132\036.greptime.v1.AddCo" +
|
||||
"lumnLocation\"\236\001\n\020ChangeColumnType\022\023\n\013col" +
|
||||
"umn_name\030\001 \001(\t\0220\n\013target_type\030\002 \001(\0162\033.gr" +
|
||||
"eptime.v1.ColumnDataType\022C\n\025target_type_" +
|
||||
"extension\030\003 \001(\0132$.greptime.v1.ColumnData" +
|
||||
"TypeExtension\"\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\"\377\001\n\tColumnDef\022\014\n\004name\030\001 \001(\t\022.\n\tda" +
|
||||
"ta_type\030\002 \001(\0162\033.greptime.v1.ColumnDataTy" +
|
||||
"pe\022\023\n\013is_nullable\030\003 \001(\010\022\032\n\022default_const" +
|
||||
"raint\030\004 \001(\014\0220\n\rsemantic_type\030\005 \001(\0162\031.gre" +
|
||||
"ptime.v1.SemanticType\022\017\n\007comment\030\006 \001(\t\022@" +
|
||||
"\n\022datatype_extension\030\007 \001(\0132$.greptime.v1" +
|
||||
".ColumnDataTypeExtension\"\230\001\n\021AddColumnLo" +
|
||||
"cation\022B\n\rlocation_type\030\001 \001(\0162+.greptime" +
|
||||
".v1.AddColumnLocation.LocationType\022\031\n\021af" +
|
||||
"ter_column_name\030\002 \001(\t\"$\n\014LocationType\022\t\n" +
|
||||
"\005FIRST\020\000\022\t\n\005AFTER\020\001BL\n\016io.greptime.v1B\003D" +
|
||||
"dlZ5github.com/GreptimeTeam/greptime-pro" +
|
||||
"to/go/greptime/v1b\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
@@ -25131,7 +25245,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", "ExpireWhen", "Comment", "Sql", "FlowOptions", });
|
||||
new java.lang.String[] { "CatalogName", "FlowName", "SourceTableNames", "SinkTableName", "OrReplace", "CreateIfNotExists", "ExpireAfter", "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
|
||||
|
||||
@@ -5313,16 +5313,31 @@ com.google.protobuf.ByteString defaultValue);
|
||||
boolean getCreateIfNotExists();
|
||||
|
||||
/**
|
||||
* <code>string expire_when = 5;</code>
|
||||
* @return The expireWhen.
|
||||
* <pre>
|
||||
* Expire data older than the given duration seconds.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.ExpireAfter expire_after = 5;</code>
|
||||
* @return Whether the expireAfter field is set.
|
||||
*/
|
||||
java.lang.String getExpireWhen();
|
||||
boolean hasExpireAfter();
|
||||
/**
|
||||
* <code>string expire_when = 5;</code>
|
||||
* @return The bytes for expireWhen.
|
||||
* <pre>
|
||||
* Expire data older than the given duration seconds.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.ExpireAfter expire_after = 5;</code>
|
||||
* @return The expireAfter.
|
||||
*/
|
||||
com.google.protobuf.ByteString
|
||||
getExpireWhenBytes();
|
||||
io.greptime.v1.Common.ExpireAfter getExpireAfter();
|
||||
/**
|
||||
* <pre>
|
||||
* Expire data older than the given duration seconds.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.ExpireAfter expire_after = 5;</code>
|
||||
*/
|
||||
io.greptime.v1.Common.ExpireAfterOrBuilder getExpireAfterOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>string comment = 6;</code>
|
||||
@@ -5387,7 +5402,6 @@ java.lang.String defaultValue);
|
||||
/**
|
||||
* <pre>
|
||||
* Create a flow
|
||||
*
|
||||
* Very similar to `ddl.CreateTaskExpr`,
|
||||
* replace `source_table_names` with `source_table_ids`
|
||||
* </pre>
|
||||
@@ -5405,7 +5419,6 @@ java.lang.String defaultValue);
|
||||
}
|
||||
private CreateRequest() {
|
||||
sourceTableIds_ = java.util.Collections.emptyList();
|
||||
expireWhen_ = "";
|
||||
comment_ = "";
|
||||
sql_ = "";
|
||||
}
|
||||
@@ -5482,9 +5495,16 @@ java.lang.String defaultValue);
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
java.lang.String s = input.readStringRequireUtf8();
|
||||
io.greptime.v1.Common.ExpireAfter.Builder subBuilder = null;
|
||||
if (expireAfter_ != null) {
|
||||
subBuilder = expireAfter_.toBuilder();
|
||||
}
|
||||
expireAfter_ = input.readMessage(io.greptime.v1.Common.ExpireAfter.parser(), extensionRegistry);
|
||||
if (subBuilder != null) {
|
||||
subBuilder.mergeFrom(expireAfter_);
|
||||
expireAfter_ = subBuilder.buildPartial();
|
||||
}
|
||||
|
||||
expireWhen_ = s;
|
||||
break;
|
||||
}
|
||||
case 50: {
|
||||
@@ -5664,42 +5684,42 @@ java.lang.String defaultValue);
|
||||
return createIfNotExists_;
|
||||
}
|
||||
|
||||
public static final int EXPIRE_WHEN_FIELD_NUMBER = 5;
|
||||
private volatile java.lang.Object expireWhen_;
|
||||
public static final int EXPIRE_AFTER_FIELD_NUMBER = 5;
|
||||
private io.greptime.v1.Common.ExpireAfter expireAfter_;
|
||||
/**
|
||||
* <code>string expire_when = 5;</code>
|
||||
* @return The expireWhen.
|
||||
* <pre>
|
||||
* Expire data older than the given duration seconds.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.ExpireAfter expire_after = 5;</code>
|
||||
* @return Whether the expireAfter field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public java.lang.String getExpireWhen() {
|
||||
java.lang.Object ref = expireWhen_;
|
||||
if (ref instanceof java.lang.String) {
|
||||
return (java.lang.String) ref;
|
||||
} else {
|
||||
com.google.protobuf.ByteString bs =
|
||||
(com.google.protobuf.ByteString) ref;
|
||||
java.lang.String s = bs.toStringUtf8();
|
||||
expireWhen_ = s;
|
||||
return s;
|
||||
}
|
||||
public boolean hasExpireAfter() {
|
||||
return expireAfter_ != null;
|
||||
}
|
||||
/**
|
||||
* <code>string expire_when = 5;</code>
|
||||
* @return The bytes for expireWhen.
|
||||
* <pre>
|
||||
* Expire data older than the given duration seconds.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.ExpireAfter expire_after = 5;</code>
|
||||
* @return The expireAfter.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.ByteString
|
||||
getExpireWhenBytes() {
|
||||
java.lang.Object ref = expireWhen_;
|
||||
if (ref instanceof java.lang.String) {
|
||||
com.google.protobuf.ByteString b =
|
||||
com.google.protobuf.ByteString.copyFromUtf8(
|
||||
(java.lang.String) ref);
|
||||
expireWhen_ = b;
|
||||
return b;
|
||||
} else {
|
||||
return (com.google.protobuf.ByteString) ref;
|
||||
public io.greptime.v1.Common.ExpireAfter getExpireAfter() {
|
||||
return expireAfter_ == null ? io.greptime.v1.Common.ExpireAfter.getDefaultInstance() : expireAfter_;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Expire data older than the given duration seconds.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.ExpireAfter expire_after = 5;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public io.greptime.v1.Common.ExpireAfterOrBuilder getExpireAfterOrBuilder() {
|
||||
return getExpireAfter();
|
||||
}
|
||||
|
||||
public static final int COMMENT_FIELD_NUMBER = 6;
|
||||
@@ -5885,8 +5905,8 @@ java.lang.String defaultValue);
|
||||
if (createIfNotExists_ != false) {
|
||||
output.writeBool(4, createIfNotExists_);
|
||||
}
|
||||
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(expireWhen_)) {
|
||||
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, expireWhen_);
|
||||
if (expireAfter_ != null) {
|
||||
output.writeMessage(5, getExpireAfter());
|
||||
}
|
||||
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(comment_)) {
|
||||
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, comment_);
|
||||
@@ -5925,8 +5945,9 @@ java.lang.String defaultValue);
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeBoolSize(4, createIfNotExists_);
|
||||
}
|
||||
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(expireWhen_)) {
|
||||
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, expireWhen_);
|
||||
if (expireAfter_ != null) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(5, getExpireAfter());
|
||||
}
|
||||
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(comment_)) {
|
||||
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, comment_);
|
||||
@@ -5973,8 +5994,11 @@ java.lang.String defaultValue);
|
||||
}
|
||||
if (getCreateIfNotExists()
|
||||
!= other.getCreateIfNotExists()) return false;
|
||||
if (!getExpireWhen()
|
||||
.equals(other.getExpireWhen())) return false;
|
||||
if (hasExpireAfter() != other.hasExpireAfter()) return false;
|
||||
if (hasExpireAfter()) {
|
||||
if (!getExpireAfter()
|
||||
.equals(other.getExpireAfter())) return false;
|
||||
}
|
||||
if (!getComment()
|
||||
.equals(other.getComment())) return false;
|
||||
if (!getSql()
|
||||
@@ -6007,8 +6031,10 @@ java.lang.String defaultValue);
|
||||
hash = (37 * hash) + CREATE_IF_NOT_EXISTS_FIELD_NUMBER;
|
||||
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
||||
getCreateIfNotExists());
|
||||
hash = (37 * hash) + EXPIRE_WHEN_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getExpireWhen().hashCode();
|
||||
if (hasExpireAfter()) {
|
||||
hash = (37 * hash) + EXPIRE_AFTER_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getExpireAfter().hashCode();
|
||||
}
|
||||
hash = (37 * hash) + COMMENT_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getComment().hashCode();
|
||||
hash = (37 * hash) + SQL_FIELD_NUMBER;
|
||||
@@ -6115,7 +6141,6 @@ java.lang.String defaultValue);
|
||||
/**
|
||||
* <pre>
|
||||
* Create a flow
|
||||
*
|
||||
* Very similar to `ddl.CreateTaskExpr`,
|
||||
* replace `source_table_names` with `source_table_ids`
|
||||
* </pre>
|
||||
@@ -6200,8 +6225,12 @@ java.lang.String defaultValue);
|
||||
}
|
||||
createIfNotExists_ = false;
|
||||
|
||||
expireWhen_ = "";
|
||||
|
||||
if (expireAfterBuilder_ == null) {
|
||||
expireAfter_ = null;
|
||||
} else {
|
||||
expireAfter_ = null;
|
||||
expireAfterBuilder_ = null;
|
||||
}
|
||||
comment_ = "";
|
||||
|
||||
sql_ = "";
|
||||
@@ -6254,7 +6283,11 @@ java.lang.String defaultValue);
|
||||
result.sinkTableName_ = sinkTableNameBuilder_.build();
|
||||
}
|
||||
result.createIfNotExists_ = createIfNotExists_;
|
||||
result.expireWhen_ = expireWhen_;
|
||||
if (expireAfterBuilder_ == null) {
|
||||
result.expireAfter_ = expireAfter_;
|
||||
} else {
|
||||
result.expireAfter_ = expireAfterBuilder_.build();
|
||||
}
|
||||
result.comment_ = comment_;
|
||||
result.sql_ = sql_;
|
||||
result.flowOptions_ = internalGetFlowOptions();
|
||||
@@ -6342,9 +6375,8 @@ java.lang.String defaultValue);
|
||||
if (other.getCreateIfNotExists() != false) {
|
||||
setCreateIfNotExists(other.getCreateIfNotExists());
|
||||
}
|
||||
if (!other.getExpireWhen().isEmpty()) {
|
||||
expireWhen_ = other.expireWhen_;
|
||||
onChanged();
|
||||
if (other.hasExpireAfter()) {
|
||||
mergeExpireAfter(other.getExpireAfter());
|
||||
}
|
||||
if (!other.getComment().isEmpty()) {
|
||||
comment_ = other.comment_;
|
||||
@@ -6895,81 +6927,160 @@ java.lang.String defaultValue);
|
||||
return this;
|
||||
}
|
||||
|
||||
private java.lang.Object expireWhen_ = "";
|
||||
private io.greptime.v1.Common.ExpireAfter expireAfter_;
|
||||
private com.google.protobuf.SingleFieldBuilderV3<
|
||||
io.greptime.v1.Common.ExpireAfter, io.greptime.v1.Common.ExpireAfter.Builder, io.greptime.v1.Common.ExpireAfterOrBuilder> expireAfterBuilder_;
|
||||
/**
|
||||
* <code>string expire_when = 5;</code>
|
||||
* @return The expireWhen.
|
||||
* <pre>
|
||||
* Expire data older than the given duration seconds.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.ExpireAfter expire_after = 5;</code>
|
||||
* @return Whether the expireAfter field is set.
|
||||
*/
|
||||
public java.lang.String getExpireWhen() {
|
||||
java.lang.Object ref = expireWhen_;
|
||||
if (!(ref instanceof java.lang.String)) {
|
||||
com.google.protobuf.ByteString bs =
|
||||
(com.google.protobuf.ByteString) ref;
|
||||
java.lang.String s = bs.toStringUtf8();
|
||||
expireWhen_ = s;
|
||||
return s;
|
||||
public boolean hasExpireAfter() {
|
||||
return expireAfterBuilder_ != null || expireAfter_ != null;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Expire data older than the given duration seconds.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.ExpireAfter expire_after = 5;</code>
|
||||
* @return The expireAfter.
|
||||
*/
|
||||
public io.greptime.v1.Common.ExpireAfter getExpireAfter() {
|
||||
if (expireAfterBuilder_ == null) {
|
||||
return expireAfter_ == null ? io.greptime.v1.Common.ExpireAfter.getDefaultInstance() : expireAfter_;
|
||||
} else {
|
||||
return (java.lang.String) ref;
|
||||
return expireAfterBuilder_.getMessage();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string expire_when = 5;</code>
|
||||
* @return The bytes for expireWhen.
|
||||
* <pre>
|
||||
* Expire data older than the given duration seconds.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.ExpireAfter expire_after = 5;</code>
|
||||
*/
|
||||
public com.google.protobuf.ByteString
|
||||
getExpireWhenBytes() {
|
||||
java.lang.Object ref = expireWhen_;
|
||||
if (ref instanceof String) {
|
||||
com.google.protobuf.ByteString b =
|
||||
com.google.protobuf.ByteString.copyFromUtf8(
|
||||
(java.lang.String) ref);
|
||||
expireWhen_ = b;
|
||||
return b;
|
||||
} else {
|
||||
return (com.google.protobuf.ByteString) ref;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string expire_when = 5;</code>
|
||||
* @param value The expireWhen to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setExpireWhen(
|
||||
java.lang.String value) {
|
||||
public Builder setExpireAfter(io.greptime.v1.Common.ExpireAfter value) {
|
||||
if (expireAfterBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
|
||||
expireWhen_ = value;
|
||||
expireAfter_ = value;
|
||||
onChanged();
|
||||
} else {
|
||||
expireAfterBuilder_.setMessage(value);
|
||||
}
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>string expire_when = 5;</code>
|
||||
* @return This builder for chaining.
|
||||
* <pre>
|
||||
* Expire data older than the given duration seconds.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.ExpireAfter expire_after = 5;</code>
|
||||
*/
|
||||
public Builder clearExpireWhen() {
|
||||
|
||||
expireWhen_ = getDefaultInstance().getExpireWhen();
|
||||
public Builder setExpireAfter(
|
||||
io.greptime.v1.Common.ExpireAfter.Builder builderForValue) {
|
||||
if (expireAfterBuilder_ == null) {
|
||||
expireAfter_ = builderForValue.build();
|
||||
onChanged();
|
||||
} else {
|
||||
expireAfterBuilder_.setMessage(builderForValue.build());
|
||||
}
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>string expire_when = 5;</code>
|
||||
* @param value The bytes for expireWhen to set.
|
||||
* @return This builder for chaining.
|
||||
* <pre>
|
||||
* Expire data older than the given duration seconds.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.ExpireAfter expire_after = 5;</code>
|
||||
*/
|
||||
public Builder setExpireWhenBytes(
|
||||
com.google.protobuf.ByteString value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
public Builder mergeExpireAfter(io.greptime.v1.Common.ExpireAfter value) {
|
||||
if (expireAfterBuilder_ == null) {
|
||||
if (expireAfter_ != null) {
|
||||
expireAfter_ =
|
||||
io.greptime.v1.Common.ExpireAfter.newBuilder(expireAfter_).mergeFrom(value).buildPartial();
|
||||
} else {
|
||||
expireAfter_ = value;
|
||||
}
|
||||
checkByteStringIsUtf8(value);
|
||||
|
||||
expireWhen_ = value;
|
||||
onChanged();
|
||||
} else {
|
||||
expireAfterBuilder_.mergeFrom(value);
|
||||
}
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Expire data older than the given duration seconds.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.ExpireAfter expire_after = 5;</code>
|
||||
*/
|
||||
public Builder clearExpireAfter() {
|
||||
if (expireAfterBuilder_ == null) {
|
||||
expireAfter_ = null;
|
||||
onChanged();
|
||||
} else {
|
||||
expireAfter_ = null;
|
||||
expireAfterBuilder_ = null;
|
||||
}
|
||||
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Expire data older than the given duration seconds.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.ExpireAfter expire_after = 5;</code>
|
||||
*/
|
||||
public io.greptime.v1.Common.ExpireAfter.Builder getExpireAfterBuilder() {
|
||||
|
||||
onChanged();
|
||||
return getExpireAfterFieldBuilder().getBuilder();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Expire data older than the given duration seconds.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.ExpireAfter expire_after = 5;</code>
|
||||
*/
|
||||
public io.greptime.v1.Common.ExpireAfterOrBuilder getExpireAfterOrBuilder() {
|
||||
if (expireAfterBuilder_ != null) {
|
||||
return expireAfterBuilder_.getMessageOrBuilder();
|
||||
} else {
|
||||
return expireAfter_ == null ?
|
||||
io.greptime.v1.Common.ExpireAfter.getDefaultInstance() : expireAfter_;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Expire data older than the given duration seconds.
|
||||
* </pre>
|
||||
*
|
||||
* <code>.greptime.v1.ExpireAfter expire_after = 5;</code>
|
||||
*/
|
||||
private com.google.protobuf.SingleFieldBuilderV3<
|
||||
io.greptime.v1.Common.ExpireAfter, io.greptime.v1.Common.ExpireAfter.Builder, io.greptime.v1.Common.ExpireAfterOrBuilder>
|
||||
getExpireAfterFieldBuilder() {
|
||||
if (expireAfterBuilder_ == null) {
|
||||
expireAfterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
||||
io.greptime.v1.Common.ExpireAfter, io.greptime.v1.Common.ExpireAfter.Builder, io.greptime.v1.Common.ExpireAfterOrBuilder>(
|
||||
getExpireAfter(),
|
||||
getParentForChildren(),
|
||||
isClean());
|
||||
expireAfter_ = null;
|
||||
}
|
||||
return expireAfterBuilder_;
|
||||
}
|
||||
|
||||
private java.lang.Object comment_ = "";
|
||||
/**
|
||||
@@ -8010,24 +8121,25 @@ java.lang.String defaultValue);
|
||||
"ime.v1.FlowId\022@\n\textension\030\004 \003(\0132-.grept" +
|
||||
"ime.v1.flow.FlowResponse.ExtensionEntry\032" +
|
||||
"0\n\016ExtensionEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" +
|
||||
"\002 \001(\014:\0028\001\"\343\002\n\rCreateRequest\022$\n\007flow_id\030\001" +
|
||||
"\002 \001(\014:\0028\001\"\376\002\n\rCreateRequest\022$\n\007flow_id\030\001" +
|
||||
" \001(\0132\023.greptime.v1.FlowId\022.\n\020source_tabl" +
|
||||
"e_ids\030\002 \003(\0132\024.greptime.v1.TableId\022/\n\017sin" +
|
||||
"k_table_name\030\003 \001(\0132\026.greptime.v1.TableNa" +
|
||||
"me\022\034\n\024create_if_not_exists\030\004 \001(\010\022\023\n\013expi" +
|
||||
"re_when\030\005 \001(\t\022\017\n\007comment\030\006 \001(\t\022\013\n\003sql\030\007 " +
|
||||
"\001(\t\022F\n\014flow_options\030\010 \003(\01320.greptime.v1." +
|
||||
"flow.CreateRequest.FlowOptionsEntry\0322\n\020F" +
|
||||
"lowOptionsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 " +
|
||||
"\001(\t:\0028\001\"3\n\013DropRequest\022$\n\007flow_id\030\001 \001(\0132" +
|
||||
"\023.greptime.v1.FlowId2\264\001\n\004Flow\022S\n\022HandleC" +
|
||||
"reateRemove\022\035.greptime.v1.flow.FlowReque" +
|
||||
"st\032\036.greptime.v1.flow.FlowResponse\022W\n\023Ha" +
|
||||
"ndleMirrorRequest\022 .greptime.v1.flow.Ins" +
|
||||
"ertRequests\032\036.greptime.v1.flow.FlowRespo" +
|
||||
"nseBY\n\023io.greptime.v1.flowB\006ServerZ:gith" +
|
||||
"ub.com/GreptimeTeam/greptime-proto/go/gr" +
|
||||
"eptime/v1/flowb\006proto3"
|
||||
"me\022\034\n\024create_if_not_exists\030\004 \001(\010\022.\n\014expi" +
|
||||
"re_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_o" +
|
||||
"ptions\030\010 \003(\01320.greptime.v1.flow.CreateRe" +
|
||||
"quest.FlowOptionsEntry\0322\n\020FlowOptionsEnt" +
|
||||
"ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"3\n\013Dr" +
|
||||
"opRequest\022$\n\007flow_id\030\001 \001(\0132\023.greptime.v1" +
|
||||
".FlowId2\264\001\n\004Flow\022S\n\022HandleCreateRemove\022\035" +
|
||||
".greptime.v1.flow.FlowRequest\032\036.greptime" +
|
||||
".v1.flow.FlowResponse\022W\n\023HandleMirrorReq" +
|
||||
"uest\022 .greptime.v1.flow.InsertRequests\032\036" +
|
||||
".greptime.v1.flow.FlowResponseBY\n\023io.gre" +
|
||||
"ptime.v1.flowB\006ServerZ:github.com/Grepti" +
|
||||
"meTeam/greptime-proto/go/greptime/v1/flo" +
|
||||
"wb\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
@@ -8083,7 +8195,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", "ExpireWhen", "Comment", "Sql", "FlowOptions", });
|
||||
new java.lang.String[] { "FlowId", "SourceTableIds", "SinkTableName", "CreateIfNotExists", "ExpireAfter", "Comment", "Sql", "FlowOptions", });
|
||||
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
|
||||
|
||||
@@ -75,6 +75,8 @@ message AffectedRows { uint32 value = 1; }
|
||||
|
||||
message Metrics { bytes metrics = 1; }
|
||||
|
||||
message ExpireAfter { int64 value = 1; }
|
||||
|
||||
message FlightMetadata {
|
||||
AffectedRows affected_rows = 1;
|
||||
Metrics metrics = 2;
|
||||
|
||||
@@ -48,7 +48,8 @@ message CreateFlowExpr {
|
||||
TableName sink_table_name = 4;
|
||||
bool or_replace = 5;
|
||||
bool create_if_not_exists = 6;
|
||||
string expire_when = 7;
|
||||
// Expire data older than the given duration seconds.
|
||||
ExpireAfter expire_after = 7;
|
||||
string comment = 8;
|
||||
string sql = 9;
|
||||
map<string, string> flow_options = 10;
|
||||
|
||||
@@ -73,11 +73,11 @@ message CreateRequest {
|
||||
repeated TableId source_table_ids = 2;
|
||||
TableName sink_table_name = 3;
|
||||
bool create_if_not_exists = 4;
|
||||
string expire_when = 5;
|
||||
// Expire data older than the given duration seconds.
|
||||
ExpireAfter expire_after = 5;
|
||||
string comment = 6;
|
||||
string sql = 7;
|
||||
map<string, string> flow_options = 8;
|
||||
}
|
||||
|
||||
message DropRequest { FlowId flow_id = 1; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user