public interface AnalyzeSentimentResponseOrBuilder extends MessageOrBuilder
| Modifier and Type | Method and Description | 
|---|---|
| Sentiment | getDocumentSentiment()
 The overall sentiment of the input document. | 
| SentimentOrBuilder | getDocumentSentimentOrBuilder()
 The overall sentiment of the input document. | 
| java.lang.String | getLanguage()
 The language of the text, which will be the same as the language specified
 in the request or, if not specified, the automatically-detected language. | 
| ByteString | getLanguageBytes()
 The language of the text, which will be the same as the language specified
 in the request or, if not specified, the automatically-detected language. | 
| Sentence | getSentences(int index)
 The sentiment for all the sentences in the document. | 
| int | getSentencesCount()
 The sentiment for all the sentences in the document. | 
| java.util.List<Sentence> | getSentencesList()
 The sentiment for all the sentences in the document. | 
| SentenceOrBuilder | getSentencesOrBuilder(int index)
 The sentiment for all the sentences in the document. | 
| java.util.List<? extends SentenceOrBuilder> | getSentencesOrBuilderList()
 The sentiment for all the sentences in the document. | 
| boolean | hasDocumentSentiment()
 The overall sentiment of the input document. | 
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofisInitializedboolean hasDocumentSentiment()
The overall sentiment of the input document.
.google.cloud.language.v1beta2.Sentiment document_sentiment = 1;Sentiment getDocumentSentiment()
The overall sentiment of the input document.
.google.cloud.language.v1beta2.Sentiment document_sentiment = 1;SentimentOrBuilder getDocumentSentimentOrBuilder()
The overall sentiment of the input document.
.google.cloud.language.v1beta2.Sentiment document_sentiment = 1;java.lang.String getLanguage()
The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See [Document.language][google.cloud.language.v1beta2.Document.language] field for more details.
string language = 2;ByteString getLanguageBytes()
The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See [Document.language][google.cloud.language.v1beta2.Document.language] field for more details.
string language = 2;java.util.List<Sentence> getSentencesList()
The sentiment for all the sentences in the document.
repeated .google.cloud.language.v1beta2.Sentence sentences = 3;Sentence getSentences(int index)
The sentiment for all the sentences in the document.
repeated .google.cloud.language.v1beta2.Sentence sentences = 3;int getSentencesCount()
The sentiment for all the sentences in the document.
repeated .google.cloud.language.v1beta2.Sentence sentences = 3;java.util.List<? extends SentenceOrBuilder> getSentencesOrBuilderList()
The sentiment for all the sentences in the document.
repeated .google.cloud.language.v1beta2.Sentence sentences = 3;SentenceOrBuilder getSentencesOrBuilder(int index)
The sentiment for all the sentences in the document.
repeated .google.cloud.language.v1beta2.Sentence sentences = 3;