Class AutomationRuleCondition.Builder (1.37.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AutomationRuleCondition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AutomationRuleCondition.Builder
Overrides

build()

public AutomationRuleCondition build()
Returns
TypeDescription
AutomationRuleCondition

buildPartial()

public AutomationRuleCondition buildPartial()
Returns
TypeDescription
AutomationRuleCondition

clear()

public AutomationRuleCondition.Builder clear()
Returns
TypeDescription
AutomationRuleCondition.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AutomationRuleCondition.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AutomationRuleCondition.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AutomationRuleCondition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
AutomationRuleCondition.Builder

clone()

public AutomationRuleCondition.Builder clone()
Returns
TypeDescription
AutomationRuleCondition.Builder
Overrides

getDefaultInstanceForType()

public AutomationRuleCondition getDefaultInstanceForType()
Returns
TypeDescription
AutomationRuleCondition

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the targetsPresentCondition field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AutomationRuleCondition other)

public AutomationRuleCondition.Builder mergeFrom(AutomationRuleCondition other)
Parameter
NameDescription
otherAutomationRuleCondition
Returns
TypeDescription
AutomationRuleCondition.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AutomationRuleCondition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutomationRuleCondition.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AutomationRuleCondition.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTargetsPresentCondition
Returns
TypeDescription
AutomationRuleCondition.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AutomationRuleCondition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AutomationRuleCondition.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AutomationRuleCondition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AutomationRuleCondition.Builder
Overrides

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

public AutomationRuleCondition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueTargetsPresentCondition
Returns
TypeDescription
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
NameDescription
builderForValueTargetsPresentCondition.Builder
Returns
TypeDescription
AutomationRuleCondition.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final AutomationRuleCondition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AutomationRuleCondition.Builder
Overrides