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

namespace Google\Cloud\AIPlatform\V1\FeatureGroup\BigQuery;

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

/**
 * Generated from protobuf message <code>google.cloud.aiplatform.v1.FeatureGroup.BigQuery.TimeSeries</code>
 */
class TimeSeries extends \Google\Protobuf\Internal\Message
{
    /**
     * Optional. Column hosting timestamp values for a time-series source.
     * Will be used to determine the latest `feature_values` for each entity.
     * Optional. If not provided, column named `feature_timestamp` of
     * type `TIMESTAMP` will be used.
     *
     * Generated from protobuf field <code>string timestamp_column = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
     */
    protected $timestamp_column = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $timestamp_column
     *           Optional. Column hosting timestamp values for a time-series source.
     *           Will be used to determine the latest `feature_values` for each entity.
     *           Optional. If not provided, column named `feature_timestamp` of
     *           type `TIMESTAMP` will be used.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureGroup::initOnce();
        parent::__construct($data);
    }

    /**
     * Optional. Column hosting timestamp values for a time-series source.
     * Will be used to determine the latest `feature_values` for each entity.
     * Optional. If not provided, column named `feature_timestamp` of
     * type `TIMESTAMP` will be used.
     *
     * Generated from protobuf field <code>string timestamp_column = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
     * @return string
     */
    public function getTimestampColumn()
    {
        return $this->timestamp_column;
    }

    /**
     * Optional. Column hosting timestamp values for a time-series source.
     * Will be used to determine the latest `feature_values` for each entity.
     * Optional. If not provided, column named `feature_timestamp` of
     * type `TIMESTAMP` will be used.
     *
     * Generated from protobuf field <code>string timestamp_column = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
     * @param string $var
     * @return $this
     */
    public function setTimestampColumn($var)
    {
        GPBUtil::checkString($var, True);
        $this->timestamp_column = $var;

        return $this;
    }

}


