public static interface TransferTypes.TransferOptionsOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
getDeleteObjectsFromSourceAfterTransfer()
Whether objects should be deleted from the source after they are
transferred to the sink.
|
boolean |
getDeleteObjectsUniqueInSink()
Whether objects that exist only in the sink should be deleted.
|
TransferTypes.MetadataOptions |
getMetadataOptions()
Represents the selected metadata options for a transfer job.
|
TransferTypes.MetadataOptionsOrBuilder |
getMetadataOptionsOrBuilder()
Represents the selected metadata options for a transfer job.
|
boolean |
getOverwriteObjectsAlreadyExistingInSink()
When to overwrite objects that already exist in the sink.
|
TransferTypes.TransferOptions.OverwriteWhen |
getOverwriteWhen()
When to overwrite objects that already exist in the sink.
|
int |
getOverwriteWhenValue()
When to overwrite objects that already exist in the sink.
|
boolean |
hasMetadataOptions()
Represents the selected metadata options for a transfer job.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean getOverwriteObjectsAlreadyExistingInSink()
When to overwrite objects that already exist in the sink. The default is that only objects that are different from the source are ovewritten. If true, all objects in the sink whose name matches an object in the source are overwritten with the source object.
bool overwrite_objects_already_existing_in_sink = 1;boolean getDeleteObjectsUniqueInSink()
Whether objects that exist only in the sink should be deleted. **Note:** This option and [delete_objects_from_source_after_transfer][google.storagetransfer.v1.TransferOptions.delete_objects_from_source_after_transfer] are mutually exclusive.
bool delete_objects_unique_in_sink = 2;boolean getDeleteObjectsFromSourceAfterTransfer()
Whether objects should be deleted from the source after they are transferred to the sink. **Note:** This option and [delete_objects_unique_in_sink][google.storagetransfer.v1.TransferOptions.delete_objects_unique_in_sink] are mutually exclusive.
bool delete_objects_from_source_after_transfer = 3;int getOverwriteWhenValue()
When to overwrite objects that already exist in the sink. If not set, overwrite behavior is determined by [overwrite_objects_already_existing_in_sink][google.storagetransfer.v1.TransferOptions.overwrite_objects_already_existing_in_sink].
.google.storagetransfer.v1.TransferOptions.OverwriteWhen overwrite_when = 4;TransferTypes.TransferOptions.OverwriteWhen getOverwriteWhen()
When to overwrite objects that already exist in the sink. If not set, overwrite behavior is determined by [overwrite_objects_already_existing_in_sink][google.storagetransfer.v1.TransferOptions.overwrite_objects_already_existing_in_sink].
.google.storagetransfer.v1.TransferOptions.OverwriteWhen overwrite_when = 4;boolean hasMetadataOptions()
Represents the selected metadata options for a transfer job.
.google.storagetransfer.v1.MetadataOptions metadata_options = 5;TransferTypes.MetadataOptions getMetadataOptions()
Represents the selected metadata options for a transfer job.
.google.storagetransfer.v1.MetadataOptions metadata_options = 5;TransferTypes.MetadataOptionsOrBuilder getMetadataOptionsOrBuilder()
Represents the selected metadata options for a transfer job.
.google.storagetransfer.v1.MetadataOptions metadata_options = 5;Copyright © 2022 Google LLC. All rights reserved.