1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: fcp/client/http/java/jni.proto
3
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_fcp_2fclient_2fhttp_2fjava_2fjni_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_fcp_2fclient_2fhttp_2fjava_2fjni_2eproto
6
7 #include <cstdint>
8 #include <limits>
9 #include <string>
10
11 #include <google/protobuf/port_def.inc>
12 #if PROTOBUF_VERSION < 3021000
13 #error This file was generated by a newer version of protoc which is
14 #error incompatible with your Protocol Buffer headers. Please update
15 #error your headers.
16 #endif
17 #if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
18 #error This file was generated by an older version of protoc which is
19 #error incompatible with your Protocol Buffer headers. Please
20 #error regenerate this file with a newer version of protoc.
21 #endif
22
23 #include <google/protobuf/port_undef.inc>
24 #include <google/protobuf/io/coded_stream.h>
25 #include <google/protobuf/arena.h>
26 #include <google/protobuf/arenastring.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/metadata_lite.h>
29 #include <google/protobuf/message_lite.h>
30 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
31 #include <google/protobuf/extension_set.h> // IWYU pragma: export
32 #include <google/protobuf/generated_enum_util.h>
33 // @@protoc_insertion_point(includes)
34 #include <google/protobuf/port_def.inc>
35 #define PROTOBUF_INTERNAL_EXPORT_fcp_2fclient_2fhttp_2fjava_2fjni_2eproto
36 PROTOBUF_NAMESPACE_OPEN
37 namespace internal {
38 class AnyMetadata;
39 } // namespace internal
40 PROTOBUF_NAMESPACE_CLOSE
41
42 // Internal implementation detail -- do not use these members.
43 struct TableStruct_fcp_2fclient_2fhttp_2fjava_2fjni_2eproto {
44 static const ::uint32_t offsets[];
45 };
46 namespace fcp {
47 namespace client {
48 namespace http {
49 namespace java {
50 class JniHttpHeader;
51 struct JniHttpHeaderDefaultTypeInternal;
52 extern JniHttpHeaderDefaultTypeInternal _JniHttpHeader_default_instance_;
53 class JniHttpRequest;
54 struct JniHttpRequestDefaultTypeInternal;
55 extern JniHttpRequestDefaultTypeInternal _JniHttpRequest_default_instance_;
56 class JniHttpResponse;
57 struct JniHttpResponseDefaultTypeInternal;
58 extern JniHttpResponseDefaultTypeInternal _JniHttpResponse_default_instance_;
59 class JniHttpSentReceivedBytes;
60 struct JniHttpSentReceivedBytesDefaultTypeInternal;
61 extern JniHttpSentReceivedBytesDefaultTypeInternal _JniHttpSentReceivedBytes_default_instance_;
62 } // namespace java
63 } // namespace http
64 } // namespace client
65 } // namespace fcp
66 PROTOBUF_NAMESPACE_OPEN
67 template<> ::fcp::client::http::java::JniHttpHeader* Arena::CreateMaybeMessage<::fcp::client::http::java::JniHttpHeader>(Arena*);
68 template<> ::fcp::client::http::java::JniHttpRequest* Arena::CreateMaybeMessage<::fcp::client::http::java::JniHttpRequest>(Arena*);
69 template<> ::fcp::client::http::java::JniHttpResponse* Arena::CreateMaybeMessage<::fcp::client::http::java::JniHttpResponse>(Arena*);
70 template<> ::fcp::client::http::java::JniHttpSentReceivedBytes* Arena::CreateMaybeMessage<::fcp::client::http::java::JniHttpSentReceivedBytes>(Arena*);
71 PROTOBUF_NAMESPACE_CLOSE
72 namespace fcp {
73 namespace client {
74 namespace http {
75 namespace java {
76
77 enum JniHttpMethod : int {
78 HTTP_METHOD_UNKNOWN = 0,
79 HTTP_METHOD_HEAD = 1,
80 HTTP_METHOD_GET = 2,
81 HTTP_METHOD_POST = 3,
82 HTTP_METHOD_PUT = 4,
83 HTTP_METHOD_PATCH = 5,
84 HTTP_METHOD_DELETE = 6,
85 JniHttpMethod_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::min(),
86 JniHttpMethod_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::max()
87 };
88 bool JniHttpMethod_IsValid(int value);
89 constexpr JniHttpMethod JniHttpMethod_MIN = HTTP_METHOD_UNKNOWN;
90 constexpr JniHttpMethod JniHttpMethod_MAX = HTTP_METHOD_DELETE;
91 constexpr int JniHttpMethod_ARRAYSIZE = JniHttpMethod_MAX + 1;
92
93 const std::string& JniHttpMethod_Name(JniHttpMethod value);
94 template<typename T>
JniHttpMethod_Name(T enum_t_value)95 inline const std::string& JniHttpMethod_Name(T enum_t_value) {
96 static_assert(::std::is_same<T, JniHttpMethod>::value ||
97 ::std::is_integral<T>::value,
98 "Incorrect type passed to function JniHttpMethod_Name.");
99 return JniHttpMethod_Name(static_cast<JniHttpMethod>(enum_t_value));
100 }
101 bool JniHttpMethod_Parse(
102 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, JniHttpMethod* value);
103 // ===================================================================
104
105 class JniHttpRequest final :
106 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:fcp.client.http.java.JniHttpRequest) */ {
107 public:
JniHttpRequest()108 inline JniHttpRequest() : JniHttpRequest(nullptr) {}
109 ~JniHttpRequest() override;
110 explicit PROTOBUF_CONSTEXPR JniHttpRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
111
112 JniHttpRequest(const JniHttpRequest& from);
JniHttpRequest(JniHttpRequest && from)113 JniHttpRequest(JniHttpRequest&& from) noexcept
114 : JniHttpRequest() {
115 *this = ::std::move(from);
116 }
117
118 inline JniHttpRequest& operator=(const JniHttpRequest& from) {
119 if (this == &from) return *this;
120 CopyFrom(from);
121 return *this;
122 }
123 inline JniHttpRequest& operator=(JniHttpRequest&& from) noexcept {
124 if (this == &from) return *this;
125 if (GetOwningArena() == from.GetOwningArena()
126 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
127 && GetOwningArena() != nullptr
128 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
129 ) {
130 InternalSwap(&from);
131 } else {
132 CopyFrom(from);
133 }
134 return *this;
135 }
136
default_instance()137 static const JniHttpRequest& default_instance() {
138 return *internal_default_instance();
139 }
internal_default_instance()140 static inline const JniHttpRequest* internal_default_instance() {
141 return reinterpret_cast<const JniHttpRequest*>(
142 &_JniHttpRequest_default_instance_);
143 }
144 static constexpr int kIndexInFileMessages =
145 0;
146
swap(JniHttpRequest & a,JniHttpRequest & b)147 friend void swap(JniHttpRequest& a, JniHttpRequest& b) {
148 a.Swap(&b);
149 }
Swap(JniHttpRequest * other)150 inline void Swap(JniHttpRequest* other) {
151 if (other == this) return;
152 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
153 if (GetOwningArena() != nullptr &&
154 GetOwningArena() == other->GetOwningArena()) {
155 #else // PROTOBUF_FORCE_COPY_IN_SWAP
156 if (GetOwningArena() == other->GetOwningArena()) {
157 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
158 InternalSwap(other);
159 } else {
160 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
161 }
162 }
163 void UnsafeArenaSwap(JniHttpRequest* other) {
164 if (other == this) return;
165 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
166 InternalSwap(other);
167 }
168
169 // implements Message ----------------------------------------------
170
171 JniHttpRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
172 return CreateMaybeMessage<JniHttpRequest>(arena);
173 }
174 JniHttpRequest* New() const {
175 return New(nullptr);
176 }
177 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
178 void CopyFrom(const JniHttpRequest& from);
179 void MergeFrom(const JniHttpRequest& from);
180 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
181 bool IsInitialized() const final;
182
183 size_t ByteSizeLong() const final;
184 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
185 ::uint8_t* _InternalSerialize(
186 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
187 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
188
189 private:
190 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
191 void SharedDtor();
192 void SetCachedSize(int size) const;
193 void InternalSwap(JniHttpRequest* other);
194
195 private:
196 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
197 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
198 return "fcp.client.http.java.JniHttpRequest";
199 }
200 protected:
201 explicit JniHttpRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
202 bool is_message_owned = false);
203 public:
204
205 std::string GetTypeName() const final;
206
207 // nested types ----------------------------------------------------
208
209 // accessors -------------------------------------------------------
210
211 enum : int {
212 kExtraHeadersFieldNumber = 3,
213 kUriFieldNumber = 1,
214 kMethodFieldNumber = 2,
215 kHasBodyFieldNumber = 4,
216 };
217 // repeated .fcp.client.http.java.JniHttpHeader extra_headers = 3;
218 int extra_headers_size() const;
219 private:
220 int _internal_extra_headers_size() const;
221 public:
222 void clear_extra_headers();
223 ::fcp::client::http::java::JniHttpHeader* mutable_extra_headers(int index);
224 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fcp::client::http::java::JniHttpHeader >*
225 mutable_extra_headers();
226 private:
227 const ::fcp::client::http::java::JniHttpHeader& _internal_extra_headers(int index) const;
228 ::fcp::client::http::java::JniHttpHeader* _internal_add_extra_headers();
229 public:
230 const ::fcp::client::http::java::JniHttpHeader& extra_headers(int index) const;
231 ::fcp::client::http::java::JniHttpHeader* add_extra_headers();
232 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fcp::client::http::java::JniHttpHeader >&
233 extra_headers() const;
234
235 // string uri = 1;
236 void clear_uri();
237 const std::string& uri() const;
238 template <typename ArgT0 = const std::string&, typename... ArgT>
239 void set_uri(ArgT0&& arg0, ArgT... args);
240 std::string* mutable_uri();
241 PROTOBUF_NODISCARD std::string* release_uri();
242 void set_allocated_uri(std::string* uri);
243 private:
244 const std::string& _internal_uri() const;
245 inline PROTOBUF_ALWAYS_INLINE void _internal_set_uri(const std::string& value);
246 std::string* _internal_mutable_uri();
247 public:
248
249 // .fcp.client.http.java.JniHttpMethod method = 2;
250 void clear_method();
251 ::fcp::client::http::java::JniHttpMethod method() const;
252 void set_method(::fcp::client::http::java::JniHttpMethod value);
253 private:
254 ::fcp::client::http::java::JniHttpMethod _internal_method() const;
255 void _internal_set_method(::fcp::client::http::java::JniHttpMethod value);
256 public:
257
258 // bool has_body = 4;
259 void clear_has_body();
260 bool has_body() const;
261 void set_has_body(bool value);
262 private:
263 bool _internal_has_body() const;
264 void _internal_set_has_body(bool value);
265 public:
266
267 // @@protoc_insertion_point(class_scope:fcp.client.http.java.JniHttpRequest)
268 private:
269 class _Internal;
270
271 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
272 typedef void InternalArenaConstructable_;
273 typedef void DestructorSkippable_;
274 struct Impl_ {
275 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fcp::client::http::java::JniHttpHeader > extra_headers_;
276 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr uri_;
277 int method_;
278 bool has_body_;
279 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
280 };
281 union { Impl_ _impl_; };
282 friend struct ::TableStruct_fcp_2fclient_2fhttp_2fjava_2fjni_2eproto;
283 };
284 // -------------------------------------------------------------------
285
286 class JniHttpHeader final :
287 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:fcp.client.http.java.JniHttpHeader) */ {
288 public:
JniHttpHeader()289 inline JniHttpHeader() : JniHttpHeader(nullptr) {}
290 ~JniHttpHeader() override;
291 explicit PROTOBUF_CONSTEXPR JniHttpHeader(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
292
293 JniHttpHeader(const JniHttpHeader& from);
JniHttpHeader(JniHttpHeader && from)294 JniHttpHeader(JniHttpHeader&& from) noexcept
295 : JniHttpHeader() {
296 *this = ::std::move(from);
297 }
298
299 inline JniHttpHeader& operator=(const JniHttpHeader& from) {
300 if (this == &from) return *this;
301 CopyFrom(from);
302 return *this;
303 }
304 inline JniHttpHeader& operator=(JniHttpHeader&& from) noexcept {
305 if (this == &from) return *this;
306 if (GetOwningArena() == from.GetOwningArena()
307 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
308 && GetOwningArena() != nullptr
309 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
310 ) {
311 InternalSwap(&from);
312 } else {
313 CopyFrom(from);
314 }
315 return *this;
316 }
317
default_instance()318 static const JniHttpHeader& default_instance() {
319 return *internal_default_instance();
320 }
internal_default_instance()321 static inline const JniHttpHeader* internal_default_instance() {
322 return reinterpret_cast<const JniHttpHeader*>(
323 &_JniHttpHeader_default_instance_);
324 }
325 static constexpr int kIndexInFileMessages =
326 1;
327
swap(JniHttpHeader & a,JniHttpHeader & b)328 friend void swap(JniHttpHeader& a, JniHttpHeader& b) {
329 a.Swap(&b);
330 }
Swap(JniHttpHeader * other)331 inline void Swap(JniHttpHeader* other) {
332 if (other == this) return;
333 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
334 if (GetOwningArena() != nullptr &&
335 GetOwningArena() == other->GetOwningArena()) {
336 #else // PROTOBUF_FORCE_COPY_IN_SWAP
337 if (GetOwningArena() == other->GetOwningArena()) {
338 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
339 InternalSwap(other);
340 } else {
341 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
342 }
343 }
344 void UnsafeArenaSwap(JniHttpHeader* other) {
345 if (other == this) return;
346 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
347 InternalSwap(other);
348 }
349
350 // implements Message ----------------------------------------------
351
352 JniHttpHeader* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
353 return CreateMaybeMessage<JniHttpHeader>(arena);
354 }
355 JniHttpHeader* New() const {
356 return New(nullptr);
357 }
358 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
359 void CopyFrom(const JniHttpHeader& from);
360 void MergeFrom(const JniHttpHeader& from);
361 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
362 bool IsInitialized() const final;
363
364 size_t ByteSizeLong() const final;
365 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
366 ::uint8_t* _InternalSerialize(
367 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
368 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
369
370 private:
371 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
372 void SharedDtor();
373 void SetCachedSize(int size) const;
374 void InternalSwap(JniHttpHeader* other);
375
376 private:
377 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
378 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
379 return "fcp.client.http.java.JniHttpHeader";
380 }
381 protected:
382 explicit JniHttpHeader(::PROTOBUF_NAMESPACE_ID::Arena* arena,
383 bool is_message_owned = false);
384 public:
385
386 std::string GetTypeName() const final;
387
388 // nested types ----------------------------------------------------
389
390 // accessors -------------------------------------------------------
391
392 enum : int {
393 kNameFieldNumber = 1,
394 kValueFieldNumber = 2,
395 };
396 // string name = 1;
397 void clear_name();
398 const std::string& name() const;
399 template <typename ArgT0 = const std::string&, typename... ArgT>
400 void set_name(ArgT0&& arg0, ArgT... args);
401 std::string* mutable_name();
402 PROTOBUF_NODISCARD std::string* release_name();
403 void set_allocated_name(std::string* name);
404 private:
405 const std::string& _internal_name() const;
406 inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
407 std::string* _internal_mutable_name();
408 public:
409
410 // string value = 2;
411 void clear_value();
412 const std::string& value() const;
413 template <typename ArgT0 = const std::string&, typename... ArgT>
414 void set_value(ArgT0&& arg0, ArgT... args);
415 std::string* mutable_value();
416 PROTOBUF_NODISCARD std::string* release_value();
417 void set_allocated_value(std::string* value);
418 private:
419 const std::string& _internal_value() const;
420 inline PROTOBUF_ALWAYS_INLINE void _internal_set_value(const std::string& value);
421 std::string* _internal_mutable_value();
422 public:
423
424 // @@protoc_insertion_point(class_scope:fcp.client.http.java.JniHttpHeader)
425 private:
426 class _Internal;
427
428 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
429 typedef void InternalArenaConstructable_;
430 typedef void DestructorSkippable_;
431 struct Impl_ {
432 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
433 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_;
434 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
435 };
436 union { Impl_ _impl_; };
437 friend struct ::TableStruct_fcp_2fclient_2fhttp_2fjava_2fjni_2eproto;
438 };
439 // -------------------------------------------------------------------
440
441 class JniHttpResponse final :
442 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:fcp.client.http.java.JniHttpResponse) */ {
443 public:
JniHttpResponse()444 inline JniHttpResponse() : JniHttpResponse(nullptr) {}
445 ~JniHttpResponse() override;
446 explicit PROTOBUF_CONSTEXPR JniHttpResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
447
448 JniHttpResponse(const JniHttpResponse& from);
JniHttpResponse(JniHttpResponse && from)449 JniHttpResponse(JniHttpResponse&& from) noexcept
450 : JniHttpResponse() {
451 *this = ::std::move(from);
452 }
453
454 inline JniHttpResponse& operator=(const JniHttpResponse& from) {
455 if (this == &from) return *this;
456 CopyFrom(from);
457 return *this;
458 }
459 inline JniHttpResponse& operator=(JniHttpResponse&& from) noexcept {
460 if (this == &from) return *this;
461 if (GetOwningArena() == from.GetOwningArena()
462 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
463 && GetOwningArena() != nullptr
464 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
465 ) {
466 InternalSwap(&from);
467 } else {
468 CopyFrom(from);
469 }
470 return *this;
471 }
472
default_instance()473 static const JniHttpResponse& default_instance() {
474 return *internal_default_instance();
475 }
internal_default_instance()476 static inline const JniHttpResponse* internal_default_instance() {
477 return reinterpret_cast<const JniHttpResponse*>(
478 &_JniHttpResponse_default_instance_);
479 }
480 static constexpr int kIndexInFileMessages =
481 2;
482
swap(JniHttpResponse & a,JniHttpResponse & b)483 friend void swap(JniHttpResponse& a, JniHttpResponse& b) {
484 a.Swap(&b);
485 }
Swap(JniHttpResponse * other)486 inline void Swap(JniHttpResponse* other) {
487 if (other == this) return;
488 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
489 if (GetOwningArena() != nullptr &&
490 GetOwningArena() == other->GetOwningArena()) {
491 #else // PROTOBUF_FORCE_COPY_IN_SWAP
492 if (GetOwningArena() == other->GetOwningArena()) {
493 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
494 InternalSwap(other);
495 } else {
496 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
497 }
498 }
499 void UnsafeArenaSwap(JniHttpResponse* other) {
500 if (other == this) return;
501 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
502 InternalSwap(other);
503 }
504
505 // implements Message ----------------------------------------------
506
507 JniHttpResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
508 return CreateMaybeMessage<JniHttpResponse>(arena);
509 }
510 JniHttpResponse* New() const {
511 return New(nullptr);
512 }
513 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
514 void CopyFrom(const JniHttpResponse& from);
515 void MergeFrom(const JniHttpResponse& from);
516 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
517 bool IsInitialized() const final;
518
519 size_t ByteSizeLong() const final;
520 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
521 ::uint8_t* _InternalSerialize(
522 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
523 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
524
525 private:
526 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
527 void SharedDtor();
528 void SetCachedSize(int size) const;
529 void InternalSwap(JniHttpResponse* other);
530
531 private:
532 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
533 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
534 return "fcp.client.http.java.JniHttpResponse";
535 }
536 protected:
537 explicit JniHttpResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena,
538 bool is_message_owned = false);
539 public:
540
541 std::string GetTypeName() const final;
542
543 // nested types ----------------------------------------------------
544
545 // accessors -------------------------------------------------------
546
547 enum : int {
548 kHeadersFieldNumber = 2,
549 kCodeFieldNumber = 1,
550 };
551 // repeated .fcp.client.http.java.JniHttpHeader headers = 2;
552 int headers_size() const;
553 private:
554 int _internal_headers_size() const;
555 public:
556 void clear_headers();
557 ::fcp::client::http::java::JniHttpHeader* mutable_headers(int index);
558 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fcp::client::http::java::JniHttpHeader >*
559 mutable_headers();
560 private:
561 const ::fcp::client::http::java::JniHttpHeader& _internal_headers(int index) const;
562 ::fcp::client::http::java::JniHttpHeader* _internal_add_headers();
563 public:
564 const ::fcp::client::http::java::JniHttpHeader& headers(int index) const;
565 ::fcp::client::http::java::JniHttpHeader* add_headers();
566 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fcp::client::http::java::JniHttpHeader >&
567 headers() const;
568
569 // int32 code = 1;
570 void clear_code();
571 ::int32_t code() const;
572 void set_code(::int32_t value);
573 private:
574 ::int32_t _internal_code() const;
575 void _internal_set_code(::int32_t value);
576 public:
577
578 // @@protoc_insertion_point(class_scope:fcp.client.http.java.JniHttpResponse)
579 private:
580 class _Internal;
581
582 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
583 typedef void InternalArenaConstructable_;
584 typedef void DestructorSkippable_;
585 struct Impl_ {
586 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fcp::client::http::java::JniHttpHeader > headers_;
587 ::int32_t code_;
588 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
589 };
590 union { Impl_ _impl_; };
591 friend struct ::TableStruct_fcp_2fclient_2fhttp_2fjava_2fjni_2eproto;
592 };
593 // -------------------------------------------------------------------
594
595 class JniHttpSentReceivedBytes final :
596 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:fcp.client.http.java.JniHttpSentReceivedBytes) */ {
597 public:
JniHttpSentReceivedBytes()598 inline JniHttpSentReceivedBytes() : JniHttpSentReceivedBytes(nullptr) {}
599 ~JniHttpSentReceivedBytes() override;
600 explicit PROTOBUF_CONSTEXPR JniHttpSentReceivedBytes(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
601
602 JniHttpSentReceivedBytes(const JniHttpSentReceivedBytes& from);
JniHttpSentReceivedBytes(JniHttpSentReceivedBytes && from)603 JniHttpSentReceivedBytes(JniHttpSentReceivedBytes&& from) noexcept
604 : JniHttpSentReceivedBytes() {
605 *this = ::std::move(from);
606 }
607
608 inline JniHttpSentReceivedBytes& operator=(const JniHttpSentReceivedBytes& from) {
609 if (this == &from) return *this;
610 CopyFrom(from);
611 return *this;
612 }
613 inline JniHttpSentReceivedBytes& operator=(JniHttpSentReceivedBytes&& from) noexcept {
614 if (this == &from) return *this;
615 if (GetOwningArena() == from.GetOwningArena()
616 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
617 && GetOwningArena() != nullptr
618 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
619 ) {
620 InternalSwap(&from);
621 } else {
622 CopyFrom(from);
623 }
624 return *this;
625 }
626
default_instance()627 static const JniHttpSentReceivedBytes& default_instance() {
628 return *internal_default_instance();
629 }
internal_default_instance()630 static inline const JniHttpSentReceivedBytes* internal_default_instance() {
631 return reinterpret_cast<const JniHttpSentReceivedBytes*>(
632 &_JniHttpSentReceivedBytes_default_instance_);
633 }
634 static constexpr int kIndexInFileMessages =
635 3;
636
swap(JniHttpSentReceivedBytes & a,JniHttpSentReceivedBytes & b)637 friend void swap(JniHttpSentReceivedBytes& a, JniHttpSentReceivedBytes& b) {
638 a.Swap(&b);
639 }
Swap(JniHttpSentReceivedBytes * other)640 inline void Swap(JniHttpSentReceivedBytes* other) {
641 if (other == this) return;
642 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
643 if (GetOwningArena() != nullptr &&
644 GetOwningArena() == other->GetOwningArena()) {
645 #else // PROTOBUF_FORCE_COPY_IN_SWAP
646 if (GetOwningArena() == other->GetOwningArena()) {
647 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
648 InternalSwap(other);
649 } else {
650 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
651 }
652 }
653 void UnsafeArenaSwap(JniHttpSentReceivedBytes* other) {
654 if (other == this) return;
655 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
656 InternalSwap(other);
657 }
658
659 // implements Message ----------------------------------------------
660
661 JniHttpSentReceivedBytes* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
662 return CreateMaybeMessage<JniHttpSentReceivedBytes>(arena);
663 }
664 JniHttpSentReceivedBytes* New() const {
665 return New(nullptr);
666 }
667 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
668 void CopyFrom(const JniHttpSentReceivedBytes& from);
669 void MergeFrom(const JniHttpSentReceivedBytes& from);
670 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
671 bool IsInitialized() const final;
672
673 size_t ByteSizeLong() const final;
674 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
675 ::uint8_t* _InternalSerialize(
676 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
677 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
678
679 private:
680 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
681 void SharedDtor();
682 void SetCachedSize(int size) const;
683 void InternalSwap(JniHttpSentReceivedBytes* other);
684
685 private:
686 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
687 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
688 return "fcp.client.http.java.JniHttpSentReceivedBytes";
689 }
690 protected:
691 explicit JniHttpSentReceivedBytes(::PROTOBUF_NAMESPACE_ID::Arena* arena,
692 bool is_message_owned = false);
693 public:
694
695 std::string GetTypeName() const final;
696
697 // nested types ----------------------------------------------------
698
699 // accessors -------------------------------------------------------
700
701 enum : int {
702 kSentBytesFieldNumber = 1,
703 kReceivedBytesFieldNumber = 2,
704 };
705 // int64 sent_bytes = 1;
706 void clear_sent_bytes();
707 ::int64_t sent_bytes() const;
708 void set_sent_bytes(::int64_t value);
709 private:
710 ::int64_t _internal_sent_bytes() const;
711 void _internal_set_sent_bytes(::int64_t value);
712 public:
713
714 // int64 received_bytes = 2;
715 void clear_received_bytes();
716 ::int64_t received_bytes() const;
717 void set_received_bytes(::int64_t value);
718 private:
719 ::int64_t _internal_received_bytes() const;
720 void _internal_set_received_bytes(::int64_t value);
721 public:
722
723 // @@protoc_insertion_point(class_scope:fcp.client.http.java.JniHttpSentReceivedBytes)
724 private:
725 class _Internal;
726
727 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
728 typedef void InternalArenaConstructable_;
729 typedef void DestructorSkippable_;
730 struct Impl_ {
731 ::int64_t sent_bytes_;
732 ::int64_t received_bytes_;
733 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
734 };
735 union { Impl_ _impl_; };
736 friend struct ::TableStruct_fcp_2fclient_2fhttp_2fjava_2fjni_2eproto;
737 };
738 // ===================================================================
739
740
741 // ===================================================================
742
743 #ifdef __GNUC__
744 #pragma GCC diagnostic push
745 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
746 #endif // __GNUC__
747 // JniHttpRequest
748
749 // string uri = 1;
clear_uri()750 inline void JniHttpRequest::clear_uri() {
751 _impl_.uri_.ClearToEmpty();
752 }
uri()753 inline const std::string& JniHttpRequest::uri() const {
754 // @@protoc_insertion_point(field_get:fcp.client.http.java.JniHttpRequest.uri)
755 return _internal_uri();
756 }
757 template <typename ArgT0, typename... ArgT>
758 inline PROTOBUF_ALWAYS_INLINE
set_uri(ArgT0 && arg0,ArgT...args)759 void JniHttpRequest::set_uri(ArgT0&& arg0, ArgT... args) {
760
761 _impl_.uri_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
762 // @@protoc_insertion_point(field_set:fcp.client.http.java.JniHttpRequest.uri)
763 }
mutable_uri()764 inline std::string* JniHttpRequest::mutable_uri() {
765 std::string* _s = _internal_mutable_uri();
766 // @@protoc_insertion_point(field_mutable:fcp.client.http.java.JniHttpRequest.uri)
767 return _s;
768 }
_internal_uri()769 inline const std::string& JniHttpRequest::_internal_uri() const {
770 return _impl_.uri_.Get();
771 }
_internal_set_uri(const std::string & value)772 inline void JniHttpRequest::_internal_set_uri(const std::string& value) {
773
774 _impl_.uri_.Set(value, GetArenaForAllocation());
775 }
_internal_mutable_uri()776 inline std::string* JniHttpRequest::_internal_mutable_uri() {
777
778 return _impl_.uri_.Mutable(GetArenaForAllocation());
779 }
release_uri()780 inline std::string* JniHttpRequest::release_uri() {
781 // @@protoc_insertion_point(field_release:fcp.client.http.java.JniHttpRequest.uri)
782 return _impl_.uri_.Release();
783 }
set_allocated_uri(std::string * uri)784 inline void JniHttpRequest::set_allocated_uri(std::string* uri) {
785 _impl_.uri_.SetAllocated(uri, GetArenaForAllocation());
786 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
787 if (_impl_.uri_.IsDefault()) {
788 _impl_.uri_.Set("", GetArenaForAllocation());
789 }
790 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
791 // @@protoc_insertion_point(field_set_allocated:fcp.client.http.java.JniHttpRequest.uri)
792 }
793
794 // .fcp.client.http.java.JniHttpMethod method = 2;
clear_method()795 inline void JniHttpRequest::clear_method() {
796 _impl_.method_ = 0;
797 }
_internal_method()798 inline ::fcp::client::http::java::JniHttpMethod JniHttpRequest::_internal_method() const {
799 return static_cast< ::fcp::client::http::java::JniHttpMethod >(_impl_.method_);
800 }
method()801 inline ::fcp::client::http::java::JniHttpMethod JniHttpRequest::method() const {
802 // @@protoc_insertion_point(field_get:fcp.client.http.java.JniHttpRequest.method)
803 return _internal_method();
804 }
_internal_set_method(::fcp::client::http::java::JniHttpMethod value)805 inline void JniHttpRequest::_internal_set_method(::fcp::client::http::java::JniHttpMethod value) {
806
807 _impl_.method_ = value;
808 }
set_method(::fcp::client::http::java::JniHttpMethod value)809 inline void JniHttpRequest::set_method(::fcp::client::http::java::JniHttpMethod value) {
810 _internal_set_method(value);
811 // @@protoc_insertion_point(field_set:fcp.client.http.java.JniHttpRequest.method)
812 }
813
814 // repeated .fcp.client.http.java.JniHttpHeader extra_headers = 3;
_internal_extra_headers_size()815 inline int JniHttpRequest::_internal_extra_headers_size() const {
816 return _impl_.extra_headers_.size();
817 }
extra_headers_size()818 inline int JniHttpRequest::extra_headers_size() const {
819 return _internal_extra_headers_size();
820 }
clear_extra_headers()821 inline void JniHttpRequest::clear_extra_headers() {
822 _impl_.extra_headers_.Clear();
823 }
mutable_extra_headers(int index)824 inline ::fcp::client::http::java::JniHttpHeader* JniHttpRequest::mutable_extra_headers(int index) {
825 // @@protoc_insertion_point(field_mutable:fcp.client.http.java.JniHttpRequest.extra_headers)
826 return _impl_.extra_headers_.Mutable(index);
827 }
828 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fcp::client::http::java::JniHttpHeader >*
mutable_extra_headers()829 JniHttpRequest::mutable_extra_headers() {
830 // @@protoc_insertion_point(field_mutable_list:fcp.client.http.java.JniHttpRequest.extra_headers)
831 return &_impl_.extra_headers_;
832 }
_internal_extra_headers(int index)833 inline const ::fcp::client::http::java::JniHttpHeader& JniHttpRequest::_internal_extra_headers(int index) const {
834 return _impl_.extra_headers_.Get(index);
835 }
extra_headers(int index)836 inline const ::fcp::client::http::java::JniHttpHeader& JniHttpRequest::extra_headers(int index) const {
837 // @@protoc_insertion_point(field_get:fcp.client.http.java.JniHttpRequest.extra_headers)
838 return _internal_extra_headers(index);
839 }
_internal_add_extra_headers()840 inline ::fcp::client::http::java::JniHttpHeader* JniHttpRequest::_internal_add_extra_headers() {
841 return _impl_.extra_headers_.Add();
842 }
add_extra_headers()843 inline ::fcp::client::http::java::JniHttpHeader* JniHttpRequest::add_extra_headers() {
844 ::fcp::client::http::java::JniHttpHeader* _add = _internal_add_extra_headers();
845 // @@protoc_insertion_point(field_add:fcp.client.http.java.JniHttpRequest.extra_headers)
846 return _add;
847 }
848 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fcp::client::http::java::JniHttpHeader >&
extra_headers()849 JniHttpRequest::extra_headers() const {
850 // @@protoc_insertion_point(field_list:fcp.client.http.java.JniHttpRequest.extra_headers)
851 return _impl_.extra_headers_;
852 }
853
854 // bool has_body = 4;
clear_has_body()855 inline void JniHttpRequest::clear_has_body() {
856 _impl_.has_body_ = false;
857 }
_internal_has_body()858 inline bool JniHttpRequest::_internal_has_body() const {
859 return _impl_.has_body_;
860 }
has_body()861 inline bool JniHttpRequest::has_body() const {
862 // @@protoc_insertion_point(field_get:fcp.client.http.java.JniHttpRequest.has_body)
863 return _internal_has_body();
864 }
_internal_set_has_body(bool value)865 inline void JniHttpRequest::_internal_set_has_body(bool value) {
866
867 _impl_.has_body_ = value;
868 }
set_has_body(bool value)869 inline void JniHttpRequest::set_has_body(bool value) {
870 _internal_set_has_body(value);
871 // @@protoc_insertion_point(field_set:fcp.client.http.java.JniHttpRequest.has_body)
872 }
873
874 // -------------------------------------------------------------------
875
876 // JniHttpHeader
877
878 // string name = 1;
clear_name()879 inline void JniHttpHeader::clear_name() {
880 _impl_.name_.ClearToEmpty();
881 }
name()882 inline const std::string& JniHttpHeader::name() const {
883 // @@protoc_insertion_point(field_get:fcp.client.http.java.JniHttpHeader.name)
884 return _internal_name();
885 }
886 template <typename ArgT0, typename... ArgT>
887 inline PROTOBUF_ALWAYS_INLINE
set_name(ArgT0 && arg0,ArgT...args)888 void JniHttpHeader::set_name(ArgT0&& arg0, ArgT... args) {
889
890 _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
891 // @@protoc_insertion_point(field_set:fcp.client.http.java.JniHttpHeader.name)
892 }
mutable_name()893 inline std::string* JniHttpHeader::mutable_name() {
894 std::string* _s = _internal_mutable_name();
895 // @@protoc_insertion_point(field_mutable:fcp.client.http.java.JniHttpHeader.name)
896 return _s;
897 }
_internal_name()898 inline const std::string& JniHttpHeader::_internal_name() const {
899 return _impl_.name_.Get();
900 }
_internal_set_name(const std::string & value)901 inline void JniHttpHeader::_internal_set_name(const std::string& value) {
902
903 _impl_.name_.Set(value, GetArenaForAllocation());
904 }
_internal_mutable_name()905 inline std::string* JniHttpHeader::_internal_mutable_name() {
906
907 return _impl_.name_.Mutable(GetArenaForAllocation());
908 }
release_name()909 inline std::string* JniHttpHeader::release_name() {
910 // @@protoc_insertion_point(field_release:fcp.client.http.java.JniHttpHeader.name)
911 return _impl_.name_.Release();
912 }
set_allocated_name(std::string * name)913 inline void JniHttpHeader::set_allocated_name(std::string* name) {
914 _impl_.name_.SetAllocated(name, GetArenaForAllocation());
915 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
916 if (_impl_.name_.IsDefault()) {
917 _impl_.name_.Set("", GetArenaForAllocation());
918 }
919 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
920 // @@protoc_insertion_point(field_set_allocated:fcp.client.http.java.JniHttpHeader.name)
921 }
922
923 // string value = 2;
clear_value()924 inline void JniHttpHeader::clear_value() {
925 _impl_.value_.ClearToEmpty();
926 }
value()927 inline const std::string& JniHttpHeader::value() const {
928 // @@protoc_insertion_point(field_get:fcp.client.http.java.JniHttpHeader.value)
929 return _internal_value();
930 }
931 template <typename ArgT0, typename... ArgT>
932 inline PROTOBUF_ALWAYS_INLINE
set_value(ArgT0 && arg0,ArgT...args)933 void JniHttpHeader::set_value(ArgT0&& arg0, ArgT... args) {
934
935 _impl_.value_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
936 // @@protoc_insertion_point(field_set:fcp.client.http.java.JniHttpHeader.value)
937 }
mutable_value()938 inline std::string* JniHttpHeader::mutable_value() {
939 std::string* _s = _internal_mutable_value();
940 // @@protoc_insertion_point(field_mutable:fcp.client.http.java.JniHttpHeader.value)
941 return _s;
942 }
_internal_value()943 inline const std::string& JniHttpHeader::_internal_value() const {
944 return _impl_.value_.Get();
945 }
_internal_set_value(const std::string & value)946 inline void JniHttpHeader::_internal_set_value(const std::string& value) {
947
948 _impl_.value_.Set(value, GetArenaForAllocation());
949 }
_internal_mutable_value()950 inline std::string* JniHttpHeader::_internal_mutable_value() {
951
952 return _impl_.value_.Mutable(GetArenaForAllocation());
953 }
release_value()954 inline std::string* JniHttpHeader::release_value() {
955 // @@protoc_insertion_point(field_release:fcp.client.http.java.JniHttpHeader.value)
956 return _impl_.value_.Release();
957 }
set_allocated_value(std::string * value)958 inline void JniHttpHeader::set_allocated_value(std::string* value) {
959 _impl_.value_.SetAllocated(value, GetArenaForAllocation());
960 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
961 if (_impl_.value_.IsDefault()) {
962 _impl_.value_.Set("", GetArenaForAllocation());
963 }
964 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
965 // @@protoc_insertion_point(field_set_allocated:fcp.client.http.java.JniHttpHeader.value)
966 }
967
968 // -------------------------------------------------------------------
969
970 // JniHttpResponse
971
972 // int32 code = 1;
clear_code()973 inline void JniHttpResponse::clear_code() {
974 _impl_.code_ = 0;
975 }
_internal_code()976 inline ::int32_t JniHttpResponse::_internal_code() const {
977 return _impl_.code_;
978 }
code()979 inline ::int32_t JniHttpResponse::code() const {
980 // @@protoc_insertion_point(field_get:fcp.client.http.java.JniHttpResponse.code)
981 return _internal_code();
982 }
_internal_set_code(::int32_t value)983 inline void JniHttpResponse::_internal_set_code(::int32_t value) {
984
985 _impl_.code_ = value;
986 }
set_code(::int32_t value)987 inline void JniHttpResponse::set_code(::int32_t value) {
988 _internal_set_code(value);
989 // @@protoc_insertion_point(field_set:fcp.client.http.java.JniHttpResponse.code)
990 }
991
992 // repeated .fcp.client.http.java.JniHttpHeader headers = 2;
_internal_headers_size()993 inline int JniHttpResponse::_internal_headers_size() const {
994 return _impl_.headers_.size();
995 }
headers_size()996 inline int JniHttpResponse::headers_size() const {
997 return _internal_headers_size();
998 }
clear_headers()999 inline void JniHttpResponse::clear_headers() {
1000 _impl_.headers_.Clear();
1001 }
mutable_headers(int index)1002 inline ::fcp::client::http::java::JniHttpHeader* JniHttpResponse::mutable_headers(int index) {
1003 // @@protoc_insertion_point(field_mutable:fcp.client.http.java.JniHttpResponse.headers)
1004 return _impl_.headers_.Mutable(index);
1005 }
1006 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fcp::client::http::java::JniHttpHeader >*
mutable_headers()1007 JniHttpResponse::mutable_headers() {
1008 // @@protoc_insertion_point(field_mutable_list:fcp.client.http.java.JniHttpResponse.headers)
1009 return &_impl_.headers_;
1010 }
_internal_headers(int index)1011 inline const ::fcp::client::http::java::JniHttpHeader& JniHttpResponse::_internal_headers(int index) const {
1012 return _impl_.headers_.Get(index);
1013 }
headers(int index)1014 inline const ::fcp::client::http::java::JniHttpHeader& JniHttpResponse::headers(int index) const {
1015 // @@protoc_insertion_point(field_get:fcp.client.http.java.JniHttpResponse.headers)
1016 return _internal_headers(index);
1017 }
_internal_add_headers()1018 inline ::fcp::client::http::java::JniHttpHeader* JniHttpResponse::_internal_add_headers() {
1019 return _impl_.headers_.Add();
1020 }
add_headers()1021 inline ::fcp::client::http::java::JniHttpHeader* JniHttpResponse::add_headers() {
1022 ::fcp::client::http::java::JniHttpHeader* _add = _internal_add_headers();
1023 // @@protoc_insertion_point(field_add:fcp.client.http.java.JniHttpResponse.headers)
1024 return _add;
1025 }
1026 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::fcp::client::http::java::JniHttpHeader >&
headers()1027 JniHttpResponse::headers() const {
1028 // @@protoc_insertion_point(field_list:fcp.client.http.java.JniHttpResponse.headers)
1029 return _impl_.headers_;
1030 }
1031
1032 // -------------------------------------------------------------------
1033
1034 // JniHttpSentReceivedBytes
1035
1036 // int64 sent_bytes = 1;
clear_sent_bytes()1037 inline void JniHttpSentReceivedBytes::clear_sent_bytes() {
1038 _impl_.sent_bytes_ = ::int64_t{0};
1039 }
_internal_sent_bytes()1040 inline ::int64_t JniHttpSentReceivedBytes::_internal_sent_bytes() const {
1041 return _impl_.sent_bytes_;
1042 }
sent_bytes()1043 inline ::int64_t JniHttpSentReceivedBytes::sent_bytes() const {
1044 // @@protoc_insertion_point(field_get:fcp.client.http.java.JniHttpSentReceivedBytes.sent_bytes)
1045 return _internal_sent_bytes();
1046 }
_internal_set_sent_bytes(::int64_t value)1047 inline void JniHttpSentReceivedBytes::_internal_set_sent_bytes(::int64_t value) {
1048
1049 _impl_.sent_bytes_ = value;
1050 }
set_sent_bytes(::int64_t value)1051 inline void JniHttpSentReceivedBytes::set_sent_bytes(::int64_t value) {
1052 _internal_set_sent_bytes(value);
1053 // @@protoc_insertion_point(field_set:fcp.client.http.java.JniHttpSentReceivedBytes.sent_bytes)
1054 }
1055
1056 // int64 received_bytes = 2;
clear_received_bytes()1057 inline void JniHttpSentReceivedBytes::clear_received_bytes() {
1058 _impl_.received_bytes_ = ::int64_t{0};
1059 }
_internal_received_bytes()1060 inline ::int64_t JniHttpSentReceivedBytes::_internal_received_bytes() const {
1061 return _impl_.received_bytes_;
1062 }
received_bytes()1063 inline ::int64_t JniHttpSentReceivedBytes::received_bytes() const {
1064 // @@protoc_insertion_point(field_get:fcp.client.http.java.JniHttpSentReceivedBytes.received_bytes)
1065 return _internal_received_bytes();
1066 }
_internal_set_received_bytes(::int64_t value)1067 inline void JniHttpSentReceivedBytes::_internal_set_received_bytes(::int64_t value) {
1068
1069 _impl_.received_bytes_ = value;
1070 }
set_received_bytes(::int64_t value)1071 inline void JniHttpSentReceivedBytes::set_received_bytes(::int64_t value) {
1072 _internal_set_received_bytes(value);
1073 // @@protoc_insertion_point(field_set:fcp.client.http.java.JniHttpSentReceivedBytes.received_bytes)
1074 }
1075
1076 #ifdef __GNUC__
1077 #pragma GCC diagnostic pop
1078 #endif // __GNUC__
1079 // -------------------------------------------------------------------
1080
1081 // -------------------------------------------------------------------
1082
1083 // -------------------------------------------------------------------
1084
1085
1086 // @@protoc_insertion_point(namespace_scope)
1087
1088 } // namespace java
1089 } // namespace http
1090 } // namespace client
1091 } // namespace fcp
1092
1093 PROTOBUF_NAMESPACE_OPEN
1094
1095 template <> struct is_proto_enum< ::fcp::client::http::java::JniHttpMethod> : ::std::true_type {};
1096
1097 PROTOBUF_NAMESPACE_CLOSE
1098
1099 // @@protoc_insertion_point(global_scope)
1100
1101 #include <google/protobuf/port_undef.inc>
1102 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_fcp_2fclient_2fhttp_2fjava_2fjni_2eproto
1103