Interface ForwardSshTunnelConnectivityOrBuilder (2.40.0)

public interface ForwardSshTunnelConnectivityOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAuthenticationMethodCase()

public abstract ForwardSshTunnelConnectivity.AuthenticationMethodCase getAuthenticationMethodCase()
Returns
TypeDescription
ForwardSshTunnelConnectivity.AuthenticationMethodCase

getHostname()

public abstract String getHostname()

Required. Hostname for the SSH tunnel.

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

Returns
TypeDescription
String

The hostname.

getHostnameBytes()

public abstract ByteString getHostnameBytes()

Required. Hostname for the SSH tunnel.

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

Returns
TypeDescription
ByteString

The bytes for hostname.

getPassword()

public abstract String getPassword()

Input only. SSH password.

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

Returns
TypeDescription
String

The password.

getPasswordBytes()

public abstract ByteString getPasswordBytes()

Input only. SSH password.

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

Returns
TypeDescription
ByteString

The bytes for password.

getPort()

public abstract int getPort()

Port for the SSH tunnel, default value is 22.

int32 port = 3;

Returns
TypeDescription
int

The port.

getPrivateKey()

public abstract String getPrivateKey()

Input only. SSH private key.

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

Returns
TypeDescription
String

The privateKey.

getPrivateKeyBytes()

public abstract ByteString getPrivateKeyBytes()

Input only. SSH private key.

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

Returns
TypeDescription
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
TypeDescription
String

The username.

getUsernameBytes()

public abstract ByteString getUsernameBytes()

Required. Username for the SSH tunnel.

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

Returns
TypeDescription
ByteString

The bytes for username.

hasPassword()

public abstract boolean hasPassword()

Input only. SSH password.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the privateKey field is set.