Gazebo Msgs

API Reference

9.5.1
logical_camera_image.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: gz/msgs/logical_camera_image.proto
3 
4 #ifndef PROTOBUF_INCLUDED_gz_2fmsgs_2flogical_5fcamera_5fimage_2eproto
5 #define PROTOBUF_INCLUDED_gz_2fmsgs_2flogical_5fcamera_5fimage_2eproto
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
22 #include <google/protobuf/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
29 #include <google/protobuf/message.h>
30 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
31 #include <google/protobuf/extension_set.h> // IWYU pragma: export
32 #include <google/protobuf/unknown_field_set.h>
33 #include "gz/msgs/pose.pb.h"
34 #include "gz/msgs/header.pb.h"
35 // @@protoc_insertion_point(includes)
36 #define PROTOBUF_INTERNAL_EXPORT_protobuf_gz_2fmsgs_2flogical_5fcamera_5fimage_2eproto GZ_MSGS_VISIBLE
37 
39 // Internal implementation detail -- do not use these members.
40 struct GZ_MSGS_VISIBLE TableStruct {
41  static const ::google::protobuf::internal::ParseTableField entries[];
42  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
43  static const ::google::protobuf::internal::ParseTable schema[2];
44  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
45  static const ::google::protobuf::internal::SerializationTable serialization_table[];
46  static const ::google::protobuf::uint32 offsets[];
47 };
48 void GZ_MSGS_VISIBLE AddDescriptors();
49 } // namespace protobuf_gz_2fmsgs_2flogical_5fcamera_5fimage_2eproto
50 namespace gz {
51 namespace msgs {
52 class LogicalCameraImage;
53 class LogicalCameraImageDefaultTypeInternal;
54 GZ_MSGS_VISIBLE extern LogicalCameraImageDefaultTypeInternal _LogicalCameraImage_default_instance_;
55 class LogicalCameraImage_Model;
56 class LogicalCameraImage_ModelDefaultTypeInternal;
57 GZ_MSGS_VISIBLE extern LogicalCameraImage_ModelDefaultTypeInternal _LogicalCameraImage_Model_default_instance_;
58 } // namespace msgs
59 } // namespace gz
60 namespace google {
61 namespace protobuf {
62 template<> GZ_MSGS_VISIBLE ::gz::msgs::LogicalCameraImage* Arena::CreateMaybeMessage<::gz::msgs::LogicalCameraImage>(Arena*);
63 template<> GZ_MSGS_VISIBLE ::gz::msgs::LogicalCameraImage_Model* Arena::CreateMaybeMessage<::gz::msgs::LogicalCameraImage_Model>(Arena*);
64 } // namespace protobuf
65 } // namespace google
66 namespace gz {
67 namespace msgs {
68 
69 // ===================================================================
70 
71 class GZ_MSGS_VISIBLE LogicalCameraImage_Model : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.LogicalCameraImage.Model) */ {
72  public:
74  virtual ~LogicalCameraImage_Model();
75 
77 
79  CopyFrom(from);
80  return *this;
81  }
82  #if LANG_CXX11
85  *this = ::std::move(from);
86  }
87 
88  inline LogicalCameraImage_Model& operator=(LogicalCameraImage_Model&& from) noexcept {
89  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
90  if (this != &from) InternalSwap(&from);
91  } else {
92  CopyFrom(from);
93  }
94  return *this;
95  }
96  #endif
97  static const ::google::protobuf::Descriptor* descriptor();
98  static const LogicalCameraImage_Model& default_instance();
99 
100  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
102  return reinterpret_cast<const LogicalCameraImage_Model*>(
104  }
105  static constexpr int kIndexInFileMessages =
106  0;
107 
108  void Swap(LogicalCameraImage_Model* other);
110  a.Swap(&b);
111  }
112 
113  // implements Message ----------------------------------------------
114 
115  inline LogicalCameraImage_Model* New() const final {
116  return CreateMaybeMessage<LogicalCameraImage_Model>(NULL);
117  }
118 
119  LogicalCameraImage_Model* New(::google::protobuf::Arena* arena) const final {
120  return CreateMaybeMessage<LogicalCameraImage_Model>(arena);
121  }
122  void CopyFrom(const ::google::protobuf::Message& from) final;
123  void MergeFrom(const ::google::protobuf::Message& from) final;
124  void CopyFrom(const LogicalCameraImage_Model& from);
125  void MergeFrom(const LogicalCameraImage_Model& from);
126  void Clear() final;
127  bool IsInitialized() const final;
128 
129  size_t ByteSizeLong() const final;
130  bool MergePartialFromCodedStream(
131  ::google::protobuf::io::CodedInputStream* input) final;
132  void SerializeWithCachedSizes(
133  ::google::protobuf::io::CodedOutputStream* output) const final;
134  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
135  bool deterministic, ::google::protobuf::uint8* target) const final;
136  int GetCachedSize() const final { return _cached_size_.Get(); }
137 
138  private:
139  void SharedCtor();
140  void SharedDtor();
141  void SetCachedSize(int size) const final;
142  void InternalSwap(LogicalCameraImage_Model* other);
143  private:
144  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
145  return NULL;
146  }
147  inline void* MaybeArenaPtr() const {
148  return NULL;
149  }
150  public:
151 
152  ::google::protobuf::Metadata GetMetadata() const final;
153 
154  // nested types ----------------------------------------------------
155 
156  // accessors -------------------------------------------------------
157 
158  // string name = 1;
159  void clear_name();
160  static const int kNameFieldNumber = 1;
161  const ::std::string& name() const;
162  void set_name(const ::std::string& value);
163  #if LANG_CXX11
164  void set_name(::std::string&& value);
165  #endif
166  void set_name(const char* value);
167  void set_name(const char* value, size_t size);
168  ::std::string* mutable_name();
169  ::std::string* release_name();
170  void set_allocated_name(::std::string* name);
171 
172  // .gz.msgs.Pose pose = 2;
173  bool has_pose() const;
174  void clear_pose();
175  static const int kPoseFieldNumber = 2;
176  private:
177  const ::gz::msgs::Pose& _internal_pose() const;
178  public:
179  const ::gz::msgs::Pose& pose() const;
180  ::gz::msgs::Pose* release_pose();
181  ::gz::msgs::Pose* mutable_pose();
182  void set_allocated_pose(::gz::msgs::Pose* pose);
183 
184  // @@protoc_insertion_point(class_scope:gz.msgs.LogicalCameraImage.Model)
185  private:
186 
187  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
188  ::google::protobuf::internal::ArenaStringPtr name_;
189  ::gz::msgs::Pose* pose_;
190  mutable ::google::protobuf::internal::CachedSize _cached_size_;
191  friend struct ::protobuf_gz_2fmsgs_2flogical_5fcamera_5fimage_2eproto::TableStruct;
192 };
193 // -------------------------------------------------------------------
194 
195 class GZ_MSGS_VISIBLE LogicalCameraImage : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.LogicalCameraImage) */ {
196  public:
198  virtual ~LogicalCameraImage();
199 
201 
203  CopyFrom(from);
204  return *this;
205  }
206  #if LANG_CXX11
207  LogicalCameraImage(LogicalCameraImage&& from) noexcept
208  : LogicalCameraImage() {
209  *this = ::std::move(from);
210  }
211 
212  inline LogicalCameraImage& operator=(LogicalCameraImage&& from) noexcept {
213  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
214  if (this != &from) InternalSwap(&from);
215  } else {
216  CopyFrom(from);
217  }
218  return *this;
219  }
220  #endif
221  static const ::google::protobuf::Descriptor* descriptor();
222  static const LogicalCameraImage& default_instance();
223 
224  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
226  return reinterpret_cast<const LogicalCameraImage*>(
228  }
229  static constexpr int kIndexInFileMessages =
230  1;
231 
232  void Swap(LogicalCameraImage* other);
234  a.Swap(&b);
235  }
236 
237  // implements Message ----------------------------------------------
238 
239  inline LogicalCameraImage* New() const final {
240  return CreateMaybeMessage<LogicalCameraImage>(NULL);
241  }
242 
243  LogicalCameraImage* New(::google::protobuf::Arena* arena) const final {
244  return CreateMaybeMessage<LogicalCameraImage>(arena);
245  }
246  void CopyFrom(const ::google::protobuf::Message& from) final;
247  void MergeFrom(const ::google::protobuf::Message& from) final;
248  void CopyFrom(const LogicalCameraImage& from);
249  void MergeFrom(const LogicalCameraImage& from);
250  void Clear() final;
251  bool IsInitialized() const final;
252 
253  size_t ByteSizeLong() const final;
254  bool MergePartialFromCodedStream(
255  ::google::protobuf::io::CodedInputStream* input) final;
256  void SerializeWithCachedSizes(
257  ::google::protobuf::io::CodedOutputStream* output) const final;
258  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
259  bool deterministic, ::google::protobuf::uint8* target) const final;
260  int GetCachedSize() const final { return _cached_size_.Get(); }
261 
262  private:
263  void SharedCtor();
264  void SharedDtor();
265  void SetCachedSize(int size) const final;
266  void InternalSwap(LogicalCameraImage* other);
267  private:
268  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
269  return NULL;
270  }
271  inline void* MaybeArenaPtr() const {
272  return NULL;
273  }
274  public:
275 
276  ::google::protobuf::Metadata GetMetadata() const final;
277 
278  // nested types ----------------------------------------------------
279 
281 
282  // accessors -------------------------------------------------------
283 
284  // repeated .gz.msgs.LogicalCameraImage.Model model = 3;
285  int model_size() const;
286  void clear_model();
287  static const int kModelFieldNumber = 3;
288  ::gz::msgs::LogicalCameraImage_Model* mutable_model(int index);
289  ::google::protobuf::RepeatedPtrField< ::gz::msgs::LogicalCameraImage_Model >*
290  mutable_model();
291  const ::gz::msgs::LogicalCameraImage_Model& model(int index) const;
292  ::gz::msgs::LogicalCameraImage_Model* add_model();
293  const ::google::protobuf::RepeatedPtrField< ::gz::msgs::LogicalCameraImage_Model >&
294  model() const;
295 
296  // .gz.msgs.Header header = 1;
297  bool has_header() const;
298  void clear_header();
299  static const int kHeaderFieldNumber = 1;
300  private:
301  const ::gz::msgs::Header& _internal_header() const;
302  public:
303  const ::gz::msgs::Header& header() const;
304  ::gz::msgs::Header* release_header();
305  ::gz::msgs::Header* mutable_header();
306  void set_allocated_header(::gz::msgs::Header* header);
307 
308  // .gz.msgs.Pose pose = 2;
309  bool has_pose() const;
310  void clear_pose();
311  static const int kPoseFieldNumber = 2;
312  private:
313  const ::gz::msgs::Pose& _internal_pose() const;
314  public:
315  const ::gz::msgs::Pose& pose() const;
316  ::gz::msgs::Pose* release_pose();
317  ::gz::msgs::Pose* mutable_pose();
318  void set_allocated_pose(::gz::msgs::Pose* pose);
319 
320  // @@protoc_insertion_point(class_scope:gz.msgs.LogicalCameraImage)
321  private:
322 
323  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
324  ::google::protobuf::RepeatedPtrField< ::gz::msgs::LogicalCameraImage_Model > model_;
325  ::gz::msgs::Header* header_;
326  ::gz::msgs::Pose* pose_;
327  mutable ::google::protobuf::internal::CachedSize _cached_size_;
329 };
330 // ===================================================================
331 
332 
333 // ===================================================================
334 
335 #ifdef __GNUC__
336  #pragma GCC diagnostic push
337  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
338 #endif // __GNUC__
339 // LogicalCameraImage_Model
340 
341 // string name = 1;
343  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
344 }
345 inline const ::std::string& LogicalCameraImage_Model::name() const {
346  // @@protoc_insertion_point(field_get:gz.msgs.LogicalCameraImage.Model.name)
347  return name_.GetNoArena();
348 }
349 inline void LogicalCameraImage_Model::set_name(const ::std::string& value) {
350 
351  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
352  // @@protoc_insertion_point(field_set:gz.msgs.LogicalCameraImage.Model.name)
353 }
354 #if LANG_CXX11
355 inline void LogicalCameraImage_Model::set_name(::std::string&& value) {
356 
357  name_.SetNoArena(
358  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
359  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.LogicalCameraImage.Model.name)
360 }
361 #endif
362 inline void LogicalCameraImage_Model::set_name(const char* value) {
363  GOOGLE_DCHECK(value != NULL);
364 
365  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
366  // @@protoc_insertion_point(field_set_char:gz.msgs.LogicalCameraImage.Model.name)
367 }
368 inline void LogicalCameraImage_Model::set_name(const char* value, size_t size) {
369 
370  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
371  ::std::string(reinterpret_cast<const char*>(value), size));
372  // @@protoc_insertion_point(field_set_pointer:gz.msgs.LogicalCameraImage.Model.name)
373 }
374 inline ::std::string* LogicalCameraImage_Model::mutable_name() {
375 
376  // @@protoc_insertion_point(field_mutable:gz.msgs.LogicalCameraImage.Model.name)
377  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
378 }
379 inline ::std::string* LogicalCameraImage_Model::release_name() {
380  // @@protoc_insertion_point(field_release:gz.msgs.LogicalCameraImage.Model.name)
381 
382  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
383 }
385  if (name != NULL) {
386 
387  } else {
388 
389  }
390  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
391  // @@protoc_insertion_point(field_set_allocated:gz.msgs.LogicalCameraImage.Model.name)
392 }
393 
394 // .gz.msgs.Pose pose = 2;
396  return this != internal_default_instance() && pose_ != NULL;
397 }
398 inline const ::gz::msgs::Pose& LogicalCameraImage_Model::_internal_pose() const {
399  return *pose_;
400 }
401 inline const ::gz::msgs::Pose& LogicalCameraImage_Model::pose() const {
402  const ::gz::msgs::Pose* p = pose_;
403  // @@protoc_insertion_point(field_get:gz.msgs.LogicalCameraImage.Model.pose)
404  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Pose*>(
406 }
407 inline ::gz::msgs::Pose* LogicalCameraImage_Model::release_pose() {
408  // @@protoc_insertion_point(field_release:gz.msgs.LogicalCameraImage.Model.pose)
409 
410  ::gz::msgs::Pose* temp = pose_;
411  pose_ = NULL;
412  return temp;
413 }
414 inline ::gz::msgs::Pose* LogicalCameraImage_Model::mutable_pose() {
415 
416  if (pose_ == NULL) {
417  auto* p = CreateMaybeMessage<::gz::msgs::Pose>(GetArenaNoVirtual());
418  pose_ = p;
419  }
420  // @@protoc_insertion_point(field_mutable:gz.msgs.LogicalCameraImage.Model.pose)
421  return pose_;
422 }
424  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
425  if (message_arena == NULL) {
426  delete reinterpret_cast< ::google::protobuf::MessageLite*>(pose_);
427  }
428  if (pose) {
429  ::google::protobuf::Arena* submessage_arena = NULL;
430  if (message_arena != submessage_arena) {
431  pose = ::google::protobuf::internal::GetOwnedMessage(
432  message_arena, pose, submessage_arena);
433  }
434 
435  } else {
436 
437  }
438  pose_ = pose;
439  // @@protoc_insertion_point(field_set_allocated:gz.msgs.LogicalCameraImage.Model.pose)
440 }
441 
442 // -------------------------------------------------------------------
443 
444 // LogicalCameraImage
445 
446 // .gz.msgs.Header header = 1;
447 inline bool LogicalCameraImage::has_header() const {
448  return this != internal_default_instance() && header_ != NULL;
449 }
450 inline const ::gz::msgs::Header& LogicalCameraImage::_internal_header() const {
451  return *header_;
452 }
453 inline const ::gz::msgs::Header& LogicalCameraImage::header() const {
454  const ::gz::msgs::Header* p = header_;
455  // @@protoc_insertion_point(field_get:gz.msgs.LogicalCameraImage.header)
456  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Header*>(
458 }
459 inline ::gz::msgs::Header* LogicalCameraImage::release_header() {
460  // @@protoc_insertion_point(field_release:gz.msgs.LogicalCameraImage.header)
461 
462  ::gz::msgs::Header* temp = header_;
463  header_ = NULL;
464  return temp;
465 }
466 inline ::gz::msgs::Header* LogicalCameraImage::mutable_header() {
467 
468  if (header_ == NULL) {
469  auto* p = CreateMaybeMessage<::gz::msgs::Header>(GetArenaNoVirtual());
470  header_ = p;
471  }
472  // @@protoc_insertion_point(field_mutable:gz.msgs.LogicalCameraImage.header)
473  return header_;
474 }
476  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
477  if (message_arena == NULL) {
478  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
479  }
480  if (header) {
481  ::google::protobuf::Arena* submessage_arena = NULL;
482  if (message_arena != submessage_arena) {
483  header = ::google::protobuf::internal::GetOwnedMessage(
484  message_arena, header, submessage_arena);
485  }
486 
487  } else {
488 
489  }
490  header_ = header;
491  // @@protoc_insertion_point(field_set_allocated:gz.msgs.LogicalCameraImage.header)
492 }
493 
494 // .gz.msgs.Pose pose = 2;
495 inline bool LogicalCameraImage::has_pose() const {
496  return this != internal_default_instance() && pose_ != NULL;
497 }
498 inline const ::gz::msgs::Pose& LogicalCameraImage::_internal_pose() const {
499  return *pose_;
500 }
501 inline const ::gz::msgs::Pose& LogicalCameraImage::pose() const {
502  const ::gz::msgs::Pose* p = pose_;
503  // @@protoc_insertion_point(field_get:gz.msgs.LogicalCameraImage.pose)
504  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Pose*>(
506 }
507 inline ::gz::msgs::Pose* LogicalCameraImage::release_pose() {
508  // @@protoc_insertion_point(field_release:gz.msgs.LogicalCameraImage.pose)
509 
510  ::gz::msgs::Pose* temp = pose_;
511  pose_ = NULL;
512  return temp;
513 }
514 inline ::gz::msgs::Pose* LogicalCameraImage::mutable_pose() {
515 
516  if (pose_ == NULL) {
517  auto* p = CreateMaybeMessage<::gz::msgs::Pose>(GetArenaNoVirtual());
518  pose_ = p;
519  }
520  // @@protoc_insertion_point(field_mutable:gz.msgs.LogicalCameraImage.pose)
521  return pose_;
522 }
524  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
525  if (message_arena == NULL) {
526  delete reinterpret_cast< ::google::protobuf::MessageLite*>(pose_);
527  }
528  if (pose) {
529  ::google::protobuf::Arena* submessage_arena = NULL;
530  if (message_arena != submessage_arena) {
531  pose = ::google::protobuf::internal::GetOwnedMessage(
532  message_arena, pose, submessage_arena);
533  }
534 
535  } else {
536 
537  }
538  pose_ = pose;
539  // @@protoc_insertion_point(field_set_allocated:gz.msgs.LogicalCameraImage.pose)
540 }
541 
542 // repeated .gz.msgs.LogicalCameraImage.Model model = 3;
543 inline int LogicalCameraImage::model_size() const {
544  return model_.size();
545 }
547  model_.Clear();
548 }
549 inline ::gz::msgs::LogicalCameraImage_Model* LogicalCameraImage::mutable_model(int index) {
550  // @@protoc_insertion_point(field_mutable:gz.msgs.LogicalCameraImage.model)
551  return model_.Mutable(index);
552 }
553 inline ::google::protobuf::RepeatedPtrField< ::gz::msgs::LogicalCameraImage_Model >*
555  // @@protoc_insertion_point(field_mutable_list:gz.msgs.LogicalCameraImage.model)
556  return &model_;
557 }
558 inline const ::gz::msgs::LogicalCameraImage_Model& LogicalCameraImage::model(int index) const {
559  // @@protoc_insertion_point(field_get:gz.msgs.LogicalCameraImage.model)
560  return model_.Get(index);
561 }
562 inline ::gz::msgs::LogicalCameraImage_Model* LogicalCameraImage::add_model() {
563  // @@protoc_insertion_point(field_add:gz.msgs.LogicalCameraImage.model)
564  return model_.Add();
565 }
566 inline const ::google::protobuf::RepeatedPtrField< ::gz::msgs::LogicalCameraImage_Model >&
568  // @@protoc_insertion_point(field_list:gz.msgs.LogicalCameraImage.model)
569  return model_;
570 }
571 
572 #ifdef __GNUC__
573  #pragma GCC diagnostic pop
574 #endif // __GNUC__
575 // -------------------------------------------------------------------
576 
577 
578 // @@protoc_insertion_point(namespace_scope)
579 
580 } // namespace msgs
581 } // namespace gz
582 
583 // @@protoc_insertion_point(global_scope)
584 
585 #endif // PROTOBUF_INCLUDED_gz_2fmsgs_2flogical_5fcamera_5fimage_2eproto