AppSearchSchema.BytesPropertyConfig.Builder

public static final class AppSearchSchema.BytesPropertyConfig.Builder extends Object

Public Constructor Summary

Public Method Summary

AppSearchSchema.BytesPropertyConfig
build()
Constructs a new AppSearchSchema.BytesPropertyConfig from 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(String description)
Sets a natural language description of this property.

Inherited Method Summary

Public Constructors

public Builder (String propertyName)

Public Methods

public AppSearchSchema.BytesPropertyConfig build ()

Constructs a new AppSearchSchema.BytesPropertyConfig from the contents of this builder.

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

Sets a natural language description of this property.

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