17 #include <google/protobuf/port_def.inc>
22 PROTOBUF_NAMESPACE_OPEN
25 ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Api>
_instance;
29 ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Method>
_instance;
33 ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Mixin>
_instance;
35 PROTOBUF_NAMESPACE_CLOSE
44 PROTOBUF_NAMESPACE_ID::Api::InitAsDefaultInstance();
62 PROTOBUF_NAMESPACE_ID::Method::InitAsDefaultInstance();
77 PROTOBUF_NAMESPACE_ID::Mixin::InitAsDefaultInstance();
133 "\n\031google/protobuf/api.proto\022\017google.prot"
134 "obuf\032$google/protobuf/source_context.pro"
135 "to\032\032google/protobuf/type.proto\"\201\002\n\003Api\022\014"
136 "\n\004name\030\001 \001(\t\022(\n\007methods\030\002 \003(\0132\027.google.p"
137 "rotobuf.Method\022(\n\007options\030\003 \003(\0132\027.google"
138 ".protobuf.Option\022\017\n\007version\030\004 \001(\t\0226\n\016sou"
139 "rce_context\030\005 \001(\0132\036.google.protobuf.Sour"
140 "ceContext\022&\n\006mixins\030\006 \003(\0132\026.google.proto"
141 "buf.Mixin\022\'\n\006syntax\030\007 \001(\0162\027.google.proto"
142 "buf.Syntax\"\325\001\n\006Method\022\014\n\004name\030\001 \001(\t\022\030\n\020r"
143 "equest_type_url\030\002 \001(\t\022\031\n\021request_streami"
144 "ng\030\003 \001(\010\022\031\n\021response_type_url\030\004 \001(\t\022\032\n\022r"
145 "esponse_streaming\030\005 \001(\010\022(\n\007options\030\006 \003(\013"
146 "2\027.google.protobuf.Option\022\'\n\006syntax\030\007 \001("
147 "\0162\027.google.protobuf.Syntax\"#\n\005Mixin\022\014\n\004n"
148 "ame\030\001 \001(\t\022\014\n\004root\030\002 \001(\tBu\n\023com.google.pr"
149 "otobufB\010ApiProtoP\001Z+google.golang.org/ge"
150 "nproto/protobuf/api;api\242\002\003GPB\252\002\036Google.P"
151 "rotobuf.WellKnownTypesb\006proto3"
173 PROTOBUF_NAMESPACE_OPEN
179 PROTOBUF_NAMESPACE_ID::SourceContext::internal_default_instance());
205 : ::PROTOBUF_NAMESPACE_ID::Message(),
206 _internal_metadata_(nullptr),
207 methods_(from.methods_),
209 mixins_(from.mixins_) {
212 if (!from.
name().empty()) {
233 reinterpret_cast<char*
>(&
syntax_) -
261 (
void) cached_has_bits;
276 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
277 const char*
Api::_InternalParse(
const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
278 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
279 while (!ctx->Done(&ptr)) {
289 }
else goto handle_unusual;
299 if (!ctx->DataAvailable(ptr))
break;
300 }
while (::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::uint8>(ptr) == 18);
301 }
else goto handle_unusual;
311 if (!ctx->DataAvailable(ptr))
break;
312 }
while (::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::uint8>(ptr) == 26);
313 }
else goto handle_unusual;
320 }
else goto handle_unusual;
327 }
else goto handle_unusual;
337 if (!ctx->DataAvailable(ptr))
break;
338 }
while (::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::uint8>(ptr) == 50);
339 }
else goto handle_unusual;
347 }
else goto handle_unusual;
351 if ((tag & 7) == 4 || tag == 0) {
352 ctx->SetLastTag(tag);
356 CHK_(ptr !=
nullptr);
368 #else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
370 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream*
input) {
371 #define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
375 ::std::pair<::PROTOBUF_NAMESPACE_ID::uint32, bool>
p =
input->ReadTagWithCutoffNoLastTag(127u);
377 if (!
p.second)
goto handle_unusual;
378 switch (::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::GetTagFieldNumber(tag)) {
382 DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString(
384 DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
386 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE,
387 "google.protobuf.Api.name"));
397 DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage(
408 DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage(
419 DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString(
421 DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
423 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE,
424 "google.protobuf.Api.version"));
434 DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage(
445 DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage(
457 DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadPrimitive<
458 int, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM>(
486 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
489 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream*
output)
const {
492 (
void) cached_has_bits;
495 if (this->
name().size() > 0) {
496 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
498 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
499 "google.protobuf.Api.name");
500 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased(
501 1, this->
name(), output);
505 for (
unsigned int i = 0,
507 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteMessageMaybeToArray(
514 for (
unsigned int i = 0,
516 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteMessageMaybeToArray(
524 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
526 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
527 "google.protobuf.Api.version");
528 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased(
534 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteMessageMaybeToArray(
539 for (
unsigned int i = 0,
541 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteMessageMaybeToArray(
543 this->
mixins(
static_cast<int>(
i)),
548 if (this->
syntax() != 0) {
549 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnum(
550 7, this->
syntax(), output);
554 ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFields(
564 (
void) cached_has_bits;
567 if (this->
name().size() > 0) {
568 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
570 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
571 "google.protobuf.Api.name");
573 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray(
574 1, this->
name(), target);
578 for (
unsigned int i = 0,
580 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
581 InternalWriteMessageToArray(
582 2, this->
methods(
static_cast<int>(
i)), target);
586 for (
unsigned int i = 0,
588 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
589 InternalWriteMessageToArray(
590 3, this->
options(
static_cast<int>(
i)), target);
595 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
597 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
598 "google.protobuf.Api.version");
600 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray(
606 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
607 InternalWriteMessageToArray(
612 for (
unsigned int i = 0,
614 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
615 InternalWriteMessageToArray(
616 6, this->
mixins(
static_cast<int>(
i)), target);
620 if (this->
syntax() != 0) {
621 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
622 7, this->
syntax(), target);
626 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFieldsToArray(
635 size_t total_size = 0;
639 ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::ComputeUnknownFieldsSize(
644 (
void) cached_has_bits;
649 total_size += 1UL *
count;
650 for (
unsigned int i = 0;
i <
count;
i++) {
652 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
653 this->
methods(
static_cast<int>(
i)));
660 total_size += 1UL *
count;
661 for (
unsigned int i = 0;
i <
count;
i++) {
663 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
664 this->
options(
static_cast<int>(
i)));
671 total_size += 1UL *
count;
672 for (
unsigned int i = 0;
i <
count;
i++) {
674 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
675 this->
mixins(
static_cast<int>(
i)));
682 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
689 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
696 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
701 if (this->
syntax() != 0) {
703 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->
syntax());
715 ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Api>(
731 (
void) cached_has_bits;
736 if (from.
name().size() > 0) {
740 if (from.
version().size() > 0) {
754 if (&from ==
this)
return;
761 if (&from ==
this)
return;
801 : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
806 : ::PROTOBUF_NAMESPACE_ID::Message(),
807 _internal_metadata_(nullptr),
811 if (!from.
name().empty()) {
823 static_cast<size_t>(
reinterpret_cast<char*
>(&
syntax_) -
834 reinterpret_cast<char*
>(&
syntax_) -
862 (
void) cached_has_bits;
869 reinterpret_cast<char*
>(&
syntax_) -
874 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
875 const char*
Method::_InternalParse(
const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
876 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
877 while (!ctx->Done(&ptr)) {
887 }
else goto handle_unusual;
894 }
else goto handle_unusual;
901 }
else goto handle_unusual;
908 }
else goto handle_unusual;
915 }
else goto handle_unusual;
925 if (!ctx->DataAvailable(ptr))
break;
926 }
while (::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::uint8>(ptr) == 50);
927 }
else goto handle_unusual;
935 }
else goto handle_unusual;
939 if ((tag & 7) == 4 || tag == 0) {
940 ctx->SetLastTag(tag);
944 CHK_(ptr !=
nullptr);
956 #else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
958 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream*
input) {
959 #define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
963 ::std::pair<::PROTOBUF_NAMESPACE_ID::uint32, bool>
p =
input->ReadTagWithCutoffNoLastTag(127u);
965 if (!
p.second)
goto handle_unusual;
966 switch (::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::GetTagFieldNumber(tag)) {
970 DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString(
972 DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
974 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE,
975 "google.protobuf.Method.name"));
985 DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString(
987 DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
989 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE,
990 "google.protobuf.Method.request_type_url"));
1001 DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadPrimitive<
1002 bool, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_BOOL>(
1005 goto handle_unusual;
1013 DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString(
1015 DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1017 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE,
1018 "google.protobuf.Method.response_type_url"));
1020 goto handle_unusual;
1029 DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadPrimitive<
1030 bool, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_BOOL>(
1033 goto handle_unusual;
1041 DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage(
1044 goto handle_unusual;
1053 DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadPrimitive<
1054 int, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM>(
1058 goto handle_unusual;
1082 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1085 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream*
output)
const {
1088 (
void) cached_has_bits;
1091 if (this->
name().size() > 0) {
1092 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1094 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1095 "google.protobuf.Method.name");
1096 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased(
1097 1, this->
name(), output);
1102 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1104 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1105 "google.protobuf.Method.request_type_url");
1106 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased(
1112 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBool(3, this->
request_streaming(), output);
1117 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1119 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1120 "google.protobuf.Method.response_type_url");
1121 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased(
1127 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBool(5, this->
response_streaming(), output);
1131 for (
unsigned int i = 0,
1133 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteMessageMaybeToArray(
1135 this->
options(
static_cast<int>(
i)),
1140 if (this->
syntax() != 0) {
1141 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnum(
1142 7, this->
syntax(), output);
1146 ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFields(
1156 (
void) cached_has_bits;
1159 if (this->
name().size() > 0) {
1160 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1162 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1163 "google.protobuf.Method.name");
1165 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray(
1166 1, this->
name(), target);
1171 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1173 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1174 "google.protobuf.Method.request_type_url");
1176 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray(
1182 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->
request_streaming(), target);
1187 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1189 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1190 "google.protobuf.Method.response_type_url");
1192 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray(
1198 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(5, this->
response_streaming(), target);
1202 for (
unsigned int i = 0,
1204 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
1205 InternalWriteMessageToArray(
1206 6, this->
options(
static_cast<int>(
i)), target);
1210 if (this->
syntax() != 0) {
1211 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
1212 7, this->
syntax(), target);
1216 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFieldsToArray(
1225 size_t total_size = 0;
1229 ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::ComputeUnknownFieldsSize(
1234 (
void) cached_has_bits;
1239 total_size += 1UL *
count;
1240 for (
unsigned int i = 0;
i <
count;
i++) {
1242 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
1243 this->
options(
static_cast<int>(
i)));
1250 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1257 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1264 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1270 total_size += 1 + 1;
1275 total_size += 1 + 1;
1279 if (this->
syntax() != 0) {
1281 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->
syntax());
1293 ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Method>(
1309 (
void) cached_has_bits;
1312 if (from.
name().size() > 0) {
1330 if (from.
syntax() != 0) {
1337 if (&from ==
this)
return;
1344 if (&from ==
this)
return;
1382 : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
1387 : ::PROTOBUF_NAMESPACE_ID::Message(),
1388 _internal_metadata_(nullptr) {
1391 if (!from.
name().empty()) {
1395 if (!from.
root().empty()) {
1430 (
void) cached_has_bits;
1437 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1438 const char*
Mixin::_InternalParse(
const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
1439 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
1440 while (!ctx->Done(&ptr)) {
1450 }
else goto handle_unusual;
1457 }
else goto handle_unusual;
1461 if ((tag & 7) == 4 || tag == 0) {
1462 ctx->SetLastTag(tag);
1466 CHK_(ptr !=
nullptr);
1478 #else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1480 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream*
input) {
1481 #define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
1485 ::std::pair<::PROTOBUF_NAMESPACE_ID::uint32, bool>
p =
input->ReadTagWithCutoffNoLastTag(127u);
1487 if (!
p.second)
goto handle_unusual;
1488 switch (::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::GetTagFieldNumber(tag)) {
1492 DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString(
1494 DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1496 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE,
1497 "google.protobuf.Mixin.name"));
1499 goto handle_unusual;
1507 DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadString(
1509 DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1511 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE,
1512 "google.protobuf.Mixin.root"));
1514 goto handle_unusual;
1538 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1541 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream*
output)
const {
1544 (
void) cached_has_bits;
1547 if (this->
name().size() > 0) {
1548 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1550 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1551 "google.protobuf.Mixin.name");
1552 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased(
1553 1, this->
name(), output);
1558 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1560 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1561 "google.protobuf.Mixin.root");
1562 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringMaybeAliased(
1563 2, this->
root(), output);
1567 ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFields(
1577 (
void) cached_has_bits;
1580 if (this->
name().size() > 0) {
1581 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1583 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1584 "google.protobuf.Mixin.name");
1586 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray(
1587 1, this->
name(), target);
1592 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1594 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1595 "google.protobuf.Mixin.root");
1597 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteStringToArray(
1598 2, this->
root(), target);
1602 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFieldsToArray(
1611 size_t total_size = 0;
1615 ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::ComputeUnknownFieldsSize(
1620 (
void) cached_has_bits;
1623 if (this->
name().size() > 0) {
1625 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1632 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1645 ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Mixin>(
1661 (
void) cached_has_bits;
1663 if (from.
name().size() > 0) {
1667 if (from.
root().size() > 0) {
1675 if (&from ==
this)
return;
1682 if (&from ==
this)
return;
1706 PROTOBUF_NAMESPACE_CLOSE
1707 PROTOBUF_NAMESPACE_OPEN
1709 return Arena::CreateInternal< PROTOBUF_NAMESPACE_ID::Api >(arena);
1712 return Arena::CreateInternal< PROTOBUF_NAMESPACE_ID::Method >(arena);
1715 return Arena::CreateInternal< PROTOBUF_NAMESPACE_ID::Mixin >(arena);
1717 PROTOBUF_NAMESPACE_CLOSE
1720 #include <google/protobuf/port_undef.inc>