public final class

AppSearchSchema.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.appsearch.app.AppSearchSchema.Builder

Overview

Builder for objects.

Summary

Constructors
publicBuilder(java.lang.String schemaType)

Creates a new AppSearchSchema.Builder.

Methods
public AppSearchSchema.BuilderaddProperty(AppSearchSchema.PropertyConfig propertyConfig)

Adds a property to the given type.

public AppSearchSchemabuild()

Constructs a new AppSearchSchema from the contents of this builder.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public Builder(java.lang.String schemaType)

Creates a new AppSearchSchema.Builder.

Methods

public AppSearchSchema.Builder addProperty(AppSearchSchema.PropertyConfig propertyConfig)

Adds a property to the given type.

public AppSearchSchema build()

Constructs a new AppSearchSchema from the contents of this builder.