0.6.0 (latest) 0.5.0 0.4.4 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Ces V1 Client class BidiSessionServerMessage.

The top-level message returned from
[SessionService.BidiRunSession](https://docs.cloud.google.com/php/docs/reference/cloud-ces/latest/V1.Client.SessionServiceClient.md.txt#_Google_Cloud_Ces_V1_Client_SessionServiceClient__bidiRunSession__)
method.

Generated from protobuf message `google.cloud.ces.v1.BidiSessionServerMessage`

## Namespace

Google \\ Cloud \\ Ces \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ session_output` | `SessionOutput` Optional. Processing result from the CES agent. |
| `↳ recognition_result` | `RecognitionResult` Optional. Realtime speech recognition result for the audio input. |
| `↳ interruption_signal` | `InterruptionSignal` Optional. Indicates the agent's audio response has been interrupted. |
| `↳ end_session` | `EndSession` Optional. Indicates that the session has ended. |
| `↳ go_away` | `GoAway` Optional. Indicates that the server will disconnect soon and the client should half-close and restart the connection. |

### getSessionOutput

Optional. Processing result from the CES agent.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `SessionOutput|null` |   |

### hasSessionOutput

### setSessionOutput

Optional. Processing result from the CES agent.

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

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

### getRecognitionResult

Optional. Realtime speech recognition result for the audio input.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `RecognitionResult|null` |   |

### hasRecognitionResult

### setRecognitionResult

Optional. Realtime speech recognition result for the audio input.

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

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

### getInterruptionSignal

Optional. Indicates the agent's audio response has been interrupted.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `InterruptionSignal|null` |   |

### hasInterruptionSignal

### setInterruptionSignal

Optional. Indicates the agent's audio response has been interrupted.

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

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

### getEndSession

Optional. Indicates that the session has ended.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `EndSession|null` |   |

### hasEndSession

### setEndSession

Optional. Indicates that the session has ended.

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

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

### getGoAway

Optional. Indicates that the server will disconnect soon and the client
should half-close and restart the connection.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `GoAway|null` |   |

### hasGoAway

### setGoAway

Optional. Indicates that the server will disconnect soon and the client
should half-close and restart the connection.

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

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

### getMessageType

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |