public static final class ResponseMessage.MixedAudio.Builder extends GeneratedMessageV3.Builder<ResponseMessage.MixedAudio.Builder> implements ResponseMessage.MixedAudioOrBuilder
Represents an audio message that is composed of both segments
synthesized from the Dialogflow agent prompts and ones hosted externally
at the specified URIs.
The external URIs are specified via
play_audio.
This message is generated by Dialogflow only and not supposed to be
defined by the user.
Protobuf type google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio
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
addAllSegments(Iterable<? extends ResponseMessage.MixedAudio.Segment> values)
public ResponseMessage.MixedAudio.Builder addAllSegments(Iterable<? extends ResponseMessage.MixedAudio.Segment> values)
Segments this audio response is composed of.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResponseMessage.MixedAudio.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addSegments(ResponseMessage.MixedAudio.Segment value)
public ResponseMessage.MixedAudio.Builder addSegments(ResponseMessage.MixedAudio.Segment value)
Segments this audio response is composed of.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
addSegments(ResponseMessage.MixedAudio.Segment.Builder builderForValue)
public ResponseMessage.MixedAudio.Builder addSegments(ResponseMessage.MixedAudio.Segment.Builder builderForValue)
Segments this audio response is composed of.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
addSegments(int index, ResponseMessage.MixedAudio.Segment value)
public ResponseMessage.MixedAudio.Builder addSegments(int index, ResponseMessage.MixedAudio.Segment value)
Segments this audio response is composed of.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
addSegments(int index, ResponseMessage.MixedAudio.Segment.Builder builderForValue)
public ResponseMessage.MixedAudio.Builder addSegments(int index, ResponseMessage.MixedAudio.Segment.Builder builderForValue)
Segments this audio response is composed of.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
addSegmentsBuilder()
public ResponseMessage.MixedAudio.Segment.Builder addSegmentsBuilder()
Segments this audio response is composed of.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
addSegmentsBuilder(int index)
public ResponseMessage.MixedAudio.Segment.Builder addSegmentsBuilder(int index)
Segments this audio response is composed of.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
Parameter |
Name |
Description |
index |
int
|
build()
public ResponseMessage.MixedAudio build()
buildPartial()
public ResponseMessage.MixedAudio buildPartial()
clear()
public ResponseMessage.MixedAudio.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ResponseMessage.MixedAudio.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ResponseMessage.MixedAudio.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSegments()
public ResponseMessage.MixedAudio.Builder clearSegments()
Segments this audio response is composed of.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
clone()
public ResponseMessage.MixedAudio.Builder clone()
Overrides
getDefaultInstanceForType()
public ResponseMessage.MixedAudio getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getSegments(int index)
public ResponseMessage.MixedAudio.Segment getSegments(int index)
Segments this audio response is composed of.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
Parameter |
Name |
Description |
index |
int
|
getSegmentsBuilder(int index)
public ResponseMessage.MixedAudio.Segment.Builder getSegmentsBuilder(int index)
Segments this audio response is composed of.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
Parameter |
Name |
Description |
index |
int
|
getSegmentsBuilderList()
public List<ResponseMessage.MixedAudio.Segment.Builder> getSegmentsBuilderList()
Segments this audio response is composed of.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
getSegmentsCount()
public int getSegmentsCount()
Segments this audio response is composed of.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
Returns |
Type |
Description |
int |
|
getSegmentsList()
public List<ResponseMessage.MixedAudio.Segment> getSegmentsList()
Segments this audio response is composed of.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
getSegmentsOrBuilder(int index)
public ResponseMessage.MixedAudio.SegmentOrBuilder getSegmentsOrBuilder(int index)
Segments this audio response is composed of.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
Parameter |
Name |
Description |
index |
int
|
getSegmentsOrBuilderList()
public List<? extends ResponseMessage.MixedAudio.SegmentOrBuilder> getSegmentsOrBuilderList()
Segments this audio response is composed of.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.SegmentOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ResponseMessage.MixedAudio other)
public ResponseMessage.MixedAudio.Builder mergeFrom(ResponseMessage.MixedAudio other)
public ResponseMessage.MixedAudio.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ResponseMessage.MixedAudio.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResponseMessage.MixedAudio.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeSegments(int index)
public ResponseMessage.MixedAudio.Builder removeSegments(int index)
Segments this audio response is composed of.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ResponseMessage.MixedAudio.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResponseMessage.MixedAudio.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSegments(int index, ResponseMessage.MixedAudio.Segment value)
public ResponseMessage.MixedAudio.Builder setSegments(int index, ResponseMessage.MixedAudio.Segment value)
Segments this audio response is composed of.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
setSegments(int index, ResponseMessage.MixedAudio.Segment.Builder builderForValue)
public ResponseMessage.MixedAudio.Builder setSegments(int index, ResponseMessage.MixedAudio.Segment.Builder builderForValue)
Segments this audio response is composed of.
repeated .google.cloud.dialogflow.cx.v3beta1.ResponseMessage.MixedAudio.Segment segments = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final ResponseMessage.MixedAudio.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides