# Class ExampleTool.Builder

java.lang.Object
com.google.adk.tools.ExampleTool.Builder

Enclosing class:
  `ExampleTool`

public static final class ExampleTool.Builder extends Object
Builder for `ExampleTool`.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Builder()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ExampleTool.Builder`
  `addExample(Example ex)`
  `ExampleTool`
  `build()`
  `ExampleTool.Builder`
  `description(String description)`
  `ExampleTool.Builder`
  `exampleProvider(BaseExampleProvider provider)`
  `ExampleTool.Builder`
  `name(String name)`
  `final ExampleTool.Builder`
  `setDescription(String description)`
  Deprecated.
  `final ExampleTool.Builder`
  `setExampleProvider(BaseExampleProvider provider)`
  Deprecated.
  `final ExampleTool.Builder`
  `setName(String name)`
  Deprecated.

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### Builder

    public Builder()

- ## Method Details

  - ### setName

    @Deprecated @CanIgnoreReturnValue public final ExampleTool.Builder setName(String name)
    Deprecated.

  - ### name

    @CanIgnoreReturnValue public ExampleTool.Builder name(String name)

  - ### setDescription

    @Deprecated @CanIgnoreReturnValue public final ExampleTool.Builder setDescription(String description)
    Deprecated.

  - ### description

    @CanIgnoreReturnValue public ExampleTool.Builder description(String description)

  - ### addExample

    @CanIgnoreReturnValue public ExampleTool.Builder addExample(Example ex)

  - ### setExampleProvider

    @Deprecated @CanIgnoreReturnValue public final ExampleTool.Builder setExampleProvider(BaseExampleProvider provider)
    Deprecated.

  - ### exampleProvider

    @CanIgnoreReturnValue public ExampleTool.Builder exampleProvider(BaseExampleProvider provider)

  - ### build

    public ExampleTool build()