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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<SearchResultItem.Builder>
    • clear

      public SearchResultItem.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<SearchResultItem.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<SearchResultItem.Builder>
    • getDefaultInstanceForType

      public SearchResultItem getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public SearchResultItem build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public SearchResultItem buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public SearchResultItem.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SearchResultItem.Builder>
    • mergeFrom

      public SearchResultItem.Builder mergeFrom(SearchResultItem other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SearchResultItem.Builder>
      Throws:
      IOException
    • getAsset

      public String 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:
      getAsset in interface SearchResultItemOrBuilder
      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:
      getAssetBytes in interface SearchResultItemOrBuilder
      Returns:
      The bytes for asset.
    • setAsset

      public SearchResultItem.Builder setAsset(String value)
       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

      public SearchResultItem.Builder 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

      public SearchResultItem.Builder setAssetBytes(com.google.protobuf.ByteString value)
       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 public List<Partition.TemporalPartition> 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:
      getSegmentsList in interface SearchResultItemOrBuilder
    • getSegmentsCount

      @Deprecated public int 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:
      getSegmentsCount in interface SearchResultItemOrBuilder
    • getSegments

      @Deprecated public Partition.TemporalPartition getSegments(int index)
      Deprecated.
       The matched asset segments.
       Deprecated: please use singular `segment` field.
       
      repeated .google.cloud.visionai.v1.Partition.TemporalPartition segments = 2 [deprecated = true];
      Specified by:
      getSegments in interface SearchResultItemOrBuilder
    • 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.
       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 public SearchResultItem.Builder 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 public SearchResultItem.Builder removeSegments(int index)
      Deprecated.
       The matched asset segments.
       Deprecated: please use singular `segment` field.
       
      repeated .google.cloud.visionai.v1.Partition.TemporalPartition segments = 2 [deprecated = true];
    • getSegmentsBuilder

      @Deprecated public Partition.TemporalPartition.Builder getSegmentsBuilder(int index)
      Deprecated.
       The matched asset segments.
       Deprecated: please use singular `segment` field.
       
      repeated .google.cloud.visionai.v1.Partition.TemporalPartition segments = 2 [deprecated = true];
    • getSegmentsOrBuilder

      @Deprecated public Partition.TemporalPartitionOrBuilder getSegmentsOrBuilder(int index)
      Deprecated.
       The matched asset segments.
       Deprecated: please use singular `segment` field.
       
      repeated .google.cloud.visionai.v1.Partition.TemporalPartition segments = 2 [deprecated = true];
      Specified by:
      getSegmentsOrBuilder in interface SearchResultItemOrBuilder
    • getSegmentsOrBuilderList

      @Deprecated public List<? extends Partition.TemporalPartitionOrBuilder> 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:
      getSegmentsOrBuilderList in interface SearchResultItemOrBuilder
    • addSegmentsBuilder

      @Deprecated public Partition.TemporalPartition.Builder 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 public Partition.TemporalPartition.Builder addSegmentsBuilder(int index)
      Deprecated.
       The matched asset segments.
       Deprecated: please use singular `segment` field.
       
      repeated .google.cloud.visionai.v1.Partition.TemporalPartition segments = 2 [deprecated = true];
    • getSegmentsBuilderList

      @Deprecated public List<Partition.TemporalPartition.Builder> 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:
      hasSegment in interface SearchResultItemOrBuilder
      Returns:
      Whether the segment field is set.
    • getSegment

      public Partition.TemporalPartition getSegment()
       The matched asset segment.
       
      .google.cloud.visionai.v1.Partition.TemporalPartition segment = 5;
      Specified by:
      getSegment in interface SearchResultItemOrBuilder
      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

      public SearchResultItem.Builder clearSegment()
       The matched asset segment.
       
      .google.cloud.visionai.v1.Partition.TemporalPartition segment = 5;
    • getSegmentBuilder

      public Partition.TemporalPartition.Builder getSegmentBuilder()
       The matched asset segment.
       
      .google.cloud.visionai.v1.Partition.TemporalPartition segment = 5;
    • getSegmentOrBuilder

      public Partition.TemporalPartitionOrBuilder getSegmentOrBuilder()
       The matched asset segment.
       
      .google.cloud.visionai.v1.Partition.TemporalPartition segment = 5;
      Specified by:
      getSegmentOrBuilder in interface SearchResultItemOrBuilder
    • 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:
      getRelevance in interface SearchResultItemOrBuilder
      Returns:
      The relevance.
    • setRelevance

      public SearchResultItem.Builder setRelevance(double value)
       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

      public SearchResultItem.Builder 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

      public List<Annotation> getRequestedAnnotationsList()
       Search result annotations specified by result_annotation_keys in search
       request.
       
      repeated .google.cloud.visionai.v1.Annotation requested_annotations = 3;
      Specified by:
      getRequestedAnnotationsList in interface SearchResultItemOrBuilder
    • 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:
      getRequestedAnnotationsCount in interface SearchResultItemOrBuilder
    • getRequestedAnnotations

      public Annotation getRequestedAnnotations(int index)
       Search result annotations specified by result_annotation_keys in search
       request.
       
      repeated .google.cloud.visionai.v1.Annotation requested_annotations = 3;
      Specified by:
      getRequestedAnnotations in interface SearchResultItemOrBuilder
    • setRequestedAnnotations

      public SearchResultItem.Builder setRequestedAnnotations(int index, Annotation value)
       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

      public SearchResultItem.Builder addRequestedAnnotations(Annotation value)
       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 value)
       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(Annotation.Builder builderForValue)
       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

      public SearchResultItem.Builder addAllRequestedAnnotations(Iterable<? extends Annotation> values)
       Search result annotations specified by result_annotation_keys in search
       request.
       
      repeated .google.cloud.visionai.v1.Annotation requested_annotations = 3;
    • clearRequestedAnnotations

      public SearchResultItem.Builder clearRequestedAnnotations()
       Search result annotations specified by result_annotation_keys in search
       request.
       
      repeated .google.cloud.visionai.v1.Annotation requested_annotations = 3;
    • removeRequestedAnnotations

      public SearchResultItem.Builder removeRequestedAnnotations(int index)
       Search result annotations specified by result_annotation_keys in search
       request.
       
      repeated .google.cloud.visionai.v1.Annotation requested_annotations = 3;
    • getRequestedAnnotationsBuilder

      public Annotation.Builder getRequestedAnnotationsBuilder(int index)
       Search result annotations specified by result_annotation_keys in search
       request.
       
      repeated .google.cloud.visionai.v1.Annotation requested_annotations = 3;
    • getRequestedAnnotationsOrBuilder

      public AnnotationOrBuilder getRequestedAnnotationsOrBuilder(int index)
       Search result annotations specified by result_annotation_keys in search
       request.
       
      repeated .google.cloud.visionai.v1.Annotation requested_annotations = 3;
      Specified by:
      getRequestedAnnotationsOrBuilder in interface SearchResultItemOrBuilder
    • getRequestedAnnotationsOrBuilderList

      public List<? extends AnnotationOrBuilder> getRequestedAnnotationsOrBuilderList()
       Search result annotations specified by result_annotation_keys in search
       request.
       
      repeated .google.cloud.visionai.v1.Annotation requested_annotations = 3;
      Specified by:
      getRequestedAnnotationsOrBuilderList in interface SearchResultItemOrBuilder
    • addRequestedAnnotationsBuilder

      public Annotation.Builder addRequestedAnnotationsBuilder()
       Search result annotations specified by result_annotation_keys in search
       request.
       
      repeated .google.cloud.visionai.v1.Annotation requested_annotations = 3;
    • addRequestedAnnotationsBuilder

      public Annotation.Builder addRequestedAnnotationsBuilder(int index)
       Search result annotations specified by result_annotation_keys in search
       request.
       
      repeated .google.cloud.visionai.v1.Annotation requested_annotations = 3;
    • getRequestedAnnotationsBuilderList

      public List<Annotation.Builder> getRequestedAnnotationsBuilderList()
       Search result annotations specified by result_annotation_keys in search
       request.
       
      repeated .google.cloud.visionai.v1.Annotation requested_annotations = 3;
    • getAnnotationMatchingResultsList

      public List<AnnotationMatchingResult> 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:
      getAnnotationMatchingResultsList in interface SearchResultItemOrBuilder
    • 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:
      getAnnotationMatchingResultsCount in interface SearchResultItemOrBuilder
    • getAnnotationMatchingResults

      public AnnotationMatchingResult getAnnotationMatchingResults(int index)
       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:
      getAnnotationMatchingResults in interface SearchResultItemOrBuilder
    • 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

      public SearchResultItem.Builder addAnnotationMatchingResults(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(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

      public SearchResultItem.Builder 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

      public SearchResultItem.Builder removeAnnotationMatchingResults(int index)
       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

      public AnnotationMatchingResult.Builder getAnnotationMatchingResultsBuilder(int index)
       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

      public AnnotationMatchingResultOrBuilder getAnnotationMatchingResultsOrBuilder(int index)
       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:
      getAnnotationMatchingResultsOrBuilder in interface SearchResultItemOrBuilder
    • 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:
      getAnnotationMatchingResultsOrBuilderList in interface SearchResultItemOrBuilder
    • addAnnotationMatchingResultsBuilder

      public AnnotationMatchingResult.Builder 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

      public AnnotationMatchingResult.Builder addAnnotationMatchingResultsBuilder(int index)
       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

      public List<AnnotationMatchingResult.Builder> 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;