Interface RemoteRepositoryConfigOrBuilder (1.53.0)

public interface RemoteRepositoryConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAptRepository()

public abstract RemoteRepositoryConfig.AptRepository getAptRepository()

Specific settings for an Apt remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository apt_repository = 6;

Returns
Type Description
RemoteRepositoryConfig.AptRepository

The aptRepository.

getAptRepositoryOrBuilder()

public abstract RemoteRepositoryConfig.AptRepositoryOrBuilder getAptRepositoryOrBuilder()

Specific settings for an Apt remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository apt_repository = 6;

Returns
Type Description
RemoteRepositoryConfig.AptRepositoryOrBuilder

getCommonRepository()

public abstract RemoteRepositoryConfig.CommonRemoteRepository getCommonRepository()

Common remote repository settings. Used as the remote repository upstream URL.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.CommonRemoteRepository common_repository = 14;

Returns
Type Description
RemoteRepositoryConfig.CommonRemoteRepository

The commonRepository.

getCommonRepositoryOrBuilder()

public abstract RemoteRepositoryConfig.CommonRemoteRepositoryOrBuilder getCommonRepositoryOrBuilder()

Common remote repository settings. Used as the remote repository upstream URL.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.CommonRemoteRepository common_repository = 14;

Returns
Type Description
RemoteRepositoryConfig.CommonRemoteRepositoryOrBuilder

getDescription()

public abstract String getDescription()

The description of the remote source.

string description = 1;

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

The description of the remote source.

string description = 1;

Returns
Type Description
ByteString

The bytes for description.

getDisableUpstreamValidation()

public abstract boolean getDisableUpstreamValidation()

Input only. A create/update remote repo option to avoid making a HEAD/GET request to validate a remote repo and any supplied upstream credentials.

bool disable_upstream_validation = 12 [(.google.api.field_behavior) = INPUT_ONLY];

Returns
Type Description
boolean

The disableUpstreamValidation.

getDockerRepository()

public abstract RemoteRepositoryConfig.DockerRepository getDockerRepository()

Specific settings for a Docker remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepository docker_repository = 2;

Returns
Type Description
RemoteRepositoryConfig.DockerRepository

The dockerRepository.

getDockerRepositoryOrBuilder()

public abstract RemoteRepositoryConfig.DockerRepositoryOrBuilder getDockerRepositoryOrBuilder()

Specific settings for a Docker remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepository docker_repository = 2;

Returns
Type Description
RemoteRepositoryConfig.DockerRepositoryOrBuilder

getMavenRepository()

public abstract RemoteRepositoryConfig.MavenRepository getMavenRepository()

Specific settings for a Maven remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.MavenRepository maven_repository = 3;

Returns
Type Description
RemoteRepositoryConfig.MavenRepository

The mavenRepository.

getMavenRepositoryOrBuilder()

public abstract RemoteRepositoryConfig.MavenRepositoryOrBuilder getMavenRepositoryOrBuilder()

Specific settings for a Maven remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.MavenRepository maven_repository = 3;

Returns
Type Description
RemoteRepositoryConfig.MavenRepositoryOrBuilder

getNpmRepository()

public abstract RemoteRepositoryConfig.NpmRepository getNpmRepository()

Specific settings for an Npm remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.NpmRepository npm_repository = 4;

Returns
Type Description
RemoteRepositoryConfig.NpmRepository

The npmRepository.

getNpmRepositoryOrBuilder()

public abstract RemoteRepositoryConfig.NpmRepositoryOrBuilder getNpmRepositoryOrBuilder()

Specific settings for an Npm remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.NpmRepository npm_repository = 4;

Returns
Type Description
RemoteRepositoryConfig.NpmRepositoryOrBuilder

getPythonRepository()

public abstract RemoteRepositoryConfig.PythonRepository getPythonRepository()

Specific settings for a Python remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.PythonRepository python_repository = 5;

Returns
Type Description
RemoteRepositoryConfig.PythonRepository

The pythonRepository.

getPythonRepositoryOrBuilder()

public abstract RemoteRepositoryConfig.PythonRepositoryOrBuilder getPythonRepositoryOrBuilder()

Specific settings for a Python remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.PythonRepository python_repository = 5;

Returns
Type Description
RemoteRepositoryConfig.PythonRepositoryOrBuilder

getRemoteSourceCase()

public abstract RemoteRepositoryConfig.RemoteSourceCase getRemoteSourceCase()
Returns
Type Description
RemoteRepositoryConfig.RemoteSourceCase

getUpstreamCredentials()

public abstract RemoteRepositoryConfig.UpstreamCredentials getUpstreamCredentials()

Optional. The credentials used to access the remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.UpstreamCredentials upstream_credentials = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RemoteRepositoryConfig.UpstreamCredentials

The upstreamCredentials.

getUpstreamCredentialsOrBuilder()

public abstract RemoteRepositoryConfig.UpstreamCredentialsOrBuilder getUpstreamCredentialsOrBuilder()

Optional. The credentials used to access the remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.UpstreamCredentials upstream_credentials = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RemoteRepositoryConfig.UpstreamCredentialsOrBuilder

getYumRepository()

public abstract RemoteRepositoryConfig.YumRepository getYumRepository()

Specific settings for a Yum remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository yum_repository = 7;

Returns
Type Description
RemoteRepositoryConfig.YumRepository

The yumRepository.

getYumRepositoryOrBuilder()

public abstract RemoteRepositoryConfig.YumRepositoryOrBuilder getYumRepositoryOrBuilder()

Specific settings for a Yum remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository yum_repository = 7;

Returns
Type Description
RemoteRepositoryConfig.YumRepositoryOrBuilder

hasAptRepository()

public abstract boolean hasAptRepository()

Specific settings for an Apt remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.AptRepository apt_repository = 6;

Returns
Type Description
boolean

Whether the aptRepository field is set.

hasCommonRepository()

public abstract boolean hasCommonRepository()

Common remote repository settings. Used as the remote repository upstream URL.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.CommonRemoteRepository common_repository = 14;

Returns
Type Description
boolean

Whether the commonRepository field is set.

hasDockerRepository()

public abstract boolean hasDockerRepository()

Specific settings for a Docker remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepository docker_repository = 2;

Returns
Type Description
boolean

Whether the dockerRepository field is set.

hasMavenRepository()

public abstract boolean hasMavenRepository()

Specific settings for a Maven remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.MavenRepository maven_repository = 3;

Returns
Type Description
boolean

Whether the mavenRepository field is set.

hasNpmRepository()

public abstract boolean hasNpmRepository()

Specific settings for an Npm remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.NpmRepository npm_repository = 4;

Returns
Type Description
boolean

Whether the npmRepository field is set.

hasPythonRepository()

public abstract boolean hasPythonRepository()

Specific settings for a Python remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.PythonRepository python_repository = 5;

Returns
Type Description
boolean

Whether the pythonRepository field is set.

hasUpstreamCredentials()

public abstract boolean hasUpstreamCredentials()

Optional. The credentials used to access the remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.UpstreamCredentials upstream_credentials = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the upstreamCredentials field is set.

hasYumRepository()

public abstract boolean hasYumRepository()

Specific settings for a Yum remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.YumRepository yum_repository = 7;

Returns
Type Description
boolean

Whether the yumRepository field is set.