Interface ThreatEntryAdditionsOrBuilder (2.51.0)

public interface ThreatEntryAdditionsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getRawHashes(int index)

public abstract RawHashes getRawHashes(int index)

The raw SHA256-formatted entries. Repeated to allow returning sets of hashes with different prefix sizes.

repeated .google.cloud.webrisk.v1beta1.RawHashes raw_hashes = 1;

Parameter
Name Description
index int
Returns
Type Description
RawHashes

getRawHashesCount()

public abstract int getRawHashesCount()

The raw SHA256-formatted entries. Repeated to allow returning sets of hashes with different prefix sizes.

repeated .google.cloud.webrisk.v1beta1.RawHashes raw_hashes = 1;

Returns
Type Description
int

getRawHashesList()

public abstract List<RawHashes> getRawHashesList()

The raw SHA256-formatted entries. Repeated to allow returning sets of hashes with different prefix sizes.

repeated .google.cloud.webrisk.v1beta1.RawHashes raw_hashes = 1;

Returns
Type Description
List<RawHashes>

getRawHashesOrBuilder(int index)

public abstract RawHashesOrBuilder getRawHashesOrBuilder(int index)

The raw SHA256-formatted entries. Repeated to allow returning sets of hashes with different prefix sizes.

repeated .google.cloud.webrisk.v1beta1.RawHashes raw_hashes = 1;

Parameter
Name Description
index int
Returns
Type Description
RawHashesOrBuilder

getRawHashesOrBuilderList()

public abstract List<? extends RawHashesOrBuilder> getRawHashesOrBuilderList()

The raw SHA256-formatted entries. Repeated to allow returning sets of hashes with different prefix sizes.

repeated .google.cloud.webrisk.v1beta1.RawHashes raw_hashes = 1;

Returns
Type Description
List<? extends com.google.webrisk.v1beta1.RawHashesOrBuilder>

getRiceHashes()

public abstract 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.v1beta1.RiceDeltaEncoding rice_hashes = 2;

Returns
Type Description
RiceDeltaEncoding

The riceHashes.

getRiceHashesOrBuilder()

public abstract 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.v1beta1.RiceDeltaEncoding rice_hashes = 2;

Returns
Type Description
RiceDeltaEncodingOrBuilder

hasRiceHashes()

public abstract 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.v1beta1.RiceDeltaEncoding rice_hashes = 2;

Returns
Type Description
boolean

Whether the riceHashes field is set.