JaiaBot 2.6.0+14+g3cab9c46
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 kCommandCommsResultFieldNumber = 8,
454 kRemoteCommandFieldNumber = 9,
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 PROTOBUF_NODISCARD ::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:
470 void unsafe_arena_set_allocated_bot_status(
472 ::jaiabot::protobuf::BotStatus* unsafe_arena_release_bot_status();
473
474 // optional .jaiabot.protobuf.Engineering engineering_status = 2;
475 bool has_engineering_status() const;
476 private:
477 bool _internal_has_engineering_status() const;
478 public:
480 const ::jaiabot::protobuf::Engineering& engineering_status() const;
481 PROTOBUF_NODISCARD ::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:
488 void unsafe_arena_set_allocated_engineering_status(
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 PROTOBUF_NODISCARD ::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:
506 void unsafe_arena_set_allocated_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 PROTOBUF_NODISCARD ::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:
524 void unsafe_arena_set_allocated_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 PROTOBUF_NODISCARD ::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:
542 void unsafe_arena_set_allocated_device_metadata(
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;
547 bool has_active_mission_plan() const;
548 private:
549 bool _internal_has_active_mission_plan() const;
550 public:
552 const ::jaiabot::protobuf::MissionPlan& active_mission_plan() const;
553 PROTOBUF_NODISCARD ::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:
560 void unsafe_arena_set_allocated_active_mission_plan(
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 PROTOBUF_NODISCARD ::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:
578 void unsafe_arena_set_allocated_contact_update(
579 ::jaiabot::protobuf::ContactUpdate* contact_update);
580 ::jaiabot::protobuf::ContactUpdate* unsafe_arena_release_contact_update();
581
582 // optional .jaiabot.protobuf.CommandCommsResult command_comms_result = 8;
583 bool has_command_comms_result() const;
584 private:
585 bool _internal_has_command_comms_result() const;
586 public:
588 const ::jaiabot::protobuf::CommandCommsResult& command_comms_result() const;
589 PROTOBUF_NODISCARD ::jaiabot::protobuf::CommandCommsResult* release_command_comms_result();
590 ::jaiabot::protobuf::CommandCommsResult* mutable_command_comms_result();
591 void set_allocated_command_comms_result(::jaiabot::protobuf::CommandCommsResult* command_comms_result);
592 private:
593 const ::jaiabot::protobuf::CommandCommsResult& _internal_command_comms_result() const;
594 ::jaiabot::protobuf::CommandCommsResult* _internal_mutable_command_comms_result();
595 public:
596 void unsafe_arena_set_allocated_command_comms_result(
597 ::jaiabot::protobuf::CommandCommsResult* command_comms_result);
598 ::jaiabot::protobuf::CommandCommsResult* unsafe_arena_release_command_comms_result();
599
600 // optional .jaiabot.protobuf.Command remote_command = 9;
601 bool has_remote_command() const;
602 private:
603 bool _internal_has_remote_command() const;
604 public:
606 const ::jaiabot::protobuf::Command& remote_command() const;
607 PROTOBUF_NODISCARD ::jaiabot::protobuf::Command* release_remote_command();
608 ::jaiabot::protobuf::Command* mutable_remote_command();
609 void set_allocated_remote_command(::jaiabot::protobuf::Command* remote_command);
610 private:
611 const ::jaiabot::protobuf::Command& _internal_remote_command() const;
612 ::jaiabot::protobuf::Command* _internal_mutable_remote_command();
613 public:
614 void unsafe_arena_set_allocated_remote_command(
615 ::jaiabot::protobuf::Command* remote_command);
616 ::jaiabot::protobuf::Command* unsafe_arena_release_remote_command();
617
618 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.PortalToClientMessage)
619 private:
620 class _Internal;
621
622 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
623 typedef void InternalArenaConstructable_;
624 typedef void DestructorSkippable_;
625 struct Impl_ {
626 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
627 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
629 ::jaiabot::protobuf::Engineering* engineering_status_;
632 ::jaiabot::protobuf::DeviceMetadata* device_metadata_;
633 ::jaiabot::protobuf::MissionPlan* active_mission_plan_;
634 ::jaiabot::protobuf::ContactUpdate* contact_update_;
635 ::jaiabot::protobuf::CommandCommsResult* command_comms_result_;
636 ::jaiabot::protobuf::Command* remote_command_;
637 };
638 union { Impl_ _impl_; };
639 friend struct ::TableStruct_jaiabot_2fmessages_2fportal_2eproto;
640};
641// ===================================================================
642
643
644// ===================================================================
645
646#ifdef __GNUC__
647 #pragma GCC diagnostic push
648 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
649#endif // __GNUC__
650// ClientToPortalMessage
651
652// optional .jaiabot.protobuf.Engineering engineering_command = 1;
653inline bool ClientToPortalMessage::_internal_has_engineering_command() const {
654 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
655 PROTOBUF_ASSUME(!value || _impl_.engineering_command_ != nullptr);
656 return value;
657}
658inline bool ClientToPortalMessage::has_engineering_command() const {
659 return _internal_has_engineering_command();
660}
661inline const ::jaiabot::protobuf::Engineering& ClientToPortalMessage::_internal_engineering_command() const {
662 const ::jaiabot::protobuf::Engineering* p = _impl_.engineering_command_;
663 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::Engineering&>(
665}
666inline const ::jaiabot::protobuf::Engineering& ClientToPortalMessage::engineering_command() const {
667 // @@protoc_insertion_point(field_get:jaiabot.protobuf.ClientToPortalMessage.engineering_command)
668 return _internal_engineering_command();
669}
670inline void ClientToPortalMessage::unsafe_arena_set_allocated_engineering_command(
671 ::jaiabot::protobuf::Engineering* engineering_command) {
672 if (GetArenaForAllocation() == nullptr) {
673 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.engineering_command_);
674 }
675 _impl_.engineering_command_ = engineering_command;
676 if (engineering_command) {
677 _impl_._has_bits_[0] |= 0x00000002u;
678 } else {
679 _impl_._has_bits_[0] &= ~0x00000002u;
680 }
681 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.ClientToPortalMessage.engineering_command)
682}
683inline ::jaiabot::protobuf::Engineering* ClientToPortalMessage::release_engineering_command() {
684 _impl_._has_bits_[0] &= ~0x00000002u;
685 ::jaiabot::protobuf::Engineering* temp = _impl_.engineering_command_;
686 _impl_.engineering_command_ = nullptr;
687#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
688 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
689 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
690 if (GetArenaForAllocation() == nullptr) { delete old; }
691#else // PROTOBUF_FORCE_COPY_IN_RELEASE
692 if (GetArenaForAllocation() != nullptr) {
693 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
694 }
695#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
696 return temp;
697}
698inline ::jaiabot::protobuf::Engineering* ClientToPortalMessage::unsafe_arena_release_engineering_command() {
699 // @@protoc_insertion_point(field_release:jaiabot.protobuf.ClientToPortalMessage.engineering_command)
700 _impl_._has_bits_[0] &= ~0x00000002u;
701 ::jaiabot::protobuf::Engineering* temp = _impl_.engineering_command_;
702 _impl_.engineering_command_ = nullptr;
703 return temp;
704}
705inline ::jaiabot::protobuf::Engineering* ClientToPortalMessage::_internal_mutable_engineering_command() {
706 _impl_._has_bits_[0] |= 0x00000002u;
707 if (_impl_.engineering_command_ == nullptr) {
708 auto* p = CreateMaybeMessage<::jaiabot::protobuf::Engineering>(GetArenaForAllocation());
709 _impl_.engineering_command_ = p;
710 }
711 return _impl_.engineering_command_;
712}
713inline ::jaiabot::protobuf::Engineering* ClientToPortalMessage::mutable_engineering_command() {
714 ::jaiabot::protobuf::Engineering* _msg = _internal_mutable_engineering_command();
715 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.ClientToPortalMessage.engineering_command)
716 return _msg;
717}
718inline void ClientToPortalMessage::set_allocated_engineering_command(::jaiabot::protobuf::Engineering* engineering_command) {
719 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
720 if (message_arena == nullptr) {
721 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.engineering_command_);
722 }
723 if (engineering_command) {
724 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
725 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
726 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(engineering_command));
727 if (message_arena != submessage_arena) {
728 engineering_command = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
729 message_arena, engineering_command, submessage_arena);
730 }
731 _impl_._has_bits_[0] |= 0x00000002u;
732 } else {
733 _impl_._has_bits_[0] &= ~0x00000002u;
734 }
735 _impl_.engineering_command_ = engineering_command;
736 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.ClientToPortalMessage.engineering_command)
737}
738
739// optional .jaiabot.protobuf.Command command = 2;
740inline bool ClientToPortalMessage::_internal_has_command() const {
741 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
742 PROTOBUF_ASSUME(!value || _impl_.command_ != nullptr);
743 return value;
744}
745inline bool ClientToPortalMessage::has_command() const {
746 return _internal_has_command();
747}
748inline const ::jaiabot::protobuf::Command& ClientToPortalMessage::_internal_command() const {
749 const ::jaiabot::protobuf::Command* p = _impl_.command_;
750 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::Command&>(
752}
753inline const ::jaiabot::protobuf::Command& ClientToPortalMessage::command() const {
754 // @@protoc_insertion_point(field_get:jaiabot.protobuf.ClientToPortalMessage.command)
755 return _internal_command();
756}
757inline void ClientToPortalMessage::unsafe_arena_set_allocated_command(
759 if (GetArenaForAllocation() == nullptr) {
760 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.command_);
761 }
762 _impl_.command_ = command;
763 if (command) {
764 _impl_._has_bits_[0] |= 0x00000004u;
765 } else {
766 _impl_._has_bits_[0] &= ~0x00000004u;
767 }
768 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.ClientToPortalMessage.command)
769}
770inline ::jaiabot::protobuf::Command* ClientToPortalMessage::release_command() {
771 _impl_._has_bits_[0] &= ~0x00000004u;
772 ::jaiabot::protobuf::Command* temp = _impl_.command_;
773 _impl_.command_ = nullptr;
774#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
775 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
776 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
777 if (GetArenaForAllocation() == nullptr) { delete old; }
778#else // PROTOBUF_FORCE_COPY_IN_RELEASE
779 if (GetArenaForAllocation() != nullptr) {
780 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
781 }
782#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
783 return temp;
784}
785inline ::jaiabot::protobuf::Command* ClientToPortalMessage::unsafe_arena_release_command() {
786 // @@protoc_insertion_point(field_release:jaiabot.protobuf.ClientToPortalMessage.command)
787 _impl_._has_bits_[0] &= ~0x00000004u;
788 ::jaiabot::protobuf::Command* temp = _impl_.command_;
789 _impl_.command_ = nullptr;
790 return temp;
791}
792inline ::jaiabot::protobuf::Command* ClientToPortalMessage::_internal_mutable_command() {
793 _impl_._has_bits_[0] |= 0x00000004u;
794 if (_impl_.command_ == nullptr) {
795 auto* p = CreateMaybeMessage<::jaiabot::protobuf::Command>(GetArenaForAllocation());
796 _impl_.command_ = p;
797 }
798 return _impl_.command_;
799}
800inline ::jaiabot::protobuf::Command* ClientToPortalMessage::mutable_command() {
801 ::jaiabot::protobuf::Command* _msg = _internal_mutable_command();
802 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.ClientToPortalMessage.command)
803 return _msg;
804}
805inline void ClientToPortalMessage::set_allocated_command(::jaiabot::protobuf::Command* command) {
806 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
807 if (message_arena == nullptr) {
808 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.command_);
809 }
810 if (command) {
811 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
812 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
813 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(command));
814 if (message_arena != submessage_arena) {
815 command = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
816 message_arena, command, submessage_arena);
817 }
818 _impl_._has_bits_[0] |= 0x00000004u;
819 } else {
820 _impl_._has_bits_[0] &= ~0x00000004u;
821 }
822 _impl_.command_ = command;
823 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.ClientToPortalMessage.command)
824}
825
826// optional .jaiabot.protobuf.CommandForHub command_for_hub = 3;
827inline bool ClientToPortalMessage::_internal_has_command_for_hub() const {
828 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
829 PROTOBUF_ASSUME(!value || _impl_.command_for_hub_ != nullptr);
830 return value;
831}
832inline bool ClientToPortalMessage::has_command_for_hub() const {
833 return _internal_has_command_for_hub();
834}
835inline const ::jaiabot::protobuf::CommandForHub& ClientToPortalMessage::_internal_command_for_hub() const {
836 const ::jaiabot::protobuf::CommandForHub* p = _impl_.command_for_hub_;
837 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::CommandForHub&>(
839}
840inline const ::jaiabot::protobuf::CommandForHub& ClientToPortalMessage::command_for_hub() const {
841 // @@protoc_insertion_point(field_get:jaiabot.protobuf.ClientToPortalMessage.command_for_hub)
842 return _internal_command_for_hub();
843}
844inline void ClientToPortalMessage::unsafe_arena_set_allocated_command_for_hub(
845 ::jaiabot::protobuf::CommandForHub* command_for_hub) {
846 if (GetArenaForAllocation() == nullptr) {
847 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.command_for_hub_);
848 }
849 _impl_.command_for_hub_ = command_for_hub;
850 if (command_for_hub) {
851 _impl_._has_bits_[0] |= 0x00000008u;
852 } else {
853 _impl_._has_bits_[0] &= ~0x00000008u;
854 }
855 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.ClientToPortalMessage.command_for_hub)
856}
857inline ::jaiabot::protobuf::CommandForHub* ClientToPortalMessage::release_command_for_hub() {
858 _impl_._has_bits_[0] &= ~0x00000008u;
859 ::jaiabot::protobuf::CommandForHub* temp = _impl_.command_for_hub_;
860 _impl_.command_for_hub_ = nullptr;
861#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
862 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
863 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
864 if (GetArenaForAllocation() == nullptr) { delete old; }
865#else // PROTOBUF_FORCE_COPY_IN_RELEASE
866 if (GetArenaForAllocation() != nullptr) {
867 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
868 }
869#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
870 return temp;
871}
872inline ::jaiabot::protobuf::CommandForHub* ClientToPortalMessage::unsafe_arena_release_command_for_hub() {
873 // @@protoc_insertion_point(field_release:jaiabot.protobuf.ClientToPortalMessage.command_for_hub)
874 _impl_._has_bits_[0] &= ~0x00000008u;
875 ::jaiabot::protobuf::CommandForHub* temp = _impl_.command_for_hub_;
876 _impl_.command_for_hub_ = nullptr;
877 return temp;
878}
879inline ::jaiabot::protobuf::CommandForHub* ClientToPortalMessage::_internal_mutable_command_for_hub() {
880 _impl_._has_bits_[0] |= 0x00000008u;
881 if (_impl_.command_for_hub_ == nullptr) {
882 auto* p = CreateMaybeMessage<::jaiabot::protobuf::CommandForHub>(GetArenaForAllocation());
883 _impl_.command_for_hub_ = p;
884 }
885 return _impl_.command_for_hub_;
886}
887inline ::jaiabot::protobuf::CommandForHub* ClientToPortalMessage::mutable_command_for_hub() {
888 ::jaiabot::protobuf::CommandForHub* _msg = _internal_mutable_command_for_hub();
889 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.ClientToPortalMessage.command_for_hub)
890 return _msg;
891}
892inline void ClientToPortalMessage::set_allocated_command_for_hub(::jaiabot::protobuf::CommandForHub* command_for_hub) {
893 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
894 if (message_arena == nullptr) {
895 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.command_for_hub_);
896 }
897 if (command_for_hub) {
898 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
899 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
900 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(command_for_hub));
901 if (message_arena != submessage_arena) {
902 command_for_hub = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
903 message_arena, command_for_hub, submessage_arena);
904 }
905 _impl_._has_bits_[0] |= 0x00000008u;
906 } else {
907 _impl_._has_bits_[0] &= ~0x00000008u;
908 }
909 _impl_.command_for_hub_ = command_for_hub;
910 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.ClientToPortalMessage.command_for_hub)
911}
912
913// optional bool ping = 4;
914inline bool ClientToPortalMessage::_internal_has_ping() const {
915 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
916 return value;
917}
918inline bool ClientToPortalMessage::has_ping() const {
919 return _internal_has_ping();
920}
921inline void ClientToPortalMessage::clear_ping() {
922 _impl_.ping_ = false;
923 _impl_._has_bits_[0] &= ~0x00000010u;
924}
925inline bool ClientToPortalMessage::_internal_ping() const {
926 return _impl_.ping_;
927}
928inline bool ClientToPortalMessage::ping() const {
929 // @@protoc_insertion_point(field_get:jaiabot.protobuf.ClientToPortalMessage.ping)
930 return _internal_ping();
931}
932inline void ClientToPortalMessage::_internal_set_ping(bool value) {
933 _impl_._has_bits_[0] |= 0x00000010u;
934 _impl_.ping_ = value;
935}
936inline void ClientToPortalMessage::set_ping(bool value) {
937 _internal_set_ping(value);
938 // @@protoc_insertion_point(field_set:jaiabot.protobuf.ClientToPortalMessage.ping)
939}
940
941// optional string client_id = 5;
942inline bool ClientToPortalMessage::_internal_has_client_id() const {
943 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
944 return value;
945}
946inline bool ClientToPortalMessage::has_client_id() const {
947 return _internal_has_client_id();
948}
949inline void ClientToPortalMessage::clear_client_id() {
950 _impl_.client_id_.ClearToEmpty();
951 _impl_._has_bits_[0] &= ~0x00000001u;
952}
953inline const std::string& ClientToPortalMessage::client_id() const {
954 // @@protoc_insertion_point(field_get:jaiabot.protobuf.ClientToPortalMessage.client_id)
955 return _internal_client_id();
956}
957template <typename ArgT0, typename... ArgT>
958inline PROTOBUF_ALWAYS_INLINE
959void ClientToPortalMessage::set_client_id(ArgT0&& arg0, ArgT... args) {
960 _impl_._has_bits_[0] |= 0x00000001u;
961 _impl_.client_id_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
962 // @@protoc_insertion_point(field_set:jaiabot.protobuf.ClientToPortalMessage.client_id)
963}
964inline std::string* ClientToPortalMessage::mutable_client_id() {
965 std::string* _s = _internal_mutable_client_id();
966 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.ClientToPortalMessage.client_id)
967 return _s;
968}
969inline const std::string& ClientToPortalMessage::_internal_client_id() const {
970 return _impl_.client_id_.Get();
971}
972inline void ClientToPortalMessage::_internal_set_client_id(const std::string& value) {
973 _impl_._has_bits_[0] |= 0x00000001u;
974 _impl_.client_id_.Set(value, GetArenaForAllocation());
975}
976inline std::string* ClientToPortalMessage::_internal_mutable_client_id() {
977 _impl_._has_bits_[0] |= 0x00000001u;
978 return _impl_.client_id_.Mutable(GetArenaForAllocation());
979}
980inline std::string* ClientToPortalMessage::release_client_id() {
981 // @@protoc_insertion_point(field_release:jaiabot.protobuf.ClientToPortalMessage.client_id)
982 if (!_internal_has_client_id()) {
983 return nullptr;
984 }
985 _impl_._has_bits_[0] &= ~0x00000001u;
986 auto* p = _impl_.client_id_.Release();
987#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
988 if (_impl_.client_id_.IsDefault()) {
989 _impl_.client_id_.Set("", GetArenaForAllocation());
990 }
991#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
992 return p;
993}
994inline void ClientToPortalMessage::set_allocated_client_id(std::string* client_id) {
995 if (client_id != nullptr) {
996 _impl_._has_bits_[0] |= 0x00000001u;
997 } else {
998 _impl_._has_bits_[0] &= ~0x00000001u;
999 }
1000 _impl_.client_id_.SetAllocated(client_id, GetArenaForAllocation());
1001#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1002 if (_impl_.client_id_.IsDefault()) {
1003 _impl_.client_id_.Set("", GetArenaForAllocation());
1004 }
1005#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1006 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.ClientToPortalMessage.client_id)
1007}
1008
1009// -------------------------------------------------------------------
1010
1011// PortalToClientMessage
1012
1013// optional .jaiabot.protobuf.BotStatus bot_status = 1;
1014inline bool PortalToClientMessage::_internal_has_bot_status() const {
1015 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1016 PROTOBUF_ASSUME(!value || _impl_.bot_status_ != nullptr);
1017 return value;
1018}
1019inline bool PortalToClientMessage::has_bot_status() const {
1020 return _internal_has_bot_status();
1021}
1022inline const ::jaiabot::protobuf::BotStatus& PortalToClientMessage::_internal_bot_status() const {
1023 const ::jaiabot::protobuf::BotStatus* p = _impl_.bot_status_;
1024 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::BotStatus&>(
1026}
1027inline const ::jaiabot::protobuf::BotStatus& PortalToClientMessage::bot_status() const {
1028 // @@protoc_insertion_point(field_get:jaiabot.protobuf.PortalToClientMessage.bot_status)
1029 return _internal_bot_status();
1030}
1031inline void PortalToClientMessage::unsafe_arena_set_allocated_bot_status(
1032 ::jaiabot::protobuf::BotStatus* bot_status) {
1033 if (GetArenaForAllocation() == nullptr) {
1034 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.bot_status_);
1035 }
1036 _impl_.bot_status_ = bot_status;
1037 if (bot_status) {
1038 _impl_._has_bits_[0] |= 0x00000001u;
1039 } else {
1040 _impl_._has_bits_[0] &= ~0x00000001u;
1041 }
1042 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.PortalToClientMessage.bot_status)
1043}
1044inline ::jaiabot::protobuf::BotStatus* PortalToClientMessage::release_bot_status() {
1045 _impl_._has_bits_[0] &= ~0x00000001u;
1046 ::jaiabot::protobuf::BotStatus* temp = _impl_.bot_status_;
1047 _impl_.bot_status_ = nullptr;
1048#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1049 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1050 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1051 if (GetArenaForAllocation() == nullptr) { delete old; }
1052#else // PROTOBUF_FORCE_COPY_IN_RELEASE
1053 if (GetArenaForAllocation() != nullptr) {
1054 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1055 }
1056#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1057 return temp;
1058}
1059inline ::jaiabot::protobuf::BotStatus* PortalToClientMessage::unsafe_arena_release_bot_status() {
1060 // @@protoc_insertion_point(field_release:jaiabot.protobuf.PortalToClientMessage.bot_status)
1061 _impl_._has_bits_[0] &= ~0x00000001u;
1062 ::jaiabot::protobuf::BotStatus* temp = _impl_.bot_status_;
1063 _impl_.bot_status_ = nullptr;
1064 return temp;
1065}
1066inline ::jaiabot::protobuf::BotStatus* PortalToClientMessage::_internal_mutable_bot_status() {
1067 _impl_._has_bits_[0] |= 0x00000001u;
1068 if (_impl_.bot_status_ == nullptr) {
1069 auto* p = CreateMaybeMessage<::jaiabot::protobuf::BotStatus>(GetArenaForAllocation());
1070 _impl_.bot_status_ = p;
1071 }
1072 return _impl_.bot_status_;
1073}
1074inline ::jaiabot::protobuf::BotStatus* PortalToClientMessage::mutable_bot_status() {
1075 ::jaiabot::protobuf::BotStatus* _msg = _internal_mutable_bot_status();
1076 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.PortalToClientMessage.bot_status)
1077 return _msg;
1078}
1079inline void PortalToClientMessage::set_allocated_bot_status(::jaiabot::protobuf::BotStatus* bot_status) {
1080 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1081 if (message_arena == nullptr) {
1082 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.bot_status_);
1083 }
1084 if (bot_status) {
1085 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1086 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1087 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(bot_status));
1088 if (message_arena != submessage_arena) {
1089 bot_status = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1090 message_arena, bot_status, submessage_arena);
1091 }
1092 _impl_._has_bits_[0] |= 0x00000001u;
1093 } else {
1094 _impl_._has_bits_[0] &= ~0x00000001u;
1095 }
1096 _impl_.bot_status_ = bot_status;
1097 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.PortalToClientMessage.bot_status)
1098}
1099
1100// optional .jaiabot.protobuf.Engineering engineering_status = 2;
1101inline bool PortalToClientMessage::_internal_has_engineering_status() const {
1102 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1103 PROTOBUF_ASSUME(!value || _impl_.engineering_status_ != nullptr);
1104 return value;
1105}
1106inline bool PortalToClientMessage::has_engineering_status() const {
1107 return _internal_has_engineering_status();
1108}
1109inline const ::jaiabot::protobuf::Engineering& PortalToClientMessage::_internal_engineering_status() const {
1110 const ::jaiabot::protobuf::Engineering* p = _impl_.engineering_status_;
1111 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::Engineering&>(
1113}
1114inline const ::jaiabot::protobuf::Engineering& PortalToClientMessage::engineering_status() const {
1115 // @@protoc_insertion_point(field_get:jaiabot.protobuf.PortalToClientMessage.engineering_status)
1116 return _internal_engineering_status();
1117}
1118inline void PortalToClientMessage::unsafe_arena_set_allocated_engineering_status(
1119 ::jaiabot::protobuf::Engineering* engineering_status) {
1120 if (GetArenaForAllocation() == nullptr) {
1121 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.engineering_status_);
1122 }
1123 _impl_.engineering_status_ = engineering_status;
1124 if (engineering_status) {
1125 _impl_._has_bits_[0] |= 0x00000002u;
1126 } else {
1127 _impl_._has_bits_[0] &= ~0x00000002u;
1128 }
1129 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.PortalToClientMessage.engineering_status)
1130}
1131inline ::jaiabot::protobuf::Engineering* PortalToClientMessage::release_engineering_status() {
1132 _impl_._has_bits_[0] &= ~0x00000002u;
1133 ::jaiabot::protobuf::Engineering* temp = _impl_.engineering_status_;
1134 _impl_.engineering_status_ = nullptr;
1135#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1136 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1137 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1138 if (GetArenaForAllocation() == nullptr) { delete old; }
1139#else // PROTOBUF_FORCE_COPY_IN_RELEASE
1140 if (GetArenaForAllocation() != nullptr) {
1141 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1142 }
1143#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1144 return temp;
1145}
1146inline ::jaiabot::protobuf::Engineering* PortalToClientMessage::unsafe_arena_release_engineering_status() {
1147 // @@protoc_insertion_point(field_release:jaiabot.protobuf.PortalToClientMessage.engineering_status)
1148 _impl_._has_bits_[0] &= ~0x00000002u;
1149 ::jaiabot::protobuf::Engineering* temp = _impl_.engineering_status_;
1150 _impl_.engineering_status_ = nullptr;
1151 return temp;
1152}
1153inline ::jaiabot::protobuf::Engineering* PortalToClientMessage::_internal_mutable_engineering_status() {
1154 _impl_._has_bits_[0] |= 0x00000002u;
1155 if (_impl_.engineering_status_ == nullptr) {
1156 auto* p = CreateMaybeMessage<::jaiabot::protobuf::Engineering>(GetArenaForAllocation());
1157 _impl_.engineering_status_ = p;
1158 }
1159 return _impl_.engineering_status_;
1160}
1161inline ::jaiabot::protobuf::Engineering* PortalToClientMessage::mutable_engineering_status() {
1162 ::jaiabot::protobuf::Engineering* _msg = _internal_mutable_engineering_status();
1163 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.PortalToClientMessage.engineering_status)
1164 return _msg;
1165}
1166inline void PortalToClientMessage::set_allocated_engineering_status(::jaiabot::protobuf::Engineering* engineering_status) {
1167 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1168 if (message_arena == nullptr) {
1169 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.engineering_status_);
1170 }
1171 if (engineering_status) {
1172 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1173 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1174 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(engineering_status));
1175 if (message_arena != submessage_arena) {
1176 engineering_status = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1177 message_arena, engineering_status, submessage_arena);
1178 }
1179 _impl_._has_bits_[0] |= 0x00000002u;
1180 } else {
1181 _impl_._has_bits_[0] &= ~0x00000002u;
1182 }
1183 _impl_.engineering_status_ = engineering_status;
1184 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.PortalToClientMessage.engineering_status)
1185}
1186
1187// optional .jaiabot.protobuf.HubStatus hub_status = 3;
1188inline bool PortalToClientMessage::_internal_has_hub_status() const {
1189 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1190 PROTOBUF_ASSUME(!value || _impl_.hub_status_ != nullptr);
1191 return value;
1192}
1193inline bool PortalToClientMessage::has_hub_status() const {
1194 return _internal_has_hub_status();
1195}
1196inline const ::jaiabot::protobuf::HubStatus& PortalToClientMessage::_internal_hub_status() const {
1197 const ::jaiabot::protobuf::HubStatus* p = _impl_.hub_status_;
1198 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::HubStatus&>(
1200}
1201inline const ::jaiabot::protobuf::HubStatus& PortalToClientMessage::hub_status() const {
1202 // @@protoc_insertion_point(field_get:jaiabot.protobuf.PortalToClientMessage.hub_status)
1203 return _internal_hub_status();
1204}
1205inline void PortalToClientMessage::unsafe_arena_set_allocated_hub_status(
1206 ::jaiabot::protobuf::HubStatus* hub_status) {
1207 if (GetArenaForAllocation() == nullptr) {
1208 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.hub_status_);
1209 }
1210 _impl_.hub_status_ = hub_status;
1211 if (hub_status) {
1212 _impl_._has_bits_[0] |= 0x00000004u;
1213 } else {
1214 _impl_._has_bits_[0] &= ~0x00000004u;
1215 }
1216 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.PortalToClientMessage.hub_status)
1217}
1218inline ::jaiabot::protobuf::HubStatus* PortalToClientMessage::release_hub_status() {
1219 _impl_._has_bits_[0] &= ~0x00000004u;
1220 ::jaiabot::protobuf::HubStatus* temp = _impl_.hub_status_;
1221 _impl_.hub_status_ = nullptr;
1222#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1223 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1224 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1225 if (GetArenaForAllocation() == nullptr) { delete old; }
1226#else // PROTOBUF_FORCE_COPY_IN_RELEASE
1227 if (GetArenaForAllocation() != nullptr) {
1228 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1229 }
1230#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1231 return temp;
1232}
1233inline ::jaiabot::protobuf::HubStatus* PortalToClientMessage::unsafe_arena_release_hub_status() {
1234 // @@protoc_insertion_point(field_release:jaiabot.protobuf.PortalToClientMessage.hub_status)
1235 _impl_._has_bits_[0] &= ~0x00000004u;
1236 ::jaiabot::protobuf::HubStatus* temp = _impl_.hub_status_;
1237 _impl_.hub_status_ = nullptr;
1238 return temp;
1239}
1240inline ::jaiabot::protobuf::HubStatus* PortalToClientMessage::_internal_mutable_hub_status() {
1241 _impl_._has_bits_[0] |= 0x00000004u;
1242 if (_impl_.hub_status_ == nullptr) {
1243 auto* p = CreateMaybeMessage<::jaiabot::protobuf::HubStatus>(GetArenaForAllocation());
1244 _impl_.hub_status_ = p;
1245 }
1246 return _impl_.hub_status_;
1247}
1248inline ::jaiabot::protobuf::HubStatus* PortalToClientMessage::mutable_hub_status() {
1249 ::jaiabot::protobuf::HubStatus* _msg = _internal_mutable_hub_status();
1250 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.PortalToClientMessage.hub_status)
1251 return _msg;
1252}
1253inline void PortalToClientMessage::set_allocated_hub_status(::jaiabot::protobuf::HubStatus* hub_status) {
1254 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1255 if (message_arena == nullptr) {
1256 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.hub_status_);
1257 }
1258 if (hub_status) {
1259 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1260 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1261 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(hub_status));
1262 if (message_arena != submessage_arena) {
1263 hub_status = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1264 message_arena, hub_status, submessage_arena);
1265 }
1266 _impl_._has_bits_[0] |= 0x00000004u;
1267 } else {
1268 _impl_._has_bits_[0] &= ~0x00000004u;
1269 }
1270 _impl_.hub_status_ = hub_status;
1271 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.PortalToClientMessage.hub_status)
1272}
1273
1274// optional .jaiabot.protobuf.TaskPacket task_packet = 4;
1275inline bool PortalToClientMessage::_internal_has_task_packet() const {
1276 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1277 PROTOBUF_ASSUME(!value || _impl_.task_packet_ != nullptr);
1278 return value;
1279}
1280inline bool PortalToClientMessage::has_task_packet() const {
1281 return _internal_has_task_packet();
1282}
1283inline const ::jaiabot::protobuf::TaskPacket& PortalToClientMessage::_internal_task_packet() const {
1284 const ::jaiabot::protobuf::TaskPacket* p = _impl_.task_packet_;
1285 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::TaskPacket&>(
1287}
1288inline const ::jaiabot::protobuf::TaskPacket& PortalToClientMessage::task_packet() const {
1289 // @@protoc_insertion_point(field_get:jaiabot.protobuf.PortalToClientMessage.task_packet)
1290 return _internal_task_packet();
1291}
1292inline void PortalToClientMessage::unsafe_arena_set_allocated_task_packet(
1293 ::jaiabot::protobuf::TaskPacket* task_packet) {
1294 if (GetArenaForAllocation() == nullptr) {
1295 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.task_packet_);
1296 }
1297 _impl_.task_packet_ = task_packet;
1298 if (task_packet) {
1299 _impl_._has_bits_[0] |= 0x00000008u;
1300 } else {
1301 _impl_._has_bits_[0] &= ~0x00000008u;
1302 }
1303 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.PortalToClientMessage.task_packet)
1304}
1305inline ::jaiabot::protobuf::TaskPacket* PortalToClientMessage::release_task_packet() {
1306 _impl_._has_bits_[0] &= ~0x00000008u;
1307 ::jaiabot::protobuf::TaskPacket* temp = _impl_.task_packet_;
1308 _impl_.task_packet_ = nullptr;
1309#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1310 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1311 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1312 if (GetArenaForAllocation() == nullptr) { delete old; }
1313#else // PROTOBUF_FORCE_COPY_IN_RELEASE
1314 if (GetArenaForAllocation() != nullptr) {
1315 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1316 }
1317#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1318 return temp;
1319}
1320inline ::jaiabot::protobuf::TaskPacket* PortalToClientMessage::unsafe_arena_release_task_packet() {
1321 // @@protoc_insertion_point(field_release:jaiabot.protobuf.PortalToClientMessage.task_packet)
1322 _impl_._has_bits_[0] &= ~0x00000008u;
1323 ::jaiabot::protobuf::TaskPacket* temp = _impl_.task_packet_;
1324 _impl_.task_packet_ = nullptr;
1325 return temp;
1326}
1327inline ::jaiabot::protobuf::TaskPacket* PortalToClientMessage::_internal_mutable_task_packet() {
1328 _impl_._has_bits_[0] |= 0x00000008u;
1329 if (_impl_.task_packet_ == nullptr) {
1330 auto* p = CreateMaybeMessage<::jaiabot::protobuf::TaskPacket>(GetArenaForAllocation());
1331 _impl_.task_packet_ = p;
1332 }
1333 return _impl_.task_packet_;
1334}
1335inline ::jaiabot::protobuf::TaskPacket* PortalToClientMessage::mutable_task_packet() {
1336 ::jaiabot::protobuf::TaskPacket* _msg = _internal_mutable_task_packet();
1337 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.PortalToClientMessage.task_packet)
1338 return _msg;
1339}
1340inline void PortalToClientMessage::set_allocated_task_packet(::jaiabot::protobuf::TaskPacket* task_packet) {
1341 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1342 if (message_arena == nullptr) {
1343 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.task_packet_);
1344 }
1345 if (task_packet) {
1346 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1347 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1348 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(task_packet));
1349 if (message_arena != submessage_arena) {
1350 task_packet = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1351 message_arena, task_packet, submessage_arena);
1352 }
1353 _impl_._has_bits_[0] |= 0x00000008u;
1354 } else {
1355 _impl_._has_bits_[0] &= ~0x00000008u;
1356 }
1357 _impl_.task_packet_ = task_packet;
1358 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.PortalToClientMessage.task_packet)
1359}
1360
1361// optional .jaiabot.protobuf.DeviceMetadata device_metadata = 5;
1362inline bool PortalToClientMessage::_internal_has_device_metadata() const {
1363 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
1364 PROTOBUF_ASSUME(!value || _impl_.device_metadata_ != nullptr);
1365 return value;
1366}
1367inline bool PortalToClientMessage::has_device_metadata() const {
1368 return _internal_has_device_metadata();
1369}
1370inline const ::jaiabot::protobuf::DeviceMetadata& PortalToClientMessage::_internal_device_metadata() const {
1371 const ::jaiabot::protobuf::DeviceMetadata* p = _impl_.device_metadata_;
1372 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::DeviceMetadata&>(
1374}
1375inline const ::jaiabot::protobuf::DeviceMetadata& PortalToClientMessage::device_metadata() const {
1376 // @@protoc_insertion_point(field_get:jaiabot.protobuf.PortalToClientMessage.device_metadata)
1377 return _internal_device_metadata();
1378}
1379inline void PortalToClientMessage::unsafe_arena_set_allocated_device_metadata(
1380 ::jaiabot::protobuf::DeviceMetadata* device_metadata) {
1381 if (GetArenaForAllocation() == nullptr) {
1382 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.device_metadata_);
1383 }
1384 _impl_.device_metadata_ = device_metadata;
1385 if (device_metadata) {
1386 _impl_._has_bits_[0] |= 0x00000010u;
1387 } else {
1388 _impl_._has_bits_[0] &= ~0x00000010u;
1389 }
1390 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.PortalToClientMessage.device_metadata)
1391}
1392inline ::jaiabot::protobuf::DeviceMetadata* PortalToClientMessage::release_device_metadata() {
1393 _impl_._has_bits_[0] &= ~0x00000010u;
1394 ::jaiabot::protobuf::DeviceMetadata* temp = _impl_.device_metadata_;
1395 _impl_.device_metadata_ = nullptr;
1396#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1397 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1398 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1399 if (GetArenaForAllocation() == nullptr) { delete old; }
1400#else // PROTOBUF_FORCE_COPY_IN_RELEASE
1401 if (GetArenaForAllocation() != nullptr) {
1402 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1403 }
1404#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1405 return temp;
1406}
1407inline ::jaiabot::protobuf::DeviceMetadata* PortalToClientMessage::unsafe_arena_release_device_metadata() {
1408 // @@protoc_insertion_point(field_release:jaiabot.protobuf.PortalToClientMessage.device_metadata)
1409 _impl_._has_bits_[0] &= ~0x00000010u;
1410 ::jaiabot::protobuf::DeviceMetadata* temp = _impl_.device_metadata_;
1411 _impl_.device_metadata_ = nullptr;
1412 return temp;
1413}
1414inline ::jaiabot::protobuf::DeviceMetadata* PortalToClientMessage::_internal_mutable_device_metadata() {
1415 _impl_._has_bits_[0] |= 0x00000010u;
1416 if (_impl_.device_metadata_ == nullptr) {
1417 auto* p = CreateMaybeMessage<::jaiabot::protobuf::DeviceMetadata>(GetArenaForAllocation());
1418 _impl_.device_metadata_ = p;
1419 }
1420 return _impl_.device_metadata_;
1421}
1422inline ::jaiabot::protobuf::DeviceMetadata* PortalToClientMessage::mutable_device_metadata() {
1423 ::jaiabot::protobuf::DeviceMetadata* _msg = _internal_mutable_device_metadata();
1424 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.PortalToClientMessage.device_metadata)
1425 return _msg;
1426}
1427inline void PortalToClientMessage::set_allocated_device_metadata(::jaiabot::protobuf::DeviceMetadata* device_metadata) {
1428 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1429 if (message_arena == nullptr) {
1430 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.device_metadata_);
1431 }
1432 if (device_metadata) {
1433 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1434 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1435 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(device_metadata));
1436 if (message_arena != submessage_arena) {
1437 device_metadata = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1438 message_arena, device_metadata, submessage_arena);
1439 }
1440 _impl_._has_bits_[0] |= 0x00000010u;
1441 } else {
1442 _impl_._has_bits_[0] &= ~0x00000010u;
1443 }
1444 _impl_.device_metadata_ = device_metadata;
1445 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.PortalToClientMessage.device_metadata)
1446}
1447
1448// optional .jaiabot.protobuf.MissionPlan active_mission_plan = 6;
1449inline bool PortalToClientMessage::_internal_has_active_mission_plan() const {
1450 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
1451 PROTOBUF_ASSUME(!value || _impl_.active_mission_plan_ != nullptr);
1452 return value;
1453}
1454inline bool PortalToClientMessage::has_active_mission_plan() const {
1455 return _internal_has_active_mission_plan();
1456}
1457inline const ::jaiabot::protobuf::MissionPlan& PortalToClientMessage::_internal_active_mission_plan() const {
1458 const ::jaiabot::protobuf::MissionPlan* p = _impl_.active_mission_plan_;
1459 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::MissionPlan&>(
1461}
1462inline const ::jaiabot::protobuf::MissionPlan& PortalToClientMessage::active_mission_plan() const {
1463 // @@protoc_insertion_point(field_get:jaiabot.protobuf.PortalToClientMessage.active_mission_plan)
1464 return _internal_active_mission_plan();
1465}
1466inline void PortalToClientMessage::unsafe_arena_set_allocated_active_mission_plan(
1467 ::jaiabot::protobuf::MissionPlan* active_mission_plan) {
1468 if (GetArenaForAllocation() == nullptr) {
1469 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.active_mission_plan_);
1470 }
1471 _impl_.active_mission_plan_ = active_mission_plan;
1472 if (active_mission_plan) {
1473 _impl_._has_bits_[0] |= 0x00000020u;
1474 } else {
1475 _impl_._has_bits_[0] &= ~0x00000020u;
1476 }
1477 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.PortalToClientMessage.active_mission_plan)
1478}
1479inline ::jaiabot::protobuf::MissionPlan* PortalToClientMessage::release_active_mission_plan() {
1480 _impl_._has_bits_[0] &= ~0x00000020u;
1481 ::jaiabot::protobuf::MissionPlan* temp = _impl_.active_mission_plan_;
1482 _impl_.active_mission_plan_ = nullptr;
1483#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1484 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1485 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1486 if (GetArenaForAllocation() == nullptr) { delete old; }
1487#else // PROTOBUF_FORCE_COPY_IN_RELEASE
1488 if (GetArenaForAllocation() != nullptr) {
1489 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1490 }
1491#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1492 return temp;
1493}
1494inline ::jaiabot::protobuf::MissionPlan* PortalToClientMessage::unsafe_arena_release_active_mission_plan() {
1495 // @@protoc_insertion_point(field_release:jaiabot.protobuf.PortalToClientMessage.active_mission_plan)
1496 _impl_._has_bits_[0] &= ~0x00000020u;
1497 ::jaiabot::protobuf::MissionPlan* temp = _impl_.active_mission_plan_;
1498 _impl_.active_mission_plan_ = nullptr;
1499 return temp;
1500}
1501inline ::jaiabot::protobuf::MissionPlan* PortalToClientMessage::_internal_mutable_active_mission_plan() {
1502 _impl_._has_bits_[0] |= 0x00000020u;
1503 if (_impl_.active_mission_plan_ == nullptr) {
1504 auto* p = CreateMaybeMessage<::jaiabot::protobuf::MissionPlan>(GetArenaForAllocation());
1505 _impl_.active_mission_plan_ = p;
1506 }
1507 return _impl_.active_mission_plan_;
1508}
1509inline ::jaiabot::protobuf::MissionPlan* PortalToClientMessage::mutable_active_mission_plan() {
1510 ::jaiabot::protobuf::MissionPlan* _msg = _internal_mutable_active_mission_plan();
1511 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.PortalToClientMessage.active_mission_plan)
1512 return _msg;
1513}
1514inline void PortalToClientMessage::set_allocated_active_mission_plan(::jaiabot::protobuf::MissionPlan* active_mission_plan) {
1515 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1516 if (message_arena == nullptr) {
1517 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.active_mission_plan_);
1518 }
1519 if (active_mission_plan) {
1520 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1521 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1522 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(active_mission_plan));
1523 if (message_arena != submessage_arena) {
1524 active_mission_plan = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1525 message_arena, active_mission_plan, submessage_arena);
1526 }
1527 _impl_._has_bits_[0] |= 0x00000020u;
1528 } else {
1529 _impl_._has_bits_[0] &= ~0x00000020u;
1530 }
1531 _impl_.active_mission_plan_ = active_mission_plan;
1532 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.PortalToClientMessage.active_mission_plan)
1533}
1534
1535// optional .jaiabot.protobuf.ContactUpdate contact_update = 7;
1536inline bool PortalToClientMessage::_internal_has_contact_update() const {
1537 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
1538 PROTOBUF_ASSUME(!value || _impl_.contact_update_ != nullptr);
1539 return value;
1540}
1541inline bool PortalToClientMessage::has_contact_update() const {
1542 return _internal_has_contact_update();
1543}
1544inline const ::jaiabot::protobuf::ContactUpdate& PortalToClientMessage::_internal_contact_update() const {
1545 const ::jaiabot::protobuf::ContactUpdate* p = _impl_.contact_update_;
1546 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::ContactUpdate&>(
1548}
1549inline const ::jaiabot::protobuf::ContactUpdate& PortalToClientMessage::contact_update() const {
1550 // @@protoc_insertion_point(field_get:jaiabot.protobuf.PortalToClientMessage.contact_update)
1551 return _internal_contact_update();
1552}
1553inline void PortalToClientMessage::unsafe_arena_set_allocated_contact_update(
1554 ::jaiabot::protobuf::ContactUpdate* contact_update) {
1555 if (GetArenaForAllocation() == nullptr) {
1556 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.contact_update_);
1557 }
1558 _impl_.contact_update_ = contact_update;
1559 if (contact_update) {
1560 _impl_._has_bits_[0] |= 0x00000040u;
1561 } else {
1562 _impl_._has_bits_[0] &= ~0x00000040u;
1563 }
1564 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.PortalToClientMessage.contact_update)
1565}
1566inline ::jaiabot::protobuf::ContactUpdate* PortalToClientMessage::release_contact_update() {
1567 _impl_._has_bits_[0] &= ~0x00000040u;
1568 ::jaiabot::protobuf::ContactUpdate* temp = _impl_.contact_update_;
1569 _impl_.contact_update_ = nullptr;
1570#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1571 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1572 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1573 if (GetArenaForAllocation() == nullptr) { delete old; }
1574#else // PROTOBUF_FORCE_COPY_IN_RELEASE
1575 if (GetArenaForAllocation() != nullptr) {
1576 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1577 }
1578#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1579 return temp;
1580}
1581inline ::jaiabot::protobuf::ContactUpdate* PortalToClientMessage::unsafe_arena_release_contact_update() {
1582 // @@protoc_insertion_point(field_release:jaiabot.protobuf.PortalToClientMessage.contact_update)
1583 _impl_._has_bits_[0] &= ~0x00000040u;
1584 ::jaiabot::protobuf::ContactUpdate* temp = _impl_.contact_update_;
1585 _impl_.contact_update_ = nullptr;
1586 return temp;
1587}
1588inline ::jaiabot::protobuf::ContactUpdate* PortalToClientMessage::_internal_mutable_contact_update() {
1589 _impl_._has_bits_[0] |= 0x00000040u;
1590 if (_impl_.contact_update_ == nullptr) {
1591 auto* p = CreateMaybeMessage<::jaiabot::protobuf::ContactUpdate>(GetArenaForAllocation());
1592 _impl_.contact_update_ = p;
1593 }
1594 return _impl_.contact_update_;
1595}
1596inline ::jaiabot::protobuf::ContactUpdate* PortalToClientMessage::mutable_contact_update() {
1597 ::jaiabot::protobuf::ContactUpdate* _msg = _internal_mutable_contact_update();
1598 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.PortalToClientMessage.contact_update)
1599 return _msg;
1600}
1601inline void PortalToClientMessage::set_allocated_contact_update(::jaiabot::protobuf::ContactUpdate* contact_update) {
1602 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1603 if (message_arena == nullptr) {
1604 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.contact_update_);
1605 }
1606 if (contact_update) {
1607 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1608 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1609 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(contact_update));
1610 if (message_arena != submessage_arena) {
1611 contact_update = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1612 message_arena, contact_update, submessage_arena);
1613 }
1614 _impl_._has_bits_[0] |= 0x00000040u;
1615 } else {
1616 _impl_._has_bits_[0] &= ~0x00000040u;
1617 }
1618 _impl_.contact_update_ = contact_update;
1619 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.PortalToClientMessage.contact_update)
1620}
1621
1622// optional .jaiabot.protobuf.CommandCommsResult command_comms_result = 8;
1623inline bool PortalToClientMessage::_internal_has_command_comms_result() const {
1624 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
1625 PROTOBUF_ASSUME(!value || _impl_.command_comms_result_ != nullptr);
1626 return value;
1627}
1628inline bool PortalToClientMessage::has_command_comms_result() const {
1629 return _internal_has_command_comms_result();
1630}
1631inline const ::jaiabot::protobuf::CommandCommsResult& PortalToClientMessage::_internal_command_comms_result() const {
1632 const ::jaiabot::protobuf::CommandCommsResult* p = _impl_.command_comms_result_;
1633 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::CommandCommsResult&>(
1635}
1636inline const ::jaiabot::protobuf::CommandCommsResult& PortalToClientMessage::command_comms_result() const {
1637 // @@protoc_insertion_point(field_get:jaiabot.protobuf.PortalToClientMessage.command_comms_result)
1638 return _internal_command_comms_result();
1639}
1640inline void PortalToClientMessage::unsafe_arena_set_allocated_command_comms_result(
1641 ::jaiabot::protobuf::CommandCommsResult* command_comms_result) {
1642 if (GetArenaForAllocation() == nullptr) {
1643 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.command_comms_result_);
1644 }
1645 _impl_.command_comms_result_ = command_comms_result;
1646 if (command_comms_result) {
1647 _impl_._has_bits_[0] |= 0x00000080u;
1648 } else {
1649 _impl_._has_bits_[0] &= ~0x00000080u;
1650 }
1651 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.PortalToClientMessage.command_comms_result)
1652}
1653inline ::jaiabot::protobuf::CommandCommsResult* PortalToClientMessage::release_command_comms_result() {
1654 _impl_._has_bits_[0] &= ~0x00000080u;
1655 ::jaiabot::protobuf::CommandCommsResult* temp = _impl_.command_comms_result_;
1656 _impl_.command_comms_result_ = nullptr;
1657#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1658 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1659 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1660 if (GetArenaForAllocation() == nullptr) { delete old; }
1661#else // PROTOBUF_FORCE_COPY_IN_RELEASE
1662 if (GetArenaForAllocation() != nullptr) {
1663 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1664 }
1665#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1666 return temp;
1667}
1668inline ::jaiabot::protobuf::CommandCommsResult* PortalToClientMessage::unsafe_arena_release_command_comms_result() {
1669 // @@protoc_insertion_point(field_release:jaiabot.protobuf.PortalToClientMessage.command_comms_result)
1670 _impl_._has_bits_[0] &= ~0x00000080u;
1671 ::jaiabot::protobuf::CommandCommsResult* temp = _impl_.command_comms_result_;
1672 _impl_.command_comms_result_ = nullptr;
1673 return temp;
1674}
1675inline ::jaiabot::protobuf::CommandCommsResult* PortalToClientMessage::_internal_mutable_command_comms_result() {
1676 _impl_._has_bits_[0] |= 0x00000080u;
1677 if (_impl_.command_comms_result_ == nullptr) {
1678 auto* p = CreateMaybeMessage<::jaiabot::protobuf::CommandCommsResult>(GetArenaForAllocation());
1679 _impl_.command_comms_result_ = p;
1680 }
1681 return _impl_.command_comms_result_;
1682}
1683inline ::jaiabot::protobuf::CommandCommsResult* PortalToClientMessage::mutable_command_comms_result() {
1684 ::jaiabot::protobuf::CommandCommsResult* _msg = _internal_mutable_command_comms_result();
1685 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.PortalToClientMessage.command_comms_result)
1686 return _msg;
1687}
1688inline void PortalToClientMessage::set_allocated_command_comms_result(::jaiabot::protobuf::CommandCommsResult* command_comms_result) {
1689 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1690 if (message_arena == nullptr) {
1691 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.command_comms_result_);
1692 }
1693 if (command_comms_result) {
1694 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1695 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1696 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(command_comms_result));
1697 if (message_arena != submessage_arena) {
1698 command_comms_result = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1699 message_arena, command_comms_result, submessage_arena);
1700 }
1701 _impl_._has_bits_[0] |= 0x00000080u;
1702 } else {
1703 _impl_._has_bits_[0] &= ~0x00000080u;
1704 }
1705 _impl_.command_comms_result_ = command_comms_result;
1706 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.PortalToClientMessage.command_comms_result)
1707}
1708
1709// optional .jaiabot.protobuf.Command remote_command = 9;
1710inline bool PortalToClientMessage::_internal_has_remote_command() const {
1711 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
1712 PROTOBUF_ASSUME(!value || _impl_.remote_command_ != nullptr);
1713 return value;
1714}
1715inline bool PortalToClientMessage::has_remote_command() const {
1716 return _internal_has_remote_command();
1717}
1718inline const ::jaiabot::protobuf::Command& PortalToClientMessage::_internal_remote_command() const {
1719 const ::jaiabot::protobuf::Command* p = _impl_.remote_command_;
1720 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::Command&>(
1722}
1723inline const ::jaiabot::protobuf::Command& PortalToClientMessage::remote_command() const {
1724 // @@protoc_insertion_point(field_get:jaiabot.protobuf.PortalToClientMessage.remote_command)
1725 return _internal_remote_command();
1726}
1727inline void PortalToClientMessage::unsafe_arena_set_allocated_remote_command(
1728 ::jaiabot::protobuf::Command* remote_command) {
1729 if (GetArenaForAllocation() == nullptr) {
1730 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.remote_command_);
1731 }
1732 _impl_.remote_command_ = remote_command;
1733 if (remote_command) {
1734 _impl_._has_bits_[0] |= 0x00000100u;
1735 } else {
1736 _impl_._has_bits_[0] &= ~0x00000100u;
1737 }
1738 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.PortalToClientMessage.remote_command)
1739}
1740inline ::jaiabot::protobuf::Command* PortalToClientMessage::release_remote_command() {
1741 _impl_._has_bits_[0] &= ~0x00000100u;
1742 ::jaiabot::protobuf::Command* temp = _impl_.remote_command_;
1743 _impl_.remote_command_ = nullptr;
1744#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1745 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1746 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1747 if (GetArenaForAllocation() == nullptr) { delete old; }
1748#else // PROTOBUF_FORCE_COPY_IN_RELEASE
1749 if (GetArenaForAllocation() != nullptr) {
1750 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1751 }
1752#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1753 return temp;
1754}
1755inline ::jaiabot::protobuf::Command* PortalToClientMessage::unsafe_arena_release_remote_command() {
1756 // @@protoc_insertion_point(field_release:jaiabot.protobuf.PortalToClientMessage.remote_command)
1757 _impl_._has_bits_[0] &= ~0x00000100u;
1758 ::jaiabot::protobuf::Command* temp = _impl_.remote_command_;
1759 _impl_.remote_command_ = nullptr;
1760 return temp;
1761}
1762inline ::jaiabot::protobuf::Command* PortalToClientMessage::_internal_mutable_remote_command() {
1763 _impl_._has_bits_[0] |= 0x00000100u;
1764 if (_impl_.remote_command_ == nullptr) {
1765 auto* p = CreateMaybeMessage<::jaiabot::protobuf::Command>(GetArenaForAllocation());
1766 _impl_.remote_command_ = p;
1767 }
1768 return _impl_.remote_command_;
1769}
1770inline ::jaiabot::protobuf::Command* PortalToClientMessage::mutable_remote_command() {
1771 ::jaiabot::protobuf::Command* _msg = _internal_mutable_remote_command();
1772 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.PortalToClientMessage.remote_command)
1773 return _msg;
1774}
1775inline void PortalToClientMessage::set_allocated_remote_command(::jaiabot::protobuf::Command* remote_command) {
1776 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1777 if (message_arena == nullptr) {
1778 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.remote_command_);
1779 }
1780 if (remote_command) {
1781 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1782 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1783 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(remote_command));
1784 if (message_arena != submessage_arena) {
1785 remote_command = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1786 message_arena, remote_command, submessage_arena);
1787 }
1788 _impl_._has_bits_[0] |= 0x00000100u;
1789 } else {
1790 _impl_._has_bits_[0] &= ~0x00000100u;
1791 }
1792 _impl_.remote_command_ = remote_command;
1793 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.PortalToClientMessage.remote_command)
1794}
1795
1796#ifdef __GNUC__
1797 #pragma GCC diagnostic pop
1798#endif // __GNUC__
1799// -------------------------------------------------------------------
1800
1801
1802// @@protoc_insertion_point(namespace_scope)
1803
1804} // namespace protobuf
1805} // namespace jaiabot
1806
1807// @@protoc_insertion_point(global_scope)
1808
1809#include <google/protobuf/port_undef.inc>
1810#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:785
::jaiabot::protobuf::Engineering * unsafe_arena_release_engineering_command()
Definition portal.pb.h:698
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:770
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:857
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:953
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:872
void set_allocated_command(::jaiabot::protobuf::Command *command)
Definition portal.pb.h:805
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:980
const ::jaiabot::protobuf::Engineering & engineering_command() const
Definition portal.pb.h:666
void set_allocated_client_id(std::string *client_id)
Definition portal.pb.h:994
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:670
void unsafe_arena_set_allocated_command(::jaiabot::protobuf::Command *command)
Definition portal.pb.h:757
const ::jaiabot::protobuf::Command & command() const
Definition portal.pb.h:753
::jaiabot::protobuf::CommandForHub * mutable_command_for_hub()
Definition portal.pb.h:887
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:718
static const ClientToPortalMessage & default_instance()
Definition portal.pb.h:125
PROTOBUF_NODISCARD::jaiabot::protobuf::Engineering * release_engineering_command()
Definition portal.pb.h:683
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:840
::jaiabot::protobuf::Engineering * mutable_engineering_command()
Definition portal.pb.h:713
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:844
void set_allocated_command_for_hub(::jaiabot::protobuf::CommandForHub *command_for_hub)
Definition portal.pb.h:892
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:800
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::CommandCommsResult * Arena::CreateMaybeMessage<::jaiabot::protobuf::CommandCommsResult >(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_
CommandCommsResultDefaultTypeInternal _CommandCommsResult_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