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