Interface AdvancedSettings.DtmfSettingsOrBuilder (0.58.0)

public static interface AdvancedSettings.DtmfSettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnabled()

public abstract boolean getEnabled()

If true, incoming audio is processed for DTMF (dual tone multi frequency) events. For example, if the caller presses a button on their telephone keypad and DTMF processing is enabled, Dialogflow will detect the event (e.g. a "3" was pressed) in the incoming audio and pass the event to the bot to drive business logic (e.g. when 3 is pressed, return the account balance).

bool enabled = 1;

Returns
Type Description
boolean

The enabled.

getEndpointingTimeoutDuration()

public abstract Duration getEndpointingTimeoutDuration()

Endpoint timeout setting for matching dtmf input to regex.

.google.protobuf.Duration endpointing_timeout_duration = 7;

Returns
Type Description
Duration

The endpointingTimeoutDuration.

getEndpointingTimeoutDurationOrBuilder()

public abstract DurationOrBuilder getEndpointingTimeoutDurationOrBuilder()

Endpoint timeout setting for matching dtmf input to regex.

.google.protobuf.Duration endpointing_timeout_duration = 7;

Returns
Type Description
DurationOrBuilder

getFinishDigit()

public abstract String getFinishDigit()

The digit that terminates a DTMF digit sequence.

string finish_digit = 3;

Returns
Type Description
String

The finishDigit.

getFinishDigitBytes()

public abstract ByteString getFinishDigitBytes()

The digit that terminates a DTMF digit sequence.

string finish_digit = 3;

Returns
Type Description
ByteString

The bytes for finishDigit.

getInterdigitTimeoutDuration()

public abstract Duration getInterdigitTimeoutDuration()

Interdigit timeout setting for matching dtmf input to regex.

.google.protobuf.Duration interdigit_timeout_duration = 6;

Returns
Type Description
Duration

The interdigitTimeoutDuration.

getInterdigitTimeoutDurationOrBuilder()

public abstract DurationOrBuilder getInterdigitTimeoutDurationOrBuilder()

Interdigit timeout setting for matching dtmf input to regex.

.google.protobuf.Duration interdigit_timeout_duration = 6;

Returns
Type Description
DurationOrBuilder

getMaxDigits()

public abstract int getMaxDigits()

Max length of DTMF digits.

int32 max_digits = 2;

Returns
Type Description
int

The maxDigits.

hasEndpointingTimeoutDuration()

public abstract boolean hasEndpointingTimeoutDuration()

Endpoint timeout setting for matching dtmf input to regex.

.google.protobuf.Duration endpointing_timeout_duration = 7;

Returns
Type Description
boolean

Whether the endpointingTimeoutDuration field is set.

hasInterdigitTimeoutDuration()

public abstract boolean hasInterdigitTimeoutDuration()

Interdigit timeout setting for matching dtmf input to regex.

.google.protobuf.Duration interdigit_timeout_duration = 6;

Returns
Type Description
boolean

Whether the interdigitTimeoutDuration field is set.