public enum Protocols extends Enum<Protocols> implements com.google.protobuf.ProtocolMessageEnum
Protocols is an enum of all the supported network protocols for a volume.Protobuf enum
google.cloud.netapp.v1.Protocols| Enum Constant and Description |
|---|
NFSV3
NFS V3 protocol
|
NFSV4
NFS V4 protocol
|
PROTOCOLS_UNSPECIFIED
Unspecified protocol
|
SMB
SMB protocol
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
NFSV3_VALUE
NFS V3 protocol
|
static int |
NFSV4_VALUE
NFS V4 protocol
|
static int |
PROTOCOLS_UNSPECIFIED_VALUE
Unspecified protocol
|
static int |
SMB_VALUE
SMB protocol
|
| Modifier and Type | Method and Description |
|---|---|
static Protocols |
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<Protocols> |
internalGetValueMap() |
static Protocols |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Protocols |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Protocols |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Protocols[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Protocols PROTOCOLS_UNSPECIFIED
Unspecified protocol
PROTOCOLS_UNSPECIFIED = 0;public static final Protocols NFSV3
NFS V3 protocol
NFSV3 = 1;public static final Protocols NFSV4
NFS V4 protocol
NFSV4 = 2;public static final Protocols SMB
SMB protocol
SMB = 3;public static final Protocols UNRECOGNIZED
public static final int PROTOCOLS_UNSPECIFIED_VALUE
Unspecified protocol
PROTOCOLS_UNSPECIFIED = 0;public static final int NFSV3_VALUE
NFS V3 protocol
NFSV3 = 1;public static final int NFSV4_VALUE
NFS V4 protocol
NFSV4 = 2;public static final int SMB_VALUE
SMB protocol
SMB = 3;public static Protocols[] values()
for (Protocols c : Protocols.values()) System.out.println(c);
public static Protocols 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 Protocols valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Protocols forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Protocols> 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 Protocols valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.