public final class DiskSpec extends GeneratedMessageV3 implements DiskSpecOrBuilder
Represents the spec of disk options.
Protobuf type google.cloud.aiplatform.v1.DiskSpec
Static Fields
public static final int BOOT_DISK_SIZE_GB_FIELD_NUMBER
Field Value
public static final int BOOT_DISK_TYPE_FIELD_NUMBER
Field Value
Static Methods
public static DiskSpec getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static DiskSpec.Builder newBuilder()
Returns
public static DiskSpec.Builder newBuilder(DiskSpec prototype)
Parameter
Returns
public static DiskSpec parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static DiskSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DiskSpec parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static DiskSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DiskSpec parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static DiskSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DiskSpec parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static DiskSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DiskSpec parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static DiskSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DiskSpec parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static DiskSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<DiskSpec> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public int getBootDiskSizeGb()
Size in GB of the boot disk (default is 100GB).
int32 boot_disk_size_gb = 2;
Returns
Type | Description |
int | The bootDiskSizeGb.
|
public String getBootDiskType()
Type of the boot disk (default is "pd-ssd").
Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or
"pd-standard" (Persistent Disk Hard Disk Drive).
string boot_disk_type = 1;
Returns
Type | Description |
String | The bootDiskType.
|
public ByteString getBootDiskTypeBytes()
Type of the boot disk (default is "pd-ssd").
Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or
"pd-standard" (Persistent Disk Hard Disk Drive).
string boot_disk_type = 1;
Returns
Type | Description |
ByteString | The bytes for bootDiskType.
|
public DiskSpec getDefaultInstanceForType()
Returns
public Parser<DiskSpec> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public DiskSpec.Builder newBuilderForType()
Returns
protected DiskSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public DiskSpec.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions