Actions `cluster:admin/repository/analyze/blob` and `cluster:admin/repository/analyze/register` and so on are only invoked via the transport service, they do not need to register as client actions so we can drop the `ActionType` instance. Instead the root `RepositoryAnalyzeAction` should create and register all these transport actions itself. But even the root `RepositoryAnalyzeAction` should not be an `ActionType` derivative, we should just declare an `ActionType` instance directly. Moreover we can use `ActionType#localOnly` since the client action does not run on remote clusters.
x-pack/plugin/snapshot-repo-test-kit/src/main/java/org/elasticsearch/repositories/blobstore/testkit/GetBlobChecksumAction.java
try {
                if (request.isWholeBlob()) {
                    rawInputStream = blobContainer.readBlob(OperationPurpose.REPOSITORY_ANALYSIS, request.getBlobName());
                } else {
                    rawInputStream = blobContainer.readBlob(
                        OperationPurpose.REPOSITORY_ANALYSIS,
                        request.getBlobName(),
                        request.getRangeStart(),
                        request.getRangeLength()
                    );
                }
            } catch (FileNotFoundException | NoSuchFileException e) {
                logger.trace("blob not found for [{}]", request);
                listener.onResponse(Response.BLOB_NOT_FOUND);
                return;
            } catch (IOException e) {
                logger.warn("failed to read blob for [{}]", request);
                listener.onFailure(e);
                return;
            }
            logger.trace("reading blob for [{}]", request);
            final AtomicLong throttleNanos = new AtomicLong();
            final InputStream throttledInputStream = blobStoreRepository.maybeRateLimitRestores(rawInputStream, throttleNanos::addAndGet);
            final CRC32 crc32 = new CRC32();
            final byte[] buffer = new byte[BUFFER_SIZE];
            long bytesRead = 0L;
            final long startTimeNanos = System.nanoTime();
            long firstByteNanos = startTimeNanos;
            boolean success = false;
            try {