public enum TransferTypes.TransferOptions.OverwriteWhen extends Enum<TransferTypes.TransferOptions.OverwriteWhen> implements ProtocolMessageEnum
Specifies when to overwrite an object in the sink when an object with matching name is found in the source.
Protobuf enum google.storagetransfer.v1.TransferOptions.OverwriteWhen
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
ALWAYS |
Always overwrite the destination object with the source object, even if the HTTP Etags or checksum values are the same. |
ALWAYS_VALUE |
Always overwrite the destination object with the source object, even if the HTTP Etags or checksum values are the same. |
DIFFERENT |
Overwrites destination objects with the source objects, only if the objects have the same name but different HTTP ETags or checksum values. |
DIFFERENT_VALUE |
Overwrites destination objects with the source objects, only if the objects have the same name but different HTTP ETags or checksum values. |
NEVER |
Never overwrites a destination object if a source object has the same name. In this case, the source object is not transferred. |
NEVER_VALUE |
Never overwrites a destination object if a source object has the same name. In this case, the source object is not transferred. |
OVERWRITE_WHEN_UNSPECIFIED |
Overwrite behavior is unspecified. |
OVERWRITE_WHEN_UNSPECIFIED_VALUE |
Overwrite behavior is unspecified. |
UNRECOGNIZED |
Static Methods |
|
---|---|
Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
Methods |
|
---|---|
Name | Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |