Interface SpeechAdaptationInfoOrBuilder (4.67.0)
Stay organized with collections
Save and categorize content based on your preferences.
public interface SpeechAdaptationInfoOrBuilder extends 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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-16 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-16 UTC."],[],[],null,["# Interface SpeechAdaptationInfoOrBuilder (4.67.0)\n\nVersion latestkeyboard_arrow_down\n\n- [4.67.0 (latest)](/java/docs/reference/google-cloud-speech/latest/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.65.0](/java/docs/reference/google-cloud-speech/4.65.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.63.0](/java/docs/reference/google-cloud-speech/4.63.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.62.0](/java/docs/reference/google-cloud-speech/4.62.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.59.0](/java/docs/reference/google-cloud-speech/4.59.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.58.0](/java/docs/reference/google-cloud-speech/4.58.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.57.0](/java/docs/reference/google-cloud-speech/4.57.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.55.0](/java/docs/reference/google-cloud-speech/4.55.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.54.0](/java/docs/reference/google-cloud-speech/4.54.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.53.0](/java/docs/reference/google-cloud-speech/4.53.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.52.0](/java/docs/reference/google-cloud-speech/4.52.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.51.0](/java/docs/reference/google-cloud-speech/4.51.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.50.0](/java/docs/reference/google-cloud-speech/4.50.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.49.0](/java/docs/reference/google-cloud-speech/4.49.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.48.0](/java/docs/reference/google-cloud-speech/4.48.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.47.0](/java/docs/reference/google-cloud-speech/4.47.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.46.0](/java/docs/reference/google-cloud-speech/4.46.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.44.0](/java/docs/reference/google-cloud-speech/4.44.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.43.0](/java/docs/reference/google-cloud-speech/4.43.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.42.0](/java/docs/reference/google-cloud-speech/4.42.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.41.0](/java/docs/reference/google-cloud-speech/4.41.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.40.0](/java/docs/reference/google-cloud-speech/4.40.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.39.0](/java/docs/reference/google-cloud-speech/4.39.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.38.0](/java/docs/reference/google-cloud-speech/4.38.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.37.0](/java/docs/reference/google-cloud-speech/4.37.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.36.0](/java/docs/reference/google-cloud-speech/4.36.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.35.0](/java/docs/reference/google-cloud-speech/4.35.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.34.0](/java/docs/reference/google-cloud-speech/4.34.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.32.0](/java/docs/reference/google-cloud-speech/4.32.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.31.0](/java/docs/reference/google-cloud-speech/4.31.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.30.0](/java/docs/reference/google-cloud-speech/4.30.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.29.0](/java/docs/reference/google-cloud-speech/4.29.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.28.0](/java/docs/reference/google-cloud-speech/4.28.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.27.0](/java/docs/reference/google-cloud-speech/4.27.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.26.0](/java/docs/reference/google-cloud-speech/4.26.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.25.0](/java/docs/reference/google-cloud-speech/4.25.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.24.0](/java/docs/reference/google-cloud-speech/4.24.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.23.0](/java/docs/reference/google-cloud-speech/4.23.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.22.0](/java/docs/reference/google-cloud-speech/4.22.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.19.0](/java/docs/reference/google-cloud-speech/4.19.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.18.0](/java/docs/reference/google-cloud-speech/4.18.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.17.0](/java/docs/reference/google-cloud-speech/4.17.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.16.0](/java/docs/reference/google-cloud-speech/4.16.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.15.0](/java/docs/reference/google-cloud-speech/4.15.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.14.0](/java/docs/reference/google-cloud-speech/4.14.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.13.0](/java/docs/reference/google-cloud-speech/4.13.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.12.0](/java/docs/reference/google-cloud-speech/4.12.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.11.0](/java/docs/reference/google-cloud-speech/4.11.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.10.0](/java/docs/reference/google-cloud-speech/4.10.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.9.0](/java/docs/reference/google-cloud-speech/4.9.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.8.0](/java/docs/reference/google-cloud-speech/4.8.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.7.0](/java/docs/reference/google-cloud-speech/4.7.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.6.0](/java/docs/reference/google-cloud-speech/4.6.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.4.0](/java/docs/reference/google-cloud-speech/4.4.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.3.0](/java/docs/reference/google-cloud-speech/4.3.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.2.0](/java/docs/reference/google-cloud-speech/4.2.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.1.0](/java/docs/reference/google-cloud-speech/4.1.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [4.0.0](/java/docs/reference/google-cloud-speech/4.0.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [3.0.0](/java/docs/reference/google-cloud-speech/3.0.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [2.6.1](/java/docs/reference/google-cloud-speech/2.6.1/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [2.5.9](/java/docs/reference/google-cloud-speech/2.5.9/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [2.4.0](/java/docs/reference/google-cloud-speech/2.4.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [2.3.0](/java/docs/reference/google-cloud-speech/2.3.0/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder)\n- [2.2.15](/java/docs/reference/google-cloud-speech/2.2.15/com.google.cloud.speech.v1p1beta1.SpeechAdaptationInfoOrBuilder) \n\n public interface SpeechAdaptationInfoOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getAdaptationTimeout()\n\n public abstract boolean getAdaptationTimeout()\n\nWhether there was a timeout when applying speech adaptation. If true,\nadaptation had no effect in the response transcript.\n\n`bool adaptation_timeout = 1;`\n\n### getTimeoutMessage()\n\n public abstract String getTimeoutMessage()\n\nIf set, returns a message specifying which part of the speech adaptation\nrequest timed out.\n\n`string timeout_message = 4;`\n\n### getTimeoutMessageBytes()\n\n public abstract ByteString getTimeoutMessageBytes()\n\nIf set, returns a message specifying which part of the speech adaptation\nrequest timed out.\n\n`string timeout_message = 4;`"]]