grpc/protoc/market_data.pb.h
2024-12-09 19:29:55 +08:00

3070 lines
114 KiB
C++

// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: market_data.proto
// Protobuf C++ Version: 5.28.1
#ifndef GOOGLE_PROTOBUF_INCLUDED_market_5fdata_2eproto_2epb_2eh
#define GOOGLE_PROTOBUF_INCLUDED_market_5fdata_2eproto_2epb_2eh
#include <limits>
#include <string>
#include <type_traits>
#include <utility>
#include "google/protobuf/runtime_version.h"
#if PROTOBUF_VERSION != 5028001
#error "Protobuf C++ gencode is built with an incompatible version of"
#error "Protobuf C++ headers/runtime. See"
#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
#endif
#include "google/protobuf/io/coded_stream.h"
#include "google/protobuf/arena.h"
#include "google/protobuf/arenastring.h"
#include "google/protobuf/generated_message_tctable_decl.h"
#include "google/protobuf/generated_message_util.h"
#include "google/protobuf/metadata_lite.h"
#include "google/protobuf/generated_message_reflection.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"
// @@protoc_insertion_point(includes)
// Must be included last.
#include "google/protobuf/port_def.inc"
#define PROTOBUF_INTERNAL_EXPORT_market_5fdata_2eproto
namespace google {
namespace protobuf {
namespace internal {
class AnyMetadata;
} // namespace internal
} // namespace protobuf
} // namespace google
// Internal implementation detail -- do not use these members.
struct TableStruct_market_5fdata_2eproto {
static const ::uint32_t offsets[];
};
extern const ::google::protobuf::internal::DescriptorTable
descriptor_table_market_5fdata_2eproto;
namespace market_data {
class CThostFtdcDepthMarketDataField;
struct CThostFtdcDepthMarketDataFieldDefaultTypeInternal;
extern CThostFtdcDepthMarketDataFieldDefaultTypeInternal _CThostFtdcDepthMarketDataField_default_instance_;
class MsgReply;
struct MsgReplyDefaultTypeInternal;
extern MsgReplyDefaultTypeInternal _MsgReply_default_instance_;
class ResMsg;
struct ResMsgDefaultTypeInternal;
extern ResMsgDefaultTypeInternal _ResMsg_default_instance_;
} // namespace market_data
namespace google {
namespace protobuf {
} // namespace protobuf
} // namespace google
namespace market_data {
// ===================================================================
// -------------------------------------------------------------------
class ResMsg final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:market_data.ResMsg) */ {
public:
inline ResMsg() : ResMsg(nullptr) {}
~ResMsg() PROTOBUF_FINAL;
template <typename = void>
explicit PROTOBUF_CONSTEXPR ResMsg(
::google::protobuf::internal::ConstantInitialized);
inline ResMsg(const ResMsg& from) : ResMsg(nullptr, from) {}
inline ResMsg(ResMsg&& from) noexcept
: ResMsg(nullptr, std::move(from)) {}
inline ResMsg& operator=(const ResMsg& from) {
CopyFrom(from);
return *this;
}
inline ResMsg& operator=(ResMsg&& from) noexcept {
if (this == &from) return *this;
if (GetArena() == from.GetArena()
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
&& GetArena() != nullptr
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const ResMsg& default_instance() {
return *internal_default_instance();
}
static inline const ResMsg* internal_default_instance() {
return reinterpret_cast<const ResMsg*>(
&_ResMsg_default_instance_);
}
static constexpr int kIndexInFileMessages = 1;
friend void swap(ResMsg& a, ResMsg& b) { a.Swap(&b); }
inline void Swap(ResMsg* other) {
if (other == this) return;
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
if (GetArena() != nullptr && GetArena() == other->GetArena()) {
#else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetArena() == other->GetArena()) {
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(ResMsg* other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
ResMsg* New(::google::protobuf::Arena* arena = nullptr) const PROTOBUF_FINAL {
return ::google::protobuf::Message::DefaultConstruct<ResMsg>(arena);
}
using ::google::protobuf::Message::CopyFrom;
void CopyFrom(const ResMsg& from);
using ::google::protobuf::Message::MergeFrom;
void MergeFrom(const ResMsg& from) { ResMsg::MergeImpl(*this, from); }
private:
static void MergeImpl(
::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* _InternalSerialize(
const MessageLite& msg, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor();
void InternalSwap(ResMsg* other);
private:
friend class ::google::protobuf::internal::AnyMetadata;
static ::absl::string_view FullMessageName() { return "market_data.ResMsg"; }
protected:
explicit ResMsg(::google::protobuf::Arena* arena);
ResMsg(::google::protobuf::Arena* arena, const ResMsg& from);
ResMsg(::google::protobuf::Arena* arena, ResMsg&& from) noexcept
: ResMsg(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::Message::ClassData* GetClassData() const PROTOBUF_FINAL;
static const ::google::protobuf::Message::ClassDataFull _class_data_;
public:
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kOtherParamsFieldNumber = 8,
kOtherMsgFieldNumber = 9,
kSignameFieldNumber = 1,
kInstrumentIDFieldNumber = 2,
kOffsetFieldNumber = 5,
kDirFieldNumber = 6,
kSigvalueFieldNumber = 4,
kSigflagFieldNumber = 3,
kVolFieldNumber = 7,
};
// repeated double other_params = 8;
int other_params_size() const;
private:
int _internal_other_params_size() const;
public:
void clear_other_params() ;
double other_params(int index) const;
void set_other_params(int index, double value);
void add_other_params(double value);
const ::google::protobuf::RepeatedField<double>& other_params() const;
::google::protobuf::RepeatedField<double>* mutable_other_params();
private:
const ::google::protobuf::RepeatedField<double>& _internal_other_params() const;
::google::protobuf::RepeatedField<double>* _internal_mutable_other_params();
public:
// repeated string other_msg = 9;
int other_msg_size() const;
private:
int _internal_other_msg_size() const;
public:
void clear_other_msg() ;
const std::string& other_msg(int index) const;
std::string* mutable_other_msg(int index);
template <typename Arg_ = const std::string&, typename... Args_>
void set_other_msg(int index, Arg_&& value, Args_... args);
std::string* add_other_msg();
template <typename Arg_ = const std::string&, typename... Args_>
void add_other_msg(Arg_&& value, Args_... args);
const ::google::protobuf::RepeatedPtrField<std::string>& other_msg() const;
::google::protobuf::RepeatedPtrField<std::string>* mutable_other_msg();
private:
const ::google::protobuf::RepeatedPtrField<std::string>& _internal_other_msg() const;
::google::protobuf::RepeatedPtrField<std::string>* _internal_mutable_other_msg();
public:
// string signame = 1;
void clear_signame() ;
const std::string& signame() const;
template <typename Arg_ = const std::string&, typename... Args_>
void set_signame(Arg_&& arg, Args_... args);
std::string* mutable_signame();
PROTOBUF_NODISCARD std::string* release_signame();
void set_allocated_signame(std::string* value);
private:
const std::string& _internal_signame() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_signame(
const std::string& value);
std::string* _internal_mutable_signame();
public:
// string InstrumentID = 2;
void clear_instrumentid() ;
const std::string& instrumentid() const;
template <typename Arg_ = const std::string&, typename... Args_>
void set_instrumentid(Arg_&& arg, Args_... args);
std::string* mutable_instrumentid();
PROTOBUF_NODISCARD std::string* release_instrumentid();
void set_allocated_instrumentid(std::string* value);
private:
const std::string& _internal_instrumentid() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_instrumentid(
const std::string& value);
std::string* _internal_mutable_instrumentid();
public:
// string offset = 5;
void clear_offset() ;
const std::string& offset() const;
template <typename Arg_ = const std::string&, typename... Args_>
void set_offset(Arg_&& arg, Args_... args);
std::string* mutable_offset();
PROTOBUF_NODISCARD std::string* release_offset();
void set_allocated_offset(std::string* value);
private:
const std::string& _internal_offset() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_offset(
const std::string& value);
std::string* _internal_mutable_offset();
public:
// string dir = 6;
void clear_dir() ;
const std::string& dir() const;
template <typename Arg_ = const std::string&, typename... Args_>
void set_dir(Arg_&& arg, Args_... args);
std::string* mutable_dir();
PROTOBUF_NODISCARD std::string* release_dir();
void set_allocated_dir(std::string* value);
private:
const std::string& _internal_dir() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_dir(
const std::string& value);
std::string* _internal_mutable_dir();
public:
// double sigvalue = 4;
void clear_sigvalue() ;
double sigvalue() const;
void set_sigvalue(double value);
private:
double _internal_sigvalue() const;
void _internal_set_sigvalue(double value);
public:
// int32 sigflag = 3;
void clear_sigflag() ;
::int32_t sigflag() const;
void set_sigflag(::int32_t value);
private:
::int32_t _internal_sigflag() const;
void _internal_set_sigflag(::int32_t value);
public:
// int32 vol = 7;
void clear_vol() ;
::int32_t vol() const;
void set_vol(::int32_t value);
private:
::int32_t _internal_vol() const;
void _internal_set_vol(::int32_t value);
public:
// @@protoc_insertion_point(class_scope:market_data.ResMsg)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<
4, 9, 0,
72, 2>
_table_;
static constexpr const void* _raw_default_instance_ =
&_ResMsg_default_instance_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(
::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena);
inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena, const Impl_& from,
const ResMsg& from_msg);
::google::protobuf::RepeatedField<double> other_params_;
::google::protobuf::RepeatedPtrField<std::string> other_msg_;
::google::protobuf::internal::ArenaStringPtr signame_;
::google::protobuf::internal::ArenaStringPtr instrumentid_;
::google::protobuf::internal::ArenaStringPtr offset_;
::google::protobuf::internal::ArenaStringPtr dir_;
double sigvalue_;
::int32_t sigflag_;
::int32_t vol_;
mutable ::google::protobuf::internal::CachedSize _cached_size_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_market_5fdata_2eproto;
};
// -------------------------------------------------------------------
class MsgReply final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:market_data.MsgReply) */ {
public:
inline MsgReply() : MsgReply(nullptr) {}
~MsgReply() PROTOBUF_FINAL;
template <typename = void>
explicit PROTOBUF_CONSTEXPR MsgReply(
::google::protobuf::internal::ConstantInitialized);
inline MsgReply(const MsgReply& from) : MsgReply(nullptr, from) {}
inline MsgReply(MsgReply&& from) noexcept
: MsgReply(nullptr, std::move(from)) {}
inline MsgReply& operator=(const MsgReply& from) {
CopyFrom(from);
return *this;
}
inline MsgReply& operator=(MsgReply&& from) noexcept {
if (this == &from) return *this;
if (GetArena() == from.GetArena()
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
&& GetArena() != nullptr
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const MsgReply& default_instance() {
return *internal_default_instance();
}
static inline const MsgReply* internal_default_instance() {
return reinterpret_cast<const MsgReply*>(
&_MsgReply_default_instance_);
}
static constexpr int kIndexInFileMessages = 2;
friend void swap(MsgReply& a, MsgReply& b) { a.Swap(&b); }
inline void Swap(MsgReply* other) {
if (other == this) return;
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
if (GetArena() != nullptr && GetArena() == other->GetArena()) {
#else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetArena() == other->GetArena()) {
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(MsgReply* other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
MsgReply* New(::google::protobuf::Arena* arena = nullptr) const PROTOBUF_FINAL {
return ::google::protobuf::Message::DefaultConstruct<MsgReply>(arena);
}
using ::google::protobuf::Message::CopyFrom;
void CopyFrom(const MsgReply& from);
using ::google::protobuf::Message::MergeFrom;
void MergeFrom(const MsgReply& from) { MsgReply::MergeImpl(*this, from); }
private:
static void MergeImpl(
::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* _InternalSerialize(
const MessageLite& msg, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor();
void InternalSwap(MsgReply* other);
private:
friend class ::google::protobuf::internal::AnyMetadata;
static ::absl::string_view FullMessageName() { return "market_data.MsgReply"; }
protected:
explicit MsgReply(::google::protobuf::Arena* arena);
MsgReply(::google::protobuf::Arena* arena, const MsgReply& from);
MsgReply(::google::protobuf::Arena* arena, MsgReply&& from) noexcept
: MsgReply(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::Message::ClassData* GetClassData() const PROTOBUF_FINAL;
static const ::google::protobuf::Message::ClassDataFull _class_data_;
public:
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kMessageFieldNumber = 1,
};
// string message = 1;
void clear_message() ;
const std::string& message() const;
template <typename Arg_ = const std::string&, typename... Args_>
void set_message(Arg_&& arg, Args_... args);
std::string* mutable_message();
PROTOBUF_NODISCARD std::string* release_message();
void set_allocated_message(std::string* value);
private:
const std::string& _internal_message() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_message(
const std::string& value);
std::string* _internal_mutable_message();
public:
// @@protoc_insertion_point(class_scope:market_data.MsgReply)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<
0, 1, 0,
36, 2>
_table_;
static constexpr const void* _raw_default_instance_ =
&_MsgReply_default_instance_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(
::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena);
inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena, const Impl_& from,
const MsgReply& from_msg);
::google::protobuf::internal::ArenaStringPtr message_;
mutable ::google::protobuf::internal::CachedSize _cached_size_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_market_5fdata_2eproto;
};
// -------------------------------------------------------------------
class CThostFtdcDepthMarketDataField final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:market_data.CThostFtdcDepthMarketDataField) */ {
public:
inline CThostFtdcDepthMarketDataField() : CThostFtdcDepthMarketDataField(nullptr) {}
~CThostFtdcDepthMarketDataField() PROTOBUF_FINAL;
template <typename = void>
explicit PROTOBUF_CONSTEXPR CThostFtdcDepthMarketDataField(
::google::protobuf::internal::ConstantInitialized);
inline CThostFtdcDepthMarketDataField(const CThostFtdcDepthMarketDataField& from) : CThostFtdcDepthMarketDataField(nullptr, from) {}
inline CThostFtdcDepthMarketDataField(CThostFtdcDepthMarketDataField&& from) noexcept
: CThostFtdcDepthMarketDataField(nullptr, std::move(from)) {}
inline CThostFtdcDepthMarketDataField& operator=(const CThostFtdcDepthMarketDataField& from) {
CopyFrom(from);
return *this;
}
inline CThostFtdcDepthMarketDataField& operator=(CThostFtdcDepthMarketDataField&& from) noexcept {
if (this == &from) return *this;
if (GetArena() == from.GetArena()
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
&& GetArena() != nullptr
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const CThostFtdcDepthMarketDataField& default_instance() {
return *internal_default_instance();
}
static inline const CThostFtdcDepthMarketDataField* internal_default_instance() {
return reinterpret_cast<const CThostFtdcDepthMarketDataField*>(
&_CThostFtdcDepthMarketDataField_default_instance_);
}
static constexpr int kIndexInFileMessages = 0;
friend void swap(CThostFtdcDepthMarketDataField& a, CThostFtdcDepthMarketDataField& b) { a.Swap(&b); }
inline void Swap(CThostFtdcDepthMarketDataField* other) {
if (other == this) return;
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
if (GetArena() != nullptr && GetArena() == other->GetArena()) {
#else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetArena() == other->GetArena()) {
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(CThostFtdcDepthMarketDataField* other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
CThostFtdcDepthMarketDataField* New(::google::protobuf::Arena* arena = nullptr) const PROTOBUF_FINAL {
return ::google::protobuf::Message::DefaultConstruct<CThostFtdcDepthMarketDataField>(arena);
}
using ::google::protobuf::Message::CopyFrom;
void CopyFrom(const CThostFtdcDepthMarketDataField& from);
using ::google::protobuf::Message::MergeFrom;
void MergeFrom(const CThostFtdcDepthMarketDataField& from) { CThostFtdcDepthMarketDataField::MergeImpl(*this, from); }
private:
static void MergeImpl(
::google::protobuf::MessageLite& to_msg,
const ::google::protobuf::MessageLite& from_msg);
public:
bool IsInitialized() const {
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* _InternalSerialize(
const MessageLite& msg, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor();
void InternalSwap(CThostFtdcDepthMarketDataField* other);
private:
friend class ::google::protobuf::internal::AnyMetadata;
static ::absl::string_view FullMessageName() { return "market_data.CThostFtdcDepthMarketDataField"; }
protected:
explicit CThostFtdcDepthMarketDataField(::google::protobuf::Arena* arena);
CThostFtdcDepthMarketDataField(::google::protobuf::Arena* arena, const CThostFtdcDepthMarketDataField& from);
CThostFtdcDepthMarketDataField(::google::protobuf::Arena* arena, CThostFtdcDepthMarketDataField&& from) noexcept
: CThostFtdcDepthMarketDataField(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::Message::ClassData* GetClassData() const PROTOBUF_FINAL;
static const ::google::protobuf::Message::ClassDataFull _class_data_;
public:
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kTradingDayFieldNumber = 1,
kReserve1FieldNumber = 2,
kExchangeIDFieldNumber = 3,
kReserve2FieldNumber = 4,
kUpdateTimeFieldNumber = 21,
kActionDayFieldNumber = 44,
kInstrumentIDFieldNumber = 45,
kExchangeInstIDFieldNumber = 46,
kLastPriceFieldNumber = 5,
kPreSettlementPriceFieldNumber = 6,
kPreClosePriceFieldNumber = 7,
kPreOpenInterestFieldNumber = 8,
kOpenPriceFieldNumber = 9,
kHighestPriceFieldNumber = 10,
kLowestPriceFieldNumber = 11,
kTurnoverFieldNumber = 13,
kOpenInterestFieldNumber = 14,
kClosePriceFieldNumber = 15,
kSettlementPriceFieldNumber = 16,
kUpperLimitPriceFieldNumber = 17,
kVolumeFieldNumber = 12,
kUpdateMillisecFieldNumber = 22,
kLowerLimitPriceFieldNumber = 18,
kPreDeltaFieldNumber = 19,
kCurrDeltaFieldNumber = 20,
kBidPrice1FieldNumber = 23,
kAskPrice1FieldNumber = 25,
kBidVolume1FieldNumber = 24,
kAskVolume1FieldNumber = 26,
kBidPrice2FieldNumber = 27,
kAskPrice2FieldNumber = 29,
kBidVolume2FieldNumber = 28,
kAskVolume2FieldNumber = 30,
kBidPrice3FieldNumber = 31,
kAskPrice3FieldNumber = 33,
kBidVolume3FieldNumber = 32,
kAskVolume3FieldNumber = 34,
kBidPrice4FieldNumber = 35,
kAskPrice4FieldNumber = 37,
kBidVolume4FieldNumber = 36,
kAskVolume4FieldNumber = 38,
kBidPrice5FieldNumber = 39,
kAskPrice5FieldNumber = 41,
kBidVolume5FieldNumber = 40,
kAskVolume5FieldNumber = 42,
kAveragePriceFieldNumber = 43,
};
// string TradingDay = 1;
void clear_tradingday() ;
const std::string& tradingday() const;
template <typename Arg_ = const std::string&, typename... Args_>
void set_tradingday(Arg_&& arg, Args_... args);
std::string* mutable_tradingday();
PROTOBUF_NODISCARD std::string* release_tradingday();
void set_allocated_tradingday(std::string* value);
private:
const std::string& _internal_tradingday() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_tradingday(
const std::string& value);
std::string* _internal_mutable_tradingday();
public:
// string reserve1 = 2;
void clear_reserve1() ;
const std::string& reserve1() const;
template <typename Arg_ = const std::string&, typename... Args_>
void set_reserve1(Arg_&& arg, Args_... args);
std::string* mutable_reserve1();
PROTOBUF_NODISCARD std::string* release_reserve1();
void set_allocated_reserve1(std::string* value);
private:
const std::string& _internal_reserve1() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_reserve1(
const std::string& value);
std::string* _internal_mutable_reserve1();
public:
// string ExchangeID = 3;
void clear_exchangeid() ;
const std::string& exchangeid() const;
template <typename Arg_ = const std::string&, typename... Args_>
void set_exchangeid(Arg_&& arg, Args_... args);
std::string* mutable_exchangeid();
PROTOBUF_NODISCARD std::string* release_exchangeid();
void set_allocated_exchangeid(std::string* value);
private:
const std::string& _internal_exchangeid() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_exchangeid(
const std::string& value);
std::string* _internal_mutable_exchangeid();
public:
// string reserve2 = 4;
void clear_reserve2() ;
const std::string& reserve2() const;
template <typename Arg_ = const std::string&, typename... Args_>
void set_reserve2(Arg_&& arg, Args_... args);
std::string* mutable_reserve2();
PROTOBUF_NODISCARD std::string* release_reserve2();
void set_allocated_reserve2(std::string* value);
private:
const std::string& _internal_reserve2() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_reserve2(
const std::string& value);
std::string* _internal_mutable_reserve2();
public:
// string UpdateTime = 21;
void clear_updatetime() ;
const std::string& updatetime() const;
template <typename Arg_ = const std::string&, typename... Args_>
void set_updatetime(Arg_&& arg, Args_... args);
std::string* mutable_updatetime();
PROTOBUF_NODISCARD std::string* release_updatetime();
void set_allocated_updatetime(std::string* value);
private:
const std::string& _internal_updatetime() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_updatetime(
const std::string& value);
std::string* _internal_mutable_updatetime();
public:
// string ActionDay = 44;
void clear_actionday() ;
const std::string& actionday() const;
template <typename Arg_ = const std::string&, typename... Args_>
void set_actionday(Arg_&& arg, Args_... args);
std::string* mutable_actionday();
PROTOBUF_NODISCARD std::string* release_actionday();
void set_allocated_actionday(std::string* value);
private:
const std::string& _internal_actionday() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_actionday(
const std::string& value);
std::string* _internal_mutable_actionday();
public:
// string InstrumentID = 45;
void clear_instrumentid() ;
const std::string& instrumentid() const;
template <typename Arg_ = const std::string&, typename... Args_>
void set_instrumentid(Arg_&& arg, Args_... args);
std::string* mutable_instrumentid();
PROTOBUF_NODISCARD std::string* release_instrumentid();
void set_allocated_instrumentid(std::string* value);
private:
const std::string& _internal_instrumentid() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_instrumentid(
const std::string& value);
std::string* _internal_mutable_instrumentid();
public:
// string ExchangeInstID = 46;
void clear_exchangeinstid() ;
const std::string& exchangeinstid() const;
template <typename Arg_ = const std::string&, typename... Args_>
void set_exchangeinstid(Arg_&& arg, Args_... args);
std::string* mutable_exchangeinstid();
PROTOBUF_NODISCARD std::string* release_exchangeinstid();
void set_allocated_exchangeinstid(std::string* value);
private:
const std::string& _internal_exchangeinstid() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_exchangeinstid(
const std::string& value);
std::string* _internal_mutable_exchangeinstid();
public:
// double LastPrice = 5;
void clear_lastprice() ;
double lastprice() const;
void set_lastprice(double value);
private:
double _internal_lastprice() const;
void _internal_set_lastprice(double value);
public:
// double PreSettlementPrice = 6;
void clear_presettlementprice() ;
double presettlementprice() const;
void set_presettlementprice(double value);
private:
double _internal_presettlementprice() const;
void _internal_set_presettlementprice(double value);
public:
// double PreClosePrice = 7;
void clear_precloseprice() ;
double precloseprice() const;
void set_precloseprice(double value);
private:
double _internal_precloseprice() const;
void _internal_set_precloseprice(double value);
public:
// double PreOpenInterest = 8;
void clear_preopeninterest() ;
double preopeninterest() const;
void set_preopeninterest(double value);
private:
double _internal_preopeninterest() const;
void _internal_set_preopeninterest(double value);
public:
// double OpenPrice = 9;
void clear_openprice() ;
double openprice() const;
void set_openprice(double value);
private:
double _internal_openprice() const;
void _internal_set_openprice(double value);
public:
// double HighestPrice = 10;
void clear_highestprice() ;
double highestprice() const;
void set_highestprice(double value);
private:
double _internal_highestprice() const;
void _internal_set_highestprice(double value);
public:
// double LowestPrice = 11;
void clear_lowestprice() ;
double lowestprice() const;
void set_lowestprice(double value);
private:
double _internal_lowestprice() const;
void _internal_set_lowestprice(double value);
public:
// double Turnover = 13;
void clear_turnover() ;
double turnover() const;
void set_turnover(double value);
private:
double _internal_turnover() const;
void _internal_set_turnover(double value);
public:
// double OpenInterest = 14;
void clear_openinterest() ;
double openinterest() const;
void set_openinterest(double value);
private:
double _internal_openinterest() const;
void _internal_set_openinterest(double value);
public:
// double ClosePrice = 15;
void clear_closeprice() ;
double closeprice() const;
void set_closeprice(double value);
private:
double _internal_closeprice() const;
void _internal_set_closeprice(double value);
public:
// double SettlementPrice = 16;
void clear_settlementprice() ;
double settlementprice() const;
void set_settlementprice(double value);
private:
double _internal_settlementprice() const;
void _internal_set_settlementprice(double value);
public:
// double UpperLimitPrice = 17;
void clear_upperlimitprice() ;
double upperlimitprice() const;
void set_upperlimitprice(double value);
private:
double _internal_upperlimitprice() const;
void _internal_set_upperlimitprice(double value);
public:
// int32 Volume = 12;
void clear_volume() ;
::int32_t volume() const;
void set_volume(::int32_t value);
private:
::int32_t _internal_volume() const;
void _internal_set_volume(::int32_t value);
public:
// int32 UpdateMillisec = 22;
void clear_updatemillisec() ;
::int32_t updatemillisec() const;
void set_updatemillisec(::int32_t value);
private:
::int32_t _internal_updatemillisec() const;
void _internal_set_updatemillisec(::int32_t value);
public:
// double LowerLimitPrice = 18;
void clear_lowerlimitprice() ;
double lowerlimitprice() const;
void set_lowerlimitprice(double value);
private:
double _internal_lowerlimitprice() const;
void _internal_set_lowerlimitprice(double value);
public:
// double PreDelta = 19;
void clear_predelta() ;
double predelta() const;
void set_predelta(double value);
private:
double _internal_predelta() const;
void _internal_set_predelta(double value);
public:
// double CurrDelta = 20;
void clear_currdelta() ;
double currdelta() const;
void set_currdelta(double value);
private:
double _internal_currdelta() const;
void _internal_set_currdelta(double value);
public:
// double BidPrice1 = 23;
void clear_bidprice1() ;
double bidprice1() const;
void set_bidprice1(double value);
private:
double _internal_bidprice1() const;
void _internal_set_bidprice1(double value);
public:
// double AskPrice1 = 25;
void clear_askprice1() ;
double askprice1() const;
void set_askprice1(double value);
private:
double _internal_askprice1() const;
void _internal_set_askprice1(double value);
public:
// int32 BidVolume1 = 24;
void clear_bidvolume1() ;
::int32_t bidvolume1() const;
void set_bidvolume1(::int32_t value);
private:
::int32_t _internal_bidvolume1() const;
void _internal_set_bidvolume1(::int32_t value);
public:
// int32 AskVolume1 = 26;
void clear_askvolume1() ;
::int32_t askvolume1() const;
void set_askvolume1(::int32_t value);
private:
::int32_t _internal_askvolume1() const;
void _internal_set_askvolume1(::int32_t value);
public:
// double BidPrice2 = 27;
void clear_bidprice2() ;
double bidprice2() const;
void set_bidprice2(double value);
private:
double _internal_bidprice2() const;
void _internal_set_bidprice2(double value);
public:
// double AskPrice2 = 29;
void clear_askprice2() ;
double askprice2() const;
void set_askprice2(double value);
private:
double _internal_askprice2() const;
void _internal_set_askprice2(double value);
public:
// int32 BidVolume2 = 28;
void clear_bidvolume2() ;
::int32_t bidvolume2() const;
void set_bidvolume2(::int32_t value);
private:
::int32_t _internal_bidvolume2() const;
void _internal_set_bidvolume2(::int32_t value);
public:
// int32 AskVolume2 = 30;
void clear_askvolume2() ;
::int32_t askvolume2() const;
void set_askvolume2(::int32_t value);
private:
::int32_t _internal_askvolume2() const;
void _internal_set_askvolume2(::int32_t value);
public:
// double BidPrice3 = 31;
void clear_bidprice3() ;
double bidprice3() const;
void set_bidprice3(double value);
private:
double _internal_bidprice3() const;
void _internal_set_bidprice3(double value);
public:
// double AskPrice3 = 33;
void clear_askprice3() ;
double askprice3() const;
void set_askprice3(double value);
private:
double _internal_askprice3() const;
void _internal_set_askprice3(double value);
public:
// int32 BidVolume3 = 32;
void clear_bidvolume3() ;
::int32_t bidvolume3() const;
void set_bidvolume3(::int32_t value);
private:
::int32_t _internal_bidvolume3() const;
void _internal_set_bidvolume3(::int32_t value);
public:
// int32 AskVolume3 = 34;
void clear_askvolume3() ;
::int32_t askvolume3() const;
void set_askvolume3(::int32_t value);
private:
::int32_t _internal_askvolume3() const;
void _internal_set_askvolume3(::int32_t value);
public:
// double BidPrice4 = 35;
void clear_bidprice4() ;
double bidprice4() const;
void set_bidprice4(double value);
private:
double _internal_bidprice4() const;
void _internal_set_bidprice4(double value);
public:
// double AskPrice4 = 37;
void clear_askprice4() ;
double askprice4() const;
void set_askprice4(double value);
private:
double _internal_askprice4() const;
void _internal_set_askprice4(double value);
public:
// int32 BidVolume4 = 36;
void clear_bidvolume4() ;
::int32_t bidvolume4() const;
void set_bidvolume4(::int32_t value);
private:
::int32_t _internal_bidvolume4() const;
void _internal_set_bidvolume4(::int32_t value);
public:
// int32 AskVolume4 = 38;
void clear_askvolume4() ;
::int32_t askvolume4() const;
void set_askvolume4(::int32_t value);
private:
::int32_t _internal_askvolume4() const;
void _internal_set_askvolume4(::int32_t value);
public:
// double BidPrice5 = 39;
void clear_bidprice5() ;
double bidprice5() const;
void set_bidprice5(double value);
private:
double _internal_bidprice5() const;
void _internal_set_bidprice5(double value);
public:
// double AskPrice5 = 41;
void clear_askprice5() ;
double askprice5() const;
void set_askprice5(double value);
private:
double _internal_askprice5() const;
void _internal_set_askprice5(double value);
public:
// int32 BidVolume5 = 40;
void clear_bidvolume5() ;
::int32_t bidvolume5() const;
void set_bidvolume5(::int32_t value);
private:
::int32_t _internal_bidvolume5() const;
void _internal_set_bidvolume5(::int32_t value);
public:
// int32 AskVolume5 = 42;
void clear_askvolume5() ;
::int32_t askvolume5() const;
void set_askvolume5(::int32_t value);
private:
::int32_t _internal_askvolume5() const;
void _internal_set_askvolume5(::int32_t value);
public:
// double AveragePrice = 43;
void clear_averageprice() ;
double averageprice() const;
void set_averageprice(double value);
private:
double _internal_averageprice() const;
void _internal_set_averageprice(double value);
public:
// @@protoc_insertion_point(class_scope:market_data.CThostFtdcDepthMarketDataField)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<
5, 46, 0,
172, 7>
_table_;
static constexpr const void* _raw_default_instance_ =
&_CThostFtdcDepthMarketDataField_default_instance_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(
::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena);
inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena, const Impl_& from,
const CThostFtdcDepthMarketDataField& from_msg);
::google::protobuf::internal::ArenaStringPtr tradingday_;
::google::protobuf::internal::ArenaStringPtr reserve1_;
::google::protobuf::internal::ArenaStringPtr exchangeid_;
::google::protobuf::internal::ArenaStringPtr reserve2_;
::google::protobuf::internal::ArenaStringPtr updatetime_;
::google::protobuf::internal::ArenaStringPtr actionday_;
::google::protobuf::internal::ArenaStringPtr instrumentid_;
::google::protobuf::internal::ArenaStringPtr exchangeinstid_;
double lastprice_;
double presettlementprice_;
double precloseprice_;
double preopeninterest_;
double openprice_;
double highestprice_;
double lowestprice_;
double turnover_;
double openinterest_;
double closeprice_;
double settlementprice_;
double upperlimitprice_;
::int32_t volume_;
::int32_t updatemillisec_;
double lowerlimitprice_;
double predelta_;
double currdelta_;
double bidprice1_;
double askprice1_;
::int32_t bidvolume1_;
::int32_t askvolume1_;
double bidprice2_;
double askprice2_;
::int32_t bidvolume2_;
::int32_t askvolume2_;
double bidprice3_;
double askprice3_;
::int32_t bidvolume3_;
::int32_t askvolume3_;
double bidprice4_;
double askprice4_;
::int32_t bidvolume4_;
::int32_t askvolume4_;
double bidprice5_;
double askprice5_;
::int32_t bidvolume5_;
::int32_t askvolume5_;
double averageprice_;
mutable ::google::protobuf::internal::CachedSize _cached_size_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_market_5fdata_2eproto;
};
// ===================================================================
// ===================================================================
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif // __GNUC__
// -------------------------------------------------------------------
// CThostFtdcDepthMarketDataField
// string TradingDay = 1;
inline void CThostFtdcDepthMarketDataField::clear_tradingday() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.tradingday_.ClearToEmpty();
}
inline const std::string& CThostFtdcDepthMarketDataField::tradingday() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.TradingDay)
return _internal_tradingday();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void CThostFtdcDepthMarketDataField::set_tradingday(Arg_&& arg,
Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.tradingday_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.TradingDay)
}
inline std::string* CThostFtdcDepthMarketDataField::mutable_tradingday() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_tradingday();
// @@protoc_insertion_point(field_mutable:market_data.CThostFtdcDepthMarketDataField.TradingDay)
return _s;
}
inline const std::string& CThostFtdcDepthMarketDataField::_internal_tradingday() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.tradingday_.Get();
}
inline void CThostFtdcDepthMarketDataField::_internal_set_tradingday(const std::string& value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.tradingday_.Set(value, GetArena());
}
inline std::string* CThostFtdcDepthMarketDataField::_internal_mutable_tradingday() {
::google::protobuf::internal::TSanWrite(&_impl_);
return _impl_.tradingday_.Mutable( GetArena());
}
inline std::string* CThostFtdcDepthMarketDataField::release_tradingday() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:market_data.CThostFtdcDepthMarketDataField.TradingDay)
return _impl_.tradingday_.Release();
}
inline void CThostFtdcDepthMarketDataField::set_allocated_tradingday(std::string* value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.tradingday_.SetAllocated(value, GetArena());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.tradingday_.IsDefault()) {
_impl_.tradingday_.Set("", GetArena());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:market_data.CThostFtdcDepthMarketDataField.TradingDay)
}
// string reserve1 = 2;
inline void CThostFtdcDepthMarketDataField::clear_reserve1() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.reserve1_.ClearToEmpty();
}
inline const std::string& CThostFtdcDepthMarketDataField::reserve1() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.reserve1)
return _internal_reserve1();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void CThostFtdcDepthMarketDataField::set_reserve1(Arg_&& arg,
Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.reserve1_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.reserve1)
}
inline std::string* CThostFtdcDepthMarketDataField::mutable_reserve1() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_reserve1();
// @@protoc_insertion_point(field_mutable:market_data.CThostFtdcDepthMarketDataField.reserve1)
return _s;
}
inline const std::string& CThostFtdcDepthMarketDataField::_internal_reserve1() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.reserve1_.Get();
}
inline void CThostFtdcDepthMarketDataField::_internal_set_reserve1(const std::string& value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.reserve1_.Set(value, GetArena());
}
inline std::string* CThostFtdcDepthMarketDataField::_internal_mutable_reserve1() {
::google::protobuf::internal::TSanWrite(&_impl_);
return _impl_.reserve1_.Mutable( GetArena());
}
inline std::string* CThostFtdcDepthMarketDataField::release_reserve1() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:market_data.CThostFtdcDepthMarketDataField.reserve1)
return _impl_.reserve1_.Release();
}
inline void CThostFtdcDepthMarketDataField::set_allocated_reserve1(std::string* value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.reserve1_.SetAllocated(value, GetArena());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.reserve1_.IsDefault()) {
_impl_.reserve1_.Set("", GetArena());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:market_data.CThostFtdcDepthMarketDataField.reserve1)
}
// string ExchangeID = 3;
inline void CThostFtdcDepthMarketDataField::clear_exchangeid() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.exchangeid_.ClearToEmpty();
}
inline const std::string& CThostFtdcDepthMarketDataField::exchangeid() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.ExchangeID)
return _internal_exchangeid();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void CThostFtdcDepthMarketDataField::set_exchangeid(Arg_&& arg,
Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.exchangeid_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.ExchangeID)
}
inline std::string* CThostFtdcDepthMarketDataField::mutable_exchangeid() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_exchangeid();
// @@protoc_insertion_point(field_mutable:market_data.CThostFtdcDepthMarketDataField.ExchangeID)
return _s;
}
inline const std::string& CThostFtdcDepthMarketDataField::_internal_exchangeid() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.exchangeid_.Get();
}
inline void CThostFtdcDepthMarketDataField::_internal_set_exchangeid(const std::string& value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.exchangeid_.Set(value, GetArena());
}
inline std::string* CThostFtdcDepthMarketDataField::_internal_mutable_exchangeid() {
::google::protobuf::internal::TSanWrite(&_impl_);
return _impl_.exchangeid_.Mutable( GetArena());
}
inline std::string* CThostFtdcDepthMarketDataField::release_exchangeid() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:market_data.CThostFtdcDepthMarketDataField.ExchangeID)
return _impl_.exchangeid_.Release();
}
inline void CThostFtdcDepthMarketDataField::set_allocated_exchangeid(std::string* value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.exchangeid_.SetAllocated(value, GetArena());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.exchangeid_.IsDefault()) {
_impl_.exchangeid_.Set("", GetArena());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:market_data.CThostFtdcDepthMarketDataField.ExchangeID)
}
// string reserve2 = 4;
inline void CThostFtdcDepthMarketDataField::clear_reserve2() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.reserve2_.ClearToEmpty();
}
inline const std::string& CThostFtdcDepthMarketDataField::reserve2() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.reserve2)
return _internal_reserve2();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void CThostFtdcDepthMarketDataField::set_reserve2(Arg_&& arg,
Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.reserve2_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.reserve2)
}
inline std::string* CThostFtdcDepthMarketDataField::mutable_reserve2() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_reserve2();
// @@protoc_insertion_point(field_mutable:market_data.CThostFtdcDepthMarketDataField.reserve2)
return _s;
}
inline const std::string& CThostFtdcDepthMarketDataField::_internal_reserve2() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.reserve2_.Get();
}
inline void CThostFtdcDepthMarketDataField::_internal_set_reserve2(const std::string& value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.reserve2_.Set(value, GetArena());
}
inline std::string* CThostFtdcDepthMarketDataField::_internal_mutable_reserve2() {
::google::protobuf::internal::TSanWrite(&_impl_);
return _impl_.reserve2_.Mutable( GetArena());
}
inline std::string* CThostFtdcDepthMarketDataField::release_reserve2() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:market_data.CThostFtdcDepthMarketDataField.reserve2)
return _impl_.reserve2_.Release();
}
inline void CThostFtdcDepthMarketDataField::set_allocated_reserve2(std::string* value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.reserve2_.SetAllocated(value, GetArena());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.reserve2_.IsDefault()) {
_impl_.reserve2_.Set("", GetArena());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:market_data.CThostFtdcDepthMarketDataField.reserve2)
}
// double LastPrice = 5;
inline void CThostFtdcDepthMarketDataField::clear_lastprice() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.lastprice_ = 0;
}
inline double CThostFtdcDepthMarketDataField::lastprice() const {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.LastPrice)
return _internal_lastprice();
}
inline void CThostFtdcDepthMarketDataField::set_lastprice(double value) {
_internal_set_lastprice(value);
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.LastPrice)
}
inline double CThostFtdcDepthMarketDataField::_internal_lastprice() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.lastprice_;
}
inline void CThostFtdcDepthMarketDataField::_internal_set_lastprice(double value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.lastprice_ = value;
}
// double PreSettlementPrice = 6;
inline void CThostFtdcDepthMarketDataField::clear_presettlementprice() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.presettlementprice_ = 0;
}
inline double CThostFtdcDepthMarketDataField::presettlementprice() const {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.PreSettlementPrice)
return _internal_presettlementprice();
}
inline void CThostFtdcDepthMarketDataField::set_presettlementprice(double value) {
_internal_set_presettlementprice(value);
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.PreSettlementPrice)
}
inline double CThostFtdcDepthMarketDataField::_internal_presettlementprice() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.presettlementprice_;
}
inline void CThostFtdcDepthMarketDataField::_internal_set_presettlementprice(double value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.presettlementprice_ = value;
}
// double PreClosePrice = 7;
inline void CThostFtdcDepthMarketDataField::clear_precloseprice() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.precloseprice_ = 0;
}
inline double CThostFtdcDepthMarketDataField::precloseprice() const {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.PreClosePrice)
return _internal_precloseprice();
}
inline void CThostFtdcDepthMarketDataField::set_precloseprice(double value) {
_internal_set_precloseprice(value);
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.PreClosePrice)
}
inline double CThostFtdcDepthMarketDataField::_internal_precloseprice() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.precloseprice_;
}
inline void CThostFtdcDepthMarketDataField::_internal_set_precloseprice(double value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.precloseprice_ = value;
}
// double PreOpenInterest = 8;
inline void CThostFtdcDepthMarketDataField::clear_preopeninterest() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.preopeninterest_ = 0;
}
inline double CThostFtdcDepthMarketDataField::preopeninterest() const {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.PreOpenInterest)
return _internal_preopeninterest();
}
inline void CThostFtdcDepthMarketDataField::set_preopeninterest(double value) {
_internal_set_preopeninterest(value);
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.PreOpenInterest)
}
inline double CThostFtdcDepthMarketDataField::_internal_preopeninterest() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.preopeninterest_;
}
inline void CThostFtdcDepthMarketDataField::_internal_set_preopeninterest(double value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.preopeninterest_ = value;
}
// double OpenPrice = 9;
inline void CThostFtdcDepthMarketDataField::clear_openprice() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.openprice_ = 0;
}
inline double CThostFtdcDepthMarketDataField::openprice() const {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.OpenPrice)
return _internal_openprice();
}
inline void CThostFtdcDepthMarketDataField::set_openprice(double value) {
_internal_set_openprice(value);
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.OpenPrice)
}
inline double CThostFtdcDepthMarketDataField::_internal_openprice() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.openprice_;
}
inline void CThostFtdcDepthMarketDataField::_internal_set_openprice(double value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.openprice_ = value;
}
// double HighestPrice = 10;
inline void CThostFtdcDepthMarketDataField::clear_highestprice() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.highestprice_ = 0;
}
inline double CThostFtdcDepthMarketDataField::highestprice() const {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.HighestPrice)
return _internal_highestprice();
}
inline void CThostFtdcDepthMarketDataField::set_highestprice(double value) {
_internal_set_highestprice(value);
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.HighestPrice)
}
inline double CThostFtdcDepthMarketDataField::_internal_highestprice() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.highestprice_;
}
inline void CThostFtdcDepthMarketDataField::_internal_set_highestprice(double value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.highestprice_ = value;
}
// double LowestPrice = 11;
inline void CThostFtdcDepthMarketDataField::clear_lowestprice() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.lowestprice_ = 0;
}
inline double CThostFtdcDepthMarketDataField::lowestprice() const {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.LowestPrice)
return _internal_lowestprice();
}
inline void CThostFtdcDepthMarketDataField::set_lowestprice(double value) {
_internal_set_lowestprice(value);
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.LowestPrice)
}
inline double CThostFtdcDepthMarketDataField::_internal_lowestprice() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.lowestprice_;
}
inline void CThostFtdcDepthMarketDataField::_internal_set_lowestprice(double value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.lowestprice_ = value;
}
// int32 Volume = 12;
inline void CThostFtdcDepthMarketDataField::clear_volume() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.volume_ = 0;
}
inline ::int32_t CThostFtdcDepthMarketDataField::volume() const {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.Volume)
return _internal_volume();
}
inline void CThostFtdcDepthMarketDataField::set_volume(::int32_t value) {
_internal_set_volume(value);
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.Volume)
}
inline ::int32_t CThostFtdcDepthMarketDataField::_internal_volume() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.volume_;
}
inline void CThostFtdcDepthMarketDataField::_internal_set_volume(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.volume_ = value;
}
// double Turnover = 13;
inline void CThostFtdcDepthMarketDataField::clear_turnover() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.turnover_ = 0;
}
inline double CThostFtdcDepthMarketDataField::turnover() const {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.Turnover)
return _internal_turnover();
}
inline void CThostFtdcDepthMarketDataField::set_turnover(double value) {
_internal_set_turnover(value);
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.Turnover)
}
inline double CThostFtdcDepthMarketDataField::_internal_turnover() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.turnover_;
}
inline void CThostFtdcDepthMarketDataField::_internal_set_turnover(double value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.turnover_ = value;
}
// double OpenInterest = 14;
inline void CThostFtdcDepthMarketDataField::clear_openinterest() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.openinterest_ = 0;
}
inline double CThostFtdcDepthMarketDataField::openinterest() const {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.OpenInterest)
return _internal_openinterest();
}
inline void CThostFtdcDepthMarketDataField::set_openinterest(double value) {
_internal_set_openinterest(value);
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.OpenInterest)
}
inline double CThostFtdcDepthMarketDataField::_internal_openinterest() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.openinterest_;
}
inline void CThostFtdcDepthMarketDataField::_internal_set_openinterest(double value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.openinterest_ = value;
}
// double ClosePrice = 15;
inline void CThostFtdcDepthMarketDataField::clear_closeprice() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.closeprice_ = 0;
}
inline double CThostFtdcDepthMarketDataField::closeprice() const {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.ClosePrice)
return _internal_closeprice();
}
inline void CThostFtdcDepthMarketDataField::set_closeprice(double value) {
_internal_set_closeprice(value);
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.ClosePrice)
}
inline double CThostFtdcDepthMarketDataField::_internal_closeprice() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.closeprice_;
}
inline void CThostFtdcDepthMarketDataField::_internal_set_closeprice(double value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.closeprice_ = value;
}
// double SettlementPrice = 16;
inline void CThostFtdcDepthMarketDataField::clear_settlementprice() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.settlementprice_ = 0;
}
inline double CThostFtdcDepthMarketDataField::settlementprice() const {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.SettlementPrice)
return _internal_settlementprice();
}
inline void CThostFtdcDepthMarketDataField::set_settlementprice(double value) {
_internal_set_settlementprice(value);
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.SettlementPrice)
}
inline double CThostFtdcDepthMarketDataField::_internal_settlementprice() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.settlementprice_;
}
inline void CThostFtdcDepthMarketDataField::_internal_set_settlementprice(double value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.settlementprice_ = value;
}
// double UpperLimitPrice = 17;
inline void CThostFtdcDepthMarketDataField::clear_upperlimitprice() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.upperlimitprice_ = 0;
}
inline double CThostFtdcDepthMarketDataField::upperlimitprice() const {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.UpperLimitPrice)
return _internal_upperlimitprice();
}
inline void CThostFtdcDepthMarketDataField::set_upperlimitprice(double value) {
_internal_set_upperlimitprice(value);
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.UpperLimitPrice)
}
inline double CThostFtdcDepthMarketDataField::_internal_upperlimitprice() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.upperlimitprice_;
}
inline void CThostFtdcDepthMarketDataField::_internal_set_upperlimitprice(double value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.upperlimitprice_ = value;
}
// double LowerLimitPrice = 18;
inline void CThostFtdcDepthMarketDataField::clear_lowerlimitprice() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.lowerlimitprice_ = 0;
}
inline double CThostFtdcDepthMarketDataField::lowerlimitprice() const {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.LowerLimitPrice)
return _internal_lowerlimitprice();
}
inline void CThostFtdcDepthMarketDataField::set_lowerlimitprice(double value) {
_internal_set_lowerlimitprice(value);
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.LowerLimitPrice)
}
inline double CThostFtdcDepthMarketDataField::_internal_lowerlimitprice() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.lowerlimitprice_;
}
inline void CThostFtdcDepthMarketDataField::_internal_set_lowerlimitprice(double value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.lowerlimitprice_ = value;
}
// double PreDelta = 19;
inline void CThostFtdcDepthMarketDataField::clear_predelta() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.predelta_ = 0;
}
inline double CThostFtdcDepthMarketDataField::predelta() const {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.PreDelta)
return _internal_predelta();
}
inline void CThostFtdcDepthMarketDataField::set_predelta(double value) {
_internal_set_predelta(value);
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.PreDelta)
}
inline double CThostFtdcDepthMarketDataField::_internal_predelta() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.predelta_;
}
inline void CThostFtdcDepthMarketDataField::_internal_set_predelta(double value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.predelta_ = value;
}
// double CurrDelta = 20;
inline void CThostFtdcDepthMarketDataField::clear_currdelta() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.currdelta_ = 0;
}
inline double CThostFtdcDepthMarketDataField::currdelta() const {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.CurrDelta)
return _internal_currdelta();
}
inline void CThostFtdcDepthMarketDataField::set_currdelta(double value) {
_internal_set_currdelta(value);
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.CurrDelta)
}
inline double CThostFtdcDepthMarketDataField::_internal_currdelta() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.currdelta_;
}
inline void CThostFtdcDepthMarketDataField::_internal_set_currdelta(double value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.currdelta_ = value;
}
// string UpdateTime = 21;
inline void CThostFtdcDepthMarketDataField::clear_updatetime() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.updatetime_.ClearToEmpty();
}
inline const std::string& CThostFtdcDepthMarketDataField::updatetime() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.UpdateTime)
return _internal_updatetime();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void CThostFtdcDepthMarketDataField::set_updatetime(Arg_&& arg,
Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.updatetime_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.UpdateTime)
}
inline std::string* CThostFtdcDepthMarketDataField::mutable_updatetime() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_updatetime();
// @@protoc_insertion_point(field_mutable:market_data.CThostFtdcDepthMarketDataField.UpdateTime)
return _s;
}
inline const std::string& CThostFtdcDepthMarketDataField::_internal_updatetime() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.updatetime_.Get();
}
inline void CThostFtdcDepthMarketDataField::_internal_set_updatetime(const std::string& value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.updatetime_.Set(value, GetArena());
}
inline std::string* CThostFtdcDepthMarketDataField::_internal_mutable_updatetime() {
::google::protobuf::internal::TSanWrite(&_impl_);
return _impl_.updatetime_.Mutable( GetArena());
}
inline std::string* CThostFtdcDepthMarketDataField::release_updatetime() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:market_data.CThostFtdcDepthMarketDataField.UpdateTime)
return _impl_.updatetime_.Release();
}
inline void CThostFtdcDepthMarketDataField::set_allocated_updatetime(std::string* value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.updatetime_.SetAllocated(value, GetArena());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.updatetime_.IsDefault()) {
_impl_.updatetime_.Set("", GetArena());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:market_data.CThostFtdcDepthMarketDataField.UpdateTime)
}
// int32 UpdateMillisec = 22;
inline void CThostFtdcDepthMarketDataField::clear_updatemillisec() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.updatemillisec_ = 0;
}
inline ::int32_t CThostFtdcDepthMarketDataField::updatemillisec() const {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.UpdateMillisec)
return _internal_updatemillisec();
}
inline void CThostFtdcDepthMarketDataField::set_updatemillisec(::int32_t value) {
_internal_set_updatemillisec(value);
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.UpdateMillisec)
}
inline ::int32_t CThostFtdcDepthMarketDataField::_internal_updatemillisec() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.updatemillisec_;
}
inline void CThostFtdcDepthMarketDataField::_internal_set_updatemillisec(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.updatemillisec_ = value;
}
// double BidPrice1 = 23;
inline void CThostFtdcDepthMarketDataField::clear_bidprice1() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.bidprice1_ = 0;
}
inline double CThostFtdcDepthMarketDataField::bidprice1() const {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.BidPrice1)
return _internal_bidprice1();
}
inline void CThostFtdcDepthMarketDataField::set_bidprice1(double value) {
_internal_set_bidprice1(value);
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.BidPrice1)
}
inline double CThostFtdcDepthMarketDataField::_internal_bidprice1() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.bidprice1_;
}
inline void CThostFtdcDepthMarketDataField::_internal_set_bidprice1(double value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.bidprice1_ = value;
}
// int32 BidVolume1 = 24;
inline void CThostFtdcDepthMarketDataField::clear_bidvolume1() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.bidvolume1_ = 0;
}
inline ::int32_t CThostFtdcDepthMarketDataField::bidvolume1() const {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.BidVolume1)
return _internal_bidvolume1();
}
inline void CThostFtdcDepthMarketDataField::set_bidvolume1(::int32_t value) {
_internal_set_bidvolume1(value);
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.BidVolume1)
}
inline ::int32_t CThostFtdcDepthMarketDataField::_internal_bidvolume1() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.bidvolume1_;
}
inline void CThostFtdcDepthMarketDataField::_internal_set_bidvolume1(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.bidvolume1_ = value;
}
// double AskPrice1 = 25;
inline void CThostFtdcDepthMarketDataField::clear_askprice1() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.askprice1_ = 0;
}
inline double CThostFtdcDepthMarketDataField::askprice1() const {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.AskPrice1)
return _internal_askprice1();
}
inline void CThostFtdcDepthMarketDataField::set_askprice1(double value) {
_internal_set_askprice1(value);
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.AskPrice1)
}
inline double CThostFtdcDepthMarketDataField::_internal_askprice1() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.askprice1_;
}
inline void CThostFtdcDepthMarketDataField::_internal_set_askprice1(double value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.askprice1_ = value;
}
// int32 AskVolume1 = 26;
inline void CThostFtdcDepthMarketDataField::clear_askvolume1() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.askvolume1_ = 0;
}
inline ::int32_t CThostFtdcDepthMarketDataField::askvolume1() const {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.AskVolume1)
return _internal_askvolume1();
}
inline void CThostFtdcDepthMarketDataField::set_askvolume1(::int32_t value) {
_internal_set_askvolume1(value);
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.AskVolume1)
}
inline ::int32_t CThostFtdcDepthMarketDataField::_internal_askvolume1() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.askvolume1_;
}
inline void CThostFtdcDepthMarketDataField::_internal_set_askvolume1(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.askvolume1_ = value;
}
// double BidPrice2 = 27;
inline void CThostFtdcDepthMarketDataField::clear_bidprice2() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.bidprice2_ = 0;
}
inline double CThostFtdcDepthMarketDataField::bidprice2() const {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.BidPrice2)
return _internal_bidprice2();
}
inline void CThostFtdcDepthMarketDataField::set_bidprice2(double value) {
_internal_set_bidprice2(value);
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.BidPrice2)
}
inline double CThostFtdcDepthMarketDataField::_internal_bidprice2() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.bidprice2_;
}
inline void CThostFtdcDepthMarketDataField::_internal_set_bidprice2(double value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.bidprice2_ = value;
}
// int32 BidVolume2 = 28;
inline void CThostFtdcDepthMarketDataField::clear_bidvolume2() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.bidvolume2_ = 0;
}
inline ::int32_t CThostFtdcDepthMarketDataField::bidvolume2() const {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.BidVolume2)
return _internal_bidvolume2();
}
inline void CThostFtdcDepthMarketDataField::set_bidvolume2(::int32_t value) {
_internal_set_bidvolume2(value);
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.BidVolume2)
}
inline ::int32_t CThostFtdcDepthMarketDataField::_internal_bidvolume2() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.bidvolume2_;
}
inline void CThostFtdcDepthMarketDataField::_internal_set_bidvolume2(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.bidvolume2_ = value;
}
// double AskPrice2 = 29;
inline void CThostFtdcDepthMarketDataField::clear_askprice2() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.askprice2_ = 0;
}
inline double CThostFtdcDepthMarketDataField::askprice2() const {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.AskPrice2)
return _internal_askprice2();
}
inline void CThostFtdcDepthMarketDataField::set_askprice2(double value) {
_internal_set_askprice2(value);
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.AskPrice2)
}
inline double CThostFtdcDepthMarketDataField::_internal_askprice2() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.askprice2_;
}
inline void CThostFtdcDepthMarketDataField::_internal_set_askprice2(double value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.askprice2_ = value;
}
// int32 AskVolume2 = 30;
inline void CThostFtdcDepthMarketDataField::clear_askvolume2() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.askvolume2_ = 0;
}
inline ::int32_t CThostFtdcDepthMarketDataField::askvolume2() const {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.AskVolume2)
return _internal_askvolume2();
}
inline void CThostFtdcDepthMarketDataField::set_askvolume2(::int32_t value) {
_internal_set_askvolume2(value);
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.AskVolume2)
}
inline ::int32_t CThostFtdcDepthMarketDataField::_internal_askvolume2() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.askvolume2_;
}
inline void CThostFtdcDepthMarketDataField::_internal_set_askvolume2(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.askvolume2_ = value;
}
// double BidPrice3 = 31;
inline void CThostFtdcDepthMarketDataField::clear_bidprice3() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.bidprice3_ = 0;
}
inline double CThostFtdcDepthMarketDataField::bidprice3() const {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.BidPrice3)
return _internal_bidprice3();
}
inline void CThostFtdcDepthMarketDataField::set_bidprice3(double value) {
_internal_set_bidprice3(value);
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.BidPrice3)
}
inline double CThostFtdcDepthMarketDataField::_internal_bidprice3() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.bidprice3_;
}
inline void CThostFtdcDepthMarketDataField::_internal_set_bidprice3(double value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.bidprice3_ = value;
}
// int32 BidVolume3 = 32;
inline void CThostFtdcDepthMarketDataField::clear_bidvolume3() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.bidvolume3_ = 0;
}
inline ::int32_t CThostFtdcDepthMarketDataField::bidvolume3() const {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.BidVolume3)
return _internal_bidvolume3();
}
inline void CThostFtdcDepthMarketDataField::set_bidvolume3(::int32_t value) {
_internal_set_bidvolume3(value);
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.BidVolume3)
}
inline ::int32_t CThostFtdcDepthMarketDataField::_internal_bidvolume3() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.bidvolume3_;
}
inline void CThostFtdcDepthMarketDataField::_internal_set_bidvolume3(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.bidvolume3_ = value;
}
// double AskPrice3 = 33;
inline void CThostFtdcDepthMarketDataField::clear_askprice3() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.askprice3_ = 0;
}
inline double CThostFtdcDepthMarketDataField::askprice3() const {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.AskPrice3)
return _internal_askprice3();
}
inline void CThostFtdcDepthMarketDataField::set_askprice3(double value) {
_internal_set_askprice3(value);
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.AskPrice3)
}
inline double CThostFtdcDepthMarketDataField::_internal_askprice3() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.askprice3_;
}
inline void CThostFtdcDepthMarketDataField::_internal_set_askprice3(double value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.askprice3_ = value;
}
// int32 AskVolume3 = 34;
inline void CThostFtdcDepthMarketDataField::clear_askvolume3() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.askvolume3_ = 0;
}
inline ::int32_t CThostFtdcDepthMarketDataField::askvolume3() const {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.AskVolume3)
return _internal_askvolume3();
}
inline void CThostFtdcDepthMarketDataField::set_askvolume3(::int32_t value) {
_internal_set_askvolume3(value);
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.AskVolume3)
}
inline ::int32_t CThostFtdcDepthMarketDataField::_internal_askvolume3() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.askvolume3_;
}
inline void CThostFtdcDepthMarketDataField::_internal_set_askvolume3(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.askvolume3_ = value;
}
// double BidPrice4 = 35;
inline void CThostFtdcDepthMarketDataField::clear_bidprice4() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.bidprice4_ = 0;
}
inline double CThostFtdcDepthMarketDataField::bidprice4() const {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.BidPrice4)
return _internal_bidprice4();
}
inline void CThostFtdcDepthMarketDataField::set_bidprice4(double value) {
_internal_set_bidprice4(value);
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.BidPrice4)
}
inline double CThostFtdcDepthMarketDataField::_internal_bidprice4() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.bidprice4_;
}
inline void CThostFtdcDepthMarketDataField::_internal_set_bidprice4(double value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.bidprice4_ = value;
}
// int32 BidVolume4 = 36;
inline void CThostFtdcDepthMarketDataField::clear_bidvolume4() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.bidvolume4_ = 0;
}
inline ::int32_t CThostFtdcDepthMarketDataField::bidvolume4() const {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.BidVolume4)
return _internal_bidvolume4();
}
inline void CThostFtdcDepthMarketDataField::set_bidvolume4(::int32_t value) {
_internal_set_bidvolume4(value);
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.BidVolume4)
}
inline ::int32_t CThostFtdcDepthMarketDataField::_internal_bidvolume4() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.bidvolume4_;
}
inline void CThostFtdcDepthMarketDataField::_internal_set_bidvolume4(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.bidvolume4_ = value;
}
// double AskPrice4 = 37;
inline void CThostFtdcDepthMarketDataField::clear_askprice4() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.askprice4_ = 0;
}
inline double CThostFtdcDepthMarketDataField::askprice4() const {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.AskPrice4)
return _internal_askprice4();
}
inline void CThostFtdcDepthMarketDataField::set_askprice4(double value) {
_internal_set_askprice4(value);
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.AskPrice4)
}
inline double CThostFtdcDepthMarketDataField::_internal_askprice4() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.askprice4_;
}
inline void CThostFtdcDepthMarketDataField::_internal_set_askprice4(double value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.askprice4_ = value;
}
// int32 AskVolume4 = 38;
inline void CThostFtdcDepthMarketDataField::clear_askvolume4() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.askvolume4_ = 0;
}
inline ::int32_t CThostFtdcDepthMarketDataField::askvolume4() const {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.AskVolume4)
return _internal_askvolume4();
}
inline void CThostFtdcDepthMarketDataField::set_askvolume4(::int32_t value) {
_internal_set_askvolume4(value);
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.AskVolume4)
}
inline ::int32_t CThostFtdcDepthMarketDataField::_internal_askvolume4() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.askvolume4_;
}
inline void CThostFtdcDepthMarketDataField::_internal_set_askvolume4(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.askvolume4_ = value;
}
// double BidPrice5 = 39;
inline void CThostFtdcDepthMarketDataField::clear_bidprice5() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.bidprice5_ = 0;
}
inline double CThostFtdcDepthMarketDataField::bidprice5() const {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.BidPrice5)
return _internal_bidprice5();
}
inline void CThostFtdcDepthMarketDataField::set_bidprice5(double value) {
_internal_set_bidprice5(value);
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.BidPrice5)
}
inline double CThostFtdcDepthMarketDataField::_internal_bidprice5() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.bidprice5_;
}
inline void CThostFtdcDepthMarketDataField::_internal_set_bidprice5(double value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.bidprice5_ = value;
}
// int32 BidVolume5 = 40;
inline void CThostFtdcDepthMarketDataField::clear_bidvolume5() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.bidvolume5_ = 0;
}
inline ::int32_t CThostFtdcDepthMarketDataField::bidvolume5() const {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.BidVolume5)
return _internal_bidvolume5();
}
inline void CThostFtdcDepthMarketDataField::set_bidvolume5(::int32_t value) {
_internal_set_bidvolume5(value);
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.BidVolume5)
}
inline ::int32_t CThostFtdcDepthMarketDataField::_internal_bidvolume5() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.bidvolume5_;
}
inline void CThostFtdcDepthMarketDataField::_internal_set_bidvolume5(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.bidvolume5_ = value;
}
// double AskPrice5 = 41;
inline void CThostFtdcDepthMarketDataField::clear_askprice5() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.askprice5_ = 0;
}
inline double CThostFtdcDepthMarketDataField::askprice5() const {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.AskPrice5)
return _internal_askprice5();
}
inline void CThostFtdcDepthMarketDataField::set_askprice5(double value) {
_internal_set_askprice5(value);
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.AskPrice5)
}
inline double CThostFtdcDepthMarketDataField::_internal_askprice5() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.askprice5_;
}
inline void CThostFtdcDepthMarketDataField::_internal_set_askprice5(double value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.askprice5_ = value;
}
// int32 AskVolume5 = 42;
inline void CThostFtdcDepthMarketDataField::clear_askvolume5() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.askvolume5_ = 0;
}
inline ::int32_t CThostFtdcDepthMarketDataField::askvolume5() const {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.AskVolume5)
return _internal_askvolume5();
}
inline void CThostFtdcDepthMarketDataField::set_askvolume5(::int32_t value) {
_internal_set_askvolume5(value);
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.AskVolume5)
}
inline ::int32_t CThostFtdcDepthMarketDataField::_internal_askvolume5() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.askvolume5_;
}
inline void CThostFtdcDepthMarketDataField::_internal_set_askvolume5(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.askvolume5_ = value;
}
// double AveragePrice = 43;
inline void CThostFtdcDepthMarketDataField::clear_averageprice() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.averageprice_ = 0;
}
inline double CThostFtdcDepthMarketDataField::averageprice() const {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.AveragePrice)
return _internal_averageprice();
}
inline void CThostFtdcDepthMarketDataField::set_averageprice(double value) {
_internal_set_averageprice(value);
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.AveragePrice)
}
inline double CThostFtdcDepthMarketDataField::_internal_averageprice() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.averageprice_;
}
inline void CThostFtdcDepthMarketDataField::_internal_set_averageprice(double value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.averageprice_ = value;
}
// string ActionDay = 44;
inline void CThostFtdcDepthMarketDataField::clear_actionday() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.actionday_.ClearToEmpty();
}
inline const std::string& CThostFtdcDepthMarketDataField::actionday() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.ActionDay)
return _internal_actionday();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void CThostFtdcDepthMarketDataField::set_actionday(Arg_&& arg,
Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.actionday_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.ActionDay)
}
inline std::string* CThostFtdcDepthMarketDataField::mutable_actionday() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_actionday();
// @@protoc_insertion_point(field_mutable:market_data.CThostFtdcDepthMarketDataField.ActionDay)
return _s;
}
inline const std::string& CThostFtdcDepthMarketDataField::_internal_actionday() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.actionday_.Get();
}
inline void CThostFtdcDepthMarketDataField::_internal_set_actionday(const std::string& value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.actionday_.Set(value, GetArena());
}
inline std::string* CThostFtdcDepthMarketDataField::_internal_mutable_actionday() {
::google::protobuf::internal::TSanWrite(&_impl_);
return _impl_.actionday_.Mutable( GetArena());
}
inline std::string* CThostFtdcDepthMarketDataField::release_actionday() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:market_data.CThostFtdcDepthMarketDataField.ActionDay)
return _impl_.actionday_.Release();
}
inline void CThostFtdcDepthMarketDataField::set_allocated_actionday(std::string* value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.actionday_.SetAllocated(value, GetArena());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.actionday_.IsDefault()) {
_impl_.actionday_.Set("", GetArena());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:market_data.CThostFtdcDepthMarketDataField.ActionDay)
}
// string InstrumentID = 45;
inline void CThostFtdcDepthMarketDataField::clear_instrumentid() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.instrumentid_.ClearToEmpty();
}
inline const std::string& CThostFtdcDepthMarketDataField::instrumentid() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.InstrumentID)
return _internal_instrumentid();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void CThostFtdcDepthMarketDataField::set_instrumentid(Arg_&& arg,
Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.instrumentid_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.InstrumentID)
}
inline std::string* CThostFtdcDepthMarketDataField::mutable_instrumentid() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_instrumentid();
// @@protoc_insertion_point(field_mutable:market_data.CThostFtdcDepthMarketDataField.InstrumentID)
return _s;
}
inline const std::string& CThostFtdcDepthMarketDataField::_internal_instrumentid() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.instrumentid_.Get();
}
inline void CThostFtdcDepthMarketDataField::_internal_set_instrumentid(const std::string& value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.instrumentid_.Set(value, GetArena());
}
inline std::string* CThostFtdcDepthMarketDataField::_internal_mutable_instrumentid() {
::google::protobuf::internal::TSanWrite(&_impl_);
return _impl_.instrumentid_.Mutable( GetArena());
}
inline std::string* CThostFtdcDepthMarketDataField::release_instrumentid() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:market_data.CThostFtdcDepthMarketDataField.InstrumentID)
return _impl_.instrumentid_.Release();
}
inline void CThostFtdcDepthMarketDataField::set_allocated_instrumentid(std::string* value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.instrumentid_.SetAllocated(value, GetArena());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.instrumentid_.IsDefault()) {
_impl_.instrumentid_.Set("", GetArena());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:market_data.CThostFtdcDepthMarketDataField.InstrumentID)
}
// string ExchangeInstID = 46;
inline void CThostFtdcDepthMarketDataField::clear_exchangeinstid() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.exchangeinstid_.ClearToEmpty();
}
inline const std::string& CThostFtdcDepthMarketDataField::exchangeinstid() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:market_data.CThostFtdcDepthMarketDataField.ExchangeInstID)
return _internal_exchangeinstid();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void CThostFtdcDepthMarketDataField::set_exchangeinstid(Arg_&& arg,
Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.exchangeinstid_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
// @@protoc_insertion_point(field_set:market_data.CThostFtdcDepthMarketDataField.ExchangeInstID)
}
inline std::string* CThostFtdcDepthMarketDataField::mutable_exchangeinstid() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_exchangeinstid();
// @@protoc_insertion_point(field_mutable:market_data.CThostFtdcDepthMarketDataField.ExchangeInstID)
return _s;
}
inline const std::string& CThostFtdcDepthMarketDataField::_internal_exchangeinstid() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.exchangeinstid_.Get();
}
inline void CThostFtdcDepthMarketDataField::_internal_set_exchangeinstid(const std::string& value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.exchangeinstid_.Set(value, GetArena());
}
inline std::string* CThostFtdcDepthMarketDataField::_internal_mutable_exchangeinstid() {
::google::protobuf::internal::TSanWrite(&_impl_);
return _impl_.exchangeinstid_.Mutable( GetArena());
}
inline std::string* CThostFtdcDepthMarketDataField::release_exchangeinstid() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:market_data.CThostFtdcDepthMarketDataField.ExchangeInstID)
return _impl_.exchangeinstid_.Release();
}
inline void CThostFtdcDepthMarketDataField::set_allocated_exchangeinstid(std::string* value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.exchangeinstid_.SetAllocated(value, GetArena());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.exchangeinstid_.IsDefault()) {
_impl_.exchangeinstid_.Set("", GetArena());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:market_data.CThostFtdcDepthMarketDataField.ExchangeInstID)
}
// -------------------------------------------------------------------
// ResMsg
// string signame = 1;
inline void ResMsg::clear_signame() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.signame_.ClearToEmpty();
}
inline const std::string& ResMsg::signame() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:market_data.ResMsg.signame)
return _internal_signame();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void ResMsg::set_signame(Arg_&& arg,
Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.signame_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
// @@protoc_insertion_point(field_set:market_data.ResMsg.signame)
}
inline std::string* ResMsg::mutable_signame() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_signame();
// @@protoc_insertion_point(field_mutable:market_data.ResMsg.signame)
return _s;
}
inline const std::string& ResMsg::_internal_signame() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.signame_.Get();
}
inline void ResMsg::_internal_set_signame(const std::string& value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.signame_.Set(value, GetArena());
}
inline std::string* ResMsg::_internal_mutable_signame() {
::google::protobuf::internal::TSanWrite(&_impl_);
return _impl_.signame_.Mutable( GetArena());
}
inline std::string* ResMsg::release_signame() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:market_data.ResMsg.signame)
return _impl_.signame_.Release();
}
inline void ResMsg::set_allocated_signame(std::string* value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.signame_.SetAllocated(value, GetArena());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.signame_.IsDefault()) {
_impl_.signame_.Set("", GetArena());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:market_data.ResMsg.signame)
}
// string InstrumentID = 2;
inline void ResMsg::clear_instrumentid() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.instrumentid_.ClearToEmpty();
}
inline const std::string& ResMsg::instrumentid() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:market_data.ResMsg.InstrumentID)
return _internal_instrumentid();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void ResMsg::set_instrumentid(Arg_&& arg,
Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.instrumentid_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
// @@protoc_insertion_point(field_set:market_data.ResMsg.InstrumentID)
}
inline std::string* ResMsg::mutable_instrumentid() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_instrumentid();
// @@protoc_insertion_point(field_mutable:market_data.ResMsg.InstrumentID)
return _s;
}
inline const std::string& ResMsg::_internal_instrumentid() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.instrumentid_.Get();
}
inline void ResMsg::_internal_set_instrumentid(const std::string& value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.instrumentid_.Set(value, GetArena());
}
inline std::string* ResMsg::_internal_mutable_instrumentid() {
::google::protobuf::internal::TSanWrite(&_impl_);
return _impl_.instrumentid_.Mutable( GetArena());
}
inline std::string* ResMsg::release_instrumentid() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:market_data.ResMsg.InstrumentID)
return _impl_.instrumentid_.Release();
}
inline void ResMsg::set_allocated_instrumentid(std::string* value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.instrumentid_.SetAllocated(value, GetArena());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.instrumentid_.IsDefault()) {
_impl_.instrumentid_.Set("", GetArena());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:market_data.ResMsg.InstrumentID)
}
// int32 sigflag = 3;
inline void ResMsg::clear_sigflag() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.sigflag_ = 0;
}
inline ::int32_t ResMsg::sigflag() const {
// @@protoc_insertion_point(field_get:market_data.ResMsg.sigflag)
return _internal_sigflag();
}
inline void ResMsg::set_sigflag(::int32_t value) {
_internal_set_sigflag(value);
// @@protoc_insertion_point(field_set:market_data.ResMsg.sigflag)
}
inline ::int32_t ResMsg::_internal_sigflag() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.sigflag_;
}
inline void ResMsg::_internal_set_sigflag(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.sigflag_ = value;
}
// double sigvalue = 4;
inline void ResMsg::clear_sigvalue() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.sigvalue_ = 0;
}
inline double ResMsg::sigvalue() const {
// @@protoc_insertion_point(field_get:market_data.ResMsg.sigvalue)
return _internal_sigvalue();
}
inline void ResMsg::set_sigvalue(double value) {
_internal_set_sigvalue(value);
// @@protoc_insertion_point(field_set:market_data.ResMsg.sigvalue)
}
inline double ResMsg::_internal_sigvalue() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.sigvalue_;
}
inline void ResMsg::_internal_set_sigvalue(double value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.sigvalue_ = value;
}
// string offset = 5;
inline void ResMsg::clear_offset() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.offset_.ClearToEmpty();
}
inline const std::string& ResMsg::offset() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:market_data.ResMsg.offset)
return _internal_offset();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void ResMsg::set_offset(Arg_&& arg,
Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.offset_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
// @@protoc_insertion_point(field_set:market_data.ResMsg.offset)
}
inline std::string* ResMsg::mutable_offset() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_offset();
// @@protoc_insertion_point(field_mutable:market_data.ResMsg.offset)
return _s;
}
inline const std::string& ResMsg::_internal_offset() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.offset_.Get();
}
inline void ResMsg::_internal_set_offset(const std::string& value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.offset_.Set(value, GetArena());
}
inline std::string* ResMsg::_internal_mutable_offset() {
::google::protobuf::internal::TSanWrite(&_impl_);
return _impl_.offset_.Mutable( GetArena());
}
inline std::string* ResMsg::release_offset() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:market_data.ResMsg.offset)
return _impl_.offset_.Release();
}
inline void ResMsg::set_allocated_offset(std::string* value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.offset_.SetAllocated(value, GetArena());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.offset_.IsDefault()) {
_impl_.offset_.Set("", GetArena());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:market_data.ResMsg.offset)
}
// string dir = 6;
inline void ResMsg::clear_dir() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.dir_.ClearToEmpty();
}
inline const std::string& ResMsg::dir() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:market_data.ResMsg.dir)
return _internal_dir();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void ResMsg::set_dir(Arg_&& arg,
Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.dir_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
// @@protoc_insertion_point(field_set:market_data.ResMsg.dir)
}
inline std::string* ResMsg::mutable_dir() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_dir();
// @@protoc_insertion_point(field_mutable:market_data.ResMsg.dir)
return _s;
}
inline const std::string& ResMsg::_internal_dir() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.dir_.Get();
}
inline void ResMsg::_internal_set_dir(const std::string& value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.dir_.Set(value, GetArena());
}
inline std::string* ResMsg::_internal_mutable_dir() {
::google::protobuf::internal::TSanWrite(&_impl_);
return _impl_.dir_.Mutable( GetArena());
}
inline std::string* ResMsg::release_dir() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:market_data.ResMsg.dir)
return _impl_.dir_.Release();
}
inline void ResMsg::set_allocated_dir(std::string* value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.dir_.SetAllocated(value, GetArena());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.dir_.IsDefault()) {
_impl_.dir_.Set("", GetArena());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:market_data.ResMsg.dir)
}
// int32 vol = 7;
inline void ResMsg::clear_vol() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.vol_ = 0;
}
inline ::int32_t ResMsg::vol() const {
// @@protoc_insertion_point(field_get:market_data.ResMsg.vol)
return _internal_vol();
}
inline void ResMsg::set_vol(::int32_t value) {
_internal_set_vol(value);
// @@protoc_insertion_point(field_set:market_data.ResMsg.vol)
}
inline ::int32_t ResMsg::_internal_vol() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.vol_;
}
inline void ResMsg::_internal_set_vol(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.vol_ = value;
}
// repeated double other_params = 8;
inline int ResMsg::_internal_other_params_size() const {
return _internal_other_params().size();
}
inline int ResMsg::other_params_size() const {
return _internal_other_params_size();
}
inline void ResMsg::clear_other_params() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.other_params_.Clear();
}
inline double ResMsg::other_params(int index) const {
// @@protoc_insertion_point(field_get:market_data.ResMsg.other_params)
return _internal_other_params().Get(index);
}
inline void ResMsg::set_other_params(int index, double value) {
_internal_mutable_other_params()->Set(index, value);
// @@protoc_insertion_point(field_set:market_data.ResMsg.other_params)
}
inline void ResMsg::add_other_params(double value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_internal_mutable_other_params()->Add(value);
// @@protoc_insertion_point(field_add:market_data.ResMsg.other_params)
}
inline const ::google::protobuf::RepeatedField<double>& ResMsg::other_params() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_list:market_data.ResMsg.other_params)
return _internal_other_params();
}
inline ::google::protobuf::RepeatedField<double>* ResMsg::mutable_other_params()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_mutable_list:market_data.ResMsg.other_params)
::google::protobuf::internal::TSanWrite(&_impl_);
return _internal_mutable_other_params();
}
inline const ::google::protobuf::RepeatedField<double>&
ResMsg::_internal_other_params() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.other_params_;
}
inline ::google::protobuf::RepeatedField<double>* ResMsg::_internal_mutable_other_params() {
::google::protobuf::internal::TSanRead(&_impl_);
return &_impl_.other_params_;
}
// repeated string other_msg = 9;
inline int ResMsg::_internal_other_msg_size() const {
return _internal_other_msg().size();
}
inline int ResMsg::other_msg_size() const {
return _internal_other_msg_size();
}
inline void ResMsg::clear_other_msg() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.other_msg_.Clear();
}
inline std::string* ResMsg::add_other_msg() ABSL_ATTRIBUTE_LIFETIME_BOUND {
::google::protobuf::internal::TSanWrite(&_impl_);
std::string* _s = _internal_mutable_other_msg()->Add();
// @@protoc_insertion_point(field_add_mutable:market_data.ResMsg.other_msg)
return _s;
}
inline const std::string& ResMsg::other_msg(int index) const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:market_data.ResMsg.other_msg)
return _internal_other_msg().Get(index);
}
inline std::string* ResMsg::mutable_other_msg(int index)
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_mutable:market_data.ResMsg.other_msg)
return _internal_mutable_other_msg()->Mutable(index);
}
template <typename Arg_, typename... Args_>
inline void ResMsg::set_other_msg(int index, Arg_&& value, Args_... args) {
::google::protobuf::internal::AssignToString(
*_internal_mutable_other_msg()->Mutable(index),
std::forward<Arg_>(value), args... );
// @@protoc_insertion_point(field_set:market_data.ResMsg.other_msg)
}
template <typename Arg_, typename... Args_>
inline void ResMsg::add_other_msg(Arg_&& value, Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_other_msg(),
std::forward<Arg_>(value),
args... );
// @@protoc_insertion_point(field_add:market_data.ResMsg.other_msg)
}
inline const ::google::protobuf::RepeatedPtrField<std::string>&
ResMsg::other_msg() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_list:market_data.ResMsg.other_msg)
return _internal_other_msg();
}
inline ::google::protobuf::RepeatedPtrField<std::string>*
ResMsg::mutable_other_msg() ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_mutable_list:market_data.ResMsg.other_msg)
::google::protobuf::internal::TSanWrite(&_impl_);
return _internal_mutable_other_msg();
}
inline const ::google::protobuf::RepeatedPtrField<std::string>&
ResMsg::_internal_other_msg() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.other_msg_;
}
inline ::google::protobuf::RepeatedPtrField<std::string>*
ResMsg::_internal_mutable_other_msg() {
::google::protobuf::internal::TSanRead(&_impl_);
return &_impl_.other_msg_;
}
// -------------------------------------------------------------------
// MsgReply
// string message = 1;
inline void MsgReply::clear_message() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.message_.ClearToEmpty();
}
inline const std::string& MsgReply::message() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:market_data.MsgReply.message)
return _internal_message();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void MsgReply::set_message(Arg_&& arg,
Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.message_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
// @@protoc_insertion_point(field_set:market_data.MsgReply.message)
}
inline std::string* MsgReply::mutable_message() ABSL_ATTRIBUTE_LIFETIME_BOUND {
std::string* _s = _internal_mutable_message();
// @@protoc_insertion_point(field_mutable:market_data.MsgReply.message)
return _s;
}
inline const std::string& MsgReply::_internal_message() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.message_.Get();
}
inline void MsgReply::_internal_set_message(const std::string& value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.message_.Set(value, GetArena());
}
inline std::string* MsgReply::_internal_mutable_message() {
::google::protobuf::internal::TSanWrite(&_impl_);
return _impl_.message_.Mutable( GetArena());
}
inline std::string* MsgReply::release_message() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:market_data.MsgReply.message)
return _impl_.message_.Release();
}
inline void MsgReply::set_allocated_message(std::string* value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.message_.SetAllocated(value, GetArena());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.message_.IsDefault()) {
_impl_.message_.Set("", GetArena());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:market_data.MsgReply.message)
}
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif // __GNUC__
// @@protoc_insertion_point(namespace_scope)
} // namespace market_data
// @@protoc_insertion_point(global_scope)
#include "google/protobuf/port_undef.inc"
#endif // GOOGLE_PROTOBUF_INCLUDED_market_5fdata_2eproto_2epb_2eh