Interface ConversationTurn.UserInputOrBuilder (0.64.0)

public static interface ConversationTurn.UserInputOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnableSentimentAnalysis()

public abstract boolean getEnableSentimentAnalysis()

Whether sentiment analysis is enabled.

bool enable_sentiment_analysis = 7;

Returns
Type Description
boolean

The enableSentimentAnalysis.

getInjectedParameters()

public abstract Struct getInjectedParameters()

Parameters that need to be injected into the conversation during intent detection.

.google.protobuf.Struct injected_parameters = 2;

Returns
Type Description
Struct

The injectedParameters.

getInjectedParametersOrBuilder()

public abstract StructOrBuilder getInjectedParametersOrBuilder()

Parameters that need to be injected into the conversation during intent detection.

.google.protobuf.Struct injected_parameters = 2;

Returns
Type Description
StructOrBuilder

getInput()

public abstract QueryInput getInput()

Supports text input, event input, dtmf input in the test case.

.google.cloud.dialogflow.cx.v3.QueryInput input = 5;

Returns
Type Description
QueryInput

The input.

getInputOrBuilder()

public abstract QueryInputOrBuilder getInputOrBuilder()

Supports text input, event input, dtmf input in the test case.

.google.cloud.dialogflow.cx.v3.QueryInput input = 5;

Returns
Type Description
QueryInputOrBuilder

getIsWebhookEnabled()

public abstract boolean getIsWebhookEnabled()

If webhooks should be allowed to trigger in response to the user utterance. Often if parameters are injected, webhooks should not be enabled.

bool is_webhook_enabled = 3;

Returns
Type Description
boolean

The isWebhookEnabled.

hasInjectedParameters()

public abstract boolean hasInjectedParameters()

Parameters that need to be injected into the conversation during intent detection.

.google.protobuf.Struct injected_parameters = 2;

Returns
Type Description
boolean

Whether the injectedParameters field is set.

hasInput()

public abstract boolean hasInput()

Supports text input, event input, dtmf input in the test case.

.google.cloud.dialogflow.cx.v3.QueryInput input = 5;

Returns
Type Description
boolean

Whether the input field is set.