Class RouterApplianceInstance (0.14.1)

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.events.cloud.networkconnectivity.v1.RouterApplianceInstance

Static Fields

IP_ADDRESS_FIELD_NUMBER

public static final int IP_ADDRESS_FIELD_NUMBER
Field Value
TypeDescription
int

VIRTUAL_MACHINE_FIELD_NUMBER

public static final int VIRTUAL_MACHINE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RouterApplianceInstance getDefaultInstance()
Returns
TypeDescription
RouterApplianceInstance

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static RouterApplianceInstance.Builder newBuilder()
Returns
TypeDescription
RouterApplianceInstance.Builder

newBuilder(RouterApplianceInstance prototype)

public static RouterApplianceInstance.Builder newBuilder(RouterApplianceInstance prototype)
Parameter
NameDescription
prototypeRouterApplianceInstance
Returns
TypeDescription
RouterApplianceInstance.Builder

parseDelimitedFrom(InputStream input)

public static RouterApplianceInstance parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RouterApplianceInstance
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RouterApplianceInstance parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RouterApplianceInstance
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RouterApplianceInstance parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RouterApplianceInstance
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RouterApplianceInstance parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RouterApplianceInstance
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RouterApplianceInstance parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RouterApplianceInstance
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RouterApplianceInstance parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RouterApplianceInstance
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RouterApplianceInstance parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RouterApplianceInstance
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RouterApplianceInstance parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RouterApplianceInstance
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RouterApplianceInstance parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RouterApplianceInstance
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RouterApplianceInstance parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RouterApplianceInstance
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RouterApplianceInstance parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RouterApplianceInstance
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RouterApplianceInstance parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RouterApplianceInstance
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RouterApplianceInstance> parser()
Returns
TypeDescription
Parser<RouterApplianceInstance>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public RouterApplianceInstance getDefaultInstanceForType()
Returns
TypeDescription
RouterApplianceInstance

getIpAddress()

public String getIpAddress()

The IP address on the VM to use for peering.

string ip_address = 3;

Returns
TypeDescription
String

The ipAddress.

getIpAddressBytes()

public ByteString getIpAddressBytes()

The IP address on the VM to use for peering.

string ip_address = 3;

Returns
TypeDescription
ByteString

The bytes for ipAddress.

getParserForType()

public Parser<RouterApplianceInstance> getParserForType()
Returns
TypeDescription
Parser<RouterApplianceInstance>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getVirtualMachine()

public String getVirtualMachine()

The URI of the VM.

string virtual_machine = 1;

Returns
TypeDescription
String

The virtualMachine.

getVirtualMachineBytes()

public ByteString getVirtualMachineBytes()

The URI of the VM.

string virtual_machine = 1;

Returns
TypeDescription
ByteString

The bytes for virtualMachine.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RouterApplianceInstance.Builder newBuilderForType()
Returns
TypeDescription
RouterApplianceInstance.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RouterApplianceInstance.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RouterApplianceInstance.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RouterApplianceInstance.Builder toBuilder()
Returns
TypeDescription
RouterApplianceInstance.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException