Gazebo Msgs

API Reference

8.7.1
build/ignition-msgs8/include/ignition/msgs/version_range.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/version_range.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fversion_5frange_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fversion_5frange_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_2fversion_5frange_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.
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_2fversion_5frange_2eproto;
69 namespace ignition {
70 namespace msgs {
71 class VersionRange;
72 class VersionRangeDefaultTypeInternal;
73 IGNITION_MSGS_VISIBLE extern VersionRangeDefaultTypeInternal _VersionRange_default_instance_;
74 } // namespace msgs
75 } // namespace ignition
76 PROTOBUF_NAMESPACE_OPEN
77 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::VersionRange* Arena::CreateMaybeMessage<::ignition::msgs::VersionRange>(Arena*);
78 PROTOBUF_NAMESPACE_CLOSE
79 namespace ignition {
80 namespace msgs {
81 
82 // ===================================================================
83 
84 class IGNITION_MSGS_VISIBLE VersionRange PROTOBUF_FINAL :
85  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.VersionRange) */ {
86  public:
87  inline VersionRange() : VersionRange(nullptr) {};
88  virtual ~VersionRange();
89 
90  VersionRange(const VersionRange& from);
91  VersionRange(VersionRange&& from) noexcept
92  : VersionRange() {
93  *this = ::std::move(from);
94  }
95 
96  inline VersionRange& operator=(const VersionRange& from) {
97  CopyFrom(from);
98  return *this;
99  }
100  inline VersionRange& operator=(VersionRange&& 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 VersionRange& default_instance();
119 
120  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
121  static inline const VersionRange* internal_default_instance() {
122  return reinterpret_cast<const VersionRange*>(
124  }
125  static constexpr int kIndexInFileMessages =
126  0;
127 
128  friend void swap(VersionRange& a, VersionRange& b) {
129  a.Swap(&b);
130  }
131  inline void Swap(VersionRange* 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(VersionRange* other) {
140  if (other == this) return;
141  GOOGLE_DCHECK(GetArena() == other->GetArena());
142  InternalSwap(other);
143  }
144 
145  // implements Message ----------------------------------------------
146 
147  inline VersionRange* New() const final {
148  return CreateMaybeMessage<VersionRange>(nullptr);
149  }
150 
151  VersionRange* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
152  return CreateMaybeMessage<VersionRange>(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 VersionRange& from);
157  void MergeFrom(const VersionRange& 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(VersionRange* other);
172  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
173  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
174  return "ignition.msgs.VersionRange";
175  }
176  protected:
177  explicit VersionRange(::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_2fversion_5frange_2eproto);
187  return ::descriptor_table_ignition_2fmsgs_2fversion_5frange_2eproto.file_level_metadata[kIndexInFileMessages];
188  }
189 
190  public:
191 
192  // nested types ----------------------------------------------------
193 
194  // accessors -------------------------------------------------------
195 
196  enum : int {
197  kMinFieldNumber = 1,
198  kMaxFieldNumber = 2,
199  };
200  // .ignition.msgs.Version min = 1;
201  bool has_min() const;
202  private:
203  bool _internal_has_min() const;
204  public:
205  void clear_min();
206  const ::ignition::msgs::Version& min() const;
207  ::ignition::msgs::Version* release_min();
208  ::ignition::msgs::Version* mutable_min();
209  void set_allocated_min(::ignition::msgs::Version* min);
210  private:
211  const ::ignition::msgs::Version& _internal_min() const;
212  ::ignition::msgs::Version* _internal_mutable_min();
213  public:
215  ::ignition::msgs::Version* min);
216  ::ignition::msgs::Version* unsafe_arena_release_min();
217 
218  // .ignition.msgs.Version max = 2;
219  bool has_max() const;
220  private:
221  bool _internal_has_max() const;
222  public:
223  void clear_max();
224  const ::ignition::msgs::Version& max() const;
225  ::ignition::msgs::Version* release_max();
226  ::ignition::msgs::Version* mutable_max();
227  void set_allocated_max(::ignition::msgs::Version* max);
228  private:
229  const ::ignition::msgs::Version& _internal_max() const;
230  ::ignition::msgs::Version* _internal_mutable_max();
231  public:
233  ::ignition::msgs::Version* max);
234  ::ignition::msgs::Version* unsafe_arena_release_max();
235 
236  // @@protoc_insertion_point(class_scope:ignition.msgs.VersionRange)
237  private:
238  class _Internal;
239 
240  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
241  typedef void InternalArenaConstructable_;
242  typedef void DestructorSkippable_;
243  ::ignition::msgs::Version* min_;
244  ::ignition::msgs::Version* max_;
245  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
246  friend struct ::TableStruct_ignition_2fmsgs_2fversion_5frange_2eproto;
247 };
248 // ===================================================================
249 
250 
251 // ===================================================================
252 
253 #ifdef __GNUC__
254  #pragma GCC diagnostic push
255  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
256 #endif // __GNUC__
257 // VersionRange
258 
259 // .ignition.msgs.Version min = 1;
260 inline bool VersionRange::_internal_has_min() const {
261  return this != internal_default_instance() && min_ != nullptr;
262 }
263 inline bool VersionRange::has_min() const {
264  return _internal_has_min();
265 }
266 inline const ::ignition::msgs::Version& VersionRange::_internal_min() const {
267  const ::ignition::msgs::Version* p = min_;
268  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::Version*>(
270 }
271 inline const ::ignition::msgs::Version& VersionRange::min() const {
272  // @@protoc_insertion_point(field_get:ignition.msgs.VersionRange.min)
273  return _internal_min();
274 }
275 inline void VersionRange::unsafe_arena_set_allocated_min(
276  ::ignition::msgs::Version* min) {
277  if (GetArena() == nullptr) {
278  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(min_);
279  }
280  min_ = min;
281  if (min) {
282 
283  } else {
284 
285  }
286  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.VersionRange.min)
287 }
288 inline ::ignition::msgs::Version* VersionRange::release_min() {
289  auto temp = unsafe_arena_release_min();
290  if (GetArena() != nullptr) {
291  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
292  }
293  return temp;
294 }
295 inline ::ignition::msgs::Version* VersionRange::unsafe_arena_release_min() {
296  // @@protoc_insertion_point(field_release:ignition.msgs.VersionRange.min)
297 
298  ::ignition::msgs::Version* temp = min_;
299  min_ = nullptr;
300  return temp;
301 }
302 inline ::ignition::msgs::Version* VersionRange::_internal_mutable_min() {
303 
304  if (min_ == nullptr) {
305  auto* p = CreateMaybeMessage<::ignition::msgs::Version>(GetArena());
306  min_ = p;
307  }
308  return min_;
309 }
310 inline ::ignition::msgs::Version* VersionRange::mutable_min() {
311  // @@protoc_insertion_point(field_mutable:ignition.msgs.VersionRange.min)
312  return _internal_mutable_min();
313 }
314 inline void VersionRange::set_allocated_min(::ignition::msgs::Version* min) {
315  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
316  if (message_arena == nullptr) {
317  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(min_);
318  }
319  if (min) {
320  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
321  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(min)->GetArena();
322  if (message_arena != submessage_arena) {
323  min = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
324  message_arena, min, submessage_arena);
325  }
326 
327  } else {
328 
329  }
330  min_ = min;
331  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.VersionRange.min)
332 }
333 
334 // .ignition.msgs.Version max = 2;
335 inline bool VersionRange::_internal_has_max() const {
336  return this != internal_default_instance() && max_ != nullptr;
337 }
338 inline bool VersionRange::has_max() const {
339  return _internal_has_max();
340 }
341 inline const ::ignition::msgs::Version& VersionRange::_internal_max() const {
342  const ::ignition::msgs::Version* p = max_;
343  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::Version*>(
345 }
346 inline const ::ignition::msgs::Version& VersionRange::max() const {
347  // @@protoc_insertion_point(field_get:ignition.msgs.VersionRange.max)
348  return _internal_max();
349 }
350 inline void VersionRange::unsafe_arena_set_allocated_max(
351  ::ignition::msgs::Version* max) {
352  if (GetArena() == nullptr) {
353  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(max_);
354  }
355  max_ = max;
356  if (max) {
357 
358  } else {
359 
360  }
361  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.VersionRange.max)
362 }
363 inline ::ignition::msgs::Version* VersionRange::release_max() {
364  auto temp = unsafe_arena_release_max();
365  if (GetArena() != nullptr) {
366  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
367  }
368  return temp;
369 }
370 inline ::ignition::msgs::Version* VersionRange::unsafe_arena_release_max() {
371  // @@protoc_insertion_point(field_release:ignition.msgs.VersionRange.max)
372 
373  ::ignition::msgs::Version* temp = max_;
374  max_ = nullptr;
375  return temp;
376 }
377 inline ::ignition::msgs::Version* VersionRange::_internal_mutable_max() {
378 
379  if (max_ == nullptr) {
380  auto* p = CreateMaybeMessage<::ignition::msgs::Version>(GetArena());
381  max_ = p;
382  }
383  return max_;
384 }
385 inline ::ignition::msgs::Version* VersionRange::mutable_max() {
386  // @@protoc_insertion_point(field_mutable:ignition.msgs.VersionRange.max)
387  return _internal_mutable_max();
388 }
389 inline void VersionRange::set_allocated_max(::ignition::msgs::Version* max) {
390  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
391  if (message_arena == nullptr) {
392  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(max_);
393  }
394  if (max) {
395  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
396  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(max)->GetArena();
397  if (message_arena != submessage_arena) {
398  max = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
399  message_arena, max, submessage_arena);
400  }
401 
402  } else {
403 
404  }
405  max_ = max;
406  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.VersionRange.max)
407 }
408 
409 #ifdef __GNUC__
410  #pragma GCC diagnostic pop
411 #endif // __GNUC__
412 
417 // @@protoc_insertion_point(namespace_scope)
418 
419 } // namespace msgs
420 } // namespace ignition
421 
422 #ifdef _MSC_VER
423 #pragma warning(pop)
424 #endif
425 // @@protoc_insertion_point(global_scope)
426 
427 #include <google/protobuf/port_undef.inc>
428 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fversion_5frange_2eproto
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fversion_5frange_2eproto
void set_allocated_min(::ignition::msgs::Version *min)
VersionRange(::PROTOBUF_NAMESPACE_ID::Arena *arena)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: build/ignition-msgs8/include/ignition/msgs/version_range.pb.h:115
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void Swap(VersionRange *other)
Definition: build/ignition-msgs8/include/ignition/msgs/version_range.pb.h:131
VersionRange(VersionRange &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/version_range.pb.h:91
VersionRange * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/version_range.pb.h:147
::ignition::msgs::Version * unsafe_arena_release_max()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/version_range.pb.h:109
::ignition::msgs::Version * mutable_max()
::ignition::msgs::Version * release_min()
static const VersionRange * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/version_range.pb.h:121
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void CopyFrom(const VersionRange &from)
const ::ignition::msgs::Version & max() const
void unsafe_arena_set_allocated_min(::ignition::msgs::Version *min)
friend void swap(VersionRange &a, VersionRange &b)
Definition: build/ignition-msgs8/include/ignition/msgs/version_range.pb.h:128
void unsafe_arena_set_allocated_max(::ignition::msgs::Version *max)
void MergeFrom(const VersionRange &from)
VersionRange * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/version_range.pb.h:151
::ignition::msgs::Version * release_max()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
static const VersionRange & default_instance()
::ignition::msgs::Version * mutable_min()
VersionRange()
Definition: build/ignition-msgs8/include/ignition/msgs/version_range.pb.h:87
VersionRange & operator=(const VersionRange &from)
Definition: build/ignition-msgs8/include/ignition/msgs/version_range.pb.h:96
VersionRange(const VersionRange &from)
const ::ignition::msgs::Version & min() const
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/version_range.pb.h:112
void set_allocated_max(::ignition::msgs::Version *max)
::ignition::msgs::Version * unsafe_arena_release_min()
VersionRange & operator=(VersionRange &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/version_range.pb.h:100
void UnsafeArenaSwap(VersionRange *other)
Definition: build/ignition-msgs8/include/ignition/msgs/version_range.pb.h:139
T max(T... args)
T min(T... args)
std::shared_ptr< VersionRange > VersionRangeSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/version_range.pb.h:415
IGNITION_MSGS_VISIBLE VersionDefaultTypeInternal _Version_default_instance_
std::unique_ptr< const VersionRange > ConstVersionRangeUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/version_range.pb.h:414
std::unique_ptr< VersionRange > VersionRangeUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/version_range.pb.h:413
std::shared_ptr< const VersionRange > ConstVersionRangeSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/version_range.pb.h:416
IGNITION_MSGS_VISIBLE VersionRangeDefaultTypeInternal _VersionRange_default_instance_
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:53
Definition: build/ignition-msgs8/include/ignition/msgs/version_range.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)