Interface QuantumTaskQueueInfo.Builder

  • Method Details

    • message

      Optional. Provides more information about the queue position. For example, if the task is complete and no longer in the queue, the message field contains that information.

      Parameters:
      message - Optional. Provides more information about the queue position. For example, if the task is complete and no longer in the queue, the message field contains that information.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • position

      Current position of the task in the quantum tasks queue.

      Parameters:
      position - Current position of the task in the quantum tasks queue.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • queue

      The name of the queue.

      Parameters:
      queue - The name of the queue.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • queue

      The name of the queue.

      Parameters:
      queue - The name of the queue.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • queuePriority

      QuantumTaskQueueInfo.Builder queuePriority(String queuePriority)

      Optional. Specifies the priority of the queue. Quantum tasks in a priority queue are processed before the tasks in a normal queue.

      Parameters:
      queuePriority - Optional. Specifies the priority of the queue. Quantum tasks in a priority queue are processed before the tasks in a normal queue.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • queuePriority

      QuantumTaskQueueInfo.Builder queuePriority(QueuePriority queuePriority)

      Optional. Specifies the priority of the queue. Quantum tasks in a priority queue are processed before the tasks in a normal queue.

      Parameters:
      queuePriority - Optional. Specifies the priority of the queue. Quantum tasks in a priority queue are processed before the tasks in a normal queue.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: