<?php
 
 
 

namespace PhpWA\Protocol\Proto;

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




class AIRichResponseContentItemsMetadata extends \Google\Protobuf\Internal\Message
{
    


    private $itemsMetadata;
    


    protected $contentType = null;

    









    public function __construct($data = NULL) {
        \PhpWA\Protocol\Proto\Metadata\WAProto::initOnce();
        parent::__construct($data);
    }

    



    public function getItemsMetadata()
    {
        return $this->itemsMetadata;
    }

    




    public function setItemsMetadata($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \PhpWA\Protocol\Proto\AIRichResponseContentItemsMetadata\AIRichResponseContentItemMetadata::class);
        $this->itemsMetadata = $arr;

        return $this;
    }

    



    public function getContentType()
    {
        return isset($this->contentType) ? $this->contentType : 0;
    }

    public function hasContentType()
    {
        return isset($this->contentType);
    }

    public function clearContentType()
    {
        unset($this->contentType);
    }

    




    public function setContentType($var)
    {
        GPBUtil::checkEnum($var, \PhpWA\Protocol\Proto\AIRichResponseContentItemsMetadata\ContentType::class);
        $this->contentType = $var;

        return $this;
    }

}

