public static final PredictionServiceClient create(PredictionServiceStub stub) {
    return new PredictionServiceClient(stub);
  }
Constructs an instance of PredictionServiceClient, using the given stub for making calls. This
is for advanced usage - prefer using create(PredictionServiceSettings).
java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/api/PredictionServiceClient.java