Package | Description |
---|---|
com.google.cloud.language.v1beta2 |
A client to Cloud Natural Language API
|
Modifier and Type | Method and Description |
---|---|
Sentence.Builder |
Sentence.Builder.addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
Sentence.Builder |
AnnotateTextResponse.Builder.addSentencesBuilder()
Sentences in the input document.
|
Sentence.Builder |
AnalyzeSyntaxResponse.Builder.addSentencesBuilder()
Sentences in the input document.
|
Sentence.Builder |
AnalyzeSentimentResponse.Builder.addSentencesBuilder()
The sentiment for all the sentences in the document.
|
Sentence.Builder |
AnnotateTextResponse.Builder.addSentencesBuilder(int index)
Sentences in the input document.
|
Sentence.Builder |
AnalyzeSyntaxResponse.Builder.addSentencesBuilder(int index)
Sentences in the input document.
|
Sentence.Builder |
AnalyzeSentimentResponse.Builder.addSentencesBuilder(int index)
The sentiment for all the sentences in the document.
|
Sentence.Builder |
Sentence.Builder.clear() |
Sentence.Builder |
Sentence.Builder.clearField(Descriptors.FieldDescriptor field) |
Sentence.Builder |
Sentence.Builder.clearOneof(Descriptors.OneofDescriptor oneof) |
Sentence.Builder |
Sentence.Builder.clearSentiment()
For calls to [AnalyzeSentiment][] or if
[AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_document_sentiment] is set to
true, this field will contain the sentiment for the sentence.
|
Sentence.Builder |
Sentence.Builder.clearText()
The sentence text.
|
Sentence.Builder |
Sentence.Builder.clone() |
Sentence.Builder |
AnnotateTextResponse.Builder.getSentencesBuilder(int index)
Sentences in the input document.
|
Sentence.Builder |
AnalyzeSyntaxResponse.Builder.getSentencesBuilder(int index)
Sentences in the input document.
|
Sentence.Builder |
AnalyzeSentimentResponse.Builder.getSentencesBuilder(int index)
The sentiment for all the sentences in the document.
|
Sentence.Builder |
Sentence.Builder.mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
Sentence.Builder |
Sentence.Builder.mergeFrom(Message other) |
Sentence.Builder |
Sentence.Builder.mergeFrom(Sentence other) |
Sentence.Builder |
Sentence.Builder.mergeSentiment(Sentiment value)
For calls to [AnalyzeSentiment][] or if
[AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_document_sentiment] is set to
true, this field will contain the sentiment for the sentence.
|
Sentence.Builder |
Sentence.Builder.mergeText(TextSpan value)
The sentence text.
|
Sentence.Builder |
Sentence.Builder.mergeUnknownFields(UnknownFieldSet unknownFields) |
static Sentence.Builder |
Sentence.newBuilder() |
static Sentence.Builder |
Sentence.newBuilder(Sentence prototype) |
Sentence.Builder |
Sentence.newBuilderForType() |
protected Sentence.Builder |
Sentence.newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
Sentence.Builder |
Sentence.Builder.setField(Descriptors.FieldDescriptor field,
Object value) |
Sentence.Builder |
Sentence.Builder.setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
Sentence.Builder |
Sentence.Builder.setSentiment(Sentiment.Builder builderForValue)
For calls to [AnalyzeSentiment][] or if
[AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_document_sentiment] is set to
true, this field will contain the sentiment for the sentence.
|
Sentence.Builder |
Sentence.Builder.setSentiment(Sentiment value)
For calls to [AnalyzeSentiment][] or if
[AnnotateTextRequest.Features.extract_document_sentiment][google.cloud.language.v1beta2.AnnotateTextRequest.Features.extract_document_sentiment] is set to
true, this field will contain the sentiment for the sentence.
|
Sentence.Builder |
Sentence.Builder.setText(TextSpan.Builder builderForValue)
The sentence text.
|
Sentence.Builder |
Sentence.Builder.setText(TextSpan value)
The sentence text.
|
Sentence.Builder |
Sentence.Builder.setUnknownFields(UnknownFieldSet unknownFields) |
Sentence.Builder |
Sentence.toBuilder() |
Modifier and Type | Method and Description |
---|---|
List<Sentence.Builder> |
AnnotateTextResponse.Builder.getSentencesBuilderList()
Sentences in the input document.
|
List<Sentence.Builder> |
AnalyzeSyntaxResponse.Builder.getSentencesBuilderList()
Sentences in the input document.
|
List<Sentence.Builder> |
AnalyzeSentimentResponse.Builder.getSentencesBuilderList()
The sentiment for all the sentences in the document.
|
Modifier and Type | Method and Description |
---|---|
AnnotateTextResponse.Builder |
AnnotateTextResponse.Builder.addSentences(int index,
Sentence.Builder builderForValue)
Sentences in the input document.
|
AnalyzeSyntaxResponse.Builder |
AnalyzeSyntaxResponse.Builder.addSentences(int index,
Sentence.Builder builderForValue)
Sentences in the input document.
|
AnalyzeSentimentResponse.Builder |
AnalyzeSentimentResponse.Builder.addSentences(int index,
Sentence.Builder builderForValue)
The sentiment for all the sentences in the document.
|
AnnotateTextResponse.Builder |
AnnotateTextResponse.Builder.addSentences(Sentence.Builder builderForValue)
Sentences in the input document.
|
AnalyzeSyntaxResponse.Builder |
AnalyzeSyntaxResponse.Builder.addSentences(Sentence.Builder builderForValue)
Sentences in the input document.
|
AnalyzeSentimentResponse.Builder |
AnalyzeSentimentResponse.Builder.addSentences(Sentence.Builder builderForValue)
The sentiment for all the sentences in the document.
|
AnnotateTextResponse.Builder |
AnnotateTextResponse.Builder.setSentences(int index,
Sentence.Builder builderForValue)
Sentences in the input document.
|
AnalyzeSyntaxResponse.Builder |
AnalyzeSyntaxResponse.Builder.setSentences(int index,
Sentence.Builder builderForValue)
Sentences in the input document.
|
AnalyzeSentimentResponse.Builder |
AnalyzeSentimentResponse.Builder.setSentences(int index,
Sentence.Builder builderForValue)
The sentiment for all the sentences in the document.
|
Copyright © 2022 Google LLC. All rights reserved.