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
public interface MetadataFilterOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MetadataFilterLabelMatch
getFilterLabels(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.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.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.MetadataFilterLabelMatchOrBuilder
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>
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.String
getFilterMatchCriteria()
Specifies how individual filter label matches within the list of filterLabels and contributes toward the overall metadataFilter match.com.google.protobuf.ByteString
getFilterMatchCriteriaBytes()
Specifies how individual filter label matches within the list of filterLabels and contributes toward the overall metadataFilter match.boolean
hasFilterMatchCriteria()
Specifies how individual filter label matches within the list of filterLabels and contributes toward the overall metadataFilter match.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
MetadataFilterLabelMatch getFilterLabels(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.
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
MetadataFilterLabelMatchOrBuilder 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.
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.
-
-