<?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;

/**
 * This is deprecated and has no effect. Do not use.
 *
 * Generated from protobuf message <code>google.cloud.compute.v1.AuthorizationLoggingOptions</code>
 */
class AuthorizationLoggingOptions extends \Google\Protobuf\Internal\Message
{
    /**
     * This is deprecated and has no effect. Do not use.
     * Check the PermissionType enum for the list of possible values.
     *
     * Generated from protobuf field <code>optional string permission_type = 525978538;</code>
     */
    private $permission_type = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $permission_type
     *           This is deprecated and has no effect. Do not use.
     *           Check the PermissionType enum for the list of possible values.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Compute\V1\Compute::initOnce();
        parent::__construct($data);
    }

    /**
     * This is deprecated and has no effect. Do not use.
     * Check the PermissionType enum for the list of possible values.
     *
     * Generated from protobuf field <code>optional string permission_type = 525978538;</code>
     * @return string
     */
    public function getPermissionType()
    {
        return isset($this->permission_type) ? $this->permission_type : '';
    }

    public function hasPermissionType()
    {
        return isset($this->permission_type);
    }

    public function clearPermissionType()
    {
        unset($this->permission_type);
    }

    /**
     * This is deprecated and has no effect. Do not use.
     * Check the PermissionType enum for the list of possible values.
     *
     * Generated from protobuf field <code>optional string permission_type = 525978538;</code>
     * @param string $var
     * @return $this
     */
    public function setPermissionType($var)
    {
        GPBUtil::checkString($var, True);
        $this->permission_type = $var;

        return $this;
    }

}

