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
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
RELEASE |
RELEASE - repository will accept only Release versions. |
RELEASE_VALUE |
RELEASE - repository will accept only Release versions. |
SNAPSHOT |
SNAPSHOT - repository will accept only Snapshot versions. |
SNAPSHOT_VALUE |
SNAPSHOT - repository will accept only Snapshot versions. |
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_VALUE |
VERSION_POLICY_UNSPECIFIED - the version policy is not defined. When the version policy is not defined, no validation is performed for the versions. |
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() |