Package com.google.cloud.visionai.v1
Class SearchResultItem.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SearchResultItem.Builder>
com.google.cloud.visionai.v1.SearchResultItem.Builder
- All Implemented Interfaces:
SearchResultItemOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SearchResultItem
public static final class SearchResultItem.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SearchResultItem.Builder>
implements SearchResultItemOrBuilder
Search result contains asset name and corresponding time ranges.Protobuf type
google.cloud.visionai.v1.SearchResultItem-
Method Summary
Modifier and TypeMethodDescriptionaddAllAnnotationMatchingResults(Iterable<? extends AnnotationMatchingResult> values) Criteria or facet-selection based annotation matching results associated to this search result item.addAllRequestedAnnotations(Iterable<? extends Annotation> values) Search result annotations specified by result_annotation_keys in search request.addAllSegments(Iterable<? extends Partition.TemporalPartition> values) Deprecated.addAnnotationMatchingResults(int index, AnnotationMatchingResult value) Criteria or facet-selection based annotation matching results associated to this search result item.addAnnotationMatchingResults(int index, AnnotationMatchingResult.Builder builderForValue) Criteria or facet-selection based annotation matching results associated to this search result item.Criteria or facet-selection based annotation matching results associated to this search result item.addAnnotationMatchingResults(AnnotationMatchingResult.Builder builderForValue) Criteria or facet-selection based annotation matching results associated to this search result item.Criteria or facet-selection based annotation matching results associated to this search result item.addAnnotationMatchingResultsBuilder(int index) Criteria or facet-selection based annotation matching results associated to this search result item.addRequestedAnnotations(int index, Annotation value) Search result annotations specified by result_annotation_keys in search request.addRequestedAnnotations(int index, Annotation.Builder builderForValue) Search result annotations specified by result_annotation_keys in search request.Search result annotations specified by result_annotation_keys in search request.addRequestedAnnotations(Annotation.Builder builderForValue) Search result annotations specified by result_annotation_keys in search request.Search result annotations specified by result_annotation_keys in search request.addRequestedAnnotationsBuilder(int index) Search result annotations specified by result_annotation_keys in search request.addSegments(int index, Partition.TemporalPartition value) Deprecated.addSegments(int index, Partition.TemporalPartition.Builder builderForValue) Deprecated.Deprecated.addSegments(Partition.TemporalPartition.Builder builderForValue) Deprecated.Deprecated.addSegmentsBuilder(int index) Deprecated.build()clear()Criteria or facet-selection based annotation matching results associated to this search result item.The resource name of the asset.Available to IMAGE corpus types.Search result annotations specified by result_annotation_keys in search request.The matched asset segment.Deprecated.getAnnotationMatchingResults(int index) Criteria or facet-selection based annotation matching results associated to this search result item.getAnnotationMatchingResultsBuilder(int index) Criteria or facet-selection based annotation matching results associated to this search result item.Criteria or facet-selection based annotation matching results associated to this search result item.intCriteria or facet-selection based annotation matching results associated to this search result item.Criteria or facet-selection based annotation matching results associated to this search result item.getAnnotationMatchingResultsOrBuilder(int index) Criteria or facet-selection based annotation matching results associated to this search result item.List<? extends AnnotationMatchingResultOrBuilder>Criteria or facet-selection based annotation matching results associated to this search result item.getAsset()The resource name of the asset.com.google.protobuf.ByteStringThe resource name of the asset.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptordoubleAvailable to IMAGE corpus types.getRequestedAnnotations(int index) Search result annotations specified by result_annotation_keys in search request.getRequestedAnnotationsBuilder(int index) Search result annotations specified by result_annotation_keys in search request.Search result annotations specified by result_annotation_keys in search request.intSearch result annotations specified by result_annotation_keys in search request.Search result annotations specified by result_annotation_keys in search request.getRequestedAnnotationsOrBuilder(int index) Search result annotations specified by result_annotation_keys in search request.List<? extends AnnotationOrBuilder>Search result annotations specified by result_annotation_keys in search request.The matched asset segment.The matched asset segment.The matched asset segment.getSegments(int index) Deprecated.getSegmentsBuilder(int index) Deprecated.Deprecated.intDeprecated.Deprecated.getSegmentsOrBuilder(int index) Deprecated.List<? extends Partition.TemporalPartitionOrBuilder>Deprecated.booleanThe matched asset segment.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(SearchResultItem other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The matched asset segment.removeAnnotationMatchingResults(int index) Criteria or facet-selection based annotation matching results associated to this search result item.removeRequestedAnnotations(int index) Search result annotations specified by result_annotation_keys in search request.removeSegments(int index) Deprecated.setAnnotationMatchingResults(int index, AnnotationMatchingResult value) Criteria or facet-selection based annotation matching results associated to this search result item.setAnnotationMatchingResults(int index, AnnotationMatchingResult.Builder builderForValue) Criteria or facet-selection based annotation matching results associated to this search result item.The resource name of the asset.setAssetBytes(com.google.protobuf.ByteString value) The resource name of the asset.setRelevance(double value) Available to IMAGE corpus types.setRequestedAnnotations(int index, Annotation value) Search result annotations specified by result_annotation_keys in search request.setRequestedAnnotations(int index, Annotation.Builder builderForValue) Search result annotations specified by result_annotation_keys in search request.The matched asset segment.setSegment(Partition.TemporalPartition.Builder builderForValue) The matched asset segment.setSegments(int index, Partition.TemporalPartition value) Deprecated.setSegments(int index, Partition.TemporalPartition.Builder builderForValue) Deprecated.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SearchResultItem.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SearchResultItem.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SearchResultItem.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SearchResultItem.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SearchResultItem.Builder>
-
mergeFrom
public SearchResultItem.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SearchResultItem.Builder>- Throws:
IOException
-
getAsset
The resource name of the asset. Format: `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}`string asset = 1;- Specified by:
getAssetin interfaceSearchResultItemOrBuilder- Returns:
- The asset.
-
getAssetBytes
public com.google.protobuf.ByteString getAssetBytes()The resource name of the asset. Format: `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}`string asset = 1;- Specified by:
getAssetBytesin interfaceSearchResultItemOrBuilder- Returns:
- The bytes for asset.
-
setAsset
The resource name of the asset. Format: `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}`string asset = 1;- Parameters:
value- The asset to set.- Returns:
- This builder for chaining.
-
clearAsset
The resource name of the asset. Format: `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}`string asset = 1;- Returns:
- This builder for chaining.
-
setAssetBytes
The resource name of the asset. Format: `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}`string asset = 1;- Parameters:
value- The bytes for asset to set.- Returns:
- This builder for chaining.
-
getSegmentsList
Deprecated.The matched asset segments. Deprecated: please use singular `segment` field.
repeated .google.cloud.visionai.v1.Partition.TemporalPartition segments = 2 [deprecated = true];- Specified by:
getSegmentsListin interfaceSearchResultItemOrBuilder
-
getSegmentsCount
Deprecated.The matched asset segments. Deprecated: please use singular `segment` field.
repeated .google.cloud.visionai.v1.Partition.TemporalPartition segments = 2 [deprecated = true];- Specified by:
getSegmentsCountin interfaceSearchResultItemOrBuilder
-
getSegments
Deprecated.The matched asset segments. Deprecated: please use singular `segment` field.
repeated .google.cloud.visionai.v1.Partition.TemporalPartition segments = 2 [deprecated = true];- Specified by:
getSegmentsin interfaceSearchResultItemOrBuilder
-
setSegments
@Deprecated public SearchResultItem.Builder setSegments(int index, Partition.TemporalPartition value) Deprecated.The matched asset segments. Deprecated: please use singular `segment` field.
repeated .google.cloud.visionai.v1.Partition.TemporalPartition segments = 2 [deprecated = true]; -
setSegments
@Deprecated public SearchResultItem.Builder setSegments(int index, Partition.TemporalPartition.Builder builderForValue) Deprecated.The matched asset segments. Deprecated: please use singular `segment` field.
repeated .google.cloud.visionai.v1.Partition.TemporalPartition segments = 2 [deprecated = true]; -
addSegments
Deprecated.The matched asset segments. Deprecated: please use singular `segment` field.
repeated .google.cloud.visionai.v1.Partition.TemporalPartition segments = 2 [deprecated = true]; -
addSegments
@Deprecated public SearchResultItem.Builder addSegments(int index, Partition.TemporalPartition value) Deprecated.The matched asset segments. Deprecated: please use singular `segment` field.
repeated .google.cloud.visionai.v1.Partition.TemporalPartition segments = 2 [deprecated = true]; -
addSegments
@Deprecated public SearchResultItem.Builder addSegments(Partition.TemporalPartition.Builder builderForValue) Deprecated.The matched asset segments. Deprecated: please use singular `segment` field.
repeated .google.cloud.visionai.v1.Partition.TemporalPartition segments = 2 [deprecated = true]; -
addSegments
@Deprecated public SearchResultItem.Builder addSegments(int index, Partition.TemporalPartition.Builder builderForValue) Deprecated.The matched asset segments. Deprecated: please use singular `segment` field.
repeated .google.cloud.visionai.v1.Partition.TemporalPartition segments = 2 [deprecated = true]; -
addAllSegments
@Deprecated public SearchResultItem.Builder addAllSegments(Iterable<? extends Partition.TemporalPartition> values) Deprecated.The matched asset segments. Deprecated: please use singular `segment` field.
repeated .google.cloud.visionai.v1.Partition.TemporalPartition segments = 2 [deprecated = true]; -
clearSegments
Deprecated.The matched asset segments. Deprecated: please use singular `segment` field.
repeated .google.cloud.visionai.v1.Partition.TemporalPartition segments = 2 [deprecated = true]; -
removeSegments
Deprecated.The matched asset segments. Deprecated: please use singular `segment` field.
repeated .google.cloud.visionai.v1.Partition.TemporalPartition segments = 2 [deprecated = true]; -
getSegmentsBuilder
Deprecated.The matched asset segments. Deprecated: please use singular `segment` field.
repeated .google.cloud.visionai.v1.Partition.TemporalPartition segments = 2 [deprecated = true]; -
getSegmentsOrBuilder
Deprecated.The matched asset segments. Deprecated: please use singular `segment` field.
repeated .google.cloud.visionai.v1.Partition.TemporalPartition segments = 2 [deprecated = true];- Specified by:
getSegmentsOrBuilderin interfaceSearchResultItemOrBuilder
-
getSegmentsOrBuilderList
Deprecated.The matched asset segments. Deprecated: please use singular `segment` field.
repeated .google.cloud.visionai.v1.Partition.TemporalPartition segments = 2 [deprecated = true];- Specified by:
getSegmentsOrBuilderListin interfaceSearchResultItemOrBuilder
-
addSegmentsBuilder
Deprecated.The matched asset segments. Deprecated: please use singular `segment` field.
repeated .google.cloud.visionai.v1.Partition.TemporalPartition segments = 2 [deprecated = true]; -
addSegmentsBuilder
Deprecated.The matched asset segments. Deprecated: please use singular `segment` field.
repeated .google.cloud.visionai.v1.Partition.TemporalPartition segments = 2 [deprecated = true]; -
getSegmentsBuilderList
Deprecated.The matched asset segments. Deprecated: please use singular `segment` field.
repeated .google.cloud.visionai.v1.Partition.TemporalPartition segments = 2 [deprecated = true]; -
hasSegment
public boolean hasSegment()The matched asset segment.
.google.cloud.visionai.v1.Partition.TemporalPartition segment = 5;- Specified by:
hasSegmentin interfaceSearchResultItemOrBuilder- Returns:
- Whether the segment field is set.
-
getSegment
The matched asset segment.
.google.cloud.visionai.v1.Partition.TemporalPartition segment = 5;- Specified by:
getSegmentin interfaceSearchResultItemOrBuilder- Returns:
- The segment.
-
setSegment
The matched asset segment.
.google.cloud.visionai.v1.Partition.TemporalPartition segment = 5; -
setSegment
The matched asset segment.
.google.cloud.visionai.v1.Partition.TemporalPartition segment = 5; -
mergeSegment
The matched asset segment.
.google.cloud.visionai.v1.Partition.TemporalPartition segment = 5; -
clearSegment
The matched asset segment.
.google.cloud.visionai.v1.Partition.TemporalPartition segment = 5; -
getSegmentBuilder
The matched asset segment.
.google.cloud.visionai.v1.Partition.TemporalPartition segment = 5; -
getSegmentOrBuilder
The matched asset segment.
.google.cloud.visionai.v1.Partition.TemporalPartition segment = 5;- Specified by:
getSegmentOrBuilderin interfaceSearchResultItemOrBuilder
-
getRelevance
public double getRelevance()Available to IMAGE corpus types. Relevance of this `SearchResultItem` to user search query (text query or image query). By default this represents cosine similarity between the query and the retrieved media content. The value is in the range of [-1, 1]. Note that search ranking is not only decided by this relevance score, but also other factors such as the match of annotations.
double relevance = 6;- Specified by:
getRelevancein interfaceSearchResultItemOrBuilder- Returns:
- The relevance.
-
setRelevance
Available to IMAGE corpus types. Relevance of this `SearchResultItem` to user search query (text query or image query). By default this represents cosine similarity between the query and the retrieved media content. The value is in the range of [-1, 1]. Note that search ranking is not only decided by this relevance score, but also other factors such as the match of annotations.
double relevance = 6;- Parameters:
value- The relevance to set.- Returns:
- This builder for chaining.
-
clearRelevance
Available to IMAGE corpus types. Relevance of this `SearchResultItem` to user search query (text query or image query). By default this represents cosine similarity between the query and the retrieved media content. The value is in the range of [-1, 1]. Note that search ranking is not only decided by this relevance score, but also other factors such as the match of annotations.
double relevance = 6;- Returns:
- This builder for chaining.
-
getRequestedAnnotationsList
Search result annotations specified by result_annotation_keys in search request.
repeated .google.cloud.visionai.v1.Annotation requested_annotations = 3;- Specified by:
getRequestedAnnotationsListin interfaceSearchResultItemOrBuilder
-
getRequestedAnnotationsCount
public int getRequestedAnnotationsCount()Search result annotations specified by result_annotation_keys in search request.
repeated .google.cloud.visionai.v1.Annotation requested_annotations = 3;- Specified by:
getRequestedAnnotationsCountin interfaceSearchResultItemOrBuilder
-
getRequestedAnnotations
Search result annotations specified by result_annotation_keys in search request.
repeated .google.cloud.visionai.v1.Annotation requested_annotations = 3;- Specified by:
getRequestedAnnotationsin interfaceSearchResultItemOrBuilder
-
setRequestedAnnotations
Search result annotations specified by result_annotation_keys in search request.
repeated .google.cloud.visionai.v1.Annotation requested_annotations = 3; -
setRequestedAnnotations
public SearchResultItem.Builder setRequestedAnnotations(int index, Annotation.Builder builderForValue) Search result annotations specified by result_annotation_keys in search request.
repeated .google.cloud.visionai.v1.Annotation requested_annotations = 3; -
addRequestedAnnotations
Search result annotations specified by result_annotation_keys in search request.
repeated .google.cloud.visionai.v1.Annotation requested_annotations = 3; -
addRequestedAnnotations
Search result annotations specified by result_annotation_keys in search request.
repeated .google.cloud.visionai.v1.Annotation requested_annotations = 3; -
addRequestedAnnotations
Search result annotations specified by result_annotation_keys in search request.
repeated .google.cloud.visionai.v1.Annotation requested_annotations = 3; -
addRequestedAnnotations
public SearchResultItem.Builder addRequestedAnnotations(int index, Annotation.Builder builderForValue) Search result annotations specified by result_annotation_keys in search request.
repeated .google.cloud.visionai.v1.Annotation requested_annotations = 3; -
addAllRequestedAnnotations
Search result annotations specified by result_annotation_keys in search request.
repeated .google.cloud.visionai.v1.Annotation requested_annotations = 3; -
clearRequestedAnnotations
Search result annotations specified by result_annotation_keys in search request.
repeated .google.cloud.visionai.v1.Annotation requested_annotations = 3; -
removeRequestedAnnotations
Search result annotations specified by result_annotation_keys in search request.
repeated .google.cloud.visionai.v1.Annotation requested_annotations = 3; -
getRequestedAnnotationsBuilder
Search result annotations specified by result_annotation_keys in search request.
repeated .google.cloud.visionai.v1.Annotation requested_annotations = 3; -
getRequestedAnnotationsOrBuilder
Search result annotations specified by result_annotation_keys in search request.
repeated .google.cloud.visionai.v1.Annotation requested_annotations = 3;- Specified by:
getRequestedAnnotationsOrBuilderin interfaceSearchResultItemOrBuilder
-
getRequestedAnnotationsOrBuilderList
Search result annotations specified by result_annotation_keys in search request.
repeated .google.cloud.visionai.v1.Annotation requested_annotations = 3;- Specified by:
getRequestedAnnotationsOrBuilderListin interfaceSearchResultItemOrBuilder
-
addRequestedAnnotationsBuilder
Search result annotations specified by result_annotation_keys in search request.
repeated .google.cloud.visionai.v1.Annotation requested_annotations = 3; -
addRequestedAnnotationsBuilder
Search result annotations specified by result_annotation_keys in search request.
repeated .google.cloud.visionai.v1.Annotation requested_annotations = 3; -
getRequestedAnnotationsBuilderList
Search result annotations specified by result_annotation_keys in search request.
repeated .google.cloud.visionai.v1.Annotation requested_annotations = 3; -
getAnnotationMatchingResultsList
Criteria or facet-selection based annotation matching results associated to this search result item. Only contains results for criteria or facet_selections with fetch_matched_annotations=true.
repeated .google.cloud.visionai.v1.AnnotationMatchingResult annotation_matching_results = 4;- Specified by:
getAnnotationMatchingResultsListin interfaceSearchResultItemOrBuilder
-
getAnnotationMatchingResultsCount
public int getAnnotationMatchingResultsCount()Criteria or facet-selection based annotation matching results associated to this search result item. Only contains results for criteria or facet_selections with fetch_matched_annotations=true.
repeated .google.cloud.visionai.v1.AnnotationMatchingResult annotation_matching_results = 4;- Specified by:
getAnnotationMatchingResultsCountin interfaceSearchResultItemOrBuilder
-
getAnnotationMatchingResults
Criteria or facet-selection based annotation matching results associated to this search result item. Only contains results for criteria or facet_selections with fetch_matched_annotations=true.
repeated .google.cloud.visionai.v1.AnnotationMatchingResult annotation_matching_results = 4;- Specified by:
getAnnotationMatchingResultsin interfaceSearchResultItemOrBuilder
-
setAnnotationMatchingResults
public SearchResultItem.Builder setAnnotationMatchingResults(int index, AnnotationMatchingResult value) Criteria or facet-selection based annotation matching results associated to this search result item. Only contains results for criteria or facet_selections with fetch_matched_annotations=true.
repeated .google.cloud.visionai.v1.AnnotationMatchingResult annotation_matching_results = 4; -
setAnnotationMatchingResults
public SearchResultItem.Builder setAnnotationMatchingResults(int index, AnnotationMatchingResult.Builder builderForValue) Criteria or facet-selection based annotation matching results associated to this search result item. Only contains results for criteria or facet_selections with fetch_matched_annotations=true.
repeated .google.cloud.visionai.v1.AnnotationMatchingResult annotation_matching_results = 4; -
addAnnotationMatchingResults
Criteria or facet-selection based annotation matching results associated to this search result item. Only contains results for criteria or facet_selections with fetch_matched_annotations=true.
repeated .google.cloud.visionai.v1.AnnotationMatchingResult annotation_matching_results = 4; -
addAnnotationMatchingResults
public SearchResultItem.Builder addAnnotationMatchingResults(int index, AnnotationMatchingResult value) Criteria or facet-selection based annotation matching results associated to this search result item. Only contains results for criteria or facet_selections with fetch_matched_annotations=true.
repeated .google.cloud.visionai.v1.AnnotationMatchingResult annotation_matching_results = 4; -
addAnnotationMatchingResults
public SearchResultItem.Builder addAnnotationMatchingResults(AnnotationMatchingResult.Builder builderForValue) Criteria or facet-selection based annotation matching results associated to this search result item. Only contains results for criteria or facet_selections with fetch_matched_annotations=true.
repeated .google.cloud.visionai.v1.AnnotationMatchingResult annotation_matching_results = 4; -
addAnnotationMatchingResults
public SearchResultItem.Builder addAnnotationMatchingResults(int index, AnnotationMatchingResult.Builder builderForValue) Criteria or facet-selection based annotation matching results associated to this search result item. Only contains results for criteria or facet_selections with fetch_matched_annotations=true.
repeated .google.cloud.visionai.v1.AnnotationMatchingResult annotation_matching_results = 4; -
addAllAnnotationMatchingResults
public SearchResultItem.Builder addAllAnnotationMatchingResults(Iterable<? extends AnnotationMatchingResult> values) Criteria or facet-selection based annotation matching results associated to this search result item. Only contains results for criteria or facet_selections with fetch_matched_annotations=true.
repeated .google.cloud.visionai.v1.AnnotationMatchingResult annotation_matching_results = 4; -
clearAnnotationMatchingResults
Criteria or facet-selection based annotation matching results associated to this search result item. Only contains results for criteria or facet_selections with fetch_matched_annotations=true.
repeated .google.cloud.visionai.v1.AnnotationMatchingResult annotation_matching_results = 4; -
removeAnnotationMatchingResults
Criteria or facet-selection based annotation matching results associated to this search result item. Only contains results for criteria or facet_selections with fetch_matched_annotations=true.
repeated .google.cloud.visionai.v1.AnnotationMatchingResult annotation_matching_results = 4; -
getAnnotationMatchingResultsBuilder
Criteria or facet-selection based annotation matching results associated to this search result item. Only contains results for criteria or facet_selections with fetch_matched_annotations=true.
repeated .google.cloud.visionai.v1.AnnotationMatchingResult annotation_matching_results = 4; -
getAnnotationMatchingResultsOrBuilder
Criteria or facet-selection based annotation matching results associated to this search result item. Only contains results for criteria or facet_selections with fetch_matched_annotations=true.
repeated .google.cloud.visionai.v1.AnnotationMatchingResult annotation_matching_results = 4;- Specified by:
getAnnotationMatchingResultsOrBuilderin interfaceSearchResultItemOrBuilder
-
getAnnotationMatchingResultsOrBuilderList
public List<? extends AnnotationMatchingResultOrBuilder> getAnnotationMatchingResultsOrBuilderList()Criteria or facet-selection based annotation matching results associated to this search result item. Only contains results for criteria or facet_selections with fetch_matched_annotations=true.
repeated .google.cloud.visionai.v1.AnnotationMatchingResult annotation_matching_results = 4;- Specified by:
getAnnotationMatchingResultsOrBuilderListin interfaceSearchResultItemOrBuilder
-
addAnnotationMatchingResultsBuilder
Criteria or facet-selection based annotation matching results associated to this search result item. Only contains results for criteria or facet_selections with fetch_matched_annotations=true.
repeated .google.cloud.visionai.v1.AnnotationMatchingResult annotation_matching_results = 4; -
addAnnotationMatchingResultsBuilder
Criteria or facet-selection based annotation matching results associated to this search result item. Only contains results for criteria or facet_selections with fetch_matched_annotations=true.
repeated .google.cloud.visionai.v1.AnnotationMatchingResult annotation_matching_results = 4; -
getAnnotationMatchingResultsBuilderList
Criteria or facet-selection based annotation matching results associated to this search result item. Only contains results for criteria or facet_selections with fetch_matched_annotations=true.
repeated .google.cloud.visionai.v1.AnnotationMatchingResult annotation_matching_results = 4;
-