Interface FlexibleInstanceGroupConfigOrBuilder (4.100.0)

public interface FlexibleInstanceGroupConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBootDiskSizeGb()

public abstract int getBootDiskSizeGb()

Optional. The boot disk size in GB. This is a create-time specification and is not currently mutable via update masks.

int32 boot_disk_size_gb = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The bootDiskSizeGb.

getCoreCount()

public abstract int getCoreCount()

Optional. The number of vCPUs per instance. Must be a power of 2 (2, 4, 8, 16, 32). This is a create-time specification and is not currently mutable via update masks.

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

Returns
Type Description
int

The coreCount.

getHardwareClass()

public abstract FlexibleInstanceGroupConfig.HardwareClass getHardwareClass()

Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks.

.google.cloud.dataproc.v1.FlexibleInstanceGroupConfig.HardwareClass hardware_class = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FlexibleInstanceGroupConfig.HardwareClass

The hardwareClass.

getHardwareClassValue()

public abstract int getHardwareClassValue()

Optional. The hardware class of the instances. This is a create-time specification and is not currently mutable via update masks.

.google.cloud.dataproc.v1.FlexibleInstanceGroupConfig.HardwareClass hardware_class = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for hardwareClass.

getNumInstances()

public abstract int getNumInstances()

Optional. The number of VM instances requested.

For master instances, this must be 1. For worker and secondary worker instances, this represents the desired capacity of the group and is mutable via cluster update operations and autoscaling.

int32 num_instances = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The numInstances.