Class LinkedInterconnectAttachments.Builder (1.4.0) 
  
      
     
  
  
  
   
  
    
  
  
    
    
    
  Version 1.4.0keyboard_arrow_down  
  
 
    
    
     
    
    
    
    
    
      
  
  
  
    
public   static   final   class  LinkedInterconnectAttachments . Builder   extends   GeneratedMessageV3 . Builder<LinkedInterconnectAttachments . Builder >  implements   LinkedInterconnectAttachmentsOrBuilder  
   
   A collection of VLAN attachment resources. These resources should
 be redundant attachments that all advertise the same prefixes to Google
 Cloud. Alternatively, in active/passive configurations, all attachments
 should be capable of advertising the same prefixes.
 Protobuf type google.cloud.networkconnectivity.v1.LinkedInterconnectAttachments
 
  
  
  
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder() 
    
    
    
    
    
    
    
    
    
    
    
    
      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 ()  
   
  Returns 
  
  Methods
   
   
  addAllUris(Iterable<String> values) 
  
    
public   LinkedInterconnectAttachments . Builder   addAllUris ( Iterable<String>   values )  
   
   The URIs of linked interconnect attachment resources
 repeated string uris = 1 [(.google.api.resource_reference) = { ... }
 
  Parameter 
  
  Returns 
  
   
  addRepeatedField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   LinkedInterconnectAttachments . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
   
  Parameters 
  
  Returns 
  
  Overrides 
  
   
  addUris(String value) 
  
    
public   LinkedInterconnectAttachments . Builder   addUris ( String   value )  
   
   The URIs of linked interconnect attachment resources
 repeated string uris = 1 [(.google.api.resource_reference) = { ... }
 
  Parameter 
  
    
      
        Name  
        Description  
       
      
        value  
        String The uris to add.
 
       
     
  
  Returns 
  
   
  addUrisBytes(ByteString value) 
  
    
public   LinkedInterconnectAttachments . Builder   addUrisBytes ( ByteString   value )  
   
   The URIs of linked interconnect attachment resources
 repeated string uris = 1 [(.google.api.resource_reference) = { ... }
 
  Parameter 
  
    
      
        Name  
        Description  
       
      
        value  
        ByteString The bytes of the uris to add.
 
       
     
  
  Returns 
  
   
  build() 
  
    
public   LinkedInterconnectAttachments   build ()  
   
  Returns 
  
   
  buildPartial() 
  
    
public   LinkedInterconnectAttachments   buildPartial ()  
   
  Returns 
  
   
  clear() 
  
    
public   LinkedInterconnectAttachments . Builder   clear ()  
   
  Returns 
  
  Overrides 
  
   
  clearField(Descriptors.FieldDescriptor field) 
  
    
public   LinkedInterconnectAttachments . Builder   clearField ( Descriptors . FieldDescriptor   field )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   LinkedInterconnectAttachments . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  clearSiteToSiteDataTransfer() 
  
    
public   LinkedInterconnectAttachments . Builder   clearSiteToSiteDataTransfer ()  
   
   A value that controls whether site-to-site data transfer is enabled for
 these resources. Data transfer is available only in supported
 locations .
 bool site_to_site_data_transfer = 2;
 
  Returns 
  
   
  clearUris() 
  
    
public   LinkedInterconnectAttachments . Builder   clearUris ()  
   
   The URIs of linked interconnect attachment resources
 repeated string uris = 1 [(.google.api.resource_reference) = { ... }
 
  Returns 
  
   
  clone() 
  
    
public   LinkedInterconnectAttachments . Builder   clone ()  
   
  Returns 
  
  Overrides 
  
   
  getDefaultInstanceForType() 
  
    
public   LinkedInterconnectAttachments   getDefaultInstanceForType ()  
   
  Returns 
  
   
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
   
  Returns 
  
  Overrides 
  
   
  getSiteToSiteDataTransfer() 
  
    
public   boolean   getSiteToSiteDataTransfer ()  
   
   A value that controls whether site-to-site data transfer is enabled for
 these resources. Data transfer is available only in supported
 locations .
 bool site_to_site_data_transfer = 2;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        boolean  
        The siteToSiteDataTransfer.
 
       
     
  
   
  getUris(int index) 
  
    
public   String   getUris ( int   index )  
   
   The URIs of linked interconnect attachment resources
 repeated string uris = 1 [(.google.api.resource_reference) = { ... }
 
  Parameter 
  
    
      
        Name  
        Description  
       
      
        index  
        int The index of the element to return.
 
       
     
  
  Returns 
  
    
      
        Type  
        Description  
       
      
        String  
        The uris at the given index.
 
       
     
  
   
  getUrisBytes(int index) 
  
    
public   ByteString   getUrisBytes ( int   index )  
   
   The URIs of linked interconnect attachment resources
 repeated string uris = 1 [(.google.api.resource_reference) = { ... }
 
  Parameter 
  
    
      
        Name  
        Description  
       
      
        index  
        int The index of the value to return.
 
       
     
  
  Returns 
  
    
      
        Type  
        Description  
       
      
        ByteString  
        The bytes of the uris at the given index.
 
       
     
  
   
  getUrisCount() 
  
    
public   int   getUrisCount ()  
   
   The URIs of linked interconnect attachment resources
 repeated string uris = 1 [(.google.api.resource_reference) = { ... }
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        int  
        The count of uris.
 
       
     
  
   
  getUrisList() 
  
    
public   ProtocolStringList   getUrisList ()  
   
   The URIs of linked interconnect attachment resources
 repeated string uris = 1 [(.google.api.resource_reference) = { ... }
 
  Returns 
  
   
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  Returns 
  
  Overrides 
  
   
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
   
  Returns 
  
  Overrides 
  
   
  mergeFrom(LinkedInterconnectAttachments other) 
  
    
public   LinkedInterconnectAttachments . Builder   mergeFrom ( LinkedInterconnectAttachments   other )  
   
  Parameter 
  
  Returns 
  
   
  
  
    
public   LinkedInterconnectAttachments . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Overrides 
  
  Exceptions 
  
   
  mergeFrom(Message other) 
  
    
public   LinkedInterconnectAttachments . Builder   mergeFrom ( Message   other )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   LinkedInterconnectAttachments . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   LinkedInterconnectAttachments . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
   
  Parameters 
  
  Returns 
  
  Overrides 
  
   
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   LinkedInterconnectAttachments . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
   
  Parameters 
  
  Returns 
  
  Overrides 
  
   
  setSiteToSiteDataTransfer(boolean value) 
  
    
public   LinkedInterconnectAttachments . Builder   setSiteToSiteDataTransfer ( boolean   value )  
   
   A value that controls whether site-to-site data transfer is enabled for
 these resources. Data transfer is available only in supported
 locations .
 bool site_to_site_data_transfer = 2;
 
  Parameter 
  
    
      
        Name  
        Description  
       
      
        value  
        boolean The siteToSiteDataTransfer to set.
 
       
     
  
  Returns 
  
   
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   LinkedInterconnectAttachments . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  setUris(int index, String value) 
  
    
public   LinkedInterconnectAttachments . Builder   setUris ( int   index ,   String   value )  
   
   The URIs of linked interconnect attachment resources
 repeated string uris = 1 [(.google.api.resource_reference) = { ... }
 
  Parameters 
  
    
      
        Name  
        Description  
       
      
        index  
        int The index to set the value at.
 
       
      
        value  
        String The uris to set.
 
       
     
  
  Returns 
  
 
     
    
  
  
  
     
  
 
  
    
    
      
       
    
    
  
  
 
  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."],[],[]]