Interface CodeExecutionResultOrBuilder (3.56.0)

public interface CodeExecutionResultOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getOutcome()

public abstract CodeExecutionResult.Outcome getOutcome()

Required. Outcome of the code execution.

.google.cloud.aiplatform.v1beta1.CodeExecutionResult.Outcome outcome = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CodeExecutionResult.Outcome

The outcome.

getOutcomeValue()

public abstract int getOutcomeValue()

Required. Outcome of the code execution.

.google.cloud.aiplatform.v1beta1.CodeExecutionResult.Outcome outcome = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for outcome.

getOutput()

public abstract String getOutput()

Optional. Contains stdout when code execution is successful, stderr or other description otherwise.

string output = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The output.

getOutputBytes()

public abstract ByteString getOutputBytes()

Optional. Contains stdout when code execution is successful, stderr or other description otherwise.

string output = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for output.