Interface VpnGatewayStatusTunnelOrBuilder (1.91.0)

public interface VpnGatewayStatusTunnelOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLocalGatewayInterface()

public abstract int getLocalGatewayInterface()

Output only. The VPN gateway interface this VPN tunnel is associated with.

optional uint32 local_gateway_interface = 158764330;

Returns
Type Description
int

The localGatewayInterface.

getPeerGatewayInterface()

public abstract int getPeerGatewayInterface()

Output only. The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an external VPN gateway or a Google Cloud VPN gateway.

optional uint32 peer_gateway_interface = 214380385;

Returns
Type Description
int

The peerGatewayInterface.

getTunnelUrl()

public abstract String getTunnelUrl()

Output only. URL reference to the VPN tunnel.

optional string tunnel_url = 78975256;

Returns
Type Description
String

The tunnelUrl.

getTunnelUrlBytes()

public abstract ByteString getTunnelUrlBytes()

Output only. URL reference to the VPN tunnel.

optional string tunnel_url = 78975256;

Returns
Type Description
ByteString

The bytes for tunnelUrl.

hasLocalGatewayInterface()

public abstract boolean hasLocalGatewayInterface()

Output only. The VPN gateway interface this VPN tunnel is associated with.

optional uint32 local_gateway_interface = 158764330;

Returns
Type Description
boolean

Whether the localGatewayInterface field is set.

hasPeerGatewayInterface()

public abstract boolean hasPeerGatewayInterface()

Output only. The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an external VPN gateway or a Google Cloud VPN gateway.

optional uint32 peer_gateway_interface = 214380385;

Returns
Type Description
boolean

Whether the peerGatewayInterface field is set.

hasTunnelUrl()

public abstract boolean hasTunnelUrl()

Output only. URL reference to the VPN tunnel.

optional string tunnel_url = 78975256;

Returns
Type Description
boolean

Whether the tunnelUrl field is set.