public static final class AutomationRule.Builder extends GeneratedMessageV3.Builder<AutomationRule.Builder> implements AutomationRuleOrBuilder
AutomationRule
defines the automation activities.
Protobuf type google.events.cloud.deploy.v1.AutomationRule
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AutomationRule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AutomationRule build()
buildPartial()
public AutomationRule buildPartial()
clear()
public AutomationRule.Builder clear()
Overrides
clearAdvanceRolloutRule()
public AutomationRule.Builder clearAdvanceRolloutRule()
Optional. The AdvanceRolloutRule
will automatically advance a
successful Rollout.
.google.events.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2;
clearField(Descriptors.FieldDescriptor field)
public AutomationRule.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AutomationRule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public AutomationRule.Builder clearPromoteReleaseRule()
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;
clearRepairRolloutRule()
public AutomationRule.Builder clearRepairRolloutRule()
Optional. The RepairRolloutRule
will automatically repair a failed
rollout.
.google.events.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3;
clearRule()
public AutomationRule.Builder clearRule()
clone()
public AutomationRule.Builder clone()
Overrides
getAdvanceRolloutRule()
public AdvanceRolloutRule getAdvanceRolloutRule()
Optional. The AdvanceRolloutRule
will automatically advance a
successful Rollout.
.google.events.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2;
getAdvanceRolloutRuleBuilder()
public AdvanceRolloutRule.Builder getAdvanceRolloutRuleBuilder()
Optional. The AdvanceRolloutRule
will automatically advance a
successful Rollout.
.google.events.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2;
getAdvanceRolloutRuleOrBuilder()
public AdvanceRolloutRuleOrBuilder getAdvanceRolloutRuleOrBuilder()
Optional. The AdvanceRolloutRule
will automatically advance a
successful Rollout.
.google.events.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2;
getDefaultInstanceForType()
public AutomationRule getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public 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;
public PromoteReleaseRule.Builder getPromoteReleaseRuleBuilder()
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;
public 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;
getRepairRolloutRule()
public RepairRolloutRule getRepairRolloutRule()
Optional. The RepairRolloutRule
will automatically repair a failed
rollout.
.google.events.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3;
getRepairRolloutRuleBuilder()
public RepairRolloutRule.Builder getRepairRolloutRuleBuilder()
Optional. The RepairRolloutRule
will automatically repair a failed
rollout.
.google.events.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3;
getRepairRolloutRuleOrBuilder()
public RepairRolloutRuleOrBuilder getRepairRolloutRuleOrBuilder()
Optional. The RepairRolloutRule
will automatically repair a failed
rollout.
.google.events.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3;
getRuleCase()
public AutomationRule.RuleCase getRuleCase()
hasAdvanceRolloutRule()
public 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.
|
public 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 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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeAdvanceRolloutRule(AdvanceRolloutRule value)
public AutomationRule.Builder mergeAdvanceRolloutRule(AdvanceRolloutRule value)
Optional. The AdvanceRolloutRule
will automatically advance a
successful Rollout.
.google.events.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2;
mergeFrom(AutomationRule other)
public AutomationRule.Builder mergeFrom(AutomationRule other)
public AutomationRule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AutomationRule.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public AutomationRule.Builder mergePromoteReleaseRule(PromoteReleaseRule value)
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;
mergeRepairRolloutRule(RepairRolloutRule value)
public AutomationRule.Builder mergeRepairRolloutRule(RepairRolloutRule value)
Optional. The RepairRolloutRule
will automatically repair a failed
rollout.
.google.events.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AutomationRule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAdvanceRolloutRule(AdvanceRolloutRule value)
public AutomationRule.Builder setAdvanceRolloutRule(AdvanceRolloutRule value)
Optional. The AdvanceRolloutRule
will automatically advance a
successful Rollout.
.google.events.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2;
setAdvanceRolloutRule(AdvanceRolloutRule.Builder builderForValue)
public AutomationRule.Builder setAdvanceRolloutRule(AdvanceRolloutRule.Builder builderForValue)
Optional. The AdvanceRolloutRule
will automatically advance a
successful Rollout.
.google.events.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2;
setField(Descriptors.FieldDescriptor field, Object value)
public AutomationRule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public AutomationRule.Builder setPromoteReleaseRule(PromoteReleaseRule value)
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;
public AutomationRule.Builder setPromoteReleaseRule(PromoteReleaseRule.Builder builderForValue)
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;
setRepairRolloutRule(RepairRolloutRule value)
public AutomationRule.Builder setRepairRolloutRule(RepairRolloutRule value)
Optional. The RepairRolloutRule
will automatically repair a failed
rollout.
.google.events.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3;
setRepairRolloutRule(RepairRolloutRule.Builder builderForValue)
public AutomationRule.Builder setRepairRolloutRule(RepairRolloutRule.Builder builderForValue)
Optional. The RepairRolloutRule
will automatically repair a failed
rollout.
.google.events.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AutomationRule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AutomationRule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides