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

namespace Google\Cloud\AIPlatform\V1;

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

/**
 * Noise sigma by features. Noise sigma represents the standard deviation of the
 * gaussian kernel that will be used to add noise to interpolated inputs prior
 * to computing gradients.
 *
 * Generated from protobuf message <code>google.cloud.aiplatform.v1.FeatureNoiseSigma</code>
 */
class FeatureNoiseSigma extends \Google\Protobuf\Internal\Message
{
    /**
     * Noise sigma per feature. No noise is added to features that are not set.
     *
     * Generated from protobuf field <code>repeated .google.cloud.aiplatform.v1.FeatureNoiseSigma.NoiseSigmaForFeature noise_sigma = 1;</code>
     */
    private $noise_sigma;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type array<\Google\Cloud\AIPlatform\V1\FeatureNoiseSigma\NoiseSigmaForFeature>|\Google\Protobuf\Internal\RepeatedField $noise_sigma
     *           Noise sigma per feature. No noise is added to features that are not set.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Aiplatform\V1\Explanation::initOnce();
        parent::__construct($data);
    }

    /**
     * Noise sigma per feature. No noise is added to features that are not set.
     *
     * Generated from protobuf field <code>repeated .google.cloud.aiplatform.v1.FeatureNoiseSigma.NoiseSigmaForFeature noise_sigma = 1;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getNoiseSigma()
    {
        return $this->noise_sigma;
    }

    /**
     * Noise sigma per feature. No noise is added to features that are not set.
     *
     * Generated from protobuf field <code>repeated .google.cloud.aiplatform.v1.FeatureNoiseSigma.NoiseSigmaForFeature noise_sigma = 1;</code>
     * @param array<\Google\Cloud\AIPlatform\V1\FeatureNoiseSigma\NoiseSigmaForFeature>|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setNoiseSigma($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\FeatureNoiseSigma\NoiseSigmaForFeature::class);
        $this->noise_sigma = $arr;

        return $this;
    }

}

