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 < 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/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 ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
73 class 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>(
112 class IGNITION_MSGS_VISIBLE Shadows PROTOBUF_FINAL :
113 public ::PROTOBUF_NAMESPACE_ID::Message {
121 *
this = ::std::move(from);
129 if (GetArena() == from.GetArena()) {
130 if (
this != &from) InternalSwap(&from);
137 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
138 return GetDescriptor();
141 return GetMetadataStatic().descriptor;
144 return GetMetadataStatic().reflection;
149 return reinterpret_cast<const Shadows*
>(
152 static constexpr
int kIndexInFileMessages =
155 friend void swap(Shadows& a, Shadows& b) {
158 inline void Swap(Shadows* other) {
159 if (other ==
this)
return;
160 if (GetArena() == other->GetArena()) {
163 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
167 if (other ==
this)
return;
168 GOOGLE_DCHECK(GetArena() == other->GetArena());
174 inline Shadows*
New() const final {
175 return CreateMaybeMessage<Shadows>(
nullptr);
178 Shadows*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
179 return CreateMaybeMessage<Shadows>(arena);
181 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
182 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
185 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
186 bool IsInitialized() const final;
188 size_t ByteSizeLong() const final;
189 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
190 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
191 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
192 int GetCachedSize() const final {
return _cached_size_.Get(); }
195 inline void SharedCtor();
196 inline void SharedDtor();
197 void SetCachedSize(
int size)
const final;
198 void InternalSwap(Shadows* other);
199 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
200 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
201 return "ignition.msgs.Shadows";
204 explicit Shadows(::PROTOBUF_NAMESPACE_ID::Arena* arena);
206 static void ArenaDtor(
void*
object);
207 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
212 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
237 static constexpr
int ShadowType_ARRAYSIZE =
239 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
247 "Incorrect type passed to function ShadowType_Name.");
258 kHeaderFieldNumber = 1,
259 kColorFieldNumber = 3,
260 kTypeFieldNumber = 2,
265 bool _internal_has_header()
const;
268 const ::ignition::msgs::Header&
header()
const;
273 const ::ignition::msgs::Header& _internal_header()
const;
274 ::ignition::msgs::Header* _internal_mutable_header();
277 ::ignition::msgs::Header* header);
283 bool _internal_has_color()
const;
286 const ::ignition::msgs::Color&
color()
const;
291 const ::ignition::msgs::Color& _internal_color()
const;
292 ::ignition::msgs::Color* _internal_mutable_color();
295 ::ignition::msgs::Color* color);
311 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
312 typedef void InternalArenaConstructable_;
313 typedef void DestructorSkippable_;
314 ::ignition::msgs::Header* header_;
315 ::ignition::msgs::Color* color_;
317 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
318 friend struct ::TableStruct_ignition_2fmsgs_2fshadows_2eproto;
326 #pragma GCC diagnostic push
327 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
332 inline bool Shadows::_internal_has_header()
const {
333 return this != internal_default_instance() && header_ !=
nullptr;
335 inline bool Shadows::has_header()
const {
336 return _internal_has_header();
338 inline const ::ignition::msgs::Header& Shadows::_internal_header()
const {
339 const ::ignition::msgs::Header* p = header_;
340 return p !=
nullptr ? *p :
reinterpret_cast<const ::ignition::msgs::Header&
>(
343 inline const ::ignition::msgs::Header& Shadows::header()
const {
345 return _internal_header();
347 inline void Shadows::unsafe_arena_set_allocated_header(
348 ::ignition::msgs::Header* header) {
349 if (GetArena() ==
nullptr) {
350 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
360 inline ::ignition::msgs::Header* Shadows::release_header() {
362 ::ignition::msgs::Header* temp = header_;
364 if (GetArena() !=
nullptr) {
365 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
369 inline ::ignition::msgs::Header* Shadows::unsafe_arena_release_header() {
372 ::ignition::msgs::Header* temp = header_;
376 inline ::ignition::msgs::Header* Shadows::_internal_mutable_header() {
378 if (header_ ==
nullptr) {
379 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
384 inline ::ignition::msgs::Header* Shadows::mutable_header() {
386 return _internal_mutable_header();
388 inline void Shadows::set_allocated_header(::ignition::msgs::Header* header) {
389 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
390 if (message_arena ==
nullptr) {
391 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
394 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
395 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header)->GetArena();
396 if (message_arena != submessage_arena) {
397 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
398 message_arena, header, submessage_arena);
409 inline void Shadows::clear_type() {
417 return _internal_type();
424 _internal_set_type(value);
429 inline bool Shadows::_internal_has_color()
const {
430 return this != internal_default_instance() && color_ !=
nullptr;
432 inline bool Shadows::has_color()
const {
433 return _internal_has_color();
435 inline const ::ignition::msgs::Color& Shadows::_internal_color()
const {
436 const ::ignition::msgs::Color* p = color_;
437 return p !=
nullptr ? *p :
reinterpret_cast<const ::ignition::msgs::Color&
>(
440 inline const ::ignition::msgs::Color& Shadows::color()
const {
442 return _internal_color();
444 inline void Shadows::unsafe_arena_set_allocated_color(
445 ::ignition::msgs::Color* color) {
446 if (GetArena() ==
nullptr) {
447 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(color_);
457 inline ::ignition::msgs::Color* Shadows::release_color() {
459 ::ignition::msgs::Color* temp = color_;
461 if (GetArena() !=
nullptr) {
462 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
466 inline ::ignition::msgs::Color* Shadows::unsafe_arena_release_color() {
469 ::ignition::msgs::Color* temp = color_;
473 inline ::ignition::msgs::Color* Shadows::_internal_mutable_color() {
475 if (color_ ==
nullptr) {
476 auto* p = CreateMaybeMessage<::ignition::msgs::Color>(GetArena());
481 inline ::ignition::msgs::Color* Shadows::mutable_color() {
483 return _internal_mutable_color();
485 inline void Shadows::set_allocated_color(::ignition::msgs::Color* color) {
486 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
487 if (message_arena ==
nullptr) {
488 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(color_);
491 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
492 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(color)->GetArena();
493 if (message_arena != submessage_arena) {
494 color = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
495 message_arena, color, submessage_arena);
506 #pragma GCC diagnostic pop
518 PROTOBUF_NAMESPACE_OPEN
522 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Shadows_ShadowType>() {
526 PROTOBUF_NAMESPACE_CLOSE
533 #include <google/protobuf/port_undef.inc>
::ignition::msgs::Shadows_ShadowType type() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: shadows.pb.h:143
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::ignition::msgs::Header * release_header()
Shadows(::PROTOBUF_NAMESPACE_ID::Arena *arena)
::ignition::msgs::Header * mutable_header()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: shadows.pb.h:137
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
static const Shadows & default_instance()
void unsafe_arena_set_allocated_color(::ignition::msgs::Color *color)
Shadows()
Definition: shadows.pb.h:115
Shadows * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: shadows.pb.h:178
void set_allocated_color(::ignition::msgs::Color *color)
::ignition::msgs::Color * unsafe_arena_release_color()
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
void Swap(Shadows *other)
Definition: shadows.pb.h:158
Shadows(const Shadows &from)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * ShadowType_descriptor()
Definition: shadows.pb.h:240
::ignition::msgs::Header * unsafe_arena_release_header()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
Shadows & operator=(const Shadows &from)
Definition: shadows.pb.h:124
const ::ignition::msgs::Color & color() const
friend void swap(Shadows &a, Shadows &b)
Definition: shadows.pb.h:155
void MergeFrom(const Shadows &from)
::ignition::msgs::Color * mutable_color()
void UnsafeArenaSwap(Shadows *other)
Definition: shadows.pb.h:166
void set_allocated_header(::ignition::msgs::Header *header)
Shadows_ShadowType ShadowType
Definition: shadows.pb.h:221
static const std::string & ShadowType_Name(T enum_t_value)
Definition: shadows.pb.h:244
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: shadows.pb.h:140
Shadows(Shadows &&from) noexcept
Definition: shadows.pb.h:119
Shadows * New() const final
Definition: shadows.pb.h:174
static bool ShadowType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ShadowType *value)
Definition: shadows.pb.h:250
Shadows & operator=(Shadows &&from) noexcept
Definition: shadows.pb.h:128
void set_type(::ignition::msgs::Shadows_ShadowType value)
void CopyFrom(const Shadows &from)
static const Shadows * internal_default_instance()
Definition: shadows.pb.h:148
static bool ShadowType_IsValid(int value)
Definition: shadows.pb.h:230
const ::ignition::msgs::Header & header() const
::ignition::msgs::Color * release_color()
IGNITION_MSGS_VISIBLE ColorDefaultTypeInternal _Color_default_instance_
std::shared_ptr< Shadows > ShadowsSharedPtr
Definition: shadows.pb.h:511
std::unique_ptr< const Shadows > ConstShadowsUniquePtr
Definition: shadows.pb.h:510
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:509
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:512
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)