Class RouterApplianceInstance (1.44.0)

public final class RouterApplianceInstance extends GeneratedMessageV3 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

Static Fields

IP_ADDRESS_FIELD_NUMBER

public static final int IP_ADDRESS_FIELD_NUMBER
Field Value
Type Description
int

VIRTUAL_MACHINE_FIELD_NUMBER

public static final int VIRTUAL_MACHINE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RouterApplianceInstance getDefaultInstance()
Returns
Type Description
RouterApplianceInstance

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static RouterApplianceInstance.Builder newBuilder()
Returns
Type Description
RouterApplianceInstance.Builder

newBuilder(RouterApplianceInstance prototype)

public static RouterApplianceInstance.Builder newBuilder(RouterApplianceInstance prototype)
Parameter
Name Description
prototype RouterApplianceInstance
Returns
Type Description
RouterApplianceInstance.Builder

parseDelimitedFrom(InputStream input)

public static RouterApplianceInstance parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RouterApplianceInstance
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RouterApplianceInstance parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RouterApplianceInstance
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RouterApplianceInstance parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RouterApplianceInstance
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RouterApplianceInstance parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RouterApplianceInstance
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RouterApplianceInstance parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RouterApplianceInstance
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RouterApplianceInstance parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RouterApplianceInstance
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RouterApplianceInstance parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RouterApplianceInstance
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RouterApplianceInstance parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RouterApplianceInstance
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RouterApplianceInstance parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RouterApplianceInstance
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RouterApplianceInstance parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RouterApplianceInstance
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RouterApplianceInstance parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RouterApplianceInstance
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RouterApplianceInstance parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RouterApplianceInstance
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RouterApplianceInstance> parser()
Returns
Type Description
Parser<RouterApplianceInstance>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public RouterApplianceInstance getDefaultInstanceForType()
Returns
Type Description
RouterApplianceInstance

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.

getParserForType()

public Parser<RouterApplianceInstance> getParserForType()
Returns
Type Description
Parser<RouterApplianceInstance>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RouterApplianceInstance.Builder newBuilderForType()
Returns
Type Description
RouterApplianceInstance.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RouterApplianceInstance.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RouterApplianceInstance.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RouterApplianceInstance.Builder toBuilder()
Returns
Type Description
RouterApplianceInstance.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException