<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: proApiV1Capture.proto

namespace Rv\Data\API_v1_Capture_Response;

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

/**
 * Generated from protobuf message <code>rv.data.API_v1_Capture_Response.Encodings</code>
 */
class Encodings extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>repeated string encodings = 1;</code>
     */
    private $encodings;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type array<string>|\Google\Protobuf\Internal\RepeatedField $encodings
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ProApiV1Capture::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>repeated string encodings = 1;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getEncodings()
    {
        return $this->encodings;
    }

    /**
     * Generated from protobuf field <code>repeated string encodings = 1;</code>
     * @param array<string>|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setEncodings($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->encodings = $arr;

        return $this;
    }

}

