Interface AnswerQueryRequest.QueryUnderstandingSpecOrBuilder (0.40.0)

public static interface AnswerQueryRequest.QueryUnderstandingSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getQueryClassificationSpec()

public abstract AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec getQueryClassificationSpec()

Query classification specification.

.google.cloud.discoveryengine.v1alpha.AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec query_classification_spec = 1;

Returns
Type Description
AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec

The queryClassificationSpec.

getQueryClassificationSpecOrBuilder()

public abstract AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpecOrBuilder getQueryClassificationSpecOrBuilder()

Query classification specification.

.google.cloud.discoveryengine.v1alpha.AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec query_classification_spec = 1;

Returns
Type Description
AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpecOrBuilder

getQueryRephraserSpec()

public abstract AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpec getQueryRephraserSpec()

Query rephraser specification.

.google.cloud.discoveryengine.v1alpha.AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpec query_rephraser_spec = 2;

Returns
Type Description
AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpec

The queryRephraserSpec.

getQueryRephraserSpecOrBuilder()

public abstract AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpecOrBuilder getQueryRephraserSpecOrBuilder()

Query rephraser specification.

.google.cloud.discoveryengine.v1alpha.AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpec query_rephraser_spec = 2;

Returns
Type Description
AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpecOrBuilder

hasQueryClassificationSpec()

public abstract boolean hasQueryClassificationSpec()

Query classification specification.

.google.cloud.discoveryengine.v1alpha.AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec query_classification_spec = 1;

Returns
Type Description
boolean

Whether the queryClassificationSpec field is set.

hasQueryRephraserSpec()

public abstract boolean hasQueryRephraserSpec()

Query rephraser specification.

.google.cloud.discoveryengine.v1alpha.AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpec query_rephraser_spec = 2;

Returns
Type Description
boolean

Whether the queryRephraserSpec field is set.