Class IngestionDataSourceSettings.CloudStorage.Builder (1.134.1)

public static final class IngestionDataSourceSettings.CloudStorage.Builder extends GeneratedMessageV3.Builder<IngestionDataSourceSettings.CloudStorage.Builder> implements IngestionDataSourceSettings.CloudStorageOrBuilder

Ingestion settings for Cloud Storage.

Protobuf type google.pubsub.v1.IngestionDataSourceSettings.CloudStorage

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public IngestionDataSourceSettings.CloudStorage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.Builder
Overrides

build()

public IngestionDataSourceSettings.CloudStorage build()
Returns
Type Description
IngestionDataSourceSettings.CloudStorage

buildPartial()

public IngestionDataSourceSettings.CloudStorage buildPartial()
Returns
Type Description
IngestionDataSourceSettings.CloudStorage

clear()

public IngestionDataSourceSettings.CloudStorage.Builder clear()
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.Builder
Overrides

clearAvroFormat()

public IngestionDataSourceSettings.CloudStorage.Builder clearAvroFormat()

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.Builder

clearBucket()

public IngestionDataSourceSettings.CloudStorage.Builder clearBucket()

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
IngestionDataSourceSettings.CloudStorage.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public IngestionDataSourceSettings.CloudStorage.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.Builder
Overrides

clearInputFormat()

public IngestionDataSourceSettings.CloudStorage.Builder clearInputFormat()
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.Builder

clearMatchGlob()

public IngestionDataSourceSettings.CloudStorage.Builder clearMatchGlob()

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
IngestionDataSourceSettings.CloudStorage.Builder

This builder for chaining.

clearMinimumObjectCreateTime()

public IngestionDataSourceSettings.CloudStorage.Builder clearMinimumObjectCreateTime()

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
IngestionDataSourceSettings.CloudStorage.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public IngestionDataSourceSettings.CloudStorage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.Builder
Overrides

clearPubsubAvroFormat()

public IngestionDataSourceSettings.CloudStorage.Builder clearPubsubAvroFormat()

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.Builder

clearState()

public IngestionDataSourceSettings.CloudStorage.Builder clearState()

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.Builder

This builder for chaining.

clearTextFormat()

public IngestionDataSourceSettings.CloudStorage.Builder clearTextFormat()

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.Builder

clone()

public IngestionDataSourceSettings.CloudStorage.Builder clone()
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.Builder
Overrides

getAvroFormat()

public 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.

getAvroFormatBuilder()

public IngestionDataSourceSettings.CloudStorage.AvroFormat.Builder getAvroFormatBuilder()

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.Builder

getAvroFormatOrBuilder()

public 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 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 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.

getDefaultInstanceForType()

public IngestionDataSourceSettings.CloudStorage getDefaultInstanceForType()
Returns
Type Description
IngestionDataSourceSettings.CloudStorage

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getInputFormatCase()

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

getMatchGlob()

public 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 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 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.

getMinimumObjectCreateTimeBuilder()

public Timestamp.Builder getMinimumObjectCreateTimeBuilder()

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
Builder

getMinimumObjectCreateTimeOrBuilder()

public 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 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.

getPubsubAvroFormatBuilder()

public IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat.Builder getPubsubAvroFormatBuilder()

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.Builder

getPubsubAvroFormatOrBuilder()

public 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 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 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 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.

getTextFormatBuilder()

public IngestionDataSourceSettings.CloudStorage.TextFormat.Builder getTextFormatBuilder()

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.Builder

getTextFormatOrBuilder()

public 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 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 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 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 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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAvroFormat(IngestionDataSourceSettings.CloudStorage.AvroFormat value)

public IngestionDataSourceSettings.CloudStorage.Builder mergeAvroFormat(IngestionDataSourceSettings.CloudStorage.AvroFormat value)

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];

Parameter
Name Description
value IngestionDataSourceSettings.CloudStorage.AvroFormat
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IngestionDataSourceSettings.CloudStorage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public IngestionDataSourceSettings.CloudStorage.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.Builder
Overrides

mergeFrom(IngestionDataSourceSettings.CloudStorage other)

public IngestionDataSourceSettings.CloudStorage.Builder mergeFrom(IngestionDataSourceSettings.CloudStorage other)
Parameter
Name Description
other IngestionDataSourceSettings.CloudStorage
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.Builder

mergeMinimumObjectCreateTime(Timestamp value)

public IngestionDataSourceSettings.CloudStorage.Builder mergeMinimumObjectCreateTime(Timestamp value)

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];

Parameter
Name Description
value Timestamp
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.Builder

mergePubsubAvroFormat(IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat value)

public IngestionDataSourceSettings.CloudStorage.Builder mergePubsubAvroFormat(IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat value)

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];

Parameter
Name Description
value IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.Builder

mergeTextFormat(IngestionDataSourceSettings.CloudStorage.TextFormat value)

public IngestionDataSourceSettings.CloudStorage.Builder mergeTextFormat(IngestionDataSourceSettings.CloudStorage.TextFormat value)

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

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

Parameter
Name Description
value IngestionDataSourceSettings.CloudStorage.TextFormat
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IngestionDataSourceSettings.CloudStorage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.Builder
Overrides

setAvroFormat(IngestionDataSourceSettings.CloudStorage.AvroFormat value)

public IngestionDataSourceSettings.CloudStorage.Builder setAvroFormat(IngestionDataSourceSettings.CloudStorage.AvroFormat value)

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];

Parameter
Name Description
value IngestionDataSourceSettings.CloudStorage.AvroFormat
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.Builder

setAvroFormat(IngestionDataSourceSettings.CloudStorage.AvroFormat.Builder builderForValue)

public IngestionDataSourceSettings.CloudStorage.Builder setAvroFormat(IngestionDataSourceSettings.CloudStorage.AvroFormat.Builder builderForValue)

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];

Parameter
Name Description
builderForValue IngestionDataSourceSettings.CloudStorage.AvroFormat.Builder
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.Builder

setBucket(String value)

public IngestionDataSourceSettings.CloudStorage.Builder setBucket(String value)

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];

Parameter
Name Description
value String

The bucket to set.

Returns
Type Description
IngestionDataSourceSettings.CloudStorage.Builder

This builder for chaining.

setBucketBytes(ByteString value)

public IngestionDataSourceSettings.CloudStorage.Builder setBucketBytes(ByteString value)

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];

Parameter
Name Description
value ByteString

The bytes for bucket to set.

Returns
Type Description
IngestionDataSourceSettings.CloudStorage.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public IngestionDataSourceSettings.CloudStorage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.Builder
Overrides

setMatchGlob(String value)

public IngestionDataSourceSettings.CloudStorage.Builder setMatchGlob(String value)

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];

Parameter
Name Description
value String

The matchGlob to set.

Returns
Type Description
IngestionDataSourceSettings.CloudStorage.Builder

This builder for chaining.

setMatchGlobBytes(ByteString value)

public IngestionDataSourceSettings.CloudStorage.Builder setMatchGlobBytes(ByteString value)

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];

Parameter
Name Description
value ByteString

The bytes for matchGlob to set.

Returns
Type Description
IngestionDataSourceSettings.CloudStorage.Builder

This builder for chaining.

setMinimumObjectCreateTime(Timestamp value)

public IngestionDataSourceSettings.CloudStorage.Builder setMinimumObjectCreateTime(Timestamp value)

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];

Parameter
Name Description
value Timestamp
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.Builder

setMinimumObjectCreateTime(Timestamp.Builder builderForValue)

public IngestionDataSourceSettings.CloudStorage.Builder setMinimumObjectCreateTime(Timestamp.Builder builderForValue)

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];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.Builder

setPubsubAvroFormat(IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat value)

public IngestionDataSourceSettings.CloudStorage.Builder setPubsubAvroFormat(IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat value)

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];

Parameter
Name Description
value IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.Builder

setPubsubAvroFormat(IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat.Builder builderForValue)

public IngestionDataSourceSettings.CloudStorage.Builder setPubsubAvroFormat(IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat.Builder builderForValue)

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];

Parameter
Name Description
builderForValue IngestionDataSourceSettings.CloudStorage.PubSubAvroFormat.Builder
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public IngestionDataSourceSettings.CloudStorage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.Builder
Overrides

setState(IngestionDataSourceSettings.CloudStorage.State value)

public IngestionDataSourceSettings.CloudStorage.Builder setState(IngestionDataSourceSettings.CloudStorage.State value)

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];

Parameter
Name Description
value IngestionDataSourceSettings.CloudStorage.State

The state to set.

Returns
Type Description
IngestionDataSourceSettings.CloudStorage.Builder

This builder for chaining.

setStateValue(int value)

public IngestionDataSourceSettings.CloudStorage.Builder setStateValue(int value)

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];

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
IngestionDataSourceSettings.CloudStorage.Builder

This builder for chaining.

setTextFormat(IngestionDataSourceSettings.CloudStorage.TextFormat value)

public IngestionDataSourceSettings.CloudStorage.Builder setTextFormat(IngestionDataSourceSettings.CloudStorage.TextFormat value)

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

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

Parameter
Name Description
value IngestionDataSourceSettings.CloudStorage.TextFormat
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.Builder

setTextFormat(IngestionDataSourceSettings.CloudStorage.TextFormat.Builder builderForValue)

public IngestionDataSourceSettings.CloudStorage.Builder setTextFormat(IngestionDataSourceSettings.CloudStorage.TextFormat.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue IngestionDataSourceSettings.CloudStorage.TextFormat.Builder
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final IngestionDataSourceSettings.CloudStorage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
IngestionDataSourceSettings.CloudStorage.Builder
Overrides