public static final class ResponseMessage.MixedAudio.Segment extends GeneratedMessageV3 implements ResponseMessage.MixedAudio.SegmentOrBuilder
Represents one segment of audio.
Protobuf type google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment
Static Fields
ALLOW_PLAYBACK_INTERRUPTION_FIELD_NUMBER
public static final int ALLOW_PLAYBACK_INTERRUPTION_FIELD_NUMBER
Field Value
AUDIO_FIELD_NUMBER
public static final int AUDIO_FIELD_NUMBER
Field Value
URI_FIELD_NUMBER
public static final int URI_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ResponseMessage.MixedAudio.Segment getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ResponseMessage.MixedAudio.Segment.Builder newBuilder()
Returns
newBuilder(ResponseMessage.MixedAudio.Segment prototype)
public static ResponseMessage.MixedAudio.Segment.Builder newBuilder(ResponseMessage.MixedAudio.Segment prototype)
Parameter
Returns
public static ResponseMessage.MixedAudio.Segment parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ResponseMessage.MixedAudio.Segment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ResponseMessage.MixedAudio.Segment parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ResponseMessage.MixedAudio.Segment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ResponseMessage.MixedAudio.Segment parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ResponseMessage.MixedAudio.Segment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ResponseMessage.MixedAudio.Segment parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ResponseMessage.MixedAudio.Segment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ResponseMessage.MixedAudio.Segment parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ResponseMessage.MixedAudio.Segment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ResponseMessage.MixedAudio.Segment parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ResponseMessage.MixedAudio.Segment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ResponseMessage.MixedAudio.Segment> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAllowPlaybackInterruption()
public boolean getAllowPlaybackInterruption()
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.
bool allow_playback_interruption = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type |
Description |
boolean |
The allowPlaybackInterruption.
|
getAudio()
public ByteString getAudio()
Raw audio synthesized from the Dialogflow agent's response using
the output config specified in the request.
bytes audio = 1;
Returns
getContentCase()
public ResponseMessage.MixedAudio.Segment.ContentCase getContentCase()
Returns
getDefaultInstanceForType()
public ResponseMessage.MixedAudio.Segment getDefaultInstanceForType()
Returns
getParserForType()
public Parser<ResponseMessage.MixedAudio.Segment> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getUri()
Client-specific URI that points to an audio clip accessible to the
client. Dialogflow does not impose any validation on it.
string uri = 2;
Returns
Type |
Description |
String |
The uri.
|
getUriBytes()
public ByteString getUriBytes()
Client-specific URI that points to an audio clip accessible to the
client. Dialogflow does not impose any validation on it.
string uri = 2;
Returns
hasAudio()
public boolean hasAudio()
Raw audio synthesized from the Dialogflow agent's response using
the output config specified in the request.
bytes audio = 1;
Returns
Type |
Description |
boolean |
Whether the audio field is set.
|
hasUri()
Client-specific URI that points to an audio clip accessible to the
client. Dialogflow does not impose any validation on it.
string uri = 2;
Returns
Type |
Description |
boolean |
Whether the uri field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ResponseMessage.MixedAudio.Segment.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ResponseMessage.MixedAudio.Segment.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.Segment.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions