<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/apps/meet/v2/service.proto

namespace Google\Apps\Meet\V2;

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

/**
 * Response for ListRecordings method.
 *
 * Generated from protobuf message <code>google.apps.meet.v2.ListRecordingsResponse</code>
 */
class ListRecordingsResponse extends \Google\Protobuf\Internal\Message
{
    /**
     * List of recordings in one page.
     *
     * Generated from protobuf field <code>repeated .google.apps.meet.v2.Recording recordings = 1;</code>
     */
    private $recordings;
    /**
     * Token to be circulated back for further List call if current List doesn't
     * include all the recordings. Unset if all recordings are returned.
     *
     * Generated from protobuf field <code>string next_page_token = 2;</code>
     */
    protected $next_page_token = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Google\Apps\Meet\V2\Recording[] $recordings
     *           List of recordings in one page.
     *     @type string $next_page_token
     *           Token to be circulated back for further List call if current List doesn't
     *           include all the recordings. Unset if all recordings are returned.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Apps\Meet\V2\Service::initOnce();
        parent::__construct($data);
    }

    /**
     * List of recordings in one page.
     *
     * Generated from protobuf field <code>repeated .google.apps.meet.v2.Recording recordings = 1;</code>
     * @return RepeatedField<\Google\Apps\Meet\V2\Recording>
     */
    public function getRecordings()
    {
        return $this->recordings;
    }

    /**
     * List of recordings in one page.
     *
     * Generated from protobuf field <code>repeated .google.apps.meet.v2.Recording recordings = 1;</code>
     * @param \Google\Apps\Meet\V2\Recording[] $var
     * @return $this
     */
    public function setRecordings($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Apps\Meet\V2\Recording::class);
        $this->recordings = $arr;

        return $this;
    }

    /**
     * Token to be circulated back for further List call if current List doesn't
     * include all the recordings. Unset if all recordings are returned.
     *
     * Generated from protobuf field <code>string next_page_token = 2;</code>
     * @return string
     */
    public function getNextPageToken()
    {
        return $this->next_page_token;
    }

    /**
     * Token to be circulated back for further List call if current List doesn't
     * include all the recordings. Unset if all recordings are returned.
     *
     * Generated from protobuf field <code>string next_page_token = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setNextPageToken($var)
    {
        GPBUtil::checkString($var, True);
        $this->next_page_token = $var;

        return $this;
    }

}

