Ignition Msgs

API Reference

5.8.1
image.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/image.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fimage_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fimage_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/generated_enum_reflection.h>
34 #include <google/protobuf/unknown_field_set.h>
36 #ifndef _MSC_VER
37 #pragma GCC system_header
38 #else
39 #pragma warning(push)
40 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
41 #endif
42 #ifdef __linux__
43 #include <sys/sysmacros.h>
44 #endif
45 #include <memory>
46 #include <ignition/msgs/Export.hh>
47 // @@protoc_insertion_point(includes)
48 #include <google/protobuf/port_def.inc>
49 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fimage_2eproto IGNITION_MSGS_VISIBLE
50 PROTOBUF_NAMESPACE_OPEN
51 namespace internal {
52 class AnyMetadata;
53 } // namespace internal
54 PROTOBUF_NAMESPACE_CLOSE
55 
56 // Internal implementation detail -- do not use these members.
57 struct IGNITION_MSGS_VISIBLE TableStruct_ignition_2fmsgs_2fimage_2eproto {
58  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
59  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
60  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
61  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
62  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
63  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
64  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
65  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
66  static const uint32_t offsets[];
67 };
68 IGNITION_MSGS_VISIBLE extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fimage_2eproto;
69 namespace ignition {
70 namespace msgs {
71 class Image;
72 struct ImageDefaultTypeInternal;
73 IGNITION_MSGS_VISIBLE extern ImageDefaultTypeInternal _Image_default_instance_;
74 } // namespace msgs
75 } // namespace ignition
76 PROTOBUF_NAMESPACE_OPEN
77 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Image* Arena::CreateMaybeMessage<::ignition::msgs::Image>(Arena*);
78 PROTOBUF_NAMESPACE_CLOSE
79 namespace ignition {
80 namespace msgs {
81 
82 enum PixelFormatType : int {
84  L_INT8 = 1,
85  L_INT16 = 2,
86  RGB_INT8 = 3,
87  RGBA_INT8 = 4,
88  BGRA_INT8 = 5,
89  RGB_INT16 = 6,
90  RGB_INT32 = 7,
91  BGR_INT8 = 8,
92  BGR_INT16 = 9,
93  BGR_INT32 = 10,
94  R_FLOAT16 = 11,
96  R_FLOAT32 = 13,
104 };
105 IGNITION_MSGS_VISIBLE bool PixelFormatType_IsValid(int value);
109 
110 IGNITION_MSGS_VISIBLE const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* PixelFormatType_descriptor();
111 template<typename T>
112 inline const std::string& PixelFormatType_Name(T enum_t_value) {
113  static_assert(::std::is_same<T, PixelFormatType>::value ||
115  "Incorrect type passed to function PixelFormatType_Name.");
116  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
117  PixelFormatType_descriptor(), enum_t_value);
118 }
120  ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PixelFormatType* value) {
121  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<PixelFormatType>(
122  PixelFormatType_descriptor(), name, value);
123 }
124 // ===================================================================
125 
126 class IGNITION_MSGS_VISIBLE Image final :
127  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Image) */ {
128  public:
129  inline Image() : Image(nullptr) {}
130  ~Image() override;
131  explicit constexpr Image(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
132 
133  Image(const Image& from);
134  Image(Image&& from) noexcept
135  : Image() {
136  *this = ::std::move(from);
137  }
138 
139  inline Image& operator=(const Image& from) {
140  CopyFrom(from);
141  return *this;
142  }
143  inline Image& operator=(Image&& from) noexcept {
144  if (this == &from) return *this;
145  if (GetOwningArena() == from.GetOwningArena()
146  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
147  && GetOwningArena() != nullptr
148  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
149  ) {
150  InternalSwap(&from);
151  } else {
152  CopyFrom(from);
153  }
154  return *this;
155  }
156 
157  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
158  return GetDescriptor();
159  }
160  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
161  return default_instance().GetMetadata().descriptor;
162  }
163  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
164  return default_instance().GetMetadata().reflection;
165  }
166  static const Image& default_instance() {
167  return *internal_default_instance();
168  }
169  static inline const Image* internal_default_instance() {
170  return reinterpret_cast<const Image*>(
172  }
173  static constexpr int kIndexInFileMessages =
174  0;
175 
176  friend void swap(Image& a, Image& b) {
177  a.Swap(&b);
178  }
179  inline void Swap(Image* other) {
180  if (other == this) return;
181  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
182  if (GetOwningArena() != nullptr &&
183  GetOwningArena() == other->GetOwningArena()) {
184  #else // PROTOBUF_FORCE_COPY_IN_SWAP
185  if (GetOwningArena() == other->GetOwningArena()) {
186  #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
187  InternalSwap(other);
188  } else {
189  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
190  }
191  }
192  void UnsafeArenaSwap(Image* other) {
193  if (other == this) return;
194  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
195  InternalSwap(other);
196  }
197 
198  // implements Message ----------------------------------------------
199 
200  Image* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
201  return CreateMaybeMessage<Image>(arena);
202  }
203  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
204  void CopyFrom(const Image& from);
205  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
206  void MergeFrom(const Image& from);
207  private:
208  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
209  public:
210  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
211  bool IsInitialized() const final;
212 
213  size_t ByteSizeLong() const final;
214  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
215  uint8_t* _InternalSerialize(
216  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
217  int GetCachedSize() const final { return _cached_size_.Get(); }
218 
219  private:
220  void SharedCtor();
221  void SharedDtor();
222  void SetCachedSize(int size) const final;
223  void InternalSwap(Image* other);
224 
225  private:
226  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
227  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
228  return "ignition.msgs.Image";
229  }
230  protected:
231  explicit Image(::PROTOBUF_NAMESPACE_ID::Arena* arena,
232  bool is_message_owned = false);
233  private:
234  static void ArenaDtor(void* object);
235  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
236  public:
237 
238  static const ClassData _class_data_;
239  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
240 
241  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
242 
243  // nested types ----------------------------------------------------
244 
245  // accessors -------------------------------------------------------
246 
247  enum : int {
248  kDataFieldNumber = 5,
249  kHeaderFieldNumber = 1,
250  kWidthFieldNumber = 2,
251  kHeightFieldNumber = 3,
252  kStepFieldNumber = 4,
253  kPixelFormatTypeFieldNumber = 6,
254  };
255  // bytes data = 5;
256  void clear_data();
257  const std::string& data() const;
258  template <typename ArgT0 = const std::string&, typename... ArgT>
259  void set_data(ArgT0&& arg0, ArgT... args);
260  std::string* mutable_data();
261  PROTOBUF_NODISCARD std::string* release_data();
262  void set_allocated_data(std::string* data);
263  private:
264  const std::string& _internal_data() const;
265  inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value);
266  std::string* _internal_mutable_data();
267  public:
268 
269  // .ignition.msgs.Header header = 1;
270  bool has_header() const;
271  private:
272  bool _internal_has_header() const;
273  public:
274  void clear_header();
275  const ::ignition::msgs::Header& header() const;
276  PROTOBUF_NODISCARD ::ignition::msgs::Header* release_header();
277  ::ignition::msgs::Header* mutable_header();
278  void set_allocated_header(::ignition::msgs::Header* header);
279  private:
280  const ::ignition::msgs::Header& _internal_header() const;
281  ::ignition::msgs::Header* _internal_mutable_header();
282  public:
283  void unsafe_arena_set_allocated_header(
284  ::ignition::msgs::Header* header);
285  ::ignition::msgs::Header* unsafe_arena_release_header();
286 
287  // uint32 width = 2;
288  void clear_width();
289  uint32_t width() const;
290  void set_width(uint32_t value);
291  private:
292  uint32_t _internal_width() const;
293  void _internal_set_width(uint32_t value);
294  public:
295 
296  // uint32 height = 3;
297  void clear_height();
298  uint32_t height() const;
299  void set_height(uint32_t value);
300  private:
301  uint32_t _internal_height() const;
302  void _internal_set_height(uint32_t value);
303  public:
304 
305  // uint32 step = 4;
306  void clear_step();
307  uint32_t step() const;
308  void set_step(uint32_t value);
309  private:
310  uint32_t _internal_step() const;
311  void _internal_set_step(uint32_t value);
312  public:
313 
314  // .ignition.msgs.PixelFormatType pixel_format_type = 6;
315  void clear_pixel_format_type();
316  ::ignition::msgs::PixelFormatType pixel_format_type() const;
317  void set_pixel_format_type(::ignition::msgs::PixelFormatType value);
318  private:
319  ::ignition::msgs::PixelFormatType _internal_pixel_format_type() const;
320  void _internal_set_pixel_format_type(::ignition::msgs::PixelFormatType value);
321  public:
322 
323  // @@protoc_insertion_point(class_scope:ignition.msgs.Image)
324  private:
325  class _Internal;
326 
327  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
328  typedef void InternalArenaConstructable_;
329  typedef void DestructorSkippable_;
330  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_;
331  ::ignition::msgs::Header* header_;
332  uint32_t width_;
333  uint32_t height_;
334  uint32_t step_;
335  int pixel_format_type_;
336  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
337  friend struct ::TableStruct_ignition_2fmsgs_2fimage_2eproto;
338 };
339 // ===================================================================
340 
341 
342 // ===================================================================
343 
344 #ifdef __GNUC__
345  #pragma GCC diagnostic push
346  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
347 #endif // __GNUC__
348 // Image
349 
350 // .ignition.msgs.Header header = 1;
351 inline bool Image::_internal_has_header() const {
352  return this != internal_default_instance() && header_ != nullptr;
353 }
354 inline bool Image::has_header() const {
355  return _internal_has_header();
356 }
357 inline const ::ignition::msgs::Header& Image::_internal_header() const {
358  const ::ignition::msgs::Header* p = header_;
359  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Header&>(
361 }
362 inline const ::ignition::msgs::Header& Image::header() const {
363  // @@protoc_insertion_point(field_get:ignition.msgs.Image.header)
364  return _internal_header();
365 }
367  ::ignition::msgs::Header* header) {
368  if (GetArenaForAllocation() == nullptr) {
369  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
370  }
371  header_ = header;
372  if (header) {
373 
374  } else {
375 
376  }
377  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Image.header)
378 }
379 inline ::ignition::msgs::Header* Image::release_header() {
380 
381  ::ignition::msgs::Header* temp = header_;
382  header_ = nullptr;
383 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
384  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
385  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
386  if (GetArenaForAllocation() == nullptr) { delete old; }
387 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
388  if (GetArenaForAllocation() != nullptr) {
389  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
390  }
391 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
392  return temp;
393 }
394 inline ::ignition::msgs::Header* Image::unsafe_arena_release_header() {
395  // @@protoc_insertion_point(field_release:ignition.msgs.Image.header)
396 
397  ::ignition::msgs::Header* temp = header_;
398  header_ = nullptr;
399  return temp;
400 }
401 inline ::ignition::msgs::Header* Image::_internal_mutable_header() {
402 
403  if (header_ == nullptr) {
404  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaForAllocation());
405  header_ = p;
406  }
407  return header_;
408 }
409 inline ::ignition::msgs::Header* Image::mutable_header() {
410  ::ignition::msgs::Header* _msg = _internal_mutable_header();
411  // @@protoc_insertion_point(field_mutable:ignition.msgs.Image.header)
412  return _msg;
413 }
415  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
416  if (message_arena == nullptr) {
417  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
418  }
419  if (header) {
420  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
421  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
422  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
423  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header));
424  if (message_arena != submessage_arena) {
425  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
426  message_arena, header, submessage_arena);
427  }
428 
429  } else {
430 
431  }
432  header_ = header;
433  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Image.header)
434 }
435 
436 // uint32 width = 2;
437 inline void Image::clear_width() {
438  width_ = 0u;
439 }
440 inline uint32_t Image::_internal_width() const {
441  return width_;
442 }
443 inline uint32_t Image::width() const {
444  // @@protoc_insertion_point(field_get:ignition.msgs.Image.width)
445  return _internal_width();
446 }
447 inline void Image::_internal_set_width(uint32_t value) {
448 
449  width_ = value;
450 }
451 inline void Image::set_width(uint32_t value) {
452  _internal_set_width(value);
453  // @@protoc_insertion_point(field_set:ignition.msgs.Image.width)
454 }
455 
456 // uint32 height = 3;
457 inline void Image::clear_height() {
458  height_ = 0u;
459 }
460 inline uint32_t Image::_internal_height() const {
461  return height_;
462 }
463 inline uint32_t Image::height() const {
464  // @@protoc_insertion_point(field_get:ignition.msgs.Image.height)
465  return _internal_height();
466 }
467 inline void Image::_internal_set_height(uint32_t value) {
468 
469  height_ = value;
470 }
471 inline void Image::set_height(uint32_t value) {
472  _internal_set_height(value);
473  // @@protoc_insertion_point(field_set:ignition.msgs.Image.height)
474 }
475 
476 // uint32 step = 4;
477 inline void Image::clear_step() {
478  step_ = 0u;
479 }
480 inline uint32_t Image::_internal_step() const {
481  return step_;
482 }
483 inline uint32_t Image::step() const {
484  // @@protoc_insertion_point(field_get:ignition.msgs.Image.step)
485  return _internal_step();
486 }
487 inline void Image::_internal_set_step(uint32_t value) {
488 
489  step_ = value;
490 }
491 inline void Image::set_step(uint32_t value) {
492  _internal_set_step(value);
493  // @@protoc_insertion_point(field_set:ignition.msgs.Image.step)
494 }
495 
496 // bytes data = 5;
497 inline void Image::clear_data() {
498  data_.ClearToEmpty();
499 }
500 inline const std::string& Image::data() const {
501  // @@protoc_insertion_point(field_get:ignition.msgs.Image.data)
502  return _internal_data();
503 }
504 template <typename ArgT0, typename... ArgT>
505 inline PROTOBUF_ALWAYS_INLINE
506 void Image::set_data(ArgT0&& arg0, ArgT... args) {
507 
508  data_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
509  // @@protoc_insertion_point(field_set:ignition.msgs.Image.data)
510 }
512  std::string* _s = _internal_mutable_data();
513  // @@protoc_insertion_point(field_mutable:ignition.msgs.Image.data)
514  return _s;
515 }
516 inline const std::string& Image::_internal_data() const {
517  return data_.Get();
518 }
519 inline void Image::_internal_set_data(const std::string& value) {
520 
521  data_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
522 }
523 inline std::string* Image::_internal_mutable_data() {
524 
525  return data_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
526 }
528  // @@protoc_insertion_point(field_release:ignition.msgs.Image.data)
529  return data_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
530 }
532  if (data != nullptr) {
533 
534  } else {
535 
536  }
537  data_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), data,
538  GetArenaForAllocation());
539 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
540  if (data_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
541  data_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
542  }
543 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
544  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Image.data)
545 }
546 
547 // .ignition.msgs.PixelFormatType pixel_format_type = 6;
549  pixel_format_type_ = 0;
550 }
551 inline ::ignition::msgs::PixelFormatType Image::_internal_pixel_format_type() const {
552  return static_cast< ::ignition::msgs::PixelFormatType >(pixel_format_type_);
553 }
555  // @@protoc_insertion_point(field_get:ignition.msgs.Image.pixel_format_type)
556  return _internal_pixel_format_type();
557 }
558 inline void Image::_internal_set_pixel_format_type(::ignition::msgs::PixelFormatType value) {
559 
560  pixel_format_type_ = value;
561 }
563  _internal_set_pixel_format_type(value);
564  // @@protoc_insertion_point(field_set:ignition.msgs.Image.pixel_format_type)
565 }
566 
567 #ifdef __GNUC__
568  #pragma GCC diagnostic pop
569 #endif // __GNUC__
570 
575 // @@protoc_insertion_point(namespace_scope)
576 
577 } // namespace msgs
578 } // namespace ignition
579 
580 PROTOBUF_NAMESPACE_OPEN
581 
582 template <> struct is_proto_enum< ::ignition::msgs::PixelFormatType> : ::std::true_type {};
583 template <>
584 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::PixelFormatType>() {
586 }
587 
588 PROTOBUF_NAMESPACE_CLOSE
589 
590 #ifdef _MSC_VER
591 #pragma warning(pop)
592 #endif
593 // @@protoc_insertion_point(global_scope)
594 
595 #include <google/protobuf/port_undef.inc>
596 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fimage_2eproto
Definition: header.pb.h:265
Definition: image.pb.h:127
void clear_height()
Definition: image.pb.h:457
void clear_data()
Definition: image.pb.h:497
void set_allocated_data(std::string *data)
Definition: image.pb.h:531
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: image.pb.h:163
bool has_header() const
Definition: image.pb.h:354
::ignition::msgs::Header * mutable_header()
Definition: image.pb.h:409
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Image * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: image.pb.h:200
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: image.pb.h:157
void set_height(uint32_t value)
Definition: image.pb.h:471
uint32_t height() const
Definition: image.pb.h:463
void clear_width()
Definition: image.pb.h:437
Image(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
PROTOBUF_NODISCARD std::string * release_data()
Definition: image.pb.h:527
const std::string & data() const
Definition: image.pb.h:500
static const Image & default_instance()
Definition: image.pb.h:166
uint32_t width() const
Definition: image.pb.h:443
void UnsafeArenaSwap(Image *other)
Definition: image.pb.h:192
Image & operator=(const Image &from)
Definition: image.pb.h:139
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Definition: image.pb.h:366
Image()
Definition: image.pb.h:129
void clear_step()
Definition: image.pb.h:477
void clear_pixel_format_type()
Definition: image.pb.h:548
void Swap(Image *other)
Definition: image.pb.h:179
void set_step(uint32_t value)
Definition: image.pb.h:491
Image & operator=(Image &&from) noexcept
Definition: image.pb.h:143
void set_pixel_format_type(::ignition::msgs::PixelFormatType value)
Definition: image.pb.h:562
static const Image * internal_default_instance()
Definition: image.pb.h:169
Image(const Image &from)
void set_allocated_header(::ignition::msgs::Header *header)
Definition: image.pb.h:414
PROTOBUF_NODISCARD ::ignition::msgs::Header * release_header()
Definition: image.pb.h:379
std::string * mutable_data()
Definition: image.pb.h:511
Image(Image &&from) noexcept
Definition: image.pb.h:134
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
::ignition::msgs::PixelFormatType pixel_format_type() const
Definition: image.pb.h:554
void set_data(ArgT0 &&arg0, ArgT... args)
uint32_t step() const
Definition: image.pb.h:483
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: image.pb.h:160
void set_width(uint32_t value)
Definition: image.pb.h:451
const ::ignition::msgs::Header & header() const
Definition: image.pb.h:362
static const ClassData _class_data_
Definition: image.pb.h:238
::ignition::msgs::Header * unsafe_arena_release_header()
Definition: image.pb.h:394
friend void swap(Image &a, Image &b)
Definition: image.pb.h:176
constexpr Image(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void MergeFrom(const Image &from)
void CopyFrom(const Image &from)
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fimage_2eproto
T max(T... args)
T min(T... args)
constexpr int PixelFormatType_ARRAYSIZE
Definition: image.pb.h:108
IGNITION_MSGS_VISIBLE ImageDefaultTypeInternal _Image_default_instance_
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * PixelFormatType_descriptor()
const std::string & PixelFormatType_Name(T enum_t_value)
Definition: image.pb.h:112
std::shared_ptr< Image > ImageSharedPtr
Definition: image.pb.h:573
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
constexpr PixelFormatType PixelFormatType_MIN
Definition: image.pb.h:106
constexpr PixelFormatType PixelFormatType_MAX
Definition: image.pb.h:107
std::unique_ptr< Image > ImageUniquePtr
Definition: image.pb.h:571
IGNITION_MSGS_VISIBLE bool PixelFormatType_IsValid(int value)
std::unique_ptr< const Image > ConstImageUniquePtr
Definition: image.pb.h:572
bool PixelFormatType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PixelFormatType *value)
Definition: image.pb.h:119
std::shared_ptr< const Image > ConstImageSharedPtr
Definition: image.pb.h:574
PixelFormatType
Definition: image.pb.h:82
@ BAYER_GRBG8
Definition: image.pb.h:101
@ RGB_FLOAT16
Definition: image.pb.h:95
@ RGB_INT8
Definition: image.pb.h:86
@ RGB_FLOAT32
Definition: image.pb.h:97
@ BAYER_GBRG8
Definition: image.pb.h:100
@ L_INT16
Definition: image.pb.h:85
@ BGR_INT8
Definition: image.pb.h:91
@ PixelFormatType_INT_MAX_SENTINEL_DO_NOT_USE_
Definition: image.pb.h:103
@ R_FLOAT32
Definition: image.pb.h:96
@ BAYER_RGGB8
Definition: image.pb.h:98
@ L_INT8
Definition: image.pb.h:84
@ BAYER_BGGR8
Definition: image.pb.h:99
@ RGB_INT32
Definition: image.pb.h:90
@ RGBA_INT8
Definition: image.pb.h:87
@ BGR_INT32
Definition: image.pb.h:93
@ UNKNOWN_PIXEL_FORMAT
Definition: image.pb.h:83
@ BGRA_INT8
Definition: image.pb.h:88
@ RGB_INT16
Definition: image.pb.h:89
@ PixelFormatType_INT_MIN_SENTINEL_DO_NOT_USE_
Definition: image.pb.h:102
@ BGR_INT16
Definition: image.pb.h:92
@ R_FLOAT16
Definition: image.pb.h:94
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)