Class LocalStorageHelper.FakeStorageRpcFactory (0.127.21)

public static class LocalStorageHelper.FakeStorageRpcFactory implements ServiceRpcFactory<StorageOptions>

Inheritance

java.lang.Object > LocalStorageHelper.FakeStorageRpcFactory

Implements

com.google.cloud.spi.ServiceRpcFactory<com.google.cloud.storage.StorageOptions>

Constructors

FakeStorageRpcFactory()

public FakeStorageRpcFactory()

FakeStorageRpcFactory(FakeStorageRpc instance)

public FakeStorageRpcFactory(FakeStorageRpc instance)
Parameter
Name Description
instance com.google.cloud.storage.contrib.nio.testing.FakeStorageRpc

Methods

create(StorageOptions storageOptions)

public ServiceRpc create(StorageOptions storageOptions)
Parameter
Name Description
storageOptions com.google.cloud.storage.StorageOptions
Returns
Type Description
com.google.cloud.ServiceRpc