<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: src/proto/grpc/testing/control.proto

namespace Grpc\Testing;

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

/**
 * <pre>
 * Request current stats
 * </pre>
 *
 * Protobuf type <code>grpc.testing.Mark</code>
 */
class Mark extends \Google\Protobuf\Internal\Message
{
    /**
     * <pre>
     * if true, the stats will be reset after taking their snapshot.
     * </pre>
     *
     * <code>bool reset = 1;</code>
     */
    private $reset = false;

    public function __construct() {
        \GPBMetadata\Src\Proto\Grpc\Testing\Control::initOnce();
        parent::__construct();
    }

    /**
     * <pre>
     * if true, the stats will be reset after taking their snapshot.
     * </pre>
     *
     * <code>bool reset = 1;</code>
     */
    public function getReset()
    {
        return $this->reset;
    }

    /**
     * <pre>
     * if true, the stats will be reset after taking their snapshot.
     * </pre>
     *
     * <code>bool reset = 1;</code>
     */
    public function setReset($var)
    {
        GPBUtil::checkBool($var);
        $this->reset = $var;
    }

}

