Interface ReasoningEngineSpec.SourceCodeSpec.PythonSpecOrBuilder (3.79.0)

public static interface ReasoningEngineSpec.SourceCodeSpec.PythonSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEntrypointModule()

public abstract 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 abstract 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 abstract 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 abstract 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.

getRequirementsFile()

public abstract 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.

getRequirementsFileBytes()

public abstract 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.

getVersion()

public abstract 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.

getVersionBytes()

public abstract 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.