public static enum FirewallLogConfig.Metadata extends Enum<FirewallLogConfig.Metadata> implements com.google.protobuf.ProtocolMessageEnum
This field can only be specified for a particular firewall rule if logging is enabled for that rule. This field denotes whether to include or exclude metadata for firewall logs.Protobuf enum
google.cloud.compute.v1.FirewallLogConfig.Metadata| Enum Constant and Description |
|---|
EXCLUDE_ALL_METADATA
EXCLUDE_ALL_METADATA = 334519954; |
INCLUDE_ALL_METADATA
INCLUDE_ALL_METADATA = 164619908; |
UNDEFINED_METADATA
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
EXCLUDE_ALL_METADATA_VALUE
EXCLUDE_ALL_METADATA = 334519954; |
static int |
INCLUDE_ALL_METADATA_VALUE
INCLUDE_ALL_METADATA = 164619908; |
static int |
UNDEFINED_METADATA_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static FirewallLogConfig.Metadata |
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<FirewallLogConfig.Metadata> |
internalGetValueMap() |
static FirewallLogConfig.Metadata |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static FirewallLogConfig.Metadata |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static FirewallLogConfig.Metadata |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FirewallLogConfig.Metadata[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FirewallLogConfig.Metadata UNDEFINED_METADATA
A value indicating that the enum field is not set.
UNDEFINED_METADATA = 0;public static final FirewallLogConfig.Metadata EXCLUDE_ALL_METADATA
EXCLUDE_ALL_METADATA = 334519954;public static final FirewallLogConfig.Metadata INCLUDE_ALL_METADATA
INCLUDE_ALL_METADATA = 164619908;public static final FirewallLogConfig.Metadata UNRECOGNIZED
public static final int UNDEFINED_METADATA_VALUE
A value indicating that the enum field is not set.
UNDEFINED_METADATA = 0;public static final int EXCLUDE_ALL_METADATA_VALUE
EXCLUDE_ALL_METADATA = 334519954;public static final int INCLUDE_ALL_METADATA_VALUE
INCLUDE_ALL_METADATA = 164619908;public static FirewallLogConfig.Metadata[] values()
for (FirewallLogConfig.Metadata c : FirewallLogConfig.Metadata.values()) System.out.println(c);
public static FirewallLogConfig.Metadata 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 FirewallLogConfig.Metadata valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static FirewallLogConfig.Metadata forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<FirewallLogConfig.Metadata> 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 FirewallLogConfig.Metadata valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.