Interface SchedulingPolicyOrBuilder (2.77.0)

public interface SchedulingPolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConcurrency()

public abstract long getConcurrency()

Optional. If present and > 0, the reservation will attempt to limit the concurrency of jobs running for any particular project within it to the given value.

This feature is not yet generally available.

optional int64 concurrency = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The concurrency.

getMaxSlots()

public abstract long getMaxSlots()

Optional. If present and > 0, the reservation will attempt to limit the slot consumption of queries running for any particular project within it to the given value.

This feature is not yet generally available.

optional int64 max_slots = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The maxSlots.

hasConcurrency()

public abstract boolean hasConcurrency()

Optional. If present and > 0, the reservation will attempt to limit the concurrency of jobs running for any particular project within it to the given value.

This feature is not yet generally available.

optional int64 concurrency = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the concurrency field is set.

hasMaxSlots()

public abstract boolean hasMaxSlots()

Optional. If present and > 0, the reservation will attempt to limit the slot consumption of queries running for any particular project within it to the given value.

This feature is not yet generally available.

optional int64 max_slots = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the maxSlots field is set.