// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: plateform/vo/MemberOptionalStock.proto

#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "plateform/vo/MemberOptionalStock.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 {

const ::google::protobuf::Descriptor* MemberOptionalStock_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  MemberOptionalStock_reflection_ = NULL;

}  // namespace


void protobuf_AssignDesc_plateform_2fvo_2fMemberOptionalStock_2eproto() GOOGLE_ATTRIBUTE_COLD;
void protobuf_AssignDesc_plateform_2fvo_2fMemberOptionalStock_2eproto() {
  protobuf_AddDesc_plateform_2fvo_2fMemberOptionalStock_2eproto();
  const ::google::protobuf::FileDescriptor* file =
    ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
      "plateform/vo/MemberOptionalStock.proto");
  GOOGLE_CHECK(file != NULL);
  MemberOptionalStock_descriptor_ = file->message_type(0);
  static const int MemberOptionalStock_offsets_[4] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberOptionalStock, securitycode_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberOptionalStock, name_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberOptionalStock, datatype_),
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberOptionalStock, ordernum_),
  };
  MemberOptionalStock_reflection_ =
    ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
      MemberOptionalStock_descriptor_,
      MemberOptionalStock::internal_default_instance(),
      MemberOptionalStock_offsets_,
      -1,
      -1,
      -1,
      sizeof(MemberOptionalStock),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MemberOptionalStock, _internal_metadata_));
}

namespace {

GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
void protobuf_AssignDescriptorsOnce() {
  ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
                 &protobuf_AssignDesc_plateform_2fvo_2fMemberOptionalStock_2eproto);
}

void protobuf_RegisterTypes(const ::std::string&) GOOGLE_ATTRIBUTE_COLD;
void protobuf_RegisterTypes(const ::std::string&) {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
      MemberOptionalStock_descriptor_, MemberOptionalStock::internal_default_instance());
}

}  // namespace

void protobuf_ShutdownFile_plateform_2fvo_2fMemberOptionalStock_2eproto() {
  MemberOptionalStock_default_instance_.Shutdown();
  delete MemberOptionalStock_reflection_;
}

void protobuf_InitDefaults_plateform_2fvo_2fMemberOptionalStock_2eproto_impl() {
  GOOGLE_PROTOBUF_VERIFY_VERSION;

  ::google::protobuf::internal::GetEmptyString();
  MemberOptionalStock_default_instance_.DefaultConstruct();
  MemberOptionalStock_default_instance_.get_mutable()->InitAsDefaultInstance();
}

GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_InitDefaults_plateform_2fvo_2fMemberOptionalStock_2eproto_once_);
void protobuf_InitDefaults_plateform_2fvo_2fMemberOptionalStock_2eproto() {
  ::google::protobuf::GoogleOnceInit(&protobuf_InitDefaults_plateform_2fvo_2fMemberOptionalStock_2eproto_once_,
                 &protobuf_InitDefaults_plateform_2fvo_2fMemberOptionalStock_2eproto_impl);
}
void protobuf_AddDesc_plateform_2fvo_2fMemberOptionalStock_2eproto_impl() {
  GOOGLE_PROTOBUF_VERIFY_VERSION;

  protobuf_InitDefaults_plateform_2fvo_2fMemberOptionalStock_2eproto();
  ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
    "\n&plateform/vo/MemberOptionalStock.proto"
    "\"]\n\023MemberOptionalStock\022\024\n\014securityCode\030"
    "\001 \001(\t\022\014\n\004name\030\002 \001(\t\022\020\n\010dataType\030\003 \001(\t\022\020\n"
    "\010orderNum\030\004 \001(\005BM\n1com.huasheng.quant.op"
    "en.sdk.protobuf.plateform.voB\030MemberOpti"
    "onalStockProtob\006proto3", 222);
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
    "plateform/vo/MemberOptionalStock.proto", &protobuf_RegisterTypes);
  ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_plateform_2fvo_2fMemberOptionalStock_2eproto);
}

GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AddDesc_plateform_2fvo_2fMemberOptionalStock_2eproto_once_);
void protobuf_AddDesc_plateform_2fvo_2fMemberOptionalStock_2eproto() {
  ::google::protobuf::GoogleOnceInit(&protobuf_AddDesc_plateform_2fvo_2fMemberOptionalStock_2eproto_once_,
                 &protobuf_AddDesc_plateform_2fvo_2fMemberOptionalStock_2eproto_impl);
}
// Force AddDescriptors() to be called at static initialization time.
struct StaticDescriptorInitializer_plateform_2fvo_2fMemberOptionalStock_2eproto {
  StaticDescriptorInitializer_plateform_2fvo_2fMemberOptionalStock_2eproto() {
    protobuf_AddDesc_plateform_2fvo_2fMemberOptionalStock_2eproto();
  }
} static_descriptor_initializer_plateform_2fvo_2fMemberOptionalStock_2eproto_;

namespace {

static void MergeFromFail(int line) GOOGLE_ATTRIBUTE_COLD GOOGLE_ATTRIBUTE_NORETURN;
static void MergeFromFail(int line) {
  ::google::protobuf::internal::MergeFromFail(__FILE__, line);
}

}  // namespace


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

#if !defined(_MSC_VER) || _MSC_VER >= 1900
const int MemberOptionalStock::kSecurityCodeFieldNumber;
const int MemberOptionalStock::kNameFieldNumber;
const int MemberOptionalStock::kDataTypeFieldNumber;
const int MemberOptionalStock::kOrderNumFieldNumber;
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900

MemberOptionalStock::MemberOptionalStock()
  : ::google::protobuf::Message(), _internal_metadata_(NULL) {
  if (this != internal_default_instance()) protobuf_InitDefaults_plateform_2fvo_2fMemberOptionalStock_2eproto();
  SharedCtor();
  // @@protoc_insertion_point(constructor:MemberOptionalStock)
}

void MemberOptionalStock::InitAsDefaultInstance() {
}

MemberOptionalStock::MemberOptionalStock(const MemberOptionalStock& from)
  : ::google::protobuf::Message(),
    _internal_metadata_(NULL) {
  SharedCtor();
  UnsafeMergeFrom(from);
  // @@protoc_insertion_point(copy_constructor:MemberOptionalStock)
}

void MemberOptionalStock::SharedCtor() {
  securitycode_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  datatype_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  ordernum_ = 0;
  _cached_size_ = 0;
}

MemberOptionalStock::~MemberOptionalStock() {
  // @@protoc_insertion_point(destructor:MemberOptionalStock)
  SharedDtor();
}

void MemberOptionalStock::SharedDtor() {
  securitycode_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  datatype_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}

void MemberOptionalStock::SetCachedSize(int size) const {
  GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  _cached_size_ = size;
  GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* MemberOptionalStock::descriptor() {
  protobuf_AssignDescriptorsOnce();
  return MemberOptionalStock_descriptor_;
}

const MemberOptionalStock& MemberOptionalStock::default_instance() {
  protobuf_InitDefaults_plateform_2fvo_2fMemberOptionalStock_2eproto();
  return *internal_default_instance();
}

::google::protobuf::internal::ExplicitlyConstructed<MemberOptionalStock> MemberOptionalStock_default_instance_;

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

void MemberOptionalStock::Clear() {
// @@protoc_insertion_point(message_clear_start:MemberOptionalStock)
  securitycode_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  datatype_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  ordernum_ = 0;
}

bool MemberOptionalStock::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:MemberOptionalStock)
  for (;;) {
    ::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoff(127);
    tag = p.first;
    if (!p.second) goto handle_unusual;
    switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
      // optional string securityCode = 1;
      case 1: {
        if (tag == 10) {
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
                input, this->mutable_securitycode()));
          DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
            this->securitycode().data(), this->securitycode().length(),
            ::google::protobuf::internal::WireFormatLite::PARSE,
            "MemberOptionalStock.securityCode"));
        } else {
          goto handle_unusual;
        }
        if (input->ExpectTag(18)) goto parse_name;
        break;
      }

      // optional string name = 2;
      case 2: {
        if (tag == 18) {
         parse_name:
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
                input, this->mutable_name()));
          DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
            this->name().data(), this->name().length(),
            ::google::protobuf::internal::WireFormatLite::PARSE,
            "MemberOptionalStock.name"));
        } else {
          goto handle_unusual;
        }
        if (input->ExpectTag(26)) goto parse_dataType;
        break;
      }

      // optional string dataType = 3;
      case 3: {
        if (tag == 26) {
         parse_dataType:
          DO_(::google::protobuf::internal::WireFormatLite::ReadString(
                input, this->mutable_datatype()));
          DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
            this->datatype().data(), this->datatype().length(),
            ::google::protobuf::internal::WireFormatLite::PARSE,
            "MemberOptionalStock.dataType"));
        } else {
          goto handle_unusual;
        }
        if (input->ExpectTag(32)) goto parse_orderNum;
        break;
      }

      // optional int32 orderNum = 4;
      case 4: {
        if (tag == 32) {
         parse_orderNum:

          DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
                   ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
                 input, &ordernum_)));
        } else {
          goto handle_unusual;
        }
        if (input->ExpectAtEnd()) goto success;
        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::WireFormatLite::SkipField(input, tag));
        break;
      }
    }
  }
success:
  // @@protoc_insertion_point(parse_success:MemberOptionalStock)
  return true;
failure:
  // @@protoc_insertion_point(parse_failure:MemberOptionalStock)
  return false;
#undef DO_
}

void MemberOptionalStock::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // @@protoc_insertion_point(serialize_start:MemberOptionalStock)
  // optional string securityCode = 1;
  if (this->securitycode().size() > 0) {
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
      this->securitycode().data(), this->securitycode().length(),
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
      "MemberOptionalStock.securityCode");
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
      1, this->securitycode(), output);
  }

  // optional string name = 2;
  if (this->name().size() > 0) {
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
      this->name().data(), this->name().length(),
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
      "MemberOptionalStock.name");
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
      2, this->name(), output);
  }

  // optional string dataType = 3;
  if (this->datatype().size() > 0) {
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
      this->datatype().data(), this->datatype().length(),
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
      "MemberOptionalStock.dataType");
    ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
      3, this->datatype(), output);
  }

  // optional int32 orderNum = 4;
  if (this->ordernum() != 0) {
    ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->ordernum(), output);
  }

  // @@protoc_insertion_point(serialize_end:MemberOptionalStock)
}

::google::protobuf::uint8* MemberOptionalStock::InternalSerializeWithCachedSizesToArray(
    bool deterministic, ::google::protobuf::uint8* target) const {
  (void)deterministic; // Unused
  // @@protoc_insertion_point(serialize_to_array_start:MemberOptionalStock)
  // optional string securityCode = 1;
  if (this->securitycode().size() > 0) {
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
      this->securitycode().data(), this->securitycode().length(),
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
      "MemberOptionalStock.securityCode");
    target =
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
        1, this->securitycode(), target);
  }

  // optional string name = 2;
  if (this->name().size() > 0) {
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
      this->name().data(), this->name().length(),
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
      "MemberOptionalStock.name");
    target =
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
        2, this->name(), target);
  }

  // optional string dataType = 3;
  if (this->datatype().size() > 0) {
    ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
      this->datatype().data(), this->datatype().length(),
      ::google::protobuf::internal::WireFormatLite::SERIALIZE,
      "MemberOptionalStock.dataType");
    target =
      ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
        3, this->datatype(), target);
  }

  // optional int32 orderNum = 4;
  if (this->ordernum() != 0) {
    target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->ordernum(), target);
  }

  // @@protoc_insertion_point(serialize_to_array_end:MemberOptionalStock)
  return target;
}

size_t MemberOptionalStock::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:MemberOptionalStock)
  size_t total_size = 0;

  // optional string securityCode = 1;
  if (this->securitycode().size() > 0) {
    total_size += 1 +
      ::google::protobuf::internal::WireFormatLite::StringSize(
        this->securitycode());
  }

  // optional string name = 2;
  if (this->name().size() > 0) {
    total_size += 1 +
      ::google::protobuf::internal::WireFormatLite::StringSize(
        this->name());
  }

  // optional string dataType = 3;
  if (this->datatype().size() > 0) {
    total_size += 1 +
      ::google::protobuf::internal::WireFormatLite::StringSize(
        this->datatype());
  }

  // optional int32 orderNum = 4;
  if (this->ordernum() != 0) {
    total_size += 1 +
      ::google::protobuf::internal::WireFormatLite::Int32Size(
        this->ordernum());
  }

  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 MemberOptionalStock::MergeFrom(const ::google::protobuf::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:MemberOptionalStock)
  if (GOOGLE_PREDICT_FALSE(&from == this)) MergeFromFail(__LINE__);
  const MemberOptionalStock* source =
      ::google::protobuf::internal::DynamicCastToGenerated<const MemberOptionalStock>(
          &from);
  if (source == NULL) {
  // @@protoc_insertion_point(generalized_merge_from_cast_fail:MemberOptionalStock)
    ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  } else {
  // @@protoc_insertion_point(generalized_merge_from_cast_success:MemberOptionalStock)
    UnsafeMergeFrom(*source);
  }
}

void MemberOptionalStock::MergeFrom(const MemberOptionalStock& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:MemberOptionalStock)
  if (GOOGLE_PREDICT_TRUE(&from != this)) {
    UnsafeMergeFrom(from);
  } else {
    MergeFromFail(__LINE__);
  }
}

void MemberOptionalStock::UnsafeMergeFrom(const MemberOptionalStock& from) {
  GOOGLE_DCHECK(&from != this);
  if (from.securitycode().size() > 0) {

    securitycode_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.securitycode_);
  }
  if (from.name().size() > 0) {

    name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
  }
  if (from.datatype().size() > 0) {

    datatype_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.datatype_);
  }
  if (from.ordernum() != 0) {
    set_ordernum(from.ordernum());
  }
}

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

void MemberOptionalStock::CopyFrom(const MemberOptionalStock& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:MemberOptionalStock)
  if (&from == this) return;
  Clear();
  UnsafeMergeFrom(from);
}

bool MemberOptionalStock::IsInitialized() const {

  return true;
}

void MemberOptionalStock::Swap(MemberOptionalStock* other) {
  if (other == this) return;
  InternalSwap(other);
}
void MemberOptionalStock::InternalSwap(MemberOptionalStock* other) {
  securitycode_.Swap(&other->securitycode_);
  name_.Swap(&other->name_);
  datatype_.Swap(&other->datatype_);
  std::swap(ordernum_, other->ordernum_);
  _internal_metadata_.Swap(&other->_internal_metadata_);
  std::swap(_cached_size_, other->_cached_size_);
}

::google::protobuf::Metadata MemberOptionalStock::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = MemberOptionalStock_descriptor_;
  metadata.reflection = MemberOptionalStock_reflection_;
  return metadata;
}

#if PROTOBUF_INLINE_NOT_IN_HEADERS
// MemberOptionalStock

// optional string securityCode = 1;
void MemberOptionalStock::clear_securitycode() {
  securitycode_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
const ::std::string& MemberOptionalStock::securitycode() const {
  // @@protoc_insertion_point(field_get:MemberOptionalStock.securityCode)
  return securitycode_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
void MemberOptionalStock::set_securitycode(const ::std::string& value) {
  
  securitycode_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:MemberOptionalStock.securityCode)
}
void MemberOptionalStock::set_securitycode(const char* value) {
  
  securitycode_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:MemberOptionalStock.securityCode)
}
void MemberOptionalStock::set_securitycode(const char* value, size_t size) {
  
  securitycode_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:MemberOptionalStock.securityCode)
}
::std::string* MemberOptionalStock::mutable_securitycode() {
  
  // @@protoc_insertion_point(field_mutable:MemberOptionalStock.securityCode)
  return securitycode_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
::std::string* MemberOptionalStock::release_securitycode() {
  // @@protoc_insertion_point(field_release:MemberOptionalStock.securityCode)
  
  return securitycode_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
void MemberOptionalStock::set_allocated_securitycode(::std::string* securitycode) {
  if (securitycode != NULL) {
    
  } else {
    
  }
  securitycode_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), securitycode);
  // @@protoc_insertion_point(field_set_allocated:MemberOptionalStock.securityCode)
}

// optional string name = 2;
void MemberOptionalStock::clear_name() {
  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
const ::std::string& MemberOptionalStock::name() const {
  // @@protoc_insertion_point(field_get:MemberOptionalStock.name)
  return name_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
void MemberOptionalStock::set_name(const ::std::string& value) {
  
  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:MemberOptionalStock.name)
}
void MemberOptionalStock::set_name(const char* value) {
  
  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:MemberOptionalStock.name)
}
void MemberOptionalStock::set_name(const char* value, size_t size) {
  
  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:MemberOptionalStock.name)
}
::std::string* MemberOptionalStock::mutable_name() {
  
  // @@protoc_insertion_point(field_mutable:MemberOptionalStock.name)
  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
::std::string* MemberOptionalStock::release_name() {
  // @@protoc_insertion_point(field_release:MemberOptionalStock.name)
  
  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
void MemberOptionalStock::set_allocated_name(::std::string* name) {
  if (name != NULL) {
    
  } else {
    
  }
  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
  // @@protoc_insertion_point(field_set_allocated:MemberOptionalStock.name)
}

// optional string dataType = 3;
void MemberOptionalStock::clear_datatype() {
  datatype_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
const ::std::string& MemberOptionalStock::datatype() const {
  // @@protoc_insertion_point(field_get:MemberOptionalStock.dataType)
  return datatype_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
void MemberOptionalStock::set_datatype(const ::std::string& value) {
  
  datatype_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:MemberOptionalStock.dataType)
}
void MemberOptionalStock::set_datatype(const char* value) {
  
  datatype_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:MemberOptionalStock.dataType)
}
void MemberOptionalStock::set_datatype(const char* value, size_t size) {
  
  datatype_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:MemberOptionalStock.dataType)
}
::std::string* MemberOptionalStock::mutable_datatype() {
  
  // @@protoc_insertion_point(field_mutable:MemberOptionalStock.dataType)
  return datatype_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
::std::string* MemberOptionalStock::release_datatype() {
  // @@protoc_insertion_point(field_release:MemberOptionalStock.dataType)
  
  return datatype_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
void MemberOptionalStock::set_allocated_datatype(::std::string* datatype) {
  if (datatype != NULL) {
    
  } else {
    
  }
  datatype_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), datatype);
  // @@protoc_insertion_point(field_set_allocated:MemberOptionalStock.dataType)
}

// optional int32 orderNum = 4;
void MemberOptionalStock::clear_ordernum() {
  ordernum_ = 0;
}
::google::protobuf::int32 MemberOptionalStock::ordernum() const {
  // @@protoc_insertion_point(field_get:MemberOptionalStock.orderNum)
  return ordernum_;
}
void MemberOptionalStock::set_ordernum(::google::protobuf::int32 value) {
  
  ordernum_ = value;
  // @@protoc_insertion_point(field_set:MemberOptionalStock.orderNum)
}

inline const MemberOptionalStock* MemberOptionalStock::internal_default_instance() {
  return &MemberOptionalStock_default_instance_.get();
}
#endif  // PROTOBUF_INLINE_NOT_IN_HEADERS

// @@protoc_insertion_point(namespace_scope)

// @@protoc_insertion_point(global_scope)
