Interface VpnGatewayVpnGatewayInterfaceOrBuilder (1.42.0)

public interface VpnGatewayVpnGatewayInterfaceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getId()

public abstract int getId()

[Output Only] Numeric identifier for this VPN interface associated with the VPN gateway.

optional uint32 id = 3355;

Returns
TypeDescription
int

The id.

getInterconnectAttachment()

public abstract String getInterconnectAttachment()

URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for HA VPN over Cloud Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the specified VLAN attachment resource.

optional string interconnect_attachment = 308135284;

Returns
TypeDescription
String

The interconnectAttachment.

getInterconnectAttachmentBytes()

public abstract ByteString getInterconnectAttachmentBytes()

URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for HA VPN over Cloud Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the specified VLAN attachment resource.

optional string interconnect_attachment = 308135284;

Returns
TypeDescription
ByteString

The bytes for interconnectAttachment.

getIpAddress()

public abstract String getIpAddress()

[Output Only] IP address for this VPN interface associated with the VPN gateway. The IP address could be either a regional external IP address or a regional internal IP address. The two IP addresses for a VPN gateway must be all regional external or regional internal IP addresses. There cannot be a mix of regional external IP addresses and regional internal IP addresses. For HA VPN over Cloud Interconnect, the IP addresses for both interfaces could either be regional internal IP addresses or regional external IP addresses. For regular (non HA VPN over Cloud Interconnect) HA VPN tunnels, the IP address must be a regional external IP address.

optional string ip_address = 406272220;

Returns
TypeDescription
String

The ipAddress.

getIpAddressBytes()

public abstract ByteString getIpAddressBytes()

[Output Only] IP address for this VPN interface associated with the VPN gateway. The IP address could be either a regional external IP address or a regional internal IP address. The two IP addresses for a VPN gateway must be all regional external or regional internal IP addresses. There cannot be a mix of regional external IP addresses and regional internal IP addresses. For HA VPN over Cloud Interconnect, the IP addresses for both interfaces could either be regional internal IP addresses or regional external IP addresses. For regular (non HA VPN over Cloud Interconnect) HA VPN tunnels, the IP address must be a regional external IP address.

optional string ip_address = 406272220;

Returns
TypeDescription
ByteString

The bytes for ipAddress.

hasId()

public abstract boolean hasId()

[Output Only] Numeric identifier for this VPN interface associated with the VPN gateway.

optional uint32 id = 3355;

Returns
TypeDescription
boolean

Whether the id field is set.

hasInterconnectAttachment()

public abstract boolean hasInterconnectAttachment()

URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for HA VPN over Cloud Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the specified VLAN attachment resource.

optional string interconnect_attachment = 308135284;

Returns
TypeDescription
boolean

Whether the interconnectAttachment field is set.

hasIpAddress()

public abstract boolean hasIpAddress()

[Output Only] IP address for this VPN interface associated with the VPN gateway. The IP address could be either a regional external IP address or a regional internal IP address. The two IP addresses for a VPN gateway must be all regional external or regional internal IP addresses. There cannot be a mix of regional external IP addresses and regional internal IP addresses. For HA VPN over Cloud Interconnect, the IP addresses for both interfaces could either be regional internal IP addresses or regional external IP addresses. For regular (non HA VPN over Cloud Interconnect) HA VPN tunnels, the IP address must be a regional external IP address.

optional string ip_address = 406272220;

Returns
TypeDescription
boolean

Whether the ipAddress field is set.