public final class VpnGatewayStatusTunnel extends GeneratedMessageV3 implements VpnGatewayStatusTunnelOrBuilder
Contains some information about a VPN tunnel.
Protobuf type google.cloud.compute.v1.VpnGatewayStatusTunnel
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
LOCAL_GATEWAY_INTERFACE_FIELD_NUMBER
public static final int LOCAL_GATEWAY_INTERFACE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PEER_GATEWAY_INTERFACE_FIELD_NUMBER
public static final int PEER_GATEWAY_INTERFACE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TUNNEL_URL_FIELD_NUMBER
public static final int TUNNEL_URL_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static VpnGatewayStatusTunnel getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static VpnGatewayStatusTunnel.Builder newBuilder()
newBuilder(VpnGatewayStatusTunnel prototype)
public static VpnGatewayStatusTunnel.Builder newBuilder(VpnGatewayStatusTunnel prototype)
public static VpnGatewayStatusTunnel parseDelimitedFrom(InputStream input)
public static VpnGatewayStatusTunnel parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static VpnGatewayStatusTunnel parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VpnGatewayStatusTunnel parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static VpnGatewayStatusTunnel parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VpnGatewayStatusTunnel parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VpnGatewayStatusTunnel parseFrom(CodedInputStream input)
public static VpnGatewayStatusTunnel parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static VpnGatewayStatusTunnel parseFrom(InputStream input)
public static VpnGatewayStatusTunnel parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static VpnGatewayStatusTunnel parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VpnGatewayStatusTunnel parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<VpnGatewayStatusTunnel> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public VpnGatewayStatusTunnel getDefaultInstanceForType()
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()
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 a Google Cloud VPN gateway.
optional uint32 peer_gateway_interface = 214380385;
Returns |
---|
Type | Description |
int | The peerGatewayInterface.
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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 |
---|
Type | Description |
ByteString | The bytes for tunnelUrl.
|
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 a Google Cloud 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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public VpnGatewayStatusTunnel.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VpnGatewayStatusTunnel.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public VpnGatewayStatusTunnel.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides