# Google Cloud Dialogflow Cx V3 Client - Class SpeechSettings (0.11.1)

0.11.1 (latest) 0.11.0 0.10.2 0.9.2 0.8.1 0.7.2 0.6.0 0.5.2 0.4.1 0.3.4 0.2.1 0.1.1 Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class SpeechSettings.

Define behaviors of speech to text detection.

Generated from protobuf message `google.cloud.dialogflow.cx.v3.AdvancedSettings.SpeechSettings`

## Namespace

Google \\ Cloud \\ Dialogflow \\ Cx \\ V3 \\ AdvancedSettings

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ endpointer_sensitivity` | `int` Sensitivity of the speech model that detects the end of speech. Scale from 0 to 100. |
| `↳ no_speech_timeout` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Duration` Timeout before detecting no speech. |
| `↳ use_timeout_based_endpointing` | `bool` Use timeout based endpointing, interpreting endpointer sensitivity as seconds of timeout value. |
| `↳ models` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` 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). |

### getEndpointerSensitivity

Sensitivity of the speech model that detects the end of speech.

Scale from 0 to 100.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setEndpointerSensitivity

Sensitivity of the speech model that detects the end of speech.

Scale from 0 to 100.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getNoSpeechTimeout

Timeout before detecting no speech.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Duration|null` |   |

### hasNoSpeechTimeout

### clearNoSpeechTimeout

### setNoSpeechTimeout

Timeout before detecting no speech.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Duration` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getUseTimeoutBasedEndpointing

Use timeout based endpointing, interpreting endpointer sensitivity as
seconds of timeout value.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setUseTimeoutBasedEndpointing

Use timeout based endpointing, interpreting endpointer sensitivity as
seconds of timeout value.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getModels

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).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |   |

### setModels

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).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |