Send feedback
Class ReasoningEngineSpec.SourceCodeSpec.PythonSpec (3.79.0)
Version latestkeyboard_arrow_down
public static final class ReasoningEngineSpec . SourceCodeSpec . PythonSpec extends GeneratedMessageV3 implements ReasoningEngineSpec . SourceCodeSpec . PythonSpecOrBuilder
Specification for running a Python application from source.
Protobuf type
google.cloud.aiplatform.v1beta1.ReasoningEngineSpec.SourceCodeSpec.PythonSpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ENTRYPOINT_MODULE_FIELD_NUMBER
public static final int ENTRYPOINT_MODULE_FIELD_NUMBER
Field Value
Type
Description
int
ENTRYPOINT_OBJECT_FIELD_NUMBER
public static final int ENTRYPOINT_OBJECT_FIELD_NUMBER
Field Value
Type
Description
int
public static final int REQUIREMENTS_FILE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int VERSION_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static ReasoningEngineSpec . SourceCodeSpec . PythonSpec getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static ReasoningEngineSpec . SourceCodeSpec . PythonSpec . Builder newBuilder ()
public static ReasoningEngineSpec . SourceCodeSpec . PythonSpec . Builder newBuilder ( ReasoningEngineSpec . SourceCodeSpec . PythonSpec prototype )
public static ReasoningEngineSpec . SourceCodeSpec . PythonSpec parseDelimitedFrom ( InputStream input )
public static ReasoningEngineSpec . SourceCodeSpec . PythonSpec parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static ReasoningEngineSpec . SourceCodeSpec . PythonSpec parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static ReasoningEngineSpec . SourceCodeSpec . PythonSpec parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static ReasoningEngineSpec . SourceCodeSpec . PythonSpec parseFrom ( ByteString data )
public static ReasoningEngineSpec . SourceCodeSpec . PythonSpec parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static ReasoningEngineSpec . SourceCodeSpec . PythonSpec parseFrom ( CodedInputStream input )
public static ReasoningEngineSpec . SourceCodeSpec . PythonSpec parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static ReasoningEngineSpec . SourceCodeSpec . PythonSpec parseFrom ( InputStream input )
public static ReasoningEngineSpec . SourceCodeSpec . PythonSpec parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static ReasoningEngineSpec . SourceCodeSpec . PythonSpec parseFrom ( ByteBuffer data )
public static ReasoningEngineSpec . SourceCodeSpec . PythonSpec parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<ReasoningEngineSpec . SourceCodeSpec . PythonSpec > parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public ReasoningEngineSpec . SourceCodeSpec . PythonSpec getDefaultInstanceForType ()
getEntrypointModule()
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];
Returns
Type
Description
String
The entrypointModule.
getEntrypointModuleBytes()
public 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];
Returns
Type
Description
ByteString
The bytes for entrypointModule.
getEntrypointObject()
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];
Returns
Type
Description
String
The entrypointObject.
getEntrypointObjectBytes()
public 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];
Returns
Type
Description
ByteString
The bytes for entrypointObject.
public Parser<ReasoningEngineSpec . SourceCodeSpec . PythonSpec > getParserForType ()
Overrides
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];
Returns
Type
Description
String
The requirementsFile.
public 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];
Returns
Type
Description
ByteString
The bytes for requirementsFile.
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public 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];
Returns
Type
Description
String
The version.
public 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];
Returns
Type
Description
ByteString
The bytes for version.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public ReasoningEngineSpec . SourceCodeSpec . PythonSpec . Builder newBuilderForType ()
protected ReasoningEngineSpec . SourceCodeSpec . PythonSpec . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public ReasoningEngineSpec . SourceCodeSpec . PythonSpec . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-29 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]