Google Cloud Ces V1 Client - Class BidiSessionServerMessage (0.1.0)

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

hasSessionOutput

setSessionOutput

Optional. Processing result from the CES agent.

Parameter
Name
Description
Returns
Type
Description
$this

getRecognitionResult

Optional. Realtime speech recognition result for the audio input.

Returns
Type
Description

hasRecognitionResult

setRecognitionResult

Optional. Realtime speech recognition result for the audio input.

Parameter
Name
Description
Returns
Type
Description
$this

getInterruptionSignal

Optional. Interruption signal detected from the audio input.

Returns
Type
Description

hasInterruptionSignal

setInterruptionSignal

Optional. Interruption signal detected from the audio input.

Parameter
Name
Description
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
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
Returns
Type
Description
$this

getMessageType

Returns
Type
Description
string
Create a Mobile Website
View Site in Mobile | Classic
Share by: