public interface TextSegmentOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getContent()
public abstract String getContent()Output only. The content of the TextSegment.
string content = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The content. |
getContentBytes()
public abstract ByteString getContentBytes()Output only. The content of the TextSegment.
string content = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for content. |
getEndOffset()
public abstract 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;
| Returns | |
|---|---|
| Type | Description |
long |
The endOffset. |
getStartOffset()
public abstract 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;
| Returns | |
|---|---|
| Type | Description |
long |
The startOffset. |