Interface AttachedDiskConfigOrBuilder (4.91.1)

public interface AttachedDiskConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDiskSizeGb()

public abstract int getDiskSizeGb()

Optional. Disk size in GB.

int32 disk_size_gb = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The diskSizeGb.

getDiskType()

public abstract AttachedDiskConfig.DiskType getDiskType()

Optional. Disk type.

.google.cloud.dataproc.v1.AttachedDiskConfig.DiskType disk_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AttachedDiskConfig.DiskType

The diskType.

getDiskTypeValue()

public abstract int getDiskTypeValue()

Optional. Disk type.

.google.cloud.dataproc.v1.AttachedDiskConfig.DiskType disk_type = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for diskType.

getProvisionedIops()

public abstract long getProvisionedIops()

Optional. Indicates how many IOPS to provision for the attached disk. This sets the number of I/O operations per second that the disk can handle. See https://cloud.google.com/compute/docs/disks/hyperdisks#hyperdisk-features

optional int64 provisioned_iops = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The provisionedIops.

getProvisionedThroughput()

public abstract long getProvisionedThroughput()

Optional. Indicates how much throughput to provision for the attached disk. This sets the number of throughput mb per second that the disk can handle. See https://cloud.google.com/compute/docs/disks/hyperdisks#hyperdisk-features

optional int64 provisioned_throughput = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The provisionedThroughput.

hasProvisionedIops()

public abstract boolean hasProvisionedIops()

Optional. Indicates how many IOPS to provision for the attached disk. This sets the number of I/O operations per second that the disk can handle. See https://cloud.google.com/compute/docs/disks/hyperdisks#hyperdisk-features

optional int64 provisioned_iops = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the provisionedIops field is set.

hasProvisionedThroughput()

public abstract boolean hasProvisionedThroughput()

Optional. Indicates how much throughput to provision for the attached disk. This sets the number of throughput mb per second that the disk can handle. See https://cloud.google.com/compute/docs/disks/hyperdisks#hyperdisk-features

optional int64 provisioned_throughput = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the provisionedThroughput field is set.