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
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];
clone()
public AutomationRuleCondition.Builder clone()
Overrides
getDefaultInstanceForType()
public AutomationRuleCondition getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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()
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];
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];
setUnknownFields(UnknownFieldSet unknownFields)
public final AutomationRuleCondition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides