public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (pathPoint_ == null) { pathPoint_ = new global::Apollo.Prediction.PredictionPathPoint(); } input.ReadMessage(pathPoint_); break; } case 17: { Timestamp = input.ReadDouble(); break; } } } }
public void MergeFrom(PredictionTrajectoryPoint other) { if (other == null) { return; } if (other.pathPoint_ != null) { if (pathPoint_ == null) { pathPoint_ = new global::Apollo.Prediction.PredictionPathPoint(); } PathPoint.MergeFrom(other.PathPoint); } if (other.Timestamp != 0D) { Timestamp = other.Timestamp; } }