Class BidiStreamingAnalyzeContentRequest.Input (4.87.0)

public static final class BidiStreamingAnalyzeContentRequest.Input extends GeneratedMessageV3 implements BidiStreamingAnalyzeContentRequest.InputOrBuilder

Input for the conversation.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > BidiStreamingAnalyzeContentRequest.Input

Static Fields

AUDIO_FIELD_NUMBER

public static final int AUDIO_FIELD_NUMBER
Field Value
Type Description
int

DTMF_FIELD_NUMBER

public static final int DTMF_FIELD_NUMBER
Field Value
Type Description
int

TURN_FIELD_NUMBER

public static final int TURN_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BidiStreamingAnalyzeContentRequest.Input getDefaultInstance()
Returns
Type Description
BidiStreamingAnalyzeContentRequest.Input

getDescriptor()

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

newBuilder()

public static BidiStreamingAnalyzeContentRequest.Input.Builder newBuilder()
Returns
Type Description
BidiStreamingAnalyzeContentRequest.Input.Builder

newBuilder(BidiStreamingAnalyzeContentRequest.Input prototype)

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

parseDelimitedFrom(InputStream input)

public static BidiStreamingAnalyzeContentRequest.Input parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BidiStreamingAnalyzeContentRequest.Input
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static BidiStreamingAnalyzeContentRequest.Input parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BidiStreamingAnalyzeContentRequest.Input
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static BidiStreamingAnalyzeContentRequest.Input parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BidiStreamingAnalyzeContentRequest.Input
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static BidiStreamingAnalyzeContentRequest.Input parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BidiStreamingAnalyzeContentRequest.Input
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static BidiStreamingAnalyzeContentRequest.Input parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BidiStreamingAnalyzeContentRequest.Input
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<BidiStreamingAnalyzeContentRequest.Input> parser()
Returns
Type Description
Parser<Input>

Methods

equals(Object obj)

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

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

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.

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

getParserForType()

public Parser<BidiStreamingAnalyzeContentRequest.Input> getParserForType()
Returns
Type Description
Parser<Input>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTurn()

public BidiStreamingAnalyzeContentRequest.TurnInput getTurn()

Turn input.

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

Returns
Type Description
BidiStreamingAnalyzeContentRequest.TurnInput

The turn.

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.

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 BidiStreamingAnalyzeContentRequest.Input.Builder newBuilderForType()
Returns
Type Description
BidiStreamingAnalyzeContentRequest.Input.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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