| Modifier and Type | Method and Description |
|---|---|
Sentiment.Builder |
Sentiment.Builder.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Sentiment.Builder |
Sentiment.Builder.clear() |
Sentiment.Builder |
Sentiment.Builder.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Sentiment.Builder |
Sentiment.Builder.clearMagnitude()
A non-negative number in the [0, +inf) range, which represents the absolute
magnitude of sentiment, regardless of score (positive or negative).
|
Sentiment.Builder |
Sentiment.Builder.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Sentiment.Builder |
Sentiment.Builder.clearScore()
Sentiment score between -1.0 (negative sentiment) and 1.0 (positive
sentiment).
|
Sentiment.Builder |
Sentiment.Builder.clone() |
Sentiment.Builder |
SentimentAnalysisResult.Builder.getQueryTextSentimentBuilder()
The sentiment analysis result for `query_text`.
|
Sentiment.Builder |
Sentiment.Builder.mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Sentiment.Builder |
Sentiment.Builder.mergeFrom(com.google.protobuf.Message other) |
Sentiment.Builder |
Sentiment.Builder.mergeFrom(Sentiment other) |
Sentiment.Builder |
Sentiment.Builder.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
static Sentiment.Builder |
Sentiment.newBuilder() |
static Sentiment.Builder |
Sentiment.newBuilder(Sentiment prototype) |
Sentiment.Builder |
Sentiment.newBuilderForType() |
protected Sentiment.Builder |
Sentiment.newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
Sentiment.Builder |
Sentiment.Builder.setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Sentiment.Builder |
Sentiment.Builder.setMagnitude(float value)
A non-negative number in the [0, +inf) range, which represents the absolute
magnitude of sentiment, regardless of score (positive or negative).
|
Sentiment.Builder |
Sentiment.Builder.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Sentiment.Builder |
Sentiment.Builder.setScore(float value)
Sentiment score between -1.0 (negative sentiment) and 1.0 (positive
sentiment).
|
Sentiment.Builder |
Sentiment.Builder.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Sentiment.Builder |
Sentiment.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
SentimentAnalysisResult.Builder |
SentimentAnalysisResult.Builder.setQueryTextSentiment(Sentiment.Builder builderForValue)
The sentiment analysis result for `query_text`.
|
Copyright © 2019 Google LLC. All rights reserved.