Class Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.Builder (0.1.0)
public static final class Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.Builder extends GeneratedMessageV3.Builder<Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.Builder> implements Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDiskOrBuilder
A specification of the interface and size of disk attached to
the instance.
Protobuf type
google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk build()
buildPartial()
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk buildPartial()
clear()
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.Builder clear()
Overrides
clearDiskInterface()
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.Builder clearDiskInterface()
Specifies the disk interface to use for attaching this disk, which is
either SCSI or NVME. The default is SCSI.
.google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.DiskInterface disk_interface = 2;
clearDiskSizeGb()
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.Builder clearDiskSizeGb()
Specifies the size of the disk in base-2 GB.
int64 disk_size_gb = 1;
clearField(Descriptors.FieldDescriptor field)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.Builder clone()
Overrides
getDefaultInstanceForType()
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDiskInterface()
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.DiskInterface getDiskInterface()
Specifies the disk interface to use for attaching this disk, which is
either SCSI or NVME. The default is SCSI.
.google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.DiskInterface disk_interface = 2;
getDiskInterfaceValue()
public int getDiskInterfaceValue()
Specifies the disk interface to use for attaching this disk, which is
either SCSI or NVME. The default is SCSI.
.google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.DiskInterface disk_interface = 2;
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for diskInterface.
|
getDiskSizeGb()
public long getDiskSizeGb()
Specifies the size of the disk in base-2 GB.
int64 disk_size_gb = 1;
| Returns |
| Type |
Description |
long |
The diskSizeGb.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk other)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.Builder mergeFrom(Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk other)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDiskInterface(Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.DiskInterface value)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.Builder setDiskInterface(Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.DiskInterface value)
Specifies the disk interface to use for attaching this disk, which is
either SCSI or NVME. The default is SCSI.
.google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.DiskInterface disk_interface = 2;
setDiskInterfaceValue(int value)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.Builder setDiskInterfaceValue(int value)
Specifies the disk interface to use for attaching this disk, which is
either SCSI or NVME. The default is SCSI.
.google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.DiskInterface disk_interface = 2;
| Parameter |
| Name |
Description |
value |
int
The enum numeric value on the wire for diskInterface to set.
|
setDiskSizeGb(long value)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.Builder setDiskSizeGb(long value)
Specifies the size of the disk in base-2 GB.
int64 disk_size_gb = 1;
| Parameter |
| Name |
Description |
value |
long
The diskSizeGb to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-30 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-30 UTC."],[],[]]