<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: proCore.proto

namespace Rv\Data;

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

/**
 * Generated from protobuf message <code>rv.data.RequestWebFillTokenAndCookies</code>
 */
class RequestWebFillTokenAndCookies extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>bool refresh_first = 1;</code>
     */
    protected $refresh_first = false;
    /**
     * Generated from protobuf field <code>string link = 2;</code>
     */
    protected $link = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type bool $refresh_first
     *     @type string $link
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ProCore::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>bool refresh_first = 1;</code>
     * @return bool
     */
    public function getRefreshFirst()
    {
        return $this->refresh_first;
    }

    /**
     * Generated from protobuf field <code>bool refresh_first = 1;</code>
     * @param bool $var
     * @return $this
     */
    public function setRefreshFirst($var)
    {
        GPBUtil::checkBool($var);
        $this->refresh_first = $var;

        return $this;
    }

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

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

        return $this;
    }

}

