# Interface Router.InterfaceOrBuilder (0.61.0)

0.61.0 (latest) 0.59.0 0.56.0 0.55.0 0.53.0 0.51.0 0.50.0 0.49.0 0.48.0 0.46.0 0.44.0 0.43.0 0.42.0 0.41.0 0.40.0 0.38.0 0.36.0 0.35.0 0.32.0 0.31.0 0.30.0 0.28.0 0.27.0 0.26.0 0.25.0 0.24.0 0.23.0 0.22.0 0.21.0 0.20.0 0.19.0 0.17.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0

    public static interface Router.InterfaceOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getIpv4Cidr()

    public abstract String getIpv4Cidr()

IP address and range of the interface.

`string ipv4_cidr = 3;`

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

### getIpv4CidrBytes()

    public abstract ByteString getIpv4CidrBytes()

IP address and range of the interface.

`string ipv4_cidr = 3;`

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

### getIpv6Cidr()

    public abstract String getIpv6Cidr()

IPv6 address and range of the interface.

`string ipv6_cidr = 6;`

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

### getIpv6CidrBytes()

    public abstract ByteString getIpv6CidrBytes()

IPv6 address and range of the interface.

`string ipv6_cidr = 6;`

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

### getLinkedInterconnectAttachment()

    public abstract String getLinkedInterconnectAttachment()

The canonical name of the linked Interconnect attachment.

`string linked_interconnect_attachment = 2;`

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

### getLinkedInterconnectAttachmentBytes()

    public abstract ByteString getLinkedInterconnectAttachmentBytes()

The canonical name of the linked Interconnect attachment.

`string linked_interconnect_attachment = 2;`

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

### getLoopbackIpAddresses(int index)

    public abstract String getLoopbackIpAddresses(int index)

Create loopback interface in the router when specified.
The number of IP addresses must match the number of TOR devices.

`repeated string loopback_ip_addresses = 5;`

| **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 loopbackIpAddresses at the given index. |

### getLoopbackIpAddressesBytes(int index)

    public abstract ByteString getLoopbackIpAddressesBytes(int index)

Create loopback interface in the router when specified.
The number of IP addresses must match the number of TOR devices.

`repeated string loopback_ip_addresses = 5;`

| **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 loopbackIpAddresses at the given index. |

### getLoopbackIpAddressesCount()

    public abstract int getLoopbackIpAddressesCount()

Create loopback interface in the router when specified.
The number of IP addresses must match the number of TOR devices.

`repeated string loopback_ip_addresses = 5;`

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

### getLoopbackIpAddressesList()

    public abstract List<String> getLoopbackIpAddressesList()

Create loopback interface in the router when specified.
The number of IP addresses must match the number of TOR devices.

`repeated string loopback_ip_addresses = 5;`

| **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 loopbackIpAddresses. |

### getName()

    public abstract String getName()

Name of this interface entry. Unique within the Zones resource.

`string name = 1;`

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

### getNameBytes()

    public abstract ByteString getNameBytes()

Name of this interface entry. Unique within the Zones resource.

`string name = 1;`

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

### getSubnetwork()

    public abstract String getSubnetwork()

The canonical name of the subnetwork resource that this interface
belongs to.

`string subnetwork = 4;`

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

### getSubnetworkBytes()

    public abstract ByteString getSubnetworkBytes()

The canonical name of the subnetwork resource that this interface
belongs to.

`string subnetwork = 4;`

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