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

namespace Google\Cloud\Notebooks\V1\LocalDisk;

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

/**
 * Optional. A list of features to enable on the guest operating system.
 * Applicable only for bootable images.
 * Read [Enabling guest operating system
 * features](https://cloud.google.com/compute/docs/images/create-delete-deprecate-private-images#guest-os-features)
 * to see a list of available options.
 * Guest OS features for boot disk.
 *
 * Generated from protobuf message <code>google.cloud.notebooks.v1.LocalDisk.RuntimeGuestOsFeature</code>
 */
class RuntimeGuestOsFeature extends \Google\Protobuf\Internal\Message
{
    /**
     * The ID of a supported feature. Read [Enabling guest operating system
     * features](https://cloud.google.com/compute/docs/images/create-delete-deprecate-private-images#guest-os-features)
     * to see a list of available options.
     * Valid values:
     * * `FEATURE_TYPE_UNSPECIFIED`
     * * `MULTI_IP_SUBNET`
     * * `SECURE_BOOT`
     * * `UEFI_COMPATIBLE`
     * * `VIRTIO_SCSI_MULTIQUEUE`
     * * `WINDOWS`
     *
     * Generated from protobuf field <code>string type = 1;</code>
     */
    private $type = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $type
     *           The ID of a supported feature. Read [Enabling guest operating system
     *           features](https://cloud.google.com/compute/docs/images/create-delete-deprecate-private-images#guest-os-features)
     *           to see a list of available options.
     *           Valid values:
     *           * `FEATURE_TYPE_UNSPECIFIED`
     *           * `MULTI_IP_SUBNET`
     *           * `SECURE_BOOT`
     *           * `UEFI_COMPATIBLE`
     *           * `VIRTIO_SCSI_MULTIQUEUE`
     *           * `WINDOWS`
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Notebooks\V1\Runtime::initOnce();
        parent::__construct($data);
    }

    /**
     * The ID of a supported feature. Read [Enabling guest operating system
     * features](https://cloud.google.com/compute/docs/images/create-delete-deprecate-private-images#guest-os-features)
     * to see a list of available options.
     * Valid values:
     * * `FEATURE_TYPE_UNSPECIFIED`
     * * `MULTI_IP_SUBNET`
     * * `SECURE_BOOT`
     * * `UEFI_COMPATIBLE`
     * * `VIRTIO_SCSI_MULTIQUEUE`
     * * `WINDOWS`
     *
     * Generated from protobuf field <code>string type = 1;</code>
     * @return string
     */
    public function getType()
    {
        return $this->type;
    }

    /**
     * The ID of a supported feature. Read [Enabling guest operating system
     * features](https://cloud.google.com/compute/docs/images/create-delete-deprecate-private-images#guest-os-features)
     * to see a list of available options.
     * Valid values:
     * * `FEATURE_TYPE_UNSPECIFIED`
     * * `MULTI_IP_SUBNET`
     * * `SECURE_BOOT`
     * * `UEFI_COMPATIBLE`
     * * `VIRTIO_SCSI_MULTIQUEUE`
     * * `WINDOWS`
     *
     * Generated from protobuf field <code>string type = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setType($var)
    {
        GPBUtil::checkString($var, True);
        $this->type = $var;

        return $this;
    }

}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RuntimeGuestOsFeature::class, \Google\Cloud\Notebooks\V1\LocalDisk_RuntimeGuestOsFeature::class);

