public interface TextSpanOrBuilder extends MessageOrBuilder
| Modifier and Type | Method and Description | 
|---|---|
| int | getBeginOffset()
 The API calculates the beginning offset of the content in the original
 document according to the [EncodingType][google.cloud.language.v1beta2.EncodingType] specified in the API request. | 
| java.lang.String | getContent()
 The content of the output text. | 
| ByteString | getContentBytes()
 The content of the output text. | 
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofisInitializedjava.lang.String getContent()
The content of the output text.
string content = 1;ByteString getContentBytes()
The content of the output text.
string content = 1;int getBeginOffset()
The API calculates the beginning offset of the content in the original document according to the [EncodingType][google.cloud.language.v1beta2.EncodingType] specified in the API request.
int32 begin_offset = 2;