feat: define CommentOn task (#295)
Signed-off-by: Ruihang Xia <waynestxia@gmail.com> Co-authored-by: Ruihang Xia <waynestxia@gmail.com>
This commit is contained in:
+770
-220
File diff suppressed because it is too large
Load Diff
@@ -70,6 +70,9 @@ extern AlterTableExprDefaultTypeInternal _AlterTableExpr_default_instance_;
|
|||||||
class ColumnDef;
|
class ColumnDef;
|
||||||
struct ColumnDefDefaultTypeInternal;
|
struct ColumnDefDefaultTypeInternal;
|
||||||
extern ColumnDefDefaultTypeInternal _ColumnDef_default_instance_;
|
extern ColumnDefDefaultTypeInternal _ColumnDef_default_instance_;
|
||||||
|
class CommentOnExpr;
|
||||||
|
struct CommentOnExprDefaultTypeInternal;
|
||||||
|
extern CommentOnExprDefaultTypeInternal _CommentOnExpr_default_instance_;
|
||||||
class CreateDatabaseExpr;
|
class CreateDatabaseExpr;
|
||||||
struct CreateDatabaseExprDefaultTypeInternal;
|
struct CreateDatabaseExprDefaultTypeInternal;
|
||||||
extern CreateDatabaseExprDefaultTypeInternal _CreateDatabaseExpr_default_instance_;
|
extern CreateDatabaseExprDefaultTypeInternal _CreateDatabaseExpr_default_instance_;
|
||||||
@@ -217,6 +220,7 @@ template<> ::greptime::v1::AddColumns* Arena::CreateMaybeMessage<::greptime::v1:
|
|||||||
template<> ::greptime::v1::AlterDatabaseExpr* Arena::CreateMaybeMessage<::greptime::v1::AlterDatabaseExpr>(Arena*);
|
template<> ::greptime::v1::AlterDatabaseExpr* Arena::CreateMaybeMessage<::greptime::v1::AlterDatabaseExpr>(Arena*);
|
||||||
template<> ::greptime::v1::AlterTableExpr* Arena::CreateMaybeMessage<::greptime::v1::AlterTableExpr>(Arena*);
|
template<> ::greptime::v1::AlterTableExpr* Arena::CreateMaybeMessage<::greptime::v1::AlterTableExpr>(Arena*);
|
||||||
template<> ::greptime::v1::ColumnDef* Arena::CreateMaybeMessage<::greptime::v1::ColumnDef>(Arena*);
|
template<> ::greptime::v1::ColumnDef* Arena::CreateMaybeMessage<::greptime::v1::ColumnDef>(Arena*);
|
||||||
|
template<> ::greptime::v1::CommentOnExpr* Arena::CreateMaybeMessage<::greptime::v1::CommentOnExpr>(Arena*);
|
||||||
template<> ::greptime::v1::CreateDatabaseExpr* Arena::CreateMaybeMessage<::greptime::v1::CreateDatabaseExpr>(Arena*);
|
template<> ::greptime::v1::CreateDatabaseExpr* Arena::CreateMaybeMessage<::greptime::v1::CreateDatabaseExpr>(Arena*);
|
||||||
template<> ::greptime::v1::CreateDatabaseExpr_OptionsEntry_DoNotUse* Arena::CreateMaybeMessage<::greptime::v1::CreateDatabaseExpr_OptionsEntry_DoNotUse>(Arena*);
|
template<> ::greptime::v1::CreateDatabaseExpr_OptionsEntry_DoNotUse* Arena::CreateMaybeMessage<::greptime::v1::CreateDatabaseExpr_OptionsEntry_DoNotUse>(Arena*);
|
||||||
template<> ::greptime::v1::CreateFlowExpr* Arena::CreateMaybeMessage<::greptime::v1::CreateFlowExpr>(Arena*);
|
template<> ::greptime::v1::CreateFlowExpr* Arena::CreateMaybeMessage<::greptime::v1::CreateFlowExpr>(Arena*);
|
||||||
@@ -366,6 +370,32 @@ inline bool SkippingIndexType_Parse(
|
|||||||
return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<SkippingIndexType>(
|
return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<SkippingIndexType>(
|
||||||
SkippingIndexType_descriptor(), name, value);
|
SkippingIndexType_descriptor(), name, value);
|
||||||
}
|
}
|
||||||
|
enum CommentObjectType : int {
|
||||||
|
TABLE = 0,
|
||||||
|
COLUMN = 1,
|
||||||
|
FLOW = 2,
|
||||||
|
CommentObjectType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
|
||||||
|
CommentObjectType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
|
||||||
|
};
|
||||||
|
bool CommentObjectType_IsValid(int value);
|
||||||
|
constexpr CommentObjectType CommentObjectType_MIN = TABLE;
|
||||||
|
constexpr CommentObjectType CommentObjectType_MAX = FLOW;
|
||||||
|
constexpr int CommentObjectType_ARRAYSIZE = CommentObjectType_MAX + 1;
|
||||||
|
|
||||||
|
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CommentObjectType_descriptor();
|
||||||
|
template<typename T>
|
||||||
|
inline const std::string& CommentObjectType_Name(T enum_t_value) {
|
||||||
|
static_assert(::std::is_same<T, CommentObjectType>::value ||
|
||||||
|
::std::is_integral<T>::value,
|
||||||
|
"Incorrect type passed to function CommentObjectType_Name.");
|
||||||
|
return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
|
||||||
|
CommentObjectType_descriptor(), enum_t_value);
|
||||||
|
}
|
||||||
|
inline bool CommentObjectType_Parse(
|
||||||
|
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CommentObjectType* value) {
|
||||||
|
return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<CommentObjectType>(
|
||||||
|
CommentObjectType_descriptor(), name, value);
|
||||||
|
}
|
||||||
// ===================================================================
|
// ===================================================================
|
||||||
|
|
||||||
class DdlRequest final :
|
class DdlRequest final :
|
||||||
@@ -422,6 +452,7 @@ class DdlRequest final :
|
|||||||
kCreateView = 10,
|
kCreateView = 10,
|
||||||
kDropView = 11,
|
kDropView = 11,
|
||||||
kAlterDatabase = 12,
|
kAlterDatabase = 12,
|
||||||
|
kCommentOn = 13,
|
||||||
EXPR_NOT_SET = 0,
|
EXPR_NOT_SET = 0,
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -513,6 +544,7 @@ class DdlRequest final :
|
|||||||
kCreateViewFieldNumber = 10,
|
kCreateViewFieldNumber = 10,
|
||||||
kDropViewFieldNumber = 11,
|
kDropViewFieldNumber = 11,
|
||||||
kAlterDatabaseFieldNumber = 12,
|
kAlterDatabaseFieldNumber = 12,
|
||||||
|
kCommentOnFieldNumber = 13,
|
||||||
};
|
};
|
||||||
// .greptime.v1.CreateDatabaseExpr create_database = 1;
|
// .greptime.v1.CreateDatabaseExpr create_database = 1;
|
||||||
bool has_create_database() const;
|
bool has_create_database() const;
|
||||||
@@ -694,6 +726,24 @@ class DdlRequest final :
|
|||||||
::greptime::v1::AlterDatabaseExpr* alter_database);
|
::greptime::v1::AlterDatabaseExpr* alter_database);
|
||||||
::greptime::v1::AlterDatabaseExpr* unsafe_arena_release_alter_database();
|
::greptime::v1::AlterDatabaseExpr* unsafe_arena_release_alter_database();
|
||||||
|
|
||||||
|
// .greptime.v1.CommentOnExpr comment_on = 13;
|
||||||
|
bool has_comment_on() const;
|
||||||
|
private:
|
||||||
|
bool _internal_has_comment_on() const;
|
||||||
|
public:
|
||||||
|
void clear_comment_on();
|
||||||
|
const ::greptime::v1::CommentOnExpr& comment_on() const;
|
||||||
|
PROTOBUF_NODISCARD ::greptime::v1::CommentOnExpr* release_comment_on();
|
||||||
|
::greptime::v1::CommentOnExpr* mutable_comment_on();
|
||||||
|
void set_allocated_comment_on(::greptime::v1::CommentOnExpr* comment_on);
|
||||||
|
private:
|
||||||
|
const ::greptime::v1::CommentOnExpr& _internal_comment_on() const;
|
||||||
|
::greptime::v1::CommentOnExpr* _internal_mutable_comment_on();
|
||||||
|
public:
|
||||||
|
void unsafe_arena_set_allocated_comment_on(
|
||||||
|
::greptime::v1::CommentOnExpr* comment_on);
|
||||||
|
::greptime::v1::CommentOnExpr* unsafe_arena_release_comment_on();
|
||||||
|
|
||||||
void clear_expr();
|
void clear_expr();
|
||||||
ExprCase expr_case() const;
|
ExprCase expr_case() const;
|
||||||
// @@protoc_insertion_point(class_scope:greptime.v1.DdlRequest)
|
// @@protoc_insertion_point(class_scope:greptime.v1.DdlRequest)
|
||||||
@@ -709,6 +759,7 @@ class DdlRequest final :
|
|||||||
void set_has_create_view();
|
void set_has_create_view();
|
||||||
void set_has_drop_view();
|
void set_has_drop_view();
|
||||||
void set_has_alter_database();
|
void set_has_alter_database();
|
||||||
|
void set_has_comment_on();
|
||||||
|
|
||||||
inline bool has_expr() const;
|
inline bool has_expr() const;
|
||||||
inline void clear_has_expr();
|
inline void clear_has_expr();
|
||||||
@@ -730,6 +781,7 @@ class DdlRequest final :
|
|||||||
::greptime::v1::CreateViewExpr* create_view_;
|
::greptime::v1::CreateViewExpr* create_view_;
|
||||||
::greptime::v1::DropViewExpr* drop_view_;
|
::greptime::v1::DropViewExpr* drop_view_;
|
||||||
::greptime::v1::AlterDatabaseExpr* alter_database_;
|
::greptime::v1::AlterDatabaseExpr* alter_database_;
|
||||||
|
::greptime::v1::CommentOnExpr* comment_on_;
|
||||||
} expr_;
|
} expr_;
|
||||||
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];
|
||||||
@@ -9859,6 +9911,234 @@ class DropTriggerExpr final :
|
|||||||
union { Impl_ _impl_; };
|
union { Impl_ _impl_; };
|
||||||
friend struct ::TableStruct_greptime_2fv1_2fddl_2eproto;
|
friend struct ::TableStruct_greptime_2fv1_2fddl_2eproto;
|
||||||
};
|
};
|
||||||
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
class CommentOnExpr final :
|
||||||
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.CommentOnExpr) */ {
|
||||||
|
public:
|
||||||
|
inline CommentOnExpr() : CommentOnExpr(nullptr) {}
|
||||||
|
~CommentOnExpr() override;
|
||||||
|
explicit PROTOBUF_CONSTEXPR CommentOnExpr(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
||||||
|
|
||||||
|
CommentOnExpr(const CommentOnExpr& from);
|
||||||
|
CommentOnExpr(CommentOnExpr&& from) noexcept
|
||||||
|
: CommentOnExpr() {
|
||||||
|
*this = ::std::move(from);
|
||||||
|
}
|
||||||
|
|
||||||
|
inline CommentOnExpr& operator=(const CommentOnExpr& from) {
|
||||||
|
CopyFrom(from);
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
inline CommentOnExpr& operator=(CommentOnExpr&& 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 CommentOnExpr& default_instance() {
|
||||||
|
return *internal_default_instance();
|
||||||
|
}
|
||||||
|
static inline const CommentOnExpr* internal_default_instance() {
|
||||||
|
return reinterpret_cast<const CommentOnExpr*>(
|
||||||
|
&_CommentOnExpr_default_instance_);
|
||||||
|
}
|
||||||
|
static constexpr int kIndexInFileMessages =
|
||||||
|
52;
|
||||||
|
|
||||||
|
friend void swap(CommentOnExpr& a, CommentOnExpr& b) {
|
||||||
|
a.Swap(&b);
|
||||||
|
}
|
||||||
|
inline void Swap(CommentOnExpr* 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(CommentOnExpr* other) {
|
||||||
|
if (other == this) return;
|
||||||
|
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
||||||
|
InternalSwap(other);
|
||||||
|
}
|
||||||
|
|
||||||
|
// implements Message ----------------------------------------------
|
||||||
|
|
||||||
|
CommentOnExpr* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
||||||
|
return CreateMaybeMessage<CommentOnExpr>(arena);
|
||||||
|
}
|
||||||
|
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
||||||
|
void CopyFrom(const CommentOnExpr& from);
|
||||||
|
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
||||||
|
void MergeFrom( const CommentOnExpr& from) {
|
||||||
|
CommentOnExpr::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(CommentOnExpr* other);
|
||||||
|
|
||||||
|
private:
|
||||||
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
||||||
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
||||||
|
return "greptime.v1.CommentOnExpr";
|
||||||
|
}
|
||||||
|
protected:
|
||||||
|
explicit CommentOnExpr(::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 {
|
||||||
|
kCatalogNameFieldNumber = 1,
|
||||||
|
kSchemaNameFieldNumber = 2,
|
||||||
|
kObjectNameFieldNumber = 4,
|
||||||
|
kColumnNameFieldNumber = 5,
|
||||||
|
kCommentFieldNumber = 6,
|
||||||
|
kObjectTypeFieldNumber = 3,
|
||||||
|
};
|
||||||
|
// string catalog_name = 1;
|
||||||
|
void clear_catalog_name();
|
||||||
|
const std::string& catalog_name() const;
|
||||||
|
template <typename ArgT0 = const std::string&, typename... ArgT>
|
||||||
|
void set_catalog_name(ArgT0&& arg0, ArgT... args);
|
||||||
|
std::string* mutable_catalog_name();
|
||||||
|
PROTOBUF_NODISCARD std::string* release_catalog_name();
|
||||||
|
void set_allocated_catalog_name(std::string* catalog_name);
|
||||||
|
private:
|
||||||
|
const std::string& _internal_catalog_name() const;
|
||||||
|
inline PROTOBUF_ALWAYS_INLINE void _internal_set_catalog_name(const std::string& value);
|
||||||
|
std::string* _internal_mutable_catalog_name();
|
||||||
|
public:
|
||||||
|
|
||||||
|
// string schema_name = 2;
|
||||||
|
void clear_schema_name();
|
||||||
|
const std::string& schema_name() const;
|
||||||
|
template <typename ArgT0 = const std::string&, typename... ArgT>
|
||||||
|
void set_schema_name(ArgT0&& arg0, ArgT... args);
|
||||||
|
std::string* mutable_schema_name();
|
||||||
|
PROTOBUF_NODISCARD std::string* release_schema_name();
|
||||||
|
void set_allocated_schema_name(std::string* schema_name);
|
||||||
|
private:
|
||||||
|
const std::string& _internal_schema_name() const;
|
||||||
|
inline PROTOBUF_ALWAYS_INLINE void _internal_set_schema_name(const std::string& value);
|
||||||
|
std::string* _internal_mutable_schema_name();
|
||||||
|
public:
|
||||||
|
|
||||||
|
// string object_name = 4;
|
||||||
|
void clear_object_name();
|
||||||
|
const std::string& object_name() const;
|
||||||
|
template <typename ArgT0 = const std::string&, typename... ArgT>
|
||||||
|
void set_object_name(ArgT0&& arg0, ArgT... args);
|
||||||
|
std::string* mutable_object_name();
|
||||||
|
PROTOBUF_NODISCARD std::string* release_object_name();
|
||||||
|
void set_allocated_object_name(std::string* object_name);
|
||||||
|
private:
|
||||||
|
const std::string& _internal_object_name() const;
|
||||||
|
inline PROTOBUF_ALWAYS_INLINE void _internal_set_object_name(const std::string& value);
|
||||||
|
std::string* _internal_mutable_object_name();
|
||||||
|
public:
|
||||||
|
|
||||||
|
// string column_name = 5;
|
||||||
|
void clear_column_name();
|
||||||
|
const std::string& column_name() const;
|
||||||
|
template <typename ArgT0 = const std::string&, typename... ArgT>
|
||||||
|
void set_column_name(ArgT0&& arg0, ArgT... args);
|
||||||
|
std::string* mutable_column_name();
|
||||||
|
PROTOBUF_NODISCARD std::string* release_column_name();
|
||||||
|
void set_allocated_column_name(std::string* column_name);
|
||||||
|
private:
|
||||||
|
const std::string& _internal_column_name() const;
|
||||||
|
inline PROTOBUF_ALWAYS_INLINE void _internal_set_column_name(const std::string& value);
|
||||||
|
std::string* _internal_mutable_column_name();
|
||||||
|
public:
|
||||||
|
|
||||||
|
// string comment = 6;
|
||||||
|
void clear_comment();
|
||||||
|
const std::string& comment() const;
|
||||||
|
template <typename ArgT0 = const std::string&, typename... ArgT>
|
||||||
|
void set_comment(ArgT0&& arg0, ArgT... args);
|
||||||
|
std::string* mutable_comment();
|
||||||
|
PROTOBUF_NODISCARD std::string* release_comment();
|
||||||
|
void set_allocated_comment(std::string* comment);
|
||||||
|
private:
|
||||||
|
const std::string& _internal_comment() const;
|
||||||
|
inline PROTOBUF_ALWAYS_INLINE void _internal_set_comment(const std::string& value);
|
||||||
|
std::string* _internal_mutable_comment();
|
||||||
|
public:
|
||||||
|
|
||||||
|
// .greptime.v1.CommentObjectType object_type = 3;
|
||||||
|
void clear_object_type();
|
||||||
|
::greptime::v1::CommentObjectType object_type() const;
|
||||||
|
void set_object_type(::greptime::v1::CommentObjectType value);
|
||||||
|
private:
|
||||||
|
::greptime::v1::CommentObjectType _internal_object_type() const;
|
||||||
|
void _internal_set_object_type(::greptime::v1::CommentObjectType value);
|
||||||
|
public:
|
||||||
|
|
||||||
|
// @@protoc_insertion_point(class_scope:greptime.v1.CommentOnExpr)
|
||||||
|
private:
|
||||||
|
class _Internal;
|
||||||
|
|
||||||
|
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
||||||
|
typedef void InternalArenaConstructable_;
|
||||||
|
typedef void DestructorSkippable_;
|
||||||
|
struct Impl_ {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr catalog_name_;
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr schema_name_;
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr object_name_;
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr column_name_;
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr comment_;
|
||||||
|
int object_type_;
|
||||||
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||||
|
};
|
||||||
|
union { Impl_ _impl_; };
|
||||||
|
friend struct ::TableStruct_greptime_2fv1_2fddl_2eproto;
|
||||||
|
};
|
||||||
// ===================================================================
|
// ===================================================================
|
||||||
|
|
||||||
|
|
||||||
@@ -10610,6 +10890,80 @@ inline ::greptime::v1::AlterDatabaseExpr* DdlRequest::mutable_alter_database() {
|
|||||||
return _msg;
|
return _msg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// .greptime.v1.CommentOnExpr comment_on = 13;
|
||||||
|
inline bool DdlRequest::_internal_has_comment_on() const {
|
||||||
|
return expr_case() == kCommentOn;
|
||||||
|
}
|
||||||
|
inline bool DdlRequest::has_comment_on() const {
|
||||||
|
return _internal_has_comment_on();
|
||||||
|
}
|
||||||
|
inline void DdlRequest::set_has_comment_on() {
|
||||||
|
_impl_._oneof_case_[0] = kCommentOn;
|
||||||
|
}
|
||||||
|
inline void DdlRequest::clear_comment_on() {
|
||||||
|
if (_internal_has_comment_on()) {
|
||||||
|
if (GetArenaForAllocation() == nullptr) {
|
||||||
|
delete _impl_.expr_.comment_on_;
|
||||||
|
}
|
||||||
|
clear_has_expr();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::CommentOnExpr* DdlRequest::release_comment_on() {
|
||||||
|
// @@protoc_insertion_point(field_release:greptime.v1.DdlRequest.comment_on)
|
||||||
|
if (_internal_has_comment_on()) {
|
||||||
|
clear_has_expr();
|
||||||
|
::greptime::v1::CommentOnExpr* temp = _impl_.expr_.comment_on_;
|
||||||
|
if (GetArenaForAllocation() != nullptr) {
|
||||||
|
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
||||||
|
}
|
||||||
|
_impl_.expr_.comment_on_ = nullptr;
|
||||||
|
return temp;
|
||||||
|
} else {
|
||||||
|
return nullptr;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
inline const ::greptime::v1::CommentOnExpr& DdlRequest::_internal_comment_on() const {
|
||||||
|
return _internal_has_comment_on()
|
||||||
|
? *_impl_.expr_.comment_on_
|
||||||
|
: reinterpret_cast< ::greptime::v1::CommentOnExpr&>(::greptime::v1::_CommentOnExpr_default_instance_);
|
||||||
|
}
|
||||||
|
inline const ::greptime::v1::CommentOnExpr& DdlRequest::comment_on() const {
|
||||||
|
// @@protoc_insertion_point(field_get:greptime.v1.DdlRequest.comment_on)
|
||||||
|
return _internal_comment_on();
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::CommentOnExpr* DdlRequest::unsafe_arena_release_comment_on() {
|
||||||
|
// @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.DdlRequest.comment_on)
|
||||||
|
if (_internal_has_comment_on()) {
|
||||||
|
clear_has_expr();
|
||||||
|
::greptime::v1::CommentOnExpr* temp = _impl_.expr_.comment_on_;
|
||||||
|
_impl_.expr_.comment_on_ = nullptr;
|
||||||
|
return temp;
|
||||||
|
} else {
|
||||||
|
return nullptr;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
inline void DdlRequest::unsafe_arena_set_allocated_comment_on(::greptime::v1::CommentOnExpr* comment_on) {
|
||||||
|
clear_expr();
|
||||||
|
if (comment_on) {
|
||||||
|
set_has_comment_on();
|
||||||
|
_impl_.expr_.comment_on_ = comment_on;
|
||||||
|
}
|
||||||
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.DdlRequest.comment_on)
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::CommentOnExpr* DdlRequest::_internal_mutable_comment_on() {
|
||||||
|
if (!_internal_has_comment_on()) {
|
||||||
|
clear_expr();
|
||||||
|
set_has_comment_on();
|
||||||
|
_impl_.expr_.comment_on_ = CreateMaybeMessage< ::greptime::v1::CommentOnExpr >(GetArenaForAllocation());
|
||||||
|
}
|
||||||
|
return _impl_.expr_.comment_on_;
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::CommentOnExpr* DdlRequest::mutable_comment_on() {
|
||||||
|
::greptime::v1::CommentOnExpr* _msg = _internal_mutable_comment_on();
|
||||||
|
// @@protoc_insertion_point(field_mutable:greptime.v1.DdlRequest.comment_on)
|
||||||
|
return _msg;
|
||||||
|
}
|
||||||
|
|
||||||
inline bool DdlRequest::has_expr() const {
|
inline bool DdlRequest::has_expr() const {
|
||||||
return expr_case() != EXPR_NOT_SET;
|
return expr_case() != EXPR_NOT_SET;
|
||||||
}
|
}
|
||||||
@@ -18703,6 +19057,280 @@ inline void DropTriggerExpr::set_drop_if_exists(bool value) {
|
|||||||
// @@protoc_insertion_point(field_set:greptime.v1.DropTriggerExpr.drop_if_exists)
|
// @@protoc_insertion_point(field_set:greptime.v1.DropTriggerExpr.drop_if_exists)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
// CommentOnExpr
|
||||||
|
|
||||||
|
// string catalog_name = 1;
|
||||||
|
inline void CommentOnExpr::clear_catalog_name() {
|
||||||
|
_impl_.catalog_name_.ClearToEmpty();
|
||||||
|
}
|
||||||
|
inline const std::string& CommentOnExpr::catalog_name() const {
|
||||||
|
// @@protoc_insertion_point(field_get:greptime.v1.CommentOnExpr.catalog_name)
|
||||||
|
return _internal_catalog_name();
|
||||||
|
}
|
||||||
|
template <typename ArgT0, typename... ArgT>
|
||||||
|
inline PROTOBUF_ALWAYS_INLINE
|
||||||
|
void CommentOnExpr::set_catalog_name(ArgT0&& arg0, ArgT... args) {
|
||||||
|
|
||||||
|
_impl_.catalog_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
|
||||||
|
// @@protoc_insertion_point(field_set:greptime.v1.CommentOnExpr.catalog_name)
|
||||||
|
}
|
||||||
|
inline std::string* CommentOnExpr::mutable_catalog_name() {
|
||||||
|
std::string* _s = _internal_mutable_catalog_name();
|
||||||
|
// @@protoc_insertion_point(field_mutable:greptime.v1.CommentOnExpr.catalog_name)
|
||||||
|
return _s;
|
||||||
|
}
|
||||||
|
inline const std::string& CommentOnExpr::_internal_catalog_name() const {
|
||||||
|
return _impl_.catalog_name_.Get();
|
||||||
|
}
|
||||||
|
inline void CommentOnExpr::_internal_set_catalog_name(const std::string& value) {
|
||||||
|
|
||||||
|
_impl_.catalog_name_.Set(value, GetArenaForAllocation());
|
||||||
|
}
|
||||||
|
inline std::string* CommentOnExpr::_internal_mutable_catalog_name() {
|
||||||
|
|
||||||
|
return _impl_.catalog_name_.Mutable(GetArenaForAllocation());
|
||||||
|
}
|
||||||
|
inline std::string* CommentOnExpr::release_catalog_name() {
|
||||||
|
// @@protoc_insertion_point(field_release:greptime.v1.CommentOnExpr.catalog_name)
|
||||||
|
return _impl_.catalog_name_.Release();
|
||||||
|
}
|
||||||
|
inline void CommentOnExpr::set_allocated_catalog_name(std::string* catalog_name) {
|
||||||
|
if (catalog_name != nullptr) {
|
||||||
|
|
||||||
|
} else {
|
||||||
|
|
||||||
|
}
|
||||||
|
_impl_.catalog_name_.SetAllocated(catalog_name, GetArenaForAllocation());
|
||||||
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||||
|
if (_impl_.catalog_name_.IsDefault()) {
|
||||||
|
_impl_.catalog_name_.Set("", GetArenaForAllocation());
|
||||||
|
}
|
||||||
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||||
|
// @@protoc_insertion_point(field_set_allocated:greptime.v1.CommentOnExpr.catalog_name)
|
||||||
|
}
|
||||||
|
|
||||||
|
// string schema_name = 2;
|
||||||
|
inline void CommentOnExpr::clear_schema_name() {
|
||||||
|
_impl_.schema_name_.ClearToEmpty();
|
||||||
|
}
|
||||||
|
inline const std::string& CommentOnExpr::schema_name() const {
|
||||||
|
// @@protoc_insertion_point(field_get:greptime.v1.CommentOnExpr.schema_name)
|
||||||
|
return _internal_schema_name();
|
||||||
|
}
|
||||||
|
template <typename ArgT0, typename... ArgT>
|
||||||
|
inline PROTOBUF_ALWAYS_INLINE
|
||||||
|
void CommentOnExpr::set_schema_name(ArgT0&& arg0, ArgT... args) {
|
||||||
|
|
||||||
|
_impl_.schema_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
|
||||||
|
// @@protoc_insertion_point(field_set:greptime.v1.CommentOnExpr.schema_name)
|
||||||
|
}
|
||||||
|
inline std::string* CommentOnExpr::mutable_schema_name() {
|
||||||
|
std::string* _s = _internal_mutable_schema_name();
|
||||||
|
// @@protoc_insertion_point(field_mutable:greptime.v1.CommentOnExpr.schema_name)
|
||||||
|
return _s;
|
||||||
|
}
|
||||||
|
inline const std::string& CommentOnExpr::_internal_schema_name() const {
|
||||||
|
return _impl_.schema_name_.Get();
|
||||||
|
}
|
||||||
|
inline void CommentOnExpr::_internal_set_schema_name(const std::string& value) {
|
||||||
|
|
||||||
|
_impl_.schema_name_.Set(value, GetArenaForAllocation());
|
||||||
|
}
|
||||||
|
inline std::string* CommentOnExpr::_internal_mutable_schema_name() {
|
||||||
|
|
||||||
|
return _impl_.schema_name_.Mutable(GetArenaForAllocation());
|
||||||
|
}
|
||||||
|
inline std::string* CommentOnExpr::release_schema_name() {
|
||||||
|
// @@protoc_insertion_point(field_release:greptime.v1.CommentOnExpr.schema_name)
|
||||||
|
return _impl_.schema_name_.Release();
|
||||||
|
}
|
||||||
|
inline void CommentOnExpr::set_allocated_schema_name(std::string* schema_name) {
|
||||||
|
if (schema_name != nullptr) {
|
||||||
|
|
||||||
|
} else {
|
||||||
|
|
||||||
|
}
|
||||||
|
_impl_.schema_name_.SetAllocated(schema_name, GetArenaForAllocation());
|
||||||
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||||
|
if (_impl_.schema_name_.IsDefault()) {
|
||||||
|
_impl_.schema_name_.Set("", GetArenaForAllocation());
|
||||||
|
}
|
||||||
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||||
|
// @@protoc_insertion_point(field_set_allocated:greptime.v1.CommentOnExpr.schema_name)
|
||||||
|
}
|
||||||
|
|
||||||
|
// .greptime.v1.CommentObjectType object_type = 3;
|
||||||
|
inline void CommentOnExpr::clear_object_type() {
|
||||||
|
_impl_.object_type_ = 0;
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::CommentObjectType CommentOnExpr::_internal_object_type() const {
|
||||||
|
return static_cast< ::greptime::v1::CommentObjectType >(_impl_.object_type_);
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::CommentObjectType CommentOnExpr::object_type() const {
|
||||||
|
// @@protoc_insertion_point(field_get:greptime.v1.CommentOnExpr.object_type)
|
||||||
|
return _internal_object_type();
|
||||||
|
}
|
||||||
|
inline void CommentOnExpr::_internal_set_object_type(::greptime::v1::CommentObjectType value) {
|
||||||
|
|
||||||
|
_impl_.object_type_ = value;
|
||||||
|
}
|
||||||
|
inline void CommentOnExpr::set_object_type(::greptime::v1::CommentObjectType value) {
|
||||||
|
_internal_set_object_type(value);
|
||||||
|
// @@protoc_insertion_point(field_set:greptime.v1.CommentOnExpr.object_type)
|
||||||
|
}
|
||||||
|
|
||||||
|
// string object_name = 4;
|
||||||
|
inline void CommentOnExpr::clear_object_name() {
|
||||||
|
_impl_.object_name_.ClearToEmpty();
|
||||||
|
}
|
||||||
|
inline const std::string& CommentOnExpr::object_name() const {
|
||||||
|
// @@protoc_insertion_point(field_get:greptime.v1.CommentOnExpr.object_name)
|
||||||
|
return _internal_object_name();
|
||||||
|
}
|
||||||
|
template <typename ArgT0, typename... ArgT>
|
||||||
|
inline PROTOBUF_ALWAYS_INLINE
|
||||||
|
void CommentOnExpr::set_object_name(ArgT0&& arg0, ArgT... args) {
|
||||||
|
|
||||||
|
_impl_.object_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
|
||||||
|
// @@protoc_insertion_point(field_set:greptime.v1.CommentOnExpr.object_name)
|
||||||
|
}
|
||||||
|
inline std::string* CommentOnExpr::mutable_object_name() {
|
||||||
|
std::string* _s = _internal_mutable_object_name();
|
||||||
|
// @@protoc_insertion_point(field_mutable:greptime.v1.CommentOnExpr.object_name)
|
||||||
|
return _s;
|
||||||
|
}
|
||||||
|
inline const std::string& CommentOnExpr::_internal_object_name() const {
|
||||||
|
return _impl_.object_name_.Get();
|
||||||
|
}
|
||||||
|
inline void CommentOnExpr::_internal_set_object_name(const std::string& value) {
|
||||||
|
|
||||||
|
_impl_.object_name_.Set(value, GetArenaForAllocation());
|
||||||
|
}
|
||||||
|
inline std::string* CommentOnExpr::_internal_mutable_object_name() {
|
||||||
|
|
||||||
|
return _impl_.object_name_.Mutable(GetArenaForAllocation());
|
||||||
|
}
|
||||||
|
inline std::string* CommentOnExpr::release_object_name() {
|
||||||
|
// @@protoc_insertion_point(field_release:greptime.v1.CommentOnExpr.object_name)
|
||||||
|
return _impl_.object_name_.Release();
|
||||||
|
}
|
||||||
|
inline void CommentOnExpr::set_allocated_object_name(std::string* object_name) {
|
||||||
|
if (object_name != nullptr) {
|
||||||
|
|
||||||
|
} else {
|
||||||
|
|
||||||
|
}
|
||||||
|
_impl_.object_name_.SetAllocated(object_name, GetArenaForAllocation());
|
||||||
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||||
|
if (_impl_.object_name_.IsDefault()) {
|
||||||
|
_impl_.object_name_.Set("", GetArenaForAllocation());
|
||||||
|
}
|
||||||
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||||
|
// @@protoc_insertion_point(field_set_allocated:greptime.v1.CommentOnExpr.object_name)
|
||||||
|
}
|
||||||
|
|
||||||
|
// string column_name = 5;
|
||||||
|
inline void CommentOnExpr::clear_column_name() {
|
||||||
|
_impl_.column_name_.ClearToEmpty();
|
||||||
|
}
|
||||||
|
inline const std::string& CommentOnExpr::column_name() const {
|
||||||
|
// @@protoc_insertion_point(field_get:greptime.v1.CommentOnExpr.column_name)
|
||||||
|
return _internal_column_name();
|
||||||
|
}
|
||||||
|
template <typename ArgT0, typename... ArgT>
|
||||||
|
inline PROTOBUF_ALWAYS_INLINE
|
||||||
|
void CommentOnExpr::set_column_name(ArgT0&& arg0, ArgT... args) {
|
||||||
|
|
||||||
|
_impl_.column_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
|
||||||
|
// @@protoc_insertion_point(field_set:greptime.v1.CommentOnExpr.column_name)
|
||||||
|
}
|
||||||
|
inline std::string* CommentOnExpr::mutable_column_name() {
|
||||||
|
std::string* _s = _internal_mutable_column_name();
|
||||||
|
// @@protoc_insertion_point(field_mutable:greptime.v1.CommentOnExpr.column_name)
|
||||||
|
return _s;
|
||||||
|
}
|
||||||
|
inline const std::string& CommentOnExpr::_internal_column_name() const {
|
||||||
|
return _impl_.column_name_.Get();
|
||||||
|
}
|
||||||
|
inline void CommentOnExpr::_internal_set_column_name(const std::string& value) {
|
||||||
|
|
||||||
|
_impl_.column_name_.Set(value, GetArenaForAllocation());
|
||||||
|
}
|
||||||
|
inline std::string* CommentOnExpr::_internal_mutable_column_name() {
|
||||||
|
|
||||||
|
return _impl_.column_name_.Mutable(GetArenaForAllocation());
|
||||||
|
}
|
||||||
|
inline std::string* CommentOnExpr::release_column_name() {
|
||||||
|
// @@protoc_insertion_point(field_release:greptime.v1.CommentOnExpr.column_name)
|
||||||
|
return _impl_.column_name_.Release();
|
||||||
|
}
|
||||||
|
inline void CommentOnExpr::set_allocated_column_name(std::string* column_name) {
|
||||||
|
if (column_name != nullptr) {
|
||||||
|
|
||||||
|
} else {
|
||||||
|
|
||||||
|
}
|
||||||
|
_impl_.column_name_.SetAllocated(column_name, GetArenaForAllocation());
|
||||||
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||||
|
if (_impl_.column_name_.IsDefault()) {
|
||||||
|
_impl_.column_name_.Set("", GetArenaForAllocation());
|
||||||
|
}
|
||||||
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||||
|
// @@protoc_insertion_point(field_set_allocated:greptime.v1.CommentOnExpr.column_name)
|
||||||
|
}
|
||||||
|
|
||||||
|
// string comment = 6;
|
||||||
|
inline void CommentOnExpr::clear_comment() {
|
||||||
|
_impl_.comment_.ClearToEmpty();
|
||||||
|
}
|
||||||
|
inline const std::string& CommentOnExpr::comment() const {
|
||||||
|
// @@protoc_insertion_point(field_get:greptime.v1.CommentOnExpr.comment)
|
||||||
|
return _internal_comment();
|
||||||
|
}
|
||||||
|
template <typename ArgT0, typename... ArgT>
|
||||||
|
inline PROTOBUF_ALWAYS_INLINE
|
||||||
|
void CommentOnExpr::set_comment(ArgT0&& arg0, ArgT... args) {
|
||||||
|
|
||||||
|
_impl_.comment_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
|
||||||
|
// @@protoc_insertion_point(field_set:greptime.v1.CommentOnExpr.comment)
|
||||||
|
}
|
||||||
|
inline std::string* CommentOnExpr::mutable_comment() {
|
||||||
|
std::string* _s = _internal_mutable_comment();
|
||||||
|
// @@protoc_insertion_point(field_mutable:greptime.v1.CommentOnExpr.comment)
|
||||||
|
return _s;
|
||||||
|
}
|
||||||
|
inline const std::string& CommentOnExpr::_internal_comment() const {
|
||||||
|
return _impl_.comment_.Get();
|
||||||
|
}
|
||||||
|
inline void CommentOnExpr::_internal_set_comment(const std::string& value) {
|
||||||
|
|
||||||
|
_impl_.comment_.Set(value, GetArenaForAllocation());
|
||||||
|
}
|
||||||
|
inline std::string* CommentOnExpr::_internal_mutable_comment() {
|
||||||
|
|
||||||
|
return _impl_.comment_.Mutable(GetArenaForAllocation());
|
||||||
|
}
|
||||||
|
inline std::string* CommentOnExpr::release_comment() {
|
||||||
|
// @@protoc_insertion_point(field_release:greptime.v1.CommentOnExpr.comment)
|
||||||
|
return _impl_.comment_.Release();
|
||||||
|
}
|
||||||
|
inline void CommentOnExpr::set_allocated_comment(std::string* comment) {
|
||||||
|
if (comment != nullptr) {
|
||||||
|
|
||||||
|
} else {
|
||||||
|
|
||||||
|
}
|
||||||
|
_impl_.comment_.SetAllocated(comment, GetArenaForAllocation());
|
||||||
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||||
|
if (_impl_.comment_.IsDefault()) {
|
||||||
|
_impl_.comment_.Set("", GetArenaForAllocation());
|
||||||
|
}
|
||||||
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
||||||
|
// @@protoc_insertion_point(field_set_allocated:greptime.v1.CommentOnExpr.comment)
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
#pragma GCC diagnostic pop
|
#pragma GCC diagnostic pop
|
||||||
#endif // __GNUC__
|
#endif // __GNUC__
|
||||||
@@ -18808,6 +19436,8 @@ inline void DropTriggerExpr::set_drop_if_exists(bool value) {
|
|||||||
|
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// @@protoc_insertion_point(namespace_scope)
|
// @@protoc_insertion_point(namespace_scope)
|
||||||
|
|
||||||
@@ -18836,6 +19466,11 @@ template <>
|
|||||||
inline const EnumDescriptor* GetEnumDescriptor< ::greptime::v1::SkippingIndexType>() {
|
inline const EnumDescriptor* GetEnumDescriptor< ::greptime::v1::SkippingIndexType>() {
|
||||||
return ::greptime::v1::SkippingIndexType_descriptor();
|
return ::greptime::v1::SkippingIndexType_descriptor();
|
||||||
}
|
}
|
||||||
|
template <> struct is_proto_enum< ::greptime::v1::CommentObjectType> : ::std::true_type {};
|
||||||
|
template <>
|
||||||
|
inline const EnumDescriptor* GetEnumDescriptor< ::greptime::v1::CommentObjectType>() {
|
||||||
|
return ::greptime::v1::CommentObjectType_descriptor();
|
||||||
|
}
|
||||||
|
|
||||||
PROTOBUF_NAMESPACE_CLOSE
|
PROTOBUF_NAMESPACE_CLOSE
|
||||||
|
|
||||||
|
|||||||
+330
-43
@@ -234,6 +234,19 @@ struct DropTriggerTaskDefaultTypeInternal {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DropTriggerTaskDefaultTypeInternal _DropTriggerTask_default_instance_;
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DropTriggerTaskDefaultTypeInternal _DropTriggerTask_default_instance_;
|
||||||
|
PROTOBUF_CONSTEXPR CommentOnTask::CommentOnTask(
|
||||||
|
::_pbi::ConstantInitialized): _impl_{
|
||||||
|
/*decltype(_impl_.comment_on_)*/nullptr
|
||||||
|
, /*decltype(_impl_._cached_size_)*/{}} {}
|
||||||
|
struct CommentOnTaskDefaultTypeInternal {
|
||||||
|
PROTOBUF_CONSTEXPR CommentOnTaskDefaultTypeInternal()
|
||||||
|
: _instance(::_pbi::ConstantInitialized{}) {}
|
||||||
|
~CommentOnTaskDefaultTypeInternal() {}
|
||||||
|
union {
|
||||||
|
CommentOnTask _instance;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CommentOnTaskDefaultTypeInternal _CommentOnTask_default_instance_;
|
||||||
PROTOBUF_CONSTEXPR DdlTaskRequest::DdlTaskRequest(
|
PROTOBUF_CONSTEXPR DdlTaskRequest::DdlTaskRequest(
|
||||||
::_pbi::ConstantInitialized): _impl_{
|
::_pbi::ConstantInitialized): _impl_{
|
||||||
/*decltype(_impl_.header_)*/nullptr
|
/*decltype(_impl_.header_)*/nullptr
|
||||||
@@ -268,7 +281,7 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORIT
|
|||||||
} // namespace meta
|
} // namespace meta
|
||||||
} // namespace v1
|
} // namespace v1
|
||||||
} // namespace greptime
|
} // namespace greptime
|
||||||
static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fmeta_2fddl_2eproto[18];
|
static ::_pb::Metadata file_level_metadata_greptime_2fv1_2fmeta_2fddl_2eproto[19];
|
||||||
static const ::_pb::EnumDescriptor* file_level_enum_descriptors_greptime_2fv1_2fmeta_2fddl_2eproto[1];
|
static const ::_pb::EnumDescriptor* file_level_enum_descriptors_greptime_2fv1_2fmeta_2fddl_2eproto[1];
|
||||||
static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_greptime_2fv1_2fmeta_2fddl_2eproto = nullptr;
|
static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_greptime_2fv1_2fmeta_2fddl_2eproto = nullptr;
|
||||||
|
|
||||||
@@ -389,6 +402,13 @@ const uint32_t TableStruct_greptime_2fv1_2fmeta_2fddl_2eproto::offsets[] PROTOBU
|
|||||||
~0u, // no _inlined_string_donated_
|
~0u, // no _inlined_string_donated_
|
||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::DropTriggerTask, _impl_.drop_trigger_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::DropTriggerTask, _impl_.drop_trigger_),
|
||||||
~0u, // no _has_bits_
|
~0u, // no _has_bits_
|
||||||
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::CommentOnTask, _internal_metadata_),
|
||||||
|
~0u, // no _extensions_
|
||||||
|
~0u, // no _oneof_case_
|
||||||
|
~0u, // no _weak_field_map_
|
||||||
|
~0u, // no _inlined_string_donated_
|
||||||
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::CommentOnTask, _impl_.comment_on_),
|
||||||
|
~0u, // no _has_bits_
|
||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::DdlTaskRequest, _internal_metadata_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::DdlTaskRequest, _internal_metadata_),
|
||||||
~0u, // no _extensions_
|
~0u, // no _extensions_
|
||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::DdlTaskRequest, _impl_._oneof_case_[0]),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::DdlTaskRequest, _impl_._oneof_case_[0]),
|
||||||
@@ -412,6 +432,7 @@ const uint32_t TableStruct_greptime_2fv1_2fmeta_2fddl_2eproto::offsets[] PROTOBU
|
|||||||
::_pbi::kInvalidFieldOffsetTag,
|
::_pbi::kInvalidFieldOffsetTag,
|
||||||
::_pbi::kInvalidFieldOffsetTag,
|
::_pbi::kInvalidFieldOffsetTag,
|
||||||
::_pbi::kInvalidFieldOffsetTag,
|
::_pbi::kInvalidFieldOffsetTag,
|
||||||
|
::_pbi::kInvalidFieldOffsetTag,
|
||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::DdlTaskRequest, _impl_.task_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::DdlTaskRequest, _impl_.task_),
|
||||||
~0u, // no _has_bits_
|
~0u, // no _has_bits_
|
||||||
PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::DdlTaskResponse, _internal_metadata_),
|
PROTOBUF_FIELD_OFFSET(::greptime::v1::meta::DdlTaskResponse, _internal_metadata_),
|
||||||
@@ -440,8 +461,9 @@ static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protode
|
|||||||
{ 94, -1, -1, sizeof(::greptime::v1::meta::AlterDatabaseTask)},
|
{ 94, -1, -1, sizeof(::greptime::v1::meta::AlterDatabaseTask)},
|
||||||
{ 101, -1, -1, sizeof(::greptime::v1::meta::CreateTriggerTask)},
|
{ 101, -1, -1, sizeof(::greptime::v1::meta::CreateTriggerTask)},
|
||||||
{ 108, -1, -1, sizeof(::greptime::v1::meta::DropTriggerTask)},
|
{ 108, -1, -1, sizeof(::greptime::v1::meta::DropTriggerTask)},
|
||||||
{ 115, -1, -1, sizeof(::greptime::v1::meta::DdlTaskRequest)},
|
{ 115, -1, -1, sizeof(::greptime::v1::meta::CommentOnTask)},
|
||||||
{ 140, -1, -1, sizeof(::greptime::v1::meta::DdlTaskResponse)},
|
{ 122, -1, -1, sizeof(::greptime::v1::meta::DdlTaskRequest)},
|
||||||
|
{ 148, -1, -1, sizeof(::greptime::v1::meta::DdlTaskResponse)},
|
||||||
};
|
};
|
||||||
|
|
||||||
static const ::_pb::Message* const file_default_instances[] = {
|
static const ::_pb::Message* const file_default_instances[] = {
|
||||||
@@ -461,6 +483,7 @@ static const ::_pb::Message* const file_default_instances[] = {
|
|||||||
&::greptime::v1::meta::_AlterDatabaseTask_default_instance_._instance,
|
&::greptime::v1::meta::_AlterDatabaseTask_default_instance_._instance,
|
||||||
&::greptime::v1::meta::_CreateTriggerTask_default_instance_._instance,
|
&::greptime::v1::meta::_CreateTriggerTask_default_instance_._instance,
|
||||||
&::greptime::v1::meta::_DropTriggerTask_default_instance_._instance,
|
&::greptime::v1::meta::_DropTriggerTask_default_instance_._instance,
|
||||||
|
&::greptime::v1::meta::_CommentOnTask_default_instance_._instance,
|
||||||
&::greptime::v1::meta::_DdlTaskRequest_default_instance_._instance,
|
&::greptime::v1::meta::_DdlTaskRequest_default_instance_._instance,
|
||||||
&::greptime::v1::meta::_DdlTaskResponse_default_instance_._instance,
|
&::greptime::v1::meta::_DdlTaskResponse_default_instance_._instance,
|
||||||
};
|
};
|
||||||
@@ -500,42 +523,45 @@ const char descriptor_table_protodef_greptime_2fv1_2fmeta_2fddl_2eproto[] PROTOB
|
|||||||
"te_trigger\030\001 \001(\0132\036.greptime.v1.CreateTri"
|
"te_trigger\030\001 \001(\0132\036.greptime.v1.CreateTri"
|
||||||
"ggerExpr\"E\n\017DropTriggerTask\0222\n\014drop_trig"
|
"ggerExpr\"E\n\017DropTriggerTask\0222\n\014drop_trig"
|
||||||
"ger\030\001 \001(\0132\034.greptime.v1.DropTriggerExpr\""
|
"ger\030\001 \001(\0132\034.greptime.v1.DropTriggerExpr\""
|
||||||
"\371\010\n\016DdlTaskRequest\022/\n\006header\030\001 \001(\0132\037.gre"
|
"\?\n\rCommentOnTask\022.\n\ncomment_on\030\001 \001(\0132\032.g"
|
||||||
"ptime.v1.meta.RequestHeader\0220\n\rquery_con"
|
"reptime.v1.CommentOnExpr\"\265\t\n\016DdlTaskRequ"
|
||||||
"text\030@ \001(\0132\031.greptime.v1.QueryContext\022>\n"
|
"est\022/\n\006header\030\001 \001(\0132\037.greptime.v1.meta.R"
|
||||||
"\021create_table_task\030\002 \001(\0132!.greptime.v1.m"
|
"equestHeader\0220\n\rquery_context\030@ \001(\0132\031.gr"
|
||||||
"eta.CreateTableTaskH\000\022:\n\017drop_table_task"
|
"eptime.v1.QueryContext\022>\n\021create_table_t"
|
||||||
"\030\003 \001(\0132\037.greptime.v1.meta.DropTableTaskH"
|
"ask\030\002 \001(\0132!.greptime.v1.meta.CreateTable"
|
||||||
"\000\022<\n\020alter_table_task\030\004 \001(\0132 .greptime.v"
|
"TaskH\000\022:\n\017drop_table_task\030\003 \001(\0132\037.grepti"
|
||||||
"1.meta.AlterTableTaskH\000\022B\n\023truncate_tabl"
|
"me.v1.meta.DropTableTaskH\000\022<\n\020alter_tabl"
|
||||||
"e_task\030\005 \001(\0132#.greptime.v1.meta.Truncate"
|
"e_task\030\004 \001(\0132 .greptime.v1.meta.AlterTab"
|
||||||
"TableTaskH\000\022@\n\022create_table_tasks\030\006 \001(\0132"
|
"leTaskH\000\022B\n\023truncate_table_task\030\005 \001(\0132#."
|
||||||
"\".greptime.v1.meta.CreateTableTasksH\000\022<\n"
|
"greptime.v1.meta.TruncateTableTaskH\000\022@\n\022"
|
||||||
"\020drop_table_tasks\030\007 \001(\0132 .greptime.v1.me"
|
"create_table_tasks\030\006 \001(\0132\".greptime.v1.m"
|
||||||
"ta.DropTableTasksH\000\022>\n\021alter_table_tasks"
|
"eta.CreateTableTasksH\000\022<\n\020drop_table_tas"
|
||||||
"\030\010 \001(\0132!.greptime.v1.meta.AlterTableTask"
|
"ks\030\007 \001(\0132 .greptime.v1.meta.DropTableTas"
|
||||||
"sH\000\022@\n\022drop_database_task\030\t \001(\0132\".grepti"
|
"ksH\000\022>\n\021alter_table_tasks\030\010 \001(\0132!.grepti"
|
||||||
"me.v1.meta.DropDatabaseTaskH\000\022D\n\024create_"
|
"me.v1.meta.AlterTableTasksH\000\022@\n\022drop_dat"
|
||||||
"database_task\030\n \001(\0132$.greptime.v1.meta.C"
|
"abase_task\030\t \001(\0132\".greptime.v1.meta.Drop"
|
||||||
"reateDatabaseTaskH\000\022<\n\020create_flow_task\030"
|
"DatabaseTaskH\000\022D\n\024create_database_task\030\n"
|
||||||
"\013 \001(\0132 .greptime.v1.meta.CreateFlowTaskH"
|
" \001(\0132$.greptime.v1.meta.CreateDatabaseTa"
|
||||||
"\000\0228\n\016drop_flow_task\030\014 \001(\0132\036.greptime.v1."
|
"skH\000\022<\n\020create_flow_task\030\013 \001(\0132 .greptim"
|
||||||
"meta.DropFlowTaskH\000\022<\n\020create_view_task\030"
|
"e.v1.meta.CreateFlowTaskH\000\0228\n\016drop_flow_"
|
||||||
"\r \001(\0132 .greptime.v1.meta.CreateViewTaskH"
|
"task\030\014 \001(\0132\036.greptime.v1.meta.DropFlowTa"
|
||||||
"\000\0228\n\016drop_view_task\030\016 \001(\0132\036.greptime.v1."
|
"skH\000\022<\n\020create_view_task\030\r \001(\0132 .greptim"
|
||||||
"meta.DropViewTaskH\000\022B\n\023alter_database_ta"
|
"e.v1.meta.CreateViewTaskH\000\0228\n\016drop_view_"
|
||||||
"sk\030\017 \001(\0132#.greptime.v1.meta.AlterDatabas"
|
"task\030\016 \001(\0132\036.greptime.v1.meta.DropViewTa"
|
||||||
"eTaskH\000\022B\n\023create_trigger_task\030\020 \001(\0132#.g"
|
"skH\000\022B\n\023alter_database_task\030\017 \001(\0132#.grep"
|
||||||
"reptime.v1.meta.CreateTriggerTaskH\000\022>\n\021d"
|
"time.v1.meta.AlterDatabaseTaskH\000\022B\n\023crea"
|
||||||
"rop_trigger_task\030\021 \001(\0132!.greptime.v1.met"
|
"te_trigger_task\030\020 \001(\0132#.greptime.v1.meta"
|
||||||
"a.DropTriggerTaskH\000B\006\n\004task\"\230\001\n\017DdlTaskR"
|
".CreateTriggerTaskH\000\022>\n\021drop_trigger_tas"
|
||||||
"esponse\0220\n\006header\030\001 \001(\0132 .greptime.v1.me"
|
"k\030\021 \001(\0132!.greptime.v1.meta.DropTriggerTa"
|
||||||
"ta.ResponseHeader\022*\n\003pid\030\002 \001(\0132\035.greptim"
|
"skH\000\022:\n\017comment_on_task\030\022 \001(\0132\037.greptime"
|
||||||
"e.v1.meta.ProcedureId\022\'\n\ttable_ids\030\005 \003(\013"
|
".v1.meta.CommentOnTaskH\000B\006\n\004task\"\230\001\n\017Ddl"
|
||||||
"2\024.greptime.v1.TableId*#\n\013DdlTaskType\022\n\n"
|
"TaskResponse\0220\n\006header\030\001 \001(\0132 .greptime."
|
||||||
"\006Create\020\000\022\010\n\004Drop\020\001B<Z:github.com/Grepti"
|
"v1.meta.ResponseHeader\022*\n\003pid\030\002 \001(\0132\035.gr"
|
||||||
"meTeam/greptime-proto/go/greptime/v1/met"
|
"eptime.v1.meta.ProcedureId\022\'\n\ttable_ids\030"
|
||||||
"ab\006proto3"
|
"\005 \003(\0132\024.greptime.v1.TableId*#\n\013DdlTaskTy"
|
||||||
|
"pe\022\n\n\006Create\020\000\022\010\n\004Drop\020\001B<Z:github.com/G"
|
||||||
|
"reptimeTeam/greptime-proto/go/greptime/v"
|
||||||
|
"1/metab\006proto3"
|
||||||
;
|
;
|
||||||
static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_deps[4] = {
|
static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_deps[4] = {
|
||||||
&::descriptor_table_greptime_2fv1_2fcommon_2eproto,
|
&::descriptor_table_greptime_2fv1_2fcommon_2eproto,
|
||||||
@@ -545,9 +571,9 @@ static const ::_pbi::DescriptorTable* const descriptor_table_greptime_2fv1_2fmet
|
|||||||
};
|
};
|
||||||
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_once;
|
static ::_pbi::once_flag descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_once;
|
||||||
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto = {
|
const ::_pbi::DescriptorTable descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto = {
|
||||||
false, false, 2769, descriptor_table_protodef_greptime_2fv1_2fmeta_2fddl_2eproto,
|
false, false, 2894, descriptor_table_protodef_greptime_2fv1_2fmeta_2fddl_2eproto,
|
||||||
"greptime/v1/meta/ddl.proto",
|
"greptime/v1/meta/ddl.proto",
|
||||||
&descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_once, descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_deps, 4, 18,
|
&descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_once, descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_deps, 4, 19,
|
||||||
schemas, file_default_instances, TableStruct_greptime_2fv1_2fmeta_2fddl_2eproto::offsets,
|
schemas, file_default_instances, TableStruct_greptime_2fv1_2fmeta_2fddl_2eproto::offsets,
|
||||||
file_level_metadata_greptime_2fv1_2fmeta_2fddl_2eproto, file_level_enum_descriptors_greptime_2fv1_2fmeta_2fddl_2eproto,
|
file_level_metadata_greptime_2fv1_2fmeta_2fddl_2eproto, file_level_enum_descriptors_greptime_2fv1_2fmeta_2fddl_2eproto,
|
||||||
file_level_service_descriptors_greptime_2fv1_2fmeta_2fddl_2eproto,
|
file_level_service_descriptors_greptime_2fv1_2fmeta_2fddl_2eproto,
|
||||||
@@ -3851,6 +3877,205 @@ void DropTriggerTask::InternalSwap(DropTriggerTask* other) {
|
|||||||
|
|
||||||
// ===================================================================
|
// ===================================================================
|
||||||
|
|
||||||
|
class CommentOnTask::_Internal {
|
||||||
|
public:
|
||||||
|
static const ::greptime::v1::CommentOnExpr& comment_on(const CommentOnTask* msg);
|
||||||
|
};
|
||||||
|
|
||||||
|
const ::greptime::v1::CommentOnExpr&
|
||||||
|
CommentOnTask::_Internal::comment_on(const CommentOnTask* msg) {
|
||||||
|
return *msg->_impl_.comment_on_;
|
||||||
|
}
|
||||||
|
void CommentOnTask::clear_comment_on() {
|
||||||
|
if (GetArenaForAllocation() == nullptr && _impl_.comment_on_ != nullptr) {
|
||||||
|
delete _impl_.comment_on_;
|
||||||
|
}
|
||||||
|
_impl_.comment_on_ = nullptr;
|
||||||
|
}
|
||||||
|
CommentOnTask::CommentOnTask(::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.meta.CommentOnTask)
|
||||||
|
}
|
||||||
|
CommentOnTask::CommentOnTask(const CommentOnTask& from)
|
||||||
|
: ::PROTOBUF_NAMESPACE_ID::Message() {
|
||||||
|
CommentOnTask* const _this = this; (void)_this;
|
||||||
|
new (&_impl_) Impl_{
|
||||||
|
decltype(_impl_.comment_on_){nullptr}
|
||||||
|
, /*decltype(_impl_._cached_size_)*/{}};
|
||||||
|
|
||||||
|
_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||||
|
if (from._internal_has_comment_on()) {
|
||||||
|
_this->_impl_.comment_on_ = new ::greptime::v1::CommentOnExpr(*from._impl_.comment_on_);
|
||||||
|
}
|
||||||
|
// @@protoc_insertion_point(copy_constructor:greptime.v1.meta.CommentOnTask)
|
||||||
|
}
|
||||||
|
|
||||||
|
inline void CommentOnTask::SharedCtor(
|
||||||
|
::_pb::Arena* arena, bool is_message_owned) {
|
||||||
|
(void)arena;
|
||||||
|
(void)is_message_owned;
|
||||||
|
new (&_impl_) Impl_{
|
||||||
|
decltype(_impl_.comment_on_){nullptr}
|
||||||
|
, /*decltype(_impl_._cached_size_)*/{}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
CommentOnTask::~CommentOnTask() {
|
||||||
|
// @@protoc_insertion_point(destructor:greptime.v1.meta.CommentOnTask)
|
||||||
|
if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
|
||||||
|
(void)arena;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
SharedDtor();
|
||||||
|
}
|
||||||
|
|
||||||
|
inline void CommentOnTask::SharedDtor() {
|
||||||
|
GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
|
||||||
|
if (this != internal_default_instance()) delete _impl_.comment_on_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CommentOnTask::SetCachedSize(int size) const {
|
||||||
|
_impl_._cached_size_.Set(size);
|
||||||
|
}
|
||||||
|
|
||||||
|
void CommentOnTask::Clear() {
|
||||||
|
// @@protoc_insertion_point(message_clear_start:greptime.v1.meta.CommentOnTask)
|
||||||
|
uint32_t cached_has_bits = 0;
|
||||||
|
// Prevent compiler warnings about cached_has_bits being unused
|
||||||
|
(void) cached_has_bits;
|
||||||
|
|
||||||
|
if (GetArenaForAllocation() == nullptr && _impl_.comment_on_ != nullptr) {
|
||||||
|
delete _impl_.comment_on_;
|
||||||
|
}
|
||||||
|
_impl_.comment_on_ = nullptr;
|
||||||
|
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
||||||
|
}
|
||||||
|
|
||||||
|
const char* CommentOnTask::_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) {
|
||||||
|
// .greptime.v1.CommentOnExpr comment_on = 1;
|
||||||
|
case 1:
|
||||||
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
|
||||||
|
ptr = ctx->ParseMessage(_internal_mutable_comment_on(), 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* CommentOnTask::_InternalSerialize(
|
||||||
|
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
|
||||||
|
// @@protoc_insertion_point(serialize_to_array_start:greptime.v1.meta.CommentOnTask)
|
||||||
|
uint32_t cached_has_bits = 0;
|
||||||
|
(void) cached_has_bits;
|
||||||
|
|
||||||
|
// .greptime.v1.CommentOnExpr comment_on = 1;
|
||||||
|
if (this->_internal_has_comment_on()) {
|
||||||
|
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||||
|
InternalWriteMessage(1, _Internal::comment_on(this),
|
||||||
|
_Internal::comment_on(this).GetCachedSize(), target, stream);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
||||||
|
target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
||||||
|
_internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
|
||||||
|
}
|
||||||
|
// @@protoc_insertion_point(serialize_to_array_end:greptime.v1.meta.CommentOnTask)
|
||||||
|
return target;
|
||||||
|
}
|
||||||
|
|
||||||
|
size_t CommentOnTask::ByteSizeLong() const {
|
||||||
|
// @@protoc_insertion_point(message_byte_size_start:greptime.v1.meta.CommentOnTask)
|
||||||
|
size_t total_size = 0;
|
||||||
|
|
||||||
|
uint32_t cached_has_bits = 0;
|
||||||
|
// Prevent compiler warnings about cached_has_bits being unused
|
||||||
|
(void) cached_has_bits;
|
||||||
|
|
||||||
|
// .greptime.v1.CommentOnExpr comment_on = 1;
|
||||||
|
if (this->_internal_has_comment_on()) {
|
||||||
|
total_size += 1 +
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
|
||||||
|
*_impl_.comment_on_);
|
||||||
|
}
|
||||||
|
|
||||||
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
||||||
|
}
|
||||||
|
|
||||||
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData CommentOnTask::_class_data_ = {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
|
||||||
|
CommentOnTask::MergeImpl
|
||||||
|
};
|
||||||
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*CommentOnTask::GetClassData() const { return &_class_data_; }
|
||||||
|
|
||||||
|
|
||||||
|
void CommentOnTask::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
|
||||||
|
auto* const _this = static_cast<CommentOnTask*>(&to_msg);
|
||||||
|
auto& from = static_cast<const CommentOnTask&>(from_msg);
|
||||||
|
// @@protoc_insertion_point(class_specific_merge_from_start:greptime.v1.meta.CommentOnTask)
|
||||||
|
GOOGLE_DCHECK_NE(&from, _this);
|
||||||
|
uint32_t cached_has_bits = 0;
|
||||||
|
(void) cached_has_bits;
|
||||||
|
|
||||||
|
if (from._internal_has_comment_on()) {
|
||||||
|
_this->_internal_mutable_comment_on()->::greptime::v1::CommentOnExpr::MergeFrom(
|
||||||
|
from._internal_comment_on());
|
||||||
|
}
|
||||||
|
_this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
|
||||||
|
}
|
||||||
|
|
||||||
|
void CommentOnTask::CopyFrom(const CommentOnTask& from) {
|
||||||
|
// @@protoc_insertion_point(class_specific_copy_from_start:greptime.v1.meta.CommentOnTask)
|
||||||
|
if (&from == this) return;
|
||||||
|
Clear();
|
||||||
|
MergeFrom(from);
|
||||||
|
}
|
||||||
|
|
||||||
|
bool CommentOnTask::IsInitialized() const {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CommentOnTask::InternalSwap(CommentOnTask* other) {
|
||||||
|
using std::swap;
|
||||||
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
||||||
|
swap(_impl_.comment_on_, other->_impl_.comment_on_);
|
||||||
|
}
|
||||||
|
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Metadata CommentOnTask::GetMetadata() const {
|
||||||
|
return ::_pbi::AssignDescriptors(
|
||||||
|
&descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_getter, &descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_once,
|
||||||
|
file_level_metadata_greptime_2fv1_2fmeta_2fddl_2eproto[16]);
|
||||||
|
}
|
||||||
|
|
||||||
|
// ===================================================================
|
||||||
|
|
||||||
class DdlTaskRequest::_Internal {
|
class DdlTaskRequest::_Internal {
|
||||||
public:
|
public:
|
||||||
static const ::greptime::v1::meta::RequestHeader& header(const DdlTaskRequest* msg);
|
static const ::greptime::v1::meta::RequestHeader& header(const DdlTaskRequest* msg);
|
||||||
@@ -3871,6 +4096,7 @@ class DdlTaskRequest::_Internal {
|
|||||||
static const ::greptime::v1::meta::AlterDatabaseTask& alter_database_task(const DdlTaskRequest* msg);
|
static const ::greptime::v1::meta::AlterDatabaseTask& alter_database_task(const DdlTaskRequest* msg);
|
||||||
static const ::greptime::v1::meta::CreateTriggerTask& create_trigger_task(const DdlTaskRequest* msg);
|
static const ::greptime::v1::meta::CreateTriggerTask& create_trigger_task(const DdlTaskRequest* msg);
|
||||||
static const ::greptime::v1::meta::DropTriggerTask& drop_trigger_task(const DdlTaskRequest* msg);
|
static const ::greptime::v1::meta::DropTriggerTask& drop_trigger_task(const DdlTaskRequest* msg);
|
||||||
|
static const ::greptime::v1::meta::CommentOnTask& comment_on_task(const DdlTaskRequest* msg);
|
||||||
};
|
};
|
||||||
|
|
||||||
const ::greptime::v1::meta::RequestHeader&
|
const ::greptime::v1::meta::RequestHeader&
|
||||||
@@ -3945,6 +4171,10 @@ const ::greptime::v1::meta::DropTriggerTask&
|
|||||||
DdlTaskRequest::_Internal::drop_trigger_task(const DdlTaskRequest* msg) {
|
DdlTaskRequest::_Internal::drop_trigger_task(const DdlTaskRequest* msg) {
|
||||||
return *msg->_impl_.task_.drop_trigger_task_;
|
return *msg->_impl_.task_.drop_trigger_task_;
|
||||||
}
|
}
|
||||||
|
const ::greptime::v1::meta::CommentOnTask&
|
||||||
|
DdlTaskRequest::_Internal::comment_on_task(const DdlTaskRequest* msg) {
|
||||||
|
return *msg->_impl_.task_.comment_on_task_;
|
||||||
|
}
|
||||||
void DdlTaskRequest::clear_header() {
|
void DdlTaskRequest::clear_header() {
|
||||||
if (GetArenaForAllocation() == nullptr && _impl_.header_ != nullptr) {
|
if (GetArenaForAllocation() == nullptr && _impl_.header_ != nullptr) {
|
||||||
delete _impl_.header_;
|
delete _impl_.header_;
|
||||||
@@ -4197,6 +4427,21 @@ void DdlTaskRequest::set_allocated_drop_trigger_task(::greptime::v1::meta::DropT
|
|||||||
}
|
}
|
||||||
// @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.DdlTaskRequest.drop_trigger_task)
|
// @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.DdlTaskRequest.drop_trigger_task)
|
||||||
}
|
}
|
||||||
|
void DdlTaskRequest::set_allocated_comment_on_task(::greptime::v1::meta::CommentOnTask* comment_on_task) {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||||
|
clear_task();
|
||||||
|
if (comment_on_task) {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(comment_on_task);
|
||||||
|
if (message_arena != submessage_arena) {
|
||||||
|
comment_on_task = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
||||||
|
message_arena, comment_on_task, submessage_arena);
|
||||||
|
}
|
||||||
|
set_has_comment_on_task();
|
||||||
|
_impl_.task_.comment_on_task_ = comment_on_task;
|
||||||
|
}
|
||||||
|
// @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.DdlTaskRequest.comment_on_task)
|
||||||
|
}
|
||||||
DdlTaskRequest::DdlTaskRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
DdlTaskRequest::DdlTaskRequest(::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) {
|
||||||
@@ -4302,6 +4547,11 @@ DdlTaskRequest::DdlTaskRequest(const DdlTaskRequest& from)
|
|||||||
from._internal_drop_trigger_task());
|
from._internal_drop_trigger_task());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case kCommentOnTask: {
|
||||||
|
_this->_internal_mutable_comment_on_task()->::greptime::v1::meta::CommentOnTask::MergeFrom(
|
||||||
|
from._internal_comment_on_task());
|
||||||
|
break;
|
||||||
|
}
|
||||||
case TASK_NOT_SET: {
|
case TASK_NOT_SET: {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -4444,6 +4694,12 @@ void DdlTaskRequest::clear_task() {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case kCommentOnTask: {
|
||||||
|
if (GetArenaForAllocation() == nullptr) {
|
||||||
|
delete _impl_.task_.comment_on_task_;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
case TASK_NOT_SET: {
|
case TASK_NOT_SET: {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -4612,6 +4868,14 @@ const char* DdlTaskRequest::_InternalParse(const char* ptr, ::_pbi::ParseContext
|
|||||||
} else
|
} else
|
||||||
goto handle_unusual;
|
goto handle_unusual;
|
||||||
continue;
|
continue;
|
||||||
|
// .greptime.v1.meta.CommentOnTask comment_on_task = 18;
|
||||||
|
case 18:
|
||||||
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 146)) {
|
||||||
|
ptr = ctx->ParseMessage(_internal_mutable_comment_on_task(), ptr);
|
||||||
|
CHK_(ptr);
|
||||||
|
} else
|
||||||
|
goto handle_unusual;
|
||||||
|
continue;
|
||||||
// .greptime.v1.QueryContext query_context = 64;
|
// .greptime.v1.QueryContext query_context = 64;
|
||||||
case 64:
|
case 64:
|
||||||
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 2)) {
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 2)) {
|
||||||
@@ -4768,6 +5032,13 @@ uint8_t* DdlTaskRequest::_InternalSerialize(
|
|||||||
_Internal::drop_trigger_task(this).GetCachedSize(), target, stream);
|
_Internal::drop_trigger_task(this).GetCachedSize(), target, stream);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// .greptime.v1.meta.CommentOnTask comment_on_task = 18;
|
||||||
|
if (_internal_has_comment_on_task()) {
|
||||||
|
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||||
|
InternalWriteMessage(18, _Internal::comment_on_task(this),
|
||||||
|
_Internal::comment_on_task(this).GetCachedSize(), target, stream);
|
||||||
|
}
|
||||||
|
|
||||||
// .greptime.v1.QueryContext query_context = 64;
|
// .greptime.v1.QueryContext query_context = 64;
|
||||||
if (this->_internal_has_query_context()) {
|
if (this->_internal_has_query_context()) {
|
||||||
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
|
||||||
@@ -4918,6 +5189,13 @@ size_t DdlTaskRequest::ByteSizeLong() const {
|
|||||||
*_impl_.task_.drop_trigger_task_);
|
*_impl_.task_.drop_trigger_task_);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
// .greptime.v1.meta.CommentOnTask comment_on_task = 18;
|
||||||
|
case kCommentOnTask: {
|
||||||
|
total_size += 2 +
|
||||||
|
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
|
||||||
|
*_impl_.task_.comment_on_task_);
|
||||||
|
break;
|
||||||
|
}
|
||||||
case TASK_NOT_SET: {
|
case TASK_NOT_SET: {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -5029,6 +5307,11 @@ void DdlTaskRequest::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const :
|
|||||||
from._internal_drop_trigger_task());
|
from._internal_drop_trigger_task());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case kCommentOnTask: {
|
||||||
|
_this->_internal_mutable_comment_on_task()->::greptime::v1::meta::CommentOnTask::MergeFrom(
|
||||||
|
from._internal_comment_on_task());
|
||||||
|
break;
|
||||||
|
}
|
||||||
case TASK_NOT_SET: {
|
case TASK_NOT_SET: {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -5063,7 +5346,7 @@ void DdlTaskRequest::InternalSwap(DdlTaskRequest* other) {
|
|||||||
::PROTOBUF_NAMESPACE_ID::Metadata DdlTaskRequest::GetMetadata() const {
|
::PROTOBUF_NAMESPACE_ID::Metadata DdlTaskRequest::GetMetadata() const {
|
||||||
return ::_pbi::AssignDescriptors(
|
return ::_pbi::AssignDescriptors(
|
||||||
&descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_getter, &descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_once,
|
&descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_getter, &descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_once,
|
||||||
file_level_metadata_greptime_2fv1_2fmeta_2fddl_2eproto[16]);
|
file_level_metadata_greptime_2fv1_2fmeta_2fddl_2eproto[17]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ===================================================================
|
// ===================================================================
|
||||||
@@ -5351,7 +5634,7 @@ void DdlTaskResponse::InternalSwap(DdlTaskResponse* other) {
|
|||||||
::PROTOBUF_NAMESPACE_ID::Metadata DdlTaskResponse::GetMetadata() const {
|
::PROTOBUF_NAMESPACE_ID::Metadata DdlTaskResponse::GetMetadata() const {
|
||||||
return ::_pbi::AssignDescriptors(
|
return ::_pbi::AssignDescriptors(
|
||||||
&descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_getter, &descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_once,
|
&descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_getter, &descriptor_table_greptime_2fv1_2fmeta_2fddl_2eproto_once,
|
||||||
file_level_metadata_greptime_2fv1_2fmeta_2fddl_2eproto[17]);
|
file_level_metadata_greptime_2fv1_2fmeta_2fddl_2eproto[18]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// @@protoc_insertion_point(namespace_scope)
|
// @@protoc_insertion_point(namespace_scope)
|
||||||
@@ -5423,6 +5706,10 @@ template<> PROTOBUF_NOINLINE ::greptime::v1::meta::DropTriggerTask*
|
|||||||
Arena::CreateMaybeMessage< ::greptime::v1::meta::DropTriggerTask >(Arena* arena) {
|
Arena::CreateMaybeMessage< ::greptime::v1::meta::DropTriggerTask >(Arena* arena) {
|
||||||
return Arena::CreateMessageInternal< ::greptime::v1::meta::DropTriggerTask >(arena);
|
return Arena::CreateMessageInternal< ::greptime::v1::meta::DropTriggerTask >(arena);
|
||||||
}
|
}
|
||||||
|
template<> PROTOBUF_NOINLINE ::greptime::v1::meta::CommentOnTask*
|
||||||
|
Arena::CreateMaybeMessage< ::greptime::v1::meta::CommentOnTask >(Arena* arena) {
|
||||||
|
return Arena::CreateMessageInternal< ::greptime::v1::meta::CommentOnTask >(arena);
|
||||||
|
}
|
||||||
template<> PROTOBUF_NOINLINE ::greptime::v1::meta::DdlTaskRequest*
|
template<> PROTOBUF_NOINLINE ::greptime::v1::meta::DdlTaskRequest*
|
||||||
Arena::CreateMaybeMessage< ::greptime::v1::meta::DdlTaskRequest >(Arena* arena) {
|
Arena::CreateMaybeMessage< ::greptime::v1::meta::DdlTaskRequest >(Arena* arena) {
|
||||||
return Arena::CreateMessageInternal< ::greptime::v1::meta::DdlTaskRequest >(arena);
|
return Arena::CreateMessageInternal< ::greptime::v1::meta::DdlTaskRequest >(arena);
|
||||||
|
|||||||
@@ -61,6 +61,9 @@ extern AlterTableTaskDefaultTypeInternal _AlterTableTask_default_instance_;
|
|||||||
class AlterTableTasks;
|
class AlterTableTasks;
|
||||||
struct AlterTableTasksDefaultTypeInternal;
|
struct AlterTableTasksDefaultTypeInternal;
|
||||||
extern AlterTableTasksDefaultTypeInternal _AlterTableTasks_default_instance_;
|
extern AlterTableTasksDefaultTypeInternal _AlterTableTasks_default_instance_;
|
||||||
|
class CommentOnTask;
|
||||||
|
struct CommentOnTaskDefaultTypeInternal;
|
||||||
|
extern CommentOnTaskDefaultTypeInternal _CommentOnTask_default_instance_;
|
||||||
class CreateDatabaseTask;
|
class CreateDatabaseTask;
|
||||||
struct CreateDatabaseTaskDefaultTypeInternal;
|
struct CreateDatabaseTaskDefaultTypeInternal;
|
||||||
extern CreateDatabaseTaskDefaultTypeInternal _CreateDatabaseTask_default_instance_;
|
extern CreateDatabaseTaskDefaultTypeInternal _CreateDatabaseTask_default_instance_;
|
||||||
@@ -113,6 +116,7 @@ PROTOBUF_NAMESPACE_OPEN
|
|||||||
template<> ::greptime::v1::meta::AlterDatabaseTask* Arena::CreateMaybeMessage<::greptime::v1::meta::AlterDatabaseTask>(Arena*);
|
template<> ::greptime::v1::meta::AlterDatabaseTask* Arena::CreateMaybeMessage<::greptime::v1::meta::AlterDatabaseTask>(Arena*);
|
||||||
template<> ::greptime::v1::meta::AlterTableTask* Arena::CreateMaybeMessage<::greptime::v1::meta::AlterTableTask>(Arena*);
|
template<> ::greptime::v1::meta::AlterTableTask* Arena::CreateMaybeMessage<::greptime::v1::meta::AlterTableTask>(Arena*);
|
||||||
template<> ::greptime::v1::meta::AlterTableTasks* Arena::CreateMaybeMessage<::greptime::v1::meta::AlterTableTasks>(Arena*);
|
template<> ::greptime::v1::meta::AlterTableTasks* Arena::CreateMaybeMessage<::greptime::v1::meta::AlterTableTasks>(Arena*);
|
||||||
|
template<> ::greptime::v1::meta::CommentOnTask* Arena::CreateMaybeMessage<::greptime::v1::meta::CommentOnTask>(Arena*);
|
||||||
template<> ::greptime::v1::meta::CreateDatabaseTask* Arena::CreateMaybeMessage<::greptime::v1::meta::CreateDatabaseTask>(Arena*);
|
template<> ::greptime::v1::meta::CreateDatabaseTask* Arena::CreateMaybeMessage<::greptime::v1::meta::CreateDatabaseTask>(Arena*);
|
||||||
template<> ::greptime::v1::meta::CreateFlowTask* Arena::CreateMaybeMessage<::greptime::v1::meta::CreateFlowTask>(Arena*);
|
template<> ::greptime::v1::meta::CreateFlowTask* Arena::CreateMaybeMessage<::greptime::v1::meta::CreateFlowTask>(Arena*);
|
||||||
template<> ::greptime::v1::meta::CreateTableTask* Arena::CreateMaybeMessage<::greptime::v1::meta::CreateTableTask>(Arena*);
|
template<> ::greptime::v1::meta::CreateTableTask* Arena::CreateMaybeMessage<::greptime::v1::meta::CreateTableTask>(Arena*);
|
||||||
@@ -2724,6 +2728,163 @@ class DropTriggerTask final :
|
|||||||
};
|
};
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
class CommentOnTask final :
|
||||||
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.meta.CommentOnTask) */ {
|
||||||
|
public:
|
||||||
|
inline CommentOnTask() : CommentOnTask(nullptr) {}
|
||||||
|
~CommentOnTask() override;
|
||||||
|
explicit PROTOBUF_CONSTEXPR CommentOnTask(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
||||||
|
|
||||||
|
CommentOnTask(const CommentOnTask& from);
|
||||||
|
CommentOnTask(CommentOnTask&& from) noexcept
|
||||||
|
: CommentOnTask() {
|
||||||
|
*this = ::std::move(from);
|
||||||
|
}
|
||||||
|
|
||||||
|
inline CommentOnTask& operator=(const CommentOnTask& from) {
|
||||||
|
CopyFrom(from);
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
inline CommentOnTask& operator=(CommentOnTask&& 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 CommentOnTask& default_instance() {
|
||||||
|
return *internal_default_instance();
|
||||||
|
}
|
||||||
|
static inline const CommentOnTask* internal_default_instance() {
|
||||||
|
return reinterpret_cast<const CommentOnTask*>(
|
||||||
|
&_CommentOnTask_default_instance_);
|
||||||
|
}
|
||||||
|
static constexpr int kIndexInFileMessages =
|
||||||
|
16;
|
||||||
|
|
||||||
|
friend void swap(CommentOnTask& a, CommentOnTask& b) {
|
||||||
|
a.Swap(&b);
|
||||||
|
}
|
||||||
|
inline void Swap(CommentOnTask* 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(CommentOnTask* other) {
|
||||||
|
if (other == this) return;
|
||||||
|
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
||||||
|
InternalSwap(other);
|
||||||
|
}
|
||||||
|
|
||||||
|
// implements Message ----------------------------------------------
|
||||||
|
|
||||||
|
CommentOnTask* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
||||||
|
return CreateMaybeMessage<CommentOnTask>(arena);
|
||||||
|
}
|
||||||
|
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
||||||
|
void CopyFrom(const CommentOnTask& from);
|
||||||
|
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
||||||
|
void MergeFrom( const CommentOnTask& from) {
|
||||||
|
CommentOnTask::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(CommentOnTask* other);
|
||||||
|
|
||||||
|
private:
|
||||||
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
||||||
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
||||||
|
return "greptime.v1.meta.CommentOnTask";
|
||||||
|
}
|
||||||
|
protected:
|
||||||
|
explicit CommentOnTask(::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 {
|
||||||
|
kCommentOnFieldNumber = 1,
|
||||||
|
};
|
||||||
|
// .greptime.v1.CommentOnExpr comment_on = 1;
|
||||||
|
bool has_comment_on() const;
|
||||||
|
private:
|
||||||
|
bool _internal_has_comment_on() const;
|
||||||
|
public:
|
||||||
|
void clear_comment_on();
|
||||||
|
const ::greptime::v1::CommentOnExpr& comment_on() const;
|
||||||
|
PROTOBUF_NODISCARD ::greptime::v1::CommentOnExpr* release_comment_on();
|
||||||
|
::greptime::v1::CommentOnExpr* mutable_comment_on();
|
||||||
|
void set_allocated_comment_on(::greptime::v1::CommentOnExpr* comment_on);
|
||||||
|
private:
|
||||||
|
const ::greptime::v1::CommentOnExpr& _internal_comment_on() const;
|
||||||
|
::greptime::v1::CommentOnExpr* _internal_mutable_comment_on();
|
||||||
|
public:
|
||||||
|
void unsafe_arena_set_allocated_comment_on(
|
||||||
|
::greptime::v1::CommentOnExpr* comment_on);
|
||||||
|
::greptime::v1::CommentOnExpr* unsafe_arena_release_comment_on();
|
||||||
|
|
||||||
|
// @@protoc_insertion_point(class_scope:greptime.v1.meta.CommentOnTask)
|
||||||
|
private:
|
||||||
|
class _Internal;
|
||||||
|
|
||||||
|
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
||||||
|
typedef void InternalArenaConstructable_;
|
||||||
|
typedef void DestructorSkippable_;
|
||||||
|
struct Impl_ {
|
||||||
|
::greptime::v1::CommentOnExpr* comment_on_;
|
||||||
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
||||||
|
};
|
||||||
|
union { Impl_ _impl_; };
|
||||||
|
friend struct ::TableStruct_greptime_2fv1_2fmeta_2fddl_2eproto;
|
||||||
|
};
|
||||||
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
class DdlTaskRequest final :
|
class DdlTaskRequest final :
|
||||||
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.meta.DdlTaskRequest) */ {
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:greptime.v1.meta.DdlTaskRequest) */ {
|
||||||
public:
|
public:
|
||||||
@@ -2784,6 +2945,7 @@ class DdlTaskRequest final :
|
|||||||
kAlterDatabaseTask = 15,
|
kAlterDatabaseTask = 15,
|
||||||
kCreateTriggerTask = 16,
|
kCreateTriggerTask = 16,
|
||||||
kDropTriggerTask = 17,
|
kDropTriggerTask = 17,
|
||||||
|
kCommentOnTask = 18,
|
||||||
TASK_NOT_SET = 0,
|
TASK_NOT_SET = 0,
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -2792,7 +2954,7 @@ class DdlTaskRequest final :
|
|||||||
&_DdlTaskRequest_default_instance_);
|
&_DdlTaskRequest_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
16;
|
17;
|
||||||
|
|
||||||
friend void swap(DdlTaskRequest& a, DdlTaskRequest& b) {
|
friend void swap(DdlTaskRequest& a, DdlTaskRequest& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@@ -2883,6 +3045,7 @@ class DdlTaskRequest final :
|
|||||||
kAlterDatabaseTaskFieldNumber = 15,
|
kAlterDatabaseTaskFieldNumber = 15,
|
||||||
kCreateTriggerTaskFieldNumber = 16,
|
kCreateTriggerTaskFieldNumber = 16,
|
||||||
kDropTriggerTaskFieldNumber = 17,
|
kDropTriggerTaskFieldNumber = 17,
|
||||||
|
kCommentOnTaskFieldNumber = 18,
|
||||||
};
|
};
|
||||||
// .greptime.v1.meta.RequestHeader header = 1;
|
// .greptime.v1.meta.RequestHeader header = 1;
|
||||||
bool has_header() const;
|
bool has_header() const;
|
||||||
@@ -3208,6 +3371,24 @@ class DdlTaskRequest final :
|
|||||||
::greptime::v1::meta::DropTriggerTask* drop_trigger_task);
|
::greptime::v1::meta::DropTriggerTask* drop_trigger_task);
|
||||||
::greptime::v1::meta::DropTriggerTask* unsafe_arena_release_drop_trigger_task();
|
::greptime::v1::meta::DropTriggerTask* unsafe_arena_release_drop_trigger_task();
|
||||||
|
|
||||||
|
// .greptime.v1.meta.CommentOnTask comment_on_task = 18;
|
||||||
|
bool has_comment_on_task() const;
|
||||||
|
private:
|
||||||
|
bool _internal_has_comment_on_task() const;
|
||||||
|
public:
|
||||||
|
void clear_comment_on_task();
|
||||||
|
const ::greptime::v1::meta::CommentOnTask& comment_on_task() const;
|
||||||
|
PROTOBUF_NODISCARD ::greptime::v1::meta::CommentOnTask* release_comment_on_task();
|
||||||
|
::greptime::v1::meta::CommentOnTask* mutable_comment_on_task();
|
||||||
|
void set_allocated_comment_on_task(::greptime::v1::meta::CommentOnTask* comment_on_task);
|
||||||
|
private:
|
||||||
|
const ::greptime::v1::meta::CommentOnTask& _internal_comment_on_task() const;
|
||||||
|
::greptime::v1::meta::CommentOnTask* _internal_mutable_comment_on_task();
|
||||||
|
public:
|
||||||
|
void unsafe_arena_set_allocated_comment_on_task(
|
||||||
|
::greptime::v1::meta::CommentOnTask* comment_on_task);
|
||||||
|
::greptime::v1::meta::CommentOnTask* unsafe_arena_release_comment_on_task();
|
||||||
|
|
||||||
void clear_task();
|
void clear_task();
|
||||||
TaskCase task_case() const;
|
TaskCase task_case() const;
|
||||||
// @@protoc_insertion_point(class_scope:greptime.v1.meta.DdlTaskRequest)
|
// @@protoc_insertion_point(class_scope:greptime.v1.meta.DdlTaskRequest)
|
||||||
@@ -3229,6 +3410,7 @@ class DdlTaskRequest final :
|
|||||||
void set_has_alter_database_task();
|
void set_has_alter_database_task();
|
||||||
void set_has_create_trigger_task();
|
void set_has_create_trigger_task();
|
||||||
void set_has_drop_trigger_task();
|
void set_has_drop_trigger_task();
|
||||||
|
void set_has_comment_on_task();
|
||||||
|
|
||||||
inline bool has_task() const;
|
inline bool has_task() const;
|
||||||
inline void clear_has_task();
|
inline void clear_has_task();
|
||||||
@@ -3258,6 +3440,7 @@ class DdlTaskRequest final :
|
|||||||
::greptime::v1::meta::AlterDatabaseTask* alter_database_task_;
|
::greptime::v1::meta::AlterDatabaseTask* alter_database_task_;
|
||||||
::greptime::v1::meta::CreateTriggerTask* create_trigger_task_;
|
::greptime::v1::meta::CreateTriggerTask* create_trigger_task_;
|
||||||
::greptime::v1::meta::DropTriggerTask* drop_trigger_task_;
|
::greptime::v1::meta::DropTriggerTask* drop_trigger_task_;
|
||||||
|
::greptime::v1::meta::CommentOnTask* comment_on_task_;
|
||||||
} task_;
|
} task_;
|
||||||
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];
|
||||||
@@ -3316,7 +3499,7 @@ class DdlTaskResponse final :
|
|||||||
&_DdlTaskResponse_default_instance_);
|
&_DdlTaskResponse_default_instance_);
|
||||||
}
|
}
|
||||||
static constexpr int kIndexInFileMessages =
|
static constexpr int kIndexInFileMessages =
|
||||||
17;
|
18;
|
||||||
|
|
||||||
friend void swap(DdlTaskResponse& a, DdlTaskResponse& b) {
|
friend void swap(DdlTaskResponse& a, DdlTaskResponse& b) {
|
||||||
a.Swap(&b);
|
a.Swap(&b);
|
||||||
@@ -4898,6 +5081,95 @@ inline void DropTriggerTask::set_allocated_drop_trigger(::greptime::v1::DropTrig
|
|||||||
|
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
// CommentOnTask
|
||||||
|
|
||||||
|
// .greptime.v1.CommentOnExpr comment_on = 1;
|
||||||
|
inline bool CommentOnTask::_internal_has_comment_on() const {
|
||||||
|
return this != internal_default_instance() && _impl_.comment_on_ != nullptr;
|
||||||
|
}
|
||||||
|
inline bool CommentOnTask::has_comment_on() const {
|
||||||
|
return _internal_has_comment_on();
|
||||||
|
}
|
||||||
|
inline const ::greptime::v1::CommentOnExpr& CommentOnTask::_internal_comment_on() const {
|
||||||
|
const ::greptime::v1::CommentOnExpr* p = _impl_.comment_on_;
|
||||||
|
return p != nullptr ? *p : reinterpret_cast<const ::greptime::v1::CommentOnExpr&>(
|
||||||
|
::greptime::v1::_CommentOnExpr_default_instance_);
|
||||||
|
}
|
||||||
|
inline const ::greptime::v1::CommentOnExpr& CommentOnTask::comment_on() const {
|
||||||
|
// @@protoc_insertion_point(field_get:greptime.v1.meta.CommentOnTask.comment_on)
|
||||||
|
return _internal_comment_on();
|
||||||
|
}
|
||||||
|
inline void CommentOnTask::unsafe_arena_set_allocated_comment_on(
|
||||||
|
::greptime::v1::CommentOnExpr* comment_on) {
|
||||||
|
if (GetArenaForAllocation() == nullptr) {
|
||||||
|
delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.comment_on_);
|
||||||
|
}
|
||||||
|
_impl_.comment_on_ = comment_on;
|
||||||
|
if (comment_on) {
|
||||||
|
|
||||||
|
} else {
|
||||||
|
|
||||||
|
}
|
||||||
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.meta.CommentOnTask.comment_on)
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::CommentOnExpr* CommentOnTask::release_comment_on() {
|
||||||
|
|
||||||
|
::greptime::v1::CommentOnExpr* temp = _impl_.comment_on_;
|
||||||
|
_impl_.comment_on_ = nullptr;
|
||||||
|
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
|
||||||
|
auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
|
||||||
|
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
||||||
|
if (GetArenaForAllocation() == nullptr) { delete old; }
|
||||||
|
#else // PROTOBUF_FORCE_COPY_IN_RELEASE
|
||||||
|
if (GetArenaForAllocation() != nullptr) {
|
||||||
|
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
||||||
|
}
|
||||||
|
#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
|
||||||
|
return temp;
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::CommentOnExpr* CommentOnTask::unsafe_arena_release_comment_on() {
|
||||||
|
// @@protoc_insertion_point(field_release:greptime.v1.meta.CommentOnTask.comment_on)
|
||||||
|
|
||||||
|
::greptime::v1::CommentOnExpr* temp = _impl_.comment_on_;
|
||||||
|
_impl_.comment_on_ = nullptr;
|
||||||
|
return temp;
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::CommentOnExpr* CommentOnTask::_internal_mutable_comment_on() {
|
||||||
|
|
||||||
|
if (_impl_.comment_on_ == nullptr) {
|
||||||
|
auto* p = CreateMaybeMessage<::greptime::v1::CommentOnExpr>(GetArenaForAllocation());
|
||||||
|
_impl_.comment_on_ = p;
|
||||||
|
}
|
||||||
|
return _impl_.comment_on_;
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::CommentOnExpr* CommentOnTask::mutable_comment_on() {
|
||||||
|
::greptime::v1::CommentOnExpr* _msg = _internal_mutable_comment_on();
|
||||||
|
// @@protoc_insertion_point(field_mutable:greptime.v1.meta.CommentOnTask.comment_on)
|
||||||
|
return _msg;
|
||||||
|
}
|
||||||
|
inline void CommentOnTask::set_allocated_comment_on(::greptime::v1::CommentOnExpr* comment_on) {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
|
||||||
|
if (message_arena == nullptr) {
|
||||||
|
delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.comment_on_);
|
||||||
|
}
|
||||||
|
if (comment_on) {
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
|
||||||
|
::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
|
||||||
|
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(comment_on));
|
||||||
|
if (message_arena != submessage_arena) {
|
||||||
|
comment_on = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
|
||||||
|
message_arena, comment_on, submessage_arena);
|
||||||
|
}
|
||||||
|
|
||||||
|
} else {
|
||||||
|
|
||||||
|
}
|
||||||
|
_impl_.comment_on_ = comment_on;
|
||||||
|
// @@protoc_insertion_point(field_set_allocated:greptime.v1.meta.CommentOnTask.comment_on)
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
// DdlTaskRequest
|
// DdlTaskRequest
|
||||||
|
|
||||||
// .greptime.v1.meta.RequestHeader header = 1;
|
// .greptime.v1.meta.RequestHeader header = 1;
|
||||||
@@ -6254,6 +6526,80 @@ inline ::greptime::v1::meta::DropTriggerTask* DdlTaskRequest::mutable_drop_trigg
|
|||||||
return _msg;
|
return _msg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// .greptime.v1.meta.CommentOnTask comment_on_task = 18;
|
||||||
|
inline bool DdlTaskRequest::_internal_has_comment_on_task() const {
|
||||||
|
return task_case() == kCommentOnTask;
|
||||||
|
}
|
||||||
|
inline bool DdlTaskRequest::has_comment_on_task() const {
|
||||||
|
return _internal_has_comment_on_task();
|
||||||
|
}
|
||||||
|
inline void DdlTaskRequest::set_has_comment_on_task() {
|
||||||
|
_impl_._oneof_case_[0] = kCommentOnTask;
|
||||||
|
}
|
||||||
|
inline void DdlTaskRequest::clear_comment_on_task() {
|
||||||
|
if (_internal_has_comment_on_task()) {
|
||||||
|
if (GetArenaForAllocation() == nullptr) {
|
||||||
|
delete _impl_.task_.comment_on_task_;
|
||||||
|
}
|
||||||
|
clear_has_task();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::meta::CommentOnTask* DdlTaskRequest::release_comment_on_task() {
|
||||||
|
// @@protoc_insertion_point(field_release:greptime.v1.meta.DdlTaskRequest.comment_on_task)
|
||||||
|
if (_internal_has_comment_on_task()) {
|
||||||
|
clear_has_task();
|
||||||
|
::greptime::v1::meta::CommentOnTask* temp = _impl_.task_.comment_on_task_;
|
||||||
|
if (GetArenaForAllocation() != nullptr) {
|
||||||
|
temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
|
||||||
|
}
|
||||||
|
_impl_.task_.comment_on_task_ = nullptr;
|
||||||
|
return temp;
|
||||||
|
} else {
|
||||||
|
return nullptr;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
inline const ::greptime::v1::meta::CommentOnTask& DdlTaskRequest::_internal_comment_on_task() const {
|
||||||
|
return _internal_has_comment_on_task()
|
||||||
|
? *_impl_.task_.comment_on_task_
|
||||||
|
: reinterpret_cast< ::greptime::v1::meta::CommentOnTask&>(::greptime::v1::meta::_CommentOnTask_default_instance_);
|
||||||
|
}
|
||||||
|
inline const ::greptime::v1::meta::CommentOnTask& DdlTaskRequest::comment_on_task() const {
|
||||||
|
// @@protoc_insertion_point(field_get:greptime.v1.meta.DdlTaskRequest.comment_on_task)
|
||||||
|
return _internal_comment_on_task();
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::meta::CommentOnTask* DdlTaskRequest::unsafe_arena_release_comment_on_task() {
|
||||||
|
// @@protoc_insertion_point(field_unsafe_arena_release:greptime.v1.meta.DdlTaskRequest.comment_on_task)
|
||||||
|
if (_internal_has_comment_on_task()) {
|
||||||
|
clear_has_task();
|
||||||
|
::greptime::v1::meta::CommentOnTask* temp = _impl_.task_.comment_on_task_;
|
||||||
|
_impl_.task_.comment_on_task_ = nullptr;
|
||||||
|
return temp;
|
||||||
|
} else {
|
||||||
|
return nullptr;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
inline void DdlTaskRequest::unsafe_arena_set_allocated_comment_on_task(::greptime::v1::meta::CommentOnTask* comment_on_task) {
|
||||||
|
clear_task();
|
||||||
|
if (comment_on_task) {
|
||||||
|
set_has_comment_on_task();
|
||||||
|
_impl_.task_.comment_on_task_ = comment_on_task;
|
||||||
|
}
|
||||||
|
// @@protoc_insertion_point(field_unsafe_arena_set_allocated:greptime.v1.meta.DdlTaskRequest.comment_on_task)
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::meta::CommentOnTask* DdlTaskRequest::_internal_mutable_comment_on_task() {
|
||||||
|
if (!_internal_has_comment_on_task()) {
|
||||||
|
clear_task();
|
||||||
|
set_has_comment_on_task();
|
||||||
|
_impl_.task_.comment_on_task_ = CreateMaybeMessage< ::greptime::v1::meta::CommentOnTask >(GetArenaForAllocation());
|
||||||
|
}
|
||||||
|
return _impl_.task_.comment_on_task_;
|
||||||
|
}
|
||||||
|
inline ::greptime::v1::meta::CommentOnTask* DdlTaskRequest::mutable_comment_on_task() {
|
||||||
|
::greptime::v1::meta::CommentOnTask* _msg = _internal_mutable_comment_on_task();
|
||||||
|
// @@protoc_insertion_point(field_mutable:greptime.v1.meta.DdlTaskRequest.comment_on_task)
|
||||||
|
return _msg;
|
||||||
|
}
|
||||||
|
|
||||||
inline bool DdlTaskRequest::has_task() const {
|
inline bool DdlTaskRequest::has_task() const {
|
||||||
return task_case() != TASK_NOT_SET;
|
return task_case() != TASK_NOT_SET;
|
||||||
}
|
}
|
||||||
@@ -6511,6 +6857,8 @@ DdlTaskResponse::table_ids() const {
|
|||||||
|
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
// -------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// @@protoc_insertion_point(namespace_scope)
|
// @@protoc_insertion_point(namespace_scope)
|
||||||
|
|
||||||
|
|||||||
+854
-661
File diff suppressed because it is too large
Load Diff
+265
-178
@@ -860,6 +860,53 @@ func (x *DropTriggerTask) GetDropTrigger() *v1.DropTriggerExpr {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type CommentOnTask struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
CommentOn *v1.CommentOnExpr `protobuf:"bytes,1,opt,name=comment_on,json=commentOn,proto3" json:"comment_on,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *CommentOnTask) Reset() {
|
||||||
|
*x = CommentOnTask{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[16]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *CommentOnTask) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*CommentOnTask) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *CommentOnTask) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[16]
|
||||||
|
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 CommentOnTask.ProtoReflect.Descriptor instead.
|
||||||
|
func (*CommentOnTask) Descriptor() ([]byte, []int) {
|
||||||
|
return file_greptime_v1_meta_ddl_proto_rawDescGZIP(), []int{16}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *CommentOnTask) GetCommentOn() *v1.CommentOnExpr {
|
||||||
|
if x != nil {
|
||||||
|
return x.CommentOn
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
type DdlTaskRequest struct {
|
type DdlTaskRequest struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
@@ -885,13 +932,14 @@ type DdlTaskRequest struct {
|
|||||||
// *DdlTaskRequest_AlterDatabaseTask
|
// *DdlTaskRequest_AlterDatabaseTask
|
||||||
// *DdlTaskRequest_CreateTriggerTask
|
// *DdlTaskRequest_CreateTriggerTask
|
||||||
// *DdlTaskRequest_DropTriggerTask
|
// *DdlTaskRequest_DropTriggerTask
|
||||||
|
// *DdlTaskRequest_CommentOnTask
|
||||||
Task isDdlTaskRequest_Task `protobuf_oneof:"task"`
|
Task isDdlTaskRequest_Task `protobuf_oneof:"task"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DdlTaskRequest) Reset() {
|
func (x *DdlTaskRequest) Reset() {
|
||||||
*x = DdlTaskRequest{}
|
*x = DdlTaskRequest{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[16]
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[17]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -904,7 +952,7 @@ func (x *DdlTaskRequest) String() string {
|
|||||||
func (*DdlTaskRequest) ProtoMessage() {}
|
func (*DdlTaskRequest) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *DdlTaskRequest) ProtoReflect() protoreflect.Message {
|
func (x *DdlTaskRequest) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[16]
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[17]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -917,7 +965,7 @@ func (x *DdlTaskRequest) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use DdlTaskRequest.ProtoReflect.Descriptor instead.
|
// Deprecated: Use DdlTaskRequest.ProtoReflect.Descriptor instead.
|
||||||
func (*DdlTaskRequest) Descriptor() ([]byte, []int) {
|
func (*DdlTaskRequest) Descriptor() ([]byte, []int) {
|
||||||
return file_greptime_v1_meta_ddl_proto_rawDescGZIP(), []int{16}
|
return file_greptime_v1_meta_ddl_proto_rawDescGZIP(), []int{17}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DdlTaskRequest) GetHeader() *RequestHeader {
|
func (x *DdlTaskRequest) GetHeader() *RequestHeader {
|
||||||
@@ -1053,6 +1101,13 @@ func (x *DdlTaskRequest) GetDropTriggerTask() *DropTriggerTask {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (x *DdlTaskRequest) GetCommentOnTask() *CommentOnTask {
|
||||||
|
if x, ok := x.GetTask().(*DdlTaskRequest_CommentOnTask); ok {
|
||||||
|
return x.CommentOnTask
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
type isDdlTaskRequest_Task interface {
|
type isDdlTaskRequest_Task interface {
|
||||||
isDdlTaskRequest_Task()
|
isDdlTaskRequest_Task()
|
||||||
}
|
}
|
||||||
@@ -1121,6 +1176,10 @@ type DdlTaskRequest_DropTriggerTask struct {
|
|||||||
DropTriggerTask *DropTriggerTask `protobuf:"bytes,17,opt,name=drop_trigger_task,json=dropTriggerTask,proto3,oneof"`
|
DropTriggerTask *DropTriggerTask `protobuf:"bytes,17,opt,name=drop_trigger_task,json=dropTriggerTask,proto3,oneof"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type DdlTaskRequest_CommentOnTask struct {
|
||||||
|
CommentOnTask *CommentOnTask `protobuf:"bytes,18,opt,name=comment_on_task,json=commentOnTask,proto3,oneof"`
|
||||||
|
}
|
||||||
|
|
||||||
func (*DdlTaskRequest_CreateTableTask) isDdlTaskRequest_Task() {}
|
func (*DdlTaskRequest_CreateTableTask) isDdlTaskRequest_Task() {}
|
||||||
|
|
||||||
func (*DdlTaskRequest_DropTableTask) isDdlTaskRequest_Task() {}
|
func (*DdlTaskRequest_DropTableTask) isDdlTaskRequest_Task() {}
|
||||||
@@ -1153,6 +1212,8 @@ func (*DdlTaskRequest_CreateTriggerTask) isDdlTaskRequest_Task() {}
|
|||||||
|
|
||||||
func (*DdlTaskRequest_DropTriggerTask) isDdlTaskRequest_Task() {}
|
func (*DdlTaskRequest_DropTriggerTask) isDdlTaskRequest_Task() {}
|
||||||
|
|
||||||
|
func (*DdlTaskRequest_CommentOnTask) isDdlTaskRequest_Task() {}
|
||||||
|
|
||||||
type DdlTaskResponse struct {
|
type DdlTaskResponse struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
@@ -1167,7 +1228,7 @@ type DdlTaskResponse struct {
|
|||||||
func (x *DdlTaskResponse) Reset() {
|
func (x *DdlTaskResponse) Reset() {
|
||||||
*x = DdlTaskResponse{}
|
*x = DdlTaskResponse{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[17]
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[18]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
ms.StoreMessageInfo(mi)
|
ms.StoreMessageInfo(mi)
|
||||||
}
|
}
|
||||||
@@ -1180,7 +1241,7 @@ func (x *DdlTaskResponse) String() string {
|
|||||||
func (*DdlTaskResponse) ProtoMessage() {}
|
func (*DdlTaskResponse) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *DdlTaskResponse) ProtoReflect() protoreflect.Message {
|
func (x *DdlTaskResponse) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[17]
|
mi := &file_greptime_v1_meta_ddl_proto_msgTypes[18]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
if ms.LoadMessageInfo() == nil {
|
if ms.LoadMessageInfo() == nil {
|
||||||
@@ -1193,7 +1254,7 @@ func (x *DdlTaskResponse) ProtoReflect() protoreflect.Message {
|
|||||||
|
|
||||||
// Deprecated: Use DdlTaskResponse.ProtoReflect.Descriptor instead.
|
// Deprecated: Use DdlTaskResponse.ProtoReflect.Descriptor instead.
|
||||||
func (*DdlTaskResponse) Descriptor() ([]byte, []int) {
|
func (*DdlTaskResponse) Descriptor() ([]byte, []int) {
|
||||||
return file_greptime_v1_meta_ddl_proto_rawDescGZIP(), []int{17}
|
return file_greptime_v1_meta_ddl_proto_rawDescGZIP(), []int{18}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DdlTaskResponse) GetHeader() *ResponseHeader {
|
func (x *DdlTaskResponse) GetHeader() *ResponseHeader {
|
||||||
@@ -1318,115 +1379,124 @@ var file_greptime_v1_meta_ddl_proto_rawDesc = []byte{
|
|||||||
0x67, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x72, 0x65, 0x70,
|
0x67, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x72, 0x65, 0x70,
|
||||||
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x54, 0x72, 0x69, 0x67,
|
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x54, 0x72, 0x69, 0x67,
|
||||||
0x67, 0x65, 0x72, 0x45, 0x78, 0x70, 0x72, 0x52, 0x0b, 0x64, 0x72, 0x6f, 0x70, 0x54, 0x72, 0x69,
|
0x67, 0x65, 0x72, 0x45, 0x78, 0x70, 0x72, 0x52, 0x0b, 0x64, 0x72, 0x6f, 0x70, 0x54, 0x72, 0x69,
|
||||||
0x67, 0x67, 0x65, 0x72, 0x22, 0x9e, 0x0b, 0x0a, 0x0e, 0x44, 0x64, 0x6c, 0x54, 0x61, 0x73, 0x6b,
|
0x67, 0x67, 0x65, 0x72, 0x22, 0x4a, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x4f,
|
||||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65,
|
0x6e, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74,
|
||||||
0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
|
0x5f, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x72, 0x65, 0x70,
|
||||||
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65,
|
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x4f,
|
||||||
0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72,
|
0x6e, 0x45, 0x78, 0x70, 0x72, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x6e,
|
||||||
0x12, 0x3e, 0x0a, 0x0d, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78,
|
0x22, 0xe9, 0x0b, 0x0a, 0x0e, 0x44, 0x64, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75,
|
||||||
0x74, 0x18, 0x40, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
|
0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20,
|
||||||
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65,
|
0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76,
|
||||||
0x78, 0x74, 0x52, 0x0c, 0x71, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74,
|
0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65,
|
||||||
0x12, 0x4f, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65,
|
0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x3e, 0x0a, 0x0d,
|
||||||
0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72,
|
0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x40, 0x20,
|
||||||
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x43,
|
0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76,
|
||||||
0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00,
|
0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x0c,
|
||||||
0x52, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73,
|
0x71, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x4f, 0x0a, 0x11,
|
||||||
0x6b, 0x12, 0x49, 0x0a, 0x0f, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f,
|
0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x61, 0x73,
|
||||||
0x74, 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65,
|
0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
|
||||||
0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x72,
|
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74,
|
||||||
0x6f, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0d, 0x64,
|
0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0f, 0x63, 0x72,
|
||||||
0x72, 0x6f, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x4c, 0x0a, 0x10,
|
0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x49, 0x0a,
|
||||||
0x61, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b,
|
0x0f, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b,
|
||||||
0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
||||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x54,
|
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x54, 0x61,
|
||||||
0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0e, 0x61, 0x6c, 0x74, 0x65,
|
0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0d, 0x64, 0x72, 0x6f, 0x70, 0x54,
|
||||||
0x72, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x55, 0x0a, 0x13, 0x74, 0x72,
|
0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x4c, 0x0a, 0x10, 0x61, 0x6c, 0x74, 0x65,
|
||||||
0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x61, 0x73,
|
0x72, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x04, 0x20, 0x01,
|
||||||
0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
|
|
||||||
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x75, 0x6e, 0x63,
|
|
||||||
0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x11,
|
|
||||||
0x74, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73,
|
|
||||||
0x6b, 0x12, 0x52, 0x0a, 0x12, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c,
|
|
||||||
0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e,
|
|
||||||
0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61,
|
|
||||||
0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b,
|
|
||||||
0x73, 0x48, 0x00, 0x52, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65,
|
|
||||||
0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x4c, 0x0a, 0x10, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x74, 0x61,
|
|
||||||
0x62, 0x6c, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
||||||
0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65,
|
|
||||||
0x74, 0x61, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b,
|
|
||||||
0x73, 0x48, 0x00, 0x52, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61,
|
|
||||||
0x73, 0x6b, 0x73, 0x12, 0x4f, 0x0a, 0x11, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x74, 0x61, 0x62,
|
|
||||||
0x6c, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21,
|
|
||||||
0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74,
|
|
||||||
0x61, 0x2e, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b,
|
|
||||||
0x73, 0x48, 0x00, 0x52, 0x0f, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54,
|
|
||||||
0x61, 0x73, 0x6b, 0x73, 0x12, 0x52, 0x0a, 0x12, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x64, 0x61, 0x74,
|
|
||||||
0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b,
|
|
||||||
0x32, 0x22, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d,
|
|
||||||
0x65, 0x74, 0x61, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
|
|
||||||
0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x10, 0x64, 0x72, 0x6f, 0x70, 0x44, 0x61, 0x74, 0x61,
|
|
||||||
0x62, 0x61, 0x73, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x58, 0x0a, 0x14, 0x63, 0x72, 0x65, 0x61,
|
|
||||||
0x74, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b,
|
|
||||||
0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d,
|
|
||||||
0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
|
|
||||||
0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x12,
|
|
||||||
0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x54, 0x61,
|
|
||||||
0x73, 0x6b, 0x12, 0x4c, 0x0a, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x66, 0x6c, 0x6f,
|
|
||||||
0x77, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67,
|
|
||||||
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e,
|
|
||||||
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00,
|
|
||||||
0x52, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b,
|
|
||||||
0x12, 0x46, 0x0a, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x74, 0x61,
|
|
||||||
0x73, 0x6b, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74,
|
|
||||||
0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x72, 0x6f, 0x70,
|
|
||||||
0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70,
|
|
||||||
0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x4c, 0x0a, 0x10, 0x63, 0x72, 0x65, 0x61,
|
|
||||||
0x74, 0x65, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x0d, 0x20, 0x01,
|
|
||||||
0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
|
0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
|
||||||
0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69, 0x65, 0x77,
|
0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x54, 0x61, 0x62, 0x6c, 0x65,
|
||||||
0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69,
|
0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0e, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x54, 0x61, 0x62,
|
||||||
0x65, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x46, 0x0a, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x76,
|
0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x55, 0x0a, 0x13, 0x74, 0x72, 0x75, 0x6e, 0x63, 0x61,
|
||||||
0x69, 0x65, 0x77, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e,
|
0x74, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x05, 0x20,
|
||||||
|
0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76,
|
||||||
|
0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x54, 0x72, 0x75, 0x6e, 0x63, 0x61, 0x74, 0x65, 0x54,
|
||||||
|
0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x11, 0x74, 0x72, 0x75, 0x6e,
|
||||||
|
0x63, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x52, 0x0a,
|
||||||
|
0x12, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x61,
|
||||||
|
0x73, 0x6b, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x72, 0x65, 0x70,
|
||||||
|
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x72, 0x65,
|
||||||
|
0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x48, 0x00, 0x52,
|
||||||
|
0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b,
|
||||||
|
0x73, 0x12, 0x4c, 0x0a, 0x10, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f,
|
||||||
|
0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72,
|
||||||
|
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x44,
|
||||||
|
0x72, 0x6f, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x48, 0x00, 0x52,
|
||||||
|
0x0e, 0x64, 0x72, 0x6f, 0x70, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12,
|
||||||
|
0x4f, 0x0a, 0x11, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74,
|
||||||
|
0x61, 0x73, 0x6b, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65,
|
||||||
|
0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x41, 0x6c,
|
||||||
|
0x74, 0x65, 0x72, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x48, 0x00, 0x52,
|
||||||
|
0x0f, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73,
|
||||||
|
0x12, 0x52, 0x0a, 0x12, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
|
||||||
|
0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67,
|
||||||
|
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e,
|
||||||
|
0x44, 0x72, 0x6f, 0x70, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x54, 0x61, 0x73, 0x6b,
|
||||||
|
0x48, 0x00, 0x52, 0x10, 0x64, 0x72, 0x6f, 0x70, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
|
||||||
|
0x54, 0x61, 0x73, 0x6b, 0x12, 0x58, 0x0a, 0x14, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x64,
|
||||||
|
0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x0a, 0x20, 0x01,
|
||||||
|
0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
|
||||||
|
0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x61,
|
||||||
|
0x62, 0x61, 0x73, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x12, 0x63, 0x72, 0x65, 0x61,
|
||||||
|
0x74, 0x65, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x4c,
|
||||||
|
0x0a, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x74, 0x61,
|
||||||
|
0x73, 0x6b, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74,
|
||||||
|
0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61,
|
||||||
|
0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0e, 0x63, 0x72,
|
||||||
|
0x65, 0x61, 0x74, 0x65, 0x46, 0x6c, 0x6f, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x46, 0x0a, 0x0e,
|
||||||
|
0x64, 0x72, 0x6f, 0x70, 0x5f, 0x66, 0x6c, 0x6f, 0x77, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x0c,
|
||||||
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e,
|
||||||
|
0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x46, 0x6c, 0x6f, 0x77,
|
||||||
|
0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x46, 0x6c, 0x6f, 0x77,
|
||||||
|
0x54, 0x61, 0x73, 0x6b, 0x12, 0x4c, 0x0a, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x76,
|
||||||
|
0x69, 0x65, 0x77, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20,
|
||||||
0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74,
|
0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74,
|
||||||
0x61, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x56, 0x69, 0x65, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00,
|
0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69, 0x65, 0x77, 0x54, 0x61, 0x73, 0x6b,
|
||||||
0x52, 0x0c, 0x64, 0x72, 0x6f, 0x70, 0x56, 0x69, 0x65, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x55,
|
0x48, 0x00, 0x52, 0x0e, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x56, 0x69, 0x65, 0x77, 0x54, 0x61,
|
||||||
0x0a, 0x13, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
|
0x73, 0x6b, 0x12, 0x46, 0x0a, 0x0e, 0x64, 0x72, 0x6f, 0x70, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x5f,
|
||||||
0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x72,
|
0x74, 0x61, 0x73, 0x6b, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65,
|
||||||
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x41,
|
0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x72,
|
||||||
0x6c, 0x74, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x54, 0x61, 0x73, 0x6b,
|
0x6f, 0x70, 0x56, 0x69, 0x65, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0c, 0x64, 0x72,
|
||||||
0x48, 0x00, 0x52, 0x11, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
|
0x6f, 0x70, 0x56, 0x69, 0x65, 0x77, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x55, 0x0a, 0x13, 0x61, 0x6c,
|
||||||
0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x55, 0x0a, 0x13, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f,
|
0x74, 0x65, 0x72, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x74, 0x61, 0x73,
|
||||||
0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x10, 0x20, 0x01,
|
0x6b, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
|
||||||
0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
|
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x41, 0x6c, 0x74, 0x65, 0x72,
|
||||||
0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x69, 0x67,
|
0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x11,
|
||||||
0x67, 0x65, 0x72, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74,
|
0x61, 0x6c, 0x74, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x54, 0x61, 0x73,
|
||||||
0x65, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x4f, 0x0a, 0x11,
|
0x6b, 0x12, 0x55, 0x0a, 0x13, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x72, 0x69, 0x67,
|
||||||
0x64, 0x72, 0x6f, 0x70, 0x5f, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x74, 0x61, 0x73,
|
0x67, 0x65, 0x72, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23,
|
||||||
0x6b, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
|
0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74,
|
||||||
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x54,
|
0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x54,
|
||||||
0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0f, 0x64, 0x72,
|
0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x69,
|
||||||
0x6f, 0x70, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x54, 0x61, 0x73, 0x6b, 0x42, 0x06, 0x0a,
|
0x67, 0x67, 0x65, 0x72, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x4f, 0x0a, 0x11, 0x64, 0x72, 0x6f, 0x70,
|
||||||
0x04, 0x74, 0x61, 0x73, 0x6b, 0x22, 0xaf, 0x01, 0x0a, 0x0f, 0x44, 0x64, 0x6c, 0x54, 0x61, 0x73,
|
0x5f, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x11, 0x20,
|
||||||
0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x06, 0x68, 0x65, 0x61,
|
0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76,
|
||||||
0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70,
|
0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x54, 0x72, 0x69, 0x67, 0x67,
|
||||||
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x73,
|
0x65, 0x72, 0x54, 0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0f, 0x64, 0x72, 0x6f, 0x70, 0x54, 0x72,
|
||||||
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61,
|
0x69, 0x67, 0x67, 0x65, 0x72, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x49, 0x0a, 0x0f, 0x63, 0x6f, 0x6d,
|
||||||
0x64, 0x65, 0x72, 0x12, 0x2f, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
|
0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6f, 0x6e, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x12, 0x20, 0x01,
|
||||||
0x32, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d,
|
0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
|
||||||
0x65, 0x74, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x49, 0x64, 0x52,
|
0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x6e, 0x54,
|
||||||
0x03, 0x70, 0x69, 0x64, 0x12, 0x31, 0x0a, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64,
|
0x61, 0x73, 0x6b, 0x48, 0x00, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x4f, 0x6e,
|
||||||
0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
|
0x54, 0x61, 0x73, 0x6b, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x61, 0x73, 0x6b, 0x22, 0xaf, 0x01, 0x0a,
|
||||||
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x52, 0x08, 0x74,
|
0x0f, 0x44, 0x64, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||||
0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x73, 0x2a, 0x23, 0x0a, 0x0b, 0x44, 0x64, 0x6c, 0x54, 0x61,
|
0x12, 0x38, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
||||||
0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
|
0x32, 0x20, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d,
|
||||||
0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x72, 0x6f, 0x70, 0x10, 0x01, 0x42, 0x3c, 0x5a, 0x3a,
|
0x65, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x65, 0x61, 0x64,
|
||||||
0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x72, 0x65, 0x70, 0x74,
|
0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x2f, 0x0a, 0x03, 0x70, 0x69,
|
||||||
0x69, 0x6d, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
|
0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
|
||||||
0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69,
|
0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65,
|
||||||
0x6d, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
|
0x64, 0x75, 0x72, 0x65, 0x49, 0x64, 0x52, 0x03, 0x70, 0x69, 0x64, 0x12, 0x31, 0x0a, 0x09, 0x74,
|
||||||
0x6f, 0x33,
|
0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14,
|
||||||
|
0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62,
|
||||||
|
0x6c, 0x65, 0x49, 0x64, 0x52, 0x08, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x73, 0x2a, 0x23,
|
||||||
|
0x0a, 0x0b, 0x44, 0x64, 0x6c, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a, 0x0a,
|
||||||
|
0x06, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x72, 0x6f,
|
||||||
|
0x70, 0x10, 0x01, 0x42, 0x3c, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
|
||||||
|
0x6d, 0x2f, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x2f, 0x67,
|
||||||
|
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f,
|
||||||
|
0x2f, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x74,
|
||||||
|
0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@@ -1442,7 +1512,7 @@ func file_greptime_v1_meta_ddl_proto_rawDescGZIP() []byte {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var file_greptime_v1_meta_ddl_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
var file_greptime_v1_meta_ddl_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||||||
var file_greptime_v1_meta_ddl_proto_msgTypes = make([]protoimpl.MessageInfo, 18)
|
var file_greptime_v1_meta_ddl_proto_msgTypes = make([]protoimpl.MessageInfo, 19)
|
||||||
var file_greptime_v1_meta_ddl_proto_goTypes = []interface{}{
|
var file_greptime_v1_meta_ddl_proto_goTypes = []interface{}{
|
||||||
(DdlTaskType)(0), // 0: greptime.v1.meta.DdlTaskType
|
(DdlTaskType)(0), // 0: greptime.v1.meta.DdlTaskType
|
||||||
(*CreateDatabaseTask)(nil), // 1: greptime.v1.meta.CreateDatabaseTask
|
(*CreateDatabaseTask)(nil), // 1: greptime.v1.meta.CreateDatabaseTask
|
||||||
@@ -1461,72 +1531,76 @@ var file_greptime_v1_meta_ddl_proto_goTypes = []interface{}{
|
|||||||
(*AlterDatabaseTask)(nil), // 14: greptime.v1.meta.AlterDatabaseTask
|
(*AlterDatabaseTask)(nil), // 14: greptime.v1.meta.AlterDatabaseTask
|
||||||
(*CreateTriggerTask)(nil), // 15: greptime.v1.meta.CreateTriggerTask
|
(*CreateTriggerTask)(nil), // 15: greptime.v1.meta.CreateTriggerTask
|
||||||
(*DropTriggerTask)(nil), // 16: greptime.v1.meta.DropTriggerTask
|
(*DropTriggerTask)(nil), // 16: greptime.v1.meta.DropTriggerTask
|
||||||
(*DdlTaskRequest)(nil), // 17: greptime.v1.meta.DdlTaskRequest
|
(*CommentOnTask)(nil), // 17: greptime.v1.meta.CommentOnTask
|
||||||
(*DdlTaskResponse)(nil), // 18: greptime.v1.meta.DdlTaskResponse
|
(*DdlTaskRequest)(nil), // 18: greptime.v1.meta.DdlTaskRequest
|
||||||
(*v1.CreateDatabaseExpr)(nil), // 19: greptime.v1.CreateDatabaseExpr
|
(*DdlTaskResponse)(nil), // 19: greptime.v1.meta.DdlTaskResponse
|
||||||
(*v1.CreateTableExpr)(nil), // 20: greptime.v1.CreateTableExpr
|
(*v1.CreateDatabaseExpr)(nil), // 20: greptime.v1.CreateDatabaseExpr
|
||||||
(*Partition)(nil), // 21: greptime.v1.meta.Partition
|
(*v1.CreateTableExpr)(nil), // 21: greptime.v1.CreateTableExpr
|
||||||
(*v1.DropTableExpr)(nil), // 22: greptime.v1.DropTableExpr
|
(*Partition)(nil), // 22: greptime.v1.meta.Partition
|
||||||
(*v1.AlterTableExpr)(nil), // 23: greptime.v1.AlterTableExpr
|
(*v1.DropTableExpr)(nil), // 23: greptime.v1.DropTableExpr
|
||||||
(*v1.TruncateTableExpr)(nil), // 24: greptime.v1.TruncateTableExpr
|
(*v1.AlterTableExpr)(nil), // 24: greptime.v1.AlterTableExpr
|
||||||
(*v1.DropDatabaseExpr)(nil), // 25: greptime.v1.DropDatabaseExpr
|
(*v1.TruncateTableExpr)(nil), // 25: greptime.v1.TruncateTableExpr
|
||||||
(*v1.CreateFlowExpr)(nil), // 26: greptime.v1.CreateFlowExpr
|
(*v1.DropDatabaseExpr)(nil), // 26: greptime.v1.DropDatabaseExpr
|
||||||
(*v1.DropFlowExpr)(nil), // 27: greptime.v1.DropFlowExpr
|
(*v1.CreateFlowExpr)(nil), // 27: greptime.v1.CreateFlowExpr
|
||||||
(*v1.CreateViewExpr)(nil), // 28: greptime.v1.CreateViewExpr
|
(*v1.DropFlowExpr)(nil), // 28: greptime.v1.DropFlowExpr
|
||||||
(*v1.DropViewExpr)(nil), // 29: greptime.v1.DropViewExpr
|
(*v1.CreateViewExpr)(nil), // 29: greptime.v1.CreateViewExpr
|
||||||
(*v1.AlterDatabaseExpr)(nil), // 30: greptime.v1.AlterDatabaseExpr
|
(*v1.DropViewExpr)(nil), // 30: greptime.v1.DropViewExpr
|
||||||
(*v1.CreateTriggerExpr)(nil), // 31: greptime.v1.CreateTriggerExpr
|
(*v1.AlterDatabaseExpr)(nil), // 31: greptime.v1.AlterDatabaseExpr
|
||||||
(*v1.DropTriggerExpr)(nil), // 32: greptime.v1.DropTriggerExpr
|
(*v1.CreateTriggerExpr)(nil), // 32: greptime.v1.CreateTriggerExpr
|
||||||
(*RequestHeader)(nil), // 33: greptime.v1.meta.RequestHeader
|
(*v1.DropTriggerExpr)(nil), // 33: greptime.v1.DropTriggerExpr
|
||||||
(*v1.QueryContext)(nil), // 34: greptime.v1.QueryContext
|
(*v1.CommentOnExpr)(nil), // 34: greptime.v1.CommentOnExpr
|
||||||
(*ResponseHeader)(nil), // 35: greptime.v1.meta.ResponseHeader
|
(*RequestHeader)(nil), // 35: greptime.v1.meta.RequestHeader
|
||||||
(*ProcedureId)(nil), // 36: greptime.v1.meta.ProcedureId
|
(*v1.QueryContext)(nil), // 36: greptime.v1.QueryContext
|
||||||
(*v1.TableId)(nil), // 37: greptime.v1.TableId
|
(*ResponseHeader)(nil), // 37: greptime.v1.meta.ResponseHeader
|
||||||
|
(*ProcedureId)(nil), // 38: greptime.v1.meta.ProcedureId
|
||||||
|
(*v1.TableId)(nil), // 39: greptime.v1.TableId
|
||||||
}
|
}
|
||||||
var file_greptime_v1_meta_ddl_proto_depIdxs = []int32{
|
var file_greptime_v1_meta_ddl_proto_depIdxs = []int32{
|
||||||
19, // 0: greptime.v1.meta.CreateDatabaseTask.create_database:type_name -> greptime.v1.CreateDatabaseExpr
|
20, // 0: greptime.v1.meta.CreateDatabaseTask.create_database:type_name -> greptime.v1.CreateDatabaseExpr
|
||||||
20, // 1: greptime.v1.meta.CreateTableTask.create_table:type_name -> greptime.v1.CreateTableExpr
|
21, // 1: greptime.v1.meta.CreateTableTask.create_table:type_name -> greptime.v1.CreateTableExpr
|
||||||
21, // 2: greptime.v1.meta.CreateTableTask.partitions:type_name -> greptime.v1.meta.Partition
|
22, // 2: greptime.v1.meta.CreateTableTask.partitions:type_name -> greptime.v1.meta.Partition
|
||||||
2, // 3: greptime.v1.meta.CreateTableTasks.tasks:type_name -> greptime.v1.meta.CreateTableTask
|
2, // 3: greptime.v1.meta.CreateTableTasks.tasks:type_name -> greptime.v1.meta.CreateTableTask
|
||||||
22, // 4: greptime.v1.meta.DropTableTask.drop_table:type_name -> greptime.v1.DropTableExpr
|
23, // 4: greptime.v1.meta.DropTableTask.drop_table:type_name -> greptime.v1.DropTableExpr
|
||||||
4, // 5: greptime.v1.meta.DropTableTasks.tasks:type_name -> greptime.v1.meta.DropTableTask
|
4, // 5: greptime.v1.meta.DropTableTasks.tasks:type_name -> greptime.v1.meta.DropTableTask
|
||||||
23, // 6: greptime.v1.meta.AlterTableTask.alter_table:type_name -> greptime.v1.AlterTableExpr
|
24, // 6: greptime.v1.meta.AlterTableTask.alter_table:type_name -> greptime.v1.AlterTableExpr
|
||||||
6, // 7: greptime.v1.meta.AlterTableTasks.tasks:type_name -> greptime.v1.meta.AlterTableTask
|
6, // 7: greptime.v1.meta.AlterTableTasks.tasks:type_name -> greptime.v1.meta.AlterTableTask
|
||||||
24, // 8: greptime.v1.meta.TruncateTableTask.truncate_table:type_name -> greptime.v1.TruncateTableExpr
|
25, // 8: greptime.v1.meta.TruncateTableTask.truncate_table:type_name -> greptime.v1.TruncateTableExpr
|
||||||
25, // 9: greptime.v1.meta.DropDatabaseTask.drop_database:type_name -> greptime.v1.DropDatabaseExpr
|
26, // 9: greptime.v1.meta.DropDatabaseTask.drop_database:type_name -> greptime.v1.DropDatabaseExpr
|
||||||
26, // 10: greptime.v1.meta.CreateFlowTask.create_flow:type_name -> greptime.v1.CreateFlowExpr
|
27, // 10: greptime.v1.meta.CreateFlowTask.create_flow:type_name -> greptime.v1.CreateFlowExpr
|
||||||
27, // 11: greptime.v1.meta.DropFlowTask.drop_flow:type_name -> greptime.v1.DropFlowExpr
|
28, // 11: greptime.v1.meta.DropFlowTask.drop_flow:type_name -> greptime.v1.DropFlowExpr
|
||||||
28, // 12: greptime.v1.meta.CreateViewTask.create_view:type_name -> greptime.v1.CreateViewExpr
|
29, // 12: greptime.v1.meta.CreateViewTask.create_view:type_name -> greptime.v1.CreateViewExpr
|
||||||
29, // 13: greptime.v1.meta.DropViewTask.drop_view:type_name -> greptime.v1.DropViewExpr
|
30, // 13: greptime.v1.meta.DropViewTask.drop_view:type_name -> greptime.v1.DropViewExpr
|
||||||
30, // 14: greptime.v1.meta.AlterDatabaseTask.task:type_name -> greptime.v1.AlterDatabaseExpr
|
31, // 14: greptime.v1.meta.AlterDatabaseTask.task:type_name -> greptime.v1.AlterDatabaseExpr
|
||||||
31, // 15: greptime.v1.meta.CreateTriggerTask.create_trigger:type_name -> greptime.v1.CreateTriggerExpr
|
32, // 15: greptime.v1.meta.CreateTriggerTask.create_trigger:type_name -> greptime.v1.CreateTriggerExpr
|
||||||
32, // 16: greptime.v1.meta.DropTriggerTask.drop_trigger:type_name -> greptime.v1.DropTriggerExpr
|
33, // 16: greptime.v1.meta.DropTriggerTask.drop_trigger:type_name -> greptime.v1.DropTriggerExpr
|
||||||
33, // 17: greptime.v1.meta.DdlTaskRequest.header:type_name -> greptime.v1.meta.RequestHeader
|
34, // 17: greptime.v1.meta.CommentOnTask.comment_on:type_name -> greptime.v1.CommentOnExpr
|
||||||
34, // 18: greptime.v1.meta.DdlTaskRequest.query_context:type_name -> greptime.v1.QueryContext
|
35, // 18: greptime.v1.meta.DdlTaskRequest.header:type_name -> greptime.v1.meta.RequestHeader
|
||||||
2, // 19: greptime.v1.meta.DdlTaskRequest.create_table_task:type_name -> greptime.v1.meta.CreateTableTask
|
36, // 19: greptime.v1.meta.DdlTaskRequest.query_context:type_name -> greptime.v1.QueryContext
|
||||||
4, // 20: greptime.v1.meta.DdlTaskRequest.drop_table_task:type_name -> greptime.v1.meta.DropTableTask
|
2, // 20: greptime.v1.meta.DdlTaskRequest.create_table_task:type_name -> greptime.v1.meta.CreateTableTask
|
||||||
6, // 21: greptime.v1.meta.DdlTaskRequest.alter_table_task:type_name -> greptime.v1.meta.AlterTableTask
|
4, // 21: greptime.v1.meta.DdlTaskRequest.drop_table_task:type_name -> greptime.v1.meta.DropTableTask
|
||||||
8, // 22: greptime.v1.meta.DdlTaskRequest.truncate_table_task:type_name -> greptime.v1.meta.TruncateTableTask
|
6, // 22: greptime.v1.meta.DdlTaskRequest.alter_table_task:type_name -> greptime.v1.meta.AlterTableTask
|
||||||
3, // 23: greptime.v1.meta.DdlTaskRequest.create_table_tasks:type_name -> greptime.v1.meta.CreateTableTasks
|
8, // 23: greptime.v1.meta.DdlTaskRequest.truncate_table_task:type_name -> greptime.v1.meta.TruncateTableTask
|
||||||
5, // 24: greptime.v1.meta.DdlTaskRequest.drop_table_tasks:type_name -> greptime.v1.meta.DropTableTasks
|
3, // 24: greptime.v1.meta.DdlTaskRequest.create_table_tasks:type_name -> greptime.v1.meta.CreateTableTasks
|
||||||
7, // 25: greptime.v1.meta.DdlTaskRequest.alter_table_tasks:type_name -> greptime.v1.meta.AlterTableTasks
|
5, // 25: greptime.v1.meta.DdlTaskRequest.drop_table_tasks:type_name -> greptime.v1.meta.DropTableTasks
|
||||||
9, // 26: greptime.v1.meta.DdlTaskRequest.drop_database_task:type_name -> greptime.v1.meta.DropDatabaseTask
|
7, // 26: greptime.v1.meta.DdlTaskRequest.alter_table_tasks:type_name -> greptime.v1.meta.AlterTableTasks
|
||||||
1, // 27: greptime.v1.meta.DdlTaskRequest.create_database_task:type_name -> greptime.v1.meta.CreateDatabaseTask
|
9, // 27: greptime.v1.meta.DdlTaskRequest.drop_database_task:type_name -> greptime.v1.meta.DropDatabaseTask
|
||||||
10, // 28: greptime.v1.meta.DdlTaskRequest.create_flow_task:type_name -> greptime.v1.meta.CreateFlowTask
|
1, // 28: greptime.v1.meta.DdlTaskRequest.create_database_task:type_name -> greptime.v1.meta.CreateDatabaseTask
|
||||||
11, // 29: greptime.v1.meta.DdlTaskRequest.drop_flow_task:type_name -> greptime.v1.meta.DropFlowTask
|
10, // 29: greptime.v1.meta.DdlTaskRequest.create_flow_task:type_name -> greptime.v1.meta.CreateFlowTask
|
||||||
12, // 30: greptime.v1.meta.DdlTaskRequest.create_view_task:type_name -> greptime.v1.meta.CreateViewTask
|
11, // 30: greptime.v1.meta.DdlTaskRequest.drop_flow_task:type_name -> greptime.v1.meta.DropFlowTask
|
||||||
13, // 31: greptime.v1.meta.DdlTaskRequest.drop_view_task:type_name -> greptime.v1.meta.DropViewTask
|
12, // 31: greptime.v1.meta.DdlTaskRequest.create_view_task:type_name -> greptime.v1.meta.CreateViewTask
|
||||||
14, // 32: greptime.v1.meta.DdlTaskRequest.alter_database_task:type_name -> greptime.v1.meta.AlterDatabaseTask
|
13, // 32: greptime.v1.meta.DdlTaskRequest.drop_view_task:type_name -> greptime.v1.meta.DropViewTask
|
||||||
15, // 33: greptime.v1.meta.DdlTaskRequest.create_trigger_task:type_name -> greptime.v1.meta.CreateTriggerTask
|
14, // 33: greptime.v1.meta.DdlTaskRequest.alter_database_task:type_name -> greptime.v1.meta.AlterDatabaseTask
|
||||||
16, // 34: greptime.v1.meta.DdlTaskRequest.drop_trigger_task:type_name -> greptime.v1.meta.DropTriggerTask
|
15, // 34: greptime.v1.meta.DdlTaskRequest.create_trigger_task:type_name -> greptime.v1.meta.CreateTriggerTask
|
||||||
35, // 35: greptime.v1.meta.DdlTaskResponse.header:type_name -> greptime.v1.meta.ResponseHeader
|
16, // 35: greptime.v1.meta.DdlTaskRequest.drop_trigger_task:type_name -> greptime.v1.meta.DropTriggerTask
|
||||||
36, // 36: greptime.v1.meta.DdlTaskResponse.pid:type_name -> greptime.v1.meta.ProcedureId
|
17, // 36: greptime.v1.meta.DdlTaskRequest.comment_on_task:type_name -> greptime.v1.meta.CommentOnTask
|
||||||
37, // 37: greptime.v1.meta.DdlTaskResponse.table_ids:type_name -> greptime.v1.TableId
|
37, // 37: greptime.v1.meta.DdlTaskResponse.header:type_name -> greptime.v1.meta.ResponseHeader
|
||||||
38, // [38:38] is the sub-list for method output_type
|
38, // 38: greptime.v1.meta.DdlTaskResponse.pid:type_name -> greptime.v1.meta.ProcedureId
|
||||||
38, // [38:38] is the sub-list for method input_type
|
39, // 39: greptime.v1.meta.DdlTaskResponse.table_ids:type_name -> greptime.v1.TableId
|
||||||
38, // [38:38] is the sub-list for extension type_name
|
40, // [40:40] is the sub-list for method output_type
|
||||||
38, // [38:38] is the sub-list for extension extendee
|
40, // [40:40] is the sub-list for method input_type
|
||||||
0, // [0:38] is the sub-list for field type_name
|
40, // [40:40] is the sub-list for extension type_name
|
||||||
|
40, // [40:40] is the sub-list for extension extendee
|
||||||
|
0, // [0:40] is the sub-list for field type_name
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() { file_greptime_v1_meta_ddl_proto_init() }
|
func init() { file_greptime_v1_meta_ddl_proto_init() }
|
||||||
@@ -1730,7 +1804,7 @@ func file_greptime_v1_meta_ddl_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_greptime_v1_meta_ddl_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
file_greptime_v1_meta_ddl_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*DdlTaskRequest); i {
|
switch v := v.(*CommentOnTask); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
case 1:
|
case 1:
|
||||||
@@ -1742,6 +1816,18 @@ func file_greptime_v1_meta_ddl_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_greptime_v1_meta_ddl_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
file_greptime_v1_meta_ddl_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*DdlTaskRequest); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_greptime_v1_meta_ddl_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*DdlTaskResponse); i {
|
switch v := v.(*DdlTaskResponse); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
@@ -1754,7 +1840,7 @@ func file_greptime_v1_meta_ddl_proto_init() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_greptime_v1_meta_ddl_proto_msgTypes[16].OneofWrappers = []interface{}{
|
file_greptime_v1_meta_ddl_proto_msgTypes[17].OneofWrappers = []interface{}{
|
||||||
(*DdlTaskRequest_CreateTableTask)(nil),
|
(*DdlTaskRequest_CreateTableTask)(nil),
|
||||||
(*DdlTaskRequest_DropTableTask)(nil),
|
(*DdlTaskRequest_DropTableTask)(nil),
|
||||||
(*DdlTaskRequest_AlterTableTask)(nil),
|
(*DdlTaskRequest_AlterTableTask)(nil),
|
||||||
@@ -1771,6 +1857,7 @@ func file_greptime_v1_meta_ddl_proto_init() {
|
|||||||
(*DdlTaskRequest_AlterDatabaseTask)(nil),
|
(*DdlTaskRequest_AlterDatabaseTask)(nil),
|
||||||
(*DdlTaskRequest_CreateTriggerTask)(nil),
|
(*DdlTaskRequest_CreateTriggerTask)(nil),
|
||||||
(*DdlTaskRequest_DropTriggerTask)(nil),
|
(*DdlTaskRequest_DropTriggerTask)(nil),
|
||||||
|
(*DdlTaskRequest_CommentOnTask)(nil),
|
||||||
}
|
}
|
||||||
type x struct{}
|
type x struct{}
|
||||||
out := protoimpl.TypeBuilder{
|
out := protoimpl.TypeBuilder{
|
||||||
@@ -1778,7 +1865,7 @@ func file_greptime_v1_meta_ddl_proto_init() {
|
|||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
RawDescriptor: file_greptime_v1_meta_ddl_proto_rawDesc,
|
RawDescriptor: file_greptime_v1_meta_ddl_proto_rawDesc,
|
||||||
NumEnums: 1,
|
NumEnums: 1,
|
||||||
NumMessages: 18,
|
NumMessages: 19,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 0,
|
NumServices: 0,
|
||||||
},
|
},
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -39,6 +39,7 @@ message DdlRequest {
|
|||||||
CreateViewExpr create_view = 10;
|
CreateViewExpr create_view = 10;
|
||||||
DropViewExpr drop_view = 11;
|
DropViewExpr drop_view = 11;
|
||||||
AlterDatabaseExpr alter_database = 12;
|
AlterDatabaseExpr alter_database = 12;
|
||||||
|
CommentOnExpr comment_on = 13;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -387,3 +388,22 @@ message DropTriggerExpr {
|
|||||||
string trigger_name = 2;
|
string trigger_name = 2;
|
||||||
bool drop_if_exists = 3;
|
bool drop_if_exists = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// The type of object to comment on
|
||||||
|
enum CommentObjectType {
|
||||||
|
TABLE = 0;
|
||||||
|
COLUMN = 1;
|
||||||
|
FLOW = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Comment on a table, column, or flow
|
||||||
|
message CommentOnExpr {
|
||||||
|
string catalog_name = 1;
|
||||||
|
string schema_name = 2;
|
||||||
|
CommentObjectType object_type = 3;
|
||||||
|
string object_name = 4;
|
||||||
|
// Column name (only for Column comments)
|
||||||
|
string column_name = 5;
|
||||||
|
// The comment text (null to remove comment)
|
||||||
|
string comment = 6;
|
||||||
|
}
|
||||||
|
|||||||
@@ -98,6 +98,10 @@ message DropTriggerTask {
|
|||||||
DropTriggerExpr drop_trigger = 1;
|
DropTriggerExpr drop_trigger = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message CommentOnTask {
|
||||||
|
CommentOnExpr comment_on = 1;
|
||||||
|
}
|
||||||
|
|
||||||
message DdlTaskRequest {
|
message DdlTaskRequest {
|
||||||
RequestHeader header = 1;
|
RequestHeader header = 1;
|
||||||
QueryContext query_context = 64;
|
QueryContext query_context = 64;
|
||||||
@@ -119,6 +123,7 @@ message DdlTaskRequest {
|
|||||||
AlterDatabaseTask alter_database_task = 15;
|
AlterDatabaseTask alter_database_task = 15;
|
||||||
CreateTriggerTask create_trigger_task = 16;
|
CreateTriggerTask create_trigger_task = 16;
|
||||||
DropTriggerTask drop_trigger_task = 17;
|
DropTriggerTask drop_trigger_task = 17;
|
||||||
|
CommentOnTask comment_on_task = 18;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user