Interface WorkloadsConfig.WorkerResourceOrBuilder (1.41.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
float

The storageGb.