<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: temporal/api/workflowservice/v1/request_response.proto

namespace Temporal\Api\Workflowservice\V1;

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

/**
 * Generated from protobuf message <code>temporal.api.workflowservice.v1.UpdateActivityOptionsResponse</code>
 */
class UpdateActivityOptionsResponse extends \Google\Protobuf\Internal\Message
{
    /**
     * Activity options after an update
     *
     * Generated from protobuf field <code>.temporal.api.activity.v1.ActivityOptions activity_options = 1;</code>
     */
    protected $activity_options = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Temporal\Api\Activity\V1\ActivityOptions $activity_options
     *           Activity options after an update
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Temporal\Api\Workflowservice\V1\RequestResponse::initOnce();
        parent::__construct($data);
    }

    /**
     * Activity options after an update
     *
     * Generated from protobuf field <code>.temporal.api.activity.v1.ActivityOptions activity_options = 1;</code>
     * @return \Temporal\Api\Activity\V1\ActivityOptions|null
     */
    public function getActivityOptions()
    {
        return $this->activity_options;
    }

    public function hasActivityOptions()
    {
        return isset($this->activity_options);
    }

    public function clearActivityOptions()
    {
        unset($this->activity_options);
    }

    /**
     * Activity options after an update
     *
     * Generated from protobuf field <code>.temporal.api.activity.v1.ActivityOptions activity_options = 1;</code>
     * @param \Temporal\Api\Activity\V1\ActivityOptions $var
     * @return $this
     */
    public function setActivityOptions($var)
    {
        GPBUtil::checkMessage($var, \Temporal\Api\Activity\V1\ActivityOptions::class);
        $this->activity_options = $var;

        return $this;
    }

}

