public sealed class Segment : IMessage<ResponseMessage.Types.MixedAudio.Types.Segment>, IEquatable<ResponseMessage.Types.MixedAudio.Types.Segment>, IDeepCloneable<ResponseMessage.Types.MixedAudio.Types.Segment>, IBufferMessage, IMessage
Represents one segment of audio.
Inheritance
System.Object > ResponseMessage.Types.MixedAudio.Types.SegmentImplements
Google.Protobuf.IMessage<ResponseMessage.Types.MixedAudio.Types.Segment>, System.IEquatable<ResponseMessage.Types.MixedAudio.Types.Segment>, Google.Protobuf.IDeepCloneable<ResponseMessage.Types.MixedAudio.Types.Segment>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessageNamespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Constructors
Segment()
public Segment()
Segment(ResponseMessage.Types.MixedAudio.Types.Segment)
public Segment(ResponseMessage.Types.MixedAudio.Types.Segment other)
Parameter | |
---|---|
Name | Description |
other | ResponseMessage.Types.MixedAudio.Types.Segment |
Properties
AllowPlaybackInterruption
public bool AllowPlaybackInterruption { get; set; }
Output only. Whether the playback of this segment can be interrupted by the end user's speech and the client should then start the next Dialogflow request.
Property Value | |
---|---|
Type | Description |
System.Boolean |
Audio
public ByteString Audio { get; set; }
Raw audio synthesized from the Dialogflow agent's response using the output config specified in the request.
Property Value | |
---|---|
Type | Description |
Google.Protobuf.ByteString |
ContentCase
public ResponseMessage.Types.MixedAudio.Types.Segment.ContentOneofCase ContentCase { get; }
Property Value | |
---|---|
Type | Description |
ResponseMessage.Types.MixedAudio.Types.Segment.ContentOneofCase |
Uri
public string Uri { get; set; }
Client-specific URI that points to an audio clip accessible to the client. Dialogflow does not impose any validation on it.
Property Value | |
---|---|
Type | Description |
System.String |