public interface DiskConfigOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
int |
getBootDiskSizeGb()
Optional.
|
String |
getBootDiskType()
Optional.
|
ByteString |
getBootDiskTypeBytes()
Optional.
|
String |
getLocalSsdInterface()
Optional.
|
ByteString |
getLocalSsdInterfaceBytes()
Optional.
|
int |
getNumLocalSsds()
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getBootDiskType()
Optional. Type of the boot disk (default is "pd-standard"). Valid values: "pd-balanced" (Persistent Disk Balanced Solid State Drive), "pd-ssd" (Persistent Disk Solid State Drive), or "pd-standard" (Persistent Disk Hard Disk Drive). See [Disk types](https://cloud.google.com/compute/docs/disks#disk-types).
string boot_disk_type = 3 [(.google.api.field_behavior) = OPTIONAL];
ByteString getBootDiskTypeBytes()
Optional. Type of the boot disk (default is "pd-standard"). Valid values: "pd-balanced" (Persistent Disk Balanced Solid State Drive), "pd-ssd" (Persistent Disk Solid State Drive), or "pd-standard" (Persistent Disk Hard Disk Drive). See [Disk types](https://cloud.google.com/compute/docs/disks#disk-types).
string boot_disk_type = 3 [(.google.api.field_behavior) = OPTIONAL];
int getBootDiskSizeGb()
Optional. Size in GB of the boot disk (default is 500GB).
int32 boot_disk_size_gb = 1 [(.google.api.field_behavior) = OPTIONAL];
int getNumLocalSsds()
Optional. Number of attached SSDs, from 0 to 4 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic config and installed binaries.
int32 num_local_ssds = 2 [(.google.api.field_behavior) = OPTIONAL];
String getLocalSsdInterface()
Optional. Interface type of local SSDs (default is "scsi"). Valid values: "scsi" (Small Computer System Interface), "nvme" (Non-Volatile Memory Express). See [local SSD performance](https://cloud.google.com/compute/docs/disks/local-ssd#performance).
string local_ssd_interface = 4 [(.google.api.field_behavior) = OPTIONAL];
ByteString getLocalSsdInterfaceBytes()
Optional. Interface type of local SSDs (default is "scsi"). Valid values: "scsi" (Small Computer System Interface), "nvme" (Non-Volatile Memory Express). See [local SSD performance](https://cloud.google.com/compute/docs/disks/local-ssd#performance).
string local_ssd_interface = 4 [(.google.api.field_behavior) = OPTIONAL];
Copyright © 2022 Google LLC. All rights reserved.