CodeExecutionResult_Outcome class final
Enumeration of possible outcomes of the code execution.
- Inheritance
-
- Object
- ProtoEnum
- CodeExecutionResult_Outcome
Constructors
- CodeExecutionResult_Outcome(String value)
-
const
- CodeExecutionResult_Outcome.fromJson(Object? json)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isNotDefault → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- $default → const CodeExecutionResult_Outcome
- The default value for CodeExecutionResult_Outcome.
- outcomeDeadlineExceeded → const CodeExecutionResult_Outcome
- Code execution ran for too long, and was cancelled. There may or may not be a partial output present.
- outcomeFailed → const CodeExecutionResult_Outcome
-
Code execution finished but with a failure.
stderrshould contain the reason. - outcomeOk → const CodeExecutionResult_Outcome
- Code execution completed successfully.
- outcomeUnspecified → const CodeExecutionResult_Outcome
- Unspecified status. This value should not be used.