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 GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fportal_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fportal_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3012000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3012004 < PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
22 #include <google/protobuf/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
31 #include <google/protobuf/message.h>
32 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
33 #include <google/protobuf/extension_set.h> // IWYU pragma: export
34 #include <google/protobuf/unknown_field_set.h>
35 #include "dccl/option_extensions.pb.h"
41 #include <boost/units/quantity.hpp>
42 #include <boost/units/absolute.hpp>
43 #include <boost/units/dimensionless_type.hpp>
44 #include <boost/units/make_scaled_unit.hpp>
45 
46 #include <boost/units/systems/si.hpp>
47 // @@protoc_insertion_point(includes)
48 #include <google/protobuf/port_def.inc>
49 #define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2fportal_2eproto
50 PROTOBUF_NAMESPACE_OPEN
51 namespace internal {
52 class AnyMetadata;
53 } // namespace internal
54 PROTOBUF_NAMESPACE_CLOSE
55 
56 // Internal implementation detail -- do not use these members.
58  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
59  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
60  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
61  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
62  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2]
63  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
64  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
65  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
66  static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
67 };
68 extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fportal_2eproto;
69 namespace jaiabot {
70 namespace protobuf {
71 class ClientToPortalMessage;
72 class ClientToPortalMessageDefaultTypeInternal;
73 extern ClientToPortalMessageDefaultTypeInternal _ClientToPortalMessage_default_instance_;
74 class PortalToClientMessage;
75 class PortalToClientMessageDefaultTypeInternal;
76 extern PortalToClientMessageDefaultTypeInternal _PortalToClientMessage_default_instance_;
77 } // namespace protobuf
78 } // namespace jaiabot
79 PROTOBUF_NAMESPACE_OPEN
80 template<> ::jaiabot::protobuf::ClientToPortalMessage* Arena::CreateMaybeMessage<::jaiabot::protobuf::ClientToPortalMessage>(Arena*);
81 template<> ::jaiabot::protobuf::PortalToClientMessage* Arena::CreateMaybeMessage<::jaiabot::protobuf::PortalToClientMessage>(Arena*);
82 PROTOBUF_NAMESPACE_CLOSE
83 namespace jaiabot {
84 namespace protobuf {
85 
86 // ===================================================================
87 
88 class ClientToPortalMessage PROTOBUF_FINAL :
89  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.ClientToPortalMessage) */ {
90  public:
91  inline ClientToPortalMessage() : ClientToPortalMessage(nullptr) {};
93 
94  ClientToPortalMessage(const ClientToPortalMessage& from);
95  ClientToPortalMessage(ClientToPortalMessage&& from) noexcept
96  : ClientToPortalMessage() {
97  *this = ::std::move(from);
98  }
99 
100  inline ClientToPortalMessage& operator=(const ClientToPortalMessage& from) {
101  CopyFrom(from);
102  return *this;
103  }
104  inline ClientToPortalMessage& operator=(ClientToPortalMessage&& from) noexcept {
105  if (GetArena() == from.GetArena()) {
106  if (this != &from) InternalSwap(&from);
107  } else {
108  CopyFrom(from);
109  }
110  return *this;
111  }
112 
113  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
114  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
115  }
116  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
117  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
118  }
119 
120  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
121  return GetDescriptor();
122  }
123  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
124  return GetMetadataStatic().descriptor;
125  }
126  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
127  return GetMetadataStatic().reflection;
128  }
129  static const ClientToPortalMessage& default_instance();
130 
131  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
132  static inline const ClientToPortalMessage* internal_default_instance() {
133  return reinterpret_cast<const ClientToPortalMessage*>(
135  }
136  static constexpr int kIndexInFileMessages =
137  0;
138 
139  friend void swap(ClientToPortalMessage& a, ClientToPortalMessage& b) {
140  a.Swap(&b);
141  }
142  inline void Swap(ClientToPortalMessage* other) {
143  if (other == this) return;
144  if (GetArena() == other->GetArena()) {
145  InternalSwap(other);
146  } else {
147  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
148  }
149  }
150  void UnsafeArenaSwap(ClientToPortalMessage* other) {
151  if (other == this) return;
152  GOOGLE_DCHECK(GetArena() == other->GetArena());
153  InternalSwap(other);
154  }
155 
156  // implements Message ----------------------------------------------
157 
158  inline ClientToPortalMessage* New() const final {
159  return CreateMaybeMessage<ClientToPortalMessage>(nullptr);
160  }
161 
162  ClientToPortalMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
163  return CreateMaybeMessage<ClientToPortalMessage>(arena);
164  }
165  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
166  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
167  void CopyFrom(const ClientToPortalMessage& from);
168  void MergeFrom(const ClientToPortalMessage& from);
169  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
170  bool IsInitialized() const final;
171 
172  size_t ByteSizeLong() const final;
173  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
174  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
175  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
176  int GetCachedSize() const final { return _cached_size_.Get(); }
177 
178  private:
179  inline void SharedCtor();
180  inline void SharedDtor();
181  void SetCachedSize(int size) const final;
182  void InternalSwap(ClientToPortalMessage* other);
183  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
184  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
185  return "jaiabot.protobuf.ClientToPortalMessage";
186  }
187  protected:
188  explicit ClientToPortalMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena);
189  private:
190  static void ArenaDtor(void* object);
191  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
192  public:
193 
194  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
195  private:
196  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
197  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_jaiabot_2fmessages_2fportal_2eproto);
198  return ::descriptor_table_jaiabot_2fmessages_2fportal_2eproto.file_level_metadata[kIndexInFileMessages];
199  }
200 
201  public:
202 
203  // nested types ----------------------------------------------------
204 
205  // accessors -------------------------------------------------------
206 
207  enum : int {
208  kClientIdFieldNumber = 5,
209  kEngineeringCommandFieldNumber = 1,
210  kCommandFieldNumber = 2,
211  kCommandForHubFieldNumber = 3,
212  kPingFieldNumber = 4,
213  };
214  // optional string client_id = 5;
215  bool has_client_id() const;
216  private:
217  bool _internal_has_client_id() const;
218  public:
220  const std::string& client_id() const;
221  void set_client_id(const std::string& value);
222  void set_client_id(std::string&& value);
223  void set_client_id(const char* value);
224  void set_client_id(const char* value, size_t size);
225  std::string* mutable_client_id();
226  std::string* release_client_id();
227  void set_allocated_client_id(std::string* client_id);
228  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
229  " string fields are deprecated and will be removed in a"
230  " future release.")
231  std::string* unsafe_arena_release_client_id();
232  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
233  " string fields are deprecated and will be removed in a"
234  " future release.")
235  void unsafe_arena_set_allocated_client_id(
236  std::string* client_id);
237  private:
238  const std::string& _internal_client_id() const;
239  void _internal_set_client_id(const std::string& value);
240  std::string* _internal_mutable_client_id();
241  public:
242 
243  // optional .jaiabot.protobuf.Engineering engineering_command = 1;
244  bool has_engineering_command() const;
245  private:
246  bool _internal_has_engineering_command() const;
247  public:
248  void clear_engineering_command();
249  const ::jaiabot::protobuf::Engineering& engineering_command() const;
250  ::jaiabot::protobuf::Engineering* release_engineering_command();
251  ::jaiabot::protobuf::Engineering* mutable_engineering_command();
252  void set_allocated_engineering_command(::jaiabot::protobuf::Engineering* engineering_command);
253  private:
254  const ::jaiabot::protobuf::Engineering& _internal_engineering_command() const;
255  ::jaiabot::protobuf::Engineering* _internal_mutable_engineering_command();
256  public:
257  void unsafe_arena_set_allocated_engineering_command(
258  ::jaiabot::protobuf::Engineering* engineering_command);
259  ::jaiabot::protobuf::Engineering* unsafe_arena_release_engineering_command();
260 
261  // optional .jaiabot.protobuf.Command command = 2;
262  bool has_command() const;
263  private:
264  bool _internal_has_command() const;
265  public:
266  void clear_command();
267  const ::jaiabot::protobuf::Command& command() const;
268  ::jaiabot::protobuf::Command* release_command();
269  ::jaiabot::protobuf::Command* mutable_command();
270  void set_allocated_command(::jaiabot::protobuf::Command* command);
271  private:
272  const ::jaiabot::protobuf::Command& _internal_command() const;
273  ::jaiabot::protobuf::Command* _internal_mutable_command();
274  public:
275  void unsafe_arena_set_allocated_command(
276  ::jaiabot::protobuf::Command* command);
277  ::jaiabot::protobuf::Command* unsafe_arena_release_command();
278 
279  // optional .jaiabot.protobuf.CommandForHub command_for_hub = 3;
280  bool has_command_for_hub() const;
281  private:
282  bool _internal_has_command_for_hub() const;
283  public:
284  void clear_command_for_hub();
285  const ::jaiabot::protobuf::CommandForHub& command_for_hub() const;
286  ::jaiabot::protobuf::CommandForHub* release_command_for_hub();
287  ::jaiabot::protobuf::CommandForHub* mutable_command_for_hub();
288  void set_allocated_command_for_hub(::jaiabot::protobuf::CommandForHub* command_for_hub);
289  private:
290  const ::jaiabot::protobuf::CommandForHub& _internal_command_for_hub() const;
291  ::jaiabot::protobuf::CommandForHub* _internal_mutable_command_for_hub();
292  public:
293  void unsafe_arena_set_allocated_command_for_hub(
294  ::jaiabot::protobuf::CommandForHub* command_for_hub);
295  ::jaiabot::protobuf::CommandForHub* unsafe_arena_release_command_for_hub();
296 
297  // optional bool ping = 4;
298  bool has_ping() const;
299  private:
300  bool _internal_has_ping() const;
301  public:
302  void clear_ping();
303  bool ping() const;
304  void set_ping(bool value);
305  private:
306  bool _internal_ping() const;
307  void _internal_set_ping(bool value);
308  public:
309 
310  // @@protoc_insertion_point(class_scope:jaiabot.protobuf.ClientToPortalMessage)
311  private:
312  class _Internal;
313 
314  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
315  typedef void InternalArenaConstructable_;
316  typedef void DestructorSkippable_;
317  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
318  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
319  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr client_id_;
320  ::jaiabot::protobuf::Engineering* engineering_command_;
321  ::jaiabot::protobuf::Command* command_;
322  ::jaiabot::protobuf::CommandForHub* command_for_hub_;
323  bool ping_;
325 };
326 // -------------------------------------------------------------------
327 
328 class PortalToClientMessage PROTOBUF_FINAL :
329  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.PortalToClientMessage) */ {
330  public:
331  inline PortalToClientMessage() : PortalToClientMessage(nullptr) {};
333 
334  PortalToClientMessage(const PortalToClientMessage& from);
335  PortalToClientMessage(PortalToClientMessage&& from) noexcept
336  : PortalToClientMessage() {
337  *this = ::std::move(from);
338  }
339 
340  inline PortalToClientMessage& operator=(const PortalToClientMessage& from) {
341  CopyFrom(from);
342  return *this;
343  }
344  inline PortalToClientMessage& operator=(PortalToClientMessage&& from) noexcept {
345  if (GetArena() == from.GetArena()) {
346  if (this != &from) InternalSwap(&from);
347  } else {
348  CopyFrom(from);
349  }
350  return *this;
351  }
352 
353  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
354  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
355  }
356  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
357  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
358  }
359 
360  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
361  return GetDescriptor();
362  }
363  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
364  return GetMetadataStatic().descriptor;
365  }
366  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
367  return GetMetadataStatic().reflection;
368  }
369  static const PortalToClientMessage& default_instance();
370 
371  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
372  static inline const PortalToClientMessage* internal_default_instance() {
373  return reinterpret_cast<const PortalToClientMessage*>(
375  }
376  static constexpr int kIndexInFileMessages =
377  1;
378 
379  friend void swap(PortalToClientMessage& a, PortalToClientMessage& b) {
380  a.Swap(&b);
381  }
382  inline void Swap(PortalToClientMessage* other) {
383  if (other == this) return;
384  if (GetArena() == other->GetArena()) {
385  InternalSwap(other);
386  } else {
387  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
388  }
389  }
390  void UnsafeArenaSwap(PortalToClientMessage* other) {
391  if (other == this) return;
392  GOOGLE_DCHECK(GetArena() == other->GetArena());
393  InternalSwap(other);
394  }
395 
396  // implements Message ----------------------------------------------
397 
398  inline PortalToClientMessage* New() const final {
399  return CreateMaybeMessage<PortalToClientMessage>(nullptr);
400  }
401 
402  PortalToClientMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
403  return CreateMaybeMessage<PortalToClientMessage>(arena);
404  }
405  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
406  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
407  void CopyFrom(const PortalToClientMessage& from);
408  void MergeFrom(const PortalToClientMessage& from);
409  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
410  bool IsInitialized() const final;
411 
412  size_t ByteSizeLong() const final;
413  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
414  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
415  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
416  int GetCachedSize() const final { return _cached_size_.Get(); }
417 
418  private:
419  inline void SharedCtor();
420  inline void SharedDtor();
421  void SetCachedSize(int size) const final;
422  void InternalSwap(PortalToClientMessage* other);
423  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
424  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
425  return "jaiabot.protobuf.PortalToClientMessage";
426  }
427  protected:
428  explicit PortalToClientMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena);
429  private:
430  static void ArenaDtor(void* object);
431  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
432  public:
433 
434  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
435  private:
436  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
437  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_jaiabot_2fmessages_2fportal_2eproto);
438  return ::descriptor_table_jaiabot_2fmessages_2fportal_2eproto.file_level_metadata[kIndexInFileMessages];
439  }
440 
441  public:
442 
443  // nested types ----------------------------------------------------
444 
445  // accessors -------------------------------------------------------
446 
447  enum : int {
448  kBotStatusFieldNumber = 1,
449  kEngineeringStatusFieldNumber = 2,
450  kHubStatusFieldNumber = 3,
451  kTaskPacketFieldNumber = 4,
452  kDeviceMetadataFieldNumber = 5,
453  kActiveMissionPlanFieldNumber = 6,
454  kContactUpdateFieldNumber = 7,
455  };
456  // optional .jaiabot.protobuf.BotStatus bot_status = 1;
457  bool has_bot_status() const;
458  private:
459  bool _internal_has_bot_status() const;
460  public:
462  const ::jaiabot::protobuf::BotStatus& bot_status() const;
463  ::jaiabot::protobuf::BotStatus* release_bot_status();
464  ::jaiabot::protobuf::BotStatus* mutable_bot_status();
465  void set_allocated_bot_status(::jaiabot::protobuf::BotStatus* bot_status);
466  private:
467  const ::jaiabot::protobuf::BotStatus& _internal_bot_status() const;
468  ::jaiabot::protobuf::BotStatus* _internal_mutable_bot_status();
469  public:
471  ::jaiabot::protobuf::BotStatus* bot_status);
472  ::jaiabot::protobuf::BotStatus* unsafe_arena_release_bot_status();
473 
474  // optional .jaiabot.protobuf.Engineering engineering_status = 2;
476  private:
477  bool _internal_has_engineering_status() const;
478  public:
480  const ::jaiabot::protobuf::Engineering& engineering_status() const;
481  ::jaiabot::protobuf::Engineering* release_engineering_status();
482  ::jaiabot::protobuf::Engineering* mutable_engineering_status();
483  void set_allocated_engineering_status(::jaiabot::protobuf::Engineering* engineering_status);
484  private:
485  const ::jaiabot::protobuf::Engineering& _internal_engineering_status() const;
486  ::jaiabot::protobuf::Engineering* _internal_mutable_engineering_status();
487  public:
489  ::jaiabot::protobuf::Engineering* engineering_status);
490  ::jaiabot::protobuf::Engineering* unsafe_arena_release_engineering_status();
491 
492  // optional .jaiabot.protobuf.HubStatus hub_status = 3;
493  bool has_hub_status() const;
494  private:
495  bool _internal_has_hub_status() const;
496  public:
498  const ::jaiabot::protobuf::HubStatus& hub_status() const;
499  ::jaiabot::protobuf::HubStatus* release_hub_status();
500  ::jaiabot::protobuf::HubStatus* mutable_hub_status();
501  void set_allocated_hub_status(::jaiabot::protobuf::HubStatus* hub_status);
502  private:
503  const ::jaiabot::protobuf::HubStatus& _internal_hub_status() const;
504  ::jaiabot::protobuf::HubStatus* _internal_mutable_hub_status();
505  public:
507  ::jaiabot::protobuf::HubStatus* hub_status);
508  ::jaiabot::protobuf::HubStatus* unsafe_arena_release_hub_status();
509 
510  // optional .jaiabot.protobuf.TaskPacket task_packet = 4;
511  bool has_task_packet() const;
512  private:
513  bool _internal_has_task_packet() const;
514  public:
516  const ::jaiabot::protobuf::TaskPacket& task_packet() const;
517  ::jaiabot::protobuf::TaskPacket* release_task_packet();
518  ::jaiabot::protobuf::TaskPacket* mutable_task_packet();
519  void set_allocated_task_packet(::jaiabot::protobuf::TaskPacket* task_packet);
520  private:
521  const ::jaiabot::protobuf::TaskPacket& _internal_task_packet() const;
522  ::jaiabot::protobuf::TaskPacket* _internal_mutable_task_packet();
523  public:
525  ::jaiabot::protobuf::TaskPacket* task_packet);
526  ::jaiabot::protobuf::TaskPacket* unsafe_arena_release_task_packet();
527 
528  // optional .jaiabot.protobuf.DeviceMetadata device_metadata = 5;
529  bool has_device_metadata() const;
530  private:
531  bool _internal_has_device_metadata() const;
532  public:
534  const ::jaiabot::protobuf::DeviceMetadata& device_metadata() const;
535  ::jaiabot::protobuf::DeviceMetadata* release_device_metadata();
536  ::jaiabot::protobuf::DeviceMetadata* mutable_device_metadata();
537  void set_allocated_device_metadata(::jaiabot::protobuf::DeviceMetadata* device_metadata);
538  private:
539  const ::jaiabot::protobuf::DeviceMetadata& _internal_device_metadata() const;
540  ::jaiabot::protobuf::DeviceMetadata* _internal_mutable_device_metadata();
541  public:
543  ::jaiabot::protobuf::DeviceMetadata* device_metadata);
544  ::jaiabot::protobuf::DeviceMetadata* unsafe_arena_release_device_metadata();
545 
546  // optional .jaiabot.protobuf.MissionPlan active_mission_plan = 6;
548  private:
549  bool _internal_has_active_mission_plan() const;
550  public:
552  const ::jaiabot::protobuf::MissionPlan& active_mission_plan() const;
553  ::jaiabot::protobuf::MissionPlan* release_active_mission_plan();
554  ::jaiabot::protobuf::MissionPlan* mutable_active_mission_plan();
555  void set_allocated_active_mission_plan(::jaiabot::protobuf::MissionPlan* active_mission_plan);
556  private:
557  const ::jaiabot::protobuf::MissionPlan& _internal_active_mission_plan() const;
558  ::jaiabot::protobuf::MissionPlan* _internal_mutable_active_mission_plan();
559  public:
561  ::jaiabot::protobuf::MissionPlan* active_mission_plan);
562  ::jaiabot::protobuf::MissionPlan* unsafe_arena_release_active_mission_plan();
563 
564  // optional .jaiabot.protobuf.ContactUpdate contact_update = 7;
565  bool has_contact_update() const;
566  private:
567  bool _internal_has_contact_update() const;
568  public:
570  const ::jaiabot::protobuf::ContactUpdate& contact_update() const;
571  ::jaiabot::protobuf::ContactUpdate* release_contact_update();
572  ::jaiabot::protobuf::ContactUpdate* mutable_contact_update();
573  void set_allocated_contact_update(::jaiabot::protobuf::ContactUpdate* contact_update);
574  private:
575  const ::jaiabot::protobuf::ContactUpdate& _internal_contact_update() const;
576  ::jaiabot::protobuf::ContactUpdate* _internal_mutable_contact_update();
577  public:
579  ::jaiabot::protobuf::ContactUpdate* contact_update);
580  ::jaiabot::protobuf::ContactUpdate* unsafe_arena_release_contact_update();
581 
582  // @@protoc_insertion_point(class_scope:jaiabot.protobuf.PortalToClientMessage)
583  private:
584  class _Internal;
585 
586  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
587  typedef void InternalArenaConstructable_;
588  typedef void DestructorSkippable_;
589  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
590  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
591  ::jaiabot::protobuf::BotStatus* bot_status_;
592  ::jaiabot::protobuf::Engineering* engineering_status_;
593  ::jaiabot::protobuf::HubStatus* hub_status_;
594  ::jaiabot::protobuf::TaskPacket* task_packet_;
595  ::jaiabot::protobuf::DeviceMetadata* device_metadata_;
596  ::jaiabot::protobuf::MissionPlan* active_mission_plan_;
597  ::jaiabot::protobuf::ContactUpdate* contact_update_;
598  friend struct ::TableStruct_jaiabot_2fmessages_2fportal_2eproto;
599 };
600 // ===================================================================
601 
602 
603 // ===================================================================
604 
605 #ifdef __GNUC__
606  #pragma GCC diagnostic push
607  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
608 #endif // __GNUC__
609 // ClientToPortalMessage
610 
611 // optional .jaiabot.protobuf.Engineering engineering_command = 1;
612 inline bool ClientToPortalMessage::_internal_has_engineering_command() const {
613  bool value = (_has_bits_[0] & 0x00000002u) != 0;
614  PROTOBUF_ASSUME(!value || engineering_command_ != nullptr);
615  return value;
616 }
617 inline bool ClientToPortalMessage::has_engineering_command() const {
618  return _internal_has_engineering_command();
619 }
620 inline const ::jaiabot::protobuf::Engineering& ClientToPortalMessage::_internal_engineering_command() const {
621  const ::jaiabot::protobuf::Engineering* p = engineering_command_;
622  return p != nullptr ? *p : *reinterpret_cast<const ::jaiabot::protobuf::Engineering*>(
624 }
625 inline const ::jaiabot::protobuf::Engineering& ClientToPortalMessage::engineering_command() const {
626  // @@protoc_insertion_point(field_get:jaiabot.protobuf.ClientToPortalMessage.engineering_command)
627  return _internal_engineering_command();
628 }
629 inline void ClientToPortalMessage::unsafe_arena_set_allocated_engineering_command(
630  ::jaiabot::protobuf::Engineering* engineering_command) {
631  if (GetArena() == nullptr) {
632  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(engineering_command_);
633  }
634  engineering_command_ = engineering_command;
635  if (engineering_command) {
636  _has_bits_[0] |= 0x00000002u;
637  } else {
638  _has_bits_[0] &= ~0x00000002u;
639  }
640  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.ClientToPortalMessage.engineering_command)
641 }
642 inline ::jaiabot::protobuf::Engineering* ClientToPortalMessage::release_engineering_command() {
643  auto temp = unsafe_arena_release_engineering_command();
644  if (GetArena() != nullptr) {
645  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
646  }
647  return temp;
648 }
649 inline ::jaiabot::protobuf::Engineering* ClientToPortalMessage::unsafe_arena_release_engineering_command() {
650  // @@protoc_insertion_point(field_release:jaiabot.protobuf.ClientToPortalMessage.engineering_command)
651  _has_bits_[0] &= ~0x00000002u;
652  ::jaiabot::protobuf::Engineering* temp = engineering_command_;
653  engineering_command_ = nullptr;
654  return temp;
655 }
656 inline ::jaiabot::protobuf::Engineering* ClientToPortalMessage::_internal_mutable_engineering_command() {
657  _has_bits_[0] |= 0x00000002u;
658  if (engineering_command_ == nullptr) {
659  auto* p = CreateMaybeMessage<::jaiabot::protobuf::Engineering>(GetArena());
660  engineering_command_ = p;
661  }
662  return engineering_command_;
663 }
664 inline ::jaiabot::protobuf::Engineering* ClientToPortalMessage::mutable_engineering_command() {
665  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.ClientToPortalMessage.engineering_command)
666  return _internal_mutable_engineering_command();
667 }
668 inline void ClientToPortalMessage::set_allocated_engineering_command(::jaiabot::protobuf::Engineering* engineering_command) {
669  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
670  if (message_arena == nullptr) {
671  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(engineering_command_);
672  }
673  if (engineering_command) {
674  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
675  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(engineering_command)->GetArena();
676  if (message_arena != submessage_arena) {
677  engineering_command = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
678  message_arena, engineering_command, submessage_arena);
679  }
680  _has_bits_[0] |= 0x00000002u;
681  } else {
682  _has_bits_[0] &= ~0x00000002u;
683  }
684  engineering_command_ = engineering_command;
685  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.ClientToPortalMessage.engineering_command)
686 }
687 
688 // optional .jaiabot.protobuf.Command command = 2;
689 inline bool ClientToPortalMessage::_internal_has_command() const {
690  bool value = (_has_bits_[0] & 0x00000004u) != 0;
691  PROTOBUF_ASSUME(!value || command_ != nullptr);
692  return value;
693 }
694 inline bool ClientToPortalMessage::has_command() const {
695  return _internal_has_command();
696 }
697 inline const ::jaiabot::protobuf::Command& ClientToPortalMessage::_internal_command() const {
698  const ::jaiabot::protobuf::Command* p = command_;
699  return p != nullptr ? *p : *reinterpret_cast<const ::jaiabot::protobuf::Command*>(
701 }
702 inline const ::jaiabot::protobuf::Command& ClientToPortalMessage::command() const {
703  // @@protoc_insertion_point(field_get:jaiabot.protobuf.ClientToPortalMessage.command)
704  return _internal_command();
705 }
706 inline void ClientToPortalMessage::unsafe_arena_set_allocated_command(
707  ::jaiabot::protobuf::Command* command) {
708  if (GetArena() == nullptr) {
709  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(command_);
710  }
711  command_ = command;
712  if (command) {
713  _has_bits_[0] |= 0x00000004u;
714  } else {
715  _has_bits_[0] &= ~0x00000004u;
716  }
717  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.ClientToPortalMessage.command)
718 }
719 inline ::jaiabot::protobuf::Command* ClientToPortalMessage::release_command() {
720  auto temp = unsafe_arena_release_command();
721  if (GetArena() != nullptr) {
722  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
723  }
724  return temp;
725 }
726 inline ::jaiabot::protobuf::Command* ClientToPortalMessage::unsafe_arena_release_command() {
727  // @@protoc_insertion_point(field_release:jaiabot.protobuf.ClientToPortalMessage.command)
728  _has_bits_[0] &= ~0x00000004u;
729  ::jaiabot::protobuf::Command* temp = command_;
730  command_ = nullptr;
731  return temp;
732 }
733 inline ::jaiabot::protobuf::Command* ClientToPortalMessage::_internal_mutable_command() {
734  _has_bits_[0] |= 0x00000004u;
735  if (command_ == nullptr) {
736  auto* p = CreateMaybeMessage<::jaiabot::protobuf::Command>(GetArena());
737  command_ = p;
738  }
739  return command_;
740 }
741 inline ::jaiabot::protobuf::Command* ClientToPortalMessage::mutable_command() {
742  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.ClientToPortalMessage.command)
743  return _internal_mutable_command();
744 }
745 inline void ClientToPortalMessage::set_allocated_command(::jaiabot::protobuf::Command* command) {
746  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
747  if (message_arena == nullptr) {
748  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(command_);
749  }
750  if (command) {
751  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
752  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(command)->GetArena();
753  if (message_arena != submessage_arena) {
754  command = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
755  message_arena, command, submessage_arena);
756  }
757  _has_bits_[0] |= 0x00000004u;
758  } else {
759  _has_bits_[0] &= ~0x00000004u;
760  }
761  command_ = command;
762  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.ClientToPortalMessage.command)
763 }
764 
765 // optional .jaiabot.protobuf.CommandForHub command_for_hub = 3;
766 inline bool ClientToPortalMessage::_internal_has_command_for_hub() const {
767  bool value = (_has_bits_[0] & 0x00000008u) != 0;
768  PROTOBUF_ASSUME(!value || command_for_hub_ != nullptr);
769  return value;
770 }
771 inline bool ClientToPortalMessage::has_command_for_hub() const {
772  return _internal_has_command_for_hub();
773 }
774 inline const ::jaiabot::protobuf::CommandForHub& ClientToPortalMessage::_internal_command_for_hub() const {
775  const ::jaiabot::protobuf::CommandForHub* p = command_for_hub_;
776  return p != nullptr ? *p : *reinterpret_cast<const ::jaiabot::protobuf::CommandForHub*>(
778 }
779 inline const ::jaiabot::protobuf::CommandForHub& ClientToPortalMessage::command_for_hub() const {
780  // @@protoc_insertion_point(field_get:jaiabot.protobuf.ClientToPortalMessage.command_for_hub)
781  return _internal_command_for_hub();
782 }
783 inline void ClientToPortalMessage::unsafe_arena_set_allocated_command_for_hub(
784  ::jaiabot::protobuf::CommandForHub* command_for_hub) {
785  if (GetArena() == nullptr) {
786  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(command_for_hub_);
787  }
788  command_for_hub_ = command_for_hub;
789  if (command_for_hub) {
790  _has_bits_[0] |= 0x00000008u;
791  } else {
792  _has_bits_[0] &= ~0x00000008u;
793  }
794  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.ClientToPortalMessage.command_for_hub)
795 }
796 inline ::jaiabot::protobuf::CommandForHub* ClientToPortalMessage::release_command_for_hub() {
797  auto temp = unsafe_arena_release_command_for_hub();
798  if (GetArena() != nullptr) {
799  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
800  }
801  return temp;
802 }
803 inline ::jaiabot::protobuf::CommandForHub* ClientToPortalMessage::unsafe_arena_release_command_for_hub() {
804  // @@protoc_insertion_point(field_release:jaiabot.protobuf.ClientToPortalMessage.command_for_hub)
805  _has_bits_[0] &= ~0x00000008u;
806  ::jaiabot::protobuf::CommandForHub* temp = command_for_hub_;
807  command_for_hub_ = nullptr;
808  return temp;
809 }
810 inline ::jaiabot::protobuf::CommandForHub* ClientToPortalMessage::_internal_mutable_command_for_hub() {
811  _has_bits_[0] |= 0x00000008u;
812  if (command_for_hub_ == nullptr) {
813  auto* p = CreateMaybeMessage<::jaiabot::protobuf::CommandForHub>(GetArena());
814  command_for_hub_ = p;
815  }
816  return command_for_hub_;
817 }
818 inline ::jaiabot::protobuf::CommandForHub* ClientToPortalMessage::mutable_command_for_hub() {
819  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.ClientToPortalMessage.command_for_hub)
820  return _internal_mutable_command_for_hub();
821 }
822 inline void ClientToPortalMessage::set_allocated_command_for_hub(::jaiabot::protobuf::CommandForHub* command_for_hub) {
823  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
824  if (message_arena == nullptr) {
825  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(command_for_hub_);
826  }
827  if (command_for_hub) {
828  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
829  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(command_for_hub)->GetArena();
830  if (message_arena != submessage_arena) {
831  command_for_hub = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
832  message_arena, command_for_hub, submessage_arena);
833  }
834  _has_bits_[0] |= 0x00000008u;
835  } else {
836  _has_bits_[0] &= ~0x00000008u;
837  }
838  command_for_hub_ = command_for_hub;
839  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.ClientToPortalMessage.command_for_hub)
840 }
841 
842 // optional bool ping = 4;
843 inline bool ClientToPortalMessage::_internal_has_ping() const {
844  bool value = (_has_bits_[0] & 0x00000010u) != 0;
845  return value;
846 }
847 inline bool ClientToPortalMessage::has_ping() const {
848  return _internal_has_ping();
849 }
850 inline void ClientToPortalMessage::clear_ping() {
851  ping_ = false;
852  _has_bits_[0] &= ~0x00000010u;
853 }
854 inline bool ClientToPortalMessage::_internal_ping() const {
855  return ping_;
856 }
857 inline bool ClientToPortalMessage::ping() const {
858  // @@protoc_insertion_point(field_get:jaiabot.protobuf.ClientToPortalMessage.ping)
859  return _internal_ping();
860 }
861 inline void ClientToPortalMessage::_internal_set_ping(bool value) {
862  _has_bits_[0] |= 0x00000010u;
863  ping_ = value;
864 }
865 inline void ClientToPortalMessage::set_ping(bool value) {
866  _internal_set_ping(value);
867  // @@protoc_insertion_point(field_set:jaiabot.protobuf.ClientToPortalMessage.ping)
868 }
869 
870 // optional string client_id = 5;
871 inline bool ClientToPortalMessage::_internal_has_client_id() const {
872  bool value = (_has_bits_[0] & 0x00000001u) != 0;
873  return value;
874 }
875 inline bool ClientToPortalMessage::has_client_id() const {
876  return _internal_has_client_id();
877 }
878 inline void ClientToPortalMessage::clear_client_id() {
879  client_id_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
880  _has_bits_[0] &= ~0x00000001u;
881 }
882 inline const std::string& ClientToPortalMessage::client_id() const {
883  // @@protoc_insertion_point(field_get:jaiabot.protobuf.ClientToPortalMessage.client_id)
884  return _internal_client_id();
885 }
886 inline void ClientToPortalMessage::set_client_id(const std::string& value) {
887  _internal_set_client_id(value);
888  // @@protoc_insertion_point(field_set:jaiabot.protobuf.ClientToPortalMessage.client_id)
889 }
890 inline std::string* ClientToPortalMessage::mutable_client_id() {
891  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.ClientToPortalMessage.client_id)
892  return _internal_mutable_client_id();
893 }
894 inline const std::string& ClientToPortalMessage::_internal_client_id() const {
895  return client_id_.Get();
896 }
897 inline void ClientToPortalMessage::_internal_set_client_id(const std::string& value) {
898  _has_bits_[0] |= 0x00000001u;
899  client_id_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
900 }
901 inline void ClientToPortalMessage::set_client_id(std::string&& value) {
902  _has_bits_[0] |= 0x00000001u;
903  client_id_.Set(
904  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
905  // @@protoc_insertion_point(field_set_rvalue:jaiabot.protobuf.ClientToPortalMessage.client_id)
906 }
907 inline void ClientToPortalMessage::set_client_id(const char* value) {
908  GOOGLE_DCHECK(value != nullptr);
909  _has_bits_[0] |= 0x00000001u;
910  client_id_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
911  GetArena());
912  // @@protoc_insertion_point(field_set_char:jaiabot.protobuf.ClientToPortalMessage.client_id)
913 }
914 inline void ClientToPortalMessage::set_client_id(const char* value,
915  size_t size) {
916  _has_bits_[0] |= 0x00000001u;
917  client_id_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
918  reinterpret_cast<const char*>(value), size), GetArena());
919  // @@protoc_insertion_point(field_set_pointer:jaiabot.protobuf.ClientToPortalMessage.client_id)
920 }
921 inline std::string* ClientToPortalMessage::_internal_mutable_client_id() {
922  _has_bits_[0] |= 0x00000001u;
923  return client_id_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
924 }
925 inline std::string* ClientToPortalMessage::release_client_id() {
926  // @@protoc_insertion_point(field_release:jaiabot.protobuf.ClientToPortalMessage.client_id)
927  if (!_internal_has_client_id()) {
928  return nullptr;
929  }
930  _has_bits_[0] &= ~0x00000001u;
931  return client_id_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
932 }
933 inline void ClientToPortalMessage::set_allocated_client_id(std::string* client_id) {
934  if (client_id != nullptr) {
935  _has_bits_[0] |= 0x00000001u;
936  } else {
937  _has_bits_[0] &= ~0x00000001u;
938  }
939  client_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), client_id,
940  GetArena());
941  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.ClientToPortalMessage.client_id)
942 }
943 inline std::string* ClientToPortalMessage::unsafe_arena_release_client_id() {
944  // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.protobuf.ClientToPortalMessage.client_id)
945  GOOGLE_DCHECK(GetArena() != nullptr);
946  _has_bits_[0] &= ~0x00000001u;
947  return client_id_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
948  GetArena());
949 }
950 inline void ClientToPortalMessage::unsafe_arena_set_allocated_client_id(
951  std::string* client_id) {
952  GOOGLE_DCHECK(GetArena() != nullptr);
953  if (client_id != nullptr) {
954  _has_bits_[0] |= 0x00000001u;
955  } else {
956  _has_bits_[0] &= ~0x00000001u;
957  }
958  client_id_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
959  client_id, GetArena());
960  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.ClientToPortalMessage.client_id)
961 }
962 
963 // -------------------------------------------------------------------
964 
965 // PortalToClientMessage
966 
967 // optional .jaiabot.protobuf.BotStatus bot_status = 1;
968 inline bool PortalToClientMessage::_internal_has_bot_status() const {
969  bool value = (_has_bits_[0] & 0x00000001u) != 0;
970  PROTOBUF_ASSUME(!value || bot_status_ != nullptr);
971  return value;
972 }
973 inline bool PortalToClientMessage::has_bot_status() const {
974  return _internal_has_bot_status();
975 }
976 inline const ::jaiabot::protobuf::BotStatus& PortalToClientMessage::_internal_bot_status() const {
977  const ::jaiabot::protobuf::BotStatus* p = bot_status_;
978  return p != nullptr ? *p : *reinterpret_cast<const ::jaiabot::protobuf::BotStatus*>(
980 }
981 inline const ::jaiabot::protobuf::BotStatus& PortalToClientMessage::bot_status() const {
982  // @@protoc_insertion_point(field_get:jaiabot.protobuf.PortalToClientMessage.bot_status)
983  return _internal_bot_status();
984 }
985 inline void PortalToClientMessage::unsafe_arena_set_allocated_bot_status(
986  ::jaiabot::protobuf::BotStatus* bot_status) {
987  if (GetArena() == nullptr) {
988  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(bot_status_);
989  }
990  bot_status_ = bot_status;
991  if (bot_status) {
992  _has_bits_[0] |= 0x00000001u;
993  } else {
994  _has_bits_[0] &= ~0x00000001u;
995  }
996  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.PortalToClientMessage.bot_status)
997 }
998 inline ::jaiabot::protobuf::BotStatus* PortalToClientMessage::release_bot_status() {
999  auto temp = unsafe_arena_release_bot_status();
1000  if (GetArena() != nullptr) {
1001  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1002  }
1003  return temp;
1004 }
1005 inline ::jaiabot::protobuf::BotStatus* PortalToClientMessage::unsafe_arena_release_bot_status() {
1006  // @@protoc_insertion_point(field_release:jaiabot.protobuf.PortalToClientMessage.bot_status)
1007  _has_bits_[0] &= ~0x00000001u;
1008  ::jaiabot::protobuf::BotStatus* temp = bot_status_;
1009  bot_status_ = nullptr;
1010  return temp;
1011 }
1012 inline ::jaiabot::protobuf::BotStatus* PortalToClientMessage::_internal_mutable_bot_status() {
1013  _has_bits_[0] |= 0x00000001u;
1014  if (bot_status_ == nullptr) {
1015  auto* p = CreateMaybeMessage<::jaiabot::protobuf::BotStatus>(GetArena());
1016  bot_status_ = p;
1017  }
1018  return bot_status_;
1019 }
1020 inline ::jaiabot::protobuf::BotStatus* PortalToClientMessage::mutable_bot_status() {
1021  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.PortalToClientMessage.bot_status)
1022  return _internal_mutable_bot_status();
1023 }
1024 inline void PortalToClientMessage::set_allocated_bot_status(::jaiabot::protobuf::BotStatus* bot_status) {
1025  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1026  if (message_arena == nullptr) {
1027  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(bot_status_);
1028  }
1029  if (bot_status) {
1030  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1031  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(bot_status)->GetArena();
1032  if (message_arena != submessage_arena) {
1033  bot_status = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1034  message_arena, bot_status, submessage_arena);
1035  }
1036  _has_bits_[0] |= 0x00000001u;
1037  } else {
1038  _has_bits_[0] &= ~0x00000001u;
1039  }
1040  bot_status_ = bot_status;
1041  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.PortalToClientMessage.bot_status)
1042 }
1043 
1044 // optional .jaiabot.protobuf.Engineering engineering_status = 2;
1045 inline bool PortalToClientMessage::_internal_has_engineering_status() const {
1046  bool value = (_has_bits_[0] & 0x00000002u) != 0;
1047  PROTOBUF_ASSUME(!value || engineering_status_ != nullptr);
1048  return value;
1049 }
1050 inline bool PortalToClientMessage::has_engineering_status() const {
1051  return _internal_has_engineering_status();
1052 }
1053 inline const ::jaiabot::protobuf::Engineering& PortalToClientMessage::_internal_engineering_status() const {
1054  const ::jaiabot::protobuf::Engineering* p = engineering_status_;
1055  return p != nullptr ? *p : *reinterpret_cast<const ::jaiabot::protobuf::Engineering*>(
1057 }
1058 inline const ::jaiabot::protobuf::Engineering& PortalToClientMessage::engineering_status() const {
1059  // @@protoc_insertion_point(field_get:jaiabot.protobuf.PortalToClientMessage.engineering_status)
1060  return _internal_engineering_status();
1061 }
1062 inline void PortalToClientMessage::unsafe_arena_set_allocated_engineering_status(
1063  ::jaiabot::protobuf::Engineering* engineering_status) {
1064  if (GetArena() == nullptr) {
1065  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(engineering_status_);
1066  }
1067  engineering_status_ = engineering_status;
1068  if (engineering_status) {
1069  _has_bits_[0] |= 0x00000002u;
1070  } else {
1071  _has_bits_[0] &= ~0x00000002u;
1072  }
1073  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.PortalToClientMessage.engineering_status)
1074 }
1075 inline ::jaiabot::protobuf::Engineering* PortalToClientMessage::release_engineering_status() {
1076  auto temp = unsafe_arena_release_engineering_status();
1077  if (GetArena() != nullptr) {
1078  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1079  }
1080  return temp;
1081 }
1082 inline ::jaiabot::protobuf::Engineering* PortalToClientMessage::unsafe_arena_release_engineering_status() {
1083  // @@protoc_insertion_point(field_release:jaiabot.protobuf.PortalToClientMessage.engineering_status)
1084  _has_bits_[0] &= ~0x00000002u;
1085  ::jaiabot::protobuf::Engineering* temp = engineering_status_;
1086  engineering_status_ = nullptr;
1087  return temp;
1088 }
1089 inline ::jaiabot::protobuf::Engineering* PortalToClientMessage::_internal_mutable_engineering_status() {
1090  _has_bits_[0] |= 0x00000002u;
1091  if (engineering_status_ == nullptr) {
1092  auto* p = CreateMaybeMessage<::jaiabot::protobuf::Engineering>(GetArena());
1093  engineering_status_ = p;
1094  }
1095  return engineering_status_;
1096 }
1097 inline ::jaiabot::protobuf::Engineering* PortalToClientMessage::mutable_engineering_status() {
1098  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.PortalToClientMessage.engineering_status)
1099  return _internal_mutable_engineering_status();
1100 }
1101 inline void PortalToClientMessage::set_allocated_engineering_status(::jaiabot::protobuf::Engineering* engineering_status) {
1102  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1103  if (message_arena == nullptr) {
1104  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(engineering_status_);
1105  }
1106  if (engineering_status) {
1107  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1108  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(engineering_status)->GetArena();
1109  if (message_arena != submessage_arena) {
1110  engineering_status = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1111  message_arena, engineering_status, submessage_arena);
1112  }
1113  _has_bits_[0] |= 0x00000002u;
1114  } else {
1115  _has_bits_[0] &= ~0x00000002u;
1116  }
1117  engineering_status_ = engineering_status;
1118  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.PortalToClientMessage.engineering_status)
1119 }
1120 
1121 // optional .jaiabot.protobuf.HubStatus hub_status = 3;
1122 inline bool PortalToClientMessage::_internal_has_hub_status() const {
1123  bool value = (_has_bits_[0] & 0x00000004u) != 0;
1124  PROTOBUF_ASSUME(!value || hub_status_ != nullptr);
1125  return value;
1126 }
1127 inline bool PortalToClientMessage::has_hub_status() const {
1128  return _internal_has_hub_status();
1129 }
1130 inline const ::jaiabot::protobuf::HubStatus& PortalToClientMessage::_internal_hub_status() const {
1131  const ::jaiabot::protobuf::HubStatus* p = hub_status_;
1132  return p != nullptr ? *p : *reinterpret_cast<const ::jaiabot::protobuf::HubStatus*>(
1134 }
1135 inline const ::jaiabot::protobuf::HubStatus& PortalToClientMessage::hub_status() const {
1136  // @@protoc_insertion_point(field_get:jaiabot.protobuf.PortalToClientMessage.hub_status)
1137  return _internal_hub_status();
1138 }
1139 inline void PortalToClientMessage::unsafe_arena_set_allocated_hub_status(
1140  ::jaiabot::protobuf::HubStatus* hub_status) {
1141  if (GetArena() == nullptr) {
1142  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(hub_status_);
1143  }
1144  hub_status_ = hub_status;
1145  if (hub_status) {
1146  _has_bits_[0] |= 0x00000004u;
1147  } else {
1148  _has_bits_[0] &= ~0x00000004u;
1149  }
1150  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.PortalToClientMessage.hub_status)
1151 }
1152 inline ::jaiabot::protobuf::HubStatus* PortalToClientMessage::release_hub_status() {
1153  auto temp = unsafe_arena_release_hub_status();
1154  if (GetArena() != nullptr) {
1155  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1156  }
1157  return temp;
1158 }
1159 inline ::jaiabot::protobuf::HubStatus* PortalToClientMessage::unsafe_arena_release_hub_status() {
1160  // @@protoc_insertion_point(field_release:jaiabot.protobuf.PortalToClientMessage.hub_status)
1161  _has_bits_[0] &= ~0x00000004u;
1162  ::jaiabot::protobuf::HubStatus* temp = hub_status_;
1163  hub_status_ = nullptr;
1164  return temp;
1165 }
1166 inline ::jaiabot::protobuf::HubStatus* PortalToClientMessage::_internal_mutable_hub_status() {
1167  _has_bits_[0] |= 0x00000004u;
1168  if (hub_status_ == nullptr) {
1169  auto* p = CreateMaybeMessage<::jaiabot::protobuf::HubStatus>(GetArena());
1170  hub_status_ = p;
1171  }
1172  return hub_status_;
1173 }
1174 inline ::jaiabot::protobuf::HubStatus* PortalToClientMessage::mutable_hub_status() {
1175  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.PortalToClientMessage.hub_status)
1176  return _internal_mutable_hub_status();
1177 }
1178 inline void PortalToClientMessage::set_allocated_hub_status(::jaiabot::protobuf::HubStatus* hub_status) {
1179  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1180  if (message_arena == nullptr) {
1181  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(hub_status_);
1182  }
1183  if (hub_status) {
1184  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1185  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(hub_status)->GetArena();
1186  if (message_arena != submessage_arena) {
1187  hub_status = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1188  message_arena, hub_status, submessage_arena);
1189  }
1190  _has_bits_[0] |= 0x00000004u;
1191  } else {
1192  _has_bits_[0] &= ~0x00000004u;
1193  }
1194  hub_status_ = hub_status;
1195  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.PortalToClientMessage.hub_status)
1196 }
1197 
1198 // optional .jaiabot.protobuf.TaskPacket task_packet = 4;
1199 inline bool PortalToClientMessage::_internal_has_task_packet() const {
1200  bool value = (_has_bits_[0] & 0x00000008u) != 0;
1201  PROTOBUF_ASSUME(!value || task_packet_ != nullptr);
1202  return value;
1203 }
1204 inline bool PortalToClientMessage::has_task_packet() const {
1205  return _internal_has_task_packet();
1206 }
1207 inline const ::jaiabot::protobuf::TaskPacket& PortalToClientMessage::_internal_task_packet() const {
1208  const ::jaiabot::protobuf::TaskPacket* p = task_packet_;
1209  return p != nullptr ? *p : *reinterpret_cast<const ::jaiabot::protobuf::TaskPacket*>(
1211 }
1212 inline const ::jaiabot::protobuf::TaskPacket& PortalToClientMessage::task_packet() const {
1213  // @@protoc_insertion_point(field_get:jaiabot.protobuf.PortalToClientMessage.task_packet)
1214  return _internal_task_packet();
1215 }
1216 inline void PortalToClientMessage::unsafe_arena_set_allocated_task_packet(
1217  ::jaiabot::protobuf::TaskPacket* task_packet) {
1218  if (GetArena() == nullptr) {
1219  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(task_packet_);
1220  }
1221  task_packet_ = task_packet;
1222  if (task_packet) {
1223  _has_bits_[0] |= 0x00000008u;
1224  } else {
1225  _has_bits_[0] &= ~0x00000008u;
1226  }
1227  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.PortalToClientMessage.task_packet)
1228 }
1229 inline ::jaiabot::protobuf::TaskPacket* PortalToClientMessage::release_task_packet() {
1230  auto temp = unsafe_arena_release_task_packet();
1231  if (GetArena() != nullptr) {
1232  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1233  }
1234  return temp;
1235 }
1236 inline ::jaiabot::protobuf::TaskPacket* PortalToClientMessage::unsafe_arena_release_task_packet() {
1237  // @@protoc_insertion_point(field_release:jaiabot.protobuf.PortalToClientMessage.task_packet)
1238  _has_bits_[0] &= ~0x00000008u;
1239  ::jaiabot::protobuf::TaskPacket* temp = task_packet_;
1240  task_packet_ = nullptr;
1241  return temp;
1242 }
1243 inline ::jaiabot::protobuf::TaskPacket* PortalToClientMessage::_internal_mutable_task_packet() {
1244  _has_bits_[0] |= 0x00000008u;
1245  if (task_packet_ == nullptr) {
1246  auto* p = CreateMaybeMessage<::jaiabot::protobuf::TaskPacket>(GetArena());
1247  task_packet_ = p;
1248  }
1249  return task_packet_;
1250 }
1251 inline ::jaiabot::protobuf::TaskPacket* PortalToClientMessage::mutable_task_packet() {
1252  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.PortalToClientMessage.task_packet)
1253  return _internal_mutable_task_packet();
1254 }
1255 inline void PortalToClientMessage::set_allocated_task_packet(::jaiabot::protobuf::TaskPacket* task_packet) {
1256  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1257  if (message_arena == nullptr) {
1258  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(task_packet_);
1259  }
1260  if (task_packet) {
1261  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1262  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(task_packet)->GetArena();
1263  if (message_arena != submessage_arena) {
1264  task_packet = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1265  message_arena, task_packet, submessage_arena);
1266  }
1267  _has_bits_[0] |= 0x00000008u;
1268  } else {
1269  _has_bits_[0] &= ~0x00000008u;
1270  }
1271  task_packet_ = task_packet;
1272  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.PortalToClientMessage.task_packet)
1273 }
1274 
1275 // optional .jaiabot.protobuf.DeviceMetadata device_metadata = 5;
1276 inline bool PortalToClientMessage::_internal_has_device_metadata() const {
1277  bool value = (_has_bits_[0] & 0x00000010u) != 0;
1278  PROTOBUF_ASSUME(!value || device_metadata_ != nullptr);
1279  return value;
1280 }
1281 inline bool PortalToClientMessage::has_device_metadata() const {
1282  return _internal_has_device_metadata();
1283 }
1284 inline const ::jaiabot::protobuf::DeviceMetadata& PortalToClientMessage::_internal_device_metadata() const {
1285  const ::jaiabot::protobuf::DeviceMetadata* p = device_metadata_;
1286  return p != nullptr ? *p : *reinterpret_cast<const ::jaiabot::protobuf::DeviceMetadata*>(
1288 }
1289 inline const ::jaiabot::protobuf::DeviceMetadata& PortalToClientMessage::device_metadata() const {
1290  // @@protoc_insertion_point(field_get:jaiabot.protobuf.PortalToClientMessage.device_metadata)
1291  return _internal_device_metadata();
1292 }
1293 inline void PortalToClientMessage::unsafe_arena_set_allocated_device_metadata(
1294  ::jaiabot::protobuf::DeviceMetadata* device_metadata) {
1295  if (GetArena() == nullptr) {
1296  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(device_metadata_);
1297  }
1298  device_metadata_ = device_metadata;
1299  if (device_metadata) {
1300  _has_bits_[0] |= 0x00000010u;
1301  } else {
1302  _has_bits_[0] &= ~0x00000010u;
1303  }
1304  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.PortalToClientMessage.device_metadata)
1305 }
1306 inline ::jaiabot::protobuf::DeviceMetadata* PortalToClientMessage::release_device_metadata() {
1307  auto temp = unsafe_arena_release_device_metadata();
1308  if (GetArena() != nullptr) {
1309  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1310  }
1311  return temp;
1312 }
1313 inline ::jaiabot::protobuf::DeviceMetadata* PortalToClientMessage::unsafe_arena_release_device_metadata() {
1314  // @@protoc_insertion_point(field_release:jaiabot.protobuf.PortalToClientMessage.device_metadata)
1315  _has_bits_[0] &= ~0x00000010u;
1316  ::jaiabot::protobuf::DeviceMetadata* temp = device_metadata_;
1317  device_metadata_ = nullptr;
1318  return temp;
1319 }
1320 inline ::jaiabot::protobuf::DeviceMetadata* PortalToClientMessage::_internal_mutable_device_metadata() {
1321  _has_bits_[0] |= 0x00000010u;
1322  if (device_metadata_ == nullptr) {
1323  auto* p = CreateMaybeMessage<::jaiabot::protobuf::DeviceMetadata>(GetArena());
1324  device_metadata_ = p;
1325  }
1326  return device_metadata_;
1327 }
1328 inline ::jaiabot::protobuf::DeviceMetadata* PortalToClientMessage::mutable_device_metadata() {
1329  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.PortalToClientMessage.device_metadata)
1330  return _internal_mutable_device_metadata();
1331 }
1332 inline void PortalToClientMessage::set_allocated_device_metadata(::jaiabot::protobuf::DeviceMetadata* device_metadata) {
1333  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1334  if (message_arena == nullptr) {
1335  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(device_metadata_);
1336  }
1337  if (device_metadata) {
1338  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1339  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(device_metadata)->GetArena();
1340  if (message_arena != submessage_arena) {
1341  device_metadata = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1342  message_arena, device_metadata, submessage_arena);
1343  }
1344  _has_bits_[0] |= 0x00000010u;
1345  } else {
1346  _has_bits_[0] &= ~0x00000010u;
1347  }
1348  device_metadata_ = device_metadata;
1349  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.PortalToClientMessage.device_metadata)
1350 }
1351 
1352 // optional .jaiabot.protobuf.MissionPlan active_mission_plan = 6;
1353 inline bool PortalToClientMessage::_internal_has_active_mission_plan() const {
1354  bool value = (_has_bits_[0] & 0x00000020u) != 0;
1355  PROTOBUF_ASSUME(!value || active_mission_plan_ != nullptr);
1356  return value;
1357 }
1358 inline bool PortalToClientMessage::has_active_mission_plan() const {
1359  return _internal_has_active_mission_plan();
1360 }
1361 inline const ::jaiabot::protobuf::MissionPlan& PortalToClientMessage::_internal_active_mission_plan() const {
1362  const ::jaiabot::protobuf::MissionPlan* p = active_mission_plan_;
1363  return p != nullptr ? *p : *reinterpret_cast<const ::jaiabot::protobuf::MissionPlan*>(
1365 }
1366 inline const ::jaiabot::protobuf::MissionPlan& PortalToClientMessage::active_mission_plan() const {
1367  // @@protoc_insertion_point(field_get:jaiabot.protobuf.PortalToClientMessage.active_mission_plan)
1368  return _internal_active_mission_plan();
1369 }
1370 inline void PortalToClientMessage::unsafe_arena_set_allocated_active_mission_plan(
1371  ::jaiabot::protobuf::MissionPlan* active_mission_plan) {
1372  if (GetArena() == nullptr) {
1373  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(active_mission_plan_);
1374  }
1375  active_mission_plan_ = active_mission_plan;
1376  if (active_mission_plan) {
1377  _has_bits_[0] |= 0x00000020u;
1378  } else {
1379  _has_bits_[0] &= ~0x00000020u;
1380  }
1381  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.PortalToClientMessage.active_mission_plan)
1382 }
1383 inline ::jaiabot::protobuf::MissionPlan* PortalToClientMessage::release_active_mission_plan() {
1384  auto temp = unsafe_arena_release_active_mission_plan();
1385  if (GetArena() != nullptr) {
1386  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1387  }
1388  return temp;
1389 }
1390 inline ::jaiabot::protobuf::MissionPlan* PortalToClientMessage::unsafe_arena_release_active_mission_plan() {
1391  // @@protoc_insertion_point(field_release:jaiabot.protobuf.PortalToClientMessage.active_mission_plan)
1392  _has_bits_[0] &= ~0x00000020u;
1393  ::jaiabot::protobuf::MissionPlan* temp = active_mission_plan_;
1394  active_mission_plan_ = nullptr;
1395  return temp;
1396 }
1397 inline ::jaiabot::protobuf::MissionPlan* PortalToClientMessage::_internal_mutable_active_mission_plan() {
1398  _has_bits_[0] |= 0x00000020u;
1399  if (active_mission_plan_ == nullptr) {
1400  auto* p = CreateMaybeMessage<::jaiabot::protobuf::MissionPlan>(GetArena());
1401  active_mission_plan_ = p;
1402  }
1403  return active_mission_plan_;
1404 }
1405 inline ::jaiabot::protobuf::MissionPlan* PortalToClientMessage::mutable_active_mission_plan() {
1406  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.PortalToClientMessage.active_mission_plan)
1407  return _internal_mutable_active_mission_plan();
1408 }
1409 inline void PortalToClientMessage::set_allocated_active_mission_plan(::jaiabot::protobuf::MissionPlan* active_mission_plan) {
1410  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1411  if (message_arena == nullptr) {
1412  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(active_mission_plan_);
1413  }
1414  if (active_mission_plan) {
1415  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1416  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(active_mission_plan)->GetArena();
1417  if (message_arena != submessage_arena) {
1418  active_mission_plan = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1419  message_arena, active_mission_plan, submessage_arena);
1420  }
1421  _has_bits_[0] |= 0x00000020u;
1422  } else {
1423  _has_bits_[0] &= ~0x00000020u;
1424  }
1425  active_mission_plan_ = active_mission_plan;
1426  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.PortalToClientMessage.active_mission_plan)
1427 }
1428 
1429 // optional .jaiabot.protobuf.ContactUpdate contact_update = 7;
1430 inline bool PortalToClientMessage::_internal_has_contact_update() const {
1431  bool value = (_has_bits_[0] & 0x00000040u) != 0;
1432  PROTOBUF_ASSUME(!value || contact_update_ != nullptr);
1433  return value;
1434 }
1435 inline bool PortalToClientMessage::has_contact_update() const {
1436  return _internal_has_contact_update();
1437 }
1438 inline const ::jaiabot::protobuf::ContactUpdate& PortalToClientMessage::_internal_contact_update() const {
1439  const ::jaiabot::protobuf::ContactUpdate* p = contact_update_;
1440  return p != nullptr ? *p : *reinterpret_cast<const ::jaiabot::protobuf::ContactUpdate*>(
1442 }
1443 inline const ::jaiabot::protobuf::ContactUpdate& PortalToClientMessage::contact_update() const {
1444  // @@protoc_insertion_point(field_get:jaiabot.protobuf.PortalToClientMessage.contact_update)
1445  return _internal_contact_update();
1446 }
1447 inline void PortalToClientMessage::unsafe_arena_set_allocated_contact_update(
1448  ::jaiabot::protobuf::ContactUpdate* contact_update) {
1449  if (GetArena() == nullptr) {
1450  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contact_update_);
1451  }
1452  contact_update_ = contact_update;
1453  if (contact_update) {
1454  _has_bits_[0] |= 0x00000040u;
1455  } else {
1456  _has_bits_[0] &= ~0x00000040u;
1457  }
1458  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.PortalToClientMessage.contact_update)
1459 }
1460 inline ::jaiabot::protobuf::ContactUpdate* PortalToClientMessage::release_contact_update() {
1461  auto temp = unsafe_arena_release_contact_update();
1462  if (GetArena() != nullptr) {
1463  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1464  }
1465  return temp;
1466 }
1467 inline ::jaiabot::protobuf::ContactUpdate* PortalToClientMessage::unsafe_arena_release_contact_update() {
1468  // @@protoc_insertion_point(field_release:jaiabot.protobuf.PortalToClientMessage.contact_update)
1469  _has_bits_[0] &= ~0x00000040u;
1470  ::jaiabot::protobuf::ContactUpdate* temp = contact_update_;
1471  contact_update_ = nullptr;
1472  return temp;
1473 }
1474 inline ::jaiabot::protobuf::ContactUpdate* PortalToClientMessage::_internal_mutable_contact_update() {
1475  _has_bits_[0] |= 0x00000040u;
1476  if (contact_update_ == nullptr) {
1477  auto* p = CreateMaybeMessage<::jaiabot::protobuf::ContactUpdate>(GetArena());
1478  contact_update_ = p;
1479  }
1480  return contact_update_;
1481 }
1482 inline ::jaiabot::protobuf::ContactUpdate* PortalToClientMessage::mutable_contact_update() {
1483  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.PortalToClientMessage.contact_update)
1484  return _internal_mutable_contact_update();
1485 }
1486 inline void PortalToClientMessage::set_allocated_contact_update(::jaiabot::protobuf::ContactUpdate* contact_update) {
1487  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1488  if (message_arena == nullptr) {
1489  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(contact_update_);
1490  }
1491  if (contact_update) {
1492  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1493  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contact_update)->GetArena();
1494  if (message_arena != submessage_arena) {
1495  contact_update = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1496  message_arena, contact_update, submessage_arena);
1497  }
1498  _has_bits_[0] |= 0x00000040u;
1499  } else {
1500  _has_bits_[0] &= ~0x00000040u;
1501  }
1502  contact_update_ = contact_update;
1503  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.PortalToClientMessage.contact_update)
1504 }
1505 
1506 #ifdef __GNUC__
1507  #pragma GCC diagnostic pop
1508 #endif // __GNUC__
1509 // -------------------------------------------------------------------
1510 
1511 
1512 // @@protoc_insertion_point(namespace_scope)
1513 
1514 } // namespace protobuf
1515 } // namespace jaiabot
1516 
1517 // @@protoc_insertion_point(global_scope)
1518 
1519 #include <google/protobuf/port_undef.inc>
1520 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fportal_2eproto
ClientToPortalMessage & operator=(ClientToPortalMessage &&from) noexcept
Definition: portal.pb.h:104
::jaiabot::protobuf::ContactUpdate * mutable_contact_update()
::jaiabot::protobuf::TaskPacket * mutable_task_packet()
void set_allocated_bot_status(::jaiabot::protobuf::BotStatus *bot_status)
::jaiabot::protobuf::MissionPlan * mutable_active_mission_plan()
void set_allocated_contact_update(::jaiabot::protobuf::ContactUpdate *contact_update)
::jaiabot::protobuf::ContactUpdate * release_contact_update()
const std::string & client_id() const
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition: portal.pb.h:113
::jaiabot::protobuf::HubStatus * release_hub_status()
friend void swap(PortalToClientMessage &a, PortalToClientMessage &b)
Definition: portal.pb.h:379
const ::jaiabot::protobuf::MissionPlan & active_mission_plan() const
ClientToPortalMessage * New() const final
Definition: portal.pb.h:158
friend void swap(ClientToPortalMessage &a, ClientToPortalMessage &b)
Definition: portal.pb.h:139
ClientToPortalMessage(::PROTOBUF_NAMESPACE_ID::Arena *arena)
static const ClientToPortalMessage * internal_default_instance()
Definition: portal.pb.h:132
void Swap(PortalToClientMessage *other)
Definition: portal.pb.h:382
::jaiabot::protobuf::DeviceMetadata * mutable_device_metadata()
::jaiabot::protobuf::BotStatus * unsafe_arena_release_bot_status()
PortalToClientMessage(PortalToClientMessage &&from) noexcept
Definition: portal.pb.h:335
void set_client_id(const char *value, size_t size)
::jaiabot::protobuf::HubStatus * unsafe_arena_release_hub_status()
::jaiabot::protobuf::TaskPacket * release_task_packet()
::jaiabot::protobuf::Engineering * mutable_engineering_status()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void set_allocated_engineering_status(::jaiabot::protobuf::Engineering *engineering_status)
const ::jaiabot::protobuf::DeviceMetadata & device_metadata() const
void unsafe_arena_set_allocated_bot_status(::jaiabot::protobuf::BotStatus *bot_status)
::jaiabot::protobuf::DeviceMetadata * unsafe_arena_release_device_metadata()
void unsafe_arena_set_allocated_task_packet(::jaiabot::protobuf::TaskPacket *task_packet)
static const ClientToPortalMessage & default_instance()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::jaiabot::protobuf::BotStatus * mutable_bot_status()
const ::jaiabot::protobuf::TaskPacket & task_packet() const
void UnsafeArenaSwap(ClientToPortalMessage *other)
Definition: portal.pb.h:150
PortalToClientMessage * New() const final
Definition: portal.pb.h:398
ClientToPortalMessage & operator=(const ClientToPortalMessage &from)
Definition: portal.pb.h:100
PortalToClientMessage(::PROTOBUF_NAMESPACE_ID::Arena *arena)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition: portal.pb.h:116
ClientToPortalMessage * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: portal.pb.h:162
void set_allocated_hub_status(::jaiabot::protobuf::HubStatus *hub_status)
::jaiabot::protobuf::HubStatus * mutable_hub_status()
void set_allocated_active_mission_plan(::jaiabot::protobuf::MissionPlan *active_mission_plan)
::jaiabot::protobuf::Engineering * release_engineering_status()
::jaiabot::protobuf::ContactUpdate * unsafe_arena_release_contact_update()
::jaiabot::protobuf::TaskPacket * unsafe_arena_release_task_packet()
const ::jaiabot::protobuf::Engineering & engineering_status() const
void unsafe_arena_set_allocated_engineering_status(::jaiabot::protobuf::Engineering *engineering_status)
::jaiabot::protobuf::MissionPlan * release_active_mission_plan()
void set_allocated_client_id(std::string *client_id)
void CopyFrom(const PortalToClientMessage &from)
PortalToClientMessage & operator=(PortalToClientMessage &&from) noexcept
Definition: portal.pb.h:344
::jaiabot::protobuf::BotStatus * release_bot_status()
void set_allocated_task_packet(::jaiabot::protobuf::TaskPacket *task_packet)
void MergeFrom(const ClientToPortalMessage &from)
::jaiabot::protobuf::DeviceMetadata * release_device_metadata()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void unsafe_arena_set_allocated_hub_status(::jaiabot::protobuf::HubStatus *hub_status)
PortalToClientMessage(const PortalToClientMessage &from)
void unsafe_arena_set_allocated_device_metadata(::jaiabot::protobuf::DeviceMetadata *device_metadata)
PortalToClientMessage & operator=(const PortalToClientMessage &from)
Definition: portal.pb.h:340
void MergeFrom(const PortalToClientMessage &from)
void set_client_id(const char *value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: portal.pb.h:123
::jaiabot::protobuf::MissionPlan * unsafe_arena_release_active_mission_plan()
const ::jaiabot::protobuf::ContactUpdate & contact_update() const
void set_allocated_device_metadata(::jaiabot::protobuf::DeviceMetadata *device_metadata)
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
PortalToClientMessage * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: portal.pb.h:402
ClientToPortalMessage(const ClientToPortalMessage &from)
void unsafe_arena_set_allocated_active_mission_plan(::jaiabot::protobuf::MissionPlan *active_mission_plan)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: portal.pb.h:126
static const PortalToClientMessage * internal_default_instance()
Definition: portal.pb.h:372
const ::jaiabot::protobuf::HubStatus & hub_status() const
void Swap(ClientToPortalMessage *other)
Definition: portal.pb.h:142
void CopyFrom(const ClientToPortalMessage &from)
const ::jaiabot::protobuf::BotStatus & bot_status() const
void UnsafeArenaSwap(PortalToClientMessage *other)
Definition: portal.pb.h:390
void set_client_id(std::string &&value)
void unsafe_arena_set_allocated_contact_update(::jaiabot::protobuf::ContactUpdate *contact_update)
static const PortalToClientMessage & default_instance()
::jaiabot::protobuf::Engineering * unsafe_arena_release_engineering_status()
ClientToPortalMessage(ClientToPortalMessage &&from) noexcept
Definition: portal.pb.h:95
void set_client_id(const std::string &value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: portal.pb.h:120
constexpr goby::middleware::Group task_packet
Definition: groups.h:84
constexpr goby::middleware::Group contact_update
Definition: groups.h:91
constexpr goby::middleware::Group engineering_status
Definition: groups.h:88
constexpr goby::middleware::Group engineering_command
Definition: groups.h:86
constexpr goby::middleware::Group bot_status
Definition: groups.h:81
constexpr goby::middleware::Group hub_status
Definition: groups.h:67
ClientToPortalMessageDefaultTypeInternal _ClientToPortalMessage_default_instance_
MissionPlanDefaultTypeInternal _MissionPlan_default_instance_
DeviceMetadataDefaultTypeInternal _DeviceMetadata_default_instance_
TaskPacketDefaultTypeInternal _TaskPacket_default_instance_
ContactUpdateDefaultTypeInternal _ContactUpdate_default_instance_
CommandDefaultTypeInternal _Command_default_instance_
PortalToClientMessageDefaultTypeInternal _PortalToClientMessage_default_instance_
EngineeringDefaultTypeInternal _Engineering_default_instance_
BotStatusDefaultTypeInternal _BotStatus_default_instance_
CommandForHubDefaultTypeInternal _CommandForHub_default_instance_
HubStatusDefaultTypeInternal _HubStatus_default_instance_
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fportal_2eproto
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
Definition: portal.pb.h:66
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
Definition: portal.pb.h:65
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
Definition: portal.pb.h:64
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)