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

            if (junctionMetrics_ != null)
            {
                hash ^= JunctionMetrics.GetHashCode();
            }
            if (onLaneMetrics_ != null)
            {
                hash ^= OnLaneMetrics.GetHashCode();
            }
            return(hash);
        }
 public void MergeFrom(TrajectoryEvaluationMetricsGroup other)
 {
     if (other == null)
     {
         return;
     }
     if (other.junctionMetrics_ != null)
     {
         if (junctionMetrics_ == null)
         {
             junctionMetrics_ = new global::Apollo.Prediction.TrajectoryEvaluationMetrics();
         }
         JunctionMetrics.MergeFrom(other.JunctionMetrics);
     }
     if (other.onLaneMetrics_ != null)
     {
         if (onLaneMetrics_ == null)
         {
             onLaneMetrics_ = new global::Apollo.Prediction.TrajectoryEvaluationMetrics();
         }
         OnLaneMetrics.MergeFrom(other.OnLaneMetrics);
     }
 }