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

namespace Google\Cloud\Deploy\V1;

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

/**
 * Payload proto for "clouddeploy.googleapis.com/release_render"
 * Platform Log event that describes the render status change.
 *
 * Generated from protobuf message <code>google.cloud.deploy.v1.ReleaseRenderEvent</code>
 */
class ReleaseRenderEvent extends \Google\Protobuf\Internal\Message
{
    /**
     * Debug message for when a render transition occurs. Provides further
     * details as rendering progresses through render states.
     *
     * Generated from protobuf field <code>string message = 1;</code>
     */
    private $message = '';
    /**
     * The name of the `Release`.
     *
     * Generated from protobuf field <code>string release = 2;</code>
     */
    private $release = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $message
     *           Debug message for when a render transition occurs. Provides further
     *           details as rendering progresses through render states.
     *     @type string $release
     *           The name of the `Release`.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Deploy\V1\ReleaseRenderPayload::initOnce();
        parent::__construct($data);
    }

    /**
     * Debug message for when a render transition occurs. Provides further
     * details as rendering progresses through render states.
     *
     * Generated from protobuf field <code>string message = 1;</code>
     * @return string
     */
    public function getMessage()
    {
        return $this->message;
    }

    /**
     * Debug message for when a render transition occurs. Provides further
     * details as rendering progresses through render states.
     *
     * Generated from protobuf field <code>string message = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setMessage($var)
    {
        GPBUtil::checkString($var, True);
        $this->message = $var;

        return $this;
    }

    /**
     * The name of the `Release`.
     *
     * Generated from protobuf field <code>string release = 2;</code>
     * @return string
     */
    public function getRelease()
    {
        return $this->release;
    }

    /**
     * The name of the `Release`.
     *
     * Generated from protobuf field <code>string release = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setRelease($var)
    {
        GPBUtil::checkString($var, True);
        $this->release = $var;

        return $this;
    }

}

