Gazebo Msgs

API Reference

9.5.0
log_playback_stats.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: gz/msgs/log_playback_stats.proto
3 
4 #ifndef PROTOBUF_INCLUDED_gz_2fmsgs_2flog_5fplayback_5fstats_2eproto
5 #define PROTOBUF_INCLUDED_gz_2fmsgs_2flog_5fplayback_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/time.pb.h"
34 #include "gz/msgs/header.pb.h"
35 // @@protoc_insertion_point(includes)
36 #define PROTOBUF_INTERNAL_EXPORT_protobuf_gz_2fmsgs_2flog_5fplayback_5fstats_2eproto GZ_MSGS_VISIBLE
37 
39 // Internal implementation detail -- do not use these members.
40 struct GZ_MSGS_VISIBLE TableStruct {
41  static const ::google::protobuf::internal::ParseTableField entries[];
42  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
43  static const ::google::protobuf::internal::ParseTable schema[1];
44  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
45  static const ::google::protobuf::internal::SerializationTable serialization_table[];
46  static const ::google::protobuf::uint32 offsets[];
47 };
48 void GZ_MSGS_VISIBLE AddDescriptors();
49 } // namespace protobuf_gz_2fmsgs_2flog_5fplayback_5fstats_2eproto
50 namespace gz {
51 namespace msgs {
52 class LogPlaybackStatistics;
53 class LogPlaybackStatisticsDefaultTypeInternal;
54 GZ_MSGS_VISIBLE extern LogPlaybackStatisticsDefaultTypeInternal _LogPlaybackStatistics_default_instance_;
55 } // namespace msgs
56 } // namespace gz
57 namespace google {
58 namespace protobuf {
59 template<> GZ_MSGS_VISIBLE ::gz::msgs::LogPlaybackStatistics* Arena::CreateMaybeMessage<::gz::msgs::LogPlaybackStatistics>(Arena*);
60 } // namespace protobuf
61 } // namespace google
62 namespace gz {
63 namespace msgs {
64 
65 // ===================================================================
66 
67 class GZ_MSGS_VISIBLE LogPlaybackStatistics : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.LogPlaybackStatistics) */ {
68  public:
70  virtual ~LogPlaybackStatistics();
71 
73 
75  CopyFrom(from);
76  return *this;
77  }
78  #if LANG_CXX11
81  *this = ::std::move(from);
82  }
83 
84  inline LogPlaybackStatistics& operator=(LogPlaybackStatistics&& from) noexcept {
85  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
86  if (this != &from) InternalSwap(&from);
87  } else {
88  CopyFrom(from);
89  }
90  return *this;
91  }
92  #endif
93  static const ::google::protobuf::Descriptor* descriptor();
94  static const LogPlaybackStatistics& default_instance();
95 
96  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
98  return reinterpret_cast<const LogPlaybackStatistics*>(
100  }
101  static constexpr int kIndexInFileMessages =
102  0;
103 
104  void Swap(LogPlaybackStatistics* other);
106  a.Swap(&b);
107  }
108 
109  // implements Message ----------------------------------------------
110 
111  inline LogPlaybackStatistics* New() const final {
112  return CreateMaybeMessage<LogPlaybackStatistics>(NULL);
113  }
114 
115  LogPlaybackStatistics* New(::google::protobuf::Arena* arena) const final {
116  return CreateMaybeMessage<LogPlaybackStatistics>(arena);
117  }
118  void CopyFrom(const ::google::protobuf::Message& from) final;
119  void MergeFrom(const ::google::protobuf::Message& from) final;
120  void CopyFrom(const LogPlaybackStatistics& from);
121  void MergeFrom(const LogPlaybackStatistics& from);
122  void Clear() final;
123  bool IsInitialized() const final;
124 
125  size_t ByteSizeLong() const final;
126  bool MergePartialFromCodedStream(
127  ::google::protobuf::io::CodedInputStream* input) final;
128  void SerializeWithCachedSizes(
129  ::google::protobuf::io::CodedOutputStream* output) const final;
130  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
131  bool deterministic, ::google::protobuf::uint8* target) const final;
132  int GetCachedSize() const final { return _cached_size_.Get(); }
133 
134  private:
135  void SharedCtor();
136  void SharedDtor();
137  void SetCachedSize(int size) const final;
138  void InternalSwap(LogPlaybackStatistics* other);
139  private:
140  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
141  return NULL;
142  }
143  inline void* MaybeArenaPtr() const {
144  return NULL;
145  }
146  public:
147 
148  ::google::protobuf::Metadata GetMetadata() const final;
149 
150  // nested types ----------------------------------------------------
151 
152  // accessors -------------------------------------------------------
153 
154  // .gz.msgs.Header header = 1;
155  bool has_header() const;
156  void clear_header();
157  static const int kHeaderFieldNumber = 1;
158  private:
159  const ::gz::msgs::Header& _internal_header() const;
160  public:
161  const ::gz::msgs::Header& header() const;
162  ::gz::msgs::Header* release_header();
163  ::gz::msgs::Header* mutable_header();
164  void set_allocated_header(::gz::msgs::Header* header);
165 
166  // .gz.msgs.Time start_time = 2;
167  bool has_start_time() const;
168  void clear_start_time();
169  static const int kStartTimeFieldNumber = 2;
170  private:
171  const ::gz::msgs::Time& _internal_start_time() const;
172  public:
173  const ::gz::msgs::Time& start_time() const;
174  ::gz::msgs::Time* release_start_time();
175  ::gz::msgs::Time* mutable_start_time();
176  void set_allocated_start_time(::gz::msgs::Time* start_time);
177 
178  // .gz.msgs.Time end_time = 3;
179  bool has_end_time() const;
180  void clear_end_time();
181  static const int kEndTimeFieldNumber = 3;
182  private:
183  const ::gz::msgs::Time& _internal_end_time() const;
184  public:
185  const ::gz::msgs::Time& end_time() const;
186  ::gz::msgs::Time* release_end_time();
187  ::gz::msgs::Time* mutable_end_time();
188  void set_allocated_end_time(::gz::msgs::Time* end_time);
189 
190  // @@protoc_insertion_point(class_scope:gz.msgs.LogPlaybackStatistics)
191  private:
192 
193  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
194  ::gz::msgs::Header* header_;
195  ::gz::msgs::Time* start_time_;
196  ::gz::msgs::Time* end_time_;
197  mutable ::google::protobuf::internal::CachedSize _cached_size_;
199 };
200 // ===================================================================
201 
202 
203 // ===================================================================
204 
205 #ifdef __GNUC__
206  #pragma GCC diagnostic push
207  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
208 #endif // __GNUC__
209 // LogPlaybackStatistics
210 
211 // .gz.msgs.Header header = 1;
213  return this != internal_default_instance() && header_ != NULL;
214 }
215 inline const ::gz::msgs::Header& LogPlaybackStatistics::_internal_header() const {
216  return *header_;
217 }
218 inline const ::gz::msgs::Header& LogPlaybackStatistics::header() const {
219  const ::gz::msgs::Header* p = header_;
220  // @@protoc_insertion_point(field_get:gz.msgs.LogPlaybackStatistics.header)
221  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Header*>(
223 }
224 inline ::gz::msgs::Header* LogPlaybackStatistics::release_header() {
225  // @@protoc_insertion_point(field_release:gz.msgs.LogPlaybackStatistics.header)
226 
227  ::gz::msgs::Header* temp = header_;
228  header_ = NULL;
229  return temp;
230 }
231 inline ::gz::msgs::Header* LogPlaybackStatistics::mutable_header() {
232 
233  if (header_ == NULL) {
234  auto* p = CreateMaybeMessage<::gz::msgs::Header>(GetArenaNoVirtual());
235  header_ = p;
236  }
237  // @@protoc_insertion_point(field_mutable:gz.msgs.LogPlaybackStatistics.header)
238  return header_;
239 }
241  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
242  if (message_arena == NULL) {
243  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
244  }
245  if (header) {
246  ::google::protobuf::Arena* submessage_arena = NULL;
247  if (message_arena != submessage_arena) {
248  header = ::google::protobuf::internal::GetOwnedMessage(
249  message_arena, header, submessage_arena);
250  }
251 
252  } else {
253 
254  }
255  header_ = header;
256  // @@protoc_insertion_point(field_set_allocated:gz.msgs.LogPlaybackStatistics.header)
257 }
258 
259 // .gz.msgs.Time start_time = 2;
261  return this != internal_default_instance() && start_time_ != NULL;
262 }
263 inline const ::gz::msgs::Time& LogPlaybackStatistics::_internal_start_time() const {
264  return *start_time_;
265 }
266 inline const ::gz::msgs::Time& LogPlaybackStatistics::start_time() const {
267  const ::gz::msgs::Time* p = start_time_;
268  // @@protoc_insertion_point(field_get:gz.msgs.LogPlaybackStatistics.start_time)
269  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Time*>(
271 }
272 inline ::gz::msgs::Time* LogPlaybackStatistics::release_start_time() {
273  // @@protoc_insertion_point(field_release:gz.msgs.LogPlaybackStatistics.start_time)
274 
275  ::gz::msgs::Time* temp = start_time_;
276  start_time_ = NULL;
277  return temp;
278 }
279 inline ::gz::msgs::Time* LogPlaybackStatistics::mutable_start_time() {
280 
281  if (start_time_ == NULL) {
282  auto* p = CreateMaybeMessage<::gz::msgs::Time>(GetArenaNoVirtual());
283  start_time_ = p;
284  }
285  // @@protoc_insertion_point(field_mutable:gz.msgs.LogPlaybackStatistics.start_time)
286  return start_time_;
287 }
289  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
290  if (message_arena == NULL) {
291  delete reinterpret_cast< ::google::protobuf::MessageLite*>(start_time_);
292  }
293  if (start_time) {
294  ::google::protobuf::Arena* submessage_arena = NULL;
295  if (message_arena != submessage_arena) {
296  start_time = ::google::protobuf::internal::GetOwnedMessage(
297  message_arena, start_time, submessage_arena);
298  }
299 
300  } else {
301 
302  }
303  start_time_ = start_time;
304  // @@protoc_insertion_point(field_set_allocated:gz.msgs.LogPlaybackStatistics.start_time)
305 }
306 
307 // .gz.msgs.Time end_time = 3;
309  return this != internal_default_instance() && end_time_ != NULL;
310 }
311 inline const ::gz::msgs::Time& LogPlaybackStatistics::_internal_end_time() const {
312  return *end_time_;
313 }
314 inline const ::gz::msgs::Time& LogPlaybackStatistics::end_time() const {
315  const ::gz::msgs::Time* p = end_time_;
316  // @@protoc_insertion_point(field_get:gz.msgs.LogPlaybackStatistics.end_time)
317  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Time*>(
319 }
320 inline ::gz::msgs::Time* LogPlaybackStatistics::release_end_time() {
321  // @@protoc_insertion_point(field_release:gz.msgs.LogPlaybackStatistics.end_time)
322 
323  ::gz::msgs::Time* temp = end_time_;
324  end_time_ = NULL;
325  return temp;
326 }
327 inline ::gz::msgs::Time* LogPlaybackStatistics::mutable_end_time() {
328 
329  if (end_time_ == NULL) {
330  auto* p = CreateMaybeMessage<::gz::msgs::Time>(GetArenaNoVirtual());
331  end_time_ = p;
332  }
333  // @@protoc_insertion_point(field_mutable:gz.msgs.LogPlaybackStatistics.end_time)
334  return end_time_;
335 }
337  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
338  if (message_arena == NULL) {
339  delete reinterpret_cast< ::google::protobuf::MessageLite*>(end_time_);
340  }
341  if (end_time) {
342  ::google::protobuf::Arena* submessage_arena = NULL;
343  if (message_arena != submessage_arena) {
344  end_time = ::google::protobuf::internal::GetOwnedMessage(
345  message_arena, end_time, submessage_arena);
346  }
347 
348  } else {
349 
350  }
351  end_time_ = end_time;
352  // @@protoc_insertion_point(field_set_allocated:gz.msgs.LogPlaybackStatistics.end_time)
353 }
354 
355 #ifdef __GNUC__
356  #pragma GCC diagnostic pop
357 #endif // __GNUC__
358 
359 // @@protoc_insertion_point(namespace_scope)
360 
361 } // namespace msgs
362 } // namespace gz
363 
364 // @@protoc_insertion_point(global_scope)
365 
366 #endif // PROTOBUF_INCLUDED_gz_2fmsgs_2flog_5fplayback_5fstats_2eproto