Interface Repository.MavenRepositoryConfigOrBuilder (1.30.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
TypeDescription
boolean

The allowSnapshotOverwrites.

getVersionPolicy()

public abstract Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy()

Version policy defines the versions that the registry will accept.

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

Returns
TypeDescription
Repository.MavenRepositoryConfig.VersionPolicy

The versionPolicy.

getVersionPolicyValue()

public abstract int getVersionPolicyValue()

Version policy defines the versions that the registry will accept.

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

Returns
TypeDescription
int

The enum numeric value on the wire for versionPolicy.