4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fentity_5fwrench_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fentity_5fwrench_2eproto
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
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.
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>
33 #include <google/protobuf/extension_set.h>
34 #include <google/protobuf/unknown_field_set.h>
39 #pragma GCC system_header
42 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
45 #include <sys/sysmacros.h>
50 #include <google/protobuf/port_def.inc>
51 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fentity_5fwrench_2eproto IGNITION_MSGS_VISIBLE
52 PROTOBUF_NAMESPACE_OPEN
56 PROTOBUF_NAMESPACE_CLOSE
60 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
62 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
64 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
66 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
67 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
68 static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
74 class EntityWrenchDefaultTypeInternal;
78 PROTOBUF_NAMESPACE_OPEN
79 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::EntityWrench* Arena::CreateMaybeMessage<::ignition::msgs::EntityWrench>(Arena*);
80 PROTOBUF_NAMESPACE_CLOSE
86 class IGNITION_MSGS_VISIBLE EntityWrench PROTOBUF_FINAL :
87 public ::PROTOBUF_NAMESPACE_ID::Message {
95 *
this = ::std::move(from);
98 inline EntityWrench&
operator=(
const EntityWrench& from) {
102 inline EntityWrench&
operator=(EntityWrench&& from) noexcept {
103 if (GetArena() == from.GetArena()) {
104 if (
this != &from) InternalSwap(&from);
111 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
112 return GetDescriptor();
115 return GetMetadataStatic().descriptor;
118 return GetMetadataStatic().reflection;
124 return reinterpret_cast<const EntityWrench*
>(
127 static constexpr
int kIndexInFileMessages =
130 friend void swap(EntityWrench& a, EntityWrench& b) {
133 inline void Swap(EntityWrench* other) {
134 if (other ==
this)
return;
135 if (GetArena() == other->GetArena()) {
138 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
142 if (other ==
this)
return;
143 GOOGLE_DCHECK(GetArena() == other->GetArena());
149 inline EntityWrench*
New() const final {
150 return CreateMaybeMessage<EntityWrench>(
nullptr);
153 EntityWrench*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
154 return CreateMaybeMessage<EntityWrench>(arena);
156 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
157 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
160 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
161 bool IsInitialized() const final;
163 size_t ByteSizeLong() const final;
164 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
165 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
166 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
167 int GetCachedSize() const final {
return _cached_size_.Get(); }
170 inline void SharedCtor();
171 inline void SharedDtor();
172 void SetCachedSize(
int size)
const final;
173 void InternalSwap(EntityWrench* other);
174 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
175 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
176 return "ignition.msgs.EntityWrench";
181 static void ArenaDtor(
void*
object);
182 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
187 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
199 kHeaderFieldNumber = 1,
200 kEntityFieldNumber = 2,
201 kWrenchFieldNumber = 3,
206 bool _internal_has_header()
const;
209 const ::ignition::msgs::Header&
header()
const;
214 const ::ignition::msgs::Header& _internal_header()
const;
215 ::ignition::msgs::Header* _internal_mutable_header();
218 ::ignition::msgs::Header* header);
224 bool _internal_has_entity()
const;
227 const ::ignition::msgs::Entity&
entity()
const;
232 const ::ignition::msgs::Entity& _internal_entity()
const;
233 ::ignition::msgs::Entity* _internal_mutable_entity();
236 ::ignition::msgs::Entity* entity);
242 bool _internal_has_wrench()
const;
245 const ::ignition::msgs::Wrench&
wrench()
const;
250 const ::ignition::msgs::Wrench& _internal_wrench()
const;
251 ::ignition::msgs::Wrench* _internal_mutable_wrench();
254 ::ignition::msgs::Wrench* wrench);
261 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
262 typedef void InternalArenaConstructable_;
263 typedef void DestructorSkippable_;
264 ::ignition::msgs::Header* header_;
265 ::ignition::msgs::Entity* entity_;
266 ::ignition::msgs::Wrench* wrench_;
267 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
268 friend struct ::TableStruct_ignition_2fmsgs_2fentity_5fwrench_2eproto;
276 #pragma GCC diagnostic push
277 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
282 inline bool EntityWrench::_internal_has_header()
const {
283 return this != internal_default_instance() && header_ !=
nullptr;
285 inline bool EntityWrench::has_header()
const {
286 return _internal_has_header();
288 inline const ::ignition::msgs::Header& EntityWrench::_internal_header()
const {
289 const ::ignition::msgs::Header* p = header_;
290 return p !=
nullptr ? *p : *
reinterpret_cast<const ::ignition::msgs::Header*
>(
293 inline const ::ignition::msgs::Header& EntityWrench::header()
const {
295 return _internal_header();
297 inline void EntityWrench::unsafe_arena_set_allocated_header(
298 ::ignition::msgs::Header* header) {
299 if (GetArena() ==
nullptr) {
300 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
310 inline ::ignition::msgs::Header* EntityWrench::release_header() {
311 auto temp = unsafe_arena_release_header();
312 if (GetArena() !=
nullptr) {
313 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
317 inline ::ignition::msgs::Header* EntityWrench::unsafe_arena_release_header() {
320 ::ignition::msgs::Header* temp = header_;
324 inline ::ignition::msgs::Header* EntityWrench::_internal_mutable_header() {
326 if (header_ ==
nullptr) {
327 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
332 inline ::ignition::msgs::Header* EntityWrench::mutable_header() {
334 return _internal_mutable_header();
336 inline void EntityWrench::set_allocated_header(::ignition::msgs::Header* header) {
337 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
338 if (message_arena ==
nullptr) {
339 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
342 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
343 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header)->GetArena();
344 if (message_arena != submessage_arena) {
345 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
346 message_arena, header, submessage_arena);
357 inline bool EntityWrench::_internal_has_entity()
const {
358 return this != internal_default_instance() && entity_ !=
nullptr;
360 inline bool EntityWrench::has_entity()
const {
361 return _internal_has_entity();
363 inline const ::ignition::msgs::Entity& EntityWrench::_internal_entity()
const {
364 const ::ignition::msgs::Entity* p = entity_;
365 return p !=
nullptr ? *p : *
reinterpret_cast<const ::ignition::msgs::Entity*
>(
368 inline const ::ignition::msgs::Entity& EntityWrench::entity()
const {
370 return _internal_entity();
372 inline void EntityWrench::unsafe_arena_set_allocated_entity(
373 ::ignition::msgs::Entity* entity) {
374 if (GetArena() ==
nullptr) {
375 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(entity_);
385 inline ::ignition::msgs::Entity* EntityWrench::release_entity() {
386 auto temp = unsafe_arena_release_entity();
387 if (GetArena() !=
nullptr) {
388 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
392 inline ::ignition::msgs::Entity* EntityWrench::unsafe_arena_release_entity() {
395 ::ignition::msgs::Entity* temp = entity_;
399 inline ::ignition::msgs::Entity* EntityWrench::_internal_mutable_entity() {
401 if (entity_ ==
nullptr) {
402 auto* p = CreateMaybeMessage<::ignition::msgs::Entity>(GetArena());
407 inline ::ignition::msgs::Entity* EntityWrench::mutable_entity() {
409 return _internal_mutable_entity();
411 inline void EntityWrench::set_allocated_entity(::ignition::msgs::Entity* entity) {
412 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
413 if (message_arena ==
nullptr) {
414 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(entity_);
417 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
418 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(entity)->GetArena();
419 if (message_arena != submessage_arena) {
420 entity = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
421 message_arena, entity, submessage_arena);
432 inline bool EntityWrench::_internal_has_wrench()
const {
433 return this != internal_default_instance() && wrench_ !=
nullptr;
435 inline bool EntityWrench::has_wrench()
const {
436 return _internal_has_wrench();
438 inline const ::ignition::msgs::Wrench& EntityWrench::_internal_wrench()
const {
439 const ::ignition::msgs::Wrench* p = wrench_;
440 return p !=
nullptr ? *p : *
reinterpret_cast<const ::ignition::msgs::Wrench*
>(
443 inline const ::ignition::msgs::Wrench& EntityWrench::wrench()
const {
445 return _internal_wrench();
447 inline void EntityWrench::unsafe_arena_set_allocated_wrench(
448 ::ignition::msgs::Wrench* wrench) {
449 if (GetArena() ==
nullptr) {
450 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(wrench_);
460 inline ::ignition::msgs::Wrench* EntityWrench::release_wrench() {
461 auto temp = unsafe_arena_release_wrench();
462 if (GetArena() !=
nullptr) {
463 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
467 inline ::ignition::msgs::Wrench* EntityWrench::unsafe_arena_release_wrench() {
470 ::ignition::msgs::Wrench* temp = wrench_;
474 inline ::ignition::msgs::Wrench* EntityWrench::_internal_mutable_wrench() {
476 if (wrench_ ==
nullptr) {
477 auto* p = CreateMaybeMessage<::ignition::msgs::Wrench>(GetArena());
482 inline ::ignition::msgs::Wrench* EntityWrench::mutable_wrench() {
484 return _internal_mutable_wrench();
486 inline void EntityWrench::set_allocated_wrench(::ignition::msgs::Wrench* wrench) {
487 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
488 if (message_arena ==
nullptr) {
489 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(wrench_);
492 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
493 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(wrench)->GetArena();
494 if (message_arena != submessage_arena) {
495 wrench = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
496 message_arena, wrench, submessage_arena);
507 #pragma GCC diagnostic pop
524 #include <google/protobuf/port_undef.inc>
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fentity_5fwrench_2eproto
EntityWrench * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:149
void Swap(EntityWrench *other)
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:133
static void InitAsDefaultInstance()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:117
const ::ignition::msgs::Entity & entity() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::ignition::msgs::Header * release_header()
static const EntityWrench * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:123
friend void swap(EntityWrench &a, EntityWrench &b)
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:130
::ignition::msgs::Header * mutable_header()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:111
void unsafe_arena_set_allocated_entity(::ignition::msgs::Entity *entity)
void unsafe_arena_set_allocated_wrench(::ignition::msgs::Wrench *wrench)
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
static const EntityWrench & default_instance()
void UnsafeArenaSwap(EntityWrench *other)
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:141
::ignition::msgs::Wrench * unsafe_arena_release_wrench()
void set_allocated_entity(::ignition::msgs::Entity *entity)
EntityWrench(EntityWrench &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:93
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
void CopyFrom(const EntityWrench &from)
void MergeFrom(const EntityWrench &from)
EntityWrench & operator=(EntityWrench &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:102
::ignition::msgs::Header * unsafe_arena_release_header()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
::ignition::msgs::Entity * mutable_entity()
::ignition::msgs::Entity * unsafe_arena_release_entity()
EntityWrench * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:153
void set_allocated_header(::ignition::msgs::Header *header)
const ::ignition::msgs::Wrench & wrench() const
void set_allocated_wrench(::ignition::msgs::Wrench *wrench)
EntityWrench(const EntityWrench &from)
EntityWrench & operator=(const EntityWrench &from)
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:98
::ignition::msgs::Wrench * release_wrench()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:114
::ignition::msgs::Entity * release_entity()
EntityWrench(::PROTOBUF_NAMESPACE_ID::Arena *arena)
::ignition::msgs::Wrench * mutable_wrench()
const ::ignition::msgs::Header & header() const
EntityWrench()
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:89
IGNITION_MSGS_VISIBLE EntityDefaultTypeInternal _Entity_default_instance_
std::shared_ptr< const EntityWrench > ConstEntityWrenchSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:513
IGNITION_MSGS_VISIBLE EntityWrenchDefaultTypeInternal _EntityWrench_default_instance_
std::shared_ptr< EntityWrench > EntityWrenchSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:512
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::unique_ptr< EntityWrench > EntityWrenchUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:510
std::unique_ptr< const EntityWrench > ConstEntityWrenchUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:511
IGNITION_MSGS_VISIBLE WrenchDefaultTypeInternal _Wrench_default_instance_
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:53
Definition: build/ignition-msgs8/include/ignition/msgs/entity_wrench.pb.h:59
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)