public interface AnalyzeEntitySentimentRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getDocument()
public abstract Document getDocument()
Required. Input document.
.google.cloud.language.v1beta2.Document document = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Document | The document. |
getDocumentOrBuilder()
public abstract DocumentOrBuilder getDocumentOrBuilder()
Required. Input document.
.google.cloud.language.v1beta2.Document document = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
DocumentOrBuilder |
getEncodingType()
public abstract EncodingType getEncodingType()
The encoding type used by the API to calculate offsets.
.google.cloud.language.v1beta2.EncodingType encoding_type = 2;
Returns | |
---|---|
Type | Description |
EncodingType | The encodingType. |
getEncodingTypeValue()
public abstract int getEncodingTypeValue()
The encoding type used by the API to calculate offsets.
.google.cloud.language.v1beta2.EncodingType encoding_type = 2;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for encodingType. |
hasDocument()
public abstract boolean hasDocument()
Required. Input document.
.google.cloud.language.v1beta2.Document document = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean | Whether the document field is set. |