public interface CodeExecutionResultOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getOutcome()
public abstract CodeExecutionResult.Outcome getOutcome()
Required. Outcome of the code execution.
.google.cloud.vertexai.v1.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.vertexai.v1.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. |