<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/ces/v1/app.proto

namespace Google\Cloud\Ces\V1;

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

/**
 * Settings to describe the conversation logging behaviors for the app.
 *
 * Generated from protobuf message <code>google.cloud.ces.v1.ConversationLoggingSettings</code>
 */
class ConversationLoggingSettings extends \Google\Protobuf\Internal\Message
{
    /**
     * Optional. Whether to disable conversation logging for the sessions.
     *
     * Generated from protobuf field <code>bool disable_conversation_logging = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
     */
    protected $disable_conversation_logging = false;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type bool $disable_conversation_logging
     *           Optional. Whether to disable conversation logging for the sessions.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Ces\V1\App::initOnce();
        parent::__construct($data);
    }

    /**
     * Optional. Whether to disable conversation logging for the sessions.
     *
     * Generated from protobuf field <code>bool disable_conversation_logging = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
     * @return bool
     */
    public function getDisableConversationLogging()
    {
        return $this->disable_conversation_logging;
    }

    /**
     * Optional. Whether to disable conversation logging for the sessions.
     *
     * Generated from protobuf field <code>bool disable_conversation_logging = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
     * @param bool $var
     * @return $this
     */
    public function setDisableConversationLogging($var)
    {
        GPBUtil::checkBool($var);
        $this->disable_conversation_logging = $var;

        return $this;
    }

}

