Interface ExternalVpnGatewayInterfaceOrBuilder (1.27.0)

public interface ExternalVpnGatewayInterfaceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getId()

public abstract int getId()

The numeric ID of this interface. The allowed input values for this id for different redundancy types of external VPN gateway: - SINGLE_IP_INTERNALLY_REDUNDANT - 0 - TWO_IPS_REDUNDANCY - 0, 1 - FOUR_IPS_REDUNDANCY - 0, 1, 2, 3

optional uint32 id = 3355;

Returns
TypeDescription
int

The id.

getIpAddress()

public abstract String getIpAddress()

IP address of the interface in the external VPN gateway. Only IPv4 is supported. This IP address can be either from your on-premise gateway or another Cloud provider's VPN gateway, it cannot be an IP address from Google Compute Engine.

optional string ip_address = 406272220;

Returns
TypeDescription
String

The ipAddress.

getIpAddressBytes()

public abstract ByteString getIpAddressBytes()

IP address of the interface in the external VPN gateway. Only IPv4 is supported. This IP address can be either from your on-premise gateway or another Cloud provider's VPN gateway, it cannot be an IP address from Google Compute Engine.

optional string ip_address = 406272220;

Returns
TypeDescription
ByteString

The bytes for ipAddress.

hasId()

public abstract boolean hasId()

The numeric ID of this interface. The allowed input values for this id for different redundancy types of external VPN gateway: - SINGLE_IP_INTERNALLY_REDUNDANT - 0 - TWO_IPS_REDUNDANCY - 0, 1 - FOUR_IPS_REDUNDANCY - 0, 1, 2, 3

optional uint32 id = 3355;

Returns
TypeDescription
boolean

Whether the id field is set.

hasIpAddress()

public abstract boolean hasIpAddress()

IP address of the interface in the external VPN gateway. Only IPv4 is supported. This IP address can be either from your on-premise gateway or another Cloud provider's VPN gateway, it cannot be an IP address from Google Compute Engine.

optional string ip_address = 406272220;

Returns
TypeDescription
boolean

Whether the ipAddress field is set.