<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: temporal/api/workflowservice/v1/request_response.proto

namespace Temporal\Api\Workflowservice\V1\UnpauseActivityByIdRequest;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;

/**
 * Generated from protobuf message <code>temporal.api.workflowservice.v1.UnpauseActivityByIdRequest.ResumeOperation</code>
 */
class ResumeOperation extends \Google\Protobuf\Internal\Message
{
    /**
     * Indicates that if the activity is waiting to retry, it will  be scheduled immediately.
     *
     * Generated from protobuf field <code>bool no_wait = 1;</code>
     */
    protected $no_wait = false;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type bool $no_wait
     *           Indicates that if the activity is waiting to retry, it will  be scheduled immediately.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Temporal\Api\Workflowservice\V1\RequestResponse::initOnce();
        parent::__construct($data);
    }

    /**
     * Indicates that if the activity is waiting to retry, it will  be scheduled immediately.
     *
     * Generated from protobuf field <code>bool no_wait = 1;</code>
     * @return bool
     */
    public function getNoWait()
    {
        return $this->no_wait;
    }

    /**
     * Indicates that if the activity is waiting to retry, it will  be scheduled immediately.
     *
     * Generated from protobuf field <code>bool no_wait = 1;</code>
     * @param bool $var
     * @return $this
     */
    public function setNoWait($var)
    {
        GPBUtil::checkBool($var);
        $this->no_wait = $var;

        return $this;
    }

}

