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