public static enum SecurityPolicyUserDefinedField.Base extends Enum<SecurityPolicyUserDefinedField.Base> implements com.google.protobuf.ProtocolMessageEnum
The base relative to which 'offset' is measured. Possible values are: - IPV4: Points to the beginning of the IPv4 header. - IPV6: Points to the beginning of the IPv6 header. - TCP: Points to the beginning of the TCP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. - UDP: Points to the beginning of the UDP header, skipping over any IPv4 options or IPv6 extension headers. Not present for non-first fragments. requiredProtobuf enum
google.cloud.compute.v1.SecurityPolicyUserDefinedField.Base| Enum Constant and Description |
|---|
IPV4
IPV4 = 2254341; |
IPV6
IPV6 = 2254343; |
TCP
TCP = 82881; |
UDP
UDP = 83873; |
UNDEFINED_BASE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
IPV4_VALUE
IPV4 = 2254341; |
static int |
IPV6_VALUE
IPV6 = 2254343; |
static int |
TCP_VALUE
TCP = 82881; |
static int |
UDP_VALUE
UDP = 83873; |
static int |
UNDEFINED_BASE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static SecurityPolicyUserDefinedField.Base |
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<SecurityPolicyUserDefinedField.Base> |
internalGetValueMap() |
static SecurityPolicyUserDefinedField.Base |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SecurityPolicyUserDefinedField.Base |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SecurityPolicyUserDefinedField.Base |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SecurityPolicyUserDefinedField.Base[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SecurityPolicyUserDefinedField.Base UNDEFINED_BASE
A value indicating that the enum field is not set.
UNDEFINED_BASE = 0;public static final SecurityPolicyUserDefinedField.Base IPV4
IPV4 = 2254341;public static final SecurityPolicyUserDefinedField.Base IPV6
IPV6 = 2254343;public static final SecurityPolicyUserDefinedField.Base TCP
TCP = 82881;public static final SecurityPolicyUserDefinedField.Base UDP
UDP = 83873;public static final SecurityPolicyUserDefinedField.Base UNRECOGNIZED
public static final int UNDEFINED_BASE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_BASE = 0;public static final int IPV4_VALUE
IPV4 = 2254341;public static final int IPV6_VALUE
IPV6 = 2254343;public static final int TCP_VALUE
TCP = 82881;public static final int UDP_VALUE
UDP = 83873;public static SecurityPolicyUserDefinedField.Base[] values()
for (SecurityPolicyUserDefinedField.Base c : SecurityPolicyUserDefinedField.Base.values()) System.out.println(c);
public static SecurityPolicyUserDefinedField.Base 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 SecurityPolicyUserDefinedField.Base valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static SecurityPolicyUserDefinedField.Base forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SecurityPolicyUserDefinedField.Base> 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 SecurityPolicyUserDefinedField.Base valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.