@DefaultSchema(value=AutoValueSchema.class) public abstract class PubsubReadSchemaTransformConfiguration 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 |
PubsubReadSchemaTransformConfiguration.Builder |
| Constructor and Description |
|---|
PubsubReadSchemaTransformConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
static PubsubReadSchemaTransformConfiguration.Builder |
builder() |
abstract PubsubTestClient.PubsubTestClientFactory |
getClientFactory() |
abstract com.google.api.client.util.Clock |
getClock() |
abstract java.lang.String |
getFormat() |
abstract java.lang.String |
getSchema() |
abstract java.lang.String |
getSubscription() |
abstract java.lang.String |
getTopic() |
public PubsubReadSchemaTransformConfiguration()
@SchemaFieldDescription(value="The name of the topic to consume data from. If a topic is specified, will create a new subscription for that topic and start consuming from that point. Either a topic or a subscription must be provided. Format: projects/${PROJECT}/topics/${TOPIC}") @Nullable public abstract java.lang.String getTopic()
@SchemaFieldDescription(value="The name of the subscription to consume data. Either a topic or subscription must be provided. Format: projects/${PROJECT}/subscriptions/${SUBSCRIPTION}") @Nullable public abstract java.lang.String getSubscription()
@SchemaFieldDescription(value="The encoding format for the data stored in Pubsub. Valid options are: AVRO,JSON") public abstract java.lang.String getFormat()
@SchemaFieldDescription(value="The schema in which the data is encoded in the Pubsub topic. For AVRO data, this is a schema defined with AVRO schema syntax (https://avro.apache.org/docs/1.10.2/spec.html#schemas). For JSON data, this is a schema defined with JSON-schema syntax (https://json-schema.org/).") public abstract java.lang.String getSchema()
@Nullable public abstract PubsubTestClient.PubsubTestClientFactory getClientFactory()
@Nullable public abstract com.google.api.client.util.Clock getClock()
public static PubsubReadSchemaTransformConfiguration.Builder builder()