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

2332 lines
82 KiB
C++

// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: GetDelayStatistics.proto
#ifndef PROTOBUF_GetDelayStatistics_2eproto__INCLUDED
#define PROTOBUF_GetDelayStatistics_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/generated_enum_reflection.h>
#include <google/protobuf/unknown_field_set.h>
#include "Common.pb.h"
// @@protoc_insertion_point(includes)
namespace protobuf_GetDelayStatistics_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[8];
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 InitDefaultsDelayStatisticsItemImpl();
void InitDefaultsDelayStatisticsItem();
void InitDefaultsDelayStatisticsImpl();
void InitDefaultsDelayStatistics();
void InitDefaultsReqReplyStatisticsItemImpl();
void InitDefaultsReqReplyStatisticsItem();
void InitDefaultsPlaceOrderStatisticsItemImpl();
void InitDefaultsPlaceOrderStatisticsItem();
void InitDefaultsS2CImpl();
void InitDefaultsS2C();
void InitDefaultsRequestImpl();
void InitDefaultsRequest();
void InitDefaultsResponseImpl();
void InitDefaultsResponse();
inline void InitDefaults() {
InitDefaultsC2S();
InitDefaultsDelayStatisticsItem();
InitDefaultsDelayStatistics();
InitDefaultsReqReplyStatisticsItem();
InitDefaultsPlaceOrderStatisticsItem();
InitDefaultsS2C();
InitDefaultsRequest();
InitDefaultsResponse();
}
} // namespace protobuf_GetDelayStatistics_2eproto
namespace GetDelayStatistics {
class C2S;
class C2SDefaultTypeInternal;
extern C2SDefaultTypeInternal _C2S_default_instance_;
class DelayStatistics;
class DelayStatisticsDefaultTypeInternal;
extern DelayStatisticsDefaultTypeInternal _DelayStatistics_default_instance_;
class DelayStatisticsItem;
class DelayStatisticsItemDefaultTypeInternal;
extern DelayStatisticsItemDefaultTypeInternal _DelayStatisticsItem_default_instance_;
class PlaceOrderStatisticsItem;
class PlaceOrderStatisticsItemDefaultTypeInternal;
extern PlaceOrderStatisticsItemDefaultTypeInternal _PlaceOrderStatisticsItem_default_instance_;
class ReqReplyStatisticsItem;
class ReqReplyStatisticsItemDefaultTypeInternal;
extern ReqReplyStatisticsItemDefaultTypeInternal _ReqReplyStatisticsItem_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 GetDelayStatistics
namespace GetDelayStatistics {
enum DelayStatisticsType {
DelayStatisticsType_Unkonw = 0,
DelayStatisticsType_QotPush = 1,
DelayStatisticsType_ReqReply = 2,
DelayStatisticsType_PlaceOrder = 3
};
bool DelayStatisticsType_IsValid(int value);
const DelayStatisticsType DelayStatisticsType_MIN = DelayStatisticsType_Unkonw;
const DelayStatisticsType DelayStatisticsType_MAX = DelayStatisticsType_PlaceOrder;
const int DelayStatisticsType_ARRAYSIZE = DelayStatisticsType_MAX + 1;
const ::google::protobuf::EnumDescriptor* DelayStatisticsType_descriptor();
inline const ::std::string& DelayStatisticsType_Name(DelayStatisticsType value) {
return ::google::protobuf::internal::NameOfEnum(
DelayStatisticsType_descriptor(), value);
}
inline bool DelayStatisticsType_Parse(
const ::std::string& name, DelayStatisticsType* value) {
return ::google::protobuf::internal::ParseNamedEnum<DelayStatisticsType>(
DelayStatisticsType_descriptor(), name, value);
}
enum QotPushStage {
QotPushStage_Unkonw = 0,
QotPushStage_SR2SS = 1,
QotPushStage_SS2CR = 2,
QotPushStage_CR2CS = 3,
QotPushStage_SS2CS = 4,
QotPushStage_SR2CS = 5
};
bool QotPushStage_IsValid(int value);
const QotPushStage QotPushStage_MIN = QotPushStage_Unkonw;
const QotPushStage QotPushStage_MAX = QotPushStage_SR2CS;
const int QotPushStage_ARRAYSIZE = QotPushStage_MAX + 1;
const ::google::protobuf::EnumDescriptor* QotPushStage_descriptor();
inline const ::std::string& QotPushStage_Name(QotPushStage value) {
return ::google::protobuf::internal::NameOfEnum(
QotPushStage_descriptor(), value);
}
inline bool QotPushStage_Parse(
const ::std::string& name, QotPushStage* value) {
return ::google::protobuf::internal::ParseNamedEnum<QotPushStage>(
QotPushStage_descriptor(), name, value);
}
enum QotPushType {
QotPushType_Unkonw = 0,
QotPushType_Price = 1,
QotPushType_Ticker = 2,
QotPushType_OrderBook = 3,
QotPushType_Broker = 4
};
bool QotPushType_IsValid(int value);
const QotPushType QotPushType_MIN = QotPushType_Unkonw;
const QotPushType QotPushType_MAX = QotPushType_Broker;
const int QotPushType_ARRAYSIZE = QotPushType_MAX + 1;
const ::google::protobuf::EnumDescriptor* QotPushType_descriptor();
inline const ::std::string& QotPushType_Name(QotPushType value) {
return ::google::protobuf::internal::NameOfEnum(
QotPushType_descriptor(), value);
}
inline bool QotPushType_Parse(
const ::std::string& name, QotPushType* value) {
return ::google::protobuf::internal::ParseNamedEnum<QotPushType>(
QotPushType_descriptor(), name, value);
}
// ===================================================================
class C2S : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:GetDelayStatistics.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 -------------------------------------------------------
// repeated int32 typeList = 1;
int typelist_size() const;
void clear_typelist();
static const int kTypeListFieldNumber = 1;
::google::protobuf::int32 typelist(int index) const;
void set_typelist(int index, ::google::protobuf::int32 value);
void add_typelist(::google::protobuf::int32 value);
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
typelist() const;
::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
mutable_typelist();
// repeated int32 segmentList = 3;
int segmentlist_size() const;
void clear_segmentlist();
static const int kSegmentListFieldNumber = 3;
::google::protobuf::int32 segmentlist(int index) const;
void set_segmentlist(int index, ::google::protobuf::int32 value);
void add_segmentlist(::google::protobuf::int32 value);
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
segmentlist() const;
::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
mutable_segmentlist();
// optional int32 qotPushStage = 2;
bool has_qotpushstage() const;
void clear_qotpushstage();
static const int kQotPushStageFieldNumber = 2;
::google::protobuf::int32 qotpushstage() const;
void set_qotpushstage(::google::protobuf::int32 value);
// @@protoc_insertion_point(class_scope:GetDelayStatistics.C2S)
private:
void set_has_qotpushstage();
void clear_has_qotpushstage();
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
::google::protobuf::internal::HasBits<1> _has_bits_;
mutable int _cached_size_;
::google::protobuf::RepeatedField< ::google::protobuf::int32 > typelist_;
::google::protobuf::RepeatedField< ::google::protobuf::int32 > segmentlist_;
::google::protobuf::int32 qotpushstage_;
friend struct ::protobuf_GetDelayStatistics_2eproto::TableStruct;
friend void ::protobuf_GetDelayStatistics_2eproto::InitDefaultsC2SImpl();
};
// -------------------------------------------------------------------
class DelayStatisticsItem : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:GetDelayStatistics.DelayStatisticsItem) */ {
public:
DelayStatisticsItem();
virtual ~DelayStatisticsItem();
DelayStatisticsItem(const DelayStatisticsItem& from);
inline DelayStatisticsItem& operator=(const DelayStatisticsItem& from) {
CopyFrom(from);
return *this;
}
#if LANG_CXX11
DelayStatisticsItem(DelayStatisticsItem&& from) noexcept
: DelayStatisticsItem() {
*this = ::std::move(from);
}
inline DelayStatisticsItem& operator=(DelayStatisticsItem&& 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 DelayStatisticsItem& default_instance();
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
static inline const DelayStatisticsItem* internal_default_instance() {
return reinterpret_cast<const DelayStatisticsItem*>(
&_DelayStatisticsItem_default_instance_);
}
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1;
void Swap(DelayStatisticsItem* other);
friend void swap(DelayStatisticsItem& a, DelayStatisticsItem& b) {
a.Swap(&b);
}
// implements Message ----------------------------------------------
inline DelayStatisticsItem* New() const PROTOBUF_FINAL { return New(NULL); }
DelayStatisticsItem* 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 DelayStatisticsItem& from);
void MergeFrom(const DelayStatisticsItem& 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(DelayStatisticsItem* 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 int32 begin = 1;
bool has_begin() const;
void clear_begin();
static const int kBeginFieldNumber = 1;
::google::protobuf::int32 begin() const;
void set_begin(::google::protobuf::int32 value);
// required int32 end = 2;
bool has_end() const;
void clear_end();
static const int kEndFieldNumber = 2;
::google::protobuf::int32 end() const;
void set_end(::google::protobuf::int32 value);
// required int32 count = 3;
bool has_count() const;
void clear_count();
static const int kCountFieldNumber = 3;
::google::protobuf::int32 count() const;
void set_count(::google::protobuf::int32 value);
// required float proportion = 4;
bool has_proportion() const;
void clear_proportion();
static const int kProportionFieldNumber = 4;
float proportion() const;
void set_proportion(float value);
// required float cumulativeRatio = 5;
bool has_cumulativeratio() const;
void clear_cumulativeratio();
static const int kCumulativeRatioFieldNumber = 5;
float cumulativeratio() const;
void set_cumulativeratio(float value);
// @@protoc_insertion_point(class_scope:GetDelayStatistics.DelayStatisticsItem)
private:
void set_has_begin();
void clear_has_begin();
void set_has_end();
void clear_has_end();
void set_has_count();
void clear_has_count();
void set_has_proportion();
void clear_has_proportion();
void set_has_cumulativeratio();
void clear_has_cumulativeratio();
// helper for ByteSizeLong()
size_t RequiredFieldsByteSizeFallback() const;
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
::google::protobuf::internal::HasBits<1> _has_bits_;
mutable int _cached_size_;
::google::protobuf::int32 begin_;
::google::protobuf::int32 end_;
::google::protobuf::int32 count_;
float proportion_;
float cumulativeratio_;
friend struct ::protobuf_GetDelayStatistics_2eproto::TableStruct;
friend void ::protobuf_GetDelayStatistics_2eproto::InitDefaultsDelayStatisticsItemImpl();
};
// -------------------------------------------------------------------
class DelayStatistics : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:GetDelayStatistics.DelayStatistics) */ {
public:
DelayStatistics();
virtual ~DelayStatistics();
DelayStatistics(const DelayStatistics& from);
inline DelayStatistics& operator=(const DelayStatistics& from) {
CopyFrom(from);
return *this;
}
#if LANG_CXX11
DelayStatistics(DelayStatistics&& from) noexcept
: DelayStatistics() {
*this = ::std::move(from);
}
inline DelayStatistics& operator=(DelayStatistics&& 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 DelayStatistics& default_instance();
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
static inline const DelayStatistics* internal_default_instance() {
return reinterpret_cast<const DelayStatistics*>(
&_DelayStatistics_default_instance_);
}
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2;
void Swap(DelayStatistics* other);
friend void swap(DelayStatistics& a, DelayStatistics& b) {
a.Swap(&b);
}
// implements Message ----------------------------------------------
inline DelayStatistics* New() const PROTOBUF_FINAL { return New(NULL); }
DelayStatistics* 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 DelayStatistics& from);
void MergeFrom(const DelayStatistics& 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(DelayStatistics* 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 .GetDelayStatistics.DelayStatisticsItem itemList = 2;
int itemlist_size() const;
void clear_itemlist();
static const int kItemListFieldNumber = 2;
const ::GetDelayStatistics::DelayStatisticsItem& itemlist(int index) const;
::GetDelayStatistics::DelayStatisticsItem* mutable_itemlist(int index);
::GetDelayStatistics::DelayStatisticsItem* add_itemlist();
::google::protobuf::RepeatedPtrField< ::GetDelayStatistics::DelayStatisticsItem >*
mutable_itemlist();
const ::google::protobuf::RepeatedPtrField< ::GetDelayStatistics::DelayStatisticsItem >&
itemlist() const;
// required int32 qotPushType = 1;
bool has_qotpushtype() const;
void clear_qotpushtype();
static const int kQotPushTypeFieldNumber = 1;
::google::protobuf::int32 qotpushtype() const;
void set_qotpushtype(::google::protobuf::int32 value);
// required float delayAvg = 3;
bool has_delayavg() const;
void clear_delayavg();
static const int kDelayAvgFieldNumber = 3;
float delayavg() const;
void set_delayavg(float value);
// required int32 count = 4;
bool has_count() const;
void clear_count();
static const int kCountFieldNumber = 4;
::google::protobuf::int32 count() const;
void set_count(::google::protobuf::int32 value);
// @@protoc_insertion_point(class_scope:GetDelayStatistics.DelayStatistics)
private:
void set_has_qotpushtype();
void clear_has_qotpushtype();
void set_has_delayavg();
void clear_has_delayavg();
void set_has_count();
void clear_has_count();
// helper for ByteSizeLong()
size_t RequiredFieldsByteSizeFallback() const;
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
::google::protobuf::internal::HasBits<1> _has_bits_;
mutable int _cached_size_;
::google::protobuf::RepeatedPtrField< ::GetDelayStatistics::DelayStatisticsItem > itemlist_;
::google::protobuf::int32 qotpushtype_;
float delayavg_;
::google::protobuf::int32 count_;
friend struct ::protobuf_GetDelayStatistics_2eproto::TableStruct;
friend void ::protobuf_GetDelayStatistics_2eproto::InitDefaultsDelayStatisticsImpl();
};
// -------------------------------------------------------------------
class ReqReplyStatisticsItem : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:GetDelayStatistics.ReqReplyStatisticsItem) */ {
public:
ReqReplyStatisticsItem();
virtual ~ReqReplyStatisticsItem();
ReqReplyStatisticsItem(const ReqReplyStatisticsItem& from);
inline ReqReplyStatisticsItem& operator=(const ReqReplyStatisticsItem& from) {
CopyFrom(from);
return *this;
}
#if LANG_CXX11
ReqReplyStatisticsItem(ReqReplyStatisticsItem&& from) noexcept
: ReqReplyStatisticsItem() {
*this = ::std::move(from);
}
inline ReqReplyStatisticsItem& operator=(ReqReplyStatisticsItem&& 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 ReqReplyStatisticsItem& default_instance();
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
static inline const ReqReplyStatisticsItem* internal_default_instance() {
return reinterpret_cast<const ReqReplyStatisticsItem*>(
&_ReqReplyStatisticsItem_default_instance_);
}
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
3;
void Swap(ReqReplyStatisticsItem* other);
friend void swap(ReqReplyStatisticsItem& a, ReqReplyStatisticsItem& b) {
a.Swap(&b);
}
// implements Message ----------------------------------------------
inline ReqReplyStatisticsItem* New() const PROTOBUF_FINAL { return New(NULL); }
ReqReplyStatisticsItem* 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 ReqReplyStatisticsItem& from);
void MergeFrom(const ReqReplyStatisticsItem& 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(ReqReplyStatisticsItem* 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 int32 protoID = 1;
bool has_protoid() const;
void clear_protoid();
static const int kProtoIDFieldNumber = 1;
::google::protobuf::int32 protoid() const;
void set_protoid(::google::protobuf::int32 value);
// required int32 count = 2;
bool has_count() const;
void clear_count();
static const int kCountFieldNumber = 2;
::google::protobuf::int32 count() const;
void set_count(::google::protobuf::int32 value);
// required float totalCostAvg = 3;
bool has_totalcostavg() const;
void clear_totalcostavg();
static const int kTotalCostAvgFieldNumber = 3;
float totalcostavg() const;
void set_totalcostavg(float value);
// required float openDCostAvg = 4;
bool has_opendcostavg() const;
void clear_opendcostavg();
static const int kOpenDCostAvgFieldNumber = 4;
float opendcostavg() const;
void set_opendcostavg(float value);
// required float netDelayAvg = 5;
bool has_netdelayavg() const;
void clear_netdelayavg();
static const int kNetDelayAvgFieldNumber = 5;
float netdelayavg() const;
void set_netdelayavg(float value);
// required bool isLocalReply = 6;
bool has_islocalreply() const;
void clear_islocalreply();
static const int kIsLocalReplyFieldNumber = 6;
bool islocalreply() const;
void set_islocalreply(bool value);
// @@protoc_insertion_point(class_scope:GetDelayStatistics.ReqReplyStatisticsItem)
private:
void set_has_protoid();
void clear_has_protoid();
void set_has_count();
void clear_has_count();
void set_has_totalcostavg();
void clear_has_totalcostavg();
void set_has_opendcostavg();
void clear_has_opendcostavg();
void set_has_netdelayavg();
void clear_has_netdelayavg();
void set_has_islocalreply();
void clear_has_islocalreply();
// helper for ByteSizeLong()
size_t RequiredFieldsByteSizeFallback() const;
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
::google::protobuf::internal::HasBits<1> _has_bits_;
mutable int _cached_size_;
::google::protobuf::int32 protoid_;
::google::protobuf::int32 count_;
float totalcostavg_;
float opendcostavg_;
float netdelayavg_;
bool islocalreply_;
friend struct ::protobuf_GetDelayStatistics_2eproto::TableStruct;
friend void ::protobuf_GetDelayStatistics_2eproto::InitDefaultsReqReplyStatisticsItemImpl();
};
// -------------------------------------------------------------------
class PlaceOrderStatisticsItem : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:GetDelayStatistics.PlaceOrderStatisticsItem) */ {
public:
PlaceOrderStatisticsItem();
virtual ~PlaceOrderStatisticsItem();
PlaceOrderStatisticsItem(const PlaceOrderStatisticsItem& from);
inline PlaceOrderStatisticsItem& operator=(const PlaceOrderStatisticsItem& from) {
CopyFrom(from);
return *this;
}
#if LANG_CXX11
PlaceOrderStatisticsItem(PlaceOrderStatisticsItem&& from) noexcept
: PlaceOrderStatisticsItem() {
*this = ::std::move(from);
}
inline PlaceOrderStatisticsItem& operator=(PlaceOrderStatisticsItem&& 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 PlaceOrderStatisticsItem& default_instance();
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
static inline const PlaceOrderStatisticsItem* internal_default_instance() {
return reinterpret_cast<const PlaceOrderStatisticsItem*>(
&_PlaceOrderStatisticsItem_default_instance_);
}
static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
4;
void Swap(PlaceOrderStatisticsItem* other);
friend void swap(PlaceOrderStatisticsItem& a, PlaceOrderStatisticsItem& b) {
a.Swap(&b);
}
// implements Message ----------------------------------------------
inline PlaceOrderStatisticsItem* New() const PROTOBUF_FINAL { return New(NULL); }
PlaceOrderStatisticsItem* 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 PlaceOrderStatisticsItem& from);
void MergeFrom(const PlaceOrderStatisticsItem& 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(PlaceOrderStatisticsItem* 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 string orderID = 1;
bool has_orderid() const;
void clear_orderid();
static const int kOrderIDFieldNumber = 1;
const ::std::string& orderid() const;
void set_orderid(const ::std::string& value);
#if LANG_CXX11
void set_orderid(::std::string&& value);
#endif
void set_orderid(const char* value);
void set_orderid(const char* value, size_t size);
::std::string* mutable_orderid();
::std::string* release_orderid();
void set_allocated_orderid(::std::string* orderid);
// required float totalCost = 2;
bool has_totalcost() const;
void clear_totalcost();
static const int kTotalCostFieldNumber = 2;
float totalcost() const;
void set_totalcost(float value);
// required float openDCost = 3;
bool has_opendcost() const;
void clear_opendcost();
static const int kOpenDCostFieldNumber = 3;
float opendcost() const;
void set_opendcost(float value);
// required float netDelay = 4;
bool has_netdelay() const;
void clear_netdelay();
static const int kNetDelayFieldNumber = 4;
float netdelay() const;
void set_netdelay(float value);
// required float updateCost = 5;
bool has_updatecost() const;
void clear_updatecost();
static const int kUpdateCostFieldNumber = 5;
float updatecost() const;
void set_updatecost(float value);
// @@protoc_insertion_point(class_scope:GetDelayStatistics.PlaceOrderStatisticsItem)
private:
void set_has_orderid();
void clear_has_orderid();
void set_has_totalcost();
void clear_has_totalcost();
void set_has_opendcost();
void clear_has_opendcost();
void set_has_netdelay();
void clear_has_netdelay();
void set_has_updatecost();
void clear_has_updatecost();
// helper for ByteSizeLong()
size_t RequiredFieldsByteSizeFallback() const;
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
::google::protobuf::internal::HasBits<1> _has_bits_;
mutable int _cached_size_;
::google::protobuf::internal::ArenaStringPtr orderid_;
float totalcost_;
float opendcost_;
float netdelay_;
float updatecost_;
friend struct ::protobuf_GetDelayStatistics_2eproto::TableStruct;
friend void ::protobuf_GetDelayStatistics_2eproto::InitDefaultsPlaceOrderStatisticsItemImpl();
};
// -------------------------------------------------------------------
class S2C : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:GetDelayStatistics.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 =
5;
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 .GetDelayStatistics.DelayStatistics qotPushStatisticsList = 1;
int qotpushstatisticslist_size() const;
void clear_qotpushstatisticslist();
static const int kQotPushStatisticsListFieldNumber = 1;
const ::GetDelayStatistics::DelayStatistics& qotpushstatisticslist(int index) const;
::GetDelayStatistics::DelayStatistics* mutable_qotpushstatisticslist(int index);
::GetDelayStatistics::DelayStatistics* add_qotpushstatisticslist();
::google::protobuf::RepeatedPtrField< ::GetDelayStatistics::DelayStatistics >*
mutable_qotpushstatisticslist();
const ::google::protobuf::RepeatedPtrField< ::GetDelayStatistics::DelayStatistics >&
qotpushstatisticslist() const;
// repeated .GetDelayStatistics.ReqReplyStatisticsItem reqReplyStatisticsList = 2;
int reqreplystatisticslist_size() const;
void clear_reqreplystatisticslist();
static const int kReqReplyStatisticsListFieldNumber = 2;
const ::GetDelayStatistics::ReqReplyStatisticsItem& reqreplystatisticslist(int index) const;
::GetDelayStatistics::ReqReplyStatisticsItem* mutable_reqreplystatisticslist(int index);
::GetDelayStatistics::ReqReplyStatisticsItem* add_reqreplystatisticslist();
::google::protobuf::RepeatedPtrField< ::GetDelayStatistics::ReqReplyStatisticsItem >*
mutable_reqreplystatisticslist();
const ::google::protobuf::RepeatedPtrField< ::GetDelayStatistics::ReqReplyStatisticsItem >&
reqreplystatisticslist() const;
// repeated .GetDelayStatistics.PlaceOrderStatisticsItem placeOrderStatisticsList = 3;
int placeorderstatisticslist_size() const;
void clear_placeorderstatisticslist();
static const int kPlaceOrderStatisticsListFieldNumber = 3;
const ::GetDelayStatistics::PlaceOrderStatisticsItem& placeorderstatisticslist(int index) const;
::GetDelayStatistics::PlaceOrderStatisticsItem* mutable_placeorderstatisticslist(int index);
::GetDelayStatistics::PlaceOrderStatisticsItem* add_placeorderstatisticslist();
::google::protobuf::RepeatedPtrField< ::GetDelayStatistics::PlaceOrderStatisticsItem >*
mutable_placeorderstatisticslist();
const ::google::protobuf::RepeatedPtrField< ::GetDelayStatistics::PlaceOrderStatisticsItem >&
placeorderstatisticslist() const;
// @@protoc_insertion_point(class_scope:GetDelayStatistics.S2C)
private:
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
::google::protobuf::internal::HasBits<1> _has_bits_;
mutable int _cached_size_;
::google::protobuf::RepeatedPtrField< ::GetDelayStatistics::DelayStatistics > qotpushstatisticslist_;
::google::protobuf::RepeatedPtrField< ::GetDelayStatistics::ReqReplyStatisticsItem > reqreplystatisticslist_;
::google::protobuf::RepeatedPtrField< ::GetDelayStatistics::PlaceOrderStatisticsItem > placeorderstatisticslist_;
friend struct ::protobuf_GetDelayStatistics_2eproto::TableStruct;
friend void ::protobuf_GetDelayStatistics_2eproto::InitDefaultsS2CImpl();
};
// -------------------------------------------------------------------
class Request : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:GetDelayStatistics.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 =
6;
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 .GetDelayStatistics.C2S c2s = 1;
bool has_c2s() const;
void clear_c2s();
static const int kC2SFieldNumber = 1;
const ::GetDelayStatistics::C2S& c2s() const;
::GetDelayStatistics::C2S* release_c2s();
::GetDelayStatistics::C2S* mutable_c2s();
void set_allocated_c2s(::GetDelayStatistics::C2S* c2s);
// @@protoc_insertion_point(class_scope:GetDelayStatistics.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_;
::GetDelayStatistics::C2S* c2s_;
friend struct ::protobuf_GetDelayStatistics_2eproto::TableStruct;
friend void ::protobuf_GetDelayStatistics_2eproto::InitDefaultsRequestImpl();
};
// -------------------------------------------------------------------
class Response : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:GetDelayStatistics.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 =
7;
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 .GetDelayStatistics.S2C s2c = 4;
bool has_s2c() const;
void clear_s2c();
static const int kS2CFieldNumber = 4;
const ::GetDelayStatistics::S2C& s2c() const;
::GetDelayStatistics::S2C* release_s2c();
::GetDelayStatistics::S2C* mutable_s2c();
void set_allocated_s2c(::GetDelayStatistics::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:GetDelayStatistics.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_;
::GetDelayStatistics::S2C* s2c_;
::google::protobuf::int32 errcode_;
::google::protobuf::int32 rettype_;
friend struct ::protobuf_GetDelayStatistics_2eproto::TableStruct;
friend void ::protobuf_GetDelayStatistics_2eproto::InitDefaultsResponseImpl();
};
// ===================================================================
// ===================================================================
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif // __GNUC__
// C2S
// repeated int32 typeList = 1;
inline int C2S::typelist_size() const {
return typelist_.size();
}
inline void C2S::clear_typelist() {
typelist_.Clear();
}
inline ::google::protobuf::int32 C2S::typelist(int index) const {
// @@protoc_insertion_point(field_get:GetDelayStatistics.C2S.typeList)
return typelist_.Get(index);
}
inline void C2S::set_typelist(int index, ::google::protobuf::int32 value) {
typelist_.Set(index, value);
// @@protoc_insertion_point(field_set:GetDelayStatistics.C2S.typeList)
}
inline void C2S::add_typelist(::google::protobuf::int32 value) {
typelist_.Add(value);
// @@protoc_insertion_point(field_add:GetDelayStatistics.C2S.typeList)
}
inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
C2S::typelist() const {
// @@protoc_insertion_point(field_list:GetDelayStatistics.C2S.typeList)
return typelist_;
}
inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
C2S::mutable_typelist() {
// @@protoc_insertion_point(field_mutable_list:GetDelayStatistics.C2S.typeList)
return &typelist_;
}
// optional int32 qotPushStage = 2;
inline bool C2S::has_qotpushstage() const {
return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void C2S::set_has_qotpushstage() {
_has_bits_[0] |= 0x00000001u;
}
inline void C2S::clear_has_qotpushstage() {
_has_bits_[0] &= ~0x00000001u;
}
inline void C2S::clear_qotpushstage() {
qotpushstage_ = 0;
clear_has_qotpushstage();
}
inline ::google::protobuf::int32 C2S::qotpushstage() const {
// @@protoc_insertion_point(field_get:GetDelayStatistics.C2S.qotPushStage)
return qotpushstage_;
}
inline void C2S::set_qotpushstage(::google::protobuf::int32 value) {
set_has_qotpushstage();
qotpushstage_ = value;
// @@protoc_insertion_point(field_set:GetDelayStatistics.C2S.qotPushStage)
}
// repeated int32 segmentList = 3;
inline int C2S::segmentlist_size() const {
return segmentlist_.size();
}
inline void C2S::clear_segmentlist() {
segmentlist_.Clear();
}
inline ::google::protobuf::int32 C2S::segmentlist(int index) const {
// @@protoc_insertion_point(field_get:GetDelayStatistics.C2S.segmentList)
return segmentlist_.Get(index);
}
inline void C2S::set_segmentlist(int index, ::google::protobuf::int32 value) {
segmentlist_.Set(index, value);
// @@protoc_insertion_point(field_set:GetDelayStatistics.C2S.segmentList)
}
inline void C2S::add_segmentlist(::google::protobuf::int32 value) {
segmentlist_.Add(value);
// @@protoc_insertion_point(field_add:GetDelayStatistics.C2S.segmentList)
}
inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
C2S::segmentlist() const {
// @@protoc_insertion_point(field_list:GetDelayStatistics.C2S.segmentList)
return segmentlist_;
}
inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
C2S::mutable_segmentlist() {
// @@protoc_insertion_point(field_mutable_list:GetDelayStatistics.C2S.segmentList)
return &segmentlist_;
}
// -------------------------------------------------------------------
// DelayStatisticsItem
// required int32 begin = 1;
inline bool DelayStatisticsItem::has_begin() const {
return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void DelayStatisticsItem::set_has_begin() {
_has_bits_[0] |= 0x00000001u;
}
inline void DelayStatisticsItem::clear_has_begin() {
_has_bits_[0] &= ~0x00000001u;
}
inline void DelayStatisticsItem::clear_begin() {
begin_ = 0;
clear_has_begin();
}
inline ::google::protobuf::int32 DelayStatisticsItem::begin() const {
// @@protoc_insertion_point(field_get:GetDelayStatistics.DelayStatisticsItem.begin)
return begin_;
}
inline void DelayStatisticsItem::set_begin(::google::protobuf::int32 value) {
set_has_begin();
begin_ = value;
// @@protoc_insertion_point(field_set:GetDelayStatistics.DelayStatisticsItem.begin)
}
// required int32 end = 2;
inline bool DelayStatisticsItem::has_end() const {
return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void DelayStatisticsItem::set_has_end() {
_has_bits_[0] |= 0x00000002u;
}
inline void DelayStatisticsItem::clear_has_end() {
_has_bits_[0] &= ~0x00000002u;
}
inline void DelayStatisticsItem::clear_end() {
end_ = 0;
clear_has_end();
}
inline ::google::protobuf::int32 DelayStatisticsItem::end() const {
// @@protoc_insertion_point(field_get:GetDelayStatistics.DelayStatisticsItem.end)
return end_;
}
inline void DelayStatisticsItem::set_end(::google::protobuf::int32 value) {
set_has_end();
end_ = value;
// @@protoc_insertion_point(field_set:GetDelayStatistics.DelayStatisticsItem.end)
}
// required int32 count = 3;
inline bool DelayStatisticsItem::has_count() const {
return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void DelayStatisticsItem::set_has_count() {
_has_bits_[0] |= 0x00000004u;
}
inline void DelayStatisticsItem::clear_has_count() {
_has_bits_[0] &= ~0x00000004u;
}
inline void DelayStatisticsItem::clear_count() {
count_ = 0;
clear_has_count();
}
inline ::google::protobuf::int32 DelayStatisticsItem::count() const {
// @@protoc_insertion_point(field_get:GetDelayStatistics.DelayStatisticsItem.count)
return count_;
}
inline void DelayStatisticsItem::set_count(::google::protobuf::int32 value) {
set_has_count();
count_ = value;
// @@protoc_insertion_point(field_set:GetDelayStatistics.DelayStatisticsItem.count)
}
// required float proportion = 4;
inline bool DelayStatisticsItem::has_proportion() const {
return (_has_bits_[0] & 0x00000008u) != 0;
}
inline void DelayStatisticsItem::set_has_proportion() {
_has_bits_[0] |= 0x00000008u;
}
inline void DelayStatisticsItem::clear_has_proportion() {
_has_bits_[0] &= ~0x00000008u;
}
inline void DelayStatisticsItem::clear_proportion() {
proportion_ = 0;
clear_has_proportion();
}
inline float DelayStatisticsItem::proportion() const {
// @@protoc_insertion_point(field_get:GetDelayStatistics.DelayStatisticsItem.proportion)
return proportion_;
}
inline void DelayStatisticsItem::set_proportion(float value) {
set_has_proportion();
proportion_ = value;
// @@protoc_insertion_point(field_set:GetDelayStatistics.DelayStatisticsItem.proportion)
}
// required float cumulativeRatio = 5;
inline bool DelayStatisticsItem::has_cumulativeratio() const {
return (_has_bits_[0] & 0x00000010u) != 0;
}
inline void DelayStatisticsItem::set_has_cumulativeratio() {
_has_bits_[0] |= 0x00000010u;
}
inline void DelayStatisticsItem::clear_has_cumulativeratio() {
_has_bits_[0] &= ~0x00000010u;
}
inline void DelayStatisticsItem::clear_cumulativeratio() {
cumulativeratio_ = 0;
clear_has_cumulativeratio();
}
inline float DelayStatisticsItem::cumulativeratio() const {
// @@protoc_insertion_point(field_get:GetDelayStatistics.DelayStatisticsItem.cumulativeRatio)
return cumulativeratio_;
}
inline void DelayStatisticsItem::set_cumulativeratio(float value) {
set_has_cumulativeratio();
cumulativeratio_ = value;
// @@protoc_insertion_point(field_set:GetDelayStatistics.DelayStatisticsItem.cumulativeRatio)
}
// -------------------------------------------------------------------
// DelayStatistics
// required int32 qotPushType = 1;
inline bool DelayStatistics::has_qotpushtype() const {
return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void DelayStatistics::set_has_qotpushtype() {
_has_bits_[0] |= 0x00000001u;
}
inline void DelayStatistics::clear_has_qotpushtype() {
_has_bits_[0] &= ~0x00000001u;
}
inline void DelayStatistics::clear_qotpushtype() {
qotpushtype_ = 0;
clear_has_qotpushtype();
}
inline ::google::protobuf::int32 DelayStatistics::qotpushtype() const {
// @@protoc_insertion_point(field_get:GetDelayStatistics.DelayStatistics.qotPushType)
return qotpushtype_;
}
inline void DelayStatistics::set_qotpushtype(::google::protobuf::int32 value) {
set_has_qotpushtype();
qotpushtype_ = value;
// @@protoc_insertion_point(field_set:GetDelayStatistics.DelayStatistics.qotPushType)
}
// repeated .GetDelayStatistics.DelayStatisticsItem itemList = 2;
inline int DelayStatistics::itemlist_size() const {
return itemlist_.size();
}
inline void DelayStatistics::clear_itemlist() {
itemlist_.Clear();
}
inline const ::GetDelayStatistics::DelayStatisticsItem& DelayStatistics::itemlist(int index) const {
// @@protoc_insertion_point(field_get:GetDelayStatistics.DelayStatistics.itemList)
return itemlist_.Get(index);
}
inline ::GetDelayStatistics::DelayStatisticsItem* DelayStatistics::mutable_itemlist(int index) {
// @@protoc_insertion_point(field_mutable:GetDelayStatistics.DelayStatistics.itemList)
return itemlist_.Mutable(index);
}
inline ::GetDelayStatistics::DelayStatisticsItem* DelayStatistics::add_itemlist() {
// @@protoc_insertion_point(field_add:GetDelayStatistics.DelayStatistics.itemList)
return itemlist_.Add();
}
inline ::google::protobuf::RepeatedPtrField< ::GetDelayStatistics::DelayStatisticsItem >*
DelayStatistics::mutable_itemlist() {
// @@protoc_insertion_point(field_mutable_list:GetDelayStatistics.DelayStatistics.itemList)
return &itemlist_;
}
inline const ::google::protobuf::RepeatedPtrField< ::GetDelayStatistics::DelayStatisticsItem >&
DelayStatistics::itemlist() const {
// @@protoc_insertion_point(field_list:GetDelayStatistics.DelayStatistics.itemList)
return itemlist_;
}
// required float delayAvg = 3;
inline bool DelayStatistics::has_delayavg() const {
return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void DelayStatistics::set_has_delayavg() {
_has_bits_[0] |= 0x00000002u;
}
inline void DelayStatistics::clear_has_delayavg() {
_has_bits_[0] &= ~0x00000002u;
}
inline void DelayStatistics::clear_delayavg() {
delayavg_ = 0;
clear_has_delayavg();
}
inline float DelayStatistics::delayavg() const {
// @@protoc_insertion_point(field_get:GetDelayStatistics.DelayStatistics.delayAvg)
return delayavg_;
}
inline void DelayStatistics::set_delayavg(float value) {
set_has_delayavg();
delayavg_ = value;
// @@protoc_insertion_point(field_set:GetDelayStatistics.DelayStatistics.delayAvg)
}
// required int32 count = 4;
inline bool DelayStatistics::has_count() const {
return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void DelayStatistics::set_has_count() {
_has_bits_[0] |= 0x00000004u;
}
inline void DelayStatistics::clear_has_count() {
_has_bits_[0] &= ~0x00000004u;
}
inline void DelayStatistics::clear_count() {
count_ = 0;
clear_has_count();
}
inline ::google::protobuf::int32 DelayStatistics::count() const {
// @@protoc_insertion_point(field_get:GetDelayStatistics.DelayStatistics.count)
return count_;
}
inline void DelayStatistics::set_count(::google::protobuf::int32 value) {
set_has_count();
count_ = value;
// @@protoc_insertion_point(field_set:GetDelayStatistics.DelayStatistics.count)
}
// -------------------------------------------------------------------
// ReqReplyStatisticsItem
// required int32 protoID = 1;
inline bool ReqReplyStatisticsItem::has_protoid() const {
return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void ReqReplyStatisticsItem::set_has_protoid() {
_has_bits_[0] |= 0x00000001u;
}
inline void ReqReplyStatisticsItem::clear_has_protoid() {
_has_bits_[0] &= ~0x00000001u;
}
inline void ReqReplyStatisticsItem::clear_protoid() {
protoid_ = 0;
clear_has_protoid();
}
inline ::google::protobuf::int32 ReqReplyStatisticsItem::protoid() const {
// @@protoc_insertion_point(field_get:GetDelayStatistics.ReqReplyStatisticsItem.protoID)
return protoid_;
}
inline void ReqReplyStatisticsItem::set_protoid(::google::protobuf::int32 value) {
set_has_protoid();
protoid_ = value;
// @@protoc_insertion_point(field_set:GetDelayStatistics.ReqReplyStatisticsItem.protoID)
}
// required int32 count = 2;
inline bool ReqReplyStatisticsItem::has_count() const {
return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void ReqReplyStatisticsItem::set_has_count() {
_has_bits_[0] |= 0x00000002u;
}
inline void ReqReplyStatisticsItem::clear_has_count() {
_has_bits_[0] &= ~0x00000002u;
}
inline void ReqReplyStatisticsItem::clear_count() {
count_ = 0;
clear_has_count();
}
inline ::google::protobuf::int32 ReqReplyStatisticsItem::count() const {
// @@protoc_insertion_point(field_get:GetDelayStatistics.ReqReplyStatisticsItem.count)
return count_;
}
inline void ReqReplyStatisticsItem::set_count(::google::protobuf::int32 value) {
set_has_count();
count_ = value;
// @@protoc_insertion_point(field_set:GetDelayStatistics.ReqReplyStatisticsItem.count)
}
// required float totalCostAvg = 3;
inline bool ReqReplyStatisticsItem::has_totalcostavg() const {
return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void ReqReplyStatisticsItem::set_has_totalcostavg() {
_has_bits_[0] |= 0x00000004u;
}
inline void ReqReplyStatisticsItem::clear_has_totalcostavg() {
_has_bits_[0] &= ~0x00000004u;
}
inline void ReqReplyStatisticsItem::clear_totalcostavg() {
totalcostavg_ = 0;
clear_has_totalcostavg();
}
inline float ReqReplyStatisticsItem::totalcostavg() const {
// @@protoc_insertion_point(field_get:GetDelayStatistics.ReqReplyStatisticsItem.totalCostAvg)
return totalcostavg_;
}
inline void ReqReplyStatisticsItem::set_totalcostavg(float value) {
set_has_totalcostavg();
totalcostavg_ = value;
// @@protoc_insertion_point(field_set:GetDelayStatistics.ReqReplyStatisticsItem.totalCostAvg)
}
// required float openDCostAvg = 4;
inline bool ReqReplyStatisticsItem::has_opendcostavg() const {
return (_has_bits_[0] & 0x00000008u) != 0;
}
inline void ReqReplyStatisticsItem::set_has_opendcostavg() {
_has_bits_[0] |= 0x00000008u;
}
inline void ReqReplyStatisticsItem::clear_has_opendcostavg() {
_has_bits_[0] &= ~0x00000008u;
}
inline void ReqReplyStatisticsItem::clear_opendcostavg() {
opendcostavg_ = 0;
clear_has_opendcostavg();
}
inline float ReqReplyStatisticsItem::opendcostavg() const {
// @@protoc_insertion_point(field_get:GetDelayStatistics.ReqReplyStatisticsItem.openDCostAvg)
return opendcostavg_;
}
inline void ReqReplyStatisticsItem::set_opendcostavg(float value) {
set_has_opendcostavg();
opendcostavg_ = value;
// @@protoc_insertion_point(field_set:GetDelayStatistics.ReqReplyStatisticsItem.openDCostAvg)
}
// required float netDelayAvg = 5;
inline bool ReqReplyStatisticsItem::has_netdelayavg() const {
return (_has_bits_[0] & 0x00000010u) != 0;
}
inline void ReqReplyStatisticsItem::set_has_netdelayavg() {
_has_bits_[0] |= 0x00000010u;
}
inline void ReqReplyStatisticsItem::clear_has_netdelayavg() {
_has_bits_[0] &= ~0x00000010u;
}
inline void ReqReplyStatisticsItem::clear_netdelayavg() {
netdelayavg_ = 0;
clear_has_netdelayavg();
}
inline float ReqReplyStatisticsItem::netdelayavg() const {
// @@protoc_insertion_point(field_get:GetDelayStatistics.ReqReplyStatisticsItem.netDelayAvg)
return netdelayavg_;
}
inline void ReqReplyStatisticsItem::set_netdelayavg(float value) {
set_has_netdelayavg();
netdelayavg_ = value;
// @@protoc_insertion_point(field_set:GetDelayStatistics.ReqReplyStatisticsItem.netDelayAvg)
}
// required bool isLocalReply = 6;
inline bool ReqReplyStatisticsItem::has_islocalreply() const {
return (_has_bits_[0] & 0x00000020u) != 0;
}
inline void ReqReplyStatisticsItem::set_has_islocalreply() {
_has_bits_[0] |= 0x00000020u;
}
inline void ReqReplyStatisticsItem::clear_has_islocalreply() {
_has_bits_[0] &= ~0x00000020u;
}
inline void ReqReplyStatisticsItem::clear_islocalreply() {
islocalreply_ = false;
clear_has_islocalreply();
}
inline bool ReqReplyStatisticsItem::islocalreply() const {
// @@protoc_insertion_point(field_get:GetDelayStatistics.ReqReplyStatisticsItem.isLocalReply)
return islocalreply_;
}
inline void ReqReplyStatisticsItem::set_islocalreply(bool value) {
set_has_islocalreply();
islocalreply_ = value;
// @@protoc_insertion_point(field_set:GetDelayStatistics.ReqReplyStatisticsItem.isLocalReply)
}
// -------------------------------------------------------------------
// PlaceOrderStatisticsItem
// required string orderID = 1;
inline bool PlaceOrderStatisticsItem::has_orderid() const {
return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void PlaceOrderStatisticsItem::set_has_orderid() {
_has_bits_[0] |= 0x00000001u;
}
inline void PlaceOrderStatisticsItem::clear_has_orderid() {
_has_bits_[0] &= ~0x00000001u;
}
inline void PlaceOrderStatisticsItem::clear_orderid() {
orderid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
clear_has_orderid();
}
inline const ::std::string& PlaceOrderStatisticsItem::orderid() const {
// @@protoc_insertion_point(field_get:GetDelayStatistics.PlaceOrderStatisticsItem.orderID)
return orderid_.GetNoArena();
}
inline void PlaceOrderStatisticsItem::set_orderid(const ::std::string& value) {
set_has_orderid();
orderid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
// @@protoc_insertion_point(field_set:GetDelayStatistics.PlaceOrderStatisticsItem.orderID)
}
#if LANG_CXX11
inline void PlaceOrderStatisticsItem::set_orderid(::std::string&& value) {
set_has_orderid();
orderid_.SetNoArena(
&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
// @@protoc_insertion_point(field_set_rvalue:GetDelayStatistics.PlaceOrderStatisticsItem.orderID)
}
#endif
inline void PlaceOrderStatisticsItem::set_orderid(const char* value) {
GOOGLE_DCHECK(value != NULL);
set_has_orderid();
orderid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
// @@protoc_insertion_point(field_set_char:GetDelayStatistics.PlaceOrderStatisticsItem.orderID)
}
inline void PlaceOrderStatisticsItem::set_orderid(const char* value, size_t size) {
set_has_orderid();
orderid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
::std::string(reinterpret_cast<const char*>(value), size));
// @@protoc_insertion_point(field_set_pointer:GetDelayStatistics.PlaceOrderStatisticsItem.orderID)
}
inline ::std::string* PlaceOrderStatisticsItem::mutable_orderid() {
set_has_orderid();
// @@protoc_insertion_point(field_mutable:GetDelayStatistics.PlaceOrderStatisticsItem.orderID)
return orderid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* PlaceOrderStatisticsItem::release_orderid() {
// @@protoc_insertion_point(field_release:GetDelayStatistics.PlaceOrderStatisticsItem.orderID)
clear_has_orderid();
return orderid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void PlaceOrderStatisticsItem::set_allocated_orderid(::std::string* orderid) {
if (orderid != NULL) {
set_has_orderid();
} else {
clear_has_orderid();
}
orderid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), orderid);
// @@protoc_insertion_point(field_set_allocated:GetDelayStatistics.PlaceOrderStatisticsItem.orderID)
}
// required float totalCost = 2;
inline bool PlaceOrderStatisticsItem::has_totalcost() const {
return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void PlaceOrderStatisticsItem::set_has_totalcost() {
_has_bits_[0] |= 0x00000002u;
}
inline void PlaceOrderStatisticsItem::clear_has_totalcost() {
_has_bits_[0] &= ~0x00000002u;
}
inline void PlaceOrderStatisticsItem::clear_totalcost() {
totalcost_ = 0;
clear_has_totalcost();
}
inline float PlaceOrderStatisticsItem::totalcost() const {
// @@protoc_insertion_point(field_get:GetDelayStatistics.PlaceOrderStatisticsItem.totalCost)
return totalcost_;
}
inline void PlaceOrderStatisticsItem::set_totalcost(float value) {
set_has_totalcost();
totalcost_ = value;
// @@protoc_insertion_point(field_set:GetDelayStatistics.PlaceOrderStatisticsItem.totalCost)
}
// required float openDCost = 3;
inline bool PlaceOrderStatisticsItem::has_opendcost() const {
return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void PlaceOrderStatisticsItem::set_has_opendcost() {
_has_bits_[0] |= 0x00000004u;
}
inline void PlaceOrderStatisticsItem::clear_has_opendcost() {
_has_bits_[0] &= ~0x00000004u;
}
inline void PlaceOrderStatisticsItem::clear_opendcost() {
opendcost_ = 0;
clear_has_opendcost();
}
inline float PlaceOrderStatisticsItem::opendcost() const {
// @@protoc_insertion_point(field_get:GetDelayStatistics.PlaceOrderStatisticsItem.openDCost)
return opendcost_;
}
inline void PlaceOrderStatisticsItem::set_opendcost(float value) {
set_has_opendcost();
opendcost_ = value;
// @@protoc_insertion_point(field_set:GetDelayStatistics.PlaceOrderStatisticsItem.openDCost)
}
// required float netDelay = 4;
inline bool PlaceOrderStatisticsItem::has_netdelay() const {
return (_has_bits_[0] & 0x00000008u) != 0;
}
inline void PlaceOrderStatisticsItem::set_has_netdelay() {
_has_bits_[0] |= 0x00000008u;
}
inline void PlaceOrderStatisticsItem::clear_has_netdelay() {
_has_bits_[0] &= ~0x00000008u;
}
inline void PlaceOrderStatisticsItem::clear_netdelay() {
netdelay_ = 0;
clear_has_netdelay();
}
inline float PlaceOrderStatisticsItem::netdelay() const {
// @@protoc_insertion_point(field_get:GetDelayStatistics.PlaceOrderStatisticsItem.netDelay)
return netdelay_;
}
inline void PlaceOrderStatisticsItem::set_netdelay(float value) {
set_has_netdelay();
netdelay_ = value;
// @@protoc_insertion_point(field_set:GetDelayStatistics.PlaceOrderStatisticsItem.netDelay)
}
// required float updateCost = 5;
inline bool PlaceOrderStatisticsItem::has_updatecost() const {
return (_has_bits_[0] & 0x00000010u) != 0;
}
inline void PlaceOrderStatisticsItem::set_has_updatecost() {
_has_bits_[0] |= 0x00000010u;
}
inline void PlaceOrderStatisticsItem::clear_has_updatecost() {
_has_bits_[0] &= ~0x00000010u;
}
inline void PlaceOrderStatisticsItem::clear_updatecost() {
updatecost_ = 0;
clear_has_updatecost();
}
inline float PlaceOrderStatisticsItem::updatecost() const {
// @@protoc_insertion_point(field_get:GetDelayStatistics.PlaceOrderStatisticsItem.updateCost)
return updatecost_;
}
inline void PlaceOrderStatisticsItem::set_updatecost(float value) {
set_has_updatecost();
updatecost_ = value;
// @@protoc_insertion_point(field_set:GetDelayStatistics.PlaceOrderStatisticsItem.updateCost)
}
// -------------------------------------------------------------------
// S2C
// repeated .GetDelayStatistics.DelayStatistics qotPushStatisticsList = 1;
inline int S2C::qotpushstatisticslist_size() const {
return qotpushstatisticslist_.size();
}
inline void S2C::clear_qotpushstatisticslist() {
qotpushstatisticslist_.Clear();
}
inline const ::GetDelayStatistics::DelayStatistics& S2C::qotpushstatisticslist(int index) const {
// @@protoc_insertion_point(field_get:GetDelayStatistics.S2C.qotPushStatisticsList)
return qotpushstatisticslist_.Get(index);
}
inline ::GetDelayStatistics::DelayStatistics* S2C::mutable_qotpushstatisticslist(int index) {
// @@protoc_insertion_point(field_mutable:GetDelayStatistics.S2C.qotPushStatisticsList)
return qotpushstatisticslist_.Mutable(index);
}
inline ::GetDelayStatistics::DelayStatistics* S2C::add_qotpushstatisticslist() {
// @@protoc_insertion_point(field_add:GetDelayStatistics.S2C.qotPushStatisticsList)
return qotpushstatisticslist_.Add();
}
inline ::google::protobuf::RepeatedPtrField< ::GetDelayStatistics::DelayStatistics >*
S2C::mutable_qotpushstatisticslist() {
// @@protoc_insertion_point(field_mutable_list:GetDelayStatistics.S2C.qotPushStatisticsList)
return &qotpushstatisticslist_;
}
inline const ::google::protobuf::RepeatedPtrField< ::GetDelayStatistics::DelayStatistics >&
S2C::qotpushstatisticslist() const {
// @@protoc_insertion_point(field_list:GetDelayStatistics.S2C.qotPushStatisticsList)
return qotpushstatisticslist_;
}
// repeated .GetDelayStatistics.ReqReplyStatisticsItem reqReplyStatisticsList = 2;
inline int S2C::reqreplystatisticslist_size() const {
return reqreplystatisticslist_.size();
}
inline void S2C::clear_reqreplystatisticslist() {
reqreplystatisticslist_.Clear();
}
inline const ::GetDelayStatistics::ReqReplyStatisticsItem& S2C::reqreplystatisticslist(int index) const {
// @@protoc_insertion_point(field_get:GetDelayStatistics.S2C.reqReplyStatisticsList)
return reqreplystatisticslist_.Get(index);
}
inline ::GetDelayStatistics::ReqReplyStatisticsItem* S2C::mutable_reqreplystatisticslist(int index) {
// @@protoc_insertion_point(field_mutable:GetDelayStatistics.S2C.reqReplyStatisticsList)
return reqreplystatisticslist_.Mutable(index);
}
inline ::GetDelayStatistics::ReqReplyStatisticsItem* S2C::add_reqreplystatisticslist() {
// @@protoc_insertion_point(field_add:GetDelayStatistics.S2C.reqReplyStatisticsList)
return reqreplystatisticslist_.Add();
}
inline ::google::protobuf::RepeatedPtrField< ::GetDelayStatistics::ReqReplyStatisticsItem >*
S2C::mutable_reqreplystatisticslist() {
// @@protoc_insertion_point(field_mutable_list:GetDelayStatistics.S2C.reqReplyStatisticsList)
return &reqreplystatisticslist_;
}
inline const ::google::protobuf::RepeatedPtrField< ::GetDelayStatistics::ReqReplyStatisticsItem >&
S2C::reqreplystatisticslist() const {
// @@protoc_insertion_point(field_list:GetDelayStatistics.S2C.reqReplyStatisticsList)
return reqreplystatisticslist_;
}
// repeated .GetDelayStatistics.PlaceOrderStatisticsItem placeOrderStatisticsList = 3;
inline int S2C::placeorderstatisticslist_size() const {
return placeorderstatisticslist_.size();
}
inline void S2C::clear_placeorderstatisticslist() {
placeorderstatisticslist_.Clear();
}
inline const ::GetDelayStatistics::PlaceOrderStatisticsItem& S2C::placeorderstatisticslist(int index) const {
// @@protoc_insertion_point(field_get:GetDelayStatistics.S2C.placeOrderStatisticsList)
return placeorderstatisticslist_.Get(index);
}
inline ::GetDelayStatistics::PlaceOrderStatisticsItem* S2C::mutable_placeorderstatisticslist(int index) {
// @@protoc_insertion_point(field_mutable:GetDelayStatistics.S2C.placeOrderStatisticsList)
return placeorderstatisticslist_.Mutable(index);
}
inline ::GetDelayStatistics::PlaceOrderStatisticsItem* S2C::add_placeorderstatisticslist() {
// @@protoc_insertion_point(field_add:GetDelayStatistics.S2C.placeOrderStatisticsList)
return placeorderstatisticslist_.Add();
}
inline ::google::protobuf::RepeatedPtrField< ::GetDelayStatistics::PlaceOrderStatisticsItem >*
S2C::mutable_placeorderstatisticslist() {
// @@protoc_insertion_point(field_mutable_list:GetDelayStatistics.S2C.placeOrderStatisticsList)
return &placeorderstatisticslist_;
}
inline const ::google::protobuf::RepeatedPtrField< ::GetDelayStatistics::PlaceOrderStatisticsItem >&
S2C::placeorderstatisticslist() const {
// @@protoc_insertion_point(field_list:GetDelayStatistics.S2C.placeOrderStatisticsList)
return placeorderstatisticslist_;
}
// -------------------------------------------------------------------
// Request
// required .GetDelayStatistics.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 ::GetDelayStatistics::C2S& Request::c2s() const {
const ::GetDelayStatistics::C2S* p = c2s_;
// @@protoc_insertion_point(field_get:GetDelayStatistics.Request.c2s)
return p != NULL ? *p : *reinterpret_cast<const ::GetDelayStatistics::C2S*>(
&::GetDelayStatistics::_C2S_default_instance_);
}
inline ::GetDelayStatistics::C2S* Request::release_c2s() {
// @@protoc_insertion_point(field_release:GetDelayStatistics.Request.c2s)
clear_has_c2s();
::GetDelayStatistics::C2S* temp = c2s_;
c2s_ = NULL;
return temp;
}
inline ::GetDelayStatistics::C2S* Request::mutable_c2s() {
set_has_c2s();
if (c2s_ == NULL) {
c2s_ = new ::GetDelayStatistics::C2S;
}
// @@protoc_insertion_point(field_mutable:GetDelayStatistics.Request.c2s)
return c2s_;
}
inline void Request::set_allocated_c2s(::GetDelayStatistics::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:GetDelayStatistics.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:GetDelayStatistics.Response.retType)
return rettype_;
}
inline void Response::set_rettype(::google::protobuf::int32 value) {
set_has_rettype();
rettype_ = value;
// @@protoc_insertion_point(field_set:GetDelayStatistics.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:GetDelayStatistics.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:GetDelayStatistics.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:GetDelayStatistics.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:GetDelayStatistics.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:GetDelayStatistics.Response.retMsg)
}
inline ::std::string* Response::mutable_retmsg() {
set_has_retmsg();
// @@protoc_insertion_point(field_mutable:GetDelayStatistics.Response.retMsg)
return retmsg_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* Response::release_retmsg() {
// @@protoc_insertion_point(field_release:GetDelayStatistics.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:GetDelayStatistics.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:GetDelayStatistics.Response.errCode)
return errcode_;
}
inline void Response::set_errcode(::google::protobuf::int32 value) {
set_has_errcode();
errcode_ = value;
// @@protoc_insertion_point(field_set:GetDelayStatistics.Response.errCode)
}
// optional .GetDelayStatistics.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 ::GetDelayStatistics::S2C& Response::s2c() const {
const ::GetDelayStatistics::S2C* p = s2c_;
// @@protoc_insertion_point(field_get:GetDelayStatistics.Response.s2c)
return p != NULL ? *p : *reinterpret_cast<const ::GetDelayStatistics::S2C*>(
&::GetDelayStatistics::_S2C_default_instance_);
}
inline ::GetDelayStatistics::S2C* Response::release_s2c() {
// @@protoc_insertion_point(field_release:GetDelayStatistics.Response.s2c)
clear_has_s2c();
::GetDelayStatistics::S2C* temp = s2c_;
s2c_ = NULL;
return temp;
}
inline ::GetDelayStatistics::S2C* Response::mutable_s2c() {
set_has_s2c();
if (s2c_ == NULL) {
s2c_ = new ::GetDelayStatistics::S2C;
}
// @@protoc_insertion_point(field_mutable:GetDelayStatistics.Response.s2c)
return s2c_;
}
inline void Response::set_allocated_s2c(::GetDelayStatistics::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:GetDelayStatistics.Response.s2c)
}
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif // __GNUC__
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// @@protoc_insertion_point(namespace_scope)
} // namespace GetDelayStatistics
namespace google {
namespace protobuf {
template <> struct is_proto_enum< ::GetDelayStatistics::DelayStatisticsType> : ::google::protobuf::internal::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::GetDelayStatistics::DelayStatisticsType>() {
return ::GetDelayStatistics::DelayStatisticsType_descriptor();
}
template <> struct is_proto_enum< ::GetDelayStatistics::QotPushStage> : ::google::protobuf::internal::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::GetDelayStatistics::QotPushStage>() {
return ::GetDelayStatistics::QotPushStage_descriptor();
}
template <> struct is_proto_enum< ::GetDelayStatistics::QotPushType> : ::google::protobuf::internal::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::GetDelayStatistics::QotPushType>() {
return ::GetDelayStatistics::QotPushType_descriptor();
}
} // namespace protobuf
} // namespace google
// @@protoc_insertion_point(global_scope)
#endif // PROTOBUF_GetDelayStatistics_2eproto__INCLUDED