Interface WorkloadsConfig.WorkerResourceOrBuilder (1.55.0)

public static interface WorkloadsConfig.WorkerResourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCpu()

public abstract float getCpu()

Optional. CPU request and limit for a single Airflow worker replica.

float cpu = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
float

The cpu.

getMaxCount()

public abstract int getMaxCount()

Optional. Maximum number of workers for autoscaling.

int32 max_count = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The maxCount.

getMemoryGb()

public abstract float getMemoryGb()

Optional. Memory (GB) request and limit for a single Airflow worker replica.

float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
float

The memoryGb.

getMinCount()

public abstract int getMinCount()

Optional. Minimum number of workers for autoscaling.

int32 min_count = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The minCount.

getStorageGb()

public abstract float getStorageGb()

Optional. Storage (GB) request and limit for a single Airflow worker replica.

float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
float

The storageGb.