Interface AnalyzeSyntaxRequestOrBuilder (2.24.0)

publicinterface AnalyzeSyntaxRequestOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getDocument()

publicabstractDocumentgetDocument()

Required. Input document.

.google.cloud.language.v1beta2.Document document = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Document

The document.

getDocumentOrBuilder()

publicabstractDocumentOrBuildergetDocumentOrBuilder()

Required. Input document.

.google.cloud.language.v1beta2.Document document = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DocumentOrBuilder

getEncodingType()

publicabstractEncodingTypegetEncodingType()

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()

publicabstractintgetEncodingTypeValue()

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()

publicabstractbooleanhasDocument()

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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.