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; }
@io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListWorkflows", requestType = io.zeebe.gateway.protocol.GatewayOuterClass.ListWorkflowsRequest.class, responseType = io.zeebe.gateway.protocol.GatewayOuterClass.ListWorkflowsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor<io.zeebe.gateway.protocol.GatewayOuterClass.ListWorkflowsRequest, io.zeebe.gateway.protocol.GatewayOuterClass.ListWorkflowsResponse> getListWorkflowsMethod() { io.grpc.MethodDescriptor<io.zeebe.gateway.protocol.GatewayOuterClass.ListWorkflowsRequest, io.zeebe.gateway.protocol.GatewayOuterClass.ListWorkflowsResponse> getListWorkflowsMethod; if ((getListWorkflowsMethod = GatewayGrpc.getListWorkflowsMethod) == null) { synchronized (GatewayGrpc.class) { if ((getListWorkflowsMethod = GatewayGrpc.getListWorkflowsMethod) == null) { GatewayGrpc.getListWorkflowsMethod = getListWorkflowsMethod = io.grpc.MethodDescriptor.<io.zeebe.gateway.protocol.GatewayOuterClass.ListWorkflowsRequest, io.zeebe.gateway.protocol.GatewayOuterClass.ListWorkflowsResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName( "gateway_protocol.Gateway", "ListWorkflows")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.zeebe.gateway.protocol.GatewayOuterClass.ListWorkflowsRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.zeebe.gateway.protocol.GatewayOuterClass.ListWorkflowsResponse.getDefaultInstance())) .setSchemaDescriptor(new GatewayMethodDescriptorSupplier("ListWorkflows")) .build(); } } } return getListWorkflowsMethod; }
/** * <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; } /**
@java.lang.Override public io.zeebe.gateway.protocol.GatewayOuterClass.ListWorkflowsRequest getDefaultInstanceForType() { return io.zeebe.gateway.protocol.GatewayOuterClass.ListWorkflowsRequest.getDefaultInstance(); }