Send feedback
Class ResponseMessage.MixedAudio.Segment.Builder (0.30.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.30.0 keyboard_arrow_down
public static final class ResponseMessage . MixedAudio . Segment . Builder extends GeneratedMessageV3 . Builder<ResponseMessage . MixedAudio . Segment . Builder > implements ResponseMessage . MixedAudio . SegmentOrBuilder
Represents one segment of audio.
Protobuf type google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResponseMessage . MixedAudio . Segment . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public ResponseMessage . MixedAudio . Segment build ()
buildPartial()
public ResponseMessage . MixedAudio . Segment buildPartial ()
clear()
public ResponseMessage . MixedAudio . Segment . Builder clear ()
Overrides
clearAllowPlaybackInterruption()
public ResponseMessage . MixedAudio . Segment . Builder clearAllowPlaybackInterruption ()
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];
clearAudio()
public ResponseMessage . MixedAudio . Segment . Builder clearAudio ()
Raw audio synthesized from the Dialogflow agent's response using
the output config specified in the request.
bytes audio = 1;
clearContent()
public ResponseMessage . MixedAudio . Segment . Builder clearContent ()
clearField(Descriptors.FieldDescriptor field)
public ResponseMessage . MixedAudio . Segment . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ResponseMessage . MixedAudio . Segment . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearUri()
public ResponseMessage . MixedAudio . Segment . Builder clearUri ()
Client-specific URI that points to an audio clip accessible to the
client. Dialogflow does not impose any validation on it.
string uri = 2;
clone()
public ResponseMessage . MixedAudio . Segment . Builder clone ()
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;
getContentCase()
public ResponseMessage . MixedAudio . Segment . ContentCase getContentCase ()
getDefaultInstanceForType()
public ResponseMessage . MixedAudio . Segment getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
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
Type
Description
ByteString
The bytes for uri.
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.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(ResponseMessage.MixedAudio.Segment other)
public ResponseMessage . MixedAudio . Segment . Builder mergeFrom ( ResponseMessage . MixedAudio . Segment other )
public ResponseMessage . MixedAudio . Segment . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public ResponseMessage . MixedAudio . Segment . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResponseMessage . MixedAudio . Segment . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setAllowPlaybackInterruption(boolean value)
public ResponseMessage . MixedAudio . Segment . Builder setAllowPlaybackInterruption ( boolean value )
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];
Parameter
Name
Description
value
boolean
The allowPlaybackInterruption to set.
setAudio(ByteString value)
public ResponseMessage . MixedAudio . Segment . Builder setAudio ( ByteString value )
Raw audio synthesized from the Dialogflow agent's response using
the output config specified in the request.
bytes audio = 1;
Parameter
Name
Description
value
ByteString
The audio to set.
setField(Descriptors.FieldDescriptor field, Object value)
public ResponseMessage . MixedAudio . Segment . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResponseMessage . MixedAudio . Segment . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ResponseMessage . MixedAudio . Segment . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setUri(String value)
public ResponseMessage . MixedAudio . Segment . Builder setUri ( String value )
Client-specific URI that points to an audio clip accessible to the
client. Dialogflow does not impose any validation on it.
string uri = 2;
Parameter
Name
Description
value
String
The uri to set.
setUriBytes(ByteString value)
public ResponseMessage . MixedAudio . Segment . Builder setUriBytes ( ByteString value )
Client-specific URI that points to an audio clip accessible to the
client. Dialogflow does not impose any validation on it.
string uri = 2;
Parameter
Name
Description
value
ByteString
The bytes for uri to set.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]