.setBasePartition(ts.getBasePartition())
.addAllPartitions(ts.getPredictTouchedPartitions());
if (paramsSerializer != null) {
FastSerializer fs = paramsSerializer;
try {
fs.clear();
ts.getProcedureParameters().writeExternal(fs);
builder.setProcParams(ByteString.copyFrom(fs.getBBContainer().b));
} catch (Exception ex) {
throw new RuntimeException("Failed to serialize ParameterSet for " + ts, ex);
}