code: public void fetchMetadata(final String uuid,
                                final DataSetMetadataCallback listener) throws Exception {
          final DataSetMetadata metadata = clientDataSetManager.getDataSetMetadata(uuid);
  
          if (metadata != null) {
              listener.callback(metadata);
          } else if (dataSetLookupServices != null) {
              if (remoteMetadataMap.containsKey(uuid)) {
                  listener.callback(remoteMetadataMap.get(uuid));
              } else {
                  dataSetLookupServices.call((DataSetMetadata result) -> {
                                                 if (result == null) {
                                                     listener.notFound();
                                                 } else {
                                                     remoteMetadataMap.put(uuid,
                                                                           result);
                                                     listener.callback(result);
                                                 }
                                             },
                                             (message, throwable) -> {
                                                 return listener.onError(new ClientRuntimeError(throwable));
                                             }).lookupDataSetMetadata(uuid);
              }
          } else {
              listener.notFound();
          }
      }
docs: Fetch the metadata instance for the specified data set.
  
  @param uuid The UUID of the data set
  @throws Exception It there is an unexpected error trying to execute the lookup request.