public void MergeFrom(StopPoint other) { if (other == null) { return; } if (other.S != 0D) { S = other.S; } if (other.Type != 0) { Type = other.Type; } }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 9: { S = input.ReadDouble(); break; } case 16: { type_ = (global::Apollo.Planning.StopPoint.Types.Type)input.ReadEnum(); break; } } } }