Interface AnnotateTextRequestOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    AnnotateTextRequest, AnnotateTextRequest.Builder

    public interface AnnotateTextRequestOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasDocument

        boolean hasDocument()
         Required. Input document.
         
        .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        Whether the document field is set.
      • getDocument

        Document getDocument()
         Required. Input document.
         
        .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The document.
      • getDocumentOrBuilder

        DocumentOrBuilder getDocumentOrBuilder()
         Required. Input document.
         
        .google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED];
      • hasFeatures

        boolean hasFeatures()
         Required. The enabled features.
         
        .google.cloud.language.v1.AnnotateTextRequest.Features features = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        Whether the features field is set.
      • getFeatures

        AnnotateTextRequest.Features getFeatures()
         Required. The enabled features.
         
        .google.cloud.language.v1.AnnotateTextRequest.Features features = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The features.
      • getFeaturesOrBuilder

        AnnotateTextRequest.FeaturesOrBuilder getFeaturesOrBuilder()
         Required. The enabled features.
         
        .google.cloud.language.v1.AnnotateTextRequest.Features features = 2 [(.google.api.field_behavior) = REQUIRED];
      • getEncodingTypeValue

        int getEncodingTypeValue()
         The encoding type used by the API to calculate offsets.
         
        .google.cloud.language.v1.EncodingType encoding_type = 3;
        Returns:
        The enum numeric value on the wire for encodingType.
      • getEncodingType

        EncodingType getEncodingType()
         The encoding type used by the API to calculate offsets.
         
        .google.cloud.language.v1.EncodingType encoding_type = 3;
        Returns:
        The encodingType.