public static final class AutomationRule.Builder extends GeneratedMessage.Builder<AutomationRule.Builder> implements AutomationRuleOrBuilder AutomationRule defines the automation activities.
Protobuf type google.cloud.deploy.v1.AutomationRule
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AutomationRule.BuilderImplements
AutomationRuleOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AutomationRule build()| Returns | |
|---|---|
| Type | Description |
AutomationRule |
|
buildPartial()
public AutomationRule buildPartial()| Returns | |
|---|---|
| Type | Description |
AutomationRule |
|
clear()
public AutomationRule.Builder clear()| Returns | |
|---|---|
| Type | Description |
AutomationRule.Builder |
|
clearAdvanceRolloutRule()
public AutomationRule.Builder clearAdvanceRolloutRule() Optional. The AdvanceRolloutRule will automatically advance a
successful Rollout.
.google.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AutomationRule.Builder |
|
clearPromoteReleaseRule()
public AutomationRule.Builder clearPromoteReleaseRule() Optional. PromoteReleaseRule will automatically promote a release from
the current target to a specified target.
.google.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AutomationRule.Builder |
|
clearRepairRolloutRule()
public AutomationRule.Builder clearRepairRolloutRule() Optional. The RepairRolloutRule will automatically repair a failed
rollout.
.google.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AutomationRule.Builder |
|
clearRule()
public AutomationRule.Builder clearRule()| Returns | |
|---|---|
| Type | Description |
AutomationRule.Builder |
|
clearTimedPromoteReleaseRule()
public AutomationRule.Builder clearTimedPromoteReleaseRule() Optional. The TimedPromoteReleaseRule will automatically promote a
release from the current target(s) to the specified target(s) on a
configured schedule.
.google.cloud.deploy.v1.TimedPromoteReleaseRule timed_promote_release_rule = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AutomationRule.Builder |
|
getAdvanceRolloutRule()
public AdvanceRolloutRule getAdvanceRolloutRule() Optional. The AdvanceRolloutRule will automatically advance a
successful Rollout.
.google.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AdvanceRolloutRule |
The advanceRolloutRule. |
getAdvanceRolloutRuleBuilder()
public AdvanceRolloutRule.Builder getAdvanceRolloutRuleBuilder() Optional. The AdvanceRolloutRule will automatically advance a
successful Rollout.
.google.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AdvanceRolloutRule.Builder |
|
getAdvanceRolloutRuleOrBuilder()
public AdvanceRolloutRuleOrBuilder getAdvanceRolloutRuleOrBuilder() Optional. The AdvanceRolloutRule will automatically advance a
successful Rollout.
.google.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AdvanceRolloutRuleOrBuilder |
|
getDefaultInstanceForType()
public AutomationRule getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AutomationRule |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPromoteReleaseRule()
public PromoteReleaseRule getPromoteReleaseRule() Optional. PromoteReleaseRule will automatically promote a release from
the current target to a specified target.
.google.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
PromoteReleaseRule |
The promoteReleaseRule. |
getPromoteReleaseRuleBuilder()
public PromoteReleaseRule.Builder getPromoteReleaseRuleBuilder() Optional. PromoteReleaseRule will automatically promote a release from
the current target to a specified target.
.google.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
PromoteReleaseRule.Builder |
|
getPromoteReleaseRuleOrBuilder()
public PromoteReleaseRuleOrBuilder getPromoteReleaseRuleOrBuilder() Optional. PromoteReleaseRule will automatically promote a release from
the current target to a specified target.
.google.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
PromoteReleaseRuleOrBuilder |
|
getRepairRolloutRule()
public RepairRolloutRule getRepairRolloutRule() Optional. The RepairRolloutRule will automatically repair a failed
rollout.
.google.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RepairRolloutRule |
The repairRolloutRule. |
getRepairRolloutRuleBuilder()
public RepairRolloutRule.Builder getRepairRolloutRuleBuilder() Optional. The RepairRolloutRule will automatically repair a failed
rollout.
.google.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RepairRolloutRule.Builder |
|
getRepairRolloutRuleOrBuilder()
public RepairRolloutRuleOrBuilder getRepairRolloutRuleOrBuilder() Optional. The RepairRolloutRule will automatically repair a failed
rollout.
.google.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RepairRolloutRuleOrBuilder |
|
getRuleCase()
public AutomationRule.RuleCase getRuleCase()| Returns | |
|---|---|
| Type | Description |
AutomationRule.RuleCase |
|
getTimedPromoteReleaseRule()
public TimedPromoteReleaseRule getTimedPromoteReleaseRule() Optional. The TimedPromoteReleaseRule will automatically promote a
release from the current target(s) to the specified target(s) on a
configured schedule.
.google.cloud.deploy.v1.TimedPromoteReleaseRule timed_promote_release_rule = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TimedPromoteReleaseRule |
The timedPromoteReleaseRule. |
getTimedPromoteReleaseRuleBuilder()
public TimedPromoteReleaseRule.Builder getTimedPromoteReleaseRuleBuilder() Optional. The TimedPromoteReleaseRule will automatically promote a
release from the current target(s) to the specified target(s) on a
configured schedule.
.google.cloud.deploy.v1.TimedPromoteReleaseRule timed_promote_release_rule = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TimedPromoteReleaseRule.Builder |
|
getTimedPromoteReleaseRuleOrBuilder()
public TimedPromoteReleaseRuleOrBuilder getTimedPromoteReleaseRuleOrBuilder() Optional. The TimedPromoteReleaseRule will automatically promote a
release from the current target(s) to the specified target(s) on a
configured schedule.
.google.cloud.deploy.v1.TimedPromoteReleaseRule timed_promote_release_rule = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TimedPromoteReleaseRuleOrBuilder |
|
hasAdvanceRolloutRule()
public boolean hasAdvanceRolloutRule() Optional. The AdvanceRolloutRule will automatically advance a
successful Rollout.
.google.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the advanceRolloutRule field is set. |
hasPromoteReleaseRule()
public boolean hasPromoteReleaseRule() Optional. PromoteReleaseRule will automatically promote a release from
the current target to a specified target.
.google.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the promoteReleaseRule field is set. |
hasRepairRolloutRule()
public boolean hasRepairRolloutRule() Optional. The RepairRolloutRule will automatically repair a failed
rollout.
.google.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the repairRolloutRule field is set. |
hasTimedPromoteReleaseRule()
public boolean hasTimedPromoteReleaseRule() Optional. The TimedPromoteReleaseRule will automatically promote a
release from the current target(s) to the specified target(s) on a
configured schedule.
.google.cloud.deploy.v1.TimedPromoteReleaseRule timed_promote_release_rule = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the timedPromoteReleaseRule field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAdvanceRolloutRule(AdvanceRolloutRule value)
public AutomationRule.Builder mergeAdvanceRolloutRule(AdvanceRolloutRule value) Optional. The AdvanceRolloutRule will automatically advance a
successful Rollout.
.google.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
AdvanceRolloutRule |
| Returns | |
|---|---|
| Type | Description |
AutomationRule.Builder |
|
mergeFrom(AutomationRule other)
public AutomationRule.Builder mergeFrom(AutomationRule other)| Parameter | |
|---|---|
| Name | Description |
other |
AutomationRule |
| Returns | |
|---|---|
| Type | Description |
AutomationRule.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AutomationRule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AutomationRule.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AutomationRule.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AutomationRule.Builder |
|
mergePromoteReleaseRule(PromoteReleaseRule value)
public AutomationRule.Builder mergePromoteReleaseRule(PromoteReleaseRule value) Optional. PromoteReleaseRule will automatically promote a release from
the current target to a specified target.
.google.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
PromoteReleaseRule |
| Returns | |
|---|---|
| Type | Description |
AutomationRule.Builder |
|
mergeRepairRolloutRule(RepairRolloutRule value)
public AutomationRule.Builder mergeRepairRolloutRule(RepairRolloutRule value) Optional. The RepairRolloutRule will automatically repair a failed
rollout.
.google.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
RepairRolloutRule |
| Returns | |
|---|---|
| Type | Description |
AutomationRule.Builder |
|
mergeTimedPromoteReleaseRule(TimedPromoteReleaseRule value)
public AutomationRule.Builder mergeTimedPromoteReleaseRule(TimedPromoteReleaseRule value) Optional. The TimedPromoteReleaseRule will automatically promote a
release from the current target(s) to the specified target(s) on a
configured schedule.
.google.cloud.deploy.v1.TimedPromoteReleaseRule timed_promote_release_rule = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
TimedPromoteReleaseRule |
| Returns | |
|---|---|
| Type | Description |
AutomationRule.Builder |
|
setAdvanceRolloutRule(AdvanceRolloutRule value)
public AutomationRule.Builder setAdvanceRolloutRule(AdvanceRolloutRule value) Optional. The AdvanceRolloutRule will automatically advance a
successful Rollout.
.google.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
AdvanceRolloutRule |
| Returns | |
|---|---|
| Type | Description |
AutomationRule.Builder |
|
setAdvanceRolloutRule(AdvanceRolloutRule.Builder builderForValue)
public AutomationRule.Builder setAdvanceRolloutRule(AdvanceRolloutRule.Builder builderForValue) Optional. The AdvanceRolloutRule will automatically advance a
successful Rollout.
.google.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AdvanceRolloutRule.Builder |
| Returns | |
|---|---|
| Type | Description |
AutomationRule.Builder |
|
setPromoteReleaseRule(PromoteReleaseRule value)
public AutomationRule.Builder setPromoteReleaseRule(PromoteReleaseRule value) Optional. PromoteReleaseRule will automatically promote a release from
the current target to a specified target.
.google.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
PromoteReleaseRule |
| Returns | |
|---|---|
| Type | Description |
AutomationRule.Builder |
|
setPromoteReleaseRule(PromoteReleaseRule.Builder builderForValue)
public AutomationRule.Builder setPromoteReleaseRule(PromoteReleaseRule.Builder builderForValue) Optional. PromoteReleaseRule will automatically promote a release from
the current target to a specified target.
.google.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
PromoteReleaseRule.Builder |
| Returns | |
|---|---|
| Type | Description |
AutomationRule.Builder |
|
setRepairRolloutRule(RepairRolloutRule value)
public AutomationRule.Builder setRepairRolloutRule(RepairRolloutRule value) Optional. The RepairRolloutRule will automatically repair a failed
rollout.
.google.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
RepairRolloutRule |
| Returns | |
|---|---|
| Type | Description |
AutomationRule.Builder |
|
setRepairRolloutRule(RepairRolloutRule.Builder builderForValue)
public AutomationRule.Builder setRepairRolloutRule(RepairRolloutRule.Builder builderForValue) Optional. The RepairRolloutRule will automatically repair a failed
rollout.
.google.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
RepairRolloutRule.Builder |
| Returns | |
|---|---|
| Type | Description |
AutomationRule.Builder |
|
setTimedPromoteReleaseRule(TimedPromoteReleaseRule value)
public AutomationRule.Builder setTimedPromoteReleaseRule(TimedPromoteReleaseRule value) Optional. The TimedPromoteReleaseRule will automatically promote a
release from the current target(s) to the specified target(s) on a
configured schedule.
.google.cloud.deploy.v1.TimedPromoteReleaseRule timed_promote_release_rule = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
TimedPromoteReleaseRule |
| Returns | |
|---|---|
| Type | Description |
AutomationRule.Builder |
|
setTimedPromoteReleaseRule(TimedPromoteReleaseRule.Builder builderForValue)
public AutomationRule.Builder setTimedPromoteReleaseRule(TimedPromoteReleaseRule.Builder builderForValue) Optional. The TimedPromoteReleaseRule will automatically promote a
release from the current target(s) to the specified target(s) on a
configured schedule.
.google.cloud.deploy.v1.TimedPromoteReleaseRule timed_promote_release_rule = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
TimedPromoteReleaseRule.Builder |
| Returns | |
|---|---|
| Type | Description |
AutomationRule.Builder |
|