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

namespace Google\Cloud\Compute\V1;

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

/**
 *
 * Generated from protobuf message <code>google.cloud.compute.v1.NetworkEndpointGroupsListEndpointsRequest</code>
 */
class NetworkEndpointGroupsListEndpointsRequest extends \Google\Protobuf\Internal\Message
{
    /**
     * Optional query parameter for showing the health status of each network endpoint. Valid options are SKIP or SHOW. If you don't specify this parameter, the health status of network endpoints will not be provided.
     * Check the HealthStatus enum for the list of possible values.
     *
     * Generated from protobuf field <code>optional string health_status = 380545845;</code>
     */
    private $health_status = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $health_status
     *           Optional query parameter for showing the health status of each network endpoint. Valid options are SKIP or SHOW. If you don't specify this parameter, the health status of network endpoints will not be provided.
     *           Check the HealthStatus enum for the list of possible values.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Compute\V1\Compute::initOnce();
        parent::__construct($data);
    }

    /**
     * Optional query parameter for showing the health status of each network endpoint. Valid options are SKIP or SHOW. If you don't specify this parameter, the health status of network endpoints will not be provided.
     * Check the HealthStatus enum for the list of possible values.
     *
     * Generated from protobuf field <code>optional string health_status = 380545845;</code>
     * @return string
     */
    public function getHealthStatus()
    {
        return isset($this->health_status) ? $this->health_status : '';
    }

    public function hasHealthStatus()
    {
        return isset($this->health_status);
    }

    public function clearHealthStatus()
    {
        unset($this->health_status);
    }

    /**
     * Optional query parameter for showing the health status of each network endpoint. Valid options are SKIP or SHOW. If you don't specify this parameter, the health status of network endpoints will not be provided.
     * Check the HealthStatus enum for the list of possible values.
     *
     * Generated from protobuf field <code>optional string health_status = 380545845;</code>
     * @param string $var
     * @return $this
     */
    public function setHealthStatus($var)
    {
        GPBUtil::checkString($var, True);
        $this->health_status = $var;

        return $this;
    }

}

