public static final class RouterApplianceInstance.Builder extends GeneratedMessage.Builder<RouterApplianceInstance.Builder> implements RouterApplianceInstanceOrBuilderA 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RouterApplianceInstance.BuilderImplements
RouterApplianceInstanceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RouterApplianceInstance build()| Returns | |
|---|---|
| Type | Description |
RouterApplianceInstance |
|
buildPartial()
public RouterApplianceInstance buildPartial()| Returns | |
|---|---|
| Type | Description |
RouterApplianceInstance |
|
clear()
public RouterApplianceInstance.Builder clear()| Returns | |
|---|---|
| Type | Description |
RouterApplianceInstance.Builder |
|
clearIpAddress()
public RouterApplianceInstance.Builder clearIpAddress()The IP address on the VM to use for peering.
string ip_address = 3;
| Returns | |
|---|---|
| Type | Description |
RouterApplianceInstance.Builder |
This builder for chaining. |
clearVirtualMachine()
public RouterApplianceInstance.Builder clearVirtualMachine()The URI of the VM.
string virtual_machine = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
RouterApplianceInstance.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public RouterApplianceInstance getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RouterApplianceInstance |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RouterApplianceInstance other)
public RouterApplianceInstance.Builder mergeFrom(RouterApplianceInstance other)| Parameter | |
|---|---|
| Name | Description |
other |
RouterApplianceInstance |
| Returns | |
|---|---|
| Type | Description |
RouterApplianceInstance.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RouterApplianceInstance.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RouterApplianceInstance.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RouterApplianceInstance.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RouterApplianceInstance.Builder |
|
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 |
StringThe ipAddress to set. |
| Returns | |
|---|---|
| Type | Description |
RouterApplianceInstance.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for ipAddress to set. |
| Returns | |
|---|---|
| Type | Description |
RouterApplianceInstance.Builder |
This builder for chaining. |
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 |
StringThe virtualMachine to set. |
| Returns | |
|---|---|
| Type | Description |
RouterApplianceInstance.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for virtualMachine to set. |
| Returns | |
|---|---|
| Type | Description |
RouterApplianceInstance.Builder |
This builder for chaining. |