public static interface AnnotateTextRequest.FeaturesOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
ClassificationModelOptions |
getClassificationModelOptions()
The model options to use for classification.
|
ClassificationModelOptionsOrBuilder |
getClassificationModelOptionsOrBuilder()
The model options to use for classification.
|
boolean |
getClassifyText()
Classify the full document into categories.
|
boolean |
getExtractDocumentSentiment()
Extract document-level sentiment.
|
boolean |
getExtractEntities()
Extract entities.
|
boolean |
getExtractEntitySentiment()
Extract entities and their associated sentiment.
|
boolean |
getExtractSyntax()
Extract syntax information.
|
boolean |
hasClassificationModelOptions()
The model options to use for classification.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
boolean getExtractSyntax()
Extract syntax information.
bool extract_syntax = 1;
boolean getExtractEntities()
Extract entities.
bool extract_entities = 2;
boolean getExtractDocumentSentiment()
Extract document-level sentiment.
bool extract_document_sentiment = 3;
boolean getExtractEntitySentiment()
Extract entities and their associated sentiment.
bool extract_entity_sentiment = 4;
boolean getClassifyText()
Classify the full document into categories.
bool classify_text = 6;
boolean hasClassificationModelOptions()
The model options to use for classification. Defaults to v1 options if not specified. Only used if `classify_text` is set to true.
.google.cloud.language.v1.ClassificationModelOptions classification_model_options = 10;
ClassificationModelOptions getClassificationModelOptions()
The model options to use for classification. Defaults to v1 options if not specified. Only used if `classify_text` is set to true.
.google.cloud.language.v1.ClassificationModelOptions classification_model_options = 10;
ClassificationModelOptionsOrBuilder getClassificationModelOptionsOrBuilder()
The model options to use for classification. Defaults to v1 options if not specified. Only used if `classify_text` is set to true.
.google.cloud.language.v1.ClassificationModelOptions classification_model_options = 10;
Copyright © 2022 Google LLC. All rights reserved.