Interface HashOrBuilder (1.40.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
Type Description
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
Type Description
int

The enum numeric value on the wire for type.

getValue()

public abstract ByteString getValue()

The hash value.

bytes value = 2;

Returns
Type Description
ByteString

The value.