Interface Task.InfrastructureSpec.BatchComputeResourcesOrBuilder (1.20.0)

public static interface Task.InfrastructureSpec.BatchComputeResourcesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExecutorsCount()

public abstract int getExecutorsCount()

Optional. Total number of job executors. Executor Count should be between 2 and 100. [Default=2]

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

Returns
TypeDescription
int

The executorsCount.

getMaxExecutorsCount()

public abstract int getMaxExecutorsCount()

Optional. Max configurable executors. If max_executors_count > executors_count, then auto-scaling is enabled. Max Executor Count should be between 2 and 1000. [Default=1000]

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

Returns
TypeDescription
int

The maxExecutorsCount.