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 < 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
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.
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 ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
70 class 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 PROTOBUF_FINAL :
83 public ::PROTOBUF_NAMESPACE_ID::Message {
85 inline Empty() : Empty(nullptr) {}
91 *
this = ::std::move(from);
99 if (GetArena() == from.GetArena()) {
100 if (
this != &from) InternalSwap(&from);
107 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
108 return GetDescriptor();
111 return GetMetadataStatic().descriptor;
114 return GetMetadataStatic().reflection;
119 return reinterpret_cast<const Empty*
>(
122 static constexpr
int kIndexInFileMessages =
125 friend void swap(Empty& a, Empty& b) {
128 inline void Swap(Empty* other) {
129 if (other ==
this)
return;
130 if (GetArena() == other->GetArena()) {
133 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
137 if (other ==
this)
return;
138 GOOGLE_DCHECK(GetArena() == other->GetArena());
144 inline Empty*
New() const final {
145 return CreateMaybeMessage<Empty>(
nullptr);
148 Empty*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
149 return CreateMaybeMessage<Empty>(arena);
151 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
152 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
155 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
156 bool IsInitialized() const final;
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(); }
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";
174 explicit Empty(::PROTOBUF_NAMESPACE_ID::Arena* arena);
176 static void ArenaDtor(
void*
object);
177 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
182 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
194 kUnusedFieldNumber = 1,
201 bool _internal_unused()
const;
202 void _internal_set_unused(
bool value);
209 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
210 typedef void InternalArenaConstructable_;
211 typedef void DestructorSkippable_;
213 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
214 friend struct ::TableStruct_ignition_2fmsgs_2fempty_2eproto;
222 #pragma GCC diagnostic push
223 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
228 inline void Empty::clear_unused() {
231 inline bool Empty::_internal_unused()
const {
234 inline bool Empty::unused()
const {
236 return _internal_unused();
238 inline void Empty::_internal_set_unused(
bool value) {
242 inline void Empty::set_unused(
bool value) {
243 _internal_set_unused(value);
248 #pragma GCC diagnostic pop
265 #include <google/protobuf/port_undef.inc>
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
void set_unused(bool value)
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
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)