com.google.cloud.compute.v1.SavedAttachedDiskOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-compute-v1 Show documentation
Show all versions of proto-google-cloud-compute-v1 Show documentation
Proto library for google-cloud-compute
The newest version!
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/compute/v1/compute.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.compute.v1;
public interface SavedAttachedDiskOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.SavedAttachedDisk)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).
*
*
* optional bool auto_delete = 464761403;
*
* @return Whether the autoDelete field is set.
*/
boolean hasAutoDelete();
/**
*
*
*
* Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).
*
*
* optional bool auto_delete = 464761403;
*
* @return The autoDelete.
*/
boolean getAutoDelete();
/**
*
*
*
* Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem.
*
*
* optional bool boot = 3029746;
*
* @return Whether the boot field is set.
*/
boolean hasBoot();
/**
*
*
*
* Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem.
*
*
* optional bool boot = 3029746;
*
* @return The boot.
*/
boolean getBoot();
/**
*
*
*
* Specifies the name of the disk attached to the source instance.
*
*
* optional string device_name = 67541716;
*
* @return Whether the deviceName field is set.
*/
boolean hasDeviceName();
/**
*
*
*
* Specifies the name of the disk attached to the source instance.
*
*
* optional string device_name = 67541716;
*
* @return The deviceName.
*/
java.lang.String getDeviceName();
/**
*
*
*
* Specifies the name of the disk attached to the source instance.
*
*
* optional string device_name = 67541716;
*
* @return The bytes for deviceName.
*/
com.google.protobuf.ByteString getDeviceNameBytes();
/**
*
*
*
* The encryption key for the disk.
*
*
* optional .google.cloud.compute.v1.CustomerEncryptionKey disk_encryption_key = 271660677;
*
*
* @return Whether the diskEncryptionKey field is set.
*/
boolean hasDiskEncryptionKey();
/**
*
*
*
* The encryption key for the disk.
*
*
* optional .google.cloud.compute.v1.CustomerEncryptionKey disk_encryption_key = 271660677;
*
*
* @return The diskEncryptionKey.
*/
com.google.cloud.compute.v1.CustomerEncryptionKey getDiskEncryptionKey();
/**
*
*
*
* The encryption key for the disk.
*
*
* optional .google.cloud.compute.v1.CustomerEncryptionKey disk_encryption_key = 271660677;
*
*/
com.google.cloud.compute.v1.CustomerEncryptionKeyOrBuilder getDiskEncryptionKeyOrBuilder();
/**
*
*
*
* The size of the disk in base-2 GB.
*
*
* optional int64 disk_size_gb = 316263735;
*
* @return Whether the diskSizeGb field is set.
*/
boolean hasDiskSizeGb();
/**
*
*
*
* The size of the disk in base-2 GB.
*
*
* optional int64 disk_size_gb = 316263735;
*
* @return The diskSizeGb.
*/
long getDiskSizeGb();
/**
*
*
*
* [Output Only] URL of the disk type resource. For example: projects/project /zones/zone/diskTypes/pd-standard or pd-ssd
*
*
* optional string disk_type = 93009052;
*
* @return Whether the diskType field is set.
*/
boolean hasDiskType();
/**
*
*
*
* [Output Only] URL of the disk type resource. For example: projects/project /zones/zone/diskTypes/pd-standard or pd-ssd
*
*
* optional string disk_type = 93009052;
*
* @return The diskType.
*/
java.lang.String getDiskType();
/**
*
*
*
* [Output Only] URL of the disk type resource. For example: projects/project /zones/zone/diskTypes/pd-standard or pd-ssd
*
*
* optional string disk_type = 93009052;
*
* @return The bytes for diskType.
*/
com.google.protobuf.ByteString getDiskTypeBytes();
/**
*
*
*
* A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.
*
*
* repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;
*/
java.util.List getGuestOsFeaturesList();
/**
*
*
*
* A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.
*
*
* repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;
*/
com.google.cloud.compute.v1.GuestOsFeature getGuestOsFeatures(int index);
/**
*
*
*
* A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.
*
*
* repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;
*/
int getGuestOsFeaturesCount();
/**
*
*
*
* A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.
*
*
* repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;
*/
java.util.List extends com.google.cloud.compute.v1.GuestOsFeatureOrBuilder>
getGuestOsFeaturesOrBuilderList();
/**
*
*
*
* A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.
*
*
* repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;
*/
com.google.cloud.compute.v1.GuestOsFeatureOrBuilder getGuestOsFeaturesOrBuilder(int index);
/**
*
*
*
* Specifies zero-based index of the disk that is attached to the source instance.
*
*
* optional int32 index = 100346066;
*
* @return Whether the index field is set.
*/
boolean hasIndex();
/**
*
*
*
* Specifies zero-based index of the disk that is attached to the source instance.
*
*
* optional int32 index = 100346066;
*
* @return The index.
*/
int getIndex();
/**
*
*
*
* Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
* Check the Interface enum for the list of possible values.
*
*
* optional string interface = 502623545;
*
* @return Whether the interface field is set.
*/
boolean hasInterface();
/**
*
*
*
* Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
* Check the Interface enum for the list of possible values.
*
*
* optional string interface = 502623545;
*
* @return The interface.
*/
java.lang.String getInterface();
/**
*
*
*
* Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
* Check the Interface enum for the list of possible values.
*
*
* optional string interface = 502623545;
*
* @return The bytes for interface.
*/
com.google.protobuf.ByteString getInterfaceBytes();
/**
*
*
*
* [Output Only] Type of the resource. Always compute#attachedDisk for attached disks.
*
*
* optional string kind = 3292052;
*
* @return Whether the kind field is set.
*/
boolean hasKind();
/**
*
*
*
* [Output Only] Type of the resource. Always compute#attachedDisk for attached disks.
*
*
* optional string kind = 3292052;
*
* @return The kind.
*/
java.lang.String getKind();
/**
*
*
*
* [Output Only] Type of the resource. Always compute#attachedDisk for attached disks.
*
*
* optional string kind = 3292052;
*
* @return The bytes for kind.
*/
com.google.protobuf.ByteString getKindBytes();
/**
*
*
*
* [Output Only] Any valid publicly visible licenses.
*
*
* repeated string licenses = 337642578;
*
* @return A list containing the licenses.
*/
java.util.List getLicensesList();
/**
*
*
*
* [Output Only] Any valid publicly visible licenses.
*
*
* repeated string licenses = 337642578;
*
* @return The count of licenses.
*/
int getLicensesCount();
/**
*
*
*
* [Output Only] Any valid publicly visible licenses.
*
*
* repeated string licenses = 337642578;
*
* @param index The index of the element to return.
* @return The licenses at the given index.
*/
java.lang.String getLicenses(int index);
/**
*
*
*
* [Output Only] Any valid publicly visible licenses.
*
*
* repeated string licenses = 337642578;
*
* @param index The index of the value to return.
* @return The bytes of the licenses at the given index.
*/
com.google.protobuf.ByteString getLicensesBytes(int index);
/**
*
*
*
* The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY.
* Check the Mode enum for the list of possible values.
*
*
* optional string mode = 3357091;
*
* @return Whether the mode field is set.
*/
boolean hasMode();
/**
*
*
*
* The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY.
* Check the Mode enum for the list of possible values.
*
*
* optional string mode = 3357091;
*
* @return The mode.
*/
java.lang.String getMode();
/**
*
*
*
* The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY.
* Check the Mode enum for the list of possible values.
*
*
* optional string mode = 3357091;
*
* @return The bytes for mode.
*/
com.google.protobuf.ByteString getModeBytes();
/**
*
*
*
* Specifies a URL of the disk attached to the source instance.
*
*
* optional string source = 177235995;
*
* @return Whether the source field is set.
*/
boolean hasSource();
/**
*
*
*
* Specifies a URL of the disk attached to the source instance.
*
*
* optional string source = 177235995;
*
* @return The source.
*/
java.lang.String getSource();
/**
*
*
*
* Specifies a URL of the disk attached to the source instance.
*
*
* optional string source = 177235995;
*
* @return The bytes for source.
*/
com.google.protobuf.ByteString getSourceBytes();
/**
*
*
*
* [Output Only] A size of the storage used by the disk's snapshot by this machine image.
*
*
* optional int64 storage_bytes = 424631719;
*
* @return Whether the storageBytes field is set.
*/
boolean hasStorageBytes();
/**
*
*
*
* [Output Only] A size of the storage used by the disk's snapshot by this machine image.
*
*
* optional int64 storage_bytes = 424631719;
*
* @return The storageBytes.
*/
long getStorageBytes();
/**
*
*
*
* [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date.
* Check the StorageBytesStatus enum for the list of possible values.
*
*
* optional string storage_bytes_status = 490739082;
*
* @return Whether the storageBytesStatus field is set.
*/
boolean hasStorageBytesStatus();
/**
*
*
*
* [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date.
* Check the StorageBytesStatus enum for the list of possible values.
*
*
* optional string storage_bytes_status = 490739082;
*
* @return The storageBytesStatus.
*/
java.lang.String getStorageBytesStatus();
/**
*
*
*
* [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date.
* Check the StorageBytesStatus enum for the list of possible values.
*
*
* optional string storage_bytes_status = 490739082;
*
* @return The bytes for storageBytesStatus.
*/
com.google.protobuf.ByteString getStorageBytesStatusBytes();
/**
*
*
*
* Specifies the type of the attached disk, either SCRATCH or PERSISTENT.
* Check the Type enum for the list of possible values.
*
*
* optional string type = 3575610;
*
* @return Whether the type field is set.
*/
boolean hasType();
/**
*
*
*
* Specifies the type of the attached disk, either SCRATCH or PERSISTENT.
* Check the Type enum for the list of possible values.
*
*
* optional string type = 3575610;
*
* @return The type.
*/
java.lang.String getType();
/**
*
*
*
* Specifies the type of the attached disk, either SCRATCH or PERSISTENT.
* Check the Type enum for the list of possible values.
*
*
* optional string type = 3575610;
*
* @return The bytes for type.
*/
com.google.protobuf.ByteString getTypeBytes();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy