Gazebo Msgs

API Reference

9.5.1
scene.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: gz/msgs/scene.proto
3 
4 #ifndef PROTOBUF_INCLUDED_gz_2fmsgs_2fscene_2eproto
5 #define PROTOBUF_INCLUDED_gz_2fmsgs_2fscene_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/unknown_field_set.h>
33 #include "gz/msgs/color.pb.h"
34 #include "gz/msgs/fog.pb.h"
35 #include "gz/msgs/sky.pb.h"
36 #include "gz/msgs/light.pb.h"
37 #include "gz/msgs/joint.pb.h"
38 #include "gz/msgs/material.pb.h"
39 #include "gz/msgs/model.pb.h"
40 #include "gz/msgs/header.pb.h"
41 // @@protoc_insertion_point(includes)
42 #define PROTOBUF_INTERNAL_EXPORT_protobuf_gz_2fmsgs_2fscene_2eproto GZ_MSGS_VISIBLE
43 
45 // Internal implementation detail -- do not use these members.
46 struct GZ_MSGS_VISIBLE TableStruct {
47  static const ::google::protobuf::internal::ParseTableField entries[];
48  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
49  static const ::google::protobuf::internal::ParseTable schema[1];
50  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
51  static const ::google::protobuf::internal::SerializationTable serialization_table[];
52  static const ::google::protobuf::uint32 offsets[];
53 };
54 void GZ_MSGS_VISIBLE AddDescriptors();
55 } // namespace protobuf_gz_2fmsgs_2fscene_2eproto
56 namespace gz {
57 namespace msgs {
58 class Scene;
59 class SceneDefaultTypeInternal;
60 GZ_MSGS_VISIBLE extern SceneDefaultTypeInternal _Scene_default_instance_;
61 } // namespace msgs
62 } // namespace gz
63 namespace google {
64 namespace protobuf {
65 template<> GZ_MSGS_VISIBLE ::gz::msgs::Scene* Arena::CreateMaybeMessage<::gz::msgs::Scene>(Arena*);
66 } // namespace protobuf
67 } // namespace google
68 namespace gz {
69 namespace msgs {
70 
71 // ===================================================================
72 
73 class GZ_MSGS_VISIBLE Scene : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.Scene) */ {
74  public:
75  Scene();
76  virtual ~Scene();
77 
78  Scene(const Scene& from);
79 
80  inline Scene& operator=(const Scene& from) {
81  CopyFrom(from);
82  return *this;
83  }
84  #if LANG_CXX11
85  Scene(Scene&& from) noexcept
86  : Scene() {
87  *this = ::std::move(from);
88  }
89 
90  inline Scene& operator=(Scene&& from) noexcept {
91  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
92  if (this != &from) InternalSwap(&from);
93  } else {
94  CopyFrom(from);
95  }
96  return *this;
97  }
98  #endif
99  static const ::google::protobuf::Descriptor* descriptor();
100  static const Scene& default_instance();
101 
102  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
103  static inline const Scene* internal_default_instance() {
104  return reinterpret_cast<const Scene*>(
106  }
107  static constexpr int kIndexInFileMessages =
108  0;
109 
110  void Swap(Scene* other);
111  friend void swap(Scene& a, Scene& b) {
112  a.Swap(&b);
113  }
114 
115  // implements Message ----------------------------------------------
116 
117  inline Scene* New() const final {
118  return CreateMaybeMessage<Scene>(NULL);
119  }
120 
121  Scene* New(::google::protobuf::Arena* arena) const final {
122  return CreateMaybeMessage<Scene>(arena);
123  }
124  void CopyFrom(const ::google::protobuf::Message& from) final;
125  void MergeFrom(const ::google::protobuf::Message& from) final;
126  void CopyFrom(const Scene& from);
127  void MergeFrom(const Scene& from);
128  void Clear() final;
129  bool IsInitialized() const final;
130 
131  size_t ByteSizeLong() const final;
132  bool MergePartialFromCodedStream(
133  ::google::protobuf::io::CodedInputStream* input) final;
134  void SerializeWithCachedSizes(
135  ::google::protobuf::io::CodedOutputStream* output) const final;
136  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
137  bool deterministic, ::google::protobuf::uint8* target) const final;
138  int GetCachedSize() const final { return _cached_size_.Get(); }
139 
140  private:
141  void SharedCtor();
142  void SharedDtor();
143  void SetCachedSize(int size) const final;
144  void InternalSwap(Scene* other);
145  private:
146  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
147  return NULL;
148  }
149  inline void* MaybeArenaPtr() const {
150  return NULL;
151  }
152  public:
153 
154  ::google::protobuf::Metadata GetMetadata() const final;
155 
156  // nested types ----------------------------------------------------
157 
158  // accessors -------------------------------------------------------
159 
160  // repeated .gz.msgs.Model model = 9;
161  int model_size() const;
162  void clear_model();
163  static const int kModelFieldNumber = 9;
164  ::gz::msgs::Model* mutable_model(int index);
165  ::google::protobuf::RepeatedPtrField< ::gz::msgs::Model >*
166  mutable_model();
167  const ::gz::msgs::Model& model(int index) const;
168  ::gz::msgs::Model* add_model();
169  const ::google::protobuf::RepeatedPtrField< ::gz::msgs::Model >&
170  model() const;
171 
172  // repeated .gz.msgs.Light light = 10;
173  int light_size() const;
174  void clear_light();
175  static const int kLightFieldNumber = 10;
176  ::gz::msgs::Light* mutable_light(int index);
177  ::google::protobuf::RepeatedPtrField< ::gz::msgs::Light >*
178  mutable_light();
179  const ::gz::msgs::Light& light(int index) const;
180  ::gz::msgs::Light* add_light();
181  const ::google::protobuf::RepeatedPtrField< ::gz::msgs::Light >&
182  light() const;
183 
184  // repeated .gz.msgs.Joint joint = 11;
185  int joint_size() const;
186  void clear_joint();
187  static const int kJointFieldNumber = 11;
188  ::gz::msgs::Joint* mutable_joint(int index);
189  ::google::protobuf::RepeatedPtrField< ::gz::msgs::Joint >*
190  mutable_joint();
191  const ::gz::msgs::Joint& joint(int index) const;
192  ::gz::msgs::Joint* add_joint();
193  const ::google::protobuf::RepeatedPtrField< ::gz::msgs::Joint >&
194  joint() const;
195 
196  // string name = 2;
197  void clear_name();
198  static const int kNameFieldNumber = 2;
199  const ::std::string& name() const;
200  void set_name(const ::std::string& value);
201  #if LANG_CXX11
202  void set_name(::std::string&& value);
203  #endif
204  void set_name(const char* value);
205  void set_name(const char* value, size_t size);
206  ::std::string* mutable_name();
207  ::std::string* release_name();
208  void set_allocated_name(::std::string* name);
209 
210  // .gz.msgs.Header header = 1;
211  bool has_header() const;
212  void clear_header();
213  static const int kHeaderFieldNumber = 1;
214  private:
215  const ::gz::msgs::Header& _internal_header() const;
216  public:
217  const ::gz::msgs::Header& header() const;
218  ::gz::msgs::Header* release_header();
219  ::gz::msgs::Header* mutable_header();
220  void set_allocated_header(::gz::msgs::Header* header);
221 
222  // .gz.msgs.Color ambient = 3;
223  bool has_ambient() const;
224  void clear_ambient();
225  static const int kAmbientFieldNumber = 3;
226  private:
227  const ::gz::msgs::Color& _internal_ambient() const;
228  public:
229  const ::gz::msgs::Color& ambient() const;
230  ::gz::msgs::Color* release_ambient();
231  ::gz::msgs::Color* mutable_ambient();
232  void set_allocated_ambient(::gz::msgs::Color* ambient);
233 
234  // .gz.msgs.Color background = 4;
235  bool has_background() const;
236  void clear_background();
237  static const int kBackgroundFieldNumber = 4;
238  private:
239  const ::gz::msgs::Color& _internal_background() const;
240  public:
241  const ::gz::msgs::Color& background() const;
242  ::gz::msgs::Color* release_background();
243  ::gz::msgs::Color* mutable_background();
244  void set_allocated_background(::gz::msgs::Color* background);
245 
246  // .gz.msgs.Sky sky = 5;
247  bool has_sky() const;
248  void clear_sky();
249  static const int kSkyFieldNumber = 5;
250  private:
251  const ::gz::msgs::Sky& _internal_sky() const;
252  public:
253  const ::gz::msgs::Sky& sky() const;
254  ::gz::msgs::Sky* release_sky();
255  ::gz::msgs::Sky* mutable_sky();
256  void set_allocated_sky(::gz::msgs::Sky* sky);
257 
258  // .gz.msgs.Fog fog = 7;
259  bool has_fog() const;
260  void clear_fog();
261  static const int kFogFieldNumber = 7;
262  private:
263  const ::gz::msgs::Fog& _internal_fog() const;
264  public:
265  const ::gz::msgs::Fog& fog() const;
266  ::gz::msgs::Fog* release_fog();
267  ::gz::msgs::Fog* mutable_fog();
268  void set_allocated_fog(::gz::msgs::Fog* fog);
269 
270  // .gz.msgs.Material.Script shadow_caster_material_script = 13;
271  bool has_shadow_caster_material_script() const;
272  void clear_shadow_caster_material_script();
273  static const int kShadowCasterMaterialScriptFieldNumber = 13;
274  private:
275  const ::gz::msgs::Material_Script& _internal_shadow_caster_material_script() const;
276  public:
277  const ::gz::msgs::Material_Script& shadow_caster_material_script() const;
278  ::gz::msgs::Material_Script* release_shadow_caster_material_script();
279  ::gz::msgs::Material_Script* mutable_shadow_caster_material_script();
280  void set_allocated_shadow_caster_material_script(::gz::msgs::Material_Script* shadow_caster_material_script);
281 
282  // bool shadows = 6;
283  void clear_shadows();
284  static const int kShadowsFieldNumber = 6;
285  bool shadows() const;
286  void set_shadows(bool value);
287 
288  // bool grid = 8;
289  void clear_grid();
290  static const int kGridFieldNumber = 8;
291  bool grid() const;
292  void set_grid(bool value);
293 
294  // bool origin_visual = 12;
295  void clear_origin_visual();
296  static const int kOriginVisualFieldNumber = 12;
297  bool origin_visual() const;
298  void set_origin_visual(bool value);
299 
300  // @@protoc_insertion_point(class_scope:gz.msgs.Scene)
301  private:
302 
303  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
304  ::google::protobuf::RepeatedPtrField< ::gz::msgs::Model > model_;
305  ::google::protobuf::RepeatedPtrField< ::gz::msgs::Light > light_;
306  ::google::protobuf::RepeatedPtrField< ::gz::msgs::Joint > joint_;
307  ::google::protobuf::internal::ArenaStringPtr name_;
308  ::gz::msgs::Header* header_;
309  ::gz::msgs::Color* ambient_;
310  ::gz::msgs::Color* background_;
311  ::gz::msgs::Sky* sky_;
312  ::gz::msgs::Fog* fog_;
313  ::gz::msgs::Material_Script* shadow_caster_material_script_;
314  bool shadows_;
315  bool grid_;
316  bool origin_visual_;
317  mutable ::google::protobuf::internal::CachedSize _cached_size_;
318  friend struct ::protobuf_gz_2fmsgs_2fscene_2eproto::TableStruct;
319 };
320 // ===================================================================
321 
322 
323 // ===================================================================
324 
325 #ifdef __GNUC__
326  #pragma GCC diagnostic push
327  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
328 #endif // __GNUC__
329 // Scene
330 
331 // .gz.msgs.Header header = 1;
332 inline bool Scene::has_header() const {
333  return this != internal_default_instance() && header_ != NULL;
334 }
335 inline const ::gz::msgs::Header& Scene::_internal_header() const {
336  return *header_;
337 }
338 inline const ::gz::msgs::Header& Scene::header() const {
339  const ::gz::msgs::Header* p = header_;
340  // @@protoc_insertion_point(field_get:gz.msgs.Scene.header)
341  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Header*>(
343 }
344 inline ::gz::msgs::Header* Scene::release_header() {
345  // @@protoc_insertion_point(field_release:gz.msgs.Scene.header)
346 
347  ::gz::msgs::Header* temp = header_;
348  header_ = NULL;
349  return temp;
350 }
351 inline ::gz::msgs::Header* Scene::mutable_header() {
352 
353  if (header_ == NULL) {
354  auto* p = CreateMaybeMessage<::gz::msgs::Header>(GetArenaNoVirtual());
355  header_ = p;
356  }
357  // @@protoc_insertion_point(field_mutable:gz.msgs.Scene.header)
358  return header_;
359 }
361  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
362  if (message_arena == NULL) {
363  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
364  }
365  if (header) {
366  ::google::protobuf::Arena* submessage_arena = NULL;
367  if (message_arena != submessage_arena) {
368  header = ::google::protobuf::internal::GetOwnedMessage(
369  message_arena, header, submessage_arena);
370  }
371 
372  } else {
373 
374  }
375  header_ = header;
376  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Scene.header)
377 }
378 
379 // string name = 2;
380 inline void Scene::clear_name() {
381  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
382 }
383 inline const ::std::string& Scene::name() const {
384  // @@protoc_insertion_point(field_get:gz.msgs.Scene.name)
385  return name_.GetNoArena();
386 }
387 inline void Scene::set_name(const ::std::string& value) {
388 
389  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
390  // @@protoc_insertion_point(field_set:gz.msgs.Scene.name)
391 }
392 #if LANG_CXX11
393 inline void Scene::set_name(::std::string&& value) {
394 
395  name_.SetNoArena(
396  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
397  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.Scene.name)
398 }
399 #endif
400 inline void Scene::set_name(const char* value) {
401  GOOGLE_DCHECK(value != NULL);
402 
403  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
404  // @@protoc_insertion_point(field_set_char:gz.msgs.Scene.name)
405 }
406 inline void Scene::set_name(const char* value, size_t size) {
407 
408  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
409  ::std::string(reinterpret_cast<const char*>(value), size));
410  // @@protoc_insertion_point(field_set_pointer:gz.msgs.Scene.name)
411 }
412 inline ::std::string* Scene::mutable_name() {
413 
414  // @@protoc_insertion_point(field_mutable:gz.msgs.Scene.name)
415  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
416 }
417 inline ::std::string* Scene::release_name() {
418  // @@protoc_insertion_point(field_release:gz.msgs.Scene.name)
419 
420  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
421 }
423  if (name != NULL) {
424 
425  } else {
426 
427  }
428  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
429  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Scene.name)
430 }
431 
432 // .gz.msgs.Color ambient = 3;
433 inline bool Scene::has_ambient() const {
434  return this != internal_default_instance() && ambient_ != NULL;
435 }
436 inline const ::gz::msgs::Color& Scene::_internal_ambient() const {
437  return *ambient_;
438 }
439 inline const ::gz::msgs::Color& Scene::ambient() const {
440  const ::gz::msgs::Color* p = ambient_;
441  // @@protoc_insertion_point(field_get:gz.msgs.Scene.ambient)
442  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Color*>(
444 }
445 inline ::gz::msgs::Color* Scene::release_ambient() {
446  // @@protoc_insertion_point(field_release:gz.msgs.Scene.ambient)
447 
448  ::gz::msgs::Color* temp = ambient_;
449  ambient_ = NULL;
450  return temp;
451 }
452 inline ::gz::msgs::Color* Scene::mutable_ambient() {
453 
454  if (ambient_ == NULL) {
455  auto* p = CreateMaybeMessage<::gz::msgs::Color>(GetArenaNoVirtual());
456  ambient_ = p;
457  }
458  // @@protoc_insertion_point(field_mutable:gz.msgs.Scene.ambient)
459  return ambient_;
460 }
462  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
463  if (message_arena == NULL) {
464  delete reinterpret_cast< ::google::protobuf::MessageLite*>(ambient_);
465  }
466  if (ambient) {
467  ::google::protobuf::Arena* submessage_arena = NULL;
468  if (message_arena != submessage_arena) {
469  ambient = ::google::protobuf::internal::GetOwnedMessage(
470  message_arena, ambient, submessage_arena);
471  }
472 
473  } else {
474 
475  }
476  ambient_ = ambient;
477  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Scene.ambient)
478 }
479 
480 // .gz.msgs.Color background = 4;
481 inline bool Scene::has_background() const {
482  return this != internal_default_instance() && background_ != NULL;
483 }
484 inline const ::gz::msgs::Color& Scene::_internal_background() const {
485  return *background_;
486 }
487 inline const ::gz::msgs::Color& Scene::background() const {
488  const ::gz::msgs::Color* p = background_;
489  // @@protoc_insertion_point(field_get:gz.msgs.Scene.background)
490  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Color*>(
492 }
493 inline ::gz::msgs::Color* Scene::release_background() {
494  // @@protoc_insertion_point(field_release:gz.msgs.Scene.background)
495 
496  ::gz::msgs::Color* temp = background_;
497  background_ = NULL;
498  return temp;
499 }
500 inline ::gz::msgs::Color* Scene::mutable_background() {
501 
502  if (background_ == NULL) {
503  auto* p = CreateMaybeMessage<::gz::msgs::Color>(GetArenaNoVirtual());
504  background_ = p;
505  }
506  // @@protoc_insertion_point(field_mutable:gz.msgs.Scene.background)
507  return background_;
508 }
510  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
511  if (message_arena == NULL) {
512  delete reinterpret_cast< ::google::protobuf::MessageLite*>(background_);
513  }
514  if (background) {
515  ::google::protobuf::Arena* submessage_arena = NULL;
516  if (message_arena != submessage_arena) {
517  background = ::google::protobuf::internal::GetOwnedMessage(
518  message_arena, background, submessage_arena);
519  }
520 
521  } else {
522 
523  }
524  background_ = background;
525  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Scene.background)
526 }
527 
528 // .gz.msgs.Sky sky = 5;
529 inline bool Scene::has_sky() const {
530  return this != internal_default_instance() && sky_ != NULL;
531 }
532 inline const ::gz::msgs::Sky& Scene::_internal_sky() const {
533  return *sky_;
534 }
535 inline const ::gz::msgs::Sky& Scene::sky() const {
536  const ::gz::msgs::Sky* p = sky_;
537  // @@protoc_insertion_point(field_get:gz.msgs.Scene.sky)
538  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Sky*>(
540 }
541 inline ::gz::msgs::Sky* Scene::release_sky() {
542  // @@protoc_insertion_point(field_release:gz.msgs.Scene.sky)
543 
544  ::gz::msgs::Sky* temp = sky_;
545  sky_ = NULL;
546  return temp;
547 }
548 inline ::gz::msgs::Sky* Scene::mutable_sky() {
549 
550  if (sky_ == NULL) {
551  auto* p = CreateMaybeMessage<::gz::msgs::Sky>(GetArenaNoVirtual());
552  sky_ = p;
553  }
554  // @@protoc_insertion_point(field_mutable:gz.msgs.Scene.sky)
555  return sky_;
556 }
558  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
559  if (message_arena == NULL) {
560  delete reinterpret_cast< ::google::protobuf::MessageLite*>(sky_);
561  }
562  if (sky) {
563  ::google::protobuf::Arena* submessage_arena = NULL;
564  if (message_arena != submessage_arena) {
565  sky = ::google::protobuf::internal::GetOwnedMessage(
566  message_arena, sky, submessage_arena);
567  }
568 
569  } else {
570 
571  }
572  sky_ = sky;
573  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Scene.sky)
574 }
575 
576 // bool shadows = 6;
577 inline void Scene::clear_shadows() {
578  shadows_ = false;
579 }
580 inline bool Scene::shadows() const {
581  // @@protoc_insertion_point(field_get:gz.msgs.Scene.shadows)
582  return shadows_;
583 }
584 inline void Scene::set_shadows(bool value) {
585 
586  shadows_ = value;
587  // @@protoc_insertion_point(field_set:gz.msgs.Scene.shadows)
588 }
589 
590 // .gz.msgs.Fog fog = 7;
591 inline bool Scene::has_fog() const {
592  return this != internal_default_instance() && fog_ != NULL;
593 }
594 inline const ::gz::msgs::Fog& Scene::_internal_fog() const {
595  return *fog_;
596 }
597 inline const ::gz::msgs::Fog& Scene::fog() const {
598  const ::gz::msgs::Fog* p = fog_;
599  // @@protoc_insertion_point(field_get:gz.msgs.Scene.fog)
600  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Fog*>(
602 }
603 inline ::gz::msgs::Fog* Scene::release_fog() {
604  // @@protoc_insertion_point(field_release:gz.msgs.Scene.fog)
605 
606  ::gz::msgs::Fog* temp = fog_;
607  fog_ = NULL;
608  return temp;
609 }
610 inline ::gz::msgs::Fog* Scene::mutable_fog() {
611 
612  if (fog_ == NULL) {
613  auto* p = CreateMaybeMessage<::gz::msgs::Fog>(GetArenaNoVirtual());
614  fog_ = p;
615  }
616  // @@protoc_insertion_point(field_mutable:gz.msgs.Scene.fog)
617  return fog_;
618 }
620  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
621  if (message_arena == NULL) {
622  delete reinterpret_cast< ::google::protobuf::MessageLite*>(fog_);
623  }
624  if (fog) {
625  ::google::protobuf::Arena* submessage_arena = NULL;
626  if (message_arena != submessage_arena) {
627  fog = ::google::protobuf::internal::GetOwnedMessage(
628  message_arena, fog, submessage_arena);
629  }
630 
631  } else {
632 
633  }
634  fog_ = fog;
635  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Scene.fog)
636 }
637 
638 // bool grid = 8;
639 inline void Scene::clear_grid() {
640  grid_ = false;
641 }
642 inline bool Scene::grid() const {
643  // @@protoc_insertion_point(field_get:gz.msgs.Scene.grid)
644  return grid_;
645 }
646 inline void Scene::set_grid(bool value) {
647 
648  grid_ = value;
649  // @@protoc_insertion_point(field_set:gz.msgs.Scene.grid)
650 }
651 
652 // repeated .gz.msgs.Model model = 9;
653 inline int Scene::model_size() const {
654  return model_.size();
655 }
656 inline ::gz::msgs::Model* Scene::mutable_model(int index) {
657  // @@protoc_insertion_point(field_mutable:gz.msgs.Scene.model)
658  return model_.Mutable(index);
659 }
660 inline ::google::protobuf::RepeatedPtrField< ::gz::msgs::Model >*
662  // @@protoc_insertion_point(field_mutable_list:gz.msgs.Scene.model)
663  return &model_;
664 }
665 inline const ::gz::msgs::Model& Scene::model(int index) const {
666  // @@protoc_insertion_point(field_get:gz.msgs.Scene.model)
667  return model_.Get(index);
668 }
669 inline ::gz::msgs::Model* Scene::add_model() {
670  // @@protoc_insertion_point(field_add:gz.msgs.Scene.model)
671  return model_.Add();
672 }
673 inline const ::google::protobuf::RepeatedPtrField< ::gz::msgs::Model >&
674 Scene::model() const {
675  // @@protoc_insertion_point(field_list:gz.msgs.Scene.model)
676  return model_;
677 }
678 
679 // repeated .gz.msgs.Light light = 10;
680 inline int Scene::light_size() const {
681  return light_.size();
682 }
683 inline ::gz::msgs::Light* Scene::mutable_light(int index) {
684  // @@protoc_insertion_point(field_mutable:gz.msgs.Scene.light)
685  return light_.Mutable(index);
686 }
687 inline ::google::protobuf::RepeatedPtrField< ::gz::msgs::Light >*
689  // @@protoc_insertion_point(field_mutable_list:gz.msgs.Scene.light)
690  return &light_;
691 }
692 inline const ::gz::msgs::Light& Scene::light(int index) const {
693  // @@protoc_insertion_point(field_get:gz.msgs.Scene.light)
694  return light_.Get(index);
695 }
696 inline ::gz::msgs::Light* Scene::add_light() {
697  // @@protoc_insertion_point(field_add:gz.msgs.Scene.light)
698  return light_.Add();
699 }
700 inline const ::google::protobuf::RepeatedPtrField< ::gz::msgs::Light >&
701 Scene::light() const {
702  // @@protoc_insertion_point(field_list:gz.msgs.Scene.light)
703  return light_;
704 }
705 
706 // repeated .gz.msgs.Joint joint = 11;
707 inline int Scene::joint_size() const {
708  return joint_.size();
709 }
710 inline ::gz::msgs::Joint* Scene::mutable_joint(int index) {
711  // @@protoc_insertion_point(field_mutable:gz.msgs.Scene.joint)
712  return joint_.Mutable(index);
713 }
714 inline ::google::protobuf::RepeatedPtrField< ::gz::msgs::Joint >*
716  // @@protoc_insertion_point(field_mutable_list:gz.msgs.Scene.joint)
717  return &joint_;
718 }
719 inline const ::gz::msgs::Joint& Scene::joint(int index) const {
720  // @@protoc_insertion_point(field_get:gz.msgs.Scene.joint)
721  return joint_.Get(index);
722 }
723 inline ::gz::msgs::Joint* Scene::add_joint() {
724  // @@protoc_insertion_point(field_add:gz.msgs.Scene.joint)
725  return joint_.Add();
726 }
727 inline const ::google::protobuf::RepeatedPtrField< ::gz::msgs::Joint >&
728 Scene::joint() const {
729  // @@protoc_insertion_point(field_list:gz.msgs.Scene.joint)
730  return joint_;
731 }
732 
733 // bool origin_visual = 12;
735  origin_visual_ = false;
736 }
737 inline bool Scene::origin_visual() const {
738  // @@protoc_insertion_point(field_get:gz.msgs.Scene.origin_visual)
739  return origin_visual_;
740 }
741 inline void Scene::set_origin_visual(bool value) {
742 
743  origin_visual_ = value;
744  // @@protoc_insertion_point(field_set:gz.msgs.Scene.origin_visual)
745 }
746 
747 // .gz.msgs.Material.Script shadow_caster_material_script = 13;
749  return this != internal_default_instance() && shadow_caster_material_script_ != NULL;
750 }
751 inline const ::gz::msgs::Material_Script& Scene::_internal_shadow_caster_material_script() const {
752  return *shadow_caster_material_script_;
753 }
754 inline const ::gz::msgs::Material_Script& Scene::shadow_caster_material_script() const {
755  const ::gz::msgs::Material_Script* p = shadow_caster_material_script_;
756  // @@protoc_insertion_point(field_get:gz.msgs.Scene.shadow_caster_material_script)
757  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Material_Script*>(
759 }
760 inline ::gz::msgs::Material_Script* Scene::release_shadow_caster_material_script() {
761  // @@protoc_insertion_point(field_release:gz.msgs.Scene.shadow_caster_material_script)
762 
763  ::gz::msgs::Material_Script* temp = shadow_caster_material_script_;
764  shadow_caster_material_script_ = NULL;
765  return temp;
766 }
767 inline ::gz::msgs::Material_Script* Scene::mutable_shadow_caster_material_script() {
768 
769  if (shadow_caster_material_script_ == NULL) {
770  auto* p = CreateMaybeMessage<::gz::msgs::Material_Script>(GetArenaNoVirtual());
771  shadow_caster_material_script_ = p;
772  }
773  // @@protoc_insertion_point(field_mutable:gz.msgs.Scene.shadow_caster_material_script)
774  return shadow_caster_material_script_;
775 }
777  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
778  if (message_arena == NULL) {
779  delete reinterpret_cast< ::google::protobuf::MessageLite*>(shadow_caster_material_script_);
780  }
782  ::google::protobuf::Arena* submessage_arena = NULL;
783  if (message_arena != submessage_arena) {
784  shadow_caster_material_script = ::google::protobuf::internal::GetOwnedMessage(
785  message_arena, shadow_caster_material_script, submessage_arena);
786  }
787 
788  } else {
789 
790  }
791  shadow_caster_material_script_ = shadow_caster_material_script;
792  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Scene.shadow_caster_material_script)
793 }
794 
795 #ifdef __GNUC__
796  #pragma GCC diagnostic pop
797 #endif // __GNUC__
798 
799 // @@protoc_insertion_point(namespace_scope)
800 
801 } // namespace msgs
802 } // namespace gz
803 
804 // @@protoc_insertion_point(global_scope)
805 
806 #endif // PROTOBUF_INCLUDED_gz_2fmsgs_2fscene_2eproto