public static final MemorystoreClient create(MemorystoreStub stub) {
    return new MemorystoreClient(stub);
  }
Constructs an instance of MemorystoreClient, using the given stub for making calls. This is for
advanced usage - prefer using create(MemorystoreSettings).
java-valkey/google-cloud-valkey/src/main/java/com/google/cloud/memorystore/v1/MemorystoreClient.java