4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fshadows_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fshadows_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/generated_enum_reflection.h>
34 #include <google/protobuf/unknown_field_set.h>
38 #pragma GCC system_header
41 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
44 #include <sys/sysmacros.h>
49 #include <google/protobuf/port_def.inc>
50 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fshadows_2eproto IGNITION_MSGS_VISIBLE
51 PROTOBUF_NAMESPACE_OPEN
55 PROTOBUF_NAMESPACE_CLOSE
59 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
61 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
63 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
65 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
66 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
67 static const uint32_t offsets[];
73 struct ShadowsDefaultTypeInternal;
77 PROTOBUF_NAMESPACE_OPEN
78 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Shadows* Arena::CreateMaybeMessage<::ignition::msgs::Shadows>(Arena*);
79 PROTOBUF_NAMESPACE_CLOSE
101 "Incorrect type passed to function Shadows_ShadowType_Name.");
102 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
107 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Shadows_ShadowType>(
113 public ::PROTOBUF_NAMESPACE_ID::Message {
117 explicit constexpr
Shadows(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
122 *
this = ::std::move(from);
130 if (
this == &from)
return *
this;
131 if (GetOwningArena() == from.GetOwningArena()
132 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
133 && GetOwningArena() !=
nullptr
143 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
144 return GetDescriptor();
147 return default_instance().GetMetadata().descriptor;
150 return default_instance().GetMetadata().reflection;
153 return *internal_default_instance();
156 return reinterpret_cast<const Shadows*
>(
159 static constexpr
int kIndexInFileMessages =
166 if (other ==
this)
return;
167 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
168 if (GetOwningArena() !=
nullptr &&
169 GetOwningArena() == other->GetOwningArena()) {
171 if (GetOwningArena() == other->GetOwningArena()) {
175 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
179 if (other ==
this)
return;
180 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
186 Shadows*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
187 return CreateMaybeMessage<Shadows>(arena);
189 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
191 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
194 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
196 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
197 bool IsInitialized() const final;
199 size_t ByteSizeLong() const final;
200 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
201 uint8_t* _InternalSerialize(
202 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
203 int GetCachedSize() const final {
return _cached_size_.Get(); }
208 void SetCachedSize(
int size)
const final;
209 void InternalSwap(
Shadows* other);
212 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
213 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
214 return "ignition.msgs.Shadows";
217 explicit Shadows(::PROTOBUF_NAMESPACE_ID::Arena* arena,
218 bool is_message_owned =
false);
220 static void ArenaDtor(
void*
object);
221 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
225 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
227 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
240 static inline
bool ShadowType_IsValid(
int value) {
247 static constexpr
int ShadowType_ARRAYSIZE =
249 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
257 "Incorrect type passed to function ShadowType_Name.");
268 kHeaderFieldNumber = 1,
269 kColorFieldNumber = 3,
270 kTypeFieldNumber = 2,
273 bool has_header()
const;
275 bool _internal_has_header()
const;
278 const ::ignition::msgs::Header& header()
const;
279 PROTOBUF_NODISCARD ::ignition::msgs::Header* release_header();
283 const ::ignition::msgs::Header& _internal_header()
const;
286 void unsafe_arena_set_allocated_header(
291 bool has_color()
const;
293 bool _internal_has_color()
const;
296 const ::ignition::msgs::Color& color()
const;
297 PROTOBUF_NODISCARD ::ignition::msgs::Color* release_color();
301 const ::ignition::msgs::Color& _internal_color()
const;
304 void unsafe_arena_set_allocated_color(
321 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
322 typedef void InternalArenaConstructable_;
323 typedef void DestructorSkippable_;
327 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
328 friend struct ::TableStruct_ignition_2fmsgs_2fshadows_2eproto;
336 #pragma GCC diagnostic push
337 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
342 inline bool Shadows::_internal_has_header()
const {
343 return this != internal_default_instance() && header_ !=
nullptr;
346 return _internal_has_header();
348 inline const ::ignition::msgs::Header& Shadows::_internal_header()
const {
349 const ::ignition::msgs::Header* p = header_;
355 return _internal_header();
359 if (GetArenaForAllocation() ==
nullptr) {
360 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
374 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
375 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
376 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
377 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
379 if (GetArenaForAllocation() !=
nullptr) {
380 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
392 inline ::ignition::msgs::Header* Shadows::_internal_mutable_header() {
394 if (header_ ==
nullptr) {
395 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaForAllocation());
406 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
407 if (message_arena ==
nullptr) {
408 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
411 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
412 ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
413 ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
414 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header));
415 if (message_arena != submessage_arena) {
416 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
417 message_arena, header, submessage_arena);
436 return _internal_type();
443 _internal_set_type(value);
448 inline bool Shadows::_internal_has_color()
const {
449 return this != internal_default_instance() && color_ !=
nullptr;
452 return _internal_has_color();
454 inline const ::ignition::msgs::Color& Shadows::_internal_color()
const {
455 const ::ignition::msgs::Color* p = color_;
461 return _internal_color();
465 if (GetArenaForAllocation() ==
nullptr) {
466 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(color_);
480 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
481 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
482 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
483 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
485 if (GetArenaForAllocation() !=
nullptr) {
486 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
498 inline ::ignition::msgs::Color* Shadows::_internal_mutable_color() {
500 if (color_ ==
nullptr) {
501 auto* p = CreateMaybeMessage<::ignition::msgs::Color>(GetArenaForAllocation());
512 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
513 if (message_arena ==
nullptr) {
514 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(color_);
517 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
518 ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
519 ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
520 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(color));
521 if (message_arena != submessage_arena) {
522 color = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
523 message_arena, color, submessage_arena);
534 #pragma GCC diagnostic pop
546 PROTOBUF_NAMESPACE_OPEN
550 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Shadows_ShadowType>() {
554 PROTOBUF_NAMESPACE_CLOSE
561 #include <google/protobuf/port_undef.inc>
Definition: color.pb.h:84
Definition: shadows.pb.h:113
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: shadows.pb.h:149
::ignition::msgs::Color * mutable_color()
Definition: shadows.pb.h:506
bool has_header() const
Definition: shadows.pb.h:345
::ignition::msgs::Header * mutable_header()
Definition: shadows.pb.h:400
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: shadows.pb.h:143
bool has_color() const
Definition: shadows.pb.h:451
static const Shadows & default_instance()
Definition: shadows.pb.h:152
void unsafe_arena_set_allocated_color(::ignition::msgs::Color *color)
Definition: shadows.pb.h:463
PROTOBUF_NODISCARD ::ignition::msgs::Color * release_color()
Definition: shadows.pb.h:476
Shadows()
Definition: shadows.pb.h:115
void set_allocated_color(::ignition::msgs::Color *color)
Definition: shadows.pb.h:511
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Definition: shadows.pb.h:357
void Swap(Shadows *other)
Definition: shadows.pb.h:165
Shadows(const Shadows &from)
::ignition::msgs::Color * unsafe_arena_release_color()
Definition: shadows.pb.h:491
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * ShadowType_descriptor()
Definition: shadows.pb.h:250
Shadows(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
Shadows & operator=(const Shadows &from)
Definition: shadows.pb.h:125
friend void swap(Shadows &a, Shadows &b)
Definition: shadows.pb.h:162
void MergeFrom(const Shadows &from)
void clear_type()
Definition: shadows.pb.h:428
void UnsafeArenaSwap(Shadows *other)
Definition: shadows.pb.h:178
void set_allocated_header(::ignition::msgs::Header *header)
Definition: shadows.pb.h:405
PROTOBUF_NODISCARD ::ignition::msgs::Header * release_header()
Definition: shadows.pb.h:370
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const std::string & ShadowType_Name(T enum_t_value)
Definition: shadows.pb.h:254
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: shadows.pb.h:146
Shadows(Shadows &&from) noexcept
Definition: shadows.pb.h:120
const ::ignition::msgs::Header & header() const
Definition: shadows.pb.h:353
::ignition::msgs::Shadows_ShadowType type() const
Definition: shadows.pb.h:434
static bool ShadowType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ShadowType *value)
Definition: shadows.pb.h:260
static const ClassData _class_data_
Definition: shadows.pb.h:224
::ignition::msgs::Header * unsafe_arena_release_header()
Definition: shadows.pb.h:385
Shadows * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: shadows.pb.h:186
constexpr Shadows(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
Shadows & operator=(Shadows &&from) noexcept
Definition: shadows.pb.h:129
void set_type(::ignition::msgs::Shadows_ShadowType value)
Definition: shadows.pb.h:442
const ::ignition::msgs::Color & color() const
Definition: shadows.pb.h:459
void CopyFrom(const Shadows &from)
static const Shadows * internal_default_instance()
Definition: shadows.pb.h:155
IGNITION_MSGS_VISIBLE ColorDefaultTypeInternal _Color_default_instance_
std::shared_ptr< Shadows > ShadowsSharedPtr
Definition: shadows.pb.h:539
std::unique_ptr< const Shadows > ConstShadowsUniquePtr
Definition: shadows.pb.h:538
constexpr Shadows_ShadowType Shadows_ShadowType_ShadowType_MAX
Definition: shadows.pb.h:93
IGNITION_MSGS_VISIBLE bool Shadows_ShadowType_IsValid(int value)
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::unique_ptr< Shadows > ShadowsUniquePtr
Definition: shadows.pb.h:537
Shadows_ShadowType
Definition: shadows.pb.h:83
@ Shadows_ShadowType_STENCIL_MODULATIVE
Definition: shadows.pb.h:85
@ Shadows_ShadowType_Shadows_ShadowType_INT_MAX_SENTINEL_DO_NOT_USE_
Definition: shadows.pb.h:89
@ Shadows_ShadowType_TEXTURE_MODULATIVE
Definition: shadows.pb.h:87
@ Shadows_ShadowType_Shadows_ShadowType_INT_MIN_SENTINEL_DO_NOT_USE_
Definition: shadows.pb.h:88
@ Shadows_ShadowType_STENCIL_ADDITIVE
Definition: shadows.pb.h:84
@ Shadows_ShadowType_TEXTURE_ADDITIVE
Definition: shadows.pb.h:86
bool Shadows_ShadowType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Shadows_ShadowType *value)
Definition: shadows.pb.h:105
const std::string & Shadows_ShadowType_Name(T enum_t_value)
Definition: shadows.pb.h:98
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Shadows_ShadowType_descriptor()
IGNITION_MSGS_VISIBLE ShadowsDefaultTypeInternal _Shadows_default_instance_
std::shared_ptr< const Shadows > ConstShadowsSharedPtr
Definition: shadows.pb.h:540
constexpr int Shadows_ShadowType_ShadowType_ARRAYSIZE
Definition: shadows.pb.h:94
constexpr Shadows_ShadowType Shadows_ShadowType_ShadowType_MIN
Definition: shadows.pb.h:92
Definition: actor.pb.h:52
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fshadows_2eproto
Definition: shadows.pb.h:58
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)