Class TransferTypes.TransferSpec.Builder (1.0.4)

public static final class TransferTypes.TransferSpec.Builder extends GeneratedMessageV3.Builder<TransferTypes.TransferSpec.Builder> implements TransferTypes.TransferSpecOrBuilder

Configuration for running a transfer.

Protobuf type google.storagetransfer.v1.TransferSpec

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TransferTypes.TransferSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TransferTypes.TransferSpec.Builder
Overrides

build()

public TransferTypes.TransferSpec build()
Returns
TypeDescription
TransferTypes.TransferSpec

buildPartial()

public TransferTypes.TransferSpec buildPartial()
Returns
TypeDescription
TransferTypes.TransferSpec

clear()

public TransferTypes.TransferSpec.Builder clear()
Returns
TypeDescription
TransferTypes.TransferSpec.Builder
Overrides

clearAwsS3DataSource()

public TransferTypes.TransferSpec.Builder clearAwsS3DataSource()

An AWS S3 data source.

.google.storagetransfer.v1.AwsS3Data aws_s3_data_source = 2;

Returns
TypeDescription
TransferTypes.TransferSpec.Builder

clearAzureBlobStorageDataSource()

public TransferTypes.TransferSpec.Builder clearAzureBlobStorageDataSource()

An Azure Blob Storage data source.

.google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8;

Returns
TypeDescription
TransferTypes.TransferSpec.Builder

clearDataSink()

public TransferTypes.TransferSpec.Builder clearDataSink()
Returns
TypeDescription
TransferTypes.TransferSpec.Builder

clearDataSource()

public TransferTypes.TransferSpec.Builder clearDataSource()
Returns
TypeDescription
TransferTypes.TransferSpec.Builder

clearField(Descriptors.FieldDescriptor field)

public TransferTypes.TransferSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
TransferTypes.TransferSpec.Builder
Overrides

clearGcsDataSink()

public TransferTypes.TransferSpec.Builder clearGcsDataSink()

A Cloud Storage data sink.

.google.storagetransfer.v1.GcsData gcs_data_sink = 4;

Returns
TypeDescription
TransferTypes.TransferSpec.Builder

clearGcsDataSource()

public TransferTypes.TransferSpec.Builder clearGcsDataSource()

A Cloud Storage data source.

.google.storagetransfer.v1.GcsData gcs_data_source = 1;

Returns
TypeDescription
TransferTypes.TransferSpec.Builder

clearHttpDataSource()

public TransferTypes.TransferSpec.Builder clearHttpDataSource()

An HTTP URL data source.

.google.storagetransfer.v1.HttpData http_data_source = 3;

Returns
TypeDescription
TransferTypes.TransferSpec.Builder

clearObjectConditions()

public TransferTypes.TransferSpec.Builder clearObjectConditions()

Only objects that satisfy these object conditions are included in the set of data source and data sink objects. Object conditions based on objects' "last modification time" do not exclude objects in a data sink.

.google.storagetransfer.v1.ObjectConditions object_conditions = 5;

Returns
TypeDescription
TransferTypes.TransferSpec.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public TransferTypes.TransferSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
TransferTypes.TransferSpec.Builder
Overrides

clearTransferOptions()

public TransferTypes.TransferSpec.Builder clearTransferOptions()

If the option delete_objects_unique_in_sink is true and time-based object conditions such as 'last modification time' are specified, the request fails with an INVALID_ARGUMENT error.

.google.storagetransfer.v1.TransferOptions transfer_options = 6;

Returns
TypeDescription
TransferTypes.TransferSpec.Builder

clone()

public TransferTypes.TransferSpec.Builder clone()
Returns
TypeDescription
TransferTypes.TransferSpec.Builder
Overrides

getAwsS3DataSource()

public TransferTypes.AwsS3Data getAwsS3DataSource()

An AWS S3 data source.

.google.storagetransfer.v1.AwsS3Data aws_s3_data_source = 2;

Returns
TypeDescription
TransferTypes.AwsS3Data

The awsS3DataSource.

getAwsS3DataSourceBuilder()

public TransferTypes.AwsS3Data.Builder getAwsS3DataSourceBuilder()

An AWS S3 data source.

.google.storagetransfer.v1.AwsS3Data aws_s3_data_source = 2;

Returns
TypeDescription
TransferTypes.AwsS3Data.Builder

getAwsS3DataSourceOrBuilder()

public TransferTypes.AwsS3DataOrBuilder getAwsS3DataSourceOrBuilder()

An AWS S3 data source.

.google.storagetransfer.v1.AwsS3Data aws_s3_data_source = 2;

Returns
TypeDescription
TransferTypes.AwsS3DataOrBuilder

getAzureBlobStorageDataSource()

public TransferTypes.AzureBlobStorageData getAzureBlobStorageDataSource()

An Azure Blob Storage data source.

.google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8;

Returns
TypeDescription
TransferTypes.AzureBlobStorageData

The azureBlobStorageDataSource.

getAzureBlobStorageDataSourceBuilder()

public TransferTypes.AzureBlobStorageData.Builder getAzureBlobStorageDataSourceBuilder()

An Azure Blob Storage data source.

.google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8;

Returns
TypeDescription
TransferTypes.AzureBlobStorageData.Builder

getAzureBlobStorageDataSourceOrBuilder()

public TransferTypes.AzureBlobStorageDataOrBuilder getAzureBlobStorageDataSourceOrBuilder()

An Azure Blob Storage data source.

.google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8;

Returns
TypeDescription
TransferTypes.AzureBlobStorageDataOrBuilder

getDataSinkCase()

public TransferTypes.TransferSpec.DataSinkCase getDataSinkCase()
Returns
TypeDescription
TransferTypes.TransferSpec.DataSinkCase

getDataSourceCase()

public TransferTypes.TransferSpec.DataSourceCase getDataSourceCase()
Returns
TypeDescription
TransferTypes.TransferSpec.DataSourceCase

getDefaultInstanceForType()

public TransferTypes.TransferSpec getDefaultInstanceForType()
Returns
TypeDescription
TransferTypes.TransferSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGcsDataSink()

public TransferTypes.GcsData getGcsDataSink()

A Cloud Storage data sink.

.google.storagetransfer.v1.GcsData gcs_data_sink = 4;

Returns
TypeDescription
TransferTypes.GcsData

The gcsDataSink.

getGcsDataSinkBuilder()

public TransferTypes.GcsData.Builder getGcsDataSinkBuilder()

A Cloud Storage data sink.

.google.storagetransfer.v1.GcsData gcs_data_sink = 4;

Returns
TypeDescription
TransferTypes.GcsData.Builder

getGcsDataSinkOrBuilder()

public TransferTypes.GcsDataOrBuilder getGcsDataSinkOrBuilder()

A Cloud Storage data sink.

.google.storagetransfer.v1.GcsData gcs_data_sink = 4;

Returns
TypeDescription
TransferTypes.GcsDataOrBuilder

getGcsDataSource()

public TransferTypes.GcsData getGcsDataSource()

A Cloud Storage data source.

.google.storagetransfer.v1.GcsData gcs_data_source = 1;

Returns
TypeDescription
TransferTypes.GcsData

The gcsDataSource.

getGcsDataSourceBuilder()

public TransferTypes.GcsData.Builder getGcsDataSourceBuilder()

A Cloud Storage data source.

.google.storagetransfer.v1.GcsData gcs_data_source = 1;

Returns
TypeDescription
TransferTypes.GcsData.Builder

getGcsDataSourceOrBuilder()

public TransferTypes.GcsDataOrBuilder getGcsDataSourceOrBuilder()

A Cloud Storage data source.

.google.storagetransfer.v1.GcsData gcs_data_source = 1;

Returns
TypeDescription
TransferTypes.GcsDataOrBuilder

getHttpDataSource()

public TransferTypes.HttpData getHttpDataSource()

An HTTP URL data source.

.google.storagetransfer.v1.HttpData http_data_source = 3;

Returns
TypeDescription
TransferTypes.HttpData

The httpDataSource.

getHttpDataSourceBuilder()

public TransferTypes.HttpData.Builder getHttpDataSourceBuilder()

An HTTP URL data source.

.google.storagetransfer.v1.HttpData http_data_source = 3;

Returns
TypeDescription
TransferTypes.HttpData.Builder

getHttpDataSourceOrBuilder()

public TransferTypes.HttpDataOrBuilder getHttpDataSourceOrBuilder()

An HTTP URL data source.

.google.storagetransfer.v1.HttpData http_data_source = 3;

Returns
TypeDescription
TransferTypes.HttpDataOrBuilder

getObjectConditions()

public TransferTypes.ObjectConditions getObjectConditions()

Only objects that satisfy these object conditions are included in the set of data source and data sink objects. Object conditions based on objects' "last modification time" do not exclude objects in a data sink.

.google.storagetransfer.v1.ObjectConditions object_conditions = 5;

Returns
TypeDescription
TransferTypes.ObjectConditions

The objectConditions.

getObjectConditionsBuilder()

public TransferTypes.ObjectConditions.Builder getObjectConditionsBuilder()

Only objects that satisfy these object conditions are included in the set of data source and data sink objects. Object conditions based on objects' "last modification time" do not exclude objects in a data sink.

.google.storagetransfer.v1.ObjectConditions object_conditions = 5;

Returns
TypeDescription
TransferTypes.ObjectConditions.Builder

getObjectConditionsOrBuilder()

public TransferTypes.ObjectConditionsOrBuilder getObjectConditionsOrBuilder()

Only objects that satisfy these object conditions are included in the set of data source and data sink objects. Object conditions based on objects' "last modification time" do not exclude objects in a data sink.

.google.storagetransfer.v1.ObjectConditions object_conditions = 5;

Returns
TypeDescription
TransferTypes.ObjectConditionsOrBuilder

getTransferOptions()

public TransferTypes.TransferOptions getTransferOptions()

If the option delete_objects_unique_in_sink is true and time-based object conditions such as 'last modification time' are specified, the request fails with an INVALID_ARGUMENT error.

.google.storagetransfer.v1.TransferOptions transfer_options = 6;

Returns
TypeDescription
TransferTypes.TransferOptions

The transferOptions.

getTransferOptionsBuilder()

public TransferTypes.TransferOptions.Builder getTransferOptionsBuilder()

If the option delete_objects_unique_in_sink is true and time-based object conditions such as 'last modification time' are specified, the request fails with an INVALID_ARGUMENT error.

.google.storagetransfer.v1.TransferOptions transfer_options = 6;

Returns
TypeDescription
TransferTypes.TransferOptions.Builder

getTransferOptionsOrBuilder()

public TransferTypes.TransferOptionsOrBuilder getTransferOptionsOrBuilder()

If the option delete_objects_unique_in_sink is true and time-based object conditions such as 'last modification time' are specified, the request fails with an INVALID_ARGUMENT error.

.google.storagetransfer.v1.TransferOptions transfer_options = 6;

Returns
TypeDescription
TransferTypes.TransferOptionsOrBuilder

hasAwsS3DataSource()

public boolean hasAwsS3DataSource()

An AWS S3 data source.

.google.storagetransfer.v1.AwsS3Data aws_s3_data_source = 2;

Returns
TypeDescription
boolean

Whether the awsS3DataSource field is set.

hasAzureBlobStorageDataSource()

public boolean hasAzureBlobStorageDataSource()

An Azure Blob Storage data source.

.google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8;

Returns
TypeDescription
boolean

Whether the azureBlobStorageDataSource field is set.

hasGcsDataSink()

public boolean hasGcsDataSink()

A Cloud Storage data sink.

.google.storagetransfer.v1.GcsData gcs_data_sink = 4;

Returns
TypeDescription
boolean

Whether the gcsDataSink field is set.

hasGcsDataSource()

public boolean hasGcsDataSource()

A Cloud Storage data source.

.google.storagetransfer.v1.GcsData gcs_data_source = 1;

Returns
TypeDescription
boolean

Whether the gcsDataSource field is set.

hasHttpDataSource()

public boolean hasHttpDataSource()

An HTTP URL data source.

.google.storagetransfer.v1.HttpData http_data_source = 3;

Returns
TypeDescription
boolean

Whether the httpDataSource field is set.

hasObjectConditions()

public boolean hasObjectConditions()

Only objects that satisfy these object conditions are included in the set of data source and data sink objects. Object conditions based on objects' "last modification time" do not exclude objects in a data sink.

.google.storagetransfer.v1.ObjectConditions object_conditions = 5;

Returns
TypeDescription
boolean

Whether the objectConditions field is set.

hasTransferOptions()

public boolean hasTransferOptions()

If the option delete_objects_unique_in_sink is true and time-based object conditions such as 'last modification time' are specified, the request fails with an INVALID_ARGUMENT error.

.google.storagetransfer.v1.TransferOptions transfer_options = 6;

Returns
TypeDescription
boolean

Whether the transferOptions field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAwsS3DataSource(TransferTypes.AwsS3Data value)

public TransferTypes.TransferSpec.Builder mergeAwsS3DataSource(TransferTypes.AwsS3Data value)

An AWS S3 data source.

.google.storagetransfer.v1.AwsS3Data aws_s3_data_source = 2;

Parameter
NameDescription
valueTransferTypes.AwsS3Data
Returns
TypeDescription
TransferTypes.TransferSpec.Builder

mergeAzureBlobStorageDataSource(TransferTypes.AzureBlobStorageData value)

public TransferTypes.TransferSpec.Builder mergeAzureBlobStorageDataSource(TransferTypes.AzureBlobStorageData value)

An Azure Blob Storage data source.

.google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8;

Parameter
NameDescription
valueTransferTypes.AzureBlobStorageData
Returns
TypeDescription
TransferTypes.TransferSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TransferTypes.TransferSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferTypes.TransferSpec.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public TransferTypes.TransferSpec.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
TransferTypes.TransferSpec.Builder
Overrides

mergeFrom(TransferTypes.TransferSpec other)

public TransferTypes.TransferSpec.Builder mergeFrom(TransferTypes.TransferSpec other)
Parameter
NameDescription
otherTransferTypes.TransferSpec
Returns
TypeDescription
TransferTypes.TransferSpec.Builder

mergeGcsDataSink(TransferTypes.GcsData value)

public TransferTypes.TransferSpec.Builder mergeGcsDataSink(TransferTypes.GcsData value)

A Cloud Storage data sink.

.google.storagetransfer.v1.GcsData gcs_data_sink = 4;

Parameter
NameDescription
valueTransferTypes.GcsData
Returns
TypeDescription
TransferTypes.TransferSpec.Builder

mergeGcsDataSource(TransferTypes.GcsData value)

public TransferTypes.TransferSpec.Builder mergeGcsDataSource(TransferTypes.GcsData value)

A Cloud Storage data source.

.google.storagetransfer.v1.GcsData gcs_data_source = 1;

Parameter
NameDescription
valueTransferTypes.GcsData
Returns
TypeDescription
TransferTypes.TransferSpec.Builder

mergeHttpDataSource(TransferTypes.HttpData value)

public TransferTypes.TransferSpec.Builder mergeHttpDataSource(TransferTypes.HttpData value)

An HTTP URL data source.

.google.storagetransfer.v1.HttpData http_data_source = 3;

Parameter
NameDescription
valueTransferTypes.HttpData
Returns
TypeDescription
TransferTypes.TransferSpec.Builder

mergeObjectConditions(TransferTypes.ObjectConditions value)

public TransferTypes.TransferSpec.Builder mergeObjectConditions(TransferTypes.ObjectConditions value)

Only objects that satisfy these object conditions are included in the set of data source and data sink objects. Object conditions based on objects' "last modification time" do not exclude objects in a data sink.

.google.storagetransfer.v1.ObjectConditions object_conditions = 5;

Parameter
NameDescription
valueTransferTypes.ObjectConditions
Returns
TypeDescription
TransferTypes.TransferSpec.Builder

mergeTransferOptions(TransferTypes.TransferOptions value)

public TransferTypes.TransferSpec.Builder mergeTransferOptions(TransferTypes.TransferOptions value)

If the option delete_objects_unique_in_sink is true and time-based object conditions such as 'last modification time' are specified, the request fails with an INVALID_ARGUMENT error.

.google.storagetransfer.v1.TransferOptions transfer_options = 6;

Parameter
NameDescription
valueTransferTypes.TransferOptions
Returns
TypeDescription
TransferTypes.TransferSpec.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TransferTypes.TransferSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TransferTypes.TransferSpec.Builder
Overrides

setAwsS3DataSource(TransferTypes.AwsS3Data value)

public TransferTypes.TransferSpec.Builder setAwsS3DataSource(TransferTypes.AwsS3Data value)

An AWS S3 data source.

.google.storagetransfer.v1.AwsS3Data aws_s3_data_source = 2;

Parameter
NameDescription
valueTransferTypes.AwsS3Data
Returns
TypeDescription
TransferTypes.TransferSpec.Builder

setAwsS3DataSource(TransferTypes.AwsS3Data.Builder builderForValue)

public TransferTypes.TransferSpec.Builder setAwsS3DataSource(TransferTypes.AwsS3Data.Builder builderForValue)

An AWS S3 data source.

.google.storagetransfer.v1.AwsS3Data aws_s3_data_source = 2;

Parameter
NameDescription
builderForValueTransferTypes.AwsS3Data.Builder
Returns
TypeDescription
TransferTypes.TransferSpec.Builder

setAzureBlobStorageDataSource(TransferTypes.AzureBlobStorageData value)

public TransferTypes.TransferSpec.Builder setAzureBlobStorageDataSource(TransferTypes.AzureBlobStorageData value)

An Azure Blob Storage data source.

.google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8;

Parameter
NameDescription
valueTransferTypes.AzureBlobStorageData
Returns
TypeDescription
TransferTypes.TransferSpec.Builder

setAzureBlobStorageDataSource(TransferTypes.AzureBlobStorageData.Builder builderForValue)

public TransferTypes.TransferSpec.Builder setAzureBlobStorageDataSource(TransferTypes.AzureBlobStorageData.Builder builderForValue)

An Azure Blob Storage data source.

.google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8;

Parameter
NameDescription
builderForValueTransferTypes.AzureBlobStorageData.Builder
Returns
TypeDescription
TransferTypes.TransferSpec.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public TransferTypes.TransferSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TransferTypes.TransferSpec.Builder
Overrides

setGcsDataSink(TransferTypes.GcsData value)

public TransferTypes.TransferSpec.Builder setGcsDataSink(TransferTypes.GcsData value)

A Cloud Storage data sink.

.google.storagetransfer.v1.GcsData gcs_data_sink = 4;

Parameter
NameDescription
valueTransferTypes.GcsData
Returns
TypeDescription
TransferTypes.TransferSpec.Builder

setGcsDataSink(TransferTypes.GcsData.Builder builderForValue)

public TransferTypes.TransferSpec.Builder setGcsDataSink(TransferTypes.GcsData.Builder builderForValue)

A Cloud Storage data sink.

.google.storagetransfer.v1.GcsData gcs_data_sink = 4;

Parameter
NameDescription
builderForValueTransferTypes.GcsData.Builder
Returns
TypeDescription
TransferTypes.TransferSpec.Builder

setGcsDataSource(TransferTypes.GcsData value)

public TransferTypes.TransferSpec.Builder setGcsDataSource(TransferTypes.GcsData value)

A Cloud Storage data source.

.google.storagetransfer.v1.GcsData gcs_data_source = 1;

Parameter
NameDescription
valueTransferTypes.GcsData
Returns
TypeDescription
TransferTypes.TransferSpec.Builder

setGcsDataSource(TransferTypes.GcsData.Builder builderForValue)

public TransferTypes.TransferSpec.Builder setGcsDataSource(TransferTypes.GcsData.Builder builderForValue)

A Cloud Storage data source.

.google.storagetransfer.v1.GcsData gcs_data_source = 1;

Parameter
NameDescription
builderForValueTransferTypes.GcsData.Builder
Returns
TypeDescription
TransferTypes.TransferSpec.Builder

setHttpDataSource(TransferTypes.HttpData value)

public TransferTypes.TransferSpec.Builder setHttpDataSource(TransferTypes.HttpData value)

An HTTP URL data source.

.google.storagetransfer.v1.HttpData http_data_source = 3;

Parameter
NameDescription
valueTransferTypes.HttpData
Returns
TypeDescription
TransferTypes.TransferSpec.Builder

setHttpDataSource(TransferTypes.HttpData.Builder builderForValue)

public TransferTypes.TransferSpec.Builder setHttpDataSource(TransferTypes.HttpData.Builder builderForValue)

An HTTP URL data source.

.google.storagetransfer.v1.HttpData http_data_source = 3;

Parameter
NameDescription
builderForValueTransferTypes.HttpData.Builder
Returns
TypeDescription
TransferTypes.TransferSpec.Builder

setObjectConditions(TransferTypes.ObjectConditions value)

public TransferTypes.TransferSpec.Builder setObjectConditions(TransferTypes.ObjectConditions value)

Only objects that satisfy these object conditions are included in the set of data source and data sink objects. Object conditions based on objects' "last modification time" do not exclude objects in a data sink.

.google.storagetransfer.v1.ObjectConditions object_conditions = 5;

Parameter
NameDescription
valueTransferTypes.ObjectConditions
Returns
TypeDescription
TransferTypes.TransferSpec.Builder

setObjectConditions(TransferTypes.ObjectConditions.Builder builderForValue)

public TransferTypes.TransferSpec.Builder setObjectConditions(TransferTypes.ObjectConditions.Builder builderForValue)

Only objects that satisfy these object conditions are included in the set of data source and data sink objects. Object conditions based on objects' "last modification time" do not exclude objects in a data sink.

.google.storagetransfer.v1.ObjectConditions object_conditions = 5;

Parameter
NameDescription
builderForValueTransferTypes.ObjectConditions.Builder
Returns
TypeDescription
TransferTypes.TransferSpec.Builder

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

public TransferTypes.TransferSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
TransferTypes.TransferSpec.Builder
Overrides

setTransferOptions(TransferTypes.TransferOptions value)

public TransferTypes.TransferSpec.Builder setTransferOptions(TransferTypes.TransferOptions value)

If the option delete_objects_unique_in_sink is true and time-based object conditions such as 'last modification time' are specified, the request fails with an INVALID_ARGUMENT error.

.google.storagetransfer.v1.TransferOptions transfer_options = 6;

Parameter
NameDescription
valueTransferTypes.TransferOptions
Returns
TypeDescription
TransferTypes.TransferSpec.Builder

setTransferOptions(TransferTypes.TransferOptions.Builder builderForValue)

public TransferTypes.TransferSpec.Builder setTransferOptions(TransferTypes.TransferOptions.Builder builderForValue)

If the option delete_objects_unique_in_sink is true and time-based object conditions such as 'last modification time' are specified, the request fails with an INVALID_ARGUMENT error.

.google.storagetransfer.v1.TransferOptions transfer_options = 6;

Parameter
NameDescription
builderForValueTransferTypes.TransferOptions.Builder
Returns
TypeDescription
TransferTypes.TransferSpec.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final TransferTypes.TransferSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TransferTypes.TransferSpec.Builder
Overrides