Interface ConnectionRequestOuterClass.CompressionConfigOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      ConnectionRequestOuterClass.CompressionBackend getBackend()
      .connection_request.CompressionBackend backend = 2;
      int getBackendValue()
      .connection_request.CompressionBackend backend = 2;
      int getCompressionLevel()
      optional int32 compression_level = 3;
      boolean getEnabled()
      bool enabled = 1;
      long getMaxDecompressedSize()
      Maximum allowed size for decompressed data to prevent decompression bombs.
      int getMinCompressionSize()
      uint32 min_compression_size = 4;
      boolean hasCompressionLevel()
      optional int32 compression_level = 3;
      boolean hasMaxDecompressedSize()
      Maximum allowed size for decompressed data to prevent decompression bombs.
      • 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 Detail

      • getEnabled

        boolean getEnabled()
        bool enabled = 1;
        Returns:
        The enabled.
      • getBackendValue

        int getBackendValue()
        .connection_request.CompressionBackend backend = 2;
        Returns:
        The enum numeric value on the wire for backend.
      • hasCompressionLevel

        boolean hasCompressionLevel()
        optional int32 compression_level = 3;
        Returns:
        Whether the compressionLevel field is set.
      • getCompressionLevel

        int getCompressionLevel()
        optional int32 compression_level = 3;
        Returns:
        The compressionLevel.
      • getMinCompressionSize

        int getMinCompressionSize()
        uint32 min_compression_size = 4;
        Returns:
        The minCompressionSize.
      • hasMaxDecompressedSize

        boolean hasMaxDecompressedSize()
         Maximum allowed size for decompressed data to prevent decompression bombs.
         If not set, defaults to 512MB (matching Valkey's proto-max-bulk-len).
         
        optional uint64 max_decompressed_size = 5;
        Returns:
        Whether the maxDecompressedSize field is set.
      • getMaxDecompressedSize

        long getMaxDecompressedSize()
         Maximum allowed size for decompressed data to prevent decompression bombs.
         If not set, defaults to 512MB (matching Valkey's proto-max-bulk-len).
         
        optional uint64 max_decompressed_size = 5;
        Returns:
        The maxDecompressedSize.