Package com.google.cloud.aiplatform.v1
Interface CodeExecutionResultOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CodeExecutionResult,CodeExecutionResult.Builder
@Generated
public interface CodeExecutionResultOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.intRequired.Optional.com.google.protobuf.ByteStringOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getOutcomeValue
int getOutcomeValue()Required. Outcome of the code execution.
.google.cloud.aiplatform.v1.CodeExecutionResult.Outcome outcome = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The enum numeric value on the wire for outcome.
-
getOutcome
CodeExecutionResult.Outcome getOutcome()Required. Outcome of the code execution.
.google.cloud.aiplatform.v1.CodeExecutionResult.Outcome outcome = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The outcome.
-
getOutput
String getOutput()Optional. Contains stdout when code execution is successful, stderr or other description otherwise.
string output = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The output.
-
getOutputBytes
com.google.protobuf.ByteString getOutputBytes()Optional. Contains stdout when code execution is successful, stderr or other description otherwise.
string output = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for output.
-