Interface RemoteRepositoryConfig.PythonRepositoryOrBuilder (1.31.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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for publicRepository.

getUpstreamCase()

public abstract RemoteRepositoryConfig.PythonRepository.UpstreamCase getUpstreamCase()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the publicRepository field is set.