public sealed class ResponseMessage.Types.MixedAudio.Types.Segment : IMessage<ResponseMessage.Types.MixedAudio.Types.Segment>, IEquatable<ResponseMessage.Types.MixedAudio.Types.Segment>, IDeepCloneable<ResponseMessage.Types.MixedAudio.Types.Segment>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class ResponseMessage.Types.MixedAudio.Types.Segment.
Represents one segment of audio.
Implements
IMessageResponseMessageTypesMixedAudioTypesSegment, IEquatableResponseMessageTypesMixedAudioTypesSegment, IDeepCloneableResponseMessageTypesMixedAudioTypesSegment, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Beta1Assembly
Google.Cloud.Dialogflow.V2Beta1.dll
Constructors
Segment()
public Segment()Segment(Segment)
public Segment(ResponseMessage.Types.MixedAudio.Types.Segment other)| Parameter | |
|---|---|
| Name | Description |
other |
ResponseMessageTypesMixedAudioTypesSegment |
Properties
AllowPlaybackInterruption
public bool AllowPlaybackInterruption { get; set; }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 |
bool |
|
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 |
ByteString |
|
ContentCase
public ResponseMessage.Types.MixedAudio.Types.Segment.ContentOneofCase ContentCase { get; }| Property Value | |
|---|---|
| Type | Description |
ResponseMessageTypesMixedAudioTypesSegmentContentOneofCase |
|
HasAudio
public bool HasAudio { get; }Gets whether the "audio" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasUri
public bool HasUri { get; }Gets whether the "uri" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
Uri
public string Uri { get; set; }Client-specific URI that points to an audio clip accessible to the client.
| Property Value | |
|---|---|
| Type | Description |
string |
|