4 #ifndef PROTOBUF_INCLUDED_gz_2fmsgs_2fmaterial_2eproto
5 #define PROTOBUF_INCLUDED_gz_2fmsgs_2fmaterial_2eproto
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
22 #include <google/protobuf/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
29 #include <google/protobuf/message.h>
30 #include <google/protobuf/repeated_field.h>
31 #include <google/protobuf/extension_set.h>
32 #include <google/protobuf/generated_enum_reflection.h>
33 #include <google/protobuf/unknown_field_set.h>
34 #include "gz/msgs/color.pb.h"
35 #include "gz/msgs/header.pb.h"
37 #define PROTOBUF_INTERNAL_EXPORT_protobuf_gz_2fmsgs_2fmaterial_2eproto GZ_MSGS_VISIBLE
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[];
54 class MaterialDefaultTypeInternal;
57 class Material_PBRDefaultTypeInternal;
59 class Material_Script;
60 class Material_ScriptDefaultTypeInternal;
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*);
88 return ::google::protobuf::internal::NameOfEnum(
93 return ::google::protobuf::internal::ParseNamedEnum<Material_PBR_WorkflowType>(
111 return ::google::protobuf::internal::NameOfEnum(
116 return ::google::protobuf::internal::ParseNamedEnum<Material_ShaderType>(
135 *
this = ::std::move(from);
138 inline Material_Script& operator=(Material_Script&& from) noexcept {
139 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
140 if (
this != &from) InternalSwap(&from);
147 static const ::google::protobuf::Descriptor* descriptor();
148 static const Material_Script& default_instance();
150 static void InitAsDefaultInstance();
155 static constexpr
int kIndexInFileMessages =
166 return CreateMaybeMessage<Material_Script>(NULL);
170 return CreateMaybeMessage<Material_Script>(arena);
172 void CopyFrom(const ::google::protobuf::Message& from)
final;
173 void MergeFrom(const ::google::protobuf::Message& from)
final;
177 bool IsInitialized() const final;
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(); }
191 void SetCachedSize(
int size)
const final;
194 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
197 inline void* MaybeArenaPtr()
const {
202 ::google::protobuf::Metadata GetMetadata() const final;
209 int uri_size() const;
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);
218 void set_uri(
int index,
const char* value);
219 void set_uri(
int index,
const char* value,
size_t size);
221 void add_uri(const ::std::string& value);
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();
232 static const int kNameFieldNumber = 2;
233 const ::std::string& name()
const;
234 void set_name(const ::std::string& value);
238 void set_name(
const char* value);
239 void set_name(
const char* value,
size_t size);
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;
255 class GZ_MSGS_VISIBLE
Material_PBR :
public ::google::protobuf::Message {
269 *
this = ::std::move(from);
272 inline Material_PBR& operator=(Material_PBR&& from) noexcept {
273 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
274 if (
this != &from) InternalSwap(&from);
281 static const ::google::protobuf::Descriptor* descriptor();
282 static const Material_PBR& default_instance();
284 static void InitAsDefaultInstance();
289 static constexpr
int kIndexInFileMessages =
300 return CreateMaybeMessage<Material_PBR>(NULL);
304 return CreateMaybeMessage<Material_PBR>(arena);
306 void CopyFrom(const ::google::protobuf::Message& from)
final;
307 void MergeFrom(const ::google::protobuf::Message& from)
final;
311 bool IsInitialized() const final;
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(); }
325 void SetCachedSize(
int size)
const final;
328 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
331 inline void* MaybeArenaPtr()
const {
336 ::google::protobuf::Metadata GetMetadata() const final;
347 static inline
bool WorkflowType_IsValid(
int value) {
354 static const int WorkflowType_ARRAYSIZE =
356 static inline const ::google::protobuf::EnumDescriptor*
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);
378 void set_albedo_map(
const char* value);
379 void set_albedo_map(
const char* value,
size_t size);
382 void set_allocated_albedo_map(::
std::string* albedo_map);
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);
392 void set_normal_map(
const char* value);
393 void set_normal_map(
const char* value,
size_t size);
396 void set_allocated_normal_map(::
std::string* normal_map);
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);
406 void set_metalness_map(
const char* value);
407 void set_metalness_map(
const char* value,
size_t size);
410 void set_allocated_metalness_map(::
std::string* metalness_map);
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);
420 void set_roughness_map(
const char* value);
421 void set_roughness_map(
const char* value,
size_t size);
424 void set_allocated_roughness_map(::
std::string* roughness_map);
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);
434 void set_glossiness_map(
const char* value);
435 void set_glossiness_map(
const char* value,
size_t size);
438 void set_allocated_glossiness_map(::
std::string* glossiness_map);
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);
448 void set_specular_map(
const char* value);
449 void set_specular_map(
const char* value,
size_t size);
452 void set_allocated_specular_map(::
std::string* specular_map);
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);
462 void set_environment_map(
const char* value);
463 void set_environment_map(
const char* value,
size_t size);
466 void set_allocated_environment_map(::
std::string* environment_map);
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);
474 void set_ambient_occlusion_map(::
std::string&& value);
476 void set_ambient_occlusion_map(
const char* value);
477 void set_ambient_occlusion_map(
const char* value,
size_t size);
480 void set_allocated_ambient_occlusion_map(::
std::string* ambient_occlusion_map);
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);
490 void set_emissive_map(
const char* value);
491 void set_emissive_map(
const char* value,
size_t size);
494 void set_allocated_emissive_map(::
std::string* emissive_map);
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);
504 void set_light_map(
const char* value);
505 void set_light_map(
const char* value,
size_t size);
508 void set_allocated_light_map(::
std::string* light_map);
511 void clear_metalness();
512 static const int kMetalnessFieldNumber = 4;
513 double metalness()
const;
514 void set_metalness(
double value);
517 void clear_roughness();
518 static const int kRoughnessFieldNumber = 6;
519 double roughness()
const;
520 void set_roughness(
double value);
523 void clear_glossiness();
524 static const int kGlossinessFieldNumber = 8;
525 double glossiness()
const;
526 void set_glossiness(
double value);
530 static const int kTypeFieldNumber = 1;
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);
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_;
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;
564 class GZ_MSGS_VISIBLE
Material :
public ::google::protobuf::Message {
578 *
this = ::std::move(from);
581 inline Material& operator=(Material&& from) noexcept {
582 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
583 if (
this != &from) InternalSwap(&from);
590 static const ::google::protobuf::Descriptor* descriptor();
591 static const Material& default_instance();
593 static void InitAsDefaultInstance();
595 return reinterpret_cast<const Material*
>(
598 static constexpr
int kIndexInFileMessages =
609 return CreateMaybeMessage<Material>(NULL);
613 return CreateMaybeMessage<Material>(arena);
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);
620 bool IsInitialized() const final;
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(); }
634 void SetCachedSize(
int size)
const final;
637 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
640 inline void* MaybeArenaPtr()
const {
645 ::google::protobuf::Metadata GetMetadata() const final;
661 static inline
bool ShaderType_IsValid(
int value) {
668 static const int ShaderType_ARRAYSIZE =
670 static inline const ::google::protobuf::EnumDescriptor*
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);
692 void set_normal_map(
const char* value);
693 void set_normal_map(
const char* value,
size_t size);
696 void set_allocated_normal_map(::
std::string* normal_map);
699 bool has_header()
const;
701 static const int kHeaderFieldNumber = 1;
703 const ::gz::msgs::Header& _internal_header()
const;
705 const ::gz::msgs::Header& header()
const;
711 bool has_script()
const;
713 static const int kScriptFieldNumber = 2;
715 const ::gz::msgs::Material_Script& _internal_script()
const;
717 const ::gz::msgs::Material_Script& script()
const;
723 bool has_ambient()
const;
724 void clear_ambient();
725 static const int kAmbientFieldNumber = 5;
727 const ::gz::msgs::Color& _internal_ambient()
const;
729 const ::gz::msgs::Color& ambient()
const;
735 bool has_diffuse()
const;
736 void clear_diffuse();
737 static const int kDiffuseFieldNumber = 6;
739 const ::gz::msgs::Color& _internal_diffuse()
const;
741 const ::gz::msgs::Color& diffuse()
const;
747 bool has_specular()
const;
748 void clear_specular();
749 static const int kSpecularFieldNumber = 7;
751 const ::gz::msgs::Color& _internal_specular()
const;
753 const ::gz::msgs::Color& specular()
const;
759 bool has_emissive()
const;
760 void clear_emissive();
761 static const int kEmissiveFieldNumber = 8;
763 const ::gz::msgs::Color& _internal_emissive()
const;
765 const ::gz::msgs::Color& emissive()
const;
771 bool has_pbr()
const;
773 static const int kPbrFieldNumber = 10;
775 const ::gz::msgs::Material_PBR& _internal_pbr()
const;
777 const ::gz::msgs::Material_PBR& pbr()
const;
783 void clear_shader_type();
784 static const int kShaderTypeFieldNumber = 3;
789 void clear_lighting();
790 static const int kLightingFieldNumber = 9;
791 bool lighting()
const;
792 void set_lighting(
bool value);
795 void clear_double_sided();
796 static const int kDoubleSidedFieldNumber = 12;
797 bool double_sided()
const;
798 void set_double_sided(
bool value);
801 void clear_render_order();
802 static const int kRenderOrderFieldNumber = 11;
803 double render_order()
const;
804 void set_render_order(
double value);
807 void clear_shininess();
808 static const int kShininessFieldNumber = 13;
809 double shininess()
const;
810 void set_shininess(
double value);
815 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
816 ::google::protobuf::internal::ArenaStringPtr normal_map_;
827 double render_order_;
829 mutable ::google::protobuf::internal::CachedSize _cached_size_;
830 friend struct ::protobuf_gz_2fmsgs_2fmaterial_2eproto::TableStruct;
838 #pragma GCC diagnostic push
839 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
852 return uri_.Get(index);
856 return uri_.Mutable(index);
860 uri_.Mutable(index)->assign(value);
865 uri_.Mutable(index)->assign(
std::move(value));
869 GOOGLE_DCHECK(value != NULL);
870 uri_.Mutable(index)->assign(value);
874 uri_.Mutable(index)->assign(
875 reinterpret_cast<const char*
>(value), size);
883 uri_.Add()->assign(value);
893 GOOGLE_DCHECK(value != NULL);
894 uri_.Add()->assign(value);
898 uri_.Add()->assign(
reinterpret_cast<const char*
>(value), size);
901 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
906 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
914 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
918 return name_.GetNoArena();
922 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
929 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::move(value));
934 GOOGLE_DCHECK(value != NULL);
936 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
941 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
942 ::
std::string(
reinterpret_cast<const char*
>(value), size));
948 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
953 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
961 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
name);
985 albedo_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
989 return albedo_map_.GetNoArena();
993 albedo_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
999 albedo_map_.SetNoArena(
1000 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::move(value));
1005 GOOGLE_DCHECK(value != NULL);
1007 albedo_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
1012 albedo_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1013 ::
std::string(
reinterpret_cast<const char*
>(value), size));
1019 return albedo_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1024 return albedo_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1032 albedo_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
albedo_map);
1038 normal_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1042 return normal_map_.GetNoArena();
1046 normal_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1052 normal_map_.SetNoArena(
1053 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::move(value));
1058 GOOGLE_DCHECK(value != NULL);
1060 normal_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
1065 normal_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1066 ::
std::string(
reinterpret_cast<const char*
>(value), size));
1072 return normal_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1077 return normal_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1085 normal_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
normal_map);
1105 metalness_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1109 return metalness_map_.GetNoArena();
1113 metalness_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1119 metalness_map_.SetNoArena(
1120 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::move(value));
1125 GOOGLE_DCHECK(value != NULL);
1127 metalness_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
1132 metalness_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1133 ::
std::string(
reinterpret_cast<const char*
>(value), size));
1139 return metalness_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1144 return metalness_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1152 metalness_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
metalness_map);
1172 roughness_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1176 return roughness_map_.GetNoArena();
1180 roughness_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1186 roughness_map_.SetNoArena(
1187 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::move(value));
1192 GOOGLE_DCHECK(value != NULL);
1194 roughness_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
1199 roughness_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1200 ::
std::string(
reinterpret_cast<const char*
>(value), size));
1206 return roughness_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1211 return roughness_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1219 roughness_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
roughness_map);
1233 glossiness_ = value;
1239 glossiness_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1243 return glossiness_map_.GetNoArena();
1247 glossiness_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1253 glossiness_map_.SetNoArena(
1254 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::move(value));
1259 GOOGLE_DCHECK(value != NULL);
1261 glossiness_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
1266 glossiness_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1267 ::
std::string(
reinterpret_cast<const char*
>(value), size));
1273 return glossiness_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1278 return glossiness_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1286 glossiness_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
glossiness_map);
1292 specular_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1296 return specular_map_.GetNoArena();
1300 specular_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1306 specular_map_.SetNoArena(
1307 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::move(value));
1312 GOOGLE_DCHECK(value != NULL);
1314 specular_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
1319 specular_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1320 ::
std::string(
reinterpret_cast<const char*
>(value), size));
1326 return specular_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1331 return specular_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1339 specular_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
specular_map);
1345 environment_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1349 return environment_map_.GetNoArena();
1353 environment_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1359 environment_map_.SetNoArena(
1360 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::move(value));
1365 GOOGLE_DCHECK(value != NULL);
1367 environment_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
1372 environment_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1373 ::
std::string(
reinterpret_cast<const char*
>(value), size));
1379 return environment_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1384 return environment_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1392 environment_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
environment_map);
1398 ambient_occlusion_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1402 return ambient_occlusion_map_.GetNoArena();
1406 ambient_occlusion_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1412 ambient_occlusion_map_.SetNoArena(
1413 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::move(value));
1418 GOOGLE_DCHECK(value != NULL);
1420 ambient_occlusion_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
1425 ambient_occlusion_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1426 ::
std::string(
reinterpret_cast<const char*
>(value), size));
1432 return ambient_occlusion_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1437 return ambient_occlusion_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1445 ambient_occlusion_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
ambient_occlusion_map);
1451 emissive_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1455 return emissive_map_.GetNoArena();
1459 emissive_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1465 emissive_map_.SetNoArena(
1466 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::move(value));
1471 GOOGLE_DCHECK(value != NULL);
1473 emissive_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
1478 emissive_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1479 ::
std::string(
reinterpret_cast<const char*
>(value), size));
1485 return emissive_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1490 return emissive_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1498 emissive_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
emissive_map);
1504 light_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1508 return light_map_.GetNoArena();
1512 light_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1518 light_map_.SetNoArena(
1519 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::move(value));
1524 GOOGLE_DCHECK(value != NULL);
1526 light_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
1531 light_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1532 ::
std::string(
reinterpret_cast<const char*
>(value), size));
1538 return light_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1543 return light_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1551 light_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
light_map);
1557 light_map_texcoord_set_ = 0u;
1561 return light_map_texcoord_set_;
1565 light_map_texcoord_set_ = value;
1577 inline const ::gz::msgs::Header& Material::_internal_header()
const {
1581 const ::gz::msgs::Header* p = header_;
1595 if (header_ == NULL) {
1596 auto* p = CreateMaybeMessage<::gz::msgs::Header>(GetArenaNoVirtual());
1603 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1604 if (message_arena == NULL) {
1605 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(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);
1626 if (GetArenaNoVirtual() == NULL && script_ != NULL) {
1631 inline const ::gz::msgs::Material_Script& Material::_internal_script()
const {
1635 const ::gz::msgs::Material_Script* p = script_;
1649 if (script_ == NULL) {
1650 auto* p = CreateMaybeMessage<::gz::msgs::Material_Script>(GetArenaNoVirtual());
1657 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1658 if (message_arena == NULL) {
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);
1685 shader_type_ = value;
1691 normal_map_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1695 return normal_map_.GetNoArena();
1699 normal_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1705 normal_map_.SetNoArena(
1706 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::move(value));
1711 GOOGLE_DCHECK(value != NULL);
1713 normal_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
1718 normal_map_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1719 ::
std::string(
reinterpret_cast<const char*
>(value), size));
1725 return normal_map_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1730 return normal_map_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1738 normal_map_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
normal_map);
1746 inline const ::gz::msgs::Color& Material::_internal_ambient()
const {
1750 const ::gz::msgs::Color* p = ambient_;
1764 if (ambient_ == NULL) {
1765 auto* p = CreateMaybeMessage<::gz::msgs::Color>(GetArenaNoVirtual());
1772 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1773 if (message_arena == NULL) {
1774 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(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);
1794 inline const ::gz::msgs::Color& Material::_internal_diffuse()
const {
1798 const ::gz::msgs::Color* p = diffuse_;
1812 if (diffuse_ == NULL) {
1813 auto* p = CreateMaybeMessage<::gz::msgs::Color>(GetArenaNoVirtual());
1820 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1821 if (message_arena == NULL) {
1822 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(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);
1842 inline const ::gz::msgs::Color& Material::_internal_specular()
const {
1846 const ::gz::msgs::Color* p = specular_;
1860 if (specular_ == NULL) {
1861 auto* p = CreateMaybeMessage<::gz::msgs::Color>(GetArenaNoVirtual());
1868 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1869 if (message_arena == NULL) {
1870 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(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);
1890 inline const ::gz::msgs::Color& Material::_internal_emissive()
const {
1894 const ::gz::msgs::Color* p = emissive_;
1908 if (emissive_ == NULL) {
1909 auto* p = CreateMaybeMessage<::gz::msgs::Color>(GetArenaNoVirtual());
1916 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1917 if (message_arena == NULL) {
1918 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(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);
1953 if (GetArenaNoVirtual() == NULL && pbr_ != NULL) {
1958 inline const ::gz::msgs::Material_PBR& Material::_internal_pbr()
const {
1962 const ::gz::msgs::Material_PBR* p = pbr_;
1977 auto* p = CreateMaybeMessage<::gz::msgs::Material_PBR>(GetArenaNoVirtual());
1984 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1985 if (message_arena == NULL) {
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);
2008 return render_order_;
2012 render_order_ = value;
2018 double_sided_ =
false;
2022 return double_sided_;
2026 double_sided_ = value;
2045 #pragma GCC diagnostic pop
2058 namespace protobuf {
2062 inline const EnumDescriptor* GetEnumDescriptor< ::gz::msgs::Material_PBR_WorkflowType>() {
2067 inline const EnumDescriptor* GetEnumDescriptor< ::gz::msgs::Material_ShaderType>() {
2076 #endif // PROTOBUF_INCLUDED_gz_2fmsgs_2fmaterial_2eproto