public override int GetHashCode()
        {
            int hash = 1;

            if (lonSampleConfig_ != null)
            {
                hash ^= LonSampleConfig.GetHashCode();
            }
            if (latSampleConfig_ != null)
            {
                hash ^= LatSampleConfig.GetHashCode();
            }
            return(hash);
        }
 public void MergeFrom(LatticeSamplingConfig other)
 {
     if (other == null)
     {
         return;
     }
     if (other.lonSampleConfig_ != null)
     {
         if (lonSampleConfig_ == null)
         {
             lonSampleConfig_ = new global::Apollo.Planning.LonSampleConfig();
         }
         LonSampleConfig.MergeFrom(other.LonSampleConfig);
     }
     if (other.latSampleConfig_ != null)
     {
         if (latSampleConfig_ == null)
         {
             latSampleConfig_ = new global::Apollo.Planning.LatSampleConfig();
         }
         LatSampleConfig.MergeFrom(other.LatSampleConfig);
     }
 }