Interface ClassifyTextRequestOrBuilder (2.30.0)

public interface ClassifyTextRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getClassificationModelOptions()

public abstract ClassificationModelOptions getClassificationModelOptions()

Model options to use for classification. Defaults to v1 options if not specified.

.google.cloud.language.v1.ClassificationModelOptions classification_model_options = 3;

Returns
TypeDescription
ClassificationModelOptions

The classificationModelOptions.

getClassificationModelOptionsOrBuilder()

public abstract ClassificationModelOptionsOrBuilder getClassificationModelOptionsOrBuilder()

Model options to use for classification. Defaults to v1 options if not specified.

.google.cloud.language.v1.ClassificationModelOptions classification_model_options = 3;

Returns
TypeDescription
ClassificationModelOptionsOrBuilder

getDocument()

public abstract Document getDocument()

Required. Input document.

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

Returns
TypeDescription
Document

The document.

getDocumentOrBuilder()

public abstract DocumentOrBuilder getDocumentOrBuilder()

Required. Input document.

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

Returns
TypeDescription
DocumentOrBuilder

hasClassificationModelOptions()

public abstract boolean hasClassificationModelOptions()

Model options to use for classification. Defaults to v1 options if not specified.

.google.cloud.language.v1.ClassificationModelOptions classification_model_options = 3;

Returns
TypeDescription
boolean

Whether the classificationModelOptions field is set.

hasDocument()

public abstract boolean hasDocument()

Required. Input document.

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

Returns
TypeDescription
boolean

Whether the document field is set.