public static final class AutomationRule.Builder extends GeneratedMessageV3.Builder<AutomationRule.Builder> implements AutomationRuleOrBuilder
AutomationRule
defines the automation activities.
Protobuf type google.cloud.deploy.v1.AutomationRule
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL];
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.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL];
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];
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.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL];
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];
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];
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.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL];
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];
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];
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];
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];
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];
getRuleCase()
public AutomationRule.RuleCase getRuleCase()
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.
|
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.
|
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.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL];
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.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL];
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];
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.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL];
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];
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.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL];
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];
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];
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];
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