mirror of https://github.com/sysown/proxysql
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1314 lines
48 KiB
1314 lines
48 KiB
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: mysqlx_session.proto
|
|
|
|
#ifndef GOOGLE_PROTOBUF_INCLUDED_mysqlx_5fsession_2eproto
|
|
#define GOOGLE_PROTOBUF_INCLUDED_mysqlx_5fsession_2eproto
|
|
|
|
#include <limits>
|
|
#include <string>
|
|
|
|
#include <google/protobuf/port_def.inc>
|
|
#if PROTOBUF_VERSION < 3021000
|
|
#error This file was generated by a newer version of protoc which is
|
|
#error incompatible with your Protocol Buffer headers. Please update
|
|
#error your headers.
|
|
#endif
|
|
#if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
|
|
#error This file was generated by an older version of protoc which is
|
|
#error incompatible with your Protocol Buffer headers. Please
|
|
#error regenerate this file with a newer version of protoc.
|
|
#endif
|
|
|
|
#include <google/protobuf/port_undef.inc>
|
|
#include <google/protobuf/io/coded_stream.h>
|
|
#include <google/protobuf/arena.h>
|
|
#include <google/protobuf/arenastring.h>
|
|
#include <google/protobuf/generated_message_bases.h>
|
|
#include <google/protobuf/generated_message_util.h>
|
|
#include <google/protobuf/metadata_lite.h>
|
|
#include <google/protobuf/generated_message_reflection.h>
|
|
#include <google/protobuf/message.h>
|
|
#include <google/protobuf/repeated_field.h> // IWYU pragma: export
|
|
#include <google/protobuf/extension_set.h> // IWYU pragma: export
|
|
#include <google/protobuf/unknown_field_set.h>
|
|
#include "mysqlx.pb.h"
|
|
// @@protoc_insertion_point(includes)
|
|
#include <google/protobuf/port_def.inc>
|
|
#define PROTOBUF_INTERNAL_EXPORT_mysqlx_5fsession_2eproto
|
|
PROTOBUF_NAMESPACE_OPEN
|
|
namespace internal {
|
|
class AnyMetadata;
|
|
} // namespace internal
|
|
PROTOBUF_NAMESPACE_CLOSE
|
|
|
|
// Internal implementation detail -- do not use these members.
|
|
struct TableStruct_mysqlx_5fsession_2eproto {
|
|
static const uint32_t offsets[];
|
|
};
|
|
extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_mysqlx_5fsession_2eproto;
|
|
namespace Mysqlx {
|
|
namespace Session {
|
|
class AuthenticateContinue;
|
|
struct AuthenticateContinueDefaultTypeInternal;
|
|
extern AuthenticateContinueDefaultTypeInternal _AuthenticateContinue_default_instance_;
|
|
class AuthenticateOk;
|
|
struct AuthenticateOkDefaultTypeInternal;
|
|
extern AuthenticateOkDefaultTypeInternal _AuthenticateOk_default_instance_;
|
|
class AuthenticateStart;
|
|
struct AuthenticateStartDefaultTypeInternal;
|
|
extern AuthenticateStartDefaultTypeInternal _AuthenticateStart_default_instance_;
|
|
class Close;
|
|
struct CloseDefaultTypeInternal;
|
|
extern CloseDefaultTypeInternal _Close_default_instance_;
|
|
class Reset;
|
|
struct ResetDefaultTypeInternal;
|
|
extern ResetDefaultTypeInternal _Reset_default_instance_;
|
|
} // namespace Session
|
|
} // namespace Mysqlx
|
|
PROTOBUF_NAMESPACE_OPEN
|
|
template<> ::Mysqlx::Session::AuthenticateContinue* Arena::CreateMaybeMessage<::Mysqlx::Session::AuthenticateContinue>(Arena*);
|
|
template<> ::Mysqlx::Session::AuthenticateOk* Arena::CreateMaybeMessage<::Mysqlx::Session::AuthenticateOk>(Arena*);
|
|
template<> ::Mysqlx::Session::AuthenticateStart* Arena::CreateMaybeMessage<::Mysqlx::Session::AuthenticateStart>(Arena*);
|
|
template<> ::Mysqlx::Session::Close* Arena::CreateMaybeMessage<::Mysqlx::Session::Close>(Arena*);
|
|
template<> ::Mysqlx::Session::Reset* Arena::CreateMaybeMessage<::Mysqlx::Session::Reset>(Arena*);
|
|
PROTOBUF_NAMESPACE_CLOSE
|
|
namespace Mysqlx {
|
|
namespace Session {
|
|
|
|
// ===================================================================
|
|
|
|
class AuthenticateStart final :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:Mysqlx.Session.AuthenticateStart) */ {
|
|
public:
|
|
inline AuthenticateStart() : AuthenticateStart(nullptr) {}
|
|
~AuthenticateStart() override;
|
|
explicit PROTOBUF_CONSTEXPR AuthenticateStart(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
|
|
|
AuthenticateStart(const AuthenticateStart& from);
|
|
AuthenticateStart(AuthenticateStart&& from) noexcept
|
|
: AuthenticateStart() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline AuthenticateStart& operator=(const AuthenticateStart& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline AuthenticateStart& operator=(AuthenticateStart&& 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;
|
|
}
|
|
|
|
inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
|
}
|
|
|
|
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 AuthenticateStart& default_instance() {
|
|
return *internal_default_instance();
|
|
}
|
|
static inline const AuthenticateStart* internal_default_instance() {
|
|
return reinterpret_cast<const AuthenticateStart*>(
|
|
&_AuthenticateStart_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
0;
|
|
|
|
friend void swap(AuthenticateStart& a, AuthenticateStart& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(AuthenticateStart* 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(AuthenticateStart* other) {
|
|
if (other == this) return;
|
|
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
AuthenticateStart* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
|
return CreateMaybeMessage<AuthenticateStart>(arena);
|
|
}
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
|
void CopyFrom(const AuthenticateStart& from);
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
|
void MergeFrom( const AuthenticateStart& from) {
|
|
AuthenticateStart::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(AuthenticateStart* other);
|
|
|
|
private:
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "Mysqlx.Session.AuthenticateStart";
|
|
}
|
|
protected:
|
|
explicit AuthenticateStart(::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 {
|
|
kMechNameFieldNumber = 1,
|
|
kAuthDataFieldNumber = 2,
|
|
kInitialResponseFieldNumber = 3,
|
|
};
|
|
// required string mech_name = 1;
|
|
bool has_mech_name() const;
|
|
private:
|
|
bool _internal_has_mech_name() const;
|
|
public:
|
|
void clear_mech_name();
|
|
const std::string& mech_name() const;
|
|
template <typename ArgT0 = const std::string&, typename... ArgT>
|
|
void set_mech_name(ArgT0&& arg0, ArgT... args);
|
|
std::string* mutable_mech_name();
|
|
PROTOBUF_NODISCARD std::string* release_mech_name();
|
|
void set_allocated_mech_name(std::string* mech_name);
|
|
private:
|
|
const std::string& _internal_mech_name() const;
|
|
inline PROTOBUF_ALWAYS_INLINE void _internal_set_mech_name(const std::string& value);
|
|
std::string* _internal_mutable_mech_name();
|
|
public:
|
|
|
|
// optional bytes auth_data = 2;
|
|
bool has_auth_data() const;
|
|
private:
|
|
bool _internal_has_auth_data() const;
|
|
public:
|
|
void clear_auth_data();
|
|
const std::string& auth_data() const;
|
|
template <typename ArgT0 = const std::string&, typename... ArgT>
|
|
void set_auth_data(ArgT0&& arg0, ArgT... args);
|
|
std::string* mutable_auth_data();
|
|
PROTOBUF_NODISCARD std::string* release_auth_data();
|
|
void set_allocated_auth_data(std::string* auth_data);
|
|
private:
|
|
const std::string& _internal_auth_data() const;
|
|
inline PROTOBUF_ALWAYS_INLINE void _internal_set_auth_data(const std::string& value);
|
|
std::string* _internal_mutable_auth_data();
|
|
public:
|
|
|
|
// optional bytes initial_response = 3;
|
|
bool has_initial_response() const;
|
|
private:
|
|
bool _internal_has_initial_response() const;
|
|
public:
|
|
void clear_initial_response();
|
|
const std::string& initial_response() const;
|
|
template <typename ArgT0 = const std::string&, typename... ArgT>
|
|
void set_initial_response(ArgT0&& arg0, ArgT... args);
|
|
std::string* mutable_initial_response();
|
|
PROTOBUF_NODISCARD std::string* release_initial_response();
|
|
void set_allocated_initial_response(std::string* initial_response);
|
|
private:
|
|
const std::string& _internal_initial_response() const;
|
|
inline PROTOBUF_ALWAYS_INLINE void _internal_set_initial_response(const std::string& value);
|
|
std::string* _internal_mutable_initial_response();
|
|
public:
|
|
|
|
// @@protoc_insertion_point(class_scope:Mysqlx.Session.AuthenticateStart)
|
|
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::HasBits<1> _has_bits_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mech_name_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr auth_data_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr initial_response_;
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_mysqlx_5fsession_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class AuthenticateContinue final :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:Mysqlx.Session.AuthenticateContinue) */ {
|
|
public:
|
|
inline AuthenticateContinue() : AuthenticateContinue(nullptr) {}
|
|
~AuthenticateContinue() override;
|
|
explicit PROTOBUF_CONSTEXPR AuthenticateContinue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
|
|
|
AuthenticateContinue(const AuthenticateContinue& from);
|
|
AuthenticateContinue(AuthenticateContinue&& from) noexcept
|
|
: AuthenticateContinue() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline AuthenticateContinue& operator=(const AuthenticateContinue& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline AuthenticateContinue& operator=(AuthenticateContinue&& 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;
|
|
}
|
|
|
|
inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
|
}
|
|
|
|
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 AuthenticateContinue& default_instance() {
|
|
return *internal_default_instance();
|
|
}
|
|
static inline const AuthenticateContinue* internal_default_instance() {
|
|
return reinterpret_cast<const AuthenticateContinue*>(
|
|
&_AuthenticateContinue_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
1;
|
|
|
|
friend void swap(AuthenticateContinue& a, AuthenticateContinue& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(AuthenticateContinue* 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(AuthenticateContinue* other) {
|
|
if (other == this) return;
|
|
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
AuthenticateContinue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
|
return CreateMaybeMessage<AuthenticateContinue>(arena);
|
|
}
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
|
void CopyFrom(const AuthenticateContinue& from);
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
|
void MergeFrom( const AuthenticateContinue& from) {
|
|
AuthenticateContinue::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(AuthenticateContinue* other);
|
|
|
|
private:
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "Mysqlx.Session.AuthenticateContinue";
|
|
}
|
|
protected:
|
|
explicit AuthenticateContinue(::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 {
|
|
kAuthDataFieldNumber = 1,
|
|
};
|
|
// required bytes auth_data = 1;
|
|
bool has_auth_data() const;
|
|
private:
|
|
bool _internal_has_auth_data() const;
|
|
public:
|
|
void clear_auth_data();
|
|
const std::string& auth_data() const;
|
|
template <typename ArgT0 = const std::string&, typename... ArgT>
|
|
void set_auth_data(ArgT0&& arg0, ArgT... args);
|
|
std::string* mutable_auth_data();
|
|
PROTOBUF_NODISCARD std::string* release_auth_data();
|
|
void set_allocated_auth_data(std::string* auth_data);
|
|
private:
|
|
const std::string& _internal_auth_data() const;
|
|
inline PROTOBUF_ALWAYS_INLINE void _internal_set_auth_data(const std::string& value);
|
|
std::string* _internal_mutable_auth_data();
|
|
public:
|
|
|
|
// @@protoc_insertion_point(class_scope:Mysqlx.Session.AuthenticateContinue)
|
|
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::HasBits<1> _has_bits_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr auth_data_;
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_mysqlx_5fsession_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class AuthenticateOk final :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:Mysqlx.Session.AuthenticateOk) */ {
|
|
public:
|
|
inline AuthenticateOk() : AuthenticateOk(nullptr) {}
|
|
~AuthenticateOk() override;
|
|
explicit PROTOBUF_CONSTEXPR AuthenticateOk(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
|
|
|
AuthenticateOk(const AuthenticateOk& from);
|
|
AuthenticateOk(AuthenticateOk&& from) noexcept
|
|
: AuthenticateOk() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline AuthenticateOk& operator=(const AuthenticateOk& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline AuthenticateOk& operator=(AuthenticateOk&& 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;
|
|
}
|
|
|
|
inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
|
}
|
|
|
|
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 AuthenticateOk& default_instance() {
|
|
return *internal_default_instance();
|
|
}
|
|
static inline const AuthenticateOk* internal_default_instance() {
|
|
return reinterpret_cast<const AuthenticateOk*>(
|
|
&_AuthenticateOk_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
2;
|
|
|
|
friend void swap(AuthenticateOk& a, AuthenticateOk& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(AuthenticateOk* 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(AuthenticateOk* other) {
|
|
if (other == this) return;
|
|
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
AuthenticateOk* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
|
return CreateMaybeMessage<AuthenticateOk>(arena);
|
|
}
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
|
void CopyFrom(const AuthenticateOk& from);
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
|
void MergeFrom( const AuthenticateOk& from) {
|
|
AuthenticateOk::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(AuthenticateOk* other);
|
|
|
|
private:
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "Mysqlx.Session.AuthenticateOk";
|
|
}
|
|
protected:
|
|
explicit AuthenticateOk(::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 {
|
|
kAuthDataFieldNumber = 1,
|
|
};
|
|
// optional bytes auth_data = 1;
|
|
bool has_auth_data() const;
|
|
private:
|
|
bool _internal_has_auth_data() const;
|
|
public:
|
|
void clear_auth_data();
|
|
const std::string& auth_data() const;
|
|
template <typename ArgT0 = const std::string&, typename... ArgT>
|
|
void set_auth_data(ArgT0&& arg0, ArgT... args);
|
|
std::string* mutable_auth_data();
|
|
PROTOBUF_NODISCARD std::string* release_auth_data();
|
|
void set_allocated_auth_data(std::string* auth_data);
|
|
private:
|
|
const std::string& _internal_auth_data() const;
|
|
inline PROTOBUF_ALWAYS_INLINE void _internal_set_auth_data(const std::string& value);
|
|
std::string* _internal_mutable_auth_data();
|
|
public:
|
|
|
|
// @@protoc_insertion_point(class_scope:Mysqlx.Session.AuthenticateOk)
|
|
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::HasBits<1> _has_bits_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr auth_data_;
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_mysqlx_5fsession_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class Reset final :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:Mysqlx.Session.Reset) */ {
|
|
public:
|
|
inline Reset() : Reset(nullptr) {}
|
|
~Reset() override;
|
|
explicit PROTOBUF_CONSTEXPR Reset(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
|
|
|
Reset(const Reset& from);
|
|
Reset(Reset&& from) noexcept
|
|
: Reset() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline Reset& operator=(const Reset& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline Reset& operator=(Reset&& 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;
|
|
}
|
|
|
|
inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
|
}
|
|
|
|
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 Reset& default_instance() {
|
|
return *internal_default_instance();
|
|
}
|
|
static inline const Reset* internal_default_instance() {
|
|
return reinterpret_cast<const Reset*>(
|
|
&_Reset_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
3;
|
|
|
|
friend void swap(Reset& a, Reset& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(Reset* 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(Reset* other) {
|
|
if (other == this) return;
|
|
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
Reset* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
|
return CreateMaybeMessage<Reset>(arena);
|
|
}
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
|
void CopyFrom(const Reset& from);
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
|
void MergeFrom( const Reset& from) {
|
|
Reset::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(Reset* other);
|
|
|
|
private:
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "Mysqlx.Session.Reset";
|
|
}
|
|
protected:
|
|
explicit Reset(::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 {
|
|
kKeepOpenFieldNumber = 1,
|
|
};
|
|
// optional bool keep_open = 1 [default = false];
|
|
bool has_keep_open() const;
|
|
private:
|
|
bool _internal_has_keep_open() const;
|
|
public:
|
|
void clear_keep_open();
|
|
bool keep_open() const;
|
|
void set_keep_open(bool value);
|
|
private:
|
|
bool _internal_keep_open() const;
|
|
void _internal_set_keep_open(bool value);
|
|
public:
|
|
|
|
// @@protoc_insertion_point(class_scope:Mysqlx.Session.Reset)
|
|
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::HasBits<1> _has_bits_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
bool keep_open_;
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_mysqlx_5fsession_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class Close final :
|
|
public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:Mysqlx.Session.Close) */ {
|
|
public:
|
|
inline Close() : Close(nullptr) {}
|
|
explicit PROTOBUF_CONSTEXPR Close(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
|
|
|
Close(const Close& from);
|
|
Close(Close&& from) noexcept
|
|
: Close() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline Close& operator=(const Close& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline Close& operator=(Close&& 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;
|
|
}
|
|
|
|
inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
|
|
return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
|
|
}
|
|
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
|
|
return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
|
|
}
|
|
|
|
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 Close& default_instance() {
|
|
return *internal_default_instance();
|
|
}
|
|
static inline const Close* internal_default_instance() {
|
|
return reinterpret_cast<const Close*>(
|
|
&_Close_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
4;
|
|
|
|
friend void swap(Close& a, Close& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(Close* 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(Close* other) {
|
|
if (other == this) return;
|
|
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
Close* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
|
return CreateMaybeMessage<Close>(arena);
|
|
}
|
|
using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
|
|
inline void CopyFrom(const Close& from) {
|
|
::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from);
|
|
}
|
|
using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
|
|
void MergeFrom(const Close& from) {
|
|
::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from);
|
|
}
|
|
public:
|
|
|
|
private:
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "Mysqlx.Session.Close";
|
|
}
|
|
protected:
|
|
explicit Close(::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 -------------------------------------------------------
|
|
|
|
// @@protoc_insertion_point(class_scope:Mysqlx.Session.Close)
|
|
private:
|
|
class _Internal;
|
|
|
|
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
|
typedef void InternalArenaConstructable_;
|
|
typedef void DestructorSkippable_;
|
|
struct Impl_ {
|
|
};
|
|
friend struct ::TableStruct_mysqlx_5fsession_2eproto;
|
|
};
|
|
// ===================================================================
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifdef __GNUC__
|
|
#pragma GCC diagnostic push
|
|
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
|
|
#endif // __GNUC__
|
|
// AuthenticateStart
|
|
|
|
// required string mech_name = 1;
|
|
inline bool AuthenticateStart::_internal_has_mech_name() const {
|
|
bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
|
|
return value;
|
|
}
|
|
inline bool AuthenticateStart::has_mech_name() const {
|
|
return _internal_has_mech_name();
|
|
}
|
|
inline void AuthenticateStart::clear_mech_name() {
|
|
_impl_.mech_name_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const std::string& AuthenticateStart::mech_name() const {
|
|
// @@protoc_insertion_point(field_get:Mysqlx.Session.AuthenticateStart.mech_name)
|
|
return _internal_mech_name();
|
|
}
|
|
template <typename ArgT0, typename... ArgT>
|
|
inline PROTOBUF_ALWAYS_INLINE
|
|
void AuthenticateStart::set_mech_name(ArgT0&& arg0, ArgT... args) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.mech_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
|
|
// @@protoc_insertion_point(field_set:Mysqlx.Session.AuthenticateStart.mech_name)
|
|
}
|
|
inline std::string* AuthenticateStart::mutable_mech_name() {
|
|
std::string* _s = _internal_mutable_mech_name();
|
|
// @@protoc_insertion_point(field_mutable:Mysqlx.Session.AuthenticateStart.mech_name)
|
|
return _s;
|
|
}
|
|
inline const std::string& AuthenticateStart::_internal_mech_name() const {
|
|
return _impl_.mech_name_.Get();
|
|
}
|
|
inline void AuthenticateStart::_internal_set_mech_name(const std::string& value) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.mech_name_.Set(value, GetArenaForAllocation());
|
|
}
|
|
inline std::string* AuthenticateStart::_internal_mutable_mech_name() {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
return _impl_.mech_name_.Mutable(GetArenaForAllocation());
|
|
}
|
|
inline std::string* AuthenticateStart::release_mech_name() {
|
|
// @@protoc_insertion_point(field_release:Mysqlx.Session.AuthenticateStart.mech_name)
|
|
if (!_internal_has_mech_name()) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
auto* p = _impl_.mech_name_.Release();
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
if (_impl_.mech_name_.IsDefault()) {
|
|
_impl_.mech_name_.Set("", GetArenaForAllocation());
|
|
}
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
return p;
|
|
}
|
|
inline void AuthenticateStart::set_allocated_mech_name(std::string* mech_name) {
|
|
if (mech_name != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
_impl_.mech_name_.SetAllocated(mech_name, GetArenaForAllocation());
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
if (_impl_.mech_name_.IsDefault()) {
|
|
_impl_.mech_name_.Set("", GetArenaForAllocation());
|
|
}
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
// @@protoc_insertion_point(field_set_allocated:Mysqlx.Session.AuthenticateStart.mech_name)
|
|
}
|
|
|
|
// optional bytes auth_data = 2;
|
|
inline bool AuthenticateStart::_internal_has_auth_data() const {
|
|
bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
|
|
return value;
|
|
}
|
|
inline bool AuthenticateStart::has_auth_data() const {
|
|
return _internal_has_auth_data();
|
|
}
|
|
inline void AuthenticateStart::clear_auth_data() {
|
|
_impl_.auth_data_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
inline const std::string& AuthenticateStart::auth_data() const {
|
|
// @@protoc_insertion_point(field_get:Mysqlx.Session.AuthenticateStart.auth_data)
|
|
return _internal_auth_data();
|
|
}
|
|
template <typename ArgT0, typename... ArgT>
|
|
inline PROTOBUF_ALWAYS_INLINE
|
|
void AuthenticateStart::set_auth_data(ArgT0&& arg0, ArgT... args) {
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
_impl_.auth_data_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
|
|
// @@protoc_insertion_point(field_set:Mysqlx.Session.AuthenticateStart.auth_data)
|
|
}
|
|
inline std::string* AuthenticateStart::mutable_auth_data() {
|
|
std::string* _s = _internal_mutable_auth_data();
|
|
// @@protoc_insertion_point(field_mutable:Mysqlx.Session.AuthenticateStart.auth_data)
|
|
return _s;
|
|
}
|
|
inline const std::string& AuthenticateStart::_internal_auth_data() const {
|
|
return _impl_.auth_data_.Get();
|
|
}
|
|
inline void AuthenticateStart::_internal_set_auth_data(const std::string& value) {
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
_impl_.auth_data_.Set(value, GetArenaForAllocation());
|
|
}
|
|
inline std::string* AuthenticateStart::_internal_mutable_auth_data() {
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
return _impl_.auth_data_.Mutable(GetArenaForAllocation());
|
|
}
|
|
inline std::string* AuthenticateStart::release_auth_data() {
|
|
// @@protoc_insertion_point(field_release:Mysqlx.Session.AuthenticateStart.auth_data)
|
|
if (!_internal_has_auth_data()) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
auto* p = _impl_.auth_data_.Release();
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
if (_impl_.auth_data_.IsDefault()) {
|
|
_impl_.auth_data_.Set("", GetArenaForAllocation());
|
|
}
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
return p;
|
|
}
|
|
inline void AuthenticateStart::set_allocated_auth_data(std::string* auth_data) {
|
|
if (auth_data != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000002u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000002u;
|
|
}
|
|
_impl_.auth_data_.SetAllocated(auth_data, GetArenaForAllocation());
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
if (_impl_.auth_data_.IsDefault()) {
|
|
_impl_.auth_data_.Set("", GetArenaForAllocation());
|
|
}
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
// @@protoc_insertion_point(field_set_allocated:Mysqlx.Session.AuthenticateStart.auth_data)
|
|
}
|
|
|
|
// optional bytes initial_response = 3;
|
|
inline bool AuthenticateStart::_internal_has_initial_response() const {
|
|
bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
|
|
return value;
|
|
}
|
|
inline bool AuthenticateStart::has_initial_response() const {
|
|
return _internal_has_initial_response();
|
|
}
|
|
inline void AuthenticateStart::clear_initial_response() {
|
|
_impl_.initial_response_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
inline const std::string& AuthenticateStart::initial_response() const {
|
|
// @@protoc_insertion_point(field_get:Mysqlx.Session.AuthenticateStart.initial_response)
|
|
return _internal_initial_response();
|
|
}
|
|
template <typename ArgT0, typename... ArgT>
|
|
inline PROTOBUF_ALWAYS_INLINE
|
|
void AuthenticateStart::set_initial_response(ArgT0&& arg0, ArgT... args) {
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
_impl_.initial_response_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
|
|
// @@protoc_insertion_point(field_set:Mysqlx.Session.AuthenticateStart.initial_response)
|
|
}
|
|
inline std::string* AuthenticateStart::mutable_initial_response() {
|
|
std::string* _s = _internal_mutable_initial_response();
|
|
// @@protoc_insertion_point(field_mutable:Mysqlx.Session.AuthenticateStart.initial_response)
|
|
return _s;
|
|
}
|
|
inline const std::string& AuthenticateStart::_internal_initial_response() const {
|
|
return _impl_.initial_response_.Get();
|
|
}
|
|
inline void AuthenticateStart::_internal_set_initial_response(const std::string& value) {
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
_impl_.initial_response_.Set(value, GetArenaForAllocation());
|
|
}
|
|
inline std::string* AuthenticateStart::_internal_mutable_initial_response() {
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
return _impl_.initial_response_.Mutable(GetArenaForAllocation());
|
|
}
|
|
inline std::string* AuthenticateStart::release_initial_response() {
|
|
// @@protoc_insertion_point(field_release:Mysqlx.Session.AuthenticateStart.initial_response)
|
|
if (!_internal_has_initial_response()) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
auto* p = _impl_.initial_response_.Release();
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
if (_impl_.initial_response_.IsDefault()) {
|
|
_impl_.initial_response_.Set("", GetArenaForAllocation());
|
|
}
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
return p;
|
|
}
|
|
inline void AuthenticateStart::set_allocated_initial_response(std::string* initial_response) {
|
|
if (initial_response != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000004u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000004u;
|
|
}
|
|
_impl_.initial_response_.SetAllocated(initial_response, GetArenaForAllocation());
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
if (_impl_.initial_response_.IsDefault()) {
|
|
_impl_.initial_response_.Set("", GetArenaForAllocation());
|
|
}
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
// @@protoc_insertion_point(field_set_allocated:Mysqlx.Session.AuthenticateStart.initial_response)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// AuthenticateContinue
|
|
|
|
// required bytes auth_data = 1;
|
|
inline bool AuthenticateContinue::_internal_has_auth_data() const {
|
|
bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
|
|
return value;
|
|
}
|
|
inline bool AuthenticateContinue::has_auth_data() const {
|
|
return _internal_has_auth_data();
|
|
}
|
|
inline void AuthenticateContinue::clear_auth_data() {
|
|
_impl_.auth_data_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const std::string& AuthenticateContinue::auth_data() const {
|
|
// @@protoc_insertion_point(field_get:Mysqlx.Session.AuthenticateContinue.auth_data)
|
|
return _internal_auth_data();
|
|
}
|
|
template <typename ArgT0, typename... ArgT>
|
|
inline PROTOBUF_ALWAYS_INLINE
|
|
void AuthenticateContinue::set_auth_data(ArgT0&& arg0, ArgT... args) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.auth_data_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
|
|
// @@protoc_insertion_point(field_set:Mysqlx.Session.AuthenticateContinue.auth_data)
|
|
}
|
|
inline std::string* AuthenticateContinue::mutable_auth_data() {
|
|
std::string* _s = _internal_mutable_auth_data();
|
|
// @@protoc_insertion_point(field_mutable:Mysqlx.Session.AuthenticateContinue.auth_data)
|
|
return _s;
|
|
}
|
|
inline const std::string& AuthenticateContinue::_internal_auth_data() const {
|
|
return _impl_.auth_data_.Get();
|
|
}
|
|
inline void AuthenticateContinue::_internal_set_auth_data(const std::string& value) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.auth_data_.Set(value, GetArenaForAllocation());
|
|
}
|
|
inline std::string* AuthenticateContinue::_internal_mutable_auth_data() {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
return _impl_.auth_data_.Mutable(GetArenaForAllocation());
|
|
}
|
|
inline std::string* AuthenticateContinue::release_auth_data() {
|
|
// @@protoc_insertion_point(field_release:Mysqlx.Session.AuthenticateContinue.auth_data)
|
|
if (!_internal_has_auth_data()) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
auto* p = _impl_.auth_data_.Release();
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
if (_impl_.auth_data_.IsDefault()) {
|
|
_impl_.auth_data_.Set("", GetArenaForAllocation());
|
|
}
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
return p;
|
|
}
|
|
inline void AuthenticateContinue::set_allocated_auth_data(std::string* auth_data) {
|
|
if (auth_data != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
_impl_.auth_data_.SetAllocated(auth_data, GetArenaForAllocation());
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
if (_impl_.auth_data_.IsDefault()) {
|
|
_impl_.auth_data_.Set("", GetArenaForAllocation());
|
|
}
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
// @@protoc_insertion_point(field_set_allocated:Mysqlx.Session.AuthenticateContinue.auth_data)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// AuthenticateOk
|
|
|
|
// optional bytes auth_data = 1;
|
|
inline bool AuthenticateOk::_internal_has_auth_data() const {
|
|
bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
|
|
return value;
|
|
}
|
|
inline bool AuthenticateOk::has_auth_data() const {
|
|
return _internal_has_auth_data();
|
|
}
|
|
inline void AuthenticateOk::clear_auth_data() {
|
|
_impl_.auth_data_.ClearToEmpty();
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline const std::string& AuthenticateOk::auth_data() const {
|
|
// @@protoc_insertion_point(field_get:Mysqlx.Session.AuthenticateOk.auth_data)
|
|
return _internal_auth_data();
|
|
}
|
|
template <typename ArgT0, typename... ArgT>
|
|
inline PROTOBUF_ALWAYS_INLINE
|
|
void AuthenticateOk::set_auth_data(ArgT0&& arg0, ArgT... args) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.auth_data_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
|
|
// @@protoc_insertion_point(field_set:Mysqlx.Session.AuthenticateOk.auth_data)
|
|
}
|
|
inline std::string* AuthenticateOk::mutable_auth_data() {
|
|
std::string* _s = _internal_mutable_auth_data();
|
|
// @@protoc_insertion_point(field_mutable:Mysqlx.Session.AuthenticateOk.auth_data)
|
|
return _s;
|
|
}
|
|
inline const std::string& AuthenticateOk::_internal_auth_data() const {
|
|
return _impl_.auth_data_.Get();
|
|
}
|
|
inline void AuthenticateOk::_internal_set_auth_data(const std::string& value) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.auth_data_.Set(value, GetArenaForAllocation());
|
|
}
|
|
inline std::string* AuthenticateOk::_internal_mutable_auth_data() {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
return _impl_.auth_data_.Mutable(GetArenaForAllocation());
|
|
}
|
|
inline std::string* AuthenticateOk::release_auth_data() {
|
|
// @@protoc_insertion_point(field_release:Mysqlx.Session.AuthenticateOk.auth_data)
|
|
if (!_internal_has_auth_data()) {
|
|
return nullptr;
|
|
}
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
auto* p = _impl_.auth_data_.Release();
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
if (_impl_.auth_data_.IsDefault()) {
|
|
_impl_.auth_data_.Set("", GetArenaForAllocation());
|
|
}
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
return p;
|
|
}
|
|
inline void AuthenticateOk::set_allocated_auth_data(std::string* auth_data) {
|
|
if (auth_data != nullptr) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
} else {
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
_impl_.auth_data_.SetAllocated(auth_data, GetArenaForAllocation());
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
if (_impl_.auth_data_.IsDefault()) {
|
|
_impl_.auth_data_.Set("", GetArenaForAllocation());
|
|
}
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
// @@protoc_insertion_point(field_set_allocated:Mysqlx.Session.AuthenticateOk.auth_data)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// Reset
|
|
|
|
// optional bool keep_open = 1 [default = false];
|
|
inline bool Reset::_internal_has_keep_open() const {
|
|
bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
|
|
return value;
|
|
}
|
|
inline bool Reset::has_keep_open() const {
|
|
return _internal_has_keep_open();
|
|
}
|
|
inline void Reset::clear_keep_open() {
|
|
_impl_.keep_open_ = false;
|
|
_impl_._has_bits_[0] &= ~0x00000001u;
|
|
}
|
|
inline bool Reset::_internal_keep_open() const {
|
|
return _impl_.keep_open_;
|
|
}
|
|
inline bool Reset::keep_open() const {
|
|
// @@protoc_insertion_point(field_get:Mysqlx.Session.Reset.keep_open)
|
|
return _internal_keep_open();
|
|
}
|
|
inline void Reset::_internal_set_keep_open(bool value) {
|
|
_impl_._has_bits_[0] |= 0x00000001u;
|
|
_impl_.keep_open_ = value;
|
|
}
|
|
inline void Reset::set_keep_open(bool value) {
|
|
_internal_set_keep_open(value);
|
|
// @@protoc_insertion_point(field_set:Mysqlx.Session.Reset.keep_open)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// Close
|
|
|
|
#ifdef __GNUC__
|
|
#pragma GCC diagnostic pop
|
|
#endif // __GNUC__
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
|
|
// @@protoc_insertion_point(namespace_scope)
|
|
|
|
} // namespace Session
|
|
} // namespace Mysqlx
|
|
|
|
// @@protoc_insertion_point(global_scope)
|
|
|
|
#include <google/protobuf/port_undef.inc>
|
|
#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_mysqlx_5fsession_2eproto
|