Summary: [Ctors](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.StandardIntegrityTokenRequest.Builder#pubctors) \| [Methods](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.StandardIntegrityTokenRequest.Builder#pubmethods) \| [Inherited Methods](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.StandardIntegrityTokenRequest.Builder#inhmethods)  

# StandardIntegrityManager.StandardIntegrityTokenRequest.Builder


`
public
static

abstract
class
StandardIntegrityManager.StandardIntegrityTokenRequest.Builder
`


`

extends `[Object](https://developer.android.com/reference/java/lang/Object.html)`


`

`


`

|---|-------------------------------------------------------------------------------------------------------|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object.html)                        ||
| ↳ | com.google.android.play.core.integrity.StandardIntegrityManager.StandardIntegrityTokenRequest.Builder |

<br />

*** ** * ** ***

Builder for [StandardIntegrityManager.StandardIntegrityTokenRequest](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.StandardIntegrityTokenRequest.html).

## Summary

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

|                                                                                                                                                                                                                                                                                                                                                             ### Public methods                                                                                                                                                                                                                                                                                                                                                              ||
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` abstract `[StandardIntegrityManager.StandardIntegrityTokenRequest](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.StandardIntegrityTokenRequest.html)                 | ` `[build](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.StandardIntegrityTokenRequest.Builder.html#build())`() ` Builds a [StandardIntegrityManager.StandardIntegrityTokenRequest](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.StandardIntegrityTokenRequest.html).                                              |
| ` abstract `[StandardIntegrityManager.StandardIntegrityTokenRequest.Builder](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.StandardIntegrityTokenRequest.Builder.html) | ` `[setRequestHash](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.StandardIntegrityTokenRequest.Builder.html#setRequestHash(java.lang.String))`(`[String](https://developer.android.com/reference/java/lang/String.html)` value) ` A request hash to bind the integrity token to.                                                                                                                   |
| ` abstract `[StandardIntegrityManager.StandardIntegrityTokenRequest.Builder](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.StandardIntegrityTokenRequest.Builder.html) | ` `[setVerdictOptOut](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.StandardIntegrityTokenRequest.Builder.html#setVerdictOptOut(java.util.Set<java.lang.Integer>))`(`[Set](https://developer.android.com/reference/java/util/Set.html)`<`[Integer](https://developer.android.com/reference/java/lang/Integer.html)`> value) ` A set of verdicts that should be opted out when requesting the token. |

| ### Inherited methods |
|-----------------------|---|
| From class ` `[java.lang.Object](https://developer.android.com/reference/java/lang/Object.html)` ` |-------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------| | ` boolean`                                                                          | ` equals(`[Object](https://developer.android.com/reference/java/lang/Object.html)` arg0) ` | | ` 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() `                                                                                 | ||

## Public constructors

### Builder

```
public Builder ()
```

<br />

<br />

## Public methods

### build

```
public abstract StandardIntegrityManager.StandardIntegrityTokenRequest build ()
```

Builds a [StandardIntegrityManager.StandardIntegrityTokenRequest](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.StandardIntegrityTokenRequest.html).

<br />

|                                                                                                              Returns                                                                                                               ||
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [StandardIntegrityManager.StandardIntegrityTokenRequest](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.StandardIntegrityTokenRequest.html) | <br /> |

### setRequestHash

```
public abstract StandardIntegrityManager.StandardIntegrityTokenRequest.Builder setRequestHash (String value)
```

A request hash to bind the integrity token to.

It is a recommended and not required field.

<br />

|        Parameters        ||
|---------|-----------------|
| `value` | `String` <br /> |

|                                                                                                                      Returns                                                                                                                       ||
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [StandardIntegrityManager.StandardIntegrityTokenRequest.Builder](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.StandardIntegrityTokenRequest.Builder.html) | <br /> |

### setVerdictOptOut

```
public abstract StandardIntegrityManager.StandardIntegrityTokenRequest.Builder setVerdictOptOut (Set<Integer> value)
```

A set of verdicts that should be opted out when requesting the token.

Any verdicts specified here will be unevaluated. See [StandardIntegrityVerdictOptOut](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/model/StandardIntegrityVerdictOptOut.html) for the list of verdicts that can be opted out.

<br />

|      Parameters       ||
|---------|--------------|
| `value` | `Set` <br /> |

|                                                                                                                      Returns                                                                                                                       ||
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------|
| [StandardIntegrityManager.StandardIntegrityTokenRequest.Builder](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/StandardIntegrityManager.StandardIntegrityTokenRequest.Builder.html) | <br /> |