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

namespace Google\Cloud\AIPlatform\V1;

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

/**
 * The response containing the generated data.
 *
 * Generated from protobuf message <code>google.cloud.aiplatform.v1.GenerateSyntheticDataResponse</code>
 */
class GenerateSyntheticDataResponse extends \Google\Protobuf\Internal\Message
{
    /**
     * A list of generated synthetic examples.
     *
     * Generated from protobuf field <code>repeated .google.cloud.aiplatform.v1.SyntheticExample synthetic_examples = 1;</code>
     */
    private $synthetic_examples;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Google\Cloud\AIPlatform\V1\SyntheticExample[] $synthetic_examples
     *           A list of generated synthetic examples.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Aiplatform\V1\DataFoundryService::initOnce();
        parent::__construct($data);
    }

    /**
     * A list of generated synthetic examples.
     *
     * Generated from protobuf field <code>repeated .google.cloud.aiplatform.v1.SyntheticExample synthetic_examples = 1;</code>
     * @return RepeatedField<\Google\Cloud\AIPlatform\V1\SyntheticExample>
     */
    public function getSyntheticExamples()
    {
        return $this->synthetic_examples;
    }

    /**
     * A list of generated synthetic examples.
     *
     * Generated from protobuf field <code>repeated .google.cloud.aiplatform.v1.SyntheticExample synthetic_examples = 1;</code>
     * @param \Google\Cloud\AIPlatform\V1\SyntheticExample[] $var
     * @return $this
     */
    public function setSyntheticExamples($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\SyntheticExample::class);
        $this->synthetic_examples = $arr;

        return $this;
    }

}

