Package org.apache.beam.examples.common
Interface ExamplePubsubTopicAndSubscriptionOptions
-
- All Superinterfaces:
ExamplePubsubTopicOptions,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
public interface ExamplePubsubTopicAndSubscriptionOptions extends ExamplePubsubTopicOptions
Options that can be used to configure Pub/Sub topic/subscription in Beam examples.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classExamplePubsubTopicAndSubscriptionOptions.PubsubSubscriptionFactoryReturns a default Pub/Sub subscription based on the project and the job names.-
Nested classes/interfaces inherited from interface org.apache.beam.examples.common.ExamplePubsubTopicOptions
ExamplePubsubTopicOptions.PubsubTopicFactory
-
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.StringgetPubsubSubscription()voidsetPubsubSubscription(java.lang.String subscription)-
Methods inherited from interface org.apache.beam.examples.common.ExamplePubsubTopicOptions
getPubsubTopic, setPubsubTopic
-
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
-
getPubsubSubscription
@InstanceFactory(PubsubSubscriptionFactory.class) java.lang.String getPubsubSubscription()
-
setPubsubSubscription
void setPubsubSubscription(java.lang.String subscription)
-
-