Package com.google.adk.plugins
Enum Class ReflectAndRetryToolPlugin.TrackingScope
java.lang.Object
java.lang.Enum<ReflectAndRetryToolPlugin.TrackingScope>
com.google.adk.plugins.ReflectAndRetryToolPlugin.TrackingScope
- All Implemented Interfaces:
Serializable,Comparable<ReflectAndRetryToolPlugin.TrackingScope>,Constable
- Enclosing class:
- ReflectAndRetryToolPlugin
@Experimental
public static enum ReflectAndRetryToolPlugin.TrackingScope
extends Enum<ReflectAndRetryToolPlugin.TrackingScope>
Defines the lifecycle scope for tracking tool failure counts.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFailure counts live for the lifetime of the plugin instance, shared across invocations.Failure counts live for one invocation and are keyed by its invocation id. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INVOCATION
Failure counts live for one invocation and are keyed by its invocation id. -
GLOBAL
Failure counts live for the lifetime of the plugin instance, shared across invocations.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-