Enum ObjectRetention.RetentionMode (0.22.0)

public enum ObjectRetention.RetentionMode extends Enum<ObjectRetention.RetentionMode> implements ProtocolMessageEnum

Describes the retention mode.

Protobuf enum google.cloud.storagebatchoperations.v1.ObjectRetention.RetentionMode

Implements

ProtocolMessageEnum

Static Fields

Name Description
LOCKED

Sets the retention mode to locked.

LOCKED = 1;

LOCKED_VALUE

Sets the retention mode to locked.

LOCKED = 1;

RETENTION_MODE_UNSPECIFIED

If set and retain_until_time is empty, clears the retention.

RETENTION_MODE_UNSPECIFIED = 0;

RETENTION_MODE_UNSPECIFIED_VALUE

If set and retain_until_time is empty, clears the retention.

RETENTION_MODE_UNSPECIFIED = 0;

UNLOCKED

Sets the retention mode to unlocked.

UNLOCKED = 2;

UNLOCKED_VALUE

Sets the retention mode to unlocked.

UNLOCKED = 2;

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()