Interface PolicyRuleOrBuilder (1.56.0)

public interface PolicyRuleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getRolloutRestriction()

public abstract RolloutRestriction getRolloutRestriction()

Optional. Rollout restrictions.

.google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RolloutRestriction

The rolloutRestriction.

getRolloutRestrictionOrBuilder()

public abstract RolloutRestrictionOrBuilder getRolloutRestrictionOrBuilder()

Optional. Rollout restrictions.

.google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
RolloutRestrictionOrBuilder

getRuleCase()

public abstract PolicyRule.RuleCase getRuleCase()
Returns
Type Description
PolicyRule.RuleCase

hasRolloutRestriction()

public abstract boolean hasRolloutRestriction()

Optional. Rollout restrictions.

.google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the rolloutRestriction field is set.