Class AutomationRuleCondition.Builder (1.52.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AutomationRuleCondition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AutomationRuleCondition.Builder
Overrides

build()

public AutomationRuleCondition build()
Returns
Type Description
AutomationRuleCondition

buildPartial()

public AutomationRuleCondition buildPartial()
Returns
Type Description
AutomationRuleCondition

clear()

public AutomationRuleCondition.Builder clear()
Returns
Type Description
AutomationRuleCondition.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AutomationRuleCondition.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AutomationRuleCondition.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AutomationRuleCondition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AutomationRuleCondition.Builder
Overrides

clearRuleTypeCondition()

public AutomationRuleCondition.Builder clearRuleTypeCondition()
Returns
Type Description
AutomationRuleCondition.Builder

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];

Returns
Type Description
AutomationRuleCondition.Builder

clearTimedPromoteReleaseCondition()

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];

Returns
Type Description
AutomationRuleCondition.Builder

clone()

public AutomationRuleCondition.Builder clone()
Returns
Type Description
AutomationRuleCondition.Builder
Overrides

getDefaultInstanceForType()

public AutomationRuleCondition getDefaultInstanceForType()
Returns
Type Description
AutomationRuleCondition

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getRuleTypeConditionCase()

public AutomationRuleCondition.RuleTypeConditionCase getRuleTypeConditionCase()
Returns
Type Description
AutomationRuleCondition.RuleTypeConditionCase

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];

Returns
Type Description
TargetsPresentCondition

The targetsPresentCondition.

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];

Returns
Type Description
TargetsPresentCondition.Builder

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];

Returns
Type Description
TargetsPresentConditionOrBuilder

getTimedPromoteReleaseCondition()

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];

Returns
Type Description
TimedPromoteReleaseCondition

The timedPromoteReleaseCondition.

getTimedPromoteReleaseConditionBuilder()

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];

Returns
Type Description
TimedPromoteReleaseCondition.Builder

getTimedPromoteReleaseConditionOrBuilder()

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];

Returns
Type Description
TimedPromoteReleaseConditionOrBuilder

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.

hasTimedPromoteReleaseCondition()

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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AutomationRuleCondition other)

public AutomationRuleCondition.Builder mergeFrom(AutomationRuleCondition other)
Parameter
Name Description
other AutomationRuleCondition
Returns
Type Description
AutomationRuleCondition.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AutomationRuleCondition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutomationRuleCondition.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AutomationRuleCondition.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AutomationRuleCondition.Builder
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];

Parameter
Name Description
value TargetsPresentCondition
Returns
Type Description
AutomationRuleCondition.Builder

mergeTimedPromoteReleaseCondition(TimedPromoteReleaseCondition value)

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];

Parameter
Name Description
value TimedPromoteReleaseCondition
Returns
Type Description
AutomationRuleCondition.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AutomationRuleCondition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AutomationRuleCondition.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AutomationRuleCondition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AutomationRuleCondition.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AutomationRuleCondition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AutomationRuleCondition.Builder
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];

Parameter
Name Description
value TargetsPresentCondition
Returns
Type Description
AutomationRuleCondition.Builder

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];

Parameter
Name Description
builderForValue TargetsPresentCondition.Builder
Returns
Type Description
AutomationRuleCondition.Builder

setTimedPromoteReleaseCondition(TimedPromoteReleaseCondition value)

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];

Parameter
Name Description
value TimedPromoteReleaseCondition
Returns
Type Description
AutomationRuleCondition.Builder

setTimedPromoteReleaseCondition(TimedPromoteReleaseCondition.Builder builderForValue)

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];

Parameter
Name Description
builderForValue TimedPromoteReleaseCondition.Builder
Returns
Type Description
AutomationRuleCondition.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final AutomationRuleCondition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AutomationRuleCondition.Builder
Overrides