Class RouterApplianceInstance (1.14.0)

public final class RouterApplianceInstance extends GeneratedMessageV3 implements RouterApplianceInstanceOrBuilder

RouterAppliance represents a Router appliance which is specified by a VM URI and a NIC address.

Protobuf type google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance

Static Fields

IP_ADDRESS_FIELD_NUMBER

public static final int IP_ADDRESS_FIELD_NUMBER
Field Value
TypeDescription
int

NETWORK_INTERFACE_FIELD_NUMBER

public static final int NETWORK_INTERFACE_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 of the network interface to use for peering.

string ip_address = 3;

Returns
TypeDescription
String

The ipAddress.

getIpAddressBytes()

public ByteString getIpAddressBytes()

The IP address of the network interface to use for peering.

string ip_address = 3;

Returns
TypeDescription
ByteString

The bytes for ipAddress.

getNetworkInterface() (deprecated)

public String getNetworkInterface()

Deprecated. google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance.network_interface is deprecated. See google/cloud/networkconnectivity/v1alpha1/hub.proto;l=533

string network_interface = 2 [deprecated = true];

Returns
TypeDescription
String

The networkInterface.

getNetworkInterfaceBytes() (deprecated)

public ByteString getNetworkInterfaceBytes()

Deprecated. google.cloud.networkconnectivity.v1alpha1.RouterApplianceInstance.network_interface is deprecated. See google/cloud/networkconnectivity/v1alpha1/hub.proto;l=533

string network_interface = 2 [deprecated = true];

Returns
TypeDescription
ByteString

The bytes for networkInterface.

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 virtual machine resource

string virtual_machine = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The virtualMachine.

getVirtualMachineBytes()

public ByteString getVirtualMachineBytes()

The URI of the virtual machine resource

string virtual_machine = 1 [(.google.api.resource_reference) = { ... }

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