public static final class ReasoningEngineSpec.SourceCodeSpec.PythonSpec.Builder extends com.google.protobuf.GeneratedMessage.Builder<ReasoningEngineSpec.SourceCodeSpec.PythonSpec.Builder> implements ReasoningEngineSpec.SourceCodeSpec.PythonSpecOrBuilder
Specification for running a Python application from source.Protobuf type
google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpecaddRepeatedField, 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<ReasoningEngineSpec.SourceCodeSpec.PythonSpec.Builder>public ReasoningEngineSpec.SourceCodeSpec.PythonSpec.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<ReasoningEngineSpec.SourceCodeSpec.PythonSpec.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<ReasoningEngineSpec.SourceCodeSpec.PythonSpec.Builder>public ReasoningEngineSpec.SourceCodeSpec.PythonSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ReasoningEngineSpec.SourceCodeSpec.PythonSpec build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ReasoningEngineSpec.SourceCodeSpec.PythonSpec buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ReasoningEngineSpec.SourceCodeSpec.PythonSpec.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReasoningEngineSpec.SourceCodeSpec.PythonSpec.Builder>public ReasoningEngineSpec.SourceCodeSpec.PythonSpec.Builder mergeFrom(ReasoningEngineSpec.SourceCodeSpec.PythonSpec other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<ReasoningEngineSpec.SourceCodeSpec.PythonSpec.Builder>public ReasoningEngineSpec.SourceCodeSpec.PythonSpec.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<ReasoningEngineSpec.SourceCodeSpec.PythonSpec.Builder>IOExceptionpublic String getVersion()
Optional. The version of Python to use. Support version includes 3.9, 3.10, 3.11, 3.12, 3.13. If not specified, default value is 3.10.
string version = 1 [(.google.api.field_behavior) = OPTIONAL];getVersion in interface ReasoningEngineSpec.SourceCodeSpec.PythonSpecOrBuilderpublic com.google.protobuf.ByteString getVersionBytes()
Optional. The version of Python to use. Support version includes 3.9, 3.10, 3.11, 3.12, 3.13. If not specified, default value is 3.10.
string version = 1 [(.google.api.field_behavior) = OPTIONAL];getVersionBytes in interface ReasoningEngineSpec.SourceCodeSpec.PythonSpecOrBuilderpublic ReasoningEngineSpec.SourceCodeSpec.PythonSpec.Builder setVersion(String value)
Optional. The version of Python to use. Support version includes 3.9, 3.10, 3.11, 3.12, 3.13. If not specified, default value is 3.10.
string version = 1 [(.google.api.field_behavior) = OPTIONAL];value - The version to set.public ReasoningEngineSpec.SourceCodeSpec.PythonSpec.Builder clearVersion()
Optional. The version of Python to use. Support version includes 3.9, 3.10, 3.11, 3.12, 3.13. If not specified, default value is 3.10.
string version = 1 [(.google.api.field_behavior) = OPTIONAL];public ReasoningEngineSpec.SourceCodeSpec.PythonSpec.Builder setVersionBytes(com.google.protobuf.ByteString value)
Optional. The version of Python to use. Support version includes 3.9, 3.10, 3.11, 3.12, 3.13. If not specified, default value is 3.10.
string version = 1 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for version to set.public String getEntrypointModule()
Optional. The Python module to load as the entrypoint, specified as a fully qualified module name. For example: path.to.agent. If not specified, defaults to "agent". The project root will be added to Python sys.path, allowing imports to be specified relative to the root.
string entrypoint_module = 2 [(.google.api.field_behavior) = OPTIONAL];getEntrypointModule in interface ReasoningEngineSpec.SourceCodeSpec.PythonSpecOrBuilderpublic com.google.protobuf.ByteString getEntrypointModuleBytes()
Optional. The Python module to load as the entrypoint, specified as a fully qualified module name. For example: path.to.agent. If not specified, defaults to "agent". The project root will be added to Python sys.path, allowing imports to be specified relative to the root.
string entrypoint_module = 2 [(.google.api.field_behavior) = OPTIONAL];getEntrypointModuleBytes in interface ReasoningEngineSpec.SourceCodeSpec.PythonSpecOrBuilderpublic ReasoningEngineSpec.SourceCodeSpec.PythonSpec.Builder setEntrypointModule(String value)
Optional. The Python module to load as the entrypoint, specified as a fully qualified module name. For example: path.to.agent. If not specified, defaults to "agent". The project root will be added to Python sys.path, allowing imports to be specified relative to the root.
string entrypoint_module = 2 [(.google.api.field_behavior) = OPTIONAL];value - The entrypointModule to set.public ReasoningEngineSpec.SourceCodeSpec.PythonSpec.Builder clearEntrypointModule()
Optional. The Python module to load as the entrypoint, specified as a fully qualified module name. For example: path.to.agent. If not specified, defaults to "agent". The project root will be added to Python sys.path, allowing imports to be specified relative to the root.
string entrypoint_module = 2 [(.google.api.field_behavior) = OPTIONAL];public ReasoningEngineSpec.SourceCodeSpec.PythonSpec.Builder setEntrypointModuleBytes(com.google.protobuf.ByteString value)
Optional. The Python module to load as the entrypoint, specified as a fully qualified module name. For example: path.to.agent. If not specified, defaults to "agent". The project root will be added to Python sys.path, allowing imports to be specified relative to the root.
string entrypoint_module = 2 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for entrypointModule to set.public String getEntrypointObject()
Optional. The name of the callable object within the `entrypoint_module` to use as the application If not specified, defaults to "root_agent".
string entrypoint_object = 3 [(.google.api.field_behavior) = OPTIONAL];getEntrypointObject in interface ReasoningEngineSpec.SourceCodeSpec.PythonSpecOrBuilderpublic com.google.protobuf.ByteString getEntrypointObjectBytes()
Optional. The name of the callable object within the `entrypoint_module` to use as the application If not specified, defaults to "root_agent".
string entrypoint_object = 3 [(.google.api.field_behavior) = OPTIONAL];getEntrypointObjectBytes in interface ReasoningEngineSpec.SourceCodeSpec.PythonSpecOrBuilderpublic ReasoningEngineSpec.SourceCodeSpec.PythonSpec.Builder setEntrypointObject(String value)
Optional. The name of the callable object within the `entrypoint_module` to use as the application If not specified, defaults to "root_agent".
string entrypoint_object = 3 [(.google.api.field_behavior) = OPTIONAL];value - The entrypointObject to set.public ReasoningEngineSpec.SourceCodeSpec.PythonSpec.Builder clearEntrypointObject()
Optional. The name of the callable object within the `entrypoint_module` to use as the application If not specified, defaults to "root_agent".
string entrypoint_object = 3 [(.google.api.field_behavior) = OPTIONAL];public ReasoningEngineSpec.SourceCodeSpec.PythonSpec.Builder setEntrypointObjectBytes(com.google.protobuf.ByteString value)
Optional. The name of the callable object within the `entrypoint_module` to use as the application If not specified, defaults to "root_agent".
string entrypoint_object = 3 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for entrypointObject to set.public String getRequirementsFile()
Optional. The path to the requirements file, relative to the source root. If not specified, defaults to "requirements.txt".
string requirements_file = 4 [(.google.api.field_behavior) = OPTIONAL];getRequirementsFile in interface ReasoningEngineSpec.SourceCodeSpec.PythonSpecOrBuilderpublic com.google.protobuf.ByteString getRequirementsFileBytes()
Optional. The path to the requirements file, relative to the source root. If not specified, defaults to "requirements.txt".
string requirements_file = 4 [(.google.api.field_behavior) = OPTIONAL];getRequirementsFileBytes in interface ReasoningEngineSpec.SourceCodeSpec.PythonSpecOrBuilderpublic ReasoningEngineSpec.SourceCodeSpec.PythonSpec.Builder setRequirementsFile(String value)
Optional. The path to the requirements file, relative to the source root. If not specified, defaults to "requirements.txt".
string requirements_file = 4 [(.google.api.field_behavior) = OPTIONAL];value - The requirementsFile to set.public ReasoningEngineSpec.SourceCodeSpec.PythonSpec.Builder clearRequirementsFile()
Optional. The path to the requirements file, relative to the source root. If not specified, defaults to "requirements.txt".
string requirements_file = 4 [(.google.api.field_behavior) = OPTIONAL];public ReasoningEngineSpec.SourceCodeSpec.PythonSpec.Builder setRequirementsFileBytes(com.google.protobuf.ByteString value)
Optional. The path to the requirements file, relative to the source root. If not specified, defaults to "requirements.txt".
string requirements_file = 4 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for requirementsFile to set.Copyright © 2026 Google LLC. All rights reserved.