Gazebo Msgs

API Reference

9.5.1
material.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: gz/msgs/material.proto
3 
4 #ifndef PROTOBUF_INCLUDED_gz_2fmsgs_2fmaterial_2eproto
5 #define PROTOBUF_INCLUDED_gz_2fmsgs_2fmaterial_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 "gz/msgs/color.pb.h"
35 #include "gz/msgs/header.pb.h"
36 // @@protoc_insertion_point(includes)
37 #define PROTOBUF_INTERNAL_EXPORT_protobuf_gz_2fmsgs_2fmaterial_2eproto GZ_MSGS_VISIBLE
38 
40 // Internal implementation detail -- do not use these members.
41 struct GZ_MSGS_VISIBLE TableStruct {
42  static const ::google::protobuf::internal::ParseTableField entries[];
43  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
44  static const ::google::protobuf::internal::ParseTable schema[3];
45  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
46  static const ::google::protobuf::internal::SerializationTable serialization_table[];
47  static const ::google::protobuf::uint32 offsets[];
48 };
49 void GZ_MSGS_VISIBLE AddDescriptors();
50 } // namespace protobuf_gz_2fmsgs_2fmaterial_2eproto
51 namespace gz {
52 namespace msgs {
53 class Material;
54 class MaterialDefaultTypeInternal;
55 GZ_MSGS_VISIBLE extern MaterialDefaultTypeInternal _Material_default_instance_;
56 class Material_PBR;
57 class Material_PBRDefaultTypeInternal;
58 GZ_MSGS_VISIBLE extern Material_PBRDefaultTypeInternal _Material_PBR_default_instance_;
59 class Material_Script;
60 class Material_ScriptDefaultTypeInternal;
61 GZ_MSGS_VISIBLE extern Material_ScriptDefaultTypeInternal _Material_Script_default_instance_;
62 } // namespace msgs
63 } // namespace gz
64 namespace google {
65 namespace protobuf {
66 template<> GZ_MSGS_VISIBLE ::gz::msgs::Material* Arena::CreateMaybeMessage<::gz::msgs::Material>(Arena*);
67 template<> GZ_MSGS_VISIBLE ::gz::msgs::Material_PBR* Arena::CreateMaybeMessage<::gz::msgs::Material_PBR>(Arena*);
68 template<> GZ_MSGS_VISIBLE ::gz::msgs::Material_Script* Arena::CreateMaybeMessage<::gz::msgs::Material_Script>(Arena*);
69 } // namespace protobuf
70 } // namespace google
71 namespace gz {
72 namespace msgs {
73 
80 };
81 GZ_MSGS_VISIBLE bool Material_PBR_WorkflowType_IsValid(int value);
85 
86 GZ_MSGS_VISIBLE const ::google::protobuf::EnumDescriptor* Material_PBR_WorkflowType_descriptor();
87 inline const ::std::string& Material_PBR_WorkflowType_Name(Material_PBR_WorkflowType value) {
88  return ::google::protobuf::internal::NameOfEnum(
90 }
92  const ::std::string& name, Material_PBR_WorkflowType* value) {
93  return ::google::protobuf::internal::ParseNamedEnum<Material_PBR_WorkflowType>(
95 }
103 };
104 GZ_MSGS_VISIBLE bool Material_ShaderType_IsValid(int value);
108 
109 GZ_MSGS_VISIBLE const ::google::protobuf::EnumDescriptor* Material_ShaderType_descriptor();
110 inline const ::std::string& Material_ShaderType_Name(Material_ShaderType value) {
111  return ::google::protobuf::internal::NameOfEnum(
113 }
115  const ::std::string& name, Material_ShaderType* value) {
116  return ::google::protobuf::internal::ParseNamedEnum<Material_ShaderType>(
117  Material_ShaderType_descriptor(), name, value);
118 }
119 // ===================================================================
120 
121 class GZ_MSGS_VISIBLE Material_Script : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.Material.Script) */ {
122  public:
123  Material_Script();
124  virtual ~Material_Script();
125 
126  Material_Script(const Material_Script& from);
127 
129  CopyFrom(from);
130  return *this;
131  }
132  #if LANG_CXX11
133  Material_Script(Material_Script&& from) noexcept
134  : Material_Script() {
135  *this = ::std::move(from);
136  }
137 
138  inline Material_Script& operator=(Material_Script&& from) noexcept {
139  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
140  if (this != &from) InternalSwap(&from);
141  } else {
142  CopyFrom(from);
143  }
144  return *this;
145  }
146  #endif
147  static const ::google::protobuf::Descriptor* descriptor();
148  static const Material_Script& default_instance();
149 
150  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
152  return reinterpret_cast<const Material_Script*>(
154  }
155  static constexpr int kIndexInFileMessages =
156  0;
157 
158  void Swap(Material_Script* other);
159  friend void swap(Material_Script& a, Material_Script& b) {
160  a.Swap(&b);
161  }
162 
163  // implements Message ----------------------------------------------
164 
165  inline Material_Script* New() const final {
166  return CreateMaybeMessage<Material_Script>(NULL);
167  }
168 
169  Material_Script* New(::google::protobuf::Arena* arena) const final {
170  return CreateMaybeMessage<Material_Script>(arena);
171  }
172  void CopyFrom(const ::google::protobuf::Message& from) final;
173  void MergeFrom(const ::google::protobuf::Message& from) final;
174  void CopyFrom(const Material_Script& from);
175  void MergeFrom(const Material_Script& from);
176  void Clear() final;
177  bool IsInitialized() const final;
178 
179  size_t ByteSizeLong() const final;
180  bool MergePartialFromCodedStream(
181  ::google::protobuf::io::CodedInputStream* input) final;
182  void SerializeWithCachedSizes(
183  ::google::protobuf::io::CodedOutputStream* output) const final;
184  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
185  bool deterministic, ::google::protobuf::uint8* target) const final;
186  int GetCachedSize() const final { return _cached_size_.Get(); }
187 
188  private:
189  void SharedCtor();
190  void SharedDtor();
191  void SetCachedSize(int size) const final;
192  void InternalSwap(Material_Script* other);
193  private:
194  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
195  return NULL;
196  }
197  inline void* MaybeArenaPtr() const {
198  return NULL;
199  }
200  public:
201 
202  ::google::protobuf::Metadata GetMetadata() const final;
203 
204  // nested types ----------------------------------------------------
205 
206  // accessors -------------------------------------------------------
207 
208  // repeated string uri = 1;
209  int uri_size() const;
210  void clear_uri();
211  static const int kUriFieldNumber = 1;
212  const ::std::string& uri(int index) const;
213  ::std::string* mutable_uri(int index);
214  void set_uri(int index, const ::std::string& value);
215  #if LANG_CXX11
216  void set_uri(int index, ::std::string&& value);
217  #endif
218  void set_uri(int index, const char* value);
219  void set_uri(int index, const char* value, size_t size);
220  ::std::string* add_uri();
221  void add_uri(const ::std::string& value);
222  #if LANG_CXX11
223  void add_uri(::std::string&& value);
224  #endif
225  void add_uri(const char* value);
226  void add_uri(const char* value, size_t size);
227  const ::google::protobuf::RepeatedPtrField< ::std::string>& uri() const;
228  ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_uri();
229 
230  // string name = 2;
231  void clear_name();
232  static const int kNameFieldNumber = 2;
233  const ::std::string& name() const;
234  void set_name(const ::std::string& value);
235  #if LANG_CXX11
236  void set_name(::std::string&& value);
237  #endif
238  void set_name(const char* value);
239  void set_name(const char* value, size_t size);
240  ::std::string* mutable_name();
241  ::std::string* release_name();
242  void set_allocated_name(::std::string* name);
243 
244  // @@protoc_insertion_point(class_scope:gz.msgs.Material.Script)
245  private:
246 
247  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
248  ::google::protobuf::RepeatedPtrField< ::std::string> uri_;
249  ::google::protobuf::internal::ArenaStringPtr name_;
250  mutable ::google::protobuf::internal::CachedSize _cached_size_;
251  friend struct ::protobuf_gz_2fmsgs_2fmaterial_2eproto::TableStruct;
252 };
253 // -------------------------------------------------------------------
254 
255 class GZ_MSGS_VISIBLE Material_PBR : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.Material.PBR) */ {
256  public:
257  Material_PBR();
258  virtual ~Material_PBR();
259 
260  Material_PBR(const Material_PBR& from);
261 
262  inline Material_PBR& operator=(const Material_PBR& from) {
263  CopyFrom(from);
264  return *this;
265  }
266  #if LANG_CXX11
267  Material_PBR(Material_PBR&& from) noexcept
268  : Material_PBR() {
269  *this = ::std::move(from);
270  }
271 
272  inline Material_PBR& operator=(Material_PBR&& from) noexcept {
273  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
274  if (this != &from) InternalSwap(&from);
275  } else {
276  CopyFrom(from);
277  }
278  return *this;
279  }
280  #endif
281  static const ::google::protobuf::Descriptor* descriptor();
282  static const Material_PBR& default_instance();
283 
284  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
285  static inline const Material_PBR* internal_default_instance() {
286  return reinterpret_cast<const Material_PBR*>(
288  }
289  static constexpr int kIndexInFileMessages =
290  1;
291 
292  void Swap(Material_PBR* other);
293  friend void swap(Material_PBR& a, Material_PBR& b) {
294  a.Swap(&b);
295  }
296 
297  // implements Message ----------------------------------------------
298 
299  inline Material_PBR* New() const final {
300  return CreateMaybeMessage<Material_PBR>(NULL);
301  }
302 
303  Material_PBR* New(::google::protobuf::Arena* arena) const final {
304  return CreateMaybeMessage<Material_PBR>(arena);
305  }
306  void CopyFrom(const ::google::protobuf::Message& from) final;
307  void MergeFrom(const ::google::protobuf::Message& from) final;
308  void CopyFrom(const Material_PBR& from);
309  void MergeFrom(const Material_PBR& from);
310  void Clear() final;
311  bool IsInitialized() const final;
312 
313  size_t ByteSizeLong() const final;
314  bool MergePartialFromCodedStream(
315  ::google::protobuf::io::CodedInputStream* input) final;
316  void SerializeWithCachedSizes(
317  ::google::protobuf::io::CodedOutputStream* output) const final;
318  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
319  bool deterministic, ::google::protobuf::uint8* target) const final;
320  int GetCachedSize() const final { return _cached_size_.Get(); }
321 
322  private:
323  void SharedCtor();
324  void SharedDtor();
325  void SetCachedSize(int size) const final;
326  void InternalSwap(Material_PBR* other);
327  private:
328  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
329  return NULL;
330  }
331  inline void* MaybeArenaPtr() const {
332  return NULL;
333  }
334  public:
335 
336  ::google::protobuf::Metadata GetMetadata() const final;
337 
338  // nested types ----------------------------------------------------
339 
341  static const WorkflowType NONE =
343  static const WorkflowType METAL =
345  static const WorkflowType SPECULAR =
347  static inline bool WorkflowType_IsValid(int value) {
348  return Material_PBR_WorkflowType_IsValid(value);
349  }
350  static const WorkflowType WorkflowType_MIN =
352  static const WorkflowType WorkflowType_MAX =
354  static const int WorkflowType_ARRAYSIZE =
356  static inline const ::google::protobuf::EnumDescriptor*
359  }
360  static inline const ::std::string& WorkflowType_Name(WorkflowType value) {
361  return Material_PBR_WorkflowType_Name(value);
362  }
363  static inline bool WorkflowType_Parse(const ::std::string& name,
364  WorkflowType* value) {
365  return Material_PBR_WorkflowType_Parse(name, value);
366  }
367 
368  // accessors -------------------------------------------------------
369 
370  // string albedo_map = 2;
371  void clear_albedo_map();
372  static const int kAlbedoMapFieldNumber = 2;
373  const ::std::string& albedo_map() const;
374  void set_albedo_map(const ::std::string& value);
375  #if LANG_CXX11
376  void set_albedo_map(::std::string&& value);
377  #endif
378  void set_albedo_map(const char* value);
379  void set_albedo_map(const char* value, size_t size);
380  ::std::string* mutable_albedo_map();
381  ::std::string* release_albedo_map();
382  void set_allocated_albedo_map(::std::string* albedo_map);
383 
384  // string normal_map = 3;
385  void clear_normal_map();
386  static const int kNormalMapFieldNumber = 3;
387  const ::std::string& normal_map() const;
388  void set_normal_map(const ::std::string& value);
389  #if LANG_CXX11
390  void set_normal_map(::std::string&& value);
391  #endif
392  void set_normal_map(const char* value);
393  void set_normal_map(const char* value, size_t size);
394  ::std::string* mutable_normal_map();
395  ::std::string* release_normal_map();
396  void set_allocated_normal_map(::std::string* normal_map);
397 
398  // string metalness_map = 5;
399  void clear_metalness_map();
400  static const int kMetalnessMapFieldNumber = 5;
401  const ::std::string& metalness_map() const;
402  void set_metalness_map(const ::std::string& value);
403  #if LANG_CXX11
404  void set_metalness_map(::std::string&& value);
405  #endif
406  void set_metalness_map(const char* value);
407  void set_metalness_map(const char* value, size_t size);
408  ::std::string* mutable_metalness_map();
409  ::std::string* release_metalness_map();
410  void set_allocated_metalness_map(::std::string* metalness_map);
411 
412  // string roughness_map = 7;
413  void clear_roughness_map();
414  static const int kRoughnessMapFieldNumber = 7;
415  const ::std::string& roughness_map() const;
416  void set_roughness_map(const ::std::string& value);
417  #if LANG_CXX11
418  void set_roughness_map(::std::string&& value);
419  #endif
420  void set_roughness_map(const char* value);
421  void set_roughness_map(const char* value, size_t size);
422  ::std::string* mutable_roughness_map();
423  ::std::string* release_roughness_map();
424  void set_allocated_roughness_map(::std::string* roughness_map);
425 
426  // string glossiness_map = 9;
427  void clear_glossiness_map();
428  static const int kGlossinessMapFieldNumber = 9;
429  const ::std::string& glossiness_map() const;
430  void set_glossiness_map(const ::std::string& value);
431  #if LANG_CXX11
432  void set_glossiness_map(::std::string&& value);
433  #endif
434  void set_glossiness_map(const char* value);
435  void set_glossiness_map(const char* value, size_t size);
436  ::std::string* mutable_glossiness_map();
437  ::std::string* release_glossiness_map();
438  void set_allocated_glossiness_map(::std::string* glossiness_map);
439 
440  // string specular_map = 10;
441  void clear_specular_map();
442  static const int kSpecularMapFieldNumber = 10;
443  const ::std::string& specular_map() const;
444  void set_specular_map(const ::std::string& value);
445  #if LANG_CXX11
446  void set_specular_map(::std::string&& value);
447  #endif
448  void set_specular_map(const char* value);
449  void set_specular_map(const char* value, size_t size);
450  ::std::string* mutable_specular_map();
451  ::std::string* release_specular_map();
452  void set_allocated_specular_map(::std::string* specular_map);
453 
454  // string environment_map = 11;
455  void clear_environment_map();
456  static const int kEnvironmentMapFieldNumber = 11;
457  const ::std::string& environment_map() const;
458  void set_environment_map(const ::std::string& value);
459  #if LANG_CXX11
460  void set_environment_map(::std::string&& value);
461  #endif
462  void set_environment_map(const char* value);
463  void set_environment_map(const char* value, size_t size);
464  ::std::string* mutable_environment_map();
465  ::std::string* release_environment_map();
466  void set_allocated_environment_map(::std::string* environment_map);
467 
468  // string ambient_occlusion_map = 12;
469  void clear_ambient_occlusion_map();
470  static const int kAmbientOcclusionMapFieldNumber = 12;
471  const ::std::string& ambient_occlusion_map() const;
472  void set_ambient_occlusion_map(const ::std::string& value);
473  #if LANG_CXX11
474  void set_ambient_occlusion_map(::std::string&& value);
475  #endif
476  void set_ambient_occlusion_map(const char* value);
477  void set_ambient_occlusion_map(const char* value, size_t size);
478  ::std::string* mutable_ambient_occlusion_map();
479  ::std::string* release_ambient_occlusion_map();
480  void set_allocated_ambient_occlusion_map(::std::string* ambient_occlusion_map);
481 
482  // string emissive_map = 13;
483  void clear_emissive_map();
484  static const int kEmissiveMapFieldNumber = 13;
485  const ::std::string& emissive_map() const;
486  void set_emissive_map(const ::std::string& value);
487  #if LANG_CXX11
488  void set_emissive_map(::std::string&& value);
489  #endif
490  void set_emissive_map(const char* value);
491  void set_emissive_map(const char* value, size_t size);
492  ::std::string* mutable_emissive_map();
493  ::std::string* release_emissive_map();
494  void set_allocated_emissive_map(::std::string* emissive_map);
495 
496  // string light_map = 14;
497  void clear_light_map();
498  static const int kLightMapFieldNumber = 14;
499  const ::std::string& light_map() const;
500  void set_light_map(const ::std::string& value);
501  #if LANG_CXX11
502  void set_light_map(::std::string&& value);
503  #endif
504  void set_light_map(const char* value);
505  void set_light_map(const char* value, size_t size);
506  ::std::string* mutable_light_map();
507  ::std::string* release_light_map();
508  void set_allocated_light_map(::std::string* light_map);
509 
510  // double metalness = 4;
511  void clear_metalness();
512  static const int kMetalnessFieldNumber = 4;
513  double metalness() const;
514  void set_metalness(double value);
515 
516  // double roughness = 6;
517  void clear_roughness();
518  static const int kRoughnessFieldNumber = 6;
519  double roughness() const;
520  void set_roughness(double value);
521 
522  // double glossiness = 8;
523  void clear_glossiness();
524  static const int kGlossinessFieldNumber = 8;
525  double glossiness() const;
526  void set_glossiness(double value);
527 
528  // .gz.msgs.Material.PBR.WorkflowType type = 1;
529  void clear_type();
530  static const int kTypeFieldNumber = 1;
532  void set_type(::gz::msgs::Material_PBR_WorkflowType value);
533 
534  // uint32 light_map_texcoord_set = 15;
535  void clear_light_map_texcoord_set();
536  static const int kLightMapTexcoordSetFieldNumber = 15;
537  ::google::protobuf::uint32 light_map_texcoord_set() const;
538  void set_light_map_texcoord_set(::google::protobuf::uint32 value);
539 
540  // @@protoc_insertion_point(class_scope:gz.msgs.Material.PBR)
541  private:
542 
543  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
544  ::google::protobuf::internal::ArenaStringPtr albedo_map_;
545  ::google::protobuf::internal::ArenaStringPtr normal_map_;
546  ::google::protobuf::internal::ArenaStringPtr metalness_map_;
547  ::google::protobuf::internal::ArenaStringPtr roughness_map_;
548  ::google::protobuf::internal::ArenaStringPtr glossiness_map_;
549  ::google::protobuf::internal::ArenaStringPtr specular_map_;
550  ::google::protobuf::internal::ArenaStringPtr environment_map_;
551  ::google::protobuf::internal::ArenaStringPtr ambient_occlusion_map_;
552  ::google::protobuf::internal::ArenaStringPtr emissive_map_;
553  ::google::protobuf::internal::ArenaStringPtr light_map_;
554  double metalness_;
555  double roughness_;
556  double glossiness_;
557  int type_;
558  ::google::protobuf::uint32 light_map_texcoord_set_;
559  mutable ::google::protobuf::internal::CachedSize _cached_size_;
560  friend struct ::protobuf_gz_2fmsgs_2fmaterial_2eproto::TableStruct;
561 };
562 // -------------------------------------------------------------------
563 
564 class GZ_MSGS_VISIBLE Material : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:gz.msgs.Material) */ {
565  public:
566  Material();
567  virtual ~Material();
568 
569  Material(const Material& from);
570 
571  inline Material& operator=(const Material& from) {
572  CopyFrom(from);
573  return *this;
574  }
575  #if LANG_CXX11
576  Material(Material&& from) noexcept
577  : Material() {
578  *this = ::std::move(from);
579  }
580 
581  inline Material& operator=(Material&& from) noexcept {
582  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
583  if (this != &from) InternalSwap(&from);
584  } else {
585  CopyFrom(from);
586  }
587  return *this;
588  }
589  #endif
590  static const ::google::protobuf::Descriptor* descriptor();
591  static const Material& default_instance();
592 
593  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
594  static inline const Material* internal_default_instance() {
595  return reinterpret_cast<const Material*>(
597  }
598  static constexpr int kIndexInFileMessages =
599  2;
600 
601  void Swap(Material* other);
602  friend void swap(Material& a, Material& b) {
603  a.Swap(&b);
604  }
605 
606  // implements Message ----------------------------------------------
607 
608  inline Material* New() const final {
609  return CreateMaybeMessage<Material>(NULL);
610  }
611 
612  Material* New(::google::protobuf::Arena* arena) const final {
613  return CreateMaybeMessage<Material>(arena);
614  }
615  void CopyFrom(const ::google::protobuf::Message& from) final;
616  void MergeFrom(const ::google::protobuf::Message& from) final;
617  void CopyFrom(const Material& from);
618  void MergeFrom(const Material& from);
619  void Clear() final;
620  bool IsInitialized() const final;
621 
622  size_t ByteSizeLong() const final;
623  bool MergePartialFromCodedStream(
624  ::google::protobuf::io::CodedInputStream* input) final;
625  void SerializeWithCachedSizes(
626  ::google::protobuf::io::CodedOutputStream* output) const final;
627  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
628  bool deterministic, ::google::protobuf::uint8* target) const final;
629  int GetCachedSize() const final { return _cached_size_.Get(); }
630 
631  private:
632  void SharedCtor();
633  void SharedDtor();
634  void SetCachedSize(int size) const final;
635  void InternalSwap(Material* other);
636  private:
637  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
638  return NULL;
639  }
640  inline void* MaybeArenaPtr() const {
641  return NULL;
642  }
643  public:
644 
645  ::google::protobuf::Metadata GetMetadata() const final;
646 
647  // nested types ----------------------------------------------------
648 
650  typedef Material_PBR PBR;
651 
653  static const ShaderType VERTEX =
655  static const ShaderType PIXEL =
657  static const ShaderType NORMAL_MAP_OBJECT_SPACE =
659  static const ShaderType NORMAL_MAP_TANGENT_SPACE =
661  static inline bool ShaderType_IsValid(int value) {
662  return Material_ShaderType_IsValid(value);
663  }
664  static const ShaderType ShaderType_MIN =
666  static const ShaderType ShaderType_MAX =
668  static const int ShaderType_ARRAYSIZE =
670  static inline const ::google::protobuf::EnumDescriptor*
673  }
674  static inline const ::std::string& ShaderType_Name(ShaderType value) {
675  return Material_ShaderType_Name(value);
676  }
677  static inline bool ShaderType_Parse(const ::std::string& name,
678  ShaderType* value) {
679  return Material_ShaderType_Parse(name, value);
680  }
681 
682  // accessors -------------------------------------------------------
683 
684  // string normal_map = 4;
685  void clear_normal_map();
686  static const int kNormalMapFieldNumber = 4;
687  const ::std::string& normal_map() const;
688  void set_normal_map(const ::std::string& value);
689  #if LANG_CXX11
690  void set_normal_map(::std::string&& value);
691  #endif
692  void set_normal_map(const char* value);
693  void set_normal_map(const char* value, size_t size);
694  ::std::string* mutable_normal_map();
695  ::std::string* release_normal_map();
696  void set_allocated_normal_map(::std::string* normal_map);
697 
698  // .gz.msgs.Header header = 1;
699  bool has_header() const;
700  void clear_header();
701  static const int kHeaderFieldNumber = 1;
702  private:
703  const ::gz::msgs::Header& _internal_header() const;
704  public:
705  const ::gz::msgs::Header& header() const;
706  ::gz::msgs::Header* release_header();
707  ::gz::msgs::Header* mutable_header();
708  void set_allocated_header(::gz::msgs::Header* header);
709 
710  // .gz.msgs.Material.Script script = 2;
711  bool has_script() const;
712  void clear_script();
713  static const int kScriptFieldNumber = 2;
714  private:
715  const ::gz::msgs::Material_Script& _internal_script() const;
716  public:
717  const ::gz::msgs::Material_Script& script() const;
718  ::gz::msgs::Material_Script* release_script();
719  ::gz::msgs::Material_Script* mutable_script();
720  void set_allocated_script(::gz::msgs::Material_Script* script);
721 
722  // .gz.msgs.Color ambient = 5;
723  bool has_ambient() const;
724  void clear_ambient();
725  static const int kAmbientFieldNumber = 5;
726  private:
727  const ::gz::msgs::Color& _internal_ambient() const;
728  public:
729  const ::gz::msgs::Color& ambient() const;
730  ::gz::msgs::Color* release_ambient();
731  ::gz::msgs::Color* mutable_ambient();
732  void set_allocated_ambient(::gz::msgs::Color* ambient);
733 
734  // .gz.msgs.Color diffuse = 6;
735  bool has_diffuse() const;
736  void clear_diffuse();
737  static const int kDiffuseFieldNumber = 6;
738  private:
739  const ::gz::msgs::Color& _internal_diffuse() const;
740  public:
741  const ::gz::msgs::Color& diffuse() const;
742  ::gz::msgs::Color* release_diffuse();
743  ::gz::msgs::Color* mutable_diffuse();
744  void set_allocated_diffuse(::gz::msgs::Color* diffuse);
745 
746  // .gz.msgs.Color specular = 7;
747  bool has_specular() const;
748  void clear_specular();
749  static const int kSpecularFieldNumber = 7;
750  private:
751  const ::gz::msgs::Color& _internal_specular() const;
752  public:
753  const ::gz::msgs::Color& specular() const;
754  ::gz::msgs::Color* release_specular();
755  ::gz::msgs::Color* mutable_specular();
756  void set_allocated_specular(::gz::msgs::Color* specular);
757 
758  // .gz.msgs.Color emissive = 8;
759  bool has_emissive() const;
760  void clear_emissive();
761  static const int kEmissiveFieldNumber = 8;
762  private:
763  const ::gz::msgs::Color& _internal_emissive() const;
764  public:
765  const ::gz::msgs::Color& emissive() const;
766  ::gz::msgs::Color* release_emissive();
767  ::gz::msgs::Color* mutable_emissive();
768  void set_allocated_emissive(::gz::msgs::Color* emissive);
769 
770  // .gz.msgs.Material.PBR pbr = 10;
771  bool has_pbr() const;
772  void clear_pbr();
773  static const int kPbrFieldNumber = 10;
774  private:
775  const ::gz::msgs::Material_PBR& _internal_pbr() const;
776  public:
777  const ::gz::msgs::Material_PBR& pbr() const;
778  ::gz::msgs::Material_PBR* release_pbr();
779  ::gz::msgs::Material_PBR* mutable_pbr();
780  void set_allocated_pbr(::gz::msgs::Material_PBR* pbr);
781 
782  // .gz.msgs.Material.ShaderType shader_type = 3;
783  void clear_shader_type();
784  static const int kShaderTypeFieldNumber = 3;
785  ::gz::msgs::Material_ShaderType shader_type() const;
786  void set_shader_type(::gz::msgs::Material_ShaderType value);
787 
788  // bool lighting = 9;
789  void clear_lighting();
790  static const int kLightingFieldNumber = 9;
791  bool lighting() const;
792  void set_lighting(bool value);
793 
794  // bool double_sided = 12;
795  void clear_double_sided();
796  static const int kDoubleSidedFieldNumber = 12;
797  bool double_sided() const;
798  void set_double_sided(bool value);
799 
800  // double render_order = 11;
801  void clear_render_order();
802  static const int kRenderOrderFieldNumber = 11;
803  double render_order() const;
804  void set_render_order(double value);
805 
806  // double shininess = 13;
807  void clear_shininess();
808  static const int kShininessFieldNumber = 13;
809  double shininess() const;
810  void set_shininess(double value);
811 
812  // @@protoc_insertion_point(class_scope:gz.msgs.Material)
813  private:
814 
815  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
816  ::google::protobuf::internal::ArenaStringPtr normal_map_;
817  ::gz::msgs::Header* header_;
819  ::gz::msgs::Color* ambient_;
820  ::gz::msgs::Color* diffuse_;
821  ::gz::msgs::Color* specular_;
822  ::gz::msgs::Color* emissive_;
824  int shader_type_;
825  bool lighting_;
826  bool double_sided_;
827  double render_order_;
828  double shininess_;
829  mutable ::google::protobuf::internal::CachedSize _cached_size_;
830  friend struct ::protobuf_gz_2fmsgs_2fmaterial_2eproto::TableStruct;
831 };
832 // ===================================================================
833 
834 
835 // ===================================================================
836 
837 #ifdef __GNUC__
838  #pragma GCC diagnostic push
839  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
840 #endif // __GNUC__
841 // Material_Script
842 
843 // repeated string uri = 1;
844 inline int Material_Script::uri_size() const {
845  return uri_.size();
846 }
848  uri_.Clear();
849 }
850 inline const ::std::string& Material_Script::uri(int index) const {
851  // @@protoc_insertion_point(field_get:gz.msgs.Material.Script.uri)
852  return uri_.Get(index);
853 }
854 inline ::std::string* Material_Script::mutable_uri(int index) {
855  // @@protoc_insertion_point(field_mutable:gz.msgs.Material.Script.uri)
856  return uri_.Mutable(index);
857 }
858 inline void Material_Script::set_uri(int index, const ::std::string& value) {
859  // @@protoc_insertion_point(field_set:gz.msgs.Material.Script.uri)
860  uri_.Mutable(index)->assign(value);
861 }
862 #if LANG_CXX11
863 inline void Material_Script::set_uri(int index, ::std::string&& value) {
864  // @@protoc_insertion_point(field_set:gz.msgs.Material.Script.uri)
865  uri_.Mutable(index)->assign(std::move(value));
866 }
867 #endif
868 inline void Material_Script::set_uri(int index, const char* value) {
869  GOOGLE_DCHECK(value != NULL);
870  uri_.Mutable(index)->assign(value);
871  // @@protoc_insertion_point(field_set_char:gz.msgs.Material.Script.uri)
872 }
873 inline void Material_Script::set_uri(int index, const char* value, size_t size) {
874  uri_.Mutable(index)->assign(
875  reinterpret_cast<const char*>(value), size);
876  // @@protoc_insertion_point(field_set_pointer:gz.msgs.Material.Script.uri)
877 }
878 inline ::std::string* Material_Script::add_uri() {
879  // @@protoc_insertion_point(field_add_mutable:gz.msgs.Material.Script.uri)
880  return uri_.Add();
881 }
882 inline void Material_Script::add_uri(const ::std::string& value) {
883  uri_.Add()->assign(value);
884  // @@protoc_insertion_point(field_add:gz.msgs.Material.Script.uri)
885 }
886 #if LANG_CXX11
887 inline void Material_Script::add_uri(::std::string&& value) {
888  uri_.Add(std::move(value));
889  // @@protoc_insertion_point(field_add:gz.msgs.Material.Script.uri)
890 }
891 #endif
892 inline void Material_Script::add_uri(const char* value) {
893  GOOGLE_DCHECK(value != NULL);
894  uri_.Add()->assign(value);
895  // @@protoc_insertion_point(field_add_char:gz.msgs.Material.Script.uri)
896 }
897 inline void Material_Script::add_uri(const char* value, size_t size) {
898  uri_.Add()->assign(reinterpret_cast<const char*>(value), size);
899  // @@protoc_insertion_point(field_add_pointer:gz.msgs.Material.Script.uri)
900 }
901 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
903  // @@protoc_insertion_point(field_list:gz.msgs.Material.Script.uri)
904  return uri_;
905 }
906 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
908  // @@protoc_insertion_point(field_mutable_list:gz.msgs.Material.Script.uri)
909  return &uri_;
910 }
911 
912 // string name = 2;
914  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
915 }
916 inline const ::std::string& Material_Script::name() const {
917  // @@protoc_insertion_point(field_get:gz.msgs.Material.Script.name)
918  return name_.GetNoArena();
919 }
920 inline void Material_Script::set_name(const ::std::string& value) {
921 
922  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
923  // @@protoc_insertion_point(field_set:gz.msgs.Material.Script.name)
924 }
925 #if LANG_CXX11
926 inline void Material_Script::set_name(::std::string&& value) {
927 
928  name_.SetNoArena(
929  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
930  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.Material.Script.name)
931 }
932 #endif
933 inline void Material_Script::set_name(const char* value) {
934  GOOGLE_DCHECK(value != NULL);
935 
936  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
937  // @@protoc_insertion_point(field_set_char:gz.msgs.Material.Script.name)
938 }
939 inline void Material_Script::set_name(const char* value, size_t size) {
940 
941  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
942  ::std::string(reinterpret_cast<const char*>(value), size));
943  // @@protoc_insertion_point(field_set_pointer:gz.msgs.Material.Script.name)
944 }
945 inline ::std::string* Material_Script::mutable_name() {
946 
947  // @@protoc_insertion_point(field_mutable:gz.msgs.Material.Script.name)
948  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
949 }
950 inline ::std::string* Material_Script::release_name() {
951  // @@protoc_insertion_point(field_release:gz.msgs.Material.Script.name)
952 
953  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
954 }
956  if (name != NULL) {
957 
958  } else {
959 
960  }
961  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
962  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Material.Script.name)
963 }
964 
965 // -------------------------------------------------------------------
966 
967 // Material_PBR
968 
969 // .gz.msgs.Material.PBR.WorkflowType type = 1;
971  type_ = 0;
972 }
974  // @@protoc_insertion_point(field_get:gz.msgs.Material.PBR.type)
975  return static_cast< ::gz::msgs::Material_PBR_WorkflowType >(type_);
976 }
978 
979  type_ = value;
980  // @@protoc_insertion_point(field_set:gz.msgs.Material.PBR.type)
981 }
982 
983 // string albedo_map = 2;
985  albedo_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
986 }
987 inline const ::std::string& Material_PBR::albedo_map() const {
988  // @@protoc_insertion_point(field_get:gz.msgs.Material.PBR.albedo_map)
989  return albedo_map_.GetNoArena();
990 }
991 inline void Material_PBR::set_albedo_map(const ::std::string& value) {
992 
993  albedo_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
994  // @@protoc_insertion_point(field_set:gz.msgs.Material.PBR.albedo_map)
995 }
996 #if LANG_CXX11
997 inline void Material_PBR::set_albedo_map(::std::string&& value) {
998 
999  albedo_map_.SetNoArena(
1000  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1001  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.Material.PBR.albedo_map)
1002 }
1003 #endif
1004 inline void Material_PBR::set_albedo_map(const char* value) {
1005  GOOGLE_DCHECK(value != NULL);
1006 
1007  albedo_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1008  // @@protoc_insertion_point(field_set_char:gz.msgs.Material.PBR.albedo_map)
1009 }
1010 inline void Material_PBR::set_albedo_map(const char* value, size_t size) {
1011 
1012  albedo_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1013  ::std::string(reinterpret_cast<const char*>(value), size));
1014  // @@protoc_insertion_point(field_set_pointer:gz.msgs.Material.PBR.albedo_map)
1015 }
1016 inline ::std::string* Material_PBR::mutable_albedo_map() {
1017 
1018  // @@protoc_insertion_point(field_mutable:gz.msgs.Material.PBR.albedo_map)
1019  return albedo_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1020 }
1021 inline ::std::string* Material_PBR::release_albedo_map() {
1022  // @@protoc_insertion_point(field_release:gz.msgs.Material.PBR.albedo_map)
1023 
1024  return albedo_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1025 }
1027  if (albedo_map != NULL) {
1028 
1029  } else {
1030 
1031  }
1032  albedo_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), albedo_map);
1033  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Material.PBR.albedo_map)
1034 }
1035 
1036 // string normal_map = 3;
1038  normal_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1039 }
1040 inline const ::std::string& Material_PBR::normal_map() const {
1041  // @@protoc_insertion_point(field_get:gz.msgs.Material.PBR.normal_map)
1042  return normal_map_.GetNoArena();
1043 }
1044 inline void Material_PBR::set_normal_map(const ::std::string& value) {
1045 
1046  normal_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1047  // @@protoc_insertion_point(field_set:gz.msgs.Material.PBR.normal_map)
1048 }
1049 #if LANG_CXX11
1050 inline void Material_PBR::set_normal_map(::std::string&& value) {
1051 
1052  normal_map_.SetNoArena(
1053  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1054  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.Material.PBR.normal_map)
1055 }
1056 #endif
1057 inline void Material_PBR::set_normal_map(const char* value) {
1058  GOOGLE_DCHECK(value != NULL);
1059 
1060  normal_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1061  // @@protoc_insertion_point(field_set_char:gz.msgs.Material.PBR.normal_map)
1062 }
1063 inline void Material_PBR::set_normal_map(const char* value, size_t size) {
1064 
1065  normal_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1066  ::std::string(reinterpret_cast<const char*>(value), size));
1067  // @@protoc_insertion_point(field_set_pointer:gz.msgs.Material.PBR.normal_map)
1068 }
1069 inline ::std::string* Material_PBR::mutable_normal_map() {
1070 
1071  // @@protoc_insertion_point(field_mutable:gz.msgs.Material.PBR.normal_map)
1072  return normal_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1073 }
1074 inline ::std::string* Material_PBR::release_normal_map() {
1075  // @@protoc_insertion_point(field_release:gz.msgs.Material.PBR.normal_map)
1076 
1077  return normal_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1078 }
1080  if (normal_map != NULL) {
1081 
1082  } else {
1083 
1084  }
1085  normal_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), normal_map);
1086  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Material.PBR.normal_map)
1087 }
1088 
1089 // double metalness = 4;
1091  metalness_ = 0;
1092 }
1093 inline double Material_PBR::metalness() const {
1094  // @@protoc_insertion_point(field_get:gz.msgs.Material.PBR.metalness)
1095  return metalness_;
1096 }
1097 inline void Material_PBR::set_metalness(double value) {
1098 
1099  metalness_ = value;
1100  // @@protoc_insertion_point(field_set:gz.msgs.Material.PBR.metalness)
1101 }
1102 
1103 // string metalness_map = 5;
1105  metalness_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1106 }
1107 inline const ::std::string& Material_PBR::metalness_map() const {
1108  // @@protoc_insertion_point(field_get:gz.msgs.Material.PBR.metalness_map)
1109  return metalness_map_.GetNoArena();
1110 }
1111 inline void Material_PBR::set_metalness_map(const ::std::string& value) {
1112 
1113  metalness_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1114  // @@protoc_insertion_point(field_set:gz.msgs.Material.PBR.metalness_map)
1115 }
1116 #if LANG_CXX11
1117 inline void Material_PBR::set_metalness_map(::std::string&& value) {
1118 
1119  metalness_map_.SetNoArena(
1120  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1121  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.Material.PBR.metalness_map)
1122 }
1123 #endif
1124 inline void Material_PBR::set_metalness_map(const char* value) {
1125  GOOGLE_DCHECK(value != NULL);
1126 
1127  metalness_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1128  // @@protoc_insertion_point(field_set_char:gz.msgs.Material.PBR.metalness_map)
1129 }
1130 inline void Material_PBR::set_metalness_map(const char* value, size_t size) {
1131 
1132  metalness_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1133  ::std::string(reinterpret_cast<const char*>(value), size));
1134  // @@protoc_insertion_point(field_set_pointer:gz.msgs.Material.PBR.metalness_map)
1135 }
1136 inline ::std::string* Material_PBR::mutable_metalness_map() {
1137 
1138  // @@protoc_insertion_point(field_mutable:gz.msgs.Material.PBR.metalness_map)
1139  return metalness_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1140 }
1141 inline ::std::string* Material_PBR::release_metalness_map() {
1142  // @@protoc_insertion_point(field_release:gz.msgs.Material.PBR.metalness_map)
1143 
1144  return metalness_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1145 }
1147  if (metalness_map != NULL) {
1148 
1149  } else {
1150 
1151  }
1152  metalness_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), metalness_map);
1153  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Material.PBR.metalness_map)
1154 }
1155 
1156 // double roughness = 6;
1158  roughness_ = 0;
1159 }
1160 inline double Material_PBR::roughness() const {
1161  // @@protoc_insertion_point(field_get:gz.msgs.Material.PBR.roughness)
1162  return roughness_;
1163 }
1164 inline void Material_PBR::set_roughness(double value) {
1165 
1166  roughness_ = value;
1167  // @@protoc_insertion_point(field_set:gz.msgs.Material.PBR.roughness)
1168 }
1169 
1170 // string roughness_map = 7;
1172  roughness_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1173 }
1174 inline const ::std::string& Material_PBR::roughness_map() const {
1175  // @@protoc_insertion_point(field_get:gz.msgs.Material.PBR.roughness_map)
1176  return roughness_map_.GetNoArena();
1177 }
1178 inline void Material_PBR::set_roughness_map(const ::std::string& value) {
1179 
1180  roughness_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1181  // @@protoc_insertion_point(field_set:gz.msgs.Material.PBR.roughness_map)
1182 }
1183 #if LANG_CXX11
1184 inline void Material_PBR::set_roughness_map(::std::string&& value) {
1185 
1186  roughness_map_.SetNoArena(
1187  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1188  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.Material.PBR.roughness_map)
1189 }
1190 #endif
1191 inline void Material_PBR::set_roughness_map(const char* value) {
1192  GOOGLE_DCHECK(value != NULL);
1193 
1194  roughness_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1195  // @@protoc_insertion_point(field_set_char:gz.msgs.Material.PBR.roughness_map)
1196 }
1197 inline void Material_PBR::set_roughness_map(const char* value, size_t size) {
1198 
1199  roughness_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1200  ::std::string(reinterpret_cast<const char*>(value), size));
1201  // @@protoc_insertion_point(field_set_pointer:gz.msgs.Material.PBR.roughness_map)
1202 }
1203 inline ::std::string* Material_PBR::mutable_roughness_map() {
1204 
1205  // @@protoc_insertion_point(field_mutable:gz.msgs.Material.PBR.roughness_map)
1206  return roughness_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1207 }
1208 inline ::std::string* Material_PBR::release_roughness_map() {
1209  // @@protoc_insertion_point(field_release:gz.msgs.Material.PBR.roughness_map)
1210 
1211  return roughness_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1212 }
1214  if (roughness_map != NULL) {
1215 
1216  } else {
1217 
1218  }
1219  roughness_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), roughness_map);
1220  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Material.PBR.roughness_map)
1221 }
1222 
1223 // double glossiness = 8;
1225  glossiness_ = 0;
1226 }
1227 inline double Material_PBR::glossiness() const {
1228  // @@protoc_insertion_point(field_get:gz.msgs.Material.PBR.glossiness)
1229  return glossiness_;
1230 }
1231 inline void Material_PBR::set_glossiness(double value) {
1232 
1233  glossiness_ = value;
1234  // @@protoc_insertion_point(field_set:gz.msgs.Material.PBR.glossiness)
1235 }
1236 
1237 // string glossiness_map = 9;
1239  glossiness_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1240 }
1241 inline const ::std::string& Material_PBR::glossiness_map() const {
1242  // @@protoc_insertion_point(field_get:gz.msgs.Material.PBR.glossiness_map)
1243  return glossiness_map_.GetNoArena();
1244 }
1245 inline void Material_PBR::set_glossiness_map(const ::std::string& value) {
1246 
1247  glossiness_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1248  // @@protoc_insertion_point(field_set:gz.msgs.Material.PBR.glossiness_map)
1249 }
1250 #if LANG_CXX11
1251 inline void Material_PBR::set_glossiness_map(::std::string&& value) {
1252 
1253  glossiness_map_.SetNoArena(
1254  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1255  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.Material.PBR.glossiness_map)
1256 }
1257 #endif
1258 inline void Material_PBR::set_glossiness_map(const char* value) {
1259  GOOGLE_DCHECK(value != NULL);
1260 
1261  glossiness_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1262  // @@protoc_insertion_point(field_set_char:gz.msgs.Material.PBR.glossiness_map)
1263 }
1264 inline void Material_PBR::set_glossiness_map(const char* value, size_t size) {
1265 
1266  glossiness_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1267  ::std::string(reinterpret_cast<const char*>(value), size));
1268  // @@protoc_insertion_point(field_set_pointer:gz.msgs.Material.PBR.glossiness_map)
1269 }
1270 inline ::std::string* Material_PBR::mutable_glossiness_map() {
1271 
1272  // @@protoc_insertion_point(field_mutable:gz.msgs.Material.PBR.glossiness_map)
1273  return glossiness_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1274 }
1275 inline ::std::string* Material_PBR::release_glossiness_map() {
1276  // @@protoc_insertion_point(field_release:gz.msgs.Material.PBR.glossiness_map)
1277 
1278  return glossiness_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1279 }
1281  if (glossiness_map != NULL) {
1282 
1283  } else {
1284 
1285  }
1286  glossiness_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), glossiness_map);
1287  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Material.PBR.glossiness_map)
1288 }
1289 
1290 // string specular_map = 10;
1292  specular_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1293 }
1294 inline const ::std::string& Material_PBR::specular_map() const {
1295  // @@protoc_insertion_point(field_get:gz.msgs.Material.PBR.specular_map)
1296  return specular_map_.GetNoArena();
1297 }
1298 inline void Material_PBR::set_specular_map(const ::std::string& value) {
1299 
1300  specular_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1301  // @@protoc_insertion_point(field_set:gz.msgs.Material.PBR.specular_map)
1302 }
1303 #if LANG_CXX11
1304 inline void Material_PBR::set_specular_map(::std::string&& value) {
1305 
1306  specular_map_.SetNoArena(
1307  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1308  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.Material.PBR.specular_map)
1309 }
1310 #endif
1311 inline void Material_PBR::set_specular_map(const char* value) {
1312  GOOGLE_DCHECK(value != NULL);
1313 
1314  specular_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1315  // @@protoc_insertion_point(field_set_char:gz.msgs.Material.PBR.specular_map)
1316 }
1317 inline void Material_PBR::set_specular_map(const char* value, size_t size) {
1318 
1319  specular_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1320  ::std::string(reinterpret_cast<const char*>(value), size));
1321  // @@protoc_insertion_point(field_set_pointer:gz.msgs.Material.PBR.specular_map)
1322 }
1323 inline ::std::string* Material_PBR::mutable_specular_map() {
1324 
1325  // @@protoc_insertion_point(field_mutable:gz.msgs.Material.PBR.specular_map)
1326  return specular_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1327 }
1328 inline ::std::string* Material_PBR::release_specular_map() {
1329  // @@protoc_insertion_point(field_release:gz.msgs.Material.PBR.specular_map)
1330 
1331  return specular_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1332 }
1334  if (specular_map != NULL) {
1335 
1336  } else {
1337 
1338  }
1339  specular_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), specular_map);
1340  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Material.PBR.specular_map)
1341 }
1342 
1343 // string environment_map = 11;
1345  environment_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1346 }
1347 inline const ::std::string& Material_PBR::environment_map() const {
1348  // @@protoc_insertion_point(field_get:gz.msgs.Material.PBR.environment_map)
1349  return environment_map_.GetNoArena();
1350 }
1351 inline void Material_PBR::set_environment_map(const ::std::string& value) {
1352 
1353  environment_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1354  // @@protoc_insertion_point(field_set:gz.msgs.Material.PBR.environment_map)
1355 }
1356 #if LANG_CXX11
1357 inline void Material_PBR::set_environment_map(::std::string&& value) {
1358 
1359  environment_map_.SetNoArena(
1360  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1361  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.Material.PBR.environment_map)
1362 }
1363 #endif
1364 inline void Material_PBR::set_environment_map(const char* value) {
1365  GOOGLE_DCHECK(value != NULL);
1366 
1367  environment_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1368  // @@protoc_insertion_point(field_set_char:gz.msgs.Material.PBR.environment_map)
1369 }
1370 inline void Material_PBR::set_environment_map(const char* value, size_t size) {
1371 
1372  environment_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1373  ::std::string(reinterpret_cast<const char*>(value), size));
1374  // @@protoc_insertion_point(field_set_pointer:gz.msgs.Material.PBR.environment_map)
1375 }
1376 inline ::std::string* Material_PBR::mutable_environment_map() {
1377 
1378  // @@protoc_insertion_point(field_mutable:gz.msgs.Material.PBR.environment_map)
1379  return environment_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1380 }
1381 inline ::std::string* Material_PBR::release_environment_map() {
1382  // @@protoc_insertion_point(field_release:gz.msgs.Material.PBR.environment_map)
1383 
1384  return environment_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1385 }
1387  if (environment_map != NULL) {
1388 
1389  } else {
1390 
1391  }
1392  environment_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), environment_map);
1393  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Material.PBR.environment_map)
1394 }
1395 
1396 // string ambient_occlusion_map = 12;
1398  ambient_occlusion_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1399 }
1400 inline const ::std::string& Material_PBR::ambient_occlusion_map() const {
1401  // @@protoc_insertion_point(field_get:gz.msgs.Material.PBR.ambient_occlusion_map)
1402  return ambient_occlusion_map_.GetNoArena();
1403 }
1404 inline void Material_PBR::set_ambient_occlusion_map(const ::std::string& value) {
1405 
1406  ambient_occlusion_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1407  // @@protoc_insertion_point(field_set:gz.msgs.Material.PBR.ambient_occlusion_map)
1408 }
1409 #if LANG_CXX11
1411 
1412  ambient_occlusion_map_.SetNoArena(
1413  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1414  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.Material.PBR.ambient_occlusion_map)
1415 }
1416 #endif
1417 inline void Material_PBR::set_ambient_occlusion_map(const char* value) {
1418  GOOGLE_DCHECK(value != NULL);
1419 
1420  ambient_occlusion_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1421  // @@protoc_insertion_point(field_set_char:gz.msgs.Material.PBR.ambient_occlusion_map)
1422 }
1423 inline void Material_PBR::set_ambient_occlusion_map(const char* value, size_t size) {
1424 
1425  ambient_occlusion_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1426  ::std::string(reinterpret_cast<const char*>(value), size));
1427  // @@protoc_insertion_point(field_set_pointer:gz.msgs.Material.PBR.ambient_occlusion_map)
1428 }
1430 
1431  // @@protoc_insertion_point(field_mutable:gz.msgs.Material.PBR.ambient_occlusion_map)
1432  return ambient_occlusion_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1433 }
1435  // @@protoc_insertion_point(field_release:gz.msgs.Material.PBR.ambient_occlusion_map)
1436 
1437  return ambient_occlusion_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1438 }
1440  if (ambient_occlusion_map != NULL) {
1441 
1442  } else {
1443 
1444  }
1445  ambient_occlusion_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ambient_occlusion_map);
1446  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Material.PBR.ambient_occlusion_map)
1447 }
1448 
1449 // string emissive_map = 13;
1451  emissive_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1452 }
1453 inline const ::std::string& Material_PBR::emissive_map() const {
1454  // @@protoc_insertion_point(field_get:gz.msgs.Material.PBR.emissive_map)
1455  return emissive_map_.GetNoArena();
1456 }
1457 inline void Material_PBR::set_emissive_map(const ::std::string& value) {
1458 
1459  emissive_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1460  // @@protoc_insertion_point(field_set:gz.msgs.Material.PBR.emissive_map)
1461 }
1462 #if LANG_CXX11
1463 inline void Material_PBR::set_emissive_map(::std::string&& value) {
1464 
1465  emissive_map_.SetNoArena(
1466  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1467  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.Material.PBR.emissive_map)
1468 }
1469 #endif
1470 inline void Material_PBR::set_emissive_map(const char* value) {
1471  GOOGLE_DCHECK(value != NULL);
1472 
1473  emissive_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1474  // @@protoc_insertion_point(field_set_char:gz.msgs.Material.PBR.emissive_map)
1475 }
1476 inline void Material_PBR::set_emissive_map(const char* value, size_t size) {
1477 
1478  emissive_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1479  ::std::string(reinterpret_cast<const char*>(value), size));
1480  // @@protoc_insertion_point(field_set_pointer:gz.msgs.Material.PBR.emissive_map)
1481 }
1482 inline ::std::string* Material_PBR::mutable_emissive_map() {
1483 
1484  // @@protoc_insertion_point(field_mutable:gz.msgs.Material.PBR.emissive_map)
1485  return emissive_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1486 }
1487 inline ::std::string* Material_PBR::release_emissive_map() {
1488  // @@protoc_insertion_point(field_release:gz.msgs.Material.PBR.emissive_map)
1489 
1490  return emissive_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1491 }
1493  if (emissive_map != NULL) {
1494 
1495  } else {
1496 
1497  }
1498  emissive_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), emissive_map);
1499  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Material.PBR.emissive_map)
1500 }
1501 
1502 // string light_map = 14;
1504  light_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1505 }
1506 inline const ::std::string& Material_PBR::light_map() const {
1507  // @@protoc_insertion_point(field_get:gz.msgs.Material.PBR.light_map)
1508  return light_map_.GetNoArena();
1509 }
1510 inline void Material_PBR::set_light_map(const ::std::string& value) {
1511 
1512  light_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1513  // @@protoc_insertion_point(field_set:gz.msgs.Material.PBR.light_map)
1514 }
1515 #if LANG_CXX11
1516 inline void Material_PBR::set_light_map(::std::string&& value) {
1517 
1518  light_map_.SetNoArena(
1519  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1520  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.Material.PBR.light_map)
1521 }
1522 #endif
1523 inline void Material_PBR::set_light_map(const char* value) {
1524  GOOGLE_DCHECK(value != NULL);
1525 
1526  light_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1527  // @@protoc_insertion_point(field_set_char:gz.msgs.Material.PBR.light_map)
1528 }
1529 inline void Material_PBR::set_light_map(const char* value, size_t size) {
1530 
1531  light_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1532  ::std::string(reinterpret_cast<const char*>(value), size));
1533  // @@protoc_insertion_point(field_set_pointer:gz.msgs.Material.PBR.light_map)
1534 }
1535 inline ::std::string* Material_PBR::mutable_light_map() {
1536 
1537  // @@protoc_insertion_point(field_mutable:gz.msgs.Material.PBR.light_map)
1538  return light_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1539 }
1540 inline ::std::string* Material_PBR::release_light_map() {
1541  // @@protoc_insertion_point(field_release:gz.msgs.Material.PBR.light_map)
1542 
1543  return light_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1544 }
1546  if (light_map != NULL) {
1547 
1548  } else {
1549 
1550  }
1551  light_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), light_map);
1552  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Material.PBR.light_map)
1553 }
1554 
1555 // uint32 light_map_texcoord_set = 15;
1557  light_map_texcoord_set_ = 0u;
1558 }
1559 inline ::google::protobuf::uint32 Material_PBR::light_map_texcoord_set() const {
1560  // @@protoc_insertion_point(field_get:gz.msgs.Material.PBR.light_map_texcoord_set)
1561  return light_map_texcoord_set_;
1562 }
1563 inline void Material_PBR::set_light_map_texcoord_set(::google::protobuf::uint32 value) {
1564 
1565  light_map_texcoord_set_ = value;
1566  // @@protoc_insertion_point(field_set:gz.msgs.Material.PBR.light_map_texcoord_set)
1567 }
1568 
1569 // -------------------------------------------------------------------
1570 
1571 // Material
1572 
1573 // .gz.msgs.Header header = 1;
1574 inline bool Material::has_header() const {
1575  return this != internal_default_instance() && header_ != NULL;
1576 }
1577 inline const ::gz::msgs::Header& Material::_internal_header() const {
1578  return *header_;
1579 }
1580 inline const ::gz::msgs::Header& Material::header() const {
1581  const ::gz::msgs::Header* p = header_;
1582  // @@protoc_insertion_point(field_get:gz.msgs.Material.header)
1583  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Header*>(
1585 }
1586 inline ::gz::msgs::Header* Material::release_header() {
1587  // @@protoc_insertion_point(field_release:gz.msgs.Material.header)
1588 
1589  ::gz::msgs::Header* temp = header_;
1590  header_ = NULL;
1591  return temp;
1592 }
1593 inline ::gz::msgs::Header* Material::mutable_header() {
1594 
1595  if (header_ == NULL) {
1596  auto* p = CreateMaybeMessage<::gz::msgs::Header>(GetArenaNoVirtual());
1597  header_ = p;
1598  }
1599  // @@protoc_insertion_point(field_mutable:gz.msgs.Material.header)
1600  return header_;
1601 }
1603  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1604  if (message_arena == NULL) {
1605  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
1606  }
1607  if (header) {
1608  ::google::protobuf::Arena* submessage_arena = NULL;
1609  if (message_arena != submessage_arena) {
1610  header = ::google::protobuf::internal::GetOwnedMessage(
1611  message_arena, header, submessage_arena);
1612  }
1613 
1614  } else {
1615 
1616  }
1617  header_ = header;
1618  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Material.header)
1619 }
1620 
1621 // .gz.msgs.Material.Script script = 2;
1622 inline bool Material::has_script() const {
1623  return this != internal_default_instance() && script_ != NULL;
1624 }
1625 inline void Material::clear_script() {
1626  if (GetArenaNoVirtual() == NULL && script_ != NULL) {
1627  delete script_;
1628  }
1629  script_ = NULL;
1630 }
1631 inline const ::gz::msgs::Material_Script& Material::_internal_script() const {
1632  return *script_;
1633 }
1634 inline const ::gz::msgs::Material_Script& Material::script() const {
1635  const ::gz::msgs::Material_Script* p = script_;
1636  // @@protoc_insertion_point(field_get:gz.msgs.Material.script)
1637  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Material_Script*>(
1639 }
1640 inline ::gz::msgs::Material_Script* Material::release_script() {
1641  // @@protoc_insertion_point(field_release:gz.msgs.Material.script)
1642 
1643  ::gz::msgs::Material_Script* temp = script_;
1644  script_ = NULL;
1645  return temp;
1646 }
1647 inline ::gz::msgs::Material_Script* Material::mutable_script() {
1648 
1649  if (script_ == NULL) {
1650  auto* p = CreateMaybeMessage<::gz::msgs::Material_Script>(GetArenaNoVirtual());
1651  script_ = p;
1652  }
1653  // @@protoc_insertion_point(field_mutable:gz.msgs.Material.script)
1654  return script_;
1655 }
1657  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1658  if (message_arena == NULL) {
1659  delete script_;
1660  }
1661  if (script) {
1662  ::google::protobuf::Arena* submessage_arena = NULL;
1663  if (message_arena != submessage_arena) {
1664  script = ::google::protobuf::internal::GetOwnedMessage(
1665  message_arena, script, submessage_arena);
1666  }
1667 
1668  } else {
1669 
1670  }
1671  script_ = script;
1672  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Material.script)
1673 }
1674 
1675 // .gz.msgs.Material.ShaderType shader_type = 3;
1677  shader_type_ = 0;
1678 }
1680  // @@protoc_insertion_point(field_get:gz.msgs.Material.shader_type)
1681  return static_cast< ::gz::msgs::Material_ShaderType >(shader_type_);
1682 }
1684 
1685  shader_type_ = value;
1686  // @@protoc_insertion_point(field_set:gz.msgs.Material.shader_type)
1687 }
1688 
1689 // string normal_map = 4;
1691  normal_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1692 }
1693 inline const ::std::string& Material::normal_map() const {
1694  // @@protoc_insertion_point(field_get:gz.msgs.Material.normal_map)
1695  return normal_map_.GetNoArena();
1696 }
1697 inline void Material::set_normal_map(const ::std::string& value) {
1698 
1699  normal_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1700  // @@protoc_insertion_point(field_set:gz.msgs.Material.normal_map)
1701 }
1702 #if LANG_CXX11
1703 inline void Material::set_normal_map(::std::string&& value) {
1704 
1705  normal_map_.SetNoArena(
1706  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1707  // @@protoc_insertion_point(field_set_rvalue:gz.msgs.Material.normal_map)
1708 }
1709 #endif
1710 inline void Material::set_normal_map(const char* value) {
1711  GOOGLE_DCHECK(value != NULL);
1712 
1713  normal_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1714  // @@protoc_insertion_point(field_set_char:gz.msgs.Material.normal_map)
1715 }
1716 inline void Material::set_normal_map(const char* value, size_t size) {
1717 
1718  normal_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1719  ::std::string(reinterpret_cast<const char*>(value), size));
1720  // @@protoc_insertion_point(field_set_pointer:gz.msgs.Material.normal_map)
1721 }
1722 inline ::std::string* Material::mutable_normal_map() {
1723 
1724  // @@protoc_insertion_point(field_mutable:gz.msgs.Material.normal_map)
1725  return normal_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1726 }
1727 inline ::std::string* Material::release_normal_map() {
1728  // @@protoc_insertion_point(field_release:gz.msgs.Material.normal_map)
1729 
1730  return normal_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1731 }
1733  if (normal_map != NULL) {
1734 
1735  } else {
1736 
1737  }
1738  normal_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), normal_map);
1739  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Material.normal_map)
1740 }
1741 
1742 // .gz.msgs.Color ambient = 5;
1743 inline bool Material::has_ambient() const {
1744  return this != internal_default_instance() && ambient_ != NULL;
1745 }
1746 inline const ::gz::msgs::Color& Material::_internal_ambient() const {
1747  return *ambient_;
1748 }
1749 inline const ::gz::msgs::Color& Material::ambient() const {
1750  const ::gz::msgs::Color* p = ambient_;
1751  // @@protoc_insertion_point(field_get:gz.msgs.Material.ambient)
1752  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Color*>(
1754 }
1755 inline ::gz::msgs::Color* Material::release_ambient() {
1756  // @@protoc_insertion_point(field_release:gz.msgs.Material.ambient)
1757 
1758  ::gz::msgs::Color* temp = ambient_;
1759  ambient_ = NULL;
1760  return temp;
1761 }
1762 inline ::gz::msgs::Color* Material::mutable_ambient() {
1763 
1764  if (ambient_ == NULL) {
1765  auto* p = CreateMaybeMessage<::gz::msgs::Color>(GetArenaNoVirtual());
1766  ambient_ = p;
1767  }
1768  // @@protoc_insertion_point(field_mutable:gz.msgs.Material.ambient)
1769  return ambient_;
1770 }
1772  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1773  if (message_arena == NULL) {
1774  delete reinterpret_cast< ::google::protobuf::MessageLite*>(ambient_);
1775  }
1776  if (ambient) {
1777  ::google::protobuf::Arena* submessage_arena = NULL;
1778  if (message_arena != submessage_arena) {
1779  ambient = ::google::protobuf::internal::GetOwnedMessage(
1780  message_arena, ambient, submessage_arena);
1781  }
1782 
1783  } else {
1784 
1785  }
1786  ambient_ = ambient;
1787  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Material.ambient)
1788 }
1789 
1790 // .gz.msgs.Color diffuse = 6;
1791 inline bool Material::has_diffuse() const {
1792  return this != internal_default_instance() && diffuse_ != NULL;
1793 }
1794 inline const ::gz::msgs::Color& Material::_internal_diffuse() const {
1795  return *diffuse_;
1796 }
1797 inline const ::gz::msgs::Color& Material::diffuse() const {
1798  const ::gz::msgs::Color* p = diffuse_;
1799  // @@protoc_insertion_point(field_get:gz.msgs.Material.diffuse)
1800  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Color*>(
1802 }
1803 inline ::gz::msgs::Color* Material::release_diffuse() {
1804  // @@protoc_insertion_point(field_release:gz.msgs.Material.diffuse)
1805 
1806  ::gz::msgs::Color* temp = diffuse_;
1807  diffuse_ = NULL;
1808  return temp;
1809 }
1810 inline ::gz::msgs::Color* Material::mutable_diffuse() {
1811 
1812  if (diffuse_ == NULL) {
1813  auto* p = CreateMaybeMessage<::gz::msgs::Color>(GetArenaNoVirtual());
1814  diffuse_ = p;
1815  }
1816  // @@protoc_insertion_point(field_mutable:gz.msgs.Material.diffuse)
1817  return diffuse_;
1818 }
1820  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1821  if (message_arena == NULL) {
1822  delete reinterpret_cast< ::google::protobuf::MessageLite*>(diffuse_);
1823  }
1824  if (diffuse) {
1825  ::google::protobuf::Arena* submessage_arena = NULL;
1826  if (message_arena != submessage_arena) {
1827  diffuse = ::google::protobuf::internal::GetOwnedMessage(
1828  message_arena, diffuse, submessage_arena);
1829  }
1830 
1831  } else {
1832 
1833  }
1834  diffuse_ = diffuse;
1835  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Material.diffuse)
1836 }
1837 
1838 // .gz.msgs.Color specular = 7;
1839 inline bool Material::has_specular() const {
1840  return this != internal_default_instance() && specular_ != NULL;
1841 }
1842 inline const ::gz::msgs::Color& Material::_internal_specular() const {
1843  return *specular_;
1844 }
1845 inline const ::gz::msgs::Color& Material::specular() const {
1846  const ::gz::msgs::Color* p = specular_;
1847  // @@protoc_insertion_point(field_get:gz.msgs.Material.specular)
1848  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Color*>(
1850 }
1851 inline ::gz::msgs::Color* Material::release_specular() {
1852  // @@protoc_insertion_point(field_release:gz.msgs.Material.specular)
1853 
1854  ::gz::msgs::Color* temp = specular_;
1855  specular_ = NULL;
1856  return temp;
1857 }
1858 inline ::gz::msgs::Color* Material::mutable_specular() {
1859 
1860  if (specular_ == NULL) {
1861  auto* p = CreateMaybeMessage<::gz::msgs::Color>(GetArenaNoVirtual());
1862  specular_ = p;
1863  }
1864  // @@protoc_insertion_point(field_mutable:gz.msgs.Material.specular)
1865  return specular_;
1866 }
1868  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1869  if (message_arena == NULL) {
1870  delete reinterpret_cast< ::google::protobuf::MessageLite*>(specular_);
1871  }
1872  if (specular) {
1873  ::google::protobuf::Arena* submessage_arena = NULL;
1874  if (message_arena != submessage_arena) {
1875  specular = ::google::protobuf::internal::GetOwnedMessage(
1876  message_arena, specular, submessage_arena);
1877  }
1878 
1879  } else {
1880 
1881  }
1882  specular_ = specular;
1883  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Material.specular)
1884 }
1885 
1886 // .gz.msgs.Color emissive = 8;
1887 inline bool Material::has_emissive() const {
1888  return this != internal_default_instance() && emissive_ != NULL;
1889 }
1890 inline const ::gz::msgs::Color& Material::_internal_emissive() const {
1891  return *emissive_;
1892 }
1893 inline const ::gz::msgs::Color& Material::emissive() const {
1894  const ::gz::msgs::Color* p = emissive_;
1895  // @@protoc_insertion_point(field_get:gz.msgs.Material.emissive)
1896  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Color*>(
1898 }
1899 inline ::gz::msgs::Color* Material::release_emissive() {
1900  // @@protoc_insertion_point(field_release:gz.msgs.Material.emissive)
1901 
1902  ::gz::msgs::Color* temp = emissive_;
1903  emissive_ = NULL;
1904  return temp;
1905 }
1906 inline ::gz::msgs::Color* Material::mutable_emissive() {
1907 
1908  if (emissive_ == NULL) {
1909  auto* p = CreateMaybeMessage<::gz::msgs::Color>(GetArenaNoVirtual());
1910  emissive_ = p;
1911  }
1912  // @@protoc_insertion_point(field_mutable:gz.msgs.Material.emissive)
1913  return emissive_;
1914 }
1916  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1917  if (message_arena == NULL) {
1918  delete reinterpret_cast< ::google::protobuf::MessageLite*>(emissive_);
1919  }
1920  if (emissive) {
1921  ::google::protobuf::Arena* submessage_arena = NULL;
1922  if (message_arena != submessage_arena) {
1923  emissive = ::google::protobuf::internal::GetOwnedMessage(
1924  message_arena, emissive, submessage_arena);
1925  }
1926 
1927  } else {
1928 
1929  }
1930  emissive_ = emissive;
1931  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Material.emissive)
1932 }
1933 
1934 // bool lighting = 9;
1936  lighting_ = false;
1937 }
1938 inline bool Material::lighting() const {
1939  // @@protoc_insertion_point(field_get:gz.msgs.Material.lighting)
1940  return lighting_;
1941 }
1942 inline void Material::set_lighting(bool value) {
1943 
1944  lighting_ = value;
1945  // @@protoc_insertion_point(field_set:gz.msgs.Material.lighting)
1946 }
1947 
1948 // .gz.msgs.Material.PBR pbr = 10;
1949 inline bool Material::has_pbr() const {
1950  return this != internal_default_instance() && pbr_ != NULL;
1951 }
1952 inline void Material::clear_pbr() {
1953  if (GetArenaNoVirtual() == NULL && pbr_ != NULL) {
1954  delete pbr_;
1955  }
1956  pbr_ = NULL;
1957 }
1958 inline const ::gz::msgs::Material_PBR& Material::_internal_pbr() const {
1959  return *pbr_;
1960 }
1961 inline const ::gz::msgs::Material_PBR& Material::pbr() const {
1962  const ::gz::msgs::Material_PBR* p = pbr_;
1963  // @@protoc_insertion_point(field_get:gz.msgs.Material.pbr)
1964  return p != NULL ? *p : *reinterpret_cast<const ::gz::msgs::Material_PBR*>(
1966 }
1967 inline ::gz::msgs::Material_PBR* Material::release_pbr() {
1968  // @@protoc_insertion_point(field_release:gz.msgs.Material.pbr)
1969 
1970  ::gz::msgs::Material_PBR* temp = pbr_;
1971  pbr_ = NULL;
1972  return temp;
1973 }
1974 inline ::gz::msgs::Material_PBR* Material::mutable_pbr() {
1975 
1976  if (pbr_ == NULL) {
1977  auto* p = CreateMaybeMessage<::gz::msgs::Material_PBR>(GetArenaNoVirtual());
1978  pbr_ = p;
1979  }
1980  // @@protoc_insertion_point(field_mutable:gz.msgs.Material.pbr)
1981  return pbr_;
1982 }
1984  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1985  if (message_arena == NULL) {
1986  delete pbr_;
1987  }
1988  if (pbr) {
1989  ::google::protobuf::Arena* submessage_arena = NULL;
1990  if (message_arena != submessage_arena) {
1991  pbr = ::google::protobuf::internal::GetOwnedMessage(
1992  message_arena, pbr, submessage_arena);
1993  }
1994 
1995  } else {
1996 
1997  }
1998  pbr_ = pbr;
1999  // @@protoc_insertion_point(field_set_allocated:gz.msgs.Material.pbr)
2000 }
2001 
2002 // double render_order = 11;
2004  render_order_ = 0;
2005 }
2006 inline double Material::render_order() const {
2007  // @@protoc_insertion_point(field_get:gz.msgs.Material.render_order)
2008  return render_order_;
2009 }
2010 inline void Material::set_render_order(double value) {
2011 
2012  render_order_ = value;
2013  // @@protoc_insertion_point(field_set:gz.msgs.Material.render_order)
2014 }
2015 
2016 // bool double_sided = 12;
2018  double_sided_ = false;
2019 }
2020 inline bool Material::double_sided() const {
2021  // @@protoc_insertion_point(field_get:gz.msgs.Material.double_sided)
2022  return double_sided_;
2023 }
2024 inline void Material::set_double_sided(bool value) {
2025 
2026  double_sided_ = value;
2027  // @@protoc_insertion_point(field_set:gz.msgs.Material.double_sided)
2028 }
2029 
2030 // double shininess = 13;
2032  shininess_ = 0;
2033 }
2034 inline double Material::shininess() const {
2035  // @@protoc_insertion_point(field_get:gz.msgs.Material.shininess)
2036  return shininess_;
2037 }
2038 inline void Material::set_shininess(double value) {
2039 
2040  shininess_ = value;
2041  // @@protoc_insertion_point(field_set:gz.msgs.Material.shininess)
2042 }
2043 
2044 #ifdef __GNUC__
2045  #pragma GCC diagnostic pop
2046 #endif // __GNUC__
2047 // -------------------------------------------------------------------
2048 
2049 // -------------------------------------------------------------------
2050 
2051 
2052 // @@protoc_insertion_point(namespace_scope)
2053 
2054 } // namespace msgs
2055 } // namespace gz
2056 
2057 namespace google {
2058 namespace protobuf {
2059 
2060 template <> struct is_proto_enum< ::gz::msgs::Material_PBR_WorkflowType> : ::std::true_type {};
2061 template <>
2062 inline const EnumDescriptor* GetEnumDescriptor< ::gz::msgs::Material_PBR_WorkflowType>() {
2064 }
2065 template <> struct is_proto_enum< ::gz::msgs::Material_ShaderType> : ::std::true_type {};
2066 template <>
2067 inline const EnumDescriptor* GetEnumDescriptor< ::gz::msgs::Material_ShaderType>() {
2069 }
2070 
2071 } // namespace protobuf
2072 } // namespace google
2073 
2074 // @@protoc_insertion_point(global_scope)
2075 
2076 #endif // PROTOBUF_INCLUDED_gz_2fmsgs_2fmaterial_2eproto