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

/**
 * 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 \Google\Cloud\AIPlatform\V1\MigrateResourceResponse[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\MigrateResourceResponse>
     */
    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 \Google\Cloud\AIPlatform\V1\MigrateResourceResponse[] $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;
    }

}

