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