Package com.google.cloud.compute.v1
Interface VpnGatewayVpnGatewayInterfaceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
VpnGatewayVpnGatewayInterface
,VpnGatewayVpnGatewayInterface.Builder
public interface VpnGatewayVpnGatewayInterfaceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getId()
[Output Only] Numeric identifier for this VPN interface associated with the VPN gateway.String
getInterconnectAttachment()
URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface.com.google.protobuf.ByteString
getInterconnectAttachmentBytes()
URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface.String
getIpAddress()
[Output Only] IP address for this VPN interface associated with the VPN gateway.com.google.protobuf.ByteString
getIpAddressBytes()
[Output Only] IP address for this VPN interface associated with the VPN gateway.boolean
hasId()
[Output Only] Numeric identifier for this VPN interface associated with the VPN gateway.boolean
hasInterconnectAttachment()
URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface.boolean
hasIpAddress()
[Output Only] IP address for this VPN interface associated with the VPN gateway.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasId
boolean hasId()
[Output Only] Numeric identifier for this VPN interface associated with the VPN gateway.
optional uint32 id = 3355;
- Returns:
- Whether the id field is set.
-
getId
int getId()
[Output Only] Numeric identifier for this VPN interface associated with the VPN gateway.
optional uint32 id = 3355;
- Returns:
- The id.
-
hasInterconnectAttachment
boolean hasInterconnectAttachment()
URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for HA VPN over Cloud Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the specified VLAN attachment resource.
optional string interconnect_attachment = 308135284;
- Returns:
- Whether the interconnectAttachment field is set.
-
getInterconnectAttachment
String getInterconnectAttachment()
URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for HA VPN over Cloud Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the specified VLAN attachment resource.
optional string interconnect_attachment = 308135284;
- Returns:
- The interconnectAttachment.
-
getInterconnectAttachmentBytes
com.google.protobuf.ByteString getInterconnectAttachmentBytes()
URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for HA VPN over Cloud Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the specified VLAN attachment resource.
optional string interconnect_attachment = 308135284;
- Returns:
- The bytes for interconnectAttachment.
-
hasIpAddress
boolean hasIpAddress()
[Output Only] IP address for this VPN interface associated with the VPN gateway. The IP address could be either a regional external IP address or a regional internal IP address. The two IP addresses for a VPN gateway must be all regional external or regional internal IP addresses. There cannot be a mix of regional external IP addresses and regional internal IP addresses. For HA VPN over Cloud Interconnect, the IP addresses for both interfaces could either be regional internal IP addresses or regional external IP addresses. For regular (non HA VPN over Cloud Interconnect) HA VPN tunnels, the IP address must be a regional external IP address.
optional string ip_address = 406272220;
- Returns:
- Whether the ipAddress field is set.
-
getIpAddress
String getIpAddress()
[Output Only] IP address for this VPN interface associated with the VPN gateway. The IP address could be either a regional external IP address or a regional internal IP address. The two IP addresses for a VPN gateway must be all regional external or regional internal IP addresses. There cannot be a mix of regional external IP addresses and regional internal IP addresses. For HA VPN over Cloud Interconnect, the IP addresses for both interfaces could either be regional internal IP addresses or regional external IP addresses. For regular (non HA VPN over Cloud Interconnect) HA VPN tunnels, the IP address must be a regional external IP address.
optional string ip_address = 406272220;
- Returns:
- The ipAddress.
-
getIpAddressBytes
com.google.protobuf.ByteString getIpAddressBytes()
[Output Only] IP address for this VPN interface associated with the VPN gateway. The IP address could be either a regional external IP address or a regional internal IP address. The two IP addresses for a VPN gateway must be all regional external or regional internal IP addresses. There cannot be a mix of regional external IP addresses and regional internal IP addresses. For HA VPN over Cloud Interconnect, the IP addresses for both interfaces could either be regional internal IP addresses or regional external IP addresses. For regular (non HA VPN over Cloud Interconnect) HA VPN tunnels, the IP address must be a regional external IP address.
optional string ip_address = 406272220;
- Returns:
- The bytes for ipAddress.
-
-