Interface ForwardSshTunnelConnectivityOrBuilder

    • Method Detail

      • getHostname

        String getHostname()
         Required. Hostname for the SSH tunnel.
         
        string hostname = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The hostname.
      • getHostnameBytes

        com.google.protobuf.ByteString getHostnameBytes()
         Required. Hostname for the SSH tunnel.
         
        string hostname = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for hostname.
      • getUsername

        String getUsername()
         Required. Username for the SSH tunnel.
         
        string username = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The username.
      • getUsernameBytes

        com.google.protobuf.ByteString getUsernameBytes()
         Required. Username for the SSH tunnel.
         
        string username = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for username.
      • getPort

        int getPort()
         Port for the SSH tunnel, default value is 22.
         
        int32 port = 3;
        Returns:
        The port.
      • hasPassword

        boolean hasPassword()
         Input only. SSH password.
         
        string password = 100 [(.google.api.field_behavior) = INPUT_ONLY];
        Returns:
        Whether the password field is set.
      • getPassword

        String getPassword()
         Input only. SSH password.
         
        string password = 100 [(.google.api.field_behavior) = INPUT_ONLY];
        Returns:
        The password.
      • getPasswordBytes

        com.google.protobuf.ByteString getPasswordBytes()
         Input only. SSH password.
         
        string password = 100 [(.google.api.field_behavior) = INPUT_ONLY];
        Returns:
        The bytes for password.
      • hasPrivateKey

        boolean hasPrivateKey()
         Input only. SSH private key.
         
        string private_key = 101 [(.google.api.field_behavior) = INPUT_ONLY];
        Returns:
        Whether the privateKey field is set.
      • getPrivateKey

        String getPrivateKey()
         Input only. SSH private key.
         
        string private_key = 101 [(.google.api.field_behavior) = INPUT_ONLY];
        Returns:
        The privateKey.
      • getPrivateKeyBytes

        com.google.protobuf.ByteString getPrivateKeyBytes()
         Input only. SSH private key.
         
        string private_key = 101 [(.google.api.field_behavior) = INPUT_ONLY];
        Returns:
        The bytes for privateKey.