Interface VpnGatewayStatusVpnConnectionOrBuilder (1.25.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for peerGcpGateway.

getState()

public abstract VpnGatewayStatusHighAvailabilityRequirementState getState()

HighAvailabilityRequirementState for the VPN connection.

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

Returns
TypeDescription
VpnGatewayStatusHighAvailabilityRequirementState

The state.

getStateOrBuilder()

public abstract VpnGatewayStatusHighAvailabilityRequirementStateOrBuilder getStateOrBuilder()

HighAvailabilityRequirementState for the VPN connection.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the state field is set.