Go to the documentation of this file.
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2fshadows_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fshadows_2eproto
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
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 3006001 < GOOGLE_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/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
29 #include <google/protobuf/message.h>
30 #include <google/protobuf/repeated_field.h>
31 #include <google/protobuf/extension_set.h>
32 #include <google/protobuf/generated_enum_reflection.h>
33 #include <google/protobuf/unknown_field_set.h>
37 #pragma GCC system_header
40 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
43 #include <sys/sysmacros.h>
48 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2fshadows_2eproto IGNITION_MSGS_VISIBLE
53 static const ::google::protobuf::internal::ParseTableField entries[];
54 static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
55 static const ::google::protobuf::internal::ParseTable schema[1];
56 static const ::google::protobuf::internal::FieldMetadata field_metadata[];
57 static const ::google::protobuf::internal::SerializationTable serialization_table[];
58 static const ::google::protobuf::uint32 offsets[];
65 class ShadowsDefaultTypeInternal;
71 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Shadows* Arena::CreateMaybeMessage<::ignition::msgs::Shadows>(Arena*);
92 return ::google::protobuf::internal::NameOfEnum(
97 return ::google::protobuf::internal::ParseNamedEnum<Shadows_ShadowType>(
102 class IGNITION_MSGS_VISIBLE
Shadows :
public ::google::protobuf::Message {
116 *
this = ::std::move(from);
119 inline Shadows& operator=(Shadows&& from) noexcept {
120 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
121 if (
this != &from) InternalSwap(&from);
128 static const ::google::protobuf::Descriptor* descriptor();
129 static const Shadows& default_instance();
131 static void InitAsDefaultInstance();
133 return reinterpret_cast<const Shadows*
>(
136 static constexpr
int kIndexInFileMessages =
147 return CreateMaybeMessage<Shadows>(NULL);
151 return CreateMaybeMessage<Shadows>(arena);
153 void CopyFrom(const ::google::protobuf::Message& from)
final;
154 void MergeFrom(const ::google::protobuf::Message& from)
final;
155 void CopyFrom(
const Shadows& from);
156 void MergeFrom(
const Shadows& from);
158 bool IsInitialized() const final;
160 size_t ByteSizeLong() const final;
161 bool MergePartialFromCodedStream(
162 ::
google::protobuf::io::CodedInputStream* input) final;
163 void SerializeWithCachedSizes(
164 ::
google::protobuf::io::CodedOutputStream* output) const final;
165 ::
google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
166 bool deterministic, ::
google::protobuf::uint8* target) const final;
167 int GetCachedSize() const final {
return _cached_size_.Get(); }
172 void SetCachedSize(
int size)
const final;
173 void InternalSwap(
Shadows* other);
175 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
178 inline void* MaybeArenaPtr()
const {
183 ::google::protobuf::Metadata GetMetadata() const final;
196 static inline
bool ShadowType_IsValid(
int value) {
203 static const int ShadowType_ARRAYSIZE =
205 static inline const ::google::protobuf::EnumDescriptor*
220 bool has_header()
const;
222 static const int kHeaderFieldNumber = 1;
224 const ::ignition::msgs::Header& _internal_header()
const;
226 const ::ignition::msgs::Header& header()
const;
232 bool has_color()
const;
234 static const int kColorFieldNumber = 3;
236 const ::ignition::msgs::Color& _internal_color()
const;
238 const ::ignition::msgs::Color& color()
const;
245 static const int kTypeFieldNumber = 2;
252 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
256 mutable ::google::protobuf::internal::CachedSize _cached_size_;
257 friend struct ::protobuf_ignition_2fmsgs_2fshadows_2eproto::TableStruct;
265 #pragma GCC diagnostic push
266 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
274 inline const ::ignition::msgs::Header& Shadows::_internal_header()
const {
278 const ::ignition::msgs::Header* p = header_;
292 if (header_ == NULL) {
293 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
300 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
301 if (message_arena == NULL) {
302 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(header_);
305 ::google::protobuf::Arena* submessage_arena = NULL;
306 if (message_arena != submessage_arena) {
307 header = ::google::protobuf::internal::GetOwnedMessage(
308 message_arena,
header, submessage_arena);
336 inline const ::ignition::msgs::Color& Shadows::_internal_color()
const {
340 const ::ignition::msgs::Color* p = color_;
354 if (color_ == NULL) {
355 auto* p = CreateMaybeMessage<::ignition::msgs::Color>(GetArenaNoVirtual());
362 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
363 if (message_arena == NULL) {
364 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(color_);
367 ::google::protobuf::Arena* submessage_arena = NULL;
368 if (message_arena != submessage_arena) {
369 color = ::google::protobuf::internal::GetOwnedMessage(
370 message_arena,
color, submessage_arena);
381 #pragma GCC diagnostic pop
398 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Shadows_ShadowType>() {
410 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fshadows_2eproto
void set_type(::ignition::msgs::Shadows_ShadowType value)
Definition: shadows.pb.h:326
const ::ignition::msgs::Header & header() const
Definition: shadows.pb.h:277
void Swap(Shadows *other)
::ignition::msgs::Color * release_color()
Definition: shadows.pb.h:345
static const ::std::string & ShadowType_Name(ShadowType value)
Definition: shadows.pb.h:209
std::unique_ptr< const Shadows > ConstShadowsUniquePtr
Definition: shadows.pb.h:385
void set_allocated_header(::ignition::msgs::Header *header)
Definition: shadows.pb.h:299
void clear_type()
Definition: shadows.pb.h:319
const IGNITION_MSGS_VISIBLE ::google::protobuf::EnumDescriptor * Shadows_ShadowType_descriptor()
@ Shadows_ShadowType_TEXTURE_MODULATIVE
Definition: shadows.pb.h:81
bool has_color() const
Definition: shadows.pb.h:333
std::unique_ptr< Shadows > ShadowsUniquePtr
Definition: shadows.pb.h:384
const ::std::string & Shadows_ShadowType_Name(Shadows_ShadowType value)
Definition: shadows.pb.h:91
const int Shadows_ShadowType_ShadowType_ARRAYSIZE
Definition: shadows.pb.h:88
@ Shadows_ShadowType_TEXTURE_ADDITIVE
Definition: shadows.pb.h:80
static const Shadows * internal_default_instance()
Definition: shadows.pb.h:132
@ Shadows_ShadowType_Shadows_ShadowType_INT_MIN_SENTINEL_DO_NOT_USE_
Definition: shadows.pb.h:82
Shadows * New() const final
Definition: shadows.pb.h:146
IGNITION_MSGS_VISIBLE ColorDefaultTypeInternal _Color_default_instance_
std::shared_ptr< const Shadows > ConstShadowsSharedPtr
Definition: shadows.pb.h:387
::ignition::msgs::Header * mutable_header()
Definition: shadows.pb.h:290
bool has_header() const
Definition: shadows.pb.h:271
::ignition::msgs::Header * release_header()
Definition: shadows.pb.h:283
::ignition::msgs::Shadows_ShadowType type() const
Definition: shadows.pb.h:322
Definition: shadows.pb.h:52
Definition: color.pb.h:77
@ Shadows_ShadowType_STENCIL_MODULATIVE
Definition: shadows.pb.h:79
IGNITION_MSGS_VISIBLE bool Shadows_ShadowType_IsValid(int value)
IGNITION_MSGS_VISIBLE ShadowsDefaultTypeInternal _Shadows_default_instance_
const Shadows_ShadowType Shadows_ShadowType_ShadowType_MIN
Definition: shadows.pb.h:86
Shadows & operator=(const Shadows &from)
Definition: shadows.pb.h:109
@ Shadows_ShadowType_STENCIL_ADDITIVE
Definition: shadows.pb.h:78
bool Shadows_ShadowType_Parse(const ::std::string &name, Shadows_ShadowType *value)
Definition: shadows.pb.h:95
::ignition::msgs::Color * mutable_color()
Definition: shadows.pb.h:352
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::shared_ptr< Shadows > ShadowsSharedPtr
Definition: shadows.pb.h:386
static const ::google::protobuf::EnumDescriptor * ShadowType_descriptor()
Definition: shadows.pb.h:206
Shadows_ShadowType
Definition: shadows.pb.h:77
Definition: shadows.pb.h:102
void IGNITION_MSGS_VISIBLE AddDescriptors()
void set_allocated_color(::ignition::msgs::Color *color)
Definition: shadows.pb.h:361
Shadows * New(::google::protobuf::Arena *arena) const final
Definition: shadows.pb.h:150
@ Shadows_ShadowType_Shadows_ShadowType_INT_MAX_SENTINEL_DO_NOT_USE_
Definition: shadows.pb.h:83
friend void swap(Shadows &a, Shadows &b)
Definition: shadows.pb.h:140
static bool ShadowType_Parse(const ::std::string &name, ShadowType *value)
Definition: shadows.pb.h:212
Definition: shadows.pb.h:50
const Shadows_ShadowType Shadows_ShadowType_ShadowType_MAX
Definition: shadows.pb.h:87
Definition: actor.pb.h:78
const ::ignition::msgs::Color & color() const
Definition: shadows.pb.h:339