public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (lonEndCondition_ == null) { lonEndCondition_ = new global::Apollo.Planning.LonCondition(); } input.ReadMessage(lonEndCondition_); break; } case 18: { if (tStrategy_ == null) { tStrategy_ = new global::Apollo.Planning.TStrategy(); } input.ReadMessage(tStrategy_); break; } } } }
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); } }