public static final class SftpAuth.Builder extends GeneratedMessage.Builder<SftpAuth.Builder> implements SftpAuthOrBuilderSFTP Auth.
Protobuf type google.cloud.chronicle.v1.SftpAuth
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SftpAuth.BuilderImplements
SftpAuthOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SftpAuth build()| Returns | |
|---|---|
| Type | Description |
SftpAuth |
|
buildPartial()
public SftpAuth buildPartial()| Returns | |
|---|---|
| Type | Description |
SftpAuth |
|
clear()
public SftpAuth.Builder clear()| Returns | |
|---|---|
| Type | Description |
SftpAuth.Builder |
|
clearPassword()
public SftpAuth.Builder clearPassword()Password. Used for username and password authentication.
string password = 2;
| Returns | |
|---|---|
| Type | Description |
SftpAuth.Builder |
This builder for chaining. |
clearPrivateKey()
public SftpAuth.Builder clearPrivateKey()Private key. Used for private key authentication.
string private_key = 3;
| Returns | |
|---|---|
| Type | Description |
SftpAuth.Builder |
This builder for chaining. |
clearPrivateKeyPassphrase()
public SftpAuth.Builder clearPrivateKeyPassphrase()Private key passphrase. Used for private key authentication.
string private_key_passphrase = 4;
| Returns | |
|---|---|
| Type | Description |
SftpAuth.Builder |
This builder for chaining. |
clearUsername()
public SftpAuth.Builder clearUsername()Username. Used for username and password authentication.
string username = 1;
| Returns | |
|---|---|
| Type | Description |
SftpAuth.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public SftpAuth getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SftpAuth |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPassword()
public String getPassword()Password. Used for username and password authentication.
string password = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The password. |
getPasswordBytes()
public ByteString getPasswordBytes()Password. Used for username and password authentication.
string password = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for password. |
getPrivateKey()
public String getPrivateKey()Private key. Used for private key authentication.
string private_key = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The privateKey. |
getPrivateKeyBytes()
public ByteString getPrivateKeyBytes()Private key. Used for private key authentication.
string private_key = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for privateKey. |
getPrivateKeyPassphrase()
public String getPrivateKeyPassphrase()Private key passphrase. Used for private key authentication.
string private_key_passphrase = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The privateKeyPassphrase. |
getPrivateKeyPassphraseBytes()
public ByteString getPrivateKeyPassphraseBytes()Private key passphrase. Used for private key authentication.
string private_key_passphrase = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for privateKeyPassphrase. |
getUsername()
public String getUsername()Username. Used for username and password authentication.
string username = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The username. |
getUsernameBytes()
public ByteString getUsernameBytes()Username. Used for username and password authentication.
string username = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for username. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SftpAuth other)
public SftpAuth.Builder mergeFrom(SftpAuth other)| Parameter | |
|---|---|
| Name | Description |
other |
SftpAuth |
| Returns | |
|---|---|
| Type | Description |
SftpAuth.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SftpAuth.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SftpAuth.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SftpAuth.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SftpAuth.Builder |
|
setPassword(String value)
public SftpAuth.Builder setPassword(String value)Password. Used for username and password authentication.
string password = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe password to set. |
| Returns | |
|---|---|
| Type | Description |
SftpAuth.Builder |
This builder for chaining. |
setPasswordBytes(ByteString value)
public SftpAuth.Builder setPasswordBytes(ByteString value)Password. Used for username and password authentication.
string password = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for password to set. |
| Returns | |
|---|---|
| Type | Description |
SftpAuth.Builder |
This builder for chaining. |
setPrivateKey(String value)
public SftpAuth.Builder setPrivateKey(String value)Private key. Used for private key authentication.
string private_key = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe privateKey to set. |
| Returns | |
|---|---|
| Type | Description |
SftpAuth.Builder |
This builder for chaining. |
setPrivateKeyBytes(ByteString value)
public SftpAuth.Builder setPrivateKeyBytes(ByteString value)Private key. Used for private key authentication.
string private_key = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for privateKey to set. |
| Returns | |
|---|---|
| Type | Description |
SftpAuth.Builder |
This builder for chaining. |
setPrivateKeyPassphrase(String value)
public SftpAuth.Builder setPrivateKeyPassphrase(String value)Private key passphrase. Used for private key authentication.
string private_key_passphrase = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe privateKeyPassphrase to set. |
| Returns | |
|---|---|
| Type | Description |
SftpAuth.Builder |
This builder for chaining. |
setPrivateKeyPassphraseBytes(ByteString value)
public SftpAuth.Builder setPrivateKeyPassphraseBytes(ByteString value)Private key passphrase. Used for private key authentication.
string private_key_passphrase = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for privateKeyPassphrase to set. |
| Returns | |
|---|---|
| Type | Description |
SftpAuth.Builder |
This builder for chaining. |
setUsername(String value)
public SftpAuth.Builder setUsername(String value)Username. Used for username and password authentication.
string username = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe username to set. |
| Returns | |
|---|---|
| Type | Description |
SftpAuth.Builder |
This builder for chaining. |
setUsernameBytes(ByteString value)
public SftpAuth.Builder setUsernameBytes(ByteString value)Username. Used for username and password authentication.
string username = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for username to set. |
| Returns | |
|---|---|
| Type | Description |
SftpAuth.Builder |
This builder for chaining. |