public final class DiskSpec extends GeneratedMessageV3 implements DiskSpecOrBuilder
Represents the spec of disk options.
Protobuf type google.cloud.vertexai.v1.DiskSpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
BOOT_DISK_SIZE_GB_FIELD_NUMBER
public static final int BOOT_DISK_SIZE_GB_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
BOOT_DISK_TYPE_FIELD_NUMBER
public static final int BOOT_DISK_TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static DiskSpec getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DiskSpec.Builder newBuilder()
newBuilder(DiskSpec prototype)
public static DiskSpec.Builder newBuilder(DiskSpec prototype)
Parameter |
Name |
Description |
prototype |
DiskSpec
|
public static DiskSpec parseDelimitedFrom(InputStream input)
public static DiskSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DiskSpec parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DiskSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DiskSpec parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DiskSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DiskSpec parseFrom(CodedInputStream input)
public static DiskSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DiskSpec parseFrom(InputStream input)
public static DiskSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DiskSpec parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DiskSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DiskSpec> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getBootDiskSizeGb()
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.
|
getBootDiskType()
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.
|
getBootDiskTypeBytes()
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.
|
getDefaultInstanceForType()
public DiskSpec getDefaultInstanceForType()
getParserForType()
public Parser<DiskSpec> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DiskSpec.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DiskSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public DiskSpec.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides