@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + BPMNPROCESSID_FIELD_NUMBER; hash = (53 * hash) + getBpmnProcessId().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 io.zeebe.gateway.protocol.GatewayOuterClass.ListWorkflowsRequest)) { return super.equals(obj); } io.zeebe.gateway.protocol.GatewayOuterClass.ListWorkflowsRequest other = (io.zeebe.gateway.protocol.GatewayOuterClass.ListWorkflowsRequest) obj; boolean result = true; result = result && getBpmnProcessId() .equals(other.getBpmnProcessId()); result = result && unknownFields.equals(other.unknownFields); return result; }
public Builder mergeFrom(io.zeebe.gateway.protocol.GatewayOuterClass.ListWorkflowsRequest other) { if (other == io.zeebe.gateway.protocol.GatewayOuterClass.ListWorkflowsRequest.getDefaultInstance()) return this; if (!other.getBpmnProcessId().isEmpty()) { bpmnProcessId_ = other.bpmnProcessId_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * <pre> * optional filter: if specified, only the workflows with this given process ID will be * returned * </pre> * * <code>string bpmnProcessId = 1;</code> */ public Builder clearBpmnProcessId() { bpmnProcessId_ = getDefaultInstance().getBpmnProcessId(); onChanged(); return this; } /**
public static BrokerListWorkflowsRequest toListWorkflowsRequest( ListWorkflowsRequest grpcRequest) { return new BrokerListWorkflowsRequest().setBpmnProcessId(grpcRequest.getBpmnProcessId()); }