public static enum NetworkProfileNetworkFeatures.AllowNcc extends Enum<NetworkProfileNetworkFeatures.AllowNcc> implements com.google.protobuf.ProtocolMessageEnum
Specifies whether NCC is allowed.Protobuf enum
google.cloud.compute.v1.NetworkProfileNetworkFeatures.AllowNcc| Enum Constant and Description |
|---|
NCC_ALLOWED
NCC_ALLOWED = 467227511; |
NCC_BLOCKED
NCC_BLOCKED = 283390907; |
UNDEFINED_ALLOW_NCC
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
NCC_ALLOWED_VALUE
NCC_ALLOWED = 467227511; |
static int |
NCC_BLOCKED_VALUE
NCC_BLOCKED = 283390907; |
static int |
UNDEFINED_ALLOW_NCC_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static NetworkProfileNetworkFeatures.AllowNcc |
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<NetworkProfileNetworkFeatures.AllowNcc> |
internalGetValueMap() |
static NetworkProfileNetworkFeatures.AllowNcc |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static NetworkProfileNetworkFeatures.AllowNcc |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static NetworkProfileNetworkFeatures.AllowNcc |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NetworkProfileNetworkFeatures.AllowNcc[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetworkProfileNetworkFeatures.AllowNcc UNDEFINED_ALLOW_NCC
A value indicating that the enum field is not set.
UNDEFINED_ALLOW_NCC = 0;public static final NetworkProfileNetworkFeatures.AllowNcc NCC_ALLOWED
NCC_ALLOWED = 467227511;public static final NetworkProfileNetworkFeatures.AllowNcc NCC_BLOCKED
NCC_BLOCKED = 283390907;public static final NetworkProfileNetworkFeatures.AllowNcc UNRECOGNIZED
public static final int UNDEFINED_ALLOW_NCC_VALUE
A value indicating that the enum field is not set.
UNDEFINED_ALLOW_NCC = 0;public static final int NCC_ALLOWED_VALUE
NCC_ALLOWED = 467227511;public static final int NCC_BLOCKED_VALUE
NCC_BLOCKED = 283390907;public static NetworkProfileNetworkFeatures.AllowNcc[] values()
for (NetworkProfileNetworkFeatures.AllowNcc c : NetworkProfileNetworkFeatures.AllowNcc.values()) System.out.println(c);
public static NetworkProfileNetworkFeatures.AllowNcc 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 NetworkProfileNetworkFeatures.AllowNcc valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static NetworkProfileNetworkFeatures.AllowNcc forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<NetworkProfileNetworkFeatures.AllowNcc> 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 NetworkProfileNetworkFeatures.AllowNcc valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.