Enum Object.Retention.Mode (2.53.0)

public enum Object.Retention.Mode extends Enum<Object.Retention.Mode> implements ProtocolMessageEnum

Retention mode values.

Protobuf enum google.storage.v2.Object.Retention.Mode

Implements

ProtocolMessageEnum

Static Fields

Name Description
LOCKED

Retention period may be increased. The Retention configuration cannot be removed. The mode cannot be changed.

LOCKED = 2;

LOCKED_VALUE

Retention period may be increased. The Retention configuration cannot be removed. The mode cannot be changed.

LOCKED = 2;

MODE_UNSPECIFIED

No specified mode. Object is not under retention.

MODE_UNSPECIFIED = 0;

MODE_UNSPECIFIED_VALUE

No specified mode. Object is not under retention.

MODE_UNSPECIFIED = 0;

UNLOCKED

Retention period may be decreased or increased. The Retention configuration may be removed. The mode may be changed to locked.

UNLOCKED = 1;

UNLOCKED_VALUE

Retention period may be decreased or increased. The Retention configuration may be removed. The mode may be changed to locked.

UNLOCKED = 1;

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