| Modifier and Type | Method and Description |
|---|---|
TextSpan.Builder |
TextSpan.Builder.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TextSpan.Builder |
TextSpan.Builder.clear() |
TextSpan.Builder |
TextSpan.Builder.clearBeginOffset()
The API calculates the beginning offset of the content in the original
document according to the [EncodingType][google.cloud.language.v1.EncodingType] specified in the API request.
|
TextSpan.Builder |
TextSpan.Builder.clearContent()
The content of the output text.
|
TextSpan.Builder |
TextSpan.Builder.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
TextSpan.Builder |
TextSpan.Builder.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TextSpan.Builder |
TextSpan.Builder.clone() |
TextSpan.Builder |
Token.Builder.getTextBuilder()
The token text.
|
TextSpan.Builder |
EntityMention.Builder.getTextBuilder()
The mention text.
|
TextSpan.Builder |
Sentence.Builder.getTextBuilder()
The sentence text.
|
TextSpan.Builder |
TextSpan.Builder.mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TextSpan.Builder |
TextSpan.Builder.mergeFrom(com.google.protobuf.Message other) |
TextSpan.Builder |
TextSpan.Builder.mergeFrom(TextSpan other) |
TextSpan.Builder |
TextSpan.Builder.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
static TextSpan.Builder |
TextSpan.newBuilder() |
static TextSpan.Builder |
TextSpan.newBuilder(TextSpan prototype) |
TextSpan.Builder |
TextSpan.newBuilderForType() |
protected TextSpan.Builder |
TextSpan.newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
TextSpan.Builder |
TextSpan.Builder.setBeginOffset(int value)
The API calculates the beginning offset of the content in the original
document according to the [EncodingType][google.cloud.language.v1.EncodingType] specified in the API request.
|
TextSpan.Builder |
TextSpan.Builder.setContent(String value)
The content of the output text.
|
TextSpan.Builder |
TextSpan.Builder.setContentBytes(com.google.protobuf.ByteString value)
The content of the output text.
|
TextSpan.Builder |
TextSpan.Builder.setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TextSpan.Builder |
TextSpan.Builder.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
TextSpan.Builder |
TextSpan.Builder.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TextSpan.Builder |
TextSpan.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Token.Builder |
Token.Builder.setText(TextSpan.Builder builderForValue)
The token text.
|
EntityMention.Builder |
EntityMention.Builder.setText(TextSpan.Builder builderForValue)
The mention text.
|
Sentence.Builder |
Sentence.Builder.setText(TextSpan.Builder builderForValue)
The sentence text.
|
Copyright © 2018 Google LLC. All rights reserved.