Ignition Msgs

API Reference

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