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

namespace Google\Cloud\AIPlatform\V1\TensorboardTimeSeries;

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

/**
 * Describes metadata for a TensorboardTimeSeries.
 *
 * Generated from protobuf message <code>google.cloud.aiplatform.v1.TensorboardTimeSeries.Metadata</code>
 */
class Metadata extends \Google\Protobuf\Internal\Message
{
    /**
     * Output only. Max step index of all data points within a
     * TensorboardTimeSeries.
     *
     * Generated from protobuf field <code>int64 max_step = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    protected $max_step = 0;
    /**
     * Output only. Max wall clock timestamp of all data points within a
     * TensorboardTimeSeries.
     *
     * Generated from protobuf field <code>.google.protobuf.Timestamp max_wall_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    protected $max_wall_time = null;
    /**
     * Output only. The largest blob sequence length (number of blobs) of all
     * data points in this time series, if its ValueType is BLOB_SEQUENCE.
     *
     * Generated from protobuf field <code>int64 max_blob_sequence_length = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    protected $max_blob_sequence_length = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int|string $max_step
     *           Output only. Max step index of all data points within a
     *           TensorboardTimeSeries.
     *     @type \Google\Protobuf\Timestamp $max_wall_time
     *           Output only. Max wall clock timestamp of all data points within a
     *           TensorboardTimeSeries.
     *     @type int|string $max_blob_sequence_length
     *           Output only. The largest blob sequence length (number of blobs) of all
     *           data points in this time series, if its ValueType is BLOB_SEQUENCE.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Aiplatform\V1\TensorboardTimeSeries::initOnce();
        parent::__construct($data);
    }

    /**
     * Output only. Max step index of all data points within a
     * TensorboardTimeSeries.
     *
     * Generated from protobuf field <code>int64 max_step = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @return int|string
     */
    public function getMaxStep()
    {
        return $this->max_step;
    }

    /**
     * Output only. Max step index of all data points within a
     * TensorboardTimeSeries.
     *
     * Generated from protobuf field <code>int64 max_step = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @param int|string $var
     * @return $this
     */
    public function setMaxStep($var)
    {
        GPBUtil::checkInt64($var);
        $this->max_step = $var;

        return $this;
    }

    /**
     * Output only. Max wall clock timestamp of all data points within a
     * TensorboardTimeSeries.
     *
     * Generated from protobuf field <code>.google.protobuf.Timestamp max_wall_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @return \Google\Protobuf\Timestamp|null
     */
    public function getMaxWallTime()
    {
        return $this->max_wall_time;
    }

    public function hasMaxWallTime()
    {
        return isset($this->max_wall_time);
    }

    public function clearMaxWallTime()
    {
        unset($this->max_wall_time);
    }

    /**
     * Output only. Max wall clock timestamp of all data points within a
     * TensorboardTimeSeries.
     *
     * Generated from protobuf field <code>.google.protobuf.Timestamp max_wall_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @param \Google\Protobuf\Timestamp $var
     * @return $this
     */
    public function setMaxWallTime($var)
    {
        GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
        $this->max_wall_time = $var;

        return $this;
    }

    /**
     * Output only. The largest blob sequence length (number of blobs) of all
     * data points in this time series, if its ValueType is BLOB_SEQUENCE.
     *
     * Generated from protobuf field <code>int64 max_blob_sequence_length = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @return int|string
     */
    public function getMaxBlobSequenceLength()
    {
        return $this->max_blob_sequence_length;
    }

    /**
     * Output only. The largest blob sequence length (number of blobs) of all
     * data points in this time series, if its ValueType is BLOB_SEQUENCE.
     *
     * Generated from protobuf field <code>int64 max_blob_sequence_length = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @param int|string $var
     * @return $this
     */
    public function setMaxBlobSequenceLength($var)
    {
        GPBUtil::checkInt64($var);
        $this->max_blob_sequence_length = $var;

        return $this;
    }

}


