1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: fetch_msg_types.proto
4 #include "fetch_msg_types.pb.h"
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/io/zero_copy_stream_impl_lite.h>
12 // @@protoc_insertion_point(includes)
13 #include <google/protobuf/port_def.inc>
14 extern PROTOBUF_INTERNAL_EXPORT_fetch_5fmsg_5ftypes_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo
<0> scc_info_Request_HeadersEntry_DoNotUse_fetch_5fmsg_5ftypes_2eproto
;
15 extern PROTOBUF_INTERNAL_EXPORT_fetch_5fmsg_5ftypes_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo
<0> scc_info_Response_HeadersEntry_DoNotUse_fetch_5fmsg_5ftypes_2eproto
;
17 namespace appservices
{
18 namespace httpconfig
{
20 class Request_HeadersEntry_DoNotUseDefaultTypeInternal
{
22 ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed
<Request_HeadersEntry_DoNotUse
> _instance
;
23 } _Request_HeadersEntry_DoNotUse_default_instance_
;
24 class RequestDefaultTypeInternal
{
26 ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed
<Request
> _instance
;
27 } _Request_default_instance_
;
28 class Response_HeadersEntry_DoNotUseDefaultTypeInternal
{
30 ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed
<Response_HeadersEntry_DoNotUse
> _instance
;
31 } _Response_HeadersEntry_DoNotUse_default_instance_
;
32 class ResponseDefaultTypeInternal
{
34 ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed
<Response
> _instance
;
35 } _Response_default_instance_
;
36 } // namespace protobuf
37 } // namespace httpconfig
38 } // namespace appservices
39 } // namespace mozilla
40 static void InitDefaultsscc_info_Request_fetch_5fmsg_5ftypes_2eproto() {
41 GOOGLE_PROTOBUF_VERIFY_VERSION
;
44 void* ptr
= &::mozilla::appservices::httpconfig::protobuf::_Request_default_instance_
;
45 new (ptr
) ::mozilla::appservices::httpconfig::protobuf::Request();
46 ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr
);
48 ::mozilla::appservices::httpconfig::protobuf::Request::InitAsDefaultInstance();
51 ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo
<1> scc_info_Request_fetch_5fmsg_5ftypes_2eproto
=
52 {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized
), 1, 0, InitDefaultsscc_info_Request_fetch_5fmsg_5ftypes_2eproto
}, {
53 &scc_info_Request_HeadersEntry_DoNotUse_fetch_5fmsg_5ftypes_2eproto
.base
,}};
55 static void InitDefaultsscc_info_Request_HeadersEntry_DoNotUse_fetch_5fmsg_5ftypes_2eproto() {
56 GOOGLE_PROTOBUF_VERIFY_VERSION
;
59 void* ptr
= &::mozilla::appservices::httpconfig::protobuf::_Request_HeadersEntry_DoNotUse_default_instance_
;
60 new (ptr
) ::mozilla::appservices::httpconfig::protobuf::Request_HeadersEntry_DoNotUse();
62 ::mozilla::appservices::httpconfig::protobuf::Request_HeadersEntry_DoNotUse::InitAsDefaultInstance();
65 ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo
<0> scc_info_Request_HeadersEntry_DoNotUse_fetch_5fmsg_5ftypes_2eproto
=
66 {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized
), 0, 0, InitDefaultsscc_info_Request_HeadersEntry_DoNotUse_fetch_5fmsg_5ftypes_2eproto
}, {}};
68 static void InitDefaultsscc_info_Response_fetch_5fmsg_5ftypes_2eproto() {
69 GOOGLE_PROTOBUF_VERIFY_VERSION
;
72 void* ptr
= &::mozilla::appservices::httpconfig::protobuf::_Response_default_instance_
;
73 new (ptr
) ::mozilla::appservices::httpconfig::protobuf::Response();
74 ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr
);
76 ::mozilla::appservices::httpconfig::protobuf::Response::InitAsDefaultInstance();
79 ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo
<1> scc_info_Response_fetch_5fmsg_5ftypes_2eproto
=
80 {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized
), 1, 0, InitDefaultsscc_info_Response_fetch_5fmsg_5ftypes_2eproto
}, {
81 &scc_info_Response_HeadersEntry_DoNotUse_fetch_5fmsg_5ftypes_2eproto
.base
,}};
83 static void InitDefaultsscc_info_Response_HeadersEntry_DoNotUse_fetch_5fmsg_5ftypes_2eproto() {
84 GOOGLE_PROTOBUF_VERIFY_VERSION
;
87 void* ptr
= &::mozilla::appservices::httpconfig::protobuf::_Response_HeadersEntry_DoNotUse_default_instance_
;
88 new (ptr
) ::mozilla::appservices::httpconfig::protobuf::Response_HeadersEntry_DoNotUse();
90 ::mozilla::appservices::httpconfig::protobuf::Response_HeadersEntry_DoNotUse::InitAsDefaultInstance();
93 ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo
<0> scc_info_Response_HeadersEntry_DoNotUse_fetch_5fmsg_5ftypes_2eproto
=
94 {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized
), 0, 0, InitDefaultsscc_info_Response_HeadersEntry_DoNotUse_fetch_5fmsg_5ftypes_2eproto
}, {}};
97 namespace appservices
{
98 namespace httpconfig
{
100 bool Request_Method_IsValid(int value
) {
116 static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed
<std::string
> Request_Method_strings
[8] = {};
118 static const char Request_Method_names
[] =
128 static const ::PROTOBUF_NAMESPACE_ID::internal::EnumEntry Request_Method_entries
[] = {
129 { {Request_Method_names
+ 0, 7}, 5 },
130 { {Request_Method_names
+ 7, 6}, 4 },
131 { {Request_Method_names
+ 13, 3}, 0 },
132 { {Request_Method_names
+ 16, 4}, 1 },
133 { {Request_Method_names
+ 20, 7}, 6 },
134 { {Request_Method_names
+ 27, 4}, 2 },
135 { {Request_Method_names
+ 31, 3}, 3 },
136 { {Request_Method_names
+ 34, 5}, 7 },
139 static const int Request_Method_entries_by_number
[] = {
150 const std::string
& Request_Method_Name(
151 Request_Method value
) {
152 static const bool dummy
=
153 ::PROTOBUF_NAMESPACE_ID::internal::InitializeEnumStrings(
154 Request_Method_entries
,
155 Request_Method_entries_by_number
,
156 8, Request_Method_strings
);
158 int idx
= ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumName(
159 Request_Method_entries
,
160 Request_Method_entries_by_number
,
162 return idx
== -1 ? ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString() :
163 Request_Method_strings
[idx
].get();
165 bool Request_Method_Parse(
166 const std::string
& name
, Request_Method
* value
) {
168 bool success
= ::PROTOBUF_NAMESPACE_ID::internal::LookUpEnumValue(
169 Request_Method_entries
, 8, name
, &int_value
);
171 *value
= static_cast<Request_Method
>(int_value
);
175 #if (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
176 constexpr Request_Method
Request::GET
;
177 constexpr Request_Method
Request::HEAD
;
178 constexpr Request_Method
Request::POST
;
179 constexpr Request_Method
Request::PUT
;
180 constexpr Request_Method
Request::DELETE
;
181 constexpr Request_Method
Request::CONNECT
;
182 constexpr Request_Method
Request::OPTIONS
;
183 constexpr Request_Method
Request::TRACE
;
184 constexpr Request_Method
Request::Method_MIN
;
185 constexpr Request_Method
Request::Method_MAX
;
186 constexpr int Request::Method_ARRAYSIZE
;
187 #endif // (__cplusplus < 201703) && (!defined(_MSC_VER) || _MSC_VER >= 1900)
189 // ===================================================================
191 Request_HeadersEntry_DoNotUse::Request_HeadersEntry_DoNotUse() {}
192 Request_HeadersEntry_DoNotUse::Request_HeadersEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena
* arena
)
193 : SuperType(arena
) {}
194 void Request_HeadersEntry_DoNotUse::MergeFrom(const Request_HeadersEntry_DoNotUse
& other
) {
195 MergeFromInternal(other
);
198 // ===================================================================
200 void Request::InitAsDefaultInstance() {
202 class Request::_Internal
{
204 using HasBits
= decltype(std::declval
<Request
>()._has_bits_
);
205 static void set_has_method(HasBits
* has_bits
) {
206 (*has_bits
)[0] |= 4u;
208 static void set_has_url(HasBits
* has_bits
) {
209 (*has_bits
)[0] |= 1u;
211 static void set_has_body(HasBits
* has_bits
) {
212 (*has_bits
)[0] |= 2u;
214 static void set_has_follow_redirects(HasBits
* has_bits
) {
215 (*has_bits
)[0] |= 8u;
217 static void set_has_use_caches(HasBits
* has_bits
) {
218 (*has_bits
)[0] |= 16u;
220 static void set_has_connect_timeout_secs(HasBits
* has_bits
) {
221 (*has_bits
)[0] |= 32u;
223 static void set_has_read_timeout_secs(HasBits
* has_bits
) {
224 (*has_bits
)[0] |= 64u;
229 : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _internal_metadata_(nullptr) {
231 // @@protoc_insertion_point(constructor:mozilla.appservices.httpconfig.protobuf.Request)
233 Request::Request(const Request
& from
)
234 : ::PROTOBUF_NAMESPACE_ID::MessageLite(),
235 _internal_metadata_(nullptr),
236 _has_bits_(from
._has_bits_
) {
237 _internal_metadata_
.MergeFrom(from
._internal_metadata_
);
238 headers_
.MergeFrom(from
.headers_
);
239 url_
.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
240 if (from
._internal_has_url()) {
241 url_
.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from
.url_
);
243 body_
.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
244 if (from
._internal_has_body()) {
245 body_
.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from
.body_
);
247 ::memcpy(&method_
, &from
.method_
,
248 static_cast<size_t>(reinterpret_cast<char*>(&read_timeout_secs_
) -
249 reinterpret_cast<char*>(&method_
)) + sizeof(read_timeout_secs_
));
250 // @@protoc_insertion_point(copy_constructor:mozilla.appservices.httpconfig.protobuf.Request)
253 void Request::SharedCtor() {
254 ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Request_fetch_5fmsg_5ftypes_2eproto
.base
);
255 url_
.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
256 body_
.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
257 ::memset(&method_
, 0, static_cast<size_t>(
258 reinterpret_cast<char*>(&read_timeout_secs_
) -
259 reinterpret_cast<char*>(&method_
)) + sizeof(read_timeout_secs_
));
262 Request::~Request() {
263 // @@protoc_insertion_point(destructor:mozilla.appservices.httpconfig.protobuf.Request)
267 void Request::SharedDtor() {
268 url_
.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
269 body_
.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
272 void Request::SetCachedSize(int size
) const {
273 _cached_size_
.Set(size
);
275 const Request
& Request::default_instance() {
276 ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Request_fetch_5fmsg_5ftypes_2eproto
.base
);
277 return *internal_default_instance();
281 void Request::Clear() {
282 // @@protoc_insertion_point(message_clear_start:mozilla.appservices.httpconfig.protobuf.Request)
283 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits
= 0;
284 // Prevent compiler warnings about cached_has_bits being unused
285 (void) cached_has_bits
;
288 cached_has_bits
= _has_bits_
[0];
289 if (cached_has_bits
& 0x00000003u
) {
290 if (cached_has_bits
& 0x00000001u
) {
291 url_
.ClearNonDefaultToEmptyNoArena();
293 if (cached_has_bits
& 0x00000002u
) {
294 body_
.ClearNonDefaultToEmptyNoArena();
297 if (cached_has_bits
& 0x0000007cu
) {
298 ::memset(&method_
, 0, static_cast<size_t>(
299 reinterpret_cast<char*>(&read_timeout_secs_
) -
300 reinterpret_cast<char*>(&method_
)) + sizeof(read_timeout_secs_
));
303 _internal_metadata_
.Clear();
306 const char* Request::_InternalParse(const char* ptr
, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext
* ctx
) {
307 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
308 _Internal::HasBits has_bits
{};
309 while (!ctx
->Done(&ptr
)) {
310 ::PROTOBUF_NAMESPACE_ID::uint32 tag
;
311 ptr
= ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr
, &tag
);
314 // required .mozilla.appservices.httpconfig.protobuf.Request.Method method = 1;
316 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag
) == 8)) {
317 ::PROTOBUF_NAMESPACE_ID::uint64 val
= ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr
);
319 if (PROTOBUF_PREDICT_TRUE(::mozilla::appservices::httpconfig::protobuf::Request_Method_IsValid(val
))) {
320 _internal_set_method(static_cast<::mozilla::appservices::httpconfig::protobuf::Request_Method
>(val
));
322 ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(1, val
, mutable_unknown_fields());
324 } else goto handle_unusual
;
326 // required string url = 2;
328 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag
) == 18)) {
329 auto str
= _internal_mutable_url();
330 ptr
= ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str
, ptr
, ctx
);
332 } else goto handle_unusual
;
334 // optional bytes body = 3;
336 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag
) == 26)) {
337 auto str
= _internal_mutable_body();
338 ptr
= ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str
, ptr
, ctx
);
340 } else goto handle_unusual
;
342 // map<string, string> headers = 4;
344 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag
) == 34)) {
348 ptr
= ctx
->ParseMessage(&headers_
, ptr
);
350 if (!ctx
->DataAvailable(ptr
)) break;
351 } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag
<34>(ptr
));
352 } else goto handle_unusual
;
354 // required bool follow_redirects = 5;
356 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag
) == 40)) {
357 _Internal::set_has_follow_redirects(&has_bits
);
358 follow_redirects_
= ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr
);
360 } else goto handle_unusual
;
362 // required bool use_caches = 6;
364 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag
) == 48)) {
365 _Internal::set_has_use_caches(&has_bits
);
366 use_caches_
= ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr
);
368 } else goto handle_unusual
;
370 // required int32 connect_timeout_secs = 7;
372 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag
) == 56)) {
373 _Internal::set_has_connect_timeout_secs(&has_bits
);
374 connect_timeout_secs_
= ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr
);
376 } else goto handle_unusual
;
378 // required int32 read_timeout_secs = 8;
380 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag
) == 64)) {
381 _Internal::set_has_read_timeout_secs(&has_bits
);
382 read_timeout_secs_
= ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr
);
384 } else goto handle_unusual
;
388 if ((tag
& 7) == 4 || tag
== 0) {
389 ctx
->SetLastTag(tag
);
392 ptr
= UnknownFieldParse(tag
, &_internal_metadata_
, ptr
, ctx
);
393 CHK_(ptr
!= nullptr);
399 _has_bits_
.Or(has_bits
);
407 ::PROTOBUF_NAMESPACE_ID::uint8
* Request::_InternalSerialize(
408 ::PROTOBUF_NAMESPACE_ID::uint8
* target
, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream
* stream
) const {
409 // @@protoc_insertion_point(serialize_to_array_start:mozilla.appservices.httpconfig.protobuf.Request)
410 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits
= 0;
411 (void) cached_has_bits
;
413 cached_has_bits
= _has_bits_
[0];
414 // required .mozilla.appservices.httpconfig.protobuf.Request.Method method = 1;
415 if (cached_has_bits
& 0x00000004u
) {
416 target
= stream
->EnsureSpace(target
);
417 target
= ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
418 1, this->_internal_method(), target
);
421 // required string url = 2;
422 if (cached_has_bits
& 0x00000001u
) {
423 target
= stream
->WriteStringMaybeAliased(
424 2, this->_internal_url(), target
);
427 // optional bytes body = 3;
428 if (cached_has_bits
& 0x00000002u
) {
429 target
= stream
->WriteBytesMaybeAliased(
430 3, this->_internal_body(), target
);
433 // map<string, string> headers = 4;
434 if (!this->_internal_headers().empty()) {
435 typedef ::PROTOBUF_NAMESPACE_ID::Map
< std::string
, std::string
>::const_pointer
437 typedef ConstPtr SortItem
;
438 typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst
<SortItem
> Less
;
440 static void Check(ConstPtr p
) {
444 if (stream
->IsSerializationDeterministic() &&
445 this->_internal_headers().size() > 1) {
446 ::std::unique_ptr
<SortItem
[]> items(
447 new SortItem
[this->_internal_headers().size()]);
448 typedef ::PROTOBUF_NAMESPACE_ID::Map
< std::string
, std::string
>::size_type size_type
;
450 for (::PROTOBUF_NAMESPACE_ID::Map
< std::string
, std::string
>::const_iterator
451 it
= this->_internal_headers().begin();
452 it
!= this->_internal_headers().end(); ++it
, ++n
) {
453 items
[static_cast<ptrdiff_t>(n
)] = SortItem(&*it
);
455 ::std::sort(&items
[0], &items
[static_cast<ptrdiff_t>(n
)], Less());
456 for (size_type i
= 0; i
< n
; i
++) {
457 target
= Request_HeadersEntry_DoNotUse::Funcs::InternalSerialize(4, items
[static_cast<ptrdiff_t>(i
)]->first
, items
[static_cast<ptrdiff_t>(i
)]->second
, target
, stream
);
458 Utf8Check::Check(&(*items
[static_cast<ptrdiff_t>(i
)]));
461 for (::PROTOBUF_NAMESPACE_ID::Map
< std::string
, std::string
>::const_iterator
462 it
= this->_internal_headers().begin();
463 it
!= this->_internal_headers().end(); ++it
) {
464 target
= Request_HeadersEntry_DoNotUse::Funcs::InternalSerialize(4, it
->first
, it
->second
, target
, stream
);
465 Utf8Check::Check(&(*it
));
470 // required bool follow_redirects = 5;
471 if (cached_has_bits
& 0x00000008u
) {
472 target
= stream
->EnsureSpace(target
);
473 target
= ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(5, this->_internal_follow_redirects(), target
);
476 // required bool use_caches = 6;
477 if (cached_has_bits
& 0x00000010u
) {
478 target
= stream
->EnsureSpace(target
);
479 target
= ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(6, this->_internal_use_caches(), target
);
482 // required int32 connect_timeout_secs = 7;
483 if (cached_has_bits
& 0x00000020u
) {
484 target
= stream
->EnsureSpace(target
);
485 target
= ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(7, this->_internal_connect_timeout_secs(), target
);
488 // required int32 read_timeout_secs = 8;
489 if (cached_has_bits
& 0x00000040u
) {
490 target
= stream
->EnsureSpace(target
);
491 target
= ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(8, this->_internal_read_timeout_secs(), target
);
494 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_
.have_unknown_fields())) {
495 target
= stream
->WriteRaw(_internal_metadata_
.unknown_fields().data(),
496 static_cast<int>(_internal_metadata_
.unknown_fields().size()), target
);
498 // @@protoc_insertion_point(serialize_to_array_end:mozilla.appservices.httpconfig.protobuf.Request)
502 size_t Request::RequiredFieldsByteSizeFallback() const {
503 // @@protoc_insertion_point(required_fields_byte_size_fallback_start:mozilla.appservices.httpconfig.protobuf.Request)
504 size_t total_size
= 0;
506 if (_internal_has_url()) {
507 // required string url = 2;
509 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
510 this->_internal_url());
513 if (_internal_has_method()) {
514 // required .mozilla.appservices.httpconfig.protobuf.Request.Method method = 1;
516 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_method());
519 if (_internal_has_follow_redirects()) {
520 // required bool follow_redirects = 5;
524 if (_internal_has_use_caches()) {
525 // required bool use_caches = 6;
529 if (_internal_has_connect_timeout_secs()) {
530 // required int32 connect_timeout_secs = 7;
532 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
533 this->_internal_connect_timeout_secs());
536 if (_internal_has_read_timeout_secs()) {
537 // required int32 read_timeout_secs = 8;
539 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
540 this->_internal_read_timeout_secs());
545 size_t Request::ByteSizeLong() const {
546 // @@protoc_insertion_point(message_byte_size_start:mozilla.appservices.httpconfig.protobuf.Request)
547 size_t total_size
= 0;
549 if (((_has_bits_
[0] & 0x0000007d) ^ 0x0000007d) == 0) { // All required fields are present.
550 // required string url = 2;
552 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
553 this->_internal_url());
555 // required .mozilla.appservices.httpconfig.protobuf.Request.Method method = 1;
557 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->_internal_method());
559 // required bool follow_redirects = 5;
562 // required bool use_caches = 6;
565 // required int32 connect_timeout_secs = 7;
567 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
568 this->_internal_connect_timeout_secs());
570 // required int32 read_timeout_secs = 8;
572 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
573 this->_internal_read_timeout_secs());
576 total_size
+= RequiredFieldsByteSizeFallback();
578 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits
= 0;
579 // Prevent compiler warnings about cached_has_bits being unused
580 (void) cached_has_bits
;
582 // map<string, string> headers = 4;
584 ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_headers_size());
585 for (::PROTOBUF_NAMESPACE_ID::Map
< std::string
, std::string
>::const_iterator
586 it
= this->_internal_headers().begin();
587 it
!= this->_internal_headers().end(); ++it
) {
588 total_size
+= Request_HeadersEntry_DoNotUse::Funcs::ByteSizeLong(it
->first
, it
->second
);
591 // optional bytes body = 3;
592 cached_has_bits
= _has_bits_
[0];
593 if (cached_has_bits
& 0x00000002u
) {
595 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(
596 this->_internal_body());
599 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_
.have_unknown_fields())) {
600 total_size
+= _internal_metadata_
.unknown_fields().size();
602 int cached_size
= ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size
);
603 SetCachedSize(cached_size
);
607 void Request::CheckTypeAndMergeFrom(
608 const ::PROTOBUF_NAMESPACE_ID::MessageLite
& from
) {
609 MergeFrom(*::PROTOBUF_NAMESPACE_ID::internal::DownCast
<const Request
*>(
613 void Request::MergeFrom(const Request
& from
) {
614 // @@protoc_insertion_point(class_specific_merge_from_start:mozilla.appservices.httpconfig.protobuf.Request)
615 GOOGLE_DCHECK_NE(&from
, this);
616 _internal_metadata_
.MergeFrom(from
._internal_metadata_
);
617 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits
= 0;
618 (void) cached_has_bits
;
620 headers_
.MergeFrom(from
.headers_
);
621 cached_has_bits
= from
._has_bits_
[0];
622 if (cached_has_bits
& 0x0000007fu
) {
623 if (cached_has_bits
& 0x00000001u
) {
624 _has_bits_
[0] |= 0x00000001u
;
625 url_
.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from
.url_
);
627 if (cached_has_bits
& 0x00000002u
) {
628 _has_bits_
[0] |= 0x00000002u
;
629 body_
.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from
.body_
);
631 if (cached_has_bits
& 0x00000004u
) {
632 method_
= from
.method_
;
634 if (cached_has_bits
& 0x00000008u
) {
635 follow_redirects_
= from
.follow_redirects_
;
637 if (cached_has_bits
& 0x00000010u
) {
638 use_caches_
= from
.use_caches_
;
640 if (cached_has_bits
& 0x00000020u
) {
641 connect_timeout_secs_
= from
.connect_timeout_secs_
;
643 if (cached_has_bits
& 0x00000040u
) {
644 read_timeout_secs_
= from
.read_timeout_secs_
;
646 _has_bits_
[0] |= cached_has_bits
;
650 void Request::CopyFrom(const Request
& from
) {
651 // @@protoc_insertion_point(class_specific_copy_from_start:mozilla.appservices.httpconfig.protobuf.Request)
652 if (&from
== this) return;
657 bool Request::IsInitialized() const {
658 if ((_has_bits_
[0] & 0x0000007d) != 0x0000007d) return false;
662 void Request::InternalSwap(Request
* other
) {
664 _internal_metadata_
.Swap(&other
->_internal_metadata_
);
665 swap(_has_bits_
[0], other
->_has_bits_
[0]);
666 headers_
.Swap(&other
->headers_
);
667 url_
.Swap(&other
->url_
, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
668 GetArenaNoVirtual());
669 body_
.Swap(&other
->body_
, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
670 GetArenaNoVirtual());
671 swap(method_
, other
->method_
);
672 swap(follow_redirects_
, other
->follow_redirects_
);
673 swap(use_caches_
, other
->use_caches_
);
674 swap(connect_timeout_secs_
, other
->connect_timeout_secs_
);
675 swap(read_timeout_secs_
, other
->read_timeout_secs_
);
678 std::string
Request::GetTypeName() const {
679 return "mozilla.appservices.httpconfig.protobuf.Request";
683 // ===================================================================
685 Response_HeadersEntry_DoNotUse::Response_HeadersEntry_DoNotUse() {}
686 Response_HeadersEntry_DoNotUse::Response_HeadersEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena
* arena
)
687 : SuperType(arena
) {}
688 void Response_HeadersEntry_DoNotUse::MergeFrom(const Response_HeadersEntry_DoNotUse
& other
) {
689 MergeFromInternal(other
);
692 // ===================================================================
694 void Response::InitAsDefaultInstance() {
696 class Response::_Internal
{
698 using HasBits
= decltype(std::declval
<Response
>()._has_bits_
);
699 static void set_has_exception_message(HasBits
* has_bits
) {
700 (*has_bits
)[0] |= 1u;
702 static void set_has_url(HasBits
* has_bits
) {
703 (*has_bits
)[0] |= 2u;
705 static void set_has_status(HasBits
* has_bits
) {
706 (*has_bits
)[0] |= 8u;
708 static void set_has_body(HasBits
* has_bits
) {
709 (*has_bits
)[0] |= 4u;
714 : ::PROTOBUF_NAMESPACE_ID::MessageLite(), _internal_metadata_(nullptr) {
716 // @@protoc_insertion_point(constructor:mozilla.appservices.httpconfig.protobuf.Response)
718 Response::Response(const Response
& from
)
719 : ::PROTOBUF_NAMESPACE_ID::MessageLite(),
720 _internal_metadata_(nullptr),
721 _has_bits_(from
._has_bits_
) {
722 _internal_metadata_
.MergeFrom(from
._internal_metadata_
);
723 headers_
.MergeFrom(from
.headers_
);
724 exception_message_
.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
725 if (from
._internal_has_exception_message()) {
726 exception_message_
.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from
.exception_message_
);
728 url_
.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
729 if (from
._internal_has_url()) {
730 url_
.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from
.url_
);
732 body_
.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
733 if (from
._internal_has_body()) {
734 body_
.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from
.body_
);
736 status_
= from
.status_
;
737 // @@protoc_insertion_point(copy_constructor:mozilla.appservices.httpconfig.protobuf.Response)
740 void Response::SharedCtor() {
741 ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Response_fetch_5fmsg_5ftypes_2eproto
.base
);
742 exception_message_
.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
743 url_
.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
744 body_
.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
748 Response::~Response() {
749 // @@protoc_insertion_point(destructor:mozilla.appservices.httpconfig.protobuf.Response)
753 void Response::SharedDtor() {
754 exception_message_
.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
755 url_
.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
756 body_
.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
759 void Response::SetCachedSize(int size
) const {
760 _cached_size_
.Set(size
);
762 const Response
& Response::default_instance() {
763 ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Response_fetch_5fmsg_5ftypes_2eproto
.base
);
764 return *internal_default_instance();
768 void Response::Clear() {
769 // @@protoc_insertion_point(message_clear_start:mozilla.appservices.httpconfig.protobuf.Response)
770 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits
= 0;
771 // Prevent compiler warnings about cached_has_bits being unused
772 (void) cached_has_bits
;
775 cached_has_bits
= _has_bits_
[0];
776 if (cached_has_bits
& 0x00000007u
) {
777 if (cached_has_bits
& 0x00000001u
) {
778 exception_message_
.ClearNonDefaultToEmptyNoArena();
780 if (cached_has_bits
& 0x00000002u
) {
781 url_
.ClearNonDefaultToEmptyNoArena();
783 if (cached_has_bits
& 0x00000004u
) {
784 body_
.ClearNonDefaultToEmptyNoArena();
789 _internal_metadata_
.Clear();
792 const char* Response::_InternalParse(const char* ptr
, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext
* ctx
) {
793 #define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
794 _Internal::HasBits has_bits
{};
795 while (!ctx
->Done(&ptr
)) {
796 ::PROTOBUF_NAMESPACE_ID::uint32 tag
;
797 ptr
= ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr
, &tag
);
800 // optional string exception_message = 1;
802 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag
) == 10)) {
803 auto str
= _internal_mutable_exception_message();
804 ptr
= ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str
, ptr
, ctx
);
806 } else goto handle_unusual
;
808 // optional string url = 2;
810 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag
) == 18)) {
811 auto str
= _internal_mutable_url();
812 ptr
= ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str
, ptr
, ctx
);
814 } else goto handle_unusual
;
816 // optional int32 status = 3;
818 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag
) == 24)) {
819 _Internal::set_has_status(&has_bits
);
820 status_
= ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr
);
822 } else goto handle_unusual
;
824 // optional bytes body = 4;
826 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag
) == 34)) {
827 auto str
= _internal_mutable_body();
828 ptr
= ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(str
, ptr
, ctx
);
830 } else goto handle_unusual
;
832 // map<string, string> headers = 5;
834 if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8
>(tag
) == 42)) {
838 ptr
= ctx
->ParseMessage(&headers_
, ptr
);
840 if (!ctx
->DataAvailable(ptr
)) break;
841 } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag
<42>(ptr
));
842 } else goto handle_unusual
;
846 if ((tag
& 7) == 4 || tag
== 0) {
847 ctx
->SetLastTag(tag
);
850 ptr
= UnknownFieldParse(tag
, &_internal_metadata_
, ptr
, ctx
);
851 CHK_(ptr
!= nullptr);
857 _has_bits_
.Or(has_bits
);
865 ::PROTOBUF_NAMESPACE_ID::uint8
* Response::_InternalSerialize(
866 ::PROTOBUF_NAMESPACE_ID::uint8
* target
, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream
* stream
) const {
867 // @@protoc_insertion_point(serialize_to_array_start:mozilla.appservices.httpconfig.protobuf.Response)
868 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits
= 0;
869 (void) cached_has_bits
;
871 cached_has_bits
= _has_bits_
[0];
872 // optional string exception_message = 1;
873 if (cached_has_bits
& 0x00000001u
) {
874 target
= stream
->WriteStringMaybeAliased(
875 1, this->_internal_exception_message(), target
);
878 // optional string url = 2;
879 if (cached_has_bits
& 0x00000002u
) {
880 target
= stream
->WriteStringMaybeAliased(
881 2, this->_internal_url(), target
);
884 // optional int32 status = 3;
885 if (cached_has_bits
& 0x00000008u
) {
886 target
= stream
->EnsureSpace(target
);
887 target
= ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(3, this->_internal_status(), target
);
890 // optional bytes body = 4;
891 if (cached_has_bits
& 0x00000004u
) {
892 target
= stream
->WriteBytesMaybeAliased(
893 4, this->_internal_body(), target
);
896 // map<string, string> headers = 5;
897 if (!this->_internal_headers().empty()) {
898 typedef ::PROTOBUF_NAMESPACE_ID::Map
< std::string
, std::string
>::const_pointer
900 typedef ConstPtr SortItem
;
901 typedef ::PROTOBUF_NAMESPACE_ID::internal::CompareByDerefFirst
<SortItem
> Less
;
903 static void Check(ConstPtr p
) {
907 if (stream
->IsSerializationDeterministic() &&
908 this->_internal_headers().size() > 1) {
909 ::std::unique_ptr
<SortItem
[]> items(
910 new SortItem
[this->_internal_headers().size()]);
911 typedef ::PROTOBUF_NAMESPACE_ID::Map
< std::string
, std::string
>::size_type size_type
;
913 for (::PROTOBUF_NAMESPACE_ID::Map
< std::string
, std::string
>::const_iterator
914 it
= this->_internal_headers().begin();
915 it
!= this->_internal_headers().end(); ++it
, ++n
) {
916 items
[static_cast<ptrdiff_t>(n
)] = SortItem(&*it
);
918 ::std::sort(&items
[0], &items
[static_cast<ptrdiff_t>(n
)], Less());
919 for (size_type i
= 0; i
< n
; i
++) {
920 target
= Response_HeadersEntry_DoNotUse::Funcs::InternalSerialize(5, items
[static_cast<ptrdiff_t>(i
)]->first
, items
[static_cast<ptrdiff_t>(i
)]->second
, target
, stream
);
921 Utf8Check::Check(&(*items
[static_cast<ptrdiff_t>(i
)]));
924 for (::PROTOBUF_NAMESPACE_ID::Map
< std::string
, std::string
>::const_iterator
925 it
= this->_internal_headers().begin();
926 it
!= this->_internal_headers().end(); ++it
) {
927 target
= Response_HeadersEntry_DoNotUse::Funcs::InternalSerialize(5, it
->first
, it
->second
, target
, stream
);
928 Utf8Check::Check(&(*it
));
933 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_
.have_unknown_fields())) {
934 target
= stream
->WriteRaw(_internal_metadata_
.unknown_fields().data(),
935 static_cast<int>(_internal_metadata_
.unknown_fields().size()), target
);
937 // @@protoc_insertion_point(serialize_to_array_end:mozilla.appservices.httpconfig.protobuf.Response)
941 size_t Response::ByteSizeLong() const {
942 // @@protoc_insertion_point(message_byte_size_start:mozilla.appservices.httpconfig.protobuf.Response)
943 size_t total_size
= 0;
945 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits
= 0;
946 // Prevent compiler warnings about cached_has_bits being unused
947 (void) cached_has_bits
;
949 // map<string, string> headers = 5;
951 ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(this->_internal_headers_size());
952 for (::PROTOBUF_NAMESPACE_ID::Map
< std::string
, std::string
>::const_iterator
953 it
= this->_internal_headers().begin();
954 it
!= this->_internal_headers().end(); ++it
) {
955 total_size
+= Response_HeadersEntry_DoNotUse::Funcs::ByteSizeLong(it
->first
, it
->second
);
958 cached_has_bits
= _has_bits_
[0];
959 if (cached_has_bits
& 0x0000000fu
) {
960 // optional string exception_message = 1;
961 if (cached_has_bits
& 0x00000001u
) {
963 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
964 this->_internal_exception_message());
967 // optional string url = 2;
968 if (cached_has_bits
& 0x00000002u
) {
970 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize(
971 this->_internal_url());
974 // optional bytes body = 4;
975 if (cached_has_bits
& 0x00000004u
) {
977 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::BytesSize(
978 this->_internal_body());
981 // optional int32 status = 3;
982 if (cached_has_bits
& 0x00000008u
) {
984 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size(
985 this->_internal_status());
989 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_
.have_unknown_fields())) {
990 total_size
+= _internal_metadata_
.unknown_fields().size();
992 int cached_size
= ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size
);
993 SetCachedSize(cached_size
);
997 void Response::CheckTypeAndMergeFrom(
998 const ::PROTOBUF_NAMESPACE_ID::MessageLite
& from
) {
999 MergeFrom(*::PROTOBUF_NAMESPACE_ID::internal::DownCast
<const Response
*>(
1003 void Response::MergeFrom(const Response
& from
) {
1004 // @@protoc_insertion_point(class_specific_merge_from_start:mozilla.appservices.httpconfig.protobuf.Response)
1005 GOOGLE_DCHECK_NE(&from
, this);
1006 _internal_metadata_
.MergeFrom(from
._internal_metadata_
);
1007 ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits
= 0;
1008 (void) cached_has_bits
;
1010 headers_
.MergeFrom(from
.headers_
);
1011 cached_has_bits
= from
._has_bits_
[0];
1012 if (cached_has_bits
& 0x0000000fu
) {
1013 if (cached_has_bits
& 0x00000001u
) {
1014 _has_bits_
[0] |= 0x00000001u
;
1015 exception_message_
.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from
.exception_message_
);
1017 if (cached_has_bits
& 0x00000002u
) {
1018 _has_bits_
[0] |= 0x00000002u
;
1019 url_
.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from
.url_
);
1021 if (cached_has_bits
& 0x00000004u
) {
1022 _has_bits_
[0] |= 0x00000004u
;
1023 body_
.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from
.body_
);
1025 if (cached_has_bits
& 0x00000008u
) {
1026 status_
= from
.status_
;
1028 _has_bits_
[0] |= cached_has_bits
;
1032 void Response::CopyFrom(const Response
& from
) {
1033 // @@protoc_insertion_point(class_specific_copy_from_start:mozilla.appservices.httpconfig.protobuf.Response)
1034 if (&from
== this) return;
1039 bool Response::IsInitialized() const {
1043 void Response::InternalSwap(Response
* other
) {
1045 _internal_metadata_
.Swap(&other
->_internal_metadata_
);
1046 swap(_has_bits_
[0], other
->_has_bits_
[0]);
1047 headers_
.Swap(&other
->headers_
);
1048 exception_message_
.Swap(&other
->exception_message_
, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1049 GetArenaNoVirtual());
1050 url_
.Swap(&other
->url_
, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1051 GetArenaNoVirtual());
1052 body_
.Swap(&other
->body_
, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1053 GetArenaNoVirtual());
1054 swap(status_
, other
->status_
);
1057 std::string
Response::GetTypeName() const {
1058 return "mozilla.appservices.httpconfig.protobuf.Response";
1062 // @@protoc_insertion_point(namespace_scope)
1063 } // namespace protobuf
1064 } // namespace httpconfig
1065 } // namespace appservices
1066 } // namespace mozilla
1067 PROTOBUF_NAMESPACE_OPEN
1068 template<> PROTOBUF_NOINLINE ::mozilla::appservices::httpconfig::protobuf::Request_HeadersEntry_DoNotUse
* Arena::CreateMaybeMessage
< ::mozilla::appservices::httpconfig::protobuf::Request_HeadersEntry_DoNotUse
>(Arena
* arena
) {
1069 return Arena::CreateInternal
< ::mozilla::appservices::httpconfig::protobuf::Request_HeadersEntry_DoNotUse
>(arena
);
1071 template<> PROTOBUF_NOINLINE ::mozilla::appservices::httpconfig::protobuf::Request
* Arena::CreateMaybeMessage
< ::mozilla::appservices::httpconfig::protobuf::Request
>(Arena
* arena
) {
1072 return Arena::CreateInternal
< ::mozilla::appservices::httpconfig::protobuf::Request
>(arena
);
1074 template<> PROTOBUF_NOINLINE ::mozilla::appservices::httpconfig::protobuf::Response_HeadersEntry_DoNotUse
* Arena::CreateMaybeMessage
< ::mozilla::appservices::httpconfig::protobuf::Response_HeadersEntry_DoNotUse
>(Arena
* arena
) {
1075 return Arena::CreateInternal
< ::mozilla::appservices::httpconfig::protobuf::Response_HeadersEntry_DoNotUse
>(arena
);
1077 template<> PROTOBUF_NOINLINE ::mozilla::appservices::httpconfig::protobuf::Response
* Arena::CreateMaybeMessage
< ::mozilla::appservices::httpconfig::protobuf::Response
>(Arena
* arena
) {
1078 return Arena::CreateInternal
< ::mozilla::appservices::httpconfig::protobuf::Response
>(arena
);
1080 PROTOBUF_NAMESPACE_CLOSE
1082 // @@protoc_insertion_point(global_scope)
1083 #include <google/protobuf/port_undef.inc>