Interface ComputeThreatListDiffRequest.ConstraintsOrBuilder (2.4.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
TypeDescription
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
TypeDescription
int

The maxDiffEntries.

getSupportedCompressions(int index)

public abstract CompressionType getSupportedCompressions(int index)

The compression types supported by the client.

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

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
CompressionType

The supportedCompressions at the given index.

getSupportedCompressionsCount()

public abstract int getSupportedCompressionsCount()

The compression types supported by the client.

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

Returns
TypeDescription
int

The count of supportedCompressions.

getSupportedCompressionsList()

public abstract List<CompressionType> getSupportedCompressionsList()

The compression types supported by the client.

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

Returns
TypeDescription
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.v1.CompressionType supported_compressions = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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.v1.CompressionType supported_compressions = 3;

Returns
TypeDescription
List<Integer>

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