github.com/igggame/nebulas-go@v2.1.0+incompatible/nbre/fs/proto/ir.pb.h (about) 1 // Generated by the protocol buffer compiler. DO NOT EDIT! 2 // source: ir.proto 3 4 #ifndef PROTOBUF_INCLUDED_ir_2eproto 5 #define PROTOBUF_INCLUDED_ir_2eproto 6 7 #include <string> 8 9 #include <google/protobuf/stubs/common.h> 10 11 #if GOOGLE_PROTOBUF_VERSION < 3006001 12 #error This file was generated by a newer version of protoc which is 13 #error incompatible with your Protocol Buffer headers. Please update 14 #error your headers. 15 #endif 16 #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION 17 #error This file was generated by an older version of protoc which is 18 #error incompatible with your Protocol Buffer headers. Please 19 #error regenerate this file with a newer version of protoc. 20 #endif 21 22 #include <google/protobuf/io/coded_stream.h> 23 #include <google/protobuf/arena.h> 24 #include <google/protobuf/arenastring.h> 25 #include <google/protobuf/generated_message_table_driven.h> 26 #include <google/protobuf/generated_message_util.h> 27 #include <google/protobuf/inlined_string_field.h> 28 #include <google/protobuf/metadata.h> 29 #include <google/protobuf/message.h> 30 #include <google/protobuf/repeated_field.h> // IWYU pragma: export 31 #include <google/protobuf/extension_set.h> // IWYU pragma: export 32 #include <google/protobuf/unknown_field_set.h> 33 // @@protoc_insertion_point(includes) 34 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ir_2eproto 35 36 namespace protobuf_ir_2eproto { 37 // Internal implementation detail -- do not use these members. 38 struct TableStruct { 39 static const ::google::protobuf::internal::ParseTableField entries[]; 40 static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; 41 static const ::google::protobuf::internal::ParseTable schema[2]; 42 static const ::google::protobuf::internal::FieldMetadata field_metadata[]; 43 static const ::google::protobuf::internal::SerializationTable serialization_table[]; 44 static const ::google::protobuf::uint32 offsets[]; 45 }; 46 void AddDescriptors(); 47 } // namespace protobuf_ir_2eproto 48 namespace nbre { 49 class NBREIR; 50 class NBREIRDefaultTypeInternal; 51 extern NBREIRDefaultTypeInternal _NBREIR_default_instance_; 52 class NBREIRDepend; 53 class NBREIRDependDefaultTypeInternal; 54 extern NBREIRDependDefaultTypeInternal _NBREIRDepend_default_instance_; 55 } // namespace nbre 56 namespace google { 57 namespace protobuf { 58 template<> ::nbre::NBREIR* Arena::CreateMaybeMessage<::nbre::NBREIR>(Arena*); 59 template<> ::nbre::NBREIRDepend* Arena::CreateMaybeMessage<::nbre::NBREIRDepend>(Arena*); 60 } // namespace protobuf 61 } // namespace google 62 namespace nbre { 63 64 // =================================================================== 65 66 class NBREIRDepend : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:nbre.NBREIRDepend) */ { 67 public: 68 NBREIRDepend(); 69 virtual ~NBREIRDepend(); 70 71 NBREIRDepend(const NBREIRDepend& from); 72 73 inline NBREIRDepend& operator=(const NBREIRDepend& from) { 74 CopyFrom(from); 75 return *this; 76 } 77 #if LANG_CXX11 78 NBREIRDepend(NBREIRDepend&& from) noexcept 79 : NBREIRDepend() { 80 *this = ::std::move(from); 81 } 82 83 inline NBREIRDepend& operator=(NBREIRDepend&& from) noexcept { 84 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { 85 if (this != &from) InternalSwap(&from); 86 } else { 87 CopyFrom(from); 88 } 89 return *this; 90 } 91 #endif 92 static const ::google::protobuf::Descriptor* descriptor(); 93 static const NBREIRDepend& default_instance(); 94 95 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 96 static inline const NBREIRDepend* internal_default_instance() { 97 return reinterpret_cast<const NBREIRDepend*>( 98 &_NBREIRDepend_default_instance_); 99 } 100 static constexpr int kIndexInFileMessages = 101 0; 102 103 void Swap(NBREIRDepend* other); 104 friend void swap(NBREIRDepend& a, NBREIRDepend& b) { 105 a.Swap(&b); 106 } 107 108 // implements Message ---------------------------------------------- 109 110 inline NBREIRDepend* New() const final { 111 return CreateMaybeMessage<NBREIRDepend>(NULL); 112 } 113 114 NBREIRDepend* New(::google::protobuf::Arena* arena) const final { 115 return CreateMaybeMessage<NBREIRDepend>(arena); 116 } 117 void CopyFrom(const ::google::protobuf::Message& from) final; 118 void MergeFrom(const ::google::protobuf::Message& from) final; 119 void CopyFrom(const NBREIRDepend& from); 120 void MergeFrom(const NBREIRDepend& from); 121 void Clear() final; 122 bool IsInitialized() const final; 123 124 size_t ByteSizeLong() const final; 125 bool MergePartialFromCodedStream( 126 ::google::protobuf::io::CodedInputStream* input) final; 127 void SerializeWithCachedSizes( 128 ::google::protobuf::io::CodedOutputStream* output) const final; 129 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( 130 bool deterministic, ::google::protobuf::uint8* target) const final; 131 int GetCachedSize() const final { return _cached_size_.Get(); } 132 133 private: 134 void SharedCtor(); 135 void SharedDtor(); 136 void SetCachedSize(int size) const final; 137 void InternalSwap(NBREIRDepend* other); 138 private: 139 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 140 return NULL; 141 } 142 inline void* MaybeArenaPtr() const { 143 return NULL; 144 } 145 public: 146 147 ::google::protobuf::Metadata GetMetadata() const final; 148 149 // nested types ---------------------------------------------------- 150 151 // accessors ------------------------------------------------------- 152 153 // string name = 1; 154 void clear_name(); 155 static const int kNameFieldNumber = 1; 156 const ::std::string& name() const; 157 void set_name(const ::std::string& value); 158 #if LANG_CXX11 159 void set_name(::std::string&& value); 160 #endif 161 void set_name(const char* value); 162 void set_name(const char* value, size_t size); 163 ::std::string* mutable_name(); 164 ::std::string* release_name(); 165 void set_allocated_name(::std::string* name); 166 167 // uint64 version = 2; 168 void clear_version(); 169 static const int kVersionFieldNumber = 2; 170 ::google::protobuf::uint64 version() const; 171 void set_version(::google::protobuf::uint64 value); 172 173 // @@protoc_insertion_point(class_scope:nbre.NBREIRDepend) 174 private: 175 176 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 177 ::google::protobuf::internal::ArenaStringPtr name_; 178 ::google::protobuf::uint64 version_; 179 mutable ::google::protobuf::internal::CachedSize _cached_size_; 180 friend struct ::protobuf_ir_2eproto::TableStruct; 181 }; 182 // ------------------------------------------------------------------- 183 184 class NBREIR : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:nbre.NBREIR) */ { 185 public: 186 NBREIR(); 187 virtual ~NBREIR(); 188 189 NBREIR(const NBREIR& from); 190 191 inline NBREIR& operator=(const NBREIR& from) { 192 CopyFrom(from); 193 return *this; 194 } 195 #if LANG_CXX11 196 NBREIR(NBREIR&& from) noexcept 197 : NBREIR() { 198 *this = ::std::move(from); 199 } 200 201 inline NBREIR& operator=(NBREIR&& from) noexcept { 202 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { 203 if (this != &from) InternalSwap(&from); 204 } else { 205 CopyFrom(from); 206 } 207 return *this; 208 } 209 #endif 210 static const ::google::protobuf::Descriptor* descriptor(); 211 static const NBREIR& default_instance(); 212 213 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 214 static inline const NBREIR* internal_default_instance() { 215 return reinterpret_cast<const NBREIR*>( 216 &_NBREIR_default_instance_); 217 } 218 static constexpr int kIndexInFileMessages = 219 1; 220 221 void Swap(NBREIR* other); 222 friend void swap(NBREIR& a, NBREIR& b) { 223 a.Swap(&b); 224 } 225 226 // implements Message ---------------------------------------------- 227 228 inline NBREIR* New() const final { 229 return CreateMaybeMessage<NBREIR>(NULL); 230 } 231 232 NBREIR* New(::google::protobuf::Arena* arena) const final { 233 return CreateMaybeMessage<NBREIR>(arena); 234 } 235 void CopyFrom(const ::google::protobuf::Message& from) final; 236 void MergeFrom(const ::google::protobuf::Message& from) final; 237 void CopyFrom(const NBREIR& from); 238 void MergeFrom(const NBREIR& from); 239 void Clear() final; 240 bool IsInitialized() const final; 241 242 size_t ByteSizeLong() const final; 243 bool MergePartialFromCodedStream( 244 ::google::protobuf::io::CodedInputStream* input) final; 245 void SerializeWithCachedSizes( 246 ::google::protobuf::io::CodedOutputStream* output) const final; 247 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( 248 bool deterministic, ::google::protobuf::uint8* target) const final; 249 int GetCachedSize() const final { return _cached_size_.Get(); } 250 251 private: 252 void SharedCtor(); 253 void SharedDtor(); 254 void SetCachedSize(int size) const final; 255 void InternalSwap(NBREIR* other); 256 private: 257 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 258 return NULL; 259 } 260 inline void* MaybeArenaPtr() const { 261 return NULL; 262 } 263 public: 264 265 ::google::protobuf::Metadata GetMetadata() const final; 266 267 // nested types ---------------------------------------------------- 268 269 // accessors ------------------------------------------------------- 270 271 // repeated .nbre.NBREIRDepend depends = 4; 272 int depends_size() const; 273 void clear_depends(); 274 static const int kDependsFieldNumber = 4; 275 ::nbre::NBREIRDepend* mutable_depends(int index); 276 ::google::protobuf::RepeatedPtrField< ::nbre::NBREIRDepend >* 277 mutable_depends(); 278 const ::nbre::NBREIRDepend& depends(int index) const; 279 ::nbre::NBREIRDepend* add_depends(); 280 const ::google::protobuf::RepeatedPtrField< ::nbre::NBREIRDepend >& 281 depends() const; 282 283 // string name = 1; 284 void clear_name(); 285 static const int kNameFieldNumber = 1; 286 const ::std::string& name() const; 287 void set_name(const ::std::string& value); 288 #if LANG_CXX11 289 void set_name(::std::string&& value); 290 #endif 291 void set_name(const char* value); 292 void set_name(const char* value, size_t size); 293 ::std::string* mutable_name(); 294 ::std::string* release_name(); 295 void set_allocated_name(::std::string* name); 296 297 // bytes ir = 5; 298 void clear_ir(); 299 static const int kIrFieldNumber = 5; 300 const ::std::string& ir() const; 301 void set_ir(const ::std::string& value); 302 #if LANG_CXX11 303 void set_ir(::std::string&& value); 304 #endif 305 void set_ir(const char* value); 306 void set_ir(const void* value, size_t size); 307 ::std::string* mutable_ir(); 308 ::std::string* release_ir(); 309 void set_allocated_ir(::std::string* ir); 310 311 // string ir_type = 6; 312 void clear_ir_type(); 313 static const int kIrTypeFieldNumber = 6; 314 const ::std::string& ir_type() const; 315 void set_ir_type(const ::std::string& value); 316 #if LANG_CXX11 317 void set_ir_type(::std::string&& value); 318 #endif 319 void set_ir_type(const char* value); 320 void set_ir_type(const char* value, size_t size); 321 ::std::string* mutable_ir_type(); 322 ::std::string* release_ir_type(); 323 void set_allocated_ir_type(::std::string* ir_type); 324 325 // uint64 version = 2; 326 void clear_version(); 327 static const int kVersionFieldNumber = 2; 328 ::google::protobuf::uint64 version() const; 329 void set_version(::google::protobuf::uint64 value); 330 331 // uint64 height = 3; 332 void clear_height(); 333 static const int kHeightFieldNumber = 3; 334 ::google::protobuf::uint64 height() const; 335 void set_height(::google::protobuf::uint64 value); 336 337 // @@protoc_insertion_point(class_scope:nbre.NBREIR) 338 private: 339 340 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; 341 ::google::protobuf::RepeatedPtrField< ::nbre::NBREIRDepend > depends_; 342 ::google::protobuf::internal::ArenaStringPtr name_; 343 ::google::protobuf::internal::ArenaStringPtr ir_; 344 ::google::protobuf::internal::ArenaStringPtr ir_type_; 345 ::google::protobuf::uint64 version_; 346 ::google::protobuf::uint64 height_; 347 mutable ::google::protobuf::internal::CachedSize _cached_size_; 348 friend struct ::protobuf_ir_2eproto::TableStruct; 349 }; 350 // =================================================================== 351 352 353 // =================================================================== 354 355 #ifdef __GNUC__ 356 #pragma GCC diagnostic push 357 #pragma GCC diagnostic ignored "-Wstrict-aliasing" 358 #endif // __GNUC__ 359 // NBREIRDepend 360 361 // string name = 1; 362 inline void NBREIRDepend::clear_name() { 363 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 364 } 365 inline const ::std::string& NBREIRDepend::name() const { 366 // @@protoc_insertion_point(field_get:nbre.NBREIRDepend.name) 367 return name_.GetNoArena(); 368 } 369 inline void NBREIRDepend::set_name(const ::std::string& value) { 370 371 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 372 // @@protoc_insertion_point(field_set:nbre.NBREIRDepend.name) 373 } 374 #if LANG_CXX11 375 inline void NBREIRDepend::set_name(::std::string&& value) { 376 377 name_.SetNoArena( 378 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); 379 // @@protoc_insertion_point(field_set_rvalue:nbre.NBREIRDepend.name) 380 } 381 #endif 382 inline void NBREIRDepend::set_name(const char* value) { 383 GOOGLE_DCHECK(value != NULL); 384 385 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); 386 // @@protoc_insertion_point(field_set_char:nbre.NBREIRDepend.name) 387 } 388 inline void NBREIRDepend::set_name(const char* value, size_t size) { 389 390 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), 391 ::std::string(reinterpret_cast<const char*>(value), size)); 392 // @@protoc_insertion_point(field_set_pointer:nbre.NBREIRDepend.name) 393 } 394 inline ::std::string* NBREIRDepend::mutable_name() { 395 396 // @@protoc_insertion_point(field_mutable:nbre.NBREIRDepend.name) 397 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 398 } 399 inline ::std::string* NBREIRDepend::release_name() { 400 // @@protoc_insertion_point(field_release:nbre.NBREIRDepend.name) 401 402 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 403 } 404 inline void NBREIRDepend::set_allocated_name(::std::string* name) { 405 if (name != NULL) { 406 407 } else { 408 409 } 410 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); 411 // @@protoc_insertion_point(field_set_allocated:nbre.NBREIRDepend.name) 412 } 413 414 // uint64 version = 2; 415 inline void NBREIRDepend::clear_version() { 416 version_ = GOOGLE_ULONGLONG(0); 417 } 418 inline ::google::protobuf::uint64 NBREIRDepend::version() const { 419 // @@protoc_insertion_point(field_get:nbre.NBREIRDepend.version) 420 return version_; 421 } 422 inline void NBREIRDepend::set_version(::google::protobuf::uint64 value) { 423 424 version_ = value; 425 // @@protoc_insertion_point(field_set:nbre.NBREIRDepend.version) 426 } 427 428 // ------------------------------------------------------------------- 429 430 // NBREIR 431 432 // string name = 1; 433 inline void NBREIR::clear_name() { 434 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 435 } 436 inline const ::std::string& NBREIR::name() const { 437 // @@protoc_insertion_point(field_get:nbre.NBREIR.name) 438 return name_.GetNoArena(); 439 } 440 inline void NBREIR::set_name(const ::std::string& value) { 441 442 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 443 // @@protoc_insertion_point(field_set:nbre.NBREIR.name) 444 } 445 #if LANG_CXX11 446 inline void NBREIR::set_name(::std::string&& value) { 447 448 name_.SetNoArena( 449 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); 450 // @@protoc_insertion_point(field_set_rvalue:nbre.NBREIR.name) 451 } 452 #endif 453 inline void NBREIR::set_name(const char* value) { 454 GOOGLE_DCHECK(value != NULL); 455 456 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); 457 // @@protoc_insertion_point(field_set_char:nbre.NBREIR.name) 458 } 459 inline void NBREIR::set_name(const char* value, size_t size) { 460 461 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), 462 ::std::string(reinterpret_cast<const char*>(value), size)); 463 // @@protoc_insertion_point(field_set_pointer:nbre.NBREIR.name) 464 } 465 inline ::std::string* NBREIR::mutable_name() { 466 467 // @@protoc_insertion_point(field_mutable:nbre.NBREIR.name) 468 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 469 } 470 inline ::std::string* NBREIR::release_name() { 471 // @@protoc_insertion_point(field_release:nbre.NBREIR.name) 472 473 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 474 } 475 inline void NBREIR::set_allocated_name(::std::string* name) { 476 if (name != NULL) { 477 478 } else { 479 480 } 481 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); 482 // @@protoc_insertion_point(field_set_allocated:nbre.NBREIR.name) 483 } 484 485 // uint64 version = 2; 486 inline void NBREIR::clear_version() { 487 version_ = GOOGLE_ULONGLONG(0); 488 } 489 inline ::google::protobuf::uint64 NBREIR::version() const { 490 // @@protoc_insertion_point(field_get:nbre.NBREIR.version) 491 return version_; 492 } 493 inline void NBREIR::set_version(::google::protobuf::uint64 value) { 494 495 version_ = value; 496 // @@protoc_insertion_point(field_set:nbre.NBREIR.version) 497 } 498 499 // uint64 height = 3; 500 inline void NBREIR::clear_height() { 501 height_ = GOOGLE_ULONGLONG(0); 502 } 503 inline ::google::protobuf::uint64 NBREIR::height() const { 504 // @@protoc_insertion_point(field_get:nbre.NBREIR.height) 505 return height_; 506 } 507 inline void NBREIR::set_height(::google::protobuf::uint64 value) { 508 509 height_ = value; 510 // @@protoc_insertion_point(field_set:nbre.NBREIR.height) 511 } 512 513 // repeated .nbre.NBREIRDepend depends = 4; 514 inline int NBREIR::depends_size() const { 515 return depends_.size(); 516 } 517 inline void NBREIR::clear_depends() { 518 depends_.Clear(); 519 } 520 inline ::nbre::NBREIRDepend* NBREIR::mutable_depends(int index) { 521 // @@protoc_insertion_point(field_mutable:nbre.NBREIR.depends) 522 return depends_.Mutable(index); 523 } 524 inline ::google::protobuf::RepeatedPtrField< ::nbre::NBREIRDepend >* 525 NBREIR::mutable_depends() { 526 // @@protoc_insertion_point(field_mutable_list:nbre.NBREIR.depends) 527 return &depends_; 528 } 529 inline const ::nbre::NBREIRDepend& NBREIR::depends(int index) const { 530 // @@protoc_insertion_point(field_get:nbre.NBREIR.depends) 531 return depends_.Get(index); 532 } 533 inline ::nbre::NBREIRDepend* NBREIR::add_depends() { 534 // @@protoc_insertion_point(field_add:nbre.NBREIR.depends) 535 return depends_.Add(); 536 } 537 inline const ::google::protobuf::RepeatedPtrField< ::nbre::NBREIRDepend >& 538 NBREIR::depends() const { 539 // @@protoc_insertion_point(field_list:nbre.NBREIR.depends) 540 return depends_; 541 } 542 543 // bytes ir = 5; 544 inline void NBREIR::clear_ir() { 545 ir_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 546 } 547 inline const ::std::string& NBREIR::ir() const { 548 // @@protoc_insertion_point(field_get:nbre.NBREIR.ir) 549 return ir_.GetNoArena(); 550 } 551 inline void NBREIR::set_ir(const ::std::string& value) { 552 553 ir_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 554 // @@protoc_insertion_point(field_set:nbre.NBREIR.ir) 555 } 556 #if LANG_CXX11 557 inline void NBREIR::set_ir(::std::string&& value) { 558 559 ir_.SetNoArena( 560 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); 561 // @@protoc_insertion_point(field_set_rvalue:nbre.NBREIR.ir) 562 } 563 #endif 564 inline void NBREIR::set_ir(const char* value) { 565 GOOGLE_DCHECK(value != NULL); 566 567 ir_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); 568 // @@protoc_insertion_point(field_set_char:nbre.NBREIR.ir) 569 } 570 inline void NBREIR::set_ir(const void* value, size_t size) { 571 572 ir_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), 573 ::std::string(reinterpret_cast<const char*>(value), size)); 574 // @@protoc_insertion_point(field_set_pointer:nbre.NBREIR.ir) 575 } 576 inline ::std::string* NBREIR::mutable_ir() { 577 578 // @@protoc_insertion_point(field_mutable:nbre.NBREIR.ir) 579 return ir_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 580 } 581 inline ::std::string* NBREIR::release_ir() { 582 // @@protoc_insertion_point(field_release:nbre.NBREIR.ir) 583 584 return ir_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 585 } 586 inline void NBREIR::set_allocated_ir(::std::string* ir) { 587 if (ir != NULL) { 588 589 } else { 590 591 } 592 ir_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ir); 593 // @@protoc_insertion_point(field_set_allocated:nbre.NBREIR.ir) 594 } 595 596 // string ir_type = 6; 597 inline void NBREIR::clear_ir_type() { 598 ir_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 599 } 600 inline const ::std::string& NBREIR::ir_type() const { 601 // @@protoc_insertion_point(field_get:nbre.NBREIR.ir_type) 602 return ir_type_.GetNoArena(); 603 } 604 inline void NBREIR::set_ir_type(const ::std::string& value) { 605 606 ir_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 607 // @@protoc_insertion_point(field_set:nbre.NBREIR.ir_type) 608 } 609 #if LANG_CXX11 610 inline void NBREIR::set_ir_type(::std::string&& value) { 611 612 ir_type_.SetNoArena( 613 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); 614 // @@protoc_insertion_point(field_set_rvalue:nbre.NBREIR.ir_type) 615 } 616 #endif 617 inline void NBREIR::set_ir_type(const char* value) { 618 GOOGLE_DCHECK(value != NULL); 619 620 ir_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); 621 // @@protoc_insertion_point(field_set_char:nbre.NBREIR.ir_type) 622 } 623 inline void NBREIR::set_ir_type(const char* value, size_t size) { 624 625 ir_type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), 626 ::std::string(reinterpret_cast<const char*>(value), size)); 627 // @@protoc_insertion_point(field_set_pointer:nbre.NBREIR.ir_type) 628 } 629 inline ::std::string* NBREIR::mutable_ir_type() { 630 631 // @@protoc_insertion_point(field_mutable:nbre.NBREIR.ir_type) 632 return ir_type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 633 } 634 inline ::std::string* NBREIR::release_ir_type() { 635 // @@protoc_insertion_point(field_release:nbre.NBREIR.ir_type) 636 637 return ir_type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 638 } 639 inline void NBREIR::set_allocated_ir_type(::std::string* ir_type) { 640 if (ir_type != NULL) { 641 642 } else { 643 644 } 645 ir_type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ir_type); 646 // @@protoc_insertion_point(field_set_allocated:nbre.NBREIR.ir_type) 647 } 648 649 #ifdef __GNUC__ 650 #pragma GCC diagnostic pop 651 #endif // __GNUC__ 652 // ------------------------------------------------------------------- 653 654 655 // @@protoc_insertion_point(namespace_scope) 656 657 } // namespace nbre 658 659 // @@protoc_insertion_point(global_scope) 660 661 #endif // PROTOBUF_INCLUDED_ir_2eproto