Class VpnGatewayStatusTunnel (1.38.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 1.38.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
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  
      
        databyte [] 
     
  
  
  
  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  
      
        objObject  
     
  
  
  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 )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   VpnGatewayStatusTunnel . Builder   toBuilder ()  
  
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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-10-11 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]