public Map<String, String> getHeaders() {
    return headerProvider.getHeaders();
  }
Returns the headers to use when making API calls.

@return a map of headers to use when making API calls.
java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/VertexAI.java