Class VpnGatewayStatusTunnel

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.VpnGatewayStatusTunnel
All Implemented Interfaces:
VpnGatewayStatusTunnelOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class VpnGatewayStatusTunnel extends com.google.protobuf.GeneratedMessage implements VpnGatewayStatusTunnelOrBuilder
 Contains some information about a VPN tunnel.
 
Protobuf type google.cloud.compute.v1.VpnGatewayStatusTunnel
See Also:
  • Field Details

    • LOCAL_GATEWAY_INTERFACE_FIELD_NUMBER

      public static final int LOCAL_GATEWAY_INTERFACE_FIELD_NUMBER
      See Also:
    • PEER_GATEWAY_INTERFACE_FIELD_NUMBER

      public static final int PEER_GATEWAY_INTERFACE_FIELD_NUMBER
      See Also:
    • TUNNEL_URL_FIELD_NUMBER

      public static final int TUNNEL_URL_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasLocalGatewayInterface

      public boolean hasLocalGatewayInterface()
       Output only. The VPN gateway interface this VPN tunnel is associated with.
       
      optional uint32 local_gateway_interface = 158764330;
      Specified by:
      hasLocalGatewayInterface in interface VpnGatewayStatusTunnelOrBuilder
      Returns:
      Whether the localGatewayInterface field is set.
    • getLocalGatewayInterface

      public int getLocalGatewayInterface()
       Output only. The VPN gateway interface this VPN tunnel is associated with.
       
      optional uint32 local_gateway_interface = 158764330;
      Specified by:
      getLocalGatewayInterface in interface VpnGatewayStatusTunnelOrBuilder
      Returns:
      The localGatewayInterface.
    • hasPeerGatewayInterface

      public boolean hasPeerGatewayInterface()
       Output only. 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;
      Specified by:
      hasPeerGatewayInterface in interface VpnGatewayStatusTunnelOrBuilder
      Returns:
      Whether the peerGatewayInterface field is set.
    • getPeerGatewayInterface

      public int getPeerGatewayInterface()
       Output only. 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;
      Specified by:
      getPeerGatewayInterface in interface VpnGatewayStatusTunnelOrBuilder
      Returns:
      The peerGatewayInterface.
    • hasTunnelUrl

      public boolean hasTunnelUrl()
       Output only. URL reference to the VPN tunnel.
       
      optional string tunnel_url = 78975256;
      Specified by:
      hasTunnelUrl in interface VpnGatewayStatusTunnelOrBuilder
      Returns:
      Whether the tunnelUrl field is set.
    • getTunnelUrl

      public String getTunnelUrl()
       Output only. URL reference to the VPN tunnel.
       
      optional string tunnel_url = 78975256;
      Specified by:
      getTunnelUrl in interface VpnGatewayStatusTunnelOrBuilder
      Returns:
      The tunnelUrl.
    • getTunnelUrlBytes

      public com.google.protobuf.ByteString getTunnelUrlBytes()
       Output only. URL reference to the VPN tunnel.
       
      optional string tunnel_url = 78975256;
      Specified by:
      getTunnelUrlBytes in interface VpnGatewayStatusTunnelOrBuilder
      Returns:
      The bytes for tunnelUrl.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static VpnGatewayStatusTunnel parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static VpnGatewayStatusTunnel parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static VpnGatewayStatusTunnel parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static VpnGatewayStatusTunnel parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static VpnGatewayStatusTunnel parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static VpnGatewayStatusTunnel parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static VpnGatewayStatusTunnel parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static VpnGatewayStatusTunnel parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static VpnGatewayStatusTunnel parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static VpnGatewayStatusTunnel parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static VpnGatewayStatusTunnel parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static VpnGatewayStatusTunnel parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public VpnGatewayStatusTunnel.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static VpnGatewayStatusTunnel.Builder newBuilder()
    • newBuilder

      public static VpnGatewayStatusTunnel.Builder newBuilder(VpnGatewayStatusTunnel prototype)
    • toBuilder

      public VpnGatewayStatusTunnel.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected VpnGatewayStatusTunnel.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static VpnGatewayStatusTunnel getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<VpnGatewayStatusTunnel> parser()
    • getParserForType

      public com.google.protobuf.Parser<VpnGatewayStatusTunnel> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public VpnGatewayStatusTunnel getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder