1918 lines
67 KiB
C++
1918 lines
67 KiB
C++
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: google/protobuf/wrappers.proto
|
|
|
|
#include "google/protobuf/wrappers.pb.h"
|
|
|
|
#include <algorithm>
|
|
#include "google/protobuf/io/coded_stream.h"
|
|
#include "google/protobuf/extension_set.h"
|
|
#include "google/protobuf/wire_format_lite.h"
|
|
#include "google/protobuf/descriptor.h"
|
|
#include "google/protobuf/generated_message_reflection.h"
|
|
#include "google/protobuf/reflection_ops.h"
|
|
#include "google/protobuf/wire_format.h"
|
|
#include "google/protobuf/generated_message_tctable_impl.h"
|
|
// @@protoc_insertion_point(includes)
|
|
|
|
// Must be included last.
|
|
#include "google/protobuf/port_def.inc"
|
|
PROTOBUF_PRAGMA_INIT_SEG
|
|
namespace _pb = ::google::protobuf;
|
|
namespace _pbi = ::google::protobuf::internal;
|
|
namespace _fl = ::google::protobuf::internal::field_layout;
|
|
namespace google {
|
|
namespace protobuf {
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR DoubleValue::DoubleValue(::_pbi::ConstantInitialized)
|
|
: _impl_{
|
|
/*decltype(_impl_.value_)*/ 0,
|
|
/*decltype(_impl_._cached_size_)*/ {},
|
|
} {}
|
|
struct DoubleValueDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR DoubleValueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~DoubleValueDefaultTypeInternal() {}
|
|
union {
|
|
DoubleValue _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DoubleValueDefaultTypeInternal _DoubleValue_default_instance_;
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR FloatValue::FloatValue(::_pbi::ConstantInitialized)
|
|
: _impl_{
|
|
/*decltype(_impl_.value_)*/ 0,
|
|
/*decltype(_impl_._cached_size_)*/ {},
|
|
} {}
|
|
struct FloatValueDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR FloatValueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~FloatValueDefaultTypeInternal() {}
|
|
union {
|
|
FloatValue _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FloatValueDefaultTypeInternal _FloatValue_default_instance_;
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR Int64Value::Int64Value(::_pbi::ConstantInitialized)
|
|
: _impl_{
|
|
/*decltype(_impl_.value_)*/ ::int64_t{0},
|
|
/*decltype(_impl_._cached_size_)*/ {},
|
|
} {}
|
|
struct Int64ValueDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR Int64ValueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~Int64ValueDefaultTypeInternal() {}
|
|
union {
|
|
Int64Value _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Int64ValueDefaultTypeInternal _Int64Value_default_instance_;
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR UInt64Value::UInt64Value(::_pbi::ConstantInitialized)
|
|
: _impl_{
|
|
/*decltype(_impl_.value_)*/ ::uint64_t{0u},
|
|
/*decltype(_impl_._cached_size_)*/ {},
|
|
} {}
|
|
struct UInt64ValueDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR UInt64ValueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~UInt64ValueDefaultTypeInternal() {}
|
|
union {
|
|
UInt64Value _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UInt64ValueDefaultTypeInternal _UInt64Value_default_instance_;
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR Int32Value::Int32Value(::_pbi::ConstantInitialized)
|
|
: _impl_{
|
|
/*decltype(_impl_.value_)*/ 0,
|
|
/*decltype(_impl_._cached_size_)*/ {},
|
|
} {}
|
|
struct Int32ValueDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR Int32ValueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~Int32ValueDefaultTypeInternal() {}
|
|
union {
|
|
Int32Value _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Int32ValueDefaultTypeInternal _Int32Value_default_instance_;
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR UInt32Value::UInt32Value(::_pbi::ConstantInitialized)
|
|
: _impl_{
|
|
/*decltype(_impl_.value_)*/ 0u,
|
|
/*decltype(_impl_._cached_size_)*/ {},
|
|
} {}
|
|
struct UInt32ValueDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR UInt32ValueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~UInt32ValueDefaultTypeInternal() {}
|
|
union {
|
|
UInt32Value _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UInt32ValueDefaultTypeInternal _UInt32Value_default_instance_;
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR BoolValue::BoolValue(::_pbi::ConstantInitialized)
|
|
: _impl_{
|
|
/*decltype(_impl_.value_)*/ false,
|
|
/*decltype(_impl_._cached_size_)*/ {},
|
|
} {}
|
|
struct BoolValueDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR BoolValueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~BoolValueDefaultTypeInternal() {}
|
|
union {
|
|
BoolValue _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BoolValueDefaultTypeInternal _BoolValue_default_instance_;
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR StringValue::StringValue(::_pbi::ConstantInitialized)
|
|
: _impl_{
|
|
/*decltype(_impl_.value_)*/ {
|
|
&::_pbi::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized{},
|
|
},
|
|
/*decltype(_impl_._cached_size_)*/ {},
|
|
} {}
|
|
struct StringValueDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR StringValueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~StringValueDefaultTypeInternal() {}
|
|
union {
|
|
StringValue _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StringValueDefaultTypeInternal _StringValue_default_instance_;
|
|
template <typename>
|
|
PROTOBUF_CONSTEXPR BytesValue::BytesValue(::_pbi::ConstantInitialized)
|
|
: _impl_{
|
|
/*decltype(_impl_.value_)*/ {
|
|
&::_pbi::fixed_address_empty_string,
|
|
::_pbi::ConstantInitialized{},
|
|
},
|
|
/*decltype(_impl_._cached_size_)*/ {},
|
|
} {}
|
|
struct BytesValueDefaultTypeInternal {
|
|
PROTOBUF_CONSTEXPR BytesValueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
|
|
~BytesValueDefaultTypeInternal() {}
|
|
union {
|
|
BytesValue _instance;
|
|
};
|
|
};
|
|
|
|
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BytesValueDefaultTypeInternal _BytesValue_default_instance_;
|
|
} // namespace protobuf
|
|
} // namespace google
|
|
static ::_pb::Metadata file_level_metadata_google_2fprotobuf_2fwrappers_2eproto[9];
|
|
static constexpr const ::_pb::EnumDescriptor**
|
|
file_level_enum_descriptors_google_2fprotobuf_2fwrappers_2eproto = nullptr;
|
|
static constexpr const ::_pb::ServiceDescriptor**
|
|
file_level_service_descriptors_google_2fprotobuf_2fwrappers_2eproto = nullptr;
|
|
const ::uint32_t TableStruct_google_2fprotobuf_2fwrappers_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(
|
|
protodesc_cold) = {
|
|
~0u, // no _has_bits_
|
|
PROTOBUF_FIELD_OFFSET(::google::protobuf::DoubleValue, _internal_metadata_),
|
|
~0u, // no _extensions_
|
|
~0u, // no _oneof_case_
|
|
~0u, // no _weak_field_map_
|
|
~0u, // no _inlined_string_donated_
|
|
~0u, // no _split_
|
|
~0u, // no sizeof(Split)
|
|
PROTOBUF_FIELD_OFFSET(::google::protobuf::DoubleValue, _impl_.value_),
|
|
~0u, // no _has_bits_
|
|
PROTOBUF_FIELD_OFFSET(::google::protobuf::FloatValue, _internal_metadata_),
|
|
~0u, // no _extensions_
|
|
~0u, // no _oneof_case_
|
|
~0u, // no _weak_field_map_
|
|
~0u, // no _inlined_string_donated_
|
|
~0u, // no _split_
|
|
~0u, // no sizeof(Split)
|
|
PROTOBUF_FIELD_OFFSET(::google::protobuf::FloatValue, _impl_.value_),
|
|
~0u, // no _has_bits_
|
|
PROTOBUF_FIELD_OFFSET(::google::protobuf::Int64Value, _internal_metadata_),
|
|
~0u, // no _extensions_
|
|
~0u, // no _oneof_case_
|
|
~0u, // no _weak_field_map_
|
|
~0u, // no _inlined_string_donated_
|
|
~0u, // no _split_
|
|
~0u, // no sizeof(Split)
|
|
PROTOBUF_FIELD_OFFSET(::google::protobuf::Int64Value, _impl_.value_),
|
|
~0u, // no _has_bits_
|
|
PROTOBUF_FIELD_OFFSET(::google::protobuf::UInt64Value, _internal_metadata_),
|
|
~0u, // no _extensions_
|
|
~0u, // no _oneof_case_
|
|
~0u, // no _weak_field_map_
|
|
~0u, // no _inlined_string_donated_
|
|
~0u, // no _split_
|
|
~0u, // no sizeof(Split)
|
|
PROTOBUF_FIELD_OFFSET(::google::protobuf::UInt64Value, _impl_.value_),
|
|
~0u, // no _has_bits_
|
|
PROTOBUF_FIELD_OFFSET(::google::protobuf::Int32Value, _internal_metadata_),
|
|
~0u, // no _extensions_
|
|
~0u, // no _oneof_case_
|
|
~0u, // no _weak_field_map_
|
|
~0u, // no _inlined_string_donated_
|
|
~0u, // no _split_
|
|
~0u, // no sizeof(Split)
|
|
PROTOBUF_FIELD_OFFSET(::google::protobuf::Int32Value, _impl_.value_),
|
|
~0u, // no _has_bits_
|
|
PROTOBUF_FIELD_OFFSET(::google::protobuf::UInt32Value, _internal_metadata_),
|
|
~0u, // no _extensions_
|
|
~0u, // no _oneof_case_
|
|
~0u, // no _weak_field_map_
|
|
~0u, // no _inlined_string_donated_
|
|
~0u, // no _split_
|
|
~0u, // no sizeof(Split)
|
|
PROTOBUF_FIELD_OFFSET(::google::protobuf::UInt32Value, _impl_.value_),
|
|
~0u, // no _has_bits_
|
|
PROTOBUF_FIELD_OFFSET(::google::protobuf::BoolValue, _internal_metadata_),
|
|
~0u, // no _extensions_
|
|
~0u, // no _oneof_case_
|
|
~0u, // no _weak_field_map_
|
|
~0u, // no _inlined_string_donated_
|
|
~0u, // no _split_
|
|
~0u, // no sizeof(Split)
|
|
PROTOBUF_FIELD_OFFSET(::google::protobuf::BoolValue, _impl_.value_),
|
|
~0u, // no _has_bits_
|
|
PROTOBUF_FIELD_OFFSET(::google::protobuf::StringValue, _internal_metadata_),
|
|
~0u, // no _extensions_
|
|
~0u, // no _oneof_case_
|
|
~0u, // no _weak_field_map_
|
|
~0u, // no _inlined_string_donated_
|
|
~0u, // no _split_
|
|
~0u, // no sizeof(Split)
|
|
PROTOBUF_FIELD_OFFSET(::google::protobuf::StringValue, _impl_.value_),
|
|
~0u, // no _has_bits_
|
|
PROTOBUF_FIELD_OFFSET(::google::protobuf::BytesValue, _internal_metadata_),
|
|
~0u, // no _extensions_
|
|
~0u, // no _oneof_case_
|
|
~0u, // no _weak_field_map_
|
|
~0u, // no _inlined_string_donated_
|
|
~0u, // no _split_
|
|
~0u, // no sizeof(Split)
|
|
PROTOBUF_FIELD_OFFSET(::google::protobuf::BytesValue, _impl_.value_),
|
|
};
|
|
|
|
static const ::_pbi::MigrationSchema
|
|
schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
|
|
{0, -1, -1, sizeof(::google::protobuf::DoubleValue)},
|
|
{9, -1, -1, sizeof(::google::protobuf::FloatValue)},
|
|
{18, -1, -1, sizeof(::google::protobuf::Int64Value)},
|
|
{27, -1, -1, sizeof(::google::protobuf::UInt64Value)},
|
|
{36, -1, -1, sizeof(::google::protobuf::Int32Value)},
|
|
{45, -1, -1, sizeof(::google::protobuf::UInt32Value)},
|
|
{54, -1, -1, sizeof(::google::protobuf::BoolValue)},
|
|
{63, -1, -1, sizeof(::google::protobuf::StringValue)},
|
|
{72, -1, -1, sizeof(::google::protobuf::BytesValue)},
|
|
};
|
|
|
|
static const ::_pb::Message* const file_default_instances[] = {
|
|
&::google::protobuf::_DoubleValue_default_instance_._instance,
|
|
&::google::protobuf::_FloatValue_default_instance_._instance,
|
|
&::google::protobuf::_Int64Value_default_instance_._instance,
|
|
&::google::protobuf::_UInt64Value_default_instance_._instance,
|
|
&::google::protobuf::_Int32Value_default_instance_._instance,
|
|
&::google::protobuf::_UInt32Value_default_instance_._instance,
|
|
&::google::protobuf::_BoolValue_default_instance_._instance,
|
|
&::google::protobuf::_StringValue_default_instance_._instance,
|
|
&::google::protobuf::_BytesValue_default_instance_._instance,
|
|
};
|
|
const char descriptor_table_protodef_google_2fprotobuf_2fwrappers_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
|
|
"\n\036google/protobuf/wrappers.proto\022\017google"
|
|
".protobuf\"\034\n\013DoubleValue\022\r\n\005value\030\001 \001(\001\""
|
|
"\033\n\nFloatValue\022\r\n\005value\030\001 \001(\002\"\033\n\nInt64Val"
|
|
"ue\022\r\n\005value\030\001 \001(\003\"\034\n\013UInt64Value\022\r\n\005valu"
|
|
"e\030\001 \001(\004\"\033\n\nInt32Value\022\r\n\005value\030\001 \001(\005\"\034\n\013"
|
|
"UInt32Value\022\r\n\005value\030\001 \001(\r\"\032\n\tBoolValue\022"
|
|
"\r\n\005value\030\001 \001(\010\"\034\n\013StringValue\022\r\n\005value\030\001"
|
|
" \001(\t\"\033\n\nBytesValue\022\r\n\005value\030\001 \001(\014B\203\001\n\023co"
|
|
"m.google.protobufB\rWrappersProtoP\001Z1goog"
|
|
"le.golang.org/protobuf/types/known/wrapp"
|
|
"erspb\370\001\001\242\002\003GPB\252\002\036Google.Protobuf.WellKno"
|
|
"wnTypesb\006proto3"
|
|
};
|
|
static ::absl::once_flag descriptor_table_google_2fprotobuf_2fwrappers_2eproto_once;
|
|
const ::_pbi::DescriptorTable descriptor_table_google_2fprotobuf_2fwrappers_2eproto = {
|
|
false,
|
|
false,
|
|
455,
|
|
descriptor_table_protodef_google_2fprotobuf_2fwrappers_2eproto,
|
|
"google/protobuf/wrappers.proto",
|
|
&descriptor_table_google_2fprotobuf_2fwrappers_2eproto_once,
|
|
nullptr,
|
|
0,
|
|
9,
|
|
schemas,
|
|
file_default_instances,
|
|
TableStruct_google_2fprotobuf_2fwrappers_2eproto::offsets,
|
|
file_level_metadata_google_2fprotobuf_2fwrappers_2eproto,
|
|
file_level_enum_descriptors_google_2fprotobuf_2fwrappers_2eproto,
|
|
file_level_service_descriptors_google_2fprotobuf_2fwrappers_2eproto,
|
|
};
|
|
|
|
// This function exists to be marked as weak.
|
|
// It can significantly speed up compilation by breaking up LLVM's SCC
|
|
// in the .pb.cc translation units. Large translation units see a
|
|
// reduction of more than 35% of walltime for optimized builds. Without
|
|
// the weak attribute all the messages in the file, including all the
|
|
// vtables and everything they use become part of the same SCC through
|
|
// a cycle like:
|
|
// GetMetadata -> descriptor table -> default instances ->
|
|
// vtables -> GetMetadata
|
|
// By adding a weak function here we break the connection from the
|
|
// individual vtables back into the descriptor table.
|
|
PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_google_2fprotobuf_2fwrappers_2eproto_getter() {
|
|
return &descriptor_table_google_2fprotobuf_2fwrappers_2eproto;
|
|
}
|
|
// Force running AddDescriptors() at dynamic initialization time.
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY2
|
|
static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_google_2fprotobuf_2fwrappers_2eproto(&descriptor_table_google_2fprotobuf_2fwrappers_2eproto);
|
|
namespace google {
|
|
namespace protobuf {
|
|
// ===================================================================
|
|
|
|
class DoubleValue::_Internal {
|
|
public:
|
|
};
|
|
|
|
DoubleValue::DoubleValue(::google::protobuf::Arena* arena)
|
|
: ::google::protobuf::Message(arena) {
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:google.protobuf.DoubleValue)
|
|
}
|
|
DoubleValue::DoubleValue(const DoubleValue& from)
|
|
: ::google::protobuf::Message(), _impl_(from._impl_) {
|
|
_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
|
|
from._internal_metadata_);
|
|
// @@protoc_insertion_point(copy_constructor:google.protobuf.DoubleValue)
|
|
}
|
|
inline void DoubleValue::SharedCtor(::_pb::Arena* arena) {
|
|
(void)arena;
|
|
new (&_impl_) Impl_{
|
|
decltype(_impl_.value_){0},
|
|
/*decltype(_impl_._cached_size_)*/ {},
|
|
};
|
|
}
|
|
DoubleValue::~DoubleValue() {
|
|
// @@protoc_insertion_point(destructor:google.protobuf.DoubleValue)
|
|
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
|
|
SharedDtor();
|
|
}
|
|
inline void DoubleValue::SharedDtor() {
|
|
ABSL_DCHECK(GetArenaForAllocation() == nullptr);
|
|
}
|
|
void DoubleValue::SetCachedSize(int size) const {
|
|
_impl_._cached_size_.Set(size);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE void DoubleValue::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:google.protobuf.DoubleValue)
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
_impl_.value_ = 0;
|
|
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
const char* DoubleValue::_InternalParse(
|
|
const char* ptr, ::_pbi::ParseContext* ctx) {
|
|
ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
|
|
return ptr;
|
|
}
|
|
|
|
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<0, 1, 0, 0, 2> DoubleValue::_table_ = {
|
|
{
|
|
0, // no _has_bits_
|
|
0, // no _extensions_
|
|
1, 0, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294967294, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
1, // num_field_entries
|
|
0, // num_aux_entries
|
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
|
&_DoubleValue_default_instance_._instance,
|
|
::_pbi::TcParser::GenericFallback, // fallback
|
|
}, {{
|
|
// double value = 1;
|
|
{::_pbi::TcParser::FastF64S1,
|
|
{9, 63, 0, PROTOBUF_FIELD_OFFSET(DoubleValue, _impl_.value_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// double value = 1;
|
|
{PROTOBUF_FIELD_OFFSET(DoubleValue, _impl_.value_), 0, 0,
|
|
(0 | ::_fl::kFcSingular | ::_fl::kDouble)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
|
|
::uint8_t* DoubleValue::_InternalSerialize(
|
|
::uint8_t* target,
|
|
::google::protobuf::io::EpsCopyOutputStream* stream) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.DoubleValue)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
// double value = 1;
|
|
static_assert(sizeof(::uint64_t) == sizeof(double),
|
|
"Code assumes ::uint64_t and double are the same size.");
|
|
double tmp_value = this->_internal_value();
|
|
::uint64_t raw_value;
|
|
memcpy(&raw_value, &tmp_value, sizeof(tmp_value));
|
|
if (raw_value != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteDoubleToArray(
|
|
1, this->_internal_value(), target);
|
|
}
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
target =
|
|
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:google.protobuf.DoubleValue)
|
|
return target;
|
|
}
|
|
|
|
::size_t DoubleValue::ByteSizeLong() const {
|
|
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.DoubleValue)
|
|
::size_t total_size = 0;
|
|
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
// double value = 1;
|
|
static_assert(sizeof(::uint64_t) == sizeof(double),
|
|
"Code assumes ::uint64_t and double are the same size.");
|
|
double tmp_value = this->_internal_value();
|
|
::uint64_t raw_value;
|
|
memcpy(&raw_value, &tmp_value, sizeof(tmp_value));
|
|
if (raw_value != 0) {
|
|
total_size += 9;
|
|
}
|
|
|
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
|
}
|
|
|
|
const ::google::protobuf::Message::ClassData DoubleValue::_class_data_ = {
|
|
::google::protobuf::Message::CopyWithSourceCheck,
|
|
DoubleValue::MergeImpl
|
|
};
|
|
const ::google::protobuf::Message::ClassData*DoubleValue::GetClassData() const { return &_class_data_; }
|
|
|
|
|
|
void DoubleValue::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
|
|
auto* const _this = static_cast<DoubleValue*>(&to_msg);
|
|
auto& from = static_cast<const DoubleValue&>(from_msg);
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.DoubleValue)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void) cached_has_bits;
|
|
|
|
static_assert(sizeof(::uint64_t) == sizeof(double),
|
|
"Code assumes ::uint64_t and double are the same size.");
|
|
double tmp_value = from._internal_value();
|
|
::uint64_t raw_value;
|
|
memcpy(&raw_value, &tmp_value, sizeof(tmp_value));
|
|
if (raw_value != 0) {
|
|
_this->_internal_set_value(from._internal_value());
|
|
}
|
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
|
}
|
|
|
|
void DoubleValue::CopyFrom(const DoubleValue& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.DoubleValue)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE bool DoubleValue::IsInitialized() const {
|
|
return true;
|
|
}
|
|
|
|
void DoubleValue::InternalSwap(DoubleValue* other) {
|
|
using std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_.value_, other->_impl_.value_);
|
|
}
|
|
|
|
::google::protobuf::Metadata DoubleValue::GetMetadata() const {
|
|
return ::_pbi::AssignDescriptors(
|
|
&descriptor_table_google_2fprotobuf_2fwrappers_2eproto_getter, &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_once,
|
|
file_level_metadata_google_2fprotobuf_2fwrappers_2eproto[0]);
|
|
}
|
|
// ===================================================================
|
|
|
|
class FloatValue::_Internal {
|
|
public:
|
|
};
|
|
|
|
FloatValue::FloatValue(::google::protobuf::Arena* arena)
|
|
: ::google::protobuf::Message(arena) {
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:google.protobuf.FloatValue)
|
|
}
|
|
FloatValue::FloatValue(const FloatValue& from)
|
|
: ::google::protobuf::Message(), _impl_(from._impl_) {
|
|
_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
|
|
from._internal_metadata_);
|
|
// @@protoc_insertion_point(copy_constructor:google.protobuf.FloatValue)
|
|
}
|
|
inline void FloatValue::SharedCtor(::_pb::Arena* arena) {
|
|
(void)arena;
|
|
new (&_impl_) Impl_{
|
|
decltype(_impl_.value_){0},
|
|
/*decltype(_impl_._cached_size_)*/ {},
|
|
};
|
|
}
|
|
FloatValue::~FloatValue() {
|
|
// @@protoc_insertion_point(destructor:google.protobuf.FloatValue)
|
|
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
|
|
SharedDtor();
|
|
}
|
|
inline void FloatValue::SharedDtor() {
|
|
ABSL_DCHECK(GetArenaForAllocation() == nullptr);
|
|
}
|
|
void FloatValue::SetCachedSize(int size) const {
|
|
_impl_._cached_size_.Set(size);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE void FloatValue::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:google.protobuf.FloatValue)
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
_impl_.value_ = 0;
|
|
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
const char* FloatValue::_InternalParse(
|
|
const char* ptr, ::_pbi::ParseContext* ctx) {
|
|
ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
|
|
return ptr;
|
|
}
|
|
|
|
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<0, 1, 0, 0, 2> FloatValue::_table_ = {
|
|
{
|
|
0, // no _has_bits_
|
|
0, // no _extensions_
|
|
1, 0, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294967294, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
1, // num_field_entries
|
|
0, // num_aux_entries
|
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
|
&_FloatValue_default_instance_._instance,
|
|
::_pbi::TcParser::GenericFallback, // fallback
|
|
}, {{
|
|
// float value = 1;
|
|
{::_pbi::TcParser::FastF32S1,
|
|
{13, 63, 0, PROTOBUF_FIELD_OFFSET(FloatValue, _impl_.value_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// float value = 1;
|
|
{PROTOBUF_FIELD_OFFSET(FloatValue, _impl_.value_), 0, 0,
|
|
(0 | ::_fl::kFcSingular | ::_fl::kFloat)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
|
|
::uint8_t* FloatValue::_InternalSerialize(
|
|
::uint8_t* target,
|
|
::google::protobuf::io::EpsCopyOutputStream* stream) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FloatValue)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
// float value = 1;
|
|
static_assert(sizeof(::uint32_t) == sizeof(float),
|
|
"Code assumes ::uint32_t and float are the same size.");
|
|
float tmp_value = this->_internal_value();
|
|
::uint32_t raw_value;
|
|
memcpy(&raw_value, &tmp_value, sizeof(tmp_value));
|
|
if (raw_value != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteFloatToArray(
|
|
1, this->_internal_value(), target);
|
|
}
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
target =
|
|
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:google.protobuf.FloatValue)
|
|
return target;
|
|
}
|
|
|
|
::size_t FloatValue::ByteSizeLong() const {
|
|
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.FloatValue)
|
|
::size_t total_size = 0;
|
|
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
// float value = 1;
|
|
static_assert(sizeof(::uint32_t) == sizeof(float),
|
|
"Code assumes ::uint32_t and float are the same size.");
|
|
float tmp_value = this->_internal_value();
|
|
::uint32_t raw_value;
|
|
memcpy(&raw_value, &tmp_value, sizeof(tmp_value));
|
|
if (raw_value != 0) {
|
|
total_size += 5;
|
|
}
|
|
|
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
|
}
|
|
|
|
const ::google::protobuf::Message::ClassData FloatValue::_class_data_ = {
|
|
::google::protobuf::Message::CopyWithSourceCheck,
|
|
FloatValue::MergeImpl
|
|
};
|
|
const ::google::protobuf::Message::ClassData*FloatValue::GetClassData() const { return &_class_data_; }
|
|
|
|
|
|
void FloatValue::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
|
|
auto* const _this = static_cast<FloatValue*>(&to_msg);
|
|
auto& from = static_cast<const FloatValue&>(from_msg);
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.FloatValue)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void) cached_has_bits;
|
|
|
|
static_assert(sizeof(::uint32_t) == sizeof(float),
|
|
"Code assumes ::uint32_t and float are the same size.");
|
|
float tmp_value = from._internal_value();
|
|
::uint32_t raw_value;
|
|
memcpy(&raw_value, &tmp_value, sizeof(tmp_value));
|
|
if (raw_value != 0) {
|
|
_this->_internal_set_value(from._internal_value());
|
|
}
|
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
|
}
|
|
|
|
void FloatValue::CopyFrom(const FloatValue& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.FloatValue)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE bool FloatValue::IsInitialized() const {
|
|
return true;
|
|
}
|
|
|
|
void FloatValue::InternalSwap(FloatValue* other) {
|
|
using std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_.value_, other->_impl_.value_);
|
|
}
|
|
|
|
::google::protobuf::Metadata FloatValue::GetMetadata() const {
|
|
return ::_pbi::AssignDescriptors(
|
|
&descriptor_table_google_2fprotobuf_2fwrappers_2eproto_getter, &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_once,
|
|
file_level_metadata_google_2fprotobuf_2fwrappers_2eproto[1]);
|
|
}
|
|
// ===================================================================
|
|
|
|
class Int64Value::_Internal {
|
|
public:
|
|
};
|
|
|
|
Int64Value::Int64Value(::google::protobuf::Arena* arena)
|
|
: ::google::protobuf::Message(arena) {
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:google.protobuf.Int64Value)
|
|
}
|
|
Int64Value::Int64Value(const Int64Value& from)
|
|
: ::google::protobuf::Message(), _impl_(from._impl_) {
|
|
_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
|
|
from._internal_metadata_);
|
|
// @@protoc_insertion_point(copy_constructor:google.protobuf.Int64Value)
|
|
}
|
|
inline void Int64Value::SharedCtor(::_pb::Arena* arena) {
|
|
(void)arena;
|
|
new (&_impl_) Impl_{
|
|
decltype(_impl_.value_){::int64_t{0}},
|
|
/*decltype(_impl_._cached_size_)*/ {},
|
|
};
|
|
}
|
|
Int64Value::~Int64Value() {
|
|
// @@protoc_insertion_point(destructor:google.protobuf.Int64Value)
|
|
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
|
|
SharedDtor();
|
|
}
|
|
inline void Int64Value::SharedDtor() {
|
|
ABSL_DCHECK(GetArenaForAllocation() == nullptr);
|
|
}
|
|
void Int64Value::SetCachedSize(int size) const {
|
|
_impl_._cached_size_.Set(size);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE void Int64Value::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:google.protobuf.Int64Value)
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
_impl_.value_ = ::int64_t{0};
|
|
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
const char* Int64Value::_InternalParse(
|
|
const char* ptr, ::_pbi::ParseContext* ctx) {
|
|
ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
|
|
return ptr;
|
|
}
|
|
|
|
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<0, 1, 0, 0, 2> Int64Value::_table_ = {
|
|
{
|
|
0, // no _has_bits_
|
|
0, // no _extensions_
|
|
1, 0, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294967294, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
1, // num_field_entries
|
|
0, // num_aux_entries
|
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
|
&_Int64Value_default_instance_._instance,
|
|
::_pbi::TcParser::GenericFallback, // fallback
|
|
}, {{
|
|
// int64 value = 1;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(Int64Value, _impl_.value_), 63>(),
|
|
{8, 63, 0, PROTOBUF_FIELD_OFFSET(Int64Value, _impl_.value_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// int64 value = 1;
|
|
{PROTOBUF_FIELD_OFFSET(Int64Value, _impl_.value_), 0, 0,
|
|
(0 | ::_fl::kFcSingular | ::_fl::kInt64)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
|
|
::uint8_t* Int64Value::_InternalSerialize(
|
|
::uint8_t* target,
|
|
::google::protobuf::io::EpsCopyOutputStream* stream) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Int64Value)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
// int64 value = 1;
|
|
if (this->_internal_value() != 0) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteInt64ToArrayWithField<1>(
|
|
stream, this->_internal_value(), target);
|
|
}
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
target =
|
|
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Int64Value)
|
|
return target;
|
|
}
|
|
|
|
::size_t Int64Value::ByteSizeLong() const {
|
|
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Int64Value)
|
|
::size_t total_size = 0;
|
|
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
// int64 value = 1;
|
|
if (this->_internal_value() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
|
|
this->_internal_value());
|
|
}
|
|
|
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
|
}
|
|
|
|
const ::google::protobuf::Message::ClassData Int64Value::_class_data_ = {
|
|
::google::protobuf::Message::CopyWithSourceCheck,
|
|
Int64Value::MergeImpl
|
|
};
|
|
const ::google::protobuf::Message::ClassData*Int64Value::GetClassData() const { return &_class_data_; }
|
|
|
|
|
|
void Int64Value::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
|
|
auto* const _this = static_cast<Int64Value*>(&to_msg);
|
|
auto& from = static_cast<const Int64Value&>(from_msg);
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Int64Value)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void) cached_has_bits;
|
|
|
|
if (from._internal_value() != 0) {
|
|
_this->_internal_set_value(from._internal_value());
|
|
}
|
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
|
}
|
|
|
|
void Int64Value::CopyFrom(const Int64Value& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.Int64Value)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE bool Int64Value::IsInitialized() const {
|
|
return true;
|
|
}
|
|
|
|
void Int64Value::InternalSwap(Int64Value* other) {
|
|
using std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_.value_, other->_impl_.value_);
|
|
}
|
|
|
|
::google::protobuf::Metadata Int64Value::GetMetadata() const {
|
|
return ::_pbi::AssignDescriptors(
|
|
&descriptor_table_google_2fprotobuf_2fwrappers_2eproto_getter, &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_once,
|
|
file_level_metadata_google_2fprotobuf_2fwrappers_2eproto[2]);
|
|
}
|
|
// ===================================================================
|
|
|
|
class UInt64Value::_Internal {
|
|
public:
|
|
};
|
|
|
|
UInt64Value::UInt64Value(::google::protobuf::Arena* arena)
|
|
: ::google::protobuf::Message(arena) {
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:google.protobuf.UInt64Value)
|
|
}
|
|
UInt64Value::UInt64Value(const UInt64Value& from)
|
|
: ::google::protobuf::Message(), _impl_(from._impl_) {
|
|
_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
|
|
from._internal_metadata_);
|
|
// @@protoc_insertion_point(copy_constructor:google.protobuf.UInt64Value)
|
|
}
|
|
inline void UInt64Value::SharedCtor(::_pb::Arena* arena) {
|
|
(void)arena;
|
|
new (&_impl_) Impl_{
|
|
decltype(_impl_.value_){::uint64_t{0u}},
|
|
/*decltype(_impl_._cached_size_)*/ {},
|
|
};
|
|
}
|
|
UInt64Value::~UInt64Value() {
|
|
// @@protoc_insertion_point(destructor:google.protobuf.UInt64Value)
|
|
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
|
|
SharedDtor();
|
|
}
|
|
inline void UInt64Value::SharedDtor() {
|
|
ABSL_DCHECK(GetArenaForAllocation() == nullptr);
|
|
}
|
|
void UInt64Value::SetCachedSize(int size) const {
|
|
_impl_._cached_size_.Set(size);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE void UInt64Value::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:google.protobuf.UInt64Value)
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
_impl_.value_ = ::uint64_t{0u};
|
|
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
const char* UInt64Value::_InternalParse(
|
|
const char* ptr, ::_pbi::ParseContext* ctx) {
|
|
ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
|
|
return ptr;
|
|
}
|
|
|
|
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<0, 1, 0, 0, 2> UInt64Value::_table_ = {
|
|
{
|
|
0, // no _has_bits_
|
|
0, // no _extensions_
|
|
1, 0, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294967294, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
1, // num_field_entries
|
|
0, // num_aux_entries
|
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
|
&_UInt64Value_default_instance_._instance,
|
|
::_pbi::TcParser::GenericFallback, // fallback
|
|
}, {{
|
|
// uint64 value = 1;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(UInt64Value, _impl_.value_), 63>(),
|
|
{8, 63, 0, PROTOBUF_FIELD_OFFSET(UInt64Value, _impl_.value_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// uint64 value = 1;
|
|
{PROTOBUF_FIELD_OFFSET(UInt64Value, _impl_.value_), 0, 0,
|
|
(0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
|
|
::uint8_t* UInt64Value::_InternalSerialize(
|
|
::uint8_t* target,
|
|
::google::protobuf::io::EpsCopyOutputStream* stream) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.UInt64Value)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
// uint64 value = 1;
|
|
if (this->_internal_value() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt64ToArray(
|
|
1, this->_internal_value(), target);
|
|
}
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
target =
|
|
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:google.protobuf.UInt64Value)
|
|
return target;
|
|
}
|
|
|
|
::size_t UInt64Value::ByteSizeLong() const {
|
|
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.UInt64Value)
|
|
::size_t total_size = 0;
|
|
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
// uint64 value = 1;
|
|
if (this->_internal_value() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
|
|
this->_internal_value());
|
|
}
|
|
|
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
|
}
|
|
|
|
const ::google::protobuf::Message::ClassData UInt64Value::_class_data_ = {
|
|
::google::protobuf::Message::CopyWithSourceCheck,
|
|
UInt64Value::MergeImpl
|
|
};
|
|
const ::google::protobuf::Message::ClassData*UInt64Value::GetClassData() const { return &_class_data_; }
|
|
|
|
|
|
void UInt64Value::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
|
|
auto* const _this = static_cast<UInt64Value*>(&to_msg);
|
|
auto& from = static_cast<const UInt64Value&>(from_msg);
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.UInt64Value)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void) cached_has_bits;
|
|
|
|
if (from._internal_value() != 0) {
|
|
_this->_internal_set_value(from._internal_value());
|
|
}
|
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
|
}
|
|
|
|
void UInt64Value::CopyFrom(const UInt64Value& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.UInt64Value)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE bool UInt64Value::IsInitialized() const {
|
|
return true;
|
|
}
|
|
|
|
void UInt64Value::InternalSwap(UInt64Value* other) {
|
|
using std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_.value_, other->_impl_.value_);
|
|
}
|
|
|
|
::google::protobuf::Metadata UInt64Value::GetMetadata() const {
|
|
return ::_pbi::AssignDescriptors(
|
|
&descriptor_table_google_2fprotobuf_2fwrappers_2eproto_getter, &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_once,
|
|
file_level_metadata_google_2fprotobuf_2fwrappers_2eproto[3]);
|
|
}
|
|
// ===================================================================
|
|
|
|
class Int32Value::_Internal {
|
|
public:
|
|
};
|
|
|
|
Int32Value::Int32Value(::google::protobuf::Arena* arena)
|
|
: ::google::protobuf::Message(arena) {
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:google.protobuf.Int32Value)
|
|
}
|
|
Int32Value::Int32Value(const Int32Value& from)
|
|
: ::google::protobuf::Message(), _impl_(from._impl_) {
|
|
_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
|
|
from._internal_metadata_);
|
|
// @@protoc_insertion_point(copy_constructor:google.protobuf.Int32Value)
|
|
}
|
|
inline void Int32Value::SharedCtor(::_pb::Arena* arena) {
|
|
(void)arena;
|
|
new (&_impl_) Impl_{
|
|
decltype(_impl_.value_){0},
|
|
/*decltype(_impl_._cached_size_)*/ {},
|
|
};
|
|
}
|
|
Int32Value::~Int32Value() {
|
|
// @@protoc_insertion_point(destructor:google.protobuf.Int32Value)
|
|
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
|
|
SharedDtor();
|
|
}
|
|
inline void Int32Value::SharedDtor() {
|
|
ABSL_DCHECK(GetArenaForAllocation() == nullptr);
|
|
}
|
|
void Int32Value::SetCachedSize(int size) const {
|
|
_impl_._cached_size_.Set(size);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE void Int32Value::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:google.protobuf.Int32Value)
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
_impl_.value_ = 0;
|
|
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
const char* Int32Value::_InternalParse(
|
|
const char* ptr, ::_pbi::ParseContext* ctx) {
|
|
ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
|
|
return ptr;
|
|
}
|
|
|
|
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<0, 1, 0, 0, 2> Int32Value::_table_ = {
|
|
{
|
|
0, // no _has_bits_
|
|
0, // no _extensions_
|
|
1, 0, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294967294, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
1, // num_field_entries
|
|
0, // num_aux_entries
|
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
|
&_Int32Value_default_instance_._instance,
|
|
::_pbi::TcParser::GenericFallback, // fallback
|
|
}, {{
|
|
// int32 value = 1;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Int32Value, _impl_.value_), 63>(),
|
|
{8, 63, 0, PROTOBUF_FIELD_OFFSET(Int32Value, _impl_.value_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// int32 value = 1;
|
|
{PROTOBUF_FIELD_OFFSET(Int32Value, _impl_.value_), 0, 0,
|
|
(0 | ::_fl::kFcSingular | ::_fl::kInt32)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
|
|
::uint8_t* Int32Value::_InternalSerialize(
|
|
::uint8_t* target,
|
|
::google::protobuf::io::EpsCopyOutputStream* stream) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Int32Value)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
// int32 value = 1;
|
|
if (this->_internal_value() != 0) {
|
|
target = ::google::protobuf::internal::WireFormatLite::
|
|
WriteInt32ToArrayWithField<1>(
|
|
stream, this->_internal_value(), target);
|
|
}
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
target =
|
|
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Int32Value)
|
|
return target;
|
|
}
|
|
|
|
::size_t Int32Value::ByteSizeLong() const {
|
|
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Int32Value)
|
|
::size_t total_size = 0;
|
|
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
// int32 value = 1;
|
|
if (this->_internal_value() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
|
|
this->_internal_value());
|
|
}
|
|
|
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
|
}
|
|
|
|
const ::google::protobuf::Message::ClassData Int32Value::_class_data_ = {
|
|
::google::protobuf::Message::CopyWithSourceCheck,
|
|
Int32Value::MergeImpl
|
|
};
|
|
const ::google::protobuf::Message::ClassData*Int32Value::GetClassData() const { return &_class_data_; }
|
|
|
|
|
|
void Int32Value::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
|
|
auto* const _this = static_cast<Int32Value*>(&to_msg);
|
|
auto& from = static_cast<const Int32Value&>(from_msg);
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Int32Value)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void) cached_has_bits;
|
|
|
|
if (from._internal_value() != 0) {
|
|
_this->_internal_set_value(from._internal_value());
|
|
}
|
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
|
}
|
|
|
|
void Int32Value::CopyFrom(const Int32Value& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.Int32Value)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE bool Int32Value::IsInitialized() const {
|
|
return true;
|
|
}
|
|
|
|
void Int32Value::InternalSwap(Int32Value* other) {
|
|
using std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_.value_, other->_impl_.value_);
|
|
}
|
|
|
|
::google::protobuf::Metadata Int32Value::GetMetadata() const {
|
|
return ::_pbi::AssignDescriptors(
|
|
&descriptor_table_google_2fprotobuf_2fwrappers_2eproto_getter, &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_once,
|
|
file_level_metadata_google_2fprotobuf_2fwrappers_2eproto[4]);
|
|
}
|
|
// ===================================================================
|
|
|
|
class UInt32Value::_Internal {
|
|
public:
|
|
};
|
|
|
|
UInt32Value::UInt32Value(::google::protobuf::Arena* arena)
|
|
: ::google::protobuf::Message(arena) {
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:google.protobuf.UInt32Value)
|
|
}
|
|
UInt32Value::UInt32Value(const UInt32Value& from)
|
|
: ::google::protobuf::Message(), _impl_(from._impl_) {
|
|
_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
|
|
from._internal_metadata_);
|
|
// @@protoc_insertion_point(copy_constructor:google.protobuf.UInt32Value)
|
|
}
|
|
inline void UInt32Value::SharedCtor(::_pb::Arena* arena) {
|
|
(void)arena;
|
|
new (&_impl_) Impl_{
|
|
decltype(_impl_.value_){0u},
|
|
/*decltype(_impl_._cached_size_)*/ {},
|
|
};
|
|
}
|
|
UInt32Value::~UInt32Value() {
|
|
// @@protoc_insertion_point(destructor:google.protobuf.UInt32Value)
|
|
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
|
|
SharedDtor();
|
|
}
|
|
inline void UInt32Value::SharedDtor() {
|
|
ABSL_DCHECK(GetArenaForAllocation() == nullptr);
|
|
}
|
|
void UInt32Value::SetCachedSize(int size) const {
|
|
_impl_._cached_size_.Set(size);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE void UInt32Value::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:google.protobuf.UInt32Value)
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
_impl_.value_ = 0u;
|
|
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
const char* UInt32Value::_InternalParse(
|
|
const char* ptr, ::_pbi::ParseContext* ctx) {
|
|
ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
|
|
return ptr;
|
|
}
|
|
|
|
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<0, 1, 0, 0, 2> UInt32Value::_table_ = {
|
|
{
|
|
0, // no _has_bits_
|
|
0, // no _extensions_
|
|
1, 0, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294967294, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
1, // num_field_entries
|
|
0, // num_aux_entries
|
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
|
&_UInt32Value_default_instance_._instance,
|
|
::_pbi::TcParser::GenericFallback, // fallback
|
|
}, {{
|
|
// uint32 value = 1;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(UInt32Value, _impl_.value_), 63>(),
|
|
{8, 63, 0, PROTOBUF_FIELD_OFFSET(UInt32Value, _impl_.value_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// uint32 value = 1;
|
|
{PROTOBUF_FIELD_OFFSET(UInt32Value, _impl_.value_), 0, 0,
|
|
(0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
|
|
::uint8_t* UInt32Value::_InternalSerialize(
|
|
::uint8_t* target,
|
|
::google::protobuf::io::EpsCopyOutputStream* stream) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.UInt32Value)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
// uint32 value = 1;
|
|
if (this->_internal_value() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
|
|
1, this->_internal_value(), target);
|
|
}
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
target =
|
|
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:google.protobuf.UInt32Value)
|
|
return target;
|
|
}
|
|
|
|
::size_t UInt32Value::ByteSizeLong() const {
|
|
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.UInt32Value)
|
|
::size_t total_size = 0;
|
|
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
// uint32 value = 1;
|
|
if (this->_internal_value() != 0) {
|
|
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
|
|
this->_internal_value());
|
|
}
|
|
|
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
|
}
|
|
|
|
const ::google::protobuf::Message::ClassData UInt32Value::_class_data_ = {
|
|
::google::protobuf::Message::CopyWithSourceCheck,
|
|
UInt32Value::MergeImpl
|
|
};
|
|
const ::google::protobuf::Message::ClassData*UInt32Value::GetClassData() const { return &_class_data_; }
|
|
|
|
|
|
void UInt32Value::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
|
|
auto* const _this = static_cast<UInt32Value*>(&to_msg);
|
|
auto& from = static_cast<const UInt32Value&>(from_msg);
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.UInt32Value)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void) cached_has_bits;
|
|
|
|
if (from._internal_value() != 0) {
|
|
_this->_internal_set_value(from._internal_value());
|
|
}
|
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
|
}
|
|
|
|
void UInt32Value::CopyFrom(const UInt32Value& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.UInt32Value)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE bool UInt32Value::IsInitialized() const {
|
|
return true;
|
|
}
|
|
|
|
void UInt32Value::InternalSwap(UInt32Value* other) {
|
|
using std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_.value_, other->_impl_.value_);
|
|
}
|
|
|
|
::google::protobuf::Metadata UInt32Value::GetMetadata() const {
|
|
return ::_pbi::AssignDescriptors(
|
|
&descriptor_table_google_2fprotobuf_2fwrappers_2eproto_getter, &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_once,
|
|
file_level_metadata_google_2fprotobuf_2fwrappers_2eproto[5]);
|
|
}
|
|
// ===================================================================
|
|
|
|
class BoolValue::_Internal {
|
|
public:
|
|
};
|
|
|
|
BoolValue::BoolValue(::google::protobuf::Arena* arena)
|
|
: ::google::protobuf::Message(arena) {
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:google.protobuf.BoolValue)
|
|
}
|
|
BoolValue::BoolValue(const BoolValue& from)
|
|
: ::google::protobuf::Message(), _impl_(from._impl_) {
|
|
_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
|
|
from._internal_metadata_);
|
|
// @@protoc_insertion_point(copy_constructor:google.protobuf.BoolValue)
|
|
}
|
|
inline void BoolValue::SharedCtor(::_pb::Arena* arena) {
|
|
(void)arena;
|
|
new (&_impl_) Impl_{
|
|
decltype(_impl_.value_){false},
|
|
/*decltype(_impl_._cached_size_)*/ {},
|
|
};
|
|
}
|
|
BoolValue::~BoolValue() {
|
|
// @@protoc_insertion_point(destructor:google.protobuf.BoolValue)
|
|
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
|
|
SharedDtor();
|
|
}
|
|
inline void BoolValue::SharedDtor() {
|
|
ABSL_DCHECK(GetArenaForAllocation() == nullptr);
|
|
}
|
|
void BoolValue::SetCachedSize(int size) const {
|
|
_impl_._cached_size_.Set(size);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE void BoolValue::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:google.protobuf.BoolValue)
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
_impl_.value_ = false;
|
|
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
const char* BoolValue::_InternalParse(
|
|
const char* ptr, ::_pbi::ParseContext* ctx) {
|
|
ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
|
|
return ptr;
|
|
}
|
|
|
|
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<0, 1, 0, 0, 2> BoolValue::_table_ = {
|
|
{
|
|
0, // no _has_bits_
|
|
0, // no _extensions_
|
|
1, 0, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294967294, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
1, // num_field_entries
|
|
0, // num_aux_entries
|
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
|
&_BoolValue_default_instance_._instance,
|
|
::_pbi::TcParser::GenericFallback, // fallback
|
|
}, {{
|
|
// bool value = 1;
|
|
{::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(BoolValue, _impl_.value_), 63>(),
|
|
{8, 63, 0, PROTOBUF_FIELD_OFFSET(BoolValue, _impl_.value_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// bool value = 1;
|
|
{PROTOBUF_FIELD_OFFSET(BoolValue, _impl_.value_), 0, 0,
|
|
(0 | ::_fl::kFcSingular | ::_fl::kBool)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
|
|
::uint8_t* BoolValue::_InternalSerialize(
|
|
::uint8_t* target,
|
|
::google::protobuf::io::EpsCopyOutputStream* stream) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.BoolValue)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
// bool value = 1;
|
|
if (this->_internal_value() != 0) {
|
|
target = stream->EnsureSpace(target);
|
|
target = ::_pbi::WireFormatLite::WriteBoolToArray(
|
|
1, this->_internal_value(), target);
|
|
}
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
target =
|
|
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:google.protobuf.BoolValue)
|
|
return target;
|
|
}
|
|
|
|
::size_t BoolValue::ByteSizeLong() const {
|
|
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.BoolValue)
|
|
::size_t total_size = 0;
|
|
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
// bool value = 1;
|
|
if (this->_internal_value() != 0) {
|
|
total_size += 2;
|
|
}
|
|
|
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
|
}
|
|
|
|
const ::google::protobuf::Message::ClassData BoolValue::_class_data_ = {
|
|
::google::protobuf::Message::CopyWithSourceCheck,
|
|
BoolValue::MergeImpl
|
|
};
|
|
const ::google::protobuf::Message::ClassData*BoolValue::GetClassData() const { return &_class_data_; }
|
|
|
|
|
|
void BoolValue::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
|
|
auto* const _this = static_cast<BoolValue*>(&to_msg);
|
|
auto& from = static_cast<const BoolValue&>(from_msg);
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.BoolValue)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void) cached_has_bits;
|
|
|
|
if (from._internal_value() != 0) {
|
|
_this->_internal_set_value(from._internal_value());
|
|
}
|
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
|
}
|
|
|
|
void BoolValue::CopyFrom(const BoolValue& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.BoolValue)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE bool BoolValue::IsInitialized() const {
|
|
return true;
|
|
}
|
|
|
|
void BoolValue::InternalSwap(BoolValue* other) {
|
|
using std::swap;
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
swap(_impl_.value_, other->_impl_.value_);
|
|
}
|
|
|
|
::google::protobuf::Metadata BoolValue::GetMetadata() const {
|
|
return ::_pbi::AssignDescriptors(
|
|
&descriptor_table_google_2fprotobuf_2fwrappers_2eproto_getter, &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_once,
|
|
file_level_metadata_google_2fprotobuf_2fwrappers_2eproto[6]);
|
|
}
|
|
// ===================================================================
|
|
|
|
class StringValue::_Internal {
|
|
public:
|
|
};
|
|
|
|
StringValue::StringValue(::google::protobuf::Arena* arena)
|
|
: ::google::protobuf::Message(arena) {
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:google.protobuf.StringValue)
|
|
}
|
|
StringValue::StringValue(const StringValue& from) : ::google::protobuf::Message() {
|
|
StringValue* const _this = this;
|
|
(void)_this;
|
|
new (&_impl_) Impl_{
|
|
decltype(_impl_.value_){},
|
|
/*decltype(_impl_._cached_size_)*/ {},
|
|
};
|
|
_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
|
|
from._internal_metadata_);
|
|
_impl_.value_.InitDefault();
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
_impl_.value_.Set("", GetArenaForAllocation());
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
if (!from._internal_value().empty()) {
|
|
_this->_impl_.value_.Set(from._internal_value(), _this->GetArenaForAllocation());
|
|
}
|
|
|
|
// @@protoc_insertion_point(copy_constructor:google.protobuf.StringValue)
|
|
}
|
|
inline void StringValue::SharedCtor(::_pb::Arena* arena) {
|
|
(void)arena;
|
|
new (&_impl_) Impl_{
|
|
decltype(_impl_.value_){},
|
|
/*decltype(_impl_._cached_size_)*/ {},
|
|
};
|
|
_impl_.value_.InitDefault();
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
_impl_.value_.Set("", GetArenaForAllocation());
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
}
|
|
StringValue::~StringValue() {
|
|
// @@protoc_insertion_point(destructor:google.protobuf.StringValue)
|
|
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
|
|
SharedDtor();
|
|
}
|
|
inline void StringValue::SharedDtor() {
|
|
ABSL_DCHECK(GetArenaForAllocation() == nullptr);
|
|
_impl_.value_.Destroy();
|
|
}
|
|
void StringValue::SetCachedSize(int size) const {
|
|
_impl_._cached_size_.Set(size);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE void StringValue::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:google.protobuf.StringValue)
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
_impl_.value_.ClearToEmpty();
|
|
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
const char* StringValue::_InternalParse(
|
|
const char* ptr, ::_pbi::ParseContext* ctx) {
|
|
ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
|
|
return ptr;
|
|
}
|
|
|
|
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<0, 1, 0, 41, 2> StringValue::_table_ = {
|
|
{
|
|
0, // no _has_bits_
|
|
0, // no _extensions_
|
|
1, 0, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294967294, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
1, // num_field_entries
|
|
0, // num_aux_entries
|
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
|
&_StringValue_default_instance_._instance,
|
|
::_pbi::TcParser::GenericFallback, // fallback
|
|
}, {{
|
|
// string value = 1;
|
|
{::_pbi::TcParser::FastUS1,
|
|
{10, 63, 0, PROTOBUF_FIELD_OFFSET(StringValue, _impl_.value_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// string value = 1;
|
|
{PROTOBUF_FIELD_OFFSET(StringValue, _impl_.value_), 0, 0,
|
|
(0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
"\33\5\0\0\0\0\0\0"
|
|
"google.protobuf.StringValue"
|
|
"value"
|
|
}},
|
|
};
|
|
|
|
::uint8_t* StringValue::_InternalSerialize(
|
|
::uint8_t* target,
|
|
::google::protobuf::io::EpsCopyOutputStream* stream) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.StringValue)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
// string value = 1;
|
|
if (!this->_internal_value().empty()) {
|
|
const std::string& _s = this->_internal_value();
|
|
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
|
|
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.StringValue.value");
|
|
target = stream->WriteStringMaybeAliased(1, _s, target);
|
|
}
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
target =
|
|
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:google.protobuf.StringValue)
|
|
return target;
|
|
}
|
|
|
|
::size_t StringValue::ByteSizeLong() const {
|
|
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.StringValue)
|
|
::size_t total_size = 0;
|
|
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
// string value = 1;
|
|
if (!this->_internal_value().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
|
|
this->_internal_value());
|
|
}
|
|
|
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
|
}
|
|
|
|
const ::google::protobuf::Message::ClassData StringValue::_class_data_ = {
|
|
::google::protobuf::Message::CopyWithSourceCheck,
|
|
StringValue::MergeImpl
|
|
};
|
|
const ::google::protobuf::Message::ClassData*StringValue::GetClassData() const { return &_class_data_; }
|
|
|
|
|
|
void StringValue::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
|
|
auto* const _this = static_cast<StringValue*>(&to_msg);
|
|
auto& from = static_cast<const StringValue&>(from_msg);
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.StringValue)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void) cached_has_bits;
|
|
|
|
if (!from._internal_value().empty()) {
|
|
_this->_internal_set_value(from._internal_value());
|
|
}
|
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
|
}
|
|
|
|
void StringValue::CopyFrom(const StringValue& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.StringValue)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE bool StringValue::IsInitialized() const {
|
|
return true;
|
|
}
|
|
|
|
void StringValue::InternalSwap(StringValue* other) {
|
|
using std::swap;
|
|
auto* lhs_arena = GetArenaForAllocation();
|
|
auto* rhs_arena = other->GetArenaForAllocation();
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.value_, lhs_arena,
|
|
&other->_impl_.value_, rhs_arena);
|
|
}
|
|
|
|
::google::protobuf::Metadata StringValue::GetMetadata() const {
|
|
return ::_pbi::AssignDescriptors(
|
|
&descriptor_table_google_2fprotobuf_2fwrappers_2eproto_getter, &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_once,
|
|
file_level_metadata_google_2fprotobuf_2fwrappers_2eproto[7]);
|
|
}
|
|
// ===================================================================
|
|
|
|
class BytesValue::_Internal {
|
|
public:
|
|
};
|
|
|
|
BytesValue::BytesValue(::google::protobuf::Arena* arena)
|
|
: ::google::protobuf::Message(arena) {
|
|
SharedCtor(arena);
|
|
// @@protoc_insertion_point(arena_constructor:google.protobuf.BytesValue)
|
|
}
|
|
BytesValue::BytesValue(const BytesValue& from) : ::google::protobuf::Message() {
|
|
BytesValue* const _this = this;
|
|
(void)_this;
|
|
new (&_impl_) Impl_{
|
|
decltype(_impl_.value_){},
|
|
/*decltype(_impl_._cached_size_)*/ {},
|
|
};
|
|
_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
|
|
from._internal_metadata_);
|
|
_impl_.value_.InitDefault();
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
_impl_.value_.Set("", GetArenaForAllocation());
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
if (!from._internal_value().empty()) {
|
|
_this->_impl_.value_.Set(from._internal_value(), _this->GetArenaForAllocation());
|
|
}
|
|
|
|
// @@protoc_insertion_point(copy_constructor:google.protobuf.BytesValue)
|
|
}
|
|
inline void BytesValue::SharedCtor(::_pb::Arena* arena) {
|
|
(void)arena;
|
|
new (&_impl_) Impl_{
|
|
decltype(_impl_.value_){},
|
|
/*decltype(_impl_._cached_size_)*/ {},
|
|
};
|
|
_impl_.value_.InitDefault();
|
|
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
_impl_.value_.Set("", GetArenaForAllocation());
|
|
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
|
|
}
|
|
BytesValue::~BytesValue() {
|
|
// @@protoc_insertion_point(destructor:google.protobuf.BytesValue)
|
|
_internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
|
|
SharedDtor();
|
|
}
|
|
inline void BytesValue::SharedDtor() {
|
|
ABSL_DCHECK(GetArenaForAllocation() == nullptr);
|
|
_impl_.value_.Destroy();
|
|
}
|
|
void BytesValue::SetCachedSize(int size) const {
|
|
_impl_._cached_size_.Set(size);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE void BytesValue::Clear() {
|
|
// @@protoc_insertion_point(message_clear_start:google.protobuf.BytesValue)
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
_impl_.value_.ClearToEmpty();
|
|
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
|
|
}
|
|
|
|
const char* BytesValue::_InternalParse(
|
|
const char* ptr, ::_pbi::ParseContext* ctx) {
|
|
ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
|
|
return ptr;
|
|
}
|
|
|
|
|
|
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
|
|
const ::_pbi::TcParseTable<0, 1, 0, 0, 2> BytesValue::_table_ = {
|
|
{
|
|
0, // no _has_bits_
|
|
0, // no _extensions_
|
|
1, 0, // max_field_number, fast_idx_mask
|
|
offsetof(decltype(_table_), field_lookup_table),
|
|
4294967294, // skipmap
|
|
offsetof(decltype(_table_), field_entries),
|
|
1, // num_field_entries
|
|
0, // num_aux_entries
|
|
offsetof(decltype(_table_), field_names), // no aux_entries
|
|
&_BytesValue_default_instance_._instance,
|
|
::_pbi::TcParser::GenericFallback, // fallback
|
|
}, {{
|
|
// bytes value = 1;
|
|
{::_pbi::TcParser::FastBS1,
|
|
{10, 63, 0, PROTOBUF_FIELD_OFFSET(BytesValue, _impl_.value_)}},
|
|
}}, {{
|
|
65535, 65535
|
|
}}, {{
|
|
// bytes value = 1;
|
|
{PROTOBUF_FIELD_OFFSET(BytesValue, _impl_.value_), 0, 0,
|
|
(0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)},
|
|
}},
|
|
// no aux_entries
|
|
{{
|
|
}},
|
|
};
|
|
|
|
::uint8_t* BytesValue::_InternalSerialize(
|
|
::uint8_t* target,
|
|
::google::protobuf::io::EpsCopyOutputStream* stream) const {
|
|
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.BytesValue)
|
|
::uint32_t cached_has_bits = 0;
|
|
(void)cached_has_bits;
|
|
|
|
// bytes value = 1;
|
|
if (!this->_internal_value().empty()) {
|
|
const std::string& _s = this->_internal_value();
|
|
target = stream->WriteBytesMaybeAliased(1, _s, target);
|
|
}
|
|
|
|
if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
|
|
target =
|
|
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
|
|
_internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
|
|
}
|
|
// @@protoc_insertion_point(serialize_to_array_end:google.protobuf.BytesValue)
|
|
return target;
|
|
}
|
|
|
|
::size_t BytesValue::ByteSizeLong() const {
|
|
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.BytesValue)
|
|
::size_t total_size = 0;
|
|
|
|
::uint32_t cached_has_bits = 0;
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
(void) cached_has_bits;
|
|
|
|
// bytes value = 1;
|
|
if (!this->_internal_value().empty()) {
|
|
total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
|
|
this->_internal_value());
|
|
}
|
|
|
|
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
|
|
}
|
|
|
|
const ::google::protobuf::Message::ClassData BytesValue::_class_data_ = {
|
|
::google::protobuf::Message::CopyWithSourceCheck,
|
|
BytesValue::MergeImpl
|
|
};
|
|
const ::google::protobuf::Message::ClassData*BytesValue::GetClassData() const { return &_class_data_; }
|
|
|
|
|
|
void BytesValue::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
|
|
auto* const _this = static_cast<BytesValue*>(&to_msg);
|
|
auto& from = static_cast<const BytesValue&>(from_msg);
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.BytesValue)
|
|
ABSL_DCHECK_NE(&from, _this);
|
|
::uint32_t cached_has_bits = 0;
|
|
(void) cached_has_bits;
|
|
|
|
if (!from._internal_value().empty()) {
|
|
_this->_internal_set_value(from._internal_value());
|
|
}
|
|
_this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
|
|
}
|
|
|
|
void BytesValue::CopyFrom(const BytesValue& from) {
|
|
// @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.BytesValue)
|
|
if (&from == this) return;
|
|
Clear();
|
|
MergeFrom(from);
|
|
}
|
|
|
|
PROTOBUF_NOINLINE bool BytesValue::IsInitialized() const {
|
|
return true;
|
|
}
|
|
|
|
void BytesValue::InternalSwap(BytesValue* other) {
|
|
using std::swap;
|
|
auto* lhs_arena = GetArenaForAllocation();
|
|
auto* rhs_arena = other->GetArenaForAllocation();
|
|
_internal_metadata_.InternalSwap(&other->_internal_metadata_);
|
|
::_pbi::ArenaStringPtr::InternalSwap(&_impl_.value_, lhs_arena,
|
|
&other->_impl_.value_, rhs_arena);
|
|
}
|
|
|
|
::google::protobuf::Metadata BytesValue::GetMetadata() const {
|
|
return ::_pbi::AssignDescriptors(
|
|
&descriptor_table_google_2fprotobuf_2fwrappers_2eproto_getter, &descriptor_table_google_2fprotobuf_2fwrappers_2eproto_once,
|
|
file_level_metadata_google_2fprotobuf_2fwrappers_2eproto[8]);
|
|
}
|
|
// @@protoc_insertion_point(namespace_scope)
|
|
} // namespace protobuf
|
|
} // namespace google
|
|
namespace google {
|
|
namespace protobuf {
|
|
} // namespace protobuf
|
|
} // namespace google
|
|
// @@protoc_insertion_point(global_scope)
|
|
#include "google/protobuf/port_undef.inc"
|