payloadBuilder.setPathComponent(getContext().getUniqueIdentifier());
}
payloadBuilder.setRunDuration((int) ((endTime - startTime) / 1000));
DataMovementEventPayloadProto payloadProto = payloadBuilder.build();
ByteBuffer payload = payloadProto.toByteString().asReadOnlyByteBuffer();
long outputSize = getContext().getCounters()
.findCounter(TaskCounter.OUTPUT_BYTES).getValue();
VertexManagerEventPayloadProto.Builder vmBuilder = VertexManagerEventPayloadProto
.newBuilder();