Marshaller<Integer> intermediateValueMarshaller = Marshallers.getIntegerMarshaller();
Reducer<Integer, Integer, ArrayList<Integer>> reducer = new CollisionFindingReducer();
Marshaller<ArrayList<Integer>> outputMarshaller = Marshallers.getSerializationMarshaller();
Output<ArrayList<Integer>, GoogleCloudStorageFileSet> output = new MarshallingOutput<>(
new GoogleCloudStorageFileOutput(bucket, "CollidingSeeds-%04d", "integers"),
outputMarshaller);
// [START mapReduceSpec]
MapReduceSpecification<Long, Integer, Integer, ArrayList<Integer>, GoogleCloudStorageFileSet>
spec = new MapReduceSpecification.Builder<>(input, mapper, reducer, output)
.setKeyMarshaller(intermediateKeyMarshaller)