Gazebo Msgs

API Reference

8.7.1
build/ignition-msgs8/include/ignition/msgs/sensor_v.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/sensor_v.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fsensor_5fv_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fsensor_5fv_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3012000
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 3012004 < 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/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
31 #include <google/protobuf/message.h>
32 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
33 #include <google/protobuf/extension_set.h> // IWYU pragma: export
34 #include <google/protobuf/unknown_field_set.h>
37 #ifndef _MSC_VER
38 #pragma GCC system_header
39 #else
40 #pragma warning(push)
41 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
42 #endif
43 #ifdef __linux__
44 #include <sys/sysmacros.h>
45 #endif
46 #include <memory>
47 #include <ignition/msgs/Export.hh>
48 // @@protoc_insertion_point(includes)
49 #include <google/protobuf/port_def.inc>
50 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fsensor_5fv_2eproto IGNITION_MSGS_VISIBLE
51 PROTOBUF_NAMESPACE_OPEN
52 namespace internal {
53 class AnyMetadata;
54 } // namespace internal
55 PROTOBUF_NAMESPACE_CLOSE
56 
57 // Internal implementation detail -- do not use these members.
59  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
60  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
61  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
62  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
63  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
64  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
65  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
66  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
67  static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
68 };
69 extern IGNITION_MSGS_VISIBLE const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fsensor_5fv_2eproto;
70 namespace ignition {
71 namespace msgs {
72 class Sensor_V;
73 class Sensor_VDefaultTypeInternal;
74 IGNITION_MSGS_VISIBLE extern Sensor_VDefaultTypeInternal _Sensor_V_default_instance_;
75 } // namespace msgs
76 } // namespace ignition
77 PROTOBUF_NAMESPACE_OPEN
78 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Sensor_V* Arena::CreateMaybeMessage<::ignition::msgs::Sensor_V>(Arena*);
79 PROTOBUF_NAMESPACE_CLOSE
80 namespace ignition {
81 namespace msgs {
82 
83 // ===================================================================
84 
85 class IGNITION_MSGS_VISIBLE Sensor_V PROTOBUF_FINAL :
86  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Sensor_V) */ {
87  public:
88  inline Sensor_V() : Sensor_V(nullptr) {};
89  virtual ~Sensor_V();
90 
91  Sensor_V(const Sensor_V& from);
92  Sensor_V(Sensor_V&& from) noexcept
93  : Sensor_V() {
94  *this = ::std::move(from);
95  }
96 
97  inline Sensor_V& operator=(const Sensor_V& from) {
98  CopyFrom(from);
99  return *this;
100  }
101  inline Sensor_V& operator=(Sensor_V&& from) noexcept {
102  if (GetArena() == from.GetArena()) {
103  if (this != &from) InternalSwap(&from);
104  } else {
105  CopyFrom(from);
106  }
107  return *this;
108  }
109 
110  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
111  return GetDescriptor();
112  }
113  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
114  return GetMetadataStatic().descriptor;
115  }
116  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
117  return GetMetadataStatic().reflection;
118  }
119  static const Sensor_V& default_instance();
120 
121  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
122  static inline const Sensor_V* internal_default_instance() {
123  return reinterpret_cast<const Sensor_V*>(
125  }
126  static constexpr int kIndexInFileMessages =
127  0;
128 
129  friend void swap(Sensor_V& a, Sensor_V& b) {
130  a.Swap(&b);
131  }
132  inline void Swap(Sensor_V* other) {
133  if (other == this) return;
134  if (GetArena() == other->GetArena()) {
135  InternalSwap(other);
136  } else {
137  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
138  }
139  }
140  void UnsafeArenaSwap(Sensor_V* other) {
141  if (other == this) return;
142  GOOGLE_DCHECK(GetArena() == other->GetArena());
143  InternalSwap(other);
144  }
145 
146  // implements Message ----------------------------------------------
147 
148  inline Sensor_V* New() const final {
149  return CreateMaybeMessage<Sensor_V>(nullptr);
150  }
151 
152  Sensor_V* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
153  return CreateMaybeMessage<Sensor_V>(arena);
154  }
155  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
156  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
157  void CopyFrom(const Sensor_V& from);
158  void MergeFrom(const Sensor_V& from);
159  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
160  bool IsInitialized() const final;
161 
162  size_t ByteSizeLong() const final;
163  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
164  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
165  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
166  int GetCachedSize() const final { return _cached_size_.Get(); }
167 
168  private:
169  inline void SharedCtor();
170  inline void SharedDtor();
171  void SetCachedSize(int size) const final;
172  void InternalSwap(Sensor_V* other);
173  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
174  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
175  return "ignition.msgs.Sensor_V";
176  }
177  protected:
178  explicit Sensor_V(::PROTOBUF_NAMESPACE_ID::Arena* arena);
179  private:
180  static void ArenaDtor(void* object);
181  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
182  public:
183 
184  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
185  private:
186  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
187  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ignition_2fmsgs_2fsensor_5fv_2eproto);
188  return ::descriptor_table_ignition_2fmsgs_2fsensor_5fv_2eproto.file_level_metadata[kIndexInFileMessages];
189  }
190 
191  public:
192 
193  // nested types ----------------------------------------------------
194 
195  // accessors -------------------------------------------------------
196 
197  enum : int {
198  kSensorsFieldNumber = 2,
199  kHeaderFieldNumber = 1,
200  };
201  // repeated .ignition.msgs.Sensor sensors = 2;
202  int sensors_size() const;
203  private:
204  int _internal_sensors_size() const;
205  public:
207  ::ignition::msgs::Sensor* mutable_sensors(int index);
208  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Sensor >*
210  private:
211  const ::ignition::msgs::Sensor& _internal_sensors(int index) const;
212  ::ignition::msgs::Sensor* _internal_add_sensors();
213  public:
214  const ::ignition::msgs::Sensor& sensors(int index) const;
215  ::ignition::msgs::Sensor* add_sensors();
216  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Sensor >&
217  sensors() const;
218 
219  // .ignition.msgs.Header header = 1;
220  bool has_header() const;
221  private:
222  bool _internal_has_header() const;
223  public:
224  void clear_header();
225  const ::ignition::msgs::Header& header() const;
226  ::ignition::msgs::Header* release_header();
227  ::ignition::msgs::Header* mutable_header();
228  void set_allocated_header(::ignition::msgs::Header* header);
229  private:
230  const ::ignition::msgs::Header& _internal_header() const;
231  ::ignition::msgs::Header* _internal_mutable_header();
232  public:
234  ::ignition::msgs::Header* header);
235  ::ignition::msgs::Header* unsafe_arena_release_header();
236 
237  // @@protoc_insertion_point(class_scope:ignition.msgs.Sensor_V)
238  private:
239  class _Internal;
240 
241  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
242  typedef void InternalArenaConstructable_;
243  typedef void DestructorSkippable_;
244  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Sensor > sensors_;
245  ::ignition::msgs::Header* header_;
246  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
247  friend struct ::TableStruct_ignition_2fmsgs_2fsensor_5fv_2eproto;
248 };
249 // ===================================================================
250 
251 
252 // ===================================================================
253 
254 #ifdef __GNUC__
255  #pragma GCC diagnostic push
256  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
257 #endif // __GNUC__
258 // Sensor_V
259 
260 // .ignition.msgs.Header header = 1;
261 inline bool Sensor_V::_internal_has_header() const {
262  return this != internal_default_instance() && header_ != nullptr;
263 }
264 inline bool Sensor_V::has_header() const {
265  return _internal_has_header();
266 }
267 inline const ::ignition::msgs::Header& Sensor_V::_internal_header() const {
268  const ::ignition::msgs::Header* p = header_;
269  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
271 }
272 inline const ::ignition::msgs::Header& Sensor_V::header() const {
273  // @@protoc_insertion_point(field_get:ignition.msgs.Sensor_V.header)
274  return _internal_header();
275 }
276 inline void Sensor_V::unsafe_arena_set_allocated_header(
277  ::ignition::msgs::Header* header) {
278  if (GetArena() == nullptr) {
279  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
280  }
281  header_ = header;
282  if (header) {
283 
284  } else {
285 
286  }
287  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Sensor_V.header)
288 }
289 inline ::ignition::msgs::Header* Sensor_V::release_header() {
290  auto temp = unsafe_arena_release_header();
291  if (GetArena() != nullptr) {
292  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
293  }
294  return temp;
295 }
296 inline ::ignition::msgs::Header* Sensor_V::unsafe_arena_release_header() {
297  // @@protoc_insertion_point(field_release:ignition.msgs.Sensor_V.header)
298 
299  ::ignition::msgs::Header* temp = header_;
300  header_ = nullptr;
301  return temp;
302 }
303 inline ::ignition::msgs::Header* Sensor_V::_internal_mutable_header() {
304 
305  if (header_ == nullptr) {
306  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
307  header_ = p;
308  }
309  return header_;
310 }
311 inline ::ignition::msgs::Header* Sensor_V::mutable_header() {
312  // @@protoc_insertion_point(field_mutable:ignition.msgs.Sensor_V.header)
313  return _internal_mutable_header();
314 }
315 inline void Sensor_V::set_allocated_header(::ignition::msgs::Header* header) {
316  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
317  if (message_arena == nullptr) {
318  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
319  }
320  if (header) {
321  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
322  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header)->GetArena();
323  if (message_arena != submessage_arena) {
324  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
325  message_arena, header, submessage_arena);
326  }
327 
328  } else {
329 
330  }
331  header_ = header;
332  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Sensor_V.header)
333 }
334 
335 // repeated .ignition.msgs.Sensor sensors = 2;
336 inline int Sensor_V::_internal_sensors_size() const {
337  return sensors_.size();
338 }
339 inline int Sensor_V::sensors_size() const {
340  return _internal_sensors_size();
341 }
342 inline ::ignition::msgs::Sensor* Sensor_V::mutable_sensors(int index) {
343  // @@protoc_insertion_point(field_mutable:ignition.msgs.Sensor_V.sensors)
344  return sensors_.Mutable(index);
345 }
346 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Sensor >*
347 Sensor_V::mutable_sensors() {
348  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Sensor_V.sensors)
349  return &sensors_;
350 }
351 inline const ::ignition::msgs::Sensor& Sensor_V::_internal_sensors(int index) const {
352  return sensors_.Get(index);
353 }
354 inline const ::ignition::msgs::Sensor& Sensor_V::sensors(int index) const {
355  // @@protoc_insertion_point(field_get:ignition.msgs.Sensor_V.sensors)
356  return _internal_sensors(index);
357 }
358 inline ::ignition::msgs::Sensor* Sensor_V::_internal_add_sensors() {
359  return sensors_.Add();
360 }
361 inline ::ignition::msgs::Sensor* Sensor_V::add_sensors() {
362  // @@protoc_insertion_point(field_add:ignition.msgs.Sensor_V.sensors)
363  return _internal_add_sensors();
364 }
365 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Sensor >&
366 Sensor_V::sensors() const {
367  // @@protoc_insertion_point(field_list:ignition.msgs.Sensor_V.sensors)
368  return sensors_;
369 }
370 
371 #ifdef __GNUC__
372  #pragma GCC diagnostic pop
373 #endif // __GNUC__
374 
379 // @@protoc_insertion_point(namespace_scope)
380 
381 } // namespace msgs
382 } // namespace ignition
383 
384 #ifdef _MSC_VER
385 #pragma warning(pop)
386 #endif
387 // @@protoc_insertion_point(global_scope)
388 
389 #include <google/protobuf/port_undef.inc>
390 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fsensor_5fv_2eproto
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fsensor_5fv_2eproto
void MergeFrom(const Sensor_V &from)
::ignition::msgs::Sensor * add_sensors()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: build/ignition-msgs8/include/ignition/msgs/sensor_v.pb.h:116
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::ignition::msgs::Header * release_header()
Sensor_V * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/sensor_v.pb.h:148
::ignition::msgs::Header * mutable_header()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/sensor_v.pb.h:110
Sensor_V(::PROTOBUF_NAMESPACE_ID::Arena *arena)
Sensor_V(const Sensor_V &from)
Sensor_V * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/sensor_v.pb.h:152
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
Sensor_V(Sensor_V &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/sensor_v.pb.h:92
const ::ignition::msgs::Sensor & sensors(int index) const
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
static const Sensor_V * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/sensor_v.pb.h:122
Sensor_V & operator=(const Sensor_V &from)
Definition: build/ignition-msgs8/include/ignition/msgs/sensor_v.pb.h:97
void UnsafeArenaSwap(Sensor_V *other)
Definition: build/ignition-msgs8/include/ignition/msgs/sensor_v.pb.h:140
::ignition::msgs::Header * unsafe_arena_release_header()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Sensor > & sensors() const
Sensor_V & operator=(Sensor_V &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/sensor_v.pb.h:101
::ignition::msgs::Sensor * mutable_sensors(int index)
void set_allocated_header(::ignition::msgs::Header *header)
void CopyFrom(const Sensor_V &from)
void Swap(Sensor_V *other)
Definition: build/ignition-msgs8/include/ignition/msgs/sensor_v.pb.h:132
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
friend void swap(Sensor_V &a, Sensor_V &b)
Definition: build/ignition-msgs8/include/ignition/msgs/sensor_v.pb.h:129
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/sensor_v.pb.h:113
static const Sensor_V & default_instance()
const ::ignition::msgs::Header & header() const
Sensor_V()
Definition: build/ignition-msgs8/include/ignition/msgs/sensor_v.pb.h:88
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Sensor > * mutable_sensors()
std::unique_ptr< const Sensor_V > ConstSensor_VUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/sensor_v.pb.h:376
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
IGNITION_MSGS_VISIBLE Sensor_VDefaultTypeInternal _Sensor_V_default_instance_
std::shared_ptr< Sensor_V > Sensor_VSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/sensor_v.pb.h:377
std::shared_ptr< const Sensor_V > ConstSensor_VSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/sensor_v.pb.h:378
std::unique_ptr< Sensor_V > Sensor_VUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/sensor_v.pb.h:375
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:53
Definition: build/ignition-msgs8/include/ignition/msgs/sensor_v.pb.h:58
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)