Enum Class AgentRegistrySpawnValidationErrorReason
java.lang.Object
java.lang.Enum<AgentRegistrySpawnValidationErrorReason>
com.github.copilot.generated.rpc.AgentRegistrySpawnValidationErrorReason
- All Implemented Interfaces:
Serializable, Comparable<AgentRegistrySpawnValidationErrorReason>, Constable
@Generated("copilot-sdk-codegen")
public enum AgentRegistrySpawnValidationErrorReason
extends Enum<AgentRegistrySpawnValidationErrorReason>
Categorized reason for the rejection. Low-cardinality enum so telemetry can aggregate by reason without leaking raw paths or agent/model names.
- Since:
- 1.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThecwd-not-directoryvariant.Thecwd-not-foundvariant.Theinvalid-namevariant.Theunknown-agentvariant.Theunknown-modelvariant.Theyolo-not-allowedvariant. -
Method Summary
-
Enum Constant Details
-
CWD_NOT_FOUND
Thecwd-not-foundvariant. -
CWD_NOT_DIRECTORY
Thecwd-not-directoryvariant. -
INVALID_NAME
Theinvalid-namevariant. -
UNKNOWN_AGENT
Theunknown-agentvariant. -
UNKNOWN_MODEL
Theunknown-modelvariant. -
YOLO_NOT_ALLOWED
Theyolo-not-allowedvariant.
-
-
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
-
getValue
-
fromValue
-