public interface TextSegmentOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getContent()
Output only.
|
com.google.protobuf.ByteString |
getContentBytes()
Output only.
|
long |
getEndOffset()
Required.
|
long |
getStartOffset()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getContent()
Output only. The content of the TextSegment.
string content = 3;com.google.protobuf.ByteString getContentBytes()
Output only. The content of the TextSegment.
string content = 3;long getStartOffset()
Required. Zero-based character index of the first character of the text segment (counting characters from the beginning of the text).
int64 start_offset = 1;long getEndOffset()
Required. Zero-based character index of the first character past the end of the text segment (counting character from the beginning of the text). The character at the end_offset is NOT included in the text segment.
int64 end_offset = 2;Copyright © 2025 Google LLC. All rights reserved.