public static final class AdvancedSettings.SpeechSettings extends com.google.protobuf.GeneratedMessageV3 implements AdvancedSettings.SpeechSettingsOrBuilder
Define behaviors of speech to text detection.Protobuf type
google.cloud.dialogflow.cx.v3.AdvancedSettings.SpeechSettings| Modifier and Type | Class and Description |
|---|---|
static class |
AdvancedSettings.SpeechSettings.Builder
Define behaviors of speech to text detection.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ENDPOINTER_SENSITIVITY_FIELD_NUMBER |
static int |
MODELS_FIELD_NUMBER |
static int |
NO_SPEECH_TIMEOUT_FIELD_NUMBER |
static int |
USE_TIMEOUT_BASED_ENDPOINTING_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsModels(String key)
Mapping from language to Speech-to-Text model.
|
boolean |
equals(Object obj) |
static AdvancedSettings.SpeechSettings |
getDefaultInstance() |
AdvancedSettings.SpeechSettings |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getEndpointerSensitivity()
Sensitivity of the speech model that detects the end of speech.
|
Map<String,String> |
getModels()
Deprecated.
|
int |
getModelsCount()
Mapping from language to Speech-to-Text model.
|
Map<String,String> |
getModelsMap()
Mapping from language to Speech-to-Text model.
|
String |
getModelsOrDefault(String key,
String defaultValue)
Mapping from language to Speech-to-Text model.
|
String |
getModelsOrThrow(String key)
Mapping from language to Speech-to-Text model.
|
com.google.protobuf.Duration |
getNoSpeechTimeout()
Timeout before detecting no speech.
|
com.google.protobuf.DurationOrBuilder |
getNoSpeechTimeoutOrBuilder()
Timeout before detecting no speech.
|
com.google.protobuf.Parser<AdvancedSettings.SpeechSettings> |
getParserForType() |
int |
getSerializedSize() |
boolean |
getUseTimeoutBasedEndpointing()
Use timeout based endpointing, interpreting endpointer sensitivity as
seconds of timeout value.
|
int |
hashCode() |
boolean |
hasNoSpeechTimeout()
Timeout before detecting no speech.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
boolean |
isInitialized() |
static AdvancedSettings.SpeechSettings.Builder |
newBuilder() |
static AdvancedSettings.SpeechSettings.Builder |
newBuilder(AdvancedSettings.SpeechSettings prototype) |
AdvancedSettings.SpeechSettings.Builder |
newBuilderForType() |
protected AdvancedSettings.SpeechSettings.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static AdvancedSettings.SpeechSettings |
parseDelimitedFrom(InputStream input) |
static AdvancedSettings.SpeechSettings |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AdvancedSettings.SpeechSettings |
parseFrom(byte[] data) |
static AdvancedSettings.SpeechSettings |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AdvancedSettings.SpeechSettings |
parseFrom(ByteBuffer data) |
static AdvancedSettings.SpeechSettings |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AdvancedSettings.SpeechSettings |
parseFrom(com.google.protobuf.ByteString data) |
static AdvancedSettings.SpeechSettings |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AdvancedSettings.SpeechSettings |
parseFrom(com.google.protobuf.CodedInputStream input) |
static AdvancedSettings.SpeechSettings |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AdvancedSettings.SpeechSettings |
parseFrom(InputStream input) |
static AdvancedSettings.SpeechSettings |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<AdvancedSettings.SpeechSettings> |
parser() |
AdvancedSettings.SpeechSettings.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ENDPOINTER_SENSITIVITY_FIELD_NUMBER
public static final int NO_SPEECH_TIMEOUT_FIELD_NUMBER
public static final int USE_TIMEOUT_BASED_ENDPOINTING_FIELD_NUMBER
public static final int MODELS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getEndpointerSensitivity()
Sensitivity of the speech model that detects the end of speech. Scale from 0 to 100.
int32 endpointer_sensitivity = 1;getEndpointerSensitivity in interface AdvancedSettings.SpeechSettingsOrBuilderpublic boolean hasNoSpeechTimeout()
Timeout before detecting no speech.
.google.protobuf.Duration no_speech_timeout = 2;hasNoSpeechTimeout in interface AdvancedSettings.SpeechSettingsOrBuilderpublic com.google.protobuf.Duration getNoSpeechTimeout()
Timeout before detecting no speech.
.google.protobuf.Duration no_speech_timeout = 2;getNoSpeechTimeout in interface AdvancedSettings.SpeechSettingsOrBuilderpublic com.google.protobuf.DurationOrBuilder getNoSpeechTimeoutOrBuilder()
Timeout before detecting no speech.
.google.protobuf.Duration no_speech_timeout = 2;getNoSpeechTimeoutOrBuilder in interface AdvancedSettings.SpeechSettingsOrBuilderpublic boolean getUseTimeoutBasedEndpointing()
Use timeout based endpointing, interpreting endpointer sensitivity as seconds of timeout value.
bool use_timeout_based_endpointing = 3;getUseTimeoutBasedEndpointing in interface AdvancedSettings.SpeechSettingsOrBuilderpublic int getModelsCount()
AdvancedSettings.SpeechSettingsOrBuilderMapping from language to Speech-to-Text model. The mapped Speech-to-Text model will be selected for requests from its corresponding language. For more information, see [Speech models](https://cloud.google.com/dialogflow/cx/docs/concept/speech-models).
map<string, string> models = 5;getModelsCount in interface AdvancedSettings.SpeechSettingsOrBuilderpublic boolean containsModels(String key)
Mapping from language to Speech-to-Text model. The mapped Speech-to-Text model will be selected for requests from its corresponding language. For more information, see [Speech models](https://cloud.google.com/dialogflow/cx/docs/concept/speech-models).
map<string, string> models = 5;containsModels in interface AdvancedSettings.SpeechSettingsOrBuilder@Deprecated public Map<String,String> getModels()
getModelsMap() instead.getModels in interface AdvancedSettings.SpeechSettingsOrBuilderpublic Map<String,String> getModelsMap()
Mapping from language to Speech-to-Text model. The mapped Speech-to-Text model will be selected for requests from its corresponding language. For more information, see [Speech models](https://cloud.google.com/dialogflow/cx/docs/concept/speech-models).
map<string, string> models = 5;getModelsMap in interface AdvancedSettings.SpeechSettingsOrBuilderpublic String getModelsOrDefault(String key, String defaultValue)
Mapping from language to Speech-to-Text model. The mapped Speech-to-Text model will be selected for requests from its corresponding language. For more information, see [Speech models](https://cloud.google.com/dialogflow/cx/docs/concept/speech-models).
map<string, string> models = 5;getModelsOrDefault in interface AdvancedSettings.SpeechSettingsOrBuilderpublic String getModelsOrThrow(String key)
Mapping from language to Speech-to-Text model. The mapped Speech-to-Text model will be selected for requests from its corresponding language. For more information, see [Speech models](https://cloud.google.com/dialogflow/cx/docs/concept/speech-models).
map<string, string> models = 5;getModelsOrThrow in interface AdvancedSettings.SpeechSettingsOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static AdvancedSettings.SpeechSettings parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AdvancedSettings.SpeechSettings parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AdvancedSettings.SpeechSettings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AdvancedSettings.SpeechSettings parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AdvancedSettings.SpeechSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AdvancedSettings.SpeechSettings parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AdvancedSettings.SpeechSettings parseFrom(InputStream input) throws IOException
IOExceptionpublic static AdvancedSettings.SpeechSettings parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AdvancedSettings.SpeechSettings parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static AdvancedSettings.SpeechSettings parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AdvancedSettings.SpeechSettings parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static AdvancedSettings.SpeechSettings parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic AdvancedSettings.SpeechSettings.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static AdvancedSettings.SpeechSettings.Builder newBuilder()
public static AdvancedSettings.SpeechSettings.Builder newBuilder(AdvancedSettings.SpeechSettings prototype)
public AdvancedSettings.SpeechSettings.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected AdvancedSettings.SpeechSettings.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static AdvancedSettings.SpeechSettings getDefaultInstance()
public static com.google.protobuf.Parser<AdvancedSettings.SpeechSettings> parser()
public com.google.protobuf.Parser<AdvancedSettings.SpeechSettings> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public AdvancedSettings.SpeechSettings getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.