Uses of Class
com.google.cloud.language.v1.Sentiment

  • Uses of Sentiment in com.google.cloud.language.v1

    Modifier and Type
    Method
    Description
    Sentiment.Builder.build()
     
    Sentiment.Builder.buildPartial()
     
    static Sentiment
    Sentiment.getDefaultInstance()
     
    Sentiment.Builder.getDefaultInstanceForType()
     
     
    AnalyzeSentimentResponse.Builder.getDocumentSentiment()
    The overall sentiment of the input document.
    AnalyzeSentimentResponse.getDocumentSentiment()
    The overall sentiment of the input document.
    AnalyzeSentimentResponseOrBuilder.getDocumentSentiment()
    The overall sentiment of the input document.
    AnnotateTextResponse.Builder.getDocumentSentiment()
    The overall sentiment for the document.
    AnnotateTextResponse.getDocumentSentiment()
    The overall sentiment for the document.
    AnnotateTextResponseOrBuilder.getDocumentSentiment()
    The overall sentiment for the document.
    Entity.Builder.getSentiment()
    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.getSentiment()
    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.
    EntityMention.Builder.getSentiment()
    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 sentiment expressed for this mention of the entity in the provided document.
    EntityMention.getSentiment()
    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 sentiment expressed for this mention of the entity in the provided document.
    EntityMentionOrBuilder.getSentiment()
    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 sentiment expressed for this mention of the entity in the provided document.
    EntityOrBuilder.getSentiment()
    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.
    Sentence.Builder.getSentiment()
    For calls to [AnalyzeSentiment][] or if [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment] is set to true, this field will contain the sentiment for the sentence.
    Sentence.getSentiment()
    For calls to [AnalyzeSentiment][] or if [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment] is set to true, this field will contain the sentiment for the sentence.
    SentenceOrBuilder.getSentiment()
    For calls to [AnalyzeSentiment][] or if [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment] is set to true, this field will contain the sentiment for the sentence.
    static Sentiment
     
    static Sentiment
    Sentiment.parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Sentiment
    Sentiment.parseFrom(byte[] data)
     
    static Sentiment
    Sentiment.parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Sentiment
    Sentiment.parseFrom(com.google.protobuf.ByteString data)
     
    static Sentiment
    Sentiment.parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Sentiment
    Sentiment.parseFrom(com.google.protobuf.CodedInputStream input)
     
    static Sentiment
    Sentiment.parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Sentiment
    Sentiment.parseFrom(InputStream input)
     
    static Sentiment
    Sentiment.parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Sentiment
    Sentiment.parseFrom(ByteBuffer data)
     
    static Sentiment
    Sentiment.parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    Methods in com.google.cloud.language.v1 that return types with arguments of type Sentiment
    Modifier and Type
    Method
    Description
    com.google.protobuf.Parser<Sentiment>
    Sentiment.getParserForType()
     
    static com.google.protobuf.Parser<Sentiment>
    Sentiment.parser()
     
    Methods in com.google.cloud.language.v1 with parameters of type Sentiment
    Modifier and Type
    Method
    Description
    AnalyzeSentimentResponse.Builder.mergeDocumentSentiment(Sentiment value)
    The overall sentiment of the input document.
    AnnotateTextResponse.Builder.mergeDocumentSentiment(Sentiment value)
    The overall sentiment for the document.
    Sentiment.Builder.mergeFrom(Sentiment 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.
    EntityMention.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 sentiment expressed for this mention of the entity in the provided document.
    Sentence.Builder.mergeSentiment(Sentiment value)
    For calls to [AnalyzeSentiment][] or if [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment] is set to true, this field will contain the sentiment for the sentence.
    Sentiment.newBuilder(Sentiment prototype)
     
    AnalyzeSentimentResponse.Builder.setDocumentSentiment(Sentiment value)
    The overall sentiment of the input document.
    AnnotateTextResponse.Builder.setDocumentSentiment(Sentiment value)
    The overall sentiment for the document.
    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.
    EntityMention.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 sentiment expressed for this mention of the entity in the provided document.
    Sentence.Builder.setSentiment(Sentiment value)
    For calls to [AnalyzeSentiment][] or if [AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_document_sentiment] is set to true, this field will contain the sentiment for the sentence.