Interface RemoteRepositoryConfig.PythonRepositoryOrBuilder (1.53.0)

public static interface RemoteRepositoryConfig.PythonRepositoryOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCustomRepository()

public abstract RemoteRepositoryConfig.PythonRepository.CustomRepository getCustomRepository()

Customer-specified remote repository.

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

Returns
Type Description
RemoteRepositoryConfig.PythonRepository.CustomRepository

The customRepository.

getCustomRepositoryOrBuilder()

public abstract RemoteRepositoryConfig.PythonRepository.CustomRepositoryOrBuilder getCustomRepositoryOrBuilder()

Customer-specified remote repository.

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

Returns
Type Description
RemoteRepositoryConfig.PythonRepository.CustomRepositoryOrBuilder

getPublicRepository()

public abstract RemoteRepositoryConfig.PythonRepository.PublicRepository getPublicRepository()

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

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

Returns
Type Description
RemoteRepositoryConfig.PythonRepository.PublicRepository

The publicRepository.

getPublicRepositoryValue()

public abstract int getPublicRepositoryValue()

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

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

Returns
Type Description
int

The enum numeric value on the wire for publicRepository.

getUpstreamCase()

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

hasCustomRepository()

public abstract boolean hasCustomRepository()

Customer-specified remote repository.

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

Returns
Type Description
boolean

Whether the customRepository field is set.

hasPublicRepository()

public abstract boolean hasPublicRepository()

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

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

Returns
Type Description
boolean

Whether the publicRepository field is set.