Interface HashOrBuilder (2.3.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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for type.

getValue()

public abstract ByteString getValue()

Required. The hash value.

bytes value = 2;

Returns
TypeDescription
ByteString

The value.