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

namespace Google\Cloud\ModelArmor\V1\FloorSetting;

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

/**
 * message describing FloorSetting Metadata
 *
 * Generated from protobuf message <code>google.cloud.modelarmor.v1.FloorSetting.FloorSettingMetadata</code>
 */
class FloorSettingMetadata extends \Google\Protobuf\Internal\Message
{
    /**
     * Optional. Metadata for multi language detection.
     *
     * Generated from protobuf field <code>.google.cloud.modelarmor.v1.FloorSetting.FloorSettingMetadata.MultiLanguageDetection multi_language_detection = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
     */
    protected $multi_language_detection = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Google\Cloud\ModelArmor\V1\FloorSetting\FloorSettingMetadata\MultiLanguageDetection $multi_language_detection
     *           Optional. Metadata for multi language detection.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Modelarmor\V1\Service::initOnce();
        parent::__construct($data);
    }

    /**
     * Optional. Metadata for multi language detection.
     *
     * Generated from protobuf field <code>.google.cloud.modelarmor.v1.FloorSetting.FloorSettingMetadata.MultiLanguageDetection multi_language_detection = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
     * @return \Google\Cloud\ModelArmor\V1\FloorSetting\FloorSettingMetadata\MultiLanguageDetection|null
     */
    public function getMultiLanguageDetection()
    {
        return $this->multi_language_detection;
    }

    public function hasMultiLanguageDetection()
    {
        return isset($this->multi_language_detection);
    }

    public function clearMultiLanguageDetection()
    {
        unset($this->multi_language_detection);
    }

    /**
     * Optional. Metadata for multi language detection.
     *
     * Generated from protobuf field <code>.google.cloud.modelarmor.v1.FloorSetting.FloorSettingMetadata.MultiLanguageDetection multi_language_detection = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
     * @param \Google\Cloud\ModelArmor\V1\FloorSetting\FloorSettingMetadata\MultiLanguageDetection $var
     * @return $this
     */
    public function setMultiLanguageDetection($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\ModelArmor\V1\FloorSetting\FloorSettingMetadata\MultiLanguageDetection::class);
        $this->multi_language_detection = $var;

        return $this;
    }

}


