// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/dialogflow/v2beta1/webhook.proto

package com.google.cloud.dialogflow.v2beta1;

public interface OriginalDetectIntentRequestOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2beta1.OriginalDetectIntentRequest)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * The source of this request, e.g., `google`, `facebook`, `slack`. It is set
   * by Dialogflow-owned servers.
   * </pre>
   *
   * <code>string source = 1;</code>
   */
  java.lang.String getSource();
  /**
   *
   *
   * <pre>
   * The source of this request, e.g., `google`, `facebook`, `slack`. It is set
   * by Dialogflow-owned servers.
   * </pre>
   *
   * <code>string source = 1;</code>
   */
  com.google.protobuf.ByteString getSourceBytes();

  /**
   *
   *
   * <pre>
   * Optional. The version of the protocol used for this request.
   * This field is AoG-specific.
   * </pre>
   *
   * <code>string version = 2;</code>
   */
  java.lang.String getVersion();
  /**
   *
   *
   * <pre>
   * Optional. The version of the protocol used for this request.
   * This field is AoG-specific.
   * </pre>
   *
   * <code>string version = 2;</code>
   */
  com.google.protobuf.ByteString getVersionBytes();

  /**
   *
   *
   * <pre>
   * Optional. This field is set to the value of `QueryParameters.payload` field
   * passed in the request.
   * This field is used for the telephony gateway. It should have a
   * structure similar to this JSON message:
   * &lt;pre&gt;{
   *  "telephony": {
   *    "caller_id": "+18558363987"
   *  }
   * }&lt;/pre&gt;
   * Note: The caller ID field (`caller_id`) will be in
   * [E.164 format](https://en.wikipedia.org/wiki/E.164) and is only supported
   * for Enterprise Edition and not for Standard Edition agents. When the
   * telephony gateway is used with a standard tier agent the `caller_id` field
   * above will have a value of `REDACTED_IN_STANDARD_TIER_AGENT`.
   * </pre>
   *
   * <code>.google.protobuf.Struct payload = 3;</code>
   */
  boolean hasPayload();
  /**
   *
   *
   * <pre>
   * Optional. This field is set to the value of `QueryParameters.payload` field
   * passed in the request.
   * This field is used for the telephony gateway. It should have a
   * structure similar to this JSON message:
   * &lt;pre&gt;{
   *  "telephony": {
   *    "caller_id": "+18558363987"
   *  }
   * }&lt;/pre&gt;
   * Note: The caller ID field (`caller_id`) will be in
   * [E.164 format](https://en.wikipedia.org/wiki/E.164) and is only supported
   * for Enterprise Edition and not for Standard Edition agents. When the
   * telephony gateway is used with a standard tier agent the `caller_id` field
   * above will have a value of `REDACTED_IN_STANDARD_TIER_AGENT`.
   * </pre>
   *
   * <code>.google.protobuf.Struct payload = 3;</code>
   */
  com.google.protobuf.Struct getPayload();
  /**
   *
   *
   * <pre>
   * Optional. This field is set to the value of `QueryParameters.payload` field
   * passed in the request.
   * This field is used for the telephony gateway. It should have a
   * structure similar to this JSON message:
   * &lt;pre&gt;{
   *  "telephony": {
   *    "caller_id": "+18558363987"
   *  }
   * }&lt;/pre&gt;
   * Note: The caller ID field (`caller_id`) will be in
   * [E.164 format](https://en.wikipedia.org/wiki/E.164) and is only supported
   * for Enterprise Edition and not for Standard Edition agents. When the
   * telephony gateway is used with a standard tier agent the `caller_id` field
   * above will have a value of `REDACTED_IN_STANDARD_TIER_AGENT`.
   * </pre>
   *
   * <code>.google.protobuf.Struct payload = 3;</code>
   */
  com.google.protobuf.StructOrBuilder getPayloadOrBuilder();
}
