# Interface ReverseSshConnectivityOrBuilder (0.16.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [0.16.0 (latest)](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.clouddms.v1.ReverseSshConnectivityOrBuilder)
- [0.15.0](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.clouddms.v1.ReverseSshConnectivityOrBuilder)
- [0.14.1](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.clouddms.v1.ReverseSshConnectivityOrBuilder)

    public interface ReverseSshConnectivityOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getVm()

    public abstract String getVm()

The name of the virtual machine (Compute Engine) used as the bastion server
for the SSH tunnel.

`string vm = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The vm. |

### getVmBytes()

    public abstract ByteString getVmBytes()

The name of the virtual machine (Compute Engine) used as the bastion server
for the SSH tunnel.

`string vm = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for vm. |

### getVmIp()

    public abstract String getVmIp()

Required. The IP of the virtual machine (Compute Engine) used as the
bastion server for the SSH tunnel.

`string vm_ip = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The vmIp. |

### getVmIpBytes()

    public abstract ByteString getVmIpBytes()

Required. The IP of the virtual machine (Compute Engine) used as the
bastion server for the SSH tunnel.

`string vm_ip = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for vmIp. |

### getVmPort()

    public abstract int getVmPort()

Required. The forwarding port of the virtual machine (Compute Engine) used
as the bastion server for the SSH tunnel.

`int32 vm_port = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The vmPort. |

### getVpc()

    public abstract String getVpc()

The name of the VPC to peer with the Cloud SQL private network.

`string vpc = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The vpc. |

### getVpcBytes()

    public abstract ByteString getVpcBytes()

The name of the VPC to peer with the Cloud SQL private network.

`string vpc = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for vpc. |