public enum ObjectRetention.RetentionMode extends Enum<ObjectRetention.RetentionMode> implements ProtocolMessageEnumDescribes the retention mode.
Protobuf enum google.cloud.storagebatchoperations.v1.ObjectRetention.RetentionMode
Implements
ProtocolMessageEnumStatic Fields |
|
|---|---|
| Name | Description |
LOCKED |
Sets the retention mode to locked. |
LOCKED_VALUE |
Sets the retention mode to locked. |
RETENTION_MODE_UNSPECIFIED |
If set and retain_until_time is empty, clears the retention. |
RETENTION_MODE_UNSPECIFIED_VALUE |
If set and retain_until_time is empty, clears the retention. |
UNLOCKED |
Sets the retention mode to unlocked. |
UNLOCKED_VALUE |
Sets the retention mode to unlocked. |
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() |
|