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

namespace Google\Cloud\AIPlatform\V1\MigratableResource\DataLabelingDataset;

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

/**
 * Represents one AnnotatedDataset in datalabeling.googleapis.com.
 *
 * Generated from protobuf message <code>google.cloud.aiplatform.v1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset</code>
 */
class DataLabelingAnnotatedDataset extends \Google\Protobuf\Internal\Message
{
    /**
     * Full resource name of data labeling AnnotatedDataset.
     * Format:
     * `projects/{project}/datasets/{dataset}/annotatedDatasets/{annotated_dataset}`.
     *
     * Generated from protobuf field <code>string annotated_dataset = 1 [(.google.api.resource_reference) = {</code>
     */
    private $annotated_dataset = '';
    /**
     * The AnnotatedDataset's display name in datalabeling.googleapis.com.
     *
     * Generated from protobuf field <code>string annotated_dataset_display_name = 3;</code>
     */
    private $annotated_dataset_display_name = '';

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

    /**
     * Full resource name of data labeling AnnotatedDataset.
     * Format:
     * `projects/{project}/datasets/{dataset}/annotatedDatasets/{annotated_dataset}`.
     *
     * Generated from protobuf field <code>string annotated_dataset = 1 [(.google.api.resource_reference) = {</code>
     * @return string
     */
    public function getAnnotatedDataset()
    {
        return $this->annotated_dataset;
    }

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

        return $this;
    }

    /**
     * The AnnotatedDataset's display name in datalabeling.googleapis.com.
     *
     * Generated from protobuf field <code>string annotated_dataset_display_name = 3;</code>
     * @return string
     */
    public function getAnnotatedDatasetDisplayName()
    {
        return $this->annotated_dataset_display_name;
    }

    /**
     * The AnnotatedDataset's display name in datalabeling.googleapis.com.
     *
     * Generated from protobuf field <code>string annotated_dataset_display_name = 3;</code>
     * @param string $var
     * @return $this
     */
    public function setAnnotatedDatasetDisplayName($var)
    {
        GPBUtil::checkString($var, True);
        $this->annotated_dataset_display_name = $var;

        return $this;
    }

}


