Send feedback
Class RouterApplianceInstance.Builder (1.3.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.3.0 keyboard_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.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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RouterApplianceInstance . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public RouterApplianceInstance build ()
Returns
buildPartial()
public RouterApplianceInstance buildPartial ()
Returns
clear()
public RouterApplianceInstance . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public RouterApplianceInstance . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearIpAddress()
public RouterApplianceInstance . Builder clearIpAddress ()
The IP address on the VM to use for peering.
string ip_address = 3;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public RouterApplianceInstance . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearVirtualMachine()
public RouterApplianceInstance . Builder clearVirtualMachine ()
The URI of the VM.
string virtual_machine = 1 [(.google.api.resource_reference) = { ... }
Returns
clone()
public RouterApplianceInstance . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public RouterApplianceInstance getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
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
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 ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(RouterApplianceInstance other)
public RouterApplianceInstance . Builder mergeFrom ( RouterApplianceInstance other )
Parameter
Returns
public RouterApplianceInstance . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public RouterApplianceInstance . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RouterApplianceInstance . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public RouterApplianceInstance . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
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 value String
The ipAddress to set.
Returns
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 value ByteString
The bytes for ipAddress to set.
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RouterApplianceInstance . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RouterApplianceInstance . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
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 value String
The virtualMachine to set.
Returns
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 value ByteString
The bytes for virtualMachine to set.
Returns
Send feedback
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-01-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[],[]]