public static String getDefaultMtlsEndpoint() {
    return "cloudtasks.mtls.googleapis.com:443";
  }
Returns the default mTLS service endpoint.
java-tasks/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/stub/CloudTasksStubSettings.java