Gazebo Msgs

API Reference

9.5.0
fuel_metadata.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: gz/msgs/fuel_metadata.proto
3 
4 #ifndef PROTOBUF_INCLUDED_gz_2fmsgs_2ffuel_5fmetadata_2eproto
5 #define PROTOBUF_INCLUDED_gz_2fmsgs_2ffuel_5fmetadata_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/map.h> // IWYU pragma: export
33 #include <google/protobuf/map_entry.h>
34 #include <google/protobuf/map_field_inl.h>
35 #include <google/protobuf/unknown_field_set.h>
36 #include "gz/msgs/version.pb.h"
37 #include "gz/msgs/version_range.pb.h"
38 #include "gz/msgs/versioned_name.pb.h"
39 // @@protoc_insertion_point(includes)
40 #define PROTOBUF_INTERNAL_EXPORT_protobuf_gz_2fmsgs_2ffuel_5fmetadata_2eproto GZ_MSGS_VISIBLE
41 
43 // Internal implementation detail -- do not use these members.
44 struct GZ_MSGS_VISIBLE TableStruct {
45  static const ::google::protobuf::internal::ParseTableField entries[];
46  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
47  static const ::google::protobuf::internal::ParseTable schema[9];
48  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
49  static const ::google::protobuf::internal::SerializationTable serialization_table[];
50  static const ::google::protobuf::uint32 offsets[];
51 };
52 void GZ_MSGS_VISIBLE AddDescriptors();
53 } // namespace protobuf_gz_2fmsgs_2ffuel_5fmetadata_2eproto
54 namespace gz {
55 namespace msgs {
56 class FuelMetadata;
57 class FuelMetadataDefaultTypeInternal;
58 GZ_MSGS_VISIBLE extern FuelMetadataDefaultTypeInternal _FuelMetadata_default_instance_;
59 class FuelMetadata_AnnotationsEntry_DoNotUse;
60 class FuelMetadata_AnnotationsEntry_DoNotUseDefaultTypeInternal;
61 GZ_MSGS_VISIBLE extern FuelMetadata_AnnotationsEntry_DoNotUseDefaultTypeInternal _FuelMetadata_AnnotationsEntry_DoNotUse_default_instance_;
62 class FuelMetadata_Categories;
63 class FuelMetadata_CategoriesDefaultTypeInternal;
64 GZ_MSGS_VISIBLE extern FuelMetadata_CategoriesDefaultTypeInternal _FuelMetadata_Categories_default_instance_;
65 class FuelMetadata_Compatibility;
66 class FuelMetadata_CompatibilityDefaultTypeInternal;
67 GZ_MSGS_VISIBLE extern FuelMetadata_CompatibilityDefaultTypeInternal _FuelMetadata_Compatibility_default_instance_;
68 class FuelMetadata_Contact;
69 class FuelMetadata_ContactDefaultTypeInternal;
70 GZ_MSGS_VISIBLE extern FuelMetadata_ContactDefaultTypeInternal _FuelMetadata_Contact_default_instance_;
71 class FuelMetadata_Dependency;
72 class FuelMetadata_DependencyDefaultTypeInternal;
73 GZ_MSGS_VISIBLE extern FuelMetadata_DependencyDefaultTypeInternal _FuelMetadata_Dependency_default_instance_;
74 class FuelMetadata_Legal;
75 class FuelMetadata_LegalDefaultTypeInternal;
76 GZ_MSGS_VISIBLE extern FuelMetadata_LegalDefaultTypeInternal _FuelMetadata_Legal_default_instance_;
77 class FuelMetadata_Model;
78 class FuelMetadata_ModelDefaultTypeInternal;
79 GZ_MSGS_VISIBLE extern FuelMetadata_ModelDefaultTypeInternal _FuelMetadata_Model_default_instance_;
80 class FuelMetadata_World;
81 class FuelMetadata_WorldDefaultTypeInternal;
82 GZ_MSGS_VISIBLE extern FuelMetadata_WorldDefaultTypeInternal _FuelMetadata_World_default_instance_;
83 } // namespace msgs
84 } // namespace gz
85 namespace google {
86 namespace protobuf {
87 template<> GZ_MSGS_VISIBLE ::gz::msgs::FuelMetadata* Arena::CreateMaybeMessage<::gz::msgs::FuelMetadata>(Arena*);
88 template<> GZ_MSGS_VISIBLE ::gz::msgs::FuelMetadata_AnnotationsEntry_DoNotUse* Arena::CreateMaybeMessage<::gz::msgs::FuelMetadata_AnnotationsEntry_DoNotUse>(Arena*);
89 template<> GZ_MSGS_VISIBLE ::gz::msgs::FuelMetadata_Categories* Arena::CreateMaybeMessage<::gz::msgs::FuelMetadata_Categories>(Arena*);
90 template<> GZ_MSGS_VISIBLE ::gz::msgs::FuelMetadata_Compatibility* Arena::CreateMaybeMessage<::gz::msgs::FuelMetadata_Compatibility>(Arena*);
91 template<> GZ_MSGS_VISIBLE ::gz::msgs::FuelMetadata_Contact* Arena::CreateMaybeMessage<::gz::msgs::FuelMetadata_Contact>(Arena*);
92 template<> GZ_MSGS_VISIBLE ::gz::msgs::FuelMetadata_Dependency* Arena::CreateMaybeMessage<::gz::msgs::FuelMetadata_Dependency>(Arena*);
93 template<> GZ_MSGS_VISIBLE ::gz::msgs::FuelMetadata_Legal* Arena::CreateMaybeMessage<::gz::msgs::FuelMetadata_Legal>(Arena*);
94 template<> GZ_MSGS_VISIBLE ::gz::msgs::FuelMetadata_Model* Arena::CreateMaybeMessage<::gz::msgs::FuelMetadata_Model>(Arena*);
95 template<> GZ_MSGS_VISIBLE ::gz::msgs::FuelMetadata_World* Arena::CreateMaybeMessage<::gz::msgs::FuelMetadata_World>(Arena*);
96 } // namespace protobuf
97 } // namespace google
98 namespace gz {
99 namespace msgs {
100 
101 // ===================================================================
102 
103 class GZ_MSGS_VISIBLE FuelMetadata_Contact : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.FuelMetadata.Contact) */ {
104  public:
106  virtual ~FuelMetadata_Contact();
107 
109 
111  CopyFrom(from);
112  return *this;
113  }
114  #if LANG_CXX11
117  *this = ::std::move(from);
118  }
119 
120  inline FuelMetadata_Contact& operator=(FuelMetadata_Contact&& from) noexcept {
121  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
122  if (this != &from) InternalSwap(&from);
123  } else {
124  CopyFrom(from);
125  }
126  return *this;
127  }
128  #endif
129  static const ::google::protobuf::Descriptor* descriptor();
130  static const FuelMetadata_Contact& default_instance();
131 
132  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
134  return reinterpret_cast<const FuelMetadata_Contact*>(
136  }
137  static constexpr int kIndexInFileMessages =
138  0;
139 
140  void Swap(FuelMetadata_Contact* other);
142  a.Swap(&b);
143  }
144 
145  // implements Message ----------------------------------------------
146 
147  inline FuelMetadata_Contact* New() const final {
148  return CreateMaybeMessage<FuelMetadata_Contact>(NULL);
149  }
150 
151  FuelMetadata_Contact* New(::google::protobuf::Arena* arena) const final {
152  return CreateMaybeMessage<FuelMetadata_Contact>(arena);
153  }
154  void CopyFrom(const ::google::protobuf::Message& from) final;
155  void MergeFrom(const ::google::protobuf::Message& from) final;
156  void CopyFrom(const FuelMetadata_Contact& from);
157  void MergeFrom(const FuelMetadata_Contact& from);
158  void Clear() final;
159  bool IsInitialized() const final;
160 
161  size_t ByteSizeLong() const final;
162  bool MergePartialFromCodedStream(
163  ::google::protobuf::io::CodedInputStream* input) final;
164  void SerializeWithCachedSizes(
165  ::google::protobuf::io::CodedOutputStream* output) const final;
166  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
167  bool deterministic, ::google::protobuf::uint8* target) const final;
168  int GetCachedSize() const final { return _cached_size_.Get(); }
169 
170  private:
171  void SharedCtor();
172  void SharedDtor();
173  void SetCachedSize(int size) const final;
174  void InternalSwap(FuelMetadata_Contact* other);
175  private:
176  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
177  return NULL;
178  }
179  inline void* MaybeArenaPtr() const {
180  return NULL;
181  }
182  public:
183 
184  ::google::protobuf::Metadata GetMetadata() const final;
185 
186  // nested types ----------------------------------------------------
187 
188  // accessors -------------------------------------------------------
189 
190  // string name = 1;
191  void clear_name();
192  static const int kNameFieldNumber = 1;
193  const ::std::string& name() const;
194  void set_name(const ::std::string& value);
195  #if LANG_CXX11
196  void set_name(::std::string&& value);
197  #endif
198  void set_name(const char* value);
199  void set_name(const char* value, size_t size);
200  ::std::string* mutable_name();
201  ::std::string* release_name();
202  void set_allocated_name(::std::string* name);
203 
204  // string email = 2;
205  void clear_email();
206  static const int kEmailFieldNumber = 2;
207  const ::std::string& email() const;
208  void set_email(const ::std::string& value);
209  #if LANG_CXX11
210  void set_email(::std::string&& value);
211  #endif
212  void set_email(const char* value);
213  void set_email(const char* value, size_t size);
214  ::std::string* mutable_email();
215  ::std::string* release_email();
216  void set_allocated_email(::std::string* email);
217 
218  // @@protoc_insertion_point(class_scope:gz.msgs.FuelMetadata.Contact)
219  private:
220 
221  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
222  ::google::protobuf::internal::ArenaStringPtr name_;
223  ::google::protobuf::internal::ArenaStringPtr email_;
224  mutable ::google::protobuf::internal::CachedSize _cached_size_;
225  friend struct ::protobuf_gz_2fmsgs_2ffuel_5fmetadata_2eproto::TableStruct;
226 };
227 // -------------------------------------------------------------------
228 
229 class GZ_MSGS_VISIBLE FuelMetadata_Legal : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.FuelMetadata.Legal) */ {
230  public:
232  virtual ~FuelMetadata_Legal();
233 
235 
237  CopyFrom(from);
238  return *this;
239  }
240  #if LANG_CXX11
241  FuelMetadata_Legal(FuelMetadata_Legal&& from) noexcept
242  : FuelMetadata_Legal() {
243  *this = ::std::move(from);
244  }
245 
246  inline FuelMetadata_Legal& operator=(FuelMetadata_Legal&& from) noexcept {
247  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
248  if (this != &from) InternalSwap(&from);
249  } else {
250  CopyFrom(from);
251  }
252  return *this;
253  }
254  #endif
255  static const ::google::protobuf::Descriptor* descriptor();
256  static const FuelMetadata_Legal& default_instance();
257 
258  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
260  return reinterpret_cast<const FuelMetadata_Legal*>(
262  }
263  static constexpr int kIndexInFileMessages =
264  1;
265 
266  void Swap(FuelMetadata_Legal* other);
268  a.Swap(&b);
269  }
270 
271  // implements Message ----------------------------------------------
272 
273  inline FuelMetadata_Legal* New() const final {
274  return CreateMaybeMessage<FuelMetadata_Legal>(NULL);
275  }
276 
277  FuelMetadata_Legal* New(::google::protobuf::Arena* arena) const final {
278  return CreateMaybeMessage<FuelMetadata_Legal>(arena);
279  }
280  void CopyFrom(const ::google::protobuf::Message& from) final;
281  void MergeFrom(const ::google::protobuf::Message& from) final;
282  void CopyFrom(const FuelMetadata_Legal& from);
283  void MergeFrom(const FuelMetadata_Legal& from);
284  void Clear() final;
285  bool IsInitialized() const final;
286 
287  size_t ByteSizeLong() const final;
288  bool MergePartialFromCodedStream(
289  ::google::protobuf::io::CodedInputStream* input) final;
290  void SerializeWithCachedSizes(
291  ::google::protobuf::io::CodedOutputStream* output) const final;
292  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
293  bool deterministic, ::google::protobuf::uint8* target) const final;
294  int GetCachedSize() const final { return _cached_size_.Get(); }
295 
296  private:
297  void SharedCtor();
298  void SharedDtor();
299  void SetCachedSize(int size) const final;
300  void InternalSwap(FuelMetadata_Legal* other);
301  private:
302  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
303  return NULL;
304  }
305  inline void* MaybeArenaPtr() const {
306  return NULL;
307  }
308  public:
309 
310  ::google::protobuf::Metadata GetMetadata() const final;
311 
312  // nested types ----------------------------------------------------
313 
314  // accessors -------------------------------------------------------
315 
316  // string copyright = 1;
317  void clear_copyright();
318  static const int kCopyrightFieldNumber = 1;
319  const ::std::string& copyright() const;
320  void set_copyright(const ::std::string& value);
321  #if LANG_CXX11
322  void set_copyright(::std::string&& value);
323  #endif
324  void set_copyright(const char* value);
325  void set_copyright(const char* value, size_t size);
326  ::std::string* mutable_copyright();
327  ::std::string* release_copyright();
328  void set_allocated_copyright(::std::string* copyright);
329 
330  // string license = 2;
331  void clear_license();
332  static const int kLicenseFieldNumber = 2;
333  const ::std::string& license() const;
334  void set_license(const ::std::string& value);
335  #if LANG_CXX11
336  void set_license(::std::string&& value);
337  #endif
338  void set_license(const char* value);
339  void set_license(const char* value, size_t size);
340  ::std::string* mutable_license();
341  ::std::string* release_license();
342  void set_allocated_license(::std::string* license);
343 
344  // @@protoc_insertion_point(class_scope:gz.msgs.FuelMetadata.Legal)
345  private:
346 
347  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
348  ::google::protobuf::internal::ArenaStringPtr copyright_;
349  ::google::protobuf::internal::ArenaStringPtr license_;
350  mutable ::google::protobuf::internal::CachedSize _cached_size_;
351  friend struct ::protobuf_gz_2fmsgs_2ffuel_5fmetadata_2eproto::TableStruct;
352 };
353 // -------------------------------------------------------------------
354 
355 class GZ_MSGS_VISIBLE FuelMetadata_Model : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.FuelMetadata.Model) */ {
356  public:
358  virtual ~FuelMetadata_Model();
359 
361 
363  CopyFrom(from);
364  return *this;
365  }
366  #if LANG_CXX11
367  FuelMetadata_Model(FuelMetadata_Model&& from) noexcept
368  : FuelMetadata_Model() {
369  *this = ::std::move(from);
370  }
371 
372  inline FuelMetadata_Model& operator=(FuelMetadata_Model&& from) noexcept {
373  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
374  if (this != &from) InternalSwap(&from);
375  } else {
376  CopyFrom(from);
377  }
378  return *this;
379  }
380  #endif
381  static const ::google::protobuf::Descriptor* descriptor();
382  static const FuelMetadata_Model& default_instance();
383 
384  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
386  return reinterpret_cast<const FuelMetadata_Model*>(
388  }
389  static constexpr int kIndexInFileMessages =
390  2;
391 
392  void Swap(FuelMetadata_Model* other);
394  a.Swap(&b);
395  }
396 
397  // implements Message ----------------------------------------------
398 
399  inline FuelMetadata_Model* New() const final {
400  return CreateMaybeMessage<FuelMetadata_Model>(NULL);
401  }
402 
403  FuelMetadata_Model* New(::google::protobuf::Arena* arena) const final {
404  return CreateMaybeMessage<FuelMetadata_Model>(arena);
405  }
406  void CopyFrom(const ::google::protobuf::Message& from) final;
407  void MergeFrom(const ::google::protobuf::Message& from) final;
408  void CopyFrom(const FuelMetadata_Model& from);
409  void MergeFrom(const FuelMetadata_Model& from);
410  void Clear() final;
411  bool IsInitialized() const final;
412 
413  size_t ByteSizeLong() const final;
414  bool MergePartialFromCodedStream(
415  ::google::protobuf::io::CodedInputStream* input) final;
416  void SerializeWithCachedSizes(
417  ::google::protobuf::io::CodedOutputStream* output) const final;
418  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
419  bool deterministic, ::google::protobuf::uint8* target) const final;
420  int GetCachedSize() const final { return _cached_size_.Get(); }
421 
422  private:
423  void SharedCtor();
424  void SharedDtor();
425  void SetCachedSize(int size) const final;
426  void InternalSwap(FuelMetadata_Model* other);
427  private:
428  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
429  return NULL;
430  }
431  inline void* MaybeArenaPtr() const {
432  return NULL;
433  }
434  public:
435 
436  ::google::protobuf::Metadata GetMetadata() const final;
437 
438  // nested types ----------------------------------------------------
439 
440  // accessors -------------------------------------------------------
441 
442  // string file = 1;
443  void clear_file();
444  static const int kFileFieldNumber = 1;
445  const ::std::string& file() const;
446  void set_file(const ::std::string& value);
447  #if LANG_CXX11
448  void set_file(::std::string&& value);
449  #endif
450  void set_file(const char* value);
451  void set_file(const char* value, size_t size);
452  ::std::string* mutable_file();
453  ::std::string* release_file();
454  void set_allocated_file(::std::string* file);
455 
456  // .gz.msgs.VersionedName file_format = 2;
457  bool has_file_format() const;
458  void clear_file_format();
459  static const int kFileFormatFieldNumber = 2;
460  private:
461  const ::gz::msgs::VersionedName& _internal_file_format() const;
462  public:
463  const ::gz::msgs::VersionedName& file_format() const;
464  ::gz::msgs::VersionedName* release_file_format();
465  ::gz::msgs::VersionedName* mutable_file_format();
466  void set_allocated_file_format(::gz::msgs::VersionedName* file_format);
467 
468  // @@protoc_insertion_point(class_scope:gz.msgs.FuelMetadata.Model)
469  private:
470 
471  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
472  ::google::protobuf::internal::ArenaStringPtr file_;
473  ::gz::msgs::VersionedName* file_format_;
474  mutable ::google::protobuf::internal::CachedSize _cached_size_;
475  friend struct ::protobuf_gz_2fmsgs_2ffuel_5fmetadata_2eproto::TableStruct;
476 };
477 // -------------------------------------------------------------------
478 
479 class GZ_MSGS_VISIBLE FuelMetadata_World : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.FuelMetadata.World) */ {
480  public:
482  virtual ~FuelMetadata_World();
483 
485 
487  CopyFrom(from);
488  return *this;
489  }
490  #if LANG_CXX11
491  FuelMetadata_World(FuelMetadata_World&& from) noexcept
492  : FuelMetadata_World() {
493  *this = ::std::move(from);
494  }
495 
496  inline FuelMetadata_World& operator=(FuelMetadata_World&& from) noexcept {
497  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
498  if (this != &from) InternalSwap(&from);
499  } else {
500  CopyFrom(from);
501  }
502  return *this;
503  }
504  #endif
505  static const ::google::protobuf::Descriptor* descriptor();
506  static const FuelMetadata_World& default_instance();
507 
508  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
510  return reinterpret_cast<const FuelMetadata_World*>(
512  }
513  static constexpr int kIndexInFileMessages =
514  3;
515 
516  void Swap(FuelMetadata_World* other);
518  a.Swap(&b);
519  }
520 
521  // implements Message ----------------------------------------------
522 
523  inline FuelMetadata_World* New() const final {
524  return CreateMaybeMessage<FuelMetadata_World>(NULL);
525  }
526 
527  FuelMetadata_World* New(::google::protobuf::Arena* arena) const final {
528  return CreateMaybeMessage<FuelMetadata_World>(arena);
529  }
530  void CopyFrom(const ::google::protobuf::Message& from) final;
531  void MergeFrom(const ::google::protobuf::Message& from) final;
532  void CopyFrom(const FuelMetadata_World& from);
533  void MergeFrom(const FuelMetadata_World& from);
534  void Clear() final;
535  bool IsInitialized() const final;
536 
537  size_t ByteSizeLong() const final;
538  bool MergePartialFromCodedStream(
539  ::google::protobuf::io::CodedInputStream* input) final;
540  void SerializeWithCachedSizes(
541  ::google::protobuf::io::CodedOutputStream* output) const final;
542  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
543  bool deterministic, ::google::protobuf::uint8* target) const final;
544  int GetCachedSize() const final { return _cached_size_.Get(); }
545 
546  private:
547  void SharedCtor();
548  void SharedDtor();
549  void SetCachedSize(int size) const final;
550  void InternalSwap(FuelMetadata_World* other);
551  private:
552  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
553  return NULL;
554  }
555  inline void* MaybeArenaPtr() const {
556  return NULL;
557  }
558  public:
559 
560  ::google::protobuf::Metadata GetMetadata() const final;
561 
562  // nested types ----------------------------------------------------
563 
564  // accessors -------------------------------------------------------
565 
566  // string file = 1;
567  void clear_file();
568  static const int kFileFieldNumber = 1;
569  const ::std::string& file() const;
570  void set_file(const ::std::string& value);
571  #if LANG_CXX11
572  void set_file(::std::string&& value);
573  #endif
574  void set_file(const char* value);
575  void set_file(const char* value, size_t size);
576  ::std::string* mutable_file();
577  ::std::string* release_file();
578  void set_allocated_file(::std::string* file);
579 
580  // .gz.msgs.VersionedName file_format = 2;
581  bool has_file_format() const;
582  void clear_file_format();
583  static const int kFileFormatFieldNumber = 2;
584  private:
585  const ::gz::msgs::VersionedName& _internal_file_format() const;
586  public:
587  const ::gz::msgs::VersionedName& file_format() const;
588  ::gz::msgs::VersionedName* release_file_format();
589  ::gz::msgs::VersionedName* mutable_file_format();
590  void set_allocated_file_format(::gz::msgs::VersionedName* file_format);
591 
592  // @@protoc_insertion_point(class_scope:gz.msgs.FuelMetadata.World)
593  private:
594 
595  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
596  ::google::protobuf::internal::ArenaStringPtr file_;
597  ::gz::msgs::VersionedName* file_format_;
598  mutable ::google::protobuf::internal::CachedSize _cached_size_;
599  friend struct ::protobuf_gz_2fmsgs_2ffuel_5fmetadata_2eproto::TableStruct;
600 };
601 // -------------------------------------------------------------------
602 
603 class GZ_MSGS_VISIBLE FuelMetadata_Dependency : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.FuelMetadata.Dependency) */ {
604  public:
606  virtual ~FuelMetadata_Dependency();
607 
609 
611  CopyFrom(from);
612  return *this;
613  }
614  #if LANG_CXX11
617  *this = ::std::move(from);
618  }
619 
620  inline FuelMetadata_Dependency& operator=(FuelMetadata_Dependency&& from) noexcept {
621  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
622  if (this != &from) InternalSwap(&from);
623  } else {
624  CopyFrom(from);
625  }
626  return *this;
627  }
628  #endif
629  static const ::google::protobuf::Descriptor* descriptor();
630  static const FuelMetadata_Dependency& default_instance();
631 
632  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
634  return reinterpret_cast<const FuelMetadata_Dependency*>(
636  }
637  static constexpr int kIndexInFileMessages =
638  4;
639 
640  void Swap(FuelMetadata_Dependency* other);
642  a.Swap(&b);
643  }
644 
645  // implements Message ----------------------------------------------
646 
647  inline FuelMetadata_Dependency* New() const final {
648  return CreateMaybeMessage<FuelMetadata_Dependency>(NULL);
649  }
650 
651  FuelMetadata_Dependency* New(::google::protobuf::Arena* arena) const final {
652  return CreateMaybeMessage<FuelMetadata_Dependency>(arena);
653  }
654  void CopyFrom(const ::google::protobuf::Message& from) final;
655  void MergeFrom(const ::google::protobuf::Message& from) final;
656  void CopyFrom(const FuelMetadata_Dependency& from);
657  void MergeFrom(const FuelMetadata_Dependency& from);
658  void Clear() final;
659  bool IsInitialized() const final;
660 
661  size_t ByteSizeLong() const final;
662  bool MergePartialFromCodedStream(
663  ::google::protobuf::io::CodedInputStream* input) final;
664  void SerializeWithCachedSizes(
665  ::google::protobuf::io::CodedOutputStream* output) const final;
666  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
667  bool deterministic, ::google::protobuf::uint8* target) const final;
668  int GetCachedSize() const final { return _cached_size_.Get(); }
669 
670  private:
671  void SharedCtor();
672  void SharedDtor();
673  void SetCachedSize(int size) const final;
674  void InternalSwap(FuelMetadata_Dependency* other);
675  private:
676  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
677  return NULL;
678  }
679  inline void* MaybeArenaPtr() const {
680  return NULL;
681  }
682  public:
683 
684  ::google::protobuf::Metadata GetMetadata() const final;
685 
686  // nested types ----------------------------------------------------
687 
688  // accessors -------------------------------------------------------
689 
690  // string uri = 1;
691  void clear_uri();
692  static const int kUriFieldNumber = 1;
693  const ::std::string& uri() const;
694  void set_uri(const ::std::string& value);
695  #if LANG_CXX11
696  void set_uri(::std::string&& value);
697  #endif
698  void set_uri(const char* value);
699  void set_uri(const char* value, size_t size);
700  ::std::string* mutable_uri();
701  ::std::string* release_uri();
702  void set_allocated_uri(::std::string* uri);
703 
704  // @@protoc_insertion_point(class_scope:gz.msgs.FuelMetadata.Dependency)
705  private:
706 
707  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
708  ::google::protobuf::internal::ArenaStringPtr uri_;
709  mutable ::google::protobuf::internal::CachedSize _cached_size_;
710  friend struct ::protobuf_gz_2fmsgs_2ffuel_5fmetadata_2eproto::TableStruct;
711 };
712 // -------------------------------------------------------------------
713 
714 class GZ_MSGS_VISIBLE FuelMetadata_Compatibility : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.FuelMetadata.Compatibility) */ {
715  public:
717  virtual ~FuelMetadata_Compatibility();
718 
720 
722  CopyFrom(from);
723  return *this;
724  }
725  #if LANG_CXX11
728  *this = ::std::move(from);
729  }
730 
731  inline FuelMetadata_Compatibility& operator=(FuelMetadata_Compatibility&& from) noexcept {
732  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
733  if (this != &from) InternalSwap(&from);
734  } else {
735  CopyFrom(from);
736  }
737  return *this;
738  }
739  #endif
740  static const ::google::protobuf::Descriptor* descriptor();
741  static const FuelMetadata_Compatibility& default_instance();
742 
744  kVersion = 2,
745  kVersionRange = 3,
746  VERSION_TYPE_NOT_SET = 0,
747  };
748 
749  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
751  return reinterpret_cast<const FuelMetadata_Compatibility*>(
753  }
754  static constexpr int kIndexInFileMessages =
755  5;
756 
757  void Swap(FuelMetadata_Compatibility* other);
759  a.Swap(&b);
760  }
761 
762  // implements Message ----------------------------------------------
763 
764  inline FuelMetadata_Compatibility* New() const final {
765  return CreateMaybeMessage<FuelMetadata_Compatibility>(NULL);
766  }
767 
768  FuelMetadata_Compatibility* New(::google::protobuf::Arena* arena) const final {
769  return CreateMaybeMessage<FuelMetadata_Compatibility>(arena);
770  }
771  void CopyFrom(const ::google::protobuf::Message& from) final;
772  void MergeFrom(const ::google::protobuf::Message& from) final;
773  void CopyFrom(const FuelMetadata_Compatibility& from);
774  void MergeFrom(const FuelMetadata_Compatibility& from);
775  void Clear() final;
776  bool IsInitialized() const final;
777 
778  size_t ByteSizeLong() const final;
779  bool MergePartialFromCodedStream(
780  ::google::protobuf::io::CodedInputStream* input) final;
781  void SerializeWithCachedSizes(
782  ::google::protobuf::io::CodedOutputStream* output) const final;
783  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
784  bool deterministic, ::google::protobuf::uint8* target) const final;
785  int GetCachedSize() const final { return _cached_size_.Get(); }
786 
787  private:
788  void SharedCtor();
789  void SharedDtor();
790  void SetCachedSize(int size) const final;
791  void InternalSwap(FuelMetadata_Compatibility* other);
792  private:
793  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
794  return NULL;
795  }
796  inline void* MaybeArenaPtr() const {
797  return NULL;
798  }
799  public:
800 
801  ::google::protobuf::Metadata GetMetadata() const final;
802 
803  // nested types ----------------------------------------------------
804 
805  // accessors -------------------------------------------------------
806 
807  // string name = 1;
808  void clear_name();
809  static const int kNameFieldNumber = 1;
810  const ::std::string& name() const;
811  void set_name(const ::std::string& value);
812  #if LANG_CXX11
813  void set_name(::std::string&& value);
814  #endif
815  void set_name(const char* value);
816  void set_name(const char* value, size_t size);
817  ::std::string* mutable_name();
818  ::std::string* release_name();
819  void set_allocated_name(::std::string* name);
820 
821  // .gz.msgs.Version version = 2;
822  bool has_version() const;
823  void clear_version();
824  static const int kVersionFieldNumber = 2;
825  private:
826  const ::gz::msgs::Version& _internal_version() const;
827  public:
828  const ::gz::msgs::Version& version() const;
829  ::gz::msgs::Version* release_version();
830  ::gz::msgs::Version* mutable_version();
831  void set_allocated_version(::gz::msgs::Version* version);
832 
833  // .gz.msgs.VersionRange version_range = 3;
834  bool has_version_range() const;
835  void clear_version_range();
836  static const int kVersionRangeFieldNumber = 3;
837  private:
838  const ::gz::msgs::VersionRange& _internal_version_range() const;
839  public:
840  const ::gz::msgs::VersionRange& version_range() const;
841  ::gz::msgs::VersionRange* release_version_range();
842  ::gz::msgs::VersionRange* mutable_version_range();
843  void set_allocated_version_range(::gz::msgs::VersionRange* version_range);
844 
845  void clear_version_type();
846  VersionTypeCase version_type_case() const;
847  // @@protoc_insertion_point(class_scope:gz.msgs.FuelMetadata.Compatibility)
848  private:
849  void set_has_version();
850  void set_has_version_range();
851 
852  inline bool has_version_type() const;
853  inline void clear_has_version_type();
854 
855  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
856  ::google::protobuf::internal::ArenaStringPtr name_;
857  union VersionTypeUnion {
858  VersionTypeUnion() {}
859  ::gz::msgs::Version* version_;
860  ::gz::msgs::VersionRange* version_range_;
861  } version_type_;
862  mutable ::google::protobuf::internal::CachedSize _cached_size_;
863  ::google::protobuf::uint32 _oneof_case_[1];
864 
865  friend struct ::protobuf_gz_2fmsgs_2ffuel_5fmetadata_2eproto::TableStruct;
866 };
867 // -------------------------------------------------------------------
868 
869 class GZ_MSGS_VISIBLE FuelMetadata_Categories : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.FuelMetadata.Categories) */ {
870  public:
872  virtual ~FuelMetadata_Categories();
873 
875 
877  CopyFrom(from);
878  return *this;
879  }
880  #if LANG_CXX11
883  *this = ::std::move(from);
884  }
885 
886  inline FuelMetadata_Categories& operator=(FuelMetadata_Categories&& from) noexcept {
887  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
888  if (this != &from) InternalSwap(&from);
889  } else {
890  CopyFrom(from);
891  }
892  return *this;
893  }
894  #endif
895  static const ::google::protobuf::Descriptor* descriptor();
896  static const FuelMetadata_Categories& default_instance();
897 
898  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
900  return reinterpret_cast<const FuelMetadata_Categories*>(
902  }
903  static constexpr int kIndexInFileMessages =
904  6;
905 
906  void Swap(FuelMetadata_Categories* other);
908  a.Swap(&b);
909  }
910 
911  // implements Message ----------------------------------------------
912 
913  inline FuelMetadata_Categories* New() const final {
914  return CreateMaybeMessage<FuelMetadata_Categories>(NULL);
915  }
916 
917  FuelMetadata_Categories* New(::google::protobuf::Arena* arena) const final {
918  return CreateMaybeMessage<FuelMetadata_Categories>(arena);
919  }
920  void CopyFrom(const ::google::protobuf::Message& from) final;
921  void MergeFrom(const ::google::protobuf::Message& from) final;
922  void CopyFrom(const FuelMetadata_Categories& from);
923  void MergeFrom(const FuelMetadata_Categories& from);
924  void Clear() final;
925  bool IsInitialized() const final;
926 
927  size_t ByteSizeLong() const final;
928  bool MergePartialFromCodedStream(
929  ::google::protobuf::io::CodedInputStream* input) final;
930  void SerializeWithCachedSizes(
931  ::google::protobuf::io::CodedOutputStream* output) const final;
932  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
933  bool deterministic, ::google::protobuf::uint8* target) const final;
934  int GetCachedSize() const final { return _cached_size_.Get(); }
935 
936  private:
937  void SharedCtor();
938  void SharedDtor();
939  void SetCachedSize(int size) const final;
940  void InternalSwap(FuelMetadata_Categories* other);
941  private:
942  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
943  return NULL;
944  }
945  inline void* MaybeArenaPtr() const {
946  return NULL;
947  }
948  public:
949 
950  ::google::protobuf::Metadata GetMetadata() const final;
951 
952  // nested types ----------------------------------------------------
953 
954  // accessors -------------------------------------------------------
955 
956  // string first = 1;
957  void clear_first();
958  static const int kFirstFieldNumber = 1;
959  const ::std::string& first() const;
960  void set_first(const ::std::string& value);
961  #if LANG_CXX11
962  void set_first(::std::string&& value);
963  #endif
964  void set_first(const char* value);
965  void set_first(const char* value, size_t size);
966  ::std::string* mutable_first();
967  ::std::string* release_first();
968  void set_allocated_first(::std::string* first);
969 
970  // string second = 2;
971  void clear_second();
972  static const int kSecondFieldNumber = 2;
973  const ::std::string& second() const;
974  void set_second(const ::std::string& value);
975  #if LANG_CXX11
976  void set_second(::std::string&& value);
977  #endif
978  void set_second(const char* value);
979  void set_second(const char* value, size_t size);
980  ::std::string* mutable_second();
981  ::std::string* release_second();
982  void set_allocated_second(::std::string* second);
983 
984  // @@protoc_insertion_point(class_scope:gz.msgs.FuelMetadata.Categories)
985  private:
986 
987  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
988  ::google::protobuf::internal::ArenaStringPtr first_;
989  ::google::protobuf::internal::ArenaStringPtr second_;
990  mutable ::google::protobuf::internal::CachedSize _cached_size_;
991  friend struct ::protobuf_gz_2fmsgs_2ffuel_5fmetadata_2eproto::TableStruct;
992 };
993 // -------------------------------------------------------------------
994 
995 class FuelMetadata_AnnotationsEntry_DoNotUse : public ::google::protobuf::internal::MapEntry<FuelMetadata_AnnotationsEntry_DoNotUse,
996  ::std::string, ::std::string,
997  ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
998  ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
999  0 > {
1000 public:
1001  typedef ::google::protobuf::internal::MapEntry<FuelMetadata_AnnotationsEntry_DoNotUse,
1003  ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
1004  ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
1007  FuelMetadata_AnnotationsEntry_DoNotUse(::google::protobuf::Arena* arena);
1010  void MergeFrom(const ::google::protobuf::Message& other) final;
1011  ::google::protobuf::Metadata GetMetadata() const;
1012 };
1013 
1014 // -------------------------------------------------------------------
1015 
1016 class GZ_MSGS_VISIBLE FuelMetadata : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.FuelMetadata) */ {
1017  public:
1018  FuelMetadata();
1019  virtual ~FuelMetadata();
1020 
1021  FuelMetadata(const FuelMetadata& from);
1022 
1023  inline FuelMetadata& operator=(const FuelMetadata& from) {
1024  CopyFrom(from);
1025  return *this;
1026  }
1027  #if LANG_CXX11
1028  FuelMetadata(FuelMetadata&& from) noexcept
1029  : FuelMetadata() {
1030  *this = ::std::move(from);
1031  }
1032 
1033  inline FuelMetadata& operator=(FuelMetadata&& from) noexcept {
1034  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1035  if (this != &from) InternalSwap(&from);
1036  } else {
1037  CopyFrom(from);
1038  }
1039  return *this;
1040  }
1041  #endif
1042  static const ::google::protobuf::Descriptor* descriptor();
1043  static const FuelMetadata& default_instance();
1044 
1046  kModel = 1,
1047  kWorld = 2,
1048  RESOURCE_TYPE_NOT_SET = 0,
1049  };
1050 
1051  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
1052  static inline const FuelMetadata* internal_default_instance() {
1053  return reinterpret_cast<const FuelMetadata*>(
1055  }
1056  static constexpr int kIndexInFileMessages =
1057  8;
1058 
1059  void Swap(FuelMetadata* other);
1060  friend void swap(FuelMetadata& a, FuelMetadata& b) {
1061  a.Swap(&b);
1062  }
1063 
1064  // implements Message ----------------------------------------------
1065 
1066  inline FuelMetadata* New() const final {
1067  return CreateMaybeMessage<FuelMetadata>(NULL);
1068  }
1069 
1070  FuelMetadata* New(::google::protobuf::Arena* arena) const final {
1071  return CreateMaybeMessage<FuelMetadata>(arena);
1072  }
1073  void CopyFrom(const ::google::protobuf::Message& from) final;
1074  void MergeFrom(const ::google::protobuf::Message& from) final;
1075  void CopyFrom(const FuelMetadata& from);
1076  void MergeFrom(const FuelMetadata& from);
1077  void Clear() final;
1078  bool IsInitialized() const final;
1079 
1080  size_t ByteSizeLong() const final;
1081  bool MergePartialFromCodedStream(
1082  ::google::protobuf::io::CodedInputStream* input) final;
1083  void SerializeWithCachedSizes(
1084  ::google::protobuf::io::CodedOutputStream* output) const final;
1085  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1086  bool deterministic, ::google::protobuf::uint8* target) const final;
1087  int GetCachedSize() const final { return _cached_size_.Get(); }
1088 
1089  private:
1090  void SharedCtor();
1091  void SharedDtor();
1092  void SetCachedSize(int size) const final;
1093  void InternalSwap(FuelMetadata* other);
1094  private:
1095  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1096  return NULL;
1097  }
1098  inline void* MaybeArenaPtr() const {
1099  return NULL;
1100  }
1101  public:
1102 
1103  ::google::protobuf::Metadata GetMetadata() const final;
1104 
1105  // nested types ----------------------------------------------------
1106 
1114 
1115  // accessors -------------------------------------------------------
1116 
1117  // repeated .gz.msgs.FuelMetadata.Contact authors = 6;
1118  int authors_size() const;
1119  void clear_authors();
1120  static const int kAuthorsFieldNumber = 6;
1121  ::gz::msgs::FuelMetadata_Contact* mutable_authors(int index);
1122  ::google::protobuf::RepeatedPtrField< ::gz::msgs::FuelMetadata_Contact >*
1123  mutable_authors();
1124  const ::gz::msgs::FuelMetadata_Contact& authors(int index) const;
1125  ::gz::msgs::FuelMetadata_Contact* add_authors();
1126  const ::google::protobuf::RepeatedPtrField< ::gz::msgs::FuelMetadata_Contact >&
1127  authors() const;
1128 
1129  // repeated string tags = 8;
1130  int tags_size() const;
1131  void clear_tags();
1132  static const int kTagsFieldNumber = 8;
1133  const ::std::string& tags(int index) const;
1134  ::std::string* mutable_tags(int index);
1135  void set_tags(int index, const ::std::string& value);
1136  #if LANG_CXX11
1137  void set_tags(int index, ::std::string&& value);
1138  #endif
1139  void set_tags(int index, const char* value);
1140  void set_tags(int index, const char* value, size_t size);
1141  ::std::string* add_tags();
1142  void add_tags(const ::std::string& value);
1143  #if LANG_CXX11
1144  void add_tags(::std::string&& value);
1145  #endif
1146  void add_tags(const char* value);
1147  void add_tags(const char* value, size_t size);
1148  const ::google::protobuf::RepeatedPtrField< ::std::string>& tags() const;
1149  ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_tags();
1150 
1151  // map<string, string> annotations = 9;
1152  int annotations_size() const;
1153  void clear_annotations();
1154  static const int kAnnotationsFieldNumber = 9;
1155  const ::google::protobuf::Map< ::std::string, ::std::string >&
1156  annotations() const;
1157  ::google::protobuf::Map< ::std::string, ::std::string >*
1158  mutable_annotations();
1159 
1160  // repeated .gz.msgs.FuelMetadata.Dependency dependencies = 10;
1161  int dependencies_size() const;
1162  void clear_dependencies();
1163  static const int kDependenciesFieldNumber = 10;
1164  ::gz::msgs::FuelMetadata_Dependency* mutable_dependencies(int index);
1165  ::google::protobuf::RepeatedPtrField< ::gz::msgs::FuelMetadata_Dependency >*
1166  mutable_dependencies();
1167  const ::gz::msgs::FuelMetadata_Dependency& dependencies(int index) const;
1168  ::gz::msgs::FuelMetadata_Dependency* add_dependencies();
1169  const ::google::protobuf::RepeatedPtrField< ::gz::msgs::FuelMetadata_Dependency >&
1170  dependencies() const;
1171 
1172  // repeated .gz.msgs.FuelMetadata.Compatibility compatibilities = 11;
1173  int compatibilities_size() const;
1174  void clear_compatibilities();
1175  static const int kCompatibilitiesFieldNumber = 11;
1176  ::gz::msgs::FuelMetadata_Compatibility* mutable_compatibilities(int index);
1177  ::google::protobuf::RepeatedPtrField< ::gz::msgs::FuelMetadata_Compatibility >*
1178  mutable_compatibilities();
1179  const ::gz::msgs::FuelMetadata_Compatibility& compatibilities(int index) const;
1180  ::gz::msgs::FuelMetadata_Compatibility* add_compatibilities();
1181  const ::google::protobuf::RepeatedPtrField< ::gz::msgs::FuelMetadata_Compatibility >&
1182  compatibilities() const;
1183 
1184  // string name = 3;
1185  void clear_name();
1186  static const int kNameFieldNumber = 3;
1187  const ::std::string& name() const;
1188  void set_name(const ::std::string& value);
1189  #if LANG_CXX11
1190  void set_name(::std::string&& value);
1191  #endif
1192  void set_name(const char* value);
1193  void set_name(const char* value, size_t size);
1194  ::std::string* mutable_name();
1195  ::std::string* release_name();
1196  void set_allocated_name(::std::string* name);
1197 
1198  // string description = 4;
1199  void clear_description();
1200  static const int kDescriptionFieldNumber = 4;
1201  const ::std::string& description() const;
1202  void set_description(const ::std::string& value);
1203  #if LANG_CXX11
1204  void set_description(::std::string&& value);
1205  #endif
1206  void set_description(const char* value);
1207  void set_description(const char* value, size_t size);
1208  ::std::string* mutable_description();
1209  ::std::string* release_description();
1210  void set_allocated_description(::std::string* description);
1211 
1212  // .gz.msgs.FuelMetadata.Legal legal = 7;
1213  bool has_legal() const;
1214  void clear_legal();
1215  static const int kLegalFieldNumber = 7;
1216  private:
1217  const ::gz::msgs::FuelMetadata_Legal& _internal_legal() const;
1218  public:
1219  const ::gz::msgs::FuelMetadata_Legal& legal() const;
1220  ::gz::msgs::FuelMetadata_Legal* release_legal();
1221  ::gz::msgs::FuelMetadata_Legal* mutable_legal();
1222  void set_allocated_legal(::gz::msgs::FuelMetadata_Legal* legal);
1223 
1224  // .gz.msgs.FuelMetadata.Categories categories = 12;
1225  bool has_categories() const;
1226  void clear_categories();
1227  static const int kCategoriesFieldNumber = 12;
1228  private:
1229  const ::gz::msgs::FuelMetadata_Categories& _internal_categories() const;
1230  public:
1231  const ::gz::msgs::FuelMetadata_Categories& categories() const;
1232  ::gz::msgs::FuelMetadata_Categories* release_categories();
1233  ::gz::msgs::FuelMetadata_Categories* mutable_categories();
1234  void set_allocated_categories(::gz::msgs::FuelMetadata_Categories* categories);
1235 
1236  // int32 version = 5;
1237  void clear_version();
1238  static const int kVersionFieldNumber = 5;
1239  ::google::protobuf::int32 version() const;
1240  void set_version(::google::protobuf::int32 value);
1241 
1242  // .gz.msgs.FuelMetadata.Model model = 1;
1243  bool has_model() const;
1244  void clear_model();
1245  static const int kModelFieldNumber = 1;
1246  private:
1247  const ::gz::msgs::FuelMetadata_Model& _internal_model() const;
1248  public:
1249  const ::gz::msgs::FuelMetadata_Model& model() const;
1250  ::gz::msgs::FuelMetadata_Model* release_model();
1251  ::gz::msgs::FuelMetadata_Model* mutable_model();
1252  void set_allocated_model(::gz::msgs::FuelMetadata_Model* model);
1253 
1254  // .gz.msgs.FuelMetadata.World world = 2;
1255  bool has_world() const;
1256  void clear_world();
1257  static const int kWorldFieldNumber = 2;
1258  private:
1259  const ::gz::msgs::FuelMetadata_World& _internal_world() const;
1260  public:
1261  const ::gz::msgs::FuelMetadata_World& world() const;
1262  ::gz::msgs::FuelMetadata_World* release_world();
1263  ::gz::msgs::FuelMetadata_World* mutable_world();
1264  void set_allocated_world(::gz::msgs::FuelMetadata_World* world);
1265 
1266  void clear_resource_type();
1267  ResourceTypeCase resource_type_case() const;
1268  // @@protoc_insertion_point(class_scope:gz.msgs.FuelMetadata)
1269  private:
1270  void set_has_model();
1271  void set_has_world();
1272 
1273  inline bool has_resource_type() const;
1274  inline void clear_has_resource_type();
1275 
1276  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1277  ::google::protobuf::RepeatedPtrField< ::gz::msgs::FuelMetadata_Contact > authors_;
1278  ::google::protobuf::RepeatedPtrField< ::std::string> tags_;
1279  ::google::protobuf::internal::MapField<
1282  ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
1283  ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
1284  0 > annotations_;
1285  ::google::protobuf::RepeatedPtrField< ::gz::msgs::FuelMetadata_Dependency > dependencies_;
1286  ::google::protobuf::RepeatedPtrField< ::gz::msgs::FuelMetadata_Compatibility > compatibilities_;
1287  ::google::protobuf::internal::ArenaStringPtr name_;
1288  ::google::protobuf::internal::ArenaStringPtr description_;
1291  ::google::protobuf::int32 version_;
1292  union ResourceTypeUnion {
1293  ResourceTypeUnion() {}
1296  } resource_type_;
1297  mutable ::google::protobuf::internal::CachedSize _cached_size_;
1298  ::google::protobuf::uint32 _oneof_case_[1];
1299 
1300  friend struct ::protobuf_gz_2fmsgs_2ffuel_5fmetadata_2eproto::TableStruct;
1301 };
1302 // ===================================================================
1303 
1304 
1305 // ===================================================================
1306 
1307 #ifdef __GNUC__
1308  #pragma GCC diagnostic push
1309  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1310 #endif // __GNUC__
1311 // FuelMetadata_Contact
1312 
1313 // string name = 1;
1315  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1316 }
1317 inline const ::std::string& FuelMetadata_Contact::name() const {
1318  // @@protoc_insertion_point(field_get:gz.msgs.FuelMetadata.Contact.name)
1319  return name_.GetNoArena();
1320 }
1321 inline void FuelMetadata_Contact::set_name(const ::std::string& value) {
1322 
1323  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1324  // @@protoc_insertion_point(field_set:gz.msgs.FuelMetadata.Contact.name)
1325 }
1326 #if LANG_CXX11
1327 inline void FuelMetadata_Contact::set_name(::std::string&& value) {
1328 
1329  name_.SetNoArena(
1330  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1331  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.FuelMetadata.Contact.name)
1332 }
1333 #endif
1334 inline void FuelMetadata_Contact::set_name(const char* value) {
1335  GOOGLE_DCHECK(value != NULL);
1336 
1337  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1338  // @@protoc_insertion_point(field_set_char:gz.msgs.FuelMetadata.Contact.name)
1339 }
1340 inline void FuelMetadata_Contact::set_name(const char* value, size_t size) {
1341 
1342  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1343  ::std::string(reinterpret_cast<const char*>(value), size));
1344  // @@protoc_insertion_point(field_set_pointer:gz.msgs.FuelMetadata.Contact.name)
1345 }
1346 inline ::std::string* FuelMetadata_Contact::mutable_name() {
1347 
1348  // @@protoc_insertion_point(field_mutable:gz.msgs.FuelMetadata.Contact.name)
1349  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1350 }
1351 inline ::std::string* FuelMetadata_Contact::release_name() {
1352  // @@protoc_insertion_point(field_release:gz.msgs.FuelMetadata.Contact.name)
1353 
1354  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1355 }
1357  if (name != NULL) {
1358 
1359  } else {
1360 
1361  }
1362  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
1363  // @@protoc_insertion_point(field_set_allocated:gz.msgs.FuelMetadata.Contact.name)
1364 }
1365 
1366 // string email = 2;
1368  email_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1369 }
1370 inline const ::std::string& FuelMetadata_Contact::email() const {
1371  // @@protoc_insertion_point(field_get:gz.msgs.FuelMetadata.Contact.email)
1372  return email_.GetNoArena();
1373 }
1374 inline void FuelMetadata_Contact::set_email(const ::std::string& value) {
1375 
1376  email_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1377  // @@protoc_insertion_point(field_set:gz.msgs.FuelMetadata.Contact.email)
1378 }
1379 #if LANG_CXX11
1380 inline void FuelMetadata_Contact::set_email(::std::string&& value) {
1381 
1382  email_.SetNoArena(
1383  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1384  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.FuelMetadata.Contact.email)
1385 }
1386 #endif
1387 inline void FuelMetadata_Contact::set_email(const char* value) {
1388  GOOGLE_DCHECK(value != NULL);
1389 
1390  email_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1391  // @@protoc_insertion_point(field_set_char:gz.msgs.FuelMetadata.Contact.email)
1392 }
1393 inline void FuelMetadata_Contact::set_email(const char* value, size_t size) {
1394 
1395  email_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1396  ::std::string(reinterpret_cast<const char*>(value), size));
1397  // @@protoc_insertion_point(field_set_pointer:gz.msgs.FuelMetadata.Contact.email)
1398 }
1399 inline ::std::string* FuelMetadata_Contact::mutable_email() {
1400 
1401  // @@protoc_insertion_point(field_mutable:gz.msgs.FuelMetadata.Contact.email)
1402  return email_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1403 }
1404 inline ::std::string* FuelMetadata_Contact::release_email() {
1405  // @@protoc_insertion_point(field_release:gz.msgs.FuelMetadata.Contact.email)
1406 
1407  return email_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1408 }
1410  if (email != NULL) {
1411 
1412  } else {
1413 
1414  }
1415  email_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), email);
1416  // @@protoc_insertion_point(field_set_allocated:gz.msgs.FuelMetadata.Contact.email)
1417 }
1418 
1419 // -------------------------------------------------------------------
1420 
1421 // FuelMetadata_Legal
1422 
1423 // string copyright = 1;
1425  copyright_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1426 }
1427 inline const ::std::string& FuelMetadata_Legal::copyright() const {
1428  // @@protoc_insertion_point(field_get:gz.msgs.FuelMetadata.Legal.copyright)
1429  return copyright_.GetNoArena();
1430 }
1431 inline void FuelMetadata_Legal::set_copyright(const ::std::string& value) {
1432 
1433  copyright_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1434  // @@protoc_insertion_point(field_set:gz.msgs.FuelMetadata.Legal.copyright)
1435 }
1436 #if LANG_CXX11
1437 inline void FuelMetadata_Legal::set_copyright(::std::string&& value) {
1438 
1439  copyright_.SetNoArena(
1440  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1441  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.FuelMetadata.Legal.copyright)
1442 }
1443 #endif
1444 inline void FuelMetadata_Legal::set_copyright(const char* value) {
1445  GOOGLE_DCHECK(value != NULL);
1446 
1447  copyright_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1448  // @@protoc_insertion_point(field_set_char:gz.msgs.FuelMetadata.Legal.copyright)
1449 }
1450 inline void FuelMetadata_Legal::set_copyright(const char* value, size_t size) {
1451 
1452  copyright_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1453  ::std::string(reinterpret_cast<const char*>(value), size));
1454  // @@protoc_insertion_point(field_set_pointer:gz.msgs.FuelMetadata.Legal.copyright)
1455 }
1456 inline ::std::string* FuelMetadata_Legal::mutable_copyright() {
1457 
1458  // @@protoc_insertion_point(field_mutable:gz.msgs.FuelMetadata.Legal.copyright)
1459  return copyright_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1460 }
1461 inline ::std::string* FuelMetadata_Legal::release_copyright() {
1462  // @@protoc_insertion_point(field_release:gz.msgs.FuelMetadata.Legal.copyright)
1463 
1464  return copyright_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1465 }
1467  if (copyright != NULL) {
1468 
1469  } else {
1470 
1471  }
1472  copyright_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), copyright);
1473  // @@protoc_insertion_point(field_set_allocated:gz.msgs.FuelMetadata.Legal.copyright)
1474 }
1475 
1476 // string license = 2;
1478  license_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1479 }
1480 inline const ::std::string& FuelMetadata_Legal::license() const {
1481  // @@protoc_insertion_point(field_get:gz.msgs.FuelMetadata.Legal.license)
1482  return license_.GetNoArena();
1483 }
1484 inline void FuelMetadata_Legal::set_license(const ::std::string& value) {
1485 
1486  license_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1487  // @@protoc_insertion_point(field_set:gz.msgs.FuelMetadata.Legal.license)
1488 }
1489 #if LANG_CXX11
1490 inline void FuelMetadata_Legal::set_license(::std::string&& value) {
1491 
1492  license_.SetNoArena(
1493  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1494  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.FuelMetadata.Legal.license)
1495 }
1496 #endif
1497 inline void FuelMetadata_Legal::set_license(const char* value) {
1498  GOOGLE_DCHECK(value != NULL);
1499 
1500  license_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1501  // @@protoc_insertion_point(field_set_char:gz.msgs.FuelMetadata.Legal.license)
1502 }
1503 inline void FuelMetadata_Legal::set_license(const char* value, size_t size) {
1504 
1505  license_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1506  ::std::string(reinterpret_cast<const char*>(value), size));
1507  // @@protoc_insertion_point(field_set_pointer:gz.msgs.FuelMetadata.Legal.license)
1508 }
1509 inline ::std::string* FuelMetadata_Legal::mutable_license() {
1510 
1511  // @@protoc_insertion_point(field_mutable:gz.msgs.FuelMetadata.Legal.license)
1512  return license_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1513 }
1514 inline ::std::string* FuelMetadata_Legal::release_license() {
1515  // @@protoc_insertion_point(field_release:gz.msgs.FuelMetadata.Legal.license)
1516 
1517  return license_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1518 }
1520  if (license != NULL) {
1521 
1522  } else {
1523 
1524  }
1525  license_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), license);
1526  // @@protoc_insertion_point(field_set_allocated:gz.msgs.FuelMetadata.Legal.license)
1527 }
1528 
1529 // -------------------------------------------------------------------
1530 
1531 // FuelMetadata_Model
1532 
1533 // string file = 1;
1535  file_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1536 }
1537 inline const ::std::string& FuelMetadata_Model::file() const {
1538  // @@protoc_insertion_point(field_get:gz.msgs.FuelMetadata.Model.file)
1539  return file_.GetNoArena();
1540 }
1541 inline void FuelMetadata_Model::set_file(const ::std::string& value) {
1542 
1543  file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1544  // @@protoc_insertion_point(field_set:gz.msgs.FuelMetadata.Model.file)
1545 }
1546 #if LANG_CXX11
1547 inline void FuelMetadata_Model::set_file(::std::string&& value) {
1548 
1549  file_.SetNoArena(
1550  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1551  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.FuelMetadata.Model.file)
1552 }
1553 #endif
1554 inline void FuelMetadata_Model::set_file(const char* value) {
1555  GOOGLE_DCHECK(value != NULL);
1556 
1557  file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1558  // @@protoc_insertion_point(field_set_char:gz.msgs.FuelMetadata.Model.file)
1559 }
1560 inline void FuelMetadata_Model::set_file(const char* value, size_t size) {
1561 
1562  file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1563  ::std::string(reinterpret_cast<const char*>(value), size));
1564  // @@protoc_insertion_point(field_set_pointer:gz.msgs.FuelMetadata.Model.file)
1565 }
1566 inline ::std::string* FuelMetadata_Model::mutable_file() {
1567 
1568  // @@protoc_insertion_point(field_mutable:gz.msgs.FuelMetadata.Model.file)
1569  return file_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1570 }
1571 inline ::std::string* FuelMetadata_Model::release_file() {
1572  // @@protoc_insertion_point(field_release:gz.msgs.FuelMetadata.Model.file)
1573 
1574  return file_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1575 }
1577  if (file != NULL) {
1578 
1579  } else {
1580 
1581  }
1582  file_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), file);
1583  // @@protoc_insertion_point(field_set_allocated:gz.msgs.FuelMetadata.Model.file)
1584 }
1585 
1586 // .gz.msgs.VersionedName file_format = 2;
1588  return this != internal_default_instance() && file_format_ != NULL;
1589 }
1590 inline const ::gz::msgs::VersionedName& FuelMetadata_Model::_internal_file_format() const {
1591  return *file_format_;
1592 }
1593 inline const ::gz::msgs::VersionedName& FuelMetadata_Model::file_format() const {
1594  const ::gz::msgs::VersionedName* p = file_format_;
1595  // @@protoc_insertion_point(field_get:gz.msgs.FuelMetadata.Model.file_format)
1596  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::VersionedName*>(
1598 }
1599 inline ::gz::msgs::VersionedName* FuelMetadata_Model::release_file_format() {
1600  // @@protoc_insertion_point(field_release:gz.msgs.FuelMetadata.Model.file_format)
1601 
1602  ::gz::msgs::VersionedName* temp = file_format_;
1603  file_format_ = NULL;
1604  return temp;
1605 }
1606 inline ::gz::msgs::VersionedName* FuelMetadata_Model::mutable_file_format() {
1607 
1608  if (file_format_ == NULL) {
1609  auto* p = CreateMaybeMessage<::gz::msgs::VersionedName>(GetArenaNoVirtual());
1610  file_format_ = p;
1611  }
1612  // @@protoc_insertion_point(field_mutable:gz.msgs.FuelMetadata.Model.file_format)
1613  return file_format_;
1614 }
1616  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1617  if (message_arena == NULL) {
1618  delete reinterpret_cast< ::google::protobuf::MessageLite*>(file_format_);
1619  }
1620  if (file_format) {
1621  ::google::protobuf::Arena* submessage_arena = NULL;
1622  if (message_arena != submessage_arena) {
1623  file_format = ::google::protobuf::internal::GetOwnedMessage(
1624  message_arena, file_format, submessage_arena);
1625  }
1626 
1627  } else {
1628 
1629  }
1630  file_format_ = file_format;
1631  // @@protoc_insertion_point(field_set_allocated:gz.msgs.FuelMetadata.Model.file_format)
1632 }
1633 
1634 // -------------------------------------------------------------------
1635 
1636 // FuelMetadata_World
1637 
1638 // string file = 1;
1640  file_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1641 }
1642 inline const ::std::string& FuelMetadata_World::file() const {
1643  // @@protoc_insertion_point(field_get:gz.msgs.FuelMetadata.World.file)
1644  return file_.GetNoArena();
1645 }
1646 inline void FuelMetadata_World::set_file(const ::std::string& value) {
1647 
1648  file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1649  // @@protoc_insertion_point(field_set:gz.msgs.FuelMetadata.World.file)
1650 }
1651 #if LANG_CXX11
1652 inline void FuelMetadata_World::set_file(::std::string&& value) {
1653 
1654  file_.SetNoArena(
1655  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1656  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.FuelMetadata.World.file)
1657 }
1658 #endif
1659 inline void FuelMetadata_World::set_file(const char* value) {
1660  GOOGLE_DCHECK(value != NULL);
1661 
1662  file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1663  // @@protoc_insertion_point(field_set_char:gz.msgs.FuelMetadata.World.file)
1664 }
1665 inline void FuelMetadata_World::set_file(const char* value, size_t size) {
1666 
1667  file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1668  ::std::string(reinterpret_cast<const char*>(value), size));
1669  // @@protoc_insertion_point(field_set_pointer:gz.msgs.FuelMetadata.World.file)
1670 }
1671 inline ::std::string* FuelMetadata_World::mutable_file() {
1672 
1673  // @@protoc_insertion_point(field_mutable:gz.msgs.FuelMetadata.World.file)
1674  return file_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1675 }
1676 inline ::std::string* FuelMetadata_World::release_file() {
1677  // @@protoc_insertion_point(field_release:gz.msgs.FuelMetadata.World.file)
1678 
1679  return file_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1680 }
1682  if (file != NULL) {
1683 
1684  } else {
1685 
1686  }
1687  file_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), file);
1688  // @@protoc_insertion_point(field_set_allocated:gz.msgs.FuelMetadata.World.file)
1689 }
1690 
1691 // .gz.msgs.VersionedName file_format = 2;
1693  return this != internal_default_instance() && file_format_ != NULL;
1694 }
1695 inline const ::gz::msgs::VersionedName& FuelMetadata_World::_internal_file_format() const {
1696  return *file_format_;
1697 }
1698 inline const ::gz::msgs::VersionedName& FuelMetadata_World::file_format() const {
1699  const ::gz::msgs::VersionedName* p = file_format_;
1700  // @@protoc_insertion_point(field_get:gz.msgs.FuelMetadata.World.file_format)
1701  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::VersionedName*>(
1703 }
1704 inline ::gz::msgs::VersionedName* FuelMetadata_World::release_file_format() {
1705  // @@protoc_insertion_point(field_release:gz.msgs.FuelMetadata.World.file_format)
1706 
1707  ::gz::msgs::VersionedName* temp = file_format_;
1708  file_format_ = NULL;
1709  return temp;
1710 }
1711 inline ::gz::msgs::VersionedName* FuelMetadata_World::mutable_file_format() {
1712 
1713  if (file_format_ == NULL) {
1714  auto* p = CreateMaybeMessage<::gz::msgs::VersionedName>(GetArenaNoVirtual());
1715  file_format_ = p;
1716  }
1717  // @@protoc_insertion_point(field_mutable:gz.msgs.FuelMetadata.World.file_format)
1718  return file_format_;
1719 }
1721  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1722  if (message_arena == NULL) {
1723  delete reinterpret_cast< ::google::protobuf::MessageLite*>(file_format_);
1724  }
1725  if (file_format) {
1726  ::google::protobuf::Arena* submessage_arena = NULL;
1727  if (message_arena != submessage_arena) {
1728  file_format = ::google::protobuf::internal::GetOwnedMessage(
1729  message_arena, file_format, submessage_arena);
1730  }
1731 
1732  } else {
1733 
1734  }
1735  file_format_ = file_format;
1736  // @@protoc_insertion_point(field_set_allocated:gz.msgs.FuelMetadata.World.file_format)
1737 }
1738 
1739 // -------------------------------------------------------------------
1740 
1741 // FuelMetadata_Dependency
1742 
1743 // string uri = 1;
1745  uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1746 }
1747 inline const ::std::string& FuelMetadata_Dependency::uri() const {
1748  // @@protoc_insertion_point(field_get:gz.msgs.FuelMetadata.Dependency.uri)
1749  return uri_.GetNoArena();
1750 }
1751 inline void FuelMetadata_Dependency::set_uri(const ::std::string& value) {
1752 
1753  uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1754  // @@protoc_insertion_point(field_set:gz.msgs.FuelMetadata.Dependency.uri)
1755 }
1756 #if LANG_CXX11
1757 inline void FuelMetadata_Dependency::set_uri(::std::string&& value) {
1758 
1759  uri_.SetNoArena(
1760  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1761  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.FuelMetadata.Dependency.uri)
1762 }
1763 #endif
1764 inline void FuelMetadata_Dependency::set_uri(const char* value) {
1765  GOOGLE_DCHECK(value != NULL);
1766 
1767  uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1768  // @@protoc_insertion_point(field_set_char:gz.msgs.FuelMetadata.Dependency.uri)
1769 }
1770 inline void FuelMetadata_Dependency::set_uri(const char* value, size_t size) {
1771 
1772  uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1773  ::std::string(reinterpret_cast<const char*>(value), size));
1774  // @@protoc_insertion_point(field_set_pointer:gz.msgs.FuelMetadata.Dependency.uri)
1775 }
1776 inline ::std::string* FuelMetadata_Dependency::mutable_uri() {
1777 
1778  // @@protoc_insertion_point(field_mutable:gz.msgs.FuelMetadata.Dependency.uri)
1779  return uri_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1780 }
1781 inline ::std::string* FuelMetadata_Dependency::release_uri() {
1782  // @@protoc_insertion_point(field_release:gz.msgs.FuelMetadata.Dependency.uri)
1783 
1784  return uri_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1785 }
1787  if (uri != NULL) {
1788 
1789  } else {
1790 
1791  }
1792  uri_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), uri);
1793  // @@protoc_insertion_point(field_set_allocated:gz.msgs.FuelMetadata.Dependency.uri)
1794 }
1795 
1796 // -------------------------------------------------------------------
1797 
1798 // FuelMetadata_Compatibility
1799 
1800 // string name = 1;
1802  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1803 }
1804 inline const ::std::string& FuelMetadata_Compatibility::name() const {
1805  // @@protoc_insertion_point(field_get:gz.msgs.FuelMetadata.Compatibility.name)
1806  return name_.GetNoArena();
1807 }
1808 inline void FuelMetadata_Compatibility::set_name(const ::std::string& value) {
1809 
1810  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1811  // @@protoc_insertion_point(field_set:gz.msgs.FuelMetadata.Compatibility.name)
1812 }
1813 #if LANG_CXX11
1814 inline void FuelMetadata_Compatibility::set_name(::std::string&& value) {
1815 
1816  name_.SetNoArena(
1817  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1818  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.FuelMetadata.Compatibility.name)
1819 }
1820 #endif
1821 inline void FuelMetadata_Compatibility::set_name(const char* value) {
1822  GOOGLE_DCHECK(value != NULL);
1823 
1824  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1825  // @@protoc_insertion_point(field_set_char:gz.msgs.FuelMetadata.Compatibility.name)
1826 }
1827 inline void FuelMetadata_Compatibility::set_name(const char* value, size_t size) {
1828 
1829  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1830  ::std::string(reinterpret_cast<const char*>(value), size));
1831  // @@protoc_insertion_point(field_set_pointer:gz.msgs.FuelMetadata.Compatibility.name)
1832 }
1834 
1835  // @@protoc_insertion_point(field_mutable:gz.msgs.FuelMetadata.Compatibility.name)
1836  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1837 }
1839  // @@protoc_insertion_point(field_release:gz.msgs.FuelMetadata.Compatibility.name)
1840 
1841  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1842 }
1844  if (name != NULL) {
1845 
1846  } else {
1847 
1848  }
1849  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
1850  // @@protoc_insertion_point(field_set_allocated:gz.msgs.FuelMetadata.Compatibility.name)
1851 }
1852 
1853 // .gz.msgs.Version version = 2;
1855  return version_type_case() == kVersion;
1856 }
1857 inline void FuelMetadata_Compatibility::set_has_version() {
1858  _oneof_case_[0] = kVersion;
1859 }
1860 inline const ::gz::msgs::Version& FuelMetadata_Compatibility::_internal_version() const {
1861  return *version_type_.version_;
1862 }
1863 inline ::gz::msgs::Version* FuelMetadata_Compatibility::release_version() {
1864  // @@protoc_insertion_point(field_release:gz.msgs.FuelMetadata.Compatibility.version)
1865  if (has_version()) {
1866  clear_has_version_type();
1867  ::gz::msgs::Version* temp = version_type_.version_;
1868  version_type_.version_ = NULL;
1869  return temp;
1870  } else {
1871  return NULL;
1872  }
1873 }
1874 inline const ::gz::msgs::Version& FuelMetadata_Compatibility::version() const {
1875  // @@protoc_insertion_point(field_get:gz.msgs.FuelMetadata.Compatibility.version)
1876  return has_version()
1877  ? *version_type_.version_
1878  : *reinterpret_cast< ::gz::msgs::Version*>(&::gz::msgs::_Version_default_instance_);
1879 }
1880 inline ::gz::msgs::Version* FuelMetadata_Compatibility::mutable_version() {
1881  if (!has_version()) {
1883  set_has_version();
1884  version_type_.version_ = CreateMaybeMessage< ::gz::msgs::Version >(
1885  GetArenaNoVirtual());
1886  }
1887  // @@protoc_insertion_point(field_mutable:gz.msgs.FuelMetadata.Compatibility.version)
1888  return version_type_.version_;
1889 }
1890 
1891 // .gz.msgs.VersionRange version_range = 3;
1893  return version_type_case() == kVersionRange;
1894 }
1895 inline void FuelMetadata_Compatibility::set_has_version_range() {
1896  _oneof_case_[0] = kVersionRange;
1897 }
1898 inline const ::gz::msgs::VersionRange& FuelMetadata_Compatibility::_internal_version_range() const {
1899  return *version_type_.version_range_;
1900 }
1901 inline ::gz::msgs::VersionRange* FuelMetadata_Compatibility::release_version_range() {
1902  // @@protoc_insertion_point(field_release:gz.msgs.FuelMetadata.Compatibility.version_range)
1903  if (has_version_range()) {
1904  clear_has_version_type();
1905  ::gz::msgs::VersionRange* temp = version_type_.version_range_;
1906  version_type_.version_range_ = NULL;
1907  return temp;
1908  } else {
1909  return NULL;
1910  }
1911 }
1912 inline const ::gz::msgs::VersionRange& FuelMetadata_Compatibility::version_range() const {
1913  // @@protoc_insertion_point(field_get:gz.msgs.FuelMetadata.Compatibility.version_range)
1914  return has_version_range()
1915  ? *version_type_.version_range_
1917 }
1918 inline ::gz::msgs::VersionRange* FuelMetadata_Compatibility::mutable_version_range() {
1919  if (!has_version_range()) {
1921  set_has_version_range();
1922  version_type_.version_range_ = CreateMaybeMessage< ::gz::msgs::VersionRange >(
1923  GetArenaNoVirtual());
1924  }
1925  // @@protoc_insertion_point(field_mutable:gz.msgs.FuelMetadata.Compatibility.version_range)
1926  return version_type_.version_range_;
1927 }
1928 
1929 inline bool FuelMetadata_Compatibility::has_version_type() const {
1931 }
1932 inline void FuelMetadata_Compatibility::clear_has_version_type() {
1933  _oneof_case_[0] = VERSION_TYPE_NOT_SET;
1934 }
1936  return FuelMetadata_Compatibility::VersionTypeCase(_oneof_case_[0]);
1937 }
1938 // -------------------------------------------------------------------
1939 
1940 // FuelMetadata_Categories
1941 
1942 // string first = 1;
1944  first_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1945 }
1946 inline const ::std::string& FuelMetadata_Categories::first() const {
1947  // @@protoc_insertion_point(field_get:gz.msgs.FuelMetadata.Categories.first)
1948  return first_.GetNoArena();
1949 }
1950 inline void FuelMetadata_Categories::set_first(const ::std::string& value) {
1951 
1952  first_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1953  // @@protoc_insertion_point(field_set:gz.msgs.FuelMetadata.Categories.first)
1954 }
1955 #if LANG_CXX11
1956 inline void FuelMetadata_Categories::set_first(::std::string&& value) {
1957 
1958  first_.SetNoArena(
1959  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1960  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.FuelMetadata.Categories.first)
1961 }
1962 #endif
1963 inline void FuelMetadata_Categories::set_first(const char* value) {
1964  GOOGLE_DCHECK(value != NULL);
1965 
1966  first_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1967  // @@protoc_insertion_point(field_set_char:gz.msgs.FuelMetadata.Categories.first)
1968 }
1969 inline void FuelMetadata_Categories::set_first(const char* value, size_t size) {
1970 
1971  first_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1972  ::std::string(reinterpret_cast<const char*>(value), size));
1973  // @@protoc_insertion_point(field_set_pointer:gz.msgs.FuelMetadata.Categories.first)
1974 }
1976 
1977  // @@protoc_insertion_point(field_mutable:gz.msgs.FuelMetadata.Categories.first)
1978  return first_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1979 }
1981  // @@protoc_insertion_point(field_release:gz.msgs.FuelMetadata.Categories.first)
1982 
1983  return first_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1984 }
1986  if (first != NULL) {
1987 
1988  } else {
1989 
1990  }
1991  first_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), first);
1992  // @@protoc_insertion_point(field_set_allocated:gz.msgs.FuelMetadata.Categories.first)
1993 }
1994 
1995 // string second = 2;
1997  second_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1998 }
1999 inline const ::std::string& FuelMetadata_Categories::second() const {
2000  // @@protoc_insertion_point(field_get:gz.msgs.FuelMetadata.Categories.second)
2001  return second_.GetNoArena();
2002 }
2003 inline void FuelMetadata_Categories::set_second(const ::std::string& value) {
2004 
2005  second_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2006  // @@protoc_insertion_point(field_set:gz.msgs.FuelMetadata.Categories.second)
2007 }
2008 #if LANG_CXX11
2009 inline void FuelMetadata_Categories::set_second(::std::string&& value) {
2010 
2011  second_.SetNoArena(
2012  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2013  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.FuelMetadata.Categories.second)
2014 }
2015 #endif
2016 inline void FuelMetadata_Categories::set_second(const char* value) {
2017  GOOGLE_DCHECK(value != NULL);
2018 
2019  second_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2020  // @@protoc_insertion_point(field_set_char:gz.msgs.FuelMetadata.Categories.second)
2021 }
2022 inline void FuelMetadata_Categories::set_second(const char* value, size_t size) {
2023 
2024  second_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2025  ::std::string(reinterpret_cast<const char*>(value), size));
2026  // @@protoc_insertion_point(field_set_pointer:gz.msgs.FuelMetadata.Categories.second)
2027 }
2029 
2030  // @@protoc_insertion_point(field_mutable:gz.msgs.FuelMetadata.Categories.second)
2031  return second_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2032 }
2034  // @@protoc_insertion_point(field_release:gz.msgs.FuelMetadata.Categories.second)
2035 
2036  return second_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2037 }
2039  if (second != NULL) {
2040 
2041  } else {
2042 
2043  }
2044  second_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), second);
2045  // @@protoc_insertion_point(field_set_allocated:gz.msgs.FuelMetadata.Categories.second)
2046 }
2047 
2048 // -------------------------------------------------------------------
2049 
2050 // -------------------------------------------------------------------
2051 
2052 // FuelMetadata
2053 
2054 // .gz.msgs.FuelMetadata.Model model = 1;
2055 inline bool FuelMetadata::has_model() const {
2056  return resource_type_case() == kModel;
2057 }
2058 inline void FuelMetadata::set_has_model() {
2059  _oneof_case_[0] = kModel;
2060 }
2062  if (has_model()) {
2063  delete resource_type_.model_;
2064  clear_has_resource_type();
2065  }
2066 }
2067 inline const ::gz::msgs::FuelMetadata_Model& FuelMetadata::_internal_model() const {
2068  return *resource_type_.model_;
2069 }
2070 inline ::gz::msgs::FuelMetadata_Model* FuelMetadata::release_model() {
2071  // @@protoc_insertion_point(field_release:gz.msgs.FuelMetadata.model)
2072  if (has_model()) {
2073  clear_has_resource_type();
2074  ::gz::msgs::FuelMetadata_Model* temp = resource_type_.model_;
2075  resource_type_.model_ = NULL;
2076  return temp;
2077  } else {
2078  return NULL;
2079  }
2080 }
2081 inline const ::gz::msgs::FuelMetadata_Model& FuelMetadata::model() const {
2082  // @@protoc_insertion_point(field_get:gz.msgs.FuelMetadata.model)
2083  return has_model()
2084  ? *resource_type_.model_
2086 }
2087 inline ::gz::msgs::FuelMetadata_Model* FuelMetadata::mutable_model() {
2088  if (!has_model()) {
2090  set_has_model();
2091  resource_type_.model_ = CreateMaybeMessage< ::gz::msgs::FuelMetadata_Model >(
2092  GetArenaNoVirtual());
2093  }
2094  // @@protoc_insertion_point(field_mutable:gz.msgs.FuelMetadata.model)
2095  return resource_type_.model_;
2096 }
2097 
2098 // .gz.msgs.FuelMetadata.World world = 2;
2099 inline bool FuelMetadata::has_world() const {
2100  return resource_type_case() == kWorld;
2101 }
2102 inline void FuelMetadata::set_has_world() {
2103  _oneof_case_[0] = kWorld;
2104 }
2106  if (has_world()) {
2107  delete resource_type_.world_;
2108  clear_has_resource_type();
2109  }
2110 }
2111 inline const ::gz::msgs::FuelMetadata_World& FuelMetadata::_internal_world() const {
2112  return *resource_type_.world_;
2113 }
2114 inline ::gz::msgs::FuelMetadata_World* FuelMetadata::release_world() {
2115  // @@protoc_insertion_point(field_release:gz.msgs.FuelMetadata.world)
2116  if (has_world()) {
2117  clear_has_resource_type();
2118  ::gz::msgs::FuelMetadata_World* temp = resource_type_.world_;
2119  resource_type_.world_ = NULL;
2120  return temp;
2121  } else {
2122  return NULL;
2123  }
2124 }
2125 inline const ::gz::msgs::FuelMetadata_World& FuelMetadata::world() const {
2126  // @@protoc_insertion_point(field_get:gz.msgs.FuelMetadata.world)
2127  return has_world()
2128  ? *resource_type_.world_
2130 }
2131 inline ::gz::msgs::FuelMetadata_World* FuelMetadata::mutable_world() {
2132  if (!has_world()) {
2134  set_has_world();
2135  resource_type_.world_ = CreateMaybeMessage< ::gz::msgs::FuelMetadata_World >(
2136  GetArenaNoVirtual());
2137  }
2138  // @@protoc_insertion_point(field_mutable:gz.msgs.FuelMetadata.world)
2139  return resource_type_.world_;
2140 }
2141 
2142 // string name = 3;
2144  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2145 }
2146 inline const ::std::string& FuelMetadata::name() const {
2147  // @@protoc_insertion_point(field_get:gz.msgs.FuelMetadata.name)
2148  return name_.GetNoArena();
2149 }
2150 inline void FuelMetadata::set_name(const ::std::string& value) {
2151 
2152  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2153  // @@protoc_insertion_point(field_set:gz.msgs.FuelMetadata.name)
2154 }
2155 #if LANG_CXX11
2156 inline void FuelMetadata::set_name(::std::string&& value) {
2157 
2158  name_.SetNoArena(
2159  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2160  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.FuelMetadata.name)
2161 }
2162 #endif
2163 inline void FuelMetadata::set_name(const char* value) {
2164  GOOGLE_DCHECK(value != NULL);
2165 
2166  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2167  // @@protoc_insertion_point(field_set_char:gz.msgs.FuelMetadata.name)
2168 }
2169 inline void FuelMetadata::set_name(const char* value, size_t size) {
2170 
2171  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2172  ::std::string(reinterpret_cast<const char*>(value), size));
2173  // @@protoc_insertion_point(field_set_pointer:gz.msgs.FuelMetadata.name)
2174 }
2175 inline ::std::string* FuelMetadata::mutable_name() {
2176 
2177  // @@protoc_insertion_point(field_mutable:gz.msgs.FuelMetadata.name)
2178  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2179 }
2180 inline ::std::string* FuelMetadata::release_name() {
2181  // @@protoc_insertion_point(field_release:gz.msgs.FuelMetadata.name)
2182 
2183  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2184 }
2186  if (name != NULL) {
2187 
2188  } else {
2189 
2190  }
2191  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
2192  // @@protoc_insertion_point(field_set_allocated:gz.msgs.FuelMetadata.name)
2193 }
2194 
2195 // string description = 4;
2197  description_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2198 }
2199 inline const ::std::string& FuelMetadata::description() const {
2200  // @@protoc_insertion_point(field_get:gz.msgs.FuelMetadata.description)
2201  return description_.GetNoArena();
2202 }
2203 inline void FuelMetadata::set_description(const ::std::string& value) {
2204 
2205  description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
2206  // @@protoc_insertion_point(field_set:gz.msgs.FuelMetadata.description)
2207 }
2208 #if LANG_CXX11
2209 inline void FuelMetadata::set_description(::std::string&& value) {
2210 
2211  description_.SetNoArena(
2212  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2213  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.FuelMetadata.description)
2214 }
2215 #endif
2216 inline void FuelMetadata::set_description(const char* value) {
2217  GOOGLE_DCHECK(value != NULL);
2218 
2219  description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2220  // @@protoc_insertion_point(field_set_char:gz.msgs.FuelMetadata.description)
2221 }
2222 inline void FuelMetadata::set_description(const char* value, size_t size) {
2223 
2224  description_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
2225  ::std::string(reinterpret_cast<const char*>(value), size));
2226  // @@protoc_insertion_point(field_set_pointer:gz.msgs.FuelMetadata.description)
2227 }
2228 inline ::std::string* FuelMetadata::mutable_description() {
2229 
2230  // @@protoc_insertion_point(field_mutable:gz.msgs.FuelMetadata.description)
2231  return description_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2232 }
2233 inline ::std::string* FuelMetadata::release_description() {
2234  // @@protoc_insertion_point(field_release:gz.msgs.FuelMetadata.description)
2235 
2236  return description_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2237 }
2239  if (description != NULL) {
2240 
2241  } else {
2242 
2243  }
2244  description_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), description);
2245  // @@protoc_insertion_point(field_set_allocated:gz.msgs.FuelMetadata.description)
2246 }
2247 
2248 // int32 version = 5;
2250  version_ = 0;
2251 }
2252 inline ::google::protobuf::int32 FuelMetadata::version() const {
2253  // @@protoc_insertion_point(field_get:gz.msgs.FuelMetadata.version)
2254  return version_;
2255 }
2256 inline void FuelMetadata::set_version(::google::protobuf::int32 value) {
2257 
2258  version_ = value;
2259  // @@protoc_insertion_point(field_set:gz.msgs.FuelMetadata.version)
2260 }
2261 
2262 // repeated .gz.msgs.FuelMetadata.Contact authors = 6;
2263 inline int FuelMetadata::authors_size() const {
2264  return authors_.size();
2265 }
2267  authors_.Clear();
2268 }
2269 inline ::gz::msgs::FuelMetadata_Contact* FuelMetadata::mutable_authors(int index) {
2270  // @@protoc_insertion_point(field_mutable:gz.msgs.FuelMetadata.authors)
2271  return authors_.Mutable(index);
2272 }
2273 inline ::google::protobuf::RepeatedPtrField< ::gz::msgs::FuelMetadata_Contact >*
2275  // @@protoc_insertion_point(field_mutable_list:gz.msgs.FuelMetadata.authors)
2276  return &authors_;
2277 }
2278 inline const ::gz::msgs::FuelMetadata_Contact& FuelMetadata::authors(int index) const {
2279  // @@protoc_insertion_point(field_get:gz.msgs.FuelMetadata.authors)
2280  return authors_.Get(index);
2281 }
2282 inline ::gz::msgs::FuelMetadata_Contact* FuelMetadata::add_authors() {
2283  // @@protoc_insertion_point(field_add:gz.msgs.FuelMetadata.authors)
2284  return authors_.Add();
2285 }
2286 inline const ::google::protobuf::RepeatedPtrField< ::gz::msgs::FuelMetadata_Contact >&
2288  // @@protoc_insertion_point(field_list:gz.msgs.FuelMetadata.authors)
2289  return authors_;
2290 }
2291 
2292 // .gz.msgs.FuelMetadata.Legal legal = 7;
2293 inline bool FuelMetadata::has_legal() const {
2294  return this != internal_default_instance() && legal_ != NULL;
2295 }
2297  if (GetArenaNoVirtual() == NULL && legal_ != NULL) {
2298  delete legal_;
2299  }
2300  legal_ = NULL;
2301 }
2302 inline const ::gz::msgs::FuelMetadata_Legal& FuelMetadata::_internal_legal() const {
2303  return *legal_;
2304 }
2305 inline const ::gz::msgs::FuelMetadata_Legal& FuelMetadata::legal() const {
2306  const ::gz::msgs::FuelMetadata_Legal* p = legal_;
2307  // @@protoc_insertion_point(field_get:gz.msgs.FuelMetadata.legal)
2308  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::FuelMetadata_Legal*>(
2310 }
2311 inline ::gz::msgs::FuelMetadata_Legal* FuelMetadata::release_legal() {
2312  // @@protoc_insertion_point(field_release:gz.msgs.FuelMetadata.legal)
2313 
2314  ::gz::msgs::FuelMetadata_Legal* temp = legal_;
2315  legal_ = NULL;
2316  return temp;
2317 }
2318 inline ::gz::msgs::FuelMetadata_Legal* FuelMetadata::mutable_legal() {
2319 
2320  if (legal_ == NULL) {
2321  auto* p = CreateMaybeMessage<::gz::msgs::FuelMetadata_Legal>(GetArenaNoVirtual());
2322  legal_ = p;
2323  }
2324  // @@protoc_insertion_point(field_mutable:gz.msgs.FuelMetadata.legal)
2325  return legal_;
2326 }
2328  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2329  if (message_arena == NULL) {
2330  delete legal_;
2331  }
2332  if (legal) {
2333  ::google::protobuf::Arena* submessage_arena = NULL;
2334  if (message_arena != submessage_arena) {
2335  legal = ::google::protobuf::internal::GetOwnedMessage(
2336  message_arena, legal, submessage_arena);
2337  }
2338 
2339  } else {
2340 
2341  }
2342  legal_ = legal;
2343  // @@protoc_insertion_point(field_set_allocated:gz.msgs.FuelMetadata.legal)
2344 }
2345 
2346 // repeated string tags = 8;
2347 inline int FuelMetadata::tags_size() const {
2348  return tags_.size();
2349 }
2351  tags_.Clear();
2352 }
2353 inline const ::std::string& FuelMetadata::tags(int index) const {
2354  // @@protoc_insertion_point(field_get:gz.msgs.FuelMetadata.tags)
2355  return tags_.Get(index);
2356 }
2357 inline ::std::string* FuelMetadata::mutable_tags(int index) {
2358  // @@protoc_insertion_point(field_mutable:gz.msgs.FuelMetadata.tags)
2359  return tags_.Mutable(index);
2360 }
2361 inline void FuelMetadata::set_tags(int index, const ::std::string& value) {
2362  // @@protoc_insertion_point(field_set:gz.msgs.FuelMetadata.tags)
2363  tags_.Mutable(index)->assign(value);
2364 }
2365 #if LANG_CXX11
2366 inline void FuelMetadata::set_tags(int index, ::std::string&& value) {
2367  // @@protoc_insertion_point(field_set:gz.msgs.FuelMetadata.tags)
2368  tags_.Mutable(index)->assign(std::move(value));
2369 }
2370 #endif
2371 inline void FuelMetadata::set_tags(int index, const char* value) {
2372  GOOGLE_DCHECK(value != NULL);
2373  tags_.Mutable(index)->assign(value);
2374  // @@protoc_insertion_point(field_set_char:gz.msgs.FuelMetadata.tags)
2375 }
2376 inline void FuelMetadata::set_tags(int index, const char* value, size_t size) {
2377  tags_.Mutable(index)->assign(
2378  reinterpret_cast<const char*>(value), size);
2379  // @@protoc_insertion_point(field_set_pointer:gz.msgs.FuelMetadata.tags)
2380 }
2381 inline ::std::string* FuelMetadata::add_tags() {
2382  // @@protoc_insertion_point(field_add_mutable:gz.msgs.FuelMetadata.tags)
2383  return tags_.Add();
2384 }
2385 inline void FuelMetadata::add_tags(const ::std::string& value) {
2386  tags_.Add()->assign(value);
2387  // @@protoc_insertion_point(field_add:gz.msgs.FuelMetadata.tags)
2388 }
2389 #if LANG_CXX11
2390 inline void FuelMetadata::add_tags(::std::string&& value) {
2391  tags_.Add(std::move(value));
2392  // @@protoc_insertion_point(field_add:gz.msgs.FuelMetadata.tags)
2393 }
2394 #endif
2395 inline void FuelMetadata::add_tags(const char* value) {
2396  GOOGLE_DCHECK(value != NULL);
2397  tags_.Add()->assign(value);
2398  // @@protoc_insertion_point(field_add_char:gz.msgs.FuelMetadata.tags)
2399 }
2400 inline void FuelMetadata::add_tags(const char* value, size_t size) {
2401  tags_.Add()->assign(reinterpret_cast<const char*>(value), size);
2402  // @@protoc_insertion_point(field_add_pointer:gz.msgs.FuelMetadata.tags)
2403 }
2404 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
2406  // @@protoc_insertion_point(field_list:gz.msgs.FuelMetadata.tags)
2407  return tags_;
2408 }
2409 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
2411  // @@protoc_insertion_point(field_mutable_list:gz.msgs.FuelMetadata.tags)
2412  return &tags_;
2413 }
2414 
2415 // map<string, string> annotations = 9;
2417  return annotations_.size();
2418 }
2420  annotations_.Clear();
2421 }
2422 inline const ::google::protobuf::Map< ::std::string, ::std::string >&
2424  // @@protoc_insertion_point(field_map:gz.msgs.FuelMetadata.annotations)
2425  return annotations_.GetMap();
2426 }
2427 inline ::google::protobuf::Map< ::std::string, ::std::string >*
2429  // @@protoc_insertion_point(field_mutable_map:gz.msgs.FuelMetadata.annotations)
2430  return annotations_.MutableMap();
2431 }
2432 
2433 // repeated .gz.msgs.FuelMetadata.Dependency dependencies = 10;
2435  return dependencies_.size();
2436 }
2438  dependencies_.Clear();
2439 }
2440 inline ::gz::msgs::FuelMetadata_Dependency* FuelMetadata::mutable_dependencies(int index) {
2441  // @@protoc_insertion_point(field_mutable:gz.msgs.FuelMetadata.dependencies)
2442  return dependencies_.Mutable(index);
2443 }
2444 inline ::google::protobuf::RepeatedPtrField< ::gz::msgs::FuelMetadata_Dependency >*
2446  // @@protoc_insertion_point(field_mutable_list:gz.msgs.FuelMetadata.dependencies)
2447  return &dependencies_;
2448 }
2449 inline const ::gz::msgs::FuelMetadata_Dependency& FuelMetadata::dependencies(int index) const {
2450  // @@protoc_insertion_point(field_get:gz.msgs.FuelMetadata.dependencies)
2451  return dependencies_.Get(index);
2452 }
2453 inline ::gz::msgs::FuelMetadata_Dependency* FuelMetadata::add_dependencies() {
2454  // @@protoc_insertion_point(field_add:gz.msgs.FuelMetadata.dependencies)
2455  return dependencies_.Add();
2456 }
2457 inline const ::google::protobuf::RepeatedPtrField< ::gz::msgs::FuelMetadata_Dependency >&
2459  // @@protoc_insertion_point(field_list:gz.msgs.FuelMetadata.dependencies)
2460  return dependencies_;
2461 }
2462 
2463 // repeated .gz.msgs.FuelMetadata.Compatibility compatibilities = 11;
2465  return compatibilities_.size();
2466 }
2468  compatibilities_.Clear();
2469 }
2470 inline ::gz::msgs::FuelMetadata_Compatibility* FuelMetadata::mutable_compatibilities(int index) {
2471  // @@protoc_insertion_point(field_mutable:gz.msgs.FuelMetadata.compatibilities)
2472  return compatibilities_.Mutable(index);
2473 }
2474 inline ::google::protobuf::RepeatedPtrField< ::gz::msgs::FuelMetadata_Compatibility >*
2476  // @@protoc_insertion_point(field_mutable_list:gz.msgs.FuelMetadata.compatibilities)
2477  return &compatibilities_;
2478 }
2479 inline const ::gz::msgs::FuelMetadata_Compatibility& FuelMetadata::compatibilities(int index) const {
2480  // @@protoc_insertion_point(field_get:gz.msgs.FuelMetadata.compatibilities)
2481  return compatibilities_.Get(index);
2482 }
2483 inline ::gz::msgs::FuelMetadata_Compatibility* FuelMetadata::add_compatibilities() {
2484  // @@protoc_insertion_point(field_add:gz.msgs.FuelMetadata.compatibilities)
2485  return compatibilities_.Add();
2486 }
2487 inline const ::google::protobuf::RepeatedPtrField< ::gz::msgs::FuelMetadata_Compatibility >&
2489  // @@protoc_insertion_point(field_list:gz.msgs.FuelMetadata.compatibilities)
2490  return compatibilities_;
2491 }
2492 
2493 // .gz.msgs.FuelMetadata.Categories categories = 12;
2494 inline bool FuelMetadata::has_categories() const {
2495  return this != internal_default_instance() && categories_ != NULL;
2496 }
2498  if (GetArenaNoVirtual() == NULL && categories_ != NULL) {
2499  delete categories_;
2500  }
2501  categories_ = NULL;
2502 }
2503 inline const ::gz::msgs::FuelMetadata_Categories& FuelMetadata::_internal_categories() const {
2504  return *categories_;
2505 }
2506 inline const ::gz::msgs::FuelMetadata_Categories& FuelMetadata::categories() const {
2507  const ::gz::msgs::FuelMetadata_Categories* p = categories_;
2508  // @@protoc_insertion_point(field_get:gz.msgs.FuelMetadata.categories)
2509  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::FuelMetadata_Categories*>(
2511 }
2512 inline ::gz::msgs::FuelMetadata_Categories* FuelMetadata::release_categories() {
2513  // @@protoc_insertion_point(field_release:gz.msgs.FuelMetadata.categories)
2514 
2515  ::gz::msgs::FuelMetadata_Categories* temp = categories_;
2516  categories_ = NULL;
2517  return temp;
2518 }
2519 inline ::gz::msgs::FuelMetadata_Categories* FuelMetadata::mutable_categories() {
2520 
2521  if (categories_ == NULL) {
2522  auto* p = CreateMaybeMessage<::gz::msgs::FuelMetadata_Categories>(GetArenaNoVirtual());
2523  categories_ = p;
2524  }
2525  // @@protoc_insertion_point(field_mutable:gz.msgs.FuelMetadata.categories)
2526  return categories_;
2527 }
2529  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2530  if (message_arena == NULL) {
2531  delete categories_;
2532  }
2533  if (categories) {
2534  ::google::protobuf::Arena* submessage_arena = NULL;
2535  if (message_arena != submessage_arena) {
2536  categories = ::google::protobuf::internal::GetOwnedMessage(
2537  message_arena, categories, submessage_arena);
2538  }
2539 
2540  } else {
2541 
2542  }
2543  categories_ = categories;
2544  // @@protoc_insertion_point(field_set_allocated:gz.msgs.FuelMetadata.categories)
2545 }
2546 
2547 inline bool FuelMetadata::has_resource_type() const {
2549 }
2550 inline void FuelMetadata::clear_has_resource_type() {
2551  _oneof_case_[0] = RESOURCE_TYPE_NOT_SET;
2552 }
2554  return FuelMetadata::ResourceTypeCase(_oneof_case_[0]);
2555 }
2556 #ifdef __GNUC__
2557  #pragma GCC diagnostic pop
2558 #endif // __GNUC__
2559 // -------------------------------------------------------------------
2560 
2561 // -------------------------------------------------------------------
2562 
2563 // -------------------------------------------------------------------
2564 
2565 // -------------------------------------------------------------------
2566 
2567 // -------------------------------------------------------------------
2568 
2569 // -------------------------------------------------------------------
2570 
2571 // -------------------------------------------------------------------
2572 
2573 // -------------------------------------------------------------------
2574 
2575 
2576 // @@protoc_insertion_point(namespace_scope)
2577 
2578 } // namespace msgs
2579 } // namespace gz
2580 
2581 // @@protoc_insertion_point(global_scope)
2582 
2583 #endif // PROTOBUF_INCLUDED_gz_2fmsgs_2ffuel_5fmetadata_2eproto