Interface RemoteRepositoryConfig.MavenRepositoryOrBuilder (1.48.0)

public static interface RemoteRepositoryConfig.MavenRepositoryOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPublicRepository()

public abstract RemoteRepositoryConfig.MavenRepository.PublicRepository getPublicRepository()

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

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

Returns
Type Description
RemoteRepositoryConfig.MavenRepository.PublicRepository

The publicRepository.

getPublicRepositoryValue()

public abstract int getPublicRepositoryValue()

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

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

Returns
Type Description
int

The enum numeric value on the wire for publicRepository.

getUpstreamCase()

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

hasPublicRepository()

public abstract boolean hasPublicRepository()

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

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

Returns
Type Description
boolean

Whether the publicRepository field is set.