public Builder mergeFrom(com.openxc.BinaryMessages.VehicleMessage other) { if (other == com.openxc.BinaryMessages.VehicleMessage.getDefaultInstance()) return this; if (other.hasType()) { setType(other.getType()); } if (other.hasCanMessage()) { mergeCanMessage(other.getCanMessage()); } if (other.hasSimpleMessage()) { mergeSimpleMessage(other.getSimpleMessage()); } if (other.hasDiagnosticResponse()) { mergeDiagnosticResponse(other.getDiagnosticResponse()); } if (other.hasControlCommand()) { mergeControlCommand(other.getControlCommand()); } if (other.hasCommandResponse()) { mergeCommandResponse(other.getCommandResponse()); } if (other.hasTimestamp()) { setTimestamp(other.getTimestamp()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }