Send feedback
Class AdvancedSettings.SpeechSettings (0.51.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.51.0 keyboard_arrow_down
public static final class AdvancedSettings . SpeechSettings extends GeneratedMessageV3 implements AdvancedSettings . SpeechSettingsOrBuilder
Define behaviors of speech to text detection.
Protobuf type google.cloud.dialogflow.cx.v3beta1.AdvancedSettings.SpeechSettings
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ENDPOINTER_SENSITIVITY_FIELD_NUMBER
public static final int ENDPOINTER_SENSITIVITY_FIELD_NUMBER
Field Value
Type
Description
int
MODELS_FIELD_NUMBER
public static final int MODELS_FIELD_NUMBER
Field Value
Type
Description
int
NO_SPEECH_TIMEOUT_FIELD_NUMBER
public static final int NO_SPEECH_TIMEOUT_FIELD_NUMBER
Field Value
Type
Description
int
USE_TIMEOUT_BASED_ENDPOINTING_FIELD_NUMBER
public static final int USE_TIMEOUT_BASED_ENDPOINTING_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static AdvancedSettings . SpeechSettings getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static AdvancedSettings . SpeechSettings . Builder newBuilder ()
newBuilder(AdvancedSettings.SpeechSettings prototype)
public static AdvancedSettings . SpeechSettings . Builder newBuilder ( AdvancedSettings . SpeechSettings prototype )
public static AdvancedSettings . SpeechSettings parseDelimitedFrom ( InputStream input )
public static AdvancedSettings . SpeechSettings parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static AdvancedSettings . SpeechSettings parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AdvancedSettings . SpeechSettings parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static AdvancedSettings . SpeechSettings parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AdvancedSettings . SpeechSettings parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static AdvancedSettings . SpeechSettings parseFrom ( CodedInputStream input )
public static AdvancedSettings . SpeechSettings parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static AdvancedSettings . SpeechSettings parseFrom ( InputStream input )
public static AdvancedSettings . SpeechSettings parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static AdvancedSettings . SpeechSettings parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AdvancedSettings . SpeechSettings parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<AdvancedSettings . SpeechSettings > parser ()
Methods
containsModels(String key)
public 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 .
map<string, string> models = 5;
Parameter
Name
Description
key
String
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public AdvancedSettings . SpeechSettings getDefaultInstanceForType ()
getEndpointerSensitivity()
public int getEndpointerSensitivity ()
Sensitivity of the speech model that detects the end of speech.
Scale from 0 to 100.
int32 endpointer_sensitivity = 1;
Returns
Type
Description
int
The endpointerSensitivity.
getModels() (deprecated)
public Map<String , String > getModels ()
getModelsCount()
public int getModelsCount ()
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 .
map<string, string> models = 5;
Returns
Type
Description
int
getModelsMap()
public 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 .
map<string, string> models = 5;
getModelsOrDefault(String key, String defaultValue)
public 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 .
map<string, string> models = 5;
Returns
Type
Description
String
getModelsOrThrow(String key)
public 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 .
map<string, string> models = 5;
Parameter
Name
Description
key
String
Returns
Type
Description
String
getNoSpeechTimeout()
public Duration getNoSpeechTimeout ()
Timeout before detecting no speech.
.google.protobuf.Duration no_speech_timeout = 2;
Returns
Type
Description
Duration
The noSpeechTimeout.
getNoSpeechTimeoutOrBuilder()
public DurationOrBuilder getNoSpeechTimeoutOrBuilder ()
Timeout before detecting no speech.
.google.protobuf.Duration no_speech_timeout = 2;
getParserForType()
public Parser<AdvancedSettings . SpeechSettings > getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getUseTimeoutBasedEndpointing()
public boolean getUseTimeoutBasedEndpointing ()
Use timeout based endpointing, interpreting endpointer sensitivy as
seconds of timeout value.
bool use_timeout_based_endpointing = 3;
Returns
Type
Description
boolean
The useTimeoutBasedEndpointing.
hasNoSpeechTimeout()
public boolean hasNoSpeechTimeout ()
Timeout before detecting no speech.
.google.protobuf.Duration no_speech_timeout = 2;
Returns
Type
Description
boolean
Whether the noSpeechTimeout field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection ( int number )
Parameter
Name
Description
number
int
Returns
Type
Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public AdvancedSettings . SpeechSettings . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AdvancedSettings . SpeechSettings . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public AdvancedSettings . SpeechSettings . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
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-01-27 UTC.
Need to tell us more?
[[["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-01-27 UTC."],[],[]]