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

namespace Google\Cloud\GeminiDataAnalytics\V1beta\Context\SchemaRelationship;

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

/**
 * Represents an ordered set of paths within the table schema.
 *
 * Generated from protobuf message <code>google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.SchemaPaths</code>
 */
class SchemaPaths extends \Google\Protobuf\Internal\Message
{
    /**
     * The service-qualified full resource name of the table
     * Ex:
     * bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID
     *
     * Generated from protobuf field <code>string table_fqn = 1;</code>
     */
    protected $table_fqn = '';
    /**
     * The ordered list of paths within the table schema.
     *
     * Generated from protobuf field <code>repeated string paths = 2;</code>
     */
    private $paths;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $table_fqn
     *           The service-qualified full resource name of the table
     *           Ex:
     *           bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID
     *     @type string[] $paths
     *           The ordered list of paths within the table schema.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Geminidataanalytics\V1Beta\Context::initOnce();
        parent::__construct($data);
    }

    /**
     * The service-qualified full resource name of the table
     * Ex:
     * bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID
     *
     * Generated from protobuf field <code>string table_fqn = 1;</code>
     * @return string
     */
    public function getTableFqn()
    {
        return $this->table_fqn;
    }

    /**
     * The service-qualified full resource name of the table
     * Ex:
     * bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID
     *
     * Generated from protobuf field <code>string table_fqn = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setTableFqn($var)
    {
        GPBUtil::checkString($var, True);
        $this->table_fqn = $var;

        return $this;
    }

    /**
     * The ordered list of paths within the table schema.
     *
     * Generated from protobuf field <code>repeated string paths = 2;</code>
     * @return RepeatedField<string>
     */
    public function getPaths()
    {
        return $this->paths;
    }

    /**
     * The ordered list of paths within the table schema.
     *
     * Generated from protobuf field <code>repeated string paths = 2;</code>
     * @param string[] $var
     * @return $this
     */
    public function setPaths($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->paths = $arr;

        return $this;
    }

}

