public interface TextExtractionPredictionResultOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
float |
getConfidences(int index)
The Model's confidences in correctness of the predicted IDs, higher
value means higher confidence.
|
int |
getConfidencesCount()
The Model's confidences in correctness of the predicted IDs, higher
value means higher confidence.
|
List<Float> |
getConfidencesList()
The Model's confidences in correctness of the predicted IDs, higher
value means higher confidence.
|
String |
getDisplayNames(int index)
The display names of the AnnotationSpecs that had been identified,
order matches the IDs.
|
com.google.protobuf.ByteString |
getDisplayNamesBytes(int index)
The display names of the AnnotationSpecs that had been identified,
order matches the IDs.
|
int |
getDisplayNamesCount()
The display names of the AnnotationSpecs that had been identified,
order matches the IDs.
|
List<String> |
getDisplayNamesList()
The display names of the AnnotationSpecs that had been identified,
order matches the IDs.
|
long |
getIds(int index)
The resource IDs of the AnnotationSpecs that had been identified,
ordered by the confidence score descendingly.
|
int |
getIdsCount()
The resource IDs of the AnnotationSpecs that had been identified,
ordered by the confidence score descendingly.
|
List<Long> |
getIdsList()
The resource IDs of the AnnotationSpecs that had been identified,
ordered by the confidence score descendingly.
|
long |
getTextSegmentEndOffsets(int index)
The end offsets, inclusive, of the text segment in which the
AnnotationSpec has been identified.
|
int |
getTextSegmentEndOffsetsCount()
The end offsets, inclusive, of the text segment in which the
AnnotationSpec has been identified.
|
List<Long> |
getTextSegmentEndOffsetsList()
The end offsets, inclusive, of the text segment in which the
AnnotationSpec has been identified.
|
long |
getTextSegmentStartOffsets(int index)
The start offsets, inclusive, of the text segment in which the
AnnotationSpec has been identified.
|
int |
getTextSegmentStartOffsetsCount()
The start offsets, inclusive, of the text segment in which the
AnnotationSpec has been identified.
|
List<Long> |
getTextSegmentStartOffsetsList()
The start offsets, inclusive, of the text segment in which the
AnnotationSpec has been identified.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofList<Long> getIdsList()
The resource IDs of the AnnotationSpecs that had been identified, ordered by the confidence score descendingly.
repeated int64 ids = 1;int getIdsCount()
The resource IDs of the AnnotationSpecs that had been identified, ordered by the confidence score descendingly.
repeated int64 ids = 1;long getIds(int index)
The resource IDs of the AnnotationSpecs that had been identified, ordered by the confidence score descendingly.
repeated int64 ids = 1;index - The index of the element to return.List<String> getDisplayNamesList()
The display names of the AnnotationSpecs that had been identified, order matches the IDs.
repeated string display_names = 2;int getDisplayNamesCount()
The display names of the AnnotationSpecs that had been identified, order matches the IDs.
repeated string display_names = 2;String getDisplayNames(int index)
The display names of the AnnotationSpecs that had been identified, order matches the IDs.
repeated string display_names = 2;index - The index of the element to return.com.google.protobuf.ByteString getDisplayNamesBytes(int index)
The display names of the AnnotationSpecs that had been identified, order matches the IDs.
repeated string display_names = 2;index - The index of the value to return.List<Long> getTextSegmentStartOffsetsList()
The start offsets, inclusive, of the text segment in which the AnnotationSpec has been identified. Expressed as a zero-based number of characters as measured from the start of the text snippet.
repeated int64 text_segment_start_offsets = 3;int getTextSegmentStartOffsetsCount()
The start offsets, inclusive, of the text segment in which the AnnotationSpec has been identified. Expressed as a zero-based number of characters as measured from the start of the text snippet.
repeated int64 text_segment_start_offsets = 3;long getTextSegmentStartOffsets(int index)
The start offsets, inclusive, of the text segment in which the AnnotationSpec has been identified. Expressed as a zero-based number of characters as measured from the start of the text snippet.
repeated int64 text_segment_start_offsets = 3;index - The index of the element to return.List<Long> getTextSegmentEndOffsetsList()
The end offsets, inclusive, of the text segment in which the AnnotationSpec has been identified. Expressed as a zero-based number of characters as measured from the start of the text snippet.
repeated int64 text_segment_end_offsets = 4;int getTextSegmentEndOffsetsCount()
The end offsets, inclusive, of the text segment in which the AnnotationSpec has been identified. Expressed as a zero-based number of characters as measured from the start of the text snippet.
repeated int64 text_segment_end_offsets = 4;long getTextSegmentEndOffsets(int index)
The end offsets, inclusive, of the text segment in which the AnnotationSpec has been identified. Expressed as a zero-based number of characters as measured from the start of the text snippet.
repeated int64 text_segment_end_offsets = 4;index - The index of the element to return.List<Float> getConfidencesList()
The Model's confidences in correctness of the predicted IDs, higher value means higher confidence. Order matches the Ids.
repeated float confidences = 5;int getConfidencesCount()
The Model's confidences in correctness of the predicted IDs, higher value means higher confidence. Order matches the Ids.
repeated float confidences = 5;float getConfidences(int index)
The Model's confidences in correctness of the predicted IDs, higher value means higher confidence. Order matches the Ids.
repeated float confidences = 5;index - The index of the element to return.Copyright © 2025 Google LLC. All rights reserved.