Auto-generate files after cl/531505892

pull/12778/head
Protobuf Team Bot 2 years ago
parent 246c9de76c
commit a52eb77fdd
  1. 92
      src/google/protobuf/any.pb.cc
  2. 3
      src/google/protobuf/any.pb.h
  3. 460
      src/google/protobuf/api.pb.cc
  4. 7
      src/google/protobuf/api.pb.h
  5. 86
      src/google/protobuf/duration.pb.cc
  6. 3
      src/google/protobuf/duration.pb.h
  7. 2
      src/google/protobuf/empty.pb.cc
  8. 1
      src/google/protobuf/empty.pb.h
  9. 81
      src/google/protobuf/field_mask.pb.cc
  10. 3
      src/google/protobuf/field_mask.pb.h
  11. 76
      src/google/protobuf/source_context.pb.cc
  12. 3
      src/google/protobuf/source_context.pb.h
  13. 286
      src/google/protobuf/struct.pb.cc
  14. 7
      src/google/protobuf/struct.pb.h
  15. 86
      src/google/protobuf/timestamp.pb.cc
  16. 3
      src/google/protobuf/timestamp.pb.h
  17. 794
      src/google/protobuf/type.pb.cc
  18. 11
      src/google/protobuf/type.pb.h
  19. 629
      src/google/protobuf/wrappers.pb.cc
  20. 19
      src/google/protobuf/wrappers.pb.h

@ -11,6 +11,7 @@
#include "google/protobuf/generated_message_reflection.h"
#include "google/protobuf/reflection_ops.h"
#include "google/protobuf/wire_format.h"
#include "google/protobuf/generated_message_tctable_impl.h"
// @@protoc_insertion_point(includes)
// Must be included last.
@ -18,6 +19,7 @@
PROTOBUF_PRAGMA_INIT_SEG
namespace _pb = ::google::protobuf;
namespace _pbi = ::google::protobuf::internal;
namespace _fl = ::google::protobuf::internal::field_layout;
#if defined(__llvm__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wuninitialized"
@ -227,56 +229,52 @@ PROTOBUF_NOINLINE void Any::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
const char* Any::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
while (!ctx->Done(&ptr)) {
::uint32_t tag;
ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// string type_url = 1;
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
auto str = _internal_mutable_type_url();
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
CHK_(::_pbi::VerifyUTF8(str, "google.protobuf.Any.type_url"));
} else {
goto handle_unusual;
}
continue;
// bytes value = 2;
case 2:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
auto str = _internal_mutable_value();
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else {
goto handle_unusual;
}
continue;
default:
goto handle_unusual;
} // switch
handle_unusual:
if ((tag == 0) || ((tag & 7) == 4)) {
CHK_(ptr);
ctx->SetLastTag(tag);
goto message_done;
}
ptr = UnknownFieldParse(
tag,
_internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(),
ptr, ctx);
CHK_(ptr != nullptr);
} // while
message_done:
const char* Any::_InternalParse(
const char* ptr, ::_pbi::ParseContext* ctx) {
ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
return ptr;
failure:
ptr = nullptr;
goto message_done;
#undef CHK_
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<1, 2, 0, 36, 2> Any::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
2, 8, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967292, // skipmap
offsetof(decltype(_table_), field_entries),
2, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
&_Any_default_instance_._instance,
::_pbi::TcParser::GenericFallback, // fallback
}, {{
// bytes value = 2;
{::_pbi::TcParser::FastBS1,
{18, 63, 0, PROTOBUF_FIELD_OFFSET(Any, _impl_.value_)}},
// string type_url = 1;
{::_pbi::TcParser::FastUS1,
{10, 63, 0, PROTOBUF_FIELD_OFFSET(Any, _impl_.type_url_)}},
}}, {{
65535, 65535
}}, {{
// string type_url = 1;
{PROTOBUF_FIELD_OFFSET(Any, _impl_.type_url_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
// bytes value = 2;
{PROTOBUF_FIELD_OFFSET(Any, _impl_.value_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)},
}},
// no aux_entries
{{
"\23\10\0\0\0\0\0\0"
"google.protobuf.Any"
"type_url"
}},
};
::uint8_t* Any::_InternalSerialize(
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Any)

@ -24,6 +24,7 @@
#include "google/protobuf/io/coded_stream.h"
#include "google/protobuf/arena.h"
#include "google/protobuf/arenastring.h"
#include "google/protobuf/generated_message_tctable_decl.h"
#include "google/protobuf/generated_message_util.h"
#include "google/protobuf/metadata_lite.h"
#include "google/protobuf/generated_message_reflection.h"
@ -271,6 +272,8 @@ class PROTOBUF_EXPORT Any final :
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<1, 2, 0, 36, 2> _table_;
template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;

@ -11,6 +11,7 @@
#include "google/protobuf/generated_message_reflection.h"
#include "google/protobuf/reflection_ops.h"
#include "google/protobuf/wire_format.h"
#include "google/protobuf/generated_message_tctable_impl.h"
// @@protoc_insertion_point(includes)
// Must be included last.
@ -18,6 +19,7 @@
PROTOBUF_PRAGMA_INIT_SEG
namespace _pb = ::google::protobuf;
namespace _pbi = ::google::protobuf::internal;
namespace _fl = ::google::protobuf::internal::field_layout;
namespace google {
namespace protobuf {
PROTOBUF_CONSTEXPR Api::Api(::_pbi::ConstantInitialized)
@ -365,120 +367,87 @@ PROTOBUF_NOINLINE void Api::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
const char* Api::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
::uint32_t tag;
ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// string name = 1;
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
auto str = _internal_mutable_name();
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
CHK_(::_pbi::VerifyUTF8(str, "google.protobuf.Api.name"));
} else {
goto handle_unusual;
}
continue;
// repeated .google.protobuf.Method methods = 2;
case 2:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
ptr -= 1;
do {
ptr += 1;
ptr = ctx->ParseMessage(_internal_mutable_methods()->Add(), ptr);
CHK_(ptr);
if (!ctx->DataAvailable(ptr)) break;
} while (::google::protobuf::internal::ExpectTag<18>(ptr));
} else {
goto handle_unusual;
}
continue;
// repeated .google.protobuf.Option options = 3;
case 3:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) {
ptr -= 1;
do {
ptr += 1;
ptr = ctx->ParseMessage(_internal_mutable_options()->Add(), ptr);
CHK_(ptr);
if (!ctx->DataAvailable(ptr)) break;
} while (::google::protobuf::internal::ExpectTag<26>(ptr));
} else {
goto handle_unusual;
}
continue;
// string version = 4;
case 4:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) {
auto str = _internal_mutable_version();
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
CHK_(::_pbi::VerifyUTF8(str, "google.protobuf.Api.version"));
} else {
goto handle_unusual;
}
continue;
// .google.protobuf.SourceContext source_context = 5;
case 5:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 42)) {
ptr = ctx->ParseMessage(_internal_mutable_source_context(), ptr);
CHK_(ptr);
} else {
goto handle_unusual;
}
continue;
// repeated .google.protobuf.Mixin mixins = 6;
case 6:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 50)) {
ptr -= 1;
do {
ptr += 1;
ptr = ctx->ParseMessage(_internal_mutable_mixins()->Add(), ptr);
CHK_(ptr);
if (!ctx->DataAvailable(ptr)) break;
} while (::google::protobuf::internal::ExpectTag<50>(ptr));
} else {
goto handle_unusual;
}
continue;
// .google.protobuf.Syntax syntax = 7;
case 7:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) {
::int32_t val = ::google::protobuf::internal::ReadVarint32(&ptr);
CHK_(ptr);
_internal_set_syntax(static_cast<::google::protobuf::Syntax>(val));
} else {
goto handle_unusual;
}
continue;
default:
goto handle_unusual;
} // switch
handle_unusual:
if ((tag == 0) || ((tag & 7) == 4)) {
CHK_(ptr);
ctx->SetLastTag(tag);
goto message_done;
}
ptr = UnknownFieldParse(
tag,
_internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(),
ptr, ctx);
CHK_(ptr != nullptr);
} // while
message_done:
_impl_._has_bits_.Or(has_bits);
const char* Api::_InternalParse(
const char* ptr, ::_pbi::ParseContext* ctx) {
ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
return ptr;
failure:
ptr = nullptr;
goto message_done;
#undef CHK_
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<3, 7, 4, 39, 2> Api::_table_ = {
{
PROTOBUF_FIELD_OFFSET(Api, _impl_._has_bits_),
0, // no _extensions_
7, 56, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967168, // skipmap
offsetof(decltype(_table_), field_entries),
7, // num_field_entries
4, // num_aux_entries
offsetof(decltype(_table_), aux_entries),
&_Api_default_instance_._instance,
::_pbi::TcParser::GenericFallback, // fallback
}, {{
{::_pbi::TcParser::MiniParse, {}},
// string name = 1;
{::_pbi::TcParser::FastUS1,
{10, 63, 0, PROTOBUF_FIELD_OFFSET(Api, _impl_.name_)}},
// repeated .google.protobuf.Method methods = 2;
{::_pbi::TcParser::FastMtR1,
{18, 63, 0, PROTOBUF_FIELD_OFFSET(Api, _impl_.methods_)}},
// repeated .google.protobuf.Option options = 3;
{::_pbi::TcParser::FastMtR1,
{26, 63, 1, PROTOBUF_FIELD_OFFSET(Api, _impl_.options_)}},
// string version = 4;
{::_pbi::TcParser::FastUS1,
{34, 63, 0, PROTOBUF_FIELD_OFFSET(Api, _impl_.version_)}},
// .google.protobuf.SourceContext source_context = 5;
{::_pbi::TcParser::FastMtS1,
{42, 0, 2, PROTOBUF_FIELD_OFFSET(Api, _impl_.source_context_)}},
// repeated .google.protobuf.Mixin mixins = 6;
{::_pbi::TcParser::FastMtR1,
{50, 63, 3, PROTOBUF_FIELD_OFFSET(Api, _impl_.mixins_)}},
// .google.protobuf.Syntax syntax = 7;
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Api, _impl_.syntax_), 63>(),
{56, 63, 0, PROTOBUF_FIELD_OFFSET(Api, _impl_.syntax_)}},
}}, {{
65535, 65535
}}, {{
// string name = 1;
{PROTOBUF_FIELD_OFFSET(Api, _impl_.name_), -1, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
// repeated .google.protobuf.Method methods = 2;
{PROTOBUF_FIELD_OFFSET(Api, _impl_.methods_), -1, 0,
(0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
// repeated .google.protobuf.Option options = 3;
{PROTOBUF_FIELD_OFFSET(Api, _impl_.options_), -1, 1,
(0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
// string version = 4;
{PROTOBUF_FIELD_OFFSET(Api, _impl_.version_), -1, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
// .google.protobuf.SourceContext source_context = 5;
{PROTOBUF_FIELD_OFFSET(Api, _impl_.source_context_), _Internal::kHasBitsOffset + 0, 2,
(0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
// repeated .google.protobuf.Mixin mixins = 6;
{PROTOBUF_FIELD_OFFSET(Api, _impl_.mixins_), -1, 3,
(0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
// .google.protobuf.Syntax syntax = 7;
{PROTOBUF_FIELD_OFFSET(Api, _impl_.syntax_), -1, 0,
(0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)},
}}, {{
{::_pbi::TcParser::GetTable<::google::protobuf::Method>()},
{::_pbi::TcParser::GetTable<::google::protobuf::Option>()},
{::_pbi::TcParser::GetTable<::google::protobuf::SourceContext>()},
{::_pbi::TcParser::GetTable<::google::protobuf::Mixin>()},
}}, {{
"\23\4\0\0\7\0\0\0"
"google.protobuf.Api"
"name"
"version"
}},
};
::uint8_t* Api::_InternalSerialize(
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Api)
@ -795,110 +764,85 @@ PROTOBUF_NOINLINE void Method::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
const char* Method::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
while (!ctx->Done(&ptr)) {
::uint32_t tag;
ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// string name = 1;
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
auto str = _internal_mutable_name();
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
CHK_(::_pbi::VerifyUTF8(str, "google.protobuf.Method.name"));
} else {
goto handle_unusual;
}
continue;
// string request_type_url = 2;
case 2:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
auto str = _internal_mutable_request_type_url();
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
CHK_(::_pbi::VerifyUTF8(str, "google.protobuf.Method.request_type_url"));
} else {
goto handle_unusual;
}
continue;
// bool request_streaming = 3;
case 3:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
_impl_.request_streaming_ = ::google::protobuf::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else {
goto handle_unusual;
}
continue;
// string response_type_url = 4;
case 4:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) {
auto str = _internal_mutable_response_type_url();
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
CHK_(::_pbi::VerifyUTF8(str, "google.protobuf.Method.response_type_url"));
} else {
goto handle_unusual;
}
continue;
// bool response_streaming = 5;
case 5:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
_impl_.response_streaming_ = ::google::protobuf::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else {
goto handle_unusual;
}
continue;
// repeated .google.protobuf.Option options = 6;
case 6:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 50)) {
ptr -= 1;
do {
ptr += 1;
ptr = ctx->ParseMessage(_internal_mutable_options()->Add(), ptr);
CHK_(ptr);
if (!ctx->DataAvailable(ptr)) break;
} while (::google::protobuf::internal::ExpectTag<50>(ptr));
} else {
goto handle_unusual;
}
continue;
// .google.protobuf.Syntax syntax = 7;
case 7:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) {
::int32_t val = ::google::protobuf::internal::ReadVarint32(&ptr);
CHK_(ptr);
_internal_set_syntax(static_cast<::google::protobuf::Syntax>(val));
} else {
goto handle_unusual;
}
continue;
default:
goto handle_unusual;
} // switch
handle_unusual:
if ((tag == 0) || ((tag & 7) == 4)) {
CHK_(ptr);
ctx->SetLastTag(tag);
goto message_done;
}
ptr = UnknownFieldParse(
tag,
_internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(),
ptr, ctx);
CHK_(ptr != nullptr);
} // while
message_done:
const char* Method::_InternalParse(
const char* ptr, ::_pbi::ParseContext* ctx) {
ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
return ptr;
failure:
ptr = nullptr;
goto message_done;
#undef CHK_
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<3, 7, 1, 68, 2> Method::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
7, 56, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967168, // skipmap
offsetof(decltype(_table_), field_entries),
7, // num_field_entries
1, // num_aux_entries
offsetof(decltype(_table_), aux_entries),
&_Method_default_instance_._instance,
::_pbi::TcParser::GenericFallback, // fallback
}, {{
{::_pbi::TcParser::MiniParse, {}},
// string name = 1;
{::_pbi::TcParser::FastUS1,
{10, 63, 0, PROTOBUF_FIELD_OFFSET(Method, _impl_.name_)}},
// string request_type_url = 2;
{::_pbi::TcParser::FastUS1,
{18, 63, 0, PROTOBUF_FIELD_OFFSET(Method, _impl_.request_type_url_)}},
// bool request_streaming = 3;
{::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(Method, _impl_.request_streaming_), 63>(),
{24, 63, 0, PROTOBUF_FIELD_OFFSET(Method, _impl_.request_streaming_)}},
// string response_type_url = 4;
{::_pbi::TcParser::FastUS1,
{34, 63, 0, PROTOBUF_FIELD_OFFSET(Method, _impl_.response_type_url_)}},
// bool response_streaming = 5;
{::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(Method, _impl_.response_streaming_), 63>(),
{40, 63, 0, PROTOBUF_FIELD_OFFSET(Method, _impl_.response_streaming_)}},
// repeated .google.protobuf.Option options = 6;
{::_pbi::TcParser::FastMtR1,
{50, 63, 0, PROTOBUF_FIELD_OFFSET(Method, _impl_.options_)}},
// .google.protobuf.Syntax syntax = 7;
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Method, _impl_.syntax_), 63>(),
{56, 63, 0, PROTOBUF_FIELD_OFFSET(Method, _impl_.syntax_)}},
}}, {{
65535, 65535
}}, {{
// string name = 1;
{PROTOBUF_FIELD_OFFSET(Method, _impl_.name_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
// string request_type_url = 2;
{PROTOBUF_FIELD_OFFSET(Method, _impl_.request_type_url_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
// bool request_streaming = 3;
{PROTOBUF_FIELD_OFFSET(Method, _impl_.request_streaming_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kBool)},
// string response_type_url = 4;
{PROTOBUF_FIELD_OFFSET(Method, _impl_.response_type_url_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
// bool response_streaming = 5;
{PROTOBUF_FIELD_OFFSET(Method, _impl_.response_streaming_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kBool)},
// repeated .google.protobuf.Option options = 6;
{PROTOBUF_FIELD_OFFSET(Method, _impl_.options_), 0, 0,
(0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
// .google.protobuf.Syntax syntax = 7;
{PROTOBUF_FIELD_OFFSET(Method, _impl_.syntax_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)},
}}, {{
{::_pbi::TcParser::GetTable<::google::protobuf::Option>()},
}}, {{
"\26\4\20\0\21\0\0\0"
"google.protobuf.Method"
"name"
"request_type_url"
"response_type_url"
}},
};
::uint8_t* Method::_InternalSerialize(
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Method)
@ -1175,57 +1119,53 @@ PROTOBUF_NOINLINE void Mixin::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
const char* Mixin::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
while (!ctx->Done(&ptr)) {
::uint32_t tag;
ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// string name = 1;
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
auto str = _internal_mutable_name();
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
CHK_(::_pbi::VerifyUTF8(str, "google.protobuf.Mixin.name"));
} else {
goto handle_unusual;
}
continue;
// string root = 2;
case 2:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
auto str = _internal_mutable_root();
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
CHK_(::_pbi::VerifyUTF8(str, "google.protobuf.Mixin.root"));
} else {
goto handle_unusual;
}
continue;
default:
goto handle_unusual;
} // switch
handle_unusual:
if ((tag == 0) || ((tag & 7) == 4)) {
CHK_(ptr);
ctx->SetLastTag(tag);
goto message_done;
}
ptr = UnknownFieldParse(
tag,
_internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(),
ptr, ctx);
CHK_(ptr != nullptr);
} // while
message_done:
const char* Mixin::_InternalParse(
const char* ptr, ::_pbi::ParseContext* ctx) {
ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
return ptr;
failure:
ptr = nullptr;
goto message_done;
#undef CHK_
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<1, 2, 0, 38, 2> Mixin::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
2, 8, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967292, // skipmap
offsetof(decltype(_table_), field_entries),
2, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
&_Mixin_default_instance_._instance,
::_pbi::TcParser::GenericFallback, // fallback
}, {{
// string root = 2;
{::_pbi::TcParser::FastUS1,
{18, 63, 0, PROTOBUF_FIELD_OFFSET(Mixin, _impl_.root_)}},
// string name = 1;
{::_pbi::TcParser::FastUS1,
{10, 63, 0, PROTOBUF_FIELD_OFFSET(Mixin, _impl_.name_)}},
}}, {{
65535, 65535
}}, {{
// string name = 1;
{PROTOBUF_FIELD_OFFSET(Mixin, _impl_.name_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
// string root = 2;
{PROTOBUF_FIELD_OFFSET(Mixin, _impl_.root_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
}},
// no aux_entries
{{
"\25\4\4\0\0\0\0\0"
"google.protobuf.Mixin"
"name"
"root"
}},
};
::uint8_t* Mixin::_InternalSerialize(
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Mixin)

@ -24,6 +24,7 @@
#include "google/protobuf/io/coded_stream.h"
#include "google/protobuf/arena.h"
#include "google/protobuf/arenastring.h"
#include "google/protobuf/generated_message_tctable_decl.h"
#include "google/protobuf/generated_message_util.h"
#include "google/protobuf/metadata_lite.h"
#include "google/protobuf/generated_message_reflection.h"
@ -332,6 +333,8 @@ class PROTOBUF_EXPORT Api final :
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<3, 7, 4, 39, 2> _table_;
template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
@ -585,6 +588,8 @@ class PROTOBUF_EXPORT Method final :
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<3, 7, 1, 68, 2> _table_;
template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
@ -768,6 +773,8 @@ class PROTOBUF_EXPORT Mixin final :
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<1, 2, 0, 38, 2> _table_;
template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;

@ -11,6 +11,7 @@
#include "google/protobuf/generated_message_reflection.h"
#include "google/protobuf/reflection_ops.h"
#include "google/protobuf/wire_format.h"
#include "google/protobuf/generated_message_tctable_impl.h"
// @@protoc_insertion_point(includes)
// Must be included last.
@ -18,6 +19,7 @@
PROTOBUF_PRAGMA_INIT_SEG
namespace _pb = ::google::protobuf;
namespace _pbi = ::google::protobuf::internal;
namespace _fl = ::google::protobuf::internal::field_layout;
namespace google {
namespace protobuf {
PROTOBUF_CONSTEXPR Duration::Duration(::_pbi::ConstantInitialized)
@ -165,53 +167,49 @@ PROTOBUF_NOINLINE void Duration::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
const char* Duration::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
while (!ctx->Done(&ptr)) {
::uint32_t tag;
ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// int64 seconds = 1;
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
_impl_.seconds_ = ::google::protobuf::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else {
goto handle_unusual;
}
continue;
// int32 nanos = 2;
case 2:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
_impl_.nanos_ = ::google::protobuf::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else {
goto handle_unusual;
}
continue;
default:
goto handle_unusual;
} // switch
handle_unusual:
if ((tag == 0) || ((tag & 7) == 4)) {
CHK_(ptr);
ctx->SetLastTag(tag);
goto message_done;
}
ptr = UnknownFieldParse(
tag,
_internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(),
ptr, ctx);
CHK_(ptr != nullptr);
} // while
message_done:
const char* Duration::_InternalParse(
const char* ptr, ::_pbi::ParseContext* ctx) {
ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
return ptr;
failure:
ptr = nullptr;
goto message_done;
#undef CHK_
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<1, 2, 0, 0, 2> Duration::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
2, 8, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967292, // skipmap
offsetof(decltype(_table_), field_entries),
2, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
&_Duration_default_instance_._instance,
::_pbi::TcParser::GenericFallback, // fallback
}, {{
// int32 nanos = 2;
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Duration, _impl_.nanos_), 63>(),
{16, 63, 0, PROTOBUF_FIELD_OFFSET(Duration, _impl_.nanos_)}},
// int64 seconds = 1;
{::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(Duration, _impl_.seconds_), 63>(),
{8, 63, 0, PROTOBUF_FIELD_OFFSET(Duration, _impl_.seconds_)}},
}}, {{
65535, 65535
}}, {{
// int64 seconds = 1;
{PROTOBUF_FIELD_OFFSET(Duration, _impl_.seconds_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kInt64)},
// int32 nanos = 2;
{PROTOBUF_FIELD_OFFSET(Duration, _impl_.nanos_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kInt32)},
}},
// no aux_entries
{{
}},
};
::uint8_t* Duration::_InternalSerialize(
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Duration)

@ -24,6 +24,7 @@
#include "google/protobuf/io/coded_stream.h"
#include "google/protobuf/arena.h"
#include "google/protobuf/arenastring.h"
#include "google/protobuf/generated_message_tctable_decl.h"
#include "google/protobuf/generated_message_util.h"
#include "google/protobuf/metadata_lite.h"
#include "google/protobuf/generated_message_reflection.h"
@ -224,6 +225,8 @@ class PROTOBUF_EXPORT Duration final :
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<1, 2, 0, 0, 2> _table_;
template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;

@ -11,6 +11,7 @@
#include "google/protobuf/generated_message_reflection.h"
#include "google/protobuf/reflection_ops.h"
#include "google/protobuf/wire_format.h"
#include "google/protobuf/generated_message_tctable_impl.h"
// @@protoc_insertion_point(includes)
// Must be included last.
@ -18,6 +19,7 @@
PROTOBUF_PRAGMA_INIT_SEG
namespace _pb = ::google::protobuf;
namespace _pbi = ::google::protobuf::internal;
namespace _fl = ::google::protobuf::internal::field_layout;
namespace google {
namespace protobuf {
PROTOBUF_CONSTEXPR Empty::Empty(::_pbi::ConstantInitialized) {}

@ -25,6 +25,7 @@
#include "google/protobuf/arena.h"
#include "google/protobuf/arenastring.h"
#include "google/protobuf/generated_message_bases.h"
#include "google/protobuf/generated_message_tctable_decl.h"
#include "google/protobuf/generated_message_util.h"
#include "google/protobuf/metadata_lite.h"
#include "google/protobuf/generated_message_reflection.h"

@ -11,6 +11,7 @@
#include "google/protobuf/generated_message_reflection.h"
#include "google/protobuf/reflection_ops.h"
#include "google/protobuf/wire_format.h"
#include "google/protobuf/generated_message_tctable_impl.h"
// @@protoc_insertion_point(includes)
// Must be included last.
@ -18,6 +19,7 @@
PROTOBUF_PRAGMA_INIT_SEG
namespace _pb = ::google::protobuf;
namespace _pbi = ::google::protobuf::internal;
namespace _fl = ::google::protobuf::internal::field_layout;
namespace google {
namespace protobuf {
PROTOBUF_CONSTEXPR FieldMask::FieldMask(::_pbi::ConstantInitialized)
@ -167,51 +169,46 @@ PROTOBUF_NOINLINE void FieldMask::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
const char* FieldMask::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
while (!ctx->Done(&ptr)) {
::uint32_t tag;
ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// repeated string paths = 1;
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
ptr -= 1;
do {
ptr += 1;
auto str = _internal_mutable_paths()->Add();
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
CHK_(::_pbi::VerifyUTF8(str, "google.protobuf.FieldMask.paths"));
if (!ctx->DataAvailable(ptr)) break;
} while (::google::protobuf::internal::ExpectTag<10>(ptr));
} else {
goto handle_unusual;
}
continue;
default:
goto handle_unusual;
} // switch
handle_unusual:
if ((tag == 0) || ((tag & 7) == 4)) {
CHK_(ptr);
ctx->SetLastTag(tag);
goto message_done;
}
ptr = UnknownFieldParse(
tag,
_internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(),
ptr, ctx);
CHK_(ptr != nullptr);
} // while
message_done:
const char* FieldMask::_InternalParse(
const char* ptr, ::_pbi::ParseContext* ctx) {
ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
return ptr;
failure:
ptr = nullptr;
goto message_done;
#undef CHK_
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 1, 0, 39, 2> FieldMask::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
1, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967294, // skipmap
offsetof(decltype(_table_), field_entries),
1, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
&_FieldMask_default_instance_._instance,
::_pbi::TcParser::GenericFallback, // fallback
}, {{
// repeated string paths = 1;
{::_pbi::TcParser::FastUR1,
{10, 63, 0, PROTOBUF_FIELD_OFFSET(FieldMask, _impl_.paths_)}},
}}, {{
65535, 65535
}}, {{
// repeated string paths = 1;
{PROTOBUF_FIELD_OFFSET(FieldMask, _impl_.paths_), 0, 0,
(0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)},
}},
// no aux_entries
{{
"\31\5\0\0\0\0\0\0"
"google.protobuf.FieldMask"
"paths"
}},
};
::uint8_t* FieldMask::_InternalSerialize(
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FieldMask)

@ -24,6 +24,7 @@
#include "google/protobuf/io/coded_stream.h"
#include "google/protobuf/arena.h"
#include "google/protobuf/arenastring.h"
#include "google/protobuf/generated_message_tctable_decl.h"
#include "google/protobuf/generated_message_util.h"
#include "google/protobuf/metadata_lite.h"
#include "google/protobuf/generated_message_reflection.h"
@ -231,6 +232,8 @@ class PROTOBUF_EXPORT FieldMask final :
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 1, 0, 39, 2> _table_;
template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;

@ -11,6 +11,7 @@
#include "google/protobuf/generated_message_reflection.h"
#include "google/protobuf/reflection_ops.h"
#include "google/protobuf/wire_format.h"
#include "google/protobuf/generated_message_tctable_impl.h"
// @@protoc_insertion_point(includes)
// Must be included last.
@ -18,6 +19,7 @@
PROTOBUF_PRAGMA_INIT_SEG
namespace _pb = ::google::protobuf;
namespace _pbi = ::google::protobuf::internal;
namespace _fl = ::google::protobuf::internal::field_layout;
namespace google {
namespace protobuf {
PROTOBUF_CONSTEXPR SourceContext::SourceContext(::_pbi::ConstantInitialized)
@ -181,46 +183,46 @@ PROTOBUF_NOINLINE void SourceContext::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
const char* SourceContext::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
while (!ctx->Done(&ptr)) {
::uint32_t tag;
ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// string file_name = 1;
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
auto str = _internal_mutable_file_name();
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
CHK_(::_pbi::VerifyUTF8(str, "google.protobuf.SourceContext.file_name"));
} else {
goto handle_unusual;
}
continue;
default:
goto handle_unusual;
} // switch
handle_unusual:
if ((tag == 0) || ((tag & 7) == 4)) {
CHK_(ptr);
ctx->SetLastTag(tag);
goto message_done;
}
ptr = UnknownFieldParse(
tag,
_internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(),
ptr, ctx);
CHK_(ptr != nullptr);
} // while
message_done:
const char* SourceContext::_InternalParse(
const char* ptr, ::_pbi::ParseContext* ctx) {
ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
return ptr;
failure:
ptr = nullptr;
goto message_done;
#undef CHK_
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 1, 0, 47, 2> SourceContext::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
1, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967294, // skipmap
offsetof(decltype(_table_), field_entries),
1, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
&_SourceContext_default_instance_._instance,
::_pbi::TcParser::GenericFallback, // fallback
}, {{
// string file_name = 1;
{::_pbi::TcParser::FastUS1,
{10, 63, 0, PROTOBUF_FIELD_OFFSET(SourceContext, _impl_.file_name_)}},
}}, {{
65535, 65535
}}, {{
// string file_name = 1;
{PROTOBUF_FIELD_OFFSET(SourceContext, _impl_.file_name_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
}},
// no aux_entries
{{
"\35\11\0\0\0\0\0\0"
"google.protobuf.SourceContext"
"file_name"
}},
};
::uint8_t* SourceContext::_InternalSerialize(
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.SourceContext)

@ -24,6 +24,7 @@
#include "google/protobuf/io/coded_stream.h"
#include "google/protobuf/arena.h"
#include "google/protobuf/arenastring.h"
#include "google/protobuf/generated_message_tctable_decl.h"
#include "google/protobuf/generated_message_util.h"
#include "google/protobuf/metadata_lite.h"
#include "google/protobuf/generated_message_reflection.h"
@ -219,6 +220,8 @@ class PROTOBUF_EXPORT SourceContext final :
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 1, 0, 47, 2> _table_;
template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;

@ -11,6 +11,7 @@
#include "google/protobuf/generated_message_reflection.h"
#include "google/protobuf/reflection_ops.h"
#include "google/protobuf/wire_format.h"
#include "google/protobuf/generated_message_tctable_impl.h"
// @@protoc_insertion_point(includes)
// Must be included last.
@ -18,6 +19,7 @@
PROTOBUF_PRAGMA_INIT_SEG
namespace _pb = ::google::protobuf;
namespace _pbi = ::google::protobuf::internal;
namespace _fl = ::google::protobuf::internal::field_layout;
namespace google {
namespace protobuf {
PROTOBUF_CONSTEXPR Struct_FieldsEntry_DoNotUse::Struct_FieldsEntry_DoNotUse(::_pbi::ConstantInitialized) {}
@ -286,49 +288,45 @@ PROTOBUF_NOINLINE void Struct::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
const char* Struct::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
while (!ctx->Done(&ptr)) {
::uint32_t tag;
ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// map<string, .google.protobuf.Value> fields = 1;
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
ptr -= 1;
do {
ptr += 1;
ptr = ctx->ParseMessage(&_impl_.fields_, ptr);
CHK_(ptr);
if (!ctx->DataAvailable(ptr)) break;
} while (::google::protobuf::internal::ExpectTag<10>(ptr));
} else {
goto handle_unusual;
}
continue;
default:
goto handle_unusual;
} // switch
handle_unusual:
if ((tag == 0) || ((tag & 7) == 4)) {
CHK_(ptr);
ctx->SetLastTag(tag);
goto message_done;
}
ptr = UnknownFieldParse(
tag,
_internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(),
ptr, ctx);
CHK_(ptr != nullptr);
} // while
message_done:
const char* Struct::_InternalParse(
const char* ptr, ::_pbi::ParseContext* ctx) {
ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
return ptr;
failure:
ptr = nullptr;
goto message_done;
#undef CHK_
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 1, 2, 37, 2> Struct::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
1, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967294, // skipmap
offsetof(decltype(_table_), field_entries),
1, // num_field_entries
2, // num_aux_entries
offsetof(decltype(_table_), aux_entries),
&_Struct_default_instance_._instance,
::_pbi::TcParser::GenericFallback, // fallback
}, {{
{::_pbi::TcParser::MiniParse, {}},
}}, {{
65535, 65535
}}, {{
// map<string, .google.protobuf.Value> fields = 1;
{PROTOBUF_FIELD_OFFSET(Struct, _impl_.fields_), 0, 0,
(0 | ::_fl::kFcRepeated | ::_fl::kMap)},
}}, {{
{::_pbi::TcParser::GetMapAuxInfo<decltype(Struct()._impl_.fields_)>(1, 0, 0)},
{::_pbi::TcParser::CreateInArenaStorageCb<::google::protobuf::Value>},
}}, {{
"\26\6\0\0\0\0\0\0"
"google.protobuf.Struct"
"fields"
}},
};
::uint8_t* Struct::_InternalSerialize(
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Struct)
@ -600,92 +598,60 @@ PROTOBUF_NOINLINE void Value::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
const char* Value::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
while (!ctx->Done(&ptr)) {
::uint32_t tag;
ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// .google.protobuf.NullValue null_value = 1;
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
::int32_t val = ::google::protobuf::internal::ReadVarint32(&ptr);
CHK_(ptr);
_internal_set_null_value(static_cast<::google::protobuf::NullValue>(val));
} else {
goto handle_unusual;
}
continue;
// double number_value = 2;
case 2:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 17)) {
_internal_set_number_value(::google::protobuf::internal::UnalignedLoad<double>(ptr));
ptr += sizeof(double);
} else {
goto handle_unusual;
}
continue;
// string string_value = 3;
case 3:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) {
auto str = _internal_mutable_string_value();
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
CHK_(::_pbi::VerifyUTF8(str, "google.protobuf.Value.string_value"));
} else {
goto handle_unusual;
}
continue;
// bool bool_value = 4;
case 4:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 32)) {
_internal_set_bool_value(::google::protobuf::internal::ReadVarint64(&ptr));
CHK_(ptr);
} else {
goto handle_unusual;
}
continue;
// .google.protobuf.Struct struct_value = 5;
case 5:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 42)) {
ptr = ctx->ParseMessage(_internal_mutable_struct_value(), ptr);
CHK_(ptr);
} else {
goto handle_unusual;
}
continue;
// .google.protobuf.ListValue list_value = 6;
case 6:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 50)) {
ptr = ctx->ParseMessage(_internal_mutable_list_value(), ptr);
CHK_(ptr);
} else {
goto handle_unusual;
}
continue;
default:
goto handle_unusual;
} // switch
handle_unusual:
if ((tag == 0) || ((tag & 7) == 4)) {
CHK_(ptr);
ctx->SetLastTag(tag);
goto message_done;
}
ptr = UnknownFieldParse(
tag,
_internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(),
ptr, ctx);
CHK_(ptr != nullptr);
} // while
message_done:
const char* Value::_InternalParse(
const char* ptr, ::_pbi::ParseContext* ctx) {
ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
return ptr;
failure:
ptr = nullptr;
goto message_done;
#undef CHK_
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 6, 2, 42, 2> Value::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
6, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967232, // skipmap
offsetof(decltype(_table_), field_entries),
6, // num_field_entries
2, // num_aux_entries
offsetof(decltype(_table_), aux_entries),
&_Value_default_instance_._instance,
::_pbi::TcParser::GenericFallback, // fallback
}, {{
{::_pbi::TcParser::MiniParse, {}},
}}, {{
65535, 65535
}}, {{
// .google.protobuf.NullValue null_value = 1;
{PROTOBUF_FIELD_OFFSET(Value, _impl_.kind_.null_value_), _Internal::kOneofCaseOffset + 0, 0,
(0 | ::_fl::kFcOneof | ::_fl::kOpenEnum)},
// double number_value = 2;
{PROTOBUF_FIELD_OFFSET(Value, _impl_.kind_.number_value_), _Internal::kOneofCaseOffset + 0, 0,
(0 | ::_fl::kFcOneof | ::_fl::kDouble)},
// string string_value = 3;
{PROTOBUF_FIELD_OFFSET(Value, _impl_.kind_.string_value_), _Internal::kOneofCaseOffset + 0, 0,
(0 | ::_fl::kFcOneof | ::_fl::kUtf8String | ::_fl::kRepAString)},
// bool bool_value = 4;
{PROTOBUF_FIELD_OFFSET(Value, _impl_.kind_.bool_value_), _Internal::kOneofCaseOffset + 0, 0,
(0 | ::_fl::kFcOneof | ::_fl::kBool)},
// .google.protobuf.Struct struct_value = 5;
{PROTOBUF_FIELD_OFFSET(Value, _impl_.kind_.struct_value_), _Internal::kOneofCaseOffset + 0, 0,
(0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
// .google.protobuf.ListValue list_value = 6;
{PROTOBUF_FIELD_OFFSET(Value, _impl_.kind_.list_value_), _Internal::kOneofCaseOffset + 0, 1,
(0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
}}, {{
{::_pbi::TcParser::GetTable<::google::protobuf::Struct>()},
{::_pbi::TcParser::GetTable<::google::protobuf::ListValue>()},
}}, {{
"\25\0\0\14\0\0\0\0"
"google.protobuf.Value"
"string_value"
}},
};
::uint8_t* Value::_InternalSerialize(
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Value)
@ -922,49 +888,43 @@ PROTOBUF_NOINLINE void ListValue::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
const char* ListValue::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
while (!ctx->Done(&ptr)) {
::uint32_t tag;
ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// repeated .google.protobuf.Value values = 1;
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
ptr -= 1;
do {
ptr += 1;
ptr = ctx->ParseMessage(_internal_mutable_values()->Add(), ptr);
CHK_(ptr);
if (!ctx->DataAvailable(ptr)) break;
} while (::google::protobuf::internal::ExpectTag<10>(ptr));
} else {
goto handle_unusual;
}
continue;
default:
goto handle_unusual;
} // switch
handle_unusual:
if ((tag == 0) || ((tag & 7) == 4)) {
CHK_(ptr);
ctx->SetLastTag(tag);
goto message_done;
}
ptr = UnknownFieldParse(
tag,
_internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(),
ptr, ctx);
CHK_(ptr != nullptr);
} // while
message_done:
const char* ListValue::_InternalParse(
const char* ptr, ::_pbi::ParseContext* ctx) {
ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
return ptr;
failure:
ptr = nullptr;
goto message_done;
#undef CHK_
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 1, 1, 0, 2> ListValue::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
1, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967294, // skipmap
offsetof(decltype(_table_), field_entries),
1, // num_field_entries
1, // num_aux_entries
offsetof(decltype(_table_), aux_entries),
&_ListValue_default_instance_._instance,
::_pbi::TcParser::GenericFallback, // fallback
}, {{
// repeated .google.protobuf.Value values = 1;
{::_pbi::TcParser::FastMtR1,
{10, 63, 0, PROTOBUF_FIELD_OFFSET(ListValue, _impl_.values_)}},
}}, {{
65535, 65535
}}, {{
// repeated .google.protobuf.Value values = 1;
{PROTOBUF_FIELD_OFFSET(ListValue, _impl_.values_), 0, 0,
(0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
}}, {{
{::_pbi::TcParser::GetTable<::google::protobuf::Value>()},
}}, {{
}},
};
::uint8_t* ListValue::_InternalSerialize(
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.ListValue)

@ -24,6 +24,7 @@
#include "google/protobuf/io/coded_stream.h"
#include "google/protobuf/arena.h"
#include "google/protobuf/arenastring.h"
#include "google/protobuf/generated_message_tctable_decl.h"
#include "google/protobuf/generated_message_util.h"
#include "google/protobuf/metadata_lite.h"
#include "google/protobuf/generated_message_reflection.h"
@ -294,6 +295,8 @@ class PROTOBUF_EXPORT Struct final :
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 1, 2, 37, 2> _table_;
template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
@ -555,6 +558,8 @@ class PROTOBUF_EXPORT Value final :
inline bool has_kind() const;
inline void clear_has_kind();
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 6, 2, 42, 2> _table_;
template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
@ -728,6 +733,8 @@ class PROTOBUF_EXPORT ListValue final :
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 1, 1, 0, 2> _table_;
template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;

@ -11,6 +11,7 @@
#include "google/protobuf/generated_message_reflection.h"
#include "google/protobuf/reflection_ops.h"
#include "google/protobuf/wire_format.h"
#include "google/protobuf/generated_message_tctable_impl.h"
// @@protoc_insertion_point(includes)
// Must be included last.
@ -18,6 +19,7 @@
PROTOBUF_PRAGMA_INIT_SEG
namespace _pb = ::google::protobuf;
namespace _pbi = ::google::protobuf::internal;
namespace _fl = ::google::protobuf::internal::field_layout;
namespace google {
namespace protobuf {
PROTOBUF_CONSTEXPR Timestamp::Timestamp(::_pbi::ConstantInitialized)
@ -165,53 +167,49 @@ PROTOBUF_NOINLINE void Timestamp::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
const char* Timestamp::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
while (!ctx->Done(&ptr)) {
::uint32_t tag;
ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// int64 seconds = 1;
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
_impl_.seconds_ = ::google::protobuf::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else {
goto handle_unusual;
}
continue;
// int32 nanos = 2;
case 2:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
_impl_.nanos_ = ::google::protobuf::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else {
goto handle_unusual;
}
continue;
default:
goto handle_unusual;
} // switch
handle_unusual:
if ((tag == 0) || ((tag & 7) == 4)) {
CHK_(ptr);
ctx->SetLastTag(tag);
goto message_done;
}
ptr = UnknownFieldParse(
tag,
_internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(),
ptr, ctx);
CHK_(ptr != nullptr);
} // while
message_done:
const char* Timestamp::_InternalParse(
const char* ptr, ::_pbi::ParseContext* ctx) {
ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
return ptr;
failure:
ptr = nullptr;
goto message_done;
#undef CHK_
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<1, 2, 0, 0, 2> Timestamp::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
2, 8, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967292, // skipmap
offsetof(decltype(_table_), field_entries),
2, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
&_Timestamp_default_instance_._instance,
::_pbi::TcParser::GenericFallback, // fallback
}, {{
// int32 nanos = 2;
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Timestamp, _impl_.nanos_), 63>(),
{16, 63, 0, PROTOBUF_FIELD_OFFSET(Timestamp, _impl_.nanos_)}},
// int64 seconds = 1;
{::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(Timestamp, _impl_.seconds_), 63>(),
{8, 63, 0, PROTOBUF_FIELD_OFFSET(Timestamp, _impl_.seconds_)}},
}}, {{
65535, 65535
}}, {{
// int64 seconds = 1;
{PROTOBUF_FIELD_OFFSET(Timestamp, _impl_.seconds_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kInt64)},
// int32 nanos = 2;
{PROTOBUF_FIELD_OFFSET(Timestamp, _impl_.nanos_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kInt32)},
}},
// no aux_entries
{{
}},
};
::uint8_t* Timestamp::_InternalSerialize(
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Timestamp)

@ -24,6 +24,7 @@
#include "google/protobuf/io/coded_stream.h"
#include "google/protobuf/arena.h"
#include "google/protobuf/arenastring.h"
#include "google/protobuf/generated_message_tctable_decl.h"
#include "google/protobuf/generated_message_util.h"
#include "google/protobuf/metadata_lite.h"
#include "google/protobuf/generated_message_reflection.h"
@ -224,6 +225,8 @@ class PROTOBUF_EXPORT Timestamp final :
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<1, 2, 0, 0, 2> _table_;
template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;

@ -11,6 +11,7 @@
#include "google/protobuf/generated_message_reflection.h"
#include "google/protobuf/reflection_ops.h"
#include "google/protobuf/wire_format.h"
#include "google/protobuf/generated_message_tctable_impl.h"
// @@protoc_insertion_point(includes)
// Must be included last.
@ -18,6 +19,7 @@
PROTOBUF_PRAGMA_INIT_SEG
namespace _pb = ::google::protobuf;
namespace _pbi = ::google::protobuf::internal;
namespace _fl = ::google::protobuf::internal::field_layout;
namespace google {
namespace protobuf {
PROTOBUF_CONSTEXPR Type::Type(::_pbi::ConstantInitialized)
@ -575,122 +577,87 @@ PROTOBUF_NOINLINE void Type::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
const char* Type::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
::uint32_t tag;
ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// string name = 1;
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
auto str = _internal_mutable_name();
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
CHK_(::_pbi::VerifyUTF8(str, "google.protobuf.Type.name"));
} else {
goto handle_unusual;
}
continue;
// repeated .google.protobuf.Field fields = 2;
case 2:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
ptr -= 1;
do {
ptr += 1;
ptr = ctx->ParseMessage(_internal_mutable_fields()->Add(), ptr);
CHK_(ptr);
if (!ctx->DataAvailable(ptr)) break;
} while (::google::protobuf::internal::ExpectTag<18>(ptr));
} else {
goto handle_unusual;
}
continue;
// repeated string oneofs = 3;
case 3:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) {
ptr -= 1;
do {
ptr += 1;
auto str = _internal_mutable_oneofs()->Add();
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
CHK_(::_pbi::VerifyUTF8(str, "google.protobuf.Type.oneofs"));
if (!ctx->DataAvailable(ptr)) break;
} while (::google::protobuf::internal::ExpectTag<26>(ptr));
} else {
goto handle_unusual;
}
continue;
// repeated .google.protobuf.Option options = 4;
case 4:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) {
ptr -= 1;
do {
ptr += 1;
ptr = ctx->ParseMessage(_internal_mutable_options()->Add(), ptr);
CHK_(ptr);
if (!ctx->DataAvailable(ptr)) break;
} while (::google::protobuf::internal::ExpectTag<34>(ptr));
} else {
goto handle_unusual;
}
continue;
// .google.protobuf.SourceContext source_context = 5;
case 5:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 42)) {
ptr = ctx->ParseMessage(_internal_mutable_source_context(), ptr);
CHK_(ptr);
} else {
goto handle_unusual;
}
continue;
// .google.protobuf.Syntax syntax = 6;
case 6:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 48)) {
::int32_t val = ::google::protobuf::internal::ReadVarint32(&ptr);
CHK_(ptr);
_internal_set_syntax(static_cast<::google::protobuf::Syntax>(val));
} else {
goto handle_unusual;
}
continue;
// string edition = 7;
case 7:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 58)) {
auto str = _internal_mutable_edition();
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
CHK_(::_pbi::VerifyUTF8(str, "google.protobuf.Type.edition"));
} else {
goto handle_unusual;
}
continue;
default:
goto handle_unusual;
} // switch
handle_unusual:
if ((tag == 0) || ((tag & 7) == 4)) {
CHK_(ptr);
ctx->SetLastTag(tag);
goto message_done;
}
ptr = UnknownFieldParse(
tag,
_internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(),
ptr, ctx);
CHK_(ptr != nullptr);
} // while
message_done:
_impl_._has_bits_.Or(has_bits);
const char* Type::_InternalParse(
const char* ptr, ::_pbi::ParseContext* ctx) {
ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
return ptr;
failure:
ptr = nullptr;
goto message_done;
#undef CHK_
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<3, 7, 3, 46, 2> Type::_table_ = {
{
PROTOBUF_FIELD_OFFSET(Type, _impl_._has_bits_),
0, // no _extensions_
7, 56, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967168, // skipmap
offsetof(decltype(_table_), field_entries),
7, // num_field_entries
3, // num_aux_entries
offsetof(decltype(_table_), aux_entries),
&_Type_default_instance_._instance,
::_pbi::TcParser::GenericFallback, // fallback
}, {{
{::_pbi::TcParser::MiniParse, {}},
// string name = 1;
{::_pbi::TcParser::FastUS1,
{10, 63, 0, PROTOBUF_FIELD_OFFSET(Type, _impl_.name_)}},
// repeated .google.protobuf.Field fields = 2;
{::_pbi::TcParser::FastMtR1,
{18, 63, 0, PROTOBUF_FIELD_OFFSET(Type, _impl_.fields_)}},
// repeated string oneofs = 3;
{::_pbi::TcParser::FastUR1,
{26, 63, 0, PROTOBUF_FIELD_OFFSET(Type, _impl_.oneofs_)}},
// repeated .google.protobuf.Option options = 4;
{::_pbi::TcParser::FastMtR1,
{34, 63, 1, PROTOBUF_FIELD_OFFSET(Type, _impl_.options_)}},
// .google.protobuf.SourceContext source_context = 5;
{::_pbi::TcParser::FastMtS1,
{42, 0, 2, PROTOBUF_FIELD_OFFSET(Type, _impl_.source_context_)}},
// .google.protobuf.Syntax syntax = 6;
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Type, _impl_.syntax_), 63>(),
{48, 63, 0, PROTOBUF_FIELD_OFFSET(Type, _impl_.syntax_)}},
// string edition = 7;
{::_pbi::TcParser::FastUS1,
{58, 63, 0, PROTOBUF_FIELD_OFFSET(Type, _impl_.edition_)}},
}}, {{
65535, 65535
}}, {{
// string name = 1;
{PROTOBUF_FIELD_OFFSET(Type, _impl_.name_), -1, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
// repeated .google.protobuf.Field fields = 2;
{PROTOBUF_FIELD_OFFSET(Type, _impl_.fields_), -1, 0,
(0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
// repeated string oneofs = 3;
{PROTOBUF_FIELD_OFFSET(Type, _impl_.oneofs_), -1, 0,
(0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)},
// repeated .google.protobuf.Option options = 4;
{PROTOBUF_FIELD_OFFSET(Type, _impl_.options_), -1, 1,
(0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
// .google.protobuf.SourceContext source_context = 5;
{PROTOBUF_FIELD_OFFSET(Type, _impl_.source_context_), _Internal::kHasBitsOffset + 0, 2,
(0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
// .google.protobuf.Syntax syntax = 6;
{PROTOBUF_FIELD_OFFSET(Type, _impl_.syntax_), -1, 0,
(0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)},
// string edition = 7;
{PROTOBUF_FIELD_OFFSET(Type, _impl_.edition_), -1, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
}}, {{
{::_pbi::TcParser::GetTable<::google::protobuf::Field>()},
{::_pbi::TcParser::GetTable<::google::protobuf::Option>()},
{::_pbi::TcParser::GetTable<::google::protobuf::SourceContext>()},
}}, {{
"\24\4\0\6\0\0\0\7"
"google.protobuf.Type"
"name"
"oneofs"
"edition"
}},
};
::uint8_t* Type::_InternalSerialize(
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Type)
@ -1024,140 +991,109 @@ PROTOBUF_NOINLINE void Field::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
const char* Field::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
while (!ctx->Done(&ptr)) {
::uint32_t tag;
ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// .google.protobuf.Field.Kind kind = 1;
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
::int32_t val = ::google::protobuf::internal::ReadVarint32(&ptr);
CHK_(ptr);
_internal_set_kind(static_cast<::google::protobuf::Field_Kind>(val));
} else {
goto handle_unusual;
}
continue;
// .google.protobuf.Field.Cardinality cardinality = 2;
case 2:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
::int32_t val = ::google::protobuf::internal::ReadVarint32(&ptr);
CHK_(ptr);
_internal_set_cardinality(static_cast<::google::protobuf::Field_Cardinality>(val));
} else {
goto handle_unusual;
}
continue;
// int32 number = 3;
case 3:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 24)) {
_impl_.number_ = ::google::protobuf::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else {
goto handle_unusual;
}
continue;
// string name = 4;
case 4:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) {
auto str = _internal_mutable_name();
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
CHK_(::_pbi::VerifyUTF8(str, "google.protobuf.Field.name"));
} else {
goto handle_unusual;
}
continue;
// string type_url = 6;
case 6:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 50)) {
auto str = _internal_mutable_type_url();
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
CHK_(::_pbi::VerifyUTF8(str, "google.protobuf.Field.type_url"));
} else {
goto handle_unusual;
}
continue;
// int32 oneof_index = 7;
case 7:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 56)) {
_impl_.oneof_index_ = ::google::protobuf::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else {
goto handle_unusual;
}
continue;
// bool packed = 8;
case 8:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 64)) {
_impl_.packed_ = ::google::protobuf::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else {
goto handle_unusual;
}
continue;
// repeated .google.protobuf.Option options = 9;
case 9:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 74)) {
ptr -= 1;
do {
ptr += 1;
ptr = ctx->ParseMessage(_internal_mutable_options()->Add(), ptr);
CHK_(ptr);
if (!ctx->DataAvailable(ptr)) break;
} while (::google::protobuf::internal::ExpectTag<74>(ptr));
} else {
goto handle_unusual;
}
continue;
// string json_name = 10;
case 10:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 82)) {
auto str = _internal_mutable_json_name();
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
CHK_(::_pbi::VerifyUTF8(str, "google.protobuf.Field.json_name"));
} else {
goto handle_unusual;
}
continue;
// string default_value = 11;
case 11:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 90)) {
auto str = _internal_mutable_default_value();
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
CHK_(::_pbi::VerifyUTF8(str, "google.protobuf.Field.default_value"));
} else {
goto handle_unusual;
}
continue;
default:
goto handle_unusual;
} // switch
handle_unusual:
if ((tag == 0) || ((tag & 7) == 4)) {
CHK_(ptr);
ctx->SetLastTag(tag);
goto message_done;
}
ptr = UnknownFieldParse(
tag,
_internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(),
ptr, ctx);
CHK_(ptr != nullptr);
} // while
message_done:
const char* Field::_InternalParse(
const char* ptr, ::_pbi::ParseContext* ctx) {
ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
return ptr;
failure:
ptr = nullptr;
goto message_done;
#undef CHK_
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<4, 10, 1, 72, 2> Field::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
11, 120, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294965264, // skipmap
offsetof(decltype(_table_), field_entries),
10, // num_field_entries
1, // num_aux_entries
offsetof(decltype(_table_), aux_entries),
&_Field_default_instance_._instance,
::_pbi::TcParser::GenericFallback, // fallback
}, {{
{::_pbi::TcParser::MiniParse, {}},
// .google.protobuf.Field.Kind kind = 1;
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Field, _impl_.kind_), 63>(),
{8, 63, 0, PROTOBUF_FIELD_OFFSET(Field, _impl_.kind_)}},
// .google.protobuf.Field.Cardinality cardinality = 2;
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Field, _impl_.cardinality_), 63>(),
{16, 63, 0, PROTOBUF_FIELD_OFFSET(Field, _impl_.cardinality_)}},
// int32 number = 3;
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Field, _impl_.number_), 63>(),
{24, 63, 0, PROTOBUF_FIELD_OFFSET(Field, _impl_.number_)}},
// string name = 4;
{::_pbi::TcParser::FastUS1,
{34, 63, 0, PROTOBUF_FIELD_OFFSET(Field, _impl_.name_)}},
{::_pbi::TcParser::MiniParse, {}},
// string type_url = 6;
{::_pbi::TcParser::FastUS1,
{50, 63, 0, PROTOBUF_FIELD_OFFSET(Field, _impl_.type_url_)}},
// int32 oneof_index = 7;
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Field, _impl_.oneof_index_), 63>(),
{56, 63, 0, PROTOBUF_FIELD_OFFSET(Field, _impl_.oneof_index_)}},
// bool packed = 8;
{::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(Field, _impl_.packed_), 63>(),
{64, 63, 0, PROTOBUF_FIELD_OFFSET(Field, _impl_.packed_)}},
// repeated .google.protobuf.Option options = 9;
{::_pbi::TcParser::FastMtR1,
{74, 63, 0, PROTOBUF_FIELD_OFFSET(Field, _impl_.options_)}},
// string json_name = 10;
{::_pbi::TcParser::FastUS1,
{82, 63, 0, PROTOBUF_FIELD_OFFSET(Field, _impl_.json_name_)}},
// string default_value = 11;
{::_pbi::TcParser::FastUS1,
{90, 63, 0, PROTOBUF_FIELD_OFFSET(Field, _impl_.default_value_)}},
{::_pbi::TcParser::MiniParse, {}},
{::_pbi::TcParser::MiniParse, {}},
{::_pbi::TcParser::MiniParse, {}},
{::_pbi::TcParser::MiniParse, {}},
}}, {{
65535, 65535
}}, {{
// .google.protobuf.Field.Kind kind = 1;
{PROTOBUF_FIELD_OFFSET(Field, _impl_.kind_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)},
// .google.protobuf.Field.Cardinality cardinality = 2;
{PROTOBUF_FIELD_OFFSET(Field, _impl_.cardinality_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)},
// int32 number = 3;
{PROTOBUF_FIELD_OFFSET(Field, _impl_.number_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kInt32)},
// string name = 4;
{PROTOBUF_FIELD_OFFSET(Field, _impl_.name_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
// string type_url = 6;
{PROTOBUF_FIELD_OFFSET(Field, _impl_.type_url_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
// int32 oneof_index = 7;
{PROTOBUF_FIELD_OFFSET(Field, _impl_.oneof_index_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kInt32)},
// bool packed = 8;
{PROTOBUF_FIELD_OFFSET(Field, _impl_.packed_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kBool)},
// repeated .google.protobuf.Option options = 9;
{PROTOBUF_FIELD_OFFSET(Field, _impl_.options_), 0, 0,
(0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
// string json_name = 10;
{PROTOBUF_FIELD_OFFSET(Field, _impl_.json_name_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
// string default_value = 11;
{PROTOBUF_FIELD_OFFSET(Field, _impl_.default_value_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
}}, {{
{::_pbi::TcParser::GetTable<::google::protobuf::Option>()},
}}, {{
"\25\0\0\0\4\10\0\0\0\11\15\0\0\0\0\0"
"google.protobuf.Field"
"name"
"type_url"
"json_name"
"default_value"
}},
};
::uint8_t* Field::_InternalSerialize(
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Field)
@ -1526,106 +1462,81 @@ PROTOBUF_NOINLINE void Enum::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
const char* Enum::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
::uint32_t tag;
ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// string name = 1;
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
auto str = _internal_mutable_name();
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
CHK_(::_pbi::VerifyUTF8(str, "google.protobuf.Enum.name"));
} else {
goto handle_unusual;
}
continue;
// repeated .google.protobuf.EnumValue enumvalue = 2;
case 2:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
ptr -= 1;
do {
ptr += 1;
ptr = ctx->ParseMessage(_internal_mutable_enumvalue()->Add(), ptr);
CHK_(ptr);
if (!ctx->DataAvailable(ptr)) break;
} while (::google::protobuf::internal::ExpectTag<18>(ptr));
} else {
goto handle_unusual;
}
continue;
// repeated .google.protobuf.Option options = 3;
case 3:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) {
ptr -= 1;
do {
ptr += 1;
ptr = ctx->ParseMessage(_internal_mutable_options()->Add(), ptr);
CHK_(ptr);
if (!ctx->DataAvailable(ptr)) break;
} while (::google::protobuf::internal::ExpectTag<26>(ptr));
} else {
goto handle_unusual;
}
continue;
// .google.protobuf.SourceContext source_context = 4;
case 4:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 34)) {
ptr = ctx->ParseMessage(_internal_mutable_source_context(), ptr);
CHK_(ptr);
} else {
goto handle_unusual;
}
continue;
// .google.protobuf.Syntax syntax = 5;
case 5:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 40)) {
::int32_t val = ::google::protobuf::internal::ReadVarint32(&ptr);
CHK_(ptr);
_internal_set_syntax(static_cast<::google::protobuf::Syntax>(val));
} else {
goto handle_unusual;
}
continue;
// string edition = 6;
case 6:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 50)) {
auto str = _internal_mutable_edition();
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
CHK_(::_pbi::VerifyUTF8(str, "google.protobuf.Enum.edition"));
} else {
goto handle_unusual;
}
continue;
default:
goto handle_unusual;
} // switch
handle_unusual:
if ((tag == 0) || ((tag & 7) == 4)) {
CHK_(ptr);
ctx->SetLastTag(tag);
goto message_done;
}
ptr = UnknownFieldParse(
tag,
_internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(),
ptr, ctx);
CHK_(ptr != nullptr);
} // while
message_done:
_impl_._has_bits_.Or(has_bits);
const char* Enum::_InternalParse(
const char* ptr, ::_pbi::ParseContext* ctx) {
ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
return ptr;
failure:
ptr = nullptr;
goto message_done;
#undef CHK_
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<3, 6, 3, 40, 2> Enum::_table_ = {
{
PROTOBUF_FIELD_OFFSET(Enum, _impl_._has_bits_),
0, // no _extensions_
6, 56, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967232, // skipmap
offsetof(decltype(_table_), field_entries),
6, // num_field_entries
3, // num_aux_entries
offsetof(decltype(_table_), aux_entries),
&_Enum_default_instance_._instance,
::_pbi::TcParser::GenericFallback, // fallback
}, {{
{::_pbi::TcParser::MiniParse, {}},
// string name = 1;
{::_pbi::TcParser::FastUS1,
{10, 63, 0, PROTOBUF_FIELD_OFFSET(Enum, _impl_.name_)}},
// repeated .google.protobuf.EnumValue enumvalue = 2;
{::_pbi::TcParser::FastMtR1,
{18, 63, 0, PROTOBUF_FIELD_OFFSET(Enum, _impl_.enumvalue_)}},
// repeated .google.protobuf.Option options = 3;
{::_pbi::TcParser::FastMtR1,
{26, 63, 1, PROTOBUF_FIELD_OFFSET(Enum, _impl_.options_)}},
// .google.protobuf.SourceContext source_context = 4;
{::_pbi::TcParser::FastMtS1,
{34, 0, 2, PROTOBUF_FIELD_OFFSET(Enum, _impl_.source_context_)}},
// .google.protobuf.Syntax syntax = 5;
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Enum, _impl_.syntax_), 63>(),
{40, 63, 0, PROTOBUF_FIELD_OFFSET(Enum, _impl_.syntax_)}},
// string edition = 6;
{::_pbi::TcParser::FastUS1,
{50, 63, 0, PROTOBUF_FIELD_OFFSET(Enum, _impl_.edition_)}},
{::_pbi::TcParser::MiniParse, {}},
}}, {{
65535, 65535
}}, {{
// string name = 1;
{PROTOBUF_FIELD_OFFSET(Enum, _impl_.name_), -1, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
// repeated .google.protobuf.EnumValue enumvalue = 2;
{PROTOBUF_FIELD_OFFSET(Enum, _impl_.enumvalue_), -1, 0,
(0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
// repeated .google.protobuf.Option options = 3;
{PROTOBUF_FIELD_OFFSET(Enum, _impl_.options_), -1, 1,
(0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
// .google.protobuf.SourceContext source_context = 4;
{PROTOBUF_FIELD_OFFSET(Enum, _impl_.source_context_), _Internal::kHasBitsOffset + 0, 2,
(0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
// .google.protobuf.Syntax syntax = 5;
{PROTOBUF_FIELD_OFFSET(Enum, _impl_.syntax_), -1, 0,
(0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)},
// string edition = 6;
{PROTOBUF_FIELD_OFFSET(Enum, _impl_.edition_), -1, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
}}, {{
{::_pbi::TcParser::GetTable<::google::protobuf::EnumValue>()},
{::_pbi::TcParser::GetTable<::google::protobuf::Option>()},
{::_pbi::TcParser::GetTable<::google::protobuf::SourceContext>()},
}}, {{
"\24\4\0\0\0\0\7\0"
"google.protobuf.Enum"
"name"
"edition"
}},
};
::uint8_t* Enum::_InternalSerialize(
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Enum)
@ -1884,69 +1795,59 @@ PROTOBUF_NOINLINE void EnumValue::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
const char* EnumValue::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
while (!ctx->Done(&ptr)) {
::uint32_t tag;
ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// string name = 1;
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
auto str = _internal_mutable_name();
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
CHK_(::_pbi::VerifyUTF8(str, "google.protobuf.EnumValue.name"));
} else {
goto handle_unusual;
}
continue;
// int32 number = 2;
case 2:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 16)) {
_impl_.number_ = ::google::protobuf::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else {
goto handle_unusual;
}
continue;
// repeated .google.protobuf.Option options = 3;
case 3:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 26)) {
ptr -= 1;
do {
ptr += 1;
ptr = ctx->ParseMessage(_internal_mutable_options()->Add(), ptr);
CHK_(ptr);
if (!ctx->DataAvailable(ptr)) break;
} while (::google::protobuf::internal::ExpectTag<26>(ptr));
} else {
goto handle_unusual;
}
continue;
default:
goto handle_unusual;
} // switch
handle_unusual:
if ((tag == 0) || ((tag & 7) == 4)) {
CHK_(ptr);
ctx->SetLastTag(tag);
goto message_done;
}
ptr = UnknownFieldParse(
tag,
_internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(),
ptr, ctx);
CHK_(ptr != nullptr);
} // while
message_done:
const char* EnumValue::_InternalParse(
const char* ptr, ::_pbi::ParseContext* ctx) {
ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
return ptr;
failure:
ptr = nullptr;
goto message_done;
#undef CHK_
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<2, 3, 1, 38, 2> EnumValue::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
3, 24, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967288, // skipmap
offsetof(decltype(_table_), field_entries),
3, // num_field_entries
1, // num_aux_entries
offsetof(decltype(_table_), aux_entries),
&_EnumValue_default_instance_._instance,
::_pbi::TcParser::GenericFallback, // fallback
}, {{
{::_pbi::TcParser::MiniParse, {}},
// string name = 1;
{::_pbi::TcParser::FastUS1,
{10, 63, 0, PROTOBUF_FIELD_OFFSET(EnumValue, _impl_.name_)}},
// int32 number = 2;
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(EnumValue, _impl_.number_), 63>(),
{16, 63, 0, PROTOBUF_FIELD_OFFSET(EnumValue, _impl_.number_)}},
// repeated .google.protobuf.Option options = 3;
{::_pbi::TcParser::FastMtR1,
{26, 63, 0, PROTOBUF_FIELD_OFFSET(EnumValue, _impl_.options_)}},
}}, {{
65535, 65535
}}, {{
// string name = 1;
{PROTOBUF_FIELD_OFFSET(EnumValue, _impl_.name_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
// int32 number = 2;
{PROTOBUF_FIELD_OFFSET(EnumValue, _impl_.number_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kInt32)},
// repeated .google.protobuf.Option options = 3;
{PROTOBUF_FIELD_OFFSET(EnumValue, _impl_.options_), 0, 0,
(0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
}}, {{
{::_pbi::TcParser::GetTable<::google::protobuf::Option>()},
}}, {{
"\31\4\0\0\0\0\0\0"
"google.protobuf.EnumValue"
"name"
}},
};
::uint8_t* EnumValue::_InternalSerialize(
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.EnumValue)
@ -2163,57 +2064,52 @@ PROTOBUF_NOINLINE void Option::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
const char* Option::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
_Internal::HasBits has_bits{};
while (!ctx->Done(&ptr)) {
::uint32_t tag;
ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// string name = 1;
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
auto str = _internal_mutable_name();
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
CHK_(::_pbi::VerifyUTF8(str, "google.protobuf.Option.name"));
} else {
goto handle_unusual;
}
continue;
// .google.protobuf.Any value = 2;
case 2:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 18)) {
ptr = ctx->ParseMessage(_internal_mutable_value(), ptr);
CHK_(ptr);
} else {
goto handle_unusual;
}
continue;
default:
goto handle_unusual;
} // switch
handle_unusual:
if ((tag == 0) || ((tag & 7) == 4)) {
CHK_(ptr);
ctx->SetLastTag(tag);
goto message_done;
}
ptr = UnknownFieldParse(
tag,
_internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(),
ptr, ctx);
CHK_(ptr != nullptr);
} // while
message_done:
_impl_._has_bits_.Or(has_bits);
const char* Option::_InternalParse(
const char* ptr, ::_pbi::ParseContext* ctx) {
ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
return ptr;
failure:
ptr = nullptr;
goto message_done;
#undef CHK_
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<1, 2, 1, 35, 2> Option::_table_ = {
{
PROTOBUF_FIELD_OFFSET(Option, _impl_._has_bits_),
0, // no _extensions_
2, 8, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967292, // skipmap
offsetof(decltype(_table_), field_entries),
2, // num_field_entries
1, // num_aux_entries
offsetof(decltype(_table_), aux_entries),
&_Option_default_instance_._instance,
::_pbi::TcParser::GenericFallback, // fallback
}, {{
// .google.protobuf.Any value = 2;
{::_pbi::TcParser::FastMtS1,
{18, 0, 0, PROTOBUF_FIELD_OFFSET(Option, _impl_.value_)}},
// string name = 1;
{::_pbi::TcParser::FastUS1,
{10, 63, 0, PROTOBUF_FIELD_OFFSET(Option, _impl_.name_)}},
}}, {{
65535, 65535
}}, {{
// string name = 1;
{PROTOBUF_FIELD_OFFSET(Option, _impl_.name_), -1, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
// .google.protobuf.Any value = 2;
{PROTOBUF_FIELD_OFFSET(Option, _impl_.value_), _Internal::kHasBitsOffset + 0, 0,
(0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
}}, {{
{::_pbi::TcParser::GetTable<::google::protobuf::Any>()},
}}, {{
"\26\4\0\0\0\0\0\0"
"google.protobuf.Option"
"name"
}},
};
::uint8_t* Option::_InternalSerialize(
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Option)

@ -24,6 +24,7 @@
#include "google/protobuf/io/coded_stream.h"
#include "google/protobuf/arena.h"
#include "google/protobuf/arenastring.h"
#include "google/protobuf/generated_message_tctable_decl.h"
#include "google/protobuf/generated_message_util.h"
#include "google/protobuf/metadata_lite.h"
#include "google/protobuf/generated_message_reflection.h"
@ -469,6 +470,8 @@ class PROTOBUF_EXPORT Type final :
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<3, 7, 3, 46, 2> _table_;
template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
@ -820,6 +823,8 @@ class PROTOBUF_EXPORT Field final :
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<4, 10, 1, 72, 2> _table_;
template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
@ -1071,6 +1076,8 @@ class PROTOBUF_EXPORT Enum final :
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<3, 6, 3, 40, 2> _table_;
template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
@ -1267,6 +1274,8 @@ class PROTOBUF_EXPORT EnumValue final :
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<2, 3, 1, 38, 2> _table_;
template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
@ -1445,6 +1454,8 @@ class PROTOBUF_EXPORT Option final :
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<1, 2, 1, 35, 2> _table_;
template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;

@ -11,6 +11,7 @@
#include "google/protobuf/generated_message_reflection.h"
#include "google/protobuf/reflection_ops.h"
#include "google/protobuf/wire_format.h"
#include "google/protobuf/generated_message_tctable_impl.h"
// @@protoc_insertion_point(includes)
// Must be included last.
@ -18,6 +19,7 @@
PROTOBUF_PRAGMA_INIT_SEG
namespace _pb = ::google::protobuf;
namespace _pbi = ::google::protobuf::internal;
namespace _fl = ::google::protobuf::internal::field_layout;
namespace google {
namespace protobuf {
PROTOBUF_CONSTEXPR DoubleValue::DoubleValue(::_pbi::ConstantInitialized)
@ -380,44 +382,43 @@ PROTOBUF_NOINLINE void DoubleValue::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
const char* DoubleValue::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
while (!ctx->Done(&ptr)) {
::uint32_t tag;
ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// double value = 1;
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 9)) {
_impl_.value_ = ::google::protobuf::internal::UnalignedLoad<double>(ptr);
ptr += sizeof(double);
} else {
goto handle_unusual;
}
continue;
default:
goto handle_unusual;
} // switch
handle_unusual:
if ((tag == 0) || ((tag & 7) == 4)) {
CHK_(ptr);
ctx->SetLastTag(tag);
goto message_done;
}
ptr = UnknownFieldParse(
tag,
_internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(),
ptr, ctx);
CHK_(ptr != nullptr);
} // while
message_done:
const char* DoubleValue::_InternalParse(
const char* ptr, ::_pbi::ParseContext* ctx) {
ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
return ptr;
failure:
ptr = nullptr;
goto message_done;
#undef CHK_
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 1, 0, 0, 2> DoubleValue::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
1, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967294, // skipmap
offsetof(decltype(_table_), field_entries),
1, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
&_DoubleValue_default_instance_._instance,
::_pbi::TcParser::GenericFallback, // fallback
}, {{
// double value = 1;
{::_pbi::TcParser::FastF64S1,
{9, 63, 0, PROTOBUF_FIELD_OFFSET(DoubleValue, _impl_.value_)}},
}}, {{
65535, 65535
}}, {{
// double value = 1;
{PROTOBUF_FIELD_OFFSET(DoubleValue, _impl_.value_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kDouble)},
}},
// no aux_entries
{{
}},
};
::uint8_t* DoubleValue::_InternalSerialize(
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.DoubleValue)
@ -564,44 +565,43 @@ PROTOBUF_NOINLINE void FloatValue::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
const char* FloatValue::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
while (!ctx->Done(&ptr)) {
::uint32_t tag;
ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// float value = 1;
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 13)) {
_impl_.value_ = ::google::protobuf::internal::UnalignedLoad<float>(ptr);
ptr += sizeof(float);
} else {
goto handle_unusual;
}
continue;
default:
goto handle_unusual;
} // switch
handle_unusual:
if ((tag == 0) || ((tag & 7) == 4)) {
CHK_(ptr);
ctx->SetLastTag(tag);
goto message_done;
}
ptr = UnknownFieldParse(
tag,
_internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(),
ptr, ctx);
CHK_(ptr != nullptr);
} // while
message_done:
const char* FloatValue::_InternalParse(
const char* ptr, ::_pbi::ParseContext* ctx) {
ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
return ptr;
failure:
ptr = nullptr;
goto message_done;
#undef CHK_
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 1, 0, 0, 2> FloatValue::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
1, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967294, // skipmap
offsetof(decltype(_table_), field_entries),
1, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
&_FloatValue_default_instance_._instance,
::_pbi::TcParser::GenericFallback, // fallback
}, {{
// float value = 1;
{::_pbi::TcParser::FastF32S1,
{13, 63, 0, PROTOBUF_FIELD_OFFSET(FloatValue, _impl_.value_)}},
}}, {{
65535, 65535
}}, {{
// float value = 1;
{PROTOBUF_FIELD_OFFSET(FloatValue, _impl_.value_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kFloat)},
}},
// no aux_entries
{{
}},
};
::uint8_t* FloatValue::_InternalSerialize(
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FloatValue)
@ -748,44 +748,43 @@ PROTOBUF_NOINLINE void Int64Value::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
const char* Int64Value::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
while (!ctx->Done(&ptr)) {
::uint32_t tag;
ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// int64 value = 1;
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
_impl_.value_ = ::google::protobuf::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else {
goto handle_unusual;
}
continue;
default:
goto handle_unusual;
} // switch
handle_unusual:
if ((tag == 0) || ((tag & 7) == 4)) {
CHK_(ptr);
ctx->SetLastTag(tag);
goto message_done;
}
ptr = UnknownFieldParse(
tag,
_internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(),
ptr, ctx);
CHK_(ptr != nullptr);
} // while
message_done:
const char* Int64Value::_InternalParse(
const char* ptr, ::_pbi::ParseContext* ctx) {
ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
return ptr;
failure:
ptr = nullptr;
goto message_done;
#undef CHK_
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 1, 0, 0, 2> Int64Value::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
1, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967294, // skipmap
offsetof(decltype(_table_), field_entries),
1, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
&_Int64Value_default_instance_._instance,
::_pbi::TcParser::GenericFallback, // fallback
}, {{
// int64 value = 1;
{::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(Int64Value, _impl_.value_), 63>(),
{8, 63, 0, PROTOBUF_FIELD_OFFSET(Int64Value, _impl_.value_)}},
}}, {{
65535, 65535
}}, {{
// int64 value = 1;
{PROTOBUF_FIELD_OFFSET(Int64Value, _impl_.value_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kInt64)},
}},
// no aux_entries
{{
}},
};
::uint8_t* Int64Value::_InternalSerialize(
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Int64Value)
@ -918,44 +917,43 @@ PROTOBUF_NOINLINE void UInt64Value::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
const char* UInt64Value::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
while (!ctx->Done(&ptr)) {
::uint32_t tag;
ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// uint64 value = 1;
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
_impl_.value_ = ::google::protobuf::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else {
goto handle_unusual;
}
continue;
default:
goto handle_unusual;
} // switch
handle_unusual:
if ((tag == 0) || ((tag & 7) == 4)) {
CHK_(ptr);
ctx->SetLastTag(tag);
goto message_done;
}
ptr = UnknownFieldParse(
tag,
_internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(),
ptr, ctx);
CHK_(ptr != nullptr);
} // while
message_done:
const char* UInt64Value::_InternalParse(
const char* ptr, ::_pbi::ParseContext* ctx) {
ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
return ptr;
failure:
ptr = nullptr;
goto message_done;
#undef CHK_
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 1, 0, 0, 2> UInt64Value::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
1, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967294, // skipmap
offsetof(decltype(_table_), field_entries),
1, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
&_UInt64Value_default_instance_._instance,
::_pbi::TcParser::GenericFallback, // fallback
}, {{
// uint64 value = 1;
{::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(UInt64Value, _impl_.value_), 63>(),
{8, 63, 0, PROTOBUF_FIELD_OFFSET(UInt64Value, _impl_.value_)}},
}}, {{
65535, 65535
}}, {{
// uint64 value = 1;
{PROTOBUF_FIELD_OFFSET(UInt64Value, _impl_.value_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUInt64)},
}},
// no aux_entries
{{
}},
};
::uint8_t* UInt64Value::_InternalSerialize(
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.UInt64Value)
@ -1088,44 +1086,43 @@ PROTOBUF_NOINLINE void Int32Value::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
const char* Int32Value::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
while (!ctx->Done(&ptr)) {
::uint32_t tag;
ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// int32 value = 1;
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
_impl_.value_ = ::google::protobuf::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else {
goto handle_unusual;
}
continue;
default:
goto handle_unusual;
} // switch
handle_unusual:
if ((tag == 0) || ((tag & 7) == 4)) {
CHK_(ptr);
ctx->SetLastTag(tag);
goto message_done;
}
ptr = UnknownFieldParse(
tag,
_internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(),
ptr, ctx);
CHK_(ptr != nullptr);
} // while
message_done:
const char* Int32Value::_InternalParse(
const char* ptr, ::_pbi::ParseContext* ctx) {
ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
return ptr;
failure:
ptr = nullptr;
goto message_done;
#undef CHK_
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 1, 0, 0, 2> Int32Value::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
1, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967294, // skipmap
offsetof(decltype(_table_), field_entries),
1, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
&_Int32Value_default_instance_._instance,
::_pbi::TcParser::GenericFallback, // fallback
}, {{
// int32 value = 1;
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Int32Value, _impl_.value_), 63>(),
{8, 63, 0, PROTOBUF_FIELD_OFFSET(Int32Value, _impl_.value_)}},
}}, {{
65535, 65535
}}, {{
// int32 value = 1;
{PROTOBUF_FIELD_OFFSET(Int32Value, _impl_.value_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kInt32)},
}},
// no aux_entries
{{
}},
};
::uint8_t* Int32Value::_InternalSerialize(
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Int32Value)
@ -1258,44 +1255,43 @@ PROTOBUF_NOINLINE void UInt32Value::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
const char* UInt32Value::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
while (!ctx->Done(&ptr)) {
::uint32_t tag;
ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// uint32 value = 1;
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
_impl_.value_ = ::google::protobuf::internal::ReadVarint32(&ptr);
CHK_(ptr);
} else {
goto handle_unusual;
}
continue;
default:
goto handle_unusual;
} // switch
handle_unusual:
if ((tag == 0) || ((tag & 7) == 4)) {
CHK_(ptr);
ctx->SetLastTag(tag);
goto message_done;
}
ptr = UnknownFieldParse(
tag,
_internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(),
ptr, ctx);
CHK_(ptr != nullptr);
} // while
message_done:
const char* UInt32Value::_InternalParse(
const char* ptr, ::_pbi::ParseContext* ctx) {
ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
return ptr;
failure:
ptr = nullptr;
goto message_done;
#undef CHK_
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 1, 0, 0, 2> UInt32Value::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
1, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967294, // skipmap
offsetof(decltype(_table_), field_entries),
1, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
&_UInt32Value_default_instance_._instance,
::_pbi::TcParser::GenericFallback, // fallback
}, {{
// uint32 value = 1;
{::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(UInt32Value, _impl_.value_), 63>(),
{8, 63, 0, PROTOBUF_FIELD_OFFSET(UInt32Value, _impl_.value_)}},
}}, {{
65535, 65535
}}, {{
// uint32 value = 1;
{PROTOBUF_FIELD_OFFSET(UInt32Value, _impl_.value_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
}},
// no aux_entries
{{
}},
};
::uint8_t* UInt32Value::_InternalSerialize(
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.UInt32Value)
@ -1428,44 +1424,43 @@ PROTOBUF_NOINLINE void BoolValue::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
const char* BoolValue::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
while (!ctx->Done(&ptr)) {
::uint32_t tag;
ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// bool value = 1;
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 8)) {
_impl_.value_ = ::google::protobuf::internal::ReadVarint64(&ptr);
CHK_(ptr);
} else {
goto handle_unusual;
}
continue;
default:
goto handle_unusual;
} // switch
handle_unusual:
if ((tag == 0) || ((tag & 7) == 4)) {
CHK_(ptr);
ctx->SetLastTag(tag);
goto message_done;
}
ptr = UnknownFieldParse(
tag,
_internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(),
ptr, ctx);
CHK_(ptr != nullptr);
} // while
message_done:
const char* BoolValue::_InternalParse(
const char* ptr, ::_pbi::ParseContext* ctx) {
ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
return ptr;
failure:
ptr = nullptr;
goto message_done;
#undef CHK_
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 1, 0, 0, 2> BoolValue::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
1, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967294, // skipmap
offsetof(decltype(_table_), field_entries),
1, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
&_BoolValue_default_instance_._instance,
::_pbi::TcParser::GenericFallback, // fallback
}, {{
// bool value = 1;
{::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(BoolValue, _impl_.value_), 63>(),
{8, 63, 0, PROTOBUF_FIELD_OFFSET(BoolValue, _impl_.value_)}},
}}, {{
65535, 65535
}}, {{
// bool value = 1;
{PROTOBUF_FIELD_OFFSET(BoolValue, _impl_.value_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kBool)},
}},
// no aux_entries
{{
}},
};
::uint8_t* BoolValue::_InternalSerialize(
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.BoolValue)
@ -1615,46 +1610,46 @@ PROTOBUF_NOINLINE void StringValue::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
const char* StringValue::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
while (!ctx->Done(&ptr)) {
::uint32_t tag;
ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// string value = 1;
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
auto str = _internal_mutable_value();
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
CHK_(::_pbi::VerifyUTF8(str, "google.protobuf.StringValue.value"));
} else {
goto handle_unusual;
}
continue;
default:
goto handle_unusual;
} // switch
handle_unusual:
if ((tag == 0) || ((tag & 7) == 4)) {
CHK_(ptr);
ctx->SetLastTag(tag);
goto message_done;
}
ptr = UnknownFieldParse(
tag,
_internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(),
ptr, ctx);
CHK_(ptr != nullptr);
} // while
message_done:
const char* StringValue::_InternalParse(
const char* ptr, ::_pbi::ParseContext* ctx) {
ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
return ptr;
failure:
ptr = nullptr;
goto message_done;
#undef CHK_
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 1, 0, 41, 2> StringValue::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
1, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967294, // skipmap
offsetof(decltype(_table_), field_entries),
1, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
&_StringValue_default_instance_._instance,
::_pbi::TcParser::GenericFallback, // fallback
}, {{
// string value = 1;
{::_pbi::TcParser::FastUS1,
{10, 63, 0, PROTOBUF_FIELD_OFFSET(StringValue, _impl_.value_)}},
}}, {{
65535, 65535
}}, {{
// string value = 1;
{PROTOBUF_FIELD_OFFSET(StringValue, _impl_.value_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
}},
// no aux_entries
{{
"\33\5\0\0\0\0\0\0"
"google.protobuf.StringValue"
"value"
}},
};
::uint8_t* StringValue::_InternalSerialize(
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.StringValue)
@ -1809,45 +1804,43 @@ PROTOBUF_NOINLINE void BytesValue::Clear() {
_internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
}
const char* BytesValue::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
while (!ctx->Done(&ptr)) {
::uint32_t tag;
ptr = ::_pbi::ReadTag(ptr, &tag);
switch (tag >> 3) {
// bytes value = 1;
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast<::uint8_t>(tag) == 10)) {
auto str = _internal_mutable_value();
ptr = ::_pbi::InlineGreedyStringParser(str, ptr, ctx);
CHK_(ptr);
} else {
goto handle_unusual;
}
continue;
default:
goto handle_unusual;
} // switch
handle_unusual:
if ((tag == 0) || ((tag & 7) == 4)) {
CHK_(ptr);
ctx->SetLastTag(tag);
goto message_done;
}
ptr = UnknownFieldParse(
tag,
_internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(),
ptr, ctx);
CHK_(ptr != nullptr);
} // while
message_done:
const char* BytesValue::_InternalParse(
const char* ptr, ::_pbi::ParseContext* ctx) {
ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
return ptr;
failure:
ptr = nullptr;
goto message_done;
#undef CHK_
}
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
const ::_pbi::TcParseTable<0, 1, 0, 0, 2> BytesValue::_table_ = {
{
0, // no _has_bits_
0, // no _extensions_
1, 0, // max_field_number, fast_idx_mask
offsetof(decltype(_table_), field_lookup_table),
4294967294, // skipmap
offsetof(decltype(_table_), field_entries),
1, // num_field_entries
0, // num_aux_entries
offsetof(decltype(_table_), field_names), // no aux_entries
&_BytesValue_default_instance_._instance,
::_pbi::TcParser::GenericFallback, // fallback
}, {{
// bytes value = 1;
{::_pbi::TcParser::FastBS1,
{10, 63, 0, PROTOBUF_FIELD_OFFSET(BytesValue, _impl_.value_)}},
}}, {{
65535, 65535
}}, {{
// bytes value = 1;
{PROTOBUF_FIELD_OFFSET(BytesValue, _impl_.value_), 0, 0,
(0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)},
}},
// no aux_entries
{{
}},
};
::uint8_t* BytesValue::_InternalSerialize(
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const {
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.BytesValue)

@ -24,6 +24,7 @@
#include "google/protobuf/io/coded_stream.h"
#include "google/protobuf/arena.h"
#include "google/protobuf/arenastring.h"
#include "google/protobuf/generated_message_tctable_decl.h"
#include "google/protobuf/generated_message_util.h"
#include "google/protobuf/metadata_lite.h"
#include "google/protobuf/generated_message_reflection.h"
@ -253,6 +254,8 @@ class PROTOBUF_EXPORT DoubleValue final :
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 1, 0, 0, 2> _table_;
template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
@ -407,6 +410,8 @@ class PROTOBUF_EXPORT FloatValue final :
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 1, 0, 0, 2> _table_;
template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
@ -561,6 +566,8 @@ class PROTOBUF_EXPORT Int64Value final :
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 1, 0, 0, 2> _table_;
template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
@ -715,6 +722,8 @@ class PROTOBUF_EXPORT UInt64Value final :
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 1, 0, 0, 2> _table_;
template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
@ -869,6 +878,8 @@ class PROTOBUF_EXPORT Int32Value final :
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 1, 0, 0, 2> _table_;
template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
@ -1023,6 +1034,8 @@ class PROTOBUF_EXPORT UInt32Value final :
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 1, 0, 0, 2> _table_;
template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
@ -1177,6 +1190,8 @@ class PROTOBUF_EXPORT BoolValue final :
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 1, 0, 0, 2> _table_;
template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
@ -1337,6 +1352,8 @@ class PROTOBUF_EXPORT StringValue final :
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 1, 0, 41, 2> _table_;
template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
@ -1497,6 +1514,8 @@ class PROTOBUF_EXPORT BytesValue final :
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 1, 0, 0, 2> _table_;
template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;

Loading…
Cancel
Save