Ignition Msgs

API Reference

5.8.1
camera_lens.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/camera_lens.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fcamera_5flens_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fcamera_5flens_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3019000
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 3019000 < 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/metadata_lite.h>
29 #include <google/protobuf/generated_message_reflection.h>
30 #include <google/protobuf/message.h>
31 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
32 #include <google/protobuf/extension_set.h> // IWYU pragma: export
33 #include <google/protobuf/unknown_field_set.h>
35 #ifndef _MSC_VER
36 #pragma GCC system_header
37 #else
38 #pragma warning(push)
39 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
40 #endif
41 #ifdef __linux__
42 #include <sys/sysmacros.h>
43 #endif
44 #include <memory>
45 #include <ignition/msgs/Export.hh>
46 // @@protoc_insertion_point(includes)
47 #include <google/protobuf/port_def.inc>
48 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fcamera_5flens_2eproto IGNITION_MSGS_VISIBLE
49 PROTOBUF_NAMESPACE_OPEN
50 namespace internal {
51 class AnyMetadata;
52 } // namespace internal
53 PROTOBUF_NAMESPACE_CLOSE
54 
55 // Internal implementation detail -- do not use these members.
57  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
58  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
59  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
60  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
61  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
62  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
63  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
64  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
65  static const uint32_t offsets[];
66 };
67 IGNITION_MSGS_VISIBLE extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fcamera_5flens_2eproto;
68 namespace ignition {
69 namespace msgs {
70 class CameraLens;
71 struct CameraLensDefaultTypeInternal;
72 IGNITION_MSGS_VISIBLE extern CameraLensDefaultTypeInternal _CameraLens_default_instance_;
73 } // namespace msgs
74 } // namespace ignition
75 PROTOBUF_NAMESPACE_OPEN
76 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::CameraLens* Arena::CreateMaybeMessage<::ignition::msgs::CameraLens>(Arena*);
77 PROTOBUF_NAMESPACE_CLOSE
78 namespace ignition {
79 namespace msgs {
80 
81 // ===================================================================
82 
83 class IGNITION_MSGS_VISIBLE CameraLens final :
84  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.CameraLens) */ {
85  public:
86  inline CameraLens() : CameraLens(nullptr) {}
87  ~CameraLens() override;
88  explicit constexpr CameraLens(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
89 
90  CameraLens(const CameraLens& from);
91  CameraLens(CameraLens&& from) noexcept
92  : CameraLens() {
93  *this = ::std::move(from);
94  }
95 
96  inline CameraLens& operator=(const CameraLens& from) {
97  CopyFrom(from);
98  return *this;
99  }
100  inline CameraLens& operator=(CameraLens&& from) noexcept {
101  if (this == &from) return *this;
102  if (GetOwningArena() == from.GetOwningArena()
103  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
104  && GetOwningArena() != nullptr
105  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
106  ) {
107  InternalSwap(&from);
108  } else {
109  CopyFrom(from);
110  }
111  return *this;
112  }
113 
114  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
115  return GetDescriptor();
116  }
117  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
118  return default_instance().GetMetadata().descriptor;
119  }
120  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
121  return default_instance().GetMetadata().reflection;
122  }
123  static const CameraLens& default_instance() {
124  return *internal_default_instance();
125  }
126  static inline const CameraLens* internal_default_instance() {
127  return reinterpret_cast<const CameraLens*>(
129  }
130  static constexpr int kIndexInFileMessages =
131  0;
132 
133  friend void swap(CameraLens& a, CameraLens& b) {
134  a.Swap(&b);
135  }
136  inline void Swap(CameraLens* other) {
137  if (other == this) return;
138  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
139  if (GetOwningArena() != nullptr &&
140  GetOwningArena() == other->GetOwningArena()) {
141  #else // PROTOBUF_FORCE_COPY_IN_SWAP
142  if (GetOwningArena() == other->GetOwningArena()) {
143  #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
144  InternalSwap(other);
145  } else {
146  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
147  }
148  }
150  if (other == this) return;
151  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
152  InternalSwap(other);
153  }
154 
155  // implements Message ----------------------------------------------
156 
157  CameraLens* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
158  return CreateMaybeMessage<CameraLens>(arena);
159  }
160  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
161  void CopyFrom(const CameraLens& from);
162  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
163  void MergeFrom(const CameraLens& from);
164  private:
165  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
166  public:
167  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
168  bool IsInitialized() const final;
169 
170  size_t ByteSizeLong() const final;
171  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
172  uint8_t* _InternalSerialize(
173  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
174  int GetCachedSize() const final { return _cached_size_.Get(); }
175 
176  private:
177  void SharedCtor();
178  void SharedDtor();
179  void SetCachedSize(int size) const final;
180  void InternalSwap(CameraLens* other);
181 
182  private:
183  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
184  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
185  return "ignition.msgs.CameraLens";
186  }
187  protected:
188  explicit CameraLens(::PROTOBUF_NAMESPACE_ID::Arena* arena,
189  bool is_message_owned = false);
190  private:
191  static void ArenaDtor(void* object);
192  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
193  public:
194 
195  static const ClassData _class_data_;
196  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
197 
198  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
199 
200  // nested types ----------------------------------------------------
201 
202  // accessors -------------------------------------------------------
203 
204  enum : int {
205  kTypeFieldNumber = 2,
206  kFunFieldNumber = 7,
207  kHeaderFieldNumber = 1,
208  kC1FieldNumber = 3,
209  kC2FieldNumber = 4,
210  kC3FieldNumber = 5,
211  kFFieldNumber = 6,
212  kCutoffAngleFieldNumber = 9,
213  kScaleToHfovFieldNumber = 8,
214  kEnvTextureSizeFieldNumber = 11,
215  kHfovFieldNumber = 10,
216  };
217  // string type = 2;
218  void clear_type();
219  const std::string& type() const;
220  template <typename ArgT0 = const std::string&, typename... ArgT>
221  void set_type(ArgT0&& arg0, ArgT... args);
222  std::string* mutable_type();
223  PROTOBUF_NODISCARD std::string* release_type();
224  void set_allocated_type(std::string* type);
225  private:
226  const std::string& _internal_type() const;
227  inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value);
228  std::string* _internal_mutable_type();
229  public:
230 
231  // string fun = 7;
232  void clear_fun();
233  const std::string& fun() const;
234  template <typename ArgT0 = const std::string&, typename... ArgT>
235  void set_fun(ArgT0&& arg0, ArgT... args);
236  std::string* mutable_fun();
237  PROTOBUF_NODISCARD std::string* release_fun();
238  void set_allocated_fun(std::string* fun);
239  private:
240  const std::string& _internal_fun() const;
241  inline PROTOBUF_ALWAYS_INLINE void _internal_set_fun(const std::string& value);
242  std::string* _internal_mutable_fun();
243  public:
244 
245  // .ignition.msgs.Header header = 1;
246  bool has_header() const;
247  private:
248  bool _internal_has_header() const;
249  public:
250  void clear_header();
251  const ::ignition::msgs::Header& header() const;
252  PROTOBUF_NODISCARD ::ignition::msgs::Header* release_header();
253  ::ignition::msgs::Header* mutable_header();
254  void set_allocated_header(::ignition::msgs::Header* header);
255  private:
256  const ::ignition::msgs::Header& _internal_header() const;
257  ::ignition::msgs::Header* _internal_mutable_header();
258  public:
259  void unsafe_arena_set_allocated_header(
260  ::ignition::msgs::Header* header);
261  ::ignition::msgs::Header* unsafe_arena_release_header();
262 
263  // double c1 = 3;
264  void clear_c1();
265  double c1() const;
266  void set_c1(double value);
267  private:
268  double _internal_c1() const;
269  void _internal_set_c1(double value);
270  public:
271 
272  // double c2 = 4;
273  void clear_c2();
274  double c2() const;
275  void set_c2(double value);
276  private:
277  double _internal_c2() const;
278  void _internal_set_c2(double value);
279  public:
280 
281  // double c3 = 5;
282  void clear_c3();
283  double c3() const;
284  void set_c3(double value);
285  private:
286  double _internal_c3() const;
287  void _internal_set_c3(double value);
288  public:
289 
290  // double f = 6;
291  void clear_f();
292  double f() const;
293  void set_f(double value);
294  private:
295  double _internal_f() const;
296  void _internal_set_f(double value);
297  public:
298 
299  // double cutoff_angle = 9;
300  void clear_cutoff_angle();
301  double cutoff_angle() const;
302  void set_cutoff_angle(double value);
303  private:
304  double _internal_cutoff_angle() const;
305  void _internal_set_cutoff_angle(double value);
306  public:
307 
308  // bool scale_to_hfov = 8;
309  void clear_scale_to_hfov();
310  bool scale_to_hfov() const;
311  void set_scale_to_hfov(bool value);
312  private:
313  bool _internal_scale_to_hfov() const;
314  void _internal_set_scale_to_hfov(bool value);
315  public:
316 
317  // int32 env_texture_size = 11;
318  void clear_env_texture_size();
319  int32_t env_texture_size() const;
320  void set_env_texture_size(int32_t value);
321  private:
322  int32_t _internal_env_texture_size() const;
323  void _internal_set_env_texture_size(int32_t value);
324  public:
325 
326  // double hfov = 10;
327  void clear_hfov();
328  double hfov() const;
329  void set_hfov(double value);
330  private:
331  double _internal_hfov() const;
332  void _internal_set_hfov(double value);
333  public:
334 
335  // @@protoc_insertion_point(class_scope:ignition.msgs.CameraLens)
336  private:
337  class _Internal;
338 
339  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
340  typedef void InternalArenaConstructable_;
341  typedef void DestructorSkippable_;
342  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
343  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fun_;
344  ::ignition::msgs::Header* header_;
345  double c1_;
346  double c2_;
347  double c3_;
348  double f_;
349  double cutoff_angle_;
350  bool scale_to_hfov_;
351  int32_t env_texture_size_;
352  double hfov_;
353  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
354  friend struct ::TableStruct_ignition_2fmsgs_2fcamera_5flens_2eproto;
355 };
356 // ===================================================================
357 
358 
359 // ===================================================================
360 
361 #ifdef __GNUC__
362  #pragma GCC diagnostic push
363  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
364 #endif // __GNUC__
365 // CameraLens
366 
367 // .ignition.msgs.Header header = 1;
368 inline bool CameraLens::_internal_has_header() const {
369  return this != internal_default_instance() && header_ != nullptr;
370 }
371 inline bool CameraLens::has_header() const {
372  return _internal_has_header();
373 }
374 inline const ::ignition::msgs::Header& CameraLens::_internal_header() const {
375  const ::ignition::msgs::Header* p = header_;
376  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Header&>(
378 }
379 inline const ::ignition::msgs::Header& CameraLens::header() const {
380  // @@protoc_insertion_point(field_get:ignition.msgs.CameraLens.header)
381  return _internal_header();
382 }
384  ::ignition::msgs::Header* header) {
385  if (GetArenaForAllocation() == nullptr) {
386  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
387  }
388  header_ = header;
389  if (header) {
390 
391  } else {
392 
393  }
394  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.CameraLens.header)
395 }
396 inline ::ignition::msgs::Header* CameraLens::release_header() {
397 
398  ::ignition::msgs::Header* temp = header_;
399  header_ = nullptr;
400 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
401  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
402  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
403  if (GetArenaForAllocation() == nullptr) { delete old; }
404 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
405  if (GetArenaForAllocation() != nullptr) {
406  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
407  }
408 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
409  return temp;
410 }
411 inline ::ignition::msgs::Header* CameraLens::unsafe_arena_release_header() {
412  // @@protoc_insertion_point(field_release:ignition.msgs.CameraLens.header)
413 
414  ::ignition::msgs::Header* temp = header_;
415  header_ = nullptr;
416  return temp;
417 }
418 inline ::ignition::msgs::Header* CameraLens::_internal_mutable_header() {
419 
420  if (header_ == nullptr) {
421  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaForAllocation());
422  header_ = p;
423  }
424  return header_;
425 }
426 inline ::ignition::msgs::Header* CameraLens::mutable_header() {
427  ::ignition::msgs::Header* _msg = _internal_mutable_header();
428  // @@protoc_insertion_point(field_mutable:ignition.msgs.CameraLens.header)
429  return _msg;
430 }
432  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
433  if (message_arena == nullptr) {
434  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
435  }
436  if (header) {
437  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
438  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
439  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
440  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header));
441  if (message_arena != submessage_arena) {
442  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
443  message_arena, header, submessage_arena);
444  }
445 
446  } else {
447 
448  }
449  header_ = header;
450  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.CameraLens.header)
451 }
452 
453 // string type = 2;
454 inline void CameraLens::clear_type() {
455  type_.ClearToEmpty();
456 }
457 inline const std::string& CameraLens::type() const {
458  // @@protoc_insertion_point(field_get:ignition.msgs.CameraLens.type)
459  return _internal_type();
460 }
461 template <typename ArgT0, typename... ArgT>
462 inline PROTOBUF_ALWAYS_INLINE
463 void CameraLens::set_type(ArgT0&& arg0, ArgT... args) {
464 
465  type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
466  // @@protoc_insertion_point(field_set:ignition.msgs.CameraLens.type)
467 }
469  std::string* _s = _internal_mutable_type();
470  // @@protoc_insertion_point(field_mutable:ignition.msgs.CameraLens.type)
471  return _s;
472 }
473 inline const std::string& CameraLens::_internal_type() const {
474  return type_.Get();
475 }
476 inline void CameraLens::_internal_set_type(const std::string& value) {
477 
478  type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
479 }
480 inline std::string* CameraLens::_internal_mutable_type() {
481 
482  return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
483 }
485  // @@protoc_insertion_point(field_release:ignition.msgs.CameraLens.type)
486  return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
487 }
489  if (type != nullptr) {
490 
491  } else {
492 
493  }
494  type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
495  GetArenaForAllocation());
496 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
497  if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
498  type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
499  }
500 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
501  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.CameraLens.type)
502 }
503 
504 // double c1 = 3;
505 inline void CameraLens::clear_c1() {
506  c1_ = 0;
507 }
508 inline double CameraLens::_internal_c1() const {
509  return c1_;
510 }
511 inline double CameraLens::c1() const {
512  // @@protoc_insertion_point(field_get:ignition.msgs.CameraLens.c1)
513  return _internal_c1();
514 }
515 inline void CameraLens::_internal_set_c1(double value) {
516 
517  c1_ = value;
518 }
519 inline void CameraLens::set_c1(double value) {
520  _internal_set_c1(value);
521  // @@protoc_insertion_point(field_set:ignition.msgs.CameraLens.c1)
522 }
523 
524 // double c2 = 4;
525 inline void CameraLens::clear_c2() {
526  c2_ = 0;
527 }
528 inline double CameraLens::_internal_c2() const {
529  return c2_;
530 }
531 inline double CameraLens::c2() const {
532  // @@protoc_insertion_point(field_get:ignition.msgs.CameraLens.c2)
533  return _internal_c2();
534 }
535 inline void CameraLens::_internal_set_c2(double value) {
536 
537  c2_ = value;
538 }
539 inline void CameraLens::set_c2(double value) {
540  _internal_set_c2(value);
541  // @@protoc_insertion_point(field_set:ignition.msgs.CameraLens.c2)
542 }
543 
544 // double c3 = 5;
545 inline void CameraLens::clear_c3() {
546  c3_ = 0;
547 }
548 inline double CameraLens::_internal_c3() const {
549  return c3_;
550 }
551 inline double CameraLens::c3() const {
552  // @@protoc_insertion_point(field_get:ignition.msgs.CameraLens.c3)
553  return _internal_c3();
554 }
555 inline void CameraLens::_internal_set_c3(double value) {
556 
557  c3_ = value;
558 }
559 inline void CameraLens::set_c3(double value) {
560  _internal_set_c3(value);
561  // @@protoc_insertion_point(field_set:ignition.msgs.CameraLens.c3)
562 }
563 
564 // double f = 6;
565 inline void CameraLens::clear_f() {
566  f_ = 0;
567 }
568 inline double CameraLens::_internal_f() const {
569  return f_;
570 }
571 inline double CameraLens::f() const {
572  // @@protoc_insertion_point(field_get:ignition.msgs.CameraLens.f)
573  return _internal_f();
574 }
575 inline void CameraLens::_internal_set_f(double value) {
576 
577  f_ = value;
578 }
579 inline void CameraLens::set_f(double value) {
580  _internal_set_f(value);
581  // @@protoc_insertion_point(field_set:ignition.msgs.CameraLens.f)
582 }
583 
584 // string fun = 7;
585 inline void CameraLens::clear_fun() {
586  fun_.ClearToEmpty();
587 }
588 inline const std::string& CameraLens::fun() const {
589  // @@protoc_insertion_point(field_get:ignition.msgs.CameraLens.fun)
590  return _internal_fun();
591 }
592 template <typename ArgT0, typename... ArgT>
593 inline PROTOBUF_ALWAYS_INLINE
594 void CameraLens::set_fun(ArgT0&& arg0, ArgT... args) {
595 
596  fun_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
597  // @@protoc_insertion_point(field_set:ignition.msgs.CameraLens.fun)
598 }
600  std::string* _s = _internal_mutable_fun();
601  // @@protoc_insertion_point(field_mutable:ignition.msgs.CameraLens.fun)
602  return _s;
603 }
604 inline const std::string& CameraLens::_internal_fun() const {
605  return fun_.Get();
606 }
607 inline void CameraLens::_internal_set_fun(const std::string& value) {
608 
609  fun_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
610 }
611 inline std::string* CameraLens::_internal_mutable_fun() {
612 
613  return fun_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
614 }
616  // @@protoc_insertion_point(field_release:ignition.msgs.CameraLens.fun)
617  return fun_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
618 }
620  if (fun != nullptr) {
621 
622  } else {
623 
624  }
625  fun_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), fun,
626  GetArenaForAllocation());
627 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
628  if (fun_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
629  fun_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
630  }
631 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
632  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.CameraLens.fun)
633 }
634 
635 // bool scale_to_hfov = 8;
637  scale_to_hfov_ = false;
638 }
639 inline bool CameraLens::_internal_scale_to_hfov() const {
640  return scale_to_hfov_;
641 }
642 inline bool CameraLens::scale_to_hfov() const {
643  // @@protoc_insertion_point(field_get:ignition.msgs.CameraLens.scale_to_hfov)
644  return _internal_scale_to_hfov();
645 }
646 inline void CameraLens::_internal_set_scale_to_hfov(bool value) {
647 
648  scale_to_hfov_ = value;
649 }
650 inline void CameraLens::set_scale_to_hfov(bool value) {
651  _internal_set_scale_to_hfov(value);
652  // @@protoc_insertion_point(field_set:ignition.msgs.CameraLens.scale_to_hfov)
653 }
654 
655 // double cutoff_angle = 9;
657  cutoff_angle_ = 0;
658 }
659 inline double CameraLens::_internal_cutoff_angle() const {
660  return cutoff_angle_;
661 }
662 inline double CameraLens::cutoff_angle() const {
663  // @@protoc_insertion_point(field_get:ignition.msgs.CameraLens.cutoff_angle)
664  return _internal_cutoff_angle();
665 }
666 inline void CameraLens::_internal_set_cutoff_angle(double value) {
667 
668  cutoff_angle_ = value;
669 }
670 inline void CameraLens::set_cutoff_angle(double value) {
671  _internal_set_cutoff_angle(value);
672  // @@protoc_insertion_point(field_set:ignition.msgs.CameraLens.cutoff_angle)
673 }
674 
675 // double hfov = 10;
676 inline void CameraLens::clear_hfov() {
677  hfov_ = 0;
678 }
679 inline double CameraLens::_internal_hfov() const {
680  return hfov_;
681 }
682 inline double CameraLens::hfov() const {
683  // @@protoc_insertion_point(field_get:ignition.msgs.CameraLens.hfov)
684  return _internal_hfov();
685 }
686 inline void CameraLens::_internal_set_hfov(double value) {
687 
688  hfov_ = value;
689 }
690 inline void CameraLens::set_hfov(double value) {
691  _internal_set_hfov(value);
692  // @@protoc_insertion_point(field_set:ignition.msgs.CameraLens.hfov)
693 }
694 
695 // int32 env_texture_size = 11;
697  env_texture_size_ = 0;
698 }
699 inline int32_t CameraLens::_internal_env_texture_size() const {
700  return env_texture_size_;
701 }
702 inline int32_t CameraLens::env_texture_size() const {
703  // @@protoc_insertion_point(field_get:ignition.msgs.CameraLens.env_texture_size)
704  return _internal_env_texture_size();
705 }
706 inline void CameraLens::_internal_set_env_texture_size(int32_t value) {
707 
708  env_texture_size_ = value;
709 }
710 inline void CameraLens::set_env_texture_size(int32_t value) {
711  _internal_set_env_texture_size(value);
712  // @@protoc_insertion_point(field_set:ignition.msgs.CameraLens.env_texture_size)
713 }
714 
715 #ifdef __GNUC__
716  #pragma GCC diagnostic pop
717 #endif // __GNUC__
718 
723 // @@protoc_insertion_point(namespace_scope)
724 
725 } // namespace msgs
726 } // namespace ignition
727 
728 #ifdef _MSC_VER
729 #pragma warning(pop)
730 #endif
731 // @@protoc_insertion_point(global_scope)
732 
733 #include <google/protobuf/port_undef.inc>
734 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fcamera_5flens_2eproto
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fcamera_5flens_2eproto
Definition: camera_lens.pb.h:84
void set_f(double value)
Definition: camera_lens.pb.h:579
void MergeFrom(const CameraLens &from)
bool scale_to_hfov() const
Definition: camera_lens.pb.h:642
void set_scale_to_hfov(bool value)
Definition: camera_lens.pb.h:650
void set_type(ArgT0 &&arg0, ArgT... args)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: camera_lens.pb.h:120
CameraLens(const CameraLens &from)
bool has_header() const
Definition: camera_lens.pb.h:371
std::string * mutable_type()
Definition: camera_lens.pb.h:468
void Swap(CameraLens *other)
Definition: camera_lens.pb.h:136
::ignition::msgs::Header * mutable_header()
Definition: camera_lens.pb.h:426
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: camera_lens.pb.h:114
void set_env_texture_size(int32_t value)
Definition: camera_lens.pb.h:710
std::string * mutable_fun()
Definition: camera_lens.pb.h:599
double c2() const
Definition: camera_lens.pb.h:531
void set_c2(double value)
Definition: camera_lens.pb.h:539
double cutoff_angle() const
Definition: camera_lens.pb.h:662
double c3() const
Definition: camera_lens.pb.h:551
const std::string & type() const
Definition: camera_lens.pb.h:457
CameraLens()
Definition: camera_lens.pb.h:86
constexpr CameraLens(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
PROTOBUF_NODISCARD std::string * release_type()
Definition: camera_lens.pb.h:484
CameraLens(CameraLens &&from) noexcept
Definition: camera_lens.pb.h:91
void clear_c2()
Definition: camera_lens.pb.h:525
const std::string & fun() const
Definition: camera_lens.pb.h:588
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Definition: camera_lens.pb.h:383
CameraLens & operator=(CameraLens &&from) noexcept
Definition: camera_lens.pb.h:100
void CopyFrom(const CameraLens &from)
void set_allocated_fun(std::string *fun)
Definition: camera_lens.pb.h:619
int32_t env_texture_size() const
Definition: camera_lens.pb.h:702
void set_hfov(double value)
Definition: camera_lens.pb.h:690
void clear_env_texture_size()
Definition: camera_lens.pb.h:696
void clear_c1()
Definition: camera_lens.pb.h:505
void clear_hfov()
Definition: camera_lens.pb.h:676
void set_c1(double value)
Definition: camera_lens.pb.h:519
CameraLens * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: camera_lens.pb.h:157
static const CameraLens * internal_default_instance()
Definition: camera_lens.pb.h:126
void clear_f()
Definition: camera_lens.pb.h:565
double c1() const
Definition: camera_lens.pb.h:511
void clear_type()
Definition: camera_lens.pb.h:454
void set_allocated_header(::ignition::msgs::Header *header)
Definition: camera_lens.pb.h:431
PROTOBUF_NODISCARD ::ignition::msgs::Header * release_header()
Definition: camera_lens.pb.h:396
void clear_c3()
Definition: camera_lens.pb.h:545
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void clear_cutoff_angle()
Definition: camera_lens.pb.h:656
void set_c3(double value)
Definition: camera_lens.pb.h:559
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: camera_lens.pb.h:117
void set_allocated_type(std::string *type)
Definition: camera_lens.pb.h:488
void UnsafeArenaSwap(CameraLens *other)
Definition: camera_lens.pb.h:149
const ::ignition::msgs::Header & header() const
Definition: camera_lens.pb.h:379
void clear_scale_to_hfov()
Definition: camera_lens.pb.h:636
friend void swap(CameraLens &a, CameraLens &b)
Definition: camera_lens.pb.h:133
static const ClassData _class_data_
Definition: camera_lens.pb.h:195
void clear_fun()
Definition: camera_lens.pb.h:585
::ignition::msgs::Header * unsafe_arena_release_header()
Definition: camera_lens.pb.h:411
void set_fun(ArgT0 &&arg0, ArgT... args)
double f() const
Definition: camera_lens.pb.h:571
void set_cutoff_angle(double value)
Definition: camera_lens.pb.h:670
CameraLens(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
double hfov() const
Definition: camera_lens.pb.h:682
CameraLens & operator=(const CameraLens &from)
Definition: camera_lens.pb.h:96
static const CameraLens & default_instance()
Definition: camera_lens.pb.h:123
PROTOBUF_NODISCARD std::string * release_fun()
Definition: camera_lens.pb.h:615
Definition: header.pb.h:265
IGNITION_MSGS_VISIBLE CameraLensDefaultTypeInternal _CameraLens_default_instance_
std::shared_ptr< CameraLens > CameraLensSharedPtr
Definition: camera_lens.pb.h:721
std::unique_ptr< CameraLens > CameraLensUniquePtr
Definition: camera_lens.pb.h:719
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::shared_ptr< const CameraLens > ConstCameraLensSharedPtr
Definition: camera_lens.pb.h:722
std::unique_ptr< const CameraLens > ConstCameraLensUniquePtr
Definition: camera_lens.pb.h:720
Definition: actor.pb.h:52
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
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)