Interface TransferTypes.ReplicationSpecOrBuilder (1.83.0)

public static interface TransferTypes.ReplicationSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDataSinkCase()

public abstract TransferTypes.ReplicationSpec.DataSinkCase getDataSinkCase()
Returns
Type Description
TransferTypes.ReplicationSpec.DataSinkCase

getDataSourceCase()

public abstract TransferTypes.ReplicationSpec.DataSourceCase getDataSourceCase()
Returns
Type Description
TransferTypes.ReplicationSpec.DataSourceCase

getGcsDataSink()

public abstract TransferTypes.GcsData getGcsDataSink()

The Cloud Storage bucket to which to replicate objects.

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

Returns
Type Description
TransferTypes.GcsData

The gcsDataSink.

getGcsDataSinkOrBuilder()

public abstract TransferTypes.GcsDataOrBuilder getGcsDataSinkOrBuilder()

The Cloud Storage bucket to which to replicate objects.

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

Returns
Type Description
TransferTypes.GcsDataOrBuilder

getGcsDataSource()

public abstract TransferTypes.GcsData getGcsDataSource()

The Cloud Storage bucket from which to replicate objects.

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

Returns
Type Description
TransferTypes.GcsData

The gcsDataSource.

getGcsDataSourceOrBuilder()

public abstract TransferTypes.GcsDataOrBuilder getGcsDataSourceOrBuilder()

The Cloud Storage bucket from which to replicate objects.

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

Returns
Type Description
TransferTypes.GcsDataOrBuilder

getObjectConditions()

public abstract TransferTypes.ObjectConditions getObjectConditions()

Object conditions that determine which objects are transferred. For replication jobs, only include_prefixes and exclude_prefixes are supported.

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

Returns
Type Description
TransferTypes.ObjectConditions

The objectConditions.

getObjectConditionsOrBuilder()

public abstract TransferTypes.ObjectConditionsOrBuilder getObjectConditionsOrBuilder()

Object conditions that determine which objects are transferred. For replication jobs, only include_prefixes and exclude_prefixes are supported.

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

Returns
Type Description
TransferTypes.ObjectConditionsOrBuilder

getTransferOptions()

public abstract TransferTypes.TransferOptions getTransferOptions()

Specifies the metadata options to be applied during replication. Delete options are not supported. If a delete option is specified, the request fails with an INVALID_ARGUMENT error.

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

Returns
Type Description
TransferTypes.TransferOptions

The transferOptions.

getTransferOptionsOrBuilder()

public abstract TransferTypes.TransferOptionsOrBuilder getTransferOptionsOrBuilder()

Specifies the metadata options to be applied during replication. Delete options are not supported. If a delete option is specified, the request fails with an INVALID_ARGUMENT error.

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

Returns
Type Description
TransferTypes.TransferOptionsOrBuilder

hasGcsDataSink()

public abstract boolean hasGcsDataSink()

The Cloud Storage bucket to which to replicate objects.

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

Returns
Type Description
boolean

Whether the gcsDataSink field is set.

hasGcsDataSource()

public abstract boolean hasGcsDataSource()

The Cloud Storage bucket from which to replicate objects.

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

Returns
Type Description
boolean

Whether the gcsDataSource field is set.

hasObjectConditions()

public abstract boolean hasObjectConditions()

Object conditions that determine which objects are transferred. For replication jobs, only include_prefixes and exclude_prefixes are supported.

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

Returns
Type Description
boolean

Whether the objectConditions field is set.

hasTransferOptions()

public abstract boolean hasTransferOptions()

Specifies the metadata options to be applied during replication. Delete options are not supported. If a delete option is specified, the request fails with an INVALID_ARGUMENT error.

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

Returns
Type Description
boolean

Whether the transferOptions field is set.