Enum Repository.MavenRepositoryConfig.VersionPolicy (1.54.0)

public enum Repository.MavenRepositoryConfig.VersionPolicy extends Enum<Repository.MavenRepositoryConfig.VersionPolicy> implements ProtocolMessageEnum

VersionPolicy is the version policy for the repository.

Protobuf enum google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy

Implements

ProtocolMessageEnum

Static Fields

Name Description
RELEASE

RELEASE - repository will accept only Release versions.

RELEASE = 1;

RELEASE_VALUE

RELEASE - repository will accept only Release versions.

RELEASE = 1;

SNAPSHOT

SNAPSHOT - repository will accept only Snapshot versions.

SNAPSHOT = 2;

SNAPSHOT_VALUE

SNAPSHOT - repository will accept only Snapshot versions.

SNAPSHOT = 2;

UNRECOGNIZED
VERSION_POLICY_UNSPECIFIED

VERSION_POLICY_UNSPECIFIED - the version policy is not defined. When the version policy is not defined, no validation is performed for the versions.

VERSION_POLICY_UNSPECIFIED = 0;

VERSION_POLICY_UNSPECIFIED_VALUE

VERSION_POLICY_UNSPECIFIED - the version policy is not defined. When the version policy is not defined, no validation is performed for the versions.

VERSION_POLICY_UNSPECIFIED = 0;

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()