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

namespace Google\Cloud\Compute\V1;

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

/**
 *
 * Generated from protobuf message <code>google.cloud.compute.v1.DisksResizeRequest</code>
 */
class DisksResizeRequest extends \Google\Protobuf\Internal\Message
{
    /**
     * The new size of the persistent disk, which is specified in GB.
     *
     * Generated from protobuf field <code>string size_gb = 226493913;</code>
     */
    private $size_gb = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $size_gb
     *           The new size of the persistent disk, which is specified in GB.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Compute\V1\Compute::initOnce();
        parent::__construct($data);
    }

    /**
     * The new size of the persistent disk, which is specified in GB.
     *
     * Generated from protobuf field <code>string size_gb = 226493913;</code>
     * @return string
     */
    public function getSizeGb()
    {
        return $this->size_gb;
    }

    /**
     * The new size of the persistent disk, which is specified in GB.
     *
     * Generated from protobuf field <code>string size_gb = 226493913;</code>
     * @param string $var
     * @return $this
     */
    public function setSizeGb($var)
    {
        GPBUtil::checkString($var, True);
        $this->size_gb = $var;

        return $this;
    }

}

