Interface RawHashesOrBuilder (2.2.6)

public interface RawHashesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPrefixSize()

public abstract int getPrefixSize()

The number of bytes for each prefix encoded below. This field can be anywhere from 4 (shortest prefix) to 32 (full SHA256 hash).

int32 prefix_size = 1;

Returns
TypeDescription
int

The prefixSize.

getRawHashes()

public abstract ByteString getRawHashes()

The hashes, in binary format, concatenated into one long string. Hashes are sorted in lexicographic order. For JSON API users, hashes are base64-encoded.

bytes raw_hashes = 2;

Returns
TypeDescription
ByteString

The rawHashes.