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

namespace Livekit\CreatePrivateLinkRequest;

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

/**
 * Generated from protobuf message <code>livekit.CreatePrivateLinkRequest.AWSCreateConfig</code>
 */
class AWSCreateConfig extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>string endpoint = 1 [deprecated = true];</code>
     * @deprecated
     */
    protected $endpoint = '';

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

    /**
     * Generated from protobuf field <code>string endpoint = 1 [deprecated = true];</code>
     * @return string
     * @deprecated
     */
    public function getEndpoint()
    {
        if ($this->endpoint !== '') {
            @trigger_error('endpoint is deprecated.', E_USER_DEPRECATED);
        }
        return $this->endpoint;
    }

    /**
     * Generated from protobuf field <code>string endpoint = 1 [deprecated = true];</code>
     * @param string $var
     * @return $this
     * @deprecated
     */
    public function setEndpoint($var)
    {
        @trigger_error('endpoint is deprecated.', E_USER_DEPRECATED);
        GPBUtil::checkString($var, True);
        $this->endpoint = $var;

        return $this;
    }

}

