Send feedback
Class ExternalVpnGatewayInterface (1.12.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.12.0 keyboard_arrow_down
public final class ExternalVpnGatewayInterface extends GeneratedMessageV3 implements ExternalVpnGatewayInterfaceOrBuilder
The interface for the external VPN gateway.
Protobuf type google.cloud.compute.v1.ExternalVpnGatewayInterface
Static Fields
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
Field Value
IP_ADDRESS_FIELD_NUMBER
public static final int IP_ADDRESS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ExternalVpnGatewayInterface getDefaultInstance ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
newBuilder()
public static ExternalVpnGatewayInterface . Builder newBuilder ()
Returns
newBuilder(ExternalVpnGatewayInterface prototype)
public static ExternalVpnGatewayInterface . Builder newBuilder ( ExternalVpnGatewayInterface prototype )
Parameter
Returns
public static ExternalVpnGatewayInterface parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static ExternalVpnGatewayInterface parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ExternalVpnGatewayInterface parseFrom ( byte [] data )
Parameter
Name Description data byte []
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ExternalVpnGatewayInterface parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ExternalVpnGatewayInterface parseFrom ( ByteString data )
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ExternalVpnGatewayInterface parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static ExternalVpnGatewayInterface parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static ExternalVpnGatewayInterface parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static ExternalVpnGatewayInterface parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static ExternalVpnGatewayInterface parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ExternalVpnGatewayInterface parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ExternalVpnGatewayInterface parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parser()
public static Parser<ExternalVpnGatewayInterface> parser ()
Returns
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ExternalVpnGatewayInterface getDefaultInstanceForType ()
Returns
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
Type Description int The id.
getIpAddress()
public 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
Type Description String The ipAddress.
getIpAddressBytes()
public 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
getParserForType()
public Parser<ExternalVpnGatewayInterface> getParserForType ()
Returns
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
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
Type Description boolean Whether the id field is set.
hasIpAddress()
public 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
Type Description boolean Whether the ipAddress field is set.
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
newBuilderForType()
public ExternalVpnGatewayInterface . Builder newBuilderForType ()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ExternalVpnGatewayInterface . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
toBuilder()
public ExternalVpnGatewayInterface . Builder toBuilder ()
Returns
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]