public override int GetHashCode() { int hash = 1; if (latEndCondition_ != null) { hash ^= LatEndCondition.GetHashCode(); } if (sStrategy_ != null) { hash ^= SStrategy.GetHashCode(); } return(hash); }
public void MergeFrom(LatSampleConfig other) { if (other == null) { return; } if (other.latEndCondition_ != null) { if (latEndCondition_ == null) { latEndCondition_ = new global::Apollo.Planning.LatCondition(); } LatEndCondition.MergeFrom(other.LatEndCondition); } if (other.sStrategy_ != null) { if (sStrategy_ == null) { sStrategy_ = new global::Apollo.Planning.SStrategy(); } SStrategy.MergeFrom(other.SStrategy); } }