Interface RemoteRepositoryConfig.UpstreamCredentials.UsernamePasswordCredentialsOrBuilder (1.44.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
Type Description
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
Type Description
ByteString

The bytes for passwordSecretVersion.

getUsername()

public abstract String getUsername()

The username to access the remote repository.

string username = 1;

Returns
Type Description
String

The username.

getUsernameBytes()

public abstract ByteString getUsernameBytes()

The username to access the remote repository.

string username = 1;

Returns
Type Description
ByteString

The bytes for username.