- 1.55.0 (latest)
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TransferTypes.TransferSpec.BuilderImplements
TransferTypes.TransferSpecOrBuilderStatic 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 |
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 |
clearAwsS3CompatibleDataSource()
public TransferTypes.TransferSpec.Builder clearAwsS3CompatibleDataSource()
An AWS S3 compatible data source.
.google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19;
Returns | |
---|---|
Type | Description |
TransferTypes.TransferSpec.Builder |
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 |
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 |
clearGcsIntermediateDataLocation()
public TransferTypes.TransferSpec.Builder clearGcsIntermediateDataLocation()
For transfers between file systems, specifies a Cloud Storage bucket to be used as an intermediate location through which to transfer data.
See Transfer data between file systems for more information.
.google.storagetransfer.v1.GcsData gcs_intermediate_data_location = 16;
Returns | |
---|---|
Type | Description |
TransferTypes.TransferSpec.Builder |
clearHdfsDataSource()
public TransferTypes.TransferSpec.Builder clearHdfsDataSource()
An HDFS cluster data source.
.google.storagetransfer.v1.HdfsData hdfs_data_source = 20;
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 |
clearIntermediateDataLocation()
public TransferTypes.TransferSpec.Builder clearIntermediateDataLocation()
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 |
clearPosixDataSink()
public TransferTypes.TransferSpec.Builder clearPosixDataSink()
A POSIX Filesystem data sink.
.google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13;
Returns | |
---|---|
Type | Description |
TransferTypes.TransferSpec.Builder |
clearPosixDataSource()
public TransferTypes.TransferSpec.Builder clearPosixDataSource()
A POSIX Filesystem data source.
.google.storagetransfer.v1.PosixFilesystem posix_data_source = 14;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
TransferTypes.TransferSpec.Builder |
clone()
public TransferTypes.TransferSpec.Builder clone()
Returns | |
---|---|
Type | Description |
TransferTypes.TransferSpec.Builder |
getAwsS3CompatibleDataSource()
public TransferTypes.AwsS3CompatibleData getAwsS3CompatibleDataSource()
An AWS S3 compatible data source.
.google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
TransferTypes.AwsS3CompatibleDataOrBuilder |
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 |
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 |
getGcsIntermediateDataLocation()
public TransferTypes.GcsData getGcsIntermediateDataLocation()
For transfers between file systems, specifies a Cloud Storage bucket to be used as an intermediate location through which to transfer data.
See Transfer data between file systems for more information.
.google.storagetransfer.v1.GcsData gcs_intermediate_data_location = 16;
Returns | |
---|---|
Type | Description |
TransferTypes.GcsData |
The gcsIntermediateDataLocation. |
getGcsIntermediateDataLocationBuilder()
public TransferTypes.GcsData.Builder getGcsIntermediateDataLocationBuilder()
For transfers between file systems, specifies a Cloud Storage bucket to be used as an intermediate location through which to transfer data.
See Transfer data between file systems for more information.
.google.storagetransfer.v1.GcsData gcs_intermediate_data_location = 16;
Returns | |
---|---|
Type | Description |
TransferTypes.GcsData.Builder |
getGcsIntermediateDataLocationOrBuilder()
public TransferTypes.GcsDataOrBuilder getGcsIntermediateDataLocationOrBuilder()
For transfers between file systems, specifies a Cloud Storage bucket to be used as an intermediate location through which to transfer data.
See Transfer data between file systems for more information.
.google.storagetransfer.v1.GcsData gcs_intermediate_data_location = 16;
Returns | |
---|---|
Type | Description |
TransferTypes.GcsDataOrBuilder |
getHdfsDataSource()
public TransferTypes.HdfsData getHdfsDataSource()
An HDFS cluster data source.
.google.storagetransfer.v1.HdfsData hdfs_data_source = 20;
Returns | |
---|---|
Type | Description |
TransferTypes.HdfsData |
The hdfsDataSource. |
getHdfsDataSourceBuilder()
public TransferTypes.HdfsData.Builder getHdfsDataSourceBuilder()
An HDFS cluster data source.
.google.storagetransfer.v1.HdfsData hdfs_data_source = 20;
Returns | |
---|---|
Type | Description |
TransferTypes.HdfsData.Builder |
getHdfsDataSourceOrBuilder()
public TransferTypes.HdfsDataOrBuilder getHdfsDataSourceOrBuilder()
An HDFS cluster data source.
.google.storagetransfer.v1.HdfsData hdfs_data_source = 20;
Returns | |
---|---|
Type | Description |
TransferTypes.HdfsDataOrBuilder |
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 |
getIntermediateDataLocationCase()
public TransferTypes.TransferSpec.IntermediateDataLocationCase getIntermediateDataLocationCase()
Returns | |
---|---|
Type | Description |
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 | |
---|---|
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 |
getPosixDataSink()
public TransferTypes.PosixFilesystem getPosixDataSink()
A POSIX Filesystem data sink.
.google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13;
Returns | |
---|---|
Type | Description |
TransferTypes.PosixFilesystem |
The posixDataSink. |
getPosixDataSinkBuilder()
public TransferTypes.PosixFilesystem.Builder getPosixDataSinkBuilder()
A POSIX Filesystem data sink.
.google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13;
Returns | |
---|---|
Type | Description |
TransferTypes.PosixFilesystem.Builder |
getPosixDataSinkOrBuilder()
public TransferTypes.PosixFilesystemOrBuilder getPosixDataSinkOrBuilder()
A POSIX Filesystem data sink.
.google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13;
Returns | |
---|---|
Type | Description |
TransferTypes.PosixFilesystemOrBuilder |
getPosixDataSource()
public TransferTypes.PosixFilesystem getPosixDataSource()
A POSIX Filesystem data source.
.google.storagetransfer.v1.PosixFilesystem posix_data_source = 14;
Returns | |
---|---|
Type | Description |
TransferTypes.PosixFilesystem |
The posixDataSource. |
getPosixDataSourceBuilder()
public TransferTypes.PosixFilesystem.Builder getPosixDataSourceBuilder()
A POSIX Filesystem data source.
.google.storagetransfer.v1.PosixFilesystem posix_data_source = 14;
Returns | |
---|---|
Type | Description |
TransferTypes.PosixFilesystem.Builder |
getPosixDataSourceOrBuilder()
public TransferTypes.PosixFilesystemOrBuilder getPosixDataSourceOrBuilder()
A POSIX Filesystem data source.
.google.storagetransfer.v1.PosixFilesystem posix_data_source = 14;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
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 |
hasAwsS3CompatibleDataSource()
public boolean hasAwsS3CompatibleDataSource()
An AWS S3 compatible data source.
.google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
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. |
hasGcsIntermediateDataLocation()
public boolean hasGcsIntermediateDataLocation()
For transfers between file systems, specifies a Cloud Storage bucket to be used as an intermediate location through which to transfer data.
See Transfer data between file systems for more information.
.google.storagetransfer.v1.GcsData gcs_intermediate_data_location = 16;
Returns | |
---|---|
Type | Description |
boolean |
Whether the gcsIntermediateDataLocation field is set. |
hasHdfsDataSource()
public boolean hasHdfsDataSource()
An HDFS cluster data source.
.google.storagetransfer.v1.HdfsData hdfs_data_source = 20;
Returns | |
---|---|
Type | Description |
boolean |
Whether the hdfsDataSource 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. |
hasPosixDataSink()
public boolean hasPosixDataSink()
A POSIX Filesystem data sink.
.google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
boolean |
Whether the transferOptions field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 | |
---|---|
Name | Description |
value |
TransferTypes.AwsS3CompatibleData |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
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 |
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 |
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 |
mergeGcsIntermediateDataLocation(TransferTypes.GcsData value)
public TransferTypes.TransferSpec.Builder mergeGcsIntermediateDataLocation(TransferTypes.GcsData value)
For transfers between file systems, specifies a Cloud Storage bucket to be used as an intermediate location through which to transfer data.
See Transfer data between file systems for more information.
.google.storagetransfer.v1.GcsData gcs_intermediate_data_location = 16;
Parameter | |
---|---|
Name | Description |
value |
TransferTypes.GcsData |
Returns | |
---|---|
Type | Description |
TransferTypes.TransferSpec.Builder |
mergeHdfsDataSource(TransferTypes.HdfsData value)
public TransferTypes.TransferSpec.Builder mergeHdfsDataSource(TransferTypes.HdfsData value)
An HDFS cluster data source.
.google.storagetransfer.v1.HdfsData hdfs_data_source = 20;
Parameter | |
---|---|
Name | Description |
value |
TransferTypes.HdfsData |
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 |
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 | |
---|---|
Name | Description |
value |
TransferTypes.PosixFilesystem |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
TransferTypes.PosixFilesystem |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
TransferTypes.TransferManifest |
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 |
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 | |
---|---|
Name | Description |
value |
TransferTypes.AwsS3CompatibleData |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue |
TransferTypes.AwsS3CompatibleData.Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
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 |
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 |
setGcsIntermediateDataLocation(TransferTypes.GcsData value)
public TransferTypes.TransferSpec.Builder setGcsIntermediateDataLocation(TransferTypes.GcsData value)
For transfers between file systems, specifies a Cloud Storage bucket to be used as an intermediate location through which to transfer data.
See Transfer data between file systems for more information.
.google.storagetransfer.v1.GcsData gcs_intermediate_data_location = 16;
Parameter | |
---|---|
Name | Description |
value |
TransferTypes.GcsData |
Returns | |
---|---|
Type | Description |
TransferTypes.TransferSpec.Builder |
setGcsIntermediateDataLocation(TransferTypes.GcsData.Builder builderForValue)
public TransferTypes.TransferSpec.Builder setGcsIntermediateDataLocation(TransferTypes.GcsData.Builder builderForValue)
For transfers between file systems, specifies a Cloud Storage bucket to be used as an intermediate location through which to transfer data.
See Transfer data between file systems for more information.
.google.storagetransfer.v1.GcsData gcs_intermediate_data_location = 16;
Parameter | |
---|---|
Name | Description |
builderForValue |
TransferTypes.GcsData.Builder |
Returns | |
---|---|
Type | Description |
TransferTypes.TransferSpec.Builder |
setHdfsDataSource(TransferTypes.HdfsData value)
public TransferTypes.TransferSpec.Builder setHdfsDataSource(TransferTypes.HdfsData value)
An HDFS cluster data source.
.google.storagetransfer.v1.HdfsData hdfs_data_source = 20;
Parameter | |
---|---|
Name | Description |
value |
TransferTypes.HdfsData |
Returns | |
---|---|
Type | Description |
TransferTypes.TransferSpec.Builder |
setHdfsDataSource(TransferTypes.HdfsData.Builder builderForValue)
public TransferTypes.TransferSpec.Builder setHdfsDataSource(TransferTypes.HdfsData.Builder builderForValue)
An HDFS cluster data source.
.google.storagetransfer.v1.HdfsData hdfs_data_source = 20;
Parameter | |
---|---|
Name | Description |
builderForValue |
TransferTypes.HdfsData.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 |
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 | |
---|---|
Name | Description |
value |
TransferTypes.PosixFilesystem |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue |
TransferTypes.PosixFilesystem.Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
TransferTypes.PosixFilesystem |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue |
TransferTypes.PosixFilesystem.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 |
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 | |
---|---|
Name | Description |
value |
String The sinkAgentPoolName to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
ByteString The bytes for sinkAgentPoolName to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
String The sourceAgentPoolName to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
ByteString The bytes for sourceAgentPoolName to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
TransferTypes.TransferManifest |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue |
TransferTypes.TransferManifest.Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
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 |