Class BidiStreamingAnalyzeContentRequest.Input.Builder (4.89.0)

public static final class BidiStreamingAnalyzeContentRequest.Input.Builder extends GeneratedMessage.Builder<BidiStreamingAnalyzeContentRequest.Input.Builder> implements BidiStreamingAnalyzeContentRequest.InputOrBuilder

Input for the conversation.

Protobuf type google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentRequest.Input

Static Methods

getDescriptor()

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

Methods

build()

public BidiStreamingAnalyzeContentRequest.Input build()
Returns
Type Description
BidiStreamingAnalyzeContentRequest.Input

buildPartial()

public BidiStreamingAnalyzeContentRequest.Input buildPartial()
Returns
Type Description
BidiStreamingAnalyzeContentRequest.Input

clear()

public BidiStreamingAnalyzeContentRequest.Input.Builder clear()
Returns
Type Description
BidiStreamingAnalyzeContentRequest.Input.Builder
Overrides

clearAudio()

public BidiStreamingAnalyzeContentRequest.Input.Builder clearAudio()

The content of audio stream to be recognized.

bytes audio = 1;

Returns
Type Description
BidiStreamingAnalyzeContentRequest.Input.Builder

This builder for chaining.

clearDtmf()

public BidiStreamingAnalyzeContentRequest.Input.Builder clearDtmf()

The DTMF digits used to invoke intent and fill in parameter value.

This input is ignored if the previous response indicated that DTMF input is not accepted.

.google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents dtmf = 2;

Returns
Type Description
BidiStreamingAnalyzeContentRequest.Input.Builder

clearInput()

public BidiStreamingAnalyzeContentRequest.Input.Builder clearInput()
Returns
Type Description
BidiStreamingAnalyzeContentRequest.Input.Builder

clearTurn()

public BidiStreamingAnalyzeContentRequest.Input.Builder clearTurn()

Turn input.

.google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentRequest.TurnInput turn = 3;

Returns
Type Description
BidiStreamingAnalyzeContentRequest.Input.Builder

getAudio()

public ByteString getAudio()

The content of audio stream to be recognized.

bytes audio = 1;

Returns
Type Description
ByteString

The audio.

getDefaultInstanceForType()

public BidiStreamingAnalyzeContentRequest.Input getDefaultInstanceForType()
Returns
Type Description
BidiStreamingAnalyzeContentRequest.Input

getDescriptorForType()

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

getDtmf()

public TelephonyDtmfEvents getDtmf()

The DTMF digits used to invoke intent and fill in parameter value.

This input is ignored if the previous response indicated that DTMF input is not accepted.

.google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents dtmf = 2;

Returns
Type Description
TelephonyDtmfEvents

The dtmf.

getDtmfBuilder()

public TelephonyDtmfEvents.Builder getDtmfBuilder()

The DTMF digits used to invoke intent and fill in parameter value.

This input is ignored if the previous response indicated that DTMF input is not accepted.

.google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents dtmf = 2;

Returns
Type Description
TelephonyDtmfEvents.Builder

getDtmfOrBuilder()

public TelephonyDtmfEventsOrBuilder getDtmfOrBuilder()

The DTMF digits used to invoke intent and fill in parameter value.

This input is ignored if the previous response indicated that DTMF input is not accepted.

.google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents dtmf = 2;

Returns
Type Description
TelephonyDtmfEventsOrBuilder

getInputCase()

public BidiStreamingAnalyzeContentRequest.Input.InputCase getInputCase()
Returns
Type Description
BidiStreamingAnalyzeContentRequest.Input.InputCase

getTurn()

public BidiStreamingAnalyzeContentRequest.TurnInput getTurn()

Turn input.

.google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentRequest.TurnInput turn = 3;

Returns
Type Description
BidiStreamingAnalyzeContentRequest.TurnInput

The turn.

getTurnBuilder()

public BidiStreamingAnalyzeContentRequest.TurnInput.Builder getTurnBuilder()

Turn input.

.google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentRequest.TurnInput turn = 3;

Returns
Type Description
BidiStreamingAnalyzeContentRequest.TurnInput.Builder

getTurnOrBuilder()

public BidiStreamingAnalyzeContentRequest.TurnInputOrBuilder getTurnOrBuilder()

Turn input.

.google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentRequest.TurnInput turn = 3;

Returns
Type Description
BidiStreamingAnalyzeContentRequest.TurnInputOrBuilder

hasAudio()

public boolean hasAudio()

The content of audio stream to be recognized.

bytes audio = 1;

Returns
Type Description
boolean

Whether the audio field is set.

hasDtmf()

public boolean hasDtmf()

The DTMF digits used to invoke intent and fill in parameter value.

This input is ignored if the previous response indicated that DTMF input is not accepted.

.google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents dtmf = 2;

Returns
Type Description
boolean

Whether the dtmf field is set.

hasTurn()

public boolean hasTurn()

Turn input.

.google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentRequest.TurnInput turn = 3;

Returns
Type Description
boolean

Whether the turn field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDtmf(TelephonyDtmfEvents value)

public BidiStreamingAnalyzeContentRequest.Input.Builder mergeDtmf(TelephonyDtmfEvents value)

The DTMF digits used to invoke intent and fill in parameter value.

This input is ignored if the previous response indicated that DTMF input is not accepted.

.google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents dtmf = 2;

Parameter
Name Description
value TelephonyDtmfEvents
Returns
Type Description
BidiStreamingAnalyzeContentRequest.Input.Builder

mergeFrom(BidiStreamingAnalyzeContentRequest.Input other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTurn(BidiStreamingAnalyzeContentRequest.TurnInput value)

public BidiStreamingAnalyzeContentRequest.Input.Builder mergeTurn(BidiStreamingAnalyzeContentRequest.TurnInput value)

Turn input.

.google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentRequest.TurnInput turn = 3;

Parameter
Name Description
value BidiStreamingAnalyzeContentRequest.TurnInput
Returns
Type Description
BidiStreamingAnalyzeContentRequest.Input.Builder

setAudio(ByteString value)

public BidiStreamingAnalyzeContentRequest.Input.Builder setAudio(ByteString value)

The content of audio stream to be recognized.

bytes audio = 1;

Parameter
Name Description
value ByteString

The audio to set.

Returns
Type Description
BidiStreamingAnalyzeContentRequest.Input.Builder

This builder for chaining.

setDtmf(TelephonyDtmfEvents value)

public BidiStreamingAnalyzeContentRequest.Input.Builder setDtmf(TelephonyDtmfEvents value)

The DTMF digits used to invoke intent and fill in parameter value.

This input is ignored if the previous response indicated that DTMF input is not accepted.

.google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents dtmf = 2;

Parameter
Name Description
value TelephonyDtmfEvents
Returns
Type Description
BidiStreamingAnalyzeContentRequest.Input.Builder

setDtmf(TelephonyDtmfEvents.Builder builderForValue)

public BidiStreamingAnalyzeContentRequest.Input.Builder setDtmf(TelephonyDtmfEvents.Builder builderForValue)

The DTMF digits used to invoke intent and fill in parameter value.

This input is ignored if the previous response indicated that DTMF input is not accepted.

.google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents dtmf = 2;

Parameter
Name Description
builderForValue TelephonyDtmfEvents.Builder
Returns
Type Description
BidiStreamingAnalyzeContentRequest.Input.Builder

setTurn(BidiStreamingAnalyzeContentRequest.TurnInput value)

public BidiStreamingAnalyzeContentRequest.Input.Builder setTurn(BidiStreamingAnalyzeContentRequest.TurnInput value)

Turn input.

.google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentRequest.TurnInput turn = 3;

Parameter
Name Description
value BidiStreamingAnalyzeContentRequest.TurnInput
Returns
Type Description
BidiStreamingAnalyzeContentRequest.Input.Builder

setTurn(BidiStreamingAnalyzeContentRequest.TurnInput.Builder builderForValue)

public BidiStreamingAnalyzeContentRequest.Input.Builder setTurn(BidiStreamingAnalyzeContentRequest.TurnInput.Builder builderForValue)

Turn input.

.google.cloud.dialogflow.v2beta1.BidiStreamingAnalyzeContentRequest.TurnInput turn = 3;

Parameter
Name Description
builderForValue BidiStreamingAnalyzeContentRequest.TurnInput.Builder
Returns
Type Description
BidiStreamingAnalyzeContentRequest.Input.Builder