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

namespace Google\Cloud\GeminiDataAnalytics\V1beta;

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

/**
 * Direct lookup parameters.
 *
 * Generated from protobuf message <code>google.cloud.geminidataanalytics.v1beta.DirectLookup</code>
 */
class DirectLookup extends \Google\Protobuf\Internal\Message
{
    /**
     * Optional. Table reference that server invokes a direct lookup of table
     * metadata upon. The returned candidate will be TableMetadataResult.
     *
     * Generated from protobuf field <code>.google.cloud.geminidataanalytics.v1beta.BigQueryTableReference big_query_table_reference = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
     */
    protected $big_query_table_reference = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Google\Cloud\GeminiDataAnalytics\V1beta\BigQueryTableReference $big_query_table_reference
     *           Optional. Table reference that server invokes a direct lookup of table
     *           metadata upon. The returned candidate will be TableMetadataResult.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Geminidataanalytics\V1Beta\ContextRetrievalService::initOnce();
        parent::__construct($data);
    }

    /**
     * Optional. Table reference that server invokes a direct lookup of table
     * metadata upon. The returned candidate will be TableMetadataResult.
     *
     * Generated from protobuf field <code>.google.cloud.geminidataanalytics.v1beta.BigQueryTableReference big_query_table_reference = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
     * @return \Google\Cloud\GeminiDataAnalytics\V1beta\BigQueryTableReference|null
     */
    public function getBigQueryTableReference()
    {
        return $this->big_query_table_reference;
    }

    public function hasBigQueryTableReference()
    {
        return isset($this->big_query_table_reference);
    }

    public function clearBigQueryTableReference()
    {
        unset($this->big_query_table_reference);
    }

    /**
     * Optional. Table reference that server invokes a direct lookup of table
     * metadata upon. The returned candidate will be TableMetadataResult.
     *
     * Generated from protobuf field <code>.google.cloud.geminidataanalytics.v1beta.BigQueryTableReference big_query_table_reference = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
     * @param \Google\Cloud\GeminiDataAnalytics\V1beta\BigQueryTableReference $var
     * @return $this
     */
    public function setBigQueryTableReference($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\GeminiDataAnalytics\V1beta\BigQueryTableReference::class);
        $this->big_query_table_reference = $var;

        return $this;
    }

}

