public static final class DiskSpec.Builder extends com.google.protobuf.GeneratedMessage.Builder<DiskSpec.Builder> implements DiskSpecOrBuilder
Represents the spec of disk options.Protobuf type
google.cloud.aiplatform.v1.DiskSpec| Modifier and Type | Method and Description |
|---|---|
DiskSpec |
build() |
DiskSpec |
buildPartial() |
DiskSpec.Builder |
clear() |
DiskSpec.Builder |
clearBootDiskSizeGb()
Size in GB of the boot disk (default is 100GB).
|
DiskSpec.Builder |
clearBootDiskType()
Type of the boot disk.
|
int |
getBootDiskSizeGb()
Size in GB of the boot disk (default is 100GB).
|
String |
getBootDiskType()
Type of the boot disk.
|
com.google.protobuf.ByteString |
getBootDiskTypeBytes()
Type of the boot disk.
|
DiskSpec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
DiskSpec.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DiskSpec.Builder |
mergeFrom(DiskSpec other) |
DiskSpec.Builder |
mergeFrom(com.google.protobuf.Message other) |
DiskSpec.Builder |
setBootDiskSizeGb(int value)
Size in GB of the boot disk (default is 100GB).
|
DiskSpec.Builder |
setBootDiskType(String value)
Type of the boot disk.
|
DiskSpec.Builder |
setBootDiskTypeBytes(com.google.protobuf.ByteString value)
Type of the boot disk.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<DiskSpec.Builder>public DiskSpec.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<DiskSpec.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<DiskSpec.Builder>public DiskSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic DiskSpec build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic DiskSpec buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic DiskSpec.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DiskSpec.Builder>public DiskSpec.Builder mergeFrom(DiskSpec other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<DiskSpec.Builder>public DiskSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DiskSpec.Builder>IOExceptionpublic String getBootDiskType()
Type of the boot disk. For non-A3U machines, the default value is "pd-ssd", for A3U machines, the default value is "hyperdisk-balanced". Valid values: "pd-ssd" (Persistent Disk Solid State Drive), "pd-standard" (Persistent Disk Hard Disk Drive) or "hyperdisk-balanced".
string boot_disk_type = 1;getBootDiskType in interface DiskSpecOrBuilderpublic com.google.protobuf.ByteString getBootDiskTypeBytes()
Type of the boot disk. For non-A3U machines, the default value is "pd-ssd", for A3U machines, the default value is "hyperdisk-balanced". Valid values: "pd-ssd" (Persistent Disk Solid State Drive), "pd-standard" (Persistent Disk Hard Disk Drive) or "hyperdisk-balanced".
string boot_disk_type = 1;getBootDiskTypeBytes in interface DiskSpecOrBuilderpublic DiskSpec.Builder setBootDiskType(String value)
Type of the boot disk. For non-A3U machines, the default value is "pd-ssd", for A3U machines, the default value is "hyperdisk-balanced". Valid values: "pd-ssd" (Persistent Disk Solid State Drive), "pd-standard" (Persistent Disk Hard Disk Drive) or "hyperdisk-balanced".
string boot_disk_type = 1;value - The bootDiskType to set.public DiskSpec.Builder clearBootDiskType()
Type of the boot disk. For non-A3U machines, the default value is "pd-ssd", for A3U machines, the default value is "hyperdisk-balanced". Valid values: "pd-ssd" (Persistent Disk Solid State Drive), "pd-standard" (Persistent Disk Hard Disk Drive) or "hyperdisk-balanced".
string boot_disk_type = 1;public DiskSpec.Builder setBootDiskTypeBytes(com.google.protobuf.ByteString value)
Type of the boot disk. For non-A3U machines, the default value is "pd-ssd", for A3U machines, the default value is "hyperdisk-balanced". Valid values: "pd-ssd" (Persistent Disk Solid State Drive), "pd-standard" (Persistent Disk Hard Disk Drive) or "hyperdisk-balanced".
string boot_disk_type = 1;value - The bytes for bootDiskType to set.public int getBootDiskSizeGb()
Size in GB of the boot disk (default is 100GB).
int32 boot_disk_size_gb = 2;getBootDiskSizeGb in interface DiskSpecOrBuilderpublic DiskSpec.Builder setBootDiskSizeGb(int value)
Size in GB of the boot disk (default is 100GB).
int32 boot_disk_size_gb = 2;value - The bootDiskSizeGb to set.public DiskSpec.Builder clearBootDiskSizeGb()
Size in GB of the boot disk (default is 100GB).
int32 boot_disk_size_gb = 2;Copyright © 2026 Google LLC. All rights reserved.