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

namespace Google\Cloud\GkeMultiCloud\V1;

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

/**
 * Configuration for Azure Disks.
 *
 * Generated from protobuf message <code>google.cloud.gkemulticloud.v1.AzureDiskTemplate</code>
 */
class AzureDiskTemplate extends \Google\Protobuf\Internal\Message
{
    /**
     * Optional. The size of the disk, in GiBs.
     * When unspecified, a default value is provided. See the specific reference
     * in the parent resource.
     *
     * Generated from protobuf field <code>int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
     */
    private $size_gib = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int $size_gib
     *           Optional. The size of the disk, in GiBs.
     *           When unspecified, a default value is provided. See the specific reference
     *           in the parent resource.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Gkemulticloud\V1\AzureResources::initOnce();
        parent::__construct($data);
    }

    /**
     * Optional. The size of the disk, in GiBs.
     * When unspecified, a default value is provided. See the specific reference
     * in the parent resource.
     *
     * Generated from protobuf field <code>int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
     * @return int
     */
    public function getSizeGib()
    {
        return $this->size_gib;
    }

    /**
     * Optional. The size of the disk, in GiBs.
     * When unspecified, a default value is provided. See the specific reference
     * in the parent resource.
     *
     * Generated from protobuf field <code>int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
     * @param int $var
     * @return $this
     */
    public function setSizeGib($var)
    {
        GPBUtil::checkInt32($var);
        $this->size_gib = $var;

        return $this;
    }

}

