public static class BatchResponse.Result<T extends Serializable> extends Object implements Serializable
| Constructor and Description |
|---|
BatchResponse.Result(StorageException exception) |
BatchResponse.Result(T value) |
public BatchResponse.Result(T value)
public BatchResponse.Result(StorageException exception)
public T get() throws StorageException
StorageException - if failedpublic StorageException failure()
null if was successful.public boolean failed()
true if failed, false otherwise.Copyright © 2016 Google. All rights reserved.