# Package com.google.cloud.storage.contrib.nio (0.133.0)

0.133.0 (latest) 0.131.0 0.128.13 0.127.38 0.126.19 0.125.0 0.124.21 0.123.28

|---|
| [GitHub Repository](https://github.com/googleapis/google-cloud-java/tree/main/google-cloud-java/google-cloud-nio/src/main/java/com/google/cloud/storage/contrib/nio) |

## Classes

| Class | Description |
|---|---|
| [com.google.cloud.storage.contrib.nio.CloudStorageConfiguration](https://cloud.google.com/java/docs/reference/google-cloud-nio/latest/com.google.cloud.storage.contrib.nio.CloudStorageConfiguration) | Configuration for CloudStorageFileSystem instances. |
| [com.google.cloud.storage.contrib.nio.CloudStorageConfiguration.Builder](https://cloud.google.com/java/docs/reference/google-cloud-nio/latest/com.google.cloud.storage.contrib.nio.CloudStorageConfiguration.Builder) | Builder for CloudStorageConfiguration. |
| [com.google.cloud.storage.contrib.nio.CloudStorageFileAttributeView](https://cloud.google.com/java/docs/reference/google-cloud-nio/latest/com.google.cloud.storage.contrib.nio.CloudStorageFileAttributeView) | Metadata view for a Google Cloud Storage object. |
| [com.google.cloud.storage.contrib.nio.CloudStorageFileSystem](https://cloud.google.com/java/docs/reference/google-cloud-nio/latest/com.google.cloud.storage.contrib.nio.CloudStorageFileSystem) | Google Cloud Storage FileSystem implementation. See Also: [Concepts and Terminology](https://developers.google.com/storage/docs/concepts-techniques#concepts), [Bucket and Object Naming Guidelines](https://developers.google.com/storage/docs/bucketnaming) |
| [com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider](https://cloud.google.com/java/docs/reference/google-cloud-nio/latest/com.google.cloud.storage.contrib.nio.CloudStorageFileSystemProvider) | Google Cloud Storage FileSystemProvider implementation. **Note:** This class should never be used directly. This class is instantiated by the service loader and called through a standardized API, e.g. java.nio.file.Files. However |
| [com.google.cloud.storage.contrib.nio.CloudStorageOptions](https://cloud.google.com/java/docs/reference/google-cloud-nio/latest/com.google.cloud.storage.contrib.nio.CloudStorageOptions) | Helper class for specifying options when opening and copying Cloud Storage files. |
| [com.google.cloud.storage.contrib.nio.CloudStoragePath](https://cloud.google.com/java/docs/reference/google-cloud-nio/latest/com.google.cloud.storage.contrib.nio.CloudStoragePath) | A Google Cloud Storage specific implementation of the `java.nio.file.Path` interface. An instance of this class locates an object or a "pseudo-directory" in GCS. This implementation allows one to use Java's standard file system API to deal with remote objects as if they are local files. |
| [com.google.cloud.storage.contrib.nio.CloudStorageRetryHandler](https://cloud.google.com/java/docs/reference/google-cloud-nio/latest/com.google.cloud.storage.contrib.nio.CloudStorageRetryHandler) | Simple counter class to keep track of retry and reopen attempts when StorageExceptions are encountered. Handles sleeping between retry/reopen attempts, as well as throwing an exception when all retries/reopens are exhausted. |
| [com.google.cloud.storage.contrib.nio.SeekableByteChannelPrefetcher](https://cloud.google.com/java/docs/reference/google-cloud-nio/latest/com.google.cloud.storage.contrib.nio.SeekableByteChannelPrefetcher) | SeekableByteChannelPrefetcher wraps an existing SeekableByteChannel to add prefetching. The prefetching is done on a different thread, so you can write simple code that repeatedly calls read() to get data, processes it, and then calls read again -- and yet this simple code overlaps computation and communication for you. (Of course this is only worthwhile if the underlying |
| [com.google.cloud.storage.contrib.nio.SeekableByteChannelPrefetcher.Statistics](https://cloud.google.com/java/docs/reference/google-cloud-nio/latest/com.google.cloud.storage.contrib.nio.SeekableByteChannelPrefetcher.Statistics) |   |

## Interfaces

| Interface | Description |
|---|---|
| [com.google.cloud.storage.contrib.nio.CloudStorageFileAttributes](https://cloud.google.com/java/docs/reference/google-cloud-nio/latest/com.google.cloud.storage.contrib.nio.CloudStorageFileAttributes) | Interface for attributes on a Cloud Storage file or pseudo-directory. |
| [com.google.cloud.storage.contrib.nio.CloudStorageOption](https://cloud.google.com/java/docs/reference/google-cloud-nio/latest/com.google.cloud.storage.contrib.nio.CloudStorageOption) | Main interface for file operation option classes related to Google Cloud Storage. |
| [com.google.cloud.storage.contrib.nio.CloudStorageOption.Copy](https://cloud.google.com/java/docs/reference/google-cloud-nio/latest/com.google.cloud.storage.contrib.nio.CloudStorageOption.Copy) | Interface for Google Cloud Storage options that can be specified when copying files. |
| [com.google.cloud.storage.contrib.nio.CloudStorageOption.Open](https://cloud.google.com/java/docs/reference/google-cloud-nio/latest/com.google.cloud.storage.contrib.nio.CloudStorageOption.Open) | Interface for Google Cloud Storage options that can be specified when opening files. |
| [com.google.cloud.storage.contrib.nio.CloudStorageOption.OpenCopy](https://cloud.google.com/java/docs/reference/google-cloud-nio/latest/com.google.cloud.storage.contrib.nio.CloudStorageOption.OpenCopy) | Interface for Google Cloud Storage options that can be specified when opening or copying files. |

## Exceptions

| Exception | Description |
|---|---|
| [com.google.cloud.storage.contrib.nio.CloudStorageObjectImmutableException](https://cloud.google.com/java/docs/reference/google-cloud-nio/latest/com.google.cloud.storage.contrib.nio.CloudStorageObjectImmutableException) | Exception reminding user that Cloud Storage objects can't be mutated. |
| [com.google.cloud.storage.contrib.nio.CloudStoragePseudoDirectoryException](https://cloud.google.com/java/docs/reference/google-cloud-nio/latest/com.google.cloud.storage.contrib.nio.CloudStoragePseudoDirectoryException) | Exception thrown when erroneously trying to operate on a path with a trailing slash. |