GrpcPrint/PrintS/protobuf/stream.pb.h

1117 lines
37 KiB
C
Raw Normal View History

2024-03-15 12:31:34 +08:00
// 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 ParamInfo;
struct ParamInfoDefaultTypeInternal;
extern ParamInfoDefaultTypeInternal _ParamInfo_default_instance_;
2024-03-15 12:31:34 +08:00
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 TYPE : int {
iBOOL = 0,
iSHORT = 1,
iUSHORT = 2,
iINT = 3,
iUINT = 4,
iFLOAT = 5,
iSTRING = 6,
TYPE_INT_MIN_SENTINEL_DO_NOT_USE_ =
2024-03-15 12:31:34 +08:00
std::numeric_limits<::int32_t>::min(),
TYPE_INT_MAX_SENTINEL_DO_NOT_USE_ =
2024-03-15 12:31:34 +08:00
std::numeric_limits<::int32_t>::max(),
};
bool TYPE_IsValid(int value);
constexpr TYPE TYPE_MIN = static_cast<TYPE>(0);
constexpr TYPE TYPE_MAX = static_cast<TYPE>(6);
constexpr int TYPE_ARRAYSIZE = 6 + 1;
2024-03-15 12:31:34 +08:00
const ::google::protobuf::EnumDescriptor*
TYPE_descriptor();
2024-03-15 12:31:34 +08:00
template <typename T>
const std::string& TYPE_Name(T value) {
static_assert(std::is_same<T, TYPE>::value ||
2024-03-15 12:31:34 +08:00
std::is_integral<T>::value,
"Incorrect type passed to TYPE_Name().");
return TYPE_Name(static_cast<TYPE>(value));
2024-03-15 12:31:34 +08:00
}
template <>
inline const std::string& TYPE_Name(TYPE value) {
return ::google::protobuf::internal::NameOfDenseEnum<TYPE_descriptor,
2024-03-19 17:45:12 +08:00
0, 6>(
2024-03-15 12:31:34 +08:00
static_cast<int>(value));
}
inline bool TYPE_Parse(absl::string_view name, TYPE* value) {
return ::google::protobuf::internal::ParseNamedEnum<TYPE>(
TYPE_descriptor(), name, value);
2024-03-15 12:31:34 +08:00
}
// ===================================================================
// -------------------------------------------------------------------
class ParamInfo final :
public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:stream.ParamInfo) */ {
public:
inline ParamInfo() : ParamInfo(nullptr) {}
~ParamInfo() override;
template<typename = void>
explicit PROTOBUF_CONSTEXPR ParamInfo(::google::protobuf::internal::ConstantInitialized);
ParamInfo(const ParamInfo& from);
ParamInfo(ParamInfo&& from) noexcept
: ParamInfo() {
*this = ::std::move(from);
}
inline ParamInfo& operator=(const ParamInfo& from) {
CopyFrom(from);
return *this;
}
inline ParamInfo& operator=(ParamInfo&& 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 ParamInfo& default_instance() {
return *internal_default_instance();
}
static inline const ParamInfo* internal_default_instance() {
return reinterpret_cast<const ParamInfo*>(
&_ParamInfo_default_instance_);
}
static constexpr int kIndexInFileMessages =
0;
friend void swap(ParamInfo& a, ParamInfo& b) {
a.Swap(&b);
}
inline void Swap(ParamInfo* 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(ParamInfo* other) {
if (other == this) return;
ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
ParamInfo* New(::google::protobuf::Arena* arena = nullptr) const final {
return CreateMaybeMessage<ParamInfo>(arena);
}
using ::google::protobuf::Message::CopyFrom;
void CopyFrom(const ParamInfo& from);
using ::google::protobuf::Message::MergeFrom;
void MergeFrom( const ParamInfo& from) {
ParamInfo::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(ParamInfo* other);
private:
friend class ::google::protobuf::internal::AnyMetadata;
static ::absl::string_view FullMessageName() {
return "stream.ParamInfo";
}
protected:
explicit ParamInfo(::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 ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kNameKeyFieldNumber = 1,
kStrValueFieldNumber = 2,
kValueTypeFieldNumber = 3,
};
// bytes nameKey = 1;
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 = 2;
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:
// .stream.TYPE valueType = 3;
void clear_valuetype() ;
::stream::TYPE valuetype() const;
void set_valuetype(::stream::TYPE value);
private:
::stream::TYPE _internal_valuetype() const;
void _internal_set_valuetype(::stream::TYPE value);
public:
// @@protoc_insertion_point(class_scope:stream.ParamInfo)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<2, 3, 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_;
int valuetype_;
mutable ::google::protobuf::internal::CachedSize _cached_size_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_stream_2eproto;
};// -------------------------------------------------------------------
2024-03-15 12:31:34 +08:00
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 =
1;
2024-03-15 12:31:34 +08:00
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 ----------------------------------------------------
// 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:
2024-04-08 13:43:56 +08:00
// uint32 dataType = 1;
2024-03-15 12:31:34 +08:00
void clear_datatype() ;
2024-04-08 13:43:56 +08:00
::uint32_t datatype() const;
void set_datatype(::uint32_t value);
2024-03-15 12:31:34 +08:00
private:
2024-04-08 13:43:56 +08:00
::uint32_t _internal_datatype() const;
void _internal_set_datatype(::uint32_t value);
2024-03-15 12:31:34 +08:00
public:
// .stream.TYPE valueType = 4;
2024-03-15 12:31:34 +08:00
void clear_valuetype() ;
::stream::TYPE valuetype() const;
void set_valuetype(::stream::TYPE value);
2024-03-15 12:31:34 +08:00
private:
::stream::TYPE _internal_valuetype() const;
void _internal_set_valuetype(::stream::TYPE value);
2024-03-15 12:31:34 +08:00
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_;
2024-04-08 13:43:56 +08:00
::uint32_t datatype_;
2024-03-15 12:31:34 +08:00
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 =
2;
2024-03-15 12:31:34 +08:00
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 ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kItemFieldNumber = 3,
2024-03-15 12:31:34 +08:00
kDataTypeFieldNumber = 1,
kResultFieldNumber = 2,
};
// repeated .stream.ParamInfo item = 3;
int item_size() const;
2024-03-15 12:31:34 +08:00
private:
int _internal_item_size() const;
2024-03-15 12:31:34 +08:00
public:
void clear_item() ;
::stream::ParamInfo* mutable_item(int index);
::google::protobuf::RepeatedPtrField< ::stream::ParamInfo >*
mutable_item();
2024-03-15 12:31:34 +08:00
private:
const ::google::protobuf::RepeatedPtrField<::stream::ParamInfo>& _internal_item() const;
::google::protobuf::RepeatedPtrField<::stream::ParamInfo>* _internal_mutable_item();
2024-03-15 12:31:34 +08:00
public:
const ::stream::ParamInfo& item(int index) const;
::stream::ParamInfo* add_item();
const ::google::protobuf::RepeatedPtrField< ::stream::ParamInfo >&
item() const;
2024-04-08 13:43:56 +08:00
// uint32 dataType = 1;
2024-03-15 12:31:34 +08:00
void clear_datatype() ;
2024-04-08 13:43:56 +08:00
::uint32_t datatype() const;
void set_datatype(::uint32_t value);
2024-03-15 12:31:34 +08:00
private:
2024-04-08 13:43:56 +08:00
::uint32_t _internal_datatype() const;
void _internal_set_datatype(::uint32_t value);
2024-03-15 12:31:34 +08:00
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:
// @@protoc_insertion_point(class_scope:stream.ResponseInfo)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<2, 3, 1, 0, 2> _table_;
2024-03-15 12:31:34 +08:00
template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
struct Impl_ {
::google::protobuf::RepeatedPtrField< ::stream::ParamInfo > item_;
2024-04-08 13:43:56 +08:00
::uint32_t datatype_;
2024-03-15 12:31:34 +08:00
bool result_;
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__
// -------------------------------------------------------------------
// ParamInfo
// bytes nameKey = 1;
inline void ParamInfo::clear_namekey() {
_impl_.namekey_.ClearToEmpty();
}
inline const std::string& ParamInfo::namekey() const {
// @@protoc_insertion_point(field_get:stream.ParamInfo.nameKey)
return _internal_namekey();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void ParamInfo::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.ParamInfo.nameKey)
}
inline std::string* ParamInfo::mutable_namekey() {
std::string* _s = _internal_mutable_namekey();
// @@protoc_insertion_point(field_mutable:stream.ParamInfo.nameKey)
return _s;
}
inline const std::string& ParamInfo::_internal_namekey() const {
PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
return _impl_.namekey_.Get();
}
inline void ParamInfo::_internal_set_namekey(const std::string& value) {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
;
_impl_.namekey_.Set(value, GetArenaForAllocation());
}
inline std::string* ParamInfo::_internal_mutable_namekey() {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
;
return _impl_.namekey_.Mutable( GetArenaForAllocation());
}
inline std::string* ParamInfo::release_namekey() {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
// @@protoc_insertion_point(field_release:stream.ParamInfo.nameKey)
return _impl_.namekey_.Release();
}
inline void ParamInfo::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.ParamInfo.nameKey)
}
// bytes strValue = 2;
inline void ParamInfo::clear_strvalue() {
_impl_.strvalue_.ClearToEmpty();
}
inline const std::string& ParamInfo::strvalue() const {
// @@protoc_insertion_point(field_get:stream.ParamInfo.strValue)
return _internal_strvalue();
}
template <typename Arg_, typename... Args_>
inline PROTOBUF_ALWAYS_INLINE void ParamInfo::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.ParamInfo.strValue)
}
inline std::string* ParamInfo::mutable_strvalue() {
std::string* _s = _internal_mutable_strvalue();
// @@protoc_insertion_point(field_mutable:stream.ParamInfo.strValue)
return _s;
}
inline const std::string& ParamInfo::_internal_strvalue() const {
PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
return _impl_.strvalue_.Get();
}
inline void ParamInfo::_internal_set_strvalue(const std::string& value) {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
;
_impl_.strvalue_.Set(value, GetArenaForAllocation());
}
inline std::string* ParamInfo::_internal_mutable_strvalue() {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
;
return _impl_.strvalue_.Mutable( GetArenaForAllocation());
}
inline std::string* ParamInfo::release_strvalue() {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
// @@protoc_insertion_point(field_release:stream.ParamInfo.strValue)
return _impl_.strvalue_.Release();
}
inline void ParamInfo::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.ParamInfo.strValue)
}
// .stream.TYPE valueType = 3;
inline void ParamInfo::clear_valuetype() {
_impl_.valuetype_ = 0;
}
inline ::stream::TYPE ParamInfo::valuetype() const {
// @@protoc_insertion_point(field_get:stream.ParamInfo.valueType)
return _internal_valuetype();
}
inline void ParamInfo::set_valuetype(::stream::TYPE value) {
_internal_set_valuetype(value);
// @@protoc_insertion_point(field_set:stream.ParamInfo.valueType)
}
inline ::stream::TYPE ParamInfo::_internal_valuetype() const {
PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
return static_cast<::stream::TYPE>(_impl_.valuetype_);
}
inline void ParamInfo::_internal_set_valuetype(::stream::TYPE value) {
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
;
_impl_.valuetype_ = value;
}
// -------------------------------------------------------------------
2024-03-15 12:31:34 +08:00
// RequestInfo
2024-04-08 13:43:56 +08:00
// uint32 dataType = 1;
2024-03-15 12:31:34 +08:00
inline void RequestInfo::clear_datatype() {
2024-04-08 13:43:56 +08:00
_impl_.datatype_ = 0u;
2024-03-15 12:31:34 +08:00
}
2024-04-08 13:43:56 +08:00
inline ::uint32_t RequestInfo::datatype() const {
2024-03-15 12:31:34 +08:00
// @@protoc_insertion_point(field_get:stream.RequestInfo.dataType)
return _internal_datatype();
}
2024-04-08 13:43:56 +08:00
inline void RequestInfo::set_datatype(::uint32_t value) {
2024-03-15 12:31:34 +08:00
_internal_set_datatype(value);
// @@protoc_insertion_point(field_set:stream.RequestInfo.dataType)
}
2024-04-08 13:43:56 +08:00
inline ::uint32_t RequestInfo::_internal_datatype() const {
2024-03-15 12:31:34 +08:00
PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
2024-04-08 13:43:56 +08:00
return _impl_.datatype_;
2024-03-15 12:31:34 +08:00
}
2024-04-08 13:43:56 +08:00
inline void RequestInfo::_internal_set_datatype(::uint32_t value) {
2024-03-15 12:31:34 +08:00
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.TYPE valueType = 4;
2024-03-15 12:31:34 +08:00
inline void RequestInfo::clear_valuetype() {
_impl_.valuetype_ = 0;
}
inline ::stream::TYPE RequestInfo::valuetype() const {
2024-03-15 12:31:34 +08:00
// @@protoc_insertion_point(field_get:stream.RequestInfo.valueType)
return _internal_valuetype();
}
inline void RequestInfo::set_valuetype(::stream::TYPE value) {
2024-03-15 12:31:34 +08:00
_internal_set_valuetype(value);
// @@protoc_insertion_point(field_set:stream.RequestInfo.valueType)
}
inline ::stream::TYPE RequestInfo::_internal_valuetype() const {
2024-03-15 12:31:34 +08:00
PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
return static_cast<::stream::TYPE>(_impl_.valuetype_);
2024-03-15 12:31:34 +08:00
}
inline void RequestInfo::_internal_set_valuetype(::stream::TYPE value) {
2024-03-15 12:31:34 +08:00
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
;
_impl_.valuetype_ = value;
}
// -------------------------------------------------------------------
// ResponseInfo
2024-04-08 13:43:56 +08:00
// uint32 dataType = 1;
2024-03-15 12:31:34 +08:00
inline void ResponseInfo::clear_datatype() {
2024-04-08 13:43:56 +08:00
_impl_.datatype_ = 0u;
2024-03-15 12:31:34 +08:00
}
2024-04-08 13:43:56 +08:00
inline ::uint32_t ResponseInfo::datatype() const {
2024-03-15 12:31:34 +08:00
// @@protoc_insertion_point(field_get:stream.ResponseInfo.dataType)
return _internal_datatype();
}
2024-04-08 13:43:56 +08:00
inline void ResponseInfo::set_datatype(::uint32_t value) {
2024-03-15 12:31:34 +08:00
_internal_set_datatype(value);
// @@protoc_insertion_point(field_set:stream.ResponseInfo.dataType)
}
2024-04-08 13:43:56 +08:00
inline ::uint32_t ResponseInfo::_internal_datatype() const {
2024-03-15 12:31:34 +08:00
PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
2024-04-08 13:43:56 +08:00
return _impl_.datatype_;
2024-03-15 12:31:34 +08:00
}
2024-04-08 13:43:56 +08:00
inline void ResponseInfo::_internal_set_datatype(::uint32_t value) {
2024-03-15 12:31:34 +08:00
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;
}
// repeated .stream.ParamInfo item = 3;
inline int ResponseInfo::_internal_item_size() const {
return _internal_item().size();
2024-03-15 12:31:34 +08:00
}
inline int ResponseInfo::item_size() const {
return _internal_item_size();
2024-03-15 12:31:34 +08:00
}
inline void ResponseInfo::clear_item() {
_internal_mutable_item()->Clear();
2024-03-15 12:31:34 +08:00
}
inline ::stream::ParamInfo* ResponseInfo::mutable_item(int index) {
// @@protoc_insertion_point(field_mutable:stream.ResponseInfo.item)
return _internal_mutable_item()->Mutable(index);
2024-03-15 12:31:34 +08:00
}
inline ::google::protobuf::RepeatedPtrField< ::stream::ParamInfo >*
ResponseInfo::mutable_item() {
// @@protoc_insertion_point(field_mutable_list:stream.ResponseInfo.item)
2024-03-15 12:31:34 +08:00
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
return _internal_mutable_item();
2024-03-15 12:31:34 +08:00
}
inline const ::stream::ParamInfo& ResponseInfo::item(int index) const {
// @@protoc_insertion_point(field_get:stream.ResponseInfo.item)
return _internal_item().Get(index);
2024-03-15 12:31:34 +08:00
}
inline ::stream::ParamInfo* ResponseInfo::add_item() {
2024-03-15 12:31:34 +08:00
PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
::stream::ParamInfo* _add = _internal_mutable_item()->Add();
// @@protoc_insertion_point(field_add:stream.ResponseInfo.item)
return _add;
2024-03-15 12:31:34 +08:00
}
inline const ::google::protobuf::RepeatedPtrField< ::stream::ParamInfo >&
ResponseInfo::item() const {
// @@protoc_insertion_point(field_list:stream.ResponseInfo.item)
return _internal_item();
2024-03-15 12:31:34 +08:00
}
inline const ::google::protobuf::RepeatedPtrField<::stream::ParamInfo>&
ResponseInfo::_internal_item() const {
2024-03-15 12:31:34 +08:00
PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
return _impl_.item_;
2024-03-15 12:31:34 +08:00
}
inline ::google::protobuf::RepeatedPtrField<::stream::ParamInfo>*
ResponseInfo::_internal_mutable_item() {
2024-03-15 12:31:34 +08:00
PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
return &_impl_.item_;
2024-03-15 12:31:34 +08:00
}
#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::TYPE> : std::true_type {};
2024-03-15 12:31:34 +08:00
template <>
inline const EnumDescriptor* GetEnumDescriptor<::stream::TYPE>() {
return ::stream::TYPE_descriptor();
2024-03-15 12:31:34 +08:00
}
} // namespace protobuf
} // namespace google
// @@protoc_insertion_point(global_scope)
#include "google/protobuf/port_undef.inc"
#endif // GOOGLE_PROTOBUF_INCLUDED_stream_2eproto_2epb_2eh