public enum CodeExecutionResult.Outcome extends Enum<CodeExecutionResult.Outcome> implements ProtocolMessageEnum
Enumeration of possible outcomes of the code execution.
Protobuf enum google.cloud.vertexai.v1.CodeExecutionResult.Outcome
Implements
ProtocolMessageEnumStatic Fields |
|
---|---|
Name | Description |
OUTCOME_DEADLINE_EXCEEDED |
Code execution ran for too long, and was cancelled. There may or may not be a partial output present. |
OUTCOME_DEADLINE_EXCEEDED_VALUE |
Code execution ran for too long, and was cancelled. There may or may not be a partial output present. |
OUTCOME_FAILED |
Code execution finished but with a failure. |
OUTCOME_FAILED_VALUE |
Code execution finished but with a failure. |
OUTCOME_OK |
Code execution completed successfully. |
OUTCOME_OK_VALUE |
Code execution completed successfully. |
OUTCOME_UNSPECIFIED |
Unspecified status. This value should not be used. |
OUTCOME_UNSPECIFIED_VALUE |
Unspecified status. This value should not be used. |
UNRECOGNIZED |
Static Methods |
|
---|---|
Name | Description |
forNumber(int value) |
|
getDescriptor() |
|
internalGetValueMap() |
|
valueOf(Descriptors.EnumValueDescriptor desc) |
|
valueOf(int value) |
Deprecated. Use #forNumber(int) instead. |
valueOf(String name) |
|
values() |
Methods |
|
---|---|
Name | Description |
getDescriptorForType() |
|
getNumber() |
|
getValueDescriptor() |