def METHOD_NAME(self):
    response = udf_pb2.Response()
    response.METHOD_NAME.wants = udf_pb2.STREAM
    response.METHOD_NAME.provides = udf_pb2.STREAM
    response.METHOD_NAME.options['field'].valueTypes.append(udf_pb2.STRING)
    response.METHOD_NAME.options['size'].valueTypes.append(udf_pb2.INT)
    response.METHOD_NAME.options['as'].valueTypes.append(udf_pb2.STRING)
    return response