@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasSwimlane()) { hash = (37 * hash) + SWIMLANE_FIELD_NUMBER; hash = (53 * hash) + getSwimlane().hashCode(); } if (hasActorId()) { hash = (37 * hash) + ACTOR_ID_FIELD_NUMBER; hash = (53 * hash) + getActorId().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.SwimlaneContextInstance)) { return super.equals(obj); } org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance other = (org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance) obj; boolean result = true; result = result && (hasSwimlane() == other.hasSwimlane()); if (hasSwimlane()) { result = result && getSwimlane() .equals(other.getSwimlane()); } result = result && (hasActorId() == other.hasActorId()); if (hasActorId()) { result = result && getActorId() .equals(other.getActorId()); } result = result && unknownFields.equals(other.unknownFields); return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasSwimlane()) { hash = (37 * hash) + SWIMLANE_FIELD_NUMBER; hash = (53 * hash) + getSwimlane().hashCode(); } if (hasActorId()) { hash = (37 * hash) + ACTOR_ID_FIELD_NUMBER; hash = (53 * hash) + getActorId().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.SwimlaneContextInstance)) { return super.equals(obj); } org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance other = (org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance) obj; boolean result = true; result = result && (hasSwimlane() == other.hasSwimlane()); if (hasSwimlane()) { result = result && getSwimlane() .equals(other.getSwimlane()); } result = result && (hasActorId() == other.hasActorId()); if (hasActorId()) { result = result && getActorId() .equals(other.getActorId()); } result = result && unknownFields.equals(other.unknownFields); return result; }
public Builder mergeFrom(org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance other) { if (other == org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance.getDefaultInstance()) return this; if (other.hasSwimlane()) { bitField0_ |= 0x00000001; swimlane_ = other.swimlane_; onChanged(); } if (other.hasActorId()) { bitField0_ |= 0x00000002; actorId_ = other.actorId_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public Builder mergeFrom(org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance other) { if (other == org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.SwimlaneContextInstance.getDefaultInstance()) return this; if (other.hasSwimlane()) { bitField0_ |= 0x00000001; swimlane_ = other.swimlane_; onChanged(); } if (other.hasActorId()) { bitField0_ |= 0x00000002; actorId_ = other.actorId_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }