Interface HashOrBuilder (2.45.0)

public interface HashOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getType()

public abstract Hash.HashType getType()

Required. The type of hash that was performed.

.grafeas.v1beta1.provenance.Hash.HashType type = 1;

Returns
Type Description
Hash.HashType

The type.

getTypeValue()

public abstract int getTypeValue()

Required. The type of hash that was performed.

.grafeas.v1beta1.provenance.Hash.HashType type = 1;

Returns
Type Description
int

The enum numeric value on the wire for type.

getValue()

public abstract ByteString getValue()

Required. The hash value.

bytes value = 2;

Returns
Type Description
ByteString

The value.