Interface ComputeThreatListDiffRequest.ConstraintsOrBuilder (2.51.0)

public static interface ComputeThreatListDiffRequest.ConstraintsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMaxDatabaseEntries()

public abstract int getMaxDatabaseEntries()

Sets the maximum number of entries that the client is willing to have in the local database. This should be a power of 2 between 210 and 220. If zero, no database size limit is set.

int32 max_database_entries = 2;

Returns
Type Description
int

The maxDatabaseEntries.

getMaxDiffEntries()

public abstract int getMaxDiffEntries()

The maximum size in number of entries. The diff will not contain more entries than this value. This should be a power of 2 between 210 and 220. If zero, no diff size limit is set.

int32 max_diff_entries = 1;

Returns
Type Description
int

The maxDiffEntries.

getSupportedCompressions(int index)

public abstract CompressionType getSupportedCompressions(int index)

The compression types supported by the client.

repeated .google.cloud.webrisk.v1beta1.CompressionType supported_compressions = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
CompressionType

The supportedCompressions at the given index.

getSupportedCompressionsCount()

public abstract int getSupportedCompressionsCount()

The compression types supported by the client.

repeated .google.cloud.webrisk.v1beta1.CompressionType supported_compressions = 3;

Returns
Type Description
int

The count of supportedCompressions.

getSupportedCompressionsList()

public abstract List<CompressionType> getSupportedCompressionsList()

The compression types supported by the client.

repeated .google.cloud.webrisk.v1beta1.CompressionType supported_compressions = 3;

Returns
Type Description
List<CompressionType>

A list containing the supportedCompressions.

getSupportedCompressionsValue(int index)

public abstract int getSupportedCompressionsValue(int index)

The compression types supported by the client.

repeated .google.cloud.webrisk.v1beta1.CompressionType supported_compressions = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of supportedCompressions at the given index.

getSupportedCompressionsValueList()

public abstract List<Integer> getSupportedCompressionsValueList()

The compression types supported by the client.

repeated .google.cloud.webrisk.v1beta1.CompressionType supported_compressions = 3;

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for supportedCompressions.