Gazebo Msgs

API Reference

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