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
Static Methods
getDefaultInstance()
public static ResponseMessage.MixedAudio getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ResponseMessage.MixedAudio.Builder newBuilder()
Returns
newBuilder(ResponseMessage.MixedAudio prototype)
public static ResponseMessage.MixedAudio.Builder newBuilder(ResponseMessage.MixedAudio prototype)
Parameter
Returns
public static ResponseMessage.MixedAudio parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ResponseMessage.MixedAudio parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ResponseMessage.MixedAudio parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ResponseMessage.MixedAudio parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ResponseMessage.MixedAudio parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ResponseMessage.MixedAudio parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ResponseMessage.MixedAudio parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ResponseMessage.MixedAudio parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ResponseMessage.MixedAudio parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ResponseMessage.MixedAudio parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ResponseMessage.MixedAudio parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ResponseMessage.MixedAudio parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ResponseMessage.MixedAudio> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ResponseMessage.MixedAudio getDefaultInstanceForType()
Returns
getParserForType()
public Parser<ResponseMessage.MixedAudio> getParserForType()
Returns
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
getSegmentsCount()
public int getSegmentsCount()
Segments this audio response is composed of.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
Returns
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
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
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
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ResponseMessage.MixedAudio.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ResponseMessage.MixedAudio.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ResponseMessage.MixedAudio.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions