Interface ThreatEntryAdditionsOrBuilder (2.13.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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the riceHashes field is set.