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

namespace Keyapis\TelemetryControl\V1;

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

/**
 * Сигнал на старт сбора показаний Enviro по всем домам, на указанную дату.
 * Очередь key.telemetry_control.eic_all_fias_start_task
 *
 * Generated from protobuf message <code>keyapis.telemetry_control.v1.EICAllFiasStartTask</code>
 */
class EICAllFiasStartTask extends \Google\Protobuf\Internal\Message
{
    /**
     * Параметры сбора показаний
     *
     * Generated from protobuf field <code>.keyapis.telemetry_control.v1.CollectorParams collector_params = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     */
    protected $collector_params = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Keyapis\TelemetryControl\V1\CollectorParams $collector_params
     *           Параметры сбора показаний
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Keyapis\TelemetryControl\V1\KeyapisTelemetryControlEventsV1::initOnce();
        parent::__construct($data);
    }

    /**
     * Параметры сбора показаний
     *
     * Generated from protobuf field <code>.keyapis.telemetry_control.v1.CollectorParams collector_params = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return \Keyapis\TelemetryControl\V1\CollectorParams|null
     */
    public function getCollectorParams()
    {
        return $this->collector_params;
    }

    public function hasCollectorParams()
    {
        return isset($this->collector_params);
    }

    public function clearCollectorParams()
    {
        unset($this->collector_params);
    }

    /**
     * Параметры сбора показаний
     *
     * Generated from protobuf field <code>.keyapis.telemetry_control.v1.CollectorParams collector_params = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @param \Keyapis\TelemetryControl\V1\CollectorParams $var
     * @return $this
     */
    public function setCollectorParams($var)
    {
        GPBUtil::checkMessage($var, \Keyapis\TelemetryControl\V1\CollectorParams::class);
        $this->collector_params = $var;

        return $this;
    }

}

