<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: keyapis/subscription/v1/keyapis_subscription_service_v1.proto

namespace Keyapis\Subscription\V1;

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

/**
 * Фильтр услуг
 *
 * Generated from protobuf message <code>keyapis.subscription.v1.ServicePrivilegeFilter</code>
 */
class ServicePrivilegeFilter extends \Google\Protobuf\Internal\Message
{
    /**
     * По ОРПОН
     *
     * Generated from protobuf field <code>repeated int64 orpons = 1;</code>
     */
    private $orpons;
    /**
     * По номеру квартиры
     *
     * Generated from protobuf field <code>repeated string flat_numbers = 2;</code>
     */
    private $flat_numbers;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type array<int>|array<string>|\Google\Protobuf\Internal\RepeatedField $orpons
     *           По ОРПОН
     *     @type array<string>|\Google\Protobuf\Internal\RepeatedField $flat_numbers
     *           По номеру квартиры
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Keyapis\Subscription\V1\KeyapisSubscriptionServiceV1::initOnce();
        parent::__construct($data);
    }

    /**
     * По ОРПОН
     *
     * Generated from protobuf field <code>repeated int64 orpons = 1;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getOrpons()
    {
        return $this->orpons;
    }

    /**
     * По ОРПОН
     *
     * Generated from protobuf field <code>repeated int64 orpons = 1;</code>
     * @param array<int>|array<string>|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setOrpons($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT64);
        $this->orpons = $arr;

        return $this;
    }

    /**
     * По номеру квартиры
     *
     * Generated from protobuf field <code>repeated string flat_numbers = 2;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getFlatNumbers()
    {
        return $this->flat_numbers;
    }

    /**
     * По номеру квартиры
     *
     * Generated from protobuf field <code>repeated string flat_numbers = 2;</code>
     * @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setFlatNumbers($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->flat_numbers = $arr;

        return $this;
    }

}

