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

namespace Google\Cloud\Dataplex\V1\SearchEntriesResult;

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

/**
 * Snippets for the entry, contains HTML-style highlighting for
 * matched tokens, will be used in UI.
 *
 * @deprecated
 * Generated from protobuf message <code>google.cloud.dataplex.v1.SearchEntriesResult.Snippets</code>
 */
class Snippets extends \Google\Protobuf\Internal\Message
{
    /**
     * Entry
     *
     * Generated from protobuf field <code>.google.cloud.dataplex.v1.Entry dataplex_entry = 1 [deprecated = true];</code>
     * @deprecated
     */
    protected $dataplex_entry = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Google\Cloud\Dataplex\V1\Entry $dataplex_entry
     *           Entry
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Dataplex\V1\Catalog::initOnce();
        parent::__construct($data);
    }

    /**
     * Entry
     *
     * Generated from protobuf field <code>.google.cloud.dataplex.v1.Entry dataplex_entry = 1 [deprecated = true];</code>
     * @return \Google\Cloud\Dataplex\V1\Entry|null
     * @deprecated
     */
    public function getDataplexEntry()
    {
        if (isset($this->dataplex_entry)) {
            @trigger_error('dataplex_entry is deprecated.', E_USER_DEPRECATED);
        }
        return $this->dataplex_entry;
    }

    public function hasDataplexEntry()
    {
        if (isset($this->dataplex_entry)) {
            @trigger_error('dataplex_entry is deprecated.', E_USER_DEPRECATED);
        }
        return isset($this->dataplex_entry);
    }

    public function clearDataplexEntry()
    {
        @trigger_error('dataplex_entry is deprecated.', E_USER_DEPRECATED);
        unset($this->dataplex_entry);
    }

    /**
     * Entry
     *
     * Generated from protobuf field <code>.google.cloud.dataplex.v1.Entry dataplex_entry = 1 [deprecated = true];</code>
     * @param \Google\Cloud\Dataplex\V1\Entry $var
     * @return $this
     * @deprecated
     */
    public function setDataplexEntry($var)
    {
        @trigger_error('dataplex_entry is deprecated.', E_USER_DEPRECATED);
        GPBUtil::checkMessage($var, \Google\Cloud\Dataplex\V1\Entry::class);
        $this->dataplex_entry = $var;

        return $this;
    }

}


