Gazebo Msgs

API Reference

9.5.1
world_stats.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: gz/msgs/world_stats.proto
3 
4 #ifndef PROTOBUF_INCLUDED_gz_2fmsgs_2fworld_5fstats_2eproto
5 #define PROTOBUF_INCLUDED_gz_2fmsgs_2fworld_5fstats_2eproto
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
22 #include <google/protobuf/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
29 #include <google/protobuf/message.h>
30 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
31 #include <google/protobuf/extension_set.h> // IWYU pragma: export
32 #include <google/protobuf/unknown_field_set.h>
33 #include "gz/msgs/log_playback_stats.pb.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_2fworld_5fstats_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[1];
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_2fworld_5fstats_2eproto
51 namespace gz {
52 namespace msgs {
53 class WorldStatistics;
54 class WorldStatisticsDefaultTypeInternal;
55 GZ_MSGS_VISIBLE extern WorldStatisticsDefaultTypeInternal _WorldStatistics_default_instance_;
56 } // namespace msgs
57 } // namespace gz
58 namespace google {
59 namespace protobuf {
60 template<> GZ_MSGS_VISIBLE ::gz::msgs::WorldStatistics* Arena::CreateMaybeMessage<::gz::msgs::WorldStatistics>(Arena*);
61 } // namespace protobuf
62 } // namespace google
63 namespace gz {
64 namespace msgs {
65 
66 // ===================================================================
67 
68 class GZ_MSGS_VISIBLE WorldStatistics : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.WorldStatistics) */ {
69  public:
71  virtual ~WorldStatistics();
72 
73  WorldStatistics(const WorldStatistics& from);
74 
75  inline WorldStatistics& operator=(const WorldStatistics& from) {
76  CopyFrom(from);
77  return *this;
78  }
79  #if LANG_CXX11
80  WorldStatistics(WorldStatistics&& from) noexcept
81  : WorldStatistics() {
82  *this = ::std::move(from);
83  }
84 
85  inline WorldStatistics& operator=(WorldStatistics&& from) noexcept {
86  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
87  if (this != &from) InternalSwap(&from);
88  } else {
89  CopyFrom(from);
90  }
91  return *this;
92  }
93  #endif
94  static const ::google::protobuf::Descriptor* descriptor();
95  static const WorldStatistics& default_instance();
96 
97  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
98  static inline const WorldStatistics* internal_default_instance() {
99  return reinterpret_cast<const WorldStatistics*>(
101  }
102  static constexpr int kIndexInFileMessages =
103  0;
104 
105  void Swap(WorldStatistics* other);
106  friend void swap(WorldStatistics& a, WorldStatistics& b) {
107  a.Swap(&b);
108  }
109 
110  // implements Message ----------------------------------------------
111 
112  inline WorldStatistics* New() const final {
113  return CreateMaybeMessage<WorldStatistics>(NULL);
114  }
115 
116  WorldStatistics* New(::google::protobuf::Arena* arena) const final {
117  return CreateMaybeMessage<WorldStatistics>(arena);
118  }
119  void CopyFrom(const ::google::protobuf::Message& from) final;
120  void MergeFrom(const ::google::protobuf::Message& from) final;
121  void CopyFrom(const WorldStatistics& from);
122  void MergeFrom(const WorldStatistics& from);
123  void Clear() final;
124  bool IsInitialized() const final;
125 
126  size_t ByteSizeLong() const final;
127  bool MergePartialFromCodedStream(
128  ::google::protobuf::io::CodedInputStream* input) final;
129  void SerializeWithCachedSizes(
130  ::google::protobuf::io::CodedOutputStream* output) const final;
131  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
132  bool deterministic, ::google::protobuf::uint8* target) const final;
133  int GetCachedSize() const final { return _cached_size_.Get(); }
134 
135  private:
136  void SharedCtor();
137  void SharedDtor();
138  void SetCachedSize(int size) const final;
139  void InternalSwap(WorldStatistics* other);
140  private:
141  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
142  return NULL;
143  }
144  inline void* MaybeArenaPtr() const {
145  return NULL;
146  }
147  public:
148 
149  ::google::protobuf::Metadata GetMetadata() const final;
150 
151  // nested types ----------------------------------------------------
152 
153  // accessors -------------------------------------------------------
154 
155  // .gz.msgs.Header header = 1;
156  bool has_header() const;
157  void clear_header();
158  static const int kHeaderFieldNumber = 1;
159  private:
160  const ::gz::msgs::Header& _internal_header() const;
161  public:
162  const ::gz::msgs::Header& header() const;
163  ::gz::msgs::Header* release_header();
164  ::gz::msgs::Header* mutable_header();
165  void set_allocated_header(::gz::msgs::Header* header);
166 
167  // .gz.msgs.Time sim_time = 2;
168  bool has_sim_time() const;
169  void clear_sim_time();
170  static const int kSimTimeFieldNumber = 2;
171  private:
172  const ::gz::msgs::Time& _internal_sim_time() const;
173  public:
174  const ::gz::msgs::Time& sim_time() const;
175  ::gz::msgs::Time* release_sim_time();
176  ::gz::msgs::Time* mutable_sim_time();
177  void set_allocated_sim_time(::gz::msgs::Time* sim_time);
178 
179  // .gz.msgs.Time pause_time = 3;
180  bool has_pause_time() const;
181  void clear_pause_time();
182  static const int kPauseTimeFieldNumber = 3;
183  private:
184  const ::gz::msgs::Time& _internal_pause_time() const;
185  public:
186  const ::gz::msgs::Time& pause_time() const;
187  ::gz::msgs::Time* release_pause_time();
188  ::gz::msgs::Time* mutable_pause_time();
189  void set_allocated_pause_time(::gz::msgs::Time* pause_time);
190 
191  // .gz.msgs.Time real_time = 4;
192  bool has_real_time() const;
193  void clear_real_time();
194  static const int kRealTimeFieldNumber = 4;
195  private:
196  const ::gz::msgs::Time& _internal_real_time() const;
197  public:
198  const ::gz::msgs::Time& real_time() const;
199  ::gz::msgs::Time* release_real_time();
200  ::gz::msgs::Time* mutable_real_time();
201  void set_allocated_real_time(::gz::msgs::Time* real_time);
202 
203  // .gz.msgs.LogPlaybackStatistics log_playback_stats = 8;
204  bool has_log_playback_stats() const;
205  void clear_log_playback_stats();
206  static const int kLogPlaybackStatsFieldNumber = 8;
207  private:
208  const ::gz::msgs::LogPlaybackStatistics& _internal_log_playback_stats() const;
209  public:
210  const ::gz::msgs::LogPlaybackStatistics& log_playback_stats() const;
211  ::gz::msgs::LogPlaybackStatistics* release_log_playback_stats();
212  ::gz::msgs::LogPlaybackStatistics* mutable_log_playback_stats();
213  void set_allocated_log_playback_stats(::gz::msgs::LogPlaybackStatistics* log_playback_stats);
214 
215  // .gz.msgs.Time step_size = 10;
216  bool has_step_size() const;
217  void clear_step_size();
218  static const int kStepSizeFieldNumber = 10;
219  private:
220  const ::gz::msgs::Time& _internal_step_size() const;
221  public:
222  const ::gz::msgs::Time& step_size() const;
223  ::gz::msgs::Time* release_step_size();
224  ::gz::msgs::Time* mutable_step_size();
225  void set_allocated_step_size(::gz::msgs::Time* step_size);
226 
227  // uint64 iterations = 6;
228  void clear_iterations();
229  static const int kIterationsFieldNumber = 6;
230  ::google::protobuf::uint64 iterations() const;
231  void set_iterations(::google::protobuf::uint64 value);
232 
233  // int32 model_count = 7;
234  void clear_model_count();
235  static const int kModelCountFieldNumber = 7;
236  ::google::protobuf::int32 model_count() const;
237  void set_model_count(::google::protobuf::int32 value);
238 
239  // bool paused = 5;
240  void clear_paused();
241  static const int kPausedFieldNumber = 5;
242  bool paused() const;
243  void set_paused(bool value);
244 
245  // bool stepping = 11;
246  void clear_stepping();
247  static const int kSteppingFieldNumber = 11;
248  bool stepping() const;
249  void set_stepping(bool value);
250 
251  // double real_time_factor = 9;
252  void clear_real_time_factor();
253  static const int kRealTimeFactorFieldNumber = 9;
254  double real_time_factor() const;
255  void set_real_time_factor(double value);
256 
257  // @@protoc_insertion_point(class_scope:gz.msgs.WorldStatistics)
258  private:
259 
260  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
261  ::gz::msgs::Header* header_;
262  ::gz::msgs::Time* sim_time_;
263  ::gz::msgs::Time* pause_time_;
264  ::gz::msgs::Time* real_time_;
265  ::gz::msgs::LogPlaybackStatistics* log_playback_stats_;
266  ::gz::msgs::Time* step_size_;
267  ::google::protobuf::uint64 iterations_;
268  ::google::protobuf::int32 model_count_;
269  bool paused_;
270  bool stepping_;
271  double real_time_factor_;
272  mutable ::google::protobuf::internal::CachedSize _cached_size_;
273  friend struct ::protobuf_gz_2fmsgs_2fworld_5fstats_2eproto::TableStruct;
274 };
275 // ===================================================================
276 
277 
278 // ===================================================================
279 
280 #ifdef __GNUC__
281  #pragma GCC diagnostic push
282  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
283 #endif // __GNUC__
284 // WorldStatistics
285 
286 // .gz.msgs.Header header = 1;
287 inline bool WorldStatistics::has_header() const {
288  return this != internal_default_instance() && header_ != NULL;
289 }
290 inline const ::gz::msgs::Header& WorldStatistics::_internal_header() const {
291  return *header_;
292 }
293 inline const ::gz::msgs::Header& WorldStatistics::header() const {
294  const ::gz::msgs::Header* p = header_;
295  // @@protoc_insertion_point(field_get:gz.msgs.WorldStatistics.header)
296  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Header*>(
298 }
299 inline ::gz::msgs::Header* WorldStatistics::release_header() {
300  // @@protoc_insertion_point(field_release:gz.msgs.WorldStatistics.header)
301 
302  ::gz::msgs::Header* temp = header_;
303  header_ = NULL;
304  return temp;
305 }
306 inline ::gz::msgs::Header* WorldStatistics::mutable_header() {
307 
308  if (header_ == NULL) {
309  auto* p = CreateMaybeMessage<::gz::msgs::Header>(GetArenaNoVirtual());
310  header_ = p;
311  }
312  // @@protoc_insertion_point(field_mutable:gz.msgs.WorldStatistics.header)
313  return header_;
314 }
316  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
317  if (message_arena == NULL) {
318  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
319  }
320  if (header) {
321  ::google::protobuf::Arena* submessage_arena = NULL;
322  if (message_arena != submessage_arena) {
323  header = ::google::protobuf::internal::GetOwnedMessage(
324  message_arena, header, submessage_arena);
325  }
326 
327  } else {
328 
329  }
330  header_ = header;
331  // @@protoc_insertion_point(field_set_allocated:gz.msgs.WorldStatistics.header)
332 }
333 
334 // .gz.msgs.Time sim_time = 2;
335 inline bool WorldStatistics::has_sim_time() const {
336  return this != internal_default_instance() && sim_time_ != NULL;
337 }
338 inline const ::gz::msgs::Time& WorldStatistics::_internal_sim_time() const {
339  return *sim_time_;
340 }
341 inline const ::gz::msgs::Time& WorldStatistics::sim_time() const {
342  const ::gz::msgs::Time* p = sim_time_;
343  // @@protoc_insertion_point(field_get:gz.msgs.WorldStatistics.sim_time)
344  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Time*>(
346 }
347 inline ::gz::msgs::Time* WorldStatistics::release_sim_time() {
348  // @@protoc_insertion_point(field_release:gz.msgs.WorldStatistics.sim_time)
349 
350  ::gz::msgs::Time* temp = sim_time_;
351  sim_time_ = NULL;
352  return temp;
353 }
354 inline ::gz::msgs::Time* WorldStatistics::mutable_sim_time() {
355 
356  if (sim_time_ == NULL) {
357  auto* p = CreateMaybeMessage<::gz::msgs::Time>(GetArenaNoVirtual());
358  sim_time_ = p;
359  }
360  // @@protoc_insertion_point(field_mutable:gz.msgs.WorldStatistics.sim_time)
361  return sim_time_;
362 }
364  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
365  if (message_arena == NULL) {
366  delete reinterpret_cast< ::google::protobuf::MessageLite*>(sim_time_);
367  }
368  if (sim_time) {
369  ::google::protobuf::Arena* submessage_arena = NULL;
370  if (message_arena != submessage_arena) {
371  sim_time = ::google::protobuf::internal::GetOwnedMessage(
372  message_arena, sim_time, submessage_arena);
373  }
374 
375  } else {
376 
377  }
378  sim_time_ = sim_time;
379  // @@protoc_insertion_point(field_set_allocated:gz.msgs.WorldStatistics.sim_time)
380 }
381 
382 // .gz.msgs.Time pause_time = 3;
383 inline bool WorldStatistics::has_pause_time() const {
384  return this != internal_default_instance() && pause_time_ != NULL;
385 }
386 inline const ::gz::msgs::Time& WorldStatistics::_internal_pause_time() const {
387  return *pause_time_;
388 }
389 inline const ::gz::msgs::Time& WorldStatistics::pause_time() const {
390  const ::gz::msgs::Time* p = pause_time_;
391  // @@protoc_insertion_point(field_get:gz.msgs.WorldStatistics.pause_time)
392  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Time*>(
394 }
395 inline ::gz::msgs::Time* WorldStatistics::release_pause_time() {
396  // @@protoc_insertion_point(field_release:gz.msgs.WorldStatistics.pause_time)
397 
398  ::gz::msgs::Time* temp = pause_time_;
399  pause_time_ = NULL;
400  return temp;
401 }
402 inline ::gz::msgs::Time* WorldStatistics::mutable_pause_time() {
403 
404  if (pause_time_ == NULL) {
405  auto* p = CreateMaybeMessage<::gz::msgs::Time>(GetArenaNoVirtual());
406  pause_time_ = p;
407  }
408  // @@protoc_insertion_point(field_mutable:gz.msgs.WorldStatistics.pause_time)
409  return pause_time_;
410 }
412  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
413  if (message_arena == NULL) {
414  delete reinterpret_cast< ::google::protobuf::MessageLite*>(pause_time_);
415  }
416  if (pause_time) {
417  ::google::protobuf::Arena* submessage_arena = NULL;
418  if (message_arena != submessage_arena) {
419  pause_time = ::google::protobuf::internal::GetOwnedMessage(
420  message_arena, pause_time, submessage_arena);
421  }
422 
423  } else {
424 
425  }
426  pause_time_ = pause_time;
427  // @@protoc_insertion_point(field_set_allocated:gz.msgs.WorldStatistics.pause_time)
428 }
429 
430 // .gz.msgs.Time real_time = 4;
431 inline bool WorldStatistics::has_real_time() const {
432  return this != internal_default_instance() && real_time_ != NULL;
433 }
434 inline const ::gz::msgs::Time& WorldStatistics::_internal_real_time() const {
435  return *real_time_;
436 }
437 inline const ::gz::msgs::Time& WorldStatistics::real_time() const {
438  const ::gz::msgs::Time* p = real_time_;
439  // @@protoc_insertion_point(field_get:gz.msgs.WorldStatistics.real_time)
440  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Time*>(
442 }
443 inline ::gz::msgs::Time* WorldStatistics::release_real_time() {
444  // @@protoc_insertion_point(field_release:gz.msgs.WorldStatistics.real_time)
445 
446  ::gz::msgs::Time* temp = real_time_;
447  real_time_ = NULL;
448  return temp;
449 }
450 inline ::gz::msgs::Time* WorldStatistics::mutable_real_time() {
451 
452  if (real_time_ == NULL) {
453  auto* p = CreateMaybeMessage<::gz::msgs::Time>(GetArenaNoVirtual());
454  real_time_ = p;
455  }
456  // @@protoc_insertion_point(field_mutable:gz.msgs.WorldStatistics.real_time)
457  return real_time_;
458 }
460  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
461  if (message_arena == NULL) {
462  delete reinterpret_cast< ::google::protobuf::MessageLite*>(real_time_);
463  }
464  if (real_time) {
465  ::google::protobuf::Arena* submessage_arena = NULL;
466  if (message_arena != submessage_arena) {
467  real_time = ::google::protobuf::internal::GetOwnedMessage(
468  message_arena, real_time, submessage_arena);
469  }
470 
471  } else {
472 
473  }
474  real_time_ = real_time;
475  // @@protoc_insertion_point(field_set_allocated:gz.msgs.WorldStatistics.real_time)
476 }
477 
478 // bool paused = 5;
480  paused_ = false;
481 }
482 inline bool WorldStatistics::paused() const {
483  // @@protoc_insertion_point(field_get:gz.msgs.WorldStatistics.paused)
484  return paused_;
485 }
486 inline void WorldStatistics::set_paused(bool value) {
487 
488  paused_ = value;
489  // @@protoc_insertion_point(field_set:gz.msgs.WorldStatistics.paused)
490 }
491 
492 // uint64 iterations = 6;
494  iterations_ = GOOGLE_ULONGLONG(0);
495 }
496 inline ::google::protobuf::uint64 WorldStatistics::iterations() const {
497  // @@protoc_insertion_point(field_get:gz.msgs.WorldStatistics.iterations)
498  return iterations_;
499 }
500 inline void WorldStatistics::set_iterations(::google::protobuf::uint64 value) {
501 
502  iterations_ = value;
503  // @@protoc_insertion_point(field_set:gz.msgs.WorldStatistics.iterations)
504 }
505 
506 // int32 model_count = 7;
508  model_count_ = 0;
509 }
510 inline ::google::protobuf::int32 WorldStatistics::model_count() const {
511  // @@protoc_insertion_point(field_get:gz.msgs.WorldStatistics.model_count)
512  return model_count_;
513 }
514 inline void WorldStatistics::set_model_count(::google::protobuf::int32 value) {
515 
516  model_count_ = value;
517  // @@protoc_insertion_point(field_set:gz.msgs.WorldStatistics.model_count)
518 }
519 
520 // .gz.msgs.LogPlaybackStatistics log_playback_stats = 8;
522  return this != internal_default_instance() && log_playback_stats_ != NULL;
523 }
524 inline const ::gz::msgs::LogPlaybackStatistics& WorldStatistics::_internal_log_playback_stats() const {
525  return *log_playback_stats_;
526 }
527 inline const ::gz::msgs::LogPlaybackStatistics& WorldStatistics::log_playback_stats() const {
528  const ::gz::msgs::LogPlaybackStatistics* p = log_playback_stats_;
529  // @@protoc_insertion_point(field_get:gz.msgs.WorldStatistics.log_playback_stats)
530  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::LogPlaybackStatistics*>(
532 }
533 inline ::gz::msgs::LogPlaybackStatistics* WorldStatistics::release_log_playback_stats() {
534  // @@protoc_insertion_point(field_release:gz.msgs.WorldStatistics.log_playback_stats)
535 
536  ::gz::msgs::LogPlaybackStatistics* temp = log_playback_stats_;
537  log_playback_stats_ = NULL;
538  return temp;
539 }
540 inline ::gz::msgs::LogPlaybackStatistics* WorldStatistics::mutable_log_playback_stats() {
541 
542  if (log_playback_stats_ == NULL) {
543  auto* p = CreateMaybeMessage<::gz::msgs::LogPlaybackStatistics>(GetArenaNoVirtual());
544  log_playback_stats_ = p;
545  }
546  // @@protoc_insertion_point(field_mutable:gz.msgs.WorldStatistics.log_playback_stats)
547  return log_playback_stats_;
548 }
550  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
551  if (message_arena == NULL) {
552  delete reinterpret_cast< ::google::protobuf::MessageLite*>(log_playback_stats_);
553  }
554  if (log_playback_stats) {
555  ::google::protobuf::Arena* submessage_arena = NULL;
556  if (message_arena != submessage_arena) {
557  log_playback_stats = ::google::protobuf::internal::GetOwnedMessage(
558  message_arena, log_playback_stats, submessage_arena);
559  }
560 
561  } else {
562 
563  }
564  log_playback_stats_ = log_playback_stats;
565  // @@protoc_insertion_point(field_set_allocated:gz.msgs.WorldStatistics.log_playback_stats)
566 }
567 
568 // double real_time_factor = 9;
570  real_time_factor_ = 0;
571 }
572 inline double WorldStatistics::real_time_factor() const {
573  // @@protoc_insertion_point(field_get:gz.msgs.WorldStatistics.real_time_factor)
574  return real_time_factor_;
575 }
576 inline void WorldStatistics::set_real_time_factor(double value) {
577 
578  real_time_factor_ = value;
579  // @@protoc_insertion_point(field_set:gz.msgs.WorldStatistics.real_time_factor)
580 }
581 
582 // .gz.msgs.Time step_size = 10;
583 inline bool WorldStatistics::has_step_size() const {
584  return this != internal_default_instance() && step_size_ != NULL;
585 }
586 inline const ::gz::msgs::Time& WorldStatistics::_internal_step_size() const {
587  return *step_size_;
588 }
589 inline const ::gz::msgs::Time& WorldStatistics::step_size() const {
590  const ::gz::msgs::Time* p = step_size_;
591  // @@protoc_insertion_point(field_get:gz.msgs.WorldStatistics.step_size)
592  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Time*>(
594 }
595 inline ::gz::msgs::Time* WorldStatistics::release_step_size() {
596  // @@protoc_insertion_point(field_release:gz.msgs.WorldStatistics.step_size)
597 
598  ::gz::msgs::Time* temp = step_size_;
599  step_size_ = NULL;
600  return temp;
601 }
602 inline ::gz::msgs::Time* WorldStatistics::mutable_step_size() {
603 
604  if (step_size_ == NULL) {
605  auto* p = CreateMaybeMessage<::gz::msgs::Time>(GetArenaNoVirtual());
606  step_size_ = p;
607  }
608  // @@protoc_insertion_point(field_mutable:gz.msgs.WorldStatistics.step_size)
609  return step_size_;
610 }
612  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
613  if (message_arena == NULL) {
614  delete reinterpret_cast< ::google::protobuf::MessageLite*>(step_size_);
615  }
616  if (step_size) {
617  ::google::protobuf::Arena* submessage_arena = NULL;
618  if (message_arena != submessage_arena) {
619  step_size = ::google::protobuf::internal::GetOwnedMessage(
620  message_arena, step_size, submessage_arena);
621  }
622 
623  } else {
624 
625  }
626  step_size_ = step_size;
627  // @@protoc_insertion_point(field_set_allocated:gz.msgs.WorldStatistics.step_size)
628 }
629 
630 // bool stepping = 11;
632  stepping_ = false;
633 }
634 inline bool WorldStatistics::stepping() const {
635  // @@protoc_insertion_point(field_get:gz.msgs.WorldStatistics.stepping)
636  return stepping_;
637 }
638 inline void WorldStatistics::set_stepping(bool value) {
639 
640  stepping_ = value;
641  // @@protoc_insertion_point(field_set:gz.msgs.WorldStatistics.stepping)
642 }
643 
644 #ifdef __GNUC__
645  #pragma GCC diagnostic pop
646 #endif // __GNUC__
647 
648 // @@protoc_insertion_point(namespace_scope)
649 
650 } // namespace msgs
651 } // namespace gz
652 
653 // @@protoc_insertion_point(global_scope)
654 
655 #endif // PROTOBUF_INCLUDED_gz_2fmsgs_2fworld_5fstats_2eproto