/** * <code>optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2;</code> */ public Builder setRuleSet( org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.Builder builderForValue) { if (ruleSetBuilder_ == null) { ruleSet_ = builderForValue.build(); onChanged(); } else { ruleSetBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /**
subBuilder.mergeFrom(ruleSet_); ruleSet_ = subBuilder.buildPartial();
bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTimerInstanceIdIsMutable(); timerInstanceId_.addAll(other.timerInstanceId_); onChanged(); bitField0_ = (bitField0_ & ~0x00000002); } else { ensureMapEntryIsMutable(); mapEntry_.addAll(other.mapEntry_); onChanged(); mapEntryBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getMapEntryFieldBuilder() : null; } else { mapEntryBuilder_.addAllMessages(other.mapEntry_); bitField0_ |= 0x00000004; ruleFlowGroup_ = other.ruleFlowGroup_; onChanged(); this.mergeUnknownFields(other.unknownFields); onChanged(); return this;
subBuilder.mergeFrom(ruleSet_); ruleSet_ = subBuilder.buildPartial();
((RuleSetNodeInstance) nodeInstance).getTimerInstances(); JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.Builder _ruleSet = JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.newBuilder(); _ruleSet.setRuleFlowGroup(((RuleSetNodeInstance) nodeInstance).getRuleFlowGroup()); if ( timerInstances != null ) { _ruleSet.addTimerInstanceId( id ); _textMapEntry.setValue(entry.getValue().toExternalForm()); _ruleSet.addMapEntry(_textMapEntry.build()); _content.setRuleSet( _ruleSet.build() );
bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTimerInstanceIdIsMutable(); timerInstanceId_.addAll(other.timerInstanceId_); onChanged(); bitField0_ = (bitField0_ & ~0x00000002); } else { ensureMapEntryIsMutable(); mapEntry_.addAll(other.mapEntry_); onChanged(); mapEntryBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getMapEntryFieldBuilder() : null; } else { mapEntryBuilder_.addAllMessages(other.mapEntry_); bitField0_ |= 0x00000004; ruleFlowGroup_ = other.ruleFlowGroup_; onChanged(); this.mergeUnknownFields(other.unknownFields); onChanged(); return this;
/** * <code>optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2;</code> */ public Builder mergeRuleSet(org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode value) { if (ruleSetBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && ruleSet_ != null && ruleSet_ != org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.getDefaultInstance()) { ruleSet_ = org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.newBuilder(ruleSet_).mergeFrom(value).buildPartial(); } else { ruleSet_ = value; } onChanged(); } else { ruleSetBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /**
/** * <code>repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2;</code> */ public Builder addMapEntry( int index, org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry value) { if (mapEntryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMapEntryIsMutable(); mapEntry_.add(index, value); onChanged(); } else { mapEntryBuilder_.addMessage(index, value); } return this; } /**
/** * <code>repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2;</code> */ public Builder setMapEntry( int index, org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry value) { if (mapEntryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMapEntryIsMutable(); mapEntry_.set(index, value); onChanged(); } else { mapEntryBuilder_.setMessage(index, value); } return this; } /**
/** * <code>repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2;</code> */ public Builder addMapEntry(org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry value) { if (mapEntryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMapEntryIsMutable(); mapEntry_.add(value); onChanged(); } else { mapEntryBuilder_.addMessage(value); } return this; } /**
/** * <code>repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2;</code> */ public Builder addAllMapEntry( java.lang.Iterable<? extends org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry> values) { if (mapEntryBuilder_ == null) { ensureMapEntryIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, mapEntry_); onChanged(); } else { mapEntryBuilder_.addAllMessages(values); } return this; } /**
/** * <code>repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2;</code> */ public Builder addMapEntry( int index, org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.Builder builderForValue) { if (mapEntryBuilder_ == null) { ensureMapEntryIsMutable(); mapEntry_.add(index, builderForValue.build()); onChanged(); } else { mapEntryBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2;</code> */ public Builder addMapEntry( org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.Builder builderForValue) { if (mapEntryBuilder_ == null) { ensureMapEntryIsMutable(); mapEntry_.add(builderForValue.build()); onChanged(); } else { mapEntryBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <code>repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2;</code> */ public Builder setMapEntry( int index, org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.Builder builderForValue) { if (mapEntryBuilder_ == null) { ensureMapEntryIsMutable(); mapEntry_.set(index, builderForValue.build()); onChanged(); } else { mapEntryBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <code>optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode rule_set = 2;</code> */ public Builder setRuleSet( org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.Builder builderForValue) { if (ruleSetBuilder_ == null) { ruleSet_ = builderForValue.build(); onChanged(); } else { ruleSetBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /**
/** * <code>repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2;</code> */ public Builder removeMapEntry(int index) { if (mapEntryBuilder_ == null) { ensureMapEntryIsMutable(); mapEntry_.remove(index); onChanged(); } else { mapEntryBuilder_.remove(index); } return this; } /**
private com.google.protobuf.RepeatedFieldBuilderV3< org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry, org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.Builder, org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntryOrBuilder> getMapEntryFieldBuilder() { if (mapEntryBuilder_ == null) { mapEntryBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry, org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.Builder, org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntryOrBuilder>( mapEntry_, ((bitField0_ & 0x00000002) == 0x00000002), getParentForChildren(), isClean()); mapEntry_ = null; } return mapEntryBuilder_; }
/** * <code>repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2;</code> */ public java.util.List<org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.Builder> getMapEntryBuilderList() { return getMapEntryFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3<
/** * <code>repeated .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry mapEntry = 2;</code> */ public org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.Builder addMapEntryBuilder() { return getMapEntryFieldBuilder().addBuilder( org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode.TextMapEntry.getDefaultInstance()); } /**