4 #ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fapps_2fmiddleware_2fserial_5fmux_2fconfig_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_goby_2fapps_2fmiddleware_2fserial_5fmux_2fconfig_2eproto
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3012000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 3012004 < PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
22 #include <google/protobuf/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
32 #include <google/protobuf/repeated_field.h>
33 #include <google/protobuf/extension_set.h>
34 #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>
44 #include <google/protobuf/port_def.inc>
45 #define PROTOBUF_INTERNAL_EXPORT_goby_2fapps_2fmiddleware_2fserial_5fmux_2fconfig_2eproto
46 PROTOBUF_NAMESPACE_OPEN
50 PROTOBUF_NAMESPACE_CLOSE
54 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
56 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
58 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2]
60 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata
field_metadata[];
67 namespace middleware {
69 class SerialMuxConfig;
70 class SerialMuxConfigDefaultTypeInternal;
72 class SerialMuxConfig_SecondaryPTY;
73 class SerialMuxConfig_SecondaryPTYDefaultTypeInternal;
79 PROTOBUF_NAMESPACE_OPEN
80 template<> ::goby::apps::middleware::protobuf::SerialMuxConfig* Arena::CreateMaybeMessage<::goby::apps::middleware::protobuf::SerialMuxConfig>(Arena*);
81 template<> ::goby::apps::middleware::protobuf::SerialMuxConfig_SecondaryPTY* Arena::CreateMaybeMessage<::goby::apps::middleware::protobuf::SerialMuxConfig_SecondaryPTY>(Arena*);
82 PROTOBUF_NAMESPACE_CLOSE
85 namespace middleware {
90 class SerialMuxConfig_SecondaryPTY PROTOBUF_FINAL :
91 public ::PROTOBUF_NAMESPACE_ID::Message {
98 : SerialMuxConfig_SecondaryPTY() {
99 *
this = ::std::move(from);
102 inline SerialMuxConfig_SecondaryPTY&
operator=(
const SerialMuxConfig_SecondaryPTY& from) {
106 inline SerialMuxConfig_SecondaryPTY&
operator=(SerialMuxConfig_SecondaryPTY&& from) noexcept {
107 if (GetArena() == from.GetArena()) {
108 if (
this != &from) InternalSwap(&from);
116 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
119 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
122 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
123 return GetDescriptor();
126 return GetMetadataStatic().descriptor;
129 return GetMetadataStatic().reflection;
135 return reinterpret_cast<const SerialMuxConfig_SecondaryPTY*
>(
138 static constexpr
int kIndexInFileMessages =
141 friend void swap(SerialMuxConfig_SecondaryPTY& a, SerialMuxConfig_SecondaryPTY& b) {
144 inline void Swap(SerialMuxConfig_SecondaryPTY* other) {
145 if (other ==
this)
return;
146 if (GetArena() == other->GetArena()) {
149 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
153 if (other ==
this)
return;
154 GOOGLE_DCHECK(GetArena() == other->GetArena());
160 inline SerialMuxConfig_SecondaryPTY*
New() const final {
161 return CreateMaybeMessage<SerialMuxConfig_SecondaryPTY>(
nullptr);
164 SerialMuxConfig_SecondaryPTY*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
165 return CreateMaybeMessage<SerialMuxConfig_SecondaryPTY>(arena);
167 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
168 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
169 void CopyFrom(
const SerialMuxConfig_SecondaryPTY& from);
170 void MergeFrom(
const SerialMuxConfig_SecondaryPTY& from);
171 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
172 bool IsInitialized() const final;
175 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
176 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
177 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
178 int GetCachedSize() const final {
return _cached_size_.Get(); }
181 inline void SharedCtor();
182 inline void SharedDtor();
183 void SetCachedSize(
int size)
const final;
184 void InternalSwap(SerialMuxConfig_SecondaryPTY* other);
185 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
186 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
187 return "goby.apps.middleware.protobuf.SerialMuxConfig.SecondaryPTY";
192 static void ArenaDtor(
void*
object);
193 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
198 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
211 kAllowWriteFieldNumber = 2,
216 bool _internal_has_pty()
const;
219 const ::goby::middleware::protobuf::PTYConfig&
pty()
const;
224 const ::goby::middleware::protobuf::PTYConfig& _internal_pty()
const;
225 ::goby::middleware::protobuf::PTYConfig* _internal_mutable_pty();
228 ::goby::middleware::protobuf::PTYConfig* pty);
234 bool _internal_has_allow_write()
const;
240 bool _internal_allow_write()
const;
241 void _internal_set_allow_write(
bool value);
248 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
249 typedef void InternalArenaConstructable_;
250 typedef void DestructorSkippable_;
251 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
252 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
253 ::goby::middleware::protobuf::PTYConfig* pty_;
255 friend struct ::TableStruct_goby_2fapps_2fmiddleware_2fserial_5fmux_2fconfig_2eproto;
260 public ::PROTOBUF_NAMESPACE_ID::Message {
267 : SerialMuxConfig() {
268 *
this = ::std::move(from);
271 inline SerialMuxConfig&
operator=(
const SerialMuxConfig& from) {
275 inline SerialMuxConfig&
operator=(SerialMuxConfig&& from) noexcept {
276 if (GetArena() == from.GetArena()) {
277 if (
this != &from) InternalSwap(&from);
285 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
288 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
291 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
292 return GetDescriptor();
295 return GetMetadataStatic().descriptor;
298 return GetMetadataStatic().reflection;
304 return reinterpret_cast<const SerialMuxConfig*
>(
307 static constexpr
int kIndexInFileMessages =
310 friend void swap(SerialMuxConfig& a, SerialMuxConfig& b) {
313 inline void Swap(SerialMuxConfig* other) {
314 if (other ==
this)
return;
315 if (GetArena() == other->GetArena()) {
318 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
322 if (other ==
this)
return;
323 GOOGLE_DCHECK(GetArena() == other->GetArena());
329 inline SerialMuxConfig*
New() const final {
330 return CreateMaybeMessage<SerialMuxConfig>(
nullptr);
333 SerialMuxConfig*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
334 return CreateMaybeMessage<SerialMuxConfig>(arena);
336 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
337 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
340 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
341 bool IsInitialized() const final;
344 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
345 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
346 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
347 int GetCachedSize() const final {
return _cached_size_.Get(); }
350 inline void SharedCtor();
351 inline void SharedDtor();
352 void SetCachedSize(
int size)
const final;
353 void InternalSwap(SerialMuxConfig* other);
354 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
355 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
356 return "goby.apps.middleware.protobuf.SerialMuxConfig";
361 static void ArenaDtor(
void*
object);
362 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
367 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
381 kSecondaryFieldNumber = 3,
383 kPrimarySerialFieldNumber = 2,
388 int _internal_secondary_size()
const;
392 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::apps::middleware::protobuf::SerialMuxConfig_SecondaryPTY >*
395 const ::goby::apps::middleware::protobuf::SerialMuxConfig_SecondaryPTY& _internal_secondary(
int index)
const;
396 ::goby::apps::middleware::protobuf::SerialMuxConfig_SecondaryPTY* _internal_add_secondary();
398 const ::goby::apps::middleware::protobuf::SerialMuxConfig_SecondaryPTY&
secondary(
int index)
const;
399 ::goby::apps::middleware::protobuf::SerialMuxConfig_SecondaryPTY*
add_secondary();
400 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::apps::middleware::protobuf::SerialMuxConfig_SecondaryPTY >&
406 bool _internal_has_app()
const;
409 const ::goby::middleware::protobuf::AppConfig&
app()
const;
414 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
415 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
418 ::goby::middleware::protobuf::AppConfig* app);
424 bool _internal_has_primary_serial()
const;
432 const ::goby::middleware::protobuf::SerialConfig& _internal_primary_serial()
const;
433 ::goby::middleware::protobuf::SerialConfig* _internal_mutable_primary_serial();
436 ::goby::middleware::protobuf::SerialConfig* primary_serial);
443 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
444 typedef void InternalArenaConstructable_;
445 typedef void DestructorSkippable_;
446 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
447 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
448 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::apps::middleware::protobuf::SerialMuxConfig_SecondaryPTY > secondary_;
449 ::goby::middleware::protobuf::AppConfig* app_;
450 ::goby::middleware::protobuf::SerialConfig* primary_serial_;
451 friend struct ::TableStruct_goby_2fapps_2fmiddleware_2fserial_5fmux_2fconfig_2eproto;
459 #pragma GCC diagnostic push
460 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
465 inline bool SerialMuxConfig_SecondaryPTY::_internal_has_pty()
const {
466 bool value = (_has_bits_[0] & 0x00000001u) != 0;
467 PROTOBUF_ASSUME(!value || pty_ !=
nullptr);
470 inline bool SerialMuxConfig_SecondaryPTY::has_pty()
const {
471 return _internal_has_pty();
473 inline const ::goby::middleware::protobuf::PTYConfig& SerialMuxConfig_SecondaryPTY::_internal_pty()
const {
474 const ::goby::middleware::protobuf::PTYConfig* p = pty_;
475 return p !=
nullptr ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::PTYConfig*
>(
478 inline const ::goby::middleware::protobuf::PTYConfig& SerialMuxConfig_SecondaryPTY::pty()
const {
480 return _internal_pty();
482 inline void SerialMuxConfig_SecondaryPTY::unsafe_arena_set_allocated_pty(
483 ::goby::middleware::protobuf::PTYConfig* pty) {
484 if (GetArena() ==
nullptr) {
485 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(pty_);
489 _has_bits_[0] |= 0x00000001u;
491 _has_bits_[0] &= ~0x00000001u;
495 inline ::goby::middleware::protobuf::PTYConfig* SerialMuxConfig_SecondaryPTY::release_pty() {
496 auto temp = unsafe_arena_release_pty();
497 if (GetArena() !=
nullptr) {
498 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
502 inline ::goby::middleware::protobuf::PTYConfig* SerialMuxConfig_SecondaryPTY::unsafe_arena_release_pty() {
504 _has_bits_[0] &= ~0x00000001u;
505 ::goby::middleware::protobuf::PTYConfig* temp = pty_;
509 inline ::goby::middleware::protobuf::PTYConfig* SerialMuxConfig_SecondaryPTY::_internal_mutable_pty() {
510 _has_bits_[0] |= 0x00000001u;
511 if (pty_ ==
nullptr) {
512 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::PTYConfig>(GetArena());
517 inline ::goby::middleware::protobuf::PTYConfig* SerialMuxConfig_SecondaryPTY::mutable_pty() {
519 return _internal_mutable_pty();
521 inline void SerialMuxConfig_SecondaryPTY::set_allocated_pty(::goby::middleware::protobuf::PTYConfig* pty) {
522 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
523 if (message_arena ==
nullptr) {
524 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(pty_);
527 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
528 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(pty)->GetArena();
529 if (message_arena != submessage_arena) {
530 pty = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
531 message_arena, pty, submessage_arena);
533 _has_bits_[0] |= 0x00000001u;
535 _has_bits_[0] &= ~0x00000001u;
542 inline bool SerialMuxConfig_SecondaryPTY::_internal_has_allow_write()
const {
543 bool value = (_has_bits_[0] & 0x00000002u) != 0;
546 inline bool SerialMuxConfig_SecondaryPTY::has_allow_write()
const {
547 return _internal_has_allow_write();
549 inline void SerialMuxConfig_SecondaryPTY::clear_allow_write() {
551 _has_bits_[0] &= ~0x00000002u;
553 inline bool SerialMuxConfig_SecondaryPTY::_internal_allow_write()
const {
556 inline bool SerialMuxConfig_SecondaryPTY::allow_write()
const {
558 return _internal_allow_write();
560 inline void SerialMuxConfig_SecondaryPTY::_internal_set_allow_write(
bool value) {
561 _has_bits_[0] |= 0x00000002u;
562 allow_write_ =
value;
564 inline void SerialMuxConfig_SecondaryPTY::set_allow_write(
bool value) {
565 _internal_set_allow_write(value);
574 inline bool SerialMuxConfig::_internal_has_app()
const {
575 bool value = (_has_bits_[0] & 0x00000001u) != 0;
576 PROTOBUF_ASSUME(!value || app_ !=
nullptr);
579 inline bool SerialMuxConfig::has_app()
const {
580 return _internal_has_app();
582 inline const ::goby::middleware::protobuf::AppConfig& SerialMuxConfig::_internal_app()
const {
583 const ::goby::middleware::protobuf::AppConfig* p = app_;
584 return p !=
nullptr ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::AppConfig*
>(
587 inline const ::goby::middleware::protobuf::AppConfig& SerialMuxConfig::app()
const {
589 return _internal_app();
591 inline void SerialMuxConfig::unsafe_arena_set_allocated_app(
592 ::goby::middleware::protobuf::AppConfig* app) {
593 if (GetArena() ==
nullptr) {
594 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app_);
598 _has_bits_[0] |= 0x00000001u;
600 _has_bits_[0] &= ~0x00000001u;
604 inline ::goby::middleware::protobuf::AppConfig* SerialMuxConfig::release_app() {
605 auto temp = unsafe_arena_release_app();
606 if (GetArena() !=
nullptr) {
607 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
611 inline ::goby::middleware::protobuf::AppConfig* SerialMuxConfig::unsafe_arena_release_app() {
613 _has_bits_[0] &= ~0x00000001u;
614 ::goby::middleware::protobuf::AppConfig* temp = app_;
618 inline ::goby::middleware::protobuf::AppConfig* SerialMuxConfig::_internal_mutable_app() {
619 _has_bits_[0] |= 0x00000001u;
620 if (app_ ==
nullptr) {
621 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArena());
626 inline ::goby::middleware::protobuf::AppConfig* SerialMuxConfig::mutable_app() {
628 return _internal_mutable_app();
630 inline void SerialMuxConfig::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
631 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
632 if (message_arena ==
nullptr) {
633 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app_);
636 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
637 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app)->GetArena();
638 if (message_arena != submessage_arena) {
639 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
640 message_arena, app, submessage_arena);
642 _has_bits_[0] |= 0x00000001u;
644 _has_bits_[0] &= ~0x00000001u;
651 inline bool SerialMuxConfig::_internal_has_primary_serial()
const {
652 bool value = (_has_bits_[0] & 0x00000002u) != 0;
653 PROTOBUF_ASSUME(!value || primary_serial_ !=
nullptr);
656 inline bool SerialMuxConfig::has_primary_serial()
const {
657 return _internal_has_primary_serial();
659 inline const ::goby::middleware::protobuf::SerialConfig& SerialMuxConfig::_internal_primary_serial()
const {
660 const ::goby::middleware::protobuf::SerialConfig* p = primary_serial_;
661 return p !=
nullptr ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::SerialConfig*
>(
664 inline const ::goby::middleware::protobuf::SerialConfig& SerialMuxConfig::primary_serial()
const {
666 return _internal_primary_serial();
668 inline void SerialMuxConfig::unsafe_arena_set_allocated_primary_serial(
669 ::goby::middleware::protobuf::SerialConfig* primary_serial) {
670 if (GetArena() ==
nullptr) {
671 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(primary_serial_);
673 primary_serial_ = primary_serial;
674 if (primary_serial) {
675 _has_bits_[0] |= 0x00000002u;
677 _has_bits_[0] &= ~0x00000002u;
681 inline ::goby::middleware::protobuf::SerialConfig* SerialMuxConfig::release_primary_serial() {
682 auto temp = unsafe_arena_release_primary_serial();
683 if (GetArena() !=
nullptr) {
684 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
688 inline ::goby::middleware::protobuf::SerialConfig* SerialMuxConfig::unsafe_arena_release_primary_serial() {
690 _has_bits_[0] &= ~0x00000002u;
691 ::goby::middleware::protobuf::SerialConfig* temp = primary_serial_;
692 primary_serial_ =
nullptr;
695 inline ::goby::middleware::protobuf::SerialConfig* SerialMuxConfig::_internal_mutable_primary_serial() {
696 _has_bits_[0] |= 0x00000002u;
697 if (primary_serial_ ==
nullptr) {
698 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::SerialConfig>(GetArena());
701 return primary_serial_;
703 inline ::goby::middleware::protobuf::SerialConfig* SerialMuxConfig::mutable_primary_serial() {
705 return _internal_mutable_primary_serial();
707 inline void SerialMuxConfig::set_allocated_primary_serial(::goby::middleware::protobuf::SerialConfig* primary_serial) {
708 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
709 if (message_arena ==
nullptr) {
710 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(primary_serial_);
712 if (primary_serial) {
713 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
714 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(primary_serial)->GetArena();
715 if (message_arena != submessage_arena) {
716 primary_serial = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
717 message_arena, primary_serial, submessage_arena);
719 _has_bits_[0] |= 0x00000002u;
721 _has_bits_[0] &= ~0x00000002u;
723 primary_serial_ = primary_serial;
728 inline int SerialMuxConfig::_internal_secondary_size()
const {
729 return secondary_.size();
731 inline int SerialMuxConfig::secondary_size()
const {
732 return _internal_secondary_size();
734 inline void SerialMuxConfig::clear_secondary() {
737 inline ::goby::apps::middleware::protobuf::SerialMuxConfig_SecondaryPTY* SerialMuxConfig::mutable_secondary(
int index) {
739 return secondary_.Mutable(index);
741 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::apps::middleware::protobuf::SerialMuxConfig_SecondaryPTY >*
742 SerialMuxConfig::mutable_secondary() {
746 inline const ::goby::apps::middleware::protobuf::SerialMuxConfig_SecondaryPTY& SerialMuxConfig::_internal_secondary(
int index)
const {
747 return secondary_.Get(index);
749 inline const ::goby::apps::middleware::protobuf::SerialMuxConfig_SecondaryPTY& SerialMuxConfig::secondary(
int index)
const {
751 return _internal_secondary(index);
753 inline ::goby::apps::middleware::protobuf::SerialMuxConfig_SecondaryPTY* SerialMuxConfig::_internal_add_secondary() {
754 return secondary_.Add();
756 inline ::goby::apps::middleware::protobuf::SerialMuxConfig_SecondaryPTY* SerialMuxConfig::add_secondary() {
758 return _internal_add_secondary();
760 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::apps::middleware::protobuf::SerialMuxConfig_SecondaryPTY >&
761 SerialMuxConfig::secondary()
const {
767 #pragma GCC diagnostic pop
781 #include <google/protobuf/port_undef.inc>
::goby::apps::middleware::protobuf::SerialMuxConfig_SecondaryPTY * add_secondary()
static const SerialMuxConfig_SecondaryPTY & default_instance()
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
void clear_primary_serial()
SerialMuxConfig_SecondaryPTY & operator=(const SerialMuxConfig_SecondaryPTY &from)
bool has_allow_write() const
SerialMuxConfig_SecondaryPTY SecondaryPTY
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::apps::middleware::protobuf::SerialMuxConfig_SecondaryPTY > * mutable_secondary()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void UnsafeArenaSwap(SerialMuxConfig_SecondaryPTY *other)
SerialMuxConfig_SecondaryPTY(::PROTOBUF_NAMESPACE_ID::Arena *arena)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void Swap(SerialMuxConfig *other)
::goby::middleware::protobuf::PTYConfig * unsafe_arena_release_pty()
void unsafe_arena_set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
::goby::middleware::protobuf::SerialConfig * unsafe_arena_release_primary_serial()
static const SerialMuxConfig_SecondaryPTY * internal_default_instance()
const ::goby::apps::middleware::protobuf::SerialMuxConfig_SecondaryPTY & secondary(int index) const
void Swap(SerialMuxConfig_SecondaryPTY *other)
SerialMuxConfig_SecondaryPTY()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
SerialMuxConfig_SecondaryPTY & operator=(SerialMuxConfig_SecondaryPTY &&from) noexcept
void CopyFrom(const SerialMuxConfig &from)
void MergeFrom(const SerialMuxConfig &from)
void set_allow_write(bool value)
void CopyFrom(const SerialMuxConfig_SecondaryPTY &from)
SerialMuxConfig(SerialMuxConfig &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static void InitAsDefaultInstance()
friend void swap(SerialMuxConfig &a, SerialMuxConfig &b)
static const SerialMuxConfig & default_instance()
::goby::middleware::protobuf::SerialConfig * mutable_primary_serial()
::goby::middleware::protobuf::AppConfig * release_app()
SerialMuxConfig * New() const final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
SerialMuxConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena)
::goby::middleware::protobuf::PTYConfig * release_pty()
int secondary_size() const
SerialMuxConfig(const SerialMuxConfig &from)
SerialMuxConfig_SecondaryPTY(SerialMuxConfig_SecondaryPTY &&from) noexcept
void UnsafeArenaSwap(SerialMuxConfig *other)
SerialMuxConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
SerialMuxConfig & operator=(const SerialMuxConfig &from)
SerialMuxConfig_SecondaryPTY * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
void MergeFrom(const SerialMuxConfig_SecondaryPTY &from)
const ::goby::middleware::protobuf::SerialConfig & primary_serial() const
void set_allocated_pty(::goby::middleware::protobuf::PTYConfig *pty)
void unsafe_arena_set_allocated_pty(::goby::middleware::protobuf::PTYConfig *pty)
::goby::middleware::protobuf::SerialConfig * release_primary_serial()
static const SerialMuxConfig * internal_default_instance()
SerialMuxConfig & operator=(SerialMuxConfig &&from) noexcept
const ::goby::middleware::protobuf::PTYConfig & pty() const
::goby::middleware::protobuf::AppConfig * mutable_app()
SerialMuxConfig_SecondaryPTY * New() const final
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::apps::middleware::protobuf::SerialMuxConfig_SecondaryPTY > & secondary() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void unsafe_arena_set_allocated_primary_serial(::goby::middleware::protobuf::SerialConfig *primary_serial)
friend void swap(SerialMuxConfig_SecondaryPTY &a, SerialMuxConfig_SecondaryPTY &b)
virtual ~SerialMuxConfig_SecondaryPTY()
::goby::middleware::protobuf::PTYConfig * mutable_pty()
bool has_primary_serial() const
void set_allocated_primary_serial(::goby::middleware::protobuf::SerialConfig *primary_serial)
const ::goby::middleware::protobuf::AppConfig & app() const
::goby::apps::middleware::protobuf::SerialMuxConfig_SecondaryPTY * mutable_secondary(int index)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
virtual ~SerialMuxConfig()
::goby::middleware::protobuf::AppConfig * unsafe_arena_release_app()
SerialMuxConfig_SecondaryPTY(const SerialMuxConfig_SecondaryPTY &from)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fapps_2fmiddleware_2fserial_5fmux_2fconfig_2eproto
@ value
the parser finished reading a JSON value
SerialMuxConfig_SecondaryPTYDefaultTypeInternal _SerialMuxConfig_SecondaryPTY_default_instance_
SerialMuxConfigDefaultTypeInternal _SerialMuxConfig_default_instance_
SerialConfigDefaultTypeInternal _SerialConfig_default_instance_
AppConfigDefaultTypeInternal _AppConfig_default_instance_
PTYConfigDefaultTypeInternal _PTYConfig_default_instance_
The global namespace for the Goby project.
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]