public static enum SubnetworkLogConfig.Metadata extends Enum<SubnetworkLogConfig.Metadata> implements com.google.protobuf.ProtocolMessageEnum
Can only be specified if VPC flow logs for this subnetwork is enabled. Configures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs. Default is EXCLUDE_ALL_METADATA.Protobuf enum
google.cloud.compute.v1.SubnetworkLogConfig.Metadata| Enum Constant and Description |
|---|
CUSTOM_METADATA
CUSTOM_METADATA = 62450749; |
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 |
CUSTOM_METADATA_VALUE
CUSTOM_METADATA = 62450749; |
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 SubnetworkLogConfig.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<SubnetworkLogConfig.Metadata> |
internalGetValueMap() |
static SubnetworkLogConfig.Metadata |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SubnetworkLogConfig.Metadata |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SubnetworkLogConfig.Metadata |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SubnetworkLogConfig.Metadata[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubnetworkLogConfig.Metadata UNDEFINED_METADATA
A value indicating that the enum field is not set.
UNDEFINED_METADATA = 0;public static final SubnetworkLogConfig.Metadata CUSTOM_METADATA
CUSTOM_METADATA = 62450749;public static final SubnetworkLogConfig.Metadata EXCLUDE_ALL_METADATA
EXCLUDE_ALL_METADATA = 334519954;public static final SubnetworkLogConfig.Metadata INCLUDE_ALL_METADATA
INCLUDE_ALL_METADATA = 164619908;public static final SubnetworkLogConfig.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 CUSTOM_METADATA_VALUE
CUSTOM_METADATA = 62450749;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 SubnetworkLogConfig.Metadata[] values()
for (SubnetworkLogConfig.Metadata c : SubnetworkLogConfig.Metadata.values()) System.out.println(c);
public static SubnetworkLogConfig.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 SubnetworkLogConfig.Metadata valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static SubnetworkLogConfig.Metadata forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SubnetworkLogConfig.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 SubnetworkLogConfig.Metadata valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.