public abstract static class PubsubWriteSchemaTransformConfiguration.Builder
extends java.lang.Object
PubsubWriteSchemaTransformConfiguration
.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
abstract PubsubWriteSchemaTransformConfiguration |
build() |
abstract PubsubWriteSchemaTransformConfiguration.Builder |
setFormat(java.lang.String value)
The expected format of the Pub/Sub message.
|
abstract PubsubWriteSchemaTransformConfiguration.Builder |
setIdAttribute(java.lang.String value)
When reading from Cloud Pub/Sub where unique record identifiers are provided as Pub/Sub
message attributes, specifies the name of the attribute containing the unique identifier.
|
abstract PubsubWriteSchemaTransformConfiguration.Builder |
setSource(PubsubWriteSchemaTransformConfiguration.SourceConfiguration value)
|
abstract PubsubWriteSchemaTransformConfiguration.Builder |
setTarget(PubsubWriteSchemaTransformConfiguration.TargetConfiguration value)
Configuration details of the target
PubsubMessage . |
abstract PubsubWriteSchemaTransformConfiguration.Builder |
setTopic(java.lang.String value)
The topic to which to write Pub/Sub messages.
|
public abstract PubsubWriteSchemaTransformConfiguration.Builder setSource(PubsubWriteSchemaTransformConfiguration.SourceConfiguration value)
public abstract PubsubWriteSchemaTransformConfiguration.Builder setTarget(PubsubWriteSchemaTransformConfiguration.TargetConfiguration value)
PubsubMessage
.public abstract PubsubWriteSchemaTransformConfiguration.Builder setTopic(java.lang.String value)
See PubsubIO.PubsubTopic.fromPath(String)
for more details on the format of the
topic string.
public abstract PubsubWriteSchemaTransformConfiguration.Builder setFormat(java.lang.String value)
Used to retrieve the PayloadSerializer
from PayloadSerializers
. See list of
supported values by invoking Providers.loadProviders(Class)
.
Providers.loadProviders(PayloadSerializer.class).keySet()
public abstract PubsubWriteSchemaTransformConfiguration.Builder setIdAttribute(java.lang.String value)
public abstract PubsubWriteSchemaTransformConfiguration build()