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
public interface ExternalVpnGatewayInterfaceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getId()
The numeric ID of this interface.String
getIpAddress()
IP address of the interface in the external VPN gateway.com.google.protobuf.ByteString
getIpAddressBytes()
IP address of the interface in the external VPN gateway.boolean
hasId()
The numeric ID of this interface.boolean
hasIpAddress()
IP address of the interface in the external 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()
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.
-
-