Gazebo Msgs

API Reference

8.7.1
build/ignition-msgs8/include/ignition/msgs/camerasensor.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/camerasensor.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fcamerasensor_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fcamerasensor_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>
31 #include <google/protobuf/message.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>
38 #ifndef _MSC_VER
39 #pragma GCC system_header
40 #else
41 #pragma warning(push)
42 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
43 #endif
44 #ifdef __linux__
45 #include <sys/sysmacros.h>
46 #endif
47 #include <memory>
48 #include <ignition/msgs/Export.hh>
49 // @@protoc_insertion_point(includes)
50 #include <google/protobuf/port_def.inc>
51 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fcamerasensor_2eproto IGNITION_MSGS_VISIBLE
52 PROTOBUF_NAMESPACE_OPEN
53 namespace internal {
54 class AnyMetadata;
55 } // namespace internal
56 PROTOBUF_NAMESPACE_CLOSE
57 
58 // Internal implementation detail -- do not use these members.
60  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
61  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
62  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
63  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
64  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
65  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
66  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
67  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
68  static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
69 };
70 extern IGNITION_MSGS_VISIBLE const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fcamerasensor_2eproto;
71 namespace ignition {
72 namespace msgs {
73 class CameraSensor;
74 class CameraSensorDefaultTypeInternal;
75 IGNITION_MSGS_VISIBLE extern CameraSensorDefaultTypeInternal _CameraSensor_default_instance_;
76 } // namespace msgs
77 } // namespace ignition
78 PROTOBUF_NAMESPACE_OPEN
79 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::CameraSensor* Arena::CreateMaybeMessage<::ignition::msgs::CameraSensor>(Arena*);
80 PROTOBUF_NAMESPACE_CLOSE
81 namespace ignition {
82 namespace msgs {
83 
84 // ===================================================================
85 
86 class IGNITION_MSGS_VISIBLE CameraSensor PROTOBUF_FINAL :
87  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.CameraSensor) */ {
88  public:
89  inline CameraSensor() : CameraSensor(nullptr) {};
90  virtual ~CameraSensor();
91 
92  CameraSensor(const CameraSensor& from);
93  CameraSensor(CameraSensor&& from) noexcept
94  : CameraSensor() {
95  *this = ::std::move(from);
96  }
97 
98  inline CameraSensor& operator=(const CameraSensor& from) {
99  CopyFrom(from);
100  return *this;
101  }
102  inline CameraSensor& operator=(CameraSensor&& from) noexcept {
103  if (GetArena() == from.GetArena()) {
104  if (this != &from) InternalSwap(&from);
105  } else {
106  CopyFrom(from);
107  }
108  return *this;
109  }
110 
111  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
112  return GetDescriptor();
113  }
114  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
115  return GetMetadataStatic().descriptor;
116  }
117  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
118  return GetMetadataStatic().reflection;
119  }
120  static const CameraSensor& default_instance();
121 
122  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
123  static inline const CameraSensor* internal_default_instance() {
124  return reinterpret_cast<const CameraSensor*>(
126  }
127  static constexpr int kIndexInFileMessages =
128  0;
129 
130  friend void swap(CameraSensor& a, CameraSensor& b) {
131  a.Swap(&b);
132  }
133  inline void Swap(CameraSensor* other) {
134  if (other == this) return;
135  if (GetArena() == other->GetArena()) {
136  InternalSwap(other);
137  } else {
138  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
139  }
140  }
141  void UnsafeArenaSwap(CameraSensor* other) {
142  if (other == this) return;
143  GOOGLE_DCHECK(GetArena() == other->GetArena());
144  InternalSwap(other);
145  }
146 
147  // implements Message ----------------------------------------------
148 
149  inline CameraSensor* New() const final {
150  return CreateMaybeMessage<CameraSensor>(nullptr);
151  }
152 
153  CameraSensor* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
154  return CreateMaybeMessage<CameraSensor>(arena);
155  }
156  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
157  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
158  void CopyFrom(const CameraSensor& from);
159  void MergeFrom(const CameraSensor& from);
160  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
161  bool IsInitialized() const final;
162 
163  size_t ByteSizeLong() const final;
164  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
165  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
166  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
167  int GetCachedSize() const final { return _cached_size_.Get(); }
168 
169  private:
170  inline void SharedCtor();
171  inline void SharedDtor();
172  void SetCachedSize(int size) const final;
173  void InternalSwap(CameraSensor* other);
174  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
175  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
176  return "ignition.msgs.CameraSensor";
177  }
178  protected:
179  explicit CameraSensor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
180  private:
181  static void ArenaDtor(void* object);
182  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
183  public:
184 
185  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
186  private:
187  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
188  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ignition_2fmsgs_2fcamerasensor_2eproto);
189  return ::descriptor_table_ignition_2fmsgs_2fcamerasensor_2eproto.file_level_metadata[kIndexInFileMessages];
190  }
191 
192  public:
193 
194  // nested types ----------------------------------------------------
195 
196  // accessors -------------------------------------------------------
197 
198  enum : int {
199  kImageFormatFieldNumber = 4,
200  kSavePathFieldNumber = 8,
201  kHeaderFieldNumber = 1,
202  kImageSizeFieldNumber = 3,
203  kDistortionFieldNumber = 9,
204  kHorizontalFovFieldNumber = 2,
205  kNearClipFieldNumber = 5,
206  kFarClipFieldNumber = 6,
207  kSaveEnabledFieldNumber = 7,
208  };
209  // string image_format = 4;
211  const std::string& image_format() const;
212  void set_image_format(const std::string& value);
214  void set_image_format(const char* value);
215  void set_image_format(const char* value, size_t size);
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_image_format();
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_image_format(
227  std::string* image_format);
228  private:
229  const std::string& _internal_image_format() const;
230  void _internal_set_image_format(const std::string& value);
231  std::string* _internal_mutable_image_format();
232  public:
233 
234  // string save_path = 8;
235  void clear_save_path();
236  const std::string& save_path() const;
237  void set_save_path(const std::string& value);
238  void set_save_path(std::string&& value);
239  void set_save_path(const char* value);
240  void set_save_path(const char* value, size_t size);
241  std::string* mutable_save_path();
242  std::string* release_save_path();
243  void set_allocated_save_path(std::string* save_path);
244  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
245  " string fields are deprecated and will be removed in a"
246  " future release.")
247  std::string* unsafe_arena_release_save_path();
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  void unsafe_arena_set_allocated_save_path(
252  std::string* save_path);
253  private:
254  const std::string& _internal_save_path() const;
255  void _internal_set_save_path(const std::string& value);
256  std::string* _internal_mutable_save_path();
257  public:
258 
259  // .ignition.msgs.Header header = 1;
260  bool has_header() const;
261  private:
262  bool _internal_has_header() const;
263  public:
264  void clear_header();
265  const ::ignition::msgs::Header& header() const;
266  ::ignition::msgs::Header* release_header();
267  ::ignition::msgs::Header* mutable_header();
268  void set_allocated_header(::ignition::msgs::Header* header);
269  private:
270  const ::ignition::msgs::Header& _internal_header() const;
271  ::ignition::msgs::Header* _internal_mutable_header();
272  public:
273  void unsafe_arena_set_allocated_header(
274  ::ignition::msgs::Header* header);
275  ::ignition::msgs::Header* unsafe_arena_release_header();
276 
277  // .ignition.msgs.Vector2d image_size = 3;
278  bool has_image_size() const;
279  private:
280  bool _internal_has_image_size() const;
281  public:
282  void clear_image_size();
283  const ::ignition::msgs::Vector2d& image_size() const;
284  ::ignition::msgs::Vector2d* release_image_size();
285  ::ignition::msgs::Vector2d* mutable_image_size();
286  void set_allocated_image_size(::ignition::msgs::Vector2d* image_size);
287  private:
288  const ::ignition::msgs::Vector2d& _internal_image_size() const;
289  ::ignition::msgs::Vector2d* _internal_mutable_image_size();
290  public:
291  void unsafe_arena_set_allocated_image_size(
292  ::ignition::msgs::Vector2d* image_size);
293  ::ignition::msgs::Vector2d* unsafe_arena_release_image_size();
294 
295  // .ignition.msgs.Distortion distortion = 9;
296  bool has_distortion() const;
297  private:
298  bool _internal_has_distortion() const;
299  public:
300  void clear_distortion();
301  const ::ignition::msgs::Distortion& distortion() const;
302  ::ignition::msgs::Distortion* release_distortion();
303  ::ignition::msgs::Distortion* mutable_distortion();
304  void set_allocated_distortion(::ignition::msgs::Distortion* distortion);
305  private:
306  const ::ignition::msgs::Distortion& _internal_distortion() const;
307  ::ignition::msgs::Distortion* _internal_mutable_distortion();
308  public:
309  void unsafe_arena_set_allocated_distortion(
310  ::ignition::msgs::Distortion* distortion);
311  ::ignition::msgs::Distortion* unsafe_arena_release_distortion();
312 
313  // double horizontal_fov = 2;
314  void clear_horizontal_fov();
315  double horizontal_fov() const;
316  void set_horizontal_fov(double value);
317  private:
318  double _internal_horizontal_fov() const;
319  void _internal_set_horizontal_fov(double value);
320  public:
321 
322  // double near_clip = 5;
323  void clear_near_clip();
324  double near_clip() const;
325  void set_near_clip(double value);
326  private:
327  double _internal_near_clip() const;
328  void _internal_set_near_clip(double value);
329  public:
330 
331  // double far_clip = 6;
332  void clear_far_clip();
333  double far_clip() const;
334  void set_far_clip(double value);
335  private:
336  double _internal_far_clip() const;
337  void _internal_set_far_clip(double value);
338  public:
339 
340  // bool save_enabled = 7;
341  void clear_save_enabled();
342  bool save_enabled() const;
343  void set_save_enabled(bool value);
344  private:
345  bool _internal_save_enabled() const;
346  void _internal_set_save_enabled(bool value);
347  public:
348 
349  // @@protoc_insertion_point(class_scope:ignition.msgs.CameraSensor)
350  private:
351  class _Internal;
352 
353  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
354  typedef void InternalArenaConstructable_;
355  typedef void DestructorSkippable_;
356  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr image_format_;
357  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr save_path_;
358  ::ignition::msgs::Header* header_;
359  ::ignition::msgs::Vector2d* image_size_;
360  ::ignition::msgs::Distortion* distortion_;
361  double horizontal_fov_;
362  double near_clip_;
363  double far_clip_;
364  bool save_enabled_;
365  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
367 };
368 // ===================================================================
369 
370 
371 // ===================================================================
372 
373 #ifdef __GNUC__
374  #pragma GCC diagnostic push
375  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
376 #endif // __GNUC__
377 // CameraSensor
378 
379 // .ignition.msgs.Header header = 1;
380 inline bool CameraSensor::_internal_has_header() const {
381  return this != internal_default_instance() && header_ != nullptr;
382 }
383 inline bool CameraSensor::has_header() const {
384  return _internal_has_header();
385 }
386 inline const ::ignition::msgs::Header& CameraSensor::_internal_header() const {
387  const ::ignition::msgs::Header* p = header_;
388  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
390 }
391 inline const ::ignition::msgs::Header& CameraSensor::header() const {
392  // @@protoc_insertion_point(field_get:ignition.msgs.CameraSensor.header)
393  return _internal_header();
394 }
395 inline void CameraSensor::unsafe_arena_set_allocated_header(
396  ::ignition::msgs::Header* header) {
397  if (GetArena() == nullptr) {
398  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
399  }
400  header_ = header;
401  if (header) {
402 
403  } else {
404 
405  }
406  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.CameraSensor.header)
407 }
408 inline ::ignition::msgs::Header* CameraSensor::release_header() {
409  auto temp = unsafe_arena_release_header();
410  if (GetArena() != nullptr) {
411  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
412  }
413  return temp;
414 }
415 inline ::ignition::msgs::Header* CameraSensor::unsafe_arena_release_header() {
416  // @@protoc_insertion_point(field_release:ignition.msgs.CameraSensor.header)
417 
418  ::ignition::msgs::Header* temp = header_;
419  header_ = nullptr;
420  return temp;
421 }
422 inline ::ignition::msgs::Header* CameraSensor::_internal_mutable_header() {
423 
424  if (header_ == nullptr) {
425  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
426  header_ = p;
427  }
428  return header_;
429 }
430 inline ::ignition::msgs::Header* CameraSensor::mutable_header() {
431  // @@protoc_insertion_point(field_mutable:ignition.msgs.CameraSensor.header)
432  return _internal_mutable_header();
433 }
434 inline void CameraSensor::set_allocated_header(::ignition::msgs::Header* header) {
435  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
436  if (message_arena == nullptr) {
437  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
438  }
439  if (header) {
440  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
441  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header)->GetArena();
442  if (message_arena != submessage_arena) {
443  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
444  message_arena, header, submessage_arena);
445  }
446 
447  } else {
448 
449  }
450  header_ = header;
451  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.CameraSensor.header)
452 }
453 
454 // double horizontal_fov = 2;
455 inline void CameraSensor::clear_horizontal_fov() {
456  horizontal_fov_ = 0;
457 }
458 inline double CameraSensor::_internal_horizontal_fov() const {
459  return horizontal_fov_;
460 }
461 inline double CameraSensor::horizontal_fov() const {
462  // @@protoc_insertion_point(field_get:ignition.msgs.CameraSensor.horizontal_fov)
463  return _internal_horizontal_fov();
464 }
465 inline void CameraSensor::_internal_set_horizontal_fov(double value) {
466 
467  horizontal_fov_ = value;
468 }
469 inline void CameraSensor::set_horizontal_fov(double value) {
470  _internal_set_horizontal_fov(value);
471  // @@protoc_insertion_point(field_set:ignition.msgs.CameraSensor.horizontal_fov)
472 }
473 
474 // .ignition.msgs.Vector2d image_size = 3;
475 inline bool CameraSensor::_internal_has_image_size() const {
476  return this != internal_default_instance() && image_size_ != nullptr;
477 }
478 inline bool CameraSensor::has_image_size() const {
479  return _internal_has_image_size();
480 }
481 inline const ::ignition::msgs::Vector2d& CameraSensor::_internal_image_size() const {
482  const ::ignition::msgs::Vector2d* p = image_size_;
483  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::Vector2d*>(
485 }
486 inline const ::ignition::msgs::Vector2d& CameraSensor::image_size() const {
487  // @@protoc_insertion_point(field_get:ignition.msgs.CameraSensor.image_size)
488  return _internal_image_size();
489 }
490 inline void CameraSensor::unsafe_arena_set_allocated_image_size(
491  ::ignition::msgs::Vector2d* image_size) {
492  if (GetArena() == nullptr) {
493  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(image_size_);
494  }
495  image_size_ = image_size;
496  if (image_size) {
497 
498  } else {
499 
500  }
501  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.CameraSensor.image_size)
502 }
503 inline ::ignition::msgs::Vector2d* CameraSensor::release_image_size() {
504  auto temp = unsafe_arena_release_image_size();
505  if (GetArena() != nullptr) {
506  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
507  }
508  return temp;
509 }
510 inline ::ignition::msgs::Vector2d* CameraSensor::unsafe_arena_release_image_size() {
511  // @@protoc_insertion_point(field_release:ignition.msgs.CameraSensor.image_size)
512 
513  ::ignition::msgs::Vector2d* temp = image_size_;
514  image_size_ = nullptr;
515  return temp;
516 }
517 inline ::ignition::msgs::Vector2d* CameraSensor::_internal_mutable_image_size() {
518 
519  if (image_size_ == nullptr) {
520  auto* p = CreateMaybeMessage<::ignition::msgs::Vector2d>(GetArena());
521  image_size_ = p;
522  }
523  return image_size_;
524 }
525 inline ::ignition::msgs::Vector2d* CameraSensor::mutable_image_size() {
526  // @@protoc_insertion_point(field_mutable:ignition.msgs.CameraSensor.image_size)
527  return _internal_mutable_image_size();
528 }
529 inline void CameraSensor::set_allocated_image_size(::ignition::msgs::Vector2d* image_size) {
530  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
531  if (message_arena == nullptr) {
532  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(image_size_);
533  }
534  if (image_size) {
535  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
536  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(image_size)->GetArena();
537  if (message_arena != submessage_arena) {
538  image_size = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
539  message_arena, image_size, submessage_arena);
540  }
541 
542  } else {
543 
544  }
545  image_size_ = image_size;
546  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.CameraSensor.image_size)
547 }
548 
549 // string image_format = 4;
550 inline void CameraSensor::clear_image_format() {
551  image_format_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
552 }
553 inline const std::string& CameraSensor::image_format() const {
554  // @@protoc_insertion_point(field_get:ignition.msgs.CameraSensor.image_format)
555  return _internal_image_format();
556 }
557 inline void CameraSensor::set_image_format(const std::string& value) {
558  _internal_set_image_format(value);
559  // @@protoc_insertion_point(field_set:ignition.msgs.CameraSensor.image_format)
560 }
561 inline std::string* CameraSensor::mutable_image_format() {
562  // @@protoc_insertion_point(field_mutable:ignition.msgs.CameraSensor.image_format)
563  return _internal_mutable_image_format();
564 }
565 inline const std::string& CameraSensor::_internal_image_format() const {
566  return image_format_.Get();
567 }
568 inline void CameraSensor::_internal_set_image_format(const std::string& value) {
569 
570  image_format_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
571 }
572 inline void CameraSensor::set_image_format(std::string&& value) {
573 
574  image_format_.Set(
575  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
576  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.CameraSensor.image_format)
577 }
578 inline void CameraSensor::set_image_format(const char* value) {
579  GOOGLE_DCHECK(value != nullptr);
580 
581  image_format_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
582  GetArena());
583  // @@protoc_insertion_point(field_set_char:ignition.msgs.CameraSensor.image_format)
584 }
585 inline void CameraSensor::set_image_format(const char* value,
586  size_t size) {
587 
588  image_format_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
589  reinterpret_cast<const char*>(value), size), GetArena());
590  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.CameraSensor.image_format)
591 }
592 inline std::string* CameraSensor::_internal_mutable_image_format() {
593 
594  return image_format_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
595 }
596 inline std::string* CameraSensor::release_image_format() {
597  // @@protoc_insertion_point(field_release:ignition.msgs.CameraSensor.image_format)
598  return image_format_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
599 }
600 inline void CameraSensor::set_allocated_image_format(std::string* image_format) {
601  if (image_format != nullptr) {
602 
603  } else {
604 
605  }
606  image_format_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), image_format,
607  GetArena());
608  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.CameraSensor.image_format)
609 }
610 inline std::string* CameraSensor::unsafe_arena_release_image_format() {
611  // @@protoc_insertion_point(field_unsafe_arena_release:ignition.msgs.CameraSensor.image_format)
612  GOOGLE_DCHECK(GetArena() != nullptr);
613 
614  return image_format_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
615  GetArena());
616 }
617 inline void CameraSensor::unsafe_arena_set_allocated_image_format(
618  std::string* image_format) {
619  GOOGLE_DCHECK(GetArena() != nullptr);
620  if (image_format != nullptr) {
621 
622  } else {
623 
624  }
625  image_format_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
626  image_format, GetArena());
627  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.CameraSensor.image_format)
628 }
629 
630 // double near_clip = 5;
631 inline void CameraSensor::clear_near_clip() {
632  near_clip_ = 0;
633 }
634 inline double CameraSensor::_internal_near_clip() const {
635  return near_clip_;
636 }
637 inline double CameraSensor::near_clip() const {
638  // @@protoc_insertion_point(field_get:ignition.msgs.CameraSensor.near_clip)
639  return _internal_near_clip();
640 }
641 inline void CameraSensor::_internal_set_near_clip(double value) {
642 
643  near_clip_ = value;
644 }
645 inline void CameraSensor::set_near_clip(double value) {
646  _internal_set_near_clip(value);
647  // @@protoc_insertion_point(field_set:ignition.msgs.CameraSensor.near_clip)
648 }
649 
650 // double far_clip = 6;
651 inline void CameraSensor::clear_far_clip() {
652  far_clip_ = 0;
653 }
654 inline double CameraSensor::_internal_far_clip() const {
655  return far_clip_;
656 }
657 inline double CameraSensor::far_clip() const {
658  // @@protoc_insertion_point(field_get:ignition.msgs.CameraSensor.far_clip)
659  return _internal_far_clip();
660 }
661 inline void CameraSensor::_internal_set_far_clip(double value) {
662 
663  far_clip_ = value;
664 }
665 inline void CameraSensor::set_far_clip(double value) {
666  _internal_set_far_clip(value);
667  // @@protoc_insertion_point(field_set:ignition.msgs.CameraSensor.far_clip)
668 }
669 
670 // bool save_enabled = 7;
671 inline void CameraSensor::clear_save_enabled() {
672  save_enabled_ = false;
673 }
674 inline bool CameraSensor::_internal_save_enabled() const {
675  return save_enabled_;
676 }
677 inline bool CameraSensor::save_enabled() const {
678  // @@protoc_insertion_point(field_get:ignition.msgs.CameraSensor.save_enabled)
679  return _internal_save_enabled();
680 }
681 inline void CameraSensor::_internal_set_save_enabled(bool value) {
682 
683  save_enabled_ = value;
684 }
685 inline void CameraSensor::set_save_enabled(bool value) {
686  _internal_set_save_enabled(value);
687  // @@protoc_insertion_point(field_set:ignition.msgs.CameraSensor.save_enabled)
688 }
689 
690 // string save_path = 8;
691 inline void CameraSensor::clear_save_path() {
692  save_path_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
693 }
694 inline const std::string& CameraSensor::save_path() const {
695  // @@protoc_insertion_point(field_get:ignition.msgs.CameraSensor.save_path)
696  return _internal_save_path();
697 }
698 inline void CameraSensor::set_save_path(const std::string& value) {
699  _internal_set_save_path(value);
700  // @@protoc_insertion_point(field_set:ignition.msgs.CameraSensor.save_path)
701 }
702 inline std::string* CameraSensor::mutable_save_path() {
703  // @@protoc_insertion_point(field_mutable:ignition.msgs.CameraSensor.save_path)
704  return _internal_mutable_save_path();
705 }
706 inline const std::string& CameraSensor::_internal_save_path() const {
707  return save_path_.Get();
708 }
709 inline void CameraSensor::_internal_set_save_path(const std::string& value) {
710 
711  save_path_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
712 }
713 inline void CameraSensor::set_save_path(std::string&& value) {
714 
715  save_path_.Set(
716  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
717  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.CameraSensor.save_path)
718 }
719 inline void CameraSensor::set_save_path(const char* value) {
720  GOOGLE_DCHECK(value != nullptr);
721 
722  save_path_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
723  GetArena());
724  // @@protoc_insertion_point(field_set_char:ignition.msgs.CameraSensor.save_path)
725 }
726 inline void CameraSensor::set_save_path(const char* value,
727  size_t size) {
728 
729  save_path_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
730  reinterpret_cast<const char*>(value), size), GetArena());
731  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.CameraSensor.save_path)
732 }
733 inline std::string* CameraSensor::_internal_mutable_save_path() {
734 
735  return save_path_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
736 }
737 inline std::string* CameraSensor::release_save_path() {
738  // @@protoc_insertion_point(field_release:ignition.msgs.CameraSensor.save_path)
739  return save_path_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
740 }
741 inline void CameraSensor::set_allocated_save_path(std::string* save_path) {
742  if (save_path != nullptr) {
743 
744  } else {
745 
746  }
747  save_path_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), save_path,
748  GetArena());
749  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.CameraSensor.save_path)
750 }
751 inline std::string* CameraSensor::unsafe_arena_release_save_path() {
752  // @@protoc_insertion_point(field_unsafe_arena_release:ignition.msgs.CameraSensor.save_path)
753  GOOGLE_DCHECK(GetArena() != nullptr);
754 
755  return save_path_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
756  GetArena());
757 }
758 inline void CameraSensor::unsafe_arena_set_allocated_save_path(
759  std::string* save_path) {
760  GOOGLE_DCHECK(GetArena() != nullptr);
761  if (save_path != nullptr) {
762 
763  } else {
764 
765  }
766  save_path_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
767  save_path, GetArena());
768  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.CameraSensor.save_path)
769 }
770 
771 // .ignition.msgs.Distortion distortion = 9;
772 inline bool CameraSensor::_internal_has_distortion() const {
773  return this != internal_default_instance() && distortion_ != nullptr;
774 }
775 inline bool CameraSensor::has_distortion() const {
776  return _internal_has_distortion();
777 }
778 inline const ::ignition::msgs::Distortion& CameraSensor::_internal_distortion() const {
779  const ::ignition::msgs::Distortion* p = distortion_;
780  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::Distortion*>(
782 }
783 inline const ::ignition::msgs::Distortion& CameraSensor::distortion() const {
784  // @@protoc_insertion_point(field_get:ignition.msgs.CameraSensor.distortion)
785  return _internal_distortion();
786 }
787 inline void CameraSensor::unsafe_arena_set_allocated_distortion(
788  ::ignition::msgs::Distortion* distortion) {
789  if (GetArena() == nullptr) {
790  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(distortion_);
791  }
792  distortion_ = distortion;
793  if (distortion) {
794 
795  } else {
796 
797  }
798  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.CameraSensor.distortion)
799 }
800 inline ::ignition::msgs::Distortion* CameraSensor::release_distortion() {
801  auto temp = unsafe_arena_release_distortion();
802  if (GetArena() != nullptr) {
803  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
804  }
805  return temp;
806 }
807 inline ::ignition::msgs::Distortion* CameraSensor::unsafe_arena_release_distortion() {
808  // @@protoc_insertion_point(field_release:ignition.msgs.CameraSensor.distortion)
809 
810  ::ignition::msgs::Distortion* temp = distortion_;
811  distortion_ = nullptr;
812  return temp;
813 }
814 inline ::ignition::msgs::Distortion* CameraSensor::_internal_mutable_distortion() {
815 
816  if (distortion_ == nullptr) {
817  auto* p = CreateMaybeMessage<::ignition::msgs::Distortion>(GetArena());
818  distortion_ = p;
819  }
820  return distortion_;
821 }
822 inline ::ignition::msgs::Distortion* CameraSensor::mutable_distortion() {
823  // @@protoc_insertion_point(field_mutable:ignition.msgs.CameraSensor.distortion)
824  return _internal_mutable_distortion();
825 }
826 inline void CameraSensor::set_allocated_distortion(::ignition::msgs::Distortion* distortion) {
827  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
828  if (message_arena == nullptr) {
829  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(distortion_);
830  }
831  if (distortion) {
832  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
833  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(distortion)->GetArena();
834  if (message_arena != submessage_arena) {
835  distortion = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
836  message_arena, distortion, submessage_arena);
837  }
838 
839  } else {
840 
841  }
842  distortion_ = distortion;
843  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.CameraSensor.distortion)
844 }
845 
846 #ifdef __GNUC__
847  #pragma GCC diagnostic pop
848 #endif // __GNUC__
849 
854 // @@protoc_insertion_point(namespace_scope)
855 
856 } // namespace msgs
857 } // namespace ignition
858 
859 #ifdef _MSC_VER
860 #pragma warning(pop)
861 #endif
862 // @@protoc_insertion_point(global_scope)
863 
864 #include <google/protobuf/port_undef.inc>
865 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fcamerasensor_2eproto
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fcamerasensor_2eproto
CameraSensor(CameraSensor &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/camerasensor.pb.h:93
CameraSensor & operator=(CameraSensor &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/camerasensor.pb.h:102
const std::string & image_format() const
void MergeFrom(const CameraSensor &from)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: build/ignition-msgs8/include/ignition/msgs/camerasensor.pb.h:117
CameraSensor * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/camerasensor.pb.h:149
CameraInfo_Distortion Distortion
Definition: build/ignition-msgs8/include/ignition/msgs/camera_info.pb.h:729
void set_image_format(const char *value)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
std::string * mutable_image_format()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/camerasensor.pb.h:111
CameraSensor()
Definition: build/ignition-msgs8/include/ignition/msgs/camerasensor.pb.h:89
friend void swap(CameraSensor &a, CameraSensor &b)
Definition: build/ignition-msgs8/include/ignition/msgs/camerasensor.pb.h:130
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
CameraSensor & operator=(const CameraSensor &from)
Definition: build/ignition-msgs8/include/ignition/msgs/camerasensor.pb.h:98
std::string * release_image_format()
void set_image_format(const char *value, size_t size)
static const CameraSensor & default_instance()
CameraSensor(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void Swap(CameraSensor *other)
Definition: build/ignition-msgs8/include/ignition/msgs/camerasensor.pb.h:133
static const CameraSensor * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/camerasensor.pb.h:123
void UnsafeArenaSwap(CameraSensor *other)
Definition: build/ignition-msgs8/include/ignition/msgs/camerasensor.pb.h:141
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
CameraSensor * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/camerasensor.pb.h:153
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/camerasensor.pb.h:114
void set_image_format(const std::string &value)
CameraSensor(const CameraSensor &from)
void set_allocated_image_format(std::string *image_format)
void CopyFrom(const CameraSensor &from)
void set_image_format(std::string &&value)
T move(T... args)
Vector2< double > Vector2d
std::unique_ptr< const CameraSensor > ConstCameraSensorUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/camerasensor.pb.h:851
IGNITION_MSGS_VISIBLE CameraSensorDefaultTypeInternal _CameraSensor_default_instance_
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::unique_ptr< CameraSensor > CameraSensorUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/camerasensor.pb.h:850
std::shared_ptr< CameraSensor > CameraSensorSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/camerasensor.pb.h:852
IGNITION_MSGS_VISIBLE DistortionDefaultTypeInternal _Distortion_default_instance_
std::shared_ptr< const CameraSensor > ConstCameraSensorSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/camerasensor.pb.h:853
IGNITION_MSGS_VISIBLE Vector2dDefaultTypeInternal _Vector2d_default_instance_
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:53
STL namespace.
Definition: build/ignition-msgs8/include/ignition/msgs/camerasensor.pb.h:59
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] 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::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)