public static enum NfsShare.MountPermissions extends Enum<NfsShare.MountPermissions> implements com.google.protobuf.ProtocolMessageEnum
The possible mount permissions.Protobuf enum
google.cloud.baremetalsolution.v2.NfsShare.MountPermissions| Enum Constant and 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 |
| Modifier and Type | Field and 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.
|
| Modifier and Type | Method and 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(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static NfsShare.MountPermissions |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
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.
|
public static final NfsShare.MountPermissions MOUNT_PERMISSIONS_UNSPECIFIED
Permissions were not specified.
MOUNT_PERMISSIONS_UNSPECIFIED = 0;public static final NfsShare.MountPermissions READ
NFS share can be mount with read-only permissions.
READ = 1;public static final NfsShare.MountPermissions READ_WRITE
NFS share can be mount with read-write permissions.
READ_WRITE = 2;public static final NfsShare.MountPermissions UNRECOGNIZED
public static final int MOUNT_PERMISSIONS_UNSPECIFIED_VALUE
Permissions were not specified.
MOUNT_PERMISSIONS_UNSPECIFIED = 0;public static final int READ_VALUE
NFS share can be mount with read-only permissions.
READ = 1;public static final int READ_WRITE_VALUE
NFS share can be mount with read-write permissions.
READ_WRITE = 2;public static NfsShare.MountPermissions[] values()
for (NfsShare.MountPermissions c : NfsShare.MountPermissions.values()) System.out.println(c);
public static NfsShare.MountPermissions 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 NfsShare.MountPermissions valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static NfsShare.MountPermissions forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<NfsShare.MountPermissions> 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 NfsShare.MountPermissions valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.