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

namespace Google\Cloud\Channel\V1;

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

/**
 * Response message for
 * [CloudChannelService.CheckCloudIdentityAccountsExist][google.cloud.channel.v1.CloudChannelService.CheckCloudIdentityAccountsExist].
 *
 * Generated from protobuf message <code>google.cloud.channel.v1.CheckCloudIdentityAccountsExistResponse</code>
 */
class CheckCloudIdentityAccountsExistResponse extends \Google\Protobuf\Internal\Message
{
    /**
     * The Cloud Identity accounts associated with the domain.
     *
     * Generated from protobuf field <code>repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1;</code>
     */
    private $cloud_identity_accounts;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Google\Cloud\Channel\V1\CloudIdentityCustomerAccount[]|\Google\Protobuf\Internal\RepeatedField $cloud_identity_accounts
     *           The Cloud Identity accounts associated with the domain.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Channel\V1\Service::initOnce();
        parent::__construct($data);
    }

    /**
     * The Cloud Identity accounts associated with the domain.
     *
     * Generated from protobuf field <code>repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getCloudIdentityAccounts()
    {
        return $this->cloud_identity_accounts;
    }

    /**
     * The Cloud Identity accounts associated with the domain.
     *
     * Generated from protobuf field <code>repeated .google.cloud.channel.v1.CloudIdentityCustomerAccount cloud_identity_accounts = 1;</code>
     * @param \Google\Cloud\Channel\V1\CloudIdentityCustomerAccount[]|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setCloudIdentityAccounts($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Channel\V1\CloudIdentityCustomerAccount::class);
        $this->cloud_identity_accounts = $arr;

        return $this;
    }

}

