Interface RemoteRepositoryConfig.UpstreamCredentialsOrBuilder (1.39.0)

public static interface RemoteRepositoryConfig.UpstreamCredentialsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCredentialsCase()

public abstract RemoteRepositoryConfig.UpstreamCredentials.CredentialsCase getCredentialsCase()
Returns
TypeDescription
RemoteRepositoryConfig.UpstreamCredentials.CredentialsCase

getUsernamePasswordCredentials()

public abstract RemoteRepositoryConfig.UpstreamCredentials.UsernamePasswordCredentials getUsernamePasswordCredentials()

Use username and password to access the remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.UpstreamCredentials.UsernamePasswordCredentials username_password_credentials = 1;

Returns
TypeDescription
RemoteRepositoryConfig.UpstreamCredentials.UsernamePasswordCredentials

The usernamePasswordCredentials.

getUsernamePasswordCredentialsOrBuilder()

public abstract RemoteRepositoryConfig.UpstreamCredentials.UsernamePasswordCredentialsOrBuilder getUsernamePasswordCredentialsOrBuilder()

Use username and password to access the remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.UpstreamCredentials.UsernamePasswordCredentials username_password_credentials = 1;

Returns
TypeDescription
RemoteRepositoryConfig.UpstreamCredentials.UsernamePasswordCredentialsOrBuilder

hasUsernamePasswordCredentials()

public abstract boolean hasUsernamePasswordCredentials()

Use username and password to access the remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.UpstreamCredentials.UsernamePasswordCredentials username_password_credentials = 1;

Returns
TypeDescription
boolean

Whether the usernamePasswordCredentials field is set.