Package com.google.cloud.speech.v1
Interface SpeechAdaptationInfoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SpeechAdaptationInfo
,SpeechAdaptationInfo.Builder
public interface SpeechAdaptationInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getAdaptationTimeout()
Whether there was a timeout when applying speech adaptation.String
getTimeoutMessage()
If set, returns a message specifying which part of the speech adaptation request timed out.com.google.protobuf.ByteString
getTimeoutMessageBytes()
If set, returns a message specifying which part of the speech adaptation request timed out.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getAdaptationTimeout
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:
- The adaptationTimeout.
-
getTimeoutMessage
String getTimeoutMessage()
If set, returns a message specifying which part of the speech adaptation request timed out.
string timeout_message = 4;
- Returns:
- The timeoutMessage.
-
getTimeoutMessageBytes
com.google.protobuf.ByteString getTimeoutMessageBytes()
If set, returns a message specifying which part of the speech adaptation request timed out.
string timeout_message = 4;
- Returns:
- The bytes for timeoutMessage.
-
-