github.com/igggame/nebulas-go@v2.1.0+incompatible/nbre/fs/proto/ir.pb.cc (about)

     1  // Generated by the protocol buffer compiler.  DO NOT EDIT!
     2  // source: ir.proto
     3  
     4  #include "ir.pb.h"
     5  
     6  #include <algorithm>
     7  
     8  #include <google/protobuf/stubs/common.h>
     9  #include <google/protobuf/stubs/port.h>
    10  #include <google/protobuf/io/coded_stream.h>
    11  #include <google/protobuf/wire_format_lite_inl.h>
    12  #include <google/protobuf/descriptor.h>
    13  #include <google/protobuf/generated_message_reflection.h>
    14  #include <google/protobuf/reflection_ops.h>
    15  #include <google/protobuf/wire_format.h>
    16  // This is a temporary google only hack
    17  #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
    18  #include "third_party/protobuf/version.h"
    19  #endif
    20  // @@protoc_insertion_point(includes)
    21  
    22  namespace protobuf_ir_2eproto {
    23  extern PROTOBUF_INTERNAL_EXPORT_protobuf_ir_2eproto ::google::protobuf::internal::SCCInfo<0> scc_info_NBREIRDepend;
    24  }  // namespace protobuf_ir_2eproto
    25  namespace nbre {
    26  class NBREIRDependDefaultTypeInternal {
    27   public:
    28    ::google::protobuf::internal::ExplicitlyConstructed<NBREIRDepend>
    29        _instance;
    30  } _NBREIRDepend_default_instance_;
    31  class NBREIRDefaultTypeInternal {
    32   public:
    33    ::google::protobuf::internal::ExplicitlyConstructed<NBREIR>
    34        _instance;
    35  } _NBREIR_default_instance_;
    36  }  // namespace nbre
    37  namespace protobuf_ir_2eproto {
    38  static void InitDefaultsNBREIRDepend() {
    39    GOOGLE_PROTOBUF_VERIFY_VERSION;
    40  
    41    {
    42      void* ptr = &::nbre::_NBREIRDepend_default_instance_;
    43      new (ptr) ::nbre::NBREIRDepend();
    44      ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
    45    }
    46    ::nbre::NBREIRDepend::InitAsDefaultInstance();
    47  }
    48  
    49  ::google::protobuf::internal::SCCInfo<0> scc_info_NBREIRDepend =
    50      {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsNBREIRDepend}, {}};
    51  
    52  static void InitDefaultsNBREIR() {
    53    GOOGLE_PROTOBUF_VERIFY_VERSION;
    54  
    55    {
    56      void* ptr = &::nbre::_NBREIR_default_instance_;
    57      new (ptr) ::nbre::NBREIR();
    58      ::google::protobuf::internal::OnShutdownDestroyMessage(ptr);
    59    }
    60    ::nbre::NBREIR::InitAsDefaultInstance();
    61  }
    62  
    63  ::google::protobuf::internal::SCCInfo<1> scc_info_NBREIR =
    64      {{ATOMIC_VAR_INIT(::google::protobuf::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsNBREIR}, {
    65        &protobuf_ir_2eproto::scc_info_NBREIRDepend.base,}};
    66  
    67  void InitDefaults() {
    68    ::google::protobuf::internal::InitSCC(&scc_info_NBREIRDepend.base);
    69    ::google::protobuf::internal::InitSCC(&scc_info_NBREIR.base);
    70  }
    71  
    72  ::google::protobuf::Metadata file_level_metadata[2];
    73  
    74  const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
    75    ~0u,  // no _has_bits_
    76    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::nbre::NBREIRDepend, _internal_metadata_),
    77    ~0u,  // no _extensions_
    78    ~0u,  // no _oneof_case_
    79    ~0u,  // no _weak_field_map_
    80    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::nbre::NBREIRDepend, name_),
    81    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::nbre::NBREIRDepend, version_),
    82    ~0u,  // no _has_bits_
    83    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::nbre::NBREIR, _internal_metadata_),
    84    ~0u,  // no _extensions_
    85    ~0u,  // no _oneof_case_
    86    ~0u,  // no _weak_field_map_
    87    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::nbre::NBREIR, name_),
    88    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::nbre::NBREIR, version_),
    89    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::nbre::NBREIR, height_),
    90    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::nbre::NBREIR, depends_),
    91    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::nbre::NBREIR, ir_),
    92    GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::nbre::NBREIR, ir_type_),
    93  };
    94  static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
    95    { 0, -1, sizeof(::nbre::NBREIRDepend)},
    96    { 7, -1, sizeof(::nbre::NBREIR)},
    97  };
    98  
    99  static ::google::protobuf::Message const * const file_default_instances[] = {
   100    reinterpret_cast<const ::google::protobuf::Message*>(&::nbre::_NBREIRDepend_default_instance_),
   101    reinterpret_cast<const ::google::protobuf::Message*>(&::nbre::_NBREIR_default_instance_),
   102  };
   103  
   104  void protobuf_AssignDescriptors() {
   105    AddDescriptors();
   106    AssignDescriptors(
   107        "ir.proto", schemas, file_default_instances, TableStruct::offsets,
   108        file_level_metadata, NULL, NULL);
   109  }
   110  
   111  void protobuf_AssignDescriptorsOnce() {
   112    static ::google::protobuf::internal::once_flag once;
   113    ::google::protobuf::internal::call_once(once, protobuf_AssignDescriptors);
   114  }
   115  
   116  void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD;
   117  void protobuf_RegisterTypes(const ::std::string&) {
   118    protobuf_AssignDescriptorsOnce();
   119    ::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 2);
   120  }
   121  
   122  void AddDescriptorsImpl() {
   123    InitDefaults();
   124    static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
   125        "\n\010ir.proto\022\004nbre\"-\n\014NBREIRDepend\022\014\n\004name"
   126        "\030\001 \001(\t\022\017\n\007version\030\002 \001(\004\"y\n\006NBREIR\022\014\n\004nam"
   127        "e\030\001 \001(\t\022\017\n\007version\030\002 \001(\004\022\016\n\006height\030\003 \001(\004"
   128        "\022#\n\007depends\030\004 \003(\0132\022.nbre.NBREIRDepend\022\n\n"
   129        "\002ir\030\005 \001(\014\022\017\n\007ir_type\030\006 \001(\tb\006proto3"
   130    };
   131    ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
   132        descriptor, 194);
   133    ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
   134      "ir.proto", &protobuf_RegisterTypes);
   135  }
   136  
   137  void AddDescriptors() {
   138    static ::google::protobuf::internal::once_flag once;
   139    ::google::protobuf::internal::call_once(once, AddDescriptorsImpl);
   140  }
   141  // Force AddDescriptors() to be called at dynamic initialization time.
   142  struct StaticDescriptorInitializer {
   143    StaticDescriptorInitializer() {
   144      AddDescriptors();
   145    }
   146  } static_descriptor_initializer;
   147  }  // namespace protobuf_ir_2eproto
   148  namespace nbre {
   149  
   150  // ===================================================================
   151  
   152  void NBREIRDepend::InitAsDefaultInstance() {
   153  }
   154  #if !defined(_MSC_VER) || _MSC_VER >= 1900
   155  const int NBREIRDepend::kNameFieldNumber;
   156  const int NBREIRDepend::kVersionFieldNumber;
   157  #endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
   158  
   159  NBREIRDepend::NBREIRDepend()
   160    : ::google::protobuf::Message(), _internal_metadata_(NULL) {
   161    ::google::protobuf::internal::InitSCC(
   162        &protobuf_ir_2eproto::scc_info_NBREIRDepend.base);
   163    SharedCtor();
   164    // @@protoc_insertion_point(constructor:nbre.NBREIRDepend)
   165  }
   166  NBREIRDepend::NBREIRDepend(const NBREIRDepend& from)
   167    : ::google::protobuf::Message(),
   168        _internal_metadata_(NULL) {
   169    _internal_metadata_.MergeFrom(from._internal_metadata_);
   170    name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   171    if (from.name().size() > 0) {
   172      name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
   173    }
   174    version_ = from.version_;
   175    // @@protoc_insertion_point(copy_constructor:nbre.NBREIRDepend)
   176  }
   177  
   178  void NBREIRDepend::SharedCtor() {
   179    name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   180    version_ = GOOGLE_ULONGLONG(0);
   181  }
   182  
   183  NBREIRDepend::~NBREIRDepend() {
   184    // @@protoc_insertion_point(destructor:nbre.NBREIRDepend)
   185    SharedDtor();
   186  }
   187  
   188  void NBREIRDepend::SharedDtor() {
   189    name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   190  }
   191  
   192  void NBREIRDepend::SetCachedSize(int size) const {
   193    _cached_size_.Set(size);
   194  }
   195  const ::google::protobuf::Descriptor* NBREIRDepend::descriptor() {
   196    ::protobuf_ir_2eproto::protobuf_AssignDescriptorsOnce();
   197    return ::protobuf_ir_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
   198  }
   199  
   200  const NBREIRDepend& NBREIRDepend::default_instance() {
   201    ::google::protobuf::internal::InitSCC(&protobuf_ir_2eproto::scc_info_NBREIRDepend.base);
   202    return *internal_default_instance();
   203  }
   204  
   205  
   206  void NBREIRDepend::Clear() {
   207  // @@protoc_insertion_point(message_clear_start:nbre.NBREIRDepend)
   208    ::google::protobuf::uint32 cached_has_bits = 0;
   209    // Prevent compiler warnings about cached_has_bits being unused
   210    (void) cached_has_bits;
   211  
   212    name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   213    version_ = GOOGLE_ULONGLONG(0);
   214    _internal_metadata_.Clear();
   215  }
   216  
   217  bool NBREIRDepend::MergePartialFromCodedStream(
   218      ::google::protobuf::io::CodedInputStream* input) {
   219  #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
   220    ::google::protobuf::uint32 tag;
   221    // @@protoc_insertion_point(parse_start:nbre.NBREIRDepend)
   222    for (;;) {
   223      ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
   224      tag = p.first;
   225      if (!p.second) goto handle_unusual;
   226      switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
   227        // string name = 1;
   228        case 1: {
   229          if (static_cast< ::google::protobuf::uint8>(tag) ==
   230              static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
   231            DO_(::google::protobuf::internal::WireFormatLite::ReadString(
   232                  input, this->mutable_name()));
   233            DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
   234              this->name().data(), static_cast<int>(this->name().length()),
   235              ::google::protobuf::internal::WireFormatLite::PARSE,
   236              "nbre.NBREIRDepend.name"));
   237          } else {
   238            goto handle_unusual;
   239          }
   240          break;
   241        }
   242  
   243        // uint64 version = 2;
   244        case 2: {
   245          if (static_cast< ::google::protobuf::uint8>(tag) ==
   246              static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
   247  
   248            DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
   249                     ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
   250                   input, &version_)));
   251          } else {
   252            goto handle_unusual;
   253          }
   254          break;
   255        }
   256  
   257        default: {
   258        handle_unusual:
   259          if (tag == 0) {
   260            goto success;
   261          }
   262          DO_(::google::protobuf::internal::WireFormat::SkipField(
   263                input, tag, _internal_metadata_.mutable_unknown_fields()));
   264          break;
   265        }
   266      }
   267    }
   268  success:
   269    // @@protoc_insertion_point(parse_success:nbre.NBREIRDepend)
   270    return true;
   271  failure:
   272    // @@protoc_insertion_point(parse_failure:nbre.NBREIRDepend)
   273    return false;
   274  #undef DO_
   275  }
   276  
   277  void NBREIRDepend::SerializeWithCachedSizes(
   278      ::google::protobuf::io::CodedOutputStream* output) const {
   279    // @@protoc_insertion_point(serialize_start:nbre.NBREIRDepend)
   280    ::google::protobuf::uint32 cached_has_bits = 0;
   281    (void) cached_has_bits;
   282  
   283    // string name = 1;
   284    if (this->name().size() > 0) {
   285      ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
   286        this->name().data(), static_cast<int>(this->name().length()),
   287        ::google::protobuf::internal::WireFormatLite::SERIALIZE,
   288        "nbre.NBREIRDepend.name");
   289      ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
   290        1, this->name(), output);
   291    }
   292  
   293    // uint64 version = 2;
   294    if (this->version() != 0) {
   295      ::google::protobuf::internal::WireFormatLite::WriteUInt64(2, this->version(), output);
   296    }
   297  
   298    if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
   299      ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
   300          (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
   301    }
   302    // @@protoc_insertion_point(serialize_end:nbre.NBREIRDepend)
   303  }
   304  
   305  ::google::protobuf::uint8* NBREIRDepend::InternalSerializeWithCachedSizesToArray(
   306      bool deterministic, ::google::protobuf::uint8* target) const {
   307    (void)deterministic; // Unused
   308    // @@protoc_insertion_point(serialize_to_array_start:nbre.NBREIRDepend)
   309    ::google::protobuf::uint32 cached_has_bits = 0;
   310    (void) cached_has_bits;
   311  
   312    // string name = 1;
   313    if (this->name().size() > 0) {
   314      ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
   315        this->name().data(), static_cast<int>(this->name().length()),
   316        ::google::protobuf::internal::WireFormatLite::SERIALIZE,
   317        "nbre.NBREIRDepend.name");
   318      target =
   319        ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
   320          1, this->name(), target);
   321    }
   322  
   323    // uint64 version = 2;
   324    if (this->version() != 0) {
   325      target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(2, this->version(), target);
   326    }
   327  
   328    if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
   329      target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
   330          (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
   331    }
   332    // @@protoc_insertion_point(serialize_to_array_end:nbre.NBREIRDepend)
   333    return target;
   334  }
   335  
   336  size_t NBREIRDepend::ByteSizeLong() const {
   337  // @@protoc_insertion_point(message_byte_size_start:nbre.NBREIRDepend)
   338    size_t total_size = 0;
   339  
   340    if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
   341      total_size +=
   342        ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
   343          (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
   344    }
   345    // string name = 1;
   346    if (this->name().size() > 0) {
   347      total_size += 1 +
   348        ::google::protobuf::internal::WireFormatLite::StringSize(
   349          this->name());
   350    }
   351  
   352    // uint64 version = 2;
   353    if (this->version() != 0) {
   354      total_size += 1 +
   355        ::google::protobuf::internal::WireFormatLite::UInt64Size(
   356          this->version());
   357    }
   358  
   359    int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
   360    SetCachedSize(cached_size);
   361    return total_size;
   362  }
   363  
   364  void NBREIRDepend::MergeFrom(const ::google::protobuf::Message& from) {
   365  // @@protoc_insertion_point(generalized_merge_from_start:nbre.NBREIRDepend)
   366    GOOGLE_DCHECK_NE(&from, this);
   367    const NBREIRDepend* source =
   368        ::google::protobuf::internal::DynamicCastToGenerated<const NBREIRDepend>(
   369            &from);
   370    if (source == NULL) {
   371    // @@protoc_insertion_point(generalized_merge_from_cast_fail:nbre.NBREIRDepend)
   372      ::google::protobuf::internal::ReflectionOps::Merge(from, this);
   373    } else {
   374    // @@protoc_insertion_point(generalized_merge_from_cast_success:nbre.NBREIRDepend)
   375      MergeFrom(*source);
   376    }
   377  }
   378  
   379  void NBREIRDepend::MergeFrom(const NBREIRDepend& from) {
   380  // @@protoc_insertion_point(class_specific_merge_from_start:nbre.NBREIRDepend)
   381    GOOGLE_DCHECK_NE(&from, this);
   382    _internal_metadata_.MergeFrom(from._internal_metadata_);
   383    ::google::protobuf::uint32 cached_has_bits = 0;
   384    (void) cached_has_bits;
   385  
   386    if (from.name().size() > 0) {
   387  
   388      name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
   389    }
   390    if (from.version() != 0) {
   391      set_version(from.version());
   392    }
   393  }
   394  
   395  void NBREIRDepend::CopyFrom(const ::google::protobuf::Message& from) {
   396  // @@protoc_insertion_point(generalized_copy_from_start:nbre.NBREIRDepend)
   397    if (&from == this) return;
   398    Clear();
   399    MergeFrom(from);
   400  }
   401  
   402  void NBREIRDepend::CopyFrom(const NBREIRDepend& from) {
   403  // @@protoc_insertion_point(class_specific_copy_from_start:nbre.NBREIRDepend)
   404    if (&from == this) return;
   405    Clear();
   406    MergeFrom(from);
   407  }
   408  
   409  bool NBREIRDepend::IsInitialized() const {
   410    return true;
   411  }
   412  
   413  void NBREIRDepend::Swap(NBREIRDepend* other) {
   414    if (other == this) return;
   415    InternalSwap(other);
   416  }
   417  void NBREIRDepend::InternalSwap(NBREIRDepend* other) {
   418    using std::swap;
   419    name_.Swap(&other->name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
   420      GetArenaNoVirtual());
   421    swap(version_, other->version_);
   422    _internal_metadata_.Swap(&other->_internal_metadata_);
   423  }
   424  
   425  ::google::protobuf::Metadata NBREIRDepend::GetMetadata() const {
   426    protobuf_ir_2eproto::protobuf_AssignDescriptorsOnce();
   427    return ::protobuf_ir_2eproto::file_level_metadata[kIndexInFileMessages];
   428  }
   429  
   430  
   431  // ===================================================================
   432  
   433  void NBREIR::InitAsDefaultInstance() {
   434  }
   435  #if !defined(_MSC_VER) || _MSC_VER >= 1900
   436  const int NBREIR::kNameFieldNumber;
   437  const int NBREIR::kVersionFieldNumber;
   438  const int NBREIR::kHeightFieldNumber;
   439  const int NBREIR::kDependsFieldNumber;
   440  const int NBREIR::kIrFieldNumber;
   441  const int NBREIR::kIrTypeFieldNumber;
   442  #endif  // !defined(_MSC_VER) || _MSC_VER >= 1900
   443  
   444  NBREIR::NBREIR()
   445    : ::google::protobuf::Message(), _internal_metadata_(NULL) {
   446    ::google::protobuf::internal::InitSCC(
   447        &protobuf_ir_2eproto::scc_info_NBREIR.base);
   448    SharedCtor();
   449    // @@protoc_insertion_point(constructor:nbre.NBREIR)
   450  }
   451  NBREIR::NBREIR(const NBREIR& from)
   452    : ::google::protobuf::Message(),
   453        _internal_metadata_(NULL),
   454        depends_(from.depends_) {
   455    _internal_metadata_.MergeFrom(from._internal_metadata_);
   456    name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   457    if (from.name().size() > 0) {
   458      name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
   459    }
   460    ir_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   461    if (from.ir().size() > 0) {
   462      ir_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.ir_);
   463    }
   464    ir_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   465    if (from.ir_type().size() > 0) {
   466      ir_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.ir_type_);
   467    }
   468    ::memcpy(&version_, &from.version_,
   469      static_cast<size_t>(reinterpret_cast<char*>(&height_) -
   470      reinterpret_cast<char*>(&version_)) + sizeof(height_));
   471    // @@protoc_insertion_point(copy_constructor:nbre.NBREIR)
   472  }
   473  
   474  void NBREIR::SharedCtor() {
   475    name_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   476    ir_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   477    ir_type_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   478    ::memset(&version_, 0, static_cast<size_t>(
   479        reinterpret_cast<char*>(&height_) -
   480        reinterpret_cast<char*>(&version_)) + sizeof(height_));
   481  }
   482  
   483  NBREIR::~NBREIR() {
   484    // @@protoc_insertion_point(destructor:nbre.NBREIR)
   485    SharedDtor();
   486  }
   487  
   488  void NBREIR::SharedDtor() {
   489    name_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   490    ir_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   491    ir_type_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   492  }
   493  
   494  void NBREIR::SetCachedSize(int size) const {
   495    _cached_size_.Set(size);
   496  }
   497  const ::google::protobuf::Descriptor* NBREIR::descriptor() {
   498    ::protobuf_ir_2eproto::protobuf_AssignDescriptorsOnce();
   499    return ::protobuf_ir_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;
   500  }
   501  
   502  const NBREIR& NBREIR::default_instance() {
   503    ::google::protobuf::internal::InitSCC(&protobuf_ir_2eproto::scc_info_NBREIR.base);
   504    return *internal_default_instance();
   505  }
   506  
   507  
   508  void NBREIR::Clear() {
   509  // @@protoc_insertion_point(message_clear_start:nbre.NBREIR)
   510    ::google::protobuf::uint32 cached_has_bits = 0;
   511    // Prevent compiler warnings about cached_has_bits being unused
   512    (void) cached_has_bits;
   513  
   514    depends_.Clear();
   515    name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   516    ir_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   517    ir_type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
   518    ::memset(&version_, 0, static_cast<size_t>(
   519        reinterpret_cast<char*>(&height_) -
   520        reinterpret_cast<char*>(&version_)) + sizeof(height_));
   521    _internal_metadata_.Clear();
   522  }
   523  
   524  bool NBREIR::MergePartialFromCodedStream(
   525      ::google::protobuf::io::CodedInputStream* input) {
   526  #define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure
   527    ::google::protobuf::uint32 tag;
   528    // @@protoc_insertion_point(parse_start:nbre.NBREIR)
   529    for (;;) {
   530      ::std::pair<::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
   531      tag = p.first;
   532      if (!p.second) goto handle_unusual;
   533      switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
   534        // string name = 1;
   535        case 1: {
   536          if (static_cast< ::google::protobuf::uint8>(tag) ==
   537              static_cast< ::google::protobuf::uint8>(10u /* 10 & 0xFF */)) {
   538            DO_(::google::protobuf::internal::WireFormatLite::ReadString(
   539                  input, this->mutable_name()));
   540            DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
   541              this->name().data(), static_cast<int>(this->name().length()),
   542              ::google::protobuf::internal::WireFormatLite::PARSE,
   543              "nbre.NBREIR.name"));
   544          } else {
   545            goto handle_unusual;
   546          }
   547          break;
   548        }
   549  
   550        // uint64 version = 2;
   551        case 2: {
   552          if (static_cast< ::google::protobuf::uint8>(tag) ==
   553              static_cast< ::google::protobuf::uint8>(16u /* 16 & 0xFF */)) {
   554  
   555            DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
   556                     ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
   557                   input, &version_)));
   558          } else {
   559            goto handle_unusual;
   560          }
   561          break;
   562        }
   563  
   564        // uint64 height = 3;
   565        case 3: {
   566          if (static_cast< ::google::protobuf::uint8>(tag) ==
   567              static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {
   568  
   569            DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
   570                     ::google::protobuf::uint64, ::google::protobuf::internal::WireFormatLite::TYPE_UINT64>(
   571                   input, &height_)));
   572          } else {
   573            goto handle_unusual;
   574          }
   575          break;
   576        }
   577  
   578        // repeated .nbre.NBREIRDepend depends = 4;
   579        case 4: {
   580          if (static_cast< ::google::protobuf::uint8>(tag) ==
   581              static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {
   582            DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(
   583                  input, add_depends()));
   584          } else {
   585            goto handle_unusual;
   586          }
   587          break;
   588        }
   589  
   590        // bytes ir = 5;
   591        case 5: {
   592          if (static_cast< ::google::protobuf::uint8>(tag) ==
   593              static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {
   594            DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(
   595                  input, this->mutable_ir()));
   596          } else {
   597            goto handle_unusual;
   598          }
   599          break;
   600        }
   601  
   602        // string ir_type = 6;
   603        case 6: {
   604          if (static_cast< ::google::protobuf::uint8>(tag) ==
   605              static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {
   606            DO_(::google::protobuf::internal::WireFormatLite::ReadString(
   607                  input, this->mutable_ir_type()));
   608            DO_(::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
   609              this->ir_type().data(), static_cast<int>(this->ir_type().length()),
   610              ::google::protobuf::internal::WireFormatLite::PARSE,
   611              "nbre.NBREIR.ir_type"));
   612          } else {
   613            goto handle_unusual;
   614          }
   615          break;
   616        }
   617  
   618        default: {
   619        handle_unusual:
   620          if (tag == 0) {
   621            goto success;
   622          }
   623          DO_(::google::protobuf::internal::WireFormat::SkipField(
   624                input, tag, _internal_metadata_.mutable_unknown_fields()));
   625          break;
   626        }
   627      }
   628    }
   629  success:
   630    // @@protoc_insertion_point(parse_success:nbre.NBREIR)
   631    return true;
   632  failure:
   633    // @@protoc_insertion_point(parse_failure:nbre.NBREIR)
   634    return false;
   635  #undef DO_
   636  }
   637  
   638  void NBREIR::SerializeWithCachedSizes(
   639      ::google::protobuf::io::CodedOutputStream* output) const {
   640    // @@protoc_insertion_point(serialize_start:nbre.NBREIR)
   641    ::google::protobuf::uint32 cached_has_bits = 0;
   642    (void) cached_has_bits;
   643  
   644    // string name = 1;
   645    if (this->name().size() > 0) {
   646      ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
   647        this->name().data(), static_cast<int>(this->name().length()),
   648        ::google::protobuf::internal::WireFormatLite::SERIALIZE,
   649        "nbre.NBREIR.name");
   650      ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
   651        1, this->name(), output);
   652    }
   653  
   654    // uint64 version = 2;
   655    if (this->version() != 0) {
   656      ::google::protobuf::internal::WireFormatLite::WriteUInt64(2, this->version(), output);
   657    }
   658  
   659    // uint64 height = 3;
   660    if (this->height() != 0) {
   661      ::google::protobuf::internal::WireFormatLite::WriteUInt64(3, this->height(), output);
   662    }
   663  
   664    // repeated .nbre.NBREIRDepend depends = 4;
   665    for (unsigned int i = 0,
   666        n = static_cast<unsigned int>(this->depends_size()); i < n; i++) {
   667      ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
   668        4,
   669        this->depends(static_cast<int>(i)),
   670        output);
   671    }
   672  
   673    // bytes ir = 5;
   674    if (this->ir().size() > 0) {
   675      ::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(
   676        5, this->ir(), output);
   677    }
   678  
   679    // string ir_type = 6;
   680    if (this->ir_type().size() > 0) {
   681      ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
   682        this->ir_type().data(), static_cast<int>(this->ir_type().length()),
   683        ::google::protobuf::internal::WireFormatLite::SERIALIZE,
   684        "nbre.NBREIR.ir_type");
   685      ::google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(
   686        6, this->ir_type(), output);
   687    }
   688  
   689    if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
   690      ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
   691          (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), output);
   692    }
   693    // @@protoc_insertion_point(serialize_end:nbre.NBREIR)
   694  }
   695  
   696  ::google::protobuf::uint8* NBREIR::InternalSerializeWithCachedSizesToArray(
   697      bool deterministic, ::google::protobuf::uint8* target) const {
   698    (void)deterministic; // Unused
   699    // @@protoc_insertion_point(serialize_to_array_start:nbre.NBREIR)
   700    ::google::protobuf::uint32 cached_has_bits = 0;
   701    (void) cached_has_bits;
   702  
   703    // string name = 1;
   704    if (this->name().size() > 0) {
   705      ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
   706        this->name().data(), static_cast<int>(this->name().length()),
   707        ::google::protobuf::internal::WireFormatLite::SERIALIZE,
   708        "nbre.NBREIR.name");
   709      target =
   710        ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
   711          1, this->name(), target);
   712    }
   713  
   714    // uint64 version = 2;
   715    if (this->version() != 0) {
   716      target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(2, this->version(), target);
   717    }
   718  
   719    // uint64 height = 3;
   720    if (this->height() != 0) {
   721      target = ::google::protobuf::internal::WireFormatLite::WriteUInt64ToArray(3, this->height(), target);
   722    }
   723  
   724    // repeated .nbre.NBREIRDepend depends = 4;
   725    for (unsigned int i = 0,
   726        n = static_cast<unsigned int>(this->depends_size()); i < n; i++) {
   727      target = ::google::protobuf::internal::WireFormatLite::
   728        InternalWriteMessageToArray(
   729          4, this->depends(static_cast<int>(i)), deterministic, target);
   730    }
   731  
   732    // bytes ir = 5;
   733    if (this->ir().size() > 0) {
   734      target =
   735        ::google::protobuf::internal::WireFormatLite::WriteBytesToArray(
   736          5, this->ir(), target);
   737    }
   738  
   739    // string ir_type = 6;
   740    if (this->ir_type().size() > 0) {
   741      ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
   742        this->ir_type().data(), static_cast<int>(this->ir_type().length()),
   743        ::google::protobuf::internal::WireFormatLite::SERIALIZE,
   744        "nbre.NBREIR.ir_type");
   745      target =
   746        ::google::protobuf::internal::WireFormatLite::WriteStringToArray(
   747          6, this->ir_type(), target);
   748    }
   749  
   750    if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
   751      target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
   752          (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()), target);
   753    }
   754    // @@protoc_insertion_point(serialize_to_array_end:nbre.NBREIR)
   755    return target;
   756  }
   757  
   758  size_t NBREIR::ByteSizeLong() const {
   759  // @@protoc_insertion_point(message_byte_size_start:nbre.NBREIR)
   760    size_t total_size = 0;
   761  
   762    if ((_internal_metadata_.have_unknown_fields() &&  ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {
   763      total_size +=
   764        ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
   765          (::google::protobuf::internal::GetProto3PreserveUnknownsDefault()   ? _internal_metadata_.unknown_fields()   : _internal_metadata_.default_instance()));
   766    }
   767    // repeated .nbre.NBREIRDepend depends = 4;
   768    {
   769      unsigned int count = static_cast<unsigned int>(this->depends_size());
   770      total_size += 1UL * count;
   771      for (unsigned int i = 0; i < count; i++) {
   772        total_size +=
   773          ::google::protobuf::internal::WireFormatLite::MessageSize(
   774            this->depends(static_cast<int>(i)));
   775      }
   776    }
   777  
   778    // string name = 1;
   779    if (this->name().size() > 0) {
   780      total_size += 1 +
   781        ::google::protobuf::internal::WireFormatLite::StringSize(
   782          this->name());
   783    }
   784  
   785    // bytes ir = 5;
   786    if (this->ir().size() > 0) {
   787      total_size += 1 +
   788        ::google::protobuf::internal::WireFormatLite::BytesSize(
   789          this->ir());
   790    }
   791  
   792    // string ir_type = 6;
   793    if (this->ir_type().size() > 0) {
   794      total_size += 1 +
   795        ::google::protobuf::internal::WireFormatLite::StringSize(
   796          this->ir_type());
   797    }
   798  
   799    // uint64 version = 2;
   800    if (this->version() != 0) {
   801      total_size += 1 +
   802        ::google::protobuf::internal::WireFormatLite::UInt64Size(
   803          this->version());
   804    }
   805  
   806    // uint64 height = 3;
   807    if (this->height() != 0) {
   808      total_size += 1 +
   809        ::google::protobuf::internal::WireFormatLite::UInt64Size(
   810          this->height());
   811    }
   812  
   813    int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);
   814    SetCachedSize(cached_size);
   815    return total_size;
   816  }
   817  
   818  void NBREIR::MergeFrom(const ::google::protobuf::Message& from) {
   819  // @@protoc_insertion_point(generalized_merge_from_start:nbre.NBREIR)
   820    GOOGLE_DCHECK_NE(&from, this);
   821    const NBREIR* source =
   822        ::google::protobuf::internal::DynamicCastToGenerated<const NBREIR>(
   823            &from);
   824    if (source == NULL) {
   825    // @@protoc_insertion_point(generalized_merge_from_cast_fail:nbre.NBREIR)
   826      ::google::protobuf::internal::ReflectionOps::Merge(from, this);
   827    } else {
   828    // @@protoc_insertion_point(generalized_merge_from_cast_success:nbre.NBREIR)
   829      MergeFrom(*source);
   830    }
   831  }
   832  
   833  void NBREIR::MergeFrom(const NBREIR& from) {
   834  // @@protoc_insertion_point(class_specific_merge_from_start:nbre.NBREIR)
   835    GOOGLE_DCHECK_NE(&from, this);
   836    _internal_metadata_.MergeFrom(from._internal_metadata_);
   837    ::google::protobuf::uint32 cached_has_bits = 0;
   838    (void) cached_has_bits;
   839  
   840    depends_.MergeFrom(from.depends_);
   841    if (from.name().size() > 0) {
   842  
   843      name_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.name_);
   844    }
   845    if (from.ir().size() > 0) {
   846  
   847      ir_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.ir_);
   848    }
   849    if (from.ir_type().size() > 0) {
   850  
   851      ir_type_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.ir_type_);
   852    }
   853    if (from.version() != 0) {
   854      set_version(from.version());
   855    }
   856    if (from.height() != 0) {
   857      set_height(from.height());
   858    }
   859  }
   860  
   861  void NBREIR::CopyFrom(const ::google::protobuf::Message& from) {
   862  // @@protoc_insertion_point(generalized_copy_from_start:nbre.NBREIR)
   863    if (&from == this) return;
   864    Clear();
   865    MergeFrom(from);
   866  }
   867  
   868  void NBREIR::CopyFrom(const NBREIR& from) {
   869  // @@protoc_insertion_point(class_specific_copy_from_start:nbre.NBREIR)
   870    if (&from == this) return;
   871    Clear();
   872    MergeFrom(from);
   873  }
   874  
   875  bool NBREIR::IsInitialized() const {
   876    return true;
   877  }
   878  
   879  void NBREIR::Swap(NBREIR* other) {
   880    if (other == this) return;
   881    InternalSwap(other);
   882  }
   883  void NBREIR::InternalSwap(NBREIR* other) {
   884    using std::swap;
   885    CastToBase(&depends_)->InternalSwap(CastToBase(&other->depends_));
   886    name_.Swap(&other->name_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
   887      GetArenaNoVirtual());
   888    ir_.Swap(&other->ir_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
   889      GetArenaNoVirtual());
   890    ir_type_.Swap(&other->ir_type_, &::google::protobuf::internal::GetEmptyStringAlreadyInited(),
   891      GetArenaNoVirtual());
   892    swap(version_, other->version_);
   893    swap(height_, other->height_);
   894    _internal_metadata_.Swap(&other->_internal_metadata_);
   895  }
   896  
   897  ::google::protobuf::Metadata NBREIR::GetMetadata() const {
   898    protobuf_ir_2eproto::protobuf_AssignDescriptorsOnce();
   899    return ::protobuf_ir_2eproto::file_level_metadata[kIndexInFileMessages];
   900  }
   901  
   902  
   903  // @@protoc_insertion_point(namespace_scope)
   904  }  // namespace nbre
   905  namespace google {
   906  namespace protobuf {
   907  template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::nbre::NBREIRDepend* Arena::CreateMaybeMessage< ::nbre::NBREIRDepend >(Arena* arena) {
   908    return Arena::CreateInternal< ::nbre::NBREIRDepend >(arena);
   909  }
   910  template<> GOOGLE_PROTOBUF_ATTRIBUTE_NOINLINE ::nbre::NBREIR* Arena::CreateMaybeMessage< ::nbre::NBREIR >(Arena* arena) {
   911    return Arena::CreateInternal< ::nbre::NBREIR >(arena);
   912  }
   913  }  // namespace protobuf
   914  }  // namespace google
   915  
   916  // @@protoc_insertion_point(global_scope)