Interface UserCredentialOrBuilder (0.4.0)

public interface UserCredentialOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCredentialName()

public abstract String getCredentialName()

Required. Name of the user credential.

string credential_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The credentialName.

getCredentialNameBytes()

public abstract ByteString getCredentialNameBytes()

Required. Name of the user credential.

string credential_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for credentialName.

getCredentialType()

public abstract UserCredential.Type getCredentialType()

Required. Type of credential.

.google.cloud.ftp.v1.UserCredential.Type credential_type = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UserCredential.Type

The credentialType.

getCredentialTypeValue()

public abstract int getCredentialTypeValue()

Required. Type of credential.

.google.cloud.ftp.v1.UserCredential.Type credential_type = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for credentialType.

getSshPublicKeyBody()

public abstract String getSshPublicKeyBody()

Optional. SSH public key body in OpenSSH format. Example: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQ..."

string ssh_public_key_body = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The sshPublicKeyBody.

getSshPublicKeyBodyBytes()

public abstract ByteString getSshPublicKeyBodyBytes()

Optional. SSH public key body in OpenSSH format. Example: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQ..."

string ssh_public_key_body = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for sshPublicKeyBody.