Interface BidiSessionServerMessageOrBuilder (0.1.0)

public interface BidiSessionServerMessageOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEndSession()

public abstract EndSession getEndSession()

Optional. Indicates that the session has ended.

.google.cloud.ces.v1.EndSession end_session = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EndSession

The endSession.

getEndSessionOrBuilder()

public abstract EndSessionOrBuilder getEndSessionOrBuilder()

Optional. Indicates that the session has ended.

.google.cloud.ces.v1.EndSession end_session = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EndSessionOrBuilder

getGoAway()

public abstract GoAway getGoAway()

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

.google.cloud.ces.v1.GoAway go_away = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoAway

The goAway.

getGoAwayOrBuilder()

public abstract GoAwayOrBuilder getGoAwayOrBuilder()

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

.google.cloud.ces.v1.GoAway go_away = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GoAwayOrBuilder

getInterruptionSignal()

public abstract InterruptionSignal getInterruptionSignal()

Optional. Interruption signal detected from the audio input.

.google.cloud.ces.v1.InterruptionSignal interruption_signal = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
InterruptionSignal

The interruptionSignal.

getInterruptionSignalOrBuilder()

public abstract InterruptionSignalOrBuilder getInterruptionSignalOrBuilder()

Optional. Interruption signal detected from the audio input.

.google.cloud.ces.v1.InterruptionSignal interruption_signal = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
InterruptionSignalOrBuilder

getMessageTypeCase()

public abstract BidiSessionServerMessage.MessageTypeCase getMessageTypeCase()
Returns
Type Description
BidiSessionServerMessage.MessageTypeCase

getRecognitionResult()

public abstract RecognitionResult getRecognitionResult()

Optional. Realtime speech recognition result for the audio input.

.google.cloud.ces.v1.RecognitionResult recognition_result = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RecognitionResult

The recognitionResult.

getRecognitionResultOrBuilder()

public abstract RecognitionResultOrBuilder getRecognitionResultOrBuilder()

Optional. Realtime speech recognition result for the audio input.

.google.cloud.ces.v1.RecognitionResult recognition_result = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RecognitionResultOrBuilder

getSessionOutput()

public abstract SessionOutput getSessionOutput()

Optional. Processing result from the CES agent.

.google.cloud.ces.v1.SessionOutput session_output = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SessionOutput

The sessionOutput.

getSessionOutputOrBuilder()

public abstract SessionOutputOrBuilder getSessionOutputOrBuilder()

Optional. Processing result from the CES agent.

.google.cloud.ces.v1.SessionOutput session_output = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SessionOutputOrBuilder

hasEndSession()

public abstract boolean hasEndSession()

Optional. Indicates that the session has ended.

.google.cloud.ces.v1.EndSession end_session = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the endSession field is set.

hasGoAway()

public abstract boolean hasGoAway()

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

.google.cloud.ces.v1.GoAway go_away = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the goAway field is set.

hasInterruptionSignal()

public abstract boolean hasInterruptionSignal()

Optional. Interruption signal detected from the audio input.

.google.cloud.ces.v1.InterruptionSignal interruption_signal = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the interruptionSignal field is set.

hasRecognitionResult()

public abstract boolean hasRecognitionResult()

Optional. Realtime speech recognition result for the audio input.

.google.cloud.ces.v1.RecognitionResult recognition_result = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the recognitionResult field is set.

hasSessionOutput()

public abstract boolean hasSessionOutput()

Optional. Processing result from the CES agent.

.google.cloud.ces.v1.SessionOutput session_output = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the sessionOutput field is set.