4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fempty_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fempty_2eproto
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
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.
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>
32 #include <google/protobuf/extension_set.h>
33 #include <google/protobuf/unknown_field_set.h>
35 #pragma GCC system_header
38 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
41 #include <sys/sysmacros.h>
46 #include <google/protobuf/port_def.inc>
47 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fempty_2eproto IGNITION_MSGS_VISIBLE
48 PROTOBUF_NAMESPACE_OPEN
52 PROTOBUF_NAMESPACE_CLOSE
56 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
58 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
60 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
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[];
70 struct EmptyDefaultTypeInternal;
74 PROTOBUF_NAMESPACE_OPEN
75 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Empty* Arena::CreateMaybeMessage<::ignition::msgs::Empty>(Arena*);
76 PROTOBUF_NAMESPACE_CLOSE
82 class IGNITION_MSGS_VISIBLE
Empty final :
83 public ::PROTOBUF_NAMESPACE_ID::Message {
87 explicit constexpr
Empty(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
92 *
this = ::std::move(from);
100 if (
this == &from)
return *
this;
101 if (GetOwningArena() == from.GetOwningArena()
102 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
103 && GetOwningArena() !=
nullptr
113 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
114 return GetDescriptor();
117 return default_instance().GetMetadata().descriptor;
120 return default_instance().GetMetadata().reflection;
123 return *internal_default_instance();
126 return reinterpret_cast<const Empty*
>(
129 static constexpr
int kIndexInFileMessages =
136 if (other ==
this)
return;
137 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
138 if (GetOwningArena() !=
nullptr &&
139 GetOwningArena() == other->GetOwningArena()) {
141 if (GetOwningArena() == other->GetOwningArena()) {
145 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
149 if (other ==
this)
return;
150 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
156 Empty*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
157 return CreateMaybeMessage<Empty>(arena);
159 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
161 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
164 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
166 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
167 bool IsInitialized() const final;
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(); }
178 void SetCachedSize(
int size)
const final;
179 void InternalSwap(
Empty* other);
182 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
183 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
184 return "ignition.msgs.Empty";
187 explicit Empty(::PROTOBUF_NAMESPACE_ID::Arena* arena,
188 bool is_message_owned =
false);
190 static void ArenaDtor(
void*
object);
191 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
195 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
197 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
204 kUnusedFieldNumber = 1,
209 void set_unused(
bool value);
211 bool _internal_unused()
const;
212 void _internal_set_unused(
bool value);
219 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
220 typedef void InternalArenaConstructable_;
221 typedef void DestructorSkippable_;
223 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
224 friend struct ::TableStruct_ignition_2fmsgs_2fempty_2eproto;
232 #pragma GCC diagnostic push
233 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
241 inline bool Empty::_internal_unused()
const {
246 return _internal_unused();
248 inline void Empty::_internal_set_unused(
bool value) {
253 _internal_set_unused(value);
258 #pragma GCC diagnostic pop
275 #include <google/protobuf/port_undef.inc>
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
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
Definition: empty.pb.h:55
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)