Class ResponseMessage.MixedAudio (4.7.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.

Protobuf type google.cloud.dialogflow.v2beta1.ResponseMessage.MixedAudio

Static Fields

SEGMENTS_FIELD_NUMBER

public static final int SEGMENTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ResponseMessage.MixedAudio getDefaultInstance()
Returns
TypeDescription
ResponseMessage.MixedAudio

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ResponseMessage.MixedAudio.Builder newBuilder()
Returns
TypeDescription
ResponseMessage.MixedAudio.Builder

newBuilder(ResponseMessage.MixedAudio prototype)

public static ResponseMessage.MixedAudio.Builder newBuilder(ResponseMessage.MixedAudio prototype)
Parameter
NameDescription
prototypeResponseMessage.MixedAudio
Returns
TypeDescription
ResponseMessage.MixedAudio.Builder

parseDelimitedFrom(InputStream input)

public static ResponseMessage.MixedAudio parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ResponseMessage.MixedAudio
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ResponseMessage.MixedAudio parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResponseMessage.MixedAudio
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ResponseMessage.MixedAudio parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ResponseMessage.MixedAudio
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ResponseMessage.MixedAudio parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResponseMessage.MixedAudio
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ResponseMessage.MixedAudio parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ResponseMessage.MixedAudio
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ResponseMessage.MixedAudio parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResponseMessage.MixedAudio
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ResponseMessage.MixedAudio parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ResponseMessage.MixedAudio
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ResponseMessage.MixedAudio parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResponseMessage.MixedAudio
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ResponseMessage.MixedAudio parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ResponseMessage.MixedAudio
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ResponseMessage.MixedAudio parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResponseMessage.MixedAudio
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ResponseMessage.MixedAudio parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ResponseMessage.MixedAudio
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ResponseMessage.MixedAudio parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResponseMessage.MixedAudio
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ResponseMessage.MixedAudio getDefaultInstanceForType()
Returns
TypeDescription
ResponseMessage.MixedAudio

getParserForType()

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

getSegments(int index)

public ResponseMessage.MixedAudio.Segment getSegments(int index)

Segments this audio response is composed of.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ResponseMessage.MixedAudio.Segment

getSegmentsCount()

public int getSegmentsCount()

Segments this audio response is composed of.

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

Returns
TypeDescription
int

getSegmentsList()

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

Segments this audio response is composed of.

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

Returns
TypeDescription
List<Segment>

getSegmentsOrBuilder(int index)

public ResponseMessage.MixedAudio.SegmentOrBuilder getSegmentsOrBuilder(int index)

Segments this audio response is composed of.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ResponseMessage.MixedAudio.SegmentOrBuilder

getSegmentsOrBuilderList()

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

Segments this audio response is composed of.

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

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.v2beta1.ResponseMessage.MixedAudio.SegmentOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ResponseMessage.MixedAudio.Builder newBuilderForType()
Returns
TypeDescription
ResponseMessage.MixedAudio.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ResponseMessage.MixedAudio.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ResponseMessage.MixedAudio.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ResponseMessage.MixedAudio.Builder toBuilder()
Returns
TypeDescription
ResponseMessage.MixedAudio.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException