public static enum FirewallPolicyRuleMatcher.SrcNetworkType extends Enum<FirewallPolicyRuleMatcher.SrcNetworkType> implements com.google.protobuf.ProtocolMessageEnum
Network type of the traffic source. Allowed values are: - UNSPECIFIED - INTERNET - INTRA_VPC - NON_INTERNET - VPC_NETWORKS Additional supported values which may be not listed in the enum directly due to technical reasons: INTERNET INTRA_VPC NON_INTERNET UNSPECIFIED VPC_NETWORKSProtobuf enum
google.cloud.compute.v1.FirewallPolicyRuleMatcher.SrcNetworkType| Enum Constant and Description |
|---|
UNDEFINED_SRC_NETWORK_TYPE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
UNDEFINED_SRC_NETWORK_TYPE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static FirewallPolicyRuleMatcher.SrcNetworkType |
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<FirewallPolicyRuleMatcher.SrcNetworkType> |
internalGetValueMap() |
static FirewallPolicyRuleMatcher.SrcNetworkType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static FirewallPolicyRuleMatcher.SrcNetworkType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static FirewallPolicyRuleMatcher.SrcNetworkType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FirewallPolicyRuleMatcher.SrcNetworkType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FirewallPolicyRuleMatcher.SrcNetworkType UNDEFINED_SRC_NETWORK_TYPE
A value indicating that the enum field is not set.
UNDEFINED_SRC_NETWORK_TYPE = 0;public static final FirewallPolicyRuleMatcher.SrcNetworkType UNRECOGNIZED
public static final int UNDEFINED_SRC_NETWORK_TYPE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_SRC_NETWORK_TYPE = 0;public static FirewallPolicyRuleMatcher.SrcNetworkType[] values()
for (FirewallPolicyRuleMatcher.SrcNetworkType c : FirewallPolicyRuleMatcher.SrcNetworkType.values()) System.out.println(c);
public static FirewallPolicyRuleMatcher.SrcNetworkType 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 FirewallPolicyRuleMatcher.SrcNetworkType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static FirewallPolicyRuleMatcher.SrcNetworkType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<FirewallPolicyRuleMatcher.SrcNetworkType> 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 FirewallPolicyRuleMatcher.SrcNetworkType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.