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

namespace Google\Cloud\Dataplex\V1\ScannedData;

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

/**
 * A data range denoted by a pair of start/end values of a field.
 *
 * Generated from protobuf message <code>google.cloud.dataplex.v1.ScannedData.IncrementalField</code>
 */
class IncrementalField extends \Google\Protobuf\Internal\Message
{
    /**
     * Output only. The field that contains values which monotonically increases
     * over time (e.g. a timestamp column).
     *
     * Generated from protobuf field <code>string field = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    protected $field = '';
    /**
     * Output only. Value that marks the start of the range.
     *
     * Generated from protobuf field <code>string start = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    protected $start = '';
    /**
     * Output only. Value that marks the end of the range.
     *
     * Generated from protobuf field <code>string end = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    protected $end = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $field
     *           Output only. The field that contains values which monotonically increases
     *           over time (e.g. a timestamp column).
     *     @type string $start
     *           Output only. Value that marks the start of the range.
     *     @type string $end
     *           Output only. Value that marks the end of the range.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Dataplex\V1\Processing::initOnce();
        parent::__construct($data);
    }

    /**
     * Output only. The field that contains values which monotonically increases
     * over time (e.g. a timestamp column).
     *
     * Generated from protobuf field <code>string field = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @return string
     */
    public function getField()
    {
        return $this->field;
    }

    /**
     * Output only. The field that contains values which monotonically increases
     * over time (e.g. a timestamp column).
     *
     * Generated from protobuf field <code>string field = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @param string $var
     * @return $this
     */
    public function setField($var)
    {
        GPBUtil::checkString($var, True);
        $this->field = $var;

        return $this;
    }

    /**
     * Output only. Value that marks the start of the range.
     *
     * Generated from protobuf field <code>string start = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @return string
     */
    public function getStart()
    {
        return $this->start;
    }

    /**
     * Output only. Value that marks the start of the range.
     *
     * Generated from protobuf field <code>string start = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @param string $var
     * @return $this
     */
    public function setStart($var)
    {
        GPBUtil::checkString($var, True);
        $this->start = $var;

        return $this;
    }

    /**
     * Output only. Value that marks the end of the range.
     *
     * Generated from protobuf field <code>string end = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @return string
     */
    public function getEnd()
    {
        return $this->end;
    }

    /**
     * Output only. Value that marks the end of the range.
     *
     * Generated from protobuf field <code>string end = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @param string $var
     * @return $this
     */
    public function setEnd($var)
    {
        GPBUtil::checkString($var, True);
        $this->end = $var;

        return $this;
    }

}


