AppSearchSchema.BooleanPropertyConfig.Builder

public static final classAppSearchSchema.BooleanPropertyConfig.BuilderextendsObject

Public Constructor Summary

Public Method Summary

AppSearchSchema.BooleanPropertyConfig
build()
Constructs a new AppSearchSchema.BooleanPropertyConfigfrom the contents of this builder.
AppSearchSchema.BooleanPropertyConfig.Builder
setCardinality(int cardinality)
Sets the cardinality of the property (whether it is optional, required or repeated).
AppSearchSchema.BooleanPropertyConfig.Builder
setDescription(Stringdescription)
Sets a natural language description of this property.

Inherited Method Summary

Public Constructors

publicBuilder(String propertyName)

Public Methods

public AppSearchSchema.BooleanPropertyConfigbuild()

Constructs a new AppSearchSchema.BooleanPropertyConfigfrom the contents of this builder.

public AppSearchSchema.BooleanPropertyConfig.BuildersetCardinality(int cardinality)

Sets the cardinality of the property (whether it is optional, required or repeated).

If this method is not called, the default cardinality is AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL.

public AppSearchSchema.BooleanPropertyConfig.BuildersetDescription(String description)

Sets a natural language description of this property.

For more details about the description field, see AppSearchSchema.PropertyConfig.getDescription().