Interface DiskSpecOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DiskSpec,DiskSpec.Builder
public interface DiskSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetBootDiskSizeGb()Size in GB of the boot disk (default is 100GB).StringgetBootDiskType()Type of the boot disk (default is "pd-ssd").com.google.protobuf.ByteStringgetBootDiskTypeBytes()Type of the boot disk (default is "pd-ssd").-
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()
Type of the boot disk (default is "pd-ssd"). Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or "pd-standard" (Persistent Disk Hard Disk Drive).
string boot_disk_type = 1;- Returns:
- The bootDiskType.
-
getBootDiskTypeBytes
com.google.protobuf.ByteString getBootDiskTypeBytes()
Type of the boot disk (default is "pd-ssd"). Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or "pd-standard" (Persistent Disk Hard Disk Drive).
string boot_disk_type = 1;- Returns:
- The bytes for bootDiskType.
-
getBootDiskSizeGb
int getBootDiskSizeGb()
Size in GB of the boot disk (default is 100GB).
int32 boot_disk_size_gb = 2;- Returns:
- The bootDiskSizeGb.
-
-