Interface WorkloadsConfig.WorkerResourceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WorkloadsConfig.WorkerResource
,WorkloadsConfig.WorkerResource.Builder
- Enclosing class:
- WorkloadsConfig
public static interface WorkloadsConfig.WorkerResourceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description float
getCpu()
Optional.int
getMaxCount()
Optional.float
getMemoryGb()
Optional.int
getMinCount()
Optional.float
getStorageGb()
Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getCpu
float getCpu()
Optional. CPU request and limit for a single Airflow worker replica.
float cpu = 1 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The cpu.
-
getMemoryGb
float getMemoryGb()
Optional. Memory (GB) request and limit for a single Airflow worker replica.
float memory_gb = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The memoryGb.
-
getStorageGb
float getStorageGb()
Optional. Storage (GB) request and limit for a single Airflow worker replica.
float storage_gb = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The storageGb.
-
getMinCount
int getMinCount()
Optional. Minimum number of workers for autoscaling.
int32 min_count = 4 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The minCount.
-
getMaxCount
int getMaxCount()
Optional. Maximum number of workers for autoscaling.
int32 max_count = 5 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The maxCount.
-
-