Enum TransferTypes.TransferOptions.OverwriteWhen (1.37.0)

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

ProtocolMessageEnum

Static Fields

NameDescription
ALWAYS

Always overwrite the destination object with the source object, even if the HTTP Etags or checksum values are the same.

ALWAYS = 3;

ALWAYS_VALUE

Always overwrite the destination object with the source object, even if the HTTP Etags or checksum values are the same.

ALWAYS = 3;

DIFFERENT

Overwrites destination objects with the source objects, only if the objects have the same name but different HTTP ETags or checksum values.

DIFFERENT = 1;

DIFFERENT_VALUE

Overwrites destination objects with the source objects, only if the objects have the same name but different HTTP ETags or checksum values.

DIFFERENT = 1;

NEVER

Never overwrites a destination object if a source object has the same name. In this case, the source object is not transferred.

NEVER = 2;

NEVER_VALUE

Never overwrites a destination object if a source object has the same name. In this case, the source object is not transferred.

NEVER = 2;

OVERWRITE_WHEN_UNSPECIFIED

Overwrite behavior is unspecified.

OVERWRITE_WHEN_UNSPECIFIED = 0;

OVERWRITE_WHEN_UNSPECIFIED_VALUE

Overwrite behavior is unspecified.

OVERWRITE_WHEN_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()