// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: databaseProperties.proto

#ifndef PROTOBUF_INCLUDED_databaseProperties_2eproto
#define PROTOBUF_INCLUDED_databaseProperties_2eproto

#include <limits>
#include <string>

#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3007000
#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 3007001 < 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_table_driven.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/inlined_string_field.h>
#include <google/protobuf/metadata.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/map.h>  // IWYU pragma: export
#include <google/protobuf/map_entry.h>
#include <google/protobuf/map_field_inl.h>
#include <google/protobuf/unknown_field_set.h>
#include "common.pb.h"
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_databaseProperties_2eproto

// Internal implementation detail -- do not use these members.
struct TableStruct_databaseProperties_2eproto {
  static const ::google::protobuf::internal::ParseTableField entries[]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::google::protobuf::internal::AuxillaryParseTableField aux[]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::google::protobuf::internal::ParseTable schema[2]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
  static const ::google::protobuf::internal::SerializationTable serialization_table[];
  static const ::google::protobuf::uint32 offsets[];
};
void AddDescriptors_databaseProperties_2eproto();
namespace com {
namespace alipay {
namespace dds {
namespace api {
namespace v1 {
class DatabaseProperties;
class DatabasePropertiesDefaultTypeInternal;
extern DatabasePropertiesDefaultTypeInternal _DatabaseProperties_default_instance_;
class DatabaseProperties_VariablesEntry_DoNotUse;
class DatabaseProperties_VariablesEntry_DoNotUseDefaultTypeInternal;
extern DatabaseProperties_VariablesEntry_DoNotUseDefaultTypeInternal _DatabaseProperties_VariablesEntry_DoNotUse_default_instance_;
}  // namespace v1
}  // namespace api
}  // namespace dds
}  // namespace alipay
}  // namespace com
namespace google {
namespace protobuf {
template<> ::com::alipay::dds::api::v1::DatabaseProperties* Arena::CreateMaybeMessage<::com::alipay::dds::api::v1::DatabaseProperties>(Arena*);
template<> ::com::alipay::dds::api::v1::DatabaseProperties_VariablesEntry_DoNotUse* Arena::CreateMaybeMessage<::com::alipay::dds::api::v1::DatabaseProperties_VariablesEntry_DoNotUse>(Arena*);
}  // namespace protobuf
}  // namespace google
namespace com {
namespace alipay {
namespace dds {
namespace api {
namespace v1 {

// ===================================================================

class DatabaseProperties_VariablesEntry_DoNotUse : public ::google::protobuf::internal::MapEntry<DatabaseProperties_VariablesEntry_DoNotUse, 
    ::std::string, ::std::string,
    ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
    ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
    0 > {
public:
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
static bool _ParseMap(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx);
#endif  // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  typedef ::google::protobuf::internal::MapEntry<DatabaseProperties_VariablesEntry_DoNotUse, 
    ::std::string, ::std::string,
    ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
    ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
    0 > SuperType;
  DatabaseProperties_VariablesEntry_DoNotUse();
  DatabaseProperties_VariablesEntry_DoNotUse(::google::protobuf::Arena* arena);
  void MergeFrom(const DatabaseProperties_VariablesEntry_DoNotUse& other);
  static const DatabaseProperties_VariablesEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const DatabaseProperties_VariablesEntry_DoNotUse*>(&_DatabaseProperties_VariablesEntry_DoNotUse_default_instance_); }
  void MergeFrom(const ::google::protobuf::Message& other) final;
  ::google::protobuf::Metadata GetMetadata() const;
};

// -------------------------------------------------------------------

class DatabaseProperties :
    public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:com.alipay.dds.api.v1.DatabaseProperties) */ {
 public:
  DatabaseProperties();
  virtual ~DatabaseProperties();

  DatabaseProperties(const DatabaseProperties& from);

  inline DatabaseProperties& operator=(const DatabaseProperties& from) {
    CopyFrom(from);
    return *this;
  }
  #if LANG_CXX11
  DatabaseProperties(DatabaseProperties&& from) noexcept
    : DatabaseProperties() {
    *this = ::std::move(from);
  }

  inline DatabaseProperties& operator=(DatabaseProperties&& from) noexcept {
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
      if (this != &from) InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }
  #endif
  static const ::google::protobuf::Descriptor* descriptor() {
    return default_instance().GetDescriptor();
  }
  static const DatabaseProperties& default_instance();

  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
  static inline const DatabaseProperties* internal_default_instance() {
    return reinterpret_cast<const DatabaseProperties*>(
               &_DatabaseProperties_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    1;

  void Swap(DatabaseProperties* other);
  friend void swap(DatabaseProperties& a, DatabaseProperties& b) {
    a.Swap(&b);
  }

  // implements Message ----------------------------------------------

  inline DatabaseProperties* New() const final {
    return CreateMaybeMessage<DatabaseProperties>(nullptr);
  }

  DatabaseProperties* New(::google::protobuf::Arena* arena) const final {
    return CreateMaybeMessage<DatabaseProperties>(arena);
  }
  void CopyFrom(const ::google::protobuf::Message& from) final;
  void MergeFrom(const ::google::protobuf::Message& from) final;
  void CopyFrom(const DatabaseProperties& from);
  void MergeFrom(const DatabaseProperties& from);
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  size_t ByteSizeLong() const final;
  #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx);
  ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; }
  #else
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input) final;
  #endif  // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const final;
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
      ::google::protobuf::uint8* target) const final;
  int GetCachedSize() const final { return _cached_size_.Get(); }

  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(DatabaseProperties* other);
  private:
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
    return nullptr;
  }
  inline void* MaybeArenaPtr() const {
    return nullptr;
  }
  public:

  ::google::protobuf::Metadata GetMetadata() const final;

  // nested types ----------------------------------------------------


  // accessors -------------------------------------------------------

  // map<string, string> variables = 4;
  int variables_size() const;
  void clear_variables();
  static const int kVariablesFieldNumber = 4;
  const ::google::protobuf::Map< ::std::string, ::std::string >&
      variables() const;
  ::google::protobuf::Map< ::std::string, ::std::string >*
      mutable_variables();

  // repeated .com.alipay.dds.api.v1.MarkedMultiReference extension = 5;
  int extension_size() const;
  void clear_extension();
  static const int kExtensionFieldNumber = 5;
  ::com::alipay::dds::api::v1::MarkedMultiReference* mutable_extension(int index);
  ::google::protobuf::RepeatedPtrField< ::com::alipay::dds::api::v1::MarkedMultiReference >*
      mutable_extension();
  const ::com::alipay::dds::api::v1::MarkedMultiReference& extension(int index) const;
  ::com::alipay::dds::api::v1::MarkedMultiReference* add_extension();
  const ::google::protobuf::RepeatedPtrField< ::com::alipay::dds::api::v1::MarkedMultiReference >&
      extension() const;

  // string properties_name = 2;
  void clear_properties_name();
  static const int kPropertiesNameFieldNumber = 2;
  const ::std::string& properties_name() const;
  void set_properties_name(const ::std::string& value);
  #if LANG_CXX11
  void set_properties_name(::std::string&& value);
  #endif
  void set_properties_name(const char* value);
  void set_properties_name(const char* value, size_t size);
  ::std::string* mutable_properties_name();
  ::std::string* release_properties_name();
  void set_allocated_properties_name(::std::string* properties_name);

  // string properties_rule = 3;
  void clear_properties_rule();
  static const int kPropertiesRuleFieldNumber = 3;
  const ::std::string& properties_rule() const;
  void set_properties_rule(const ::std::string& value);
  #if LANG_CXX11
  void set_properties_rule(::std::string&& value);
  #endif
  void set_properties_rule(const char* value);
  void set_properties_rule(const char* value, size_t size);
  ::std::string* mutable_properties_rule();
  ::std::string* release_properties_rule();
  void set_allocated_properties_rule(::std::string* properties_rule);

  // .com.alipay.dds.api.v1.MetaData metadata = 1;
  bool has_metadata() const;
  void clear_metadata();
  static const int kMetadataFieldNumber = 1;
  const ::com::alipay::dds::api::v1::MetaData& metadata() const;
  ::com::alipay::dds::api::v1::MetaData* release_metadata();
  ::com::alipay::dds::api::v1::MetaData* mutable_metadata();
  void set_allocated_metadata(::com::alipay::dds::api::v1::MetaData* metadata);

  // @@protoc_insertion_point(class_scope:com.alipay.dds.api.v1.DatabaseProperties)
 private:
  class HasBitSetters;

  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  ::google::protobuf::internal::MapField<
      DatabaseProperties_VariablesEntry_DoNotUse,
      ::std::string, ::std::string,
      ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
      ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
      0 > variables_;
  ::google::protobuf::RepeatedPtrField< ::com::alipay::dds::api::v1::MarkedMultiReference > extension_;
  ::google::protobuf::internal::ArenaStringPtr properties_name_;
  ::google::protobuf::internal::ArenaStringPtr properties_rule_;
  ::com::alipay::dds::api::v1::MetaData* metadata_;
  mutable ::google::protobuf::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_databaseProperties_2eproto;
};
// ===================================================================


// ===================================================================

#ifdef __GNUC__
  #pragma GCC diagnostic push
  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif  // __GNUC__
// -------------------------------------------------------------------

// DatabaseProperties

// .com.alipay.dds.api.v1.MetaData metadata = 1;
inline bool DatabaseProperties::has_metadata() const {
  return this != internal_default_instance() && metadata_ != nullptr;
}
inline const ::com::alipay::dds::api::v1::MetaData& DatabaseProperties::metadata() const {
  const ::com::alipay::dds::api::v1::MetaData* p = metadata_;
  // @@protoc_insertion_point(field_get:com.alipay.dds.api.v1.DatabaseProperties.metadata)
  return p != nullptr ? *p : *reinterpret_cast<const ::com::alipay::dds::api::v1::MetaData*>(
      &::com::alipay::dds::api::v1::_MetaData_default_instance_);
}
inline ::com::alipay::dds::api::v1::MetaData* DatabaseProperties::release_metadata() {
  // @@protoc_insertion_point(field_release:com.alipay.dds.api.v1.DatabaseProperties.metadata)
  
  ::com::alipay::dds::api::v1::MetaData* temp = metadata_;
  metadata_ = nullptr;
  return temp;
}
inline ::com::alipay::dds::api::v1::MetaData* DatabaseProperties::mutable_metadata() {
  
  if (metadata_ == nullptr) {
    auto* p = CreateMaybeMessage<::com::alipay::dds::api::v1::MetaData>(GetArenaNoVirtual());
    metadata_ = p;
  }
  // @@protoc_insertion_point(field_mutable:com.alipay.dds.api.v1.DatabaseProperties.metadata)
  return metadata_;
}
inline void DatabaseProperties::set_allocated_metadata(::com::alipay::dds::api::v1::MetaData* metadata) {
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::google::protobuf::MessageLite*>(metadata_);
  }
  if (metadata) {
    ::google::protobuf::Arena* submessage_arena = nullptr;
    if (message_arena != submessage_arena) {
      metadata = ::google::protobuf::internal::GetOwnedMessage(
          message_arena, metadata, submessage_arena);
    }
    
  } else {
    
  }
  metadata_ = metadata;
  // @@protoc_insertion_point(field_set_allocated:com.alipay.dds.api.v1.DatabaseProperties.metadata)
}

// string properties_name = 2;
inline void DatabaseProperties::clear_properties_name() {
  properties_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& DatabaseProperties::properties_name() const {
  // @@protoc_insertion_point(field_get:com.alipay.dds.api.v1.DatabaseProperties.properties_name)
  return properties_name_.GetNoArena();
}
inline void DatabaseProperties::set_properties_name(const ::std::string& value) {
  
  properties_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:com.alipay.dds.api.v1.DatabaseProperties.properties_name)
}
#if LANG_CXX11
inline void DatabaseProperties::set_properties_name(::std::string&& value) {
  
  properties_name_.SetNoArena(
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  // @@protoc_insertion_point(field_set_rvalue:com.alipay.dds.api.v1.DatabaseProperties.properties_name)
}
#endif
inline void DatabaseProperties::set_properties_name(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  
  properties_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:com.alipay.dds.api.v1.DatabaseProperties.properties_name)
}
inline void DatabaseProperties::set_properties_name(const char* value, size_t size) {
  
  properties_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:com.alipay.dds.api.v1.DatabaseProperties.properties_name)
}
inline ::std::string* DatabaseProperties::mutable_properties_name() {
  
  // @@protoc_insertion_point(field_mutable:com.alipay.dds.api.v1.DatabaseProperties.properties_name)
  return properties_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* DatabaseProperties::release_properties_name() {
  // @@protoc_insertion_point(field_release:com.alipay.dds.api.v1.DatabaseProperties.properties_name)
  
  return properties_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void DatabaseProperties::set_allocated_properties_name(::std::string* properties_name) {
  if (properties_name != nullptr) {
    
  } else {
    
  }
  properties_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), properties_name);
  // @@protoc_insertion_point(field_set_allocated:com.alipay.dds.api.v1.DatabaseProperties.properties_name)
}

// string properties_rule = 3;
inline void DatabaseProperties::clear_properties_rule() {
  properties_rule_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& DatabaseProperties::properties_rule() const {
  // @@protoc_insertion_point(field_get:com.alipay.dds.api.v1.DatabaseProperties.properties_rule)
  return properties_rule_.GetNoArena();
}
inline void DatabaseProperties::set_properties_rule(const ::std::string& value) {
  
  properties_rule_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:com.alipay.dds.api.v1.DatabaseProperties.properties_rule)
}
#if LANG_CXX11
inline void DatabaseProperties::set_properties_rule(::std::string&& value) {
  
  properties_rule_.SetNoArena(
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  // @@protoc_insertion_point(field_set_rvalue:com.alipay.dds.api.v1.DatabaseProperties.properties_rule)
}
#endif
inline void DatabaseProperties::set_properties_rule(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  
  properties_rule_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:com.alipay.dds.api.v1.DatabaseProperties.properties_rule)
}
inline void DatabaseProperties::set_properties_rule(const char* value, size_t size) {
  
  properties_rule_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:com.alipay.dds.api.v1.DatabaseProperties.properties_rule)
}
inline ::std::string* DatabaseProperties::mutable_properties_rule() {
  
  // @@protoc_insertion_point(field_mutable:com.alipay.dds.api.v1.DatabaseProperties.properties_rule)
  return properties_rule_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* DatabaseProperties::release_properties_rule() {
  // @@protoc_insertion_point(field_release:com.alipay.dds.api.v1.DatabaseProperties.properties_rule)
  
  return properties_rule_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void DatabaseProperties::set_allocated_properties_rule(::std::string* properties_rule) {
  if (properties_rule != nullptr) {
    
  } else {
    
  }
  properties_rule_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), properties_rule);
  // @@protoc_insertion_point(field_set_allocated:com.alipay.dds.api.v1.DatabaseProperties.properties_rule)
}

// map<string, string> variables = 4;
inline int DatabaseProperties::variables_size() const {
  return variables_.size();
}
inline void DatabaseProperties::clear_variables() {
  variables_.Clear();
}
inline const ::google::protobuf::Map< ::std::string, ::std::string >&
DatabaseProperties::variables() const {
  // @@protoc_insertion_point(field_map:com.alipay.dds.api.v1.DatabaseProperties.variables)
  return variables_.GetMap();
}
inline ::google::protobuf::Map< ::std::string, ::std::string >*
DatabaseProperties::mutable_variables() {
  // @@protoc_insertion_point(field_mutable_map:com.alipay.dds.api.v1.DatabaseProperties.variables)
  return variables_.MutableMap();
}

// repeated .com.alipay.dds.api.v1.MarkedMultiReference extension = 5;
inline int DatabaseProperties::extension_size() const {
  return extension_.size();
}
inline ::com::alipay::dds::api::v1::MarkedMultiReference* DatabaseProperties::mutable_extension(int index) {
  // @@protoc_insertion_point(field_mutable:com.alipay.dds.api.v1.DatabaseProperties.extension)
  return extension_.Mutable(index);
}
inline ::google::protobuf::RepeatedPtrField< ::com::alipay::dds::api::v1::MarkedMultiReference >*
DatabaseProperties::mutable_extension() {
  // @@protoc_insertion_point(field_mutable_list:com.alipay.dds.api.v1.DatabaseProperties.extension)
  return &extension_;
}
inline const ::com::alipay::dds::api::v1::MarkedMultiReference& DatabaseProperties::extension(int index) const {
  // @@protoc_insertion_point(field_get:com.alipay.dds.api.v1.DatabaseProperties.extension)
  return extension_.Get(index);
}
inline ::com::alipay::dds::api::v1::MarkedMultiReference* DatabaseProperties::add_extension() {
  // @@protoc_insertion_point(field_add:com.alipay.dds.api.v1.DatabaseProperties.extension)
  return extension_.Add();
}
inline const ::google::protobuf::RepeatedPtrField< ::com::alipay::dds::api::v1::MarkedMultiReference >&
DatabaseProperties::extension() const {
  // @@protoc_insertion_point(field_list:com.alipay.dds.api.v1.DatabaseProperties.extension)
  return extension_;
}

#ifdef __GNUC__
  #pragma GCC diagnostic pop
#endif  // __GNUC__
// -------------------------------------------------------------------


// @@protoc_insertion_point(namespace_scope)

}  // namespace v1
}  // namespace api
}  // namespace dds
}  // namespace alipay
}  // namespace com

// @@protoc_insertion_point(global_scope)

#include <google/protobuf/port_undef.inc>
#endif  // PROTOBUF_INCLUDED_databaseProperties_2eproto
