Class BidiStreamingAnalyzeContentResponse.Builder (4.89.0)

public static final class BidiStreamingAnalyzeContentResponse.Builder extends GeneratedMessage.Builder<BidiStreamingAnalyzeContentResponse.Builder> implements BidiStreamingAnalyzeContentResponseOrBuilder

The response message for Participants.BidiStreamingAnalyzeContent.

Protobuf type google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public BidiStreamingAnalyzeContentResponse build()
Returns
Type Description
BidiStreamingAnalyzeContentResponse

buildPartial()

public BidiStreamingAnalyzeContentResponse buildPartial()
Returns
Type Description
BidiStreamingAnalyzeContentResponse

clear()

public BidiStreamingAnalyzeContentResponse.Builder clear()
Returns
Type Description
BidiStreamingAnalyzeContentResponse.Builder
Overrides

clearAnalyzeContentResponse()

public BidiStreamingAnalyzeContentResponse.Builder clearAnalyzeContentResponse()

The agent response from analyze content.

.google.cloud.dialogflow.v2beta1.AnalyzeContentResponse analyze_content_response = 3;

Returns
Type Description
BidiStreamingAnalyzeContentResponse.Builder

clearBargeInSignal()

public BidiStreamingAnalyzeContentResponse.Builder clearBargeInSignal()

Indicate the user barge-in has been detected, and client should stop playing back the audio.

.google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.BargeInSignal barge_in_signal = 2;

Returns
Type Description
BidiStreamingAnalyzeContentResponse.Builder

clearRecognitionResult()

public BidiStreamingAnalyzeContentResponse.Builder clearRecognitionResult()

The result of speech recognition.

.google.cloud.dialogflow.v2beta1.StreamingRecognitionResult recognition_result = 1;

Returns
Type Description
BidiStreamingAnalyzeContentResponse.Builder

clearResponse()

public BidiStreamingAnalyzeContentResponse.Builder clearResponse()
Returns
Type Description
BidiStreamingAnalyzeContentResponse.Builder

clearTurnComplete()

public BidiStreamingAnalyzeContentResponse.Builder clearTurnComplete()

Indicate that the turn is complete.

.google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.TurnComplete turn_complete = 4;

Returns
Type Description
BidiStreamingAnalyzeContentResponse.Builder

getAnalyzeContentResponse()

public AnalyzeContentResponse getAnalyzeContentResponse()

The agent response from analyze content.

.google.cloud.dialogflow.v2beta1.AnalyzeContentResponse analyze_content_response = 3;

Returns
Type Description
AnalyzeContentResponse

The analyzeContentResponse.

getAnalyzeContentResponseBuilder()

public AnalyzeContentResponse.Builder getAnalyzeContentResponseBuilder()

The agent response from analyze content.

.google.cloud.dialogflow.v2beta1.AnalyzeContentResponse analyze_content_response = 3;

Returns
Type Description
AnalyzeContentResponse.Builder

getAnalyzeContentResponseOrBuilder()

public AnalyzeContentResponseOrBuilder getAnalyzeContentResponseOrBuilder()

The agent response from analyze content.

.google.cloud.dialogflow.v2beta1.AnalyzeContentResponse analyze_content_response = 3;

Returns
Type Description
AnalyzeContentResponseOrBuilder

getBargeInSignal()

public BidiStreamingAnalyzeContentResponse.BargeInSignal getBargeInSignal()

Indicate the user barge-in has been detected, and client should stop playing back the audio.

.google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.BargeInSignal barge_in_signal = 2;

Returns
Type Description
BidiStreamingAnalyzeContentResponse.BargeInSignal

The bargeInSignal.

getBargeInSignalBuilder()

public BidiStreamingAnalyzeContentResponse.BargeInSignal.Builder getBargeInSignalBuilder()

Indicate the user barge-in has been detected, and client should stop playing back the audio.

.google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.BargeInSignal barge_in_signal = 2;

Returns
Type Description
BidiStreamingAnalyzeContentResponse.BargeInSignal.Builder

getBargeInSignalOrBuilder()

public BidiStreamingAnalyzeContentResponse.BargeInSignalOrBuilder getBargeInSignalOrBuilder()

Indicate the user barge-in has been detected, and client should stop playing back the audio.

.google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.BargeInSignal barge_in_signal = 2;

Returns
Type Description
BidiStreamingAnalyzeContentResponse.BargeInSignalOrBuilder

getDefaultInstanceForType()

public BidiStreamingAnalyzeContentResponse getDefaultInstanceForType()
Returns
Type Description
BidiStreamingAnalyzeContentResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getRecognitionResult()

public StreamingRecognitionResult getRecognitionResult()

The result of speech recognition.

.google.cloud.dialogflow.v2beta1.StreamingRecognitionResult recognition_result = 1;

Returns
Type Description
StreamingRecognitionResult

The recognitionResult.

getRecognitionResultBuilder()

public StreamingRecognitionResult.Builder getRecognitionResultBuilder()

The result of speech recognition.

.google.cloud.dialogflow.v2beta1.StreamingRecognitionResult recognition_result = 1;

Returns
Type Description
StreamingRecognitionResult.Builder

getRecognitionResultOrBuilder()

public StreamingRecognitionResultOrBuilder getRecognitionResultOrBuilder()

The result of speech recognition.

.google.cloud.dialogflow.v2beta1.StreamingRecognitionResult recognition_result = 1;

Returns
Type Description
StreamingRecognitionResultOrBuilder

getResponseCase()

public BidiStreamingAnalyzeContentResponse.ResponseCase getResponseCase()
Returns
Type Description
BidiStreamingAnalyzeContentResponse.ResponseCase

getTurnComplete()

public BidiStreamingAnalyzeContentResponse.TurnComplete getTurnComplete()

Indicate that the turn is complete.

.google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.TurnComplete turn_complete = 4;

Returns
Type Description
BidiStreamingAnalyzeContentResponse.TurnComplete

The turnComplete.

getTurnCompleteBuilder()

public BidiStreamingAnalyzeContentResponse.TurnComplete.Builder getTurnCompleteBuilder()

Indicate that the turn is complete.

.google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.TurnComplete turn_complete = 4;

Returns
Type Description
BidiStreamingAnalyzeContentResponse.TurnComplete.Builder

getTurnCompleteOrBuilder()

public BidiStreamingAnalyzeContentResponse.TurnCompleteOrBuilder getTurnCompleteOrBuilder()

Indicate that the turn is complete.

.google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.TurnComplete turn_complete = 4;

Returns
Type Description
BidiStreamingAnalyzeContentResponse.TurnCompleteOrBuilder

hasAnalyzeContentResponse()

public boolean hasAnalyzeContentResponse()

The agent response from analyze content.

.google.cloud.dialogflow.v2beta1.AnalyzeContentResponse analyze_content_response = 3;

Returns
Type Description
boolean

Whether the analyzeContentResponse field is set.

hasBargeInSignal()

public boolean hasBargeInSignal()

Indicate the user barge-in has been detected, and client should stop playing back the audio.

.google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.BargeInSignal barge_in_signal = 2;

Returns
Type Description
boolean

Whether the bargeInSignal field is set.

hasRecognitionResult()

public boolean hasRecognitionResult()

The result of speech recognition.

.google.cloud.dialogflow.v2beta1.StreamingRecognitionResult recognition_result = 1;

Returns
Type Description
boolean

Whether the recognitionResult field is set.

hasTurnComplete()

public boolean hasTurnComplete()

Indicate that the turn is complete.

.google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.TurnComplete turn_complete = 4;

Returns
Type Description
boolean

Whether the turnComplete field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAnalyzeContentResponse(AnalyzeContentResponse value)

public BidiStreamingAnalyzeContentResponse.Builder mergeAnalyzeContentResponse(AnalyzeContentResponse value)

The agent response from analyze content.

.google.cloud.dialogflow.v2beta1.AnalyzeContentResponse analyze_content_response = 3;

Parameter
Name Description
value AnalyzeContentResponse
Returns
Type Description
BidiStreamingAnalyzeContentResponse.Builder

mergeBargeInSignal(BidiStreamingAnalyzeContentResponse.BargeInSignal value)

public BidiStreamingAnalyzeContentResponse.Builder mergeBargeInSignal(BidiStreamingAnalyzeContentResponse.BargeInSignal value)

Indicate the user barge-in has been detected, and client should stop playing back the audio.

.google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.BargeInSignal barge_in_signal = 2;

Parameter
Name Description
value BidiStreamingAnalyzeContentResponse.BargeInSignal
Returns
Type Description
BidiStreamingAnalyzeContentResponse.Builder

mergeFrom(BidiStreamingAnalyzeContentResponse other)

public BidiStreamingAnalyzeContentResponse.Builder mergeFrom(BidiStreamingAnalyzeContentResponse other)
Parameter
Name Description
other BidiStreamingAnalyzeContentResponse
Returns
Type Description
BidiStreamingAnalyzeContentResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BidiStreamingAnalyzeContentResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BidiStreamingAnalyzeContentResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BidiStreamingAnalyzeContentResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BidiStreamingAnalyzeContentResponse.Builder
Overrides

mergeRecognitionResult(StreamingRecognitionResult value)

public BidiStreamingAnalyzeContentResponse.Builder mergeRecognitionResult(StreamingRecognitionResult value)

The result of speech recognition.

.google.cloud.dialogflow.v2beta1.StreamingRecognitionResult recognition_result = 1;

Parameter
Name Description
value StreamingRecognitionResult
Returns
Type Description
BidiStreamingAnalyzeContentResponse.Builder

mergeTurnComplete(BidiStreamingAnalyzeContentResponse.TurnComplete value)

public BidiStreamingAnalyzeContentResponse.Builder mergeTurnComplete(BidiStreamingAnalyzeContentResponse.TurnComplete value)

Indicate that the turn is complete.

.google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.TurnComplete turn_complete = 4;

Parameter
Name Description
value BidiStreamingAnalyzeContentResponse.TurnComplete
Returns
Type Description
BidiStreamingAnalyzeContentResponse.Builder

setAnalyzeContentResponse(AnalyzeContentResponse value)

public BidiStreamingAnalyzeContentResponse.Builder setAnalyzeContentResponse(AnalyzeContentResponse value)

The agent response from analyze content.

.google.cloud.dialogflow.v2beta1.AnalyzeContentResponse analyze_content_response = 3;

Parameter
Name Description
value AnalyzeContentResponse
Returns
Type Description
BidiStreamingAnalyzeContentResponse.Builder

setAnalyzeContentResponse(AnalyzeContentResponse.Builder builderForValue)

public BidiStreamingAnalyzeContentResponse.Builder setAnalyzeContentResponse(AnalyzeContentResponse.Builder builderForValue)

The agent response from analyze content.

.google.cloud.dialogflow.v2beta1.AnalyzeContentResponse analyze_content_response = 3;

Parameter
Name Description
builderForValue AnalyzeContentResponse.Builder
Returns
Type Description
BidiStreamingAnalyzeContentResponse.Builder

setBargeInSignal(BidiStreamingAnalyzeContentResponse.BargeInSignal value)

public BidiStreamingAnalyzeContentResponse.Builder setBargeInSignal(BidiStreamingAnalyzeContentResponse.BargeInSignal value)

Indicate the user barge-in has been detected, and client should stop playing back the audio.

.google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.BargeInSignal barge_in_signal = 2;

Parameter
Name Description
value BidiStreamingAnalyzeContentResponse.BargeInSignal
Returns
Type Description
BidiStreamingAnalyzeContentResponse.Builder

setBargeInSignal(BidiStreamingAnalyzeContentResponse.BargeInSignal.Builder builderForValue)

public BidiStreamingAnalyzeContentResponse.Builder setBargeInSignal(BidiStreamingAnalyzeContentResponse.BargeInSignal.Builder builderForValue)

Indicate the user barge-in has been detected, and client should stop playing back the audio.

.google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.BargeInSignal barge_in_signal = 2;

Parameter
Name Description
builderForValue BidiStreamingAnalyzeContentResponse.BargeInSignal.Builder
Returns
Type Description
BidiStreamingAnalyzeContentResponse.Builder

setRecognitionResult(StreamingRecognitionResult value)

public BidiStreamingAnalyzeContentResponse.Builder setRecognitionResult(StreamingRecognitionResult value)

The result of speech recognition.

.google.cloud.dialogflow.v2beta1.StreamingRecognitionResult recognition_result = 1;

Parameter
Name Description
value StreamingRecognitionResult
Returns
Type Description
BidiStreamingAnalyzeContentResponse.Builder

setRecognitionResult(StreamingRecognitionResult.Builder builderForValue)

public BidiStreamingAnalyzeContentResponse.Builder setRecognitionResult(StreamingRecognitionResult.Builder builderForValue)

The result of speech recognition.

.google.cloud.dialogflow.v2beta1.StreamingRecognitionResult recognition_result = 1;

Parameter
Name Description
builderForValue StreamingRecognitionResult.Builder
Returns
Type Description
BidiStreamingAnalyzeContentResponse.Builder

setTurnComplete(BidiStreamingAnalyzeContentResponse.TurnComplete value)

public BidiStreamingAnalyzeContentResponse.Builder setTurnComplete(BidiStreamingAnalyzeContentResponse.TurnComplete value)

Indicate that the turn is complete.

.google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.TurnComplete turn_complete = 4;

Parameter
Name Description
value BidiStreamingAnalyzeContentResponse.TurnComplete
Returns
Type Description
BidiStreamingAnalyzeContentResponse.Builder

setTurnComplete(BidiStreamingAnalyzeContentResponse.TurnComplete.Builder builderForValue)

public BidiStreamingAnalyzeContentResponse.Builder setTurnComplete(BidiStreamingAnalyzeContentResponse.TurnComplete.Builder builderForValue)

Indicate that the turn is complete.

.google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse.TurnComplete turn_complete = 4;

Parameter
Name Description
builderForValue BidiStreamingAnalyzeContentResponse.TurnComplete.Builder
Returns
Type Description
BidiStreamingAnalyzeContentResponse.Builder