google.cloud.dialogflow.v2.Intent.Message.Image
*/
class Intent_Message_Image extends \Google\Protobuf\Internal\Message
{
/**
* Optional. The public URI to an image file.
*
* Generated from protobuf field string image_uri = 1;
*/
private $image_uri = '';
/**
* Optional. A text description of the image to be used for accessibility,
* e.g., screen readers.
*
* Generated from protobuf field string accessibility_text = 2;
*/
private $accessibility_text = '';
public function __construct() {
\GPBMetadata\Google\Cloud\Dialogflow\V2\Intent::initOnce();
parent::__construct();
}
/**
* Optional. The public URI to an image file.
*
* Generated from protobuf field string image_uri = 1;
* @return string
*/
public function getImageUri()
{
return $this->image_uri;
}
/**
* Optional. The public URI to an image file.
*
* Generated from protobuf field string image_uri = 1;
* @param string $var
* @return $this
*/
public function setImageUri($var)
{
GPBUtil::checkString($var, True);
$this->image_uri = $var;
return $this;
}
/**
* Optional. A text description of the image to be used for accessibility,
* e.g., screen readers.
*
* Generated from protobuf field string accessibility_text = 2;
* @return string
*/
public function getAccessibilityText()
{
return $this->accessibility_text;
}
/**
* Optional. A text description of the image to be used for accessibility,
* e.g., screen readers.
*
* Generated from protobuf field string accessibility_text = 2;
* @param string $var
* @return $this
*/
public function setAccessibilityText($var)
{
GPBUtil::checkString($var, True);
$this->accessibility_text = $var;
return $this;
}
}