Enum CodeExecutionResult.Outcome (3.56.0)

public enum CodeExecutionResult.Outcome extends Enum<CodeExecutionResult.Outcome> implements ProtocolMessageEnum

Enumeration of possible outcomes of the code execution.

Protobuf enum google.cloud.aiplatform.v1beta1.CodeExecutionResult.Outcome

Implements

ProtocolMessageEnum

Static 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 = 3;

OUTCOME_DEADLINE_EXCEEDED_VALUE

Code execution ran for too long, and was cancelled. There may or may not be a partial output present.

OUTCOME_DEADLINE_EXCEEDED = 3;

OUTCOME_FAILED

Code execution finished but with a failure. stderr should contain the reason.

OUTCOME_FAILED = 2;

OUTCOME_FAILED_VALUE

Code execution finished but with a failure. stderr should contain the reason.

OUTCOME_FAILED = 2;

OUTCOME_OK

Code execution completed successfully.

OUTCOME_OK = 1;

OUTCOME_OK_VALUE

Code execution completed successfully.

OUTCOME_OK = 1;

OUTCOME_UNSPECIFIED

Unspecified status. This value should not be used.

OUTCOME_UNSPECIFIED = 0;

OUTCOME_UNSPECIFIED_VALUE

Unspecified status. This value should not be used.

OUTCOME_UNSPECIFIED = 0;

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()