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

#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "SnsUserInfo.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 SnsUserInfoDefaultTypeInternal : public ::google::protobuf::internal::ExplicitlyConstructed<SnsUserInfo> {
} _SnsUserInfo_default_instance_;

namespace protobuf_SnsUserInfo_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(SnsUserInfo, _has_bits_),
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SnsUserInfo, _internal_metadata_),
  ~0u,  // no _extensions_
  ~0u,  // no _oneof_case_
  ~0u,  // no _weak_field_map_
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SnsUserInfo, _snsflag_),
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SnsUserInfo, _snsbgimgid_),
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SnsUserInfo, _snsbgobjectid_),
  GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SnsUserInfo, _snsflagex_),
  1,
  0,
  3,
  2,
};

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

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

namespace {

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

void TableStruct::InitDefaultsImpl() {
  GOOGLE_PROTOBUF_VERIFY_VERSION;

  ::google::protobuf::internal::InitProtobufDefaults();
  _SnsUserInfo_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\021SnsUserInfo.proto\022\016MMPro.micromsg\"`\n\013S"
      "nsUserInfo\022\020\n\010_SnsFlag\030\001 \002(\r\022\023\n\013_SnsBGIm"
      "gID\030\002 \001(\t\022\026\n\016_SnsBGObjectID\030\003 \001(\004\022\022\n\n_Sn"
      "sFlagEx\030\004 \001(\r"
  };
  ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
      descriptor, 133);
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
    "SnsUserInfo.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_SnsUserInfo_2eproto


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

#if !defined(_MSC_VER) || _MSC_VER >= 1900
const int SnsUserInfo::kSnsFlagFieldNumber;
const int SnsUserInfo::kSnsBGImgIDFieldNumber;
const int SnsUserInfo::kSnsBGObjectIDFieldNumber;
const int SnsUserInfo::kSnsFlagExFieldNumber;
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900

SnsUserInfo::SnsUserInfo()
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {
    protobuf_SnsUserInfo_2eproto::InitDefaults();
  }
  SharedCtor();
  // @@protoc_insertion_point(constructor:MMPro.micromsg.SnsUserInfo)
}
SnsUserInfo::SnsUserInfo(const SnsUserInfo& from)
  : ::google::protobuf::Message(),
      _internal_metadata_(NULL),
      _has_bits_(from._has_bits_),
      _cached_size_(0) {
  _internal_metadata_.MergeFrom(from._internal_metadata_);
  _snsbgimgid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  if (from.has__snsbgimgid()) {
    _snsbgimgid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from._snsbgimgid_);
  }
  ::memcpy(&_snsflag_, &from._snsflag_,
    reinterpret_cast<char*>(&_snsbgobjectid_) -
    reinterpret_cast<char*>(&_snsflag_) + sizeof(_snsbgobjectid_));
  // @@protoc_insertion_point(copy_constructor:MMPro.micromsg.SnsUserInfo)
}

void SnsUserInfo::SharedCtor() {
  _cached_size_ = 0;
  _snsbgimgid_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  ::memset(&_snsflag_, 0, reinterpret_cast<char*>(&_snsbgobjectid_) -
    reinterpret_cast<char*>(&_snsflag_) + sizeof(_snsbgobjectid_));
}

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

void SnsUserInfo::SharedDtor() {
  _snsbgimgid_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}

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

const SnsUserInfo& SnsUserInfo::default_instance() {
  protobuf_SnsUserInfo_2eproto::InitDefaults();
  return *internal_default_instance();
}

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

void SnsUserInfo::Clear() {
// @@protoc_insertion_point(message_clear_start:MMPro.micromsg.SnsUserInfo)
  if (has__snsbgimgid()) {
    GOOGLE_DCHECK(!_snsbgimgid_.IsDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()));
    (*_snsbgimgid_.UnsafeRawStringPointer())->clear();
  }
  if (_has_bits_[0 / 32] & 14u) {
    ::memset(&_snsflag_, 0, reinterpret_cast<char*>(&_snsbgobjectid_) -
      reinterpret_cast<char*>(&_snsflag_) + sizeof(_snsbgobjectid_));
  }
  _has_bits_.Clear();
  _internal_metadata_.Clear();
}

bool SnsUserInfo::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.SnsUserInfo)
  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)) {
      // required uint32 _SnsFlag = 1;
      case 1: {
        if (static_cast< ::google::protobuf::uint8>(tag) ==
            static_cast< ::google::protobuf::uint8>(8u)) {
          set_has__snsflag();
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
                 input, &_snsflag_)));
        } else {
          goto handle_unusual;
        }
        break;
      }

      // optional string _SnsBGImgID = 2;
      case 2: {
        if (static_cast< ::google::protobuf::uint8>(tag) ==
            static_cast< ::google::protobuf::uint8>(18u)) {
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
                input, this->mutable__snsbgimgid()));
          ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
            this->_snsbgimgid().data(), this->_snsbgimgid().length(),
            ::google::protobuf::internal::WireFormat::PARSE,
            "MMPro.micromsg.SnsUserInfo._SnsBGImgID");
        } else {
          goto handle_unusual;
        }
        break;
      }

      // optional uint64 _SnsBGObjectID = 3;
      case 3: {
        if (static_cast< ::google::protobuf::uint8>(tag) ==
            static_cast< ::google::protobuf::uint8>(24u)) {
          set_has__snsbgobjectid();
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
                 input, &_snsbgobjectid_)));
        } else {
          goto handle_unusual;
        }
        break;
      }

      // optional uint32 _SnsFlagEx = 4;
      case 4: {
        if (static_cast< ::google::protobuf::uint8>(tag) ==
            static_cast< ::google::protobuf::uint8>(32u)) {
          set_has__snsflagex();
          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
                 input, &_snsflagex_)));
        } 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.SnsUserInfo)
  return true;
failure:
  // @@protoc_insertion_point(parse_failure:MMPro.micromsg.SnsUserInfo)
  return false;
#undef DO_
}

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

  cached_has_bits = _has_bits_[0];
  // required uint32 _SnsFlag = 1;
  if (cached_has_bits & 0x00000002u) {
    ::google::protobuf::internal::WireFormatLite::WriteUInt32(1, this->_snsflag(), output);
  }

  // optional string _SnsBGImgID = 2;
  if (cached_has_bits & 0x00000001u) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
      this->_snsbgimgid().data(), this->_snsbgimgid().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE,
      "MMPro.micromsg.SnsUserInfo._SnsBGImgID");
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
      2, this->_snsbgimgid(), output);
  }

  // optional uint64 _SnsBGObjectID = 3;
  if (cached_has_bits & 0x00000008u) {
    ::google::protobuf::internal::WireFormatLite::WriteUInt64(3, this->_snsbgobjectid(), output);
  }

  // optional uint32 _SnsFlagEx = 4;
  if (cached_has_bits & 0x00000004u) {
    ::google::protobuf::internal::WireFormatLite::WriteUInt32(4, this->_snsflagex(), output);
  }

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

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

  cached_has_bits = _has_bits_[0];
  // required uint32 _SnsFlag = 1;
  if (cached_has_bits & 0x00000002u) {
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(1, this->_snsflag(), target);
  }

  // optional string _SnsBGImgID = 2;
  if (cached_has_bits & 0x00000001u) {
    ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(
      this->_snsbgimgid().data(), this->_snsbgimgid().length(),
      ::google::protobuf::internal::WireFormat::SERIALIZE,
      "MMPro.micromsg.SnsUserInfo._SnsBGImgID");
    target =
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
        2, this->_snsbgimgid(), target);
  }

  // optional uint64 _SnsBGObjectID = 3;
  if (cached_has_bits & 0x00000008u) {
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(3, this->_snsbgobjectid(), target);
  }

  // optional uint32 _SnsFlagEx = 4;
  if (cached_has_bits & 0x00000004u) {
    target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(4, this->_snsflagex(), 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.SnsUserInfo)
  return target;
}

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

  if (_internal_metadata_.have_unknown_fields()) {
    total_size +=
      ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
        unknown_fields());
  }
  // required uint32 _SnsFlag = 1;
  if (has__snsflag()) {
    total_size += 1 +
      ::google::protobuf::internal::WireFormatLite::UInt32Size(
        this->_snsflag());
  }
  // optional string _SnsBGImgID = 2;
  if (has__snsbgimgid()) {
    total_size += 1 +
      ::google::protobuf::internal::WireFormatLite::StringSize(
        this->_snsbgimgid());
  }

  if (_has_bits_[0 / 32] & 12u) {
    // optional uint32 _SnsFlagEx = 4;
    if (has__snsflagex()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::UInt32Size(
          this->_snsflagex());
    }

    // optional uint64 _SnsBGObjectID = 3;
    if (has__snsbgobjectid()) {
      total_size += 1 +
        ::google::protobuf::internal::WireFormatLite::UInt64Size(
          this->_snsbgobjectid());
    }

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

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

  cached_has_bits = from._has_bits_[0];
  if (cached_has_bits & 15u) {
    if (cached_has_bits & 0x00000001u) {
      set_has__snsbgimgid();
      _snsbgimgid_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from._snsbgimgid_);
    }
    if (cached_has_bits & 0x00000002u) {
      _snsflag_ = from._snsflag_;
    }
    if (cached_has_bits & 0x00000004u) {
      _snsflagex_ = from._snsflagex_;
    }
    if (cached_has_bits & 0x00000008u) {
      _snsbgobjectid_ = from._snsbgobjectid_;
    }
    _has_bits_[0] |= cached_has_bits;
  }
}

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

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

bool SnsUserInfo::IsInitialized() const {
  if ((_has_bits_[0] & 0x00000002) != 0x00000002) return false;
  return true;
}

void SnsUserInfo::Swap(SnsUserInfo* other) {
  if (other == this) return;
  InternalSwap(other);
}
void SnsUserInfo::InternalSwap(SnsUserInfo* other) {
  _snsbgimgid_.Swap(&other->_snsbgimgid_);
  std::swap(_snsflag_, other->_snsflag_);
  std::swap(_snsflagex_, other->_snsflagex_);
  std::swap(_snsbgobjectid_, other->_snsbgobjectid_);
  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 SnsUserInfo::GetMetadata() const {
  protobuf_SnsUserInfo_2eproto::protobuf_AssignDescriptorsOnce();
  return protobuf_SnsUserInfo_2eproto::file_level_metadata[kIndexInFileMessages];
}

#if PROTOBUF_INLINE_NOT_IN_HEADERS
// SnsUserInfo

// required uint32 _SnsFlag = 1;
bool SnsUserInfo::has__snsflag() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
void SnsUserInfo::set_has__snsflag() {
  _has_bits_[0] |= 0x00000002u;
}
void SnsUserInfo::clear_has__snsflag() {
  _has_bits_[0] &= ~0x00000002u;
}
void SnsUserInfo::clear__snsflag() {
  _snsflag_ = 0u;
  clear_has__snsflag();
}
::google::protobuf::uint32 SnsUserInfo::_snsflag() const {
  // @@protoc_insertion_point(field_get:MMPro.micromsg.SnsUserInfo._SnsFlag)
  return _snsflag_;
}
void SnsUserInfo::set__snsflag(::google::protobuf::uint32 value) {
  set_has__snsflag();
  _snsflag_ = value;
  // @@protoc_insertion_point(field_set:MMPro.micromsg.SnsUserInfo._SnsFlag)
}

// optional string _SnsBGImgID = 2;
bool SnsUserInfo::has__snsbgimgid() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
void SnsUserInfo::set_has__snsbgimgid() {
  _has_bits_[0] |= 0x00000001u;
}
void SnsUserInfo::clear_has__snsbgimgid() {
  _has_bits_[0] &= ~0x00000001u;
}
void SnsUserInfo::clear__snsbgimgid() {
  _snsbgimgid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  clear_has__snsbgimgid();
}
const ::std::string& SnsUserInfo::_snsbgimgid() const {
  // @@protoc_insertion_point(field_get:MMPro.micromsg.SnsUserInfo._SnsBGImgID)
  return _snsbgimgid_.GetNoArena();
}
void SnsUserInfo::set__snsbgimgid(const ::std::string& value) {
  set_has__snsbgimgid();
  _snsbgimgid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:MMPro.micromsg.SnsUserInfo._SnsBGImgID)
}
#if LANG_CXX11
void SnsUserInfo::set__snsbgimgid(::std::string&& value) {
  set_has__snsbgimgid();
  _snsbgimgid_.SetNoArena(
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  // @@protoc_insertion_point(field_set_rvalue:MMPro.micromsg.SnsUserInfo._SnsBGImgID)
}
#endif
void SnsUserInfo::set__snsbgimgid(const char* value) {
  GOOGLE_DCHECK(value != NULL);
  set_has__snsbgimgid();
  _snsbgimgid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:MMPro.micromsg.SnsUserInfo._SnsBGImgID)
}
void SnsUserInfo::set__snsbgimgid(const char* value, size_t size) {
  set_has__snsbgimgid();
  _snsbgimgid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:MMPro.micromsg.SnsUserInfo._SnsBGImgID)
}
::std::string* SnsUserInfo::mutable__snsbgimgid() {
  set_has__snsbgimgid();
  // @@protoc_insertion_point(field_mutable:MMPro.micromsg.SnsUserInfo._SnsBGImgID)
  return _snsbgimgid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
::std::string* SnsUserInfo::release__snsbgimgid() {
  // @@protoc_insertion_point(field_release:MMPro.micromsg.SnsUserInfo._SnsBGImgID)
  clear_has__snsbgimgid();
  return _snsbgimgid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
void SnsUserInfo::set_allocated__snsbgimgid(::std::string* _snsbgimgid) {
  if (_snsbgimgid != NULL) {
    set_has__snsbgimgid();
  } else {
    clear_has__snsbgimgid();
  }
  _snsbgimgid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), _snsbgimgid);
  // @@protoc_insertion_point(field_set_allocated:MMPro.micromsg.SnsUserInfo._SnsBGImgID)
}

// optional uint64 _SnsBGObjectID = 3;
bool SnsUserInfo::has__snsbgobjectid() const {
  return (_has_bits_[0] & 0x00000008u) != 0;
}
void SnsUserInfo::set_has__snsbgobjectid() {
  _has_bits_[0] |= 0x00000008u;
}
void SnsUserInfo::clear_has__snsbgobjectid() {
  _has_bits_[0] &= ~0x00000008u;
}
void SnsUserInfo::clear__snsbgobjectid() {
  _snsbgobjectid_ = GOOGLE_ULONGLONG(0);
  clear_has__snsbgobjectid();
}
::google::protobuf::uint64 SnsUserInfo::_snsbgobjectid() const {
  // @@protoc_insertion_point(field_get:MMPro.micromsg.SnsUserInfo._SnsBGObjectID)
  return _snsbgobjectid_;
}
void SnsUserInfo::set__snsbgobjectid(::google::protobuf::uint64 value) {
  set_has__snsbgobjectid();
  _snsbgobjectid_ = value;
  // @@protoc_insertion_point(field_set:MMPro.micromsg.SnsUserInfo._SnsBGObjectID)
}

// optional uint32 _SnsFlagEx = 4;
bool SnsUserInfo::has__snsflagex() const {
  return (_has_bits_[0] & 0x00000004u) != 0;
}
void SnsUserInfo::set_has__snsflagex() {
  _has_bits_[0] |= 0x00000004u;
}
void SnsUserInfo::clear_has__snsflagex() {
  _has_bits_[0] &= ~0x00000004u;
}
void SnsUserInfo::clear__snsflagex() {
  _snsflagex_ = 0u;
  clear_has__snsflagex();
}
::google::protobuf::uint32 SnsUserInfo::_snsflagex() const {
  // @@protoc_insertion_point(field_get:MMPro.micromsg.SnsUserInfo._SnsFlagEx)
  return _snsflagex_;
}
void SnsUserInfo::set__snsflagex(::google::protobuf::uint32 value) {
  set_has__snsflagex();
  _snsflagex_ = value;
  // @@protoc_insertion_point(field_set:MMPro.micromsg.SnsUserInfo._SnsFlagEx)
}

#endif  // PROTOBUF_INLINE_NOT_IN_HEADERS

// @@protoc_insertion_point(namespace_scope)

}  // namespace micromsg
}  // namespace MMPro

// @@protoc_insertion_point(global_scope)
