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.v3.ResponseMessage.MixedAudio
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ResponseMessage.MixedAudio.Builder newBuilder()
newBuilder(ResponseMessage.MixedAudio prototype)
public static ResponseMessage.MixedAudio.Builder newBuilder(ResponseMessage.MixedAudio prototype)
public static ResponseMessage.MixedAudio parseDelimitedFrom(InputStream input)
public static ResponseMessage.MixedAudio parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ResponseMessage.MixedAudio parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ResponseMessage.MixedAudio parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ResponseMessage.MixedAudio parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ResponseMessage.MixedAudio parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ResponseMessage.MixedAudio parseFrom(CodedInputStream input)
public static ResponseMessage.MixedAudio parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ResponseMessage.MixedAudio parseFrom(InputStream input)
public static ResponseMessage.MixedAudio parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ResponseMessage.MixedAudio parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ResponseMessage.MixedAudio parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ResponseMessage.MixedAudio> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public ResponseMessage.MixedAudio getDefaultInstanceForType()
getParserForType()
public Parser<ResponseMessage.MixedAudio> getParserForType()
Overrides
getSegments(int index)
public ResponseMessage.MixedAudio.Segment getSegments(int index)
Segments this audio response is composed of.
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage.MixedAudio.Segment segments = 1;
Parameter |
Name |
Description |
index |
int
|
getSegmentsCount()
public int getSegmentsCount()
Segments this audio response is composed of.
repeated .google.cloud.dialogflow.cx.v3.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.v3.ResponseMessage.MixedAudio.Segment segments = 1;
getSegmentsOrBuilder(int index)
public ResponseMessage.MixedAudio.SegmentOrBuilder getSegmentsOrBuilder(int index)
Segments this audio response is composed of.
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage.MixedAudio.Segment segments = 1;
Parameter |
Name |
Description |
index |
int
|
getSegmentsOrBuilderList()
public List<? extends ResponseMessage.MixedAudio.SegmentOrBuilder> getSegmentsOrBuilderList()
Segments this audio response is composed of.
repeated .google.cloud.dialogflow.cx.v3.ResponseMessage.MixedAudio.Segment segments = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.dialogflow.cx.v3.ResponseMessage.MixedAudio.SegmentOrBuilder> |
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ResponseMessage.MixedAudio.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ResponseMessage.MixedAudio.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ResponseMessage.MixedAudio.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides