<?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\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;

/**
 * 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 array<\Google\Cloud\AIPlatform\V1\SyntheticExample>|\Google\Protobuf\Internal\RepeatedField $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 \Google\Protobuf\Internal\RepeatedField
     */
    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 array<\Google\Cloud\AIPlatform\V1\SyntheticExample>|\Google\Protobuf\Internal\RepeatedField $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;
    }

}

