@Override public void finishSpecifyingOutput( String transformName, PInput input, PTransform<?, ?> transform) { // All component PCollections will already have been finished. Update their names if // appropriate. int i = 0; for (Map.Entry<TupleTag<?>, PCollection<?>> entry : pcollectionMap.entrySet()) { TupleTag<?> tag = entry.getKey(); PCollection<?> pc = entry.getValue(); if (pc.getName().equals(PValueBase.defaultName(transformName))) { pc.setName(String.format("%s.%s", transformName, tag.getOutName(i))); } i++; } }