Interface Task.InfrastructureSpec.BatchComputeResourcesOrBuilder (1.41.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
Type Description
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
Type Description
int

The maxExecutorsCount.