Class TransferTypes.TransferSpec.Builder (1.12.0)

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

clearAwsS3CompatibleDataSource()

public TransferTypes.TransferSpec.Builder clearAwsS3CompatibleDataSource()

An AWS S3 compatible data source.

.google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19;

Returns
TypeDescription
TransferTypes.TransferSpec.Builder

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

clearGcsIntermediateDataLocation()

public TransferTypes.TransferSpec.Builder clearGcsIntermediateDataLocation()

Cloud Storage intermediate data location.

.google.storagetransfer.v1.GcsData gcs_intermediate_data_location = 16;

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

clearIntermediateDataLocation()

public TransferTypes.TransferSpec.Builder clearIntermediateDataLocation()
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

clearPosixDataSink()

public TransferTypes.TransferSpec.Builder clearPosixDataSink()

A POSIX Filesystem data sink.

.google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13;

Returns
TypeDescription
TransferTypes.TransferSpec.Builder

clearPosixDataSource()

public TransferTypes.TransferSpec.Builder clearPosixDataSource()

A POSIX Filesystem data source.

.google.storagetransfer.v1.PosixFilesystem posix_data_source = 14;

Returns
TypeDescription
TransferTypes.TransferSpec.Builder

clearSinkAgentPoolName()

public TransferTypes.TransferSpec.Builder clearSinkAgentPoolName()

Specifies the agent pool name associated with the posix data sink. When unspecified, the default name is used.

string sink_agent_pool_name = 18;

Returns
TypeDescription
TransferTypes.TransferSpec.Builder

This builder for chaining.

clearSourceAgentPoolName()

public TransferTypes.TransferSpec.Builder clearSourceAgentPoolName()

Specifies the agent pool name associated with the posix data source. When unspecified, the default name is used.

string source_agent_pool_name = 17;

Returns
TypeDescription
TransferTypes.TransferSpec.Builder

This builder for chaining.

clearTransferManifest()

public TransferTypes.TransferSpec.Builder clearTransferManifest()

A manifest file provides a list of objects to be transferred from the data source. This field points to the location of the manifest file. Otherwise, the entire source bucket is used. ObjectConditions still apply.

.google.storagetransfer.v1.TransferManifest transfer_manifest = 15;

Returns
TypeDescription
TransferTypes.TransferSpec.Builder

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

getAwsS3CompatibleDataSource()

public TransferTypes.AwsS3CompatibleData getAwsS3CompatibleDataSource()

An AWS S3 compatible data source.

.google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19;

Returns
TypeDescription
TransferTypes.AwsS3CompatibleData

The awsS3CompatibleDataSource.

getAwsS3CompatibleDataSourceBuilder()

public TransferTypes.AwsS3CompatibleData.Builder getAwsS3CompatibleDataSourceBuilder()

An AWS S3 compatible data source.

.google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19;

Returns
TypeDescription
TransferTypes.AwsS3CompatibleData.Builder

getAwsS3CompatibleDataSourceOrBuilder()

public TransferTypes.AwsS3CompatibleDataOrBuilder getAwsS3CompatibleDataSourceOrBuilder()

An AWS S3 compatible data source.

.google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19;

Returns
TypeDescription
TransferTypes.AwsS3CompatibleDataOrBuilder

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

getGcsIntermediateDataLocation()

public TransferTypes.GcsData getGcsIntermediateDataLocation()

Cloud Storage intermediate data location.

.google.storagetransfer.v1.GcsData gcs_intermediate_data_location = 16;

Returns
TypeDescription
TransferTypes.GcsData

The gcsIntermediateDataLocation.

getGcsIntermediateDataLocationBuilder()

public TransferTypes.GcsData.Builder getGcsIntermediateDataLocationBuilder()

Cloud Storage intermediate data location.

.google.storagetransfer.v1.GcsData gcs_intermediate_data_location = 16;

Returns
TypeDescription
TransferTypes.GcsData.Builder

getGcsIntermediateDataLocationOrBuilder()

public TransferTypes.GcsDataOrBuilder getGcsIntermediateDataLocationOrBuilder()

Cloud Storage intermediate data location.

.google.storagetransfer.v1.GcsData gcs_intermediate_data_location = 16;

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

getIntermediateDataLocationCase()

public TransferTypes.TransferSpec.IntermediateDataLocationCase getIntermediateDataLocationCase()
Returns
TypeDescription
TransferTypes.TransferSpec.IntermediateDataLocationCase

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

getPosixDataSink()

public TransferTypes.PosixFilesystem getPosixDataSink()

A POSIX Filesystem data sink.

.google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13;

Returns
TypeDescription
TransferTypes.PosixFilesystem

The posixDataSink.

getPosixDataSinkBuilder()

public TransferTypes.PosixFilesystem.Builder getPosixDataSinkBuilder()

A POSIX Filesystem data sink.

.google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13;

Returns
TypeDescription
TransferTypes.PosixFilesystem.Builder

getPosixDataSinkOrBuilder()

public TransferTypes.PosixFilesystemOrBuilder getPosixDataSinkOrBuilder()

A POSIX Filesystem data sink.

.google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13;

Returns
TypeDescription
TransferTypes.PosixFilesystemOrBuilder

getPosixDataSource()

public TransferTypes.PosixFilesystem getPosixDataSource()

A POSIX Filesystem data source.

.google.storagetransfer.v1.PosixFilesystem posix_data_source = 14;

Returns
TypeDescription
TransferTypes.PosixFilesystem

The posixDataSource.

getPosixDataSourceBuilder()

public TransferTypes.PosixFilesystem.Builder getPosixDataSourceBuilder()

A POSIX Filesystem data source.

.google.storagetransfer.v1.PosixFilesystem posix_data_source = 14;

Returns
TypeDescription
TransferTypes.PosixFilesystem.Builder

getPosixDataSourceOrBuilder()

public TransferTypes.PosixFilesystemOrBuilder getPosixDataSourceOrBuilder()

A POSIX Filesystem data source.

.google.storagetransfer.v1.PosixFilesystem posix_data_source = 14;

Returns
TypeDescription
TransferTypes.PosixFilesystemOrBuilder

getSinkAgentPoolName()

public String getSinkAgentPoolName()

Specifies the agent pool name associated with the posix data sink. When unspecified, the default name is used.

string sink_agent_pool_name = 18;

Returns
TypeDescription
String

The sinkAgentPoolName.

getSinkAgentPoolNameBytes()

public ByteString getSinkAgentPoolNameBytes()

Specifies the agent pool name associated with the posix data sink. When unspecified, the default name is used.

string sink_agent_pool_name = 18;

Returns
TypeDescription
ByteString

The bytes for sinkAgentPoolName.

getSourceAgentPoolName()

public String getSourceAgentPoolName()

Specifies the agent pool name associated with the posix data source. When unspecified, the default name is used.

string source_agent_pool_name = 17;

Returns
TypeDescription
String

The sourceAgentPoolName.

getSourceAgentPoolNameBytes()

public ByteString getSourceAgentPoolNameBytes()

Specifies the agent pool name associated with the posix data source. When unspecified, the default name is used.

string source_agent_pool_name = 17;

Returns
TypeDescription
ByteString

The bytes for sourceAgentPoolName.

getTransferManifest()

public TransferTypes.TransferManifest getTransferManifest()

A manifest file provides a list of objects to be transferred from the data source. This field points to the location of the manifest file. Otherwise, the entire source bucket is used. ObjectConditions still apply.

.google.storagetransfer.v1.TransferManifest transfer_manifest = 15;

Returns
TypeDescription
TransferTypes.TransferManifest

The transferManifest.

getTransferManifestBuilder()

public TransferTypes.TransferManifest.Builder getTransferManifestBuilder()

A manifest file provides a list of objects to be transferred from the data source. This field points to the location of the manifest file. Otherwise, the entire source bucket is used. ObjectConditions still apply.

.google.storagetransfer.v1.TransferManifest transfer_manifest = 15;

Returns
TypeDescription
TransferTypes.TransferManifest.Builder

getTransferManifestOrBuilder()

public TransferTypes.TransferManifestOrBuilder getTransferManifestOrBuilder()

A manifest file provides a list of objects to be transferred from the data source. This field points to the location of the manifest file. Otherwise, the entire source bucket is used. ObjectConditions still apply.

.google.storagetransfer.v1.TransferManifest transfer_manifest = 15;

Returns
TypeDescription
TransferTypes.TransferManifestOrBuilder

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

hasAwsS3CompatibleDataSource()

public boolean hasAwsS3CompatibleDataSource()

An AWS S3 compatible data source.

.google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19;

Returns
TypeDescription
boolean

Whether the awsS3CompatibleDataSource field is set.

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.

hasGcsIntermediateDataLocation()

public boolean hasGcsIntermediateDataLocation()

Cloud Storage intermediate data location.

.google.storagetransfer.v1.GcsData gcs_intermediate_data_location = 16;

Returns
TypeDescription
boolean

Whether the gcsIntermediateDataLocation 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.

hasPosixDataSink()

public boolean hasPosixDataSink()

A POSIX Filesystem data sink.

.google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13;

Returns
TypeDescription
boolean

Whether the posixDataSink field is set.

hasPosixDataSource()

public boolean hasPosixDataSource()

A POSIX Filesystem data source.

.google.storagetransfer.v1.PosixFilesystem posix_data_source = 14;

Returns
TypeDescription
boolean

Whether the posixDataSource field is set.

hasTransferManifest()

public boolean hasTransferManifest()

A manifest file provides a list of objects to be transferred from the data source. This field points to the location of the manifest file. Otherwise, the entire source bucket is used. ObjectConditions still apply.

.google.storagetransfer.v1.TransferManifest transfer_manifest = 15;

Returns
TypeDescription
boolean

Whether the transferManifest 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

mergeAwsS3CompatibleDataSource(TransferTypes.AwsS3CompatibleData value)

public TransferTypes.TransferSpec.Builder mergeAwsS3CompatibleDataSource(TransferTypes.AwsS3CompatibleData value)

An AWS S3 compatible data source.

.google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19;

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

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

mergeGcsIntermediateDataLocation(TransferTypes.GcsData value)

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

Cloud Storage intermediate data location.

.google.storagetransfer.v1.GcsData gcs_intermediate_data_location = 16;

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

mergePosixDataSink(TransferTypes.PosixFilesystem value)

public TransferTypes.TransferSpec.Builder mergePosixDataSink(TransferTypes.PosixFilesystem value)

A POSIX Filesystem data sink.

.google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13;

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

mergePosixDataSource(TransferTypes.PosixFilesystem value)

public TransferTypes.TransferSpec.Builder mergePosixDataSource(TransferTypes.PosixFilesystem value)

A POSIX Filesystem data source.

.google.storagetransfer.v1.PosixFilesystem posix_data_source = 14;

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

mergeTransferManifest(TransferTypes.TransferManifest value)

public TransferTypes.TransferSpec.Builder mergeTransferManifest(TransferTypes.TransferManifest value)

A manifest file provides a list of objects to be transferred from the data source. This field points to the location of the manifest file. Otherwise, the entire source bucket is used. ObjectConditions still apply.

.google.storagetransfer.v1.TransferManifest transfer_manifest = 15;

Parameter
NameDescription
valueTransferTypes.TransferManifest
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

setAwsS3CompatibleDataSource(TransferTypes.AwsS3CompatibleData value)

public TransferTypes.TransferSpec.Builder setAwsS3CompatibleDataSource(TransferTypes.AwsS3CompatibleData value)

An AWS S3 compatible data source.

.google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19;

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

setAwsS3CompatibleDataSource(TransferTypes.AwsS3CompatibleData.Builder builderForValue)

public TransferTypes.TransferSpec.Builder setAwsS3CompatibleDataSource(TransferTypes.AwsS3CompatibleData.Builder builderForValue)

An AWS S3 compatible data source.

.google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19;

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

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

setGcsIntermediateDataLocation(TransferTypes.GcsData value)

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

Cloud Storage intermediate data location.

.google.storagetransfer.v1.GcsData gcs_intermediate_data_location = 16;

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

setGcsIntermediateDataLocation(TransferTypes.GcsData.Builder builderForValue)

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

Cloud Storage intermediate data location.

.google.storagetransfer.v1.GcsData gcs_intermediate_data_location = 16;

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

setPosixDataSink(TransferTypes.PosixFilesystem value)

public TransferTypes.TransferSpec.Builder setPosixDataSink(TransferTypes.PosixFilesystem value)

A POSIX Filesystem data sink.

.google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13;

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

setPosixDataSink(TransferTypes.PosixFilesystem.Builder builderForValue)

public TransferTypes.TransferSpec.Builder setPosixDataSink(TransferTypes.PosixFilesystem.Builder builderForValue)

A POSIX Filesystem data sink.

.google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13;

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

setPosixDataSource(TransferTypes.PosixFilesystem value)

public TransferTypes.TransferSpec.Builder setPosixDataSource(TransferTypes.PosixFilesystem value)

A POSIX Filesystem data source.

.google.storagetransfer.v1.PosixFilesystem posix_data_source = 14;

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

setPosixDataSource(TransferTypes.PosixFilesystem.Builder builderForValue)

public TransferTypes.TransferSpec.Builder setPosixDataSource(TransferTypes.PosixFilesystem.Builder builderForValue)

A POSIX Filesystem data source.

.google.storagetransfer.v1.PosixFilesystem posix_data_source = 14;

Parameter
NameDescription
builderForValueTransferTypes.PosixFilesystem.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

setSinkAgentPoolName(String value)

public TransferTypes.TransferSpec.Builder setSinkAgentPoolName(String value)

Specifies the agent pool name associated with the posix data sink. When unspecified, the default name is used.

string sink_agent_pool_name = 18;

Parameter
NameDescription
valueString

The sinkAgentPoolName to set.

Returns
TypeDescription
TransferTypes.TransferSpec.Builder

This builder for chaining.

setSinkAgentPoolNameBytes(ByteString value)

public TransferTypes.TransferSpec.Builder setSinkAgentPoolNameBytes(ByteString value)

Specifies the agent pool name associated with the posix data sink. When unspecified, the default name is used.

string sink_agent_pool_name = 18;

Parameter
NameDescription
valueByteString

The bytes for sinkAgentPoolName to set.

Returns
TypeDescription
TransferTypes.TransferSpec.Builder

This builder for chaining.

setSourceAgentPoolName(String value)

public TransferTypes.TransferSpec.Builder setSourceAgentPoolName(String value)

Specifies the agent pool name associated with the posix data source. When unspecified, the default name is used.

string source_agent_pool_name = 17;

Parameter
NameDescription
valueString

The sourceAgentPoolName to set.

Returns
TypeDescription
TransferTypes.TransferSpec.Builder

This builder for chaining.

setSourceAgentPoolNameBytes(ByteString value)

public TransferTypes.TransferSpec.Builder setSourceAgentPoolNameBytes(ByteString value)

Specifies the agent pool name associated with the posix data source. When unspecified, the default name is used.

string source_agent_pool_name = 17;

Parameter
NameDescription
valueByteString

The bytes for sourceAgentPoolName to set.

Returns
TypeDescription
TransferTypes.TransferSpec.Builder

This builder for chaining.

setTransferManifest(TransferTypes.TransferManifest value)

public TransferTypes.TransferSpec.Builder setTransferManifest(TransferTypes.TransferManifest value)

A manifest file provides a list of objects to be transferred from the data source. This field points to the location of the manifest file. Otherwise, the entire source bucket is used. ObjectConditions still apply.

.google.storagetransfer.v1.TransferManifest transfer_manifest = 15;

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

setTransferManifest(TransferTypes.TransferManifest.Builder builderForValue)

public TransferTypes.TransferSpec.Builder setTransferManifest(TransferTypes.TransferManifest.Builder builderForValue)

A manifest file provides a list of objects to be transferred from the data source. This field points to the location of the manifest file. Otherwise, the entire source bucket is used. ObjectConditions still apply.

.google.storagetransfer.v1.TransferManifest transfer_manifest = 15;

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

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