Interface HashOrBuilder (1.20.0)

public interface HashOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getType()

public abstract Hash.HashType getType()

The algorithm used to compute the hash value.

.google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1;

Returns
TypeDescription
Hash.HashType

The type.

getTypeValue()

public abstract int getTypeValue()

The algorithm used to compute the hash value.

.google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for type.

getValue()

public abstract ByteString getValue()

The hash value.

bytes value = 2;

Returns
TypeDescription
ByteString

The value.