Class BidiStreamingAnalyzeContentResponse (4.87.0)

public final class BidiStreamingAnalyzeContentResponse extends GeneratedMessageV3 implements BidiStreamingAnalyzeContentResponseOrBuilder

The response message for Participants.BidiStreamingAnalyzeContent.

Protobuf type google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > BidiStreamingAnalyzeContentResponse

Static Fields

ANALYZE_CONTENT_RESPONSE_FIELD_NUMBER

public static final int ANALYZE_CONTENT_RESPONSE_FIELD_NUMBER
Field Value
Type Description
int

BARGE_IN_SIGNAL_FIELD_NUMBER

public static final int BARGE_IN_SIGNAL_FIELD_NUMBER
Field Value
Type Description
int

RECOGNITION_RESULT_FIELD_NUMBER

public static final int RECOGNITION_RESULT_FIELD_NUMBER
Field Value
Type Description
int

TURN_COMPLETE_FIELD_NUMBER

public static final int TURN_COMPLETE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BidiStreamingAnalyzeContentResponse getDefaultInstance()
Returns
Type Description
BidiStreamingAnalyzeContentResponse

getDescriptor()

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

newBuilder()

public static BidiStreamingAnalyzeContentResponse.Builder newBuilder()
Returns
Type Description
BidiStreamingAnalyzeContentResponse.Builder

newBuilder(BidiStreamingAnalyzeContentResponse prototype)

public static BidiStreamingAnalyzeContentResponse.Builder newBuilder(BidiStreamingAnalyzeContentResponse prototype)
Parameter
Name Description
prototype BidiStreamingAnalyzeContentResponse
Returns
Type Description
BidiStreamingAnalyzeContentResponse.Builder

parseDelimitedFrom(InputStream input)

public static BidiStreamingAnalyzeContentResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BidiStreamingAnalyzeContentResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BidiStreamingAnalyzeContentResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BidiStreamingAnalyzeContentResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BidiStreamingAnalyzeContentResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BidiStreamingAnalyzeContentResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BidiStreamingAnalyzeContentResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BidiStreamingAnalyzeContentResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BidiStreamingAnalyzeContentResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BidiStreamingAnalyzeContentResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BidiStreamingAnalyzeContentResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BidiStreamingAnalyzeContentResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BidiStreamingAnalyzeContentResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BidiStreamingAnalyzeContentResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BidiStreamingAnalyzeContentResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BidiStreamingAnalyzeContentResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BidiStreamingAnalyzeContentResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BidiStreamingAnalyzeContentResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BidiStreamingAnalyzeContentResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BidiStreamingAnalyzeContentResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BidiStreamingAnalyzeContentResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BidiStreamingAnalyzeContentResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BidiStreamingAnalyzeContentResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BidiStreamingAnalyzeContentResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BidiStreamingAnalyzeContentResponse> parser()
Returns
Type Description
Parser<BidiStreamingAnalyzeContentResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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.

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.

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

getParserForType()

public Parser<BidiStreamingAnalyzeContentResponse> getParserForType()
Returns
Type Description
Parser<BidiStreamingAnalyzeContentResponse>
Overrides

getRecognitionResult()

public StreamingRecognitionResult getRecognitionResult()

The result of speech recognition.

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

Returns
Type Description
StreamingRecognitionResult

The recognitionResult.

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BidiStreamingAnalyzeContentResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BidiStreamingAnalyzeContentResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException