<?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.TargetHttpsProxiesSetQuicOverrideRequest</code>
 */
class TargetHttpsProxiesSetQuicOverrideRequest extends \Google\Protobuf\Internal\Message
{
    /**
     * QUIC policy for the TargetHttpsProxy resource.
     * Check the QuicOverride enum for the list of possible values.
     *
     * Generated from protobuf field <code>optional string quic_override = 456577197;</code>
     */
    private $quic_override = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $quic_override
     *           QUIC policy for the TargetHttpsProxy resource.
     *           Check the QuicOverride enum for the list of possible values.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Compute\V1\Compute::initOnce();
        parent::__construct($data);
    }

    /**
     * QUIC policy for the TargetHttpsProxy resource.
     * Check the QuicOverride enum for the list of possible values.
     *
     * Generated from protobuf field <code>optional string quic_override = 456577197;</code>
     * @return string
     */
    public function getQuicOverride()
    {
        return isset($this->quic_override) ? $this->quic_override : '';
    }

    public function hasQuicOverride()
    {
        return isset($this->quic_override);
    }

    public function clearQuicOverride()
    {
        unset($this->quic_override);
    }

    /**
     * QUIC policy for the TargetHttpsProxy resource.
     * Check the QuicOverride enum for the list of possible values.
     *
     * Generated from protobuf field <code>optional string quic_override = 456577197;</code>
     * @param string $var
     * @return $this
     */
    public function setQuicOverride($var)
    {
        GPBUtil::checkString($var, True);
        $this->quic_override = $var;

        return $this;
    }

}

