Package com.google.cloud.visionai.v1
Interface AnnotationMatchingResultOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AnnotationMatchingResult,AnnotationMatchingResult.Builder
@Generated
public interface AnnotationMatchingResultOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe criteria used for matching.The criteria used for matching.getMatchedAnnotations(int index) Matched annotations for the criteria.intMatched annotations for the criteria.Matched annotations for the criteria.getMatchedAnnotationsOrBuilder(int index) Matched annotations for the criteria.List<? extends AnnotationOrBuilder>Matched annotations for the criteria.Status of the match result.Status of the match result.booleanThe criteria used for matching.booleanStatus of the match result.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasCriteria
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:
- Whether the criteria field is set.
-
getCriteria
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:
- The criteria.
-
getCriteriaOrBuilder
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; -
getMatchedAnnotationsList
List<Annotation> getMatchedAnnotationsList()Matched annotations for the criteria.
repeated .google.cloud.visionai.v1.Annotation matched_annotations = 2; -
getMatchedAnnotations
Matched annotations for the criteria.
repeated .google.cloud.visionai.v1.Annotation matched_annotations = 2; -
getMatchedAnnotationsCount
int getMatchedAnnotationsCount()Matched annotations for the criteria.
repeated .google.cloud.visionai.v1.Annotation matched_annotations = 2; -
getMatchedAnnotationsOrBuilderList
List<? extends AnnotationOrBuilder> getMatchedAnnotationsOrBuilderList()Matched annotations for the criteria.
repeated .google.cloud.visionai.v1.Annotation matched_annotations = 2; -
getMatchedAnnotationsOrBuilder
Matched annotations for the criteria.
repeated .google.cloud.visionai.v1.Annotation matched_annotations = 2; -
hasStatus
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:
- Whether the status field is set.
-
getStatus
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:
- The status.
-
getStatusOrBuilder
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;
-