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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResponseMessage.MixedAudio.Segment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ResponseMessage.MixedAudio.Segment build()
Returns
buildPartial()
public ResponseMessage.MixedAudio.Segment buildPartial()
Returns
clear()
public ResponseMessage.MixedAudio.Segment.Builder clear()
Returns
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];
Returns
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;
Returns
clearContent()
public ResponseMessage.MixedAudio.Segment.Builder clearContent()
Returns
clearField(Descriptors.FieldDescriptor field)
public ResponseMessage.MixedAudio.Segment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ResponseMessage.MixedAudio.Segment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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;
Returns
clone()
public ResponseMessage.MixedAudio.Segment.Builder clone()
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ResponseMessage.MixedAudio.Segment other)
public ResponseMessage.MixedAudio.Segment.Builder mergeFrom(ResponseMessage.MixedAudio.Segment other)
Parameter
Returns
public ResponseMessage.MixedAudio.Segment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ResponseMessage.MixedAudio.Segment.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResponseMessage.MixedAudio.Segment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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.
|
Returns
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.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ResponseMessage.MixedAudio.Segment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResponseMessage.MixedAudio.Segment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ResponseMessage.MixedAudio.Segment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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.
|
Returns
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.
|
Returns