<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/contactcenterinsights/v1/resources.proto

namespace Google\Cloud\ContactCenterInsights\V1;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;

/**
 * A Dialogflow source of conversation data.
 *
 * Generated from protobuf message <code>google.cloud.contactcenterinsights.v1.DialogflowSource</code>
 */
class DialogflowSource extends \Google\Protobuf\Internal\Message
{
    /**
     * Output only. The name of the Dialogflow conversation that this conversation
     * resource is derived from. Format:
     * projects/{project}/locations/{location}/conversations/{conversation}
     *
     * Generated from protobuf field <code>string dialogflow_conversation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    private $dialogflow_conversation = '';
    /**
     * Cloud Storage URI that points to a file that contains the conversation
     * audio.
     *
     * Generated from protobuf field <code>string audio_uri = 3;</code>
     */
    private $audio_uri = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $dialogflow_conversation
     *           Output only. The name of the Dialogflow conversation that this conversation
     *           resource is derived from. Format:
     *           projects/{project}/locations/{location}/conversations/{conversation}
     *     @type string $audio_uri
     *           Cloud Storage URI that points to a file that contains the conversation
     *           audio.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Contactcenterinsights\V1\Resources::initOnce();
        parent::__construct($data);
    }

    /**
     * Output only. The name of the Dialogflow conversation that this conversation
     * resource is derived from. Format:
     * projects/{project}/locations/{location}/conversations/{conversation}
     *
     * Generated from protobuf field <code>string dialogflow_conversation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @return string
     */
    public function getDialogflowConversation()
    {
        return $this->dialogflow_conversation;
    }

    /**
     * Output only. The name of the Dialogflow conversation that this conversation
     * resource is derived from. Format:
     * projects/{project}/locations/{location}/conversations/{conversation}
     *
     * Generated from protobuf field <code>string dialogflow_conversation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @param string $var
     * @return $this
     */
    public function setDialogflowConversation($var)
    {
        GPBUtil::checkString($var, True);
        $this->dialogflow_conversation = $var;

        return $this;
    }

    /**
     * Cloud Storage URI that points to a file that contains the conversation
     * audio.
     *
     * Generated from protobuf field <code>string audio_uri = 3;</code>
     * @return string
     */
    public function getAudioUri()
    {
        return $this->audio_uri;
    }

    /**
     * Cloud Storage URI that points to a file that contains the conversation
     * audio.
     *
     * Generated from protobuf field <code>string audio_uri = 3;</code>
     * @param string $var
     * @return $this
     */
    public function setAudioUri($var)
    {
        GPBUtil::checkString($var, True);
        $this->audio_uri = $var;

        return $this;
    }

}

