Package com.google.cloud.dataproc.v1
Interface DiskConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DiskConfig
,DiskConfig.Builder
public interface DiskConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getBootDiskSizeGb()
Optional.String
getBootDiskType()
Optional.com.google.protobuf.ByteString
getBootDiskTypeBytes()
Optional.String
getLocalSsdInterface()
Optional.com.google.protobuf.ByteString
getLocalSsdInterfaceBytes()
Optional.int
getNumLocalSsds()
Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getBootDiskType
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];
- Returns:
- The bootDiskType.
-
getBootDiskTypeBytes
com.google.protobuf.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];
- Returns:
- The bytes for bootDiskType.
-
getBootDiskSizeGb
int getBootDiskSizeGb()
Optional. Size in GB of the boot disk (default is 500GB).
int32 boot_disk_size_gb = 1 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The bootDiskSizeGb.
-
getNumLocalSsds
int getNumLocalSsds()
Optional. Number of attached SSDs, from 0 to 8 (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. Note: Local SSD options may vary by machine type and number of vCPUs selected.
int32 num_local_ssds = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The numLocalSsds.
-
getLocalSsdInterface
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];
- Returns:
- The localSsdInterface.
-
getLocalSsdInterfaceBytes
com.google.protobuf.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];
- Returns:
- The bytes for localSsdInterface.
-
-