public UnaryCallSettings<GetLocationRequest, Location> getLocationSettings() {
    return ((EndpointServiceStubSettings) getStubSettings()).getLocationSettings();
  }
Returns the object with the settings used for calls to getLocation.
java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/api/EndpointServiceSettings.java