public static final class BidiSessionServerMessage.Builder extends GeneratedMessage.Builder<BidiSessionServerMessage.Builder> implements BidiSessionServerMessageOrBuilderThe top-level message returned from SessionService.BidiRunSession method.
Protobuf type google.cloud.ces.v1.BidiSessionServerMessage
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BidiSessionServerMessage.BuilderImplements
BidiSessionServerMessageOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public BidiSessionServerMessage build()| Returns | |
|---|---|
| Type | Description |
BidiSessionServerMessage |
|
buildPartial()
public BidiSessionServerMessage buildPartial()| Returns | |
|---|---|
| Type | Description |
BidiSessionServerMessage |
|
clear()
public BidiSessionServerMessage.Builder clear()| Returns | |
|---|---|
| Type | Description |
BidiSessionServerMessage.Builder |
|
clearEndSession()
public BidiSessionServerMessage.Builder clearEndSession()Optional. Indicates that the session has ended.
.google.cloud.ces.v1.EndSession end_session = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BidiSessionServerMessage.Builder |
|
clearGoAway()
public BidiSessionServerMessage.Builder clearGoAway()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 |
BidiSessionServerMessage.Builder |
|
clearInterruptionSignal()
public BidiSessionServerMessage.Builder clearInterruptionSignal()Optional. Interruption signal detected from the audio input.
.google.cloud.ces.v1.InterruptionSignal interruption_signal = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BidiSessionServerMessage.Builder |
|
clearMessageType()
public BidiSessionServerMessage.Builder clearMessageType()| Returns | |
|---|---|
| Type | Description |
BidiSessionServerMessage.Builder |
|
clearRecognitionResult()
public BidiSessionServerMessage.Builder clearRecognitionResult()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 |
BidiSessionServerMessage.Builder |
|
clearSessionOutput()
public BidiSessionServerMessage.Builder clearSessionOutput()Optional. Processing result from the CES agent.
.google.cloud.ces.v1.SessionOutput session_output = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
BidiSessionServerMessage.Builder |
|
getDefaultInstanceForType()
public BidiSessionServerMessage getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BidiSessionServerMessage |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEndSession()
public 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. |
getEndSessionBuilder()
public EndSession.Builder getEndSessionBuilder()Optional. Indicates that the session has ended.
.google.cloud.ces.v1.EndSession end_session = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
EndSession.Builder |
|
getEndSessionOrBuilder()
public 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 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. |
getGoAwayBuilder()
public GoAway.Builder getGoAwayBuilder()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.Builder |
|
getGoAwayOrBuilder()
public 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 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. |
getInterruptionSignalBuilder()
public InterruptionSignal.Builder getInterruptionSignalBuilder()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.Builder |
|
getInterruptionSignalOrBuilder()
public 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 BidiSessionServerMessage.MessageTypeCase getMessageTypeCase()| Returns | |
|---|---|
| Type | Description |
BidiSessionServerMessage.MessageTypeCase |
|
getRecognitionResult()
public 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. |
getRecognitionResultBuilder()
public RecognitionResult.Builder getRecognitionResultBuilder()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.Builder |
|
getRecognitionResultOrBuilder()
public 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 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. |
getSessionOutputBuilder()
public SessionOutput.Builder getSessionOutputBuilder()Optional. Processing result from the CES agent.
.google.cloud.ces.v1.SessionOutput session_output = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SessionOutput.Builder |
|
getSessionOutputOrBuilder()
public 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 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 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeEndSession(EndSession value)
public BidiSessionServerMessage.Builder mergeEndSession(EndSession value)Optional. Indicates that the session has ended.
.google.cloud.ces.v1.EndSession end_session = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
EndSession |
| Returns | |
|---|---|
| Type | Description |
BidiSessionServerMessage.Builder |
|
mergeFrom(BidiSessionServerMessage other)
public BidiSessionServerMessage.Builder mergeFrom(BidiSessionServerMessage other)| Parameter | |
|---|---|
| Name | Description |
other |
BidiSessionServerMessage |
| Returns | |
|---|---|
| Type | Description |
BidiSessionServerMessage.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BidiSessionServerMessage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BidiSessionServerMessage.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BidiSessionServerMessage.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BidiSessionServerMessage.Builder |
|
mergeGoAway(GoAway value)
public BidiSessionServerMessage.Builder mergeGoAway(GoAway value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
GoAway |
| Returns | |
|---|---|
| Type | Description |
BidiSessionServerMessage.Builder |
|
mergeInterruptionSignal(InterruptionSignal value)
public BidiSessionServerMessage.Builder mergeInterruptionSignal(InterruptionSignal value)Optional. Interruption signal detected from the audio input.
.google.cloud.ces.v1.InterruptionSignal interruption_signal = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
InterruptionSignal |
| Returns | |
|---|---|
| Type | Description |
BidiSessionServerMessage.Builder |
|
mergeRecognitionResult(RecognitionResult value)
public BidiSessionServerMessage.Builder mergeRecognitionResult(RecognitionResult value)Optional. Realtime speech recognition result for the audio input.
.google.cloud.ces.v1.RecognitionResult recognition_result = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
RecognitionResult |
| Returns | |
|---|---|
| Type | Description |
BidiSessionServerMessage.Builder |
|
mergeSessionOutput(SessionOutput value)
public BidiSessionServerMessage.Builder mergeSessionOutput(SessionOutput value)Optional. Processing result from the CES agent.
.google.cloud.ces.v1.SessionOutput session_output = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
SessionOutput |
| Returns | |
|---|---|
| Type | Description |
BidiSessionServerMessage.Builder |
|
setEndSession(EndSession value)
public BidiSessionServerMessage.Builder setEndSession(EndSession value)Optional. Indicates that the session has ended.
.google.cloud.ces.v1.EndSession end_session = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
EndSession |
| Returns | |
|---|---|
| Type | Description |
BidiSessionServerMessage.Builder |
|
setEndSession(EndSession.Builder builderForValue)
public BidiSessionServerMessage.Builder setEndSession(EndSession.Builder builderForValue)Optional. Indicates that the session has ended.
.google.cloud.ces.v1.EndSession end_session = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
EndSession.Builder |
| Returns | |
|---|---|
| Type | Description |
BidiSessionServerMessage.Builder |
|
setGoAway(GoAway value)
public BidiSessionServerMessage.Builder setGoAway(GoAway value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
GoAway |
| Returns | |
|---|---|
| Type | Description |
BidiSessionServerMessage.Builder |
|
setGoAway(GoAway.Builder builderForValue)
public BidiSessionServerMessage.Builder setGoAway(GoAway.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
GoAway.Builder |
| Returns | |
|---|---|
| Type | Description |
BidiSessionServerMessage.Builder |
|
setInterruptionSignal(InterruptionSignal value)
public BidiSessionServerMessage.Builder setInterruptionSignal(InterruptionSignal value)Optional. Interruption signal detected from the audio input.
.google.cloud.ces.v1.InterruptionSignal interruption_signal = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
InterruptionSignal |
| Returns | |
|---|---|
| Type | Description |
BidiSessionServerMessage.Builder |
|
setInterruptionSignal(InterruptionSignal.Builder builderForValue)
public BidiSessionServerMessage.Builder setInterruptionSignal(InterruptionSignal.Builder builderForValue)Optional. Interruption signal detected from the audio input.
.google.cloud.ces.v1.InterruptionSignal interruption_signal = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
InterruptionSignal.Builder |
| Returns | |
|---|---|
| Type | Description |
BidiSessionServerMessage.Builder |
|
setRecognitionResult(RecognitionResult value)
public BidiSessionServerMessage.Builder setRecognitionResult(RecognitionResult value)Optional. Realtime speech recognition result for the audio input.
.google.cloud.ces.v1.RecognitionResult recognition_result = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
RecognitionResult |
| Returns | |
|---|---|
| Type | Description |
BidiSessionServerMessage.Builder |
|
setRecognitionResult(RecognitionResult.Builder builderForValue)
public BidiSessionServerMessage.Builder setRecognitionResult(RecognitionResult.Builder builderForValue)Optional. Realtime speech recognition result for the audio input.
.google.cloud.ces.v1.RecognitionResult recognition_result = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
RecognitionResult.Builder |
| Returns | |
|---|---|
| Type | Description |
BidiSessionServerMessage.Builder |
|
setSessionOutput(SessionOutput value)
public BidiSessionServerMessage.Builder setSessionOutput(SessionOutput value)Optional. Processing result from the CES agent.
.google.cloud.ces.v1.SessionOutput session_output = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
SessionOutput |
| Returns | |
|---|---|
| Type | Description |
BidiSessionServerMessage.Builder |
|
setSessionOutput(SessionOutput.Builder builderForValue)
public BidiSessionServerMessage.Builder setSessionOutput(SessionOutput.Builder builderForValue)Optional. Processing result from the CES agent.
.google.cloud.ces.v1.SessionOutput session_output = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SessionOutput.Builder |
| Returns | |
|---|---|
| Type | Description |
BidiSessionServerMessage.Builder |
|