JaiaBot  1.12.0+7+gdc1e5561
JaiaBot micro-AUV software
rest_api.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: jaiabot/messages/rest_api.proto
3 
4 #ifndef PROTOBUF_INCLUDED_jaiabot_2fmessages_2frest_5fapi_2eproto
5 #define PROTOBUF_INCLUDED_jaiabot_2fmessages_2frest_5fapi_2eproto
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
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 3006001 < GOOGLE_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/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
29 #include <google/protobuf/message.h>
30 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
31 #include <google/protobuf/extension_set.h> // IWYU pragma: export
32 #include <google/protobuf/generated_enum_reflection.h>
33 #include <google/protobuf/unknown_field_set.h>
38 #include <boost/units/quantity.hpp>
39 #include <boost/units/absolute.hpp>
40 #include <boost/units/dimensionless_type.hpp>
41 #include <boost/units/make_scaled_unit.hpp>
42 // @@protoc_insertion_point(includes)
43 #define PROTOBUF_INTERNAL_EXPORT_protobuf_jaiabot_2fmessages_2frest_5fapi_2eproto
44 
46 // Internal implementation detail -- do not use these members.
47 struct TableStruct {
48  static const ::google::protobuf::internal::ParseTableField entries[];
49  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
50  static const ::google::protobuf::internal::ParseTable schema[9];
51  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
52  static const ::google::protobuf::internal::SerializationTable serialization_table[];
53  static const ::google::protobuf::uint32 offsets[];
54 };
55 void AddDescriptors();
56 } // namespace protobuf_jaiabot_2fmessages_2frest_5fapi_2eproto
57 namespace jaiabot {
58 namespace protobuf {
59 class APIError;
60 class APIErrorDefaultTypeInternal;
61 extern APIErrorDefaultTypeInternal _APIError_default_instance_;
62 class APIRequest;
63 class APIRequestDefaultTypeInternal;
64 extern APIRequestDefaultTypeInternal _APIRequest_default_instance_;
65 class APIRequest_Nodes;
66 class APIRequest_NodesDefaultTypeInternal;
67 extern APIRequest_NodesDefaultTypeInternal _APIRequest_Nodes_default_instance_;
68 class APIResponse;
69 class APIResponseDefaultTypeInternal;
70 extern APIResponseDefaultTypeInternal _APIResponse_default_instance_;
71 class APIResponse_Nodes;
72 class APIResponse_NodesDefaultTypeInternal;
73 extern APIResponse_NodesDefaultTypeInternal _APIResponse_Nodes_default_instance_;
74 class APIResponse_Statuses;
75 class APIResponse_StatusesDefaultTypeInternal;
76 extern APIResponse_StatusesDefaultTypeInternal _APIResponse_Statuses_default_instance_;
77 class APIResponse_TaskPackets;
78 class APIResponse_TaskPacketsDefaultTypeInternal;
79 extern APIResponse_TaskPacketsDefaultTypeInternal _APIResponse_TaskPackets_default_instance_;
80 class CommandResult;
81 class CommandResultDefaultTypeInternal;
82 extern CommandResultDefaultTypeInternal _CommandResult_default_instance_;
83 class TaskPacketsRequest;
84 class TaskPacketsRequestDefaultTypeInternal;
85 extern TaskPacketsRequestDefaultTypeInternal _TaskPacketsRequest_default_instance_;
86 } // namespace protobuf
87 } // namespace jaiabot
88 namespace google {
89 namespace protobuf {
90 template<> ::jaiabot::protobuf::APIError* Arena::CreateMaybeMessage<::jaiabot::protobuf::APIError>(Arena*);
91 template<> ::jaiabot::protobuf::APIRequest* Arena::CreateMaybeMessage<::jaiabot::protobuf::APIRequest>(Arena*);
92 template<> ::jaiabot::protobuf::APIRequest_Nodes* Arena::CreateMaybeMessage<::jaiabot::protobuf::APIRequest_Nodes>(Arena*);
93 template<> ::jaiabot::protobuf::APIResponse* Arena::CreateMaybeMessage<::jaiabot::protobuf::APIResponse>(Arena*);
94 template<> ::jaiabot::protobuf::APIResponse_Nodes* Arena::CreateMaybeMessage<::jaiabot::protobuf::APIResponse_Nodes>(Arena*);
95 template<> ::jaiabot::protobuf::APIResponse_Statuses* Arena::CreateMaybeMessage<::jaiabot::protobuf::APIResponse_Statuses>(Arena*);
96 template<> ::jaiabot::protobuf::APIResponse_TaskPackets* Arena::CreateMaybeMessage<::jaiabot::protobuf::APIResponse_TaskPackets>(Arena*);
97 template<> ::jaiabot::protobuf::CommandResult* Arena::CreateMaybeMessage<::jaiabot::protobuf::CommandResult>(Arena*);
98 template<> ::jaiabot::protobuf::TaskPacketsRequest* Arena::CreateMaybeMessage<::jaiabot::protobuf::TaskPacketsRequest>(Arena*);
99 } // namespace protobuf
100 } // namespace google
101 namespace jaiabot {
102 namespace protobuf {
103 
115 };
116 bool APIErrorCode_IsValid(int value);
120 
121 const ::google::protobuf::EnumDescriptor* APIErrorCode_descriptor();
122 inline const ::std::string& APIErrorCode_Name(APIErrorCode value) {
123  return ::google::protobuf::internal::NameOfEnum(
124  APIErrorCode_descriptor(), value);
125 }
126 inline bool APIErrorCode_Parse(
127  const ::std::string& name, APIErrorCode* value) {
128  return ::google::protobuf::internal::ParseNamedEnum<APIErrorCode>(
129  APIErrorCode_descriptor(), name, value);
130 }
131 // ===================================================================
132 
133 class TaskPacketsRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.TaskPacketsRequest) */ {
134  public:
136  virtual ~TaskPacketsRequest();
137 
139 
141  CopyFrom(from);
142  return *this;
143  }
144  #if LANG_CXX11
145  TaskPacketsRequest(TaskPacketsRequest&& from) noexcept
146  : TaskPacketsRequest() {
147  *this = ::std::move(from);
148  }
149 
150  inline TaskPacketsRequest& operator=(TaskPacketsRequest&& from) noexcept {
151  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
152  if (this != &from) InternalSwap(&from);
153  } else {
154  CopyFrom(from);
155  }
156  return *this;
157  }
158  #endif
159  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
160  return _internal_metadata_.unknown_fields();
161  }
162  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
163  return _internal_metadata_.mutable_unknown_fields();
164  }
165 
166  static const ::google::protobuf::Descriptor* descriptor();
167  static const TaskPacketsRequest& default_instance();
168 
169  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
171  return reinterpret_cast<const TaskPacketsRequest*>(
173  }
174  static constexpr int kIndexInFileMessages =
175  0;
176 
177  void Swap(TaskPacketsRequest* other);
179  a.Swap(&b);
180  }
181 
182  // implements Message ----------------------------------------------
183 
184  inline TaskPacketsRequest* New() const final {
185  return CreateMaybeMessage<TaskPacketsRequest>(NULL);
186  }
187 
188  TaskPacketsRequest* New(::google::protobuf::Arena* arena) const final {
189  return CreateMaybeMessage<TaskPacketsRequest>(arena);
190  }
191  void CopyFrom(const ::google::protobuf::Message& from) final;
192  void MergeFrom(const ::google::protobuf::Message& from) final;
193  void CopyFrom(const TaskPacketsRequest& from);
194  void MergeFrom(const TaskPacketsRequest& from);
195  void Clear() final;
196  bool IsInitialized() const final;
197 
198  size_t ByteSizeLong() const final;
200  ::google::protobuf::io::CodedInputStream* input) final;
202  ::google::protobuf::io::CodedOutputStream* output) const final;
204  bool deterministic, ::google::protobuf::uint8* target) const final;
205  int GetCachedSize() const final { return _cached_size_.Get(); }
206 
207  private:
208  void SharedCtor();
209  void SharedDtor();
210  void SetCachedSize(int size) const final;
211  void InternalSwap(TaskPacketsRequest* other);
212  private:
213  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
214  return NULL;
215  }
216  inline void* MaybeArenaPtr() const {
217  return NULL;
218  }
219  public:
220 
221  ::google::protobuf::Metadata GetMetadata() const final;
222 
223  // nested types ----------------------------------------------------
224 
225  // accessors -------------------------------------------------------
226 
227  // required uint64 start_time = 1 [(.jaia.field) = {
228  bool has_start_time() const;
229  void clear_start_time();
230  static const int kStartTimeFieldNumber = 1;
231  ::google::protobuf::uint64 start_time() const;
232  void set_start_time(::google::protobuf::uint64 value);
233 
234  // required uint64 end_time = 2 [(.jaia.field) = {
235  bool has_end_time() const;
236  void clear_end_time();
237  static const int kEndTimeFieldNumber = 2;
238  ::google::protobuf::uint64 end_time() const;
239  void set_end_time(::google::protobuf::uint64 value);
240 
241  // @@protoc_insertion_point(class_scope:jaiabot.protobuf.TaskPacketsRequest)
242  private:
243  void set_has_start_time();
244  void clear_has_start_time();
245  void set_has_end_time();
246  void clear_has_end_time();
247 
248  // helper for ByteSizeLong()
249  size_t RequiredFieldsByteSizeFallback() const;
250 
251  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
252  ::google::protobuf::internal::HasBits<1> _has_bits_;
253  mutable ::google::protobuf::internal::CachedSize _cached_size_;
254  ::google::protobuf::uint64 start_time_;
255  ::google::protobuf::uint64 end_time_;
257 };
258 // -------------------------------------------------------------------
259 
260 class CommandResult : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.CommandResult) */ {
261  public:
262  CommandResult();
263  virtual ~CommandResult();
264 
265  CommandResult(const CommandResult& from);
266 
267  inline CommandResult& operator=(const CommandResult& from) {
268  CopyFrom(from);
269  return *this;
270  }
271  #if LANG_CXX11
272  CommandResult(CommandResult&& from) noexcept
273  : CommandResult() {
274  *this = ::std::move(from);
275  }
276 
277  inline CommandResult& operator=(CommandResult&& from) noexcept {
278  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
279  if (this != &from) InternalSwap(&from);
280  } else {
281  CopyFrom(from);
282  }
283  return *this;
284  }
285  #endif
286  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
287  return _internal_metadata_.unknown_fields();
288  }
289  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
290  return _internal_metadata_.mutable_unknown_fields();
291  }
292 
293  static const ::google::protobuf::Descriptor* descriptor();
294  static const CommandResult& default_instance();
295 
296  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
297  static inline const CommandResult* internal_default_instance() {
298  return reinterpret_cast<const CommandResult*>(
300  }
301  static constexpr int kIndexInFileMessages =
302  1;
303 
304  void Swap(CommandResult* other);
305  friend void swap(CommandResult& a, CommandResult& b) {
306  a.Swap(&b);
307  }
308 
309  // implements Message ----------------------------------------------
310 
311  inline CommandResult* New() const final {
312  return CreateMaybeMessage<CommandResult>(NULL);
313  }
314 
315  CommandResult* New(::google::protobuf::Arena* arena) const final {
316  return CreateMaybeMessage<CommandResult>(arena);
317  }
318  void CopyFrom(const ::google::protobuf::Message& from) final;
319  void MergeFrom(const ::google::protobuf::Message& from) final;
320  void CopyFrom(const CommandResult& from);
321  void MergeFrom(const CommandResult& from);
322  void Clear() final;
323  bool IsInitialized() const final;
324 
325  size_t ByteSizeLong() const final;
327  ::google::protobuf::io::CodedInputStream* input) final;
329  ::google::protobuf::io::CodedOutputStream* output) const final;
331  bool deterministic, ::google::protobuf::uint8* target) const final;
332  int GetCachedSize() const final { return _cached_size_.Get(); }
333 
334  private:
335  void SharedCtor();
336  void SharedDtor();
337  void SetCachedSize(int size) const final;
338  void InternalSwap(CommandResult* other);
339  private:
340  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
341  return NULL;
342  }
343  inline void* MaybeArenaPtr() const {
344  return NULL;
345  }
346  public:
347 
348  ::google::protobuf::Metadata GetMetadata() const final;
349 
350  // nested types ----------------------------------------------------
351 
352  // accessors -------------------------------------------------------
353 
354  // required bool command_sent = 1 [(.jaia.field) = {
355  bool has_command_sent() const;
356  void clear_command_sent();
357  static const int kCommandSentFieldNumber = 1;
358  bool command_sent() const;
359  void set_command_sent(bool value);
360 
361  // @@protoc_insertion_point(class_scope:jaiabot.protobuf.CommandResult)
362  private:
363  void set_has_command_sent();
364  void clear_has_command_sent();
365 
366  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
367  ::google::protobuf::internal::HasBits<1> _has_bits_;
368  mutable ::google::protobuf::internal::CachedSize _cached_size_;
369  bool command_sent_;
371 };
372 // -------------------------------------------------------------------
373 
374 class APIError : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.APIError) */ {
375  public:
376  APIError();
377  virtual ~APIError();
378 
379  APIError(const APIError& from);
380 
381  inline APIError& operator=(const APIError& from) {
382  CopyFrom(from);
383  return *this;
384  }
385  #if LANG_CXX11
386  APIError(APIError&& from) noexcept
387  : APIError() {
388  *this = ::std::move(from);
389  }
390 
391  inline APIError& operator=(APIError&& from) noexcept {
392  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
393  if (this != &from) InternalSwap(&from);
394  } else {
395  CopyFrom(from);
396  }
397  return *this;
398  }
399  #endif
400  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
401  return _internal_metadata_.unknown_fields();
402  }
403  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
404  return _internal_metadata_.mutable_unknown_fields();
405  }
406 
407  static const ::google::protobuf::Descriptor* descriptor();
408  static const APIError& default_instance();
409 
410  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
411  static inline const APIError* internal_default_instance() {
412  return reinterpret_cast<const APIError*>(
414  }
415  static constexpr int kIndexInFileMessages =
416  2;
417 
418  void Swap(APIError* other);
419  friend void swap(APIError& a, APIError& b) {
420  a.Swap(&b);
421  }
422 
423  // implements Message ----------------------------------------------
424 
425  inline APIError* New() const final {
426  return CreateMaybeMessage<APIError>(NULL);
427  }
428 
429  APIError* New(::google::protobuf::Arena* arena) const final {
430  return CreateMaybeMessage<APIError>(arena);
431  }
432  void CopyFrom(const ::google::protobuf::Message& from) final;
433  void MergeFrom(const ::google::protobuf::Message& from) final;
434  void CopyFrom(const APIError& from);
435  void MergeFrom(const APIError& from);
436  void Clear() final;
437  bool IsInitialized() const final;
438 
439  size_t ByteSizeLong() const final;
441  ::google::protobuf::io::CodedInputStream* input) final;
443  ::google::protobuf::io::CodedOutputStream* output) const final;
445  bool deterministic, ::google::protobuf::uint8* target) const final;
446  int GetCachedSize() const final { return _cached_size_.Get(); }
447 
448  private:
449  void SharedCtor();
450  void SharedDtor();
451  void SetCachedSize(int size) const final;
452  void InternalSwap(APIError* other);
453  private:
454  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
455  return NULL;
456  }
457  inline void* MaybeArenaPtr() const {
458  return NULL;
459  }
460  public:
461 
462  ::google::protobuf::Metadata GetMetadata() const final;
463 
464  // nested types ----------------------------------------------------
465 
466  // accessors -------------------------------------------------------
467 
468  // optional string details = 2 [(.jaia.field) = {
469  bool has_details() const;
470  void clear_details();
471  static const int kDetailsFieldNumber = 2;
472  const ::std::string& details() const;
473  void set_details(const ::std::string& value);
474  #if LANG_CXX11
475  void set_details(::std::string&& value);
476  #endif
477  void set_details(const char* value);
478  void set_details(const char* value, size_t size);
479  ::std::string* mutable_details();
480  ::std::string* release_details();
481  void set_allocated_details(::std::string* details);
482 
483  // required .jaiabot.protobuf.APIErrorCode code = 1 [(.jaia.field) = {
484  bool has_code() const;
485  void clear_code();
486  static const int kCodeFieldNumber = 1;
488  void set_code(::jaiabot::protobuf::APIErrorCode value);
489 
490  // @@protoc_insertion_point(class_scope:jaiabot.protobuf.APIError)
491  private:
492  void set_has_code();
493  void clear_has_code();
494  void set_has_details();
495  void clear_has_details();
496 
497  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
498  ::google::protobuf::internal::HasBits<1> _has_bits_;
499  mutable ::google::protobuf::internal::CachedSize _cached_size_;
500  ::google::protobuf::internal::ArenaStringPtr details_;
501  int code_;
502  friend struct ::protobuf_jaiabot_2fmessages_2frest_5fapi_2eproto::TableStruct;
503 };
504 // -------------------------------------------------------------------
505 
506 class APIRequest_Nodes : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.APIRequest.Nodes) */ {
507  public:
509  virtual ~APIRequest_Nodes();
510 
511  APIRequest_Nodes(const APIRequest_Nodes& from);
512 
514  CopyFrom(from);
515  return *this;
516  }
517  #if LANG_CXX11
518  APIRequest_Nodes(APIRequest_Nodes&& from) noexcept
519  : APIRequest_Nodes() {
520  *this = ::std::move(from);
521  }
522 
523  inline APIRequest_Nodes& operator=(APIRequest_Nodes&& from) noexcept {
524  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
525  if (this != &from) InternalSwap(&from);
526  } else {
527  CopyFrom(from);
528  }
529  return *this;
530  }
531  #endif
532  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
533  return _internal_metadata_.unknown_fields();
534  }
535  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
536  return _internal_metadata_.mutable_unknown_fields();
537  }
538 
539  static const ::google::protobuf::Descriptor* descriptor();
540  static const APIRequest_Nodes& default_instance();
541 
542  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
544  return reinterpret_cast<const APIRequest_Nodes*>(
546  }
547  static constexpr int kIndexInFileMessages =
548  3;
549 
550  void Swap(APIRequest_Nodes* other);
551  friend void swap(APIRequest_Nodes& a, APIRequest_Nodes& b) {
552  a.Swap(&b);
553  }
554 
555  // implements Message ----------------------------------------------
556 
557  inline APIRequest_Nodes* New() const final {
558  return CreateMaybeMessage<APIRequest_Nodes>(NULL);
559  }
560 
561  APIRequest_Nodes* New(::google::protobuf::Arena* arena) const final {
562  return CreateMaybeMessage<APIRequest_Nodes>(arena);
563  }
564  void CopyFrom(const ::google::protobuf::Message& from) final;
565  void MergeFrom(const ::google::protobuf::Message& from) final;
566  void CopyFrom(const APIRequest_Nodes& from);
567  void MergeFrom(const APIRequest_Nodes& from);
568  void Clear() final;
569  bool IsInitialized() const final;
570 
571  size_t ByteSizeLong() const final;
573  ::google::protobuf::io::CodedInputStream* input) final;
575  ::google::protobuf::io::CodedOutputStream* output) const final;
577  bool deterministic, ::google::protobuf::uint8* target) const final;
578  int GetCachedSize() const final { return _cached_size_.Get(); }
579 
580  private:
581  void SharedCtor();
582  void SharedDtor();
583  void SetCachedSize(int size) const final;
584  void InternalSwap(APIRequest_Nodes* other);
585  private:
586  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
587  return NULL;
588  }
589  inline void* MaybeArenaPtr() const {
590  return NULL;
591  }
592  public:
593 
594  ::google::protobuf::Metadata GetMetadata() const final;
595 
596  // nested types ----------------------------------------------------
597 
598  // accessors -------------------------------------------------------
599 
600  // repeated int32 hubs = 1 [(.jaia.field) = {
601  int hubs_size() const;
602  void clear_hubs();
603  static const int kHubsFieldNumber = 1;
604  ::google::protobuf::int32 hubs(int index) const;
605  void set_hubs(int index, ::google::protobuf::int32 value);
606  void add_hubs(::google::protobuf::int32 value);
607  const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
608  hubs() const;
609  ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
610  mutable_hubs();
611 
612  // repeated int32 bots = 2 [(.jaia.field) = {
613  int bots_size() const;
614  void clear_bots();
615  static const int kBotsFieldNumber = 2;
616  ::google::protobuf::int32 bots(int index) const;
617  void set_bots(int index, ::google::protobuf::int32 value);
618  void add_bots(::google::protobuf::int32 value);
619  const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
620  bots() const;
621  ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
622  mutable_bots();
623 
624  // optional bool all = 3 [default = false, (.jaia.field) = {
625  bool has_all() const;
626  void clear_all();
627  static const int kAllFieldNumber = 3;
628  bool all() const;
629  void set_all(bool value);
630 
631  // @@protoc_insertion_point(class_scope:jaiabot.protobuf.APIRequest.Nodes)
632  private:
633  void set_has_all();
634  void clear_has_all();
635 
636  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
637  ::google::protobuf::internal::HasBits<1> _has_bits_;
638  mutable ::google::protobuf::internal::CachedSize _cached_size_;
639  ::google::protobuf::RepeatedField< ::google::protobuf::int32 > hubs_;
640  ::google::protobuf::RepeatedField< ::google::protobuf::int32 > bots_;
641  bool all_;
643 };
644 // -------------------------------------------------------------------
645 
646 class APIRequest : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.APIRequest) */ {
647  public:
648  APIRequest();
649  virtual ~APIRequest();
650 
651  APIRequest(const APIRequest& from);
652 
653  inline APIRequest& operator=(const APIRequest& from) {
654  CopyFrom(from);
655  return *this;
656  }
657  #if LANG_CXX11
658  APIRequest(APIRequest&& from) noexcept
659  : APIRequest() {
660  *this = ::std::move(from);
661  }
662 
663  inline APIRequest& operator=(APIRequest&& from) noexcept {
664  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
665  if (this != &from) InternalSwap(&from);
666  } else {
667  CopyFrom(from);
668  }
669  return *this;
670  }
671  #endif
672  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
673  return _internal_metadata_.unknown_fields();
674  }
675  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
676  return _internal_metadata_.mutable_unknown_fields();
677  }
678 
679  static const ::google::protobuf::Descriptor* descriptor();
680  static const APIRequest& default_instance();
681 
682  enum ActionCase {
683  kStatus = 11,
684  kMetadata = 12,
685  kTaskPackets = 13,
686  kCommand = 14,
687  kCommandForHub = 15,
688  ACTION_NOT_SET = 0,
689  };
690 
691  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
692  static inline const APIRequest* internal_default_instance() {
693  return reinterpret_cast<const APIRequest*>(
695  }
696  static constexpr int kIndexInFileMessages =
697  4;
698 
699  void Swap(APIRequest* other);
700  friend void swap(APIRequest& a, APIRequest& b) {
701  a.Swap(&b);
702  }
703 
704  // implements Message ----------------------------------------------
705 
706  inline APIRequest* New() const final {
707  return CreateMaybeMessage<APIRequest>(NULL);
708  }
709 
710  APIRequest* New(::google::protobuf::Arena* arena) const final {
711  return CreateMaybeMessage<APIRequest>(arena);
712  }
713  void CopyFrom(const ::google::protobuf::Message& from) final;
714  void MergeFrom(const ::google::protobuf::Message& from) final;
715  void CopyFrom(const APIRequest& from);
716  void MergeFrom(const APIRequest& from);
717  void Clear() final;
718  bool IsInitialized() const final;
719 
720  size_t ByteSizeLong() const final;
722  ::google::protobuf::io::CodedInputStream* input) final;
724  ::google::protobuf::io::CodedOutputStream* output) const final;
726  bool deterministic, ::google::protobuf::uint8* target) const final;
727  int GetCachedSize() const final { return _cached_size_.Get(); }
728 
729  private:
730  void SharedCtor();
731  void SharedDtor();
732  void SetCachedSize(int size) const final;
733  void InternalSwap(APIRequest* other);
734  private:
735  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
736  return NULL;
737  }
738  inline void* MaybeArenaPtr() const {
739  return NULL;
740  }
741  public:
742 
743  ::google::protobuf::Metadata GetMetadata() const final;
744 
745  // nested types ----------------------------------------------------
746 
748 
749  // accessors -------------------------------------------------------
750 
751  // optional string api_key = 2 [(.jaia.field) = {
752  bool has_api_key() const;
753  void clear_api_key();
754  static const int kApiKeyFieldNumber = 2;
755  const ::std::string& api_key() const;
756  void set_api_key(const ::std::string& value);
757  #if LANG_CXX11
758  void set_api_key(::std::string&& value);
759  #endif
760  void set_api_key(const char* value);
761  void set_api_key(const char* value, size_t size);
762  ::std::string* mutable_api_key();
763  ::std::string* release_api_key();
764  void set_allocated_api_key(::std::string* api_key);
765 
766  // required .jaiabot.protobuf.APIRequest.Nodes target = 1 [(.jaia.field) = {
767  bool has_target() const;
768  void clear_target();
769  static const int kTargetFieldNumber = 1;
770  private:
771  const ::jaiabot::protobuf::APIRequest_Nodes& _internal_target() const;
772  public:
773  const ::jaiabot::protobuf::APIRequest_Nodes& target() const;
774  ::jaiabot::protobuf::APIRequest_Nodes* release_target();
775  ::jaiabot::protobuf::APIRequest_Nodes* mutable_target();
776  void set_allocated_target(::jaiabot::protobuf::APIRequest_Nodes* target);
777 
778  // optional bool status = 11 [(.jaia.field) = {
779  bool has_status() const;
780  void clear_status();
781  static const int kStatusFieldNumber = 11;
782  bool status() const;
783  void set_status(bool value);
784 
785  // optional bool metadata = 12 [(.jaia.field) = {
786  bool has_metadata() const;
787  void clear_metadata();
788  static const int kMetadataFieldNumber = 12;
789  bool metadata() const;
790  void set_metadata(bool value);
791 
792  // optional .jaiabot.protobuf.TaskPacketsRequest task_packets = 13 [(.jaia.field) = {
793  bool has_task_packets() const;
794  void clear_task_packets();
795  static const int kTaskPacketsFieldNumber = 13;
796  private:
797  const ::jaiabot::protobuf::TaskPacketsRequest& _internal_task_packets() const;
798  public:
799  const ::jaiabot::protobuf::TaskPacketsRequest& task_packets() const;
800  ::jaiabot::protobuf::TaskPacketsRequest* release_task_packets();
801  ::jaiabot::protobuf::TaskPacketsRequest* mutable_task_packets();
802  void set_allocated_task_packets(::jaiabot::protobuf::TaskPacketsRequest* task_packets);
803 
804  // optional .jaiabot.protobuf.Command command = 14 [(.jaia.field) = {
805  bool has_command() const;
806  void clear_command();
807  static const int kCommandFieldNumber = 14;
808  private:
809  const ::jaiabot::protobuf::Command& _internal_command() const;
810  public:
811  const ::jaiabot::protobuf::Command& command() const;
812  ::jaiabot::protobuf::Command* release_command();
813  ::jaiabot::protobuf::Command* mutable_command();
814  void set_allocated_command(::jaiabot::protobuf::Command* command);
815 
816  // optional .jaiabot.protobuf.CommandForHub command_for_hub = 15 [(.jaia.field) = {
817  bool has_command_for_hub() const;
818  void clear_command_for_hub();
819  static const int kCommandForHubFieldNumber = 15;
820  private:
821  const ::jaiabot::protobuf::CommandForHub& _internal_command_for_hub() const;
822  public:
823  const ::jaiabot::protobuf::CommandForHub& command_for_hub() const;
824  ::jaiabot::protobuf::CommandForHub* release_command_for_hub();
825  ::jaiabot::protobuf::CommandForHub* mutable_command_for_hub();
826  void set_allocated_command_for_hub(::jaiabot::protobuf::CommandForHub* command_for_hub);
827 
828  void clear_action();
829  ActionCase action_case() const;
830  // @@protoc_insertion_point(class_scope:jaiabot.protobuf.APIRequest)
831  private:
832  void set_has_target();
833  void clear_has_target();
834  void set_has_api_key();
835  void clear_has_api_key();
836  void set_has_status();
837  void set_has_metadata();
838  void set_has_task_packets();
839  void set_has_command();
840  void set_has_command_for_hub();
841 
842  inline bool has_action() const;
843  inline void clear_has_action();
844 
845  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
846  ::google::protobuf::internal::HasBits<1> _has_bits_;
847  mutable ::google::protobuf::internal::CachedSize _cached_size_;
848  ::google::protobuf::internal::ArenaStringPtr api_key_;
850  union ActionUnion {
851  ActionUnion() {}
852  bool status_;
853  bool metadata_;
856  ::jaiabot::protobuf::CommandForHub* command_for_hub_;
857  } action_;
858  ::google::protobuf::uint32 _oneof_case_[1];
859 
860  friend struct ::protobuf_jaiabot_2fmessages_2frest_5fapi_2eproto::TableStruct;
861 };
862 // -------------------------------------------------------------------
863 
864 class APIResponse_Nodes : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.APIResponse.Nodes) */ {
865  public:
867  virtual ~APIResponse_Nodes();
868 
870 
872  CopyFrom(from);
873  return *this;
874  }
875  #if LANG_CXX11
876  APIResponse_Nodes(APIResponse_Nodes&& from) noexcept
877  : APIResponse_Nodes() {
878  *this = ::std::move(from);
879  }
880 
881  inline APIResponse_Nodes& operator=(APIResponse_Nodes&& from) noexcept {
882  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
883  if (this != &from) InternalSwap(&from);
884  } else {
885  CopyFrom(from);
886  }
887  return *this;
888  }
889  #endif
890  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
891  return _internal_metadata_.unknown_fields();
892  }
893  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
894  return _internal_metadata_.mutable_unknown_fields();
895  }
896 
897  static const ::google::protobuf::Descriptor* descriptor();
898  static const APIResponse_Nodes& default_instance();
899 
900  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
902  return reinterpret_cast<const APIResponse_Nodes*>(
904  }
905  static constexpr int kIndexInFileMessages =
906  5;
907 
908  void Swap(APIResponse_Nodes* other);
910  a.Swap(&b);
911  }
912 
913  // implements Message ----------------------------------------------
914 
915  inline APIResponse_Nodes* New() const final {
916  return CreateMaybeMessage<APIResponse_Nodes>(NULL);
917  }
918 
919  APIResponse_Nodes* New(::google::protobuf::Arena* arena) const final {
920  return CreateMaybeMessage<APIResponse_Nodes>(arena);
921  }
922  void CopyFrom(const ::google::protobuf::Message& from) final;
923  void MergeFrom(const ::google::protobuf::Message& from) final;
924  void CopyFrom(const APIResponse_Nodes& from);
925  void MergeFrom(const APIResponse_Nodes& from);
926  void Clear() final;
927  bool IsInitialized() const final;
928 
929  size_t ByteSizeLong() const final;
931  ::google::protobuf::io::CodedInputStream* input) final;
933  ::google::protobuf::io::CodedOutputStream* output) const final;
935  bool deterministic, ::google::protobuf::uint8* target) const final;
936  int GetCachedSize() const final { return _cached_size_.Get(); }
937 
938  private:
939  void SharedCtor();
940  void SharedDtor();
941  void SetCachedSize(int size) const final;
942  void InternalSwap(APIResponse_Nodes* other);
943  private:
944  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
945  return NULL;
946  }
947  inline void* MaybeArenaPtr() const {
948  return NULL;
949  }
950  public:
951 
952  ::google::protobuf::Metadata GetMetadata() const final;
953 
954  // nested types ----------------------------------------------------
955 
956  // accessors -------------------------------------------------------
957 
958  // repeated int32 hubs = 1 [(.jaia.field) = {
959  int hubs_size() const;
960  void clear_hubs();
961  static const int kHubsFieldNumber = 1;
962  ::google::protobuf::int32 hubs(int index) const;
963  void set_hubs(int index, ::google::protobuf::int32 value);
964  void add_hubs(::google::protobuf::int32 value);
965  const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
966  hubs() const;
967  ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
968  mutable_hubs();
969 
970  // repeated int32 bots = 2 [(.jaia.field) = {
971  int bots_size() const;
972  void clear_bots();
973  static const int kBotsFieldNumber = 2;
974  ::google::protobuf::int32 bots(int index) const;
975  void set_bots(int index, ::google::protobuf::int32 value);
976  void add_bots(::google::protobuf::int32 value);
977  const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
978  bots() const;
979  ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
980  mutable_bots();
981 
982  // @@protoc_insertion_point(class_scope:jaiabot.protobuf.APIResponse.Nodes)
983  private:
984 
985  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
986  ::google::protobuf::internal::HasBits<1> _has_bits_;
987  mutable ::google::protobuf::internal::CachedSize _cached_size_;
988  ::google::protobuf::RepeatedField< ::google::protobuf::int32 > hubs_;
989  ::google::protobuf::RepeatedField< ::google::protobuf::int32 > bots_;
991 };
992 // -------------------------------------------------------------------
993 
994 class APIResponse_Statuses : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.APIResponse.Statuses) */ {
995  public:
997  virtual ~APIResponse_Statuses();
998 
1000 
1002  CopyFrom(from);
1003  return *this;
1004  }
1005  #if LANG_CXX11
1007  : APIResponse_Statuses() {
1008  *this = ::std::move(from);
1009  }
1010 
1011  inline APIResponse_Statuses& operator=(APIResponse_Statuses&& from) noexcept {
1012  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1013  if (this != &from) InternalSwap(&from);
1014  } else {
1015  CopyFrom(from);
1016  }
1017  return *this;
1018  }
1019  #endif
1020  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1021  return _internal_metadata_.unknown_fields();
1022  }
1023  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1024  return _internal_metadata_.mutable_unknown_fields();
1025  }
1026 
1027  static const ::google::protobuf::Descriptor* descriptor();
1028  static const APIResponse_Statuses& default_instance();
1029 
1030  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
1032  return reinterpret_cast<const APIResponse_Statuses*>(
1034  }
1035  static constexpr int kIndexInFileMessages =
1036  6;
1037 
1038  void Swap(APIResponse_Statuses* other);
1040  a.Swap(&b);
1041  }
1042 
1043  // implements Message ----------------------------------------------
1044 
1045  inline APIResponse_Statuses* New() const final {
1046  return CreateMaybeMessage<APIResponse_Statuses>(NULL);
1047  }
1048 
1049  APIResponse_Statuses* New(::google::protobuf::Arena* arena) const final {
1050  return CreateMaybeMessage<APIResponse_Statuses>(arena);
1051  }
1052  void CopyFrom(const ::google::protobuf::Message& from) final;
1053  void MergeFrom(const ::google::protobuf::Message& from) final;
1054  void CopyFrom(const APIResponse_Statuses& from);
1055  void MergeFrom(const APIResponse_Statuses& from);
1056  void Clear() final;
1057  bool IsInitialized() const final;
1058 
1059  size_t ByteSizeLong() const final;
1061  ::google::protobuf::io::CodedInputStream* input) final;
1063  ::google::protobuf::io::CodedOutputStream* output) const final;
1064  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1065  bool deterministic, ::google::protobuf::uint8* target) const final;
1066  int GetCachedSize() const final { return _cached_size_.Get(); }
1067 
1068  private:
1069  void SharedCtor();
1070  void SharedDtor();
1071  void SetCachedSize(int size) const final;
1072  void InternalSwap(APIResponse_Statuses* other);
1073  private:
1074  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1075  return NULL;
1076  }
1077  inline void* MaybeArenaPtr() const {
1078  return NULL;
1079  }
1080  public:
1081 
1082  ::google::protobuf::Metadata GetMetadata() const final;
1083 
1084  // nested types ----------------------------------------------------
1085 
1086  // accessors -------------------------------------------------------
1087 
1088  // repeated .jaiabot.protobuf.BotStatus bots = 1 [(.jaia.field) = {
1089  int bots_size() const;
1090  void clear_bots();
1091  static const int kBotsFieldNumber = 1;
1092  ::jaiabot::protobuf::BotStatus* mutable_bots(int index);
1093  ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::BotStatus >*
1094  mutable_bots();
1095  const ::jaiabot::protobuf::BotStatus& bots(int index) const;
1096  ::jaiabot::protobuf::BotStatus* add_bots();
1097  const ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::BotStatus >&
1098  bots() const;
1099 
1100  // repeated .jaiabot.protobuf.HubStatus hubs = 2 [(.jaia.field) = {
1101  int hubs_size() const;
1102  void clear_hubs();
1103  static const int kHubsFieldNumber = 2;
1104  ::jaiabot::protobuf::HubStatus* mutable_hubs(int index);
1105  ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::HubStatus >*
1106  mutable_hubs();
1107  const ::jaiabot::protobuf::HubStatus& hubs(int index) const;
1108  ::jaiabot::protobuf::HubStatus* add_hubs();
1109  const ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::HubStatus >&
1110  hubs() const;
1111 
1112  // @@protoc_insertion_point(class_scope:jaiabot.protobuf.APIResponse.Statuses)
1113  private:
1114 
1115  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1116  ::google::protobuf::internal::HasBits<1> _has_bits_;
1117  mutable ::google::protobuf::internal::CachedSize _cached_size_;
1118  ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::BotStatus > bots_;
1119  ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::HubStatus > hubs_;
1121 };
1122 // -------------------------------------------------------------------
1123 
1124 class APIResponse_TaskPackets : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.APIResponse.TaskPackets) */ {
1125  public:
1127  virtual ~APIResponse_TaskPackets();
1128 
1130 
1132  CopyFrom(from);
1133  return *this;
1134  }
1135  #if LANG_CXX11
1138  *this = ::std::move(from);
1139  }
1140 
1141  inline APIResponse_TaskPackets& operator=(APIResponse_TaskPackets&& from) noexcept {
1142  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1143  if (this != &from) InternalSwap(&from);
1144  } else {
1145  CopyFrom(from);
1146  }
1147  return *this;
1148  }
1149  #endif
1150  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1151  return _internal_metadata_.unknown_fields();
1152  }
1153  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1154  return _internal_metadata_.mutable_unknown_fields();
1155  }
1156 
1157  static const ::google::protobuf::Descriptor* descriptor();
1158  static const APIResponse_TaskPackets& default_instance();
1159 
1160  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
1162  return reinterpret_cast<const APIResponse_TaskPackets*>(
1164  }
1165  static constexpr int kIndexInFileMessages =
1166  7;
1167 
1168  void Swap(APIResponse_TaskPackets* other);
1170  a.Swap(&b);
1171  }
1172 
1173  // implements Message ----------------------------------------------
1174 
1175  inline APIResponse_TaskPackets* New() const final {
1176  return CreateMaybeMessage<APIResponse_TaskPackets>(NULL);
1177  }
1178 
1179  APIResponse_TaskPackets* New(::google::protobuf::Arena* arena) const final {
1180  return CreateMaybeMessage<APIResponse_TaskPackets>(arena);
1181  }
1182  void CopyFrom(const ::google::protobuf::Message& from) final;
1183  void MergeFrom(const ::google::protobuf::Message& from) final;
1184  void CopyFrom(const APIResponse_TaskPackets& from);
1185  void MergeFrom(const APIResponse_TaskPackets& from);
1186  void Clear() final;
1187  bool IsInitialized() const final;
1188 
1189  size_t ByteSizeLong() const final;
1191  ::google::protobuf::io::CodedInputStream* input) final;
1193  ::google::protobuf::io::CodedOutputStream* output) const final;
1194  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1195  bool deterministic, ::google::protobuf::uint8* target) const final;
1196  int GetCachedSize() const final { return _cached_size_.Get(); }
1197 
1198  private:
1199  void SharedCtor();
1200  void SharedDtor();
1201  void SetCachedSize(int size) const final;
1202  void InternalSwap(APIResponse_TaskPackets* other);
1203  private:
1204  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1205  return NULL;
1206  }
1207  inline void* MaybeArenaPtr() const {
1208  return NULL;
1209  }
1210  public:
1211 
1212  ::google::protobuf::Metadata GetMetadata() const final;
1213 
1214  // nested types ----------------------------------------------------
1215 
1216  // accessors -------------------------------------------------------
1217 
1218  // repeated .jaiabot.protobuf.TaskPacket packets = 1 [(.jaia.field) = {
1219  int packets_size() const;
1220  void clear_packets();
1221  static const int kPacketsFieldNumber = 1;
1222  ::jaiabot::protobuf::TaskPacket* mutable_packets(int index);
1223  ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::TaskPacket >*
1224  mutable_packets();
1225  const ::jaiabot::protobuf::TaskPacket& packets(int index) const;
1226  ::jaiabot::protobuf::TaskPacket* add_packets();
1227  const ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::TaskPacket >&
1228  packets() const;
1229 
1230  // @@protoc_insertion_point(class_scope:jaiabot.protobuf.APIResponse.TaskPackets)
1231  private:
1232 
1233  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1234  ::google::protobuf::internal::HasBits<1> _has_bits_;
1235  mutable ::google::protobuf::internal::CachedSize _cached_size_;
1236  ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::TaskPacket > packets_;
1238 };
1239 // -------------------------------------------------------------------
1240 
1241 class APIResponse : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.APIResponse) */ {
1242  public:
1243  APIResponse();
1244  virtual ~APIResponse();
1245 
1246  APIResponse(const APIResponse& from);
1247 
1248  inline APIResponse& operator=(const APIResponse& from) {
1249  CopyFrom(from);
1250  return *this;
1251  }
1252  #if LANG_CXX11
1253  APIResponse(APIResponse&& from) noexcept
1254  : APIResponse() {
1255  *this = ::std::move(from);
1256  }
1257 
1258  inline APIResponse& operator=(APIResponse&& from) noexcept {
1259  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1260  if (this != &from) InternalSwap(&from);
1261  } else {
1262  CopyFrom(from);
1263  }
1264  return *this;
1265  }
1266  #endif
1267  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1268  return _internal_metadata_.unknown_fields();
1269  }
1270  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1271  return _internal_metadata_.mutable_unknown_fields();
1272  }
1273 
1274  static const ::google::protobuf::Descriptor* descriptor();
1275  static const APIResponse& default_instance();
1276 
1277  enum ActionCase {
1278  kError = 10,
1279  kStatus = 11,
1280  kMetadata = 12,
1281  kTaskPackets = 13,
1282  kCommandResult = 14,
1283  ACTION_NOT_SET = 0,
1284  };
1285 
1286  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
1287  static inline const APIResponse* internal_default_instance() {
1288  return reinterpret_cast<const APIResponse*>(
1290  }
1291  static constexpr int kIndexInFileMessages =
1292  8;
1293 
1294  void Swap(APIResponse* other);
1295  friend void swap(APIResponse& a, APIResponse& b) {
1296  a.Swap(&b);
1297  }
1298 
1299  // implements Message ----------------------------------------------
1300 
1301  inline APIResponse* New() const final {
1302  return CreateMaybeMessage<APIResponse>(NULL);
1303  }
1304 
1305  APIResponse* New(::google::protobuf::Arena* arena) const final {
1306  return CreateMaybeMessage<APIResponse>(arena);
1307  }
1308  void CopyFrom(const ::google::protobuf::Message& from) final;
1309  void MergeFrom(const ::google::protobuf::Message& from) final;
1310  void CopyFrom(const APIResponse& from);
1311  void MergeFrom(const APIResponse& from);
1312  void Clear() final;
1313  bool IsInitialized() const final;
1314 
1315  size_t ByteSizeLong() const final;
1317  ::google::protobuf::io::CodedInputStream* input) final;
1319  ::google::protobuf::io::CodedOutputStream* output) const final;
1320  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1321  bool deterministic, ::google::protobuf::uint8* target) const final;
1322  int GetCachedSize() const final { return _cached_size_.Get(); }
1323 
1324  private:
1325  void SharedCtor();
1326  void SharedDtor();
1327  void SetCachedSize(int size) const final;
1328  void InternalSwap(APIResponse* other);
1329  private:
1330  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1331  return NULL;
1332  }
1333  inline void* MaybeArenaPtr() const {
1334  return NULL;
1335  }
1336  public:
1337 
1338  ::google::protobuf::Metadata GetMetadata() const final;
1339 
1340  // nested types ----------------------------------------------------
1341 
1345 
1346  // accessors -------------------------------------------------------
1347 
1348  // optional .jaiabot.protobuf.APIResponse.Nodes target = 1 [(.jaia.field) = {
1349  bool has_target() const;
1350  void clear_target();
1351  static const int kTargetFieldNumber = 1;
1352  private:
1353  const ::jaiabot::protobuf::APIResponse_Nodes& _internal_target() const;
1354  public:
1355  const ::jaiabot::protobuf::APIResponse_Nodes& target() const;
1356  ::jaiabot::protobuf::APIResponse_Nodes* release_target();
1357  ::jaiabot::protobuf::APIResponse_Nodes* mutable_target();
1358  void set_allocated_target(::jaiabot::protobuf::APIResponse_Nodes* target);
1359 
1360  // required .jaiabot.protobuf.APIRequest request = 20 [(.jaia.field) = {
1361  bool has_request() const;
1362  void clear_request();
1363  static const int kRequestFieldNumber = 20;
1364  private:
1365  const ::jaiabot::protobuf::APIRequest& _internal_request() const;
1366  public:
1367  const ::jaiabot::protobuf::APIRequest& request() const;
1368  ::jaiabot::protobuf::APIRequest* release_request();
1369  ::jaiabot::protobuf::APIRequest* mutable_request();
1370  void set_allocated_request(::jaiabot::protobuf::APIRequest* request);
1371 
1372  // optional .jaiabot.protobuf.APIError error = 10 [(.jaia.field) = {
1373  bool has_error() const;
1374  void clear_error();
1375  static const int kErrorFieldNumber = 10;
1376  private:
1377  const ::jaiabot::protobuf::APIError& _internal_error() const;
1378  public:
1379  const ::jaiabot::protobuf::APIError& error() const;
1380  ::jaiabot::protobuf::APIError* release_error();
1381  ::jaiabot::protobuf::APIError* mutable_error();
1382  void set_allocated_error(::jaiabot::protobuf::APIError* error);
1383 
1384  // optional .jaiabot.protobuf.APIResponse.Statuses status = 11 [(.jaia.field) = {
1385  bool has_status() const;
1386  void clear_status();
1387  static const int kStatusFieldNumber = 11;
1388  private:
1389  const ::jaiabot::protobuf::APIResponse_Statuses& _internal_status() const;
1390  public:
1391  const ::jaiabot::protobuf::APIResponse_Statuses& status() const;
1392  ::jaiabot::protobuf::APIResponse_Statuses* release_status();
1393  ::jaiabot::protobuf::APIResponse_Statuses* mutable_status();
1394  void set_allocated_status(::jaiabot::protobuf::APIResponse_Statuses* status);
1395 
1396  // optional .jaiabot.protobuf.DeviceMetadata metadata = 12 [(.jaia.field) = {
1397  bool has_metadata() const;
1398  void clear_metadata();
1399  static const int kMetadataFieldNumber = 12;
1400  private:
1401  const ::jaiabot::protobuf::DeviceMetadata& _internal_metadata() const;
1402  public:
1403  const ::jaiabot::protobuf::DeviceMetadata& metadata() const;
1404  ::jaiabot::protobuf::DeviceMetadata* release_metadata();
1405  ::jaiabot::protobuf::DeviceMetadata* mutable_metadata();
1406  void set_allocated_metadata(::jaiabot::protobuf::DeviceMetadata* metadata);
1407 
1408  // optional .jaiabot.protobuf.APIResponse.TaskPackets task_packets = 13 [(.jaia.field) = {
1409  bool has_task_packets() const;
1410  void clear_task_packets();
1411  static const int kTaskPacketsFieldNumber = 13;
1412  private:
1413  const ::jaiabot::protobuf::APIResponse_TaskPackets& _internal_task_packets() const;
1414  public:
1415  const ::jaiabot::protobuf::APIResponse_TaskPackets& task_packets() const;
1416  ::jaiabot::protobuf::APIResponse_TaskPackets* release_task_packets();
1417  ::jaiabot::protobuf::APIResponse_TaskPackets* mutable_task_packets();
1418  void set_allocated_task_packets(::jaiabot::protobuf::APIResponse_TaskPackets* task_packets);
1419 
1420  // optional .jaiabot.protobuf.CommandResult command_result = 14 [(.jaia.field) = {
1421  bool has_command_result() const;
1422  void clear_command_result();
1423  static const int kCommandResultFieldNumber = 14;
1424  private:
1425  const ::jaiabot::protobuf::CommandResult& _internal_command_result() const;
1426  public:
1427  const ::jaiabot::protobuf::CommandResult& command_result() const;
1428  ::jaiabot::protobuf::CommandResult* release_command_result();
1429  ::jaiabot::protobuf::CommandResult* mutable_command_result();
1430  void set_allocated_command_result(::jaiabot::protobuf::CommandResult* command_result);
1431 
1432  void clear_action();
1433  ActionCase action_case() const;
1434  // @@protoc_insertion_point(class_scope:jaiabot.protobuf.APIResponse)
1435  private:
1436  void set_has_target();
1437  void clear_has_target();
1438  void set_has_error();
1439  void set_has_status();
1440  void set_has_metadata();
1441  void set_has_task_packets();
1442  void set_has_command_result();
1443  void set_has_request();
1444  void clear_has_request();
1445 
1446  inline bool has_action() const;
1447  inline void clear_has_action();
1448 
1449  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1450  ::google::protobuf::internal::HasBits<1> _has_bits_;
1451  mutable ::google::protobuf::internal::CachedSize _cached_size_;
1452  ::jaiabot::protobuf::APIResponse_Nodes* target_;
1453  ::jaiabot::protobuf::APIRequest* request_;
1454  union ActionUnion {
1455  ActionUnion() {}
1460  ::jaiabot::protobuf::CommandResult* command_result_;
1461  } action_;
1462  ::google::protobuf::uint32 _oneof_case_[1];
1463 
1464  friend struct ::protobuf_jaiabot_2fmessages_2frest_5fapi_2eproto::TableStruct;
1465 };
1466 // ===================================================================
1467 
1468 
1469 // ===================================================================
1470 
1471 #ifdef __GNUC__
1472  #pragma GCC diagnostic push
1473  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1474 #endif // __GNUC__
1475 // TaskPacketsRequest
1476 
1477 // required uint64 start_time = 1 [(.jaia.field) = {
1479  return (_has_bits_[0] & 0x00000001u) != 0;
1480 }
1481 inline void TaskPacketsRequest::set_has_start_time() {
1482  _has_bits_[0] |= 0x00000001u;
1483 }
1484 inline void TaskPacketsRequest::clear_has_start_time() {
1485  _has_bits_[0] &= ~0x00000001u;
1486 }
1488  start_time_ = GOOGLE_ULONGLONG(0);
1489  clear_has_start_time();
1490 }
1491 inline ::google::protobuf::uint64 TaskPacketsRequest::start_time() const {
1492  // @@protoc_insertion_point(field_get:jaiabot.protobuf.TaskPacketsRequest.start_time)
1493  return start_time_;
1494 }
1495 inline void TaskPacketsRequest::set_start_time(::google::protobuf::uint64 value) {
1496  set_has_start_time();
1497  start_time_ = value;
1498  // @@protoc_insertion_point(field_set:jaiabot.protobuf.TaskPacketsRequest.start_time)
1499 }
1500 
1501 // required uint64 end_time = 2 [(.jaia.field) = {
1503  return (_has_bits_[0] & 0x00000002u) != 0;
1504 }
1505 inline void TaskPacketsRequest::set_has_end_time() {
1506  _has_bits_[0] |= 0x00000002u;
1507 }
1508 inline void TaskPacketsRequest::clear_has_end_time() {
1509  _has_bits_[0] &= ~0x00000002u;
1510 }
1512  end_time_ = GOOGLE_ULONGLONG(0);
1513  clear_has_end_time();
1514 }
1515 inline ::google::protobuf::uint64 TaskPacketsRequest::end_time() const {
1516  // @@protoc_insertion_point(field_get:jaiabot.protobuf.TaskPacketsRequest.end_time)
1517  return end_time_;
1518 }
1519 inline void TaskPacketsRequest::set_end_time(::google::protobuf::uint64 value) {
1520  set_has_end_time();
1521  end_time_ = value;
1522  // @@protoc_insertion_point(field_set:jaiabot.protobuf.TaskPacketsRequest.end_time)
1523 }
1524 
1525 // -------------------------------------------------------------------
1526 
1527 // CommandResult
1528 
1529 // required bool command_sent = 1 [(.jaia.field) = {
1530 inline bool CommandResult::has_command_sent() const {
1531  return (_has_bits_[0] & 0x00000001u) != 0;
1532 }
1533 inline void CommandResult::set_has_command_sent() {
1534  _has_bits_[0] |= 0x00000001u;
1535 }
1536 inline void CommandResult::clear_has_command_sent() {
1537  _has_bits_[0] &= ~0x00000001u;
1538 }
1540  command_sent_ = false;
1541  clear_has_command_sent();
1542 }
1543 inline bool CommandResult::command_sent() const {
1544  // @@protoc_insertion_point(field_get:jaiabot.protobuf.CommandResult.command_sent)
1545  return command_sent_;
1546 }
1547 inline void CommandResult::set_command_sent(bool value) {
1548  set_has_command_sent();
1549  command_sent_ = value;
1550  // @@protoc_insertion_point(field_set:jaiabot.protobuf.CommandResult.command_sent)
1551 }
1552 
1553 // -------------------------------------------------------------------
1554 
1555 // APIError
1556 
1557 // required .jaiabot.protobuf.APIErrorCode code = 1 [(.jaia.field) = {
1558 inline bool APIError::has_code() const {
1559  return (_has_bits_[0] & 0x00000002u) != 0;
1560 }
1561 inline void APIError::set_has_code() {
1562  _has_bits_[0] |= 0x00000002u;
1563 }
1564 inline void APIError::clear_has_code() {
1565  _has_bits_[0] &= ~0x00000002u;
1566 }
1567 inline void APIError::clear_code() {
1568  code_ = 1;
1569  clear_has_code();
1570 }
1572  // @@protoc_insertion_point(field_get:jaiabot.protobuf.APIError.code)
1573  return static_cast< ::jaiabot::protobuf::APIErrorCode >(code_);
1574 }
1576  assert(::jaiabot::protobuf::APIErrorCode_IsValid(value));
1577  set_has_code();
1578  code_ = value;
1579  // @@protoc_insertion_point(field_set:jaiabot.protobuf.APIError.code)
1580 }
1581 
1582 // optional string details = 2 [(.jaia.field) = {
1583 inline bool APIError::has_details() const {
1584  return (_has_bits_[0] & 0x00000001u) != 0;
1585 }
1586 inline void APIError::set_has_details() {
1587  _has_bits_[0] |= 0x00000001u;
1588 }
1589 inline void APIError::clear_has_details() {
1590  _has_bits_[0] &= ~0x00000001u;
1591 }
1593  details_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1594  clear_has_details();
1595 }
1596 inline const ::std::string& APIError::details() const {
1597  // @@protoc_insertion_point(field_get:jaiabot.protobuf.APIError.details)
1598  return details_.GetNoArena();
1599 }
1600 inline void APIError::set_details(const ::std::string& value) {
1601  set_has_details();
1602  details_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1603  // @@protoc_insertion_point(field_set:jaiabot.protobuf.APIError.details)
1604 }
1605 #if LANG_CXX11
1606 inline void APIError::set_details(::std::string&& value) {
1607  set_has_details();
1608  details_.SetNoArena(
1609  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1610  // @@protoc_insertion_point(field_set_rvalue:jaiabot.protobuf.APIError.details)
1611 }
1612 #endif
1613 inline void APIError::set_details(const char* value) {
1614  GOOGLE_DCHECK(value != NULL);
1615  set_has_details();
1616  details_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1617  // @@protoc_insertion_point(field_set_char:jaiabot.protobuf.APIError.details)
1618 }
1619 inline void APIError::set_details(const char* value, size_t size) {
1620  set_has_details();
1621  details_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1622  ::std::string(reinterpret_cast<const char*>(value), size));
1623  // @@protoc_insertion_point(field_set_pointer:jaiabot.protobuf.APIError.details)
1624 }
1625 inline ::std::string* APIError::mutable_details() {
1626  set_has_details();
1627  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.APIError.details)
1628  return details_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1629 }
1630 inline ::std::string* APIError::release_details() {
1631  // @@protoc_insertion_point(field_release:jaiabot.protobuf.APIError.details)
1632  if (!has_details()) {
1633  return NULL;
1634  }
1635  clear_has_details();
1636  return details_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1637 }
1638 inline void APIError::set_allocated_details(::std::string* details) {
1639  if (details != NULL) {
1640  set_has_details();
1641  } else {
1642  clear_has_details();
1643  }
1644  details_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), details);
1645  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.APIError.details)
1646 }
1647 
1648 // -------------------------------------------------------------------
1649 
1650 // APIRequest_Nodes
1651 
1652 // repeated int32 hubs = 1 [(.jaia.field) = {
1653 inline int APIRequest_Nodes::hubs_size() const {
1654  return hubs_.size();
1655 }
1657  hubs_.Clear();
1658 }
1659 inline ::google::protobuf::int32 APIRequest_Nodes::hubs(int index) const {
1660  // @@protoc_insertion_point(field_get:jaiabot.protobuf.APIRequest.Nodes.hubs)
1661  return hubs_.Get(index);
1662 }
1663 inline void APIRequest_Nodes::set_hubs(int index, ::google::protobuf::int32 value) {
1664  hubs_.Set(index, value);
1665  // @@protoc_insertion_point(field_set:jaiabot.protobuf.APIRequest.Nodes.hubs)
1666 }
1667 inline void APIRequest_Nodes::add_hubs(::google::protobuf::int32 value) {
1668  hubs_.Add(value);
1669  // @@protoc_insertion_point(field_add:jaiabot.protobuf.APIRequest.Nodes.hubs)
1670 }
1671 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
1673  // @@protoc_insertion_point(field_list:jaiabot.protobuf.APIRequest.Nodes.hubs)
1674  return hubs_;
1675 }
1676 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
1678  // @@protoc_insertion_point(field_mutable_list:jaiabot.protobuf.APIRequest.Nodes.hubs)
1679  return &hubs_;
1680 }
1681 
1682 // repeated int32 bots = 2 [(.jaia.field) = {
1683 inline int APIRequest_Nodes::bots_size() const {
1684  return bots_.size();
1685 }
1687  bots_.Clear();
1688 }
1689 inline ::google::protobuf::int32 APIRequest_Nodes::bots(int index) const {
1690  // @@protoc_insertion_point(field_get:jaiabot.protobuf.APIRequest.Nodes.bots)
1691  return bots_.Get(index);
1692 }
1693 inline void APIRequest_Nodes::set_bots(int index, ::google::protobuf::int32 value) {
1694  bots_.Set(index, value);
1695  // @@protoc_insertion_point(field_set:jaiabot.protobuf.APIRequest.Nodes.bots)
1696 }
1697 inline void APIRequest_Nodes::add_bots(::google::protobuf::int32 value) {
1698  bots_.Add(value);
1699  // @@protoc_insertion_point(field_add:jaiabot.protobuf.APIRequest.Nodes.bots)
1700 }
1701 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
1703  // @@protoc_insertion_point(field_list:jaiabot.protobuf.APIRequest.Nodes.bots)
1704  return bots_;
1705 }
1706 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
1708  // @@protoc_insertion_point(field_mutable_list:jaiabot.protobuf.APIRequest.Nodes.bots)
1709  return &bots_;
1710 }
1711 
1712 // optional bool all = 3 [default = false, (.jaia.field) = {
1713 inline bool APIRequest_Nodes::has_all() const {
1714  return (_has_bits_[0] & 0x00000001u) != 0;
1715 }
1716 inline void APIRequest_Nodes::set_has_all() {
1717  _has_bits_[0] |= 0x00000001u;
1718 }
1719 inline void APIRequest_Nodes::clear_has_all() {
1720  _has_bits_[0] &= ~0x00000001u;
1721 }
1723  all_ = false;
1724  clear_has_all();
1725 }
1726 inline bool APIRequest_Nodes::all() const {
1727  // @@protoc_insertion_point(field_get:jaiabot.protobuf.APIRequest.Nodes.all)
1728  return all_;
1729 }
1730 inline void APIRequest_Nodes::set_all(bool value) {
1731  set_has_all();
1732  all_ = value;
1733  // @@protoc_insertion_point(field_set:jaiabot.protobuf.APIRequest.Nodes.all)
1734 }
1735 
1736 // -------------------------------------------------------------------
1737 
1738 // APIRequest
1739 
1740 // required .jaiabot.protobuf.APIRequest.Nodes target = 1 [(.jaia.field) = {
1741 inline bool APIRequest::has_target() const {
1742  return (_has_bits_[0] & 0x00000002u) != 0;
1743 }
1744 inline void APIRequest::set_has_target() {
1745  _has_bits_[0] |= 0x00000002u;
1746 }
1747 inline void APIRequest::clear_has_target() {
1748  _has_bits_[0] &= ~0x00000002u;
1749 }
1751  if (target_ != NULL) target_->Clear();
1752  clear_has_target();
1753 }
1754 inline const ::jaiabot::protobuf::APIRequest_Nodes& APIRequest::_internal_target() const {
1755  return *target_;
1756 }
1757 inline const ::jaiabot::protobuf::APIRequest_Nodes& APIRequest::target() const {
1758  const ::jaiabot::protobuf::APIRequest_Nodes* p = target_;
1759  // @@protoc_insertion_point(field_get:jaiabot.protobuf.APIRequest.target)
1760  return p != NULL ? *p : *reinterpret_cast<const ::jaiabot::protobuf::APIRequest_Nodes*>(
1762 }
1763 inline ::jaiabot::protobuf::APIRequest_Nodes* APIRequest::release_target() {
1764  // @@protoc_insertion_point(field_release:jaiabot.protobuf.APIRequest.target)
1765  clear_has_target();
1766  ::jaiabot::protobuf::APIRequest_Nodes* temp = target_;
1767  target_ = NULL;
1768  return temp;
1769 }
1770 inline ::jaiabot::protobuf::APIRequest_Nodes* APIRequest::mutable_target() {
1771  set_has_target();
1772  if (target_ == NULL) {
1773  auto* p = CreateMaybeMessage<::jaiabot::protobuf::APIRequest_Nodes>(GetArenaNoVirtual());
1774  target_ = p;
1775  }
1776  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.APIRequest.target)
1777  return target_;
1778 }
1780  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1781  if (message_arena == NULL) {
1782  delete target_;
1783  }
1784  if (target) {
1785  ::google::protobuf::Arena* submessage_arena = NULL;
1786  if (message_arena != submessage_arena) {
1787  target = ::google::protobuf::internal::GetOwnedMessage(
1788  message_arena, target, submessage_arena);
1789  }
1790  set_has_target();
1791  } else {
1792  clear_has_target();
1793  }
1794  target_ = target;
1795  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.APIRequest.target)
1796 }
1797 
1798 // optional string api_key = 2 [(.jaia.field) = {
1799 inline bool APIRequest::has_api_key() const {
1800  return (_has_bits_[0] & 0x00000001u) != 0;
1801 }
1802 inline void APIRequest::set_has_api_key() {
1803  _has_bits_[0] |= 0x00000001u;
1804 }
1805 inline void APIRequest::clear_has_api_key() {
1806  _has_bits_[0] &= ~0x00000001u;
1807 }
1809  api_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1810  clear_has_api_key();
1811 }
1812 inline const ::std::string& APIRequest::api_key() const {
1813  // @@protoc_insertion_point(field_get:jaiabot.protobuf.APIRequest.api_key)
1814  return api_key_.GetNoArena();
1815 }
1816 inline void APIRequest::set_api_key(const ::std::string& value) {
1817  set_has_api_key();
1818  api_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1819  // @@protoc_insertion_point(field_set:jaiabot.protobuf.APIRequest.api_key)
1820 }
1821 #if LANG_CXX11
1822 inline void APIRequest::set_api_key(::std::string&& value) {
1823  set_has_api_key();
1824  api_key_.SetNoArena(
1825  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1826  // @@protoc_insertion_point(field_set_rvalue:jaiabot.protobuf.APIRequest.api_key)
1827 }
1828 #endif
1829 inline void APIRequest::set_api_key(const char* value) {
1830  GOOGLE_DCHECK(value != NULL);
1831  set_has_api_key();
1832  api_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1833  // @@protoc_insertion_point(field_set_char:jaiabot.protobuf.APIRequest.api_key)
1834 }
1835 inline void APIRequest::set_api_key(const char* value, size_t size) {
1836  set_has_api_key();
1837  api_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1838  ::std::string(reinterpret_cast<const char*>(value), size));
1839  // @@protoc_insertion_point(field_set_pointer:jaiabot.protobuf.APIRequest.api_key)
1840 }
1841 inline ::std::string* APIRequest::mutable_api_key() {
1842  set_has_api_key();
1843  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.APIRequest.api_key)
1844  return api_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1845 }
1846 inline ::std::string* APIRequest::release_api_key() {
1847  // @@protoc_insertion_point(field_release:jaiabot.protobuf.APIRequest.api_key)
1848  if (!has_api_key()) {
1849  return NULL;
1850  }
1851  clear_has_api_key();
1852  return api_key_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1853 }
1854 inline void APIRequest::set_allocated_api_key(::std::string* api_key) {
1855  if (api_key != NULL) {
1856  set_has_api_key();
1857  } else {
1858  clear_has_api_key();
1859  }
1860  api_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), api_key);
1861  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.APIRequest.api_key)
1862 }
1863 
1864 // optional bool status = 11 [(.jaia.field) = {
1865 inline bool APIRequest::has_status() const {
1866  return action_case() == kStatus;
1867 }
1868 inline void APIRequest::set_has_status() {
1869  _oneof_case_[0] = kStatus;
1870 }
1872  if (has_status()) {
1873  action_.status_ = false;
1874  clear_has_action();
1875  }
1876 }
1877 inline bool APIRequest::status() const {
1878  // @@protoc_insertion_point(field_get:jaiabot.protobuf.APIRequest.status)
1879  if (has_status()) {
1880  return action_.status_;
1881  }
1882  return false;
1883 }
1884 inline void APIRequest::set_status(bool value) {
1885  if (!has_status()) {
1886  clear_action();
1887  set_has_status();
1888  }
1889  action_.status_ = value;
1890  // @@protoc_insertion_point(field_set:jaiabot.protobuf.APIRequest.status)
1891 }
1892 
1893 // optional bool metadata = 12 [(.jaia.field) = {
1894 inline bool APIRequest::has_metadata() const {
1895  return action_case() == kMetadata;
1896 }
1897 inline void APIRequest::set_has_metadata() {
1898  _oneof_case_[0] = kMetadata;
1899 }
1901  if (has_metadata()) {
1902  action_.metadata_ = false;
1903  clear_has_action();
1904  }
1905 }
1906 inline bool APIRequest::metadata() const {
1907  // @@protoc_insertion_point(field_get:jaiabot.protobuf.APIRequest.metadata)
1908  if (has_metadata()) {
1909  return action_.metadata_;
1910  }
1911  return false;
1912 }
1913 inline void APIRequest::set_metadata(bool value) {
1914  if (!has_metadata()) {
1915  clear_action();
1916  set_has_metadata();
1917  }
1918  action_.metadata_ = value;
1919  // @@protoc_insertion_point(field_set:jaiabot.protobuf.APIRequest.metadata)
1920 }
1921 
1922 // optional .jaiabot.protobuf.TaskPacketsRequest task_packets = 13 [(.jaia.field) = {
1923 inline bool APIRequest::has_task_packets() const {
1924  return action_case() == kTaskPackets;
1925 }
1926 inline void APIRequest::set_has_task_packets() {
1927  _oneof_case_[0] = kTaskPackets;
1928 }
1930  if (has_task_packets()) {
1931  delete action_.task_packets_;
1932  clear_has_action();
1933  }
1934 }
1935 inline const ::jaiabot::protobuf::TaskPacketsRequest& APIRequest::_internal_task_packets() const {
1936  return *action_.task_packets_;
1937 }
1938 inline ::jaiabot::protobuf::TaskPacketsRequest* APIRequest::release_task_packets() {
1939  // @@protoc_insertion_point(field_release:jaiabot.protobuf.APIRequest.task_packets)
1940  if (has_task_packets()) {
1941  clear_has_action();
1942  ::jaiabot::protobuf::TaskPacketsRequest* temp = action_.task_packets_;
1943  action_.task_packets_ = NULL;
1944  return temp;
1945  } else {
1946  return NULL;
1947  }
1948 }
1949 inline const ::jaiabot::protobuf::TaskPacketsRequest& APIRequest::task_packets() const {
1950  // @@protoc_insertion_point(field_get:jaiabot.protobuf.APIRequest.task_packets)
1951  return has_task_packets()
1952  ? *action_.task_packets_
1954 }
1955 inline ::jaiabot::protobuf::TaskPacketsRequest* APIRequest::mutable_task_packets() {
1956  if (!has_task_packets()) {
1957  clear_action();
1958  set_has_task_packets();
1959  action_.task_packets_ = CreateMaybeMessage< ::jaiabot::protobuf::TaskPacketsRequest >(
1960  GetArenaNoVirtual());
1961  }
1962  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.APIRequest.task_packets)
1963  return action_.task_packets_;
1964 }
1965 
1966 // optional .jaiabot.protobuf.Command command = 14 [(.jaia.field) = {
1967 inline bool APIRequest::has_command() const {
1968  return action_case() == kCommand;
1969 }
1970 inline void APIRequest::set_has_command() {
1971  _oneof_case_[0] = kCommand;
1972 }
1973 inline const ::jaiabot::protobuf::Command& APIRequest::_internal_command() const {
1974  return *action_.command_;
1975 }
1976 inline ::jaiabot::protobuf::Command* APIRequest::release_command() {
1977  // @@protoc_insertion_point(field_release:jaiabot.protobuf.APIRequest.command)
1978  if (has_command()) {
1979  clear_has_action();
1980  ::jaiabot::protobuf::Command* temp = action_.command_;
1981  action_.command_ = NULL;
1982  return temp;
1983  } else {
1984  return NULL;
1985  }
1986 }
1987 inline const ::jaiabot::protobuf::Command& APIRequest::command() const {
1988  // @@protoc_insertion_point(field_get:jaiabot.protobuf.APIRequest.command)
1989  return has_command()
1990  ? *action_.command_
1992 }
1993 inline ::jaiabot::protobuf::Command* APIRequest::mutable_command() {
1994  if (!has_command()) {
1995  clear_action();
1996  set_has_command();
1997  action_.command_ = CreateMaybeMessage< ::jaiabot::protobuf::Command >(
1998  GetArenaNoVirtual());
1999  }
2000  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.APIRequest.command)
2001  return action_.command_;
2002 }
2003 
2004 // optional .jaiabot.protobuf.CommandForHub command_for_hub = 15 [(.jaia.field) = {
2005 inline bool APIRequest::has_command_for_hub() const {
2006  return action_case() == kCommandForHub;
2007 }
2008 inline void APIRequest::set_has_command_for_hub() {
2009  _oneof_case_[0] = kCommandForHub;
2010 }
2011 inline const ::jaiabot::protobuf::CommandForHub& APIRequest::_internal_command_for_hub() const {
2012  return *action_.command_for_hub_;
2013 }
2014 inline ::jaiabot::protobuf::CommandForHub* APIRequest::release_command_for_hub() {
2015  // @@protoc_insertion_point(field_release:jaiabot.protobuf.APIRequest.command_for_hub)
2016  if (has_command_for_hub()) {
2017  clear_has_action();
2018  ::jaiabot::protobuf::CommandForHub* temp = action_.command_for_hub_;
2019  action_.command_for_hub_ = NULL;
2020  return temp;
2021  } else {
2022  return NULL;
2023  }
2024 }
2025 inline const ::jaiabot::protobuf::CommandForHub& APIRequest::command_for_hub() const {
2026  // @@protoc_insertion_point(field_get:jaiabot.protobuf.APIRequest.command_for_hub)
2027  return has_command_for_hub()
2028  ? *action_.command_for_hub_
2030 }
2031 inline ::jaiabot::protobuf::CommandForHub* APIRequest::mutable_command_for_hub() {
2032  if (!has_command_for_hub()) {
2033  clear_action();
2034  set_has_command_for_hub();
2035  action_.command_for_hub_ = CreateMaybeMessage< ::jaiabot::protobuf::CommandForHub >(
2036  GetArenaNoVirtual());
2037  }
2038  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.APIRequest.command_for_hub)
2039  return action_.command_for_hub_;
2040 }
2041 
2042 inline bool APIRequest::has_action() const {
2043  return action_case() != ACTION_NOT_SET;
2044 }
2045 inline void APIRequest::clear_has_action() {
2046  _oneof_case_[0] = ACTION_NOT_SET;
2047 }
2049  return APIRequest::ActionCase(_oneof_case_[0]);
2050 }
2051 // -------------------------------------------------------------------
2052 
2053 // APIResponse_Nodes
2054 
2055 // repeated int32 hubs = 1 [(.jaia.field) = {
2056 inline int APIResponse_Nodes::hubs_size() const {
2057  return hubs_.size();
2058 }
2060  hubs_.Clear();
2061 }
2062 inline ::google::protobuf::int32 APIResponse_Nodes::hubs(int index) const {
2063  // @@protoc_insertion_point(field_get:jaiabot.protobuf.APIResponse.Nodes.hubs)
2064  return hubs_.Get(index);
2065 }
2066 inline void APIResponse_Nodes::set_hubs(int index, ::google::protobuf::int32 value) {
2067  hubs_.Set(index, value);
2068  // @@protoc_insertion_point(field_set:jaiabot.protobuf.APIResponse.Nodes.hubs)
2069 }
2070 inline void APIResponse_Nodes::add_hubs(::google::protobuf::int32 value) {
2071  hubs_.Add(value);
2072  // @@protoc_insertion_point(field_add:jaiabot.protobuf.APIResponse.Nodes.hubs)
2073 }
2074 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
2076  // @@protoc_insertion_point(field_list:jaiabot.protobuf.APIResponse.Nodes.hubs)
2077  return hubs_;
2078 }
2079 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
2081  // @@protoc_insertion_point(field_mutable_list:jaiabot.protobuf.APIResponse.Nodes.hubs)
2082  return &hubs_;
2083 }
2084 
2085 // repeated int32 bots = 2 [(.jaia.field) = {
2086 inline int APIResponse_Nodes::bots_size() const {
2087  return bots_.size();
2088 }
2090  bots_.Clear();
2091 }
2092 inline ::google::protobuf::int32 APIResponse_Nodes::bots(int index) const {
2093  // @@protoc_insertion_point(field_get:jaiabot.protobuf.APIResponse.Nodes.bots)
2094  return bots_.Get(index);
2095 }
2096 inline void APIResponse_Nodes::set_bots(int index, ::google::protobuf::int32 value) {
2097  bots_.Set(index, value);
2098  // @@protoc_insertion_point(field_set:jaiabot.protobuf.APIResponse.Nodes.bots)
2099 }
2100 inline void APIResponse_Nodes::add_bots(::google::protobuf::int32 value) {
2101  bots_.Add(value);
2102  // @@protoc_insertion_point(field_add:jaiabot.protobuf.APIResponse.Nodes.bots)
2103 }
2104 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
2106  // @@protoc_insertion_point(field_list:jaiabot.protobuf.APIResponse.Nodes.bots)
2107  return bots_;
2108 }
2109 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
2111  // @@protoc_insertion_point(field_mutable_list:jaiabot.protobuf.APIResponse.Nodes.bots)
2112  return &bots_;
2113 }
2114 
2115 // -------------------------------------------------------------------
2116 
2117 // APIResponse_Statuses
2118 
2119 // repeated .jaiabot.protobuf.BotStatus bots = 1 [(.jaia.field) = {
2121  return bots_.size();
2122 }
2123 inline ::jaiabot::protobuf::BotStatus* APIResponse_Statuses::mutable_bots(int index) {
2124  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.APIResponse.Statuses.bots)
2125  return bots_.Mutable(index);
2126 }
2127 inline ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::BotStatus >*
2129  // @@protoc_insertion_point(field_mutable_list:jaiabot.protobuf.APIResponse.Statuses.bots)
2130  return &bots_;
2131 }
2132 inline const ::jaiabot::protobuf::BotStatus& APIResponse_Statuses::bots(int index) const {
2133  // @@protoc_insertion_point(field_get:jaiabot.protobuf.APIResponse.Statuses.bots)
2134  return bots_.Get(index);
2135 }
2136 inline ::jaiabot::protobuf::BotStatus* APIResponse_Statuses::add_bots() {
2137  // @@protoc_insertion_point(field_add:jaiabot.protobuf.APIResponse.Statuses.bots)
2138  return bots_.Add();
2139 }
2140 inline const ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::BotStatus >&
2142  // @@protoc_insertion_point(field_list:jaiabot.protobuf.APIResponse.Statuses.bots)
2143  return bots_;
2144 }
2145 
2146 // repeated .jaiabot.protobuf.HubStatus hubs = 2 [(.jaia.field) = {
2148  return hubs_.size();
2149 }
2150 inline ::jaiabot::protobuf::HubStatus* APIResponse_Statuses::mutable_hubs(int index) {
2151  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.APIResponse.Statuses.hubs)
2152  return hubs_.Mutable(index);
2153 }
2154 inline ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::HubStatus >*
2156  // @@protoc_insertion_point(field_mutable_list:jaiabot.protobuf.APIResponse.Statuses.hubs)
2157  return &hubs_;
2158 }
2159 inline const ::jaiabot::protobuf::HubStatus& APIResponse_Statuses::hubs(int index) const {
2160  // @@protoc_insertion_point(field_get:jaiabot.protobuf.APIResponse.Statuses.hubs)
2161  return hubs_.Get(index);
2162 }
2163 inline ::jaiabot::protobuf::HubStatus* APIResponse_Statuses::add_hubs() {
2164  // @@protoc_insertion_point(field_add:jaiabot.protobuf.APIResponse.Statuses.hubs)
2165  return hubs_.Add();
2166 }
2167 inline const ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::HubStatus >&
2169  // @@protoc_insertion_point(field_list:jaiabot.protobuf.APIResponse.Statuses.hubs)
2170  return hubs_;
2171 }
2172 
2173 // -------------------------------------------------------------------
2174 
2175 // APIResponse_TaskPackets
2176 
2177 // repeated .jaiabot.protobuf.TaskPacket packets = 1 [(.jaia.field) = {
2179  return packets_.size();
2180 }
2181 inline ::jaiabot::protobuf::TaskPacket* APIResponse_TaskPackets::mutable_packets(int index) {
2182  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.APIResponse.TaskPackets.packets)
2183  return packets_.Mutable(index);
2184 }
2185 inline ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::TaskPacket >*
2187  // @@protoc_insertion_point(field_mutable_list:jaiabot.protobuf.APIResponse.TaskPackets.packets)
2188  return &packets_;
2189 }
2190 inline const ::jaiabot::protobuf::TaskPacket& APIResponse_TaskPackets::packets(int index) const {
2191  // @@protoc_insertion_point(field_get:jaiabot.protobuf.APIResponse.TaskPackets.packets)
2192  return packets_.Get(index);
2193 }
2194 inline ::jaiabot::protobuf::TaskPacket* APIResponse_TaskPackets::add_packets() {
2195  // @@protoc_insertion_point(field_add:jaiabot.protobuf.APIResponse.TaskPackets.packets)
2196  return packets_.Add();
2197 }
2198 inline const ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::TaskPacket >&
2200  // @@protoc_insertion_point(field_list:jaiabot.protobuf.APIResponse.TaskPackets.packets)
2201  return packets_;
2202 }
2203 
2204 // -------------------------------------------------------------------
2205 
2206 // APIResponse
2207 
2208 // optional .jaiabot.protobuf.APIResponse.Nodes target = 1 [(.jaia.field) = {
2209 inline bool APIResponse::has_target() const {
2210  return (_has_bits_[0] & 0x00000001u) != 0;
2211 }
2212 inline void APIResponse::set_has_target() {
2213  _has_bits_[0] |= 0x00000001u;
2214 }
2215 inline void APIResponse::clear_has_target() {
2216  _has_bits_[0] &= ~0x00000001u;
2217 }
2219  if (target_ != NULL) target_->Clear();
2220  clear_has_target();
2221 }
2222 inline const ::jaiabot::protobuf::APIResponse_Nodes& APIResponse::_internal_target() const {
2223  return *target_;
2224 }
2225 inline const ::jaiabot::protobuf::APIResponse_Nodes& APIResponse::target() const {
2226  const ::jaiabot::protobuf::APIResponse_Nodes* p = target_;
2227  // @@protoc_insertion_point(field_get:jaiabot.protobuf.APIResponse.target)
2228  return p != NULL ? *p : *reinterpret_cast<const ::jaiabot::protobuf::APIResponse_Nodes*>(
2230 }
2231 inline ::jaiabot::protobuf::APIResponse_Nodes* APIResponse::release_target() {
2232  // @@protoc_insertion_point(field_release:jaiabot.protobuf.APIResponse.target)
2233  clear_has_target();
2235  target_ = NULL;
2236  return temp;
2237 }
2238 inline ::jaiabot::protobuf::APIResponse_Nodes* APIResponse::mutable_target() {
2239  set_has_target();
2240  if (target_ == NULL) {
2241  auto* p = CreateMaybeMessage<::jaiabot::protobuf::APIResponse_Nodes>(GetArenaNoVirtual());
2242  target_ = p;
2243  }
2244  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.APIResponse.target)
2245  return target_;
2246 }
2248  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2249  if (message_arena == NULL) {
2250  delete target_;
2251  }
2252  if (target) {
2253  ::google::protobuf::Arena* submessage_arena = NULL;
2254  if (message_arena != submessage_arena) {
2255  target = ::google::protobuf::internal::GetOwnedMessage(
2256  message_arena, target, submessage_arena);
2257  }
2258  set_has_target();
2259  } else {
2260  clear_has_target();
2261  }
2262  target_ = target;
2263  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.APIResponse.target)
2264 }
2265 
2266 // optional .jaiabot.protobuf.APIError error = 10 [(.jaia.field) = {
2267 inline bool APIResponse::has_error() const {
2268  return action_case() == kError;
2269 }
2270 inline void APIResponse::set_has_error() {
2271  _oneof_case_[0] = kError;
2272 }
2274  if (has_error()) {
2275  delete action_.error_;
2276  clear_has_action();
2277  }
2278 }
2279 inline const ::jaiabot::protobuf::APIError& APIResponse::_internal_error() const {
2280  return *action_.error_;
2281 }
2282 inline ::jaiabot::protobuf::APIError* APIResponse::release_error() {
2283  // @@protoc_insertion_point(field_release:jaiabot.protobuf.APIResponse.error)
2284  if (has_error()) {
2285  clear_has_action();
2286  ::jaiabot::protobuf::APIError* temp = action_.error_;
2287  action_.error_ = NULL;
2288  return temp;
2289  } else {
2290  return NULL;
2291  }
2292 }
2293 inline const ::jaiabot::protobuf::APIError& APIResponse::error() const {
2294  // @@protoc_insertion_point(field_get:jaiabot.protobuf.APIResponse.error)
2295  return has_error()
2296  ? *action_.error_
2298 }
2299 inline ::jaiabot::protobuf::APIError* APIResponse::mutable_error() {
2300  if (!has_error()) {
2301  clear_action();
2302  set_has_error();
2303  action_.error_ = CreateMaybeMessage< ::jaiabot::protobuf::APIError >(
2304  GetArenaNoVirtual());
2305  }
2306  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.APIResponse.error)
2307  return action_.error_;
2308 }
2309 
2310 // optional .jaiabot.protobuf.APIResponse.Statuses status = 11 [(.jaia.field) = {
2311 inline bool APIResponse::has_status() const {
2312  return action_case() == kStatus;
2313 }
2314 inline void APIResponse::set_has_status() {
2315  _oneof_case_[0] = kStatus;
2316 }
2318  if (has_status()) {
2319  delete action_.status_;
2320  clear_has_action();
2321  }
2322 }
2323 inline const ::jaiabot::protobuf::APIResponse_Statuses& APIResponse::_internal_status() const {
2324  return *action_.status_;
2325 }
2326 inline ::jaiabot::protobuf::APIResponse_Statuses* APIResponse::release_status() {
2327  // @@protoc_insertion_point(field_release:jaiabot.protobuf.APIResponse.status)
2328  if (has_status()) {
2329  clear_has_action();
2330  ::jaiabot::protobuf::APIResponse_Statuses* temp = action_.status_;
2331  action_.status_ = NULL;
2332  return temp;
2333  } else {
2334  return NULL;
2335  }
2336 }
2337 inline const ::jaiabot::protobuf::APIResponse_Statuses& APIResponse::status() const {
2338  // @@protoc_insertion_point(field_get:jaiabot.protobuf.APIResponse.status)
2339  return has_status()
2340  ? *action_.status_
2342 }
2343 inline ::jaiabot::protobuf::APIResponse_Statuses* APIResponse::mutable_status() {
2344  if (!has_status()) {
2345  clear_action();
2346  set_has_status();
2347  action_.status_ = CreateMaybeMessage< ::jaiabot::protobuf::APIResponse_Statuses >(
2348  GetArenaNoVirtual());
2349  }
2350  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.APIResponse.status)
2351  return action_.status_;
2352 }
2353 
2354 // optional .jaiabot.protobuf.DeviceMetadata metadata = 12 [(.jaia.field) = {
2355 inline bool APIResponse::has_metadata() const {
2356  return action_case() == kMetadata;
2357 }
2358 inline void APIResponse::set_has_metadata() {
2359  _oneof_case_[0] = kMetadata;
2360 }
2361 inline const ::jaiabot::protobuf::DeviceMetadata& APIResponse::_internal_metadata() const {
2362  return *action_.metadata_;
2363 }
2364 inline ::jaiabot::protobuf::DeviceMetadata* APIResponse::release_metadata() {
2365  // @@protoc_insertion_point(field_release:jaiabot.protobuf.APIResponse.metadata)
2366  if (has_metadata()) {
2367  clear_has_action();
2368  ::jaiabot::protobuf::DeviceMetadata* temp = action_.metadata_;
2369  action_.metadata_ = NULL;
2370  return temp;
2371  } else {
2372  return NULL;
2373  }
2374 }
2375 inline const ::jaiabot::protobuf::DeviceMetadata& APIResponse::metadata() const {
2376  // @@protoc_insertion_point(field_get:jaiabot.protobuf.APIResponse.metadata)
2377  return has_metadata()
2378  ? *action_.metadata_
2380 }
2381 inline ::jaiabot::protobuf::DeviceMetadata* APIResponse::mutable_metadata() {
2382  if (!has_metadata()) {
2383  clear_action();
2384  set_has_metadata();
2385  action_.metadata_ = CreateMaybeMessage< ::jaiabot::protobuf::DeviceMetadata >(
2386  GetArenaNoVirtual());
2387  }
2388  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.APIResponse.metadata)
2389  return action_.metadata_;
2390 }
2391 
2392 // optional .jaiabot.protobuf.APIResponse.TaskPackets task_packets = 13 [(.jaia.field) = {
2393 inline bool APIResponse::has_task_packets() const {
2394  return action_case() == kTaskPackets;
2395 }
2396 inline void APIResponse::set_has_task_packets() {
2397  _oneof_case_[0] = kTaskPackets;
2398 }
2400  if (has_task_packets()) {
2401  delete action_.task_packets_;
2402  clear_has_action();
2403  }
2404 }
2405 inline const ::jaiabot::protobuf::APIResponse_TaskPackets& APIResponse::_internal_task_packets() const {
2406  return *action_.task_packets_;
2407 }
2408 inline ::jaiabot::protobuf::APIResponse_TaskPackets* APIResponse::release_task_packets() {
2409  // @@protoc_insertion_point(field_release:jaiabot.protobuf.APIResponse.task_packets)
2410  if (has_task_packets()) {
2411  clear_has_action();
2412  ::jaiabot::protobuf::APIResponse_TaskPackets* temp = action_.task_packets_;
2413  action_.task_packets_ = NULL;
2414  return temp;
2415  } else {
2416  return NULL;
2417  }
2418 }
2419 inline const ::jaiabot::protobuf::APIResponse_TaskPackets& APIResponse::task_packets() const {
2420  // @@protoc_insertion_point(field_get:jaiabot.protobuf.APIResponse.task_packets)
2421  return has_task_packets()
2422  ? *action_.task_packets_
2424 }
2425 inline ::jaiabot::protobuf::APIResponse_TaskPackets* APIResponse::mutable_task_packets() {
2426  if (!has_task_packets()) {
2427  clear_action();
2428  set_has_task_packets();
2429  action_.task_packets_ = CreateMaybeMessage< ::jaiabot::protobuf::APIResponse_TaskPackets >(
2430  GetArenaNoVirtual());
2431  }
2432  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.APIResponse.task_packets)
2433  return action_.task_packets_;
2434 }
2435 
2436 // optional .jaiabot.protobuf.CommandResult command_result = 14 [(.jaia.field) = {
2437 inline bool APIResponse::has_command_result() const {
2438  return action_case() == kCommandResult;
2439 }
2440 inline void APIResponse::set_has_command_result() {
2441  _oneof_case_[0] = kCommandResult;
2442 }
2444  if (has_command_result()) {
2445  delete action_.command_result_;
2446  clear_has_action();
2447  }
2448 }
2449 inline const ::jaiabot::protobuf::CommandResult& APIResponse::_internal_command_result() const {
2450  return *action_.command_result_;
2451 }
2452 inline ::jaiabot::protobuf::CommandResult* APIResponse::release_command_result() {
2453  // @@protoc_insertion_point(field_release:jaiabot.protobuf.APIResponse.command_result)
2454  if (has_command_result()) {
2455  clear_has_action();
2456  ::jaiabot::protobuf::CommandResult* temp = action_.command_result_;
2457  action_.command_result_ = NULL;
2458  return temp;
2459  } else {
2460  return NULL;
2461  }
2462 }
2463 inline const ::jaiabot::protobuf::CommandResult& APIResponse::command_result() const {
2464  // @@protoc_insertion_point(field_get:jaiabot.protobuf.APIResponse.command_result)
2465  return has_command_result()
2466  ? *action_.command_result_
2468 }
2469 inline ::jaiabot::protobuf::CommandResult* APIResponse::mutable_command_result() {
2470  if (!has_command_result()) {
2471  clear_action();
2472  set_has_command_result();
2473  action_.command_result_ = CreateMaybeMessage< ::jaiabot::protobuf::CommandResult >(
2474  GetArenaNoVirtual());
2475  }
2476  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.APIResponse.command_result)
2477  return action_.command_result_;
2478 }
2479 
2480 // required .jaiabot.protobuf.APIRequest request = 20 [(.jaia.field) = {
2481 inline bool APIResponse::has_request() const {
2482  return (_has_bits_[0] & 0x00000002u) != 0;
2483 }
2484 inline void APIResponse::set_has_request() {
2485  _has_bits_[0] |= 0x00000002u;
2486 }
2487 inline void APIResponse::clear_has_request() {
2488  _has_bits_[0] &= ~0x00000002u;
2489 }
2491  if (request_ != NULL) request_->Clear();
2492  clear_has_request();
2493 }
2494 inline const ::jaiabot::protobuf::APIRequest& APIResponse::_internal_request() const {
2495  return *request_;
2496 }
2497 inline const ::jaiabot::protobuf::APIRequest& APIResponse::request() const {
2498  const ::jaiabot::protobuf::APIRequest* p = request_;
2499  // @@protoc_insertion_point(field_get:jaiabot.protobuf.APIResponse.request)
2500  return p != NULL ? *p : *reinterpret_cast<const ::jaiabot::protobuf::APIRequest*>(
2502 }
2503 inline ::jaiabot::protobuf::APIRequest* APIResponse::release_request() {
2504  // @@protoc_insertion_point(field_release:jaiabot.protobuf.APIResponse.request)
2505  clear_has_request();
2506  ::jaiabot::protobuf::APIRequest* temp = request_;
2507  request_ = NULL;
2508  return temp;
2509 }
2510 inline ::jaiabot::protobuf::APIRequest* APIResponse::mutable_request() {
2511  set_has_request();
2512  if (request_ == NULL) {
2513  auto* p = CreateMaybeMessage<::jaiabot::protobuf::APIRequest>(GetArenaNoVirtual());
2514  request_ = p;
2515  }
2516  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.APIResponse.request)
2517  return request_;
2518 }
2520  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2521  if (message_arena == NULL) {
2522  delete request_;
2523  }
2524  if (request) {
2525  ::google::protobuf::Arena* submessage_arena = NULL;
2526  if (message_arena != submessage_arena) {
2527  request = ::google::protobuf::internal::GetOwnedMessage(
2528  message_arena, request, submessage_arena);
2529  }
2530  set_has_request();
2531  } else {
2532  clear_has_request();
2533  }
2534  request_ = request;
2535  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.APIResponse.request)
2536 }
2537 
2538 inline bool APIResponse::has_action() const {
2539  return action_case() != ACTION_NOT_SET;
2540 }
2541 inline void APIResponse::clear_has_action() {
2542  _oneof_case_[0] = ACTION_NOT_SET;
2543 }
2545  return APIResponse::ActionCase(_oneof_case_[0]);
2546 }
2547 #ifdef __GNUC__
2548  #pragma GCC diagnostic pop
2549 #endif // __GNUC__
2550 // -------------------------------------------------------------------
2551 
2552 // -------------------------------------------------------------------
2553 
2554 // -------------------------------------------------------------------
2555 
2556 // -------------------------------------------------------------------
2557 
2558 // -------------------------------------------------------------------
2559 
2560 // -------------------------------------------------------------------
2561 
2562 // -------------------------------------------------------------------
2563 
2564 // -------------------------------------------------------------------
2565 
2566 
2567 // @@protoc_insertion_point(namespace_scope)
2568 
2569 } // namespace protobuf
2570 } // namespace jaiabot
2571 
2572 namespace google {
2573 namespace protobuf {
2574 
2575 template <> struct is_proto_enum< ::jaiabot::protobuf::APIErrorCode> : ::std::true_type {};
2576 template <>
2577 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::APIErrorCode>() {
2579 }
2580 
2581 } // namespace protobuf
2582 } // namespace google
2583 
2584 // @@protoc_insertion_point(global_scope)
2585 
2586 #endif // PROTOBUF_INCLUDED_jaiabot_2fmessages_2frest_5fapi_2eproto
jaiabot::protobuf::APIRequest_Nodes::hubs
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 > & hubs() const
Definition: rest_api.pb.h:1672
jaiabot::protobuf::APIRequest_Nodes::bots_size
int bots_size() const
Definition: rest_api.pb.h:1683
jaiabot::protobuf::TaskPacketsRequest::has_start_time
bool has_start_time() const
Definition: rest_api.pb.h:1478
jaiabot::protobuf::TaskPacketsRequest::New
TaskPacketsRequest * New(::google::protobuf::Arena *arena) const final
Definition: rest_api.pb.h:188
jaiabot::protobuf::APIRequest_Nodes::operator=
APIRequest_Nodes & operator=(const APIRequest_Nodes &from)
Definition: rest_api.pb.h:513
jaiabot::protobuf::APIRequest_Nodes::bots
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 > & bots() const
Definition: rest_api.pb.h:1702
jaiabot::protobuf::APIRequest_Nodes::New
APIRequest_Nodes * New() const final
Definition: rest_api.pb.h:557
jaiabot::protobuf::TaskPacket
Definition: jaia_dccl.pb.h:2533
jaiabot::protobuf::CommandResult::operator=
CommandResult & operator=(const CommandResult &from)
Definition: rest_api.pb.h:267
jaiabot::protobuf::TaskPacketsRequest::set_end_time
void set_end_time(::google::protobuf::uint64 value)
Definition: rest_api.pb.h:1519
jaiabot::protobuf::APIResponse::mutable_task_packets
::jaiabot::protobuf::APIResponse_TaskPackets * mutable_task_packets()
Definition: rest_api.pb.h:2425
jaiabot::protobuf::APIResponse::command_result
const ::jaiabot::protobuf::CommandResult & command_result() const
Definition: rest_api.pb.h:2463
jaiabot::protobuf::APIRequest::operator=
APIRequest & operator=(const APIRequest &from)
Definition: rest_api.pb.h:653
jaiabot::protobuf::APIError::has_code
bool has_code() const
Definition: rest_api.pb.h:1558
jaiabot::protobuf::APIRequest::set_allocated_api_key
void set_allocated_api_key(::std::string *api_key)
Definition: rest_api.pb.h:1854
jaiabot::protobuf::APIError::set_allocated_details
void set_allocated_details(::std::string *details)
Definition: rest_api.pb.h:1638
jaiabot::protobuf::APIRequest::has_metadata
bool has_metadata() const
Definition: rest_api.pb.h:1894
protobuf_jaiabot_2fmessages_2frest_5fapi_2eproto::TableStruct::entries
static const ::google::protobuf::internal::ParseTableField entries[]
Definition: rest_api.pb.h:48
jaiabot::protobuf::APIResponse::request
const ::jaiabot::protobuf::APIRequest & request() const
Definition: rest_api.pb.h:2497
jaiabot::protobuf::APIRequest::mutable_command
::jaiabot::protobuf::Command * mutable_command()
Definition: rest_api.pb.h:1993
jaiabot::protobuf::APIResponse_TaskPackets::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: rest_api.pb.h:1153
jaiabot::protobuf::APIResponse::set_allocated_request
void set_allocated_request(::jaiabot::protobuf::APIRequest *request)
Definition: rest_api.pb.h:2519
jaiabot::protobuf::APIRequest::has_command
bool has_command() const
Definition: rest_api.pb.h:1967
jaiabot::protobuf::APIResponse_Nodes::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: rest_api.pb.h:890
protobuf_jaiabot_2fmessages_2frest_5fapi_2eproto::TableStruct::serialization_table
static const ::google::protobuf::internal::SerializationTable serialization_table[]
Definition: rest_api.pb.h:52
jaiabot::protobuf::APIErrorCode_descriptor
const ::google::protobuf::EnumDescriptor * APIErrorCode_descriptor()
jaiabot::protobuf::APIRequest_Nodes::all
bool all() const
Definition: rest_api.pb.h:1726
jaiabot::protobuf::APIRequest_Nodes::swap
friend void swap(APIRequest_Nodes &a, APIRequest_Nodes &b)
Definition: rest_api.pb.h:551
jaiabot::protobuf::APIRequest::status
bool status() const
Definition: rest_api.pb.h:1877
jaiabot::protobuf::APIResponse_TaskPackets::swap
friend void swap(APIResponse_TaskPackets &a, APIResponse_TaskPackets &b)
Definition: rest_api.pb.h:1169
jaiabot::protobuf::API_ERROR__ACTION_REQUIRES_JSON_POST_DATA
@ API_ERROR__ACTION_REQUIRES_JSON_POST_DATA
Definition: rest_api.pb.h:108
jaiabot::protobuf::APIResponse_TaskPackets::New
APIResponse_TaskPackets * New() const final
Definition: rest_api.pb.h:1175
jaiabot::protobuf::APIRequest::internal_default_instance
static const APIRequest * internal_default_instance()
Definition: rest_api.pb.h:692
jaiabot::protobuf::TaskPacketsRequest::swap
friend void swap(TaskPacketsRequest &a, TaskPacketsRequest &b)
Definition: rest_api.pb.h:178
jaiabot::protobuf::APIRequest::mutable_api_key
::std::string * mutable_api_key()
Definition: rest_api.pb.h:1841
jaiabot::protobuf::APIResponse::clear_command_result
void clear_command_result()
Definition: rest_api.pb.h:2443
jaiabot::protobuf::APIRequest::set_metadata
void set_metadata(bool value)
Definition: rest_api.pb.h:1913
jaiabot::protobuf::APIResponse::mutable_request
::jaiabot::protobuf::APIRequest * mutable_request()
Definition: rest_api.pb.h:2510
jaiabot::protobuf::APIResponse_Statuses::swap
friend void swap(APIResponse_Statuses &a, APIResponse_Statuses &b)
Definition: rest_api.pb.h:1039
protobuf_jaiabot_2fmessages_2frest_5fapi_2eproto::TableStruct::aux
static const ::google::protobuf::internal::AuxillaryParseTableField aux[]
Definition: rest_api.pb.h:49
jaiabot::protobuf::TaskPacketsRequest::default_instance
static const TaskPacketsRequest & default_instance()
jaiabot::metadata
protobuf::DeviceMetadata metadata()
Definition: metadata.h:39
jaiabot::protobuf::APIResponse::mutable_metadata
::jaiabot::protobuf::DeviceMetadata * mutable_metadata()
Definition: rest_api.pb.h:2381
jaiabot::protobuf::TaskPacketsRequest::start_time
::google::protobuf::uint64 start_time() const
Definition: rest_api.pb.h:1491
jaiabot::protobuf::APIResponse::release_error
::jaiabot::protobuf::APIError * release_error()
Definition: rest_api.pb.h:2282
jaiabot::protobuf::TaskPacketsRequest::operator=
TaskPacketsRequest & operator=(const TaskPacketsRequest &from)
Definition: rest_api.pb.h:140
jaiabot::protobuf::TaskPacketsRequest::New
TaskPacketsRequest * New() const final
Definition: rest_api.pb.h:184
jaiabot::protobuf::APIResponse_Nodes::hubs_size
int hubs_size() const
Definition: rest_api.pb.h:2056
jaiabot::protobuf::APIRequest_Nodes
Definition: rest_api.pb.h:506
jaiabot::protobuf::APIRequest::metadata
bool metadata() const
Definition: rest_api.pb.h:1906
jaiabot::protobuf::TaskPacketsRequest::set_start_time
void set_start_time(::google::protobuf::uint64 value)
Definition: rest_api.pb.h:1495
jaiabot::protobuf::APIRequest::clear_metadata
void clear_metadata()
Definition: rest_api.pb.h:1900
jaiabot::protobuf::APIResponse_Nodes::hubs
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 > & hubs() const
Definition: rest_api.pb.h:2075
jaiabot::protobuf::APIRequest_Nodes::hubs_size
int hubs_size() const
Definition: rest_api.pb.h:1653
jaiabot::protobuf::APIError::release_details
::std::string * release_details()
Definition: rest_api.pb.h:1630
jaiabot::protobuf::APIError::swap
friend void swap(APIError &a, APIError &b)
Definition: rest_api.pb.h:419
jaiabot::protobuf::APIRequest_Nodes::add_bots
void add_bots(::google::protobuf::int32 value)
Definition: rest_api.pb.h:1697
jaiabot::protobuf::APIRequest::clear_status
void clear_status()
Definition: rest_api.pb.h:1871
jaiabot::protobuf::APIResponse::mutable_command_result
::jaiabot::protobuf::CommandResult * mutable_command_result()
Definition: rest_api.pb.h:2469
jaiabot::protobuf::API_ERROR__TARGETS_STRING_MALFORMATTED
@ API_ERROR__TARGETS_STRING_MALFORMATTED
Definition: rest_api.pb.h:107
jaiabot::protobuf::CommandResult::clear_command_sent
void clear_command_sent()
Definition: rest_api.pb.h:1539
jaiabot::protobuf::TaskPacketsRequest::kIndexInFileMessages
static constexpr int kIndexInFileMessages
Definition: rest_api.pb.h:174
jaiabot::protobuf::APIErrorCode
APIErrorCode
Definition: rest_api.pb.h:104
jaiabot::protobuf::APIRequest_Nodes::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: rest_api.pb.h:535
jaiabot::protobuf::APIResponse_Nodes::add_bots
void add_bots(::google::protobuf::int32 value)
Definition: rest_api.pb.h:2100
jaiabot::protobuf::APIRequest::New
APIRequest * New() const final
Definition: rest_api.pb.h:706
jaiabot::protobuf::APIResponse_TaskPackets::packets
const ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::TaskPacket > & packets() const
Definition: rest_api.pb.h:2199
jaiabot::protobuf::TaskPacketsRequest::SerializeWithCachedSizes
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const final
jaiabot::protobuf::_Command_default_instance_
CommandDefaultTypeInternal _Command_default_instance_
jaiabot::protobuf::APIResponse_Nodes::bots
const ::google::protobuf::RepeatedField< ::google::protobuf::int32 > & bots() const
Definition: rest_api.pb.h:2105
jaiabot::protobuf::Command
Definition: jaia_dccl.pb.h:221
jaiabot::protobuf::TaskPacketsRequest::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: rest_api.pb.h:159
jaia_dccl.pb.h
jaiabot::protobuf::APIResponse_Statuses::add_hubs
::jaiabot::protobuf::HubStatus * add_hubs()
Definition: rest_api.pb.h:2163
jaiabot::protobuf::APIResponse::mutable_target
::jaiabot::protobuf::APIResponse_Nodes * mutable_target()
Definition: rest_api.pb.h:2238
jaiabot::protobuf::APIResponse::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: rest_api.pb.h:1267
jaiabot::protobuf::APIResponse_Nodes::New
APIResponse_Nodes * New() const final
Definition: rest_api.pb.h:915
jaiabot::protobuf::_APIResponse_TaskPackets_default_instance_
APIResponse_TaskPacketsDefaultTypeInternal _APIResponse_TaskPackets_default_instance_
jaiabot::protobuf::APIRequest::action_case
ActionCase action_case() const
Definition: rest_api.pb.h:2048
jaiabot::protobuf::TaskPacketsRequest::kEndTimeFieldNumber
static const int kEndTimeFieldNumber
Definition: rest_api.pb.h:237
jaiabot::protobuf::APIRequest_Nodes::Swap
void Swap(APIRequest_Nodes *other)
jaiabot::protobuf::CommandResult
Definition: rest_api.pb.h:260
hub.pb.h
jaiabot::protobuf::APIResponse_Nodes::clear_bots
void clear_bots()
Definition: rest_api.pb.h:2089
jaiabot::protobuf::TaskPacketsRequest::Swap
void Swap(TaskPacketsRequest *other)
jaiabot::protobuf::CommandResult::New
CommandResult * New() const final
Definition: rest_api.pb.h:311
jaiabot::protobuf::APIErrorCode_ARRAYSIZE
const int APIErrorCode_ARRAYSIZE
Definition: rest_api.pb.h:119
jaiabot::protobuf::APIResponse_Statuses
Definition: rest_api.pb.h:994
jaiabot::protobuf::APIResponse::release_task_packets
::jaiabot::protobuf::APIResponse_TaskPackets * release_task_packets()
Definition: rest_api.pb.h:2408
jaiabot::protobuf::APIResponse::has_target
bool has_target() const
Definition: rest_api.pb.h:2209
jaiabot::protobuf::APIRequest::mutable_command_for_hub
::jaiabot::protobuf::CommandForHub * mutable_command_for_hub()
Definition: rest_api.pb.h:2031
jaiabot::protobuf::APIResponse_Nodes::swap
friend void swap(APIResponse_Nodes &a, APIResponse_Nodes &b)
Definition: rest_api.pb.h:909
jaiabot::protobuf::CommandResult::swap
friend void swap(CommandResult &a, CommandResult &b)
Definition: rest_api.pb.h:305
jaiabot::protobuf::APIRequest::has_target
bool has_target() const
Definition: rest_api.pb.h:1741
jaiabot::protobuf::APIError::details
const ::std::string & details() const
Definition: rest_api.pb.h:1596
jaiabot::protobuf::DeviceMetadata
Definition: metadata.pb.h:462
jaiabot::protobuf::APIResponse::mutable_error
::jaiabot::protobuf::APIError * mutable_error()
Definition: rest_api.pb.h:2299
jaiabot::protobuf::APIResponse::has_status
bool has_status() const
Definition: rest_api.pb.h:2311
jaiabot::protobuf::API_ERROR__INVALID_ACTION
@ API_ERROR__INVALID_ACTION
Definition: rest_api.pb.h:106
jaiabot::protobuf::_APIRequest_Nodes_default_instance_
APIRequest_NodesDefaultTypeInternal _APIRequest_Nodes_default_instance_
jaiabot::protobuf::TaskPacketsRequest::GetMetadata
::google::protobuf::Metadata GetMetadata() const final
jaiabot::protobuf::APIErrorCode_MAX
const APIErrorCode APIErrorCode_MAX
Definition: rest_api.pb.h:118
jaiabot::protobuf::APIResponse::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: rest_api.pb.h:1270
jaiabot::protobuf::TaskPacketsRequest::ByteSizeLong
size_t ByteSizeLong() const final
jaiabot::protobuf::TaskPacketsRequest::TaskPacketsRequest
TaskPacketsRequest()
jaiabot::protobuf::APIRequest::swap
friend void swap(APIRequest &a, APIRequest &b)
Definition: rest_api.pb.h:700
jaiabot::protobuf::APIResponse::clear_task_packets
void clear_task_packets()
Definition: rest_api.pb.h:2399
jaiabot::protobuf::APIResponse_Statuses::Swap
void Swap(APIResponse_Statuses *other)
jaiabot::protobuf::APIResponse::swap
friend void swap(APIResponse &a, APIResponse &b)
Definition: rest_api.pb.h:1295
jaiabot::protobuf::APIRequest::has_api_key
bool has_api_key() const
Definition: rest_api.pb.h:1799
jaiabot::protobuf::APIRequest_Nodes::clear_bots
void clear_bots()
Definition: rest_api.pb.h:1686
jaiabot::protobuf::APIRequest_Nodes::add_hubs
void add_hubs(::google::protobuf::int32 value)
Definition: rest_api.pb.h:1667
jaiabot::protobuf::APIRequest::mutable_task_packets
::jaiabot::protobuf::TaskPacketsRequest * mutable_task_packets()
Definition: rest_api.pb.h:1955
jaiabot::protobuf::API_ERROR__NOT_IMPLEMENTED
@ API_ERROR__NOT_IMPLEMENTED
Definition: rest_api.pb.h:114
jaiabot::protobuf::TaskPacketsRequest::MergeFrom
void MergeFrom(const ::google::protobuf::Message &from) final
jaiabot::protobuf::_TaskPacketsRequest_default_instance_
TaskPacketsRequestDefaultTypeInternal _TaskPacketsRequest_default_instance_
jaiabot::protobuf::APIResponse::action_case
ActionCase action_case() const
Definition: rest_api.pb.h:2544
jaiabot::protobuf::APIError::operator=
APIError & operator=(const APIError &from)
Definition: rest_api.pb.h:381
jaiabot::protobuf::APIRequest::release_command_for_hub
::jaiabot::protobuf::CommandForHub * release_command_for_hub()
Definition: rest_api.pb.h:2014
jaiabot::protobuf::APIRequest::set_api_key
void set_api_key(const ::std::string &value)
Definition: rest_api.pb.h:1816
jaiabot::protobuf::APIRequest::has_status
bool has_status() const
Definition: rest_api.pb.h:1865
jaiabot::protobuf::API_ERROR__INVALID_TYPE
@ API_ERROR__INVALID_TYPE
Definition: rest_api.pb.h:113
jaiabot::protobuf::_APIError_default_instance_
APIErrorDefaultTypeInternal _APIError_default_instance_
jaiabot::protobuf::APIRequest_Nodes::New
APIRequest_Nodes * New(::google::protobuf::Arena *arena) const final
Definition: rest_api.pb.h:561
jaiabot::protobuf::APIRequest::has_command_for_hub
bool has_command_for_hub() const
Definition: rest_api.pb.h:2005
jaiabot::protobuf::APIResponse_Statuses::New
APIResponse_Statuses * New() const final
Definition: rest_api.pb.h:1045
jaiabot::protobuf::APIResponse_TaskPackets
Definition: rest_api.pb.h:1124
jaiabot::protobuf::APIResponse_Statuses::New
APIResponse_Statuses * New(::google::protobuf::Arena *arena) const final
Definition: rest_api.pb.h:1049
jaiabot::protobuf::_APIResponse_default_instance_
APIResponseDefaultTypeInternal _APIResponse_default_instance_
jaiabot::protobuf::APIResponse::mutable_status
::jaiabot::protobuf::APIResponse_Statuses * mutable_status()
Definition: rest_api.pb.h:2343
jaiabot::protobuf::APIRequest::has_task_packets
bool has_task_packets() const
Definition: rest_api.pb.h:1923
jaiabot::protobuf::APIRequest::set_allocated_target
void set_allocated_target(::jaiabot::protobuf::APIRequest_Nodes *target)
Definition: rest_api.pb.h:1779
jaiabot::protobuf::_CommandResult_default_instance_
CommandResultDefaultTypeInternal _CommandResult_default_instance_
jaiabot::protobuf::APIResponse::ActionCase
ActionCase
Definition: rest_api.pb.h:1277
jaiabot::protobuf::APIResponse_Statuses::hubs
const ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::HubStatus > & hubs() const
Definition: rest_api.pb.h:2168
jaiabot::protobuf::CommandResult::set_command_sent
void set_command_sent(bool value)
Definition: rest_api.pb.h:1547
jaiabot::protobuf::TaskPacketsRequest::GetCachedSize
int GetCachedSize() const final
Definition: rest_api.pb.h:205
jaiabot::protobuf::BotStatus
Definition: jaia_dccl.pb.h:1062
jaiabot::protobuf::APIResponse::status
const ::jaiabot::protobuf::APIResponse_Statuses & status() const
Definition: rest_api.pb.h:2337
jaiabot::protobuf::APIError::clear_details
void clear_details()
Definition: rest_api.pb.h:1592
jaiabot::protobuf::APIResponse::set_allocated_target
void set_allocated_target(::jaiabot::protobuf::APIResponse_Nodes *target)
Definition: rest_api.pb.h:2247
jaiabot::protobuf::APIResponse_Statuses::internal_default_instance
static const APIResponse_Statuses * internal_default_instance()
Definition: rest_api.pb.h:1031
jaiabot::protobuf::APIResponse_TaskPackets::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: rest_api.pb.h:1150
jaiabot::protobuf::APIRequest_Nodes::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: rest_api.pb.h:532
protobuf_jaiabot_2fmessages_2frest_5fapi_2eproto::AddDescriptors
void AddDescriptors()
jaiabot::protobuf::API_ERROR__REQUEST_NOT_INITIALIZED
@ API_ERROR__REQUEST_NOT_INITIALIZED
Definition: rest_api.pb.h:111
jaiabot::protobuf::APIRequest_Nodes::mutable_hubs
::google::protobuf::RepeatedField< ::google::protobuf::int32 > * mutable_hubs()
Definition: rest_api.pb.h:1677
jaiabot::protobuf::APIResponse_TaskPackets::internal_default_instance
static const APIResponse_TaskPackets * internal_default_instance()
Definition: rest_api.pb.h:1161
jaiabot::protobuf::TaskPacketsRequest::kStartTimeFieldNumber
static const int kStartTimeFieldNumber
Definition: rest_api.pb.h:230
jaiabot::protobuf::APIRequest_Nodes::set_all
void set_all(bool value)
Definition: rest_api.pb.h:1730
jaiabot::protobuf::APIRequest::set_status
void set_status(bool value)
Definition: rest_api.pb.h:1884
jaiabot::protobuf::APIErrorCode_Name
const ::std::string & APIErrorCode_Name(APIErrorCode value)
Definition: rest_api.pb.h:122
jaiabot::protobuf::TaskPacketsRequest::InitAsDefaultInstance
static void InitAsDefaultInstance()
jaiabot::protobuf::APIResponse_Nodes::internal_default_instance
static const APIResponse_Nodes * internal_default_instance()
Definition: rest_api.pb.h:901
jaiabot::protobuf::_APIResponse_Statuses_default_instance_
APIResponse_StatusesDefaultTypeInternal _APIResponse_Statuses_default_instance_
jaiabot::protobuf::APIRequest::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: rest_api.pb.h:675
jaiabot::protobuf::TaskPacketsRequest::end_time
::google::protobuf::uint64 end_time() const
Definition: rest_api.pb.h:1515
jaiabot::protobuf::APIResponse::has_error
bool has_error() const
Definition: rest_api.pb.h:2267
jaiabot::protobuf::APIErrorCode_MIN
const APIErrorCode APIErrorCode_MIN
Definition: rest_api.pb.h:117
jaiabot::protobuf::APIResponse_TaskPackets::New
APIResponse_TaskPackets * New(::google::protobuf::Arena *arena) const final
Definition: rest_api.pb.h:1179
jaiabot::protobuf::APIResponse::has_command_result
bool has_command_result() const
Definition: rest_api.pb.h:2437
jaiabot::protobuf::APIResponse::operator=
APIResponse & operator=(const APIResponse &from)
Definition: rest_api.pb.h:1248
jaiabot::protobuf::CommandResult::internal_default_instance
static const CommandResult * internal_default_instance()
Definition: rest_api.pb.h:297
jaiabot::protobuf::APIError::New
APIError * New(::google::protobuf::Arena *arena) const final
Definition: rest_api.pb.h:429
jaiabot::protobuf::APIErrorCode_Parse
bool APIErrorCode_Parse(const ::std::string &name, APIErrorCode *value)
Definition: rest_api.pb.h:126
jaiabot::protobuf::TaskPacketsRequest::MergePartialFromCodedStream
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) final
jaiabot::protobuf::APIError::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: rest_api.pb.h:403
jaiabot::protobuf::APIResponse::New
APIResponse * New(::google::protobuf::Arena *arena) const final
Definition: rest_api.pb.h:1305
jaiabot::protobuf::API_ERROR__NO_ACTION_SPECIFIED
@ API_ERROR__NO_ACTION_SPECIFIED
Definition: rest_api.pb.h:112
jaiabot::protobuf::APIResponse
Definition: rest_api.pb.h:1241
jaiabot::protobuf::APIResponse_Statuses::bots_size
int bots_size() const
Definition: rest_api.pb.h:2120
jaiabot::protobuf::APIRequest::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: rest_api.pb.h:672
protobuf_jaiabot_2fmessages_2frest_5fapi_2eproto::TableStruct::schema
static const ::google::protobuf::internal::ParseTable schema[9]
Definition: rest_api.pb.h:50
jaiabot::protobuf::_APIRequest_default_instance_
APIRequestDefaultTypeInternal _APIRequest_default_instance_
jaiabot::protobuf::APIResponse::clear_request
void clear_request()
Definition: rest_api.pb.h:2490
protobuf_jaiabot_2fmessages_2frest_5fapi_2eproto
Definition: rest_api.pb.h:45
jaiabot::protobuf::APIResponse_TaskPackets::mutable_packets
::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::TaskPacket > * mutable_packets()
Definition: rest_api.pb.h:2186
jaiabot::protobuf::TaskPacketsRequest::internal_default_instance
static const TaskPacketsRequest * internal_default_instance()
Definition: rest_api.pb.h:170
jaiabot::protobuf::APIResponse_Nodes::New
APIResponse_Nodes * New(::google::protobuf::Arena *arena) const final
Definition: rest_api.pb.h:919
jaiabot::protobuf::APIResponse::clear_target
void clear_target()
Definition: rest_api.pb.h:2218
jaiabot::protobuf::APIResponse_Statuses::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: rest_api.pb.h:1023
jaiabot::protobuf::APIResponse::target
const ::jaiabot::protobuf::APIResponse_Nodes & target() const
Definition: rest_api.pb.h:2225
jaiabot::protobuf::APIResponse::has_task_packets
bool has_task_packets() const
Definition: rest_api.pb.h:2393
jaiabot::protobuf::APIResponse::internal_default_instance
static const APIResponse * internal_default_instance()
Definition: rest_api.pb.h:1287
jaiabot::protobuf::APIResponse_Nodes::mutable_hubs
::google::protobuf::RepeatedField< ::google::protobuf::int32 > * mutable_hubs()
Definition: rest_api.pb.h:2080
jaiabot::protobuf::APIRequest::clear_target
void clear_target()
Definition: rest_api.pb.h:1750
jaiabot::protobuf::APIRequest::mutable_target
::jaiabot::protobuf::APIRequest_Nodes * mutable_target()
Definition: rest_api.pb.h:1770
jaiabot::protobuf::APIResponse_Nodes::clear_hubs
void clear_hubs()
Definition: rest_api.pb.h:2059
jaiabot::protobuf::APIRequest::task_packets
const ::jaiabot::protobuf::TaskPacketsRequest & task_packets() const
Definition: rest_api.pb.h:1949
jaiabot::protobuf::APIResponse_Statuses::bots
const ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::BotStatus > & bots() const
Definition: rest_api.pb.h:2141
jaiabot::protobuf::APIRequest::release_command
::jaiabot::protobuf::Command * release_command()
Definition: rest_api.pb.h:1976
jaiabot::protobuf::APIRequest::command
const ::jaiabot::protobuf::Command & command() const
Definition: rest_api.pb.h:1987
jaiabot::protobuf::APIError::set_details
void set_details(const ::std::string &value)
Definition: rest_api.pb.h:1600
protobuf_jaiabot_2fmessages_2frest_5fapi_2eproto::TableStruct
Definition: rest_api.pb.h:47
jaiabot::protobuf::TaskPacketsRequest::InternalSerializeWithCachedSizesToArray
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic, ::google::protobuf::uint8 *target) const final
jaiabot::protobuf::APIResponse::clear_error
void clear_error()
Definition: rest_api.pb.h:2273
jaiabot::protobuf::APIResponse::error
const ::jaiabot::protobuf::APIError & error() const
Definition: rest_api.pb.h:2293
jaiabot::protobuf::APIResponse_Statuses::operator=
APIResponse_Statuses & operator=(const APIResponse_Statuses &from)
Definition: rest_api.pb.h:1001
jaiabot::protobuf::APIResponse_Statuses::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: rest_api.pb.h:1020
jaiabot::protobuf::APIResponse_Nodes::set_bots
void set_bots(int index, ::google::protobuf::int32 value)
Definition: rest_api.pb.h:2096
jaiabot::protobuf::APIResponse_Nodes::add_hubs
void add_hubs(::google::protobuf::int32 value)
Definition: rest_api.pb.h:2070
jaiabot::protobuf::APIResponse::release_command_result
::jaiabot::protobuf::CommandResult * release_command_result()
Definition: rest_api.pb.h:2452
jaiabot::protobuf::APIResponse::release_target
::jaiabot::protobuf::APIResponse_Nodes * release_target()
Definition: rest_api.pb.h:2231
metadata.pb.h
protobuf_jaiabot_2fmessages_2frest_5fapi_2eproto::TableStruct::field_metadata
static const ::google::protobuf::internal::FieldMetadata field_metadata[]
Definition: rest_api.pb.h:51
jaiabot::protobuf::APIRequest
Definition: rest_api.pb.h:646
jaiabot::protobuf::CommandResult::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: rest_api.pb.h:289
jaiabot::protobuf::CommandResult::has_command_sent
bool has_command_sent() const
Definition: rest_api.pb.h:1530
jaiabot::protobuf::APIError::New
APIError * New() const final
Definition: rest_api.pb.h:425
jaiabot::protobuf::CommandForHub
Definition: jaia_dccl.pb.h:495
jaiabot::protobuf::APIError::has_details
bool has_details() const
Definition: rest_api.pb.h:1583
jaiabot::protobuf::APIResponse::release_request
::jaiabot::protobuf::APIRequest * release_request()
Definition: rest_api.pb.h:2503
jaiabot
Definition: config.pb.h:57
jaiabot::protobuf::APIErrorCode_IsValid
bool APIErrorCode_IsValid(int value)
jaiabot::protobuf::APIError
Definition: rest_api.pb.h:374
jaiabot::protobuf::APIResponse::has_request
bool has_request() const
Definition: rest_api.pb.h:2481
jaiabot::protobuf::APIRequest_Nodes::has_all
bool has_all() const
Definition: rest_api.pb.h:1713
jaiabot::protobuf::APIResponse_Statuses::mutable_bots
::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::BotStatus > * mutable_bots()
Definition: rest_api.pb.h:2128
jaiabot::protobuf::APIResponse_TaskPackets::operator=
APIResponse_TaskPackets & operator=(const APIResponse_TaskPackets &from)
Definition: rest_api.pb.h:1131
jaiabot::protobuf::APIError::mutable_details
::std::string * mutable_details()
Definition: rest_api.pb.h:1625
jaiabot::protobuf::APIResponse_Nodes::bots_size
int bots_size() const
Definition: rest_api.pb.h:2086
jaiabot::protobuf::CommandResult::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: rest_api.pb.h:286
jaiabot::protobuf::APIError::Swap
void Swap(APIError *other)
jaiabot::protobuf::_APIResponse_Nodes_default_instance_
APIResponse_NodesDefaultTypeInternal _APIResponse_Nodes_default_instance_
jaiabot::protobuf::API_ERROR__UNSUPPORTED_API_VERSION
@ API_ERROR__UNSUPPORTED_API_VERSION
Definition: rest_api.pb.h:105
jaiabot::protobuf::TaskPacketsRequest::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: rest_api.pb.h:162
jaiabot::protobuf::APIResponse::clear_status
void clear_status()
Definition: rest_api.pb.h:2317
jaiabot::protobuf::APIRequest::New
APIRequest * New(::google::protobuf::Arena *arena) const final
Definition: rest_api.pb.h:710
jaiabot::protobuf::APIResponse_Statuses::mutable_hubs
::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::HubStatus > * mutable_hubs()
Definition: rest_api.pb.h:2155
jaiabot::protobuf::CommandResult::New
CommandResult * New(::google::protobuf::Arena *arena) const final
Definition: rest_api.pb.h:315
jaiabot::protobuf::APIRequest::release_target
::jaiabot::protobuf::APIRequest_Nodes * release_target()
Definition: rest_api.pb.h:1763
jaiabot::protobuf::APIResponse_TaskPackets::Swap
void Swap(APIResponse_TaskPackets *other)
jaiabot::protobuf::API_ERROR__COULD_NOT_PARSE_API_REQUEST_JSON
@ API_ERROR__COULD_NOT_PARSE_API_REQUEST_JSON
Definition: rest_api.pb.h:110
jaiabot::protobuf::HubStatus
Definition: hub.pb.h:214
jaiabot::protobuf::APIResponse::New
APIResponse * New() const final
Definition: rest_api.pb.h:1301
jaiabot::protobuf::APIResponse_Nodes::Swap
void Swap(APIResponse_Nodes *other)
jaiabot::protobuf::CommandResult::Swap
void Swap(CommandResult *other)
jaiabot::protobuf::APIResponse_Nodes
Definition: rest_api.pb.h:864
jaiabot::protobuf::TaskPacketsRequest
Definition: rest_api.pb.h:133
jaiabot::protobuf::TaskPacketsRequest::IsInitialized
bool IsInitialized() const final
jaiabot::protobuf::APIRequest_Nodes::clear_hubs
void clear_hubs()
Definition: rest_api.pb.h:1656
jaiabot::protobuf::APIResponse::task_packets
const ::jaiabot::protobuf::APIResponse_TaskPackets & task_packets() const
Definition: rest_api.pb.h:2419
option_extensions.pb.h
jaiabot::protobuf::APIResponse::Swap
void Swap(APIResponse *other)
jaiabot::protobuf::CommandResult::command_sent
bool command_sent() const
Definition: rest_api.pb.h:1543
jaiabot::protobuf::APIRequest_Nodes::clear_all
void clear_all()
Definition: rest_api.pb.h:1722
jaiabot::protobuf::APIResponse_TaskPackets::add_packets
::jaiabot::protobuf::TaskPacket * add_packets()
Definition: rest_api.pb.h:2194
jaiabot::protobuf::APIRequest_Nodes::mutable_bots
::google::protobuf::RepeatedField< ::google::protobuf::int32 > * mutable_bots()
Definition: rest_api.pb.h:1707
jaiabot::protobuf::APIRequest::ActionCase
ActionCase
Definition: rest_api.pb.h:682
jaiabot::protobuf::TaskPacketsRequest::clear_end_time
void clear_end_time()
Definition: rest_api.pb.h:1511
jaiabot::protobuf::TaskPacketsRequest::has_end_time
bool has_end_time() const
Definition: rest_api.pb.h:1502
jaiabot::protobuf::APIRequest::release_api_key
::std::string * release_api_key()
Definition: rest_api.pb.h:1846
jaiabot::protobuf::TaskPacketsRequest::Clear
void Clear() final
jaiabot::protobuf::APIRequest::api_key
const ::std::string & api_key() const
Definition: rest_api.pb.h:1812
jaiabot::protobuf::API_ERROR__INVALID_TARGET
@ API_ERROR__INVALID_TARGET
Definition: rest_api.pb.h:109
jaiabot::protobuf::APIResponse::release_status
::jaiabot::protobuf::APIResponse_Statuses * release_status()
Definition: rest_api.pb.h:2326
jaiabot::protobuf::APIRequest::release_task_packets
::jaiabot::protobuf::TaskPacketsRequest * release_task_packets()
Definition: rest_api.pb.h:1938
jaiabot::protobuf::APIResponse::release_metadata
::jaiabot::protobuf::DeviceMetadata * release_metadata()
Definition: rest_api.pb.h:2364
jaiabot::protobuf::APIResponse_Statuses::add_bots
::jaiabot::protobuf::BotStatus * add_bots()
Definition: rest_api.pb.h:2136
jaiabot::protobuf::APIRequest::command_for_hub
const ::jaiabot::protobuf::CommandForHub & command_for_hub() const
Definition: rest_api.pb.h:2025
jaiabot::protobuf::APIError::clear_code
void clear_code()
Definition: rest_api.pb.h:1567
jaiabot::protobuf::APIError::code
::jaiabot::protobuf::APIErrorCode code() const
Definition: rest_api.pb.h:1571
jaiabot::protobuf::APIError::internal_default_instance
static const APIError * internal_default_instance()
Definition: rest_api.pb.h:411
jaiabot::protobuf::APIResponse::has_metadata
bool has_metadata() const
Definition: rest_api.pb.h:2355
jaiabot::protobuf::APIError::set_code
void set_code(::jaiabot::protobuf::APIErrorCode value)
Definition: rest_api.pb.h:1575
jaiabot::protobuf::APIResponse_TaskPackets::packets_size
int packets_size() const
Definition: rest_api.pb.h:2178
jaiabot::protobuf::APIResponse_Nodes::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: rest_api.pb.h:893
jaiabot::protobuf::APIRequest::clear_api_key
void clear_api_key()
Definition: rest_api.pb.h:1808
jaiabot::protobuf::APIRequest_Nodes::internal_default_instance
static const APIRequest_Nodes * internal_default_instance()
Definition: rest_api.pb.h:543
protobuf_jaiabot_2fmessages_2frest_5fapi_2eproto::TableStruct::offsets
static const ::google::protobuf::uint32 offsets[]
Definition: rest_api.pb.h:53
jaiabot::protobuf::APIRequest::Swap
void Swap(APIRequest *other)
jaiabot::protobuf::APIResponse::metadata
const ::jaiabot::protobuf::DeviceMetadata & metadata() const
Definition: rest_api.pb.h:2375
jaiabot::protobuf::APIResponse_Nodes::operator=
APIResponse_Nodes & operator=(const APIResponse_Nodes &from)
Definition: rest_api.pb.h:871
jaiabot::protobuf::APIResponse_Nodes::mutable_bots
::google::protobuf::RepeatedField< ::google::protobuf::int32 > * mutable_bots()
Definition: rest_api.pb.h:2110
jaiabot::protobuf::APIRequest::clear_task_packets
void clear_task_packets()
Definition: rest_api.pb.h:1929
google
Definition: config.pb.h:64
jaiabot::protobuf::APIRequest_Nodes::set_hubs
void set_hubs(int index, ::google::protobuf::int32 value)
Definition: rest_api.pb.h:1663
jaiabot::protobuf::TaskPacketsRequest::~TaskPacketsRequest
virtual ~TaskPacketsRequest()
jaiabot::protobuf::APIResponse_Nodes::set_hubs
void set_hubs(int index, ::google::protobuf::int32 value)
Definition: rest_api.pb.h:2066
jaiabot::protobuf::APIResponse_Statuses::hubs_size
int hubs_size() const
Definition: rest_api.pb.h:2147
jaiabot::protobuf::APIRequest::target
const ::jaiabot::protobuf::APIRequest_Nodes & target() const
Definition: rest_api.pb.h:1757
jaiabot::protobuf::TaskPacketsRequest::CopyFrom
void CopyFrom(const ::google::protobuf::Message &from) final
jaiabot::protobuf::_CommandForHub_default_instance_
CommandForHubDefaultTypeInternal _CommandForHub_default_instance_
jaiabot::protobuf::TaskPacketsRequest::descriptor
static const ::google::protobuf::Descriptor * descriptor()
jaiabot::protobuf::APIError::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: rest_api.pb.h:400
jaiabot::protobuf::TaskPacketsRequest::clear_start_time
void clear_start_time()
Definition: rest_api.pb.h:1487
jaiabot::protobuf::APIRequest_Nodes::set_bots
void set_bots(int index, ::google::protobuf::int32 value)
Definition: rest_api.pb.h:1693
jaiabot::protobuf::_DeviceMetadata_default_instance_
DeviceMetadataDefaultTypeInternal _DeviceMetadata_default_instance_