public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < timerInstanceId_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt64SizeNoTag(timerInstanceId_.get(i)); } size += dataSize; size += 1 * getTimerInstanceIdList().size(); } for (int i = 0; i < mapEntry_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, mapEntry_.get(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, ruleFlowGroup_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getTimerInstanceIdCount() > 0) { hash = (37 * hash) + TIMER_INSTANCE_ID_FIELD_NUMBER; hash = (53 * hash) + getTimerInstanceIdList().hashCode(); } if (getMapEntryCount() > 0) { hash = (37 * hash) + MAPENTRY_FIELD_NUMBER; hash = (53 * hash) + getMapEntryList().hashCode(); } if (hasRuleFlowGroup()) { hash = (37 * hash) + RULE_FLOW_GROUP_FIELD_NUMBER; hash = (53 * hash) + getRuleFlowGroup().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
@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.RuleSetNode)) { return super.equals(obj); } org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode other = (org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode) obj; boolean result = true; result = result && getTimerInstanceIdList() .equals(other.getTimerInstanceIdList()); result = result && getMapEntryList() .equals(other.getMapEntryList()); result = result && (hasRuleFlowGroup() == other.hasRuleFlowGroup()); if (hasRuleFlowGroup()) { result = result && getRuleFlowGroup() .equals(other.getRuleFlowGroup()); } result = result && unknownFields.equals(other.unknownFields); return result; }
if ( _content.getRuleSet().getTimerInstanceIdCount() > 0 ) { List<Long> timerInstances = new ArrayList<Long>(); for ( Long _timerId : _content.getRuleSet().getTimerInstanceIdList() ) { timerInstances.add( _timerId );
public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < timerInstanceId_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt64SizeNoTag(timerInstanceId_.get(i)); } size += dataSize; size += 1 * getTimerInstanceIdList().size(); } for (int i = 0; i < mapEntry_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, mapEntry_.get(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, ruleFlowGroup_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getTimerInstanceIdCount() > 0) { hash = (37 * hash) + TIMER_INSTANCE_ID_FIELD_NUMBER; hash = (53 * hash) + getTimerInstanceIdList().hashCode(); } if (getMapEntryCount() > 0) { hash = (37 * hash) + MAPENTRY_FIELD_NUMBER; hash = (53 * hash) + getMapEntryList().hashCode(); } if (hasRuleFlowGroup()) { hash = (37 * hash) + RULE_FLOW_GROUP_FIELD_NUMBER; hash = (53 * hash) + getRuleFlowGroup().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
@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.RuleSetNode)) { return super.equals(obj); } org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode other = (org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.RuleSetNode) obj; boolean result = true; result = result && getTimerInstanceIdList() .equals(other.getTimerInstanceIdList()); result = result && getMapEntryList() .equals(other.getMapEntryList()); result = result && (hasRuleFlowGroup() == other.hasRuleFlowGroup()); if (hasRuleFlowGroup()) { result = result && getRuleFlowGroup() .equals(other.getRuleFlowGroup()); } result = result && unknownFields.equals(other.unknownFields); return result; }
if ( _content.getRuleSet().getTimerInstanceIdCount() > 0 ) { List<Long> timerInstances = new ArrayList<Long>(); for ( Long _timerId : _content.getRuleSet().getTimerInstanceIdList() ) { timerInstances.add( _timerId );