Package com.google.pubsub.v1
Interface IngestionDataSourceSettings.CloudStorageOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
IngestionDataSourceSettings.CloudStorage,IngestionDataSourceSettings.CloudStorage.Builder
- Enclosing class:
- IngestionDataSourceSettings
public static interface IngestionDataSourceSettings.CloudStorageOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.Optional.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.com.google.protobuf.TimestampOptional.com.google.protobuf.TimestampOrBuilderOptional.Optional.Optional.getState()Output only.intOutput only.Optional.Optional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getStateValue
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:
- The enum numeric value on the wire for 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:
- The state.
-
getBucket
String getBucket()Optional. Cloud Storage bucket. The bucket name must be without any prefix like "gs://". See the [bucket naming requirements] (https://cloud.google.com/storage/docs/buckets#naming).
string bucket = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bucket.
-
getBucketBytes
com.google.protobuf.ByteString getBucketBytes()Optional. Cloud Storage bucket. The bucket name must be without any prefix like "gs://". See the [bucket naming requirements] (https://cloud.google.com/storage/docs/buckets#naming).
string bucket = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for bucket.
-
hasTextFormat
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:
- Whether the textFormat field is set.
-
getTextFormat
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:
- The textFormat.
-
getTextFormatOrBuilder
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]; -
hasAvroFormat
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:
- Whether the avroFormat field is set.
-
getAvroFormat
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:
- The avroFormat.
-
getAvroFormatOrBuilder
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]; -
hasPubsubAvroFormat
boolean hasPubsubAvroFormat()Optional. It will be assumed data from Cloud Storage was written via [Cloud Storage subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage).
.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat pubsub_avro_format = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the pubsubAvroFormat field is set.
-
getPubsubAvroFormat
IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat getPubsubAvroFormat()Optional. It will be assumed data from Cloud Storage was written via [Cloud Storage subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage).
.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat pubsub_avro_format = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The pubsubAvroFormat.
-
getPubsubAvroFormatOrBuilder
IngestionDataSourceSettings.CloudStorage.PubSubAvroFormatOrBuilder getPubsubAvroFormatOrBuilder()Optional. It will be assumed data from Cloud Storage was written via [Cloud Storage subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage).
.google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat pubsub_avro_format = 5 [(.google.api.field_behavior) = OPTIONAL]; -
hasMinimumObjectCreateTime
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:
- Whether the minimumObjectCreateTime field is set.
-
getMinimumObjectCreateTime
com.google.protobuf.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:
- The minimumObjectCreateTime.
-
getMinimumObjectCreateTimeOrBuilder
com.google.protobuf.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]; -
getMatchGlob
String getMatchGlob()Optional. Glob pattern used to match objects that will be ingested. If unset, all objects will be ingested. See the [supported patterns](https://cloud.google.com/storage/docs/json_api/v1/objects/list#list-objects-and-prefixes-using-glob).
string match_glob = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The matchGlob.
-
getMatchGlobBytes
com.google.protobuf.ByteString getMatchGlobBytes()Optional. Glob pattern used to match objects that will be ingested. If unset, all objects will be ingested. See the [supported patterns](https://cloud.google.com/storage/docs/json_api/v1/objects/list#list-objects-and-prefixes-using-glob).
string match_glob = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for matchGlob.
-
getInputFormatCase
IngestionDataSourceSettings.CloudStorage.InputFormatCase getInputFormatCase()
-