Interface ErrorBudgetOrBuilder (0.23.0)

public interface ErrorBudgetOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowedCount()

public abstract int getAllowedCount()

Optional. The maximum number of failed units allowed in a location without pausing the rollout.

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

Returns
Type Description
int

The allowedCount.

getAllowedPercentage()

public abstract int getAllowedPercentage()

Optional. The maximum percentage of units allowed to fail (0, 100] within a location without pausing the rollout.

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

Returns
Type Description
int

The allowedPercentage.

hasAllowedCount()

public abstract boolean hasAllowedCount()

Optional. The maximum number of failed units allowed in a location without pausing the rollout.

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

Returns
Type Description
boolean

Whether the allowedCount field is set.

hasAllowedPercentage()

public abstract boolean hasAllowedPercentage()

Optional. The maximum percentage of units allowed to fail (0, 100] within a location without pausing the rollout.

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

Returns
Type Description
boolean

Whether the allowedPercentage field is set.