Package com.google.webrisk.v1
Interface ThreatEntryAdditionsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ThreatEntryAdditions
,ThreatEntryAdditions.Builder
public interface ThreatEntryAdditionsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RawHashes
getRawHashes(int index)
The raw SHA256-formatted entries.int
getRawHashesCount()
The raw SHA256-formatted entries.List<RawHashes>
getRawHashesList()
The raw SHA256-formatted entries.RawHashesOrBuilder
getRawHashesOrBuilder(int index)
The raw SHA256-formatted entries.List<? extends RawHashesOrBuilder>
getRawHashesOrBuilderList()
The raw SHA256-formatted entries.RiceDeltaEncoding
getRiceHashes()
The encoded 4-byte prefixes of SHA256-formatted entries, using a Golomb-Rice encoding.RiceDeltaEncodingOrBuilder
getRiceHashesOrBuilder()
The encoded 4-byte prefixes of SHA256-formatted entries, using a Golomb-Rice encoding.boolean
hasRiceHashes()
The encoded 4-byte prefixes of SHA256-formatted entries, using a Golomb-Rice encoding.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getRawHashesList
List<RawHashes> getRawHashesList()
The raw SHA256-formatted entries. Repeated to allow returning sets of hashes with different prefix sizes.
repeated .google.cloud.webrisk.v1.RawHashes raw_hashes = 1;
-
getRawHashes
RawHashes getRawHashes(int index)
The raw SHA256-formatted entries. Repeated to allow returning sets of hashes with different prefix sizes.
repeated .google.cloud.webrisk.v1.RawHashes raw_hashes = 1;
-
getRawHashesCount
int getRawHashesCount()
The raw SHA256-formatted entries. Repeated to allow returning sets of hashes with different prefix sizes.
repeated .google.cloud.webrisk.v1.RawHashes raw_hashes = 1;
-
getRawHashesOrBuilderList
List<? extends RawHashesOrBuilder> getRawHashesOrBuilderList()
The raw SHA256-formatted entries. Repeated to allow returning sets of hashes with different prefix sizes.
repeated .google.cloud.webrisk.v1.RawHashes raw_hashes = 1;
-
getRawHashesOrBuilder
RawHashesOrBuilder getRawHashesOrBuilder(int index)
The raw SHA256-formatted entries. Repeated to allow returning sets of hashes with different prefix sizes.
repeated .google.cloud.webrisk.v1.RawHashes raw_hashes = 1;
-
hasRiceHashes
boolean hasRiceHashes()
The encoded 4-byte prefixes of SHA256-formatted entries, using a Golomb-Rice encoding. The hashes are converted to uint32, sorted in ascending order, then delta encoded and stored as encoded_data.
.google.cloud.webrisk.v1.RiceDeltaEncoding rice_hashes = 2;
- Returns:
- Whether the riceHashes field is set.
-
getRiceHashes
RiceDeltaEncoding getRiceHashes()
The encoded 4-byte prefixes of SHA256-formatted entries, using a Golomb-Rice encoding. The hashes are converted to uint32, sorted in ascending order, then delta encoded and stored as encoded_data.
.google.cloud.webrisk.v1.RiceDeltaEncoding rice_hashes = 2;
- Returns:
- The riceHashes.
-
getRiceHashesOrBuilder
RiceDeltaEncodingOrBuilder getRiceHashesOrBuilder()
The encoded 4-byte prefixes of SHA256-formatted entries, using a Golomb-Rice encoding. The hashes are converted to uint32, sorted in ascending order, then delta encoded and stored as encoded_data.
.google.cloud.webrisk.v1.RiceDeltaEncoding rice_hashes = 2;
-
-