public abstract static class PubsubSchemaTransformWriteConfiguration.Builder
extends java.lang.Object
PubsubSchemaTransformWriteConfiguration.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
abstract PubsubSchemaTransformWriteConfiguration |
build()
Builds a
PubsubSchemaTransformWriteConfiguration instance. |
abstract PubsubSchemaTransformWriteConfiguration.Builder |
setFormat(java.lang.String value)
The expected format of the Pub/Sub message.
|
abstract PubsubSchemaTransformWriteConfiguration.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 PubsubSchemaTransformWriteConfiguration.Builder |
setTimestampAttribute(java.lang.String value)
When writing to Cloud Pub/Sub where record timestamps are configured as Pub/Sub message
attributes, specifies the name of the attribute that contains the timestamp.
|
abstract PubsubSchemaTransformWriteConfiguration.Builder |
setTopic(java.lang.String value)
The topic to which to write Pub/Sub messages.
|
public abstract PubsubSchemaTransformWriteConfiguration.Builder setTopic(java.lang.String value)
See PubsubIO.PubsubTopic.fromPath(String) for more details on the format of the
topic string.
public abstract PubsubSchemaTransformWriteConfiguration.Builder setFormat(java.lang.String value)
Used to retrieve the PayloadSerializer
from PayloadSerializers.
public abstract PubsubSchemaTransformWriteConfiguration.Builder setTimestampAttribute(java.lang.String value)
public abstract PubsubSchemaTransformWriteConfiguration.Builder setIdAttribute(java.lang.String value)
public abstract PubsubSchemaTransformWriteConfiguration build()
PubsubSchemaTransformWriteConfiguration instance.