Ignition Msgs

API Reference

5.8.1
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 < 3019000
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 3019000 < 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>
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 #include <google/protobuf/port_def.inc>
47 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fempty_2eproto IGNITION_MSGS_VISIBLE
48 PROTOBUF_NAMESPACE_OPEN
49 namespace internal {
50 class AnyMetadata;
51 } // namespace internal
52 PROTOBUF_NAMESPACE_CLOSE
53 
54 // Internal implementation detail -- do not use these members.
55 struct IGNITION_MSGS_VISIBLE TableStruct_ignition_2fmsgs_2fempty_2eproto {
56  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
57  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
58  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
59  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
60  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
61  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
62  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
63  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
64  static const uint32_t offsets[];
65 };
66 IGNITION_MSGS_VISIBLE extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fempty_2eproto;
67 namespace ignition {
68 namespace msgs {
69 class Empty;
70 struct EmptyDefaultTypeInternal;
71 IGNITION_MSGS_VISIBLE extern EmptyDefaultTypeInternal _Empty_default_instance_;
72 } // namespace msgs
73 } // namespace ignition
74 PROTOBUF_NAMESPACE_OPEN
75 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Empty* Arena::CreateMaybeMessage<::ignition::msgs::Empty>(Arena*);
76 PROTOBUF_NAMESPACE_CLOSE
77 namespace ignition {
78 namespace msgs {
79 
80 // ===================================================================
81 
82 class IGNITION_MSGS_VISIBLE Empty final :
83  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Empty) */ {
84  public:
85  inline Empty() : Empty(nullptr) {}
86  ~Empty() override;
87  explicit constexpr Empty(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
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 (this == &from) return *this;
101  if (GetOwningArena() == from.GetOwningArena()
102  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
103  && GetOwningArena() != nullptr
104  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
105  ) {
106  InternalSwap(&from);
107  } else {
108  CopyFrom(from);
109  }
110  return *this;
111  }
112 
113  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
114  return GetDescriptor();
115  }
116  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
117  return default_instance().GetMetadata().descriptor;
118  }
119  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
120  return default_instance().GetMetadata().reflection;
121  }
122  static const Empty& default_instance() {
123  return *internal_default_instance();
124  }
125  static inline const Empty* internal_default_instance() {
126  return reinterpret_cast<const Empty*>(
128  }
129  static constexpr int kIndexInFileMessages =
130  0;
131 
132  friend void swap(Empty& a, Empty& b) {
133  a.Swap(&b);
134  }
135  inline void Swap(Empty* other) {
136  if (other == this) return;
137  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
138  if (GetOwningArena() != nullptr &&
139  GetOwningArena() == other->GetOwningArena()) {
140  #else // PROTOBUF_FORCE_COPY_IN_SWAP
141  if (GetOwningArena() == other->GetOwningArena()) {
142  #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
143  InternalSwap(other);
144  } else {
145  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
146  }
147  }
148  void UnsafeArenaSwap(Empty* other) {
149  if (other == this) return;
150  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
151  InternalSwap(other);
152  }
153 
154  // implements Message ----------------------------------------------
155 
156  Empty* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
157  return CreateMaybeMessage<Empty>(arena);
158  }
159  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
160  void CopyFrom(const Empty& from);
161  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
162  void MergeFrom(const Empty& from);
163  private:
164  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
165  public:
166  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
167  bool IsInitialized() const final;
168 
169  size_t ByteSizeLong() const final;
170  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
171  uint8_t* _InternalSerialize(
172  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
173  int GetCachedSize() const final { return _cached_size_.Get(); }
174 
175  private:
176  void SharedCtor();
177  void SharedDtor();
178  void SetCachedSize(int size) const final;
179  void InternalSwap(Empty* other);
180 
181  private:
182  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
183  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
184  return "ignition.msgs.Empty";
185  }
186  protected:
187  explicit Empty(::PROTOBUF_NAMESPACE_ID::Arena* arena,
188  bool is_message_owned = false);
189  private:
190  static void ArenaDtor(void* object);
191  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
192  public:
193 
194  static const ClassData _class_data_;
195  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
196 
197  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
198 
199  // nested types ----------------------------------------------------
200 
201  // accessors -------------------------------------------------------
202 
203  enum : int {
204  kUnusedFieldNumber = 1,
205  };
206  // bool unused = 1;
207  void clear_unused();
208  bool unused() const;
209  void set_unused(bool value);
210  private:
211  bool _internal_unused() const;
212  void _internal_set_unused(bool value);
213  public:
214 
215  // @@protoc_insertion_point(class_scope:ignition.msgs.Empty)
216  private:
217  class _Internal;
218 
219  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
220  typedef void InternalArenaConstructable_;
221  typedef void DestructorSkippable_;
222  bool unused_;
223  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
224  friend struct ::TableStruct_ignition_2fmsgs_2fempty_2eproto;
225 };
226 // ===================================================================
227 
228 
229 // ===================================================================
230 
231 #ifdef __GNUC__
232  #pragma GCC diagnostic push
233  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
234 #endif // __GNUC__
235 // Empty
236 
237 // bool unused = 1;
238 inline void Empty::clear_unused() {
239  unused_ = false;
240 }
241 inline bool Empty::_internal_unused() const {
242  return unused_;
243 }
244 inline bool Empty::unused() const {
245  // @@protoc_insertion_point(field_get:ignition.msgs.Empty.unused)
246  return _internal_unused();
247 }
248 inline void Empty::_internal_set_unused(bool value) {
249 
250  unused_ = value;
251 }
252 inline void Empty::set_unused(bool value) {
253  _internal_set_unused(value);
254  // @@protoc_insertion_point(field_set:ignition.msgs.Empty.unused)
255 }
256 
257 #ifdef __GNUC__
258  #pragma GCC diagnostic pop
259 #endif // __GNUC__
260 
265 // @@protoc_insertion_point(namespace_scope)
266 
267 } // namespace msgs
268 } // namespace ignition
269 
270 #ifdef _MSC_VER
271 #pragma warning(pop)
272 #endif
273 // @@protoc_insertion_point(global_scope)
274 
275 #include <google/protobuf/port_undef.inc>
276 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fempty_2eproto
Definition: empty.pb.h:83
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: empty.pb.h:119
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Empty(Empty &&from) noexcept
Definition: empty.pb.h:90
static const Empty * internal_default_instance()
Definition: empty.pb.h:125
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: empty.pb.h:113
void UnsafeArenaSwap(Empty *other)
Definition: empty.pb.h:148
void set_unused(bool value)
Definition: empty.pb.h:252
Empty & operator=(const Empty &from)
Definition: empty.pb.h:95
void Swap(Empty *other)
Definition: empty.pb.h:135
Empty & operator=(Empty &&from) noexcept
Definition: empty.pb.h:99
void clear_unused()
Definition: empty.pb.h:238
Empty()
Definition: empty.pb.h:85
Empty(const Empty &from)
void MergeFrom(const Empty &from)
Empty * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: empty.pb.h:156
void CopyFrom(const Empty &from)
friend void swap(Empty &a, Empty &b)
Definition: empty.pb.h:132
constexpr Empty(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: empty.pb.h:116
bool unused() const
Definition: empty.pb.h:244
static const ClassData _class_data_
Definition: empty.pb.h:194
Empty(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const Empty & default_instance()
Definition: empty.pb.h:122
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fempty_2eproto
std::shared_ptr< const Empty > ConstEmptySharedPtr
Definition: empty.pb.h:264
std::unique_ptr< const Empty > ConstEmptyUniquePtr
Definition: empty.pb.h:262
std::shared_ptr< Empty > EmptySharedPtr
Definition: empty.pb.h:263
std::unique_ptr< Empty > EmptyUniquePtr
Definition: empty.pb.h:261
IGNITION_MSGS_VISIBLE EmptyDefaultTypeInternal _Empty_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)