Builder
class Builder
| kotlin.Any | |
| ↳ | android.app.appsearch.SetSchemaResponse.Builder | 
Builder for SetSchemaResponse objects.
Summary
| Public constructors | |
|---|---|
| Builder()Create a  | |
| Public methods | |
|---|---|
| SetSchemaResponse.Builder | addDeletedType(deletedType: String)Adds one  | 
| SetSchemaResponse.Builder | addDeletedTypes(deletedTypes: MutableCollection<String!>)Adds  | 
| SetSchemaResponse.Builder | addIncompatibleType(incompatibleType: String)Adds one  | 
| SetSchemaResponse.Builder | addIncompatibleTypes(incompatibleTypes: MutableCollection<String!>)Adds  | 
| SetSchemaResponse.Builder | addMigratedType(migratedType: String)Adds one  | 
| SetSchemaResponse.Builder | addMigratedTypes(migratedTypes: MutableCollection<String!>)Adds  | 
| SetSchemaResponse.Builder | addMigrationFailure(migrationFailure: SetSchemaResponse.MigrationFailure)Adds a  | 
| SetSchemaResponse.Builder | addMigrationFailures(migrationFailures: MutableCollection<SetSchemaResponse.MigrationFailure!>)Adds  | 
| SetSchemaResponse | build()Builds a  | 
Public constructors
Public methods
addDeletedType
fun addDeletedType(deletedType: String): SetSchemaResponse.Builder
Adds one deletedType to the list of deleted schema types.
| Parameters | |
|---|---|
| deletedType | String: This value cannot be null. | 
| Return | |
|---|---|
| SetSchemaResponse.Builder | This value cannot be null. | 
addDeletedTypes
fun addDeletedTypes(deletedTypes: MutableCollection<String!>): SetSchemaResponse.Builder
Adds deletedTypes to the list of deleted schema types.
| Parameters | |
|---|---|
| deletedTypes | MutableCollection<String!>: This value cannot be null. | 
| Return | |
|---|---|
| SetSchemaResponse.Builder | This value cannot be null. | 
addIncompatibleType
fun addIncompatibleType(incompatibleType: String): SetSchemaResponse.Builder
Adds one incompatibleType to the list of incompatible schema types.
| Parameters | |
|---|---|
| incompatibleType | String: This value cannot be null. | 
| Return | |
|---|---|
| SetSchemaResponse.Builder | This value cannot be null. | 
addIncompatibleTypes
fun addIncompatibleTypes(incompatibleTypes: MutableCollection<String!>): SetSchemaResponse.Builder
Adds incompatibleTypes to the list of incompatible schema types.
| Parameters | |
|---|---|
| incompatibleTypes | MutableCollection<String!>: This value cannot be null. | 
| Return | |
|---|---|
| SetSchemaResponse.Builder | This value cannot be null. | 
addMigratedType
fun addMigratedType(migratedType: String): SetSchemaResponse.Builder
Adds one migratedType to the list of migrated schema types.
| Parameters | |
|---|---|
| migratedType | String: This value cannot be null. | 
| Return | |
|---|---|
| SetSchemaResponse.Builder | This value cannot be null. | 
addMigratedTypes
fun addMigratedTypes(migratedTypes: MutableCollection<String!>): SetSchemaResponse.Builder
Adds migratedTypes to the list of migrated schema types.
| Parameters | |
|---|---|
| migratedTypes | MutableCollection<String!>: This value cannot be null. | 
| Return | |
|---|---|
| SetSchemaResponse.Builder | This value cannot be null. | 
addMigrationFailure
fun addMigrationFailure(migrationFailure: SetSchemaResponse.MigrationFailure): SetSchemaResponse.Builder
Adds a MigrationFailure to the list of migration failures.
| Parameters | |
|---|---|
| migrationFailure | SetSchemaResponse.MigrationFailure: This value cannot be null. | 
| Return | |
|---|---|
| SetSchemaResponse.Builder | This value cannot be null. | 
addMigrationFailures
fun addMigrationFailures(migrationFailures: MutableCollection<SetSchemaResponse.MigrationFailure!>): SetSchemaResponse.Builder
Adds MigrationFailures to the list of migration failures.
| Parameters | |
|---|---|
| migrationFailures | MutableCollection<SetSchemaResponse.MigrationFailure!>: This value cannot be null. | 
| Return | |
|---|---|
| SetSchemaResponse.Builder | This value cannot be null. | 
build
fun build(): SetSchemaResponse
Builds a SetSchemaResponse object.
| Return | |
|---|---|
| SetSchemaResponse | This value cannot be null. | 
