Interface StandardSchedulerSettingsOrBuilder (2.49.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
Type Description
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
Type Description
int

The minInstances.

getTargetCpuUtilization()

public abstract double getTargetCpuUtilization()

Target CPU utilization ratio to maintain when scaling.

double target_cpu_utilization = 1;

Returns
Type Description
double

The targetCpuUtilization.

getTargetThroughputUtilization()

public abstract double getTargetThroughputUtilization()

Target throughput utilization ratio to maintain when scaling

double target_throughput_utilization = 2;

Returns
Type Description
double

The targetThroughputUtilization.