Package com.google.cloud.compute.v1
Interface LocalDiskOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LocalDisk,LocalDisk.Builder
public interface LocalDiskOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetDiskCount()Specifies the number of such disks.intgetDiskSizeGb()Specifies the size of the disk in base-2 GB.StringgetDiskType()Specifies the desired disk type on the node.com.google.protobuf.ByteStringgetDiskTypeBytes()Specifies the desired disk type on the node.booleanhasDiskCount()Specifies the number of such disks.booleanhasDiskSizeGb()Specifies the size of the disk in base-2 GB.booleanhasDiskType()Specifies the desired disk type on the node.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasDiskCount
boolean hasDiskCount()
Specifies the number of such disks.
optional int32 disk_count = 182933485;- Returns:
- Whether the diskCount field is set.
-
getDiskCount
int getDiskCount()
Specifies the number of such disks.
optional int32 disk_count = 182933485;- Returns:
- The diskCount.
-
hasDiskSizeGb
boolean hasDiskSizeGb()
Specifies the size of the disk in base-2 GB.
optional int32 disk_size_gb = 316263735;- Returns:
- Whether the diskSizeGb field is set.
-
getDiskSizeGb
int getDiskSizeGb()
Specifies the size of the disk in base-2 GB.
optional int32 disk_size_gb = 316263735;- Returns:
- The diskSizeGb.
-
hasDiskType
boolean hasDiskType()
Specifies the desired disk type on the node. This disk type must be a local storage type (e.g.: local-ssd). Note that for nodeTemplates, this should be the name of the disk type and not its URL.
optional string disk_type = 93009052;- Returns:
- Whether the diskType field is set.
-
getDiskType
String getDiskType()
Specifies the desired disk type on the node. This disk type must be a local storage type (e.g.: local-ssd). Note that for nodeTemplates, this should be the name of the disk type and not its URL.
optional string disk_type = 93009052;- Returns:
- The diskType.
-
getDiskTypeBytes
com.google.protobuf.ByteString getDiskTypeBytes()
Specifies the desired disk type on the node. This disk type must be a local storage type (e.g.: local-ssd). Note that for nodeTemplates, this should be the name of the disk type and not its URL.
optional string disk_type = 93009052;- Returns:
- The bytes for diskType.
-
-