Interface RpcBatch (2.36.1)

public interface RpcBatch

An interface for the collection of batch operations.

Methods

addDelete(StorageObject storageObject, RpcBatch.Callback<Void> callback, Map<StorageRpc.Option,?> options)

public abstract void addDelete(StorageObject storageObject, RpcBatch.Callback<Void> callback, Map<StorageRpc.Option,?> options)

Adds a call to "delete storage object" to the batch, with the provided callback and options.

Parameters
NameDescription
storageObjectcom.google.api.services.storage.model.StorageObject
callbackCallback<Void>
optionsMap<Option,?>

addGet(StorageObject storageObject, RpcBatch.Callback<StorageObject> callback, Map<StorageRpc.Option,?> options)

public abstract void addGet(StorageObject storageObject, RpcBatch.Callback<StorageObject> callback, Map<StorageRpc.Option,?> options)

Adds a call to "get storage object" to the batch, with the provided callback and options.

Parameters
NameDescription
storageObjectcom.google.api.services.storage.model.StorageObject
callbackCallback<com.google.api.services.storage.model.StorageObject>
optionsMap<Option,?>

addPatch(StorageObject storageObject, RpcBatch.Callback<StorageObject> callback, Map<StorageRpc.Option,?> options)

public abstract void addPatch(StorageObject storageObject, RpcBatch.Callback<StorageObject> callback, Map<StorageRpc.Option,?> options)

Adds a call to "patch storage object" to the batch, with the provided callback and options.

Parameters
NameDescription
storageObjectcom.google.api.services.storage.model.StorageObject
callbackCallback<com.google.api.services.storage.model.StorageObject>
optionsMap<Option,?>

submit()

public abstract void submit()

Submits a batch of requests for processing using a single RPC request to Cloud Storage.