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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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.
|