Enum Hash.HashType (1.54.0)

public enum Hash.HashType extends Enum<Hash.HashType> implements ProtocolMessageEnum

The algorithm used to compute the hash.

Protobuf enum google.devtools.artifactregistry.v1.Hash.HashType

Implements

ProtocolMessageEnum

Static Fields

Name Description
HASH_TYPE_UNSPECIFIED

Unspecified.

HASH_TYPE_UNSPECIFIED = 0;

HASH_TYPE_UNSPECIFIED_VALUE

Unspecified.

HASH_TYPE_UNSPECIFIED = 0;

MD5

MD5 hash.

MD5 = 2;

MD5_VALUE

MD5 hash.

MD5 = 2;

SHA256

SHA256 hash.

SHA256 = 1;

SHA256_VALUE

SHA256 hash.

SHA256 = 1;

UNRECOGNIZED

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()