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

namespace Google\Cloud\AIPlatform\V1\MigratableResource;

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

/**
 * Represents one Dataset in automl.googleapis.com.
 *
 * Generated from protobuf message <code>google.cloud.aiplatform.v1.MigratableResource.AutomlDataset</code>
 */
class AutomlDataset extends \Google\Protobuf\Internal\Message
{
    /**
     * Full resource name of automl Dataset.
     * Format:
     * `projects/{project}/locations/{location}/datasets/{dataset}`.
     *
     * Generated from protobuf field <code>string dataset = 1 [(.google.api.resource_reference) = {</code>
     */
    protected $dataset = '';
    /**
     * The Dataset's display name in automl.googleapis.com.
     *
     * Generated from protobuf field <code>string dataset_display_name = 4;</code>
     */
    protected $dataset_display_name = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $dataset
     *           Full resource name of automl Dataset.
     *           Format:
     *           `projects/{project}/locations/{location}/datasets/{dataset}`.
     *     @type string $dataset_display_name
     *           The Dataset's display name in automl.googleapis.com.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Aiplatform\V1\MigratableResource::initOnce();
        parent::__construct($data);
    }

    /**
     * Full resource name of automl Dataset.
     * Format:
     * `projects/{project}/locations/{location}/datasets/{dataset}`.
     *
     * Generated from protobuf field <code>string dataset = 1 [(.google.api.resource_reference) = {</code>
     * @return string
     */
    public function getDataset()
    {
        return $this->dataset;
    }

    /**
     * Full resource name of automl Dataset.
     * Format:
     * `projects/{project}/locations/{location}/datasets/{dataset}`.
     *
     * Generated from protobuf field <code>string dataset = 1 [(.google.api.resource_reference) = {</code>
     * @param string $var
     * @return $this
     */
    public function setDataset($var)
    {
        GPBUtil::checkString($var, True);
        $this->dataset = $var;

        return $this;
    }

    /**
     * The Dataset's display name in automl.googleapis.com.
     *
     * Generated from protobuf field <code>string dataset_display_name = 4;</code>
     * @return string
     */
    public function getDatasetDisplayName()
    {
        return $this->dataset_display_name;
    }

    /**
     * The Dataset's display name in automl.googleapis.com.
     *
     * Generated from protobuf field <code>string dataset_display_name = 4;</code>
     * @param string $var
     * @return $this
     */
    public function setDatasetDisplayName($var)
    {
        GPBUtil::checkString($var, True);
        $this->dataset_display_name = $var;

        return $this;
    }

}


