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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TransferTypes.TransferSpec build()
Returns
Type Description
TransferTypes.TransferSpec

buildPartial()

public TransferTypes.TransferSpec buildPartial()
Returns
Type Description
TransferTypes.TransferSpec

clear()

public TransferTypes.TransferSpec.Builder clear()
Returns
Type Description
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
Type Description
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
Type Description
TransferTypes.TransferSpec.Builder

clearDataSink()

public TransferTypes.TransferSpec.Builder clearDataSink()
Returns
Type Description
TransferTypes.TransferSpec.Builder

clearDataSource()

public TransferTypes.TransferSpec.Builder clearDataSource()
Returns
Type Description
TransferTypes.TransferSpec.Builder

clearField(Descriptors.FieldDescriptor field)

public TransferTypes.TransferSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
TransferTypes.TransferSpec.Builder
Overrides

clearGcsDataSink()

public TransferTypes.TransferSpec.Builder clearGcsDataSink()

A Cloud Storage data sink.

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

Returns
Type Description
TransferTypes.TransferSpec.Builder

clearGcsDataSource()

public TransferTypes.TransferSpec.Builder clearGcsDataSource()

A Cloud Storage data source.

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

Returns
Type Description
TransferTypes.TransferSpec.Builder

clearHttpDataSource()

public TransferTypes.TransferSpec.Builder clearHttpDataSource()

An HTTP URL data source.

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

Returns
Type Description
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
Type Description
TransferTypes.TransferSpec.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public TransferTypes.TransferSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
TransferTypes.TransferSpec.Builder

clone()

public TransferTypes.TransferSpec.Builder clone()
Returns
Type Description
TransferTypes.TransferSpec.Builder
Overrides

getAwsS3DataSource()

public TransferTypes.AwsS3Data getAwsS3DataSource()

An AWS S3 data source.

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

Returns
Type Description
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
Type Description
TransferTypes.AwsS3Data.Builder

getAwsS3DataSourceOrBuilder()

public TransferTypes.AwsS3DataOrBuilder getAwsS3DataSourceOrBuilder()

An AWS S3 data source.

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

Returns
Type Description
TransferTypes.AwsS3DataOrBuilder

getAzureBlobStorageDataSource()

public TransferTypes.AzureBlobStorageData getAzureBlobStorageDataSource()

An Azure Blob Storage data source.

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

Returns
Type Description
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
Type Description
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
Type Description
TransferTypes.AzureBlobStorageDataOrBuilder

getDataSinkCase()

public TransferTypes.TransferSpec.DataSinkCase getDataSinkCase()
Returns
Type Description
TransferTypes.TransferSpec.DataSinkCase

getDataSourceCase()

public TransferTypes.TransferSpec.DataSourceCase getDataSourceCase()
Returns
Type Description
TransferTypes.TransferSpec.DataSourceCase

getDefaultInstanceForType()

public TransferTypes.TransferSpec getDefaultInstanceForType()
Returns
Type Description
TransferTypes.TransferSpec

getDescriptorForType()

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

getGcsDataSink()

public TransferTypes.GcsData getGcsDataSink()

A Cloud Storage data sink.

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

Returns
Type Description
TransferTypes.GcsData

The gcsDataSink.

getGcsDataSinkBuilder()

public TransferTypes.GcsData.Builder getGcsDataSinkBuilder()

A Cloud Storage data sink.

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

Returns
Type Description
TransferTypes.GcsData.Builder

getGcsDataSinkOrBuilder()

public TransferTypes.GcsDataOrBuilder getGcsDataSinkOrBuilder()

A Cloud Storage data sink.

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

Returns
Type Description
TransferTypes.GcsDataOrBuilder

getGcsDataSource()

public TransferTypes.GcsData getGcsDataSource()

A Cloud Storage data source.

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

Returns
Type Description
TransferTypes.GcsData

The gcsDataSource.

getGcsDataSourceBuilder()

public TransferTypes.GcsData.Builder getGcsDataSourceBuilder()

A Cloud Storage data source.

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

Returns
Type Description
TransferTypes.GcsData.Builder

getGcsDataSourceOrBuilder()

public TransferTypes.GcsDataOrBuilder getGcsDataSourceOrBuilder()

A Cloud Storage data source.

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

Returns
Type Description
TransferTypes.GcsDataOrBuilder

getHttpDataSource()

public TransferTypes.HttpData getHttpDataSource()

An HTTP URL data source.

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

Returns
Type Description
TransferTypes.HttpData

The httpDataSource.

getHttpDataSourceBuilder()

public TransferTypes.HttpData.Builder getHttpDataSourceBuilder()

An HTTP URL data source.

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

Returns
Type Description
TransferTypes.HttpData.Builder

getHttpDataSourceOrBuilder()

public TransferTypes.HttpDataOrBuilder getHttpDataSourceOrBuilder()

An HTTP URL data source.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
TransferTypes.TransferOptionsOrBuilder

hasAwsS3DataSource()

public boolean hasAwsS3DataSource()

An AWS S3 data source.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the transferOptions field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value TransferTypes.AwsS3Data
Returns
Type Description
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
Name Description
value TransferTypes.AzureBlobStorageData
Returns
Type Description
TransferTypes.TransferSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public TransferTypes.TransferSpec.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TransferTypes.TransferSpec.Builder
Overrides

mergeFrom(TransferTypes.TransferSpec other)

public TransferTypes.TransferSpec.Builder mergeFrom(TransferTypes.TransferSpec other)
Parameter
Name Description
other TransferTypes.TransferSpec
Returns
Type Description
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
Name Description
value TransferTypes.GcsData
Returns
Type Description
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
Name Description
value TransferTypes.GcsData
Returns
Type Description
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
Name Description
value TransferTypes.HttpData
Returns
Type Description
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
Name Description
value TransferTypes.ObjectConditions
Returns
Type Description
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
Name Description
value TransferTypes.TransferOptions
Returns
Type Description
TransferTypes.TransferSpec.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TransferTypes.TransferSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value TransferTypes.AwsS3Data
Returns
Type Description
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
Name Description
builderForValue TransferTypes.AwsS3Data.Builder
Returns
Type Description
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
Name Description
value TransferTypes.AzureBlobStorageData
Returns
Type Description
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
Name Description
builderForValue TransferTypes.AzureBlobStorageData.Builder
Returns
Type Description
TransferTypes.TransferSpec.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public TransferTypes.TransferSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value TransferTypes.GcsData
Returns
Type Description
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
Name Description
builderForValue TransferTypes.GcsData.Builder
Returns
Type Description
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
Name Description
value TransferTypes.GcsData
Returns
Type Description
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
Name Description
builderForValue TransferTypes.GcsData.Builder
Returns
Type Description
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
Name Description
value TransferTypes.HttpData
Returns
Type Description
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
Name Description
builderForValue TransferTypes.HttpData.Builder
Returns
Type Description
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
Name Description
value TransferTypes.ObjectConditions
Returns
Type Description
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
Name Description
builderForValue TransferTypes.ObjectConditions.Builder
Returns
Type Description
TransferTypes.TransferSpec.Builder

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

public TransferTypes.TransferSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value TransferTypes.TransferOptions
Returns
Type Description
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
Name Description
builderForValue TransferTypes.TransferOptions.Builder
Returns
Type Description
TransferTypes.TransferSpec.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final TransferTypes.TransferSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TransferTypes.TransferSpec.Builder
Overrides