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

namespace Mynaparrot\PlugnmeetProto;

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

/**
 * Request to get a download token for an artifact
 *
 * Generated from protobuf message <code>plugnmeet.GetArtifactDownloadTokenReq</code>
 */
class GetArtifactDownloadTokenReq extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>string artifact_id = 1 [(.buf.validate.field) = {</code>
     */
    protected $artifact_id = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $artifact_id
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\PlugnmeetAuthArtifact::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>string artifact_id = 1 [(.buf.validate.field) = {</code>
     * @return string
     */
    public function getArtifactId()
    {
        return $this->artifact_id;
    }

    /**
     * Generated from protobuf field <code>string artifact_id = 1 [(.buf.validate.field) = {</code>
     * @param string $var
     * @return $this
     */
    public function setArtifactId($var)
    {
        GPBUtil::checkString($var, True);
        $this->artifact_id = $var;

        return $this;
    }

}

