public final class AnalyzeSentimentResponse extends GeneratedMessageV3 implements AnalyzeSentimentResponseOrBuilder
The sentiment analysis response message.
Protobuf type google.cloud.language.v1beta2.AnalyzeSentimentResponse
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AnalyzeSentimentResponseImplements
AnalyzeSentimentResponseOrBuilderStatic Fields
DOCUMENT_SENTIMENT_FIELD_NUMBER
public static final int DOCUMENT_SENTIMENT_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
LANGUAGE_FIELD_NUMBER
public static final int LANGUAGE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
SENTENCES_FIELD_NUMBER
public static final int SENTENCES_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static AnalyzeSentimentResponse getDefaultInstance()
Returns | |
---|---|
Type | Description |
AnalyzeSentimentResponse |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static AnalyzeSentimentResponse.Builder newBuilder()
Returns | |
---|---|
Type | Description |
AnalyzeSentimentResponse.Builder |
newBuilder(AnalyzeSentimentResponse prototype)
public static AnalyzeSentimentResponse.Builder newBuilder(AnalyzeSentimentResponse prototype)
Parameter | |
---|---|
Name | Description |
prototype | AnalyzeSentimentResponse |
Returns | |
---|---|
Type | Description |
AnalyzeSentimentResponse.Builder |
parseDelimitedFrom(InputStream input)
public static AnalyzeSentimentResponse parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
AnalyzeSentimentResponse |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AnalyzeSentimentResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AnalyzeSentimentResponse |
Exceptions | |
---|---|
Type | Description |
IOException |