code: public final SupportedLanguages getSupportedLanguages(
        String parent, String displayLanguageCode, String model) {
      if (!parent.isEmpty()) {
        LOCATION_PATH_TEMPLATE.validate(parent, "getSupportedLanguages");
      }
      GetSupportedLanguagesRequest request =
          GetSupportedLanguagesRequest.newBuilder()
              .setParent(parent)
              .setDisplayLanguageCode(displayLanguageCode)
              .setModel(model)
              .build();
      return getSupportedLanguages(request);
    }
docs: Returns a list of supported languages for translation.
  
  <p>Sample code:
  
  <pre><code>
  try (TranslationServiceClient translationServiceClient = TranslationServiceClient.create()) {
  String formattedParent = TranslationServiceClient.formatLocationName("[PROJECT]", "[LOCATION]");
  String displayLanguageCode = "";
  String model = "";
  SupportedLanguages response = translationServiceClient.getSupportedLanguages(formattedParent, displayLanguageCode, model);
  }
  </code></pre>
  
  @param parent Optional. Used for making regionalized calls. Format:
  projects/{project-id}/locations/{location-id}. For global calls, use
  projects/{project-id}/locations/global. If missing, the call is treated as a global call.
  <p>Only custom model within the same location-id can be used. Otherwise 400 is returned.
  @param displayLanguageCode Optional. The language to use to return localized, human readable
  names of supported languages. If missing, default language is ENGLISH.
  @param model Optional. Get supported languages of this model. The format depends on model type:
  1. Custom models: projects/{project-id}/locations/{location-id}/models/{model-id}. 2.
  General (built-in) models: projects/{project-id}/locations/{location-id}/models/general/nmt
  projects/{project-id}/locations/{location-id}/models/general/base Returns languages
  supported by the specified model. If missing, we get supported languages of Google general
  NMT model.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails