public interface ClassifyTextRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
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;
| Type | Description |
| 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;
| Type | Description |
| ClassificationModelOptionsOrBuilder |
getDocument()
public abstract Document getDocument()Required. Input document.
.google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| Document | The document. |
getDocumentOrBuilder()
public abstract DocumentOrBuilder getDocumentOrBuilder()Required. Input document.
.google.cloud.language.v1.Document document = 1 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| 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;
| Type | Description |
| 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];
| Type | Description |
| boolean | Whether the document field is set. |