Package | Description |
---|---|
com.google.cloud.language.v1beta2 |
A client to Cloud Natural Language API
|
Modifier and Type | Method and Description |
---|---|
EntityMention.Builder |
Entity.Builder.addMentionsBuilder()
The mentions of this entity in the input document.
|
EntityMention.Builder |
Entity.Builder.addMentionsBuilder(int index)
The mentions of this entity in the input document.
|
EntityMention.Builder |
EntityMention.Builder.addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
EntityMention.Builder |
EntityMention.Builder.clear() |
EntityMention.Builder |
EntityMention.Builder.clearField(Descriptors.FieldDescriptor field) |
EntityMention.Builder |
EntityMention.Builder.clearOneof(Descriptors.OneofDescriptor oneof) |
EntityMention.Builder |
EntityMention.Builder.clearSentiment()
For calls to [AnalyzeEntitySentiment][] or if
[AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_entity_sentiment] is set to
true, this field will contain the sentiment expressed for this mention of
the entity in the provided document.
|
EntityMention.Builder |
EntityMention.Builder.clearText()
The mention text.
|
EntityMention.Builder |
EntityMention.Builder.clearType()
The type of the entity mention.
|
EntityMention.Builder |
EntityMention.Builder.clone() |
EntityMention.Builder |
Entity.Builder.getMentionsBuilder(int index)
The mentions of this entity in the input document.
|
EntityMention.Builder |
EntityMention.Builder.mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
EntityMention.Builder |
EntityMention.Builder.mergeFrom(EntityMention other) |
EntityMention.Builder |
EntityMention.Builder.mergeFrom(Message other) |
EntityMention.Builder |
EntityMention.Builder.mergeSentiment(Sentiment value)
For calls to [AnalyzeEntitySentiment][] or if
[AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_entity_sentiment] is set to
true, this field will contain the sentiment expressed for this mention of
the entity in the provided document.
|
EntityMention.Builder |
EntityMention.Builder.mergeText(TextSpan value)
The mention text.
|
EntityMention.Builder |
EntityMention.Builder.mergeUnknownFields(UnknownFieldSet unknownFields) |
static EntityMention.Builder |
EntityMention.newBuilder() |
static EntityMention.Builder |
EntityMention.newBuilder(EntityMention prototype) |
EntityMention.Builder |
EntityMention.newBuilderForType() |
protected EntityMention.Builder |
EntityMention.newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
EntityMention.Builder |
EntityMention.Builder.setField(Descriptors.FieldDescriptor field,
Object value) |
EntityMention.Builder |
EntityMention.Builder.setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
EntityMention.Builder |
EntityMention.Builder.setSentiment(Sentiment.Builder builderForValue)
For calls to [AnalyzeEntitySentiment][] or if
[AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_entity_sentiment] is set to
true, this field will contain the sentiment expressed for this mention of
the entity in the provided document.
|
EntityMention.Builder |
EntityMention.Builder.setSentiment(Sentiment value)
For calls to [AnalyzeEntitySentiment][] or if
[AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_entity_sentiment] is set to
true, this field will contain the sentiment expressed for this mention of
the entity in the provided document.
|
EntityMention.Builder |
EntityMention.Builder.setText(TextSpan.Builder builderForValue)
The mention text.
|
EntityMention.Builder |
EntityMention.Builder.setText(TextSpan value)
The mention text.
|
EntityMention.Builder |
EntityMention.Builder.setType(EntityMention.Type value)
The type of the entity mention.
|
EntityMention.Builder |
EntityMention.Builder.setTypeValue(int value)
The type of the entity mention.
|
EntityMention.Builder |
EntityMention.Builder.setUnknownFields(UnknownFieldSet unknownFields) |
EntityMention.Builder |
EntityMention.toBuilder() |
Modifier and Type | Method and Description |
---|---|
List<EntityMention.Builder> |
Entity.Builder.getMentionsBuilderList()
The mentions of this entity in the input document.
|
Modifier and Type | Method and Description |
---|---|
Entity.Builder |
Entity.Builder.addMentions(EntityMention.Builder builderForValue)
The mentions of this entity in the input document.
|
Entity.Builder |
Entity.Builder.addMentions(int index,
EntityMention.Builder builderForValue)
The mentions of this entity in the input document.
|
Entity.Builder |
Entity.Builder.setMentions(int index,
EntityMention.Builder builderForValue)
The mentions of this entity in the input document.
|
Copyright © 2022 Google LLC. All rights reserved.