public static interface TextAnnotationImpl.TokenOffsetsProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
int |
getEndCharOffset()
Offset of the last character in text + 1
Note: End offset is not part of the current token.
|
String |
getForm()
Surface form of the token
|
com.google.protobuf.ByteString |
getFormBytes()
Surface form of the token
|
int |
getStartCharOffset()
Offset of the start character in source text
|
boolean |
hasEndCharOffset()
Offset of the last character in text + 1
Note: End offset is not part of the current token.
|
boolean |
hasForm()
Surface form of the token
|
boolean |
hasStartCharOffset()
Offset of the start character in source text
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasForm()
Surface form of the token
required string form = 1;String getForm()
Surface form of the token
required string form = 1;com.google.protobuf.ByteString getFormBytes()
Surface form of the token
required string form = 1;boolean hasStartCharOffset()
Offset of the start character in source text
required int32 startCharOffset = 2;int getStartCharOffset()
Offset of the start character in source text
required int32 startCharOffset = 2;boolean hasEndCharOffset()
Offset of the last character in text + 1 Note: End offset is not part of the current token. [startCharOffset, endCharOffset)
required int32 endCharOffset = 3;int getEndCharOffset()
Offset of the last character in text + 1 Note: End offset is not part of the current token. [startCharOffset, endCharOffset)
required int32 endCharOffset = 3;Copyright © 2017. All rights reserved.