<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: deviceapis/device/v1/deviceapis_device_reader_v1.proto

namespace Deviceapis\Device\V1\Reader\SavingError;

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

/**
 * Профиль не поддерживается для этого считывателя
 *
 * Generated from protobuf message <code>deviceapis.device.v1.Reader.SavingError.ProfileIsNotSupported</code>
 */
class ProfileIsNotSupported extends \Google\Protobuf\Internal\Message
{
    /**
     * Список идентификаторов профилей, которые не поддерживаются на считывателе
     *
     * Generated from protobuf field <code>repeated int32 profile_ids = 1;</code>
     */
    private $profile_ids;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type array<int>|\Google\Protobuf\Internal\RepeatedField $profile_ids
     *           Список идентификаторов профилей, которые не поддерживаются на считывателе
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Deviceapis\Device\V1\DeviceapisDeviceReaderV1::initOnce();
        parent::__construct($data);
    }

    /**
     * Список идентификаторов профилей, которые не поддерживаются на считывателе
     *
     * Generated from protobuf field <code>repeated int32 profile_ids = 1;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getProfileIds()
    {
        return $this->profile_ids;
    }

    /**
     * Список идентификаторов профилей, которые не поддерживаются на считывателе
     *
     * Generated from protobuf field <code>repeated int32 profile_ids = 1;</code>
     * @param array<int>|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setProfileIds($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT32);
        $this->profile_ids = $arr;

        return $this;
    }

}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProfileIsNotSupported::class, \Deviceapis\Device\V1\Reader_SavingError_ProfileIsNotSupported::class);

