<?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.
     *
     * Generated from protobuf field <code>.google.cloud.compute.v1.TargetHttpsProxiesSetQuicOverrideRequest.QuicOverride quic_override = 456577197;</code>
     */
    private $quic_override = null;

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

    /**
     * QUIC policy for the TargetHttpsProxy resource.
     *
     * Generated from protobuf field <code>.google.cloud.compute.v1.TargetHttpsProxiesSetQuicOverrideRequest.QuicOverride quic_override = 456577197;</code>
     * @return int
     */
    public function getQuicOverride()
    {
        return isset($this->quic_override) ? $this->quic_override : 0;
    }

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

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

    /**
     * QUIC policy for the TargetHttpsProxy resource.
     *
     * Generated from protobuf field <code>.google.cloud.compute.v1.TargetHttpsProxiesSetQuicOverrideRequest.QuicOverride quic_override = 456577197;</code>
     * @param int $var
     * @return $this
     */
    public function setQuicOverride($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Compute\V1\TargetHttpsProxiesSetQuicOverrideRequest\QuicOverride::class);
        $this->quic_override = $var;

        return $this;
    }

}

