public interface DataflowPipelineOptions extends PipelineOptions, GcpOptions, ApplicationNameOptions, DataflowPipelineDebugOptions, DataflowPipelineWorkerPoolOptions, BigQueryOptions, GcsOptions, StreamingOptions, CloudDebuggerOptions, DataflowWorkerLoggingOptions, DataflowProfilingOptions
DataflowPipeline
.Modifier and Type | Interface and Description |
---|---|
static class |
DataflowPipelineOptions.JobNameFactory
Returns a normalized job name constructed from
ApplicationNameOptions.getAppName() , the
local system user name (if available), and the current time. |
DataflowPipelineDebugOptions.DataflowClientFactory, DataflowPipelineDebugOptions.PathValidatorFactory, DataflowPipelineDebugOptions.StagerFactory
DataflowPipelineWorkerPoolOptions.AutoscalingAlgorithmType, DataflowPipelineWorkerPoolOptions.TeardownPolicy, DataflowPipelineWorkerPoolOptions.WorkerHarnessContainerImageFactory
GcpOptions.CredentialDirFactory, GcpOptions.DefaultProjectFactory, GcpOptions.GcpUserCredentialsFactory
GoogleApiDebugOptions.GoogleApiTracer
PipelineOptions.CheckEnabled
GcsOptions.ExecutorServiceFactory
DataflowWorkerLoggingOptions.Level, DataflowWorkerLoggingOptions.WorkerLogLevelOverrides
DataflowProfilingOptions.DataflowProfilingAgentConfiguration
Modifier and Type | Method and Description |
---|---|
String |
getJobName()
The Dataflow job name is used as an idempotence key within the Dataflow service.
|
Map<String,String> |
getLabels()
Labels that will be applied to the billing records for this job.
|
String |
getProject()
Project id to use when launching jobs.
|
String |
getStagingLocation()
GCS path for staging local files, e.g.
|
boolean |
getUpdate()
Whether to update the currently running pipeline with the same name as this one.
|
void |
setJobName(String value) |
void |
setLabels(Map<String,String> labels) |
void |
setProject(String value) |
void |
setStagingLocation(String value) |
void |
setUpdate(boolean value) |
getApiRootUrl, getDataflowClient, getDataflowEndpoint, getDataflowJobFile, getDumpHeapOnOOM, getExperiments, getNumberOfWorkerHarnessThreads, getOverrideWindmillBinary, getPathValidator, getPathValidatorClass, getPubsubRootUrl, getStager, getStagerClass, getTransformNameMapping, getWindmillServiceEndpoint, getWindmillServicePort, setApiRootUrl, setDataflowClient, setDataflowEndpoint, setDataflowJobFile, setDumpHeapOnOOM, setExperiments, setNumberOfWorkerHarnessThreads, setOverrideWindmillBinary, setPathValidator, setPathValidatorClass, setPubsubRootUrl, setStager, setStagerClass, setTransformNameMapping, setWindmillServiceEndpoint, setWindmillServicePort
getAutoscalingAlgorithm, getDiskSizeGb, getFilesToStage, getMaxNumWorkers, getNetwork, getNumWorkers, getSubnetwork, getTeardownPolicy, getUsePublicIps, getWorkerDiskType, getWorkerHarnessContainerImage, getWorkerMachineType, getZone, setAutoscalingAlgorithm, setDiskSizeGb, setFilesToStage, setMaxNumWorkers, setNetwork, setNumWorkers, setSubnetwork, setTeardownPolicy, setUsePublicIps, setWorkerDiskType, setWorkerHarnessContainerImage, setWorkerMachineType, setZone
getTempDatasetId, setTempDatasetId
isStreaming, setStreaming
getAppName, setAppName
getAuthorizationServerEncodedUrl, getCredentialDir, getCredentialFactoryClass, getCredentialId, getGcpCredential, getSecretsFile, getServiceAccountKeyfile, getServiceAccountName, getTokenServerUrl, setAuthorizationServerEncodedUrl, setCredentialDir, setCredentialFactoryClass, setCredentialId, setGcpCredential, setSecretsFile, setServiceAccountKeyfile, setServiceAccountName, setTokenServerUrl
getGoogleApiTrace, setGoogleApiTrace
as, cloneAs, getRunner, getStableUniqueNames, getTempLocation, setRunner, setStableUniqueNames, setTempLocation
populateDisplayData
getExecutorService, getGcsEndpoint, getGcsUploadBufferSizeBytes, getGcsUtil, setExecutorService, setGcsEndpoint, setGcsUploadBufferSizeBytes, setGcsUtil
getDebuggee, getEnableCloudDebugger, getMaxConditionCost, setDebuggee, setEnableCloudDebugger, setMaxConditionCost
getDefaultWorkerLogLevel, getWorkerLogLevelOverrides, setDefaultWorkerLogLevel, setWorkerLogLevelOverrides
getEnableProfilingAgent, getProfilingAgentConfiguration, setEnableProfilingAgent, setProfilingAgentConfiguration
@Validation.Required @Default.InstanceFactory(value=GcpOptions.DefaultProjectFactory.class) String getProject()
GcpOptions
getProject
in interface GcpOptions
void setProject(String value)
setProject
in interface GcpOptions
String getStagingLocation()
Must be a valid Cloud Storage URL, beginning with the prefix "gs://"
At least one of PipelineOptions.getTempLocation()
or getStagingLocation()
must be set. If
PipelineOptions.getTempLocation()
is not set, then the Dataflow pipeline defaults to using
getStagingLocation()
.
void setStagingLocation(String value)
@Default.InstanceFactory(value=DataflowPipelineOptions.JobNameFactory.class) String getJobName()
void setJobName(String value)
boolean getUpdate()
getUpdate
in interface DataflowPipelineDebugOptions
void setUpdate(boolean value)
setUpdate
in interface DataflowPipelineDebugOptions
Map<String,String> getLabels()