Reference documentation and code samples for the Google Cloud Ces V1 Client class BidiSessionServerMessage.
The top-level message returned from SessionService.BidiRunSession method.
Generated from protobuf message google.cloud.ces.v1.BidiSessionServerMessage
Namespace
Google \ Cloud \ Ces \ V1Methods
__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. Interruption signal detected from the audio input. |
↳ 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. Interruption signal detected from the audio input.
| Returns | |
|---|---|
| Type | Description |
InterruptionSignal|null |
|
hasInterruptionSignal
setInterruptionSignal
Optional. Interruption signal detected from the audio input.
| 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 |
|