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

namespace Google\Cloud\CloudDms\V1\BackgroundJobLogEntry;

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

/**
 * Details regarding an Apply background job.
 *
 * Generated from protobuf message <code>google.cloud.clouddms.v1.BackgroundJobLogEntry.ApplyJobDetails</code>
 */
class ApplyJobDetails extends \Google\Protobuf\Internal\Message
{
    /**
     * Output only. The connection profile which was used for the apply job.
     *
     * Generated from protobuf field <code>string connection_profile = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    protected $connection_profile = '';
    /**
     * Output only. AIP-160 based filter used to specify the entities to apply
     *
     * Generated from protobuf field <code>string filter = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    protected $filter = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $connection_profile
     *           Output only. The connection profile which was used for the apply job.
     *     @type string $filter
     *           Output only. AIP-160 based filter used to specify the entities to apply
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Clouddms\V1\ConversionworkspaceResources::initOnce();
        parent::__construct($data);
    }

    /**
     * Output only. The connection profile which was used for the apply job.
     *
     * Generated from protobuf field <code>string connection_profile = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @return string
     */
    public function getConnectionProfile()
    {
        return $this->connection_profile;
    }

    /**
     * Output only. The connection profile which was used for the apply job.
     *
     * Generated from protobuf field <code>string connection_profile = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @param string $var
     * @return $this
     */
    public function setConnectionProfile($var)
    {
        GPBUtil::checkString($var, True);
        $this->connection_profile = $var;

        return $this;
    }

    /**
     * Output only. AIP-160 based filter used to specify the entities to apply
     *
     * Generated from protobuf field <code>string filter = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @return string
     */
    public function getFilter()
    {
        return $this->filter;
    }

    /**
     * Output only. AIP-160 based filter used to specify the entities to apply
     *
     * Generated from protobuf field <code>string filter = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @param string $var
     * @return $this
     */
    public function setFilter($var)
    {
        GPBUtil::checkString($var, True);
        $this->filter = $var;

        return $this;
    }

}

