public final class VpnGatewayStatusTunnel extends GeneratedMessageV3 implements VpnGatewayStatusTunnelOrBuilder
Contains some information about a VPN tunnel.
Protobuf type google.cloud.compute.v1.VpnGatewayStatusTunnel
Static Fields
LOCAL_GATEWAY_INTERFACE_FIELD_NUMBER
public static final int LOCAL_GATEWAY_INTERFACE_FIELD_NUMBER
Field Value
PEER_GATEWAY_INTERFACE_FIELD_NUMBER
public static final int PEER_GATEWAY_INTERFACE_FIELD_NUMBER
Field Value
TUNNEL_URL_FIELD_NUMBER
public static final int TUNNEL_URL_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static VpnGatewayStatusTunnel getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static VpnGatewayStatusTunnel.Builder newBuilder()
Returns
newBuilder(VpnGatewayStatusTunnel prototype)
public static VpnGatewayStatusTunnel.Builder newBuilder(VpnGatewayStatusTunnel prototype)
Parameter
Returns
public static VpnGatewayStatusTunnel parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static VpnGatewayStatusTunnel parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static VpnGatewayStatusTunnel parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VpnGatewayStatusTunnel parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static VpnGatewayStatusTunnel parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VpnGatewayStatusTunnel parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VpnGatewayStatusTunnel parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static VpnGatewayStatusTunnel parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VpnGatewayStatusTunnel parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static VpnGatewayStatusTunnel parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static VpnGatewayStatusTunnel parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VpnGatewayStatusTunnel parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<VpnGatewayStatusTunnel> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public VpnGatewayStatusTunnel getDefaultInstanceForType()
Returns
getLocalGatewayInterface()
public int getLocalGatewayInterface()
The VPN gateway interface this VPN tunnel is associated with.
optional uint32 local_gateway_interface = 158764330;
Returns
Type | Description |
int | The localGatewayInterface.
|
getParserForType()
public Parser<VpnGatewayStatusTunnel> getParserForType()
Returns
Overrides
getPeerGatewayInterface()
public int getPeerGatewayInterface()
The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an external VPN gateway or GCP VPN gateway.
optional uint32 peer_gateway_interface = 214380385;
Returns
Type | Description |
int | The peerGatewayInterface.
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getTunnelUrl()
public String getTunnelUrl()
URL reference to the VPN tunnel.
optional string tunnel_url = 78975256;
Returns
Type | Description |
String | The tunnelUrl.
|
getTunnelUrlBytes()
public ByteString getTunnelUrlBytes()
URL reference to the VPN tunnel.
optional string tunnel_url = 78975256;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasLocalGatewayInterface()
public boolean hasLocalGatewayInterface()
The VPN gateway interface this VPN tunnel is associated with.
optional uint32 local_gateway_interface = 158764330;
Returns
Type | Description |
boolean | Whether the localGatewayInterface field is set.
|
hasPeerGatewayInterface()
public boolean hasPeerGatewayInterface()
The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an external VPN gateway or GCP VPN gateway.
optional uint32 peer_gateway_interface = 214380385;
Returns
Type | Description |
boolean | Whether the peerGatewayInterface field is set.
|
hasTunnelUrl()
public boolean hasTunnelUrl()
URL reference to the VPN tunnel.
optional string tunnel_url = 78975256;
Returns
Type | Description |
boolean | Whether the tunnelUrl field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public VpnGatewayStatusTunnel.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VpnGatewayStatusTunnel.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public VpnGatewayStatusTunnel.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions