@DefaultSchema(value=AutoValueSchema.class) public abstract static class PubsubLiteReadSchemaTransformProvider.PubsubLiteReadSchemaTransformConfiguration extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
PubsubLiteReadSchemaTransformProvider.PubsubLiteReadSchemaTransformConfiguration.Builder |
Constructor and Description |
---|
PubsubLiteReadSchemaTransformConfiguration() |
Modifier and Type | Method and Description |
---|---|
static PubsubLiteReadSchemaTransformProvider.PubsubLiteReadSchemaTransformConfiguration.Builder |
builder() |
abstract java.lang.String |
getFormat() |
abstract java.lang.String |
getLocation() |
abstract @Nullable java.lang.String |
getProject() |
abstract java.lang.String |
getSchema() |
abstract java.lang.String |
getSubscriptionName() |
public PubsubLiteReadSchemaTransformConfiguration()
@SchemaFieldDescription(value="The encoding format for the data stored in Pubsub Lite. Valid options are: AVRO,JSON") public abstract java.lang.String getFormat()
@SchemaFieldDescription(value="The schema in which the data is encoded in the Kafka 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()
@SchemaFieldDescription(value="The GCP project where the Pubsub Lite reservation resides. This can be a project number of a project ID.") public abstract @Nullable java.lang.String getProject()
@SchemaFieldDescription(value="The name of the subscription to consume data. This will be concatenated with the project and location parameters to build a full subscription path.") public abstract java.lang.String getSubscriptionName()
@SchemaFieldDescription(value="The region or zone where the Pubsub Lite reservation resides.") public abstract java.lang.String getLocation()
public static PubsubLiteReadSchemaTransformProvider.PubsubLiteReadSchemaTransformConfiguration.Builder builder()