Interface ComputeThreatListDiffRequest.ConstraintsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ComputeThreatListDiffRequest.Constraints, ComputeThreatListDiffRequest.Constraints.Builder
Enclosing class:
ComputeThreatListDiffRequest

public static interface ComputeThreatListDiffRequest.ConstraintsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Sets the maximum number of entries that the client is willing to have in the local database.
    int
    The maximum size in number of entries.
    The compression types supported by the client.
    int
    The compression types supported by the client.
    The compression types supported by the client.
    int
    The compression types supported by the client.
    The compression types supported by the client.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getMaxDiffEntries

      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 2**10 and
       2**20.  If zero, no diff size limit is set.
       
      int32 max_diff_entries = 1;
      Returns:
      The maxDiffEntries.
    • getMaxDatabaseEntries

      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 2**10 and
       2**20. If zero, no database size limit is set.
       
      int32 max_database_entries = 2;
      Returns:
      The maxDatabaseEntries.
    • getSupportedCompressionsList

      List<CompressionType> getSupportedCompressionsList()
       The compression types supported by the client.
       
      repeated .google.cloud.webrisk.v1.CompressionType supported_compressions = 3;
      Returns:
      A list containing the supportedCompressions.
    • getSupportedCompressionsCount

      int getSupportedCompressionsCount()
       The compression types supported by the client.
       
      repeated .google.cloud.webrisk.v1.CompressionType supported_compressions = 3;
      Returns:
      The count of supportedCompressions.
    • getSupportedCompressions

      CompressionType getSupportedCompressions(int index)
       The compression types supported by the client.
       
      repeated .google.cloud.webrisk.v1.CompressionType supported_compressions = 3;
      Parameters:
      index - The index of the element to return.
      Returns:
      The supportedCompressions at the given index.
    • getSupportedCompressionsValueList

      List<Integer> getSupportedCompressionsValueList()
       The compression types supported by the client.
       
      repeated .google.cloud.webrisk.v1.CompressionType supported_compressions = 3;
      Returns:
      A list containing the enum numeric values on the wire for supportedCompressions.
    • getSupportedCompressionsValue

      int getSupportedCompressionsValue(int index)
       The compression types supported by the client.
       
      repeated .google.cloud.webrisk.v1.CompressionType supported_compressions = 3;
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of supportedCompressions at the given index.