Interface VpnGatewayStatusTunnelOrBuilder (1.31.0)

public interface VpnGatewayStatusTunnelOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLocalGatewayInterface()

public abstract int getLocalGatewayInterface()

The VPN gateway interface this VPN tunnel is associated with.

optional uint32 local_gateway_interface = 158764330;

Returns
TypeDescription
int

The localGatewayInterface.

getPeerGatewayInterface()

public abstract int getPeerGatewayInterface()

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

The peerGatewayInterface.

getTunnelUrl()

public abstract String getTunnelUrl()

URL reference to the VPN tunnel.

optional string tunnel_url = 78975256;

Returns
TypeDescription
String

The tunnelUrl.

getTunnelUrlBytes()

public abstract ByteString getTunnelUrlBytes()

URL reference to the VPN tunnel.

optional string tunnel_url = 78975256;

Returns
TypeDescription
ByteString

The bytes for tunnelUrl.

hasLocalGatewayInterface()

public abstract boolean hasLocalGatewayInterface()

The VPN gateway interface this VPN tunnel is associated with.

optional uint32 local_gateway_interface = 158764330;

Returns
TypeDescription
boolean

Whether the localGatewayInterface field is set.

hasPeerGatewayInterface()

public abstract boolean hasPeerGatewayInterface()

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

Whether the peerGatewayInterface field is set.

hasTunnelUrl()

public abstract boolean hasTunnelUrl()

URL reference to the VPN tunnel.

optional string tunnel_url = 78975256;

Returns
TypeDescription
boolean

Whether the tunnelUrl field is set.