GrpcPrint/PrintS/protobuf/stream.pb.h
2024-04-08 13:43:56 +08:00

991 lines
35 KiB
C++

// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: stream.proto
#ifndef GOOGLE_PROTOBUF_INCLUDED_stream_2eproto_2epb_2eh
#define GOOGLE_PROTOBUF_INCLUDED_stream_2eproto_2epb_2eh
#include <limits>
#include <string>
#include <type_traits>
#include "google/protobuf/port_def.inc"
#if PROTOBUF_VERSION < 4024000
#error "This file was generated by a newer version of protoc which is"
#error "incompatible with your Protocol Buffer headers. Please update"
#error "your headers."
#endif // PROTOBUF_VERSION
#if 4024003 < PROTOBUF_MIN_PROTOC_VERSION
#error "This file was generated by an older version of protoc which is"
#error "incompatible with your Protocol Buffer headers. Please"
#error "regenerate this file with a newer version of protoc."
#endif // PROTOBUF_MIN_PROTOC_VERSION
#include "google/protobuf/port_undef.inc"
#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/generated_enum_reflection.h"
#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_stream_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_stream_2eproto {
static const ::uint32_t offsets[];
};
extern const ::google::protobuf::internal::DescriptorTable
descriptor_table_stream_2eproto;
namespace stream {
class RequestInfo;
struct RequestInfoDefaultTypeInternal;
extern RequestInfoDefaultTypeInternal _RequestInfo_default_instance_;
class ResponseInfo;
struct ResponseInfoDefaultTypeInternal;
extern ResponseInfoDefaultTypeInternal _ResponseInfo_default_instance_;
} // namespace stream
namespace google {
namespace protobuf {
} // namespace protobuf
} // namespace google
namespace stream {
enum RequestInfo_TYPE : int {
RequestInfo_TYPE_iBOOL = 0,
RequestInfo_TYPE_iSHORT = 1,
RequestInfo_TYPE_iUSHORT = 2,
RequestInfo_TYPE_iINT = 3,
RequestInfo_TYPE_iUINT = 4,
RequestInfo_TYPE_iFLOAT = 5,
RequestInfo_TYPE_iSTRING = 6,
RequestInfo_TYPE_RequestInfo_TYPE_INT_MIN_SENTINEL_DO_NOT_USE_ =
std::numeric_limits<::int32_t>::min(),
RequestInfo_TYPE_RequestInfo_TYPE_INT_MAX_SENTINEL_DO_NOT_USE_ =
std::numeric_limits<::int32_t>::max(),
};
bool RequestInfo_TYPE_IsValid(int value);
constexpr RequestInfo_TYPE RequestInfo_TYPE_TYPE_MIN = static_cast<RequestInfo_TYPE>(0);
constexpr RequestInfo_TYPE RequestInfo_TYPE_TYPE_MAX = static_cast<RequestInfo_TYPE>(6);
constexpr int RequestInfo_TYPE_TYPE_ARRAYSIZE = 6 + 1;
const ::google::protobuf::EnumDescriptor*
RequestInfo_TYPE_descriptor();
template <typename T>
const std::string& RequestInfo_TYPE_Name(T value) {
static_assert(std::is_same<T, RequestInfo_TYPE>::value ||
std::is_integral<T>::value,
"Incorrect type passed to TYPE_Name().");
return RequestInfo_TYPE_Name(static_cast<RequestInfo_TYPE>(value));
}
template <>
inline const std::string& RequestInfo_TYPE_Name(RequestInfo_TYPE value) {
return ::google::protobuf::internal::NameOfDenseEnum<RequestInfo_TYPE_descriptor,
0, 6>(
static_cast<int>(value));
}
inline bool RequestInfo_TYPE_Parse(absl::string_view name, RequestInfo_TYPE* value) {
return ::google::protobuf::internal::ParseNamedEnum<RequestInfo_TYPE>(
RequestInfo_TYPE_descriptor(), name, value);
}
enum ResponseInfo_TYPE : int {
ResponseInfo_TYPE_iBOOL = 0,
ResponseInfo_TYPE_iSHORT = 1,
ResponseInfo_TYPE_iUSHORT = 2,
ResponseInfo_TYPE_iINT = 3,
ResponseInfo_TYPE_iUINT = 4,
ResponseInfo_TYPE_iFLOAT = 5,
ResponseInfo_TYPE_iSTRING = 6,
ResponseInfo_TYPE_ResponseInfo_TYPE_INT_MIN_SENTINEL_DO_NOT_USE_ =
std::numeric_limits<::int32_t>::min(),
ResponseInfo_TYPE_ResponseInfo_TYPE_INT_MAX_SENTINEL_DO_NOT_USE_ =
std::numeric_limits<::int32_t>::max(),
};
bool ResponseInfo_TYPE_IsValid(int value);
constexpr ResponseInfo_TYPE ResponseInfo_TYPE_TYPE_MIN = static_cast<ResponseInfo_TYPE>(0);
constexpr ResponseInfo_TYPE ResponseInfo_TYPE_TYPE_MAX = static_cast<ResponseInfo_TYPE>(6);
constexpr int ResponseInfo_TYPE_TYPE_ARRAYSIZE = 6 + 1;
const ::google::protobuf::EnumDescriptor*
ResponseInfo_TYPE_descriptor();
template <typename T>
const std::string& ResponseInfo_TYPE_Name(T value) {
static_assert(std::is_same<T, ResponseInfo_TYPE>::value ||
std::is_integral<T>::value,
"Incorrect type passed to TYPE_Name().");
return ResponseInfo_TYPE_Name(static_cast<ResponseInfo_TYPE>(value));
}
template <>
inline const std::string& ResponseInfo_TYPE_Name(ResponseInfo_TYPE value) {
return ::google::protobuf::internal::NameOfDenseEnum<ResponseInfo_TYPE_descriptor,
0, 6>(
static_cast<int>(value));
}
inline bool ResponseInfo_TYPE_Parse(absl::string_view name, ResponseInfo_TYPE* value) {
return ::google::protobuf::internal::ParseNamedEnum<ResponseInfo_TYPE>(
ResponseInfo_TYPE_descriptor(), name, value);
}
// ===================================================================
// -------------------------------------------------------------------
class RequestInfo final :
public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:stream.RequestInfo) */ {
public:
inline RequestInfo() : RequestInfo(nullptr) {}
~RequestInfo() override;
template<typename = void>
explicit PROTOBUF_CONSTEXPR RequestInfo(::google::protobuf::internal::ConstantInitialized);
RequestInfo(const RequestInfo& from);
RequestInfo(RequestInfo&& from) noexcept
: RequestInfo() {
*this = ::std::move(from);
}
inline RequestInfo& operator=(const RequestInfo& from) {
CopyFrom(from);
return *this;
}
inline RequestInfo& operator=(RequestInfo&& from) noexcept {
if (this == &from) return *this;
if (GetOwningArena() == from.GetOwningArena()
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
&& GetOwningArena() != nullptr
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
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 RequestInfo& default_instance() {
return *internal_default_instance();
}
static inline const RequestInfo* internal_default_instance() {
return reinterpret_cast<const RequestInfo*>(
&_RequestInfo_default_instance_);
}
static constexpr int kIndexInFileMessages =
0;
friend void swap(RequestInfo& a, RequestInfo& b) {
a.Swap(&b);
}
inline void Swap(RequestInfo* other) {
if (other == this) return;
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() != nullptr &&
GetOwningArena() == other->GetOwningArena()) {
#else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(RequestInfo* other) {
if (other == this) return;
ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
RequestInfo* New(::google::protobuf::Arena* arena = nullptr) const final {
return CreateMaybeMessage<RequestInfo>(arena);
}
using ::google::protobuf::Message::CopyFrom;
void CopyFrom(const RequestInfo& from);
using ::google::protobuf::Message::MergeFrom;
void MergeFrom( const RequestInfo& from) {
RequestInfo::MergeImpl(*this, from);
}
private:
static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
::size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
::uint8_t* _InternalSerialize(
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(RequestInfo* other);
private:
friend class ::google::protobuf::internal::AnyMetadata;
static ::absl::string_view FullMessageName() {
return "stream.RequestInfo";
}
protected:
explicit RequestInfo(::google::protobuf::Arena* arena);
public:
static const ClassData _class_data_;
const ::google::protobuf::Message::ClassData*GetClassData() const final;
::google::protobuf::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
using TYPE = RequestInfo_TYPE;
static constexpr TYPE iBOOL = RequestInfo_TYPE_iBOOL;
static constexpr TYPE iSHORT = RequestInfo_TYPE_iSHORT;
static constexpr TYPE iUSHORT = RequestInfo_TYPE_iUSHORT;
static constexpr TYPE iINT = RequestInfo_TYPE_iINT;
static constexpr TYPE iUINT = RequestInfo_TYPE_iUINT;
static constexpr TYPE iFLOAT = RequestInfo_TYPE_iFLOAT;
static constexpr TYPE iSTRING = RequestInfo_TYPE_iSTRING;
static inline bool TYPE_IsValid(int value) {
return RequestInfo_TYPE_IsValid(value);
}
static constexpr TYPE TYPE_MIN = RequestInfo_TYPE_TYPE_MIN;
static constexpr TYPE TYPE_MAX = RequestInfo_TYPE_TYPE_MAX;
static constexpr int TYPE_ARRAYSIZE = RequestInfo_TYPE_TYPE_ARRAYSIZE;
static inline const ::google::protobuf::EnumDescriptor* TYPE_descriptor() {
return RequestInfo_TYPE_descriptor();
}
template <typename T>
static inline const std::string& TYPE_Name(T value) {
return RequestInfo_TYPE_Name(value);
}
static inline bool TYPE_Parse(absl::string_view name, TYPE* value) {
return RequestInfo_TYPE_Parse(name, value);
}
// accessors -------------------------------------------------------
enum : int {
kNameKeyFieldNumber = 2,
kStrValueFieldNumber = 3,
kDataTypeFieldNumber = 1,
kValueTypeFieldNumber = 4,
};
// bytes nameKey = 2;
void clear_namekey() ;
const std::string& namekey() const;
template <typename Arg_ = const std::string&, typename... Args_>
void set_namekey(Arg_&& arg, Args_... args);
std::string* mutable_namekey();
PROTOBUF_NODISCARD std::string* release_namekey();
void set_allocated_namekey(std::string* ptr);
private:
const std::string& _internal_namekey() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_namekey(
const std::string& value);
std::string* _internal_mutable_namekey();
public:
// bytes strValue = 3;
void clear_strvalue() ;
const std::string& strvalue() const;
template <typename Arg_ = const std::string&, typename... Args_>
void set_strvalue(Arg_&& arg, Args_... args);
std::string* mutable_strvalue();
PROTOBUF_NODISCARD std::string* release_strvalue();
void set_allocated_strvalue(std::string* ptr);
private:
const std::string& _internal_strvalue() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_strvalue(
const std::string& value);
std::string* _internal_mutable_strvalue();
public:
// uint32 dataType = 1;
void clear_datatype() ;
::uint32_t datatype() const;
void set_datatype(::uint32_t value);
private:
::uint32_t _internal_datatype() const;
void _internal_set_datatype(::uint32_t value);
public:
// .stream.RequestInfo.TYPE valueType = 4;
void clear_valuetype() ;
::stream::RequestInfo_TYPE valuetype() const;
void set_valuetype(::stream::RequestInfo_TYPE value);
private:
::stream::RequestInfo_TYPE _internal_valuetype() const;
void _internal_set_valuetype(::stream::RequestInfo_TYPE value);
public:
// @@protoc_insertion_point(class_scope:stream.RequestInfo)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<2, 4, 0, 0, 2> _table_;
template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
struct Impl_ {
::google::protobuf::internal::ArenaStringPtr namekey_;
::google::protobuf::internal::ArenaStringPtr strvalue_;
::uint32_t datatype_;
int valuetype_;
mutable ::google::protobuf::internal::CachedSize _cached_size_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_stream_2eproto;
};// -------------------------------------------------------------------
class ResponseInfo final :
public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:stream.ResponseInfo) */ {
public:
inline ResponseInfo() : ResponseInfo(nullptr) {}
~ResponseInfo() override;
template<typename = void>
explicit PROTOBUF_CONSTEXPR ResponseInfo(::google::protobuf::internal::ConstantInitialized);
ResponseInfo(const ResponseInfo& from);
ResponseInfo(ResponseInfo&& from) noexcept
: ResponseInfo() {
*this = ::std::move(from);
}
inline ResponseInfo& operator=(const ResponseInfo& from) {
CopyFrom(from);
return *this;
}
inline ResponseInfo& operator=(ResponseInfo&& from) noexcept {
if (this == &from) return *this;
if (GetOwningArena() == from.GetOwningArena()
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
&& GetOwningArena() != nullptr
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
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 ResponseInfo& default_instance() {
return *internal_default_instance();
}
static inline const ResponseInfo* internal_default_instance() {
return reinterpret_cast<const ResponseInfo*>(
&_ResponseInfo_default_instance_);
}
static constexpr int kIndexInFileMessages =
1;
friend void swap(ResponseInfo& a, ResponseInfo& b) {
a.Swap(&b);
}
inline void Swap(ResponseInfo* other) {
if (other == this) return;
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() != nullptr &&
GetOwningArena() == other->GetOwningArena()) {
#else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(ResponseInfo* other) {
if (other == this) return;
ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
ResponseInfo* New(::google::protobuf::Arena* arena = nullptr) const final {
return CreateMaybeMessage<ResponseInfo>(arena);
}
using ::google::protobuf::Message::CopyFrom;
void CopyFrom(const ResponseInfo& from);
using ::google::protobuf::Message::MergeFrom;
void MergeFrom( const ResponseInfo& from) {
ResponseInfo::MergeImpl(*this, from);
}
private:
static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
::size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
::uint8_t* _InternalSerialize(
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(ResponseInfo* other);
private:
friend class ::google::protobuf::internal::AnyMetadata;
static ::absl::string_view FullMessageName() {
return "stream.ResponseInfo";
}
protected:
explicit ResponseInfo(::google::protobuf::Arena* arena);
public:
static const ClassData _class_data_;
const ::google::protobuf::Message::ClassData*GetClassData() const final;
::google::protobuf::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
using TYPE = ResponseInfo_TYPE;
static constexpr TYPE iBOOL = ResponseInfo_TYPE_iBOOL;
static constexpr TYPE iSHORT = ResponseInfo_TYPE_iSHORT;
static constexpr TYPE iUSHORT = ResponseInfo_TYPE_iUSHORT;
static constexpr TYPE iINT = ResponseInfo_TYPE_iINT;
static constexpr TYPE iUINT = ResponseInfo_TYPE_iUINT;
static constexpr TYPE iFLOAT = ResponseInfo_TYPE_iFLOAT;
static constexpr TYPE iSTRING = ResponseInfo_TYPE_iSTRING;
static inline bool TYPE_IsValid(int value) {
return ResponseInfo_TYPE_IsValid(value);
}
static constexpr TYPE TYPE_MIN = ResponseInfo_TYPE_TYPE_MIN;
static constexpr TYPE TYPE_MAX = ResponseInfo_TYPE_TYPE_MAX;
static constexpr int TYPE_ARRAYSIZE = ResponseInfo_TYPE_TYPE_ARRAYSIZE;
static inline const ::google::protobuf::EnumDescriptor* TYPE_descriptor() {
return ResponseInfo_TYPE_descriptor();
}
template <typename T>
static inline const std::string& TYPE_Name(T value) {
return ResponseInfo_TYPE_Name(value);
}
static inline bool TYPE_Parse(absl::string_view name, TYPE* value) {
return ResponseInfo_TYPE_Parse(name, value);
}
// accessors -------------------------------------------------------
enum : int {
kNameKeyFieldNumber = 3,
kStrValueFieldNumber = 4,
kDataTypeFieldNumber = 1,
kResultFieldNumber = 2,
kValueTypeFieldNumber = 5,
};
// bytes nameKey = 3;
void clear_namekey() ;
const std::string& namekey() const;
template <typename Arg_ = const std::string&, typename... Args_>
void set_namekey(Arg_&& arg, Args_... args);
std::string* mutable_namekey();
PROTOBUF_NODISCARD std::string* release_namekey();
void set_allocated_namekey(std::string* ptr);
private:
const std::string& _internal_namekey() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_namekey(
const std::string& value);
std::string* _internal_mutable_namekey();
public:
// bytes strValue = 4;
void clear_strvalue() ;
const std::string& strvalue() const;
template <typename Arg_ = const std::string&, typename... Args_>
void set_strvalue(Arg_&& arg, Args_... args);
std::string* mutable_strvalue();
PROTOBUF_NODISCARD std::string* release_strvalue();
void set_allocated_strvalue(std::string* ptr);
private:
const std::string& _internal_strvalue() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_strvalue(
const std::string& value);
std::string* _internal_mutable_strvalue();
public:
// uint32 dataType = 1;
void clear_datatype() ;
::uint32_t datatype() const;
void set_datatype(::uint32_t value);
private:
::uint32_t _internal_datatype() const;
void _internal_set_datatype(::uint32_t value);
public:
// bool result = 2;
void clear_result() ;
bool result() const;
void set_result(bool value);
private:
bool _internal_result() const;
void _internal_set_result(bool value);
public:
// .stream.ResponseInfo.TYPE valueType = 5;
void clear_valuetype() ;
::stream::ResponseInfo_TYPE valuetype() const;
void set_valuetype(::stream::ResponseInfo_TYPE value);
private:
::stream::ResponseInfo_TYPE _internal_valuetype() const;
void _internal_set_valuetype(::stream::ResponseInfo_TYPE value);
public:
// @@protoc_insertion_point(class_scope:stream.ResponseInfo)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<3, 5, 0, 0, 2> _table_;
template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
struct Impl_ {
::google::protobuf::internal::ArenaStringPtr namekey_;
::google::protobuf::internal::ArenaStringPtr strvalue_;
::uint32_t datatype_;
bool result_;
int valuetype_;
mutable ::google::protobuf::internal::CachedSize _cached_size_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_stream_2eproto;
};
// ===================================================================
// ===================================================================
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif // __GNUC__
// -------------------------------------------------------------------
// RequestInfo
// uint32 dataType = 1;
inline void RequestInfo::clear_datatype() {
_impl_.datatype_ = 0u;
}
inline ::uint32_t RequestInfo::datatype() const {
// @@protoc_insertion_point(field_get:stream.RequestInfo.dataType)
return _internal_datatype();
}
inline void RequestInfo::set_datatype(::uint32_t value) {
_internal_set_datatype(value);
// @@protoc_insertion_point(field_set:stream.RequestInfo.dataType)
}
inline ::uint32_t RequestInfo::_internal_datatype() const {
PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
return _impl_.datatype_;
}
inline void RequestInfo::_internal_set_datatype(::uint32_t value) {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
;
_impl_.datatype_ = value;
}
// bytes nameKey = 2;
inline void RequestInfo::clear_namekey() {
_impl_.namekey_.ClearToEmpty();
}
inline const std::string& RequestInfo::namekey() const {
// @@protoc_insertion_point(field_get:stream.RequestInfo.nameKey)
return _internal_namekey();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void RequestInfo::set_namekey(Arg_&& arg,
Args_... args) {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
;
_impl_.namekey_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:stream.RequestInfo.nameKey)
}
inline std::string* RequestInfo::mutable_namekey() {
std::string* _s = _internal_mutable_namekey();
// @@protoc_insertion_point(field_mutable:stream.RequestInfo.nameKey)
return _s;
}
inline const std::string& RequestInfo::_internal_namekey() const {
PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
return _impl_.namekey_.Get();
}
inline void RequestInfo::_internal_set_namekey(const std::string& value) {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
;
_impl_.namekey_.Set(value, GetArenaForAllocation());
}
inline std::string* RequestInfo::_internal_mutable_namekey() {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
;
return _impl_.namekey_.Mutable( GetArenaForAllocation());
}
inline std::string* RequestInfo::release_namekey() {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
// @@protoc_insertion_point(field_release:stream.RequestInfo.nameKey)
return _impl_.namekey_.Release();
}
inline void RequestInfo::set_allocated_namekey(std::string* value) {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
_impl_.namekey_.SetAllocated(value, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.namekey_.IsDefault()) {
_impl_.namekey_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:stream.RequestInfo.nameKey)
}
// bytes strValue = 3;
inline void RequestInfo::clear_strvalue() {
_impl_.strvalue_.ClearToEmpty();
}
inline const std::string& RequestInfo::strvalue() const {
// @@protoc_insertion_point(field_get:stream.RequestInfo.strValue)
return _internal_strvalue();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void RequestInfo::set_strvalue(Arg_&& arg,
Args_... args) {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
;
_impl_.strvalue_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:stream.RequestInfo.strValue)
}
inline std::string* RequestInfo::mutable_strvalue() {
std::string* _s = _internal_mutable_strvalue();
// @@protoc_insertion_point(field_mutable:stream.RequestInfo.strValue)
return _s;
}
inline const std::string& RequestInfo::_internal_strvalue() const {
PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
return _impl_.strvalue_.Get();
}
inline void RequestInfo::_internal_set_strvalue(const std::string& value) {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
;
_impl_.strvalue_.Set(value, GetArenaForAllocation());
}
inline std::string* RequestInfo::_internal_mutable_strvalue() {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
;
return _impl_.strvalue_.Mutable( GetArenaForAllocation());
}
inline std::string* RequestInfo::release_strvalue() {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
// @@protoc_insertion_point(field_release:stream.RequestInfo.strValue)
return _impl_.strvalue_.Release();
}
inline void RequestInfo::set_allocated_strvalue(std::string* value) {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
_impl_.strvalue_.SetAllocated(value, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.strvalue_.IsDefault()) {
_impl_.strvalue_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:stream.RequestInfo.strValue)
}
// .stream.RequestInfo.TYPE valueType = 4;
inline void RequestInfo::clear_valuetype() {
_impl_.valuetype_ = 0;
}
inline ::stream::RequestInfo_TYPE RequestInfo::valuetype() const {
// @@protoc_insertion_point(field_get:stream.RequestInfo.valueType)
return _internal_valuetype();
}
inline void RequestInfo::set_valuetype(::stream::RequestInfo_TYPE value) {
_internal_set_valuetype(value);
// @@protoc_insertion_point(field_set:stream.RequestInfo.valueType)
}
inline ::stream::RequestInfo_TYPE RequestInfo::_internal_valuetype() const {
PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
return static_cast<::stream::RequestInfo_TYPE>(_impl_.valuetype_);
}
inline void RequestInfo::_internal_set_valuetype(::stream::RequestInfo_TYPE value) {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
;
_impl_.valuetype_ = value;
}
// -------------------------------------------------------------------
// ResponseInfo
// uint32 dataType = 1;
inline void ResponseInfo::clear_datatype() {
_impl_.datatype_ = 0u;
}
inline ::uint32_t ResponseInfo::datatype() const {
// @@protoc_insertion_point(field_get:stream.ResponseInfo.dataType)
return _internal_datatype();
}
inline void ResponseInfo::set_datatype(::uint32_t value) {
_internal_set_datatype(value);
// @@protoc_insertion_point(field_set:stream.ResponseInfo.dataType)
}
inline ::uint32_t ResponseInfo::_internal_datatype() const {
PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
return _impl_.datatype_;
}
inline void ResponseInfo::_internal_set_datatype(::uint32_t value) {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
;
_impl_.datatype_ = value;
}
// bool result = 2;
inline void ResponseInfo::clear_result() {
_impl_.result_ = false;
}
inline bool ResponseInfo::result() const {
// @@protoc_insertion_point(field_get:stream.ResponseInfo.result)
return _internal_result();
}
inline void ResponseInfo::set_result(bool value) {
_internal_set_result(value);
// @@protoc_insertion_point(field_set:stream.ResponseInfo.result)
}
inline bool ResponseInfo::_internal_result() const {
PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
return _impl_.result_;
}
inline void ResponseInfo::_internal_set_result(bool value) {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
;
_impl_.result_ = value;
}
// bytes nameKey = 3;
inline void ResponseInfo::clear_namekey() {
_impl_.namekey_.ClearToEmpty();
}
inline const std::string& ResponseInfo::namekey() const {
// @@protoc_insertion_point(field_get:stream.ResponseInfo.nameKey)
return _internal_namekey();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void ResponseInfo::set_namekey(Arg_&& arg,
Args_... args) {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
;
_impl_.namekey_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:stream.ResponseInfo.nameKey)
}
inline std::string* ResponseInfo::mutable_namekey() {
std::string* _s = _internal_mutable_namekey();
// @@protoc_insertion_point(field_mutable:stream.ResponseInfo.nameKey)
return _s;
}
inline const std::string& ResponseInfo::_internal_namekey() const {
PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
return _impl_.namekey_.Get();
}
inline void ResponseInfo::_internal_set_namekey(const std::string& value) {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
;
_impl_.namekey_.Set(value, GetArenaForAllocation());
}
inline std::string* ResponseInfo::_internal_mutable_namekey() {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
;
return _impl_.namekey_.Mutable( GetArenaForAllocation());
}
inline std::string* ResponseInfo::release_namekey() {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
// @@protoc_insertion_point(field_release:stream.ResponseInfo.nameKey)
return _impl_.namekey_.Release();
}
inline void ResponseInfo::set_allocated_namekey(std::string* value) {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
_impl_.namekey_.SetAllocated(value, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.namekey_.IsDefault()) {
_impl_.namekey_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:stream.ResponseInfo.nameKey)
}
// bytes strValue = 4;
inline void ResponseInfo::clear_strvalue() {
_impl_.strvalue_.ClearToEmpty();
}
inline const std::string& ResponseInfo::strvalue() const {
// @@protoc_insertion_point(field_get:stream.ResponseInfo.strValue)
return _internal_strvalue();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void ResponseInfo::set_strvalue(Arg_&& arg,
Args_... args) {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
;
_impl_.strvalue_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
// @@protoc_insertion_point(field_set:stream.ResponseInfo.strValue)
}
inline std::string* ResponseInfo::mutable_strvalue() {
std::string* _s = _internal_mutable_strvalue();
// @@protoc_insertion_point(field_mutable:stream.ResponseInfo.strValue)
return _s;
}
inline const std::string& ResponseInfo::_internal_strvalue() const {
PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
return _impl_.strvalue_.Get();
}
inline void ResponseInfo::_internal_set_strvalue(const std::string& value) {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
;
_impl_.strvalue_.Set(value, GetArenaForAllocation());
}
inline std::string* ResponseInfo::_internal_mutable_strvalue() {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
;
return _impl_.strvalue_.Mutable( GetArenaForAllocation());
}
inline std::string* ResponseInfo::release_strvalue() {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
// @@protoc_insertion_point(field_release:stream.ResponseInfo.strValue)
return _impl_.strvalue_.Release();
}
inline void ResponseInfo::set_allocated_strvalue(std::string* value) {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
_impl_.strvalue_.SetAllocated(value, GetArenaForAllocation());
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
if (_impl_.strvalue_.IsDefault()) {
_impl_.strvalue_.Set("", GetArenaForAllocation());
}
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
// @@protoc_insertion_point(field_set_allocated:stream.ResponseInfo.strValue)
}
// .stream.ResponseInfo.TYPE valueType = 5;
inline void ResponseInfo::clear_valuetype() {
_impl_.valuetype_ = 0;
}
inline ::stream::ResponseInfo_TYPE ResponseInfo::valuetype() const {
// @@protoc_insertion_point(field_get:stream.ResponseInfo.valueType)
return _internal_valuetype();
}
inline void ResponseInfo::set_valuetype(::stream::ResponseInfo_TYPE value) {
_internal_set_valuetype(value);
// @@protoc_insertion_point(field_set:stream.ResponseInfo.valueType)
}
inline ::stream::ResponseInfo_TYPE ResponseInfo::_internal_valuetype() const {
PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
return static_cast<::stream::ResponseInfo_TYPE>(_impl_.valuetype_);
}
inline void ResponseInfo::_internal_set_valuetype(::stream::ResponseInfo_TYPE value) {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
;
_impl_.valuetype_ = value;
}
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif // __GNUC__
// @@protoc_insertion_point(namespace_scope)
} // namespace stream
namespace google {
namespace protobuf {
template <>
struct is_proto_enum<::stream::RequestInfo_TYPE> : std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor<::stream::RequestInfo_TYPE>() {
return ::stream::RequestInfo_TYPE_descriptor();
}
template <>
struct is_proto_enum<::stream::ResponseInfo_TYPE> : std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor<::stream::ResponseInfo_TYPE>() {
return ::stream::ResponseInfo_TYPE_descriptor();
}
} // namespace protobuf
} // namespace google
// @@protoc_insertion_point(global_scope)
#include "google/protobuf/port_undef.inc"
#endif // GOOGLE_PROTOBUF_INCLUDED_stream_2eproto_2epb_2eh