public enum RestrictedAction extends Enum<RestrictedAction> implements com.google.protobuf.ProtocolMessageEnum
Actions to be restricted for a volume.Protobuf enum
google.cloud.netapp.v1.RestrictedAction| Enum Constant and Description |
|---|
DELETE
Prevent volume from being deleted when mounted.
|
RESTRICTED_ACTION_UNSPECIFIED
Unspecified restricted action
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DELETE_VALUE
Prevent volume from being deleted when mounted.
|
static int |
RESTRICTED_ACTION_UNSPECIFIED_VALUE
Unspecified restricted action
|
| Modifier and Type | Method and Description |
|---|---|
static RestrictedAction |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<RestrictedAction> |
internalGetValueMap() |
static RestrictedAction |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static RestrictedAction |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RestrictedAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestrictedAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RestrictedAction RESTRICTED_ACTION_UNSPECIFIED
Unspecified restricted action
RESTRICTED_ACTION_UNSPECIFIED = 0;public static final RestrictedAction DELETE
Prevent volume from being deleted when mounted.
DELETE = 1;public static final RestrictedAction UNRECOGNIZED
public static final int RESTRICTED_ACTION_UNSPECIFIED_VALUE
Unspecified restricted action
RESTRICTED_ACTION_UNSPECIFIED = 0;public static final int DELETE_VALUE
Prevent volume from being deleted when mounted.
DELETE = 1;public static RestrictedAction[] values()
for (RestrictedAction c : RestrictedAction.values()) System.out.println(c);
public static RestrictedAction valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static RestrictedAction valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static RestrictedAction forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<RestrictedAction> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static RestrictedAction valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.