public static interface Repository.MavenRepositoryConfigOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getAllowSnapshotOverwrites()
public abstract boolean getAllowSnapshotOverwrites()
The repository with this flag will allow publishing the same snapshot versions.
bool allow_snapshot_overwrites = 1;
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.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2;
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.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2;
Type | Description |
int | The enum numeric value on the wire for versionPolicy. |