Gazebo Msgs

API Reference

8.7.0
build/ignition-msgs8/include/ignition/msgs/video_record.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/video_record.proto
3 
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2fvideo_5frecord_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fvideo_5frecord_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>
34 #ifndef _MSC_VER
35 #pragma GCC system_header
36 #else
37 #pragma warning(push)
38 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
39 #endif
40 #ifdef __linux__
41 #include <sys/sysmacros.h>
42 #endif
43 #include <memory>
44 #include <ignition/msgs/Export.hh>
45 // @@protoc_insertion_point(includes)
46 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2fvideo_5frecord_2eproto IGNITION_MSGS_VISIBLE
47 
49 // Internal implementation detail -- do not use these members.
50 struct IGNITION_MSGS_VISIBLE TableStruct {
51  static const ::google::protobuf::internal::ParseTableField entries[];
52  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
53  static const ::google::protobuf::internal::ParseTable schema[1];
54  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
55  static const ::google::protobuf::internal::SerializationTable serialization_table[];
56  static const ::google::protobuf::uint32 offsets[];
57 };
58 void IGNITION_MSGS_VISIBLE AddDescriptors();
59 } // namespace protobuf_ignition_2fmsgs_2fvideo_5frecord_2eproto
60 namespace ignition {
61 namespace msgs {
62 class VideoRecord;
63 class VideoRecordDefaultTypeInternal;
64 IGNITION_MSGS_VISIBLE extern VideoRecordDefaultTypeInternal _VideoRecord_default_instance_;
65 } // namespace msgs
66 } // namespace ignition
67 namespace google {
68 namespace protobuf {
69 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::VideoRecord* Arena::CreateMaybeMessage<::ignition::msgs::VideoRecord>(Arena*);
70 } // namespace protobuf
71 } // namespace google
72 namespace ignition {
73 namespace msgs {
74 
75 // ===================================================================
76 
77 class IGNITION_MSGS_VISIBLE VideoRecord : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.VideoRecord) */ {
78  public:
79  VideoRecord();
80  virtual ~VideoRecord();
81 
82  VideoRecord(const VideoRecord& from);
83 
84  inline VideoRecord& operator=(const VideoRecord& from) {
85  CopyFrom(from);
86  return *this;
87  }
88  #if LANG_CXX11
89  VideoRecord(VideoRecord&& from) noexcept
90  : VideoRecord() {
91  *this = ::std::move(from);
92  }
93 
94  inline VideoRecord& operator=(VideoRecord&& from) noexcept {
95  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
96  if (this != &from) InternalSwap(&from);
97  } else {
98  CopyFrom(from);
99  }
100  return *this;
101  }
102  #endif
103  static const ::google::protobuf::Descriptor* descriptor();
104  static const VideoRecord& default_instance();
105 
106  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
107  static inline const VideoRecord* internal_default_instance() {
108  return reinterpret_cast<const VideoRecord*>(
110  }
111  static constexpr int kIndexInFileMessages =
112  0;
113 
114  void Swap(VideoRecord* other);
115  friend void swap(VideoRecord& a, VideoRecord& b) {
116  a.Swap(&b);
117  }
118 
119  // implements Message ----------------------------------------------
120 
121  inline VideoRecord* New() const final {
122  return CreateMaybeMessage<VideoRecord>(NULL);
123  }
124 
125  VideoRecord* New(::google::protobuf::Arena* arena) const final {
126  return CreateMaybeMessage<VideoRecord>(arena);
127  }
128  void CopyFrom(const ::google::protobuf::Message& from) final;
129  void MergeFrom(const ::google::protobuf::Message& from) final;
130  void CopyFrom(const VideoRecord& from);
131  void MergeFrom(const VideoRecord& from);
132  void Clear() final;
133  bool IsInitialized() const final;
134 
135  size_t ByteSizeLong() const final;
136  bool MergePartialFromCodedStream(
137  ::google::protobuf::io::CodedInputStream* input) final;
138  void SerializeWithCachedSizes(
139  ::google::protobuf::io::CodedOutputStream* output) const final;
140  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
141  bool deterministic, ::google::protobuf::uint8* target) const final;
142  int GetCachedSize() const final { return _cached_size_.Get(); }
143 
144  private:
145  void SharedCtor();
146  void SharedDtor();
147  void SetCachedSize(int size) const final;
148  void InternalSwap(VideoRecord* other);
149  private:
150  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
151  return NULL;
152  }
153  inline void* MaybeArenaPtr() const {
154  return NULL;
155  }
156  public:
157 
158  ::google::protobuf::Metadata GetMetadata() const final;
159 
160  // nested types ----------------------------------------------------
161 
162  // accessors -------------------------------------------------------
163 
164  // string format = 4;
165  void clear_format();
166  static const int kFormatFieldNumber = 4;
167  const ::std::string& format() const;
168  void set_format(const ::std::string& value);
169  #if LANG_CXX11
170  void set_format(::std::string&& value);
171  #endif
172  void set_format(const char* value);
173  void set_format(const char* value, size_t size);
174  ::std::string* mutable_format();
175  ::std::string* release_format();
176  void set_allocated_format(::std::string* format);
177 
178  // string save_filename = 5;
179  void clear_save_filename();
180  static const int kSaveFilenameFieldNumber = 5;
181  const ::std::string& save_filename() const;
182  void set_save_filename(const ::std::string& value);
183  #if LANG_CXX11
184  void set_save_filename(::std::string&& value);
185  #endif
186  void set_save_filename(const char* value);
187  void set_save_filename(const char* value, size_t size);
188  ::std::string* mutable_save_filename();
189  ::std::string* release_save_filename();
190  void set_allocated_save_filename(::std::string* save_filename);
191 
192  // .ignition.msgs.Header header = 1;
193  bool has_header() const;
194  void clear_header();
195  static const int kHeaderFieldNumber = 1;
196  private:
197  const ::ignition::msgs::Header& _internal_header() const;
198  public:
199  const ::ignition::msgs::Header& header() const;
200  ::ignition::msgs::Header* release_header();
201  ::ignition::msgs::Header* mutable_header();
202  void set_allocated_header(::ignition::msgs::Header* header);
203 
204  // bool start = 2;
205  void clear_start();
206  static const int kStartFieldNumber = 2;
207  bool start() const;
208  void set_start(bool value);
209 
210  // bool stop = 3;
211  void clear_stop();
212  static const int kStopFieldNumber = 3;
213  bool stop() const;
214  void set_stop(bool value);
215 
216  // @@protoc_insertion_point(class_scope:ignition.msgs.VideoRecord)
217  private:
218 
219  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
220  ::google::protobuf::internal::ArenaStringPtr format_;
221  ::google::protobuf::internal::ArenaStringPtr save_filename_;
222  ::ignition::msgs::Header* header_;
223  bool start_;
224  bool stop_;
225  mutable ::google::protobuf::internal::CachedSize _cached_size_;
226  friend struct ::protobuf_ignition_2fmsgs_2fvideo_5frecord_2eproto::TableStruct;
227 };
228 // ===================================================================
229 
230 
231 // ===================================================================
232 
233 #ifdef __GNUC__
234  #pragma GCC diagnostic push
235  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
236 #endif // __GNUC__
237 // VideoRecord
238 
239 // .ignition.msgs.Header header = 1;
240 inline bool VideoRecord::has_header() const {
241  return this != internal_default_instance() && header_ != NULL;
242 }
243 inline const ::ignition::msgs::Header& VideoRecord::_internal_header() const {
244  return *header_;
245 }
246 inline const ::ignition::msgs::Header& VideoRecord::header() const {
247  const ::ignition::msgs::Header* p = header_;
248  // @@protoc_insertion_point(field_get:ignition.msgs.VideoRecord.header)
249  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
251 }
252 inline ::ignition::msgs::Header* VideoRecord::release_header() {
253  // @@protoc_insertion_point(field_release:ignition.msgs.VideoRecord.header)
254 
255  ::ignition::msgs::Header* temp = header_;
256  header_ = NULL;
257  return temp;
258 }
259 inline ::ignition::msgs::Header* VideoRecord::mutable_header() {
260 
261  if (header_ == NULL) {
262  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
263  header_ = p;
264  }
265  // @@protoc_insertion_point(field_mutable:ignition.msgs.VideoRecord.header)
266  return header_;
267 }
269  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
270  if (message_arena == NULL) {
271  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
272  }
273  if (header) {
274  ::google::protobuf::Arena* submessage_arena = NULL;
275  if (message_arena != submessage_arena) {
276  header = ::google::protobuf::internal::GetOwnedMessage(
277  message_arena, header, submessage_arena);
278  }
279 
280  } else {
281 
282  }
283  header_ = header;
284  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.VideoRecord.header)
285 }
286 
287 // bool start = 2;
289  start_ = false;
290 }
291 inline bool VideoRecord::start() const {
292  // @@protoc_insertion_point(field_get:ignition.msgs.VideoRecord.start)
293  return start_;
294 }
295 inline void VideoRecord::set_start(bool value) {
296 
297  start_ = value;
298  // @@protoc_insertion_point(field_set:ignition.msgs.VideoRecord.start)
299 }
300 
301 // bool stop = 3;
302 inline void VideoRecord::clear_stop() {
303  stop_ = false;
304 }
305 inline bool VideoRecord::stop() const {
306  // @@protoc_insertion_point(field_get:ignition.msgs.VideoRecord.stop)
307  return stop_;
308 }
309 inline void VideoRecord::set_stop(bool value) {
310 
311  stop_ = value;
312  // @@protoc_insertion_point(field_set:ignition.msgs.VideoRecord.stop)
313 }
314 
315 // string format = 4;
317  format_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
318 }
319 inline const ::std::string& VideoRecord::format() const {
320  // @@protoc_insertion_point(field_get:ignition.msgs.VideoRecord.format)
321  return format_.GetNoArena();
322 }
323 inline void VideoRecord::set_format(const ::std::string& value) {
324 
325  format_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
326  // @@protoc_insertion_point(field_set:ignition.msgs.VideoRecord.format)
327 }
328 #if LANG_CXX11
329 inline void VideoRecord::set_format(::std::string&& value) {
330 
331  format_.SetNoArena(
332  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
333  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.VideoRecord.format)
334 }
335 #endif
336 inline void VideoRecord::set_format(const char* value) {
337  GOOGLE_DCHECK(value != NULL);
338 
339  format_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
340  // @@protoc_insertion_point(field_set_char:ignition.msgs.VideoRecord.format)
341 }
342 inline void VideoRecord::set_format(const char* value, size_t size) {
343 
344  format_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
345  ::std::string(reinterpret_cast<const char*>(value), size));
346  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.VideoRecord.format)
347 }
348 inline ::std::string* VideoRecord::mutable_format() {
349 
350  // @@protoc_insertion_point(field_mutable:ignition.msgs.VideoRecord.format)
351  return format_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
352 }
353 inline ::std::string* VideoRecord::release_format() {
354  // @@protoc_insertion_point(field_release:ignition.msgs.VideoRecord.format)
355 
356  return format_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
357 }
359  if (format != NULL) {
360 
361  } else {
362 
363  }
364  format_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), format);
365  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.VideoRecord.format)
366 }
367 
368 // string save_filename = 5;
370  save_filename_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
371 }
372 inline const ::std::string& VideoRecord::save_filename() const {
373  // @@protoc_insertion_point(field_get:ignition.msgs.VideoRecord.save_filename)
374  return save_filename_.GetNoArena();
375 }
376 inline void VideoRecord::set_save_filename(const ::std::string& value) {
377 
378  save_filename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
379  // @@protoc_insertion_point(field_set:ignition.msgs.VideoRecord.save_filename)
380 }
381 #if LANG_CXX11
382 inline void VideoRecord::set_save_filename(::std::string&& value) {
383 
384  save_filename_.SetNoArena(
385  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
386  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.VideoRecord.save_filename)
387 }
388 #endif
389 inline void VideoRecord::set_save_filename(const char* value) {
390  GOOGLE_DCHECK(value != NULL);
391 
392  save_filename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
393  // @@protoc_insertion_point(field_set_char:ignition.msgs.VideoRecord.save_filename)
394 }
395 inline void VideoRecord::set_save_filename(const char* value, size_t size) {
396 
397  save_filename_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
398  ::std::string(reinterpret_cast<const char*>(value), size));
399  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.VideoRecord.save_filename)
400 }
401 inline ::std::string* VideoRecord::mutable_save_filename() {
402 
403  // @@protoc_insertion_point(field_mutable:ignition.msgs.VideoRecord.save_filename)
404  return save_filename_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
405 }
406 inline ::std::string* VideoRecord::release_save_filename() {
407  // @@protoc_insertion_point(field_release:ignition.msgs.VideoRecord.save_filename)
408 
409  return save_filename_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
410 }
412  if (save_filename != NULL) {
413 
414  } else {
415 
416  }
417  save_filename_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), save_filename);
418  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.VideoRecord.save_filename)
419 }
420 
421 #ifdef __GNUC__
422  #pragma GCC diagnostic pop
423 #endif // __GNUC__
424 
429 // @@protoc_insertion_point(namespace_scope)
430 
431 } // namespace msgs
432 } // namespace ignition
433 
434 #ifdef _MSC_VER
435 #pragma warning(pop)
436 #endif
437 // @@protoc_insertion_point(global_scope)
438 
439 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fvideo_5frecord_2eproto
::std::string * release_format()
Definition: build/ignition-msgs8/include/ignition/msgs/video_record.pb.h:353
::std::string * release_save_filename()
Definition: build/ignition-msgs8/include/ignition/msgs/video_record.pb.h:406
STL class.
STL class.
bool stop() const
Definition: build/ignition-msgs8/include/ignition/msgs/video_record.pb.h:305
T move(T... args)
::std::string * mutable_save_filename()
Definition: build/ignition-msgs8/include/ignition/msgs/video_record.pb.h:401
VideoRecord * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/video_record.pb.h:125
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs8/include/ignition/msgs/video_record.pb.h:246
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs8/include/ignition/msgs/video_record.pb.h:259
IGNITION_MSGS_VISIBLE VideoRecordDefaultTypeInternal _VideoRecord_default_instance_
void clear_save_filename()
Definition: build/ignition-msgs8/include/ignition/msgs/video_record.pb.h:369
VideoRecord * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/video_record.pb.h:121
void set_format(const ::std::string &value)
Definition: build/ignition-msgs8/include/ignition/msgs/video_record.pb.h:323
void clear_stop()
Definition: build/ignition-msgs8/include/ignition/msgs/video_record.pb.h:302
std::shared_ptr< VideoRecord > VideoRecordSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/video_record.pb.h:427
void clear_start()
Definition: build/ignition-msgs8/include/ignition/msgs/video_record.pb.h:288
void clear_format()
Definition: build/ignition-msgs8/include/ignition/msgs/video_record.pb.h:316
std::shared_ptr< const VideoRecord > ConstVideoRecordSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/video_record.pb.h:428
bool start() const
Definition: build/ignition-msgs8/include/ignition/msgs/video_record.pb.h:291
void set_stop(bool value)
Definition: build/ignition-msgs8/include/ignition/msgs/video_record.pb.h:309
::std::string * mutable_format()
Definition: build/ignition-msgs8/include/ignition/msgs/video_record.pb.h:348
std::unique_ptr< const VideoRecord > ConstVideoRecordUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/video_record.pb.h:426
bool has_header() const
Definition: build/ignition-msgs8/include/ignition/msgs/video_record.pb.h:240
Definition: build/ignition-msgs8/include/ignition/msgs/video_record.pb.h:50
static const VideoRecord * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/video_record.pb.h:107
void Swap(VideoRecord *other)
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs8/include/ignition/msgs/video_record.pb.h:268
void set_save_filename(const ::std::string &value)
Definition: build/ignition-msgs8/include/ignition/msgs/video_record.pb.h:376
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
VideoRecord & operator=(const VideoRecord &from)
Definition: build/ignition-msgs8/include/ignition/msgs/video_record.pb.h:84
STL namespace.
Definition: build/ignition-msgs8/include/ignition/msgs/header.pb.h:215
const ::std::string & save_filename() const
Definition: build/ignition-msgs8/include/ignition/msgs/video_record.pb.h:372
const ::std::string & format() const
Definition: build/ignition-msgs8/include/ignition/msgs/video_record.pb.h:319
void set_allocated_format(::std::string *format)
Definition: build/ignition-msgs8/include/ignition/msgs/video_record.pb.h:358
Definition: build/ignition-msgs8/include/ignition/msgs/video_record.pb.h:48
Definition: build/ignition-msgs8/include/ignition/msgs/video_record.pb.h:77
void set_start(bool value)
Definition: build/ignition-msgs8/include/ignition/msgs/video_record.pb.h:295
STL class.
void set_allocated_save_filename(::std::string *save_filename)
Definition: build/ignition-msgs8/include/ignition/msgs/video_record.pb.h:411
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs8/include/ignition/msgs/video_record.pb.h:252
std::unique_ptr< VideoRecord > VideoRecordUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/video_record.pb.h:425
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:78
friend void swap(VideoRecord &a, VideoRecord &b)
Definition: build/ignition-msgs8/include/ignition/msgs/video_record.pb.h:115