class RemoteSerializer {

  @Nullable
  public Map<String, String> encodeListenRequestLabels(TargetData targetData) {
    @Nullable String value = encodeLabel(targetData.getPurpose());
    if (value == null) {
      return null;
    }

    Map<String, String> result = new HashMap<>(1);
    result.put("goog-listen-tags", value);
    return result;
  }

  public  RemoteSerializer(DatabaseId databaseId);

}