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
@Generated
public interface VpnGatewayVpnGatewayInterfaceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintgetId()Output only.URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface.com.google.protobuf.ByteStringURL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.booleanhasId()Output only.booleanURL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface.booleanOutput only.booleanOutput only.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
-
hasId
boolean hasId()Output only. [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. [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. [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. [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. [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.
-
hasIpv6Address
boolean hasIpv6Address()Output only. [Output Only] IPv6 address for this VPN interface associated with the VPN gateway. The IPv6 address must be a regional external IPv6 address. The format is RFC 5952 format (e.g. 2001:db8::2d9:51:0:0).
optional string ipv6_address = 341563804;- Returns:
- Whether the ipv6Address field is set.
-
getIpv6Address
String getIpv6Address()Output only. [Output Only] IPv6 address for this VPN interface associated with the VPN gateway. The IPv6 address must be a regional external IPv6 address. The format is RFC 5952 format (e.g. 2001:db8::2d9:51:0:0).
optional string ipv6_address = 341563804;- Returns:
- The ipv6Address.
-
getIpv6AddressBytes
com.google.protobuf.ByteString getIpv6AddressBytes()Output only. [Output Only] IPv6 address for this VPN interface associated with the VPN gateway. The IPv6 address must be a regional external IPv6 address. The format is RFC 5952 format (e.g. 2001:db8::2d9:51:0:0).
optional string ipv6_address = 341563804;- Returns:
- The bytes for ipv6Address.
-