Interface PersistentDiskSpecOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PersistentDiskSpec
,PersistentDiskSpec.Builder
public interface PersistentDiskSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getDiskSizeGb()
Size in GB of the disk (default is 100GB).String
getDiskType()
Type of the disk (default is "pd-standard").com.google.protobuf.ByteString
getDiskTypeBytes()
Type of the disk (default is "pd-standard").-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getDiskType
String getDiskType()
Type of the disk (default is "pd-standard"). Valid values: "pd-ssd" (Persistent Disk Solid State Drive) "pd-standard" (Persistent Disk Hard Disk Drive) "pd-balanced" (Balanced Persistent Disk) "pd-extreme" (Extreme Persistent Disk)
string disk_type = 1;
- Returns:
- The diskType.
-
getDiskTypeBytes
com.google.protobuf.ByteString getDiskTypeBytes()
Type of the disk (default is "pd-standard"). Valid values: "pd-ssd" (Persistent Disk Solid State Drive) "pd-standard" (Persistent Disk Hard Disk Drive) "pd-balanced" (Balanced Persistent Disk) "pd-extreme" (Extreme Persistent Disk)
string disk_type = 1;
- Returns:
- The bytes for diskType.
-
getDiskSizeGb
long getDiskSizeGb()
Size in GB of the disk (default is 100GB).
int64 disk_size_gb = 2;
- Returns:
- The diskSizeGb.
-
-