Interface StandardSchedulerSettingsOrBuilder (2.21.0)

public interface StandardSchedulerSettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMaxInstances()

public abstract int getMaxInstances()

Maximum number of instances to run for this version. Set to zero to disable max_instances configuration.

int32 max_instances = 4;

Returns
TypeDescription
int

The maxInstances.

getMinInstances()

public abstract int getMinInstances()

Minimum number of instances to run for this version. Set to zero to disable min_instances configuration.

int32 min_instances = 3;

Returns
TypeDescription
int

The minInstances.

getTargetCpuUtilization()

public abstract double getTargetCpuUtilization()

Target CPU utilization ratio to maintain when scaling.

double target_cpu_utilization = 1;

Returns
TypeDescription
double

The targetCpuUtilization.

getTargetThroughputUtilization()

public abstract double getTargetThroughputUtilization()

Target throughput utilization ratio to maintain when scaling

double target_throughput_utilization = 2;

Returns
TypeDescription
double

The targetThroughputUtilization.