Class ResponseMessage.MixedAudio.Segment.Builder (4.52.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 4.52.0keyboard_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.v2beta1.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 ()  
   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;
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.
 string uri = 2;
clone() 
  
    
public   ResponseMessage . MixedAudio . Segment . Builder   clone ()  
  
  Overrides 
  
  getAllowPlaybackInterruption() 
  
    
public   boolean   getAllowPlaybackInterruption ()  
   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;
    
      
        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.
 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.
 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.
 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  
      
        otherMessage  
     
  
  
  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 )  
   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;
    
      
        Parameter  
      
        Name Description  
      
        valueboolean 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  
      
        valueByteString 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.
 string uri = 2;
    
      
        Parameter  
      
        Name Description  
      
        valueString 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.
 string uri = 2;
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes for uri to set.
 
     
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]