public interface ClassifyTextRequestOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
ClassificationModelOptions |
getClassificationModelOptions()
Model options to use for classification.
|
ClassificationModelOptionsOrBuilder |
getClassificationModelOptionsOrBuilder()
Model options to use for classification.
|
Document |
getDocument()
Required.
|
DocumentOrBuilder |
getDocumentOrBuilder()
Required.
|
boolean |
hasClassificationModelOptions()
Model options to use for classification.
|
boolean |
hasDocument()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
boolean hasDocument()
Required. Input document.
.google.cloud.language.v1beta2.Document document = 1 [(.google.api.field_behavior) = REQUIRED];
Document getDocument()
Required. Input document.
.google.cloud.language.v1beta2.Document document = 1 [(.google.api.field_behavior) = REQUIRED];
DocumentOrBuilder getDocumentOrBuilder()
Required. Input document.
.google.cloud.language.v1beta2.Document document = 1 [(.google.api.field_behavior) = REQUIRED];
boolean hasClassificationModelOptions()
Model options to use for classification. Defaults to v1 options if not specified.
.google.cloud.language.v1beta2.ClassificationModelOptions classification_model_options = 3;
ClassificationModelOptions getClassificationModelOptions()
Model options to use for classification. Defaults to v1 options if not specified.
.google.cloud.language.v1beta2.ClassificationModelOptions classification_model_options = 3;
ClassificationModelOptionsOrBuilder getClassificationModelOptionsOrBuilder()
Model options to use for classification. Defaults to v1 options if not specified.
.google.cloud.language.v1beta2.ClassificationModelOptions classification_model_options = 3;
Copyright © 2022 Google LLC. All rights reserved.