Package com.google.cloud.compute.v1
Interface AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk,AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.Builder
@Generated
public interface AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongSpecifies the size of the disk in base-2 GB.Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.com.google.protobuf.ByteStringSpecifies the disk interface to use for attaching this disk, which is either SCSI or NVME.booleanSpecifies the size of the disk in base-2 GB.booleanSpecifies the disk interface to use for attaching this disk, which is either SCSI or NVME.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasDiskSizeGb
boolean hasDiskSizeGb()Specifies the size of the disk in base-2 GB.
optional int64 disk_size_gb = 316263735;- Returns:
- Whether the diskSizeGb field is set.
-
getDiskSizeGb
long getDiskSizeGb()Specifies the size of the disk in base-2 GB.
optional int64 disk_size_gb = 316263735;- Returns:
- The diskSizeGb.
-
hasInterface
boolean hasInterface()Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default isSCSI. For performance characteristics of SCSI over NVMe, seeLocal SSD performance. Check the Interface enum for the list of possible values.
optional string interface = 502623545;- Returns:
- Whether the interface field is set.
-
getInterface
String getInterface()Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default isSCSI. For performance characteristics of SCSI over NVMe, seeLocal SSD performance. Check the Interface enum for the list of possible values.
optional string interface = 502623545;- Returns:
- The interface.
-
getInterfaceBytes
com.google.protobuf.ByteString getInterfaceBytes()Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default isSCSI. For performance characteristics of SCSI over NVMe, seeLocal SSD performance. Check the Interface enum for the list of possible values.
optional string interface = 502623545;- Returns:
- The bytes for interface.
-