public interface AnnotateTextRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getDocument()
public abstract Document getDocument()Required. Input document.
.google.cloud.language.v1beta2.Document document = 1 [(.google.api.field_behavior) = REQUIRED];
| 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];
| 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 = 3;
| 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 = 3;
| Type | Description |
| int | The enum numeric value on the wire for encodingType. |
getFeatures()
public abstract AnnotateTextRequest.Features getFeatures()Required. The enabled features.
.google.cloud.language.v1beta2.AnnotateTextRequest.Features features = 2 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| AnnotateTextRequest.Features | The features. |
getFeaturesOrBuilder()
public abstract AnnotateTextRequest.FeaturesOrBuilder getFeaturesOrBuilder()Required. The enabled features.
.google.cloud.language.v1beta2.AnnotateTextRequest.Features features = 2 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| AnnotateTextRequest.FeaturesOrBuilder |
hasDocument()
public abstract boolean hasDocument()Required. Input document.
.google.cloud.language.v1beta2.Document document = 1 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| boolean | Whether the document field is set. |
hasFeatures()
public abstract boolean hasFeatures()Required. The enabled features.
.google.cloud.language.v1beta2.AnnotateTextRequest.Features features = 2 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| boolean | Whether the features field is set. |