public static class MetadataFilter.Builder extends Object
Modifier and Type | Method and Description |
---|---|
MetadataFilter.Builder |
addAllFilterLabels(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.Builder |
addFilterLabels(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 |
build() |
MetadataFilter.Builder |
clone() |
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.
|
String |
getFilterMatchCriteria()
Specifies how individual filterLabel matches within the list of filterLabels contribute
towards the overall metadataFilter match.
|
MetadataFilter.Builder |
mergeFrom(MetadataFilter other) |
MetadataFilter.Builder |
setFilterMatchCriteria(String filterMatchCriteria)
Specifies how individual filterLabel matches within the list of filterLabels contribute
towards the overall metadataFilter match.
|
public MetadataFilter.Builder mergeFrom(MetadataFilter other)
public List<MetadataFilterLabelMatch> getFilterLabelsList()
public MetadataFilter.Builder addAllFilterLabels(List<MetadataFilterLabelMatch> filterLabels)
public MetadataFilter.Builder addFilterLabels(MetadataFilterLabelMatch filterLabels)
public String getFilterMatchCriteria()
public MetadataFilter.Builder setFilterMatchCriteria(String filterMatchCriteria)
public MetadataFilter build()
public MetadataFilter.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.