public override int GetHashCode() { int hash = 1; if (lonEndCondition_ != null) { hash ^= LonEndCondition.GetHashCode(); } if (tStrategy_ != null) { hash ^= TStrategy.GetHashCode(); } return(hash); }
public void MergeFrom(LonSampleConfig other) { if (other == null) { return; } if (other.lonEndCondition_ != null) { if (lonEndCondition_ == null) { lonEndCondition_ = new global::Apollo.Planning.LonCondition(); } LonEndCondition.MergeFrom(other.LonEndCondition); } if (other.tStrategy_ != null) { if (tStrategy_ == null) { tStrategy_ = new global::Apollo.Planning.TStrategy(); } TStrategy.MergeFrom(other.TStrategy); } }