Gazebo Msgs

API Reference

5.11.0
build/ignition-msgs5/include/ignition/msgs/log_status.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/log_status.proto
3 
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2flog_5fstatus_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2flog_5fstatus_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/generated_enum_reflection.h>
33 #include <google/protobuf/unknown_field_set.h>
34 #include "ignition/msgs/time.pb.h"
36 #ifndef _MSC_VER
37 #pragma GCC system_header
38 #else
39 #pragma warning(push)
40 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
41 #endif
42 #ifdef __linux__
43 #include <sys/sysmacros.h>
44 #endif
45 #include <memory>
46 #include <ignition/msgs/Export.hh>
47 // @@protoc_insertion_point(includes)
48 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2flog_5fstatus_2eproto IGNITION_MSGS_VISIBLE
49 
51 // Internal implementation detail -- do not use these members.
52 struct IGNITION_MSGS_VISIBLE TableStruct {
53  static const ::google::protobuf::internal::ParseTableField entries[];
54  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
55  static const ::google::protobuf::internal::ParseTable schema[2];
56  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
57  static const ::google::protobuf::internal::SerializationTable serialization_table[];
58  static const ::google::protobuf::uint32 offsets[];
59 };
60 void IGNITION_MSGS_VISIBLE AddDescriptors();
61 } // namespace protobuf_ignition_2fmsgs_2flog_5fstatus_2eproto
62 namespace ignition {
63 namespace msgs {
64 class LogStatus;
65 class LogStatusDefaultTypeInternal;
66 IGNITION_MSGS_VISIBLE extern LogStatusDefaultTypeInternal _LogStatus_default_instance_;
67 class LogStatus_LogFile;
68 class LogStatus_LogFileDefaultTypeInternal;
69 IGNITION_MSGS_VISIBLE extern LogStatus_LogFileDefaultTypeInternal _LogStatus_LogFile_default_instance_;
70 } // namespace msgs
71 } // namespace ignition
72 namespace google {
73 namespace protobuf {
74 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::LogStatus* Arena::CreateMaybeMessage<::ignition::msgs::LogStatus>(Arena*);
75 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::LogStatus_LogFile* Arena::CreateMaybeMessage<::ignition::msgs::LogStatus_LogFile>(Arena*);
76 } // namespace protobuf
77 } // namespace google
78 namespace ignition {
79 namespace msgs {
80 
88 };
89 IGNITION_MSGS_VISIBLE bool LogStatus_LogFile_Units_IsValid(int value);
93 
94 IGNITION_MSGS_VISIBLE const ::google::protobuf::EnumDescriptor* LogStatus_LogFile_Units_descriptor();
95 inline const ::std::string& LogStatus_LogFile_Units_Name(LogStatus_LogFile_Units value) {
96  return ::google::protobuf::internal::NameOfEnum(
98 }
100  const ::std::string& name, LogStatus_LogFile_Units* value) {
101  return ::google::protobuf::internal::ParseNamedEnum<LogStatus_LogFile_Units>(
102  LogStatus_LogFile_Units_descriptor(), name, value);
103 }
104 // ===================================================================
105 
106 class IGNITION_MSGS_VISIBLE LogStatus_LogFile : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.LogStatus.LogFile) */ {
107  public:
109  virtual ~LogStatus_LogFile();
110 
112 
114  CopyFrom(from);
115  return *this;
116  }
117  #if LANG_CXX11
118  LogStatus_LogFile(LogStatus_LogFile&& from) noexcept
119  : LogStatus_LogFile() {
120  *this = ::std::move(from);
121  }
122 
123  inline LogStatus_LogFile& operator=(LogStatus_LogFile&& from) noexcept {
124  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
125  if (this != &from) InternalSwap(&from);
126  } else {
127  CopyFrom(from);
128  }
129  return *this;
130  }
131  #endif
132  static const ::google::protobuf::Descriptor* descriptor();
133  static const LogStatus_LogFile& default_instance();
134 
135  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
137  return reinterpret_cast<const LogStatus_LogFile*>(
139  }
140  static constexpr int kIndexInFileMessages =
141  0;
142 
143  void Swap(LogStatus_LogFile* other);
145  a.Swap(&b);
146  }
147 
148  // implements Message ----------------------------------------------
149 
150  inline LogStatus_LogFile* New() const final {
151  return CreateMaybeMessage<LogStatus_LogFile>(NULL);
152  }
153 
154  LogStatus_LogFile* New(::google::protobuf::Arena* arena) const final {
155  return CreateMaybeMessage<LogStatus_LogFile>(arena);
156  }
157  void CopyFrom(const ::google::protobuf::Message& from) final;
158  void MergeFrom(const ::google::protobuf::Message& from) final;
159  void CopyFrom(const LogStatus_LogFile& from);
160  void MergeFrom(const LogStatus_LogFile& from);
161  void Clear() final;
162  bool IsInitialized() const final;
163 
164  size_t ByteSizeLong() const final;
165  bool MergePartialFromCodedStream(
166  ::google::protobuf::io::CodedInputStream* input) final;
167  void SerializeWithCachedSizes(
168  ::google::protobuf::io::CodedOutputStream* output) const final;
169  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
170  bool deterministic, ::google::protobuf::uint8* target) const final;
171  int GetCachedSize() const final { return _cached_size_.Get(); }
172 
173  private:
174  void SharedCtor();
175  void SharedDtor();
176  void SetCachedSize(int size) const final;
177  void InternalSwap(LogStatus_LogFile* other);
178  private:
179  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
180  return NULL;
181  }
182  inline void* MaybeArenaPtr() const {
183  return NULL;
184  }
185  public:
186 
187  ::google::protobuf::Metadata GetMetadata() const final;
188 
189  // nested types ----------------------------------------------------
190 
192  static const Units BYTES =
194  static const Units K_BYTES =
196  static const Units M_BYTES =
198  static const Units G_BYTES =
200  static inline bool Units_IsValid(int value) {
201  return LogStatus_LogFile_Units_IsValid(value);
202  }
203  static const Units Units_MIN =
205  static const Units Units_MAX =
207  static const int Units_ARRAYSIZE =
209  static inline const ::google::protobuf::EnumDescriptor*
212  }
213  static inline const ::std::string& Units_Name(Units value) {
214  return LogStatus_LogFile_Units_Name(value);
215  }
216  static inline bool Units_Parse(const ::std::string& name,
217  Units* value) {
218  return LogStatus_LogFile_Units_Parse(name, value);
219  }
220 
221  // accessors -------------------------------------------------------
222 
223  // string uri = 1;
224  void clear_uri();
225  static const int kUriFieldNumber = 1;
226  const ::std::string& uri() const;
227  void set_uri(const ::std::string& value);
228  #if LANG_CXX11
229  void set_uri(::std::string&& value);
230  #endif
231  void set_uri(const char* value);
232  void set_uri(const char* value, size_t size);
233  ::std::string* mutable_uri();
234  ::std::string* release_uri();
235  void set_allocated_uri(::std::string* uri);
236 
237  // string base_path = 2;
238  void clear_base_path();
239  static const int kBasePathFieldNumber = 2;
240  const ::std::string& base_path() const;
241  void set_base_path(const ::std::string& value);
242  #if LANG_CXX11
243  void set_base_path(::std::string&& value);
244  #endif
245  void set_base_path(const char* value);
246  void set_base_path(const char* value, size_t size);
247  ::std::string* mutable_base_path();
248  ::std::string* release_base_path();
249  void set_allocated_base_path(::std::string* base_path);
250 
251  // string full_path = 3;
252  void clear_full_path();
253  static const int kFullPathFieldNumber = 3;
254  const ::std::string& full_path() const;
255  void set_full_path(const ::std::string& value);
256  #if LANG_CXX11
257  void set_full_path(::std::string&& value);
258  #endif
259  void set_full_path(const char* value);
260  void set_full_path(const char* value, size_t size);
261  ::std::string* mutable_full_path();
262  ::std::string* release_full_path();
263  void set_allocated_full_path(::std::string* full_path);
264 
265  // float size = 4;
266  void clear_size();
267  static const int kSizeFieldNumber = 4;
268  float size() const;
269  void set_size(float value);
270 
271  // .ignition.msgs.LogStatus.LogFile.Units size_units = 5;
272  void clear_size_units();
273  static const int kSizeUnitsFieldNumber = 5;
275  void set_size_units(::ignition::msgs::LogStatus_LogFile_Units value);
276 
277  // bool record_resources = 6;
278  void clear_record_resources();
279  static const int kRecordResourcesFieldNumber = 6;
280  bool record_resources() const;
281  void set_record_resources(bool value);
282 
283  // @@protoc_insertion_point(class_scope:ignition.msgs.LogStatus.LogFile)
284  private:
285 
286  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
287  ::google::protobuf::internal::ArenaStringPtr uri_;
288  ::google::protobuf::internal::ArenaStringPtr base_path_;
289  ::google::protobuf::internal::ArenaStringPtr full_path_;
290  float size_;
291  int size_units_;
292  bool record_resources_;
293  mutable ::google::protobuf::internal::CachedSize _cached_size_;
294  friend struct ::protobuf_ignition_2fmsgs_2flog_5fstatus_2eproto::TableStruct;
295 };
296 // -------------------------------------------------------------------
297 
298 class IGNITION_MSGS_VISIBLE LogStatus : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.LogStatus) */ {
299  public:
300  LogStatus();
301  virtual ~LogStatus();
302 
303  LogStatus(const LogStatus& from);
304 
305  inline LogStatus& operator=(const LogStatus& from) {
306  CopyFrom(from);
307  return *this;
308  }
309  #if LANG_CXX11
310  LogStatus(LogStatus&& from) noexcept
311  : LogStatus() {
312  *this = ::std::move(from);
313  }
314 
315  inline LogStatus& operator=(LogStatus&& from) noexcept {
316  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
317  if (this != &from) InternalSwap(&from);
318  } else {
319  CopyFrom(from);
320  }
321  return *this;
322  }
323  #endif
324  static const ::google::protobuf::Descriptor* descriptor();
325  static const LogStatus& default_instance();
326 
327  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
328  static inline const LogStatus* internal_default_instance() {
329  return reinterpret_cast<const LogStatus*>(
331  }
332  static constexpr int kIndexInFileMessages =
333  1;
334 
335  void Swap(LogStatus* other);
336  friend void swap(LogStatus& a, LogStatus& b) {
337  a.Swap(&b);
338  }
339 
340  // implements Message ----------------------------------------------
341 
342  inline LogStatus* New() const final {
343  return CreateMaybeMessage<LogStatus>(NULL);
344  }
345 
346  LogStatus* New(::google::protobuf::Arena* arena) const final {
347  return CreateMaybeMessage<LogStatus>(arena);
348  }
349  void CopyFrom(const ::google::protobuf::Message& from) final;
350  void MergeFrom(const ::google::protobuf::Message& from) final;
351  void CopyFrom(const LogStatus& from);
352  void MergeFrom(const LogStatus& from);
353  void Clear() final;
354  bool IsInitialized() const final;
355 
356  size_t ByteSizeLong() const final;
357  bool MergePartialFromCodedStream(
358  ::google::protobuf::io::CodedInputStream* input) final;
359  void SerializeWithCachedSizes(
360  ::google::protobuf::io::CodedOutputStream* output) const final;
361  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
362  bool deterministic, ::google::protobuf::uint8* target) const final;
363  int GetCachedSize() const final { return _cached_size_.Get(); }
364 
365  private:
366  void SharedCtor();
367  void SharedDtor();
368  void SetCachedSize(int size) const final;
369  void InternalSwap(LogStatus* other);
370  private:
371  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
372  return NULL;
373  }
374  inline void* MaybeArenaPtr() const {
375  return NULL;
376  }
377  public:
378 
379  ::google::protobuf::Metadata GetMetadata() const final;
380 
381  // nested types ----------------------------------------------------
382 
384 
385  // accessors -------------------------------------------------------
386 
387  // .ignition.msgs.Header header = 1;
388  bool has_header() const;
389  void clear_header();
390  static const int kHeaderFieldNumber = 1;
391  private:
392  const ::ignition::msgs::Header& _internal_header() const;
393  public:
394  const ::ignition::msgs::Header& header() const;
395  ::ignition::msgs::Header* release_header();
396  ::ignition::msgs::Header* mutable_header();
397  void set_allocated_header(::ignition::msgs::Header* header);
398 
399  // .ignition.msgs.Time sim_time = 2;
400  bool has_sim_time() const;
401  void clear_sim_time();
402  static const int kSimTimeFieldNumber = 2;
403  private:
404  const ::ignition::msgs::Time& _internal_sim_time() const;
405  public:
406  const ::ignition::msgs::Time& sim_time() const;
407  ::ignition::msgs::Time* release_sim_time();
408  ::ignition::msgs::Time* mutable_sim_time();
409  void set_allocated_sim_time(::ignition::msgs::Time* sim_time);
410 
411  // .ignition.msgs.LogStatus.LogFile log_file = 3;
412  bool has_log_file() const;
413  void clear_log_file();
414  static const int kLogFileFieldNumber = 3;
415  private:
416  const ::ignition::msgs::LogStatus_LogFile& _internal_log_file() const;
417  public:
418  const ::ignition::msgs::LogStatus_LogFile& log_file() const;
419  ::ignition::msgs::LogStatus_LogFile* release_log_file();
420  ::ignition::msgs::LogStatus_LogFile* mutable_log_file();
421  void set_allocated_log_file(::ignition::msgs::LogStatus_LogFile* log_file);
422 
423  // @@protoc_insertion_point(class_scope:ignition.msgs.LogStatus)
424  private:
425 
426  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
427  ::ignition::msgs::Header* header_;
428  ::ignition::msgs::Time* sim_time_;
429  ::ignition::msgs::LogStatus_LogFile* log_file_;
430  mutable ::google::protobuf::internal::CachedSize _cached_size_;
432 };
433 // ===================================================================
434 
435 
436 // ===================================================================
437 
438 #ifdef __GNUC__
439  #pragma GCC diagnostic push
440  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
441 #endif // __GNUC__
442 // LogStatus_LogFile
443 
444 // string uri = 1;
446  uri_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
447 }
448 inline const ::std::string& LogStatus_LogFile::uri() const {
449  // @@protoc_insertion_point(field_get:ignition.msgs.LogStatus.LogFile.uri)
450  return uri_.GetNoArena();
451 }
452 inline void LogStatus_LogFile::set_uri(const ::std::string& value) {
453 
454  uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
455  // @@protoc_insertion_point(field_set:ignition.msgs.LogStatus.LogFile.uri)
456 }
457 #if LANG_CXX11
458 inline void LogStatus_LogFile::set_uri(::std::string&& value) {
459 
460  uri_.SetNoArena(
461  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
462  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.LogStatus.LogFile.uri)
463 }
464 #endif
465 inline void LogStatus_LogFile::set_uri(const char* value) {
466  GOOGLE_DCHECK(value != NULL);
467 
468  uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
469  // @@protoc_insertion_point(field_set_char:ignition.msgs.LogStatus.LogFile.uri)
470 }
471 inline void LogStatus_LogFile::set_uri(const char* value, size_t size) {
472 
473  uri_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
474  ::std::string(reinterpret_cast<const char*>(value), size));
475  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.LogStatus.LogFile.uri)
476 }
477 inline ::std::string* LogStatus_LogFile::mutable_uri() {
478 
479  // @@protoc_insertion_point(field_mutable:ignition.msgs.LogStatus.LogFile.uri)
480  return uri_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
481 }
482 inline ::std::string* LogStatus_LogFile::release_uri() {
483  // @@protoc_insertion_point(field_release:ignition.msgs.LogStatus.LogFile.uri)
484 
485  return uri_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
486 }
488  if (uri != NULL) {
489 
490  } else {
491 
492  }
493  uri_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), uri);
494  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.LogStatus.LogFile.uri)
495 }
496 
497 // string base_path = 2;
499  base_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
500 }
501 inline const ::std::string& LogStatus_LogFile::base_path() const {
502  // @@protoc_insertion_point(field_get:ignition.msgs.LogStatus.LogFile.base_path)
503  return base_path_.GetNoArena();
504 }
505 inline void LogStatus_LogFile::set_base_path(const ::std::string& value) {
506 
507  base_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
508  // @@protoc_insertion_point(field_set:ignition.msgs.LogStatus.LogFile.base_path)
509 }
510 #if LANG_CXX11
511 inline void LogStatus_LogFile::set_base_path(::std::string&& value) {
512 
513  base_path_.SetNoArena(
514  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
515  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.LogStatus.LogFile.base_path)
516 }
517 #endif
518 inline void LogStatus_LogFile::set_base_path(const char* value) {
519  GOOGLE_DCHECK(value != NULL);
520 
521  base_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
522  // @@protoc_insertion_point(field_set_char:ignition.msgs.LogStatus.LogFile.base_path)
523 }
524 inline void LogStatus_LogFile::set_base_path(const char* value, size_t size) {
525 
526  base_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
527  ::std::string(reinterpret_cast<const char*>(value), size));
528  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.LogStatus.LogFile.base_path)
529 }
530 inline ::std::string* LogStatus_LogFile::mutable_base_path() {
531 
532  // @@protoc_insertion_point(field_mutable:ignition.msgs.LogStatus.LogFile.base_path)
533  return base_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
534 }
535 inline ::std::string* LogStatus_LogFile::release_base_path() {
536  // @@protoc_insertion_point(field_release:ignition.msgs.LogStatus.LogFile.base_path)
537 
538  return base_path_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
539 }
541  if (base_path != NULL) {
542 
543  } else {
544 
545  }
546  base_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), base_path);
547  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.LogStatus.LogFile.base_path)
548 }
549 
550 // string full_path = 3;
552  full_path_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
553 }
554 inline const ::std::string& LogStatus_LogFile::full_path() const {
555  // @@protoc_insertion_point(field_get:ignition.msgs.LogStatus.LogFile.full_path)
556  return full_path_.GetNoArena();
557 }
558 inline void LogStatus_LogFile::set_full_path(const ::std::string& value) {
559 
560  full_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
561  // @@protoc_insertion_point(field_set:ignition.msgs.LogStatus.LogFile.full_path)
562 }
563 #if LANG_CXX11
564 inline void LogStatus_LogFile::set_full_path(::std::string&& value) {
565 
566  full_path_.SetNoArena(
567  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
568  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.LogStatus.LogFile.full_path)
569 }
570 #endif
571 inline void LogStatus_LogFile::set_full_path(const char* value) {
572  GOOGLE_DCHECK(value != NULL);
573 
574  full_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
575  // @@protoc_insertion_point(field_set_char:ignition.msgs.LogStatus.LogFile.full_path)
576 }
577 inline void LogStatus_LogFile::set_full_path(const char* value, size_t size) {
578 
579  full_path_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
580  ::std::string(reinterpret_cast<const char*>(value), size));
581  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.LogStatus.LogFile.full_path)
582 }
583 inline ::std::string* LogStatus_LogFile::mutable_full_path() {
584 
585  // @@protoc_insertion_point(field_mutable:ignition.msgs.LogStatus.LogFile.full_path)
586  return full_path_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
587 }
588 inline ::std::string* LogStatus_LogFile::release_full_path() {
589  // @@protoc_insertion_point(field_release:ignition.msgs.LogStatus.LogFile.full_path)
590 
591  return full_path_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
592 }
594  if (full_path != NULL) {
595 
596  } else {
597 
598  }
599  full_path_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), full_path);
600  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.LogStatus.LogFile.full_path)
601 }
602 
603 // float size = 4;
605  size_ = 0;
606 }
607 inline float LogStatus_LogFile::size() const {
608  // @@protoc_insertion_point(field_get:ignition.msgs.LogStatus.LogFile.size)
609  return size_;
610 }
611 inline void LogStatus_LogFile::set_size(float value) {
612 
613  size_ = value;
614  // @@protoc_insertion_point(field_set:ignition.msgs.LogStatus.LogFile.size)
615 }
616 
617 // .ignition.msgs.LogStatus.LogFile.Units size_units = 5;
619  size_units_ = 0;
620 }
622  // @@protoc_insertion_point(field_get:ignition.msgs.LogStatus.LogFile.size_units)
623  return static_cast< ::ignition::msgs::LogStatus_LogFile_Units >(size_units_);
624 }
626 
627  size_units_ = value;
628  // @@protoc_insertion_point(field_set:ignition.msgs.LogStatus.LogFile.size_units)
629 }
630 
631 // bool record_resources = 6;
633  record_resources_ = false;
634 }
636  // @@protoc_insertion_point(field_get:ignition.msgs.LogStatus.LogFile.record_resources)
637  return record_resources_;
638 }
640 
641  record_resources_ = value;
642  // @@protoc_insertion_point(field_set:ignition.msgs.LogStatus.LogFile.record_resources)
643 }
644 
645 // -------------------------------------------------------------------
646 
647 // LogStatus
648 
649 // .ignition.msgs.Header header = 1;
650 inline bool LogStatus::has_header() const {
651  return this != internal_default_instance() && header_ != NULL;
652 }
653 inline const ::ignition::msgs::Header& LogStatus::_internal_header() const {
654  return *header_;
655 }
656 inline const ::ignition::msgs::Header& LogStatus::header() const {
657  const ::ignition::msgs::Header* p = header_;
658  // @@protoc_insertion_point(field_get:ignition.msgs.LogStatus.header)
659  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
661 }
662 inline ::ignition::msgs::Header* LogStatus::release_header() {
663  // @@protoc_insertion_point(field_release:ignition.msgs.LogStatus.header)
664 
665  ::ignition::msgs::Header* temp = header_;
666  header_ = NULL;
667  return temp;
668 }
669 inline ::ignition::msgs::Header* LogStatus::mutable_header() {
670 
671  if (header_ == NULL) {
672  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
673  header_ = p;
674  }
675  // @@protoc_insertion_point(field_mutable:ignition.msgs.LogStatus.header)
676  return header_;
677 }
679  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
680  if (message_arena == NULL) {
681  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
682  }
683  if (header) {
684  ::google::protobuf::Arena* submessage_arena = NULL;
685  if (message_arena != submessage_arena) {
686  header = ::google::protobuf::internal::GetOwnedMessage(
687  message_arena, header, submessage_arena);
688  }
689 
690  } else {
691 
692  }
693  header_ = header;
694  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.LogStatus.header)
695 }
696 
697 // .ignition.msgs.Time sim_time = 2;
698 inline bool LogStatus::has_sim_time() const {
699  return this != internal_default_instance() && sim_time_ != NULL;
700 }
701 inline const ::ignition::msgs::Time& LogStatus::_internal_sim_time() const {
702  return *sim_time_;
703 }
704 inline const ::ignition::msgs::Time& LogStatus::sim_time() const {
705  const ::ignition::msgs::Time* p = sim_time_;
706  // @@protoc_insertion_point(field_get:ignition.msgs.LogStatus.sim_time)
707  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Time*>(
709 }
710 inline ::ignition::msgs::Time* LogStatus::release_sim_time() {
711  // @@protoc_insertion_point(field_release:ignition.msgs.LogStatus.sim_time)
712 
713  ::ignition::msgs::Time* temp = sim_time_;
714  sim_time_ = NULL;
715  return temp;
716 }
717 inline ::ignition::msgs::Time* LogStatus::mutable_sim_time() {
718 
719  if (sim_time_ == NULL) {
720  auto* p = CreateMaybeMessage<::ignition::msgs::Time>(GetArenaNoVirtual());
721  sim_time_ = p;
722  }
723  // @@protoc_insertion_point(field_mutable:ignition.msgs.LogStatus.sim_time)
724  return sim_time_;
725 }
727  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
728  if (message_arena == NULL) {
729  delete reinterpret_cast< ::google::protobuf::MessageLite*>(sim_time_);
730  }
731  if (sim_time) {
732  ::google::protobuf::Arena* submessage_arena = NULL;
733  if (message_arena != submessage_arena) {
734  sim_time = ::google::protobuf::internal::GetOwnedMessage(
735  message_arena, sim_time, submessage_arena);
736  }
737 
738  } else {
739 
740  }
741  sim_time_ = sim_time;
742  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.LogStatus.sim_time)
743 }
744 
745 // .ignition.msgs.LogStatus.LogFile log_file = 3;
746 inline bool LogStatus::has_log_file() const {
747  return this != internal_default_instance() && log_file_ != NULL;
748 }
750  if (GetArenaNoVirtual() == NULL && log_file_ != NULL) {
751  delete log_file_;
752  }
753  log_file_ = NULL;
754 }
755 inline const ::ignition::msgs::LogStatus_LogFile& LogStatus::_internal_log_file() const {
756  return *log_file_;
757 }
758 inline const ::ignition::msgs::LogStatus_LogFile& LogStatus::log_file() const {
759  const ::ignition::msgs::LogStatus_LogFile* p = log_file_;
760  // @@protoc_insertion_point(field_get:ignition.msgs.LogStatus.log_file)
761  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::LogStatus_LogFile*>(
763 }
764 inline ::ignition::msgs::LogStatus_LogFile* LogStatus::release_log_file() {
765  // @@protoc_insertion_point(field_release:ignition.msgs.LogStatus.log_file)
766 
767  ::ignition::msgs::LogStatus_LogFile* temp = log_file_;
768  log_file_ = NULL;
769  return temp;
770 }
771 inline ::ignition::msgs::LogStatus_LogFile* LogStatus::mutable_log_file() {
772 
773  if (log_file_ == NULL) {
774  auto* p = CreateMaybeMessage<::ignition::msgs::LogStatus_LogFile>(GetArenaNoVirtual());
775  log_file_ = p;
776  }
777  // @@protoc_insertion_point(field_mutable:ignition.msgs.LogStatus.log_file)
778  return log_file_;
779 }
781  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
782  if (message_arena == NULL) {
783  delete log_file_;
784  }
785  if (log_file) {
786  ::google::protobuf::Arena* submessage_arena = NULL;
787  if (message_arena != submessage_arena) {
788  log_file = ::google::protobuf::internal::GetOwnedMessage(
789  message_arena, log_file, submessage_arena);
790  }
791 
792  } else {
793 
794  }
795  log_file_ = log_file;
796  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.LogStatus.log_file)
797 }
798 
799 #ifdef __GNUC__
800  #pragma GCC diagnostic pop
801 #endif // __GNUC__
802 // -------------------------------------------------------------------
803 
804 
809 // @@protoc_insertion_point(namespace_scope)
810 
811 } // namespace msgs
812 } // namespace ignition
813 
814 namespace google {
815 namespace protobuf {
816 
817 template <> struct is_proto_enum< ::ignition::msgs::LogStatus_LogFile_Units> : ::std::true_type {};
818 template <>
819 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::LogStatus_LogFile_Units>() {
821 }
822 
823 } // namespace protobuf
824 } // namespace google
825 
826 #ifdef _MSC_VER
827 #pragma warning(pop)
828 #endif
829 // @@protoc_insertion_point(global_scope)
830 
831 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2flog_5fstatus_2eproto
LogStatus_LogFile_Units
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:81
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:298
void clear_record_resources()
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:632
STL class.
STL class.
Definition: build/ignition-msgs5/include/ignition/msgs/time.pb.h:76
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:662
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:669
std::unique_ptr< const LogStatus > ConstLogStatusUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:806
T move(T... args)
::ignition::msgs::Time * release_sim_time()
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:710
const LogStatus_LogFile_Units LogStatus_LogFile_Units_Units_MIN
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:90
void set_record_resources(bool value)
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:639
::ignition::msgs::Time * mutable_sim_time()
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:717
void clear_full_path()
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:551
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:106
::std::string * mutable_base_path()
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:530
static const LogStatus * internal_default_instance()
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:328
@ LogStatus_LogFile_Units_LogStatus_LogFile_Units_INT_MIN_SENTINEL_DO_NOT_USE_
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:86
IGNITION_MSGS_VISIBLE TimeDefaultTypeInternal _Time_default_instance_
void IGNITION_MSGS_VISIBLE AddDescriptors()
static const ::std::string & Units_Name(Units value)
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:213
std::shared_ptr< LogStatus > LogStatusSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:807
void set_uri(const ::std::string &value)
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:452
const ::ignition::msgs::LogStatus_LogFile & log_file() const
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:758
@ LogStatus_LogFile_Units_G_BYTES
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:85
void set_full_path(const ::std::string &value)
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:558
LogStatus * New() const final
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:342
const LogStatus_LogFile_Units LogStatus_LogFile_Units_Units_MAX
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:91
LogStatus_LogFile & operator=(const LogStatus_LogFile &from)
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:113
void set_allocated_base_path(::std::string *base_path)
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:540
std::unique_ptr< LogStatus > LogStatusUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:805
void clear_log_file()
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:749
void set_allocated_full_path(::std::string *full_path)
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:593
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:656
@ LogStatus_LogFile_Units_BYTES
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:82
friend void swap(LogStatus_LogFile &a, LogStatus_LogFile &b)
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:144
::std::string * release_full_path()
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:588
const IGNITION_MSGS_VISIBLE ::google::protobuf::EnumDescriptor * LogStatus_LogFile_Units_descriptor()
void set_size(float value)
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:611
void set_allocated_log_file(::ignition::msgs::LogStatus_LogFile *log_file)
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:780
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:52
::std::string * mutable_uri()
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:477
static const LogStatus_LogFile * internal_default_instance()
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:136
static bool Units_Parse(const ::std::string &name, Units *value)
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:216
const ::std::string & base_path() const
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:501
float size() const
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:607
bool has_sim_time() const
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:698
const int LogStatus_LogFile_Units_Units_ARRAYSIZE
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:92
const ::std::string & full_path() const
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:554
void clear_size_units()
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:618
const ::ignition::msgs::Time & sim_time() const
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:704
bool has_header() const
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:650
IGNITION_MSGS_VISIBLE bool LogStatus_LogFile_Units_IsValid(int value)
friend void swap(LogStatus &a, LogStatus &b)
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:336
static const ::google::protobuf::EnumDescriptor * Units_descriptor()
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:210
IGNITION_MSGS_VISIBLE LogStatusDefaultTypeInternal _LogStatus_default_instance_
void set_allocated_sim_time(::ignition::msgs::Time *sim_time)
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:726
bool has_log_file() const
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:746
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:50
@ LogStatus_LogFile_Units_M_BYTES
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:84
void clear_size()
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:604
void Swap(LogStatus *other)
LogStatus & operator=(const LogStatus &from)
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:305
::ignition::msgs::LogStatus_LogFile_Units size_units() const
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:621
LogStatus_LogFile * New() const final
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:150
@ LogStatus_LogFile_Units_K_BYTES
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:83
void clear_base_path()
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:498
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
@ LogStatus_LogFile_Units_LogStatus_LogFile_Units_INT_MAX_SENTINEL_DO_NOT_USE_
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:87
void set_allocated_uri(::std::string *uri)
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:487
LogStatus_LogFile * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:154
bool LogStatus_LogFile_Units_Parse(const ::std::string &name, LogStatus_LogFile_Units *value)
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:99
LogStatus * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:346
Definition: build/ignition-msgs5/include/ignition/msgs/header.pb.h:215
std::shared_ptr< const LogStatus > ConstLogStatusSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:808
void Swap(LogStatus_LogFile *other)
::std::string * release_base_path()
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:535
::std::string * mutable_full_path()
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:583
IGNITION_MSGS_VISIBLE LogStatus_LogFileDefaultTypeInternal _LogStatus_LogFile_default_instance_
bool record_resources() const
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:635
::std::string * release_uri()
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:482
void set_base_path(const ::std::string &value)
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:505
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:678
::ignition::msgs::LogStatus_LogFile * mutable_log_file()
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:771
::ignition::msgs::LogStatus_LogFile * release_log_file()
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:764
void set_size_units(::ignition::msgs::LogStatus_LogFile_Units value)
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:625
const ::std::string & uri() const
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:448
STL class.
const ::std::string & LogStatus_LogFile_Units_Name(LogStatus_LogFile_Units value)
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:95
Definition: build/ignition-msgs5/include/ignition/msgs/actor.pb.h:78
void clear_uri()
Definition: build/ignition-msgs5/include/ignition/msgs/log_status.pb.h:445