Class ResponseMessage.MixedAudio (0.32.0)

public static final class ResponseMessage.MixedAudio extends GeneratedMessageV3 implements ResponseMessage.MixedAudioOrBuilder

Represents an audio message that is composed of both segments synthesized from the Dialogflow agent prompts and ones hosted externally at the specified URIs. The external URIs are specified via play_audio. This message is generated by Dialogflow only and not supposed to be defined by the user.

Protobuf type google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio

Static Fields

SEGMENTS_FIELD_NUMBER

public static final int SEGMENTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ResponseMessage.MixedAudio getDefaultInstance()
Returns
Type Description
ResponseMessage.MixedAudio

getDescriptor()

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

newBuilder()

public static ResponseMessage.MixedAudio.Builder newBuilder()
Returns
Type Description
ResponseMessage.MixedAudio.Builder

newBuilder(ResponseMessage.MixedAudio prototype)

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

parseDelimitedFrom(InputStream input)

public static ResponseMessage.MixedAudio parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ResponseMessage.MixedAudio
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ResponseMessage.MixedAudio parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ResponseMessage.MixedAudio
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ResponseMessage.MixedAudio parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ResponseMessage.MixedAudio
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ResponseMessage.MixedAudio parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ResponseMessage.MixedAudio
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ResponseMessage.MixedAudio parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ResponseMessage.MixedAudio
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ResponseMessage.MixedAudio> parser()
Returns
Type Description
Parser<MixedAudio>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ResponseMessage.MixedAudio getDefaultInstanceForType()
Returns
Type Description
ResponseMessage.MixedAudio

getParserForType()

public Parser<ResponseMessage.MixedAudio> getParserForType()
Returns
Type Description
Parser<MixedAudio>
Overrides

getSegments(int index)

public ResponseMessage.MixedAudio.Segment getSegments(int index)

Segments this audio response is composed of.

repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;

Parameter
Name Description
index int
Returns
Type Description
ResponseMessage.MixedAudio.Segment

getSegmentsCount()

public int getSegmentsCount()

Segments this audio response is composed of.

repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;

Returns
Type Description
int

getSegmentsList()

public List<ResponseMessage.MixedAudio.Segment> getSegmentsList()

Segments this audio response is composed of.

repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;

Returns
Type Description
List<Segment>

getSegmentsOrBuilder(int index)

public ResponseMessage.MixedAudio.SegmentOrBuilder getSegmentsOrBuilder(int index)

Segments this audio response is composed of.

repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;

Parameter
Name Description
index int
Returns
Type Description
ResponseMessage.MixedAudio.SegmentOrBuilder

getSegmentsOrBuilderList()

public List<? extends ResponseMessage.MixedAudio.SegmentOrBuilder> getSegmentsOrBuilderList()

Segments this audio response is composed of.

repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ResponseMessage.MixedAudio.Builder toBuilder()
Returns
Type Description
ResponseMessage.MixedAudio.Builder

writeTo(CodedOutputStream output)

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