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