Package com.google.webrisk.v1beta1
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 int
getPrefixSize()
The number of bytes for each prefix encoded below.com.google.protobuf.ByteString
getRawHashes()
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).
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.
-
-