Record Class ResumabilityConfig
java.lang.Object
java.lang.Record
com.google.adk.flows.llmflows.ResumabilityConfig
- Record Components:
isResumable- Whether the app is resumable.
An app contains Resumability configuration for the agents.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a newResumabilityConfigwith resumability disabled.ResumabilityConfig(boolean isResumable) Creates an instance of aResumabilityConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theisResumablerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ResumabilityConfig
public ResumabilityConfig()Creates a newResumabilityConfigwith resumability disabled. -
ResumabilityConfig
public ResumabilityConfig(boolean isResumable) Creates an instance of aResumabilityConfigrecord class.- Parameters:
isResumable- the value for theisResumablerecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
isResumable
public boolean isResumable()Returns the value of theisResumablerecord component.- Returns:
- the value of the
isResumablerecord component
-