Ejemplo n.º 1
0
 public void MergeFrom(GetOutpostDetailsResponse other)
 {
     if (other == null)
     {
         return;
     }
     imageUrls_.Add(other.imageUrls_);
     if (other.currentMenu_ != null)
     {
         if (currentMenu_ == null)
         {
             CurrentMenu = new global::WUProtos.Data.OutpostMenu();
         }
         CurrentMenu.MergeFrom(other.CurrentMenu);
     }
     if (other.PartnerId.Length != 0)
     {
         PartnerId = other.PartnerId;
     }
     if (other.poiDetails_ != null)
     {
         if (poiDetails_ == null)
         {
             PoiDetails = new global::WUProtos.Data.PoiDetails();
         }
         PoiDetails.MergeFrom(other.PoiDetails);
     }
     if (other.PoiAccessibility != 0)
     {
         PoiAccessibility = other.PoiAccessibility;
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }