Class BatchCreateInstancesResponse.Builder (0.61.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 0.61.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  BatchCreateInstancesResponse . Builder   extends   GeneratedMessageV3 . Builder<BatchCreateInstancesResponse . Builder >  implements   BatchCreateInstancesResponseOrBuilder  
   Message for creating batches of instances in a cluster.
 Protobuf type google.cloud.alloydb.v1.BatchCreateInstancesResponse
    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
   
  addAllInstances(Iterable<? extends Instance> values) 
  
    
public   BatchCreateInstancesResponse . Builder   addAllInstances ( Iterable <?   extends   Instance >  values )  
   Created instances.
 repeated .google.cloud.alloydb.v1.Instance instances = 1;
    
      
        Parameter  
      
        Name Description  
      
        valuesIterable <? extends com.google.cloud.alloydb.v1.Instance > 
     
  
  
  addInstances(Instance value) 
  
    
public   BatchCreateInstancesResponse . Builder   addInstances ( Instance   value )  
   Created instances.
 repeated .google.cloud.alloydb.v1.Instance instances = 1;
    
      
        Parameter  
      
        Name Description  
      
        valueInstance  
     
  
  
  addInstances(Instance.Builder builderForValue) 
  
    
public   BatchCreateInstancesResponse . Builder   addInstances ( Instance . Builder   builderForValue )  
   Created instances.
 repeated .google.cloud.alloydb.v1.Instance instances = 1;
addInstances(int index, Instance value) 
  
    
public   BatchCreateInstancesResponse . Builder   addInstances ( int   index ,   Instance   value )  
   Created instances.
 repeated .google.cloud.alloydb.v1.Instance instances = 1;
addInstances(int index, Instance.Builder builderForValue) 
  
    
public   BatchCreateInstancesResponse . Builder   addInstances ( int   index ,   Instance . Builder   builderForValue )  
   Created instances.
 repeated .google.cloud.alloydb.v1.Instance instances = 1;
addInstancesBuilder() 
  
    
public   Instance . Builder   addInstancesBuilder ()  
   Created instances.
 repeated .google.cloud.alloydb.v1.Instance instances = 1;
addInstancesBuilder(int index) 
  
    
public   Instance . Builder   addInstancesBuilder ( int   index )  
   Created instances.
 repeated .google.cloud.alloydb.v1.Instance instances = 1;
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  addRepeatedField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   BatchCreateInstancesResponse . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  build() 
  
    
public   BatchCreateInstancesResponse   build ()  
  
  buildPartial() 
  
    
public   BatchCreateInstancesResponse   buildPartial ()  
  
  clear() 
  
    
public   BatchCreateInstancesResponse . Builder   clear ()  
  
  Overrides 
  
  clearField(Descriptors.FieldDescriptor field) 
  
    
public   BatchCreateInstancesResponse . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  clearInstances() 
  
    
public   BatchCreateInstancesResponse . Builder   clearInstances ()  
   Created instances.
 repeated .google.cloud.alloydb.v1.Instance instances = 1;
clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   BatchCreateInstancesResponse . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  clone() 
  
    
public   BatchCreateInstancesResponse . Builder   clone ()  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   BatchCreateInstancesResponse   getDefaultInstanceForType ()  
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  getInstances(int index) 
  
    
public   Instance   getInstances ( int   index )  
   Created instances.
 repeated .google.cloud.alloydb.v1.Instance instances = 1;
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  getInstancesBuilder(int index) 
  
    
public   Instance . Builder   getInstancesBuilder ( int   index )  
   Created instances.
 repeated .google.cloud.alloydb.v1.Instance instances = 1;
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  getInstancesBuilderList() 
  
    
public   List<Instance . Builder >  getInstancesBuilderList ()  
   Created instances.
 repeated .google.cloud.alloydb.v1.Instance instances = 1;
getInstancesCount() 
  
    
public   int   getInstancesCount ()  
   Created instances.
 repeated .google.cloud.alloydb.v1.Instance instances = 1;
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  getInstancesList() 
  
    
public   List<Instance>   getInstancesList ()  
   Created instances.
 repeated .google.cloud.alloydb.v1.Instance instances = 1;
getInstancesOrBuilder(int index) 
  
    
public   InstanceOrBuilder   getInstancesOrBuilder ( int   index )  
   Created instances.
 repeated .google.cloud.alloydb.v1.Instance instances = 1;
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  getInstancesOrBuilderList() 
  
    
public   List <?   extends   InstanceOrBuilder >  getInstancesOrBuilderList ()  
   Created instances.
 repeated .google.cloud.alloydb.v1.Instance instances = 1;
    
      
        Returns  
      
        Type Description  
      
        List <? extends com.google.cloud.alloydb.v1.InstanceOrBuilder > 
     
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  mergeFrom(BatchCreateInstancesResponse other) 
  
    
public   BatchCreateInstancesResponse . Builder   mergeFrom ( BatchCreateInstancesResponse   other )  
  
  
  
    
public   BatchCreateInstancesResponse . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  mergeFrom(Message other) 
  
    
public   BatchCreateInstancesResponse . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   BatchCreateInstancesResponse . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  removeInstances(int index) 
  
    
public   BatchCreateInstancesResponse . Builder   removeInstances ( int   index )  
   Created instances.
 repeated .google.cloud.alloydb.v1.Instance instances = 1;
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   BatchCreateInstancesResponse . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  setInstances(int index, Instance value) 
  
    
public   BatchCreateInstancesResponse . Builder   setInstances ( int   index ,   Instance   value )  
   Created instances.
 repeated .google.cloud.alloydb.v1.Instance instances = 1;
setInstances(int index, Instance.Builder builderForValue) 
  
    
public   BatchCreateInstancesResponse . Builder   setInstances ( int   index ,   Instance . Builder   builderForValue )  
   Created instances.
 repeated .google.cloud.alloydb.v1.Instance instances = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   BatchCreateInstancesResponse . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   BatchCreateInstancesResponse . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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-28 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-28 UTC."],[],[]]