Interface RemoteRepositoryConfig.NpmRepositoryOrBuilder (1.53.0)

public static interface RemoteRepositoryConfig.NpmRepositoryOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCustomRepository()

public abstract RemoteRepositoryConfig.NpmRepository.CustomRepository getCustomRepository()

Customer-specified remote repository.

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

Returns
Type Description
RemoteRepositoryConfig.NpmRepository.CustomRepository

The customRepository.

getCustomRepositoryOrBuilder()

public abstract RemoteRepositoryConfig.NpmRepository.CustomRepositoryOrBuilder getCustomRepositoryOrBuilder()

Customer-specified remote repository.

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

Returns
Type Description
RemoteRepositoryConfig.NpmRepository.CustomRepositoryOrBuilder

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
Type Description
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
Type Description
int

The enum numeric value on the wire for publicRepository.

getUpstreamCase()

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

hasCustomRepository()

public abstract boolean hasCustomRepository()

Customer-specified remote repository.

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

Returns
Type Description
boolean

Whether the customRepository field is set.

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
Type Description
boolean

Whether the publicRepository field is set.