@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 = (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.CancelWorkflowInstanceRequest)) { return super.equals(obj); } io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceRequest other = (io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceRequest) obj; boolean result = true; result = result && (getWorkflowInstanceKey() == other.getWorkflowInstanceKey()); result = result && unknownFields.equals(other.unknownFields); return result; }
public static BrokerCancelWorkflowInstanceRequest toCancelWorkflowInstanceRequest( CancelWorkflowInstanceRequest grpcRequest) { final BrokerCancelWorkflowInstanceRequest brokerRequest = new BrokerCancelWorkflowInstanceRequest(); brokerRequest.setWorkflowInstanceKey(grpcRequest.getWorkflowInstanceKey()); return brokerRequest; }
public Builder mergeFrom(io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceRequest other) { if (other == io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceRequest.getDefaultInstance()) return this; if (other.getWorkflowInstanceKey() != 0L) { setWorkflowInstanceKey(other.getWorkflowInstanceKey()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }