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

namespace Keyapis\Vc\V1\GetCameraCalendarResponse\Error;

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

/**
 * Ошибка в сервисе ВН
 *
 * Generated from protobuf message <code>keyapis.vc.v1.GetCameraCalendarResponse.Error.VcError</code>
 */
class VcError extends \Google\Protobuf\Internal\Message
{
    /**
     * Текст ошибки
     *
     * Generated from protobuf field <code>string text = 1;</code>
     */
    protected $text = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $text
     *           Текст ошибки
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Keyapis\Vc\V1\KeyapisVcCameraV1::initOnce();
        parent::__construct($data);
    }

    /**
     * Текст ошибки
     *
     * Generated from protobuf field <code>string text = 1;</code>
     * @return string
     */
    public function getText()
    {
        return $this->text;
    }

    /**
     * Текст ошибки
     *
     * Generated from protobuf field <code>string text = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setText($var)
    {
        GPBUtil::checkString($var, True);
        $this->text = $var;

        return $this;
    }

}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VcError::class, \Keyapis\Vc\V1\GetCameraCalendarResponse_Error_VcError::class);

