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

namespace Google\Cloud\AIPlatform\V1\PipelineTaskExecutorDetail;

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

/**
 * The detailed info for a custom job executor.
 *
 * Generated from protobuf message <code>google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetail</code>
 */
class CustomJobDetail extends \Google\Protobuf\Internal\Message
{
    /**
     * Output only. The name of the [CustomJob][google.cloud.aiplatform.v1.CustomJob].
     *
     * Generated from protobuf field <code>string job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {</code>
     */
    private $job = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $job
     *           Output only. The name of the [CustomJob][google.cloud.aiplatform.v1.CustomJob].
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Aiplatform\V1\PipelineJob::initOnce();
        parent::__construct($data);
    }

    /**
     * Output only. The name of the [CustomJob][google.cloud.aiplatform.v1.CustomJob].
     *
     * Generated from protobuf field <code>string job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {</code>
     * @return string
     */
    public function getJob()
    {
        return $this->job;
    }

    /**
     * Output only. The name of the [CustomJob][google.cloud.aiplatform.v1.CustomJob].
     *
     * Generated from protobuf field <code>string job = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {</code>
     * @param string $var
     * @return $this
     */
    public function setJob($var)
    {
        GPBUtil::checkString($var, True);
        $this->job = $var;

        return $this;
    }

}


