<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/aiplatform/v1/endpoint.proto

namespace Google\Cloud\AIPlatform\V1;

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

/**
 * PrivateEndpoints proto is used to provide paths for users to send
 * requests privately.
 * To send request via private service access, use predict_http_uri,
 * explain_http_uri or health_http_uri. To send request via private service
 * connect, use service_attachment.
 *
 * Generated from protobuf message <code>google.cloud.aiplatform.v1.PrivateEndpoints</code>
 */
class PrivateEndpoints extends \Google\Protobuf\Internal\Message
{
    /**
     * Output only. Http(s) path to send prediction requests.
     *
     * Generated from protobuf field <code>string predict_http_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    protected $predict_http_uri = '';
    /**
     * Output only. Http(s) path to send explain requests.
     *
     * Generated from protobuf field <code>string explain_http_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    protected $explain_http_uri = '';
    /**
     * Output only. Http(s) path to send health check requests.
     *
     * Generated from protobuf field <code>string health_http_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    protected $health_http_uri = '';
    /**
     * Output only. The name of the service attachment resource. Populated if
     * private service connect is enabled.
     *
     * Generated from protobuf field <code>string service_attachment = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    protected $service_attachment = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $predict_http_uri
     *           Output only. Http(s) path to send prediction requests.
     *     @type string $explain_http_uri
     *           Output only. Http(s) path to send explain requests.
     *     @type string $health_http_uri
     *           Output only. Http(s) path to send health check requests.
     *     @type string $service_attachment
     *           Output only. The name of the service attachment resource. Populated if
     *           private service connect is enabled.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Aiplatform\V1\Endpoint::initOnce();
        parent::__construct($data);
    }

    /**
     * Output only. Http(s) path to send prediction requests.
     *
     * Generated from protobuf field <code>string predict_http_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @return string
     */
    public function getPredictHttpUri()
    {
        return $this->predict_http_uri;
    }

    /**
     * Output only. Http(s) path to send prediction requests.
     *
     * Generated from protobuf field <code>string predict_http_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @param string $var
     * @return $this
     */
    public function setPredictHttpUri($var)
    {
        GPBUtil::checkString($var, True);
        $this->predict_http_uri = $var;

        return $this;
    }

    /**
     * Output only. Http(s) path to send explain requests.
     *
     * Generated from protobuf field <code>string explain_http_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @return string
     */
    public function getExplainHttpUri()
    {
        return $this->explain_http_uri;
    }

    /**
     * Output only. Http(s) path to send explain requests.
     *
     * Generated from protobuf field <code>string explain_http_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @param string $var
     * @return $this
     */
    public function setExplainHttpUri($var)
    {
        GPBUtil::checkString($var, True);
        $this->explain_http_uri = $var;

        return $this;
    }

    /**
     * Output only. Http(s) path to send health check requests.
     *
     * Generated from protobuf field <code>string health_http_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @return string
     */
    public function getHealthHttpUri()
    {
        return $this->health_http_uri;
    }

    /**
     * Output only. Http(s) path to send health check requests.
     *
     * Generated from protobuf field <code>string health_http_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @param string $var
     * @return $this
     */
    public function setHealthHttpUri($var)
    {
        GPBUtil::checkString($var, True);
        $this->health_http_uri = $var;

        return $this;
    }

    /**
     * Output only. The name of the service attachment resource. Populated if
     * private service connect is enabled.
     *
     * Generated from protobuf field <code>string service_attachment = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @return string
     */
    public function getServiceAttachment()
    {
        return $this->service_attachment;
    }

    /**
     * Output only. The name of the service attachment resource. Populated if
     * private service connect is enabled.
     *
     * Generated from protobuf field <code>string service_attachment = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @param string $var
     * @return $this
     */
    public function setServiceAttachment($var)
    {
        GPBUtil::checkString($var, True);
        $this->service_attachment = $var;

        return $this;
    }

}

