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

namespace Google\Cloud\GeminiDataAnalytics\V1beta;

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

/**
 * Message representing references to BigQuery tables.
 *
 * Generated from protobuf message <code>google.cloud.geminidataanalytics.v1beta.BigQueryTableReferences</code>
 */
class BigQueryTableReferences extends \Google\Protobuf\Internal\Message
{
    /**
     * Required. References to BigQuery tables.
     *
     * Generated from protobuf field <code>repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     */
    private $table_references;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type array<\Google\Cloud\GeminiDataAnalytics\V1beta\BigQueryTableReference>|\Google\Protobuf\Internal\RepeatedField $table_references
     *           Required. References to BigQuery tables.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Geminidataanalytics\V1Beta\Datasource::initOnce();
        parent::__construct($data);
    }

    /**
     * Required. References to BigQuery tables.
     *
     * Generated from protobuf field <code>repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getTableReferences()
    {
        return $this->table_references;
    }

    /**
     * Required. References to BigQuery tables.
     *
     * Generated from protobuf field <code>repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @param array<\Google\Cloud\GeminiDataAnalytics\V1beta\BigQueryTableReference>|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setTableReferences($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\GeminiDataAnalytics\V1beta\BigQueryTableReference::class);
        $this->table_references = $arr;

        return $this;
    }

}

