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

namespace Temporal\Api\Errordetails\V1;

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

/**
 * Generated from protobuf message <code>temporal.api.errordetails.v1.WorkflowExecutionAlreadyStartedFailure</code>
 */
class WorkflowExecutionAlreadyStartedFailure extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>string start_request_id = 1;</code>
     */
    protected $start_request_id = '';
    /**
     * Generated from protobuf field <code>string run_id = 2;</code>
     */
    protected $run_id = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $start_request_id
     *     @type string $run_id
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Temporal\Api\Errordetails\V1\Message::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>string start_request_id = 1;</code>
     * @return string
     */
    public function getStartRequestId()
    {
        return $this->start_request_id;
    }

    /**
     * Generated from protobuf field <code>string start_request_id = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setStartRequestId($var)
    {
        GPBUtil::checkString($var, True);
        $this->start_request_id = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>string run_id = 2;</code>
     * @return string
     */
    public function getRunId()
    {
        return $this->run_id;
    }

    /**
     * Generated from protobuf field <code>string run_id = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setRunId($var)
    {
        GPBUtil::checkString($var, True);
        $this->run_id = $var;

        return $this;
    }

}

