Interface SpeechAdaptationInfoOrBuilder (4.2.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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for timeoutMessage.