Package com.google.cloud.compute.v1
Interface VpnGatewayStatusTunnelOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
VpnGatewayStatusTunnel
,VpnGatewayStatusTunnel.Builder
public interface VpnGatewayStatusTunnelOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getLocalGatewayInterface()
The VPN gateway interface this VPN tunnel is associated with.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.String
getTunnelUrl()
URL reference to the VPN tunnel.com.google.protobuf.ByteString
getTunnelUrlBytes()
URL reference to the VPN tunnel.boolean
hasLocalGatewayInterface()
The VPN gateway interface this VPN tunnel is associated with.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.boolean
hasTunnelUrl()
URL reference to the VPN tunnel.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasLocalGatewayInterface
boolean hasLocalGatewayInterface()
The VPN gateway interface this VPN tunnel is associated with.
optional uint32 local_gateway_interface = 158764330;
- Returns:
- Whether the localGatewayInterface field is set.
-
getLocalGatewayInterface
int getLocalGatewayInterface()
The VPN gateway interface this VPN tunnel is associated with.
optional uint32 local_gateway_interface = 158764330;
- Returns:
- The localGatewayInterface.
-
hasPeerGatewayInterface
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:
- Whether the peerGatewayInterface field is set.
-
getPeerGatewayInterface
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:
- The peerGatewayInterface.
-
hasTunnelUrl
boolean hasTunnelUrl()
URL reference to the VPN tunnel.
optional string tunnel_url = 78975256;
- Returns:
- Whether the tunnelUrl field is set.
-
getTunnelUrl
String getTunnelUrl()
URL reference to the VPN tunnel.
optional string tunnel_url = 78975256;
- Returns:
- The tunnelUrl.
-
getTunnelUrlBytes
com.google.protobuf.ByteString getTunnelUrlBytes()
URL reference to the VPN tunnel.
optional string tunnel_url = 78975256;
- Returns:
- The bytes for tunnelUrl.
-
-