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

#ifndef PROTOBUF_INCLUDED_shardsProperties_2eproto
#define PROTOBUF_INCLUDED_shardsProperties_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_shardsProperties_2eproto

// Internal implementation detail -- do not use these members.
struct TableStruct_shardsProperties_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_shardsProperties_2eproto();
namespace com {
namespace alipay {
namespace dds {
namespace api {
namespace v1 {
class ShardsProperties;
class ShardsPropertiesDefaultTypeInternal;
extern ShardsPropertiesDefaultTypeInternal _ShardsProperties_default_instance_;
class ShardsProperties_VariablesEntry_DoNotUse;
class ShardsProperties_VariablesEntry_DoNotUseDefaultTypeInternal;
extern ShardsProperties_VariablesEntry_DoNotUseDefaultTypeInternal _ShardsProperties_VariablesEntry_DoNotUse_default_instance_;
}  // namespace v1
}  // namespace api
}  // namespace dds
}  // namespace alipay
}  // namespace com
namespace google {
namespace protobuf {
template<> ::com::alipay::dds::api::v1::ShardsProperties* Arena::CreateMaybeMessage<::com::alipay::dds::api::v1::ShardsProperties>(Arena*);
template<> ::com::alipay::dds::api::v1::ShardsProperties_VariablesEntry_DoNotUse* Arena::CreateMaybeMessage<::com::alipay::dds::api::v1::ShardsProperties_VariablesEntry_DoNotUse>(Arena*);
}  // namespace protobuf
}  // namespace google
namespace com {
namespace alipay {
namespace dds {
namespace api {
namespace v1 {

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

class ShardsProperties_VariablesEntry_DoNotUse : public ::google::protobuf::internal::MapEntry<ShardsProperties_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<ShardsProperties_VariablesEntry_DoNotUse, 
    ::std::string, ::std::string,
    ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
    ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
    0 > SuperType;
  ShardsProperties_VariablesEntry_DoNotUse();
  ShardsProperties_VariablesEntry_DoNotUse(::google::protobuf::Arena* arena);
  void MergeFrom(const ShardsProperties_VariablesEntry_DoNotUse& other);
  static const ShardsProperties_VariablesEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const ShardsProperties_VariablesEntry_DoNotUse*>(&_ShardsProperties_VariablesEntry_DoNotUse_default_instance_); }
  void MergeFrom(const ::google::protobuf::Message& other) final;
  ::google::protobuf::Metadata GetMetadata() const;
};

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

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

  ShardsProperties(const ShardsProperties& from);

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

  inline ShardsProperties& operator=(ShardsProperties&& 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 ShardsProperties& default_instance();

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

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

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

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

  ShardsProperties* New(::google::protobuf::Arena* arena) const final {
    return CreateMaybeMessage<ShardsProperties>(arena);
  }
  void CopyFrom(const ::google::protobuf::Message& from) final;
  void MergeFrom(const ::google::protobuf::Message& from) final;
  void CopyFrom(const ShardsProperties& from);
  void MergeFrom(const ShardsProperties& 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(ShardsProperties* 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 = 3;
  int variables_size() const;
  void clear_variables();
  static const int kVariablesFieldNumber = 3;
  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 = 4;
  int extension_size() const;
  void clear_extension();
  static const int kExtensionFieldNumber = 4;
  ::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 shards_name = 2;
  void clear_shards_name();
  static const int kShardsNameFieldNumber = 2;
  const ::std::string& shards_name() const;
  void set_shards_name(const ::std::string& value);
  #if LANG_CXX11
  void set_shards_name(::std::string&& value);
  #endif
  void set_shards_name(const char* value);
  void set_shards_name(const char* value, size_t size);
  ::std::string* mutable_shards_name();
  ::std::string* release_shards_name();
  void set_allocated_shards_name(::std::string* shards_name);

  // .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.ShardsProperties)
 private:
  class HasBitSetters;

  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  ::google::protobuf::internal::MapField<
      ShardsProperties_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 shards_name_;
  ::com::alipay::dds::api::v1::MetaData* metadata_;
  mutable ::google::protobuf::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_shardsProperties_2eproto;
};
// ===================================================================


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

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

// ShardsProperties

// .com.alipay.dds.api.v1.MetaData metadata = 1;
inline bool ShardsProperties::has_metadata() const {
  return this != internal_default_instance() && metadata_ != nullptr;
}
inline const ::com::alipay::dds::api::v1::MetaData& ShardsProperties::metadata() const {
  const ::com::alipay::dds::api::v1::MetaData* p = metadata_;
  // @@protoc_insertion_point(field_get:com.alipay.dds.api.v1.ShardsProperties.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* ShardsProperties::release_metadata() {
  // @@protoc_insertion_point(field_release:com.alipay.dds.api.v1.ShardsProperties.metadata)
  
  ::com::alipay::dds::api::v1::MetaData* temp = metadata_;
  metadata_ = nullptr;
  return temp;
}
inline ::com::alipay::dds::api::v1::MetaData* ShardsProperties::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.ShardsProperties.metadata)
  return metadata_;
}
inline void ShardsProperties::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.ShardsProperties.metadata)
}

// string shards_name = 2;
inline void ShardsProperties::clear_shards_name() {
  shards_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& ShardsProperties::shards_name() const {
  // @@protoc_insertion_point(field_get:com.alipay.dds.api.v1.ShardsProperties.shards_name)
  return shards_name_.GetNoArena();
}
inline void ShardsProperties::set_shards_name(const ::std::string& value) {
  
  shards_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:com.alipay.dds.api.v1.ShardsProperties.shards_name)
}
#if LANG_CXX11
inline void ShardsProperties::set_shards_name(::std::string&& value) {
  
  shards_name_.SetNoArena(
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  // @@protoc_insertion_point(field_set_rvalue:com.alipay.dds.api.v1.ShardsProperties.shards_name)
}
#endif
inline void ShardsProperties::set_shards_name(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  
  shards_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:com.alipay.dds.api.v1.ShardsProperties.shards_name)
}
inline void ShardsProperties::set_shards_name(const char* value, size_t size) {
  
  shards_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.ShardsProperties.shards_name)
}
inline ::std::string* ShardsProperties::mutable_shards_name() {
  
  // @@protoc_insertion_point(field_mutable:com.alipay.dds.api.v1.ShardsProperties.shards_name)
  return shards_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* ShardsProperties::release_shards_name() {
  // @@protoc_insertion_point(field_release:com.alipay.dds.api.v1.ShardsProperties.shards_name)
  
  return shards_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void ShardsProperties::set_allocated_shards_name(::std::string* shards_name) {
  if (shards_name != nullptr) {
    
  } else {
    
  }
  shards_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), shards_name);
  // @@protoc_insertion_point(field_set_allocated:com.alipay.dds.api.v1.ShardsProperties.shards_name)
}

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

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