Class ListConnectionsResponse.Builder (3.74.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 3.74.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  ListConnectionsResponse . Builder   extends   GeneratedMessageV3 . Builder<ListConnectionsResponse . Builder >  implements   ListConnectionsResponseOrBuilder  
   Message for response to listing Connections.
 Protobuf type google.devtools.cloudbuild.v2.ListConnectionsResponse
    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
   
  addAllConnections(Iterable<? extends Connection> values) 
  
    
public   ListConnectionsResponse . Builder   addAllConnections ( Iterable <?   extends   Connection >  values )  
   The list of Connections.
 repeated .google.devtools.cloudbuild.v2.Connection connections = 1;
    
      
        Parameter  
      
        Name Description  
      
        valuesIterable <? extends com.google.cloudbuild.v2.Connection > 
     
  
  
  addConnections(Connection value) 
  
    
public   ListConnectionsResponse . Builder   addConnections ( Connection   value )  
   The list of Connections.
 repeated .google.devtools.cloudbuild.v2.Connection connections = 1;
addConnections(Connection.Builder builderForValue) 
  
    
public   ListConnectionsResponse . Builder   addConnections ( Connection . Builder   builderForValue )  
   The list of Connections.
 repeated .google.devtools.cloudbuild.v2.Connection connections = 1;
addConnections(int index, Connection value) 
  
    
public   ListConnectionsResponse . Builder   addConnections ( int   index ,   Connection   value )  
   The list of Connections.
 repeated .google.devtools.cloudbuild.v2.Connection connections = 1;
addConnections(int index, Connection.Builder builderForValue) 
  
    
public   ListConnectionsResponse . Builder   addConnections ( int   index ,   Connection . Builder   builderForValue )  
   The list of Connections.
 repeated .google.devtools.cloudbuild.v2.Connection connections = 1;
addConnectionsBuilder() 
  
    
public   Connection . Builder   addConnectionsBuilder ()  
   The list of Connections.
 repeated .google.devtools.cloudbuild.v2.Connection connections = 1;
addConnectionsBuilder(int index) 
  
    
public   Connection . Builder   addConnectionsBuilder ( int   index )  
   The list of Connections.
 repeated .google.devtools.cloudbuild.v2.Connection connections = 1;
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  addRepeatedField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   ListConnectionsResponse . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  build() 
  
    
public   ListConnectionsResponse   build ()  
  
  buildPartial() 
  
    
public   ListConnectionsResponse   buildPartial ()  
  
  clear() 
  
    
public   ListConnectionsResponse . Builder   clear ()  
  
  Overrides 
  
  clearConnections() 
  
    
public   ListConnectionsResponse . Builder   clearConnections ()  
   The list of Connections.
 repeated .google.devtools.cloudbuild.v2.Connection connections = 1;
clearField(Descriptors.FieldDescriptor field) 
  
    
public   ListConnectionsResponse . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  clearNextPageToken() 
  
    
public   ListConnectionsResponse . Builder   clearNextPageToken ()  
   A token identifying a page of results the server should return.
 string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   ListConnectionsResponse . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  clone() 
  
    
public   ListConnectionsResponse . Builder   clone ()  
  
  Overrides 
  
  getConnections(int index) 
  
    
public   Connection   getConnections ( int   index )  
   The list of Connections.
 repeated .google.devtools.cloudbuild.v2.Connection connections = 1;
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  getConnectionsBuilder(int index) 
  
    
public   Connection . Builder   getConnectionsBuilder ( int   index )  
   The list of Connections.
 repeated .google.devtools.cloudbuild.v2.Connection connections = 1;
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  getConnectionsBuilderList() 
  
    
public   List<Connection . Builder >  getConnectionsBuilderList ()  
   The list of Connections.
 repeated .google.devtools.cloudbuild.v2.Connection connections = 1;
getConnectionsCount() 
  
    
public   int   getConnectionsCount ()  
   The list of Connections.
 repeated .google.devtools.cloudbuild.v2.Connection connections = 1;
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  getConnectionsList() 
  
    
public   List<Connection>   getConnectionsList ()  
   The list of Connections.
 repeated .google.devtools.cloudbuild.v2.Connection connections = 1;
getConnectionsOrBuilder(int index) 
  
    
public   ConnectionOrBuilder   getConnectionsOrBuilder ( int   index )  
   The list of Connections.
 repeated .google.devtools.cloudbuild.v2.Connection connections = 1;
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  getConnectionsOrBuilderList() 
  
    
public   List <?   extends   ConnectionOrBuilder >  getConnectionsOrBuilderList ()  
   The list of Connections.
 repeated .google.devtools.cloudbuild.v2.Connection connections = 1;
    
      
        Returns  
      
        Type Description  
      
        List <? extends com.google.cloudbuild.v2.ConnectionOrBuilder > 
     
  
  getDefaultInstanceForType() 
  
    
public   ListConnectionsResponse   getDefaultInstanceForType ()  
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  getNextPageToken() 
  
    
public   String   getNextPageToken ()  
   A token identifying a page of results the server should return.
 string next_page_token = 2;
    
      
        Returns  
      
        Type Description  
      
        String The nextPageToken.
 
     
  
  getNextPageTokenBytes() 
  
    
public   ByteString   getNextPageTokenBytes ()  
   A token identifying a page of results the server should return.
 string next_page_token = 2;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for nextPageToken.
 
     
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  mergeFrom(ListConnectionsResponse other) 
  
    
public   ListConnectionsResponse . Builder   mergeFrom ( ListConnectionsResponse   other )  
  
  
  
    
public   ListConnectionsResponse . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  mergeFrom(Message other) 
  
    
public   ListConnectionsResponse . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   ListConnectionsResponse . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  removeConnections(int index) 
  
    
public   ListConnectionsResponse . Builder   removeConnections ( int   index )  
   The list of Connections.
 repeated .google.devtools.cloudbuild.v2.Connection connections = 1;
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  setConnections(int index, Connection value) 
  
    
public   ListConnectionsResponse . Builder   setConnections ( int   index ,   Connection   value )  
   The list of Connections.
 repeated .google.devtools.cloudbuild.v2.Connection connections = 1;
setConnections(int index, Connection.Builder builderForValue) 
  
    
public   ListConnectionsResponse . Builder   setConnections ( int   index ,   Connection . Builder   builderForValue )  
   The list of Connections.
 repeated .google.devtools.cloudbuild.v2.Connection connections = 1;
setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   ListConnectionsResponse . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  setNextPageToken(String value) 
  
    
public   ListConnectionsResponse . Builder   setNextPageToken ( String   value )  
   A token identifying a page of results the server should return.
 string next_page_token = 2;
    
      
        Parameter  
      
        Name Description  
      
        valueString The nextPageToken to set.
 
     
  
  
  setNextPageTokenBytes(ByteString value) 
  
    
public   ListConnectionsResponse . Builder   setNextPageTokenBytes ( ByteString   value )  
   A token identifying a page of results the server should return.
 string next_page_token = 2;
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes for nextPageToken to set.
 
     
  
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   ListConnectionsResponse . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   ListConnectionsResponse . 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."],[],[]]