public static final class SpeechAdaptationInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<SpeechAdaptationInfo.Builder> implements SpeechAdaptationInfoOrBuilder
Information on speech adaptation use in resultsProtobuf type
google.cloud.speech.v1.SpeechAdaptationInfo| Modifier and Type | Method and Description |
|---|---|
SpeechAdaptationInfo |
build() |
SpeechAdaptationInfo |
buildPartial() |
SpeechAdaptationInfo.Builder |
clear() |
SpeechAdaptationInfo.Builder |
clearAdaptationTimeout()
Whether there was a timeout when applying speech adaptation.
|
SpeechAdaptationInfo.Builder |
clearTimeoutMessage()
If set, returns a message specifying which part of the speech adaptation
request timed out.
|
boolean |
getAdaptationTimeout()
Whether there was a timeout when applying speech adaptation.
|
SpeechAdaptationInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SpeechAdaptationInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SpeechAdaptationInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
SpeechAdaptationInfo.Builder |
mergeFrom(SpeechAdaptationInfo other) |
SpeechAdaptationInfo.Builder |
setAdaptationTimeout(boolean value)
Whether there was a timeout when applying speech adaptation.
|
SpeechAdaptationInfo.Builder |
setTimeoutMessage(String value)
If set, returns a message specifying which part of the speech adaptation
request timed out.
|
SpeechAdaptationInfo.Builder |
setTimeoutMessageBytes(com.google.protobuf.ByteString value)
If set, returns a message specifying which part of the speech adaptation
request timed out.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<SpeechAdaptationInfo.Builder>public SpeechAdaptationInfo.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<SpeechAdaptationInfo.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<SpeechAdaptationInfo.Builder>public SpeechAdaptationInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SpeechAdaptationInfo build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SpeechAdaptationInfo buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SpeechAdaptationInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SpeechAdaptationInfo.Builder>public SpeechAdaptationInfo.Builder mergeFrom(SpeechAdaptationInfo other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<SpeechAdaptationInfo.Builder>public SpeechAdaptationInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SpeechAdaptationInfo.Builder>IOExceptionpublic 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;getAdaptationTimeout in interface SpeechAdaptationInfoOrBuilderpublic SpeechAdaptationInfo.Builder setAdaptationTimeout(boolean value)
Whether there was a timeout when applying speech adaptation. If true, adaptation had no effect in the response transcript.
bool adaptation_timeout = 1;value - The adaptationTimeout to set.public SpeechAdaptationInfo.Builder clearAdaptationTimeout()
Whether there was a timeout when applying speech adaptation. If true, adaptation had no effect in the response transcript.
bool adaptation_timeout = 1;public String getTimeoutMessage()
If set, returns a message specifying which part of the speech adaptation request timed out.
string timeout_message = 4;getTimeoutMessage in interface SpeechAdaptationInfoOrBuilderpublic com.google.protobuf.ByteString getTimeoutMessageBytes()
If set, returns a message specifying which part of the speech adaptation request timed out.
string timeout_message = 4;getTimeoutMessageBytes in interface SpeechAdaptationInfoOrBuilderpublic SpeechAdaptationInfo.Builder setTimeoutMessage(String value)
If set, returns a message specifying which part of the speech adaptation request timed out.
string timeout_message = 4;value - The timeoutMessage to set.public SpeechAdaptationInfo.Builder clearTimeoutMessage()
If set, returns a message specifying which part of the speech adaptation request timed out.
string timeout_message = 4;public SpeechAdaptationInfo.Builder setTimeoutMessageBytes(com.google.protobuf.ByteString value)
If set, returns a message specifying which part of the speech adaptation request timed out.
string timeout_message = 4;value - The bytes for timeoutMessage to set.Copyright © 2026 Google LLC. All rights reserved.