Enum MetadataFilter.FilterMatchCriteria (1.52.0)

public enum MetadataFilter.FilterMatchCriteria extends Enum<MetadataFilter.FilterMatchCriteria> implements ProtocolMessageEnum

Specifies how individual filter label matches within the list of filterLabels and contributes toward the overall metadataFilter match. Supported values are: - MATCH_ANY: at least one of the filterLabels must have a matching label in the provided metadata. - MATCH_ALL: all filterLabels must have matching labels in the provided metadata.

Protobuf enum google.cloud.compute.v1.MetadataFilter.FilterMatchCriteria

Implements

ProtocolMessageEnum

Static Fields

Name Description
MATCH_ALL

Specifies that all filterLabels must match for the metadataFilter to be considered a match.

MATCH_ALL = 180663271;

MATCH_ALL_VALUE

Specifies that all filterLabels must match for the metadataFilter to be considered a match.

MATCH_ALL = 180663271;

MATCH_ANY

Specifies that any filterLabel must match for the metadataFilter to be considered a match.

MATCH_ANY = 180663346;

MATCH_ANY_VALUE

Specifies that any filterLabel must match for the metadataFilter to be considered a match.

MATCH_ANY = 180663346;

NOT_SET

Indicates that the match criteria was not set. A metadataFilter must never be created with this value.

NOT_SET = 163646646;

NOT_SET_VALUE

Indicates that the match criteria was not set. A metadataFilter must never be created with this value.

NOT_SET = 163646646;

UNDEFINED_FILTER_MATCH_CRITERIA

A value indicating that the enum field is not set.

UNDEFINED_FILTER_MATCH_CRITERIA = 0;

UNDEFINED_FILTER_MATCH_CRITERIA_VALUE

A value indicating that the enum field is not set.

UNDEFINED_FILTER_MATCH_CRITERIA = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()