Interface IngestionDataSourceSettings.CloudStorageOrBuilder (1.135.0)

public static interface IngestionDataSourceSettings.CloudStorageOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAvroFormat()

public abstract IngestionDataSourceSettings.CloudStorage.AvroFormat getAvroFormat()

Optional. Data from Cloud Storage will be interpreted in Avro format.

.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat avro_format = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestionDataSourceSettings.CloudStorage.AvroFormat

The avroFormat.

getAvroFormatOrBuilder()

public abstract IngestionDataSourceSettings.CloudStorage.AvroFormatOrBuilder getAvroFormatOrBuilder()

Optional. Data from Cloud Storage will be interpreted in Avro format.

.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat avro_format = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestionDataSourceSettings.CloudStorage.AvroFormatOrBuilder

getBucket()

public abstract String getBucket()

Optional. Cloud Storage bucket. The bucket name must be without any prefix like "gs://". See the bucket naming requirements.

string bucket = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The bucket.

getBucketBytes()

public abstract ByteString getBucketBytes()

Optional. Cloud Storage bucket. The bucket name must be without any prefix like "gs://". See the bucket naming requirements.

string bucket = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for bucket.

getInputFormatCase()

public abstract IngestionDataSourceSettings.CloudStorage.InputFormatCase getInputFormatCase()
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.InputFormatCase

getMatchGlob()

public abstract String getMatchGlob()

Optional. Glob pattern used to match objects that will be ingested. If unset, all objects will be ingested. See the supported patterns.

string match_glob = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The matchGlob.

getMatchGlobBytes()

public abstract ByteString getMatchGlobBytes()

Optional. Glob pattern used to match objects that will be ingested. If unset, all objects will be ingested. See the supported patterns.

string match_glob = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for matchGlob.

getMinimumObjectCreateTime()

public abstract Timestamp getMinimumObjectCreateTime()

Optional. Only objects with a larger or equal creation timestamp will be ingested.

.google.protobuf.Timestamp minimum_object_create_time = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Timestamp

The minimumObjectCreateTime.

getMinimumObjectCreateTimeOrBuilder()

public abstract TimestampOrBuilder getMinimumObjectCreateTimeOrBuilder()

Optional. Only objects with a larger or equal creation timestamp will be ingested.

.google.protobuf.Timestamp minimum_object_create_time = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TimestampOrBuilder

getPubsubAvroFormat()

public abstract IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat getPubsubAvroFormat()

Optional. It will be assumed data from Cloud Storage was written via Cloud Storage subscriptions.

.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat pubsub_avro_format = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat

The pubsubAvroFormat.

getPubsubAvroFormatOrBuilder()

public abstract IngestionDataSourceSettings.CloudStorage.PubSubAvroFormatOrBuilder getPubsubAvroFormatOrBuilder()

Optional. It will be assumed data from Cloud Storage was written via Cloud Storage subscriptions.

.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat pubsub_avro_format = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestionDataSourceSettings.CloudStorage.PubSubAvroFormatOrBuilder

getState()

public abstract IngestionDataSourceSettings.CloudStorage.State getState()

Output only. An output-only field that indicates the state of the Cloud Storage ingestion source.

.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
IngestionDataSourceSettings.CloudStorage.State

The state.

getStateValue()

public abstract int getStateValue()

Output only. An output-only field that indicates the state of the Cloud Storage ingestion source.

.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getTextFormat()

public abstract IngestionDataSourceSettings.CloudStorage.TextFormat getTextFormat()

Optional. Data from Cloud Storage will be interpreted as text.

.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat text_format = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestionDataSourceSettings.CloudStorage.TextFormat

The textFormat.

getTextFormatOrBuilder()

public abstract IngestionDataSourceSettings.CloudStorage.TextFormatOrBuilder getTextFormatOrBuilder()

Optional. Data from Cloud Storage will be interpreted as text.

.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat text_format = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestionDataSourceSettings.CloudStorage.TextFormatOrBuilder

hasAvroFormat()

public abstract boolean hasAvroFormat()

Optional. Data from Cloud Storage will be interpreted in Avro format.

.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.AvroFormat avro_format = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the avroFormat field is set.

hasMinimumObjectCreateTime()

public abstract boolean hasMinimumObjectCreateTime()

Optional. Only objects with a larger or equal creation timestamp will be ingested.

.google.protobuf.Timestamp minimum_object_create_time = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the minimumObjectCreateTime field is set.

hasPubsubAvroFormat()

public abstract boolean hasPubsubAvroFormat()

Optional. It will be assumed data from Cloud Storage was written via Cloud Storage subscriptions.

.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat pubsub_avro_format = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the pubsubAvroFormat field is set.

hasTextFormat()

public abstract boolean hasTextFormat()

Optional. Data from Cloud Storage will be interpreted as text.

.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.TextFormat text_format = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the textFormat field is set.