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