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

namespace Google\Cloud\AIPlatform\V1;

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

/**
 * Runtime operation metadata for
 * [SpecialistPoolService.UpdateSpecialistPool][google.cloud.aiplatform.v1.SpecialistPoolService.UpdateSpecialistPool].
 *
 * Generated from protobuf message <code>google.cloud.aiplatform.v1.UpdateSpecialistPoolOperationMetadata</code>
 */
class UpdateSpecialistPoolOperationMetadata extends \Google\Protobuf\Internal\Message
{
    /**
     * Output only. The name of the SpecialistPool to which the specialists are
     * being added. Format:
     * `projects/{project_id}/locations/{location_id}/specialistPools/{specialist_pool}`
     *
     * Generated from protobuf field <code>string specialist_pool = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {</code>
     */
    protected $specialist_pool = '';
    /**
     * The operation generic information.
     *
     * Generated from protobuf field <code>.google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 2;</code>
     */
    protected $generic_metadata = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $specialist_pool
     *           Output only. The name of the SpecialistPool to which the specialists are
     *           being added. Format:
     *           `projects/{project_id}/locations/{location_id}/specialistPools/{specialist_pool}`
     *     @type \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $generic_metadata
     *           The operation generic information.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Aiplatform\V1\SpecialistPoolService::initOnce();
        parent::__construct($data);
    }

    /**
     * Output only. The name of the SpecialistPool to which the specialists are
     * being added. Format:
     * `projects/{project_id}/locations/{location_id}/specialistPools/{specialist_pool}`
     *
     * Generated from protobuf field <code>string specialist_pool = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {</code>
     * @return string
     */
    public function getSpecialistPool()
    {
        return $this->specialist_pool;
    }

    /**
     * Output only. The name of the SpecialistPool to which the specialists are
     * being added. Format:
     * `projects/{project_id}/locations/{location_id}/specialistPools/{specialist_pool}`
     *
     * Generated from protobuf field <code>string specialist_pool = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {</code>
     * @param string $var
     * @return $this
     */
    public function setSpecialistPool($var)
    {
        GPBUtil::checkString($var, True);
        $this->specialist_pool = $var;

        return $this;
    }

    /**
     * The operation generic information.
     *
     * Generated from protobuf field <code>.google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 2;</code>
     * @return \Google\Cloud\AIPlatform\V1\GenericOperationMetadata|null
     */
    public function getGenericMetadata()
    {
        return $this->generic_metadata;
    }

    public function hasGenericMetadata()
    {
        return isset($this->generic_metadata);
    }

    public function clearGenericMetadata()
    {
        unset($this->generic_metadata);
    }

    /**
     * The operation generic information.
     *
     * Generated from protobuf field <code>.google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 2;</code>
     * @param \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $var
     * @return $this
     */
    public function setGenericMetadata($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenericOperationMetadata::class);
        $this->generic_metadata = $var;

        return $this;
    }

}

