1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: google/protobuf/api.proto
3
4 #include <google/protobuf/api.pb.h>
5
6 #include <algorithm>
7
8 #include <google/protobuf/io/coded_stream.h>
9 #include <google/protobuf/extension_set.h>
10 #include <google/protobuf/wire_format_lite.h>
11 #include <google/protobuf/descriptor.h>
12 #include <google/protobuf/generated_message_reflection.h>
13 #include <google/protobuf/reflection_ops.h>
14 #include <google/protobuf/wire_format.h>
15 // @@protoc_insertion_point(includes)
16 #include <google/protobuf/port_def.inc>
17 extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fapi_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_Method_google_2fprotobuf_2fapi_2eproto;
18 extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fapi_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Mixin_google_2fprotobuf_2fapi_2eproto;
19 extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2ftype_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_Option_google_2fprotobuf_2ftype_2eproto;
20 extern PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fsource_5fcontext_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_SourceContext_google_2fprotobuf_2fsource_5fcontext_2eproto;
21 PROTOBUF_NAMESPACE_OPEN
22 class ApiDefaultTypeInternal {
23 public:
24 ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Api> _instance;
25 } _Api_default_instance_;
26 class MethodDefaultTypeInternal {
27 public:
28 ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Method> _instance;
29 } _Method_default_instance_;
30 class MixinDefaultTypeInternal {
31 public:
32 ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Mixin> _instance;
33 } _Mixin_default_instance_;
34 PROTOBUF_NAMESPACE_CLOSE
InitDefaultsscc_info_Api_google_2fprotobuf_2fapi_2eproto()35 static void InitDefaultsscc_info_Api_google_2fprotobuf_2fapi_2eproto() {
36 GOOGLE_PROTOBUF_VERIFY_VERSION;
37
38 {
39 void* ptr = &PROTOBUF_NAMESPACE_ID::_Api_default_instance_;
40 new (ptr) PROTOBUF_NAMESPACE_ID::Api();
41 ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
42 }
43 PROTOBUF_NAMESPACE_ID::Api::InitAsDefaultInstance();
44 }
45
46 PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<4> scc_info_Api_google_2fprotobuf_2fapi_2eproto =
47 {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 4, 0, InitDefaultsscc_info_Api_google_2fprotobuf_2fapi_2eproto}, {
48 &scc_info_Method_google_2fprotobuf_2fapi_2eproto.base,
49 &scc_info_Option_google_2fprotobuf_2ftype_2eproto.base,
50 &scc_info_SourceContext_google_2fprotobuf_2fsource_5fcontext_2eproto.base,
51 &scc_info_Mixin_google_2fprotobuf_2fapi_2eproto.base,}};
52
InitDefaultsscc_info_Method_google_2fprotobuf_2fapi_2eproto()53 static void InitDefaultsscc_info_Method_google_2fprotobuf_2fapi_2eproto() {
54 GOOGLE_PROTOBUF_VERIFY_VERSION;
55
56 {
57 void* ptr = &PROTOBUF_NAMESPACE_ID::_Method_default_instance_;
58 new (ptr) PROTOBUF_NAMESPACE_ID::Method();
59 ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
60 }
61 PROTOBUF_NAMESPACE_ID::Method::InitAsDefaultInstance();
62 }
63
64 PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_Method_google_2fprotobuf_2fapi_2eproto =
65 {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_Method_google_2fprotobuf_2fapi_2eproto}, {
66 &scc_info_Option_google_2fprotobuf_2ftype_2eproto.base,}};
67
InitDefaultsscc_info_Mixin_google_2fprotobuf_2fapi_2eproto()68 static void InitDefaultsscc_info_Mixin_google_2fprotobuf_2fapi_2eproto() {
69 GOOGLE_PROTOBUF_VERIFY_VERSION;
70
71 {
72 void* ptr = &PROTOBUF_NAMESPACE_ID::_Mixin_default_instance_;
73 new (ptr) PROTOBUF_NAMESPACE_ID::Mixin();
74 ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
75 }
76 PROTOBUF_NAMESPACE_ID::Mixin::InitAsDefaultInstance();
77 }
78
79 PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Mixin_google_2fprotobuf_2fapi_2eproto =
80 {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_Mixin_google_2fprotobuf_2fapi_2eproto}, {}};
81
82 static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_google_2fprotobuf_2fapi_2eproto[3];
83 static constexpr ::PROTOBUF_NAMESPACE_ID::EnumDescriptor const** file_level_enum_descriptors_google_2fprotobuf_2fapi_2eproto = nullptr;
84 static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_google_2fprotobuf_2fapi_2eproto = nullptr;
85
86 const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_google_2fprotobuf_2fapi_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
87 ~0u, // no _has_bits_
88 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Api, _internal_metadata_),
89 ~0u, // no _extensions_
90 ~0u, // no _oneof_case_
91 ~0u, // no _weak_field_map_
92 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Api, name_),
93 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Api, methods_),
94 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Api, options_),
95 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Api, version_),
96 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Api, source_context_),
97 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Api, mixins_),
98 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Api, syntax_),
99 ~0u, // no _has_bits_
100 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Method, _internal_metadata_),
101 ~0u, // no _extensions_
102 ~0u, // no _oneof_case_
103 ~0u, // no _weak_field_map_
104 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Method, name_),
105 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Method, request_type_url_),
106 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Method, request_streaming_),
107 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Method, response_type_url_),
108 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Method, response_streaming_),
109 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Method, options_),
110 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Method, syntax_),
111 ~0u, // no _has_bits_
112 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Mixin, _internal_metadata_),
113 ~0u, // no _extensions_
114 ~0u, // no _oneof_case_
115 ~0u, // no _weak_field_map_
116 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Mixin, name_),
117 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Mixin, root_),
118 };
119 static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
120 { 0, -1, sizeof(PROTOBUF_NAMESPACE_ID::Api)},
121 { 12, -1, sizeof(PROTOBUF_NAMESPACE_ID::Method)},
122 { 24, -1, sizeof(PROTOBUF_NAMESPACE_ID::Mixin)},
123 };
124
125 static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = {
126 reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_Api_default_instance_),
127 reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_Method_default_instance_),
128 reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&PROTOBUF_NAMESPACE_ID::_Mixin_default_instance_),
129 };
130
131 const char descriptor_table_protodef_google_2fprotobuf_2fapi_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
132 "\n\031google/protobuf/api.proto\022\017google.prot"
133 "obuf\032$google/protobuf/source_context.pro"
134 "to\032\032google/protobuf/type.proto\"\201\002\n\003Api\022\014"
135 "\n\004name\030\001 \001(\t\022(\n\007methods\030\002 \003(\0132\027.google.p"
136 "rotobuf.Method\022(\n\007options\030\003 \003(\0132\027.google"
137 ".protobuf.Option\022\017\n\007version\030\004 \001(\t\0226\n\016sou"
138 "rce_context\030\005 \001(\0132\036.google.protobuf.Sour"
139 "ceContext\022&\n\006mixins\030\006 \003(\0132\026.google.proto"
140 "buf.Mixin\022\'\n\006syntax\030\007 \001(\0162\027.google.proto"
141 "buf.Syntax\"\325\001\n\006Method\022\014\n\004name\030\001 \001(\t\022\030\n\020r"
142 "equest_type_url\030\002 \001(\t\022\031\n\021request_streami"
143 "ng\030\003 \001(\010\022\031\n\021response_type_url\030\004 \001(\t\022\032\n\022r"
144 "esponse_streaming\030\005 \001(\010\022(\n\007options\030\006 \003(\013"
145 "2\027.google.protobuf.Option\022\'\n\006syntax\030\007 \001("
146 "\0162\027.google.protobuf.Syntax\"#\n\005Mixin\022\014\n\004n"
147 "ame\030\001 \001(\t\022\014\n\004root\030\002 \001(\tBu\n\023com.google.pr"
148 "otobufB\010ApiProtoP\001Z+google.golang.org/ge"
149 "nproto/protobuf/api;api\242\002\003GPB\252\002\036Google.P"
150 "rotobuf.WellKnownTypesb\006proto3"
151 ;
152 static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_google_2fprotobuf_2fapi_2eproto_deps[2] = {
153 &::descriptor_table_google_2fprotobuf_2fsource_5fcontext_2eproto,
154 &::descriptor_table_google_2fprotobuf_2ftype_2eproto,
155 };
156 static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_google_2fprotobuf_2fapi_2eproto_sccs[3] = {
157 &scc_info_Api_google_2fprotobuf_2fapi_2eproto.base,
158 &scc_info_Method_google_2fprotobuf_2fapi_2eproto.base,
159 &scc_info_Mixin_google_2fprotobuf_2fapi_2eproto.base,
160 };
161 static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_google_2fprotobuf_2fapi_2eproto_once;
162 const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fapi_2eproto = {
163 false, false, descriptor_table_protodef_google_2fprotobuf_2fapi_2eproto, "google/protobuf/api.proto", 750,
164 &descriptor_table_google_2fprotobuf_2fapi_2eproto_once, descriptor_table_google_2fprotobuf_2fapi_2eproto_sccs, descriptor_table_google_2fprotobuf_2fapi_2eproto_deps, 3, 2,
165 schemas, file_default_instances, TableStruct_google_2fprotobuf_2fapi_2eproto::offsets,
166 file_level_metadata_google_2fprotobuf_2fapi_2eproto, 3, file_level_enum_descriptors_google_2fprotobuf_2fapi_2eproto, file_level_service_descriptors_google_2fprotobuf_2fapi_2eproto,
167 };
168
169 // Force running AddDescriptors() at dynamic initialization time.
170 static bool dynamic_init_dummy_google_2fprotobuf_2fapi_2eproto = (static_cast<void>(::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_google_2fprotobuf_2fapi_2eproto)), true);
171 PROTOBUF_NAMESPACE_OPEN
172
173 // ===================================================================
174
InitAsDefaultInstance()175 void Api::InitAsDefaultInstance() {
176 PROTOBUF_NAMESPACE_ID::_Api_default_instance_._instance.get_mutable()->source_context_ = const_cast< PROTOBUF_NAMESPACE_ID::SourceContext*>(
177 PROTOBUF_NAMESPACE_ID::SourceContext::internal_default_instance());
178 }
179 class Api::_Internal {
180 public:
181 static const PROTOBUF_NAMESPACE_ID::SourceContext& source_context(const Api* msg);
182 };
183
184 const PROTOBUF_NAMESPACE_ID::SourceContext&
source_context(const Api * msg)185 Api::_Internal::source_context(const Api* msg) {
186 return *msg->source_context_;
187 }
clear_options()188 void Api::clear_options() {
189 options_.Clear();
190 }
clear_source_context()191 void Api::clear_source_context() {
192 if (GetArena() == nullptr && source_context_ != nullptr) {
193 delete source_context_;
194 }
195 source_context_ = nullptr;
196 }
Api(::PROTOBUF_NAMESPACE_ID::Arena * arena)197 Api::Api(::PROTOBUF_NAMESPACE_ID::Arena* arena)
198 : ::PROTOBUF_NAMESPACE_ID::Message(arena),
199 methods_(arena),
200 options_(arena),
201 mixins_(arena) {
202 SharedCtor();
203 RegisterArenaDtor(arena);
204 // @@protoc_insertion_point(arena_constructor:google.protobuf.Api)
205 }
Api(const Api & from)206 Api::Api(const Api& from)
207 : ::PROTOBUF_NAMESPACE_ID::Message(),
208 methods_(from.methods_),
209 options_(from.options_),
210 mixins_(from.mixins_) {
211 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
212 name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
213 if (!from._internal_name().empty()) {
214 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_name(),
215 GetArena());
216 }
217 version_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
218 if (!from._internal_version().empty()) {
219 version_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_version(),
220 GetArena());
221 }
222 if (from._internal_has_source_context()) {
223 source_context_ = new PROTOBUF_NAMESPACE_ID::SourceContext(*from.source_context_);
224 } else {
225 source_context_ = nullptr;
226 }
227 syntax_ = from.syntax_;
228 // @@protoc_insertion_point(copy_constructor:google.protobuf.Api)
229 }
230
SharedCtor()231 void Api::SharedCtor() {
232 ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Api_google_2fprotobuf_2fapi_2eproto.base);
233 name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
234 version_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
235 ::memset(&source_context_, 0, static_cast<size_t>(
236 reinterpret_cast<char*>(&syntax_) -
237 reinterpret_cast<char*>(&source_context_)) + sizeof(syntax_));
238 }
239
~Api()240 Api::~Api() {
241 // @@protoc_insertion_point(destructor:google.protobuf.Api)
242 SharedDtor();
243 _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
244 }
245
SharedDtor()246 void Api::SharedDtor() {
247 GOOGLE_DCHECK(GetArena() == nullptr);
248 name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
249 version_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
250 if (this != internal_default_instance()) delete source_context_;
251 }
252
ArenaDtor(void * object)253 void Api::ArenaDtor(void* object) {
254 Api* _this = reinterpret_cast< Api* >(object);
255 (void)_this;
256 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)257 void Api::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
258 }
SetCachedSize(int size) const259 void Api::SetCachedSize(int size) const {
260 _cached_size_.Set(size);
261 }
default_instance()262 const Api& Api::default_instance() {
263 ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Api_google_2fprotobuf_2fapi_2eproto.base);
264 return *internal_default_instance();
265 }
266
267
Clear()268 void Api::Clear() {
269 // @@protoc_insertion_point(message_clear_start:google.protobuf.Api)
270 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
271 // Prevent compiler warnings about cached_has_bits being unused
272 (void) cached_has_bits;
273
274 methods_.Clear();
275 options_.Clear();
276 mixins_.Clear();
277 name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
278 version_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
279 if (GetArena() == nullptr && source_context_ != nullptr) {
280 delete source_context_;
281 }
282 source_context_ = nullptr;
283 syntax_ = 0;
284 _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
285 }
286
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)287 const char* Api::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
288 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
289 ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena;
290 while (!ctx->Done(&ptr)) {
291 ::PROTOBUF_NAMESPACE_ID::uint32 tag;
292 ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
293 CHK_(ptr);
294 switch (tag >> 3) {
295 // string name = 1;
296 case 1:
297 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
298 auto str = _internal_mutable_name();
299 ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
300 CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.Api.name"));
301 CHK_(ptr);
302 } else goto handle_unusual;
303 continue;
304 // repeated .google.protobuf.Method methods = 2;
305 case 2:
306 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
307 ptr -= 1;
308 do {
309 ptr += 1;
310 ptr = ctx->ParseMessage(_internal_add_methods(), ptr);
311 CHK_(ptr);
312 if (!ctx->DataAvailable(ptr)) break;
313 } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr));
314 } else goto handle_unusual;
315 continue;
316 // repeated .google.protobuf.Option options = 3;
317 case 3:
318 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
319 ptr -= 1;
320 do {
321 ptr += 1;
322 ptr = ctx->ParseMessage(_internal_add_options(), ptr);
323 CHK_(ptr);
324 if (!ctx->DataAvailable(ptr)) break;
325 } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr));
326 } else goto handle_unusual;
327 continue;
328 // string version = 4;
329 case 4:
330 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
331 auto str = _internal_mutable_version();
332 ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
333 CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.Api.version"));
334 CHK_(ptr);
335 } else goto handle_unusual;
336 continue;
337 // .google.protobuf.SourceContext source_context = 5;
338 case 5:
339 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) {
340 ptr = ctx->ParseMessage(_internal_mutable_source_context(), ptr);
341 CHK_(ptr);
342 } else goto handle_unusual;
343 continue;
344 // repeated .google.protobuf.Mixin mixins = 6;
345 case 6:
346 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) {
347 ptr -= 1;
348 do {
349 ptr += 1;
350 ptr = ctx->ParseMessage(_internal_add_mixins(), ptr);
351 CHK_(ptr);
352 if (!ctx->DataAvailable(ptr)) break;
353 } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr));
354 } else goto handle_unusual;
355 continue;
356 // .google.protobuf.Syntax syntax = 7;
357 case 7:
358 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) {
359 ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
360 CHK_(ptr);
361 _internal_set_syntax(static_cast<PROTOBUF_NAMESPACE_ID::Syntax>(val));
362 } else goto handle_unusual;
363 continue;
364 default: {
365 handle_unusual:
366 if ((tag & 7) == 4 || tag == 0) {
367 ctx->SetLastTag(tag);
368 goto success;
369 }
370 ptr = UnknownFieldParse(tag,
371 _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
372 ptr, ctx);
373 CHK_(ptr != nullptr);
374 continue;
375 }
376 } // switch
377 } // while
378 success:
379 return ptr;
380 failure:
381 ptr = nullptr;
382 goto success;
383 #undef CHK_
384 }
385
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const386 ::PROTOBUF_NAMESPACE_ID::uint8* Api::_InternalSerialize(
387 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
388 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Api)
389 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
390 (void) cached_has_bits;
391
392 // string name = 1;
393 if (this->name().size() > 0) {
394 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
395 this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
396 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
397 "google.protobuf.Api.name");
398 target = stream->WriteStringMaybeAliased(
399 1, this->_internal_name(), target);
400 }
401
402 // repeated .google.protobuf.Method methods = 2;
403 for (unsigned int i = 0,
404 n = static_cast<unsigned int>(this->_internal_methods_size()); i < n; i++) {
405 target = stream->EnsureSpace(target);
406 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
407 InternalWriteMessage(2, this->_internal_methods(i), target, stream);
408 }
409
410 // repeated .google.protobuf.Option options = 3;
411 for (unsigned int i = 0,
412 n = static_cast<unsigned int>(this->_internal_options_size()); i < n; i++) {
413 target = stream->EnsureSpace(target);
414 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
415 InternalWriteMessage(3, this->_internal_options(i), target, stream);
416 }
417
418 // string version = 4;
419 if (this->version().size() > 0) {
420 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
421 this->_internal_version().data(), static_cast<int>(this->_internal_version().length()),
422 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
423 "google.protobuf.Api.version");
424 target = stream->WriteStringMaybeAliased(
425 4, this->_internal_version(), target);
426 }
427
428 // .google.protobuf.SourceContext source_context = 5;
429 if (this->has_source_context()) {
430 target = stream->EnsureSpace(target);
431 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
432 InternalWriteMessage(
433 5, _Internal::source_context(this), target, stream);
434 }
435
436 // repeated .google.protobuf.Mixin mixins = 6;
437 for (unsigned int i = 0,
438 n = static_cast<unsigned int>(this->_internal_mixins_size()); i < n; i++) {
439 target = stream->EnsureSpace(target);
440 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
441 InternalWriteMessage(6, this->_internal_mixins(i), target, stream);
442 }
443
444 // .google.protobuf.Syntax syntax = 7;
445 if (this->syntax() != 0) {
446 target = stream->EnsureSpace(target);
447 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
448 7, this->_internal_syntax(), target);
449 }
450
451 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
452 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
453 _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
454 }
455 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Api)
456 return target;
457 }
458
ByteSizeLong() const459 size_t Api::ByteSizeLong() const {
460 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.Api)
461 size_t total_size = 0;
462
463 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
464 // Prevent compiler warnings about cached_has_bits being unused
465 (void) cached_has_bits;
466
467 // repeated .google.protobuf.Method methods = 2;
468 total_size += 1UL * this->_internal_methods_size();
469 for (const auto& msg : this->methods_) {
470 total_size +=
471 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
472 }
473
474 // repeated .google.protobuf.Option options = 3;
475 total_size += 1UL * this->_internal_options_size();
476 for (const auto& msg : this->options_) {
477 total_size +=
478 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
479 }
480
481 // repeated .google.protobuf.Mixin mixins = 6;
482 total_size += 1UL * this->_internal_mixins_size();
483 for (const auto& msg : this->mixins_) {
484 total_size +=
485 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
486 }
487
488 // string name = 1;
489 if (this->name().size() > 0) {
490 total_size += 1 +
491 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
492 this->_internal_name());
493 }
494
495 // string version = 4;
496 if (this->version().size() > 0) {
497 total_size += 1 +
498 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
499 this->_internal_version());
500 }
501
502 // .google.protobuf.SourceContext source_context = 5;
503 if (this->has_source_context()) {
504 total_size += 1 +
505 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
506 *source_context_);
507 }
508
509 // .google.protobuf.Syntax syntax = 7;
510 if (this->syntax() != 0) {
511 total_size += 1 +
512 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_syntax());
513 }
514
515 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
516 return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
517 _internal_metadata_, total_size, &_cached_size_);
518 }
519 int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
520 SetCachedSize(cached_size);
521 return total_size;
522 }
523
MergeFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)524 void Api::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
525 // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.Api)
526 GOOGLE_DCHECK_NE(&from, this);
527 const Api* source =
528 ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Api>(
529 &from);
530 if (source == nullptr) {
531 // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.Api)
532 ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
533 } else {
534 // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.Api)
535 MergeFrom(*source);
536 }
537 }
538
MergeFrom(const Api & from)539 void Api::MergeFrom(const Api& from) {
540 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Api)
541 GOOGLE_DCHECK_NE(&from, this);
542 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
543 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
544 (void) cached_has_bits;
545
546 methods_.MergeFrom(from.methods_);
547 options_.MergeFrom(from.options_);
548 mixins_.MergeFrom(from.mixins_);
549 if (from.name().size() > 0) {
550 _internal_set_name(from._internal_name());
551 }
552 if (from.version().size() > 0) {
553 _internal_set_version(from._internal_version());
554 }
555 if (from.has_source_context()) {
556 _internal_mutable_source_context()->PROTOBUF_NAMESPACE_ID::SourceContext::MergeFrom(from._internal_source_context());
557 }
558 if (from.syntax() != 0) {
559 _internal_set_syntax(from._internal_syntax());
560 }
561 }
562
CopyFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)563 void Api::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
564 // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.Api)
565 if (&from == this) return;
566 Clear();
567 MergeFrom(from);
568 }
569
CopyFrom(const Api & from)570 void Api::CopyFrom(const Api& from) {
571 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.Api)
572 if (&from == this) return;
573 Clear();
574 MergeFrom(from);
575 }
576
IsInitialized() const577 bool Api::IsInitialized() const {
578 return true;
579 }
580
InternalSwap(Api * other)581 void Api::InternalSwap(Api* other) {
582 using std::swap;
583 _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_);
584 methods_.InternalSwap(&other->methods_);
585 options_.InternalSwap(&other->options_);
586 mixins_.InternalSwap(&other->mixins_);
587 name_.Swap(&other->name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
588 version_.Swap(&other->version_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
589 ::PROTOBUF_NAMESPACE_ID::internal::memswap<
590 PROTOBUF_FIELD_OFFSET(Api, syntax_)
591 + sizeof(Api::syntax_)
592 - PROTOBUF_FIELD_OFFSET(Api, source_context_)>(
593 reinterpret_cast<char*>(&source_context_),
594 reinterpret_cast<char*>(&other->source_context_));
595 }
596
GetMetadata() const597 ::PROTOBUF_NAMESPACE_ID::Metadata Api::GetMetadata() const {
598 return GetMetadataStatic();
599 }
600
601
602 // ===================================================================
603
InitAsDefaultInstance()604 void Method::InitAsDefaultInstance() {
605 }
606 class Method::_Internal {
607 public:
608 };
609
clear_options()610 void Method::clear_options() {
611 options_.Clear();
612 }
Method(::PROTOBUF_NAMESPACE_ID::Arena * arena)613 Method::Method(::PROTOBUF_NAMESPACE_ID::Arena* arena)
614 : ::PROTOBUF_NAMESPACE_ID::Message(arena),
615 options_(arena) {
616 SharedCtor();
617 RegisterArenaDtor(arena);
618 // @@protoc_insertion_point(arena_constructor:google.protobuf.Method)
619 }
Method(const Method & from)620 Method::Method(const Method& from)
621 : ::PROTOBUF_NAMESPACE_ID::Message(),
622 options_(from.options_) {
623 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
624 name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
625 if (!from._internal_name().empty()) {
626 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_name(),
627 GetArena());
628 }
629 request_type_url_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
630 if (!from._internal_request_type_url().empty()) {
631 request_type_url_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_request_type_url(),
632 GetArena());
633 }
634 response_type_url_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
635 if (!from._internal_response_type_url().empty()) {
636 response_type_url_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_response_type_url(),
637 GetArena());
638 }
639 ::memcpy(&request_streaming_, &from.request_streaming_,
640 static_cast<size_t>(reinterpret_cast<char*>(&syntax_) -
641 reinterpret_cast<char*>(&request_streaming_)) + sizeof(syntax_));
642 // @@protoc_insertion_point(copy_constructor:google.protobuf.Method)
643 }
644
SharedCtor()645 void Method::SharedCtor() {
646 ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Method_google_2fprotobuf_2fapi_2eproto.base);
647 name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
648 request_type_url_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
649 response_type_url_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
650 ::memset(&request_streaming_, 0, static_cast<size_t>(
651 reinterpret_cast<char*>(&syntax_) -
652 reinterpret_cast<char*>(&request_streaming_)) + sizeof(syntax_));
653 }
654
~Method()655 Method::~Method() {
656 // @@protoc_insertion_point(destructor:google.protobuf.Method)
657 SharedDtor();
658 _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
659 }
660
SharedDtor()661 void Method::SharedDtor() {
662 GOOGLE_DCHECK(GetArena() == nullptr);
663 name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
664 request_type_url_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
665 response_type_url_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
666 }
667
ArenaDtor(void * object)668 void Method::ArenaDtor(void* object) {
669 Method* _this = reinterpret_cast< Method* >(object);
670 (void)_this;
671 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)672 void Method::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
673 }
SetCachedSize(int size) const674 void Method::SetCachedSize(int size) const {
675 _cached_size_.Set(size);
676 }
default_instance()677 const Method& Method::default_instance() {
678 ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Method_google_2fprotobuf_2fapi_2eproto.base);
679 return *internal_default_instance();
680 }
681
682
Clear()683 void Method::Clear() {
684 // @@protoc_insertion_point(message_clear_start:google.protobuf.Method)
685 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
686 // Prevent compiler warnings about cached_has_bits being unused
687 (void) cached_has_bits;
688
689 options_.Clear();
690 name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
691 request_type_url_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
692 response_type_url_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
693 ::memset(&request_streaming_, 0, static_cast<size_t>(
694 reinterpret_cast<char*>(&syntax_) -
695 reinterpret_cast<char*>(&request_streaming_)) + sizeof(syntax_));
696 _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
697 }
698
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)699 const char* Method::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
700 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
701 ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena;
702 while (!ctx->Done(&ptr)) {
703 ::PROTOBUF_NAMESPACE_ID::uint32 tag;
704 ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
705 CHK_(ptr);
706 switch (tag >> 3) {
707 // string name = 1;
708 case 1:
709 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
710 auto str = _internal_mutable_name();
711 ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
712 CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.Method.name"));
713 CHK_(ptr);
714 } else goto handle_unusual;
715 continue;
716 // string request_type_url = 2;
717 case 2:
718 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
719 auto str = _internal_mutable_request_type_url();
720 ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
721 CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.Method.request_type_url"));
722 CHK_(ptr);
723 } else goto handle_unusual;
724 continue;
725 // bool request_streaming = 3;
726 case 3:
727 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
728 request_streaming_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
729 CHK_(ptr);
730 } else goto handle_unusual;
731 continue;
732 // string response_type_url = 4;
733 case 4:
734 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) {
735 auto str = _internal_mutable_response_type_url();
736 ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
737 CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.Method.response_type_url"));
738 CHK_(ptr);
739 } else goto handle_unusual;
740 continue;
741 // bool response_streaming = 5;
742 case 5:
743 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) {
744 response_streaming_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
745 CHK_(ptr);
746 } else goto handle_unusual;
747 continue;
748 // repeated .google.protobuf.Option options = 6;
749 case 6:
750 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) {
751 ptr -= 1;
752 do {
753 ptr += 1;
754 ptr = ctx->ParseMessage(_internal_add_options(), ptr);
755 CHK_(ptr);
756 if (!ctx->DataAvailable(ptr)) break;
757 } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr));
758 } else goto handle_unusual;
759 continue;
760 // .google.protobuf.Syntax syntax = 7;
761 case 7:
762 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) {
763 ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
764 CHK_(ptr);
765 _internal_set_syntax(static_cast<PROTOBUF_NAMESPACE_ID::Syntax>(val));
766 } else goto handle_unusual;
767 continue;
768 default: {
769 handle_unusual:
770 if ((tag & 7) == 4 || tag == 0) {
771 ctx->SetLastTag(tag);
772 goto success;
773 }
774 ptr = UnknownFieldParse(tag,
775 _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
776 ptr, ctx);
777 CHK_(ptr != nullptr);
778 continue;
779 }
780 } // switch
781 } // while
782 success:
783 return ptr;
784 failure:
785 ptr = nullptr;
786 goto success;
787 #undef CHK_
788 }
789
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const790 ::PROTOBUF_NAMESPACE_ID::uint8* Method::_InternalSerialize(
791 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
792 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Method)
793 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
794 (void) cached_has_bits;
795
796 // string name = 1;
797 if (this->name().size() > 0) {
798 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
799 this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
800 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
801 "google.protobuf.Method.name");
802 target = stream->WriteStringMaybeAliased(
803 1, this->_internal_name(), target);
804 }
805
806 // string request_type_url = 2;
807 if (this->request_type_url().size() > 0) {
808 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
809 this->_internal_request_type_url().data(), static_cast<int>(this->_internal_request_type_url().length()),
810 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
811 "google.protobuf.Method.request_type_url");
812 target = stream->WriteStringMaybeAliased(
813 2, this->_internal_request_type_url(), target);
814 }
815
816 // bool request_streaming = 3;
817 if (this->request_streaming() != 0) {
818 target = stream->EnsureSpace(target);
819 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_request_streaming(), target);
820 }
821
822 // string response_type_url = 4;
823 if (this->response_type_url().size() > 0) {
824 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
825 this->_internal_response_type_url().data(), static_cast<int>(this->_internal_response_type_url().length()),
826 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
827 "google.protobuf.Method.response_type_url");
828 target = stream->WriteStringMaybeAliased(
829 4, this->_internal_response_type_url(), target);
830 }
831
832 // bool response_streaming = 5;
833 if (this->response_streaming() != 0) {
834 target = stream->EnsureSpace(target);
835 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(5, this->_internal_response_streaming(), target);
836 }
837
838 // repeated .google.protobuf.Option options = 6;
839 for (unsigned int i = 0,
840 n = static_cast<unsigned int>(this->_internal_options_size()); i < n; i++) {
841 target = stream->EnsureSpace(target);
842 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
843 InternalWriteMessage(6, this->_internal_options(i), target, stream);
844 }
845
846 // .google.protobuf.Syntax syntax = 7;
847 if (this->syntax() != 0) {
848 target = stream->EnsureSpace(target);
849 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
850 7, this->_internal_syntax(), target);
851 }
852
853 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
854 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
855 _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
856 }
857 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Method)
858 return target;
859 }
860
ByteSizeLong() const861 size_t Method::ByteSizeLong() const {
862 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.Method)
863 size_t total_size = 0;
864
865 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
866 // Prevent compiler warnings about cached_has_bits being unused
867 (void) cached_has_bits;
868
869 // repeated .google.protobuf.Option options = 6;
870 total_size += 1UL * this->_internal_options_size();
871 for (const auto& msg : this->options_) {
872 total_size +=
873 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
874 }
875
876 // string name = 1;
877 if (this->name().size() > 0) {
878 total_size += 1 +
879 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
880 this->_internal_name());
881 }
882
883 // string request_type_url = 2;
884 if (this->request_type_url().size() > 0) {
885 total_size += 1 +
886 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
887 this->_internal_request_type_url());
888 }
889
890 // string response_type_url = 4;
891 if (this->response_type_url().size() > 0) {
892 total_size += 1 +
893 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
894 this->_internal_response_type_url());
895 }
896
897 // bool request_streaming = 3;
898 if (this->request_streaming() != 0) {
899 total_size += 1 + 1;
900 }
901
902 // bool response_streaming = 5;
903 if (this->response_streaming() != 0) {
904 total_size += 1 + 1;
905 }
906
907 // .google.protobuf.Syntax syntax = 7;
908 if (this->syntax() != 0) {
909 total_size += 1 +
910 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_syntax());
911 }
912
913 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
914 return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
915 _internal_metadata_, total_size, &_cached_size_);
916 }
917 int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
918 SetCachedSize(cached_size);
919 return total_size;
920 }
921
MergeFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)922 void Method::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
923 // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.Method)
924 GOOGLE_DCHECK_NE(&from, this);
925 const Method* source =
926 ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Method>(
927 &from);
928 if (source == nullptr) {
929 // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.Method)
930 ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
931 } else {
932 // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.Method)
933 MergeFrom(*source);
934 }
935 }
936
MergeFrom(const Method & from)937 void Method::MergeFrom(const Method& from) {
938 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Method)
939 GOOGLE_DCHECK_NE(&from, this);
940 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
941 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
942 (void) cached_has_bits;
943
944 options_.MergeFrom(from.options_);
945 if (from.name().size() > 0) {
946 _internal_set_name(from._internal_name());
947 }
948 if (from.request_type_url().size() > 0) {
949 _internal_set_request_type_url(from._internal_request_type_url());
950 }
951 if (from.response_type_url().size() > 0) {
952 _internal_set_response_type_url(from._internal_response_type_url());
953 }
954 if (from.request_streaming() != 0) {
955 _internal_set_request_streaming(from._internal_request_streaming());
956 }
957 if (from.response_streaming() != 0) {
958 _internal_set_response_streaming(from._internal_response_streaming());
959 }
960 if (from.syntax() != 0) {
961 _internal_set_syntax(from._internal_syntax());
962 }
963 }
964
CopyFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)965 void Method::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
966 // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.Method)
967 if (&from == this) return;
968 Clear();
969 MergeFrom(from);
970 }
971
CopyFrom(const Method & from)972 void Method::CopyFrom(const Method& from) {
973 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.Method)
974 if (&from == this) return;
975 Clear();
976 MergeFrom(from);
977 }
978
IsInitialized() const979 bool Method::IsInitialized() const {
980 return true;
981 }
982
InternalSwap(Method * other)983 void Method::InternalSwap(Method* other) {
984 using std::swap;
985 _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_);
986 options_.InternalSwap(&other->options_);
987 name_.Swap(&other->name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
988 request_type_url_.Swap(&other->request_type_url_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
989 response_type_url_.Swap(&other->response_type_url_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
990 ::PROTOBUF_NAMESPACE_ID::internal::memswap<
991 PROTOBUF_FIELD_OFFSET(Method, syntax_)
992 + sizeof(Method::syntax_)
993 - PROTOBUF_FIELD_OFFSET(Method, request_streaming_)>(
994 reinterpret_cast<char*>(&request_streaming_),
995 reinterpret_cast<char*>(&other->request_streaming_));
996 }
997
GetMetadata() const998 ::PROTOBUF_NAMESPACE_ID::Metadata Method::GetMetadata() const {
999 return GetMetadataStatic();
1000 }
1001
1002
1003 // ===================================================================
1004
InitAsDefaultInstance()1005 void Mixin::InitAsDefaultInstance() {
1006 }
1007 class Mixin::_Internal {
1008 public:
1009 };
1010
Mixin(::PROTOBUF_NAMESPACE_ID::Arena * arena)1011 Mixin::Mixin(::PROTOBUF_NAMESPACE_ID::Arena* arena)
1012 : ::PROTOBUF_NAMESPACE_ID::Message(arena) {
1013 SharedCtor();
1014 RegisterArenaDtor(arena);
1015 // @@protoc_insertion_point(arena_constructor:google.protobuf.Mixin)
1016 }
Mixin(const Mixin & from)1017 Mixin::Mixin(const Mixin& from)
1018 : ::PROTOBUF_NAMESPACE_ID::Message() {
1019 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1020 name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1021 if (!from._internal_name().empty()) {
1022 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_name(),
1023 GetArena());
1024 }
1025 root_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1026 if (!from._internal_root().empty()) {
1027 root_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from._internal_root(),
1028 GetArena());
1029 }
1030 // @@protoc_insertion_point(copy_constructor:google.protobuf.Mixin)
1031 }
1032
SharedCtor()1033 void Mixin::SharedCtor() {
1034 ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Mixin_google_2fprotobuf_2fapi_2eproto.base);
1035 name_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1036 root_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1037 }
1038
~Mixin()1039 Mixin::~Mixin() {
1040 // @@protoc_insertion_point(destructor:google.protobuf.Mixin)
1041 SharedDtor();
1042 _internal_metadata_.Delete<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1043 }
1044
SharedDtor()1045 void Mixin::SharedDtor() {
1046 GOOGLE_DCHECK(GetArena() == nullptr);
1047 name_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1048 root_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1049 }
1050
ArenaDtor(void * object)1051 void Mixin::ArenaDtor(void* object) {
1052 Mixin* _this = reinterpret_cast< Mixin* >(object);
1053 (void)_this;
1054 }
RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *)1055 void Mixin::RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena*) {
1056 }
SetCachedSize(int size) const1057 void Mixin::SetCachedSize(int size) const {
1058 _cached_size_.Set(size);
1059 }
default_instance()1060 const Mixin& Mixin::default_instance() {
1061 ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Mixin_google_2fprotobuf_2fapi_2eproto.base);
1062 return *internal_default_instance();
1063 }
1064
1065
Clear()1066 void Mixin::Clear() {
1067 // @@protoc_insertion_point(message_clear_start:google.protobuf.Mixin)
1068 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1069 // Prevent compiler warnings about cached_has_bits being unused
1070 (void) cached_has_bits;
1071
1072 name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1073 root_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1074 _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1075 }
1076
_InternalParse(const char * ptr,::PROTOBUF_NAMESPACE_ID::internal::ParseContext * ctx)1077 const char* Mixin::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
1078 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
1079 ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena(); (void)arena;
1080 while (!ctx->Done(&ptr)) {
1081 ::PROTOBUF_NAMESPACE_ID::uint32 tag;
1082 ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
1083 CHK_(ptr);
1084 switch (tag >> 3) {
1085 // string name = 1;
1086 case 1:
1087 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) {
1088 auto str = _internal_mutable_name();
1089 ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
1090 CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.Mixin.name"));
1091 CHK_(ptr);
1092 } else goto handle_unusual;
1093 continue;
1094 // string root = 2;
1095 case 2:
1096 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) {
1097 auto str = _internal_mutable_root();
1098 ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str, ptr, ctx);
1099 CHK_(::PROTOBUF_NAMESPACE_ID::internal::VerifyUTF8(str, "google.protobuf.Mixin.root"));
1100 CHK_(ptr);
1101 } else goto handle_unusual;
1102 continue;
1103 default: {
1104 handle_unusual:
1105 if ((tag & 7) == 4 || tag == 0) {
1106 ctx->SetLastTag(tag);
1107 goto success;
1108 }
1109 ptr = UnknownFieldParse(tag,
1110 _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
1111 ptr, ctx);
1112 CHK_(ptr != nullptr);
1113 continue;
1114 }
1115 } // switch
1116 } // while
1117 success:
1118 return ptr;
1119 failure:
1120 ptr = nullptr;
1121 goto success;
1122 #undef CHK_
1123 }
1124
_InternalSerialize(::PROTOBUF_NAMESPACE_ID::uint8 * target,::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream * stream) const1125 ::PROTOBUF_NAMESPACE_ID::uint8* Mixin::_InternalSerialize(
1126 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
1127 // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Mixin)
1128 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1129 (void) cached_has_bits;
1130
1131 // string name = 1;
1132 if (this->name().size() > 0) {
1133 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1134 this->_internal_name().data(), static_cast<int>(this->_internal_name().length()),
1135 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1136 "google.protobuf.Mixin.name");
1137 target = stream->WriteStringMaybeAliased(
1138 1, this->_internal_name(), target);
1139 }
1140
1141 // string root = 2;
1142 if (this->root().size() > 0) {
1143 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(
1144 this->_internal_root().data(), static_cast<int>(this->_internal_root().length()),
1145 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE,
1146 "google.protobuf.Mixin.root");
1147 target = stream->WriteStringMaybeAliased(
1148 2, this->_internal_root(), target);
1149 }
1150
1151 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1152 target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray(
1153 _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
1154 }
1155 // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Mixin)
1156 return target;
1157 }
1158
ByteSizeLong() const1159 size_t Mixin::ByteSizeLong() const {
1160 // @@protoc_insertion_point(message_byte_size_start:google.protobuf.Mixin)
1161 size_t total_size = 0;
1162
1163 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1164 // Prevent compiler warnings about cached_has_bits being unused
1165 (void) cached_has_bits;
1166
1167 // string name = 1;
1168 if (this->name().size() > 0) {
1169 total_size += 1 +
1170 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1171 this->_internal_name());
1172 }
1173
1174 // string root = 2;
1175 if (this->root().size() > 0) {
1176 total_size += 1 +
1177 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
1178 this->_internal_root());
1179 }
1180
1181 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1182 return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize(
1183 _internal_metadata_, total_size, &_cached_size_);
1184 }
1185 int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
1186 SetCachedSize(cached_size);
1187 return total_size;
1188 }
1189
MergeFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)1190 void Mixin::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
1191 // @@protoc_insertion_point(generalized_merge_from_start:google.protobuf.Mixin)
1192 GOOGLE_DCHECK_NE(&from, this);
1193 const Mixin* source =
1194 ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Mixin>(
1195 &from);
1196 if (source == nullptr) {
1197 // @@protoc_insertion_point(generalized_merge_from_cast_fail:google.protobuf.Mixin)
1198 ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
1199 } else {
1200 // @@protoc_insertion_point(generalized_merge_from_cast_success:google.protobuf.Mixin)
1201 MergeFrom(*source);
1202 }
1203 }
1204
MergeFrom(const Mixin & from)1205 void Mixin::MergeFrom(const Mixin& from) {
1206 // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Mixin)
1207 GOOGLE_DCHECK_NE(&from, this);
1208 _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1209 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
1210 (void) cached_has_bits;
1211
1212 if (from.name().size() > 0) {
1213 _internal_set_name(from._internal_name());
1214 }
1215 if (from.root().size() > 0) {
1216 _internal_set_root(from._internal_root());
1217 }
1218 }
1219
CopyFrom(const::PROTOBUF_NAMESPACE_ID::Message & from)1220 void Mixin::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
1221 // @@protoc_insertion_point(generalized_copy_from_start:google.protobuf.Mixin)
1222 if (&from == this) return;
1223 Clear();
1224 MergeFrom(from);
1225 }
1226
CopyFrom(const Mixin & from)1227 void Mixin::CopyFrom(const Mixin& from) {
1228 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.Mixin)
1229 if (&from == this) return;
1230 Clear();
1231 MergeFrom(from);
1232 }
1233
IsInitialized() const1234 bool Mixin::IsInitialized() const {
1235 return true;
1236 }
1237
InternalSwap(Mixin * other)1238 void Mixin::InternalSwap(Mixin* other) {
1239 using std::swap;
1240 _internal_metadata_.Swap<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(&other->_internal_metadata_);
1241 name_.Swap(&other->name_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1242 root_.Swap(&other->root_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1243 }
1244
GetMetadata() const1245 ::PROTOBUF_NAMESPACE_ID::Metadata Mixin::GetMetadata() const {
1246 return GetMetadataStatic();
1247 }
1248
1249
1250 // @@protoc_insertion_point(namespace_scope)
1251 PROTOBUF_NAMESPACE_CLOSE
1252 PROTOBUF_NAMESPACE_OPEN
CreateMaybeMessage(Arena * arena)1253 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::Api* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::Api >(Arena* arena) {
1254 return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::Api >(arena);
1255 }
CreateMaybeMessage(Arena * arena)1256 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::Method* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::Method >(Arena* arena) {
1257 return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::Method >(arena);
1258 }
CreateMaybeMessage(Arena * arena)1259 template<> PROTOBUF_NOINLINE PROTOBUF_NAMESPACE_ID::Mixin* Arena::CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::Mixin >(Arena* arena) {
1260 return Arena::CreateMessageInternal< PROTOBUF_NAMESPACE_ID::Mixin >(arena);
1261 }
1262 PROTOBUF_NAMESPACE_CLOSE
1263
1264 // @@protoc_insertion_point(global_scope)
1265 #include <google/protobuf/port_undef.inc>
1266