Interface Repository.MavenRepositoryConfigOrBuilder (1.41.0)

public static interface Repository.MavenRepositoryConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowSnapshotOverwrites()

public abstract boolean getAllowSnapshotOverwrites()

The repository with this flag will allow publishing the same snapshot versions.

bool allow_snapshot_overwrites = 1;

Returns
Type Description
boolean

The allowSnapshotOverwrites.

getVersionPolicy()

public abstract Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy()

Version policy defines the versions that the registry will accept.

.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2;

Returns
Type Description
Repository.MavenRepositoryConfig.VersionPolicy

The versionPolicy.

getVersionPolicyValue()

public abstract int getVersionPolicyValue()

Version policy defines the versions that the registry will accept.

.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2;

Returns
Type Description
int

The enum numeric value on the wire for versionPolicy.