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

namespace Google\Cloud\AIPlatform\V1\MigrateResourceRequest;

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

/**
 * Config for migrating Dataset in automl.googleapis.com to Vertex AI's
 * Dataset.
 *
 * Generated from protobuf message <code>google.cloud.aiplatform.v1.MigrateResourceRequest.MigrateAutomlDatasetConfig</code>
 */
class MigrateAutomlDatasetConfig extends \Google\Protobuf\Internal\Message
{
    /**
     * Required. Full resource name of automl Dataset.
     * Format:
     * `projects/{project}/locations/{location}/datasets/{dataset}`.
     *
     * Generated from protobuf field <code>string dataset = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code>
     */
    private $dataset = '';
    /**
     * Required. Display name of the Dataset in Vertex AI.
     * System will pick a display name if unspecified.
     *
     * Generated from protobuf field <code>string dataset_display_name = 2 [(.google.api.field_behavior) = REQUIRED];</code>
     */
    private $dataset_display_name = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $dataset
     *           Required. Full resource name of automl Dataset.
     *           Format:
     *           `projects/{project}/locations/{location}/datasets/{dataset}`.
     *     @type string $dataset_display_name
     *           Required. Display name of the Dataset in Vertex AI.
     *           System will pick a display name if unspecified.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Aiplatform\V1\MigrationService::initOnce();
        parent::__construct($data);
    }

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

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

        return $this;
    }

    /**
     * Required. Display name of the Dataset in Vertex AI.
     * System will pick a display name if unspecified.
     *
     * Generated from protobuf field <code>string dataset_display_name = 2 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return string
     */
    public function getDatasetDisplayName()
    {
        return $this->dataset_display_name;
    }

    /**
     * Required. Display name of the Dataset in Vertex AI.
     * System will pick a display name if unspecified.
     *
     * Generated from protobuf field <code>string dataset_display_name = 2 [(.google.api.field_behavior) = REQUIRED];</code>
     * @param string $var
     * @return $this
     */
    public function setDatasetDisplayName($var)
    {
        GPBUtil::checkString($var, True);
        $this->dataset_display_name = $var;

        return $this;
    }

}


