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