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

namespace Google\Cloud\AppEngine\V1;

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

/**
 * Metadata for the given [google.longrunning.Operation][google.longrunning.Operation] during a
 * [google.appengine.v1.CreateVersionRequest][google.appengine.v1.CreateVersionRequest].
 *
 * Generated from protobuf message <code>google.appengine.v1.CreateVersionMetadataV1</code>
 */
class CreateVersionMetadataV1 extends \Google\Protobuf\Internal\Message
{
    /**
     * The Cloud Build ID if one was created as part of the version create.
     * &#64;OutputOnly
     *
     * Generated from protobuf field <code>string cloud_build_id = 1;</code>
     */
    private $cloud_build_id = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $cloud_build_id
     *           The Cloud Build ID if one was created as part of the version create.
     *           &#64;OutputOnly
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Appengine\V1\Operation::initOnce();
        parent::__construct($data);
    }

    /**
     * The Cloud Build ID if one was created as part of the version create.
     * &#64;OutputOnly
     *
     * Generated from protobuf field <code>string cloud_build_id = 1;</code>
     * @return string
     */
    public function getCloudBuildId()
    {
        return $this->cloud_build_id;
    }

    /**
     * The Cloud Build ID if one was created as part of the version create.
     * &#64;OutputOnly
     *
     * Generated from protobuf field <code>string cloud_build_id = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setCloudBuildId($var)
    {
        GPBUtil::checkString($var, True);
        $this->cloud_build_id = $var;

        return $this;
    }

}

