Interface InvokeAgentRuntimeResponse.Builder

  • Method Details

    • runtimeSessionId

      InvokeAgentRuntimeResponse.Builder runtimeSessionId(String runtimeSessionId)

      The identifier of the runtime session.

      Parameters:
      runtimeSessionId - The identifier of the runtime session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mcpSessionId

      InvokeAgentRuntimeResponse.Builder mcpSessionId(String mcpSessionId)

      The identifier of the MCP session.

      Parameters:
      mcpSessionId - The identifier of the MCP session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mcpProtocolVersion

      InvokeAgentRuntimeResponse.Builder mcpProtocolVersion(String mcpProtocolVersion)

      The version of the MCP protocol being used.

      Parameters:
      mcpProtocolVersion - The version of the MCP protocol being used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • traceId

      The trace identifier for request tracking.

      Parameters:
      traceId - The trace identifier for request tracking.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • traceParent

      InvokeAgentRuntimeResponse.Builder traceParent(String traceParent)

      The parent trace information for distributed tracing.

      Parameters:
      traceParent - The parent trace information for distributed tracing.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • traceState

      The trace state information for distributed tracing.

      Parameters:
      traceState - The trace state information for distributed tracing.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • baggage

      Additional context information for distributed tracing.

      Parameters:
      baggage - Additional context information for distributed tracing.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contentType

      InvokeAgentRuntimeResponse.Builder contentType(String contentType)

      The MIME type of the response data. This indicates how to interpret the response data. Common values include application/json for JSON data.

      Parameters:
      contentType - The MIME type of the response data. This indicates how to interpret the response data. Common values include application/json for JSON data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statusCode

      InvokeAgentRuntimeResponse.Builder statusCode(Integer statusCodeValue)

      The HTTP status code of the response. A status code of 200 indicates a successful operation. Other status codes indicate various error conditions.

      Parameters:
      statusCodeValue - The HTTP status code of the response. A status code of 200 indicates a successful operation. Other status codes indicate various error conditions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.