Auto-generate files after cl/651119789

pull/17418/head
Protobuf Team Bot 5 months ago
parent 89cd4cfc35
commit 77047d9cda
  1. 115
      src/google/protobuf/any.pb.cc
  2. 24
      src/google/protobuf/any.pb.h
  3. 693
      src/google/protobuf/api.pb.cc
  4. 72
      src/google/protobuf/api.pb.h
  5. 115
      src/google/protobuf/duration.pb.cc
  6. 24
      src/google/protobuf/duration.pb.h
  7. 5
      src/google/protobuf/empty.pb.cc
  8. 102
      src/google/protobuf/field_mask.pb.cc
  9. 24
      src/google/protobuf/field_mask.pb.h
  10. 92
      src/google/protobuf/source_context.pb.cc
  11. 24
      src/google/protobuf/source_context.pb.h
  12. 487
      src/google/protobuf/struct.pb.cc
  13. 72
      src/google/protobuf/struct.pb.h
  14. 115
      src/google/protobuf/timestamp.pb.cc
  15. 24
      src/google/protobuf/timestamp.pb.h
  16. 1204
      src/google/protobuf/type.pb.cc
  17. 120
      src/google/protobuf/type.pb.h
  18. 876
      src/google/protobuf/wrappers.pb.cc
  19. 216
      src/google/protobuf/wrappers.pb.h

@ -201,9 +201,8 @@ const ::google::protobuf::MessageLite::ClassDataFull
#if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<Any>(),
::google::protobuf::Message::GetNewImpl<Any>(),
::google::protobuf::Message::GetClearImpl<Any>(),
::google::protobuf::Message::GetByteSizeLongImpl<Any>(),
::google::protobuf::Message::GetSerializeImpl<Any>(),
::google::protobuf::Message::GetClearImpl<Any>(), &Any::ByteSizeLong,
&Any::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(Any, _impl_._cached_size_),
false,
@ -272,60 +271,74 @@ PROTOBUF_NOINLINE void Any::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
::uint8_t* Any::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Any)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* Any::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const Any& this_ = static_cast<const Any&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* Any::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const Any& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Any)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
// string type_url = 1;
if (!this->_internal_type_url().empty()) {
const std::string& _s = this->_internal_type_url();
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Any.type_url");
target = stream->WriteStringMaybeAliased(1, _s, target);
}
// string type_url = 1;
if (!this_._internal_type_url().empty()) {
const std::string& _s = this_._internal_type_url();
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Any.type_url");
target = stream->WriteStringMaybeAliased(1, _s, target);
}
// bytes value = 2;
if (!this->_internal_value().empty()) {
const std::string& _s = this->_internal_value();
target = stream->WriteBytesMaybeAliased(2, _s, target);
}
// bytes value = 2;
if (!this_._internal_value().empty()) {
const std::string& _s = this_._internal_value();
target = stream->WriteBytesMaybeAliased(2, _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.Any)
return target;
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target =
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Any)
return target;
}
::size_t Any::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Any)
::size_t total_size = 0;
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t Any::ByteSizeLong(const MessageLite& base) {
const Any& this_ = static_cast<const Any&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t Any::ByteSizeLong() const {
const Any& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Any)
::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_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(
reinterpret_cast<const void*>(this));
{
// string type_url = 1;
if (!this->_internal_type_url().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this->_internal_type_url());
}
// bytes value = 2;
if (!this->_internal_value().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
this->_internal_value());
}
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
::_pbi::Prefetch5LinesFrom7Lines(&this_);
{
// string type_url = 1;
if (!this_._internal_type_url().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this_._internal_type_url());
}
// bytes value = 2;
if (!this_._internal_value().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
this_._internal_value());
}
}
return this_.MaybeComputeUnknownFieldsSize(total_size,
&this_._impl_._cached_size_);
}
void Any::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<Any*>(&to_msg);

@ -208,10 +208,26 @@ class PROTOBUF_EXPORT Any final : public ::google::protobuf::Message
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
::size_t ByteSizeLong() const PROTOBUF_FINAL;
::uint8_t* _InternalSerialize(::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream*
stream) const PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* _InternalSerialize(
const MessageLite& msg, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:

@ -347,9 +347,8 @@ const ::google::protobuf::MessageLite::ClassDataFull
#if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<Api>(),
::google::protobuf::Message::GetNewImpl<Api>(),
::google::protobuf::Message::GetClearImpl<Api>(),
::google::protobuf::Message::GetByteSizeLongImpl<Api>(),
::google::protobuf::Message::GetSerializeImpl<Api>(),
::google::protobuf::Message::GetClearImpl<Api>(), &Api::ByteSizeLong,
&Api::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(Api, _impl_._cached_size_),
false,
@ -463,147 +462,163 @@ PROTOBUF_NOINLINE void Api::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
::uint8_t* Api::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Api)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
// string name = 1;
if (!this->_internal_name().empty()) {
const std::string& _s = this->_internal_name();
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Api.name");
target = stream->WriteStringMaybeAliased(1, _s, target);
}
// repeated .google.protobuf.Method methods = 2;
for (unsigned i = 0, n = static_cast<unsigned>(
this->_internal_methods_size());
i < n; i++) {
const auto& repfield = this->_internal_methods().Get(i);
target =
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2, repfield, repfield.GetCachedSize(),
target, stream);
}
// repeated .google.protobuf.Option options = 3;
for (unsigned i = 0, n = static_cast<unsigned>(
this->_internal_options_size());
i < n; i++) {
const auto& repfield = this->_internal_options().Get(i);
target =
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3, repfield, repfield.GetCachedSize(),
target, stream);
}
// string version = 4;
if (!this->_internal_version().empty()) {
const std::string& _s = this->_internal_version();
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Api.version");
target = stream->WriteStringMaybeAliased(4, _s, target);
}
cached_has_bits = _impl_._has_bits_[0];
// .google.protobuf.SourceContext source_context = 5;
if (cached_has_bits & 0x00000001u) {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
5, *_impl_.source_context_, _impl_.source_context_->GetCachedSize(), target, stream);
}
// repeated .google.protobuf.Mixin mixins = 6;
for (unsigned i = 0, n = static_cast<unsigned>(
this->_internal_mixins_size());
i < n; i++) {
const auto& repfield = this->_internal_mixins().Get(i);
target =
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
6, repfield, repfield.GetCachedSize(),
target, stream);
}
// .google.protobuf.Syntax syntax = 7;
if (this->_internal_syntax() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteEnumToArray(
7, this->_internal_syntax(), 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.Api)
return target;
}
::size_t Api::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Api)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* Api::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const Api& this_ = static_cast<const Api&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* Api::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const Api& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Api)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
// string name = 1;
if (!this_._internal_name().empty()) {
const std::string& _s = this_._internal_name();
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Api.name");
target = stream->WriteStringMaybeAliased(1, _s, target);
}
// repeated .google.protobuf.Method methods = 2;
for (unsigned i = 0, n = static_cast<unsigned>(
this_._internal_methods_size());
i < n; i++) {
const auto& repfield = this_._internal_methods().Get(i);
target =
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2, repfield, repfield.GetCachedSize(),
target, stream);
}
// repeated .google.protobuf.Option options = 3;
for (unsigned i = 0, n = static_cast<unsigned>(
this_._internal_options_size());
i < n; i++) {
const auto& repfield = this_._internal_options().Get(i);
target =
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3, repfield, repfield.GetCachedSize(),
target, stream);
}
// string version = 4;
if (!this_._internal_version().empty()) {
const std::string& _s = this_._internal_version();
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Api.version");
target = stream->WriteStringMaybeAliased(4, _s, target);
}
cached_has_bits = this_._impl_._has_bits_[0];
// .google.protobuf.SourceContext source_context = 5;
if (cached_has_bits & 0x00000001u) {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
5, *this_._impl_.source_context_, this_._impl_.source_context_->GetCachedSize(), target,
stream);
}
// repeated .google.protobuf.Mixin mixins = 6;
for (unsigned i = 0, n = static_cast<unsigned>(
this_._internal_mixins_size());
i < n; i++) {
const auto& repfield = this_._internal_mixins().Get(i);
target =
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
6, repfield, repfield.GetCachedSize(),
target, stream);
}
// .google.protobuf.Syntax syntax = 7;
if (this_._internal_syntax() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteEnumToArray(
7, this_._internal_syntax(), target);
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target =
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Api)
return target;
}
::_pbi::Prefetch5LinesFrom7Lines(
reinterpret_cast<const void*>(this));
{
// repeated .google.protobuf.Method methods = 2;
{
total_size += 1UL * this->_internal_methods_size();
for (const auto& msg : this->_internal_methods()) {
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
}
}
// repeated .google.protobuf.Option options = 3;
{
total_size += 1UL * this->_internal_options_size();
for (const auto& msg : this->_internal_options()) {
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
}
}
// repeated .google.protobuf.Mixin mixins = 6;
{
total_size += 1UL * this->_internal_mixins_size();
for (const auto& msg : this->_internal_mixins()) {
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
}
}
}
{
// string name = 1;
if (!this->_internal_name().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this->_internal_name());
}
// string version = 4;
if (!this->_internal_version().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this->_internal_version());
}
}
{
// .google.protobuf.SourceContext source_context = 5;
cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000001u) {
total_size +=
1 + ::google::protobuf::internal::WireFormatLite::MessageSize(*_impl_.source_context_);
}
}
{
// .google.protobuf.Syntax syntax = 7;
if (this->_internal_syntax() != 0) {
total_size += 1 +
::_pbi::WireFormatLite::EnumSize(this->_internal_syntax());
}
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t Api::ByteSizeLong(const MessageLite& base) {
const Api& this_ = static_cast<const Api&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t Api::ByteSizeLong() const {
const Api& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Api)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(&this_);
{
// repeated .google.protobuf.Method methods = 2;
{
total_size += 1UL * this_._internal_methods_size();
for (const auto& msg : this_._internal_methods()) {
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
}
}
// repeated .google.protobuf.Option options = 3;
{
total_size += 1UL * this_._internal_options_size();
for (const auto& msg : this_._internal_options()) {
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
}
}
// repeated .google.protobuf.Mixin mixins = 6;
{
total_size += 1UL * this_._internal_mixins_size();
for (const auto& msg : this_._internal_mixins()) {
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
}
}
}
{
// string name = 1;
if (!this_._internal_name().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this_._internal_name());
}
// string version = 4;
if (!this_._internal_version().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this_._internal_version());
}
}
{
// .google.protobuf.SourceContext source_context = 5;
cached_has_bits =
this_._impl_._has_bits_[0];
if (cached_has_bits & 0x00000001u) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.source_context_);
}
}
{
// .google.protobuf.Syntax syntax = 7;
if (this_._internal_syntax() != 0) {
total_size += 1 +
::_pbi::WireFormatLite::EnumSize(this_._internal_syntax());
}
}
return this_.MaybeComputeUnknownFieldsSize(total_size,
&this_._impl_._cached_size_);
}
void Api::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<Api*>(&to_msg);
@ -768,9 +783,8 @@ const ::google::protobuf::MessageLite::ClassDataFull
#if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<Method>(),
::google::protobuf::Message::GetNewImpl<Method>(),
::google::protobuf::Message::GetClearImpl<Method>(),
::google::protobuf::Message::GetByteSizeLongImpl<Method>(),
::google::protobuf::Message::GetSerializeImpl<Method>(),
::google::protobuf::Message::GetClearImpl<Method>(), &Method::ByteSizeLong,
&Method::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(Method, _impl_._cached_size_),
false,
@ -877,129 +891,143 @@ PROTOBUF_NOINLINE void Method::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
::uint8_t* Method::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Method)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
// string name = 1;
if (!this->_internal_name().empty()) {
const std::string& _s = this->_internal_name();
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Method.name");
target = stream->WriteStringMaybeAliased(1, _s, target);
}
// string request_type_url = 2;
if (!this->_internal_request_type_url().empty()) {
const std::string& _s = this->_internal_request_type_url();
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Method.request_type_url");
target = stream->WriteStringMaybeAliased(2, _s, target);
}
// bool request_streaming = 3;
if (this->_internal_request_streaming() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteBoolToArray(
3, this->_internal_request_streaming(), target);
}
// string response_type_url = 4;
if (!this->_internal_response_type_url().empty()) {
const std::string& _s = this->_internal_response_type_url();
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Method.response_type_url");
target = stream->WriteStringMaybeAliased(4, _s, target);
}
// bool response_streaming = 5;
if (this->_internal_response_streaming() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteBoolToArray(
5, this->_internal_response_streaming(), target);
}
// repeated .google.protobuf.Option options = 6;
for (unsigned i = 0, n = static_cast<unsigned>(
this->_internal_options_size());
i < n; i++) {
const auto& repfield = this->_internal_options().Get(i);
target =
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
6, repfield, repfield.GetCachedSize(),
target, stream);
}
// .google.protobuf.Syntax syntax = 7;
if (this->_internal_syntax() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteEnumToArray(
7, this->_internal_syntax(), 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.Method)
return target;
}
::size_t Method::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Method)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* Method::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const Method& this_ = static_cast<const Method&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* Method::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const Method& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Method)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
// string name = 1;
if (!this_._internal_name().empty()) {
const std::string& _s = this_._internal_name();
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Method.name");
target = stream->WriteStringMaybeAliased(1, _s, target);
}
// string request_type_url = 2;
if (!this_._internal_request_type_url().empty()) {
const std::string& _s = this_._internal_request_type_url();
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Method.request_type_url");
target = stream->WriteStringMaybeAliased(2, _s, target);
}
// bool request_streaming = 3;
if (this_._internal_request_streaming() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteBoolToArray(
3, this_._internal_request_streaming(), target);
}
// string response_type_url = 4;
if (!this_._internal_response_type_url().empty()) {
const std::string& _s = this_._internal_response_type_url();
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Method.response_type_url");
target = stream->WriteStringMaybeAliased(4, _s, target);
}
// bool response_streaming = 5;
if (this_._internal_response_streaming() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteBoolToArray(
5, this_._internal_response_streaming(), target);
}
// repeated .google.protobuf.Option options = 6;
for (unsigned i = 0, n = static_cast<unsigned>(
this_._internal_options_size());
i < n; i++) {
const auto& repfield = this_._internal_options().Get(i);
target =
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
6, repfield, repfield.GetCachedSize(),
target, stream);
}
// .google.protobuf.Syntax syntax = 7;
if (this_._internal_syntax() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteEnumToArray(
7, this_._internal_syntax(), target);
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target =
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Method)
return target;
}
::_pbi::Prefetch5LinesFrom7Lines(
reinterpret_cast<const void*>(this));
{
// repeated .google.protobuf.Option options = 6;
{
total_size += 1UL * this->_internal_options_size();
for (const auto& msg : this->_internal_options()) {
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
}
}
}
{
// string name = 1;
if (!this->_internal_name().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this->_internal_name());
}
// string request_type_url = 2;
if (!this->_internal_request_type_url().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this->_internal_request_type_url());
}
// string response_type_url = 4;
if (!this->_internal_response_type_url().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this->_internal_response_type_url());
}
// bool request_streaming = 3;
if (this->_internal_request_streaming() != 0) {
total_size += 2;
}
// bool response_streaming = 5;
if (this->_internal_response_streaming() != 0) {
total_size += 2;
}
// .google.protobuf.Syntax syntax = 7;
if (this->_internal_syntax() != 0) {
total_size += 1 +
::_pbi::WireFormatLite::EnumSize(this->_internal_syntax());
}
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t Method::ByteSizeLong(const MessageLite& base) {
const Method& this_ = static_cast<const Method&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t Method::ByteSizeLong() const {
const Method& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Method)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(&this_);
{
// repeated .google.protobuf.Option options = 6;
{
total_size += 1UL * this_._internal_options_size();
for (const auto& msg : this_._internal_options()) {
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
}
}
}
{
// string name = 1;
if (!this_._internal_name().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this_._internal_name());
}
// string request_type_url = 2;
if (!this_._internal_request_type_url().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this_._internal_request_type_url());
}
// string response_type_url = 4;
if (!this_._internal_response_type_url().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this_._internal_response_type_url());
}
// bool request_streaming = 3;
if (this_._internal_request_streaming() != 0) {
total_size += 2;
}
// bool response_streaming = 5;
if (this_._internal_response_streaming() != 0) {
total_size += 2;
}
// .google.protobuf.Syntax syntax = 7;
if (this_._internal_syntax() != 0) {
total_size += 1 +
::_pbi::WireFormatLite::EnumSize(this_._internal_syntax());
}
}
return this_.MaybeComputeUnknownFieldsSize(total_size,
&this_._impl_._cached_size_);
}
void Method::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<Method*>(&to_msg);
@ -1133,9 +1161,8 @@ const ::google::protobuf::MessageLite::ClassDataFull
#if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<Mixin>(),
::google::protobuf::Message::GetNewImpl<Mixin>(),
::google::protobuf::Message::GetClearImpl<Mixin>(),
::google::protobuf::Message::GetByteSizeLongImpl<Mixin>(),
::google::protobuf::Message::GetSerializeImpl<Mixin>(),
::google::protobuf::Message::GetClearImpl<Mixin>(), &Mixin::ByteSizeLong,
&Mixin::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(Mixin, _impl_._cached_size_),
false,
@ -1205,62 +1232,76 @@ PROTOBUF_NOINLINE void Mixin::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
::uint8_t* Mixin::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Mixin)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
// string name = 1;
if (!this->_internal_name().empty()) {
const std::string& _s = this->_internal_name();
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Mixin.name");
target = stream->WriteStringMaybeAliased(1, _s, target);
}
// string root = 2;
if (!this->_internal_root().empty()) {
const std::string& _s = this->_internal_root();
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Mixin.root");
target = stream->WriteStringMaybeAliased(2, _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.Mixin)
return target;
}
::size_t Mixin::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Mixin)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* Mixin::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const Mixin& this_ = static_cast<const Mixin&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* Mixin::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const Mixin& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Mixin)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
// string name = 1;
if (!this_._internal_name().empty()) {
const std::string& _s = this_._internal_name();
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Mixin.name");
target = stream->WriteStringMaybeAliased(1, _s, target);
}
// string root = 2;
if (!this_._internal_root().empty()) {
const std::string& _s = this_._internal_root();
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Mixin.root");
target = stream->WriteStringMaybeAliased(2, _s, target);
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target =
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Mixin)
return target;
}
::_pbi::Prefetch5LinesFrom7Lines(
reinterpret_cast<const void*>(this));
{
// string name = 1;
if (!this->_internal_name().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this->_internal_name());
}
// string root = 2;
if (!this->_internal_root().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this->_internal_root());
}
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t Mixin::ByteSizeLong(const MessageLite& base) {
const Mixin& this_ = static_cast<const Mixin&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t Mixin::ByteSizeLong() const {
const Mixin& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Mixin)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(&this_);
{
// string name = 1;
if (!this_._internal_name().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this_._internal_name());
}
// string root = 2;
if (!this_._internal_root().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this_._internal_root());
}
}
return this_.MaybeComputeUnknownFieldsSize(total_size,
&this_._impl_._cached_size_);
}
void Mixin::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<Mixin*>(&to_msg);

@ -168,10 +168,26 @@ class PROTOBUF_EXPORT Mixin final : public ::google::protobuf::Message
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
::size_t ByteSizeLong() const PROTOBUF_FINAL;
::uint8_t* _InternalSerialize(::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream*
stream) const PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* _InternalSerialize(
const MessageLite& msg, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
@ -362,10 +378,26 @@ class PROTOBUF_EXPORT Method final : public ::google::protobuf::Message
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
::size_t ByteSizeLong() const PROTOBUF_FINAL;
::uint8_t* _InternalSerialize(::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream*
stream) const PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* _InternalSerialize(
const MessageLite& msg, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
@ -629,10 +661,26 @@ class PROTOBUF_EXPORT Api final : public ::google::protobuf::Message
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
::size_t ByteSizeLong() const PROTOBUF_FINAL;
::uint8_t* _InternalSerialize(::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream*
stream) const PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* _InternalSerialize(
const MessageLite& msg, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:

@ -164,9 +164,8 @@ const ::google::protobuf::MessageLite::ClassDataFull
#if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<Duration>(),
::google::protobuf::Message::GetNewImpl<Duration>(),
::google::protobuf::Message::GetClearImpl<Duration>(),
::google::protobuf::Message::GetByteSizeLongImpl<Duration>(),
::google::protobuf::Message::GetSerializeImpl<Duration>(),
::google::protobuf::Message::GetClearImpl<Duration>(), &Duration::ByteSizeLong,
&Duration::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(Duration, _impl_._cached_size_),
false,
@ -233,60 +232,74 @@ PROTOBUF_NOINLINE void Duration::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
::uint8_t* Duration::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Duration)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* Duration::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const Duration& this_ = static_cast<const Duration&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* Duration::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const Duration& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Duration)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
// int64 seconds = 1;
if (this->_internal_seconds() != 0) {
target = ::google::protobuf::internal::WireFormatLite::
WriteInt64ToArrayWithField<1>(
stream, this->_internal_seconds(), target);
}
// int64 seconds = 1;
if (this_._internal_seconds() != 0) {
target = ::google::protobuf::internal::WireFormatLite::
WriteInt64ToArrayWithField<1>(
stream, this_._internal_seconds(), target);
}
// int32 nanos = 2;
if (this->_internal_nanos() != 0) {
target = ::google::protobuf::internal::WireFormatLite::
WriteInt32ToArrayWithField<2>(
stream, this->_internal_nanos(), target);
}
// int32 nanos = 2;
if (this_._internal_nanos() != 0) {
target = ::google::protobuf::internal::WireFormatLite::
WriteInt32ToArrayWithField<2>(
stream, this_._internal_nanos(), 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.Duration)
return target;
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target =
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Duration)
return target;
}
::size_t Duration::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Duration)
::size_t total_size = 0;
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t Duration::ByteSizeLong(const MessageLite& base) {
const Duration& this_ = static_cast<const Duration&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t Duration::ByteSizeLong() const {
const Duration& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Duration)
::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_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(
reinterpret_cast<const void*>(this));
{
// int64 seconds = 1;
if (this->_internal_seconds() != 0) {
total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
this->_internal_seconds());
}
// int32 nanos = 2;
if (this->_internal_nanos() != 0) {
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
this->_internal_nanos());
}
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
::_pbi::Prefetch5LinesFrom7Lines(&this_);
{
// int64 seconds = 1;
if (this_._internal_seconds() != 0) {
total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
this_._internal_seconds());
}
// int32 nanos = 2;
if (this_._internal_nanos() != 0) {
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
this_._internal_nanos());
}
}
return this_.MaybeComputeUnknownFieldsSize(total_size,
&this_._impl_._cached_size_);
}
void Duration::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<Duration*>(&to_msg);

@ -160,10 +160,26 @@ class PROTOBUF_EXPORT Duration final : public ::google::protobuf::Message
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
::size_t ByteSizeLong() const PROTOBUF_FINAL;
::uint8_t* _InternalSerialize(::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream*
stream) const PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* _InternalSerialize(
const MessageLite& msg, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:

@ -139,9 +139,8 @@ const ::google::protobuf::MessageLite::ClassDataFull
#if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::internal::ZeroFieldsBase::GetDeleteImpl<Empty>(),
::google::protobuf::internal::ZeroFieldsBase::GetNewImpl<Empty>(),
::google::protobuf::internal::ZeroFieldsBase::GetClearImpl<Empty>(),
::google::protobuf::internal::ZeroFieldsBase::GetByteSizeLongImpl<Empty>(),
::google::protobuf::internal::ZeroFieldsBase::GetSerializeImpl<Empty>(),
::google::protobuf::internal::ZeroFieldsBase::GetClearImpl<Empty>(), &Empty::ByteSizeLong,
&Empty::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(Empty, _impl_._cached_size_),
false,

@ -174,9 +174,8 @@ const ::google::protobuf::MessageLite::ClassDataFull
#if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<FieldMask>(),
::google::protobuf::Message::GetNewImpl<FieldMask>(),
::google::protobuf::Message::GetClearImpl<FieldMask>(),
::google::protobuf::Message::GetByteSizeLongImpl<FieldMask>(),
::google::protobuf::Message::GetSerializeImpl<FieldMask>(),
::google::protobuf::Message::GetClearImpl<FieldMask>(), &FieldMask::ByteSizeLong,
&FieldMask::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(FieldMask, _impl_._cached_size_),
false,
@ -238,52 +237,67 @@ PROTOBUF_NOINLINE void FieldMask::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
::uint8_t* FieldMask::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FieldMask)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* FieldMask::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const FieldMask& this_ = static_cast<const FieldMask&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* FieldMask::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const FieldMask& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FieldMask)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
// repeated string paths = 1;
for (int i = 0, n = this->_internal_paths_size(); i < n; ++i) {
const auto& s = this->_internal_paths().Get(i);
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
s.data(), static_cast<int>(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.FieldMask.paths");
target = stream->WriteString(1, s, target);
}
// repeated string paths = 1;
for (int i = 0, n = this_._internal_paths_size(); i < n; ++i) {
const auto& s = this_._internal_paths().Get(i);
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
s.data(), static_cast<int>(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.FieldMask.paths");
target = stream->WriteString(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.FieldMask)
return target;
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target =
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:google.protobuf.FieldMask)
return target;
}
::size_t FieldMask::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.FieldMask)
::size_t total_size = 0;
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t FieldMask::ByteSizeLong(const MessageLite& base) {
const FieldMask& this_ = static_cast<const FieldMask&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t FieldMask::ByteSizeLong() const {
const FieldMask& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.FieldMask)
::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_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(
reinterpret_cast<const void*>(this));
{
// repeated string paths = 1;
{
total_size += 1 * ::google::protobuf::internal::FromIntSize(_internal_paths().size());
for (int i = 0, n = _internal_paths().size(); i < n; ++i) {
total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
_internal_paths().Get(i));
}
}
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
::_pbi::Prefetch5LinesFrom7Lines(&this_);
{
// repeated string paths = 1;
{
total_size +=
1 * ::google::protobuf::internal::FromIntSize(this_._internal_paths().size());
for (int i = 0, n = this_._internal_paths().size(); i < n; ++i) {
total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
this_._internal_paths().Get(i));
}
}
}
return this_.MaybeComputeUnknownFieldsSize(total_size,
&this_._impl_._cached_size_);
}
void FieldMask::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<FieldMask*>(&to_msg);

@ -160,10 +160,26 @@ class PROTOBUF_EXPORT FieldMask final : public ::google::protobuf::Message
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
::size_t ByteSizeLong() const PROTOBUF_FINAL;
::uint8_t* _InternalSerialize(::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream*
stream) const PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* _InternalSerialize(
const MessageLite& msg, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:

@ -177,9 +177,8 @@ const ::google::protobuf::MessageLite::ClassDataFull
#if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<SourceContext>(),
::google::protobuf::Message::GetNewImpl<SourceContext>(),
::google::protobuf::Message::GetClearImpl<SourceContext>(),
::google::protobuf::Message::GetByteSizeLongImpl<SourceContext>(),
::google::protobuf::Message::GetSerializeImpl<SourceContext>(),
::google::protobuf::Message::GetClearImpl<SourceContext>(), &SourceContext::ByteSizeLong,
&SourceContext::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(SourceContext, _impl_._cached_size_),
false,
@ -241,47 +240,62 @@ PROTOBUF_NOINLINE void SourceContext::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
::uint8_t* SourceContext::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.SourceContext)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* SourceContext::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const SourceContext& this_ = static_cast<const SourceContext&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* SourceContext::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const SourceContext& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.SourceContext)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
// string file_name = 1;
if (!this->_internal_file_name().empty()) {
const std::string& _s = this->_internal_file_name();
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.SourceContext.file_name");
target = stream->WriteStringMaybeAliased(1, _s, target);
}
// string file_name = 1;
if (!this_._internal_file_name().empty()) {
const std::string& _s = this_._internal_file_name();
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.SourceContext.file_name");
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.SourceContext)
return target;
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target =
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:google.protobuf.SourceContext)
return target;
}
::size_t SourceContext::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.SourceContext)
::size_t total_size = 0;
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t SourceContext::ByteSizeLong(const MessageLite& base) {
const SourceContext& this_ = static_cast<const SourceContext&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t SourceContext::ByteSizeLong() const {
const SourceContext& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.SourceContext)
::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_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
{
// string file_name = 1;
if (!this->_internal_file_name().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this->_internal_file_name());
}
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
{
// string file_name = 1;
if (!this_._internal_file_name().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this_._internal_file_name());
}
}
return this_.MaybeComputeUnknownFieldsSize(total_size,
&this_._impl_._cached_size_);
}
void SourceContext::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<SourceContext*>(&to_msg);

@ -160,10 +160,26 @@ class PROTOBUF_EXPORT SourceContext final : public ::google::protobuf::Message
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
::size_t ByteSizeLong() const PROTOBUF_FINAL;
::uint8_t* _InternalSerialize(::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream*
stream) const PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* _InternalSerialize(
const MessageLite& msg, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:

@ -384,9 +384,8 @@ const ::google::protobuf::MessageLite::ClassDataFull
#if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<Struct>(),
::google::protobuf::Message::GetNewImpl<Struct>(),
::google::protobuf::Message::GetClearImpl<Struct>(),
::google::protobuf::Message::GetByteSizeLongImpl<Struct>(),
::google::protobuf::Message::GetSerializeImpl<Struct>(),
::google::protobuf::Message::GetClearImpl<Struct>(), &Struct::ByteSizeLong,
&Struct::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(Struct, _impl_._cached_size_),
false,
@ -450,72 +449,87 @@ PROTOBUF_NOINLINE void Struct::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
::uint8_t* Struct::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Struct)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
// map<string, .google.protobuf.Value> fields = 1;
if (!_internal_fields().empty()) {
using MapType = ::google::protobuf::Map<std::string, ::google::protobuf::Value>;
using WireHelper = _pbi::MapEntryFuncs<std::string, ::google::protobuf::Value,
_pbi::WireFormatLite::TYPE_STRING,
_pbi::WireFormatLite::TYPE_MESSAGE>;
const auto& field = _internal_fields();
if (stream->IsSerializationDeterministic() && field.size() > 1) {
for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) {
target = WireHelper::InternalSerialize(
1, entry.first, entry.second, target, stream);
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
entry.first.data(), static_cast<int>(entry.first.length()),
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* Struct::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const Struct& this_ = static_cast<const Struct&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* Struct::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const Struct& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Struct)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
// map<string, .google.protobuf.Value> fields = 1;
if (!this_._internal_fields().empty()) {
using MapType = ::google::protobuf::Map<std::string, ::google::protobuf::Value>;
using WireHelper = _pbi::MapEntryFuncs<std::string, ::google::protobuf::Value,
_pbi::WireFormatLite::TYPE_STRING,
_pbi::WireFormatLite::TYPE_MESSAGE>;
const auto& field = this_._internal_fields();
if (stream->IsSerializationDeterministic() && field.size() > 1) {
for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) {
target = WireHelper::InternalSerialize(
1, entry.first, entry.second, target, stream);
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
entry.first.data(), static_cast<int>(entry.first.length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Struct.fields");
}
} else {
for (const auto& entry : field) {
target = WireHelper::InternalSerialize(
1, entry.first, entry.second, target, stream);
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
entry.first.data(), static_cast<int>(entry.first.length()),
}
} else {
for (const auto& entry : field) {
target = WireHelper::InternalSerialize(
1, entry.first, entry.second, target, stream);
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
entry.first.data(), static_cast<int>(entry.first.length()),
::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Struct.fields");
}
}
}
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.Struct)
return target;
}
::size_t Struct::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Struct)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
}
}
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target =
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Struct)
return target;
}
::_pbi::Prefetch5LinesFrom7Lines(
reinterpret_cast<const void*>(this));
{
// map<string, .google.protobuf.Value> fields = 1;
{
total_size += 1 * ::google::protobuf::internal::FromIntSize(_internal_fields_size());
for (const auto& entry : _internal_fields()) {
total_size += _pbi::MapEntryFuncs<std::string, ::google::protobuf::Value,
_pbi::WireFormatLite::TYPE_STRING,
_pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second);
}
}
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t Struct::ByteSizeLong(const MessageLite& base) {
const Struct& this_ = static_cast<const Struct&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t Struct::ByteSizeLong() const {
const Struct& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Struct)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(&this_);
{
// map<string, .google.protobuf.Value> fields = 1;
{
total_size +=
1 * ::google::protobuf::internal::FromIntSize(this_._internal_fields_size());
for (const auto& entry : this_._internal_fields()) {
total_size += _pbi::MapEntryFuncs<std::string, ::google::protobuf::Value,
_pbi::WireFormatLite::TYPE_STRING,
_pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second);
}
}
}
return this_.MaybeComputeUnknownFieldsSize(total_size,
&this_._impl_._cached_size_);
}
void Struct::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<Struct*>(&to_msg);
@ -714,9 +728,8 @@ const ::google::protobuf::MessageLite::ClassDataFull
#if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<Value>(),
::google::protobuf::Message::GetNewImpl<Value>(),
::google::protobuf::Message::GetClearImpl<Value>(),
::google::protobuf::Message::GetByteSizeLongImpl<Value>(),
::google::protobuf::Message::GetSerializeImpl<Value>(),
::google::protobuf::Message::GetClearImpl<Value>(), &Value::ByteSizeLong,
&Value::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(Value, _impl_._cached_size_),
false,
@ -792,110 +805,127 @@ PROTOBUF_NOINLINE void Value::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
::uint8_t* Value::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Value)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
switch (kind_case()) {
case kNullValue: {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteEnumToArray(
1, this->_internal_null_value(), target);
break;
}
case kNumberValue: {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteDoubleToArray(
2, this->_internal_number_value(), target);
break;
}
case kStringValue: {
const std::string& _s = this->_internal_string_value();
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Value.string_value");
target = stream->WriteStringMaybeAliased(3, _s, target);
break;
}
case kBoolValue: {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteBoolToArray(
4, this->_internal_bool_value(), target);
break;
}
case kStructValue: {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
5, *_impl_.kind_.struct_value_, _impl_.kind_.struct_value_->GetCachedSize(), target, stream);
break;
}
case kListValue: {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
6, *_impl_.kind_.list_value_, _impl_.kind_.list_value_->GetCachedSize(), target, stream);
break;
}
default:
break;
}
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.Value)
return target;
}
::size_t Value::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Value)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* Value::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const Value& this_ = static_cast<const Value&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* Value::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const Value& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Value)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
switch (this_.kind_case()) {
case kNullValue: {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteEnumToArray(
1, this_._internal_null_value(), target);
break;
}
case kNumberValue: {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteDoubleToArray(
2, this_._internal_number_value(), target);
break;
}
case kStringValue: {
const std::string& _s = this_._internal_string_value();
::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Value.string_value");
target = stream->WriteStringMaybeAliased(3, _s, target);
break;
}
case kBoolValue: {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteBoolToArray(
4, this_._internal_bool_value(), target);
break;
}
case kStructValue: {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
5, *this_._impl_.kind_.struct_value_, this_._impl_.kind_.struct_value_->GetCachedSize(), target,
stream);
break;
}
case kListValue: {
target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
6, *this_._impl_.kind_.list_value_, this_._impl_.kind_.list_value_->GetCachedSize(), target,
stream);
break;
}
default:
break;
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target =
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Value)
return target;
}
switch (kind_case()) {
// .google.protobuf.NullValue null_value = 1;
case kNullValue: {
total_size += 1 +
::_pbi::WireFormatLite::EnumSize(this->_internal_null_value());
break;
}
// double number_value = 2;
case kNumberValue: {
total_size += 9;
break;
}
// string string_value = 3;
case kStringValue: {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this->_internal_string_value());
break;
}
// bool bool_value = 4;
case kBoolValue: {
total_size += 2;
break;
}
// .google.protobuf.Struct struct_value = 5;
case kStructValue: {
total_size +=
1 + ::google::protobuf::internal::WireFormatLite::MessageSize(*_impl_.kind_.struct_value_);
break;
}
// .google.protobuf.ListValue list_value = 6;
case kListValue: {
total_size +=
1 + ::google::protobuf::internal::WireFormatLite::MessageSize(*_impl_.kind_.list_value_);
break;
}
case KIND_NOT_SET: {
break;
}
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t Value::ByteSizeLong(const MessageLite& base) {
const Value& this_ = static_cast<const Value&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t Value::ByteSizeLong() const {
const Value& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Value)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
switch (this_.kind_case()) {
// .google.protobuf.NullValue null_value = 1;
case kNullValue: {
total_size += 1 +
::_pbi::WireFormatLite::EnumSize(this_._internal_null_value());
break;
}
// double number_value = 2;
case kNumberValue: {
total_size += 9;
break;
}
// string string_value = 3;
case kStringValue: {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this_._internal_string_value());
break;
}
// bool bool_value = 4;
case kBoolValue: {
total_size += 2;
break;
}
// .google.protobuf.Struct struct_value = 5;
case kStructValue: {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.kind_.struct_value_);
break;
}
// .google.protobuf.ListValue list_value = 6;
case kListValue: {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.kind_.list_value_);
break;
}
case KIND_NOT_SET: {
break;
}
}
return this_.MaybeComputeUnknownFieldsSize(total_size,
&this_._impl_._cached_size_);
}
void Value::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<Value*>(&to_msg);
@ -1048,9 +1078,8 @@ const ::google::protobuf::MessageLite::ClassDataFull
#if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<ListValue>(),
::google::protobuf::Message::GetNewImpl<ListValue>(),
::google::protobuf::Message::GetClearImpl<ListValue>(),
::google::protobuf::Message::GetByteSizeLongImpl<ListValue>(),
::google::protobuf::Message::GetSerializeImpl<ListValue>(),
::google::protobuf::Message::GetClearImpl<ListValue>(), &ListValue::ByteSizeLong,
&ListValue::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(ListValue, _impl_._cached_size_),
false,
@ -1109,54 +1138,68 @@ PROTOBUF_NOINLINE void ListValue::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
::uint8_t* ListValue::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.ListValue)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
// repeated .google.protobuf.Value values = 1;
for (unsigned i = 0, n = static_cast<unsigned>(
this->_internal_values_size());
i < n; i++) {
const auto& repfield = this->_internal_values().Get(i);
target =
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1, repfield, repfield.GetCachedSize(),
target, stream);
}
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.ListValue)
return target;
}
::size_t ListValue::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.ListValue)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* ListValue::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const ListValue& this_ = static_cast<const ListValue&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* ListValue::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const ListValue& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.ListValue)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
// repeated .google.protobuf.Value values = 1;
for (unsigned i = 0, n = static_cast<unsigned>(
this_._internal_values_size());
i < n; i++) {
const auto& repfield = this_._internal_values().Get(i);
target =
::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1, repfield, repfield.GetCachedSize(),
target, stream);
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target =
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:google.protobuf.ListValue)
return target;
}
::_pbi::Prefetch5LinesFrom7Lines(
reinterpret_cast<const void*>(this));
{
// repeated .google.protobuf.Value values = 1;
{
total_size += 1UL * this->_internal_values_size();
for (const auto& msg : this->_internal_values()) {
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
}
}
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t ListValue::ByteSizeLong(const MessageLite& base) {
const ListValue& this_ = static_cast<const ListValue&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ListValue::ByteSizeLong() const {
const ListValue& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.ListValue)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(&this_);
{
// repeated .google.protobuf.Value values = 1;
{
total_size += 1UL * this_._internal_values_size();
for (const auto& msg : this_._internal_values()) {
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
}
}
}
return this_.MaybeComputeUnknownFieldsSize(total_size,
&this_._impl_._cached_size_);
}
void ListValue::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<ListValue*>(&to_msg);

@ -205,10 +205,26 @@ class PROTOBUF_EXPORT ListValue final : public ::google::protobuf::Message
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
::size_t ByteSizeLong() const PROTOBUF_FINAL;
::uint8_t* _InternalSerialize(::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream*
stream) const PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* _InternalSerialize(
const MessageLite& msg, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
@ -382,10 +398,26 @@ class PROTOBUF_EXPORT Struct final : public ::google::protobuf::Message
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
::size_t ByteSizeLong() const PROTOBUF_FINAL;
::uint8_t* _InternalSerialize(::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream*
stream) const PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* _InternalSerialize(
const MessageLite& msg, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
@ -603,10 +635,26 @@ class PROTOBUF_EXPORT Value final : public ::google::protobuf::Message
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
::size_t ByteSizeLong() const PROTOBUF_FINAL;
::uint8_t* _InternalSerialize(::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream*
stream) const PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* _InternalSerialize(
const MessageLite& msg, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:

@ -164,9 +164,8 @@ const ::google::protobuf::MessageLite::ClassDataFull
#if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<Timestamp>(),
::google::protobuf::Message::GetNewImpl<Timestamp>(),
::google::protobuf::Message::GetClearImpl<Timestamp>(),
::google::protobuf::Message::GetByteSizeLongImpl<Timestamp>(),
::google::protobuf::Message::GetSerializeImpl<Timestamp>(),
::google::protobuf::Message::GetClearImpl<Timestamp>(), &Timestamp::ByteSizeLong,
&Timestamp::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(Timestamp, _impl_._cached_size_),
false,
@ -233,60 +232,74 @@ PROTOBUF_NOINLINE void Timestamp::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
::uint8_t* Timestamp::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Timestamp)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* Timestamp::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const Timestamp& this_ = static_cast<const Timestamp&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* Timestamp::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const Timestamp& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Timestamp)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
// int64 seconds = 1;
if (this->_internal_seconds() != 0) {
target = ::google::protobuf::internal::WireFormatLite::
WriteInt64ToArrayWithField<1>(
stream, this->_internal_seconds(), target);
}
// int64 seconds = 1;
if (this_._internal_seconds() != 0) {
target = ::google::protobuf::internal::WireFormatLite::
WriteInt64ToArrayWithField<1>(
stream, this_._internal_seconds(), target);
}
// int32 nanos = 2;
if (this->_internal_nanos() != 0) {
target = ::google::protobuf::internal::WireFormatLite::
WriteInt32ToArrayWithField<2>(
stream, this->_internal_nanos(), target);
}
// int32 nanos = 2;
if (this_._internal_nanos() != 0) {
target = ::google::protobuf::internal::WireFormatLite::
WriteInt32ToArrayWithField<2>(
stream, this_._internal_nanos(), 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.Timestamp)
return target;
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target =
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
}
// @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Timestamp)
return target;
}
::size_t Timestamp::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Timestamp)
::size_t total_size = 0;
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t Timestamp::ByteSizeLong(const MessageLite& base) {
const Timestamp& this_ = static_cast<const Timestamp&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t Timestamp::ByteSizeLong() const {
const Timestamp& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Timestamp)
::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_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void)cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(
reinterpret_cast<const void*>(this));
{
// int64 seconds = 1;
if (this->_internal_seconds() != 0) {
total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
this->_internal_seconds());
}
// int32 nanos = 2;
if (this->_internal_nanos() != 0) {
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
this->_internal_nanos());
}
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
::_pbi::Prefetch5LinesFrom7Lines(&this_);
{
// int64 seconds = 1;
if (this_._internal_seconds() != 0) {
total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
this_._internal_seconds());
}
// int32 nanos = 2;
if (this_._internal_nanos() != 0) {
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
this_._internal_nanos());
}
}
return this_.MaybeComputeUnknownFieldsSize(total_size,
&this_._impl_._cached_size_);
}
void Timestamp::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<Timestamp*>(&to_msg);

@ -160,10 +160,26 @@ class PROTOBUF_EXPORT Timestamp final : public ::google::protobuf::Message
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
::size_t ByteSizeLong() const PROTOBUF_FINAL;
::uint8_t* _InternalSerialize(::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream*
stream) const PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* _InternalSerialize(
const MessageLite& msg, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:

File diff suppressed because it is too large Load Diff

@ -294,10 +294,26 @@ class PROTOBUF_EXPORT Option final : public ::google::protobuf::Message
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
::size_t ByteSizeLong() const PROTOBUF_FINAL;
::uint8_t* _InternalSerialize(::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream*
stream) const PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* _InternalSerialize(
const MessageLite& msg, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
@ -488,10 +504,26 @@ class PROTOBUF_EXPORT Field final : public ::google::protobuf::Message
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
::size_t ByteSizeLong() const PROTOBUF_FINAL;
::uint8_t* _InternalSerialize(::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream*
stream) const PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* _InternalSerialize(
const MessageLite& msg, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
@ -854,10 +886,26 @@ class PROTOBUF_EXPORT EnumValue final : public ::google::protobuf::Message
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
::size_t ByteSizeLong() const PROTOBUF_FINAL;
::uint8_t* _InternalSerialize(::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream*
stream) const PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* _InternalSerialize(
const MessageLite& msg, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
@ -1061,10 +1109,26 @@ class PROTOBUF_EXPORT Type final : public ::google::protobuf::Message
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
::size_t ByteSizeLong() const PROTOBUF_FINAL;
::uint8_t* _InternalSerialize(::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream*
stream) const PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* _InternalSerialize(
const MessageLite& msg, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
@ -1347,10 +1411,26 @@ class PROTOBUF_EXPORT Enum final : public ::google::protobuf::Message
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
::size_t ByteSizeLong() const PROTOBUF_FINAL;
::uint8_t* _InternalSerialize(::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream*
stream) const PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* _InternalSerialize(
const MessageLite& msg, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:

@ -455,9 +455,8 @@ const ::google::protobuf::MessageLite::ClassDataFull
#if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<DoubleValue>(),
::google::protobuf::Message::GetNewImpl<DoubleValue>(),
::google::protobuf::Message::GetClearImpl<DoubleValue>(),
::google::protobuf::Message::GetByteSizeLongImpl<DoubleValue>(),
::google::protobuf::Message::GetSerializeImpl<DoubleValue>(),
::google::protobuf::Message::GetClearImpl<DoubleValue>(), &DoubleValue::ByteSizeLong,
&DoubleValue::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(DoubleValue, _impl_._cached_size_),
false,
@ -516,45 +515,60 @@ PROTOBUF_NOINLINE void DoubleValue::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
::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;
if (::absl::bit_cast<::uint64_t>(this->_internal_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;
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* DoubleValue::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const DoubleValue& this_ = static_cast<const DoubleValue&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* DoubleValue::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const DoubleValue& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.DoubleValue)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
// double value = 1;
if (::absl::bit_cast<::uint64_t>(this_._internal_value()) != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteDoubleToArray(
1, this_._internal_value(), target);
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target =
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
this_._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;
}
{
// double value = 1;
if (::absl::bit_cast<::uint64_t>(this->_internal_value()) != 0) {
total_size += 9;
}
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t DoubleValue::ByteSizeLong(const MessageLite& base) {
const DoubleValue& this_ = static_cast<const DoubleValue&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t DoubleValue::ByteSizeLong() const {
const DoubleValue& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@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;
if (::absl::bit_cast<::uint64_t>(this_._internal_value()) != 0) {
total_size += 9;
}
}
return this_.MaybeComputeUnknownFieldsSize(total_size,
&this_._impl_._cached_size_);
}
void DoubleValue::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<DoubleValue*>(&to_msg);
@ -639,9 +653,8 @@ const ::google::protobuf::MessageLite::ClassDataFull
#if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<FloatValue>(),
::google::protobuf::Message::GetNewImpl<FloatValue>(),
::google::protobuf::Message::GetClearImpl<FloatValue>(),
::google::protobuf::Message::GetByteSizeLongImpl<FloatValue>(),
::google::protobuf::Message::GetSerializeImpl<FloatValue>(),
::google::protobuf::Message::GetClearImpl<FloatValue>(), &FloatValue::ByteSizeLong,
&FloatValue::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(FloatValue, _impl_._cached_size_),
false,
@ -700,45 +713,60 @@ PROTOBUF_NOINLINE void FloatValue::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
::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;
if (::absl::bit_cast<::uint32_t>(this->_internal_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;
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* FloatValue::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const FloatValue& this_ = static_cast<const FloatValue&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* FloatValue::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const FloatValue& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FloatValue)
::uint32_t cached_has_bits = 0;
(void)cached_has_bits;
// float value = 1;
if (::absl::bit_cast<::uint32_t>(this_._internal_value()) != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteFloatToArray(
1, this_._internal_value(), target);
}
if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
target =
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
this_._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;
}
{
// float value = 1;
if (::absl::bit_cast<::uint32_t>(this->_internal_value()) != 0) {
total_size += 5;
}
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t FloatValue::ByteSizeLong(const MessageLite& base) {
const FloatValue& this_ = static_cast<const FloatValue&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t FloatValue::ByteSizeLong() const {
const FloatValue& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@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;
if (::absl::bit_cast<::uint32_t>(this_._internal_value()) != 0) {
total_size += 5;
}
}
return this_.MaybeComputeUnknownFieldsSize(total_size,
&this_._impl_._cached_size_);
}
void FloatValue::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<FloatValue*>(&to_msg);
@ -823,9 +851,8 @@ const ::google::protobuf::MessageLite::ClassDataFull
#if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<Int64Value>(),
::google::protobuf::Message::GetNewImpl<Int64Value>(),
::google::protobuf::Message::GetClearImpl<Int64Value>(),
::google::protobuf::Message::GetByteSizeLongImpl<Int64Value>(),
::google::protobuf::Message::GetSerializeImpl<Int64Value>(),
::google::protobuf::Message::GetClearImpl<Int64Value>(), &Int64Value::ByteSizeLong,
&Int64Value::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(Int64Value, _impl_._cached_size_),
false,
@ -884,46 +911,61 @@ PROTOBUF_NOINLINE void Int64Value::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
::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;
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* Int64Value::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const Int64Value& this_ = static_cast<const Int64Value&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* Int64Value::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const Int64Value& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@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(this_._internal_metadata_.have_unknown_fields())) {
target =
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
this_._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;
}
{
// int64 value = 1;
if (this->_internal_value() != 0) {
total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
this->_internal_value());
}
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t Int64Value::ByteSizeLong(const MessageLite& base) {
const Int64Value& this_ = static_cast<const Int64Value&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t Int64Value::ByteSizeLong() const {
const Int64Value& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@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 this_.MaybeComputeUnknownFieldsSize(total_size,
&this_._impl_._cached_size_);
}
void Int64Value::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<Int64Value*>(&to_msg);
@ -1008,9 +1050,8 @@ const ::google::protobuf::MessageLite::ClassDataFull
#if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<UInt64Value>(),
::google::protobuf::Message::GetNewImpl<UInt64Value>(),
::google::protobuf::Message::GetClearImpl<UInt64Value>(),
::google::protobuf::Message::GetByteSizeLongImpl<UInt64Value>(),
::google::protobuf::Message::GetSerializeImpl<UInt64Value>(),
::google::protobuf::Message::GetClearImpl<UInt64Value>(), &UInt64Value::ByteSizeLong,
&UInt64Value::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(UInt64Value, _impl_._cached_size_),
false,
@ -1069,46 +1110,61 @@ PROTOBUF_NOINLINE void UInt64Value::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
::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;
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* UInt64Value::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const UInt64Value& this_ = static_cast<const UInt64Value&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* UInt64Value::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const UInt64Value& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@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(this_._internal_metadata_.have_unknown_fields())) {
target =
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
this_._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;
}
{
// uint64 value = 1;
if (this->_internal_value() != 0) {
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
this->_internal_value());
}
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t UInt64Value::ByteSizeLong(const MessageLite& base) {
const UInt64Value& this_ = static_cast<const UInt64Value&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t UInt64Value::ByteSizeLong() const {
const UInt64Value& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@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 this_.MaybeComputeUnknownFieldsSize(total_size,
&this_._impl_._cached_size_);
}
void UInt64Value::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<UInt64Value*>(&to_msg);
@ -1193,9 +1249,8 @@ const ::google::protobuf::MessageLite::ClassDataFull
#if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<Int32Value>(),
::google::protobuf::Message::GetNewImpl<Int32Value>(),
::google::protobuf::Message::GetClearImpl<Int32Value>(),
::google::protobuf::Message::GetByteSizeLongImpl<Int32Value>(),
::google::protobuf::Message::GetSerializeImpl<Int32Value>(),
::google::protobuf::Message::GetClearImpl<Int32Value>(), &Int32Value::ByteSizeLong,
&Int32Value::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(Int32Value, _impl_._cached_size_),
false,
@ -1254,46 +1309,61 @@ PROTOBUF_NOINLINE void Int32Value::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
::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;
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* Int32Value::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const Int32Value& this_ = static_cast<const Int32Value&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* Int32Value::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const Int32Value& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@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(this_._internal_metadata_.have_unknown_fields())) {
target =
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
this_._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;
}
{
// int32 value = 1;
if (this->_internal_value() != 0) {
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
this->_internal_value());
}
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t Int32Value::ByteSizeLong(const MessageLite& base) {
const Int32Value& this_ = static_cast<const Int32Value&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t Int32Value::ByteSizeLong() const {
const Int32Value& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@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 this_.MaybeComputeUnknownFieldsSize(total_size,
&this_._impl_._cached_size_);
}
void Int32Value::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<Int32Value*>(&to_msg);
@ -1378,9 +1448,8 @@ const ::google::protobuf::MessageLite::ClassDataFull
#if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<UInt32Value>(),
::google::protobuf::Message::GetNewImpl<UInt32Value>(),
::google::protobuf::Message::GetClearImpl<UInt32Value>(),
::google::protobuf::Message::GetByteSizeLongImpl<UInt32Value>(),
::google::protobuf::Message::GetSerializeImpl<UInt32Value>(),
::google::protobuf::Message::GetClearImpl<UInt32Value>(), &UInt32Value::ByteSizeLong,
&UInt32Value::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(UInt32Value, _impl_._cached_size_),
false,
@ -1439,46 +1508,61 @@ PROTOBUF_NOINLINE void UInt32Value::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
::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;
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* UInt32Value::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const UInt32Value& this_ = static_cast<const UInt32Value&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* UInt32Value::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const UInt32Value& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@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(this_._internal_metadata_.have_unknown_fields())) {
target =
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
this_._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;
}
{
// uint32 value = 1;
if (this->_internal_value() != 0) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
this->_internal_value());
}
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t UInt32Value::ByteSizeLong(const MessageLite& base) {
const UInt32Value& this_ = static_cast<const UInt32Value&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t UInt32Value::ByteSizeLong() const {
const UInt32Value& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@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 this_.MaybeComputeUnknownFieldsSize(total_size,
&this_._impl_._cached_size_);
}
void UInt32Value::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<UInt32Value*>(&to_msg);
@ -1563,9 +1647,8 @@ const ::google::protobuf::MessageLite::ClassDataFull
#if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<BoolValue>(),
::google::protobuf::Message::GetNewImpl<BoolValue>(),
::google::protobuf::Message::GetClearImpl<BoolValue>(),
::google::protobuf::Message::GetByteSizeLongImpl<BoolValue>(),
::google::protobuf::Message::GetSerializeImpl<BoolValue>(),
::google::protobuf::Message::GetClearImpl<BoolValue>(), &BoolValue::ByteSizeLong,
&BoolValue::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(BoolValue, _impl_._cached_size_),
false,
@ -1624,45 +1707,60 @@ PROTOBUF_NOINLINE void BoolValue::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
::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;
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* BoolValue::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const BoolValue& this_ = static_cast<const BoolValue&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* BoolValue::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const BoolValue& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@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(this_._internal_metadata_.have_unknown_fields())) {
target =
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
this_._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;
}
{
// bool value = 1;
if (this->_internal_value() != 0) {
total_size += 2;
}
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t BoolValue::ByteSizeLong(const MessageLite& base) {
const BoolValue& this_ = static_cast<const BoolValue&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t BoolValue::ByteSizeLong() const {
const BoolValue& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@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 this_.MaybeComputeUnknownFieldsSize(total_size,
&this_._impl_._cached_size_);
}
void BoolValue::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<BoolValue*>(&to_msg);
@ -1765,9 +1863,8 @@ const ::google::protobuf::MessageLite::ClassDataFull
#if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<StringValue>(),
::google::protobuf::Message::GetNewImpl<StringValue>(),
::google::protobuf::Message::GetClearImpl<StringValue>(),
::google::protobuf::Message::GetByteSizeLongImpl<StringValue>(),
::google::protobuf::Message::GetSerializeImpl<StringValue>(),
::google::protobuf::Message::GetClearImpl<StringValue>(), &StringValue::ByteSizeLong,
&StringValue::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(StringValue, _impl_._cached_size_),
false,
@ -1829,47 +1926,62 @@ PROTOBUF_NOINLINE void StringValue::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
::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;
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* StringValue::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const StringValue& this_ = static_cast<const StringValue&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* StringValue::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const StringValue& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@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(this_._internal_metadata_.have_unknown_fields())) {
target =
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
this_._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;
}
{
// 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_);
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t StringValue::ByteSizeLong(const MessageLite& base) {
const StringValue& this_ = static_cast<const StringValue&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t StringValue::ByteSizeLong() const {
const StringValue& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@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 this_.MaybeComputeUnknownFieldsSize(total_size,
&this_._impl_._cached_size_);
}
void StringValue::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<StringValue*>(&to_msg);
@ -1974,9 +2086,8 @@ const ::google::protobuf::MessageLite::ClassDataFull
#if defined(PROTOBUF_CUSTOM_VTABLE)
::google::protobuf::Message::GetDeleteImpl<BytesValue>(),
::google::protobuf::Message::GetNewImpl<BytesValue>(),
::google::protobuf::Message::GetClearImpl<BytesValue>(),
::google::protobuf::Message::GetByteSizeLongImpl<BytesValue>(),
::google::protobuf::Message::GetSerializeImpl<BytesValue>(),
::google::protobuf::Message::GetClearImpl<BytesValue>(), &BytesValue::ByteSizeLong,
&BytesValue::_InternalSerialize,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(BytesValue, _impl_._cached_size_),
false,
@ -2035,45 +2146,60 @@ PROTOBUF_NOINLINE void BytesValue::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
::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;
#if defined(PROTOBUF_CUSTOM_VTABLE)
::uint8_t* BytesValue::_InternalSerialize(
const MessageLite& base, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) {
const BytesValue& this_ = static_cast<const BytesValue&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::uint8_t* BytesValue::_InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
const BytesValue& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@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(this_._internal_metadata_.have_unknown_fields())) {
target =
::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
this_._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;
}
{
// 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_);
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t BytesValue::ByteSizeLong(const MessageLite& base) {
const BytesValue& this_ = static_cast<const BytesValue&>(base);
#else // PROTOBUF_CUSTOM_VTABLE
::size_t BytesValue::ByteSizeLong() const {
const BytesValue& this_ = *this;
#endif // PROTOBUF_CUSTOM_VTABLE
// @@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 this_.MaybeComputeUnknownFieldsSize(total_size,
&this_._impl_._cached_size_);
}
void BytesValue::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
auto* const _this = static_cast<BytesValue*>(&to_msg);

@ -184,10 +184,26 @@ class PROTOBUF_EXPORT UInt64Value final : public ::google::protobuf::Message
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
::size_t ByteSizeLong() const PROTOBUF_FINAL;
::uint8_t* _InternalSerialize(::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream*
stream) const PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* _InternalSerialize(
const MessageLite& msg, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
@ -354,10 +370,26 @@ class PROTOBUF_EXPORT UInt32Value final : public ::google::protobuf::Message
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
::size_t ByteSizeLong() const PROTOBUF_FINAL;
::uint8_t* _InternalSerialize(::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream*
stream) const PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* _InternalSerialize(
const MessageLite& msg, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
@ -524,10 +556,26 @@ class PROTOBUF_EXPORT StringValue final : public ::google::protobuf::Message
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
::size_t ByteSizeLong() const PROTOBUF_FINAL;
::uint8_t* _InternalSerialize(::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream*
stream) const PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* _InternalSerialize(
const MessageLite& msg, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
@ -700,10 +748,26 @@ class PROTOBUF_EXPORT Int64Value final : public ::google::protobuf::Message
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
::size_t ByteSizeLong() const PROTOBUF_FINAL;
::uint8_t* _InternalSerialize(::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream*
stream) const PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* _InternalSerialize(
const MessageLite& msg, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
@ -870,10 +934,26 @@ class PROTOBUF_EXPORT Int32Value final : public ::google::protobuf::Message
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
::size_t ByteSizeLong() const PROTOBUF_FINAL;
::uint8_t* _InternalSerialize(::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream*
stream) const PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* _InternalSerialize(
const MessageLite& msg, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
@ -1040,10 +1120,26 @@ class PROTOBUF_EXPORT FloatValue final : public ::google::protobuf::Message
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
::size_t ByteSizeLong() const PROTOBUF_FINAL;
::uint8_t* _InternalSerialize(::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream*
stream) const PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* _InternalSerialize(
const MessageLite& msg, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
@ -1210,10 +1306,26 @@ class PROTOBUF_EXPORT DoubleValue final : public ::google::protobuf::Message
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
::size_t ByteSizeLong() const PROTOBUF_FINAL;
::uint8_t* _InternalSerialize(::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream*
stream) const PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* _InternalSerialize(
const MessageLite& msg, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
@ -1380,10 +1492,26 @@ class PROTOBUF_EXPORT BytesValue final : public ::google::protobuf::Message
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
::size_t ByteSizeLong() const PROTOBUF_FINAL;
::uint8_t* _InternalSerialize(::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream*
stream) const PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* _InternalSerialize(
const MessageLite& msg, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
@ -1556,10 +1684,26 @@ class PROTOBUF_EXPORT BoolValue final : public ::google::protobuf::Message
return true;
}
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
::size_t ByteSizeLong() const PROTOBUF_FINAL;
::uint8_t* _InternalSerialize(::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream*
stream) const PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* _InternalSerialize(
const MessageLite& msg, ::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* _InternalSerialize(
::uint8_t* target,
::google::protobuf::io::EpsCopyOutputStream* stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:

Loading…
Cancel
Save