Goby3 3.4.0
2026.04.13
Loading...
Searching...
No Matches
interprocess_config.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: goby/udpm/protobuf/interprocess_config.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fudpm_2fprotobuf_2finterprocess_5fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2fudpm_2fprotobuf_2finterprocess_5fconfig_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>
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>
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>
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>
38// @@protoc_insertion_point(includes)
39#include <google/protobuf/port_def.inc>
40#define PROTOBUF_INTERNAL_EXPORT_goby_2fudpm_2fprotobuf_2finterprocess_5fconfig_2eproto
41PROTOBUF_NAMESPACE_OPEN
42namespace internal {
43class AnyMetadata;
44} // namespace internal
45PROTOBUF_NAMESPACE_CLOSE
46
47// Internal implementation detail -- do not use these members.
51extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fudpm_2fprotobuf_2finterprocess_5fconfig_2eproto;
52namespace goby {
53namespace udpm {
54namespace protobuf {
56struct InterProcessPortalConfigDefaultTypeInternal;
57extern InterProcessPortalConfigDefaultTypeInternal _InterProcessPortalConfig_default_instance_;
58} // namespace protobuf
59} // namespace udpm
60} // namespace goby
61PROTOBUF_NAMESPACE_OPEN
62template<> ::goby::udpm::protobuf::InterProcessPortalConfig* Arena::CreateMaybeMessage<::goby::udpm::protobuf::InterProcessPortalConfig>(Arena*);
63PROTOBUF_NAMESPACE_CLOSE
64namespace goby {
65namespace udpm {
66namespace protobuf {
67
68// ===================================================================
69
71 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.udpm.protobuf.InterProcessPortalConfig) */ {
72 public:
75 explicit PROTOBUF_CONSTEXPR InterProcessPortalConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
76
80 *this = ::std::move(from);
81 }
82
84 CopyFrom(from);
85 return *this;
86 }
88 if (this == &from) return *this;
89 if (GetOwningArena() == from.GetOwningArena()
90 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
91 && GetOwningArena() != nullptr
92 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
93 ) {
94 InternalSwap(&from);
95 } else {
96 CopyFrom(from);
97 }
98 return *this;
99 }
100
101 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
102 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
103 }
104 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
105 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
106 }
107
108 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
109 return GetDescriptor();
110 }
111 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
112 return default_instance().GetMetadata().descriptor;
113 }
114 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
115 return default_instance().GetMetadata().reflection;
116 }
121 return reinterpret_cast<const InterProcessPortalConfig*>(
123 }
124 static constexpr int kIndexInFileMessages =
125 0;
126
128 a.Swap(&b);
129 }
130 inline void Swap(InterProcessPortalConfig* other) {
131 if (other == this) return;
132 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
133 if (GetOwningArena() != nullptr &&
134 GetOwningArena() == other->GetOwningArena()) {
135 #else // PROTOBUF_FORCE_COPY_IN_SWAP
136 if (GetOwningArena() == other->GetOwningArena()) {
137 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
138 InternalSwap(other);
139 } else {
140 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
141 }
142 }
144 if (other == this) return;
145 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
146 InternalSwap(other);
147 }
148
149 // implements Message ----------------------------------------------
150
151 InterProcessPortalConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
152 return CreateMaybeMessage<InterProcessPortalConfig>(arena);
153 }
154 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
156 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
158 InterProcessPortalConfig::MergeImpl(*this, from);
159 }
160 private:
161 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
162 public:
163 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
164 bool IsInitialized() const final;
165
166 size_t ByteSizeLong() const final;
167 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
169 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
170 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
171
172 private:
173 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
174 void SharedDtor();
175 void SetCachedSize(int size) const final;
176 void InternalSwap(InterProcessPortalConfig* other);
177
178 private:
179 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
180 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
181 return "goby.udpm.protobuf.InterProcessPortalConfig";
182 }
183 protected:
184 explicit InterProcessPortalConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena,
185 bool is_message_owned = false);
186 public:
187
188 static const ClassData _class_data_;
189 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
190
191 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
192
193 // nested types ----------------------------------------------------
194
195 // accessors -------------------------------------------------------
196
197 enum : int {
205 };
206 // optional string platform = 1 [default = "default_goby_platform", (.goby.field) = {
207 bool has_platform() const;
208 private:
209 bool _internal_has_platform() const;
210 public:
211 void clear_platform();
212 const std::string& platform() const;
213 template <typename ArgT0 = const std::string&, typename... ArgT>
214 void set_platform(ArgT0&& arg0, ArgT... args);
215 std::string* mutable_platform();
216 PROTOBUF_NODISCARD std::string* release_platform();
217 void set_allocated_platform(std::string* platform);
218 private:
219 const std::string& _internal_platform() const;
220 inline PROTOBUF_ALWAYS_INLINE void _internal_set_platform(const std::string& value);
221 std::string* _internal_mutable_platform();
222 public:
223
224 // optional string listen_address = 2 [default = "0.0.0.0", (.goby.field) = {
225 bool has_listen_address() const;
226 private:
227 bool _internal_has_listen_address() const;
228 public:
230 const std::string& listen_address() const;
231 template <typename ArgT0 = const std::string&, typename... ArgT>
232 void set_listen_address(ArgT0&& arg0, ArgT... args);
233 std::string* mutable_listen_address();
234 PROTOBUF_NODISCARD std::string* release_listen_address();
236 private:
237 const std::string& _internal_listen_address() const;
238 inline PROTOBUF_ALWAYS_INLINE void _internal_set_listen_address(const std::string& value);
239 std::string* _internal_mutable_listen_address();
240 public:
241
242 // optional string multicast_address = 3 [default = "239.142.0.2", (.goby.field) = {
243 bool has_multicast_address() const;
244 private:
245 bool _internal_has_multicast_address() const;
246 public:
248 const std::string& multicast_address() const;
249 template <typename ArgT0 = const std::string&, typename... ArgT>
250 void set_multicast_address(ArgT0&& arg0, ArgT... args);
251 std::string* mutable_multicast_address();
252 PROTOBUF_NODISCARD std::string* release_multicast_address();
254 private:
255 const std::string& _internal_multicast_address() const;
256 inline PROTOBUF_ALWAYS_INLINE void _internal_set_multicast_address(const std::string& value);
257 std::string* _internal_mutable_multicast_address();
258 public:
259
260 // optional string client_name = 20 [(.goby.field) = {
261 bool has_client_name() const;
262 private:
263 bool _internal_has_client_name() const;
264 public:
265 void clear_client_name();
266 const std::string& client_name() const;
267 template <typename ArgT0 = const std::string&, typename... ArgT>
268 void set_client_name(ArgT0&& arg0, ArgT... args);
269 std::string* mutable_client_name();
270 PROTOBUF_NODISCARD std::string* release_client_name();
271 void set_allocated_client_name(std::string* client_name);
272 private:
273 const std::string& _internal_client_name() const;
274 inline PROTOBUF_ALWAYS_INLINE void _internal_set_client_name(const std::string& value);
275 std::string* _internal_mutable_client_name();
276 public:
277
278 // optional uint32 max_send_rate_bytes_per_second = 6 [default = 0, (.goby.field) = {
280 private:
281 bool _internal_has_max_send_rate_bytes_per_second() const;
282 public:
284 uint32_t max_send_rate_bytes_per_second() const;
285 void set_max_send_rate_bytes_per_second(uint32_t value);
286 private:
287 uint32_t _internal_max_send_rate_bytes_per_second() const;
288 void _internal_set_max_send_rate_bytes_per_second(uint32_t value);
289 public:
290
291 // optional uint32 multicast_port = 4 [default = 11144, (.goby.field) = {
292 bool has_multicast_port() const;
293 private:
294 bool _internal_has_multicast_port() const;
295 public:
297 uint32_t multicast_port() const;
298 void set_multicast_port(uint32_t value);
299 private:
300 uint32_t _internal_multicast_port() const;
301 void _internal_set_multicast_port(uint32_t value);
302 public:
303
304 // optional uint32 udp_payload_bytes = 5 [default = 1472, (.goby.field) = {
305 bool has_udp_payload_bytes() const;
306 private:
307 bool _internal_has_udp_payload_bytes() const;
308 public:
310 uint32_t udp_payload_bytes() const;
311 void set_udp_payload_bytes(uint32_t value);
312 private:
313 uint32_t _internal_udp_payload_bytes() const;
314 void _internal_set_udp_payload_bytes(uint32_t value);
315 public:
316
317 // @@protoc_insertion_point(class_scope:goby.udpm.protobuf.InterProcessPortalConfig)
318 private:
319 class _Internal;
320
321 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
322 typedef void InternalArenaConstructable_;
323 typedef void DestructorSkippable_;
324 struct Impl_ {
325 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
326 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
327 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_platform_;
328 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr platform_;
329 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_listen_address_;
330 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr listen_address_;
331 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_multicast_address_;
332 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr multicast_address_;
333 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr client_name_;
334 uint32_t max_send_rate_bytes_per_second_;
335 uint32_t multicast_port_;
336 uint32_t udp_payload_bytes_;
337 };
338 union { Impl_ _impl_; };
339 friend struct ::TableStruct_goby_2fudpm_2fprotobuf_2finterprocess_5fconfig_2eproto;
340};
341// ===================================================================
342
343
344// ===================================================================
345
346#ifdef __GNUC__
347 #pragma GCC diagnostic push
348 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
349#endif // __GNUC__
350// InterProcessPortalConfig
351
352// optional string platform = 1 [default = "default_goby_platform", (.goby.field) = {
353inline bool InterProcessPortalConfig::_internal_has_platform() const {
354 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
355 return value;
356}
358 return _internal_has_platform();
359}
361 _impl_.platform_.ClearToDefault(::goby::udpm::protobuf::InterProcessPortalConfig::Impl_::_i_give_permission_to_break_this_code_default_platform_, GetArenaForAllocation());
362 _impl_._has_bits_[0] &= ~0x00000001u;
363}
364inline const std::string& InterProcessPortalConfig::platform() const {
365 // @@protoc_insertion_point(field_get:goby.udpm.protobuf.InterProcessPortalConfig.platform)
366 if (_impl_.platform_.IsDefault()) return Impl_::_i_give_permission_to_break_this_code_default_platform_.get();
367 return _internal_platform();
368}
369template <typename ArgT0, typename... ArgT>
370inline PROTOBUF_ALWAYS_INLINE
371void InterProcessPortalConfig::set_platform(ArgT0&& arg0, ArgT... args) {
372 _impl_._has_bits_[0] |= 0x00000001u;
373 _impl_.platform_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
374 // @@protoc_insertion_point(field_set:goby.udpm.protobuf.InterProcessPortalConfig.platform)
375}
377 std::string* _s = _internal_mutable_platform();
378 // @@protoc_insertion_point(field_mutable:goby.udpm.protobuf.InterProcessPortalConfig.platform)
379 return _s;
380}
381inline const std::string& InterProcessPortalConfig::_internal_platform() const {
382 return _impl_.platform_.Get();
383}
384inline void InterProcessPortalConfig::_internal_set_platform(const std::string& value) {
385 _impl_._has_bits_[0] |= 0x00000001u;
386 _impl_.platform_.Set(value, GetArenaForAllocation());
387}
388inline std::string* InterProcessPortalConfig::_internal_mutable_platform() {
389 _impl_._has_bits_[0] |= 0x00000001u;
390 return _impl_.platform_.Mutable(::goby::udpm::protobuf::InterProcessPortalConfig::Impl_::_i_give_permission_to_break_this_code_default_platform_, GetArenaForAllocation());
391}
393 // @@protoc_insertion_point(field_release:goby.udpm.protobuf.InterProcessPortalConfig.platform)
394 if (!_internal_has_platform()) {
395 return nullptr;
396 }
397 _impl_._has_bits_[0] &= ~0x00000001u;
398 auto* p = _impl_.platform_.Release();
399 return p;
400}
402 if (platform != nullptr) {
403 _impl_._has_bits_[0] |= 0x00000001u;
404 } else {
405 _impl_._has_bits_[0] &= ~0x00000001u;
406 }
407 _impl_.platform_.SetAllocated(platform, GetArenaForAllocation());
408 // @@protoc_insertion_point(field_set_allocated:goby.udpm.protobuf.InterProcessPortalConfig.platform)
409}
410
411// optional string listen_address = 2 [default = "0.0.0.0", (.goby.field) = {
412inline bool InterProcessPortalConfig::_internal_has_listen_address() const {
413 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
414 return value;
415}
417 return _internal_has_listen_address();
418}
420 _impl_.listen_address_.ClearToDefault(::goby::udpm::protobuf::InterProcessPortalConfig::Impl_::_i_give_permission_to_break_this_code_default_listen_address_, GetArenaForAllocation());
421 _impl_._has_bits_[0] &= ~0x00000002u;
422}
423inline const std::string& InterProcessPortalConfig::listen_address() const {
424 // @@protoc_insertion_point(field_get:goby.udpm.protobuf.InterProcessPortalConfig.listen_address)
425 if (_impl_.listen_address_.IsDefault()) return Impl_::_i_give_permission_to_break_this_code_default_listen_address_.get();
426 return _internal_listen_address();
427}
428template <typename ArgT0, typename... ArgT>
429inline PROTOBUF_ALWAYS_INLINE
430void InterProcessPortalConfig::set_listen_address(ArgT0&& arg0, ArgT... args) {
431 _impl_._has_bits_[0] |= 0x00000002u;
432 _impl_.listen_address_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
433 // @@protoc_insertion_point(field_set:goby.udpm.protobuf.InterProcessPortalConfig.listen_address)
434}
436 std::string* _s = _internal_mutable_listen_address();
437 // @@protoc_insertion_point(field_mutable:goby.udpm.protobuf.InterProcessPortalConfig.listen_address)
438 return _s;
439}
440inline const std::string& InterProcessPortalConfig::_internal_listen_address() const {
441 return _impl_.listen_address_.Get();
442}
443inline void InterProcessPortalConfig::_internal_set_listen_address(const std::string& value) {
444 _impl_._has_bits_[0] |= 0x00000002u;
445 _impl_.listen_address_.Set(value, GetArenaForAllocation());
446}
447inline std::string* InterProcessPortalConfig::_internal_mutable_listen_address() {
448 _impl_._has_bits_[0] |= 0x00000002u;
449 return _impl_.listen_address_.Mutable(::goby::udpm::protobuf::InterProcessPortalConfig::Impl_::_i_give_permission_to_break_this_code_default_listen_address_, GetArenaForAllocation());
450}
452 // @@protoc_insertion_point(field_release:goby.udpm.protobuf.InterProcessPortalConfig.listen_address)
453 if (!_internal_has_listen_address()) {
454 return nullptr;
455 }
456 _impl_._has_bits_[0] &= ~0x00000002u;
457 auto* p = _impl_.listen_address_.Release();
458 return p;
459}
461 if (listen_address != nullptr) {
462 _impl_._has_bits_[0] |= 0x00000002u;
463 } else {
464 _impl_._has_bits_[0] &= ~0x00000002u;
465 }
466 _impl_.listen_address_.SetAllocated(listen_address, GetArenaForAllocation());
467 // @@protoc_insertion_point(field_set_allocated:goby.udpm.protobuf.InterProcessPortalConfig.listen_address)
468}
469
470// optional string multicast_address = 3 [default = "239.142.0.2", (.goby.field) = {
471inline bool InterProcessPortalConfig::_internal_has_multicast_address() const {
472 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
473 return value;
474}
476 return _internal_has_multicast_address();
477}
479 _impl_.multicast_address_.ClearToDefault(::goby::udpm::protobuf::InterProcessPortalConfig::Impl_::_i_give_permission_to_break_this_code_default_multicast_address_, GetArenaForAllocation());
480 _impl_._has_bits_[0] &= ~0x00000004u;
481}
482inline const std::string& InterProcessPortalConfig::multicast_address() const {
483 // @@protoc_insertion_point(field_get:goby.udpm.protobuf.InterProcessPortalConfig.multicast_address)
484 if (_impl_.multicast_address_.IsDefault()) return Impl_::_i_give_permission_to_break_this_code_default_multicast_address_.get();
485 return _internal_multicast_address();
486}
487template <typename ArgT0, typename... ArgT>
488inline PROTOBUF_ALWAYS_INLINE
489void InterProcessPortalConfig::set_multicast_address(ArgT0&& arg0, ArgT... args) {
490 _impl_._has_bits_[0] |= 0x00000004u;
491 _impl_.multicast_address_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
492 // @@protoc_insertion_point(field_set:goby.udpm.protobuf.InterProcessPortalConfig.multicast_address)
493}
495 std::string* _s = _internal_mutable_multicast_address();
496 // @@protoc_insertion_point(field_mutable:goby.udpm.protobuf.InterProcessPortalConfig.multicast_address)
497 return _s;
498}
499inline const std::string& InterProcessPortalConfig::_internal_multicast_address() const {
500 return _impl_.multicast_address_.Get();
501}
502inline void InterProcessPortalConfig::_internal_set_multicast_address(const std::string& value) {
503 _impl_._has_bits_[0] |= 0x00000004u;
504 _impl_.multicast_address_.Set(value, GetArenaForAllocation());
505}
506inline std::string* InterProcessPortalConfig::_internal_mutable_multicast_address() {
507 _impl_._has_bits_[0] |= 0x00000004u;
508 return _impl_.multicast_address_.Mutable(::goby::udpm::protobuf::InterProcessPortalConfig::Impl_::_i_give_permission_to_break_this_code_default_multicast_address_, GetArenaForAllocation());
509}
511 // @@protoc_insertion_point(field_release:goby.udpm.protobuf.InterProcessPortalConfig.multicast_address)
512 if (!_internal_has_multicast_address()) {
513 return nullptr;
514 }
515 _impl_._has_bits_[0] &= ~0x00000004u;
516 auto* p = _impl_.multicast_address_.Release();
517 return p;
518}
520 if (multicast_address != nullptr) {
521 _impl_._has_bits_[0] |= 0x00000004u;
522 } else {
523 _impl_._has_bits_[0] &= ~0x00000004u;
524 }
525 _impl_.multicast_address_.SetAllocated(multicast_address, GetArenaForAllocation());
526 // @@protoc_insertion_point(field_set_allocated:goby.udpm.protobuf.InterProcessPortalConfig.multicast_address)
527}
528
529// optional uint32 multicast_port = 4 [default = 11144, (.goby.field) = {
530inline bool InterProcessPortalConfig::_internal_has_multicast_port() const {
531 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
532 return value;
533}
535 return _internal_has_multicast_port();
536}
538 _impl_.multicast_port_ = 11144u;
539 _impl_._has_bits_[0] &= ~0x00000020u;
540}
541inline uint32_t InterProcessPortalConfig::_internal_multicast_port() const {
542 return _impl_.multicast_port_;
543}
545 // @@protoc_insertion_point(field_get:goby.udpm.protobuf.InterProcessPortalConfig.multicast_port)
546 return _internal_multicast_port();
547}
548inline void InterProcessPortalConfig::_internal_set_multicast_port(uint32_t value) {
549 _impl_._has_bits_[0] |= 0x00000020u;
550 _impl_.multicast_port_ = value;
551}
553 _internal_set_multicast_port(value);
554 // @@protoc_insertion_point(field_set:goby.udpm.protobuf.InterProcessPortalConfig.multicast_port)
555}
556
557// optional uint32 udp_payload_bytes = 5 [default = 1472, (.goby.field) = {
558inline bool InterProcessPortalConfig::_internal_has_udp_payload_bytes() const {
559 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
560 return value;
561}
563 return _internal_has_udp_payload_bytes();
564}
566 _impl_.udp_payload_bytes_ = 1472u;
567 _impl_._has_bits_[0] &= ~0x00000040u;
568}
569inline uint32_t InterProcessPortalConfig::_internal_udp_payload_bytes() const {
570 return _impl_.udp_payload_bytes_;
571}
573 // @@protoc_insertion_point(field_get:goby.udpm.protobuf.InterProcessPortalConfig.udp_payload_bytes)
574 return _internal_udp_payload_bytes();
575}
576inline void InterProcessPortalConfig::_internal_set_udp_payload_bytes(uint32_t value) {
577 _impl_._has_bits_[0] |= 0x00000040u;
578 _impl_.udp_payload_bytes_ = value;
579}
581 _internal_set_udp_payload_bytes(value);
582 // @@protoc_insertion_point(field_set:goby.udpm.protobuf.InterProcessPortalConfig.udp_payload_bytes)
583}
584
585// optional uint32 max_send_rate_bytes_per_second = 6 [default = 0, (.goby.field) = {
586inline bool InterProcessPortalConfig::_internal_has_max_send_rate_bytes_per_second() const {
587 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
588 return value;
589}
591 return _internal_has_max_send_rate_bytes_per_second();
592}
594 _impl_.max_send_rate_bytes_per_second_ = 0u;
595 _impl_._has_bits_[0] &= ~0x00000010u;
596}
597inline uint32_t InterProcessPortalConfig::_internal_max_send_rate_bytes_per_second() const {
598 return _impl_.max_send_rate_bytes_per_second_;
599}
601 // @@protoc_insertion_point(field_get:goby.udpm.protobuf.InterProcessPortalConfig.max_send_rate_bytes_per_second)
602 return _internal_max_send_rate_bytes_per_second();
603}
604inline void InterProcessPortalConfig::_internal_set_max_send_rate_bytes_per_second(uint32_t value) {
605 _impl_._has_bits_[0] |= 0x00000010u;
606 _impl_.max_send_rate_bytes_per_second_ = value;
607}
609 _internal_set_max_send_rate_bytes_per_second(value);
610 // @@protoc_insertion_point(field_set:goby.udpm.protobuf.InterProcessPortalConfig.max_send_rate_bytes_per_second)
611}
612
613// optional string client_name = 20 [(.goby.field) = {
614inline bool InterProcessPortalConfig::_internal_has_client_name() const {
615 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
616 return value;
617}
619 return _internal_has_client_name();
620}
622 _impl_.client_name_.ClearToEmpty();
623 _impl_._has_bits_[0] &= ~0x00000008u;
624}
625inline const std::string& InterProcessPortalConfig::client_name() const {
626 // @@protoc_insertion_point(field_get:goby.udpm.protobuf.InterProcessPortalConfig.client_name)
627 return _internal_client_name();
628}
629template <typename ArgT0, typename... ArgT>
630inline PROTOBUF_ALWAYS_INLINE
631void InterProcessPortalConfig::set_client_name(ArgT0&& arg0, ArgT... args) {
632 _impl_._has_bits_[0] |= 0x00000008u;
633 _impl_.client_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
634 // @@protoc_insertion_point(field_set:goby.udpm.protobuf.InterProcessPortalConfig.client_name)
635}
637 std::string* _s = _internal_mutable_client_name();
638 // @@protoc_insertion_point(field_mutable:goby.udpm.protobuf.InterProcessPortalConfig.client_name)
639 return _s;
640}
641inline const std::string& InterProcessPortalConfig::_internal_client_name() const {
642 return _impl_.client_name_.Get();
643}
644inline void InterProcessPortalConfig::_internal_set_client_name(const std::string& value) {
645 _impl_._has_bits_[0] |= 0x00000008u;
646 _impl_.client_name_.Set(value, GetArenaForAllocation());
647}
648inline std::string* InterProcessPortalConfig::_internal_mutable_client_name() {
649 _impl_._has_bits_[0] |= 0x00000008u;
650 return _impl_.client_name_.Mutable(GetArenaForAllocation());
651}
653 // @@protoc_insertion_point(field_release:goby.udpm.protobuf.InterProcessPortalConfig.client_name)
654 if (!_internal_has_client_name()) {
655 return nullptr;
656 }
657 _impl_._has_bits_[0] &= ~0x00000008u;
658 auto* p = _impl_.client_name_.Release();
659#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
660 if (_impl_.client_name_.IsDefault()) {
661 _impl_.client_name_.Set("", GetArenaForAllocation());
662 }
663#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
664 return p;
665}
667 if (client_name != nullptr) {
668 _impl_._has_bits_[0] |= 0x00000008u;
669 } else {
670 _impl_._has_bits_[0] &= ~0x00000008u;
671 }
672 _impl_.client_name_.SetAllocated(client_name, GetArenaForAllocation());
673#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
674 if (_impl_.client_name_.IsDefault()) {
675 _impl_.client_name_.Set("", GetArenaForAllocation());
676 }
677#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
678 // @@protoc_insertion_point(field_set_allocated:goby.udpm.protobuf.InterProcessPortalConfig.client_name)
679}
680
681#ifdef __GNUC__
682 #pragma GCC diagnostic pop
683#endif // __GNUC__
684
685// @@protoc_insertion_point(namespace_scope)
686
687} // namespace protobuf
688} // namespace udpm
689} // namespace goby
690
691// @@protoc_insertion_point(global_scope)
692
693#include <google/protobuf/port_undef.inc>
694#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2fudpm_2fprotobuf_2finterprocess_5fconfig_2eproto
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void MergeFrom(const InterProcessPortalConfig &from)
void CopyFrom(const InterProcessPortalConfig &from)
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
void UnsafeArenaSwap(InterProcessPortalConfig *other)
PROTOBUF_NODISCARD std::string * release_listen_address()
PROTOBUF_NODISCARD std::string * release_platform()
static const InterProcessPortalConfig & default_instance()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void set_platform(ArgT0 &&arg0, ArgT... args)
static const InterProcessPortalConfig * internal_default_instance()
InterProcessPortalConfig(const InterProcessPortalConfig &from)
InterProcessPortalConfig & operator=(InterProcessPortalConfig &&from) noexcept
friend void swap(InterProcessPortalConfig &a, InterProcessPortalConfig &b)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void set_listen_address(ArgT0 &&arg0, ArgT... args)
PROTOBUF_NODISCARD std::string * release_multicast_address()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
InterProcessPortalConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
InterProcessPortalConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void set_client_name(ArgT0 &&arg0, ArgT... args)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void set_allocated_multicast_address(std::string *multicast_address)
void set_allocated_listen_address(std::string *listen_address)
InterProcessPortalConfig(InterProcessPortalConfig &&from) noexcept
InterProcessPortalConfig & operator=(const InterProcessPortalConfig &from)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void set_multicast_address(ArgT0 &&arg0, ArgT... args)
PROTOBUF_CONSTEXPR InterProcessPortalConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
PROTOBUF_NODISCARD std::string * release_client_name()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
InterProcessPortalConfigDefaultTypeInternal _InterProcessPortalConfig_default_instance_
The global namespace for the Goby project.
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fudpm_2fprotobuf_2finterprocess_5fconfig_2eproto