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