1742 lines
58 KiB
C++
1742 lines
58 KiB
C++
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: google/protobuf/wrappers.proto
|
|
|
|
#ifndef GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fwrappers_2eproto
|
|
#define GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fwrappers_2eproto
|
|
|
|
#include <limits>
|
|
#include <string>
|
|
|
|
#include <google/protobuf/port_def.inc>
|
|
#if PROTOBUF_VERSION < 3021000
|
|
#error This file was generated by a newer version of protoc which is
|
|
#error incompatible with your Protocol Buffer headers. Please update
|
|
#error your headers.
|
|
#endif
|
|
#if 3021009 < PROTOBUF_MIN_PROTOC_VERSION
|
|
#error This file was generated by an older version of protoc which is
|
|
#error incompatible with your Protocol Buffer headers. Please
|
|
#error regenerate this file with a newer version of protoc.
|
|
#endif
|
|
|
|
#include <google/protobuf/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_util.h>
|
|
#include <google/protobuf/metadata_lite.h>
|
|
#include <google/protobuf/generated_message_reflection.h>
|
|
#include <google/protobuf/message.h>
|
|
#include <google/protobuf/repeated_field.h> // IWYU pragma: export
|
|
#include <google/protobuf/extension_set.h> // IWYU pragma: export
|
|
#include <google/protobuf/unknown_field_set.h>
|
|
// @@protoc_insertion_point(includes)
|
|
#include <google/protobuf/port_def.inc>
|
|
#define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fwrappers_2eproto PROTOBUF_EXPORT
|
|
PROTOBUF_NAMESPACE_OPEN
|
|
namespace internal {
|
|
class AnyMetadata;
|
|
} // namespace internal
|
|
PROTOBUF_NAMESPACE_CLOSE
|
|
|
|
// Internal implementation detail -- do not use these members.
|
|
struct PROTOBUF_EXPORT TableStruct_google_2fprotobuf_2fwrappers_2eproto {
|
|
static const uint32_t offsets[];
|
|
};
|
|
PROTOBUF_EXPORT extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fwrappers_2eproto;
|
|
PROTOBUF_NAMESPACE_OPEN
|
|
class BoolValue;
|
|
struct BoolValueDefaultTypeInternal;
|
|
PROTOBUF_EXPORT extern BoolValueDefaultTypeInternal _BoolValue_default_instance_;
|
|
class BytesValue;
|
|
struct BytesValueDefaultTypeInternal;
|
|
PROTOBUF_EXPORT extern BytesValueDefaultTypeInternal _BytesValue_default_instance_;
|
|
class DoubleValue;
|
|
struct DoubleValueDefaultTypeInternal;
|
|
PROTOBUF_EXPORT extern DoubleValueDefaultTypeInternal _DoubleValue_default_instance_;
|
|
class FloatValue;
|
|
struct FloatValueDefaultTypeInternal;
|
|
PROTOBUF_EXPORT extern FloatValueDefaultTypeInternal _FloatValue_default_instance_;
|
|
class Int32Value;
|
|
struct Int32ValueDefaultTypeInternal;
|
|
PROTOBUF_EXPORT extern Int32ValueDefaultTypeInternal _Int32Value_default_instance_;
|
|
class Int64Value;
|
|
struct Int64ValueDefaultTypeInternal;
|
|
PROTOBUF_EXPORT extern Int64ValueDefaultTypeInternal _Int64Value_default_instance_;
|
|
class StringValue;
|
|
struct StringValueDefaultTypeInternal;
|
|
PROTOBUF_EXPORT extern StringValueDefaultTypeInternal _StringValue_default_instance_;
|
|
class UInt32Value;
|
|
struct UInt32ValueDefaultTypeInternal;
|
|
PROTOBUF_EXPORT extern UInt32ValueDefaultTypeInternal _UInt32Value_default_instance_;
|
|
class UInt64Value;
|
|
struct UInt64ValueDefaultTypeInternal;
|
|
PROTOBUF_EXPORT extern UInt64ValueDefaultTypeInternal _UInt64Value_default_instance_;
|
|
PROTOBUF_NAMESPACE_CLOSE
|
|
PROTOBUF_NAMESPACE_OPEN
|
|
template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::BoolValue* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::BoolValue>(Arena*);
|
|
template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::BytesValue* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::BytesValue>(Arena*);
|
|
template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::DoubleValue* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::DoubleValue>(Arena*);
|
|
template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::FloatValue* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::FloatValue>(Arena*);
|
|
template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::Int32Value* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::Int32Value>(Arena*);
|
|
template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::Int64Value* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::Int64Value>(Arena*);
|
|
template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::StringValue* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::StringValue>(Arena*);
|
|
template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::UInt32Value* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::UInt32Value>(Arena*);
|
|
template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::UInt64Value* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::UInt64Value>(Arena*);
|
|
PROTOBUF_NAMESPACE_CLOSE
|
|
PROTOBUF_NAMESPACE_OPEN
|
|
|
|
// ===================================================================
|
|
|
|
class PROTOBUF_EXPORT DoubleValue final :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.DoubleValue) */ {
|
|
public:
|
|
inline DoubleValue() : DoubleValue(nullptr) {}
|
|
~DoubleValue() override;
|
|
explicit PROTOBUF_CONSTEXPR DoubleValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
|
|
|
DoubleValue(const DoubleValue& from);
|
|
DoubleValue(DoubleValue&& from) noexcept
|
|
: DoubleValue() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline DoubleValue& operator=(const DoubleValue& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline DoubleValue& operator=(DoubleValue&& 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;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const DoubleValue& default_instance() {
|
|
return *internal_default_instance();
|
|
}
|
|
static inline const DoubleValue* internal_default_instance() {
|
|
return reinterpret_cast<const DoubleValue*>(
|
|
&_DoubleValue_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
0;
|
|
|
|
friend void swap(DoubleValue& a, DoubleValue& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(DoubleValue* 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 {
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(DoubleValue* other) {
|
|
if (other == this) return;
|
|
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
DoubleValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
|
return CreateMaybeMessage<DoubleValue>(arena);
|
|
}
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
|
void CopyFrom(const DoubleValue& from);
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
|
void MergeFrom( const DoubleValue& from) {
|
|
DoubleValue::MergeImpl(*this, from);
|
|
}
|
|
private:
|
|
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::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, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
uint8_t* _InternalSerialize(
|
|
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
|
|
int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(DoubleValue* other);
|
|
|
|
private:
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "google.protobuf.DoubleValue";
|
|
}
|
|
protected:
|
|
explicit DoubleValue(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
|
bool is_message_owned = false);
|
|
public:
|
|
|
|
static const ClassData _class_data_;
|
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kValueFieldNumber = 1,
|
|
};
|
|
// double value = 1;
|
|
void clear_value();
|
|
double value() const;
|
|
void set_value(double value);
|
|
private:
|
|
double _internal_value() const;
|
|
void _internal_set_value(double value);
|
|
public:
|
|
|
|
// @@protoc_insertion_point(class_scope:google.protobuf.DoubleValue)
|
|
private:
|
|
class _Internal;
|
|
|
|
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
|
typedef void InternalArenaConstructable_;
|
|
typedef void DestructorSkippable_;
|
|
struct Impl_ {
|
|
double value_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_google_2fprotobuf_2fwrappers_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class PROTOBUF_EXPORT FloatValue final :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.FloatValue) */ {
|
|
public:
|
|
inline FloatValue() : FloatValue(nullptr) {}
|
|
~FloatValue() override;
|
|
explicit PROTOBUF_CONSTEXPR FloatValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
|
|
|
FloatValue(const FloatValue& from);
|
|
FloatValue(FloatValue&& from) noexcept
|
|
: FloatValue() {
|
|
*this = ::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 (GetOwningArena() == from.GetOwningArena()
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
|
|
&& GetOwningArena() != nullptr
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const FloatValue& default_instance() {
|
|
return *internal_default_instance();
|
|
}
|
|
static inline const FloatValue* internal_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* 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 {
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(FloatValue* other) {
|
|
if (other == this) return;
|
|
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
FloatValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
|
return CreateMaybeMessage<FloatValue>(arena);
|
|
}
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
|
void CopyFrom(const FloatValue& from);
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
|
void MergeFrom( const FloatValue& from) {
|
|
FloatValue::MergeImpl(*this, from);
|
|
}
|
|
private:
|
|
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::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, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
uint8_t* _InternalSerialize(
|
|
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
|
|
int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(FloatValue* other);
|
|
|
|
private:
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "google.protobuf.FloatValue";
|
|
}
|
|
protected:
|
|
explicit FloatValue(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
|
bool is_message_owned = false);
|
|
public:
|
|
|
|
static const ClassData _class_data_;
|
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
|
|
// 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:google.protobuf.FloatValue)
|
|
private:
|
|
class _Internal;
|
|
|
|
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
|
typedef void InternalArenaConstructable_;
|
|
typedef void DestructorSkippable_;
|
|
struct Impl_ {
|
|
float value_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_google_2fprotobuf_2fwrappers_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class PROTOBUF_EXPORT Int64Value final :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Int64Value) */ {
|
|
public:
|
|
inline Int64Value() : Int64Value(nullptr) {}
|
|
~Int64Value() override;
|
|
explicit PROTOBUF_CONSTEXPR Int64Value(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
|
|
|
Int64Value(const Int64Value& from);
|
|
Int64Value(Int64Value&& from) noexcept
|
|
: Int64Value() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline Int64Value& operator=(const Int64Value& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline Int64Value& operator=(Int64Value&& 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;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const Int64Value& default_instance() {
|
|
return *internal_default_instance();
|
|
}
|
|
static inline const Int64Value* internal_default_instance() {
|
|
return reinterpret_cast<const Int64Value*>(
|
|
&_Int64Value_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
2;
|
|
|
|
friend void swap(Int64Value& a, Int64Value& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(Int64Value* 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 {
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(Int64Value* other) {
|
|
if (other == this) return;
|
|
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
Int64Value* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
|
return CreateMaybeMessage<Int64Value>(arena);
|
|
}
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
|
void CopyFrom(const Int64Value& from);
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
|
void MergeFrom( const Int64Value& from) {
|
|
Int64Value::MergeImpl(*this, from);
|
|
}
|
|
private:
|
|
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::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, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
uint8_t* _InternalSerialize(
|
|
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
|
|
int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(Int64Value* other);
|
|
|
|
private:
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "google.protobuf.Int64Value";
|
|
}
|
|
protected:
|
|
explicit Int64Value(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
|
bool is_message_owned = false);
|
|
public:
|
|
|
|
static const ClassData _class_data_;
|
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kValueFieldNumber = 1,
|
|
};
|
|
// int64 value = 1;
|
|
void clear_value();
|
|
int64_t value() const;
|
|
void set_value(int64_t value);
|
|
private:
|
|
int64_t _internal_value() const;
|
|
void _internal_set_value(int64_t value);
|
|
public:
|
|
|
|
// @@protoc_insertion_point(class_scope:google.protobuf.Int64Value)
|
|
private:
|
|
class _Internal;
|
|
|
|
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
|
typedef void InternalArenaConstructable_;
|
|
typedef void DestructorSkippable_;
|
|
struct Impl_ {
|
|
int64_t value_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_google_2fprotobuf_2fwrappers_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class PROTOBUF_EXPORT UInt64Value final :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.UInt64Value) */ {
|
|
public:
|
|
inline UInt64Value() : UInt64Value(nullptr) {}
|
|
~UInt64Value() override;
|
|
explicit PROTOBUF_CONSTEXPR UInt64Value(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
|
|
|
UInt64Value(const UInt64Value& from);
|
|
UInt64Value(UInt64Value&& from) noexcept
|
|
: UInt64Value() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline UInt64Value& operator=(const UInt64Value& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline UInt64Value& operator=(UInt64Value&& 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;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const UInt64Value& default_instance() {
|
|
return *internal_default_instance();
|
|
}
|
|
static inline const UInt64Value* internal_default_instance() {
|
|
return reinterpret_cast<const UInt64Value*>(
|
|
&_UInt64Value_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
3;
|
|
|
|
friend void swap(UInt64Value& a, UInt64Value& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(UInt64Value* 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 {
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(UInt64Value* other) {
|
|
if (other == this) return;
|
|
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
UInt64Value* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
|
return CreateMaybeMessage<UInt64Value>(arena);
|
|
}
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
|
void CopyFrom(const UInt64Value& from);
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
|
void MergeFrom( const UInt64Value& from) {
|
|
UInt64Value::MergeImpl(*this, from);
|
|
}
|
|
private:
|
|
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::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, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
uint8_t* _InternalSerialize(
|
|
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
|
|
int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(UInt64Value* other);
|
|
|
|
private:
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "google.protobuf.UInt64Value";
|
|
}
|
|
protected:
|
|
explicit UInt64Value(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
|
bool is_message_owned = false);
|
|
public:
|
|
|
|
static const ClassData _class_data_;
|
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kValueFieldNumber = 1,
|
|
};
|
|
// uint64 value = 1;
|
|
void clear_value();
|
|
uint64_t value() const;
|
|
void set_value(uint64_t value);
|
|
private:
|
|
uint64_t _internal_value() const;
|
|
void _internal_set_value(uint64_t value);
|
|
public:
|
|
|
|
// @@protoc_insertion_point(class_scope:google.protobuf.UInt64Value)
|
|
private:
|
|
class _Internal;
|
|
|
|
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
|
typedef void InternalArenaConstructable_;
|
|
typedef void DestructorSkippable_;
|
|
struct Impl_ {
|
|
uint64_t value_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_google_2fprotobuf_2fwrappers_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class PROTOBUF_EXPORT Int32Value final :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Int32Value) */ {
|
|
public:
|
|
inline Int32Value() : Int32Value(nullptr) {}
|
|
~Int32Value() override;
|
|
explicit PROTOBUF_CONSTEXPR Int32Value(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
|
|
|
Int32Value(const Int32Value& from);
|
|
Int32Value(Int32Value&& from) noexcept
|
|
: Int32Value() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline Int32Value& operator=(const Int32Value& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline Int32Value& operator=(Int32Value&& 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;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const Int32Value& default_instance() {
|
|
return *internal_default_instance();
|
|
}
|
|
static inline const Int32Value* internal_default_instance() {
|
|
return reinterpret_cast<const Int32Value*>(
|
|
&_Int32Value_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
4;
|
|
|
|
friend void swap(Int32Value& a, Int32Value& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(Int32Value* 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 {
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(Int32Value* other) {
|
|
if (other == this) return;
|
|
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
Int32Value* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
|
return CreateMaybeMessage<Int32Value>(arena);
|
|
}
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
|
void CopyFrom(const Int32Value& from);
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
|
void MergeFrom( const Int32Value& from) {
|
|
Int32Value::MergeImpl(*this, from);
|
|
}
|
|
private:
|
|
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::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, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
uint8_t* _InternalSerialize(
|
|
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
|
|
int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(Int32Value* other);
|
|
|
|
private:
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "google.protobuf.Int32Value";
|
|
}
|
|
protected:
|
|
explicit Int32Value(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
|
bool is_message_owned = false);
|
|
public:
|
|
|
|
static const ClassData _class_data_;
|
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
|
|
// 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:google.protobuf.Int32Value)
|
|
private:
|
|
class _Internal;
|
|
|
|
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
|
typedef void InternalArenaConstructable_;
|
|
typedef void DestructorSkippable_;
|
|
struct Impl_ {
|
|
int32_t value_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_google_2fprotobuf_2fwrappers_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class PROTOBUF_EXPORT UInt32Value final :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.UInt32Value) */ {
|
|
public:
|
|
inline UInt32Value() : UInt32Value(nullptr) {}
|
|
~UInt32Value() override;
|
|
explicit PROTOBUF_CONSTEXPR UInt32Value(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
|
|
|
UInt32Value(const UInt32Value& from);
|
|
UInt32Value(UInt32Value&& from) noexcept
|
|
: UInt32Value() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline UInt32Value& operator=(const UInt32Value& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline UInt32Value& operator=(UInt32Value&& 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;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const UInt32Value& default_instance() {
|
|
return *internal_default_instance();
|
|
}
|
|
static inline const UInt32Value* internal_default_instance() {
|
|
return reinterpret_cast<const UInt32Value*>(
|
|
&_UInt32Value_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
5;
|
|
|
|
friend void swap(UInt32Value& a, UInt32Value& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(UInt32Value* 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 {
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(UInt32Value* other) {
|
|
if (other == this) return;
|
|
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
UInt32Value* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
|
return CreateMaybeMessage<UInt32Value>(arena);
|
|
}
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
|
void CopyFrom(const UInt32Value& from);
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
|
void MergeFrom( const UInt32Value& from) {
|
|
UInt32Value::MergeImpl(*this, from);
|
|
}
|
|
private:
|
|
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::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, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
uint8_t* _InternalSerialize(
|
|
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
|
|
int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(UInt32Value* other);
|
|
|
|
private:
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "google.protobuf.UInt32Value";
|
|
}
|
|
protected:
|
|
explicit UInt32Value(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
|
bool is_message_owned = false);
|
|
public:
|
|
|
|
static const ClassData _class_data_;
|
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kValueFieldNumber = 1,
|
|
};
|
|
// uint32 value = 1;
|
|
void clear_value();
|
|
uint32_t value() const;
|
|
void set_value(uint32_t value);
|
|
private:
|
|
uint32_t _internal_value() const;
|
|
void _internal_set_value(uint32_t value);
|
|
public:
|
|
|
|
// @@protoc_insertion_point(class_scope:google.protobuf.UInt32Value)
|
|
private:
|
|
class _Internal;
|
|
|
|
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
|
typedef void InternalArenaConstructable_;
|
|
typedef void DestructorSkippable_;
|
|
struct Impl_ {
|
|
uint32_t value_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_google_2fprotobuf_2fwrappers_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class PROTOBUF_EXPORT BoolValue final :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.BoolValue) */ {
|
|
public:
|
|
inline BoolValue() : BoolValue(nullptr) {}
|
|
~BoolValue() override;
|
|
explicit PROTOBUF_CONSTEXPR BoolValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
|
|
|
BoolValue(const BoolValue& from);
|
|
BoolValue(BoolValue&& from) noexcept
|
|
: BoolValue() {
|
|
*this = ::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 (GetOwningArena() == from.GetOwningArena()
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
|
|
&& GetOwningArena() != nullptr
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const BoolValue& default_instance() {
|
|
return *internal_default_instance();
|
|
}
|
|
static inline const BoolValue* internal_default_instance() {
|
|
return reinterpret_cast<const BoolValue*>(
|
|
&_BoolValue_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
6;
|
|
|
|
friend void swap(BoolValue& a, BoolValue& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(BoolValue* 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 {
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(BoolValue* other) {
|
|
if (other == this) return;
|
|
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
BoolValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
|
return CreateMaybeMessage<BoolValue>(arena);
|
|
}
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
|
void CopyFrom(const BoolValue& from);
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
|
void MergeFrom( const BoolValue& from) {
|
|
BoolValue::MergeImpl(*this, from);
|
|
}
|
|
private:
|
|
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::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, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
uint8_t* _InternalSerialize(
|
|
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
|
|
int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(BoolValue* other);
|
|
|
|
private:
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "google.protobuf.BoolValue";
|
|
}
|
|
protected:
|
|
explicit BoolValue(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
|
bool is_message_owned = false);
|
|
public:
|
|
|
|
static const ClassData _class_data_;
|
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
|
|
// 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:google.protobuf.BoolValue)
|
|
private:
|
|
class _Internal;
|
|
|
|
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
|
typedef void InternalArenaConstructable_;
|
|
typedef void DestructorSkippable_;
|
|
struct Impl_ {
|
|
bool value_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_google_2fprotobuf_2fwrappers_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class PROTOBUF_EXPORT StringValue final :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.StringValue) */ {
|
|
public:
|
|
inline StringValue() : StringValue(nullptr) {}
|
|
~StringValue() override;
|
|
explicit PROTOBUF_CONSTEXPR StringValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
|
|
|
StringValue(const StringValue& from);
|
|
StringValue(StringValue&& from) noexcept
|
|
: StringValue() {
|
|
*this = ::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 (GetOwningArena() == from.GetOwningArena()
|
|
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
|
|
&& GetOwningArena() != nullptr
|
|
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
|
|
) {
|
|
InternalSwap(&from);
|
|
} else {
|
|
CopyFrom(from);
|
|
}
|
|
return *this;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const StringValue& default_instance() {
|
|
return *internal_default_instance();
|
|
}
|
|
static inline const StringValue* internal_default_instance() {
|
|
return reinterpret_cast<const StringValue*>(
|
|
&_StringValue_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
7;
|
|
|
|
friend void swap(StringValue& a, StringValue& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(StringValue* 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 {
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(StringValue* other) {
|
|
if (other == this) return;
|
|
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
StringValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
|
return CreateMaybeMessage<StringValue>(arena);
|
|
}
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
|
void CopyFrom(const StringValue& from);
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
|
void MergeFrom( const StringValue& from) {
|
|
StringValue::MergeImpl(*this, from);
|
|
}
|
|
private:
|
|
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::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, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
uint8_t* _InternalSerialize(
|
|
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
|
|
int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(StringValue* other);
|
|
|
|
private:
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "google.protobuf.StringValue";
|
|
}
|
|
protected:
|
|
explicit StringValue(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
|
bool is_message_owned = false);
|
|
public:
|
|
|
|
static const ClassData _class_data_;
|
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kValueFieldNumber = 1,
|
|
};
|
|
// string value = 1;
|
|
void clear_value();
|
|
const std::string& value() const;
|
|
template <typename ArgT0 = const std::string&, typename... ArgT>
|
|
void set_value(ArgT0&& arg0, ArgT... args);
|
|
std::string* mutable_value();
|
|
PROTOBUF_NODISCARD std::string* release_value();
|
|
void set_allocated_value(std::string* value);
|
|
private:
|
|
const std::string& _internal_value() const;
|
|
inline PROTOBUF_ALWAYS_INLINE void _internal_set_value(const std::string& value);
|
|
std::string* _internal_mutable_value();
|
|
public:
|
|
|
|
// @@protoc_insertion_point(class_scope:google.protobuf.StringValue)
|
|
private:
|
|
class _Internal;
|
|
|
|
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
|
typedef void InternalArenaConstructable_;
|
|
typedef void DestructorSkippable_;
|
|
struct Impl_ {
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_google_2fprotobuf_2fwrappers_2eproto;
|
|
};
|
|
// -------------------------------------------------------------------
|
|
|
|
class PROTOBUF_EXPORT BytesValue final :
|
|
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.BytesValue) */ {
|
|
public:
|
|
inline BytesValue() : BytesValue(nullptr) {}
|
|
~BytesValue() override;
|
|
explicit PROTOBUF_CONSTEXPR BytesValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
|
|
|
|
BytesValue(const BytesValue& from);
|
|
BytesValue(BytesValue&& from) noexcept
|
|
: BytesValue() {
|
|
*this = ::std::move(from);
|
|
}
|
|
|
|
inline BytesValue& operator=(const BytesValue& from) {
|
|
CopyFrom(from);
|
|
return *this;
|
|
}
|
|
inline BytesValue& operator=(BytesValue&& 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;
|
|
}
|
|
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
|
|
return GetDescriptor();
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
|
|
return default_instance().GetMetadata().descriptor;
|
|
}
|
|
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
|
|
return default_instance().GetMetadata().reflection;
|
|
}
|
|
static const BytesValue& default_instance() {
|
|
return *internal_default_instance();
|
|
}
|
|
static inline const BytesValue* internal_default_instance() {
|
|
return reinterpret_cast<const BytesValue*>(
|
|
&_BytesValue_default_instance_);
|
|
}
|
|
static constexpr int kIndexInFileMessages =
|
|
8;
|
|
|
|
friend void swap(BytesValue& a, BytesValue& b) {
|
|
a.Swap(&b);
|
|
}
|
|
inline void Swap(BytesValue* 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 {
|
|
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
|
|
}
|
|
}
|
|
void UnsafeArenaSwap(BytesValue* other) {
|
|
if (other == this) return;
|
|
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
|
|
InternalSwap(other);
|
|
}
|
|
|
|
// implements Message ----------------------------------------------
|
|
|
|
BytesValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
|
|
return CreateMaybeMessage<BytesValue>(arena);
|
|
}
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
|
|
void CopyFrom(const BytesValue& from);
|
|
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
|
|
void MergeFrom( const BytesValue& from) {
|
|
BytesValue::MergeImpl(*this, from);
|
|
}
|
|
private:
|
|
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::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, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
|
|
uint8_t* _InternalSerialize(
|
|
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
|
|
int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
|
|
|
|
private:
|
|
void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
|
|
void SharedDtor();
|
|
void SetCachedSize(int size) const final;
|
|
void InternalSwap(BytesValue* other);
|
|
|
|
private:
|
|
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
|
|
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
|
|
return "google.protobuf.BytesValue";
|
|
}
|
|
protected:
|
|
explicit BytesValue(::PROTOBUF_NAMESPACE_ID::Arena* arena,
|
|
bool is_message_owned = false);
|
|
public:
|
|
|
|
static const ClassData _class_data_;
|
|
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
|
|
|
|
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
|
|
|
|
// nested types ----------------------------------------------------
|
|
|
|
// accessors -------------------------------------------------------
|
|
|
|
enum : int {
|
|
kValueFieldNumber = 1,
|
|
};
|
|
// bytes value = 1;
|
|
void clear_value();
|
|
const std::string& value() const;
|
|
template <typename ArgT0 = const std::string&, typename... ArgT>
|
|
void set_value(ArgT0&& arg0, ArgT... args);
|
|
std::string* mutable_value();
|
|
PROTOBUF_NODISCARD std::string* release_value();
|
|
void set_allocated_value(std::string* value);
|
|
private:
|
|
const std::string& _internal_value() const;
|
|
inline PROTOBUF_ALWAYS_INLINE void _internal_set_value(const std::string& value);
|
|
std::string* _internal_mutable_value();
|
|
public:
|
|
|
|
// @@protoc_insertion_point(class_scope:google.protobuf.BytesValue)
|
|
private:
|
|
class _Internal;
|
|
|
|
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
|
|
typedef void InternalArenaConstructable_;
|
|
typedef void DestructorSkippable_;
|
|
struct Impl_ {
|
|
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_;
|
|
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
|
|
};
|
|
union { Impl_ _impl_; };
|
|
friend struct ::TableStruct_google_2fprotobuf_2fwrappers_2eproto;
|
|
};
|
|
// ===================================================================
|
|
|
|
|
|
// ===================================================================
|
|
|
|
#ifdef __GNUC__
|
|
#pragma GCC diagnostic push
|
|
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
|
|
#endif // __GNUC__
|
|
// DoubleValue
|
|
|
|
// double value = 1;
|
|
inline void DoubleValue::clear_value() {
|
|
_impl_.value_ = 0;
|
|
}
|
|
inline double DoubleValue::_internal_value() const {
|
|
return _impl_.value_;
|
|
}
|
|
inline double DoubleValue::value() const {
|
|
// @@protoc_insertion_point(field_get:google.protobuf.DoubleValue.value)
|
|
return _internal_value();
|
|
}
|
|
inline void DoubleValue::_internal_set_value(double value) {
|
|
|
|
_impl_.value_ = value;
|
|
}
|
|
inline void DoubleValue::set_value(double value) {
|
|
_internal_set_value(value);
|
|
// @@protoc_insertion_point(field_set:google.protobuf.DoubleValue.value)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// FloatValue
|
|
|
|
// float value = 1;
|
|
inline void FloatValue::clear_value() {
|
|
_impl_.value_ = 0;
|
|
}
|
|
inline float FloatValue::_internal_value() const {
|
|
return _impl_.value_;
|
|
}
|
|
inline float FloatValue::value() const {
|
|
// @@protoc_insertion_point(field_get:google.protobuf.FloatValue.value)
|
|
return _internal_value();
|
|
}
|
|
inline void FloatValue::_internal_set_value(float value) {
|
|
|
|
_impl_.value_ = value;
|
|
}
|
|
inline void FloatValue::set_value(float value) {
|
|
_internal_set_value(value);
|
|
// @@protoc_insertion_point(field_set:google.protobuf.FloatValue.value)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// Int64Value
|
|
|
|
// int64 value = 1;
|
|
inline void Int64Value::clear_value() {
|
|
_impl_.value_ = int64_t{0};
|
|
}
|
|
inline int64_t Int64Value::_internal_value() const {
|
|
return _impl_.value_;
|
|
}
|
|
inline int64_t Int64Value::value() const {
|
|
// @@protoc_insertion_point(field_get:google.protobuf.Int64Value.value)
|
|
return _internal_value();
|
|
}
|
|
inline void Int64Value::_internal_set_value(int64_t value) {
|
|
|
|
_impl_.value_ = value;
|
|
}
|
|
inline void Int64Value::set_value(int64_t value) {
|
|
_internal_set_value(value);
|
|
// @@protoc_insertion_point(field_set:google.protobuf.Int64Value.value)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// UInt64Value
|
|
|
|
// uint64 value = 1;
|
|
inline void UInt64Value::clear_value() {
|
|
_impl_.value_ = uint64_t{0u};
|
|
}
|
|
inline uint64_t UInt64Value::_internal_value() const {
|
|
return _impl_.value_;
|
|
}
|
|
inline uint64_t UInt64Value::value() const {
|
|
// @@protoc_insertion_point(field_get:google.protobuf.UInt64Value.value)
|
|
return _internal_value();
|
|
}
|
|
inline void UInt64Value::_internal_set_value(uint64_t value) {
|
|
|
|
_impl_.value_ = value;
|
|
}
|
|
inline void UInt64Value::set_value(uint64_t value) {
|
|
_internal_set_value(value);
|
|
// @@protoc_insertion_point(field_set:google.protobuf.UInt64Value.value)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// Int32Value
|
|
|
|
// int32 value = 1;
|
|
inline void Int32Value::clear_value() {
|
|
_impl_.value_ = 0;
|
|
}
|
|
inline int32_t Int32Value::_internal_value() const {
|
|
return _impl_.value_;
|
|
}
|
|
inline int32_t Int32Value::value() const {
|
|
// @@protoc_insertion_point(field_get:google.protobuf.Int32Value.value)
|
|
return _internal_value();
|
|
}
|
|
inline void Int32Value::_internal_set_value(int32_t value) {
|
|
|
|
_impl_.value_ = value;
|
|
}
|
|
inline void Int32Value::set_value(int32_t value) {
|
|
_internal_set_value(value);
|
|
// @@protoc_insertion_point(field_set:google.protobuf.Int32Value.value)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// UInt32Value
|
|
|
|
// uint32 value = 1;
|
|
inline void UInt32Value::clear_value() {
|
|
_impl_.value_ = 0u;
|
|
}
|
|
inline uint32_t UInt32Value::_internal_value() const {
|
|
return _impl_.value_;
|
|
}
|
|
inline uint32_t UInt32Value::value() const {
|
|
// @@protoc_insertion_point(field_get:google.protobuf.UInt32Value.value)
|
|
return _internal_value();
|
|
}
|
|
inline void UInt32Value::_internal_set_value(uint32_t value) {
|
|
|
|
_impl_.value_ = value;
|
|
}
|
|
inline void UInt32Value::set_value(uint32_t value) {
|
|
_internal_set_value(value);
|
|
// @@protoc_insertion_point(field_set:google.protobuf.UInt32Value.value)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// BoolValue
|
|
|
|
// bool value = 1;
|
|
inline void BoolValue::clear_value() {
|
|
_impl_.value_ = false;
|
|
}
|
|
inline bool BoolValue::_internal_value() const {
|
|
return _impl_.value_;
|
|
}
|
|
inline bool BoolValue::value() const {
|
|
// @@protoc_insertion_point(field_get:google.protobuf.BoolValue.value)
|
|
return _internal_value();
|
|
}
|
|
inline void BoolValue::_internal_set_value(bool value) {
|
|
|
|
_impl_.value_ = value;
|
|
}
|
|
inline void BoolValue::set_value(bool value) {
|
|
_internal_set_value(value);
|
|
// @@protoc_insertion_point(field_set:google.protobuf.BoolValue.value)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// StringValue
|
|
|
|
// string value = 1;
|
|
inline void StringValue::clear_value() {
|
|
_impl_.value_.ClearToEmpty();
|
|
}
|
|
inline const std::string& StringValue::value() const {
|
|
// @@protoc_insertion_point(field_get:google.protobuf.StringValue.value)
|
|
return _internal_value();
|
|
}
|
|
template <typename ArgT0, typename... ArgT>
|
|
inline PROTOBUF_ALWAYS_INLINE
|
|
void StringValue::set_value(ArgT0&& arg0, ArgT... args) {
|
|
|
|
_impl_.value_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
|
|
// @@protoc_insertion_point(field_set:google.protobuf.StringValue.value)
|
|
}
|
|
inline std::string* StringValue::mutable_value() {
|
|
std::string* _s = _internal_mutable_value();
|
|
// @@protoc_insertion_point(field_mutable:google.protobuf.StringValue.value)
|
|
return _s;
|
|
}
|
|
inline const std::string& StringValue::_internal_value() const {
|
|
return _impl_.value_.Get();
|
|
}
|
|
inline void StringValue::_internal_set_value(const std::string& value) {
|
|
|
|
_impl_.value_.Set(value, GetArenaForAllocation());
|
|
}
|
|
inline std::string* StringValue::_internal_mutable_value() {
|
|
|
|
return _impl_.value_.Mutable(GetArenaForAllocation());
|
|
}
|
|
inline std::string* StringValue::release_value() {
|
|
// @@protoc_insertion_point(field_release:google.protobuf.StringValue.value)
|
|
return _impl_.value_.Release();
|
|
}
|
|
inline void StringValue::set_allocated_value(std::string* value) {
|
|
if (value != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
_impl_.value_.SetAllocated(value, GetArenaForAllocation());
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
if (_impl_.value_.IsDefault()) {
|
|
_impl_.value_.Set("", GetArenaForAllocation());
|
|
}
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
// @@protoc_insertion_point(field_set_allocated:google.protobuf.StringValue.value)
|
|
}
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// BytesValue
|
|
|
|
// bytes value = 1;
|
|
inline void BytesValue::clear_value() {
|
|
_impl_.value_.ClearToEmpty();
|
|
}
|
|
inline const std::string& BytesValue::value() const {
|
|
// @@protoc_insertion_point(field_get:google.protobuf.BytesValue.value)
|
|
return _internal_value();
|
|
}
|
|
template <typename ArgT0, typename... ArgT>
|
|
inline PROTOBUF_ALWAYS_INLINE
|
|
void BytesValue::set_value(ArgT0&& arg0, ArgT... args) {
|
|
|
|
_impl_.value_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
|
|
// @@protoc_insertion_point(field_set:google.protobuf.BytesValue.value)
|
|
}
|
|
inline std::string* BytesValue::mutable_value() {
|
|
std::string* _s = _internal_mutable_value();
|
|
// @@protoc_insertion_point(field_mutable:google.protobuf.BytesValue.value)
|
|
return _s;
|
|
}
|
|
inline const std::string& BytesValue::_internal_value() const {
|
|
return _impl_.value_.Get();
|
|
}
|
|
inline void BytesValue::_internal_set_value(const std::string& value) {
|
|
|
|
_impl_.value_.Set(value, GetArenaForAllocation());
|
|
}
|
|
inline std::string* BytesValue::_internal_mutable_value() {
|
|
|
|
return _impl_.value_.Mutable(GetArenaForAllocation());
|
|
}
|
|
inline std::string* BytesValue::release_value() {
|
|
// @@protoc_insertion_point(field_release:google.protobuf.BytesValue.value)
|
|
return _impl_.value_.Release();
|
|
}
|
|
inline void BytesValue::set_allocated_value(std::string* value) {
|
|
if (value != nullptr) {
|
|
|
|
} else {
|
|
|
|
}
|
|
_impl_.value_.SetAllocated(value, GetArenaForAllocation());
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
if (_impl_.value_.IsDefault()) {
|
|
_impl_.value_.Set("", GetArenaForAllocation());
|
|
}
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
// @@protoc_insertion_point(field_set_allocated:google.protobuf.BytesValue.value)
|
|
}
|
|
|
|
#ifdef __GNUC__
|
|
#pragma GCC diagnostic pop
|
|
#endif // __GNUC__
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
// -------------------------------------------------------------------
|
|
|
|
|
|
// @@protoc_insertion_point(namespace_scope)
|
|
|
|
PROTOBUF_NAMESPACE_CLOSE
|
|
|
|
// @@protoc_insertion_point(global_scope)
|
|
|
|
#include <google/protobuf/port_undef.inc>
|
|
#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fwrappers_2eproto
|