Gazebo Msgs

API Reference

8.7.0
build/ignition-msgs8/include/ignition/msgs/dataframe.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/dataframe.proto
3 
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2fdataframe_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fdataframe_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_2fdataframe_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_2fdataframe_2eproto
60 namespace ignition {
61 namespace msgs {
62 class Dataframe;
63 class DataframeDefaultTypeInternal;
64 IGNITION_MSGS_VISIBLE extern DataframeDefaultTypeInternal _Dataframe_default_instance_;
65 } // namespace msgs
66 } // namespace ignition
67 namespace google {
68 namespace protobuf {
69 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Dataframe* Arena::CreateMaybeMessage<::ignition::msgs::Dataframe>(Arena*);
70 } // namespace protobuf
71 } // namespace google
72 namespace ignition {
73 namespace msgs {
74 
75 // ===================================================================
76 
77 class IGNITION_MSGS_VISIBLE Dataframe : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Dataframe) */ {
78  public:
79  Dataframe();
80  virtual ~Dataframe();
81 
82  Dataframe(const Dataframe& from);
83 
84  inline Dataframe& operator=(const Dataframe& from) {
85  CopyFrom(from);
86  return *this;
87  }
88  #if LANG_CXX11
89  Dataframe(Dataframe&& from) noexcept
90  : Dataframe() {
91  *this = ::std::move(from);
92  }
93 
94  inline Dataframe& operator=(Dataframe&& 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 Dataframe& default_instance();
105 
106  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
107  static inline const Dataframe* internal_default_instance() {
108  return reinterpret_cast<const Dataframe*>(
110  }
111  static constexpr int kIndexInFileMessages =
112  0;
113 
114  void Swap(Dataframe* other);
115  friend void swap(Dataframe& a, Dataframe& b) {
116  a.Swap(&b);
117  }
118 
119  // implements Message ----------------------------------------------
120 
121  inline Dataframe* New() const final {
122  return CreateMaybeMessage<Dataframe>(NULL);
123  }
124 
125  Dataframe* New(::google::protobuf::Arena* arena) const final {
126  return CreateMaybeMessage<Dataframe>(arena);
127  }
128  void CopyFrom(const ::google::protobuf::Message& from) final;
129  void MergeFrom(const ::google::protobuf::Message& from) final;
130  void CopyFrom(const Dataframe& from);
131  void MergeFrom(const Dataframe& 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(Dataframe* 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 src_address = 2;
165  void clear_src_address();
166  static const int kSrcAddressFieldNumber = 2;
167  const ::std::string& src_address() const;
168  void set_src_address(const ::std::string& value);
169  #if LANG_CXX11
170  void set_src_address(::std::string&& value);
171  #endif
172  void set_src_address(const char* value);
173  void set_src_address(const char* value, size_t size);
174  ::std::string* mutable_src_address();
175  ::std::string* release_src_address();
176  void set_allocated_src_address(::std::string* src_address);
177 
178  // string dst_address = 3;
179  void clear_dst_address();
180  static const int kDstAddressFieldNumber = 3;
181  const ::std::string& dst_address() const;
182  void set_dst_address(const ::std::string& value);
183  #if LANG_CXX11
184  void set_dst_address(::std::string&& value);
185  #endif
186  void set_dst_address(const char* value);
187  void set_dst_address(const char* value, size_t size);
188  ::std::string* mutable_dst_address();
189  ::std::string* release_dst_address();
190  void set_allocated_dst_address(::std::string* dst_address);
191 
192  // bytes data = 4;
193  void clear_data();
194  static const int kDataFieldNumber = 4;
195  const ::std::string& data() const;
196  void set_data(const ::std::string& value);
197  #if LANG_CXX11
198  void set_data(::std::string&& value);
199  #endif
200  void set_data(const char* value);
201  void set_data(const void* value, size_t size);
202  ::std::string* mutable_data();
203  ::std::string* release_data();
204  void set_allocated_data(::std::string* data);
205 
206  // .ignition.msgs.Header header = 1;
207  bool has_header() const;
208  void clear_header();
209  static const int kHeaderFieldNumber = 1;
210  private:
211  const ::ignition::msgs::Header& _internal_header() const;
212  public:
213  const ::ignition::msgs::Header& header() const;
214  ::ignition::msgs::Header* release_header();
215  ::ignition::msgs::Header* mutable_header();
216  void set_allocated_header(::ignition::msgs::Header* header);
217 
218  // @@protoc_insertion_point(class_scope:ignition.msgs.Dataframe)
219  private:
220 
221  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
222  ::google::protobuf::internal::ArenaStringPtr src_address_;
223  ::google::protobuf::internal::ArenaStringPtr dst_address_;
224  ::google::protobuf::internal::ArenaStringPtr data_;
225  ::ignition::msgs::Header* header_;
226  mutable ::google::protobuf::internal::CachedSize _cached_size_;
227  friend struct ::protobuf_ignition_2fmsgs_2fdataframe_2eproto::TableStruct;
228 };
229 // ===================================================================
230 
231 
232 // ===================================================================
233 
234 #ifdef __GNUC__
235  #pragma GCC diagnostic push
236  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
237 #endif // __GNUC__
238 // Dataframe
239 
240 // .ignition.msgs.Header header = 1;
241 inline bool Dataframe::has_header() const {
242  return this != internal_default_instance() && header_ != NULL;
243 }
244 inline const ::ignition::msgs::Header& Dataframe::_internal_header() const {
245  return *header_;
246 }
247 inline const ::ignition::msgs::Header& Dataframe::header() const {
248  const ::ignition::msgs::Header* p = header_;
249  // @@protoc_insertion_point(field_get:ignition.msgs.Dataframe.header)
250  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
252 }
253 inline ::ignition::msgs::Header* Dataframe::release_header() {
254  // @@protoc_insertion_point(field_release:ignition.msgs.Dataframe.header)
255 
256  ::ignition::msgs::Header* temp = header_;
257  header_ = NULL;
258  return temp;
259 }
260 inline ::ignition::msgs::Header* Dataframe::mutable_header() {
261 
262  if (header_ == NULL) {
263  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
264  header_ = p;
265  }
266  // @@protoc_insertion_point(field_mutable:ignition.msgs.Dataframe.header)
267  return header_;
268 }
270  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
271  if (message_arena == NULL) {
272  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
273  }
274  if (header) {
275  ::google::protobuf::Arena* submessage_arena = NULL;
276  if (message_arena != submessage_arena) {
277  header = ::google::protobuf::internal::GetOwnedMessage(
278  message_arena, header, submessage_arena);
279  }
280 
281  } else {
282 
283  }
284  header_ = header;
285  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Dataframe.header)
286 }
287 
288 // string src_address = 2;
290  src_address_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
291 }
292 inline const ::std::string& Dataframe::src_address() const {
293  // @@protoc_insertion_point(field_get:ignition.msgs.Dataframe.src_address)
294  return src_address_.GetNoArena();
295 }
296 inline void Dataframe::set_src_address(const ::std::string& value) {
297 
298  src_address_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
299  // @@protoc_insertion_point(field_set:ignition.msgs.Dataframe.src_address)
300 }
301 #if LANG_CXX11
302 inline void Dataframe::set_src_address(::std::string&& value) {
303 
304  src_address_.SetNoArena(
305  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
306  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Dataframe.src_address)
307 }
308 #endif
309 inline void Dataframe::set_src_address(const char* value) {
310  GOOGLE_DCHECK(value != NULL);
311 
312  src_address_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
313  // @@protoc_insertion_point(field_set_char:ignition.msgs.Dataframe.src_address)
314 }
315 inline void Dataframe::set_src_address(const char* value, size_t size) {
316 
317  src_address_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
318  ::std::string(reinterpret_cast<const char*>(value), size));
319  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Dataframe.src_address)
320 }
321 inline ::std::string* Dataframe::mutable_src_address() {
322 
323  // @@protoc_insertion_point(field_mutable:ignition.msgs.Dataframe.src_address)
324  return src_address_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
325 }
326 inline ::std::string* Dataframe::release_src_address() {
327  // @@protoc_insertion_point(field_release:ignition.msgs.Dataframe.src_address)
328 
329  return src_address_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
330 }
332  if (src_address != NULL) {
333 
334  } else {
335 
336  }
337  src_address_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), src_address);
338  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Dataframe.src_address)
339 }
340 
341 // string dst_address = 3;
343  dst_address_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
344 }
345 inline const ::std::string& Dataframe::dst_address() const {
346  // @@protoc_insertion_point(field_get:ignition.msgs.Dataframe.dst_address)
347  return dst_address_.GetNoArena();
348 }
349 inline void Dataframe::set_dst_address(const ::std::string& value) {
350 
351  dst_address_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
352  // @@protoc_insertion_point(field_set:ignition.msgs.Dataframe.dst_address)
353 }
354 #if LANG_CXX11
355 inline void Dataframe::set_dst_address(::std::string&& value) {
356 
357  dst_address_.SetNoArena(
358  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
359  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Dataframe.dst_address)
360 }
361 #endif
362 inline void Dataframe::set_dst_address(const char* value) {
363  GOOGLE_DCHECK(value != NULL);
364 
365  dst_address_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
366  // @@protoc_insertion_point(field_set_char:ignition.msgs.Dataframe.dst_address)
367 }
368 inline void Dataframe::set_dst_address(const char* value, size_t size) {
369 
370  dst_address_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
371  ::std::string(reinterpret_cast<const char*>(value), size));
372  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Dataframe.dst_address)
373 }
374 inline ::std::string* Dataframe::mutable_dst_address() {
375 
376  // @@protoc_insertion_point(field_mutable:ignition.msgs.Dataframe.dst_address)
377  return dst_address_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
378 }
379 inline ::std::string* Dataframe::release_dst_address() {
380  // @@protoc_insertion_point(field_release:ignition.msgs.Dataframe.dst_address)
381 
382  return dst_address_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
383 }
385  if (dst_address != NULL) {
386 
387  } else {
388 
389  }
390  dst_address_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), dst_address);
391  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Dataframe.dst_address)
392 }
393 
394 // bytes data = 4;
395 inline void Dataframe::clear_data() {
396  data_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
397 }
398 inline const ::std::string& Dataframe::data() const {
399  // @@protoc_insertion_point(field_get:ignition.msgs.Dataframe.data)
400  return data_.GetNoArena();
401 }
402 inline void Dataframe::set_data(const ::std::string& value) {
403 
404  data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
405  // @@protoc_insertion_point(field_set:ignition.msgs.Dataframe.data)
406 }
407 #if LANG_CXX11
408 inline void Dataframe::set_data(::std::string&& value) {
409 
410  data_.SetNoArena(
411  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
412  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Dataframe.data)
413 }
414 #endif
415 inline void Dataframe::set_data(const char* value) {
416  GOOGLE_DCHECK(value != NULL);
417 
418  data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
419  // @@protoc_insertion_point(field_set_char:ignition.msgs.Dataframe.data)
420 }
421 inline void Dataframe::set_data(const void* value, size_t size) {
422 
423  data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
424  ::std::string(reinterpret_cast<const char*>(value), size));
425  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Dataframe.data)
426 }
427 inline ::std::string* Dataframe::mutable_data() {
428 
429  // @@protoc_insertion_point(field_mutable:ignition.msgs.Dataframe.data)
430  return data_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
431 }
432 inline ::std::string* Dataframe::release_data() {
433  // @@protoc_insertion_point(field_release:ignition.msgs.Dataframe.data)
434 
435  return data_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
436 }
438  if (data != NULL) {
439 
440  } else {
441 
442  }
443  data_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), data);
444  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Dataframe.data)
445 }
446 
447 #ifdef __GNUC__
448  #pragma GCC diagnostic pop
449 #endif // __GNUC__
450 
455 // @@protoc_insertion_point(namespace_scope)
456 
457 } // namespace msgs
458 } // namespace ignition
459 
460 #ifdef _MSC_VER
461 #pragma warning(pop)
462 #endif
463 // @@protoc_insertion_point(global_scope)
464 
465 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fdataframe_2eproto
void set_allocated_dst_address(::std::string *dst_address)
Definition: build/ignition-msgs8/include/ignition/msgs/dataframe.pb.h:384
void set_data(const ::std::string &value)
Definition: build/ignition-msgs8/include/ignition/msgs/dataframe.pb.h:402
STL class.
STL class.
Dataframe & operator=(const Dataframe &from)
Definition: build/ignition-msgs8/include/ignition/msgs/dataframe.pb.h:84
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs8/include/ignition/msgs/dataframe.pb.h:269
T move(T... args)
std::unique_ptr< const Dataframe > ConstDataframeUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/dataframe.pb.h:452
::std::string * mutable_src_address()
Definition: build/ignition-msgs8/include/ignition/msgs/dataframe.pb.h:321
void Swap(Dataframe *other)
::std::string * release_src_address()
Definition: build/ignition-msgs8/include/ignition/msgs/dataframe.pb.h:326
void set_allocated_data(::std::string *data)
Definition: build/ignition-msgs8/include/ignition/msgs/dataframe.pb.h:437
Dataframe * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/dataframe.pb.h:121
static const Dataframe * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/dataframe.pb.h:107
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs8/include/ignition/msgs/dataframe.pb.h:253
friend void swap(Dataframe &a, Dataframe &b)
Definition: build/ignition-msgs8/include/ignition/msgs/dataframe.pb.h:115
std::unique_ptr< Dataframe > DataframeUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/dataframe.pb.h:451
bool has_header() const
Definition: build/ignition-msgs8/include/ignition/msgs/dataframe.pb.h:241
void clear_data()
Definition: build/ignition-msgs8/include/ignition/msgs/dataframe.pb.h:395
const ::std::string & data() const
Definition: build/ignition-msgs8/include/ignition/msgs/dataframe.pb.h:398
Definition: build/ignition-msgs8/include/ignition/msgs/dataframe.pb.h:48
::std::string * release_dst_address()
Definition: build/ignition-msgs8/include/ignition/msgs/dataframe.pb.h:379
Definition: build/ignition-msgs8/include/ignition/msgs/dataframe.pb.h:50
void set_dst_address(const ::std::string &value)
Definition: build/ignition-msgs8/include/ignition/msgs/dataframe.pb.h:349
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs8/include/ignition/msgs/dataframe.pb.h:260
::std::string * mutable_dst_address()
Definition: build/ignition-msgs8/include/ignition/msgs/dataframe.pb.h:374
Definition: build/ignition-msgs8/include/ignition/msgs/dataframe.pb.h:77
void set_src_address(const ::std::string &value)
Definition: build/ignition-msgs8/include/ignition/msgs/dataframe.pb.h:296
void IGNITION_MSGS_VISIBLE AddDescriptors()
std::shared_ptr< const Dataframe > ConstDataframeSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/dataframe.pb.h:454
void clear_dst_address()
Definition: build/ignition-msgs8/include/ignition/msgs/dataframe.pb.h:342
const ::std::string & dst_address() const
Definition: build/ignition-msgs8/include/ignition/msgs/dataframe.pb.h:345
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
::std::string * release_data()
Definition: build/ignition-msgs8/include/ignition/msgs/dataframe.pb.h:432
const ::std::string & src_address() const
Definition: build/ignition-msgs8/include/ignition/msgs/dataframe.pb.h:292
STL namespace.
Definition: build/ignition-msgs8/include/ignition/msgs/header.pb.h:215
std::shared_ptr< Dataframe > DataframeSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/dataframe.pb.h:453
void clear_src_address()
Definition: build/ignition-msgs8/include/ignition/msgs/dataframe.pb.h:289
::std::string * mutable_data()
Definition: build/ignition-msgs8/include/ignition/msgs/dataframe.pb.h:427
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs8/include/ignition/msgs/dataframe.pb.h:247
void set_allocated_src_address(::std::string *src_address)
Definition: build/ignition-msgs8/include/ignition/msgs/dataframe.pb.h:331
IGNITION_MSGS_VISIBLE DataframeDefaultTypeInternal _Dataframe_default_instance_
STL class.
Dataframe * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/dataframe.pb.h:125
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:78