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

#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "BizApiInfo.pb.h"

#include <algorithm>

#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/port.h>
#include <google/protobuf/stubs/once.h>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/wire_format_lite_inl.h>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/generated_message_reflection.h>
#include <google/protobuf/reflection_ops.h>
#include <google/protobuf/wire_format.h>
// @@protoc_insertion_point(includes)

namespace MMPro {
namespace micromsg {
class BizApiInfoDefaultTypeInternal : public ::google::protobuf::internal::ExplicitlyConstructed<BizApiInfo> {
} _BizApiInfo_default_instance_;

namespace protobuf_BizApiInfo_2eproto {


namespace {

::google::protobuf::Metadata file_level_metadata[1];

}  // namespace

PROTOBUF_CONSTEXPR_VAR ::google::protobuf::internal::ParseTableField
    const TableStruct::entries[] = {
  {0, 0, 0, ::google::protobuf::internal::kInvalidMask, 0, 0},
};

PROTOBUF_CONSTEXPR_VAR ::google::protobuf::internal::AuxillaryParseTableField
    const TableStruct::aux[] = {
  ::google::protobuf::internal::AuxillaryParseTableField(),
};
PROTOBUF_CONSTEXPR_VAR ::google::protobuf::internal::ParseTable const
    TableStruct::schema[] = {
  { NULL, NULL, 0, -1, -1, false },
};

const ::google::protobuf::uint32 TableStruct::offsets[] = {
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BizApiInfo, _has_bits_),
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BizApiInfo, _internal_metadata_),
  ~0u,  // no _extensions_
  ~0u,  // no _oneof_case_
  ~0u,  // no _weak_field_map_
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(BizApiInfo, _apiname_),
  0,
};

static const ::google::protobuf::internal::MigrationSchema schemas[] = {
  { 0, 6, sizeof(BizApiInfo)},
};

static ::google::protobuf::Message const * const file_default_instances[] = {
  reinterpret_cast<const ::google::protobuf::Message*>(&_BizApiInfo_default_instance_),
};

namespace {

void protobuf_AssignDescriptors() {
  AddDescriptors();
  ::google::protobuf::MessageFactory* factory = NULL;
  AssignDescriptors(
      "BizApiInfo.proto", schemas, file_default_instances, TableStruct::offsets, factory,
      file_level_metadata, NULL, NULL);
}

void protobuf_AssignDescriptorsOnce() {
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
  ::google::protobuf::GoogleOnceInit(&once, &protobuf_AssignDescriptors);
}

void protobuf_RegisterTypes(const ::std::string&) GOOGLE_ATTRIBUTE_COLD;
void protobuf_RegisterTypes(const ::std::string&) {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 1);
}

}  // namespace

void TableStruct::Shutdown() {
  _BizApiInfo_default_instance_.Shutdown();
  delete file_level_metadata[0].reflection;
}

void TableStruct::InitDefaultsImpl() {
  GOOGLE_PROTOBUF_VERIFY_VERSION;

  ::google::protobuf::internal::InitProtobufDefaults();
  _BizApiInfo_default_instance_.DefaultConstruct();
}

void InitDefaults() {
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
  ::google::protobuf::GoogleOnceInit(&once, &TableStruct::InitDefaultsImpl);
}
void AddDescriptorsImpl() {
  InitDefaults();
  static const char descriptor[] = {
      "\n\020BizApiInfo.proto\022\016MMPro.micromsg\"\036\n\nBi"
      "zApiInfo\022\020\n\010_ApiName\030\001 \001(\t"
  };
  ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
      descriptor, 66);
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
    "BizApiInfo.proto", &protobuf_RegisterTypes);
  ::google::protobuf::internal::OnShutdown(&TableStruct::Shutdown);
}

void AddDescriptors() {
  static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
  ::google::protobuf::GoogleOnceInit(&once, &AddDescriptorsImpl);
}
// Force AddDescriptors() to be called at static initialization time.
struct StaticDescriptorInitializer {
  StaticDescriptorInitializer() {
    AddDescriptors();
  }
} static_descriptor_initializer;

}  // namespace protobuf_BizApiInfo_2eproto


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

#if !defined(_MSC_VER) || _MSC_VER >= 1900
const int BizApiInfo::kApiNameFieldNumber;
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900

BizApiInfo::BizApiInfo()
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
    protobuf_BizApiInfo_2eproto::InitDefaults();
  }
  SharedCtor();
  // @@protoc_insertion_point(constructor:MMPro.micromsg.BizApiInfo)
}
BizApiInfo::BizApiInfo(const BizApiInfo& from)
  : ::google::protobuf::Message(),
      _internal_metadata_(NULL),
      _has_bits_(from._has_bits_),
      _cached_size_(0) {
  _internal_metadata_.MergeFrom(from._internal_metadata_);
  _apiname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  if (from.has__apiname()) {
    _apiname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from._apiname_);
  }
  // @@protoc_insertion_point(copy_constructor:MMPro.micromsg.BizApiInfo)
}

void BizApiInfo::SharedCtor() {
  _cached_size_ = 0;
  _apiname_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}

BizApiInfo::~BizApiInfo() {
  // @@protoc_insertion_point(destructor:MMPro.micromsg.BizApiInfo)
  SharedDtor();
}

void BizApiInfo::SharedDtor() {
  _apiname_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}

void BizApiInfo::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* BizApiInfo::descriptor() {
  protobuf_BizApiInfo_2eproto::protobuf_AssignDescriptorsOnce();
  return protobuf_BizApiInfo_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
}

const BizApiInfo& BizApiInfo::default_instance() {
  protobuf_BizApiInfo_2eproto::InitDefaults();
  return *internal_default_instance();
}

BizApiInfo* BizApiInfo::New(::google::protobuf::Arena* arena) const {
  BizApiInfo* n = new BizApiInfo;
  if (arena != NULL) {
    arena->Own(n);
  }
  return n;
}

void BizApiInfo::Clear() {
// @@protoc_insertion_point(message_clear_start:MMPro.micromsg.BizApiInfo)
  if (has__apiname()) {
    GOOGLE_DCHECK(!_apiname_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
    (*_apiname_.UnsafeRawStringPointer())->clear();
  }
  _has_bits_.Clear();
  _internal_metadata_.Clear();
}

bool BizApiInfo::MergePartialFromCodedStream(
    ::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
  ::google::protobuf::uint32 tag;
  // @@protoc_insertion_point(parse_start:MMPro.micromsg.BizApiInfo)
  for (;;) {
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
    tag = p.first;
    if (!p.second) goto handle_unusual;
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional string _ApiName = 1;
      case 1: {
        if (static_cast< ::google::protobuf::uint8>(tag) ==
            static_cast< ::google::protobuf::uint8>(10u)) {
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
                input, this->mutable__apiname()));
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
            this->_apiname().data(), this->_apiname().length(),
            ::google::protobuf::internal::WireFormat::PARSE,
            "MMPro.micromsg.BizApiInfo._ApiName");
        } else {
          goto handle_unusual;
        }
        break;
      }

      default: {
      handle_unusual:
        if (tag == 0 ||
            ::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
            ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
          goto success;
        }
        DO_(::google::protobuf::internal::WireFormat::SkipField(
              input, tag, mutable_unknown_fields()));
        break;
      }
    }
  }
success:
  // @@protoc_insertion_point(parse_success:MMPro.micromsg.BizApiInfo)
  return true;
failure:
  // @@protoc_insertion_point(parse_failure:MMPro.micromsg.BizApiInfo)
  return false;
#undef DO_
}

void BizApiInfo::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // @@protoc_insertion_point(serialize_start:MMPro.micromsg.BizApiInfo)
  ::google::protobuf::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  cached_has_bits = _has_bits_[0];
  // optional string _ApiName = 1;
  if (cached_has_bits & 0x00000001u) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
      this->_apiname().data(), this->_apiname().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE,
      "MMPro.micromsg.BizApiInfo._ApiName");
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
      1, this->_apiname(), output);
  }

  if (_internal_metadata_.have_unknown_fields()) {
    ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
        unknown_fields(), output);
  }
  // @@protoc_insertion_point(serialize_end:MMPro.micromsg.BizApiInfo)
}

::google::protobuf::uint8* BizApiInfo::InternalSerializeWithCachedSizesToArray(
    bool deterministic, ::google::protobuf::uint8* target) const {
  // @@protoc_insertion_point(serialize_to_array_start:MMPro.micromsg.BizApiInfo)
  ::google::protobuf::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  cached_has_bits = _has_bits_[0];
  // optional string _ApiName = 1;
  if (cached_has_bits & 0x00000001u) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
      this->_apiname().data(), this->_apiname().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE,
      "MMPro.micromsg.BizApiInfo._ApiName");
    target =
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
        1, this->_apiname(), target);
  }

  if (_internal_metadata_.have_unknown_fields()) {
    target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
        unknown_fields(), target);
  }
  // @@protoc_insertion_point(serialize_to_array_end:MMPro.micromsg.BizApiInfo)
  return target;
}

size_t BizApiInfo::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:MMPro.micromsg.BizApiInfo)
  size_t total_size = 0;

  if (_internal_metadata_.have_unknown_fields()) {
    total_size +=
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
        unknown_fields());
  }
  // optional string _ApiName = 1;
  if (has__apiname()) {
    total_size += 1 +
      ::google::protobuf::internal::WireFormatLite::StringSize(
        this->_apiname());
  }

  int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = cached_size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
  return total_size;
}

void BizApiInfo::MergeFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:MMPro.micromsg.BizApiInfo)
  GOOGLE_DCHECK_NE(&from, this);
  const BizApiInfo* source =
      ::google::protobuf::internal::DynamicCastToGenerated<const BizApiInfo>(
          &from);
  if (source == NULL) {
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:MMPro.micromsg.BizApiInfo)
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
  // @@protoc_insertion_point(generalized_merge_from_cast_success:MMPro.micromsg.BizApiInfo)
    MergeFrom(*source);
  }
}

void BizApiInfo::MergeFrom(const BizApiInfo& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:MMPro.micromsg.BizApiInfo)
  GOOGLE_DCHECK_NE(&from, this);
  _internal_metadata_.MergeFrom(from._internal_metadata_);
  ::google::protobuf::uint32 cached_has_bits = 0;
  (void) cached_has_bits;

  if (from.has__apiname()) {
    set_has__apiname();
    _apiname_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from._apiname_);
  }
}

void BizApiInfo::CopyFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:MMPro.micromsg.BizApiInfo)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

void BizApiInfo::CopyFrom(const BizApiInfo& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:MMPro.micromsg.BizApiInfo)
  if (&from == this) return;
  Clear();
  MergeFrom(from);
}

bool BizApiInfo::IsInitialized() const {
  return true;
}

void BizApiInfo::Swap(BizApiInfo* other) {
  if (other == this) return;
  InternalSwap(other);
}
void BizApiInfo::InternalSwap(BizApiInfo* other) {
  _apiname_.Swap(&other->_apiname_);
  std::swap(_has_bits_[0], other->_has_bits_[0]);
  _internal_metadata_.Swap(&other->_internal_metadata_);
  std::swap(_cached_size_, other->_cached_size_);
}

::google::protobuf::Metadata BizApiInfo::GetMetadata() const {
  protobuf_BizApiInfo_2eproto::protobuf_AssignDescriptorsOnce();
  return protobuf_BizApiInfo_2eproto::file_level_metadata[kIndexInFileMessages];
}

#if PROTOBUF_INLINE_NOT_IN_HEADERS
// BizApiInfo

// optional string _ApiName = 1;
bool BizApiInfo::has__apiname() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
void BizApiInfo::set_has__apiname() {
  _has_bits_[0] |= 0x00000001u;
}
void BizApiInfo::clear_has__apiname() {
  _has_bits_[0] &= ~0x00000001u;
}
void BizApiInfo::clear__apiname() {
  _apiname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  clear_has__apiname();
}
const ::std::string& BizApiInfo::_apiname() const {
  // @@protoc_insertion_point(field_get:MMPro.micromsg.BizApiInfo._ApiName)
  return _apiname_.GetNoArena();
}
void BizApiInfo::set__apiname(const ::std::string& value) {
  set_has__apiname();
  _apiname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:MMPro.micromsg.BizApiInfo._ApiName)
}
#if LANG_CXX11
void BizApiInfo::set__apiname(::std::string&& value) {
  set_has__apiname();
  _apiname_.SetNoArena(
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  // @@protoc_insertion_point(field_set_rvalue:MMPro.micromsg.BizApiInfo._ApiName)
}
#endif
void BizApiInfo::set__apiname(const char* value) {
  GOOGLE_DCHECK(value != NULL);
  set_has__apiname();
  _apiname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:MMPro.micromsg.BizApiInfo._ApiName)
}
void BizApiInfo::set__apiname(const char* value, size_t size) {
  set_has__apiname();
  _apiname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:MMPro.micromsg.BizApiInfo._ApiName)
}
::std::string* BizApiInfo::mutable__apiname() {
  set_has__apiname();
  // @@protoc_insertion_point(field_mutable:MMPro.micromsg.BizApiInfo._ApiName)
  return _apiname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
::std::string* BizApiInfo::release__apiname() {
  // @@protoc_insertion_point(field_release:MMPro.micromsg.BizApiInfo._ApiName)
  clear_has__apiname();
  return _apiname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
void BizApiInfo::set_allocated__apiname(::std::string* _apiname) {
  if (_apiname != NULL) {
    set_has__apiname();
  } else {
    clear_has__apiname();
  }
  _apiname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), _apiname);
  // @@protoc_insertion_point(field_set_allocated:MMPro.micromsg.BizApiInfo._ApiName)
}

#endif  // PROTOBUF_INLINE_NOT_IN_HEADERS

// @@protoc_insertion_point(namespace_scope)

}  // namespace micromsg
}  // namespace MMPro

// @@protoc_insertion_point(global_scope)
