public org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode buildPartial() { org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode result = new org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode(this); int from_bitField0_ = bitField0_; if (triggerBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { trigger_ = java.util.Collections.unmodifiableList(trigger_); bitField0_ = (bitField0_ & ~0x00000001); } result.trigger_ = trigger_; } else { result.trigger_ = triggerBuilder_.build(); } onBuilt(); return result; }
public Builder mergeFrom(org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode other) { if (other == org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.getDefaultInstance()) return this; if (triggerBuilder_ == null) { if (!other.trigger_.isEmpty()) {
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getTriggerCount() > 0) { hash = (37 * hash) + TRIGGER_FIELD_NUMBER; hash = (53 * hash) + getTriggerList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
.build() ); } else if ( nodeInstance instanceof JoinInstance ) { JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.Builder _join = JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.newBuilder(); Map<Long, Integer> triggers = ((JoinInstance) nodeInstance).getTriggers(); List<Long> keys = new ArrayList<Long>( triggers.keySet() );
case JOIN_NODE : nodeInstance = new JoinInstance(); if ( _content.getJoin().getTriggerCount() > 0 ) { Map<Long, Integer> triggers = new HashMap<Long, Integer>(); for ( JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.JoinTrigger _join : _content.getJoin().getTriggerList() ) { triggers.put( _join.getNodeId(), _join.getCounter() );
if (hasJoin()) { result = result && getJoin() .equals(other.getJoin());
hash = (53 * hash) + getJoin().hashCode();
break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; makeExtensionsImmutable();
public Builder mergeFrom(org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode other) { if (other == org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.getDefaultInstance()) return this; if (triggerBuilder_ == null) { if (!other.trigger_.isEmpty()) {
/** * <code>optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9;</code> */ public Builder mergeJoin(org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode value) { if (joinBuilder_ == null) { if (((bitField0_ & 0x00000100) == 0x00000100) && join_ != null && join_ != org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.getDefaultInstance()) { join_ = org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.newBuilder(join_).mergeFrom(value).buildPartial(); } else { join_ = value; } onChanged(); } else { joinBuilder_.mergeFrom(value); } bitField0_ |= 0x00000100; return this; } /**
public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() {
public org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode buildPartial() { org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode result = new org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode(this); int from_bitField0_ = bitField0_; if (triggerBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { trigger_ = java.util.Collections.unmodifiableList(trigger_); bitField0_ = (bitField0_ & ~0x00000001); } result.trigger_ = trigger_; } else { result.trigger_ = triggerBuilder_.build(); } onBuilt(); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode)) { return super.equals(obj); } org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode other = (org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode) obj; boolean result = true; result = result && getTriggerList() .equals(other.getTriggerList()); result = result && unknownFields.equals(other.unknownFields); return result; }
public org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode getDefaultInstanceForType() { return org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.getDefaultInstance(); }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getTriggerCount() > 0) { hash = (37 * hash) + TRIGGER_FIELD_NUMBER; hash = (53 * hash) + getTriggerList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
/** * <code>optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9;</code> */ public org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode getJoin() { if (joinBuilder_ == null) { return join_ == null ? org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.getDefaultInstance() : join_; } else { return joinBuilder_.getMessage(); } } /**
/** * <code>optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9;</code> */ public org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNodeOrBuilder getJoinOrBuilder() { return join_ == null ? org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.getDefaultInstance() : join_; }
/** * <code>optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9;</code> */ public org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode getJoin() { return join_ == null ? org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.getDefaultInstance() : join_; } /**
public org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode build() { org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
/** * <code>optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.JoinNode join = 9;</code> */ public org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNodeOrBuilder getJoinOrBuilder() { if (joinBuilder_ != null) { return joinBuilder_.getMessageOrBuilder(); } else { return join_ == null ? org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.JoinNode.getDefaultInstance() : join_; } } /**