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

namespace Google\Cloud\Notebooks\V1\Instance\Disk;

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

/**
 * Guest OS features for boot disk.
 *
 * Generated from protobuf message <code>google.cloud.notebooks.v1.Instance.Disk.GuestOsFeature</code>
 */
class GuestOsFeature extends \Google\Protobuf\Internal\Message
{
    /**
     * The ID of a supported feature. Read  Enabling guest operating system
     * 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>
     */
    protected $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 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\Instance::initOnce();
        parent::__construct($data);
    }

    /**
     * The ID of a supported feature. Read  Enabling guest operating system
     * 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 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;
    }

}


