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