@Experimental @DefaultSchema(value=AutoValueSchema.class) public abstract class PubsubSchemaTransformWriteConfiguration extends java.lang.Object
Internal only: This class is actively being worked on, and it will likely change. We provide no backwards compatibility guarantees, and it should not be implemented outside the Beam repository.
| Modifier and Type | Class and Description |
|---|---|
static class |
PubsubSchemaTransformWriteConfiguration.Builder
Builder for
PubsubSchemaTransformWriteConfiguration. |
| Constructor and Description |
|---|
PubsubSchemaTransformWriteConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.String |
getFormat()
The expected format of the Pub/Sub message.
|
abstract java.lang.String |
getIdAttribute()
When writing to 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 java.lang.String |
getTimestampAttribute()
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 java.lang.String |
getTopic()
The topic to which to write Pub/Sub messages.
|
public PubsubSchemaTransformWriteConfiguration()
public abstract java.lang.String getTopic()
See PubsubIO.PubsubTopic.fromPath(String) for more details on the format of the
topic string.
@Nullable public abstract java.lang.String getFormat()
Used to retrieve the PayloadSerializer from
PayloadSerializers.
@Nullable public abstract java.lang.String getTimestampAttribute()
@Nullable public abstract java.lang.String getIdAttribute()