Package com.google.cloud.compute.v1
Interface ExternalVpnGatewayInterfaceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ExternalVpnGatewayInterface,ExternalVpnGatewayInterface.Builder
@Generated
public interface ExternalVpnGatewayInterfaceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintgetId()The numeric ID of this interface.IP address of the interface in the external VPN gateway.com.google.protobuf.ByteStringIP address of the interface in the external VPN gateway.IPv6 address of the interface in the external VPN gateway.com.google.protobuf.ByteStringIPv6 address of the interface in the external VPN gateway.booleanhasId()The numeric ID of this interface.booleanIP address of the interface in the external VPN gateway.booleanIPv6 address of the interface in the external VPN gateway.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()The numeric ID of this interface. The allowed input values for this id for different redundancy types of external VPN gateway: - SINGLE_IP_INTERNALLY_REDUNDANT - 0 - TWO_IPS_REDUNDANCY - 0, 1 - FOUR_IPS_REDUNDANCY - 0, 1, 2, 3
optional uint32 id = 3355;- Returns:
- Whether the id field is set.
-
getId
int getId()The numeric ID of this interface. The allowed input values for this id for different redundancy types of external VPN gateway: - SINGLE_IP_INTERNALLY_REDUNDANT - 0 - TWO_IPS_REDUNDANCY - 0, 1 - FOUR_IPS_REDUNDANCY - 0, 1, 2, 3
optional uint32 id = 3355;- Returns:
- The id.
-
hasIpAddress
boolean hasIpAddress()IP address of the interface in the external VPN gateway. Only IPv4 is supported. This IP address can be either from your on-premise gateway or another Cloud provider's VPN gateway, it cannot be an IP address from Google Compute Engine.
optional string ip_address = 406272220;- Returns:
- Whether the ipAddress field is set.
-
getIpAddress
String getIpAddress()IP address of the interface in the external VPN gateway. Only IPv4 is supported. This IP address can be either from your on-premise gateway or another Cloud provider's VPN gateway, it cannot be an IP address from Google Compute Engine.
optional string ip_address = 406272220;- Returns:
- The ipAddress.
-
getIpAddressBytes
com.google.protobuf.ByteString getIpAddressBytes()IP address of the interface in the external VPN gateway. Only IPv4 is supported. This IP address can be either from your on-premise gateway or another Cloud provider's VPN gateway, it cannot be an IP address from Google Compute Engine.
optional string ip_address = 406272220;- Returns:
- The bytes for ipAddress.
-
hasIpv6Address
boolean hasIpv6Address()IPv6 address of the interface in the external VPN gateway. This IPv6 address can be either from your on-premise gateway or another Cloud provider's VPN gateway, it cannot be an IP address from Google Compute Engine. Must specify an IPv6 address (not IPV4-mapped) using any format described in RFC 4291 (e.g. 2001:db8:0:0:2d9:51:0:0). The output 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()IPv6 address of the interface in the external VPN gateway. This IPv6 address can be either from your on-premise gateway or another Cloud provider's VPN gateway, it cannot be an IP address from Google Compute Engine. Must specify an IPv6 address (not IPV4-mapped) using any format described in RFC 4291 (e.g. 2001:db8:0:0:2d9:51:0:0). The output 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()IPv6 address of the interface in the external VPN gateway. This IPv6 address can be either from your on-premise gateway or another Cloud provider's VPN gateway, it cannot be an IP address from Google Compute Engine. Must specify an IPv6 address (not IPV4-mapped) using any format described in RFC 4291 (e.g. 2001:db8:0:0:2d9:51:0:0). The output format is RFC 5952 format (e.g. 2001:db8::2d9:51:0:0).
optional string ipv6_address = 341563804;- Returns:
- The bytes for ipv6Address.
-