feat: interal type for row protocol, and multi row deletes (#80)
This commit is contained in:
@@ -97,24 +97,9 @@ struct ColumnDefaultTypeInternal {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ColumnDefaultTypeInternal _Column_default_instance_;
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ColumnDefaultTypeInternal _Column_default_instance_;
|
||||||
PROTOBUF_CONSTEXPR IntervalMonthDayNano::IntervalMonthDayNano(
|
|
||||||
::_pbi::ConstantInitialized): _impl_{
|
|
||||||
/*decltype(_impl_.months_)*/0
|
|
||||||
, /*decltype(_impl_.days_)*/0
|
|
||||||
, /*decltype(_impl_.nanoseconds_)*/int64_t{0}
|
|
||||||
, /*decltype(_impl_._cached_size_)*/{}} {}
|
|
||||||
struct IntervalMonthDayNanoDefaultTypeInternal {
|
|
||||||
PROTOBUF_CONSTEXPR IntervalMonthDayNanoDefaultTypeInternal()
|
|
||||||
: _instance(::_pbi::ConstantInitialized{}) {}
|
|
||||||
~IntervalMonthDayNanoDefaultTypeInternal() {}
|
|
||||||
union {
|
|
||||||
IntervalMonthDayNano _instance;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IntervalMonthDayNanoDefaultTypeInternal _IntervalMonthDayNano_default_instance_;
|
|
||||||
} // namespace v1
|
} // namespace v1
|
||||||
} // namespace greptime
|
} // namespace greptime
|
||||||
static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fcolumn_2eproto[3];
|
static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fcolumn_2eproto[2];
|
||||||
static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_greptime_2fv1_2fcolumn_2eproto = nullptr;
|
static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_greptime_2fv1_2fcolumn_2eproto = nullptr;
|
||||||
static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_greptime_2fv1_2fcolumn_2eproto = nullptr;
|
static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_greptime_2fv1_2fcolumn_2eproto = nullptr;
|
||||||
|
|
||||||
@@ -162,26 +147,15 @@ const uint32_t TableStruct_greptime_2fv1_2fcolumn_2eproto::offsets[] PROTOBUF_SE
|
|||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::Column, _impl_.values_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::Column, _impl_.values_),
|
||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::Column, _impl_.null_mask_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::Column, _impl_.null_mask_),
|
||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::Column, _impl_.datatype_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::Column, _impl_.datatype_),
|
||||||
~0u, // no _has_bits_
|
|
||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::IntervalMonthDayNano, _internal_metadata_),
|
|
||||||
~0u, // no _extensions_
|
|
||||||
~0u, // no _oneof_case_
|
|
||||||
~0u, // no _weak_field_map_
|
|
||||||
~0u, // no _inlined_string_donated_
|
|
||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::IntervalMonthDayNano, _impl_.months_),
|
|
||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::IntervalMonthDayNano, _impl_.days_),
|
|
||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::IntervalMonthDayNano, _impl_.nanoseconds_),
|
|
||||||
};
|
};
|
||||||
static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
|
static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
|
||||||
{ 0, -1, -1, sizeof(::greptime::v1::Column_Values)},
|
{ 0, -1, -1, sizeof(::greptime::v1::Column_Values)},
|
||||||
{ 32, -1, -1, sizeof(::greptime::v1::Column)},
|
{ 32, -1, -1, sizeof(::greptime::v1::Column)},
|
||||||
{ 43, -1, -1, sizeof(::greptime::v1::IntervalMonthDayNano)},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const ::_pb::Message* const file_default_instances[] = {
|
static const ::_pb::Message* const file_default_instances[] = {
|
||||||
&::greptime::v1::_Column_Values_default_instance_._instance,
|
&::greptime::v1::_Column_Values_default_instance_._instance,
|
||||||
&::greptime::v1::_Column_default_instance_._instance,
|
&::greptime::v1::_Column_default_instance_._instance,
|
||||||
&::greptime::v1::_IntervalMonthDayNano_default_instance_._instance,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const char descriptor_table_protodef_greptime_2fv1_2fcolumn_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
|
const char descriptor_table_protodef_greptime_2fv1_2fcolumn_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
|
||||||
@@ -209,20 +183,18 @@ const char descriptor_table_protodef_greptime_2fv1_2fcolumn_2eproto[] PROTOBUF_S
|
|||||||
"_month_values\030\030 \003(\005\022 \n\030interval_day_time"
|
"_month_values\030\030 \003(\005\022 \n\030interval_day_time"
|
||||||
"_values\030\031 \003(\003\022I\n\036interval_month_day_nano"
|
"_values\030\031 \003(\003\022I\n\036interval_month_day_nano"
|
||||||
"_values\030\032 \003(\0132!.greptime.v1.IntervalMont"
|
"_values\030\032 \003(\0132!.greptime.v1.IntervalMont"
|
||||||
"hDayNano\"I\n\024IntervalMonthDayNano\022\016\n\006mont"
|
"hDayNanoBP\n\016io.greptime.v1B\007ColumnsZ5git"
|
||||||
"hs\030\001 \001(\005\022\014\n\004days\030\002 \001(\005\022\023\n\013nanoseconds\030\003 "
|
"hub.com/GreptimeTeam/greptime-proto/go/g"
|
||||||
"\001(\003BP\n\016io.greptime.v1B\007ColumnsZ5github.c"
|
"reptime/v1b\006proto3"
|
||||||
"om/GreptimeTeam/greptime-proto/go/grepti"
|
|
||||||
"me/v1b\006proto3"
|
|
||||||
;
|
;
|
||||||
static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fcolumn_2eproto_deps[1] = {
|
static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fcolumn_2eproto_deps[1] = {
|
||||||
&::descriptor_table_greptime_2fv1_2fcommon_2eproto,
|
&::descriptor_table_greptime_2fv1_2fcommon_2eproto,
|
||||||
};
|
};
|
||||||
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fcolumn_2eproto_once;
|
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fcolumn_2eproto_once;
|
||||||
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fcolumn_2eproto = {
|
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fcolumn_2eproto = {
|
||||||
false, false, 1133, descriptor_table_protodef_greptime_2fv1_2fcolumn_2eproto,
|
false, false, 1058, descriptor_table_protodef_greptime_2fv1_2fcolumn_2eproto,
|
||||||
"greptime/v1/column.proto",
|
"greptime/v1/column.proto",
|
||||||
&descriptor_table_greptime_2fv1_2fcolumn_2eproto_once, descriptor_table_greptime_2fv1_2fcolumn_2eproto_deps, 1, 3,
|
&descriptor_table_greptime_2fv1_2fcolumn_2eproto_once, descriptor_table_greptime_2fv1_2fcolumn_2eproto_deps, 1, 2,
|
||||||
schemas, file_default_instances, TableStruct_greptime_2fv1_2fcolumn_2eproto::offsets,
|
schemas, file_default_instances, TableStruct_greptime_2fv1_2fcolumn_2eproto::offsets,
|
||||||
file_level_metadata_greptime_2fv1_2fcolumn_2eproto, file_level_enum_descriptors_greptime_2fv1_2fcolumn_2eproto,
|
file_level_metadata_greptime_2fv1_2fcolumn_2eproto, file_level_enum_descriptors_greptime_2fv1_2fcolumn_2eproto,
|
||||||
file_level_service_descriptors_greptime_2fv1_2fcolumn_2eproto,
|
file_level_service_descriptors_greptime_2fv1_2fcolumn_2eproto,
|
||||||
@@ -242,6 +214,9 @@ class Column_Values::_Internal {
|
|||||||
public:
|
public:
|
||||||
};
|
};
|
||||||
|
|
||||||
|
void Column_Values::clear_interval_month_day_nano_values() {
|
||||||
|
_impl_.interval_month_day_nano_values_.Clear();
|
||||||
|
}
|
||||||
Column_Values::Column_Values(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
Column_Values::Column_Values(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||||
bool is_message_owned)
|
bool is_message_owned)
|
||||||
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
|
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
|
||||||
@@ -1788,241 +1763,6 @@ void Column::InternalSwap(Column* other) {
|
|||||||
file_level_metadata_greptime_2fv1_2fcolumn_2eproto[1]);
|
file_level_metadata_greptime_2fv1_2fcolumn_2eproto[1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ===================================================================
|
|
||||||
|
|
||||||
class IntervalMonthDayNano::_Internal {
|
|
||||||
public:
|
|
||||||
};
|
|
||||||
|
|
||||||
IntervalMonthDayNano::IntervalMonthDayNano(::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.IntervalMonthDayNano)
|
|
||||||
}
|
|
||||||
IntervalMonthDayNano::IntervalMonthDayNano(const IntervalMonthDayNano& from)
|
|
||||||
: ::PROTOBUF_NAMESPACE_ID::Message() {
|
|
||||||
IntervalMonthDayNano* const _this = this; (void)_this;
|
|
||||||
new (&_impl_) Impl_{
|
|
||||||
decltype(_impl_.months_){}
|
|
||||||
, decltype(_impl_.days_){}
|
|
||||||
, decltype(_impl_.nanoseconds_){}
|
|
||||||
, /*decltype(_impl_._cached_size_)*/{}};
|
|
||||||
|
|
||||||
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
|
||||||
::memcpy(&_impl_.months_, &from._impl_.months_,
|
|
||||||
static_cast<size_t>(reinterpret_cast<char*>(&_impl_.nanoseconds_) -
|
|
||||||
reinterpret_cast<char*>(&_impl_.months_)) + sizeof(_impl_.nanoseconds_));
|
|
||||||
// @@protoc_insertion_point(copy_constructor:greptime.v1.IntervalMonthDayNano)
|
|
||||||
}
|
|
||||||
|
|
||||||
inline void IntervalMonthDayNano::SharedCtor(
|
|
||||||
::_pb::Arena* arena, bool is_message_owned) {
|
|
||||||
(void)arena;
|
|
||||||
(void)is_message_owned;
|
|
||||||
new (&_impl_) Impl_{
|
|
||||||
decltype(_impl_.months_){0}
|
|
||||||
, decltype(_impl_.days_){0}
|
|
||||||
, decltype(_impl_.nanoseconds_){int64_t{0}}
|
|
||||||
, /*decltype(_impl_._cached_size_)*/{}
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
IntervalMonthDayNano::~IntervalMonthDayNano() {
|
|
||||||
// @@protoc_insertion_point(destructor:greptime.v1.IntervalMonthDayNano)
|
|
||||||
if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
|
|
||||||
(void)arena;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
SharedDtor();
|
|
||||||
}
|
|
||||||
|
|
||||||
inline void IntervalMonthDayNano::SharedDtor() {
|
|
||||||
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
|
|
||||||
}
|
|
||||||
|
|
||||||
void IntervalMonthDayNano::SetCachedSize(int size) const {
|
|
||||||
_impl_._cached_size_.Set(size);
|
|
||||||
}
|
|
||||||
|
|
||||||
void IntervalMonthDayNano::Clear() {
|
|
||||||
// @@protoc_insertion_point(message_clear_start:greptime.v1.IntervalMonthDayNano)
|
|
||||||
uint32_t cached_has_bits = 0;
|
|
||||||
// Prevent compiler warnings about cached_has_bits being unused
|
|
||||||
(void) cached_has_bits;
|
|
||||||
|
|
||||||
::memset(&_impl_.months_, 0, static_cast<size_t>(
|
|
||||||
reinterpret_cast<char*>(&_impl_.nanoseconds_) -
|
|
||||||
reinterpret_cast<char*>(&_impl_.months_)) + sizeof(_impl_.nanoseconds_));
|
|
||||||
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
|
||||||
}
|
|
||||||
|
|
||||||
const char* IntervalMonthDayNano::_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) {
|
|
||||||
// int32 months = 1;
|
|
||||||
case 1:
|
|
||||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
|
|
||||||
_impl_.months_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
|
|
||||||
CHK_(ptr);
|
|
||||||
} else
|
|
||||||
goto handle_unusual;
|
|
||||||
continue;
|
|
||||||
// int32 days = 2;
|
|
||||||
case 2:
|
|
||||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
|
|
||||||
_impl_.days_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
|
|
||||||
CHK_(ptr);
|
|
||||||
} else
|
|
||||||
goto handle_unusual;
|
|
||||||
continue;
|
|
||||||
// int64 nanoseconds = 3;
|
|
||||||
case 3:
|
|
||||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) {
|
|
||||||
_impl_.nanoseconds_ = ::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* IntervalMonthDayNano::_InternalSerialize(
|
|
||||||
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
|
|
||||||
// @@protoc_insertion_point(serialize_to_array_start:greptime.v1.IntervalMonthDayNano)
|
|
||||||
uint32_t cached_has_bits = 0;
|
|
||||||
(void) cached_has_bits;
|
|
||||||
|
|
||||||
// int32 months = 1;
|
|
||||||
if (this->_internal_months() != 0) {
|
|
||||||
target = stream->EnsureSpace(target);
|
|
||||||
target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_months(), target);
|
|
||||||
}
|
|
||||||
|
|
||||||
// int32 days = 2;
|
|
||||||
if (this->_internal_days() != 0) {
|
|
||||||
target = stream->EnsureSpace(target);
|
|
||||||
target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_days(), target);
|
|
||||||
}
|
|
||||||
|
|
||||||
// int64 nanoseconds = 3;
|
|
||||||
if (this->_internal_nanoseconds() != 0) {
|
|
||||||
target = stream->EnsureSpace(target);
|
|
||||||
target = ::_pbi::WireFormatLite::WriteInt64ToArray(3, this->_internal_nanoseconds(), 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.IntervalMonthDayNano)
|
|
||||||
return target;
|
|
||||||
}
|
|
||||||
|
|
||||||
size_t IntervalMonthDayNano::ByteSizeLong() const {
|
|
||||||
// @@protoc_insertion_point(message_byte_size_start:greptime.v1.IntervalMonthDayNano)
|
|
||||||
size_t total_size = 0;
|
|
||||||
|
|
||||||
uint32_t cached_has_bits = 0;
|
|
||||||
// Prevent compiler warnings about cached_has_bits being unused
|
|
||||||
(void) cached_has_bits;
|
|
||||||
|
|
||||||
// int32 months = 1;
|
|
||||||
if (this->_internal_months() != 0) {
|
|
||||||
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_months());
|
|
||||||
}
|
|
||||||
|
|
||||||
// int32 days = 2;
|
|
||||||
if (this->_internal_days() != 0) {
|
|
||||||
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_days());
|
|
||||||
}
|
|
||||||
|
|
||||||
// int64 nanoseconds = 3;
|
|
||||||
if (this->_internal_nanoseconds() != 0) {
|
|
||||||
total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_nanoseconds());
|
|
||||||
}
|
|
||||||
|
|
||||||
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
|
||||||
}
|
|
||||||
|
|
||||||
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData IntervalMonthDayNano::_class_data_ = {
|
|
||||||
::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
|
|
||||||
IntervalMonthDayNano::MergeImpl
|
|
||||||
};
|
|
||||||
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*IntervalMonthDayNano::GetClassData() const { return &_class_data_; }
|
|
||||||
|
|
||||||
|
|
||||||
void IntervalMonthDayNano::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
|
|
||||||
auto* const _this = static_cast<IntervalMonthDayNano*>(&to_msg);
|
|
||||||
auto& from = static_cast<const IntervalMonthDayNano&>(from_msg);
|
|
||||||
// @@protoc_insertion_point(class_specific_merge_from_start:greptime.v1.IntervalMonthDayNano)
|
|
||||||
GOOGLE_DCHECK_NE(&from, _this);
|
|
||||||
uint32_t cached_has_bits = 0;
|
|
||||||
(void) cached_has_bits;
|
|
||||||
|
|
||||||
if (from._internal_months() != 0) {
|
|
||||||
_this->_internal_set_months(from._internal_months());
|
|
||||||
}
|
|
||||||
if (from._internal_days() != 0) {
|
|
||||||
_this->_internal_set_days(from._internal_days());
|
|
||||||
}
|
|
||||||
if (from._internal_nanoseconds() != 0) {
|
|
||||||
_this->_internal_set_nanoseconds(from._internal_nanoseconds());
|
|
||||||
}
|
|
||||||
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
|
||||||
}
|
|
||||||
|
|
||||||
void IntervalMonthDayNano::CopyFrom(const IntervalMonthDayNano& from) {
|
|
||||||
// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.IntervalMonthDayNano)
|
|
||||||
if (&from == this) return;
|
|
||||||
Clear();
|
|
||||||
MergeFrom(from);
|
|
||||||
}
|
|
||||||
|
|
||||||
bool IntervalMonthDayNano::IsInitialized() const {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
void IntervalMonthDayNano::InternalSwap(IntervalMonthDayNano* other) {
|
|
||||||
using std::swap;
|
|
||||||
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
||||||
::PROTOBUF_NAMESPACE_ID::internal::memswap<
|
|
||||||
PROTOBUF_FIELD_OFFSET(IntervalMonthDayNano, _impl_.nanoseconds_)
|
|
||||||
+ sizeof(IntervalMonthDayNano::_impl_.nanoseconds_)
|
|
||||||
- PROTOBUF_FIELD_OFFSET(IntervalMonthDayNano, _impl_.months_)>(
|
|
||||||
reinterpret_cast<char*>(&_impl_.months_),
|
|
||||||
reinterpret_cast<char*>(&other->_impl_.months_));
|
|
||||||
}
|
|
||||||
|
|
||||||
::PROTOBUF_NAMESPACE_ID::Metadata IntervalMonthDayNano::GetMetadata() const {
|
|
||||||
return ::_pbi::AssignDescriptors(
|
|
||||||
&descriptor_table_greptime_2fv1_2fcolumn_2eproto_getter, &descriptor_table_greptime_2fv1_2fcolumn_2eproto_once,
|
|
||||||
file_level_metadata_greptime_2fv1_2fcolumn_2eproto[2]);
|
|
||||||
}
|
|
||||||
|
|
||||||
// @@protoc_insertion_point(namespace_scope)
|
// @@protoc_insertion_point(namespace_scope)
|
||||||
} // namespace v1
|
} // namespace v1
|
||||||
} // namespace greptime
|
} // namespace greptime
|
||||||
@@ -2035,10 +1775,6 @@ template<> PROTOBUF_NOINLINE ::greptime::v1::Column*
|
|||||||
Arena::CreateMaybeMessage< ::greptime::v1::Column >(Arena* arena) {
|
Arena::CreateMaybeMessage< ::greptime::v1::Column >(Arena* arena) {
|
||||||
return Arena::CreateMessageInternal< ::greptime::v1::Column >(arena);
|
return Arena::CreateMessageInternal< ::greptime::v1::Column >(arena);
|
||||||
}
|
}
|
||||||
template<> PROTOBUF_NOINLINE ::greptime::v1::IntervalMonthDayNano*
|
|
||||||
Arena::CreateMaybeMessage< ::greptime::v1::IntervalMonthDayNano >(Arena* arena) {
|
|
||||||
return Arena::CreateMessageInternal< ::greptime::v1::IntervalMonthDayNano >(arena);
|
|
||||||
}
|
|
||||||
PROTOBUF_NAMESPACE_CLOSE
|
PROTOBUF_NAMESPACE_CLOSE
|
||||||
|
|
||||||
// @@protoc_insertion_point(global_scope)
|
// @@protoc_insertion_point(global_scope)
|
||||||
|
|||||||
@@ -53,15 +53,11 @@ extern ColumnDefaultTypeInternal _Column_default_instance_;
|
|||||||
class Column_Values;
|
class Column_Values;
|
||||||
struct Column_ValuesDefaultTypeInternal;
|
struct Column_ValuesDefaultTypeInternal;
|
||||||
extern Column_ValuesDefaultTypeInternal _Column_Values_default_instance_;
|
extern Column_ValuesDefaultTypeInternal _Column_Values_default_instance_;
|
||||||
class IntervalMonthDayNano;
|
|
||||||
struct IntervalMonthDayNanoDefaultTypeInternal;
|
|
||||||
extern IntervalMonthDayNanoDefaultTypeInternal _IntervalMonthDayNano_default_instance_;
|
|
||||||
} // namespace v1
|
} // namespace v1
|
||||||
} // namespace greptime
|
} // namespace greptime
|
||||||
PROTOBUF_NAMESPACE_OPEN
|
PROTOBUF_NAMESPACE_OPEN
|
||||||
template<> ::greptime::v1::Column* Arena::CreateMaybeMessage<::greptime::v1::Column>(Arena*);
|
template<> ::greptime::v1::Column* Arena::CreateMaybeMessage<::greptime::v1::Column>(Arena*);
|
||||||
template<> ::greptime::v1::Column_Values* Arena::CreateMaybeMessage<::greptime::v1::Column_Values>(Arena*);
|
template<> ::greptime::v1::Column_Values* Arena::CreateMaybeMessage<::greptime::v1::Column_Values>(Arena*);
|
||||||
template<> ::greptime::v1::IntervalMonthDayNano* Arena::CreateMaybeMessage<::greptime::v1::IntervalMonthDayNano>(Arena*);
|
|
||||||
PROTOBUF_NAMESPACE_CLOSE
|
PROTOBUF_NAMESPACE_CLOSE
|
||||||
namespace greptime {
|
namespace greptime {
|
||||||
namespace v1 {
|
namespace v1 {
|
||||||
@@ -1060,176 +1056,6 @@ class Column final :
|
|||||||
union { Impl_ _impl_; };
|
union { Impl_ _impl_; };
|
||||||
friend struct ::TableStruct_greptime_2fv1_2fcolumn_2eproto;
|
friend struct ::TableStruct_greptime_2fv1_2fcolumn_2eproto;
|
||||||
};
|
};
|
||||||
// -------------------------------------------------------------------
|
|
||||||
|
|
||||||
class IntervalMonthDayNano final :
|
|
||||||
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.IntervalMonthDayNano) */ {
|
|
||||||
public:
|
|
||||||
inline IntervalMonthDayNano() : IntervalMonthDayNano(nullptr) {}
|
|
||||||
~IntervalMonthDayNano() override;
|
|
||||||
explicit PROTOBUF_CONSTEXPR IntervalMonthDayNano(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
|
||||||
|
|
||||||
IntervalMonthDayNano(const IntervalMonthDayNano& from);
|
|
||||||
IntervalMonthDayNano(IntervalMonthDayNano&& from) noexcept
|
|
||||||
: IntervalMonthDayNano() {
|
|
||||||
*this = ::std::move(from);
|
|
||||||
}
|
|
||||||
|
|
||||||
inline IntervalMonthDayNano& operator=(const IntervalMonthDayNano& from) {
|
|
||||||
CopyFrom(from);
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
inline IntervalMonthDayNano& operator=(IntervalMonthDayNano&& 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 IntervalMonthDayNano& default_instance() {
|
|
||||||
return *internal_default_instance();
|
|
||||||
}
|
|
||||||
static inline const IntervalMonthDayNano* internal_default_instance() {
|
|
||||||
return reinterpret_cast<const IntervalMonthDayNano*>(
|
|
||||||
&_IntervalMonthDayNano_default_instance_);
|
|
||||||
}
|
|
||||||
static constexpr int kIndexInFileMessages =
|
|
||||||
2;
|
|
||||||
|
|
||||||
friend void swap(IntervalMonthDayNano& a, IntervalMonthDayNano& b) {
|
|
||||||
a.Swap(&b);
|
|
||||||
}
|
|
||||||
inline void Swap(IntervalMonthDayNano* 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(IntervalMonthDayNano* other) {
|
|
||||||
if (other == this) return;
|
|
||||||
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
|
||||||
InternalSwap(other);
|
|
||||||
}
|
|
||||||
|
|
||||||
// implements Message ----------------------------------------------
|
|
||||||
|
|
||||||
IntervalMonthDayNano* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
|
||||||
return CreateMaybeMessage<IntervalMonthDayNano>(arena);
|
|
||||||
}
|
|
||||||
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
|
||||||
void CopyFrom(const IntervalMonthDayNano& from);
|
|
||||||
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
|
||||||
void MergeFrom( const IntervalMonthDayNano& from) {
|
|
||||||
IntervalMonthDayNano::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(IntervalMonthDayNano* other);
|
|
||||||
|
|
||||||
private:
|
|
||||||
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
||||||
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
||||||
return "greptime.v1.IntervalMonthDayNano";
|
|
||||||
}
|
|
||||||
protected:
|
|
||||||
explicit IntervalMonthDayNano(::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 {
|
|
||||||
kMonthsFieldNumber = 1,
|
|
||||||
kDaysFieldNumber = 2,
|
|
||||||
kNanosecondsFieldNumber = 3,
|
|
||||||
};
|
|
||||||
// int32 months = 1;
|
|
||||||
void clear_months();
|
|
||||||
int32_t months() const;
|
|
||||||
void set_months(int32_t value);
|
|
||||||
private:
|
|
||||||
int32_t _internal_months() const;
|
|
||||||
void _internal_set_months(int32_t value);
|
|
||||||
public:
|
|
||||||
|
|
||||||
// int32 days = 2;
|
|
||||||
void clear_days();
|
|
||||||
int32_t days() const;
|
|
||||||
void set_days(int32_t value);
|
|
||||||
private:
|
|
||||||
int32_t _internal_days() const;
|
|
||||||
void _internal_set_days(int32_t value);
|
|
||||||
public:
|
|
||||||
|
|
||||||
// int64 nanoseconds = 3;
|
|
||||||
void clear_nanoseconds();
|
|
||||||
int64_t nanoseconds() const;
|
|
||||||
void set_nanoseconds(int64_t value);
|
|
||||||
private:
|
|
||||||
int64_t _internal_nanoseconds() const;
|
|
||||||
void _internal_set_nanoseconds(int64_t value);
|
|
||||||
public:
|
|
||||||
|
|
||||||
// @@protoc_insertion_point(class_scope:greptime.v1.IntervalMonthDayNano)
|
|
||||||
private:
|
|
||||||
class _Internal;
|
|
||||||
|
|
||||||
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
|
||||||
typedef void InternalArenaConstructable_;
|
|
||||||
typedef void DestructorSkippable_;
|
|
||||||
struct Impl_ {
|
|
||||||
int32_t months_;
|
|
||||||
int32_t days_;
|
|
||||||
int64_t nanoseconds_;
|
|
||||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
||||||
};
|
|
||||||
union { Impl_ _impl_; };
|
|
||||||
friend struct ::TableStruct_greptime_2fv1_2fcolumn_2eproto;
|
|
||||||
};
|
|
||||||
// ===================================================================
|
// ===================================================================
|
||||||
|
|
||||||
|
|
||||||
@@ -2479,9 +2305,6 @@ inline int Column_Values::_internal_interval_month_day_nano_values_size() const
|
|||||||
inline int Column_Values::interval_month_day_nano_values_size() const {
|
inline int Column_Values::interval_month_day_nano_values_size() const {
|
||||||
return _internal_interval_month_day_nano_values_size();
|
return _internal_interval_month_day_nano_values_size();
|
||||||
}
|
}
|
||||||
inline void Column_Values::clear_interval_month_day_nano_values() {
|
|
||||||
_impl_.interval_month_day_nano_values_.Clear();
|
|
||||||
}
|
|
||||||
inline ::greptime::v1::IntervalMonthDayNano* Column_Values::mutable_interval_month_day_nano_values(int index) {
|
inline ::greptime::v1::IntervalMonthDayNano* Column_Values::mutable_interval_month_day_nano_values(int index) {
|
||||||
// @@protoc_insertion_point(field_mutable:greptime.v1.Column.Values.interval_month_day_nano_values)
|
// @@protoc_insertion_point(field_mutable:greptime.v1.Column.Values.interval_month_day_nano_values)
|
||||||
return _impl_.interval_month_day_nano_values_.Mutable(index);
|
return _impl_.interval_month_day_nano_values_.Mutable(index);
|
||||||
@@ -2746,77 +2569,11 @@ inline void Column::set_datatype(::greptime::v1::ColumnDataType value) {
|
|||||||
// @@protoc_insertion_point(field_set:greptime.v1.Column.datatype)
|
// @@protoc_insertion_point(field_set:greptime.v1.Column.datatype)
|
||||||
}
|
}
|
||||||
|
|
||||||
// -------------------------------------------------------------------
|
|
||||||
|
|
||||||
// IntervalMonthDayNano
|
|
||||||
|
|
||||||
// int32 months = 1;
|
|
||||||
inline void IntervalMonthDayNano::clear_months() {
|
|
||||||
_impl_.months_ = 0;
|
|
||||||
}
|
|
||||||
inline int32_t IntervalMonthDayNano::_internal_months() const {
|
|
||||||
return _impl_.months_;
|
|
||||||
}
|
|
||||||
inline int32_t IntervalMonthDayNano::months() const {
|
|
||||||
// @@protoc_insertion_point(field_get:greptime.v1.IntervalMonthDayNano.months)
|
|
||||||
return _internal_months();
|
|
||||||
}
|
|
||||||
inline void IntervalMonthDayNano::_internal_set_months(int32_t value) {
|
|
||||||
|
|
||||||
_impl_.months_ = value;
|
|
||||||
}
|
|
||||||
inline void IntervalMonthDayNano::set_months(int32_t value) {
|
|
||||||
_internal_set_months(value);
|
|
||||||
// @@protoc_insertion_point(field_set:greptime.v1.IntervalMonthDayNano.months)
|
|
||||||
}
|
|
||||||
|
|
||||||
// int32 days = 2;
|
|
||||||
inline void IntervalMonthDayNano::clear_days() {
|
|
||||||
_impl_.days_ = 0;
|
|
||||||
}
|
|
||||||
inline int32_t IntervalMonthDayNano::_internal_days() const {
|
|
||||||
return _impl_.days_;
|
|
||||||
}
|
|
||||||
inline int32_t IntervalMonthDayNano::days() const {
|
|
||||||
// @@protoc_insertion_point(field_get:greptime.v1.IntervalMonthDayNano.days)
|
|
||||||
return _internal_days();
|
|
||||||
}
|
|
||||||
inline void IntervalMonthDayNano::_internal_set_days(int32_t value) {
|
|
||||||
|
|
||||||
_impl_.days_ = value;
|
|
||||||
}
|
|
||||||
inline void IntervalMonthDayNano::set_days(int32_t value) {
|
|
||||||
_internal_set_days(value);
|
|
||||||
// @@protoc_insertion_point(field_set:greptime.v1.IntervalMonthDayNano.days)
|
|
||||||
}
|
|
||||||
|
|
||||||
// int64 nanoseconds = 3;
|
|
||||||
inline void IntervalMonthDayNano::clear_nanoseconds() {
|
|
||||||
_impl_.nanoseconds_ = int64_t{0};
|
|
||||||
}
|
|
||||||
inline int64_t IntervalMonthDayNano::_internal_nanoseconds() const {
|
|
||||||
return _impl_.nanoseconds_;
|
|
||||||
}
|
|
||||||
inline int64_t IntervalMonthDayNano::nanoseconds() const {
|
|
||||||
// @@protoc_insertion_point(field_get:greptime.v1.IntervalMonthDayNano.nanoseconds)
|
|
||||||
return _internal_nanoseconds();
|
|
||||||
}
|
|
||||||
inline void IntervalMonthDayNano::_internal_set_nanoseconds(int64_t value) {
|
|
||||||
|
|
||||||
_impl_.nanoseconds_ = value;
|
|
||||||
}
|
|
||||||
inline void IntervalMonthDayNano::set_nanoseconds(int64_t value) {
|
|
||||||
_internal_set_nanoseconds(value);
|
|
||||||
// @@protoc_insertion_point(field_set:greptime.v1.IntervalMonthDayNano.nanoseconds)
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
#pragma GCC diagnostic pop
|
#pragma GCC diagnostic pop
|
||||||
#endif // __GNUC__
|
#endif // __GNUC__
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
// -------------------------------------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
// @@protoc_insertion_point(namespace_scope)
|
// @@protoc_insertion_point(namespace_scope)
|
||||||
|
|
||||||
|
|||||||
+285
-18
@@ -151,9 +151,24 @@ struct ColumnDefDefaultTypeInternal {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ColumnDefDefaultTypeInternal _ColumnDef_default_instance_;
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ColumnDefDefaultTypeInternal _ColumnDef_default_instance_;
|
||||||
|
PROTOBUF_CONSTEXPR IntervalMonthDayNano::IntervalMonthDayNano(
|
||||||
|
::_pbi::ConstantInitialized): _impl_{
|
||||||
|
/*decltype(_impl_.months_)*/0
|
||||||
|
, /*decltype(_impl_.days_)*/0
|
||||||
|
, /*decltype(_impl_.nanoseconds_)*/int64_t{0}
|
||||||
|
, /*decltype(_impl_._cached_size_)*/{}} {}
|
||||||
|
struct IntervalMonthDayNanoDefaultTypeInternal {
|
||||||
|
PROTOBUF_CONSTEXPR IntervalMonthDayNanoDefaultTypeInternal()
|
||||||
|
: _instance(::_pbi::ConstantInitialized{}) {}
|
||||||
|
~IntervalMonthDayNanoDefaultTypeInternal() {}
|
||||||
|
union {
|
||||||
|
IntervalMonthDayNano _instance;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IntervalMonthDayNanoDefaultTypeInternal _IntervalMonthDayNano_default_instance_;
|
||||||
} // namespace v1
|
} // namespace v1
|
||||||
} // namespace greptime
|
} // namespace greptime
|
||||||
static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fcommon_2eproto[9];
|
static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fcommon_2eproto[10];
|
||||||
static const ::_pb::EnumDescriptor* file_level_enum_descriptors_greptime_2fv1_2fcommon_2eproto[2];
|
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;
|
static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_greptime_2fv1_2fcommon_2eproto = nullptr;
|
||||||
|
|
||||||
@@ -239,6 +254,15 @@ const uint32_t TableStruct_greptime_2fv1_2fcommon_2eproto::offsets[] PROTOBUF_SE
|
|||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::ColumnDef, _impl_.datatype_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::ColumnDef, _impl_.datatype_),
|
||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::ColumnDef, _impl_.is_nullable_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::ColumnDef, _impl_.is_nullable_),
|
||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::ColumnDef, _impl_.default_constraint_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::ColumnDef, _impl_.default_constraint_),
|
||||||
|
~0u, // no _has_bits_
|
||||||
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::IntervalMonthDayNano, _internal_metadata_),
|
||||||
|
~0u, // no _extensions_
|
||||||
|
~0u, // no _oneof_case_
|
||||||
|
~0u, // no _weak_field_map_
|
||||||
|
~0u, // no _inlined_string_donated_
|
||||||
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::IntervalMonthDayNano, _impl_.months_),
|
||||||
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::IntervalMonthDayNano, _impl_.days_),
|
||||||
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::IntervalMonthDayNano, _impl_.nanoseconds_),
|
||||||
};
|
};
|
||||||
static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
|
static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
|
||||||
{ 0, 12, -1, sizeof(::greptime::v1::RequestHeader)},
|
{ 0, 12, -1, sizeof(::greptime::v1::RequestHeader)},
|
||||||
@@ -250,6 +274,7 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode
|
|||||||
{ 57, -1, -1, sizeof(::greptime::v1::AffectedRows)},
|
{ 57, -1, -1, sizeof(::greptime::v1::AffectedRows)},
|
||||||
{ 64, -1, -1, sizeof(::greptime::v1::FlightMetadata)},
|
{ 64, -1, -1, sizeof(::greptime::v1::FlightMetadata)},
|
||||||
{ 71, -1, -1, sizeof(::greptime::v1::ColumnDef)},
|
{ 71, -1, -1, sizeof(::greptime::v1::ColumnDef)},
|
||||||
|
{ 81, -1, -1, sizeof(::greptime::v1::IntervalMonthDayNano)},
|
||||||
};
|
};
|
||||||
|
|
||||||
static const ::_pb::Message* const file_default_instances[] = {
|
static const ::_pb::Message* const file_default_instances[] = {
|
||||||
@@ -262,6 +287,7 @@ static const ::_pb::Message* const file_default_instances[] = {
|
|||||||
&::greptime::v1::_AffectedRows_default_instance_._instance,
|
&::greptime::v1::_AffectedRows_default_instance_._instance,
|
||||||
&::greptime::v1::_FlightMetadata_default_instance_._instance,
|
&::greptime::v1::_FlightMetadata_default_instance_._instance,
|
||||||
&::greptime::v1::_ColumnDef_default_instance_._instance,
|
&::greptime::v1::_ColumnDef_default_instance_._instance,
|
||||||
|
&::greptime::v1::_IntervalMonthDayNano_default_instance_._instance,
|
||||||
};
|
};
|
||||||
|
|
||||||
const char descriptor_table_protodef_greptime_2fv1_2fcommon_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
|
const char descriptor_table_protodef_greptime_2fv1_2fcommon_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
|
||||||
@@ -283,27 +309,29 @@ const char descriptor_table_protodef_greptime_2fv1_2fcommon_2eproto[] PROTOBUF_S
|
|||||||
"\n\tColumnDef\022\014\n\004name\030\001 \001(\t\022-\n\010datatype\030\002 "
|
"\n\tColumnDef\022\014\n\004name\030\001 \001(\t\022-\n\010datatype\030\002 "
|
||||||
"\001(\0162\033.greptime.v1.ColumnDataType\022\023\n\013is_n"
|
"\001(\0162\033.greptime.v1.ColumnDataType\022\023\n\013is_n"
|
||||||
"ullable\030\003 \001(\010\022\032\n\022default_constraint\030\004 \001("
|
"ullable\030\003 \001(\010\022\032\n\022default_constraint\030\004 \001("
|
||||||
"\014*1\n\014SemanticType\022\007\n\003TAG\020\000\022\t\n\005FIELD\020\001\022\r\n"
|
"\014\"I\n\024IntervalMonthDayNano\022\016\n\006months\030\001 \001("
|
||||||
"\tTIMESTAMP\020\002*\306\003\n\016ColumnDataType\022\013\n\007BOOLE"
|
"\005\022\014\n\004days\030\002 \001(\005\022\023\n\013nanoseconds\030\003 \001(\003*1\n\014"
|
||||||
"AN\020\000\022\010\n\004INT8\020\001\022\t\n\005INT16\020\002\022\t\n\005INT32\020\003\022\t\n\005"
|
"SemanticType\022\007\n\003TAG\020\000\022\t\n\005FIELD\020\001\022\r\n\tTIME"
|
||||||
"INT64\020\004\022\t\n\005UINT8\020\005\022\n\n\006UINT16\020\006\022\n\n\006UINT32"
|
"STAMP\020\002*\306\003\n\016ColumnDataType\022\013\n\007BOOLEAN\020\000\022"
|
||||||
"\020\007\022\n\n\006UINT64\020\010\022\013\n\007FLOAT32\020\t\022\013\n\007FLOAT64\020\n"
|
"\010\n\004INT8\020\001\022\t\n\005INT16\020\002\022\t\n\005INT32\020\003\022\t\n\005INT64"
|
||||||
"\022\n\n\006BINARY\020\013\022\n\n\006STRING\020\014\022\010\n\004DATE\020\r\022\014\n\010DA"
|
"\020\004\022\t\n\005UINT8\020\005\022\n\n\006UINT16\020\006\022\n\n\006UINT32\020\007\022\n\n"
|
||||||
"TETIME\020\016\022\024\n\020TIMESTAMP_SECOND\020\017\022\031\n\025TIMEST"
|
"\006UINT64\020\010\022\013\n\007FLOAT32\020\t\022\013\n\007FLOAT64\020\n\022\n\n\006B"
|
||||||
"AMP_MILLISECOND\020\020\022\031\n\025TIMESTAMP_MICROSECO"
|
"INARY\020\013\022\n\n\006STRING\020\014\022\010\n\004DATE\020\r\022\014\n\010DATETIM"
|
||||||
"ND\020\021\022\030\n\024TIMESTAMP_NANOSECOND\020\022\022\017\n\013TIME_S"
|
"E\020\016\022\024\n\020TIMESTAMP_SECOND\020\017\022\031\n\025TIMESTAMP_M"
|
||||||
"ECOND\020\023\022\024\n\020TIME_MILLISECOND\020\024\022\024\n\020TIME_MI"
|
"ILLISECOND\020\020\022\031\n\025TIMESTAMP_MICROSECOND\020\021\022"
|
||||||
"CROSECOND\020\025\022\023\n\017TIME_NANOSECOND\020\026\022\027\n\023INTE"
|
"\030\n\024TIMESTAMP_NANOSECOND\020\022\022\017\n\013TIME_SECOND"
|
||||||
"RVAL_YEAR_MONTH\020\027\022\025\n\021INTERVAL_DAY_TIME\020\030"
|
"\020\023\022\024\n\020TIME_MILLISECOND\020\024\022\024\n\020TIME_MICROSE"
|
||||||
"\022\033\n\027INTERVAL_MONTH_DAY_NANO\020\031BO\n\016io.grep"
|
"COND\020\025\022\023\n\017TIME_NANOSECOND\020\026\022\027\n\023INTERVAL_"
|
||||||
"time.v1B\006CommonZ5github.com/GreptimeTeam"
|
"YEAR_MONTH\020\027\022\025\n\021INTERVAL_DAY_TIME\020\030\022\033\n\027I"
|
||||||
"/greptime-proto/go/greptime/v1b\006proto3"
|
"NTERVAL_MONTH_DAY_NANO\020\031BO\n\016io.greptime."
|
||||||
|
"v1B\006CommonZ5github.com/GreptimeTeam/grep"
|
||||||
|
"time-proto/go/greptime/v1b\006proto3"
|
||||||
;
|
;
|
||||||
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fcommon_2eproto_once;
|
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fcommon_2eproto_once;
|
||||||
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fcommon_2eproto = {
|
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fcommon_2eproto = {
|
||||||
false, false, 1318, descriptor_table_protodef_greptime_2fv1_2fcommon_2eproto,
|
false, false, 1393, descriptor_table_protodef_greptime_2fv1_2fcommon_2eproto,
|
||||||
"greptime/v1/common.proto",
|
"greptime/v1/common.proto",
|
||||||
&descriptor_table_greptime_2fv1_2fcommon_2eproto_once, nullptr, 0, 9,
|
&descriptor_table_greptime_2fv1_2fcommon_2eproto_once, nullptr, 0, 10,
|
||||||
schemas, file_default_instances, TableStruct_greptime_2fv1_2fcommon_2eproto::offsets,
|
schemas, file_default_instances, TableStruct_greptime_2fv1_2fcommon_2eproto::offsets,
|
||||||
file_level_metadata_greptime_2fv1_2fcommon_2eproto, file_level_enum_descriptors_greptime_2fv1_2fcommon_2eproto,
|
file_level_metadata_greptime_2fv1_2fcommon_2eproto, file_level_enum_descriptors_greptime_2fv1_2fcommon_2eproto,
|
||||||
file_level_service_descriptors_greptime_2fv1_2fcommon_2eproto,
|
file_level_service_descriptors_greptime_2fv1_2fcommon_2eproto,
|
||||||
@@ -2665,6 +2693,241 @@ void ColumnDef::InternalSwap(ColumnDef* other) {
|
|||||||
file_level_metadata_greptime_2fv1_2fcommon_2eproto[8]);
|
file_level_metadata_greptime_2fv1_2fcommon_2eproto[8]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ===================================================================
|
||||||
|
|
||||||
|
class IntervalMonthDayNano::_Internal {
|
||||||
|
public:
|
||||||
|
};
|
||||||
|
|
||||||
|
IntervalMonthDayNano::IntervalMonthDayNano(::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.IntervalMonthDayNano)
|
||||||
|
}
|
||||||
|
IntervalMonthDayNano::IntervalMonthDayNano(const IntervalMonthDayNano& from)
|
||||||
|
: ::PROTOBUF_NAMESPACE_ID::Message() {
|
||||||
|
IntervalMonthDayNano* const _this = this; (void)_this;
|
||||||
|
new (&_impl_) Impl_{
|
||||||
|
decltype(_impl_.months_){}
|
||||||
|
, decltype(_impl_.days_){}
|
||||||
|
, decltype(_impl_.nanoseconds_){}
|
||||||
|
, /*decltype(_impl_._cached_size_)*/{}};
|
||||||
|
|
||||||
|
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||||
|
::memcpy(&_impl_.months_, &from._impl_.months_,
|
||||||
|
static_cast<size_t>(reinterpret_cast<char*>(&_impl_.nanoseconds_) -
|
||||||
|
reinterpret_cast<char*>(&_impl_.months_)) + sizeof(_impl_.nanoseconds_));
|
||||||
|
// @@protoc_insertion_point(copy_constructor:greptime.v1.IntervalMonthDayNano)
|
||||||
|
}
|
||||||
|
|
||||||
|
inline void IntervalMonthDayNano::SharedCtor(
|
||||||
|
::_pb::Arena* arena, bool is_message_owned) {
|
||||||
|
(void)arena;
|
||||||
|
(void)is_message_owned;
|
||||||
|
new (&_impl_) Impl_{
|
||||||
|
decltype(_impl_.months_){0}
|
||||||
|
, decltype(_impl_.days_){0}
|
||||||
|
, decltype(_impl_.nanoseconds_){int64_t{0}}
|
||||||
|
, /*decltype(_impl_._cached_size_)*/{}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
IntervalMonthDayNano::~IntervalMonthDayNano() {
|
||||||
|
// @@protoc_insertion_point(destructor:greptime.v1.IntervalMonthDayNano)
|
||||||
|
if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
|
||||||
|
(void)arena;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
SharedDtor();
|
||||||
|
}
|
||||||
|
|
||||||
|
inline void IntervalMonthDayNano::SharedDtor() {
|
||||||
|
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
|
||||||
|
}
|
||||||
|
|
||||||
|
void IntervalMonthDayNano::SetCachedSize(int size) const {
|
||||||
|
_impl_._cached_size_.Set(size);
|
||||||
|
}
|
||||||
|
|
||||||
|
void IntervalMonthDayNano::Clear() {
|
||||||
|
// @@protoc_insertion_point(message_clear_start:greptime.v1.IntervalMonthDayNano)
|
||||||
|
uint32_t cached_has_bits = 0;
|
||||||
|
// Prevent compiler warnings about cached_has_bits being unused
|
||||||
|
(void) cached_has_bits;
|
||||||
|
|
||||||
|
::memset(&_impl_.months_, 0, static_cast<size_t>(
|
||||||
|
reinterpret_cast<char*>(&_impl_.nanoseconds_) -
|
||||||
|
reinterpret_cast<char*>(&_impl_.months_)) + sizeof(_impl_.nanoseconds_));
|
||||||
|
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
||||||
|
}
|
||||||
|
|
||||||
|
const char* IntervalMonthDayNano::_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) {
|
||||||
|
// int32 months = 1;
|
||||||
|
case 1:
|
||||||
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
|
||||||
|
_impl_.months_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
|
||||||
|
CHK_(ptr);
|
||||||
|
} else
|
||||||
|
goto handle_unusual;
|
||||||
|
continue;
|
||||||
|
// int32 days = 2;
|
||||||
|
case 2:
|
||||||
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
|
||||||
|
_impl_.days_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
|
||||||
|
CHK_(ptr);
|
||||||
|
} else
|
||||||
|
goto handle_unusual;
|
||||||
|
continue;
|
||||||
|
// int64 nanoseconds = 3;
|
||||||
|
case 3:
|
||||||
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) {
|
||||||
|
_impl_.nanoseconds_ = ::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* IntervalMonthDayNano::_InternalSerialize(
|
||||||
|
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
|
||||||
|
// @@protoc_insertion_point(serialize_to_array_start:greptime.v1.IntervalMonthDayNano)
|
||||||
|
uint32_t cached_has_bits = 0;
|
||||||
|
(void) cached_has_bits;
|
||||||
|
|
||||||
|
// int32 months = 1;
|
||||||
|
if (this->_internal_months() != 0) {
|
||||||
|
target = stream->EnsureSpace(target);
|
||||||
|
target = ::_pbi::WireFormatLite::WriteInt32ToArray(1, this->_internal_months(), target);
|
||||||
|
}
|
||||||
|
|
||||||
|
// int32 days = 2;
|
||||||
|
if (this->_internal_days() != 0) {
|
||||||
|
target = stream->EnsureSpace(target);
|
||||||
|
target = ::_pbi::WireFormatLite::WriteInt32ToArray(2, this->_internal_days(), target);
|
||||||
|
}
|
||||||
|
|
||||||
|
// int64 nanoseconds = 3;
|
||||||
|
if (this->_internal_nanoseconds() != 0) {
|
||||||
|
target = stream->EnsureSpace(target);
|
||||||
|
target = ::_pbi::WireFormatLite::WriteInt64ToArray(3, this->_internal_nanoseconds(), 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.IntervalMonthDayNano)
|
||||||
|
return target;
|
||||||
|
}
|
||||||
|
|
||||||
|
size_t IntervalMonthDayNano::ByteSizeLong() const {
|
||||||
|
// @@protoc_insertion_point(message_byte_size_start:greptime.v1.IntervalMonthDayNano)
|
||||||
|
size_t total_size = 0;
|
||||||
|
|
||||||
|
uint32_t cached_has_bits = 0;
|
||||||
|
// Prevent compiler warnings about cached_has_bits being unused
|
||||||
|
(void) cached_has_bits;
|
||||||
|
|
||||||
|
// int32 months = 1;
|
||||||
|
if (this->_internal_months() != 0) {
|
||||||
|
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_months());
|
||||||
|
}
|
||||||
|
|
||||||
|
// int32 days = 2;
|
||||||
|
if (this->_internal_days() != 0) {
|
||||||
|
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(this->_internal_days());
|
||||||
|
}
|
||||||
|
|
||||||
|
// int64 nanoseconds = 3;
|
||||||
|
if (this->_internal_nanoseconds() != 0) {
|
||||||
|
total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(this->_internal_nanoseconds());
|
||||||
|
}
|
||||||
|
|
||||||
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
||||||
|
}
|
||||||
|
|
||||||
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData IntervalMonthDayNano::_class_data_ = {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
|
||||||
|
IntervalMonthDayNano::MergeImpl
|
||||||
|
};
|
||||||
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*IntervalMonthDayNano::GetClassData() const { return &_class_data_; }
|
||||||
|
|
||||||
|
|
||||||
|
void IntervalMonthDayNano::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
|
||||||
|
auto* const _this = static_cast<IntervalMonthDayNano*>(&to_msg);
|
||||||
|
auto& from = static_cast<const IntervalMonthDayNano&>(from_msg);
|
||||||
|
// @@protoc_insertion_point(class_specific_merge_from_start:greptime.v1.IntervalMonthDayNano)
|
||||||
|
GOOGLE_DCHECK_NE(&from, _this);
|
||||||
|
uint32_t cached_has_bits = 0;
|
||||||
|
(void) cached_has_bits;
|
||||||
|
|
||||||
|
if (from._internal_months() != 0) {
|
||||||
|
_this->_internal_set_months(from._internal_months());
|
||||||
|
}
|
||||||
|
if (from._internal_days() != 0) {
|
||||||
|
_this->_internal_set_days(from._internal_days());
|
||||||
|
}
|
||||||
|
if (from._internal_nanoseconds() != 0) {
|
||||||
|
_this->_internal_set_nanoseconds(from._internal_nanoseconds());
|
||||||
|
}
|
||||||
|
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||||
|
}
|
||||||
|
|
||||||
|
void IntervalMonthDayNano::CopyFrom(const IntervalMonthDayNano& from) {
|
||||||
|
// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.IntervalMonthDayNano)
|
||||||
|
if (&from == this) return;
|
||||||
|
Clear();
|
||||||
|
MergeFrom(from);
|
||||||
|
}
|
||||||
|
|
||||||
|
bool IntervalMonthDayNano::IsInitialized() const {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
void IntervalMonthDayNano::InternalSwap(IntervalMonthDayNano* other) {
|
||||||
|
using std::swap;
|
||||||
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::memswap<
|
||||||
|
PROTOBUF_FIELD_OFFSET(IntervalMonthDayNano, _impl_.nanoseconds_)
|
||||||
|
+ sizeof(IntervalMonthDayNano::_impl_.nanoseconds_)
|
||||||
|
- PROTOBUF_FIELD_OFFSET(IntervalMonthDayNano, _impl_.months_)>(
|
||||||
|
reinterpret_cast<char*>(&_impl_.months_),
|
||||||
|
reinterpret_cast<char*>(&other->_impl_.months_));
|
||||||
|
}
|
||||||
|
|
||||||
|
::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[9]);
|
||||||
|
}
|
||||||
|
|
||||||
// @@protoc_insertion_point(namespace_scope)
|
// @@protoc_insertion_point(namespace_scope)
|
||||||
} // namespace v1
|
} // namespace v1
|
||||||
} // namespace greptime
|
} // namespace greptime
|
||||||
@@ -2705,6 +2968,10 @@ template<> PROTOBUF_NOINLINE ::greptime::v1::ColumnDef*
|
|||||||
Arena::CreateMaybeMessage< ::greptime::v1::ColumnDef >(Arena* arena) {
|
Arena::CreateMaybeMessage< ::greptime::v1::ColumnDef >(Arena* arena) {
|
||||||
return Arena::CreateMessageInternal< ::greptime::v1::ColumnDef >(arena);
|
return Arena::CreateMessageInternal< ::greptime::v1::ColumnDef >(arena);
|
||||||
}
|
}
|
||||||
|
template<> PROTOBUF_NOINLINE ::greptime::v1::IntervalMonthDayNano*
|
||||||
|
Arena::CreateMaybeMessage< ::greptime::v1::IntervalMonthDayNano >(Arena* arena) {
|
||||||
|
return Arena::CreateMessageInternal< ::greptime::v1::IntervalMonthDayNano >(arena);
|
||||||
|
}
|
||||||
PROTOBUF_NAMESPACE_CLOSE
|
PROTOBUF_NAMESPACE_CLOSE
|
||||||
|
|
||||||
// @@protoc_insertion_point(global_scope)
|
// @@protoc_insertion_point(global_scope)
|
||||||
|
|||||||
@@ -62,6 +62,9 @@ extern ColumnDefDefaultTypeInternal _ColumnDef_default_instance_;
|
|||||||
class FlightMetadata;
|
class FlightMetadata;
|
||||||
struct FlightMetadataDefaultTypeInternal;
|
struct FlightMetadataDefaultTypeInternal;
|
||||||
extern FlightMetadataDefaultTypeInternal _FlightMetadata_default_instance_;
|
extern FlightMetadataDefaultTypeInternal _FlightMetadata_default_instance_;
|
||||||
|
class IntervalMonthDayNano;
|
||||||
|
struct IntervalMonthDayNanoDefaultTypeInternal;
|
||||||
|
extern IntervalMonthDayNanoDefaultTypeInternal _IntervalMonthDayNano_default_instance_;
|
||||||
class RequestHeader;
|
class RequestHeader;
|
||||||
struct RequestHeaderDefaultTypeInternal;
|
struct RequestHeaderDefaultTypeInternal;
|
||||||
extern RequestHeaderDefaultTypeInternal _RequestHeader_default_instance_;
|
extern RequestHeaderDefaultTypeInternal _RequestHeader_default_instance_;
|
||||||
@@ -82,6 +85,7 @@ template<> ::greptime::v1::AuthHeader* Arena::CreateMaybeMessage<::greptime::v1:
|
|||||||
template<> ::greptime::v1::Basic* Arena::CreateMaybeMessage<::greptime::v1::Basic>(Arena*);
|
template<> ::greptime::v1::Basic* Arena::CreateMaybeMessage<::greptime::v1::Basic>(Arena*);
|
||||||
template<> ::greptime::v1::ColumnDef* Arena::CreateMaybeMessage<::greptime::v1::ColumnDef>(Arena*);
|
template<> ::greptime::v1::ColumnDef* Arena::CreateMaybeMessage<::greptime::v1::ColumnDef>(Arena*);
|
||||||
template<> ::greptime::v1::FlightMetadata* Arena::CreateMaybeMessage<::greptime::v1::FlightMetadata>(Arena*);
|
template<> ::greptime::v1::FlightMetadata* Arena::CreateMaybeMessage<::greptime::v1::FlightMetadata>(Arena*);
|
||||||
|
template<> ::greptime::v1::IntervalMonthDayNano* Arena::CreateMaybeMessage<::greptime::v1::IntervalMonthDayNano>(Arena*);
|
||||||
template<> ::greptime::v1::RequestHeader* Arena::CreateMaybeMessage<::greptime::v1::RequestHeader>(Arena*);
|
template<> ::greptime::v1::RequestHeader* Arena::CreateMaybeMessage<::greptime::v1::RequestHeader>(Arena*);
|
||||||
template<> ::greptime::v1::ResponseHeader* Arena::CreateMaybeMessage<::greptime::v1::ResponseHeader>(Arena*);
|
template<> ::greptime::v1::ResponseHeader* Arena::CreateMaybeMessage<::greptime::v1::ResponseHeader>(Arena*);
|
||||||
template<> ::greptime::v1::Status* Arena::CreateMaybeMessage<::greptime::v1::Status>(Arena*);
|
template<> ::greptime::v1::Status* Arena::CreateMaybeMessage<::greptime::v1::Status>(Arena*);
|
||||||
@@ -1736,6 +1740,176 @@ class ColumnDef final :
|
|||||||
union { Impl_ _impl_; };
|
union { Impl_ _impl_; };
|
||||||
friend struct ::TableStruct_greptime_2fv1_2fcommon_2eproto;
|
friend struct ::TableStruct_greptime_2fv1_2fcommon_2eproto;
|
||||||
};
|
};
|
||||||
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
class IntervalMonthDayNano final :
|
||||||
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.IntervalMonthDayNano) */ {
|
||||||
|
public:
|
||||||
|
inline IntervalMonthDayNano() : IntervalMonthDayNano(nullptr) {}
|
||||||
|
~IntervalMonthDayNano() override;
|
||||||
|
explicit PROTOBUF_CONSTEXPR IntervalMonthDayNano(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
||||||
|
|
||||||
|
IntervalMonthDayNano(const IntervalMonthDayNano& from);
|
||||||
|
IntervalMonthDayNano(IntervalMonthDayNano&& from) noexcept
|
||||||
|
: IntervalMonthDayNano() {
|
||||||
|
*this = ::std::move(from);
|
||||||
|
}
|
||||||
|
|
||||||
|
inline IntervalMonthDayNano& operator=(const IntervalMonthDayNano& from) {
|
||||||
|
CopyFrom(from);
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
inline IntervalMonthDayNano& operator=(IntervalMonthDayNano&& 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 IntervalMonthDayNano& default_instance() {
|
||||||
|
return *internal_default_instance();
|
||||||
|
}
|
||||||
|
static inline const IntervalMonthDayNano* internal_default_instance() {
|
||||||
|
return reinterpret_cast<const IntervalMonthDayNano*>(
|
||||||
|
&_IntervalMonthDayNano_default_instance_);
|
||||||
|
}
|
||||||
|
static constexpr int kIndexInFileMessages =
|
||||||
|
9;
|
||||||
|
|
||||||
|
friend void swap(IntervalMonthDayNano& a, IntervalMonthDayNano& b) {
|
||||||
|
a.Swap(&b);
|
||||||
|
}
|
||||||
|
inline void Swap(IntervalMonthDayNano* 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(IntervalMonthDayNano* other) {
|
||||||
|
if (other == this) return;
|
||||||
|
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
||||||
|
InternalSwap(other);
|
||||||
|
}
|
||||||
|
|
||||||
|
// implements Message ----------------------------------------------
|
||||||
|
|
||||||
|
IntervalMonthDayNano* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
||||||
|
return CreateMaybeMessage<IntervalMonthDayNano>(arena);
|
||||||
|
}
|
||||||
|
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
||||||
|
void CopyFrom(const IntervalMonthDayNano& from);
|
||||||
|
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
||||||
|
void MergeFrom( const IntervalMonthDayNano& from) {
|
||||||
|
IntervalMonthDayNano::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(IntervalMonthDayNano* other);
|
||||||
|
|
||||||
|
private:
|
||||||
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
||||||
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
||||||
|
return "greptime.v1.IntervalMonthDayNano";
|
||||||
|
}
|
||||||
|
protected:
|
||||||
|
explicit IntervalMonthDayNano(::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 {
|
||||||
|
kMonthsFieldNumber = 1,
|
||||||
|
kDaysFieldNumber = 2,
|
||||||
|
kNanosecondsFieldNumber = 3,
|
||||||
|
};
|
||||||
|
// int32 months = 1;
|
||||||
|
void clear_months();
|
||||||
|
int32_t months() const;
|
||||||
|
void set_months(int32_t value);
|
||||||
|
private:
|
||||||
|
int32_t _internal_months() const;
|
||||||
|
void _internal_set_months(int32_t value);
|
||||||
|
public:
|
||||||
|
|
||||||
|
// int32 days = 2;
|
||||||
|
void clear_days();
|
||||||
|
int32_t days() const;
|
||||||
|
void set_days(int32_t value);
|
||||||
|
private:
|
||||||
|
int32_t _internal_days() const;
|
||||||
|
void _internal_set_days(int32_t value);
|
||||||
|
public:
|
||||||
|
|
||||||
|
// int64 nanoseconds = 3;
|
||||||
|
void clear_nanoseconds();
|
||||||
|
int64_t nanoseconds() const;
|
||||||
|
void set_nanoseconds(int64_t value);
|
||||||
|
private:
|
||||||
|
int64_t _internal_nanoseconds() const;
|
||||||
|
void _internal_set_nanoseconds(int64_t value);
|
||||||
|
public:
|
||||||
|
|
||||||
|
// @@protoc_insertion_point(class_scope:greptime.v1.IntervalMonthDayNano)
|
||||||
|
private:
|
||||||
|
class _Internal;
|
||||||
|
|
||||||
|
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
||||||
|
typedef void InternalArenaConstructable_;
|
||||||
|
typedef void DestructorSkippable_;
|
||||||
|
struct Impl_ {
|
||||||
|
int32_t months_;
|
||||||
|
int32_t days_;
|
||||||
|
int64_t nanoseconds_;
|
||||||
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||||
|
};
|
||||||
|
union { Impl_ _impl_; };
|
||||||
|
friend struct ::TableStruct_greptime_2fv1_2fcommon_2eproto;
|
||||||
|
};
|
||||||
// ===================================================================
|
// ===================================================================
|
||||||
|
|
||||||
|
|
||||||
@@ -2792,6 +2966,70 @@ inline void ColumnDef::set_allocated_default_constraint(std::string* default_con
|
|||||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.ColumnDef.default_constraint)
|
// @@protoc_insertion_point(field_set_allocated:greptime.v1.ColumnDef.default_constraint)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
// IntervalMonthDayNano
|
||||||
|
|
||||||
|
// int32 months = 1;
|
||||||
|
inline void IntervalMonthDayNano::clear_months() {
|
||||||
|
_impl_.months_ = 0;
|
||||||
|
}
|
||||||
|
inline int32_t IntervalMonthDayNano::_internal_months() const {
|
||||||
|
return _impl_.months_;
|
||||||
|
}
|
||||||
|
inline int32_t IntervalMonthDayNano::months() const {
|
||||||
|
// @@protoc_insertion_point(field_get:greptime.v1.IntervalMonthDayNano.months)
|
||||||
|
return _internal_months();
|
||||||
|
}
|
||||||
|
inline void IntervalMonthDayNano::_internal_set_months(int32_t value) {
|
||||||
|
|
||||||
|
_impl_.months_ = value;
|
||||||
|
}
|
||||||
|
inline void IntervalMonthDayNano::set_months(int32_t value) {
|
||||||
|
_internal_set_months(value);
|
||||||
|
// @@protoc_insertion_point(field_set:greptime.v1.IntervalMonthDayNano.months)
|
||||||
|
}
|
||||||
|
|
||||||
|
// int32 days = 2;
|
||||||
|
inline void IntervalMonthDayNano::clear_days() {
|
||||||
|
_impl_.days_ = 0;
|
||||||
|
}
|
||||||
|
inline int32_t IntervalMonthDayNano::_internal_days() const {
|
||||||
|
return _impl_.days_;
|
||||||
|
}
|
||||||
|
inline int32_t IntervalMonthDayNano::days() const {
|
||||||
|
// @@protoc_insertion_point(field_get:greptime.v1.IntervalMonthDayNano.days)
|
||||||
|
return _internal_days();
|
||||||
|
}
|
||||||
|
inline void IntervalMonthDayNano::_internal_set_days(int32_t value) {
|
||||||
|
|
||||||
|
_impl_.days_ = value;
|
||||||
|
}
|
||||||
|
inline void IntervalMonthDayNano::set_days(int32_t value) {
|
||||||
|
_internal_set_days(value);
|
||||||
|
// @@protoc_insertion_point(field_set:greptime.v1.IntervalMonthDayNano.days)
|
||||||
|
}
|
||||||
|
|
||||||
|
// int64 nanoseconds = 3;
|
||||||
|
inline void IntervalMonthDayNano::clear_nanoseconds() {
|
||||||
|
_impl_.nanoseconds_ = int64_t{0};
|
||||||
|
}
|
||||||
|
inline int64_t IntervalMonthDayNano::_internal_nanoseconds() const {
|
||||||
|
return _impl_.nanoseconds_;
|
||||||
|
}
|
||||||
|
inline int64_t IntervalMonthDayNano::nanoseconds() const {
|
||||||
|
// @@protoc_insertion_point(field_get:greptime.v1.IntervalMonthDayNano.nanoseconds)
|
||||||
|
return _internal_nanoseconds();
|
||||||
|
}
|
||||||
|
inline void IntervalMonthDayNano::_internal_set_nanoseconds(int64_t value) {
|
||||||
|
|
||||||
|
_impl_.nanoseconds_ = value;
|
||||||
|
}
|
||||||
|
inline void IntervalMonthDayNano::set_nanoseconds(int64_t value) {
|
||||||
|
_internal_set_nanoseconds(value);
|
||||||
|
// @@protoc_insertion_point(field_set:greptime.v1.IntervalMonthDayNano.nanoseconds)
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
#pragma GCC diagnostic pop
|
#pragma GCC diagnostic pop
|
||||||
#endif // __GNUC__
|
#endif // __GNUC__
|
||||||
@@ -2811,6 +3049,8 @@ inline void ColumnDef::set_allocated_default_constraint(std::string* default_con
|
|||||||
|
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// @@protoc_insertion_point(namespace_scope)
|
// @@protoc_insertion_point(namespace_scope)
|
||||||
|
|
||||||
|
|||||||
+279
-66
@@ -152,6 +152,19 @@ struct RowInsertRequestDefaultTypeInternal {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RowInsertRequestDefaultTypeInternal _RowInsertRequest_default_instance_;
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RowInsertRequestDefaultTypeInternal _RowInsertRequest_default_instance_;
|
||||||
|
PROTOBUF_CONSTEXPR RowDeleteRequests::RowDeleteRequests(
|
||||||
|
::_pbi::ConstantInitialized): _impl_{
|
||||||
|
/*decltype(_impl_.deletes_)*/{}
|
||||||
|
, /*decltype(_impl_._cached_size_)*/{}} {}
|
||||||
|
struct RowDeleteRequestsDefaultTypeInternal {
|
||||||
|
PROTOBUF_CONSTEXPR RowDeleteRequestsDefaultTypeInternal()
|
||||||
|
: _instance(::_pbi::ConstantInitialized{}) {}
|
||||||
|
~RowDeleteRequestsDefaultTypeInternal() {}
|
||||||
|
union {
|
||||||
|
RowDeleteRequests _instance;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RowDeleteRequestsDefaultTypeInternal _RowDeleteRequests_default_instance_;
|
||||||
PROTOBUF_CONSTEXPR RowDeleteRequest::RowDeleteRequest(
|
PROTOBUF_CONSTEXPR RowDeleteRequest::RowDeleteRequest(
|
||||||
::_pbi::ConstantInitialized): _impl_{
|
::_pbi::ConstantInitialized): _impl_{
|
||||||
/*decltype(_impl_.table_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
/*decltype(_impl_.table_name_)*/{&::_pbi::fixed_address_empty_string, ::_pbi::ConstantInitialized{}}
|
||||||
@@ -169,7 +182,7 @@ struct RowDeleteRequestDefaultTypeInternal {
|
|||||||
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RowDeleteRequestDefaultTypeInternal _RowDeleteRequest_default_instance_;
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RowDeleteRequestDefaultTypeInternal _RowDeleteRequest_default_instance_;
|
||||||
} // namespace v1
|
} // namespace v1
|
||||||
} // namespace greptime
|
} // namespace greptime
|
||||||
static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fdatabase_2eproto[10];
|
static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fdatabase_2eproto[11];
|
||||||
static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_greptime_2fv1_2fdatabase_2eproto = nullptr;
|
static constexpr ::_pb::EnumDescriptor const** file_level_enum_descriptors_greptime_2fv1_2fdatabase_2eproto = nullptr;
|
||||||
static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_greptime_2fv1_2fdatabase_2eproto = nullptr;
|
static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_greptime_2fv1_2fdatabase_2eproto = nullptr;
|
||||||
|
|
||||||
@@ -258,6 +271,13 @@ const uint32_t TableStruct_greptime_2fv1_2fdatabase_2eproto::offsets[] PROTOBUF_
|
|||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::RowInsertRequest, _impl_.rows_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::RowInsertRequest, _impl_.rows_),
|
||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::RowInsertRequest, _impl_.region_number_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::RowInsertRequest, _impl_.region_number_),
|
||||||
~0u, // no _has_bits_
|
~0u, // no _has_bits_
|
||||||
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::RowDeleteRequests, _internal_metadata_),
|
||||||
|
~0u, // no _extensions_
|
||||||
|
~0u, // no _oneof_case_
|
||||||
|
~0u, // no _weak_field_map_
|
||||||
|
~0u, // no _inlined_string_donated_
|
||||||
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::RowDeleteRequests, _impl_.deletes_),
|
||||||
|
~0u, // no _has_bits_
|
||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::RowDeleteRequest, _internal_metadata_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::RowDeleteRequest, _internal_metadata_),
|
||||||
~0u, // no _extensions_
|
~0u, // no _extensions_
|
||||||
~0u, // no _oneof_case_
|
~0u, // no _oneof_case_
|
||||||
@@ -277,7 +297,8 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode
|
|||||||
{ 57, -1, -1, sizeof(::greptime::v1::DeleteRequest)},
|
{ 57, -1, -1, sizeof(::greptime::v1::DeleteRequest)},
|
||||||
{ 67, -1, -1, sizeof(::greptime::v1::RowInsertRequests)},
|
{ 67, -1, -1, sizeof(::greptime::v1::RowInsertRequests)},
|
||||||
{ 74, -1, -1, sizeof(::greptime::v1::RowInsertRequest)},
|
{ 74, -1, -1, sizeof(::greptime::v1::RowInsertRequest)},
|
||||||
{ 83, -1, -1, sizeof(::greptime::v1::RowDeleteRequest)},
|
{ 83, -1, -1, sizeof(::greptime::v1::RowDeleteRequests)},
|
||||||
|
{ 90, -1, -1, sizeof(::greptime::v1::RowDeleteRequest)},
|
||||||
};
|
};
|
||||||
|
|
||||||
static const ::_pb::Message* const file_default_instances[] = {
|
static const ::_pb::Message* const file_default_instances[] = {
|
||||||
@@ -290,6 +311,7 @@ static const ::_pb::Message* const file_default_instances[] = {
|
|||||||
&::greptime::v1::_DeleteRequest_default_instance_._instance,
|
&::greptime::v1::_DeleteRequest_default_instance_._instance,
|
||||||
&::greptime::v1::_RowInsertRequests_default_instance_._instance,
|
&::greptime::v1::_RowInsertRequests_default_instance_._instance,
|
||||||
&::greptime::v1::_RowInsertRequest_default_instance_._instance,
|
&::greptime::v1::_RowInsertRequest_default_instance_._instance,
|
||||||
|
&::greptime::v1::_RowDeleteRequests_default_instance_._instance,
|
||||||
&::greptime::v1::_RowDeleteRequest_default_instance_._instance,
|
&::greptime::v1::_RowDeleteRequest_default_instance_._instance,
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -298,44 +320,46 @@ const char descriptor_table_protodef_greptime_2fv1_2fdatabase_2eproto[] PROTOBUF
|
|||||||
"1\032\025greptime/v1/ddl.proto\032\030greptime/v1/co"
|
"1\032\025greptime/v1/ddl.proto\032\030greptime/v1/co"
|
||||||
"lumn.proto\032\025greptime/v1/row.proto\032\026grept"
|
"lumn.proto\032\025greptime/v1/row.proto\032\026grept"
|
||||||
"ime/v1/prom.proto\032\030greptime/v1/common.pr"
|
"ime/v1/prom.proto\032\030greptime/v1/common.pr"
|
||||||
"oto\"\350\002\n\017GreptimeRequest\022*\n\006header\030\001 \001(\0132"
|
"oto\"\352\002\n\017GreptimeRequest\022*\n\006header\030\001 \001(\0132"
|
||||||
"\032.greptime.v1.RequestHeader\022.\n\007inserts\030\002"
|
"\032.greptime.v1.RequestHeader\022.\n\007inserts\030\002"
|
||||||
" \001(\0132\033.greptime.v1.InsertRequestsH\000\022*\n\005q"
|
" \001(\0132\033.greptime.v1.InsertRequestsH\000\022*\n\005q"
|
||||||
"uery\030\003 \001(\0132\031.greptime.v1.QueryRequestH\000\022"
|
"uery\030\003 \001(\0132\031.greptime.v1.QueryRequestH\000\022"
|
||||||
"&\n\003ddl\030\004 \001(\0132\027.greptime.v1.DdlRequestH\000\022"
|
"&\n\003ddl\030\004 \001(\0132\027.greptime.v1.DdlRequestH\000\022"
|
||||||
".\n\007deletes\030\005 \001(\0132\033.greptime.v1.DeleteReq"
|
".\n\007deletes\030\005 \001(\0132\033.greptime.v1.DeleteReq"
|
||||||
"uestsH\000\0225\n\013row_inserts\030\006 \001(\0132\036.greptime."
|
"uestsH\000\0225\n\013row_inserts\030\006 \001(\0132\036.greptime."
|
||||||
"v1.RowInsertRequestsH\000\0223\n\nrow_delete\030\007 \001"
|
"v1.RowInsertRequestsH\000\0225\n\013row_deletes\030\007 "
|
||||||
"(\0132\035.greptime.v1.RowDeleteRequestH\000B\t\n\007r"
|
"\001(\0132\036.greptime.v1.RowDeleteRequestsH\000B\t\n"
|
||||||
"equest\"\177\n\020GreptimeResponse\022+\n\006header\030\001 \001"
|
"\007request\"\177\n\020GreptimeResponse\022+\n\006header\030\001"
|
||||||
"(\0132\033.greptime.v1.ResponseHeader\0222\n\raffec"
|
" \001(\0132\033.greptime.v1.ResponseHeader\0222\n\raff"
|
||||||
"ted_rows\030\002 \001(\0132\031.greptime.v1.AffectedRow"
|
"ected_rows\030\002 \001(\0132\031.greptime.v1.AffectedR"
|
||||||
"sH\000B\n\n\010response\"w\n\014QueryRequest\022\r\n\003sql\030\001"
|
"owsH\000B\n\n\010response\"w\n\014QueryRequest\022\r\n\003sql"
|
||||||
" \001(\tH\000\022\026\n\014logical_plan\030\002 \001(\014H\000\0227\n\020prom_r"
|
"\030\001 \001(\tH\000\022\026\n\014logical_plan\030\002 \001(\014H\000\0227\n\020prom"
|
||||||
"ange_query\030\003 \001(\0132\033.greptime.v1.PromRange"
|
"_range_query\030\003 \001(\0132\033.greptime.v1.PromRan"
|
||||||
"QueryH\000B\007\n\005query\"=\n\016InsertRequests\022+\n\007in"
|
"geQueryH\000B\007\n\005query\"=\n\016InsertRequests\022+\n\007"
|
||||||
"serts\030\001 \003(\0132\032.greptime.v1.InsertRequest\""
|
"inserts\030\001 \003(\0132\032.greptime.v1.InsertReques"
|
||||||
"s\n\rInsertRequest\022\022\n\ntable_name\030\001 \001(\t\022$\n\007"
|
"t\"s\n\rInsertRequest\022\022\n\ntable_name\030\001 \001(\t\022$"
|
||||||
"columns\030\003 \003(\0132\023.greptime.v1.Column\022\021\n\tro"
|
"\n\007columns\030\003 \003(\0132\023.greptime.v1.Column\022\021\n\t"
|
||||||
"w_count\030\004 \001(\r\022\025\n\rregion_number\030\005 \001(\r\"=\n\016"
|
"row_count\030\004 \001(\r\022\025\n\rregion_number\030\005 \001(\r\"="
|
||||||
"DeleteRequests\022+\n\007deletes\030\001 \003(\0132\032.grepti"
|
"\n\016DeleteRequests\022+\n\007deletes\030\001 \003(\0132\032.grep"
|
||||||
"me.v1.DeleteRequest\"w\n\rDeleteRequest\022\022\n\n"
|
"time.v1.DeleteRequest\"w\n\rDeleteRequest\022\022"
|
||||||
"table_name\030\001 \001(\t\022\025\n\rregion_number\030\002 \001(\r\022"
|
"\n\ntable_name\030\001 \001(\t\022\025\n\rregion_number\030\002 \001("
|
||||||
"(\n\013key_columns\030\003 \003(\0132\023.greptime.v1.Colum"
|
"\r\022(\n\013key_columns\030\003 \003(\0132\023.greptime.v1.Col"
|
||||||
"n\022\021\n\trow_count\030\004 \001(\r\"C\n\021RowInsertRequest"
|
"umn\022\021\n\trow_count\030\004 \001(\r\"C\n\021RowInsertReque"
|
||||||
"s\022.\n\007inserts\030\001 \003(\0132\035.greptime.v1.RowInse"
|
"sts\022.\n\007inserts\030\001 \003(\0132\035.greptime.v1.RowIn"
|
||||||
"rtRequest\"^\n\020RowInsertRequest\022\022\n\ntable_n"
|
"sertRequest\"^\n\020RowInsertRequest\022\022\n\ntable"
|
||||||
"ame\030\001 \001(\t\022\037\n\004rows\030\002 \001(\0132\021.greptime.v1.Ro"
|
"_name\030\001 \001(\t\022\037\n\004rows\030\002 \001(\0132\021.greptime.v1."
|
||||||
"ws\022\025\n\rregion_number\030\003 \001(\r\"^\n\020RowDeleteRe"
|
"Rows\022\025\n\rregion_number\030\003 \001(\r\"C\n\021RowDelete"
|
||||||
"quest\022\022\n\ntable_name\030\001 \001(\t\022\037\n\004rows\030\002 \001(\0132"
|
"Requests\022.\n\007deletes\030\001 \003(\0132\035.greptime.v1."
|
||||||
"\021.greptime.v1.Rows\022\025\n\rregion_number\030\003 \001("
|
"RowDeleteRequest\"^\n\020RowDeleteRequest\022\022\n\n"
|
||||||
"\r2\252\001\n\020GreptimeDatabase\022E\n\006Handle\022\034.grept"
|
"table_name\030\001 \001(\t\022\037\n\004rows\030\002 \001(\0132\021.greptim"
|
||||||
"ime.v1.GreptimeRequest\032\035.greptime.v1.Gre"
|
"e.v1.Rows\022\025\n\rregion_number\030\003 \001(\r2\252\001\n\020Gre"
|
||||||
"ptimeResponse\022O\n\016HandleRequests\022\034.grepti"
|
"ptimeDatabase\022E\n\006Handle\022\034.greptime.v1.Gr"
|
||||||
"me.v1.GreptimeRequest\032\035.greptime.v1.Grep"
|
"eptimeRequest\032\035.greptime.v1.GreptimeResp"
|
||||||
"timeResponse(\001BQ\n\016io.greptime.v1B\010Databa"
|
"onse\022O\n\016HandleRequests\022\034.greptime.v1.Gre"
|
||||||
"seZ5github.com/GreptimeTeam/greptime-pro"
|
"ptimeRequest\032\035.greptime.v1.GreptimeRespo"
|
||||||
"to/go/greptime/v1b\006proto3"
|
"nse(\001BQ\n\016io.greptime.v1B\010DatabaseZ5githu"
|
||||||
|
"b.com/GreptimeTeam/greptime-proto/go/gre"
|
||||||
|
"ptime/v1b\006proto3"
|
||||||
;
|
;
|
||||||
static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fdatabase_2eproto_deps[5] = {
|
static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fdatabase_2eproto_deps[5] = {
|
||||||
&::descriptor_table_greptime_2fv1_2fcolumn_2eproto,
|
&::descriptor_table_greptime_2fv1_2fcolumn_2eproto,
|
||||||
@@ -346,9 +370,9 @@ static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fdat
|
|||||||
};
|
};
|
||||||
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fdatabase_2eproto_once;
|
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fdatabase_2eproto_once;
|
||||||
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fdatabase_2eproto = {
|
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fdatabase_2eproto = {
|
||||||
false, false, 1665, descriptor_table_protodef_greptime_2fv1_2fdatabase_2eproto,
|
false, false, 1736, descriptor_table_protodef_greptime_2fv1_2fdatabase_2eproto,
|
||||||
"greptime/v1/database.proto",
|
"greptime/v1/database.proto",
|
||||||
&descriptor_table_greptime_2fv1_2fdatabase_2eproto_once, descriptor_table_greptime_2fv1_2fdatabase_2eproto_deps, 5, 10,
|
&descriptor_table_greptime_2fv1_2fdatabase_2eproto_once, descriptor_table_greptime_2fv1_2fdatabase_2eproto_deps, 5, 11,
|
||||||
schemas, file_default_instances, TableStruct_greptime_2fv1_2fdatabase_2eproto::offsets,
|
schemas, file_default_instances, TableStruct_greptime_2fv1_2fdatabase_2eproto::offsets,
|
||||||
file_level_metadata_greptime_2fv1_2fdatabase_2eproto, file_level_enum_descriptors_greptime_2fv1_2fdatabase_2eproto,
|
file_level_metadata_greptime_2fv1_2fdatabase_2eproto, file_level_enum_descriptors_greptime_2fv1_2fdatabase_2eproto,
|
||||||
file_level_service_descriptors_greptime_2fv1_2fdatabase_2eproto,
|
file_level_service_descriptors_greptime_2fv1_2fdatabase_2eproto,
|
||||||
@@ -372,7 +396,7 @@ class GreptimeRequest::_Internal {
|
|||||||
static const ::greptime::v1::DdlRequest& ddl(const GreptimeRequest* msg);
|
static const ::greptime::v1::DdlRequest& ddl(const GreptimeRequest* msg);
|
||||||
static const ::greptime::v1::DeleteRequests& deletes(const GreptimeRequest* msg);
|
static const ::greptime::v1::DeleteRequests& deletes(const GreptimeRequest* msg);
|
||||||
static const ::greptime::v1::RowInsertRequests& row_inserts(const GreptimeRequest* msg);
|
static const ::greptime::v1::RowInsertRequests& row_inserts(const GreptimeRequest* msg);
|
||||||
static const ::greptime::v1::RowDeleteRequest& row_delete(const GreptimeRequest* msg);
|
static const ::greptime::v1::RowDeleteRequests& row_deletes(const GreptimeRequest* msg);
|
||||||
};
|
};
|
||||||
|
|
||||||
const ::greptime::v1::RequestHeader&
|
const ::greptime::v1::RequestHeader&
|
||||||
@@ -399,9 +423,9 @@ const ::greptime::v1::RowInsertRequests&
|
|||||||
GreptimeRequest::_Internal::row_inserts(const GreptimeRequest* msg) {
|
GreptimeRequest::_Internal::row_inserts(const GreptimeRequest* msg) {
|
||||||
return *msg->_impl_.request_.row_inserts_;
|
return *msg->_impl_.request_.row_inserts_;
|
||||||
}
|
}
|
||||||
const ::greptime::v1::RowDeleteRequest&
|
const ::greptime::v1::RowDeleteRequests&
|
||||||
GreptimeRequest::_Internal::row_delete(const GreptimeRequest* msg) {
|
GreptimeRequest::_Internal::row_deletes(const GreptimeRequest* msg) {
|
||||||
return *msg->_impl_.request_.row_delete_;
|
return *msg->_impl_.request_.row_deletes_;
|
||||||
}
|
}
|
||||||
void GreptimeRequest::clear_header() {
|
void GreptimeRequest::clear_header() {
|
||||||
if (GetArenaForAllocation() == nullptr && _impl_.header_ != nullptr) {
|
if (GetArenaForAllocation() == nullptr && _impl_.header_ != nullptr) {
|
||||||
@@ -493,20 +517,20 @@ void GreptimeRequest::set_allocated_row_inserts(::greptime::v1::RowInsertRequest
|
|||||||
}
|
}
|
||||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.GreptimeRequest.row_inserts)
|
// @@protoc_insertion_point(field_set_allocated:greptime.v1.GreptimeRequest.row_inserts)
|
||||||
}
|
}
|
||||||
void GreptimeRequest::set_allocated_row_delete(::greptime::v1::RowDeleteRequest* row_delete) {
|
void GreptimeRequest::set_allocated_row_deletes(::greptime::v1::RowDeleteRequests* row_deletes) {
|
||||||
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||||
clear_request();
|
clear_request();
|
||||||
if (row_delete) {
|
if (row_deletes) {
|
||||||
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
||||||
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(row_delete);
|
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(row_deletes);
|
||||||
if (message_arena != submessage_arena) {
|
if (message_arena != submessage_arena) {
|
||||||
row_delete = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
row_deletes = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
||||||
message_arena, row_delete, submessage_arena);
|
message_arena, row_deletes, submessage_arena);
|
||||||
}
|
}
|
||||||
set_has_row_delete();
|
set_has_row_deletes();
|
||||||
_impl_.request_.row_delete_ = row_delete;
|
_impl_.request_.row_deletes_ = row_deletes;
|
||||||
}
|
}
|
||||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.GreptimeRequest.row_delete)
|
// @@protoc_insertion_point(field_set_allocated:greptime.v1.GreptimeRequest.row_deletes)
|
||||||
}
|
}
|
||||||
GreptimeRequest::GreptimeRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
GreptimeRequest::GreptimeRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||||
bool is_message_owned)
|
bool is_message_owned)
|
||||||
@@ -554,9 +578,9 @@ GreptimeRequest::GreptimeRequest(const GreptimeRequest& from)
|
|||||||
from._internal_row_inserts());
|
from._internal_row_inserts());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case kRowDelete: {
|
case kRowDeletes: {
|
||||||
_this->_internal_mutable_row_delete()->::greptime::v1::RowDeleteRequest::MergeFrom(
|
_this->_internal_mutable_row_deletes()->::greptime::v1::RowDeleteRequests::MergeFrom(
|
||||||
from._internal_row_delete());
|
from._internal_row_deletes());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case REQUEST_NOT_SET: {
|
case REQUEST_NOT_SET: {
|
||||||
@@ -633,9 +657,9 @@ void GreptimeRequest::clear_request() {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case kRowDelete: {
|
case kRowDeletes: {
|
||||||
if (GetArenaForAllocation() == nullptr) {
|
if (GetArenaForAllocation() == nullptr) {
|
||||||
delete _impl_.request_.row_delete_;
|
delete _impl_.request_.row_deletes_;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -715,10 +739,10 @@ const char* GreptimeRequest::_InternalParse(const char* ptr, ::_pbi::ParseContex
|
|||||||
} else
|
} else
|
||||||
goto handle_unusual;
|
goto handle_unusual;
|
||||||
continue;
|
continue;
|
||||||
// .greptime.v1.RowDeleteRequest row_delete = 7;
|
// .greptime.v1.RowDeleteRequests row_deletes = 7;
|
||||||
case 7:
|
case 7:
|
||||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 58)) {
|
||||||
ptr = ctx->ParseMessage(_internal_mutable_row_delete(), ptr);
|
ptr = ctx->ParseMessage(_internal_mutable_row_deletes(), ptr);
|
||||||
CHK_(ptr);
|
CHK_(ptr);
|
||||||
} else
|
} else
|
||||||
goto handle_unusual;
|
goto handle_unusual;
|
||||||
@@ -794,11 +818,11 @@ uint8_t* GreptimeRequest::_InternalSerialize(
|
|||||||
_Internal::row_inserts(this).GetCachedSize(), target, stream);
|
_Internal::row_inserts(this).GetCachedSize(), target, stream);
|
||||||
}
|
}
|
||||||
|
|
||||||
// .greptime.v1.RowDeleteRequest row_delete = 7;
|
// .greptime.v1.RowDeleteRequests row_deletes = 7;
|
||||||
if (_internal_has_row_delete()) {
|
if (_internal_has_row_deletes()) {
|
||||||
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||||
InternalWriteMessage(7, _Internal::row_delete(this),
|
InternalWriteMessage(7, _Internal::row_deletes(this),
|
||||||
_Internal::row_delete(this).GetCachedSize(), target, stream);
|
_Internal::row_deletes(this).GetCachedSize(), target, stream);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
||||||
@@ -860,11 +884,11 @@ size_t GreptimeRequest::ByteSizeLong() const {
|
|||||||
*_impl_.request_.row_inserts_);
|
*_impl_.request_.row_inserts_);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
// .greptime.v1.RowDeleteRequest row_delete = 7;
|
// .greptime.v1.RowDeleteRequests row_deletes = 7;
|
||||||
case kRowDelete: {
|
case kRowDeletes: {
|
||||||
total_size += 1 +
|
total_size += 1 +
|
||||||
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
|
||||||
*_impl_.request_.row_delete_);
|
*_impl_.request_.row_deletes_);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case REQUEST_NOT_SET: {
|
case REQUEST_NOT_SET: {
|
||||||
@@ -919,9 +943,9 @@ void GreptimeRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const
|
|||||||
from._internal_row_inserts());
|
from._internal_row_inserts());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case kRowDelete: {
|
case kRowDeletes: {
|
||||||
_this->_internal_mutable_row_delete()->::greptime::v1::RowDeleteRequest::MergeFrom(
|
_this->_internal_mutable_row_deletes()->::greptime::v1::RowDeleteRequests::MergeFrom(
|
||||||
from._internal_row_delete());
|
from._internal_row_deletes());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case REQUEST_NOT_SET: {
|
case REQUEST_NOT_SET: {
|
||||||
@@ -3028,6 +3052,191 @@ void RowInsertRequest::InternalSwap(RowInsertRequest* other) {
|
|||||||
|
|
||||||
// ===================================================================
|
// ===================================================================
|
||||||
|
|
||||||
|
class RowDeleteRequests::_Internal {
|
||||||
|
public:
|
||||||
|
};
|
||||||
|
|
||||||
|
RowDeleteRequests::RowDeleteRequests(::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.RowDeleteRequests)
|
||||||
|
}
|
||||||
|
RowDeleteRequests::RowDeleteRequests(const RowDeleteRequests& from)
|
||||||
|
: ::PROTOBUF_NAMESPACE_ID::Message() {
|
||||||
|
RowDeleteRequests* const _this = this; (void)_this;
|
||||||
|
new (&_impl_) Impl_{
|
||||||
|
decltype(_impl_.deletes_){from._impl_.deletes_}
|
||||||
|
, /*decltype(_impl_._cached_size_)*/{}};
|
||||||
|
|
||||||
|
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||||
|
// @@protoc_insertion_point(copy_constructor:greptime.v1.RowDeleteRequests)
|
||||||
|
}
|
||||||
|
|
||||||
|
inline void RowDeleteRequests::SharedCtor(
|
||||||
|
::_pb::Arena* arena, bool is_message_owned) {
|
||||||
|
(void)arena;
|
||||||
|
(void)is_message_owned;
|
||||||
|
new (&_impl_) Impl_{
|
||||||
|
decltype(_impl_.deletes_){arena}
|
||||||
|
, /*decltype(_impl_._cached_size_)*/{}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
RowDeleteRequests::~RowDeleteRequests() {
|
||||||
|
// @@protoc_insertion_point(destructor:greptime.v1.RowDeleteRequests)
|
||||||
|
if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
|
||||||
|
(void)arena;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
SharedDtor();
|
||||||
|
}
|
||||||
|
|
||||||
|
inline void RowDeleteRequests::SharedDtor() {
|
||||||
|
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
|
||||||
|
_impl_.deletes_.~RepeatedPtrField();
|
||||||
|
}
|
||||||
|
|
||||||
|
void RowDeleteRequests::SetCachedSize(int size) const {
|
||||||
|
_impl_._cached_size_.Set(size);
|
||||||
|
}
|
||||||
|
|
||||||
|
void RowDeleteRequests::Clear() {
|
||||||
|
// @@protoc_insertion_point(message_clear_start:greptime.v1.RowDeleteRequests)
|
||||||
|
uint32_t cached_has_bits = 0;
|
||||||
|
// Prevent compiler warnings about cached_has_bits being unused
|
||||||
|
(void) cached_has_bits;
|
||||||
|
|
||||||
|
_impl_.deletes_.Clear();
|
||||||
|
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
||||||
|
}
|
||||||
|
|
||||||
|
const char* RowDeleteRequests::_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) {
|
||||||
|
// repeated .greptime.v1.RowDeleteRequest deletes = 1;
|
||||||
|
case 1:
|
||||||
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
|
||||||
|
ptr -= 1;
|
||||||
|
do {
|
||||||
|
ptr += 1;
|
||||||
|
ptr = ctx->ParseMessage(_internal_add_deletes(), ptr);
|
||||||
|
CHK_(ptr);
|
||||||
|
if (!ctx->DataAvailable(ptr)) break;
|
||||||
|
} while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(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* RowDeleteRequests::_InternalSerialize(
|
||||||
|
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
|
||||||
|
// @@protoc_insertion_point(serialize_to_array_start:greptime.v1.RowDeleteRequests)
|
||||||
|
uint32_t cached_has_bits = 0;
|
||||||
|
(void) cached_has_bits;
|
||||||
|
|
||||||
|
// repeated .greptime.v1.RowDeleteRequest deletes = 1;
|
||||||
|
for (unsigned i = 0,
|
||||||
|
n = static_cast<unsigned>(this->_internal_deletes_size()); i < n; i++) {
|
||||||
|
const auto& repfield = this->_internal_deletes(i);
|
||||||
|
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||||
|
InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
||||||
|
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
||||||
|
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
|
||||||
|
}
|
||||||
|
// @@protoc_insertion_point(serialize_to_array_end:greptime.v1.RowDeleteRequests)
|
||||||
|
return target;
|
||||||
|
}
|
||||||
|
|
||||||
|
size_t RowDeleteRequests::ByteSizeLong() const {
|
||||||
|
// @@protoc_insertion_point(message_byte_size_start:greptime.v1.RowDeleteRequests)
|
||||||
|
size_t total_size = 0;
|
||||||
|
|
||||||
|
uint32_t cached_has_bits = 0;
|
||||||
|
// Prevent compiler warnings about cached_has_bits being unused
|
||||||
|
(void) cached_has_bits;
|
||||||
|
|
||||||
|
// repeated .greptime.v1.RowDeleteRequest deletes = 1;
|
||||||
|
total_size += 1UL * this->_internal_deletes_size();
|
||||||
|
for (const auto& msg : this->_impl_.deletes_) {
|
||||||
|
total_size +=
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
|
||||||
|
}
|
||||||
|
|
||||||
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
||||||
|
}
|
||||||
|
|
||||||
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData RowDeleteRequests::_class_data_ = {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
|
||||||
|
RowDeleteRequests::MergeImpl
|
||||||
|
};
|
||||||
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*RowDeleteRequests::GetClassData() const { return &_class_data_; }
|
||||||
|
|
||||||
|
|
||||||
|
void RowDeleteRequests::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
|
||||||
|
auto* const _this = static_cast<RowDeleteRequests*>(&to_msg);
|
||||||
|
auto& from = static_cast<const RowDeleteRequests&>(from_msg);
|
||||||
|
// @@protoc_insertion_point(class_specific_merge_from_start:greptime.v1.RowDeleteRequests)
|
||||||
|
GOOGLE_DCHECK_NE(&from, _this);
|
||||||
|
uint32_t cached_has_bits = 0;
|
||||||
|
(void) cached_has_bits;
|
||||||
|
|
||||||
|
_this->_impl_.deletes_.MergeFrom(from._impl_.deletes_);
|
||||||
|
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||||
|
}
|
||||||
|
|
||||||
|
void RowDeleteRequests::CopyFrom(const RowDeleteRequests& from) {
|
||||||
|
// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.RowDeleteRequests)
|
||||||
|
if (&from == this) return;
|
||||||
|
Clear();
|
||||||
|
MergeFrom(from);
|
||||||
|
}
|
||||||
|
|
||||||
|
bool RowDeleteRequests::IsInitialized() const {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
void RowDeleteRequests::InternalSwap(RowDeleteRequests* other) {
|
||||||
|
using std::swap;
|
||||||
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
||||||
|
_impl_.deletes_.InternalSwap(&other->_impl_.deletes_);
|
||||||
|
}
|
||||||
|
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Metadata RowDeleteRequests::GetMetadata() const {
|
||||||
|
return ::_pbi::AssignDescriptors(
|
||||||
|
&descriptor_table_greptime_2fv1_2fdatabase_2eproto_getter, &descriptor_table_greptime_2fv1_2fdatabase_2eproto_once,
|
||||||
|
file_level_metadata_greptime_2fv1_2fdatabase_2eproto[9]);
|
||||||
|
}
|
||||||
|
|
||||||
|
// ===================================================================
|
||||||
|
|
||||||
class RowDeleteRequest::_Internal {
|
class RowDeleteRequest::_Internal {
|
||||||
public:
|
public:
|
||||||
static const ::greptime::v1::Rows& rows(const RowDeleteRequest* msg);
|
static const ::greptime::v1::Rows& rows(const RowDeleteRequest* msg);
|
||||||
@@ -3305,7 +3514,7 @@ void RowDeleteRequest::InternalSwap(RowDeleteRequest* other) {
|
|||||||
::PROTOBUF_NAMESPACE_ID::Metadata RowDeleteRequest::GetMetadata() const {
|
::PROTOBUF_NAMESPACE_ID::Metadata RowDeleteRequest::GetMetadata() const {
|
||||||
return ::_pbi::AssignDescriptors(
|
return ::_pbi::AssignDescriptors(
|
||||||
&descriptor_table_greptime_2fv1_2fdatabase_2eproto_getter, &descriptor_table_greptime_2fv1_2fdatabase_2eproto_once,
|
&descriptor_table_greptime_2fv1_2fdatabase_2eproto_getter, &descriptor_table_greptime_2fv1_2fdatabase_2eproto_once,
|
||||||
file_level_metadata_greptime_2fv1_2fdatabase_2eproto[9]);
|
file_level_metadata_greptime_2fv1_2fdatabase_2eproto[10]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// @@protoc_insertion_point(namespace_scope)
|
// @@protoc_insertion_point(namespace_scope)
|
||||||
@@ -3348,6 +3557,10 @@ template<> PROTOBUF_NOINLINE ::greptime::v1::RowInsertRequest*
|
|||||||
Arena::CreateMaybeMessage< ::greptime::v1::RowInsertRequest >(Arena* arena) {
|
Arena::CreateMaybeMessage< ::greptime::v1::RowInsertRequest >(Arena* arena) {
|
||||||
return Arena::CreateMessageInternal< ::greptime::v1::RowInsertRequest >(arena);
|
return Arena::CreateMessageInternal< ::greptime::v1::RowInsertRequest >(arena);
|
||||||
}
|
}
|
||||||
|
template<> PROTOBUF_NOINLINE ::greptime::v1::RowDeleteRequests*
|
||||||
|
Arena::CreateMaybeMessage< ::greptime::v1::RowDeleteRequests >(Arena* arena) {
|
||||||
|
return Arena::CreateMessageInternal< ::greptime::v1::RowDeleteRequests >(arena);
|
||||||
|
}
|
||||||
template<> PROTOBUF_NOINLINE ::greptime::v1::RowDeleteRequest*
|
template<> PROTOBUF_NOINLINE ::greptime::v1::RowDeleteRequest*
|
||||||
Arena::CreateMaybeMessage< ::greptime::v1::RowDeleteRequest >(Arena* arena) {
|
Arena::CreateMaybeMessage< ::greptime::v1::RowDeleteRequest >(Arena* arena) {
|
||||||
return Arena::CreateMessageInternal< ::greptime::v1::RowDeleteRequest >(arena);
|
return Arena::CreateMessageInternal< ::greptime::v1::RowDeleteRequest >(arena);
|
||||||
|
|||||||
+265
-58
@@ -75,6 +75,9 @@ extern QueryRequestDefaultTypeInternal _QueryRequest_default_instance_;
|
|||||||
class RowDeleteRequest;
|
class RowDeleteRequest;
|
||||||
struct RowDeleteRequestDefaultTypeInternal;
|
struct RowDeleteRequestDefaultTypeInternal;
|
||||||
extern RowDeleteRequestDefaultTypeInternal _RowDeleteRequest_default_instance_;
|
extern RowDeleteRequestDefaultTypeInternal _RowDeleteRequest_default_instance_;
|
||||||
|
class RowDeleteRequests;
|
||||||
|
struct RowDeleteRequestsDefaultTypeInternal;
|
||||||
|
extern RowDeleteRequestsDefaultTypeInternal _RowDeleteRequests_default_instance_;
|
||||||
class RowInsertRequest;
|
class RowInsertRequest;
|
||||||
struct RowInsertRequestDefaultTypeInternal;
|
struct RowInsertRequestDefaultTypeInternal;
|
||||||
extern RowInsertRequestDefaultTypeInternal _RowInsertRequest_default_instance_;
|
extern RowInsertRequestDefaultTypeInternal _RowInsertRequest_default_instance_;
|
||||||
@@ -92,6 +95,7 @@ template<> ::greptime::v1::InsertRequest* Arena::CreateMaybeMessage<::greptime::
|
|||||||
template<> ::greptime::v1::InsertRequests* Arena::CreateMaybeMessage<::greptime::v1::InsertRequests>(Arena*);
|
template<> ::greptime::v1::InsertRequests* Arena::CreateMaybeMessage<::greptime::v1::InsertRequests>(Arena*);
|
||||||
template<> ::greptime::v1::QueryRequest* Arena::CreateMaybeMessage<::greptime::v1::QueryRequest>(Arena*);
|
template<> ::greptime::v1::QueryRequest* Arena::CreateMaybeMessage<::greptime::v1::QueryRequest>(Arena*);
|
||||||
template<> ::greptime::v1::RowDeleteRequest* Arena::CreateMaybeMessage<::greptime::v1::RowDeleteRequest>(Arena*);
|
template<> ::greptime::v1::RowDeleteRequest* Arena::CreateMaybeMessage<::greptime::v1::RowDeleteRequest>(Arena*);
|
||||||
|
template<> ::greptime::v1::RowDeleteRequests* Arena::CreateMaybeMessage<::greptime::v1::RowDeleteRequests>(Arena*);
|
||||||
template<> ::greptime::v1::RowInsertRequest* Arena::CreateMaybeMessage<::greptime::v1::RowInsertRequest>(Arena*);
|
template<> ::greptime::v1::RowInsertRequest* Arena::CreateMaybeMessage<::greptime::v1::RowInsertRequest>(Arena*);
|
||||||
template<> ::greptime::v1::RowInsertRequests* Arena::CreateMaybeMessage<::greptime::v1::RowInsertRequests>(Arena*);
|
template<> ::greptime::v1::RowInsertRequests* Arena::CreateMaybeMessage<::greptime::v1::RowInsertRequests>(Arena*);
|
||||||
PROTOBUF_NAMESPACE_CLOSE
|
PROTOBUF_NAMESPACE_CLOSE
|
||||||
@@ -149,7 +153,7 @@ class GreptimeRequest final :
|
|||||||
kDdl = 4,
|
kDdl = 4,
|
||||||
kDeletes = 5,
|
kDeletes = 5,
|
||||||
kRowInserts = 6,
|
kRowInserts = 6,
|
||||||
kRowDelete = 7,
|
kRowDeletes = 7,
|
||||||
REQUEST_NOT_SET = 0,
|
REQUEST_NOT_SET = 0,
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -237,7 +241,7 @@ class GreptimeRequest final :
|
|||||||
kDdlFieldNumber = 4,
|
kDdlFieldNumber = 4,
|
||||||
kDeletesFieldNumber = 5,
|
kDeletesFieldNumber = 5,
|
||||||
kRowInsertsFieldNumber = 6,
|
kRowInsertsFieldNumber = 6,
|
||||||
kRowDeleteFieldNumber = 7,
|
kRowDeletesFieldNumber = 7,
|
||||||
};
|
};
|
||||||
// .greptime.v1.RequestHeader header = 1;
|
// .greptime.v1.RequestHeader header = 1;
|
||||||
bool has_header() const;
|
bool has_header() const;
|
||||||
@@ -347,23 +351,23 @@ class GreptimeRequest final :
|
|||||||
::greptime::v1::RowInsertRequests* row_inserts);
|
::greptime::v1::RowInsertRequests* row_inserts);
|
||||||
::greptime::v1::RowInsertRequests* unsafe_arena_release_row_inserts();
|
::greptime::v1::RowInsertRequests* unsafe_arena_release_row_inserts();
|
||||||
|
|
||||||
// .greptime.v1.RowDeleteRequest row_delete = 7;
|
// .greptime.v1.RowDeleteRequests row_deletes = 7;
|
||||||
bool has_row_delete() const;
|
bool has_row_deletes() const;
|
||||||
private:
|
private:
|
||||||
bool _internal_has_row_delete() const;
|
bool _internal_has_row_deletes() const;
|
||||||
public:
|
public:
|
||||||
void clear_row_delete();
|
void clear_row_deletes();
|
||||||
const ::greptime::v1::RowDeleteRequest& row_delete() const;
|
const ::greptime::v1::RowDeleteRequests& row_deletes() const;
|
||||||
PROTOBUF_NODISCARD ::greptime::v1::RowDeleteRequest* release_row_delete();
|
PROTOBUF_NODISCARD ::greptime::v1::RowDeleteRequests* release_row_deletes();
|
||||||
::greptime::v1::RowDeleteRequest* mutable_row_delete();
|
::greptime::v1::RowDeleteRequests* mutable_row_deletes();
|
||||||
void set_allocated_row_delete(::greptime::v1::RowDeleteRequest* row_delete);
|
void set_allocated_row_deletes(::greptime::v1::RowDeleteRequests* row_deletes);
|
||||||
private:
|
private:
|
||||||
const ::greptime::v1::RowDeleteRequest& _internal_row_delete() const;
|
const ::greptime::v1::RowDeleteRequests& _internal_row_deletes() const;
|
||||||
::greptime::v1::RowDeleteRequest* _internal_mutable_row_delete();
|
::greptime::v1::RowDeleteRequests* _internal_mutable_row_deletes();
|
||||||
public:
|
public:
|
||||||
void unsafe_arena_set_allocated_row_delete(
|
void unsafe_arena_set_allocated_row_deletes(
|
||||||
::greptime::v1::RowDeleteRequest* row_delete);
|
::greptime::v1::RowDeleteRequests* row_deletes);
|
||||||
::greptime::v1::RowDeleteRequest* unsafe_arena_release_row_delete();
|
::greptime::v1::RowDeleteRequests* unsafe_arena_release_row_deletes();
|
||||||
|
|
||||||
void clear_request();
|
void clear_request();
|
||||||
RequestCase request_case() const;
|
RequestCase request_case() const;
|
||||||
@@ -375,7 +379,7 @@ class GreptimeRequest final :
|
|||||||
void set_has_ddl();
|
void set_has_ddl();
|
||||||
void set_has_deletes();
|
void set_has_deletes();
|
||||||
void set_has_row_inserts();
|
void set_has_row_inserts();
|
||||||
void set_has_row_delete();
|
void set_has_row_deletes();
|
||||||
|
|
||||||
inline bool has_request() const;
|
inline bool has_request() const;
|
||||||
inline void clear_has_request();
|
inline void clear_has_request();
|
||||||
@@ -393,7 +397,7 @@ class GreptimeRequest final :
|
|||||||
::greptime::v1::DdlRequest* ddl_;
|
::greptime::v1::DdlRequest* ddl_;
|
||||||
::greptime::v1::DeleteRequests* deletes_;
|
::greptime::v1::DeleteRequests* deletes_;
|
||||||
::greptime::v1::RowInsertRequests* row_inserts_;
|
::greptime::v1::RowInsertRequests* row_inserts_;
|
||||||
::greptime::v1::RowDeleteRequest* row_delete_;
|
::greptime::v1::RowDeleteRequests* row_deletes_;
|
||||||
} request_;
|
} request_;
|
||||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||||
uint32_t _oneof_case_[1];
|
uint32_t _oneof_case_[1];
|
||||||
@@ -1861,6 +1865,163 @@ class RowInsertRequest final :
|
|||||||
};
|
};
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
class RowDeleteRequests final :
|
||||||
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.RowDeleteRequests) */ {
|
||||||
|
public:
|
||||||
|
inline RowDeleteRequests() : RowDeleteRequests(nullptr) {}
|
||||||
|
~RowDeleteRequests() override;
|
||||||
|
explicit PROTOBUF_CONSTEXPR RowDeleteRequests(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
||||||
|
|
||||||
|
RowDeleteRequests(const RowDeleteRequests& from);
|
||||||
|
RowDeleteRequests(RowDeleteRequests&& from) noexcept
|
||||||
|
: RowDeleteRequests() {
|
||||||
|
*this = ::std::move(from);
|
||||||
|
}
|
||||||
|
|
||||||
|
inline RowDeleteRequests& operator=(const RowDeleteRequests& from) {
|
||||||
|
CopyFrom(from);
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
inline RowDeleteRequests& operator=(RowDeleteRequests&& 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 RowDeleteRequests& default_instance() {
|
||||||
|
return *internal_default_instance();
|
||||||
|
}
|
||||||
|
static inline const RowDeleteRequests* internal_default_instance() {
|
||||||
|
return reinterpret_cast<const RowDeleteRequests*>(
|
||||||
|
&_RowDeleteRequests_default_instance_);
|
||||||
|
}
|
||||||
|
static constexpr int kIndexInFileMessages =
|
||||||
|
9;
|
||||||
|
|
||||||
|
friend void swap(RowDeleteRequests& a, RowDeleteRequests& b) {
|
||||||
|
a.Swap(&b);
|
||||||
|
}
|
||||||
|
inline void Swap(RowDeleteRequests* 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(RowDeleteRequests* other) {
|
||||||
|
if (other == this) return;
|
||||||
|
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
||||||
|
InternalSwap(other);
|
||||||
|
}
|
||||||
|
|
||||||
|
// implements Message ----------------------------------------------
|
||||||
|
|
||||||
|
RowDeleteRequests* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
||||||
|
return CreateMaybeMessage<RowDeleteRequests>(arena);
|
||||||
|
}
|
||||||
|
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
||||||
|
void CopyFrom(const RowDeleteRequests& from);
|
||||||
|
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
||||||
|
void MergeFrom( const RowDeleteRequests& from) {
|
||||||
|
RowDeleteRequests::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(RowDeleteRequests* other);
|
||||||
|
|
||||||
|
private:
|
||||||
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
||||||
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
||||||
|
return "greptime.v1.RowDeleteRequests";
|
||||||
|
}
|
||||||
|
protected:
|
||||||
|
explicit RowDeleteRequests(::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 {
|
||||||
|
kDeletesFieldNumber = 1,
|
||||||
|
};
|
||||||
|
// repeated .greptime.v1.RowDeleteRequest deletes = 1;
|
||||||
|
int deletes_size() const;
|
||||||
|
private:
|
||||||
|
int _internal_deletes_size() const;
|
||||||
|
public:
|
||||||
|
void clear_deletes();
|
||||||
|
::greptime::v1::RowDeleteRequest* mutable_deletes(int index);
|
||||||
|
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::RowDeleteRequest >*
|
||||||
|
mutable_deletes();
|
||||||
|
private:
|
||||||
|
const ::greptime::v1::RowDeleteRequest& _internal_deletes(int index) const;
|
||||||
|
::greptime::v1::RowDeleteRequest* _internal_add_deletes();
|
||||||
|
public:
|
||||||
|
const ::greptime::v1::RowDeleteRequest& deletes(int index) const;
|
||||||
|
::greptime::v1::RowDeleteRequest* add_deletes();
|
||||||
|
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::RowDeleteRequest >&
|
||||||
|
deletes() const;
|
||||||
|
|
||||||
|
// @@protoc_insertion_point(class_scope:greptime.v1.RowDeleteRequests)
|
||||||
|
private:
|
||||||
|
class _Internal;
|
||||||
|
|
||||||
|
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
||||||
|
typedef void InternalArenaConstructable_;
|
||||||
|
typedef void DestructorSkippable_;
|
||||||
|
struct Impl_ {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::RowDeleteRequest > deletes_;
|
||||||
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||||
|
};
|
||||||
|
union { Impl_ _impl_; };
|
||||||
|
friend struct ::TableStruct_greptime_2fv1_2fdatabase_2eproto;
|
||||||
|
};
|
||||||
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
class RowDeleteRequest final :
|
class RowDeleteRequest final :
|
||||||
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.RowDeleteRequest) */ {
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.RowDeleteRequest) */ {
|
||||||
public:
|
public:
|
||||||
@@ -1909,7 +2070,7 @@ class RowDeleteRequest final :
|
|||||||
&_RowDeleteRequest_default_instance_);
|
&_RowDeleteRequest_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
9;
|
10;
|
||||||
|
|
||||||
friend void swap(RowDeleteRequest& a, RowDeleteRequest& b) {
|
friend void swap(RowDeleteRequest& a, RowDeleteRequest& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@@ -2501,77 +2662,77 @@ inline ::greptime::v1::RowInsertRequests* GreptimeRequest::mutable_row_inserts()
|
|||||||
return _msg;
|
return _msg;
|
||||||
}
|
}
|
||||||
|
|
||||||
// .greptime.v1.RowDeleteRequest row_delete = 7;
|
// .greptime.v1.RowDeleteRequests row_deletes = 7;
|
||||||
inline bool GreptimeRequest::_internal_has_row_delete() const {
|
inline bool GreptimeRequest::_internal_has_row_deletes() const {
|
||||||
return request_case() == kRowDelete;
|
return request_case() == kRowDeletes;
|
||||||
}
|
}
|
||||||
inline bool GreptimeRequest::has_row_delete() const {
|
inline bool GreptimeRequest::has_row_deletes() const {
|
||||||
return _internal_has_row_delete();
|
return _internal_has_row_deletes();
|
||||||
}
|
}
|
||||||
inline void GreptimeRequest::set_has_row_delete() {
|
inline void GreptimeRequest::set_has_row_deletes() {
|
||||||
_impl_._oneof_case_[0] = kRowDelete;
|
_impl_._oneof_case_[0] = kRowDeletes;
|
||||||
}
|
}
|
||||||
inline void GreptimeRequest::clear_row_delete() {
|
inline void GreptimeRequest::clear_row_deletes() {
|
||||||
if (_internal_has_row_delete()) {
|
if (_internal_has_row_deletes()) {
|
||||||
if (GetArenaForAllocation() == nullptr) {
|
if (GetArenaForAllocation() == nullptr) {
|
||||||
delete _impl_.request_.row_delete_;
|
delete _impl_.request_.row_deletes_;
|
||||||
}
|
}
|
||||||
clear_has_request();
|
clear_has_request();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
inline ::greptime::v1::RowDeleteRequest* GreptimeRequest::release_row_delete() {
|
inline ::greptime::v1::RowDeleteRequests* GreptimeRequest::release_row_deletes() {
|
||||||
// @@protoc_insertion_point(field_release:greptime.v1.GreptimeRequest.row_delete)
|
// @@protoc_insertion_point(field_release:greptime.v1.GreptimeRequest.row_deletes)
|
||||||
if (_internal_has_row_delete()) {
|
if (_internal_has_row_deletes()) {
|
||||||
clear_has_request();
|
clear_has_request();
|
||||||
::greptime::v1::RowDeleteRequest* temp = _impl_.request_.row_delete_;
|
::greptime::v1::RowDeleteRequests* temp = _impl_.request_.row_deletes_;
|
||||||
if (GetArenaForAllocation() != nullptr) {
|
if (GetArenaForAllocation() != nullptr) {
|
||||||
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
||||||
}
|
}
|
||||||
_impl_.request_.row_delete_ = nullptr;
|
_impl_.request_.row_deletes_ = nullptr;
|
||||||
return temp;
|
return temp;
|
||||||
} else {
|
} else {
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
inline const ::greptime::v1::RowDeleteRequest& GreptimeRequest::_internal_row_delete() const {
|
inline const ::greptime::v1::RowDeleteRequests& GreptimeRequest::_internal_row_deletes() const {
|
||||||
return _internal_has_row_delete()
|
return _internal_has_row_deletes()
|
||||||
? *_impl_.request_.row_delete_
|
? *_impl_.request_.row_deletes_
|
||||||
: reinterpret_cast< ::greptime::v1::RowDeleteRequest&>(::greptime::v1::_RowDeleteRequest_default_instance_);
|
: reinterpret_cast< ::greptime::v1::RowDeleteRequests&>(::greptime::v1::_RowDeleteRequests_default_instance_);
|
||||||
}
|
}
|
||||||
inline const ::greptime::v1::RowDeleteRequest& GreptimeRequest::row_delete() const {
|
inline const ::greptime::v1::RowDeleteRequests& GreptimeRequest::row_deletes() const {
|
||||||
// @@protoc_insertion_point(field_get:greptime.v1.GreptimeRequest.row_delete)
|
// @@protoc_insertion_point(field_get:greptime.v1.GreptimeRequest.row_deletes)
|
||||||
return _internal_row_delete();
|
return _internal_row_deletes();
|
||||||
}
|
}
|
||||||
inline ::greptime::v1::RowDeleteRequest* GreptimeRequest::unsafe_arena_release_row_delete() {
|
inline ::greptime::v1::RowDeleteRequests* GreptimeRequest::unsafe_arena_release_row_deletes() {
|
||||||
// @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.GreptimeRequest.row_delete)
|
// @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.GreptimeRequest.row_deletes)
|
||||||
if (_internal_has_row_delete()) {
|
if (_internal_has_row_deletes()) {
|
||||||
clear_has_request();
|
clear_has_request();
|
||||||
::greptime::v1::RowDeleteRequest* temp = _impl_.request_.row_delete_;
|
::greptime::v1::RowDeleteRequests* temp = _impl_.request_.row_deletes_;
|
||||||
_impl_.request_.row_delete_ = nullptr;
|
_impl_.request_.row_deletes_ = nullptr;
|
||||||
return temp;
|
return temp;
|
||||||
} else {
|
} else {
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
inline void GreptimeRequest::unsafe_arena_set_allocated_row_delete(::greptime::v1::RowDeleteRequest* row_delete) {
|
inline void GreptimeRequest::unsafe_arena_set_allocated_row_deletes(::greptime::v1::RowDeleteRequests* row_deletes) {
|
||||||
clear_request();
|
clear_request();
|
||||||
if (row_delete) {
|
if (row_deletes) {
|
||||||
set_has_row_delete();
|
set_has_row_deletes();
|
||||||
_impl_.request_.row_delete_ = row_delete;
|
_impl_.request_.row_deletes_ = row_deletes;
|
||||||
}
|
}
|
||||||
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.GreptimeRequest.row_delete)
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.GreptimeRequest.row_deletes)
|
||||||
}
|
}
|
||||||
inline ::greptime::v1::RowDeleteRequest* GreptimeRequest::_internal_mutable_row_delete() {
|
inline ::greptime::v1::RowDeleteRequests* GreptimeRequest::_internal_mutable_row_deletes() {
|
||||||
if (!_internal_has_row_delete()) {
|
if (!_internal_has_row_deletes()) {
|
||||||
clear_request();
|
clear_request();
|
||||||
set_has_row_delete();
|
set_has_row_deletes();
|
||||||
_impl_.request_.row_delete_ = CreateMaybeMessage< ::greptime::v1::RowDeleteRequest >(GetArenaForAllocation());
|
_impl_.request_.row_deletes_ = CreateMaybeMessage< ::greptime::v1::RowDeleteRequests >(GetArenaForAllocation());
|
||||||
}
|
}
|
||||||
return _impl_.request_.row_delete_;
|
return _impl_.request_.row_deletes_;
|
||||||
}
|
}
|
||||||
inline ::greptime::v1::RowDeleteRequest* GreptimeRequest::mutable_row_delete() {
|
inline ::greptime::v1::RowDeleteRequests* GreptimeRequest::mutable_row_deletes() {
|
||||||
::greptime::v1::RowDeleteRequest* _msg = _internal_mutable_row_delete();
|
::greptime::v1::RowDeleteRequests* _msg = _internal_mutable_row_deletes();
|
||||||
// @@protoc_insertion_point(field_mutable:greptime.v1.GreptimeRequest.row_delete)
|
// @@protoc_insertion_point(field_mutable:greptime.v1.GreptimeRequest.row_deletes)
|
||||||
return _msg;
|
return _msg;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -3536,6 +3697,50 @@ inline void RowInsertRequest::set_region_number(uint32_t value) {
|
|||||||
|
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
// RowDeleteRequests
|
||||||
|
|
||||||
|
// repeated .greptime.v1.RowDeleteRequest deletes = 1;
|
||||||
|
inline int RowDeleteRequests::_internal_deletes_size() const {
|
||||||
|
return _impl_.deletes_.size();
|
||||||
|
}
|
||||||
|
inline int RowDeleteRequests::deletes_size() const {
|
||||||
|
return _internal_deletes_size();
|
||||||
|
}
|
||||||
|
inline void RowDeleteRequests::clear_deletes() {
|
||||||
|
_impl_.deletes_.Clear();
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::RowDeleteRequest* RowDeleteRequests::mutable_deletes(int index) {
|
||||||
|
// @@protoc_insertion_point(field_mutable:greptime.v1.RowDeleteRequests.deletes)
|
||||||
|
return _impl_.deletes_.Mutable(index);
|
||||||
|
}
|
||||||
|
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::RowDeleteRequest >*
|
||||||
|
RowDeleteRequests::mutable_deletes() {
|
||||||
|
// @@protoc_insertion_point(field_mutable_list:greptime.v1.RowDeleteRequests.deletes)
|
||||||
|
return &_impl_.deletes_;
|
||||||
|
}
|
||||||
|
inline const ::greptime::v1::RowDeleteRequest& RowDeleteRequests::_internal_deletes(int index) const {
|
||||||
|
return _impl_.deletes_.Get(index);
|
||||||
|
}
|
||||||
|
inline const ::greptime::v1::RowDeleteRequest& RowDeleteRequests::deletes(int index) const {
|
||||||
|
// @@protoc_insertion_point(field_get:greptime.v1.RowDeleteRequests.deletes)
|
||||||
|
return _internal_deletes(index);
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::RowDeleteRequest* RowDeleteRequests::_internal_add_deletes() {
|
||||||
|
return _impl_.deletes_.Add();
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::RowDeleteRequest* RowDeleteRequests::add_deletes() {
|
||||||
|
::greptime::v1::RowDeleteRequest* _add = _internal_add_deletes();
|
||||||
|
// @@protoc_insertion_point(field_add:greptime.v1.RowDeleteRequests.deletes)
|
||||||
|
return _add;
|
||||||
|
}
|
||||||
|
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::greptime::v1::RowDeleteRequest >&
|
||||||
|
RowDeleteRequests::deletes() const {
|
||||||
|
// @@protoc_insertion_point(field_list:greptime.v1.RowDeleteRequests.deletes)
|
||||||
|
return _impl_.deletes_;
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
// RowDeleteRequest
|
// RowDeleteRequest
|
||||||
|
|
||||||
// string table_name = 1;
|
// string table_name = 1;
|
||||||
@@ -3714,6 +3919,8 @@ inline void RowDeleteRequest::set_region_number(uint32_t value) {
|
|||||||
|
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// @@protoc_insertion_point(namespace_scope)
|
// @@protoc_insertion_point(namespace_scope)
|
||||||
|
|
||||||
|
|||||||
+146
-6
@@ -138,6 +138,9 @@ const uint32_t TableStruct_greptime_2fv1_2frow_2eproto::offsets[] PROTOBUF_SECTI
|
|||||||
::_pbi::kInvalidFieldOffsetTag,
|
::_pbi::kInvalidFieldOffsetTag,
|
||||||
::_pbi::kInvalidFieldOffsetTag,
|
::_pbi::kInvalidFieldOffsetTag,
|
||||||
::_pbi::kInvalidFieldOffsetTag,
|
::_pbi::kInvalidFieldOffsetTag,
|
||||||
|
::_pbi::kInvalidFieldOffsetTag,
|
||||||
|
::_pbi::kInvalidFieldOffsetTag,
|
||||||
|
::_pbi::kInvalidFieldOffsetTag,
|
||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::Value, _impl_.value_data_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::Value, _impl_.value_data_),
|
||||||
};
|
};
|
||||||
static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
|
static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
|
||||||
@@ -163,7 +166,7 @@ const char descriptor_table_protodef_greptime_2fv1_2frow_2eproto[] PROTOBUF_SECT
|
|||||||
"\0162\033.greptime.v1.ColumnDataType\0220\n\rsemant"
|
"\0162\033.greptime.v1.ColumnDataType\0220\n\rsemant"
|
||||||
"ic_type\030\003 \001(\0162\031.greptime.v1.SemanticType"
|
"ic_type\030\003 \001(\0162\031.greptime.v1.SemanticType"
|
||||||
"\")\n\003Row\022\"\n\006values\030\001 \003(\0132\022.greptime.v1.Va"
|
"\")\n\003Row\022\"\n\006values\030\001 \003(\0132\022.greptime.v1.Va"
|
||||||
"lue\"\327\004\n\005Value\022\022\n\010i8_value\030\001 \001(\005H\000\022\023\n\ti16"
|
"lue\"\356\005\n\005Value\022\022\n\010i8_value\030\001 \001(\005H\000\022\023\n\ti16"
|
||||||
"_value\030\002 \001(\005H\000\022\023\n\ti32_value\030\003 \001(\005H\000\022\023\n\ti"
|
"_value\030\002 \001(\005H\000\022\023\n\ti32_value\030\003 \001(\005H\000\022\023\n\ti"
|
||||||
"64_value\030\004 \001(\003H\000\022\022\n\010u8_value\030\005 \001(\rH\000\022\023\n\t"
|
"64_value\030\004 \001(\003H\000\022\022\n\010u8_value\030\005 \001(\rH\000\022\023\n\t"
|
||||||
"u16_value\030\006 \001(\rH\000\022\023\n\tu32_value\030\007 \001(\rH\000\022\023"
|
"u16_value\030\006 \001(\rH\000\022\023\n\tu32_value\030\007 \001(\rH\000\022\023"
|
||||||
@@ -177,17 +180,21 @@ const char descriptor_table_protodef_greptime_2fv1_2frow_2eproto[] PROTOBUF_SECT
|
|||||||
"osecond_value\030\023 \001(\003H\000\022\033\n\021time_second_val"
|
"osecond_value\030\023 \001(\003H\000\022\033\n\021time_second_val"
|
||||||
"ue\030\024 \001(\003H\000\022 \n\026time_millisecond_value\030\025 \001"
|
"ue\030\024 \001(\003H\000\022 \n\026time_millisecond_value\030\025 \001"
|
||||||
"(\003H\000\022 \n\026time_microsecond_value\030\026 \001(\003H\000\022\037"
|
"(\003H\000\022 \n\026time_microsecond_value\030\026 \001(\003H\000\022\037"
|
||||||
"\n\025time_nanosecond_value\030\027 \001(\003H\000B\014\n\nvalue"
|
"\n\025time_nanosecond_value\030\027 \001(\003H\000\022$\n\032inter"
|
||||||
"_dataBP\n\016io.greptime.v1B\007RowDataZ5github"
|
"val_year_month_values\030\030 \001(\005H\000\022\"\n\030interva"
|
||||||
".com/GreptimeTeam/greptime-proto/go/grep"
|
"l_day_time_values\030\031 \001(\003H\000\022K\n\036interval_mo"
|
||||||
"time/v1b\006proto3"
|
"nth_day_nano_values\030\032 \001(\0132!.greptime.v1."
|
||||||
|
"IntervalMonthDayNanoH\000B\014\n\nvalue_dataBP\n\016"
|
||||||
|
"io.greptime.v1B\007RowDataZ5github.com/Grep"
|
||||||
|
"timeTeam/greptime-proto/go/greptime/v1b\006"
|
||||||
|
"proto3"
|
||||||
;
|
;
|
||||||
static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2frow_2eproto_deps[1] = {
|
static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2frow_2eproto_deps[1] = {
|
||||||
&::descriptor_table_greptime_2fv1_2fcommon_2eproto,
|
&::descriptor_table_greptime_2fv1_2fcommon_2eproto,
|
||||||
};
|
};
|
||||||
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2frow_2eproto_once;
|
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2frow_2eproto_once;
|
||||||
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2frow_2eproto = {
|
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2frow_2eproto = {
|
||||||
false, false, 1015, descriptor_table_protodef_greptime_2fv1_2frow_2eproto,
|
false, false, 1166, descriptor_table_protodef_greptime_2fv1_2frow_2eproto,
|
||||||
"greptime/v1/row.proto",
|
"greptime/v1/row.proto",
|
||||||
&descriptor_table_greptime_2fv1_2frow_2eproto_once, descriptor_table_greptime_2fv1_2frow_2eproto_deps, 1, 4,
|
&descriptor_table_greptime_2fv1_2frow_2eproto_once, descriptor_table_greptime_2fv1_2frow_2eproto_deps, 1, 4,
|
||||||
schemas, file_default_instances, TableStruct_greptime_2fv1_2frow_2eproto::offsets,
|
schemas, file_default_instances, TableStruct_greptime_2fv1_2frow_2eproto::offsets,
|
||||||
@@ -880,8 +887,37 @@ void Row::InternalSwap(Row* other) {
|
|||||||
|
|
||||||
class Value::_Internal {
|
class Value::_Internal {
|
||||||
public:
|
public:
|
||||||
|
static const ::greptime::v1::IntervalMonthDayNano& interval_month_day_nano_values(const Value* msg);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const ::greptime::v1::IntervalMonthDayNano&
|
||||||
|
Value::_Internal::interval_month_day_nano_values(const Value* msg) {
|
||||||
|
return *msg->_impl_.value_data_.interval_month_day_nano_values_;
|
||||||
|
}
|
||||||
|
void Value::set_allocated_interval_month_day_nano_values(::greptime::v1::IntervalMonthDayNano* interval_month_day_nano_values) {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||||
|
clear_value_data();
|
||||||
|
if (interval_month_day_nano_values) {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
|
||||||
|
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interval_month_day_nano_values));
|
||||||
|
if (message_arena != submessage_arena) {
|
||||||
|
interval_month_day_nano_values = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
||||||
|
message_arena, interval_month_day_nano_values, submessage_arena);
|
||||||
|
}
|
||||||
|
set_has_interval_month_day_nano_values();
|
||||||
|
_impl_.value_data_.interval_month_day_nano_values_ = interval_month_day_nano_values;
|
||||||
|
}
|
||||||
|
// @@protoc_insertion_point(field_set_allocated:greptime.v1.Value.interval_month_day_nano_values)
|
||||||
|
}
|
||||||
|
void Value::clear_interval_month_day_nano_values() {
|
||||||
|
if (_internal_has_interval_month_day_nano_values()) {
|
||||||
|
if (GetArenaForAllocation() == nullptr) {
|
||||||
|
delete _impl_.value_data_.interval_month_day_nano_values_;
|
||||||
|
}
|
||||||
|
clear_has_value_data();
|
||||||
|
}
|
||||||
|
}
|
||||||
Value::Value(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
Value::Value(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
||||||
bool is_message_owned)
|
bool is_message_owned)
|
||||||
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
|
: ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
|
||||||
@@ -991,6 +1027,19 @@ Value::Value(const Value& from)
|
|||||||
_this->_internal_set_time_nanosecond_value(from._internal_time_nanosecond_value());
|
_this->_internal_set_time_nanosecond_value(from._internal_time_nanosecond_value());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case kIntervalYearMonthValues: {
|
||||||
|
_this->_internal_set_interval_year_month_values(from._internal_interval_year_month_values());
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case kIntervalDayTimeValues: {
|
||||||
|
_this->_internal_set_interval_day_time_values(from._internal_interval_day_time_values());
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case kIntervalMonthDayNanoValues: {
|
||||||
|
_this->_internal_mutable_interval_month_day_nano_values()->::greptime::v1::IntervalMonthDayNano::MergeFrom(
|
||||||
|
from._internal_interval_month_day_nano_values());
|
||||||
|
break;
|
||||||
|
}
|
||||||
case VALUE_DATA_NOT_SET: {
|
case VALUE_DATA_NOT_SET: {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -1125,6 +1174,20 @@ void Value::clear_value_data() {
|
|||||||
// No need to clear
|
// No need to clear
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case kIntervalYearMonthValues: {
|
||||||
|
// No need to clear
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case kIntervalDayTimeValues: {
|
||||||
|
// No need to clear
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case kIntervalMonthDayNanoValues: {
|
||||||
|
if (GetArenaForAllocation() == nullptr) {
|
||||||
|
delete _impl_.value_data_.interval_month_day_nano_values_;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
case VALUE_DATA_NOT_SET: {
|
case VALUE_DATA_NOT_SET: {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -1336,6 +1399,30 @@ const char* Value::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
|
|||||||
} else
|
} else
|
||||||
goto handle_unusual;
|
goto handle_unusual;
|
||||||
continue;
|
continue;
|
||||||
|
// int32 interval_year_month_values = 24;
|
||||||
|
case 24:
|
||||||
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 192)) {
|
||||||
|
_internal_set_interval_year_month_values(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr));
|
||||||
|
CHK_(ptr);
|
||||||
|
} else
|
||||||
|
goto handle_unusual;
|
||||||
|
continue;
|
||||||
|
// int64 interval_day_time_values = 25;
|
||||||
|
case 25:
|
||||||
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 200)) {
|
||||||
|
_internal_set_interval_day_time_values(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr));
|
||||||
|
CHK_(ptr);
|
||||||
|
} else
|
||||||
|
goto handle_unusual;
|
||||||
|
continue;
|
||||||
|
// .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;
|
||||||
|
case 26:
|
||||||
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 210)) {
|
||||||
|
ptr = ctx->ParseMessage(_internal_mutable_interval_month_day_nano_values(), ptr);
|
||||||
|
CHK_(ptr);
|
||||||
|
} else
|
||||||
|
goto handle_unusual;
|
||||||
|
continue;
|
||||||
default:
|
default:
|
||||||
goto handle_unusual;
|
goto handle_unusual;
|
||||||
} // switch
|
} // switch
|
||||||
@@ -1507,6 +1594,25 @@ uint8_t* Value::_InternalSerialize(
|
|||||||
target = ::_pbi::WireFormatLite::WriteInt64ToArray(23, this->_internal_time_nanosecond_value(), target);
|
target = ::_pbi::WireFormatLite::WriteInt64ToArray(23, this->_internal_time_nanosecond_value(), target);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// int32 interval_year_month_values = 24;
|
||||||
|
if (_internal_has_interval_year_month_values()) {
|
||||||
|
target = stream->EnsureSpace(target);
|
||||||
|
target = ::_pbi::WireFormatLite::WriteInt32ToArray(24, this->_internal_interval_year_month_values(), target);
|
||||||
|
}
|
||||||
|
|
||||||
|
// int64 interval_day_time_values = 25;
|
||||||
|
if (_internal_has_interval_day_time_values()) {
|
||||||
|
target = stream->EnsureSpace(target);
|
||||||
|
target = ::_pbi::WireFormatLite::WriteInt64ToArray(25, this->_internal_interval_day_time_values(), target);
|
||||||
|
}
|
||||||
|
|
||||||
|
// .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;
|
||||||
|
if (_internal_has_interval_month_day_nano_values()) {
|
||||||
|
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||||
|
InternalWriteMessage(26, _Internal::interval_month_day_nano_values(this),
|
||||||
|
_Internal::interval_month_day_nano_values(this).GetCachedSize(), target, stream);
|
||||||
|
}
|
||||||
|
|
||||||
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
||||||
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
||||||
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
|
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
|
||||||
@@ -1659,6 +1765,27 @@ size_t Value::ByteSizeLong() const {
|
|||||||
this->_internal_time_nanosecond_value());
|
this->_internal_time_nanosecond_value());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
// int32 interval_year_month_values = 24;
|
||||||
|
case kIntervalYearMonthValues: {
|
||||||
|
total_size += 2 +
|
||||||
|
::_pbi::WireFormatLite::Int32Size(
|
||||||
|
this->_internal_interval_year_month_values());
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
// int64 interval_day_time_values = 25;
|
||||||
|
case kIntervalDayTimeValues: {
|
||||||
|
total_size += 2 +
|
||||||
|
::_pbi::WireFormatLite::Int64Size(
|
||||||
|
this->_internal_interval_day_time_values());
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
// .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;
|
||||||
|
case kIntervalMonthDayNanoValues: {
|
||||||
|
total_size += 2 +
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
|
||||||
|
*_impl_.value_data_.interval_month_day_nano_values_);
|
||||||
|
break;
|
||||||
|
}
|
||||||
case VALUE_DATA_NOT_SET: {
|
case VALUE_DATA_NOT_SET: {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -1774,6 +1901,19 @@ void Value::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF
|
|||||||
_this->_internal_set_time_nanosecond_value(from._internal_time_nanosecond_value());
|
_this->_internal_set_time_nanosecond_value(from._internal_time_nanosecond_value());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case kIntervalYearMonthValues: {
|
||||||
|
_this->_internal_set_interval_year_month_values(from._internal_interval_year_month_values());
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case kIntervalDayTimeValues: {
|
||||||
|
_this->_internal_set_interval_day_time_values(from._internal_interval_day_time_values());
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case kIntervalMonthDayNanoValues: {
|
||||||
|
_this->_internal_mutable_interval_month_day_nano_values()->::greptime::v1::IntervalMonthDayNano::MergeFrom(
|
||||||
|
from._internal_interval_month_day_nano_values());
|
||||||
|
break;
|
||||||
|
}
|
||||||
case VALUE_DATA_NOT_SET: {
|
case VALUE_DATA_NOT_SET: {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -648,6 +648,9 @@ class Value final :
|
|||||||
kTimeMillisecondValue = 21,
|
kTimeMillisecondValue = 21,
|
||||||
kTimeMicrosecondValue = 22,
|
kTimeMicrosecondValue = 22,
|
||||||
kTimeNanosecondValue = 23,
|
kTimeNanosecondValue = 23,
|
||||||
|
kIntervalYearMonthValues = 24,
|
||||||
|
kIntervalDayTimeValues = 25,
|
||||||
|
kIntervalMonthDayNanoValues = 26,
|
||||||
VALUE_DATA_NOT_SET = 0,
|
VALUE_DATA_NOT_SET = 0,
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -752,6 +755,9 @@ class Value final :
|
|||||||
kTimeMillisecondValueFieldNumber = 21,
|
kTimeMillisecondValueFieldNumber = 21,
|
||||||
kTimeMicrosecondValueFieldNumber = 22,
|
kTimeMicrosecondValueFieldNumber = 22,
|
||||||
kTimeNanosecondValueFieldNumber = 23,
|
kTimeNanosecondValueFieldNumber = 23,
|
||||||
|
kIntervalYearMonthValuesFieldNumber = 24,
|
||||||
|
kIntervalDayTimeValuesFieldNumber = 25,
|
||||||
|
kIntervalMonthDayNanoValuesFieldNumber = 26,
|
||||||
};
|
};
|
||||||
// int32 i8_value = 1;
|
// int32 i8_value = 1;
|
||||||
bool has_i8_value() const;
|
bool has_i8_value() const;
|
||||||
@@ -1062,6 +1068,50 @@ class Value final :
|
|||||||
void _internal_set_time_nanosecond_value(int64_t value);
|
void _internal_set_time_nanosecond_value(int64_t value);
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
// int32 interval_year_month_values = 24;
|
||||||
|
bool has_interval_year_month_values() const;
|
||||||
|
private:
|
||||||
|
bool _internal_has_interval_year_month_values() const;
|
||||||
|
public:
|
||||||
|
void clear_interval_year_month_values();
|
||||||
|
int32_t interval_year_month_values() const;
|
||||||
|
void set_interval_year_month_values(int32_t value);
|
||||||
|
private:
|
||||||
|
int32_t _internal_interval_year_month_values() const;
|
||||||
|
void _internal_set_interval_year_month_values(int32_t value);
|
||||||
|
public:
|
||||||
|
|
||||||
|
// int64 interval_day_time_values = 25;
|
||||||
|
bool has_interval_day_time_values() const;
|
||||||
|
private:
|
||||||
|
bool _internal_has_interval_day_time_values() const;
|
||||||
|
public:
|
||||||
|
void clear_interval_day_time_values();
|
||||||
|
int64_t interval_day_time_values() const;
|
||||||
|
void set_interval_day_time_values(int64_t value);
|
||||||
|
private:
|
||||||
|
int64_t _internal_interval_day_time_values() const;
|
||||||
|
void _internal_set_interval_day_time_values(int64_t value);
|
||||||
|
public:
|
||||||
|
|
||||||
|
// .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;
|
||||||
|
bool has_interval_month_day_nano_values() const;
|
||||||
|
private:
|
||||||
|
bool _internal_has_interval_month_day_nano_values() const;
|
||||||
|
public:
|
||||||
|
void clear_interval_month_day_nano_values();
|
||||||
|
const ::greptime::v1::IntervalMonthDayNano& interval_month_day_nano_values() const;
|
||||||
|
PROTOBUF_NODISCARD ::greptime::v1::IntervalMonthDayNano* release_interval_month_day_nano_values();
|
||||||
|
::greptime::v1::IntervalMonthDayNano* mutable_interval_month_day_nano_values();
|
||||||
|
void set_allocated_interval_month_day_nano_values(::greptime::v1::IntervalMonthDayNano* interval_month_day_nano_values);
|
||||||
|
private:
|
||||||
|
const ::greptime::v1::IntervalMonthDayNano& _internal_interval_month_day_nano_values() const;
|
||||||
|
::greptime::v1::IntervalMonthDayNano* _internal_mutable_interval_month_day_nano_values();
|
||||||
|
public:
|
||||||
|
void unsafe_arena_set_allocated_interval_month_day_nano_values(
|
||||||
|
::greptime::v1::IntervalMonthDayNano* interval_month_day_nano_values);
|
||||||
|
::greptime::v1::IntervalMonthDayNano* unsafe_arena_release_interval_month_day_nano_values();
|
||||||
|
|
||||||
void clear_value_data();
|
void clear_value_data();
|
||||||
ValueDataCase value_data_case() const;
|
ValueDataCase value_data_case() const;
|
||||||
// @@protoc_insertion_point(class_scope:greptime.v1.Value)
|
// @@protoc_insertion_point(class_scope:greptime.v1.Value)
|
||||||
@@ -1090,6 +1140,9 @@ class Value final :
|
|||||||
void set_has_time_millisecond_value();
|
void set_has_time_millisecond_value();
|
||||||
void set_has_time_microsecond_value();
|
void set_has_time_microsecond_value();
|
||||||
void set_has_time_nanosecond_value();
|
void set_has_time_nanosecond_value();
|
||||||
|
void set_has_interval_year_month_values();
|
||||||
|
void set_has_interval_day_time_values();
|
||||||
|
void set_has_interval_month_day_nano_values();
|
||||||
|
|
||||||
inline bool has_value_data() const;
|
inline bool has_value_data() const;
|
||||||
inline void clear_has_value_data();
|
inline void clear_has_value_data();
|
||||||
@@ -1124,6 +1177,9 @@ class Value final :
|
|||||||
int64_t time_millisecond_value_;
|
int64_t time_millisecond_value_;
|
||||||
int64_t time_microsecond_value_;
|
int64_t time_microsecond_value_;
|
||||||
int64_t time_nanosecond_value_;
|
int64_t time_nanosecond_value_;
|
||||||
|
int32_t interval_year_month_values_;
|
||||||
|
int64_t interval_day_time_values_;
|
||||||
|
::greptime::v1::IntervalMonthDayNano* interval_month_day_nano_values_;
|
||||||
} value_data_;
|
} value_data_;
|
||||||
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||||
uint32_t _oneof_case_[1];
|
uint32_t _oneof_case_[1];
|
||||||
@@ -2317,6 +2373,148 @@ inline void Value::set_time_nanosecond_value(int64_t value) {
|
|||||||
// @@protoc_insertion_point(field_set:greptime.v1.Value.time_nanosecond_value)
|
// @@protoc_insertion_point(field_set:greptime.v1.Value.time_nanosecond_value)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// int32 interval_year_month_values = 24;
|
||||||
|
inline bool Value::_internal_has_interval_year_month_values() const {
|
||||||
|
return value_data_case() == kIntervalYearMonthValues;
|
||||||
|
}
|
||||||
|
inline bool Value::has_interval_year_month_values() const {
|
||||||
|
return _internal_has_interval_year_month_values();
|
||||||
|
}
|
||||||
|
inline void Value::set_has_interval_year_month_values() {
|
||||||
|
_impl_._oneof_case_[0] = kIntervalYearMonthValues;
|
||||||
|
}
|
||||||
|
inline void Value::clear_interval_year_month_values() {
|
||||||
|
if (_internal_has_interval_year_month_values()) {
|
||||||
|
_impl_.value_data_.interval_year_month_values_ = 0;
|
||||||
|
clear_has_value_data();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
inline int32_t Value::_internal_interval_year_month_values() const {
|
||||||
|
if (_internal_has_interval_year_month_values()) {
|
||||||
|
return _impl_.value_data_.interval_year_month_values_;
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
inline void Value::_internal_set_interval_year_month_values(int32_t value) {
|
||||||
|
if (!_internal_has_interval_year_month_values()) {
|
||||||
|
clear_value_data();
|
||||||
|
set_has_interval_year_month_values();
|
||||||
|
}
|
||||||
|
_impl_.value_data_.interval_year_month_values_ = value;
|
||||||
|
}
|
||||||
|
inline int32_t Value::interval_year_month_values() const {
|
||||||
|
// @@protoc_insertion_point(field_get:greptime.v1.Value.interval_year_month_values)
|
||||||
|
return _internal_interval_year_month_values();
|
||||||
|
}
|
||||||
|
inline void Value::set_interval_year_month_values(int32_t value) {
|
||||||
|
_internal_set_interval_year_month_values(value);
|
||||||
|
// @@protoc_insertion_point(field_set:greptime.v1.Value.interval_year_month_values)
|
||||||
|
}
|
||||||
|
|
||||||
|
// int64 interval_day_time_values = 25;
|
||||||
|
inline bool Value::_internal_has_interval_day_time_values() const {
|
||||||
|
return value_data_case() == kIntervalDayTimeValues;
|
||||||
|
}
|
||||||
|
inline bool Value::has_interval_day_time_values() const {
|
||||||
|
return _internal_has_interval_day_time_values();
|
||||||
|
}
|
||||||
|
inline void Value::set_has_interval_day_time_values() {
|
||||||
|
_impl_._oneof_case_[0] = kIntervalDayTimeValues;
|
||||||
|
}
|
||||||
|
inline void Value::clear_interval_day_time_values() {
|
||||||
|
if (_internal_has_interval_day_time_values()) {
|
||||||
|
_impl_.value_data_.interval_day_time_values_ = int64_t{0};
|
||||||
|
clear_has_value_data();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
inline int64_t Value::_internal_interval_day_time_values() const {
|
||||||
|
if (_internal_has_interval_day_time_values()) {
|
||||||
|
return _impl_.value_data_.interval_day_time_values_;
|
||||||
|
}
|
||||||
|
return int64_t{0};
|
||||||
|
}
|
||||||
|
inline void Value::_internal_set_interval_day_time_values(int64_t value) {
|
||||||
|
if (!_internal_has_interval_day_time_values()) {
|
||||||
|
clear_value_data();
|
||||||
|
set_has_interval_day_time_values();
|
||||||
|
}
|
||||||
|
_impl_.value_data_.interval_day_time_values_ = value;
|
||||||
|
}
|
||||||
|
inline int64_t Value::interval_day_time_values() const {
|
||||||
|
// @@protoc_insertion_point(field_get:greptime.v1.Value.interval_day_time_values)
|
||||||
|
return _internal_interval_day_time_values();
|
||||||
|
}
|
||||||
|
inline void Value::set_interval_day_time_values(int64_t value) {
|
||||||
|
_internal_set_interval_day_time_values(value);
|
||||||
|
// @@protoc_insertion_point(field_set:greptime.v1.Value.interval_day_time_values)
|
||||||
|
}
|
||||||
|
|
||||||
|
// .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;
|
||||||
|
inline bool Value::_internal_has_interval_month_day_nano_values() const {
|
||||||
|
return value_data_case() == kIntervalMonthDayNanoValues;
|
||||||
|
}
|
||||||
|
inline bool Value::has_interval_month_day_nano_values() const {
|
||||||
|
return _internal_has_interval_month_day_nano_values();
|
||||||
|
}
|
||||||
|
inline void Value::set_has_interval_month_day_nano_values() {
|
||||||
|
_impl_._oneof_case_[0] = kIntervalMonthDayNanoValues;
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::IntervalMonthDayNano* Value::release_interval_month_day_nano_values() {
|
||||||
|
// @@protoc_insertion_point(field_release:greptime.v1.Value.interval_month_day_nano_values)
|
||||||
|
if (_internal_has_interval_month_day_nano_values()) {
|
||||||
|
clear_has_value_data();
|
||||||
|
::greptime::v1::IntervalMonthDayNano* temp = _impl_.value_data_.interval_month_day_nano_values_;
|
||||||
|
if (GetArenaForAllocation() != nullptr) {
|
||||||
|
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
||||||
|
}
|
||||||
|
_impl_.value_data_.interval_month_day_nano_values_ = nullptr;
|
||||||
|
return temp;
|
||||||
|
} else {
|
||||||
|
return nullptr;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
inline const ::greptime::v1::IntervalMonthDayNano& Value::_internal_interval_month_day_nano_values() const {
|
||||||
|
return _internal_has_interval_month_day_nano_values()
|
||||||
|
? *_impl_.value_data_.interval_month_day_nano_values_
|
||||||
|
: reinterpret_cast< ::greptime::v1::IntervalMonthDayNano&>(::greptime::v1::_IntervalMonthDayNano_default_instance_);
|
||||||
|
}
|
||||||
|
inline const ::greptime::v1::IntervalMonthDayNano& Value::interval_month_day_nano_values() const {
|
||||||
|
// @@protoc_insertion_point(field_get:greptime.v1.Value.interval_month_day_nano_values)
|
||||||
|
return _internal_interval_month_day_nano_values();
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::IntervalMonthDayNano* Value::unsafe_arena_release_interval_month_day_nano_values() {
|
||||||
|
// @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.Value.interval_month_day_nano_values)
|
||||||
|
if (_internal_has_interval_month_day_nano_values()) {
|
||||||
|
clear_has_value_data();
|
||||||
|
::greptime::v1::IntervalMonthDayNano* temp = _impl_.value_data_.interval_month_day_nano_values_;
|
||||||
|
_impl_.value_data_.interval_month_day_nano_values_ = nullptr;
|
||||||
|
return temp;
|
||||||
|
} else {
|
||||||
|
return nullptr;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
inline void Value::unsafe_arena_set_allocated_interval_month_day_nano_values(::greptime::v1::IntervalMonthDayNano* interval_month_day_nano_values) {
|
||||||
|
clear_value_data();
|
||||||
|
if (interval_month_day_nano_values) {
|
||||||
|
set_has_interval_month_day_nano_values();
|
||||||
|
_impl_.value_data_.interval_month_day_nano_values_ = interval_month_day_nano_values;
|
||||||
|
}
|
||||||
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.Value.interval_month_day_nano_values)
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::IntervalMonthDayNano* Value::_internal_mutable_interval_month_day_nano_values() {
|
||||||
|
if (!_internal_has_interval_month_day_nano_values()) {
|
||||||
|
clear_value_data();
|
||||||
|
set_has_interval_month_day_nano_values();
|
||||||
|
_impl_.value_data_.interval_month_day_nano_values_ = CreateMaybeMessage< ::greptime::v1::IntervalMonthDayNano >(GetArenaForAllocation());
|
||||||
|
}
|
||||||
|
return _impl_.value_data_.interval_month_day_nano_values_;
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::IntervalMonthDayNano* Value::mutable_interval_month_day_nano_values() {
|
||||||
|
::greptime::v1::IntervalMonthDayNano* _msg = _internal_mutable_interval_month_day_nano_values();
|
||||||
|
// @@protoc_insertion_point(field_mutable:greptime.v1.Value.interval_month_day_nano_values)
|
||||||
|
return _msg;
|
||||||
|
}
|
||||||
|
|
||||||
inline bool Value::has_value_data() const {
|
inline bool Value::has_value_data() const {
|
||||||
return value_data_case() != VALUE_DATA_NOT_SET;
|
return value_data_case() != VALUE_DATA_NOT_SET;
|
||||||
}
|
}
|
||||||
|
|||||||
+19
-100
@@ -127,69 +127,6 @@ func (x *Column) GetDatatype() ColumnDataType {
|
|||||||
return ColumnDataType_BOOLEAN
|
return ColumnDataType_BOOLEAN
|
||||||
}
|
}
|
||||||
|
|
||||||
type IntervalMonthDayNano struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
Months int32 `protobuf:"varint,1,opt,name=months,proto3" json:"months,omitempty"`
|
|
||||||
Days int32 `protobuf:"varint,2,opt,name=days,proto3" json:"days,omitempty"`
|
|
||||||
Nanoseconds int64 `protobuf:"varint,3,opt,name=nanoseconds,proto3" json:"nanoseconds,omitempty"`
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *IntervalMonthDayNano) Reset() {
|
|
||||||
*x = IntervalMonthDayNano{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_greptime_v1_column_proto_msgTypes[1]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *IntervalMonthDayNano) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*IntervalMonthDayNano) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *IntervalMonthDayNano) ProtoReflect() protoreflect.Message {
|
|
||||||
mi := &file_greptime_v1_column_proto_msgTypes[1]
|
|
||||||
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 IntervalMonthDayNano.ProtoReflect.Descriptor instead.
|
|
||||||
func (*IntervalMonthDayNano) Descriptor() ([]byte, []int) {
|
|
||||||
return file_greptime_v1_column_proto_rawDescGZIP(), []int{1}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *IntervalMonthDayNano) GetMonths() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Months
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *IntervalMonthDayNano) GetDays() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Days
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *IntervalMonthDayNano) GetNanoseconds() int64 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Nanoseconds
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
type Column_Values struct {
|
type Column_Values struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
@@ -226,7 +163,7 @@ type Column_Values struct {
|
|||||||
func (x *Column_Values) Reset() {
|
func (x *Column_Values) Reset() {
|
||||||
*x = Column_Values{}
|
*x = Column_Values{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_greptime_v1_column_proto_msgTypes[2]
|
mi := &file_greptime_v1_column_proto_msgTypes[1]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -239,7 +176,7 @@ func (x *Column_Values) String() string {
|
|||||||
func (*Column_Values) ProtoMessage() {}
|
func (*Column_Values) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *Column_Values) ProtoReflect() protoreflect.Message {
|
func (x *Column_Values) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_greptime_v1_column_proto_msgTypes[2]
|
mi := &file_greptime_v1_column_proto_msgTypes[1]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -529,19 +466,13 @@ var file_greptime_v1_column_proto_rawDesc = []byte{
|
|||||||
0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e,
|
0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e,
|
||||||
0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x44, 0x61, 0x79, 0x4e, 0x61,
|
0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x44, 0x61, 0x79, 0x4e, 0x61,
|
||||||
0x6e, 0x6f, 0x52, 0x1a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x4d, 0x6f, 0x6e, 0x74,
|
0x6e, 0x6f, 0x52, 0x1a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x4d, 0x6f, 0x6e, 0x74,
|
||||||
0x68, 0x44, 0x61, 0x79, 0x4e, 0x61, 0x6e, 0x6f, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0x64,
|
0x68, 0x44, 0x61, 0x79, 0x4e, 0x61, 0x6e, 0x6f, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x42, 0x50,
|
||||||
0x0a, 0x14, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x44,
|
0x0a, 0x0e, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
|
||||||
0x61, 0x79, 0x4e, 0x61, 0x6e, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x73,
|
0x42, 0x07, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75,
|
||||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x73, 0x12, 0x12,
|
0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x65,
|
||||||
0x0a, 0x04, 0x64, 0x61, 0x79, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x64, 0x61,
|
0x61, 0x6d, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2d, 0x70, 0x72, 0x6f, 0x74,
|
||||||
0x79, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x61, 0x6e, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64,
|
0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31,
|
||||||
0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6e, 0x61, 0x6e, 0x6f, 0x73, 0x65, 0x63,
|
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
0x6f, 0x6e, 0x64, 0x73, 0x42, 0x50, 0x0a, 0x0e, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74,
|
|
||||||
0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x07, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 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 (
|
var (
|
||||||
@@ -556,19 +487,19 @@ func file_greptime_v1_column_proto_rawDescGZIP() []byte {
|
|||||||
return file_greptime_v1_column_proto_rawDescData
|
return file_greptime_v1_column_proto_rawDescData
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_greptime_v1_column_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
|
var file_greptime_v1_column_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
||||||
var file_greptime_v1_column_proto_goTypes = []interface{}{
|
var file_greptime_v1_column_proto_goTypes = []interface{}{
|
||||||
(*Column)(nil), // 0: greptime.v1.Column
|
(*Column)(nil), // 0: greptime.v1.Column
|
||||||
(*IntervalMonthDayNano)(nil), // 1: greptime.v1.IntervalMonthDayNano
|
(*Column_Values)(nil), // 1: greptime.v1.Column.Values
|
||||||
(*Column_Values)(nil), // 2: greptime.v1.Column.Values
|
(SemanticType)(0), // 2: greptime.v1.SemanticType
|
||||||
(SemanticType)(0), // 3: greptime.v1.SemanticType
|
(ColumnDataType)(0), // 3: greptime.v1.ColumnDataType
|
||||||
(ColumnDataType)(0), // 4: greptime.v1.ColumnDataType
|
(*IntervalMonthDayNano)(nil), // 4: greptime.v1.IntervalMonthDayNano
|
||||||
}
|
}
|
||||||
var file_greptime_v1_column_proto_depIdxs = []int32{
|
var file_greptime_v1_column_proto_depIdxs = []int32{
|
||||||
3, // 0: greptime.v1.Column.semantic_type:type_name -> greptime.v1.SemanticType
|
2, // 0: greptime.v1.Column.semantic_type:type_name -> greptime.v1.SemanticType
|
||||||
2, // 1: greptime.v1.Column.values:type_name -> greptime.v1.Column.Values
|
1, // 1: greptime.v1.Column.values:type_name -> greptime.v1.Column.Values
|
||||||
4, // 2: greptime.v1.Column.datatype:type_name -> greptime.v1.ColumnDataType
|
3, // 2: greptime.v1.Column.datatype:type_name -> greptime.v1.ColumnDataType
|
||||||
1, // 3: greptime.v1.Column.Values.interval_month_day_nano_values:type_name -> greptime.v1.IntervalMonthDayNano
|
4, // 3: greptime.v1.Column.Values.interval_month_day_nano_values:type_name -> greptime.v1.IntervalMonthDayNano
|
||||||
4, // [4:4] is the sub-list for method output_type
|
4, // [4:4] is the sub-list for method output_type
|
||||||
4, // [4:4] is the sub-list for method input_type
|
4, // [4:4] is the sub-list for method input_type
|
||||||
4, // [4:4] is the sub-list for extension type_name
|
4, // [4:4] is the sub-list for extension type_name
|
||||||
@@ -596,18 +527,6 @@ func file_greptime_v1_column_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_greptime_v1_column_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
file_greptime_v1_column_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*IntervalMonthDayNano); i {
|
|
||||||
case 0:
|
|
||||||
return &v.state
|
|
||||||
case 1:
|
|
||||||
return &v.sizeCache
|
|
||||||
case 2:
|
|
||||||
return &v.unknownFields
|
|
||||||
default:
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
}
|
|
||||||
file_greptime_v1_column_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*Column_Values); i {
|
switch v := v.(*Column_Values); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -626,7 +545,7 @@ func file_greptime_v1_column_proto_init() {
|
|||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
RawDescriptor: file_greptime_v1_column_proto_rawDesc,
|
RawDescriptor: file_greptime_v1_column_proto_rawDesc,
|
||||||
NumEnums: 0,
|
NumEnums: 0,
|
||||||
NumMessages: 3,
|
NumMessages: 2,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 0,
|
NumServices: 0,
|
||||||
},
|
},
|
||||||
|
|||||||
+122
-40
@@ -746,6 +746,69 @@ func (x *ColumnDef) GetDefaultConstraint() []byte {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type IntervalMonthDayNano struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
Months int32 `protobuf:"varint,1,opt,name=months,proto3" json:"months,omitempty"`
|
||||||
|
Days int32 `protobuf:"varint,2,opt,name=days,proto3" json:"days,omitempty"`
|
||||||
|
Nanoseconds int64 `protobuf:"varint,3,opt,name=nanoseconds,proto3" json:"nanoseconds,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *IntervalMonthDayNano) Reset() {
|
||||||
|
*x = IntervalMonthDayNano{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_greptime_v1_common_proto_msgTypes[9]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *IntervalMonthDayNano) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*IntervalMonthDayNano) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *IntervalMonthDayNano) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_greptime_v1_common_proto_msgTypes[9]
|
||||||
|
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 IntervalMonthDayNano.ProtoReflect.Descriptor instead.
|
||||||
|
func (*IntervalMonthDayNano) Descriptor() ([]byte, []int) {
|
||||||
|
return file_greptime_v1_common_proto_rawDescGZIP(), []int{9}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *IntervalMonthDayNano) GetMonths() int32 {
|
||||||
|
if x != nil {
|
||||||
|
return x.Months
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *IntervalMonthDayNano) GetDays() int32 {
|
||||||
|
if x != nil {
|
||||||
|
return x.Days
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *IntervalMonthDayNano) GetNanoseconds() int64 {
|
||||||
|
if x != nil {
|
||||||
|
return x.Nanoseconds
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
var File_greptime_v1_common_proto protoreflect.FileDescriptor
|
var File_greptime_v1_common_proto protoreflect.FileDescriptor
|
||||||
|
|
||||||
var file_greptime_v1_common_proto_rawDesc = []byte{
|
var file_greptime_v1_common_proto_rawDesc = []byte{
|
||||||
@@ -806,44 +869,50 @@ var file_greptime_v1_common_proto_rawDesc = []byte{
|
|||||||
0x6c, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74,
|
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,
|
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,
|
0x0c, 0x52, 0x11, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72,
|
||||||
0x61, 0x69, 0x6e, 0x74, 0x2a, 0x31, 0x0a, 0x0c, 0x53, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63,
|
0x61, 0x69, 0x6e, 0x74, 0x22, 0x64, 0x0a, 0x14, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c,
|
||||||
0x54, 0x79, 0x70, 0x65, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x41, 0x47, 0x10, 0x00, 0x12, 0x09, 0x0a,
|
0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x44, 0x61, 0x79, 0x4e, 0x61, 0x6e, 0x6f, 0x12, 0x16, 0x0a, 0x06,
|
||||||
0x05, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x49, 0x4d, 0x45,
|
0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6d, 0x6f,
|
||||||
0x53, 0x54, 0x41, 0x4d, 0x50, 0x10, 0x02, 0x2a, 0xc6, 0x03, 0x0a, 0x0e, 0x43, 0x6f, 0x6c, 0x75,
|
0x6e, 0x74, 0x68, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x79, 0x73, 0x18, 0x02, 0x20, 0x01,
|
||||||
0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x42, 0x4f,
|
0x28, 0x05, 0x52, 0x04, 0x64, 0x61, 0x79, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x61, 0x6e, 0x6f,
|
||||||
0x4f, 0x4c, 0x45, 0x41, 0x4e, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x4e, 0x54, 0x38, 0x10,
|
0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6e,
|
||||||
0x01, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x31, 0x36, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05,
|
0x61, 0x6e, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x2a, 0x31, 0x0a, 0x0c, 0x53, 0x65,
|
||||||
0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x36, 0x34,
|
0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x41,
|
||||||
0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x55, 0x49, 0x4e, 0x54, 0x38, 0x10, 0x05, 0x12, 0x0a, 0x0a,
|
0x47, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x10, 0x01, 0x12, 0x0d,
|
||||||
0x06, 0x55, 0x49, 0x4e, 0x54, 0x31, 0x36, 0x10, 0x06, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x49, 0x4e,
|
0x0a, 0x09, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x10, 0x02, 0x2a, 0xc6, 0x03,
|
||||||
0x54, 0x33, 0x32, 0x10, 0x07, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10,
|
0x0a, 0x0e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x54, 0x79, 0x70, 0x65,
|
||||||
0x08, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x33, 0x32, 0x10, 0x09, 0x12, 0x0b,
|
0x12, 0x0b, 0x0a, 0x07, 0x42, 0x4f, 0x4f, 0x4c, 0x45, 0x41, 0x4e, 0x10, 0x00, 0x12, 0x08, 0x0a,
|
||||||
0x0a, 0x07, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x36, 0x34, 0x10, 0x0a, 0x12, 0x0a, 0x0a, 0x06, 0x42,
|
0x04, 0x49, 0x4e, 0x54, 0x38, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x31, 0x36,
|
||||||
0x49, 0x4e, 0x41, 0x52, 0x59, 0x10, 0x0b, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e,
|
0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x03, 0x12, 0x09, 0x0a,
|
||||||
0x47, 0x10, 0x0c, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x41, 0x54, 0x45, 0x10, 0x0d, 0x12, 0x0c, 0x0a,
|
0x05, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x55, 0x49, 0x4e, 0x54,
|
||||||
0x08, 0x44, 0x41, 0x54, 0x45, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x0e, 0x12, 0x14, 0x0a, 0x10, 0x54,
|
0x38, 0x10, 0x05, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x49, 0x4e, 0x54, 0x31, 0x36, 0x10, 0x06, 0x12,
|
||||||
0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10,
|
0x0a, 0x0a, 0x06, 0x55, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x07, 0x12, 0x0a, 0x0a, 0x06, 0x55,
|
||||||
0x0f, 0x12, 0x19, 0x0a, 0x15, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x4d,
|
0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x08, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x4c, 0x4f, 0x41, 0x54,
|
||||||
0x49, 0x4c, 0x4c, 0x49, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x10, 0x12, 0x19, 0x0a, 0x15,
|
0x33, 0x32, 0x10, 0x09, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x36, 0x34, 0x10,
|
||||||
0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x4d, 0x49, 0x43, 0x52, 0x4f, 0x53,
|
0x0a, 0x12, 0x0a, 0x0a, 0x06, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x10, 0x0b, 0x12, 0x0a, 0x0a,
|
||||||
0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x11, 0x12, 0x18, 0x0a, 0x14, 0x54, 0x49, 0x4d, 0x45, 0x53,
|
0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x0c, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x41, 0x54,
|
||||||
0x54, 0x41, 0x4d, 0x50, 0x5f, 0x4e, 0x41, 0x4e, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10,
|
0x45, 0x10, 0x0d, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x41, 0x54, 0x45, 0x54, 0x49, 0x4d, 0x45, 0x10,
|
||||||
0x12, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44,
|
0x0e, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x53,
|
||||||
0x10, 0x13, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x4d, 0x49, 0x4c, 0x4c, 0x49,
|
0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x0f, 0x12, 0x19, 0x0a, 0x15, 0x54, 0x49, 0x4d, 0x45, 0x53,
|
||||||
0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x14, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x49, 0x4d, 0x45,
|
0x54, 0x41, 0x4d, 0x50, 0x5f, 0x4d, 0x49, 0x4c, 0x4c, 0x49, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44,
|
||||||
0x5f, 0x4d, 0x49, 0x43, 0x52, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x15, 0x12, 0x13,
|
0x10, 0x10, 0x12, 0x19, 0x0a, 0x15, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f,
|
||||||
0x0a, 0x0f, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x4e, 0x41, 0x4e, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e,
|
0x4d, 0x49, 0x43, 0x52, 0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x11, 0x12, 0x18, 0x0a,
|
||||||
0x44, 0x10, 0x16, 0x12, 0x17, 0x0a, 0x13, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x56, 0x41, 0x4c, 0x5f,
|
0x14, 0x54, 0x49, 0x4d, 0x45, 0x53, 0x54, 0x41, 0x4d, 0x50, 0x5f, 0x4e, 0x41, 0x4e, 0x4f, 0x53,
|
||||||
0x59, 0x45, 0x41, 0x52, 0x5f, 0x4d, 0x4f, 0x4e, 0x54, 0x48, 0x10, 0x17, 0x12, 0x15, 0x0a, 0x11,
|
0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x12, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x49, 0x4d, 0x45, 0x5f,
|
||||||
0x49, 0x4e, 0x54, 0x45, 0x52, 0x56, 0x41, 0x4c, 0x5f, 0x44, 0x41, 0x59, 0x5f, 0x54, 0x49, 0x4d,
|
0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x13, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x49, 0x4d, 0x45,
|
||||||
0x45, 0x10, 0x18, 0x12, 0x1b, 0x0a, 0x17, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x56, 0x41, 0x4c, 0x5f,
|
0x5f, 0x4d, 0x49, 0x4c, 0x4c, 0x49, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x14, 0x12, 0x14,
|
||||||
0x4d, 0x4f, 0x4e, 0x54, 0x48, 0x5f, 0x44, 0x41, 0x59, 0x5f, 0x4e, 0x41, 0x4e, 0x4f, 0x10, 0x19,
|
0x0a, 0x10, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x4d, 0x49, 0x43, 0x52, 0x4f, 0x53, 0x45, 0x43, 0x4f,
|
||||||
0x42, 0x4f, 0x0a, 0x0e, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e,
|
0x4e, 0x44, 0x10, 0x15, 0x12, 0x13, 0x0a, 0x0f, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x4e, 0x41, 0x4e,
|
||||||
0x76, 0x31, 0x42, 0x06, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68,
|
0x4f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x10, 0x16, 0x12, 0x17, 0x0a, 0x13, 0x49, 0x4e, 0x54,
|
||||||
0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x54,
|
0x45, 0x52, 0x56, 0x41, 0x4c, 0x5f, 0x59, 0x45, 0x41, 0x52, 0x5f, 0x4d, 0x4f, 0x4e, 0x54, 0x48,
|
||||||
0x65, 0x61, 0x6d, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2d, 0x70, 0x72, 0x6f,
|
0x10, 0x17, 0x12, 0x15, 0x0a, 0x11, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x56, 0x41, 0x4c, 0x5f, 0x44,
|
||||||
0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76,
|
0x41, 0x59, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x18, 0x12, 0x1b, 0x0a, 0x17, 0x49, 0x4e, 0x54,
|
||||||
0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
0x45, 0x52, 0x56, 0x41, 0x4c, 0x5f, 0x4d, 0x4f, 0x4e, 0x54, 0x48, 0x5f, 0x44, 0x41, 0x59, 0x5f,
|
||||||
|
0x4e, 0x41, 0x4e, 0x4f, 0x10, 0x19, 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 (
|
var (
|
||||||
@@ -859,7 +928,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_enumTypes = make([]protoimpl.EnumInfo, 2)
|
||||||
var file_greptime_v1_common_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
|
var file_greptime_v1_common_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
||||||
var file_greptime_v1_common_proto_goTypes = []interface{}{
|
var file_greptime_v1_common_proto_goTypes = []interface{}{
|
||||||
(SemanticType)(0), // 0: greptime.v1.SemanticType
|
(SemanticType)(0), // 0: greptime.v1.SemanticType
|
||||||
(ColumnDataType)(0), // 1: greptime.v1.ColumnDataType
|
(ColumnDataType)(0), // 1: greptime.v1.ColumnDataType
|
||||||
@@ -872,6 +941,7 @@ var file_greptime_v1_common_proto_goTypes = []interface{}{
|
|||||||
(*AffectedRows)(nil), // 8: greptime.v1.AffectedRows
|
(*AffectedRows)(nil), // 8: greptime.v1.AffectedRows
|
||||||
(*FlightMetadata)(nil), // 9: greptime.v1.FlightMetadata
|
(*FlightMetadata)(nil), // 9: greptime.v1.FlightMetadata
|
||||||
(*ColumnDef)(nil), // 10: greptime.v1.ColumnDef
|
(*ColumnDef)(nil), // 10: greptime.v1.ColumnDef
|
||||||
|
(*IntervalMonthDayNano)(nil), // 11: greptime.v1.IntervalMonthDayNano
|
||||||
}
|
}
|
||||||
var file_greptime_v1_common_proto_depIdxs = []int32{
|
var file_greptime_v1_common_proto_depIdxs = []int32{
|
||||||
5, // 0: greptime.v1.RequestHeader.authorization:type_name -> greptime.v1.AuthHeader
|
5, // 0: greptime.v1.RequestHeader.authorization:type_name -> greptime.v1.AuthHeader
|
||||||
@@ -1001,6 +1071,18 @@ func file_greptime_v1_common_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
file_greptime_v1_common_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*IntervalMonthDayNano); 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[0].OneofWrappers = []interface{}{}
|
file_greptime_v1_common_proto_msgTypes[0].OneofWrappers = []interface{}{}
|
||||||
file_greptime_v1_common_proto_msgTypes[3].OneofWrappers = []interface{}{
|
file_greptime_v1_common_proto_msgTypes[3].OneofWrappers = []interface{}{
|
||||||
@@ -1013,7 +1095,7 @@ func file_greptime_v1_common_proto_init() {
|
|||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
RawDescriptor: file_greptime_v1_common_proto_rawDesc,
|
RawDescriptor: file_greptime_v1_common_proto_rawDesc,
|
||||||
NumEnums: 2,
|
NumEnums: 2,
|
||||||
NumMessages: 9,
|
NumMessages: 10,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 0,
|
NumServices: 0,
|
||||||
},
|
},
|
||||||
|
|||||||
+186
-120
@@ -47,7 +47,7 @@ type GreptimeRequest struct {
|
|||||||
// *GreptimeRequest_Ddl
|
// *GreptimeRequest_Ddl
|
||||||
// *GreptimeRequest_Deletes
|
// *GreptimeRequest_Deletes
|
||||||
// *GreptimeRequest_RowInserts
|
// *GreptimeRequest_RowInserts
|
||||||
// *GreptimeRequest_RowDelete
|
// *GreptimeRequest_RowDeletes
|
||||||
Request isGreptimeRequest_Request `protobuf_oneof:"request"`
|
Request isGreptimeRequest_Request `protobuf_oneof:"request"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -132,9 +132,9 @@ func (x *GreptimeRequest) GetRowInserts() *RowInsertRequests {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GreptimeRequest) GetRowDelete() *RowDeleteRequest {
|
func (x *GreptimeRequest) GetRowDeletes() *RowDeleteRequests {
|
||||||
if x, ok := x.GetRequest().(*GreptimeRequest_RowDelete); ok {
|
if x, ok := x.GetRequest().(*GreptimeRequest_RowDeletes); ok {
|
||||||
return x.RowDelete
|
return x.RowDeletes
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
@@ -163,8 +163,8 @@ type GreptimeRequest_RowInserts struct {
|
|||||||
RowInserts *RowInsertRequests `protobuf:"bytes,6,opt,name=row_inserts,json=rowInserts,proto3,oneof"`
|
RowInserts *RowInsertRequests `protobuf:"bytes,6,opt,name=row_inserts,json=rowInserts,proto3,oneof"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type GreptimeRequest_RowDelete struct {
|
type GreptimeRequest_RowDeletes struct {
|
||||||
RowDelete *RowDeleteRequest `protobuf:"bytes,7,opt,name=row_delete,json=rowDelete,proto3,oneof"`
|
RowDeletes *RowDeleteRequests `protobuf:"bytes,7,opt,name=row_deletes,json=rowDeletes,proto3,oneof"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (*GreptimeRequest_Inserts) isGreptimeRequest_Request() {}
|
func (*GreptimeRequest_Inserts) isGreptimeRequest_Request() {}
|
||||||
@@ -177,7 +177,7 @@ func (*GreptimeRequest_Deletes) isGreptimeRequest_Request() {}
|
|||||||
|
|
||||||
func (*GreptimeRequest_RowInserts) isGreptimeRequest_Request() {}
|
func (*GreptimeRequest_RowInserts) isGreptimeRequest_Request() {}
|
||||||
|
|
||||||
func (*GreptimeRequest_RowDelete) isGreptimeRequest_Request() {}
|
func (*GreptimeRequest_RowDeletes) isGreptimeRequest_Request() {}
|
||||||
|
|
||||||
type GreptimeResponse struct {
|
type GreptimeResponse struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
@@ -707,6 +707,53 @@ func (x *RowInsertRequest) GetRegionNumber() uint32 {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type RowDeleteRequests struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
Deletes []*RowDeleteRequest `protobuf:"bytes,1,rep,name=deletes,proto3" json:"deletes,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *RowDeleteRequests) Reset() {
|
||||||
|
*x = RowDeleteRequests{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_greptime_v1_database_proto_msgTypes[9]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *RowDeleteRequests) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*RowDeleteRequests) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *RowDeleteRequests) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_greptime_v1_database_proto_msgTypes[9]
|
||||||
|
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 RowDeleteRequests.ProtoReflect.Descriptor instead.
|
||||||
|
func (*RowDeleteRequests) Descriptor() ([]byte, []int) {
|
||||||
|
return file_greptime_v1_database_proto_rawDescGZIP(), []int{9}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *RowDeleteRequests) GetDeletes() []*RowDeleteRequest {
|
||||||
|
if x != nil {
|
||||||
|
return x.Deletes
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
type RowDeleteRequest struct {
|
type RowDeleteRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
@@ -724,7 +771,7 @@ type RowDeleteRequest struct {
|
|||||||
func (x *RowDeleteRequest) Reset() {
|
func (x *RowDeleteRequest) Reset() {
|
||||||
*x = RowDeleteRequest{}
|
*x = RowDeleteRequest{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_greptime_v1_database_proto_msgTypes[9]
|
mi := &file_greptime_v1_database_proto_msgTypes[10]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -737,7 +784,7 @@ func (x *RowDeleteRequest) String() string {
|
|||||||
func (*RowDeleteRequest) ProtoMessage() {}
|
func (*RowDeleteRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *RowDeleteRequest) ProtoReflect() protoreflect.Message {
|
func (x *RowDeleteRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_greptime_v1_database_proto_msgTypes[9]
|
mi := &file_greptime_v1_database_proto_msgTypes[10]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -750,7 +797,7 @@ func (x *RowDeleteRequest) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use RowDeleteRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use RowDeleteRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*RowDeleteRequest) Descriptor() ([]byte, []int) {
|
func (*RowDeleteRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_greptime_v1_database_proto_rawDescGZIP(), []int{9}
|
return file_greptime_v1_database_proto_rawDescGZIP(), []int{10}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *RowDeleteRequest) GetTableName() string {
|
func (x *RowDeleteRequest) GetTableName() string {
|
||||||
@@ -787,7 +834,7 @@ var file_greptime_v1_database_proto_rawDesc = []byte{
|
|||||||
0x6f, 0x1a, 0x16, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x70,
|
0x6f, 0x1a, 0x16, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x70,
|
||||||
0x72, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x67, 0x72, 0x65, 0x70, 0x74,
|
0x72, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x67, 0x72, 0x65, 0x70, 0x74,
|
||||||
0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72,
|
0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72,
|
||||||
0x6f, 0x74, 0x6f, 0x22, 0xa5, 0x03, 0x0a, 0x0f, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
|
0x6f, 0x74, 0x6f, 0x22, 0xa8, 0x03, 0x0a, 0x0f, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
|
||||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65,
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65,
|
||||||
0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
|
0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
|
||||||
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61,
|
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61,
|
||||||
@@ -809,97 +856,102 @@ var file_greptime_v1_database_proto_rawDesc = []byte{
|
|||||||
0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
|
0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
|
||||||
0x2e, 0x52, 0x6f, 0x77, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
0x2e, 0x52, 0x6f, 0x77, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||||
0x74, 0x73, 0x48, 0x00, 0x52, 0x0a, 0x72, 0x6f, 0x77, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x73,
|
0x74, 0x73, 0x48, 0x00, 0x52, 0x0a, 0x72, 0x6f, 0x77, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x73,
|
||||||
0x12, 0x3e, 0x0a, 0x0a, 0x72, 0x6f, 0x77, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x07,
|
0x12, 0x41, 0x0a, 0x0b, 0x72, 0x6f, 0x77, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x73, 0x18,
|
||||||
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e,
|
0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
|
||||||
0x76, 0x31, 0x2e, 0x52, 0x6f, 0x77, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75,
|
0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x77, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71,
|
||||||
0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x09, 0x72, 0x6f, 0x77, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
|
0x75, 0x65, 0x73, 0x74, 0x73, 0x48, 0x00, 0x52, 0x0a, 0x72, 0x6f, 0x77, 0x44, 0x65, 0x6c, 0x65,
|
||||||
0x42, 0x09, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x95, 0x01, 0x0a, 0x10,
|
0x74, 0x65, 0x73, 0x42, 0x09, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x95,
|
||||||
0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
0x01, 0x0a, 0x10, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||||
0x12, 0x33, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20,
|
||||||
0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52,
|
0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76,
|
||||||
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68,
|
0x31, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72,
|
||||||
0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x40, 0x0a, 0x0d, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65,
|
0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x40, 0x0a, 0x0d, 0x61, 0x66, 0x66, 0x65,
|
||||||
0x64, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67,
|
0x63, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||||||
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x66, 0x66, 0x65, 0x63,
|
0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x66,
|
||||||
0x74, 0x65, 0x64, 0x52, 0x6f, 0x77, 0x73, 0x48, 0x00, 0x52, 0x0c, 0x61, 0x66, 0x66, 0x65, 0x63,
|
0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x6f, 0x77, 0x73, 0x48, 0x00, 0x52, 0x0c, 0x61, 0x66,
|
||||||
0x74, 0x65, 0x64, 0x52, 0x6f, 0x77, 0x73, 0x42, 0x0a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f,
|
0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x6f, 0x77, 0x73, 0x42, 0x0a, 0x0a, 0x08, 0x72, 0x65,
|
||||||
0x6e, 0x73, 0x65, 0x22, 0x99, 0x01, 0x0a, 0x0c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71,
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x99, 0x01, 0x0a, 0x0c, 0x51, 0x75, 0x65, 0x72, 0x79,
|
||||||
0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x03, 0x73, 0x71, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28,
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x03, 0x73, 0x71, 0x6c, 0x18, 0x01,
|
||||||
0x09, 0x48, 0x00, 0x52, 0x03, 0x73, 0x71, 0x6c, 0x12, 0x23, 0x0a, 0x0c, 0x6c, 0x6f, 0x67, 0x69,
|
0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x03, 0x73, 0x71, 0x6c, 0x12, 0x23, 0x0a, 0x0c, 0x6c,
|
||||||
0x63, 0x61, 0x6c, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00,
|
0x6f, 0x67, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||||
0x52, 0x0b, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x61, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x12, 0x47, 0x0a,
|
0x0c, 0x48, 0x00, 0x52, 0x0b, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x61, 0x6c, 0x50, 0x6c, 0x61, 0x6e,
|
||||||
0x10, 0x70, 0x72, 0x6f, 0x6d, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72,
|
0x12, 0x47, 0x0a, 0x10, 0x70, 0x72, 0x6f, 0x6d, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x71,
|
||||||
0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
|
0x75, 0x65, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x72, 0x65,
|
||||||
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6d, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x51,
|
0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6d, 0x52, 0x61, 0x6e,
|
||||||
0x75, 0x65, 0x72, 0x79, 0x48, 0x00, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x6d, 0x52, 0x61, 0x6e, 0x67,
|
0x67, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x48, 0x00, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x6d, 0x52,
|
||||||
0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x07, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x22,
|
0x61, 0x6e, 0x67, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x07, 0x0a, 0x05, 0x71, 0x75, 0x65,
|
||||||
0x46, 0x0a, 0x0e, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
0x72, 0x79, 0x22, 0x46, 0x0a, 0x0e, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75,
|
||||||
0x73, 0x12, 0x34, 0x0a, 0x07, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03,
|
0x65, 0x73, 0x74, 0x73, 0x12, 0x34, 0x0a, 0x07, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x73, 0x18,
|
||||||
0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
|
0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
|
||||||
0x2e, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07,
|
0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||||
0x69, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x73, 0x22, 0x9f, 0x01, 0x0a, 0x0d, 0x49, 0x6e, 0x73, 0x65,
|
0x74, 0x52, 0x07, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x73, 0x22, 0x9f, 0x01, 0x0a, 0x0d, 0x49,
|
||||||
0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62,
|
0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a,
|
||||||
0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74,
|
0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
||||||
0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75,
|
0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x07, 0x63,
|
||||||
0x6d, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x72, 0x65, 0x70,
|
|
||||||
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x07,
|
|
||||||
0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x77, 0x5f, 0x63,
|
|
||||||
0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x72, 0x6f, 0x77, 0x43,
|
|
||||||
0x6f, 0x75, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x6e,
|
|
||||||
0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x72, 0x65, 0x67,
|
|
||||||
0x69, 0x6f, 0x6e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x46, 0x0a, 0x0e, 0x44, 0x65, 0x6c,
|
|
||||||
0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x34, 0x0a, 0x07, 0x64,
|
|
||||||
0x65, 0x6c, 0x65, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
|
|
||||||
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74,
|
|
||||||
0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65,
|
|
||||||
0x73, 0x22, 0xa6, 0x01, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75,
|
|
||||||
0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d,
|
|
||||||
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61,
|
|
||||||
0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x75, 0x6d,
|
|
||||||
0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x72, 0x65, 0x67, 0x69, 0x6f,
|
|
||||||
0x6e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x34, 0x0a, 0x0b, 0x6b, 0x65, 0x79, 0x5f, 0x63,
|
|
||||||
0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67,
|
0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67,
|
||||||
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d,
|
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d,
|
||||||
0x6e, 0x52, 0x0a, 0x6b, 0x65, 0x79, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x1b, 0x0a,
|
0x6e, 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f,
|
||||||
0x09, 0x72, 0x6f, 0x77, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d,
|
0x77, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x72,
|
||||||
0x52, 0x08, 0x72, 0x6f, 0x77, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x4c, 0x0a, 0x11, 0x52, 0x6f,
|
0x6f, 0x77, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x67, 0x69, 0x6f,
|
||||||
0x77, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12,
|
0x6e, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c,
|
||||||
0x37, 0x0a, 0x07, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
|
0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x46, 0x0a, 0x0e,
|
||||||
|
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x34,
|
||||||
|
0x0a, 0x07, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
||||||
|
0x1a, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65,
|
||||||
|
0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x64, 0x65, 0x6c,
|
||||||
|
0x65, 0x74, 0x65, 0x73, 0x22, 0xa6, 0x01, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52,
|
||||||
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f,
|
||||||
|
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c,
|
||||||
|
0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f,
|
||||||
|
0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x72, 0x65,
|
||||||
|
0x67, 0x69, 0x6f, 0x6e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x34, 0x0a, 0x0b, 0x6b, 0x65,
|
||||||
|
0x79, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
||||||
|
0x13, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f,
|
||||||
|
0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x0a, 0x6b, 0x65, 0x79, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73,
|
||||||
|
0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x77, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20,
|
||||||
|
0x01, 0x28, 0x0d, 0x52, 0x08, 0x72, 0x6f, 0x77, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x4c, 0x0a,
|
||||||
|
0x11, 0x52, 0x6f, 0x77, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||||
|
0x74, 0x73, 0x12, 0x37, 0x0a, 0x07, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x73, 0x18, 0x01, 0x20,
|
||||||
|
0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76,
|
||||||
|
0x31, 0x2e, 0x52, 0x6f, 0x77, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
|
||||||
|
0x73, 0x74, 0x52, 0x07, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x73, 0x22, 0x7d, 0x0a, 0x10, 0x52,
|
||||||
|
0x6f, 0x77, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
||||||
|
0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
|
||||||
|
0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x25,
|
||||||
|
0x0a, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67,
|
||||||
|
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x77, 0x73, 0x52,
|
||||||
|
0x04, 0x72, 0x6f, 0x77, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f,
|
||||||
|
0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x72, 0x65,
|
||||||
|
0x67, 0x69, 0x6f, 0x6e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x4c, 0x0a, 0x11, 0x52, 0x6f,
|
||||||
|
0x77, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x12,
|
||||||
|
0x37, 0x0a, 0x07, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
|
||||||
0x32, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52,
|
0x32, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52,
|
||||||
0x6f, 0x77, 0x49, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52,
|
0x6f, 0x77, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52,
|
||||||
0x07, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x73, 0x22, 0x7d, 0x0a, 0x10, 0x52, 0x6f, 0x77, 0x49,
|
0x07, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x73, 0x22, 0x7d, 0x0a, 0x10, 0x52, 0x6f, 0x77, 0x44,
|
||||||
0x6e, 0x73, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a,
|
0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a,
|
||||||
0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
||||||
0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x04, 0x72,
|
0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x04, 0x72,
|
||||||
0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x72, 0x65, 0x70,
|
0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x72, 0x65, 0x70,
|
||||||
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x77, 0x73, 0x52, 0x04, 0x72, 0x6f,
|
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x77, 0x73, 0x52, 0x04, 0x72, 0x6f,
|
||||||
0x77, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x75, 0x6d,
|
0x77, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x75, 0x6d,
|
||||||
0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x72, 0x65, 0x67, 0x69, 0x6f,
|
0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x72, 0x65, 0x67, 0x69, 0x6f,
|
||||||
0x6e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x7d, 0x0a, 0x10, 0x52, 0x6f, 0x77, 0x44, 0x65,
|
0x6e, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x32, 0xaa, 0x01, 0x0a, 0x10, 0x47, 0x72, 0x65, 0x70,
|
||||||
0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x74,
|
0x74, 0x69, 0x6d, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x06,
|
||||||
0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x1c, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
||||||
0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x04, 0x72, 0x6f,
|
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x71,
|
||||||
0x77, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74,
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e,
|
||||||
0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x77, 0x73, 0x52, 0x04, 0x72, 0x6f, 0x77,
|
0x76, 0x31, 0x2e, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
||||||
0x73, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x6e, 0x75, 0x6d, 0x62,
|
0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x0e, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x71,
|
||||||
0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e,
|
0x75, 0x65, 0x73, 0x74, 0x73, 0x12, 0x1c, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
|
||||||
0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x32, 0xaa, 0x01, 0x0a, 0x10, 0x47, 0x72, 0x65, 0x70, 0x74,
|
|
||||||
0x69, 0x6d, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x06, 0x48,
|
|
||||||
0x61, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x1c, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
|
|
||||||
0x2e, 0x76, 0x31, 0x2e, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75,
|
0x2e, 0x76, 0x31, 0x2e, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75,
|
||||||
0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76,
|
0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76,
|
||||||
0x31, 0x2e, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
0x31, 0x2e, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||||
0x73, 0x65, 0x12, 0x4f, 0x0a, 0x0e, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75,
|
0x73, 0x65, 0x28, 0x01, 0x42, 0x51, 0x0a, 0x0e, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74,
|
||||||
0x65, 0x73, 0x74, 0x73, 0x12, 0x1c, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e,
|
0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x08, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
|
||||||
0x76, 0x31, 0x2e, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
|
0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x72, 0x65,
|
||||||
0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
|
0x70, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
|
||||||
0x2e, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
0x6d, 0x65, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x72, 0x65, 0x70,
|
||||||
0x65, 0x28, 0x01, 0x42, 0x51, 0x0a, 0x0e, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
|
0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x08, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 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 (
|
var (
|
||||||
@@ -914,7 +966,7 @@ func file_greptime_v1_database_proto_rawDescGZIP() []byte {
|
|||||||
return file_greptime_v1_database_proto_rawDescData
|
return file_greptime_v1_database_proto_rawDescData
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_greptime_v1_database_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
var file_greptime_v1_database_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
|
||||||
var file_greptime_v1_database_proto_goTypes = []interface{}{
|
var file_greptime_v1_database_proto_goTypes = []interface{}{
|
||||||
(*GreptimeRequest)(nil), // 0: greptime.v1.GreptimeRequest
|
(*GreptimeRequest)(nil), // 0: greptime.v1.GreptimeRequest
|
||||||
(*GreptimeResponse)(nil), // 1: greptime.v1.GreptimeResponse
|
(*GreptimeResponse)(nil), // 1: greptime.v1.GreptimeResponse
|
||||||
@@ -925,42 +977,44 @@ var file_greptime_v1_database_proto_goTypes = []interface{}{
|
|||||||
(*DeleteRequest)(nil), // 6: greptime.v1.DeleteRequest
|
(*DeleteRequest)(nil), // 6: greptime.v1.DeleteRequest
|
||||||
(*RowInsertRequests)(nil), // 7: greptime.v1.RowInsertRequests
|
(*RowInsertRequests)(nil), // 7: greptime.v1.RowInsertRequests
|
||||||
(*RowInsertRequest)(nil), // 8: greptime.v1.RowInsertRequest
|
(*RowInsertRequest)(nil), // 8: greptime.v1.RowInsertRequest
|
||||||
(*RowDeleteRequest)(nil), // 9: greptime.v1.RowDeleteRequest
|
(*RowDeleteRequests)(nil), // 9: greptime.v1.RowDeleteRequests
|
||||||
(*RequestHeader)(nil), // 10: greptime.v1.RequestHeader
|
(*RowDeleteRequest)(nil), // 10: greptime.v1.RowDeleteRequest
|
||||||
(*DdlRequest)(nil), // 11: greptime.v1.DdlRequest
|
(*RequestHeader)(nil), // 11: greptime.v1.RequestHeader
|
||||||
(*ResponseHeader)(nil), // 12: greptime.v1.ResponseHeader
|
(*DdlRequest)(nil), // 12: greptime.v1.DdlRequest
|
||||||
(*AffectedRows)(nil), // 13: greptime.v1.AffectedRows
|
(*ResponseHeader)(nil), // 13: greptime.v1.ResponseHeader
|
||||||
(*PromRangeQuery)(nil), // 14: greptime.v1.PromRangeQuery
|
(*AffectedRows)(nil), // 14: greptime.v1.AffectedRows
|
||||||
(*Column)(nil), // 15: greptime.v1.Column
|
(*PromRangeQuery)(nil), // 15: greptime.v1.PromRangeQuery
|
||||||
(*Rows)(nil), // 16: greptime.v1.Rows
|
(*Column)(nil), // 16: greptime.v1.Column
|
||||||
|
(*Rows)(nil), // 17: greptime.v1.Rows
|
||||||
}
|
}
|
||||||
var file_greptime_v1_database_proto_depIdxs = []int32{
|
var file_greptime_v1_database_proto_depIdxs = []int32{
|
||||||
10, // 0: greptime.v1.GreptimeRequest.header:type_name -> greptime.v1.RequestHeader
|
11, // 0: greptime.v1.GreptimeRequest.header:type_name -> greptime.v1.RequestHeader
|
||||||
3, // 1: greptime.v1.GreptimeRequest.inserts:type_name -> greptime.v1.InsertRequests
|
3, // 1: greptime.v1.GreptimeRequest.inserts:type_name -> greptime.v1.InsertRequests
|
||||||
2, // 2: greptime.v1.GreptimeRequest.query:type_name -> greptime.v1.QueryRequest
|
2, // 2: greptime.v1.GreptimeRequest.query:type_name -> greptime.v1.QueryRequest
|
||||||
11, // 3: greptime.v1.GreptimeRequest.ddl:type_name -> greptime.v1.DdlRequest
|
12, // 3: greptime.v1.GreptimeRequest.ddl:type_name -> greptime.v1.DdlRequest
|
||||||
5, // 4: greptime.v1.GreptimeRequest.deletes:type_name -> greptime.v1.DeleteRequests
|
5, // 4: greptime.v1.GreptimeRequest.deletes:type_name -> greptime.v1.DeleteRequests
|
||||||
7, // 5: greptime.v1.GreptimeRequest.row_inserts:type_name -> greptime.v1.RowInsertRequests
|
7, // 5: greptime.v1.GreptimeRequest.row_inserts:type_name -> greptime.v1.RowInsertRequests
|
||||||
9, // 6: greptime.v1.GreptimeRequest.row_delete:type_name -> greptime.v1.RowDeleteRequest
|
9, // 6: greptime.v1.GreptimeRequest.row_deletes:type_name -> greptime.v1.RowDeleteRequests
|
||||||
12, // 7: greptime.v1.GreptimeResponse.header:type_name -> greptime.v1.ResponseHeader
|
13, // 7: greptime.v1.GreptimeResponse.header:type_name -> greptime.v1.ResponseHeader
|
||||||
13, // 8: greptime.v1.GreptimeResponse.affected_rows:type_name -> greptime.v1.AffectedRows
|
14, // 8: greptime.v1.GreptimeResponse.affected_rows:type_name -> greptime.v1.AffectedRows
|
||||||
14, // 9: greptime.v1.QueryRequest.prom_range_query:type_name -> greptime.v1.PromRangeQuery
|
15, // 9: greptime.v1.QueryRequest.prom_range_query:type_name -> greptime.v1.PromRangeQuery
|
||||||
4, // 10: greptime.v1.InsertRequests.inserts:type_name -> greptime.v1.InsertRequest
|
4, // 10: greptime.v1.InsertRequests.inserts:type_name -> greptime.v1.InsertRequest
|
||||||
15, // 11: greptime.v1.InsertRequest.columns:type_name -> greptime.v1.Column
|
16, // 11: greptime.v1.InsertRequest.columns:type_name -> greptime.v1.Column
|
||||||
6, // 12: greptime.v1.DeleteRequests.deletes:type_name -> greptime.v1.DeleteRequest
|
6, // 12: greptime.v1.DeleteRequests.deletes:type_name -> greptime.v1.DeleteRequest
|
||||||
15, // 13: greptime.v1.DeleteRequest.key_columns:type_name -> greptime.v1.Column
|
16, // 13: greptime.v1.DeleteRequest.key_columns:type_name -> greptime.v1.Column
|
||||||
8, // 14: greptime.v1.RowInsertRequests.inserts:type_name -> greptime.v1.RowInsertRequest
|
8, // 14: greptime.v1.RowInsertRequests.inserts:type_name -> greptime.v1.RowInsertRequest
|
||||||
16, // 15: greptime.v1.RowInsertRequest.rows:type_name -> greptime.v1.Rows
|
17, // 15: greptime.v1.RowInsertRequest.rows:type_name -> greptime.v1.Rows
|
||||||
16, // 16: greptime.v1.RowDeleteRequest.rows:type_name -> greptime.v1.Rows
|
10, // 16: greptime.v1.RowDeleteRequests.deletes:type_name -> greptime.v1.RowDeleteRequest
|
||||||
0, // 17: greptime.v1.GreptimeDatabase.Handle:input_type -> greptime.v1.GreptimeRequest
|
17, // 17: greptime.v1.RowDeleteRequest.rows:type_name -> greptime.v1.Rows
|
||||||
0, // 18: greptime.v1.GreptimeDatabase.HandleRequests:input_type -> greptime.v1.GreptimeRequest
|
0, // 18: greptime.v1.GreptimeDatabase.Handle:input_type -> greptime.v1.GreptimeRequest
|
||||||
1, // 19: greptime.v1.GreptimeDatabase.Handle:output_type -> greptime.v1.GreptimeResponse
|
0, // 19: greptime.v1.GreptimeDatabase.HandleRequests:input_type -> greptime.v1.GreptimeRequest
|
||||||
1, // 20: greptime.v1.GreptimeDatabase.HandleRequests:output_type -> greptime.v1.GreptimeResponse
|
1, // 20: greptime.v1.GreptimeDatabase.Handle:output_type -> greptime.v1.GreptimeResponse
|
||||||
19, // [19:21] is the sub-list for method output_type
|
1, // 21: greptime.v1.GreptimeDatabase.HandleRequests:output_type -> greptime.v1.GreptimeResponse
|
||||||
17, // [17:19] is the sub-list for method input_type
|
20, // [20:22] is the sub-list for method output_type
|
||||||
17, // [17:17] is the sub-list for extension type_name
|
18, // [18:20] is the sub-list for method input_type
|
||||||
17, // [17:17] is the sub-list for extension extendee
|
18, // [18:18] is the sub-list for extension type_name
|
||||||
0, // [0:17] is the sub-list for field type_name
|
18, // [18:18] is the sub-list for extension extendee
|
||||||
|
0, // [0:18] is the sub-list for field type_name
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() { file_greptime_v1_database_proto_init() }
|
func init() { file_greptime_v1_database_proto_init() }
|
||||||
@@ -1083,6 +1137,18 @@ func file_greptime_v1_database_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_greptime_v1_database_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
file_greptime_v1_database_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*RowDeleteRequests); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_greptime_v1_database_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*RowDeleteRequest); i {
|
switch v := v.(*RowDeleteRequest); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -1101,7 +1167,7 @@ func file_greptime_v1_database_proto_init() {
|
|||||||
(*GreptimeRequest_Ddl)(nil),
|
(*GreptimeRequest_Ddl)(nil),
|
||||||
(*GreptimeRequest_Deletes)(nil),
|
(*GreptimeRequest_Deletes)(nil),
|
||||||
(*GreptimeRequest_RowInserts)(nil),
|
(*GreptimeRequest_RowInserts)(nil),
|
||||||
(*GreptimeRequest_RowDelete)(nil),
|
(*GreptimeRequest_RowDeletes)(nil),
|
||||||
}
|
}
|
||||||
file_greptime_v1_database_proto_msgTypes[1].OneofWrappers = []interface{}{
|
file_greptime_v1_database_proto_msgTypes[1].OneofWrappers = []interface{}{
|
||||||
(*GreptimeResponse_AffectedRows)(nil),
|
(*GreptimeResponse_AffectedRows)(nil),
|
||||||
@@ -1117,7 +1183,7 @@ func file_greptime_v1_database_proto_init() {
|
|||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
RawDescriptor: file_greptime_v1_database_proto_rawDesc,
|
RawDescriptor: file_greptime_v1_database_proto_rawDesc,
|
||||||
NumEnums: 0,
|
NumEnums: 0,
|
||||||
NumMessages: 10,
|
NumMessages: 11,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 1,
|
NumServices: 1,
|
||||||
},
|
},
|
||||||
|
|||||||
+75
-13
@@ -229,6 +229,9 @@ type Value struct {
|
|||||||
// *Value_TimeMillisecondValue
|
// *Value_TimeMillisecondValue
|
||||||
// *Value_TimeMicrosecondValue
|
// *Value_TimeMicrosecondValue
|
||||||
// *Value_TimeNanosecondValue
|
// *Value_TimeNanosecondValue
|
||||||
|
// *Value_IntervalYearMonthValues
|
||||||
|
// *Value_IntervalDayTimeValues
|
||||||
|
// *Value_IntervalMonthDayNanoValues
|
||||||
ValueData isValue_ValueData `protobuf_oneof:"value_data"`
|
ValueData isValue_ValueData `protobuf_oneof:"value_data"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -432,6 +435,27 @@ func (x *Value) GetTimeNanosecondValue() int64 {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (x *Value) GetIntervalYearMonthValues() int32 {
|
||||||
|
if x, ok := x.GetValueData().(*Value_IntervalYearMonthValues); ok {
|
||||||
|
return x.IntervalYearMonthValues
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *Value) GetIntervalDayTimeValues() int64 {
|
||||||
|
if x, ok := x.GetValueData().(*Value_IntervalDayTimeValues); ok {
|
||||||
|
return x.IntervalDayTimeValues
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *Value) GetIntervalMonthDayNanoValues() *IntervalMonthDayNano {
|
||||||
|
if x, ok := x.GetValueData().(*Value_IntervalMonthDayNanoValues); ok {
|
||||||
|
return x.IntervalMonthDayNanoValues
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
type isValue_ValueData interface {
|
type isValue_ValueData interface {
|
||||||
isValue_ValueData()
|
isValue_ValueData()
|
||||||
}
|
}
|
||||||
@@ -528,6 +552,18 @@ type Value_TimeNanosecondValue struct {
|
|||||||
TimeNanosecondValue int64 `protobuf:"varint,23,opt,name=time_nanosecond_value,json=timeNanosecondValue,proto3,oneof"`
|
TimeNanosecondValue int64 `protobuf:"varint,23,opt,name=time_nanosecond_value,json=timeNanosecondValue,proto3,oneof"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type Value_IntervalYearMonthValues struct {
|
||||||
|
IntervalYearMonthValues int32 `protobuf:"varint,24,opt,name=interval_year_month_values,json=intervalYearMonthValues,proto3,oneof"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type Value_IntervalDayTimeValues struct {
|
||||||
|
IntervalDayTimeValues int64 `protobuf:"varint,25,opt,name=interval_day_time_values,json=intervalDayTimeValues,proto3,oneof"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type Value_IntervalMonthDayNanoValues struct {
|
||||||
|
IntervalMonthDayNanoValues *IntervalMonthDayNano `protobuf:"bytes,26,opt,name=interval_month_day_nano_values,json=intervalMonthDayNanoValues,proto3,oneof"`
|
||||||
|
}
|
||||||
|
|
||||||
func (*Value_I8Value) isValue_ValueData() {}
|
func (*Value_I8Value) isValue_ValueData() {}
|
||||||
|
|
||||||
func (*Value_I16Value) isValue_ValueData() {}
|
func (*Value_I16Value) isValue_ValueData() {}
|
||||||
@@ -574,6 +610,12 @@ func (*Value_TimeMicrosecondValue) isValue_ValueData() {}
|
|||||||
|
|
||||||
func (*Value_TimeNanosecondValue) isValue_ValueData() {}
|
func (*Value_TimeNanosecondValue) isValue_ValueData() {}
|
||||||
|
|
||||||
|
func (*Value_IntervalYearMonthValues) isValue_ValueData() {}
|
||||||
|
|
||||||
|
func (*Value_IntervalDayTimeValues) isValue_ValueData() {}
|
||||||
|
|
||||||
|
func (*Value_IntervalMonthDayNanoValues) isValue_ValueData() {}
|
||||||
|
|
||||||
var File_greptime_v1_row_proto protoreflect.FileDescriptor
|
var File_greptime_v1_row_proto protoreflect.FileDescriptor
|
||||||
|
|
||||||
var file_greptime_v1_row_proto_rawDesc = []byte{
|
var file_greptime_v1_row_proto_rawDesc = []byte{
|
||||||
@@ -600,7 +642,7 @@ var file_greptime_v1_row_proto_rawDesc = []byte{
|
|||||||
0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x22, 0x31, 0x0a, 0x03, 0x52, 0x6f,
|
0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x22, 0x31, 0x0a, 0x03, 0x52, 0x6f,
|
||||||
0x77, 0x12, 0x2a, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
|
0x77, 0x12, 0x2a, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
|
||||||
0x0b, 0x32, 0x12, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
0x0b, 0x32, 0x12, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e,
|
||||||
0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0x94, 0x07,
|
0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0xf7, 0x08,
|
||||||
0x0a, 0x05, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1b, 0x0a, 0x08, 0x69, 0x38, 0x5f, 0x76, 0x61,
|
0x0a, 0x05, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1b, 0x0a, 0x08, 0x69, 0x38, 0x5f, 0x76, 0x61,
|
||||||
0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x07, 0x69, 0x38, 0x56,
|
0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x07, 0x69, 0x38, 0x56,
|
||||||
0x61, 0x6c, 0x75, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x69, 0x31, 0x36, 0x5f, 0x76, 0x61, 0x6c, 0x75,
|
0x61, 0x6c, 0x75, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x69, 0x31, 0x36, 0x5f, 0x76, 0x61, 0x6c, 0x75,
|
||||||
@@ -657,13 +699,28 @@ var file_greptime_v1_row_proto_rawDesc = []byte{
|
|||||||
0x12, 0x34, 0x0a, 0x15, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6e, 0x61, 0x6e, 0x6f, 0x73, 0x65, 0x63,
|
0x12, 0x34, 0x0a, 0x15, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6e, 0x61, 0x6e, 0x6f, 0x73, 0x65, 0x63,
|
||||||
0x6f, 0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x17, 0x20, 0x01, 0x28, 0x03, 0x48,
|
0x6f, 0x6e, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x17, 0x20, 0x01, 0x28, 0x03, 0x48,
|
||||||
0x00, 0x52, 0x13, 0x74, 0x69, 0x6d, 0x65, 0x4e, 0x61, 0x6e, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e,
|
0x00, 0x52, 0x13, 0x74, 0x69, 0x6d, 0x65, 0x4e, 0x61, 0x6e, 0x6f, 0x73, 0x65, 0x63, 0x6f, 0x6e,
|
||||||
0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0c, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f,
|
0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3d, 0x0a, 0x1a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76,
|
||||||
0x64, 0x61, 0x74, 0x61, 0x42, 0x50, 0x0a, 0x0e, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74,
|
0x61, 0x6c, 0x5f, 0x79, 0x65, 0x61, 0x72, 0x5f, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x5f, 0x76, 0x61,
|
||||||
0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x07, 0x52, 0x6f, 0x77, 0x44, 0x61, 0x74, 0x61, 0x5a,
|
0x6c, 0x75, 0x65, 0x73, 0x18, 0x18, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x17, 0x69, 0x6e,
|
||||||
0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x72, 0x65, 0x70,
|
0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x59, 0x65, 0x61, 0x72, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x56,
|
||||||
0x74, 0x69, 0x6d, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x39, 0x0a, 0x18, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61,
|
||||||
0x65, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74,
|
0x6c, 0x5f, 0x64, 0x61, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
||||||
0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
0x73, 0x18, 0x19, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x15, 0x69, 0x6e, 0x74, 0x65, 0x72,
|
||||||
|
0x76, 0x61, 0x6c, 0x44, 0x61, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73,
|
||||||
|
0x12, 0x67, 0x0a, 0x1e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x6d, 0x6f, 0x6e,
|
||||||
|
0x74, 0x68, 0x5f, 0x64, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6e, 0x6f, 0x5f, 0x76, 0x61, 0x6c, 0x75,
|
||||||
|
0x65, 0x73, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74,
|
||||||
|
0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x4d,
|
||||||
|
0x6f, 0x6e, 0x74, 0x68, 0x44, 0x61, 0x79, 0x4e, 0x61, 0x6e, 0x6f, 0x48, 0x00, 0x52, 0x1a, 0x69,
|
||||||
|
0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x44, 0x61, 0x79, 0x4e,
|
||||||
|
0x61, 0x6e, 0x6f, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x42, 0x0c, 0x0a, 0x0a, 0x76, 0x61, 0x6c,
|
||||||
|
0x75, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x42, 0x50, 0x0a, 0x0e, 0x69, 0x6f, 0x2e, 0x67, 0x72,
|
||||||
|
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x07, 0x52, 0x6f, 0x77, 0x44, 0x61,
|
||||||
|
0x74, 0x61, 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 (
|
var (
|
||||||
@@ -686,6 +743,7 @@ var file_greptime_v1_row_proto_goTypes = []interface{}{
|
|||||||
(*Value)(nil), // 3: greptime.v1.Value
|
(*Value)(nil), // 3: greptime.v1.Value
|
||||||
(ColumnDataType)(0), // 4: greptime.v1.ColumnDataType
|
(ColumnDataType)(0), // 4: greptime.v1.ColumnDataType
|
||||||
(SemanticType)(0), // 5: greptime.v1.SemanticType
|
(SemanticType)(0), // 5: greptime.v1.SemanticType
|
||||||
|
(*IntervalMonthDayNano)(nil), // 6: greptime.v1.IntervalMonthDayNano
|
||||||
}
|
}
|
||||||
var file_greptime_v1_row_proto_depIdxs = []int32{
|
var file_greptime_v1_row_proto_depIdxs = []int32{
|
||||||
1, // 0: greptime.v1.Rows.schema:type_name -> greptime.v1.ColumnSchema
|
1, // 0: greptime.v1.Rows.schema:type_name -> greptime.v1.ColumnSchema
|
||||||
@@ -693,11 +751,12 @@ var file_greptime_v1_row_proto_depIdxs = []int32{
|
|||||||
4, // 2: greptime.v1.ColumnSchema.datatype:type_name -> greptime.v1.ColumnDataType
|
4, // 2: greptime.v1.ColumnSchema.datatype:type_name -> greptime.v1.ColumnDataType
|
||||||
5, // 3: greptime.v1.ColumnSchema.semantic_type:type_name -> greptime.v1.SemanticType
|
5, // 3: greptime.v1.ColumnSchema.semantic_type:type_name -> greptime.v1.SemanticType
|
||||||
3, // 4: greptime.v1.Row.values:type_name -> greptime.v1.Value
|
3, // 4: greptime.v1.Row.values:type_name -> greptime.v1.Value
|
||||||
5, // [5:5] is the sub-list for method output_type
|
6, // 5: greptime.v1.Value.interval_month_day_nano_values:type_name -> greptime.v1.IntervalMonthDayNano
|
||||||
5, // [5:5] is the sub-list for method input_type
|
6, // [6:6] is the sub-list for method output_type
|
||||||
5, // [5:5] is the sub-list for extension type_name
|
6, // [6:6] is the sub-list for method input_type
|
||||||
5, // [5:5] is the sub-list for extension extendee
|
6, // [6:6] is the sub-list for extension type_name
|
||||||
0, // [0:5] is the sub-list for field type_name
|
6, // [6:6] is the sub-list for extension extendee
|
||||||
|
0, // [0:6] is the sub-list for field type_name
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() { file_greptime_v1_row_proto_init() }
|
func init() { file_greptime_v1_row_proto_init() }
|
||||||
@@ -780,6 +839,9 @@ func file_greptime_v1_row_proto_init() {
|
|||||||
(*Value_TimeMillisecondValue)(nil),
|
(*Value_TimeMillisecondValue)(nil),
|
||||||
(*Value_TimeMicrosecondValue)(nil),
|
(*Value_TimeMicrosecondValue)(nil),
|
||||||
(*Value_TimeNanosecondValue)(nil),
|
(*Value_TimeNanosecondValue)(nil),
|
||||||
|
(*Value_IntervalYearMonthValues)(nil),
|
||||||
|
(*Value_IntervalDayTimeValues)(nil),
|
||||||
|
(*Value_IntervalMonthDayNanoValues)(nil),
|
||||||
}
|
}
|
||||||
type x struct{}
|
type x struct{}
|
||||||
out := protoimpl.TypeBuilder{
|
out := protoimpl.TypeBuilder{
|
||||||
|
|||||||
@@ -679,12 +679,12 @@ public final class Columns {
|
|||||||
/**
|
/**
|
||||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||||
*/
|
*/
|
||||||
java.util.List<io.greptime.v1.Columns.IntervalMonthDayNano>
|
java.util.List<io.greptime.v1.Common.IntervalMonthDayNano>
|
||||||
getIntervalMonthDayNanoValuesList();
|
getIntervalMonthDayNanoValuesList();
|
||||||
/**
|
/**
|
||||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||||
*/
|
*/
|
||||||
io.greptime.v1.Columns.IntervalMonthDayNano getIntervalMonthDayNanoValues(int index);
|
io.greptime.v1.Common.IntervalMonthDayNano getIntervalMonthDayNanoValues(int index);
|
||||||
/**
|
/**
|
||||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||||
*/
|
*/
|
||||||
@@ -692,12 +692,12 @@ public final class Columns {
|
|||||||
/**
|
/**
|
||||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||||
*/
|
*/
|
||||||
java.util.List<? extends io.greptime.v1.Columns.IntervalMonthDayNanoOrBuilder>
|
java.util.List<? extends io.greptime.v1.Common.IntervalMonthDayNanoOrBuilder>
|
||||||
getIntervalMonthDayNanoValuesOrBuilderList();
|
getIntervalMonthDayNanoValuesOrBuilderList();
|
||||||
/**
|
/**
|
||||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||||
*/
|
*/
|
||||||
io.greptime.v1.Columns.IntervalMonthDayNanoOrBuilder getIntervalMonthDayNanoValuesOrBuilder(
|
io.greptime.v1.Common.IntervalMonthDayNanoOrBuilder getIntervalMonthDayNanoValuesOrBuilder(
|
||||||
int index);
|
int index);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
@@ -1274,11 +1274,11 @@ public final class Columns {
|
|||||||
}
|
}
|
||||||
case 210: {
|
case 210: {
|
||||||
if (!((mutable_bitField0_ & 0x02000000) != 0)) {
|
if (!((mutable_bitField0_ & 0x02000000) != 0)) {
|
||||||
intervalMonthDayNanoValues_ = new java.util.ArrayList<io.greptime.v1.Columns.IntervalMonthDayNano>();
|
intervalMonthDayNanoValues_ = new java.util.ArrayList<io.greptime.v1.Common.IntervalMonthDayNano>();
|
||||||
mutable_bitField0_ |= 0x02000000;
|
mutable_bitField0_ |= 0x02000000;
|
||||||
}
|
}
|
||||||
intervalMonthDayNanoValues_.add(
|
intervalMonthDayNanoValues_.add(
|
||||||
input.readMessage(io.greptime.v1.Columns.IntervalMonthDayNano.parser(), extensionRegistry));
|
input.readMessage(io.greptime.v1.Common.IntervalMonthDayNano.parser(), extensionRegistry));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
@@ -2100,19 +2100,19 @@ public final class Columns {
|
|||||||
private int intervalDayTimeValuesMemoizedSerializedSize = -1;
|
private int intervalDayTimeValuesMemoizedSerializedSize = -1;
|
||||||
|
|
||||||
public static final int INTERVAL_MONTH_DAY_NANO_VALUES_FIELD_NUMBER = 26;
|
public static final int INTERVAL_MONTH_DAY_NANO_VALUES_FIELD_NUMBER = 26;
|
||||||
private java.util.List<io.greptime.v1.Columns.IntervalMonthDayNano> intervalMonthDayNanoValues_;
|
private java.util.List<io.greptime.v1.Common.IntervalMonthDayNano> intervalMonthDayNanoValues_;
|
||||||
/**
|
/**
|
||||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||||
*/
|
*/
|
||||||
@java.lang.Override
|
@java.lang.Override
|
||||||
public java.util.List<io.greptime.v1.Columns.IntervalMonthDayNano> getIntervalMonthDayNanoValuesList() {
|
public java.util.List<io.greptime.v1.Common.IntervalMonthDayNano> getIntervalMonthDayNanoValuesList() {
|
||||||
return intervalMonthDayNanoValues_;
|
return intervalMonthDayNanoValues_;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||||
*/
|
*/
|
||||||
@java.lang.Override
|
@java.lang.Override
|
||||||
public java.util.List<? extends io.greptime.v1.Columns.IntervalMonthDayNanoOrBuilder>
|
public java.util.List<? extends io.greptime.v1.Common.IntervalMonthDayNanoOrBuilder>
|
||||||
getIntervalMonthDayNanoValuesOrBuilderList() {
|
getIntervalMonthDayNanoValuesOrBuilderList() {
|
||||||
return intervalMonthDayNanoValues_;
|
return intervalMonthDayNanoValues_;
|
||||||
}
|
}
|
||||||
@@ -2127,14 +2127,14 @@ public final class Columns {
|
|||||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||||
*/
|
*/
|
||||||
@java.lang.Override
|
@java.lang.Override
|
||||||
public io.greptime.v1.Columns.IntervalMonthDayNano getIntervalMonthDayNanoValues(int index) {
|
public io.greptime.v1.Common.IntervalMonthDayNano getIntervalMonthDayNanoValues(int index) {
|
||||||
return intervalMonthDayNanoValues_.get(index);
|
return intervalMonthDayNanoValues_.get(index);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||||
*/
|
*/
|
||||||
@java.lang.Override
|
@java.lang.Override
|
||||||
public io.greptime.v1.Columns.IntervalMonthDayNanoOrBuilder getIntervalMonthDayNanoValuesOrBuilder(
|
public io.greptime.v1.Common.IntervalMonthDayNanoOrBuilder getIntervalMonthDayNanoValuesOrBuilder(
|
||||||
int index) {
|
int index) {
|
||||||
return intervalMonthDayNanoValues_.get(index);
|
return intervalMonthDayNanoValues_.get(index);
|
||||||
}
|
}
|
||||||
@@ -5566,22 +5566,22 @@ public final class Columns {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
private java.util.List<io.greptime.v1.Columns.IntervalMonthDayNano> intervalMonthDayNanoValues_ =
|
private java.util.List<io.greptime.v1.Common.IntervalMonthDayNano> intervalMonthDayNanoValues_ =
|
||||||
java.util.Collections.emptyList();
|
java.util.Collections.emptyList();
|
||||||
private void ensureIntervalMonthDayNanoValuesIsMutable() {
|
private void ensureIntervalMonthDayNanoValuesIsMutable() {
|
||||||
if (!((bitField0_ & 0x02000000) != 0)) {
|
if (!((bitField0_ & 0x02000000) != 0)) {
|
||||||
intervalMonthDayNanoValues_ = new java.util.ArrayList<io.greptime.v1.Columns.IntervalMonthDayNano>(intervalMonthDayNanoValues_);
|
intervalMonthDayNanoValues_ = new java.util.ArrayList<io.greptime.v1.Common.IntervalMonthDayNano>(intervalMonthDayNanoValues_);
|
||||||
bitField0_ |= 0x02000000;
|
bitField0_ |= 0x02000000;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private com.google.protobuf.RepeatedFieldBuilderV3<
|
private com.google.protobuf.RepeatedFieldBuilderV3<
|
||||||
io.greptime.v1.Columns.IntervalMonthDayNano, io.greptime.v1.Columns.IntervalMonthDayNano.Builder, io.greptime.v1.Columns.IntervalMonthDayNanoOrBuilder> intervalMonthDayNanoValuesBuilder_;
|
io.greptime.v1.Common.IntervalMonthDayNano, io.greptime.v1.Common.IntervalMonthDayNano.Builder, io.greptime.v1.Common.IntervalMonthDayNanoOrBuilder> intervalMonthDayNanoValuesBuilder_;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||||
*/
|
*/
|
||||||
public java.util.List<io.greptime.v1.Columns.IntervalMonthDayNano> getIntervalMonthDayNanoValuesList() {
|
public java.util.List<io.greptime.v1.Common.IntervalMonthDayNano> getIntervalMonthDayNanoValuesList() {
|
||||||
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
||||||
return java.util.Collections.unmodifiableList(intervalMonthDayNanoValues_);
|
return java.util.Collections.unmodifiableList(intervalMonthDayNanoValues_);
|
||||||
} else {
|
} else {
|
||||||
@@ -5601,7 +5601,7 @@ public final class Columns {
|
|||||||
/**
|
/**
|
||||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||||
*/
|
*/
|
||||||
public io.greptime.v1.Columns.IntervalMonthDayNano getIntervalMonthDayNanoValues(int index) {
|
public io.greptime.v1.Common.IntervalMonthDayNano getIntervalMonthDayNanoValues(int index) {
|
||||||
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
||||||
return intervalMonthDayNanoValues_.get(index);
|
return intervalMonthDayNanoValues_.get(index);
|
||||||
} else {
|
} else {
|
||||||
@@ -5612,7 +5612,7 @@ public final class Columns {
|
|||||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||||
*/
|
*/
|
||||||
public Builder setIntervalMonthDayNanoValues(
|
public Builder setIntervalMonthDayNanoValues(
|
||||||
int index, io.greptime.v1.Columns.IntervalMonthDayNano value) {
|
int index, io.greptime.v1.Common.IntervalMonthDayNano value) {
|
||||||
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
||||||
if (value == null) {
|
if (value == null) {
|
||||||
throw new NullPointerException();
|
throw new NullPointerException();
|
||||||
@@ -5629,7 +5629,7 @@ public final class Columns {
|
|||||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||||
*/
|
*/
|
||||||
public Builder setIntervalMonthDayNanoValues(
|
public Builder setIntervalMonthDayNanoValues(
|
||||||
int index, io.greptime.v1.Columns.IntervalMonthDayNano.Builder builderForValue) {
|
int index, io.greptime.v1.Common.IntervalMonthDayNano.Builder builderForValue) {
|
||||||
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
||||||
ensureIntervalMonthDayNanoValuesIsMutable();
|
ensureIntervalMonthDayNanoValuesIsMutable();
|
||||||
intervalMonthDayNanoValues_.set(index, builderForValue.build());
|
intervalMonthDayNanoValues_.set(index, builderForValue.build());
|
||||||
@@ -5642,7 +5642,7 @@ public final class Columns {
|
|||||||
/**
|
/**
|
||||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||||
*/
|
*/
|
||||||
public Builder addIntervalMonthDayNanoValues(io.greptime.v1.Columns.IntervalMonthDayNano value) {
|
public Builder addIntervalMonthDayNanoValues(io.greptime.v1.Common.IntervalMonthDayNano value) {
|
||||||
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
||||||
if (value == null) {
|
if (value == null) {
|
||||||
throw new NullPointerException();
|
throw new NullPointerException();
|
||||||
@@ -5659,7 +5659,7 @@ public final class Columns {
|
|||||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||||
*/
|
*/
|
||||||
public Builder addIntervalMonthDayNanoValues(
|
public Builder addIntervalMonthDayNanoValues(
|
||||||
int index, io.greptime.v1.Columns.IntervalMonthDayNano value) {
|
int index, io.greptime.v1.Common.IntervalMonthDayNano value) {
|
||||||
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
||||||
if (value == null) {
|
if (value == null) {
|
||||||
throw new NullPointerException();
|
throw new NullPointerException();
|
||||||
@@ -5676,7 +5676,7 @@ public final class Columns {
|
|||||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||||
*/
|
*/
|
||||||
public Builder addIntervalMonthDayNanoValues(
|
public Builder addIntervalMonthDayNanoValues(
|
||||||
io.greptime.v1.Columns.IntervalMonthDayNano.Builder builderForValue) {
|
io.greptime.v1.Common.IntervalMonthDayNano.Builder builderForValue) {
|
||||||
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
||||||
ensureIntervalMonthDayNanoValuesIsMutable();
|
ensureIntervalMonthDayNanoValuesIsMutable();
|
||||||
intervalMonthDayNanoValues_.add(builderForValue.build());
|
intervalMonthDayNanoValues_.add(builderForValue.build());
|
||||||
@@ -5690,7 +5690,7 @@ public final class Columns {
|
|||||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||||
*/
|
*/
|
||||||
public Builder addIntervalMonthDayNanoValues(
|
public Builder addIntervalMonthDayNanoValues(
|
||||||
int index, io.greptime.v1.Columns.IntervalMonthDayNano.Builder builderForValue) {
|
int index, io.greptime.v1.Common.IntervalMonthDayNano.Builder builderForValue) {
|
||||||
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
||||||
ensureIntervalMonthDayNanoValuesIsMutable();
|
ensureIntervalMonthDayNanoValuesIsMutable();
|
||||||
intervalMonthDayNanoValues_.add(index, builderForValue.build());
|
intervalMonthDayNanoValues_.add(index, builderForValue.build());
|
||||||
@@ -5704,7 +5704,7 @@ public final class Columns {
|
|||||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||||
*/
|
*/
|
||||||
public Builder addAllIntervalMonthDayNanoValues(
|
public Builder addAllIntervalMonthDayNanoValues(
|
||||||
java.lang.Iterable<? extends io.greptime.v1.Columns.IntervalMonthDayNano> values) {
|
java.lang.Iterable<? extends io.greptime.v1.Common.IntervalMonthDayNano> values) {
|
||||||
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
||||||
ensureIntervalMonthDayNanoValuesIsMutable();
|
ensureIntervalMonthDayNanoValuesIsMutable();
|
||||||
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
||||||
@@ -5744,14 +5744,14 @@ public final class Columns {
|
|||||||
/**
|
/**
|
||||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||||
*/
|
*/
|
||||||
public io.greptime.v1.Columns.IntervalMonthDayNano.Builder getIntervalMonthDayNanoValuesBuilder(
|
public io.greptime.v1.Common.IntervalMonthDayNano.Builder getIntervalMonthDayNanoValuesBuilder(
|
||||||
int index) {
|
int index) {
|
||||||
return getIntervalMonthDayNanoValuesFieldBuilder().getBuilder(index);
|
return getIntervalMonthDayNanoValuesFieldBuilder().getBuilder(index);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||||
*/
|
*/
|
||||||
public io.greptime.v1.Columns.IntervalMonthDayNanoOrBuilder getIntervalMonthDayNanoValuesOrBuilder(
|
public io.greptime.v1.Common.IntervalMonthDayNanoOrBuilder getIntervalMonthDayNanoValuesOrBuilder(
|
||||||
int index) {
|
int index) {
|
||||||
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
||||||
return intervalMonthDayNanoValues_.get(index); } else {
|
return intervalMonthDayNanoValues_.get(index); } else {
|
||||||
@@ -5761,7 +5761,7 @@ public final class Columns {
|
|||||||
/**
|
/**
|
||||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||||
*/
|
*/
|
||||||
public java.util.List<? extends io.greptime.v1.Columns.IntervalMonthDayNanoOrBuilder>
|
public java.util.List<? extends io.greptime.v1.Common.IntervalMonthDayNanoOrBuilder>
|
||||||
getIntervalMonthDayNanoValuesOrBuilderList() {
|
getIntervalMonthDayNanoValuesOrBuilderList() {
|
||||||
if (intervalMonthDayNanoValuesBuilder_ != null) {
|
if (intervalMonthDayNanoValuesBuilder_ != null) {
|
||||||
return intervalMonthDayNanoValuesBuilder_.getMessageOrBuilderList();
|
return intervalMonthDayNanoValuesBuilder_.getMessageOrBuilderList();
|
||||||
@@ -5772,31 +5772,31 @@ public final class Columns {
|
|||||||
/**
|
/**
|
||||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||||
*/
|
*/
|
||||||
public io.greptime.v1.Columns.IntervalMonthDayNano.Builder addIntervalMonthDayNanoValuesBuilder() {
|
public io.greptime.v1.Common.IntervalMonthDayNano.Builder addIntervalMonthDayNanoValuesBuilder() {
|
||||||
return getIntervalMonthDayNanoValuesFieldBuilder().addBuilder(
|
return getIntervalMonthDayNanoValuesFieldBuilder().addBuilder(
|
||||||
io.greptime.v1.Columns.IntervalMonthDayNano.getDefaultInstance());
|
io.greptime.v1.Common.IntervalMonthDayNano.getDefaultInstance());
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||||
*/
|
*/
|
||||||
public io.greptime.v1.Columns.IntervalMonthDayNano.Builder addIntervalMonthDayNanoValuesBuilder(
|
public io.greptime.v1.Common.IntervalMonthDayNano.Builder addIntervalMonthDayNanoValuesBuilder(
|
||||||
int index) {
|
int index) {
|
||||||
return getIntervalMonthDayNanoValuesFieldBuilder().addBuilder(
|
return getIntervalMonthDayNanoValuesFieldBuilder().addBuilder(
|
||||||
index, io.greptime.v1.Columns.IntervalMonthDayNano.getDefaultInstance());
|
index, io.greptime.v1.Common.IntervalMonthDayNano.getDefaultInstance());
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
* <code>repeated .greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||||
*/
|
*/
|
||||||
public java.util.List<io.greptime.v1.Columns.IntervalMonthDayNano.Builder>
|
public java.util.List<io.greptime.v1.Common.IntervalMonthDayNano.Builder>
|
||||||
getIntervalMonthDayNanoValuesBuilderList() {
|
getIntervalMonthDayNanoValuesBuilderList() {
|
||||||
return getIntervalMonthDayNanoValuesFieldBuilder().getBuilderList();
|
return getIntervalMonthDayNanoValuesFieldBuilder().getBuilderList();
|
||||||
}
|
}
|
||||||
private com.google.protobuf.RepeatedFieldBuilderV3<
|
private com.google.protobuf.RepeatedFieldBuilderV3<
|
||||||
io.greptime.v1.Columns.IntervalMonthDayNano, io.greptime.v1.Columns.IntervalMonthDayNano.Builder, io.greptime.v1.Columns.IntervalMonthDayNanoOrBuilder>
|
io.greptime.v1.Common.IntervalMonthDayNano, io.greptime.v1.Common.IntervalMonthDayNano.Builder, io.greptime.v1.Common.IntervalMonthDayNanoOrBuilder>
|
||||||
getIntervalMonthDayNanoValuesFieldBuilder() {
|
getIntervalMonthDayNanoValuesFieldBuilder() {
|
||||||
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
||||||
intervalMonthDayNanoValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
|
intervalMonthDayNanoValuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
|
||||||
io.greptime.v1.Columns.IntervalMonthDayNano, io.greptime.v1.Columns.IntervalMonthDayNano.Builder, io.greptime.v1.Columns.IntervalMonthDayNanoOrBuilder>(
|
io.greptime.v1.Common.IntervalMonthDayNano, io.greptime.v1.Common.IntervalMonthDayNano.Builder, io.greptime.v1.Common.IntervalMonthDayNanoOrBuilder>(
|
||||||
intervalMonthDayNanoValues_,
|
intervalMonthDayNanoValues_,
|
||||||
((bitField0_ & 0x02000000) != 0),
|
((bitField0_ & 0x02000000) != 0),
|
||||||
getParentForChildren(),
|
getParentForChildren(),
|
||||||
@@ -6925,637 +6925,6 @@ public final class Columns {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface IntervalMonthDayNanoOrBuilder extends
|
|
||||||
// @@protoc_insertion_point(interface_extends:greptime.v1.IntervalMonthDayNano)
|
|
||||||
com.google.protobuf.MessageOrBuilder {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>int32 months = 1;</code>
|
|
||||||
* @return The months.
|
|
||||||
*/
|
|
||||||
int getMonths();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>int32 days = 2;</code>
|
|
||||||
* @return The days.
|
|
||||||
*/
|
|
||||||
int getDays();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <code>int64 nanoseconds = 3;</code>
|
|
||||||
* @return The nanoseconds.
|
|
||||||
*/
|
|
||||||
long getNanoseconds();
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Protobuf type {@code greptime.v1.IntervalMonthDayNano}
|
|
||||||
*/
|
|
||||||
public static final class IntervalMonthDayNano extends
|
|
||||||
com.google.protobuf.GeneratedMessageV3 implements
|
|
||||||
// @@protoc_insertion_point(message_implements:greptime.v1.IntervalMonthDayNano)
|
|
||||||
IntervalMonthDayNanoOrBuilder {
|
|
||||||
private static final long serialVersionUID = 0L;
|
|
||||||
// Use IntervalMonthDayNano.newBuilder() to construct.
|
|
||||||
private IntervalMonthDayNano(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
||||||
super(builder);
|
|
||||||
}
|
|
||||||
private IntervalMonthDayNano() {
|
|
||||||
}
|
|
||||||
|
|
||||||
@java.lang.Override
|
|
||||||
@SuppressWarnings({"unused"})
|
|
||||||
protected java.lang.Object newInstance(
|
|
||||||
UnusedPrivateParameter unused) {
|
|
||||||
return new IntervalMonthDayNano();
|
|
||||||
}
|
|
||||||
|
|
||||||
@java.lang.Override
|
|
||||||
public final com.google.protobuf.UnknownFieldSet
|
|
||||||
getUnknownFields() {
|
|
||||||
return this.unknownFields;
|
|
||||||
}
|
|
||||||
private IntervalMonthDayNano(
|
|
||||||
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: {
|
|
||||||
|
|
||||||
months_ = input.readInt32();
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case 16: {
|
|
||||||
|
|
||||||
days_ = input.readInt32();
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case 24: {
|
|
||||||
|
|
||||||
nanoseconds_ = 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.Columns.internal_static_greptime_v1_IntervalMonthDayNano_descriptor;
|
|
||||||
}
|
|
||||||
|
|
||||||
@java.lang.Override
|
|
||||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
||||||
internalGetFieldAccessorTable() {
|
|
||||||
return io.greptime.v1.Columns.internal_static_greptime_v1_IntervalMonthDayNano_fieldAccessorTable
|
|
||||||
.ensureFieldAccessorsInitialized(
|
|
||||||
io.greptime.v1.Columns.IntervalMonthDayNano.class, io.greptime.v1.Columns.IntervalMonthDayNano.Builder.class);
|
|
||||||
}
|
|
||||||
|
|
||||||
public static final int MONTHS_FIELD_NUMBER = 1;
|
|
||||||
private int months_;
|
|
||||||
/**
|
|
||||||
* <code>int32 months = 1;</code>
|
|
||||||
* @return The months.
|
|
||||||
*/
|
|
||||||
@java.lang.Override
|
|
||||||
public int getMonths() {
|
|
||||||
return months_;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static final int DAYS_FIELD_NUMBER = 2;
|
|
||||||
private int days_;
|
|
||||||
/**
|
|
||||||
* <code>int32 days = 2;</code>
|
|
||||||
* @return The days.
|
|
||||||
*/
|
|
||||||
@java.lang.Override
|
|
||||||
public int getDays() {
|
|
||||||
return days_;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static final int NANOSECONDS_FIELD_NUMBER = 3;
|
|
||||||
private long nanoseconds_;
|
|
||||||
/**
|
|
||||||
* <code>int64 nanoseconds = 3;</code>
|
|
||||||
* @return The nanoseconds.
|
|
||||||
*/
|
|
||||||
@java.lang.Override
|
|
||||||
public long getNanoseconds() {
|
|
||||||
return nanoseconds_;
|
|
||||||
}
|
|
||||||
|
|
||||||
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 (months_ != 0) {
|
|
||||||
output.writeInt32(1, months_);
|
|
||||||
}
|
|
||||||
if (days_ != 0) {
|
|
||||||
output.writeInt32(2, days_);
|
|
||||||
}
|
|
||||||
if (nanoseconds_ != 0L) {
|
|
||||||
output.writeInt64(3, nanoseconds_);
|
|
||||||
}
|
|
||||||
unknownFields.writeTo(output);
|
|
||||||
}
|
|
||||||
|
|
||||||
@java.lang.Override
|
|
||||||
public int getSerializedSize() {
|
|
||||||
int size = memoizedSize;
|
|
||||||
if (size != -1) return size;
|
|
||||||
|
|
||||||
size = 0;
|
|
||||||
if (months_ != 0) {
|
|
||||||
size += com.google.protobuf.CodedOutputStream
|
|
||||||
.computeInt32Size(1, months_);
|
|
||||||
}
|
|
||||||
if (days_ != 0) {
|
|
||||||
size += com.google.protobuf.CodedOutputStream
|
|
||||||
.computeInt32Size(2, days_);
|
|
||||||
}
|
|
||||||
if (nanoseconds_ != 0L) {
|
|
||||||
size += com.google.protobuf.CodedOutputStream
|
|
||||||
.computeInt64Size(3, nanoseconds_);
|
|
||||||
}
|
|
||||||
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.Columns.IntervalMonthDayNano)) {
|
|
||||||
return super.equals(obj);
|
|
||||||
}
|
|
||||||
io.greptime.v1.Columns.IntervalMonthDayNano other = (io.greptime.v1.Columns.IntervalMonthDayNano) obj;
|
|
||||||
|
|
||||||
if (getMonths()
|
|
||||||
!= other.getMonths()) return false;
|
|
||||||
if (getDays()
|
|
||||||
!= other.getDays()) return false;
|
|
||||||
if (getNanoseconds()
|
|
||||||
!= other.getNanoseconds()) 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) + MONTHS_FIELD_NUMBER;
|
|
||||||
hash = (53 * hash) + getMonths();
|
|
||||||
hash = (37 * hash) + DAYS_FIELD_NUMBER;
|
|
||||||
hash = (53 * hash) + getDays();
|
|
||||||
hash = (37 * hash) + NANOSECONDS_FIELD_NUMBER;
|
|
||||||
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
|
||||||
getNanoseconds());
|
|
||||||
hash = (29 * hash) + unknownFields.hashCode();
|
|
||||||
memoizedHashCode = hash;
|
|
||||||
return hash;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static io.greptime.v1.Columns.IntervalMonthDayNano parseFrom(
|
|
||||||
java.nio.ByteBuffer data)
|
|
||||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
||||||
return PARSER.parseFrom(data);
|
|
||||||
}
|
|
||||||
public static io.greptime.v1.Columns.IntervalMonthDayNano 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.Columns.IntervalMonthDayNano parseFrom(
|
|
||||||
com.google.protobuf.ByteString data)
|
|
||||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
||||||
return PARSER.parseFrom(data);
|
|
||||||
}
|
|
||||||
public static io.greptime.v1.Columns.IntervalMonthDayNano 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.Columns.IntervalMonthDayNano parseFrom(byte[] data)
|
|
||||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
||||||
return PARSER.parseFrom(data);
|
|
||||||
}
|
|
||||||
public static io.greptime.v1.Columns.IntervalMonthDayNano parseFrom(
|
|
||||||
byte[] data,
|
|
||||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
||||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
||||||
return PARSER.parseFrom(data, extensionRegistry);
|
|
||||||
}
|
|
||||||
public static io.greptime.v1.Columns.IntervalMonthDayNano parseFrom(java.io.InputStream input)
|
|
||||||
throws java.io.IOException {
|
|
||||||
return com.google.protobuf.GeneratedMessageV3
|
|
||||||
.parseWithIOException(PARSER, input);
|
|
||||||
}
|
|
||||||
public static io.greptime.v1.Columns.IntervalMonthDayNano 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.Columns.IntervalMonthDayNano parseDelimitedFrom(java.io.InputStream input)
|
|
||||||
throws java.io.IOException {
|
|
||||||
return com.google.protobuf.GeneratedMessageV3
|
|
||||||
.parseDelimitedWithIOException(PARSER, input);
|
|
||||||
}
|
|
||||||
public static io.greptime.v1.Columns.IntervalMonthDayNano 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.Columns.IntervalMonthDayNano parseFrom(
|
|
||||||
com.google.protobuf.CodedInputStream input)
|
|
||||||
throws java.io.IOException {
|
|
||||||
return com.google.protobuf.GeneratedMessageV3
|
|
||||||
.parseWithIOException(PARSER, input);
|
|
||||||
}
|
|
||||||
public static io.greptime.v1.Columns.IntervalMonthDayNano 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.Columns.IntervalMonthDayNano 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.IntervalMonthDayNano}
|
|
||||||
*/
|
|
||||||
public static final class Builder extends
|
|
||||||
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|
||||||
// @@protoc_insertion_point(builder_implements:greptime.v1.IntervalMonthDayNano)
|
|
||||||
io.greptime.v1.Columns.IntervalMonthDayNanoOrBuilder {
|
|
||||||
public static final com.google.protobuf.Descriptors.Descriptor
|
|
||||||
getDescriptor() {
|
|
||||||
return io.greptime.v1.Columns.internal_static_greptime_v1_IntervalMonthDayNano_descriptor;
|
|
||||||
}
|
|
||||||
|
|
||||||
@java.lang.Override
|
|
||||||
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
||||||
internalGetFieldAccessorTable() {
|
|
||||||
return io.greptime.v1.Columns.internal_static_greptime_v1_IntervalMonthDayNano_fieldAccessorTable
|
|
||||||
.ensureFieldAccessorsInitialized(
|
|
||||||
io.greptime.v1.Columns.IntervalMonthDayNano.class, io.greptime.v1.Columns.IntervalMonthDayNano.Builder.class);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Construct using io.greptime.v1.Columns.IntervalMonthDayNano.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();
|
|
||||||
months_ = 0;
|
|
||||||
|
|
||||||
days_ = 0;
|
|
||||||
|
|
||||||
nanoseconds_ = 0L;
|
|
||||||
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
@java.lang.Override
|
|
||||||
public com.google.protobuf.Descriptors.Descriptor
|
|
||||||
getDescriptorForType() {
|
|
||||||
return io.greptime.v1.Columns.internal_static_greptime_v1_IntervalMonthDayNano_descriptor;
|
|
||||||
}
|
|
||||||
|
|
||||||
@java.lang.Override
|
|
||||||
public io.greptime.v1.Columns.IntervalMonthDayNano getDefaultInstanceForType() {
|
|
||||||
return io.greptime.v1.Columns.IntervalMonthDayNano.getDefaultInstance();
|
|
||||||
}
|
|
||||||
|
|
||||||
@java.lang.Override
|
|
||||||
public io.greptime.v1.Columns.IntervalMonthDayNano build() {
|
|
||||||
io.greptime.v1.Columns.IntervalMonthDayNano result = buildPartial();
|
|
||||||
if (!result.isInitialized()) {
|
|
||||||
throw newUninitializedMessageException(result);
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
@java.lang.Override
|
|
||||||
public io.greptime.v1.Columns.IntervalMonthDayNano buildPartial() {
|
|
||||||
io.greptime.v1.Columns.IntervalMonthDayNano result = new io.greptime.v1.Columns.IntervalMonthDayNano(this);
|
|
||||||
result.months_ = months_;
|
|
||||||
result.days_ = days_;
|
|
||||||
result.nanoseconds_ = nanoseconds_;
|
|
||||||
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.Columns.IntervalMonthDayNano) {
|
|
||||||
return mergeFrom((io.greptime.v1.Columns.IntervalMonthDayNano)other);
|
|
||||||
} else {
|
|
||||||
super.mergeFrom(other);
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public Builder mergeFrom(io.greptime.v1.Columns.IntervalMonthDayNano other) {
|
|
||||||
if (other == io.greptime.v1.Columns.IntervalMonthDayNano.getDefaultInstance()) return this;
|
|
||||||
if (other.getMonths() != 0) {
|
|
||||||
setMonths(other.getMonths());
|
|
||||||
}
|
|
||||||
if (other.getDays() != 0) {
|
|
||||||
setDays(other.getDays());
|
|
||||||
}
|
|
||||||
if (other.getNanoseconds() != 0L) {
|
|
||||||
setNanoseconds(other.getNanoseconds());
|
|
||||||
}
|
|
||||||
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.Columns.IntervalMonthDayNano parsedMessage = null;
|
|
||||||
try {
|
|
||||||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
||||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
||||||
parsedMessage = (io.greptime.v1.Columns.IntervalMonthDayNano) e.getUnfinishedMessage();
|
|
||||||
throw e.unwrapIOException();
|
|
||||||
} finally {
|
|
||||||
if (parsedMessage != null) {
|
|
||||||
mergeFrom(parsedMessage);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
private int months_ ;
|
|
||||||
/**
|
|
||||||
* <code>int32 months = 1;</code>
|
|
||||||
* @return The months.
|
|
||||||
*/
|
|
||||||
@java.lang.Override
|
|
||||||
public int getMonths() {
|
|
||||||
return months_;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>int32 months = 1;</code>
|
|
||||||
* @param value The months to set.
|
|
||||||
* @return This builder for chaining.
|
|
||||||
*/
|
|
||||||
public Builder setMonths(int value) {
|
|
||||||
|
|
||||||
months_ = value;
|
|
||||||
onChanged();
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>int32 months = 1;</code>
|
|
||||||
* @return This builder for chaining.
|
|
||||||
*/
|
|
||||||
public Builder clearMonths() {
|
|
||||||
|
|
||||||
months_ = 0;
|
|
||||||
onChanged();
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
private int days_ ;
|
|
||||||
/**
|
|
||||||
* <code>int32 days = 2;</code>
|
|
||||||
* @return The days.
|
|
||||||
*/
|
|
||||||
@java.lang.Override
|
|
||||||
public int getDays() {
|
|
||||||
return days_;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>int32 days = 2;</code>
|
|
||||||
* @param value The days to set.
|
|
||||||
* @return This builder for chaining.
|
|
||||||
*/
|
|
||||||
public Builder setDays(int value) {
|
|
||||||
|
|
||||||
days_ = value;
|
|
||||||
onChanged();
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>int32 days = 2;</code>
|
|
||||||
* @return This builder for chaining.
|
|
||||||
*/
|
|
||||||
public Builder clearDays() {
|
|
||||||
|
|
||||||
days_ = 0;
|
|
||||||
onChanged();
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
private long nanoseconds_ ;
|
|
||||||
/**
|
|
||||||
* <code>int64 nanoseconds = 3;</code>
|
|
||||||
* @return The nanoseconds.
|
|
||||||
*/
|
|
||||||
@java.lang.Override
|
|
||||||
public long getNanoseconds() {
|
|
||||||
return nanoseconds_;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>int64 nanoseconds = 3;</code>
|
|
||||||
* @param value The nanoseconds to set.
|
|
||||||
* @return This builder for chaining.
|
|
||||||
*/
|
|
||||||
public Builder setNanoseconds(long value) {
|
|
||||||
|
|
||||||
nanoseconds_ = value;
|
|
||||||
onChanged();
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* <code>int64 nanoseconds = 3;</code>
|
|
||||||
* @return This builder for chaining.
|
|
||||||
*/
|
|
||||||
public Builder clearNanoseconds() {
|
|
||||||
|
|
||||||
nanoseconds_ = 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.IntervalMonthDayNano)
|
|
||||||
}
|
|
||||||
|
|
||||||
// @@protoc_insertion_point(class_scope:greptime.v1.IntervalMonthDayNano)
|
|
||||||
private static final io.greptime.v1.Columns.IntervalMonthDayNano DEFAULT_INSTANCE;
|
|
||||||
static {
|
|
||||||
DEFAULT_INSTANCE = new io.greptime.v1.Columns.IntervalMonthDayNano();
|
|
||||||
}
|
|
||||||
|
|
||||||
public static io.greptime.v1.Columns.IntervalMonthDayNano getDefaultInstance() {
|
|
||||||
return DEFAULT_INSTANCE;
|
|
||||||
}
|
|
||||||
|
|
||||||
private static final com.google.protobuf.Parser<IntervalMonthDayNano>
|
|
||||||
PARSER = new com.google.protobuf.AbstractParser<IntervalMonthDayNano>() {
|
|
||||||
@java.lang.Override
|
|
||||||
public IntervalMonthDayNano parsePartialFrom(
|
|
||||||
com.google.protobuf.CodedInputStream input,
|
|
||||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
||||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
||||||
return new IntervalMonthDayNano(input, extensionRegistry);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
public static com.google.protobuf.Parser<IntervalMonthDayNano> parser() {
|
|
||||||
return PARSER;
|
|
||||||
}
|
|
||||||
|
|
||||||
@java.lang.Override
|
|
||||||
public com.google.protobuf.Parser<IntervalMonthDayNano> getParserForType() {
|
|
||||||
return PARSER;
|
|
||||||
}
|
|
||||||
|
|
||||||
@java.lang.Override
|
|
||||||
public io.greptime.v1.Columns.IntervalMonthDayNano getDefaultInstanceForType() {
|
|
||||||
return DEFAULT_INSTANCE;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
private static final com.google.protobuf.Descriptors.Descriptor
|
private static final com.google.protobuf.Descriptors.Descriptor
|
||||||
internal_static_greptime_v1_Column_descriptor;
|
internal_static_greptime_v1_Column_descriptor;
|
||||||
private static final
|
private static final
|
||||||
@@ -7566,11 +6935,6 @@ public final class Columns {
|
|||||||
private static final
|
private static final
|
||||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||||
internal_static_greptime_v1_Column_Values_fieldAccessorTable;
|
internal_static_greptime_v1_Column_Values_fieldAccessorTable;
|
||||||
private static final com.google.protobuf.Descriptors.Descriptor
|
|
||||||
internal_static_greptime_v1_IntervalMonthDayNano_descriptor;
|
|
||||||
private static final
|
|
||||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
||||||
internal_static_greptime_v1_IntervalMonthDayNano_fieldAccessorTable;
|
|
||||||
|
|
||||||
public static com.google.protobuf.Descriptors.FileDescriptor
|
public static com.google.protobuf.Descriptors.FileDescriptor
|
||||||
getDescriptor() {
|
getDescriptor() {
|
||||||
@@ -7604,11 +6968,9 @@ public final class Columns {
|
|||||||
"_month_values\030\030 \003(\005\022 \n\030interval_day_time" +
|
"_month_values\030\030 \003(\005\022 \n\030interval_day_time" +
|
||||||
"_values\030\031 \003(\003\022I\n\036interval_month_day_nano" +
|
"_values\030\031 \003(\003\022I\n\036interval_month_day_nano" +
|
||||||
"_values\030\032 \003(\0132!.greptime.v1.IntervalMont" +
|
"_values\030\032 \003(\0132!.greptime.v1.IntervalMont" +
|
||||||
"hDayNano\"I\n\024IntervalMonthDayNano\022\016\n\006mont" +
|
"hDayNanoBP\n\016io.greptime.v1B\007ColumnsZ5git" +
|
||||||
"hs\030\001 \001(\005\022\014\n\004days\030\002 \001(\005\022\023\n\013nanoseconds\030\003 " +
|
"hub.com/GreptimeTeam/greptime-proto/go/g" +
|
||||||
"\001(\003BP\n\016io.greptime.v1B\007ColumnsZ5github.c" +
|
"reptime/v1b\006proto3"
|
||||||
"om/GreptimeTeam/greptime-proto/go/grepti" +
|
|
||||||
"me/v1b\006proto3"
|
|
||||||
};
|
};
|
||||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||||
.internalBuildGeneratedFileFrom(descriptorData,
|
.internalBuildGeneratedFileFrom(descriptorData,
|
||||||
@@ -7627,12 +6989,6 @@ public final class Columns {
|
|||||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||||
internal_static_greptime_v1_Column_Values_descriptor,
|
internal_static_greptime_v1_Column_Values_descriptor,
|
||||||
new java.lang.String[] { "I8Values", "I16Values", "I32Values", "I64Values", "U8Values", "U16Values", "U32Values", "U64Values", "F32Values", "F64Values", "BoolValues", "BinaryValues", "StringValues", "DateValues", "DatetimeValues", "TsSecondValues", "TsMillisecondValues", "TsMicrosecondValues", "TsNanosecondValues", "TimeSecondValues", "TimeMillisecondValues", "TimeMicrosecondValues", "TimeNanosecondValues", "IntervalYearMonthValues", "IntervalDayTimeValues", "IntervalMonthDayNanoValues", });
|
new java.lang.String[] { "I8Values", "I16Values", "I32Values", "I64Values", "U8Values", "U16Values", "U32Values", "U64Values", "F32Values", "F64Values", "BoolValues", "BinaryValues", "StringValues", "DateValues", "DatetimeValues", "TsSecondValues", "TsMillisecondValues", "TsMicrosecondValues", "TsNanosecondValues", "TimeSecondValues", "TimeMillisecondValues", "TimeMicrosecondValues", "TimeNanosecondValues", "IntervalYearMonthValues", "IntervalDayTimeValues", "IntervalMonthDayNanoValues", });
|
||||||
internal_static_greptime_v1_IntervalMonthDayNano_descriptor =
|
|
||||||
getDescriptor().getMessageTypes().get(1);
|
|
||||||
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", });
|
|
||||||
io.greptime.v1.Common.getDescriptor();
|
io.greptime.v1.Common.getDescriptor();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -7433,6 +7433,637 @@ public final class Common {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public interface IntervalMonthDayNanoOrBuilder extends
|
||||||
|
// @@protoc_insertion_point(interface_extends:greptime.v1.IntervalMonthDayNano)
|
||||||
|
com.google.protobuf.MessageOrBuilder {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>int32 months = 1;</code>
|
||||||
|
* @return The months.
|
||||||
|
*/
|
||||||
|
int getMonths();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>int32 days = 2;</code>
|
||||||
|
* @return The days.
|
||||||
|
*/
|
||||||
|
int getDays();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>int64 nanoseconds = 3;</code>
|
||||||
|
* @return The nanoseconds.
|
||||||
|
*/
|
||||||
|
long getNanoseconds();
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Protobuf type {@code greptime.v1.IntervalMonthDayNano}
|
||||||
|
*/
|
||||||
|
public static final class IntervalMonthDayNano extends
|
||||||
|
com.google.protobuf.GeneratedMessageV3 implements
|
||||||
|
// @@protoc_insertion_point(message_implements:greptime.v1.IntervalMonthDayNano)
|
||||||
|
IntervalMonthDayNanoOrBuilder {
|
||||||
|
private static final long serialVersionUID = 0L;
|
||||||
|
// Use IntervalMonthDayNano.newBuilder() to construct.
|
||||||
|
private IntervalMonthDayNano(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
||||||
|
super(builder);
|
||||||
|
}
|
||||||
|
private IntervalMonthDayNano() {
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
@SuppressWarnings({"unused"})
|
||||||
|
protected java.lang.Object newInstance(
|
||||||
|
UnusedPrivateParameter unused) {
|
||||||
|
return new IntervalMonthDayNano();
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public final com.google.protobuf.UnknownFieldSet
|
||||||
|
getUnknownFields() {
|
||||||
|
return this.unknownFields;
|
||||||
|
}
|
||||||
|
private IntervalMonthDayNano(
|
||||||
|
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: {
|
||||||
|
|
||||||
|
months_ = input.readInt32();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 16: {
|
||||||
|
|
||||||
|
days_ = input.readInt32();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 24: {
|
||||||
|
|
||||||
|
nanoseconds_ = 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_IntervalMonthDayNano_descriptor;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||||
|
internalGetFieldAccessorTable() {
|
||||||
|
return io.greptime.v1.Common.internal_static_greptime_v1_IntervalMonthDayNano_fieldAccessorTable
|
||||||
|
.ensureFieldAccessorsInitialized(
|
||||||
|
io.greptime.v1.Common.IntervalMonthDayNano.class, io.greptime.v1.Common.IntervalMonthDayNano.Builder.class);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static final int MONTHS_FIELD_NUMBER = 1;
|
||||||
|
private int months_;
|
||||||
|
/**
|
||||||
|
* <code>int32 months = 1;</code>
|
||||||
|
* @return The months.
|
||||||
|
*/
|
||||||
|
@java.lang.Override
|
||||||
|
public int getMonths() {
|
||||||
|
return months_;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static final int DAYS_FIELD_NUMBER = 2;
|
||||||
|
private int days_;
|
||||||
|
/**
|
||||||
|
* <code>int32 days = 2;</code>
|
||||||
|
* @return The days.
|
||||||
|
*/
|
||||||
|
@java.lang.Override
|
||||||
|
public int getDays() {
|
||||||
|
return days_;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static final int NANOSECONDS_FIELD_NUMBER = 3;
|
||||||
|
private long nanoseconds_;
|
||||||
|
/**
|
||||||
|
* <code>int64 nanoseconds = 3;</code>
|
||||||
|
* @return The nanoseconds.
|
||||||
|
*/
|
||||||
|
@java.lang.Override
|
||||||
|
public long getNanoseconds() {
|
||||||
|
return nanoseconds_;
|
||||||
|
}
|
||||||
|
|
||||||
|
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 (months_ != 0) {
|
||||||
|
output.writeInt32(1, months_);
|
||||||
|
}
|
||||||
|
if (days_ != 0) {
|
||||||
|
output.writeInt32(2, days_);
|
||||||
|
}
|
||||||
|
if (nanoseconds_ != 0L) {
|
||||||
|
output.writeInt64(3, nanoseconds_);
|
||||||
|
}
|
||||||
|
unknownFields.writeTo(output);
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public int getSerializedSize() {
|
||||||
|
int size = memoizedSize;
|
||||||
|
if (size != -1) return size;
|
||||||
|
|
||||||
|
size = 0;
|
||||||
|
if (months_ != 0) {
|
||||||
|
size += com.google.protobuf.CodedOutputStream
|
||||||
|
.computeInt32Size(1, months_);
|
||||||
|
}
|
||||||
|
if (days_ != 0) {
|
||||||
|
size += com.google.protobuf.CodedOutputStream
|
||||||
|
.computeInt32Size(2, days_);
|
||||||
|
}
|
||||||
|
if (nanoseconds_ != 0L) {
|
||||||
|
size += com.google.protobuf.CodedOutputStream
|
||||||
|
.computeInt64Size(3, nanoseconds_);
|
||||||
|
}
|
||||||
|
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.IntervalMonthDayNano)) {
|
||||||
|
return super.equals(obj);
|
||||||
|
}
|
||||||
|
io.greptime.v1.Common.IntervalMonthDayNano other = (io.greptime.v1.Common.IntervalMonthDayNano) obj;
|
||||||
|
|
||||||
|
if (getMonths()
|
||||||
|
!= other.getMonths()) return false;
|
||||||
|
if (getDays()
|
||||||
|
!= other.getDays()) return false;
|
||||||
|
if (getNanoseconds()
|
||||||
|
!= other.getNanoseconds()) 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) + MONTHS_FIELD_NUMBER;
|
||||||
|
hash = (53 * hash) + getMonths();
|
||||||
|
hash = (37 * hash) + DAYS_FIELD_NUMBER;
|
||||||
|
hash = (53 * hash) + getDays();
|
||||||
|
hash = (37 * hash) + NANOSECONDS_FIELD_NUMBER;
|
||||||
|
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
||||||
|
getNanoseconds());
|
||||||
|
hash = (29 * hash) + unknownFields.hashCode();
|
||||||
|
memoizedHashCode = hash;
|
||||||
|
return hash;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static io.greptime.v1.Common.IntervalMonthDayNano parseFrom(
|
||||||
|
java.nio.ByteBuffer data)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data);
|
||||||
|
}
|
||||||
|
public static io.greptime.v1.Common.IntervalMonthDayNano 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.IntervalMonthDayNano parseFrom(
|
||||||
|
com.google.protobuf.ByteString data)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data);
|
||||||
|
}
|
||||||
|
public static io.greptime.v1.Common.IntervalMonthDayNano 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.IntervalMonthDayNano parseFrom(byte[] data)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data);
|
||||||
|
}
|
||||||
|
public static io.greptime.v1.Common.IntervalMonthDayNano parseFrom(
|
||||||
|
byte[] data,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return PARSER.parseFrom(data, extensionRegistry);
|
||||||
|
}
|
||||||
|
public static io.greptime.v1.Common.IntervalMonthDayNano parseFrom(java.io.InputStream input)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessageV3
|
||||||
|
.parseWithIOException(PARSER, input);
|
||||||
|
}
|
||||||
|
public static io.greptime.v1.Common.IntervalMonthDayNano 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.IntervalMonthDayNano parseDelimitedFrom(java.io.InputStream input)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessageV3
|
||||||
|
.parseDelimitedWithIOException(PARSER, input);
|
||||||
|
}
|
||||||
|
public static io.greptime.v1.Common.IntervalMonthDayNano 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.IntervalMonthDayNano parseFrom(
|
||||||
|
com.google.protobuf.CodedInputStream input)
|
||||||
|
throws java.io.IOException {
|
||||||
|
return com.google.protobuf.GeneratedMessageV3
|
||||||
|
.parseWithIOException(PARSER, input);
|
||||||
|
}
|
||||||
|
public static io.greptime.v1.Common.IntervalMonthDayNano 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.IntervalMonthDayNano 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.IntervalMonthDayNano}
|
||||||
|
*/
|
||||||
|
public static final class Builder extends
|
||||||
|
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
||||||
|
// @@protoc_insertion_point(builder_implements:greptime.v1.IntervalMonthDayNano)
|
||||||
|
io.greptime.v1.Common.IntervalMonthDayNanoOrBuilder {
|
||||||
|
public static final com.google.protobuf.Descriptors.Descriptor
|
||||||
|
getDescriptor() {
|
||||||
|
return io.greptime.v1.Common.internal_static_greptime_v1_IntervalMonthDayNano_descriptor;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||||
|
internalGetFieldAccessorTable() {
|
||||||
|
return io.greptime.v1.Common.internal_static_greptime_v1_IntervalMonthDayNano_fieldAccessorTable
|
||||||
|
.ensureFieldAccessorsInitialized(
|
||||||
|
io.greptime.v1.Common.IntervalMonthDayNano.class, io.greptime.v1.Common.IntervalMonthDayNano.Builder.class);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Construct using io.greptime.v1.Common.IntervalMonthDayNano.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();
|
||||||
|
months_ = 0;
|
||||||
|
|
||||||
|
days_ = 0;
|
||||||
|
|
||||||
|
nanoseconds_ = 0L;
|
||||||
|
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public com.google.protobuf.Descriptors.Descriptor
|
||||||
|
getDescriptorForType() {
|
||||||
|
return io.greptime.v1.Common.internal_static_greptime_v1_IntervalMonthDayNano_descriptor;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public io.greptime.v1.Common.IntervalMonthDayNano getDefaultInstanceForType() {
|
||||||
|
return io.greptime.v1.Common.IntervalMonthDayNano.getDefaultInstance();
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public io.greptime.v1.Common.IntervalMonthDayNano build() {
|
||||||
|
io.greptime.v1.Common.IntervalMonthDayNano result = buildPartial();
|
||||||
|
if (!result.isInitialized()) {
|
||||||
|
throw newUninitializedMessageException(result);
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public io.greptime.v1.Common.IntervalMonthDayNano buildPartial() {
|
||||||
|
io.greptime.v1.Common.IntervalMonthDayNano result = new io.greptime.v1.Common.IntervalMonthDayNano(this);
|
||||||
|
result.months_ = months_;
|
||||||
|
result.days_ = days_;
|
||||||
|
result.nanoseconds_ = nanoseconds_;
|
||||||
|
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.IntervalMonthDayNano) {
|
||||||
|
return mergeFrom((io.greptime.v1.Common.IntervalMonthDayNano)other);
|
||||||
|
} else {
|
||||||
|
super.mergeFrom(other);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public Builder mergeFrom(io.greptime.v1.Common.IntervalMonthDayNano other) {
|
||||||
|
if (other == io.greptime.v1.Common.IntervalMonthDayNano.getDefaultInstance()) return this;
|
||||||
|
if (other.getMonths() != 0) {
|
||||||
|
setMonths(other.getMonths());
|
||||||
|
}
|
||||||
|
if (other.getDays() != 0) {
|
||||||
|
setDays(other.getDays());
|
||||||
|
}
|
||||||
|
if (other.getNanoseconds() != 0L) {
|
||||||
|
setNanoseconds(other.getNanoseconds());
|
||||||
|
}
|
||||||
|
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.IntervalMonthDayNano parsedMessage = null;
|
||||||
|
try {
|
||||||
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
||||||
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||||
|
parsedMessage = (io.greptime.v1.Common.IntervalMonthDayNano) e.getUnfinishedMessage();
|
||||||
|
throw e.unwrapIOException();
|
||||||
|
} finally {
|
||||||
|
if (parsedMessage != null) {
|
||||||
|
mergeFrom(parsedMessage);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
private int months_ ;
|
||||||
|
/**
|
||||||
|
* <code>int32 months = 1;</code>
|
||||||
|
* @return The months.
|
||||||
|
*/
|
||||||
|
@java.lang.Override
|
||||||
|
public int getMonths() {
|
||||||
|
return months_;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <code>int32 months = 1;</code>
|
||||||
|
* @param value The months to set.
|
||||||
|
* @return This builder for chaining.
|
||||||
|
*/
|
||||||
|
public Builder setMonths(int value) {
|
||||||
|
|
||||||
|
months_ = value;
|
||||||
|
onChanged();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <code>int32 months = 1;</code>
|
||||||
|
* @return This builder for chaining.
|
||||||
|
*/
|
||||||
|
public Builder clearMonths() {
|
||||||
|
|
||||||
|
months_ = 0;
|
||||||
|
onChanged();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
private int days_ ;
|
||||||
|
/**
|
||||||
|
* <code>int32 days = 2;</code>
|
||||||
|
* @return The days.
|
||||||
|
*/
|
||||||
|
@java.lang.Override
|
||||||
|
public int getDays() {
|
||||||
|
return days_;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <code>int32 days = 2;</code>
|
||||||
|
* @param value The days to set.
|
||||||
|
* @return This builder for chaining.
|
||||||
|
*/
|
||||||
|
public Builder setDays(int value) {
|
||||||
|
|
||||||
|
days_ = value;
|
||||||
|
onChanged();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <code>int32 days = 2;</code>
|
||||||
|
* @return This builder for chaining.
|
||||||
|
*/
|
||||||
|
public Builder clearDays() {
|
||||||
|
|
||||||
|
days_ = 0;
|
||||||
|
onChanged();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
private long nanoseconds_ ;
|
||||||
|
/**
|
||||||
|
* <code>int64 nanoseconds = 3;</code>
|
||||||
|
* @return The nanoseconds.
|
||||||
|
*/
|
||||||
|
@java.lang.Override
|
||||||
|
public long getNanoseconds() {
|
||||||
|
return nanoseconds_;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <code>int64 nanoseconds = 3;</code>
|
||||||
|
* @param value The nanoseconds to set.
|
||||||
|
* @return This builder for chaining.
|
||||||
|
*/
|
||||||
|
public Builder setNanoseconds(long value) {
|
||||||
|
|
||||||
|
nanoseconds_ = value;
|
||||||
|
onChanged();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <code>int64 nanoseconds = 3;</code>
|
||||||
|
* @return This builder for chaining.
|
||||||
|
*/
|
||||||
|
public Builder clearNanoseconds() {
|
||||||
|
|
||||||
|
nanoseconds_ = 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.IntervalMonthDayNano)
|
||||||
|
}
|
||||||
|
|
||||||
|
// @@protoc_insertion_point(class_scope:greptime.v1.IntervalMonthDayNano)
|
||||||
|
private static final io.greptime.v1.Common.IntervalMonthDayNano DEFAULT_INSTANCE;
|
||||||
|
static {
|
||||||
|
DEFAULT_INSTANCE = new io.greptime.v1.Common.IntervalMonthDayNano();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static io.greptime.v1.Common.IntervalMonthDayNano getDefaultInstance() {
|
||||||
|
return DEFAULT_INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
private static final com.google.protobuf.Parser<IntervalMonthDayNano>
|
||||||
|
PARSER = new com.google.protobuf.AbstractParser<IntervalMonthDayNano>() {
|
||||||
|
@java.lang.Override
|
||||||
|
public IntervalMonthDayNano parsePartialFrom(
|
||||||
|
com.google.protobuf.CodedInputStream input,
|
||||||
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||||
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||||
|
return new IntervalMonthDayNano(input, extensionRegistry);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
public static com.google.protobuf.Parser<IntervalMonthDayNano> parser() {
|
||||||
|
return PARSER;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public com.google.protobuf.Parser<IntervalMonthDayNano> getParserForType() {
|
||||||
|
return PARSER;
|
||||||
|
}
|
||||||
|
|
||||||
|
@java.lang.Override
|
||||||
|
public io.greptime.v1.Common.IntervalMonthDayNano getDefaultInstanceForType() {
|
||||||
|
return DEFAULT_INSTANCE;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
private static final com.google.protobuf.Descriptors.Descriptor
|
private static final com.google.protobuf.Descriptors.Descriptor
|
||||||
internal_static_greptime_v1_RequestHeader_descriptor;
|
internal_static_greptime_v1_RequestHeader_descriptor;
|
||||||
private static final
|
private static final
|
||||||
@@ -7478,6 +8109,11 @@ public final class Common {
|
|||||||
private static final
|
private static final
|
||||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||||
internal_static_greptime_v1_ColumnDef_fieldAccessorTable;
|
internal_static_greptime_v1_ColumnDef_fieldAccessorTable;
|
||||||
|
private static final com.google.protobuf.Descriptors.Descriptor
|
||||||
|
internal_static_greptime_v1_IntervalMonthDayNano_descriptor;
|
||||||
|
private static final
|
||||||
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
||||||
|
internal_static_greptime_v1_IntervalMonthDayNano_fieldAccessorTable;
|
||||||
|
|
||||||
public static com.google.protobuf.Descriptors.FileDescriptor
|
public static com.google.protobuf.Descriptors.FileDescriptor
|
||||||
getDescriptor() {
|
getDescriptor() {
|
||||||
@@ -7505,21 +8141,23 @@ public final class Common {
|
|||||||
"\n\tColumnDef\022\014\n\004name\030\001 \001(\t\022-\n\010datatype\030\002 " +
|
"\n\tColumnDef\022\014\n\004name\030\001 \001(\t\022-\n\010datatype\030\002 " +
|
||||||
"\001(\0162\033.greptime.v1.ColumnDataType\022\023\n\013is_n" +
|
"\001(\0162\033.greptime.v1.ColumnDataType\022\023\n\013is_n" +
|
||||||
"ullable\030\003 \001(\010\022\032\n\022default_constraint\030\004 \001(" +
|
"ullable\030\003 \001(\010\022\032\n\022default_constraint\030\004 \001(" +
|
||||||
"\014*1\n\014SemanticType\022\007\n\003TAG\020\000\022\t\n\005FIELD\020\001\022\r\n" +
|
"\014\"I\n\024IntervalMonthDayNano\022\016\n\006months\030\001 \001(" +
|
||||||
"\tTIMESTAMP\020\002*\306\003\n\016ColumnDataType\022\013\n\007BOOLE" +
|
"\005\022\014\n\004days\030\002 \001(\005\022\023\n\013nanoseconds\030\003 \001(\003*1\n\014" +
|
||||||
"AN\020\000\022\010\n\004INT8\020\001\022\t\n\005INT16\020\002\022\t\n\005INT32\020\003\022\t\n\005" +
|
"SemanticType\022\007\n\003TAG\020\000\022\t\n\005FIELD\020\001\022\r\n\tTIME" +
|
||||||
"INT64\020\004\022\t\n\005UINT8\020\005\022\n\n\006UINT16\020\006\022\n\n\006UINT32" +
|
"STAMP\020\002*\306\003\n\016ColumnDataType\022\013\n\007BOOLEAN\020\000\022" +
|
||||||
"\020\007\022\n\n\006UINT64\020\010\022\013\n\007FLOAT32\020\t\022\013\n\007FLOAT64\020\n" +
|
"\010\n\004INT8\020\001\022\t\n\005INT16\020\002\022\t\n\005INT32\020\003\022\t\n\005INT64" +
|
||||||
"\022\n\n\006BINARY\020\013\022\n\n\006STRING\020\014\022\010\n\004DATE\020\r\022\014\n\010DA" +
|
"\020\004\022\t\n\005UINT8\020\005\022\n\n\006UINT16\020\006\022\n\n\006UINT32\020\007\022\n\n" +
|
||||||
"TETIME\020\016\022\024\n\020TIMESTAMP_SECOND\020\017\022\031\n\025TIMEST" +
|
"\006UINT64\020\010\022\013\n\007FLOAT32\020\t\022\013\n\007FLOAT64\020\n\022\n\n\006B" +
|
||||||
"AMP_MILLISECOND\020\020\022\031\n\025TIMESTAMP_MICROSECO" +
|
"INARY\020\013\022\n\n\006STRING\020\014\022\010\n\004DATE\020\r\022\014\n\010DATETIM" +
|
||||||
"ND\020\021\022\030\n\024TIMESTAMP_NANOSECOND\020\022\022\017\n\013TIME_S" +
|
"E\020\016\022\024\n\020TIMESTAMP_SECOND\020\017\022\031\n\025TIMESTAMP_M" +
|
||||||
"ECOND\020\023\022\024\n\020TIME_MILLISECOND\020\024\022\024\n\020TIME_MI" +
|
"ILLISECOND\020\020\022\031\n\025TIMESTAMP_MICROSECOND\020\021\022" +
|
||||||
"CROSECOND\020\025\022\023\n\017TIME_NANOSECOND\020\026\022\027\n\023INTE" +
|
"\030\n\024TIMESTAMP_NANOSECOND\020\022\022\017\n\013TIME_SECOND" +
|
||||||
"RVAL_YEAR_MONTH\020\027\022\025\n\021INTERVAL_DAY_TIME\020\030" +
|
"\020\023\022\024\n\020TIME_MILLISECOND\020\024\022\024\n\020TIME_MICROSE" +
|
||||||
"\022\033\n\027INTERVAL_MONTH_DAY_NANO\020\031BO\n\016io.grep" +
|
"COND\020\025\022\023\n\017TIME_NANOSECOND\020\026\022\027\n\023INTERVAL_" +
|
||||||
"time.v1B\006CommonZ5github.com/GreptimeTeam" +
|
"YEAR_MONTH\020\027\022\025\n\021INTERVAL_DAY_TIME\020\030\022\033\n\027I" +
|
||||||
"/greptime-proto/go/greptime/v1b\006proto3"
|
"NTERVAL_MONTH_DAY_NANO\020\031BO\n\016io.greptime." +
|
||||||
|
"v1B\006CommonZ5github.com/GreptimeTeam/grep" +
|
||||||
|
"time-proto/go/greptime/v1b\006proto3"
|
||||||
};
|
};
|
||||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||||
.internalBuildGeneratedFileFrom(descriptorData,
|
.internalBuildGeneratedFileFrom(descriptorData,
|
||||||
@@ -7579,6 +8217,12 @@ public final class Common {
|
|||||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||||
internal_static_greptime_v1_ColumnDef_descriptor,
|
internal_static_greptime_v1_ColumnDef_descriptor,
|
||||||
new java.lang.String[] { "Name", "Datatype", "IsNullable", "DefaultConstraint", });
|
new java.lang.String[] { "Name", "Datatype", "IsNullable", "DefaultConstraint", });
|
||||||
|
internal_static_greptime_v1_IntervalMonthDayNano_descriptor =
|
||||||
|
getDescriptor().getMessageTypes().get(9);
|
||||||
|
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", });
|
||||||
}
|
}
|
||||||
|
|
||||||
// @@protoc_insertion_point(outer_class_scope)
|
// @@protoc_insertion_point(outer_class_scope)
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -3023,6 +3023,43 @@ public final class RowData {
|
|||||||
*/
|
*/
|
||||||
long getTimeNanosecondValue();
|
long getTimeNanosecondValue();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>int32 interval_year_month_values = 24;</code>
|
||||||
|
* @return Whether the intervalYearMonthValues field is set.
|
||||||
|
*/
|
||||||
|
boolean hasIntervalYearMonthValues();
|
||||||
|
/**
|
||||||
|
* <code>int32 interval_year_month_values = 24;</code>
|
||||||
|
* @return The intervalYearMonthValues.
|
||||||
|
*/
|
||||||
|
int getIntervalYearMonthValues();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>int64 interval_day_time_values = 25;</code>
|
||||||
|
* @return Whether the intervalDayTimeValues field is set.
|
||||||
|
*/
|
||||||
|
boolean hasIntervalDayTimeValues();
|
||||||
|
/**
|
||||||
|
* <code>int64 interval_day_time_values = 25;</code>
|
||||||
|
* @return The intervalDayTimeValues.
|
||||||
|
*/
|
||||||
|
long getIntervalDayTimeValues();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>.greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||||
|
* @return Whether the intervalMonthDayNanoValues field is set.
|
||||||
|
*/
|
||||||
|
boolean hasIntervalMonthDayNanoValues();
|
||||||
|
/**
|
||||||
|
* <code>.greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||||
|
* @return The intervalMonthDayNanoValues.
|
||||||
|
*/
|
||||||
|
io.greptime.v1.Common.IntervalMonthDayNano getIntervalMonthDayNanoValues();
|
||||||
|
/**
|
||||||
|
* <code>.greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||||
|
*/
|
||||||
|
io.greptime.v1.Common.IntervalMonthDayNanoOrBuilder getIntervalMonthDayNanoValuesOrBuilder();
|
||||||
|
|
||||||
public io.greptime.v1.RowData.Value.ValueDataCase getValueDataCase();
|
public io.greptime.v1.RowData.Value.ValueDataCase getValueDataCase();
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
@@ -3186,6 +3223,30 @@ public final class RowData {
|
|||||||
valueDataCase_ = 23;
|
valueDataCase_ = 23;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case 192: {
|
||||||
|
valueData_ = input.readInt32();
|
||||||
|
valueDataCase_ = 24;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 200: {
|
||||||
|
valueData_ = input.readInt64();
|
||||||
|
valueDataCase_ = 25;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case 210: {
|
||||||
|
io.greptime.v1.Common.IntervalMonthDayNano.Builder subBuilder = null;
|
||||||
|
if (valueDataCase_ == 26) {
|
||||||
|
subBuilder = ((io.greptime.v1.Common.IntervalMonthDayNano) valueData_).toBuilder();
|
||||||
|
}
|
||||||
|
valueData_ =
|
||||||
|
input.readMessage(io.greptime.v1.Common.IntervalMonthDayNano.parser(), extensionRegistry);
|
||||||
|
if (subBuilder != null) {
|
||||||
|
subBuilder.mergeFrom((io.greptime.v1.Common.IntervalMonthDayNano) valueData_);
|
||||||
|
valueData_ = subBuilder.buildPartial();
|
||||||
|
}
|
||||||
|
valueDataCase_ = 26;
|
||||||
|
break;
|
||||||
|
}
|
||||||
default: {
|
default: {
|
||||||
if (!parseUnknownField(
|
if (!parseUnknownField(
|
||||||
input, unknownFields, extensionRegistry, tag)) {
|
input, unknownFields, extensionRegistry, tag)) {
|
||||||
@@ -3248,6 +3309,9 @@ public final class RowData {
|
|||||||
TIME_MILLISECOND_VALUE(21),
|
TIME_MILLISECOND_VALUE(21),
|
||||||
TIME_MICROSECOND_VALUE(22),
|
TIME_MICROSECOND_VALUE(22),
|
||||||
TIME_NANOSECOND_VALUE(23),
|
TIME_NANOSECOND_VALUE(23),
|
||||||
|
INTERVAL_YEAR_MONTH_VALUES(24),
|
||||||
|
INTERVAL_DAY_TIME_VALUES(25),
|
||||||
|
INTERVAL_MONTH_DAY_NANO_VALUES(26),
|
||||||
VALUEDATA_NOT_SET(0);
|
VALUEDATA_NOT_SET(0);
|
||||||
private final int value;
|
private final int value;
|
||||||
private ValueDataCase(int value) {
|
private ValueDataCase(int value) {
|
||||||
@@ -3288,6 +3352,9 @@ public final class RowData {
|
|||||||
case 21: return TIME_MILLISECOND_VALUE;
|
case 21: return TIME_MILLISECOND_VALUE;
|
||||||
case 22: return TIME_MICROSECOND_VALUE;
|
case 22: return TIME_MICROSECOND_VALUE;
|
||||||
case 23: return TIME_NANOSECOND_VALUE;
|
case 23: return TIME_NANOSECOND_VALUE;
|
||||||
|
case 24: return INTERVAL_YEAR_MONTH_VALUES;
|
||||||
|
case 25: return INTERVAL_DAY_TIME_VALUES;
|
||||||
|
case 26: return INTERVAL_MONTH_DAY_NANO_VALUES;
|
||||||
case 0: return VALUEDATA_NOT_SET;
|
case 0: return VALUEDATA_NOT_SET;
|
||||||
default: return null;
|
default: return null;
|
||||||
}
|
}
|
||||||
@@ -3817,6 +3884,79 @@ public final class RowData {
|
|||||||
return 0L;
|
return 0L;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static final int INTERVAL_YEAR_MONTH_VALUES_FIELD_NUMBER = 24;
|
||||||
|
/**
|
||||||
|
* <code>int32 interval_year_month_values = 24;</code>
|
||||||
|
* @return Whether the intervalYearMonthValues field is set.
|
||||||
|
*/
|
||||||
|
@java.lang.Override
|
||||||
|
public boolean hasIntervalYearMonthValues() {
|
||||||
|
return valueDataCase_ == 24;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <code>int32 interval_year_month_values = 24;</code>
|
||||||
|
* @return The intervalYearMonthValues.
|
||||||
|
*/
|
||||||
|
@java.lang.Override
|
||||||
|
public int getIntervalYearMonthValues() {
|
||||||
|
if (valueDataCase_ == 24) {
|
||||||
|
return (java.lang.Integer) valueData_;
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static final int INTERVAL_DAY_TIME_VALUES_FIELD_NUMBER = 25;
|
||||||
|
/**
|
||||||
|
* <code>int64 interval_day_time_values = 25;</code>
|
||||||
|
* @return Whether the intervalDayTimeValues field is set.
|
||||||
|
*/
|
||||||
|
@java.lang.Override
|
||||||
|
public boolean hasIntervalDayTimeValues() {
|
||||||
|
return valueDataCase_ == 25;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <code>int64 interval_day_time_values = 25;</code>
|
||||||
|
* @return The intervalDayTimeValues.
|
||||||
|
*/
|
||||||
|
@java.lang.Override
|
||||||
|
public long getIntervalDayTimeValues() {
|
||||||
|
if (valueDataCase_ == 25) {
|
||||||
|
return (java.lang.Long) valueData_;
|
||||||
|
}
|
||||||
|
return 0L;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static final int INTERVAL_MONTH_DAY_NANO_VALUES_FIELD_NUMBER = 26;
|
||||||
|
/**
|
||||||
|
* <code>.greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||||
|
* @return Whether the intervalMonthDayNanoValues field is set.
|
||||||
|
*/
|
||||||
|
@java.lang.Override
|
||||||
|
public boolean hasIntervalMonthDayNanoValues() {
|
||||||
|
return valueDataCase_ == 26;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <code>.greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||||
|
* @return The intervalMonthDayNanoValues.
|
||||||
|
*/
|
||||||
|
@java.lang.Override
|
||||||
|
public io.greptime.v1.Common.IntervalMonthDayNano getIntervalMonthDayNanoValues() {
|
||||||
|
if (valueDataCase_ == 26) {
|
||||||
|
return (io.greptime.v1.Common.IntervalMonthDayNano) valueData_;
|
||||||
|
}
|
||||||
|
return io.greptime.v1.Common.IntervalMonthDayNano.getDefaultInstance();
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <code>.greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||||
|
*/
|
||||||
|
@java.lang.Override
|
||||||
|
public io.greptime.v1.Common.IntervalMonthDayNanoOrBuilder getIntervalMonthDayNanoValuesOrBuilder() {
|
||||||
|
if (valueDataCase_ == 26) {
|
||||||
|
return (io.greptime.v1.Common.IntervalMonthDayNano) valueData_;
|
||||||
|
}
|
||||||
|
return io.greptime.v1.Common.IntervalMonthDayNano.getDefaultInstance();
|
||||||
|
}
|
||||||
|
|
||||||
private byte memoizedIsInitialized = -1;
|
private byte memoizedIsInitialized = -1;
|
||||||
@java.lang.Override
|
@java.lang.Override
|
||||||
public final boolean isInitialized() {
|
public final boolean isInitialized() {
|
||||||
@@ -3922,6 +4062,17 @@ public final class RowData {
|
|||||||
output.writeInt64(
|
output.writeInt64(
|
||||||
23, (long)((java.lang.Long) valueData_));
|
23, (long)((java.lang.Long) valueData_));
|
||||||
}
|
}
|
||||||
|
if (valueDataCase_ == 24) {
|
||||||
|
output.writeInt32(
|
||||||
|
24, (int)((java.lang.Integer) valueData_));
|
||||||
|
}
|
||||||
|
if (valueDataCase_ == 25) {
|
||||||
|
output.writeInt64(
|
||||||
|
25, (long)((java.lang.Long) valueData_));
|
||||||
|
}
|
||||||
|
if (valueDataCase_ == 26) {
|
||||||
|
output.writeMessage(26, (io.greptime.v1.Common.IntervalMonthDayNano) valueData_);
|
||||||
|
}
|
||||||
unknownFields.writeTo(output);
|
unknownFields.writeTo(output);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -4044,6 +4195,20 @@ public final class RowData {
|
|||||||
.computeInt64Size(
|
.computeInt64Size(
|
||||||
23, (long)((java.lang.Long) valueData_));
|
23, (long)((java.lang.Long) valueData_));
|
||||||
}
|
}
|
||||||
|
if (valueDataCase_ == 24) {
|
||||||
|
size += com.google.protobuf.CodedOutputStream
|
||||||
|
.computeInt32Size(
|
||||||
|
24, (int)((java.lang.Integer) valueData_));
|
||||||
|
}
|
||||||
|
if (valueDataCase_ == 25) {
|
||||||
|
size += com.google.protobuf.CodedOutputStream
|
||||||
|
.computeInt64Size(
|
||||||
|
25, (long)((java.lang.Long) valueData_));
|
||||||
|
}
|
||||||
|
if (valueDataCase_ == 26) {
|
||||||
|
size += com.google.protobuf.CodedOutputStream
|
||||||
|
.computeMessageSize(26, (io.greptime.v1.Common.IntervalMonthDayNano) valueData_);
|
||||||
|
}
|
||||||
size += unknownFields.getSerializedSize();
|
size += unknownFields.getSerializedSize();
|
||||||
memoizedSize = size;
|
memoizedSize = size;
|
||||||
return size;
|
return size;
|
||||||
@@ -4155,6 +4320,18 @@ public final class RowData {
|
|||||||
if (getTimeNanosecondValue()
|
if (getTimeNanosecondValue()
|
||||||
!= other.getTimeNanosecondValue()) return false;
|
!= other.getTimeNanosecondValue()) return false;
|
||||||
break;
|
break;
|
||||||
|
case 24:
|
||||||
|
if (getIntervalYearMonthValues()
|
||||||
|
!= other.getIntervalYearMonthValues()) return false;
|
||||||
|
break;
|
||||||
|
case 25:
|
||||||
|
if (getIntervalDayTimeValues()
|
||||||
|
!= other.getIntervalDayTimeValues()) return false;
|
||||||
|
break;
|
||||||
|
case 26:
|
||||||
|
if (!getIntervalMonthDayNanoValues()
|
||||||
|
.equals(other.getIntervalMonthDayNanoValues())) return false;
|
||||||
|
break;
|
||||||
case 0:
|
case 0:
|
||||||
default:
|
default:
|
||||||
}
|
}
|
||||||
@@ -4276,6 +4453,19 @@ public final class RowData {
|
|||||||
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
||||||
getTimeNanosecondValue());
|
getTimeNanosecondValue());
|
||||||
break;
|
break;
|
||||||
|
case 24:
|
||||||
|
hash = (37 * hash) + INTERVAL_YEAR_MONTH_VALUES_FIELD_NUMBER;
|
||||||
|
hash = (53 * hash) + getIntervalYearMonthValues();
|
||||||
|
break;
|
||||||
|
case 25:
|
||||||
|
hash = (37 * hash) + INTERVAL_DAY_TIME_VALUES_FIELD_NUMBER;
|
||||||
|
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
||||||
|
getIntervalDayTimeValues());
|
||||||
|
break;
|
||||||
|
case 26:
|
||||||
|
hash = (37 * hash) + INTERVAL_MONTH_DAY_NANO_VALUES_FIELD_NUMBER;
|
||||||
|
hash = (53 * hash) + getIntervalMonthDayNanoValues().hashCode();
|
||||||
|
break;
|
||||||
case 0:
|
case 0:
|
||||||
default:
|
default:
|
||||||
}
|
}
|
||||||
@@ -4509,6 +4699,19 @@ public final class RowData {
|
|||||||
if (valueDataCase_ == 23) {
|
if (valueDataCase_ == 23) {
|
||||||
result.valueData_ = valueData_;
|
result.valueData_ = valueData_;
|
||||||
}
|
}
|
||||||
|
if (valueDataCase_ == 24) {
|
||||||
|
result.valueData_ = valueData_;
|
||||||
|
}
|
||||||
|
if (valueDataCase_ == 25) {
|
||||||
|
result.valueData_ = valueData_;
|
||||||
|
}
|
||||||
|
if (valueDataCase_ == 26) {
|
||||||
|
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
||||||
|
result.valueData_ = valueData_;
|
||||||
|
} else {
|
||||||
|
result.valueData_ = intervalMonthDayNanoValuesBuilder_.build();
|
||||||
|
}
|
||||||
|
}
|
||||||
result.valueDataCase_ = valueDataCase_;
|
result.valueDataCase_ = valueDataCase_;
|
||||||
onBuilt();
|
onBuilt();
|
||||||
return result;
|
return result;
|
||||||
@@ -4653,6 +4856,18 @@ public final class RowData {
|
|||||||
setTimeNanosecondValue(other.getTimeNanosecondValue());
|
setTimeNanosecondValue(other.getTimeNanosecondValue());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case INTERVAL_YEAR_MONTH_VALUES: {
|
||||||
|
setIntervalYearMonthValues(other.getIntervalYearMonthValues());
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case INTERVAL_DAY_TIME_VALUES: {
|
||||||
|
setIntervalDayTimeValues(other.getIntervalDayTimeValues());
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case INTERVAL_MONTH_DAY_NANO_VALUES: {
|
||||||
|
mergeIntervalMonthDayNanoValues(other.getIntervalMonthDayNanoValues());
|
||||||
|
break;
|
||||||
|
}
|
||||||
case VALUEDATA_NOT_SET: {
|
case VALUEDATA_NOT_SET: {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -5702,6 +5917,230 @@ public final class RowData {
|
|||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>int32 interval_year_month_values = 24;</code>
|
||||||
|
* @return Whether the intervalYearMonthValues field is set.
|
||||||
|
*/
|
||||||
|
public boolean hasIntervalYearMonthValues() {
|
||||||
|
return valueDataCase_ == 24;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <code>int32 interval_year_month_values = 24;</code>
|
||||||
|
* @return The intervalYearMonthValues.
|
||||||
|
*/
|
||||||
|
public int getIntervalYearMonthValues() {
|
||||||
|
if (valueDataCase_ == 24) {
|
||||||
|
return (java.lang.Integer) valueData_;
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <code>int32 interval_year_month_values = 24;</code>
|
||||||
|
* @param value The intervalYearMonthValues to set.
|
||||||
|
* @return This builder for chaining.
|
||||||
|
*/
|
||||||
|
public Builder setIntervalYearMonthValues(int value) {
|
||||||
|
valueDataCase_ = 24;
|
||||||
|
valueData_ = value;
|
||||||
|
onChanged();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <code>int32 interval_year_month_values = 24;</code>
|
||||||
|
* @return This builder for chaining.
|
||||||
|
*/
|
||||||
|
public Builder clearIntervalYearMonthValues() {
|
||||||
|
if (valueDataCase_ == 24) {
|
||||||
|
valueDataCase_ = 0;
|
||||||
|
valueData_ = null;
|
||||||
|
onChanged();
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <code>int64 interval_day_time_values = 25;</code>
|
||||||
|
* @return Whether the intervalDayTimeValues field is set.
|
||||||
|
*/
|
||||||
|
public boolean hasIntervalDayTimeValues() {
|
||||||
|
return valueDataCase_ == 25;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <code>int64 interval_day_time_values = 25;</code>
|
||||||
|
* @return The intervalDayTimeValues.
|
||||||
|
*/
|
||||||
|
public long getIntervalDayTimeValues() {
|
||||||
|
if (valueDataCase_ == 25) {
|
||||||
|
return (java.lang.Long) valueData_;
|
||||||
|
}
|
||||||
|
return 0L;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <code>int64 interval_day_time_values = 25;</code>
|
||||||
|
* @param value The intervalDayTimeValues to set.
|
||||||
|
* @return This builder for chaining.
|
||||||
|
*/
|
||||||
|
public Builder setIntervalDayTimeValues(long value) {
|
||||||
|
valueDataCase_ = 25;
|
||||||
|
valueData_ = value;
|
||||||
|
onChanged();
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <code>int64 interval_day_time_values = 25;</code>
|
||||||
|
* @return This builder for chaining.
|
||||||
|
*/
|
||||||
|
public Builder clearIntervalDayTimeValues() {
|
||||||
|
if (valueDataCase_ == 25) {
|
||||||
|
valueDataCase_ = 0;
|
||||||
|
valueData_ = null;
|
||||||
|
onChanged();
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
private com.google.protobuf.SingleFieldBuilderV3<
|
||||||
|
io.greptime.v1.Common.IntervalMonthDayNano, io.greptime.v1.Common.IntervalMonthDayNano.Builder, io.greptime.v1.Common.IntervalMonthDayNanoOrBuilder> intervalMonthDayNanoValuesBuilder_;
|
||||||
|
/**
|
||||||
|
* <code>.greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||||
|
* @return Whether the intervalMonthDayNanoValues field is set.
|
||||||
|
*/
|
||||||
|
@java.lang.Override
|
||||||
|
public boolean hasIntervalMonthDayNanoValues() {
|
||||||
|
return valueDataCase_ == 26;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <code>.greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||||
|
* @return The intervalMonthDayNanoValues.
|
||||||
|
*/
|
||||||
|
@java.lang.Override
|
||||||
|
public io.greptime.v1.Common.IntervalMonthDayNano getIntervalMonthDayNanoValues() {
|
||||||
|
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
||||||
|
if (valueDataCase_ == 26) {
|
||||||
|
return (io.greptime.v1.Common.IntervalMonthDayNano) valueData_;
|
||||||
|
}
|
||||||
|
return io.greptime.v1.Common.IntervalMonthDayNano.getDefaultInstance();
|
||||||
|
} else {
|
||||||
|
if (valueDataCase_ == 26) {
|
||||||
|
return intervalMonthDayNanoValuesBuilder_.getMessage();
|
||||||
|
}
|
||||||
|
return io.greptime.v1.Common.IntervalMonthDayNano.getDefaultInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <code>.greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||||
|
*/
|
||||||
|
public Builder setIntervalMonthDayNanoValues(io.greptime.v1.Common.IntervalMonthDayNano value) {
|
||||||
|
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
||||||
|
if (value == null) {
|
||||||
|
throw new NullPointerException();
|
||||||
|
}
|
||||||
|
valueData_ = value;
|
||||||
|
onChanged();
|
||||||
|
} else {
|
||||||
|
intervalMonthDayNanoValuesBuilder_.setMessage(value);
|
||||||
|
}
|
||||||
|
valueDataCase_ = 26;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <code>.greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||||
|
*/
|
||||||
|
public Builder setIntervalMonthDayNanoValues(
|
||||||
|
io.greptime.v1.Common.IntervalMonthDayNano.Builder builderForValue) {
|
||||||
|
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
||||||
|
valueData_ = builderForValue.build();
|
||||||
|
onChanged();
|
||||||
|
} else {
|
||||||
|
intervalMonthDayNanoValuesBuilder_.setMessage(builderForValue.build());
|
||||||
|
}
|
||||||
|
valueDataCase_ = 26;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <code>.greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||||
|
*/
|
||||||
|
public Builder mergeIntervalMonthDayNanoValues(io.greptime.v1.Common.IntervalMonthDayNano value) {
|
||||||
|
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
||||||
|
if (valueDataCase_ == 26 &&
|
||||||
|
valueData_ != io.greptime.v1.Common.IntervalMonthDayNano.getDefaultInstance()) {
|
||||||
|
valueData_ = io.greptime.v1.Common.IntervalMonthDayNano.newBuilder((io.greptime.v1.Common.IntervalMonthDayNano) valueData_)
|
||||||
|
.mergeFrom(value).buildPartial();
|
||||||
|
} else {
|
||||||
|
valueData_ = value;
|
||||||
|
}
|
||||||
|
onChanged();
|
||||||
|
} else {
|
||||||
|
if (valueDataCase_ == 26) {
|
||||||
|
intervalMonthDayNanoValuesBuilder_.mergeFrom(value);
|
||||||
|
} else {
|
||||||
|
intervalMonthDayNanoValuesBuilder_.setMessage(value);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
valueDataCase_ = 26;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <code>.greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||||
|
*/
|
||||||
|
public Builder clearIntervalMonthDayNanoValues() {
|
||||||
|
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
||||||
|
if (valueDataCase_ == 26) {
|
||||||
|
valueDataCase_ = 0;
|
||||||
|
valueData_ = null;
|
||||||
|
onChanged();
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if (valueDataCase_ == 26) {
|
||||||
|
valueDataCase_ = 0;
|
||||||
|
valueData_ = null;
|
||||||
|
}
|
||||||
|
intervalMonthDayNanoValuesBuilder_.clear();
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <code>.greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||||
|
*/
|
||||||
|
public io.greptime.v1.Common.IntervalMonthDayNano.Builder getIntervalMonthDayNanoValuesBuilder() {
|
||||||
|
return getIntervalMonthDayNanoValuesFieldBuilder().getBuilder();
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <code>.greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||||
|
*/
|
||||||
|
@java.lang.Override
|
||||||
|
public io.greptime.v1.Common.IntervalMonthDayNanoOrBuilder getIntervalMonthDayNanoValuesOrBuilder() {
|
||||||
|
if ((valueDataCase_ == 26) && (intervalMonthDayNanoValuesBuilder_ != null)) {
|
||||||
|
return intervalMonthDayNanoValuesBuilder_.getMessageOrBuilder();
|
||||||
|
} else {
|
||||||
|
if (valueDataCase_ == 26) {
|
||||||
|
return (io.greptime.v1.Common.IntervalMonthDayNano) valueData_;
|
||||||
|
}
|
||||||
|
return io.greptime.v1.Common.IntervalMonthDayNano.getDefaultInstance();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* <code>.greptime.v1.IntervalMonthDayNano interval_month_day_nano_values = 26;</code>
|
||||||
|
*/
|
||||||
|
private com.google.protobuf.SingleFieldBuilderV3<
|
||||||
|
io.greptime.v1.Common.IntervalMonthDayNano, io.greptime.v1.Common.IntervalMonthDayNano.Builder, io.greptime.v1.Common.IntervalMonthDayNanoOrBuilder>
|
||||||
|
getIntervalMonthDayNanoValuesFieldBuilder() {
|
||||||
|
if (intervalMonthDayNanoValuesBuilder_ == null) {
|
||||||
|
if (!(valueDataCase_ == 26)) {
|
||||||
|
valueData_ = io.greptime.v1.Common.IntervalMonthDayNano.getDefaultInstance();
|
||||||
|
}
|
||||||
|
intervalMonthDayNanoValuesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
||||||
|
io.greptime.v1.Common.IntervalMonthDayNano, io.greptime.v1.Common.IntervalMonthDayNano.Builder, io.greptime.v1.Common.IntervalMonthDayNanoOrBuilder>(
|
||||||
|
(io.greptime.v1.Common.IntervalMonthDayNano) valueData_,
|
||||||
|
getParentForChildren(),
|
||||||
|
isClean());
|
||||||
|
valueData_ = null;
|
||||||
|
}
|
||||||
|
valueDataCase_ = 26;
|
||||||
|
onChanged();;
|
||||||
|
return intervalMonthDayNanoValuesBuilder_;
|
||||||
|
}
|
||||||
@java.lang.Override
|
@java.lang.Override
|
||||||
public final Builder setUnknownFields(
|
public final Builder setUnknownFields(
|
||||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||||
@@ -5792,7 +6231,7 @@ public final class RowData {
|
|||||||
"\0162\033.greptime.v1.ColumnDataType\0220\n\rsemant" +
|
"\0162\033.greptime.v1.ColumnDataType\0220\n\rsemant" +
|
||||||
"ic_type\030\003 \001(\0162\031.greptime.v1.SemanticType" +
|
"ic_type\030\003 \001(\0162\031.greptime.v1.SemanticType" +
|
||||||
"\")\n\003Row\022\"\n\006values\030\001 \003(\0132\022.greptime.v1.Va" +
|
"\")\n\003Row\022\"\n\006values\030\001 \003(\0132\022.greptime.v1.Va" +
|
||||||
"lue\"\327\004\n\005Value\022\022\n\010i8_value\030\001 \001(\005H\000\022\023\n\ti16" +
|
"lue\"\356\005\n\005Value\022\022\n\010i8_value\030\001 \001(\005H\000\022\023\n\ti16" +
|
||||||
"_value\030\002 \001(\005H\000\022\023\n\ti32_value\030\003 \001(\005H\000\022\023\n\ti" +
|
"_value\030\002 \001(\005H\000\022\023\n\ti32_value\030\003 \001(\005H\000\022\023\n\ti" +
|
||||||
"64_value\030\004 \001(\003H\000\022\022\n\010u8_value\030\005 \001(\rH\000\022\023\n\t" +
|
"64_value\030\004 \001(\003H\000\022\022\n\010u8_value\030\005 \001(\rH\000\022\023\n\t" +
|
||||||
"u16_value\030\006 \001(\rH\000\022\023\n\tu32_value\030\007 \001(\rH\000\022\023" +
|
"u16_value\030\006 \001(\rH\000\022\023\n\tu32_value\030\007 \001(\rH\000\022\023" +
|
||||||
@@ -5806,10 +6245,14 @@ public final class RowData {
|
|||||||
"osecond_value\030\023 \001(\003H\000\022\033\n\021time_second_val" +
|
"osecond_value\030\023 \001(\003H\000\022\033\n\021time_second_val" +
|
||||||
"ue\030\024 \001(\003H\000\022 \n\026time_millisecond_value\030\025 \001" +
|
"ue\030\024 \001(\003H\000\022 \n\026time_millisecond_value\030\025 \001" +
|
||||||
"(\003H\000\022 \n\026time_microsecond_value\030\026 \001(\003H\000\022\037" +
|
"(\003H\000\022 \n\026time_microsecond_value\030\026 \001(\003H\000\022\037" +
|
||||||
"\n\025time_nanosecond_value\030\027 \001(\003H\000B\014\n\nvalue" +
|
"\n\025time_nanosecond_value\030\027 \001(\003H\000\022$\n\032inter" +
|
||||||
"_dataBP\n\016io.greptime.v1B\007RowDataZ5github" +
|
"val_year_month_values\030\030 \001(\005H\000\022\"\n\030interva" +
|
||||||
".com/GreptimeTeam/greptime-proto/go/grep" +
|
"l_day_time_values\030\031 \001(\003H\000\022K\n\036interval_mo" +
|
||||||
"time/v1b\006proto3"
|
"nth_day_nano_values\030\032 \001(\0132!.greptime.v1." +
|
||||||
|
"IntervalMonthDayNanoH\000B\014\n\nvalue_dataBP\n\016" +
|
||||||
|
"io.greptime.v1B\007RowDataZ5github.com/Grep" +
|
||||||
|
"timeTeam/greptime-proto/go/greptime/v1b\006" +
|
||||||
|
"proto3"
|
||||||
};
|
};
|
||||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||||
.internalBuildGeneratedFileFrom(descriptorData,
|
.internalBuildGeneratedFileFrom(descriptorData,
|
||||||
@@ -5839,7 +6282,7 @@ public final class RowData {
|
|||||||
internal_static_greptime_v1_Value_fieldAccessorTable = new
|
internal_static_greptime_v1_Value_fieldAccessorTable = new
|
||||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||||
internal_static_greptime_v1_Value_descriptor,
|
internal_static_greptime_v1_Value_descriptor,
|
||||||
new java.lang.String[] { "I8Value", "I16Value", "I32Value", "I64Value", "U8Value", "U16Value", "U32Value", "U64Value", "F32Value", "F64Value", "BoolValue", "BinaryValue", "StringValue", "DateValue", "DatetimeValue", "TsSecondValue", "TsMillisecondValue", "TsMicrosecondValue", "TsNanosecondValue", "TimeSecondValue", "TimeMillisecondValue", "TimeMicrosecondValue", "TimeNanosecondValue", "ValueData", });
|
new java.lang.String[] { "I8Value", "I16Value", "I32Value", "I64Value", "U8Value", "U16Value", "U32Value", "U64Value", "F32Value", "F64Value", "BoolValue", "BinaryValue", "StringValue", "DateValue", "DatetimeValue", "TsSecondValue", "TsMillisecondValue", "TsMicrosecondValue", "TsNanosecondValue", "TimeSecondValue", "TimeMillisecondValue", "TimeMicrosecondValue", "TimeNanosecondValue", "IntervalYearMonthValues", "IntervalDayTimeValues", "IntervalMonthDayNanoValues", "ValueData", });
|
||||||
io.greptime.v1.Common.getDescriptor();
|
io.greptime.v1.Common.getDescriptor();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -77,9 +77,3 @@ message Column {
|
|||||||
// Helpful in creating vector from column.
|
// Helpful in creating vector from column.
|
||||||
ColumnDataType datatype = 5;
|
ColumnDataType datatype = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
message IntervalMonthDayNano {
|
|
||||||
int32 months = 1;
|
|
||||||
int32 days = 2;
|
|
||||||
int64 nanoseconds = 3;
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -103,3 +103,9 @@ enum ColumnDataType {
|
|||||||
INTERVAL_DAY_TIME = 24;
|
INTERVAL_DAY_TIME = 24;
|
||||||
INTERVAL_MONTH_DAY_NANO = 25;
|
INTERVAL_MONTH_DAY_NANO = 25;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message IntervalMonthDayNano {
|
||||||
|
int32 months = 1;
|
||||||
|
int32 days = 2;
|
||||||
|
int64 nanoseconds = 3;
|
||||||
|
}
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ message GreptimeRequest {
|
|||||||
DdlRequest ddl = 4;
|
DdlRequest ddl = 4;
|
||||||
DeleteRequests deletes = 5;
|
DeleteRequests deletes = 5;
|
||||||
RowInsertRequests row_inserts = 6;
|
RowInsertRequests row_inserts = 6;
|
||||||
RowDeleteRequest row_delete = 7;
|
RowDeleteRequests row_deletes = 7;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -109,6 +109,10 @@ message RowInsertRequest {
|
|||||||
uint32 region_number = 3;
|
uint32 region_number = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message RowDeleteRequests {
|
||||||
|
repeated RowDeleteRequest deletes = 1;
|
||||||
|
}
|
||||||
|
|
||||||
message RowDeleteRequest {
|
message RowDeleteRequest {
|
||||||
// The table name to delete from. Catalog name and schema name are in the
|
// The table name to delete from. Catalog name and schema name are in the
|
||||||
// `RequestHeader`.
|
// `RequestHeader`.
|
||||||
|
|||||||
@@ -66,5 +66,8 @@ message Value {
|
|||||||
int64 time_millisecond_value = 21;
|
int64 time_millisecond_value = 21;
|
||||||
int64 time_microsecond_value = 22;
|
int64 time_microsecond_value = 22;
|
||||||
int64 time_nanosecond_value = 23;
|
int64 time_nanosecond_value = 23;
|
||||||
|
int32 interval_year_month_values = 24;
|
||||||
|
int64 interval_day_time_values = 25;
|
||||||
|
IntervalMonthDayNano interval_month_day_nano_values = 26;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user