Gazebo Msgs

API Reference

8.7.0
build/ignition-msgs8/include/ignition/msgs/shadows.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/shadows.proto
3 
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2fshadows_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fshadows_2eproto
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
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
14 #error your headers.
15 #endif
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.
20 #endif
21 
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> // IWYU pragma: export
31 #include <google/protobuf/extension_set.h> // IWYU pragma: export
32 #include <google/protobuf/generated_enum_reflection.h>
33 #include <google/protobuf/unknown_field_set.h>
34 #include "ignition/msgs/color.pb.h"
36 #ifndef _MSC_VER
37 #pragma GCC system_header
38 #else
39 #pragma warning(push)
40 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
41 #endif
42 #ifdef __linux__
43 #include <sys/sysmacros.h>
44 #endif
45 #include <memory>
46 #include <ignition/msgs/Export.hh>
47 // @@protoc_insertion_point(includes)
48 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2fshadows_2eproto IGNITION_MSGS_VISIBLE
49 
51 // Internal implementation detail -- do not use these members.
52 struct IGNITION_MSGS_VISIBLE TableStruct {
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[];
59 };
60 void IGNITION_MSGS_VISIBLE AddDescriptors();
61 } // namespace protobuf_ignition_2fmsgs_2fshadows_2eproto
62 namespace ignition {
63 namespace msgs {
64 class Shadows;
65 class ShadowsDefaultTypeInternal;
66 IGNITION_MSGS_VISIBLE extern ShadowsDefaultTypeInternal _Shadows_default_instance_;
67 } // namespace msgs
68 } // namespace ignition
69 namespace google {
70 namespace protobuf {
71 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Shadows* Arena::CreateMaybeMessage<::ignition::msgs::Shadows>(Arena*);
72 } // namespace protobuf
73 } // namespace google
74 namespace ignition {
75 namespace msgs {
76 
84 };
85 IGNITION_MSGS_VISIBLE bool Shadows_ShadowType_IsValid(int value);
89 
90 IGNITION_MSGS_VISIBLE const ::google::protobuf::EnumDescriptor* Shadows_ShadowType_descriptor();
91 inline const ::std::string& Shadows_ShadowType_Name(Shadows_ShadowType value) {
92  return ::google::protobuf::internal::NameOfEnum(
94 }
96  const ::std::string& name, Shadows_ShadowType* value) {
97  return ::google::protobuf::internal::ParseNamedEnum<Shadows_ShadowType>(
98  Shadows_ShadowType_descriptor(), name, value);
99 }
100 // ===================================================================
101 
102 class IGNITION_MSGS_VISIBLE Shadows : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Shadows) */ {
103  public:
104  Shadows();
105  virtual ~Shadows();
106 
107  Shadows(const Shadows& from);
108 
109  inline Shadows& operator=(const Shadows& from) {
110  CopyFrom(from);
111  return *this;
112  }
113  #if LANG_CXX11
114  Shadows(Shadows&& from) noexcept
115  : Shadows() {
116  *this = ::std::move(from);
117  }
118 
119  inline Shadows& operator=(Shadows&& from) noexcept {
120  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
121  if (this != &from) InternalSwap(&from);
122  } else {
123  CopyFrom(from);
124  }
125  return *this;
126  }
127  #endif
128  static const ::google::protobuf::Descriptor* descriptor();
129  static const Shadows& default_instance();
130 
131  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
132  static inline const Shadows* internal_default_instance() {
133  return reinterpret_cast<const Shadows*>(
135  }
136  static constexpr int kIndexInFileMessages =
137  0;
138 
139  void Swap(Shadows* other);
140  friend void swap(Shadows& a, Shadows& b) {
141  a.Swap(&b);
142  }
143 
144  // implements Message ----------------------------------------------
145 
146  inline Shadows* New() const final {
147  return CreateMaybeMessage<Shadows>(NULL);
148  }
149 
150  Shadows* New(::google::protobuf::Arena* arena) const final {
151  return CreateMaybeMessage<Shadows>(arena);
152  }
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);
157  void Clear() final;
158  bool IsInitialized() const final;
159 
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(); }
168 
169  private:
170  void SharedCtor();
171  void SharedDtor();
172  void SetCachedSize(int size) const final;
173  void InternalSwap(Shadows* other);
174  private:
175  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
176  return NULL;
177  }
178  inline void* MaybeArenaPtr() const {
179  return NULL;
180  }
181  public:
182 
183  ::google::protobuf::Metadata GetMetadata() const final;
184 
185  // nested types ----------------------------------------------------
186 
188  static const ShadowType STENCIL_ADDITIVE =
190  static const ShadowType STENCIL_MODULATIVE =
192  static const ShadowType TEXTURE_ADDITIVE =
194  static const ShadowType TEXTURE_MODULATIVE =
196  static inline bool ShadowType_IsValid(int value) {
197  return Shadows_ShadowType_IsValid(value);
198  }
199  static const ShadowType ShadowType_MIN =
201  static const ShadowType ShadowType_MAX =
203  static const int ShadowType_ARRAYSIZE =
205  static inline const ::google::protobuf::EnumDescriptor*
208  }
209  static inline const ::std::string& ShadowType_Name(ShadowType value) {
210  return Shadows_ShadowType_Name(value);
211  }
212  static inline bool ShadowType_Parse(const ::std::string& name,
213  ShadowType* value) {
214  return Shadows_ShadowType_Parse(name, value);
215  }
216 
217  // accessors -------------------------------------------------------
218 
219  // .ignition.msgs.Header header = 1;
220  bool has_header() const;
221  void clear_header();
222  static const int kHeaderFieldNumber = 1;
223  private:
224  const ::ignition::msgs::Header& _internal_header() const;
225  public:
226  const ::ignition::msgs::Header& header() const;
227  ::ignition::msgs::Header* release_header();
228  ::ignition::msgs::Header* mutable_header();
229  void set_allocated_header(::ignition::msgs::Header* header);
230 
231  // .ignition.msgs.Color color = 3;
232  bool has_color() const;
233  void clear_color();
234  static const int kColorFieldNumber = 3;
235  private:
236  const ::ignition::msgs::Color& _internal_color() const;
237  public:
238  const ::ignition::msgs::Color& color() const;
239  ::ignition::msgs::Color* release_color();
240  ::ignition::msgs::Color* mutable_color();
241  void set_allocated_color(::ignition::msgs::Color* color);
242 
243  // .ignition.msgs.Shadows.ShadowType type = 2;
244  void clear_type();
245  static const int kTypeFieldNumber = 2;
247  void set_type(::ignition::msgs::Shadows_ShadowType value);
248 
249  // @@protoc_insertion_point(class_scope:ignition.msgs.Shadows)
250  private:
251 
252  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
253  ::ignition::msgs::Header* header_;
254  ::ignition::msgs::Color* color_;
255  int type_;
256  mutable ::google::protobuf::internal::CachedSize _cached_size_;
257  friend struct ::protobuf_ignition_2fmsgs_2fshadows_2eproto::TableStruct;
258 };
259 // ===================================================================
260 
261 
262 // ===================================================================
263 
264 #ifdef __GNUC__
265  #pragma GCC diagnostic push
266  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
267 #endif // __GNUC__
268 // Shadows
269 
270 // .ignition.msgs.Header header = 1;
271 inline bool Shadows::has_header() const {
272  return this != internal_default_instance() && header_ != NULL;
273 }
274 inline const ::ignition::msgs::Header& Shadows::_internal_header() const {
275  return *header_;
276 }
277 inline const ::ignition::msgs::Header& Shadows::header() const {
278  const ::ignition::msgs::Header* p = header_;
279  // @@protoc_insertion_point(field_get:ignition.msgs.Shadows.header)
280  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
282 }
283 inline ::ignition::msgs::Header* Shadows::release_header() {
284  // @@protoc_insertion_point(field_release:ignition.msgs.Shadows.header)
285 
286  ::ignition::msgs::Header* temp = header_;
287  header_ = NULL;
288  return temp;
289 }
290 inline ::ignition::msgs::Header* Shadows::mutable_header() {
291 
292  if (header_ == NULL) {
293  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
294  header_ = p;
295  }
296  // @@protoc_insertion_point(field_mutable:ignition.msgs.Shadows.header)
297  return header_;
298 }
300  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
301  if (message_arena == NULL) {
302  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
303  }
304  if (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);
309  }
310 
311  } else {
312 
313  }
314  header_ = header;
315  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Shadows.header)
316 }
317 
318 // .ignition.msgs.Shadows.ShadowType type = 2;
319 inline void Shadows::clear_type() {
320  type_ = 0;
321 }
323  // @@protoc_insertion_point(field_get:ignition.msgs.Shadows.type)
324  return static_cast< ::ignition::msgs::Shadows_ShadowType >(type_);
325 }
327 
328  type_ = value;
329  // @@protoc_insertion_point(field_set:ignition.msgs.Shadows.type)
330 }
331 
332 // .ignition.msgs.Color color = 3;
333 inline bool Shadows::has_color() const {
334  return this != internal_default_instance() && color_ != NULL;
335 }
336 inline const ::ignition::msgs::Color& Shadows::_internal_color() const {
337  return *color_;
338 }
339 inline const ::ignition::msgs::Color& Shadows::color() const {
340  const ::ignition::msgs::Color* p = color_;
341  // @@protoc_insertion_point(field_get:ignition.msgs.Shadows.color)
342  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Color*>(
344 }
345 inline ::ignition::msgs::Color* Shadows::release_color() {
346  // @@protoc_insertion_point(field_release:ignition.msgs.Shadows.color)
347 
348  ::ignition::msgs::Color* temp = color_;
349  color_ = NULL;
350  return temp;
351 }
352 inline ::ignition::msgs::Color* Shadows::mutable_color() {
353 
354  if (color_ == NULL) {
355  auto* p = CreateMaybeMessage<::ignition::msgs::Color>(GetArenaNoVirtual());
356  color_ = p;
357  }
358  // @@protoc_insertion_point(field_mutable:ignition.msgs.Shadows.color)
359  return color_;
360 }
362  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
363  if (message_arena == NULL) {
364  delete reinterpret_cast< ::google::protobuf::MessageLite*>(color_);
365  }
366  if (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);
371  }
372 
373  } else {
374 
375  }
376  color_ = color;
377  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Shadows.color)
378 }
379 
380 #ifdef __GNUC__
381  #pragma GCC diagnostic pop
382 #endif // __GNUC__
383 
388 // @@protoc_insertion_point(namespace_scope)
389 
390 } // namespace msgs
391 } // namespace ignition
392 
393 namespace google {
394 namespace protobuf {
395 
396 template <> struct is_proto_enum< ::ignition::msgs::Shadows_ShadowType> : ::std::true_type {};
397 template <>
398 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Shadows_ShadowType>() {
400 }
401 
402 } // namespace protobuf
403 } // namespace google
404 
405 #ifdef _MSC_VER
406 #pragma warning(pop)
407 #endif
408 // @@protoc_insertion_point(global_scope)
409 
410 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fshadows_2eproto
void set_type(::ignition::msgs::Shadows_ShadowType value)
Definition: build/ignition-msgs8/include/ignition/msgs/shadows.pb.h:326
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs8/include/ignition/msgs/shadows.pb.h:277
STL class.
void Swap(Shadows *other)
::ignition::msgs::Color * release_color()
Definition: build/ignition-msgs8/include/ignition/msgs/shadows.pb.h:345
static const ::std::string & ShadowType_Name(ShadowType value)
Definition: build/ignition-msgs8/include/ignition/msgs/shadows.pb.h:209
std::unique_ptr< const Shadows > ConstShadowsUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/shadows.pb.h:385
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs8/include/ignition/msgs/shadows.pb.h:299
void clear_type()
Definition: build/ignition-msgs8/include/ignition/msgs/shadows.pb.h:319
const IGNITION_MSGS_VISIBLE ::google::protobuf::EnumDescriptor * Shadows_ShadowType_descriptor()
@ Shadows_ShadowType_TEXTURE_MODULATIVE
Definition: build/ignition-msgs8/include/ignition/msgs/shadows.pb.h:81
bool has_color() const
Definition: build/ignition-msgs8/include/ignition/msgs/shadows.pb.h:333
std::unique_ptr< Shadows > ShadowsUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/shadows.pb.h:384
const ::std::string & Shadows_ShadowType_Name(Shadows_ShadowType value)
Definition: build/ignition-msgs8/include/ignition/msgs/shadows.pb.h:91
const int Shadows_ShadowType_ShadowType_ARRAYSIZE
Definition: build/ignition-msgs8/include/ignition/msgs/shadows.pb.h:88
@ Shadows_ShadowType_TEXTURE_ADDITIVE
Definition: build/ignition-msgs8/include/ignition/msgs/shadows.pb.h:80
static const Shadows * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/shadows.pb.h:132
@ Shadows_ShadowType_Shadows_ShadowType_INT_MIN_SENTINEL_DO_NOT_USE_
Definition: build/ignition-msgs8/include/ignition/msgs/shadows.pb.h:82
Shadows * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/shadows.pb.h:146
IGNITION_MSGS_VISIBLE ColorDefaultTypeInternal _Color_default_instance_
std::shared_ptr< const Shadows > ConstShadowsSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/shadows.pb.h:387
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs8/include/ignition/msgs/shadows.pb.h:290
bool has_header() const
Definition: build/ignition-msgs8/include/ignition/msgs/shadows.pb.h:271
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs8/include/ignition/msgs/shadows.pb.h:283
::ignition::msgs::Shadows_ShadowType type() const
Definition: build/ignition-msgs8/include/ignition/msgs/shadows.pb.h:322
Definition: build/ignition-msgs8/include/ignition/msgs/shadows.pb.h:52
Definition: build/ignition-msgs8/include/ignition/msgs/color.pb.h:77
@ Shadows_ShadowType_STENCIL_MODULATIVE
Definition: build/ignition-msgs8/include/ignition/msgs/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: build/ignition-msgs8/include/ignition/msgs/shadows.pb.h:86
Shadows & operator=(const Shadows &from)
Definition: build/ignition-msgs8/include/ignition/msgs/shadows.pb.h:109
@ Shadows_ShadowType_STENCIL_ADDITIVE
Definition: build/ignition-msgs8/include/ignition/msgs/shadows.pb.h:78
bool Shadows_ShadowType_Parse(const ::std::string &name, Shadows_ShadowType *value)
Definition: build/ignition-msgs8/include/ignition/msgs/shadows.pb.h:95
::ignition::msgs::Color * mutable_color()
Definition: build/ignition-msgs8/include/ignition/msgs/shadows.pb.h:352
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::shared_ptr< Shadows > ShadowsSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/shadows.pb.h:386
static const ::google::protobuf::EnumDescriptor * ShadowType_descriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/shadows.pb.h:206
Shadows_ShadowType
Definition: build/ignition-msgs8/include/ignition/msgs/shadows.pb.h:77
Definition: build/ignition-msgs8/include/ignition/msgs/header.pb.h:215
Definition: build/ignition-msgs8/include/ignition/msgs/shadows.pb.h:102
void IGNITION_MSGS_VISIBLE AddDescriptors()
void set_allocated_color(::ignition::msgs::Color *color)
Definition: build/ignition-msgs8/include/ignition/msgs/shadows.pb.h:361
Shadows * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/shadows.pb.h:150
STL class.
@ Shadows_ShadowType_Shadows_ShadowType_INT_MAX_SENTINEL_DO_NOT_USE_
Definition: build/ignition-msgs8/include/ignition/msgs/shadows.pb.h:83
friend void swap(Shadows &a, Shadows &b)
Definition: build/ignition-msgs8/include/ignition/msgs/shadows.pb.h:140
static bool ShadowType_Parse(const ::std::string &name, ShadowType *value)
Definition: build/ignition-msgs8/include/ignition/msgs/shadows.pb.h:212
Definition: build/ignition-msgs8/include/ignition/msgs/shadows.pb.h:50
const Shadows_ShadowType Shadows_ShadowType_ShadowType_MAX
Definition: build/ignition-msgs8/include/ignition/msgs/shadows.pb.h:87
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:78
const ::ignition::msgs::Color & color() const
Definition: build/ignition-msgs8/include/ignition/msgs/shadows.pb.h:339