Gazebo Msgs

API Reference

8.7.1
build/ignition-msgs8/include/ignition/msgs/empty.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/empty.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fempty_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fempty_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>
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_2fempty_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.
56 struct IGNITION_MSGS_VISIBLE TableStruct_ignition_2fmsgs_2fempty_2eproto {
57  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
58  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
59  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField 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_2fempty_2eproto;
68 namespace ignition {
69 namespace msgs {
70 class Empty;
71 class EmptyDefaultTypeInternal;
72 IGNITION_MSGS_VISIBLE extern EmptyDefaultTypeInternal _Empty_default_instance_;
73 } // namespace msgs
74 } // namespace ignition
75 PROTOBUF_NAMESPACE_OPEN
76 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Empty* Arena::CreateMaybeMessage<::ignition::msgs::Empty>(Arena*);
77 PROTOBUF_NAMESPACE_CLOSE
78 namespace ignition {
79 namespace msgs {
80 
81 // ===================================================================
82 
83 class IGNITION_MSGS_VISIBLE Empty PROTOBUF_FINAL :
84  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Empty) */ {
85  public:
86  inline Empty() : Empty(nullptr) {};
87  virtual ~Empty();
88 
89  Empty(const Empty& from);
90  Empty(Empty&& from) noexcept
91  : Empty() {
92  *this = ::std::move(from);
93  }
94 
95  inline Empty& operator=(const Empty& from) {
96  CopyFrom(from);
97  return *this;
98  }
99  inline Empty& operator=(Empty&& 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 Empty& default_instance();
118 
119  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
120  static inline const Empty* internal_default_instance() {
121  return reinterpret_cast<const Empty*>(
123  }
124  static constexpr int kIndexInFileMessages =
125  0;
126 
127  friend void swap(Empty& a, Empty& b) {
128  a.Swap(&b);
129  }
130  inline void Swap(Empty* other) {
131  if (other == this) return;
132  if (GetArena() == other->GetArena()) {
133  InternalSwap(other);
134  } else {
135  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
136  }
137  }
138  void UnsafeArenaSwap(Empty* other) {
139  if (other == this) return;
140  GOOGLE_DCHECK(GetArena() == other->GetArena());
141  InternalSwap(other);
142  }
143 
144  // implements Message ----------------------------------------------
145 
146  inline Empty* New() const final {
147  return CreateMaybeMessage<Empty>(nullptr);
148  }
149 
150  Empty* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
151  return CreateMaybeMessage<Empty>(arena);
152  }
153  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
154  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
155  void CopyFrom(const Empty& from);
156  void MergeFrom(const Empty& from);
157  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
158  bool IsInitialized() const final;
159 
160  size_t ByteSizeLong() const final;
161  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
162  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
163  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
164  int GetCachedSize() const final { return _cached_size_.Get(); }
165 
166  private:
167  inline void SharedCtor();
168  inline void SharedDtor();
169  void SetCachedSize(int size) const final;
170  void InternalSwap(Empty* other);
171  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
172  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
173  return "ignition.msgs.Empty";
174  }
175  protected:
176  explicit Empty(::PROTOBUF_NAMESPACE_ID::Arena* arena);
177  private:
178  static void ArenaDtor(void* object);
179  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
180  public:
181 
182  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
183  private:
184  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
185  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ignition_2fmsgs_2fempty_2eproto);
186  return ::descriptor_table_ignition_2fmsgs_2fempty_2eproto.file_level_metadata[kIndexInFileMessages];
187  }
188 
189  public:
190 
191  // nested types ----------------------------------------------------
192 
193  // accessors -------------------------------------------------------
194 
195  enum : int {
196  kUnusedFieldNumber = 1,
197  };
198  // bool unused = 1;
199  void clear_unused();
200  bool unused() const;
201  void set_unused(bool value);
202  private:
203  bool _internal_unused() const;
204  void _internal_set_unused(bool value);
205  public:
206 
207  // @@protoc_insertion_point(class_scope:ignition.msgs.Empty)
208  private:
209  class _Internal;
210 
211  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
212  typedef void InternalArenaConstructable_;
213  typedef void DestructorSkippable_;
214  bool unused_;
215  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
216  friend struct ::TableStruct_ignition_2fmsgs_2fempty_2eproto;
217 };
218 // ===================================================================
219 
220 
221 // ===================================================================
222 
223 #ifdef __GNUC__
224  #pragma GCC diagnostic push
225  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
226 #endif // __GNUC__
227 // Empty
228 
229 // bool unused = 1;
230 inline void Empty::clear_unused() {
231  unused_ = false;
232 }
233 inline bool Empty::_internal_unused() const {
234  return unused_;
235 }
236 inline bool Empty::unused() const {
237  // @@protoc_insertion_point(field_get:ignition.msgs.Empty.unused)
238  return _internal_unused();
239 }
240 inline void Empty::_internal_set_unused(bool value) {
241 
242  unused_ = value;
243 }
244 inline void Empty::set_unused(bool value) {
245  _internal_set_unused(value);
246  // @@protoc_insertion_point(field_set:ignition.msgs.Empty.unused)
247 }
248 
249 #ifdef __GNUC__
250  #pragma GCC diagnostic pop
251 #endif // __GNUC__
252 
257 // @@protoc_insertion_point(namespace_scope)
258 
259 } // namespace msgs
260 } // namespace ignition
261 
262 #ifdef _MSC_VER
263 #pragma warning(pop)
264 #endif
265 // @@protoc_insertion_point(global_scope)
266 
267 #include <google/protobuf/port_undef.inc>
268 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fempty_2eproto
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fempty_2eproto
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: build/ignition-msgs8/include/ignition/msgs/empty.pb.h:114
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Empty(Empty &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/empty.pb.h:90
static const Empty * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/empty.pb.h:120
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/empty.pb.h:108
void UnsafeArenaSwap(Empty *other)
Definition: build/ignition-msgs8/include/ignition/msgs/empty.pb.h:138
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
Empty & operator=(const Empty &from)
Definition: build/ignition-msgs8/include/ignition/msgs/empty.pb.h:95
void Swap(Empty *other)
Definition: build/ignition-msgs8/include/ignition/msgs/empty.pb.h:130
Empty & operator=(Empty &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/empty.pb.h:99
Empty()
Definition: build/ignition-msgs8/include/ignition/msgs/empty.pb.h:86
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void MergeFrom(const Empty &from)
void CopyFrom(const Empty &from)
friend void swap(Empty &a, Empty &b)
Definition: build/ignition-msgs8/include/ignition/msgs/empty.pb.h:127
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/empty.pb.h:111
Empty(::PROTOBUF_NAMESPACE_ID::Arena *arena)
Empty * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/empty.pb.h:150
Empty * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/empty.pb.h:146
static const Empty & default_instance()
std::shared_ptr< const Empty > ConstEmptySharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/empty.pb.h:256
std::unique_ptr< const Empty > ConstEmptyUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/empty.pb.h:254
std::shared_ptr< Empty > EmptySharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/empty.pb.h:255
std::unique_ptr< Empty > EmptyUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/empty.pb.h:253
IGNITION_MSGS_VISIBLE EmptyDefaultTypeInternal _Empty_default_instance_
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:53
Definition: build/ignition-msgs8/include/ignition/msgs/empty.pb.h:56
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)