|
|
|
@ -49,7 +49,7 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
|
|
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FloatValueDefaultTypeInternal _FloatValue_default_instance_; |
|
|
|
|
PROTOBUF_CONSTEXPR Int64Value::Int64Value( |
|
|
|
|
::_pbi::ConstantInitialized): _impl_{ |
|
|
|
|
/*decltype(_impl_.value_)*/int64_t{0} |
|
|
|
|
/*decltype(_impl_.value_)*/::int64_t{0} |
|
|
|
|
, /*decltype(_impl_._cached_size_)*/{}} {} |
|
|
|
|
struct Int64ValueDefaultTypeInternal { |
|
|
|
|
PROTOBUF_CONSTEXPR Int64ValueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
|
|
|
@ -63,7 +63,7 @@ PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT |
|
|
|
|
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Int64ValueDefaultTypeInternal _Int64Value_default_instance_; |
|
|
|
|
PROTOBUF_CONSTEXPR UInt64Value::UInt64Value( |
|
|
|
|
::_pbi::ConstantInitialized): _impl_{ |
|
|
|
|
/*decltype(_impl_.value_)*/uint64_t{0u} |
|
|
|
|
/*decltype(_impl_.value_)*/::uint64_t{0u} |
|
|
|
|
, /*decltype(_impl_._cached_size_)*/{}} {} |
|
|
|
|
struct UInt64ValueDefaultTypeInternal { |
|
|
|
|
PROTOBUF_CONSTEXPR UInt64ValueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} |
|
|
|
@ -151,7 +151,7 @@ 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( |
|
|
|
|
const ::uint32_t TableStruct_google_2fprotobuf_2fwrappers_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE( |
|
|
|
|
protodesc_cold) = { |
|
|
|
|
~0u, // no _has_bits_
|
|
|
|
|
PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::DoubleValue, _internal_metadata_), |
|
|
|
@ -359,7 +359,7 @@ void DoubleValue::SetCachedSize(int size) const { |
|
|
|
|
|
|
|
|
|
void DoubleValue::Clear() { |
|
|
|
|
// @@protoc_insertion_point(message_clear_start:google.protobuf.DoubleValue)
|
|
|
|
|
uint32_t cached_has_bits = 0; |
|
|
|
|
::uint32_t cached_has_bits = 0; |
|
|
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
|
|
|
(void) cached_has_bits; |
|
|
|
|
|
|
|
|
@ -371,16 +371,17 @@ const char* DoubleValue::_InternalParse(const char* ptr, ::_pbi::ParseContext* c |
|
|
|
|
|
|
|
|
|
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
|
|
|
|
while (!ctx->Done(&ptr)) { |
|
|
|
|
uint32_t tag; |
|
|
|
|
::uint32_t tag; |
|
|
|
|
ptr = ::_pbi::ReadTag(ptr, &tag); |
|
|
|
|
switch (tag >> 3) { |
|
|
|
|
// double value = 1;
|
|
|
|
|
case 1: |
|
|
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 9)) { |
|
|
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 9)) { |
|
|
|
|
_impl_.value_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr); |
|
|
|
|
ptr += sizeof(double); |
|
|
|
|
} else |
|
|
|
|
} else { |
|
|
|
|
goto handle_unusual; |
|
|
|
|
} |
|
|
|
|
continue; |
|
|
|
|
default: |
|
|
|
|
goto handle_unusual; |
|
|
|
@ -405,17 +406,17 @@ failure: |
|
|
|
|
#undef CHK_ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
uint8_t* DoubleValue::_InternalSerialize( |
|
|
|
|
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
|
|
|
|
::uint8_t* DoubleValue::_InternalSerialize( |
|
|
|
|
::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.DoubleValue)
|
|
|
|
|
uint32_t cached_has_bits = 0; |
|
|
|
|
::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."); |
|
|
|
|
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; |
|
|
|
|
::uint64_t raw_value; |
|
|
|
|
memcpy(&raw_value, &tmp_value, sizeof(tmp_value)); |
|
|
|
|
if (raw_value != 0) { |
|
|
|
|
target = stream->EnsureSpace(target); |
|
|
|
@ -430,19 +431,19 @@ uint8_t* DoubleValue::_InternalSerialize( |
|
|
|
|
return target; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
size_t DoubleValue::ByteSizeLong() const { |
|
|
|
|
::size_t DoubleValue::ByteSizeLong() const { |
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.DoubleValue)
|
|
|
|
|
size_t total_size = 0; |
|
|
|
|
::size_t total_size = 0; |
|
|
|
|
|
|
|
|
|
uint32_t cached_has_bits = 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."); |
|
|
|
|
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; |
|
|
|
|
::uint64_t raw_value; |
|
|
|
|
memcpy(&raw_value, &tmp_value, sizeof(tmp_value)); |
|
|
|
|
if (raw_value != 0) { |
|
|
|
|
total_size += 1 + 8; |
|
|
|
@ -464,12 +465,12 @@ void DoubleValue::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PR |
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.DoubleValue)
|
|
|
|
|
GOOGLE_DCHECK_NE(&from, _this); |
|
|
|
|
uint32_t cached_has_bits = 0; |
|
|
|
|
::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."); |
|
|
|
|
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; |
|
|
|
|
::uint64_t raw_value; |
|
|
|
|
memcpy(&raw_value, &tmp_value, sizeof(tmp_value)); |
|
|
|
|
if (raw_value != 0) { |
|
|
|
|
_this->_internal_set_value(from._internal_value()); |
|
|
|
@ -548,7 +549,7 @@ void FloatValue::SetCachedSize(int size) const { |
|
|
|
|
|
|
|
|
|
void FloatValue::Clear() { |
|
|
|
|
// @@protoc_insertion_point(message_clear_start:google.protobuf.FloatValue)
|
|
|
|
|
uint32_t cached_has_bits = 0; |
|
|
|
|
::uint32_t cached_has_bits = 0; |
|
|
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
|
|
|
(void) cached_has_bits; |
|
|
|
|
|
|
|
|
@ -560,16 +561,17 @@ const char* FloatValue::_InternalParse(const char* ptr, ::_pbi::ParseContext* ct |
|
|
|
|
|
|
|
|
|
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
|
|
|
|
while (!ctx->Done(&ptr)) { |
|
|
|
|
uint32_t tag; |
|
|
|
|
::uint32_t tag; |
|
|
|
|
ptr = ::_pbi::ReadTag(ptr, &tag); |
|
|
|
|
switch (tag >> 3) { |
|
|
|
|
// float value = 1;
|
|
|
|
|
case 1: |
|
|
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 13)) { |
|
|
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) { |
|
|
|
|
_impl_.value_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); |
|
|
|
|
ptr += sizeof(float); |
|
|
|
|
} else |
|
|
|
|
} else { |
|
|
|
|
goto handle_unusual; |
|
|
|
|
} |
|
|
|
|
continue; |
|
|
|
|
default: |
|
|
|
|
goto handle_unusual; |
|
|
|
@ -594,17 +596,17 @@ failure: |
|
|
|
|
#undef CHK_ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
uint8_t* FloatValue::_InternalSerialize( |
|
|
|
|
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
|
|
|
|
::uint8_t* FloatValue::_InternalSerialize( |
|
|
|
|
::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FloatValue)
|
|
|
|
|
uint32_t cached_has_bits = 0; |
|
|
|
|
::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."); |
|
|
|
|
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; |
|
|
|
|
::uint32_t raw_value; |
|
|
|
|
memcpy(&raw_value, &tmp_value, sizeof(tmp_value)); |
|
|
|
|
if (raw_value != 0) { |
|
|
|
|
target = stream->EnsureSpace(target); |
|
|
|
@ -619,19 +621,19 @@ uint8_t* FloatValue::_InternalSerialize( |
|
|
|
|
return target; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
size_t FloatValue::ByteSizeLong() const { |
|
|
|
|
::size_t FloatValue::ByteSizeLong() const { |
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.FloatValue)
|
|
|
|
|
size_t total_size = 0; |
|
|
|
|
::size_t total_size = 0; |
|
|
|
|
|
|
|
|
|
uint32_t cached_has_bits = 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."); |
|
|
|
|
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; |
|
|
|
|
::uint32_t raw_value; |
|
|
|
|
memcpy(&raw_value, &tmp_value, sizeof(tmp_value)); |
|
|
|
|
if (raw_value != 0) { |
|
|
|
|
total_size += 1 + 4; |
|
|
|
@ -653,12 +655,12 @@ void FloatValue::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PRO |
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.FloatValue)
|
|
|
|
|
GOOGLE_DCHECK_NE(&from, _this); |
|
|
|
|
uint32_t cached_has_bits = 0; |
|
|
|
|
::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."); |
|
|
|
|
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; |
|
|
|
|
::uint32_t raw_value; |
|
|
|
|
memcpy(&raw_value, &tmp_value, sizeof(tmp_value)); |
|
|
|
|
if (raw_value != 0) { |
|
|
|
|
_this->_internal_set_value(from._internal_value()); |
|
|
|
@ -713,7 +715,7 @@ inline void Int64Value::SharedCtor( |
|
|
|
|
(void)arena; |
|
|
|
|
(void)is_message_owned; |
|
|
|
|
new (&_impl_) Impl_{ |
|
|
|
|
decltype(_impl_.value_){int64_t{0}} |
|
|
|
|
decltype(_impl_.value_){::int64_t{0}} |
|
|
|
|
, /*decltype(_impl_._cached_size_)*/{} |
|
|
|
|
}; |
|
|
|
|
} |
|
|
|
@ -737,11 +739,11 @@ void Int64Value::SetCachedSize(int size) const { |
|
|
|
|
|
|
|
|
|
void Int64Value::Clear() { |
|
|
|
|
// @@protoc_insertion_point(message_clear_start:google.protobuf.Int64Value)
|
|
|
|
|
uint32_t cached_has_bits = 0; |
|
|
|
|
::uint32_t cached_has_bits = 0; |
|
|
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
|
|
|
(void) cached_has_bits; |
|
|
|
|
|
|
|
|
|
_impl_.value_ = int64_t{0}; |
|
|
|
|
_impl_.value_ = ::int64_t{0}; |
|
|
|
|
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -749,16 +751,17 @@ const char* Int64Value::_InternalParse(const char* ptr, ::_pbi::ParseContext* ct |
|
|
|
|
|
|
|
|
|
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
|
|
|
|
while (!ctx->Done(&ptr)) { |
|
|
|
|
uint32_t tag; |
|
|
|
|
::uint32_t tag; |
|
|
|
|
ptr = ::_pbi::ReadTag(ptr, &tag); |
|
|
|
|
switch (tag >> 3) { |
|
|
|
|
// int64 value = 1;
|
|
|
|
|
case 1: |
|
|
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) { |
|
|
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { |
|
|
|
|
_impl_.value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); |
|
|
|
|
CHK_(ptr); |
|
|
|
|
} else |
|
|
|
|
} else { |
|
|
|
|
goto handle_unusual; |
|
|
|
|
} |
|
|
|
|
continue; |
|
|
|
|
default: |
|
|
|
|
goto handle_unusual; |
|
|
|
@ -783,11 +786,11 @@ failure: |
|
|
|
|
#undef CHK_ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
uint8_t* Int64Value::_InternalSerialize( |
|
|
|
|
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
|
|
|
|
::uint8_t* Int64Value::_InternalSerialize( |
|
|
|
|
::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Int64Value)
|
|
|
|
|
uint32_t cached_has_bits = 0; |
|
|
|
|
::uint32_t cached_has_bits = 0; |
|
|
|
|
(void) cached_has_bits; |
|
|
|
|
|
|
|
|
|
// int64 value = 1;
|
|
|
|
@ -804,12 +807,12 @@ uint8_t* Int64Value::_InternalSerialize( |
|
|
|
|
return target; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
size_t Int64Value::ByteSizeLong() const { |
|
|
|
|
::size_t Int64Value::ByteSizeLong() const { |
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Int64Value)
|
|
|
|
|
size_t total_size = 0; |
|
|
|
|
::size_t total_size = 0; |
|
|
|
|
|
|
|
|
|
uint32_t cached_has_bits = 0; |
|
|
|
|
::uint32_t cached_has_bits = 0; |
|
|
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
|
|
|
(void) cached_has_bits; |
|
|
|
|
|
|
|
|
@ -834,7 +837,7 @@ void Int64Value::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PRO |
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Int64Value)
|
|
|
|
|
GOOGLE_DCHECK_NE(&from, _this); |
|
|
|
|
uint32_t cached_has_bits = 0; |
|
|
|
|
::uint32_t cached_has_bits = 0; |
|
|
|
|
(void) cached_has_bits; |
|
|
|
|
|
|
|
|
|
if (from._internal_value() != 0) { |
|
|
|
@ -890,7 +893,7 @@ inline void UInt64Value::SharedCtor( |
|
|
|
|
(void)arena; |
|
|
|
|
(void)is_message_owned; |
|
|
|
|
new (&_impl_) Impl_{ |
|
|
|
|
decltype(_impl_.value_){uint64_t{0u}} |
|
|
|
|
decltype(_impl_.value_){::uint64_t{0u}} |
|
|
|
|
, /*decltype(_impl_._cached_size_)*/{} |
|
|
|
|
}; |
|
|
|
|
} |
|
|
|
@ -914,11 +917,11 @@ void UInt64Value::SetCachedSize(int size) const { |
|
|
|
|
|
|
|
|
|
void UInt64Value::Clear() { |
|
|
|
|
// @@protoc_insertion_point(message_clear_start:google.protobuf.UInt64Value)
|
|
|
|
|
uint32_t cached_has_bits = 0; |
|
|
|
|
::uint32_t cached_has_bits = 0; |
|
|
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
|
|
|
(void) cached_has_bits; |
|
|
|
|
|
|
|
|
|
_impl_.value_ = uint64_t{0u}; |
|
|
|
|
_impl_.value_ = ::uint64_t{0u}; |
|
|
|
|
_internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -926,16 +929,17 @@ const char* UInt64Value::_InternalParse(const char* ptr, ::_pbi::ParseContext* c |
|
|
|
|
|
|
|
|
|
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
|
|
|
|
while (!ctx->Done(&ptr)) { |
|
|
|
|
uint32_t tag; |
|
|
|
|
::uint32_t tag; |
|
|
|
|
ptr = ::_pbi::ReadTag(ptr, &tag); |
|
|
|
|
switch (tag >> 3) { |
|
|
|
|
// uint64 value = 1;
|
|
|
|
|
case 1: |
|
|
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) { |
|
|
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { |
|
|
|
|
_impl_.value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); |
|
|
|
|
CHK_(ptr); |
|
|
|
|
} else |
|
|
|
|
} else { |
|
|
|
|
goto handle_unusual; |
|
|
|
|
} |
|
|
|
|
continue; |
|
|
|
|
default: |
|
|
|
|
goto handle_unusual; |
|
|
|
@ -960,11 +964,11 @@ failure: |
|
|
|
|
#undef CHK_ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
uint8_t* UInt64Value::_InternalSerialize( |
|
|
|
|
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
|
|
|
|
::uint8_t* UInt64Value::_InternalSerialize( |
|
|
|
|
::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.UInt64Value)
|
|
|
|
|
uint32_t cached_has_bits = 0; |
|
|
|
|
::uint32_t cached_has_bits = 0; |
|
|
|
|
(void) cached_has_bits; |
|
|
|
|
|
|
|
|
|
// uint64 value = 1;
|
|
|
|
@ -981,12 +985,12 @@ uint8_t* UInt64Value::_InternalSerialize( |
|
|
|
|
return target; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
size_t UInt64Value::ByteSizeLong() const { |
|
|
|
|
::size_t UInt64Value::ByteSizeLong() const { |
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.UInt64Value)
|
|
|
|
|
size_t total_size = 0; |
|
|
|
|
::size_t total_size = 0; |
|
|
|
|
|
|
|
|
|
uint32_t cached_has_bits = 0; |
|
|
|
|
::uint32_t cached_has_bits = 0; |
|
|
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
|
|
|
(void) cached_has_bits; |
|
|
|
|
|
|
|
|
@ -1011,7 +1015,7 @@ void UInt64Value::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PR |
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.UInt64Value)
|
|
|
|
|
GOOGLE_DCHECK_NE(&from, _this); |
|
|
|
|
uint32_t cached_has_bits = 0; |
|
|
|
|
::uint32_t cached_has_bits = 0; |
|
|
|
|
(void) cached_has_bits; |
|
|
|
|
|
|
|
|
|
if (from._internal_value() != 0) { |
|
|
|
@ -1091,7 +1095,7 @@ void Int32Value::SetCachedSize(int size) const { |
|
|
|
|
|
|
|
|
|
void Int32Value::Clear() { |
|
|
|
|
// @@protoc_insertion_point(message_clear_start:google.protobuf.Int32Value)
|
|
|
|
|
uint32_t cached_has_bits = 0; |
|
|
|
|
::uint32_t cached_has_bits = 0; |
|
|
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
|
|
|
(void) cached_has_bits; |
|
|
|
|
|
|
|
|
@ -1103,16 +1107,17 @@ const char* Int32Value::_InternalParse(const char* ptr, ::_pbi::ParseContext* ct |
|
|
|
|
|
|
|
|
|
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
|
|
|
|
while (!ctx->Done(&ptr)) { |
|
|
|
|
uint32_t tag; |
|
|
|
|
::uint32_t tag; |
|
|
|
|
ptr = ::_pbi::ReadTag(ptr, &tag); |
|
|
|
|
switch (tag >> 3) { |
|
|
|
|
// int32 value = 1;
|
|
|
|
|
case 1: |
|
|
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) { |
|
|
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { |
|
|
|
|
_impl_.value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); |
|
|
|
|
CHK_(ptr); |
|
|
|
|
} else |
|
|
|
|
} else { |
|
|
|
|
goto handle_unusual; |
|
|
|
|
} |
|
|
|
|
continue; |
|
|
|
|
default: |
|
|
|
|
goto handle_unusual; |
|
|
|
@ -1137,11 +1142,11 @@ failure: |
|
|
|
|
#undef CHK_ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
uint8_t* Int32Value::_InternalSerialize( |
|
|
|
|
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
|
|
|
|
::uint8_t* Int32Value::_InternalSerialize( |
|
|
|
|
::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Int32Value)
|
|
|
|
|
uint32_t cached_has_bits = 0; |
|
|
|
|
::uint32_t cached_has_bits = 0; |
|
|
|
|
(void) cached_has_bits; |
|
|
|
|
|
|
|
|
|
// int32 value = 1;
|
|
|
|
@ -1158,12 +1163,12 @@ uint8_t* Int32Value::_InternalSerialize( |
|
|
|
|
return target; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
size_t Int32Value::ByteSizeLong() const { |
|
|
|
|
::size_t Int32Value::ByteSizeLong() const { |
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Int32Value)
|
|
|
|
|
size_t total_size = 0; |
|
|
|
|
::size_t total_size = 0; |
|
|
|
|
|
|
|
|
|
uint32_t cached_has_bits = 0; |
|
|
|
|
::uint32_t cached_has_bits = 0; |
|
|
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
|
|
|
(void) cached_has_bits; |
|
|
|
|
|
|
|
|
@ -1188,7 +1193,7 @@ void Int32Value::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PRO |
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Int32Value)
|
|
|
|
|
GOOGLE_DCHECK_NE(&from, _this); |
|
|
|
|
uint32_t cached_has_bits = 0; |
|
|
|
|
::uint32_t cached_has_bits = 0; |
|
|
|
|
(void) cached_has_bits; |
|
|
|
|
|
|
|
|
|
if (from._internal_value() != 0) { |
|
|
|
@ -1268,7 +1273,7 @@ void UInt32Value::SetCachedSize(int size) const { |
|
|
|
|
|
|
|
|
|
void UInt32Value::Clear() { |
|
|
|
|
// @@protoc_insertion_point(message_clear_start:google.protobuf.UInt32Value)
|
|
|
|
|
uint32_t cached_has_bits = 0; |
|
|
|
|
::uint32_t cached_has_bits = 0; |
|
|
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
|
|
|
(void) cached_has_bits; |
|
|
|
|
|
|
|
|
@ -1280,16 +1285,17 @@ const char* UInt32Value::_InternalParse(const char* ptr, ::_pbi::ParseContext* c |
|
|
|
|
|
|
|
|
|
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
|
|
|
|
while (!ctx->Done(&ptr)) { |
|
|
|
|
uint32_t tag; |
|
|
|
|
::uint32_t tag; |
|
|
|
|
ptr = ::_pbi::ReadTag(ptr, &tag); |
|
|
|
|
switch (tag >> 3) { |
|
|
|
|
// uint32 value = 1;
|
|
|
|
|
case 1: |
|
|
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) { |
|
|
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { |
|
|
|
|
_impl_.value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr); |
|
|
|
|
CHK_(ptr); |
|
|
|
|
} else |
|
|
|
|
} else { |
|
|
|
|
goto handle_unusual; |
|
|
|
|
} |
|
|
|
|
continue; |
|
|
|
|
default: |
|
|
|
|
goto handle_unusual; |
|
|
|
@ -1314,11 +1320,11 @@ failure: |
|
|
|
|
#undef CHK_ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
uint8_t* UInt32Value::_InternalSerialize( |
|
|
|
|
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
|
|
|
|
::uint8_t* UInt32Value::_InternalSerialize( |
|
|
|
|
::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.UInt32Value)
|
|
|
|
|
uint32_t cached_has_bits = 0; |
|
|
|
|
::uint32_t cached_has_bits = 0; |
|
|
|
|
(void) cached_has_bits; |
|
|
|
|
|
|
|
|
|
// uint32 value = 1;
|
|
|
|
@ -1335,12 +1341,12 @@ uint8_t* UInt32Value::_InternalSerialize( |
|
|
|
|
return target; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
size_t UInt32Value::ByteSizeLong() const { |
|
|
|
|
::size_t UInt32Value::ByteSizeLong() const { |
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.UInt32Value)
|
|
|
|
|
size_t total_size = 0; |
|
|
|
|
::size_t total_size = 0; |
|
|
|
|
|
|
|
|
|
uint32_t cached_has_bits = 0; |
|
|
|
|
::uint32_t cached_has_bits = 0; |
|
|
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
|
|
|
(void) cached_has_bits; |
|
|
|
|
|
|
|
|
@ -1365,7 +1371,7 @@ void UInt32Value::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PR |
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.UInt32Value)
|
|
|
|
|
GOOGLE_DCHECK_NE(&from, _this); |
|
|
|
|
uint32_t cached_has_bits = 0; |
|
|
|
|
::uint32_t cached_has_bits = 0; |
|
|
|
|
(void) cached_has_bits; |
|
|
|
|
|
|
|
|
|
if (from._internal_value() != 0) { |
|
|
|
@ -1445,7 +1451,7 @@ void BoolValue::SetCachedSize(int size) const { |
|
|
|
|
|
|
|
|
|
void BoolValue::Clear() { |
|
|
|
|
// @@protoc_insertion_point(message_clear_start:google.protobuf.BoolValue)
|
|
|
|
|
uint32_t cached_has_bits = 0; |
|
|
|
|
::uint32_t cached_has_bits = 0; |
|
|
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
|
|
|
(void) cached_has_bits; |
|
|
|
|
|
|
|
|
@ -1457,16 +1463,17 @@ const char* BoolValue::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx |
|
|
|
|
|
|
|
|
|
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
|
|
|
|
while (!ctx->Done(&ptr)) { |
|
|
|
|
uint32_t tag; |
|
|
|
|
::uint32_t tag; |
|
|
|
|
ptr = ::_pbi::ReadTag(ptr, &tag); |
|
|
|
|
switch (tag >> 3) { |
|
|
|
|
// bool value = 1;
|
|
|
|
|
case 1: |
|
|
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) { |
|
|
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) { |
|
|
|
|
_impl_.value_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr); |
|
|
|
|
CHK_(ptr); |
|
|
|
|
} else |
|
|
|
|
} else { |
|
|
|
|
goto handle_unusual; |
|
|
|
|
} |
|
|
|
|
continue; |
|
|
|
|
default: |
|
|
|
|
goto handle_unusual; |
|
|
|
@ -1491,11 +1498,11 @@ failure: |
|
|
|
|
#undef CHK_ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
uint8_t* BoolValue::_InternalSerialize( |
|
|
|
|
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
|
|
|
|
::uint8_t* BoolValue::_InternalSerialize( |
|
|
|
|
::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.BoolValue)
|
|
|
|
|
uint32_t cached_has_bits = 0; |
|
|
|
|
::uint32_t cached_has_bits = 0; |
|
|
|
|
(void) cached_has_bits; |
|
|
|
|
|
|
|
|
|
// bool value = 1;
|
|
|
|
@ -1512,12 +1519,12 @@ uint8_t* BoolValue::_InternalSerialize( |
|
|
|
|
return target; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
size_t BoolValue::ByteSizeLong() const { |
|
|
|
|
::size_t BoolValue::ByteSizeLong() const { |
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.BoolValue)
|
|
|
|
|
size_t total_size = 0; |
|
|
|
|
::size_t total_size = 0; |
|
|
|
|
|
|
|
|
|
uint32_t cached_has_bits = 0; |
|
|
|
|
::uint32_t cached_has_bits = 0; |
|
|
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
|
|
|
(void) cached_has_bits; |
|
|
|
|
|
|
|
|
@ -1542,7 +1549,7 @@ void BoolValue::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROT |
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.BoolValue)
|
|
|
|
|
GOOGLE_DCHECK_NE(&from, _this); |
|
|
|
|
uint32_t cached_has_bits = 0; |
|
|
|
|
::uint32_t cached_has_bits = 0; |
|
|
|
|
(void) cached_has_bits; |
|
|
|
|
|
|
|
|
|
if (from._internal_value() != 0) { |
|
|
|
@ -1639,7 +1646,7 @@ void StringValue::SetCachedSize(int size) const { |
|
|
|
|
|
|
|
|
|
void StringValue::Clear() { |
|
|
|
|
// @@protoc_insertion_point(message_clear_start:google.protobuf.StringValue)
|
|
|
|
|
uint32_t cached_has_bits = 0; |
|
|
|
|
::uint32_t cached_has_bits = 0; |
|
|
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
|
|
|
(void) cached_has_bits; |
|
|
|
|
|
|
|
|
@ -1651,18 +1658,19 @@ const char* StringValue::_InternalParse(const char* ptr, ::_pbi::ParseContext* c |
|
|
|
|
|
|
|
|
|
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
|
|
|
|
while (!ctx->Done(&ptr)) { |
|
|
|
|
uint32_t tag; |
|
|
|
|
::uint32_t tag; |
|
|
|
|
ptr = ::_pbi::ReadTag(ptr, &tag); |
|
|
|
|
switch (tag >> 3) { |
|
|
|
|
// string value = 1;
|
|
|
|
|
case 1: |
|
|
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
|
|
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { |
|
|
|
|
auto str = _internal_mutable_value(); |
|
|
|
|
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); |
|
|
|
|
CHK_(ptr); |
|
|
|
|
CHK_(::_pbi::VerifyUTF8(str, "google.protobuf.StringValue.value")); |
|
|
|
|
} else |
|
|
|
|
} else { |
|
|
|
|
goto handle_unusual; |
|
|
|
|
} |
|
|
|
|
continue; |
|
|
|
|
default: |
|
|
|
|
goto handle_unusual; |
|
|
|
@ -1687,11 +1695,11 @@ failure: |
|
|
|
|
#undef CHK_ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
uint8_t* StringValue::_InternalSerialize( |
|
|
|
|
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
|
|
|
|
::uint8_t* StringValue::_InternalSerialize( |
|
|
|
|
::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.StringValue)
|
|
|
|
|
uint32_t cached_has_bits = 0; |
|
|
|
|
::uint32_t cached_has_bits = 0; |
|
|
|
|
(void) cached_has_bits; |
|
|
|
|
|
|
|
|
|
// string value = 1;
|
|
|
|
@ -1712,12 +1720,12 @@ uint8_t* StringValue::_InternalSerialize( |
|
|
|
|
return target; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
size_t StringValue::ByteSizeLong() const { |
|
|
|
|
::size_t StringValue::ByteSizeLong() const { |
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.StringValue)
|
|
|
|
|
size_t total_size = 0; |
|
|
|
|
::size_t total_size = 0; |
|
|
|
|
|
|
|
|
|
uint32_t cached_has_bits = 0; |
|
|
|
|
::uint32_t cached_has_bits = 0; |
|
|
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
|
|
|
(void) cached_has_bits; |
|
|
|
|
|
|
|
|
@ -1744,7 +1752,7 @@ void StringValue::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PR |
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.StringValue)
|
|
|
|
|
GOOGLE_DCHECK_NE(&from, _this); |
|
|
|
|
uint32_t cached_has_bits = 0; |
|
|
|
|
::uint32_t cached_has_bits = 0; |
|
|
|
|
(void) cached_has_bits; |
|
|
|
|
|
|
|
|
|
if (!from._internal_value().empty()) { |
|
|
|
@ -1846,7 +1854,7 @@ void BytesValue::SetCachedSize(int size) const { |
|
|
|
|
|
|
|
|
|
void BytesValue::Clear() { |
|
|
|
|
// @@protoc_insertion_point(message_clear_start:google.protobuf.BytesValue)
|
|
|
|
|
uint32_t cached_has_bits = 0; |
|
|
|
|
::uint32_t cached_has_bits = 0; |
|
|
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
|
|
|
(void) cached_has_bits; |
|
|
|
|
|
|
|
|
@ -1858,17 +1866,18 @@ const char* BytesValue::_InternalParse(const char* ptr, ::_pbi::ParseContext* ct |
|
|
|
|
|
|
|
|
|
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure |
|
|
|
|
while (!ctx->Done(&ptr)) { |
|
|
|
|
uint32_t tag; |
|
|
|
|
::uint32_t tag; |
|
|
|
|
ptr = ::_pbi::ReadTag(ptr, &tag); |
|
|
|
|
switch (tag >> 3) { |
|
|
|
|
// bytes value = 1;
|
|
|
|
|
case 1: |
|
|
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) { |
|
|
|
|
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) { |
|
|
|
|
auto str = _internal_mutable_value(); |
|
|
|
|
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx); |
|
|
|
|
CHK_(ptr); |
|
|
|
|
} else |
|
|
|
|
} else { |
|
|
|
|
goto handle_unusual; |
|
|
|
|
} |
|
|
|
|
continue; |
|
|
|
|
default: |
|
|
|
|
goto handle_unusual; |
|
|
|
@ -1893,11 +1902,11 @@ failure: |
|
|
|
|
#undef CHK_ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
uint8_t* BytesValue::_InternalSerialize( |
|
|
|
|
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
|
|
|
|
::uint8_t* BytesValue::_InternalSerialize( |
|
|
|
|
::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { |
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.BytesValue)
|
|
|
|
|
uint32_t cached_has_bits = 0; |
|
|
|
|
::uint32_t cached_has_bits = 0; |
|
|
|
|
(void) cached_has_bits; |
|
|
|
|
|
|
|
|
|
// bytes value = 1;
|
|
|
|
@ -1914,12 +1923,12 @@ uint8_t* BytesValue::_InternalSerialize( |
|
|
|
|
return target; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
size_t BytesValue::ByteSizeLong() const { |
|
|
|
|
::size_t BytesValue::ByteSizeLong() const { |
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.BytesValue)
|
|
|
|
|
size_t total_size = 0; |
|
|
|
|
::size_t total_size = 0; |
|
|
|
|
|
|
|
|
|
uint32_t cached_has_bits = 0; |
|
|
|
|
::uint32_t cached_has_bits = 0; |
|
|
|
|
// Prevent compiler warnings about cached_has_bits being unused
|
|
|
|
|
(void) cached_has_bits; |
|
|
|
|
|
|
|
|
@ -1946,7 +1955,7 @@ void BytesValue::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PRO |
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.BytesValue)
|
|
|
|
|
GOOGLE_DCHECK_NE(&from, _this); |
|
|
|
|
uint32_t cached_has_bits = 0; |
|
|
|
|
::uint32_t cached_has_bits = 0; |
|
|
|
|
(void) cached_has_bits; |
|
|
|
|
|
|
|
|
|
if (!from._internal_value().empty()) { |
|
|
|
|