@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + WORKFLOWINSTANCEKEY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getWorkflowInstanceKey()); hash = (37 * hash) + BPMNPROCESSID_FIELD_NUMBER; hash = (53 * hash) + getBpmnProcessId().hashCode(); hash = (37 * hash) + WORKFLOWDEFINITIONVERSION_FIELD_NUMBER; hash = (53 * hash) + getWorkflowDefinitionVersion(); hash = (37 * hash) + WORKFLOWKEY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getWorkflowKey()); hash = (37 * hash) + ELEMENTID_FIELD_NUMBER; hash = (53 * hash) + getElementId().hashCode(); hash = (37 * hash) + ELEMENTINSTANCEKEY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getElementInstanceKey()); 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 io.zeebe.gateway.protocol.GatewayOuterClass.JobHeaders)) { return super.equals(obj); } io.zeebe.gateway.protocol.GatewayOuterClass.JobHeaders other = (io.zeebe.gateway.protocol.GatewayOuterClass.JobHeaders) obj; boolean result = true; result = result && (getWorkflowInstanceKey() == other.getWorkflowInstanceKey()); result = result && getBpmnProcessId() .equals(other.getBpmnProcessId()); result = result && (getWorkflowDefinitionVersion() == other.getWorkflowDefinitionVersion()); result = result && (getWorkflowKey() == other.getWorkflowKey()); result = result && getElementId() .equals(other.getElementId()); result = result && (getElementInstanceKey() == other.getElementInstanceKey()); result = result && unknownFields.equals(other.unknownFields); return result; }
public Builder mergeFrom(io.zeebe.gateway.protocol.GatewayOuterClass.JobHeaders other) { if (other == io.zeebe.gateway.protocol.GatewayOuterClass.JobHeaders.getDefaultInstance()) return this; if (other.getWorkflowInstanceKey() != 0L) { setWorkflowInstanceKey(other.getWorkflowInstanceKey()); } if (!other.getBpmnProcessId().isEmpty()) { bpmnProcessId_ = other.bpmnProcessId_; onChanged(); } if (other.getWorkflowDefinitionVersion() != 0) { setWorkflowDefinitionVersion(other.getWorkflowDefinitionVersion()); } if (other.getWorkflowKey() != 0L) { setWorkflowKey(other.getWorkflowKey()); } if (!other.getElementId().isEmpty()) { elementId_ = other.elementId_; onChanged(); } if (other.getElementInstanceKey() != 0L) { setElementInstanceKey(other.getElementInstanceKey()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public JobHeadersImpl(GatewayOuterClass.JobHeaders jobHeaders) { workflowInstanceKey = jobHeaders.getWorkflowInstanceKey(); bpmnProcessId = jobHeaders.getBpmnProcessId(); workflowDefinitionVersion = jobHeaders.getWorkflowDefinitionVersion(); workflowKey = jobHeaders.getWorkflowKey(); elementId = jobHeaders.getElementId(); elementInstanceKey = jobHeaders.getElementInstanceKey(); }
public JobHeadersImpl(GatewayOuterClass.JobHeaders jobHeaders) { workflowInstanceKey = jobHeaders.getWorkflowInstanceKey(); bpmnProcessId = jobHeaders.getBpmnProcessId(); workflowDefinitionVersion = jobHeaders.getWorkflowDefinitionVersion(); workflowKey = jobHeaders.getWorkflowKey(); elementId = jobHeaders.getElementId(); elementInstanceKey = jobHeaders.getElementInstanceKey(); }