Interface AutomationRuleOrBuilder (0.16.0)

public interface AutomationRuleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAdvanceRolloutRule()

public abstract AdvanceRolloutRule getAdvanceRolloutRule()

Optional. The AdvanceRolloutRule will automatically advance a successful Rollout.

.google.events.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2;

Returns
Type Description
AdvanceRolloutRule

The advanceRolloutRule.

getAdvanceRolloutRuleOrBuilder()

public abstract AdvanceRolloutRuleOrBuilder getAdvanceRolloutRuleOrBuilder()

Optional. The AdvanceRolloutRule will automatically advance a successful Rollout.

.google.events.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2;

Returns
Type Description
AdvanceRolloutRuleOrBuilder

getPromoteReleaseRule()

public abstract PromoteReleaseRule getPromoteReleaseRule()

Optional. PromoteReleaseRule will automatically promote a release from the current target to a specified target.

.google.events.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1;

Returns
Type Description
PromoteReleaseRule

The promoteReleaseRule.

getPromoteReleaseRuleOrBuilder()

public abstract PromoteReleaseRuleOrBuilder getPromoteReleaseRuleOrBuilder()

Optional. PromoteReleaseRule will automatically promote a release from the current target to a specified target.

.google.events.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1;

Returns
Type Description
PromoteReleaseRuleOrBuilder

getRepairRolloutRule()

public abstract RepairRolloutRule getRepairRolloutRule()

Optional. The RepairRolloutRule will automatically repair a failed rollout.

.google.events.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3;

Returns
Type Description
RepairRolloutRule

The repairRolloutRule.

getRepairRolloutRuleOrBuilder()

public abstract RepairRolloutRuleOrBuilder getRepairRolloutRuleOrBuilder()

Optional. The RepairRolloutRule will automatically repair a failed rollout.

.google.events.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3;

Returns
Type Description
RepairRolloutRuleOrBuilder

getRuleCase()

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

hasAdvanceRolloutRule()

public abstract boolean hasAdvanceRolloutRule()

Optional. The AdvanceRolloutRule will automatically advance a successful Rollout.

.google.events.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2;

Returns
Type Description
boolean

Whether the advanceRolloutRule field is set.

hasPromoteReleaseRule()

public abstract boolean hasPromoteReleaseRule()

Optional. PromoteReleaseRule will automatically promote a release from the current target to a specified target.

.google.events.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1;

Returns
Type Description
boolean

Whether the promoteReleaseRule field is set.

hasRepairRolloutRule()

public abstract boolean hasRepairRolloutRule()

Optional. The RepairRolloutRule will automatically repair a failed rollout.

.google.events.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3;

Returns
Type Description
boolean

Whether the repairRolloutRule field is set.