Package com.google.cloud.compute.v1
Interface MetadataFilterOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MetadataFilter,MetadataFilter.Builder
@Generated
public interface MetadataFilterOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetFilterLabels(int index) The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list must not be empty and can have at the most 64 entries.intThe list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list must not be empty and can have at the most 64 entries.The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list must not be empty and can have at the most 64 entries.getFilterLabelsOrBuilder(int index) The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list must not be empty and can have at the most 64 entries.List<? extends MetadataFilterLabelMatchOrBuilder>The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list must not be empty and can have at the most 64 entries.Specifies how individual filter label matches within the list of filterLabels and contributes toward the overall metadataFilter match.com.google.protobuf.ByteStringSpecifies how individual filter label matches within the list of filterLabels and contributes toward the overall metadataFilter match.booleanSpecifies how individual filter label matches within the list of filterLabels and contributes toward the overall metadataFilter match.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getFilterLabelsList
List<MetadataFilterLabelMatch> getFilterLabelsList()The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list must not be empty and can have at the most 64 entries.
repeated .google.cloud.compute.v1.MetadataFilterLabelMatch filter_labels = 307903142; -
getFilterLabels
The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list must not be empty and can have at the most 64 entries.
repeated .google.cloud.compute.v1.MetadataFilterLabelMatch filter_labels = 307903142; -
getFilterLabelsCount
int getFilterLabelsCount()The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list must not be empty and can have at the most 64 entries.
repeated .google.cloud.compute.v1.MetadataFilterLabelMatch filter_labels = 307903142; -
getFilterLabelsOrBuilderList
List<? extends MetadataFilterLabelMatchOrBuilder> getFilterLabelsOrBuilderList()The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list must not be empty and can have at the most 64 entries.
repeated .google.cloud.compute.v1.MetadataFilterLabelMatch filter_labels = 307903142; -
getFilterLabelsOrBuilder
The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list must not be empty and can have at the most 64 entries.
repeated .google.cloud.compute.v1.MetadataFilterLabelMatch filter_labels = 307903142; -
hasFilterMatchCriteria
boolean hasFilterMatchCriteria()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. Check the FilterMatchCriteria enum for the list of possible values.
optional string filter_match_criteria = 239970368;- Returns:
- Whether the filterMatchCriteria field is set.
-
getFilterMatchCriteria
String getFilterMatchCriteria()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. Check the FilterMatchCriteria enum for the list of possible values.
optional string filter_match_criteria = 239970368;- Returns:
- The filterMatchCriteria.
-
getFilterMatchCriteriaBytes
com.google.protobuf.ByteString getFilterMatchCriteriaBytes()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. Check the FilterMatchCriteria enum for the list of possible values.
optional string filter_match_criteria = 239970368;- Returns:
- The bytes for filterMatchCriteria.
-