Interface ClassifyTextRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ClassifyTextRequest,ClassifyTextRequest.Builder
public interface ClassifyTextRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClassificationModelOptionsgetClassificationModelOptions()Model options to use for classification.ClassificationModelOptionsOrBuildergetClassificationModelOptionsOrBuilder()Model options to use for classification.DocumentgetDocument()Required.DocumentOrBuildergetDocumentOrBuilder()Required.booleanhasClassificationModelOptions()Model options to use for classification.booleanhasDocument()Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasDocument
boolean hasDocument()
Required. Input document.
.google.cloud.language.v1beta2.Document document = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the document field is set.
-
getDocument
Document getDocument()
Required. Input document.
.google.cloud.language.v1beta2.Document document = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The document.
-
getDocumentOrBuilder
DocumentOrBuilder getDocumentOrBuilder()
Required. Input document.
.google.cloud.language.v1beta2.Document document = 1 [(.google.api.field_behavior) = REQUIRED];
-
hasClassificationModelOptions
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:
- Whether the classificationModelOptions field is set.
-
getClassificationModelOptions
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:
- The classificationModelOptions.
-
getClassificationModelOptionsOrBuilder
ClassificationModelOptionsOrBuilder getClassificationModelOptionsOrBuilder()
Model options to use for classification. Defaults to v1 options if not specified.
.google.cloud.language.v1beta2.ClassificationModelOptions classification_model_options = 3;
-
-