Gazebo Msgs

API Reference

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