# Interface LinkedVpnTunnelsOrBuilder (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.networkconnectivity.v1.LinkedVpnTunnelsOrBuilder)
- [0.15.0](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.networkconnectivity.v1.LinkedVpnTunnelsOrBuilder)
- [0.14.1](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.networkconnectivity.v1.LinkedVpnTunnelsOrBuilder)

    public interface LinkedVpnTunnelsOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getSiteToSiteDataTransfer()

    public abstract boolean getSiteToSiteDataTransfer()

A value that controls whether site-to-site data transfer is enabled for
these resources. Data transfer is available only in [supported
locations](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/locations).

`bool site_to_site_data_transfer = 2;`

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

### getUris(int index)

    public abstract String getUris(int index)

The URIs of linked VPN tunnel resources.

`repeated string uris = 1;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the element to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The uris at the given index. |

### getUrisBytes(int index)

    public abstract ByteString getUrisBytes(int index)

The URIs of linked VPN tunnel resources.

`repeated string uris = 1;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the value to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes of the uris at the given index. |

### getUrisCount()

    public abstract int getUrisCount()

The URIs of linked VPN tunnel resources.

`repeated string uris = 1;`

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

### getUrisList()

    public abstract List<String> getUrisList()

The URIs of linked VPN tunnel resources.

`repeated string uris = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` | A list containing the uris. |

### getVpcNetwork()

    public abstract String getVpcNetwork()

Output only. The VPC network where these VPN tunnels are located.

`string vpc_network = 3;`

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

### getVpcNetworkBytes()

    public abstract ByteString getVpcNetworkBytes()

Output only. The VPC network where these VPN tunnels are located.

`string vpc_network = 3;`

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