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
@Generated
public interface SpeechAdaptationInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether there was a timeout when applying speech adaptation.If set, returns a message specifying which part of the speech adaptation request timed out.com.google.protobuf.ByteStringIf set, returns a message specifying which part of the speech adaptation request timed out.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.
-