public static final class AnnotationMatchingResult.Builder extends GeneratedMessageV3.Builder<AnnotationMatchingResult.Builder> implements AnnotationMatchingResultOrBuilder
   
   Stores the criteria-annotation matching results for each search result item.
 Protobuf type google.cloud.visionai.v1.AnnotationMatchingResult
 
  
  
  
    Inherited Members
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Methods
  
  
  getDescriptor()
  
    public static final Descriptors.Descriptor getDescriptor()
   
  
  Methods
  
  
  addAllMatchedAnnotations(Iterable<? extends Annotation> values)
  
    public AnnotationMatchingResult.Builder addAllMatchedAnnotations(Iterable<? extends Annotation> values)
   
   Matched annotations for the criteria.
 repeated .google.cloud.visionai.v1.Annotation matched_annotations = 2;
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        values | 
        Iterable<? extends com.google.cloud.visionai.v1.Annotation>
  | 
      
    
  
  
  
  addMatchedAnnotations(Annotation value)
  
    public AnnotationMatchingResult.Builder addMatchedAnnotations(Annotation value)
   
   Matched annotations for the criteria.
 repeated .google.cloud.visionai.v1.Annotation matched_annotations = 2;
 
  
  
  
  addMatchedAnnotations(Annotation.Builder builderForValue)
  
    public AnnotationMatchingResult.Builder addMatchedAnnotations(Annotation.Builder builderForValue)
   
   Matched annotations for the criteria.
 repeated .google.cloud.visionai.v1.Annotation matched_annotations = 2;
 
  
  
  
  addMatchedAnnotations(int index, Annotation value)
  
    public AnnotationMatchingResult.Builder addMatchedAnnotations(int index, Annotation value)
   
   Matched annotations for the criteria.
 repeated .google.cloud.visionai.v1.Annotation matched_annotations = 2;
 
  
  
  
  addMatchedAnnotations(int index, Annotation.Builder builderForValue)
  
    public AnnotationMatchingResult.Builder addMatchedAnnotations(int index, Annotation.Builder builderForValue)
   
   Matched annotations for the criteria.
 repeated .google.cloud.visionai.v1.Annotation matched_annotations = 2;
 
  
  
  
  addMatchedAnnotationsBuilder()
  
    public Annotation.Builder addMatchedAnnotationsBuilder()
   
   Matched annotations for the criteria.
 repeated .google.cloud.visionai.v1.Annotation matched_annotations = 2;
 
  
  
  addMatchedAnnotationsBuilder(int index)
  
    public Annotation.Builder addMatchedAnnotationsBuilder(int index)
   
   Matched annotations for the criteria.
 repeated .google.cloud.visionai.v1.Annotation matched_annotations = 2;
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        index | 
        int
  | 
      
    
  
  
  
  addRepeatedField(Descriptors.FieldDescriptor field, Object value)
  
    public AnnotationMatchingResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
   
  
  
  Overrides
  
  
  build()
  
    public AnnotationMatchingResult build()
   
  
  
  buildPartial()
  
    public AnnotationMatchingResult buildPartial()
   
  
  
  clear()
  
    public AnnotationMatchingResult.Builder clear()
   
  
  Overrides
  
  
  clearCriteria()
  
    public AnnotationMatchingResult.Builder clearCriteria()
   
   The criteria used for matching. It can be an input search criteria or a
 criteria converted from a facet selection.
 .google.cloud.visionai.v1.Criteria criteria = 1;
 
  
  
  clearField(Descriptors.FieldDescriptor field)
  
    public AnnotationMatchingResult.Builder clearField(Descriptors.FieldDescriptor field)
   
  
  
  Overrides
  
  
  clearMatchedAnnotations()
  
    public AnnotationMatchingResult.Builder clearMatchedAnnotations()
   
   Matched annotations for the criteria.
 repeated .google.cloud.visionai.v1.Annotation matched_annotations = 2;
 
  
  
  clearOneof(Descriptors.OneofDescriptor oneof)
  
    public AnnotationMatchingResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
   
  
  
  Overrides
  
  
  clearStatus()
  
    public AnnotationMatchingResult.Builder clearStatus()
   
   Status of the match result. Possible values:
 FAILED_PRECONDITION - the criteria is not eligible for match.
 OK - matching is performed.
 .google.rpc.Status status = 3;
 
  
  
  clone()
  
    public AnnotationMatchingResult.Builder clone()
   
  
  Overrides
  
  
  getCriteria()
  
    public Criteria getCriteria()
   
   The criteria used for matching. It can be an input search criteria or a
 criteria converted from a facet selection.
 .google.cloud.visionai.v1.Criteria criteria = 1;
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        Criteria | 
        The criteria. 
 | 
      
    
  
  
  getCriteriaBuilder()
  
    public Criteria.Builder getCriteriaBuilder()
   
   The criteria used for matching. It can be an input search criteria or a
 criteria converted from a facet selection.
 .google.cloud.visionai.v1.Criteria criteria = 1;
 
  
  
  getCriteriaOrBuilder()
  
    public CriteriaOrBuilder getCriteriaOrBuilder()
   
   The criteria used for matching. It can be an input search criteria or a
 criteria converted from a facet selection.
 .google.cloud.visionai.v1.Criteria criteria = 1;
 
  
  
  getDefaultInstanceForType()
  
    public AnnotationMatchingResult getDefaultInstanceForType()
   
  
  
  getDescriptorForType()
  
    public Descriptors.Descriptor getDescriptorForType()
   
  
  Overrides
  
  
  getMatchedAnnotations(int index)
  
    public Annotation getMatchedAnnotations(int index)
   
   Matched annotations for the criteria.
 repeated .google.cloud.visionai.v1.Annotation matched_annotations = 2;
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        index | 
        int
  | 
      
    
  
  
  
  getMatchedAnnotationsBuilder(int index)
  
    public Annotation.Builder getMatchedAnnotationsBuilder(int index)
   
   Matched annotations for the criteria.
 repeated .google.cloud.visionai.v1.Annotation matched_annotations = 2;
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        index | 
        int
  | 
      
    
  
  
  
  getMatchedAnnotationsBuilderList()
  
    public List<Annotation.Builder> getMatchedAnnotationsBuilderList()
   
   Matched annotations for the criteria.
 repeated .google.cloud.visionai.v1.Annotation matched_annotations = 2;
 
  
  
  getMatchedAnnotationsCount()
  
    public int getMatchedAnnotationsCount()
   
   Matched annotations for the criteria.
 repeated .google.cloud.visionai.v1.Annotation matched_annotations = 2;
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        int | 
         | 
      
    
  
  
  getMatchedAnnotationsList()
  
    public List<Annotation> getMatchedAnnotationsList()
   
   Matched annotations for the criteria.
 repeated .google.cloud.visionai.v1.Annotation matched_annotations = 2;
 
  
  
  getMatchedAnnotationsOrBuilder(int index)
  
    public AnnotationOrBuilder getMatchedAnnotationsOrBuilder(int index)
   
   Matched annotations for the criteria.
 repeated .google.cloud.visionai.v1.Annotation matched_annotations = 2;
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        index | 
        int
  | 
      
    
  
  
  
  getMatchedAnnotationsOrBuilderList()
  
    public List<? extends AnnotationOrBuilder> getMatchedAnnotationsOrBuilderList()
   
   Matched annotations for the criteria.
 repeated .google.cloud.visionai.v1.Annotation matched_annotations = 2;
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        List<? extends com.google.cloud.visionai.v1.AnnotationOrBuilder> | 
         | 
      
    
  
  
  getStatus()
  
    public Status getStatus()
   
   Status of the match result. Possible values:
 FAILED_PRECONDITION - the criteria is not eligible for match.
 OK - matching is performed.
 .google.rpc.Status status = 3;
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        com.google.rpc.Status | 
        The status. 
 | 
      
    
  
  
  getStatusBuilder()
  
    public Status.Builder getStatusBuilder()
   
   Status of the match result. Possible values:
 FAILED_PRECONDITION - the criteria is not eligible for match.
 OK - matching is performed.
 .google.rpc.Status status = 3;
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        com.google.rpc.Status.Builder | 
         | 
      
    
  
  
  getStatusOrBuilder()
  
    public StatusOrBuilder getStatusOrBuilder()
   
   Status of the match result. Possible values:
 FAILED_PRECONDITION - the criteria is not eligible for match.
 OK - matching is performed.
 .google.rpc.Status status = 3;
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        com.google.rpc.StatusOrBuilder | 
         | 
      
    
  
  
  hasCriteria()
  
    public boolean hasCriteria()
   
   The criteria used for matching. It can be an input search criteria or a
 criteria converted from a facet selection.
 .google.cloud.visionai.v1.Criteria criteria = 1;
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        boolean | 
        Whether the criteria field is set. 
 | 
      
    
  
  
  hasStatus()
  
    public boolean hasStatus()
   
   Status of the match result. Possible values:
 FAILED_PRECONDITION - the criteria is not eligible for match.
 OK - matching is performed.
 .google.rpc.Status status = 3;
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        boolean | 
        Whether the status field is set. 
 | 
      
    
  
  
  internalGetFieldAccessorTable()
  
    protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
   
  
  Overrides
  
  
  isInitialized()
  
    public final boolean isInitialized()
   
  
  Overrides
  
  
  mergeCriteria(Criteria value)
  
    public AnnotationMatchingResult.Builder mergeCriteria(Criteria value)
   
   The criteria used for matching. It can be an input search criteria or a
 criteria converted from a facet selection.
 .google.cloud.visionai.v1.Criteria criteria = 1;
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        value | 
        Criteria
  | 
      
    
  
  
  
  mergeFrom(AnnotationMatchingResult other)
  
    public AnnotationMatchingResult.Builder mergeFrom(AnnotationMatchingResult other)
   
  
  
  
  
  
    public AnnotationMatchingResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  Overrides
  
  
  
  mergeFrom(Message other)
  
    public AnnotationMatchingResult.Builder mergeFrom(Message other)
   
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        other | 
        Message
  | 
      
    
  
  
  Overrides
  
  
  mergeStatus(Status value)
  
    public AnnotationMatchingResult.Builder mergeStatus(Status value)
   
   Status of the match result. Possible values:
 FAILED_PRECONDITION - the criteria is not eligible for match.
 OK - matching is performed.
 .google.rpc.Status status = 3;
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        value | 
        com.google.rpc.Status
  | 
      
    
  
  
  
  mergeUnknownFields(UnknownFieldSet unknownFields)
  
    public final AnnotationMatchingResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
   
  
  
  Overrides
  
  
  removeMatchedAnnotations(int index)
  
    public AnnotationMatchingResult.Builder removeMatchedAnnotations(int index)
   
   Matched annotations for the criteria.
 repeated .google.cloud.visionai.v1.Annotation matched_annotations = 2;
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        index | 
        int
  | 
      
    
  
  
  
  setCriteria(Criteria value)
  
    public AnnotationMatchingResult.Builder setCriteria(Criteria value)
   
   The criteria used for matching. It can be an input search criteria or a
 criteria converted from a facet selection.
 .google.cloud.visionai.v1.Criteria criteria = 1;
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        value | 
        Criteria
  | 
      
    
  
  
  
  setCriteria(Criteria.Builder builderForValue)
  
    public AnnotationMatchingResult.Builder setCriteria(Criteria.Builder builderForValue)
   
   The criteria used for matching. It can be an input search criteria or a
 criteria converted from a facet selection.
 .google.cloud.visionai.v1.Criteria criteria = 1;
 
  
  
  
  setField(Descriptors.FieldDescriptor field, Object value)
  
    public AnnotationMatchingResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
   
  
  
  Overrides
  
  
  setMatchedAnnotations(int index, Annotation value)
  
    public AnnotationMatchingResult.Builder setMatchedAnnotations(int index, Annotation value)
   
   Matched annotations for the criteria.
 repeated .google.cloud.visionai.v1.Annotation matched_annotations = 2;
 
  
  
  
  setMatchedAnnotations(int index, Annotation.Builder builderForValue)
  
    public AnnotationMatchingResult.Builder setMatchedAnnotations(int index, Annotation.Builder builderForValue)
   
   Matched annotations for the criteria.
 repeated .google.cloud.visionai.v1.Annotation matched_annotations = 2;
 
  
  
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
  
    public AnnotationMatchingResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
   
  
  
  Overrides
  
  
  setStatus(Status value)
  
    public AnnotationMatchingResult.Builder setStatus(Status value)
   
   Status of the match result. Possible values:
 FAILED_PRECONDITION - the criteria is not eligible for match.
 OK - matching is performed.
 .google.rpc.Status status = 3;
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        value | 
        com.google.rpc.Status
  | 
      
    
  
  
  
  setStatus(Status.Builder builderForValue)
  
    public AnnotationMatchingResult.Builder setStatus(Status.Builder builderForValue)
   
   Status of the match result. Possible values:
 FAILED_PRECONDITION - the criteria is not eligible for match.
 OK - matching is performed.
 .google.rpc.Status status = 3;
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        builderForValue | 
        com.google.rpc.Status.Builder
  | 
      
    
  
  
  
  setUnknownFields(UnknownFieldSet unknownFields)
  
    public final AnnotationMatchingResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
   
  
  
  Overrides