# Print output for @column tags ?>
Developers

- Design
- Develop
- Distribute

Developer Console

## Most visited

## Recently visited

## Results for

Summary: Ctors | Methods | Inherited Methods

# SetSchemaResponse.Builder

`public static final class SetSchemaResponse.Builder`
`extends Object` ``

java.lang.Object
↳ | android.app.appsearch.SetSchemaResponse.Builder

Builder for `SetSchemaResponse` objects.

## Summary

### Public constructors
`Builder()`

### Public methods
`SetSchemaResponse.Builder` | `addDeletedType(String deletedType)` Adds one deletedType to the list of deleted schema types.
`SetSchemaResponse.Builder` | `addDeletedTypes(Collection<String> deletedTypes)` Adds deletedTypes to the list of deleted schema types.
`SetSchemaResponse.Builder` | `addIncompatibleType(String incompatibleType)` Adds one incompatibleType to the list of incompatible schema types.
`SetSchemaResponse.Builder` | `addIncompatibleTypes(Collection<String> incompatibleTypes)` Adds incompatibleTypes to the list of incompatible schema types.
`SetSchemaResponse.Builder` | `addMigratedType(String migratedType)` Adds one migratedType to the list of migrated schema types.
`SetSchemaResponse.Builder` | `addMigratedTypes(Collection<String> migratedTypes)` Adds migratedTypes to the list of migrated schema types.
`SetSchemaResponse.Builder` | `addMigrationFailure(SetSchemaResponse.MigrationFailure migrationFailure)` Adds a `MigrationFailure` to the list of migration failures.
`SetSchemaResponse.Builder` | `addMigrationFailures(Collection<SetSchemaResponse.MigrationFailure> migrationFailures)` Adds `MigrationFailure`s to the list of migration failures.
`SetSchemaResponse` | `build()` Builds a `SetSchemaResponse` object.

### Inherited methods
From class `java.lang.Object`
`Object` | `clone()` Creates and returns a copy of this object.
`boolean` | `equals(Object obj)` Indicates whether some other object is "equal to" this one.
`void` | `finalize()` Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
`final Class<?>` | `getClass()` Returns the runtime class of this `Object`.
`int` | `hashCode()` Returns a hash code value for the object.
`final void` | `notify()` Wakes up a single thread that is waiting on this object's monitor.
`final void` | `notifyAll()` Wakes up all threads that are waiting on this object's monitor.
`String` | `toString()` Returns a string representation of the object.
`final void` | `wait(long timeout, int nanos)` Causes the current thread to wait until another thread invokes the `notify()` method or the `notifyAll()` method for this object, or some other thread interrupts the current thread, or a certain amount of real time has elapsed.
`final void` | `wait(long timeout)` Causes the current thread to wait until either another thread invokes the `notify()` method or the `notifyAll()` method for this object, or a specified amount of time has elapsed.
`final void` | `wait()` Causes the current thread to wait until another thread invokes the `notify()` method or the `notifyAll()` method for this object.

## Public constructors

### Builder

    public Builder ()

## Public methods

### addDeletedType

    public SetSchemaResponse.Builder addDeletedType (String deletedType)

Adds one deletedType to the list of deleted schema types.

Parameters
`deletedType` | `String`: This value cannot be `null`.

Returns
`SetSchemaResponse.Builder` | This value cannot be `null`.

### addDeletedTypes

    public SetSchemaResponse.Builder addDeletedTypes (Collection<String> deletedTypes)

Adds deletedTypes to the list of deleted schema types.

Parameters
`deletedTypes` | `Collection`: This value cannot be `null`.

Returns
`SetSchemaResponse.Builder` | This value cannot be `null`.

### addIncompatibleType

    public SetSchemaResponse.Builder addIncompatibleType (String incompatibleType)

Adds one incompatibleType to the list of incompatible schema types.

Parameters
`incompatibleType` | `String`: This value cannot be `null`.

Returns
`SetSchemaResponse.Builder` | This value cannot be `null`.

### addIncompatibleTypes

    public SetSchemaResponse.Builder addIncompatibleTypes (Collection<String> incompatibleTypes)

Adds incompatibleTypes to the list of incompatible schema types.

Parameters
`incompatibleTypes` | `Collection`: This value cannot be `null`.

Returns
`SetSchemaResponse.Builder` | This value cannot be `null`.

### addMigratedType

    public SetSchemaResponse.Builder addMigratedType (String migratedType)

Adds one migratedType to the list of migrated schema types.

Parameters
`migratedType` | `String`: This value cannot be `null`.

Returns
`SetSchemaResponse.Builder` | This value cannot be `null`.

### addMigratedTypes

    public SetSchemaResponse.Builder addMigratedTypes (Collection<String> migratedTypes)

Adds migratedTypes to the list of migrated schema types.

Parameters
`migratedTypes` | `Collection`: This value cannot be `null`.

Returns
`SetSchemaResponse.Builder` | This value cannot be `null`.

### addMigrationFailure

    public SetSchemaResponse.Builder addMigrationFailure (SetSchemaResponse.MigrationFailure migrationFailure)

Adds a `MigrationFailure` to the list of migration failures.

Parameters
`migrationFailure` | `SetSchemaResponse.MigrationFailure`: This value cannot be `null`.

Returns
`SetSchemaResponse.Builder` | This value cannot be `null`.

### addMigrationFailures

    public SetSchemaResponse.Builder addMigrationFailures (Collection<SetSchemaResponse.MigrationFailure> migrationFailures)

Adds `MigrationFailure`s to the list of migration failures.

Parameters
`migrationFailures` | `Collection`: This value cannot be `null`.

Returns
`SetSchemaResponse.Builder` | This value cannot be `null`.

### build

    public SetSchemaResponse build ()

Builds a `SetSchemaResponse` object.

Returns
`SetSchemaResponse` | This value cannot be `null`.

Full name *
Email address *
Company / developer name
One of your Play Store app URLs *
Which best describes your business:*
Apps
Games
Apps & Games
*
*