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

namespace Google\Cloud\AIPlatform\V1;

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

/**
 * Response message for [MigrationService.BatchMigrateResources][google.cloud.aiplatform.v1.MigrationService.BatchMigrateResources].
 *
 * Generated from protobuf message <code>google.cloud.aiplatform.v1.BatchMigrateResourcesResponse</code>
 */
class BatchMigrateResourcesResponse extends \Google\Protobuf\Internal\Message
{
    /**
     * Successfully migrated resources.
     *
     * Generated from protobuf field <code>repeated .google.cloud.aiplatform.v1.MigrateResourceResponse migrate_resource_responses = 1;</code>
     */
    private $migrate_resource_responses;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type array<\Google\Cloud\AIPlatform\V1\MigrateResourceResponse>|\Google\Protobuf\Internal\RepeatedField $migrate_resource_responses
     *           Successfully migrated resources.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Aiplatform\V1\MigrationService::initOnce();
        parent::__construct($data);
    }

    /**
     * Successfully migrated resources.
     *
     * Generated from protobuf field <code>repeated .google.cloud.aiplatform.v1.MigrateResourceResponse migrate_resource_responses = 1;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getMigrateResourceResponses()
    {
        return $this->migrate_resource_responses;
    }

    /**
     * Successfully migrated resources.
     *
     * Generated from protobuf field <code>repeated .google.cloud.aiplatform.v1.MigrateResourceResponse migrate_resource_responses = 1;</code>
     * @param array<\Google\Cloud\AIPlatform\V1\MigrateResourceResponse>|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setMigrateResourceResponses($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\MigrateResourceResponse::class);
        $this->migrate_resource_responses = $arr;

        return $this;
    }

}

