4 #ifndef PROTOBUF_INCLUDED_jaiabot_2fmessages_2ffleet_5fconfig_2eproto
5 #define PROTOBUF_INCLUDED_jaiabot_2fmessages_2ffleet_5fconfig_2eproto
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
22 #include <google/protobuf/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
29 #include <google/protobuf/message.h>
30 #include <google/protobuf/repeated_field.h>
31 #include <google/protobuf/extension_set.h>
32 #include <google/protobuf/generated_enum_reflection.h>
33 #include <google/protobuf/unknown_field_set.h>
34 #include <boost/units/quantity.hpp>
35 #include <boost/units/absolute.hpp>
36 #include <boost/units/dimensionless_type.hpp>
37 #include <boost/units/make_scaled_unit.hpp>
39 #define PROTOBUF_INTERNAL_EXPORT_protobuf_jaiabot_2fmessages_2ffleet_5fconfig_2eproto
44 static const ::google::protobuf::internal::ParseTableField
entries[];
45 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
46 static const ::google::protobuf::internal::ParseTable
schema[6];
49 static const ::google::protobuf::uint32
offsets[];
56 class FleetConfigDefaultTypeInternal;
58 class FleetConfig_Debconf;
59 class FleetConfig_DebconfDefaultTypeInternal;
61 class FleetConfig_DebconfOverride;
62 class FleetConfig_DebconfOverrideDefaultTypeInternal;
64 class FleetConfig_SSHKeys;
65 class FleetConfig_SSHKeysDefaultTypeInternal;
67 class FleetConfig_SSHKeys_HubKey;
68 class FleetConfig_SSHKeys_HubKeyDefaultTypeInternal;
70 class FleetConfig_SSHKeys_VPNTempKey;
71 class FleetConfig_SSHKeys_VPNTempKeyDefaultTypeInternal;
104 return ::google::protobuf::internal::NameOfEnum(
109 return ::google::protobuf::internal::ParseNamedEnum<FleetConfig_Debconf_DebconfType>(
123 return ::google::protobuf::internal::NameOfEnum(
128 return ::google::protobuf::internal::ParseNamedEnum<FleetConfig_DebconfOverride_NodeType>(
147 *
this = ::std::move(from);
151 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
152 if (
this != &from) InternalSwap(&from);
160 return _internal_metadata_.unknown_fields();
163 return _internal_metadata_.mutable_unknown_fields();
166 static const ::google::protobuf::Descriptor*
descriptor();
185 return CreateMaybeMessage<FleetConfig_SSHKeys_HubKey>(NULL);
189 return CreateMaybeMessage<FleetConfig_SSHKeys_HubKey>(arena);
191 void CopyFrom(const ::google::protobuf::Message& from)
final;
192 void MergeFrom(const ::google::protobuf::Message& from)
final;
200 ::
google::protobuf::io::CodedInputStream* input) final;
202 ::
google::protobuf::io::CodedOutputStream* output) const final;
204 bool deterministic, ::
google::protobuf::uint8* target) const final;
210 void SetCachedSize(
int size)
const final;
213 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
216 inline void* MaybeArenaPtr()
const {
221 ::google::protobuf::Metadata
GetMetadata() const final;
261 ::google::protobuf::int32
id()
const;
262 void set_id(::google::protobuf::int32 value);
268 void set_has_private_key();
269 void clear_has_private_key();
270 void set_has_public_key();
271 void clear_has_public_key();
274 size_t RequiredFieldsByteSizeFallback()
const;
276 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
277 ::google::protobuf::internal::HasBits<1> _has_bits_;
278 mutable ::google::protobuf::internal::CachedSize _cached_size_;
279 ::google::protobuf::internal::ArenaStringPtr private_key_;
280 ::google::protobuf::internal::ArenaStringPtr public_key_;
281 ::google::protobuf::int32 id_;
282 friend struct ::protobuf_jaiabot_2fmessages_2ffleet_5fconfig_2eproto::TableStruct;
300 *
this = ::std::move(from);
304 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
305 if (
this != &from) InternalSwap(&from);
313 return _internal_metadata_.unknown_fields();
316 return _internal_metadata_.mutable_unknown_fields();
319 static const ::google::protobuf::Descriptor*
descriptor();
338 return CreateMaybeMessage<FleetConfig_SSHKeys_VPNTempKey>(NULL);
342 return CreateMaybeMessage<FleetConfig_SSHKeys_VPNTempKey>(arena);
344 void CopyFrom(const ::google::protobuf::Message& from)
final;
345 void MergeFrom(const ::google::protobuf::Message& from)
final;
353 ::
google::protobuf::io::CodedInputStream* input) final;
355 ::
google::protobuf::io::CodedOutputStream* output) const final;
357 bool deterministic, ::
google::protobuf::uint8* target) const final;
363 void SetCachedSize(
int size)
const final;
366 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
369 inline void* MaybeArenaPtr()
const {
374 ::google::protobuf::Metadata
GetMetadata() const final;
412 void set_has_private_key();
413 void clear_has_private_key();
414 void set_has_public_key();
415 void clear_has_public_key();
418 size_t RequiredFieldsByteSizeFallback()
const;
420 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
421 ::google::protobuf::internal::HasBits<1> _has_bits_;
422 mutable ::google::protobuf::internal::CachedSize _cached_size_;
423 ::google::protobuf::internal::ArenaStringPtr private_key_;
424 ::google::protobuf::internal::ArenaStringPtr public_key_;
425 friend struct ::protobuf_jaiabot_2fmessages_2ffleet_5fconfig_2eproto::TableStruct;
443 *
this = ::std::move(from);
447 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
448 if (
this != &from) InternalSwap(&from);
456 return _internal_metadata_.unknown_fields();
459 return _internal_metadata_.mutable_unknown_fields();
462 static const ::google::protobuf::Descriptor*
descriptor();
481 return CreateMaybeMessage<FleetConfig_SSHKeys>(NULL);
485 return CreateMaybeMessage<FleetConfig_SSHKeys>(arena);
487 void CopyFrom(const ::google::protobuf::Message& from)
final;
488 void MergeFrom(const ::google::protobuf::Message& from)
final;
496 ::
google::protobuf::io::CodedInputStream* input) final;
498 ::
google::protobuf::io::CodedOutputStream* output) const final;
500 bool deterministic, ::
google::protobuf::uint8* target) const final;
506 void SetCachedSize(
int size)
const final;
509 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
512 inline void* MaybeArenaPtr()
const {
517 ::google::protobuf::Metadata
GetMetadata() const final;
553 ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::FleetConfig_SSHKeys_HubKey >*
555 const ::jaiabot::protobuf::FleetConfig_SSHKeys_HubKey&
hub(
int index)
const;
557 const ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::FleetConfig_SSHKeys_HubKey >&
565 const ::jaiabot::protobuf::FleetConfig_SSHKeys_VPNTempKey& _internal_vpn_tmp()
const;
567 const ::jaiabot::protobuf::FleetConfig_SSHKeys_VPNTempKey&
vpn_tmp()
const;
574 void set_has_vpn_tmp();
575 void clear_has_vpn_tmp();
577 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
578 ::google::protobuf::internal::HasBits<1> _has_bits_;
579 mutable ::google::protobuf::internal::CachedSize _cached_size_;
580 ::google::protobuf::RepeatedPtrField< ::std::string> permanent_authorized_keys_;
581 ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::FleetConfig_SSHKeys_HubKey > hub_;
583 friend struct ::protobuf_jaiabot_2fmessages_2ffleet_5fconfig_2eproto::TableStruct;
601 *
this = ::std::move(from);
605 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
606 if (
this != &from) InternalSwap(&from);
614 return _internal_metadata_.unknown_fields();
617 return _internal_metadata_.mutable_unknown_fields();
620 static const ::google::protobuf::Descriptor*
descriptor();
639 return CreateMaybeMessage<FleetConfig_Debconf>(NULL);
643 return CreateMaybeMessage<FleetConfig_Debconf>(arena);
645 void CopyFrom(const ::google::protobuf::Message& from)
final;
646 void MergeFrom(const ::google::protobuf::Message& from)
final;
654 ::
google::protobuf::io::CodedInputStream* input) final;
656 ::
google::protobuf::io::CodedOutputStream* output) const final;
658 bool deterministic, ::
google::protobuf::uint8* target) const final;
664 void SetCachedSize(
int size)
const final;
667 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
670 inline void* MaybeArenaPtr()
const {
675 ::google::protobuf::Metadata
GetMetadata() const final;
703 static inline const ::google::protobuf::EnumDescriptor*
721 const ::std::string&
key()
const;
736 const ::std::string&
value()
const;
757 void clear_has_key();
759 void clear_has_type();
760 void set_has_value();
761 void clear_has_value();
764 size_t RequiredFieldsByteSizeFallback()
const;
766 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
767 ::google::protobuf::internal::HasBits<1> _has_bits_;
768 mutable ::google::protobuf::internal::CachedSize _cached_size_;
769 ::google::protobuf::internal::ArenaStringPtr key_;
770 ::google::protobuf::internal::ArenaStringPtr value_;
772 friend struct ::protobuf_jaiabot_2fmessages_2ffleet_5fconfig_2eproto::TableStruct;
790 *
this = ::std::move(from);
794 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
795 if (
this != &from) InternalSwap(&from);
803 return _internal_metadata_.unknown_fields();
806 return _internal_metadata_.mutable_unknown_fields();
809 static const ::google::protobuf::Descriptor*
descriptor();
828 return CreateMaybeMessage<FleetConfig_DebconfOverride>(NULL);
832 return CreateMaybeMessage<FleetConfig_DebconfOverride>(arena);
834 void CopyFrom(const ::google::protobuf::Message& from)
final;
835 void MergeFrom(const ::google::protobuf::Message& from)
final;
843 ::
google::protobuf::io::CodedInputStream* input) final;
845 ::
google::protobuf::io::CodedOutputStream* output) const final;
847 bool deterministic, ::
google::protobuf::uint8* target) const final;
853 void SetCachedSize(
int size)
const final;
856 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
859 inline void* MaybeArenaPtr()
const {
864 ::google::protobuf::Metadata
GetMetadata() const final;
882 static inline const ::google::protobuf::EnumDescriptor*
901 ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::FleetConfig_Debconf >*
903 const ::jaiabot::protobuf::FleetConfig_Debconf&
debconf(
int index)
const;
905 const ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::FleetConfig_Debconf >&
919 ::google::protobuf::int32
id()
const;
920 void set_id(::google::protobuf::int32 value);
925 void clear_has_type();
930 size_t RequiredFieldsByteSizeFallback()
const;
932 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
933 ::google::protobuf::internal::HasBits<1> _has_bits_;
934 mutable ::google::protobuf::internal::CachedSize _cached_size_;
935 ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::FleetConfig_Debconf > debconf_;
937 ::google::protobuf::int32 id_;
938 friend struct ::protobuf_jaiabot_2fmessages_2ffleet_5fconfig_2eproto::TableStruct;
956 *
this = ::std::move(from);
960 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
961 if (
this != &from) InternalSwap(&from);
969 return _internal_metadata_.unknown_fields();
972 return _internal_metadata_.mutable_unknown_fields();
975 static const ::google::protobuf::Descriptor*
descriptor();
994 return CreateMaybeMessage<FleetConfig>(NULL);
998 return CreateMaybeMessage<FleetConfig>(arena);
1000 void CopyFrom(const ::google::protobuf::Message& from)
final;
1001 void MergeFrom(const ::google::protobuf::Message& from)
final;
1009 ::
google::protobuf::io::CodedInputStream* input) final;
1011 ::
google::protobuf::io::CodedOutputStream* output) const final;
1013 bool deterministic, ::
google::protobuf::uint8* target) const final;
1019 void SetCachedSize(
int size)
const final;
1022 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1025 inline void* MaybeArenaPtr()
const {
1030 ::google::protobuf::Metadata
GetMetadata() const final;
1044 ::
google::protobuf::int32
hubs(
int index) const;
1047 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >&
1049 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >*
1056 ::
google::protobuf::int32
bots(
int index) const;
1059 const ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >&
1061 ::
google::protobuf::RepeatedField< ::
google::protobuf::int32 >*
1108 const ::jaiabot::protobuf::FleetConfig_SSHKeys& _internal_ssh()
const;
1110 const ::jaiabot::protobuf::FleetConfig_SSHKeys&
ssh()
const;
1119 ::google::protobuf::int32
fleet()
const;
1120 void set_fleet(::google::protobuf::int32 value);
1131 void set_has_fleet();
1132 void clear_has_fleet();
1134 void clear_has_ssh();
1135 void set_has_wlan_password();
1136 void clear_has_wlan_password();
1137 void set_has_service_vpn_enabled();
1138 void clear_has_service_vpn_enabled();
1141 size_t RequiredFieldsByteSizeFallback()
const;
1143 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1144 ::google::protobuf::internal::HasBits<1> _has_bits_;
1145 mutable ::google::protobuf::internal::CachedSize _cached_size_;
1146 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > hubs_;
1147 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > bots_;
1148 ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::FleetConfig_Debconf > debconf_;
1149 ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::FleetConfig_DebconfOverride > debconf_override_;
1150 ::google::protobuf::internal::ArenaStringPtr wlan_password_;
1152 ::google::protobuf::int32 fleet_;
1153 bool service_vpn_enabled_;
1154 friend struct ::protobuf_jaiabot_2fmessages_2ffleet_5fconfig_2eproto::TableStruct;
1162 #pragma GCC diagnostic push
1163 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1169 return (_has_bits_[0] & 0x00000004u) != 0;
1171 inline void FleetConfig_SSHKeys_HubKey::set_has_id() {
1172 _has_bits_[0] |= 0x00000004u;
1174 inline void FleetConfig_SSHKeys_HubKey::clear_has_id() {
1175 _has_bits_[0] &= ~0x00000004u;
1193 return (_has_bits_[0] & 0x00000001u) != 0;
1195 inline void FleetConfig_SSHKeys_HubKey::set_has_private_key() {
1196 _has_bits_[0] |= 0x00000001u;
1198 inline void FleetConfig_SSHKeys_HubKey::clear_has_private_key() {
1199 _has_bits_[0] &= ~0x00000001u;
1202 private_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1203 clear_has_private_key();
1207 return private_key_.GetNoArena();
1210 set_has_private_key();
1211 private_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1216 set_has_private_key();
1217 private_key_.SetNoArena(
1218 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1223 GOOGLE_DCHECK(value != NULL);
1224 set_has_private_key();
1225 private_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1229 set_has_private_key();
1230 private_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1231 ::std::string(
reinterpret_cast<const char*
>(value), size));
1235 set_has_private_key();
1237 return private_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1244 clear_has_private_key();
1245 return private_key_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1249 set_has_private_key();
1251 clear_has_private_key();
1253 private_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
private_key);
1259 return (_has_bits_[0] & 0x00000002u) != 0;
1261 inline void FleetConfig_SSHKeys_HubKey::set_has_public_key() {
1262 _has_bits_[0] |= 0x00000002u;
1264 inline void FleetConfig_SSHKeys_HubKey::clear_has_public_key() {
1265 _has_bits_[0] &= ~0x00000002u;
1268 public_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1269 clear_has_public_key();
1273 return public_key_.GetNoArena();
1276 set_has_public_key();
1277 public_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1282 set_has_public_key();
1283 public_key_.SetNoArena(
1284 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1289 GOOGLE_DCHECK(value != NULL);
1290 set_has_public_key();
1291 public_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1295 set_has_public_key();
1296 public_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1297 ::std::string(
reinterpret_cast<const char*
>(value), size));
1301 set_has_public_key();
1303 return public_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1310 clear_has_public_key();
1311 return public_key_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1315 set_has_public_key();
1317 clear_has_public_key();
1319 public_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
public_key);
1329 return (_has_bits_[0] & 0x00000001u) != 0;
1331 inline void FleetConfig_SSHKeys_VPNTempKey::set_has_private_key() {
1332 _has_bits_[0] |= 0x00000001u;
1334 inline void FleetConfig_SSHKeys_VPNTempKey::clear_has_private_key() {
1335 _has_bits_[0] &= ~0x00000001u;
1338 private_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1339 clear_has_private_key();
1343 return private_key_.GetNoArena();
1346 set_has_private_key();
1347 private_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1352 set_has_private_key();
1353 private_key_.SetNoArena(
1354 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1359 GOOGLE_DCHECK(value != NULL);
1360 set_has_private_key();
1361 private_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1365 set_has_private_key();
1366 private_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1367 ::std::string(
reinterpret_cast<const char*
>(value), size));
1371 set_has_private_key();
1373 return private_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1380 clear_has_private_key();
1381 return private_key_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1385 set_has_private_key();
1387 clear_has_private_key();
1389 private_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
private_key);
1395 return (_has_bits_[0] & 0x00000002u) != 0;
1397 inline void FleetConfig_SSHKeys_VPNTempKey::set_has_public_key() {
1398 _has_bits_[0] |= 0x00000002u;
1400 inline void FleetConfig_SSHKeys_VPNTempKey::clear_has_public_key() {
1401 _has_bits_[0] &= ~0x00000002u;
1404 public_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1405 clear_has_public_key();
1409 return public_key_.GetNoArena();
1412 set_has_public_key();
1413 public_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1418 set_has_public_key();
1419 public_key_.SetNoArena(
1420 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1425 GOOGLE_DCHECK(value != NULL);
1426 set_has_public_key();
1427 public_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1431 set_has_public_key();
1432 public_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1433 ::std::string(
reinterpret_cast<const char*
>(value), size));
1437 set_has_public_key();
1439 return public_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1446 clear_has_public_key();
1447 return public_key_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1451 set_has_public_key();
1453 clear_has_public_key();
1455 public_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
public_key);
1465 return permanent_authorized_keys_.size();
1468 permanent_authorized_keys_.Clear();
1472 return permanent_authorized_keys_.Get(index);
1476 return permanent_authorized_keys_.Mutable(index);
1480 permanent_authorized_keys_.Mutable(index)->assign(value);
1485 permanent_authorized_keys_.Mutable(index)->assign(std::move(value));
1489 GOOGLE_DCHECK(value != NULL);
1490 permanent_authorized_keys_.Mutable(index)->assign(value);
1494 permanent_authorized_keys_.Mutable(index)->assign(
1495 reinterpret_cast<const char*
>(value), size);
1500 return permanent_authorized_keys_.Add();
1503 permanent_authorized_keys_.Add()->assign(value);
1508 permanent_authorized_keys_.Add(std::move(value));
1513 GOOGLE_DCHECK(value != NULL);
1514 permanent_authorized_keys_.Add()->assign(value);
1518 permanent_authorized_keys_.Add()->assign(
reinterpret_cast<const char*
>(value), size);
1521 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
1524 return permanent_authorized_keys_;
1526 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
1529 return &permanent_authorized_keys_;
1541 return hub_.Mutable(index);
1543 inline ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::FleetConfig_SSHKeys_HubKey >*
1550 return hub_.Get(index);
1556 inline const ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::FleetConfig_SSHKeys_HubKey >&
1564 return (_has_bits_[0] & 0x00000001u) != 0;
1566 inline void FleetConfig_SSHKeys::set_has_vpn_tmp() {
1567 _has_bits_[0] |= 0x00000001u;
1569 inline void FleetConfig_SSHKeys::clear_has_vpn_tmp() {
1570 _has_bits_[0] &= ~0x00000001u;
1573 if (vpn_tmp_ != NULL) vpn_tmp_->
Clear();
1574 clear_has_vpn_tmp();
1576 inline const ::jaiabot::protobuf::FleetConfig_SSHKeys_VPNTempKey& FleetConfig_SSHKeys::_internal_vpn_tmp()
const {
1580 const ::jaiabot::protobuf::FleetConfig_SSHKeys_VPNTempKey* p = vpn_tmp_;
1587 clear_has_vpn_tmp();
1594 if (vpn_tmp_ == NULL) {
1595 auto* p = CreateMaybeMessage<::jaiabot::protobuf::FleetConfig_SSHKeys_VPNTempKey>(GetArenaNoVirtual());
1602 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1603 if (message_arena == NULL) {
1607 ::google::protobuf::Arena* submessage_arena = NULL;
1608 if (message_arena != submessage_arena) {
1609 vpn_tmp = ::google::protobuf::internal::GetOwnedMessage(
1610 message_arena,
vpn_tmp, submessage_arena);
1614 clear_has_vpn_tmp();
1626 return (_has_bits_[0] & 0x00000001u) != 0;
1628 inline void FleetConfig_Debconf::set_has_key() {
1629 _has_bits_[0] |= 0x00000001u;
1631 inline void FleetConfig_Debconf::clear_has_key() {
1632 _has_bits_[0] &= ~0x00000001u;
1635 key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1640 return key_.GetNoArena();
1644 key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value);
1651 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(
value));
1656 GOOGLE_DCHECK(
value != NULL);
1658 key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
value));
1663 key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1664 ::std::string(
reinterpret_cast<const char*
>(
value), size));
1670 return key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1678 return key_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1686 key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
key);
1692 return (_has_bits_[0] & 0x00000004u) != 0;
1694 inline void FleetConfig_Debconf::set_has_type() {
1695 _has_bits_[0] |= 0x00000004u;
1697 inline void FleetConfig_Debconf::clear_has_type() {
1698 _has_bits_[0] &= ~0x00000004u;
1717 return (_has_bits_[0] & 0x00000002u) != 0;
1719 inline void FleetConfig_Debconf::set_has_value() {
1720 _has_bits_[0] |= 0x00000002u;
1722 inline void FleetConfig_Debconf::clear_has_value() {
1723 _has_bits_[0] &= ~0x00000002u;
1726 value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1731 return value_.GetNoArena();
1735 value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value);
1742 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(
value));
1747 GOOGLE_DCHECK(
value != NULL);
1749 value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(
value));
1754 value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1755 ::std::string(
reinterpret_cast<const char*
>(
value), size));
1761 return value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1769 return value_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1772 if (
value != NULL) {
1777 value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
value);
1787 return (_has_bits_[0] & 0x00000001u) != 0;
1789 inline void FleetConfig_DebconfOverride::set_has_type() {
1790 _has_bits_[0] |= 0x00000001u;
1792 inline void FleetConfig_DebconfOverride::clear_has_type() {
1793 _has_bits_[0] &= ~0x00000001u;
1812 return (_has_bits_[0] & 0x00000002u) != 0;
1814 inline void FleetConfig_DebconfOverride::set_has_id() {
1815 _has_bits_[0] |= 0x00000002u;
1817 inline void FleetConfig_DebconfOverride::clear_has_id() {
1818 _has_bits_[0] &= ~0x00000002u;
1836 return debconf_.size();
1843 return debconf_.Mutable(index);
1845 inline ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::FleetConfig_Debconf >*
1852 return debconf_.Get(index);
1856 return debconf_.Add();
1858 inline const ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::FleetConfig_Debconf >&
1870 return (_has_bits_[0] & 0x00000004u) != 0;
1872 inline void FleetConfig::set_has_fleet() {
1873 _has_bits_[0] |= 0x00000004u;
1875 inline void FleetConfig::clear_has_fleet() {
1876 _has_bits_[0] &= ~0x00000004u;
1894 return hubs_.size();
1901 return hubs_.Get(index);
1904 hubs_.Set(index, value);
1911 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
1916 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
1924 return bots_.size();
1931 return bots_.Get(index);
1934 bots_.Set(index, value);
1941 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
1946 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
1954 return (_has_bits_[0] & 0x00000002u) != 0;
1956 inline void FleetConfig::set_has_ssh() {
1957 _has_bits_[0] |= 0x00000002u;
1959 inline void FleetConfig::clear_has_ssh() {
1960 _has_bits_[0] &= ~0x00000002u;
1963 if (ssh_ != NULL) ssh_->
Clear();
1966 inline const ::jaiabot::protobuf::FleetConfig_SSHKeys& FleetConfig::_internal_ssh()
const {
1970 const ::jaiabot::protobuf::FleetConfig_SSHKeys* p = ssh_;
1985 auto* p = CreateMaybeMessage<::jaiabot::protobuf::FleetConfig_SSHKeys>(GetArenaNoVirtual());
1992 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1993 if (message_arena == NULL) {
1997 ::google::protobuf::Arena* submessage_arena = NULL;
1998 if (message_arena != submessage_arena) {
1999 ssh = ::google::protobuf::internal::GetOwnedMessage(
2000 message_arena,
ssh, submessage_arena);
2012 return debconf_.size();
2019 return debconf_.Mutable(index);
2021 inline ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::FleetConfig_Debconf >*
2028 return debconf_.Get(index);
2032 return debconf_.Add();
2034 inline const ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::FleetConfig_Debconf >&
2042 return (_has_bits_[0] & 0x00000001u) != 0;
2044 inline void FleetConfig::set_has_wlan_password() {
2045 _has_bits_[0] |= 0x00000001u;
2047 inline void FleetConfig::clear_has_wlan_password() {
2048 _has_bits_[0] &= ~0x00000001u;
2051 wlan_password_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2052 clear_has_wlan_password();
2056 return wlan_password_.GetNoArena();
2059 set_has_wlan_password();
2060 wlan_password_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2065 set_has_wlan_password();
2066 wlan_password_.SetNoArena(
2067 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2072 GOOGLE_DCHECK(value != NULL);
2073 set_has_wlan_password();
2074 wlan_password_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2078 set_has_wlan_password();
2079 wlan_password_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2080 ::std::string(
reinterpret_cast<const char*
>(value), size));
2084 set_has_wlan_password();
2086 return wlan_password_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2093 clear_has_wlan_password();
2094 return wlan_password_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2098 set_has_wlan_password();
2100 clear_has_wlan_password();
2102 wlan_password_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
wlan_password);
2108 return (_has_bits_[0] & 0x00000008u) != 0;
2110 inline void FleetConfig::set_has_service_vpn_enabled() {
2111 _has_bits_[0] |= 0x00000008u;
2113 inline void FleetConfig::clear_has_service_vpn_enabled() {
2114 _has_bits_[0] &= ~0x00000008u;
2117 service_vpn_enabled_ =
false;
2118 clear_has_service_vpn_enabled();
2122 return service_vpn_enabled_;
2125 set_has_service_vpn_enabled();
2126 service_vpn_enabled_ = value;
2132 return debconf_override_.size();
2135 debconf_override_.Clear();
2139 return debconf_override_.Mutable(index);
2141 inline ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::FleetConfig_DebconfOverride >*
2144 return &debconf_override_;
2148 return debconf_override_.Get(index);
2152 return debconf_override_.Add();
2154 inline const ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::FleetConfig_DebconfOverride >&
2157 return debconf_override_;
2161 #pragma GCC diagnostic pop
2180 namespace protobuf {
2184 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::FleetConfig_Debconf_DebconfType>() {
2189 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::FleetConfig_DebconfOverride_NodeType>() {
2198 #endif // PROTOBUF_INCLUDED_jaiabot_2fmessages_2ffleet_5fconfig_2eproto