public interface AnalyzeSentimentRequestOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
Document |
getDocument()
Required.
|
DocumentOrBuilder |
getDocumentOrBuilder()
Required.
|
EncodingType |
getEncodingType()
The encoding type used by the API to calculate sentence offsets for the
sentence sentiment.
|
int |
getEncodingTypeValue()
The encoding type used by the API to calculate sentence offsets for the
sentence sentiment.
|
boolean |
hasDocument()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
boolean hasDocument()
Required. Input document.
.google.cloud.language.v1beta2.Document document = 1 [(.google.api.field_behavior) = REQUIRED];
Document getDocument()
Required. Input document.
.google.cloud.language.v1beta2.Document document = 1 [(.google.api.field_behavior) = REQUIRED];
DocumentOrBuilder getDocumentOrBuilder()
Required. Input document.
.google.cloud.language.v1beta2.Document document = 1 [(.google.api.field_behavior) = REQUIRED];
int getEncodingTypeValue()
The encoding type used by the API to calculate sentence offsets for the sentence sentiment.
.google.cloud.language.v1beta2.EncodingType encoding_type = 2;
EncodingType getEncodingType()
The encoding type used by the API to calculate sentence offsets for the sentence sentiment.
.google.cloud.language.v1beta2.EncodingType encoding_type = 2;
Copyright © 2022 Google LLC. All rights reserved.