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

namespace Temporal\Api\Taskqueue\V1;

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

/**
 * Generated from protobuf message <code>temporal.api.taskqueue.v1.TaskIdBlock</code>
 */
class TaskIdBlock extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>int64 start_id = 1;</code>
     */
    protected $start_id = 0;
    /**
     * Generated from protobuf field <code>int64 end_id = 2;</code>
     */
    protected $end_id = 0;

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

    /**
     * Generated from protobuf field <code>int64 start_id = 1;</code>
     * @return int|string
     */
    public function getStartId()
    {
        return $this->start_id;
    }

    /**
     * Generated from protobuf field <code>int64 start_id = 1;</code>
     * @param int|string $var
     * @return $this
     */
    public function setStartId($var)
    {
        GPBUtil::checkInt64($var);
        $this->start_id = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>int64 end_id = 2;</code>
     * @return int|string
     */
    public function getEndId()
    {
        return $this->end_id;
    }

    /**
     * Generated from protobuf field <code>int64 end_id = 2;</code>
     * @param int|string $var
     * @return $this
     */
    public function setEndId($var)
    {
        GPBUtil::checkInt64($var);
        $this->end_id = $var;

        return $this;
    }

}

