JaiaBot 2.0.0
JaiaBot micro-AUV software
 
Loading...
Searching...
No Matches
option_extensions.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: jaiabot/messages/option_extensions.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2foption_5fextensions_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2foption_5fextensions_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_bases.h>
27#include <google/protobuf/generated_message_util.h>
28#include <google/protobuf/metadata_lite.h>
29#include <google/protobuf/generated_message_reflection.h>
30#include <google/protobuf/message.h>
31#include <google/protobuf/repeated_field.h> // IWYU pragma: export
32#include <google/protobuf/extension_set.h> // IWYU pragma: export
33#include <google/protobuf/generated_enum_reflection.h>
34#include <google/protobuf/unknown_field_set.h>
35#include <google/protobuf/descriptor.pb.h>
36#include <boost/units/quantity.hpp>
37#include <boost/units/absolute.hpp>
38#include <boost/units/dimensionless_type.hpp>
39#include <boost/units/make_scaled_unit.hpp>
40// @@protoc_insertion_point(includes)
41#include <google/protobuf/port_def.inc>
42#define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2foption_5fextensions_2eproto
43PROTOBUF_NAMESPACE_OPEN
44namespace internal {
45class AnyMetadata;
46} // namespace internal
47PROTOBUF_NAMESPACE_CLOSE
48
49// Internal implementation detail -- do not use these members.
53extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2foption_5fextensions_2eproto;
54namespace jaia {
56struct EnumValueOptionsDefaultTypeInternal;
57extern EnumValueOptionsDefaultTypeInternal _EnumValueOptions_default_instance_;
58class FieldOptions;
59struct FieldOptionsDefaultTypeInternal;
60extern FieldOptionsDefaultTypeInternal _FieldOptions_default_instance_;
61class MessageOptions;
62struct MessageOptionsDefaultTypeInternal;
63extern MessageOptionsDefaultTypeInternal _MessageOptions_default_instance_;
64class RestAPI;
65struct RestAPIDefaultTypeInternal;
66extern RestAPIDefaultTypeInternal _RestAPI_default_instance_;
67class RestAPI_Example;
68struct RestAPI_ExampleDefaultTypeInternal;
69extern RestAPI_ExampleDefaultTypeInternal _RestAPI_Example_default_instance_;
70} // namespace jaia
71PROTOBUF_NAMESPACE_OPEN
72template<> ::jaia::EnumValueOptions* Arena::CreateMaybeMessage<::jaia::EnumValueOptions>(Arena*);
73template<> ::jaia::FieldOptions* Arena::CreateMaybeMessage<::jaia::FieldOptions>(Arena*);
74template<> ::jaia::MessageOptions* Arena::CreateMaybeMessage<::jaia::MessageOptions>(Arena*);
75template<> ::jaia::RestAPI* Arena::CreateMaybeMessage<::jaia::RestAPI>(Arena*);
76template<> ::jaia::RestAPI_Example* Arena::CreateMaybeMessage<::jaia::RestAPI_Example>(Arena*);
77PROTOBUF_NAMESPACE_CLOSE
78namespace jaia {
79
89
90const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* RestAPI_Presence_descriptor();
91template<typename T>
92inline const std::string& RestAPI_Presence_Name(T enum_t_value) {
93 static_assert(::std::is_same<T, RestAPI_Presence>::value ||
94 ::std::is_integral<T>::value,
95 "Incorrect type passed to function RestAPI_Presence_Name.");
96 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
97 RestAPI_Presence_descriptor(), enum_t_value);
98}
100 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, RestAPI_Presence* value) {
101 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<RestAPI_Presence>(
102 RestAPI_Presence_descriptor(), name, value);
103}
104// ===================================================================
105
106class RestAPI_Example final :
107 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaia.RestAPI.Example) */ {
108 public:
109 inline RestAPI_Example() : RestAPI_Example(nullptr) {}
111 explicit PROTOBUF_CONSTEXPR RestAPI_Example(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
112
115 : RestAPI_Example() {
116 *this = ::std::move(from);
117 }
118
120 CopyFrom(from);
121 return *this;
122 }
123 inline RestAPI_Example& operator=(RestAPI_Example&& 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
137 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
138 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
139 }
140 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
141 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
142 }
143
144 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
145 return GetDescriptor();
146 }
147 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
148 return default_instance().GetMetadata().descriptor;
149 }
150 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
151 return default_instance().GetMetadata().reflection;
152 }
155 }
157 return reinterpret_cast<const RestAPI_Example*>(
159 }
160 static constexpr int kIndexInFileMessages =
161 0;
162
164 a.Swap(&b);
165 }
166 inline void Swap(RestAPI_Example* other) {
167 if (other == this) return;
168 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
169 if (GetOwningArena() != nullptr &&
170 GetOwningArena() == other->GetOwningArena()) {
171 #else // PROTOBUF_FORCE_COPY_IN_SWAP
172 if (GetOwningArena() == other->GetOwningArena()) {
173 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
174 InternalSwap(other);
175 } else {
176 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
177 }
178 }
180 if (other == this) return;
181 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
182 InternalSwap(other);
183 }
184
185 // implements Message ----------------------------------------------
186
187 RestAPI_Example* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
188 return CreateMaybeMessage<RestAPI_Example>(arena);
189 }
190 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
191 void CopyFrom(const RestAPI_Example& from);
192 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
193 void MergeFrom( const RestAPI_Example& from) {
194 RestAPI_Example::MergeImpl(*this, from);
195 }
196 private:
197 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
198 public:
199 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
200 bool IsInitialized() const final;
201
202 size_t ByteSizeLong() const final;
203 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
205 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
206 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
207
208 private:
209 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
210 void SharedDtor();
211 void SetCachedSize(int size) const final;
212 void InternalSwap(RestAPI_Example* other);
213
214 private:
215 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
216 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
217 return "jaia.RestAPI.Example";
218 }
219 protected:
220 explicit RestAPI_Example(::PROTOBUF_NAMESPACE_ID::Arena* arena,
221 bool is_message_owned = false);
222 public:
223
224 static const ClassData _class_data_;
225 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
226
227 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
228
229 // nested types ----------------------------------------------------
230
231 // accessors -------------------------------------------------------
232
233 enum : int {
236 };
237 // required string request = 1;
238 bool has_request() const;
239 private:
240 bool _internal_has_request() const;
241 public:
242 void clear_request();
243 const std::string& request() const;
244 template <typename ArgT0 = const std::string&, typename... ArgT>
245 void set_request(ArgT0&& arg0, ArgT... args);
246 std::string* mutable_request();
247 PROTOBUF_NODISCARD std::string* release_request();
248 void set_allocated_request(std::string* request);
249 private:
250 const std::string& _internal_request() const;
251 inline PROTOBUF_ALWAYS_INLINE void _internal_set_request(const std::string& value);
252 std::string* _internal_mutable_request();
253 public:
254
255 // required string response = 2;
256 bool has_response() const;
257 private:
258 bool _internal_has_response() const;
259 public:
260 void clear_response();
261 const std::string& response() const;
262 template <typename ArgT0 = const std::string&, typename... ArgT>
263 void set_response(ArgT0&& arg0, ArgT... args);
264 std::string* mutable_response();
265 PROTOBUF_NODISCARD std::string* release_response();
266 void set_allocated_response(std::string* response);
267 private:
268 const std::string& _internal_response() const;
269 inline PROTOBUF_ALWAYS_INLINE void _internal_set_response(const std::string& value);
270 std::string* _internal_mutable_response();
271 public:
272
273 // @@protoc_insertion_point(class_scope:jaia.RestAPI.Example)
274 private:
275 class _Internal;
276
277 // helper for ByteSizeLong()
278 size_t RequiredFieldsByteSizeFallback() const;
279
280 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
281 typedef void InternalArenaConstructable_;
282 typedef void DestructorSkippable_;
283 struct Impl_ {
284 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
285 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
286 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr request_;
287 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr response_;
288 };
289 union { Impl_ _impl_; };
290 friend struct ::TableStruct_jaiabot_2fmessages_2foption_5fextensions_2eproto;
291};
292// -------------------------------------------------------------------
293
294class RestAPI final :
295 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaia.RestAPI) */ {
296 public:
297 inline RestAPI() : RestAPI(nullptr) {}
298 ~RestAPI() override;
299 explicit PROTOBUF_CONSTEXPR RestAPI(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
300
301 RestAPI(const RestAPI& from);
302 RestAPI(RestAPI&& from) noexcept
303 : RestAPI() {
304 *this = ::std::move(from);
305 }
306
307 inline RestAPI& operator=(const RestAPI& from) {
308 CopyFrom(from);
309 return *this;
310 }
311 inline RestAPI& operator=(RestAPI&& from) noexcept {
312 if (this == &from) return *this;
313 if (GetOwningArena() == from.GetOwningArena()
314 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
315 && GetOwningArena() != nullptr
316 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
317 ) {
318 InternalSwap(&from);
319 } else {
320 CopyFrom(from);
321 }
322 return *this;
323 }
324
325 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
326 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
327 }
328 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
329 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
330 }
331
332 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
333 return GetDescriptor();
334 }
335 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
336 return default_instance().GetMetadata().descriptor;
337 }
338 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
339 return default_instance().GetMetadata().reflection;
340 }
341 static const RestAPI& default_instance() {
342 return *internal_default_instance();
343 }
344 static inline const RestAPI* internal_default_instance() {
345 return reinterpret_cast<const RestAPI*>(
347 }
348 static constexpr int kIndexInFileMessages =
349 1;
350
351 friend void swap(RestAPI& a, RestAPI& b) {
352 a.Swap(&b);
353 }
354 inline void Swap(RestAPI* other) {
355 if (other == this) return;
356 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
357 if (GetOwningArena() != nullptr &&
358 GetOwningArena() == other->GetOwningArena()) {
359 #else // PROTOBUF_FORCE_COPY_IN_SWAP
360 if (GetOwningArena() == other->GetOwningArena()) {
361 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
362 InternalSwap(other);
363 } else {
364 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
365 }
366 }
368 if (other == this) return;
369 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
370 InternalSwap(other);
371 }
372
373 // implements Message ----------------------------------------------
374
375 RestAPI* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
376 return CreateMaybeMessage<RestAPI>(arena);
377 }
378 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
379 void CopyFrom(const RestAPI& from);
380 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
381 void MergeFrom( const RestAPI& from) {
382 RestAPI::MergeImpl(*this, from);
383 }
384 private:
385 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
386 public:
387 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
388 bool IsInitialized() const final;
389
390 size_t ByteSizeLong() const final;
391 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
392 uint8_t* _InternalSerialize(
393 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
394 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
395
396 private:
397 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
398 void SharedDtor();
399 void SetCachedSize(int size) const final;
400 void InternalSwap(RestAPI* other);
401
402 private:
403 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
404 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
405 return "jaia.RestAPI";
406 }
407 protected:
408 explicit RestAPI(::PROTOBUF_NAMESPACE_ID::Arena* arena,
409 bool is_message_owned = false);
410 public:
411
412 static const ClassData _class_data_;
413 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
414
415 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
416
417 // nested types ----------------------------------------------------
418
420
422 static constexpr Presence NOT_GUARANTEED =
423 RestAPI_Presence_NOT_GUARANTEED;
424 static constexpr Presence GUARANTEED =
425 RestAPI_Presence_GUARANTEED;
426 static constexpr Presence OMITTED =
427 RestAPI_Presence_OMITTED;
428 static inline bool Presence_IsValid(int value) {
429 return RestAPI_Presence_IsValid(value);
430 }
431 static constexpr Presence Presence_MIN =
433 static constexpr Presence Presence_MAX =
435 static constexpr int Presence_ARRAYSIZE =
437 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
441 template<typename T>
442 static inline const std::string& Presence_Name(T enum_t_value) {
443 static_assert(::std::is_same<T, Presence>::value ||
444 ::std::is_integral<T>::value,
445 "Incorrect type passed to function Presence_Name.");
446 return RestAPI_Presence_Name(enum_t_value);
447 }
448 static inline bool Presence_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
449 Presence* value) {
450 return RestAPI_Presence_Parse(name, value);
451 }
452
453 // accessors -------------------------------------------------------
454
455 enum : int {
456 kPermittedActionFieldNumber = 4,
457 kDocFieldNumber = 2,
458 kExampleFieldNumber = 3,
459 kPresenceFieldNumber = 1,
460 };
461 // repeated string permitted_action = 4;
462 int permitted_action_size() const;
463 private:
464 int _internal_permitted_action_size() const;
465 public:
466 void clear_permitted_action();
467 const std::string& permitted_action(int index) const;
468 std::string* mutable_permitted_action(int index);
469 void set_permitted_action(int index, const std::string& value);
470 void set_permitted_action(int index, std::string&& value);
471 void set_permitted_action(int index, const char* value);
472 void set_permitted_action(int index, const char* value, size_t size);
473 std::string* add_permitted_action();
474 void add_permitted_action(const std::string& value);
475 void add_permitted_action(std::string&& value);
476 void add_permitted_action(const char* value);
477 void add_permitted_action(const char* value, size_t size);
478 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& permitted_action() const;
479 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_permitted_action();
480 private:
481 const std::string& _internal_permitted_action(int index) const;
482 std::string* _internal_add_permitted_action();
483 public:
484
485 // optional string doc = 2;
486 bool has_doc() const;
487 private:
488 bool _internal_has_doc() const;
489 public:
490 void clear_doc();
491 const std::string& doc() const;
492 template <typename ArgT0 = const std::string&, typename... ArgT>
493 void set_doc(ArgT0&& arg0, ArgT... args);
494 std::string* mutable_doc();
495 PROTOBUF_NODISCARD std::string* release_doc();
496 void set_allocated_doc(std::string* doc);
497 private:
498 const std::string& _internal_doc() const;
499 inline PROTOBUF_ALWAYS_INLINE void _internal_set_doc(const std::string& value);
500 std::string* _internal_mutable_doc();
501 public:
502
503 // optional .jaia.RestAPI.Example example = 3;
504 bool has_example() const;
505 private:
506 bool _internal_has_example() const;
507 public:
508 void clear_example();
509 const ::jaia::RestAPI_Example& example() const;
510 PROTOBUF_NODISCARD ::jaia::RestAPI_Example* release_example();
511 ::jaia::RestAPI_Example* mutable_example();
512 void set_allocated_example(::jaia::RestAPI_Example* example);
513 private:
514 const ::jaia::RestAPI_Example& _internal_example() const;
515 ::jaia::RestAPI_Example* _internal_mutable_example();
516 public:
517 void unsafe_arena_set_allocated_example(
518 ::jaia::RestAPI_Example* example);
519 ::jaia::RestAPI_Example* unsafe_arena_release_example();
520
521 // optional .jaia.RestAPI.Presence presence = 1 [default = NOT_GUARANTEED];
522 bool has_presence() const;
523 private:
524 bool _internal_has_presence() const;
525 public:
526 void clear_presence();
527 ::jaia::RestAPI_Presence presence() const;
528 void set_presence(::jaia::RestAPI_Presence value);
529 private:
530 ::jaia::RestAPI_Presence _internal_presence() const;
531 void _internal_set_presence(::jaia::RestAPI_Presence value);
532 public:
533
534 // @@protoc_insertion_point(class_scope:jaia.RestAPI)
535 private:
536 class _Internal;
537
538 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
539 typedef void InternalArenaConstructable_;
540 typedef void DestructorSkippable_;
541 struct Impl_ {
542 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
543 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
544 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> permitted_action_;
545 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr doc_;
546 ::jaia::RestAPI_Example* example_;
547 int presence_;
548 };
549 union { Impl_ _impl_; };
550 friend struct ::TableStruct_jaiabot_2fmessages_2foption_5fextensions_2eproto;
551};
552// -------------------------------------------------------------------
553
554class FieldOptions final :
555 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaia.FieldOptions) */ {
556 public:
557 inline FieldOptions() : FieldOptions(nullptr) {}
558 ~FieldOptions() override;
559 explicit PROTOBUF_CONSTEXPR FieldOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
560
562 FieldOptions(FieldOptions&& from) noexcept
563 : FieldOptions() {
564 *this = ::std::move(from);
565 }
566
567 inline FieldOptions& operator=(const FieldOptions& from) {
568 CopyFrom(from);
569 return *this;
570 }
571 inline FieldOptions& operator=(FieldOptions&& from) noexcept {
572 if (this == &from) return *this;
573 if (GetOwningArena() == from.GetOwningArena()
574 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
575 && GetOwningArena() != nullptr
576 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
577 ) {
578 InternalSwap(&from);
579 } else {
580 CopyFrom(from);
581 }
582 return *this;
583 }
584
585 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
586 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
587 }
588 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
589 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
590 }
591
592 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
593 return GetDescriptor();
594 }
595 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
596 return default_instance().GetMetadata().descriptor;
597 }
598 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
599 return default_instance().GetMetadata().reflection;
600 }
602 return *internal_default_instance();
603 }
605 return reinterpret_cast<const FieldOptions*>(
607 }
608 static constexpr int kIndexInFileMessages =
609 2;
610
611 friend void swap(FieldOptions& a, FieldOptions& b) {
612 a.Swap(&b);
613 }
614 inline void Swap(FieldOptions* other) {
615 if (other == this) return;
616 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
617 if (GetOwningArena() != nullptr &&
618 GetOwningArena() == other->GetOwningArena()) {
619 #else // PROTOBUF_FORCE_COPY_IN_SWAP
620 if (GetOwningArena() == other->GetOwningArena()) {
621 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
622 InternalSwap(other);
623 } else {
624 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
625 }
626 }
628 if (other == this) return;
629 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
630 InternalSwap(other);
631 }
632
633 // implements Message ----------------------------------------------
634
635 FieldOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
636 return CreateMaybeMessage<FieldOptions>(arena);
637 }
638 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
639 void CopyFrom(const FieldOptions& from);
640 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
641 void MergeFrom( const FieldOptions& from) {
642 FieldOptions::MergeImpl(*this, from);
643 }
644 private:
645 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
646 public:
647 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
648 bool IsInitialized() const final;
649
650 size_t ByteSizeLong() const final;
651 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
652 uint8_t* _InternalSerialize(
653 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
654 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
655
656 private:
657 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
658 void SharedDtor();
659 void SetCachedSize(int size) const final;
660 void InternalSwap(FieldOptions* other);
661
662 private:
663 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
664 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
665 return "jaia.FieldOptions";
666 }
667 protected:
668 explicit FieldOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
669 bool is_message_owned = false);
670 public:
671
672 static const ClassData _class_data_;
673 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
674
675 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
676
677 // nested types ----------------------------------------------------
678
679 // accessors -------------------------------------------------------
680
681 enum : int {
682 kRestApiFieldNumber = 1,
683 };
684 // optional .jaia.RestAPI rest_api = 1;
685 bool has_rest_api() const;
686 private:
687 bool _internal_has_rest_api() const;
688 public:
689 void clear_rest_api();
690 const ::jaia::RestAPI& rest_api() const;
691 PROTOBUF_NODISCARD ::jaia::RestAPI* release_rest_api();
692 ::jaia::RestAPI* mutable_rest_api();
693 void set_allocated_rest_api(::jaia::RestAPI* rest_api);
694 private:
695 const ::jaia::RestAPI& _internal_rest_api() const;
696 ::jaia::RestAPI* _internal_mutable_rest_api();
697 public:
698 void unsafe_arena_set_allocated_rest_api(
699 ::jaia::RestAPI* rest_api);
700 ::jaia::RestAPI* unsafe_arena_release_rest_api();
701
702 // @@protoc_insertion_point(class_scope:jaia.FieldOptions)
703 private:
704 class _Internal;
705
706 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
707 typedef void InternalArenaConstructable_;
708 typedef void DestructorSkippable_;
709 struct Impl_ {
710 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
711 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
712 ::jaia::RestAPI* rest_api_;
713 };
714 union { Impl_ _impl_; };
715 friend struct ::TableStruct_jaiabot_2fmessages_2foption_5fextensions_2eproto;
716};
717// -------------------------------------------------------------------
718
719class MessageOptions final :
720 public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:jaia.MessageOptions) */ {
721 public:
722 inline MessageOptions() : MessageOptions(nullptr) {}
723 explicit PROTOBUF_CONSTEXPR MessageOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
724
727 : MessageOptions() {
728 *this = ::std::move(from);
729 }
730
732 CopyFrom(from);
733 return *this;
734 }
735 inline MessageOptions& operator=(MessageOptions&& from) noexcept {
736 if (this == &from) return *this;
737 if (GetOwningArena() == from.GetOwningArena()
738 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
739 && GetOwningArena() != nullptr
740 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
741 ) {
742 InternalSwap(&from);
743 } else {
744 CopyFrom(from);
745 }
746 return *this;
747 }
748
749 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
750 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
751 }
752 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
753 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
754 }
755
756 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
757 return GetDescriptor();
758 }
759 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
760 return default_instance().GetMetadata().descriptor;
761 }
762 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
763 return default_instance().GetMetadata().reflection;
764 }
766 return *internal_default_instance();
767 }
769 return reinterpret_cast<const MessageOptions*>(
771 }
772 static constexpr int kIndexInFileMessages =
773 3;
774
775 friend void swap(MessageOptions& a, MessageOptions& b) {
776 a.Swap(&b);
777 }
778 inline void Swap(MessageOptions* other) {
779 if (other == this) return;
780 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
781 if (GetOwningArena() != nullptr &&
782 GetOwningArena() == other->GetOwningArena()) {
783 #else // PROTOBUF_FORCE_COPY_IN_SWAP
784 if (GetOwningArena() == other->GetOwningArena()) {
785 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
786 InternalSwap(other);
787 } else {
788 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
789 }
790 }
792 if (other == this) return;
793 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
794 InternalSwap(other);
795 }
796
797 // implements Message ----------------------------------------------
798
799 MessageOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
800 return CreateMaybeMessage<MessageOptions>(arena);
801 }
802 using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
803 inline void CopyFrom(const MessageOptions& from) {
804 ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from);
805 }
806 using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
807 void MergeFrom(const MessageOptions& from) {
808 ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from);
809 }
810 public:
811
812 private:
813 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
814 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
815 return "jaia.MessageOptions";
816 }
817 protected:
818 explicit MessageOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
819 bool is_message_owned = false);
820 public:
821
822 static const ClassData _class_data_;
823 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
824
825 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
826
827 // nested types ----------------------------------------------------
828
829 // accessors -------------------------------------------------------
830
831 // @@protoc_insertion_point(class_scope:jaia.MessageOptions)
832 private:
833 class _Internal;
834
835 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
836 typedef void InternalArenaConstructable_;
837 typedef void DestructorSkippable_;
838 struct Impl_ {
839 };
840 friend struct ::TableStruct_jaiabot_2fmessages_2foption_5fextensions_2eproto;
841};
842// -------------------------------------------------------------------
843
844class EnumValueOptions final :
845 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaia.EnumValueOptions) */ {
846 public:
847 inline EnumValueOptions() : EnumValueOptions(nullptr) {}
849 explicit PROTOBUF_CONSTEXPR EnumValueOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
850
853 : EnumValueOptions() {
854 *this = ::std::move(from);
855 }
856
858 CopyFrom(from);
859 return *this;
860 }
861 inline EnumValueOptions& operator=(EnumValueOptions&& from) noexcept {
862 if (this == &from) return *this;
863 if (GetOwningArena() == from.GetOwningArena()
864 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
865 && GetOwningArena() != nullptr
866 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
867 ) {
868 InternalSwap(&from);
869 } else {
870 CopyFrom(from);
871 }
872 return *this;
873 }
874
875 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
876 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
877 }
878 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
879 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
880 }
881
882 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
883 return GetDescriptor();
884 }
885 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
886 return default_instance().GetMetadata().descriptor;
887 }
888 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
889 return default_instance().GetMetadata().reflection;
890 }
892 return *internal_default_instance();
893 }
895 return reinterpret_cast<const EnumValueOptions*>(
897 }
898 static constexpr int kIndexInFileMessages =
899 4;
900
902 a.Swap(&b);
903 }
904 inline void Swap(EnumValueOptions* other) {
905 if (other == this) return;
906 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
907 if (GetOwningArena() != nullptr &&
908 GetOwningArena() == other->GetOwningArena()) {
909 #else // PROTOBUF_FORCE_COPY_IN_SWAP
910 if (GetOwningArena() == other->GetOwningArena()) {
911 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
912 InternalSwap(other);
913 } else {
914 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
915 }
916 }
918 if (other == this) return;
919 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
920 InternalSwap(other);
921 }
922
923 // implements Message ----------------------------------------------
924
925 EnumValueOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
926 return CreateMaybeMessage<EnumValueOptions>(arena);
927 }
928 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
929 void CopyFrom(const EnumValueOptions& from);
930 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
931 void MergeFrom( const EnumValueOptions& from) {
932 EnumValueOptions::MergeImpl(*this, from);
933 }
934 private:
935 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
936 public:
937 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
938 bool IsInitialized() const final;
939
940 size_t ByteSizeLong() const final;
941 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
942 uint8_t* _InternalSerialize(
943 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
944 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
945
946 private:
947 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
948 void SharedDtor();
949 void SetCachedSize(int size) const final;
950 void InternalSwap(EnumValueOptions* other);
951
952 private:
953 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
954 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
955 return "jaia.EnumValueOptions";
956 }
957 protected:
958 explicit EnumValueOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
959 bool is_message_owned = false);
960 public:
961
962 static const ClassData _class_data_;
963 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
964
965 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
966
967 // nested types ----------------------------------------------------
968
969 // accessors -------------------------------------------------------
970
971 enum : int {
972 kRestApiFieldNumber = 1,
973 };
974 // optional .jaia.RestAPI rest_api = 1;
975 bool has_rest_api() const;
976 private:
977 bool _internal_has_rest_api() const;
978 public:
979 void clear_rest_api();
980 const ::jaia::RestAPI& rest_api() const;
981 PROTOBUF_NODISCARD ::jaia::RestAPI* release_rest_api();
982 ::jaia::RestAPI* mutable_rest_api();
983 void set_allocated_rest_api(::jaia::RestAPI* rest_api);
984 private:
985 const ::jaia::RestAPI& _internal_rest_api() const;
986 ::jaia::RestAPI* _internal_mutable_rest_api();
987 public:
988 void unsafe_arena_set_allocated_rest_api(
989 ::jaia::RestAPI* rest_api);
990 ::jaia::RestAPI* unsafe_arena_release_rest_api();
991
992 // @@protoc_insertion_point(class_scope:jaia.EnumValueOptions)
993 private:
994 class _Internal;
995
996 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
997 typedef void InternalArenaConstructable_;
998 typedef void DestructorSkippable_;
999 struct Impl_ {
1000 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1001 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1002 ::jaia::RestAPI* rest_api_;
1003 };
1004 union { Impl_ _impl_; };
1005 friend struct ::TableStruct_jaiabot_2fmessages_2foption_5fextensions_2eproto;
1006};
1007// ===================================================================
1008
1009static const int kFieldFieldNumber = 1252;
1010extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions,
1011 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::jaia::FieldOptions >, 11, false >
1013static const int kMsgFieldNumber = 1252;
1014extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::MessageOptions,
1015 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::jaia::MessageOptions >, 11, false >
1017static const int kEvFieldNumber = 1252;
1018extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::EnumValueOptions,
1019 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::jaia::EnumValueOptions >, 11, false >
1021
1022// ===================================================================
1023
1024#ifdef __GNUC__
1025 #pragma GCC diagnostic push
1026 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1027#endif // __GNUC__
1028// RestAPI_Example
1029
1030// required string request = 1;
1031inline bool RestAPI_Example::_internal_has_request() const {
1032 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1033 return value;
1034}
1035inline bool RestAPI_Example::has_request() const {
1036 return _internal_has_request();
1037}
1038inline void RestAPI_Example::clear_request() {
1039 _impl_.request_.ClearToEmpty();
1040 _impl_._has_bits_[0] &= ~0x00000001u;
1041}
1042inline const std::string& RestAPI_Example::request() const {
1043 // @@protoc_insertion_point(field_get:jaia.RestAPI.Example.request)
1044 return _internal_request();
1045}
1046template <typename ArgT0, typename... ArgT>
1047inline PROTOBUF_ALWAYS_INLINE
1048void RestAPI_Example::set_request(ArgT0&& arg0, ArgT... args) {
1049 _impl_._has_bits_[0] |= 0x00000001u;
1050 _impl_.request_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1051 // @@protoc_insertion_point(field_set:jaia.RestAPI.Example.request)
1052}
1053inline std::string* RestAPI_Example::mutable_request() {
1054 std::string* _s = _internal_mutable_request();
1055 // @@protoc_insertion_point(field_mutable:jaia.RestAPI.Example.request)
1056 return _s;
1057}
1058inline const std::string& RestAPI_Example::_internal_request() const {
1059 return _impl_.request_.Get();
1060}
1061inline void RestAPI_Example::_internal_set_request(const std::string& value) {
1062 _impl_._has_bits_[0] |= 0x00000001u;
1063 _impl_.request_.Set(value, GetArenaForAllocation());
1064}
1065inline std::string* RestAPI_Example::_internal_mutable_request() {
1066 _impl_._has_bits_[0] |= 0x00000001u;
1067 return _impl_.request_.Mutable(GetArenaForAllocation());
1068}
1069inline std::string* RestAPI_Example::release_request() {
1070 // @@protoc_insertion_point(field_release:jaia.RestAPI.Example.request)
1071 if (!_internal_has_request()) {
1072 return nullptr;
1073 }
1074 _impl_._has_bits_[0] &= ~0x00000001u;
1075 auto* p = _impl_.request_.Release();
1076#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1077 if (_impl_.request_.IsDefault()) {
1078 _impl_.request_.Set("", GetArenaForAllocation());
1079 }
1080#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1081 return p;
1082}
1083inline void RestAPI_Example::set_allocated_request(std::string* request) {
1084 if (request != nullptr) {
1085 _impl_._has_bits_[0] |= 0x00000001u;
1086 } else {
1087 _impl_._has_bits_[0] &= ~0x00000001u;
1088 }
1089 _impl_.request_.SetAllocated(request, GetArenaForAllocation());
1090#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1091 if (_impl_.request_.IsDefault()) {
1092 _impl_.request_.Set("", GetArenaForAllocation());
1093 }
1094#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1095 // @@protoc_insertion_point(field_set_allocated:jaia.RestAPI.Example.request)
1096}
1097
1098// required string response = 2;
1099inline bool RestAPI_Example::_internal_has_response() const {
1100 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1101 return value;
1102}
1103inline bool RestAPI_Example::has_response() const {
1104 return _internal_has_response();
1105}
1106inline void RestAPI_Example::clear_response() {
1107 _impl_.response_.ClearToEmpty();
1108 _impl_._has_bits_[0] &= ~0x00000002u;
1109}
1110inline const std::string& RestAPI_Example::response() const {
1111 // @@protoc_insertion_point(field_get:jaia.RestAPI.Example.response)
1112 return _internal_response();
1113}
1114template <typename ArgT0, typename... ArgT>
1115inline PROTOBUF_ALWAYS_INLINE
1116void RestAPI_Example::set_response(ArgT0&& arg0, ArgT... args) {
1117 _impl_._has_bits_[0] |= 0x00000002u;
1118 _impl_.response_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1119 // @@protoc_insertion_point(field_set:jaia.RestAPI.Example.response)
1120}
1121inline std::string* RestAPI_Example::mutable_response() {
1122 std::string* _s = _internal_mutable_response();
1123 // @@protoc_insertion_point(field_mutable:jaia.RestAPI.Example.response)
1124 return _s;
1125}
1126inline const std::string& RestAPI_Example::_internal_response() const {
1127 return _impl_.response_.Get();
1128}
1129inline void RestAPI_Example::_internal_set_response(const std::string& value) {
1130 _impl_._has_bits_[0] |= 0x00000002u;
1131 _impl_.response_.Set(value, GetArenaForAllocation());
1132}
1133inline std::string* RestAPI_Example::_internal_mutable_response() {
1134 _impl_._has_bits_[0] |= 0x00000002u;
1135 return _impl_.response_.Mutable(GetArenaForAllocation());
1136}
1137inline std::string* RestAPI_Example::release_response() {
1138 // @@protoc_insertion_point(field_release:jaia.RestAPI.Example.response)
1139 if (!_internal_has_response()) {
1140 return nullptr;
1141 }
1142 _impl_._has_bits_[0] &= ~0x00000002u;
1143 auto* p = _impl_.response_.Release();
1144#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1145 if (_impl_.response_.IsDefault()) {
1146 _impl_.response_.Set("", GetArenaForAllocation());
1147 }
1148#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1149 return p;
1150}
1151inline void RestAPI_Example::set_allocated_response(std::string* response) {
1152 if (response != nullptr) {
1153 _impl_._has_bits_[0] |= 0x00000002u;
1154 } else {
1155 _impl_._has_bits_[0] &= ~0x00000002u;
1156 }
1157 _impl_.response_.SetAllocated(response, GetArenaForAllocation());
1158#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1159 if (_impl_.response_.IsDefault()) {
1160 _impl_.response_.Set("", GetArenaForAllocation());
1161 }
1162#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1163 // @@protoc_insertion_point(field_set_allocated:jaia.RestAPI.Example.response)
1164}
1165
1166// -------------------------------------------------------------------
1167
1168// RestAPI
1169
1170// optional .jaia.RestAPI.Presence presence = 1 [default = NOT_GUARANTEED];
1171inline bool RestAPI::_internal_has_presence() const {
1172 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1173 return value;
1174}
1175inline bool RestAPI::has_presence() const {
1176 return _internal_has_presence();
1177}
1178inline void RestAPI::clear_presence() {
1179 _impl_.presence_ = 0;
1180 _impl_._has_bits_[0] &= ~0x00000004u;
1181}
1182inline ::jaia::RestAPI_Presence RestAPI::_internal_presence() const {
1183 return static_cast< ::jaia::RestAPI_Presence >(_impl_.presence_);
1184}
1185inline ::jaia::RestAPI_Presence RestAPI::presence() const {
1186 // @@protoc_insertion_point(field_get:jaia.RestAPI.presence)
1187 return _internal_presence();
1188}
1189inline void RestAPI::_internal_set_presence(::jaia::RestAPI_Presence value) {
1190 assert(::jaia::RestAPI_Presence_IsValid(value));
1191 _impl_._has_bits_[0] |= 0x00000004u;
1192 _impl_.presence_ = value;
1193}
1194inline void RestAPI::set_presence(::jaia::RestAPI_Presence value) {
1195 _internal_set_presence(value);
1196 // @@protoc_insertion_point(field_set:jaia.RestAPI.presence)
1197}
1198
1199// optional string doc = 2;
1200inline bool RestAPI::_internal_has_doc() const {
1201 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1202 return value;
1203}
1204inline bool RestAPI::has_doc() const {
1205 return _internal_has_doc();
1206}
1207inline void RestAPI::clear_doc() {
1208 _impl_.doc_.ClearToEmpty();
1209 _impl_._has_bits_[0] &= ~0x00000001u;
1210}
1211inline const std::string& RestAPI::doc() const {
1212 // @@protoc_insertion_point(field_get:jaia.RestAPI.doc)
1213 return _internal_doc();
1214}
1215template <typename ArgT0, typename... ArgT>
1216inline PROTOBUF_ALWAYS_INLINE
1217void RestAPI::set_doc(ArgT0&& arg0, ArgT... args) {
1218 _impl_._has_bits_[0] |= 0x00000001u;
1219 _impl_.doc_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1220 // @@protoc_insertion_point(field_set:jaia.RestAPI.doc)
1221}
1222inline std::string* RestAPI::mutable_doc() {
1223 std::string* _s = _internal_mutable_doc();
1224 // @@protoc_insertion_point(field_mutable:jaia.RestAPI.doc)
1225 return _s;
1226}
1227inline const std::string& RestAPI::_internal_doc() const {
1228 return _impl_.doc_.Get();
1229}
1230inline void RestAPI::_internal_set_doc(const std::string& value) {
1231 _impl_._has_bits_[0] |= 0x00000001u;
1232 _impl_.doc_.Set(value, GetArenaForAllocation());
1233}
1234inline std::string* RestAPI::_internal_mutable_doc() {
1235 _impl_._has_bits_[0] |= 0x00000001u;
1236 return _impl_.doc_.Mutable(GetArenaForAllocation());
1237}
1238inline std::string* RestAPI::release_doc() {
1239 // @@protoc_insertion_point(field_release:jaia.RestAPI.doc)
1240 if (!_internal_has_doc()) {
1241 return nullptr;
1242 }
1243 _impl_._has_bits_[0] &= ~0x00000001u;
1244 auto* p = _impl_.doc_.Release();
1245#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1246 if (_impl_.doc_.IsDefault()) {
1247 _impl_.doc_.Set("", GetArenaForAllocation());
1248 }
1249#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1250 return p;
1251}
1252inline void RestAPI::set_allocated_doc(std::string* doc) {
1253 if (doc != nullptr) {
1254 _impl_._has_bits_[0] |= 0x00000001u;
1255 } else {
1256 _impl_._has_bits_[0] &= ~0x00000001u;
1257 }
1258 _impl_.doc_.SetAllocated(doc, GetArenaForAllocation());
1259#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1260 if (_impl_.doc_.IsDefault()) {
1261 _impl_.doc_.Set("", GetArenaForAllocation());
1262 }
1263#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1264 // @@protoc_insertion_point(field_set_allocated:jaia.RestAPI.doc)
1265}
1266
1267// optional .jaia.RestAPI.Example example = 3;
1268inline bool RestAPI::_internal_has_example() const {
1269 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1270 PROTOBUF_ASSUME(!value || _impl_.example_ != nullptr);
1271 return value;
1272}
1273inline bool RestAPI::has_example() const {
1274 return _internal_has_example();
1275}
1276inline void RestAPI::clear_example() {
1277 if (_impl_.example_ != nullptr) _impl_.example_->Clear();
1278 _impl_._has_bits_[0] &= ~0x00000002u;
1279}
1280inline const ::jaia::RestAPI_Example& RestAPI::_internal_example() const {
1281 const ::jaia::RestAPI_Example* p = _impl_.example_;
1282 return p != nullptr ? *p : reinterpret_cast<const ::jaia::RestAPI_Example&>(
1284}
1285inline const ::jaia::RestAPI_Example& RestAPI::example() const {
1286 // @@protoc_insertion_point(field_get:jaia.RestAPI.example)
1287 return _internal_example();
1288}
1289inline void RestAPI::unsafe_arena_set_allocated_example(
1290 ::jaia::RestAPI_Example* example) {
1291 if (GetArenaForAllocation() == nullptr) {
1292 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.example_);
1293 }
1294 _impl_.example_ = example;
1295 if (example) {
1296 _impl_._has_bits_[0] |= 0x00000002u;
1297 } else {
1298 _impl_._has_bits_[0] &= ~0x00000002u;
1299 }
1300 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaia.RestAPI.example)
1301}
1302inline ::jaia::RestAPI_Example* RestAPI::release_example() {
1303 _impl_._has_bits_[0] &= ~0x00000002u;
1304 ::jaia::RestAPI_Example* temp = _impl_.example_;
1305 _impl_.example_ = nullptr;
1306#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1307 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1308 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1309 if (GetArenaForAllocation() == nullptr) { delete old; }
1310#else // PROTOBUF_FORCE_COPY_IN_RELEASE
1311 if (GetArenaForAllocation() != nullptr) {
1312 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1313 }
1314#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1315 return temp;
1316}
1317inline ::jaia::RestAPI_Example* RestAPI::unsafe_arena_release_example() {
1318 // @@protoc_insertion_point(field_release:jaia.RestAPI.example)
1319 _impl_._has_bits_[0] &= ~0x00000002u;
1320 ::jaia::RestAPI_Example* temp = _impl_.example_;
1321 _impl_.example_ = nullptr;
1322 return temp;
1323}
1324inline ::jaia::RestAPI_Example* RestAPI::_internal_mutable_example() {
1325 _impl_._has_bits_[0] |= 0x00000002u;
1326 if (_impl_.example_ == nullptr) {
1327 auto* p = CreateMaybeMessage<::jaia::RestAPI_Example>(GetArenaForAllocation());
1328 _impl_.example_ = p;
1329 }
1330 return _impl_.example_;
1331}
1332inline ::jaia::RestAPI_Example* RestAPI::mutable_example() {
1333 ::jaia::RestAPI_Example* _msg = _internal_mutable_example();
1334 // @@protoc_insertion_point(field_mutable:jaia.RestAPI.example)
1335 return _msg;
1336}
1337inline void RestAPI::set_allocated_example(::jaia::RestAPI_Example* example) {
1338 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1339 if (message_arena == nullptr) {
1340 delete _impl_.example_;
1341 }
1342 if (example) {
1343 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1344 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(example);
1345 if (message_arena != submessage_arena) {
1346 example = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1347 message_arena, example, submessage_arena);
1348 }
1349 _impl_._has_bits_[0] |= 0x00000002u;
1350 } else {
1351 _impl_._has_bits_[0] &= ~0x00000002u;
1352 }
1353 _impl_.example_ = example;
1354 // @@protoc_insertion_point(field_set_allocated:jaia.RestAPI.example)
1355}
1356
1357// repeated string permitted_action = 4;
1358inline int RestAPI::_internal_permitted_action_size() const {
1359 return _impl_.permitted_action_.size();
1360}
1361inline int RestAPI::permitted_action_size() const {
1362 return _internal_permitted_action_size();
1363}
1364inline void RestAPI::clear_permitted_action() {
1365 _impl_.permitted_action_.Clear();
1366}
1367inline std::string* RestAPI::add_permitted_action() {
1368 std::string* _s = _internal_add_permitted_action();
1369 // @@protoc_insertion_point(field_add_mutable:jaia.RestAPI.permitted_action)
1370 return _s;
1371}
1372inline const std::string& RestAPI::_internal_permitted_action(int index) const {
1373 return _impl_.permitted_action_.Get(index);
1374}
1375inline const std::string& RestAPI::permitted_action(int index) const {
1376 // @@protoc_insertion_point(field_get:jaia.RestAPI.permitted_action)
1377 return _internal_permitted_action(index);
1378}
1379inline std::string* RestAPI::mutable_permitted_action(int index) {
1380 // @@protoc_insertion_point(field_mutable:jaia.RestAPI.permitted_action)
1381 return _impl_.permitted_action_.Mutable(index);
1382}
1383inline void RestAPI::set_permitted_action(int index, const std::string& value) {
1384 _impl_.permitted_action_.Mutable(index)->assign(value);
1385 // @@protoc_insertion_point(field_set:jaia.RestAPI.permitted_action)
1386}
1387inline void RestAPI::set_permitted_action(int index, std::string&& value) {
1388 _impl_.permitted_action_.Mutable(index)->assign(std::move(value));
1389 // @@protoc_insertion_point(field_set:jaia.RestAPI.permitted_action)
1390}
1391inline void RestAPI::set_permitted_action(int index, const char* value) {
1392 GOOGLE_DCHECK(value != nullptr);
1393 _impl_.permitted_action_.Mutable(index)->assign(value);
1394 // @@protoc_insertion_point(field_set_char:jaia.RestAPI.permitted_action)
1395}
1396inline void RestAPI::set_permitted_action(int index, const char* value, size_t size) {
1397 _impl_.permitted_action_.Mutable(index)->assign(
1398 reinterpret_cast<const char*>(value), size);
1399 // @@protoc_insertion_point(field_set_pointer:jaia.RestAPI.permitted_action)
1400}
1401inline std::string* RestAPI::_internal_add_permitted_action() {
1402 return _impl_.permitted_action_.Add();
1403}
1404inline void RestAPI::add_permitted_action(const std::string& value) {
1405 _impl_.permitted_action_.Add()->assign(value);
1406 // @@protoc_insertion_point(field_add:jaia.RestAPI.permitted_action)
1407}
1408inline void RestAPI::add_permitted_action(std::string&& value) {
1409 _impl_.permitted_action_.Add(std::move(value));
1410 // @@protoc_insertion_point(field_add:jaia.RestAPI.permitted_action)
1411}
1412inline void RestAPI::add_permitted_action(const char* value) {
1413 GOOGLE_DCHECK(value != nullptr);
1414 _impl_.permitted_action_.Add()->assign(value);
1415 // @@protoc_insertion_point(field_add_char:jaia.RestAPI.permitted_action)
1416}
1417inline void RestAPI::add_permitted_action(const char* value, size_t size) {
1418 _impl_.permitted_action_.Add()->assign(reinterpret_cast<const char*>(value), size);
1419 // @@protoc_insertion_point(field_add_pointer:jaia.RestAPI.permitted_action)
1420}
1421inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1422RestAPI::permitted_action() const {
1423 // @@protoc_insertion_point(field_list:jaia.RestAPI.permitted_action)
1424 return _impl_.permitted_action_;
1425}
1426inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1427RestAPI::mutable_permitted_action() {
1428 // @@protoc_insertion_point(field_mutable_list:jaia.RestAPI.permitted_action)
1429 return &_impl_.permitted_action_;
1430}
1431
1432// -------------------------------------------------------------------
1433
1434// FieldOptions
1435
1436// optional .jaia.RestAPI rest_api = 1;
1437inline bool FieldOptions::_internal_has_rest_api() const {
1438 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1439 PROTOBUF_ASSUME(!value || _impl_.rest_api_ != nullptr);
1440 return value;
1441}
1442inline bool FieldOptions::has_rest_api() const {
1443 return _internal_has_rest_api();
1444}
1445inline void FieldOptions::clear_rest_api() {
1446 if (_impl_.rest_api_ != nullptr) _impl_.rest_api_->Clear();
1447 _impl_._has_bits_[0] &= ~0x00000001u;
1448}
1449inline const ::jaia::RestAPI& FieldOptions::_internal_rest_api() const {
1450 const ::jaia::RestAPI* p = _impl_.rest_api_;
1451 return p != nullptr ? *p : reinterpret_cast<const ::jaia::RestAPI&>(
1453}
1454inline const ::jaia::RestAPI& FieldOptions::rest_api() const {
1455 // @@protoc_insertion_point(field_get:jaia.FieldOptions.rest_api)
1456 return _internal_rest_api();
1457}
1458inline void FieldOptions::unsafe_arena_set_allocated_rest_api(
1459 ::jaia::RestAPI* rest_api) {
1460 if (GetArenaForAllocation() == nullptr) {
1461 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.rest_api_);
1462 }
1463 _impl_.rest_api_ = rest_api;
1464 if (rest_api) {
1465 _impl_._has_bits_[0] |= 0x00000001u;
1466 } else {
1467 _impl_._has_bits_[0] &= ~0x00000001u;
1468 }
1469 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaia.FieldOptions.rest_api)
1470}
1471inline ::jaia::RestAPI* FieldOptions::release_rest_api() {
1472 _impl_._has_bits_[0] &= ~0x00000001u;
1473 ::jaia::RestAPI* temp = _impl_.rest_api_;
1474 _impl_.rest_api_ = nullptr;
1475#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1476 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1477 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1478 if (GetArenaForAllocation() == nullptr) { delete old; }
1479#else // PROTOBUF_FORCE_COPY_IN_RELEASE
1480 if (GetArenaForAllocation() != nullptr) {
1481 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1482 }
1483#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1484 return temp;
1485}
1486inline ::jaia::RestAPI* FieldOptions::unsafe_arena_release_rest_api() {
1487 // @@protoc_insertion_point(field_release:jaia.FieldOptions.rest_api)
1488 _impl_._has_bits_[0] &= ~0x00000001u;
1489 ::jaia::RestAPI* temp = _impl_.rest_api_;
1490 _impl_.rest_api_ = nullptr;
1491 return temp;
1492}
1493inline ::jaia::RestAPI* FieldOptions::_internal_mutable_rest_api() {
1494 _impl_._has_bits_[0] |= 0x00000001u;
1495 if (_impl_.rest_api_ == nullptr) {
1496 auto* p = CreateMaybeMessage<::jaia::RestAPI>(GetArenaForAllocation());
1497 _impl_.rest_api_ = p;
1498 }
1499 return _impl_.rest_api_;
1500}
1501inline ::jaia::RestAPI* FieldOptions::mutable_rest_api() {
1502 ::jaia::RestAPI* _msg = _internal_mutable_rest_api();
1503 // @@protoc_insertion_point(field_mutable:jaia.FieldOptions.rest_api)
1504 return _msg;
1505}
1506inline void FieldOptions::set_allocated_rest_api(::jaia::RestAPI* rest_api) {
1507 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1508 if (message_arena == nullptr) {
1509 delete _impl_.rest_api_;
1510 }
1511 if (rest_api) {
1512 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1513 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(rest_api);
1514 if (message_arena != submessage_arena) {
1515 rest_api = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1516 message_arena, rest_api, submessage_arena);
1517 }
1518 _impl_._has_bits_[0] |= 0x00000001u;
1519 } else {
1520 _impl_._has_bits_[0] &= ~0x00000001u;
1521 }
1522 _impl_.rest_api_ = rest_api;
1523 // @@protoc_insertion_point(field_set_allocated:jaia.FieldOptions.rest_api)
1524}
1525
1526// -------------------------------------------------------------------
1527
1528// MessageOptions
1529
1530// -------------------------------------------------------------------
1531
1532// EnumValueOptions
1533
1534// optional .jaia.RestAPI rest_api = 1;
1535inline bool EnumValueOptions::_internal_has_rest_api() const {
1536 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1537 PROTOBUF_ASSUME(!value || _impl_.rest_api_ != nullptr);
1538 return value;
1539}
1540inline bool EnumValueOptions::has_rest_api() const {
1541 return _internal_has_rest_api();
1542}
1543inline void EnumValueOptions::clear_rest_api() {
1544 if (_impl_.rest_api_ != nullptr) _impl_.rest_api_->Clear();
1545 _impl_._has_bits_[0] &= ~0x00000001u;
1546}
1547inline const ::jaia::RestAPI& EnumValueOptions::_internal_rest_api() const {
1548 const ::jaia::RestAPI* p = _impl_.rest_api_;
1549 return p != nullptr ? *p : reinterpret_cast<const ::jaia::RestAPI&>(
1551}
1552inline const ::jaia::RestAPI& EnumValueOptions::rest_api() const {
1553 // @@protoc_insertion_point(field_get:jaia.EnumValueOptions.rest_api)
1554 return _internal_rest_api();
1555}
1556inline void EnumValueOptions::unsafe_arena_set_allocated_rest_api(
1557 ::jaia::RestAPI* rest_api) {
1558 if (GetArenaForAllocation() == nullptr) {
1559 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.rest_api_);
1560 }
1561 _impl_.rest_api_ = rest_api;
1562 if (rest_api) {
1563 _impl_._has_bits_[0] |= 0x00000001u;
1564 } else {
1565 _impl_._has_bits_[0] &= ~0x00000001u;
1566 }
1567 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaia.EnumValueOptions.rest_api)
1568}
1569inline ::jaia::RestAPI* EnumValueOptions::release_rest_api() {
1570 _impl_._has_bits_[0] &= ~0x00000001u;
1571 ::jaia::RestAPI* temp = _impl_.rest_api_;
1572 _impl_.rest_api_ = nullptr;
1573#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1574 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1575 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1576 if (GetArenaForAllocation() == nullptr) { delete old; }
1577#else // PROTOBUF_FORCE_COPY_IN_RELEASE
1578 if (GetArenaForAllocation() != nullptr) {
1579 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1580 }
1581#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1582 return temp;
1583}
1584inline ::jaia::RestAPI* EnumValueOptions::unsafe_arena_release_rest_api() {
1585 // @@protoc_insertion_point(field_release:jaia.EnumValueOptions.rest_api)
1586 _impl_._has_bits_[0] &= ~0x00000001u;
1587 ::jaia::RestAPI* temp = _impl_.rest_api_;
1588 _impl_.rest_api_ = nullptr;
1589 return temp;
1590}
1591inline ::jaia::RestAPI* EnumValueOptions::_internal_mutable_rest_api() {
1592 _impl_._has_bits_[0] |= 0x00000001u;
1593 if (_impl_.rest_api_ == nullptr) {
1594 auto* p = CreateMaybeMessage<::jaia::RestAPI>(GetArenaForAllocation());
1595 _impl_.rest_api_ = p;
1596 }
1597 return _impl_.rest_api_;
1598}
1599inline ::jaia::RestAPI* EnumValueOptions::mutable_rest_api() {
1600 ::jaia::RestAPI* _msg = _internal_mutable_rest_api();
1601 // @@protoc_insertion_point(field_mutable:jaia.EnumValueOptions.rest_api)
1602 return _msg;
1603}
1604inline void EnumValueOptions::set_allocated_rest_api(::jaia::RestAPI* rest_api) {
1605 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1606 if (message_arena == nullptr) {
1607 delete _impl_.rest_api_;
1608 }
1609 if (rest_api) {
1610 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1611 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(rest_api);
1612 if (message_arena != submessage_arena) {
1613 rest_api = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1614 message_arena, rest_api, submessage_arena);
1615 }
1616 _impl_._has_bits_[0] |= 0x00000001u;
1617 } else {
1618 _impl_._has_bits_[0] &= ~0x00000001u;
1619 }
1620 _impl_.rest_api_ = rest_api;
1621 // @@protoc_insertion_point(field_set_allocated:jaia.EnumValueOptions.rest_api)
1622}
1623
1624#ifdef __GNUC__
1625 #pragma GCC diagnostic pop
1626#endif // __GNUC__
1627// -------------------------------------------------------------------
1628
1629// -------------------------------------------------------------------
1630
1631// -------------------------------------------------------------------
1632
1633// -------------------------------------------------------------------
1634
1635
1636// @@protoc_insertion_point(namespace_scope)
1637
1638} // namespace jaia
1639
1640PROTOBUF_NAMESPACE_OPEN
1641
1642template <> struct is_proto_enum< ::jaia::RestAPI_Presence> : ::std::true_type {};
1643template <>
1644inline const EnumDescriptor* GetEnumDescriptor< ::jaia::RestAPI_Presence>() {
1645 return ::jaia::RestAPI_Presence_descriptor();
1646}
1647
1648PROTOBUF_NAMESPACE_CLOSE
1649
1650// @@protoc_insertion_point(global_scope)
1651
1652#include <google/protobuf/port_undef.inc>
1653#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2foption_5fextensions_2eproto
EnumValueOptions(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void UnsafeArenaSwap(EnumValueOptions *other)
static const ClassData _class_data_
EnumValueOptions(const EnumValueOptions &from)
friend void swap(EnumValueOptions &a, EnumValueOptions &b)
void MergeFrom(const EnumValueOptions &from)
~EnumValueOptions() override
void CopyFrom(const EnumValueOptions &from)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
EnumValueOptions & operator=(EnumValueOptions &&from) noexcept
PROTOBUF_CONSTEXPR EnumValueOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
EnumValueOptions & operator=(const EnumValueOptions &from)
void Swap(EnumValueOptions *other)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const EnumValueOptions * internal_default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
EnumValueOptions * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
EnumValueOptions(EnumValueOptions &&from) noexcept
static const EnumValueOptions & default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
PROTOBUF_CONSTEXPR FieldOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
~FieldOptions() override
static const FieldOptions & default_instance()
void CopyFrom(const FieldOptions &from)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void Swap(FieldOptions *other)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
FieldOptions * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
FieldOptions(const FieldOptions &from)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
FieldOptions(FieldOptions &&from) noexcept
void MergeFrom(const FieldOptions &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const FieldOptions * internal_default_instance()
static const ClassData _class_data_
FieldOptions & operator=(FieldOptions &&from) noexcept
friend void swap(FieldOptions &a, FieldOptions &b)
FieldOptions(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
FieldOptions & operator=(const FieldOptions &from)
void UnsafeArenaSwap(FieldOptions *other)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
MessageOptions(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
MessageOptions & operator=(const MessageOptions &from)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const MessageOptions & default_instance()
static const ClassData _class_data_
MessageOptions(const MessageOptions &from)
MessageOptions * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
MessageOptions(MessageOptions &&from) noexcept
void UnsafeArenaSwap(MessageOptions *other)
void Swap(MessageOptions *other)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
PROTOBUF_CONSTEXPR MessageOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
friend void swap(MessageOptions &a, MessageOptions &b)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const MessageOptions * internal_default_instance()
MessageOptions & operator=(MessageOptions &&from) noexcept
void MergeFrom(const MessageOptions &from)
void CopyFrom(const MessageOptions &from)
static const RestAPI_Example * internal_default_instance()
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
const std::string & response() const
void set_allocated_response(std::string *response)
void set_request(ArgT0 &&arg0, ArgT... args)
RestAPI_Example & operator=(const RestAPI_Example &from)
bool IsInitialized() const final
~RestAPI_Example() override
RestAPI_Example & operator=(RestAPI_Example &&from) noexcept
RestAPI_Example(RestAPI_Example &&from) noexcept
RestAPI_Example(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void set_allocated_request(std::string *request)
PROTOBUF_NODISCARD std::string * release_request()
PROTOBUF_NODISCARD std::string * release_response()
static const ClassData _class_data_
size_t ByteSizeLong() const final
RestAPI_Example(const RestAPI_Example &from)
const std::string & request() const
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static constexpr int kIndexInFileMessages
RestAPI_Example * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void CopyFrom(const RestAPI_Example &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void MergeFrom(const RestAPI_Example &from)
void Swap(RestAPI_Example *other)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
friend void swap(RestAPI_Example &a, RestAPI_Example &b)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void UnsafeArenaSwap(RestAPI_Example *other)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
int GetCachedSize() const final
static const RestAPI_Example & default_instance()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
PROTOBUF_CONSTEXPR RestAPI_Example(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void set_response(ArgT0 &&arg0, ArgT... args)
friend void swap(RestAPI &a, RestAPI &b)
PROTOBUF_CONSTEXPR RestAPI(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void MergeFrom(const RestAPI &from)
RestAPI & operator=(const RestAPI &from)
void UnsafeArenaSwap(RestAPI *other)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const RestAPI & default_instance()
static bool Presence_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Presence *value)
RestAPI(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
static const std::string & Presence_Name(T enum_t_value)
static const ClassData _class_data_
RestAPI(const RestAPI &from)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
RestAPI(RestAPI &&from) noexcept
static const RestAPI * internal_default_instance()
void Swap(RestAPI *other)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
~RestAPI() override
void set_doc(ArgT0 &&arg0, ArgT... args)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void CopyFrom(const RestAPI &from)
RestAPI & operator=(RestAPI &&from) noexcept
RestAPI * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Presence_descriptor()
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2foption_5fextensions_2eproto
::jaia::RestAPI * Arena::CreateMaybeMessage<::jaia::RestAPI >(Arena *)
::jaia::RestAPI_Example * Arena::CreateMaybeMessage<::jaia::RestAPI_Example >(Arena *)
const EnumDescriptor * GetEnumDescriptor< ::jaia::RestAPI_Presence >()
constexpr int RestAPI_Presence_Presence_ARRAYSIZE
extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::EnumValueOptions, ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::jaia::EnumValueOptions >, 11, false > ev
static const int kMsgFieldNumber
EnumValueOptionsDefaultTypeInternal _EnumValueOptions_default_instance_
const std::string & RestAPI_Presence_Name(T enum_t_value)
bool RestAPI_Presence_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, RestAPI_Presence *value)
static const int kFieldFieldNumber
RestAPIDefaultTypeInternal _RestAPI_default_instance_
@ RestAPI_Presence_NOT_GUARANTEED
@ RestAPI_Presence_GUARANTEED
@ RestAPI_Presence_OMITTED
RestAPI_ExampleDefaultTypeInternal _RestAPI_Example_default_instance_
extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::FieldOptions, ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::jaia::FieldOptions >, 11, false > field
extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::PROTOBUF_NAMESPACE_ID::MessageOptions, ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::jaia::MessageOptions >, 11, false > msg
static const int kEvFieldNumber
MessageOptionsDefaultTypeInternal _MessageOptions_default_instance_
constexpr RestAPI_Presence RestAPI_Presence_Presence_MAX
constexpr RestAPI_Presence RestAPI_Presence_Presence_MIN
bool RestAPI_Presence_IsValid(int value)
FieldOptionsDefaultTypeInternal _FieldOptions_default_instance_
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * RestAPI_Presence_descriptor()