Enum BetaAdvisorToolResultErrorParam.ErrorCode.Known
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum BetaAdvisorToolResultErrorParam.ErrorCode.Known extends Enum<BetaAdvisorToolResultErrorParam.ErrorCode.Known>
An enum containing ErrorCode's known values.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final Integerordinalprivate final EnumEntries<BetaAdvisorToolResultErrorParam.ErrorCode.Known>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description MAX_USES_EXCEEDEDPROMPT_TOO_LONGTOO_MANY_REQUESTSOVERLOADEDUNAVAILABLEEXECUTION_TIME_EXCEEDEDMODEL_NOT_FOUND
-
Method Summary
Modifier and Type Method Description final BetaAdvisorToolResultErrorParam.ErrorCode.KnownvalueOf(String value)Returns the enum constant of this type with the specified name. final Array<BetaAdvisorToolResultErrorParam.ErrorCode.Known>values()Returns an array containing the constants of this enum type, in the order they're declared. final EnumEntries<BetaAdvisorToolResultErrorParam.ErrorCode.Known>getEntries()An enum containing ErrorCode's known values. -
-
Method Detail
-
valueOf
final BetaAdvisorToolResultErrorParam.ErrorCode.Known valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<BetaAdvisorToolResultErrorParam.ErrorCode.Known> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getEntries
final EnumEntries<BetaAdvisorToolResultErrorParam.ErrorCode.Known> getEntries()
An enum containing ErrorCode's known values.
-
-
-
-