AppSearchSchema.BytesPropertyConfig.Builder

public static final classAppSearchSchema.BytesPropertyConfig.BuilderextendsObject

Public Constructor Summary

Public Method Summary

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

Inherited Method Summary

Public Constructors

publicBuilder(String propertyName)

Public Methods

public AppSearchSchema.BytesPropertyConfigbuild()

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

public AppSearchSchema.BytesPropertyConfig.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.BytesPropertyConfig.BuildersetDescription(String description)

Sets a natural language description of this property.

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