Interface TransferTypes.ReplicationSpecOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TransferTypes.ReplicationSpec,TransferTypes.ReplicationSpec.Builder
- Enclosing class:
- TransferTypes
public static interface TransferTypes.ReplicationSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe Cloud Storage bucket to which to replicate objects.The Cloud Storage bucket to which to replicate objects.The Cloud Storage bucket from which to replicate objects.The Cloud Storage bucket from which to replicate objects.Object conditions that determine which objects are transferred.Object conditions that determine which objects are transferred.Specifies the metadata options to be applied during replication.Specifies the metadata options to be applied during replication.booleanThe Cloud Storage bucket to which to replicate objects.booleanThe Cloud Storage bucket from which to replicate objects.booleanObject conditions that determine which objects are transferred.booleanSpecifies the metadata options to be applied during replication.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasGcsDataSource
boolean hasGcsDataSource()The Cloud Storage bucket from which to replicate objects.
.google.storagetransfer.v1.GcsData gcs_data_source = 1;- Returns:
- Whether the gcsDataSource field is set.
-
getGcsDataSource
TransferTypes.GcsData getGcsDataSource()The Cloud Storage bucket from which to replicate objects.
.google.storagetransfer.v1.GcsData gcs_data_source = 1;- Returns:
- The gcsDataSource.
-
getGcsDataSourceOrBuilder
TransferTypes.GcsDataOrBuilder getGcsDataSourceOrBuilder()The Cloud Storage bucket from which to replicate objects.
.google.storagetransfer.v1.GcsData gcs_data_source = 1; -
hasGcsDataSink
boolean hasGcsDataSink()The Cloud Storage bucket to which to replicate objects.
.google.storagetransfer.v1.GcsData gcs_data_sink = 2;- Returns:
- Whether the gcsDataSink field is set.
-
getGcsDataSink
TransferTypes.GcsData getGcsDataSink()The Cloud Storage bucket to which to replicate objects.
.google.storagetransfer.v1.GcsData gcs_data_sink = 2;- Returns:
- The gcsDataSink.
-
getGcsDataSinkOrBuilder
TransferTypes.GcsDataOrBuilder getGcsDataSinkOrBuilder()The Cloud Storage bucket to which to replicate objects.
.google.storagetransfer.v1.GcsData gcs_data_sink = 2; -
hasObjectConditions
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:
- Whether the objectConditions field is set.
-
getObjectConditions
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:
- The objectConditions.
-
getObjectConditionsOrBuilder
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; -
hasTransferOptions
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][google.rpc.Code.INVALID_ARGUMENT] error.
.google.storagetransfer.v1.TransferOptions transfer_options = 4;- Returns:
- Whether the transferOptions field is set.
-
getTransferOptions
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][google.rpc.Code.INVALID_ARGUMENT] error.
.google.storagetransfer.v1.TransferOptions transfer_options = 4;- Returns:
- The transferOptions.
-
getTransferOptionsOrBuilder
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][google.rpc.Code.INVALID_ARGUMENT] error.
.google.storagetransfer.v1.TransferOptions transfer_options = 4; -
getDataSourceCase
TransferTypes.ReplicationSpec.DataSourceCase getDataSourceCase() -
getDataSinkCase
TransferTypes.ReplicationSpec.DataSinkCase getDataSinkCase()
-