Interface ReasoningEngineSpec.SourceCodeSpec.PythonSpecOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ReasoningEngineSpec.SourceCodeSpec.PythonSpec, ReasoningEngineSpec.SourceCodeSpec.PythonSpec.Builder
Enclosing class:
ReasoningEngineSpec.SourceCodeSpec

public static interface ReasoningEngineSpec.SourceCodeSpec.PythonSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional.
    com.google.protobuf.ByteString
    Optional.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    Optional.
    com.google.protobuf.ByteString
    Optional.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getVersion

      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:
      The version.
    • getVersionBytes

      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];
      Returns:
      The bytes for version.
    • getEntrypointModule

      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:
      The entrypointModule.
    • getEntrypointModuleBytes

      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];
      Returns:
      The bytes for entrypointModule.
    • getEntrypointObject

      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:
      The entrypointObject.
    • getEntrypointObjectBytes

      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];
      Returns:
      The bytes for entrypointObject.
    • getRequirementsFile

      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:
      The requirementsFile.
    • getRequirementsFileBytes

      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];
      Returns:
      The bytes for requirementsFile.