Class VpnGatewayVpnGatewayInterface (1.88.0)

public final class VpnGatewayVpnGatewayInterface extends GeneratedMessageV3 implements VpnGatewayVpnGatewayInterfaceOrBuilder

A VPN gateway interface.

Protobuf type google.cloud.compute.v1.VpnGatewayVpnGatewayInterface

Static Fields

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
Type Description
int

INTERCONNECT_ATTACHMENT_FIELD_NUMBER

public static final int INTERCONNECT_ATTACHMENT_FIELD_NUMBER
Field Value
Type Description
int

IPV6_ADDRESS_FIELD_NUMBER

public static final int IPV6_ADDRESS_FIELD_NUMBER
Field Value
Type Description
int

IP_ADDRESS_FIELD_NUMBER

public static final int IP_ADDRESS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static VpnGatewayVpnGatewayInterface getDefaultInstance()
Returns
Type Description
VpnGatewayVpnGatewayInterface

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static VpnGatewayVpnGatewayInterface.Builder newBuilder()
Returns
Type Description
VpnGatewayVpnGatewayInterface.Builder

newBuilder(VpnGatewayVpnGatewayInterface prototype)

public static VpnGatewayVpnGatewayInterface.Builder newBuilder(VpnGatewayVpnGatewayInterface prototype)
Parameter
Name Description
prototype VpnGatewayVpnGatewayInterface
Returns
Type Description
VpnGatewayVpnGatewayInterface.Builder

parseDelimitedFrom(InputStream input)

public static VpnGatewayVpnGatewayInterface parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VpnGatewayVpnGatewayInterface
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VpnGatewayVpnGatewayInterface parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VpnGatewayVpnGatewayInterface
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static VpnGatewayVpnGatewayInterface parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
VpnGatewayVpnGatewayInterface
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VpnGatewayVpnGatewayInterface parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VpnGatewayVpnGatewayInterface
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VpnGatewayVpnGatewayInterface parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
VpnGatewayVpnGatewayInterface
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VpnGatewayVpnGatewayInterface parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VpnGatewayVpnGatewayInterface
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VpnGatewayVpnGatewayInterface parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
VpnGatewayVpnGatewayInterface
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VpnGatewayVpnGatewayInterface parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VpnGatewayVpnGatewayInterface
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static VpnGatewayVpnGatewayInterface parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VpnGatewayVpnGatewayInterface
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VpnGatewayVpnGatewayInterface parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VpnGatewayVpnGatewayInterface
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static VpnGatewayVpnGatewayInterface parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
VpnGatewayVpnGatewayInterface
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VpnGatewayVpnGatewayInterface parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VpnGatewayVpnGatewayInterface
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<VpnGatewayVpnGatewayInterface> parser()
Returns
Type Description
Parser<VpnGatewayVpnGatewayInterface>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public VpnGatewayVpnGatewayInterface getDefaultInstanceForType()
Returns
Type Description
VpnGatewayVpnGatewayInterface

getId()

public int getId()

[Output Only] Numeric identifier for this VPN interface associated with the VPN gateway.

optional uint32 id = 3355;

Returns
Type Description
int

The id.

getInterconnectAttachment()