Interface VpnGatewayStatusVpnConnectionOrBuilder (1.52.0)

public interface VpnGatewayStatusVpnConnectionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPeerExternalGateway()

public abstract String getPeerExternalGateway()

URL reference to the peer external VPN gateways to which the VPN tunnels in this VPN connection are connected. This field is mutually exclusive with peer_gcp_gateway.

optional string peer_external_gateway = 384956173;

Returns
Type Description
String

The peerExternalGateway.

getPeerExternalGatewayBytes()

public abstract ByteString getPeerExternalGatewayBytes()

URL reference to the peer external VPN gateways to which the VPN tunnels in this VPN connection are connected. This field is mutually exclusive with peer_gcp_gateway.

optional string peer_external_gateway = 384956173;

Returns
Type Description
ByteString

The bytes for peerExternalGateway.

getPeerGcpGateway()

public abstract String getPeerGcpGateway()

URL reference to the peer side VPN gateways to which the VPN tunnels in this VPN connection are connected. This field is mutually exclusive with peer_gcp_gateway.

optional string peer_gcp_gateway = 281867452;

Returns
Type Description
String

The peerGcpGateway.

getPeerGcpGatewayBytes()

public abstract ByteString getPeerGcpGatewayBytes()

URL reference to the peer side VPN gateways to which the VPN tunnels in this VPN connection are connected. This field is mutually exclusive with peer_gcp_gateway.

optional string peer_gcp_gateway = 281867452;

Returns
Type Description
ByteString

The bytes for peerGcpGateway.

getState()

public abstract VpnGatewayStatusHighAvailabilityRequirementState getState()

HighAvailabilityRequirementState for the VPN connection.

optional .google.cloud.compute.v1.VpnGatewayStatusHighAvailabilityRequirementState state = 109757585;

Returns
Type Description
VpnGatewayStatusHighAvailabilityRequirementState

The state.

getStateOrBuilder()

public abstract VpnGatewayStatusHighAvailabilityRequirementStateOrBuilder getStateOrBuilder()

HighAvailabilityRequirementState for the VPN connection.

optional .google.cloud.compute.v1.VpnGatewayStatusHighAvailabilityRequirementState state = 109757585;

Returns
Type Description
VpnGatewayStatusHighAvailabilityRequirementStateOrBuilder

getTunnels(int index)

public abstract VpnGatewayStatusTunnel getTunnels(int index)

List of VPN tunnels that are in this VPN connection.

repeated .google.cloud.compute.v1.VpnGatewayStatusTunnel tunnels = 104561931;

Parameter
Name Description
index int
Returns
Type Description
VpnGatewayStatusTunnel

getTunnelsCount()

public abstract int getTunnelsCount()

List of VPN tunnels that are in this VPN connection.

repeated .google.cloud.compute.v1.VpnGatewayStatusTunnel tunnels = 104561931;

Returns
Type Description
int

getTunnelsList()

public abstract List<VpnGatewayStatusTunnel> getTunnelsList()

List of VPN tunnels that are in this VPN connection.

repeated .google.cloud.compute.v1.VpnGatewayStatusTunnel tunnels = 104561931;

Returns
Type Description
List<VpnGatewayStatusTunnel>

getTunnelsOrBuilder(int index)

public abstract VpnGatewayStatusTunnelOrBuilder getTunnelsOrBuilder(int index)

List of VPN tunnels that are in this VPN connection.

repeated .google.cloud.compute.v1.VpnGatewayStatusTunnel tunnels = 104561931;

Parameter
Name Description
index int
Returns
Type Description
VpnGatewayStatusTunnelOrBuilder

getTunnelsOrBuilderList()

public abstract List<? extends VpnGatewayStatusTunnelOrBuilder> getTunnelsOrBuilderList()

List of VPN tunnels that are in this VPN connection.

repeated .google.cloud.compute.v1.VpnGatewayStatusTunnel tunnels = 104561931;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.VpnGatewayStatusTunnelOrBuilder>

hasPeerExternalGateway()

public abstract boolean hasPeerExternalGateway()

URL reference to the peer external VPN gateways to which the VPN tunnels in this VPN connection are connected. This field is mutually exclusive with peer_gcp_gateway.

optional string peer_external_gateway = 384956173;

Returns
Type Description
boolean

Whether the peerExternalGateway field is set.

hasPeerGcpGateway()

public abstract boolean hasPeerGcpGateway()

URL reference to the peer side VPN gateways to which the VPN tunnels in this VPN connection are connected. This field is mutually exclusive with peer_gcp_gateway.

optional string peer_gcp_gateway = 281867452;

Returns
Type Description
boolean

Whether the peerGcpGateway field is set.

hasState()

public abstract boolean hasState()

HighAvailabilityRequirementState for the VPN connection.

optional .google.cloud.compute.v1.VpnGatewayStatusHighAvailabilityRequirementState state = 109757585;

Returns
Type Description
boolean

Whether the state field is set.