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

namespace Livekit\PrivateLink;

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

/**
 * Generated from protobuf message <code>livekit.PrivateLink.AWSConfig</code>
 */
class AWSConfig extends \Google\Protobuf\Internal\Message
{
    /**
     * Use the generic "endpoint" instead
     *
     * 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
     *           Use the generic "endpoint" instead
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\LivekitCloudAgent::initOnce();
        parent::__construct($data);
    }

    /**
     * Use the generic "endpoint" instead
     *
     * 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;
    }

    /**
     * Use the generic "endpoint" instead
     *
     * 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;
    }

}

