Gazebo Msgs

API Reference

9.5.1
pid.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: gz/msgs/pid.proto
3 
4 #ifndef PROTOBUF_INCLUDED_gz_2fmsgs_2fpid_2eproto
5 #define PROTOBUF_INCLUDED_gz_2fmsgs_2fpid_2eproto
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
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
14 #error your headers.
15 #endif
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.
20 #endif
21 
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> // IWYU pragma: export
31 #include <google/protobuf/extension_set.h> // IWYU pragma: export
32 #include <google/protobuf/unknown_field_set.h>
33 #include "gz/msgs/double.pb.h"
34 #include "gz/msgs/header.pb.h"
35 // @@protoc_insertion_point(includes)
36 #define PROTOBUF_INTERNAL_EXPORT_protobuf_gz_2fmsgs_2fpid_2eproto GZ_MSGS_VISIBLE
37 
39 // Internal implementation detail -- do not use these members.
40 struct GZ_MSGS_VISIBLE TableStruct {
41  static const ::google::protobuf::internal::ParseTableField entries[];
42  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
43  static const ::google::protobuf::internal::ParseTable schema[1];
44  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
45  static const ::google::protobuf::internal::SerializationTable serialization_table[];
46  static const ::google::protobuf::uint32 offsets[];
47 };
48 void GZ_MSGS_VISIBLE AddDescriptors();
49 } // namespace protobuf_gz_2fmsgs_2fpid_2eproto
50 namespace gz {
51 namespace msgs {
52 class PID;
53 class PIDDefaultTypeInternal;
54 GZ_MSGS_VISIBLE extern PIDDefaultTypeInternal _PID_default_instance_;
55 } // namespace msgs
56 } // namespace gz
57 namespace google {
58 namespace protobuf {
59 template<> GZ_MSGS_VISIBLE ::gz::msgs::PID* Arena::CreateMaybeMessage<::gz::msgs::PID>(Arena*);
60 } // namespace protobuf
61 } // namespace google
62 namespace gz {
63 namespace msgs {
64 
65 // ===================================================================
66 
67 class GZ_MSGS_VISIBLE PID : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.PID) */ {
68  public:
69  PID();
70  virtual ~PID();
71 
72  PID(const PID& from);
73 
74  inline PID& operator=(const PID& from) {
75  CopyFrom(from);
76  return *this;
77  }
78  #if LANG_CXX11
79  PID(PID&& from) noexcept
80  : PID() {
81  *this = ::std::move(from);
82  }
83 
84  inline PID& operator=(PID&& from) noexcept {
85  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
86  if (this != &from) InternalSwap(&from);
87  } else {
88  CopyFrom(from);
89  }
90  return *this;
91  }
92  #endif
93  static const ::google::protobuf::Descriptor* descriptor();
94  static const PID& default_instance();
95 
96  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
97  static inline const PID* internal_default_instance() {
98  return reinterpret_cast<const PID*>(
100  }
101  static constexpr int kIndexInFileMessages =
102  0;
103 
104  void Swap(PID* other);
105  friend void swap(PID& a, PID& b) {
106  a.Swap(&b);
107  }
108 
109  // implements Message ----------------------------------------------
110 
111  inline PID* New() const final {
112  return CreateMaybeMessage<PID>(NULL);
113  }
114 
115  PID* New(::google::protobuf::Arena* arena) const final {
116  return CreateMaybeMessage<PID>(arena);
117  }
118  void CopyFrom(const ::google::protobuf::Message& from) final;
119  void MergeFrom(const ::google::protobuf::Message& from) final;
120  void CopyFrom(const PID& from);
121  void MergeFrom(const PID& from);
122  void Clear() final;
123  bool IsInitialized() const final;
124 
125  size_t ByteSizeLong() const final;
126  bool MergePartialFromCodedStream(
127  ::google::protobuf::io::CodedInputStream* input) final;
128  void SerializeWithCachedSizes(
129  ::google::protobuf::io::CodedOutputStream* output) const final;
130  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
131  bool deterministic, ::google::protobuf::uint8* target) const final;
132  int GetCachedSize() const final { return _cached_size_.Get(); }
133 
134  private:
135  void SharedCtor();
136  void SharedDtor();
137  void SetCachedSize(int size) const final;
138  void InternalSwap(PID* other);
139  private:
140  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
141  return NULL;
142  }
143  inline void* MaybeArenaPtr() const {
144  return NULL;
145  }
146  public:
147 
148  ::google::protobuf::Metadata GetMetadata() const final;
149 
150  // nested types ----------------------------------------------------
151 
152  // accessors -------------------------------------------------------
153 
154  // .gz.msgs.Header header = 1;
155  bool has_header() const;
156  void clear_header();
157  static const int kHeaderFieldNumber = 1;
158  private:
159  const ::gz::msgs::Header& _internal_header() const;
160  public:
161  const ::gz::msgs::Header& header() const;
162  ::gz::msgs::Header* release_header();
163  ::gz::msgs::Header* mutable_header();
164  void set_allocated_header(::gz::msgs::Header* header);
165 
166  // .gz.msgs.Double target_optional = 2;
167  bool has_target_optional() const;
168  void clear_target_optional();
169  static const int kTargetOptionalFieldNumber = 2;
170  private:
171  const ::gz::msgs::Double& _internal_target_optional() const;
172  public:
173  const ::gz::msgs::Double& target_optional() const;
174  ::gz::msgs::Double* release_target_optional();
175  ::gz::msgs::Double* mutable_target_optional();
176  void set_allocated_target_optional(::gz::msgs::Double* target_optional);
177 
178  // .gz.msgs.Double p_gain_optional = 3;
179  bool has_p_gain_optional() const;
180  void clear_p_gain_optional();
181  static const int kPGainOptionalFieldNumber = 3;
182  private:
183  const ::gz::msgs::Double& _internal_p_gain_optional() const;
184  public:
185  const ::gz::msgs::Double& p_gain_optional() const;
186  ::gz::msgs::Double* release_p_gain_optional();
187  ::gz::msgs::Double* mutable_p_gain_optional();
188  void set_allocated_p_gain_optional(::gz::msgs::Double* p_gain_optional);
189 
190  // .gz.msgs.Double i_gain_optional = 4;
191  bool has_i_gain_optional() const;
192  void clear_i_gain_optional();
193  static const int kIGainOptionalFieldNumber = 4;
194  private:
195  const ::gz::msgs::Double& _internal_i_gain_optional() const;
196  public:
197  const ::gz::msgs::Double& i_gain_optional() const;
198  ::gz::msgs::Double* release_i_gain_optional();
199  ::gz::msgs::Double* mutable_i_gain_optional();
200  void set_allocated_i_gain_optional(::gz::msgs::Double* i_gain_optional);
201 
202  // .gz.msgs.Double d_gain_optional = 5;
203  bool has_d_gain_optional() const;
204  void clear_d_gain_optional();
205  static const int kDGainOptionalFieldNumber = 5;
206  private:
207  const ::gz::msgs::Double& _internal_d_gain_optional() const;
208  public:
209  const ::gz::msgs::Double& d_gain_optional() const;
210  ::gz::msgs::Double* release_d_gain_optional();
211  ::gz::msgs::Double* mutable_d_gain_optional();
212  void set_allocated_d_gain_optional(::gz::msgs::Double* d_gain_optional);
213 
214  // .gz.msgs.Double i_max_optional = 6;
215  bool has_i_max_optional() const;
216  void clear_i_max_optional();
217  static const int kIMaxOptionalFieldNumber = 6;
218  private:
219  const ::gz::msgs::Double& _internal_i_max_optional() const;
220  public:
221  const ::gz::msgs::Double& i_max_optional() const;
222  ::gz::msgs::Double* release_i_max_optional();
223  ::gz::msgs::Double* mutable_i_max_optional();
224  void set_allocated_i_max_optional(::gz::msgs::Double* i_max_optional);
225 
226  // .gz.msgs.Double i_min_optional = 7;
227  bool has_i_min_optional() const;
228  void clear_i_min_optional();
229  static const int kIMinOptionalFieldNumber = 7;
230  private:
231  const ::gz::msgs::Double& _internal_i_min_optional() const;
232  public:
233  const ::gz::msgs::Double& i_min_optional() const;
234  ::gz::msgs::Double* release_i_min_optional();
235  ::gz::msgs::Double* mutable_i_min_optional();
236  void set_allocated_i_min_optional(::gz::msgs::Double* i_min_optional);
237 
238  // .gz.msgs.Double limit_optional = 8;
239  bool has_limit_optional() const;
240  void clear_limit_optional();
241  static const int kLimitOptionalFieldNumber = 8;
242  private:
243  const ::gz::msgs::Double& _internal_limit_optional() const;
244  public:
245  const ::gz::msgs::Double& limit_optional() const;
246  ::gz::msgs::Double* release_limit_optional();
247  ::gz::msgs::Double* mutable_limit_optional();
248  void set_allocated_limit_optional(::gz::msgs::Double* limit_optional);
249 
250  // @@protoc_insertion_point(class_scope:gz.msgs.PID)
251  private:
252 
253  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
254  ::gz::msgs::Header* header_;
255  ::gz::msgs::Double* target_optional_;
256  ::gz::msgs::Double* p_gain_optional_;
257  ::gz::msgs::Double* i_gain_optional_;
258  ::gz::msgs::Double* d_gain_optional_;
259  ::gz::msgs::Double* i_max_optional_;
260  ::gz::msgs::Double* i_min_optional_;
261  ::gz::msgs::Double* limit_optional_;
262  mutable ::google::protobuf::internal::CachedSize _cached_size_;
263  friend struct ::protobuf_gz_2fmsgs_2fpid_2eproto::TableStruct;
264 };
265 // ===================================================================
266 
267 
268 // ===================================================================
269 
270 #ifdef __GNUC__
271  #pragma GCC diagnostic push
272  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
273 #endif // __GNUC__
274 // PID
275 
276 // .gz.msgs.Header header = 1;
277 inline bool PID::has_header() const {
278  return this != internal_default_instance() && header_ != NULL;
279 }
280 inline const ::gz::msgs::Header& PID::_internal_header() const {
281  return *header_;
282 }
283 inline const ::gz::msgs::Header& PID::header() const {
284  const ::gz::msgs::Header* p = header_;
285  // @@protoc_insertion_point(field_get:gz.msgs.PID.header)
286  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Header*>(
288 }
289 inline ::gz::msgs::Header* PID::release_header() {
290  // @@protoc_insertion_point(field_release:gz.msgs.PID.header)
291 
292  ::gz::msgs::Header* temp = header_;
293  header_ = NULL;
294  return temp;
295 }
296 inline ::gz::msgs::Header* PID::mutable_header() {
297 
298  if (header_ == NULL) {
299  auto* p = CreateMaybeMessage<::gz::msgs::Header>(GetArenaNoVirtual());
300  header_ = p;
301  }
302  // @@protoc_insertion_point(field_mutable:gz.msgs.PID.header)
303  return header_;
304 }
306  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
307  if (message_arena == NULL) {
308  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
309  }
310  if (header) {
311  ::google::protobuf::Arena* submessage_arena = NULL;
312  if (message_arena != submessage_arena) {
313  header = ::google::protobuf::internal::GetOwnedMessage(
314  message_arena, header, submessage_arena);
315  }
316 
317  } else {
318 
319  }
320  header_ = header;
321  // @@protoc_insertion_point(field_set_allocated:gz.msgs.PID.header)
322 }
323 
324 // .gz.msgs.Double target_optional = 2;
325 inline bool PID::has_target_optional() const {
326  return this != internal_default_instance() && target_optional_ != NULL;
327 }
328 inline const ::gz::msgs::Double& PID::_internal_target_optional() const {
329  return *target_optional_;
330 }
331 inline const ::gz::msgs::Double& PID::target_optional() const {
332  const ::gz::msgs::Double* p = target_optional_;
333  // @@protoc_insertion_point(field_get:gz.msgs.PID.target_optional)
334  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Double*>(
336 }
337 inline ::gz::msgs::Double* PID::release_target_optional() {
338  // @@protoc_insertion_point(field_release:gz.msgs.PID.target_optional)
339 
340  ::gz::msgs::Double* temp = target_optional_;
341  target_optional_ = NULL;
342  return temp;
343 }
344 inline ::gz::msgs::Double* PID::mutable_target_optional() {
345 
346  if (target_optional_ == NULL) {
347  auto* p = CreateMaybeMessage<::gz::msgs::Double>(GetArenaNoVirtual());
348  target_optional_ = p;
349  }
350  // @@protoc_insertion_point(field_mutable:gz.msgs.PID.target_optional)
351  return target_optional_;
352 }
353 inline void PID::set_allocated_target_optional(::gz::msgs::Double* target_optional) {
354  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
355  if (message_arena == NULL) {
356  delete reinterpret_cast< ::google::protobuf::MessageLite*>(target_optional_);
357  }
358  if (target_optional) {
359  ::google::protobuf::Arena* submessage_arena = NULL;
360  if (message_arena != submessage_arena) {
361  target_optional = ::google::protobuf::internal::GetOwnedMessage(
362  message_arena, target_optional, submessage_arena);
363  }
364 
365  } else {
366 
367  }
368  target_optional_ = target_optional;
369  // @@protoc_insertion_point(field_set_allocated:gz.msgs.PID.target_optional)
370 }
371 
372 // .gz.msgs.Double p_gain_optional = 3;
373 inline bool PID::has_p_gain_optional() const {
374  return this != internal_default_instance() && p_gain_optional_ != NULL;
375 }
376 inline const ::gz::msgs::Double& PID::_internal_p_gain_optional() const {
377  return *p_gain_optional_;
378 }
379 inline const ::gz::msgs::Double& PID::p_gain_optional() const {
380  const ::gz::msgs::Double* p = p_gain_optional_;
381  // @@protoc_insertion_point(field_get:gz.msgs.PID.p_gain_optional)
382  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Double*>(
384 }
385 inline ::gz::msgs::Double* PID::release_p_gain_optional() {
386  // @@protoc_insertion_point(field_release:gz.msgs.PID.p_gain_optional)
387 
388  ::gz::msgs::Double* temp = p_gain_optional_;
389  p_gain_optional_ = NULL;
390  return temp;
391 }
392 inline ::gz::msgs::Double* PID::mutable_p_gain_optional() {
393 
394  if (p_gain_optional_ == NULL) {
395  auto* p = CreateMaybeMessage<::gz::msgs::Double>(GetArenaNoVirtual());
396  p_gain_optional_ = p;
397  }
398  // @@protoc_insertion_point(field_mutable:gz.msgs.PID.p_gain_optional)
399  return p_gain_optional_;
400 }
401 inline void PID::set_allocated_p_gain_optional(::gz::msgs::Double* p_gain_optional) {
402  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
403  if (message_arena == NULL) {
404  delete reinterpret_cast< ::google::protobuf::MessageLite*>(p_gain_optional_);
405  }
406  if (p_gain_optional) {
407  ::google::protobuf::Arena* submessage_arena = NULL;
408  if (message_arena != submessage_arena) {
409  p_gain_optional = ::google::protobuf::internal::GetOwnedMessage(
410  message_arena, p_gain_optional, submessage_arena);
411  }
412 
413  } else {
414 
415  }
416  p_gain_optional_ = p_gain_optional;
417  // @@protoc_insertion_point(field_set_allocated:gz.msgs.PID.p_gain_optional)
418 }
419 
420 // .gz.msgs.Double i_gain_optional = 4;
421 inline bool PID::has_i_gain_optional() const {
422  return this != internal_default_instance() && i_gain_optional_ != NULL;
423 }
424 inline const ::gz::msgs::Double& PID::_internal_i_gain_optional() const {
425  return *i_gain_optional_;
426 }
427 inline const ::gz::msgs::Double& PID::i_gain_optional() const {
428  const ::gz::msgs::Double* p = i_gain_optional_;
429  // @@protoc_insertion_point(field_get:gz.msgs.PID.i_gain_optional)
430  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Double*>(
432 }
433 inline ::gz::msgs::Double* PID::release_i_gain_optional() {
434  // @@protoc_insertion_point(field_release:gz.msgs.PID.i_gain_optional)
435 
436  ::gz::msgs::Double* temp = i_gain_optional_;
437  i_gain_optional_ = NULL;
438  return temp;
439 }
440 inline ::gz::msgs::Double* PID::mutable_i_gain_optional() {
441 
442  if (i_gain_optional_ == NULL) {
443  auto* p = CreateMaybeMessage<::gz::msgs::Double>(GetArenaNoVirtual());
444  i_gain_optional_ = p;
445  }
446  // @@protoc_insertion_point(field_mutable:gz.msgs.PID.i_gain_optional)
447  return i_gain_optional_;
448 }
449 inline void PID::set_allocated_i_gain_optional(::gz::msgs::Double* i_gain_optional) {
450  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
451  if (message_arena == NULL) {
452  delete reinterpret_cast< ::google::protobuf::MessageLite*>(i_gain_optional_);
453  }
454  if (i_gain_optional) {
455  ::google::protobuf::Arena* submessage_arena = NULL;
456  if (message_arena != submessage_arena) {
457  i_gain_optional = ::google::protobuf::internal::GetOwnedMessage(
458  message_arena, i_gain_optional, submessage_arena);
459  }
460 
461  } else {
462 
463  }
464  i_gain_optional_ = i_gain_optional;
465  // @@protoc_insertion_point(field_set_allocated:gz.msgs.PID.i_gain_optional)
466 }
467 
468 // .gz.msgs.Double d_gain_optional = 5;
469 inline bool PID::has_d_gain_optional() const {
470  return this != internal_default_instance() && d_gain_optional_ != NULL;
471 }
472 inline const ::gz::msgs::Double& PID::_internal_d_gain_optional() const {
473  return *d_gain_optional_;
474 }
475 inline const ::gz::msgs::Double& PID::d_gain_optional() const {
476  const ::gz::msgs::Double* p = d_gain_optional_;
477  // @@protoc_insertion_point(field_get:gz.msgs.PID.d_gain_optional)
478  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Double*>(
480 }
481 inline ::gz::msgs::Double* PID::release_d_gain_optional() {
482  // @@protoc_insertion_point(field_release:gz.msgs.PID.d_gain_optional)
483 
484  ::gz::msgs::Double* temp = d_gain_optional_;
485  d_gain_optional_ = NULL;
486  return temp;
487 }
488 inline ::gz::msgs::Double* PID::mutable_d_gain_optional() {
489 
490  if (d_gain_optional_ == NULL) {
491  auto* p = CreateMaybeMessage<::gz::msgs::Double>(GetArenaNoVirtual());
492  d_gain_optional_ = p;
493  }
494  // @@protoc_insertion_point(field_mutable:gz.msgs.PID.d_gain_optional)
495  return d_gain_optional_;
496 }
497 inline void PID::set_allocated_d_gain_optional(::gz::msgs::Double* d_gain_optional) {
498  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
499  if (message_arena == NULL) {
500  delete reinterpret_cast< ::google::protobuf::MessageLite*>(d_gain_optional_);
501  }
502  if (d_gain_optional) {
503  ::google::protobuf::Arena* submessage_arena = NULL;
504  if (message_arena != submessage_arena) {
505  d_gain_optional = ::google::protobuf::internal::GetOwnedMessage(
506  message_arena, d_gain_optional, submessage_arena);
507  }
508 
509  } else {
510 
511  }
512  d_gain_optional_ = d_gain_optional;
513  // @@protoc_insertion_point(field_set_allocated:gz.msgs.PID.d_gain_optional)
514 }
515 
516 // .gz.msgs.Double i_max_optional = 6;
517 inline bool PID::has_i_max_optional() const {
518  return this != internal_default_instance() && i_max_optional_ != NULL;
519 }
520 inline const ::gz::msgs::Double& PID::_internal_i_max_optional() const {
521  return *i_max_optional_;
522 }
523 inline const ::gz::msgs::Double& PID::i_max_optional() const {
524  const ::gz::msgs::Double* p = i_max_optional_;
525  // @@protoc_insertion_point(field_get:gz.msgs.PID.i_max_optional)
526  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Double*>(
528 }
529 inline ::gz::msgs::Double* PID::release_i_max_optional() {
530  // @@protoc_insertion_point(field_release:gz.msgs.PID.i_max_optional)
531 
532  ::gz::msgs::Double* temp = i_max_optional_;
533  i_max_optional_ = NULL;
534  return temp;
535 }
536 inline ::gz::msgs::Double* PID::mutable_i_max_optional() {
537 
538  if (i_max_optional_ == NULL) {
539  auto* p = CreateMaybeMessage<::gz::msgs::Double>(GetArenaNoVirtual());
540  i_max_optional_ = p;
541  }
542  // @@protoc_insertion_point(field_mutable:gz.msgs.PID.i_max_optional)
543  return i_max_optional_;
544 }
545 inline void PID::set_allocated_i_max_optional(::gz::msgs::Double* i_max_optional) {
546  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
547  if (message_arena == NULL) {
548  delete reinterpret_cast< ::google::protobuf::MessageLite*>(i_max_optional_);
549  }
550  if (i_max_optional) {
551  ::google::protobuf::Arena* submessage_arena = NULL;
552  if (message_arena != submessage_arena) {
553  i_max_optional = ::google::protobuf::internal::GetOwnedMessage(
554  message_arena, i_max_optional, submessage_arena);
555  }
556 
557  } else {
558 
559  }
560  i_max_optional_ = i_max_optional;
561  // @@protoc_insertion_point(field_set_allocated:gz.msgs.PID.i_max_optional)
562 }
563 
564 // .gz.msgs.Double i_min_optional = 7;
565 inline bool PID::has_i_min_optional() const {
566  return this != internal_default_instance() && i_min_optional_ != NULL;
567 }
568 inline const ::gz::msgs::Double& PID::_internal_i_min_optional() const {
569  return *i_min_optional_;
570 }
571 inline const ::gz::msgs::Double& PID::i_min_optional() const {
572  const ::gz::msgs::Double* p = i_min_optional_;
573  // @@protoc_insertion_point(field_get:gz.msgs.PID.i_min_optional)
574  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Double*>(
576 }
577 inline ::gz::msgs::Double* PID::release_i_min_optional() {
578  // @@protoc_insertion_point(field_release:gz.msgs.PID.i_min_optional)
579 
580  ::gz::msgs::Double* temp = i_min_optional_;
581  i_min_optional_ = NULL;
582  return temp;
583 }
584 inline ::gz::msgs::Double* PID::mutable_i_min_optional() {
585 
586  if (i_min_optional_ == NULL) {
587  auto* p = CreateMaybeMessage<::gz::msgs::Double>(GetArenaNoVirtual());
588  i_min_optional_ = p;
589  }
590  // @@protoc_insertion_point(field_mutable:gz.msgs.PID.i_min_optional)
591  return i_min_optional_;
592 }
593 inline void PID::set_allocated_i_min_optional(::gz::msgs::Double* i_min_optional) {
594  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
595  if (message_arena == NULL) {
596  delete reinterpret_cast< ::google::protobuf::MessageLite*>(i_min_optional_);
597  }
598  if (i_min_optional) {
599  ::google::protobuf::Arena* submessage_arena = NULL;
600  if (message_arena != submessage_arena) {
601  i_min_optional = ::google::protobuf::internal::GetOwnedMessage(
602  message_arena, i_min_optional, submessage_arena);
603  }
604 
605  } else {
606 
607  }
608  i_min_optional_ = i_min_optional;
609  // @@protoc_insertion_point(field_set_allocated:gz.msgs.PID.i_min_optional)
610 }
611 
612 // .gz.msgs.Double limit_optional = 8;
613 inline bool PID::has_limit_optional() const {
614  return this != internal_default_instance() && limit_optional_ != NULL;
615 }
616 inline const ::gz::msgs::Double& PID::_internal_limit_optional() const {
617  return *limit_optional_;
618 }
619 inline const ::gz::msgs::Double& PID::limit_optional() const {
620  const ::gz::msgs::Double* p = limit_optional_;
621  // @@protoc_insertion_point(field_get:gz.msgs.PID.limit_optional)
622  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Double*>(
624 }
625 inline ::gz::msgs::Double* PID::release_limit_optional() {
626  // @@protoc_insertion_point(field_release:gz.msgs.PID.limit_optional)
627 
628  ::gz::msgs::Double* temp = limit_optional_;
629  limit_optional_ = NULL;
630  return temp;
631 }
632 inline ::gz::msgs::Double* PID::mutable_limit_optional() {
633 
634  if (limit_optional_ == NULL) {
635  auto* p = CreateMaybeMessage<::gz::msgs::Double>(GetArenaNoVirtual());
636  limit_optional_ = p;
637  }
638  // @@protoc_insertion_point(field_mutable:gz.msgs.PID.limit_optional)
639  return limit_optional_;
640 }
641 inline void PID::set_allocated_limit_optional(::gz::msgs::Double* limit_optional) {
642  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
643  if (message_arena == NULL) {
644  delete reinterpret_cast< ::google::protobuf::MessageLite*>(limit_optional_);
645  }
646  if (limit_optional) {
647  ::google::protobuf::Arena* submessage_arena = NULL;
648  if (message_arena != submessage_arena) {
649  limit_optional = ::google::protobuf::internal::GetOwnedMessage(
650  message_arena, limit_optional, submessage_arena);
651  }
652 
653  } else {
654 
655  }
656  limit_optional_ = limit_optional;
657  // @@protoc_insertion_point(field_set_allocated:gz.msgs.PID.limit_optional)
658 }
659 
660 #ifdef __GNUC__
661  #pragma GCC diagnostic pop
662 #endif // __GNUC__
663 
664 // @@protoc_insertion_point(namespace_scope)
665 
666 } // namespace msgs
667 } // namespace gz
668 
669 // @@protoc_insertion_point(global_scope)
670 
671 #endif // PROTOBUF_INCLUDED_gz_2fmsgs_2fpid_2eproto