package com.google.sps.agents;

// Imports the Google Cloud client library
import com.google.protobuf.Value;
import java.util.Map;

/** Agent Interface */
public interface Agent {
  public void setParameters(Map<String, Value> parameters) throws Exception;

  public String getOutput();

  public String getDisplay();

  public String getRedirect();
}

@@ -132,191 +132,1142 @@
 %0A/**
+%0A *
  Agent
- Interface */%0Apublic interface Agent %7B%0A  public void setParameters(Map%3CString, Value%3E parameters) throws Exception;%0A%0A  public String getOutput();%0A%0A  public String getDisplay();%0A
+s handle Dialogflow's detected intent and parameters for each user request. From the%0A * detected intents and parameters, agents will generate appropriate audio outputs, displays, and%0A * redirect links to return to the user%0A */%0Apublic interface Agent %7B%0A%0A  /**%0A   * This function parses a Map of parameters from Dialogflow and sets the necessary output and/or%0A   * display and/or redirect links that will be outputted to the user%0A   *%0A   * @param address user-inputted location%0A   */%0A  public void setParameters(Map%3CString, Value%3E parameters) throws Exception;%0A%0A  /**%0A   * This function returns a String containing the text to be outputted to the user (on the screen%0A   * and via audio)%0A   *%0A   * @return String audio/text output for user%0A   */%0A  public String getOutput();%0A%0A  /**%0A   * This function returns a String containing the HTML code to be displayed to the user interface%0A   * (if any)%0A   *%0A   * @return String of HTML code%0A   */%0A  public String getDisplay();%0A%0A  /**%0A   * This function returns a String containing URL to the page the user should be redirected to (if%0A   * any)%0A   *%0A   * @return String of link URL%0A   */
 %0A  p

Add comments for Agent interface and functions