Auto-generate files after cl/711828681

pull/19824/head
Protobuf Team Bot 2 months ago
parent fb51ac01e6
commit dce4f7ddf2
  1. 130
      src/google/protobuf/any.pb.cc
  2. 768
      src/google/protobuf/api.pb.cc
  3. 130
      src/google/protobuf/duration.pb.cc
  4. 100
      src/google/protobuf/field_mask.pb.cc
  5. 100
      src/google/protobuf/source_context.pb.cc
  6. 580
      src/google/protobuf/struct.pb.cc
  7. 130
      src/google/protobuf/timestamp.pb.cc
  8. 1322
      src/google/protobuf/type.pb.cc
  9. 948
      src/google/protobuf/wrappers.pb.cc

@ -299,82 +299,82 @@ PROTOBUF_NOINLINE void Any::Clear() {
}
#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);
::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;
::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;
// @@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_._impl_._has_bits_[0] & 0x00000001u) != 0) {
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_._impl_._has_bits_[0] & 0x00000001u) != 0) {
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_._impl_._has_bits_[0] & 0x00000002u) != 0) {
if (!this_._internal_value().empty()) {
const std::string& _s = this_._internal_value();
target = stream->WriteBytesMaybeAliased(2, _s, target);
}
}
// bytes value = 2;
if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) {
if (!this_._internal_value().empty()) {
const std::string& _s = this_._internal_value();
target = stream->WriteBytesMaybeAliased(2, _s, target);
}
}
if (ABSL_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;
}
if (ABSL_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;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t Any::ByteSizeLong(const MessageLite& base) {
const Any& this_ = static_cast<const Any&>(base);
::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;
::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;
// @@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(&this_);
cached_has_bits = this_._impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
// string type_url = 1;
if (cached_has_bits & 0x00000001u) {
if (!this_._internal_type_url().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this_._internal_type_url());
}
}
// bytes value = 2;
if (cached_has_bits & 0x00000002u) {
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_);
}
::_pbi::Prefetch5LinesFrom7Lines(&this_);
cached_has_bits = this_._impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
// string type_url = 1;
if (cached_has_bits & 0x00000001u) {
if (!this_._internal_type_url().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this_._internal_type_url());
}
}
// bytes value = 2;
if (cached_has_bits & 0x00000002u) {
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);

@ -513,169 +513,169 @@ PROTOBUF_NOINLINE void Api::Clear() {
}
#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);
::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;
::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_._impl_._has_bits_[0] & 0x00000001u) != 0) {
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_._impl_._has_bits_[0] & 0x00000002u) != 0) {
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 & 0x00000004u) {
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 (cached_has_bits & 0x00000008u) {
if (this_._internal_syntax() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteEnumToArray(
7, this_._internal_syntax(), target);
}
}
if (ABSL_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;
}
// @@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_._impl_._has_bits_[0] & 0x00000001u) != 0) {
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_._impl_._has_bits_[0] & 0x00000002u) != 0) {
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 & 0x00000004u) {
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 (cached_has_bits & 0x00000008u) {
if (this_._internal_syntax() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteEnumToArray(
7, this_._internal_syntax(), target);
}
}
if (ABSL_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;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t Api::ByteSizeLong(const MessageLite& base) {
const Api& this_ = static_cast<const Api&>(base);
::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;
::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);
}
}
}
cached_has_bits = this_._impl_._has_bits_[0];
if (cached_has_bits & 0x0000000fu) {
// string name = 1;
if (cached_has_bits & 0x00000001u) {
if (!this_._internal_name().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this_._internal_name());
}
}
// string version = 4;
if (cached_has_bits & 0x00000002u) {
if (!this_._internal_version().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this_._internal_version());
}
}
// .google.protobuf.SourceContext source_context = 5;
if (cached_has_bits & 0x00000004u) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.source_context_);
}
// .google.protobuf.Syntax syntax = 7;
if (cached_has_bits & 0x00000008u) {
if (this_._internal_syntax() != 0) {
total_size += 1 +
::_pbi::WireFormatLite::EnumSize(this_._internal_syntax());
}
}
}
return this_.MaybeComputeUnknownFieldsSize(total_size,
&this_._impl_._cached_size_);
}
// @@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);
}
}
}
cached_has_bits = this_._impl_._has_bits_[0];
if (cached_has_bits & 0x0000000fu) {
// string name = 1;
if (cached_has_bits & 0x00000001u) {
if (!this_._internal_name().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this_._internal_name());
}
}
// string version = 4;
if (cached_has_bits & 0x00000002u) {
if (!this_._internal_version().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this_._internal_version());
}
}
// .google.protobuf.SourceContext source_context = 5;
if (cached_has_bits & 0x00000004u) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.source_context_);
}
// .google.protobuf.Syntax syntax = 7;
if (cached_has_bits & 0x00000008u) {
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);
@ -1007,167 +1007,167 @@ PROTOBUF_NOINLINE void Method::Clear() {
}
#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);
::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;
::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_._impl_._has_bits_[0] & 0x00000001u) != 0) {
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_._impl_._has_bits_[0] & 0x00000002u) != 0) {
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_._impl_._has_bits_[0] & 0x00000008u) != 0) {
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_._impl_._has_bits_[0] & 0x00000004u) != 0) {
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_._impl_._has_bits_[0] & 0x00000010u) != 0) {
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_._impl_._has_bits_[0] & 0x00000020u) != 0) {
if (this_._internal_syntax() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteEnumToArray(
7, this_._internal_syntax(), target);
}
}
if (ABSL_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;
}
// @@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_._impl_._has_bits_[0] & 0x00000001u) != 0) {
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_._impl_._has_bits_[0] & 0x00000002u) != 0) {
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_._impl_._has_bits_[0] & 0x00000008u) != 0) {
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_._impl_._has_bits_[0] & 0x00000004u) != 0) {
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_._impl_._has_bits_[0] & 0x00000010u) != 0) {
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_._impl_._has_bits_[0] & 0x00000020u) != 0) {
if (this_._internal_syntax() != 0) {
target = stream->EnsureSpace(target);
target = ::_pbi::WireFormatLite::WriteEnumToArray(
7, this_._internal_syntax(), target);
}
}
if (ABSL_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;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t Method::ByteSizeLong(const MessageLite& base) {
const Method& this_ = static_cast<const Method&>(base);
::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;
::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);
}
}
}
cached_has_bits = this_._impl_._has_bits_[0];
if (cached_has_bits & 0x0000003fu) {
// string name = 1;
if (cached_has_bits & 0x00000001u) {
if (!this_._internal_name().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this_._internal_name());
}
}
// string request_type_url = 2;
if (cached_has_bits & 0x00000002u) {
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 (cached_has_bits & 0x00000004u) {
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 (cached_has_bits & 0x00000008u) {
if (this_._internal_request_streaming() != 0) {
total_size += 2;
}
}
// bool response_streaming = 5;
if (cached_has_bits & 0x00000010u) {
if (this_._internal_response_streaming() != 0) {
total_size += 2;
}
}
// .google.protobuf.Syntax syntax = 7;
if (cached_has_bits & 0x00000020u) {
if (this_._internal_syntax() != 0) {
total_size += 1 +
::_pbi::WireFormatLite::EnumSize(this_._internal_syntax());
}
}
}
return this_.MaybeComputeUnknownFieldsSize(total_size,
&this_._impl_._cached_size_);
}
// @@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);
}
}
}
cached_has_bits = this_._impl_._has_bits_[0];
if (cached_has_bits & 0x0000003fu) {
// string name = 1;
if (cached_has_bits & 0x00000001u) {
if (!this_._internal_name().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this_._internal_name());
}
}
// string request_type_url = 2;
if (cached_has_bits & 0x00000002u) {
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 (cached_has_bits & 0x00000004u) {
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 (cached_has_bits & 0x00000008u) {
if (this_._internal_request_streaming() != 0) {
total_size += 2;
}
}
// bool response_streaming = 5;
if (cached_has_bits & 0x00000010u) {
if (this_._internal_response_streaming() != 0) {
total_size += 2;
}
}
// .google.protobuf.Syntax syntax = 7;
if (cached_has_bits & 0x00000020u) {
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);
@ -1429,84 +1429,84 @@ PROTOBUF_NOINLINE void Mixin::Clear() {
}
#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);
::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;
::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_._impl_._has_bits_[0] & 0x00000001u) != 0) {
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_._impl_._has_bits_[0] & 0x00000002u) != 0) {
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 (ABSL_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;
}
// @@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_._impl_._has_bits_[0] & 0x00000001u) != 0) {
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_._impl_._has_bits_[0] & 0x00000002u) != 0) {
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 (ABSL_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;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t Mixin::ByteSizeLong(const MessageLite& base) {
const Mixin& this_ = static_cast<const Mixin&>(base);
::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;
::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_);
cached_has_bits = this_._impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
// string name = 1;
if (cached_has_bits & 0x00000001u) {
if (!this_._internal_name().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this_._internal_name());
}
}
// string root = 2;
if (cached_has_bits & 0x00000002u) {
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_);
}
// @@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_);
cached_has_bits = this_._impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
// string name = 1;
if (cached_has_bits & 0x00000001u) {
if (!this_._internal_name().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this_._internal_name());
}
}
// string root = 2;
if (cached_has_bits & 0x00000002u) {
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);

@ -264,82 +264,82 @@ PROTOBUF_NOINLINE void Duration::Clear() {
}
#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);
::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;
::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;
// @@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_._impl_._has_bits_[0] & 0x00000001u) != 0) {
if (this_._internal_seconds() != 0) {
target = ::google::protobuf::internal::WireFormatLite::
WriteInt64ToArrayWithField<1>(
stream, this_._internal_seconds(), target);
}
}
// int64 seconds = 1;
if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) {
if (this_._internal_seconds() != 0) {
target = ::google::protobuf::internal::WireFormatLite::
WriteInt64ToArrayWithField<1>(
stream, this_._internal_seconds(), target);
}
}
// int32 nanos = 2;
if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) {
if (this_._internal_nanos() != 0) {
target = ::google::protobuf::internal::WireFormatLite::
WriteInt32ToArrayWithField<2>(
stream, this_._internal_nanos(), target);
}
}
// int32 nanos = 2;
if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) {
if (this_._internal_nanos() != 0) {
target = ::google::protobuf::internal::WireFormatLite::
WriteInt32ToArrayWithField<2>(
stream, this_._internal_nanos(), target);
}
}
if (ABSL_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;
}
if (ABSL_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;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t Duration::ByteSizeLong(const MessageLite& base) {
const Duration& this_ = static_cast<const Duration&>(base);
::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;
::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;
// @@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(&this_);
cached_has_bits = this_._impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
// int64 seconds = 1;
if (cached_has_bits & 0x00000001u) {
if (this_._internal_seconds() != 0) {
total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
this_._internal_seconds());
}
}
// int32 nanos = 2;
if (cached_has_bits & 0x00000002u) {
if (this_._internal_nanos() != 0) {
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
this_._internal_nanos());
}
}
}
return this_.MaybeComputeUnknownFieldsSize(total_size,
&this_._impl_._cached_size_);
}
::_pbi::Prefetch5LinesFrom7Lines(&this_);
cached_has_bits = this_._impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
// int64 seconds = 1;
if (cached_has_bits & 0x00000001u) {
if (this_._internal_seconds() != 0) {
total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
this_._internal_seconds());
}
}
// int32 nanos = 2;
if (cached_has_bits & 0x00000002u) {
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);

@ -265,66 +265,66 @@ PROTOBUF_NOINLINE void FieldMask::Clear() {
}
#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);
::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;
::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;
// @@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 (ABSL_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;
}
if (ABSL_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;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t FieldMask::ByteSizeLong(const MessageLite& base) {
const FieldMask& this_ = static_cast<const FieldMask&>(base);
::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;
::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;
// @@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(&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_);
}
::_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);

@ -266,66 +266,66 @@ PROTOBUF_NOINLINE void SourceContext::Clear() {
}
#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);
::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;
::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;
// @@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_._impl_._has_bits_[0] & 0x00000001u) != 0) {
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_._impl_._has_bits_[0] & 0x00000001u) != 0) {
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 (ABSL_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;
}
if (ABSL_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;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t SourceContext::ByteSizeLong(const MessageLite& base) {
const SourceContext& this_ = static_cast<const SourceContext&>(base);
::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;
::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;
// @@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;
cached_has_bits = this_._impl_._has_bits_[0];
if (cached_has_bits & 0x00000001u) {
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_);
}
{
// string file_name = 1;
cached_has_bits = this_._impl_._has_bits_[0];
if (cached_has_bits & 0x00000001u) {
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);

@ -238,57 +238,57 @@ bool NullValue_IsValid(int value) {
// ===================================================================
#if defined(PROTOBUF_CUSTOM_VTABLE)
Struct_FieldsEntry_DoNotUse::Struct_FieldsEntry_DoNotUse()
: SuperType(Struct_FieldsEntry_DoNotUse_class_data_.base()) {}
Struct_FieldsEntry_DoNotUse::Struct_FieldsEntry_DoNotUse(::google::protobuf::Arena* arena)
: SuperType(arena, Struct_FieldsEntry_DoNotUse_class_data_.base()) {}
Struct_FieldsEntry_DoNotUse::Struct_FieldsEntry_DoNotUse()
: SuperType(Struct_FieldsEntry_DoNotUse_class_data_.base()) {}
Struct_FieldsEntry_DoNotUse::Struct_FieldsEntry_DoNotUse(::google::protobuf::Arena* arena)
: SuperType(arena, Struct_FieldsEntry_DoNotUse_class_data_.base()) {}
#else // PROTOBUF_CUSTOM_VTABLE
Struct_FieldsEntry_DoNotUse::Struct_FieldsEntry_DoNotUse() : SuperType() {}
Struct_FieldsEntry_DoNotUse::Struct_FieldsEntry_DoNotUse(::google::protobuf::Arena* arena) : SuperType(arena) {}
Struct_FieldsEntry_DoNotUse::Struct_FieldsEntry_DoNotUse() : SuperType() {}
Struct_FieldsEntry_DoNotUse::Struct_FieldsEntry_DoNotUse(::google::protobuf::Arena* arena) : SuperType(arena) {}
#endif // PROTOBUF_CUSTOM_VTABLE
inline void* Struct_FieldsEntry_DoNotUse::PlacementNew_(const void*, void* mem,
::google::protobuf::Arena* arena) {
return ::new (mem) Struct_FieldsEntry_DoNotUse(arena);
}
constexpr auto Struct_FieldsEntry_DoNotUse::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Struct_FieldsEntry_DoNotUse),
alignof(Struct_FieldsEntry_DoNotUse));
}
constexpr auto Struct_FieldsEntry_DoNotUse::InternalGenerateClassData_() {
return ::google::protobuf::internal::ClassDataFull{
::google::protobuf::internal::ClassData{
&_Struct_FieldsEntry_DoNotUse_default_instance_._instance,
&_table_.header,
nullptr, // OnDemandRegisterArenaDtor
nullptr, // IsInitialized
&Struct_FieldsEntry_DoNotUse::MergeImpl,
::google::protobuf::Message::GetNewImpl<Struct_FieldsEntry_DoNotUse>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
&Struct_FieldsEntry_DoNotUse::SharedDtor,
static_cast<void (::google::protobuf::MessageLite::*)()>(
&Struct_FieldsEntry_DoNotUse::ClearImpl),
::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl
,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(Struct_FieldsEntry_DoNotUse, _impl_._cached_size_),
false,
},
&Struct_FieldsEntry_DoNotUse::kDescriptorMethods,
&descriptor_table_google_2fprotobuf_2fstruct_2eproto,
nullptr, // tracker
};
}
PROTOBUF_CONSTINIT PROTOBUF_EXPORT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull
Struct_FieldsEntry_DoNotUse_class_data_ =
Struct_FieldsEntry_DoNotUse::InternalGenerateClassData_();
const ::google::protobuf::internal::ClassData* Struct_FieldsEntry_DoNotUse::GetClassData() const {
::google::protobuf::internal::PrefetchToLocalCache(&Struct_FieldsEntry_DoNotUse_class_data_);
::google::protobuf::internal::PrefetchToLocalCache(Struct_FieldsEntry_DoNotUse_class_data_.tc_table);
return Struct_FieldsEntry_DoNotUse_class_data_.base();
}
inline void* Struct_FieldsEntry_DoNotUse::PlacementNew_(const void*, void* mem,
::google::protobuf::Arena* arena) {
return ::new (mem) Struct_FieldsEntry_DoNotUse(arena);
}
constexpr auto Struct_FieldsEntry_DoNotUse::InternalNewImpl_() {
return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Struct_FieldsEntry_DoNotUse),
alignof(Struct_FieldsEntry_DoNotUse));
}
constexpr auto Struct_FieldsEntry_DoNotUse::InternalGenerateClassData_() {
return ::google::protobuf::internal::ClassDataFull{
::google::protobuf::internal::ClassData{
&_Struct_FieldsEntry_DoNotUse_default_instance_._instance,
&_table_.header,
nullptr, // OnDemandRegisterArenaDtor
nullptr, // IsInitialized
&Struct_FieldsEntry_DoNotUse::MergeImpl,
::google::protobuf::Message::GetNewImpl<Struct_FieldsEntry_DoNotUse>(),
#if defined(PROTOBUF_CUSTOM_VTABLE)
&Struct_FieldsEntry_DoNotUse::SharedDtor,
static_cast<void (::google::protobuf::MessageLite::*)()>(
&Struct_FieldsEntry_DoNotUse::ClearImpl),
::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl
,
#endif // PROTOBUF_CUSTOM_VTABLE
PROTOBUF_FIELD_OFFSET(Struct_FieldsEntry_DoNotUse, _impl_._cached_size_),
false,
},
&Struct_FieldsEntry_DoNotUse::kDescriptorMethods,
&descriptor_table_google_2fprotobuf_2fstruct_2eproto,
nullptr, // tracker
};
}
PROTOBUF_CONSTINIT PROTOBUF_EXPORT
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const ::google::protobuf::internal::ClassDataFull
Struct_FieldsEntry_DoNotUse_class_data_ =
Struct_FieldsEntry_DoNotUse::InternalGenerateClassData_();
const ::google::protobuf::internal::ClassData* Struct_FieldsEntry_DoNotUse::GetClassData() const {
::google::protobuf::internal::PrefetchToLocalCache(&Struct_FieldsEntry_DoNotUse_class_data_);
::google::protobuf::internal::PrefetchToLocalCache(Struct_FieldsEntry_DoNotUse_class_data_.tc_table);
return Struct_FieldsEntry_DoNotUse_class_data_.base();
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<1, 2, 1, 46, 2> Struct_FieldsEntry_DoNotUse::_table_ = {
{
@ -497,86 +497,86 @@ PROTOBUF_NOINLINE void Struct::Clear() {
}
#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);
::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;
::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()),
// @@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 (ABSL_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;
}
}
}
}
if (ABSL_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;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t Struct::ByteSizeLong(const MessageLite& base) {
const Struct& this_ = static_cast<const Struct&>(base);
::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;
::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_);
}
// @@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);
@ -867,126 +867,126 @@ PROTOBUF_NOINLINE void Value::Clear() {
}
#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);
::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;
::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 (ABSL_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;
}
// @@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 (ABSL_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;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t Value::ByteSizeLong(const MessageLite& base) {
const Value& this_ = static_cast<const Value&>(base);
::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;
::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_);
}
// @@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);
@ -1224,67 +1224,67 @@ PROTOBUF_NOINLINE void ListValue::Clear() {
}
#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);
::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;
::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 (ABSL_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;
}
// @@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 (ABSL_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;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t ListValue::ByteSizeLong(const MessageLite& base) {
const ListValue& this_ = static_cast<const ListValue&>(base);
::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;
::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_);
}
// @@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);

@ -264,82 +264,82 @@ PROTOBUF_NOINLINE void Timestamp::Clear() {
}
#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);
::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;
::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;
// @@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_._impl_._has_bits_[0] & 0x00000001u) != 0) {
if (this_._internal_seconds() != 0) {
target = ::google::protobuf::internal::WireFormatLite::
WriteInt64ToArrayWithField<1>(
stream, this_._internal_seconds(), target);
}
}
// int64 seconds = 1;
if ((this_._impl_._has_bits_[0] & 0x00000001u) != 0) {
if (this_._internal_seconds() != 0) {
target = ::google::protobuf::internal::WireFormatLite::
WriteInt64ToArrayWithField<1>(
stream, this_._internal_seconds(), target);
}
}
// int32 nanos = 2;
if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) {
if (this_._internal_nanos() != 0) {
target = ::google::protobuf::internal::WireFormatLite::
WriteInt32ToArrayWithField<2>(
stream, this_._internal_nanos(), target);
}
}
// int32 nanos = 2;
if ((this_._impl_._has_bits_[0] & 0x00000002u) != 0) {
if (this_._internal_nanos() != 0) {
target = ::google::protobuf::internal::WireFormatLite::
WriteInt32ToArrayWithField<2>(
stream, this_._internal_nanos(), target);
}
}
if (ABSL_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;
}
if (ABSL_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;
}
#if defined(PROTOBUF_CUSTOM_VTABLE)
::size_t Timestamp::ByteSizeLong(const MessageLite& base) {
const Timestamp& this_ = static_cast<const Timestamp&>(base);
::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;
::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;
// @@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(&this_);
cached_has_bits = this_._impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
// int64 seconds = 1;
if (cached_has_bits & 0x00000001u) {
if (this_._internal_seconds() != 0) {
total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
this_._internal_seconds());
}
}
// int32 nanos = 2;
if (cached_has_bits & 0x00000002u) {
if (this_._internal_nanos() != 0) {
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
this_._internal_nanos());
}
}
}
return this_.MaybeComputeUnknownFieldsSize(total_size,
&this_._impl_._cached_size_);
}
::_pbi::Prefetch5LinesFrom7Lines(&this_);
cached_has_bits = this_._impl_._has_bits_[0];
if (cached_has_bits & 0x00000003u) {
// int64 seconds = 1;
if (cached_has_bits & 0x00000001u) {
if (this_._internal_seconds() != 0) {
total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
this_._internal_seconds());
}
}
// int32 nanos = 2;
if (cached_has_bits & 0x00000002u) {
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);

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save