Uses of Class
com.google.cloud.language.v1.Entity.Builder
-
Uses of Entity.Builder in com.google.cloud.language.v1
Methods in com.google.cloud.language.v1 that return Entity.BuilderModifier and TypeMethodDescriptionEntity.Builder.addAllMentions(Iterable<? extends EntityMention> values) The mentions of this entity in the input document.AnalyzeEntitiesResponse.Builder.addEntitiesBuilder()The recognized entities in the input document.AnalyzeEntitiesResponse.Builder.addEntitiesBuilder(int index) The recognized entities in the input document.AnalyzeEntitySentimentResponse.Builder.addEntitiesBuilder()The recognized entities in the input document with associated sentiments.AnalyzeEntitySentimentResponse.Builder.addEntitiesBuilder(int index) The recognized entities in the input document with associated sentiments.AnnotateTextResponse.Builder.addEntitiesBuilder()Entities, along with their semantic information, in the input document.AnnotateTextResponse.Builder.addEntitiesBuilder(int index) Entities, along with their semantic information, in the input document.Entity.Builder.addMentions(int index, EntityMention value) The mentions of this entity in the input document.Entity.Builder.addMentions(int index, EntityMention.Builder builderForValue) The mentions of this entity in the input document.Entity.Builder.addMentions(EntityMention value) The mentions of this entity in the input document.Entity.Builder.addMentions(EntityMention.Builder builderForValue) The mentions of this entity in the input document.Entity.Builder.clear()Entity.Builder.clearMentions()The mentions of this entity in the input document.Entity.Builder.clearMetadata()Entity.Builder.clearName()The representative name for the entity.Entity.Builder.clearSalience()The salience score associated with the entity in the [0, 1.0] range.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.clearType()The entity type.AnalyzeEntitiesResponse.Builder.getEntitiesBuilder(int index) The recognized entities in the input document.AnalyzeEntitySentimentResponse.Builder.getEntitiesBuilder(int index) The recognized entities in the input document with associated sentiments.AnnotateTextResponse.Builder.getEntitiesBuilder(int index) Entities, along with their semantic information, in the input document.Entity.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) Entity.Builder.mergeFrom(com.google.protobuf.Message other) 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.static Entity.BuilderEntity.newBuilder()static Entity.BuilderEntity.newBuilder(Entity prototype) Entity.newBuilderForType()protected Entity.BuilderEntity.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) Entity.Builder.putAllMetadata(Map<String, String> values) Metadata associated with the entity.Entity.Builder.putMetadata(String key, String value) Metadata associated with the entity.Entity.Builder.removeMentions(int index) The mentions of this entity in the input document.Entity.Builder.removeMetadata(String key) Metadata associated with the entity.Entity.Builder.setMentions(int index, EntityMention value) The mentions of this entity in the input document.Entity.Builder.setMentions(int index, EntityMention.Builder builderForValue) The mentions of this entity in the input document.The representative name for the entity.Entity.Builder.setNameBytes(com.google.protobuf.ByteString value) The representative name for the entity.Entity.Builder.setSalience(float value) The salience score associated with the entity in the [0, 1.0] range.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.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.setType(Entity.Type value) The entity type.Entity.Builder.setTypeValue(int value) The entity type.Entity.toBuilder()Methods in com.google.cloud.language.v1 that return types with arguments of type Entity.BuilderModifier and TypeMethodDescriptionAnalyzeEntitiesResponse.Builder.getEntitiesBuilderList()The recognized entities in the input document.AnalyzeEntitySentimentResponse.Builder.getEntitiesBuilderList()The recognized entities in the input document with associated sentiments.AnnotateTextResponse.Builder.getEntitiesBuilderList()Entities, along with their semantic information, in the input document.Methods in com.google.cloud.language.v1 with parameters of type Entity.BuilderModifier and TypeMethodDescriptionAnalyzeEntitiesResponse.Builder.addEntities(int index, Entity.Builder builderForValue) The recognized entities in the input document.AnalyzeEntitiesResponse.Builder.addEntities(Entity.Builder builderForValue) The recognized entities in the input document.AnalyzeEntitySentimentResponse.Builder.addEntities(int index, Entity.Builder builderForValue) The recognized entities in the input document with associated sentiments.AnalyzeEntitySentimentResponse.Builder.addEntities(Entity.Builder builderForValue) The recognized entities in the input document with associated sentiments.AnnotateTextResponse.Builder.addEntities(int index, Entity.Builder builderForValue) Entities, along with their semantic information, in the input document.AnnotateTextResponse.Builder.addEntities(Entity.Builder builderForValue) Entities, along with their semantic information, in the input document.AnalyzeEntitiesResponse.Builder.setEntities(int index, Entity.Builder builderForValue) The recognized entities in the input document.AnalyzeEntitySentimentResponse.Builder.setEntities(int index, Entity.Builder builderForValue) The recognized entities in the input document with associated sentiments.AnnotateTextResponse.Builder.setEntities(int index, Entity.Builder builderForValue) Entities, along with their semantic information, in the input document.