Interface PolicyRuleOrBuilder (1.51.0)

public interface PolicyRuleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getRolloutRestriction()

public abstract RolloutRestriction getRolloutRestriction()

Rollout restrictions.

.google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2;

Returns
Type Description
RolloutRestriction

The rolloutRestriction.

getRolloutRestrictionOrBuilder()

public abstract RolloutRestrictionOrBuilder getRolloutRestrictionOrBuilder()

Rollout restrictions.

.google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2;

Returns
Type Description
RolloutRestrictionOrBuilder

getRuleCase()

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

hasRolloutRestriction()

public abstract boolean hasRolloutRestriction()

Rollout restrictions.

.google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2;

Returns
Type Description
boolean

Whether the rolloutRestriction field is set.