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

/**
 * 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
{
    /**
     * The connection profile which was used for the apply job.
     *
     * Generated from protobuf field <code>string connection_profile = 1;</code>
     */
    private $connection_profile = '';
    /**
     * AIP-160 based filter used to specify the entities to apply
     *
     * Generated from protobuf field <code>string filter = 2;</code>
     */
    private $filter = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $connection_profile
     *           The connection profile which was used for the apply job.
     *     @type string $filter
     *           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);
    }

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

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

        return $this;
    }

    /**
     * AIP-160 based filter used to specify the entities to apply
     *
     * Generated from protobuf field <code>string filter = 2;</code>
     * @return string
     */
    public function getFilter()
    {
        return $this->filter;
    }

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

        return $this;
    }

}


