# IntegrityTokenRequest


```
public abstract class IntegrityTokenRequest
```

<br />

*** ** * ** ***

Request for [IntegrityManager#requestIntegrityToken(IntegrityTokenRequest)](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/IntegrityManager#requestIntegrityToken(com.google.android.play.core.integrity.IntegrityTokenRequest)).

## Summary

| ### Nested types |
|---|
| `public abstract class `[IntegrityTokenRequest.Builder](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/IntegrityTokenRequest.Builder) Builder for [IntegrityTokenRequest](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/IntegrityTokenRequest). |

| ### Public constructors |
|---|
| [IntegrityTokenRequest](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/IntegrityTokenRequest#IntegrityTokenRequest())`()` |

| ### Public methods |
|---|---|
| `static `[IntegrityTokenRequest.Builder](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/IntegrityTokenRequest.Builder) | [builder](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/IntegrityTokenRequest#builder())`()` Creates an integrity request builder. |
| `abstract `[Long](https://developer.android.com/reference/java/lang/Long.html) | [cloudProjectNumber](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/IntegrityTokenRequest#cloudProjectNumber())`()` The cloud project number provided to the API. |
| `abstract `[String](https://developer.android.com/reference/java/lang/String.html) | [nonce](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/IntegrityTokenRequest#nonce())`()` Nonce provided to the API. |

## Public constructors

### IntegrityTokenRequest

```
public IntegrityTokenRequest()
```  

## Public methods

### builder

```
public static IntegrityTokenRequest.Builder builder()
```

Creates an integrity request builder.  

### cloudProjectNumber

```
public abstract Long cloudProjectNumber()
```

The cloud project number provided to the API.

See the details [Builder#setCloudProjectNumber(long)](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/IntegrityTokenRequest.Builder#setCloudProjectNumber(long)).  

### nonce

```
public abstract String nonce()
```

Nonce provided to the API.

See the details [Builder#setNonce(String)](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/IntegrityTokenRequest.Builder#setNonce(java.lang.String)).