public final class PersistentDiskSpec extends GeneratedMessageV3 implements PersistentDiskSpecOrBuilder
Represents the spec of persistent
disk options.
Protobuf type google.cloud.vertexai.v1.PersistentDiskSpec
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
DISK_SIZE_GB_FIELD_NUMBER
public static final int DISK_SIZE_GB_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DISK_TYPE_FIELD_NUMBER
public static final int DISK_TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static PersistentDiskSpec getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static PersistentDiskSpec.Builder newBuilder()
newBuilder(PersistentDiskSpec prototype)
public static PersistentDiskSpec.Builder newBuilder(PersistentDiskSpec prototype)
public static PersistentDiskSpec parseDelimitedFrom(InputStream input)
public static PersistentDiskSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static PersistentDiskSpec parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PersistentDiskSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static PersistentDiskSpec parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PersistentDiskSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PersistentDiskSpec parseFrom(CodedInputStream input)
public static PersistentDiskSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PersistentDiskSpec parseFrom(InputStream input)
public static PersistentDiskSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static PersistentDiskSpec parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PersistentDiskSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<PersistentDiskSpec> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public PersistentDiskSpec getDefaultInstanceForType()
getDiskSizeGb()
public long getDiskSizeGb()
Size in GB of the disk (default is 100GB).
int64 disk_size_gb = 2;
Returns |
Type |
Description |
long |
The diskSizeGb.
|
getDiskType()
public String getDiskType()
Type of the disk (default is "pd-standard").
Valid values: "pd-ssd" (Persistent Disk Solid State Drive)
"pd-standard" (Persistent Disk Hard Disk Drive)
"pd-balanced" (Balanced Persistent Disk)
"pd-extreme" (Extreme Persistent Disk)
string disk_type = 1;
Returns |
Type |
Description |
String |
The diskType.
|
getDiskTypeBytes()
public ByteString getDiskTypeBytes()
Type of the disk (default is "pd-standard").
Valid values: "pd-ssd" (Persistent Disk Solid State Drive)
"pd-standard" (Persistent Disk Hard Disk Drive)
"pd-balanced" (Balanced Persistent Disk)
"pd-extreme" (Extreme Persistent Disk)
string disk_type = 1;
Returns |
Type |
Description |
ByteString |
The bytes for diskType.
|
getParserForType()
public Parser<PersistentDiskSpec> 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 PersistentDiskSpec.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PersistentDiskSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public PersistentDiskSpec.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides