Interface RemoteRepositoryConfig.DockerRepositoryOrBuilder (1.54.0)

public static interface RemoteRepositoryConfig.DockerRepositoryOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCustomRepository()

public abstract RemoteRepositoryConfig.DockerRepository.CustomRepository getCustomRepository()

Customer-specified remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepository.CustomRepository custom_repository = 3;

Returns
Type Description
RemoteRepositoryConfig.DockerRepository.CustomRepository

The customRepository.

getCustomRepositoryOrBuilder()

public abstract RemoteRepositoryConfig.DockerRepository.CustomRepositoryOrBuilder getCustomRepositoryOrBuilder()

Customer-specified remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepository.CustomRepository custom_repository = 3;

Returns
Type Description
RemoteRepositoryConfig.DockerRepository.CustomRepositoryOrBuilder

getPublicRepository()

public abstract RemoteRepositoryConfig.DockerRepository.PublicRepository getPublicRepository()

One of the publicly available Docker repositories supported by Artifact Registry.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepository.PublicRepository public_repository = 1;

Returns
Type Description
RemoteRepositoryConfig.DockerRepository.PublicRepository

The publicRepository.

getPublicRepositoryValue()

public abstract int getPublicRepositoryValue()

One of the publicly available Docker repositories supported by Artifact Registry.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepository.PublicRepository public_repository = 1;

Returns
Type Description
int

The enum numeric value on the wire for publicRepository.

getUpstreamCase()

public abstract RemoteRepositoryConfig.DockerRepository.UpstreamCase getUpstreamCase()
Returns
Type Description
RemoteRepositoryConfig.DockerRepository.UpstreamCase

hasCustomRepository()

public abstract boolean hasCustomRepository()

Customer-specified remote repository.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepository.CustomRepository custom_repository = 3;

Returns
Type Description
boolean

Whether the customRepository field is set.

hasPublicRepository()

public abstract boolean hasPublicRepository()

One of the publicly available Docker repositories supported by Artifact Registry.

.google.devtools.artifactregistry.v1.RemoteRepositoryConfig.DockerRepository.PublicRepository public_repository = 1;

Returns
Type Description
boolean

Whether the publicRepository field is set.