Enum Hash.HashType (1.22.0)

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

The algorithm used to compute the hash.

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

Implements

ProtocolMessageEnum

Static Fields

NameDescription
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

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()