Package org.apache.beam.examples.common
Interface ExamplePubsubTopicOptions
-
- All Superinterfaces:
org.apache.beam.sdk.extensions.gcp.options.GcpOptions,org.apache.beam.sdk.extensions.gcp.options.GoogleApiDebugOptions,org.apache.beam.sdk.transforms.display.HasDisplayData,org.apache.beam.sdk.options.PipelineOptions
- All Known Subinterfaces:
ExamplePubsubTopicAndSubscriptionOptions
public interface ExamplePubsubTopicOptions extends org.apache.beam.sdk.extensions.gcp.options.GcpOptionsOptions that can be used to configure Pub/Sub topic in Beam examples.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classExamplePubsubTopicOptions.PubsubTopicFactoryReturns a default Pub/Sub topic based on the project and the job names.-
Nested classes/interfaces inherited from interface org.apache.beam.sdk.extensions.gcp.options.GcpOptions
org.apache.beam.sdk.extensions.gcp.options.GcpOptions.DefaultProjectFactory, org.apache.beam.sdk.extensions.gcp.options.GcpOptions.EnableStreamingEngineFactory, org.apache.beam.sdk.extensions.gcp.options.GcpOptions.GcpOAuthScopesFactory, org.apache.beam.sdk.extensions.gcp.options.GcpOptions.GcpTempLocationFactory, org.apache.beam.sdk.extensions.gcp.options.GcpOptions.GcpUserCredentialsFactory
-
Nested classes/interfaces inherited from interface org.apache.beam.sdk.extensions.gcp.options.GoogleApiDebugOptions
org.apache.beam.sdk.extensions.gcp.options.GoogleApiDebugOptions.GoogleApiTracer
-
Nested classes/interfaces inherited from interface org.apache.beam.sdk.options.PipelineOptions
org.apache.beam.sdk.options.PipelineOptions.AtomicLongFactory, org.apache.beam.sdk.options.PipelineOptions.CheckEnabled, org.apache.beam.sdk.options.PipelineOptions.DirectRunner, org.apache.beam.sdk.options.PipelineOptions.JobNameFactory, org.apache.beam.sdk.options.PipelineOptions.UserAgentFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetPubsubTopic()voidsetPubsubTopic(java.lang.String topic)-
Methods inherited from interface org.apache.beam.sdk.extensions.gcp.options.GcpOptions
getCredentialFactoryClass, getDataflowKmsKey, getGcpCredential, getGcpOauthScopes, getGcpTempLocation, getImpersonateServiceAccount, getProject, getWorkerRegion, getWorkerZone, getZone, isEnableStreamingEngine, setCredentialFactoryClass, setDataflowKmsKey, setEnableStreamingEngine, setGcpCredential, setGcpOauthScopes, setGcpTempLocation, setImpersonateServiceAccount, setProject, setWorkerRegion, setWorkerZone, setZone
-
Methods inherited from interface org.apache.beam.sdk.extensions.gcp.options.GoogleApiDebugOptions
getGoogleApiTrace, setGoogleApiTrace
-
-
-
-
Method Detail
-
getPubsubTopic
@InstanceFactory(PubsubTopicFactory.class) java.lang.String getPubsubTopic()
-
setPubsubTopic
void setPubsubTopic(java.lang.String topic)
-
-