Interface SpeechAdaptationInfoOrBuilder (4.41.0)

public interface SpeechAdaptationInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAdaptationTimeout()

public abstract boolean getAdaptationTimeout()

Whether there was a timeout when applying speech adaptation. If true, adaptation had no effect in the response transcript.

bool adaptation_timeout = 1;

Returns
Type Description
boolean

The adaptationTimeout.

getTimeoutMessage()

public abstract String getTimeoutMessage()

If set, returns a message specifying which part of the speech adaptation request timed out.

string timeout_message = 4;

Returns
Type Description
String

The timeoutMessage.

getTimeoutMessageBytes()

public abstract ByteString getTimeoutMessageBytes()

If set, returns a message specifying which part of the speech adaptation request timed out.

string timeout_message = 4;

Returns
Type Description
ByteString

The bytes for timeoutMessage.