SmartReplyGeneratorOptions.Builder

  • SmartReplyGeneratorOptions.Builder is used to create instances of SmartReplyGeneratorOptions.

  • It provides a build() method to create a SmartReplyGeneratorOptions object.

  • You can customize the executor used for smart reply generation with setExecutor().

  • By default, an internal background thread pool handles the task if no custom executor is provided.

public static class SmartReplyGeneratorOptions.Builder extends Object

Builder to create a SmartReplyGeneratorOptions instance.

Public Constructor Summary

Public Method Summary

SmartReplyGeneratorOptions
build()
Creates a new SmartReplyGeneratorOptions instance.
SmartReplyGeneratorOptions.Builder
setExecutor(Executor executor)
Sets the custom Executor to use.

Inherited Method Summary

Public Constructors

public Builder ()

Public Methods

public SmartReplyGeneratorOptions build ()

Creates a new SmartReplyGeneratorOptions instance.

public SmartReplyGeneratorOptions.Builder setExecutor (Executor executor)

Sets the custom Executor to use. If no Executor is set, an internal background thread pool will be used.

Most clients should not need to call this method.

Parameters
executor the Executor to use
Returns
  • this object, for chaining method calls