Goby3  3.1.5
2024.05.14
pty_config.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: goby/middleware/protobuf/pty_config.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2fpty_5fconfig_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2fpty_5fconfig_2eproto
6 
7 #include <limits>
8 #include <string>
9 
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
14 #error your headers.
15 #endif
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.
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_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> // IWYU pragma: export
33 #include <google/protobuf/extension_set.h> // IWYU pragma: export
34 #include <google/protobuf/unknown_field_set.h>
36 #include "dccl/option_extensions.pb.h"
37 #include <boost/units/quantity.hpp>
38 #include <boost/units/absolute.hpp>
39 #include <boost/units/dimensionless_type.hpp>
40 #include <boost/units/make_scaled_unit.hpp>
41 // @@protoc_insertion_point(includes)
42 #include <google/protobuf/port_def.inc>
43 #define PROTOBUF_INTERNAL_EXPORT_goby_2fmiddleware_2fprotobuf_2fpty_5fconfig_2eproto
44 PROTOBUF_NAMESPACE_OPEN
45 namespace internal {
46 class AnyMetadata;
47 } // namespace internal
48 PROTOBUF_NAMESPACE_CLOSE
49 
50 // Internal implementation detail -- do not use these members.
52  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
53  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
54  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
55  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
56  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
57  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
58  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
59  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
61 };
62 extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fmiddleware_2fprotobuf_2fpty_5fconfig_2eproto;
63 namespace goby {
64 namespace middleware {
65 namespace protobuf {
66 class PTYConfig;
67 class PTYConfigDefaultTypeInternal;
68 extern PTYConfigDefaultTypeInternal _PTYConfig_default_instance_;
69 } // namespace protobuf
70 } // namespace middleware
71 } // namespace goby
72 PROTOBUF_NAMESPACE_OPEN
73 template<> ::goby::middleware::protobuf::PTYConfig* Arena::CreateMaybeMessage<::goby::middleware::protobuf::PTYConfig>(Arena*);
74 PROTOBUF_NAMESPACE_CLOSE
75 namespace goby {
76 namespace middleware {
77 namespace protobuf {
78 
79 // ===================================================================
80 
81 class PTYConfig PROTOBUF_FINAL :
82  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.middleware.protobuf.PTYConfig) */ {
83  public:
84  inline PTYConfig() : PTYConfig(nullptr) {};
85  virtual ~PTYConfig();
86 
87  PTYConfig(const PTYConfig& from);
88  PTYConfig(PTYConfig&& from) noexcept
89  : PTYConfig() {
90  *this = ::std::move(from);
91  }
92 
93  inline PTYConfig& operator=(const PTYConfig& from) {
94  CopyFrom(from);
95  return *this;
96  }
97  inline PTYConfig& operator=(PTYConfig&& from) noexcept {
98  if (GetArena() == from.GetArena()) {
99  if (this != &from) InternalSwap(&from);
100  } else {
101  CopyFrom(from);
102  }
103  return *this;
104  }
105 
106  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
107  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
108  }
109  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
110  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
111  }
112 
113  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
114  return GetDescriptor();
115  }
116  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
117  return GetMetadataStatic().descriptor;
118  }
119  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
120  return GetMetadataStatic().reflection;
121  }
122  static const PTYConfig& default_instance();
123 
124  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
125  static inline const PTYConfig* internal_default_instance() {
126  return reinterpret_cast<const PTYConfig*>(
128  }
129  static constexpr int kIndexInFileMessages =
130  0;
131 
132  friend void swap(PTYConfig& a, PTYConfig& b) {
133  a.Swap(&b);
134  }
135  inline void Swap(PTYConfig* other) {
136  if (other == this) return;
137  if (GetArena() == other->GetArena()) {
138  InternalSwap(other);
139  } else {
140  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
141  }
142  }
143  void UnsafeArenaSwap(PTYConfig* other) {
144  if (other == this) return;
145  GOOGLE_DCHECK(GetArena() == other->GetArena());
146  InternalSwap(other);
147  }
148 
149  // implements Message ----------------------------------------------
150 
151  inline PTYConfig* New() const final {
152  return CreateMaybeMessage<PTYConfig>(nullptr);
153  }
154 
155  PTYConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
156  return CreateMaybeMessage<PTYConfig>(arena);
157  }
158  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
159  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
160  void CopyFrom(const PTYConfig& from);
161  void MergeFrom(const PTYConfig& from);
162  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
163  bool IsInitialized() const final;
164 
165  size_t ByteSizeLong() const final;
166  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
167  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
168  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
169  int GetCachedSize() const final { return _cached_size_.Get(); }
170 
171  private:
172  inline void SharedCtor();
173  inline void SharedDtor();
174  void SetCachedSize(int size) const final;
175  void InternalSwap(PTYConfig* other);
176  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
177  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
178  return "goby.middleware.protobuf.PTYConfig";
179  }
180  protected:
181  explicit PTYConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena);
182  private:
183  static void ArenaDtor(void* object);
184  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
185  public:
186 
187  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
188  private:
189  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
190  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_goby_2fmiddleware_2fprotobuf_2fpty_5fconfig_2eproto);
192  }
193 
194  public:
195 
196  // nested types ----------------------------------------------------
197 
198  // accessors -------------------------------------------------------
199 
200  enum : int {
201  kPortFieldNumber = 1,
202  kEndOfLineFieldNumber = 3,
203  kBaudFieldNumber = 2,
204  };
205  // required string port = 1 [(.goby.field) = {
206  bool has_port() const;
207  private:
208  bool _internal_has_port() const;
209  public:
210  void clear_port();
211  const std::string& port() const;
212  void set_port(const std::string& value);
213  void set_port(std::string&& value);
214  void set_port(const char* value);
215  void set_port(const char* value, size_t size);
216  std::string* mutable_port();
217  std::string* release_port();
218  void set_allocated_port(std::string* port);
219  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
220  " string fields are deprecated and will be removed in a"
221  " future release.")
222  std::string* unsafe_arena_release_port();
223  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
224  " string fields are deprecated and will be removed in a"
225  " future release.")
226  void unsafe_arena_set_allocated_port(
227  std::string* port);
228  private:
229  const std::string& _internal_port() const;
230  void _internal_set_port(const std::string& value);
231  std::string* _internal_mutable_port();
232  public:
233 
234  // optional string end_of_line = 3 [default = "\n", (.goby.field) = {
235  bool has_end_of_line() const;
236  private:
237  bool _internal_has_end_of_line() const;
238  public:
239  void clear_end_of_line();
240  const std::string& end_of_line() const;
241  void set_end_of_line(const std::string& value);
242  void set_end_of_line(std::string&& value);
243  void set_end_of_line(const char* value);
244  void set_end_of_line(const char* value, size_t size);
245  std::string* mutable_end_of_line();
246  std::string* release_end_of_line();
247  void set_allocated_end_of_line(std::string* end_of_line);
248  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
249  " string fields are deprecated and will be removed in a"
250  " future release.")
251  std::string* unsafe_arena_release_end_of_line();
252  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
253  " string fields are deprecated and will be removed in a"
254  " future release.")
255  void unsafe_arena_set_allocated_end_of_line(
256  std::string* end_of_line);
257  private:
258  const std::string& _internal_end_of_line() const;
259  void _internal_set_end_of_line(const std::string& value);
260  std::string* _internal_mutable_end_of_line();
261  public:
262 
263  // optional uint32 baud = 2 [default = 115200, (.goby.field) = {
264  bool has_baud() const;
265  private:
266  bool _internal_has_baud() const;
267  public:
268  void clear_baud();
269  ::PROTOBUF_NAMESPACE_ID::uint32 baud() const;
270  void set_baud(::PROTOBUF_NAMESPACE_ID::uint32 value);
271  private:
272  ::PROTOBUF_NAMESPACE_ID::uint32 _internal_baud() const;
273  void _internal_set_baud(::PROTOBUF_NAMESPACE_ID::uint32 value);
274  public:
275 
276  // @@protoc_insertion_point(class_scope:goby.middleware.protobuf.PTYConfig)
277  private:
278  class _Internal;
279 
280  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
281  typedef void InternalArenaConstructable_;
282  typedef void DestructorSkippable_;
283  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
284  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
285  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr port_;
286  public:
287  static ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<std::string> _i_give_permission_to_break_this_code_default_end_of_line_;
288  private:
289  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr end_of_line_;
290  ::PROTOBUF_NAMESPACE_ID::uint32 baud_;
292 };
293 // ===================================================================
294 
295 
296 // ===================================================================
297 
298 #ifdef __GNUC__
299  #pragma GCC diagnostic push
300  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
301 #endif // __GNUC__
302 // PTYConfig
303 
304 // required string port = 1 [(.goby.field) = {
305 inline bool PTYConfig::_internal_has_port() const {
306  bool value = (_has_bits_[0] & 0x00000001u) != 0;
307  return value;
308 }
309 inline bool PTYConfig::has_port() const {
310  return _internal_has_port();
311 }
312 inline void PTYConfig::clear_port() {
313  port_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
314  _has_bits_[0] &= ~0x00000001u;
315 }
316 inline const std::string& PTYConfig::port() const {
317  // @@protoc_insertion_point(field_get:goby.middleware.protobuf.PTYConfig.port)
318  return _internal_port();
319 }
320 inline void PTYConfig::set_port(const std::string& value) {
321  _internal_set_port(value);
322  // @@protoc_insertion_point(field_set:goby.middleware.protobuf.PTYConfig.port)
323 }
324 inline std::string* PTYConfig::mutable_port() {
325  // @@protoc_insertion_point(field_mutable:goby.middleware.protobuf.PTYConfig.port)
326  return _internal_mutable_port();
327 }
328 inline const std::string& PTYConfig::_internal_port() const {
329  return port_.Get();
330 }
331 inline void PTYConfig::_internal_set_port(const std::string& value) {
332  _has_bits_[0] |= 0x00000001u;
333  port_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
334 }
335 inline void PTYConfig::set_port(std::string&& value) {
336  _has_bits_[0] |= 0x00000001u;
337  port_.Set(
338  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
339  // @@protoc_insertion_point(field_set_rvalue:goby.middleware.protobuf.PTYConfig.port)
340 }
341 inline void PTYConfig::set_port(const char* value) {
342  GOOGLE_DCHECK(value != nullptr);
343  _has_bits_[0] |= 0x00000001u;
344  port_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
345  GetArena());
346  // @@protoc_insertion_point(field_set_char:goby.middleware.protobuf.PTYConfig.port)
347 }
348 inline void PTYConfig::set_port(const char* value,
349  size_t size) {
350  _has_bits_[0] |= 0x00000001u;
352  reinterpret_cast<const char*>(value), size), GetArena());
353  // @@protoc_insertion_point(field_set_pointer:goby.middleware.protobuf.PTYConfig.port)
354 }
355 inline std::string* PTYConfig::_internal_mutable_port() {
356  _has_bits_[0] |= 0x00000001u;
357  return port_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
358 }
359 inline std::string* PTYConfig::release_port() {
360  // @@protoc_insertion_point(field_release:goby.middleware.protobuf.PTYConfig.port)
361  if (!_internal_has_port()) {
362  return nullptr;
363  }
364  _has_bits_[0] &= ~0x00000001u;
365  return port_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
366 }
367 inline void PTYConfig::set_allocated_port(std::string* port) {
368  if (port != nullptr) {
369  _has_bits_[0] |= 0x00000001u;
370  } else {
371  _has_bits_[0] &= ~0x00000001u;
372  }
374  GetArena());
375  // @@protoc_insertion_point(field_set_allocated:goby.middleware.protobuf.PTYConfig.port)
376 }
377 inline std::string* PTYConfig::unsafe_arena_release_port() {
378  // @@protoc_insertion_point(field_unsafe_arena_release:goby.middleware.protobuf.PTYConfig.port)
379  GOOGLE_DCHECK(GetArena() != nullptr);
380  _has_bits_[0] &= ~0x00000001u;
381  return port_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
382  GetArena());
383 }
384 inline void PTYConfig::unsafe_arena_set_allocated_port(
385  std::string* port) {
386  GOOGLE_DCHECK(GetArena() != nullptr);
387  if (port != nullptr) {
388  _has_bits_[0] |= 0x00000001u;
389  } else {
390  _has_bits_[0] &= ~0x00000001u;
391  }
392  port_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
393  port, GetArena());
394  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.middleware.protobuf.PTYConfig.port)
395 }
396 
397 // optional uint32 baud = 2 [default = 115200, (.goby.field) = {
398 inline bool PTYConfig::_internal_has_baud() const {
399  bool value = (_has_bits_[0] & 0x00000004u) != 0;
400  return value;
401 }
402 inline bool PTYConfig::has_baud() const {
403  return _internal_has_baud();
404 }
405 inline void PTYConfig::clear_baud() {
406  baud_ = 115200u;
407  _has_bits_[0] &= ~0x00000004u;
408 }
409 inline ::PROTOBUF_NAMESPACE_ID::uint32 PTYConfig::_internal_baud() const {
410  return baud_;
411 }
412 inline ::PROTOBUF_NAMESPACE_ID::uint32 PTYConfig::baud() const {
413  // @@protoc_insertion_point(field_get:goby.middleware.protobuf.PTYConfig.baud)
414  return _internal_baud();
415 }
416 inline void PTYConfig::_internal_set_baud(::PROTOBUF_NAMESPACE_ID::uint32 value) {
417  _has_bits_[0] |= 0x00000004u;
418  baud_ = value;
419 }
420 inline void PTYConfig::set_baud(::PROTOBUF_NAMESPACE_ID::uint32 value) {
421  _internal_set_baud(value);
422  // @@protoc_insertion_point(field_set:goby.middleware.protobuf.PTYConfig.baud)
423 }
424 
425 // optional string end_of_line = 3 [default = "\n", (.goby.field) = {
426 inline bool PTYConfig::_internal_has_end_of_line() const {
427  bool value = (_has_bits_[0] & 0x00000002u) != 0;
428  return value;
429 }
430 inline bool PTYConfig::has_end_of_line() const {
431  return _internal_has_end_of_line();
432 }
433 inline void PTYConfig::clear_end_of_line() {
434  end_of_line_.ClearToDefault(&::goby::middleware::protobuf::PTYConfig::_i_give_permission_to_break_this_code_default_end_of_line_.get(), GetArena());
435  _has_bits_[0] &= ~0x00000002u;
436 }
437 inline const std::string& PTYConfig::end_of_line() const {
438  // @@protoc_insertion_point(field_get:goby.middleware.protobuf.PTYConfig.end_of_line)
439  return _internal_end_of_line();
440 }
441 inline void PTYConfig::set_end_of_line(const std::string& value) {
442  _internal_set_end_of_line(value);
443  // @@protoc_insertion_point(field_set:goby.middleware.protobuf.PTYConfig.end_of_line)
444 }
445 inline std::string* PTYConfig::mutable_end_of_line() {
446  // @@protoc_insertion_point(field_mutable:goby.middleware.protobuf.PTYConfig.end_of_line)
447  return _internal_mutable_end_of_line();
448 }
449 inline const std::string& PTYConfig::_internal_end_of_line() const {
450  return end_of_line_.Get();
451 }
452 inline void PTYConfig::_internal_set_end_of_line(const std::string& value) {
453  _has_bits_[0] |= 0x00000002u;
454  end_of_line_.Set(&::goby::middleware::protobuf::PTYConfig::_i_give_permission_to_break_this_code_default_end_of_line_.get(), value, GetArena());
455 }
456 inline void PTYConfig::set_end_of_line(std::string&& value) {
457  _has_bits_[0] |= 0x00000002u;
458  end_of_line_.Set(
459  &::goby::middleware::protobuf::PTYConfig::_i_give_permission_to_break_this_code_default_end_of_line_.get(), ::std::move(value), GetArena());
460  // @@protoc_insertion_point(field_set_rvalue:goby.middleware.protobuf.PTYConfig.end_of_line)
461 }
462 inline void PTYConfig::set_end_of_line(const char* value) {
463  GOOGLE_DCHECK(value != nullptr);
464  _has_bits_[0] |= 0x00000002u;
465  end_of_line_.Set(&::goby::middleware::protobuf::PTYConfig::_i_give_permission_to_break_this_code_default_end_of_line_.get(), ::std::string(value),
466  GetArena());
467  // @@protoc_insertion_point(field_set_char:goby.middleware.protobuf.PTYConfig.end_of_line)
468 }
469 inline void PTYConfig::set_end_of_line(const char* value,
470  size_t size) {
471  _has_bits_[0] |= 0x00000002u;
472  end_of_line_.Set(&::goby::middleware::protobuf::PTYConfig::_i_give_permission_to_break_this_code_default_end_of_line_.get(), ::std::string(
473  reinterpret_cast<const char*>(value), size), GetArena());
474  // @@protoc_insertion_point(field_set_pointer:goby.middleware.protobuf.PTYConfig.end_of_line)
475 }
476 inline std::string* PTYConfig::_internal_mutable_end_of_line() {
477  _has_bits_[0] |= 0x00000002u;
478  return end_of_line_.Mutable(&::goby::middleware::protobuf::PTYConfig::_i_give_permission_to_break_this_code_default_end_of_line_.get(), GetArena());
479 }
480 inline std::string* PTYConfig::release_end_of_line() {
481  // @@protoc_insertion_point(field_release:goby.middleware.protobuf.PTYConfig.end_of_line)
482  if (!_internal_has_end_of_line()) {
483  return nullptr;
484  }
485  _has_bits_[0] &= ~0x00000002u;
486  return end_of_line_.ReleaseNonDefault(&::goby::middleware::protobuf::PTYConfig::_i_give_permission_to_break_this_code_default_end_of_line_.get(), GetArena());
487 }
488 inline void PTYConfig::set_allocated_end_of_line(std::string* end_of_line) {
489  if (end_of_line != nullptr) {
490  _has_bits_[0] |= 0x00000002u;
491  } else {
492  _has_bits_[0] &= ~0x00000002u;
493  }
494  end_of_line_.SetAllocated(&::goby::middleware::protobuf::PTYConfig::_i_give_permission_to_break_this_code_default_end_of_line_.get(), end_of_line,
495  GetArena());
496  // @@protoc_insertion_point(field_set_allocated:goby.middleware.protobuf.PTYConfig.end_of_line)
497 }
498 inline std::string* PTYConfig::unsafe_arena_release_end_of_line() {
499  // @@protoc_insertion_point(field_unsafe_arena_release:goby.middleware.protobuf.PTYConfig.end_of_line)
500  GOOGLE_DCHECK(GetArena() != nullptr);
501  _has_bits_[0] &= ~0x00000002u;
502  return end_of_line_.UnsafeArenaRelease(&::goby::middleware::protobuf::PTYConfig::_i_give_permission_to_break_this_code_default_end_of_line_.get(),
503  GetArena());
504 }
505 inline void PTYConfig::unsafe_arena_set_allocated_end_of_line(
506  std::string* end_of_line) {
507  GOOGLE_DCHECK(GetArena() != nullptr);
508  if (end_of_line != nullptr) {
509  _has_bits_[0] |= 0x00000002u;
510  } else {
511  _has_bits_[0] &= ~0x00000002u;
512  }
513  end_of_line_.UnsafeArenaSetAllocated(&::goby::middleware::protobuf::PTYConfig::_i_give_permission_to_break_this_code_default_end_of_line_.get(),
514  end_of_line, GetArena());
515  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.middleware.protobuf.PTYConfig.end_of_line)
516 }
517 
518 #ifdef __GNUC__
519  #pragma GCC diagnostic pop
520 #endif // __GNUC__
521 
522 // @@protoc_insertion_point(namespace_scope)
523 
524 } // namespace protobuf
525 } // namespace middleware
526 } // namespace goby
527 
528 // @@protoc_insertion_point(global_scope)
529 
530 #include <google/protobuf/port_undef.inc>
531 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2fpty_5fconfig_2eproto
const std::string & port() const
void CopyFrom(const PTYConfig &from)
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
PTYConfig & operator=(PTYConfig &&from) noexcept
Definition: pty_config.pb.h:97
PTYConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
void set_port(const char *value, size_t size)
void set_allocated_port(std::string *port)
static const PTYConfig * internal_default_instance()
friend void swap(PTYConfig &a, PTYConfig &b)
void MergeFrom(const PTYConfig &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
PTYConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
PTYConfig & operator=(const PTYConfig &from)
Definition: pty_config.pb.h:93
static const PTYConfig & default_instance()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void set_port(const std::string &value)
PTYConfig(PTYConfig &&from) noexcept
Definition: pty_config.pb.h:88
@ value
the parser finished reading a JSON value
auto get(const nlohmann::detail::iteration_proxy_value< IteratorType > &i) -> decltype(i.key())
Definition: json.hpp:5271
PTYConfigDefaultTypeInternal _PTYConfig_default_instance_
The global namespace for the Goby project.
std::uint32_t uint32
PROTOBUF_EXPORT const std::string & GetEmptyStringAlreadyInited()
Definition: message_lite.h:154
#define ByteSizeLong
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fmiddleware_2fprotobuf_2fpty_5fconfig_2eproto
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
Definition: pty_config.pb.h:58
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
Definition: pty_config.pb.h:60
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
Definition: pty_config.pb.h:59