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

namespace Google\Cloud\DataCatalog\V1;

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

/**
 * Entry overview fields for rich text descriptions of entries.
 *
 * Generated from protobuf message <code>google.cloud.datacatalog.v1.EntryOverview</code>
 */
class EntryOverview extends \Google\Protobuf\Internal\Message
{
    /**
     * Entry overview with support for rich text.
     * The overview must only contain Unicode characters, and should be
     * formatted using HTML.
     * The maximum length is 10 MiB as this value holds HTML descriptions
     * including encoded images. The maximum length of the text without images
     * is 100 KiB.
     *
     * Generated from protobuf field <code>string overview = 1;</code>
     */
    private $overview = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $overview
     *           Entry overview with support for rich text.
     *           The overview must only contain Unicode characters, and should be
     *           formatted using HTML.
     *           The maximum length is 10 MiB as this value holds HTML descriptions
     *           including encoded images. The maximum length of the text without images
     *           is 100 KiB.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Datacatalog\V1\Datacatalog::initOnce();
        parent::__construct($data);
    }

    /**
     * Entry overview with support for rich text.
     * The overview must only contain Unicode characters, and should be
     * formatted using HTML.
     * The maximum length is 10 MiB as this value holds HTML descriptions
     * including encoded images. The maximum length of the text without images
     * is 100 KiB.
     *
     * Generated from protobuf field <code>string overview = 1;</code>
     * @return string
     */
    public function getOverview()
    {
        return $this->overview;
    }

    /**
     * Entry overview with support for rich text.
     * The overview must only contain Unicode characters, and should be
     * formatted using HTML.
     * The maximum length is 10 MiB as this value holds HTML descriptions
     * including encoded images. The maximum length of the text without images
     * is 100 KiB.
     *
     * Generated from protobuf field <code>string overview = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setOverview($var)
    {
        GPBUtil::checkString($var, True);
        $this->overview = $var;

        return $this;
    }

}

