Gazebo Msgs

API Reference

8.7.1
build/ignition-msgs8/include/ignition/msgs/uint32.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/uint32.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fuint32_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fuint32_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3012000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3012004 < PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
22 #include <google/protobuf/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
31 #include <google/protobuf/message.h>
32 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
33 #include <google/protobuf/extension_set.h> // IWYU pragma: export
34 #include <google/protobuf/unknown_field_set.h>
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_2fuint32_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_2fuint32_2eproto {
58  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
59  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
60  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField 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 ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
67 };
68 extern IGNITION_MSGS_VISIBLE const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fuint32_2eproto;
69 namespace ignition {
70 namespace msgs {
71 class UInt32;
72 class UInt32DefaultTypeInternal;
73 IGNITION_MSGS_VISIBLE extern UInt32DefaultTypeInternal _UInt32_default_instance_;
74 } // namespace msgs
75 } // namespace ignition
76 PROTOBUF_NAMESPACE_OPEN
77 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::UInt32* Arena::CreateMaybeMessage<::ignition::msgs::UInt32>(Arena*);
78 PROTOBUF_NAMESPACE_CLOSE
79 namespace ignition {
80 namespace msgs {
81 
82 // ===================================================================
83 
84 class IGNITION_MSGS_VISIBLE UInt32 PROTOBUF_FINAL :
85  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.UInt32) */ {
86  public:
87  inline UInt32() : UInt32(nullptr) {};
88  virtual ~UInt32();
89 
90  UInt32(const UInt32& from);
91  UInt32(UInt32&& from) noexcept
92  : UInt32() {
93  *this = ::std::move(from);
94  }
95 
96  inline UInt32& operator=(const UInt32& from) {
97  CopyFrom(from);
98  return *this;
99  }
100  inline UInt32& operator=(UInt32&& from) noexcept {
101  if (GetArena() == from.GetArena()) {
102  if (this != &from) InternalSwap(&from);
103  } else {
104  CopyFrom(from);
105  }
106  return *this;
107  }
108 
109  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
110  return GetDescriptor();
111  }
112  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
113  return GetMetadataStatic().descriptor;
114  }
115  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
116  return GetMetadataStatic().reflection;
117  }
118  static const UInt32& default_instance();
119 
120  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
121  static inline const UInt32* internal_default_instance() {
122  return reinterpret_cast<const UInt32*>(
124  }
125  static constexpr int kIndexInFileMessages =
126  0;
127 
128  friend void swap(UInt32& a, UInt32& b) {
129  a.Swap(&b);
130  }
131  inline void Swap(UInt32* other) {
132  if (other == this) return;
133  if (GetArena() == other->GetArena()) {
134  InternalSwap(other);
135  } else {
136  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
137  }
138  }
139  void UnsafeArenaSwap(UInt32* other) {
140  if (other == this) return;
141  GOOGLE_DCHECK(GetArena() == other->GetArena());
142  InternalSwap(other);
143  }
144 
145  // implements Message ----------------------------------------------
146 
147  inline UInt32* New() const final {
148  return CreateMaybeMessage<UInt32>(nullptr);
149  }
150 
151  UInt32* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
152  return CreateMaybeMessage<UInt32>(arena);
153  }
154  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
155  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
156  void CopyFrom(const UInt32& from);
157  void MergeFrom(const UInt32& from);
158  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
159  bool IsInitialized() const final;
160 
161  size_t ByteSizeLong() const final;
162  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
163  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
164  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
165  int GetCachedSize() const final { return _cached_size_.Get(); }
166 
167  private:
168  inline void SharedCtor();
169  inline void SharedDtor();
170  void SetCachedSize(int size) const final;
171  void InternalSwap(UInt32* other);
172  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
173  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
174  return "ignition.msgs.UInt32";
175  }
176  protected:
177  explicit UInt32(::PROTOBUF_NAMESPACE_ID::Arena* arena);
178  private:
179  static void ArenaDtor(void* object);
180  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
181  public:
182 
183  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
184  private:
185  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
186  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ignition_2fmsgs_2fuint32_2eproto);
187  return ::descriptor_table_ignition_2fmsgs_2fuint32_2eproto.file_level_metadata[kIndexInFileMessages];
188  }
189 
190  public:
191 
192  // nested types ----------------------------------------------------
193 
194  // accessors -------------------------------------------------------
195 
196  enum : int {
197  kHeaderFieldNumber = 1,
198  kDataFieldNumber = 2,
199  };
200  // .ignition.msgs.Header header = 1;
201  bool has_header() const;
202  private:
203  bool _internal_has_header() const;
204  public:
205  void clear_header();
206  const ::ignition::msgs::Header& header() const;
207  ::ignition::msgs::Header* release_header();
208  ::ignition::msgs::Header* mutable_header();
209  void set_allocated_header(::ignition::msgs::Header* header);
210  private:
211  const ::ignition::msgs::Header& _internal_header() const;
212  ::ignition::msgs::Header* _internal_mutable_header();
213  public:
215  ::ignition::msgs::Header* header);
216  ::ignition::msgs::Header* unsafe_arena_release_header();
217 
218  // uint32 data = 2;
219  void clear_data();
220  ::PROTOBUF_NAMESPACE_ID::uint32 data() const;
221  void set_data(::PROTOBUF_NAMESPACE_ID::uint32 value);
222  private:
223  ::PROTOBUF_NAMESPACE_ID::uint32 _internal_data() const;
224  void _internal_set_data(::PROTOBUF_NAMESPACE_ID::uint32 value);
225  public:
226 
227  // @@protoc_insertion_point(class_scope:ignition.msgs.UInt32)
228  private:
229  class _Internal;
230 
231  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
232  typedef void InternalArenaConstructable_;
233  typedef void DestructorSkippable_;
234  ::ignition::msgs::Header* header_;
235  ::PROTOBUF_NAMESPACE_ID::uint32 data_;
236  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
237  friend struct ::TableStruct_ignition_2fmsgs_2fuint32_2eproto;
238 };
239 // ===================================================================
240 
241 
242 // ===================================================================
243 
244 #ifdef __GNUC__
245  #pragma GCC diagnostic push
246  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
247 #endif // __GNUC__
248 // UInt32
249 
250 // .ignition.msgs.Header header = 1;
251 inline bool UInt32::_internal_has_header() const {
252  return this != internal_default_instance() && header_ != nullptr;
253 }
254 inline bool UInt32::has_header() const {
255  return _internal_has_header();
256 }
257 inline const ::ignition::msgs::Header& UInt32::_internal_header() const {
258  const ::ignition::msgs::Header* p = header_;
259  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
261 }
262 inline const ::ignition::msgs::Header& UInt32::header() const {
263  // @@protoc_insertion_point(field_get:ignition.msgs.UInt32.header)
264  return _internal_header();
265 }
266 inline void UInt32::unsafe_arena_set_allocated_header(
267  ::ignition::msgs::Header* header) {
268  if (GetArena() == nullptr) {
269  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
270  }
271  header_ = header;
272  if (header) {
273 
274  } else {
275 
276  }
277  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.UInt32.header)
278 }
279 inline ::ignition::msgs::Header* UInt32::release_header() {
280  auto temp = unsafe_arena_release_header();
281  if (GetArena() != nullptr) {
282  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
283  }
284  return temp;
285 }
286 inline ::ignition::msgs::Header* UInt32::unsafe_arena_release_header() {
287  // @@protoc_insertion_point(field_release:ignition.msgs.UInt32.header)
288 
289  ::ignition::msgs::Header* temp = header_;
290  header_ = nullptr;
291  return temp;
292 }
293 inline ::ignition::msgs::Header* UInt32::_internal_mutable_header() {
294 
295  if (header_ == nullptr) {
296  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
297  header_ = p;
298  }
299  return header_;
300 }
301 inline ::ignition::msgs::Header* UInt32::mutable_header() {
302  // @@protoc_insertion_point(field_mutable:ignition.msgs.UInt32.header)
303  return _internal_mutable_header();
304 }
305 inline void UInt32::set_allocated_header(::ignition::msgs::Header* header) {
306  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
307  if (message_arena == nullptr) {
308  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
309  }
310  if (header) {
311  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
312  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header)->GetArena();
313  if (message_arena != submessage_arena) {
314  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
315  message_arena, header, submessage_arena);
316  }
317 
318  } else {
319 
320  }
321  header_ = header;
322  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.UInt32.header)
323 }
324 
325 // uint32 data = 2;
326 inline void UInt32::clear_data() {
327  data_ = 0u;
328 }
329 inline ::PROTOBUF_NAMESPACE_ID::uint32 UInt32::_internal_data() const {
330  return data_;
331 }
332 inline ::PROTOBUF_NAMESPACE_ID::uint32 UInt32::data() const {
333  // @@protoc_insertion_point(field_get:ignition.msgs.UInt32.data)
334  return _internal_data();
335 }
336 inline void UInt32::_internal_set_data(::PROTOBUF_NAMESPACE_ID::uint32 value) {
337 
338  data_ = value;
339 }
340 inline void UInt32::set_data(::PROTOBUF_NAMESPACE_ID::uint32 value) {
341  _internal_set_data(value);
342  // @@protoc_insertion_point(field_set:ignition.msgs.UInt32.data)
343 }
344 
345 #ifdef __GNUC__
346  #pragma GCC diagnostic pop
347 #endif // __GNUC__
348 
353 // @@protoc_insertion_point(namespace_scope)
354 
355 } // namespace msgs
356 } // namespace ignition
357 
358 #ifdef _MSC_VER
359 #pragma warning(pop)
360 #endif
361 // @@protoc_insertion_point(global_scope)
362 
363 #include <google/protobuf/port_undef.inc>
364 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fuint32_2eproto
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fuint32_2eproto
UInt32(UInt32 &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/uint32.pb.h:91
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: build/ignition-msgs8/include/ignition/msgs/uint32.pb.h:115
UInt32 & operator=(const UInt32 &from)
Definition: build/ignition-msgs8/include/ignition/msgs/uint32.pb.h:96
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::ignition::msgs::Header * release_header()
void CopyFrom(const UInt32 &from)
UInt32(const UInt32 &from)
::ignition::msgs::Header * mutable_header()
UInt32 * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/uint32.pb.h:147
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/uint32.pb.h:109
UInt32(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void UnsafeArenaSwap(UInt32 *other)
Definition: build/ignition-msgs8/include/ignition/msgs/uint32.pb.h:139
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
void Swap(UInt32 *other)
Definition: build/ignition-msgs8/include/ignition/msgs/uint32.pb.h:131
::ignition::msgs::Header * unsafe_arena_release_header()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void MergeFrom(const UInt32 &from)
UInt32 * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/uint32.pb.h:151
static const UInt32 & default_instance()
friend void swap(UInt32 &a, UInt32 &b)
Definition: build/ignition-msgs8/include/ignition/msgs/uint32.pb.h:128
void set_allocated_header(::ignition::msgs::Header *header)
void set_data(::PROTOBUF_NAMESPACE_ID::uint32 value)
::PROTOBUF_NAMESPACE_ID::uint32 data() const
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/uint32.pb.h:112
UInt32()
Definition: build/ignition-msgs8/include/ignition/msgs/uint32.pb.h:87
UInt32 & operator=(UInt32 &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/uint32.pb.h:100
static const UInt32 * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/uint32.pb.h:121
const ::ignition::msgs::Header & header() const
std::unique_ptr< const UInt32 > ConstUInt32UniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/uint32.pb.h:350
std::unique_ptr< UInt32 > UInt32UniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/uint32.pb.h:349
std::shared_ptr< const UInt32 > ConstUInt32SharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/uint32.pb.h:352
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
IGNITION_MSGS_VISIBLE UInt32DefaultTypeInternal _UInt32_default_instance_
std::shared_ptr< UInt32 > UInt32SharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/uint32.pb.h:351
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:53
Definition: build/ignition-msgs8/include/ignition/msgs/uint32.pb.h:57
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)