Interface RemoteRepositoryConfig.NpmRepositoryOrBuilder (1.34.0)

public static interface RemoteRepositoryConfig.NpmRepositoryOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPublicRepository()

public abstract RemoteRepositoryConfig.NpmRepository.PublicRepository getPublicRepository()

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

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

Returns
TypeDescription
RemoteRepositoryConfig.NpmRepository.PublicRepository

The publicRepository.

getPublicRepositoryValue()

public abstract int getPublicRepositoryValue()

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

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

Returns
TypeDescription
int

The enum numeric value on the wire for publicRepository.

getUpstreamCase()

public abstract RemoteRepositoryConfig.NpmRepository.UpstreamCase getUpstreamCase()
Returns
TypeDescription
RemoteRepositoryConfig.NpmRepository.UpstreamCase

hasPublicRepository()

public abstract boolean hasPublicRepository()

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

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

Returns
TypeDescription
boolean

Whether the publicRepository field is set.