public interface TextExtractionAnnotationOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
TextExtractionAnnotation.AnnotationCase |
getAnnotationCase() |
float |
getScore()
Output only.
|
TextSegment |
getTextSegment()
An entity annotation will set this, which is the part of the original
text to which the annotation pertains.
|
TextSegmentOrBuilder |
getTextSegmentOrBuilder()
An entity annotation will set this, which is the part of the original
text to which the annotation pertains.
|
boolean |
hasTextSegment()
An entity annotation will set this, which is the part of the original
text to which the annotation pertains.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasTextSegment()
An entity annotation will set this, which is the part of the original text to which the annotation pertains.
.google.cloud.automl.v1.TextSegment text_segment = 3;TextSegment getTextSegment()
An entity annotation will set this, which is the part of the original text to which the annotation pertains.
.google.cloud.automl.v1.TextSegment text_segment = 3;TextSegmentOrBuilder getTextSegmentOrBuilder()
An entity annotation will set this, which is the part of the original text to which the annotation pertains.
.google.cloud.automl.v1.TextSegment text_segment = 3;float getScore()
Output only. A confidence estimate between 0.0 and 1.0. A higher value means greater confidence in correctness of the annotation.
float score = 1;TextExtractionAnnotation.AnnotationCase getAnnotationCase()
Copyright © 2025 Google LLC. All rights reserved.