@Experimental @DefaultSchema(value=AutoValueSchema.class) public abstract class PubsubSchemaTransformReadConfiguration 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 |
PubsubSchemaTransformReadConfiguration.Builder |
| Constructor and Description |
|---|
PubsubSchemaTransformReadConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
static PubsubSchemaTransformReadConfiguration.Builder |
builder()
Instantiates a
PubsubSchemaTransformReadConfiguration.Builder. |
abstract Schema |
getDataSchema()
The expected schema of the Pub/Sub message.
|
abstract java.lang.String |
getDeadLetterQueue()
The Pub/Sub topic path to write failures.
|
abstract java.lang.String |
getFormat()
The expected format of the Pub/Sub message.
|
abstract java.lang.String |
getIdAttribute()
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 java.lang.String |
getProtoClass()
Used by the ProtoPayloadSerializerProvider when serializing from a Pub/Sub message.
|
abstract java.lang.String |
getSubscription()
The subscription from which to read Pub/Sub messages.
|
abstract java.lang.String |
getThriftClass()
Used by the ThriftPayloadSerializerProvider when serializing from a Pub/Sub message.
|
abstract java.lang.String |
getThriftProtocolFactoryClass()
Used by the ThriftPayloadSerializerProvider when serializing from a Pub/Sub message.
|
abstract java.lang.String |
getTimestampAttribute()
When reading from Cloud Pub/Sub where record timestamps are provided as Pub/Sub message
attributes, specifies the name of the attribute that contains the timestamp.
|
abstract java.lang.String |
getTopic()
The topic from which to read Pub/Sub messages.
|
public PubsubSchemaTransformReadConfiguration()
public static PubsubSchemaTransformReadConfiguration.Builder builder()
PubsubSchemaTransformReadConfiguration.Builder.public abstract Schema getDataSchema()
@Nullable public abstract java.lang.String getDeadLetterQueue()
See PubsubIO.PubsubTopic.fromPath(String) for more details on the format of the dead
letter queue topic string.
@Nullable public abstract java.lang.String getFormat()
Used to retrieve the PayloadSerializer from
PayloadSerializers.
@Nullable public abstract java.lang.String getProtoClass()
@Nullable public abstract java.lang.String getSubscription()
See PubsubIO.PubsubSubscription.fromPath(String) for more details on the format of
the subscription string.
@Nullable public abstract java.lang.String getThriftClass()
@Nullable public abstract java.lang.String getThriftProtocolFactoryClass()
@Nullable public abstract java.lang.String getTimestampAttribute()
@Nullable public abstract java.lang.String getIdAttribute()
@Nullable public abstract java.lang.String getTopic()
See PubsubIO.PubsubTopic.fromPath(String) for more details on the format of the
topic string.