Interface ForwardSshTunnelConnectivityOrBuilder (2.45.0)

public interface ForwardSshTunnelConnectivityOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAuthenticationMethodCase()

public abstract ForwardSshTunnelConnectivity.AuthenticationMethodCase getAuthenticationMethodCase()
Returns
Type Description
ForwardSshTunnelConnectivity.AuthenticationMethodCase

getHostname()

public abstract String getHostname()

Required. Hostname for the SSH tunnel.

string hostname = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The hostname.

getHostnameBytes()

public abstract ByteString getHostnameBytes()

Required. Hostname for the SSH tunnel.

string hostname = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for hostname.

getPassword()

public abstract String getPassword()

Input only. SSH password.

string password = 100 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
String

The password.

getPasswordBytes()

public abstract ByteString getPasswordBytes()

Input only. SSH password.

string password = 100 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
ByteString

The bytes for password.

getPort()

public abstract int getPort()

Port for the SSH tunnel, default value is 22.

int32 port = 3;

Returns
Type Description
int

The port.

getPrivateKey()

public abstract String getPrivateKey()

Input only. SSH private key.

string private_key = 101 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
String

The privateKey.

getPrivateKeyBytes()

public abstract ByteString getPrivateKeyBytes()

Input only. SSH private key.

string private_key = 101 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
ByteString

The bytes for privateKey.

getUsername()

public abstract String getUsername()

Required. Username for the SSH tunnel.

string username = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The username.

getUsernameBytes()

public abstract ByteString getUsernameBytes()

Required. Username for the SSH tunnel.

string username = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for username.

hasPassword()

public abstract boolean hasPassword()

Input only. SSH password.

string password = 100 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
boolean

Whether the password field is set.

hasPrivateKey()

public abstract boolean hasPrivateKey()

Input only. SSH private key.

string private_key = 101 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
boolean

Whether the privateKey field is set.