<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: livekit_egress.proto

namespace Livekit;

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

/**
 * Generated from protobuf message <code>livekit.ImagesInfo</code>
 */
class ImagesInfo extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>string filename_prefix = 4;</code>
     */
    protected $filename_prefix = '';
    /**
     * Generated from protobuf field <code>int64 image_count = 1;</code>
     */
    protected $image_count = 0;
    /**
     * Generated from protobuf field <code>int64 started_at = 2;</code>
     */
    protected $started_at = 0;
    /**
     * Generated from protobuf field <code>int64 ended_at = 3;</code>
     */
    protected $ended_at = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $filename_prefix
     *     @type int|string $image_count
     *     @type int|string $started_at
     *     @type int|string $ended_at
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\LivekitEgress::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>string filename_prefix = 4;</code>
     * @return string
     */
    public function getFilenamePrefix()
    {
        return $this->filename_prefix;
    }

    /**
     * Generated from protobuf field <code>string filename_prefix = 4;</code>
     * @param string $var
     * @return $this
     */
    public function setFilenamePrefix($var)
    {
        GPBUtil::checkString($var, True);
        $this->filename_prefix = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>int64 image_count = 1;</code>
     * @return int|string
     */
    public function getImageCount()
    {
        return $this->image_count;
    }

    /**
     * Generated from protobuf field <code>int64 image_count = 1;</code>
     * @param int|string $var
     * @return $this
     */
    public function setImageCount($var)
    {
        GPBUtil::checkInt64($var);
        $this->image_count = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>int64 started_at = 2;</code>
     * @return int|string
     */
    public function getStartedAt()
    {
        return $this->started_at;
    }

    /**
     * Generated from protobuf field <code>int64 started_at = 2;</code>
     * @param int|string $var
     * @return $this
     */
    public function setStartedAt($var)
    {
        GPBUtil::checkInt64($var);
        $this->started_at = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>int64 ended_at = 3;</code>
     * @return int|string
     */
    public function getEndedAt()
    {
        return $this->ended_at;
    }

    /**
     * Generated from protobuf field <code>int64 ended_at = 3;</code>
     * @param int|string $var
     * @return $this
     */
    public function setEndedAt($var)
    {
        GPBUtil::checkInt64($var);
        $this->ended_at = $var;

        return $this;
    }

}

