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.v1beta2.ClassificationModelOptions classification_model_options = 3;
| Returns | |
|---|---|
| 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.v1beta2.ClassificationModelOptions classification_model_options = 3;
| Returns | |
|---|---|
| Type | Description |
ClassificationModelOptionsOrBuilder |
|
getDocument()
public abstract Document getDocument()Required. Input document.
.google.cloud.language.v1beta2.Document document = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Document |
The document. |
getDocumentOrBuilder()
public abstract DocumentOrBuilder getDocumentOrBuilder()Required. Input document.
.google.cloud.language.v1beta2.Document document = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DocumentOrBuilder |
|
hasClassificationModelOptions()
public abstract boolean hasClassificationModelOptions()Model options to use for classification. Defaults to v1 options if not specified.
.google.cloud.language.v1beta2.ClassificationModelOptions classification_model_options = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the classificationModelOptions field is set. |
hasDocument()
public abstract boolean hasDocument()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. |