public static final class CodeExecutionResult.Builder extends com.google.protobuf.GeneratedMessage.Builder<CodeExecutionResult.Builder> implements CodeExecutionResultOrBuilder
Result of executing the [ExecutableCode]. Always follows a `part` containing the [ExecutableCode].Protobuf type
google.cloud.aiplatform.v1.CodeExecutionResultaddRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<CodeExecutionResult.Builder>public CodeExecutionResult.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<CodeExecutionResult.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<CodeExecutionResult.Builder>public CodeExecutionResult getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CodeExecutionResult build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CodeExecutionResult buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CodeExecutionResult.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CodeExecutionResult.Builder>public CodeExecutionResult.Builder mergeFrom(CodeExecutionResult other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<CodeExecutionResult.Builder>public CodeExecutionResult.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CodeExecutionResult.Builder>IOExceptionpublic int getOutcomeValue()
Required. Outcome of the code execution.
.google.cloud.aiplatform.v1.CodeExecutionResult.Outcome outcome = 1 [(.google.api.field_behavior) = REQUIRED];
getOutcomeValue in interface CodeExecutionResultOrBuilderpublic CodeExecutionResult.Builder setOutcomeValue(int value)
Required. Outcome of the code execution.
.google.cloud.aiplatform.v1.CodeExecutionResult.Outcome outcome = 1 [(.google.api.field_behavior) = REQUIRED];
value - The enum numeric value on the wire for outcome to set.public CodeExecutionResult.Outcome getOutcome()
Required. Outcome of the code execution.
.google.cloud.aiplatform.v1.CodeExecutionResult.Outcome outcome = 1 [(.google.api.field_behavior) = REQUIRED];
getOutcome in interface CodeExecutionResultOrBuilderpublic CodeExecutionResult.Builder setOutcome(CodeExecutionResult.Outcome value)
Required. Outcome of the code execution.
.google.cloud.aiplatform.v1.CodeExecutionResult.Outcome outcome = 1 [(.google.api.field_behavior) = REQUIRED];
value - The outcome to set.public CodeExecutionResult.Builder clearOutcome()
Required. Outcome of the code execution.
.google.cloud.aiplatform.v1.CodeExecutionResult.Outcome outcome = 1 [(.google.api.field_behavior) = REQUIRED];
public String getOutput()
Optional. Contains stdout when code execution is successful, stderr or other description otherwise.
string output = 2 [(.google.api.field_behavior) = OPTIONAL];getOutput in interface CodeExecutionResultOrBuilderpublic 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];getOutputBytes in interface CodeExecutionResultOrBuilderpublic CodeExecutionResult.Builder setOutput(String value)
Optional. Contains stdout when code execution is successful, stderr or other description otherwise.
string output = 2 [(.google.api.field_behavior) = OPTIONAL];value - The output to set.public CodeExecutionResult.Builder clearOutput()
Optional. Contains stdout when code execution is successful, stderr or other description otherwise.
string output = 2 [(.google.api.field_behavior) = OPTIONAL];public CodeExecutionResult.Builder setOutputBytes(com.google.protobuf.ByteString value)
Optional. Contains stdout when code execution is successful, stderr or other description otherwise.
string output = 2 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for output to set.Copyright © 2026 Google LLC. All rights reserved.