- 1.46.0 (latest)
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.2
- 1.1.1
- 1.0.0
- 0.4.2
public static final class ForwardSshTunnelConnectivity.Builder extends GeneratedMessageV3.Builder<ForwardSshTunnelConnectivity.Builder> implements ForwardSshTunnelConnectivityOrBuilder
Forward SSH Tunnel connectivity.
Protobuf type google.cloud.datastream.v1alpha1.ForwardSshTunnelConnectivity
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ForwardSshTunnelConnectivity.BuilderImplements
ForwardSshTunnelConnectivityOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ForwardSshTunnelConnectivity.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ForwardSshTunnelConnectivity.Builder |
build()
public ForwardSshTunnelConnectivity build()
Type | Description |
ForwardSshTunnelConnectivity |
buildPartial()
public ForwardSshTunnelConnectivity buildPartial()
Type | Description |
ForwardSshTunnelConnectivity |
clear()
public ForwardSshTunnelConnectivity.Builder clear()
Type | Description |
ForwardSshTunnelConnectivity.Builder |
clearAuthenticationMethod()
public ForwardSshTunnelConnectivity.Builder clearAuthenticationMethod()
Type | Description |
ForwardSshTunnelConnectivity.Builder |
clearField(Descriptors.FieldDescriptor field)
public ForwardSshTunnelConnectivity.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ForwardSshTunnelConnectivity.Builder |
clearHostname()
public ForwardSshTunnelConnectivity.Builder clearHostname()
Required. Hostname for the SSH tunnel.
string hostname = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ForwardSshTunnelConnectivity.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ForwardSshTunnelConnectivity.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ForwardSshTunnelConnectivity.Builder |
clearPassword()
public ForwardSshTunnelConnectivity.Builder clearPassword()
Input only. SSH password.
string password = 100 [(.google.api.field_behavior) = INPUT_ONLY];
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;
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];
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];
Type | Description |
ForwardSshTunnelConnectivity.Builder | This builder for chaining. |
clone()
public ForwardSshTunnelConnectivity.Builder clone()
Type | Description |
ForwardSshTunnelConnectivity.Builder |
getAuthenticationMethodCase()
public ForwardSshTunnelConnectivity.AuthenticationMethodCase getAuthenticationMethodCase()
Type | Description |
ForwardSshTunnelConnectivity.AuthenticationMethodCase |
getDefaultInstanceForType()
public ForwardSshTunnelConnectivity getDefaultInstanceForType()
Type | Description |
ForwardSshTunnelConnectivity |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getHostname()
public String getHostname()
Required. Hostname for the SSH tunnel.
string hostname = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The hostname. |
getHostnameBytes()
public ByteString getHostnameBytes()
Required. Hostname for the SSH tunnel.
string hostname = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for hostname. |
getPassword()
public String getPassword()
Input only. SSH password.
string password = 100 [(.google.api.field_behavior) = INPUT_ONLY];
Type | Description |
String | The password. |
getPasswordBytes()
public ByteString getPasswordBytes()
Input only. SSH password.
string password = 100 [(.google.api.field_behavior) = INPUT_ONLY];
Type | Description |
ByteString | The bytes for password. |
getPort()
public int getPort()
Port for the SSH tunnel, default value is 22.
int32 port = 3;
Type | Description |
int | The port. |
getPrivateKey()
public String getPrivateKey()
Input only. SSH private key.
string private_key = 101 [(.google.api.field_behavior) = INPUT_ONLY];
Type | Description |
String | The privateKey. |
getPrivateKeyBytes()
public ByteString getPrivateKeyBytes()
Input only. SSH private key.
string private_key = 101 [(.google.api.field_behavior) = INPUT_ONLY];
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];
Type | Description |
String | The username. |
getUsernameBytes()
public ByteString getUsernameBytes()
Required. Username for the SSH tunnel.
string username = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for username. |
hasPassword()
public boolean hasPassword()
Input only. SSH password.
string password = 100 [(.google.api.field_behavior) = INPUT_ONLY];
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];
Type | Description |
boolean | Whether the privateKey field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ForwardSshTunnelConnectivity other)
public ForwardSshTunnelConnectivity.Builder mergeFrom(ForwardSshTunnelConnectivity other)
Name | Description |
other | ForwardSshTunnelConnectivity |
Type | Description |
ForwardSshTunnelConnectivity.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ForwardSshTunnelConnectivity.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ForwardSshTunnelConnectivity.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ForwardSshTunnelConnectivity.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ForwardSshTunnelConnectivity.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ForwardSshTunnelConnectivity.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ForwardSshTunnelConnectivity.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ForwardSshTunnelConnectivity.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
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];
Name | Description |
value | String The hostname to set. |
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];
Name | Description |
value | ByteString The bytes for hostname to set. |
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];
Name | Description |
value | String The password to set. |
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];
Name | Description |
value | ByteString The bytes for password to set. |
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;
Name | Description |
value | int The port to set. |
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];
Name | Description |
value | String The privateKey to set. |
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];
Name | Description |
value | ByteString The bytes for privateKey to set. |
Type | Description |
ForwardSshTunnelConnectivity.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ForwardSshTunnelConnectivity.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ForwardSshTunnelConnectivity.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ForwardSshTunnelConnectivity.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ForwardSshTunnelConnectivity.Builder |
setUsername(String value)
public ForwardSshTunnelConnectivity.Builder setUsername(String value)
Required. Username for the SSH tunnel.
string username = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The username to set. |
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];
Name | Description |
value | ByteString The bytes for username to set. |
Type | Description |
ForwardSshTunnelConnectivity.Builder | This builder for chaining. |