Interface UuidProvider

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface UuidProvider
Supplies new unique identifiers for ADK-generated ids. Implementations must be thread-safe and return a distinct value on every call; configure one with Runner.Builder.uuidProvider(UuidProvider).
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final UuidProvider
    A provider backed by UUID.randomUUID().
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a new unique identifier.