Interface ConversationTurn.UserInputOrBuilder (0.13.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the input field is set.