public static final class TransferTypes.TransferSpec extends GeneratedMessageV3 implements TransferTypes.TransferSpecOrBuilder
Configuration for running a transfer.
Protobuf type google.storagetransfer.v1.TransferSpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
AWS_S3_COMPATIBLE_DATA_SOURCE_FIELD_NUMBER
public static final int AWS_S3_COMPATIBLE_DATA_SOURCE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
AWS_S3_DATA_SOURCE_FIELD_NUMBER
public static final int AWS_S3_DATA_SOURCE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
AZURE_BLOB_STORAGE_DATA_SOURCE_FIELD_NUMBER
public static final int AZURE_BLOB_STORAGE_DATA_SOURCE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
GCS_DATA_SINK_FIELD_NUMBER
public static final int GCS_DATA_SINK_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
GCS_DATA_SOURCE_FIELD_NUMBER
public static final int GCS_DATA_SOURCE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int GCS_INTERMEDIATE_DATA_LOCATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
HTTP_DATA_SOURCE_FIELD_NUMBER
public static final int HTTP_DATA_SOURCE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
OBJECT_CONDITIONS_FIELD_NUMBER
public static final int OBJECT_CONDITIONS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
POSIX_DATA_SINK_FIELD_NUMBER
public static final int POSIX_DATA_SINK_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
POSIX_DATA_SOURCE_FIELD_NUMBER
public static final int POSIX_DATA_SOURCE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SINK_AGENT_POOL_NAME_FIELD_NUMBER
public static final int SINK_AGENT_POOL_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SOURCE_AGENT_POOL_NAME_FIELD_NUMBER
public static final int SOURCE_AGENT_POOL_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TRANSFER_MANIFEST_FIELD_NUMBER
public static final int TRANSFER_MANIFEST_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TRANSFER_OPTIONS_FIELD_NUMBER
public static final int TRANSFER_OPTIONS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static TransferTypes.TransferSpec getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static TransferTypes.TransferSpec.Builder newBuilder()
newBuilder(TransferTypes.TransferSpec prototype)
public static TransferTypes.TransferSpec.Builder newBuilder(TransferTypes.TransferSpec prototype)
public static TransferTypes.TransferSpec parseDelimitedFrom(InputStream input)
public static TransferTypes.TransferSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static TransferTypes.TransferSpec parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TransferTypes.TransferSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static TransferTypes.TransferSpec parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TransferTypes.TransferSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TransferTypes.TransferSpec parseFrom(CodedInputStream input)
public static TransferTypes.TransferSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TransferTypes.TransferSpec parseFrom(InputStream input)
public static TransferTypes.TransferSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static TransferTypes.TransferSpec parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TransferTypes.TransferSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<TransferTypes.TransferSpec> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAwsS3CompatibleDataSource()
public TransferTypes.AwsS3CompatibleData getAwsS3CompatibleDataSource()
An AWS S3 compatible data source.
.google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19;
getAwsS3CompatibleDataSourceOrBuilder()
public TransferTypes.AwsS3CompatibleDataOrBuilder getAwsS3CompatibleDataSourceOrBuilder()
An AWS S3 compatible data source.
.google.storagetransfer.v1.AwsS3CompatibleData aws_s3_compatible_data_source = 19;
getAwsS3DataSource()
public TransferTypes.AwsS3Data getAwsS3DataSource()
An AWS S3 data source.
.google.storagetransfer.v1.AwsS3Data aws_s3_data_source = 2;
getAwsS3DataSourceOrBuilder()
public TransferTypes.AwsS3DataOrBuilder getAwsS3DataSourceOrBuilder()
An AWS S3 data source.
.google.storagetransfer.v1.AwsS3Data aws_s3_data_source = 2;
getAzureBlobStorageDataSource()
public TransferTypes.AzureBlobStorageData getAzureBlobStorageDataSource()
An Azure Blob Storage data source.
.google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8;
getAzureBlobStorageDataSourceOrBuilder()
public TransferTypes.AzureBlobStorageDataOrBuilder getAzureBlobStorageDataSourceOrBuilder()
An Azure Blob Storage data source.
.google.storagetransfer.v1.AzureBlobStorageData azure_blob_storage_data_source = 8;
getDataSinkCase()
public TransferTypes.TransferSpec.DataSinkCase getDataSinkCase()
getDataSourceCase()
public TransferTypes.TransferSpec.DataSourceCase getDataSourceCase()
getDefaultInstanceForType()
public TransferTypes.TransferSpec getDefaultInstanceForType()
getGcsDataSink()
public TransferTypes.GcsData getGcsDataSink()
A Cloud Storage data sink.
.google.storagetransfer.v1.GcsData gcs_data_sink = 4;
getGcsDataSinkOrBuilder()
public TransferTypes.GcsDataOrBuilder getGcsDataSinkOrBuilder()
A Cloud Storage data sink.
.google.storagetransfer.v1.GcsData gcs_data_sink = 4;
getGcsDataSource()
public TransferTypes.GcsData getGcsDataSource()
A Cloud Storage data source.
.google.storagetransfer.v1.GcsData gcs_data_source = 1;
getGcsDataSourceOrBuilder()
public TransferTypes.GcsDataOrBuilder getGcsDataSourceOrBuilder()
A Cloud Storage data source.
.google.storagetransfer.v1.GcsData gcs_data_source = 1;
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;
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;
getHttpDataSource()
public TransferTypes.HttpData getHttpDataSource()
An HTTP URL data source.
.google.storagetransfer.v1.HttpData http_data_source = 3;
getHttpDataSourceOrBuilder()
public TransferTypes.HttpDataOrBuilder getHttpDataSourceOrBuilder()
An HTTP URL data source.
.google.storagetransfer.v1.HttpData http_data_source = 3;
public TransferTypes.TransferSpec.IntermediateDataLocationCase getIntermediateDataLocationCase()
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;
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;
getParserForType()
public Parser<TransferTypes.TransferSpec> getParserForType()
Overrides
getPosixDataSink()
public TransferTypes.PosixFilesystem getPosixDataSink()
A POSIX Filesystem data sink.
.google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13;
getPosixDataSinkOrBuilder()
public TransferTypes.PosixFilesystemOrBuilder getPosixDataSinkOrBuilder()
A POSIX Filesystem data sink.
.google.storagetransfer.v1.PosixFilesystem posix_data_sink = 13;
getPosixDataSource()
public TransferTypes.PosixFilesystem getPosixDataSource()
A POSIX Filesystem data source.
.google.storagetransfer.v1.PosixFilesystem posix_data_source = 14;
getPosixDataSourceOrBuilder()
public TransferTypes.PosixFilesystemOrBuilder getPosixDataSourceOrBuilder()
A POSIX Filesystem data source.
.google.storagetransfer.v1.PosixFilesystem posix_data_source = 14;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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;
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;
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;
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;
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.
|
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.
|
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public TransferTypes.TransferSpec.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TransferTypes.TransferSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public TransferTypes.TransferSpec.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides