code: @Deprecated
    public static void createAndRegisterWithCredentialsAndProjectId(
        Credentials credentials, String projectId, Duration exportInterval) throws IOException {
      checkNotNull(credentials, "credentials");
      checkNotNull(projectId, "projectId");
      checkNotNull(exportInterval, "exportInterval");
      createInternal(
          credentials, projectId, exportInterval, DEFAULT_RESOURCE, null, DEFAULT_CONSTANT_LABELS);
    }
docs: Creates a StackdriverStatsExporter for an explicit project ID and using explicit credentials,
  with default Monitored Resource.
  
  <p>Only one Stackdriver exporter can be created.
  
  @param credentials a credentials used to authenticate API calls.
  @param projectId the cloud project id.
  @param exportInterval the interval between pushing stats to StackDriver.
  @throws IllegalStateException if a Stackdriver exporter already exists.
  @deprecated in favor of {@link #createAndRegister(StackdriverStatsConfiguration)}.
  @since 0.9