Enum CodeExecutionResult.Outcome (1.38.0)

publicenumCodeExecutionResult.OutcomeextendsEnum<CodeExecutionResult.Outcome>implementsProtocolMessageEnum

Enumeration of possible outcomes of the code execution.

Protobuf enum google.cloud.vertexai.v1.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()

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.