Files
QTradeProgram/include/Proto/Qot_GetCapitalFlow.pb.h
2025-08-15 15:57:31 +08:00

1646 lines
56 KiB
C++

// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Qot_GetCapitalFlow.proto
#ifndef PROTOBUF_Qot_5fGetCapitalFlow_2eproto__INCLUDED
#define PROTOBUF_Qot_5fGetCapitalFlow_2eproto__INCLUDED
#include <string>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 3005000
#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 3005001 < 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/io/coded_stream.h>
#include <google/protobuf/arena.h>
#include <google/protobuf/arenastring.h>
#include <google/protobuf/generated_message_table_driven.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/metadata.h>
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h> // IWYU pragma: export
#include <google/protobuf/extension_set.h> // IWYU pragma: export
#include <google/protobuf/unknown_field_set.h>
#include "Common.pb.h"
#include "Qot_Common.pb.h"
// @@protoc_insertion_point(includes)
namespace protobuf_Qot_5fGetCapitalFlow_2eproto {
// Internal implementation detail -- do not use these members.
struct TableStruct {
static const ::google::protobuf::internal::ParseTableField entries[];
static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
static const ::google::protobuf::internal::ParseTable schema[5];
static const ::google::protobuf::internal::FieldMetadata field_metadata[];
static const ::google::protobuf::internal::SerializationTable serialization_table[];
static const ::google::protobuf::uint32 offsets[];
};
void AddDescriptors();
void InitDefaultsC2SImpl();
void InitDefaultsC2S();
void InitDefaultsCapitalFlowItemImpl();
void InitDefaultsCapitalFlowItem();
void InitDefaultsS2CImpl();
void InitDefaultsS2C();
void InitDefaultsRequestImpl();
void InitDefaultsRequest();
void InitDefaultsResponseImpl();
void InitDefaultsResponse();
inline void InitDefaults() {
InitDefaultsC2S();
InitDefaultsCapitalFlowItem();
InitDefaultsS2C();
InitDefaultsRequest();
InitDefaultsResponse();
}
} // namespace protobuf_Qot_5fGetCapitalFlow_2eproto
namespace Qot_GetCapitalFlow {
class C2S;
class C2SDefaultTypeInternal;
extern C2SDefaultTypeInternal _C2S_default_instance_;
class CapitalFlowItem;
class CapitalFlowItemDefaultTypeInternal;
extern CapitalFlowItemDefaultTypeInternal _CapitalFlowItem_default_instance_;
class Request;
class RequestDefaultTypeInternal;
extern RequestDefaultTypeInternal _Request_default_instance_;
class Response;
class ResponseDefaultTypeInternal;
extern ResponseDefaultTypeInternal _Response_default_instance_;
class S2C;
class S2CDefaultTypeInternal;
extern S2CDefaultTypeInternal _S2C_default_instance_;
} // namespace Qot_GetCapitalFlow
namespace Qot_GetCapitalFlow {
// ===================================================================
class C2S : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Qot_GetCapitalFlow.C2S) */ {
public:
C2S();
virtual ~C2S();
C2S(const C2S& from);
inline C2S& operator=(const C2S& from) {
CopyFrom(from);
return *this;
}
#if LANG_CXX11
C2S(C2S&& from) noexcept
: C2S() {
*this = ::std::move(from);
}
inline C2S& operator=(C2S&& from) noexcept {
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
if (this != &from) InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
#endif
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
return _internal_metadata_.unknown_fields();
}
inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
return _internal_metadata_.mutable_unknown_fields();
}
static const ::google::protobuf::Descriptor* descriptor();
static const C2S& default_instance();
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
static inline const C2S* internal_default_instance() {
return reinterpret_cast<const C2S*>(
&_C2S_default_instance_);
}
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
0;
void Swap(C2S* other);
friend void swap(C2S& a, C2S& b) {
a.Swap(&b);
}
// implements Message ----------------------------------------------
inline C2S* New() const PROTOBUF_FINAL { return New(NULL); }
C2S* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
void CopyFrom(const C2S& from);
void MergeFrom(const C2S& from);
void Clear() PROTOBUF_FINAL;
bool IsInitialized() const PROTOBUF_FINAL;
size_t ByteSizeLong() const PROTOBUF_FINAL;
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const PROTOBUF_FINAL;
void InternalSwap(C2S* other);
private:
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
return NULL;
}
inline void* MaybeArenaPtr() const {
return NULL;
}
public:
::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// optional string beginTime = 3;
bool has_begintime() const;
void clear_begintime();
static const int kBeginTimeFieldNumber = 3;
const ::std::string& begintime() const;
void set_begintime(const ::std::string& value);
#if LANG_CXX11
void set_begintime(::std::string&& value);
#endif
void set_begintime(const char* value);
void set_begintime(const char* value, size_t size);
::std::string* mutable_begintime();
::std::string* release_begintime();
void set_allocated_begintime(::std::string* begintime);
// optional string endTime = 4;
bool has_endtime() const;
void clear_endtime();
static const int kEndTimeFieldNumber = 4;
const ::std::string& endtime() const;
void set_endtime(const ::std::string& value);
#if LANG_CXX11
void set_endtime(::std::string&& value);
#endif
void set_endtime(const char* value);
void set_endtime(const char* value, size_t size);
::std::string* mutable_endtime();
::std::string* release_endtime();
void set_allocated_endtime(::std::string* endtime);
// required .Qot_Common.Security security = 1;
bool has_security() const;
void clear_security();
static const int kSecurityFieldNumber = 1;
const ::Qot_Common::Security& security() const;
::Qot_Common::Security* release_security();
::Qot_Common::Security* mutable_security();
void set_allocated_security(::Qot_Common::Security* security);
// optional int32 periodType = 2;
bool has_periodtype() const;
void clear_periodtype();
static const int kPeriodTypeFieldNumber = 2;
::google::protobuf::int32 periodtype() const;
void set_periodtype(::google::protobuf::int32 value);
// @@protoc_insertion_point(class_scope:Qot_GetCapitalFlow.C2S)
private:
void set_has_security();
void clear_has_security();
void set_has_periodtype();
void clear_has_periodtype();
void set_has_begintime();
void clear_has_begintime();
void set_has_endtime();
void clear_has_endtime();
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
::google::protobuf::internal::HasBits<1> _has_bits_;
mutable int _cached_size_;
::google::protobuf::internal::ArenaStringPtr begintime_;
::google::protobuf::internal::ArenaStringPtr endtime_;
::Qot_Common::Security* security_;
::google::protobuf::int32 periodtype_;
friend struct ::protobuf_Qot_5fGetCapitalFlow_2eproto::TableStruct;
friend void ::protobuf_Qot_5fGetCapitalFlow_2eproto::InitDefaultsC2SImpl();
};
// -------------------------------------------------------------------
class CapitalFlowItem : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Qot_GetCapitalFlow.CapitalFlowItem) */ {
public:
CapitalFlowItem();
virtual ~CapitalFlowItem();
CapitalFlowItem(const CapitalFlowItem& from);
inline CapitalFlowItem& operator=(const CapitalFlowItem& from) {
CopyFrom(from);
return *this;
}
#if LANG_CXX11
CapitalFlowItem(CapitalFlowItem&& from) noexcept
: CapitalFlowItem() {
*this = ::std::move(from);
}
inline CapitalFlowItem& operator=(CapitalFlowItem&& from) noexcept {
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
if (this != &from) InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
#endif
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
return _internal_metadata_.unknown_fields();
}
inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
return _internal_metadata_.mutable_unknown_fields();
}
static const ::google::protobuf::Descriptor* descriptor();
static const CapitalFlowItem& default_instance();
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
static inline const CapitalFlowItem* internal_default_instance() {
return reinterpret_cast<const CapitalFlowItem*>(
&_CapitalFlowItem_default_instance_);
}
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1;
void Swap(CapitalFlowItem* other);
friend void swap(CapitalFlowItem& a, CapitalFlowItem& b) {
a.Swap(&b);
}
// implements Message ----------------------------------------------
inline CapitalFlowItem* New() const PROTOBUF_FINAL { return New(NULL); }
CapitalFlowItem* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
void CopyFrom(const CapitalFlowItem& from);
void MergeFrom(const CapitalFlowItem& from);
void Clear() PROTOBUF_FINAL;
bool IsInitialized() const PROTOBUF_FINAL;
size_t ByteSizeLong() const PROTOBUF_FINAL;
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const PROTOBUF_FINAL;
void InternalSwap(CapitalFlowItem* other);
private:
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
return NULL;
}
inline void* MaybeArenaPtr() const {
return NULL;
}
public:
::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// optional string time = 2;
bool has_time() const;
void clear_time();
static const int kTimeFieldNumber = 2;
const ::std::string& time() const;
void set_time(const ::std::string& value);
#if LANG_CXX11
void set_time(::std::string&& value);
#endif
void set_time(const char* value);
void set_time(const char* value, size_t size);
::std::string* mutable_time();
::std::string* release_time();
void set_allocated_time(::std::string* time);
// required double inFlow = 1;
bool has_inflow() const;
void clear_inflow();
static const int kInFlowFieldNumber = 1;
double inflow() const;
void set_inflow(double value);
// optional double timestamp = 3;
bool has_timestamp() const;
void clear_timestamp();
static const int kTimestampFieldNumber = 3;
double timestamp() const;
void set_timestamp(double value);
// optional double mainInFlow = 4;
bool has_maininflow() const;
void clear_maininflow();
static const int kMainInFlowFieldNumber = 4;
double maininflow() const;
void set_maininflow(double value);
// optional double superInFlow = 5;
bool has_superinflow() const;
void clear_superinflow();
static const int kSuperInFlowFieldNumber = 5;
double superinflow() const;
void set_superinflow(double value);
// optional double bigInFlow = 6;
bool has_biginflow() const;
void clear_biginflow();
static const int kBigInFlowFieldNumber = 6;
double biginflow() const;
void set_biginflow(double value);
// optional double midInFlow = 7;
bool has_midinflow() const;
void clear_midinflow();
static const int kMidInFlowFieldNumber = 7;
double midinflow() const;
void set_midinflow(double value);
// optional double smlInFlow = 8;
bool has_smlinflow() const;
void clear_smlinflow();
static const int kSmlInFlowFieldNumber = 8;
double smlinflow() const;
void set_smlinflow(double value);
// @@protoc_insertion_point(class_scope:Qot_GetCapitalFlow.CapitalFlowItem)
private:
void set_has_inflow();
void clear_has_inflow();
void set_has_time();
void clear_has_time();
void set_has_timestamp();
void clear_has_timestamp();
void set_has_maininflow();
void clear_has_maininflow();
void set_has_superinflow();
void clear_has_superinflow();
void set_has_biginflow();
void clear_has_biginflow();
void set_has_midinflow();
void clear_has_midinflow();
void set_has_smlinflow();
void clear_has_smlinflow();
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
::google::protobuf::internal::HasBits<1> _has_bits_;
mutable int _cached_size_;
::google::protobuf::internal::ArenaStringPtr time_;
double inflow_;
double timestamp_;
double maininflow_;
double superinflow_;
double biginflow_;
double midinflow_;
double smlinflow_;
friend struct ::protobuf_Qot_5fGetCapitalFlow_2eproto::TableStruct;
friend void ::protobuf_Qot_5fGetCapitalFlow_2eproto::InitDefaultsCapitalFlowItemImpl();
};
// -------------------------------------------------------------------
class S2C : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Qot_GetCapitalFlow.S2C) */ {
public:
S2C();
virtual ~S2C();
S2C(const S2C& from);
inline S2C& operator=(const S2C& from) {
CopyFrom(from);
return *this;
}
#if LANG_CXX11
S2C(S2C&& from) noexcept
: S2C() {
*this = ::std::move(from);
}
inline S2C& operator=(S2C&& from) noexcept {
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
if (this != &from) InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
#endif
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
return _internal_metadata_.unknown_fields();
}
inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
return _internal_metadata_.mutable_unknown_fields();
}
static const ::google::protobuf::Descriptor* descriptor();
static const S2C& default_instance();
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
static inline const S2C* internal_default_instance() {
return reinterpret_cast<const S2C*>(
&_S2C_default_instance_);
}
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2;
void Swap(S2C* other);
friend void swap(S2C& a, S2C& b) {
a.Swap(&b);
}
// implements Message ----------------------------------------------
inline S2C* New() const PROTOBUF_FINAL { return New(NULL); }
S2C* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
void CopyFrom(const S2C& from);
void MergeFrom(const S2C& from);
void Clear() PROTOBUF_FINAL;
bool IsInitialized() const PROTOBUF_FINAL;
size_t ByteSizeLong() const PROTOBUF_FINAL;
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const PROTOBUF_FINAL;
void InternalSwap(S2C* other);
private:
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
return NULL;
}
inline void* MaybeArenaPtr() const {
return NULL;
}
public:
::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// repeated .Qot_GetCapitalFlow.CapitalFlowItem flowItemList = 1;
int flowitemlist_size() const;
void clear_flowitemlist();
static const int kFlowItemListFieldNumber = 1;
const ::Qot_GetCapitalFlow::CapitalFlowItem& flowitemlist(int index) const;
::Qot_GetCapitalFlow::CapitalFlowItem* mutable_flowitemlist(int index);
::Qot_GetCapitalFlow::CapitalFlowItem* add_flowitemlist();
::google::protobuf::RepeatedPtrField< ::Qot_GetCapitalFlow::CapitalFlowItem >*
mutable_flowitemlist();
const ::google::protobuf::RepeatedPtrField< ::Qot_GetCapitalFlow::CapitalFlowItem >&
flowitemlist() const;
// optional string lastValidTime = 2;
bool has_lastvalidtime() const;
void clear_lastvalidtime();
static const int kLastValidTimeFieldNumber = 2;
const ::std::string& lastvalidtime() const;
void set_lastvalidtime(const ::std::string& value);
#if LANG_CXX11
void set_lastvalidtime(::std::string&& value);
#endif
void set_lastvalidtime(const char* value);
void set_lastvalidtime(const char* value, size_t size);
::std::string* mutable_lastvalidtime();
::std::string* release_lastvalidtime();
void set_allocated_lastvalidtime(::std::string* lastvalidtime);
// optional double lastValidTimestamp = 3;
bool has_lastvalidtimestamp() const;
void clear_lastvalidtimestamp();
static const int kLastValidTimestampFieldNumber = 3;
double lastvalidtimestamp() const;
void set_lastvalidtimestamp(double value);
// @@protoc_insertion_point(class_scope:Qot_GetCapitalFlow.S2C)
private:
void set_has_lastvalidtime();
void clear_has_lastvalidtime();
void set_has_lastvalidtimestamp();
void clear_has_lastvalidtimestamp();
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
::google::protobuf::internal::HasBits<1> _has_bits_;
mutable int _cached_size_;
::google::protobuf::RepeatedPtrField< ::Qot_GetCapitalFlow::CapitalFlowItem > flowitemlist_;
::google::protobuf::internal::ArenaStringPtr lastvalidtime_;
double lastvalidtimestamp_;
friend struct ::protobuf_Qot_5fGetCapitalFlow_2eproto::TableStruct;
friend void ::protobuf_Qot_5fGetCapitalFlow_2eproto::InitDefaultsS2CImpl();
};
// -------------------------------------------------------------------
class Request : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Qot_GetCapitalFlow.Request) */ {
public:
Request();
virtual ~Request();
Request(const Request& from);
inline Request& operator=(const Request& from) {
CopyFrom(from);
return *this;
}
#if LANG_CXX11
Request(Request&& from) noexcept
: Request() {
*this = ::std::move(from);
}
inline Request& operator=(Request&& from) noexcept {
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
if (this != &from) InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
#endif
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
return _internal_metadata_.unknown_fields();
}
inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
return _internal_metadata_.mutable_unknown_fields();
}
static const ::google::protobuf::Descriptor* descriptor();
static const Request& default_instance();
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
static inline const Request* internal_default_instance() {
return reinterpret_cast<const Request*>(
&_Request_default_instance_);
}
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
3;
void Swap(Request* other);
friend void swap(Request& a, Request& b) {
a.Swap(&b);
}
// implements Message ----------------------------------------------
inline Request* New() const PROTOBUF_FINAL { return New(NULL); }
Request* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
void CopyFrom(const Request& from);
void MergeFrom(const Request& from);
void Clear() PROTOBUF_FINAL;
bool IsInitialized() const PROTOBUF_FINAL;
size_t ByteSizeLong() const PROTOBUF_FINAL;
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const PROTOBUF_FINAL;
void InternalSwap(Request* other);
private:
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
return NULL;
}
inline void* MaybeArenaPtr() const {
return NULL;
}
public:
::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// required .Qot_GetCapitalFlow.C2S c2s = 1;
bool has_c2s() const;
void clear_c2s();
static const int kC2SFieldNumber = 1;
const ::Qot_GetCapitalFlow::C2S& c2s() const;
::Qot_GetCapitalFlow::C2S* release_c2s();
::Qot_GetCapitalFlow::C2S* mutable_c2s();
void set_allocated_c2s(::Qot_GetCapitalFlow::C2S* c2s);
// @@protoc_insertion_point(class_scope:Qot_GetCapitalFlow.Request)
private:
void set_has_c2s();
void clear_has_c2s();
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
::google::protobuf::internal::HasBits<1> _has_bits_;
mutable int _cached_size_;
::Qot_GetCapitalFlow::C2S* c2s_;
friend struct ::protobuf_Qot_5fGetCapitalFlow_2eproto::TableStruct;
friend void ::protobuf_Qot_5fGetCapitalFlow_2eproto::InitDefaultsRequestImpl();
};
// -------------------------------------------------------------------
class Response : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Qot_GetCapitalFlow.Response) */ {
public:
Response();
virtual ~Response();
Response(const Response& from);
inline Response& operator=(const Response& from) {
CopyFrom(from);
return *this;
}
#if LANG_CXX11
Response(Response&& from) noexcept
: Response() {
*this = ::std::move(from);
}
inline Response& operator=(Response&& from) noexcept {
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
if (this != &from) InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
#endif
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
return _internal_metadata_.unknown_fields();
}
inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
return _internal_metadata_.mutable_unknown_fields();
}
static const ::google::protobuf::Descriptor* descriptor();
static const Response& default_instance();
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
static inline const Response* internal_default_instance() {
return reinterpret_cast<const Response*>(
&_Response_default_instance_);
}
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
4;
void Swap(Response* other);
friend void swap(Response& a, Response& b) {
a.Swap(&b);
}
// implements Message ----------------------------------------------
inline Response* New() const PROTOBUF_FINAL { return New(NULL); }
Response* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
void CopyFrom(const Response& from);
void MergeFrom(const Response& from);
void Clear() PROTOBUF_FINAL;
bool IsInitialized() const PROTOBUF_FINAL;
size_t ByteSizeLong() const PROTOBUF_FINAL;
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const PROTOBUF_FINAL;
void InternalSwap(Response* other);
private:
inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
return NULL;
}
inline void* MaybeArenaPtr() const {
return NULL;
}
public:
::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// optional string retMsg = 2;
bool has_retmsg() const;
void clear_retmsg();
static const int kRetMsgFieldNumber = 2;
const ::std::string& retmsg() const;
void set_retmsg(const ::std::string& value);
#if LANG_CXX11
void set_retmsg(::std::string&& value);
#endif
void set_retmsg(const char* value);
void set_retmsg(const char* value, size_t size);
::std::string* mutable_retmsg();
::std::string* release_retmsg();
void set_allocated_retmsg(::std::string* retmsg);
// optional .Qot_GetCapitalFlow.S2C s2c = 4;
bool has_s2c() const;
void clear_s2c();
static const int kS2CFieldNumber = 4;
const ::Qot_GetCapitalFlow::S2C& s2c() const;
::Qot_GetCapitalFlow::S2C* release_s2c();
::Qot_GetCapitalFlow::S2C* mutable_s2c();
void set_allocated_s2c(::Qot_GetCapitalFlow::S2C* s2c);
// optional int32 errCode = 3;
bool has_errcode() const;
void clear_errcode();
static const int kErrCodeFieldNumber = 3;
::google::protobuf::int32 errcode() const;
void set_errcode(::google::protobuf::int32 value);
// required int32 retType = 1 [default = -400];
bool has_rettype() const;
void clear_rettype();
static const int kRetTypeFieldNumber = 1;
::google::protobuf::int32 rettype() const;
void set_rettype(::google::protobuf::int32 value);
// @@protoc_insertion_point(class_scope:Qot_GetCapitalFlow.Response)
private:
void set_has_rettype();
void clear_has_rettype();
void set_has_retmsg();
void clear_has_retmsg();
void set_has_errcode();
void clear_has_errcode();
void set_has_s2c();
void clear_has_s2c();
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
::google::protobuf::internal::HasBits<1> _has_bits_;
mutable int _cached_size_;
::google::protobuf::internal::ArenaStringPtr retmsg_;
::Qot_GetCapitalFlow::S2C* s2c_;
::google::protobuf::int32 errcode_;
::google::protobuf::int32 rettype_;
friend struct ::protobuf_Qot_5fGetCapitalFlow_2eproto::TableStruct;
friend void ::protobuf_Qot_5fGetCapitalFlow_2eproto::InitDefaultsResponseImpl();
};
// ===================================================================
// ===================================================================
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif // __GNUC__
// C2S
// required .Qot_Common.Security security = 1;
inline bool C2S::has_security() const {
return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void C2S::set_has_security() {
_has_bits_[0] |= 0x00000004u;
}
inline void C2S::clear_has_security() {
_has_bits_[0] &= ~0x00000004u;
}
inline const ::Qot_Common::Security& C2S::security() const {
const ::Qot_Common::Security* p = security_;
// @@protoc_insertion_point(field_get:Qot_GetCapitalFlow.C2S.security)
return p != NULL ? *p : *reinterpret_cast<const ::Qot_Common::Security*>(
&::Qot_Common::_Security_default_instance_);
}
inline ::Qot_Common::Security* C2S::release_security() {
// @@protoc_insertion_point(field_release:Qot_GetCapitalFlow.C2S.security)
clear_has_security();
::Qot_Common::Security* temp = security_;
security_ = NULL;
return temp;
}
inline ::Qot_Common::Security* C2S::mutable_security() {
set_has_security();
if (security_ == NULL) {
security_ = new ::Qot_Common::Security;
}
// @@protoc_insertion_point(field_mutable:Qot_GetCapitalFlow.C2S.security)
return security_;
}
inline void C2S::set_allocated_security(::Qot_Common::Security* security) {
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
if (message_arena == NULL) {
delete reinterpret_cast< ::google::protobuf::MessageLite*>(security_);
}
if (security) {
::google::protobuf::Arena* submessage_arena = NULL;
if (message_arena != submessage_arena) {
security = ::google::protobuf::internal::GetOwnedMessage(
message_arena, security, submessage_arena);
}
set_has_security();
} else {
clear_has_security();
}
security_ = security;
// @@protoc_insertion_point(field_set_allocated:Qot_GetCapitalFlow.C2S.security)
}
// optional int32 periodType = 2;
inline bool C2S::has_periodtype() const {
return (_has_bits_[0] & 0x00000008u) != 0;
}
inline void C2S::set_has_periodtype() {
_has_bits_[0] |= 0x00000008u;
}
inline void C2S::clear_has_periodtype() {
_has_bits_[0] &= ~0x00000008u;
}
inline void C2S::clear_periodtype() {
periodtype_ = 0;
clear_has_periodtype();
}
inline ::google::protobuf::int32 C2S::periodtype() const {
// @@protoc_insertion_point(field_get:Qot_GetCapitalFlow.C2S.periodType)
return periodtype_;
}
inline void C2S::set_periodtype(::google::protobuf::int32 value) {
set_has_periodtype();
periodtype_ = value;
// @@protoc_insertion_point(field_set:Qot_GetCapitalFlow.C2S.periodType)
}
// optional string beginTime = 3;
inline bool C2S::has_begintime() const {
return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void C2S::set_has_begintime() {
_has_bits_[0] |= 0x00000001u;
}
inline void C2S::clear_has_begintime() {
_has_bits_[0] &= ~0x00000001u;
}
inline void C2S::clear_begintime() {
begintime_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
clear_has_begintime();
}
inline const ::std::string& C2S::begintime() const {
// @@protoc_insertion_point(field_get:Qot_GetCapitalFlow.C2S.beginTime)
return begintime_.GetNoArena();
}
inline void C2S::set_begintime(const ::std::string& value) {
set_has_begintime();
begintime_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:Qot_GetCapitalFlow.C2S.beginTime)
}
#if LANG_CXX11
inline void C2S::set_begintime(::std::string&& value) {
set_has_begintime();
begintime_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:Qot_GetCapitalFlow.C2S.beginTime)
}
#endif
inline void C2S::set_begintime(const char* value) {
GOOGLE_DCHECK(value != NULL);
set_has_begintime();
begintime_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:Qot_GetCapitalFlow.C2S.beginTime)
}
inline void C2S::set_begintime(const char* value, size_t size) {
set_has_begintime();
begintime_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:Qot_GetCapitalFlow.C2S.beginTime)
}
inline ::std::string* C2S::mutable_begintime() {
set_has_begintime();
// @@protoc_insertion_point(field_mutable:Qot_GetCapitalFlow.C2S.beginTime)
return begintime_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* C2S::release_begintime() {
// @@protoc_insertion_point(field_release:Qot_GetCapitalFlow.C2S.beginTime)
clear_has_begintime();
return begintime_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void C2S::set_allocated_begintime(::std::string* begintime) {
if (begintime != NULL) {
set_has_begintime();
} else {
clear_has_begintime();
}
begintime_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), begintime);
// @@protoc_insertion_point(field_set_allocated:Qot_GetCapitalFlow.C2S.beginTime)
}
// optional string endTime = 4;
inline bool C2S::has_endtime() const {
return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void C2S::set_has_endtime() {
_has_bits_[0] |= 0x00000002u;
}
inline void C2S::clear_has_endtime() {
_has_bits_[0] &= ~0x00000002u;
}
inline void C2S::clear_endtime() {
endtime_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
clear_has_endtime();
}
inline const ::std::string& C2S::endtime() const {
// @@protoc_insertion_point(field_get:Qot_GetCapitalFlow.C2S.endTime)
return endtime_.GetNoArena();
}
inline void C2S::set_endtime(const ::std::string& value) {
set_has_endtime();
endtime_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:Qot_GetCapitalFlow.C2S.endTime)
}
#if LANG_CXX11
inline void C2S::set_endtime(::std::string&& value) {
set_has_endtime();
endtime_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:Qot_GetCapitalFlow.C2S.endTime)
}
#endif
inline void C2S::set_endtime(const char* value) {
GOOGLE_DCHECK(value != NULL);
set_has_endtime();
endtime_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:Qot_GetCapitalFlow.C2S.endTime)
}
inline void C2S::set_endtime(const char* value, size_t size) {
set_has_endtime();
endtime_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:Qot_GetCapitalFlow.C2S.endTime)
}
inline ::std::string* C2S::mutable_endtime() {
set_has_endtime();
// @@protoc_insertion_point(field_mutable:Qot_GetCapitalFlow.C2S.endTime)
return endtime_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* C2S::release_endtime() {
// @@protoc_insertion_point(field_release:Qot_GetCapitalFlow.C2S.endTime)
clear_has_endtime();
return endtime_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void C2S::set_allocated_endtime(::std::string* endtime) {
if (endtime != NULL) {
set_has_endtime();
} else {
clear_has_endtime();
}
endtime_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), endtime);
// @@protoc_insertion_point(field_set_allocated:Qot_GetCapitalFlow.C2S.endTime)
}
// -------------------------------------------------------------------
// CapitalFlowItem
// required double inFlow = 1;
inline bool CapitalFlowItem::has_inflow() const {
return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void CapitalFlowItem::set_has_inflow() {
_has_bits_[0] |= 0x00000002u;
}
inline void CapitalFlowItem::clear_has_inflow() {
_has_bits_[0] &= ~0x00000002u;
}
inline void CapitalFlowItem::clear_inflow() {
inflow_ = 0;
clear_has_inflow();
}
inline double CapitalFlowItem::inflow() const {
// @@protoc_insertion_point(field_get:Qot_GetCapitalFlow.CapitalFlowItem.inFlow)
return inflow_;
}
inline void CapitalFlowItem::set_inflow(double value) {
set_has_inflow();
inflow_ = value;
// @@protoc_insertion_point(field_set:Qot_GetCapitalFlow.CapitalFlowItem.inFlow)
}
// optional string time = 2;
inline bool CapitalFlowItem::has_time() const {
return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void CapitalFlowItem::set_has_time() {
_has_bits_[0] |= 0x00000001u;
}
inline void CapitalFlowItem::clear_has_time() {
_has_bits_[0] &= ~0x00000001u;
}
inline void CapitalFlowItem::clear_time() {
time_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
clear_has_time();
}
inline const ::std::string& CapitalFlowItem::time() const {
// @@protoc_insertion_point(field_get:Qot_GetCapitalFlow.CapitalFlowItem.time)
return time_.GetNoArena();
}
inline void CapitalFlowItem::set_time(const ::std::string& value) {
set_has_time();
time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:Qot_GetCapitalFlow.CapitalFlowItem.time)
}
#if LANG_CXX11
inline void CapitalFlowItem::set_time(::std::string&& value) {
set_has_time();
time_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:Qot_GetCapitalFlow.CapitalFlowItem.time)
}
#endif
inline void CapitalFlowItem::set_time(const char* value) {
GOOGLE_DCHECK(value != NULL);
set_has_time();
time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:Qot_GetCapitalFlow.CapitalFlowItem.time)
}
inline void CapitalFlowItem::set_time(const char* value, size_t size) {
set_has_time();
time_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:Qot_GetCapitalFlow.CapitalFlowItem.time)
}
inline ::std::string* CapitalFlowItem::mutable_time() {
set_has_time();
// @@protoc_insertion_point(field_mutable:Qot_GetCapitalFlow.CapitalFlowItem.time)
return time_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* CapitalFlowItem::release_time() {
// @@protoc_insertion_point(field_release:Qot_GetCapitalFlow.CapitalFlowItem.time)
clear_has_time();
return time_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void CapitalFlowItem::set_allocated_time(::std::string* time) {
if (time != NULL) {
set_has_time();
} else {
clear_has_time();
}
time_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), time);
// @@protoc_insertion_point(field_set_allocated:Qot_GetCapitalFlow.CapitalFlowItem.time)
}
// optional double timestamp = 3;
inline bool CapitalFlowItem::has_timestamp() const {
return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void CapitalFlowItem::set_has_timestamp() {
_has_bits_[0] |= 0x00000004u;
}
inline void CapitalFlowItem::clear_has_timestamp() {
_has_bits_[0] &= ~0x00000004u;
}
inline void CapitalFlowItem::clear_timestamp() {
timestamp_ = 0;
clear_has_timestamp();
}
inline double CapitalFlowItem::timestamp() const {
// @@protoc_insertion_point(field_get:Qot_GetCapitalFlow.CapitalFlowItem.timestamp)
return timestamp_;
}
inline void CapitalFlowItem::set_timestamp(double value) {
set_has_timestamp();
timestamp_ = value;
// @@protoc_insertion_point(field_set:Qot_GetCapitalFlow.CapitalFlowItem.timestamp)
}
// optional double mainInFlow = 4;
inline bool CapitalFlowItem::has_maininflow() const {
return (_has_bits_[0] & 0x00000008u) != 0;
}
inline void CapitalFlowItem::set_has_maininflow() {
_has_bits_[0] |= 0x00000008u;
}
inline void CapitalFlowItem::clear_has_maininflow() {
_has_bits_[0] &= ~0x00000008u;
}
inline void CapitalFlowItem::clear_maininflow() {
maininflow_ = 0;
clear_has_maininflow();
}
inline double CapitalFlowItem::maininflow() const {
// @@protoc_insertion_point(field_get:Qot_GetCapitalFlow.CapitalFlowItem.mainInFlow)
return maininflow_;
}
inline void CapitalFlowItem::set_maininflow(double value) {
set_has_maininflow();
maininflow_ = value;
// @@protoc_insertion_point(field_set:Qot_GetCapitalFlow.CapitalFlowItem.mainInFlow)
}
// optional double superInFlow = 5;
inline bool CapitalFlowItem::has_superinflow() const {
return (_has_bits_[0] & 0x00000010u) != 0;
}
inline void CapitalFlowItem::set_has_superinflow() {
_has_bits_[0] |= 0x00000010u;
}
inline void CapitalFlowItem::clear_has_superinflow() {
_has_bits_[0] &= ~0x00000010u;
}
inline void CapitalFlowItem::clear_superinflow() {
superinflow_ = 0;
clear_has_superinflow();
}
inline double CapitalFlowItem::superinflow() const {
// @@protoc_insertion_point(field_get:Qot_GetCapitalFlow.CapitalFlowItem.superInFlow)
return superinflow_;
}
inline void CapitalFlowItem::set_superinflow(double value) {
set_has_superinflow();
superinflow_ = value;
// @@protoc_insertion_point(field_set:Qot_GetCapitalFlow.CapitalFlowItem.superInFlow)
}
// optional double bigInFlow = 6;
inline bool CapitalFlowItem::has_biginflow() const {
return (_has_bits_[0] & 0x00000020u) != 0;
}
inline void CapitalFlowItem::set_has_biginflow() {
_has_bits_[0] |= 0x00000020u;
}
inline void CapitalFlowItem::clear_has_biginflow() {
_has_bits_[0] &= ~0x00000020u;
}
inline void CapitalFlowItem::clear_biginflow() {
biginflow_ = 0;
clear_has_biginflow();
}
inline double CapitalFlowItem::biginflow() const {
// @@protoc_insertion_point(field_get:Qot_GetCapitalFlow.CapitalFlowItem.bigInFlow)
return biginflow_;
}
inline void CapitalFlowItem::set_biginflow(double value) {
set_has_biginflow();
biginflow_ = value;
// @@protoc_insertion_point(field_set:Qot_GetCapitalFlow.CapitalFlowItem.bigInFlow)
}
// optional double midInFlow = 7;
inline bool CapitalFlowItem::has_midinflow() const {
return (_has_bits_[0] & 0x00000040u) != 0;
}
inline void CapitalFlowItem::set_has_midinflow() {
_has_bits_[0] |= 0x00000040u;
}
inline void CapitalFlowItem::clear_has_midinflow() {
_has_bits_[0] &= ~0x00000040u;
}
inline void CapitalFlowItem::clear_midinflow() {
midinflow_ = 0;
clear_has_midinflow();
}
inline double CapitalFlowItem::midinflow() const {
// @@protoc_insertion_point(field_get:Qot_GetCapitalFlow.CapitalFlowItem.midInFlow)
return midinflow_;
}
inline void CapitalFlowItem::set_midinflow(double value) {
set_has_midinflow();
midinflow_ = value;
// @@protoc_insertion_point(field_set:Qot_GetCapitalFlow.CapitalFlowItem.midInFlow)
}
// optional double smlInFlow = 8;
inline bool CapitalFlowItem::has_smlinflow() const {
return (_has_bits_[0] & 0x00000080u) != 0;
}
inline void CapitalFlowItem::set_has_smlinflow() {
_has_bits_[0] |= 0x00000080u;
}
inline void CapitalFlowItem::clear_has_smlinflow() {
_has_bits_[0] &= ~0x00000080u;
}
inline void CapitalFlowItem::clear_smlinflow() {
smlinflow_ = 0;
clear_has_smlinflow();
}
inline double CapitalFlowItem::smlinflow() const {
// @@protoc_insertion_point(field_get:Qot_GetCapitalFlow.CapitalFlowItem.smlInFlow)
return smlinflow_;
}
inline void CapitalFlowItem::set_smlinflow(double value) {
set_has_smlinflow();
smlinflow_ = value;
// @@protoc_insertion_point(field_set:Qot_GetCapitalFlow.CapitalFlowItem.smlInFlow)
}
// -------------------------------------------------------------------
// S2C
// repeated .Qot_GetCapitalFlow.CapitalFlowItem flowItemList = 1;
inline int S2C::flowitemlist_size() const {
return flowitemlist_.size();
}
inline void S2C::clear_flowitemlist() {
flowitemlist_.Clear();
}
inline const ::Qot_GetCapitalFlow::CapitalFlowItem& S2C::flowitemlist(int index) const {
// @@protoc_insertion_point(field_get:Qot_GetCapitalFlow.S2C.flowItemList)
return flowitemlist_.Get(index);
}
inline ::Qot_GetCapitalFlow::CapitalFlowItem* S2C::mutable_flowitemlist(int index) {
// @@protoc_insertion_point(field_mutable:Qot_GetCapitalFlow.S2C.flowItemList)
return flowitemlist_.Mutable(index);
}
inline ::Qot_GetCapitalFlow::CapitalFlowItem* S2C::add_flowitemlist() {
// @@protoc_insertion_point(field_add:Qot_GetCapitalFlow.S2C.flowItemList)
return flowitemlist_.Add();
}
inline ::google::protobuf::RepeatedPtrField< ::Qot_GetCapitalFlow::CapitalFlowItem >*
S2C::mutable_flowitemlist() {
// @@protoc_insertion_point(field_mutable_list:Qot_GetCapitalFlow.S2C.flowItemList)
return &flowitemlist_;
}
inline const ::google::protobuf::RepeatedPtrField< ::Qot_GetCapitalFlow::CapitalFlowItem >&
S2C::flowitemlist() const {
// @@protoc_insertion_point(field_list:Qot_GetCapitalFlow.S2C.flowItemList)
return flowitemlist_;
}
// optional string lastValidTime = 2;
inline bool S2C::has_lastvalidtime() const {
return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void S2C::set_has_lastvalidtime() {
_has_bits_[0] |= 0x00000001u;
}
inline void S2C::clear_has_lastvalidtime() {
_has_bits_[0] &= ~0x00000001u;
}
inline void S2C::clear_lastvalidtime() {
lastvalidtime_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
clear_has_lastvalidtime();
}
inline const ::std::string& S2C::lastvalidtime() const {
// @@protoc_insertion_point(field_get:Qot_GetCapitalFlow.S2C.lastValidTime)
return lastvalidtime_.GetNoArena();
}
inline void S2C::set_lastvalidtime(const ::std::string& value) {
set_has_lastvalidtime();
lastvalidtime_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:Qot_GetCapitalFlow.S2C.lastValidTime)
}
#if LANG_CXX11
inline void S2C::set_lastvalidtime(::std::string&& value) {
set_has_lastvalidtime();
lastvalidtime_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:Qot_GetCapitalFlow.S2C.lastValidTime)
}
#endif
inline void S2C::set_lastvalidtime(const char* value) {
GOOGLE_DCHECK(value != NULL);
set_has_lastvalidtime();
lastvalidtime_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:Qot_GetCapitalFlow.S2C.lastValidTime)
}
inline void S2C::set_lastvalidtime(const char* value, size_t size) {
set_has_lastvalidtime();
lastvalidtime_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:Qot_GetCapitalFlow.S2C.lastValidTime)
}
inline ::std::string* S2C::mutable_lastvalidtime() {
set_has_lastvalidtime();
// @@protoc_insertion_point(field_mutable:Qot_GetCapitalFlow.S2C.lastValidTime)
return lastvalidtime_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* S2C::release_lastvalidtime() {
// @@protoc_insertion_point(field_release:Qot_GetCapitalFlow.S2C.lastValidTime)
clear_has_lastvalidtime();
return lastvalidtime_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void S2C::set_allocated_lastvalidtime(::std::string* lastvalidtime) {
if (lastvalidtime != NULL) {
set_has_lastvalidtime();
} else {
clear_has_lastvalidtime();
}
lastvalidtime_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), lastvalidtime);
// @@protoc_insertion_point(field_set_allocated:Qot_GetCapitalFlow.S2C.lastValidTime)
}
// optional double lastValidTimestamp = 3;
inline bool S2C::has_lastvalidtimestamp() const {
return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void S2C::set_has_lastvalidtimestamp() {
_has_bits_[0] |= 0x00000002u;
}
inline void S2C::clear_has_lastvalidtimestamp() {
_has_bits_[0] &= ~0x00000002u;
}
inline void S2C::clear_lastvalidtimestamp() {
lastvalidtimestamp_ = 0;
clear_has_lastvalidtimestamp();
}
inline double S2C::lastvalidtimestamp() const {
// @@protoc_insertion_point(field_get:Qot_GetCapitalFlow.S2C.lastValidTimestamp)
return lastvalidtimestamp_;
}
inline void S2C::set_lastvalidtimestamp(double value) {
set_has_lastvalidtimestamp();
lastvalidtimestamp_ = value;
// @@protoc_insertion_point(field_set:Qot_GetCapitalFlow.S2C.lastValidTimestamp)
}
// -------------------------------------------------------------------
// Request
// required .Qot_GetCapitalFlow.C2S c2s = 1;
inline bool Request::has_c2s() const {
return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void Request::set_has_c2s() {
_has_bits_[0] |= 0x00000001u;
}
inline void Request::clear_has_c2s() {
_has_bits_[0] &= ~0x00000001u;
}
inline void Request::clear_c2s() {
if (c2s_ != NULL) c2s_->Clear();
clear_has_c2s();
}
inline const ::Qot_GetCapitalFlow::C2S& Request::c2s() const {
const ::Qot_GetCapitalFlow::C2S* p = c2s_;
// @@protoc_insertion_point(field_get:Qot_GetCapitalFlow.Request.c2s)
return p != NULL ? *p : *reinterpret_cast<const ::Qot_GetCapitalFlow::C2S*>(
&::Qot_GetCapitalFlow::_C2S_default_instance_);
}
inline ::Qot_GetCapitalFlow::C2S* Request::release_c2s() {
// @@protoc_insertion_point(field_release:Qot_GetCapitalFlow.Request.c2s)
clear_has_c2s();
::Qot_GetCapitalFlow::C2S* temp = c2s_;
c2s_ = NULL;
return temp;
}
inline ::Qot_GetCapitalFlow::C2S* Request::mutable_c2s() {
set_has_c2s();
if (c2s_ == NULL) {
c2s_ = new ::Qot_GetCapitalFlow::C2S;
}
// @@protoc_insertion_point(field_mutable:Qot_GetCapitalFlow.Request.c2s)
return c2s_;
}
inline void Request::set_allocated_c2s(::Qot_GetCapitalFlow::C2S* c2s) {
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
if (message_arena == NULL) {
delete c2s_;
}
if (c2s) {
::google::protobuf::Arena* submessage_arena = NULL;
if (message_arena != submessage_arena) {
c2s = ::google::protobuf::internal::GetOwnedMessage(
message_arena, c2s, submessage_arena);
}
set_has_c2s();
} else {
clear_has_c2s();
}
c2s_ = c2s;
// @@protoc_insertion_point(field_set_allocated:Qot_GetCapitalFlow.Request.c2s)
}
// -------------------------------------------------------------------
// Response
// required int32 retType = 1 [default = -400];
inline bool Response::has_rettype() const {
return (_has_bits_[0] & 0x00000008u) != 0;
}
inline void Response::set_has_rettype() {
_has_bits_[0] |= 0x00000008u;
}
inline void Response::clear_has_rettype() {
_has_bits_[0] &= ~0x00000008u;
}
inline void Response::clear_rettype() {
rettype_ = -400;
clear_has_rettype();
}
inline ::google::protobuf::int32 Response::rettype() const {
// @@protoc_insertion_point(field_get:Qot_GetCapitalFlow.Response.retType)
return rettype_;
}
inline void Response::set_rettype(::google::protobuf::int32 value) {
set_has_rettype();
rettype_ = value;
// @@protoc_insertion_point(field_set:Qot_GetCapitalFlow.Response.retType)
}
// optional string retMsg = 2;
inline bool Response::has_retmsg() const {
return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void Response::set_has_retmsg() {
_has_bits_[0] |= 0x00000001u;
}
inline void Response::clear_has_retmsg() {
_has_bits_[0] &= ~0x00000001u;
}
inline void Response::clear_retmsg() {
retmsg_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
clear_has_retmsg();
}
inline const ::std::string& Response::retmsg() const {
// @@protoc_insertion_point(field_get:Qot_GetCapitalFlow.Response.retMsg)
return retmsg_.GetNoArena();
}
inline void Response::set_retmsg(const ::std::string& value) {
set_has_retmsg();
retmsg_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:Qot_GetCapitalFlow.Response.retMsg)
}
#if LANG_CXX11
inline void Response::set_retmsg(::std::string&& value) {
set_has_retmsg();
retmsg_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:Qot_GetCapitalFlow.Response.retMsg)
}
#endif
inline void Response::set_retmsg(const char* value) {
GOOGLE_DCHECK(value != NULL);
set_has_retmsg();
retmsg_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:Qot_GetCapitalFlow.Response.retMsg)
}
inline void Response::set_retmsg(const char* value, size_t size) {
set_has_retmsg();
retmsg_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:Qot_GetCapitalFlow.Response.retMsg)
}
inline ::std::string* Response::mutable_retmsg() {
set_has_retmsg();
// @@protoc_insertion_point(field_mutable:Qot_GetCapitalFlow.Response.retMsg)
return retmsg_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* Response::release_retmsg() {
// @@protoc_insertion_point(field_release:Qot_GetCapitalFlow.Response.retMsg)
clear_has_retmsg();
return retmsg_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void Response::set_allocated_retmsg(::std::string* retmsg) {
if (retmsg != NULL) {
set_has_retmsg();
} else {
clear_has_retmsg();
}
retmsg_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), retmsg);
// @@protoc_insertion_point(field_set_allocated:Qot_GetCapitalFlow.Response.retMsg)
}
// optional int32 errCode = 3;
inline bool Response::has_errcode() const {
return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void Response::set_has_errcode() {
_has_bits_[0] |= 0x00000004u;
}
inline void Response::clear_has_errcode() {
_has_bits_[0] &= ~0x00000004u;
}
inline void Response::clear_errcode() {
errcode_ = 0;
clear_has_errcode();
}
inline ::google::protobuf::int32 Response::errcode() const {
// @@protoc_insertion_point(field_get:Qot_GetCapitalFlow.Response.errCode)
return errcode_;
}
inline void Response::set_errcode(::google::protobuf::int32 value) {
set_has_errcode();
errcode_ = value;
// @@protoc_insertion_point(field_set:Qot_GetCapitalFlow.Response.errCode)
}
// optional .Qot_GetCapitalFlow.S2C s2c = 4;
inline bool Response::has_s2c() const {
return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void Response::set_has_s2c() {
_has_bits_[0] |= 0x00000002u;
}
inline void Response::clear_has_s2c() {
_has_bits_[0] &= ~0x00000002u;
}
inline void Response::clear_s2c() {
if (s2c_ != NULL) s2c_->Clear();
clear_has_s2c();
}
inline const ::Qot_GetCapitalFlow::S2C& Response::s2c() const {
const ::Qot_GetCapitalFlow::S2C* p = s2c_;
// @@protoc_insertion_point(field_get:Qot_GetCapitalFlow.Response.s2c)
return p != NULL ? *p : *reinterpret_cast<const ::Qot_GetCapitalFlow::S2C*>(
&::Qot_GetCapitalFlow::_S2C_default_instance_);
}
inline ::Qot_GetCapitalFlow::S2C* Response::release_s2c() {
// @@protoc_insertion_point(field_release:Qot_GetCapitalFlow.Response.s2c)
clear_has_s2c();
::Qot_GetCapitalFlow::S2C* temp = s2c_;
s2c_ = NULL;
return temp;
}
inline ::Qot_GetCapitalFlow::S2C* Response::mutable_s2c() {
set_has_s2c();
if (s2c_ == NULL) {
s2c_ = new ::Qot_GetCapitalFlow::S2C;
}
// @@protoc_insertion_point(field_mutable:Qot_GetCapitalFlow.Response.s2c)
return s2c_;
}
inline void Response::set_allocated_s2c(::Qot_GetCapitalFlow::S2C* s2c) {
::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
if (message_arena == NULL) {
delete s2c_;
}
if (s2c) {
::google::protobuf::Arena* submessage_arena = NULL;
if (message_arena != submessage_arena) {
s2c = ::google::protobuf::internal::GetOwnedMessage(
message_arena, s2c, submessage_arena);
}
set_has_s2c();
} else {
clear_has_s2c();
}
s2c_ = s2c;
// @@protoc_insertion_point(field_set_allocated:Qot_GetCapitalFlow.Response.s2c)
}
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif // __GNUC__
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// @@protoc_insertion_point(namespace_scope)
} // namespace Qot_GetCapitalFlow
// @@protoc_insertion_point(global_scope)
#endif // PROTOBUF_Qot_5fGetCapitalFlow_2eproto__INCLUDED