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

#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "SKBuiltinString_t.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 SKBuiltinString_tDefaultTypeInternal : public ::google::protobuf::internal::ExplicitlyConstructed<SKBuiltinString_t> {
} _SKBuiltinString_t_default_instance_;

namespace protobuf_SKBuiltinString_5ft_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(SKBuiltinString_t, _has_bits_),
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SKBuiltinString_t, _internal_metadata_),
  ~0u,  // no _extensions_
  ~0u,  // no _oneof_case_
  ~0u,  // no _weak_field_map_
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SKBuiltinString_t, _string_),
  0,
};

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

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

namespace {

void protobuf_AssignDescriptors() {
  AddDescriptors();
  ::google::protobuf::MessageFactory* factory = NULL;
  AssignDescriptors(
      "SKBuiltinString_t.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() {
  _SKBuiltinString_t_default_instance_.Shutdown();
  delete file_level_metadata[0].reflection;
}

void TableStruct::InitDefaultsImpl() {
  GOOGLE_PROTOBUF_VERIFY_VERSION;

  ::google::protobuf::internal::InitProtobufDefaults();
  _SKBuiltinString_t_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\027SKBuiltinString_t.proto\022\016MMPro.microms"
      "g\"$\n\021SKBuiltinString_t\022\017\n\007_String\030\001 \001(\t"
  };
  ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
      descriptor, 79);
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
    "SKBuiltinString_t.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_SKBuiltinString_5ft_2eproto


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

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

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

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

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

void SKBuiltinString_t::SharedDtor() {
  _string_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}

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

const SKBuiltinString_t& SKBuiltinString_t::default_instance() {
  protobuf_SKBuiltinString_5ft_2eproto::InitDefaults();
  return *internal_default_instance();
}

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

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

bool SKBuiltinString_t::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.SKBuiltinString_t)
  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 _String = 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__string()));
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
            this->_string().data(), this->_string().length(),
            ::google::protobuf::internal::WireFormat::PARSE,
            "MMPro.micromsg.SKBuiltinString_t._String");
        } 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.SKBuiltinString_t)
  return true;
failure:
  // @@protoc_insertion_point(parse_failure:MMPro.micromsg.SKBuiltinString_t)
  return false;
#undef DO_
}

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

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

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

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

  cached_has_bits = _has_bits_[0];
  // optional string _String = 1;
  if (cached_has_bits & 0x00000001u) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
      this->_string().data(), this->_string().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE,
      "MMPro.micromsg.SKBuiltinString_t._String");
    target =
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
        1, this->_string(), 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.SKBuiltinString_t)
  return target;
}

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

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

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

void SKBuiltinString_t::MergeFrom(const SKBuiltinString_t& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:MMPro.micromsg.SKBuiltinString_t)
  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__string()) {
    set_has__string();
    _string_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from._string_);
  }
}

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

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

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

void SKBuiltinString_t::Swap(SKBuiltinString_t* other) {
  if (other == this) return;
  InternalSwap(other);
}
void SKBuiltinString_t::InternalSwap(SKBuiltinString_t* other) {
  _string_.Swap(&other->_string_);
  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 SKBuiltinString_t::GetMetadata() const {
  protobuf_SKBuiltinString_5ft_2eproto::protobuf_AssignDescriptorsOnce();
  return protobuf_SKBuiltinString_5ft_2eproto::file_level_metadata[kIndexInFileMessages];
}

#if PROTOBUF_INLINE_NOT_IN_HEADERS
// SKBuiltinString_t

// optional string _String = 1;
bool SKBuiltinString_t::has__string() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
void SKBuiltinString_t::set_has__string() {
  _has_bits_[0] |= 0x00000001u;
}
void SKBuiltinString_t::clear_has__string() {
  _has_bits_[0] &= ~0x00000001u;
}
void SKBuiltinString_t::clear__string() {
  _string_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  clear_has__string();
}
const ::std::string& SKBuiltinString_t::_string() const {
  // @@protoc_insertion_point(field_get:MMPro.micromsg.SKBuiltinString_t._String)
  return _string_.GetNoArena();
}
void SKBuiltinString_t::set__string(const ::std::string& value) {
  set_has__string();
  _string_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:MMPro.micromsg.SKBuiltinString_t._String)
}
#if LANG_CXX11
void SKBuiltinString_t::set__string(::std::string&& value) {
  set_has__string();
  _string_.SetNoArena(
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  // @@protoc_insertion_point(field_set_rvalue:MMPro.micromsg.SKBuiltinString_t._String)
}
#endif
void SKBuiltinString_t::set__string(const char* value) {
  GOOGLE_DCHECK(value != NULL);
  set_has__string();
  _string_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:MMPro.micromsg.SKBuiltinString_t._String)
}
void SKBuiltinString_t::set__string(const char* value, size_t size) {
  set_has__string();
  _string_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:MMPro.micromsg.SKBuiltinString_t._String)
}
::std::string* SKBuiltinString_t::mutable__string() {
  set_has__string();
  // @@protoc_insertion_point(field_mutable:MMPro.micromsg.SKBuiltinString_t._String)
  return _string_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
::std::string* SKBuiltinString_t::release__string() {
  // @@protoc_insertion_point(field_release:MMPro.micromsg.SKBuiltinString_t._String)
  clear_has__string();
  return _string_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
void SKBuiltinString_t::set_allocated__string(::std::string* _string) {
  if (_string != NULL) {
    set_has__string();
  } else {
    clear_has__string();
  }
  _string_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), _string);
  // @@protoc_insertion_point(field_set_allocated:MMPro.micromsg.SKBuiltinString_t._String)
}

#endif  // PROTOBUF_INLINE_NOT_IN_HEADERS

// @@protoc_insertion_point(namespace_scope)

}  // namespace micromsg
}  // namespace MMPro

// @@protoc_insertion_point(global_scope)
