# DeleteBytesRequest

public class **DeleteBytesRequest** extends [Object](https://developer.android.com/reference/java/lang/Object.html)  
implements [Parcelable](https://developer.android.com/reference/android/os/Parcelable.html) A request to delete app data from BlockStore.

### Nested Class Summary

|---|---|---|---|
| class | [DeleteBytesRequest.Builder](https://developers.google.com/android/reference/com/google/android/gms/auth/blockstore/DeleteBytesRequest.Builder) || A builder for `https://developers.google.com/android/reference/com/google/android/gms/auth/blockstore/DeleteBytesRequest` objects. |

### Inherited Constant Summary

From interface android.os.Parcelable

|---|---|---|
| int | CONTENTS_FILE_DESCRIPTOR |   |
| int | PARCELABLE_STABILITY_LOCAL |   |
| int | PARCELABLE_STABILITY_VINTF |   |
| int | PARCELABLE_WRITE_RETURN_VALUE |   |

### Field Summary

|---|---|---|
| public static final [Creator](https://developer.android.com/reference/android/os/Parcelable.Creator.html)\<[DeleteBytesRequest](https://developers.google.com/android/reference/com/google/android/gms/auth/blockstore/DeleteBytesRequest)\> | [CREATOR](https://developers.google.com/android/reference/com/google/android/gms/auth/blockstore/DeleteBytesRequest#CREATOR) |   |

### Public Method Summary

|---|---|
| boolean | [getDeleteAll](https://developers.google.com/android/reference/com/google/android/gms/auth/blockstore/DeleteBytesRequest#getDeleteAll())() Returns whether or not all app's Block Store data should be deleted. |
| [List](https://developer.android.com/reference/java/util/List.html)\<[String](https://developer.android.com/reference/java/lang/String.html)\> | [getKeys](https://developers.google.com/android/reference/com/google/android/gms/auth/blockstore/DeleteBytesRequest#getKeys())() Returns the list of keys whose associated data, if any, should be deleted. |
| void | [writeToParcel](https://developers.google.com/android/reference/com/google/android/gms/auth/blockstore/DeleteBytesRequest#writeToParcel(android.os.Parcel,%20int))([Parcel](https://developer.android.com/reference/android/os/Parcel.html) dest, int flags) |

### Inherited Method Summary

From class java.lang.Object

|---|---|
| [Object](https://developer.android.com/reference/java/lang/Object.html) | clone() |
| boolean | equals([Object](https://developer.android.com/reference/java/lang/Object.html) arg0) |
| void | finalize() |
| final [Class](https://developer.android.com/reference/java/lang/Class.html)\<?\> | getClass() |
| int | hashCode() |
| final void | notify() |
| final void | notifyAll() |
| [String](https://developer.android.com/reference/java/lang/String.html) | toString() |
| final void | wait(long arg0, int arg1) |
| final void | wait(long arg0) |
| final void | wait() |

From interface android.os.Parcelable

|---|---|
| abstract int | describeContents() |
| abstract void | writeToParcel([Parcel](https://developer.android.com/reference/android/os/Parcel.html) arg0, int arg1) |

## Fields

#### public static final [Creator](https://developer.android.com/reference/android/os/Parcelable.Creator.html)\<[DeleteBytesRequest](https://developers.google.com/android/reference/com/google/android/gms/auth/blockstore/DeleteBytesRequest)\>
**CREATOR**

## Public Methods

#### public boolean **getDeleteAll** ()

Returns whether or not all app's Block Store data should be deleted.

#### public [List](https://developer.android.com/reference/java/util/List.html)\<[String](https://developer.android.com/reference/java/lang/String.html)\>
**getKeys** ()

Returns the list of keys whose associated data, if any, should be deleted.

An empty list means that no key-based filtering will be performed. In other words,
no data will be deleted if the key list is empty and no other criterion is
provided.

Note that the app data that was stored without an explicit key can be deleted with
the default key `https://developers.google.com/android/reference/com/google/android/gms/auth/blockstore/BlockstoreClient#DEFAULT_BYTES_DATA_KEY`.

#### public void **writeToParcel** ([Parcel](https://developer.android.com/reference/android/os/Parcel.html) dest, int flags)