Package | Description |
---|---|
com.google.cloud.language.v1 |
A client to Cloud Natural Language API
|
Modifier and Type | Method and Description |
---|---|
Entity.Builder |
Entity.Builder.addAllMentions(Iterable<? extends EntityMention> values)
The mentions of this entity in the input document.
|
Entity.Builder |
AnnotateTextResponse.Builder.addEntitiesBuilder()
Entities, along with their semantic information, in the input document.
|
Entity.Builder |
AnalyzeEntitySentimentResponse.Builder.addEntitiesBuilder()
The recognized entities in the input document with associated sentiments.
|
Entity.Builder |
AnalyzeEntitiesResponse.Builder.addEntitiesBuilder()
The recognized entities in the input document.
|
Entity.Builder |
AnnotateTextResponse.Builder.addEntitiesBuilder(int index)
Entities, along with their semantic information, in the input document.
|
Entity.Builder |
AnalyzeEntitySentimentResponse.Builder.addEntitiesBuilder(int index)
The recognized entities in the input document with associated sentiments.
|
Entity.Builder |
AnalyzeEntitiesResponse.Builder.addEntitiesBuilder(int index)
The recognized entities in the input document.
|
Entity.Builder |
Entity.Builder.addMentions(EntityMention.Builder builderForValue)
The mentions of this entity in the input document.
|
Entity.Builder |
Entity.Builder.addMentions(EntityMention value)
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.addMentions(int index,
EntityMention value)
The mentions of this entity in the input document.
|
Entity.Builder |
Entity.Builder.addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
Entity.Builder |
Entity.Builder.clear() |
Entity.Builder |
Entity.Builder.clearField(Descriptors.FieldDescriptor field) |
Entity.Builder |
Entity.Builder.clearMentions()
The mentions of this entity in the input document.
|
Entity.Builder |
Entity.Builder.clearMetadata() |
Entity.Builder |
Entity.Builder.clearName()
The representative name for the entity.
|
Entity.Builder |
Entity.Builder.clearOneof(Descriptors.OneofDescriptor oneof) |
Entity.Builder |
Entity.Builder.clearSalience()
The salience score associated with the entity in the [0, 1.0] range.
|
Entity.Builder |
Entity.Builder.clearSentiment()
For calls to [AnalyzeEntitySentiment][] or if
[AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to
true, this field will contain the aggregate sentiment expressed for this
entity in the provided document.
|
Entity.Builder |
Entity.Builder.clearType()
The entity type.
|
Entity.Builder |
Entity.Builder.clone() |
Entity.Builder |
AnnotateTextResponse.Builder.getEntitiesBuilder(int index)
Entities, along with their semantic information, in the input document.
|
Entity.Builder |
AnalyzeEntitySentimentResponse.Builder.getEntitiesBuilder(int index)
The recognized entities in the input document with associated sentiments.
|
Entity.Builder |
AnalyzeEntitiesResponse.Builder.getEntitiesBuilder(int index)
The recognized entities in the input document.
|
Entity.Builder |
Entity.Builder.mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
Entity.Builder |
Entity.Builder.mergeFrom(Entity other) |
Entity.Builder |
Entity.Builder.mergeFrom(Message other) |
Entity.Builder |
Entity.Builder.mergeSentiment(Sentiment value)
For calls to [AnalyzeEntitySentiment][] or if
[AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to
true, this field will contain the aggregate sentiment expressed for this
entity in the provided document.
|
Entity.Builder |
Entity.Builder.mergeUnknownFields(UnknownFieldSet unknownFields) |
static Entity.Builder |
Entity.newBuilder() |
static Entity.Builder |
Entity.newBuilder(Entity prototype) |
Entity.Builder |
Entity.newBuilderForType() |
protected Entity.Builder |
Entity.newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
Entity.Builder |
Entity.Builder.putAllMetadata(Map<String,String> values)
Metadata associated with the entity.
|
Entity.Builder |
Entity.Builder.putMetadata(String key,
String value)
Metadata associated with the entity.
|
Entity.Builder |
Entity.Builder.removeMentions(int index)
The mentions of this entity in the input document.
|
Entity.Builder |
Entity.Builder.removeMetadata(String key)
Metadata associated with the entity.
|
Entity.Builder |
Entity.Builder.setField(Descriptors.FieldDescriptor field,
Object value) |
Entity.Builder |
Entity.Builder.setMentions(int index,
EntityMention.Builder builderForValue)
The mentions of this entity in the input document.
|
Entity.Builder |
Entity.Builder.setMentions(int index,
EntityMention value)
The mentions of this entity in the input document.
|
Entity.Builder |
Entity.Builder.setName(String value)
The representative name for the entity.
|
Entity.Builder |
Entity.Builder.setNameBytes(ByteString value)
The representative name for the entity.
|
Entity.Builder |
Entity.Builder.setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
Entity.Builder |
Entity.Builder.setSalience(float value)
The salience score associated with the entity in the [0, 1.0] range.
|
Entity.Builder |
Entity.Builder.setSentiment(Sentiment.Builder builderForValue)
For calls to [AnalyzeEntitySentiment][] or if
[AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to
true, this field will contain the aggregate sentiment expressed for this
entity in the provided document.
|
Entity.Builder |
Entity.Builder.setSentiment(Sentiment value)
For calls to [AnalyzeEntitySentiment][] or if
[AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to
true, this field will contain the aggregate sentiment expressed for this
entity in the provided document.
|
Entity.Builder |
Entity.Builder.setType(Entity.Type value)
The entity type.
|
Entity.Builder |
Entity.Builder.setTypeValue(int value)
The entity type.
|
Entity.Builder |
Entity.Builder.setUnknownFields(UnknownFieldSet unknownFields) |
Entity.Builder |
Entity.toBuilder() |
Modifier and Type | Method and Description |
---|---|
List<Entity.Builder> |
AnnotateTextResponse.Builder.getEntitiesBuilderList()
Entities, along with their semantic information, in the input document.
|
List<Entity.Builder> |
AnalyzeEntitySentimentResponse.Builder.getEntitiesBuilderList()
The recognized entities in the input document with associated sentiments.
|
List<Entity.Builder> |
AnalyzeEntitiesResponse.Builder.getEntitiesBuilderList()
The recognized entities in the input document.
|
Modifier and Type | Method and Description |
---|---|
AnnotateTextResponse.Builder |
AnnotateTextResponse.Builder.addEntities(Entity.Builder builderForValue)
Entities, along with their semantic information, in the input document.
|
AnalyzeEntitySentimentResponse.Builder |
AnalyzeEntitySentimentResponse.Builder.addEntities(Entity.Builder builderForValue)
The recognized entities in the input document with associated sentiments.
|
AnalyzeEntitiesResponse.Builder |
AnalyzeEntitiesResponse.Builder.addEntities(Entity.Builder builderForValue)
The recognized entities in the input document.
|
AnnotateTextResponse.Builder |
AnnotateTextResponse.Builder.addEntities(int index,
Entity.Builder builderForValue)
Entities, along with their semantic information, in the input document.
|
AnalyzeEntitySentimentResponse.Builder |
AnalyzeEntitySentimentResponse.Builder.addEntities(int index,
Entity.Builder builderForValue)
The recognized entities in the input document with associated sentiments.
|
AnalyzeEntitiesResponse.Builder |
AnalyzeEntitiesResponse.Builder.addEntities(int index,
Entity.Builder builderForValue)
The recognized entities in the input document.
|
AnnotateTextResponse.Builder |
AnnotateTextResponse.Builder.setEntities(int index,
Entity.Builder builderForValue)
Entities, along with their semantic information, in the input document.
|
AnalyzeEntitySentimentResponse.Builder |
AnalyzeEntitySentimentResponse.Builder.setEntities(int index,
Entity.Builder builderForValue)
The recognized entities in the input document with associated sentiments.
|
AnalyzeEntitiesResponse.Builder |
AnalyzeEntitiesResponse.Builder.setEntities(int index,
Entity.Builder builderForValue)
The recognized entities in the input document.
|
Copyright © 2022 Google LLC. All rights reserved.