1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: request_context_config.proto
3
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_request_5fcontext_5fconfig_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_request_5fcontext_5fconfig_2eproto
6
7 #include <limits>
8 #include <string>
9
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3021000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21
22 #include <google/protobuf/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/metadata_lite.h>
28 #include <google/protobuf/message_lite.h>
29 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
30 #include <google/protobuf/extension_set.h> // IWYU pragma: export
31 // @@protoc_insertion_point(includes)
32 #include <google/protobuf/port_def.inc>
33 #define PROTOBUF_INTERNAL_EXPORT_request_5fcontext_5fconfig_2eproto
34 PROTOBUF_NAMESPACE_OPEN
35 namespace internal {
36 class AnyMetadata;
37 } // namespace internal
38 PROTOBUF_NAMESPACE_CLOSE
39
40 // Internal implementation detail -- do not use these members.
41 struct TableStruct_request_5fcontext_5fconfig_2eproto {
42 static const uint32_t offsets[];
43 };
44 namespace org {
45 namespace chromium {
46 namespace net {
47 class RequestContextConfigOptions;
48 struct RequestContextConfigOptionsDefaultTypeInternal;
49 extern RequestContextConfigOptionsDefaultTypeInternal _RequestContextConfigOptions_default_instance_;
50 } // namespace net
51 } // namespace chromium
52 } // namespace org
53 PROTOBUF_NAMESPACE_OPEN
54 template<> ::org::chromium::net::RequestContextConfigOptions* Arena::CreateMaybeMessage<::org::chromium::net::RequestContextConfigOptions>(Arena*);
55 PROTOBUF_NAMESPACE_CLOSE
56 namespace org {
57 namespace chromium {
58 namespace net {
59
60 // ===================================================================
61
62 class RequestContextConfigOptions final :
63 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:org.chromium.net.RequestContextConfigOptions) */ {
64 public:
RequestContextConfigOptions()65 inline RequestContextConfigOptions() : RequestContextConfigOptions(nullptr) {}
66 ~RequestContextConfigOptions() override;
67 explicit PROTOBUF_CONSTEXPR RequestContextConfigOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
68
69 RequestContextConfigOptions(const RequestContextConfigOptions& from);
RequestContextConfigOptions(RequestContextConfigOptions && from)70 RequestContextConfigOptions(RequestContextConfigOptions&& from) noexcept
71 : RequestContextConfigOptions() {
72 *this = ::std::move(from);
73 }
74
75 inline RequestContextConfigOptions& operator=(const RequestContextConfigOptions& from) {
76 CopyFrom(from);
77 return *this;
78 }
79 inline RequestContextConfigOptions& operator=(RequestContextConfigOptions&& from) noexcept {
80 if (this == &from) return *this;
81 if (GetOwningArena() == from.GetOwningArena()
82 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
83 && GetOwningArena() != nullptr
84 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
85 ) {
86 InternalSwap(&from);
87 } else {
88 CopyFrom(from);
89 }
90 return *this;
91 }
92
unknown_fields()93 inline const std::string& unknown_fields() const {
94 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
95 }
mutable_unknown_fields()96 inline std::string* mutable_unknown_fields() {
97 return _internal_metadata_.mutable_unknown_fields<std::string>();
98 }
99
default_instance()100 static const RequestContextConfigOptions& default_instance() {
101 return *internal_default_instance();
102 }
internal_default_instance()103 static inline const RequestContextConfigOptions* internal_default_instance() {
104 return reinterpret_cast<const RequestContextConfigOptions*>(
105 &_RequestContextConfigOptions_default_instance_);
106 }
107 static constexpr int kIndexInFileMessages =
108 0;
109
swap(RequestContextConfigOptions & a,RequestContextConfigOptions & b)110 friend void swap(RequestContextConfigOptions& a, RequestContextConfigOptions& b) {
111 a.Swap(&b);
112 }
Swap(RequestContextConfigOptions * other)113 PROTOBUF_NOINLINE void Swap(RequestContextConfigOptions* other) {
114 if (other == this) return;
115 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
116 if (GetOwningArena() != nullptr &&
117 GetOwningArena() == other->GetOwningArena()) {
118 #else // PROTOBUF_FORCE_COPY_IN_SWAP
119 if (GetOwningArena() == other->GetOwningArena()) {
120 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
121 InternalSwap(other);
122 } else {
123 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
124 }
125 }
126 void UnsafeArenaSwap(RequestContextConfigOptions* other) {
127 if (other == this) return;
128 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
129 InternalSwap(other);
130 }
131
132 // implements Message ----------------------------------------------
133
134 RequestContextConfigOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
135 return CreateMaybeMessage<RequestContextConfigOptions>(arena);
136 }
137 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
138 void CopyFrom(const RequestContextConfigOptions& from);
139 void MergeFrom(const RequestContextConfigOptions& from);
140 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
141 bool IsInitialized() const final;
142
143 size_t ByteSizeLong() const final;
144 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
145 uint8_t* _InternalSerialize(
146 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
147 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
148
149 private:
150 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
151 void SharedDtor();
152 void SetCachedSize(int size) const;
153 void InternalSwap(RequestContextConfigOptions* other);
154
155 private:
156 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
157 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
158 return "org.chromium.net.RequestContextConfigOptions";
159 }
160 protected:
161 explicit RequestContextConfigOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
162 bool is_message_owned = false);
163 public:
164
165 std::string GetTypeName() const final;
166
167 // nested types ----------------------------------------------------
168
169 // accessors -------------------------------------------------------
170
171 enum : int {
172 kUserAgentFieldNumber = 1,
173 kStoragePathFieldNumber = 2,
174 kQuicDefaultUserAgentIdFieldNumber = 4,
175 kExperimentalOptionsFieldNumber = 10,
176 kQuicEnabledFieldNumber = 3,
177 kHttp2EnabledFieldNumber = 5,
178 kBrotliEnabledFieldNumber = 6,
179 kDisableCacheFieldNumber = 7,
180 kHttpCacheModeFieldNumber = 8,
181 kHttpCacheMaxSizeFieldNumber = 9,
182 kMockCertVerifierFieldNumber = 11,
183 kEnableNetworkQualityEstimatorFieldNumber = 12,
184 kBypassPublicKeyPinningForLocalTrustAnchorsFieldNumber = 13,
185 kNetworkThreadPriorityFieldNumber = 14,
186 };
187 // optional string user_agent = 1;
188 bool has_user_agent() const;
189 private:
190 bool _internal_has_user_agent() const;
191 public:
192 void clear_user_agent();
193 const std::string& user_agent() const;
194 template <typename ArgT0 = const std::string&, typename... ArgT>
195 void set_user_agent(ArgT0&& arg0, ArgT... args);
196 std::string* mutable_user_agent();
197 PROTOBUF_NODISCARD std::string* release_user_agent();
198 void set_allocated_user_agent(std::string* user_agent);
199 private:
200 const std::string& _internal_user_agent() const;
201 inline PROTOBUF_ALWAYS_INLINE void _internal_set_user_agent(const std::string& value);
202 std::string* _internal_mutable_user_agent();
203 public:
204
205 // optional string storage_path = 2;
206 bool has_storage_path() const;
207 private:
208 bool _internal_has_storage_path() const;
209 public:
210 void clear_storage_path();
211 const std::string& storage_path() const;
212 template <typename ArgT0 = const std::string&, typename... ArgT>
213 void set_storage_path(ArgT0&& arg0, ArgT... args);
214 std::string* mutable_storage_path();
215 PROTOBUF_NODISCARD std::string* release_storage_path();
216 void set_allocated_storage_path(std::string* storage_path);
217 private:
218 const std::string& _internal_storage_path() const;
219 inline PROTOBUF_ALWAYS_INLINE void _internal_set_storage_path(const std::string& value);
220 std::string* _internal_mutable_storage_path();
221 public:
222
223 // optional string quic_default_user_agent_id = 4;
224 bool has_quic_default_user_agent_id() const;
225 private:
226 bool _internal_has_quic_default_user_agent_id() const;
227 public:
228 void clear_quic_default_user_agent_id();
229 const std::string& quic_default_user_agent_id() const;
230 template <typename ArgT0 = const std::string&, typename... ArgT>
231 void set_quic_default_user_agent_id(ArgT0&& arg0, ArgT... args);
232 std::string* mutable_quic_default_user_agent_id();
233 PROTOBUF_NODISCARD std::string* release_quic_default_user_agent_id();
234 void set_allocated_quic_default_user_agent_id(std::string* quic_default_user_agent_id);
235 private:
236 const std::string& _internal_quic_default_user_agent_id() const;
237 inline PROTOBUF_ALWAYS_INLINE void _internal_set_quic_default_user_agent_id(const std::string& value);
238 std::string* _internal_mutable_quic_default_user_agent_id();
239 public:
240
241 // optional string experimental_options = 10;
242 bool has_experimental_options() const;
243 private:
244 bool _internal_has_experimental_options() const;
245 public:
246 void clear_experimental_options();
247 const std::string& experimental_options() const;
248 template <typename ArgT0 = const std::string&, typename... ArgT>
249 void set_experimental_options(ArgT0&& arg0, ArgT... args);
250 std::string* mutable_experimental_options();
251 PROTOBUF_NODISCARD std::string* release_experimental_options();
252 void set_allocated_experimental_options(std::string* experimental_options);
253 private:
254 const std::string& _internal_experimental_options() const;
255 inline PROTOBUF_ALWAYS_INLINE void _internal_set_experimental_options(const std::string& value);
256 std::string* _internal_mutable_experimental_options();
257 public:
258
259 // optional bool quic_enabled = 3;
260 bool has_quic_enabled() const;
261 private:
262 bool _internal_has_quic_enabled() const;
263 public:
264 void clear_quic_enabled();
265 bool quic_enabled() const;
266 void set_quic_enabled(bool value);
267 private:
268 bool _internal_quic_enabled() const;
269 void _internal_set_quic_enabled(bool value);
270 public:
271
272 // optional bool http2_enabled = 5;
273 bool has_http2_enabled() const;
274 private:
275 bool _internal_has_http2_enabled() const;
276 public:
277 void clear_http2_enabled();
278 bool http2_enabled() const;
279 void set_http2_enabled(bool value);
280 private:
281 bool _internal_http2_enabled() const;
282 void _internal_set_http2_enabled(bool value);
283 public:
284
285 // optional bool brotli_enabled = 6;
286 bool has_brotli_enabled() const;
287 private:
288 bool _internal_has_brotli_enabled() const;
289 public:
290 void clear_brotli_enabled();
291 bool brotli_enabled() const;
292 void set_brotli_enabled(bool value);
293 private:
294 bool _internal_brotli_enabled() const;
295 void _internal_set_brotli_enabled(bool value);
296 public:
297
298 // optional bool disable_cache = 7;
299 bool has_disable_cache() const;
300 private:
301 bool _internal_has_disable_cache() const;
302 public:
303 void clear_disable_cache();
304 bool disable_cache() const;
305 void set_disable_cache(bool value);
306 private:
307 bool _internal_disable_cache() const;
308 void _internal_set_disable_cache(bool value);
309 public:
310
311 // optional int32 http_cache_mode = 8;
312 bool has_http_cache_mode() const;
313 private:
314 bool _internal_has_http_cache_mode() const;
315 public:
316 void clear_http_cache_mode();
317 int32_t http_cache_mode() const;
318 void set_http_cache_mode(int32_t value);
319 private:
320 int32_t _internal_http_cache_mode() const;
321 void _internal_set_http_cache_mode(int32_t value);
322 public:
323
324 // optional int64 http_cache_max_size = 9;
325 bool has_http_cache_max_size() const;
326 private:
327 bool _internal_has_http_cache_max_size() const;
328 public:
329 void clear_http_cache_max_size();
330 int64_t http_cache_max_size() const;
331 void set_http_cache_max_size(int64_t value);
332 private:
333 int64_t _internal_http_cache_max_size() const;
334 void _internal_set_http_cache_max_size(int64_t value);
335 public:
336
337 // optional int64 mock_cert_verifier = 11;
338 bool has_mock_cert_verifier() const;
339 private:
340 bool _internal_has_mock_cert_verifier() const;
341 public:
342 void clear_mock_cert_verifier();
343 int64_t mock_cert_verifier() const;
344 void set_mock_cert_verifier(int64_t value);
345 private:
346 int64_t _internal_mock_cert_verifier() const;
347 void _internal_set_mock_cert_verifier(int64_t value);
348 public:
349
350 // optional bool enable_network_quality_estimator = 12;
351 bool has_enable_network_quality_estimator() const;
352 private:
353 bool _internal_has_enable_network_quality_estimator() const;
354 public:
355 void clear_enable_network_quality_estimator();
356 bool enable_network_quality_estimator() const;
357 void set_enable_network_quality_estimator(bool value);
358 private:
359 bool _internal_enable_network_quality_estimator() const;
360 void _internal_set_enable_network_quality_estimator(bool value);
361 public:
362
363 // optional bool bypass_public_key_pinning_for_local_trust_anchors = 13;
364 bool has_bypass_public_key_pinning_for_local_trust_anchors() const;
365 private:
366 bool _internal_has_bypass_public_key_pinning_for_local_trust_anchors() const;
367 public:
368 void clear_bypass_public_key_pinning_for_local_trust_anchors();
369 bool bypass_public_key_pinning_for_local_trust_anchors() const;
370 void set_bypass_public_key_pinning_for_local_trust_anchors(bool value);
371 private:
372 bool _internal_bypass_public_key_pinning_for_local_trust_anchors() const;
373 void _internal_set_bypass_public_key_pinning_for_local_trust_anchors(bool value);
374 public:
375
376 // optional int32 network_thread_priority = 14;
377 bool has_network_thread_priority() const;
378 private:
379 bool _internal_has_network_thread_priority() const;
380 public:
381 void clear_network_thread_priority();
382 int32_t network_thread_priority() const;
383 void set_network_thread_priority(int32_t value);
384 private:
385 int32_t _internal_network_thread_priority() const;
386 void _internal_set_network_thread_priority(int32_t value);
387 public:
388
389 // @@protoc_insertion_point(class_scope:org.chromium.net.RequestContextConfigOptions)
390 private:
391 class _Internal;
392
393 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
394 typedef void InternalArenaConstructable_;
395 typedef void DestructorSkippable_;
396 struct Impl_ {
397 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
398 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
399 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr user_agent_;
400 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr storage_path_;
401 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr quic_default_user_agent_id_;
402 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr experimental_options_;
403 bool quic_enabled_;
404 bool http2_enabled_;
405 bool brotli_enabled_;
406 bool disable_cache_;
407 int32_t http_cache_mode_;
408 int64_t http_cache_max_size_;
409 int64_t mock_cert_verifier_;
410 bool enable_network_quality_estimator_;
411 bool bypass_public_key_pinning_for_local_trust_anchors_;
412 int32_t network_thread_priority_;
413 };
414 union { Impl_ _impl_; };
415 friend struct ::TableStruct_request_5fcontext_5fconfig_2eproto;
416 };
417 // ===================================================================
418
419
420 // ===================================================================
421
422 #ifdef __GNUC__
423 #pragma GCC diagnostic push
424 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
425 #endif // __GNUC__
426 // RequestContextConfigOptions
427
428 // optional string user_agent = 1;
_internal_has_user_agent()429 inline bool RequestContextConfigOptions::_internal_has_user_agent() const {
430 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
431 return value;
432 }
has_user_agent()433 inline bool RequestContextConfigOptions::has_user_agent() const {
434 return _internal_has_user_agent();
435 }
clear_user_agent()436 inline void RequestContextConfigOptions::clear_user_agent() {
437 _impl_.user_agent_.ClearToEmpty();
438 _impl_._has_bits_[0] &= ~0x00000001u;
439 }
user_agent()440 inline const std::string& RequestContextConfigOptions::user_agent() const {
441 // @@protoc_insertion_point(field_get:org.chromium.net.RequestContextConfigOptions.user_agent)
442 return _internal_user_agent();
443 }
444 template <typename ArgT0, typename... ArgT>
445 inline PROTOBUF_ALWAYS_INLINE
set_user_agent(ArgT0 && arg0,ArgT...args)446 void RequestContextConfigOptions::set_user_agent(ArgT0&& arg0, ArgT... args) {
447 _impl_._has_bits_[0] |= 0x00000001u;
448 _impl_.user_agent_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
449 // @@protoc_insertion_point(field_set:org.chromium.net.RequestContextConfigOptions.user_agent)
450 }
mutable_user_agent()451 inline std::string* RequestContextConfigOptions::mutable_user_agent() {
452 std::string* _s = _internal_mutable_user_agent();
453 // @@protoc_insertion_point(field_mutable:org.chromium.net.RequestContextConfigOptions.user_agent)
454 return _s;
455 }
_internal_user_agent()456 inline const std::string& RequestContextConfigOptions::_internal_user_agent() const {
457 return _impl_.user_agent_.Get();
458 }
_internal_set_user_agent(const std::string & value)459 inline void RequestContextConfigOptions::_internal_set_user_agent(const std::string& value) {
460 _impl_._has_bits_[0] |= 0x00000001u;
461 _impl_.user_agent_.Set(value, GetArenaForAllocation());
462 }
_internal_mutable_user_agent()463 inline std::string* RequestContextConfigOptions::_internal_mutable_user_agent() {
464 _impl_._has_bits_[0] |= 0x00000001u;
465 return _impl_.user_agent_.Mutable(GetArenaForAllocation());
466 }
release_user_agent()467 inline std::string* RequestContextConfigOptions::release_user_agent() {
468 // @@protoc_insertion_point(field_release:org.chromium.net.RequestContextConfigOptions.user_agent)
469 if (!_internal_has_user_agent()) {
470 return nullptr;
471 }
472 _impl_._has_bits_[0] &= ~0x00000001u;
473 auto* p = _impl_.user_agent_.Release();
474 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
475 if (_impl_.user_agent_.IsDefault()) {
476 _impl_.user_agent_.Set("", GetArenaForAllocation());
477 }
478 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
479 return p;
480 }
set_allocated_user_agent(std::string * user_agent)481 inline void RequestContextConfigOptions::set_allocated_user_agent(std::string* user_agent) {
482 if (user_agent != nullptr) {
483 _impl_._has_bits_[0] |= 0x00000001u;
484 } else {
485 _impl_._has_bits_[0] &= ~0x00000001u;
486 }
487 _impl_.user_agent_.SetAllocated(user_agent, GetArenaForAllocation());
488 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
489 if (_impl_.user_agent_.IsDefault()) {
490 _impl_.user_agent_.Set("", GetArenaForAllocation());
491 }
492 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
493 // @@protoc_insertion_point(field_set_allocated:org.chromium.net.RequestContextConfigOptions.user_agent)
494 }
495
496 // optional string storage_path = 2;
_internal_has_storage_path()497 inline bool RequestContextConfigOptions::_internal_has_storage_path() const {
498 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
499 return value;
500 }
has_storage_path()501 inline bool RequestContextConfigOptions::has_storage_path() const {
502 return _internal_has_storage_path();
503 }
clear_storage_path()504 inline void RequestContextConfigOptions::clear_storage_path() {
505 _impl_.storage_path_.ClearToEmpty();
506 _impl_._has_bits_[0] &= ~0x00000002u;
507 }
storage_path()508 inline const std::string& RequestContextConfigOptions::storage_path() const {
509 // @@protoc_insertion_point(field_get:org.chromium.net.RequestContextConfigOptions.storage_path)
510 return _internal_storage_path();
511 }
512 template <typename ArgT0, typename... ArgT>
513 inline PROTOBUF_ALWAYS_INLINE
set_storage_path(ArgT0 && arg0,ArgT...args)514 void RequestContextConfigOptions::set_storage_path(ArgT0&& arg0, ArgT... args) {
515 _impl_._has_bits_[0] |= 0x00000002u;
516 _impl_.storage_path_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
517 // @@protoc_insertion_point(field_set:org.chromium.net.RequestContextConfigOptions.storage_path)
518 }
mutable_storage_path()519 inline std::string* RequestContextConfigOptions::mutable_storage_path() {
520 std::string* _s = _internal_mutable_storage_path();
521 // @@protoc_insertion_point(field_mutable:org.chromium.net.RequestContextConfigOptions.storage_path)
522 return _s;
523 }
_internal_storage_path()524 inline const std::string& RequestContextConfigOptions::_internal_storage_path() const {
525 return _impl_.storage_path_.Get();
526 }
_internal_set_storage_path(const std::string & value)527 inline void RequestContextConfigOptions::_internal_set_storage_path(const std::string& value) {
528 _impl_._has_bits_[0] |= 0x00000002u;
529 _impl_.storage_path_.Set(value, GetArenaForAllocation());
530 }
_internal_mutable_storage_path()531 inline std::string* RequestContextConfigOptions::_internal_mutable_storage_path() {
532 _impl_._has_bits_[0] |= 0x00000002u;
533 return _impl_.storage_path_.Mutable(GetArenaForAllocation());
534 }
release_storage_path()535 inline std::string* RequestContextConfigOptions::release_storage_path() {
536 // @@protoc_insertion_point(field_release:org.chromium.net.RequestContextConfigOptions.storage_path)
537 if (!_internal_has_storage_path()) {
538 return nullptr;
539 }
540 _impl_._has_bits_[0] &= ~0x00000002u;
541 auto* p = _impl_.storage_path_.Release();
542 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
543 if (_impl_.storage_path_.IsDefault()) {
544 _impl_.storage_path_.Set("", GetArenaForAllocation());
545 }
546 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
547 return p;
548 }
set_allocated_storage_path(std::string * storage_path)549 inline void RequestContextConfigOptions::set_allocated_storage_path(std::string* storage_path) {
550 if (storage_path != nullptr) {
551 _impl_._has_bits_[0] |= 0x00000002u;
552 } else {
553 _impl_._has_bits_[0] &= ~0x00000002u;
554 }
555 _impl_.storage_path_.SetAllocated(storage_path, GetArenaForAllocation());
556 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
557 if (_impl_.storage_path_.IsDefault()) {
558 _impl_.storage_path_.Set("", GetArenaForAllocation());
559 }
560 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
561 // @@protoc_insertion_point(field_set_allocated:org.chromium.net.RequestContextConfigOptions.storage_path)
562 }
563
564 // optional bool quic_enabled = 3;
_internal_has_quic_enabled()565 inline bool RequestContextConfigOptions::_internal_has_quic_enabled() const {
566 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
567 return value;
568 }
has_quic_enabled()569 inline bool RequestContextConfigOptions::has_quic_enabled() const {
570 return _internal_has_quic_enabled();
571 }
clear_quic_enabled()572 inline void RequestContextConfigOptions::clear_quic_enabled() {
573 _impl_.quic_enabled_ = false;
574 _impl_._has_bits_[0] &= ~0x00000010u;
575 }
_internal_quic_enabled()576 inline bool RequestContextConfigOptions::_internal_quic_enabled() const {
577 return _impl_.quic_enabled_;
578 }
quic_enabled()579 inline bool RequestContextConfigOptions::quic_enabled() const {
580 // @@protoc_insertion_point(field_get:org.chromium.net.RequestContextConfigOptions.quic_enabled)
581 return _internal_quic_enabled();
582 }
_internal_set_quic_enabled(bool value)583 inline void RequestContextConfigOptions::_internal_set_quic_enabled(bool value) {
584 _impl_._has_bits_[0] |= 0x00000010u;
585 _impl_.quic_enabled_ = value;
586 }
set_quic_enabled(bool value)587 inline void RequestContextConfigOptions::set_quic_enabled(bool value) {
588 _internal_set_quic_enabled(value);
589 // @@protoc_insertion_point(field_set:org.chromium.net.RequestContextConfigOptions.quic_enabled)
590 }
591
592 // optional string quic_default_user_agent_id = 4;
_internal_has_quic_default_user_agent_id()593 inline bool RequestContextConfigOptions::_internal_has_quic_default_user_agent_id() const {
594 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
595 return value;
596 }
has_quic_default_user_agent_id()597 inline bool RequestContextConfigOptions::has_quic_default_user_agent_id() const {
598 return _internal_has_quic_default_user_agent_id();
599 }
clear_quic_default_user_agent_id()600 inline void RequestContextConfigOptions::clear_quic_default_user_agent_id() {
601 _impl_.quic_default_user_agent_id_.ClearToEmpty();
602 _impl_._has_bits_[0] &= ~0x00000004u;
603 }
quic_default_user_agent_id()604 inline const std::string& RequestContextConfigOptions::quic_default_user_agent_id() const {
605 // @@protoc_insertion_point(field_get:org.chromium.net.RequestContextConfigOptions.quic_default_user_agent_id)
606 return _internal_quic_default_user_agent_id();
607 }
608 template <typename ArgT0, typename... ArgT>
609 inline PROTOBUF_ALWAYS_INLINE
set_quic_default_user_agent_id(ArgT0 && arg0,ArgT...args)610 void RequestContextConfigOptions::set_quic_default_user_agent_id(ArgT0&& arg0, ArgT... args) {
611 _impl_._has_bits_[0] |= 0x00000004u;
612 _impl_.quic_default_user_agent_id_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
613 // @@protoc_insertion_point(field_set:org.chromium.net.RequestContextConfigOptions.quic_default_user_agent_id)
614 }
mutable_quic_default_user_agent_id()615 inline std::string* RequestContextConfigOptions::mutable_quic_default_user_agent_id() {
616 std::string* _s = _internal_mutable_quic_default_user_agent_id();
617 // @@protoc_insertion_point(field_mutable:org.chromium.net.RequestContextConfigOptions.quic_default_user_agent_id)
618 return _s;
619 }
_internal_quic_default_user_agent_id()620 inline const std::string& RequestContextConfigOptions::_internal_quic_default_user_agent_id() const {
621 return _impl_.quic_default_user_agent_id_.Get();
622 }
_internal_set_quic_default_user_agent_id(const std::string & value)623 inline void RequestContextConfigOptions::_internal_set_quic_default_user_agent_id(const std::string& value) {
624 _impl_._has_bits_[0] |= 0x00000004u;
625 _impl_.quic_default_user_agent_id_.Set(value, GetArenaForAllocation());
626 }
_internal_mutable_quic_default_user_agent_id()627 inline std::string* RequestContextConfigOptions::_internal_mutable_quic_default_user_agent_id() {
628 _impl_._has_bits_[0] |= 0x00000004u;
629 return _impl_.quic_default_user_agent_id_.Mutable(GetArenaForAllocation());
630 }
release_quic_default_user_agent_id()631 inline std::string* RequestContextConfigOptions::release_quic_default_user_agent_id() {
632 // @@protoc_insertion_point(field_release:org.chromium.net.RequestContextConfigOptions.quic_default_user_agent_id)
633 if (!_internal_has_quic_default_user_agent_id()) {
634 return nullptr;
635 }
636 _impl_._has_bits_[0] &= ~0x00000004u;
637 auto* p = _impl_.quic_default_user_agent_id_.Release();
638 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
639 if (_impl_.quic_default_user_agent_id_.IsDefault()) {
640 _impl_.quic_default_user_agent_id_.Set("", GetArenaForAllocation());
641 }
642 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
643 return p;
644 }
set_allocated_quic_default_user_agent_id(std::string * quic_default_user_agent_id)645 inline void RequestContextConfigOptions::set_allocated_quic_default_user_agent_id(std::string* quic_default_user_agent_id) {
646 if (quic_default_user_agent_id != nullptr) {
647 _impl_._has_bits_[0] |= 0x00000004u;
648 } else {
649 _impl_._has_bits_[0] &= ~0x00000004u;
650 }
651 _impl_.quic_default_user_agent_id_.SetAllocated(quic_default_user_agent_id, GetArenaForAllocation());
652 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
653 if (_impl_.quic_default_user_agent_id_.IsDefault()) {
654 _impl_.quic_default_user_agent_id_.Set("", GetArenaForAllocation());
655 }
656 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
657 // @@protoc_insertion_point(field_set_allocated:org.chromium.net.RequestContextConfigOptions.quic_default_user_agent_id)
658 }
659
660 // optional bool http2_enabled = 5;
_internal_has_http2_enabled()661 inline bool RequestContextConfigOptions::_internal_has_http2_enabled() const {
662 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
663 return value;
664 }
has_http2_enabled()665 inline bool RequestContextConfigOptions::has_http2_enabled() const {
666 return _internal_has_http2_enabled();
667 }
clear_http2_enabled()668 inline void RequestContextConfigOptions::clear_http2_enabled() {
669 _impl_.http2_enabled_ = false;
670 _impl_._has_bits_[0] &= ~0x00000020u;
671 }
_internal_http2_enabled()672 inline bool RequestContextConfigOptions::_internal_http2_enabled() const {
673 return _impl_.http2_enabled_;
674 }
http2_enabled()675 inline bool RequestContextConfigOptions::http2_enabled() const {
676 // @@protoc_insertion_point(field_get:org.chromium.net.RequestContextConfigOptions.http2_enabled)
677 return _internal_http2_enabled();
678 }
_internal_set_http2_enabled(bool value)679 inline void RequestContextConfigOptions::_internal_set_http2_enabled(bool value) {
680 _impl_._has_bits_[0] |= 0x00000020u;
681 _impl_.http2_enabled_ = value;
682 }
set_http2_enabled(bool value)683 inline void RequestContextConfigOptions::set_http2_enabled(bool value) {
684 _internal_set_http2_enabled(value);
685 // @@protoc_insertion_point(field_set:org.chromium.net.RequestContextConfigOptions.http2_enabled)
686 }
687
688 // optional bool brotli_enabled = 6;
_internal_has_brotli_enabled()689 inline bool RequestContextConfigOptions::_internal_has_brotli_enabled() const {
690 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
691 return value;
692 }
has_brotli_enabled()693 inline bool RequestContextConfigOptions::has_brotli_enabled() const {
694 return _internal_has_brotli_enabled();
695 }
clear_brotli_enabled()696 inline void RequestContextConfigOptions::clear_brotli_enabled() {
697 _impl_.brotli_enabled_ = false;
698 _impl_._has_bits_[0] &= ~0x00000040u;
699 }
_internal_brotli_enabled()700 inline bool RequestContextConfigOptions::_internal_brotli_enabled() const {
701 return _impl_.brotli_enabled_;
702 }
brotli_enabled()703 inline bool RequestContextConfigOptions::brotli_enabled() const {
704 // @@protoc_insertion_point(field_get:org.chromium.net.RequestContextConfigOptions.brotli_enabled)
705 return _internal_brotli_enabled();
706 }
_internal_set_brotli_enabled(bool value)707 inline void RequestContextConfigOptions::_internal_set_brotli_enabled(bool value) {
708 _impl_._has_bits_[0] |= 0x00000040u;
709 _impl_.brotli_enabled_ = value;
710 }
set_brotli_enabled(bool value)711 inline void RequestContextConfigOptions::set_brotli_enabled(bool value) {
712 _internal_set_brotli_enabled(value);
713 // @@protoc_insertion_point(field_set:org.chromium.net.RequestContextConfigOptions.brotli_enabled)
714 }
715
716 // optional bool disable_cache = 7;
_internal_has_disable_cache()717 inline bool RequestContextConfigOptions::_internal_has_disable_cache() const {
718 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
719 return value;
720 }
has_disable_cache()721 inline bool RequestContextConfigOptions::has_disable_cache() const {
722 return _internal_has_disable_cache();
723 }
clear_disable_cache()724 inline void RequestContextConfigOptions::clear_disable_cache() {
725 _impl_.disable_cache_ = false;
726 _impl_._has_bits_[0] &= ~0x00000080u;
727 }
_internal_disable_cache()728 inline bool RequestContextConfigOptions::_internal_disable_cache() const {
729 return _impl_.disable_cache_;
730 }
disable_cache()731 inline bool RequestContextConfigOptions::disable_cache() const {
732 // @@protoc_insertion_point(field_get:org.chromium.net.RequestContextConfigOptions.disable_cache)
733 return _internal_disable_cache();
734 }
_internal_set_disable_cache(bool value)735 inline void RequestContextConfigOptions::_internal_set_disable_cache(bool value) {
736 _impl_._has_bits_[0] |= 0x00000080u;
737 _impl_.disable_cache_ = value;
738 }
set_disable_cache(bool value)739 inline void RequestContextConfigOptions::set_disable_cache(bool value) {
740 _internal_set_disable_cache(value);
741 // @@protoc_insertion_point(field_set:org.chromium.net.RequestContextConfigOptions.disable_cache)
742 }
743
744 // optional int32 http_cache_mode = 8;
_internal_has_http_cache_mode()745 inline bool RequestContextConfigOptions::_internal_has_http_cache_mode() const {
746 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
747 return value;
748 }
has_http_cache_mode()749 inline bool RequestContextConfigOptions::has_http_cache_mode() const {
750 return _internal_has_http_cache_mode();
751 }
clear_http_cache_mode()752 inline void RequestContextConfigOptions::clear_http_cache_mode() {
753 _impl_.http_cache_mode_ = 0;
754 _impl_._has_bits_[0] &= ~0x00000100u;
755 }
_internal_http_cache_mode()756 inline int32_t RequestContextConfigOptions::_internal_http_cache_mode() const {
757 return _impl_.http_cache_mode_;
758 }
http_cache_mode()759 inline int32_t RequestContextConfigOptions::http_cache_mode() const {
760 // @@protoc_insertion_point(field_get:org.chromium.net.RequestContextConfigOptions.http_cache_mode)
761 return _internal_http_cache_mode();
762 }
_internal_set_http_cache_mode(int32_t value)763 inline void RequestContextConfigOptions::_internal_set_http_cache_mode(int32_t value) {
764 _impl_._has_bits_[0] |= 0x00000100u;
765 _impl_.http_cache_mode_ = value;
766 }
set_http_cache_mode(int32_t value)767 inline void RequestContextConfigOptions::set_http_cache_mode(int32_t value) {
768 _internal_set_http_cache_mode(value);
769 // @@protoc_insertion_point(field_set:org.chromium.net.RequestContextConfigOptions.http_cache_mode)
770 }
771
772 // optional int64 http_cache_max_size = 9;
_internal_has_http_cache_max_size()773 inline bool RequestContextConfigOptions::_internal_has_http_cache_max_size() const {
774 bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
775 return value;
776 }
has_http_cache_max_size()777 inline bool RequestContextConfigOptions::has_http_cache_max_size() const {
778 return _internal_has_http_cache_max_size();
779 }
clear_http_cache_max_size()780 inline void RequestContextConfigOptions::clear_http_cache_max_size() {
781 _impl_.http_cache_max_size_ = int64_t{0};
782 _impl_._has_bits_[0] &= ~0x00000200u;
783 }
_internal_http_cache_max_size()784 inline int64_t RequestContextConfigOptions::_internal_http_cache_max_size() const {
785 return _impl_.http_cache_max_size_;
786 }
http_cache_max_size()787 inline int64_t RequestContextConfigOptions::http_cache_max_size() const {
788 // @@protoc_insertion_point(field_get:org.chromium.net.RequestContextConfigOptions.http_cache_max_size)
789 return _internal_http_cache_max_size();
790 }
_internal_set_http_cache_max_size(int64_t value)791 inline void RequestContextConfigOptions::_internal_set_http_cache_max_size(int64_t value) {
792 _impl_._has_bits_[0] |= 0x00000200u;
793 _impl_.http_cache_max_size_ = value;
794 }
set_http_cache_max_size(int64_t value)795 inline void RequestContextConfigOptions::set_http_cache_max_size(int64_t value) {
796 _internal_set_http_cache_max_size(value);
797 // @@protoc_insertion_point(field_set:org.chromium.net.RequestContextConfigOptions.http_cache_max_size)
798 }
799
800 // optional string experimental_options = 10;
_internal_has_experimental_options()801 inline bool RequestContextConfigOptions::_internal_has_experimental_options() const {
802 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
803 return value;
804 }
has_experimental_options()805 inline bool RequestContextConfigOptions::has_experimental_options() const {
806 return _internal_has_experimental_options();
807 }
clear_experimental_options()808 inline void RequestContextConfigOptions::clear_experimental_options() {
809 _impl_.experimental_options_.ClearToEmpty();
810 _impl_._has_bits_[0] &= ~0x00000008u;
811 }
experimental_options()812 inline const std::string& RequestContextConfigOptions::experimental_options() const {
813 // @@protoc_insertion_point(field_get:org.chromium.net.RequestContextConfigOptions.experimental_options)
814 return _internal_experimental_options();
815 }
816 template <typename ArgT0, typename... ArgT>
817 inline PROTOBUF_ALWAYS_INLINE
set_experimental_options(ArgT0 && arg0,ArgT...args)818 void RequestContextConfigOptions::set_experimental_options(ArgT0&& arg0, ArgT... args) {
819 _impl_._has_bits_[0] |= 0x00000008u;
820 _impl_.experimental_options_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
821 // @@protoc_insertion_point(field_set:org.chromium.net.RequestContextConfigOptions.experimental_options)
822 }
mutable_experimental_options()823 inline std::string* RequestContextConfigOptions::mutable_experimental_options() {
824 std::string* _s = _internal_mutable_experimental_options();
825 // @@protoc_insertion_point(field_mutable:org.chromium.net.RequestContextConfigOptions.experimental_options)
826 return _s;
827 }
_internal_experimental_options()828 inline const std::string& RequestContextConfigOptions::_internal_experimental_options() const {
829 return _impl_.experimental_options_.Get();
830 }
_internal_set_experimental_options(const std::string & value)831 inline void RequestContextConfigOptions::_internal_set_experimental_options(const std::string& value) {
832 _impl_._has_bits_[0] |= 0x00000008u;
833 _impl_.experimental_options_.Set(value, GetArenaForAllocation());
834 }
_internal_mutable_experimental_options()835 inline std::string* RequestContextConfigOptions::_internal_mutable_experimental_options() {
836 _impl_._has_bits_[0] |= 0x00000008u;
837 return _impl_.experimental_options_.Mutable(GetArenaForAllocation());
838 }
release_experimental_options()839 inline std::string* RequestContextConfigOptions::release_experimental_options() {
840 // @@protoc_insertion_point(field_release:org.chromium.net.RequestContextConfigOptions.experimental_options)
841 if (!_internal_has_experimental_options()) {
842 return nullptr;
843 }
844 _impl_._has_bits_[0] &= ~0x00000008u;
845 auto* p = _impl_.experimental_options_.Release();
846 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
847 if (_impl_.experimental_options_.IsDefault()) {
848 _impl_.experimental_options_.Set("", GetArenaForAllocation());
849 }
850 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
851 return p;
852 }
set_allocated_experimental_options(std::string * experimental_options)853 inline void RequestContextConfigOptions::set_allocated_experimental_options(std::string* experimental_options) {
854 if (experimental_options != nullptr) {
855 _impl_._has_bits_[0] |= 0x00000008u;
856 } else {
857 _impl_._has_bits_[0] &= ~0x00000008u;
858 }
859 _impl_.experimental_options_.SetAllocated(experimental_options, GetArenaForAllocation());
860 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
861 if (_impl_.experimental_options_.IsDefault()) {
862 _impl_.experimental_options_.Set("", GetArenaForAllocation());
863 }
864 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
865 // @@protoc_insertion_point(field_set_allocated:org.chromium.net.RequestContextConfigOptions.experimental_options)
866 }
867
868 // optional int64 mock_cert_verifier = 11;
_internal_has_mock_cert_verifier()869 inline bool RequestContextConfigOptions::_internal_has_mock_cert_verifier() const {
870 bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
871 return value;
872 }
has_mock_cert_verifier()873 inline bool RequestContextConfigOptions::has_mock_cert_verifier() const {
874 return _internal_has_mock_cert_verifier();
875 }
clear_mock_cert_verifier()876 inline void RequestContextConfigOptions::clear_mock_cert_verifier() {
877 _impl_.mock_cert_verifier_ = int64_t{0};
878 _impl_._has_bits_[0] &= ~0x00000400u;
879 }
_internal_mock_cert_verifier()880 inline int64_t RequestContextConfigOptions::_internal_mock_cert_verifier() const {
881 return _impl_.mock_cert_verifier_;
882 }
mock_cert_verifier()883 inline int64_t RequestContextConfigOptions::mock_cert_verifier() const {
884 // @@protoc_insertion_point(field_get:org.chromium.net.RequestContextConfigOptions.mock_cert_verifier)
885 return _internal_mock_cert_verifier();
886 }
_internal_set_mock_cert_verifier(int64_t value)887 inline void RequestContextConfigOptions::_internal_set_mock_cert_verifier(int64_t value) {
888 _impl_._has_bits_[0] |= 0x00000400u;
889 _impl_.mock_cert_verifier_ = value;
890 }
set_mock_cert_verifier(int64_t value)891 inline void RequestContextConfigOptions::set_mock_cert_verifier(int64_t value) {
892 _internal_set_mock_cert_verifier(value);
893 // @@protoc_insertion_point(field_set:org.chromium.net.RequestContextConfigOptions.mock_cert_verifier)
894 }
895
896 // optional bool enable_network_quality_estimator = 12;
_internal_has_enable_network_quality_estimator()897 inline bool RequestContextConfigOptions::_internal_has_enable_network_quality_estimator() const {
898 bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0;
899 return value;
900 }
has_enable_network_quality_estimator()901 inline bool RequestContextConfigOptions::has_enable_network_quality_estimator() const {
902 return _internal_has_enable_network_quality_estimator();
903 }
clear_enable_network_quality_estimator()904 inline void RequestContextConfigOptions::clear_enable_network_quality_estimator() {
905 _impl_.enable_network_quality_estimator_ = false;
906 _impl_._has_bits_[0] &= ~0x00000800u;
907 }
_internal_enable_network_quality_estimator()908 inline bool RequestContextConfigOptions::_internal_enable_network_quality_estimator() const {
909 return _impl_.enable_network_quality_estimator_;
910 }
enable_network_quality_estimator()911 inline bool RequestContextConfigOptions::enable_network_quality_estimator() const {
912 // @@protoc_insertion_point(field_get:org.chromium.net.RequestContextConfigOptions.enable_network_quality_estimator)
913 return _internal_enable_network_quality_estimator();
914 }
_internal_set_enable_network_quality_estimator(bool value)915 inline void RequestContextConfigOptions::_internal_set_enable_network_quality_estimator(bool value) {
916 _impl_._has_bits_[0] |= 0x00000800u;
917 _impl_.enable_network_quality_estimator_ = value;
918 }
set_enable_network_quality_estimator(bool value)919 inline void RequestContextConfigOptions::set_enable_network_quality_estimator(bool value) {
920 _internal_set_enable_network_quality_estimator(value);
921 // @@protoc_insertion_point(field_set:org.chromium.net.RequestContextConfigOptions.enable_network_quality_estimator)
922 }
923
924 // optional bool bypass_public_key_pinning_for_local_trust_anchors = 13;
_internal_has_bypass_public_key_pinning_for_local_trust_anchors()925 inline bool RequestContextConfigOptions::_internal_has_bypass_public_key_pinning_for_local_trust_anchors() const {
926 bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0;
927 return value;
928 }
has_bypass_public_key_pinning_for_local_trust_anchors()929 inline bool RequestContextConfigOptions::has_bypass_public_key_pinning_for_local_trust_anchors() const {
930 return _internal_has_bypass_public_key_pinning_for_local_trust_anchors();
931 }
clear_bypass_public_key_pinning_for_local_trust_anchors()932 inline void RequestContextConfigOptions::clear_bypass_public_key_pinning_for_local_trust_anchors() {
933 _impl_.bypass_public_key_pinning_for_local_trust_anchors_ = false;
934 _impl_._has_bits_[0] &= ~0x00001000u;
935 }
_internal_bypass_public_key_pinning_for_local_trust_anchors()936 inline bool RequestContextConfigOptions::_internal_bypass_public_key_pinning_for_local_trust_anchors() const {
937 return _impl_.bypass_public_key_pinning_for_local_trust_anchors_;
938 }
bypass_public_key_pinning_for_local_trust_anchors()939 inline bool RequestContextConfigOptions::bypass_public_key_pinning_for_local_trust_anchors() const {
940 // @@protoc_insertion_point(field_get:org.chromium.net.RequestContextConfigOptions.bypass_public_key_pinning_for_local_trust_anchors)
941 return _internal_bypass_public_key_pinning_for_local_trust_anchors();
942 }
_internal_set_bypass_public_key_pinning_for_local_trust_anchors(bool value)943 inline void RequestContextConfigOptions::_internal_set_bypass_public_key_pinning_for_local_trust_anchors(bool value) {
944 _impl_._has_bits_[0] |= 0x00001000u;
945 _impl_.bypass_public_key_pinning_for_local_trust_anchors_ = value;
946 }
set_bypass_public_key_pinning_for_local_trust_anchors(bool value)947 inline void RequestContextConfigOptions::set_bypass_public_key_pinning_for_local_trust_anchors(bool value) {
948 _internal_set_bypass_public_key_pinning_for_local_trust_anchors(value);
949 // @@protoc_insertion_point(field_set:org.chromium.net.RequestContextConfigOptions.bypass_public_key_pinning_for_local_trust_anchors)
950 }
951
952 // optional int32 network_thread_priority = 14;
_internal_has_network_thread_priority()953 inline bool RequestContextConfigOptions::_internal_has_network_thread_priority() const {
954 bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0;
955 return value;
956 }
has_network_thread_priority()957 inline bool RequestContextConfigOptions::has_network_thread_priority() const {
958 return _internal_has_network_thread_priority();
959 }
clear_network_thread_priority()960 inline void RequestContextConfigOptions::clear_network_thread_priority() {
961 _impl_.network_thread_priority_ = 0;
962 _impl_._has_bits_[0] &= ~0x00002000u;
963 }
_internal_network_thread_priority()964 inline int32_t RequestContextConfigOptions::_internal_network_thread_priority() const {
965 return _impl_.network_thread_priority_;
966 }
network_thread_priority()967 inline int32_t RequestContextConfigOptions::network_thread_priority() const {
968 // @@protoc_insertion_point(field_get:org.chromium.net.RequestContextConfigOptions.network_thread_priority)
969 return _internal_network_thread_priority();
970 }
_internal_set_network_thread_priority(int32_t value)971 inline void RequestContextConfigOptions::_internal_set_network_thread_priority(int32_t value) {
972 _impl_._has_bits_[0] |= 0x00002000u;
973 _impl_.network_thread_priority_ = value;
974 }
set_network_thread_priority(int32_t value)975 inline void RequestContextConfigOptions::set_network_thread_priority(int32_t value) {
976 _internal_set_network_thread_priority(value);
977 // @@protoc_insertion_point(field_set:org.chromium.net.RequestContextConfigOptions.network_thread_priority)
978 }
979
980 #ifdef __GNUC__
981 #pragma GCC diagnostic pop
982 #endif // __GNUC__
983
984 // @@protoc_insertion_point(namespace_scope)
985
986 } // namespace net
987 } // namespace chromium
988 } // namespace org
989
990 // @@protoc_insertion_point(global_scope)
991
992 #include <google/protobuf/port_undef.inc>
993 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_request_5fcontext_5fconfig_2eproto
994