public final class MetadataFilter
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
MetadataFilter() |
| Modifier and Type | Method and Description |
|---|---|
MetadataFilter |
clone() |
List<MetadataFilterLabelMatch> |
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.
|
String |
getFilterMatchCriteria()
Specifies how individual filter label matches within the list of filterLabels and contributes
toward the overall metadataFilter match.
|
MetadataFilter |
set(String fieldName,
Object value) |
MetadataFilter |
setFilterLabels(List<MetadataFilterLabelMatch> filterLabels)
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.
|
MetadataFilter |
setFilterMatchCriteria(String filterMatchCriteria)
Specifies how individual filter label matches within the list of filterLabels and contributes
toward the overall metadataFilter match.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic List<MetadataFilterLabelMatch> getFilterLabels()
null for nonepublic MetadataFilter setFilterLabels(List<MetadataFilterLabelMatch> filterLabels)
filterLabels - filterLabels or null for nonepublic String getFilterMatchCriteria()
null for nonepublic MetadataFilter setFilterMatchCriteria(String filterMatchCriteria)
filterMatchCriteria - filterMatchCriteria or null for nonepublic MetadataFilter set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic MetadataFilter clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.