deargui-vpl/applications/tests/protos/test_primitives.pb.h
2026-02-03 18:25:25 +01:00

1042 lines
39 KiB
C++

// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: test_primitives.proto
// Protobuf C++ Version: 6.34.0-dev
#ifndef test_5fprimitives_2eproto_2epb_2eh
#define test_5fprimitives_2eproto_2epb_2eh
#include <limits>
#include <string>
#include <type_traits>
#include <utility>
#include "google/protobuf/runtime_version.h"
#if PROTOBUF_VERSION != 6034000
#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/message_lite.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_test_5fprimitives_2eproto
namespace google {
namespace protobuf {
namespace internal {
template <typename T>
::absl::string_view GetAnyMessageName();
} // namespace internal
} // namespace protobuf
} // namespace google
// Internal implementation detail -- do not use these members.
struct TableStruct_test_5fprimitives_2eproto {
static const ::uint32_t offsets[];
};
extern "C" {
extern const ::google::protobuf::internal::DescriptorTable descriptor_table_test_5fprimitives_2eproto;
} // extern "C"
namespace nodehub {
namespace tests {
class BoolValue;
struct BoolValueDefaultTypeInternal;
extern BoolValueDefaultTypeInternal _BoolValue_default_instance_;
extern const ::google::protobuf::internal::ClassDataFull BoolValue_class_data_;
class FloatValue;
struct FloatValueDefaultTypeInternal;
extern FloatValueDefaultTypeInternal _FloatValue_default_instance_;
extern const ::google::protobuf::internal::ClassDataFull FloatValue_class_data_;
class IntValue;
struct IntValueDefaultTypeInternal;
extern IntValueDefaultTypeInternal _IntValue_default_instance_;
extern const ::google::protobuf::internal::ClassDataFull IntValue_class_data_;
class StringValue;
struct StringValueDefaultTypeInternal;
extern StringValueDefaultTypeInternal _StringValue_default_instance_;
extern const ::google::protobuf::internal::ClassDataFull StringValue_class_data_;
} // namespace tests
} // namespace nodehub
namespace google {
namespace protobuf {
} // namespace protobuf
} // namespace google
namespace nodehub {
namespace tests {
// ===================================================================
// -------------------------------------------------------------------
class StringValue final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:nodehub.tests.StringValue) */ {
public:
inline StringValue() : StringValue(nullptr) {}
~StringValue() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(StringValue* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(StringValue));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR StringValue(::google::protobuf::internal::ConstantInitialized);
inline StringValue(const StringValue& from) : StringValue(nullptr, from) {}
inline StringValue(StringValue&& from) noexcept
: StringValue(nullptr, ::std::move(from)) {}
inline StringValue& operator=(const StringValue& from) {
CopyFrom(from);
return *this;
}
inline StringValue& operator=(StringValue&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
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* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const StringValue& default_instance() {
return *reinterpret_cast<const StringValue*>(
&_StringValue_default_instance_);
}
static constexpr int kIndexInFileMessages = 3;
friend void swap(StringValue& a, StringValue& b) { a.Swap(&b); }
inline void Swap(StringValue* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(StringValue* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
StringValue* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::Message::DefaultConstruct<StringValue>(arena);
}
using ::google::protobuf::Message::CopyFrom;
void CopyFrom(const StringValue& from);
using ::google::protobuf::Message::MergeFrom;
void MergeFrom(const StringValue& from) { StringValue::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* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(StringValue* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nodehub.tests.StringValue"; }
explicit StringValue(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
StringValue(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const StringValue& from);
StringValue(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, StringValue&& from) noexcept
: StringValue(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kValueFieldNumber = 1,
};
// string value = 1;
void clear_value() ;
const ::std::string& value() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_value(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_value();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_value();
void set_allocated_value(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_value() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_value(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_value();
public:
// @@protoc_insertion_point(class_scope:nodehub.tests.StringValue)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 1,
0, 39,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
friend ::google::protobuf::internal::PrivateAccess;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const StringValue& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::internal::ArenaStringPtr value_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_test_5fprimitives_2eproto;
};
extern const ::google::protobuf::internal::ClassDataFull StringValue_class_data_;
// -------------------------------------------------------------------
class IntValue final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:nodehub.tests.IntValue) */ {
public:
inline IntValue() : IntValue(nullptr) {}
~IntValue() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(IntValue* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(IntValue));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR IntValue(::google::protobuf::internal::ConstantInitialized);
inline IntValue(const IntValue& from) : IntValue(nullptr, from) {}
inline IntValue(IntValue&& from) noexcept
: IntValue(nullptr, ::std::move(from)) {}
inline IntValue& operator=(const IntValue& from) {
CopyFrom(from);
return *this;
}
inline IntValue& operator=(IntValue&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
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* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const IntValue& default_instance() {
return *reinterpret_cast<const IntValue*>(
&_IntValue_default_instance_);
}
static constexpr int kIndexInFileMessages = 0;
friend void swap(IntValue& a, IntValue& b) { a.Swap(&b); }
inline void Swap(IntValue* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(IntValue* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
IntValue* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::Message::DefaultConstruct<IntValue>(arena);
}
using ::google::protobuf::Message::CopyFrom;
void CopyFrom(const IntValue& from);
using ::google::protobuf::Message::MergeFrom;
void MergeFrom(const IntValue& from) { IntValue::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* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(IntValue* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nodehub.tests.IntValue"; }
explicit IntValue(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
IntValue(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const IntValue& from);
IntValue(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, IntValue&& from) noexcept
: IntValue(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kValueFieldNumber = 1,
};
// int32 value = 1;
void clear_value() ;
::int32_t value() const;
void set_value(::int32_t value);
private:
::int32_t _internal_value() const;
void _internal_set_value(::int32_t value);
public:
// @@protoc_insertion_point(class_scope:nodehub.tests.IntValue)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 1,
0, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
friend ::google::protobuf::internal::PrivateAccess;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const IntValue& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::int32_t value_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_test_5fprimitives_2eproto;
};
extern const ::google::protobuf::internal::ClassDataFull IntValue_class_data_;
// -------------------------------------------------------------------
class FloatValue final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:nodehub.tests.FloatValue) */ {
public:
inline FloatValue() : FloatValue(nullptr) {}
~FloatValue() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(FloatValue* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(FloatValue));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR FloatValue(::google::protobuf::internal::ConstantInitialized);
inline FloatValue(const FloatValue& from) : FloatValue(nullptr, from) {}
inline FloatValue(FloatValue&& from) noexcept
: FloatValue(nullptr, ::std::move(from)) {}
inline FloatValue& operator=(const FloatValue& from) {
CopyFrom(from);
return *this;
}
inline FloatValue& operator=(FloatValue&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
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* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const FloatValue& default_instance() {
return *reinterpret_cast<const FloatValue*>(
&_FloatValue_default_instance_);
}
static constexpr int kIndexInFileMessages = 1;
friend void swap(FloatValue& a, FloatValue& b) { a.Swap(&b); }
inline void Swap(FloatValue* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(FloatValue* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
FloatValue* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::Message::DefaultConstruct<FloatValue>(arena);
}
using ::google::protobuf::Message::CopyFrom;
void CopyFrom(const FloatValue& from);
using ::google::protobuf::Message::MergeFrom;
void MergeFrom(const FloatValue& from) { FloatValue::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* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(FloatValue* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nodehub.tests.FloatValue"; }
explicit FloatValue(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
FloatValue(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const FloatValue& from);
FloatValue(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, FloatValue&& from) noexcept
: FloatValue(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kValueFieldNumber = 1,
};
// float value = 1;
void clear_value() ;
float value() const;
void set_value(float value);
private:
float _internal_value() const;
void _internal_set_value(float value);
public:
// @@protoc_insertion_point(class_scope:nodehub.tests.FloatValue)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 1,
0, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
friend ::google::protobuf::internal::PrivateAccess;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const FloatValue& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
float value_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_test_5fprimitives_2eproto;
};
extern const ::google::protobuf::internal::ClassDataFull FloatValue_class_data_;
// -------------------------------------------------------------------
class BoolValue final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:nodehub.tests.BoolValue) */ {
public:
inline BoolValue() : BoolValue(nullptr) {}
~BoolValue() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(BoolValue* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(BoolValue));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR BoolValue(::google::protobuf::internal::ConstantInitialized);
inline BoolValue(const BoolValue& from) : BoolValue(nullptr, from) {}
inline BoolValue(BoolValue&& from) noexcept
: BoolValue(nullptr, ::std::move(from)) {}
inline BoolValue& operator=(const BoolValue& from) {
CopyFrom(from);
return *this;
}
inline BoolValue& operator=(BoolValue&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
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* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const BoolValue& default_instance() {
return *reinterpret_cast<const BoolValue*>(
&_BoolValue_default_instance_);
}
static constexpr int kIndexInFileMessages = 2;
friend void swap(BoolValue& a, BoolValue& b) { a.Swap(&b); }
inline void Swap(BoolValue* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(BoolValue* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
BoolValue* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::Message::DefaultConstruct<BoolValue>(arena);
}
using ::google::protobuf::Message::CopyFrom;
void CopyFrom(const BoolValue& from);
using ::google::protobuf::Message::MergeFrom;
void MergeFrom(const BoolValue& from) { BoolValue::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* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(BoolValue* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "nodehub.tests.BoolValue"; }
explicit BoolValue(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
BoolValue(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const BoolValue& from);
BoolValue(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, BoolValue&& from) noexcept
: BoolValue(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kValueFieldNumber = 1,
};
// bool value = 1;
void clear_value() ;
bool value() const;
void set_value(bool value);
private:
bool _internal_value() const;
void _internal_set_value(bool value);
public:
// @@protoc_insertion_point(class_scope:nodehub.tests.BoolValue)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 1,
0, 0,
2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
friend ::google::protobuf::internal::PrivateAccess;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct Impl_ {
inline explicit constexpr Impl_(::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const BoolValue& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
bool value_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_test_5fprimitives_2eproto;
};
extern const ::google::protobuf::internal::ClassDataFull BoolValue_class_data_;
// ===================================================================
// ===================================================================
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif // __GNUC__
// -------------------------------------------------------------------
// IntValue
// int32 value = 1;
inline void IntValue::clear_value() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.value_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline ::int32_t IntValue::value() const {
// @@protoc_insertion_point(field_get:nodehub.tests.IntValue.value)
return _internal_value();
}
inline void IntValue::set_value(::int32_t value) {
_internal_set_value(value);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_set:nodehub.tests.IntValue.value)
}
inline ::int32_t IntValue::_internal_value() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.value_;
}
inline void IntValue::_internal_set_value(::int32_t value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.value_ = value;
}
// -------------------------------------------------------------------
// FloatValue
// float value = 1;
inline void FloatValue::clear_value() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.value_ = 0;
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline float FloatValue::value() const {
// @@protoc_insertion_point(field_get:nodehub.tests.FloatValue.value)
return _internal_value();
}
inline void FloatValue::set_value(float value) {
_internal_set_value(value);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_set:nodehub.tests.FloatValue.value)
}
inline float FloatValue::_internal_value() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.value_;
}
inline void FloatValue::_internal_set_value(float value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.value_ = value;
}
// -------------------------------------------------------------------
// BoolValue
// bool value = 1;
inline void BoolValue::clear_value() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.value_ = false;
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline bool BoolValue::value() const {
// @@protoc_insertion_point(field_get:nodehub.tests.BoolValue.value)
return _internal_value();
}
inline void BoolValue::set_value(bool value) {
_internal_set_value(value);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
// @@protoc_insertion_point(field_set:nodehub.tests.BoolValue.value)
}
inline bool BoolValue::_internal_value() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.value_;
}
inline void BoolValue::_internal_set_value(bool value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.value_ = value;
}
// -------------------------------------------------------------------
// StringValue
// string value = 1;
inline void StringValue::clear_value() {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.value_.ClearToEmpty();
ClearHasBit(_impl_._has_bits_[0],
0x00000001U);
}
inline const ::std::string& StringValue::value() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
// @@protoc_insertion_point(field_get:nodehub.tests.StringValue.value)
return _internal_value();
}
template <typename Arg_, typename... Args_>
PROTOBUF_ALWAYS_INLINE void StringValue::set_value(Arg_&& arg, Args_... args) {
::google::protobuf::internal::TSanWrite(&_impl_);
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
_impl_.value_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
// @@protoc_insertion_point(field_set:nodehub.tests.StringValue.value)
}
inline ::std::string* PROTOBUF_NONNULL StringValue::mutable_value()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
::std::string* _s = _internal_mutable_value();
// @@protoc_insertion_point(field_mutable:nodehub.tests.StringValue.value)
return _s;
}
inline const ::std::string& StringValue::_internal_value() const {
::google::protobuf::internal::TSanRead(&_impl_);
return _impl_.value_.Get();
}
inline void StringValue::_internal_set_value(const ::std::string& value) {
::google::protobuf::internal::TSanWrite(&_impl_);
_impl_.value_.Set(value, GetArena());
}
inline ::std::string* PROTOBUF_NONNULL StringValue::_internal_mutable_value() {
::google::protobuf::internal::TSanWrite(&_impl_);
return _impl_.value_.Mutable( GetArena());
}
inline ::std::string* PROTOBUF_NULLABLE StringValue::release_value() {
::google::protobuf::internal::TSanWrite(&_impl_);
// @@protoc_insertion_point(field_release:nodehub.tests.StringValue.value)
if (!CheckHasBit(_impl_._has_bits_[0], 0x00000001U)) {
return nullptr;
}
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
auto* released = _impl_.value_.Release();
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
_impl_.value_.Set("", GetArena());
}
return released;
}
inline void StringValue::set_allocated_value(::std::string* PROTOBUF_NULLABLE value) {
::google::protobuf::internal::TSanWrite(&_impl_);
if (value != nullptr) {
SetHasBit(_impl_._has_bits_[0], 0x00000001U);
} else {
ClearHasBit(_impl_._has_bits_[0], 0x00000001U);
}
_impl_.value_.SetAllocated(value, GetArena());
if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.value_.IsDefault()) {
_impl_.value_.Set("", GetArena());
}
// @@protoc_insertion_point(field_set_allocated:nodehub.tests.StringValue.value)
}
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif // __GNUC__
// @@protoc_insertion_point(namespace_scope)
} // namespace tests
} // namespace nodehub
// @@protoc_insertion_point(global_scope)
#include "google/protobuf/port_undef.inc"
#endif // test_5fprimitives_2eproto_2epb_2eh