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

#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "plateform/response/OptStockGroupQueryResponse.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* OptStockGroupQueryResponse_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
  OptStockGroupQueryResponse_reflection_ = NULL;

}  // namespace


void protobuf_AssignDesc_plateform_2fresponse_2fOptStockGroupQueryResponse_2eproto() GOOGLE_ATTRIBUTE_COLD;
void protobuf_AssignDesc_plateform_2fresponse_2fOptStockGroupQueryResponse_2eproto() {
  protobuf_AddDesc_plateform_2fresponse_2fOptStockGroupQueryResponse_2eproto();
  const ::google::protobuf::FileDescriptor* file =
    ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
      "plateform/response/OptStockGroupQueryResponse.proto");
  GOOGLE_CHECK(file != NULL);
  OptStockGroupQueryResponse_descriptor_ = file->message_type(0);
  static const int OptStockGroupQueryResponse_offsets_[1] = {
    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(OptStockGroupQueryResponse, group_),
  };
  OptStockGroupQueryResponse_reflection_ =
    ::google::protobuf::internal::GeneratedMessageReflection::NewGeneratedMessageReflection(
      OptStockGroupQueryResponse_descriptor_,
      OptStockGroupQueryResponse::internal_default_instance(),
      OptStockGroupQueryResponse_offsets_,
      -1,
      -1,
      -1,
      sizeof(OptStockGroupQueryResponse),
      GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(OptStockGroupQueryResponse, _internal_metadata_));
}

namespace {

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

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

}  // namespace

void protobuf_ShutdownFile_plateform_2fresponse_2fOptStockGroupQueryResponse_2eproto() {
  OptStockGroupQueryResponse_default_instance_.Shutdown();
  delete OptStockGroupQueryResponse_reflection_;
}

void protobuf_InitDefaults_plateform_2fresponse_2fOptStockGroupQueryResponse_2eproto_impl() {
  GOOGLE_PROTOBUF_VERIFY_VERSION;

  ::protobuf_InitDefaults_plateform_2fvo_2fMemberOptStockGroup_2eproto();
  OptStockGroupQueryResponse_default_instance_.DefaultConstruct();
  OptStockGroupQueryResponse_default_instance_.get_mutable()->InitAsDefaultInstance();
}

GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_InitDefaults_plateform_2fresponse_2fOptStockGroupQueryResponse_2eproto_once_);
void protobuf_InitDefaults_plateform_2fresponse_2fOptStockGroupQueryResponse_2eproto() {
  ::google::protobuf::GoogleOnceInit(&protobuf_InitDefaults_plateform_2fresponse_2fOptStockGroupQueryResponse_2eproto_once_,
                 &protobuf_InitDefaults_plateform_2fresponse_2fOptStockGroupQueryResponse_2eproto_impl);
}
void protobuf_AddDesc_plateform_2fresponse_2fOptStockGroupQueryResponse_2eproto_impl() {
  GOOGLE_PROTOBUF_VERIFY_VERSION;

  protobuf_InitDefaults_plateform_2fresponse_2fOptStockGroupQueryResponse_2eproto();
  ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
    "\n3plateform/response/OptStockGroupQueryR"
    "esponse.proto\032&plateform/vo/MemberOptSto"
    "ckGroup.proto\"A\n\032OptStockGroupQueryRespo"
    "nse\022#\n\005group\030\001 \003(\0132\024.MemberOptStockGroup"
    "BZ\n7com.huasheng.quant.open.sdk.protobuf"
    ".plateform.responseB\037OptStockGroupQueryR"
    "esponseProtob\006proto3", 260);
  ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
    "plateform/response/OptStockGroupQueryResponse.proto", &protobuf_RegisterTypes);
  ::protobuf_AddDesc_plateform_2fvo_2fMemberOptStockGroup_2eproto();
  ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_plateform_2fresponse_2fOptStockGroupQueryResponse_2eproto);
}

GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AddDesc_plateform_2fresponse_2fOptStockGroupQueryResponse_2eproto_once_);
void protobuf_AddDesc_plateform_2fresponse_2fOptStockGroupQueryResponse_2eproto() {
  ::google::protobuf::GoogleOnceInit(&protobuf_AddDesc_plateform_2fresponse_2fOptStockGroupQueryResponse_2eproto_once_,
                 &protobuf_AddDesc_plateform_2fresponse_2fOptStockGroupQueryResponse_2eproto_impl);
}
// Force AddDescriptors() to be called at static initialization time.
struct StaticDescriptorInitializer_plateform_2fresponse_2fOptStockGroupQueryResponse_2eproto {
  StaticDescriptorInitializer_plateform_2fresponse_2fOptStockGroupQueryResponse_2eproto() {
    protobuf_AddDesc_plateform_2fresponse_2fOptStockGroupQueryResponse_2eproto();
  }
} static_descriptor_initializer_plateform_2fresponse_2fOptStockGroupQueryResponse_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 OptStockGroupQueryResponse::kGroupFieldNumber;
#endif  // !defined(_MSC_VER) || _MSC_VER >= 1900

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

void OptStockGroupQueryResponse::InitAsDefaultInstance() {
}

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

void OptStockGroupQueryResponse::SharedCtor() {
  _cached_size_ = 0;
}

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

void OptStockGroupQueryResponse::SharedDtor() {
}

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

const OptStockGroupQueryResponse& OptStockGroupQueryResponse::default_instance() {
  protobuf_InitDefaults_plateform_2fresponse_2fOptStockGroupQueryResponse_2eproto();
  return *internal_default_instance();
}

::google::protobuf::internal::ExplicitlyConstructed<OptStockGroupQueryResponse> OptStockGroupQueryResponse_default_instance_;

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

void OptStockGroupQueryResponse::Clear() {
// @@protoc_insertion_point(message_clear_start:OptStockGroupQueryResponse)
  group_.Clear();
}

bool OptStockGroupQueryResponse::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:OptStockGroupQueryResponse)
  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)) {
      // repeated .MemberOptStockGroup group = 1;
      case 1: {
        if (tag == 10) {
          DO_(input->IncrementRecursionDepth());
         parse_loop_group:
          DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtualNoRecursionDepth(
                input, add_group()));
        } else {
          goto handle_unusual;
        }
        if (input->ExpectTag(10)) goto parse_loop_group;
        input->UnsafeDecrementRecursionDepth();
        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:OptStockGroupQueryResponse)
  return true;
failure:
  // @@protoc_insertion_point(parse_failure:OptStockGroupQueryResponse)
  return false;
#undef DO_
}

void OptStockGroupQueryResponse::SerializeWithCachedSizes(
    ::google::protobuf::io::CodedOutputStream* output) const {
  // @@protoc_insertion_point(serialize_start:OptStockGroupQueryResponse)
  // repeated .MemberOptStockGroup group = 1;
  for (unsigned int i = 0, n = this->group_size(); i < n; i++) {
    ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
      1, this->group(i), output);
  }

  // @@protoc_insertion_point(serialize_end:OptStockGroupQueryResponse)
}

::google::protobuf::uint8* OptStockGroupQueryResponse::InternalSerializeWithCachedSizesToArray(
    bool deterministic, ::google::protobuf::uint8* target) const {
  (void)deterministic; // Unused
  // @@protoc_insertion_point(serialize_to_array_start:OptStockGroupQueryResponse)
  // repeated .MemberOptStockGroup group = 1;
  for (unsigned int i = 0, n = this->group_size(); i < n; i++) {
    target = ::google::protobuf::internal::WireFormatLite::
      InternalWriteMessageNoVirtualToArray(
        1, this->group(i), false, target);
  }

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

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

  // repeated .MemberOptStockGroup group = 1;
  {
    unsigned int count = this->group_size();
    total_size += 1UL * count;
    for (unsigned int i = 0; i < count; i++) {
      total_size +=
        ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
          this->group(i));
    }
  }

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

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

void OptStockGroupQueryResponse::UnsafeMergeFrom(const OptStockGroupQueryResponse& from) {
  GOOGLE_DCHECK(&from != this);
  group_.MergeFrom(from.group_);
}

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

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

bool OptStockGroupQueryResponse::IsInitialized() const {

  return true;
}

void OptStockGroupQueryResponse::Swap(OptStockGroupQueryResponse* other) {
  if (other == this) return;
  InternalSwap(other);
}
void OptStockGroupQueryResponse::InternalSwap(OptStockGroupQueryResponse* other) {
  group_.UnsafeArenaSwap(&other->group_);
  _internal_metadata_.Swap(&other->_internal_metadata_);
  std::swap(_cached_size_, other->_cached_size_);
}

::google::protobuf::Metadata OptStockGroupQueryResponse::GetMetadata() const {
  protobuf_AssignDescriptorsOnce();
  ::google::protobuf::Metadata metadata;
  metadata.descriptor = OptStockGroupQueryResponse_descriptor_;
  metadata.reflection = OptStockGroupQueryResponse_reflection_;
  return metadata;
}

#if PROTOBUF_INLINE_NOT_IN_HEADERS
// OptStockGroupQueryResponse

// repeated .MemberOptStockGroup group = 1;
int OptStockGroupQueryResponse::group_size() const {
  return group_.size();
}
void OptStockGroupQueryResponse::clear_group() {
  group_.Clear();
}
const ::MemberOptStockGroup& OptStockGroupQueryResponse::group(int index) const {
  // @@protoc_insertion_point(field_get:OptStockGroupQueryResponse.group)
  return group_.Get(index);
}
::MemberOptStockGroup* OptStockGroupQueryResponse::mutable_group(int index) {
  // @@protoc_insertion_point(field_mutable:OptStockGroupQueryResponse.group)
  return group_.Mutable(index);
}
::MemberOptStockGroup* OptStockGroupQueryResponse::add_group() {
  // @@protoc_insertion_point(field_add:OptStockGroupQueryResponse.group)
  return group_.Add();
}
::google::protobuf::RepeatedPtrField< ::MemberOptStockGroup >*
OptStockGroupQueryResponse::mutable_group() {
  // @@protoc_insertion_point(field_mutable_list:OptStockGroupQueryResponse.group)
  return &group_;
}
const ::google::protobuf::RepeatedPtrField< ::MemberOptStockGroup >&
OptStockGroupQueryResponse::group() const {
  // @@protoc_insertion_point(field_list:OptStockGroupQueryResponse.group)
  return group_;
}

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

// @@protoc_insertion_point(namespace_scope)

// @@protoc_insertion_point(global_scope)
