Class AutomationRuleCondition.Builder (1.50.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

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

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

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

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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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