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

namespace Google\Cloud\DataLabeling\V1beta1;

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

/**
 * The BigQuery location for input data. If used in an [EvaluationJob][google.cloud.datalabeling.v1beta1.EvaluationJob], this
 * is where the service saves the prediction input and output sampled from the
 * model version.
 *
 * Generated from protobuf message <code>google.cloud.datalabeling.v1beta1.BigQuerySource</code>
 */
class BigQuerySource extends \Google\Protobuf\Internal\Message
{
    /**
     * Required. BigQuery URI to a table, up to 2,000 characters long. If you
     * specify the URI of a table that does not exist, Data Labeling Service
     * creates a table at the URI with the correct schema when you create your
     * [EvaluationJob][google.cloud.datalabeling.v1beta1.EvaluationJob]. If you specify the URI of a table that already exists,
     * it must have the
     * [correct
     * schema](https://cloud.google.com/ml-engine/docs/continuous-evaluation/create-job#table-schema).
     * Provide the table URI in the following format:
     * "bq://<var>{your_project_id}</var>/<var>{your_dataset_name}</var>/<var>{your_table_name}</var>"
     * [Learn
     * more](https://cloud.google.com/ml-engine/docs/continuous-evaluation/create-job#table-schema).
     *
     * Generated from protobuf field <code>string input_uri = 1;</code>
     */
    private $input_uri = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $input_uri
     *           Required. BigQuery URI to a table, up to 2,000 characters long. If you
     *           specify the URI of a table that does not exist, Data Labeling Service
     *           creates a table at the URI with the correct schema when you create your
     *           [EvaluationJob][google.cloud.datalabeling.v1beta1.EvaluationJob]. If you specify the URI of a table that already exists,
     *           it must have the
     *           [correct
     *           schema](https://cloud.google.com/ml-engine/docs/continuous-evaluation/create-job#table-schema).
     *           Provide the table URI in the following format:
     *           "bq://<var>{your_project_id}</var>/<var>{your_dataset_name}</var>/<var>{your_table_name}</var>"
     *           [Learn
     *           more](https://cloud.google.com/ml-engine/docs/continuous-evaluation/create-job#table-schema).
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Datalabeling\V1Beta1\Dataset::initOnce();
        parent::__construct($data);
    }

    /**
     * Required. BigQuery URI to a table, up to 2,000 characters long. If you
     * specify the URI of a table that does not exist, Data Labeling Service
     * creates a table at the URI with the correct schema when you create your
     * [EvaluationJob][google.cloud.datalabeling.v1beta1.EvaluationJob]. If you specify the URI of a table that already exists,
     * it must have the
     * [correct
     * schema](https://cloud.google.com/ml-engine/docs/continuous-evaluation/create-job#table-schema).
     * Provide the table URI in the following format:
     * "bq://<var>{your_project_id}</var>/<var>{your_dataset_name}</var>/<var>{your_table_name}</var>"
     * [Learn
     * more](https://cloud.google.com/ml-engine/docs/continuous-evaluation/create-job#table-schema).
     *
     * Generated from protobuf field <code>string input_uri = 1;</code>
     * @return string
     */
    public function getInputUri()
    {
        return $this->input_uri;
    }

    /**
     * Required. BigQuery URI to a table, up to 2,000 characters long. If you
     * specify the URI of a table that does not exist, Data Labeling Service
     * creates a table at the URI with the correct schema when you create your
     * [EvaluationJob][google.cloud.datalabeling.v1beta1.EvaluationJob]. If you specify the URI of a table that already exists,
     * it must have the
     * [correct
     * schema](https://cloud.google.com/ml-engine/docs/continuous-evaluation/create-job#table-schema).
     * Provide the table URI in the following format:
     * "bq://<var>{your_project_id}</var>/<var>{your_dataset_name}</var>/<var>{your_table_name}</var>"
     * [Learn
     * more](https://cloud.google.com/ml-engine/docs/continuous-evaluation/create-job#table-schema).
     *
     * Generated from protobuf field <code>string input_uri = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setInputUri($var)
    {
        GPBUtil::checkString($var, True);
        $this->input_uri = $var;

        return $this;
    }

}

