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