Interface AnnotateTextRequest.FeaturesOrBuilder (2.50.0)

public static interface AnnotateTextRequest.FeaturesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getClassifyText()

public abstract boolean getClassifyText()

Optional. Classify the full document into categories.

bool classify_text = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The classifyText.

getExtractDocumentSentiment()

public abstract boolean getExtractDocumentSentiment()

Optional. Extract document-level sentiment.

bool extract_document_sentiment = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The extractDocumentSentiment.

getExtractEntities()

public abstract boolean getExtractEntities()

Optional. Extract entities.

bool extract_entities = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The extractEntities.

getModerateText()

public abstract boolean getModerateText()

Optional. Moderate the document for harmful and sensitive categories.

bool moderate_text = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The moderateText.