Interface RemoteRepositoryConfig.PythonRepositoryOrBuilder (1.45.0)

public static interface RemoteRepositoryConfig.PythonRepositoryOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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

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.