<?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.LogConfigDataAccessOptions</code>
 */
class LogConfigDataAccessOptions extends \Google\Protobuf\Internal\Message
{
    /**
     * This is deprecated and has no effect. Do not use.
     * Check the LogMode enum for the list of possible values.
     *
     * Generated from protobuf field <code>optional string log_mode = 402897342;</code>
     */
    private $log_mode = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $log_mode
     *           This is deprecated and has no effect. Do not use.
     *           Check the LogMode 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 LogMode enum for the list of possible values.
     *
     * Generated from protobuf field <code>optional string log_mode = 402897342;</code>
     * @return string
     */
    public function getLogMode()
    {
        return isset($this->log_mode) ? $this->log_mode : '';
    }

    public function hasLogMode()
    {
        return isset($this->log_mode);
    }

    public function clearLogMode()
    {
        unset($this->log_mode);
    }

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

        return $this;
    }

}

