public static final class AutomationRuleCondition.Builder extends GeneratedMessageV3.Builder<AutomationRuleCondition.Builder> implements AutomationRuleConditionOrBuilder
AutomationRuleCondition
contains conditions relevant to an
Automation
rule.
Protobuf type google.events.cloud.deploy.v1.AutomationRuleCondition
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AutomationRuleCondition.BuilderImplements
AutomationRuleConditionOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public AutomationRuleCondition.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
AutomationRuleCondition.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AutomationRuleCondition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
AutomationRuleCondition.Builder |
clearTargetsPresentCondition()
public AutomationRuleCondition.Builder clearTargetsPresentCondition()
Optional. Details around targets enumerated in the rule.
.google.events.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1;
Returns | |
---|---|
Type | Description |
AutomationRuleCondition.Builder |
clone()
public AutomationRuleCondition.Builder clone()
Returns | |
---|---|
Type | Description |
AutomationRuleCondition.Builder |
getDefaultInstanceForType()
public AutomationRuleCondition getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AutomationRuleCondition |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getTargetsPresentCondition()
public TargetsPresentCondition getTargetsPresentCondition()
Optional. Details around targets enumerated in the rule.
.google.events.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1;
Returns | |
---|---|
Type | Description |
TargetsPresentCondition |
The targetsPresentCondition. |
getTargetsPresentConditionBuilder()
public TargetsPresentCondition.Builder getTargetsPresentConditionBuilder()
Optional. Details around targets enumerated in the rule.
.google.events.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1;
Returns | |
---|---|
Type | Description |
TargetsPresentCondition.Builder |
getTargetsPresentConditionOrBuilder()
public TargetsPresentConditionOrBuilder getTargetsPresentConditionOrBuilder()
Optional. Details around targets enumerated in the rule.
.google.events.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1;
Returns | |
---|---|
Type | Description |
TargetsPresentConditionOrBuilder |
hasTargetsPresentCondition()
public boolean hasTargetsPresentCondition()
Optional. Details around targets enumerated in the rule.
.google.events.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the targetsPresentCondition field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AutomationRuleCondition.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
AutomationRuleCondition.Builder |
mergeTargetsPresentCondition(TargetsPresentCondition value)
public AutomationRuleCondition.Builder mergeTargetsPresentCondition(TargetsPresentCondition value)
Optional. Details around targets enumerated in the rule.
.google.events.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1;
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 |
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 |
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 |
setTargetsPresentCondition(TargetsPresentCondition value)
public AutomationRuleCondition.Builder setTargetsPresentCondition(TargetsPresentCondition value)
Optional. Details around targets enumerated in the rule.
.google.events.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1;
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.events.cloud.deploy.v1.TargetsPresentCondition targets_present_condition = 1;
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 |