<?php

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/analytics/data/v1alpha/data.proto
namespace SEOPressPro\Vendor\Google\Analytics\Data\V1alpha;

use SEOPressPro\Vendor\Google\Protobuf\Internal\GPBType;
use SEOPressPro\Vendor\Google\Protobuf\Internal\RepeatedField;
use SEOPressPro\Vendor\Google\Protobuf\Internal\GPBUtil;
/**
 * Current state for a particular quota group.
 *
 * Generated from protobuf message <code>google.analytics.data.v1alpha.QuotaStatus</code>
 */
class QuotaStatus extends \SEOPressPro\Vendor\Google\Protobuf\Internal\Message
{
    /**
     * Quota consumed by this request.
     *
     * Generated from protobuf field <code>int32 consumed = 1;</code>
     */
    private $consumed = 0;
    /**
     * Quota remaining after this request.
     *
     * Generated from protobuf field <code>int32 remaining = 2;</code>
     */
    private $remaining = 0;
    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int $consumed
     *           Quota consumed by this request.
     *     @type int $remaining
     *           Quota remaining after this request.
     * }
     */
    public function __construct($data = NULL)
    {
        \SEOPressPro\Vendor\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce();
        parent::__construct($data);
    }
    /**
     * Quota consumed by this request.
     *
     * Generated from protobuf field <code>int32 consumed = 1;</code>
     * @return int
     */
    public function getConsumed()
    {
        return $this->consumed;
    }
    /**
     * Quota consumed by this request.
     *
     * Generated from protobuf field <code>int32 consumed = 1;</code>
     * @param int $var
     * @return $this
     */
    public function setConsumed($var)
    {
        GPBUtil::checkInt32($var);
        $this->consumed = $var;
        return $this;
    }
    /**
     * Quota remaining after this request.
     *
     * Generated from protobuf field <code>int32 remaining = 2;</code>
     * @return int
     */
    public function getRemaining()
    {
        return $this->remaining;
    }
    /**
     * Quota remaining after this request.
     *
     * Generated from protobuf field <code>int32 remaining = 2;</code>
     * @param int $var
     * @return $this
     */
    public function setRemaining($var)
    {
        GPBUtil::checkInt32($var);
        $this->remaining = $var;
        return $this;
    }
}
