Package com.google.cloud.compute.v1
Interface VpnGatewayStatusVpnConnectionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
VpnGatewayStatusVpnConnection,VpnGatewayStatusVpnConnection.Builder
@Generated
public interface VpnGatewayStatusVpnConnectionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOutput only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.getState()HighAvailabilityRequirementState for the VPN connection.HighAvailabilityRequirementState for the VPN connection.getTunnels(int index) List of VPN tunnels that are in this VPN connection.intList of VPN tunnels that are in this VPN connection.List of VPN tunnels that are in this VPN connection.getTunnelsOrBuilder(int index) List of VPN tunnels that are in this VPN connection.List<? extends VpnGatewayStatusTunnelOrBuilder>List of VPN tunnels that are in this VPN connection.booleanOutput only.booleanOutput only.booleanhasState()HighAvailabilityRequirementState for the VPN connection.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasPeerExternalGateway
boolean hasPeerExternalGateway()Output only. 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:
- Whether the peerExternalGateway field is set.
-
getPeerExternalGateway
String getPeerExternalGateway()Output only. 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:
- The peerExternalGateway.
-
getPeerExternalGatewayBytes
com.google.protobuf.ByteString getPeerExternalGatewayBytes()Output only. 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:
- The bytes for peerExternalGateway.
-
hasPeerGcpGateway
boolean hasPeerGcpGateway()Output only. 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:
- Whether the peerGcpGateway field is set.
-
getPeerGcpGateway
String getPeerGcpGateway()Output only. 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:
- The peerGcpGateway.
-
getPeerGcpGatewayBytes
com.google.protobuf.ByteString getPeerGcpGatewayBytes()Output only. 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:
- The bytes for peerGcpGateway.
-
hasState
boolean hasState()HighAvailabilityRequirementState for the VPN connection.
optional .google.cloud.compute.v1.VpnGatewayStatusHighAvailabilityRequirementState state = 109757585;- Returns:
- Whether the state field is set.
-
getState
HighAvailabilityRequirementState for the VPN connection.
optional .google.cloud.compute.v1.VpnGatewayStatusHighAvailabilityRequirementState state = 109757585;- Returns:
- The state.
-
getStateOrBuilder
VpnGatewayStatusHighAvailabilityRequirementStateOrBuilder getStateOrBuilder()HighAvailabilityRequirementState for the VPN connection.
optional .google.cloud.compute.v1.VpnGatewayStatusHighAvailabilityRequirementState state = 109757585; -
getTunnelsList
List<VpnGatewayStatusTunnel> getTunnelsList()List of VPN tunnels that are in this VPN connection.
repeated .google.cloud.compute.v1.VpnGatewayStatusTunnel tunnels = 104561931; -
getTunnels
List of VPN tunnels that are in this VPN connection.
repeated .google.cloud.compute.v1.VpnGatewayStatusTunnel tunnels = 104561931; -
getTunnelsCount
int getTunnelsCount()List of VPN tunnels that are in this VPN connection.
repeated .google.cloud.compute.v1.VpnGatewayStatusTunnel tunnels = 104561931; -
getTunnelsOrBuilderList
List<? extends VpnGatewayStatusTunnelOrBuilder> getTunnelsOrBuilderList()List of VPN tunnels that are in this VPN connection.
repeated .google.cloud.compute.v1.VpnGatewayStatusTunnel tunnels = 104561931; -
getTunnelsOrBuilder
List of VPN tunnels that are in this VPN connection.
repeated .google.cloud.compute.v1.VpnGatewayStatusTunnel tunnels = 104561931;
-