Gazebo Msgs

API Reference

5.11.0
build/ignition-msgs5/include/ignition/msgs/version.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/version.proto
3 
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2fversion_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fversion_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 #ifndef _MSC_VER
34 #pragma GCC system_header
35 #else
36 #pragma warning(push)
37 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
38 #endif
39 #ifdef __linux__
40 #include <sys/sysmacros.h>
41 #endif
42 #include <memory>
43 #include <ignition/msgs/Export.hh>
44 // @@protoc_insertion_point(includes)
45 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2fversion_2eproto IGNITION_MSGS_VISIBLE
46 
48 // Internal implementation detail -- do not use these members.
49 struct IGNITION_MSGS_VISIBLE TableStruct {
50  static const ::google::protobuf::internal::ParseTableField entries[];
51  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
52  static const ::google::protobuf::internal::ParseTable schema[1];
53  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
54  static const ::google::protobuf::internal::SerializationTable serialization_table[];
55  static const ::google::protobuf::uint32 offsets[];
56 };
57 void IGNITION_MSGS_VISIBLE AddDescriptors();
58 } // namespace protobuf_ignition_2fmsgs_2fversion_2eproto
59 namespace ignition {
60 namespace msgs {
61 class Version;
62 class VersionDefaultTypeInternal;
63 IGNITION_MSGS_VISIBLE extern VersionDefaultTypeInternal _Version_default_instance_;
64 } // namespace msgs
65 } // namespace ignition
66 namespace google {
67 namespace protobuf {
68 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Version* Arena::CreateMaybeMessage<::ignition::msgs::Version>(Arena*);
69 } // namespace protobuf
70 } // namespace google
71 namespace ignition {
72 namespace msgs {
73 
74 // ===================================================================
75 
76 class IGNITION_MSGS_VISIBLE Version : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Version) */ {
77  public:
78  Version();
79  virtual ~Version();
80 
81  Version(const Version& from);
82 
83  inline Version& operator=(const Version& from) {
84  CopyFrom(from);
85  return *this;
86  }
87  #if LANG_CXX11
88  Version(Version&& from) noexcept
89  : Version() {
90  *this = ::std::move(from);
91  }
92 
93  inline Version& operator=(Version&& from) noexcept {
94  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
95  if (this != &from) InternalSwap(&from);
96  } else {
97  CopyFrom(from);
98  }
99  return *this;
100  }
101  #endif
102  static const ::google::protobuf::Descriptor* descriptor();
103  static const Version& default_instance();
104 
105  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
106  static inline const Version* internal_default_instance() {
107  return reinterpret_cast<const Version*>(
109  }
110  static constexpr int kIndexInFileMessages =
111  0;
112 
113  void Swap(Version* other);
114  friend void swap(Version& a, Version& b) {
115  a.Swap(&b);
116  }
117 
118  // implements Message ----------------------------------------------
119 
120  inline Version* New() const final {
121  return CreateMaybeMessage<Version>(NULL);
122  }
123 
124  Version* New(::google::protobuf::Arena* arena) const final {
125  return CreateMaybeMessage<Version>(arena);
126  }
127  void CopyFrom(const ::google::protobuf::Message& from) final;
128  void MergeFrom(const ::google::protobuf::Message& from) final;
129  void CopyFrom(const Version& from);
130  void MergeFrom(const Version& from);
131  void Clear() final;
132  bool IsInitialized() const final;
133 
134  size_t ByteSizeLong() const final;
135  bool MergePartialFromCodedStream(
136  ::google::protobuf::io::CodedInputStream* input) final;
137  void SerializeWithCachedSizes(
138  ::google::protobuf::io::CodedOutputStream* output) const final;
139  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
140  bool deterministic, ::google::protobuf::uint8* target) const final;
141  int GetCachedSize() const final { return _cached_size_.Get(); }
142 
143  private:
144  void SharedCtor();
145  void SharedDtor();
146  void SetCachedSize(int size) const final;
147  void InternalSwap(Version* other);
148  private:
149  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
150  return NULL;
151  }
152  inline void* MaybeArenaPtr() const {
153  return NULL;
154  }
155  public:
156 
157  ::google::protobuf::Metadata GetMetadata() const final;
158 
159  // nested types ----------------------------------------------------
160 
161  // accessors -------------------------------------------------------
162 
163  // string prerelease = 4;
164  void clear_prerelease();
165  static const int kPrereleaseFieldNumber = 4;
166  const ::std::string& prerelease() const;
167  void set_prerelease(const ::std::string& value);
168  #if LANG_CXX11
169  void set_prerelease(::std::string&& value);
170  #endif
171  void set_prerelease(const char* value);
172  void set_prerelease(const char* value, size_t size);
173  ::std::string* mutable_prerelease();
174  ::std::string* release_prerelease();
175  void set_allocated_prerelease(::std::string* prerelease);
176 
177  // string build = 5;
178  void clear_build();
179  static const int kBuildFieldNumber = 5;
180  const ::std::string& build() const;
181  void set_build(const ::std::string& value);
182  #if LANG_CXX11
183  void set_build(::std::string&& value);
184  #endif
185  void set_build(const char* value);
186  void set_build(const char* value, size_t size);
187  ::std::string* mutable_build();
188  ::std::string* release_build();
189  void set_allocated_build(::std::string* build);
190 
191  // int32 major = 1;
192  void clear_major();
193  static const int kMajorFieldNumber = 1;
194  ::google::protobuf::int32 major() const;
195  void set_major(::google::protobuf::int32 value);
196 
197  // int32 minor = 2;
198  void clear_minor();
199  static const int kMinorFieldNumber = 2;
200  ::google::protobuf::int32 minor() const;
201  void set_minor(::google::protobuf::int32 value);
202 
203  // int32 patch = 3;
204  void clear_patch();
205  static const int kPatchFieldNumber = 3;
206  ::google::protobuf::int32 patch() const;
207  void set_patch(::google::protobuf::int32 value);
208 
209  // @@protoc_insertion_point(class_scope:ignition.msgs.Version)
210  private:
211 
212  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
213  ::google::protobuf::internal::ArenaStringPtr prerelease_;
214  ::google::protobuf::internal::ArenaStringPtr build_;
215  ::google::protobuf::int32 major_;
216  ::google::protobuf::int32 minor_;
217  ::google::protobuf::int32 patch_;
218  mutable ::google::protobuf::internal::CachedSize _cached_size_;
219  friend struct ::protobuf_ignition_2fmsgs_2fversion_2eproto::TableStruct;
220 };
221 // ===================================================================
222 
223 
224 // ===================================================================
225 
226 #ifdef __GNUC__
227  #pragma GCC diagnostic push
228  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
229 #endif // __GNUC__
230 // Version
231 
232 // int32 major = 1;
233 inline void Version::clear_major() {
234  major_ = 0;
235 }
236 inline ::google::protobuf::int32 Version::major() const {
237  // @@protoc_insertion_point(field_get:ignition.msgs.Version.major)
238  return major_;
239 }
240 inline void Version::set_major(::google::protobuf::int32 value) {
241 
242  major_ = value;
243  // @@protoc_insertion_point(field_set:ignition.msgs.Version.major)
244 }
245 
246 // int32 minor = 2;
247 inline void Version::clear_minor() {
248  minor_ = 0;
249 }
250 inline ::google::protobuf::int32 Version::minor() const {
251  // @@protoc_insertion_point(field_get:ignition.msgs.Version.minor)
252  return minor_;
253 }
254 inline void Version::set_minor(::google::protobuf::int32 value) {
255 
256  minor_ = value;
257  // @@protoc_insertion_point(field_set:ignition.msgs.Version.minor)
258 }
259 
260 // int32 patch = 3;
261 inline void Version::clear_patch() {
262  patch_ = 0;
263 }
264 inline ::google::protobuf::int32 Version::patch() const {
265  // @@protoc_insertion_point(field_get:ignition.msgs.Version.patch)
266  return patch_;
267 }
268 inline void Version::set_patch(::google::protobuf::int32 value) {
269 
270  patch_ = value;
271  // @@protoc_insertion_point(field_set:ignition.msgs.Version.patch)
272 }
273 
274 // string prerelease = 4;
276  prerelease_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
277 }
278 inline const ::std::string& Version::prerelease() const {
279  // @@protoc_insertion_point(field_get:ignition.msgs.Version.prerelease)
280  return prerelease_.GetNoArena();
281 }
282 inline void Version::set_prerelease(const ::std::string& value) {
283 
284  prerelease_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
285  // @@protoc_insertion_point(field_set:ignition.msgs.Version.prerelease)
286 }
287 #if LANG_CXX11
288 inline void Version::set_prerelease(::std::string&& value) {
289 
290  prerelease_.SetNoArena(
291  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
292  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Version.prerelease)
293 }
294 #endif
295 inline void Version::set_prerelease(const char* value) {
296  GOOGLE_DCHECK(value != NULL);
297 
298  prerelease_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
299  // @@protoc_insertion_point(field_set_char:ignition.msgs.Version.prerelease)
300 }
301 inline void Version::set_prerelease(const char* value, size_t size) {
302 
303  prerelease_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
304  ::std::string(reinterpret_cast<const char*>(value), size));
305  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Version.prerelease)
306 }
307 inline ::std::string* Version::mutable_prerelease() {
308 
309  // @@protoc_insertion_point(field_mutable:ignition.msgs.Version.prerelease)
310  return prerelease_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
311 }
312 inline ::std::string* Version::release_prerelease() {
313  // @@protoc_insertion_point(field_release:ignition.msgs.Version.prerelease)
314 
315  return prerelease_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
316 }
317 inline void Version::set_allocated_prerelease(::std::string* prerelease) {
318  if (prerelease != NULL) {
319 
320  } else {
321 
322  }
323  prerelease_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), prerelease);
324  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Version.prerelease)
325 }
326 
327 // string build = 5;
328 inline void Version::clear_build() {
329  build_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
330 }
331 inline const ::std::string& Version::build() const {
332  // @@protoc_insertion_point(field_get:ignition.msgs.Version.build)
333  return build_.GetNoArena();
334 }
335 inline void Version::set_build(const ::std::string& value) {
336 
337  build_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
338  // @@protoc_insertion_point(field_set:ignition.msgs.Version.build)
339 }
340 #if LANG_CXX11
341 inline void Version::set_build(::std::string&& value) {
342 
343  build_.SetNoArena(
344  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
345  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Version.build)
346 }
347 #endif
348 inline void Version::set_build(const char* value) {
349  GOOGLE_DCHECK(value != NULL);
350 
351  build_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
352  // @@protoc_insertion_point(field_set_char:ignition.msgs.Version.build)
353 }
354 inline void Version::set_build(const char* value, size_t size) {
355 
356  build_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
357  ::std::string(reinterpret_cast<const char*>(value), size));
358  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Version.build)
359 }
360 inline ::std::string* Version::mutable_build() {
361 
362  // @@protoc_insertion_point(field_mutable:ignition.msgs.Version.build)
363  return build_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
364 }
365 inline ::std::string* Version::release_build() {
366  // @@protoc_insertion_point(field_release:ignition.msgs.Version.build)
367 
368  return build_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
369 }
371  if (build != NULL) {
372 
373  } else {
374 
375  }
376  build_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), build);
377  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Version.build)
378 }
379 
380 #ifdef __GNUC__
381  #pragma GCC diagnostic pop
382 #endif // __GNUC__
383 
388 // @@protoc_insertion_point(namespace_scope)
389 
390 } // namespace msgs
391 } // namespace ignition
392 
393 #ifdef _MSC_VER
394 #pragma warning(pop)
395 #endif
396 // @@protoc_insertion_point(global_scope)
397 
398 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fversion_2eproto
std::unique_ptr< Version > VersionUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/version.pb.h:384
void clear_prerelease()
Definition: build/ignition-msgs5/include/ignition/msgs/version.pb.h:275
Definition: build/ignition-msgs5/include/ignition/msgs/version.pb.h:49
Version * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs5/include/ignition/msgs/version.pb.h:124
friend void swap(Version &a, Version &b)
Definition: build/ignition-msgs5/include/ignition/msgs/version.pb.h:114
STL class.
STL class.
T move(T... args)
void clear_major()
Definition: build/ignition-msgs5/include/ignition/msgs/version.pb.h:233
std::unique_ptr< const Version > ConstVersionUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/version.pb.h:385
Definition: build/ignition-msgs5/include/ignition/msgs/version.pb.h:47
void Swap(Version *other)
::std::string * mutable_build()
Definition: build/ignition-msgs5/include/ignition/msgs/version.pb.h:360
void set_major(::google::protobuf::int32 value)
Definition: build/ignition-msgs5/include/ignition/msgs/version.pb.h:240
const ::std::string & build() const
Definition: build/ignition-msgs5/include/ignition/msgs/version.pb.h:331
std::shared_ptr< const Version > ConstVersionSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/version.pb.h:387
std::shared_ptr< Version > VersionSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/version.pb.h:386
::google::protobuf::int32 minor() const
Definition: build/ignition-msgs5/include/ignition/msgs/version.pb.h:250
Version * New() const final
Definition: build/ignition-msgs5/include/ignition/msgs/version.pb.h:120
Version & operator=(const Version &from)
Definition: build/ignition-msgs5/include/ignition/msgs/version.pb.h:83
const ::std::string & prerelease() const
Definition: build/ignition-msgs5/include/ignition/msgs/version.pb.h:278
void set_allocated_prerelease(::std::string *prerelease)
Definition: build/ignition-msgs5/include/ignition/msgs/version.pb.h:317
void set_minor(::google::protobuf::int32 value)
Definition: build/ignition-msgs5/include/ignition/msgs/version.pb.h:254
void clear_build()
Definition: build/ignition-msgs5/include/ignition/msgs/version.pb.h:328
void clear_minor()
Definition: build/ignition-msgs5/include/ignition/msgs/version.pb.h:247
static const Version * internal_default_instance()
Definition: build/ignition-msgs5/include/ignition/msgs/version.pb.h:106
STL namespace.
void set_prerelease(const ::std::string &value)
Definition: build/ignition-msgs5/include/ignition/msgs/version.pb.h:282
::std::string * mutable_prerelease()
Definition: build/ignition-msgs5/include/ignition/msgs/version.pb.h:307
void set_allocated_build(::std::string *build)
Definition: build/ignition-msgs5/include/ignition/msgs/version.pb.h:370
void IGNITION_MSGS_VISIBLE AddDescriptors()
::google::protobuf::int32 major() const
Definition: build/ignition-msgs5/include/ignition/msgs/version.pb.h:236
Definition: build/ignition-msgs5/include/ignition/msgs/version.pb.h:76
void set_build(const ::std::string &value)
Definition: build/ignition-msgs5/include/ignition/msgs/version.pb.h:335
::std::string * release_prerelease()
Definition: build/ignition-msgs5/include/ignition/msgs/version.pb.h:312
STL class.
::std::string * release_build()
Definition: build/ignition-msgs5/include/ignition/msgs/version.pb.h:365
IGNITION_MSGS_VISIBLE VersionDefaultTypeInternal _Version_default_instance_
void set_patch(::google::protobuf::int32 value)
Definition: build/ignition-msgs5/include/ignition/msgs/version.pb.h:268
Definition: build/ignition-msgs5/include/ignition/msgs/actor.pb.h:78
void clear_patch()
Definition: build/ignition-msgs5/include/ignition/msgs/version.pb.h:261
::google::protobuf::int32 patch() const
Definition: build/ignition-msgs5/include/ignition/msgs/version.pb.h:264