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
VIRTUAL_MACHINE_FIELD_NUMBER
public static final int VIRTUAL_MACHINE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static RouterApplianceInstance getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static RouterApplianceInstance.Builder newBuilder()
Returns
newBuilder(RouterApplianceInstance prototype)
public static RouterApplianceInstance.Builder newBuilder(RouterApplianceInstance prototype)
Parameter
Returns
public static RouterApplianceInstance parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static RouterApplianceInstance parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static RouterApplianceInstance parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RouterApplianceInstance parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static RouterApplianceInstance parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RouterApplianceInstance parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RouterApplianceInstance parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static RouterApplianceInstance parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RouterApplianceInstance parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static RouterApplianceInstance parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static RouterApplianceInstance parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RouterApplianceInstance parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<RouterApplianceInstance> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public RouterApplianceInstance getDefaultInstanceForType()
Returns
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
getParserForType()
public Parser<RouterApplianceInstance> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public RouterApplianceInstance.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RouterApplianceInstance.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public RouterApplianceInstance.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions