public PagedCallSettings<ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
      listLocationsSettings() {
    return ((SpeechStubSettings) getStubSettings()).listLocationsSettings();
  }
Returns the object with the settings used for calls to listLocations.
java-speech/google-cloud-speech/src/main/java/com/google/cloud/speech/v2/SpeechSettings.java