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

namespace Google\Cloud\ContactCenterInsights\V1\Settings;

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

/**
 * Default configuration when creating Analyses in Insights.
 *
 * Generated from protobuf message <code>google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig</code>
 */
class AnalysisConfig extends \Google\Protobuf\Internal\Message
{
    /**
     * Percentage of conversations created using Dialogflow runtime integration
     * to analyze automatically, between [0, 100].
     *
     * Generated from protobuf field <code>double runtime_integration_analysis_percentage = 1;</code>
     */
    private $runtime_integration_analysis_percentage = 0.0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type float $runtime_integration_analysis_percentage
     *           Percentage of conversations created using Dialogflow runtime integration
     *           to analyze automatically, between [0, 100].
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Contactcenterinsights\V1\Resources::initOnce();
        parent::__construct($data);
    }

    /**
     * Percentage of conversations created using Dialogflow runtime integration
     * to analyze automatically, between [0, 100].
     *
     * Generated from protobuf field <code>double runtime_integration_analysis_percentage = 1;</code>
     * @return float
     */
    public function getRuntimeIntegrationAnalysisPercentage()
    {
        return $this->runtime_integration_analysis_percentage;
    }

    /**
     * Percentage of conversations created using Dialogflow runtime integration
     * to analyze automatically, between [0, 100].
     *
     * Generated from protobuf field <code>double runtime_integration_analysis_percentage = 1;</code>
     * @param float $var
     * @return $this
     */
    public function setRuntimeIntegrationAnalysisPercentage($var)
    {
        GPBUtil::checkDouble($var);
        $this->runtime_integration_analysis_percentage = $var;

        return $this;
    }

}


