<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/dataflow/v1beta3/environment.proto

namespace Google\Cloud\Dataflow\V1beta3;

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

/**
 * Describes any options that have an effect on the debugging of pipelines.
 *
 * Generated from protobuf message <code>google.dataflow.v1beta3.DebugOptions</code>
 */
class DebugOptions extends \Google\Protobuf\Internal\Message
{
    /**
     * When true, enables the logging of the literal hot key to the user's Cloud
     * Logging.
     *
     * Generated from protobuf field <code>bool enable_hot_key_logging = 1;</code>
     */
    private $enable_hot_key_logging = false;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type bool $enable_hot_key_logging
     *           When true, enables the logging of the literal hot key to the user's Cloud
     *           Logging.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Dataflow\V1Beta3\Environment::initOnce();
        parent::__construct($data);
    }

    /**
     * When true, enables the logging of the literal hot key to the user's Cloud
     * Logging.
     *
     * Generated from protobuf field <code>bool enable_hot_key_logging = 1;</code>
     * @return bool
     */
    public function getEnableHotKeyLogging()
    {
        return $this->enable_hot_key_logging;
    }

    /**
     * When true, enables the logging of the literal hot key to the user's Cloud
     * Logging.
     *
     * Generated from protobuf field <code>bool enable_hot_key_logging = 1;</code>
     * @param bool $var
     * @return $this
     */
    public function setEnableHotKeyLogging($var)
    {
        GPBUtil::checkBool($var);
        $this->enable_hot_key_logging = $var;

        return $this;
    }

}

