Enum NfsShare.MountPermissions
- java.lang.Object
-
- java.lang.Enum<NfsShare.MountPermissions>
-
- com.google.cloud.baremetalsolution.v2.NfsShare.MountPermissions
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<NfsShare.MountPermissions>
- Enclosing class:
- NfsShare
public static enum NfsShare.MountPermissions extends Enum<NfsShare.MountPermissions> implements com.google.protobuf.ProtocolMessageEnum
The possible mount permissions.
Protobuf enumgoogle.cloud.baremetalsolution.v2.NfsShare.MountPermissions
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MOUNT_PERMISSIONS_UNSPECIFIED
Permissions were not specified.READ
NFS share can be mount with read-only permissions.READ_WRITE
NFS share can be mount with read-write permissions.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
MOUNT_PERMISSIONS_UNSPECIFIED_VALUE
Permissions were not specified.static int
READ_VALUE
NFS share can be mount with read-only permissions.static int
READ_WRITE_VALUE
NFS share can be mount with read-write permissions.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static NfsShare.MountPermissions
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<NfsShare.MountPermissions>
internalGetValueMap()
static NfsShare.MountPermissions
valueOf(int value)
Deprecated.static NfsShare.MountPermissions
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static NfsShare.MountPermissions
valueOf(String name)
Returns the enum constant of this type with the specified name.static NfsShare.MountPermissions[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MOUNT_PERMISSIONS_UNSPECIFIED
public static final NfsShare.MountPermissions MOUNT_PERMISSIONS_UNSPECIFIED
Permissions were not specified.
MOUNT_PERMISSIONS_UNSPECIFIED = 0;
-
READ
public static final NfsShare.MountPermissions READ
NFS share can be mount with read-only permissions.
READ = 1;
-
READ_WRITE
public static final NfsShare.MountPermissions READ_WRITE
NFS share can be mount with read-write permissions.
READ_WRITE = 2;
-
UNRECOGNIZED
public static final NfsShare.MountPermissions UNRECOGNIZED
-
-
Field Detail
-
MOUNT_PERMISSIONS_UNSPECIFIED_VALUE
public static final int MOUNT_PERMISSIONS_UNSPECIFIED_VALUE
Permissions were not specified.
MOUNT_PERMISSIONS_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
READ_VALUE
public static final int READ_VALUE
NFS share can be mount with read-only permissions.
READ = 1;
- See Also:
- Constant Field Values
-
READ_WRITE_VALUE
public static final int READ_WRITE_VALUE
NFS share can be mount with read-write permissions.
READ_WRITE = 2;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static NfsShare.MountPermissions[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (NfsShare.MountPermissions c : NfsShare.MountPermissions.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NfsShare.MountPermissions valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static NfsShare.MountPermissions valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
public static NfsShare.MountPermissions forNumber(int value)
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<NfsShare.MountPermissions> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static NfsShare.MountPermissions valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-