Auto-generate files after cl/627204923

pull/16602/head
Protobuf Team Bot 7 months ago
parent a9e0480768
commit b618f6750a
  1. 29
      src/google/protobuf/any.pb.cc
  2. 199
      src/google/protobuf/api.pb.cc
  3. 29
      src/google/protobuf/duration.pb.cc
  4. 21
      src/google/protobuf/field_mask.pb.cc
  5. 15
      src/google/protobuf/source_context.pb.cc
  6. 46
      src/google/protobuf/struct.pb.cc
  7. 29
      src/google/protobuf/timestamp.pb.cc
  8. 356
      src/google/protobuf/type.pb.cc
  9. 129
      src/google/protobuf/wrappers.pb.cc

@ -280,26 +280,27 @@ PROTOBUF_NOINLINE void Any::Clear() {
}
::size_t Any::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Any)
// @@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;
::_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());
}
(void)cached_has_bits;
// bytes value = 2;
if (!this->_internal_value().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
this->_internal_value());
::_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_);
}

@ -508,54 +508,65 @@ PROTOBUF_NOINLINE void Api::Clear() {
}
::size_t Api::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Api)
// @@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;
(void)cached_has_bits;
::_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());
::_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 version = 4;
if (!this->_internal_version().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this->_internal_version());
{
// 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.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());
{
// .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_);
}
@ -888,53 +899,54 @@ PROTOBUF_NOINLINE void Method::Clear() {
}
::size_t Method::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Method)
// @@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(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;
}
(void)cached_has_bits;
// bool response_streaming = 5;
if (this->_internal_response_streaming() != 0) {
total_size += 2;
::_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);
}
}
}
// .google.protobuf.Syntax syntax = 7;
if (this->_internal_syntax() != 0) {
total_size += 1 +
::_pbi::WireFormatLite::EnumSize(this->_internal_syntax());
{
// 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_);
}
@ -1159,26 +1171,27 @@ PROTOBUF_NOINLINE void Mixin::Clear() {
}
::size_t Mixin::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Mixin)
// @@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(reinterpret_cast<const void*>(this));
// string name = 1;
if (!this->_internal_name().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this->_internal_name());
}
(void)cached_has_bits;
// string root = 2;
if (!this->_internal_root().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this->_internal_root());
::_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_);
}

@ -245,26 +245,27 @@ PROTOBUF_NOINLINE void Duration::Clear() {
}
::size_t Duration::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Duration)
// @@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;
::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast<const void*>(this));
// int64 seconds = 1;
if (this->_internal_seconds() != 0) {
total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
this->_internal_seconds());
}
(void)cached_has_bits;
// int32 nanos = 2;
if (this->_internal_nanos() != 0) {
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
this->_internal_nanos());
::_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_);
}

@ -240,19 +240,24 @@ PROTOBUF_NOINLINE void FieldMask::Clear() {
}
::size_t FieldMask::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.FieldMask)
// @@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;
(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));
::_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_);
}

@ -243,19 +243,20 @@ PROTOBUF_NOINLINE void SourceContext::Clear() {
}
::size_t SourceContext::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.SourceContext)
// @@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;
(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());
{
// 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_);
}

@ -396,20 +396,25 @@ PROTOBUF_NOINLINE void Struct::Clear() {
}
::size_t Struct::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Struct)
// @@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;
(void)cached_has_bits;
::_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);
::_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_);
}
@ -729,12 +734,12 @@ PROTOBUF_NOINLINE void Value::Clear() {
}
::size_t Value::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Value)
// @@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;
(void)cached_has_bits;
switch (kind_case()) {
// .google.protobuf.NullValue null_value = 1;
@ -1002,18 +1007,23 @@ PROTOBUF_NOINLINE void ListValue::Clear() {
}
::size_t ListValue::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.ListValue)
// @@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;
(void)cached_has_bits;
::_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);
::_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_);
}

@ -245,26 +245,27 @@ PROTOBUF_NOINLINE void Timestamp::Clear() {
}
::size_t Timestamp::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Timestamp)
// @@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;
::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast<const void*>(this));
// int64 seconds = 1;
if (this->_internal_seconds() != 0) {
total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
this->_internal_seconds());
}
(void)cached_has_bits;
// int32 nanos = 2;
if (this->_internal_nanos() != 0) {
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
this->_internal_nanos());
::_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_);
}

@ -685,55 +685,66 @@ PROTOBUF_NOINLINE void Type::Clear() {
}
::size_t Type::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Type)
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Type)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
(void)cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast<const void*>(this));
// repeated .google.protobuf.Field fields = 2;
total_size += 1UL * this->_internal_fields_size();
for (const auto& msg : this->_internal_fields()) {
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
}
// repeated string oneofs = 3;
total_size += 1 * ::google::protobuf::internal::FromIntSize(_internal_oneofs().size());
for (int i = 0, n = _internal_oneofs().size(); i < n; ++i) {
total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
_internal_oneofs().Get(i));
}
// repeated .google.protobuf.Option options = 4;
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());
::_pbi::Prefetch5LinesFrom7Lines(
reinterpret_cast<const void*>(this));
{
// repeated .google.protobuf.Field fields = 2;
{
total_size += 1UL * this->_internal_fields_size();
for (const auto& msg : this->_internal_fields()) {
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
}
}
// repeated string oneofs = 3;
{
total_size += 1 * ::google::protobuf::internal::FromIntSize(_internal_oneofs().size());
for (int i = 0, n = _internal_oneofs().size(); i < n; ++i) {
total_size += ::google::protobuf::internal::WireFormatLite::StringSize(
_internal_oneofs().Get(i));
}
}
// repeated .google.protobuf.Option options = 4;
{
total_size += 1UL * this->_internal_options_size();
for (const auto& msg : this->_internal_options()) {
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
}
}
}
// string edition = 7;
if (!this->_internal_edition().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this->_internal_edition());
{
// string name = 1;
if (!this->_internal_name().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this->_internal_name());
}
// string edition = 7;
if (!this->_internal_edition().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this->_internal_edition());
}
}
// .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.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 = 6;
if (this->_internal_syntax() != 0) {
total_size += 1 +
::_pbi::WireFormatLite::EnumSize(this->_internal_syntax());
{
// .google.protobuf.Syntax syntax = 6;
if (this->_internal_syntax() != 0) {
total_size += 1 +
::_pbi::WireFormatLite::EnumSize(this->_internal_syntax());
}
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
@ -1111,72 +1122,70 @@ PROTOBUF_NOINLINE void Field::Clear() {
}
::size_t Field::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Field)
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Field)
::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(reinterpret_cast<const void*>(this));
// repeated .google.protobuf.Option options = 9;
total_size += 1UL * this->_internal_options_size();
for (const auto& msg : this->_internal_options()) {
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
}
// string name = 4;
if (!this->_internal_name().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this->_internal_name());
}
// string type_url = 6;
if (!this->_internal_type_url().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this->_internal_type_url());
}
// string json_name = 10;
if (!this->_internal_json_name().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this->_internal_json_name());
}
// string default_value = 11;
if (!this->_internal_default_value().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this->_internal_default_value());
}
// .google.protobuf.Field.Kind kind = 1;
if (this->_internal_kind() != 0) {
total_size += 1 +
::_pbi::WireFormatLite::EnumSize(this->_internal_kind());
}
// .google.protobuf.Field.Cardinality cardinality = 2;
if (this->_internal_cardinality() != 0) {
total_size += 1 +
::_pbi::WireFormatLite::EnumSize(this->_internal_cardinality());
}
// int32 number = 3;
if (this->_internal_number() != 0) {
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
this->_internal_number());
}
(void)cached_has_bits;
// int32 oneof_index = 7;
if (this->_internal_oneof_index() != 0) {
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
this->_internal_oneof_index());
::_pbi::Prefetch5LinesFrom7Lines(
reinterpret_cast<const void*>(this));
{
// repeated .google.protobuf.Option options = 9;
{
total_size += 1UL * this->_internal_options_size();
for (const auto& msg : this->_internal_options()) {
total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
}
}
}
// bool packed = 8;
if (this->_internal_packed() != 0) {
total_size += 2;
{
// string name = 4;
if (!this->_internal_name().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this->_internal_name());
}
// string type_url = 6;
if (!this->_internal_type_url().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this->_internal_type_url());
}
// string json_name = 10;
if (!this->_internal_json_name().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this->_internal_json_name());
}
// string default_value = 11;
if (!this->_internal_default_value().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this->_internal_default_value());
}
// .google.protobuf.Field.Kind kind = 1;
if (this->_internal_kind() != 0) {
total_size += 1 +
::_pbi::WireFormatLite::EnumSize(this->_internal_kind());
}
// .google.protobuf.Field.Cardinality cardinality = 2;
if (this->_internal_cardinality() != 0) {
total_size += 1 +
::_pbi::WireFormatLite::EnumSize(this->_internal_cardinality());
}
// int32 number = 3;
if (this->_internal_number() != 0) {
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
this->_internal_number());
}
// int32 oneof_index = 7;
if (this->_internal_oneof_index() != 0) {
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
this->_internal_oneof_index());
}
// bool packed = 8;
if (this->_internal_packed() != 0) {
total_size += 2;
}
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
@ -1510,49 +1519,58 @@ PROTOBUF_NOINLINE void Enum::Clear() {
}
::size_t Enum::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Enum)
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Enum)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
(void)cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast<const void*>(this));
// repeated .google.protobuf.EnumValue enumvalue = 2;
total_size += 1UL * this->_internal_enumvalue_size();
for (const auto& msg : this->_internal_enumvalue()) {
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);
}
// string name = 1;
if (!this->_internal_name().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this->_internal_name());
::_pbi::Prefetch5LinesFrom7Lines(
reinterpret_cast<const void*>(this));
{
// repeated .google.protobuf.EnumValue enumvalue = 2;
{
total_size += 1UL * this->_internal_enumvalue_size();
for (const auto& msg : this->_internal_enumvalue()) {
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);
}
}
}
// string edition = 6;
if (!this->_internal_edition().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this->_internal_edition());
{
// string name = 1;
if (!this->_internal_name().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this->_internal_name());
}
// string edition = 6;
if (!this->_internal_edition().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this->_internal_edition());
}
}
// .google.protobuf.SourceContext source_context = 4;
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.SourceContext source_context = 4;
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 = 5;
if (this->_internal_syntax() != 0) {
total_size += 1 +
::_pbi::WireFormatLite::EnumSize(this->_internal_syntax());
{
// .google.protobuf.Syntax syntax = 5;
if (this->_internal_syntax() != 0) {
total_size += 1 +
::_pbi::WireFormatLite::EnumSize(this->_internal_syntax());
}
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
@ -1801,31 +1819,36 @@ PROTOBUF_NOINLINE void EnumValue::Clear() {
}
::size_t EnumValue::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.EnumValue)
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.EnumValue)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
(void)cached_has_bits;
::_pbi::Prefetch5LinesFrom7Lines(reinterpret_cast<const void*>(this));
// 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);
}
// string name = 1;
if (!this->_internal_name().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this->_internal_name());
::_pbi::Prefetch5LinesFrom7Lines(
reinterpret_cast<const void*>(this));
{
// 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);
}
}
}
// int32 number = 2;
if (this->_internal_number() != 0) {
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
this->_internal_number());
{
// string name = 1;
if (!this->_internal_name().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this->_internal_name());
}
// int32 number = 2;
if (this->_internal_number() != 0) {
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
this->_internal_number());
}
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
@ -2047,27 +2070,30 @@ PROTOBUF_NOINLINE void Option::Clear() {
}
::size_t Option::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Option)
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Option)
::size_t total_size = 0;
::uint32_t cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
(void)cached_has_bits;
::_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());
::_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());
}
}
// .google.protobuf.Any value = 2;
cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000001u) {
total_size +=
1 + ::google::protobuf::internal::WireFormatLite::MessageSize(*_impl_.value_);
{
// .google.protobuf.Any value = 2;
cached_has_bits = _impl_._has_bits_[0];
if (cached_has_bits & 0x00000001u) {
total_size +=
1 + ::google::protobuf::internal::WireFormatLite::MessageSize(*_impl_.value_);
}
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}

@ -473,18 +473,19 @@ PROTOBUF_NOINLINE void DoubleValue::Clear() {
}
::size_t DoubleValue::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.DoubleValue)
// @@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;
(void)cached_has_bits;
// double value = 1;
if (::absl::bit_cast<::uint64_t>(this->_internal_value()) != 0) {
total_size += 9;
{
// double value = 1;
if (::absl::bit_cast<::uint64_t>(this->_internal_value()) != 0) {
total_size += 9;
}
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
@ -644,18 +645,19 @@ PROTOBUF_NOINLINE void FloatValue::Clear() {
}
::size_t FloatValue::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.FloatValue)
// @@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;
(void)cached_has_bits;
// float value = 1;
if (::absl::bit_cast<::uint32_t>(this->_internal_value()) != 0) {
total_size += 5;
{
// float value = 1;
if (::absl::bit_cast<::uint32_t>(this->_internal_value()) != 0) {
total_size += 5;
}
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
@ -815,19 +817,20 @@ PROTOBUF_NOINLINE void Int64Value::Clear() {
}
::size_t Int64Value::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Int64Value)
// @@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;
(void)cached_has_bits;
// int64 value = 1;
if (this->_internal_value() != 0) {
total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
this->_internal_value());
{
// int64 value = 1;
if (this->_internal_value() != 0) {
total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
this->_internal_value());
}
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
@ -987,19 +990,20 @@ PROTOBUF_NOINLINE void UInt64Value::Clear() {
}
::size_t UInt64Value::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.UInt64Value)
// @@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;
(void)cached_has_bits;
// uint64 value = 1;
if (this->_internal_value() != 0) {
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
this->_internal_value());
{
// uint64 value = 1;
if (this->_internal_value() != 0) {
total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(
this->_internal_value());
}
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
@ -1159,19 +1163,20 @@ PROTOBUF_NOINLINE void Int32Value::Clear() {
}
::size_t Int32Value::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.Int32Value)
// @@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;
(void)cached_has_bits;
// int32 value = 1;
if (this->_internal_value() != 0) {
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
this->_internal_value());
{
// int32 value = 1;
if (this->_internal_value() != 0) {
total_size += ::_pbi::WireFormatLite::Int32SizePlusOne(
this->_internal_value());
}
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
@ -1331,19 +1336,20 @@ PROTOBUF_NOINLINE void UInt32Value::Clear() {
}
::size_t UInt32Value::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.UInt32Value)
// @@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;
(void)cached_has_bits;
// uint32 value = 1;
if (this->_internal_value() != 0) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
this->_internal_value());
{
// uint32 value = 1;
if (this->_internal_value() != 0) {
total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
this->_internal_value());
}
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
@ -1503,18 +1509,19 @@ PROTOBUF_NOINLINE void BoolValue::Clear() {
}
::size_t BoolValue::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.BoolValue)
// @@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;
(void)cached_has_bits;
// bool value = 1;
if (this->_internal_value() != 0) {
total_size += 2;
{
// bool value = 1;
if (this->_internal_value() != 0) {
total_size += 2;
}
}
return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
}
@ -1692,19 +1699,20 @@ PROTOBUF_NOINLINE void StringValue::Clear() {
}
::size_t StringValue::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.StringValue)
// @@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;
(void)cached_has_bits;
// string value = 1;
if (!this->_internal_value().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
this->_internal_value());
{
// 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_);
}
@ -1879,19 +1887,20 @@ PROTOBUF_NOINLINE void BytesValue::Clear() {
}
::size_t BytesValue::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:google.protobuf.BytesValue)
// @@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;
(void)cached_has_bits;
// bytes value = 1;
if (!this->_internal_value().empty()) {
total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize(
this->_internal_value());
{
// 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_);
}

Loading…
Cancel
Save