JaiaBot  1.19.0
JaiaBot micro-AUV software
portal.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: jaiabot/messages/portal.proto
3 
4 #ifndef PROTOBUF_INCLUDED_jaiabot_2fmessages_2fportal_2eproto
5 #define PROTOBUF_INCLUDED_jaiabot_2fmessages_2fportal_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/unknown_field_set.h>
33 #include "dccl/option_extensions.pb.h"
39 #include <boost/units/quantity.hpp>
40 #include <boost/units/absolute.hpp>
41 #include <boost/units/dimensionless_type.hpp>
42 #include <boost/units/make_scaled_unit.hpp>
43 
44 #include <boost/units/systems/si.hpp>
45 // @@protoc_insertion_point(includes)
46 #define PROTOBUF_INTERNAL_EXPORT_protobuf_jaiabot_2fmessages_2fportal_2eproto
47 
49 // Internal implementation detail -- do not use these members.
50 struct TableStruct {
51  static const ::google::protobuf::internal::ParseTableField entries[];
52  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
53  static const ::google::protobuf::internal::ParseTable schema[2];
54  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
55  static const ::google::protobuf::internal::SerializationTable serialization_table[];
56  static const ::google::protobuf::uint32 offsets[];
57 };
58 void AddDescriptors();
59 } // namespace protobuf_jaiabot_2fmessages_2fportal_2eproto
60 namespace jaiabot {
61 namespace protobuf {
62 class ClientToPortalMessage;
63 class ClientToPortalMessageDefaultTypeInternal;
64 extern ClientToPortalMessageDefaultTypeInternal _ClientToPortalMessage_default_instance_;
65 class PortalToClientMessage;
66 class PortalToClientMessageDefaultTypeInternal;
67 extern PortalToClientMessageDefaultTypeInternal _PortalToClientMessage_default_instance_;
68 } // namespace protobuf
69 } // namespace jaiabot
70 namespace google {
71 namespace protobuf {
72 template<> ::jaiabot::protobuf::ClientToPortalMessage* Arena::CreateMaybeMessage<::jaiabot::protobuf::ClientToPortalMessage>(Arena*);
73 template<> ::jaiabot::protobuf::PortalToClientMessage* Arena::CreateMaybeMessage<::jaiabot::protobuf::PortalToClientMessage>(Arena*);
74 } // namespace protobuf
75 } // namespace google
76 namespace jaiabot {
77 namespace protobuf {
78 
79 // ===================================================================
80 
81 class ClientToPortalMessage : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.ClientToPortalMessage) */ {
82  public:
84  virtual ~ClientToPortalMessage();
85 
87 
89  CopyFrom(from);
90  return *this;
91  }
92  #if LANG_CXX11
95  *this = ::std::move(from);
96  }
97 
98  inline ClientToPortalMessage& operator=(ClientToPortalMessage&& from) noexcept {
99  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
100  if (this != &from) InternalSwap(&from);
101  } else {
102  CopyFrom(from);
103  }
104  return *this;
105  }
106  #endif
107  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
108  return _internal_metadata_.unknown_fields();
109  }
110  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
111  return _internal_metadata_.mutable_unknown_fields();
112  }
113 
114  static const ::google::protobuf::Descriptor* descriptor();
115  static const ClientToPortalMessage& default_instance();
116 
117  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
119  return reinterpret_cast<const ClientToPortalMessage*>(
121  }
122  static constexpr int kIndexInFileMessages =
123  0;
124 
125  void Swap(ClientToPortalMessage* other);
127  a.Swap(&b);
128  }
129 
130  // implements Message ----------------------------------------------
131 
132  inline ClientToPortalMessage* New() const final {
133  return CreateMaybeMessage<ClientToPortalMessage>(NULL);
134  }
135 
136  ClientToPortalMessage* New(::google::protobuf::Arena* arena) const final {
137  return CreateMaybeMessage<ClientToPortalMessage>(arena);
138  }
139  void CopyFrom(const ::google::protobuf::Message& from) final;
140  void MergeFrom(const ::google::protobuf::Message& from) final;
141  void CopyFrom(const ClientToPortalMessage& from);
142  void MergeFrom(const ClientToPortalMessage& from);
143  void Clear() final;
144  bool IsInitialized() const final;
145 
146  size_t ByteSizeLong() const final;
148  ::google::protobuf::io::CodedInputStream* input) final;
150  ::google::protobuf::io::CodedOutputStream* output) const final;
152  bool deterministic, ::google::protobuf::uint8* target) const final;
153  int GetCachedSize() const final { return _cached_size_.Get(); }
154 
155  private:
156  void SharedCtor();
157  void SharedDtor();
158  void SetCachedSize(int size) const final;
159  void InternalSwap(ClientToPortalMessage* other);
160  private:
161  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
162  return NULL;
163  }
164  inline void* MaybeArenaPtr() const {
165  return NULL;
166  }
167  public:
168 
169  ::google::protobuf::Metadata GetMetadata() const final;
170 
171  // nested types ----------------------------------------------------
172 
173  // accessors -------------------------------------------------------
174 
175  // optional string client_id = 5;
176  bool has_client_id() const;
177  void clear_client_id();
178  static const int kClientIdFieldNumber = 5;
179  const ::std::string& client_id() const;
180  void set_client_id(const ::std::string& value);
181  #if LANG_CXX11
182  void set_client_id(::std::string&& value);
183  #endif
184  void set_client_id(const char* value);
185  void set_client_id(const char* value, size_t size);
186  ::std::string* mutable_client_id();
187  ::std::string* release_client_id();
188  void set_allocated_client_id(::std::string* client_id);
189 
190  // optional .jaiabot.protobuf.Engineering engineering_command = 1;
191  bool has_engineering_command() const;
193  static const int kEngineeringCommandFieldNumber = 1;
194  private:
195  const ::jaiabot::protobuf::Engineering& _internal_engineering_command() const;
196  public:
197  const ::jaiabot::protobuf::Engineering& engineering_command() const;
201 
202  // optional .jaiabot.protobuf.Command command = 2;
203  bool has_command() const;
204  void clear_command();
205  static const int kCommandFieldNumber = 2;
206  private:
207  const ::jaiabot::protobuf::Command& _internal_command() const;
208  public:
209  const ::jaiabot::protobuf::Command& command() const;
213 
214  // optional .jaiabot.protobuf.CommandForHub command_for_hub = 3;
215  bool has_command_for_hub() const;
216  void clear_command_for_hub();
217  static const int kCommandForHubFieldNumber = 3;
218  private:
219  const ::jaiabot::protobuf::CommandForHub& _internal_command_for_hub() const;
220  public:
221  const ::jaiabot::protobuf::CommandForHub& command_for_hub() const;
225 
226  // optional bool ping = 4;
227  bool has_ping() const;
228  void clear_ping();
229  static const int kPingFieldNumber = 4;
230  bool ping() const;
231  void set_ping(bool value);
232 
233  // @@protoc_insertion_point(class_scope:jaiabot.protobuf.ClientToPortalMessage)
234  private:
235  void set_has_engineering_command();
236  void clear_has_engineering_command();
237  void set_has_command();
238  void clear_has_command();
239  void set_has_command_for_hub();
240  void clear_has_command_for_hub();
241  void set_has_ping();
242  void clear_has_ping();
243  void set_has_client_id();
244  void clear_has_client_id();
245 
246  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
247  ::google::protobuf::internal::HasBits<1> _has_bits_;
248  mutable ::google::protobuf::internal::CachedSize _cached_size_;
249  ::google::protobuf::internal::ArenaStringPtr client_id_;
250  ::jaiabot::protobuf::Engineering* engineering_command_;
252  ::jaiabot::protobuf::CommandForHub* command_for_hub_;
253  bool ping_;
254  friend struct ::protobuf_jaiabot_2fmessages_2fportal_2eproto::TableStruct;
255 };
256 // -------------------------------------------------------------------
257 
258 class PortalToClientMessage : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.PortalToClientMessage) */ {
259  public:
261  virtual ~PortalToClientMessage();
262 
264 
266  CopyFrom(from);
267  return *this;
268  }
269  #if LANG_CXX11
272  *this = ::std::move(from);
273  }
274 
275  inline PortalToClientMessage& operator=(PortalToClientMessage&& from) noexcept {
276  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
277  if (this != &from) InternalSwap(&from);
278  } else {
279  CopyFrom(from);
280  }
281  return *this;
282  }
283  #endif
284  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
285  return _internal_metadata_.unknown_fields();
286  }
287  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
288  return _internal_metadata_.mutable_unknown_fields();
289  }
290 
291  static const ::google::protobuf::Descriptor* descriptor();
292  static const PortalToClientMessage& default_instance();
293 
294  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
296  return reinterpret_cast<const PortalToClientMessage*>(
298  }
299  static constexpr int kIndexInFileMessages =
300  1;
301 
302  void Swap(PortalToClientMessage* other);
304  a.Swap(&b);
305  }
306 
307  // implements Message ----------------------------------------------
308 
309  inline PortalToClientMessage* New() const final {
310  return CreateMaybeMessage<PortalToClientMessage>(NULL);
311  }
312 
313  PortalToClientMessage* New(::google::protobuf::Arena* arena) const final {
314  return CreateMaybeMessage<PortalToClientMessage>(arena);
315  }
316  void CopyFrom(const ::google::protobuf::Message& from) final;
317  void MergeFrom(const ::google::protobuf::Message& from) final;
318  void CopyFrom(const PortalToClientMessage& from);
319  void MergeFrom(const PortalToClientMessage& from);
320  void Clear() final;
321  bool IsInitialized() const final;
322 
323  size_t ByteSizeLong() const final;
325  ::google::protobuf::io::CodedInputStream* input) final;
327  ::google::protobuf::io::CodedOutputStream* output) const final;
329  bool deterministic, ::google::protobuf::uint8* target) const final;
330  int GetCachedSize() const final { return _cached_size_.Get(); }
331 
332  private:
333  void SharedCtor();
334  void SharedDtor();
335  void SetCachedSize(int size) const final;
336  void InternalSwap(PortalToClientMessage* other);
337  private:
338  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
339  return NULL;
340  }
341  inline void* MaybeArenaPtr() const {
342  return NULL;
343  }
344  public:
345 
346  ::google::protobuf::Metadata GetMetadata() const final;
347 
348  // nested types ----------------------------------------------------
349 
350  // accessors -------------------------------------------------------
351 
352  // optional .jaiabot.protobuf.BotStatus bot_status = 1;
353  bool has_bot_status() const;
354  void clear_bot_status();
355  static const int kBotStatusFieldNumber = 1;
356  private:
357  const ::jaiabot::protobuf::BotStatus& _internal_bot_status() const;
358  public:
359  const ::jaiabot::protobuf::BotStatus& bot_status() const;
360  ::jaiabot::protobuf::BotStatus* release_bot_status();
361  ::jaiabot::protobuf::BotStatus* mutable_bot_status();
363 
364  // optional .jaiabot.protobuf.Engineering engineering_status = 2;
365  bool has_engineering_status() const;
367  static const int kEngineeringStatusFieldNumber = 2;
368  private:
369  const ::jaiabot::protobuf::Engineering& _internal_engineering_status() const;
370  public:
371  const ::jaiabot::protobuf::Engineering& engineering_status() const;
375 
376  // optional .jaiabot.protobuf.HubStatus hub_status = 3;
377  bool has_hub_status() const;
378  void clear_hub_status();
379  static const int kHubStatusFieldNumber = 3;
380  private:
381  const ::jaiabot::protobuf::HubStatus& _internal_hub_status() const;
382  public:
383  const ::jaiabot::protobuf::HubStatus& hub_status() const;
384  ::jaiabot::protobuf::HubStatus* release_hub_status();
385  ::jaiabot::protobuf::HubStatus* mutable_hub_status();
387 
388  // optional .jaiabot.protobuf.TaskPacket task_packet = 4;
389  bool has_task_packet() const;
390  void clear_task_packet();
391  static const int kTaskPacketFieldNumber = 4;
392  private:
393  const ::jaiabot::protobuf::TaskPacket& _internal_task_packet() const;
394  public:
395  const ::jaiabot::protobuf::TaskPacket& task_packet() const;
396  ::jaiabot::protobuf::TaskPacket* release_task_packet();
397  ::jaiabot::protobuf::TaskPacket* mutable_task_packet();
399 
400  // optional .jaiabot.protobuf.DeviceMetadata device_metadata = 5;
401  bool has_device_metadata() const;
402  void clear_device_metadata();
403  static const int kDeviceMetadataFieldNumber = 5;
404  private:
405  const ::jaiabot::protobuf::DeviceMetadata& _internal_device_metadata() const;
406  public:
407  const ::jaiabot::protobuf::DeviceMetadata& device_metadata() const;
411 
412  // optional .jaiabot.protobuf.MissionPlan active_mission_plan = 6;
413  bool has_active_mission_plan() const;
415  static const int kActiveMissionPlanFieldNumber = 6;
416  private:
417  const ::jaiabot::protobuf::MissionPlan& _internal_active_mission_plan() const;
418  public:
419  const ::jaiabot::protobuf::MissionPlan& active_mission_plan() const;
423 
424  // optional .jaiabot.protobuf.ContactUpdate contact_update = 7;
425  bool has_contact_update() const;
426  void clear_contact_update();
427  static const int kContactUpdateFieldNumber = 7;
428  private:
429  const ::jaiabot::protobuf::ContactUpdate& _internal_contact_update() const;
430  public:
431  const ::jaiabot::protobuf::ContactUpdate& contact_update() const;
435 
436  // @@protoc_insertion_point(class_scope:jaiabot.protobuf.PortalToClientMessage)
437  private:
438  void set_has_bot_status();
439  void clear_has_bot_status();
440  void set_has_engineering_status();
441  void clear_has_engineering_status();
442  void set_has_hub_status();
443  void clear_has_hub_status();
444  void set_has_task_packet();
445  void clear_has_task_packet();
446  void set_has_device_metadata();
447  void clear_has_device_metadata();
448  void set_has_active_mission_plan();
449  void clear_has_active_mission_plan();
450  void set_has_contact_update();
451  void clear_has_contact_update();
452 
453  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
454  ::google::protobuf::internal::HasBits<1> _has_bits_;
455  mutable ::google::protobuf::internal::CachedSize _cached_size_;
456  ::jaiabot::protobuf::BotStatus* bot_status_;
457  ::jaiabot::protobuf::Engineering* engineering_status_;
458  ::jaiabot::protobuf::HubStatus* hub_status_;
459  ::jaiabot::protobuf::TaskPacket* task_packet_;
460  ::jaiabot::protobuf::DeviceMetadata* device_metadata_;
461  ::jaiabot::protobuf::MissionPlan* active_mission_plan_;
462  ::jaiabot::protobuf::ContactUpdate* contact_update_;
463  friend struct ::protobuf_jaiabot_2fmessages_2fportal_2eproto::TableStruct;
464 };
465 // ===================================================================
466 
467 
468 // ===================================================================
469 
470 #ifdef __GNUC__
471  #pragma GCC diagnostic push
472  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
473 #endif // __GNUC__
474 // ClientToPortalMessage
475 
476 // optional .jaiabot.protobuf.Engineering engineering_command = 1;
478  return (_has_bits_[0] & 0x00000002u) != 0;
479 }
480 inline void ClientToPortalMessage::set_has_engineering_command() {
481  _has_bits_[0] |= 0x00000002u;
482 }
483 inline void ClientToPortalMessage::clear_has_engineering_command() {
484  _has_bits_[0] &= ~0x00000002u;
485 }
486 inline const ::jaiabot::protobuf::Engineering& ClientToPortalMessage::_internal_engineering_command() const {
487  return *engineering_command_;
488 }
489 inline const ::jaiabot::protobuf::Engineering& ClientToPortalMessage::engineering_command() const {
490  const ::jaiabot::protobuf::Engineering* p = engineering_command_;
491  // @@protoc_insertion_point(field_get:jaiabot.protobuf.ClientToPortalMessage.engineering_command)
492  return p != NULL ? *p : *reinterpret_cast<const ::jaiabot::protobuf::Engineering*>(
494 }
495 inline ::jaiabot::protobuf::Engineering* ClientToPortalMessage::release_engineering_command() {
496  // @@protoc_insertion_point(field_release:jaiabot.protobuf.ClientToPortalMessage.engineering_command)
497  clear_has_engineering_command();
498  ::jaiabot::protobuf::Engineering* temp = engineering_command_;
499  engineering_command_ = NULL;
500  return temp;
501 }
502 inline ::jaiabot::protobuf::Engineering* ClientToPortalMessage::mutable_engineering_command() {
503  set_has_engineering_command();
504  if (engineering_command_ == NULL) {
505  auto* p = CreateMaybeMessage<::jaiabot::protobuf::Engineering>(GetArenaNoVirtual());
506  engineering_command_ = p;
507  }
508  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.ClientToPortalMessage.engineering_command)
509  return engineering_command_;
510 }
512  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
513  if (message_arena == NULL) {
514  delete reinterpret_cast< ::google::protobuf::MessageLite*>(engineering_command_);
515  }
516  if (engineering_command) {
517  ::google::protobuf::Arena* submessage_arena = NULL;
518  if (message_arena != submessage_arena) {
519  engineering_command = ::google::protobuf::internal::GetOwnedMessage(
520  message_arena, engineering_command, submessage_arena);
521  }
522  set_has_engineering_command();
523  } else {
524  clear_has_engineering_command();
525  }
526  engineering_command_ = engineering_command;
527  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.ClientToPortalMessage.engineering_command)
528 }
529 
530 // optional .jaiabot.protobuf.Command command = 2;
532  return (_has_bits_[0] & 0x00000004u) != 0;
533 }
534 inline void ClientToPortalMessage::set_has_command() {
535  _has_bits_[0] |= 0x00000004u;
536 }
537 inline void ClientToPortalMessage::clear_has_command() {
538  _has_bits_[0] &= ~0x00000004u;
539 }
540 inline const ::jaiabot::protobuf::Command& ClientToPortalMessage::_internal_command() const {
541  return *command_;
542 }
543 inline const ::jaiabot::protobuf::Command& ClientToPortalMessage::command() const {
544  const ::jaiabot::protobuf::Command* p = command_;
545  // @@protoc_insertion_point(field_get:jaiabot.protobuf.ClientToPortalMessage.command)
546  return p != NULL ? *p : *reinterpret_cast<const ::jaiabot::protobuf::Command*>(
548 }
549 inline ::jaiabot::protobuf::Command* ClientToPortalMessage::release_command() {
550  // @@protoc_insertion_point(field_release:jaiabot.protobuf.ClientToPortalMessage.command)
551  clear_has_command();
552  ::jaiabot::protobuf::Command* temp = command_;
553  command_ = NULL;
554  return temp;
555 }
556 inline ::jaiabot::protobuf::Command* ClientToPortalMessage::mutable_command() {
557  set_has_command();
558  if (command_ == NULL) {
559  auto* p = CreateMaybeMessage<::jaiabot::protobuf::Command>(GetArenaNoVirtual());
560  command_ = p;
561  }
562  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.ClientToPortalMessage.command)
563  return command_;
564 }
566  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
567  if (message_arena == NULL) {
568  delete reinterpret_cast< ::google::protobuf::MessageLite*>(command_);
569  }
570  if (command) {
571  ::google::protobuf::Arena* submessage_arena = NULL;
572  if (message_arena != submessage_arena) {
573  command = ::google::protobuf::internal::GetOwnedMessage(
574  message_arena, command, submessage_arena);
575  }
576  set_has_command();
577  } else {
578  clear_has_command();
579  }
580  command_ = command;
581  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.ClientToPortalMessage.command)
582 }
583 
584 // optional .jaiabot.protobuf.CommandForHub command_for_hub = 3;
586  return (_has_bits_[0] & 0x00000008u) != 0;
587 }
588 inline void ClientToPortalMessage::set_has_command_for_hub() {
589  _has_bits_[0] |= 0x00000008u;
590 }
591 inline void ClientToPortalMessage::clear_has_command_for_hub() {
592  _has_bits_[0] &= ~0x00000008u;
593 }
594 inline const ::jaiabot::protobuf::CommandForHub& ClientToPortalMessage::_internal_command_for_hub() const {
595  return *command_for_hub_;
596 }
597 inline const ::jaiabot::protobuf::CommandForHub& ClientToPortalMessage::command_for_hub() const {
598  const ::jaiabot::protobuf::CommandForHub* p = command_for_hub_;
599  // @@protoc_insertion_point(field_get:jaiabot.protobuf.ClientToPortalMessage.command_for_hub)
600  return p != NULL ? *p : *reinterpret_cast<const ::jaiabot::protobuf::CommandForHub*>(
602 }
603 inline ::jaiabot::protobuf::CommandForHub* ClientToPortalMessage::release_command_for_hub() {
604  // @@protoc_insertion_point(field_release:jaiabot.protobuf.ClientToPortalMessage.command_for_hub)
605  clear_has_command_for_hub();
606  ::jaiabot::protobuf::CommandForHub* temp = command_for_hub_;
607  command_for_hub_ = NULL;
608  return temp;
609 }
610 inline ::jaiabot::protobuf::CommandForHub* ClientToPortalMessage::mutable_command_for_hub() {
611  set_has_command_for_hub();
612  if (command_for_hub_ == NULL) {
613  auto* p = CreateMaybeMessage<::jaiabot::protobuf::CommandForHub>(GetArenaNoVirtual());
614  command_for_hub_ = p;
615  }
616  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.ClientToPortalMessage.command_for_hub)
617  return command_for_hub_;
618 }
620  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
621  if (message_arena == NULL) {
622  delete reinterpret_cast< ::google::protobuf::MessageLite*>(command_for_hub_);
623  }
624  if (command_for_hub) {
625  ::google::protobuf::Arena* submessage_arena = NULL;
626  if (message_arena != submessage_arena) {
627  command_for_hub = ::google::protobuf::internal::GetOwnedMessage(
628  message_arena, command_for_hub, submessage_arena);
629  }
630  set_has_command_for_hub();
631  } else {
632  clear_has_command_for_hub();
633  }
634  command_for_hub_ = command_for_hub;
635  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.ClientToPortalMessage.command_for_hub)
636 }
637 
638 // optional bool ping = 4;
639 inline bool ClientToPortalMessage::has_ping() const {
640  return (_has_bits_[0] & 0x00000010u) != 0;
641 }
642 inline void ClientToPortalMessage::set_has_ping() {
643  _has_bits_[0] |= 0x00000010u;
644 }
645 inline void ClientToPortalMessage::clear_has_ping() {
646  _has_bits_[0] &= ~0x00000010u;
647 }
649  ping_ = false;
650  clear_has_ping();
651 }
652 inline bool ClientToPortalMessage::ping() const {
653  // @@protoc_insertion_point(field_get:jaiabot.protobuf.ClientToPortalMessage.ping)
654  return ping_;
655 }
656 inline void ClientToPortalMessage::set_ping(bool value) {
657  set_has_ping();
658  ping_ = value;
659  // @@protoc_insertion_point(field_set:jaiabot.protobuf.ClientToPortalMessage.ping)
660 }
661 
662 // optional string client_id = 5;
664  return (_has_bits_[0] & 0x00000001u) != 0;
665 }
666 inline void ClientToPortalMessage::set_has_client_id() {
667  _has_bits_[0] |= 0x00000001u;
668 }
669 inline void ClientToPortalMessage::clear_has_client_id() {
670  _has_bits_[0] &= ~0x00000001u;
671 }
673  client_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
674  clear_has_client_id();
675 }
676 inline const ::std::string& ClientToPortalMessage::client_id() const {
677  // @@protoc_insertion_point(field_get:jaiabot.protobuf.ClientToPortalMessage.client_id)
678  return client_id_.GetNoArena();
679 }
680 inline void ClientToPortalMessage::set_client_id(const ::std::string& value) {
681  set_has_client_id();
682  client_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
683  // @@protoc_insertion_point(field_set:jaiabot.protobuf.ClientToPortalMessage.client_id)
684 }
685 #if LANG_CXX11
686 inline void ClientToPortalMessage::set_client_id(::std::string&& value) {
687  set_has_client_id();
688  client_id_.SetNoArena(
689  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
690  // @@protoc_insertion_point(field_set_rvalue:jaiabot.protobuf.ClientToPortalMessage.client_id)
691 }
692 #endif
693 inline void ClientToPortalMessage::set_client_id(const char* value) {
694  GOOGLE_DCHECK(value != NULL);
695  set_has_client_id();
696  client_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
697  // @@protoc_insertion_point(field_set_char:jaiabot.protobuf.ClientToPortalMessage.client_id)
698 }
699 inline void ClientToPortalMessage::set_client_id(const char* value, size_t size) {
700  set_has_client_id();
701  client_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
702  ::std::string(reinterpret_cast<const char*>(value), size));
703  // @@protoc_insertion_point(field_set_pointer:jaiabot.protobuf.ClientToPortalMessage.client_id)
704 }
706  set_has_client_id();
707  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.ClientToPortalMessage.client_id)
708  return client_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
709 }
711  // @@protoc_insertion_point(field_release:jaiabot.protobuf.ClientToPortalMessage.client_id)
712  if (!has_client_id()) {
713  return NULL;
714  }
715  clear_has_client_id();
716  return client_id_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
717 }
718 inline void ClientToPortalMessage::set_allocated_client_id(::std::string* client_id) {
719  if (client_id != NULL) {
720  set_has_client_id();
721  } else {
722  clear_has_client_id();
723  }
724  client_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), client_id);
725  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.ClientToPortalMessage.client_id)
726 }
727 
728 // -------------------------------------------------------------------
729 
730 // PortalToClientMessage
731 
732 // optional .jaiabot.protobuf.BotStatus bot_status = 1;
734  return (_has_bits_[0] & 0x00000001u) != 0;
735 }
736 inline void PortalToClientMessage::set_has_bot_status() {
737  _has_bits_[0] |= 0x00000001u;
738 }
739 inline void PortalToClientMessage::clear_has_bot_status() {
740  _has_bits_[0] &= ~0x00000001u;
741 }
742 inline const ::jaiabot::protobuf::BotStatus& PortalToClientMessage::_internal_bot_status() const {
743  return *bot_status_;
744 }
745 inline const ::jaiabot::protobuf::BotStatus& PortalToClientMessage::bot_status() const {
746  const ::jaiabot::protobuf::BotStatus* p = bot_status_;
747  // @@protoc_insertion_point(field_get:jaiabot.protobuf.PortalToClientMessage.bot_status)
748  return p != NULL ? *p : *reinterpret_cast<const ::jaiabot::protobuf::BotStatus*>(
750 }
751 inline ::jaiabot::protobuf::BotStatus* PortalToClientMessage::release_bot_status() {
752  // @@protoc_insertion_point(field_release:jaiabot.protobuf.PortalToClientMessage.bot_status)
753  clear_has_bot_status();
754  ::jaiabot::protobuf::BotStatus* temp = bot_status_;
755  bot_status_ = NULL;
756  return temp;
757 }
758 inline ::jaiabot::protobuf::BotStatus* PortalToClientMessage::mutable_bot_status() {
759  set_has_bot_status();
760  if (bot_status_ == NULL) {
761  auto* p = CreateMaybeMessage<::jaiabot::protobuf::BotStatus>(GetArenaNoVirtual());
762  bot_status_ = p;
763  }
764  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.PortalToClientMessage.bot_status)
765  return bot_status_;
766 }
768  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
769  if (message_arena == NULL) {
770  delete reinterpret_cast< ::google::protobuf::MessageLite*>(bot_status_);
771  }
772  if (bot_status) {
773  ::google::protobuf::Arena* submessage_arena = NULL;
774  if (message_arena != submessage_arena) {
775  bot_status = ::google::protobuf::internal::GetOwnedMessage(
776  message_arena, bot_status, submessage_arena);
777  }
778  set_has_bot_status();
779  } else {
780  clear_has_bot_status();
781  }
782  bot_status_ = bot_status;
783  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.PortalToClientMessage.bot_status)
784 }
785 
786 // optional .jaiabot.protobuf.Engineering engineering_status = 2;
788  return (_has_bits_[0] & 0x00000002u) != 0;
789 }
790 inline void PortalToClientMessage::set_has_engineering_status() {
791  _has_bits_[0] |= 0x00000002u;
792 }
793 inline void PortalToClientMessage::clear_has_engineering_status() {
794  _has_bits_[0] &= ~0x00000002u;
795 }
796 inline const ::jaiabot::protobuf::Engineering& PortalToClientMessage::_internal_engineering_status() const {
797  return *engineering_status_;
798 }
799 inline const ::jaiabot::protobuf::Engineering& PortalToClientMessage::engineering_status() const {
800  const ::jaiabot::protobuf::Engineering* p = engineering_status_;
801  // @@protoc_insertion_point(field_get:jaiabot.protobuf.PortalToClientMessage.engineering_status)
802  return p != NULL ? *p : *reinterpret_cast<const ::jaiabot::protobuf::Engineering*>(
804 }
805 inline ::jaiabot::protobuf::Engineering* PortalToClientMessage::release_engineering_status() {
806  // @@protoc_insertion_point(field_release:jaiabot.protobuf.PortalToClientMessage.engineering_status)
807  clear_has_engineering_status();
808  ::jaiabot::protobuf::Engineering* temp = engineering_status_;
809  engineering_status_ = NULL;
810  return temp;
811 }
812 inline ::jaiabot::protobuf::Engineering* PortalToClientMessage::mutable_engineering_status() {
813  set_has_engineering_status();
814  if (engineering_status_ == NULL) {
815  auto* p = CreateMaybeMessage<::jaiabot::protobuf::Engineering>(GetArenaNoVirtual());
816  engineering_status_ = p;
817  }
818  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.PortalToClientMessage.engineering_status)
819  return engineering_status_;
820 }
822  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
823  if (message_arena == NULL) {
824  delete reinterpret_cast< ::google::protobuf::MessageLite*>(engineering_status_);
825  }
826  if (engineering_status) {
827  ::google::protobuf::Arena* submessage_arena = NULL;
828  if (message_arena != submessage_arena) {
829  engineering_status = ::google::protobuf::internal::GetOwnedMessage(
830  message_arena, engineering_status, submessage_arena);
831  }
832  set_has_engineering_status();
833  } else {
834  clear_has_engineering_status();
835  }
836  engineering_status_ = engineering_status;
837  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.PortalToClientMessage.engineering_status)
838 }
839 
840 // optional .jaiabot.protobuf.HubStatus hub_status = 3;
842  return (_has_bits_[0] & 0x00000004u) != 0;
843 }
844 inline void PortalToClientMessage::set_has_hub_status() {
845  _has_bits_[0] |= 0x00000004u;
846 }
847 inline void PortalToClientMessage::clear_has_hub_status() {
848  _has_bits_[0] &= ~0x00000004u;
849 }
850 inline const ::jaiabot::protobuf::HubStatus& PortalToClientMessage::_internal_hub_status() const {
851  return *hub_status_;
852 }
853 inline const ::jaiabot::protobuf::HubStatus& PortalToClientMessage::hub_status() const {
854  const ::jaiabot::protobuf::HubStatus* p = hub_status_;
855  // @@protoc_insertion_point(field_get:jaiabot.protobuf.PortalToClientMessage.hub_status)
856  return p != NULL ? *p : *reinterpret_cast<const ::jaiabot::protobuf::HubStatus*>(
858 }
859 inline ::jaiabot::protobuf::HubStatus* PortalToClientMessage::release_hub_status() {
860  // @@protoc_insertion_point(field_release:jaiabot.protobuf.PortalToClientMessage.hub_status)
861  clear_has_hub_status();
862  ::jaiabot::protobuf::HubStatus* temp = hub_status_;
863  hub_status_ = NULL;
864  return temp;
865 }
866 inline ::jaiabot::protobuf::HubStatus* PortalToClientMessage::mutable_hub_status() {
867  set_has_hub_status();
868  if (hub_status_ == NULL) {
869  auto* p = CreateMaybeMessage<::jaiabot::protobuf::HubStatus>(GetArenaNoVirtual());
870  hub_status_ = p;
871  }
872  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.PortalToClientMessage.hub_status)
873  return hub_status_;
874 }
876  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
877  if (message_arena == NULL) {
878  delete reinterpret_cast< ::google::protobuf::MessageLite*>(hub_status_);
879  }
880  if (hub_status) {
881  ::google::protobuf::Arena* submessage_arena = NULL;
882  if (message_arena != submessage_arena) {
883  hub_status = ::google::protobuf::internal::GetOwnedMessage(
884  message_arena, hub_status, submessage_arena);
885  }
886  set_has_hub_status();
887  } else {
888  clear_has_hub_status();
889  }
890  hub_status_ = hub_status;
891  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.PortalToClientMessage.hub_status)
892 }
893 
894 // optional .jaiabot.protobuf.TaskPacket task_packet = 4;
896  return (_has_bits_[0] & 0x00000008u) != 0;
897 }
898 inline void PortalToClientMessage::set_has_task_packet() {
899  _has_bits_[0] |= 0x00000008u;
900 }
901 inline void PortalToClientMessage::clear_has_task_packet() {
902  _has_bits_[0] &= ~0x00000008u;
903 }
904 inline const ::jaiabot::protobuf::TaskPacket& PortalToClientMessage::_internal_task_packet() const {
905  return *task_packet_;
906 }
907 inline const ::jaiabot::protobuf::TaskPacket& PortalToClientMessage::task_packet() const {
908  const ::jaiabot::protobuf::TaskPacket* p = task_packet_;
909  // @@protoc_insertion_point(field_get:jaiabot.protobuf.PortalToClientMessage.task_packet)
910  return p != NULL ? *p : *reinterpret_cast<const ::jaiabot::protobuf::TaskPacket*>(
912 }
913 inline ::jaiabot::protobuf::TaskPacket* PortalToClientMessage::release_task_packet() {
914  // @@protoc_insertion_point(field_release:jaiabot.protobuf.PortalToClientMessage.task_packet)
915  clear_has_task_packet();
916  ::jaiabot::protobuf::TaskPacket* temp = task_packet_;
917  task_packet_ = NULL;
918  return temp;
919 }
920 inline ::jaiabot::protobuf::TaskPacket* PortalToClientMessage::mutable_task_packet() {
921  set_has_task_packet();
922  if (task_packet_ == NULL) {
923  auto* p = CreateMaybeMessage<::jaiabot::protobuf::TaskPacket>(GetArenaNoVirtual());
924  task_packet_ = p;
925  }
926  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.PortalToClientMessage.task_packet)
927  return task_packet_;
928 }
930  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
931  if (message_arena == NULL) {
932  delete reinterpret_cast< ::google::protobuf::MessageLite*>(task_packet_);
933  }
934  if (task_packet) {
935  ::google::protobuf::Arena* submessage_arena = NULL;
936  if (message_arena != submessage_arena) {
937  task_packet = ::google::protobuf::internal::GetOwnedMessage(
938  message_arena, task_packet, submessage_arena);
939  }
940  set_has_task_packet();
941  } else {
942  clear_has_task_packet();
943  }
944  task_packet_ = task_packet;
945  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.PortalToClientMessage.task_packet)
946 }
947 
948 // optional .jaiabot.protobuf.DeviceMetadata device_metadata = 5;
950  return (_has_bits_[0] & 0x00000010u) != 0;
951 }
952 inline void PortalToClientMessage::set_has_device_metadata() {
953  _has_bits_[0] |= 0x00000010u;
954 }
955 inline void PortalToClientMessage::clear_has_device_metadata() {
956  _has_bits_[0] &= ~0x00000010u;
957 }
958 inline const ::jaiabot::protobuf::DeviceMetadata& PortalToClientMessage::_internal_device_metadata() const {
959  return *device_metadata_;
960 }
961 inline const ::jaiabot::protobuf::DeviceMetadata& PortalToClientMessage::device_metadata() const {
962  const ::jaiabot::protobuf::DeviceMetadata* p = device_metadata_;
963  // @@protoc_insertion_point(field_get:jaiabot.protobuf.PortalToClientMessage.device_metadata)
964  return p != NULL ? *p : *reinterpret_cast<const ::jaiabot::protobuf::DeviceMetadata*>(
966 }
967 inline ::jaiabot::protobuf::DeviceMetadata* PortalToClientMessage::release_device_metadata() {
968  // @@protoc_insertion_point(field_release:jaiabot.protobuf.PortalToClientMessage.device_metadata)
969  clear_has_device_metadata();
970  ::jaiabot::protobuf::DeviceMetadata* temp = device_metadata_;
971  device_metadata_ = NULL;
972  return temp;
973 }
974 inline ::jaiabot::protobuf::DeviceMetadata* PortalToClientMessage::mutable_device_metadata() {
975  set_has_device_metadata();
976  if (device_metadata_ == NULL) {
977  auto* p = CreateMaybeMessage<::jaiabot::protobuf::DeviceMetadata>(GetArenaNoVirtual());
978  device_metadata_ = p;
979  }
980  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.PortalToClientMessage.device_metadata)
981  return device_metadata_;
982 }
984  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
985  if (message_arena == NULL) {
986  delete reinterpret_cast< ::google::protobuf::MessageLite*>(device_metadata_);
987  }
988  if (device_metadata) {
989  ::google::protobuf::Arena* submessage_arena = NULL;
990  if (message_arena != submessage_arena) {
991  device_metadata = ::google::protobuf::internal::GetOwnedMessage(
992  message_arena, device_metadata, submessage_arena);
993  }
994  set_has_device_metadata();
995  } else {
996  clear_has_device_metadata();
997  }
998  device_metadata_ = device_metadata;
999  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.PortalToClientMessage.device_metadata)
1000 }
1001 
1002 // optional .jaiabot.protobuf.MissionPlan active_mission_plan = 6;
1004  return (_has_bits_[0] & 0x00000020u) != 0;
1005 }
1006 inline void PortalToClientMessage::set_has_active_mission_plan() {
1007  _has_bits_[0] |= 0x00000020u;
1008 }
1009 inline void PortalToClientMessage::clear_has_active_mission_plan() {
1010  _has_bits_[0] &= ~0x00000020u;
1011 }
1012 inline const ::jaiabot::protobuf::MissionPlan& PortalToClientMessage::_internal_active_mission_plan() const {
1013  return *active_mission_plan_;
1014 }
1015 inline const ::jaiabot::protobuf::MissionPlan& PortalToClientMessage::active_mission_plan() const {
1016  const ::jaiabot::protobuf::MissionPlan* p = active_mission_plan_;
1017  // @@protoc_insertion_point(field_get:jaiabot.protobuf.PortalToClientMessage.active_mission_plan)
1018  return p != NULL ? *p : *reinterpret_cast<const ::jaiabot::protobuf::MissionPlan*>(
1020 }
1021 inline ::jaiabot::protobuf::MissionPlan* PortalToClientMessage::release_active_mission_plan() {
1022  // @@protoc_insertion_point(field_release:jaiabot.protobuf.PortalToClientMessage.active_mission_plan)
1023  clear_has_active_mission_plan();
1024  ::jaiabot::protobuf::MissionPlan* temp = active_mission_plan_;
1025  active_mission_plan_ = NULL;
1026  return temp;
1027 }
1028 inline ::jaiabot::protobuf::MissionPlan* PortalToClientMessage::mutable_active_mission_plan() {
1029  set_has_active_mission_plan();
1030  if (active_mission_plan_ == NULL) {
1031  auto* p = CreateMaybeMessage<::jaiabot::protobuf::MissionPlan>(GetArenaNoVirtual());
1032  active_mission_plan_ = p;
1033  }
1034  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.PortalToClientMessage.active_mission_plan)
1035  return active_mission_plan_;
1036 }
1038  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1039  if (message_arena == NULL) {
1040  delete reinterpret_cast< ::google::protobuf::MessageLite*>(active_mission_plan_);
1041  }
1042  if (active_mission_plan) {
1043  ::google::protobuf::Arena* submessage_arena = NULL;
1044  if (message_arena != submessage_arena) {
1045  active_mission_plan = ::google::protobuf::internal::GetOwnedMessage(
1046  message_arena, active_mission_plan, submessage_arena);
1047  }
1048  set_has_active_mission_plan();
1049  } else {
1050  clear_has_active_mission_plan();
1051  }
1052  active_mission_plan_ = active_mission_plan;
1053  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.PortalToClientMessage.active_mission_plan)
1054 }
1055 
1056 // optional .jaiabot.protobuf.ContactUpdate contact_update = 7;
1058  return (_has_bits_[0] & 0x00000040u) != 0;
1059 }
1060 inline void PortalToClientMessage::set_has_contact_update() {
1061  _has_bits_[0] |= 0x00000040u;
1062 }
1063 inline void PortalToClientMessage::clear_has_contact_update() {
1064  _has_bits_[0] &= ~0x00000040u;
1065 }
1066 inline const ::jaiabot::protobuf::ContactUpdate& PortalToClientMessage::_internal_contact_update() const {
1067  return *contact_update_;
1068 }
1069 inline const ::jaiabot::protobuf::ContactUpdate& PortalToClientMessage::contact_update() const {
1070  const ::jaiabot::protobuf::ContactUpdate* p = contact_update_;
1071  // @@protoc_insertion_point(field_get:jaiabot.protobuf.PortalToClientMessage.contact_update)
1072  return p != NULL ? *p : *reinterpret_cast<const ::jaiabot::protobuf::ContactUpdate*>(
1074 }
1075 inline ::jaiabot::protobuf::ContactUpdate* PortalToClientMessage::release_contact_update() {
1076  // @@protoc_insertion_point(field_release:jaiabot.protobuf.PortalToClientMessage.contact_update)
1077  clear_has_contact_update();
1078  ::jaiabot::protobuf::ContactUpdate* temp = contact_update_;
1079  contact_update_ = NULL;
1080  return temp;
1081 }
1082 inline ::jaiabot::protobuf::ContactUpdate* PortalToClientMessage::mutable_contact_update() {
1083  set_has_contact_update();
1084  if (contact_update_ == NULL) {
1085  auto* p = CreateMaybeMessage<::jaiabot::protobuf::ContactUpdate>(GetArenaNoVirtual());
1086  contact_update_ = p;
1087  }
1088  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.PortalToClientMessage.contact_update)
1089  return contact_update_;
1090 }
1092  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1093  if (message_arena == NULL) {
1094  delete reinterpret_cast< ::google::protobuf::MessageLite*>(contact_update_);
1095  }
1096  if (contact_update) {
1097  ::google::protobuf::Arena* submessage_arena = NULL;
1098  if (message_arena != submessage_arena) {
1099  contact_update = ::google::protobuf::internal::GetOwnedMessage(
1100  message_arena, contact_update, submessage_arena);
1101  }
1102  set_has_contact_update();
1103  } else {
1104  clear_has_contact_update();
1105  }
1106  contact_update_ = contact_update;
1107  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.PortalToClientMessage.contact_update)
1108 }
1109 
1110 #ifdef __GNUC__
1111  #pragma GCC diagnostic pop
1112 #endif // __GNUC__
1113 // -------------------------------------------------------------------
1114 
1115 
1116 // @@protoc_insertion_point(namespace_scope)
1117 
1118 } // namespace protobuf
1119 } // namespace jaiabot
1120 
1121 // @@protoc_insertion_point(global_scope)
1122 
1123 #endif // PROTOBUF_INCLUDED_jaiabot_2fmessages_2fportal_2eproto
jaiabot::protobuf::TaskPacket
Definition: jaia_dccl.pb.h:2454
jaiabot::protobuf::ClientToPortalMessage::InternalSerializeWithCachedSizesToArray
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic, ::google::protobuf::uint8 *target) const final
jaiabot::protobuf::PortalToClientMessage::kBotStatusFieldNumber
static const int kBotStatusFieldNumber
Definition: portal.pb.h:355
jaiabot::protobuf::ClientToPortalMessage::GetCachedSize
int GetCachedSize() const final
Definition: portal.pb.h:153
jaiabot::protobuf::ClientToPortalMessage::Clear
void Clear() final
jaiabot::protobuf::ClientToPortalMessage::swap
friend void swap(ClientToPortalMessage &a, ClientToPortalMessage &b)
Definition: portal.pb.h:126
jaiabot::protobuf::ClientToPortalMessage::mutable_engineering_command
::jaiabot::protobuf::Engineering * mutable_engineering_command()
Definition: portal.pb.h:502
jaiabot::protobuf::PortalToClientMessage::clear_device_metadata
void clear_device_metadata()
jaiabot::protobuf::PortalToClientMessage::mutable_task_packet
::jaiabot::protobuf::TaskPacket * mutable_task_packet()
Definition: portal.pb.h:920
jaiabot::protobuf::PortalToClientMessage::kIndexInFileMessages
static constexpr int kIndexInFileMessages
Definition: portal.pb.h:299
jaiabot::protobuf::PortalToClientMessage::has_engineering_status
bool has_engineering_status() const
Definition: portal.pb.h:787
jaiabot::protobuf::ClientToPortalMessage::~ClientToPortalMessage
virtual ~ClientToPortalMessage()
jaiabot::protobuf::ClientToPortalMessage::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: portal.pb.h:107
jaiabot::protobuf::PortalToClientMessage::MergeFrom
void MergeFrom(const ::google::protobuf::Message &from) final
jaiabot::protobuf::ClientToPortalMessage::release_command_for_hub
::jaiabot::protobuf::CommandForHub * release_command_for_hub()
Definition: portal.pb.h:603
jaiabot::protobuf::ClientToPortalMessage::New
ClientToPortalMessage * New() const final
Definition: portal.pb.h:132
jaiabot::protobuf::ClientToPortalMessage::kClientIdFieldNumber
static const int kClientIdFieldNumber
Definition: portal.pb.h:178
jaiabot::protobuf::PortalToClientMessage::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: portal.pb.h:287
jaiabot::protobuf::PortalToClientMessage::device_metadata
const ::jaiabot::protobuf::DeviceMetadata & device_metadata() const
Definition: portal.pb.h:961
jaiabot::protobuf::PortalToClientMessage::kDeviceMetadataFieldNumber
static const int kDeviceMetadataFieldNumber
Definition: portal.pb.h:403
jaiabot::protobuf::_PortalToClientMessage_default_instance_
PortalToClientMessageDefaultTypeInternal _PortalToClientMessage_default_instance_
jaiabot::protobuf::PortalToClientMessage::ByteSizeLong
size_t ByteSizeLong() const final
jaiabot::protobuf::ClientToPortalMessage::kPingFieldNumber
static const int kPingFieldNumber
Definition: portal.pb.h:229
jaiabot::protobuf::PortalToClientMessage::CopyFrom
void CopyFrom(const ::google::protobuf::Message &from) final
jaiabot::protobuf::ClientToPortalMessage::client_id
const ::std::string & client_id() const
Definition: portal.pb.h:676
jaiabot::protobuf::PortalToClientMessage::release_bot_status
::jaiabot::protobuf::BotStatus * release_bot_status()
Definition: portal.pb.h:751
jaiabot::protobuf::_HubStatus_default_instance_
HubStatusDefaultTypeInternal _HubStatus_default_instance_
jaiabot::protobuf::_Command_default_instance_
CommandDefaultTypeInternal _Command_default_instance_
jaiabot::protobuf::Command
Definition: jaia_dccl.pb.h:222
jaia_dccl.pb.h
jaiabot::protobuf::PortalToClientMessage::swap
friend void swap(PortalToClientMessage &a, PortalToClientMessage &b)
Definition: portal.pb.h:303
jaiabot::protobuf::PortalToClientMessage::has_bot_status
bool has_bot_status() const
Definition: portal.pb.h:733
jaiabot::protobuf::ClientToPortalMessage::set_allocated_command_for_hub
void set_allocated_command_for_hub(::jaiabot::protobuf::CommandForHub *command_for_hub)
Definition: portal.pb.h:619
jaiabot::protobuf::ClientToPortalMessage::clear_client_id
void clear_client_id()
Definition: portal.pb.h:672
jaiabot::protobuf::_ContactUpdate_default_instance_
ContactUpdateDefaultTypeInternal _ContactUpdate_default_instance_
jaiabot::protobuf::_MissionPlan_default_instance_
MissionPlanDefaultTypeInternal _MissionPlan_default_instance_
protobuf_jaiabot_2fmessages_2fportal_2eproto::TableStruct::offsets
static const ::google::protobuf::uint32 offsets[]
Definition: portal.pb.h:56
jaiabot::protobuf::ClientToPortalMessage::release_client_id
::std::string * release_client_id()
Definition: portal.pb.h:710
jaiabot::protobuf::ClientToPortalMessage::kCommandFieldNumber
static const int kCommandFieldNumber
Definition: portal.pb.h:205
hub.pb.h
protobuf_jaiabot_2fmessages_2fportal_2eproto::TableStruct::serialization_table
static const ::google::protobuf::internal::SerializationTable serialization_table[]
Definition: portal.pb.h:55
jaiabot::protobuf::PortalToClientMessage::IsInitialized
bool IsInitialized() const final
jaiabot::protobuf::PortalToClientMessage::operator=
PortalToClientMessage & operator=(const PortalToClientMessage &from)
Definition: portal.pb.h:265
jaiabot::protobuf::ClientToPortalMessage::GetMetadata
::google::protobuf::Metadata GetMetadata() const final
jaiabot::protobuf::PortalToClientMessage::mutable_hub_status
::jaiabot::protobuf::HubStatus * mutable_hub_status()
Definition: portal.pb.h:866
jaiabot::protobuf::PortalToClientMessage::hub_status
const ::jaiabot::protobuf::HubStatus & hub_status() const
Definition: portal.pb.h:853
jaiabot::protobuf::PortalToClientMessage::~PortalToClientMessage
virtual ~PortalToClientMessage()
jaiabot::protobuf::ClientToPortalMessage::descriptor
static const ::google::protobuf::Descriptor * descriptor()
protobuf_jaiabot_2fmessages_2fportal_2eproto::TableStruct::aux
static const ::google::protobuf::internal::AuxillaryParseTableField aux[]
Definition: portal.pb.h:52
jaiabot::protobuf::DeviceMetadata
Definition: metadata.pb.h:461
jaiabot::protobuf::PortalToClientMessage::mutable_bot_status
::jaiabot::protobuf::BotStatus * mutable_bot_status()
Definition: portal.pb.h:758
jaiabot::groups::engineering_command
constexpr goby::middleware::Group engineering_command
Definition: groups.h:86
jaiabot::protobuf::PortalToClientMessage::has_device_metadata
bool has_device_metadata() const
Definition: portal.pb.h:949
jaiabot::protobuf::PortalToClientMessage::set_allocated_hub_status
void set_allocated_hub_status(::jaiabot::protobuf::HubStatus *hub_status)
Definition: portal.pb.h:875
jaiabot::protobuf::PortalToClientMessage::GetCachedSize
int GetCachedSize() const final
Definition: portal.pb.h:330
jaiabot::protobuf::Engineering
Definition: engineering.pb.h:1105
jaiabot::protobuf::ClientToPortalMessage::clear_engineering_command
void clear_engineering_command()
jaiabot::protobuf::PortalToClientMessage::clear_bot_status
void clear_bot_status()
jaiabot::protobuf::PortalToClientMessage::set_allocated_active_mission_plan
void set_allocated_active_mission_plan(::jaiabot::protobuf::MissionPlan *active_mission_plan)
Definition: portal.pb.h:1037
jaiabot::protobuf::ClientToPortalMessage::operator=
ClientToPortalMessage & operator=(const ClientToPortalMessage &from)
Definition: portal.pb.h:88
jaiabot::protobuf::PortalToClientMessage::default_instance
static const PortalToClientMessage & default_instance()
jaiabot::protobuf::PortalToClientMessage::release_hub_status
::jaiabot::protobuf::HubStatus * release_hub_status()
Definition: portal.pb.h:859
jaiabot::protobuf::ClientToPortalMessage::has_command_for_hub
bool has_command_for_hub() const
Definition: portal.pb.h:585
jaiabot::protobuf::PortalToClientMessage::has_active_mission_plan
bool has_active_mission_plan() const
Definition: portal.pb.h:1003
jaiabot::protobuf::PortalToClientMessage::PortalToClientMessage
PortalToClientMessage()
jaiabot::protobuf::PortalToClientMessage::has_contact_update
bool has_contact_update() const
Definition: portal.pb.h:1057
jaiabot::protobuf::ClientToPortalMessage::has_engineering_command
bool has_engineering_command() const
Definition: portal.pb.h:477
jaiabot::protobuf::ClientToPortalMessage::set_allocated_engineering_command
void set_allocated_engineering_command(::jaiabot::protobuf::Engineering *engineering_command)
Definition: portal.pb.h:511
jaiabot::protobuf::PortalToClientMessage::engineering_status
const ::jaiabot::protobuf::Engineering & engineering_status() const
Definition: portal.pb.h:799
jaiabot::protobuf::PortalToClientMessage::release_device_metadata
::jaiabot::protobuf::DeviceMetadata * release_device_metadata()
Definition: portal.pb.h:967
jaiabot::protobuf::ClientToPortalMessage::mutable_client_id
::std::string * mutable_client_id()
Definition: portal.pb.h:705
jaiabot::protobuf::PortalToClientMessage::clear_active_mission_plan
void clear_active_mission_plan()
jaiabot::protobuf::ClientToPortalMessage::has_ping
bool has_ping() const
Definition: portal.pb.h:639
jaiabot::protobuf::ClientToPortalMessage::New
ClientToPortalMessage * New(::google::protobuf::Arena *arena) const final
Definition: portal.pb.h:136
jaiabot::protobuf::BotStatus
Definition: jaia_dccl.pb.h:1073
jaiabot::protobuf::PortalToClientMessage::mutable_engineering_status
::jaiabot::protobuf::Engineering * mutable_engineering_status()
Definition: portal.pb.h:812
jaiabot::protobuf::PortalToClientMessage::release_contact_update
::jaiabot::protobuf::ContactUpdate * release_contact_update()
Definition: portal.pb.h:1075
jaiabot::protobuf::PortalToClientMessage::mutable_device_metadata
::jaiabot::protobuf::DeviceMetadata * mutable_device_metadata()
Definition: portal.pb.h:974
jaiabot::protobuf::ClientToPortalMessage::set_ping
void set_ping(bool value)
Definition: portal.pb.h:656
jaiabot::protobuf::ClientToPortalMessage::kIndexInFileMessages
static constexpr int kIndexInFileMessages
Definition: portal.pb.h:122
jaiabot::protobuf::PortalToClientMessage::set_allocated_task_packet
void set_allocated_task_packet(::jaiabot::protobuf::TaskPacket *task_packet)
Definition: portal.pb.h:929
jaiabot::protobuf::PortalToClientMessage::set_allocated_bot_status
void set_allocated_bot_status(::jaiabot::protobuf::BotStatus *bot_status)
Definition: portal.pb.h:767
jaiabot::protobuf::PortalToClientMessage::internal_default_instance
static const PortalToClientMessage * internal_default_instance()
Definition: portal.pb.h:295
jaiabot::protobuf::PortalToClientMessage::MergePartialFromCodedStream
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) final
jaiabot::protobuf::PortalToClientMessage
Definition: portal.pb.h:258
jaiabot::protobuf::ClientToPortalMessage::release_command
::jaiabot::protobuf::Command * release_command()
Definition: portal.pb.h:549
jaiabot::protobuf::ClientToPortalMessage::command_for_hub
const ::jaiabot::protobuf::CommandForHub & command_for_hub() const
Definition: portal.pb.h:597
jaiabot::protobuf::ClientToPortalMessage::has_command
bool has_command() const
Definition: portal.pb.h:531
engineering.pb.h
jaiabot::protobuf::PortalToClientMessage::contact_update
const ::jaiabot::protobuf::ContactUpdate & contact_update() const
Definition: portal.pb.h:1069
jaiabot::protobuf::PortalToClientMessage::New
PortalToClientMessage * New(::google::protobuf::Arena *arena) const final
Definition: portal.pb.h:313
jaiabot::protobuf::ClientToPortalMessage::set_allocated_command
void set_allocated_command(::jaiabot::protobuf::Command *command)
Definition: portal.pb.h:565
jaiabot::protobuf::ClientToPortalMessage::MergeFrom
void MergeFrom(const ::google::protobuf::Message &from) final
jaiabot::protobuf::ClientToPortalMessage::mutable_command_for_hub
::jaiabot::protobuf::CommandForHub * mutable_command_for_hub()
Definition: portal.pb.h:610
jaiabot::protobuf::PortalToClientMessage::kActiveMissionPlanFieldNumber
static const int kActiveMissionPlanFieldNumber
Definition: portal.pb.h:415
jaiabot::protobuf::PortalToClientMessage::set_allocated_device_metadata
void set_allocated_device_metadata(::jaiabot::protobuf::DeviceMetadata *device_metadata)
Definition: portal.pb.h:983
jaiabot::protobuf::PortalToClientMessage::GetMetadata
::google::protobuf::Metadata GetMetadata() const final
jaiabot::protobuf::PortalToClientMessage::kTaskPacketFieldNumber
static const int kTaskPacketFieldNumber
Definition: portal.pb.h:391
jaiabot::protobuf::ClientToPortalMessage::InitAsDefaultInstance
static void InitAsDefaultInstance()
jaiabot::protobuf::_BotStatus_default_instance_
BotStatusDefaultTypeInternal _BotStatus_default_instance_
jaiabot::protobuf::PortalToClientMessage::descriptor
static const ::google::protobuf::Descriptor * descriptor()
jaiabot::protobuf::ClientToPortalMessage::kCommandForHubFieldNumber
static const int kCommandForHubFieldNumber
Definition: portal.pb.h:217
jaiabot::protobuf::PortalToClientMessage::mutable_contact_update
::jaiabot::protobuf::ContactUpdate * mutable_contact_update()
Definition: portal.pb.h:1082
jaiabot::protobuf::PortalToClientMessage::kContactUpdateFieldNumber
static const int kContactUpdateFieldNumber
Definition: portal.pb.h:427
jaiabot::protobuf::PortalToClientMessage::clear_task_packet
void clear_task_packet()
jaiabot::protobuf::PortalToClientMessage::release_active_mission_plan
::jaiabot::protobuf::MissionPlan * release_active_mission_plan()
Definition: portal.pb.h:1021
jaiabot::protobuf::PortalToClientMessage::SerializeWithCachedSizes
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const final
protobuf_jaiabot_2fmessages_2fportal_2eproto::TableStruct::field_metadata
static const ::google::protobuf::internal::FieldMetadata field_metadata[]
Definition: portal.pb.h:54
jaiabot::protobuf::ClientToPortalMessage::internal_default_instance
static const ClientToPortalMessage * internal_default_instance()
Definition: portal.pb.h:118
jaiabot::protobuf::PortalToClientMessage::active_mission_plan
const ::jaiabot::protobuf::MissionPlan & active_mission_plan() const
Definition: portal.pb.h:1015
jaiabot::protobuf::PortalToClientMessage::set_allocated_engineering_status
void set_allocated_engineering_status(::jaiabot::protobuf::Engineering *engineering_status)
Definition: portal.pb.h:821
jaiabot::protobuf::ClientToPortalMessage::ByteSizeLong
size_t ByteSizeLong() const final
jaiabot::protobuf::ClientToPortalMessage::MergePartialFromCodedStream
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) final
jaiabot::protobuf::PortalToClientMessage::clear_contact_update
void clear_contact_update()
jaiabot::protobuf::PortalToClientMessage::kHubStatusFieldNumber
static const int kHubStatusFieldNumber
Definition: portal.pb.h:379
jaiabot::protobuf::_ClientToPortalMessage_default_instance_
ClientToPortalMessageDefaultTypeInternal _ClientToPortalMessage_default_instance_
protobuf_jaiabot_2fmessages_2fportal_2eproto::TableStruct
Definition: portal.pb.h:50
jaiabot::protobuf::ClientToPortalMessage::clear_command_for_hub
void clear_command_for_hub()
metadata.pb.h
jaiabot::protobuf::ClientToPortalMessage::ping
bool ping() const
Definition: portal.pb.h:652
jaiabot::protobuf::ContactUpdate
Definition: jaia_dccl.pb.h:2672
jaiabot::protobuf::PortalToClientMessage::clear_hub_status
void clear_hub_status()
jaiabot::protobuf::CommandForHub
Definition: jaia_dccl.pb.h:506
jaiabot::protobuf::PortalToClientMessage::release_task_packet
::jaiabot::protobuf::TaskPacket * release_task_packet()
Definition: portal.pb.h:913
jaiabot::protobuf::PortalToClientMessage::New
PortalToClientMessage * New() const final
Definition: portal.pb.h:309
jaiabot
Definition: config.pb.h:56
jaiabot::protobuf::PortalToClientMessage::mutable_active_mission_plan
::jaiabot::protobuf::MissionPlan * mutable_active_mission_plan()
Definition: portal.pb.h:1028
jaiabot::protobuf::MissionPlan
Definition: mission.pb.h:2158
protobuf_jaiabot_2fmessages_2fportal_2eproto::AddDescriptors
void AddDescriptors()
jaiabot::protobuf::PortalToClientMessage::Clear
void Clear() final
jaiabot::protobuf::ClientToPortalMessage::kEngineeringCommandFieldNumber
static const int kEngineeringCommandFieldNumber
Definition: portal.pb.h:193
jaiabot::protobuf::PortalToClientMessage::Swap
void Swap(PortalToClientMessage *other)
jaiabot::protobuf::PortalToClientMessage::kEngineeringStatusFieldNumber
static const int kEngineeringStatusFieldNumber
Definition: portal.pb.h:367
jaiabot::protobuf::ClientToPortalMessage::IsInitialized
bool IsInitialized() const final
jaiabot::protobuf::PortalToClientMessage::InitAsDefaultInstance
static void InitAsDefaultInstance()
jaiabot::protobuf::PortalToClientMessage::has_task_packet
bool has_task_packet() const
Definition: portal.pb.h:895
jaiabot::protobuf::ClientToPortalMessage::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: portal.pb.h:110
jaiabot::protobuf::ClientToPortalMessage::Swap
void Swap(ClientToPortalMessage *other)
jaiabot::protobuf::ClientToPortalMessage::mutable_command
::jaiabot::protobuf::Command * mutable_command()
Definition: portal.pb.h:556
jaiabot::protobuf::HubStatus
Definition: hub.pb.h:360
jaiabot::protobuf::ClientToPortalMessage::set_allocated_client_id
void set_allocated_client_id(::std::string *client_id)
Definition: portal.pb.h:718
jaiabot::protobuf::PortalToClientMessage::set_allocated_contact_update
void set_allocated_contact_update(::jaiabot::protobuf::ContactUpdate *contact_update)
Definition: portal.pb.h:1091
jaiabot::protobuf::ClientToPortalMessage::clear_ping
void clear_ping()
Definition: portal.pb.h:648
jaiabot::protobuf::PortalToClientMessage::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: portal.pb.h:284
jaiabot::protobuf::ClientToPortalMessage::set_client_id
void set_client_id(const ::std::string &value)
Definition: portal.pb.h:680
jaiabot::protobuf::ClientToPortalMessage::CopyFrom
void CopyFrom(const ::google::protobuf::Message &from) final
jaiabot::protobuf::ClientToPortalMessage::release_engineering_command
::jaiabot::protobuf::Engineering * release_engineering_command()
Definition: portal.pb.h:495
jaiabot::protobuf::PortalToClientMessage::InternalSerializeWithCachedSizesToArray
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic, ::google::protobuf::uint8 *target) const final
jaiabot::protobuf::ClientToPortalMessage::default_instance
static const ClientToPortalMessage & default_instance()
jaiabot::protobuf::PortalToClientMessage::has_hub_status
bool has_hub_status() const
Definition: portal.pb.h:841
jaiabot::protobuf::_Engineering_default_instance_
EngineeringDefaultTypeInternal _Engineering_default_instance_
jaiabot::protobuf::ClientToPortalMessage::engineering_command
const ::jaiabot::protobuf::Engineering & engineering_command() const
Definition: portal.pb.h:489
protobuf_jaiabot_2fmessages_2fportal_2eproto::TableStruct::entries
static const ::google::protobuf::internal::ParseTableField entries[]
Definition: portal.pb.h:51
jaiabot::protobuf::ClientToPortalMessage::command
const ::jaiabot::protobuf::Command & command() const
Definition: portal.pb.h:543
jaiabot::protobuf::PortalToClientMessage::clear_engineering_status
void clear_engineering_status()
jaiabot::protobuf::ClientToPortalMessage::SerializeWithCachedSizes
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const final
protobuf_jaiabot_2fmessages_2fportal_2eproto::TableStruct::schema
static const ::google::protobuf::internal::ParseTable schema[2]
Definition: portal.pb.h:53
google
Definition: config.pb.h:63
jaiabot::protobuf::ClientToPortalMessage
Definition: portal.pb.h:81
jaiabot::protobuf::ClientToPortalMessage::clear_command
void clear_command()
jaiabot::protobuf::_TaskPacket_default_instance_
TaskPacketDefaultTypeInternal _TaskPacket_default_instance_
jaiabot::protobuf::ClientToPortalMessage::ClientToPortalMessage
ClientToPortalMessage()
protobuf_jaiabot_2fmessages_2fportal_2eproto
Definition: portal.pb.h:48
jaiabot::protobuf::_CommandForHub_default_instance_
CommandForHubDefaultTypeInternal _CommandForHub_default_instance_
jaiabot::protobuf::ClientToPortalMessage::has_client_id
bool has_client_id() const
Definition: portal.pb.h:663
jaiabot::protobuf::PortalToClientMessage::bot_status
const ::jaiabot::protobuf::BotStatus & bot_status() const
Definition: portal.pb.h:745
mission.pb.h
jaiabot::protobuf::_DeviceMetadata_default_instance_
DeviceMetadataDefaultTypeInternal _DeviceMetadata_default_instance_
jaiabot::protobuf::PortalToClientMessage::release_engineering_status
::jaiabot::protobuf::Engineering * release_engineering_status()
Definition: portal.pb.h:805
jaiabot::protobuf::PortalToClientMessage::task_packet
const ::jaiabot::protobuf::TaskPacket & task_packet() const
Definition: portal.pb.h:907