Interface RemoteRepositoryConfig.UpstreamCredentials.UsernamePasswordCredentialsOrBuilder (1.36.0)

public static interface RemoteRepositoryConfig.UpstreamCredentials.UsernamePasswordCredentialsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPasswordSecretVersion()

public abstract String getPasswordSecretVersion()

The Secret Manager key version that holds the password to access the remote repository. Must be in the format of projects/{project}/secrets/{secret}/versions/{version}.

string password_secret_version = 2 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The passwordSecretVersion.

getPasswordSecretVersionBytes()

public abstract ByteString getPasswordSecretVersionBytes()

The Secret Manager key version that holds the password to access the remote repository. Must be in the format of projects/{project}/secrets/{secret}/versions/{version}.

string password_secret_version = 2 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for passwordSecretVersion.

getUsername()

public abstract String getUsername()

The username to access the remote repository.

string username = 1;

Returns
TypeDescription
String

The username.

getUsernameBytes()

public abstract ByteString getUsernameBytes()

The username to access the remote repository.

string username = 1;

Returns
TypeDescription
ByteString

The bytes for username.