public static final class ForwardSshTunnelConnectivity.Builder extends GeneratedMessage.Builder<ForwardSshTunnelConnectivity.Builder> implements ForwardSshTunnelConnectivityOrBuilderForward SSH Tunnel connectivity.
Protobuf type google.cloud.clouddms.v1.ForwardSshTunnelConnectivity
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ForwardSshTunnelConnectivity.BuilderImplements
ForwardSshTunnelConnectivityOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ForwardSshTunnelConnectivity build()| Returns | |
|---|---|
| Type | Description |
ForwardSshTunnelConnectivity |
|
buildPartial()
public ForwardSshTunnelConnectivity buildPartial()| Returns | |
|---|---|
| Type | Description |
ForwardSshTunnelConnectivity |
|
clear()
public ForwardSshTunnelConnectivity.Builder clear()| Returns | |
|---|---|
| Type | Description |
ForwardSshTunnelConnectivity.Builder |
|
clearAuthenticationMethod()
public ForwardSshTunnelConnectivity.Builder clearAuthenticationMethod()| Returns | |
|---|---|
| Type | Description |
ForwardSshTunnelConnectivity.Builder |
|
clearHostname()
public ForwardSshTunnelConnectivity.Builder clearHostname()Required. Hostname for the SSH tunnel.
string hostname = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ForwardSshTunnelConnectivity.Builder |
This builder for chaining. |
clearPassword()
public ForwardSshTunnelConnectivity.Builder clearPassword()Input only. SSH password.
string password = 100 [(.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ForwardSshTunnelConnectivity.Builder |
This builder for chaining. |
clearPort()
public ForwardSshTunnelConnectivity.Builder clearPort()Port for the SSH tunnel, default value is 22.
int32 port = 3;
| Returns | |
|---|---|
| Type | Description |
ForwardSshTunnelConnectivity.Builder |
This builder for chaining. |
clearPrivateKey()
public ForwardSshTunnelConnectivity.Builder clearPrivateKey()Input only. SSH private key.
string private_key = 101 [(.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ForwardSshTunnelConnectivity.Builder |
This builder for chaining. |
clearUsername()
public ForwardSshTunnelConnectivity.Builder clearUsername()Required. Username for the SSH tunnel.
string username = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ForwardSshTunnelConnectivity.Builder |
This builder for chaining. |
getAuthenticationMethodCase()
public ForwardSshTunnelConnectivity.AuthenticationMethodCase getAuthenticationMethodCase()| Returns | |
|---|---|
| Type | Description |
ForwardSshTunnelConnectivity.AuthenticationMethodCase |
|
getDefaultInstanceForType()
public ForwardSshTunnelConnectivity getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ForwardSshTunnelConnectivity |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getHostname()
public String getHostname()Required. Hostname for the SSH tunnel.
string hostname = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The hostname. |
getHostnameBytes()
public 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 String getPassword()Input only. SSH password.
string password = 100 [(.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The password. |
getPasswordBytes()
public 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 int getPort()Port for the SSH tunnel, default value is 22.
int32 port = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The port. |
getPrivateKey()
public 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 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 String getUsername()Required. Username for the SSH tunnel.
string username = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The username. |
getUsernameBytes()
public 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ForwardSshTunnelConnectivity other)
public ForwardSshTunnelConnectivity.Builder mergeFrom(ForwardSshTunnelConnectivity other)| Parameter | |
|---|---|
| Name | Description |
other |
ForwardSshTunnelConnectivity |
| Returns | |
|---|---|
| Type | Description |
ForwardSshTunnelConnectivity.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ForwardSshTunnelConnectivity.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ForwardSshTunnelConnectivity.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ForwardSshTunnelConnectivity.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ForwardSshTunnelConnectivity.Builder |
|
setHostname(String value)
public ForwardSshTunnelConnectivity.Builder setHostname(String value)Required. Hostname for the SSH tunnel.
string hostname = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe hostname to set. |
| Returns | |
|---|---|
| Type | Description |
ForwardSshTunnelConnectivity.Builder |
This builder for chaining. |
setHostnameBytes(ByteString value)
public ForwardSshTunnelConnectivity.Builder setHostnameBytes(ByteString value)Required. Hostname for the SSH tunnel.
string hostname = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for hostname to set. |
| Returns | |
|---|---|
| Type | Description |
ForwardSshTunnelConnectivity.Builder |
This builder for chaining. |
setPassword(String value)
public ForwardSshTunnelConnectivity.Builder setPassword(String value)Input only. SSH password.
string password = 100 [(.google.api.field_behavior) = INPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe password to set. |
| Returns | |
|---|---|
| Type | Description |
ForwardSshTunnelConnectivity.Builder |
This builder for chaining. |
setPasswordBytes(ByteString value)
public ForwardSshTunnelConnectivity.Builder setPasswordBytes(ByteString value)Input only. SSH password.
string password = 100 [(.google.api.field_behavior) = INPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for password to set. |
| Returns | |
|---|---|
| Type | Description |
ForwardSshTunnelConnectivity.Builder |
This builder for chaining. |
setPort(int value)
public ForwardSshTunnelConnectivity.Builder setPort(int value)Port for the SSH tunnel, default value is 22.
int32 port = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe port to set. |
| Returns | |
|---|---|
| Type | Description |
ForwardSshTunnelConnectivity.Builder |
This builder for chaining. |
setPrivateKey(String value)
public ForwardSshTunnelConnectivity.Builder setPrivateKey(String value)Input only. SSH private key.
string private_key = 101 [(.google.api.field_behavior) = INPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe privateKey to set. |
| Returns | |
|---|---|
| Type | Description |
ForwardSshTunnelConnectivity.Builder |
This builder for chaining. |
setPrivateKeyBytes(ByteString value)
public ForwardSshTunnelConnectivity.Builder setPrivateKeyBytes(ByteString value)Input only. SSH private key.
string private_key = 101 [(.google.api.field_behavior) = INPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for privateKey to set. |
| Returns | |
|---|---|
| Type | Description |
ForwardSshTunnelConnectivity.Builder |
This builder for chaining. |
setUsername(String value)
public ForwardSshTunnelConnectivity.Builder setUsername(String value)Required. Username for the SSH tunnel.
string username = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe username to set. |
| Returns | |
|---|---|
| Type | Description |
ForwardSshTunnelConnectivity.Builder |
This builder for chaining. |
setUsernameBytes(ByteString value)
public ForwardSshTunnelConnectivity.Builder setUsernameBytes(ByteString value)Required. Username for the SSH tunnel.
string username = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for username to set. |
| Returns | |
|---|---|
| Type | Description |
ForwardSshTunnelConnectivity.Builder |
This builder for chaining. |