public static final class AutomationRuleCondition.Builder extends GeneratedMessageV3.Builder<AutomationRuleCondition.Builder> implements AutomationRuleConditionOrBuilder
AutomationRuleCondition
contains conditions relevant to an
Automation
rule.
Protobuf type google.cloud.deploy.v1.AutomationRuleCondition
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 AutomationRuleCondition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AutomationRuleCondition build()
buildPartial()
public AutomationRuleCondition buildPartial()
clear()
public AutomationRuleCondition.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public AutomationRuleCondition.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AutomationRuleCondition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRuleTypeCondition()
public AutomationRuleCondition.Builder clearRuleTypeCondition()
clearTargetsPresentCondition()
public AutomationRuleCondition.Builder clearTargetsPresentCondition()
Optional. Details around targets enumerated in the rule.
.google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL];
public AutomationRuleCondition.Builder clearTimedPromoteReleaseCondition()
Optional. TimedPromoteReleaseCondition contains rule conditions specific
to a an Automation with a timed promote release rule defined.
.google.cloud.deploy.v1.TimedPromoteReleaseCondition timed_promote_release_condition = 2 [(.google.api.field_behavior) = OPTIONAL];
clone()
public AutomationRuleCondition.Builder clone()
Overrides
getDefaultInstanceForType()
public AutomationRuleCondition getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getRuleTypeConditionCase()
public AutomationRuleCondition.RuleTypeConditionCase getRuleTypeConditionCase()
getTargetsPresentCondition()
public TargetsPresentCondition getTargetsPresentCondition()
Optional. Details around targets enumerated in the rule.
.google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL];
getTargetsPresentConditionBuilder()
public TargetsPresentCondition.Builder getTargetsPresentConditionBuilder()
Optional. Details around targets enumerated in the rule.
.google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL];
getTargetsPresentConditionOrBuilder()
public TargetsPresentConditionOrBuilder getTargetsPresentConditionOrBuilder()
Optional. Details around targets enumerated in the rule.
.google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL];
public TimedPromoteReleaseCondition getTimedPromoteReleaseCondition()
Optional. TimedPromoteReleaseCondition contains rule conditions specific
to a an Automation with a timed promote release rule defined.
.google.cloud.deploy.v1.TimedPromoteReleaseCondition timed_promote_release_condition = 2 [(.google.api.field_behavior) = OPTIONAL];
public TimedPromoteReleaseCondition.Builder getTimedPromoteReleaseConditionBuilder()
Optional. TimedPromoteReleaseCondition contains rule conditions specific
to a an Automation with a timed promote release rule defined.
.google.cloud.deploy.v1.TimedPromoteReleaseCondition timed_promote_release_condition = 2 [(.google.api.field_behavior) = OPTIONAL];
public TimedPromoteReleaseConditionOrBuilder getTimedPromoteReleaseConditionOrBuilder()
Optional. TimedPromoteReleaseCondition contains rule conditions specific
to a an Automation with a timed promote release rule defined.
.google.cloud.deploy.v1.TimedPromoteReleaseCondition timed_promote_release_condition = 2 [(.google.api.field_behavior) = OPTIONAL];
hasTargetsPresentCondition()
public boolean hasTargetsPresentCondition()
Optional. Details around targets enumerated in the rule.
.google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the targetsPresentCondition field is set.
|
public boolean hasTimedPromoteReleaseCondition()
Optional. TimedPromoteReleaseCondition contains rule conditions specific
to a an Automation with a timed promote release rule defined.
.google.cloud.deploy.v1.TimedPromoteReleaseCondition timed_promote_release_condition = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the timedPromoteReleaseCondition field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AutomationRuleCondition other)
public AutomationRuleCondition.Builder mergeFrom(AutomationRuleCondition other)
public AutomationRuleCondition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AutomationRuleCondition.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeTargetsPresentCondition(TargetsPresentCondition value)
public AutomationRuleCondition.Builder mergeTargetsPresentCondition(TargetsPresentCondition value)
Optional. Details around targets enumerated in the rule.
.google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL];
public AutomationRuleCondition.Builder mergeTimedPromoteReleaseCondition(TimedPromoteReleaseCondition value)
Optional. TimedPromoteReleaseCondition contains rule conditions specific
to a an Automation with a timed promote release rule defined.
.google.cloud.deploy.v1.TimedPromoteReleaseCondition timed_promote_release_condition = 2 [(.google.api.field_behavior) = OPTIONAL];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AutomationRuleCondition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AutomationRuleCondition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AutomationRuleCondition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTargetsPresentCondition(TargetsPresentCondition value)
public AutomationRuleCondition.Builder setTargetsPresentCondition(TargetsPresentCondition value)
Optional. Details around targets enumerated in the rule.
.google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL];
setTargetsPresentCondition(TargetsPresentCondition.Builder builderForValue)
public AutomationRuleCondition.Builder setTargetsPresentCondition(TargetsPresentCondition.Builder builderForValue)
Optional. Details around targets enumerated in the rule.
.google.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1 [(.google.api.field_behavior) = OPTIONAL];
public AutomationRuleCondition.Builder setTimedPromoteReleaseCondition(TimedPromoteReleaseCondition value)
Optional. TimedPromoteReleaseCondition contains rule conditions specific
to a an Automation with a timed promote release rule defined.
.google.cloud.deploy.v1.TimedPromoteReleaseCondition timed_promote_release_condition = 2 [(.google.api.field_behavior) = OPTIONAL];
public AutomationRuleCondition.Builder setTimedPromoteReleaseCondition(TimedPromoteReleaseCondition.Builder builderForValue)
Optional. TimedPromoteReleaseCondition contains rule conditions specific
to a an Automation with a timed promote release rule defined.
.google.cloud.deploy.v1.TimedPromoteReleaseCondition timed_promote_release_condition = 2 [(.google.api.field_behavior) = OPTIONAL];
setUnknownFields(UnknownFieldSet unknownFields)
public final AutomationRuleCondition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides