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

package com.google.cloud.dialogflow.v2;

public interface ExportAgentResponseOrBuilder extends
    // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2.ExportAgentResponse)
    com.google.protobuf.MessageOrBuilder {

  /**
   * <pre>
   * The URI to a file containing the exported agent. This field is populated
   * only if `agent_uri` is specified in `ExportAgentRequest`.
   * </pre>
   *
   * <code>string agent_uri = 1;</code>
   */
  java.lang.String getAgentUri();
  /**
   * <pre>
   * The URI to a file containing the exported agent. This field is populated
   * only if `agent_uri` is specified in `ExportAgentRequest`.
   * </pre>
   *
   * <code>string agent_uri = 1;</code>
   */
  com.google.protobuf.ByteString
      getAgentUriBytes();

  /**
   * <pre>
   * The exported agent.
   * Example for how to export an agent to a zip file via a command line:
   * curl &#92;
   *   'https://dialogflow.googleapis.com/v2/projects/&lt;project_name&gt;/agent:export'&#92;
   *   -X POST &#92;
   *   -H 'Authorization: Bearer '$(gcloud auth print-access-token) &#92;
   *   -H 'Accept: application/json' &#92;
   *   -H 'Content-Type: application/json' &#92;
   *   --compressed &#92;
   *   --data-binary '{}' &#92;
   * | grep agentContent | sed -e 's/.*"agentContent": "&#92;([^"]*&#92;)".*&#47;&#92;1/' &#92;
   * | base64 --decode &gt; &lt;agent zip file&gt;
   * </pre>
   *
   * <code>bytes agent_content = 2;</code>
   */
  com.google.protobuf.ByteString getAgentContent();

  public com.google.cloud.dialogflow.v2.ExportAgentResponse.AgentCase getAgentCase();
}
