public final class SftpAuth extends GeneratedMessage implements SftpAuthOrBuilderSFTP Auth.
Protobuf type google.cloud.chronicle.v1.SftpAuth
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > SftpAuthImplements
SftpAuthOrBuilderStatic Fields
PASSWORD_FIELD_NUMBER
public static final int PASSWORD_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
PRIVATE_KEY_FIELD_NUMBER
public static final int PRIVATE_KEY_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
PRIVATE_KEY_PASSPHRASE_FIELD_NUMBER
public static final int PRIVATE_KEY_PASSPHRASE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
USERNAME_FIELD_NUMBER
public static final int USERNAME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static SftpAuth getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
SftpAuth |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static SftpAuth.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
SftpAuth.Builder |
|
newBuilder(SftpAuth prototype)
public static SftpAuth.Builder newBuilder(SftpAuth prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
SftpAuth |
| Returns | |
|---|---|
| Type | Description |
SftpAuth.Builder |
|
parseDelimitedFrom(InputStream input)
public static SftpAuth parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
SftpAuth |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SftpAuth parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SftpAuth |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static SftpAuth parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
SftpAuth |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SftpAuth parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SftpAuth |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static SftpAuth parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
SftpAuth |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SftpAuth parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SftpAuth |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static SftpAuth parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
SftpAuth |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SftpAuth parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SftpAuth |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static SftpAuth parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
SftpAuth |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SftpAuth parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SftpAuth |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static SftpAuth parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
SftpAuth |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SftpAuth parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SftpAuth |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<SftpAuth> parser()| Returns | |
|---|---|
| Type | Description |
Parser<SftpAuth> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public SftpAuth getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SftpAuth |
|
getParserForType()
public Parser<SftpAuth> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<SftpAuth> |
|
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. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
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. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public SftpAuth.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
SftpAuth.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected SftpAuth.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
SftpAuth.Builder |
|
toBuilder()
public SftpAuth.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
SftpAuth.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|