if (!LogsExportConfiguration.class.isAssignableFrom(exporterConfigClass)) {
throw new InvalidTaskParameterException("Got logsExportConfiguration parameter "
+ logsExportConfigurationClassStr + " that doesn't implement: " + LogsExportConfiguration.class.getSimpleName());
}
LogsExportConfiguration exporterConfig;
try {
exporterConfig = (LogsExportConfiguration) exporterConfigClass.newInstance();
}
catch (InstantiationException e) {
throw new InvalidTaskParameterException("Couldn't instantiate BigqueryFieldExporter set class " + logsExportConfigurationClassStr);