Send feedback
Class ResponseMessage.MixedAudio.Builder (4.7.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.7.0 keyboard_arrow_down
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.
Protobuf type google.cloud.dialogflow.v2beta1.ResponseMessage.MixedAudio
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
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.v2beta1.ResponseMessage.MixedAudio.Segment segments = 1;
Parameter
Name Description values Iterable <? extends com.google.cloud.dialogflow.v2beta1.ResponseMessage.MixedAudio.Segment >
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResponseMessage . MixedAudio . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
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.v2beta1.ResponseMessage.MixedAudio.Segment segments = 1;
Parameter
Returns
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.v2beta1.ResponseMessage.MixedAudio.Segment segments = 1;
Parameter
Returns
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.v2beta1.ResponseMessage.MixedAudio.Segment segments = 1;
Parameters
Returns
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.v2beta1.ResponseMessage.MixedAudio.Segment segments = 1;
Parameters
Returns
addSegmentsBuilder()
public ResponseMessage . MixedAudio . Segment . Builder addSegmentsBuilder ()
Segments this audio response is composed of.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage.MixedAudio.Segment segments = 1;
Returns
addSegmentsBuilder(int index)
public ResponseMessage . MixedAudio . Segment . Builder addSegmentsBuilder ( int index )
Segments this audio response is composed of.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage.MixedAudio.Segment segments = 1;
Parameter
Returns
build()
public ResponseMessage . MixedAudio build ()
Returns
buildPartial()
public ResponseMessage . MixedAudio buildPartial ()
Returns
clear()
public ResponseMessage . MixedAudio . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ResponseMessage . MixedAudio . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ResponseMessage . MixedAudio . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearSegments()
public ResponseMessage . MixedAudio . Builder clearSegments ()
Segments this audio response is composed of.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage.MixedAudio.Segment segments = 1;
Returns
clone()
public ResponseMessage . MixedAudio . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public ResponseMessage . MixedAudio getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getSegments(int index)
public ResponseMessage . MixedAudio . Segment getSegments ( int index )
Segments this audio response is composed of.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage.MixedAudio.Segment segments = 1;
Parameter
Returns
getSegmentsBuilder(int index)
public ResponseMessage . MixedAudio . Segment . Builder getSegmentsBuilder ( int index )
Segments this audio response is composed of.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage.MixedAudio.Segment segments = 1;
Parameter
Returns
getSegmentsBuilderList()
public List<ResponseMessage . MixedAudio . Segment . Builder > getSegmentsBuilderList ()
Segments this audio response is composed of.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage.MixedAudio.Segment segments = 1;
Returns
getSegmentsCount()
public int getSegmentsCount ()
Segments this audio response is composed of.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage.MixedAudio.Segment segments = 1;
Returns
getSegmentsList()
public List<ResponseMessage . MixedAudio . Segment > getSegmentsList ()
Segments this audio response is composed of.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage.MixedAudio.Segment segments = 1;
Returns
getSegmentsOrBuilder(int index)
public ResponseMessage . MixedAudio . SegmentOrBuilder getSegmentsOrBuilder ( int index )
Segments this audio response is composed of.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage.MixedAudio.Segment segments = 1;
Parameter
Returns
getSegmentsOrBuilderList()
public List <? extends ResponseMessage . MixedAudio . SegmentOrBuilder > getSegmentsOrBuilderList ()
Segments this audio response is composed of.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage.MixedAudio.Segment segments = 1;
Returns
Type Description List <? extends com.google.cloud.dialogflow.v2beta1.ResponseMessage.MixedAudio.SegmentOrBuilder >
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(ResponseMessage.MixedAudio other)
public ResponseMessage . MixedAudio . Builder mergeFrom ( ResponseMessage . MixedAudio other )
Parameter
Returns
public ResponseMessage . MixedAudio . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ResponseMessage . MixedAudio . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResponseMessage . MixedAudio . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
removeSegments(int index)
public ResponseMessage . MixedAudio . Builder removeSegments ( int index )
Segments this audio response is composed of.
repeated .google.cloud.dialogflow.v2beta1.ResponseMessage.MixedAudio.Segment segments = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ResponseMessage . MixedAudio . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResponseMessage . MixedAudio . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
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.v2beta1.ResponseMessage.MixedAudio.Segment segments = 1;
Parameters
Returns
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.v2beta1.ResponseMessage.MixedAudio.Segment segments = 1;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ResponseMessage . MixedAudio . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
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."],[],[]]