@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasTimer()) { hash = (37 * hash) + TIMER_FIELD_NUMBER; hash = (53 * hash) + getTimer().hashCode(); } if (hasTrigger()) { hash = (37 * hash) + TRIGGER_FIELD_NUMBER; hash = (53 * hash) + getTrigger().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.ProcessTimer)) { return super.equals(obj); } org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer other = (org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer) obj; boolean result = true; result = result && (hasTimer() == other.hasTimer()); if (hasTimer()) { result = result && getTimer() .equals(other.getTimer()); } result = result && (hasTrigger() == other.hasTrigger()); if (hasTrigger()) { result = result && getTrigger() .equals(other.getTrigger()); } 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 (hasTimer()) { hash = (37 * hash) + TIMER_FIELD_NUMBER; hash = (53 * hash) + getTimer().hashCode(); } if (hasTrigger()) { hash = (37 * hash) + TRIGGER_FIELD_NUMBER; hash = (53 * hash) + getTrigger().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.ProcessTimer)) { return super.equals(obj); } org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer other = (org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer) obj; boolean result = true; result = result && (hasTimer() == other.hasTimer()); if (hasTimer()) { result = result && getTimer() .equals(other.getTimer()); } result = result && (hasTrigger() == other.hasTrigger()); if (hasTrigger()) { result = result && getTrigger() .equals(other.getTrigger()); } result = result && unknownFields.equals(other.unknownFields); return result; }
public Builder mergeFrom(org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer other) { if (other == org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer.getDefaultInstance()) return this; if (other.hasTimer()) { mergeTimer(other.getTimer()); } if (other.hasTrigger()) { mergeTrigger(other.getTrigger()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public Builder mergeFrom(org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer other) { if (other == org.jbpm.marshalling.impl.JBPMMessages.ProcessTimer.getDefaultInstance()) return this; if (other.hasTimer()) { mergeTimer(other.getTimer()); } if (other.hasTrigger()) { mergeTrigger(other.getTrigger()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }