Interface ForwardSshTunnelConnectivityOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ForwardSshTunnelConnectivity,ForwardSshTunnelConnectivity.Builder
public interface ForwardSshTunnelConnectivityOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ForwardSshTunnelConnectivity.AuthenticationMethodCasegetAuthenticationMethodCase()StringgetHostname()Required.com.google.protobuf.ByteStringgetHostnameBytes()Required.StringgetPassword()Input only.com.google.protobuf.ByteStringgetPasswordBytes()Input only.intgetPort()Port for the SSH tunnel, default value is 22.StringgetPrivateKey()Input only.com.google.protobuf.ByteStringgetPrivateKeyBytes()Input only.StringgetUsername()Required.com.google.protobuf.ByteStringgetUsernameBytes()Required.booleanhasPassword()Input only.booleanhasPrivateKey()Input only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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.
-
getAuthenticationMethodCase
ForwardSshTunnelConnectivity.AuthenticationMethodCase getAuthenticationMethodCase()
-
-