Package | Description |
---|---|
com.google.cloud.language.v1beta2 |
A client to Cloud Natural Language API
|
Modifier and Type | Method and Description |
---|---|
TextSpan.Builder |
TextSpan.Builder.addRepeatedField(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.v1beta2.EncodingType] specified in the API request.
|
TextSpan.Builder |
TextSpan.Builder.clearContent()
The content of the output text.
|
TextSpan.Builder |
TextSpan.Builder.clearField(Descriptors.FieldDescriptor field) |
TextSpan.Builder |
TextSpan.Builder.clearOneof(Descriptors.OneofDescriptor oneof) |
TextSpan.Builder |
TextSpan.Builder.clone() |
TextSpan.Builder |
EntityMention.Builder.getTextBuilder()
The mention text.
|
TextSpan.Builder |
Sentence.Builder.getTextBuilder()
The sentence text.
|
TextSpan.Builder |
Token.Builder.getTextBuilder()
The token text.
|
TextSpan.Builder |
TextSpan.Builder.mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
TextSpan.Builder |
TextSpan.Builder.mergeFrom(Message other) |
TextSpan.Builder |
TextSpan.Builder.mergeFrom(TextSpan other) |
TextSpan.Builder |
TextSpan.Builder.mergeUnknownFields(UnknownFieldSet unknownFields) |
static TextSpan.Builder |
TextSpan.newBuilder() |
static TextSpan.Builder |
TextSpan.newBuilder(TextSpan prototype) |
TextSpan.Builder |
TextSpan.newBuilderForType() |
protected TextSpan.Builder |
TextSpan.newBuilderForType(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.v1beta2.EncodingType] specified in the API request.
|
TextSpan.Builder |
TextSpan.Builder.setContent(String value)
The content of the output text.
|
TextSpan.Builder |
TextSpan.Builder.setContentBytes(ByteString value)
The content of the output text.
|
TextSpan.Builder |
TextSpan.Builder.setField(Descriptors.FieldDescriptor field,
Object value) |
TextSpan.Builder |
TextSpan.Builder.setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
TextSpan.Builder |
TextSpan.Builder.setUnknownFields(UnknownFieldSet unknownFields) |
TextSpan.Builder |
TextSpan.toBuilder() |
Modifier and Type | Method and Description |
---|---|
EntityMention.Builder |
EntityMention.Builder.setText(TextSpan.Builder builderForValue)
The mention text.
|
Sentence.Builder |
Sentence.Builder.setText(TextSpan.Builder builderForValue)
The sentence text.
|
Token.Builder |
Token.Builder.setText(TextSpan.Builder builderForValue)
The token text.
|
Copyright © 2022 Google LLC. All rights reserved.