// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: trade/response/futures/FuturesQueryBuySellAmountResponse.proto

#ifndef PROTOBUF_trade_2fresponse_2ffutures_2fFuturesQueryBuySellAmountResponse_2eproto__INCLUDED
#define PROTOBUF_trade_2fresponse_2ffutures_2fFuturesQueryBuySellAmountResponse_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>
// @@protoc_insertion_point(includes)

// Internal implementation detail -- do not call these.
void protobuf_AddDesc_trade_2fresponse_2ffutures_2fFuturesQueryBuySellAmountResponse_2eproto();
void protobuf_InitDefaults_trade_2fresponse_2ffutures_2fFuturesQueryBuySellAmountResponse_2eproto();
void protobuf_AssignDesc_trade_2fresponse_2ffutures_2fFuturesQueryBuySellAmountResponse_2eproto();
void protobuf_ShutdownFile_trade_2fresponse_2ffutures_2fFuturesQueryBuySellAmountResponse_2eproto();

class FuturesQueryBuySellAmountResponse;

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

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

  FuturesQueryBuySellAmountResponse(const FuturesQueryBuySellAmountResponse& from);

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

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

  static const FuturesQueryBuySellAmountResponse* internal_default_instance();

  void Swap(FuturesQueryBuySellAmountResponse* other);

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

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

  FuturesQueryBuySellAmountResponse* New(::google::protobuf::Arena* arena) const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const FuturesQueryBuySellAmountResponse& from);
  void MergeFrom(const FuturesQueryBuySellAmountResponse& 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(FuturesQueryBuySellAmountResponse* other);
  void UnsafeMergeFrom(const FuturesQueryBuySellAmountResponse& 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 int32 positionStatus = 1;
  void clear_positionstatus();
  static const int kPositionStatusFieldNumber = 1;
  ::google::protobuf::int32 positionstatus() const;
  void set_positionstatus(::google::protobuf::int32 value);

  // optional int64 maxBuyAmount = 2;
  void clear_maxbuyamount();
  static const int kMaxBuyAmountFieldNumber = 2;
  ::google::protobuf::int64 maxbuyamount() const;
  void set_maxbuyamount(::google::protobuf::int64 value);

  // optional int64 maxSellAmount = 3;
  void clear_maxsellamount();
  static const int kMaxSellAmountFieldNumber = 3;
  ::google::protobuf::int64 maxsellamount() const;
  void set_maxsellamount(::google::protobuf::int64 value);

  // optional string initialMargin = 4;
  void clear_initialmargin();
  static const int kInitialMarginFieldNumber = 4;
  const ::std::string& initialmargin() const;
  void set_initialmargin(const ::std::string& value);
  void set_initialmargin(const char* value);
  void set_initialmargin(const char* value, size_t size);
  ::std::string* mutable_initialmargin();
  ::std::string* release_initialmargin();
  void set_allocated_initialmargin(::std::string* initialmargin);

  // optional string ccy = 5;
  void clear_ccy();
  static const int kCcyFieldNumber = 5;
  const ::std::string& ccy() const;
  void set_ccy(const ::std::string& value);
  void set_ccy(const char* value);
  void set_ccy(const char* value, size_t size);
  ::std::string* mutable_ccy();
  ::std::string* release_ccy();
  void set_allocated_ccy(::std::string* ccy);

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

  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  ::google::protobuf::internal::ArenaStringPtr initialmargin_;
  ::google::protobuf::internal::ArenaStringPtr ccy_;
  ::google::protobuf::int64 maxbuyamount_;
  ::google::protobuf::int64 maxsellamount_;
  ::google::protobuf::int32 positionstatus_;
  mutable int _cached_size_;
  friend void  protobuf_InitDefaults_trade_2fresponse_2ffutures_2fFuturesQueryBuySellAmountResponse_2eproto_impl();
  friend void  protobuf_AddDesc_trade_2fresponse_2ffutures_2fFuturesQueryBuySellAmountResponse_2eproto_impl();
  friend void protobuf_AssignDesc_trade_2fresponse_2ffutures_2fFuturesQueryBuySellAmountResponse_2eproto();
  friend void protobuf_ShutdownFile_trade_2fresponse_2ffutures_2fFuturesQueryBuySellAmountResponse_2eproto();

  void InitAsDefaultInstance();
};
extern ::google::protobuf::internal::ExplicitlyConstructed<FuturesQueryBuySellAmountResponse> FuturesQueryBuySellAmountResponse_default_instance_;

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


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

#if !PROTOBUF_INLINE_NOT_IN_HEADERS
// FuturesQueryBuySellAmountResponse

// optional int32 positionStatus = 1;
inline void FuturesQueryBuySellAmountResponse::clear_positionstatus() {
  positionstatus_ = 0;
}
inline ::google::protobuf::int32 FuturesQueryBuySellAmountResponse::positionstatus() const {
  // @@protoc_insertion_point(field_get:FuturesQueryBuySellAmountResponse.positionStatus)
  return positionstatus_;
}
inline void FuturesQueryBuySellAmountResponse::set_positionstatus(::google::protobuf::int32 value) {
  
  positionstatus_ = value;
  // @@protoc_insertion_point(field_set:FuturesQueryBuySellAmountResponse.positionStatus)
}

// optional int64 maxBuyAmount = 2;
inline void FuturesQueryBuySellAmountResponse::clear_maxbuyamount() {
  maxbuyamount_ = GOOGLE_LONGLONG(0);
}
inline ::google::protobuf::int64 FuturesQueryBuySellAmountResponse::maxbuyamount() const {
  // @@protoc_insertion_point(field_get:FuturesQueryBuySellAmountResponse.maxBuyAmount)
  return maxbuyamount_;
}
inline void FuturesQueryBuySellAmountResponse::set_maxbuyamount(::google::protobuf::int64 value) {
  
  maxbuyamount_ = value;
  // @@protoc_insertion_point(field_set:FuturesQueryBuySellAmountResponse.maxBuyAmount)
}

// optional int64 maxSellAmount = 3;
inline void FuturesQueryBuySellAmountResponse::clear_maxsellamount() {
  maxsellamount_ = GOOGLE_LONGLONG(0);
}
inline ::google::protobuf::int64 FuturesQueryBuySellAmountResponse::maxsellamount() const {
  // @@protoc_insertion_point(field_get:FuturesQueryBuySellAmountResponse.maxSellAmount)
  return maxsellamount_;
}
inline void FuturesQueryBuySellAmountResponse::set_maxsellamount(::google::protobuf::int64 value) {
  
  maxsellamount_ = value;
  // @@protoc_insertion_point(field_set:FuturesQueryBuySellAmountResponse.maxSellAmount)
}

// optional string initialMargin = 4;
inline void FuturesQueryBuySellAmountResponse::clear_initialmargin() {
  initialmargin_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& FuturesQueryBuySellAmountResponse::initialmargin() const {
  // @@protoc_insertion_point(field_get:FuturesQueryBuySellAmountResponse.initialMargin)
  return initialmargin_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void FuturesQueryBuySellAmountResponse::set_initialmargin(const ::std::string& value) {
  
  initialmargin_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:FuturesQueryBuySellAmountResponse.initialMargin)
}
inline void FuturesQueryBuySellAmountResponse::set_initialmargin(const char* value) {
  
  initialmargin_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:FuturesQueryBuySellAmountResponse.initialMargin)
}
inline void FuturesQueryBuySellAmountResponse::set_initialmargin(const char* value, size_t size) {
  
  initialmargin_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:FuturesQueryBuySellAmountResponse.initialMargin)
}
inline ::std::string* FuturesQueryBuySellAmountResponse::mutable_initialmargin() {
  
  // @@protoc_insertion_point(field_mutable:FuturesQueryBuySellAmountResponse.initialMargin)
  return initialmargin_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* FuturesQueryBuySellAmountResponse::release_initialmargin() {
  // @@protoc_insertion_point(field_release:FuturesQueryBuySellAmountResponse.initialMargin)
  
  return initialmargin_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void FuturesQueryBuySellAmountResponse::set_allocated_initialmargin(::std::string* initialmargin) {
  if (initialmargin != NULL) {
    
  } else {
    
  }
  initialmargin_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), initialmargin);
  // @@protoc_insertion_point(field_set_allocated:FuturesQueryBuySellAmountResponse.initialMargin)
}

// optional string ccy = 5;
inline void FuturesQueryBuySellAmountResponse::clear_ccy() {
  ccy_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& FuturesQueryBuySellAmountResponse::ccy() const {
  // @@protoc_insertion_point(field_get:FuturesQueryBuySellAmountResponse.ccy)
  return ccy_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void FuturesQueryBuySellAmountResponse::set_ccy(const ::std::string& value) {
  
  ccy_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:FuturesQueryBuySellAmountResponse.ccy)
}
inline void FuturesQueryBuySellAmountResponse::set_ccy(const char* value) {
  
  ccy_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:FuturesQueryBuySellAmountResponse.ccy)
}
inline void FuturesQueryBuySellAmountResponse::set_ccy(const char* value, size_t size) {
  
  ccy_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:FuturesQueryBuySellAmountResponse.ccy)
}
inline ::std::string* FuturesQueryBuySellAmountResponse::mutable_ccy() {
  
  // @@protoc_insertion_point(field_mutable:FuturesQueryBuySellAmountResponse.ccy)
  return ccy_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* FuturesQueryBuySellAmountResponse::release_ccy() {
  // @@protoc_insertion_point(field_release:FuturesQueryBuySellAmountResponse.ccy)
  
  return ccy_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void FuturesQueryBuySellAmountResponse::set_allocated_ccy(::std::string* ccy) {
  if (ccy != NULL) {
    
  } else {
    
  }
  ccy_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ccy);
  // @@protoc_insertion_point(field_set_allocated:FuturesQueryBuySellAmountResponse.ccy)
}

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

// @@protoc_insertion_point(namespace_scope)

// @@protoc_insertion_point(global_scope)

#endif  // PROTOBUF_trade_2fresponse_2ffutures_2fFuturesQueryBuySellAmountResponse_2eproto__INCLUDED
