Interface Router.InterfaceOrBuilder (0.3.0)

public static interface Router.InterfaceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getIpv4Cidr()

public abstract String getIpv4Cidr()

IP address and range of the interface.

string ipv4_cidr = 3;

Returns
TypeDescription
String

The ipv4Cidr.

getIpv4CidrBytes()

public abstract ByteString getIpv4CidrBytes()

IP address and range of the interface.

string ipv4_cidr = 3;

Returns
TypeDescription
ByteString

The bytes for ipv4Cidr.

getIpv6Cidr()

public abstract String getIpv6Cidr()

IPv6 address and range of the interface.

string ipv6_cidr = 6;

Returns
TypeDescription
String

The ipv6Cidr.

getIpv6CidrBytes()

public abstract ByteString getIpv6CidrBytes()

IPv6 address and range of the interface.

string ipv6_cidr = 6;

Returns
TypeDescription
ByteString

The bytes for ipv6Cidr.

getLinkedInterconnectAttachment()

public abstract String getLinkedInterconnectAttachment()

The canonical name of the linked Interconnect attachment.

string linked_interconnect_attachment = 2;

Returns
TypeDescription
String

The linkedInterconnectAttachment.

getLinkedInterconnectAttachmentBytes()

public abstract ByteString getLinkedInterconnectAttachmentBytes()

The canonical name of the linked Interconnect attachment.

string linked_interconnect_attachment = 2;

Returns
TypeDescription
ByteString

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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

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
TypeDescription
int

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
TypeDescription
List<String>

A list containing the loopbackIpAddresses.

getName()

public abstract String getName()

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

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

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

string name = 1;

Returns
TypeDescription
ByteString

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
TypeDescription
String

The subnetwork.

getSubnetworkBytes()

public abstract ByteString getSubnetworkBytes()

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

string subnetwork = 4;

Returns
TypeDescription
ByteString

The bytes for subnetwork.