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

namespace Google\Cloud\AIPlatform\V1;

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

/**
 * Configuration for the Ray metrics.
 *
 * Generated from protobuf message <code>google.cloud.aiplatform.v1.RayMetricSpec</code>
 */
class RayMetricSpec extends \Google\Protobuf\Internal\Message
{
    /**
     * Optional. Flag to disable the Ray metrics collection.
     *
     * Generated from protobuf field <code>bool disabled = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
     */
    protected $disabled = false;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type bool $disabled
     *           Optional. Flag to disable the Ray metrics collection.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Aiplatform\V1\PersistentResource::initOnce();
        parent::__construct($data);
    }

    /**
     * Optional. Flag to disable the Ray metrics collection.
     *
     * Generated from protobuf field <code>bool disabled = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
     * @return bool
     */
    public function getDisabled()
    {
        return $this->disabled;
    }

    /**
     * Optional. Flag to disable the Ray metrics collection.
     *
     * Generated from protobuf field <code>bool disabled = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
     * @param bool $var
     * @return $this
     */
    public function setDisabled($var)
    {
        GPBUtil::checkBool($var);
        $this->disabled = $var;

        return $this;
    }

}

