public static final class DiskConfig.Builder extends GeneratedMessageV3.Builder<DiskConfig.Builder> implements DiskConfigOrBuilder
Specifies the config of disk options for a group of VM instances.Protobuf type
google.cloud.dataproc.v1.DiskConfig
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<DiskConfig.Builder>
public DiskConfig.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<DiskConfig.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<DiskConfig.Builder>
public DiskConfig getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public DiskConfig build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public DiskConfig buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public DiskConfig.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<DiskConfig.Builder>
public DiskConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<DiskConfig.Builder>
public DiskConfig.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<DiskConfig.Builder>
public DiskConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<DiskConfig.Builder>
public DiskConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<DiskConfig.Builder>
public DiskConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<DiskConfig.Builder>
public DiskConfig.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<DiskConfig.Builder>
public DiskConfig.Builder mergeFrom(DiskConfig other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<DiskConfig.Builder>
public DiskConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<DiskConfig.Builder>
IOException
public String getBootDiskType()
Optional. Type of the boot disk (default is "pd-standard"). Valid values: "pd-balanced" (Persistent Disk Balanced Solid State Drive), "pd-ssd" (Persistent Disk Solid State Drive), or "pd-standard" (Persistent Disk Hard Disk Drive). See [Disk types](https://cloud.google.com/compute/docs/disks#disk-types).
string boot_disk_type = 3 [(.google.api.field_behavior) = OPTIONAL];
getBootDiskType
in interface DiskConfigOrBuilder
public ByteString getBootDiskTypeBytes()
Optional. Type of the boot disk (default is "pd-standard"). Valid values: "pd-balanced" (Persistent Disk Balanced Solid State Drive), "pd-ssd" (Persistent Disk Solid State Drive), or "pd-standard" (Persistent Disk Hard Disk Drive). See [Disk types](https://cloud.google.com/compute/docs/disks#disk-types).
string boot_disk_type = 3 [(.google.api.field_behavior) = OPTIONAL];
getBootDiskTypeBytes
in interface DiskConfigOrBuilder
public DiskConfig.Builder setBootDiskType(String value)
Optional. Type of the boot disk (default is "pd-standard"). Valid values: "pd-balanced" (Persistent Disk Balanced Solid State Drive), "pd-ssd" (Persistent Disk Solid State Drive), or "pd-standard" (Persistent Disk Hard Disk Drive). See [Disk types](https://cloud.google.com/compute/docs/disks#disk-types).
string boot_disk_type = 3 [(.google.api.field_behavior) = OPTIONAL];
value
- The bootDiskType to set.public DiskConfig.Builder clearBootDiskType()
Optional. Type of the boot disk (default is "pd-standard"). Valid values: "pd-balanced" (Persistent Disk Balanced Solid State Drive), "pd-ssd" (Persistent Disk Solid State Drive), or "pd-standard" (Persistent Disk Hard Disk Drive). See [Disk types](https://cloud.google.com/compute/docs/disks#disk-types).
string boot_disk_type = 3 [(.google.api.field_behavior) = OPTIONAL];
public DiskConfig.Builder setBootDiskTypeBytes(ByteString value)
Optional. Type of the boot disk (default is "pd-standard"). Valid values: "pd-balanced" (Persistent Disk Balanced Solid State Drive), "pd-ssd" (Persistent Disk Solid State Drive), or "pd-standard" (Persistent Disk Hard Disk Drive). See [Disk types](https://cloud.google.com/compute/docs/disks#disk-types).
string boot_disk_type = 3 [(.google.api.field_behavior) = OPTIONAL];
value
- The bytes for bootDiskType to set.public int getBootDiskSizeGb()
Optional. Size in GB of the boot disk (default is 500GB).
int32 boot_disk_size_gb = 1 [(.google.api.field_behavior) = OPTIONAL];
getBootDiskSizeGb
in interface DiskConfigOrBuilder
public DiskConfig.Builder setBootDiskSizeGb(int value)
Optional. Size in GB of the boot disk (default is 500GB).
int32 boot_disk_size_gb = 1 [(.google.api.field_behavior) = OPTIONAL];
value
- The bootDiskSizeGb to set.public DiskConfig.Builder clearBootDiskSizeGb()
Optional. Size in GB of the boot disk (default is 500GB).
int32 boot_disk_size_gb = 1 [(.google.api.field_behavior) = OPTIONAL];
public int getNumLocalSsds()
Optional. Number of attached SSDs, from 0 to 4 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic config and installed binaries.
int32 num_local_ssds = 2 [(.google.api.field_behavior) = OPTIONAL];
getNumLocalSsds
in interface DiskConfigOrBuilder
public DiskConfig.Builder setNumLocalSsds(int value)
Optional. Number of attached SSDs, from 0 to 4 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic config and installed binaries.
int32 num_local_ssds = 2 [(.google.api.field_behavior) = OPTIONAL];
value
- The numLocalSsds to set.public DiskConfig.Builder clearNumLocalSsds()
Optional. Number of attached SSDs, from 0 to 4 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs and [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic config and installed binaries.
int32 num_local_ssds = 2 [(.google.api.field_behavior) = OPTIONAL];
public String getLocalSsdInterface()
Optional. Interface type of local SSDs (default is "scsi"). Valid values: "scsi" (Small Computer System Interface), "nvme" (Non-Volatile Memory Express). See [local SSD performance](https://cloud.google.com/compute/docs/disks/local-ssd#performance).
string local_ssd_interface = 4 [(.google.api.field_behavior) = OPTIONAL];
getLocalSsdInterface
in interface DiskConfigOrBuilder
public ByteString getLocalSsdInterfaceBytes()
Optional. Interface type of local SSDs (default is "scsi"). Valid values: "scsi" (Small Computer System Interface), "nvme" (Non-Volatile Memory Express). See [local SSD performance](https://cloud.google.com/compute/docs/disks/local-ssd#performance).
string local_ssd_interface = 4 [(.google.api.field_behavior) = OPTIONAL];
getLocalSsdInterfaceBytes
in interface DiskConfigOrBuilder
public DiskConfig.Builder setLocalSsdInterface(String value)
Optional. Interface type of local SSDs (default is "scsi"). Valid values: "scsi" (Small Computer System Interface), "nvme" (Non-Volatile Memory Express). See [local SSD performance](https://cloud.google.com/compute/docs/disks/local-ssd#performance).
string local_ssd_interface = 4 [(.google.api.field_behavior) = OPTIONAL];
value
- The localSsdInterface to set.public DiskConfig.Builder clearLocalSsdInterface()
Optional. Interface type of local SSDs (default is "scsi"). Valid values: "scsi" (Small Computer System Interface), "nvme" (Non-Volatile Memory Express). See [local SSD performance](https://cloud.google.com/compute/docs/disks/local-ssd#performance).
string local_ssd_interface = 4 [(.google.api.field_behavior) = OPTIONAL];
public DiskConfig.Builder setLocalSsdInterfaceBytes(ByteString value)
Optional. Interface type of local SSDs (default is "scsi"). Valid values: "scsi" (Small Computer System Interface), "nvme" (Non-Volatile Memory Express). See [local SSD performance](https://cloud.google.com/compute/docs/disks/local-ssd#performance).
string local_ssd_interface = 4 [(.google.api.field_behavior) = OPTIONAL];
value
- The bytes for localSsdInterface to set.public final DiskConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<DiskConfig.Builder>
public final DiskConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<DiskConfig.Builder>
Copyright © 2022 Google LLC. All rights reserved.