Esempio n. 1
0
 public void MergeFrom(Road other)
 {
     if (other == null)
     {
         return;
     }
     if (other.id_ != null)
     {
         if (id_ == null)
         {
             id_ = new global::Apollo.Hdmap.Id();
         }
         Id.MergeFrom(other.Id);
     }
     section_.Add(other.section_);
     if (other.junctionId_ != null)
     {
         if (junctionId_ == null)
         {
             junctionId_ = new global::Apollo.Hdmap.Id();
         }
         JunctionId.MergeFrom(other.JunctionId);
     }
     if (other.Type != 0)
     {
         Type = other.Type;
     }
 }