public static interface RemoteRepositoryConfig.UpstreamCredentialsOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getCredentialsCase()
public abstract RemoteRepositoryConfig.UpstreamCredentials.CredentialsCase getCredentialsCase()| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
boolean |
Whether the usernamePasswordCredentials field is set. |