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_UNSPECIFIEDPermissions were not specified.READNFS share can be mount with read-only permissions.READ_WRITENFS share can be mount with read-write permissions.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intMOUNT_PERMISSIONS_UNSPECIFIED_VALUEPermissions were not specified.static intREAD_VALUENFS share can be mount with read-only permissions.static intREAD_WRITE_VALUENFS 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.MountPermissionsforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<NfsShare.MountPermissions>internalGetValueMap()static NfsShare.MountPermissionsvalueOf(int value)Deprecated.static NfsShare.MountPermissionsvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static NfsShare.MountPermissionsvalueOf(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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein 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
-
-