if (subBuilder != null) { subBuilder.mergeFrom(ruleSet_); ruleSet_ = subBuilder.buildPartial();
/** * <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; } /**
if (subBuilder != null) { subBuilder.mergeFrom(ruleSet_); ruleSet_ = subBuilder.buildPartial();
/** * <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; } /**
public org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode build() { org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
public org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode build() { org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }