Class RouterApplianceInstance.Builder (1.75.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 1.75.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  RouterApplianceInstance . Builder   extends   GeneratedMessageV3 . Builder<RouterApplianceInstance . Builder >  implements   RouterApplianceInstanceOrBuilder  
   A router appliance instance is a Compute Engine virtual machine (VM) instance
 that acts as a BGP speaker. A router appliance instance is specified by the
 URI of the VM and the internal IP address of one of the VM's network
 interfaces.
 Protobuf type google.cloud.networkconnectivity.v1.RouterApplianceInstance
    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   RouterApplianceInstance . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  build() 
  
    
public   RouterApplianceInstance   build ()  
  
  buildPartial() 
  
    
public   RouterApplianceInstance   buildPartial ()  
  
  clear() 
  
    
public   RouterApplianceInstance . Builder   clear ()  
  
  Overrides 
  
  clearField(Descriptors.FieldDescriptor field) 
  
    
public   RouterApplianceInstance . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  clearIpAddress() 
  
    
public   RouterApplianceInstance . Builder   clearIpAddress ()  
   The IP address on the VM to use for peering.
 string ip_address = 3;
clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   RouterApplianceInstance . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  clearVirtualMachine() 
  
    
public   RouterApplianceInstance . Builder   clearVirtualMachine ()  
   The URI of the VM.
 string virtual_machine = 1 [(.google.api.resource_reference) = { ... }
clone() 
  
    
public   RouterApplianceInstance . Builder   clone ()  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   RouterApplianceInstance   getDefaultInstanceForType ()  
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  getIpAddress() 
  
    
public   String   getIpAddress ()  
   The IP address on the VM to use for peering.
 string ip_address = 3;
    
      
        Returns  
      
        Type Description  
      
        String The ipAddress.
 
     
  
  getIpAddressBytes() 
  
    
public   ByteString   getIpAddressBytes ()  
   The IP address on the VM to use for peering.
 string ip_address = 3;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for ipAddress.
 
     
  
  getVirtualMachine() 
  
    
public   String   getVirtualMachine ()  
   The URI of the VM.
 string virtual_machine = 1 [(.google.api.resource_reference) = { ... }
    
      
        Returns  
      
        Type Description  
      
        String The virtualMachine.
 
     
  
  getVirtualMachineBytes() 
  
    
public   ByteString   getVirtualMachineBytes ()  
   The URI of the VM.
 string virtual_machine = 1 [(.google.api.resource_reference) = { ... }
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for virtualMachine.
 
     
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  mergeFrom(RouterApplianceInstance other) 
  
    
public   RouterApplianceInstance . Builder   mergeFrom ( RouterApplianceInstance   other )  
  
  
  
    
public   RouterApplianceInstance . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  mergeFrom(Message other) 
  
    
public   RouterApplianceInstance . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   RouterApplianceInstance . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   RouterApplianceInstance . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  setIpAddress(String value) 
  
    
public   RouterApplianceInstance . Builder   setIpAddress ( String   value )  
   The IP address on the VM to use for peering.
 string ip_address = 3;
    
      
        Parameter  
      
        Name Description  
      
        valueString The ipAddress to set.
 
     
  
  
  setIpAddressBytes(ByteString value) 
  
    
public   RouterApplianceInstance . Builder   setIpAddressBytes ( ByteString   value )  
   The IP address on the VM to use for peering.
 string ip_address = 3;
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes for ipAddress to set.
 
     
  
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   RouterApplianceInstance . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   RouterApplianceInstance . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  setVirtualMachine(String value) 
  
    
public   RouterApplianceInstance . Builder   setVirtualMachine ( String   value )  
   The URI of the VM.
 string virtual_machine = 1 [(.google.api.resource_reference) = { ... }
    
      
        Parameter  
      
        Name Description  
      
        valueString The virtualMachine to set.
 
     
  
  
  setVirtualMachineBytes(ByteString value) 
  
    
public   RouterApplianceInstance . Builder   setVirtualMachineBytes ( ByteString   value )  
   The URI of the VM.
 string virtual_machine = 1 [(.google.api.resource_reference) = { ... }
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes for virtualMachine 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."],[],[]]