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

#ifndef PROTOBUF_hq_2fresponse_2fBrokerResponse_2eproto__INCLUDED
#define PROTOBUF_hq_2fresponse_2fBrokerResponse_2eproto__INCLUDED

#include <string>

#include <google/protobuf/stubs/common.h>

#if GOOGLE_PROTOBUF_VERSION < 3001000
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers.  Please update
#error your headers.
#endif
#if 3001000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers.  Please
#error regenerate this file with a newer version of protoc.
#endif

#include <google/protobuf/arena.h>
#include <google/protobuf/arenastring.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/metadata.h>
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/unknown_field_set.h>
#include "hq/dto/Security.pb.h"
#include "hq/dto/Broker.pb.h"
// @@protoc_insertion_point(includes)

// Internal implementation detail -- do not call these.
void protobuf_AddDesc_hq_2fresponse_2fBrokerResponse_2eproto();
void protobuf_InitDefaults_hq_2fresponse_2fBrokerResponse_2eproto();
void protobuf_AssignDesc_hq_2fresponse_2fBrokerResponse_2eproto();
void protobuf_ShutdownFile_hq_2fresponse_2fBrokerResponse_2eproto();

class BrokerResponse;

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

class BrokerResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:BrokerResponse) */ {
 public:
  BrokerResponse();
  virtual ~BrokerResponse();

  BrokerResponse(const BrokerResponse& from);

  inline BrokerResponse& operator=(const BrokerResponse& from) {
    CopyFrom(from);
    return *this;
  }

  static const ::google::protobuf::Descriptor* descriptor();
  static const BrokerResponse& default_instance();

  static const BrokerResponse* internal_default_instance();

  void Swap(BrokerResponse* other);

  // implements Message ----------------------------------------------

  inline BrokerResponse* New() const { return New(NULL); }

  BrokerResponse* New(::google::protobuf::Arena* arena) const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const BrokerResponse& from);
  void MergeFrom(const BrokerResponse& from);
  void Clear();
  bool IsInitialized() const;

  size_t ByteSizeLong() const;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input);
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const;
  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
      bool deterministic, ::google::protobuf::uint8* output) const;
  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const {
    return InternalSerializeWithCachedSizesToArray(false, output);
  }
  int GetCachedSize() const { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(BrokerResponse* other);
  void UnsafeMergeFrom(const BrokerResponse& from);
  private:
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
    return _internal_metadata_.arena();
  }
  inline void* MaybeArenaPtr() const {
    return _internal_metadata_.raw_arena_ptr();
  }
  public:

  ::google::protobuf::Metadata GetMetadata() const;

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  // optional .Security security = 1;
  bool has_security() const;
  void clear_security();
  static const int kSecurityFieldNumber = 1;
  const ::Security& security() const;
  ::Security* mutable_security();
  ::Security* release_security();
  void set_allocated_security(::Security* security);

  // repeated .Broker brokerAskList = 2;
  int brokerasklist_size() const;
  void clear_brokerasklist();
  static const int kBrokerAskListFieldNumber = 2;
  const ::Broker& brokerasklist(int index) const;
  ::Broker* mutable_brokerasklist(int index);
  ::Broker* add_brokerasklist();
  ::google::protobuf::RepeatedPtrField< ::Broker >*
      mutable_brokerasklist();
  const ::google::protobuf::RepeatedPtrField< ::Broker >&
      brokerasklist() const;

  // repeated .Broker brokerBidList = 3;
  int brokerbidlist_size() const;
  void clear_brokerbidlist();
  static const int kBrokerBidListFieldNumber = 3;
  const ::Broker& brokerbidlist(int index) const;
  ::Broker* mutable_brokerbidlist(int index);
  ::Broker* add_brokerbidlist();
  ::google::protobuf::RepeatedPtrField< ::Broker >*
      mutable_brokerbidlist();
  const ::google::protobuf::RepeatedPtrField< ::Broker >&
      brokerbidlist() const;

  // @@protoc_insertion_point(class_scope:BrokerResponse)
 private:

  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  ::google::protobuf::RepeatedPtrField< ::Broker > brokerasklist_;
  ::google::protobuf::RepeatedPtrField< ::Broker > brokerbidlist_;
  ::Security* security_;
  mutable int _cached_size_;
  friend void  protobuf_InitDefaults_hq_2fresponse_2fBrokerResponse_2eproto_impl();
  friend void  protobuf_AddDesc_hq_2fresponse_2fBrokerResponse_2eproto_impl();
  friend void protobuf_AssignDesc_hq_2fresponse_2fBrokerResponse_2eproto();
  friend void protobuf_ShutdownFile_hq_2fresponse_2fBrokerResponse_2eproto();

  void InitAsDefaultInstance();
};
extern ::google::protobuf::internal::ExplicitlyConstructed<BrokerResponse> BrokerResponse_default_instance_;

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


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

#if !PROTOBUF_INLINE_NOT_IN_HEADERS
// BrokerResponse

// optional .Security security = 1;
inline bool BrokerResponse::has_security() const {
  return this != internal_default_instance() && security_ != NULL;
}
inline void BrokerResponse::clear_security() {
  if (GetArenaNoVirtual() == NULL && security_ != NULL) delete security_;
  security_ = NULL;
}
inline const ::Security& BrokerResponse::security() const {
  // @@protoc_insertion_point(field_get:BrokerResponse.security)
  return security_ != NULL ? *security_
                         : *::Security::internal_default_instance();
}
inline ::Security* BrokerResponse::mutable_security() {
  
  if (security_ == NULL) {
    security_ = new ::Security;
  }
  // @@protoc_insertion_point(field_mutable:BrokerResponse.security)
  return security_;
}
inline ::Security* BrokerResponse::release_security() {
  // @@protoc_insertion_point(field_release:BrokerResponse.security)
  
  ::Security* temp = security_;
  security_ = NULL;
  return temp;
}
inline void BrokerResponse::set_allocated_security(::Security* security) {
  delete security_;
  security_ = security;
  if (security) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_set_allocated:BrokerResponse.security)
}

// repeated .Broker brokerAskList = 2;
inline int BrokerResponse::brokerasklist_size() const {
  return brokerasklist_.size();
}
inline void BrokerResponse::clear_brokerasklist() {
  brokerasklist_.Clear();
}
inline const ::Broker& BrokerResponse::brokerasklist(int index) const {
  // @@protoc_insertion_point(field_get:BrokerResponse.brokerAskList)
  return brokerasklist_.Get(index);
}
inline ::Broker* BrokerResponse::mutable_brokerasklist(int index) {
  // @@protoc_insertion_point(field_mutable:BrokerResponse.brokerAskList)
  return brokerasklist_.Mutable(index);
}
inline ::Broker* BrokerResponse::add_brokerasklist() {
  // @@protoc_insertion_point(field_add:BrokerResponse.brokerAskList)
  return brokerasklist_.Add();
}
inline ::google::protobuf::RepeatedPtrField< ::Broker >*
BrokerResponse::mutable_brokerasklist() {
  // @@protoc_insertion_point(field_mutable_list:BrokerResponse.brokerAskList)
  return &brokerasklist_;
}
inline const ::google::protobuf::RepeatedPtrField< ::Broker >&
BrokerResponse::brokerasklist() const {
  // @@protoc_insertion_point(field_list:BrokerResponse.brokerAskList)
  return brokerasklist_;
}

// repeated .Broker brokerBidList = 3;
inline int BrokerResponse::brokerbidlist_size() const {
  return brokerbidlist_.size();
}
inline void BrokerResponse::clear_brokerbidlist() {
  brokerbidlist_.Clear();
}
inline const ::Broker& BrokerResponse::brokerbidlist(int index) const {
  // @@protoc_insertion_point(field_get:BrokerResponse.brokerBidList)
  return brokerbidlist_.Get(index);
}
inline ::Broker* BrokerResponse::mutable_brokerbidlist(int index) {
  // @@protoc_insertion_point(field_mutable:BrokerResponse.brokerBidList)
  return brokerbidlist_.Mutable(index);
}
inline ::Broker* BrokerResponse::add_brokerbidlist() {
  // @@protoc_insertion_point(field_add:BrokerResponse.brokerBidList)
  return brokerbidlist_.Add();
}
inline ::google::protobuf::RepeatedPtrField< ::Broker >*
BrokerResponse::mutable_brokerbidlist() {
  // @@protoc_insertion_point(field_mutable_list:BrokerResponse.brokerBidList)
  return &brokerbidlist_;
}
inline const ::google::protobuf::RepeatedPtrField< ::Broker >&
BrokerResponse::brokerbidlist() const {
  // @@protoc_insertion_point(field_list:BrokerResponse.brokerBidList)
  return brokerbidlist_;
}

inline const BrokerResponse* BrokerResponse::internal_default_instance() {
  return &BrokerResponse_default_instance_.get();
}
#endif  // !PROTOBUF_INLINE_NOT_IN_HEADERS

// @@protoc_insertion_point(namespace_scope)

// @@protoc_insertion_point(global_scope)

#endif  // PROTOBUF_hq_2fresponse_2fBrokerResponse_2eproto__INCLUDED
