public org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode buildPartial() { org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode result = new org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) == 0x00000001)) { timerInstanceId_ = java.util.Collections.unmodifiableList(timerInstanceId_); bitField0_ = (bitField0_ & ~0x00000001); } result.timerInstanceId_ = timerInstanceId_; onBuilt(); return result; }
/** * <code>optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10;</code> */ public Builder mergeState(org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode value) { if (stateBuilder_ == null) { if (((bitField0_ & 0x00000200) == 0x00000200) && state_ != null && state_ != org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode.getDefaultInstance()) { state_ = org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode.newBuilder(state_).mergeFrom(value).buildPartial(); } else { state_ = value; } onChanged(); } else { stateBuilder_.mergeFrom(value); } bitField0_ |= 0x00000200; return this; } /**
@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(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
.setJoin( _join.build() ); } else if ( nodeInstance instanceof StateNodeInstance ) { JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode.Builder _state = JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode.newBuilder(); List<Long> timerInstances = ((StateNodeInstance) nodeInstance).getTimerInstances();
case STATE_NODE : nodeInstance = new StateNodeInstance(); if ( _content.getState().getTimerInstanceIdCount() > 0 ) { List<Long> timerInstances = new ArrayList<Long>(); for ( Long _timerId : _content.getState().getTimerInstanceIdList() ) { timerInstances.add( _timerId );
if (hasState()) { result = result && getState() .equals(other.getState());
break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; makeExtensionsImmutable();
hash = (53 * hash) + getState().hashCode();
/** * <code>optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10;</code> */ public Builder mergeState(org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode value) { if (stateBuilder_ == null) { if (((bitField0_ & 0x00000200) == 0x00000200) && state_ != null && state_ != org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode.getDefaultInstance()) { state_ = org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode.newBuilder(state_).mergeFrom(value).buildPartial(); } else { state_ = value; } onChanged(); } else { stateBuilder_.mergeFrom(value); } bitField0_ |= 0x00000200; return this; } /**
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(); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; }
public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() {
@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.StateNode)) { return super.equals(obj); } org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode other = (org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode) obj; boolean result = true; result = result && getTimerInstanceIdList() .equals(other.getTimerInstanceIdList()); result = result && unknownFields.equals(other.unknownFields); return result; }
public Builder mergeFrom(org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode other) { if (other == org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode.getDefaultInstance()) return this; if (!other.timerInstanceId_.isEmpty()) { if (timerInstanceId_.isEmpty()) { timerInstanceId_ = other.timerInstanceId_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTimerInstanceIdIsMutable(); timerInstanceId_.addAll(other.timerInstanceId_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
@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(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode getDefaultInstanceForType() { return org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode.getDefaultInstance(); }
/** * <code>optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10;</code> */ public org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNodeOrBuilder getStateOrBuilder() { if (stateBuilder_ != null) { return stateBuilder_.getMessageOrBuilder(); } else { return state_ == null ? org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode.getDefaultInstance() : state_; } } /**
/** * <code>optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10;</code> */ public org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode getState() { if (stateBuilder_ == null) { return state_ == null ? org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode.getDefaultInstance() : state_; } else { return stateBuilder_.getMessage(); } } /**
/** * <code>optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10;</code> */ public org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode getState() { return state_ == null ? org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode.getDefaultInstance() : state_; } /**
public org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode build() { org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
/** * <code>optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent.StateNode state = 10;</code> */ public org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNodeOrBuilder getStateOrBuilder() { return state_ == null ? org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.StateNode.getDefaultInstance() : state_; }