Uses of Class
com.google.cloud.language.v1.Sentence.Builder
-
Uses of Sentence.Builder in com.google.cloud.language.v1
Methods in com.google.cloud.language.v1 that return Sentence.BuilderModifier and TypeMethodDescriptionAnalyzeSentimentResponse.Builder.addSentencesBuilder()The sentiment for all the sentences in the document.AnalyzeSentimentResponse.Builder.addSentencesBuilder(int index) The sentiment for all the sentences in the document.AnalyzeSyntaxResponse.Builder.addSentencesBuilder()Sentences in the input document.AnalyzeSyntaxResponse.Builder.addSentencesBuilder(int index) Sentences in the input document.AnnotateTextResponse.Builder.addSentencesBuilder()Sentences in the input document.AnnotateTextResponse.Builder.addSentencesBuilder(int index) Sentences in the input document.Sentence.Builder.clear()Sentence.Builder.clearSentiment()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.Builder.clearText()The sentence text.AnalyzeSentimentResponse.Builder.getSentencesBuilder(int index) The sentiment for all the sentences in the document.AnalyzeSyntaxResponse.Builder.getSentencesBuilder(int index) Sentences in the input document.AnnotateTextResponse.Builder.getSentencesBuilder(int index) Sentences in the input document.Sentence.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) Sentence.Builder.mergeFrom(com.google.protobuf.Message other) 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.The sentence text.static Sentence.BuilderSentence.newBuilder()static Sentence.BuilderSentence.newBuilder(Sentence prototype) Sentence.newBuilderForType()protected Sentence.BuilderSentence.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) 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.Sentence.Builder.setSentiment(Sentiment.Builder builderForValue) 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.The sentence text.Sentence.Builder.setText(TextSpan.Builder builderForValue) The sentence text.Sentence.toBuilder()Methods in com.google.cloud.language.v1 that return types with arguments of type Sentence.BuilderModifier and TypeMethodDescriptionAnalyzeSentimentResponse.Builder.getSentencesBuilderList()The sentiment for all the sentences in the document.AnalyzeSyntaxResponse.Builder.getSentencesBuilderList()Sentences in the input document.AnnotateTextResponse.Builder.getSentencesBuilderList()Sentences in the input document.Methods in com.google.cloud.language.v1 with parameters of type Sentence.BuilderModifier and TypeMethodDescriptionAnalyzeSentimentResponse.Builder.addSentences(int index, Sentence.Builder builderForValue) The sentiment for all the sentences in the document.AnalyzeSentimentResponse.Builder.addSentences(Sentence.Builder builderForValue) The sentiment for all the sentences in the document.AnalyzeSyntaxResponse.Builder.addSentences(int index, Sentence.Builder builderForValue) Sentences in the input document.AnalyzeSyntaxResponse.Builder.addSentences(Sentence.Builder builderForValue) Sentences in the input document.AnnotateTextResponse.Builder.addSentences(int index, Sentence.Builder builderForValue) Sentences in the input document.AnnotateTextResponse.Builder.addSentences(Sentence.Builder builderForValue) Sentences in the input document.AnalyzeSentimentResponse.Builder.setSentences(int index, Sentence.Builder builderForValue) The sentiment for all the sentences in the document.AnalyzeSyntaxResponse.Builder.setSentences(int index, Sentence.Builder builderForValue) Sentences in the input document.AnnotateTextResponse.Builder.setSentences(int index, Sentence.Builder builderForValue) Sentences in the input document.