Interface CodeExecutionRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CodeExecutionRequest, CodeExecutionRequest.Builder

@Generated public interface CodeExecutionRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getUri

      String getUri()
       *
       The URI identifying the code execution capability.
       Format: code-execution-engine://${engine-type}/${language}
       
      string uri = 1;
      Returns:
      The uri.
    • getUriBytes

      com.google.protobuf.ByteString getUriBytes()
       *
       The URI identifying the code execution capability.
       Format: code-execution-engine://${engine-type}/${language}
       
      string uri = 1;
      Returns:
      The bytes for uri.
    • getBody

      String getBody()
       *
       The request body content.
       
      string body = 2;
      Returns:
      The body.
    • getBodyBytes

      com.google.protobuf.ByteString getBodyBytes()
       *
       The request body content.
       
      string body = 2;
      Returns:
      The bytes for body.
    • getCode

      String getCode()
       *
       The source code to execute as a text blob.
       This field contains the actual code that will be executed by the engine.
       
      string code = 3;
      Returns:
      The code.
    • getCodeBytes

      com.google.protobuf.ByteString getCodeBytes()
       *
       The source code to execute as a text blob.
       This field contains the actual code that will be executed by the engine.
       
      string code = 3;
      Returns:
      The bytes for code.
    • getArgumentsCount

      int getArgumentsCount()
       *
       Optional map of execution arguments.
       These are command-line arguments or parameters passed to the code execution.
       Key-value pairs where both key and value are strings.
       
      map<string, string> arguments = 4;
    • containsArguments

      boolean containsArguments(String key)
       *
       Optional map of execution arguments.
       These are command-line arguments or parameters passed to the code execution.
       Key-value pairs where both key and value are strings.
       
      map<string, string> arguments = 4;
    • getArguments

      @Deprecated Map<String,String> getArguments()
      Deprecated.
      Use getArgumentsMap() instead.
    • getArgumentsMap

      Map<String,String> getArgumentsMap()
       *
       Optional map of execution arguments.
       These are command-line arguments or parameters passed to the code execution.
       Key-value pairs where both key and value are strings.
       
      map<string, string> arguments = 4;
    • getArgumentsOrDefault

      String getArgumentsOrDefault(String key, String defaultValue)
       *
       Optional map of execution arguments.
       These are command-line arguments or parameters passed to the code execution.
       Key-value pairs where both key and value are strings.
       
      map<string, string> arguments = 4;
    • getArgumentsOrThrow

      String getArgumentsOrThrow(String key)
       *
       Optional map of execution arguments.
       These are command-line arguments or parameters passed to the code execution.
       Key-value pairs where both key and value are strings.
       
      map<string, string> arguments = 4;
    • getConfigurationUri

      String getConfigurationUri()
       *
       Optional URI reference to configuration data.
       Used to provide additional configuration for the execution environment.
       
      string configuration_uri = 5;
      Returns:
      The configurationUri.
    • getConfigurationUriBytes

      com.google.protobuf.ByteString getConfigurationUriBytes()
       *
       Optional URI reference to configuration data.
       Used to provide additional configuration for the execution environment.
       
      string configuration_uri = 5;
      Returns:
      The bytes for configurationUri.
    • getSecretsUri

      String getSecretsUri()
       *
       Optional URI reference to secrets data.
       Used to provide secure credentials or sensitive data needed for execution.
       
      string secrets_uri = 6;
      Returns:
      The secretsUri.
    • getSecretsUriBytes

      com.google.protobuf.ByteString getSecretsUriBytes()
       *
       Optional URI reference to secrets data.
       Used to provide secure credentials or sensitive data needed for execution.
       
      string secrets_uri = 6;
      Returns:
      The bytes for secretsUri.
    • hasTimeout

      boolean hasTimeout()
       *
       Optional timeout in milliseconds.
       Maximum time allowed for code execution before termination.
       If not specified, a default timeout will be applied.
       
      optional int64 timeout = 7;
      Returns:
      Whether the timeout field is set.
    • getTimeout

      long getTimeout()
       *
       Optional timeout in milliseconds.
       Maximum time allowed for code execution before termination.
       If not specified, a default timeout will be applied.
       
      optional int64 timeout = 7;
      Returns:
      The timeout.
    • getEnvironmentCount

      int getEnvironmentCount()
       *
       Optional map of environment variables.
       These environment variables will be set in the execution context.
       
      map<string, string> environment = 8;
    • containsEnvironment

      boolean containsEnvironment(String key)
       *
       Optional map of environment variables.
       These environment variables will be set in the execution context.
       
      map<string, string> environment = 8;
    • getEnvironment

      @Deprecated Map<String,String> getEnvironment()
      Deprecated.
      Use getEnvironmentMap() instead.
    • getEnvironmentMap

      Map<String,String> getEnvironmentMap()
       *
       Optional map of environment variables.
       These environment variables will be set in the execution context.
       
      map<string, string> environment = 8;
    • getEnvironmentOrDefault

      String getEnvironmentOrDefault(String key, String defaultValue)
       *
       Optional map of environment variables.
       These environment variables will be set in the execution context.
       
      map<string, string> environment = 8;
    • getEnvironmentOrThrow

      String getEnvironmentOrThrow(String key)
       *
       Optional map of environment variables.
       These environment variables will be set in the execution context.
       
      map<string, string> environment = 8;
    • getRequestId

      String getRequestId()
       *
       The MCP session request ID for tracing.
       Used to correlate requests across the system.
       
      string request_id = 9;
      Returns:
      The requestId.
    • getRequestIdBytes

      com.google.protobuf.ByteString getRequestIdBytes()
       *
       The MCP session request ID for tracing.
       Used to correlate requests across the system.
       
      string request_id = 9;
      Returns:
      The bytes for requestId.