public interface AnnotateTextRequestOrBuilder 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 offsets.
|
int |
getEncodingTypeValue()
The encoding type used by the API to calculate offsets.
|
AnnotateTextRequest.Features |
getFeatures()
Required.
|
AnnotateTextRequest.FeaturesOrBuilder |
getFeaturesOrBuilder()
Required.
|
boolean |
hasDocument()
Required.
|
boolean |
hasFeatures()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
boolean hasDocument()
Required. Input document.
.google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED];
Document getDocument()
Required. Input document.
.google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED];
DocumentOrBuilder getDocumentOrBuilder()
Required. Input document.
.google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED];
boolean hasFeatures()
Required. The enabled features.
.google.cloud.language.v1.AnnotateTextRequest.Features features = 2 [(.google.api.field_behavior) = REQUIRED];
AnnotateTextRequest.Features getFeatures()
Required. The enabled features.
.google.cloud.language.v1.AnnotateTextRequest.Features features = 2 [(.google.api.field_behavior) = REQUIRED];
AnnotateTextRequest.FeaturesOrBuilder getFeaturesOrBuilder()
Required. The enabled features.
.google.cloud.language.v1.AnnotateTextRequest.Features features = 2 [(.google.api.field_behavior) = REQUIRED];
int getEncodingTypeValue()
The encoding type used by the API to calculate offsets.
.google.cloud.language.v1.EncodingType encoding_type = 3;
EncodingType getEncodingType()
The encoding type used by the API to calculate offsets.
.google.cloud.language.v1.EncodingType encoding_type = 3;
Copyright © 2022 Google LLC. All rights reserved.