// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: trade/request/TradeQuerySellAmountRequest.proto

#ifndef PROTOBUF_trade_2frequest_2fTradeQuerySellAmountRequest_2eproto__INCLUDED
#define PROTOBUF_trade_2frequest_2fTradeQuerySellAmountRequest_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_2frequest_2fTradeQuerySellAmountRequest_2eproto();
void protobuf_InitDefaults_trade_2frequest_2fTradeQuerySellAmountRequest_2eproto();
void protobuf_AssignDesc_trade_2frequest_2fTradeQuerySellAmountRequest_2eproto();
void protobuf_ShutdownFile_trade_2frequest_2fTradeQuerySellAmountRequest_2eproto();

class TradeQuerySellAmountRequest;

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

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

  TradeQuerySellAmountRequest(const TradeQuerySellAmountRequest& from);

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

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

  static const TradeQuerySellAmountRequest* internal_default_instance();

  void Swap(TradeQuerySellAmountRequest* other);

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

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

  TradeQuerySellAmountRequest* New(::google::protobuf::Arena* arena) const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const TradeQuerySellAmountRequest& from);
  void MergeFrom(const TradeQuerySellAmountRequest& 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(TradeQuerySellAmountRequest* other);
  void UnsafeMergeFrom(const TradeQuerySellAmountRequest& 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 string stockCode = 1;
  void clear_stockcode();
  static const int kStockCodeFieldNumber = 1;
  const ::std::string& stockcode() const;
  void set_stockcode(const ::std::string& value);
  void set_stockcode(const char* value);
  void set_stockcode(const char* value, size_t size);
  ::std::string* mutable_stockcode();
  ::std::string* release_stockcode();
  void set_allocated_stockcode(::std::string* stockcode);

  // optional string exchangeType = 2;
  void clear_exchangetype();
  static const int kExchangeTypeFieldNumber = 2;
  const ::std::string& exchangetype() const;
  void set_exchangetype(const ::std::string& value);
  void set_exchangetype(const char* value);
  void set_exchangetype(const char* value, size_t size);
  ::std::string* mutable_exchangetype();
  ::std::string* release_exchangetype();
  void set_allocated_exchangetype(::std::string* exchangetype);

  // optional int32 clientType = 3;
  void clear_clienttype();
  static const int kClientTypeFieldNumber = 3;
  ::google::protobuf::int32 clienttype() const;
  void set_clienttype(::google::protobuf::int32 value);

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

  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
  ::google::protobuf::internal::ArenaStringPtr stockcode_;
  ::google::protobuf::internal::ArenaStringPtr exchangetype_;
  ::google::protobuf::int32 clienttype_;
  mutable int _cached_size_;
  friend void  protobuf_InitDefaults_trade_2frequest_2fTradeQuerySellAmountRequest_2eproto_impl();
  friend void  protobuf_AddDesc_trade_2frequest_2fTradeQuerySellAmountRequest_2eproto_impl();
  friend void protobuf_AssignDesc_trade_2frequest_2fTradeQuerySellAmountRequest_2eproto();
  friend void protobuf_ShutdownFile_trade_2frequest_2fTradeQuerySellAmountRequest_2eproto();

  void InitAsDefaultInstance();
};
extern ::google::protobuf::internal::ExplicitlyConstructed<TradeQuerySellAmountRequest> TradeQuerySellAmountRequest_default_instance_;

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


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

#if !PROTOBUF_INLINE_NOT_IN_HEADERS
// TradeQuerySellAmountRequest

// optional string stockCode = 1;
inline void TradeQuerySellAmountRequest::clear_stockcode() {
  stockcode_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& TradeQuerySellAmountRequest::stockcode() const {
  // @@protoc_insertion_point(field_get:TradeQuerySellAmountRequest.stockCode)
  return stockcode_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void TradeQuerySellAmountRequest::set_stockcode(const ::std::string& value) {
  
  stockcode_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:TradeQuerySellAmountRequest.stockCode)
}
inline void TradeQuerySellAmountRequest::set_stockcode(const char* value) {
  
  stockcode_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:TradeQuerySellAmountRequest.stockCode)
}
inline void TradeQuerySellAmountRequest::set_stockcode(const char* value, size_t size) {
  
  stockcode_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:TradeQuerySellAmountRequest.stockCode)
}
inline ::std::string* TradeQuerySellAmountRequest::mutable_stockcode() {
  
  // @@protoc_insertion_point(field_mutable:TradeQuerySellAmountRequest.stockCode)
  return stockcode_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* TradeQuerySellAmountRequest::release_stockcode() {
  // @@protoc_insertion_point(field_release:TradeQuerySellAmountRequest.stockCode)
  
  return stockcode_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void TradeQuerySellAmountRequest::set_allocated_stockcode(::std::string* stockcode) {
  if (stockcode != NULL) {
    
  } else {
    
  }
  stockcode_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), stockcode);
  // @@protoc_insertion_point(field_set_allocated:TradeQuerySellAmountRequest.stockCode)
}

// optional string exchangeType = 2;
inline void TradeQuerySellAmountRequest::clear_exchangetype() {
  exchangetype_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline const ::std::string& TradeQuerySellAmountRequest::exchangetype() const {
  // @@protoc_insertion_point(field_get:TradeQuerySellAmountRequest.exchangeType)
  return exchangetype_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void TradeQuerySellAmountRequest::set_exchangetype(const ::std::string& value) {
  
  exchangetype_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:TradeQuerySellAmountRequest.exchangeType)
}
inline void TradeQuerySellAmountRequest::set_exchangetype(const char* value) {
  
  exchangetype_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:TradeQuerySellAmountRequest.exchangeType)
}
inline void TradeQuerySellAmountRequest::set_exchangetype(const char* value, size_t size) {
  
  exchangetype_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:TradeQuerySellAmountRequest.exchangeType)
}
inline ::std::string* TradeQuerySellAmountRequest::mutable_exchangetype() {
  
  // @@protoc_insertion_point(field_mutable:TradeQuerySellAmountRequest.exchangeType)
  return exchangetype_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* TradeQuerySellAmountRequest::release_exchangetype() {
  // @@protoc_insertion_point(field_release:TradeQuerySellAmountRequest.exchangeType)
  
  return exchangetype_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void TradeQuerySellAmountRequest::set_allocated_exchangetype(::std::string* exchangetype) {
  if (exchangetype != NULL) {
    
  } else {
    
  }
  exchangetype_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), exchangetype);
  // @@protoc_insertion_point(field_set_allocated:TradeQuerySellAmountRequest.exchangeType)
}

// optional int32 clientType = 3;
inline void TradeQuerySellAmountRequest::clear_clienttype() {
  clienttype_ = 0;
}
inline ::google::protobuf::int32 TradeQuerySellAmountRequest::clienttype() const {
  // @@protoc_insertion_point(field_get:TradeQuerySellAmountRequest.clientType)
  return clienttype_;
}
inline void TradeQuerySellAmountRequest::set_clienttype(::google::protobuf::int32 value) {
  
  clienttype_ = value;
  // @@protoc_insertion_point(field_set:TradeQuerySellAmountRequest.clientType)
}

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

// @@protoc_insertion_point(namespace_scope)

// @@protoc_insertion_point(global_scope)

#endif  // PROTOBUF_trade_2frequest_2fTradeQuerySellAmountRequest_2eproto__INCLUDED
