Package com.google.webrisk.v1
Interface RawHashesOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RawHashes,RawHashes.Builder
public interface RawHashesOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetPrefixSize()The number of bytes for each prefix encoded below.com.google.protobuf.ByteStringgetRawHashes()The hashes, in binary format, concatenated into one long string.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getPrefixSize
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). In practice this is almost always 4, except in exceptional circumstances.
int32 prefix_size = 1;- Returns:
- The prefixSize.
-
getRawHashes
com.google.protobuf.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:
- The rawHashes.
-
-