Class Storage.ComposeRequest.Builder (2.33.0) 
  
      
     
  
  
  
   
  
    
  
  
    
    
    
  Version 2.33.0keyboard_arrow_down  
  
 
    
    
     
    
    
    
    
    
      
  
  
  
    
public   static   class  Storage . ComposeRequest . Builder  
   
  
  
  Constructors
   
   
  Builder() 
  
  Methods
   
   
  addSource(Iterable<String> blobs) 
  
    
public   Storage . ComposeRequest . Builder   addSource ( Iterable<String>   blobs )  
   
  Add source blobs for compose operation.
 
  
  
   
  addSource(String blob, long generation) 
  
    
public   Storage . ComposeRequest . Builder   addSource ( String   blob ,   long   generation )  
   
  Add a source with a specific generation to match.
 
  
    
      
        Parameters  
       
      
        Name  
        Description  
       
      
        blob 
        String  
       
      
        generation 
        long  
       
     
  
  
   
  addSource(String[] blobs) 
  
    
public   Storage . ComposeRequest . Builder   addSource ( String []   blobs )  
   
  Add source blobs for compose operation.
 
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        blobs 
        String [] 
       
     
  
  
   
  build() 
  
    
public   Storage . ComposeRequest   build ()  
   
  Creates a ComposeRequest object.
 
  
   
  setTarget(BlobInfo target) 
  
    
public   Storage . ComposeRequest . Builder   setTarget ( BlobInfo   target )  
   
  Sets compose operation's target blob.
 
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        target 
        BlobInfo  
       
     
  
  
   
  setTargetOptions(Storage.BlobTargetOption[] options) 
  
    
public   Storage . ComposeRequest . Builder   setTargetOptions ( Storage . BlobTargetOption []   options )  
   
  Sets compose operation's target blob options.
 
  
  
   
  setTargetOptions(Iterable<Storage.BlobTargetOption> options) 
  
    
public   Storage . ComposeRequest . Builder   setTargetOptions ( Iterable<Storage . BlobTargetOption >  options )  
   
  Sets compose operation's target blob options.
 
  
  
 
     
    
  
  
  
     
  
 
  
    
    
      
       
    
    
  
  
 
  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-30 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-30 UTC."],[],[]]